@ckeditor/ckeditor5-uploadcare 47.4.0-alpha.1 → 47.4.0-alpha.3

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 _0x484458=_0x5335;(function(_0x1bcc25,_0x4d0d26){const _0x196a76=_0x5335,_0x3995bc=_0x1bcc25();while(!![]){try{const _0x49858c=parseInt(_0x196a76(0x225))/0x1+parseInt(_0x196a76(0x1f6))/0x2*(-parseInt(_0x196a76(0x20a))/0x3)+-parseInt(_0x196a76(0x209))/0x4+parseInt(_0x196a76(0x1ff))/0x5*(parseInt(_0x196a76(0x206))/0x6)+-parseInt(_0x196a76(0x1fe))/0x7+-parseInt(_0x196a76(0x1f8))/0x8+parseInt(_0x196a76(0x21b))/0x9;if(_0x49858c===_0x4d0d26)break;else _0x3995bc['push'](_0x3995bc['shift']());}catch(_0x2f1630){_0x3995bc['push'](_0x3995bc['shift']());}}}(_0x2a42,0x7fc1c));import{Plugin as _0x574f74}from'ckeditor5/src/core.js';import{Dialog as _0xb889d6}from'ckeditor5/src/ui.js';import{createElement as _0x279d44,global as _0x35a56e,uid as _0xfbd17}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x54d375}from'./uploadcarecommand.js';function _0x5335(_0x38f08a,_0x1b6587){const _0x2a42be=_0x2a42();return _0x5335=function(_0x533541,_0xc2870e){_0x533541=_0x533541-0x1dd;let _0x3e4f3f=_0x2a42be[_0x533541];return _0x3e4f3f;},_0x5335(_0x38f08a,_0x1b6587);}function _0x2a42(){const _0x2cef6f=['isOfficialPlugin','href','uploadcare.pubkey','editor','map','locale','body','uploadcareImageId','8698yssvGZ','elementToAttribute','6626632zPpQCw','cleanupImage','pluginName','_initImageProcessingIndicator','appendChild','removeAttribute','2444995lrNkKD','446565zyAQeM','_initConversion','uc-upload-ctx-provider','extend','getSelectedElement','#uc-icon-arrow-down','execute','54rkzYpK','ctxElement','ucContextId','3234308NPaGEu','249GPCbHW','_initSchema','replaceImageSource','get','uploadcare','UploadcareEditing','_initCtx','model','contentLanguage','destroy','querySelector','for','commands','isRegistered','insertImage','once','upcast','17257743QGnTLj','getAttribute','join','isPremiumPlugin','true','data-uc-image-id','fromCharCode','uc-config','iconHrefResolver','uploadcareImageReplace','149106uPjzwF','init','render','document','add','attributeToAttribute','requires','uploadcare.uploader','configElement','PictureEditing','downcast','\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','_ctxElement','closeMax','selection','_initConfig','imageInline','listenTo','editing','imageBlock','conversion','afterInit','config','_configElement','uploader-','remove','input[uploadcare-file-input]','view','schema'];_0x2a42=function(){return _0x2cef6f;};return _0x2a42();}import{UploadcareUploadAdapter as _0x9ba214}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23016c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x574f74{[_0x484458(0x1e8)]=null;[_0x484458(0x1dd)]=null;static get[_0x484458(0x1fa)](){const _0x49b5df=_0x484458;return _0x49b5df(0x20f);}static get[_0x484458(0x22b)](){const _0x38dd12=_0x484458;return[_0x38dd12(0x22e),_0x9ba214,_0xb889d6];}static get[_0x484458(0x1ee)](){return!0x0;}static get[_0x484458(0x21e)](){return!0x0;}[_0x484458(0x208)];get[_0x484458(0x22d)](){const _0xd695c3=_0x484458;return this[_0xd695c3(0x1e8)];}get[_0x484458(0x207)](){const _0x58781f=_0x484458;return this[_0x58781f(0x1dd)];}constructor(_0x19e31a){const _0x27e665=_0x484458;super(_0x19e31a),this[_0x27e665(0x208)]=_0xfbd17();}[_0x484458(0x226)](){const _0x4014be=_0x484458,_0xbc56cc=this[_0x4014be(0x1f1)];_0xbc56cc[_0x4014be(0x216)][_0x4014be(0x229)](_0x4014be(0x20e),new _0x54d375(_0xbc56cc));}[_0x484458(0x1e6)](){const _0x5c49e2=_0x484458;this[_0x5c49e2(0x20b)](),this[_0x5c49e2(0x200)](),this[_0x5c49e2(0x1e0)](),this[_0x5c49e2(0x210)](),this[_0x5c49e2(0x1fb)](),this[_0x5c49e2(0x1e2)](this[_0x5c49e2(0x1f1)],_0x5c49e2(0x213),()=>{const _0x2981cf=_0x5c49e2;this[_0x2981cf(0x1e8)]&&(this[_0x2981cf(0x1e8)][_0x2981cf(0x1ea)](),this[_0x2981cf(0x1e8)]=null),this[_0x2981cf(0x1dd)]&&(this[_0x2981cf(0x1dd)][_0x2981cf(0x1ea)](),this[_0x2981cf(0x1dd)]=null);const _0x1b3a24=_0x35a56e[_0x2981cf(0x228)][_0x2981cf(0x214)](_0x2981cf(0x1eb));_0x1b3a24&&_0x1b3a24[_0x2981cf(0x1ea)]();}),async function(_0x562cbc){const _0x3e4820=_0x2a5fab([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]),_0x375dcf=0x535f8c3a,_0x2a2fe6=0x5358f26a^_0x375dcf,_0x541f49=window[_0x2a5fab([0x44,0x61,0x74,0x65])][_0x2a5fab([0x6e,0x6f,0x77])](),_0x25b043=_0x562cbc[_0x2a5fab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x373d09=new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170fa5=>{_0x25b043[_0x2a5fab([0x6f,0x6e,0x63,0x65])](_0x2a5fab([0x72,0x65,0x61,0x64,0x79]),_0x170fa5);}),_0x23932d={[_0x2a5fab([0x6b,0x74,0x79])]:_0x2a5fab([0x45,0x43]),[_0x2a5fab([0x75,0x73,0x65])]:_0x2a5fab([0x73,0x69,0x67]),[_0x2a5fab([0x63,0x72,0x76])]:_0x2a5fab([0x50,0x2d,0x32,0x35,0x36]),[_0x2a5fab([0x78])]:_0x2a5fab([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]),[_0x2a5fab([0x79])]:_0x2a5fab([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]),[_0x2a5fab([0x61,0x6c,0x67])]:_0x2a5fab([0x45,0x53,0x32,0x35,0x36])},_0x5f1a5e=_0x25b043[_0x2a5fab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a5fab([0x67,0x65,0x74])](_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x589abe(){let _0xe976e5,_0x352606=null,_0x5ce30a=null;try{if(_0x5f1a5e==_0x2a5fab([0x47,0x50,0x4c]))return _0x2a5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe976e5=_0x1e84f0(),!_0xe976e5)return _0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe976e5[_0x2a5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ce30a=_0x5a3e43(_0xe976e5[_0x2a5fab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe976e5[_0x2a5fab([0x6a,0x74,0x69])])),await _0x2654c6()?_0x2122d9()?_0x4d0b51()?_0x2a5fab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8bd493()?(_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x352606=_0x4a0859(_0x2a5fab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dc318()):_0x2a5fab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a5fab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d0b51(){const _0x1579cd=[_0x2a5fab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a5fab([0x74,0x72,0x69,0x61,0x6c])][_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x541f49/0x3e8:0xe10*_0x2a2fe6;return _0xe976e5[_0x2a5fab([0x65,0x78,0x70])]<_0x1579cd;}function _0x2122d9(){const _0x546c79=_0xe976e5[_0x2a5fab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x546c79&&(!!_0x546c79[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x2a]))||!!_0x546c79[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x55,0x50,0x4c,0x43])));}function _0x8bd493(){const _0x39518c=_0x5335,_0x348625=_0xe976e5[_0x2a5fab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x348625||0x0==_0x348625[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x121f80}=new URL(window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39518c(0x1ef)]);if(_0x348625[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121f80))return!0x0;const _0xfeb375=_0x121f80[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e]));return _0x348625[_0x2a5fab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x428224=>_0x428224[_0x2a5fab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fab([0x2a])))[_0x2a5fab([0x6d,0x61,0x70])](_0xe89f8=>_0xe89f8[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e])))[_0x2a5fab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x372392=>_0x372392[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfeb375[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fab([0x6d,0x61,0x70])](_0x187f40=>Array(_0xfeb375[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x187f40[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fab([0x66,0x69,0x6c,0x6c])](_0x187f40[0x0]===_0x2a5fab([0x2a])?_0x2a5fab([0x2a]):'')[_0x2a5fab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x187f40))[_0x2a5fab([0x73,0x6f,0x6d,0x65])](_0x28aa4a=>_0xfeb375[_0x2a5fab([0x65,0x76,0x65,0x72,0x79])]((_0x83fef6,_0x2956c1)=>_0x28aa4a[_0x2956c1]===_0x83fef6||_0x28aa4a[_0x2956c1]===_0x2a5fab([0x2a])));}function _0x5dc318(){return _0x352606&&_0x5ce30a?new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f1cfe,_0x1c78be)=>{_0x352606[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x1f1cfe,_0x1c78be),_0x5ce30a[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x38ad4c=>{_0x38ad4c!=_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])&&_0x1f1cfe(_0x38ad4c);},_0x1c78be);}):_0x352606||_0x5ce30a||_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a3e43(_0x2d67a1,_0xf344b7){return new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3377=>{if(_0x2bf313())return _0x3d3377(_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]));_0x507a2c(),_0x25b043[_0x2a5fab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b6bce=!0x1;const _0x26d9bc=_0xfbd17();function _0x1c9f70(_0x31bcfa){return!!_0x31bcfa&&(typeof _0x31bcfa===_0x2a5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31bcfa===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31bcfa[_0x2a5fab([0x74,0x68,0x65,0x6e])]===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31bcfa[_0x2a5fab([0x63,0x61,0x74,0x63,0x68])]===_0x2a5fab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30b520(_0x3d7d87){_0x318140(_0x3d7d87)[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x3fb838=>{if(!_0x3fb838||_0x3fb838[_0x2a5fab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a5fab([0x6f,0x6b]))return _0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7b0789(_0x5636ac(_0x26d9bc+_0xf344b7))!=_0x3fb838[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fab([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x50dcae=>(_0x4de8c0(),_0x50dcae),()=>{const _0x5e95ca=_0x4c03b0();return null==_0x5e95ca?(_0x4de8c0(),_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])):_0x2a5fab(_0x541f49-_0x5e95ca>(0x7753083a^_0x375dcf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0x3d3377)[_0x2a5fab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11029c=0x536962ba^_0x375dcf;function _0x4de8c0(){const _0x30b110=_0x2a5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0789(_0x5636ac(_0x2d67a1)),_0x4dec5e=_0x286fe3(_0x7b0789(window[_0x2a5fab([0x4d,0x61,0x74,0x68])][_0x2a5fab([0x63,0x65,0x69,0x6c])](_0x541f49/_0x11029c)));window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30b110,_0x4dec5e);}function _0x4c03b0(){const _0x3bffea=_0x2a5fab([0x6c,0x6c,0x63,0x74,0x2d])+_0x7b0789(_0x5636ac(_0x2d67a1)),_0x5c21a7=window[_0x2a5fab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bffea);return _0x5c21a7?window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286fe3(_0x5c21a7),0x10)*_0x11029c:null;}function _0x318140(_0x58fc88){return new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe00cb,_0x232e61)=>{_0x58fc88[_0x2a5fab([0x74,0x68,0x65,0x6e])](_0xe00cb,_0x232e61),window[_0x2a5fab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232e61,0x535e58fa^_0x375dcf);});}}_0x25b043[_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36acfe,_0x2413b4)=>{if(_0x2413b4[0x0]!=_0x2d67a1)return _0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2413b4[0x1]={..._0x2413b4[0x1],[_0x2a5fab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26d9bc};},{[_0x2a5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fab([0x68,0x69,0x67,0x68])}),_0x25b043[_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b2184=>{_0x1c9f70(_0x3b2184[_0x2a5fab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b6bce=!0x0,_0x30b520(_0x3b2184[_0x2a5fab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a5fab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fab([0x6c,0x6f,0x77])}),_0x373d09[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>{_0x5b6bce||_0x3d3377(_0x2a5fab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2bf313(){return _0x25b043[_0x2a5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fab([0x76,0x69,0x65,0x77])][_0x2a5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a5fab([0x61,0x75,0x74,0x6f]);}function _0x507a2c(){_0x25b043[_0x2a5fab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fab([0x76,0x69,0x65,0x77])][_0x2a5fab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a5fab([0x61,0x75,0x74,0x6f]);}}function _0x4a0859(_0x3bf450){const _0x34aa9d=[new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3718e2=>setTimeout(_0x3718e2,0x5356b2f6^_0x375dcf)),_0x373d09[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3dfa=>{let _0x5deff1=0x0;_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x6f,0x6e])](_0x2a5fab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31d2d6,_0xd7abad)=>{_0xd7abad[0x0][_0x2a5fab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5deff1++,_0x5deff1==(0x535f89d2^_0x375dcf)&&(_0x2e3dfa(),_0x31d2d6[_0x2a5fab([0x6f,0x66,0x66])]());});}))];return window[_0x2a5fab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a5fab([0x72,0x61,0x63,0x65])](_0x34aa9d)[_0x2a5fab([0x74,0x68,0x65,0x6e])](()=>_0x3bf450);}async function _0x24d1e7(){await _0x373d09,_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x119741,_0x25b043[_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x119741,_0x25b043[_0x2a5fab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a5fab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20a8b8(_0x302a73){const _0x550668=_0x1c140a();_0x25b043[_0x550668]=_0x2a5fab([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x302a73,_0x302a73!=_0x2a5fab([0x56,0x61,0x6c,0x69,0x64])&&_0x24d1e7();}function _0x1c140a(){const _0x3505e8=window[_0x2a5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a5fab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a5fab([0x6e,0x6f,0x77])]())[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a5fab([0x2e]),'');let _0x4bed99=_0x2a5fab([0x68]);for(let _0x3acf3c=0x0;_0x3acf3c<_0x3505e8[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3acf3c+=0x2){let _0x4bf4b2=window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3505e8[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3acf3c,_0x3acf3c+0x2));_0x4bf4b2>=_0x3e4820[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bf4b2-=_0x3e4820[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4bed99+=_0x3e4820[_0x4bf4b2];}return _0x4bed99;}function _0x1e84f0(){const _0x53080e=_0x5f1a5e[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e]));if(0x3!=_0x53080e[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e713a(_0x53080e[0x1]);function _0x5e713a(_0x44e66c){const _0x5dc929=_0x2c8549(_0x44e66c);return _0x5dc929&&_0x40969f()?_0x5dc929:null;function _0x40969f(){const _0x4ab16b=_0x5dc929[_0x2a5fab([0x6a,0x74,0x69])],_0x2cfa29=window[_0x2a5fab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ab16b[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ab16b[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53f772={..._0x5dc929,[_0x2a5fab([0x6a,0x74,0x69])]:_0x4ab16b[_0x2a5fab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ab16b[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53f772[_0x2a5fab([0x76,0x63])],_0x5636ac(_0x53f772)==_0x2cfa29;}}}async function _0x2654c6(){let _0xe886fc=!0x0;try{const _0x34ff99=_0x5f1a5e[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fab([0x2e])),[_0x102c68,_0x20c613,_0x2f6ff8]=_0x34ff99;return _0x595ef4(_0x102c68),await _0x2a9fb7(_0x102c68,_0x20c613,_0x2f6ff8),_0xe886fc;}catch{return!0x1;}function _0x595ef4(_0x1c9b69){const _0x43c36d=_0x2c8549(_0x1c9b69);_0x43c36d&&_0x43c36d[_0x2a5fab([0x61,0x6c,0x67])]==_0x2a5fab([0x45,0x53,0x32,0x35,0x36])||(_0xe886fc=!0x1);}async function _0x2a9fb7(_0x1998a6,_0x2ec701,_0x37162c){const _0x3b1cb0=window[_0x2a5fab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a5fab([0x66,0x72,0x6f,0x6d])](_0x53ef60(_0x37162c),_0x537d64=>_0x537d64[_0x2a5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51ddbb=new window[(_0x2a5fab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a5fab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1998a6+_0x2a5fab([0x2e])+_0x2ec701),_0x140acd=window[_0x2a5fab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a5fab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x140acd)return;const _0x5a7bb5=await _0x140acd[_0x2a5fab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a5fab([0x6a,0x77,0x6b]),_0x23932d,{[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a5fab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x140acd[_0x2a5fab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fab([0x68,0x61,0x73,0x68])]:{[_0x2a5fab([0x6e,0x61,0x6d,0x65])]:_0x2a5fab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a7bb5,_0x3b1cb0,_0x51ddbb)||(_0xe886fc=!0x1);}}function _0x2c8549(_0x1c2117){return _0x1c2117[_0x2a5fab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a5fab([0x65,0x79]))?JSON[_0x2a5fab([0x70,0x61,0x72,0x73,0x65])](_0x53ef60(_0x1c2117)):null;}function _0x53ef60(_0x150aea){return window[_0x2a5fab([0x61,0x74,0x6f,0x62])](_0x150aea[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a5fab([0x2b]))[_0x2a5fab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a5fab([0x2f])));}function _0x5636ac(_0x3759d6){let _0x45f628=0x1505;function _0x5b1d4d(_0x5aec04){for(let _0x53f952=0x0;_0x53f952<_0x5aec04[_0x2a5fab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53f952++){const _0x5298b6=_0x5aec04[_0x2a5fab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53f952);_0x45f628=(_0x45f628<<0x5)+_0x45f628+_0x5298b6,_0x45f628&=_0x45f628;}}function _0x3a1636(_0xa5f9fb){Array[_0x2a5fab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa5f9fb)?_0xa5f9fb[_0x2a5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a1636):_0xa5f9fb&&typeof _0xa5f9fb==_0x2a5fab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a5fab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa5f9fb)[_0x2a5fab([0x73,0x6f,0x72,0x74])]()[_0x2a5fab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bb56c,_0x466858])=>{_0x5b1d4d(_0x5bb56c),_0x3a1636(_0x466858);}):_0x5b1d4d(window[_0x2a5fab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa5f9fb));}return _0x3a1636(_0x3759d6),_0x45f628>>>0x0;}function _0x7b0789(_0x46744d){return _0x46744d[_0x2a5fab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a5fab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a5fab([0x30]));}function _0x286fe3(_0x53d619){return _0x53d619[_0x2a5fab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a5fab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a5fab([0x6a,0x6f,0x69,0x6e])]('');}function _0x119741(){}function _0x2a5fab(_0x32cf07){const _0x152c20=_0x5335;return _0x32cf07[_0x152c20(0x1f2)](_0x30f6a=>String[_0x152c20(0x221)](_0x30f6a))[_0x152c20(0x21d)]('');}_0x20a8b8(await _0x589abe());}(this);}[_0x484458(0x20b)](){const _0x5d2449=_0x484458,_0x43b885=this[_0x5d2449(0x1f1)][_0x5d2449(0x211)][_0x5d2449(0x1ed)];_0x43b885[_0x5d2449(0x217)](_0x5d2449(0x1e4))&&_0x43b885[_0x5d2449(0x202)](_0x5d2449(0x1e4),{'allowAttributes':[_0x5d2449(0x1f5)]}),_0x43b885[_0x5d2449(0x217)](_0x5d2449(0x1e1))&&_0x43b885[_0x5d2449(0x202)](_0x5d2449(0x1e1),{'allowAttributes':[_0x5d2449(0x1f5)]});}[_0x484458(0x200)](){const _0x3a5152=_0x484458,_0x3b53f8=this[_0x3a5152(0x1f1)];_0x3b53f8[_0x3a5152(0x1e5)][_0x3a5152(0x215)](_0x3a5152(0x22f))[_0x3a5152(0x22a)]({'model':_0x3a5152(0x1f5),'view':_0x3a5152(0x220)}),_0x3b53f8[_0x3a5152(0x1e5)][_0x3a5152(0x215)](_0x3a5152(0x21a))[_0x3a5152(0x1f7)]({'model':{'key':_0x3a5152(0x1f5),'value':_0x316416=>_0x316416[_0x3a5152(0x21c)](_0x3a5152(0x220))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x143b15=_0x3b53f8[_0x3a5152(0x216)][_0x3a5152(0x20d)](_0x3a5152(0x20c));_0x143b15&&this[_0x3a5152(0x1e2)](_0x143b15,_0x3a5152(0x1f9),(_0xc578e6,[_0x4c8ec3,_0x415a77])=>{const _0x16e8cb=_0x3a5152;_0x4c8ec3[_0x16e8cb(0x1fd)](_0x16e8cb(0x1f5),_0x415a77);});}[_0x484458(0x1e0)](){const _0x48ed07=_0x484458,_0x582f7f=this[_0x48ed07(0x1f1)][_0x48ed07(0x1e7)][_0x48ed07(0x20d)](_0x48ed07(0x22c))||{},_0x341d5e=this[_0x48ed07(0x1f1)][_0x48ed07(0x1e7)][_0x48ed07(0x20d)](_0x48ed07(0x1f0))||'';this[_0x48ed07(0x1e8)]=_0x279d44(_0x35a56e[_0x48ed07(0x228)],_0x48ed07(0x222),{..._0x582f7f,'pubkey':_0x341d5e,'ctx-name':_0x48ed07(0x1e9)+this[_0x48ed07(0x208)],'sourceList':'','imgOnly':_0x48ed07(0x21f),'removeCopyright':_0x48ed07(0x21f),'localeName':this[_0x48ed07(0x1f1)][_0x48ed07(0x1f3)][_0x48ed07(0x212)],'externalSourcesEmbedCss':_0x48ed07(0x230)}),this[_0x48ed07(0x1e8)][_0x48ed07(0x223)]=_0x4f152c=>{const _0x46fc86=_0x48ed07;if(_0x46fc86(0x1de)==_0x4f152c)return _0x46fc86(0x204);},_0x35a56e[_0x48ed07(0x228)][_0x48ed07(0x1f4)][_0x48ed07(0x1fc)](this[_0x48ed07(0x1e8)]);}[_0x484458(0x210)](){const _0x4f4ef5=_0x484458;this[_0x4f4ef5(0x1dd)]=_0x279d44(_0x35a56e[_0x4f4ef5(0x228)],_0x4f4ef5(0x201),{'ctx-name':_0x4f4ef5(0x1e9)+this[_0x4f4ef5(0x208)]}),_0x35a56e[_0x4f4ef5(0x228)][_0x4f4ef5(0x1f4)][_0x4f4ef5(0x1fc)](this[_0x4f4ef5(0x1dd)]);}[_0x484458(0x1fb)](){const _0x165fae=_0x484458,_0x11eb9f=this[_0x165fae(0x1f1)][_0x165fae(0x216)][_0x165fae(0x20d)](_0x165fae(0x218));_0x11eb9f&&this[_0x165fae(0x1e2)](_0x11eb9f,_0x165fae(0x205),()=>{const _0x1098d8=_0x165fae,_0x3d5ea8=this[_0x1098d8(0x1f1)][_0x1098d8(0x211)][_0x1098d8(0x228)][_0x1098d8(0x1df)][_0x1098d8(0x203)]();_0x3d5ea8&&_0x3d5ea8[_0x1098d8(0x21c)](_0x1098d8(0x1f5))&&this[_0x1098d8(0x1f1)][_0x1098d8(0x1e3)][_0x1098d8(0x1ec)][_0x1098d8(0x219)](_0x1098d8(0x227),()=>{const _0x250dff=_0x1098d8;_0x23016c(this[_0x250dff(0x1f1)],_0x3d5ea8);});});const _0x20e8b6=this[_0x165fae(0x1f1)][_0x165fae(0x216)][_0x165fae(0x20d)](_0x165fae(0x224));_0x20e8b6&&this[_0x165fae(0x1e2)](_0x20e8b6,_0x165fae(0x205),()=>{const _0x53847a=_0x165fae,_0x37c5e0=this[_0x53847a(0x1f1)][_0x53847a(0x211)][_0x53847a(0x228)][_0x53847a(0x1df)][_0x53847a(0x203)]();_0x37c5e0&&_0x37c5e0[_0x53847a(0x21c)](_0x53847a(0x1f5))&&this[_0x53847a(0x1f1)][_0x53847a(0x1e3)][_0x53847a(0x1ec)][_0x53847a(0x219)](_0x53847a(0x227),()=>{const _0x75ed2b=_0x53847a;_0x23016c(this[_0x75ed2b(0x1f1)],_0x37c5e0);});});}}
23
+ const _0xc14627=_0x54ab;(function(_0xd87a85,_0x57926e){const _0x2d9b25=_0x54ab,_0x3ae0d=_0xd87a85();while(!![]){try{const _0xec3af0=-parseInt(_0x2d9b25(0x1f1))/0x1+parseInt(_0x2d9b25(0x1c7))/0x2+parseInt(_0x2d9b25(0x1d6))/0x3*(-parseInt(_0x2d9b25(0x1eb))/0x4)+-parseInt(_0x2d9b25(0x1fc))/0x5+parseInt(_0x2d9b25(0x203))/0x6+parseInt(_0x2d9b25(0x201))/0x7+parseInt(_0x2d9b25(0x1d1))/0x8*(-parseInt(_0x2d9b25(0x1e9))/0x9);if(_0xec3af0===_0x57926e)break;else _0x3ae0d['push'](_0x3ae0d['shift']());}catch(_0x36cfc0){_0x3ae0d['push'](_0x3ae0d['shift']());}}}(_0x1767,0xe1350));import{Plugin as _0x293eff}from'ckeditor5/src/core.js';import{Dialog as _0x293a03}from'ckeditor5/src/ui.js';import{createElement as _0x19f09a,global as _0x26496c,uid as _0x1b7072}from'ckeditor5/src/utils.js';function _0x1767(){const _0x36ff77=['_initConfig','uc-config','1093219PiGKHz','_configElement','href','iconHrefResolver','body','uploadcare','isOfficialPlugin','input[uploadcare-file-input]','for','render','getSelectedElement','2958220zFjqrP','\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','imageBlock','replaceImageSource','querySelector','5431790JWzuJc','extend','5964132ccOJWi','uploader-','listenTo','document','appendChild','_ctxElement','upcast','once','config','_initCtx','closeMax','model','PictureEditing','true','downcast','fromCharCode','pluginName','removeAttribute','isPremiumPlugin','_initImageProcessingIndicator','editor','data-uc-image-id','commands','UploadcareEditing','2887132WTWhVS','uploadcare.uploader','add','destroy','insertImage','requires','elementToAttribute','isRegistered','_initConversion','_initSchema','208448nzPFrL','ucContextId','uploadcareImageReplace','locale','imageInline','10947gVDmFT','map','uploadcare.pubkey','schema','ctxElement','remove','afterInit','getAttribute','selection','attributeToAttribute','conversion','editing','contentLanguage','view','execute','#uc-icon-arrow-down','uploadcareImageId','init','cleanupImage','9ZWMtpv','uc-upload-ctx-provider','636TALdtS','get','configElement','join'];_0x1767=function(){return _0x36ff77;};return _0x1767();}function _0x54ab(_0xcee219,_0x1303a0){const _0x176798=_0x1767();return _0x54ab=function(_0x54ab4e,_0x5195d3){_0x54ab4e=_0x54ab4e-0x1bc;let _0x388dbb=_0x176798[_0x54ab4e];return _0x388dbb;},_0x54ab(_0xcee219,_0x1303a0);}import{UploadcareCommand as _0x3490d6}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3a6358}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xa1f7a}from'./utils/editingutils.js';export class UploadcareEditing extends _0x293eff{[_0xc14627(0x1f2)]=null;[_0xc14627(0x208)]=null;static get[_0xc14627(0x1bf)](){const _0x5ce517=_0xc14627;return _0x5ce517(0x1c6);}static get[_0xc14627(0x1cc)](){const _0x4a3c8e=_0xc14627;return[_0x4a3c8e(0x20f),_0x3a6358,_0x293a03];}static get[_0xc14627(0x1f7)](){return!0x0;}static get[_0xc14627(0x1c1)](){return!0x0;}[_0xc14627(0x1d2)];get[_0xc14627(0x1ed)](){const _0x55526a=_0xc14627;return this[_0x55526a(0x1f2)];}get[_0xc14627(0x1da)](){const _0x297e82=_0xc14627;return this[_0x297e82(0x208)];}constructor(_0x6723ba){const _0x49825e=_0xc14627;super(_0x6723ba),this[_0x49825e(0x1d2)]=_0x1b7072();}[_0xc14627(0x1e7)](){const _0x3808ee=_0xc14627,_0x5d34f5=this[_0x3808ee(0x1c3)];_0x5d34f5[_0x3808ee(0x1c5)][_0x3808ee(0x1c9)](_0x3808ee(0x1f6),new _0x3490d6(_0x5d34f5));}[_0xc14627(0x1dc)](){const _0x38e4cc=_0xc14627;this[_0x38e4cc(0x1d0)](),this[_0x38e4cc(0x1cf)](),this[_0x38e4cc(0x1ef)](),this[_0x38e4cc(0x20c)](),this[_0x38e4cc(0x1c2)](),this[_0x38e4cc(0x205)](this[_0x38e4cc(0x1c3)],_0x38e4cc(0x1ca),()=>{const _0x58a2af=_0x38e4cc;this[_0x58a2af(0x1f2)]&&(this[_0x58a2af(0x1f2)][_0x58a2af(0x1db)](),this[_0x58a2af(0x1f2)]=null),this[_0x58a2af(0x208)]&&(this[_0x58a2af(0x208)][_0x58a2af(0x1db)](),this[_0x58a2af(0x208)]=null);const _0x2349d0=_0x26496c[_0x58a2af(0x206)][_0x58a2af(0x200)](_0x58a2af(0x1f8));_0x2349d0&&_0x2349d0[_0x58a2af(0x1db)]();}),async function(_0x46ca24){const _0x44dbbd=_0x46a931([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]),_0x56a1b1=0x535f8c3a,_0x3bf46f=0x5358f2ba^_0x56a1b1,_0x714355=window[_0x46a931([0x44,0x61,0x74,0x65])][_0x46a931([0x6e,0x6f,0x77])](),_0x318eea=_0x46ca24[_0x46a931([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b6037=new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e673d=>{_0x318eea[_0x46a931([0x6f,0x6e,0x63,0x65])](_0x46a931([0x72,0x65,0x61,0x64,0x79]),_0x3e673d);}),_0x3e39e5={[_0x46a931([0x6b,0x74,0x79])]:_0x46a931([0x45,0x43]),[_0x46a931([0x75,0x73,0x65])]:_0x46a931([0x73,0x69,0x67]),[_0x46a931([0x63,0x72,0x76])]:_0x46a931([0x50,0x2d,0x32,0x35,0x36]),[_0x46a931([0x78])]:_0x46a931([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]),[_0x46a931([0x79])]:_0x46a931([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]),[_0x46a931([0x61,0x6c,0x67])]:_0x46a931([0x45,0x53,0x32,0x35,0x36])},_0x48f07c=_0x318eea[_0x46a931([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46a931([0x67,0x65,0x74])](_0x46a931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bcb2f(){let _0x14b050,_0x1e1f1c=null,_0x32a788=null;try{if(_0x48f07c==_0x46a931([0x47,0x50,0x4c]))return _0x46a931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14b050=_0x1abfd3(),!_0x14b050)return _0x46a931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14b050[_0x46a931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32a788=_0x424fef(_0x14b050[_0x46a931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14b050[_0x46a931([0x6a,0x74,0x69])])),await _0xc21085()?_0x4abfa3()?_0x1e8f3b()?_0x46a931([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11b85c()?(_0x14b050[_0x46a931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46a931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e1f1c=_0x11c381(_0x46a931([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x137503()):_0x46a931([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46a931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46a931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46a931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e8f3b(){const _0xa52117=[_0x46a931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46a931([0x74,0x72,0x69,0x61,0x6c])][_0x46a931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b050[_0x46a931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x714355/0x3e8:0xe10*_0x3bf46f;return _0x14b050[_0x46a931([0x65,0x78,0x70])]<_0xa52117;}function _0x4abfa3(){const _0x423579=_0x14b050[_0x46a931([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x423579&&(!!_0x423579[_0x46a931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a931([0x2a]))||!!_0x423579[_0x46a931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a931([0x55,0x50,0x4c,0x43])));}function _0x11b85c(){const _0x2dc33b=_0x54ab,_0x36c566=_0x14b050[_0x46a931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36c566||0x0==_0x36c566[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49a54a}=new URL(window[_0x46a931([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2dc33b(0x1f3)]);if(_0x36c566[_0x46a931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49a54a))return!0x0;const _0x25cd52=_0x49a54a[_0x46a931([0x73,0x70,0x6c,0x69,0x74])](_0x46a931([0x2e]));return _0x36c566[_0x46a931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146840=>_0x146840[_0x46a931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46a931([0x2a])))[_0x46a931([0x6d,0x61,0x70])](_0x134f41=>_0x134f41[_0x46a931([0x73,0x70,0x6c,0x69,0x74])](_0x46a931([0x2e])))[_0x46a931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e7810=>_0x4e7810[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25cd52[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46a931([0x6d,0x61,0x70])](_0x27dd46=>Array(_0x25cd52[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27dd46[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46a931([0x66,0x69,0x6c,0x6c])](_0x27dd46[0x0]===_0x46a931([0x2a])?_0x46a931([0x2a]):'')[_0x46a931([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27dd46))[_0x46a931([0x73,0x6f,0x6d,0x65])](_0x3f0db0=>_0x25cd52[_0x46a931([0x65,0x76,0x65,0x72,0x79])]((_0x2f4013,_0x4c0458)=>_0x3f0db0[_0x4c0458]===_0x2f4013||_0x3f0db0[_0x4c0458]===_0x46a931([0x2a])));}function _0x137503(){return _0x1e1f1c&&_0x32a788?new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b637f,_0xe9c2a4)=>{_0x1e1f1c[_0x46a931([0x74,0x68,0x65,0x6e])](_0x4b637f,_0xe9c2a4),_0x32a788[_0x46a931([0x74,0x68,0x65,0x6e])](_0x299e1c=>{_0x299e1c!=_0x46a931([0x56,0x61,0x6c,0x69,0x64])&&_0x4b637f(_0x299e1c);},_0xe9c2a4);}):_0x1e1f1c||_0x32a788||_0x46a931([0x56,0x61,0x6c,0x69,0x64]);}}function _0x424fef(_0x169847,_0x329aee){return new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3d0e=>{if(_0x3c7e08())return _0x1e3d0e(_0x46a931([0x56,0x61,0x6c,0x69,0x64]));_0x4dcc73(),_0x318eea[_0x46a931([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46a931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39d9a6=!0x1;const _0xaf9aa9=_0x1b7072();function _0x31dc92(_0x3ea20c){return!!_0x3ea20c&&(typeof _0x3ea20c===_0x46a931([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ea20c===_0x46a931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ea20c[_0x46a931([0x74,0x68,0x65,0x6e])]===_0x46a931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ea20c[_0x46a931([0x63,0x61,0x74,0x63,0x68])]===_0x46a931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a3905(_0x8eb8d3){_0x1d9f5d(_0x8eb8d3)[_0x46a931([0x74,0x68,0x65,0x6e])](_0x188ea2=>{if(!_0x188ea2||_0x188ea2[_0x46a931([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46a931([0x6f,0x6b]))return _0x46a931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x315483(_0x3396b6(_0xaf9aa9+_0x329aee))!=_0x188ea2[_0x46a931([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46a931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46a931([0x56,0x61,0x6c,0x69,0x64]);})[_0x46a931([0x74,0x68,0x65,0x6e])](_0x31813c=>(_0x2d7b91(),_0x31813c),()=>{const _0x56fc79=_0xafdb83();return null==_0x56fc79?(_0x2d7b91(),_0x46a931([0x56,0x61,0x6c,0x69,0x64])):_0x46a931(_0x714355-_0x56fc79>(0x7753083a^_0x56a1b1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46a931([0x74,0x68,0x65,0x6e])](_0x1e3d0e)[_0x46a931([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e3d0e(_0x46a931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9a552c=0x536962ba^_0x56a1b1;function _0x2d7b91(){const _0x2c724c=_0x46a931([0x6c,0x6c,0x63,0x74,0x2d])+_0x315483(_0x3396b6(_0x169847)),_0x4d03be=_0x121350(_0x315483(window[_0x46a931([0x4d,0x61,0x74,0x68])][_0x46a931([0x63,0x65,0x69,0x6c])](_0x714355/_0x9a552c)));window[_0x46a931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46a931([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c724c,_0x4d03be);}function _0xafdb83(){const _0xfe29=_0x46a931([0x6c,0x6c,0x63,0x74,0x2d])+_0x315483(_0x3396b6(_0x169847)),_0x268c5c=window[_0x46a931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46a931([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfe29);return _0x268c5c?window[_0x46a931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x121350(_0x268c5c),0x10)*_0x9a552c:null;}function _0x1d9f5d(_0x317321){return new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfdff0,_0x317695)=>{_0x317321[_0x46a931([0x74,0x68,0x65,0x6e])](_0xfdff0,_0x317695),window[_0x46a931([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x317695,0x535e58fa^_0x56a1b1);});}}_0x318eea[_0x46a931([0x6f,0x6e])](_0x46a931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49f73d,_0x35683c)=>{if(_0x35683c[0x0]!=_0x169847)return _0x1e3d0e(_0x46a931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35683c[0x1]={..._0x35683c[0x1],[_0x46a931([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xaf9aa9};},{[_0x46a931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46a931([0x68,0x69,0x67,0x68])}),_0x318eea[_0x46a931([0x6f,0x6e])](_0x46a931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1866ee=>{_0x31dc92(_0x1866ee[_0x46a931([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39d9a6=!0x0,_0x1a3905(_0x1866ee[_0x46a931([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46a931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46a931([0x6c,0x6f,0x77])}),_0x2b6037[_0x46a931([0x74,0x68,0x65,0x6e])](()=>{_0x39d9a6||_0x1e3d0e(_0x46a931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c7e08(){return _0x318eea[_0x46a931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46a931([0x76,0x69,0x65,0x77])][_0x46a931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46a931([0x61,0x75,0x74,0x6f]);}function _0x4dcc73(){_0x318eea[_0x46a931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46a931([0x76,0x69,0x65,0x77])][_0x46a931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46a931([0x61,0x75,0x74,0x6f]);}}function _0x11c381(_0x2bafff){const _0x4ea52a=[new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ccbcb=>setTimeout(_0x2ccbcb,0x5356b2f6^_0x56a1b1)),_0x2b6037[_0x46a931([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d78e=>{let _0x3fd669=0x0;_0x318eea[_0x46a931([0x6d,0x6f,0x64,0x65,0x6c])][_0x46a931([0x6f,0x6e])](_0x46a931([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x461a28,_0x5b7bc8)=>{_0x5b7bc8[0x0][_0x46a931([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fd669++,_0x3fd669==(0x535f89d2^_0x56a1b1)&&(_0x40d78e(),_0x461a28[_0x46a931([0x6f,0x66,0x66])]());});}))];return window[_0x46a931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46a931([0x72,0x61,0x63,0x65])](_0x4ea52a)[_0x46a931([0x74,0x68,0x65,0x6e])](()=>_0x2bafff);}async function _0x455cdd(){await _0x2b6037,_0x318eea[_0x46a931([0x6d,0x6f,0x64,0x65,0x6c])][_0x46a931([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1263a7,_0x318eea[_0x46a931([0x6d,0x6f,0x64,0x65,0x6c])][_0x46a931([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1263a7,_0x318eea[_0x46a931([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46a931([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c6493(_0x1c08cc){const _0xabf5db=_0x4e1ebe();_0x318eea[_0xabf5db]=_0x46a931([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c08cc,_0x1c08cc!=_0x46a931([0x56,0x61,0x6c,0x69,0x64])&&_0x455cdd();}function _0x4e1ebe(){const _0x103f1c=window[_0x46a931([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46a931([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46a931([0x6e,0x6f,0x77])]())[_0x46a931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46a931([0x2e]),'');let _0x4a6a62=_0x46a931([0x68]);for(let _0x26eaf2=0x0;_0x26eaf2<_0x103f1c[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26eaf2+=0x2){let _0x47de22=window[_0x46a931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x103f1c[_0x46a931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26eaf2,_0x26eaf2+0x2));_0x47de22>=_0x44dbbd[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47de22-=_0x44dbbd[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a6a62+=_0x44dbbd[_0x47de22];}return _0x4a6a62;}function _0x1abfd3(){const _0x504ed3=_0x48f07c[_0x46a931([0x73,0x70,0x6c,0x69,0x74])](_0x46a931([0x2e]));if(0x3!=_0x504ed3[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x223859(_0x504ed3[0x1]);function _0x223859(_0x1fcd6f){const _0x2c4df0=_0x2da138(_0x1fcd6f);return _0x2c4df0&&_0x123902()?_0x2c4df0:null;function _0x123902(){const _0x33cca2=_0x2c4df0[_0x46a931([0x6a,0x74,0x69])],_0x1b9b5a=window[_0x46a931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33cca2[_0x46a931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33cca2[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e1a1e={..._0x2c4df0,[_0x46a931([0x6a,0x74,0x69])]:_0x33cca2[_0x46a931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33cca2[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e1a1e[_0x46a931([0x76,0x63])],_0x3396b6(_0x4e1a1e)==_0x1b9b5a;}}}async function _0xc21085(){let _0x388f78=!0x0;try{const _0x57a746=_0x48f07c[_0x46a931([0x73,0x70,0x6c,0x69,0x74])](_0x46a931([0x2e])),[_0x137d73,_0x3a3da1,_0xebfe31]=_0x57a746;return _0x1a4282(_0x137d73),await _0xba0b86(_0x137d73,_0x3a3da1,_0xebfe31),_0x388f78;}catch{return!0x1;}function _0x1a4282(_0x442862){const _0x169b2f=_0x2da138(_0x442862);_0x169b2f&&_0x169b2f[_0x46a931([0x61,0x6c,0x67])]==_0x46a931([0x45,0x53,0x32,0x35,0x36])||(_0x388f78=!0x1);}async function _0xba0b86(_0x3cffb3,_0x2ff7e1,_0x34d0af){const _0xcf9d33=window[_0x46a931([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46a931([0x66,0x72,0x6f,0x6d])](_0x3969f2(_0x34d0af),_0xde4408=>_0xde4408[_0x46a931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c7121=new window[(_0x46a931([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46a931([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cffb3+_0x46a931([0x2e])+_0x2ff7e1),_0x3bfbd1=window[_0x46a931([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46a931([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3bfbd1)return;const _0x5a999f=await _0x3bfbd1[_0x46a931([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46a931([0x6a,0x77,0x6b]),_0x3e39e5,{[_0x46a931([0x6e,0x61,0x6d,0x65])]:_0x46a931([0x45,0x43,0x44,0x53,0x41]),[_0x46a931([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46a931([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46a931([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3bfbd1[_0x46a931([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46a931([0x6e,0x61,0x6d,0x65])]:_0x46a931([0x45,0x43,0x44,0x53,0x41]),[_0x46a931([0x68,0x61,0x73,0x68])]:{[_0x46a931([0x6e,0x61,0x6d,0x65])]:_0x46a931([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a999f,_0xcf9d33,_0x5c7121)||(_0x388f78=!0x1);}}function _0x2da138(_0x125424){return _0x125424[_0x46a931([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46a931([0x65,0x79]))?JSON[_0x46a931([0x70,0x61,0x72,0x73,0x65])](_0x3969f2(_0x125424)):null;}function _0x3969f2(_0x4bfb55){return window[_0x46a931([0x61,0x74,0x6f,0x62])](_0x4bfb55[_0x46a931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46a931([0x2b]))[_0x46a931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46a931([0x2f])));}function _0x3396b6(_0x4d10a0){let _0x15e355=0x1505;function _0x2d726f(_0x421765){for(let _0x3f6195=0x0;_0x3f6195<_0x421765[_0x46a931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f6195++){const _0x5db60a=_0x421765[_0x46a931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f6195);_0x15e355=(_0x15e355<<0x5)+_0x15e355+_0x5db60a,_0x15e355&=_0x15e355;}}function _0x10bab7(_0x346434){Array[_0x46a931([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x346434)?_0x346434[_0x46a931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10bab7):_0x346434&&typeof _0x346434==_0x46a931([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46a931([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x346434)[_0x46a931([0x73,0x6f,0x72,0x74])]()[_0x46a931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x485362,_0x474047])=>{_0x2d726f(_0x485362),_0x10bab7(_0x474047);}):_0x2d726f(window[_0x46a931([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x346434));}return _0x10bab7(_0x4d10a0),_0x15e355>>>0x0;}function _0x315483(_0x3063a7){return _0x3063a7[_0x46a931([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46a931([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46a931([0x30]));}function _0x121350(_0x4d3efd){return _0x4d3efd[_0x46a931([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46a931([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46a931([0x6a,0x6f,0x69,0x6e])]('');}function _0x1263a7(){}function _0x46a931(_0x2ab40a){const _0x57f8c8=_0x54ab;return _0x2ab40a[_0x57f8c8(0x1d7)](_0x293f7a=>String[_0x57f8c8(0x1be)](_0x293f7a))[_0x57f8c8(0x1ee)]('');}_0x4c6493(await _0x3bcb2f());}(this);}[_0xc14627(0x1d0)](){const _0x3769a1=_0xc14627,_0x17ad96=this[_0x3769a1(0x1c3)][_0x3769a1(0x20e)][_0x3769a1(0x1d9)];_0x17ad96[_0x3769a1(0x1ce)](_0x3769a1(0x1fe))&&_0x17ad96[_0x3769a1(0x202)](_0x3769a1(0x1fe),{'allowAttributes':[_0x3769a1(0x1e6)]}),_0x17ad96[_0x3769a1(0x1ce)](_0x3769a1(0x1d5))&&_0x17ad96[_0x3769a1(0x202)](_0x3769a1(0x1d5),{'allowAttributes':[_0x3769a1(0x1e6)]});}[_0xc14627(0x1cf)](){const _0x38418c=_0xc14627,_0x41f4b2=this[_0x38418c(0x1c3)];_0x41f4b2[_0x38418c(0x1e0)][_0x38418c(0x1f9)](_0x38418c(0x1bd))[_0x38418c(0x1df)]({'model':_0x38418c(0x1e6),'view':_0x38418c(0x1c4)}),_0x41f4b2[_0x38418c(0x1e0)][_0x38418c(0x1f9)](_0x38418c(0x209))[_0x38418c(0x1cd)]({'model':{'key':_0x38418c(0x1e6),'value':_0x5bdba4=>_0x5bdba4[_0x38418c(0x1dd)](_0x38418c(0x1c4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x41d26b=_0x41f4b2[_0x38418c(0x1c5)][_0x38418c(0x1ec)](_0x38418c(0x1ff));_0x41d26b&&this[_0x38418c(0x205)](_0x41d26b,_0x38418c(0x1e8),(_0x40c8f6,[_0xd96bb1,_0x148513])=>{const _0x945ef1=_0x38418c;_0xd96bb1[_0x945ef1(0x1c0)](_0x945ef1(0x1e6),_0x148513);});}[_0xc14627(0x1ef)](){const _0x4e9aa1=_0xc14627,_0x1eae51=this[_0x4e9aa1(0x1c3)][_0x4e9aa1(0x20b)][_0x4e9aa1(0x1ec)](_0x4e9aa1(0x1c8))||{},_0x1dc389=this[_0x4e9aa1(0x1c3)][_0x4e9aa1(0x20b)][_0x4e9aa1(0x1ec)](_0x4e9aa1(0x1d8))||'';this[_0x4e9aa1(0x1f2)]=_0x19f09a(_0x26496c[_0x4e9aa1(0x206)],_0x4e9aa1(0x1f0),{..._0x1eae51,'pubkey':_0x1dc389,'ctx-name':_0x4e9aa1(0x204)+this[_0x4e9aa1(0x1d2)],'sourceList':'','imgOnly':_0x4e9aa1(0x1bc),'removeCopyright':_0x4e9aa1(0x1bc),'localeName':this[_0x4e9aa1(0x1c3)][_0x4e9aa1(0x1d4)][_0x4e9aa1(0x1e2)],'externalSourcesEmbedCss':_0x4e9aa1(0x1fd)}),this[_0x4e9aa1(0x1f2)][_0x4e9aa1(0x1f4)]=_0x392203=>{const _0xa988ca=_0x4e9aa1;if(_0xa988ca(0x20d)==_0x392203)return _0xa988ca(0x1e5);},_0x26496c[_0x4e9aa1(0x206)][_0x4e9aa1(0x1f5)][_0x4e9aa1(0x207)](this[_0x4e9aa1(0x1f2)]);}[_0xc14627(0x20c)](){const _0x345fc1=_0xc14627;this[_0x345fc1(0x208)]=_0x19f09a(_0x26496c[_0x345fc1(0x206)],_0x345fc1(0x1ea),{'ctx-name':_0x345fc1(0x204)+this[_0x345fc1(0x1d2)]}),_0x26496c[_0x345fc1(0x206)][_0x345fc1(0x1f5)][_0x345fc1(0x207)](this[_0x345fc1(0x208)]);}[_0xc14627(0x1c2)](){const _0x412e0f=_0xc14627,_0xd28bbe=this[_0x412e0f(0x1c3)][_0x412e0f(0x1c5)][_0x412e0f(0x1ec)](_0x412e0f(0x1cb));_0xd28bbe&&this[_0x412e0f(0x205)](_0xd28bbe,_0x412e0f(0x1e4),()=>{const _0x4005d8=_0x412e0f,_0x56bde8=this[_0x4005d8(0x1c3)][_0x4005d8(0x20e)][_0x4005d8(0x206)][_0x4005d8(0x1de)][_0x4005d8(0x1fb)]();_0x56bde8&&_0x56bde8[_0x4005d8(0x1dd)](_0x4005d8(0x1e6))&&this[_0x4005d8(0x1c3)][_0x4005d8(0x1e1)][_0x4005d8(0x1e3)][_0x4005d8(0x20a)](_0x4005d8(0x1fa),()=>{const _0x1e411c=_0x4005d8;_0xa1f7a(this[_0x1e411c(0x1c3)],_0x56bde8);});});const _0x2438e0=this[_0x412e0f(0x1c3)][_0x412e0f(0x1c5)][_0x412e0f(0x1ec)](_0x412e0f(0x1d3));_0x2438e0&&this[_0x412e0f(0x205)](_0x2438e0,_0x412e0f(0x1e4),()=>{const _0x219ac2=_0x412e0f,_0x3269f9=this[_0x219ac2(0x1c3)][_0x219ac2(0x20e)][_0x219ac2(0x206)][_0x219ac2(0x1de)][_0x219ac2(0x1fb)]();_0x3269f9&&_0x3269f9[_0x219ac2(0x1dd)](_0x219ac2(0x1e6))&&this[_0x219ac2(0x1c3)][_0x219ac2(0x1e1)][_0x219ac2(0x1e3)][_0x219ac2(0x20a)](_0x219ac2(0x1fa),()=>{const _0x2c2375=_0x219ac2;_0xa1f7a(this[_0x2c2375(0x1c3)],_0x3269f9);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1889d4,ObservableMixin as _0x462f8c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2a040c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f1931}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x41ca14}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xfee528}from'../../utils/uploadutils.js';import{getImageUrls as _0x224571,getImageDimension as _0x5384b8}from'../../utils/editingutils.js';import{isAncestor as _0x3ec617}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x462f8c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x31e7dd,_0x4a4214,_0x112f2d){super(),this['_editor']=_0x31e7dd,this['_dialog']=_0x4a4214,this['_imageElement']=_0x112f2d,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 _0x270e5f=this['_imageElement'],_0x4b319c=_0x270e5f['getAttribute']('uploadcareImageId'),_0x51b058=_0x270e5f['getAttribute']('src');if(_0x4b319c)await this['_loadImageInfo'](_0x4b319c,_0x51b058);else{if(this['_imageCache']['has'](_0x51b058)){const _0x4a16df=this['_imageCache']['get'](_0x51b058);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a16df['url'],this['imageDimension']=_0x4a16df['dimension'],this['imageId']=_0x4a16df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c2c85}=this['_editor'],t=_0x4c2c85['t'],_0x31a55e=new _0x41ca14(_0x4c2c85,this['imageStatus'],this['_attributes']);_0x31a55e['bind']('status')['to'](this,'imageStatus'),_0x31a55e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x31a55e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x31a55e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x31a55e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f1931,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x31a55e,'position':_0x2a040c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x31a55e['focus']();},'onHide':()=>{_0x31a55e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3da837=>!_0x3ec617(_0x3da837,_0x31a55e['element'])}});}['_loadImageInfo'](_0x526478,_0x5a3a7c){return _0xfee528['getInfo'](_0x526478,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b8ce4=>{const {width:_0x1d436e,height:_0x4fbacb}=_0x2b8ce4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a3a7c,this['imageDimension']={'width':_0x1d436e,'height':_0x4fbacb},this['imageId']=_0x526478;})['catch'](_0x3b7198=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b7198['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4c0870,_0x3a62a9){return this['_getImageAsFile'](_0x4c0870)['then'](_0x3f9174=>_0xfee528['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':_0x3a62a9['signal'],'file':_0x3f9174,'onProgress':_0x5a8cc5=>{_0x5a8cc5&&_0x5a8cc5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5a8cc5['value']));}}))['then'](_0x25e7fb=>{const {width:_0x1fb459,height:_0x2ac8b5}=_0x25e7fb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e7fb['cdnUrl'],this['imageDimension']={'width':_0x1fb459,'height':_0x2ac8b5},this['imageId']=_0x25e7fb['uuid'],this['imageUploadProgress']=null;const _0x23b33d=_0x4c0870['getAttribute']('src');this['_imageCache']['set'](_0x23b33d,{'id':_0x25e7fb['uuid'],'url':_0x25e7fb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x308989=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x308989['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b47b8,_0x4b45ea){_0x1b47b8['on']('apply',(_0x2afa61,_0x40d0ed)=>{this['_replaceImage'](_0x4b45ea,_0x40d0ed['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b47b8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b47b8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1fd581,_0x14513f,_0x12dc67){const _0xdcdce5=this['_editor'],{width:_0xbc052f,height:_0x201857}=_0x5384b8(_0x14513f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4a9033,imageSources:_0x4b7baa}=_0x224571(_0x14513f,_0xbc052f);_0xdcdce5['model']['change'](_0xd278c5=>{if('$graveyard'===_0x1fd581['root']['rootName']){_0xdcdce5['execute']('insertImage',{'imageType':_0x1fd581['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1fd581['getAttributes']()),'uploadcareImageId':_0x12dc67,'src':_0x4a9033,'sources':_0x4b7baa,'width':_0xbc052f,'height':_0x201857}});const _0x541a10=_0x1fd581['getChildren']();_0x1fd581=_0xdcdce5['model']['document']['selection']['getSelectedElement']();for(const _0x4f99eb of _0x541a10)_0xd278c5['append'](_0xd278c5['cloneElement'](_0x4f99eb),_0x1fd581);}else _0xd278c5['setSelection'](_0x1fd581,'on'),_0xdcdce5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1fd581['getAttributes']()),'uploadcareImageId':_0x12dc67,'src':_0x4a9033,'sources':_0x4b7baa,'width':_0xbc052f,'height':_0x201857},_0x1fd581);_0xd278c5['setSelection'](_0x1fd581,'on');});}async['_getImageAsFile'](_0x8112ec){const _0xd2daf2=_0x1889d4['window'],_0x1bdc22=_0x1889d4['document']['location']['href'],_0x5337b4=new _0xd2daf2['URL'](_0x8112ec['getAttribute']('src'),_0x1bdc22);if('data:'===_0x5337b4['protocol']){const _0x20da63=_0x5337b4['href']['split'](','),_0x12ea66=_0x20da63[0x0]['match'](/:(.*?);/)[0x1],_0x5aac06=_0x12ea66['split']('/')[0x1],_0x5da366=_0xd2daf2['atob'](_0x20da63[_0x20da63['length']-0x1]);let _0x52fc22=_0x5da366['length'];const _0x3be2d7=new _0xd2daf2['Uint8Array'](_0x52fc22);for(;_0x52fc22--;)_0x3be2d7[_0x52fc22]=_0x5da366['charCodeAt'](_0x52fc22);return new _0xd2daf2['File']([_0x3be2d7],'image.'+_0x5aac06,{'type':_0x12ea66});}const _0x47b766=_0x5337b4['href']['split']('/'),_0x127355=_0x47b766[_0x47b766['length']-0x1],_0x3fcadd=_0x127355['split']('.')[0x1];return _0xd2daf2['fetch'](_0x5337b4['href'])['then'](_0x5227b9=>_0x5227b9['clone']()['blob']())['then'](_0x5684c1=>new _0xd2daf2['File']([_0x5684c1],_0x127355,{'type':'image/'+_0x3fcadd}));}}
23
+ import{global as _0x1926d9,ObservableMixin as _0x581978}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x9f1512}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x115756}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x183ae8}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2234eb}from'../../utils/uploadutils.js';import{getImageUrls as _0x308a6a,getImageDimension as _0x67e557}from'../../utils/editingutils.js';import{isAncestor as _0x2d6df3}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x581978(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d24b6,_0x4063e2,_0x26e629){super(),this['_editor']=_0x3d24b6,this['_dialog']=_0x4063e2,this['_imageElement']=_0x26e629,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 _0x92e876=this['_imageElement'],_0x1a2d30=_0x92e876['getAttribute']('uploadcareImageId'),_0x2aa084=_0x92e876['getAttribute']('src');if(_0x1a2d30)await this['_loadImageInfo'](_0x1a2d30,_0x2aa084);else{if(this['_imageCache']['has'](_0x2aa084)){const _0x349bdf=this['_imageCache']['get'](_0x2aa084);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349bdf['url'],this['imageDimension']=_0x349bdf['dimension'],this['imageId']=_0x349bdf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x382833}=this['_editor'],t=_0x382833['t'],_0x2e8aa8=new _0x183ae8(_0x382833,this['imageStatus'],this['_attributes']);_0x2e8aa8['bind']('status')['to'](this,'imageStatus'),_0x2e8aa8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2e8aa8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2e8aa8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2e8aa8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x115756,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2e8aa8,'position':_0x9f1512['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2e8aa8['focus']();},'onHide':()=>{_0x2e8aa8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32d1de=>!_0x2d6df3(_0x32d1de,_0x2e8aa8['element'])}});}['_loadImageInfo'](_0x5cdf83,_0x26a9b8){return _0x2234eb['getInfo'](_0x5cdf83,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x237aa5=>{const {width:_0x4e2a8f,height:_0x2c2fea}=_0x237aa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26a9b8,this['imageDimension']={'width':_0x4e2a8f,'height':_0x2c2fea},this['imageId']=_0x5cdf83;})['catch'](_0x3873fe=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3873fe['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x148e7c,_0x50dc05){return this['_getImageAsFile'](_0x148e7c)['then'](_0x164a37=>_0x2234eb['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':_0x50dc05['signal'],'file':_0x164a37,'onProgress':_0x39a5c6=>{_0x39a5c6&&_0x39a5c6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39a5c6['value']));}}))['then'](_0x256be7=>{const {width:_0x3a7c75,height:_0x2cd582}=_0x256be7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x256be7['cdnUrl'],this['imageDimension']={'width':_0x3a7c75,'height':_0x2cd582},this['imageId']=_0x256be7['uuid'],this['imageUploadProgress']=null;const _0x518b97=_0x148e7c['getAttribute']('src');this['_imageCache']['set'](_0x518b97,{'id':_0x256be7['uuid'],'url':_0x256be7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x145d99=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x145d99['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5e04ca,_0x321e19){_0x5e04ca['on']('apply',(_0x4ece9c,_0x51c9bc)=>{this['_replaceImage'](_0x321e19,_0x51c9bc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5e04ca['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5e04ca['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x506a9e,_0x4e6b65,_0x21db5e){const _0x167285=this['_editor'],{width:_0x2d0e78,height:_0x4a230b}=_0x67e557(_0x4e6b65,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x171362,imageSources:_0x387528}=_0x308a6a(_0x4e6b65,_0x2d0e78);_0x167285['model']['change'](_0x440d35=>{if('$graveyard'===_0x506a9e['root']['rootName']){_0x167285['execute']('insertImage',{'imageType':_0x506a9e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x506a9e['getAttributes']()),'uploadcareImageId':_0x21db5e,'src':_0x171362,'sources':_0x387528,'width':_0x2d0e78,'height':_0x4a230b}});const _0x2964d4=_0x506a9e['getChildren']();_0x506a9e=_0x167285['model']['document']['selection']['getSelectedElement']();for(const _0x7bfe2b of _0x2964d4)_0x440d35['append'](_0x440d35['cloneElement'](_0x7bfe2b),_0x506a9e);}else _0x440d35['setSelection'](_0x506a9e,'on'),_0x167285['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x506a9e['getAttributes']()),'uploadcareImageId':_0x21db5e,'src':_0x171362,'sources':_0x387528,'width':_0x2d0e78,'height':_0x4a230b},_0x506a9e);_0x440d35['setSelection'](_0x506a9e,'on');});}async['_getImageAsFile'](_0x332512){const _0x21bd60=_0x1926d9['window'],_0x282bcf=_0x1926d9['document']['location']['href'],_0xc7acfa=new _0x21bd60['URL'](_0x332512['getAttribute']('src'),_0x282bcf);if('data:'===_0xc7acfa['protocol']){const _0x23482d=_0xc7acfa['href']['split'](','),_0x36dfb7=_0x23482d[0x0]['match'](/:(.*?);/)[0x1],_0x27a56b=_0x36dfb7['split']('/')[0x1],_0x27f536=_0x21bd60['atob'](_0x23482d[_0x23482d['length']-0x1]);let _0x41c589=_0x27f536['length'];const _0x2a1cb3=new _0x21bd60['Uint8Array'](_0x41c589);for(;_0x41c589--;)_0x2a1cb3[_0x41c589]=_0x27f536['charCodeAt'](_0x41c589);return new _0x21bd60['File']([_0x2a1cb3],'image.'+_0x27a56b,{'type':_0x36dfb7});}const _0x182314=_0xc7acfa['href']['split']('/'),_0x101440=_0x182314[_0x182314['length']-0x1],_0x4dea6f=_0x101440['split']('.')[0x1];return _0x21bd60['fetch'](_0xc7acfa['href'])['then'](_0xb9f76d=>_0xb9f76d['clone']()['blob']())['then'](_0x4e5d44=>new _0x21bd60['File']([_0x4e5d44],_0x101440,{'type':'image/'+_0x4dea6f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21ef(){const _0x38ae9f=['ck-uploadcare-theme','1107150rDZxav','bindTemplate','image-edit','set','1455453kMtFxd','112SXCkvu','997262WaxDDM','536970upDSmW','1177568nkPQot','138NcKKnE','imageSrc','244210prrlkw','uc-cloud-image-editor','uc-light','43520mGieVc','setTemplate'];_0x21ef=function(){return _0x38ae9f;};return _0x21ef();}(function(_0xceb3ad,_0xb73029){const _0x55db5f=_0x254a,_0x4a7d1f=_0xceb3ad();while(!![]){try{const _0x545dbd=-parseInt(_0x55db5f(0x1f2))/0x1+-parseInt(_0x55db5f(0x1ef))/0x2+-parseInt(_0x55db5f(0x1f0))/0x3*(parseInt(_0x55db5f(0x1f5))/0x4)+-parseInt(_0x55db5f(0x1f8))/0x5+-parseInt(_0x55db5f(0x1ee))/0x6+-parseInt(_0x55db5f(0x1ed))/0x7+parseInt(_0x55db5f(0x1ec))/0x8*(parseInt(_0x55db5f(0x1eb))/0x9);if(_0x545dbd===_0xb73029)break;else _0x4a7d1f['push'](_0x4a7d1f['shift']());}catch(_0x5d9cc1){_0x4a7d1f['push'](_0x4a7d1f['shift']());}}}(_0x21ef,0x747f5));function _0x254a(_0x330fc3,_0xb45977){const _0x21efdc=_0x21ef();return _0x254a=function(_0x254a6f,_0x5eb741){_0x254a6f=_0x254a6f-0x1e8;let _0x335f47=_0x21efdc[_0x254a6f];return _0x335f47;},_0x254a(_0x330fc3,_0xb45977);}import{View as _0x3ae189}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x3ae189{constructor(_0x6b2cf7,_0x50e110){const _0x1d5e45=_0x254a;super(_0x6b2cf7);const _0x47d0a0=this[_0x1d5e45(0x1e8)];this[_0x1d5e45(0x1ea)](_0x1d5e45(0x1f1),''),this[_0x1d5e45(0x1f6)]({'tag':_0x1d5e45(0x1f3),'attributes':{..._0x50e110,'class':[_0x1d5e45(0x1f4),_0x1d5e45(0x1f7)],'ctx-name':_0x1d5e45(0x1e9),'cdn-url':_0x47d0a0['to'](_0x1d5e45(0x1f1))}});}}
23
+ function _0x1711(){const _0x4ca18f=['4986505gZoZut','3282RFVSKv','set','443988dHSngJ','imageSrc','uc-light','uc-cloud-image-editor','5003200nlKQJD','ck-uploadcare-theme','6300324HzTjNJ','bindTemplate','2114754jHafvG','image-edit','setTemplate','14ubzGtJ','285343fKLhtO','309zBiKhQ'];_0x1711=function(){return _0x4ca18f;};return _0x1711();}function _0x53e2(_0x2ae990,_0x14175f){const _0x1711f0=_0x1711();return _0x53e2=function(_0x53e28c,_0x43a4de){_0x53e28c=_0x53e28c-0x17b;let _0x2d5221=_0x1711f0[_0x53e28c];return _0x2d5221;},_0x53e2(_0x2ae990,_0x14175f);}(function(_0x4bf889,_0x33ea2b){const _0x1cb4df=_0x53e2,_0x5987fb=_0x4bf889();while(!![]){try{const _0x594181=parseInt(_0x1cb4df(0x17e))/0x1+parseInt(_0x1cb4df(0x181))/0x2*(-parseInt(_0x1cb4df(0x17f))/0x3)+-parseInt(_0x1cb4df(0x189))/0x4+parseInt(_0x1cb4df(0x180))/0x5+-parseInt(_0x1cb4df(0x18b))/0x6*(-parseInt(_0x1cb4df(0x17d))/0x7)+parseInt(_0x1cb4df(0x187))/0x8+-parseInt(_0x1cb4df(0x183))/0x9;if(_0x594181===_0x33ea2b)break;else _0x5987fb['push'](_0x5987fb['shift']());}catch(_0x42e20a){_0x5987fb['push'](_0x5987fb['shift']());}}}(_0x1711,0xc8146));import{View as _0x33ab1c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x33ab1c{constructor(_0x2fba27,_0x11f6de){const _0x82ca6c=_0x53e2;super(_0x2fba27);const _0x5e2f45=this[_0x82ca6c(0x18a)];this[_0x82ca6c(0x182)](_0x82ca6c(0x184),''),this[_0x82ca6c(0x17c)]({'tag':_0x82ca6c(0x186),'attributes':{..._0x11f6de,'class':[_0x82ca6c(0x185),_0x82ca6c(0x188)],'ctx-name':_0x82ca6c(0x17b),'cdn-url':_0x5e2f45['to'](_0x82ca6c(0x184))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x359108}from'ckeditor5/src/icons.js';import{ButtonView as _0x320e0c,IconView as _0x5782d2,View as _0x3cd4e8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3cd4e8{constructor(_0x59b839){super(_0x59b839);const t=_0x59b839['t'];this['set']('errorType',null);const _0x331bee=new _0x320e0c(_0x59b839);_0x331bee['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x331bee['withText']=!0x0,_0x331bee['class']='ck-button-action',_0x331bee['on']('execute',()=>{this['fire']('retry');}),_0x331bee['bind']('isVisible')['to'](this,'errorType',_0x1e8459=>'NotFound'!==_0x1e8459);const _0x7464cd=new _0x5782d2();_0x7464cd['content']=_0x359108,_0x7464cd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x523a9a=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':[_0x7464cd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x523a9a['to']('errorType',_0x161006=>t('NotFound'!==_0x161006?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x331bee]},{'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 _0x479808}from'ckeditor5/src/icons.js';import{ButtonView as _0xcfb4b3,IconView as _0x21a8dd,View as _0x1b904c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1b904c{constructor(_0x3a4c53){super(_0x3a4c53);const t=_0x3a4c53['t'];this['set']('errorType',null);const _0x2996e8=new _0xcfb4b3(_0x3a4c53);_0x2996e8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2996e8['withText']=!0x0,_0x2996e8['class']='ck-button-action',_0x2996e8['on']('execute',()=>{this['fire']('retry');}),_0x2996e8['bind']('isVisible')['to'](this,'errorType',_0x532f3e=>'NotFound'!==_0x532f3e);const _0x221d34=new _0x21a8dd();_0x221d34['content']=_0x479808,_0x221d34['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15dbf3=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':[_0x221d34,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15dbf3['to']('errorType',_0x2e8cfa=>t('NotFound'!==_0x2e8cfa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2996e8]},{'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 _0x2bcfef,View as _0x5d547b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5d547b{constructor(_0x29bbfd){super(_0x29bbfd);const t=_0x29bbfd['t'],_0x4b5cbb=this['bindTemplate'],_0x54590d=new _0x2bcfef();_0x54590d['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':[_0x54590d,{'text':_0x4b5cbb['to']('imageUploadProgress',_0x3d287d=>t('Loading\x20image...')+'\x20('+(_0x3d287d||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 _0x2be8df,View as _0x57987d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x57987d{constructor(_0x290874){super(_0x290874);const t=_0x290874['t'],_0xb1c381=this['bindTemplate'],_0x535529=new _0x2be8df();_0x535529['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':[_0x535529,{'text':_0xb1c381['to']('imageUploadProgress',_0x1f9edd=>t('Loading\x20image...')+'\x20('+(_0x1f9edd||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 _0x2c8663=_0x15de;(function(_0xd78554,_0x1aed43){const _0x352ecb=_0x15de,_0x5ace66=_0xd78554();while(!![]){try{const _0x57fb69=-parseInt(_0x352ecb(0x102))/0x1+-parseInt(_0x352ecb(0x12e))/0x2*(-parseInt(_0x352ecb(0xfe))/0x3)+parseInt(_0x352ecb(0x130))/0x4+-parseInt(_0x352ecb(0x127))/0x5+parseInt(_0x352ecb(0x10a))/0x6*(-parseInt(_0x352ecb(0x122))/0x7)+-parseInt(_0x352ecb(0x11e))/0x8+parseInt(_0x352ecb(0x11f))/0x9;if(_0x57fb69===_0x1aed43)break;else _0x5ace66['push'](_0x5ace66['shift']());}catch(_0x33b433){_0x5ace66['push'](_0x5ace66['shift']());}}}(_0x2440,0xcb55e));import{View as _0x336a9d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e3759}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3cd699}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4a89f4}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1dda3d}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2440(){const _0x12afd1=['status','_addErrorViewListeners','querySelector','observe','addMany','fire','add','change:status','ck-reset_all-excluded','10397128aWRbbu','27528462nkQnMv','set','ready','571823VpMosn','filter','createCollection','ck-uploadcare-form','_waitForImageEditorComponent','2834990qZtRQs','element','length','_editingView','addEventListener','apply','div','2WePLqr','_setView','3191716JraziX','detail','target','_items','849489LRqPKC','setTemplate','error','getFocusableElement','1195242qrhDxC','toLowerCase','_focusableView','disconnect','uc-cloud-image-editor','render','cdnUrl','retry','18AYKfuT','_loadingView','uploading','clear','focus','nodeName','_errorView','once','cancel','_addUploadcareImageEditorListeners','addedNodes'];_0x2440=function(){return _0x12afd1;};return _0x2440();}function _0x15de(_0x1deebc,_0x1cb12b){const _0x24409e=_0x2440();return _0x15de=function(_0x15de4b,_0x56267f){_0x15de4b=_0x15de4b-0xfd;let _0x351311=_0x24409e[_0x15de4b];return _0x351311;},_0x15de(_0x1deebc,_0x1cb12b);}export class UploadcareImageEditFormView extends _0x1dda3d{[_0x2c8663(0xfd)];[_0x2c8663(0x10b)];[_0x2c8663(0x110)];[_0x2c8663(0x12a)];[_0x2c8663(0x104)];constructor(_0x391f76,_0x50d752,_0x5a7d4b){const _0x2b8989=_0x2c8663;super(_0x391f76),this[_0x2b8989(0xfd)]=this[_0x2b8989(0x124)](),this[_0x2b8989(0x10b)]=new _0x2e3759(_0x391f76),this[_0x2b8989(0x110)]=new _0x3cd699(_0x391f76),this[_0x2b8989(0x12a)]=new _0x4a89f4(_0x391f76,_0x5a7d4b),this[_0x2b8989(0x104)]=new _0x336a9d(_0x391f76),this[_0x2b8989(0x104)][_0x2b8989(0xff)](this[_0x2b8989(0x101)]()),this[_0x2b8989(0x120)](_0x2b8989(0x115),_0x50d752),this[_0x2b8989(0xff)]({'tag':_0x2b8989(0x12d),'attributes':{'class':['ck',_0x2b8989(0x11d),_0x2b8989(0x125)],'tabindex':'-1'},'children':this[_0x2b8989(0xfd)]}),this[_0x2b8989(0x12f)](),this[_0x2b8989(0x111)](_0x2b8989(0x107),()=>{const _0x1f529c=_0x2b8989;this[_0x1f529c(0x126)](this[_0x1f529c(0x128)],_0x9bbad5=>{const _0x1128e1=_0x1f529c;this[_0x1128e1(0x113)](_0x9bbad5);});}),this['on'](_0x2b8989(0x11c),()=>{const _0xb8a280=_0x2b8989;this[_0xb8a280(0x12f)]();}),this[_0x2b8989(0x116)]();}[_0x2c8663(0x10e)](){const _0x22e1d9=_0x2c8663;this[_0x22e1d9(0x128)][_0x22e1d9(0x10e)]();}[_0x2c8663(0x12f)](){const _0x52a48=_0x2c8663;switch(this[_0x52a48(0xfd)][_0x52a48(0x10d)](),this[_0x52a48(0x115)]){case _0x52a48(0x10c):this[_0x52a48(0xfd)][_0x52a48(0x11b)](this[_0x52a48(0x10b)]);break;case _0x52a48(0x100):this[_0x52a48(0xfd)][_0x52a48(0x11b)](this[_0x52a48(0x110)]);break;case _0x52a48(0x121):this[_0x52a48(0xfd)][_0x52a48(0x119)]([this[_0x52a48(0x12a)],this[_0x52a48(0x104)]]);}}[_0x2c8663(0x126)](_0x2409a1,_0x4fff2d){const _0x4662aa=_0x2c8663,_0x25ae6d=_0x4662aa(0x106),_0x484182=_0x2409a1[_0x4662aa(0x117)](_0x25ae6d);if(_0x484182)return _0x4fff2d(_0x484182);const _0x51c172=new MutationObserver(_0x2fb39f=>{const _0xef8801=_0x4662aa,_0x1e2a18=_0x2fb39f[_0xef8801(0x123)](_0xe7586f=>_0xe7586f[_0xef8801(0x132)]===_0x2409a1&&_0xe7586f[_0xef8801(0x114)][_0xef8801(0x129)]>0x0&&_0xe7586f[_0xef8801(0x114)][0x0][_0xef8801(0x10f)][_0xef8801(0x103)]()===_0x25ae6d);_0x1e2a18[_0xef8801(0x129)]&&(_0x51c172[_0xef8801(0x105)](),_0x4fff2d(_0x1e2a18[0x0][_0xef8801(0x114)][0x0]));});_0x51c172[_0x4662aa(0x118)](_0x2409a1,{'childList':!0x0,'subtree':!0x0});}[_0x2c8663(0x113)](_0xb2e27a){const _0x59d0af=_0x2c8663;_0xb2e27a[_0x59d0af(0x12b)](_0x59d0af(0x12c),_0x20f51e=>{const _0x257bcf=_0x59d0af;this[_0x257bcf(0x11a)](_0x257bcf(0x12c),{'imageSrc':_0x20f51e[_0x257bcf(0x131)][_0x257bcf(0x108)]});}),_0xb2e27a[_0x59d0af(0x12b)](_0x59d0af(0x112),()=>{const _0x5424c8=_0x59d0af;this[_0x5424c8(0x11a)](_0x5424c8(0x112));});}[_0x2c8663(0x116)](){const _0x2de4a7=_0x2c8663;this[_0x2de4a7(0x110)]['on'](_0x2de4a7(0x109),()=>{const _0x49cbe5=_0x2de4a7;this[_0x49cbe5(0x11a)](_0x49cbe5(0x109));});}}
23
+ const _0x417812=_0x8c85;function _0x3938(){const _0x2ad9f1=['uploading','target','9YHFPJO','addedNodes','1409076NxYwTS','focus','ready','disconnect','2200ARmPiO','44XaMPKW','observe','_loadingView','clear','addEventListener','ck-reset_all-excluded','retry','1142151eGnTXP','fire','7106094nEKTgj','_addErrorViewListeners','6GtfBgl','_errorView','318532tDbrgA','_items','1948680TgFHQv','element','addMany','nodeName','filter','detail','error','_setView','toLowerCase','32543kxrYlC','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','status','length','change:status','cancel','setTemplate','render','once','apply','_editingView','ck-uploadcare-form','uc-cloud-image-editor','createCollection','set','querySelector','4497175DWBxia','cdnUrl','_focusableView','add','div','getFocusableElement'];_0x3938=function(){return _0x2ad9f1;};return _0x3938();}(function(_0x4a4d76,_0x5eca8d){const _0x523da1=_0x8c85,_0x17b957=_0x4a4d76();while(!![]){try{const _0x4de396=parseInt(_0x523da1(0xe0))/0x1+-parseInt(_0x523da1(0xe6))/0x2*(parseInt(_0x523da1(0x10a))/0x3)+-parseInt(_0x523da1(0x10c))/0x4+parseInt(_0x523da1(0x102))/0x5*(-parseInt(_0x523da1(0xe4))/0x6)+-parseInt(_0x523da1(0xf1))/0x7*(-parseInt(_0x523da1(0x110))/0x8)+parseInt(_0x523da1(0xe2))/0x9+parseInt(_0x523da1(0xe8))/0xa*(-parseInt(_0x523da1(0x111))/0xb);if(_0x4de396===_0x5eca8d)break;else _0x17b957['push'](_0x17b957['shift']());}catch(_0x2a10a9){_0x17b957['push'](_0x17b957['shift']());}}}(_0x3938,0xab322));import{View as _0x1e747}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x377bc8}from'./uploadcareimageeditformloadingview.js';function _0x8c85(_0x28753e,_0x4e7920){const _0x393883=_0x3938();return _0x8c85=function(_0x8c854d,_0x45df72){_0x8c854d=_0x8c854d-0xdc;let _0x1e1b3a=_0x393883[_0x8c854d];return _0x1e1b3a;},_0x8c85(_0x28753e,_0x4e7920);}import{UploadcareImageEditFormErrorView as _0x76e7b2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x338738}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x57ea25}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x57ea25{[_0x417812(0xe7)];[_0x417812(0x113)];[_0x417812(0xe5)];[_0x417812(0xfc)];[_0x417812(0x104)];constructor(_0x4b3c3d,_0x4802aa,_0x3bd6dd){const _0x205ab6=_0x417812;super(_0x4b3c3d),this[_0x205ab6(0xe7)]=this[_0x205ab6(0xff)](),this[_0x205ab6(0x113)]=new _0x377bc8(_0x4b3c3d),this[_0x205ab6(0xe5)]=new _0x76e7b2(_0x4b3c3d),this[_0x205ab6(0xfc)]=new _0x338738(_0x4b3c3d,_0x3bd6dd),this[_0x205ab6(0x104)]=new _0x1e747(_0x4b3c3d),this[_0x205ab6(0x104)][_0x205ab6(0xf8)](this[_0x205ab6(0x107)]()),this[_0x205ab6(0x100)](_0x205ab6(0xf4),_0x4802aa),this[_0x205ab6(0xf8)]({'tag':_0x205ab6(0x106),'attributes':{'class':['ck',_0x205ab6(0xde),_0x205ab6(0xfd)],'tabindex':'-1'},'children':this[_0x205ab6(0xe7)]}),this[_0x205ab6(0xef)](),this[_0x205ab6(0xfa)](_0x205ab6(0xf9),()=>{const _0x95d74e=_0x205ab6;this[_0x95d74e(0xf2)](this[_0x95d74e(0xe9)],_0xae7d9f=>{const _0x27a6a5=_0x95d74e;this[_0x27a6a5(0xf3)](_0xae7d9f);});}),this['on'](_0x205ab6(0xf6),()=>{const _0x4b866b=_0x205ab6;this[_0x4b866b(0xef)]();}),this[_0x205ab6(0xe3)]();}[_0x417812(0x10d)](){const _0x310a1c=_0x417812;this[_0x310a1c(0xe9)][_0x310a1c(0x10d)]();}[_0x417812(0xef)](){const _0x44189c=_0x417812;switch(this[_0x44189c(0xe7)][_0x44189c(0xdc)](),this[_0x44189c(0xf4)]){case _0x44189c(0x108):this[_0x44189c(0xe7)][_0x44189c(0x105)](this[_0x44189c(0x113)]);break;case _0x44189c(0xee):this[_0x44189c(0xe7)][_0x44189c(0x105)](this[_0x44189c(0xe5)]);break;case _0x44189c(0x10e):this[_0x44189c(0xe7)][_0x44189c(0xea)]([this[_0x44189c(0xfc)],this[_0x44189c(0x104)]]);}}[_0x417812(0xf2)](_0x36fb3b,_0x46aaef){const _0x3f0109=_0x417812,_0x14a95c=_0x3f0109(0xfe),_0x4911b9=_0x36fb3b[_0x3f0109(0x101)](_0x14a95c);if(_0x4911b9)return _0x46aaef(_0x4911b9);const _0x52b628=new MutationObserver(_0xb5b33c=>{const _0x4bceef=_0x3f0109,_0x1af9aa=_0xb5b33c[_0x4bceef(0xec)](_0x237c19=>_0x237c19[_0x4bceef(0x109)]===_0x36fb3b&&_0x237c19[_0x4bceef(0x10b)][_0x4bceef(0xf5)]>0x0&&_0x237c19[_0x4bceef(0x10b)][0x0][_0x4bceef(0xeb)][_0x4bceef(0xf0)]()===_0x14a95c);_0x1af9aa[_0x4bceef(0xf5)]&&(_0x52b628[_0x4bceef(0x10f)](),_0x46aaef(_0x1af9aa[0x0][_0x4bceef(0x10b)][0x0]));});_0x52b628[_0x3f0109(0x112)](_0x36fb3b,{'childList':!0x0,'subtree':!0x0});}[_0x417812(0xf3)](_0x81821e){const _0x273894=_0x417812;_0x81821e[_0x273894(0xdd)](_0x273894(0xfb),_0x3bb2af=>{const _0x51a4d8=_0x273894;this[_0x51a4d8(0xe1)](_0x51a4d8(0xfb),{'imageSrc':_0x3bb2af[_0x51a4d8(0xed)][_0x51a4d8(0x103)]});}),_0x81821e[_0x273894(0xdd)](_0x273894(0xf7),()=>{const _0x5aad2c=_0x273894;this[_0x5aad2c(0xe1)](_0x5aad2c(0xf7));});}[_0x417812(0xe3)](){const _0x3e5ded=_0x417812;this[_0x3e5ded(0xe5)]['on'](_0x3e5ded(0xdf),()=>{const _0x1b5b3c=_0x3e5ded;this[_0x1b5b3c(0xe1)](_0x1b5b3c(0xdf));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf0e7(_0x4c2535,_0x5b7e19){const _0x4e834b=_0x4e83();return _0xf0e7=function(_0xf0e722,_0x55ac51){_0xf0e722=_0xf0e722-0x1b0;let _0xd6226d=_0x4e834b[_0xf0e722];return _0xd6226d;},_0xf0e7(_0x4c2535,_0x5b7e19);}const _0x78f462=_0xf0e7;(function(_0x2a4b5a,_0x120162){const _0x2c8bc8=_0xf0e7,_0x3f3453=_0x2a4b5a();while(!![]){try{const _0x30cae8=-parseInt(_0x2c8bc8(0x1bf))/0x1+parseInt(_0x2c8bc8(0x1bc))/0x2*(-parseInt(_0x2c8bc8(0x1c8))/0x3)+-parseInt(_0x2c8bc8(0x1b5))/0x4+-parseInt(_0x2c8bc8(0x1b2))/0x5+-parseInt(_0x2c8bc8(0x1c9))/0x6+parseInt(_0x2c8bc8(0x1b8))/0x7+-parseInt(_0x2c8bc8(0x1c0))/0x8*(-parseInt(_0x2c8bc8(0x1c3))/0x9);if(_0x30cae8===_0x120162)break;else _0x3f3453['push'](_0x3f3453['shift']());}catch(_0x206e6){_0x3f3453['push'](_0x3f3453['shift']());}}}(_0x4e83,0xc3ad1));import{Command as _0x11ee33}from'ckeditor5/src/core.js';import{Dialog as _0x4c7a50}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1e0923}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3b6f02}from'../utils/editingutils.js';function _0x4e83(){const _0x4c5f17=['bind','model','2908521nHrASr','execute','getSelectedElement','document','4rqaOZM','editor','isEnabled','855152hvwcfJ','481072qjLwUf','isActive','selection','702dTPQfv','refresh','requires','element','config','2393511ORcyWg','4799826bHHXIq','plugins','imageEditController','unbind','set','uploadcare.allowExternalImagesEditing','imageBlock','imageInline','844640qmcJdn','get','_isEditable','3538964FPqtej'];_0x4e83=function(){return _0x4c5f17;};return _0x4e83();}export class UploadcareImageEditCommand extends _0x11ee33{[_0x78f462(0x1cb)];static get[_0x78f462(0x1c5)](){return[_0x4c7a50];}[_0x78f462(0x1b4)];constructor(_0xce6783){const _0x373169=_0x78f462;super(_0xce6783),this[_0x373169(0x1cb)]=void 0x0,this[_0x373169(0x1b4)]=_0x3b6f02(_0xce6783[_0x373169(0x1c7)][_0x373169(0x1b3)](_0x373169(0x1ce))||[]),this[_0x373169(0x1cd)]({'isActive':!0x1});}[_0x78f462(0x1c4)](){const _0xdf092e=_0x78f462,_0x351dbe=this[_0xdf092e(0x1bd)][_0xdf092e(0x1b7)][_0xdf092e(0x1bb)][_0xdf092e(0x1c2)][_0xdf092e(0x1ba)]();this[_0xdf092e(0x1be)]=this[_0xdf092e(0x1b4)](_0x351dbe);}[_0x78f462(0x1b9)](){const _0x146712=_0x78f462;this[_0x146712(0x1cb)]&&(this[_0x146712(0x1cc)](_0x146712(0x1c1)),this[_0x146712(0x1cb)]=void 0x0);const _0x37dc46=this[_0x146712(0x1bd)][_0x146712(0x1b7)][_0x146712(0x1bb)][_0x146712(0x1c2)][_0x146712(0x1ba)]();_0x37dc46&&(_0x37dc46['is'](_0x146712(0x1c6),_0x146712(0x1b0))||_0x37dc46['is'](_0x146712(0x1c6),_0x146712(0x1b1)))&&(this[_0x146712(0x1cb)]=new _0x1e0923(this[_0x146712(0x1bd)],this[_0x146712(0x1bd)][_0x146712(0x1ca)][_0x146712(0x1b3)](_0x4c7a50),_0x37dc46),this[_0x146712(0x1b6)](_0x146712(0x1c1))['to'](this[_0x146712(0x1cb)],_0x146712(0x1c1)));}}
23
+ const _0x31bd06=_0x2292;(function(_0x5f1369,_0x41758e){const _0x1ba02f=_0x2292,_0x2086dc=_0x5f1369();while(!![]){try{const _0x692d9d=parseInt(_0x1ba02f(0x1c6))/0x1+parseInt(_0x1ba02f(0x1b3))/0x2+parseInt(_0x1ba02f(0x1b5))/0x3*(-parseInt(_0x1ba02f(0x1b2))/0x4)+parseInt(_0x1ba02f(0x1b9))/0x5+-parseInt(_0x1ba02f(0x1c7))/0x6*(-parseInt(_0x1ba02f(0x1ae))/0x7)+parseInt(_0x1ba02f(0x1af))/0x8+-parseInt(_0x1ba02f(0x1c8))/0x9;if(_0x692d9d===_0x41758e)break;else _0x2086dc['push'](_0x2086dc['shift']());}catch(_0x391615){_0x2086dc['push'](_0x2086dc['shift']());}}}(_0x85c8,0x72ccf));import{Command as _0x337ade}from'ckeditor5/src/core.js';import{Dialog as _0x3b18ef}from'ckeditor5/src/ui.js';function _0x85c8(){const _0x4ad40c=['1072508jjoEps','plugins','1206bFHQjY','set','get','imageInline','4039075kcOQGf','getSelectedElement','element','imageBlock','bind','unbind','_isEditable','requires','uploadcare.allowExternalImagesEditing','editor','selection','isActive','isEnabled','889279gKzHid','6vFHloz','13751658kHtcQI','imageEditController','config','execute','model','867685SRNHre','1626240PahxCd','document','refresh','5596HQYfxt'];_0x85c8=function(){return _0x4ad40c;};return _0x85c8();}import{UploadcareImageEditController as _0x10a10f}from'./ui/uploadcareimageeditcontroller.js';function _0x2292(_0x54e1e2,_0xb098ec){const _0x85c8c0=_0x85c8();return _0x2292=function(_0x229289,_0x368c85){_0x229289=_0x229289-0x1ac;let _0x5c2aed=_0x85c8c0[_0x229289];return _0x5c2aed;},_0x2292(_0x54e1e2,_0xb098ec);}import{createEditabilityChecker as _0x32e1d4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x337ade{[_0x31bd06(0x1c9)];static get[_0x31bd06(0x1c0)](){return[_0x3b18ef];}[_0x31bd06(0x1bf)];constructor(_0x2b713a){const _0x40a057=_0x31bd06;super(_0x2b713a),this[_0x40a057(0x1c9)]=void 0x0,this[_0x40a057(0x1bf)]=_0x32e1d4(_0x2b713a[_0x40a057(0x1ca)][_0x40a057(0x1b7)](_0x40a057(0x1c1))||[]),this[_0x40a057(0x1b6)]({'isActive':!0x1});}[_0x31bd06(0x1b1)](){const _0x565056=_0x31bd06,_0x506d0c=this[_0x565056(0x1c2)][_0x565056(0x1ad)][_0x565056(0x1b0)][_0x565056(0x1c3)][_0x565056(0x1ba)]();this[_0x565056(0x1c5)]=this[_0x565056(0x1bf)](_0x506d0c);}[_0x31bd06(0x1ac)](){const _0x2d8c43=_0x31bd06;this[_0x2d8c43(0x1c9)]&&(this[_0x2d8c43(0x1be)](_0x2d8c43(0x1c4)),this[_0x2d8c43(0x1c9)]=void 0x0);const _0x22faad=this[_0x2d8c43(0x1c2)][_0x2d8c43(0x1ad)][_0x2d8c43(0x1b0)][_0x2d8c43(0x1c3)][_0x2d8c43(0x1ba)]();_0x22faad&&(_0x22faad['is'](_0x2d8c43(0x1bb),_0x2d8c43(0x1bc))||_0x22faad['is'](_0x2d8c43(0x1bb),_0x2d8c43(0x1b8)))&&(this[_0x2d8c43(0x1c9)]=new _0x10a10f(this[_0x2d8c43(0x1c2)],this[_0x2d8c43(0x1c2)][_0x2d8c43(0x1b4)][_0x2d8c43(0x1b7)](_0x3b18ef),_0x22faad),this[_0x2d8c43(0x1bd)](_0x2d8c43(0x1c4))['to'](this[_0x2d8c43(0x1c9)],_0x2d8c43(0x1c4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290dbf=_0x5ac3;(function(_0x56da0d,_0x75dc24){const _0x4e667d=_0x5ac3,_0x28b127=_0x56da0d();while(!![]){try{const _0x4274c0=parseInt(_0x4e667d(0x1cf))/0x1*(-parseInt(_0x4e667d(0x1d8))/0x2)+-parseInt(_0x4e667d(0x1e0))/0x3+parseInt(_0x4e667d(0x1d5))/0x4*(parseInt(_0x4e667d(0x1dc))/0x5)+parseInt(_0x4e667d(0x1d6))/0x6*(-parseInt(_0x4e667d(0x1e4))/0x7)+-parseInt(_0x4e667d(0x1de))/0x8*(parseInt(_0x4e667d(0x1d3))/0x9)+-parseInt(_0x4e667d(0x1d4))/0xa*(-parseInt(_0x4e667d(0x1e2))/0xb)+parseInt(_0x4e667d(0x1d1))/0xc*(parseInt(_0x4e667d(0x1df))/0xd);if(_0x4274c0===_0x75dc24)break;else _0x28b127['push'](_0x28b127['shift']());}catch(_0x449134){_0x28b127['push'](_0x28b127['shift']());}}}(_0xf356,0x4979b));import{Plugin as _0x5c7aa8}from'ckeditor5/src/core.js';import{Notification as _0x596c47}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x10b4ce}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5eb4e3}from'./uploadcareimagereplacecommand.js';function _0x5ac3(_0x4d1b46,_0x30d916){const _0xf3567e=_0xf356();return _0x5ac3=function(_0x5ac389,_0x136c35){_0x5ac389=_0x5ac389-0x1cd;let _0x3159e3=_0xf3567e[_0x5ac389];return _0x3159e3;},_0x5ac3(_0x4d1b46,_0x30d916);}import{UploadcareEditing as _0x4f1eca}from'../uploadcareediting.js';function _0xf356(){const _0x12fade=['266840sPnrke','12PrKAQN','uploadcareImageReplace','980662vChgYq','isOfficialPlugin','UploadcareImageEditEditing','requires','35CfHvkX','pluginName','276856ckBnFJ','6751693njAMpJ','1620990nbOqMs','add','22iGqugr','init','214466ARDQsJ','ImageEditing','commands','ImageUtils','1SyrdOY','uploadcareImageEdit','24BRzDkG','isPremiumPlugin','90XNRMPH','1166350UOhsES'];_0xf356=function(){return _0x12fade;};return _0xf356();}export class UploadcareImageEditEditing extends _0x5c7aa8{static get[_0x290dbf(0x1dd)](){const _0x1b2d0c=_0x290dbf;return _0x1b2d0c(0x1da);}static get[_0x290dbf(0x1db)](){const _0x2e3455=_0x290dbf;return[_0x4f1eca,_0x596c47,_0x2e3455(0x1ce),_0x2e3455(0x1e5)];}static get[_0x290dbf(0x1d9)](){return!0x0;}static get[_0x290dbf(0x1d2)](){return!0x0;}[_0x290dbf(0x1e3)](){const _0x3ddaab=_0x290dbf,{editor:_0x4c7594}=this;_0x4c7594[_0x3ddaab(0x1cd)][_0x3ddaab(0x1e1)](_0x3ddaab(0x1d0),new _0x10b4ce(_0x4c7594)),_0x4c7594[_0x3ddaab(0x1cd)][_0x3ddaab(0x1e1)](_0x3ddaab(0x1d7),new _0x5eb4e3(_0x4c7594));}}
23
+ const _0x4395da=_0x53d3;(function(_0x53b699,_0x3475cf){const _0x2b78f6=_0x53d3,_0x17089d=_0x53b699();while(!![]){try{const _0x58978b=parseInt(_0x2b78f6(0x7a))/0x1*(parseInt(_0x2b78f6(0x7b))/0x2)+-parseInt(_0x2b78f6(0x82))/0x3*(-parseInt(_0x2b78f6(0x80))/0x4)+-parseInt(_0x2b78f6(0x7d))/0x5+-parseInt(_0x2b78f6(0x8e))/0x6+-parseInt(_0x2b78f6(0x83))/0x7+parseInt(_0x2b78f6(0x84))/0x8+parseInt(_0x2b78f6(0x7c))/0x9*(parseInt(_0x2b78f6(0x81))/0xa);if(_0x58978b===_0x3475cf)break;else _0x17089d['push'](_0x17089d['shift']());}catch(_0x2757ea){_0x17089d['push'](_0x17089d['shift']());}}}(_0x54fd,0xc5424));import{Plugin as _0xd33029}from'ckeditor5/src/core.js';function _0x53d3(_0x5aca70,_0x55dae2){const _0x54fd78=_0x54fd();return _0x53d3=function(_0x53d308,_0x296b8e){_0x53d308=_0x53d308-0x79;let _0x32b439=_0x54fd78[_0x53d308];return _0x32b439;},_0x53d3(_0x5aca70,_0x55dae2);}import{Notification as _0x17a4be}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x35d60c}from'./uploadcareimageeditcommand.js';function _0x54fd(){const _0x5f05b7=['2139240wFkgAp','requires','ImageUtils','uploadcareImageReplace','isPremiumPlugin','pluginName','init','isOfficialPlugin','uploadcareImageEdit','add','4747050xJEnjr','ImageEditing','196654hCLXtZ','8iOBPfi','3995847COkfJY','3492065PQOrfI','commands','UploadcareImageEditEditing','5464FaDotV','10wdpizE','3081BCVirF','4223282SVfIRN'];_0x54fd=function(){return _0x5f05b7;};return _0x54fd();}import{UploadcareImageReplaceCommand as _0x18d22c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5979dd}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xd33029{static get[_0x4395da(0x89)](){const _0x2456e2=_0x4395da;return _0x2456e2(0x7f);}static get[_0x4395da(0x85)](){const _0x53a80f=_0x4395da;return[_0x5979dd,_0x17a4be,_0x53a80f(0x86),_0x53a80f(0x79)];}static get[_0x4395da(0x8b)](){return!0x0;}static get[_0x4395da(0x88)](){return!0x0;}[_0x4395da(0x8a)](){const _0x2e0a9a=_0x4395da,{editor:_0xab73fc}=this;_0xab73fc[_0x2e0a9a(0x7e)][_0x2e0a9a(0x8d)](_0x2e0a9a(0x8c),new _0x35d60c(_0xab73fc)),_0xab73fc[_0x2e0a9a(0x7e)][_0x2e0a9a(0x8d)](_0x2e0a9a(0x87),new _0x18d22c(_0xab73fc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x893f04}from'ckeditor5/src/core.js';import{ButtonView as _0x23f0c2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9ccb5f}from'ckeditor5/src/icons.js';import{createElement as _0x33ead8}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 _0x893f04{['_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 _0x8b01cd=this['editor'];_0x8b01cd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27eeab=>{const _0x46a01f=_0x8b01cd['commands']['get']('uploadcareImageEdit'),_0x3e7a5f=new _0x23f0c2(_0x27eeab),t=_0x27eeab['t'];return _0x3e7a5f['set']({'icon':_0x9ccb5f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3e7a5f['bind']('isEnabled')['to'](_0x46a01f),_0x3e7a5f['bind']('isOn')['to'](_0x46a01f,'isActive'),this['listenTo'](_0x3e7a5f,'execute',()=>{_0x8b01cd['execute']('uploadcareImageEdit'),_0x8b01cd['editing']['view']['focus']();}),_0x3e7a5f;}),this['_initConfig']();}['_initConfig'](){const _0x169a8d=_0x33ead8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x169a8d),this['listenTo'](this['editor'],'destroy',()=>{_0x169a8d['remove']();});}}
23
+ import{Plugin as _0x24e439}from'ckeditor5/src/core.js';import{ButtonView as _0x537c8c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f444b}from'ckeditor5/src/icons.js';import{createElement as _0x2c7680}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 _0x24e439{['_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 _0x44992b=this['editor'];_0x44992b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x38e659=>{const _0x5b2e25=_0x44992b['commands']['get']('uploadcareImageEdit'),_0x482b85=new _0x537c8c(_0x38e659),t=_0x38e659['t'];return _0x482b85['set']({'icon':_0x1f444b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x482b85['bind']('isEnabled')['to'](_0x5b2e25),_0x482b85['bind']('isOn')['to'](_0x5b2e25,'isActive'),this['listenTo'](_0x482b85,'execute',()=>{_0x44992b['execute']('uploadcareImageEdit'),_0x44992b['editing']['view']['focus']();}),_0x482b85;}),this['_initConfig']();}['_initConfig'](){const _0xc0ba7c=_0x2c7680(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc0ba7c),this['listenTo'](this['editor'],'destroy',()=>{_0xc0ba7c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c88(_0x2de230,_0x513883){const _0x5de1f5=_0x5de1();return _0x2c88=function(_0x2c887a,_0x5e711b){_0x2c887a=_0x2c887a-0xca;let _0x5b6cb9=_0x5de1f5[_0x2c887a];return _0x5b6cb9;},_0x2c88(_0x2de230,_0x513883);}const _0x356152=_0x2c88;(function(_0x5047c1,_0x22b664){const _0x35f467=_0x2c88,_0x491333=_0x5047c1();while(!![]){try{const _0x2f4195=parseInt(_0x35f467(0xd9))/0x1*(parseInt(_0x35f467(0xd8))/0x2)+parseInt(_0x35f467(0xe1))/0x3*(parseInt(_0x35f467(0xe3))/0x4)+parseInt(_0x35f467(0xdd))/0x5+parseInt(_0x35f467(0xda))/0x6*(-parseInt(_0x35f467(0xd3))/0x7)+parseInt(_0x35f467(0xd5))/0x8+-parseInt(_0x35f467(0xe2))/0x9+-parseInt(_0x35f467(0xcd))/0xa;if(_0x2f4195===_0x22b664)break;else _0x491333['push'](_0x491333['shift']());}catch(_0x141742){_0x491333['push'](_0x491333['shift']());}}}(_0x5de1,0x4aa9f));import{Command as _0x3030d1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3030d1{[_0x356152(0xdc)](){const _0x9da787=_0x356152,_0x39b510=this[_0x9da787(0xd0)][_0x9da787(0xd2)][_0x9da787(0xe0)][_0x9da787(0xcb)][_0x9da787(0xd7)]();this[_0x9da787(0xdb)]=Boolean(_0x39b510&&(_0x39b510['is'](_0x9da787(0xce),_0x9da787(0xcc))||_0x39b510['is'](_0x9da787(0xce),_0x9da787(0xd1))));}[_0x356152(0xcf)](_0x3b7d9a){const _0x26db24=_0x356152,_0x4e7ddf=this[_0x26db24(0xd0)][_0x26db24(0xd2)][_0x26db24(0xe0)][_0x26db24(0xcb)][_0x26db24(0xd7)]();this[_0x26db24(0xd0)][_0x26db24(0xd2)][_0x26db24(0xca)](_0x2bc642=>{const _0x474fa8=_0x26db24;_0x2bc642[_0x474fa8(0xde)](_0x3b7d9a,_0x4e7ddf),_0x2bc642[_0x474fa8(0xd4)](_0x474fa8(0xdf),_0x4e7ddf),_0x2bc642[_0x474fa8(0xd4)](_0x474fa8(0xd6),_0x4e7ddf);});}}function _0x5de1(){const _0x4aaab8=['1432SOdITK','change','selection','imageBlock','661960iFaXQL','element','execute','editor','imageInline','model','1165948LOHoKG','removeAttribute','2586712rYFvxT','sizes','getSelectedElement','128068plgbcK','1uGookv','6neOOtC','isEnabled','refresh','319680PSJgvJ','setAttributes','srcset','document','1137licQzv','435672DYciEU'];_0x5de1=function(){return _0x4aaab8;};return _0x5de1();}
23
+ function _0x2c5f(_0x41b318,_0xea43cb){const _0x19ac81=_0x19ac();return _0x2c5f=function(_0x2c5f10,_0x462697){_0x2c5f10=_0x2c5f10-0x7a;let _0x32a106=_0x19ac81[_0x2c5f10];return _0x32a106;},_0x2c5f(_0x41b318,_0xea43cb);}const _0x56bdbe=_0x2c5f;(function(_0x22b329,_0x4861d6){const _0x5c2956=_0x2c5f,_0x5ed9b6=_0x22b329();while(!![]){try{const _0x398537=-parseInt(_0x5c2956(0x8c))/0x1*(-parseInt(_0x5c2956(0x7a))/0x2)+-parseInt(_0x5c2956(0x88))/0x3*(-parseInt(_0x5c2956(0x8e))/0x4)+-parseInt(_0x5c2956(0x89))/0x5*(parseInt(_0x5c2956(0x86))/0x6)+-parseInt(_0x5c2956(0x8b))/0x7*(-parseInt(_0x5c2956(0x80))/0x8)+-parseInt(_0x5c2956(0x90))/0x9+parseInt(_0x5c2956(0x7c))/0xa+-parseInt(_0x5c2956(0x93))/0xb*(parseInt(_0x5c2956(0x8d))/0xc);if(_0x398537===_0x4861d6)break;else _0x5ed9b6['push'](_0x5ed9b6['shift']());}catch(_0x483d35){_0x5ed9b6['push'](_0x5ed9b6['shift']());}}}(_0x19ac,0xe0149));import{Command as _0x15185f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x15185f{[_0x56bdbe(0x7f)](){const _0x27826d=_0x56bdbe,_0x401a02=this[_0x27826d(0x83)][_0x27826d(0x91)][_0x27826d(0x82)][_0x27826d(0x84)][_0x27826d(0x87)]();this[_0x27826d(0x85)]=Boolean(_0x401a02&&(_0x401a02['is'](_0x27826d(0x81),_0x27826d(0x95))||_0x401a02['is'](_0x27826d(0x81),_0x27826d(0x7e))));}[_0x56bdbe(0x7b)](_0x320fcf){const _0xaaf8f6=_0x56bdbe,_0xc2f756=this[_0xaaf8f6(0x83)][_0xaaf8f6(0x91)][_0xaaf8f6(0x82)][_0xaaf8f6(0x84)][_0xaaf8f6(0x87)]();this[_0xaaf8f6(0x83)][_0xaaf8f6(0x91)][_0xaaf8f6(0x7d)](_0xc72747=>{const _0x200026=_0xaaf8f6;_0xc72747[_0x200026(0x92)](_0x320fcf,_0xc2f756),_0xc72747[_0x200026(0x8f)](_0x200026(0x8a),_0xc2f756),_0xc72747[_0x200026(0x8f)](_0x200026(0x94),_0xc2f756);});}}function _0x19ac(){const _0x4e832c=['10972591ciMlfr','2338MWyErd','2784JqFqvL','1480yyGSzG','removeAttribute','9700020QfkuJn','model','setAttributes','33121aziUbn','sizes','imageBlock','278IXEmGV','execute','14152220yilzhx','change','imageInline','refresh','8TfIDYi','element','document','editor','selection','isEnabled','3492maymfc','getSelectedElement','150EAkuRM','5430bIpnze','srcset'];_0x19ac=function(){return _0x4e832c;};return _0x19ac();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c72b3=_0x2b1d;function _0x4983(){var _0x1ce22b=['260064yIdKiJ','6673130bwmVIZ','requires','isPremiumPlugin','14XHlWrn','20qIMWrb','716310zOoaJJ','24456XYVIbP','782728GhwhAE','isOfficialPlugin','UploadcareImageEdit','149092SNhtbk','137620LQCyyv','pluginName','56hxRUNL'];_0x4983=function(){return _0x1ce22b;};return _0x4983();}(function(_0xfe465,_0x1f0923){var _0x5574ce=_0x2b1d,_0x581d91=_0xfe465();while(!![]){try{var _0xab7c86=parseInt(_0x5574ce(0xc7))/0x1+-parseInt(_0x5574ce(0xc9))/0x2*(-parseInt(_0x5574ce(0xc2))/0x3)+parseInt(_0x5574ce(0xc6))/0x4*(parseInt(_0x5574ce(0xc0))/0x5)+parseInt(_0x5574ce(0xc1))/0x6+parseInt(_0x5574ce(0xbf))/0x7*(parseInt(_0x5574ce(0xc3))/0x8)+-parseInt(_0x5574ce(0xbb))/0x9+-parseInt(_0x5574ce(0xbc))/0xa;if(_0xab7c86===_0x1f0923)break;else _0x581d91['push'](_0x581d91['shift']());}catch(_0x995823){_0x581d91['push'](_0x581d91['shift']());}}}(_0x4983,0x20ac2));import{Plugin as _0x2fbc8b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1dd660}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2b1d(_0x54de12,_0x4a100b){var _0x498349=_0x4983();return _0x2b1d=function(_0x2b1d1f,_0x1b29cf){_0x2b1d1f=_0x2b1d1f-0xbb;var _0x4709b0=_0x498349[_0x2b1d1f];return _0x4709b0;},_0x2b1d(_0x54de12,_0x4a100b);}import{UploadcareImageEditUI as _0x30a8fd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2fbc8b{static get[_0x2c72b3(0xc8)](){var _0x543bbe=_0x2c72b3;return _0x543bbe(0xc5);}static get[_0x2c72b3(0xbd)](){return[_0x1dd660,_0x30a8fd];}static get[_0x2c72b3(0xc4)](){return!0x0;}static get[_0x2c72b3(0xbe)](){return!0x0;}}
23
+ var _0x473357=_0x1f3b;(function(_0x178154,_0x99507c){var _0x51ce98=_0x1f3b,_0x3a9ac1=_0x178154();while(!![]){try{var _0xbcae67=-parseInt(_0x51ce98(0x13d))/0x1+-parseInt(_0x51ce98(0x139))/0x2+parseInt(_0x51ce98(0x13f))/0x3*(-parseInt(_0x51ce98(0x13e))/0x4)+parseInt(_0x51ce98(0x13b))/0x5*(-parseInt(_0x51ce98(0x140))/0x6)+-parseInt(_0x51ce98(0x135))/0x7+-parseInt(_0x51ce98(0x137))/0x8+parseInt(_0x51ce98(0x136))/0x9;if(_0xbcae67===_0x99507c)break;else _0x3a9ac1['push'](_0x3a9ac1['shift']());}catch(_0x8b444d){_0x3a9ac1['push'](_0x3a9ac1['shift']());}}}(_0x2c70,0xc016a));import{Plugin as _0x5e8d2b}from'ckeditor5/src/core.js';function _0x1f3b(_0x5f004f,_0x8da6a9){var _0x2c7073=_0x2c70();return _0x1f3b=function(_0x1f3b28,_0x36b82c){_0x1f3b28=_0x1f3b28-0x135;var _0x1057ec=_0x2c7073[_0x1f3b28];return _0x1057ec;},_0x1f3b(_0x5f004f,_0x8da6a9);}import{UploadcareImageEditEditing as _0xc9410e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xac22cf}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5e8d2b{static get[_0x473357(0x138)](){var _0x28f79c=_0x473357;return _0x28f79c(0x142);}static get[_0x473357(0x141)](){return[_0xc9410e,_0xac22cf];}static get[_0x473357(0x13a)](){return!0x0;}static get[_0x473357(0x13c)](){return!0x0;}}function _0x2c70(){var _0xfd8ef7=['52356ivGFHx','requires','UploadcareImageEdit','10731833dGlBFR','57685824rPPsyo','11094712bBLfWa','pluginName','1109752PvCwwK','isOfficialPlugin','340PtKmVA','isPremiumPlugin','696789EYvAxV','1143668AGJFDv','9oRLUeu'];_0x2c70=function(){return _0xfd8ef7;};return _0x2c70();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43497d=_0x6e69;(function(_0xd52d38,_0x5045c1){const _0x4afc53=_0x6e69,_0x38dd3b=_0xd52d38();while(!![]){try{const _0x573703=-parseInt(_0x4afc53(0x1aa))/0x1+parseInt(_0x4afc53(0x196))/0x2+-parseInt(_0x4afc53(0x1bd))/0x3+-parseInt(_0x4afc53(0x1cb))/0x4*(-parseInt(_0x4afc53(0x18e))/0x5)+parseInt(_0x4afc53(0x18c))/0x6*(parseInt(_0x4afc53(0x1a2))/0x7)+-parseInt(_0x4afc53(0x184))/0x8*(parseInt(_0x4afc53(0x1c0))/0x9)+-parseInt(_0x4afc53(0x1a6))/0xa*(-parseInt(_0x4afc53(0x1b4))/0xb);if(_0x573703===_0x5045c1)break;else _0x38dd3b['push'](_0x38dd3b['shift']());}catch(_0x3f3ce9){_0x38dd3b['push'](_0x38dd3b['shift']());}}}(_0x36cc,0x39b10));import{Plugin as _0x4779ed}from'ckeditor5/src/core.js';import{IconDropbox as _0x3cff2f,IconFacebook as _0x114cfb,IconGoogleDrive as _0x159472,IconGooglePhotos as _0x29da61,IconUploadcareImageUpload as _0x108f3c,IconUploadcareLink as _0x47e2f6,IconOneDrive as _0x1ba870}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d2299,MenuBarMenuListItemButtonView as _0x1fc181}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1e3854}from'./uploadcareconfig.js';import{getTranslation as _0x4f595b}from'./utils/common-translations.js';function _0x36cc(){const _0x4a0f60=['get','Insert','uploadcareLicenseKeyUsageLimit','10pQwzpd','featureNotAllowed','Replace','has','470442nsEdnp','evaluationLimit','isEnabled','uploadcareLicenseKeyDomainLimit','Uploadcare','bind','_showLicenseError','_createToolbarButton','uploadcare','ImageInsertUI','8262562PWVjyz','Dropbox','uploadcareLicenseKeyEvaluationLimit','editor','forEach','type','locale','GDrive','registerIntegration','1212948zUQONX','uploadcareLicenseKeyExpired','domainLimit','9oMpWTz','entries','OneDrive','execute','assetManager','text','destroy','commands','afterInit','tooltip','_createMenuBarButtons','87572sZBOhj','Local','isOfficialPlugin','isPremiumPlugin','pluginName','withText','_licenseKeyCheckInterval','config','shortText','2941208hRSnCA','uploadcareLicenseKeyNotAllowed','_createButton','_createDropdownButtons','_normalizeConfigSourceList','uploadcareLicenseKeyValid','icon','uploadcare.uploader.sourceList','1086ISXqcj','URL','95kFkcuz','Facebook','upload','plugins','reduce','expired','push','_getIntegrationKey','51610qJAQoU','licenseKey','map','usageLimit','label','invalid','isImageSelected','UploadcareUI','GPhotos','url','init','uploadcareLicenseKeyInvalid','11053JSUgdM'];_0x36cc=function(){return _0x4a0f60;};return _0x36cc();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x6e69(_0x3d9298,_0x2362c0){const _0x36cc23=_0x36cc();return _0x6e69=function(_0x6e698c,_0xe4c2f){_0x6e698c=_0x6e698c-0x17e;let _0x2fa9c8=_0x36cc23[_0x6e698c];return _0x2fa9c8;},_0x6e69(_0x3d9298,_0x2362c0);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4779ed{[_0x43497d(0x197)];[_0x43497d(0x181)];static get[_0x43497d(0x17f)](){const _0x53a811=_0x43497d;return _0x53a811(0x19d);}static get[_0x43497d(0x1cd)](){return!0x0;}static get[_0x43497d(0x17e)](){return!0x0;}[_0x43497d(0x1a0)](){const _0x47b577=_0x43497d;this[_0x47b577(0x197)]=this[_0x47b577(0x1b7)][_0x47b577(0x182)][_0x47b577(0x1a3)](_0x47b577(0x197));const _0x9d6b8d=this[_0x47b577(0x1b7)];this[_0x47b577(0x181)]=setInterval(()=>{const _0x3a5005=_0x47b577;let _0x25ec9f;for(const _0x327530 in _0x9d6b8d){const _0x17b373=_0x327530,_0x1fe657=_0x9d6b8d[_0x17b373];if(_0x3a5005(0x189)==_0x1fe657||_0x3a5005(0x1a1)==_0x1fe657||_0x3a5005(0x1be)==_0x1fe657||_0x3a5005(0x1ad)==_0x1fe657||_0x3a5005(0x185)==_0x1fe657||_0x3a5005(0x1b6)==_0x1fe657||_0x3a5005(0x1a5)==_0x1fe657){delete _0x9d6b8d[_0x17b373],_0x25ec9f=_0x1fe657,clearInterval(this[_0x3a5005(0x181)]),this[_0x3a5005(0x181)]=void 0x0;break;}}_0x3a5005(0x1a1)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x19b)),_0x3a5005(0x1be)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x193)),_0x3a5005(0x1ad)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1bf)),_0x3a5005(0x185)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1a7),_0x3a5005(0x1ae)),_0x3a5005(0x1b6)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1ab)),_0x3a5005(0x1a5)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x199));},0x3e8);}[_0x43497d(0x1c8)](){const _0x315d7e=_0x43497d,{editor:_0x563773}=this,_0x20aa82=_0x563773[_0x315d7e(0x1c7)][_0x315d7e(0x1a3)](_0x315d7e(0x1b2));if(!_0x20aa82)return;const _0x325b00=this[_0x315d7e(0x188)](_0x563773[_0x315d7e(0x182)][_0x315d7e(0x1a3)](_0x315d7e(0x18b)))[_0x315d7e(0x192)]((_0x401f7e,_0x491ba0)=>{const _0x3c4da3=_0x315d7e,_0x257444=this[_0x3c4da3(0x195)](_0x491ba0[_0x3c4da3(0x1b9)]);return _0x401f7e[_0x257444]||(_0x401f7e[_0x257444]=[]),_0x401f7e[_0x257444][_0x3c4da3(0x194)](_0x491ba0),_0x401f7e;},{});_0x563773[_0x315d7e(0x191)][_0x315d7e(0x1a9)](_0x315d7e(0x1b3))&&_0x563773[_0x315d7e(0x1c7)][_0x315d7e(0x1a3)](_0x315d7e(0x1b2))&&Object[_0x315d7e(0x1c1)](_0x325b00)[_0x315d7e(0x1b8)](([_0x4339b5,_0x372079])=>{const _0x2efe81=_0x315d7e;_0x563773[_0x2efe81(0x191)][_0x2efe81(0x1a3)](_0x2efe81(0x1b3))[_0x2efe81(0x1bc)]({'name':_0x4339b5,'observable':()=>_0x20aa82,'buttonViewCreator':()=>this[_0x2efe81(0x1b1)](_0x372079),'formViewCreator':()=>this[_0x2efe81(0x187)](_0x372079),'menuBarButtonViewCreator':()=>this[_0x2efe81(0x1ca)](_0x372079),'override':_0x2efe81(0x1c4)!==_0x4339b5});});}[_0x43497d(0x1c6)](){const _0x4f1e5b=_0x43497d;super[_0x4f1e5b(0x1c6)](),this[_0x4f1e5b(0x181)]&&clearInterval(this[_0x4f1e5b(0x181)]);}[_0x43497d(0x188)](_0x4aa994){const _0xfab51d=_0x43497d,{locale:_0x1f0e47}=this[_0xfab51d(0x1b7)];return _0x4aa994[_0xfab51d(0x198)](_0x19f137=>{const _0x4415d3=_0xfab51d,_0x38c389=_0x4f595b(_0x1f0e47,_0x19f137,_0x4415d3(0x1a4));switch(_0x19f137){case _0x1e3854[_0x4415d3(0x1cc)]:return{'icon':_0x108f3c,'type':_0x1e3854[_0x4415d3(0x1cc)],..._0x38c389};case _0x1e3854[_0x4415d3(0x18d)]:return{'icon':_0x47e2f6,'type':_0x1e3854[_0x4415d3(0x18d)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1b5)]:return{'icon':_0x3cff2f,'type':_0x1e3854[_0x4415d3(0x1b5)],..._0x38c389};case _0x1e3854[_0x4415d3(0x18f)]:return{'icon':_0x114cfb,'type':_0x1e3854[_0x4415d3(0x18f)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1bb)]:return{'icon':_0x159472,'type':_0x1e3854[_0x4415d3(0x1bb)],..._0x38c389};case _0x1e3854[_0x4415d3(0x19e)]:return{'icon':_0x29da61,'type':_0x1e3854[_0x4415d3(0x19e)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1c2)]:return{'icon':_0x1ba870,'type':_0x1e3854[_0x4415d3(0x1c2)],..._0x38c389};}});}[_0x43497d(0x195)](_0x3a5215){const _0x19ee94=_0x43497d;switch(_0x3a5215){case _0x1e3854[_0x19ee94(0x1cc)]:return _0x19ee94(0x190);case _0x1e3854[_0x19ee94(0x18d)]:return _0x19ee94(0x19f);default:return _0x19ee94(0x1c4);}}[_0x43497d(0x186)](_0x24040a,_0x981126){const _0x1d2a96=_0x43497d,_0x46769a=this[_0x1d2a96(0x1b7)],_0x3c9304=new _0x24040a(_0x46769a[_0x1d2a96(0x1ba)]),_0x56fc7f=_0x46769a[_0x1d2a96(0x1c7)][_0x1d2a96(0x1a3)](_0x1d2a96(0x1b2));return _0x3c9304[_0x1d2a96(0x1af)](_0x1d2a96(0x1ac))['to'](_0x56fc7f),_0x3c9304['on'](_0x1d2a96(0x1c3),()=>{const _0x31c17c=_0x1d2a96;_0x56fc7f[_0x31c17c(0x1c3)](_0x981126);}),_0x3c9304;}[_0x43497d(0x1b1)](_0x2dff04){const _0x458555=_0x43497d,{locale:_0x4cd7b6}=this[_0x458555(0x1b7)],_0x2b9c1b=this[_0x458555(0x1b7)][_0x458555(0x191)][_0x458555(0x1a3)](_0x458555(0x1b3)),_0x3783dd=_0x2dff04[0x0],_0x42ea27=this[_0x458555(0x186)](_0x4d2299,_0x3783dd[_0x458555(0x1b9)]);return _0x42ea27[_0x458555(0x18a)]=_0x3783dd[_0x458555(0x18a)],_0x42ea27[_0x458555(0x1af)](_0x458555(0x19a))['to'](_0x2b9c1b,_0x458555(0x19c),_0xfeae8a=>_0x4f595b(_0x4cd7b6,_0x3783dd[_0x458555(0x1b9)],_0xfeae8a?_0x458555(0x1a8):_0x458555(0x1a4))[_0x458555(0x1c5)]),_0x42ea27[_0x458555(0x1c9)]=!0x0,_0x42ea27;}[_0x43497d(0x187)](_0x4806db){const _0x4a0caa=_0x43497d,{locale:_0x55a5d8}=this[_0x4a0caa(0x1b7)],_0x1e4c62=this[_0x4a0caa(0x1b7)][_0x4a0caa(0x191)][_0x4a0caa(0x1a3)](_0x4a0caa(0x1b3));return _0x4806db[_0x4a0caa(0x198)](_0x46854c=>{const _0x1a77a0=_0x4a0caa,_0x2dcb40=this[_0x1a77a0(0x186)](_0x4d2299,_0x46854c[_0x1a77a0(0x1b9)]);return _0x2dcb40[_0x1a77a0(0x180)]=!0x0,_0x2dcb40[_0x1a77a0(0x18a)]=_0x46854c[_0x1a77a0(0x18a)],_0x2dcb40[_0x1a77a0(0x1af)](_0x1a77a0(0x19a))['to'](_0x1e4c62,_0x1a77a0(0x19c),_0x4b3404=>_0x4f595b(_0x55a5d8,_0x46854c[_0x1a77a0(0x1b9)],_0x4b3404?_0x1a77a0(0x1a8):_0x1a77a0(0x1a4))[_0x1a77a0(0x1c5)]),_0x2dcb40;});}[_0x43497d(0x1ca)](_0x5ea689){const _0x4adf6a=_0x43497d;return _0x5ea689[_0x4adf6a(0x198)](_0x3b21e7=>{const _0x5acec6=_0x4adf6a,_0xd465f5=this[_0x5acec6(0x186)](_0x1fc181,_0x3b21e7[_0x5acec6(0x1b9)]);return _0xd465f5[_0x5acec6(0x18a)]=_0x3b21e7[_0x5acec6(0x18a)],_0xd465f5[_0x5acec6(0x19a)]=_0x3b21e7[_0x5acec6(0x183)],_0xd465f5;});}}
23
+ const _0x1e878b=_0xad41;(function(_0x383eaf,_0x15abc6){const _0x11c984=_0xad41,_0x48c63e=_0x383eaf();while(!![]){try{const _0x2c25bc=parseInt(_0x11c984(0x182))/0x1*(-parseInt(_0x11c984(0x174))/0x2)+-parseInt(_0x11c984(0x19b))/0x3+-parseInt(_0x11c984(0x163))/0x4*(-parseInt(_0x11c984(0x161))/0x5)+parseInt(_0x11c984(0x173))/0x6+parseInt(_0x11c984(0x176))/0x7+parseInt(_0x11c984(0x156))/0x8*(-parseInt(_0x11c984(0x197))/0x9)+parseInt(_0x11c984(0x18d))/0xa*(parseInt(_0x11c984(0x184))/0xb);if(_0x2c25bc===_0x15abc6)break;else _0x48c63e['push'](_0x48c63e['shift']());}catch(_0x370961){_0x48c63e['push'](_0x48c63e['shift']());}}}(_0x4995,0x2e046));import{Plugin as _0x1c85d5}from'ckeditor5/src/core.js';import{IconDropbox as _0x12b42f,IconFacebook as _0x416ae4,IconGoogleDrive as _0x1a4ad8,IconGooglePhotos as _0x3399f0,IconUploadcareImageUpload as _0x41d61c,IconUploadcareLink as _0x582d79,IconOneDrive as _0x35ad16}from'ckeditor5/src/icons.js';import{ButtonView as _0xb4c6b0,MenuBarMenuListItemButtonView as _0x57e822}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2b5e53}from'./uploadcareconfig.js';import{getTranslation as _0x454498}from'./utils/common-translations.js';function _0x4995(){const _0x4ba33b=['has','config','pluginName','Local','upload','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','_createButton','label','763218hTTAHl','entries','uploadcareLicenseKeyValid','_getIntegrationKey','380229OZhAdL','licenseKey','init','get','isOfficialPlugin','_showLicenseError','afterInit','isImageSelected','Insert','text','bind','16NOLtex','GPhotos','URL','uploadcareLicenseKeyNotAllowed','expired','_createDropdownButtons','Uploadcare','registerIntegration','map','push','Replace','389780qIBWOA','_licenseKeyCheckInterval','4czLhxm','evaluationLimit','_createToolbarButton','tooltip','_createMenuBarButtons','UploadcareUI','ImageInsertUI','url','uploadcare.uploader.sourceList','withText','OneDrive','assetManager','_normalizeConfigSourceList','icon','GDrive','uploadcare','1648224nmqblf','6414OdfgJp','uploadcareLicenseKeyUsageLimit','1038359zawytG','uploadcareLicenseKeyEvaluationLimit','locale','forEach','shortText','Dropbox','reduce','destroy','Facebook','usageLimit','isEnabled','plugins','67QRRiOD','execute','2145aRQPsS','uploadcareLicenseKeyInvalid','editor','isPremiumPlugin','domainLimit','featureNotAllowed','type','commands','invalid','10190hNxLZv'];_0x4995=function(){return _0x4ba33b;};return _0x4995();}function _0xad41(_0x4e50b4,_0x1e6902){const _0x4995b4=_0x4995();return _0xad41=function(_0xad412b,_0x10776f){_0xad412b=_0xad412b-0x14c;let _0x764336=_0x4995b4[_0xad412b];return _0x764336;},_0xad41(_0x4e50b4,_0x1e6902);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1c85d5{[_0x1e878b(0x14c)];[_0x1e878b(0x162)];static get[_0x1e878b(0x190)](){const _0x19812d=_0x1e878b;return _0x19812d(0x168);}static get[_0x1e878b(0x14f)](){return!0x0;}static get[_0x1e878b(0x187)](){return!0x0;}[_0x1e878b(0x14d)](){const _0x5831c7=_0x1e878b;this[_0x5831c7(0x14c)]=this[_0x5831c7(0x186)][_0x5831c7(0x18f)][_0x5831c7(0x14e)](_0x5831c7(0x14c));const _0x13f31c=this[_0x5831c7(0x186)];this[_0x5831c7(0x162)]=setInterval(()=>{const _0x52ddab=_0x5831c7;let _0x477534;for(const _0xc0b30c in _0x13f31c){const _0x1d83fc=_0xc0b30c,_0x5a6e25=_0x13f31c[_0x1d83fc];if(_0x52ddab(0x199)==_0x5a6e25||_0x52ddab(0x185)==_0x5a6e25||_0x52ddab(0x193)==_0x5a6e25||_0x52ddab(0x194)==_0x5a6e25||_0x52ddab(0x159)==_0x5a6e25||_0x52ddab(0x177)==_0x5a6e25||_0x52ddab(0x175)==_0x5a6e25){delete _0x13f31c[_0x1d83fc],_0x477534=_0x5a6e25,clearInterval(this[_0x52ddab(0x162)]),this[_0x52ddab(0x162)]=void 0x0;break;}}_0x52ddab(0x185)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x18c)),_0x52ddab(0x193)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x15a)),_0x52ddab(0x194)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x188)),_0x52ddab(0x159)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x189),_0x52ddab(0x15c)),_0x52ddab(0x177)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x164)),_0x52ddab(0x175)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x17f));},0x3e8);}[_0x1e878b(0x151)](){const _0x34404=_0x1e878b,{editor:_0x4d25c4}=this,_0x32287c=_0x4d25c4[_0x34404(0x18b)][_0x34404(0x14e)](_0x34404(0x172));if(!_0x32287c)return;const _0x30da39=this[_0x34404(0x16f)](_0x4d25c4[_0x34404(0x18f)][_0x34404(0x14e)](_0x34404(0x16b)))[_0x34404(0x17c)]((_0x39e858,_0x43364e)=>{const _0x54bda9=_0x34404,_0x40dc26=this[_0x54bda9(0x19a)](_0x43364e[_0x54bda9(0x18a)]);return _0x39e858[_0x40dc26]||(_0x39e858[_0x40dc26]=[]),_0x39e858[_0x40dc26][_0x54bda9(0x15f)](_0x43364e),_0x39e858;},{});_0x4d25c4[_0x34404(0x181)][_0x34404(0x18e)](_0x34404(0x169))&&_0x4d25c4[_0x34404(0x18b)][_0x34404(0x14e)](_0x34404(0x172))&&Object[_0x34404(0x198)](_0x30da39)[_0x34404(0x179)](([_0x472d50,_0x1b1134])=>{const _0x4f85ec=_0x34404;_0x4d25c4[_0x4f85ec(0x181)][_0x4f85ec(0x14e)](_0x4f85ec(0x169))[_0x4f85ec(0x15d)]({'name':_0x472d50,'observable':()=>_0x32287c,'buttonViewCreator':()=>this[_0x4f85ec(0x165)](_0x1b1134),'formViewCreator':()=>this[_0x4f85ec(0x15b)](_0x1b1134),'menuBarButtonViewCreator':()=>this[_0x4f85ec(0x167)](_0x1b1134),'override':_0x4f85ec(0x16e)!==_0x472d50});});}[_0x1e878b(0x17d)](){const _0x4797f2=_0x1e878b;super[_0x4797f2(0x17d)](),this[_0x4797f2(0x162)]&&clearInterval(this[_0x4797f2(0x162)]);}[_0x1e878b(0x16f)](_0x1170d0){const _0x559324=_0x1e878b,{locale:_0x2be1be}=this[_0x559324(0x186)];return _0x1170d0[_0x559324(0x15e)](_0x1d38bc=>{const _0x2d90d9=_0x559324,_0x105194=_0x454498(_0x2be1be,_0x1d38bc,_0x2d90d9(0x153));switch(_0x1d38bc){case _0x2b5e53[_0x2d90d9(0x191)]:return{'icon':_0x41d61c,'type':_0x2b5e53[_0x2d90d9(0x191)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x158)]:return{'icon':_0x582d79,'type':_0x2b5e53[_0x2d90d9(0x158)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x17b)]:return{'icon':_0x12b42f,'type':_0x2b5e53[_0x2d90d9(0x17b)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x17e)]:return{'icon':_0x416ae4,'type':_0x2b5e53[_0x2d90d9(0x17e)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x171)]:return{'icon':_0x1a4ad8,'type':_0x2b5e53[_0x2d90d9(0x171)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x157)]:return{'icon':_0x3399f0,'type':_0x2b5e53[_0x2d90d9(0x157)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x16d)]:return{'icon':_0x35ad16,'type':_0x2b5e53[_0x2d90d9(0x16d)],..._0x105194};}});}[_0x1e878b(0x19a)](_0xb3ad14){const _0x1350b3=_0x1e878b;switch(_0xb3ad14){case _0x2b5e53[_0x1350b3(0x191)]:return _0x1350b3(0x192);case _0x2b5e53[_0x1350b3(0x158)]:return _0x1350b3(0x16a);default:return _0x1350b3(0x16e);}}[_0x1e878b(0x195)](_0x1284bb,_0x331c9d){const _0x10418a=_0x1e878b,_0x47b9f6=this[_0x10418a(0x186)],_0x368b00=new _0x1284bb(_0x47b9f6[_0x10418a(0x178)]),_0x362dd5=_0x47b9f6[_0x10418a(0x18b)][_0x10418a(0x14e)](_0x10418a(0x172));return _0x368b00[_0x10418a(0x155)](_0x10418a(0x180))['to'](_0x362dd5),_0x368b00['on'](_0x10418a(0x183),()=>{const _0x5139f9=_0x10418a;_0x362dd5[_0x5139f9(0x183)](_0x331c9d);}),_0x368b00;}[_0x1e878b(0x165)](_0x4df5e7){const _0x186f7d=_0x1e878b,{locale:_0xa55abd}=this[_0x186f7d(0x186)],_0x2c3f7c=this[_0x186f7d(0x186)][_0x186f7d(0x181)][_0x186f7d(0x14e)](_0x186f7d(0x169)),_0xb36d8e=_0x4df5e7[0x0],_0x5bf758=this[_0x186f7d(0x195)](_0xb4c6b0,_0xb36d8e[_0x186f7d(0x18a)]);return _0x5bf758[_0x186f7d(0x170)]=_0xb36d8e[_0x186f7d(0x170)],_0x5bf758[_0x186f7d(0x155)](_0x186f7d(0x196))['to'](_0x2c3f7c,_0x186f7d(0x152),_0xdd90f=>_0x454498(_0xa55abd,_0xb36d8e[_0x186f7d(0x18a)],_0xdd90f?_0x186f7d(0x160):_0x186f7d(0x153))[_0x186f7d(0x154)]),_0x5bf758[_0x186f7d(0x166)]=!0x0,_0x5bf758;}[_0x1e878b(0x15b)](_0x41fd40){const _0x3e52a6=_0x1e878b,{locale:_0x5cae6b}=this[_0x3e52a6(0x186)],_0x12304f=this[_0x3e52a6(0x186)][_0x3e52a6(0x181)][_0x3e52a6(0x14e)](_0x3e52a6(0x169));return _0x41fd40[_0x3e52a6(0x15e)](_0x4a6953=>{const _0x48458e=_0x3e52a6,_0x518be5=this[_0x48458e(0x195)](_0xb4c6b0,_0x4a6953[_0x48458e(0x18a)]);return _0x518be5[_0x48458e(0x16c)]=!0x0,_0x518be5[_0x48458e(0x170)]=_0x4a6953[_0x48458e(0x170)],_0x518be5[_0x48458e(0x155)](_0x48458e(0x196))['to'](_0x12304f,_0x48458e(0x152),_0x19d76c=>_0x454498(_0x5cae6b,_0x4a6953[_0x48458e(0x18a)],_0x19d76c?_0x48458e(0x160):_0x48458e(0x153))[_0x48458e(0x154)]),_0x518be5;});}[_0x1e878b(0x167)](_0x3fd20f){const _0x5b7432=_0x1e878b;return _0x3fd20f[_0x5b7432(0x15e)](_0x25630c=>{const _0x39b777=_0x5b7432,_0x22499b=this[_0x39b777(0x195)](_0x57e822,_0x25630c[_0x39b777(0x18a)]);return _0x22499b[_0x39b777(0x170)]=_0x25630c[_0x39b777(0x170)],_0x22499b[_0x39b777(0x196)]=_0x25630c[_0x39b777(0x17a)],_0x22499b;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x23f4f4}from'ckeditor5/src/core.js';import{FileRepository as _0x5597cc}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x470026}from'./uploadcareediting.js';import{UploadUtils as _0x280de7}from'./utils/uploadutils.js';import{getImageUrls as _0xdd5772}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x23f4f4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5597cc,_0x470026];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x78c36=this['editor'];if(!!!_0x78c36['config']['get']('uploadcare'))return;_0x78c36['plugins']['get'](_0x5597cc)['createUploadAdapter']=_0x36a23e=>new k(_0x36a23e,_0x78c36),_0x78c36['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x315004,{imageElement:_0x46213e,data:_0x2dfcb1})=>{_0x78c36['model']['change'](_0x2a3f30=>{_0x2a3f30['setAttribute']('uploadcareImageId',_0x2dfcb1['uploadcareImageId'],_0x46213e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x46c7c1,_0x3c3a43){this['loader']=_0x46c7c1,this['editor']=_0x3c3a43,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x257378=await this['loader']['file'];return _0x280de7['upload']({'file':_0x257378,'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':_0x1ccbca=>{_0x1ccbca&&_0x1ccbca['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ccbca['value']);}})['then'](async _0x531f30=>{const {imageFallbackUrl:_0x5b647e,imageSources:_0x4ea789}=_0xdd5772(_0x531f30['cdnUrl'],_0x531f30['imageInfo']['width']);return{'uploadcareImageId':_0x531f30['uuid'],'default':_0x5b647e,'sources':_0x4ea789};})['catch'](()=>{const _0x4200ec=t('Cannot\x20upload\x20file:')+('\x20'+_0x257378['name']+'.');return Promise['reject'](_0x4200ec);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x431524}from'ckeditor5/src/core.js';import{FileRepository as _0x20cbe9}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x25b9fe}from'./uploadcareediting.js';import{UploadUtils as _0x551db4}from'./utils/uploadutils.js';import{getImageUrls as _0x38e620}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x431524{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x20cbe9,_0x25b9fe];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x35a111=this['editor'];if(!!!_0x35a111['config']['get']('uploadcare'))return;_0x35a111['plugins']['get'](_0x20cbe9)['createUploadAdapter']=_0x1cb0cb=>new k(_0x1cb0cb,_0x35a111),_0x35a111['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d200e,{imageElement:_0x40f25b,data:_0x1aad7d})=>{_0x35a111['model']['change'](_0x1002e6=>{_0x1002e6['setAttribute']('uploadcareImageId',_0x1aad7d['uploadcareImageId'],_0x40f25b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2a6771,_0x4acb92){this['loader']=_0x2a6771,this['editor']=_0x4acb92,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x377352=await this['loader']['file'];return _0x551db4['upload']({'file':_0x377352,'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':_0x2b0ce8=>{_0x2b0ce8&&_0x2b0ce8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2b0ce8['value']);}})['then'](async _0x4f43b1=>{const {imageFallbackUrl:_0x172378,imageSources:_0x31cc8}=_0x38e620(_0x4f43b1['cdnUrl'],_0x4f43b1['imageInfo']['width']);return{'uploadcareImageId':_0x4f43b1['uuid'],'default':_0x172378,'sources':_0x31cc8};})['catch'](()=>{const _0x538e4d=t('Cannot\x20upload\x20file:')+('\x20'+_0x377352['name']+'.');return Promise['reject'](_0x538e4d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x52e94b}from'../uploadcareconfig.js';export function getTranslation(_0x15b8b2,_0x224669,_0x5c2bb2){const t=_0x15b8b2['t'],_0x7d1ee7=_0x15b8b2['t'];switch(_0x224669){case _0x52e94b['Local']:return{'text':_0x7d1ee7('Insert'===_0x5c2bb2?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7d1ee7('From\x20computer')};case _0x52e94b['URL']:return{'text':'Insert'===_0x5c2bb2?_0x7d1ee7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7d1ee7('Via\x20URL')};case _0x52e94b['Dropbox']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x52e94b['Facebook']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x52e94b['GDrive']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x52e94b['GPhotos']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x52e94b['OneDrive']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x224669;}}
23
+ import{UploadcareSource as _0x5302b3}from'../uploadcareconfig.js';export function getTranslation(_0x59cdb1,_0x3f4b03,_0x10e724){const t=_0x59cdb1['t'],_0x1e954d=_0x59cdb1['t'];switch(_0x3f4b03){case _0x5302b3['Local']:return{'text':_0x1e954d('Insert'===_0x10e724?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1e954d('From\x20computer')};case _0x5302b3['URL']:return{'text':'Insert'===_0x10e724?_0x1e954d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1e954d('Via\x20URL')};case _0x5302b3['Dropbox']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5302b3['Facebook']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5302b3['GDrive']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5302b3['GPhotos']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5302b3['OneDrive']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f4b03;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2bc667=_0x274d;(function(_0x111cb6,_0x35e615){var _0x494bb6=_0x274d,_0xaa812f=_0x111cb6();while(!![]){try{var _0x2d8423=parseInt(_0x494bb6(0x164))/0x1*(-parseInt(_0x494bb6(0x15b))/0x2)+parseInt(_0x494bb6(0x161))/0x3*(-parseInt(_0x494bb6(0x157))/0x4)+-parseInt(_0x494bb6(0x160))/0x5+parseInt(_0x494bb6(0x158))/0x6+parseInt(_0x494bb6(0x156))/0x7*(-parseInt(_0x494bb6(0x15a))/0x8)+parseInt(_0x494bb6(0x154))/0x9+parseInt(_0x494bb6(0x15d))/0xa;if(_0x2d8423===_0x35e615)break;else _0xaa812f['push'](_0xaa812f['shift']());}catch(_0x2835da){_0xaa812f['push'](_0xaa812f['shift']());}}}(_0x5ebe,0x6f31c));import{FocusTracker as _0x5f04da}from'ckeditor5/src/utils.js';function _0x274d(_0x6def04,_0x1c391b){var _0x5ebe00=_0x5ebe();return _0x274d=function(_0x274dd0,_0x36ccb1){_0x274dd0=_0x274dd0-0x152;var _0x16c758=_0x5ebe00[_0x274dd0];return _0x16c758;},_0x274d(_0x6def04,_0x1c391b);}import{View as _0x2e43b4,FocusCycler as _0x5a711a}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2e43b4{[_0x2bc667(0x15e)];[_0x2bc667(0x159)];constructor(_0x378039){var _0xa78925=_0x2bc667;super(_0x378039),this[_0xa78925(0x15e)]=new _0x5f04da(),this[_0xa78925(0x159)]=new _0x5a711a({'focusables':this[_0xa78925(0x153)](),'focusTracker':this[_0xa78925(0x15e)]});}[_0x2bc667(0x162)](){var _0x27c4f9=_0x2bc667;return{'tag':_0x27c4f9(0x15c),'attributes':{'aria-hidden':_0x27c4f9(0x15f),'tabindex':'0'},'on':{'focus':this[_0x27c4f9(0x152)]['to'](()=>{var _0x5c0538=_0x27c4f9;this[_0x5c0538(0x159)][_0x5c0538(0x163)](_0x5c0538(0x155));})}};}}function _0x5ebe(){var _0x67aba=['fire','337583xwSjlT','bindTemplate','createCollection','5912451vPzend','forwardCycle','4907XpcGxQ','3517972LiJbmj','1345692qsRJUn','focusCycler','2152mPlPuD','2dKJavx','div','14247810WVmBIA','focusTracker','true','2224525ESrMtA','3FYxRFP','getFocusableElement'];_0x5ebe=function(){return _0x67aba;};return _0x5ebe();}
23
+ var _0x475b2a=_0x2a3a;(function(_0x1a4c31,_0x5b39c7){var _0x1565a9=_0x2a3a,_0x6b79e=_0x1a4c31();while(!![]){try{var _0x58e3f7=-parseInt(_0x1565a9(0x160))/0x1*(parseInt(_0x1565a9(0x15a))/0x2)+parseInt(_0x1565a9(0x158))/0x3+parseInt(_0x1565a9(0x16b))/0x4+parseInt(_0x1565a9(0x15d))/0x5*(-parseInt(_0x1565a9(0x162))/0x6)+-parseInt(_0x1565a9(0x15f))/0x7*(-parseInt(_0x1565a9(0x161))/0x8)+parseInt(_0x1565a9(0x169))/0x9*(-parseInt(_0x1565a9(0x164))/0xa)+parseInt(_0x1565a9(0x167))/0xb;if(_0x58e3f7===_0x5b39c7)break;else _0x6b79e['push'](_0x6b79e['shift']());}catch(_0x46f882){_0x6b79e['push'](_0x6b79e['shift']());}}}(_0x428a,0xe7aa5));function _0x2a3a(_0xc51db8,_0x238364){var _0x428ae1=_0x428a();return _0x2a3a=function(_0x2a3a23,_0x1d57fb){_0x2a3a23=_0x2a3a23-0x158;var _0x34a404=_0x428ae1[_0x2a3a23];return _0x34a404;},_0x2a3a(_0xc51db8,_0x238364);}import{FocusTracker as _0x80ebd0}from'ckeditor5/src/utils.js';import{View as _0x34334f,FocusCycler as _0x330a7d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x34334f{[_0x475b2a(0x15b)];[_0x475b2a(0x159)];constructor(_0x28e30e){var _0x21456e=_0x475b2a;super(_0x28e30e),this[_0x21456e(0x15b)]=new _0x80ebd0(),this[_0x21456e(0x159)]=new _0x330a7d({'focusables':this[_0x21456e(0x168)](),'focusTracker':this[_0x21456e(0x15b)]});}[_0x475b2a(0x166)](){var _0x23fa80=_0x475b2a;return{'tag':_0x23fa80(0x163),'attributes':{'aria-hidden':_0x23fa80(0x15c),'tabindex':'0'},'on':{'focus':this[_0x23fa80(0x15e)]['to'](()=>{var _0x4c1efa=_0x23fa80;this[_0x4c1efa(0x159)][_0x4c1efa(0x165)](_0x4c1efa(0x16a));})}};}}function _0x428a(){var _0x4ee7bf=['4923YLdPWt','forwardCycle','5289312FqlpUI','5020185OTjdaT','focusCycler','134KJpNXF','focusTracker','true','5RzPmKq','bindTemplate','14pvscmm','26027fnnEje','860968XxJDEi','4540494LDcuoU','div','31030CqPTZp','fire','getFocusableElement','21294185ZOchgV','createCollection'];_0x428a=function(){return _0x4ee7bf;};return _0x428a();}