@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.7 → 47.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb91e(_0x313717,_0x581221){const _0x7fd334=_0x7fd3();return _0xb91e=function(_0xb91e7b,_0x4b0497){_0xb91e7b=_0xb91e7b-0xc7;let _0x37f68d=_0x7fd334[_0xb91e7b];return _0x37f68d;},_0xb91e(_0x313717,_0x581221);}const _0xc10ee9=_0xb91e;(function(_0x5152a3,_0x506144){const _0x17440a=_0xb91e,_0x2e8e4b=_0x5152a3();while(!![]){try{const _0x17072c=-parseInt(_0x17440a(0xcc))/0x1+parseInt(_0x17440a(0x11a))/0x2*(-parseInt(_0x17440a(0xdb))/0x3)+parseInt(_0x17440a(0x119))/0x4*(-parseInt(_0x17440a(0xfd))/0x5)+parseInt(_0x17440a(0x105))/0x6*(-parseInt(_0x17440a(0xdf))/0x7)+-parseInt(_0x17440a(0x11b))/0x8+-parseInt(_0x17440a(0xce))/0x9+-parseInt(_0x17440a(0xf8))/0xa*(-parseInt(_0x17440a(0x114))/0xb);if(_0x17072c===_0x506144)break;else _0x2e8e4b['push'](_0x2e8e4b['shift']());}catch(_0x3663f4){_0x2e8e4b['push'](_0x2e8e4b['shift']());}}}(_0x7fd3,0xf3bd8));import{Plugin as _0x21ea32}from'ckeditor5/src/core.js';import{Dialog as _0x14a5a7}from'ckeditor5/src/ui.js';function _0x7fd3(){const _0x29ff17=['get','requires','extend','ucContextId','_initConversion','UploadcareEditing','uploadcare','document','join','true','#uc-icon-arrow-down','for','6963PHWWLp','uploadcare.pubkey','body','model','downcast','1657492JLPHFH','1926494RhmHqX','2224480SkchLx','add','iconHrefResolver','_ctxElement','insertImage','querySelector','conversion','1038759GNRhhu','isPremiumPlugin','3247443CkpDKp','schema','uc-config','contentLanguage','closeMax','uploadcareImageReplace','commands','attributeToAttribute','pluginName','getSelectedElement','_initCtx','editor','_initImageProcessingIndicator','6KwWLfV','uc-upload-ctx-provider','imageInline','uploadcare.uploader','486192VllWDc','\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','destroy','isRegistered','uploadcareImageId','once','configElement','upcast','locale','_initConfig','fromCharCode','afterInit','config','selection','href','execute','editing','map','data-uc-image-id','listenTo','uploader-','isOfficialPlugin','cleanupImage','getAttribute','removeAttribute','81450nkeUGV','replaceImageSource','_configElement','imageBlock','ctxElement','5cTMRaL','render','remove','init','PictureEditing','view','elementToAttribute','_initSchema','12AtPdVq','input[uploadcare-file-input]','appendChild'];_0x7fd3=function(){return _0x29ff17;};return _0x7fd3();}import{createElement as _0x33d5d8,global as _0x47d2cb,uid as _0x35c970}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x339008}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x56d9f9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4bbeb4}from'./utils/editingutils.js';export class UploadcareEditing extends _0x21ea32{[_0xc10ee9(0xfa)]=null;[_0xc10ee9(0xc8)]=null;static get[_0xc10ee9(0xd6)](){const _0x37c8b0=_0xc10ee9;return _0x37c8b0(0x10d);}static get[_0xc10ee9(0x109)](){const _0x12b241=_0xc10ee9;return[_0x12b241(0x101),_0x56d9f9,_0x14a5a7];}static get[_0xc10ee9(0xf4)](){return!0x0;}static get[_0xc10ee9(0xcd)](){return!0x0;}[_0xc10ee9(0x10b)];get[_0xc10ee9(0xe5)](){const _0x3548b8=_0xc10ee9;return this[_0x3548b8(0xfa)];}get[_0xc10ee9(0xfc)](){const _0x125a2e=_0xc10ee9;return this[_0x125a2e(0xc8)];}constructor(_0x3ae04c){const _0x1a6b35=_0xc10ee9;super(_0x3ae04c),this[_0x1a6b35(0x10b)]=_0x35c970();}[_0xc10ee9(0x100)](){const _0x47ec22=_0xc10ee9,_0x3ff07d=this[_0x47ec22(0xd9)];_0x3ff07d[_0x47ec22(0xd4)][_0x47ec22(0x11c)](_0x47ec22(0x10e),new _0x339008(_0x3ff07d));}[_0xc10ee9(0xea)](){const _0x480208=_0xc10ee9;this[_0x480208(0x104)](),this[_0x480208(0x10c)](),this[_0x480208(0xe8)](),this[_0x480208(0xd8)](),this[_0x480208(0xda)](),this[_0x480208(0xf2)](this[_0x480208(0xd9)],_0x480208(0xe1),()=>{const _0x2b5be3=_0x480208;this[_0x2b5be3(0xfa)]&&(this[_0x2b5be3(0xfa)][_0x2b5be3(0xff)](),this[_0x2b5be3(0xfa)]=null),this[_0x2b5be3(0xc8)]&&(this[_0x2b5be3(0xc8)][_0x2b5be3(0xff)](),this[_0x2b5be3(0xc8)]=null);const _0x4ab419=_0x47d2cb[_0x2b5be3(0x10f)][_0x2b5be3(0xca)](_0x2b5be3(0x106));_0x4ab419&&_0x4ab419[_0x2b5be3(0xff)]();}),async function(_0x2fb41a){const _0x13b009=_0x1b3896([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]),_0x511e4a=0x535f8c3a,_0x3dfff2=0x53580d6a^_0x511e4a,_0x41b2bd=window[_0x1b3896([0x44,0x61,0x74,0x65])][_0x1b3896([0x6e,0x6f,0x77])](),_0x386a2c=_0x2fb41a[_0x1b3896([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x467c6d=new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e75f=>{_0x386a2c[_0x1b3896([0x6f,0x6e,0x63,0x65])](_0x1b3896([0x72,0x65,0x61,0x64,0x79]),_0x44e75f);}),_0x15ac43={[_0x1b3896([0x6b,0x74,0x79])]:_0x1b3896([0x45,0x43]),[_0x1b3896([0x75,0x73,0x65])]:_0x1b3896([0x73,0x69,0x67]),[_0x1b3896([0x63,0x72,0x76])]:_0x1b3896([0x50,0x2d,0x32,0x35,0x36]),[_0x1b3896([0x78])]:_0x1b3896([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]),[_0x1b3896([0x79])]:_0x1b3896([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]),[_0x1b3896([0x61,0x6c,0x67])]:_0x1b3896([0x45,0x53,0x32,0x35,0x36])},_0x5f540d=_0x386a2c[_0x1b3896([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b3896([0x67,0x65,0x74])](_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x532281(){let _0x31b467,_0x55a680=null,_0x1dcd77=null;try{if(_0x5f540d==_0x1b3896([0x47,0x50,0x4c]))return _0x1b3896([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31b467=_0x4438c2(),!_0x31b467)return _0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31b467[_0x1b3896([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dcd77=_0x3883f2(_0x31b467[_0x1b3896([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31b467[_0x1b3896([0x6a,0x74,0x69])])),await _0x4a1774()?_0x449b1f()?_0x303330()?_0x1b3896([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e6e20()?(_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b3896([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55a680=_0x17d5a5(_0x1b3896([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52f9bb()):_0x1b3896([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3896([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x303330(){const _0x55faec=[_0x1b3896([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b3896([0x74,0x72,0x69,0x61,0x6c])][_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b2bd/0x3e8:0xe10*_0x3dfff2;return _0x31b467[_0x1b3896([0x65,0x78,0x70])]<_0x55faec;}function _0x449b1f(){const _0x12f7e7=_0x31b467[_0x1b3896([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12f7e7&&(!!_0x12f7e7[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x2a]))||!!_0x12f7e7[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x55,0x50,0x4c,0x43])));}function _0x4e6e20(){const _0x4ff8b7=_0xb91e,_0x180ae4=_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x180ae4||0x0==_0x180ae4[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x405818}=new URL(window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ff8b7(0xed)]);if(_0x180ae4[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405818))return!0x0;const _0x451cb1=_0x405818[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e]));return _0x180ae4[_0x1b3896([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227555=>_0x227555[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x2a])))[_0x1b3896([0x6d,0x61,0x70])](_0x1da106=>_0x1da106[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e])))[_0x1b3896([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fa726=>_0x4fa726[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x451cb1[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3896([0x6d,0x61,0x70])](_0x1a83c6=>Array(_0x451cb1[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a83c6[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3896([0x66,0x69,0x6c,0x6c])](_0x1a83c6[0x0]===_0x1b3896([0x2a])?_0x1b3896([0x2a]):'')[_0x1b3896([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a83c6))[_0x1b3896([0x73,0x6f,0x6d,0x65])](_0x483ffa=>_0x451cb1[_0x1b3896([0x65,0x76,0x65,0x72,0x79])]((_0x122ff9,_0xca79e7)=>_0x483ffa[_0xca79e7]===_0x122ff9||_0x483ffa[_0xca79e7]===_0x1b3896([0x2a])));}function _0x52f9bb(){return _0x55a680&&_0x1dcd77?new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2873f7,_0x5618c7)=>{_0x55a680[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x2873f7,_0x5618c7),_0x1dcd77[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x1f0c33=>{_0x1f0c33!=_0x1b3896([0x56,0x61,0x6c,0x69,0x64])&&_0x2873f7(_0x1f0c33);},_0x5618c7);}):_0x55a680||_0x1dcd77||_0x1b3896([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3883f2(_0x5589b8,_0x328e28){return new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565bb0=>{if(_0x5d4c00())return _0x565bb0(_0x1b3896([0x56,0x61,0x6c,0x69,0x64]));_0x24f14d(),_0x386a2c[_0x1b3896([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b8ca4=!0x1;const _0x2ef2df=_0x35c970();function _0x12f8a9(_0x1ddad7){return!!_0x1ddad7&&(typeof _0x1ddad7===_0x1b3896([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ddad7===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ddad7[_0x1b3896([0x74,0x68,0x65,0x6e])]===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ddad7[_0x1b3896([0x63,0x61,0x74,0x63,0x68])]===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8911a5(_0x3897bd){_0x2be55c(_0x3897bd)[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x2b2bc5=>{if(!_0x2b2bc5||_0x2b2bc5[_0x1b3896([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b3896([0x6f,0x6b]))return _0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f808d(_0x5e6d82(_0x2ef2df+_0x328e28))!=_0x2b2bc5[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3896([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x425d83=>(_0x238d10(),_0x425d83),()=>{const _0x53f9b0=_0x3693c0();return null==_0x53f9b0?(_0x238d10(),_0x1b3896([0x56,0x61,0x6c,0x69,0x64])):_0x1b3896(_0x41b2bd-_0x53f9b0>(0x7753083a^_0x511e4a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x565bb0)[_0x1b3896([0x63,0x61,0x74,0x63,0x68])](()=>{_0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36f85d=0x536962ba^_0x511e4a;function _0x238d10(){const _0x379906=_0x1b3896([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f808d(_0x5e6d82(_0x5589b8)),_0x1d759a=_0x2e739f(_0x4f808d(window[_0x1b3896([0x4d,0x61,0x74,0x68])][_0x1b3896([0x63,0x65,0x69,0x6c])](_0x41b2bd/_0x36f85d)));window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3896([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x379906,_0x1d759a);}function _0x3693c0(){const _0xc79131=_0x1b3896([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f808d(_0x5e6d82(_0x5589b8)),_0x557851=window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3896([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc79131);return _0x557851?window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e739f(_0x557851),0x10)*_0x36f85d:null;}function _0x2be55c(_0x22f8a5){return new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0fa4,_0x1dc047)=>{_0x22f8a5[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x1c0fa4,_0x1dc047),window[_0x1b3896([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1dc047,0x535e58fa^_0x511e4a);});}}_0x386a2c[_0x1b3896([0x6f,0x6e])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x414187,_0x3edd67)=>{if(_0x3edd67[0x0]!=_0x5589b8)return _0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3edd67[0x1]={..._0x3edd67[0x1],[_0x1b3896([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ef2df};},{[_0x1b3896([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3896([0x68,0x69,0x67,0x68])}),_0x386a2c[_0x1b3896([0x6f,0x6e])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x278581=>{_0x12f8a9(_0x278581[_0x1b3896([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b8ca4=!0x0,_0x8911a5(_0x278581[_0x1b3896([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b3896([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3896([0x6c,0x6f,0x77])}),_0x467c6d[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>{_0x4b8ca4||_0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d4c00(){return _0x386a2c[_0x1b3896([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3896([0x76,0x69,0x65,0x77])][_0x1b3896([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b3896([0x61,0x75,0x74,0x6f]);}function _0x24f14d(){_0x386a2c[_0x1b3896([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3896([0x76,0x69,0x65,0x77])][_0x1b3896([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b3896([0x61,0x75,0x74,0x6f]);}}function _0x17d5a5(_0x31e064){const _0x5352b2=[new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29fc7d=>setTimeout(_0x29fc7d,0x5356b2f6^_0x511e4a)),_0x467c6d[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c3af0=>{let _0x3906ac=0x0;_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x6f,0x6e])](_0x1b3896([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148005,_0x2b9fbd)=>{_0x2b9fbd[0x0][_0x1b3896([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3906ac++,_0x3906ac==(0x535f89d2^_0x511e4a)&&(_0x4c3af0(),_0x148005[_0x1b3896([0x6f,0x66,0x66])]());});}))];return window[_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b3896([0x72,0x61,0x63,0x65])](_0x5352b2)[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>_0x31e064);}async function _0x2b9e7a(){await _0x467c6d,_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f7e5d,_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f7e5d,_0x386a2c[_0x1b3896([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x407f70(_0x3fb2ed){const _0x125631=_0x172e95();_0x386a2c[_0x125631]=_0x1b3896([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fb2ed,_0x3fb2ed!=_0x1b3896([0x56,0x61,0x6c,0x69,0x64])&&_0x2b9e7a();}function _0x172e95(){const _0x2f2340=window[_0x1b3896([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b3896([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b3896([0x6e,0x6f,0x77])]())[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b3896([0x2e]),'');let _0x1d2064=_0x1b3896([0x68]);for(let _0x4c44bd=0x0;_0x4c44bd<_0x2f2340[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c44bd+=0x2){let _0x50b7f9=window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2340[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c44bd,_0x4c44bd+0x2));_0x50b7f9>=_0x13b009[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50b7f9-=_0x13b009[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d2064+=_0x13b009[_0x50b7f9];}return _0x1d2064;}function _0x4438c2(){const _0x482e3e=_0x5f540d[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e]));if(0x3!=_0x482e3e[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2628ea(_0x482e3e[0x1]);function _0x2628ea(_0x3dbad8){const _0x80ce5a=_0x5ae1eb(_0x3dbad8);return _0x80ce5a&&_0x34f8ac()?_0x80ce5a:null;function _0x34f8ac(){const _0x19acd8=_0x80ce5a[_0x1b3896([0x6a,0x74,0x69])],_0x538733=window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19acd8[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19acd8[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4537c8={..._0x80ce5a,[_0x1b3896([0x6a,0x74,0x69])]:_0x19acd8[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19acd8[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4537c8[_0x1b3896([0x76,0x63])],_0x5e6d82(_0x4537c8)==_0x538733;}}}async function _0x4a1774(){let _0x55bdbd=!0x0;try{const _0x3da3fd=_0x5f540d[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e])),[_0x33686c,_0xaab79a,_0x4f6919]=_0x3da3fd;return _0x429227(_0x33686c),await _0x32a526(_0x33686c,_0xaab79a,_0x4f6919),_0x55bdbd;}catch{return!0x1;}function _0x429227(_0x3d7686){const _0x1d6bb2=_0x5ae1eb(_0x3d7686);_0x1d6bb2&&_0x1d6bb2[_0x1b3896([0x61,0x6c,0x67])]==_0x1b3896([0x45,0x53,0x32,0x35,0x36])||(_0x55bdbd=!0x1);}async function _0x32a526(_0x2d8bb3,_0x458766,_0x1970fa){const _0x536eb2=window[_0x1b3896([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b3896([0x66,0x72,0x6f,0x6d])](_0x49adac(_0x1970fa),_0x45fd60=>_0x45fd60[_0x1b3896([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f71c5=new window[(_0x1b3896([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b3896([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d8bb3+_0x1b3896([0x2e])+_0x458766),_0xf5b5f2=window[_0x1b3896([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b3896([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf5b5f2)return;const _0xec519f=await _0xf5b5f2[_0x1b3896([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b3896([0x6a,0x77,0x6b]),_0x15ac43,{[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x45,0x43,0x44,0x53,0x41]),[_0x1b3896([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b3896([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf5b5f2[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x45,0x43,0x44,0x53,0x41]),[_0x1b3896([0x68,0x61,0x73,0x68])]:{[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec519f,_0x536eb2,_0x2f71c5)||(_0x55bdbd=!0x1);}}function _0x5ae1eb(_0x51e482){return _0x51e482[_0x1b3896([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b3896([0x65,0x79]))?JSON[_0x1b3896([0x70,0x61,0x72,0x73,0x65])](_0x49adac(_0x51e482)):null;}function _0x49adac(_0x275cd2){return window[_0x1b3896([0x61,0x74,0x6f,0x62])](_0x275cd2[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b3896([0x2b]))[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b3896([0x2f])));}function _0x5e6d82(_0x503398){let _0x48ca78=0x1505;function _0x538ec5(_0x5ee446){for(let _0x40c2e0=0x0;_0x40c2e0<_0x5ee446[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40c2e0++){const _0x5f380d=_0x5ee446[_0x1b3896([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40c2e0);_0x48ca78=(_0x48ca78<<0x5)+_0x48ca78+_0x5f380d,_0x48ca78&=_0x48ca78;}}function _0x17a287(_0x2c819a){Array[_0x1b3896([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c819a)?_0x2c819a[_0x1b3896([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17a287):_0x2c819a&&typeof _0x2c819a==_0x1b3896([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b3896([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c819a)[_0x1b3896([0x73,0x6f,0x72,0x74])]()[_0x1b3896([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd28302,_0x1aee79])=>{_0x538ec5(_0xd28302),_0x17a287(_0x1aee79);}):_0x538ec5(window[_0x1b3896([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c819a));}return _0x17a287(_0x503398),_0x48ca78>>>0x0;}function _0x4f808d(_0x2cf45b){return _0x2cf45b[_0x1b3896([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b3896([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b3896([0x30]));}function _0x2e739f(_0x2dbf19){return _0x2dbf19[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b3896([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b3896([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f7e5d(){}function _0x1b3896(_0xcb1623){const _0xee2928=_0xb91e;return _0xcb1623[_0xee2928(0xf0)](_0x1eacb5=>String[_0xee2928(0xe9)](_0x1eacb5))[_0xee2928(0x110)]('');}_0x407f70(await _0x532281());}(this);}[_0xc10ee9(0x104)](){const _0x2937e4=_0xc10ee9,_0x1332df=this[_0x2937e4(0xd9)][_0x2937e4(0x117)][_0x2937e4(0xcf)];_0x1332df[_0x2937e4(0xe2)](_0x2937e4(0xfb))&&_0x1332df[_0x2937e4(0x10a)](_0x2937e4(0xfb),{'allowAttributes':[_0x2937e4(0xe3)]}),_0x1332df[_0x2937e4(0xe2)](_0x2937e4(0xdd))&&_0x1332df[_0x2937e4(0x10a)](_0x2937e4(0xdd),{'allowAttributes':[_0x2937e4(0xe3)]});}[_0xc10ee9(0x10c)](){const _0xff9c6=_0xc10ee9,_0x3acebc=this[_0xff9c6(0xd9)];_0x3acebc[_0xff9c6(0xcb)][_0xff9c6(0x113)](_0xff9c6(0x118))[_0xff9c6(0xd5)]({'model':_0xff9c6(0xe3),'view':_0xff9c6(0xf1)}),_0x3acebc[_0xff9c6(0xcb)][_0xff9c6(0x113)](_0xff9c6(0xe6))[_0xff9c6(0x103)]({'model':{'key':_0xff9c6(0xe3),'value':_0x4ba4f7=>_0x4ba4f7[_0xff9c6(0xf6)](_0xff9c6(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5496c1=_0x3acebc[_0xff9c6(0xd4)][_0xff9c6(0x108)](_0xff9c6(0xf9));_0x5496c1&&this[_0xff9c6(0xf2)](_0x5496c1,_0xff9c6(0xf5),(_0x4f5729,[_0x96afdc,_0x9f1005])=>{const _0x14d983=_0xff9c6;_0x96afdc[_0x14d983(0xf7)](_0x14d983(0xe3),_0x9f1005);});}[_0xc10ee9(0xe8)](){const _0x2620b8=_0xc10ee9,_0x9270cd=this[_0x2620b8(0xd9)][_0x2620b8(0xeb)][_0x2620b8(0x108)](_0x2620b8(0xde))||{},_0x1ce8ed=this[_0x2620b8(0xd9)][_0x2620b8(0xeb)][_0x2620b8(0x108)](_0x2620b8(0x115))||'';this[_0x2620b8(0xfa)]=_0x33d5d8(_0x47d2cb[_0x2620b8(0x10f)],_0x2620b8(0xd0),{..._0x9270cd,'pubkey':_0x1ce8ed,'ctx-name':_0x2620b8(0xf3)+this[_0x2620b8(0x10b)],'sourceList':'','imgOnly':_0x2620b8(0x111),'removeCopyright':_0x2620b8(0x111),'localeName':this[_0x2620b8(0xd9)][_0x2620b8(0xe7)][_0x2620b8(0xd1)],'externalSourcesEmbedCss':_0x2620b8(0xe0)}),this[_0x2620b8(0xfa)][_0x2620b8(0xc7)]=_0x4dcb5a=>{const _0x4cc28d=_0x2620b8;if(_0x4cc28d(0xd2)==_0x4dcb5a)return _0x4cc28d(0x112);},_0x47d2cb[_0x2620b8(0x10f)][_0x2620b8(0x116)][_0x2620b8(0x107)](this[_0x2620b8(0xfa)]);}[_0xc10ee9(0xd8)](){const _0x4fb0f8=_0xc10ee9;this[_0x4fb0f8(0xc8)]=_0x33d5d8(_0x47d2cb[_0x4fb0f8(0x10f)],_0x4fb0f8(0xdc),{'ctx-name':_0x4fb0f8(0xf3)+this[_0x4fb0f8(0x10b)]}),_0x47d2cb[_0x4fb0f8(0x10f)][_0x4fb0f8(0x116)][_0x4fb0f8(0x107)](this[_0x4fb0f8(0xc8)]);}[_0xc10ee9(0xda)](){const _0x2c087a=_0xc10ee9,_0x2d65b0=this[_0x2c087a(0xd9)][_0x2c087a(0xd4)][_0x2c087a(0x108)](_0x2c087a(0xc9));_0x2d65b0&&this[_0x2c087a(0xf2)](_0x2d65b0,_0x2c087a(0xee),()=>{const _0x391a60=_0x2c087a,_0x1aac8a=this[_0x391a60(0xd9)][_0x391a60(0x117)][_0x391a60(0x10f)][_0x391a60(0xec)][_0x391a60(0xd7)]();_0x1aac8a&&_0x1aac8a[_0x391a60(0xf6)](_0x391a60(0xe3))&&this[_0x391a60(0xd9)][_0x391a60(0xef)][_0x391a60(0x102)][_0x391a60(0xe4)](_0x391a60(0xfe),()=>{const _0x2a189e=_0x391a60;_0x4bbeb4(this[_0x2a189e(0xd9)],_0x1aac8a);});});const _0xf4bce8=this[_0x2c087a(0xd9)][_0x2c087a(0xd4)][_0x2c087a(0x108)](_0x2c087a(0xd3));_0xf4bce8&&this[_0x2c087a(0xf2)](_0xf4bce8,_0x2c087a(0xee),()=>{const _0x3664eb=_0x2c087a,_0x123a34=this[_0x3664eb(0xd9)][_0x3664eb(0x117)][_0x3664eb(0x10f)][_0x3664eb(0xec)][_0x3664eb(0xd7)]();_0x123a34&&_0x123a34[_0x3664eb(0xf6)](_0x3664eb(0xe3))&&this[_0x3664eb(0xd9)][_0x3664eb(0xef)][_0x3664eb(0x102)][_0x3664eb(0xe4)](_0x3664eb(0xfe),()=>{const _0x2259cd=_0x3664eb;_0x4bbeb4(this[_0x2259cd(0xd9)],_0x123a34);});});}}
23
+ const _0x44ee9b=_0x1a3d;(function(_0x3e8900,_0x439e25){const _0xc22866=_0x1a3d,_0x431c3d=_0x3e8900();while(!![]){try{const _0x266d93=-parseInt(_0xc22866(0xc5))/0x1*(parseInt(_0xc22866(0xf9))/0x2)+parseInt(_0xc22866(0x107))/0x3*(parseInt(_0xc22866(0xe2))/0x4)+parseInt(_0xc22866(0x117))/0x5+parseInt(_0xc22866(0xf5))/0x6*(parseInt(_0xc22866(0xec))/0x7)+-parseInt(_0xc22866(0xe6))/0x8+-parseInt(_0xc22866(0xfd))/0x9*(-parseInt(_0xc22866(0x101))/0xa)+-parseInt(_0xc22866(0xce))/0xb;if(_0x266d93===_0x439e25)break;else _0x431c3d['push'](_0x431c3d['shift']());}catch(_0x2229a3){_0x431c3d['push'](_0x431c3d['shift']());}}}(_0x5bc3,0xccc23));import{Plugin as _0x1ff43a}from'ckeditor5/src/core.js';function _0x5bc3(){const _0x385921=['uploadcareImageReplace','PictureEditing','isOfficialPlugin','uc-upload-ctx-provider','7091jbhXgk','\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','configElement','fromCharCode','UploadcareEditing','href','uploadcareImageId','appendChild','once','7338kropOL','_initConversion','_initImageProcessingIndicator','getAttribute','4cbbnBg','uploader-','elementToAttribute','isRegistered','9WnNozp','_initSchema','cleanupImage','removeAttribute','13685110fJbcBr','render','closeMax','execute','commands','editing','174927VDmJbf','uploadcare.uploader','insertImage','downcast','afterInit','imageInline','upcast','document','isPremiumPlugin','uploadcare','_initConfig','view','selection','uploadcare.pubkey','ucContextId','join','1562295DmRLXa','input[uploadcare-file-input]','remove','add','121769qaAdak','listenTo','schema','contentLanguage','imageBlock','iconHrefResolver','model','body','config','11273592RRAmjW','conversion','pluginName','#uc-icon-arrow-down','_ctxElement','map','extend','ctxElement','replaceImageSource','get','getSelectedElement','init','requires','destroy','uc-config','attributeToAttribute','true','querySelector','data-uc-image-id','editor','40pEYpsE','for','locale','_configElement','11166864qxwaCY','_initCtx'];_0x5bc3=function(){return _0x385921;};return _0x5bc3();}import{Dialog as _0x4f575d}from'ckeditor5/src/ui.js';import{createElement as _0x9a6766,global as _0xe0eaee,uid as _0x52ce05}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1774df}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x195f75}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3e2af9}from'./utils/editingutils.js';function _0x1a3d(_0x44be09,_0x639672){const _0x5bc393=_0x5bc3();return _0x1a3d=function(_0x1a3d42,_0x9a227b){_0x1a3d42=_0x1a3d42-0xc3;let _0x59f4ae=_0x5bc393[_0x1a3d42];return _0x59f4ae;},_0x1a3d(_0x44be09,_0x639672);}export class UploadcareEditing extends _0x1ff43a{[_0x44ee9b(0xe5)]=null;[_0x44ee9b(0xd2)]=null;static get[_0x44ee9b(0xd0)](){const _0x1d11d4=_0x44ee9b;return _0x1d11d4(0xf0);}static get[_0x44ee9b(0xda)](){const _0x12e6d6=_0x44ee9b;return[_0x12e6d6(0xe9),_0x195f75,_0x4f575d];}static get[_0x44ee9b(0xea)](){return!0x0;}static get[_0x44ee9b(0x10f)](){return!0x0;}[_0x44ee9b(0x115)];get[_0x44ee9b(0xee)](){const _0x259385=_0x44ee9b;return this[_0x259385(0xe5)];}get[_0x44ee9b(0xd5)](){const _0x583d61=_0x44ee9b;return this[_0x583d61(0xd2)];}constructor(_0x24b85a){const _0x1de4a7=_0x44ee9b;super(_0x24b85a),this[_0x1de4a7(0x115)]=_0x52ce05();}[_0x44ee9b(0xd9)](){const _0x5480ab=_0x44ee9b,_0x29dbc6=this[_0x5480ab(0xe1)];_0x29dbc6[_0x5480ab(0x105)][_0x5480ab(0xc4)](_0x5480ab(0x110),new _0x1774df(_0x29dbc6));}[_0x44ee9b(0x10b)](){const _0x344daa=_0x44ee9b;this[_0x344daa(0xfe)](),this[_0x344daa(0xf6)](),this[_0x344daa(0x111)](),this[_0x344daa(0xe7)](),this[_0x344daa(0xf7)](),this[_0x344daa(0xc6)](this[_0x344daa(0xe1)],_0x344daa(0xdb),()=>{const _0x4504d5=_0x344daa;this[_0x4504d5(0xe5)]&&(this[_0x4504d5(0xe5)][_0x4504d5(0xc3)](),this[_0x4504d5(0xe5)]=null),this[_0x4504d5(0xd2)]&&(this[_0x4504d5(0xd2)][_0x4504d5(0xc3)](),this[_0x4504d5(0xd2)]=null);const _0x2d9e98=_0xe0eaee[_0x4504d5(0x10e)][_0x4504d5(0xdf)](_0x4504d5(0x118));_0x2d9e98&&_0x2d9e98[_0x4504d5(0xc3)]();}),async function(_0x33d013){const _0x5dbeb9=_0x3b0338([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]),_0xfd7a22=0x535f8c3a,_0x507e31=0x53580d52^_0xfd7a22,_0x3dc016=window[_0x3b0338([0x44,0x61,0x74,0x65])][_0x3b0338([0x6e,0x6f,0x77])](),_0x289aec=_0x33d013[_0x3b0338([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47dca8=new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4534cc=>{_0x289aec[_0x3b0338([0x6f,0x6e,0x63,0x65])](_0x3b0338([0x72,0x65,0x61,0x64,0x79]),_0x4534cc);}),_0x3716b9={[_0x3b0338([0x6b,0x74,0x79])]:_0x3b0338([0x45,0x43]),[_0x3b0338([0x75,0x73,0x65])]:_0x3b0338([0x73,0x69,0x67]),[_0x3b0338([0x63,0x72,0x76])]:_0x3b0338([0x50,0x2d,0x32,0x35,0x36]),[_0x3b0338([0x78])]:_0x3b0338([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]),[_0x3b0338([0x79])]:_0x3b0338([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]),[_0x3b0338([0x61,0x6c,0x67])]:_0x3b0338([0x45,0x53,0x32,0x35,0x36])},_0x659a7c=_0x289aec[_0x3b0338([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b0338([0x67,0x65,0x74])](_0x3b0338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55c83b(){let _0x35eeaa,_0x3a7a7e=null,_0x8d8a1e=null;try{if(_0x659a7c==_0x3b0338([0x47,0x50,0x4c]))return _0x3b0338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35eeaa=_0xeca4f1(),!_0x35eeaa)return _0x3b0338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35eeaa[_0x3b0338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8d8a1e=_0x277100(_0x35eeaa[_0x3b0338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35eeaa[_0x3b0338([0x6a,0x74,0x69])])),await _0x24c53b()?_0x38a71f()?_0x1e83c6()?_0x3b0338([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f90f2()?(_0x35eeaa[_0x3b0338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b0338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a7a7e=_0x40dbe0(_0x3b0338([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x102cc7()):_0x3b0338([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b0338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b0338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b0338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e83c6(){const _0x3e4b06=[_0x3b0338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b0338([0x74,0x72,0x69,0x61,0x6c])][_0x3b0338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35eeaa[_0x3b0338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dc016/0x3e8:0xe10*_0x507e31;return _0x35eeaa[_0x3b0338([0x65,0x78,0x70])]<_0x3e4b06;}function _0x38a71f(){const _0x3ee01e=_0x35eeaa[_0x3b0338([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ee01e&&(!!_0x3ee01e[_0x3b0338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0338([0x2a]))||!!_0x3ee01e[_0x3b0338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0338([0x55,0x50,0x4c,0x43])));}function _0x1f90f2(){const _0x4e8f8a=_0x1a3d,_0x320548=_0x35eeaa[_0x3b0338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x320548||0x0==_0x320548[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1de9be}=new URL(window[_0x3b0338([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e8f8a(0xf1)]);if(_0x320548[_0x3b0338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de9be))return!0x0;const _0x24230f=_0x1de9be[_0x3b0338([0x73,0x70,0x6c,0x69,0x74])](_0x3b0338([0x2e]));return _0x320548[_0x3b0338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1eed6a=>_0x1eed6a[_0x3b0338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0338([0x2a])))[_0x3b0338([0x6d,0x61,0x70])](_0x28aec3=>_0x28aec3[_0x3b0338([0x73,0x70,0x6c,0x69,0x74])](_0x3b0338([0x2e])))[_0x3b0338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x550259=>_0x550259[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24230f[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b0338([0x6d,0x61,0x70])](_0x15d3a1=>Array(_0x24230f[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15d3a1[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b0338([0x66,0x69,0x6c,0x6c])](_0x15d3a1[0x0]===_0x3b0338([0x2a])?_0x3b0338([0x2a]):'')[_0x3b0338([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15d3a1))[_0x3b0338([0x73,0x6f,0x6d,0x65])](_0x51f484=>_0x24230f[_0x3b0338([0x65,0x76,0x65,0x72,0x79])]((_0x372331,_0xa3c9d2)=>_0x51f484[_0xa3c9d2]===_0x372331||_0x51f484[_0xa3c9d2]===_0x3b0338([0x2a])));}function _0x102cc7(){return _0x3a7a7e&&_0x8d8a1e?new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c70fa,_0x327f28)=>{_0x3a7a7e[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x3c70fa,_0x327f28),_0x8d8a1e[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x561e89=>{_0x561e89!=_0x3b0338([0x56,0x61,0x6c,0x69,0x64])&&_0x3c70fa(_0x561e89);},_0x327f28);}):_0x3a7a7e||_0x8d8a1e||_0x3b0338([0x56,0x61,0x6c,0x69,0x64]);}}function _0x277100(_0x52a742,_0x5abe6a){return new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361783=>{if(_0x49ca82())return _0x361783(_0x3b0338([0x56,0x61,0x6c,0x69,0x64]));_0x4ad297(),_0x289aec[_0x3b0338([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b0338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x591562=!0x1;const _0x56919f=_0x52ce05();function _0x1a2a96(_0x5f86c2){return!!_0x5f86c2&&(typeof _0x5f86c2===_0x3b0338([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f86c2===_0x3b0338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f86c2[_0x3b0338([0x74,0x68,0x65,0x6e])]===_0x3b0338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f86c2[_0x3b0338([0x63,0x61,0x74,0x63,0x68])]===_0x3b0338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e4c20(_0x24ed32){_0x1746f2(_0x24ed32)[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x43aff0=>{if(!_0x43aff0||_0x43aff0[_0x3b0338([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b0338([0x6f,0x6b]))return _0x3b0338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10c4bd(_0x9d2065(_0x56919f+_0x5abe6a))!=_0x43aff0[_0x3b0338([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b0338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b0338([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x3b63e4=>(_0x6d615c(),_0x3b63e4),()=>{const _0x20340c=_0x457eb1();return null==_0x20340c?(_0x6d615c(),_0x3b0338([0x56,0x61,0x6c,0x69,0x64])):_0x3b0338(_0x3dc016-_0x20340c>(0x7753083a^_0xfd7a22)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x361783)[_0x3b0338([0x63,0x61,0x74,0x63,0x68])](()=>{_0x361783(_0x3b0338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x325962=0x536962ba^_0xfd7a22;function _0x6d615c(){const _0x3a8502=_0x3b0338([0x6c,0x6c,0x63,0x74,0x2d])+_0x10c4bd(_0x9d2065(_0x52a742)),_0x59ddad=_0x33f9bb(_0x10c4bd(window[_0x3b0338([0x4d,0x61,0x74,0x68])][_0x3b0338([0x63,0x65,0x69,0x6c])](_0x3dc016/_0x325962)));window[_0x3b0338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b0338([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a8502,_0x59ddad);}function _0x457eb1(){const _0x5c75de=_0x3b0338([0x6c,0x6c,0x63,0x74,0x2d])+_0x10c4bd(_0x9d2065(_0x52a742)),_0x3862ef=window[_0x3b0338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b0338([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c75de);return _0x3862ef?window[_0x3b0338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f9bb(_0x3862ef),0x10)*_0x325962:null;}function _0x1746f2(_0x2d3a0c){return new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58d089,_0x54c5ec)=>{_0x2d3a0c[_0x3b0338([0x74,0x68,0x65,0x6e])](_0x58d089,_0x54c5ec),window[_0x3b0338([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54c5ec,0x535e58fa^_0xfd7a22);});}}_0x289aec[_0x3b0338([0x6f,0x6e])](_0x3b0338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19bd6a,_0x1b0236)=>{if(_0x1b0236[0x0]!=_0x52a742)return _0x361783(_0x3b0338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b0236[0x1]={..._0x1b0236[0x1],[_0x3b0338([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56919f};},{[_0x3b0338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b0338([0x68,0x69,0x67,0x68])}),_0x289aec[_0x3b0338([0x6f,0x6e])](_0x3b0338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ec756=>{_0x1a2a96(_0x1ec756[_0x3b0338([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x591562=!0x0,_0x3e4c20(_0x1ec756[_0x3b0338([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b0338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b0338([0x6c,0x6f,0x77])}),_0x47dca8[_0x3b0338([0x74,0x68,0x65,0x6e])](()=>{_0x591562||_0x361783(_0x3b0338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49ca82(){return _0x289aec[_0x3b0338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b0338([0x76,0x69,0x65,0x77])][_0x3b0338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b0338([0x61,0x75,0x74,0x6f]);}function _0x4ad297(){_0x289aec[_0x3b0338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b0338([0x76,0x69,0x65,0x77])][_0x3b0338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b0338([0x61,0x75,0x74,0x6f]);}}function _0x40dbe0(_0x33b047){const _0x17052f=[new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4614ed=>setTimeout(_0x4614ed,0x5356b2f6^_0xfd7a22)),_0x47dca8[_0x3b0338([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2599f3=>{let _0x59674d=0x0;_0x289aec[_0x3b0338([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0338([0x6f,0x6e])](_0x3b0338([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x76c88b,_0xb487c0)=>{_0xb487c0[0x0][_0x3b0338([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59674d++,_0x59674d==(0x535f89d2^_0xfd7a22)&&(_0x2599f3(),_0x76c88b[_0x3b0338([0x6f,0x66,0x66])]());});}))];return window[_0x3b0338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b0338([0x72,0x61,0x63,0x65])](_0x17052f)[_0x3b0338([0x74,0x68,0x65,0x6e])](()=>_0x33b047);}async function _0x5d735b(){await _0x47dca8,_0x289aec[_0x3b0338([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0338([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41b62d,_0x289aec[_0x3b0338([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0338([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41b62d,_0x289aec[_0x3b0338([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b0338([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49c792(_0x2cb41d){const _0x4cd3c=_0x4c5e70();_0x289aec[_0x4cd3c]=_0x3b0338([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2cb41d,_0x2cb41d!=_0x3b0338([0x56,0x61,0x6c,0x69,0x64])&&_0x5d735b();}function _0x4c5e70(){const _0x39988a=window[_0x3b0338([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b0338([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b0338([0x6e,0x6f,0x77])]())[_0x3b0338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b0338([0x2e]),'');let _0x4f0106=_0x3b0338([0x68]);for(let _0x478300=0x0;_0x478300<_0x39988a[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x478300+=0x2){let _0x376dc2=window[_0x3b0338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39988a[_0x3b0338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x478300,_0x478300+0x2));_0x376dc2>=_0x5dbeb9[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x376dc2-=_0x5dbeb9[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f0106+=_0x5dbeb9[_0x376dc2];}return _0x4f0106;}function _0xeca4f1(){const _0x251f3d=_0x659a7c[_0x3b0338([0x73,0x70,0x6c,0x69,0x74])](_0x3b0338([0x2e]));if(0x3!=_0x251f3d[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f5376(_0x251f3d[0x1]);function _0x5f5376(_0x482a6a){const _0x54e12d=_0x43ab94(_0x482a6a);return _0x54e12d&&_0x677160()?_0x54e12d:null;function _0x677160(){const _0x489e14=_0x54e12d[_0x3b0338([0x6a,0x74,0x69])],_0x3a8c1d=window[_0x3b0338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489e14[_0x3b0338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x489e14[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x151aae={..._0x54e12d,[_0x3b0338([0x6a,0x74,0x69])]:_0x489e14[_0x3b0338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x489e14[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x151aae[_0x3b0338([0x76,0x63])],_0x9d2065(_0x151aae)==_0x3a8c1d;}}}async function _0x24c53b(){let _0x1ffd0f=!0x0;try{const _0x209ea8=_0x659a7c[_0x3b0338([0x73,0x70,0x6c,0x69,0x74])](_0x3b0338([0x2e])),[_0x390474,_0x1745a5,_0x455c43]=_0x209ea8;return _0x414e57(_0x390474),await _0x156244(_0x390474,_0x1745a5,_0x455c43),_0x1ffd0f;}catch{return!0x1;}function _0x414e57(_0x249e40){const _0x57310e=_0x43ab94(_0x249e40);_0x57310e&&_0x57310e[_0x3b0338([0x61,0x6c,0x67])]==_0x3b0338([0x45,0x53,0x32,0x35,0x36])||(_0x1ffd0f=!0x1);}async function _0x156244(_0x573d79,_0x55b40d,_0x33092c){const _0x5e9e9a=window[_0x3b0338([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b0338([0x66,0x72,0x6f,0x6d])](_0x23663c(_0x33092c),_0x2069d0=>_0x2069d0[_0x3b0338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c44ad=new window[(_0x3b0338([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b0338([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x573d79+_0x3b0338([0x2e])+_0x55b40d),_0x18c894=window[_0x3b0338([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b0338([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18c894)return;const _0x5ae6a1=await _0x18c894[_0x3b0338([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b0338([0x6a,0x77,0x6b]),_0x3716b9,{[_0x3b0338([0x6e,0x61,0x6d,0x65])]:_0x3b0338([0x45,0x43,0x44,0x53,0x41]),[_0x3b0338([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b0338([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b0338([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18c894[_0x3b0338([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b0338([0x6e,0x61,0x6d,0x65])]:_0x3b0338([0x45,0x43,0x44,0x53,0x41]),[_0x3b0338([0x68,0x61,0x73,0x68])]:{[_0x3b0338([0x6e,0x61,0x6d,0x65])]:_0x3b0338([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ae6a1,_0x5e9e9a,_0x2c44ad)||(_0x1ffd0f=!0x1);}}function _0x43ab94(_0x11d398){return _0x11d398[_0x3b0338([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b0338([0x65,0x79]))?JSON[_0x3b0338([0x70,0x61,0x72,0x73,0x65])](_0x23663c(_0x11d398)):null;}function _0x23663c(_0x4d46c8){return window[_0x3b0338([0x61,0x74,0x6f,0x62])](_0x4d46c8[_0x3b0338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b0338([0x2b]))[_0x3b0338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b0338([0x2f])));}function _0x9d2065(_0xfd9488){let _0x50bea9=0x1505;function _0x58f9f8(_0x480862){for(let _0x148e6a=0x0;_0x148e6a<_0x480862[_0x3b0338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x148e6a++){const _0x599499=_0x480862[_0x3b0338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x148e6a);_0x50bea9=(_0x50bea9<<0x5)+_0x50bea9+_0x599499,_0x50bea9&=_0x50bea9;}}function _0x4fd149(_0x5030eb){Array[_0x3b0338([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5030eb)?_0x5030eb[_0x3b0338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4fd149):_0x5030eb&&typeof _0x5030eb==_0x3b0338([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b0338([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5030eb)[_0x3b0338([0x73,0x6f,0x72,0x74])]()[_0x3b0338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x515f74,_0x3d3418])=>{_0x58f9f8(_0x515f74),_0x4fd149(_0x3d3418);}):_0x58f9f8(window[_0x3b0338([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5030eb));}return _0x4fd149(_0xfd9488),_0x50bea9>>>0x0;}function _0x10c4bd(_0x2174d0){return _0x2174d0[_0x3b0338([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b0338([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b0338([0x30]));}function _0x33f9bb(_0x5c4118){return _0x5c4118[_0x3b0338([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b0338([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b0338([0x6a,0x6f,0x69,0x6e])]('');}function _0x41b62d(){}function _0x3b0338(_0x4f9dd9){const _0x4c05f6=_0x1a3d;return _0x4f9dd9[_0x4c05f6(0xd3)](_0x47baf7=>String[_0x4c05f6(0xef)](_0x47baf7))[_0x4c05f6(0x116)]('');}_0x49c792(await _0x55c83b());}(this);}[_0x44ee9b(0xfe)](){const _0x145b29=_0x44ee9b,_0x40210e=this[_0x145b29(0xe1)][_0x145b29(0xcb)][_0x145b29(0xc7)];_0x40210e[_0x145b29(0xfc)](_0x145b29(0xc9))&&_0x40210e[_0x145b29(0xd4)](_0x145b29(0xc9),{'allowAttributes':[_0x145b29(0xf2)]}),_0x40210e[_0x145b29(0xfc)](_0x145b29(0x10c))&&_0x40210e[_0x145b29(0xd4)](_0x145b29(0x10c),{'allowAttributes':[_0x145b29(0xf2)]});}[_0x44ee9b(0xf6)](){const _0x2080f8=_0x44ee9b,_0x344f74=this[_0x2080f8(0xe1)];_0x344f74[_0x2080f8(0xcf)][_0x2080f8(0xe3)](_0x2080f8(0x10a))[_0x2080f8(0xdd)]({'model':_0x2080f8(0xf2),'view':_0x2080f8(0xe0)}),_0x344f74[_0x2080f8(0xcf)][_0x2080f8(0xe3)](_0x2080f8(0x10d))[_0x2080f8(0xfb)]({'model':{'key':_0x2080f8(0xf2),'value':_0x3243b9=>_0x3243b9[_0x2080f8(0xf8)](_0x2080f8(0xe0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xaf51c6=_0x344f74[_0x2080f8(0x105)][_0x2080f8(0xd7)](_0x2080f8(0xd6));_0xaf51c6&&this[_0x2080f8(0xc6)](_0xaf51c6,_0x2080f8(0xff),(_0x2122ee,[_0x5b8dcb,_0xd4c693])=>{const _0x5b997d=_0x2080f8;_0x5b8dcb[_0x5b997d(0x100)](_0x5b997d(0xf2),_0xd4c693);});}[_0x44ee9b(0x111)](){const _0x2f2adc=_0x44ee9b,_0x20fa7b=this[_0x2f2adc(0xe1)][_0x2f2adc(0xcd)][_0x2f2adc(0xd7)](_0x2f2adc(0x108))||{},_0x2ea123=this[_0x2f2adc(0xe1)][_0x2f2adc(0xcd)][_0x2f2adc(0xd7)](_0x2f2adc(0x114))||'';this[_0x2f2adc(0xe5)]=_0x9a6766(_0xe0eaee[_0x2f2adc(0x10e)],_0x2f2adc(0xdc),{..._0x20fa7b,'pubkey':_0x2ea123,'ctx-name':_0x2f2adc(0xfa)+this[_0x2f2adc(0x115)],'sourceList':'','imgOnly':_0x2f2adc(0xde),'removeCopyright':_0x2f2adc(0xde),'localeName':this[_0x2f2adc(0xe1)][_0x2f2adc(0xe4)][_0x2f2adc(0xc8)],'externalSourcesEmbedCss':_0x2f2adc(0xed)}),this[_0x2f2adc(0xe5)][_0x2f2adc(0xca)]=_0x5d4d4c=>{const _0x235cf5=_0x2f2adc;if(_0x235cf5(0x103)==_0x5d4d4c)return _0x235cf5(0xd1);},_0xe0eaee[_0x2f2adc(0x10e)][_0x2f2adc(0xcc)][_0x2f2adc(0xf3)](this[_0x2f2adc(0xe5)]);}[_0x44ee9b(0xe7)](){const _0x82b9cb=_0x44ee9b;this[_0x82b9cb(0xd2)]=_0x9a6766(_0xe0eaee[_0x82b9cb(0x10e)],_0x82b9cb(0xeb),{'ctx-name':_0x82b9cb(0xfa)+this[_0x82b9cb(0x115)]}),_0xe0eaee[_0x82b9cb(0x10e)][_0x82b9cb(0xcc)][_0x82b9cb(0xf3)](this[_0x82b9cb(0xd2)]);}[_0x44ee9b(0xf7)](){const _0x51fcb2=_0x44ee9b,_0x4c095e=this[_0x51fcb2(0xe1)][_0x51fcb2(0x105)][_0x51fcb2(0xd7)](_0x51fcb2(0x109));_0x4c095e&&this[_0x51fcb2(0xc6)](_0x4c095e,_0x51fcb2(0x104),()=>{const _0x32aa14=_0x51fcb2,_0x5b985b=this[_0x32aa14(0xe1)][_0x32aa14(0xcb)][_0x32aa14(0x10e)][_0x32aa14(0x113)][_0x32aa14(0xd8)]();_0x5b985b&&_0x5b985b[_0x32aa14(0xf8)](_0x32aa14(0xf2))&&this[_0x32aa14(0xe1)][_0x32aa14(0x106)][_0x32aa14(0x112)][_0x32aa14(0xf4)](_0x32aa14(0x102),()=>{const _0x22152b=_0x32aa14;_0x3e2af9(this[_0x22152b(0xe1)],_0x5b985b);});});const _0x498a7c=this[_0x51fcb2(0xe1)][_0x51fcb2(0x105)][_0x51fcb2(0xd7)](_0x51fcb2(0xe8));_0x498a7c&&this[_0x51fcb2(0xc6)](_0x498a7c,_0x51fcb2(0x104),()=>{const _0x3c3c61=_0x51fcb2,_0xbfd70a=this[_0x3c3c61(0xe1)][_0x3c3c61(0xcb)][_0x3c3c61(0x10e)][_0x3c3c61(0x113)][_0x3c3c61(0xd8)]();_0xbfd70a&&_0xbfd70a[_0x3c3c61(0xf8)](_0x3c3c61(0xf2))&&this[_0x3c3c61(0xe1)][_0x3c3c61(0x106)][_0x3c3c61(0x112)][_0x3c3c61(0xf4)](_0x3c3c61(0x102),()=>{const _0x13a99c=_0x3c3c61;_0x3e2af9(this[_0x13a99c(0xe1)],_0xbfd70a);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x30e82d,ObservableMixin as _0x34f315}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x497b84}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x468faa}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1732e1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2125ce}from'../../utils/uploadutils.js';import{getImageUrls as _0x1cce76,getImageDimension as _0x383261}from'../../utils/editingutils.js';import{isAncestor as _0x46ae9d}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x34f315(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4df512,_0x170364,_0x2cff0c){super(),this['_editor']=_0x4df512,this['_dialog']=_0x170364,this['_imageElement']=_0x2cff0c,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 _0x5bbcfb=this['_imageElement'],_0x6107db=_0x5bbcfb['getAttribute']('uploadcareImageId'),_0x1ca961=_0x5bbcfb['getAttribute']('src');if(_0x6107db)await this['_loadImageInfo'](_0x6107db,_0x1ca961);else{if(this['_imageCache']['has'](_0x1ca961)){const _0x4bb995=this['_imageCache']['get'](_0x1ca961);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb995['url'],this['imageDimension']=_0x4bb995['dimension'],this['imageId']=_0x4bb995['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5a1efc}=this['_editor'],t=_0x5a1efc['t'],_0x14a79a=new _0x1732e1(_0x5a1efc,this['imageStatus'],this['_attributes']);_0x14a79a['bind']('status')['to'](this,'imageStatus'),_0x14a79a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14a79a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14a79a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14a79a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x468faa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14a79a,'position':_0x497b84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14a79a['focus']();},'onHide':()=>{_0x14a79a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15db2a=>!_0x46ae9d(_0x15db2a,_0x14a79a['element'])}});}['_loadImageInfo'](_0x359f4f,_0x29b6){return _0x2125ce['getInfo'](_0x359f4f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3cc37c=>{const {width:_0x158718,height:_0x334ce4}=_0x3cc37c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29b6,this['imageDimension']={'width':_0x158718,'height':_0x334ce4},this['imageId']=_0x359f4f;})['catch'](_0x39e2e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39e2e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bab05,_0x52a935){return this['_getImageAsFile'](_0x5bab05)['then'](_0x557148=>_0x2125ce['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':_0x52a935['signal'],'file':_0x557148,'onProgress':_0x3b6c92=>{_0x3b6c92&&_0x3b6c92['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b6c92['value']));}}))['then'](_0x461729=>{const {width:_0x25bed5,height:_0x45bff1}=_0x461729['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x461729['cdnUrl'],this['imageDimension']={'width':_0x25bed5,'height':_0x45bff1},this['imageId']=_0x461729['uuid'],this['imageUploadProgress']=null;const _0x37226a=_0x5bab05['getAttribute']('src');this['_imageCache']['set'](_0x37226a,{'id':_0x461729['uuid'],'url':_0x461729['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xaf022f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xaf022f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x357e1b,_0x37748a){_0x357e1b['on']('apply',(_0x1b8d65,_0x330367)=>{this['_replaceImage'](_0x37748a,_0x330367['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x357e1b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x357e1b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x507a00,_0x1cd96f,_0x4862f6){const _0x2a2625=this['_editor'],{width:_0x222056,height:_0x1017b8}=_0x383261(_0x1cd96f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x340bbd,imageSources:_0x1680dd}=_0x1cce76(_0x1cd96f,_0x222056);_0x2a2625['model']['change'](_0xdd0fd7=>{if('$graveyard'===_0x507a00['root']['rootName']){_0x2a2625['execute']('insertImage',{'imageType':_0x507a00['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x507a00['getAttributes']()),'uploadcareImageId':_0x4862f6,'src':_0x340bbd,'sources':_0x1680dd,'width':_0x222056,'height':_0x1017b8}});const _0x277d5c=_0x507a00['getChildren']();_0x507a00=_0x2a2625['model']['document']['selection']['getSelectedElement']();for(const _0x1a3f43 of _0x277d5c)_0xdd0fd7['append'](_0xdd0fd7['cloneElement'](_0x1a3f43),_0x507a00);}else _0xdd0fd7['setSelection'](_0x507a00,'on'),_0x2a2625['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x507a00['getAttributes']()),'uploadcareImageId':_0x4862f6,'src':_0x340bbd,'sources':_0x1680dd,'width':_0x222056,'height':_0x1017b8},_0x507a00);_0xdd0fd7['setSelection'](_0x507a00,'on');});}async['_getImageAsFile'](_0x129dcd){const _0x4695ea=_0x30e82d['window'],_0x21392c=_0x30e82d['document']['location']['href'],_0xffb345=new _0x4695ea['URL'](_0x129dcd['getAttribute']('src'),_0x21392c);if('data:'===_0xffb345['protocol']){const _0x421d13=_0xffb345['href']['split'](','),_0x483061=_0x421d13[0x0]['match'](/:(.*?);/)[0x1],_0x45bd48=_0x483061['split']('/')[0x1],_0x5e2e93=_0x4695ea['atob'](_0x421d13[_0x421d13['length']-0x1]);let _0x1cef59=_0x5e2e93['length'];const _0x54a2fb=new _0x4695ea['Uint8Array'](_0x1cef59);for(;_0x1cef59--;)_0x54a2fb[_0x1cef59]=_0x5e2e93['charCodeAt'](_0x1cef59);return new _0x4695ea['File']([_0x54a2fb],'image.'+_0x45bd48,{'type':_0x483061});}const _0x68fd48=_0xffb345['href']['split']('/'),_0x453563=_0x68fd48[_0x68fd48['length']-0x1],_0x540356=_0x453563['split']('.')[0x1];return _0x4695ea['fetch'](_0xffb345['href'])['then'](_0x21b55c=>_0x21b55c['clone']()['blob']())['then'](_0x216465=>new _0x4695ea['File']([_0x216465],_0x453563,{'type':'image/'+_0x540356}));}}
23
+ import{global as _0x8cf286,ObservableMixin as _0x50d9d9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x11f2e9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1cdd77}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x50ca6f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x56806b}from'../../utils/uploadutils.js';import{getImageUrls as _0x3fb365,getImageDimension as _0x2d3e86}from'../../utils/editingutils.js';import{isAncestor as _0x2e0301}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x50d9d9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2970a7,_0x64498c,_0x2f20a8){super(),this['_editor']=_0x2970a7,this['_dialog']=_0x64498c,this['_imageElement']=_0x2f20a8,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 _0x105016=this['_imageElement'],_0x4f3d84=_0x105016['getAttribute']('uploadcareImageId'),_0x13e988=_0x105016['getAttribute']('src');if(_0x4f3d84)await this['_loadImageInfo'](_0x4f3d84,_0x13e988);else{if(this['_imageCache']['has'](_0x13e988)){const _0x4b146a=this['_imageCache']['get'](_0x13e988);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b146a['url'],this['imageDimension']=_0x4b146a['dimension'],this['imageId']=_0x4b146a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x316d19}=this['_editor'],t=_0x316d19['t'],_0x2f328c=new _0x50ca6f(_0x316d19,this['imageStatus'],this['_attributes']);_0x2f328c['bind']('status')['to'](this,'imageStatus'),_0x2f328c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f328c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f328c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f328c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1cdd77,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f328c,'position':_0x11f2e9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f328c['focus']();},'onHide':()=>{_0x2f328c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5db956=>!_0x2e0301(_0x5db956,_0x2f328c['element'])}});}['_loadImageInfo'](_0x56538f,_0x304bdd){return _0x56806b['getInfo'](_0x56538f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x268924=>{const {width:_0x23e9ff,height:_0x496195}=_0x268924['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x304bdd,this['imageDimension']={'width':_0x23e9ff,'height':_0x496195},this['imageId']=_0x56538f;})['catch'](_0x363ec6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x363ec6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5b9d09,_0x2d8f82){return this['_getImageAsFile'](_0x5b9d09)['then'](_0x37a196=>_0x56806b['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':_0x2d8f82['signal'],'file':_0x37a196,'onProgress':_0x27e272=>{_0x27e272&&_0x27e272['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27e272['value']));}}))['then'](_0x235d83=>{const {width:_0x41d24c,height:_0x140c58}=_0x235d83['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x235d83['cdnUrl'],this['imageDimension']={'width':_0x41d24c,'height':_0x140c58},this['imageId']=_0x235d83['uuid'],this['imageUploadProgress']=null;const _0x48baba=_0x5b9d09['getAttribute']('src');this['_imageCache']['set'](_0x48baba,{'id':_0x235d83['uuid'],'url':_0x235d83['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c2f2f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c2f2f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48b711,_0x4c5b7b){_0x48b711['on']('apply',(_0x3487f0,_0x473dfd)=>{this['_replaceImage'](_0x4c5b7b,_0x473dfd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48b711['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48b711['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x571a51,_0x44bb1c,_0x132df4){const _0x5dc600=this['_editor'],{width:_0x519035,height:_0xec2972}=_0x2d3e86(_0x44bb1c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e3650,imageSources:_0x1e236b}=_0x3fb365(_0x44bb1c,_0x519035);_0x5dc600['model']['change'](_0x1f1f87=>{if('$graveyard'===_0x571a51['root']['rootName']){_0x5dc600['execute']('insertImage',{'imageType':_0x571a51['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x571a51['getAttributes']()),'uploadcareImageId':_0x132df4,'src':_0x3e3650,'sources':_0x1e236b,'width':_0x519035,'height':_0xec2972}});const _0x5668f7=_0x571a51['getChildren']();_0x571a51=_0x5dc600['model']['document']['selection']['getSelectedElement']();for(const _0x25e0d1 of _0x5668f7)_0x1f1f87['append'](_0x1f1f87['cloneElement'](_0x25e0d1),_0x571a51);}else _0x1f1f87['setSelection'](_0x571a51,'on'),_0x5dc600['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x571a51['getAttributes']()),'uploadcareImageId':_0x132df4,'src':_0x3e3650,'sources':_0x1e236b,'width':_0x519035,'height':_0xec2972},_0x571a51);_0x1f1f87['setSelection'](_0x571a51,'on');});}async['_getImageAsFile'](_0x460b7e){const _0xf11c9f=_0x8cf286['window'],_0x1b4b35=_0x8cf286['document']['location']['href'],_0x5222a4=new _0xf11c9f['URL'](_0x460b7e['getAttribute']('src'),_0x1b4b35);if('data:'===_0x5222a4['protocol']){const _0x5b6efd=_0x5222a4['href']['split'](','),_0x359a06=_0x5b6efd[0x0]['match'](/:(.*?);/)[0x1],_0x494f9f=_0x359a06['split']('/')[0x1],_0x539105=_0xf11c9f['atob'](_0x5b6efd[_0x5b6efd['length']-0x1]);let _0x589119=_0x539105['length'];const _0x2ecd0c=new _0xf11c9f['Uint8Array'](_0x589119);for(;_0x589119--;)_0x2ecd0c[_0x589119]=_0x539105['charCodeAt'](_0x589119);return new _0xf11c9f['File']([_0x2ecd0c],'image.'+_0x494f9f,{'type':_0x359a06});}const _0x1652e0=_0x5222a4['href']['split']('/'),_0x210351=_0x1652e0[_0x1652e0['length']-0x1],_0x4fa60f=_0x210351['split']('.')[0x1];return _0xf11c9f['fetch'](_0x5222a4['href'])['then'](_0x20ebb8=>_0x20ebb8['clone']()['blob']())['then'](_0x2827ad=>new _0xf11c9f['File']([_0x2827ad],_0x210351,{'type':'image/'+_0x4fa60f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5473(_0x276f53,_0x124803){const _0x346fec=_0x346f();return _0x5473=function(_0x547318,_0x1d76c3){_0x547318=_0x547318-0x198;let _0x2ebe75=_0x346fec[_0x547318];return _0x2ebe75;},_0x5473(_0x276f53,_0x124803);}(function(_0x163e3a,_0x5072c2){const _0x4dd88f=_0x5473,_0x4c8f70=_0x163e3a();while(!![]){try{const _0x45e592=parseInt(_0x4dd88f(0x1a4))/0x1+-parseInt(_0x4dd88f(0x1a7))/0x2+parseInt(_0x4dd88f(0x1a5))/0x3+-parseInt(_0x4dd88f(0x19e))/0x4*(parseInt(_0x4dd88f(0x1a8))/0x5)+-parseInt(_0x4dd88f(0x1a9))/0x6*(parseInt(_0x4dd88f(0x1a2))/0x7)+-parseInt(_0x4dd88f(0x198))/0x8*(parseInt(_0x4dd88f(0x1a1))/0x9)+parseInt(_0x4dd88f(0x199))/0xa;if(_0x45e592===_0x5072c2)break;else _0x4c8f70['push'](_0x4c8f70['shift']());}catch(_0x519f17){_0x4c8f70['push'](_0x4c8f70['shift']());}}}(_0x346f,0x44361));import{View as _0x3a6bf3}from'ckeditor5/src/ui.js';function _0x346f(){const _0x151b89=['27LrqwOQ','7OAWGfr','imageSrc','422519NVeNMX','917457dOpmBl','image-edit','916608XqXKCh','83165wxLMaN','1546548pjBauG','1138808lSPOlu','8771330ezZpea','uc-cloud-image-editor','ck-uploadcare-theme','set','setTemplate','44GetzLg','uc-light','bindTemplate'];_0x346f=function(){return _0x151b89;};return _0x346f();}export class UploadcareImageEditFormEditingView extends _0x3a6bf3{constructor(_0x14883b,_0x7e0529){const _0x560203=_0x5473;super(_0x14883b);const _0xf552c0=this[_0x560203(0x1a0)];this[_0x560203(0x19c)](_0x560203(0x1a3),''),this[_0x560203(0x19d)]({'tag':_0x560203(0x19a),'attributes':{..._0x7e0529,'class':[_0x560203(0x19f),_0x560203(0x19b)],'ctx-name':_0x560203(0x1a6),'cdn-url':_0xf552c0['to'](_0x560203(0x1a3))}});}}
23
+ (function(_0x59206d,_0x26fb40){const _0x35151f=_0x338c,_0x12427b=_0x59206d();while(!![]){try{const _0x23a13d=-parseInt(_0x35151f(0x85))/0x1+parseInt(_0x35151f(0x8d))/0x2+parseInt(_0x35151f(0x89))/0x3*(-parseInt(_0x35151f(0x8f))/0x4)+-parseInt(_0x35151f(0x8e))/0x5*(-parseInt(_0x35151f(0x95))/0x6)+parseInt(_0x35151f(0x88))/0x7+parseInt(_0x35151f(0x90))/0x8*(-parseInt(_0x35151f(0x8b))/0x9)+parseInt(_0x35151f(0x8a))/0xa*(parseInt(_0x35151f(0x93))/0xb);if(_0x23a13d===_0x26fb40)break;else _0x12427b['push'](_0x12427b['shift']());}catch(_0x4d96b2){_0x12427b['push'](_0x12427b['shift']());}}}(_0x5cbc,0x438b7));function _0x5cbc(){const _0x3934e1=['ck-uploadcare-theme','533554wRvIet','375WPtiya','30VIyuUh','22284wIocNF','uc-light','864756chYlVV','5ToLOud','15960aDunNe','1112wQkwuF','image-edit','set','2122714NTjmVV','bindTemplate','3214602bUGSRh','imageSrc','uc-cloud-image-editor','503712JjaIXj','setTemplate'];_0x5cbc=function(){return _0x3934e1;};return _0x5cbc();}import{View as _0x241e98}from'ckeditor5/src/ui.js';function _0x338c(_0x37673a,_0x27782a){const _0x5cbccc=_0x5cbc();return _0x338c=function(_0x338c39,_0x57739c){_0x338c39=_0x338c39-0x85;let _0x40e223=_0x5cbccc[_0x338c39];return _0x40e223;},_0x338c(_0x37673a,_0x27782a);}export class UploadcareImageEditFormEditingView extends _0x241e98{constructor(_0x14ceb1,_0x512e7b){const _0x3011a4=_0x338c;super(_0x14ceb1);const _0x3b9ae3=this[_0x3011a4(0x94)];this[_0x3011a4(0x92)](_0x3011a4(0x96),''),this[_0x3011a4(0x86)]({'tag':_0x3011a4(0x97),'attributes':{..._0x512e7b,'class':[_0x3011a4(0x8c),_0x3011a4(0x87)],'ctx-name':_0x3011a4(0x91),'cdn-url':_0x3b9ae3['to'](_0x3011a4(0x96))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2179bc}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b679a,IconView as _0x3081e3,View as _0x4fa078}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4fa078{constructor(_0x483d72){super(_0x483d72);const t=_0x483d72['t'];this['set']('errorType',null);const _0x31d576=new _0x3b679a(_0x483d72);_0x31d576['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x31d576['withText']=!0x0,_0x31d576['class']='ck-button-action',_0x31d576['on']('execute',()=>{this['fire']('retry');}),_0x31d576['bind']('isVisible')['to'](this,'errorType',_0x15492e=>'NotFound'!==_0x15492e);const _0x3cc7f2=new _0x3081e3();_0x3cc7f2['content']=_0x2179bc,_0x3cc7f2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30a485=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':[_0x3cc7f2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30a485['to']('errorType',_0x356456=>t('NotFound'!==_0x356456?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x31d576]},{'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 _0x82d02f}from'ckeditor5/src/icons.js';import{ButtonView as _0xf859f0,IconView as _0xeb54f6,View as _0x15d5f6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x15d5f6{constructor(_0xccc344){super(_0xccc344);const t=_0xccc344['t'];this['set']('errorType',null);const _0x34fd8b=new _0xf859f0(_0xccc344);_0x34fd8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x34fd8b['withText']=!0x0,_0x34fd8b['class']='ck-button-action',_0x34fd8b['on']('execute',()=>{this['fire']('retry');}),_0x34fd8b['bind']('isVisible')['to'](this,'errorType',_0x3c30c6=>'NotFound'!==_0x3c30c6);const _0x3ae0bf=new _0xeb54f6();_0x3ae0bf['content']=_0x82d02f,_0x3ae0bf['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x163b18=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':[_0x3ae0bf,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x163b18['to']('errorType',_0x42c8bc=>t('NotFound'!==_0x42c8bc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x34fd8b]},{'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 _0xeb1469,View as _0x123a6d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x123a6d{constructor(_0x4bd28e){super(_0x4bd28e);const t=_0x4bd28e['t'],_0x135b8f=this['bindTemplate'],_0x5dc2a6=new _0xeb1469();_0x5dc2a6['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':[_0x5dc2a6,{'text':_0x135b8f['to']('imageUploadProgress',_0xc0388d=>t('Loading\x20image...')+'\x20('+(_0xc0388d||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 _0x2e0b0f,View as _0x1dd85d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1dd85d{constructor(_0x15eec1){super(_0x15eec1);const t=_0x15eec1['t'],_0xa7fa80=this['bindTemplate'],_0x23901c=new _0x2e0b0f();_0x23901c['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':[_0x23901c,{'text':_0xa7fa80['to']('imageUploadProgress',_0x460680=>t('Loading\x20image...')+'\x20('+(_0x460680||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 _0x2db1bc=_0x588f;(function(_0x4705f8,_0x2eac21){const _0x11b763=_0x588f,_0x5295d9=_0x4705f8();while(!![]){try{const _0x1aaafb=parseInt(_0x11b763(0x116))/0x1*(-parseInt(_0x11b763(0x119))/0x2)+-parseInt(_0x11b763(0xec))/0x3+parseInt(_0x11b763(0xf7))/0x4*(parseInt(_0x11b763(0x102))/0x5)+parseInt(_0x11b763(0xfe))/0x6*(parseInt(_0x11b763(0x11d))/0x7)+-parseInt(_0x11b763(0x10f))/0x8*(parseInt(_0x11b763(0xff))/0x9)+parseInt(_0x11b763(0x11c))/0xa*(parseInt(_0x11b763(0xfc))/0xb)+-parseInt(_0x11b763(0xee))/0xc*(-parseInt(_0x11b763(0x11b))/0xd);if(_0x1aaafb===_0x2eac21)break;else _0x5295d9['push'](_0x5295d9['shift']());}catch(_0x3ae772){_0x5295d9['push'](_0x5295d9['shift']());}}}(_0x208c,0xc588c));function _0x208c(){const _0x4f677c=['once','filter','_setView','nodeName','ck-uploadcare-form','addMany','92936zkTbka','clear','ck-reset_all-excluded','observe','element','focus','_addUploadcareImageEditorListeners','211472WIXukJ','div','status','8nCaTul','uploading','741hqYneq','4280MoHuHD','4293933jDHNKy','cancel','_items','_errorView','_editingView','set','_waitForImageEditorComponent','error','retry','4767789pfBkoC','change:status','233724vOvsxM','createCollection','target','addEventListener','disconnect','toLowerCase','ready','getFocusableElement','_addErrorViewListeners','1146932Rqijcr','cdnUrl','setTemplate','length','fire','14047JUbjWe','render','12FrxaoC','387POAFvb','uc-cloud-image-editor','addedNodes','15HkNcTb','apply','_focusableView','querySelector','add','_loadingView','detail'];_0x208c=function(){return _0x4f677c;};return _0x208c();}function _0x588f(_0x4034ee,_0x3d72d1){const _0x208ca1=_0x208c();return _0x588f=function(_0x588faa,_0x19f5b6){_0x588faa=_0x588faa-0xec;let _0x2e482f=_0x208ca1[_0x588faa];return _0x2e482f;},_0x588f(_0x4034ee,_0x3d72d1);}import{View as _0x42cb38}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2d5873}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x355c4e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x231775}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x47a303}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x47a303{[_0x2db1bc(0x11f)];[_0x2db1bc(0x107)];[_0x2db1bc(0x120)];[_0x2db1bc(0x121)];[_0x2db1bc(0x104)];constructor(_0x5a6b30,_0x1082e4,_0x4c9eb0){const _0xaf441c=_0x2db1bc;super(_0x5a6b30),this[_0xaf441c(0x11f)]=this[_0xaf441c(0xef)](),this[_0xaf441c(0x107)]=new _0x2d5873(_0x5a6b30),this[_0xaf441c(0x120)]=new _0x355c4e(_0x5a6b30),this[_0xaf441c(0x121)]=new _0x231775(_0x5a6b30,_0x4c9eb0),this[_0xaf441c(0x104)]=new _0x42cb38(_0x5a6b30),this[_0xaf441c(0x104)][_0xaf441c(0xf9)](this[_0xaf441c(0xf5)]()),this[_0xaf441c(0x122)](_0xaf441c(0x118),_0x1082e4),this[_0xaf441c(0xf9)]({'tag':_0xaf441c(0x117),'attributes':{'class':['ck',_0xaf441c(0x111),_0xaf441c(0x10d)],'tabindex':'-1'},'children':this[_0xaf441c(0x11f)]}),this[_0xaf441c(0x10b)](),this[_0xaf441c(0x109)](_0xaf441c(0xfd),()=>{const _0x2ae76a=_0xaf441c;this[_0x2ae76a(0x123)](this[_0x2ae76a(0x113)],_0x41250a=>{const _0x259758=_0x2ae76a;this[_0x259758(0x115)](_0x41250a);});}),this['on'](_0xaf441c(0xed),()=>{const _0x3e57b2=_0xaf441c;this[_0x3e57b2(0x10b)]();}),this[_0xaf441c(0xf6)]();}[_0x2db1bc(0x114)](){const _0x525db4=_0x2db1bc;this[_0x525db4(0x113)][_0x525db4(0x114)]();}[_0x2db1bc(0x10b)](){const _0x979354=_0x2db1bc;switch(this[_0x979354(0x11f)][_0x979354(0x110)](),this[_0x979354(0x118)]){case _0x979354(0x11a):this[_0x979354(0x11f)][_0x979354(0x106)](this[_0x979354(0x107)]);break;case _0x979354(0x124):this[_0x979354(0x11f)][_0x979354(0x106)](this[_0x979354(0x120)]);break;case _0x979354(0xf4):this[_0x979354(0x11f)][_0x979354(0x10e)]([this[_0x979354(0x121)],this[_0x979354(0x104)]]);}}[_0x2db1bc(0x123)](_0x5f4bab,_0x1a2757){const _0x30bc45=_0x2db1bc,_0x59f876=_0x30bc45(0x100),_0x2a2f4c=_0x5f4bab[_0x30bc45(0x105)](_0x59f876);if(_0x2a2f4c)return _0x1a2757(_0x2a2f4c);const _0x3db156=new MutationObserver(_0x3c6f35=>{const _0x48959b=_0x30bc45,_0xbd3128=_0x3c6f35[_0x48959b(0x10a)](_0xe2987e=>_0xe2987e[_0x48959b(0xf0)]===_0x5f4bab&&_0xe2987e[_0x48959b(0x101)][_0x48959b(0xfa)]>0x0&&_0xe2987e[_0x48959b(0x101)][0x0][_0x48959b(0x10c)][_0x48959b(0xf3)]()===_0x59f876);_0xbd3128[_0x48959b(0xfa)]&&(_0x3db156[_0x48959b(0xf2)](),_0x1a2757(_0xbd3128[0x0][_0x48959b(0x101)][0x0]));});_0x3db156[_0x30bc45(0x112)](_0x5f4bab,{'childList':!0x0,'subtree':!0x0});}[_0x2db1bc(0x115)](_0x24bb8c){const _0x4f4909=_0x2db1bc;_0x24bb8c[_0x4f4909(0xf1)](_0x4f4909(0x103),_0x16f776=>{const _0x2422de=_0x4f4909;this[_0x2422de(0xfb)](_0x2422de(0x103),{'imageSrc':_0x16f776[_0x2422de(0x108)][_0x2422de(0xf8)]});}),_0x24bb8c[_0x4f4909(0xf1)](_0x4f4909(0x11e),()=>{const _0x3eac51=_0x4f4909;this[_0x3eac51(0xfb)](_0x3eac51(0x11e));});}[_0x2db1bc(0xf6)](){const _0x672c73=_0x2db1bc;this[_0x672c73(0x120)]['on'](_0x672c73(0x125),()=>{const _0x132a4c=_0x672c73;this[_0x132a4c(0xfb)](_0x132a4c(0x125));});}}
23
+ function _0x3775(_0x27d4ab,_0x12f22a){const _0x1c07c1=_0x1c07();return _0x3775=function(_0x377598,_0x1a7eb0){_0x377598=_0x377598-0xb1;let _0x1a8b3b=_0x1c07c1[_0x377598];return _0x1a8b3b;},_0x3775(_0x27d4ab,_0x12f22a);}const _0x19316f=_0x3775;(function(_0x4b8d3f,_0x423b82){const _0x40ff17=_0x3775,_0x3b189f=_0x4b8d3f();while(!![]){try{const _0x3a8852=parseInt(_0x40ff17(0xd9))/0x1*(parseInt(_0x40ff17(0xb4))/0x2)+-parseInt(_0x40ff17(0xe6))/0x3+-parseInt(_0x40ff17(0xba))/0x4*(-parseInt(_0x40ff17(0xc8))/0x5)+parseInt(_0x40ff17(0xdc))/0x6+-parseInt(_0x40ff17(0xbd))/0x7*(-parseInt(_0x40ff17(0xc1))/0x8)+parseInt(_0x40ff17(0xc6))/0x9+-parseInt(_0x40ff17(0xda))/0xa;if(_0x3a8852===_0x423b82)break;else _0x3b189f['push'](_0x3b189f['shift']());}catch(_0x3db9de){_0x3b189f['push'](_0x3b189f['shift']());}}}(_0x1c07,0x25893));import{View as _0xafd42f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1f039a}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xc6e189}from'./uploadcareimageeditformerrorview.js';function _0x1c07(){const _0xc3dee9=['_waitForImageEditorComponent','cancel','_errorView','render','fire','uploading','observe','createCollection','ready','status','detail','disconnect','nodeName','84181SjwzyU','5966590LrAWkE','div','979608gdXNmc','toLowerCase','_setView','_focusableView','_items','focus','error','add','uc-cloud-image-editor','element','517590jJahxd','addedNodes','once','change:status','_addUploadcareImageEditorListeners','4ETjfgD','apply','cdnUrl','_editingView','clear','_loadingView','24044bgoasU','ck-reset_all-excluded','_addErrorViewListeners','14BnyCVL','addMany','getFocusableElement','filter','524264GzDzCn','setTemplate','querySelector','set','length','2140497DgHtRG','target','185xkPwvm','addEventListener','retry','ck-uploadcare-form'];_0x1c07=function(){return _0xc3dee9;};return _0x1c07();}import{UploadcareImageEditFormEditingView as _0x57bdcd}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1d1695}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1d1695{[_0x19316f(0xe0)];[_0x19316f(0xb9)];[_0x19316f(0xce)];[_0x19316f(0xb7)];[_0x19316f(0xdf)];constructor(_0x412170,_0x13b12a,_0x16c84a){const _0x26a160=_0x19316f;super(_0x412170),this[_0x26a160(0xe0)]=this[_0x26a160(0xd3)](),this[_0x26a160(0xb9)]=new _0x1f039a(_0x412170),this[_0x26a160(0xce)]=new _0xc6e189(_0x412170),this[_0x26a160(0xb7)]=new _0x57bdcd(_0x412170,_0x16c84a),this[_0x26a160(0xdf)]=new _0xafd42f(_0x412170),this[_0x26a160(0xdf)][_0x26a160(0xc2)](this[_0x26a160(0xbf)]()),this[_0x26a160(0xc4)](_0x26a160(0xd5),_0x13b12a),this[_0x26a160(0xc2)]({'tag':_0x26a160(0xdb),'attributes':{'class':['ck',_0x26a160(0xbb),_0x26a160(0xcb)],'tabindex':'-1'},'children':this[_0x26a160(0xe0)]}),this[_0x26a160(0xde)](),this[_0x26a160(0xb1)](_0x26a160(0xcf),()=>{const _0x3d4c1b=_0x26a160;this[_0x3d4c1b(0xcc)](this[_0x3d4c1b(0xe5)],_0x4a600d=>{const _0xcf7639=_0x3d4c1b;this[_0xcf7639(0xb3)](_0x4a600d);});}),this['on'](_0x26a160(0xb2),()=>{const _0x3f9e35=_0x26a160;this[_0x3f9e35(0xde)]();}),this[_0x26a160(0xbc)]();}[_0x19316f(0xe1)](){const _0x33c89d=_0x19316f;this[_0x33c89d(0xe5)][_0x33c89d(0xe1)]();}[_0x19316f(0xde)](){const _0x3647e2=_0x19316f;switch(this[_0x3647e2(0xe0)][_0x3647e2(0xb8)](),this[_0x3647e2(0xd5)]){case _0x3647e2(0xd1):this[_0x3647e2(0xe0)][_0x3647e2(0xe3)](this[_0x3647e2(0xb9)]);break;case _0x3647e2(0xe2):this[_0x3647e2(0xe0)][_0x3647e2(0xe3)](this[_0x3647e2(0xce)]);break;case _0x3647e2(0xd4):this[_0x3647e2(0xe0)][_0x3647e2(0xbe)]([this[_0x3647e2(0xb7)],this[_0x3647e2(0xdf)]]);}}[_0x19316f(0xcc)](_0x7a4175,_0x57d6e4){const _0x2dc6b7=_0x19316f,_0x3d77d7=_0x2dc6b7(0xe4),_0x17ce2c=_0x7a4175[_0x2dc6b7(0xc3)](_0x3d77d7);if(_0x17ce2c)return _0x57d6e4(_0x17ce2c);const _0x14ee20=new MutationObserver(_0x53e3a3=>{const _0x2063f4=_0x2dc6b7,_0x55614e=_0x53e3a3[_0x2063f4(0xc0)](_0x2c3c30=>_0x2c3c30[_0x2063f4(0xc7)]===_0x7a4175&&_0x2c3c30[_0x2063f4(0xe7)][_0x2063f4(0xc5)]>0x0&&_0x2c3c30[_0x2063f4(0xe7)][0x0][_0x2063f4(0xd8)][_0x2063f4(0xdd)]()===_0x3d77d7);_0x55614e[_0x2063f4(0xc5)]&&(_0x14ee20[_0x2063f4(0xd7)](),_0x57d6e4(_0x55614e[0x0][_0x2063f4(0xe7)][0x0]));});_0x14ee20[_0x2dc6b7(0xd2)](_0x7a4175,{'childList':!0x0,'subtree':!0x0});}[_0x19316f(0xb3)](_0xc2f44d){const _0x25b096=_0x19316f;_0xc2f44d[_0x25b096(0xc9)](_0x25b096(0xb5),_0x10dc5b=>{const _0x3377b8=_0x25b096;this[_0x3377b8(0xd0)](_0x3377b8(0xb5),{'imageSrc':_0x10dc5b[_0x3377b8(0xd6)][_0x3377b8(0xb6)]});}),_0xc2f44d[_0x25b096(0xc9)](_0x25b096(0xcd),()=>{const _0x486ea1=_0x25b096;this[_0x486ea1(0xd0)](_0x486ea1(0xcd));});}[_0x19316f(0xbc)](){const _0x59d131=_0x19316f;this[_0x59d131(0xce)]['on'](_0x59d131(0xca),()=>{const _0x186255=_0x59d131;this[_0x186255(0xd0)](_0x186255(0xca));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38190a=_0x5143;function _0xe71c(){const _0x22383e=['isActive','config','execute','refresh','8904510iVvoSN','310bDoYcY','plugins','35775awalEz','get','404QvKMcF','_isEditable','document','1199547cOUTHP','selection','imageEditController','10253EzMaJW','uploadcare.allowExternalImagesEditing','96YecTfW','imageBlock','editor','getSelectedElement','imageInline','set','unbind','3276522JRlSNd','element','bind','5453IIvxwN','isEnabled','4404rLNCGD','model','1702701bHGwiu','requires'];_0xe71c=function(){return _0x22383e;};return _0xe71c();}(function(_0x5cd9f1,_0x54e0f6){const _0x38178e=_0x5143,_0x1e2c58=_0x5cd9f1();while(!![]){try{const _0x3a36b8=parseInt(_0x38178e(0x100))/0x1*(-parseInt(_0x38178e(0x117))/0x2)+parseInt(_0x38178e(0x109))/0x3+parseInt(_0x38178e(0xfa))/0x4*(-parseInt(_0x38178e(0xf8))/0x5)+parseInt(_0x38178e(0x10e))/0x6*(-parseInt(_0x38178e(0x10c))/0x7)+-parseInt(_0x38178e(0x102))/0x8*(-parseInt(_0x38178e(0xfd))/0x9)+parseInt(_0x38178e(0x116))/0xa+parseInt(_0x38178e(0x110))/0xb;if(_0x3a36b8===_0x54e0f6)break;else _0x1e2c58['push'](_0x1e2c58['shift']());}catch(_0x4a16c0){_0x1e2c58['push'](_0x1e2c58['shift']());}}}(_0xe71c,0xd04a4));import{Command as _0x2f0c67}from'ckeditor5/src/core.js';import{Dialog as _0x55c190}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5d5b64}from'./ui/uploadcareimageeditcontroller.js';function _0x5143(_0x57b8c8,_0x1e0104){const _0xe71cbd=_0xe71c();return _0x5143=function(_0x514327,_0x21331e){_0x514327=_0x514327-0xf7;let _0x5ddf81=_0xe71cbd[_0x514327];return _0x5ddf81;},_0x5143(_0x57b8c8,_0x1e0104);}import{createEditabilityChecker as _0x4deb45}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2f0c67{[_0x38190a(0xff)];static get[_0x38190a(0x111)](){return[_0x55c190];}[_0x38190a(0xfb)];constructor(_0x5f2569){const _0x20a663=_0x38190a;super(_0x5f2569),this[_0x20a663(0xff)]=void 0x0,this[_0x20a663(0xfb)]=_0x4deb45(_0x5f2569[_0x20a663(0x113)][_0x20a663(0xf9)](_0x20a663(0x101))||[]),this[_0x20a663(0x107)]({'isActive':!0x1});}[_0x38190a(0x115)](){const _0x2c4632=_0x38190a,_0x5b169d=this[_0x2c4632(0x104)][_0x2c4632(0x10f)][_0x2c4632(0xfc)][_0x2c4632(0xfe)][_0x2c4632(0x105)]();this[_0x2c4632(0x10d)]=this[_0x2c4632(0xfb)](_0x5b169d);}[_0x38190a(0x114)](){const _0x57306b=_0x38190a;this[_0x57306b(0xff)]&&(this[_0x57306b(0x108)](_0x57306b(0x112)),this[_0x57306b(0xff)]=void 0x0);const _0x11f0d8=this[_0x57306b(0x104)][_0x57306b(0x10f)][_0x57306b(0xfc)][_0x57306b(0xfe)][_0x57306b(0x105)]();_0x11f0d8&&(_0x11f0d8['is'](_0x57306b(0x10a),_0x57306b(0x103))||_0x11f0d8['is'](_0x57306b(0x10a),_0x57306b(0x106)))&&(this[_0x57306b(0xff)]=new _0x5d5b64(this[_0x57306b(0x104)],this[_0x57306b(0x104)][_0x57306b(0xf7)][_0x57306b(0xf9)](_0x55c190),_0x11f0d8),this[_0x57306b(0x10b)](_0x57306b(0x112))['to'](this[_0x57306b(0xff)],_0x57306b(0x112)));}}
23
+ const _0x26c45d=_0x1aa2;(function(_0x1af6a6,_0x27091f){const _0x16d994=_0x1aa2,_0x5bea27=_0x1af6a6();while(!![]){try{const _0x520a00=parseInt(_0x16d994(0x187))/0x1*(parseInt(_0x16d994(0x172))/0x2)+parseInt(_0x16d994(0x177))/0x3+-parseInt(_0x16d994(0x188))/0x4+parseInt(_0x16d994(0x178))/0x5+parseInt(_0x16d994(0x189))/0x6*(-parseInt(_0x16d994(0x175))/0x7)+-parseInt(_0x16d994(0x180))/0x8+parseInt(_0x16d994(0x18e))/0x9;if(_0x520a00===_0x27091f)break;else _0x5bea27['push'](_0x5bea27['shift']());}catch(_0x53fd4f){_0x5bea27['push'](_0x5bea27['shift']());}}}(_0x5e7d,0x9d46b));import{Command as _0x274739}from'ckeditor5/src/core.js';import{Dialog as _0x265f70}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1f7585}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1ab096}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x274739{[_0x26c45d(0x174)];static get[_0x26c45d(0x17a)](){return[_0x265f70];}[_0x26c45d(0x18b)];constructor(_0x4fb374){const _0x514143=_0x26c45d;super(_0x4fb374),this[_0x514143(0x174)]=void 0x0,this[_0x514143(0x18b)]=_0x1ab096(_0x4fb374[_0x514143(0x17f)][_0x514143(0x173)](_0x514143(0x17c))||[]),this[_0x514143(0x18f)]({'isActive':!0x1});}[_0x26c45d(0x184)](){const _0x431a00=_0x26c45d,_0x51c425=this[_0x431a00(0x18a)][_0x431a00(0x190)][_0x431a00(0x182)][_0x431a00(0x176)][_0x431a00(0x179)]();this[_0x431a00(0x18d)]=this[_0x431a00(0x18b)](_0x51c425);}[_0x26c45d(0x17b)](){const _0x16c404=_0x26c45d;this[_0x16c404(0x174)]&&(this[_0x16c404(0x185)](_0x16c404(0x183)),this[_0x16c404(0x174)]=void 0x0);const _0x1208eb=this[_0x16c404(0x18a)][_0x16c404(0x190)][_0x16c404(0x182)][_0x16c404(0x176)][_0x16c404(0x179)]();_0x1208eb&&(_0x1208eb['is'](_0x16c404(0x18c),_0x16c404(0x17e))||_0x1208eb['is'](_0x16c404(0x18c),_0x16c404(0x17d)))&&(this[_0x16c404(0x174)]=new _0x1f7585(this[_0x16c404(0x18a)],this[_0x16c404(0x18a)][_0x16c404(0x186)][_0x16c404(0x173)](_0x265f70),_0x1208eb),this[_0x16c404(0x181)](_0x16c404(0x183))['to'](this[_0x16c404(0x174)],_0x16c404(0x183)));}}function _0x1aa2(_0x24335e,_0x25dd22){const _0x5e7dea=_0x5e7d();return _0x1aa2=function(_0x1aa2d5,_0x284c10){_0x1aa2d5=_0x1aa2d5-0x172;let _0x4d559a=_0x5e7dea[_0x1aa2d5];return _0x4d559a;},_0x1aa2(_0x24335e,_0x25dd22);}function _0x5e7d(){const _0x90de70=['element','isEnabled','11500704eHmckA','set','model','56782jxnXXH','get','imageEditController','15001DFWGYU','selection','1254789XugNuJ','139805oWhqqy','getSelectedElement','requires','execute','uploadcare.allowExternalImagesEditing','imageInline','imageBlock','config','3733632UfHmWM','bind','document','isActive','refresh','unbind','plugins','33BYmHzJ','2454340iXSaVP','2622qqLYNh','editor','_isEditable'];_0x5e7d=function(){return _0x90de70;};return _0x5e7d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7420(){const _0x2ce46a=['isPremiumPlugin','requires','isOfficialPlugin','commands','pluginName','373005gOKODL','ImageUtils','36wIdUUq','12qSyNbT','4531300PAZbKI','2DJqZmC','uploadcareImageEdit','ImageEditing','347594aImQWl','3415872IOWkGr','add','UploadcareImageEditEditing','2255991eDduVH','6337996hUScdK','uploadcareImageReplace','init','257192IvhIXR'];_0x7420=function(){return _0x2ce46a;};return _0x7420();}const _0x1864fd=_0x4ab7;(function(_0x5611f8,_0x46796f){const _0x5503cc=_0x4ab7,_0x1f4337=_0x5611f8();while(!![]){try{const _0x379ce2=-parseInt(_0x5503cc(0x1b1))/0x1+-parseInt(_0x5503cc(0x1c4))/0x2*(parseInt(_0x5503cc(0x1b5))/0x3)+parseInt(_0x5503cc(0x1c2))/0x4*(-parseInt(_0x5503cc(0x1bf))/0x5)+parseInt(_0x5503cc(0x1b2))/0x6+parseInt(_0x5503cc(0x1b6))/0x7+parseInt(_0x5503cc(0x1b9))/0x8*(-parseInt(_0x5503cc(0x1c1))/0x9)+parseInt(_0x5503cc(0x1c3))/0xa;if(_0x379ce2===_0x46796f)break;else _0x1f4337['push'](_0x1f4337['shift']());}catch(_0x190372){_0x1f4337['push'](_0x1f4337['shift']());}}}(_0x7420,0x742e8));function _0x4ab7(_0xe85f63,_0x41b49a){const _0x7420d4=_0x7420();return _0x4ab7=function(_0x4ab7a6,_0x471684){_0x4ab7a6=_0x4ab7a6-0x1b0;let _0x5d1f2f=_0x7420d4[_0x4ab7a6];return _0x5d1f2f;},_0x4ab7(_0xe85f63,_0x41b49a);}import{Plugin as _0x4c662d}from'ckeditor5/src/core.js';import{Notification as _0x3836f8}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x49a5b8}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2a1f60}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3b8b39}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c662d{static get[_0x1864fd(0x1be)](){const _0x360073=_0x1864fd;return _0x360073(0x1b4);}static get[_0x1864fd(0x1bb)](){const _0x4ee3cd=_0x1864fd;return[_0x3b8b39,_0x3836f8,_0x4ee3cd(0x1c0),_0x4ee3cd(0x1b0)];}static get[_0x1864fd(0x1bc)](){return!0x0;}static get[_0x1864fd(0x1ba)](){return!0x0;}[_0x1864fd(0x1b8)](){const _0x1b93cd=_0x1864fd,{editor:_0x58a3a6}=this;_0x58a3a6[_0x1b93cd(0x1bd)][_0x1b93cd(0x1b3)](_0x1b93cd(0x1c5),new _0x49a5b8(_0x58a3a6)),_0x58a3a6[_0x1b93cd(0x1bd)][_0x1b93cd(0x1b3)](_0x1b93cd(0x1b7),new _0x2a1f60(_0x58a3a6));}}
23
+ const _0x5b11a7=_0x5e92;(function(_0x1a05f1,_0x5ae22e){const _0x4bec15=_0x5e92,_0xcbadbc=_0x1a05f1();while(!![]){try{const _0x540c28=parseInt(_0x4bec15(0x1fc))/0x1*(-parseInt(_0x4bec15(0x205))/0x2)+parseInt(_0x4bec15(0x1ee))/0x3+parseInt(_0x4bec15(0x204))/0x4+parseInt(_0x4bec15(0x1f6))/0x5*(-parseInt(_0x4bec15(0x1f7))/0x6)+-parseInt(_0x4bec15(0x1fb))/0x7*(parseInt(_0x4bec15(0x1f2))/0x8)+-parseInt(_0x4bec15(0x202))/0x9*(parseInt(_0x4bec15(0x1f3))/0xa)+parseInt(_0x4bec15(0x1f0))/0xb*(parseInt(_0x4bec15(0x200))/0xc);if(_0x540c28===_0x5ae22e)break;else _0xcbadbc['push'](_0xcbadbc['shift']());}catch(_0x2ce517){_0xcbadbc['push'](_0xcbadbc['shift']());}}}(_0x5807,0x31392));import{Plugin as _0x524a2c}from'ckeditor5/src/core.js';import{Notification as _0x344d31}from'ckeditor5/src/ui.js';function _0x5e92(_0x4b26c7,_0x3082b1){const _0x58073c=_0x5807();return _0x5e92=function(_0x5e9271,_0x1516fd){_0x5e9271=_0x5e9271-0x1ee;let _0x207107=_0x58073c[_0x5e9271];return _0x207107;},_0x5e92(_0x4b26c7,_0x3082b1);}import{UploadcareImageEditCommand as _0x191c27}from'./uploadcareimageeditcommand.js';function _0x5807(){const _0x47794d=['commands','isOfficialPlugin','83365vLgFda','96kifvJf','pluginName','uploadcareImageEdit','uploadcareImageReplace','864283SpIlDE','11489nUcztU','UploadcareImageEditEditing','add','ImageUtils','12ZxzxJL','init','27QDaWjr','ImageEditing','986120WXoAao','2glVvNl','600975BYUEoE','requires','4516171UpFpON','isPremiumPlugin','24HYmIyF','23780MILwbT'];_0x5807=function(){return _0x47794d;};return _0x5807();}import{UploadcareImageReplaceCommand as _0xa76c9b}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5d21c6}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x524a2c{static get[_0x5b11a7(0x1f8)](){const _0x53793e=_0x5b11a7;return _0x53793e(0x1fd);}static get[_0x5b11a7(0x1ef)](){const _0x370af6=_0x5b11a7;return[_0x5d21c6,_0x344d31,_0x370af6(0x1ff),_0x370af6(0x203)];}static get[_0x5b11a7(0x1f5)](){return!0x0;}static get[_0x5b11a7(0x1f1)](){return!0x0;}[_0x5b11a7(0x201)](){const _0x1f58d4=_0x5b11a7,{editor:_0x16b828}=this;_0x16b828[_0x1f58d4(0x1f4)][_0x1f58d4(0x1fe)](_0x1f58d4(0x1f9),new _0x191c27(_0x16b828)),_0x16b828[_0x1f58d4(0x1f4)][_0x1f58d4(0x1fe)](_0x1f58d4(0x1fa),new _0xa76c9b(_0x16b828));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x320df1}from'ckeditor5/src/core.js';import{ButtonView as _0x32611a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x350e75}from'ckeditor5/src/icons.js';import{createElement as _0x5b7a25}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 _0x320df1{['_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 _0xec21fc=this['editor'];_0xec21fc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1706d0=>{const _0x1f7a51=_0xec21fc['commands']['get']('uploadcareImageEdit'),_0x43cc85=new _0x32611a(_0x1706d0),t=_0x1706d0['t'];return _0x43cc85['set']({'icon':_0x350e75,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x43cc85['bind']('isEnabled')['to'](_0x1f7a51),_0x43cc85['bind']('isOn')['to'](_0x1f7a51,'isActive'),this['listenTo'](_0x43cc85,'execute',()=>{_0xec21fc['execute']('uploadcareImageEdit'),_0xec21fc['editing']['view']['focus']();}),_0x43cc85;}),this['_initConfig']();}['_initConfig'](){const _0x116ebb=_0x5b7a25(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x116ebb),this['listenTo'](this['editor'],'destroy',()=>{_0x116ebb['remove']();});}}
23
+ import{Plugin as _0x413ba6}from'ckeditor5/src/core.js';import{ButtonView as _0xbb41f0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c3abd}from'ckeditor5/src/icons.js';import{createElement as _0x27df4e}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 _0x413ba6{['_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 _0x43728e=this['editor'];_0x43728e['ui']['componentFactory']['add']('uploadcareImageEdit',_0xd689e=>{const _0x4e1a41=_0x43728e['commands']['get']('uploadcareImageEdit'),_0x20da73=new _0xbb41f0(_0xd689e),t=_0xd689e['t'];return _0x20da73['set']({'icon':_0x4c3abd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20da73['bind']('isEnabled')['to'](_0x4e1a41),_0x20da73['bind']('isOn')['to'](_0x4e1a41,'isActive'),this['listenTo'](_0x20da73,'execute',()=>{_0x43728e['execute']('uploadcareImageEdit'),_0x43728e['editing']['view']['focus']();}),_0x20da73;}),this['_initConfig']();}['_initConfig'](){const _0x2e1294=_0x27df4e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2e1294),this['listenTo'](this['editor'],'destroy',()=>{_0x2e1294['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1278(){const _0x446104=['sizes','change','imageInline','setAttributes','srcset','selection','3YLSgVm','114091ukgsKx','1689765zRAdPu','482230BcREAi','model','element','isEnabled','29132nOOwJR','refresh','editor','execute','9wLebPT','1966232SSipQR','getSelectedElement','imageBlock','834320xMDUoH','966636hqhQyT','document','removeAttribute'];_0x1278=function(){return _0x446104;};return _0x1278();}const _0x2d029f=_0x43e1;(function(_0x2bed8e,_0x461688){const _0x1fa071=_0x43e1,_0x4decec=_0x2bed8e();while(!![]){try{const _0x52b4ba=-parseInt(_0x1fa071(0x1fb))/0x1+parseInt(_0x1fa071(0x1fd))/0x2+-parseInt(_0x1fa071(0x1fa))/0x3*(-parseInt(_0x1fa071(0x201))/0x4)+-parseInt(_0x1fa071(0x1f0))/0x5+parseInt(_0x1fa071(0x1f1))/0x6+parseInt(_0x1fa071(0x1fc))/0x7+parseInt(_0x1fa071(0x206))/0x8*(-parseInt(_0x1fa071(0x205))/0x9);if(_0x52b4ba===_0x461688)break;else _0x4decec['push'](_0x4decec['shift']());}catch(_0x102e54){_0x4decec['push'](_0x4decec['shift']());}}}(_0x1278,0x1e505));import{Command as _0x2cd652}from'ckeditor5/src/core.js';function _0x43e1(_0x31aa09,_0x5edb73){const _0x127846=_0x1278();return _0x43e1=function(_0x43e1f6,_0x47fefb){_0x43e1f6=_0x43e1f6-0x1f0;let _0x34bfda=_0x127846[_0x43e1f6];return _0x34bfda;},_0x43e1(_0x31aa09,_0x5edb73);}export class UploadcareImageReplaceCommand extends _0x2cd652{[_0x2d029f(0x202)](){const _0x5df798=_0x2d029f,_0x29a802=this[_0x5df798(0x203)][_0x5df798(0x1fe)][_0x5df798(0x1f2)][_0x5df798(0x1f9)][_0x5df798(0x207)]();this[_0x5df798(0x200)]=Boolean(_0x29a802&&(_0x29a802['is'](_0x5df798(0x1ff),_0x5df798(0x208))||_0x29a802['is'](_0x5df798(0x1ff),_0x5df798(0x1f6))));}[_0x2d029f(0x204)](_0x49c816){const _0x1d48a5=_0x2d029f,_0x2fc3eb=this[_0x1d48a5(0x203)][_0x1d48a5(0x1fe)][_0x1d48a5(0x1f2)][_0x1d48a5(0x1f9)][_0x1d48a5(0x207)]();this[_0x1d48a5(0x203)][_0x1d48a5(0x1fe)][_0x1d48a5(0x1f5)](_0x350213=>{const _0x484d29=_0x1d48a5;_0x350213[_0x484d29(0x1f7)](_0x49c816,_0x2fc3eb),_0x350213[_0x484d29(0x1f3)](_0x484d29(0x1f8),_0x2fc3eb),_0x350213[_0x484d29(0x1f3)](_0x484d29(0x1f4),_0x2fc3eb);});}}
23
+ const _0x2ab0c9=_0x5c3d;function _0x5c3d(_0x23306a,_0x5b9651){const _0x528434=_0x5284();return _0x5c3d=function(_0x5c3d0f,_0x2d1690){_0x5c3d0f=_0x5c3d0f-0x65;let _0x4efea9=_0x528434[_0x5c3d0f];return _0x4efea9;},_0x5c3d(_0x23306a,_0x5b9651);}function _0x5284(){const _0x1abf62=['removeAttribute','sizes','34812iiXtwt','editor','2342836Smwrkg','element','selection','setAttributes','execute','imageInline','change','srcset','6EhkVZE','2562270SNdPrW','2290197ahdsXs','453608wNSeYF','model','122248ClGkLU','document','imageBlock','refresh','isEnabled','getSelectedElement','433803eXjuUY','1128NWUqpM'];_0x5284=function(){return _0x1abf62;};return _0x5284();}(function(_0x3514db,_0x5e1d59){const _0xf4ee02=_0x5c3d,_0x3d1d57=_0x3514db();while(!![]){try{const _0x324bc3=-parseInt(_0xf4ee02(0x70))/0x1+parseInt(_0xf4ee02(0x72))/0x2+-parseInt(_0xf4ee02(0x78))/0x3+parseInt(_0xf4ee02(0x65))/0x4+parseInt(_0xf4ee02(0x6e))/0x5+parseInt(_0xf4ee02(0x6d))/0x6*(parseInt(_0xf4ee02(0x6f))/0x7)+parseInt(_0xf4ee02(0x79))/0x8*(-parseInt(_0xf4ee02(0x7c))/0x9);if(_0x324bc3===_0x5e1d59)break;else _0x3d1d57['push'](_0x3d1d57['shift']());}catch(_0x4b0bce){_0x3d1d57['push'](_0x3d1d57['shift']());}}}(_0x5284,0x53b4d));import{Command as _0x397073}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x397073{[_0x2ab0c9(0x75)](){const _0x15cbed=_0x2ab0c9,_0x4471e7=this[_0x15cbed(0x7d)][_0x15cbed(0x71)][_0x15cbed(0x73)][_0x15cbed(0x67)][_0x15cbed(0x77)]();this[_0x15cbed(0x76)]=Boolean(_0x4471e7&&(_0x4471e7['is'](_0x15cbed(0x66),_0x15cbed(0x74))||_0x4471e7['is'](_0x15cbed(0x66),_0x15cbed(0x6a))));}[_0x2ab0c9(0x69)](_0x2338ea){const _0x23a956=_0x2ab0c9,_0x1870e7=this[_0x23a956(0x7d)][_0x23a956(0x71)][_0x23a956(0x73)][_0x23a956(0x67)][_0x23a956(0x77)]();this[_0x23a956(0x7d)][_0x23a956(0x71)][_0x23a956(0x6b)](_0x233cbe=>{const _0x33edb1=_0x23a956;_0x233cbe[_0x33edb1(0x68)](_0x2338ea,_0x1870e7),_0x233cbe[_0x33edb1(0x7a)](_0x33edb1(0x6c),_0x1870e7),_0x233cbe[_0x33edb1(0x7a)](_0x33edb1(0x7b),_0x1870e7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x175fea=_0x2ef7;(function(_0x418f83,_0x2f6dea){var _0x471960=_0x2ef7,_0x4a20dd=_0x418f83();while(!![]){try{var _0x74a1f4=-parseInt(_0x471960(0x193))/0x1+parseInt(_0x471960(0x192))/0x2+-parseInt(_0x471960(0x198))/0x3*(-parseInt(_0x471960(0x19e))/0x4)+parseInt(_0x471960(0x19d))/0x5+parseInt(_0x471960(0x19f))/0x6*(-parseInt(_0x471960(0x199))/0x7)+-parseInt(_0x471960(0x19b))/0x8+parseInt(_0x471960(0x195))/0x9;if(_0x74a1f4===_0x2f6dea)break;else _0x4a20dd['push'](_0x4a20dd['shift']());}catch(_0x37c523){_0x4a20dd['push'](_0x4a20dd['shift']());}}}(_0x2e3e,0x9a303));import{Plugin as _0x137fa9}from'ckeditor5/src/core.js';function _0x2ef7(_0x56cdbc,_0x486bb6){var _0x2e3e0d=_0x2e3e();return _0x2ef7=function(_0x2ef76b,_0x1bc579){_0x2ef76b=_0x2ef76b-0x192;var _0xb5b416=_0x2e3e0d[_0x2ef76b];return _0xb5b416;},_0x2ef7(_0x56cdbc,_0x486bb6);}import{UploadcareImageEditEditing as _0x554bda}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x167594}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2e3e(){var _0x294e6d=['isPremiumPlugin','2027928MhAdBq','isOfficialPlugin','3862295alzdqP','4hRQbMo','3513030mvAJzl','179024iybHnA','228724fYzmDa','UploadcareImageEdit','6060222cGaTni','pluginName','requires','491838qruito','7aAejYu'];_0x2e3e=function(){return _0x294e6d;};return _0x2e3e();}export class UploadcareImageEdit extends _0x137fa9{static get[_0x175fea(0x196)](){var _0x58969a=_0x175fea;return _0x58969a(0x194);}static get[_0x175fea(0x197)](){return[_0x554bda,_0x167594];}static get[_0x175fea(0x19c)](){return!0x0;}static get[_0x175fea(0x19a)](){return!0x0;}}
23
+ var _0x13432b=_0x17a0;function _0x17a0(_0x4fe95c,_0x35b9b7){var _0x219df3=_0x219d();return _0x17a0=function(_0x17a0c5,_0x5d58f4){_0x17a0c5=_0x17a0c5-0x1ea;var _0x3012c2=_0x219df3[_0x17a0c5];return _0x3012c2;},_0x17a0(_0x4fe95c,_0x35b9b7);}(function(_0x2e0aeb,_0x2f58a1){var _0x1d6e21=_0x17a0,_0x52ad3e=_0x2e0aeb();while(!![]){try{var _0x5e7b9f=-parseInt(_0x1d6e21(0x1eb))/0x1*(parseInt(_0x1d6e21(0x1ee))/0x2)+-parseInt(_0x1d6e21(0x1f7))/0x3+parseInt(_0x1d6e21(0x1f5))/0x4*(parseInt(_0x1d6e21(0x1f3))/0x5)+-parseInt(_0x1d6e21(0x1f4))/0x6*(parseInt(_0x1d6e21(0x1f9))/0x7)+-parseInt(_0x1d6e21(0x1f8))/0x8*(parseInt(_0x1d6e21(0x1f2))/0x9)+parseInt(_0x1d6e21(0x1ed))/0xa*(parseInt(_0x1d6e21(0x1ea))/0xb)+parseInt(_0x1d6e21(0x1f1))/0xc;if(_0x5e7b9f===_0x2f58a1)break;else _0x52ad3e['push'](_0x52ad3e['shift']());}catch(_0x20c474){_0x52ad3e['push'](_0x52ad3e['shift']());}}}(_0x219d,0xef4bf));import{Plugin as _0x48f0e4}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5097fa}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xaf2c27}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x48f0e4{static get[_0x13432b(0x1ec)](){var _0x266e13=_0x13432b;return _0x266e13(0x1f0);}static get[_0x13432b(0x1f6)](){return[_0x5097fa,_0xaf2c27];}static get[_0x13432b(0x1fa)](){return!0x0;}static get[_0x13432b(0x1ef)](){return!0x0;}}function _0x219d(){var _0x184051=['43005720nIlPpV','10288827euWoQD','75VQkCnJ','10974mtdgmz','208640BWBQCX','requires','2833272QaRjuS','8fsiAFo','3199iLNxaO','isOfficialPlugin','2014045EMFFmm','9psbWnr','pluginName','70UiiMPt','387608yyZrrf','isPremiumPlugin','UploadcareImageEdit'];_0x219d=function(){return _0x184051;};return _0x219d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x451394=_0x4f60;(function(_0x15390d,_0x3c2ed6){const _0x11d036=_0x4f60,_0x55e0da=_0x15390d();while(!![]){try{const _0x4a3d4b=parseInt(_0x11d036(0xae))/0x1*(-parseInt(_0x11d036(0xc3))/0x2)+-parseInt(_0x11d036(0xc8))/0x3*(-parseInt(_0x11d036(0xab))/0x4)+parseInt(_0x11d036(0xe2))/0x5+-parseInt(_0x11d036(0xd4))/0x6*(parseInt(_0x11d036(0x9f))/0x7)+-parseInt(_0x11d036(0xbe))/0x8*(parseInt(_0x11d036(0xdf))/0x9)+parseInt(_0x11d036(0xe4))/0xa+parseInt(_0x11d036(0xb0))/0xb*(parseInt(_0x11d036(0xe5))/0xc);if(_0x4a3d4b===_0x3c2ed6)break;else _0x55e0da['push'](_0x55e0da['shift']());}catch(_0x16b1ac){_0x55e0da['push'](_0x55e0da['shift']());}}}(_0x47e9,0xb3df8));function _0x4f60(_0x579b84,_0x530c03){const _0x47e967=_0x47e9();return _0x4f60=function(_0x4f6091,_0xf14e4a){_0x4f6091=_0x4f6091-0x9b;let _0xaac76a=_0x47e967[_0x4f6091];return _0xaac76a;},_0x4f60(_0x579b84,_0x530c03);}import{Plugin as _0x4e94ce}from'ckeditor5/src/core.js';function _0x47e9(){const _0x8ee9d0=['4973912keALsZ','execute','label','307citVNx','uploadcareLicenseKeyValid','1682549vqkzop','withText','_createDropdownButtons','afterInit','invalid','Insert','text','Local','assetManager','registerIntegration','isImageSelected','init','type','featureNotAllowed','719288xKElxB','Replace','Dropbox','config','upload','3086ChRZFp','licenseKey','uploadcare.uploader.sourceList','tooltip','domainLimit','3SxZEAc','map','bind','_showLicenseError','destroy','commands','locale','uploadcareLicenseKeyNotAllowed','editor','ImageInsertUI','_createToolbarButton','isEnabled','474fSOrQf','uploadcare','url','reduce','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','shortText','isOfficialPlugin','uploadcareLicenseKeyInvalid','_createButton','uploadcareLicenseKeyExpired','9MBXIfA','_normalizeConfigSourceList','has','4870050lJUGbb','isPremiumPlugin','1529240ZCNgPQ','12bijoMZ','Facebook','entries','push','forEach','uploadcareLicenseKeyEvaluationLimit','Uploadcare','expired','plugins','URL','get','108367vljFxg','evaluationLimit','OneDrive','GPhotos','uploadcareLicenseKeyDomainLimit','icon','GDrive','_createMenuBarButtons','_licenseKeyCheckInterval','UploadcareUI','usageLimit','pluginName'];_0x47e9=function(){return _0x8ee9d0;};return _0x47e9();}import{IconDropbox as _0xec85fb,IconFacebook as _0x44c269,IconGoogleDrive as _0x62cc8d,IconGooglePhotos as _0x309875,IconUploadcareImageUpload as _0x133805,IconUploadcareLink as _0x390598,IconOneDrive as _0x39d151}from'ckeditor5/src/icons.js';import{ButtonView as _0x21bfea,MenuBarMenuListItemButtonView as _0xdf9559}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1ed500}from'./uploadcareconfig.js';import{getTranslation as _0x475e32}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4e94ce{[_0x451394(0xc4)];[_0x451394(0xa7)];static get[_0x451394(0xaa)](){const _0xc1a480=_0x451394;return _0xc1a480(0xa8);}static get[_0x451394(0xdb)](){return!0x0;}static get[_0x451394(0xe3)](){return!0x0;}[_0x451394(0xbb)](){const _0x4645e9=_0x451394;this[_0x4645e9(0xc4)]=this[_0x4645e9(0xd0)][_0x4645e9(0xc1)][_0x4645e9(0x9e)](_0x4645e9(0xc4));const _0x2c2246=this[_0x4645e9(0xd0)];this[_0x4645e9(0xa7)]=setInterval(()=>{const _0x4ba5ba=_0x4645e9;let _0x4787ef;for(const _0x3bbeb9 in _0x2c2246){const _0x469eee=_0x3bbeb9,_0x2a608c=_0x2c2246[_0x469eee];if(_0x4ba5ba(0xaf)==_0x2a608c||_0x4ba5ba(0xdc)==_0x2a608c||_0x4ba5ba(0xde)==_0x2a608c||_0x4ba5ba(0xa3)==_0x2a608c||_0x4ba5ba(0xcf)==_0x2a608c||_0x4ba5ba(0xea)==_0x2a608c||_0x4ba5ba(0xd8)==_0x2a608c){delete _0x2c2246[_0x469eee],_0x4787ef=_0x2a608c,clearInterval(this[_0x4ba5ba(0xa7)]),this[_0x4ba5ba(0xa7)]=void 0x0;break;}}_0x4ba5ba(0xdc)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xb4)),_0x4ba5ba(0xde)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0x9b)),_0x4ba5ba(0xa3)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xc7)),_0x4ba5ba(0xcf)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xbd),_0x4ba5ba(0xeb)),_0x4ba5ba(0xea)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xa0)),_0x4ba5ba(0xd8)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xa9));},0x3e8);}[_0x451394(0xb3)](){const _0x4fd242=_0x451394,{editor:_0x1ab7ff}=this,_0x3abb7b=_0x1ab7ff[_0x4fd242(0xcd)][_0x4fd242(0x9e)](_0x4fd242(0xd5));if(!_0x3abb7b)return;const _0x3eabd1=this[_0x4fd242(0xe0)](_0x1ab7ff[_0x4fd242(0xc1)][_0x4fd242(0x9e)](_0x4fd242(0xc5)))[_0x4fd242(0xd7)]((_0x313bc0,_0x435d9e)=>{const _0xf62d5f=_0x4fd242,_0x428861=this[_0xf62d5f(0xd9)](_0x435d9e[_0xf62d5f(0xbc)]);return _0x313bc0[_0x428861]||(_0x313bc0[_0x428861]=[]),_0x313bc0[_0x428861][_0xf62d5f(0xe8)](_0x435d9e),_0x313bc0;},{});_0x1ab7ff[_0x4fd242(0x9c)][_0x4fd242(0xe1)](_0x4fd242(0xd1))&&_0x1ab7ff[_0x4fd242(0xcd)][_0x4fd242(0x9e)](_0x4fd242(0xd5))&&Object[_0x4fd242(0xe7)](_0x3eabd1)[_0x4fd242(0xe9)](([_0x79dbda,_0x37516a])=>{const _0x28caef=_0x4fd242;_0x1ab7ff[_0x28caef(0x9c)][_0x28caef(0x9e)](_0x28caef(0xd1))[_0x28caef(0xb9)]({'name':_0x79dbda,'observable':()=>_0x3abb7b,'buttonViewCreator':()=>this[_0x28caef(0xd2)](_0x37516a),'formViewCreator':()=>this[_0x28caef(0xb2)](_0x37516a),'menuBarButtonViewCreator':()=>this[_0x28caef(0xa6)](_0x37516a),'override':_0x28caef(0xb8)!==_0x79dbda});});}[_0x451394(0xcc)](){const _0x232313=_0x451394;super[_0x232313(0xcc)](),this[_0x232313(0xa7)]&&clearInterval(this[_0x232313(0xa7)]);}[_0x451394(0xe0)](_0x3959ed){const _0xda5e15=_0x451394,{locale:_0x34fee1}=this[_0xda5e15(0xd0)];return _0x3959ed[_0xda5e15(0xc9)](_0x34c616=>{const _0x5294dd=_0xda5e15,_0x2adb85=_0x475e32(_0x34fee1,_0x34c616,_0x5294dd(0xb5));switch(_0x34c616){case _0x1ed500[_0x5294dd(0xb7)]:return{'icon':_0x133805,'type':_0x1ed500[_0x5294dd(0xb7)],..._0x2adb85};case _0x1ed500[_0x5294dd(0x9d)]:return{'icon':_0x390598,'type':_0x1ed500[_0x5294dd(0x9d)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xc0)]:return{'icon':_0xec85fb,'type':_0x1ed500[_0x5294dd(0xc0)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xe6)]:return{'icon':_0x44c269,'type':_0x1ed500[_0x5294dd(0xe6)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa5)]:return{'icon':_0x62cc8d,'type':_0x1ed500[_0x5294dd(0xa5)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa2)]:return{'icon':_0x309875,'type':_0x1ed500[_0x5294dd(0xa2)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa1)]:return{'icon':_0x39d151,'type':_0x1ed500[_0x5294dd(0xa1)],..._0x2adb85};}});}[_0x451394(0xd9)](_0x2c4117){const _0x5139d1=_0x451394;switch(_0x2c4117){case _0x1ed500[_0x5139d1(0xb7)]:return _0x5139d1(0xc2);case _0x1ed500[_0x5139d1(0x9d)]:return _0x5139d1(0xd6);default:return _0x5139d1(0xb8);}}[_0x451394(0xdd)](_0x2a3a93,_0x3c32a7){const _0x113ec8=_0x451394,_0x42be6e=this[_0x113ec8(0xd0)],_0x463b37=new _0x2a3a93(_0x42be6e[_0x113ec8(0xce)]),_0x16fc80=_0x42be6e[_0x113ec8(0xcd)][_0x113ec8(0x9e)](_0x113ec8(0xd5));return _0x463b37[_0x113ec8(0xca)](_0x113ec8(0xd3))['to'](_0x16fc80),_0x463b37['on'](_0x113ec8(0xac),()=>{const _0x5a4101=_0x113ec8;_0x16fc80[_0x5a4101(0xac)](_0x3c32a7);}),_0x463b37;}[_0x451394(0xd2)](_0x5c8ff0){const _0x2270b3=_0x451394,{locale:_0x103025}=this[_0x2270b3(0xd0)],_0x41f109=this[_0x2270b3(0xd0)][_0x2270b3(0x9c)][_0x2270b3(0x9e)](_0x2270b3(0xd1)),_0x1ea746=_0x5c8ff0[0x0],_0x4e62a8=this[_0x2270b3(0xdd)](_0x21bfea,_0x1ea746[_0x2270b3(0xbc)]);return _0x4e62a8[_0x2270b3(0xa4)]=_0x1ea746[_0x2270b3(0xa4)],_0x4e62a8[_0x2270b3(0xca)](_0x2270b3(0xad))['to'](_0x41f109,_0x2270b3(0xba),_0x2a093b=>_0x475e32(_0x103025,_0x1ea746[_0x2270b3(0xbc)],_0x2a093b?_0x2270b3(0xbf):_0x2270b3(0xb5))[_0x2270b3(0xb6)]),_0x4e62a8[_0x2270b3(0xc6)]=!0x0,_0x4e62a8;}[_0x451394(0xb2)](_0x43e091){const _0x527a12=_0x451394,{locale:_0x11ac7e}=this[_0x527a12(0xd0)],_0x4ee201=this[_0x527a12(0xd0)][_0x527a12(0x9c)][_0x527a12(0x9e)](_0x527a12(0xd1));return _0x43e091[_0x527a12(0xc9)](_0x45d679=>{const _0x126a06=_0x527a12,_0x1cbe86=this[_0x126a06(0xdd)](_0x21bfea,_0x45d679[_0x126a06(0xbc)]);return _0x1cbe86[_0x126a06(0xb1)]=!0x0,_0x1cbe86[_0x126a06(0xa4)]=_0x45d679[_0x126a06(0xa4)],_0x1cbe86[_0x126a06(0xca)](_0x126a06(0xad))['to'](_0x4ee201,_0x126a06(0xba),_0x5123a3=>_0x475e32(_0x11ac7e,_0x45d679[_0x126a06(0xbc)],_0x5123a3?_0x126a06(0xbf):_0x126a06(0xb5))[_0x126a06(0xb6)]),_0x1cbe86;});}[_0x451394(0xa6)](_0x4c2278){const _0x447aec=_0x451394;return _0x4c2278[_0x447aec(0xc9)](_0x898524=>{const _0x538ca6=_0x447aec,_0x487dd0=this[_0x538ca6(0xdd)](_0xdf9559,_0x898524[_0x538ca6(0xbc)]);return _0x487dd0[_0x538ca6(0xa4)]=_0x898524[_0x538ca6(0xa4)],_0x487dd0[_0x538ca6(0xad)]=_0x898524[_0x538ca6(0xda)],_0x487dd0;});}}
23
+ function _0x3a90(_0x2c0891,_0x43da80){const _0x5cd6d8=_0x5cd6();return _0x3a90=function(_0x3a90e4,_0x177b82){_0x3a90e4=_0x3a90e4-0x174;let _0x4d677f=_0x5cd6d8[_0x3a90e4];return _0x4d677f;},_0x3a90(_0x2c0891,_0x43da80);}const _0x46ca88=_0x3a90;(function(_0x3adba3,_0x19c1c9){const _0x56e6c7=_0x3a90,_0x2f1b5b=_0x3adba3();while(!![]){try{const _0x383dc9=-parseInt(_0x56e6c7(0x193))/0x1+parseInt(_0x56e6c7(0x1bc))/0x2*(parseInt(_0x56e6c7(0x1bd))/0x3)+-parseInt(_0x56e6c7(0x1b8))/0x4*(parseInt(_0x56e6c7(0x17b))/0x5)+parseInt(_0x56e6c7(0x186))/0x6+parseInt(_0x56e6c7(0x17d))/0x7*(-parseInt(_0x56e6c7(0x17f))/0x8)+parseInt(_0x56e6c7(0x1aa))/0x9+parseInt(_0x56e6c7(0x189))/0xa;if(_0x383dc9===_0x19c1c9)break;else _0x2f1b5b['push'](_0x2f1b5b['shift']());}catch(_0x29104d){_0x2f1b5b['push'](_0x2f1b5b['shift']());}}}(_0x5cd6,0x2dc8b));import{Plugin as _0x7623f9}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ff2c5,IconFacebook as _0x44689a,IconGoogleDrive as _0x34e6a5,IconGooglePhotos as _0x267573,IconUploadcareImageUpload as _0x95a94b,IconUploadcareLink as _0xc2f003,IconOneDrive as _0x118051}from'ckeditor5/src/icons.js';import{ButtonView as _0x122e12,MenuBarMenuListItemButtonView as _0x2f321c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x49600d}from'./uploadcareconfig.js';import{getTranslation as _0x508c80}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x5cd6(){const _0x5ac422=['ImageInsertUI','133252TPtxrh','_getIntegrationKey','config','tooltip','1254eKQQja','201EnslSZ','afterInit','licenseKey','_showLicenseError','URL','init','uploadcareLicenseKeyInvalid','editor','isPremiumPlugin','expired','Local','execute','entries','45oKpgra','uploadcareLicenseKeyExpired','525847ORAITL','GDrive','8pJNCgQ','GPhotos','pluginName','type','isOfficialPlugin','map','get','353154HLWblR','upload','invalid','3365960bloTqt','UploadcareUI','has','OneDrive','registerIntegration','uploadcare','uploadcareLicenseKeyEvaluationLimit','bind','isEnabled','uploadcareLicenseKeyDomainLimit','227637nHEjgl','uploadcare.uploader.sourceList','Insert','uploadcareLicenseKeyUsageLimit','Uploadcare','uploadcareLicenseKeyValid','commands','destroy','url','_createButton','forEach','icon','reduce','usageLimit','shortText','Replace','plugins','featureNotAllowed','Facebook','label','_licenseKeyCheckInterval','locale','push','3173778DBSBRD','evaluationLimit','isImageSelected','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','domainLimit','_createMenuBarButtons','withText','Dropbox','_createToolbarButton','assetManager','text','_normalizeConfigSourceList'];_0x5cd6=function(){return _0x5ac422;};return _0x5cd6();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x7623f9{[_0x46ca88(0x1bf)];[_0x46ca88(0x1a7)];static get[_0x46ca88(0x181)](){const _0x1a87d0=_0x46ca88;return _0x1a87d0(0x18a);}static get[_0x46ca88(0x183)](){return!0x0;}static get[_0x46ca88(0x176)](){return!0x0;}[_0x46ca88(0x1c2)](){const _0x5d4c4e=_0x46ca88;this[_0x5d4c4e(0x1bf)]=this[_0x5d4c4e(0x175)][_0x5d4c4e(0x1ba)][_0x5d4c4e(0x185)](_0x5d4c4e(0x1bf));const _0x27ad2b=this[_0x5d4c4e(0x175)];this[_0x5d4c4e(0x1a7)]=setInterval(()=>{const _0x41ea37=_0x5d4c4e;let _0x3a6ee6;for(const _0x1cd41a in _0x27ad2b){const _0x222de2=_0x1cd41a,_0x3c4eab=_0x27ad2b[_0x222de2];if(_0x41ea37(0x198)==_0x3c4eab||_0x41ea37(0x174)==_0x3c4eab||_0x41ea37(0x17c)==_0x3c4eab||_0x41ea37(0x192)==_0x3c4eab||_0x41ea37(0x1ad)==_0x3c4eab||_0x41ea37(0x18f)==_0x3c4eab||_0x41ea37(0x196)==_0x3c4eab){delete _0x27ad2b[_0x222de2],_0x3a6ee6=_0x3c4eab,clearInterval(this[_0x41ea37(0x1a7)]),this[_0x41ea37(0x1a7)]=void 0x0;break;}}_0x41ea37(0x174)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x188)),_0x41ea37(0x17c)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x177)),_0x41ea37(0x192)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x1af)),_0x41ea37(0x1ad)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x1a4),_0x41ea37(0x197)),_0x41ea37(0x18f)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x1ab)),_0x41ea37(0x196)==_0x3a6ee6&&_0x27ad2b[_0x41ea37(0x1c0)](_0x41ea37(0x1a0));},0x3e8);}[_0x46ca88(0x1be)](){const _0x27f63f=_0x46ca88,{editor:_0x827655}=this,_0x1940bf=_0x827655[_0x27f63f(0x199)][_0x27f63f(0x185)](_0x27f63f(0x18e));if(!_0x1940bf)return;const _0x4ddbcd=this[_0x27f63f(0x1b6)](_0x827655[_0x27f63f(0x1ba)][_0x27f63f(0x185)](_0x27f63f(0x194)))[_0x27f63f(0x19f)]((_0x29512d,_0x4c8b4a)=>{const _0x1e6ba3=_0x27f63f,_0x434989=this[_0x1e6ba3(0x1b9)](_0x4c8b4a[_0x1e6ba3(0x182)]);return _0x29512d[_0x434989]||(_0x29512d[_0x434989]=[]),_0x29512d[_0x434989][_0x1e6ba3(0x1a9)](_0x4c8b4a),_0x29512d;},{});_0x827655[_0x27f63f(0x1a3)][_0x27f63f(0x18b)](_0x27f63f(0x1b7))&&_0x827655[_0x27f63f(0x199)][_0x27f63f(0x185)](_0x27f63f(0x18e))&&Object[_0x27f63f(0x17a)](_0x4ddbcd)[_0x27f63f(0x19d)](([_0x8b1f68,_0x3dd8f3])=>{const _0x151eb2=_0x27f63f;_0x827655[_0x151eb2(0x1a3)][_0x151eb2(0x185)](_0x151eb2(0x1b7))[_0x151eb2(0x18d)]({'name':_0x8b1f68,'observable':()=>_0x1940bf,'buttonViewCreator':()=>this[_0x151eb2(0x1b3)](_0x3dd8f3),'formViewCreator':()=>this[_0x151eb2(0x1ae)](_0x3dd8f3),'menuBarButtonViewCreator':()=>this[_0x151eb2(0x1b0)](_0x3dd8f3),'override':_0x151eb2(0x1b4)!==_0x8b1f68});});}[_0x46ca88(0x19a)](){const _0x4f11af=_0x46ca88;super[_0x4f11af(0x19a)](),this[_0x4f11af(0x1a7)]&&clearInterval(this[_0x4f11af(0x1a7)]);}[_0x46ca88(0x1b6)](_0x30fc97){const _0x14f5cc=_0x46ca88,{locale:_0x1e892f}=this[_0x14f5cc(0x175)];return _0x30fc97[_0x14f5cc(0x184)](_0x37f34d=>{const _0x413b6d=_0x14f5cc,_0x157908=_0x508c80(_0x1e892f,_0x37f34d,_0x413b6d(0x195));switch(_0x37f34d){case _0x49600d[_0x413b6d(0x178)]:return{'icon':_0x95a94b,'type':_0x49600d[_0x413b6d(0x178)],..._0x157908};case _0x49600d[_0x413b6d(0x1c1)]:return{'icon':_0xc2f003,'type':_0x49600d[_0x413b6d(0x1c1)],..._0x157908};case _0x49600d[_0x413b6d(0x1b2)]:return{'icon':_0x2ff2c5,'type':_0x49600d[_0x413b6d(0x1b2)],..._0x157908};case _0x49600d[_0x413b6d(0x1a5)]:return{'icon':_0x44689a,'type':_0x49600d[_0x413b6d(0x1a5)],..._0x157908};case _0x49600d[_0x413b6d(0x17e)]:return{'icon':_0x34e6a5,'type':_0x49600d[_0x413b6d(0x17e)],..._0x157908};case _0x49600d[_0x413b6d(0x180)]:return{'icon':_0x267573,'type':_0x49600d[_0x413b6d(0x180)],..._0x157908};case _0x49600d[_0x413b6d(0x18c)]:return{'icon':_0x118051,'type':_0x49600d[_0x413b6d(0x18c)],..._0x157908};}});}[_0x46ca88(0x1b9)](_0x33ec1d){const _0x3d515b=_0x46ca88;switch(_0x33ec1d){case _0x49600d[_0x3d515b(0x178)]:return _0x3d515b(0x187);case _0x49600d[_0x3d515b(0x1c1)]:return _0x3d515b(0x19b);default:return _0x3d515b(0x1b4);}}[_0x46ca88(0x19c)](_0x1b5472,_0x3d8722){const _0x2fbe5f=_0x46ca88,_0x11f37b=this[_0x2fbe5f(0x175)],_0x4fbda8=new _0x1b5472(_0x11f37b[_0x2fbe5f(0x1a8)]),_0x11a449=_0x11f37b[_0x2fbe5f(0x199)][_0x2fbe5f(0x185)](_0x2fbe5f(0x18e));return _0x4fbda8[_0x2fbe5f(0x190)](_0x2fbe5f(0x191))['to'](_0x11a449),_0x4fbda8['on'](_0x2fbe5f(0x179),()=>{const _0x5edd7d=_0x2fbe5f;_0x11a449[_0x5edd7d(0x179)](_0x3d8722);}),_0x4fbda8;}[_0x46ca88(0x1b3)](_0x12c646){const _0x2831a9=_0x46ca88,{locale:_0x3f64e3}=this[_0x2831a9(0x175)],_0x1df805=this[_0x2831a9(0x175)][_0x2831a9(0x1a3)][_0x2831a9(0x185)](_0x2831a9(0x1b7)),_0xd911e7=_0x12c646[0x0],_0x1a0b8c=this[_0x2831a9(0x19c)](_0x122e12,_0xd911e7[_0x2831a9(0x182)]);return _0x1a0b8c[_0x2831a9(0x19e)]=_0xd911e7[_0x2831a9(0x19e)],_0x1a0b8c[_0x2831a9(0x190)](_0x2831a9(0x1a6))['to'](_0x1df805,_0x2831a9(0x1ac),_0x4f193c=>_0x508c80(_0x3f64e3,_0xd911e7[_0x2831a9(0x182)],_0x4f193c?_0x2831a9(0x1a2):_0x2831a9(0x195))[_0x2831a9(0x1b5)]),_0x1a0b8c[_0x2831a9(0x1bb)]=!0x0,_0x1a0b8c;}[_0x46ca88(0x1ae)](_0x33691c){const _0x487242=_0x46ca88,{locale:_0x37e7da}=this[_0x487242(0x175)],_0x1988ba=this[_0x487242(0x175)][_0x487242(0x1a3)][_0x487242(0x185)](_0x487242(0x1b7));return _0x33691c[_0x487242(0x184)](_0x17c596=>{const _0x441570=_0x487242,_0x174413=this[_0x441570(0x19c)](_0x122e12,_0x17c596[_0x441570(0x182)]);return _0x174413[_0x441570(0x1b1)]=!0x0,_0x174413[_0x441570(0x19e)]=_0x17c596[_0x441570(0x19e)],_0x174413[_0x441570(0x190)](_0x441570(0x1a6))['to'](_0x1988ba,_0x441570(0x1ac),_0x28bca4=>_0x508c80(_0x37e7da,_0x17c596[_0x441570(0x182)],_0x28bca4?_0x441570(0x1a2):_0x441570(0x195))[_0x441570(0x1b5)]),_0x174413;});}[_0x46ca88(0x1b0)](_0x127a08){const _0x332919=_0x46ca88;return _0x127a08[_0x332919(0x184)](_0x295039=>{const _0x2d8e5b=_0x332919,_0x15f20e=this[_0x2d8e5b(0x19c)](_0x2f321c,_0x295039[_0x2d8e5b(0x182)]);return _0x15f20e[_0x2d8e5b(0x19e)]=_0x295039[_0x2d8e5b(0x19e)],_0x15f20e[_0x2d8e5b(0x1a6)]=_0x295039[_0x2d8e5b(0x1a1)],_0x15f20e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x538036}from'ckeditor5/src/core.js';import{FileRepository as _0x583b83}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3a6322}from'./uploadcareediting.js';import{UploadUtils as _0x99fef9}from'./utils/uploadutils.js';import{getImageUrls as _0x97eae5}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x538036{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x583b83,_0x3a6322];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x258837=this['editor'];if(!!!_0x258837['config']['get']('uploadcare'))return;_0x258837['plugins']['get'](_0x583b83)['createUploadAdapter']=_0x294a62=>new k(_0x294a62,_0x258837),_0x258837['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e5c12,{imageElement:_0x1a4815,data:_0x167f17})=>{_0x258837['model']['change'](_0x1fd949=>{_0x1fd949['setAttribute']('uploadcareImageId',_0x167f17['uploadcareImageId'],_0x1a4815);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x45350a,_0x304218){this['loader']=_0x45350a,this['editor']=_0x304218,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3b950e=await this['loader']['file'];return _0x99fef9['upload']({'file':_0x3b950e,'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':_0x43b1b4=>{_0x43b1b4&&_0x43b1b4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x43b1b4['value']);}})['then'](async _0x3b0f07=>{const {imageFallbackUrl:_0x19b129,imageSources:_0x9d86ce}=_0x97eae5(_0x3b0f07['cdnUrl'],_0x3b0f07['imageInfo']['width']);return{'uploadcareImageId':_0x3b0f07['uuid'],'default':_0x19b129,'sources':_0x9d86ce};})['catch'](()=>{const _0x38403a=t('Cannot\x20upload\x20file:')+('\x20'+_0x3b950e['name']+'.');return Promise['reject'](_0x38403a);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4ea3da}from'ckeditor5/src/core.js';import{FileRepository as _0x48c796}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xf7318b}from'./uploadcareediting.js';import{UploadUtils as _0x15e25e}from'./utils/uploadutils.js';import{getImageUrls as _0x2c0b26}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4ea3da{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x48c796,_0xf7318b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x34198d=this['editor'];if(!!!_0x34198d['config']['get']('uploadcare'))return;_0x34198d['plugins']['get'](_0x48c796)['createUploadAdapter']=_0x2ed05d=>new k(_0x2ed05d,_0x34198d),_0x34198d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x857e11,{imageElement:_0x5c0105,data:_0x44b0b9})=>{_0x34198d['model']['change'](_0x3611a4=>{_0x3611a4['setAttribute']('uploadcareImageId',_0x44b0b9['uploadcareImageId'],_0x5c0105);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1a0061,_0x35729c){this['loader']=_0x1a0061,this['editor']=_0x35729c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2bd604=await this['loader']['file'];return _0x15e25e['upload']({'file':_0x2bd604,'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':_0x361182=>{_0x361182&&_0x361182['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x361182['value']);}})['then'](async _0x447dd8=>{const {imageFallbackUrl:_0x5af576,imageSources:_0x4253b6}=_0x2c0b26(_0x447dd8['cdnUrl'],_0x447dd8['imageInfo']['width']);return{'uploadcareImageId':_0x447dd8['uuid'],'default':_0x5af576,'sources':_0x4253b6};})['catch'](()=>{const _0xe3e342=t('Cannot\x20upload\x20file:')+('\x20'+_0x2bd604['name']+'.');return Promise['reject'](_0xe3e342);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x422707}from'../uploadcareconfig.js';export function getTranslation(_0x186217,_0x23b47e,_0x3d41f8){const t=_0x186217['t'],_0xb8bf76=_0x186217['t'];switch(_0x23b47e){case _0x422707['Local']:return{'text':_0xb8bf76('Insert'===_0x3d41f8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb8bf76('From\x20computer')};case _0x422707['URL']:return{'text':'Insert'===_0x3d41f8?_0xb8bf76('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb8bf76('Via\x20URL')};case _0x422707['Dropbox']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x422707['Facebook']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x422707['GDrive']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x422707['GPhotos']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x422707['OneDrive']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23b47e;}}
23
+ import{UploadcareSource as _0x5611ad}from'../uploadcareconfig.js';export function getTranslation(_0x277c3f,_0x3c0f42,_0x169df8){const t=_0x277c3f['t'],_0x3ef6a=_0x277c3f['t'];switch(_0x3c0f42){case _0x5611ad['Local']:return{'text':_0x3ef6a('Insert'===_0x169df8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3ef6a('From\x20computer')};case _0x5611ad['URL']:return{'text':'Insert'===_0x169df8?_0x3ef6a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3ef6a('Via\x20URL')};case _0x5611ad['Dropbox']:return{'text':t('Insert'===_0x169df8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5611ad['Facebook']:return{'text':t('Insert'===_0x169df8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5611ad['GDrive']:return{'text':t('Insert'===_0x169df8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5611ad['GPhotos']:return{'text':t('Insert'===_0x169df8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5611ad['OneDrive']:return{'text':t('Insert'===_0x169df8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3c0f42;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x52aefd=_0x228c;(function(_0x520a89,_0x708016){var _0x2ae203=_0x228c,_0x45214a=_0x520a89();while(!![]){try{var _0x8b5611=parseInt(_0x2ae203(0xe2))/0x1*(-parseInt(_0x2ae203(0xf2))/0x2)+parseInt(_0x2ae203(0xf3))/0x3*(-parseInt(_0x2ae203(0xee))/0x4)+parseInt(_0x2ae203(0xe8))/0x5*(-parseInt(_0x2ae203(0xe5))/0x6)+-parseInt(_0x2ae203(0xed))/0x7+parseInt(_0x2ae203(0xea))/0x8+parseInt(_0x2ae203(0xf1))/0x9+parseInt(_0x2ae203(0xeb))/0xa;if(_0x8b5611===_0x708016)break;else _0x45214a['push'](_0x45214a['shift']());}catch(_0x135306){_0x45214a['push'](_0x45214a['shift']());}}}(_0x3a32,0x93e57));import{FocusTracker as _0x20e4c7}from'ckeditor5/src/utils.js';function _0x3a32(){var _0x25c2e6=['createCollection','fire','4754286xNYsRS','16gRvEOV','1731ltruOU','true','84848eabcUb','forwardCycle','bindTemplate','229092eTqrcI','getFocusableElement','focusTracker','75KEglrY','div','6302744qXMcSJ','20491820ZRQGJm','focusCycler','7768964VRmXPr','2760mivvXt'];_0x3a32=function(){return _0x25c2e6;};return _0x3a32();}function _0x228c(_0x10f28d,_0x777ffb){var _0x3a322e=_0x3a32();return _0x228c=function(_0x228c31,_0x4e7ea9){_0x228c31=_0x228c31-0xe2;var _0x7ed612=_0x3a322e[_0x228c31];return _0x7ed612;},_0x228c(_0x10f28d,_0x777ffb);}import{View as _0x59f1ce,FocusCycler as _0x2d87de}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x59f1ce{[_0x52aefd(0xe7)];[_0x52aefd(0xec)];constructor(_0x35f022){var _0x1e6d5b=_0x52aefd;super(_0x35f022),this[_0x1e6d5b(0xe7)]=new _0x20e4c7(),this[_0x1e6d5b(0xec)]=new _0x2d87de({'focusables':this[_0x1e6d5b(0xef)](),'focusTracker':this[_0x1e6d5b(0xe7)]});}[_0x52aefd(0xe6)](){var _0x540768=_0x52aefd;return{'tag':_0x540768(0xe9),'attributes':{'aria-hidden':_0x540768(0xf4),'tabindex':'0'},'on':{'focus':this[_0x540768(0xe4)]['to'](()=>{var _0x41704e=_0x540768;this[_0x41704e(0xec)][_0x41704e(0xf0)](_0x41704e(0xe3));})}};}}
23
+ var _0x576a78=_0x5746;(function(_0x50b134,_0x3fc9e1){var _0x1a7169=_0x5746,_0x301bf5=_0x50b134();while(!![]){try{var _0x4cf335=parseInt(_0x1a7169(0xbf))/0x1*(-parseInt(_0x1a7169(0xcf))/0x2)+parseInt(_0x1a7169(0xcb))/0x3+-parseInt(_0x1a7169(0xc0))/0x4+-parseInt(_0x1a7169(0xc8))/0x5*(parseInt(_0x1a7169(0xbe))/0x6)+-parseInt(_0x1a7169(0xc6))/0x7*(-parseInt(_0x1a7169(0xc5))/0x8)+parseInt(_0x1a7169(0xc3))/0x9*(-parseInt(_0x1a7169(0xc2))/0xa)+parseInt(_0x1a7169(0xcd))/0xb;if(_0x4cf335===_0x3fc9e1)break;else _0x301bf5['push'](_0x301bf5['shift']());}catch(_0x4e1f91){_0x301bf5['push'](_0x301bf5['shift']());}}}(_0x5e1d,0x1d22e));function _0x5746(_0xbea5a5,_0x54fe43){var _0x5e1da8=_0x5e1d();return _0x5746=function(_0x57464e,_0x4057ec){_0x57464e=_0x57464e-0xbd;var _0x42679f=_0x5e1da8[_0x57464e];return _0x42679f;},_0x5746(_0xbea5a5,_0x54fe43);}import{FocusTracker as _0x9f442d}from'ckeditor5/src/utils.js';import{View as _0x1e4305,FocusCycler as _0x6e15e7}from'ckeditor5/src/ui.js';function _0x5e1d(){var _0xe0bdb8=['focusCycler','458934mNaWXx','getFocusableElement','5127001WIdbMb','forwardCycle','29254VcnQfe','fire','focusTracker','126636ILKFmx','13zMdqRk','835408wUPDXY','true','1540bjLODa','11079cAkXRj','div','1723888BMtBsY','7EOywwH','createCollection','30hYdMtg','bindTemplate'];_0x5e1d=function(){return _0xe0bdb8;};return _0x5e1d();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1e4305{[_0x576a78(0xbd)];[_0x576a78(0xca)];constructor(_0x1a627f){var _0x30c556=_0x576a78;super(_0x1a627f),this[_0x30c556(0xbd)]=new _0x9f442d(),this[_0x30c556(0xca)]=new _0x6e15e7({'focusables':this[_0x30c556(0xc7)](),'focusTracker':this[_0x30c556(0xbd)]});}[_0x576a78(0xcc)](){var _0x455c18=_0x576a78;return{'tag':_0x455c18(0xc4),'attributes':{'aria-hidden':_0x455c18(0xc1),'tabindex':'0'},'on':{'focus':this[_0x455c18(0xc9)]['to'](()=>{var _0x46aba2=_0x455c18;this[_0x46aba2(0xca)][_0x46aba2(0xd0)](_0x46aba2(0xce));})}};}}