@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250604.0 → 0.0.0-nightly-20250605.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 (175) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +2 -2
  3. package/dist/index.css +2 -2
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +11 -11
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.js +2 -2
  154. package/src/ui/uploadcareformview.js +1 -1
  155. package/src/uploadcare.js +1 -1
  156. package/src/uploadcarecommand.js +1 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cba41=_0x4c02;(function(_0x2214b7,_0x480402){const _0x8515c4=_0x4c02,_0x46be28=_0x2214b7();while(!![]){try{const _0x4dfb2a=-parseInt(_0x8515c4(0x1f2))/0x1+parseInt(_0x8515c4(0x1dc))/0x2+parseInt(_0x8515c4(0x1d5))/0x3+-parseInt(_0x8515c4(0x209))/0x4*(-parseInt(_0x8515c4(0x1ff))/0x5)+-parseInt(_0x8515c4(0x1c3))/0x6+parseInt(_0x8515c4(0x1bf))/0x7*(-parseInt(_0x8515c4(0x1ea))/0x8)+-parseInt(_0x8515c4(0x1f8))/0x9*(-parseInt(_0x8515c4(0x1e2))/0xa);if(_0x4dfb2a===_0x480402)break;else _0x46be28['push'](_0x46be28['shift']());}catch(_0xc41055){_0x46be28['push'](_0x46be28['shift']());}}}(_0x304b,0xca307));import{Plugin as _0x5e3456}from'ckeditor5/src/core.js';import{Dialog as _0xbd5622}from'ckeditor5/src/ui.js';function _0x4c02(_0x44fa99,_0x1c6622){const _0x304b6a=_0x304b();return _0x4c02=function(_0x4c02a8,_0x104d2b){_0x4c02a8=_0x4c02a8-0x1b7;let _0xedefef=_0x304b6a[_0x4c02a8];return _0xedefef;},_0x4c02(_0x44fa99,_0x1c6622);}import{createElement as _0xef758e,global as _0x42f9b4,uid as _0x3ec2a7}from'ckeditor5/src/utils.js';import _0x148ffa from'./uploadcarecommand.js';import _0x491209 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2fb543}from'./utils/editingutils.js';export default class i extends _0x5e3456{[_0x1cba41(0x1d2)]=null;[_0x1cba41(0x1cd)]=null;static get[_0x1cba41(0x1ec)](){const _0x2d7130=_0x1cba41;return _0x2d7130(0x1dd);}static get[_0x1cba41(0x1e0)](){const _0x3d17ae=_0x1cba41;return[_0x3d17ae(0x1de),_0x491209,_0xbd5622];}static get[_0x1cba41(0x1fe)](){return!0x0;}static get[_0x1cba41(0x1bd)](){return!0x0;}get[_0x1cba41(0x1c7)](){const _0x37b121=_0x1cba41;return this[_0x37b121(0x1d2)];}get[_0x1cba41(0x1c8)](){const _0x3a5e41=_0x1cba41;return this[_0x3a5e41(0x1cd)];}[_0x1cba41(0x1e6)](){const _0x4c15c4=_0x1cba41,_0x1086c9=this[_0x4c15c4(0x202)];_0x1086c9[_0x4c15c4(0x1d1)][_0x4c15c4(0x1ce)](_0x4c15c4(0x1c6),new _0x148ffa(_0x1086c9));}[_0x1cba41(0x1ee)](){const _0x560d50=_0x1cba41;this[_0x560d50(0x1f1)](),this[_0x560d50(0x206)](),this[_0x560d50(0x1db)](),this[_0x560d50(0x205)](),this[_0x560d50(0x1d6)](),this[_0x560d50(0x1ef)](this[_0x560d50(0x202)],_0x560d50(0x1d8),()=>{const _0x2c8183=_0x560d50;this[_0x2c8183(0x1d2)]&&(this[_0x2c8183(0x1d2)][_0x2c8183(0x1e3)](),this[_0x2c8183(0x1d2)]=null),this[_0x2c8183(0x1cd)]&&(this[_0x2c8183(0x1cd)][_0x2c8183(0x1e3)](),this[_0x2c8183(0x1cd)]=null);const _0x20bbc8=_0x42f9b4[_0x2c8183(0x1cf)][_0x2c8183(0x1b9)](_0x2c8183(0x1e1));_0x20bbc8&&_0x20bbc8[_0x2c8183(0x1e3)]();}),async function(_0x23029e){const _0x29a61c=_0x3792b0([0x77,0x44,0x62,0x70,0x37,0x50,0x5a,0x61,0x4a,0x42,0x52,0x31,0x4e,0x43,0x35,0x34,0x49,0x39,0x63,0x38,0x7a,0x6d,0x65,0x55,0x74,0x33,0x73,0x41,0x36,0x45,0x30,0x6a,0x57,0x76,0x64,0x56,0x6c,0x4c,0x47,0x4b,0x59,0x58,0x68,0x75,0x71,0x79,0x53,0x66,0x72,0x48,0x6e,0x4d,0x67,0x51,0x4f,0x6f,0x69,0x32,0x54,0x6b,0x78,0x46]),_0x39ed28=0x278c786c,_0x1c3aaa=0x278b11a4^_0x39ed28,_0x2b05f0=window[_0x3792b0([0x44,0x61,0x74,0x65])][_0x3792b0([0x6e,0x6f,0x77])](),_0x4c18bb=_0x23029e[_0x3792b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11a3dc=new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f09f=>{_0x4c18bb[_0x3792b0([0x6f,0x6e,0x63,0x65])](_0x3792b0([0x72,0x65,0x61,0x64,0x79]),_0x26f09f);}),_0x477d9b={[_0x3792b0([0x6b,0x74,0x79])]:_0x3792b0([0x45,0x43]),[_0x3792b0([0x75,0x73,0x65])]:_0x3792b0([0x73,0x69,0x67]),[_0x3792b0([0x63,0x72,0x76])]:_0x3792b0([0x50,0x2d,0x32,0x35,0x36]),[_0x3792b0([0x78])]:_0x3792b0([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]),[_0x3792b0([0x79])]:_0x3792b0([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]),[_0x3792b0([0x61,0x6c,0x67])]:_0x3792b0([0x45,0x53,0x32,0x35,0x36])},_0x1bfc3d=_0x4c18bb[_0x3792b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3792b0([0x67,0x65,0x74])](_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39cca7(){let _0xf2ace5,_0x79941b=null,_0x6abc5f=null;try{if(_0x1bfc3d==_0x3792b0([0x47,0x50,0x4c]))return _0x3792b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2ace5=_0x3cfec6(),!_0xf2ace5)return _0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2ace5[_0x3792b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6abc5f=_0xd8f8ce(_0xf2ace5[_0x3792b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2ace5[_0x3792b0([0x6a,0x74,0x69])])),await _0x37cde0()?_0x28338a()?_0x3ea708()?_0x3792b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x773a07()?(_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3792b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x79941b=_0x66a3c8(_0x3792b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3792b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x79941b=_0x66a3c8(_0x3792b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b7e3e()):_0x3792b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3792b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3792b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea708(){const _0x256480=[_0x3792b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3792b0([0x74,0x72,0x69,0x61,0x6c])][_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b05f0/0x3e8:0xe10*_0x1c3aaa;return _0xf2ace5[_0x3792b0([0x65,0x78,0x70])]<_0x256480;}function _0x28338a(){const _0x2718f5=_0xf2ace5[_0x3792b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2718f5&&(!!_0x2718f5[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x2a]))||!!_0x2718f5[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x55,0x50,0x4c,0x43])));}function _0x773a07(){const _0x402405=_0x4c02,_0x47af4d=_0xf2ace5[_0x3792b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47af4d||0x0==_0x47af4d[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54327d}=new URL(window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x402405(0x1fc)]);if(_0x47af4d[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54327d))return!0x0;const _0x7c485a=_0x54327d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e]));return _0x47af4d[_0x3792b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x240fb7=>_0x240fb7[_0x3792b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3792b0([0x2a])))[_0x3792b0([0x6d,0x61,0x70])](_0x295ae7=>_0x295ae7[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e])))[_0x3792b0([0x73,0x6f,0x6d,0x65])](_0xbcf114=>_0x7c485a[_0x3792b0([0x65,0x76,0x65,0x72,0x79])]((_0x33399a,_0x33e525)=>_0xbcf114[_0x33e525]===_0x33399a||_0xbcf114[_0x33e525]===_0x3792b0([0x2a])));}function _0x2b7e3e(){return _0x79941b&&_0x6abc5f?new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb4b1bd,_0x3fa048)=>{_0x79941b[_0x3792b0([0x74,0x68,0x65,0x6e])](_0xb4b1bd,_0x3fa048),_0x6abc5f[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x1804f2=>{_0x1804f2!=_0x3792b0([0x56,0x61,0x6c,0x69,0x64])&&_0xb4b1bd(_0x1804f2);},_0x3fa048);}):_0x79941b||_0x6abc5f||_0x3792b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd8f8ce(_0x96acf0,_0x22ecbd){return new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x94c49c=>{if(_0x26170b())return _0x94c49c(_0x3792b0([0x56,0x61,0x6c,0x69,0x64]));_0x20e80f(),_0x4c18bb[_0x3792b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x185044=!0x1;const _0x2f9564=_0x3ec2a7();function _0x25b76d(_0x184973){return!!_0x184973&&(typeof _0x184973===_0x3792b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x184973===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x184973[_0x3792b0([0x74,0x68,0x65,0x6e])]===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x184973[_0x3792b0([0x63,0x61,0x74,0x63,0x68])]===_0x3792b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa3dd1b(_0x578127){_0x19ce3c(_0x578127)[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x3e5e45=>{if(!_0x3e5e45||_0x3e5e45[_0x3792b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3792b0([0x6f,0x6b]))return _0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ebd05(_0x2d7c48(_0x2f9564+_0x22ecbd))!=_0x3e5e45[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3792b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x32dbb9=>(_0x2615bd(),_0x32dbb9),()=>{const _0x20ddd1=_0x5a0a4d();return null==_0x20ddd1?(_0x2615bd(),_0x3792b0([0x56,0x61,0x6c,0x69,0x64])):_0x3792b0(_0x2b05f0-_0x20ddd1>(0x380fc6c^_0x39ed28)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x94c49c)[_0x3792b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x543941=0x27ba96ec^_0x39ed28;function _0x2615bd(){const _0x2c38a8=_0x3792b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ebd05(_0x2d7c48(_0x96acf0)),_0x4bd59f=_0x489650(_0x4ebd05(window[_0x3792b0([0x4d,0x61,0x74,0x68])][_0x3792b0([0x63,0x65,0x69,0x6c])](_0x2b05f0/_0x543941)));window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3792b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c38a8,_0x4bd59f);}function _0x5a0a4d(){const _0x2273d8=_0x3792b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ebd05(_0x2d7c48(_0x96acf0)),_0x3d4cc5=window[_0x3792b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3792b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2273d8);return _0x3d4cc5?window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489650(_0x3d4cc5),0x10)*_0x543941:null;}function _0x19ce3c(_0x197707){return new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x232431,_0x281530)=>{_0x197707[_0x3792b0([0x74,0x68,0x65,0x6e])](_0x232431,_0x281530),window[_0x3792b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x281530,0x278dacac^_0x39ed28);});}}_0x4c18bb[_0x3792b0([0x6f,0x6e])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39ff81,_0x505dc0)=>{if(_0x505dc0[0x0]!=_0x96acf0)return _0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x505dc0[0x1]={..._0x505dc0[0x1],[_0x3792b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f9564};},{[_0x3792b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3792b0([0x68,0x69,0x67,0x68])}),_0x4c18bb[_0x3792b0([0x6f,0x6e])](_0x3792b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e2fff=>{_0x25b76d(_0x3e2fff[_0x3792b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x185044=!0x0,_0xa3dd1b(_0x3e2fff[_0x3792b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3792b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3792b0([0x6c,0x6f,0x77])}),_0x11a3dc[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>{_0x185044||_0x94c49c(_0x3792b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26170b(){return _0x4c18bb[_0x3792b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3792b0([0x76,0x69,0x65,0x77])][_0x3792b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3792b0([0x61,0x75,0x74,0x6f]);}function _0x20e80f(){_0x4c18bb[_0x3792b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3792b0([0x76,0x69,0x65,0x77])][_0x3792b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3792b0([0x61,0x75,0x74,0x6f]);}}function _0x66a3c8(_0x5bb14e){const _0x237b58=[new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36085e=>setTimeout(_0x36085e,0x278546a0^_0x39ed28)),_0x11a3dc[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151377=>{let _0xb4d361=0x0;_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x6f,0x6e])](_0x3792b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdb8796,_0x1e031c)=>{_0x1e031c[0x0][_0x3792b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb4d361++,_0xb4d361==(0x278c7994^_0x39ed28)&&(_0x151377(),_0xdb8796[_0x3792b0([0x6f,0x66,0x66])]());});}))];return window[_0x3792b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3792b0([0x72,0x61,0x63,0x65])](_0x237b58)[_0x3792b0([0x74,0x68,0x65,0x6e])](()=>_0x5bb14e);}async function _0x7a0c7b(){await _0x11a3dc,_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22b957,_0x4c18bb[_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3792b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22b957,_0x4c18bb[_0x3792b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3792b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48fd43(_0x327514){const _0x1749e4=_0x239674();_0x4c18bb[_0x1749e4]=_0x3792b0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x327514,_0x327514!=_0x3792b0([0x56,0x61,0x6c,0x69,0x64])&&_0x7a0c7b();}function _0x239674(){const _0x4a18e1=window[_0x3792b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3792b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3792b0([0x6e,0x6f,0x77])]())[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3792b0([0x2e]),'');let _0x102e93=_0x3792b0([0x77]);for(let _0x2cb3a0=0x0;_0x2cb3a0<_0x4a18e1[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cb3a0+=0x2){let _0x5ab484=window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a18e1[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb3a0,_0x2cb3a0+0x2));_0x5ab484>=_0x29a61c[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ab484-=_0x29a61c[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x102e93+=_0x29a61c[_0x5ab484];}return _0x102e93;}function _0x3cfec6(){const _0x496d3f=_0x1bfc3d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e]));if(0x3!=_0x496d3f[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c8f78(_0x496d3f[0x1]);function _0x3c8f78(_0x39017e){const _0x352869=_0x1bc6c5(_0x39017e);return _0x352869&&_0x3d81d2()?_0x352869:null;function _0x3d81d2(){const _0xbd0c11=_0x352869[_0x3792b0([0x6a,0x74,0x69])],_0x3e596c=window[_0x3792b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd0c11[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbd0c11[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40b972={..._0x352869,[_0x3792b0([0x6a,0x74,0x69])]:_0xbd0c11[_0x3792b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbd0c11[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40b972[_0x3792b0([0x76,0x63])],_0x2d7c48(_0x40b972)==_0x3e596c;}}}async function _0x37cde0(){let _0x272ba0=!0x0;try{const _0x29f4fb=_0x1bfc3d[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])](_0x3792b0([0x2e])),[_0x17f774,_0x154f23,_0x12541b]=_0x29f4fb;return _0x2689e1(_0x17f774),await _0x322845(_0x17f774,_0x154f23,_0x12541b),_0x272ba0;}catch{return!0x1;}function _0x2689e1(_0x28fabb){const _0x1bfbd7=_0x1bc6c5(_0x28fabb);_0x1bfbd7&&_0x1bfbd7[_0x3792b0([0x61,0x6c,0x67])]==_0x3792b0([0x45,0x53,0x32,0x35,0x36])||(_0x272ba0=!0x1);}async function _0x322845(_0x3a9889,_0x48d53b,_0x2ad859){const _0x9f016=window[_0x3792b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3792b0([0x66,0x72,0x6f,0x6d])](_0x3e0208(_0x2ad859),_0x3291da=>_0x3291da[_0x3792b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41928a=new window[(_0x3792b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3792b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a9889+_0x3792b0([0x2e])+_0x48d53b),_0x28fa8b=window[_0x3792b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3792b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28fa8b)return;const _0x270d96=await _0x28fa8b[_0x3792b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3792b0([0x6a,0x77,0x6b]),_0x477d9b,{[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x45,0x43,0x44,0x53,0x41]),[_0x3792b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3792b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28fa8b[_0x3792b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x45,0x43,0x44,0x53,0x41]),[_0x3792b0([0x68,0x61,0x73,0x68])]:{[_0x3792b0([0x6e,0x61,0x6d,0x65])]:_0x3792b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x270d96,_0x9f016,_0x41928a)||(_0x272ba0=!0x1);}}function _0x1bc6c5(_0x56892b){return _0x56892b[_0x3792b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3792b0([0x65,0x79]))?JSON[_0x3792b0([0x70,0x61,0x72,0x73,0x65])](_0x3e0208(_0x56892b)):null;}function _0x3e0208(_0x4080c0){return window[_0x3792b0([0x61,0x74,0x6f,0x62])](_0x4080c0[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3792b0([0x2b]))[_0x3792b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3792b0([0x2f])));}function _0x2d7c48(_0x46effb){let _0x1074d4=0x1505;function _0x5376cd(_0x14ec33){for(let _0x29cd13=0x0;_0x29cd13<_0x14ec33[_0x3792b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29cd13++){const _0x73c560=_0x14ec33[_0x3792b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29cd13);_0x1074d4=(_0x1074d4<<0x5)+_0x1074d4+_0x73c560,_0x1074d4&=_0x1074d4;}}function _0x10fc22(_0x1369e9){Array[_0x3792b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1369e9)?_0x1369e9[_0x3792b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10fc22):_0x1369e9&&typeof _0x1369e9==_0x3792b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3792b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1369e9)[_0x3792b0([0x73,0x6f,0x72,0x74])]()[_0x3792b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a4156,_0xfc1da])=>{_0x5376cd(_0x2a4156),_0x10fc22(_0xfc1da);}):_0x5376cd(window[_0x3792b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1369e9));}return _0x10fc22(_0x46effb),_0x1074d4>>>0x0;}function _0x4ebd05(_0x10fa0c){return _0x10fa0c[_0x3792b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3792b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3792b0([0x30]));}function _0x489650(_0x10067e){return _0x10067e[_0x3792b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3792b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3792b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x22b957(){}function _0x3792b0(_0x2a1d18){const _0x51c19a=_0x4c02;return _0x2a1d18[_0x51c19a(0x1fb)](_0x5c77e7=>String[_0x51c19a(0x1d9)](_0x5c77e7))[_0x51c19a(0x1f0)]('');}_0x48fd43(await _0x39cca7());}(this);}[_0x1cba41(0x1f1)](){const _0x4fac83=_0x1cba41,_0x50401c=this[_0x4fac83(0x202)][_0x4fac83(0x1e7)][_0x4fac83(0x1f5)];_0x50401c[_0x4fac83(0x1cc)](_0x4fac83(0x1b7))&&_0x50401c[_0x4fac83(0x1e9)](_0x4fac83(0x1b7),{'allowAttributes':[_0x4fac83(0x1c9)]}),_0x50401c[_0x4fac83(0x1cc)](_0x4fac83(0x1cb))&&_0x50401c[_0x4fac83(0x1e9)](_0x4fac83(0x1cb),{'allowAttributes':[_0x4fac83(0x1c9)]});}[_0x1cba41(0x206)](){const _0x752474=_0x1cba41,_0x39bc21=this[_0x752474(0x202)];_0x39bc21[_0x752474(0x1da)][_0x752474(0x1f7)](_0x752474(0x1b8))[_0x752474(0x1ca)]({'model':_0x752474(0x1c9),'view':_0x752474(0x1d3)}),_0x39bc21[_0x752474(0x1da)][_0x752474(0x1f7)](_0x752474(0x1be))[_0x752474(0x20a)]({'model':{'key':_0x752474(0x1c9),'value':_0x1c6cf0=>_0x1c6cf0[_0x752474(0x204)](_0x752474(0x1d3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1751da=_0x39bc21[_0x752474(0x1d1)][_0x752474(0x200)](_0x752474(0x1ed));_0x1751da&&this[_0x752474(0x1ef)](_0x1751da,_0x752474(0x208),(_0x57f180,[_0x1f1184,_0x4f998d])=>{const _0x1fbfac=_0x752474;_0x1f1184[_0x1fbfac(0x1e4)](_0x1fbfac(0x1c9),_0x4f998d);});}[_0x1cba41(0x1db)](){const _0x30f047=_0x1cba41,_0x4a7ac9=this[_0x30f047(0x202)][_0x30f047(0x1c4)][_0x30f047(0x200)](_0x30f047(0x1f3))||{},_0x4edfce=this[_0x30f047(0x202)][_0x30f047(0x1c4)][_0x30f047(0x200)](_0x30f047(0x1c5))||'';this[_0x30f047(0x1d2)]=_0xef758e(_0x42f9b4[_0x30f047(0x1cf)],_0x30f047(0x1bc),{..._0x4a7ac9,'pubkey':_0x4edfce,'ctx-name':_0x30f047(0x1f4),'sourceList':'','imgOnly':_0x30f047(0x1f6),'removeCopyright':_0x30f047(0x1f6),'localeName':this[_0x30f047(0x202)][_0x30f047(0x1d7)][_0x30f047(0x1d4)],'externalSourcesEmbedCss':_0x30f047(0x1d0)}),this[_0x30f047(0x1d2)][_0x30f047(0x1df)]=_0x1205ef=>{const _0x3874f7=_0x30f047;if(_0x3874f7(0x1eb)==_0x1205ef)return _0x3874f7(0x1f9);},_0x42f9b4[_0x30f047(0x1cf)][_0x30f047(0x1c0)][_0x30f047(0x1e5)](this[_0x30f047(0x1d2)]);}[_0x1cba41(0x205)](){const _0x30f6cc=_0x1cba41;this[_0x30f6cc(0x1cd)]=_0xef758e(_0x42f9b4[_0x30f6cc(0x1cf)],_0x30f6cc(0x1fd),{'ctx-name':_0x30f6cc(0x1f4)}),_0x42f9b4[_0x30f6cc(0x1cf)][_0x30f6cc(0x1c0)][_0x30f6cc(0x1e5)](this[_0x30f6cc(0x1cd)]);}[_0x1cba41(0x1d6)](){const _0x4bf31c=_0x1cba41,_0x3620ee=this[_0x4bf31c(0x202)][_0x4bf31c(0x1d1)][_0x4bf31c(0x200)](_0x4bf31c(0x1ba));_0x3620ee&&this[_0x4bf31c(0x1ef)](_0x3620ee,_0x4bf31c(0x203),()=>{const _0x23db31=_0x4bf31c,_0x2bc31d=this[_0x23db31(0x202)][_0x23db31(0x1e7)][_0x23db31(0x1cf)][_0x23db31(0x1e8)][_0x23db31(0x201)]();_0x2bc31d&&_0x2bc31d[_0x23db31(0x204)](_0x23db31(0x1c9))&&this[_0x23db31(0x202)][_0x23db31(0x1c2)][_0x23db31(0x1fa)][_0x23db31(0x1c1)](_0x23db31(0x207),()=>{const _0x207efa=_0x23db31;_0x2fb543(this[_0x207efa(0x202)],_0x2bc31d);});});const _0x223230=this[_0x4bf31c(0x202)][_0x4bf31c(0x1d1)][_0x4bf31c(0x200)](_0x4bf31c(0x1bb));_0x223230&&this[_0x4bf31c(0x1ef)](_0x223230,_0x4bf31c(0x203),()=>{const _0x35324e=_0x4bf31c,_0x150f30=this[_0x35324e(0x202)][_0x35324e(0x1e7)][_0x35324e(0x1cf)][_0x35324e(0x1e8)][_0x35324e(0x201)]();_0x150f30&&_0x150f30[_0x35324e(0x204)](_0x35324e(0x1c9))&&this[_0x35324e(0x202)][_0x35324e(0x1c2)][_0x35324e(0x1fa)][_0x35324e(0x1c1)](_0x35324e(0x207),()=>{const _0x141a2b=_0x35324e;_0x2fb543(this[_0x141a2b(0x202)],_0x150f30);});});}}function _0x304b(){const _0x23b6da=['editing','2986158HIHdwy','config','uploadcare.pubkey','uploadcare','configElement','ctxElement','uploadcareImageId','attributeToAttribute','imageInline','isRegistered','_ctxElement','add','document','\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','commands','_configElement','data-uc-image-id','contentLanguage','2221065OsOLWa','_initImageProcessingIndicator','locale','destroy','fromCharCode','conversion','_initConfig','1331202PJmAuW','UploadcareEditing','PictureEditing','iconHrefResolver','requires','input[uploadcare-file-input]','46130iHtcJB','remove','removeAttribute','appendChild','init','model','selection','extend','9343944uQZgnX','closeMax','pluginName','replaceImageSource','afterInit','listenTo','join','_initSchema','1201239KCNeov','uploadcare.uploader','uploader','schema','true','for','2682itipIV','#uc-icon-arrow-down','view','map','href','uc-upload-ctx-provider','isOfficialPlugin','5KRlSSo','get','getSelectedElement','editor','execute','getAttribute','_initCtx','_initConversion','render','cleanupImage','3657848dVRDFA','elementToAttribute','imageBlock','downcast','querySelector','insertImage','uploadcareImageReplace','uc-config','isPremiumPlugin','upcast','7NCrGcj','body','once'];_0x304b=function(){return _0x23b6da;};return _0x304b();}
23
+ const _0x174986=_0x391a;(function(_0x7c0306,_0x83fb8e){const _0x46652f=_0x391a,_0x5dba56=_0x7c0306();while(!![]){try{const _0x1750e3=parseInt(_0x46652f(0x1b1))/0x1*(-parseInt(_0x46652f(0x1b5))/0x2)+parseInt(_0x46652f(0x198))/0x3+parseInt(_0x46652f(0x1ba))/0x4*(parseInt(_0x46652f(0x1c2))/0x5)+-parseInt(_0x46652f(0x1c4))/0x6+parseInt(_0x46652f(0x180))/0x7*(parseInt(_0x46652f(0x191))/0x8)+-parseInt(_0x46652f(0x1bd))/0x9*(-parseInt(_0x46652f(0x1a4))/0xa)+-parseInt(_0x46652f(0x18f))/0xb*(-parseInt(_0x46652f(0x19f))/0xc);if(_0x1750e3===_0x83fb8e)break;else _0x5dba56['push'](_0x5dba56['shift']());}catch(_0x1802ee){_0x5dba56['push'](_0x5dba56['shift']());}}}(_0x24b9,0xae91e));import{Plugin as _0x2f7325}from'ckeditor5/src/core.js';import{Dialog as _0xa96d6}from'ckeditor5/src/ui.js';function _0x391a(_0xf8fb89,_0x3060b1){const _0x24b97e=_0x24b9();return _0x391a=function(_0x391ad4,_0x1649e8){_0x391ad4=_0x391ad4-0x17f;let _0x20d617=_0x24b97e[_0x391ad4];return _0x20d617;},_0x391a(_0xf8fb89,_0x3060b1);}import{createElement as _0x44fa1b,global as _0x51975f,uid as _0x4e4ac7}from'ckeditor5/src/utils.js';import _0x4d32b8 from'./uploadcarecommand.js';import _0x524712 from'./uploadcareuploadadapter.js';function _0x24b9(){const _0x2b6f18=['remove','8128290XxxyCd','getAttribute','uploadcare','editing','conversion','init','cleanupImage','uploadcareImageId','body','replaceImageSource','fromCharCode','isRegistered','uploadcare.pubkey','UploadcareEditing','ctxElement','getSelectedElement','render','insertImage','525KxfXci','_initConfig','view','imageBlock','_initConversion','selection','once','editor','_initImageProcessingIndicator','upcast','_configElement','configElement','PictureEditing','_ctxElement','contentLanguage','13601467ukVoEY','pluginName','69960UzSSKv','destroy','uc-config','uploadcare.uploader','locale','document','iconHrefResolver','213201KuCLFh','elementToAttribute','attributeToAttribute','true','commands','removeAttribute','closeMax','12eMZGCx','imageInline','join','requires','isPremiumPlugin','260TAdXPp','isOfficialPlugin','_initCtx','href','#uc-icon-arrow-down','model','config','for','downcast','afterInit','data-uc-image-id','_initSchema','\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','2gCdXek','listenTo','map','querySelector','725812tzaAvC','execute','uploadcareImageReplace','uploader','appendChild','48852TiObHU','extend','input[uploadcare-file-input]','144306nZDkTV','add','uc-upload-ctx-provider','schema','get','170JoPwIj'];_0x24b9=function(){return _0x2b6f18;};return _0x24b9();}import{showImageProcessingIndicator as _0x3d7216}from'./utils/editingutils.js';export default class i extends _0x2f7325{[_0x174986(0x18a)]=null;[_0x174986(0x18d)]=null;static get[_0x174986(0x190)](){const _0x6dadfd=_0x174986;return _0x6dadfd(0x1d1);}static get[_0x174986(0x1a2)](){const _0x4b0552=_0x174986;return[_0x4b0552(0x18c),_0x524712,_0xa96d6];}static get[_0x174986(0x1a5)](){return!0x0;}static get[_0x174986(0x1a3)](){return!0x0;}get[_0x174986(0x18b)](){const _0x23c3a9=_0x174986;return this[_0x23c3a9(0x18a)];}get[_0x174986(0x1d2)](){const _0x48fa98=_0x174986;return this[_0x48fa98(0x18d)];}[_0x174986(0x1c9)](){const _0x1f4c59=_0x174986,_0x5bbc01=this[_0x1f4c59(0x187)];_0x5bbc01[_0x1f4c59(0x19c)][_0x1f4c59(0x1be)](_0x1f4c59(0x1c6),new _0x4d32b8(_0x5bbc01));}[_0x174986(0x1ad)](){const _0xd325a4=_0x174986;this[_0xd325a4(0x1af)](),this[_0xd325a4(0x184)](),this[_0xd325a4(0x181)](),this[_0xd325a4(0x1a6)](),this[_0xd325a4(0x188)](),this[_0xd325a4(0x1b2)](this[_0xd325a4(0x187)],_0xd325a4(0x192),()=>{const _0x3c046b=_0xd325a4;this[_0x3c046b(0x18a)]&&(this[_0x3c046b(0x18a)][_0x3c046b(0x1c3)](),this[_0x3c046b(0x18a)]=null),this[_0x3c046b(0x18d)]&&(this[_0x3c046b(0x18d)][_0x3c046b(0x1c3)](),this[_0x3c046b(0x18d)]=null);const _0x5b8145=_0x51975f[_0x3c046b(0x196)][_0x3c046b(0x1b4)](_0x3c046b(0x1bc));_0x5b8145&&_0x5b8145[_0x3c046b(0x1c3)]();}),async function(_0x104a37){const _0x55162a=_0x4ee829([0x57,0x38,0x6b,0x65,0x61,0x6a,0x44,0x62,0x66,0x67,0x31,0x64,0x36,0x45,0x37,0x4e,0x4b,0x47,0x7a,0x56,0x54,0x48,0x33,0x73,0x79,0x42,0x5a,0x52,0x71,0x34,0x6f,0x74,0x46,0x58,0x55,0x63,0x77,0x4f,0x6d,0x43,0x51,0x76,0x70,0x4a,0x39,0x32,0x72,0x6e,0x78,0x41,0x75,0x53,0x59,0x49,0x30,0x68,0x69,0x4c,0x35,0x4d,0x50,0x6c]),_0x4689bc=0x74ec027d,_0x316e1d=0x74eb6b9d^_0x4689bc,_0x563316=window[_0x4ee829([0x44,0x61,0x74,0x65])][_0x4ee829([0x6e,0x6f,0x77])](),_0x1dbeb2=_0x104a37[_0x4ee829([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2920e4=new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445998=>{_0x1dbeb2[_0x4ee829([0x6f,0x6e,0x63,0x65])](_0x4ee829([0x72,0x65,0x61,0x64,0x79]),_0x445998);}),_0x23afdb={[_0x4ee829([0x6b,0x74,0x79])]:_0x4ee829([0x45,0x43]),[_0x4ee829([0x75,0x73,0x65])]:_0x4ee829([0x73,0x69,0x67]),[_0x4ee829([0x63,0x72,0x76])]:_0x4ee829([0x50,0x2d,0x32,0x35,0x36]),[_0x4ee829([0x78])]:_0x4ee829([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]),[_0x4ee829([0x79])]:_0x4ee829([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]),[_0x4ee829([0x61,0x6c,0x67])]:_0x4ee829([0x45,0x53,0x32,0x35,0x36])},_0x267e71=_0x1dbeb2[_0x4ee829([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ee829([0x67,0x65,0x74])](_0x4ee829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3892f9(){let _0x218238,_0x29a45c=null,_0x165c52=null;try{if(_0x267e71==_0x4ee829([0x47,0x50,0x4c]))return _0x4ee829([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x218238=_0x1b735d(),!_0x218238)return _0x4ee829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x218238[_0x4ee829([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x165c52=_0x2f1119(_0x218238[_0x4ee829([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x218238[_0x4ee829([0x6a,0x74,0x69])])),await _0x2b3154()?_0x5c48a8()?_0x3b4412()?_0x4ee829([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e84a9()?(_0x218238[_0x4ee829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ee829([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29a45c=_0x3b2d42(_0x4ee829([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x218238[_0x4ee829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ee829([0x74,0x72,0x69,0x61,0x6c])&&(_0x29a45c=_0x3b2d42(_0x4ee829([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f52ea()):_0x4ee829([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ee829([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ee829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ee829([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b4412(){const _0x41caf0=[_0x4ee829([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ee829([0x74,0x72,0x69,0x61,0x6c])][_0x4ee829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x218238[_0x4ee829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x563316/0x3e8:0xe10*_0x316e1d;return _0x218238[_0x4ee829([0x65,0x78,0x70])]<_0x41caf0;}function _0x5c48a8(){const _0x3dc63f=_0x218238[_0x4ee829([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3dc63f&&(!!_0x3dc63f[_0x4ee829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ee829([0x2a]))||!!_0x3dc63f[_0x4ee829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ee829([0x55,0x50,0x4c,0x43])));}function _0x3e84a9(){const _0x4afaf6=_0x391a,_0x1e4907=_0x218238[_0x4ee829([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e4907||0x0==_0x1e4907[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbbf432}=new URL(window[_0x4ee829([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4afaf6(0x1a7)]);if(_0x1e4907[_0x4ee829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbf432))return!0x0;const _0x416d27=_0xbbf432[_0x4ee829([0x73,0x70,0x6c,0x69,0x74])](_0x4ee829([0x2e]));return _0x1e4907[_0x4ee829([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ead96=>_0x3ead96[_0x4ee829([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ee829([0x2a])))[_0x4ee829([0x6d,0x61,0x70])](_0x246420=>_0x246420[_0x4ee829([0x73,0x70,0x6c,0x69,0x74])](_0x4ee829([0x2e])))[_0x4ee829([0x73,0x6f,0x6d,0x65])](_0x29597c=>_0x416d27[_0x4ee829([0x65,0x76,0x65,0x72,0x79])]((_0x411a57,_0x3e642d)=>_0x29597c[_0x3e642d]===_0x411a57||_0x29597c[_0x3e642d]===_0x4ee829([0x2a])));}function _0x3f52ea(){return _0x29a45c&&_0x165c52?new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdd40ab,_0x147a7e)=>{_0x29a45c[_0x4ee829([0x74,0x68,0x65,0x6e])](_0xdd40ab,_0x147a7e),_0x165c52[_0x4ee829([0x74,0x68,0x65,0x6e])](_0x83ddcd=>{_0x83ddcd!=_0x4ee829([0x56,0x61,0x6c,0x69,0x64])&&_0xdd40ab(_0x83ddcd);},_0x147a7e);}):_0x29a45c||_0x165c52||_0x4ee829([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f1119(_0x529627,_0x1b5672){return new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4c7aa=>{if(_0xb822f2())return _0xf4c7aa(_0x4ee829([0x56,0x61,0x6c,0x69,0x64]));_0x197694(),_0x1dbeb2[_0x4ee829([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ee829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ff053=!0x1;const _0x1c6ffa=_0x4e4ac7();function _0x2fc900(_0x3dcd23){return!!_0x3dcd23&&(typeof _0x3dcd23===_0x4ee829([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3dcd23===_0x4ee829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3dcd23[_0x4ee829([0x74,0x68,0x65,0x6e])]===_0x4ee829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3dcd23[_0x4ee829([0x63,0x61,0x74,0x63,0x68])]===_0x4ee829([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40bb8d(_0x47f0a6){_0x499348(_0x47f0a6)[_0x4ee829([0x74,0x68,0x65,0x6e])](_0x390c13=>{if(!_0x390c13||_0x390c13[_0x4ee829([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ee829([0x6f,0x6b]))return _0x4ee829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49495c(_0x9d3699(_0x1c6ffa+_0x1b5672))!=_0x390c13[_0x4ee829([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ee829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ee829([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ee829([0x74,0x68,0x65,0x6e])](_0x5f0124=>(_0x45001f(),_0x5f0124),()=>{const _0x3d936b=_0x1dc0ae();return null==_0x3d936b?(_0x45001f(),_0x4ee829([0x56,0x61,0x6c,0x69,0x64])):_0x4ee829(_0x563316-_0x3d936b>(0x50e0867d^_0x4689bc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ee829([0x74,0x68,0x65,0x6e])](_0xf4c7aa)[_0x4ee829([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf4c7aa(_0x4ee829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b5a08=0x74daecfd^_0x4689bc;function _0x45001f(){const _0x4f443a=_0x4ee829([0x6c,0x6c,0x63,0x74,0x2d])+_0x49495c(_0x9d3699(_0x529627)),_0x1937f2=_0x378f0d(_0x49495c(window[_0x4ee829([0x4d,0x61,0x74,0x68])][_0x4ee829([0x63,0x65,0x69,0x6c])](_0x563316/_0x5b5a08)));window[_0x4ee829([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ee829([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f443a,_0x1937f2);}function _0x1dc0ae(){const _0x338122=_0x4ee829([0x6c,0x6c,0x63,0x74,0x2d])+_0x49495c(_0x9d3699(_0x529627)),_0x1d663c=window[_0x4ee829([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ee829([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x338122);return _0x1d663c?window[_0x4ee829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x378f0d(_0x1d663c),0x10)*_0x5b5a08:null;}function _0x499348(_0x314930){return new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x569b25,_0xff6e85)=>{_0x314930[_0x4ee829([0x74,0x68,0x65,0x6e])](_0x569b25,_0xff6e85),window[_0x4ee829([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xff6e85,0x74edd6bd^_0x4689bc);});}}_0x1dbeb2[_0x4ee829([0x6f,0x6e])](_0x4ee829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x240097,_0x1ed286)=>{if(_0x1ed286[0x0]!=_0x529627)return _0xf4c7aa(_0x4ee829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ed286[0x1]={..._0x1ed286[0x1],[_0x4ee829([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c6ffa};},{[_0x4ee829([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ee829([0x68,0x69,0x67,0x68])}),_0x1dbeb2[_0x4ee829([0x6f,0x6e])](_0x4ee829([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e6fde=>{_0x2fc900(_0x5e6fde[_0x4ee829([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ff053=!0x0,_0x40bb8d(_0x5e6fde[_0x4ee829([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ee829([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ee829([0x6c,0x6f,0x77])}),_0x2920e4[_0x4ee829([0x74,0x68,0x65,0x6e])](()=>{_0x4ff053||_0xf4c7aa(_0x4ee829([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb822f2(){return _0x1dbeb2[_0x4ee829([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ee829([0x76,0x69,0x65,0x77])][_0x4ee829([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ee829([0x61,0x75,0x74,0x6f]);}function _0x197694(){_0x1dbeb2[_0x4ee829([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ee829([0x76,0x69,0x65,0x77])][_0x4ee829([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ee829([0x61,0x75,0x74,0x6f]);}}function _0x3b2d42(_0x555cc5){const _0x54da4f=[new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229e34=>setTimeout(_0x229e34,0x74e53cb1^_0x4689bc)),_0x2920e4[_0x4ee829([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40cfa3=>{let _0x4e3b12=0x0;_0x1dbeb2[_0x4ee829([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ee829([0x6f,0x6e])](_0x4ee829([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ae33f,_0x5c3c77)=>{_0x5c3c77[0x0][_0x4ee829([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e3b12++,_0x4e3b12==(0x74ec0385^_0x4689bc)&&(_0x40cfa3(),_0x2ae33f[_0x4ee829([0x6f,0x66,0x66])]());});}))];return window[_0x4ee829([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ee829([0x72,0x61,0x63,0x65])](_0x54da4f)[_0x4ee829([0x74,0x68,0x65,0x6e])](()=>_0x555cc5);}async function _0x1ea653(){await _0x2920e4,_0x1dbeb2[_0x4ee829([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ee829([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fbedd,_0x1dbeb2[_0x4ee829([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ee829([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fbedd,_0x1dbeb2[_0x4ee829([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ee829([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36041f(_0x3e0850){const _0x56a859=_0x1c4354();_0x1dbeb2[_0x56a859]=_0x4ee829([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e0850,_0x3e0850!=_0x4ee829([0x56,0x61,0x6c,0x69,0x64])&&_0x1ea653();}function _0x1c4354(){const _0x26c51b=window[_0x4ee829([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ee829([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ee829([0x6e,0x6f,0x77])]())[_0x4ee829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ee829([0x2e]),'');let _0x4198ca=_0x4ee829([0x57]);for(let _0x3f53e1=0x0;_0x3f53e1<_0x26c51b[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f53e1+=0x2){let _0x50d4d1=window[_0x4ee829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26c51b[_0x4ee829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f53e1,_0x3f53e1+0x2));_0x50d4d1>=_0x55162a[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50d4d1-=_0x55162a[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4198ca+=_0x55162a[_0x50d4d1];}return _0x4198ca;}function _0x1b735d(){const _0x3d73b6=_0x267e71[_0x4ee829([0x73,0x70,0x6c,0x69,0x74])](_0x4ee829([0x2e]));if(0x3!=_0x3d73b6[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17b831(_0x3d73b6[0x1]);function _0x17b831(_0x3fdf02){const _0x135fe0=_0x3c559b(_0x3fdf02);return _0x135fe0&&_0x4f1531()?_0x135fe0:null;function _0x4f1531(){const _0x47187e=_0x135fe0[_0x4ee829([0x6a,0x74,0x69])],_0x2a79d0=window[_0x4ee829([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47187e[_0x4ee829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47187e[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39bb3d={..._0x135fe0,[_0x4ee829([0x6a,0x74,0x69])]:_0x47187e[_0x4ee829([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47187e[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39bb3d[_0x4ee829([0x76,0x63])],_0x9d3699(_0x39bb3d)==_0x2a79d0;}}}async function _0x2b3154(){let _0x2388d3=!0x0;try{const _0x43df44=_0x267e71[_0x4ee829([0x73,0x70,0x6c,0x69,0x74])](_0x4ee829([0x2e])),[_0x40983e,_0x1ecb17,_0x1d66ef]=_0x43df44;return _0x318589(_0x40983e),await _0x200d51(_0x40983e,_0x1ecb17,_0x1d66ef),_0x2388d3;}catch{return!0x1;}function _0x318589(_0x7ad955){const _0x29b338=_0x3c559b(_0x7ad955);_0x29b338&&_0x29b338[_0x4ee829([0x61,0x6c,0x67])]==_0x4ee829([0x45,0x53,0x32,0x35,0x36])||(_0x2388d3=!0x1);}async function _0x200d51(_0x4ecea2,_0x57c357,_0x2376a4){const _0xe8d5dd=window[_0x4ee829([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ee829([0x66,0x72,0x6f,0x6d])](_0x4f58b2(_0x2376a4),_0x3fa27c=>_0x3fa27c[_0x4ee829([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fdc5d=new window[(_0x4ee829([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ee829([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ecea2+_0x4ee829([0x2e])+_0x57c357),_0x5d527a=window[_0x4ee829([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ee829([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d527a)return;const _0x54f830=await _0x5d527a[_0x4ee829([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ee829([0x6a,0x77,0x6b]),_0x23afdb,{[_0x4ee829([0x6e,0x61,0x6d,0x65])]:_0x4ee829([0x45,0x43,0x44,0x53,0x41]),[_0x4ee829([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ee829([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ee829([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d527a[_0x4ee829([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ee829([0x6e,0x61,0x6d,0x65])]:_0x4ee829([0x45,0x43,0x44,0x53,0x41]),[_0x4ee829([0x68,0x61,0x73,0x68])]:{[_0x4ee829([0x6e,0x61,0x6d,0x65])]:_0x4ee829([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54f830,_0xe8d5dd,_0x2fdc5d)||(_0x2388d3=!0x1);}}function _0x3c559b(_0x10d3d8){return _0x10d3d8[_0x4ee829([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ee829([0x65,0x79]))?JSON[_0x4ee829([0x70,0x61,0x72,0x73,0x65])](_0x4f58b2(_0x10d3d8)):null;}function _0x4f58b2(_0x39e6ee){return window[_0x4ee829([0x61,0x74,0x6f,0x62])](_0x39e6ee[_0x4ee829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ee829([0x2b]))[_0x4ee829([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ee829([0x2f])));}function _0x9d3699(_0x1c6ae4){let _0x5424d3=0x1505;function _0x1a179f(_0x2b2550){for(let _0x346893=0x0;_0x346893<_0x2b2550[_0x4ee829([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x346893++){const _0x3a54df=_0x2b2550[_0x4ee829([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x346893);_0x5424d3=(_0x5424d3<<0x5)+_0x5424d3+_0x3a54df,_0x5424d3&=_0x5424d3;}}function _0xbd5f36(_0x350f1f){Array[_0x4ee829([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x350f1f)?_0x350f1f[_0x4ee829([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbd5f36):_0x350f1f&&typeof _0x350f1f==_0x4ee829([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ee829([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x350f1f)[_0x4ee829([0x73,0x6f,0x72,0x74])]()[_0x4ee829([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x244fce,_0x1e3ea0])=>{_0x1a179f(_0x244fce),_0xbd5f36(_0x1e3ea0);}):_0x1a179f(window[_0x4ee829([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x350f1f));}return _0xbd5f36(_0x1c6ae4),_0x5424d3>>>0x0;}function _0x49495c(_0x40126b){return _0x40126b[_0x4ee829([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ee829([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ee829([0x30]));}function _0x378f0d(_0x590526){return _0x590526[_0x4ee829([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ee829([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ee829([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fbedd(){}function _0x4ee829(_0x3794d5){const _0x27e513=_0x391a;return _0x3794d5[_0x27e513(0x1b3)](_0x2119cb=>String[_0x27e513(0x1ce)](_0x2119cb))[_0x27e513(0x1a1)]('');}_0x36041f(await _0x3892f9());}(this);}[_0x174986(0x1af)](){const _0x33dc41=_0x174986,_0x2fd16f=this[_0x33dc41(0x187)][_0x33dc41(0x1a9)][_0x33dc41(0x1c0)];_0x2fd16f[_0x33dc41(0x1cf)](_0x33dc41(0x183))&&_0x2fd16f[_0x33dc41(0x1bb)](_0x33dc41(0x183),{'allowAttributes':[_0x33dc41(0x1cb)]}),_0x2fd16f[_0x33dc41(0x1cf)](_0x33dc41(0x1a0))&&_0x2fd16f[_0x33dc41(0x1bb)](_0x33dc41(0x1a0),{'allowAttributes':[_0x33dc41(0x1cb)]});}[_0x174986(0x184)](){const _0x38e506=_0x174986,_0x1b0986=this[_0x38e506(0x187)];_0x1b0986[_0x38e506(0x1c8)][_0x38e506(0x1ab)](_0x38e506(0x1ac))[_0x38e506(0x19a)]({'model':_0x38e506(0x1cb),'view':_0x38e506(0x1ae)}),_0x1b0986[_0x38e506(0x1c8)][_0x38e506(0x1ab)](_0x38e506(0x189))[_0x38e506(0x199)]({'model':{'key':_0x38e506(0x1cb),'value':_0xedaedb=>_0xedaedb[_0x38e506(0x1c5)](_0x38e506(0x1ae))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1677b3=_0x1b0986[_0x38e506(0x19c)][_0x38e506(0x1c1)](_0x38e506(0x1cd));_0x1677b3&&this[_0x38e506(0x1b2)](_0x1677b3,_0x38e506(0x1ca),(_0x1aae12,[_0x101571,_0x5b7cdc])=>{const _0x4c8742=_0x38e506;_0x101571[_0x4c8742(0x19d)](_0x4c8742(0x1cb),_0x5b7cdc);});}[_0x174986(0x181)](){const _0x2fc99a=_0x174986,_0x449fcb=this[_0x2fc99a(0x187)][_0x2fc99a(0x1aa)][_0x2fc99a(0x1c1)](_0x2fc99a(0x194))||{},_0x5cbeef=this[_0x2fc99a(0x187)][_0x2fc99a(0x1aa)][_0x2fc99a(0x1c1)](_0x2fc99a(0x1d0))||'';this[_0x2fc99a(0x18a)]=_0x44fa1b(_0x51975f[_0x2fc99a(0x196)],_0x2fc99a(0x193),{..._0x449fcb,'pubkey':_0x5cbeef,'ctx-name':_0x2fc99a(0x1b8),'sourceList':'','imgOnly':_0x2fc99a(0x19b),'removeCopyright':_0x2fc99a(0x19b),'localeName':this[_0x2fc99a(0x187)][_0x2fc99a(0x195)][_0x2fc99a(0x18e)],'externalSourcesEmbedCss':_0x2fc99a(0x1b0)}),this[_0x2fc99a(0x18a)][_0x2fc99a(0x197)]=_0x103fad=>{const _0x406f04=_0x2fc99a;if(_0x406f04(0x19e)==_0x103fad)return _0x406f04(0x1a8);},_0x51975f[_0x2fc99a(0x196)][_0x2fc99a(0x1cc)][_0x2fc99a(0x1b9)](this[_0x2fc99a(0x18a)]);}[_0x174986(0x1a6)](){const _0x365a53=_0x174986;this[_0x365a53(0x18d)]=_0x44fa1b(_0x51975f[_0x365a53(0x196)],_0x365a53(0x1bf),{'ctx-name':_0x365a53(0x1b8)}),_0x51975f[_0x365a53(0x196)][_0x365a53(0x1cc)][_0x365a53(0x1b9)](this[_0x365a53(0x18d)]);}[_0x174986(0x188)](){const _0x3d1b66=_0x174986,_0x2a3975=this[_0x3d1b66(0x187)][_0x3d1b66(0x19c)][_0x3d1b66(0x1c1)](_0x3d1b66(0x17f));_0x2a3975&&this[_0x3d1b66(0x1b2)](_0x2a3975,_0x3d1b66(0x1b6),()=>{const _0xc295c0=_0x3d1b66,_0x3bd5ce=this[_0xc295c0(0x187)][_0xc295c0(0x1a9)][_0xc295c0(0x196)][_0xc295c0(0x185)][_0xc295c0(0x1d3)]();_0x3bd5ce&&_0x3bd5ce[_0xc295c0(0x1c5)](_0xc295c0(0x1cb))&&this[_0xc295c0(0x187)][_0xc295c0(0x1c7)][_0xc295c0(0x182)][_0xc295c0(0x186)](_0xc295c0(0x1d4),()=>{const _0x4597de=_0xc295c0;_0x3d7216(this[_0x4597de(0x187)],_0x3bd5ce);});});const _0x556dcf=this[_0x3d1b66(0x187)][_0x3d1b66(0x19c)][_0x3d1b66(0x1c1)](_0x3d1b66(0x1b7));_0x556dcf&&this[_0x3d1b66(0x1b2)](_0x556dcf,_0x3d1b66(0x1b6),()=>{const _0x5d3e92=_0x3d1b66,_0x571e47=this[_0x5d3e92(0x187)][_0x5d3e92(0x1a9)][_0x5d3e92(0x196)][_0x5d3e92(0x185)][_0x5d3e92(0x1d3)]();_0x571e47&&_0x571e47[_0x5d3e92(0x1c5)](_0x5d3e92(0x1cb))&&this[_0x5d3e92(0x187)][_0x5d3e92(0x1c7)][_0x5d3e92(0x182)][_0x5d3e92(0x186)](_0x5d3e92(0x1d4),()=>{const _0x22b3de=_0x5d3e92;_0x3d7216(this[_0x22b3de(0x187)],_0x571e47);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4ccc6c,ObservableMixin as _0xd1e843}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3f3b3b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5e3a46}from'ckeditor5/src/icons.js';import _0x54b019 from'./uploadcareimageeditformview.js';import _0x168afd from'../../utils/uploadutils.js';import{getImageUrls as _0x11fcd3,getImageDimension as _0xe6be30}from'../../utils/editingutils.js';import{isAncestor as _0x1f0717}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0xd1e843(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x480520,_0x480069,_0x3e2603){super(),this['_editor']=_0x480520,this['_dialog']=_0x480069,this['_imageElement']=_0x3e2603,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 _0x134933=this['_imageElement'],_0x28e64e=_0x134933['getAttribute']('uploadcareImageId'),_0x519ffe=_0x134933['getAttribute']('src');if(_0x28e64e)await this['_loadImageInfo'](_0x28e64e,_0x519ffe);else{if(this['_imageCache']['has'](_0x519ffe)){const _0x540613=this['_imageCache']['get'](_0x519ffe);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x540613['url'],this['imageDimension']=_0x540613['dimension'],this['imageId']=_0x540613['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xb8d37e}=this['_editor'],t=_0xb8d37e['t'],_0x323441=new _0x54b019(_0xb8d37e,this['imageStatus'],this['_attributes']);_0x323441['bind']('status')['to'](this,'imageStatus'),_0x323441['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x323441['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x323441['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x323441,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5e3a46,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x323441,'position':_0x3f3b3b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x323441['focus']();},'onHide':()=>{_0x323441['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2781db=>!_0x1f0717(_0x2781db,_0x323441['element'])}});}['_loadImageInfo'](_0x2e4efa,_0x30679d){return _0x168afd['getInfo'](_0x2e4efa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x248be4=>{const {width:_0x4d125a,height:_0x44f4d1}=_0x248be4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30679d,this['imageDimension']={'width':_0x4d125a,'height':_0x44f4d1},this['imageId']=_0x2e4efa;})['catch'](_0x3235e1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3235e1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b2368,_0x3c0597){return this['_getImageAsFile'](_0x4b2368)['then'](_0x23531b=>_0x168afd['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3c0597['signal'],'file':_0x23531b,'onProgress':_0x3cae7f=>{_0x3cae7f&&_0x3cae7f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3cae7f['value']));}}))['then'](_0xb33b08=>{const {width:_0x911b27,height:_0x317464}=_0xb33b08['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb33b08['cdnUrl'],this['imageDimension']={'width':_0x911b27,'height':_0x317464},this['imageId']=_0xb33b08['uuid'],this['imageUploadProgress']=null;const _0x530bd4=_0x4b2368['getAttribute']('src');this['_imageCache']['set'](_0x530bd4,{'id':_0xb33b08['uuid'],'url':_0xb33b08['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x56efec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56efec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2fd565,_0x5eace6){_0x2fd565['on']('apply',(_0x290d73,_0x31e265)=>{this['_replaceImage'](_0x5eace6,_0x31e265['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2fd565['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2fd565['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d3259,_0x9e98c5,_0x3de6e1){const _0x37d946=this['_editor'],{width:_0x128394,height:_0x127896}=_0xe6be30(_0x9e98c5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d3422,imageSources:_0xa86bda}=_0x11fcd3(_0x9e98c5,_0x128394);_0x37d946['model']['change'](_0x4b541d=>{if('$graveyard'===_0x3d3259['root']['rootName']){_0x37d946['execute']('insertImage',{'imageType':_0x3d3259['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d3259['getAttributes']()),'uploadcareImageId':_0x3de6e1,'src':_0x2d3422,'sources':_0xa86bda,'width':_0x128394,'height':_0x127896}});const _0x129127=_0x3d3259['getChildren']();_0x3d3259=_0x37d946['model']['document']['selection']['getSelectedElement']();for(const _0x4132c5 of _0x129127)_0x4b541d['append'](_0x4b541d['cloneElement'](_0x4132c5),_0x3d3259);}else _0x4b541d['setSelection'](_0x3d3259,'on'),_0x37d946['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d3259['getAttributes']()),'uploadcareImageId':_0x3de6e1,'src':_0x2d3422,'sources':_0xa86bda,'width':_0x128394,'height':_0x127896},_0x3d3259);_0x4b541d['setSelection'](_0x3d3259,'on');});}async['_getImageAsFile'](_0x3a94ab){const _0x5453eb=_0x4ccc6c['window'],_0x28c2ae=_0x4ccc6c['document']['location']['href'],_0x43c480=new _0x5453eb['URL'](_0x3a94ab['getAttribute']('src'),_0x28c2ae);if('data:'===_0x43c480['protocol']){const _0x4a8125=_0x43c480['href']['split'](','),_0xa25477=_0x4a8125[0x0]['match'](/:(.*?);/)[0x1],_0x2c950=_0xa25477['split']('/')[0x1],_0x41a166=_0x5453eb['atob'](_0x4a8125[_0x4a8125['length']-0x1]);let _0x22e02c=_0x41a166['length'];const _0x283fce=new _0x5453eb['Uint8Array'](_0x22e02c);for(;_0x22e02c--;)_0x283fce[_0x22e02c]=_0x41a166['charCodeAt'](_0x22e02c);return new _0x5453eb['File']([_0x283fce],'image.'+_0x2c950,{'type':_0xa25477});}const _0x11a54a=_0x43c480['href']['split']('/'),_0x1256ea=_0x11a54a[_0x11a54a['length']-0x1],_0x494cce=_0x1256ea['split']('.')[0x1];return _0x5453eb['fetch'](_0x43c480['href'])['then'](_0x418edc=>_0x418edc['clone']()['blob']())['then'](_0x1ca7bc=>new _0x5453eb['File']([_0x1ca7bc],_0x1256ea,{'type':'image/'+_0x494cce}));}}
23
+ import{global as _0x4df0c7,ObservableMixin as _0x1c8f7b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x216a61}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x39ff94}from'ckeditor5/src/icons.js';import _0x4618d4 from'./uploadcareimageeditformview.js';import _0x2dc99f from'../../utils/uploadutils.js';import{getImageUrls as _0x167c4d,getImageDimension as _0x13cb1a}from'../../utils/editingutils.js';import{isAncestor as _0x41e81f}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1c8f7b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x324ca4,_0x235d39,_0x1d9c79){super(),this['_editor']=_0x324ca4,this['_dialog']=_0x235d39,this['_imageElement']=_0x1d9c79,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 _0x3eed40=this['_imageElement'],_0xd9c073=_0x3eed40['getAttribute']('uploadcareImageId'),_0x416848=_0x3eed40['getAttribute']('src');if(_0xd9c073)await this['_loadImageInfo'](_0xd9c073,_0x416848);else{if(this['_imageCache']['has'](_0x416848)){const _0x534d51=this['_imageCache']['get'](_0x416848);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x534d51['url'],this['imageDimension']=_0x534d51['dimension'],this['imageId']=_0x534d51['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x239f3c}=this['_editor'],t=_0x239f3c['t'],_0x1d2f42=new _0x4618d4(_0x239f3c,this['imageStatus'],this['_attributes']);_0x1d2f42['bind']('status')['to'](this,'imageStatus'),_0x1d2f42['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d2f42['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d2f42['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d2f42,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x39ff94,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d2f42,'position':_0x216a61['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d2f42['focus']();},'onHide':()=>{_0x1d2f42['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x207baf=>!_0x41e81f(_0x207baf,_0x1d2f42['element'])}});}['_loadImageInfo'](_0x2c5444,_0x4efc04){return _0x2dc99f['getInfo'](_0x2c5444,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xbeca18=>{const {width:_0x21d053,height:_0x165d96}=_0xbeca18['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4efc04,this['imageDimension']={'width':_0x21d053,'height':_0x165d96},this['imageId']=_0x2c5444;})['catch'](_0x113fc4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x113fc4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x28da61,_0x27c599){return this['_getImageAsFile'](_0x28da61)['then'](_0x4ec97d=>_0x2dc99f['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x27c599['signal'],'file':_0x4ec97d,'onProgress':_0x329526=>{_0x329526&&_0x329526['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x329526['value']));}}))['then'](_0x592872=>{const {width:_0x400d8a,height:_0x15ab21}=_0x592872['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x592872['cdnUrl'],this['imageDimension']={'width':_0x400d8a,'height':_0x15ab21},this['imageId']=_0x592872['uuid'],this['imageUploadProgress']=null;const _0x4e7e21=_0x28da61['getAttribute']('src');this['_imageCache']['set'](_0x4e7e21,{'id':_0x592872['uuid'],'url':_0x592872['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4e90e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e90e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x213a3d,_0x2322b2){_0x213a3d['on']('apply',(_0x1b6941,_0x45a1b8)=>{this['_replaceImage'](_0x2322b2,_0x45a1b8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x213a3d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x213a3d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4c70ba,_0x43145a,_0x4fed13){const _0x5848d1=this['_editor'],{width:_0x59a678,height:_0x5f63ed}=_0x13cb1a(_0x43145a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x587bc2,imageSources:_0xe65a62}=_0x167c4d(_0x43145a,_0x59a678);_0x5848d1['model']['change'](_0x29bd19=>{if('$graveyard'===_0x4c70ba['root']['rootName']){_0x5848d1['execute']('insertImage',{'imageType':_0x4c70ba['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4c70ba['getAttributes']()),'uploadcareImageId':_0x4fed13,'src':_0x587bc2,'sources':_0xe65a62,'width':_0x59a678,'height':_0x5f63ed}});const _0x1501e5=_0x4c70ba['getChildren']();_0x4c70ba=_0x5848d1['model']['document']['selection']['getSelectedElement']();for(const _0x5b9565 of _0x1501e5)_0x29bd19['append'](_0x29bd19['cloneElement'](_0x5b9565),_0x4c70ba);}else _0x29bd19['setSelection'](_0x4c70ba,'on'),_0x5848d1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4c70ba['getAttributes']()),'uploadcareImageId':_0x4fed13,'src':_0x587bc2,'sources':_0xe65a62,'width':_0x59a678,'height':_0x5f63ed},_0x4c70ba);_0x29bd19['setSelection'](_0x4c70ba,'on');});}async['_getImageAsFile'](_0x3a8442){const _0x8369e0=_0x4df0c7['window'],_0x46ccf8=_0x4df0c7['document']['location']['href'],_0x394697=new _0x8369e0['URL'](_0x3a8442['getAttribute']('src'),_0x46ccf8);if('data:'===_0x394697['protocol']){const _0x5005de=_0x394697['href']['split'](','),_0x386fd6=_0x5005de[0x0]['match'](/:(.*?);/)[0x1],_0x2b8c40=_0x386fd6['split']('/')[0x1],_0x20b419=_0x8369e0['atob'](_0x5005de[_0x5005de['length']-0x1]);let _0x5aef36=_0x20b419['length'];const _0x50c355=new _0x8369e0['Uint8Array'](_0x5aef36);for(;_0x5aef36--;)_0x50c355[_0x5aef36]=_0x20b419['charCodeAt'](_0x5aef36);return new _0x8369e0['File']([_0x50c355],'image.'+_0x2b8c40,{'type':_0x386fd6});}const _0x52441e=_0x394697['href']['split']('/'),_0x40ddd5=_0x52441e[_0x52441e['length']-0x1],_0x5890e9=_0x40ddd5['split']('.')[0x1];return _0x8369e0['fetch'](_0x394697['href'])['then'](_0x41414f=>_0x41414f['clone']()['blob']())['then'](_0x4d20a3=>new _0x8369e0['File']([_0x4d20a3],_0x40ddd5,{'type':'image/'+_0x5890e9}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x454a24,_0xeb982d){const _0x56530f=_0x1b31,_0x2dc0e7=_0x454a24();while(!![]){try{const _0x16235a=-parseInt(_0x56530f(0x1b7))/0x1*(-parseInt(_0x56530f(0x1c4))/0x2)+parseInt(_0x56530f(0x1c7))/0x3*(parseInt(_0x56530f(0x1ba))/0x4)+-parseInt(_0x56530f(0x1c0))/0x5+-parseInt(_0x56530f(0x1c2))/0x6+-parseInt(_0x56530f(0x1b9))/0x7*(parseInt(_0x56530f(0x1bd))/0x8)+parseInt(_0x56530f(0x1c1))/0x9*(-parseInt(_0x56530f(0x1c5))/0xa)+parseInt(_0x56530f(0x1bb))/0xb;if(_0x16235a===_0xeb982d)break;else _0x2dc0e7['push'](_0x2dc0e7['shift']());}catch(_0x114c2a){_0x2dc0e7['push'](_0x2dc0e7['shift']());}}}(_0x17da,0x18a79));import{View as _0x493405}from'ckeditor5/src/ui.js';function _0x17da(){const _0x1e2db1=['951040ehGaFE','809559KHqrnV','64104jRWNMN','uc-light','138jzzuHV','10BSAcmy','image-edit','10527wbeopP','bindTemplate','setTemplate','1389TGMjEg','ck-uploadcare-theme','355747yPBldI','40YEUisF','3987929sGiZHy','imageSrc','16GpmPBw','uc-cloud-image-editor','set'];_0x17da=function(){return _0x1e2db1;};return _0x17da();}function _0x1b31(_0x589e85,_0xc3a7af){const _0x17dac2=_0x17da();return _0x1b31=function(_0x1b317b,_0x39ced0){_0x1b317b=_0x1b317b-0x1b6;let _0x4b27ec=_0x17dac2[_0x1b317b];return _0x4b27ec;},_0x1b31(_0x589e85,_0xc3a7af);}export default class tt extends _0x493405{constructor(_0x473ba9,_0x401792){const _0x42b386=_0x1b31;super(_0x473ba9);const _0x576f48=this[_0x42b386(0x1c8)];this[_0x42b386(0x1bf)](_0x42b386(0x1bc),''),this[_0x42b386(0x1b6)]({'tag':_0x42b386(0x1be),'attributes':{..._0x401792,'class':[_0x42b386(0x1c3),_0x42b386(0x1b8)],'ctx-name':_0x42b386(0x1c6),'cdn-url':_0x576f48['to'](_0x42b386(0x1bc))}});}}
23
+ (function(_0x133ad4,_0x146ba0){const _0x1c2991=_0x1f0e,_0x48e121=_0x133ad4();while(!![]){try{const _0xee036a=-parseInt(_0x1c2991(0x89))/0x1*(-parseInt(_0x1c2991(0x8c))/0x2)+parseInt(_0x1c2991(0x85))/0x3+-parseInt(_0x1c2991(0x88))/0x4*(-parseInt(_0x1c2991(0x8e))/0x5)+parseInt(_0x1c2991(0x7d))/0x6*(parseInt(_0x1c2991(0x80))/0x7)+-parseInt(_0x1c2991(0x83))/0x8+-parseInt(_0x1c2991(0x84))/0x9*(-parseInt(_0x1c2991(0x8d))/0xa)+-parseInt(_0x1c2991(0x7e))/0xb;if(_0xee036a===_0x146ba0)break;else _0x48e121['push'](_0x48e121['shift']());}catch(_0x4477f5){_0x48e121['push'](_0x48e121['shift']());}}}(_0x2734,0x42fa5));function _0x2734(){const _0x31dab9=['1IzDroi','ck-uploadcare-theme','setTemplate','378354lpVwFn','3830VKWsOb','50855BZVEgF','uc-cloud-image-editor','2748sdJsTV','8780706OMDKdd','bindTemplate','3248xVxuhq','image-edit','imageSrc','698424Gggqnu','1260OplONv','1106814xVqKWl','set','uc-light','132uXwqyf'];_0x2734=function(){return _0x31dab9;};return _0x2734();}function _0x1f0e(_0x4d47d4,_0x12d710){const _0x2734cd=_0x2734();return _0x1f0e=function(_0x1f0e97,_0x362b09){_0x1f0e97=_0x1f0e97-0x7d;let _0xa4534f=_0x2734cd[_0x1f0e97];return _0xa4534f;},_0x1f0e(_0x4d47d4,_0x12d710);}import{View as _0x399feb}from'ckeditor5/src/ui.js';export default class tt extends _0x399feb{constructor(_0x4e2350,_0x78a8f7){const _0x1eaff8=_0x1f0e;super(_0x4e2350);const _0x44cf7d=this[_0x1eaff8(0x7f)];this[_0x1eaff8(0x86)](_0x1eaff8(0x82),''),this[_0x1eaff8(0x8b)]({'tag':_0x1eaff8(0x8f),'attributes':{..._0x78a8f7,'class':[_0x1eaff8(0x87),_0x1eaff8(0x8a)],'ctx-name':_0x1eaff8(0x81),'cdn-url':_0x44cf7d['to'](_0x1eaff8(0x82))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4e8224,IconView as at,View as _0x4a5ef6}from'ckeditor5/src/ui.js';export default class rt extends _0x4a5ef6{constructor(_0x1c3e87){super(_0x1c3e87);const t=_0x1c3e87['t'];this['set']('errorType',null);const _0x37de3d=new _0x4e8224(_0x1c3e87);_0x37de3d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x37de3d['withText']=!0x0,_0x37de3d['class']='ck-button-action',_0x37de3d['on']('execute',()=>{this['fire']('retry');}),_0x37de3d['bind']('isVisible')['to'](this,'errorType',_0x54c0e4=>'NotFound'!==_0x54c0e4);const _0x30cdfb=new at();_0x30cdfb['content']=et,_0x30cdfb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x33539a=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':[_0x30cdfb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x33539a['to']('errorType',_0x2f8a5b=>t('NotFound'!==_0x2f8a5b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x37de3d]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x245f09,IconView as at,View as _0x329187}from'ckeditor5/src/ui.js';export default class rt extends _0x329187{constructor(_0x1cdb12){super(_0x1cdb12);const t=_0x1cdb12['t'];this['set']('errorType',null);const _0x399aaa=new _0x245f09(_0x1cdb12);_0x399aaa['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x399aaa['withText']=!0x0,_0x399aaa['class']='ck-button-action',_0x399aaa['on']('execute',()=>{this['fire']('retry');}),_0x399aaa['bind']('isVisible')['to'](this,'errorType',_0x5975e0=>'NotFound'!==_0x5975e0);const _0xa32c40=new at();_0xa32c40['content']=et,_0xa32c40['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x324fcc=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':[_0xa32c40,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x324fcc['to']('errorType',_0x85c710=>t('NotFound'!==_0x85c710?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x399aaa]},{'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 _0x18972b,View as _0x265316}from'ckeditor5/src/ui.js';export default class ta extends _0x265316{constructor(_0x445f5a){super(_0x445f5a);const t=_0x445f5a['t'],_0x524067=this['bindTemplate'],_0x89cdc6=new _0x18972b();_0x89cdc6['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':[_0x89cdc6,{'text':_0x524067['to']('imageUploadProgress',_0x314c57=>t('Loading\x20image...')+'\x20('+(_0x314c57||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 _0x53ac1b,View as _0x40e292}from'ckeditor5/src/ui.js';export default class ta extends _0x40e292{constructor(_0x44e119){super(_0x44e119);const t=_0x44e119['t'],_0x1ee3dd=this['bindTemplate'],_0x22bccc=new _0x53ac1b();_0x22bccc['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':[_0x22bccc,{'text':_0x1ee3dd['to']('imageUploadProgress',_0x58cc00=>t('Loading\x20image...')+'\x20('+(_0x58cc00||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5dfe(){const _0x3b3574=['_addErrorViewListeners','toLowerCase','length','setTemplate','change:status','createCollection','13653vzJpwU','render','_focusableView','retry','652ZSgcAY','_editingView','nodeName','div','error','addMany','status','_waitForImageEditorComponent','once','ck-reset_all-excluded','getFocusableElement','fire','cancel','14RMzoJk','ready','cdnUrl','ck-uploadcare-form','_setView','addEventListener','141138PnwMuK','clear','uc-cloud-image-editor','_loadingView','apply','6423642TCUuUl','49389580MoYiXX','uploading','_errorView','187218uQEdKt','focus','1324688bzgrDx','target','disconnect','set','_items','querySelector','observe','element','add','addedNodes','125NFavZP','_addUploadcareImageEditorListeners','6957713BJdjTT','detail','filter'];_0x5dfe=function(){return _0x3b3574;};return _0x5dfe();}const _0x12eda8=_0x61e7;(function(_0x21efe2,_0x5bffbd){const _0x39227b=_0x61e7,_0x4d7c64=_0x21efe2();while(!![]){try{const _0x26d480=parseInt(_0x39227b(0xd8))/0x1*(-parseInt(_0x39227b(0xd2))/0x2)+-parseInt(_0x39227b(0xc1))/0x3*(parseInt(_0x39227b(0xc5))/0x4)+parseInt(_0x39227b(0xb6))/0x5*(-parseInt(_0x39227b(0xe1))/0x6)+-parseInt(_0x39227b(0xb8))/0x7+-parseInt(_0x39227b(0xac))/0x8+-parseInt(_0x39227b(0xdd))/0x9+parseInt(_0x39227b(0xde))/0xa;if(_0x26d480===_0x5bffbd)break;else _0x4d7c64['push'](_0x4d7c64['shift']());}catch(_0x102e30){_0x4d7c64['push'](_0x4d7c64['shift']());}}}(_0x5dfe,0x87b2d));import{View as _0x727230}from'ckeditor5/src/ui.js';import _0x4462e6 from'./uploadcareimageeditformloadingview.js';import _0x50f58c from'./uploadcareimageeditformerrorview.js';import _0xa13fa4 from'./uploadcareimageeditformeditingview.js';import _0x18097a from'../../utils/dialogfocusmanagerview.js';function _0x61e7(_0x53da03,_0x557003){const _0x5dfe1a=_0x5dfe();return _0x61e7=function(_0x61e789,_0x1de119){_0x61e789=_0x61e789-0xac;let _0x5e63b1=_0x5dfe1a[_0x61e789];return _0x5e63b1;},_0x61e7(_0x53da03,_0x557003);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x18097a{[_0x12eda8(0xb0)];[_0x12eda8(0xdb)];[_0x12eda8(0xe0)];[_0x12eda8(0xc6)];[_0x12eda8(0xc3)];constructor(_0x22ed00,_0x51c52a,_0xdb15c){const _0x1c4aa9=_0x12eda8;super(_0x22ed00),this[_0x1c4aa9(0xb0)]=this[_0x1c4aa9(0xc0)](),this[_0x1c4aa9(0xdb)]=new _0x4462e6(_0x22ed00),this[_0x1c4aa9(0xe0)]=new _0x50f58c(_0x22ed00),this[_0x1c4aa9(0xc6)]=new _0xa13fa4(_0x22ed00,_0xdb15c),this[_0x1c4aa9(0xc3)]=new _0x727230(_0x22ed00),this[_0x1c4aa9(0xc3)][_0x1c4aa9(0xbe)](this[_0x1c4aa9(0xcf)]()),this[_0x1c4aa9(0xaf)](_0x1c4aa9(0xcb),_0x51c52a),this[_0x1c4aa9(0xbe)]({'tag':_0x1c4aa9(0xc8),'attributes':{'class':['ck',_0x1c4aa9(0xce),_0x1c4aa9(0xd5)],'tabindex':'-1'},'children':this[_0x1c4aa9(0xb0)]}),this[_0x1c4aa9(0xd6)](),this[_0x1c4aa9(0xcd)](_0x1c4aa9(0xc2),()=>{const _0x302dde=_0x1c4aa9;this[_0x302dde(0xcc)](this[_0x302dde(0xb3)],_0x4bc9ac=>{const _0x31e969=_0x302dde;this[_0x31e969(0xb7)](_0x4bc9ac);});}),this['on'](_0x1c4aa9(0xbf),()=>{const _0x372dd4=_0x1c4aa9;this[_0x372dd4(0xd6)]();}),this[_0x1c4aa9(0xbb)]();}[_0x12eda8(0xe2)](){const _0x22b38f=_0x12eda8;this[_0x22b38f(0xb3)][_0x22b38f(0xe2)]();}[_0x12eda8(0xd6)](){const _0x700d82=_0x12eda8;switch(this[_0x700d82(0xb0)][_0x700d82(0xd9)](),this[_0x700d82(0xcb)]){case _0x700d82(0xdf):this[_0x700d82(0xb0)][_0x700d82(0xb4)](this[_0x700d82(0xdb)]);break;case _0x700d82(0xc9):this[_0x700d82(0xb0)][_0x700d82(0xb4)](this[_0x700d82(0xe0)]);break;case _0x700d82(0xd3):this[_0x700d82(0xb0)][_0x700d82(0xca)]([this[_0x700d82(0xc6)],this[_0x700d82(0xc3)]]);}}[_0x12eda8(0xcc)](_0x5a9efc,_0x223cf6){const _0x13dc35=_0x12eda8,_0x22cc35=_0x13dc35(0xda),_0x177e2c=_0x5a9efc[_0x13dc35(0xb1)](_0x22cc35);if(_0x177e2c)return _0x223cf6(_0x177e2c);const _0x243353=new MutationObserver(_0x495412=>{const _0x39f210=_0x13dc35,_0x5885bf=_0x495412[_0x39f210(0xba)](_0x914462=>_0x914462[_0x39f210(0xad)]===_0x5a9efc&&_0x914462[_0x39f210(0xb5)][_0x39f210(0xbd)]>0x0&&_0x914462[_0x39f210(0xb5)][0x0][_0x39f210(0xc7)][_0x39f210(0xbc)]()===_0x22cc35);_0x5885bf[_0x39f210(0xbd)]&&(_0x243353[_0x39f210(0xae)](),_0x223cf6(_0x5885bf[0x0][_0x39f210(0xb5)][0x0]));});_0x243353[_0x13dc35(0xb2)](_0x5a9efc,{'childList':!0x0,'subtree':!0x0});}[_0x12eda8(0xb7)](_0x105ae9){const _0x5beeb9=_0x12eda8;_0x105ae9[_0x5beeb9(0xd7)](_0x5beeb9(0xdc),_0x24fa5d=>{const _0x5b8866=_0x5beeb9;this[_0x5b8866(0xd0)](_0x5b8866(0xdc),{'imageSrc':_0x24fa5d[_0x5b8866(0xb9)][_0x5b8866(0xd4)]});}),_0x105ae9[_0x5beeb9(0xd7)](_0x5beeb9(0xd1),()=>{const _0xdac01e=_0x5beeb9;this[_0xdac01e(0xd0)](_0xdac01e(0xd1));});}[_0x12eda8(0xbb)](){const _0x1bd976=_0x12eda8;this[_0x1bd976(0xe0)]['on'](_0x1bd976(0xc4),()=>{const _0x53273e=_0x1bd976;this[_0x53273e(0xd0)](_0x53273e(0xc4));});}}
23
+ const _0x48a6e4=_0x26d7;(function(_0x1b723d,_0x245ae9){const _0x43ee86=_0x26d7,_0x5ebfcb=_0x1b723d();while(!![]){try{const _0xc4bb45=parseInt(_0x43ee86(0x9c))/0x1*(parseInt(_0x43ee86(0x9d))/0x2)+parseInt(_0x43ee86(0xaa))/0x3*(-parseInt(_0x43ee86(0x84))/0x4)+parseInt(_0x43ee86(0x7c))/0x5*(parseInt(_0x43ee86(0xa6))/0x6)+-parseInt(_0x43ee86(0x77))/0x7*(-parseInt(_0x43ee86(0x7a))/0x8)+-parseInt(_0x43ee86(0x8c))/0x9*(-parseInt(_0x43ee86(0x87))/0xa)+parseInt(_0x43ee86(0x80))/0xb*(parseInt(_0x43ee86(0x90))/0xc)+-parseInt(_0x43ee86(0x95))/0xd*(parseInt(_0x43ee86(0xa5))/0xe);if(_0xc4bb45===_0x245ae9)break;else _0x5ebfcb['push'](_0x5ebfcb['shift']());}catch(_0x141f6d){_0x5ebfcb['push'](_0x5ebfcb['shift']());}}}(_0x4f62,0xb6c60));import{View as _0x2eaa07}from'ckeditor5/src/ui.js';import _0x1cd714 from'./uploadcareimageeditformloadingview.js';import _0x7b2d27 from'./uploadcareimageeditformerrorview.js';import _0x1a96da from'./uploadcareimageeditformeditingview.js';function _0x26d7(_0x31d9d4,_0x301d67){const _0x4f6221=_0x4f62();return _0x26d7=function(_0x26d7df,_0x5347eb){_0x26d7df=_0x26d7df-0x70;let _0x33f0f6=_0x4f6221[_0x26d7df];return _0x33f0f6;},_0x26d7(_0x31d9d4,_0x301d67);}import _0x17004f from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x17004f{[_0x48a6e4(0x9b)];[_0x48a6e4(0x9f)];[_0x48a6e4(0x8e)];[_0x48a6e4(0xa8)];[_0x48a6e4(0xa7)];constructor(_0x2842e7,_0x104ddd,_0x5e7970){const _0x367303=_0x48a6e4;super(_0x2842e7),this[_0x367303(0x9b)]=this[_0x367303(0x76)](),this[_0x367303(0x9f)]=new _0x1cd714(_0x2842e7),this[_0x367303(0x8e)]=new _0x7b2d27(_0x2842e7),this[_0x367303(0xa8)]=new _0x1a96da(_0x2842e7,_0x5e7970),this[_0x367303(0xa7)]=new _0x2eaa07(_0x2842e7),this[_0x367303(0xa7)][_0x367303(0x81)](this[_0x367303(0x7e)]()),this[_0x367303(0x83)](_0x367303(0x86),_0x104ddd),this[_0x367303(0x81)]({'tag':_0x367303(0x73),'attributes':{'class':['ck',_0x367303(0x94),_0x367303(0xa3)],'tabindex':'-1'},'children':this[_0x367303(0x9b)]}),this[_0x367303(0x96)](),this[_0x367303(0x72)](_0x367303(0x99),()=>{const _0x45461a=_0x367303;this[_0x45461a(0xa2)](this[_0x45461a(0x8b)],_0x28bff5=>{const _0x14dda4=_0x45461a;this[_0x14dda4(0x82)](_0x28bff5);});}),this['on'](_0x367303(0x9e),()=>{const _0xc80262=_0x367303;this[_0xc80262(0x96)]();}),this[_0x367303(0x7b)]();}[_0x48a6e4(0x75)](){const _0x4cc8a9=_0x48a6e4;this[_0x4cc8a9(0x8b)][_0x4cc8a9(0x75)]();}[_0x48a6e4(0x96)](){const _0xab5eea=_0x48a6e4;switch(this[_0xab5eea(0x9b)][_0xab5eea(0x7f)](),this[_0xab5eea(0x86)]){case _0xab5eea(0x9a):this[_0xab5eea(0x9b)][_0xab5eea(0x71)](this[_0xab5eea(0x9f)]);break;case _0xab5eea(0x79):this[_0xab5eea(0x9b)][_0xab5eea(0x71)](this[_0xab5eea(0x8e)]);break;case _0xab5eea(0x92):this[_0xab5eea(0x9b)][_0xab5eea(0x93)]([this[_0xab5eea(0xa8)],this[_0xab5eea(0xa7)]]);}}[_0x48a6e4(0xa2)](_0x17f576,_0x4d44fe){const _0x55b4ba=_0x48a6e4,_0xabe0f2=_0x55b4ba(0x78),_0x37fdde=_0x17f576[_0x55b4ba(0x74)](_0xabe0f2);if(_0x37fdde)return _0x4d44fe(_0x37fdde);const _0xbefdae=new MutationObserver(_0x75c5ea=>{const _0x487f31=_0x55b4ba,_0x78edb8=_0x75c5ea[_0x487f31(0x88)](_0x36a3e9=>_0x36a3e9[_0x487f31(0x8d)]===_0x17f576&&_0x36a3e9[_0x487f31(0xa9)][_0x487f31(0x91)]>0x0&&_0x36a3e9[_0x487f31(0xa9)][0x0][_0x487f31(0x98)][_0x487f31(0x70)]()===_0xabe0f2);_0x78edb8[_0x487f31(0x91)]&&(_0xbefdae[_0x487f31(0xa4)](),_0x4d44fe(_0x78edb8[0x0][_0x487f31(0xa9)][0x0]));});_0xbefdae[_0x55b4ba(0x8f)](_0x17f576,{'childList':!0x0,'subtree':!0x0});}[_0x48a6e4(0x82)](_0x5be4a3){const _0x66c353=_0x48a6e4;_0x5be4a3[_0x66c353(0x85)](_0x66c353(0xa0),_0x3d7ac6=>{const _0x5c32e7=_0x66c353;this[_0x5c32e7(0x97)](_0x5c32e7(0xa0),{'imageSrc':_0x3d7ac6[_0x5c32e7(0x8a)][_0x5c32e7(0x89)]});}),_0x5be4a3[_0x66c353(0x85)](_0x66c353(0x7d),()=>{const _0x379ce7=_0x66c353;this[_0x379ce7(0x97)](_0x379ce7(0x7d));});}[_0x48a6e4(0x7b)](){const _0x163659=_0x48a6e4;this[_0x163659(0x8e)]['on'](_0x163659(0xa1),()=>{const _0x585dd5=_0x163659;this[_0x585dd5(0x97)](_0x585dd5(0xa1));});}}function _0x4f62(){const _0x223d1e=['once','div','querySelector','focus','createCollection','1202229vxGehY','uc-cloud-image-editor','error','8pWUBJz','_addErrorViewListeners','3731510PnoHia','cancel','getFocusableElement','clear','1236829njsGxh','setTemplate','_addUploadcareImageEditorListeners','set','100bYjOpQ','addEventListener','status','72830SDTKCH','filter','cdnUrl','detail','element','1413gWfsaC','target','_errorView','observe','156YLrGsX','length','ready','addMany','ck-reset_all-excluded','13525317YPRLVz','_setView','fire','nodeName','render','uploading','_items','161663hKJWdN','12MNqTjx','change:status','_loadingView','apply','retry','_waitForImageEditorComponent','ck-uploadcare-form','disconnect','42lZLlTD','12QydzMg','_focusableView','_editingView','addedNodes','164352lINpnC','toLowerCase','add'];_0x4f62=function(){return _0x223d1e;};return _0x4f62();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12883c=_0x44c9;function _0x17ad(){const _0x3e6322=['execute','80mDElYP','config','plugins','document','54190XluRuq','3096797kVGBWo','imageInline','editor','element','2120664ufnyAV','5919781OGWXGQ','selection','getSelectedElement','176fQdvTi','bind','imageEditController','6SoRpAI','104SobowV','refresh','isActive','model','_isEditable','1377692dqTYOG','isEnabled','set','imageBlock','70677BZqVGm','552630AWlHBG','requires','get','unbind','uploadcare.allowExternalImagesEditing'];_0x17ad=function(){return _0x3e6322;};return _0x17ad();}(function(_0x574a13,_0xd76fd4){const _0x489b93=_0x44c9,_0x514a84=_0x574a13();while(!![]){try{const _0x572163=-parseInt(_0x489b93(0xaa))/0x1+parseInt(_0x489b93(0xa5))/0x2+-parseInt(_0x489b93(0xb9))/0x3+parseInt(_0x489b93(0x9c))/0x4*(-parseInt(_0x489b93(0xb4))/0x5)+parseInt(_0x489b93(0x9f))/0x6*(-parseInt(_0x489b93(0xba))/0x7)+parseInt(_0x489b93(0xa0))/0x8*(parseInt(_0x489b93(0xa9))/0x9)+parseInt(_0x489b93(0xb0))/0xa*(parseInt(_0x489b93(0xb5))/0xb);if(_0x572163===_0xd76fd4)break;else _0x514a84['push'](_0x514a84['shift']());}catch(_0x21aa31){_0x514a84['push'](_0x514a84['shift']());}}}(_0x17ad,0x70916));import{Command as _0x38aaff}from'ckeditor5/src/core.js';import{Dialog as _0x632836}from'ckeditor5/src/ui.js';import _0x1e8722 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x25d0a8}from'../utils/editingutils.js';function _0x44c9(_0x3ef946,_0x6599d6){const _0x17ad84=_0x17ad();return _0x44c9=function(_0x44c9a5,_0x5dc78c){_0x44c9a5=_0x44c9a5-0x9b;let _0x3f8513=_0x17ad84[_0x44c9a5];return _0x3f8513;},_0x44c9(_0x3ef946,_0x6599d6);}export default class J extends _0x38aaff{[_0x12883c(0x9e)];static get[_0x12883c(0xab)](){return[_0x632836];}[_0x12883c(0xa4)];constructor(_0x1298da){const _0x30e4d5=_0x12883c;super(_0x1298da),this[_0x30e4d5(0x9e)]=void 0x0,this[_0x30e4d5(0xa4)]=_0x25d0a8(_0x1298da[_0x30e4d5(0xb1)][_0x30e4d5(0xac)](_0x30e4d5(0xae))||[]),this[_0x30e4d5(0xa7)]({'isActive':!0x1});}[_0x12883c(0xa1)](){const _0x232565=_0x12883c,_0xfbb9f6=this[_0x232565(0xb7)][_0x232565(0xa3)][_0x232565(0xb3)][_0x232565(0xbb)][_0x232565(0x9b)]();this[_0x232565(0xa6)]=this[_0x232565(0xa4)](_0xfbb9f6);}[_0x12883c(0xaf)](){const _0x89eee2=_0x12883c;this[_0x89eee2(0x9e)]&&(this[_0x89eee2(0xad)](_0x89eee2(0xa2)),this[_0x89eee2(0x9e)]=void 0x0);const _0x533fde=this[_0x89eee2(0xb7)][_0x89eee2(0xa3)][_0x89eee2(0xb3)][_0x89eee2(0xbb)][_0x89eee2(0x9b)]();_0x533fde&&(_0x533fde['is'](_0x89eee2(0xb8),_0x89eee2(0xa8))||_0x533fde['is'](_0x89eee2(0xb8),_0x89eee2(0xb6)))&&(this[_0x89eee2(0x9e)]=new _0x1e8722(this[_0x89eee2(0xb7)],this[_0x89eee2(0xb7)][_0x89eee2(0xb2)][_0x89eee2(0xac)](_0x632836),_0x533fde),this[_0x89eee2(0x9d)](_0x89eee2(0xa2))['to'](this[_0x89eee2(0x9e)],_0x89eee2(0xa2)));}}
23
+ const _0x336cfe=_0x3f2e;(function(_0x2a0c32,_0x36f43d){const _0x3ae4dc=_0x3f2e,_0x2c07d8=_0x2a0c32();while(!![]){try{const _0x19c0c0=-parseInt(_0x3ae4dc(0x1c8))/0x1+-parseInt(_0x3ae4dc(0x1d1))/0x2*(-parseInt(_0x3ae4dc(0x1c9))/0x3)+-parseInt(_0x3ae4dc(0x1dd))/0x4*(parseInt(_0x3ae4dc(0x1e3))/0x5)+parseInt(_0x3ae4dc(0x1e6))/0x6*(-parseInt(_0x3ae4dc(0x1d9))/0x7)+parseInt(_0x3ae4dc(0x1cd))/0x8*(parseInt(_0x3ae4dc(0x1e4))/0x9)+parseInt(_0x3ae4dc(0x1de))/0xa+-parseInt(_0x3ae4dc(0x1ce))/0xb*(-parseInt(_0x3ae4dc(0x1d2))/0xc);if(_0x19c0c0===_0x36f43d)break;else _0x2c07d8['push'](_0x2c07d8['shift']());}catch(_0x50cdf8){_0x2c07d8['push'](_0x2c07d8['shift']());}}}(_0xdb37,0x92aaf));import{Command as _0x33d2cf}from'ckeditor5/src/core.js';function _0xdb37(){const _0x213592=['get','refresh','unbind','83605MMIbSD','10629dmXIES','imageEditController','864594GthexK','document','set','selection','812936JBojHP','4062wswClK','isActive','_isEditable','imageBlock','3392QLomEE','1853555gVQxwe','getSelectedElement','bind','190GyQevH','36jRJAaf','config','requires','plugins','model','execute','isEnabled','14QbRFBZ','uploadcare.allowExternalImagesEditing','editor','imageInline','92nRpubs','9515790HKbMkj','element'];_0xdb37=function(){return _0x213592;};return _0xdb37();}function _0x3f2e(_0x464b4d,_0x2d977a){const _0xdb37cc=_0xdb37();return _0x3f2e=function(_0x3f2e07,_0xd1c93e){_0x3f2e07=_0x3f2e07-0x1c5;let _0x3c3fde=_0xdb37cc[_0x3f2e07];return _0x3c3fde;},_0x3f2e(_0x464b4d,_0x2d977a);}import{Dialog as _0x327785}from'ckeditor5/src/ui.js';import _0x26eaaf from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x217e54}from'../utils/editingutils.js';export default class J extends _0x33d2cf{[_0x336cfe(0x1e5)];static get[_0x336cfe(0x1d4)](){return[_0x327785];}[_0x336cfe(0x1cb)];constructor(_0x5c2e85){const _0x5c9d32=_0x336cfe;super(_0x5c2e85),this[_0x5c9d32(0x1e5)]=void 0x0,this[_0x5c9d32(0x1cb)]=_0x217e54(_0x5c2e85[_0x5c9d32(0x1d3)][_0x5c9d32(0x1e0)](_0x5c9d32(0x1da))||[]),this[_0x5c9d32(0x1c6)]({'isActive':!0x1});}[_0x336cfe(0x1e1)](){const _0x2309aa=_0x336cfe,_0x111155=this[_0x2309aa(0x1db)][_0x2309aa(0x1d6)][_0x2309aa(0x1c5)][_0x2309aa(0x1c7)][_0x2309aa(0x1cf)]();this[_0x2309aa(0x1d8)]=this[_0x2309aa(0x1cb)](_0x111155);}[_0x336cfe(0x1d7)](){const _0x744e16=_0x336cfe;this[_0x744e16(0x1e5)]&&(this[_0x744e16(0x1e2)](_0x744e16(0x1ca)),this[_0x744e16(0x1e5)]=void 0x0);const _0x196722=this[_0x744e16(0x1db)][_0x744e16(0x1d6)][_0x744e16(0x1c5)][_0x744e16(0x1c7)][_0x744e16(0x1cf)]();_0x196722&&(_0x196722['is'](_0x744e16(0x1df),_0x744e16(0x1cc))||_0x196722['is'](_0x744e16(0x1df),_0x744e16(0x1dc)))&&(this[_0x744e16(0x1e5)]=new _0x26eaaf(this[_0x744e16(0x1db)],this[_0x744e16(0x1db)][_0x744e16(0x1d5)][_0x744e16(0x1e0)](_0x327785),_0x196722),this[_0x744e16(0x1d0)](_0x744e16(0x1ca))['to'](this[_0x744e16(0x1e5)],_0x744e16(0x1ca)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f17(){const _0x3a0a02=['isPremiumPlugin','61606EZGzzJ','init','2130303ZnIdmY','5649104RWRNIn','132UizwIy','1273312mIfNxe','isOfficialPlugin','UploadcareImageEditEditing','commands','945OuqOFx','uploadcareImageEdit','uploadcareImageReplace','ImageEditing','32901lQIjfW','ImageUtils','9JXCsQq','requires','pluginName','65690sjAtIO','add'];_0x4f17=function(){return _0x3a0a02;};return _0x4f17();}const _0x43212c=_0x5d05;(function(_0x1f63d1,_0xa4b32a){const _0x583f5f=_0x5d05,_0x3362d6=_0x1f63d1();while(!![]){try{const _0x2ede89=-parseInt(_0x583f5f(0xba))/0x1+-parseInt(_0x583f5f(0xb1))/0x2+parseInt(_0x583f5f(0xbe))/0x3+parseInt(_0x583f5f(0xb6))/0x4+-parseInt(_0x583f5f(0xae))/0x5*(-parseInt(_0x583f5f(0xb5))/0x6)+parseInt(_0x583f5f(0xb3))/0x7+-parseInt(_0x583f5f(0xb4))/0x8*(parseInt(_0x583f5f(0xab))/0x9);if(_0x2ede89===_0xa4b32a)break;else _0x3362d6['push'](_0x3362d6['shift']());}catch(_0x5268b9){_0x3362d6['push'](_0x3362d6['shift']());}}}(_0x4f17,0x2d1c6));function _0x5d05(_0x4b87a3,_0x1b0286){const _0x4f17b7=_0x4f17();return _0x5d05=function(_0x5d05bb,_0x4c8f29){_0x5d05bb=_0x5d05bb-0xaa;let _0x383e2c=_0x4f17b7[_0x5d05bb];return _0x383e2c;},_0x5d05(_0x4b87a3,_0x1b0286);}import{Plugin as _0x325269}from'ckeditor5/src/core.js';import{Notification as _0x1846b4}from'ckeditor5/src/ui.js';import _0x5d591b from'./uploadcareimageeditcommand.js';import _0x45f7a1 from'./uploadcareimagereplacecommand.js';import _0x11d675 from'../uploadcareediting.js';export default class g extends _0x325269{static get[_0x43212c(0xad)](){const _0x8ec17b=_0x43212c;return _0x8ec17b(0xb8);}static get[_0x43212c(0xac)](){const _0x2ebae2=_0x43212c;return[_0x11d675,_0x1846b4,_0x2ebae2(0xaa),_0x2ebae2(0xbd)];}static get[_0x43212c(0xb7)](){return!0x0;}static get[_0x43212c(0xb0)](){return!0x0;}[_0x43212c(0xb2)](){const _0x401ede=_0x43212c,{editor:_0x5b22b7}=this;_0x5b22b7[_0x401ede(0xb9)][_0x401ede(0xaf)](_0x401ede(0xbb),new _0x5d591b(_0x5b22b7)),_0x5b22b7[_0x401ede(0xb9)][_0x401ede(0xaf)](_0x401ede(0xbc),new _0x45f7a1(_0x5b22b7));}}
23
+ const _0x559378=_0x483e;(function(_0x270cc8,_0x124721){const _0x482208=_0x483e,_0x444a1b=_0x270cc8();while(!![]){try{const _0x43f125=-parseInt(_0x482208(0x1d0))/0x1+parseInt(_0x482208(0x1dd))/0x2+-parseInt(_0x482208(0x1de))/0x3+parseInt(_0x482208(0x1d4))/0x4*(parseInt(_0x482208(0x1d6))/0x5)+-parseInt(_0x482208(0x1d9))/0x6+parseInt(_0x482208(0x1d7))/0x7*(-parseInt(_0x482208(0x1da))/0x8)+parseInt(_0x482208(0x1d5))/0x9;if(_0x43f125===_0x124721)break;else _0x444a1b['push'](_0x444a1b['shift']());}catch(_0x5da506){_0x444a1b['push'](_0x444a1b['shift']());}}}(_0x31bf,0x71894));import{Plugin as _0x40ef2f}from'ckeditor5/src/core.js';import{Notification as _0x58c2f2}from'ckeditor5/src/ui.js';function _0x31bf(){const _0x3a95b5=['UploadcareImageEditEditing','ImageUtils','ImageEditing','pluginName','uploadcareImageEdit','295913ugAzgQ','add','init','requires','4080Xxuuxy','4632111RuElmy','2865kmnVWZ','35uGQQVq','isOfficialPlugin','3393588jlVjCo','166168RBpzcd','uploadcareImageReplace','commands','1025752LQsWLI','544815HSoNBV','isPremiumPlugin'];_0x31bf=function(){return _0x3a95b5;};return _0x31bf();}import _0x4fc76f from'./uploadcareimageeditcommand.js';import _0x2d5c7f from'./uploadcareimagereplacecommand.js';import _0x3037b3 from'../uploadcareediting.js';function _0x483e(_0x2cda39,_0x538a7d){const _0x31bf52=_0x31bf();return _0x483e=function(_0x483e86,_0x34fca7){_0x483e86=_0x483e86-0x1ce;let _0x43b1c9=_0x31bf52[_0x483e86];return _0x43b1c9;},_0x483e(_0x2cda39,_0x538a7d);}export default class g extends _0x40ef2f{static get[_0x559378(0x1ce)](){const _0x5b5f88=_0x559378;return _0x5b5f88(0x1e0);}static get[_0x559378(0x1d3)](){const _0x313675=_0x559378;return[_0x3037b3,_0x58c2f2,_0x313675(0x1e1),_0x313675(0x1e2)];}static get[_0x559378(0x1d8)](){return!0x0;}static get[_0x559378(0x1df)](){return!0x0;}[_0x559378(0x1d2)](){const _0x2a536b=_0x559378,{editor:_0x4b716d}=this;_0x4b716d[_0x2a536b(0x1dc)][_0x2a536b(0x1d1)](_0x2a536b(0x1cf),new _0x4fc76f(_0x4b716d)),_0x4b716d[_0x2a536b(0x1dc)][_0x2a536b(0x1d1)](_0x2a536b(0x1db),new _0x2d5c7f(_0x4b716d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5ceb4f}from'ckeditor5/src/core.js';import{ButtonView as _0x147b3c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x51710b}from'ckeditor5/src/icons.js';import{createElement as _0x51655a}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x5ceb4f{['_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 _0x573411=this['editor'];_0x573411['ui']['componentFactory']['add']('uploadcareImageEdit',_0x31d9fb=>{const _0x57c061=_0x573411['commands']['get']('uploadcareImageEdit'),_0x44ab14=new _0x147b3c(_0x31d9fb),t=_0x31d9fb['t'];return _0x44ab14['set']({'icon':_0x51710b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44ab14['bind']('isEnabled')['to'](_0x57c061),_0x44ab14['bind']('isOn')['to'](_0x57c061,'isActive'),this['listenTo'](_0x44ab14,'execute',()=>{_0x573411['execute']('uploadcareImageEdit'),_0x573411['editing']['view']['focus']();}),_0x44ab14;}),this['_initConfig']();}['_initConfig'](){const _0x467241=_0x51655a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x467241),this['listenTo'](this['editor'],'destroy',()=>{_0x467241['remove']();});}}
23
+ import{Plugin as _0x537f49}from'ckeditor5/src/core.js';import{ButtonView as _0x2ca146}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x48e8a8}from'ckeditor5/src/icons.js';import{createElement as _0x530052}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x537f49{['_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 _0x4958a2=this['editor'];_0x4958a2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47f077=>{const _0x319776=_0x4958a2['commands']['get']('uploadcareImageEdit'),_0x14ab00=new _0x2ca146(_0x47f077),t=_0x47f077['t'];return _0x14ab00['set']({'icon':_0x48e8a8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14ab00['bind']('isEnabled')['to'](_0x319776),_0x14ab00['bind']('isOn')['to'](_0x319776,'isActive'),this['listenTo'](_0x14ab00,'execute',()=>{_0x4958a2['execute']('uploadcareImageEdit'),_0x4958a2['editing']['view']['focus']();}),_0x14ab00;}),this['_initConfig']();}['_initConfig'](){const _0x46e53c=_0x530052(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x46e53c),this['listenTo'](this['editor'],'destroy',()=>{_0x46e53c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x61031=_0x1390;function _0x1390(_0x1ca830,_0x267a75){const _0xdd7354=_0xdd73();return _0x1390=function(_0x139099,_0x2bdfdd){_0x139099=_0x139099-0x1ec;let _0x352b62=_0xdd7354[_0x139099];return _0x352b62;},_0x1390(_0x1ca830,_0x267a75);}(function(_0x120487,_0xe8b6d9){const _0xf8250a=_0x1390,_0x5d7f8a=_0x120487();while(!![]){try{const _0x84b277=parseInt(_0xf8250a(0x1ee))/0x1+-parseInt(_0xf8250a(0x1f1))/0x2+-parseInt(_0xf8250a(0x1ef))/0x3*(-parseInt(_0xf8250a(0x1fc))/0x4)+parseInt(_0xf8250a(0x1f8))/0x5*(parseInt(_0xf8250a(0x205))/0x6)+-parseInt(_0xf8250a(0x1f5))/0x7*(parseInt(_0xf8250a(0x1ec))/0x8)+parseInt(_0xf8250a(0x1fb))/0x9*(parseInt(_0xf8250a(0x1f9))/0xa)+parseInt(_0xf8250a(0x1f7))/0xb*(parseInt(_0xf8250a(0x1fe))/0xc);if(_0x84b277===_0xe8b6d9)break;else _0x5d7f8a['push'](_0x5d7f8a['shift']());}catch(_0x2d525a){_0x5d7f8a['push'](_0x5d7f8a['shift']());}}}(_0xdd73,0xa41e8));function _0xdd73(){const _0x29ed6e=['imageInline','refresh','42UiyWnV','document','execute','507128uMtttu','selection','334365duXwcG','21sAmfUu','model','2038916DcijSw','element','removeAttribute','srcset','119usJYsx','getSelectedElement','11TdWjQj','442605fAmGFH','10nImVsH','change','11586663mjyGzt','192364vxiirH','isEnabled','2295372lNNQQu','imageBlock','editor','setAttributes','sizes'];_0xdd73=function(){return _0x29ed6e;};return _0xdd73();}import{Command as _0x2b330c}from'ckeditor5/src/core.js';export default class O extends _0x2b330c{[_0x61031(0x204)](){const _0x3a5f99=_0x61031,_0xc0e481=this[_0x3a5f99(0x200)][_0x3a5f99(0x1f0)][_0x3a5f99(0x206)][_0x3a5f99(0x1ed)][_0x3a5f99(0x1f6)]();this[_0x3a5f99(0x1fd)]=Boolean(_0xc0e481&&(_0xc0e481['is'](_0x3a5f99(0x1f2),_0x3a5f99(0x1ff))||_0xc0e481['is'](_0x3a5f99(0x1f2),_0x3a5f99(0x203))));}[_0x61031(0x207)](_0x4be762){const _0x2dd6cc=_0x61031,_0x45c02c=this[_0x2dd6cc(0x200)][_0x2dd6cc(0x1f0)][_0x2dd6cc(0x206)][_0x2dd6cc(0x1ed)][_0x2dd6cc(0x1f6)]();this[_0x2dd6cc(0x200)][_0x2dd6cc(0x1f0)][_0x2dd6cc(0x1fa)](_0x33bd0a=>{const _0x5125a1=_0x2dd6cc;_0x33bd0a[_0x5125a1(0x201)](_0x4be762,_0x45c02c),_0x33bd0a[_0x5125a1(0x1f3)](_0x5125a1(0x1f4),_0x45c02c),_0x33bd0a[_0x5125a1(0x1f3)](_0x5125a1(0x202),_0x45c02c);});}}
23
+ const _0x42ba31=_0x5c05;(function(_0x3645e3,_0x5ae659){const _0x5c7f4c=_0x5c05,_0x219802=_0x3645e3();while(!![]){try{const _0x36088b=-parseInt(_0x5c7f4c(0x1ae))/0x1+-parseInt(_0x5c7f4c(0x1bf))/0x2+-parseInt(_0x5c7f4c(0x1b9))/0x3*(parseInt(_0x5c7f4c(0x1c5))/0x4)+parseInt(_0x5c7f4c(0x1be))/0x5*(parseInt(_0x5c7f4c(0x1b6))/0x6)+-parseInt(_0x5c7f4c(0x1c6))/0x7*(-parseInt(_0x5c7f4c(0x1ad))/0x8)+-parseInt(_0x5c7f4c(0x1b0))/0x9*(parseInt(_0x5c7f4c(0x1ac))/0xa)+-parseInt(_0x5c7f4c(0x1b2))/0xb*(-parseInt(_0x5c7f4c(0x1bc))/0xc);if(_0x36088b===_0x5ae659)break;else _0x219802['push'](_0x219802['shift']());}catch(_0x403b1d){_0x219802['push'](_0x219802['shift']());}}}(_0x5892,0x23adc));function _0x5c05(_0x504bca,_0x2ca04b){const _0x5892bc=_0x5892();return _0x5c05=function(_0x5c0571,_0x1d2f69){_0x5c0571=_0x5c0571-0x1ac;let _0xb2ffbf=_0x5892bc[_0x5c0571];return _0xb2ffbf;},_0x5c05(_0x504bca,_0x2ca04b);}function _0x5892(){const _0x3be70f=['removeAttribute','isEnabled','element','selection','imageInline','76FhrrNg','76461LdaYmK','sizes','732860HiqxXt','16BogvJR','115989tPYscH','setAttributes','18mpMLhk','change','11lQyIcj','document','getSelectedElement','model','324HDOGOA','imageBlock','execute','8076NZavBf','srcset','editor','2910888KoVYQF','refresh','25680EOVyKg','163830keMCle'];_0x5892=function(){return _0x3be70f;};return _0x5892();}import{Command as _0x1510e5}from'ckeditor5/src/core.js';export default class O extends _0x1510e5{[_0x42ba31(0x1bd)](){const _0x41ac8b=_0x42ba31,_0x263254=this[_0x41ac8b(0x1bb)][_0x41ac8b(0x1b5)][_0x41ac8b(0x1b3)][_0x41ac8b(0x1c3)][_0x41ac8b(0x1b4)]();this[_0x41ac8b(0x1c1)]=Boolean(_0x263254&&(_0x263254['is'](_0x41ac8b(0x1c2),_0x41ac8b(0x1b7))||_0x263254['is'](_0x41ac8b(0x1c2),_0x41ac8b(0x1c4))));}[_0x42ba31(0x1b8)](_0xf5d33c){const _0x3ee55b=_0x42ba31,_0x221bf4=this[_0x3ee55b(0x1bb)][_0x3ee55b(0x1b5)][_0x3ee55b(0x1b3)][_0x3ee55b(0x1c3)][_0x3ee55b(0x1b4)]();this[_0x3ee55b(0x1bb)][_0x3ee55b(0x1b5)][_0x3ee55b(0x1b1)](_0x4cb7ce=>{const _0xcaeae2=_0x3ee55b;_0x4cb7ce[_0xcaeae2(0x1af)](_0xf5d33c,_0x221bf4),_0x4cb7ce[_0xcaeae2(0x1c0)](_0xcaeae2(0x1ba),_0x221bf4),_0x4cb7ce[_0xcaeae2(0x1c0)](_0xcaeae2(0x1c7),_0x221bf4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10e4ec=_0x2f4b;function _0x2f4b(_0x118075,_0x5a54e8){var _0x4e603c=_0x4e60();return _0x2f4b=function(_0x2f4b17,_0x2e5efa){_0x2f4b17=_0x2f4b17-0x69;var _0x13c208=_0x4e603c[_0x2f4b17];return _0x13c208;},_0x2f4b(_0x118075,_0x5a54e8);}(function(_0x441a12,_0xbea7ce){var _0x53882e=_0x2f4b,_0x309e7a=_0x441a12();while(!![]){try{var _0x80ddd=-parseInt(_0x53882e(0x71))/0x1*(parseInt(_0x53882e(0x75))/0x2)+-parseInt(_0x53882e(0x6a))/0x3*(parseInt(_0x53882e(0x79))/0x4)+parseInt(_0x53882e(0x74))/0x5+-parseInt(_0x53882e(0x77))/0x6*(parseInt(_0x53882e(0x76))/0x7)+parseInt(_0x53882e(0x72))/0x8*(parseInt(_0x53882e(0x70))/0x9)+parseInt(_0x53882e(0x6c))/0xa+parseInt(_0x53882e(0x78))/0xb*(parseInt(_0x53882e(0x73))/0xc);if(_0x80ddd===_0xbea7ce)break;else _0x309e7a['push'](_0x309e7a['shift']());}catch(_0x43b217){_0x309e7a['push'](_0x309e7a['shift']());}}}(_0x4e60,0x5bb46));import{Plugin as _0x1f2fe8}from'ckeditor5/src/core.js';import _0xb16b83 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x38e8bf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1f2fe8{static get[_0x10e4ec(0x69)](){var _0x11981f=_0x10e4ec;return _0x11981f(0x6e);}static get[_0x10e4ec(0x6b)](){return[_0xb16b83,_0x38e8bf];}static get[_0x10e4ec(0x6d)](){return!0x0;}static get[_0x10e4ec(0x6f)](){return!0x0;}}function _0x4e60(){var _0x5ef4b7=['1451856BUFpIY','3117250VWRvSG','74tImuBE','1598891RrZhsq','12CXNPlS','44LQLHWb','296YueTka','pluginName','24711qqOfLC','requires','7254940OAdSnv','isOfficialPlugin','UploadcareImageEdit','isPremiumPlugin','114507dagqOG','10909hNqNSQ','8hwosCK'];_0x4e60=function(){return _0x5ef4b7;};return _0x4e60();}
23
+ var _0x329aa9=_0x1199;(function(_0x569163,_0x5db539){var _0x5d424c=_0x1199,_0x3e6d52=_0x569163();while(!![]){try{var _0x1deddf=parseInt(_0x5d424c(0x1d1))/0x1*(parseInt(_0x5d424c(0x1d2))/0x2)+-parseInt(_0x5d424c(0x1d4))/0x3+-parseInt(_0x5d424c(0x1d6))/0x4*(parseInt(_0x5d424c(0x1d9))/0x5)+-parseInt(_0x5d424c(0x1d3))/0x6*(-parseInt(_0x5d424c(0x1db))/0x7)+parseInt(_0x5d424c(0x1dc))/0x8+parseInt(_0x5d424c(0x1d8))/0x9+-parseInt(_0x5d424c(0x1d7))/0xa;if(_0x1deddf===_0x5db539)break;else _0x3e6d52['push'](_0x3e6d52['shift']());}catch(_0x2d30a7){_0x3e6d52['push'](_0x3e6d52['shift']());}}}(_0x2708,0x27d2d));function _0x2708(){var _0x2fc541=['1932jOLPye','870006kQpWhI','UploadcareImageEdit','394916HYlyNd','2273100QjTRfx','915354ICLPJM','5ZOkPEU','requires','3969qKivmj','1501888iNazlV','isOfficialPlugin','isPremiumPlugin','pluginName','307142PWEKrG','2rJjSbf'];_0x2708=function(){return _0x2fc541;};return _0x2708();}import{Plugin as _0x59847a}from'ckeditor5/src/core.js';import _0x15c21c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x18c746 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1199(_0x5e1040,_0x443ce8){var _0x270877=_0x2708();return _0x1199=function(_0x119959,_0x16327b){_0x119959=_0x119959-0x1d0;var _0x56a99b=_0x270877[_0x119959];return _0x56a99b;},_0x1199(_0x5e1040,_0x443ce8);}export default class P extends _0x59847a{static get[_0x329aa9(0x1d0)](){var _0x4f712c=_0x329aa9;return _0x4f712c(0x1d5);}static get[_0x329aa9(0x1da)](){return[_0x15c21c,_0x18c746];}static get[_0x329aa9(0x1dd)](){return!0x0;}static get[_0x329aa9(0x1de)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e5f11=_0x176f;function _0x1430(){const _0x26e08e=['forEach','_createToolbarButton','registerIntegration','domainLimit','uploadcareLicenseKeyTrialLimit','editor','Local','65iOVfiA','tooltip','push','upload','uploadcareLicenseKeyExpired','config','1817013OkBisk','_createMenuBarButtons','url','uploadcareLicenseKeyDomainLimit','Insert','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','pluginName','9vbpZSY','shortText','_createButton','trialLimit','type','commands','ImageInsertUI','6BbrCPn','Uploadcare','Dropbox','isOfficialPlugin','expired','72FRhjuh','497412nzdfwa','_getIntegrationKey','icon','destroy','Replace','locale','licenseKey','afterInit','text','invalid','isEnabled','label','get','_normalizeConfigSourceList','GDrive','has','assetManager','107228OPMcAc','featureNotAllowed','OneDrive','uploadcare','1514905RgCEpc','URL','map','1458048gxZrlY','GPhotos','Facebook','isPremiumPlugin','init','_showLicenseError','41755CKDdah','isImageSelected','uploadcareLicenseKeyEvaluationLimit','usageLimit','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','bind','1724830CVsXOs','reduce','evaluationLimit','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','withText','UploadcareUI','uploadcareLicenseKeyValid','execute','2znqxjK','entries','plugins'];_0x1430=function(){return _0x26e08e;};return _0x1430();}(function(_0x54eda7,_0x43118e){const _0x4f0faa=_0x176f,_0x344678=_0x54eda7();while(!![]){try{const _0x1a8c50=-parseInt(_0x4f0faa(0x19d))/0x1+parseInt(_0x4f0faa(0x1ad))/0x2*(parseInt(_0x4f0faa(0x17f))/0x3)+parseInt(_0x4f0faa(0x190))/0x4*(-parseInt(_0x4f0faa(0x1b7))/0x5)+parseInt(_0x4f0faa(0x1cc))/0x6*(-parseInt(_0x4f0faa(0x194))/0x7)+-parseInt(_0x4f0faa(0x197))/0x8+-parseInt(_0x4f0faa(0x1c5))/0x9*(parseInt(_0x4f0faa(0x1a4))/0xa)+parseInt(_0x4f0faa(0x1bd))/0xb*(parseInt(_0x4f0faa(0x17e))/0xc);if(_0x1a8c50===_0x43118e)break;else _0x344678['push'](_0x344678['shift']());}catch(_0x1607c5){_0x344678['push'](_0x344678['shift']());}}}(_0x1430,0x2fbae));import{Plugin as _0x2cce19}from'ckeditor5/src/core.js';import{IconDropbox as _0x5844c0,IconFacebook as _0x3ef7f0,IconGoogleDrive as _0x1f3706,IconGooglePhotos as _0x294e62,IconUploadcareImageUpload as _0xb2a4be,IconUploadcareLink as _0x18bba1,IconOneDrive as _0x2bf201}from'ckeditor5/src/icons.js';import{ButtonView as _0x42daca,MenuBarMenuListItemButtonView as _0x14458e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x17b347}from'./uploadcareconfig.js';function _0x176f(_0x4f779b,_0xe9cc7c){const _0x14307e=_0x1430();return _0x176f=function(_0x176fbf,_0x57707a){_0x176fbf=_0x176fbf-0x17e;let _0x5b4e66=_0x14307e[_0x176fbf];return _0x5b4e66;},_0x176f(_0x4f779b,_0xe9cc7c);}import{getTranslation as _0x4725c2}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 default class e extends _0x2cce19{[_0x5e5f11(0x185)];[_0x5e5f11(0x1c3)];static get[_0x5e5f11(0x1c4)](){const _0x5d127a=_0x5e5f11;return _0x5d127a(0x1aa);}static get[_0x5e5f11(0x1cf)](){return!0x0;}static get[_0x5e5f11(0x19a)](){return!0x0;}[_0x5e5f11(0x19b)](){const _0x10def6=_0x5e5f11;this[_0x10def6(0x185)]=this[_0x10def6(0x1b5)][_0x10def6(0x1bc)][_0x10def6(0x18b)](_0x10def6(0x185));const _0x1c9e65=this[_0x10def6(0x1b5)];this[_0x10def6(0x1c3)]=setInterval(()=>{const _0x5dd30f=_0x10def6;let _0x5ca141;for(const _0x3afbb7 in _0x1c9e65){const _0x1697b0=_0x3afbb7,_0x5c8de8=_0x1c9e65[_0x1697b0];if(_0x5dd30f(0x1ab)==_0x5c8de8||_0x5dd30f(0x1c2)==_0x5c8de8||_0x5dd30f(0x1bb)==_0x5c8de8||_0x5dd30f(0x1c0)==_0x5c8de8||_0x5dd30f(0x1a7)==_0x5c8de8||_0x5dd30f(0x19f)==_0x5c8de8||_0x5dd30f(0x1b4)==_0x5c8de8||_0x5dd30f(0x1a1)==_0x5c8de8){delete _0x1c9e65[_0x1697b0],_0x5ca141=_0x5c8de8,clearInterval(this[_0x5dd30f(0x1c3)]),this[_0x5dd30f(0x1c3)]=void 0x0;break;}}_0x5dd30f(0x1c2)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x188)),_0x5dd30f(0x1bb)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1d0)),_0x5dd30f(0x1c0)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1b3)),_0x5dd30f(0x1a7)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x191),_0x5dd30f(0x1cd)),_0x5dd30f(0x19f)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1a6)),_0x5dd30f(0x1b4)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1c8)),_0x5dd30f(0x1a1)==_0x5ca141&&_0x1c9e65[_0x5dd30f(0x19c)](_0x5dd30f(0x1a0));},0x3e8);}[_0x5e5f11(0x186)](){const _0x40e54b=_0x5e5f11,{editor:_0x41eb17}=this,_0x1a3c98=_0x41eb17[_0x40e54b(0x1ca)][_0x40e54b(0x18b)](_0x40e54b(0x193));if(!_0x1a3c98)return;const _0x1e9a6a=this[_0x40e54b(0x18c)](_0x41eb17[_0x40e54b(0x1bc)][_0x40e54b(0x18b)](_0x40e54b(0x1a8)))[_0x40e54b(0x1a5)]((_0x3d465e,_0x486802)=>{const _0x4c1545=_0x40e54b,_0x1f3fdb=this[_0x4c1545(0x180)](_0x486802[_0x4c1545(0x1c9)]);return _0x3d465e[_0x1f3fdb]||(_0x3d465e[_0x1f3fdb]=[]),_0x3d465e[_0x1f3fdb][_0x4c1545(0x1b9)](_0x486802),_0x3d465e;},{});_0x41eb17[_0x40e54b(0x1af)][_0x40e54b(0x18e)](_0x40e54b(0x1cb))&&_0x41eb17[_0x40e54b(0x1ca)][_0x40e54b(0x18b)](_0x40e54b(0x193))&&Object[_0x40e54b(0x1ae)](_0x1e9a6a)[_0x40e54b(0x1b0)](([_0x2bb60b,_0x4ce0ae])=>{const _0x1dffcf=_0x40e54b;_0x41eb17[_0x1dffcf(0x1af)][_0x1dffcf(0x18b)](_0x1dffcf(0x1cb))[_0x1dffcf(0x1b2)]({'name':_0x2bb60b,'observable':()=>_0x1a3c98,'buttonViewCreator':()=>this[_0x1dffcf(0x1b1)](_0x4ce0ae),'formViewCreator':()=>this[_0x1dffcf(0x1a2)](_0x4ce0ae),'menuBarButtonViewCreator':()=>this[_0x1dffcf(0x1be)](_0x4ce0ae),'override':_0x1dffcf(0x18f)!==_0x2bb60b});});}[_0x5e5f11(0x182)](){const _0x10e7b1=_0x5e5f11;super[_0x10e7b1(0x182)](),this[_0x10e7b1(0x1c3)]&&clearInterval(this[_0x10e7b1(0x1c3)]);}[_0x5e5f11(0x18c)](_0x5e835a){const _0x1b6a0d=_0x5e5f11,{locale:_0x1a465f}=this[_0x1b6a0d(0x1b5)];return _0x5e835a[_0x1b6a0d(0x196)](_0x57a2ea=>{const _0xc92eaa=_0x1b6a0d,_0x4c3bcc=_0x4725c2(_0x1a465f,_0x57a2ea,_0xc92eaa(0x1c1));switch(_0x57a2ea){case _0x17b347[_0xc92eaa(0x1b6)]:return{'icon':_0xb2a4be,'type':_0x17b347[_0xc92eaa(0x1b6)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x195)]:return{'icon':_0x18bba1,'type':_0x17b347[_0xc92eaa(0x195)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x1ce)]:return{'icon':_0x5844c0,'type':_0x17b347[_0xc92eaa(0x1ce)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x199)]:return{'icon':_0x3ef7f0,'type':_0x17b347[_0xc92eaa(0x199)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x18d)]:return{'icon':_0x1f3706,'type':_0x17b347[_0xc92eaa(0x18d)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x198)]:return{'icon':_0x294e62,'type':_0x17b347[_0xc92eaa(0x198)],..._0x4c3bcc};case _0x17b347[_0xc92eaa(0x192)]:return{'icon':_0x2bf201,'type':_0x17b347[_0xc92eaa(0x192)],..._0x4c3bcc};}});}[_0x5e5f11(0x180)](_0x478a1f){const _0x25e77b=_0x5e5f11;switch(_0x478a1f){case _0x17b347[_0x25e77b(0x1b6)]:return _0x25e77b(0x1ba);case _0x17b347[_0x25e77b(0x195)]:return _0x25e77b(0x1bf);default:return _0x25e77b(0x18f);}}[_0x5e5f11(0x1c7)](_0xdee7f6,_0x3109ec){const _0x410b7c=_0x5e5f11,_0x273079=this[_0x410b7c(0x1b5)],_0x748eb5=new _0xdee7f6(_0x273079[_0x410b7c(0x184)]),_0x254a19=_0x273079[_0x410b7c(0x1ca)][_0x410b7c(0x18b)](_0x410b7c(0x193));return _0x748eb5[_0x410b7c(0x1a3)](_0x410b7c(0x189))['to'](_0x254a19),_0x748eb5['on'](_0x410b7c(0x1ac),()=>{const _0x2837f3=_0x410b7c;_0x254a19[_0x2837f3(0x1ac)](_0x3109ec);}),_0x748eb5;}[_0x5e5f11(0x1b1)](_0x17ceb0){const _0x3b0654=_0x5e5f11,{locale:_0x4bfd0d}=this[_0x3b0654(0x1b5)],_0x435779=this[_0x3b0654(0x1b5)][_0x3b0654(0x1af)][_0x3b0654(0x18b)](_0x3b0654(0x1cb)),_0x37dd2b=_0x17ceb0[0x0],_0x3b0363=this[_0x3b0654(0x1c7)](_0x42daca,_0x37dd2b[_0x3b0654(0x1c9)]);return _0x3b0363[_0x3b0654(0x181)]=_0x37dd2b[_0x3b0654(0x181)],_0x3b0363[_0x3b0654(0x1a3)](_0x3b0654(0x18a))['to'](_0x435779,_0x3b0654(0x19e),_0x5d9b50=>_0x4725c2(_0x4bfd0d,_0x37dd2b[_0x3b0654(0x1c9)],_0x5d9b50?_0x3b0654(0x183):_0x3b0654(0x1c1))[_0x3b0654(0x187)]),_0x3b0363[_0x3b0654(0x1b8)]=!0x0,_0x3b0363;}[_0x5e5f11(0x1a2)](_0x12d9c6){const _0x9d79ac=_0x5e5f11,{locale:_0x5d5751}=this[_0x9d79ac(0x1b5)],_0x2f9a31=this[_0x9d79ac(0x1b5)][_0x9d79ac(0x1af)][_0x9d79ac(0x18b)](_0x9d79ac(0x1cb));return _0x12d9c6[_0x9d79ac(0x196)](_0x3dbfd0=>{const _0x4a4b16=_0x9d79ac,_0xd74119=this[_0x4a4b16(0x1c7)](_0x42daca,_0x3dbfd0[_0x4a4b16(0x1c9)]);return _0xd74119[_0x4a4b16(0x1a9)]=!0x0,_0xd74119[_0x4a4b16(0x181)]=_0x3dbfd0[_0x4a4b16(0x181)],_0xd74119[_0x4a4b16(0x1a3)](_0x4a4b16(0x18a))['to'](_0x2f9a31,_0x4a4b16(0x19e),_0x1e5585=>_0x4725c2(_0x5d5751,_0x3dbfd0[_0x4a4b16(0x1c9)],_0x1e5585?_0x4a4b16(0x183):_0x4a4b16(0x1c1))[_0x4a4b16(0x187)]),_0xd74119;});}[_0x5e5f11(0x1be)](_0x3f0599){const _0x2a2cc4=_0x5e5f11;return _0x3f0599[_0x2a2cc4(0x196)](_0x384939=>{const _0x596527=_0x2a2cc4,_0x4a72d3=this[_0x596527(0x1c7)](_0x14458e,_0x384939[_0x596527(0x1c9)]);return _0x4a72d3[_0x596527(0x181)]=_0x384939[_0x596527(0x181)],_0x4a72d3[_0x596527(0x18a)]=_0x384939[_0x596527(0x1c6)],_0x4a72d3;});}}
23
+ const _0x219840=_0x418e;(function(_0x572389,_0x1bb8fc){const _0x330466=_0x418e,_0x5b743d=_0x572389();while(!![]){try{const _0x42ee11=parseInt(_0x330466(0x1ad))/0x1+parseInt(_0x330466(0x1a0))/0x2*(-parseInt(_0x330466(0x19c))/0x3)+-parseInt(_0x330466(0x1be))/0x4+parseInt(_0x330466(0x182))/0x5*(parseInt(_0x330466(0x188))/0x6)+-parseInt(_0x330466(0x171))/0x7+-parseInt(_0x330466(0x1bd))/0x8*(-parseInt(_0x330466(0x1b2))/0x9)+-parseInt(_0x330466(0x199))/0xa*(-parseInt(_0x330466(0x183))/0xb);if(_0x42ee11===_0x1bb8fc)break;else _0x5b743d['push'](_0x5b743d['shift']());}catch(_0x3cb1a9){_0x5b743d['push'](_0x5b743d['shift']());}}}(_0x4546,0x7d007));import{Plugin as _0xd74971}from'ckeditor5/src/core.js';import{IconDropbox as _0x4edc3c,IconFacebook as _0x3765c0,IconGoogleDrive as _0x12a54d,IconGooglePhotos as _0x41a13a,IconUploadcareImageUpload as _0x385bab,IconUploadcareLink as _0x184273,IconOneDrive as _0x2a0afc}from'ckeditor5/src/icons.js';function _0x4546(){const _0x2e972b=['isOfficialPlugin','Dropbox','entries','label','UploadcareUI','_getIntegrationKey','uploadcareLicenseKeyExpired','text','expired','710884OAQCWY','Local','featureNotAllowed','destroy','licenseKey','297GpNMlH','withText','isImageSelected','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyValid','uploadcare.uploader.sourceList','afterInit','uploadcareLicenseKeyNotAllowed','GDrive','URL','Uploadcare','100184eGwDtj','1219156WgtszB','invalid','evaluationLimit','Insert','OneDrive','2251011FdgtBc','url','locale','tooltip','trialLimit','Replace','editor','registerIntegration','commands','usageLimit','shortText','pluginName','type','plugins','uploadcareLicenseKeyUsageLimit','map','get','14360TAooQN','132ZpmEGp','_showLicenseError','isEnabled','upload','execute','1392IGWLVK','has','_createButton','_createToolbarButton','icon','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','bind','uploadcareLicenseKeyInvalid','reduce','Facebook','_createDropdownButtons','config','isPremiumPlugin','uploadcare','assetManager','_createMenuBarButtons','223960KnNTBn','forEach','init','30uYNHnc','domainLimit','_licenseKeyCheckInterval','GPhotos','184166LLslvI','_normalizeConfigSourceList','uploadcareLicenseKeyDomainLimit','push'];_0x4546=function(){return _0x2e972b;};return _0x4546();}import{ButtonView as _0x1c50ea,MenuBarMenuListItemButtonView as _0x3670be}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x59e000}from'./uploadcareconfig.js';import{getTranslation as _0x58209b}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x418e(_0x27c44d,_0x242368){const _0x4546c9=_0x4546();return _0x418e=function(_0x418e46,_0x41cbb0){_0x418e46=_0x418e46-0x16f;let _0x4f9244=_0x4546c9[_0x418e46];return _0x4f9244;},_0x418e(_0x27c44d,_0x242368);}export default class e extends _0xd74971{[_0x219840(0x1b1)];[_0x219840(0x19e)];static get[_0x219840(0x17c)](){const _0x45a8cb=_0x219840;return _0x45a8cb(0x1a8);}static get[_0x219840(0x1a4)](){return!0x0;}static get[_0x219840(0x195)](){return!0x0;}[_0x219840(0x19b)](){const _0x4181d8=_0x219840;this[_0x4181d8(0x1b1)]=this[_0x4181d8(0x177)][_0x4181d8(0x194)][_0x4181d8(0x181)](_0x4181d8(0x1b1));const _0x2abebf=this[_0x4181d8(0x177)];this[_0x4181d8(0x19e)]=setInterval(()=>{const _0x2dc319=_0x4181d8;let _0x54d049;for(const _0x38965e in _0x2abebf){const _0x4f6a14=_0x38965e,_0x4e991b=_0x2abebf[_0x4f6a14];if(_0x2dc319(0x1b6)==_0x4e991b||_0x2dc319(0x190)==_0x4e991b||_0x2dc319(0x1aa)==_0x4e991b||_0x2dc319(0x1a2)==_0x4e991b||_0x2dc319(0x1b9)==_0x4e991b||_0x2dc319(0x18e)==_0x4e991b||_0x2dc319(0x1b5)==_0x4e991b||_0x2dc319(0x17f)==_0x4e991b){delete _0x2abebf[_0x4f6a14],_0x54d049=_0x4e991b,clearInterval(this[_0x2dc319(0x19e)]),this[_0x2dc319(0x19e)]=void 0x0;break;}}_0x2dc319(0x190)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1bf)),_0x2dc319(0x1aa)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1ac)),_0x2dc319(0x1a2)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x19d)),_0x2dc319(0x1b9)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1af),_0x2dc319(0x1bc)),_0x2dc319(0x18e)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x1c0)),_0x2dc319(0x1b5)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x175)),_0x2dc319(0x17f)==_0x54d049&&_0x2abebf[_0x2dc319(0x184)](_0x2dc319(0x17a));},0x3e8);}[_0x219840(0x1b8)](){const _0x10a898=_0x219840,{editor:_0x171f1d}=this,_0x2c9b6c=_0x171f1d[_0x10a898(0x179)][_0x10a898(0x181)](_0x10a898(0x196));if(!_0x2c9b6c)return;const _0x420f54=this[_0x10a898(0x1a1)](_0x171f1d[_0x10a898(0x194)][_0x10a898(0x181)](_0x10a898(0x1b7)))[_0x10a898(0x191)]((_0x5e42cf,_0x3d5e38)=>{const _0xdeb2ed=_0x10a898,_0x2ae313=this[_0xdeb2ed(0x1a9)](_0x3d5e38[_0xdeb2ed(0x17d)]);return _0x5e42cf[_0x2ae313]||(_0x5e42cf[_0x2ae313]=[]),_0x5e42cf[_0x2ae313][_0xdeb2ed(0x1a3)](_0x3d5e38),_0x5e42cf;},{});_0x171f1d[_0x10a898(0x17e)][_0x10a898(0x189)](_0x10a898(0x18d))&&_0x171f1d[_0x10a898(0x179)][_0x10a898(0x181)](_0x10a898(0x196))&&Object[_0x10a898(0x1a6)](_0x420f54)[_0x10a898(0x19a)](([_0x30e6d0,_0x1f76e8])=>{const _0x534a23=_0x10a898;_0x171f1d[_0x534a23(0x17e)][_0x534a23(0x181)](_0x534a23(0x18d))[_0x534a23(0x178)]({'name':_0x30e6d0,'observable':()=>_0x2c9b6c,'buttonViewCreator':()=>this[_0x534a23(0x18b)](_0x1f76e8),'formViewCreator':()=>this[_0x534a23(0x193)](_0x1f76e8),'menuBarButtonViewCreator':()=>this[_0x534a23(0x198)](_0x1f76e8),'override':_0x534a23(0x197)!==_0x30e6d0});});}[_0x219840(0x1b0)](){const _0x4137d3=_0x219840;super[_0x4137d3(0x1b0)](),this[_0x4137d3(0x19e)]&&clearInterval(this[_0x4137d3(0x19e)]);}[_0x219840(0x1a1)](_0x3557ac){const _0x510609=_0x219840,{locale:_0x361808}=this[_0x510609(0x177)];return _0x3557ac[_0x510609(0x180)](_0x333419=>{const _0x24e285=_0x510609,_0x5759fa=_0x58209b(_0x361808,_0x333419,_0x24e285(0x16f));switch(_0x333419){case _0x59e000[_0x24e285(0x1ae)]:return{'icon':_0x385bab,'type':_0x59e000[_0x24e285(0x1ae)],..._0x5759fa};case _0x59e000[_0x24e285(0x1bb)]:return{'icon':_0x184273,'type':_0x59e000[_0x24e285(0x1bb)],..._0x5759fa};case _0x59e000[_0x24e285(0x1a5)]:return{'icon':_0x4edc3c,'type':_0x59e000[_0x24e285(0x1a5)],..._0x5759fa};case _0x59e000[_0x24e285(0x192)]:return{'icon':_0x3765c0,'type':_0x59e000[_0x24e285(0x192)],..._0x5759fa};case _0x59e000[_0x24e285(0x1ba)]:return{'icon':_0x12a54d,'type':_0x59e000[_0x24e285(0x1ba)],..._0x5759fa};case _0x59e000[_0x24e285(0x19f)]:return{'icon':_0x41a13a,'type':_0x59e000[_0x24e285(0x19f)],..._0x5759fa};case _0x59e000[_0x24e285(0x170)]:return{'icon':_0x2a0afc,'type':_0x59e000[_0x24e285(0x170)],..._0x5759fa};}});}[_0x219840(0x1a9)](_0x2e8e02){const _0x3e2316=_0x219840;switch(_0x2e8e02){case _0x59e000[_0x3e2316(0x1ae)]:return _0x3e2316(0x186);case _0x59e000[_0x3e2316(0x1bb)]:return _0x3e2316(0x172);default:return _0x3e2316(0x197);}}[_0x219840(0x18a)](_0x562859,_0x554e61){const _0x1b8a17=_0x219840,_0xd87b65=this[_0x1b8a17(0x177)],_0x3c441c=new _0x562859(_0xd87b65[_0x1b8a17(0x173)]),_0x4a5b1b=_0xd87b65[_0x1b8a17(0x179)][_0x1b8a17(0x181)](_0x1b8a17(0x196));return _0x3c441c[_0x1b8a17(0x18f)](_0x1b8a17(0x185))['to'](_0x4a5b1b),_0x3c441c['on'](_0x1b8a17(0x187),()=>{const _0x4c2f6c=_0x1b8a17;_0x4a5b1b[_0x4c2f6c(0x187)](_0x554e61);}),_0x3c441c;}[_0x219840(0x18b)](_0x5667ec){const _0x2817b0=_0x219840,{locale:_0x2d47d7}=this[_0x2817b0(0x177)],_0x5af801=this[_0x2817b0(0x177)][_0x2817b0(0x17e)][_0x2817b0(0x181)](_0x2817b0(0x18d)),_0x23f8b6=_0x5667ec[0x0],_0x1d8ac0=this[_0x2817b0(0x18a)](_0x1c50ea,_0x23f8b6[_0x2817b0(0x17d)]);return _0x1d8ac0[_0x2817b0(0x18c)]=_0x23f8b6[_0x2817b0(0x18c)],_0x1d8ac0[_0x2817b0(0x18f)](_0x2817b0(0x1a7))['to'](_0x5af801,_0x2817b0(0x1b4),_0x46c84e=>_0x58209b(_0x2d47d7,_0x23f8b6[_0x2817b0(0x17d)],_0x46c84e?_0x2817b0(0x176):_0x2817b0(0x16f))[_0x2817b0(0x1ab)]),_0x1d8ac0[_0x2817b0(0x174)]=!0x0,_0x1d8ac0;}[_0x219840(0x193)](_0x1c6f50){const _0x4e6310=_0x219840,{locale:_0x4d3b58}=this[_0x4e6310(0x177)],_0x1e60b9=this[_0x4e6310(0x177)][_0x4e6310(0x17e)][_0x4e6310(0x181)](_0x4e6310(0x18d));return _0x1c6f50[_0x4e6310(0x180)](_0x43dddc=>{const _0x3f606c=_0x4e6310,_0x2535ad=this[_0x3f606c(0x18a)](_0x1c50ea,_0x43dddc[_0x3f606c(0x17d)]);return _0x2535ad[_0x3f606c(0x1b3)]=!0x0,_0x2535ad[_0x3f606c(0x18c)]=_0x43dddc[_0x3f606c(0x18c)],_0x2535ad[_0x3f606c(0x18f)](_0x3f606c(0x1a7))['to'](_0x1e60b9,_0x3f606c(0x1b4),_0xc62d78=>_0x58209b(_0x4d3b58,_0x43dddc[_0x3f606c(0x17d)],_0xc62d78?_0x3f606c(0x176):_0x3f606c(0x16f))[_0x3f606c(0x1ab)]),_0x2535ad;});}[_0x219840(0x198)](_0x30230a){const _0x56d62d=_0x219840;return _0x30230a[_0x56d62d(0x180)](_0x7d11b0=>{const _0x191b9e=_0x56d62d,_0x1d9308=this[_0x191b9e(0x18a)](_0x3670be,_0x7d11b0[_0x191b9e(0x17d)]);return _0x1d9308[_0x191b9e(0x18c)]=_0x7d11b0[_0x191b9e(0x18c)],_0x1d9308[_0x191b9e(0x1a7)]=_0x7d11b0[_0x191b9e(0x17b)],_0x1d9308;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b3548}from'ckeditor5/src/core.js';import{FileRepository as _0x3497da}from'ckeditor5/src/upload.js';import _0x549da9 from'./uploadcareediting.js';import _0x3573a0 from'./utils/uploadutils.js';import{getImageUrls as _0x4fd3ce}from'./utils/editingutils.js';export default class p extends _0x2b3548{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3497da,_0x549da9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x401fa5=this['editor'];if(!!!_0x401fa5['config']['get']('uploadcare'))return;_0x401fa5['plugins']['get'](_0x3497da)['createUploadAdapter']=_0x4152a8=>new x(_0x4152a8,_0x401fa5),_0x401fa5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x17e3c1,{imageElement:_0x5b80ca,data:_0x3e5dec})=>{_0x401fa5['model']['change'](_0x13c2d2=>{_0x13c2d2['setAttribute']('uploadcareImageId',_0x3e5dec['uploadcareImageId'],_0x5b80ca);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x49f8aa,_0x2ef889){this['loader']=_0x49f8aa,this['editor']=_0x2ef889,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x64611c=this['editor']['config']['get']('uploadcare.pubkey'),_0x5607f5=await this['loader']['file'];return _0x3573a0['upload']({'file':_0x5607f5,'publicKey':_0x64611c,'signal':this['controller']['signal'],'onProgress':_0x4cbdaa=>{_0x4cbdaa&&_0x4cbdaa['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4cbdaa['value']);}})['then'](async _0x79ebd8=>{const {imageFallbackUrl:_0x1c6b3c,imageSources:_0x27cae8}=_0x4fd3ce(_0x79ebd8['cdnUrl'],_0x79ebd8['imageInfo']['width']);return{'uploadcareImageId':_0x79ebd8['uuid'],'default':_0x1c6b3c,'sources':_0x27cae8};})['catch'](()=>{const _0x409de8=t('Cannot\x20upload\x20file:')+('\x20'+_0x5607f5['name']+'.');return Promise['reject'](_0x409de8);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x567058}from'ckeditor5/src/core.js';import{FileRepository as _0x949fa}from'ckeditor5/src/upload.js';import _0x145bc8 from'./uploadcareediting.js';import _0x1e8dec from'./utils/uploadutils.js';import{getImageUrls as _0x1dc6b0}from'./utils/editingutils.js';export default class p extends _0x567058{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x949fa,_0x145bc8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f154f=this['editor'];if(!!!_0x1f154f['config']['get']('uploadcare'))return;_0x1f154f['plugins']['get'](_0x949fa)['createUploadAdapter']=_0x26ce40=>new x(_0x26ce40,_0x1f154f),_0x1f154f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x517044,{imageElement:_0x202207,data:_0x4d6483})=>{_0x1f154f['model']['change'](_0x5b8ce1=>{_0x5b8ce1['setAttribute']('uploadcareImageId',_0x4d6483['uploadcareImageId'],_0x202207);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x43921f,_0x443cff){this['loader']=_0x43921f,this['editor']=_0x443cff,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x7caf7f=this['editor']['config']['get']('uploadcare.pubkey'),_0x44d371=await this['loader']['file'];return _0x1e8dec['upload']({'file':_0x44d371,'publicKey':_0x7caf7f,'signal':this['controller']['signal'],'onProgress':_0x5d09a9=>{_0x5d09a9&&_0x5d09a9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d09a9['value']);}})['then'](async _0x4e428c=>{const {imageFallbackUrl:_0x422e28,imageSources:_0x5d04c1}=_0x1dc6b0(_0x4e428c['cdnUrl'],_0x4e428c['imageInfo']['width']);return{'uploadcareImageId':_0x4e428c['uuid'],'default':_0x422e28,'sources':_0x5d04c1};})['catch'](()=>{const _0x1c7a7d=t('Cannot\x20upload\x20file:')+('\x20'+_0x44d371['name']+'.');return Promise['reject'](_0x1c7a7d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x722ad7}from'../uploadcareconfig.js';export function getTranslation(_0x2f45a9,_0x13002d,_0x5a4c61){const t=_0x2f45a9['t'],_0x140df2=_0x2f45a9['t'];switch(_0x13002d){case _0x722ad7['Local']:return{'text':_0x140df2('Insert'===_0x5a4c61?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x140df2('From\x20computer')};case _0x722ad7['URL']:return{'text':'Insert'===_0x5a4c61?_0x140df2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x140df2('Via\x20URL')};case _0x722ad7['Dropbox']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x722ad7['Facebook']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x722ad7['GDrive']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x722ad7['GPhotos']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x722ad7['OneDrive']:return{'text':t('Insert'===_0x5a4c61?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x13002d;}}
23
+ import{UploadcareSource as _0x561e37}from'../uploadcareconfig.js';export function getTranslation(_0x69dcdc,_0x22315b,_0x246434){const t=_0x69dcdc['t'],_0x122e5b=_0x69dcdc['t'];switch(_0x22315b){case _0x561e37['Local']:return{'text':_0x122e5b('Insert'===_0x246434?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x122e5b('From\x20computer')};case _0x561e37['URL']:return{'text':'Insert'===_0x246434?_0x122e5b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x122e5b('Via\x20URL')};case _0x561e37['Dropbox']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x561e37['Facebook']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x561e37['GDrive']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x561e37['GPhotos']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x561e37['OneDrive']:return{'text':t('Insert'===_0x246434?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x22315b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x39ded0=_0x12dd;(function(_0x75654c,_0x5da48b){var _0x286d1f=_0x12dd,_0x27714f=_0x75654c();while(!![]){try{var _0x4aa143=-parseInt(_0x286d1f(0x152))/0x1*(-parseInt(_0x286d1f(0x159))/0x2)+parseInt(_0x286d1f(0x15f))/0x3+parseInt(_0x286d1f(0x14e))/0x4*(parseInt(_0x286d1f(0x155))/0x5)+-parseInt(_0x286d1f(0x15d))/0x6+parseInt(_0x286d1f(0x157))/0x7*(parseInt(_0x286d1f(0x153))/0x8)+-parseInt(_0x286d1f(0x14b))/0x9*(-parseInt(_0x286d1f(0x15b))/0xa)+parseInt(_0x286d1f(0x150))/0xb*(-parseInt(_0x286d1f(0x158))/0xc);if(_0x4aa143===_0x5da48b)break;else _0x27714f['push'](_0x27714f['shift']());}catch(_0x26699e){_0x27714f['push'](_0x27714f['shift']());}}}(_0x1554,0xc2b1c));import{FocusTracker as _0x3b07b7}from'ckeditor5/src/utils.js';import{View as _0x2956e8,FocusCycler as _0xc084e5}from'ckeditor5/src/ui.js';function _0x12dd(_0x5ba5e4,_0x19aace){var _0x155404=_0x1554();return _0x12dd=function(_0x12dd3b,_0x3a3627){_0x12dd3b=_0x12dd3b-0x14b;var _0x45a336=_0x155404[_0x12dd3b];return _0x45a336;},_0x12dd(_0x5ba5e4,_0x19aace);}import'../../theme/uploadcare-form.css';export default class q extends _0x2956e8{[_0x39ded0(0x14d)];[_0x39ded0(0x15c)];constructor(_0x16c77e){var _0x34ae24=_0x39ded0;super(_0x16c77e),this[_0x34ae24(0x14d)]=new _0x3b07b7(),this[_0x34ae24(0x15c)]=new _0xc084e5({'focusables':this[_0x34ae24(0x156)](),'focusTracker':this[_0x34ae24(0x14d)]});}[_0x39ded0(0x154)](){var _0x51bdff=_0x39ded0;return{'tag':_0x51bdff(0x15a),'attributes':{'aria-hidden':_0x51bdff(0x15e),'tabindex':'0'},'on':{'focus':this[_0x51bdff(0x14f)]['to'](()=>{var _0x30a3c8=_0x51bdff;this[_0x30a3c8(0x15c)][_0x30a3c8(0x151)](_0x30a3c8(0x14c));})}};}}function _0x1554(){var _0xa07cc9=['9OZEtNY','forwardCycle','focusTracker','8uBkYmP','bindTemplate','86218bcNRiB','fire','87577XrEqUZ','10114808HwuuYe','getFocusableElement','97425BENxfD','createCollection','7CJeBmj','3768PDEuLY','32gwpJJg','div','4685110fjMcAh','focusCycler','4393128DhOPkS','true','2453172wyfYZk'];_0x1554=function(){return _0xa07cc9;};return _0x1554();}
23
+ var _0x2da5a8=_0x3f67;(function(_0x55a81c,_0x4281f2){var _0xfbbdb5=_0x3f67,_0x3f461f=_0x55a81c();while(!![]){try{var _0x37f394=-parseInt(_0xfbbdb5(0x9f))/0x1*(-parseInt(_0xfbbdb5(0x97))/0x2)+parseInt(_0xfbbdb5(0xa0))/0x3*(-parseInt(_0xfbbdb5(0x95))/0x4)+-parseInt(_0xfbbdb5(0x91))/0x5+parseInt(_0xfbbdb5(0x9a))/0x6*(-parseInt(_0xfbbdb5(0x98))/0x7)+parseInt(_0xfbbdb5(0x93))/0x8+-parseInt(_0xfbbdb5(0x8f))/0x9+parseInt(_0xfbbdb5(0x8e))/0xa*(parseInt(_0xfbbdb5(0x9b))/0xb);if(_0x37f394===_0x4281f2)break;else _0x3f461f['push'](_0x3f461f['shift']());}catch(_0x25c663){_0x3f461f['push'](_0x3f461f['shift']());}}}(_0x111e,0x2cf7c));import{FocusTracker as _0x1ab22d}from'ckeditor5/src/utils.js';function _0x111e(){var _0xd40128=['focusCycler','1332025UqdNgu','fire','242992aQjXiI','div','4oHwqcR','getFocusableElement','1994UaoclB','646058DOhOVm','focusTracker','6ZjpZWX','48730PUgYFC','true','createCollection','bindTemplate','1XRFZYu','778314MJJngD','forwardCycle','2320PUxeGw','2311254MUTcjr'];_0x111e=function(){return _0xd40128;};return _0x111e();}function _0x3f67(_0x3223d1,_0x4a7204){var _0x111e18=_0x111e();return _0x3f67=function(_0x3f6776,_0x54a202){_0x3f6776=_0x3f6776-0x8e;var _0x4fe716=_0x111e18[_0x3f6776];return _0x4fe716;},_0x3f67(_0x3223d1,_0x4a7204);}import{View as _0x3d0a85,FocusCycler as _0x566492}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x3d0a85{[_0x2da5a8(0x99)];[_0x2da5a8(0x90)];constructor(_0x272df0){var _0x5cc758=_0x2da5a8;super(_0x272df0),this[_0x5cc758(0x99)]=new _0x1ab22d(),this[_0x5cc758(0x90)]=new _0x566492({'focusables':this[_0x5cc758(0x9d)](),'focusTracker':this[_0x5cc758(0x99)]});}[_0x2da5a8(0x96)](){var _0x4a4c5a=_0x2da5a8;return{'tag':_0x4a4c5a(0x94),'attributes':{'aria-hidden':_0x4a4c5a(0x9c),'tabindex':'0'},'on':{'focus':this[_0x4a4c5a(0x9e)]['to'](()=>{var _0x314b66=_0x4a4c5a;this[_0x314b66(0x90)][_0x314b66(0x92)](_0x314b66(0xa1));})}};}}