@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250425.0 → 0.0.0-nightly-20250427.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e298a=_0x1a68;(function(_0x31622a,_0x45f497){const _0x350d78=_0x1a68,_0x341955=_0x31622a();while(!![]){try{const _0x1e893e=-parseInt(_0x350d78(0xc5))/0x1+-parseInt(_0x350d78(0xe0))/0x2+parseInt(_0x350d78(0xc6))/0x3+parseInt(_0x350d78(0xba))/0x4*(-parseInt(_0x350d78(0x9e))/0x5)+-parseInt(_0x350d78(0xbc))/0x6*(-parseInt(_0x350d78(0xc7))/0x7)+parseInt(_0x350d78(0xe5))/0x8+-parseInt(_0x350d78(0xb6))/0x9*(parseInt(_0x350d78(0xda))/0xa);if(_0x1e893e===_0x45f497)break;else _0x341955['push'](_0x341955['shift']());}catch(_0x14fcaf){_0x341955['push'](_0x341955['shift']());}}}(_0x52a0,0x2508c));function _0x52a0(){const _0x54613e=['_ctxElement','uploadcare.pubkey','28yPdANn','removeAttribute','2802JkbNFA','map','get','config','conversion','downcast','add','insertImage','closeMax','139482PSlgjd','820563drtZkD','3563DBDbfr','\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','isRegistered','editing','editor','execute','uploadcareImageId','_initConfig','uploadcare','#uc-icon-arrow-down','_initConversion','UploadcareEditing','extend','selection','afterInit','upcast','input[uploadcare-file-input]','getAttribute','_initCtx','525010mmHfbR','destroy','data-uc-image-id','ctxElement','remove','attributeToAttribute','31374EUzYxc','configElement','isOfficialPlugin','requires','view','1288032mRuzFv','isPremiumPlugin','getSelectedElement','contentLanguage','imageInline','cleanupImage','elementToAttribute','href','true','model','imageBlock','join','fromCharCode','185975bfunXQ','locale','replaceImageSource','document','init','listenTo','uploadcare.uploader','schema','body','_configElement','once','PictureEditing','uploader','querySelector','uc-config','pluginName','iconHrefResolver','for','uc-upload-ctx-provider','render','appendChild','uploadcareImageReplace','_initSchema','commands','18idOqIC','_initImageProcessingIndicator'];_0x52a0=function(){return _0x54613e;};return _0x52a0();}import{Plugin as _0x57789d}from'ckeditor5/src/core.js';import{Dialog as _0xebf138}from'ckeditor5/src/ui.js';function _0x1a68(_0x2248a2,_0x1ce3ce){const _0x52a010=_0x52a0();return _0x1a68=function(_0x1a6875,_0x3689ac){_0x1a6875=_0x1a6875-0x9a;let _0x3a50f3=_0x52a010[_0x1a6875];return _0x3a50f3;},_0x1a68(_0x2248a2,_0x1ce3ce);}import{createElement as _0x10e3a2,global as _0x3af14f,uid as _0x1d7539}from'ckeditor5/src/utils.js';import _0x1e2661 from'./uploadcarecommand.js';import _0x1f502e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1a0803}from'./utils/editingutils.js';export default class i extends _0x57789d{[_0x4e298a(0xa7)]=null;[_0x4e298a(0xb8)]=null;static get[_0x4e298a(0xad)](){const _0x1be2c6=_0x4e298a;return _0x1be2c6(0xd2);}static get[_0x4e298a(0xe3)](){const _0x586b48=_0x4e298a;return[_0x586b48(0xa9),_0x1f502e,_0xebf138];}static get[_0x4e298a(0xe2)](){return!0x0;}static get[_0x4e298a(0xe6)](){return!0x0;}get[_0x4e298a(0xe1)](){const _0xf06ebf=_0x4e298a;return this[_0xf06ebf(0xa7)];}get[_0x4e298a(0xdd)](){const _0x2a88a0=_0x4e298a;return this[_0x2a88a0(0xb8)];}[_0x4e298a(0xa2)](){const _0x2969c0=_0x4e298a,_0xdfe1cc=this[_0x2969c0(0xcb)];_0xdfe1cc[_0x2969c0(0xb5)][_0x2969c0(0xc2)](_0x2969c0(0xcf),new _0x1e2661(_0xdfe1cc));}[_0x4e298a(0xd5)](){const _0x56d011=_0x4e298a;this[_0x56d011(0xb4)](),this[_0x56d011(0xd1)](),this[_0x56d011(0xce)](),this[_0x56d011(0xd9)](),this[_0x56d011(0xb7)](),this[_0x56d011(0xa3)](this[_0x56d011(0xcb)],_0x56d011(0xdb),()=>{const _0x43a158=_0x56d011;this[_0x43a158(0xa7)]&&(this[_0x43a158(0xa7)][_0x43a158(0xde)](),this[_0x43a158(0xa7)]=null),this[_0x43a158(0xb8)]&&(this[_0x43a158(0xb8)][_0x43a158(0xde)](),this[_0x43a158(0xb8)]=null);const _0x42b1ce=_0x3af14f[_0x43a158(0xa1)][_0x43a158(0xab)](_0x43a158(0xd7));_0x42b1ce&&_0x42b1ce[_0x43a158(0xde)]();}),async function(_0x5bb2b0){const _0x261827=_0x311271([0x30,0x6c,0x34,0x36,0x71,0x45,0x54,0x74,0x61,0x64,0x67,0x4d,0x52,0x41,0x39,0x47,0x79,0x4e,0x5a,0x76,0x6f,0x65,0x70,0x31,0x63,0x51,0x44,0x4f,0x77,0x42,0x37,0x4b,0x59,0x68,0x6d,0x46,0x6b,0x73,0x78,0x57,0x50,0x4a,0x66,0x33,0x43,0x32,0x55,0x38,0x69,0x58,0x62,0x4c,0x56,0x7a,0x75,0x35,0x49,0x72,0x48,0x6a,0x6e,0x53]),_0x343ec4=0x6431960e,_0x522731=0x6436f006^_0x343ec4,_0x4e87b5=window[_0x311271([0x44,0x61,0x74,0x65])][_0x311271([0x6e,0x6f,0x77])](),_0x40a02b=_0x5bb2b0[_0x311271([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cc444=new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53d247=>{_0x40a02b[_0x311271([0x6f,0x6e,0x63,0x65])](_0x311271([0x72,0x65,0x61,0x64,0x79]),_0x53d247);}),_0x1632fa={[_0x311271([0x6b,0x74,0x79])]:_0x311271([0x45,0x43]),[_0x311271([0x75,0x73,0x65])]:_0x311271([0x73,0x69,0x67]),[_0x311271([0x63,0x72,0x76])]:_0x311271([0x50,0x2d,0x32,0x35,0x36]),[_0x311271([0x78])]:_0x311271([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]),[_0x311271([0x79])]:_0x311271([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]),[_0x311271([0x61,0x6c,0x67])]:_0x311271([0x45,0x53,0x32,0x35,0x36])},_0x4a76fd=_0x40a02b[_0x311271([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x311271([0x67,0x65,0x74])](_0x311271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a187d(){let _0x58bad8,_0x26c251=null,_0x1719e2=null;try{if(_0x4a76fd==_0x311271([0x47,0x50,0x4c]))return _0x311271([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58bad8=_0x3e3e73(),!_0x58bad8)return _0x311271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58bad8[_0x311271([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1719e2=_0x1afbbd(_0x58bad8[_0x311271([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58bad8[_0x311271([0x6a,0x74,0x69])])),await _0x5ce8ad()?_0x3b9e17()?_0x3406b4()?_0x311271([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43bdb0()?(_0x58bad8[_0x311271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x311271([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26c251=_0x2e810c(_0x311271([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58bad8[_0x311271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x311271([0x74,0x72,0x69,0x61,0x6c])&&(_0x26c251=_0x2e810c(_0x311271([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5606e9()):_0x311271([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x311271([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x311271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5963e2){return _0x311271([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3406b4(){const _0x4f5796=[_0x311271([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x311271([0x74,0x72,0x69,0x61,0x6c])][_0x311271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58bad8[_0x311271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e87b5/0x3e8:0xe10*_0x522731;return _0x58bad8[_0x311271([0x65,0x78,0x70])]<_0x4f5796;}function _0x3b9e17(){const _0x429149=_0x58bad8[_0x311271([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x429149&&(!!_0x429149[_0x311271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311271([0x2a]))||!!_0x429149[_0x311271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311271([0x55,0x50,0x4c,0x43])));}function _0x43bdb0(){const _0x70d957=_0x1a68,_0x195a97=_0x58bad8[_0x311271([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x195a97||0x0==_0x195a97[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49be61}=new URL(window[_0x311271([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x70d957(0xec)]);if(_0x195a97[_0x311271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49be61))return!0x0;const _0x439519=_0x49be61[_0x311271([0x73,0x70,0x6c,0x69,0x74])](_0x311271([0x2e]));return _0x195a97[_0x311271([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c7544=>_0x3c7544[_0x311271([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311271([0x2a])))[_0x311271([0x6d,0x61,0x70])](_0x5d2db1=>_0x5d2db1[_0x311271([0x73,0x70,0x6c,0x69,0x74])](_0x311271([0x2e])))[_0x311271([0x73,0x6f,0x6d,0x65])](_0x1def4f=>_0x439519[_0x311271([0x65,0x76,0x65,0x72,0x79])]((_0xd2ea43,_0x4049e5)=>_0x1def4f[_0x4049e5]===_0xd2ea43||_0x1def4f[_0x4049e5]===_0x311271([0x2a])));}function _0x5606e9(){return _0x26c251&&_0x1719e2?new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xaf298c,_0x18ef96)=>{_0x26c251[_0x311271([0x74,0x68,0x65,0x6e])](_0xaf298c,_0x18ef96),_0x1719e2[_0x311271([0x74,0x68,0x65,0x6e])](_0x2308d1=>{_0x2308d1!=_0x311271([0x56,0x61,0x6c,0x69,0x64])&&_0xaf298c(_0x2308d1);},_0x18ef96);}):_0x26c251||_0x1719e2||_0x311271([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1afbbd(_0x1c7f1d,_0x4eae4c){return new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x406166=>{if(_0x14bcce())return _0x406166(_0x311271([0x56,0x61,0x6c,0x69,0x64]));_0x43f76f(),_0x40a02b[_0x311271([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x311271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31e5b3=!0x1;const _0xdd72bd=_0x1d7539();function _0x30b71e(_0x123fe4){return!!_0x123fe4&&(typeof _0x123fe4===_0x311271([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x123fe4===_0x311271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x123fe4[_0x311271([0x74,0x68,0x65,0x6e])]===_0x311271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x123fe4[_0x311271([0x63,0x61,0x74,0x63,0x68])]===_0x311271([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x273b25(_0x561fd5){_0x5c970a(_0x561fd5)[_0x311271([0x74,0x68,0x65,0x6e])](_0x2f2727=>{if(!_0x2f2727||_0x2f2727[_0x311271([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x311271([0x6f,0x6b]))return _0x311271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4536cb(_0x408918(_0xdd72bd+_0x4eae4c))!=_0x2f2727[_0x311271([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x311271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x311271([0x56,0x61,0x6c,0x69,0x64]);})[_0x311271([0x74,0x68,0x65,0x6e])](_0x774ea5=>(_0xbb8cdf(),_0x774ea5),()=>{const _0x2d9c8b=_0x45083c();return null==_0x2d9c8b?(_0xbb8cdf(),_0x311271([0x56,0x61,0x6c,0x69,0x64])):_0x311271(_0x4e87b5-_0x2d9c8b>(0x403d120e^_0x343ec4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x311271([0x74,0x68,0x65,0x6e])](_0x406166)[_0x311271([0x63,0x61,0x74,0x63,0x68])](()=>{_0x406166(_0x311271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1420a0=0x6407788e^_0x343ec4;function _0xbb8cdf(){const _0x52a8c3=_0x311271([0x6c,0x6c,0x63,0x74,0x2d])+_0x4536cb(_0x408918(_0x1c7f1d)),_0x351584=_0x2d8f34(_0x4536cb(window[_0x311271([0x4d,0x61,0x74,0x68])][_0x311271([0x63,0x65,0x69,0x6c])](_0x4e87b5/_0x1420a0)));window[_0x311271([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x311271([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52a8c3,_0x351584);}function _0x45083c(){const _0x524bc6=_0x311271([0x6c,0x6c,0x63,0x74,0x2d])+_0x4536cb(_0x408918(_0x1c7f1d)),_0x1a3c6b=window[_0x311271([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x311271([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x524bc6);return _0x1a3c6b?window[_0x311271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d8f34(_0x1a3c6b),0x10)*_0x1420a0:null;}function _0x5c970a(_0x4a2a71){return new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44a67d,_0x190ed4)=>{_0x4a2a71[_0x311271([0x74,0x68,0x65,0x6e])](_0x44a67d,_0x190ed4),window[_0x311271([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x190ed4,0x643042ce^_0x343ec4);});}}_0x40a02b[_0x311271([0x6f,0x6e])](_0x311271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b088c,_0x48ddf3)=>{if(_0x48ddf3[0x0]!=_0x1c7f1d)return _0x406166(_0x311271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48ddf3[0x1]={..._0x48ddf3[0x1],[_0x311271([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdd72bd};},{[_0x311271([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x311271([0x68,0x69,0x67,0x68])}),_0x40a02b[_0x311271([0x6f,0x6e])](_0x311271([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x260dbb=>{_0x30b71e(_0x260dbb[_0x311271([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31e5b3=!0x0,_0x273b25(_0x260dbb[_0x311271([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x311271([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x311271([0x6c,0x6f,0x77])}),_0x3cc444[_0x311271([0x74,0x68,0x65,0x6e])](()=>{_0x31e5b3||_0x406166(_0x311271([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14bcce(){return _0x40a02b[_0x311271([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x311271([0x76,0x69,0x65,0x77])][_0x311271([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x311271([0x61,0x75,0x74,0x6f]);}function _0x43f76f(){_0x40a02b[_0x311271([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x311271([0x76,0x69,0x65,0x77])][_0x311271([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x311271([0x61,0x75,0x74,0x6f]);}}function _0x2e810c(_0x20dbae){const _0x226b2a=[new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321a4f=>setTimeout(_0x321a4f,0x6438a8c2^_0x343ec4)),_0x3cc444[_0x311271([0x74,0x68,0x65,0x6e])](()=>new window[(_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ba1ce=>{let _0x41fd6a=0x0;_0x40a02b[_0x311271([0x6d,0x6f,0x64,0x65,0x6c])][_0x311271([0x6f,0x6e])](_0x311271([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14eea0,_0x3b9eab)=>{_0x3b9eab[0x0][_0x311271([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41fd6a++,_0x41fd6a==(0x643197f6^_0x343ec4)&&(_0x4ba1ce(),_0x14eea0[_0x311271([0x6f,0x66,0x66])]());});}))];return window[_0x311271([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x311271([0x72,0x61,0x63,0x65])](_0x226b2a)[_0x311271([0x74,0x68,0x65,0x6e])](()=>_0x20dbae);}async function _0x5753e5(){await _0x3cc444,_0x40a02b[_0x311271([0x6d,0x6f,0x64,0x65,0x6c])][_0x311271([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb97408,_0x40a02b[_0x311271([0x6d,0x6f,0x64,0x65,0x6c])][_0x311271([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb97408,_0x40a02b[_0x311271([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x311271([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x308a45(_0x39ac0d){const _0x5888e0=_0x352fac();_0x40a02b[_0x5888e0]=_0x311271([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39ac0d,_0x39ac0d!=_0x311271([0x56,0x61,0x6c,0x69,0x64])&&_0x5753e5();}function _0x352fac(){const _0x5df765=window[_0x311271([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x311271([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x311271([0x6e,0x6f,0x77])]())[_0x311271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x311271([0x2e]),'');let _0xd4068=_0x311271([0x6c]);for(let _0x4639dd=0x0;_0x4639dd<_0x5df765[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4639dd+=0x2){let _0x2b626d=window[_0x311271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5df765[_0x311271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4639dd,_0x4639dd+0x2));_0x2b626d>=_0x261827[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b626d-=_0x261827[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd4068+=_0x261827[_0x2b626d];}return _0xd4068;}function _0x3e3e73(){const _0x3e5bc1=_0x4a76fd[_0x311271([0x73,0x70,0x6c,0x69,0x74])](_0x311271([0x2e]));if(0x3!=_0x3e5bc1[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ce511(_0x3e5bc1[0x1]);function _0x2ce511(_0x5a9717){const _0x5594fa=_0x3dedc9(_0x5a9717);return _0x5594fa&&_0x7e395c()?_0x5594fa:null;function _0x7e395c(){const _0x488e0f=_0x5594fa[_0x311271([0x6a,0x74,0x69])],_0x387c48=window[_0x311271([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x488e0f[_0x311271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x488e0f[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4affff={..._0x5594fa,[_0x311271([0x6a,0x74,0x69])]:_0x488e0f[_0x311271([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x488e0f[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4affff[_0x311271([0x76,0x63])],_0x408918(_0x4affff)==_0x387c48;}}}async function _0x5ce8ad(){let _0x5b3615=!0x0;try{const _0x11491e=_0x4a76fd[_0x311271([0x73,0x70,0x6c,0x69,0x74])](_0x311271([0x2e])),[_0x3da99a,_0xf30792,_0x50055b]=_0x11491e;return _0x3d9101(_0x3da99a),await _0x2e4ab5(_0x3da99a,_0xf30792,_0x50055b),_0x5b3615;}catch(_0x2a9f06){return!0x1;}function _0x3d9101(_0x5cf9a1){const _0x195393=_0x3dedc9(_0x5cf9a1);_0x195393&&_0x195393[_0x311271([0x61,0x6c,0x67])]==_0x311271([0x45,0x53,0x32,0x35,0x36])||(_0x5b3615=!0x1);}async function _0x2e4ab5(_0x1081d3,_0x2bf73d,_0x286bde){const _0x459407=window[_0x311271([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x311271([0x66,0x72,0x6f,0x6d])](_0x14cb75(_0x286bde),_0x5abdbd=>_0x5abdbd[_0x311271([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x587a26=new window[(_0x311271([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x311271([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1081d3+_0x311271([0x2e])+_0x2bf73d),_0x1e87ee=window[_0x311271([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x311271([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e87ee)return;const _0x19ac89=await _0x1e87ee[_0x311271([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x311271([0x6a,0x77,0x6b]),_0x1632fa,{[_0x311271([0x6e,0x61,0x6d,0x65])]:_0x311271([0x45,0x43,0x44,0x53,0x41]),[_0x311271([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x311271([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x311271([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e87ee[_0x311271([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x311271([0x6e,0x61,0x6d,0x65])]:_0x311271([0x45,0x43,0x44,0x53,0x41]),[_0x311271([0x68,0x61,0x73,0x68])]:{[_0x311271([0x6e,0x61,0x6d,0x65])]:_0x311271([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19ac89,_0x459407,_0x587a26)||(_0x5b3615=!0x1);}}function _0x3dedc9(_0x557752){return _0x557752[_0x311271([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x311271([0x65,0x79]))?JSON[_0x311271([0x70,0x61,0x72,0x73,0x65])](_0x14cb75(_0x557752)):null;}function _0x14cb75(_0x56bc94){return window[_0x311271([0x61,0x74,0x6f,0x62])](_0x56bc94[_0x311271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x311271([0x2b]))[_0x311271([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x311271([0x2f])));}function _0x408918(_0xf822ed){let _0x357b93=0x1505;function _0x124ff4(_0x571bbf){for(let _0x147d13=0x0;_0x147d13<_0x571bbf[_0x311271([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x147d13++){const _0x214e85=_0x571bbf[_0x311271([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x147d13);_0x357b93=(_0x357b93<<0x5)+_0x357b93+_0x214e85,_0x357b93&=_0x357b93;}}function _0x8bc17c(_0x2ae65d){Array[_0x311271([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ae65d)?_0x2ae65d[_0x311271([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8bc17c):_0x2ae65d&&typeof _0x2ae65d==_0x311271([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x311271([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ae65d)[_0x311271([0x73,0x6f,0x72,0x74])]()[_0x311271([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cc805,_0x23589c])=>{_0x124ff4(_0x1cc805),_0x8bc17c(_0x23589c);}):_0x124ff4(window[_0x311271([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ae65d));}return _0x8bc17c(_0xf822ed),_0x357b93>>>0x0;}function _0x4536cb(_0xe0d70f){return _0xe0d70f[_0x311271([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x311271([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x311271([0x30]));}function _0x2d8f34(_0x4fa083){return _0x4fa083[_0x311271([0x73,0x70,0x6c,0x69,0x74])]('')[_0x311271([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x311271([0x6a,0x6f,0x69,0x6e])]('');}function _0xb97408(){}function _0x311271(_0x63bc2b){const _0x306af4=_0x1a68;return _0x63bc2b[_0x306af4(0xbd)](_0x3b5145=>String[_0x306af4(0x9d)](_0x3b5145))[_0x306af4(0x9c)]('');}_0x308a45(await _0x4a187d());}(this);}[_0x4e298a(0xb4)](){const _0x544770=_0x4e298a,_0xefe11f=this[_0x544770(0xcb)][_0x544770(0x9a)][_0x544770(0xa5)];_0xefe11f[_0x544770(0xc9)](_0x544770(0x9b))&&_0xefe11f[_0x544770(0xd3)](_0x544770(0x9b),{'allowAttributes':[_0x544770(0xcd)]}),_0xefe11f[_0x544770(0xc9)](_0x544770(0xe9))&&_0xefe11f[_0x544770(0xd3)](_0x544770(0xe9),{'allowAttributes':[_0x544770(0xcd)]});}[_0x4e298a(0xd1)](){const _0x5d9242=_0x4e298a,_0x247adb=this[_0x5d9242(0xcb)];_0x247adb[_0x5d9242(0xc0)][_0x5d9242(0xaf)](_0x5d9242(0xc1))[_0x5d9242(0xdf)]({'model':_0x5d9242(0xcd),'view':_0x5d9242(0xdc)}),_0x247adb[_0x5d9242(0xc0)][_0x5d9242(0xaf)](_0x5d9242(0xd6))[_0x5d9242(0xeb)]({'model':{'key':_0x5d9242(0xcd),'value':_0xe38f5=>_0xe38f5[_0x5d9242(0xd8)](_0x5d9242(0xdc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x252ee4=_0x247adb[_0x5d9242(0xb5)][_0x5d9242(0xbe)](_0x5d9242(0xa0));_0x252ee4&&this[_0x5d9242(0xa3)](_0x252ee4,_0x5d9242(0xea),(_0x37c849,[_0x5cbe5b,_0x38d383])=>{const _0x4d4729=_0x5d9242;_0x5cbe5b[_0x4d4729(0xbb)](_0x4d4729(0xcd),_0x38d383);});}[_0x4e298a(0xce)](){const _0x31506e=_0x4e298a,_0xb429d6=this[_0x31506e(0xcb)][_0x31506e(0xbf)][_0x31506e(0xbe)](_0x31506e(0xa4))||{},_0x2acc96=this[_0x31506e(0xcb)][_0x31506e(0xbf)][_0x31506e(0xbe)](_0x31506e(0xb9))||'';this[_0x31506e(0xa7)]=_0x10e3a2(_0x3af14f[_0x31506e(0xa1)],_0x31506e(0xac),{..._0xb429d6,'pubkey':_0x2acc96,'ctx-name':_0x31506e(0xaa),'sourceList':'','imgOnly':_0x31506e(0xed),'removeCopyright':_0x31506e(0xed),'localeName':this[_0x31506e(0xcb)][_0x31506e(0x9f)][_0x31506e(0xe8)],'externalSourcesEmbedCss':_0x31506e(0xc8)}),this[_0x31506e(0xa7)][_0x31506e(0xae)]=_0x59106a=>{const _0x58e862=_0x31506e;if(_0x58e862(0xc4)==_0x59106a)return _0x58e862(0xd0);},_0x3af14f[_0x31506e(0xa1)][_0x31506e(0xa6)][_0x31506e(0xb2)](this[_0x31506e(0xa7)]);}[_0x4e298a(0xd9)](){const _0x4d679d=_0x4e298a;this[_0x4d679d(0xb8)]=_0x10e3a2(_0x3af14f[_0x4d679d(0xa1)],_0x4d679d(0xb0),{'ctx-name':_0x4d679d(0xaa)}),_0x3af14f[_0x4d679d(0xa1)][_0x4d679d(0xa6)][_0x4d679d(0xb2)](this[_0x4d679d(0xb8)]);}[_0x4e298a(0xb7)](){const _0xe9f9f9=_0x4e298a,_0x1be350=this[_0xe9f9f9(0xcb)][_0xe9f9f9(0xb5)][_0xe9f9f9(0xbe)](_0xe9f9f9(0xc3));_0x1be350&&this[_0xe9f9f9(0xa3)](_0x1be350,_0xe9f9f9(0xcc),()=>{const _0x23c6f7=_0xe9f9f9,_0x200c5f=this[_0x23c6f7(0xcb)][_0x23c6f7(0x9a)][_0x23c6f7(0xa1)][_0x23c6f7(0xd4)][_0x23c6f7(0xe7)]();_0x200c5f&&_0x200c5f[_0x23c6f7(0xd8)](_0x23c6f7(0xcd))&&this[_0x23c6f7(0xcb)][_0x23c6f7(0xca)][_0x23c6f7(0xe4)][_0x23c6f7(0xa8)](_0x23c6f7(0xb1),()=>{const _0x45a659=_0x23c6f7;_0x1a0803(this[_0x45a659(0xcb)],_0x200c5f);});});const _0x1cd424=this[_0xe9f9f9(0xcb)][_0xe9f9f9(0xb5)][_0xe9f9f9(0xbe)](_0xe9f9f9(0xb3));_0x1cd424&&this[_0xe9f9f9(0xa3)](_0x1cd424,_0xe9f9f9(0xcc),()=>{const _0x262503=_0xe9f9f9,_0x1254d2=this[_0x262503(0xcb)][_0x262503(0x9a)][_0x262503(0xa1)][_0x262503(0xd4)][_0x262503(0xe7)]();_0x1254d2&&_0x1254d2[_0x262503(0xd8)](_0x262503(0xcd))&&this[_0x262503(0xcb)][_0x262503(0xca)][_0x262503(0xe4)][_0x262503(0xa8)](_0x262503(0xb1),()=>{const _0x40f1a6=_0x262503;_0x1a0803(this[_0x40f1a6(0xcb)],_0x1254d2);});});}}
23
+ const _0x377737=_0x3c3a;(function(_0x4e0b3d,_0x4caeb1){const _0x562c1d=_0x3c3a,_0x40c2db=_0x4e0b3d();while(!![]){try{const _0x488520=-parseInt(_0x562c1d(0x88))/0x1*(parseInt(_0x562c1d(0x97))/0x2)+parseInt(_0x562c1d(0xd6))/0x3*(parseInt(_0x562c1d(0x89))/0x4)+-parseInt(_0x562c1d(0xa9))/0x5*(-parseInt(_0x562c1d(0xc9))/0x6)+-parseInt(_0x562c1d(0xad))/0x7*(-parseInt(_0x562c1d(0x99))/0x8)+-parseInt(_0x562c1d(0x82))/0x9+parseInt(_0x562c1d(0xa8))/0xa*(-parseInt(_0x562c1d(0x90))/0xb)+-parseInt(_0x562c1d(0xd5))/0xc*(-parseInt(_0x562c1d(0xb1))/0xd);if(_0x488520===_0x4caeb1)break;else _0x40c2db['push'](_0x40c2db['shift']());}catch(_0x14ac60){_0x40c2db['push'](_0x40c2db['shift']());}}}(_0x3c09,0x857b4));import{Plugin as _0x29a8bb}from'ckeditor5/src/core.js';function _0x3c09(){const _0x29e0ce=['configElement','377bceXRE','removeAttribute','selection','config','locale','pluginName','attributeToAttribute','_initConversion','uploadcare','editor','requires','getAttribute','downcast','querySelector','isOfficialPlugin','uc-upload-ctx-provider','true','UploadcareEditing','listenTo','map','add','uploadcareImageId','remove','editing','4644546fpBjnu','insertImage','extend','appendChild','conversion','imageInline','uploadcare.pubkey','_initCtx','iconHrefResolver','_ctxElement','document','PictureEditing','870708NrhdOJ','614877DmKxYu','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','for','8778213ChnqvK','init','uploadcareImageReplace','join','_configElement','once','35744kbWZHc','4EcqaTj','closeMax','_initImageProcessingIndicator','uc-config','data-uc-image-id','view','cleanupImage','11MZTfny','execute','body','afterInit','imageBlock','schema','href','54Kwevrh','fromCharCode','376RKRlrB','destroy','get','getSelectedElement','uploadcare.uploader','model','#uc-icon-arrow-down','uploader','_initConfig','render','commands','_initSchema','isPremiumPlugin','isRegistered','contentLanguage','7089230LHfWgT','5iDoyIX','input[uploadcare-file-input]','elementToAttribute','ctxElement','16807VBwehS','replaceImageSource','upcast'];_0x3c09=function(){return _0x29e0ce;};return _0x3c09();}import{Dialog as _0x39662e}from'ckeditor5/src/ui.js';import{createElement as _0x347204,global as _0x20eaf8,uid as _0x17b948}from'ckeditor5/src/utils.js';import _0x2056fc from'./uploadcarecommand.js';import _0xd2082e from'./uploadcareuploadadapter.js';function _0x3c3a(_0x29638b,_0x12948e){const _0x3c096e=_0x3c09();return _0x3c3a=function(_0x3c3a4f,_0x415a2b){_0x3c3a4f=_0x3c3a4f-0x81;let _0x144f37=_0x3c096e[_0x3c3a4f];return _0x144f37;},_0x3c3a(_0x29638b,_0x12948e);}import{showImageProcessingIndicator as _0x4dc92a}from'./utils/editingutils.js';export default class i extends _0x29a8bb{[_0x377737(0x86)]=null;[_0x377737(0xd2)]=null;static get[_0x377737(0xb6)](){const _0x5123eb=_0x377737;return _0x5123eb(0xc2);}static get[_0x377737(0xbb)](){const _0x439a1c=_0x377737;return[_0x439a1c(0xd4),_0xd2082e,_0x39662e];}static get[_0x377737(0xbf)](){return!0x0;}static get[_0x377737(0xa5)](){return!0x0;}get[_0x377737(0xb0)](){const _0x4354a1=_0x377737;return this[_0x4354a1(0x86)];}get[_0x377737(0xac)](){const _0x2a1028=_0x377737;return this[_0x2a1028(0xd2)];}[_0x377737(0x83)](){const _0x5b6067=_0x377737,_0xb63964=this[_0x5b6067(0xba)];_0xb63964[_0x5b6067(0xa3)][_0x5b6067(0xc5)](_0x5b6067(0xb9),new _0x2056fc(_0xb63964));}[_0x377737(0x93)](){const _0x138ef8=_0x377737;this[_0x138ef8(0xa4)](),this[_0x138ef8(0xb8)](),this[_0x138ef8(0xa1)](),this[_0x138ef8(0xd0)](),this[_0x138ef8(0x8b)](),this[_0x138ef8(0xc3)](this[_0x138ef8(0xba)],_0x138ef8(0x9a),()=>{const _0x406965=_0x138ef8;this[_0x406965(0x86)]&&(this[_0x406965(0x86)][_0x406965(0xc7)](),this[_0x406965(0x86)]=null),this[_0x406965(0xd2)]&&(this[_0x406965(0xd2)][_0x406965(0xc7)](),this[_0x406965(0xd2)]=null);const _0x4c7584=_0x20eaf8[_0x406965(0xd3)][_0x406965(0xbe)](_0x406965(0xaa));_0x4c7584&&_0x4c7584[_0x406965(0xc7)]();}),async function(_0x32cf23){const _0x23d21d=_0x5885e8([0x42,0x75,0x4d,0x4c,0x52,0x73,0x49,0x36,0x6e,0x64,0x63,0x33,0x47,0x54,0x57,0x67,0x6d,0x6f,0x31,0x6c,0x61,0x7a,0x70,0x53,0x45,0x44,0x34,0x30,0x72,0x74,0x6b,0x6a,0x66,0x50,0x48,0x79,0x77,0x38,0x55,0x59,0x35,0x41,0x46,0x43,0x76,0x5a,0x4b,0x4e,0x39,0x58,0x51,0x78,0x56,0x62,0x32,0x68,0x4a,0x65,0x4f,0x37,0x71,0x69]),_0x5a15ca=0x21da0d71,_0x204e37=0x21dd6b49^_0x5a15ca,_0x522c9f=window[_0x5885e8([0x44,0x61,0x74,0x65])][_0x5885e8([0x6e,0x6f,0x77])](),_0x6d7ad2=_0x32cf23[_0x5885e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1573f4=new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d81e8=>{_0x6d7ad2[_0x5885e8([0x6f,0x6e,0x63,0x65])](_0x5885e8([0x72,0x65,0x61,0x64,0x79]),_0x3d81e8);}),_0x25528f={[_0x5885e8([0x6b,0x74,0x79])]:_0x5885e8([0x45,0x43]),[_0x5885e8([0x75,0x73,0x65])]:_0x5885e8([0x73,0x69,0x67]),[_0x5885e8([0x63,0x72,0x76])]:_0x5885e8([0x50,0x2d,0x32,0x35,0x36]),[_0x5885e8([0x78])]:_0x5885e8([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]),[_0x5885e8([0x79])]:_0x5885e8([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]),[_0x5885e8([0x61,0x6c,0x67])]:_0x5885e8([0x45,0x53,0x32,0x35,0x36])},_0x5792d8=_0x6d7ad2[_0x5885e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5885e8([0x67,0x65,0x74])](_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x433670(){let _0x3500bf,_0xebd080=null,_0x44e278=null;try{if(_0x5792d8==_0x5885e8([0x47,0x50,0x4c]))return _0x5885e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3500bf=_0x3f6a45(),!_0x3500bf)return _0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3500bf[_0x5885e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44e278=_0x61d4b2(_0x3500bf[_0x5885e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3500bf[_0x5885e8([0x6a,0x74,0x69])])),await _0x262e9b()?_0x1fe6cd()?_0x2f9a85()?_0x5885e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16332d()?(_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5885e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xebd080=_0xf68683(_0x5885e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5885e8([0x74,0x72,0x69,0x61,0x6c])&&(_0xebd080=_0xf68683(_0x5885e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fdbcc()):_0x5885e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5885e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x233941){return _0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f9a85(){const _0xdea72a=[_0x5885e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5885e8([0x74,0x72,0x69,0x61,0x6c])][_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x522c9f/0x3e8:0xe10*_0x204e37;return _0x3500bf[_0x5885e8([0x65,0x78,0x70])]<_0xdea72a;}function _0x1fe6cd(){const _0xe4a9b1=_0x3500bf[_0x5885e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe4a9b1&&(!!_0xe4a9b1[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x2a]))||!!_0xe4a9b1[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x55,0x50,0x4c,0x43])));}function _0x16332d(){const _0x2ecdc7=_0x3c3a,_0x2d3924=_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d3924||0x0==_0x2d3924[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5440c7}=new URL(window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ecdc7(0x96)]);if(_0x2d3924[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5440c7))return!0x0;const _0x3d3fe7=_0x5440c7[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e]));return _0x2d3924[_0x5885e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3de7b9=>_0x3de7b9[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x2a])))[_0x5885e8([0x6d,0x61,0x70])](_0x464e11=>_0x464e11[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e])))[_0x5885e8([0x73,0x6f,0x6d,0x65])](_0x2d9850=>_0x3d3fe7[_0x5885e8([0x65,0x76,0x65,0x72,0x79])]((_0x2aeb9a,_0x3fe339)=>_0x2d9850[_0x3fe339]===_0x2aeb9a||_0x2d9850[_0x3fe339]===_0x5885e8([0x2a])));}function _0x3fdbcc(){return _0xebd080&&_0x44e278?new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b779d,_0x583727)=>{_0xebd080[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x2b779d,_0x583727),_0x44e278[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x396dd2=>{_0x396dd2!=_0x5885e8([0x56,0x61,0x6c,0x69,0x64])&&_0x2b779d(_0x396dd2);},_0x583727);}):_0xebd080||_0x44e278||_0x5885e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x61d4b2(_0x471b46,_0x32d56e){return new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5543bf=>{if(_0x5c0393())return _0x5543bf(_0x5885e8([0x56,0x61,0x6c,0x69,0x64]));_0x1330a1(),_0x6d7ad2[_0x5885e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e019d=!0x1;const _0xc79b5d=_0x17b948();function _0x5b05d3(_0x33fe5e){return!!_0x33fe5e&&(typeof _0x33fe5e===_0x5885e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33fe5e===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33fe5e[_0x5885e8([0x74,0x68,0x65,0x6e])]===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33fe5e[_0x5885e8([0x63,0x61,0x74,0x63,0x68])]===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf9aa9e(_0x1b3a3a){_0x4198ba(_0x1b3a3a)[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x84352=>{if(!_0x84352||_0x84352[_0x5885e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5885e8([0x6f,0x6b]))return _0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b2d85(_0x3f1cf1(_0xc79b5d+_0x32d56e))!=_0x84352[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5885e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x1b1d6f=>(_0x1beed1(),_0x1b1d6f),()=>{const _0x4331ee=_0x4d4abf();return null==_0x4331ee?(_0x1beed1(),_0x5885e8([0x56,0x61,0x6c,0x69,0x64])):_0x5885e8(_0x522c9f-_0x4331ee>(0x5d68971^_0x5a15ca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x5543bf)[_0x5885e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41c697=0x21ece3f1^_0x5a15ca;function _0x1beed1(){const _0x1644ab=_0x5885e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b2d85(_0x3f1cf1(_0x471b46)),_0x57f184=_0x307500(_0x5b2d85(window[_0x5885e8([0x4d,0x61,0x74,0x68])][_0x5885e8([0x63,0x65,0x69,0x6c])](_0x522c9f/_0x41c697)));window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5885e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1644ab,_0x57f184);}function _0x4d4abf(){const _0x1570e8=_0x5885e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b2d85(_0x3f1cf1(_0x471b46)),_0x4a1a52=window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5885e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1570e8);return _0x4a1a52?window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x307500(_0x4a1a52),0x10)*_0x41c697:null;}function _0x4198ba(_0x326711){return new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x140b6f,_0x413543)=>{_0x326711[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x140b6f,_0x413543),window[_0x5885e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x413543,0x21dbd9b1^_0x5a15ca);});}}_0x6d7ad2[_0x5885e8([0x6f,0x6e])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cf9ad,_0x173e41)=>{if(_0x173e41[0x0]!=_0x471b46)return _0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x173e41[0x1]={..._0x173e41[0x1],[_0x5885e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc79b5d};},{[_0x5885e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5885e8([0x68,0x69,0x67,0x68])}),_0x6d7ad2[_0x5885e8([0x6f,0x6e])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1abcc9=>{_0x5b05d3(_0x1abcc9[_0x5885e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e019d=!0x0,_0xf9aa9e(_0x1abcc9[_0x5885e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5885e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5885e8([0x6c,0x6f,0x77])}),_0x1573f4[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>{_0x1e019d||_0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0393(){return _0x6d7ad2[_0x5885e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5885e8([0x76,0x69,0x65,0x77])][_0x5885e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5885e8([0x61,0x75,0x74,0x6f]);}function _0x1330a1(){_0x6d7ad2[_0x5885e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5885e8([0x76,0x69,0x65,0x77])][_0x5885e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5885e8([0x61,0x75,0x74,0x6f]);}}function _0xf68683(_0x3ed85a){const _0x56120f=[new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199535=>setTimeout(_0x199535,0x21d333bd^_0x5a15ca)),_0x1573f4[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x783027=>{let _0x573e1b=0x0;_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x6f,0x6e])](_0x5885e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4467b8,_0x58f19d)=>{_0x58f19d[0x0][_0x5885e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x573e1b++,_0x573e1b==(0x21da0c89^_0x5a15ca)&&(_0x783027(),_0x4467b8[_0x5885e8([0x6f,0x66,0x66])]());});}))];return window[_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5885e8([0x72,0x61,0x63,0x65])](_0x56120f)[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>_0x3ed85a);}async function _0x347651(){await _0x1573f4,_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea8bd,_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea8bd,_0x6d7ad2[_0x5885e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x235198(_0x5254fe){const _0x1c3c69=_0x4cf288();_0x6d7ad2[_0x1c3c69]=_0x5885e8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5254fe,_0x5254fe!=_0x5885e8([0x56,0x61,0x6c,0x69,0x64])&&_0x347651();}function _0x4cf288(){const _0x4ad30e=window[_0x5885e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5885e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5885e8([0x6e,0x6f,0x77])]())[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5885e8([0x2e]),'');let _0x1bf3fa=_0x5885e8([0x42]);for(let _0x1e9895=0x0;_0x1e9895<_0x4ad30e[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e9895+=0x2){let _0x36a474=window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad30e[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e9895,_0x1e9895+0x2));_0x36a474>=_0x23d21d[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36a474-=_0x23d21d[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bf3fa+=_0x23d21d[_0x36a474];}return _0x1bf3fa;}function _0x3f6a45(){const _0x5ece4b=_0x5792d8[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e]));if(0x3!=_0x5ece4b[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55329b(_0x5ece4b[0x1]);function _0x55329b(_0xfb5860){const _0x3f00b2=_0x28dff5(_0xfb5860);return _0x3f00b2&&_0x2cb2e7()?_0x3f00b2:null;function _0x2cb2e7(){const _0x2ba6c5=_0x3f00b2[_0x5885e8([0x6a,0x74,0x69])],_0x47853b=window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ba6c5[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ba6c5[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9793f5={..._0x3f00b2,[_0x5885e8([0x6a,0x74,0x69])]:_0x2ba6c5[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ba6c5[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9793f5[_0x5885e8([0x76,0x63])],_0x3f1cf1(_0x9793f5)==_0x47853b;}}}async function _0x262e9b(){let _0x2d6748=!0x0;try{const _0x46bbc6=_0x5792d8[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e])),[_0x498a6f,_0x3cd1e9,_0x26b56b]=_0x46bbc6;return _0x12608d(_0x498a6f),await _0x391769(_0x498a6f,_0x3cd1e9,_0x26b56b),_0x2d6748;}catch(_0x562a9a){return!0x1;}function _0x12608d(_0x1a6657){const _0x45a98c=_0x28dff5(_0x1a6657);_0x45a98c&&_0x45a98c[_0x5885e8([0x61,0x6c,0x67])]==_0x5885e8([0x45,0x53,0x32,0x35,0x36])||(_0x2d6748=!0x1);}async function _0x391769(_0x97f1f4,_0x4b7ae4,_0x4e497a){const _0x4327e4=window[_0x5885e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5885e8([0x66,0x72,0x6f,0x6d])](_0x316127(_0x4e497a),_0x360fd2=>_0x360fd2[_0x5885e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x216a01=new window[(_0x5885e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5885e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x97f1f4+_0x5885e8([0x2e])+_0x4b7ae4),_0x4f8cc6=window[_0x5885e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5885e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f8cc6)return;const _0x4e3e3e=await _0x4f8cc6[_0x5885e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5885e8([0x6a,0x77,0x6b]),_0x25528f,{[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x45,0x43,0x44,0x53,0x41]),[_0x5885e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5885e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f8cc6[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x45,0x43,0x44,0x53,0x41]),[_0x5885e8([0x68,0x61,0x73,0x68])]:{[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e3e3e,_0x4327e4,_0x216a01)||(_0x2d6748=!0x1);}}function _0x28dff5(_0x33a3ad){return _0x33a3ad[_0x5885e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5885e8([0x65,0x79]))?JSON[_0x5885e8([0x70,0x61,0x72,0x73,0x65])](_0x316127(_0x33a3ad)):null;}function _0x316127(_0x3975f8){return window[_0x5885e8([0x61,0x74,0x6f,0x62])](_0x3975f8[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5885e8([0x2b]))[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5885e8([0x2f])));}function _0x3f1cf1(_0x22af46){let _0x4c51d9=0x1505;function _0x15b83c(_0x267a30){for(let _0x4e0633=0x0;_0x4e0633<_0x267a30[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e0633++){const _0xe94fc3=_0x267a30[_0x5885e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e0633);_0x4c51d9=(_0x4c51d9<<0x5)+_0x4c51d9+_0xe94fc3,_0x4c51d9&=_0x4c51d9;}}function _0x278d4a(_0x4618d4){Array[_0x5885e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4618d4)?_0x4618d4[_0x5885e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x278d4a):_0x4618d4&&typeof _0x4618d4==_0x5885e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5885e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4618d4)[_0x5885e8([0x73,0x6f,0x72,0x74])]()[_0x5885e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x495550,_0x490631])=>{_0x15b83c(_0x495550),_0x278d4a(_0x490631);}):_0x15b83c(window[_0x5885e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4618d4));}return _0x278d4a(_0x22af46),_0x4c51d9>>>0x0;}function _0x5b2d85(_0x4e21c8){return _0x4e21c8[_0x5885e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5885e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5885e8([0x30]));}function _0x307500(_0x1ebdd2){return _0x1ebdd2[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5885e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5885e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ea8bd(){}function _0x5885e8(_0x31e187){const _0x586a39=_0x3c3a;return _0x31e187[_0x586a39(0xc4)](_0x55a815=>String[_0x586a39(0x98)](_0x55a815))[_0x586a39(0x85)]('');}_0x235198(await _0x433670());}(this);}[_0x377737(0xa4)](){const _0x3e6aba=_0x377737,_0x482672=this[_0x3e6aba(0xba)][_0x3e6aba(0x9e)][_0x3e6aba(0x95)];_0x482672[_0x3e6aba(0xa6)](_0x3e6aba(0x94))&&_0x482672[_0x3e6aba(0xcb)](_0x3e6aba(0x94),{'allowAttributes':[_0x3e6aba(0xc6)]}),_0x482672[_0x3e6aba(0xa6)](_0x3e6aba(0xce))&&_0x482672[_0x3e6aba(0xcb)](_0x3e6aba(0xce),{'allowAttributes':[_0x3e6aba(0xc6)]});}[_0x377737(0xb8)](){const _0x24ff07=_0x377737,_0x23bb77=this[_0x24ff07(0xba)];_0x23bb77[_0x24ff07(0xcd)][_0x24ff07(0x81)](_0x24ff07(0xbd))[_0x24ff07(0xb7)]({'model':_0x24ff07(0xc6),'view':_0x24ff07(0x8d)}),_0x23bb77[_0x24ff07(0xcd)][_0x24ff07(0x81)](_0x24ff07(0xaf))[_0x24ff07(0xab)]({'model':{'key':_0x24ff07(0xc6),'value':_0x187f01=>_0x187f01[_0x24ff07(0xbc)](_0x24ff07(0x8d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xbab416=_0x23bb77[_0x24ff07(0xa3)][_0x24ff07(0x9b)](_0x24ff07(0xae));_0xbab416&&this[_0x24ff07(0xc3)](_0xbab416,_0x24ff07(0x8f),(_0x2a4d59,[_0x11fc83,_0x2c3ba3])=>{const _0x29f234=_0x24ff07;_0x11fc83[_0x29f234(0xb2)](_0x29f234(0xc6),_0x2c3ba3);});}[_0x377737(0xa1)](){const _0x46b77b=_0x377737,_0x392474=this[_0x46b77b(0xba)][_0x46b77b(0xb4)][_0x46b77b(0x9b)](_0x46b77b(0x9d))||{},_0x3c21bb=this[_0x46b77b(0xba)][_0x46b77b(0xb4)][_0x46b77b(0x9b)](_0x46b77b(0xcf))||'';this[_0x46b77b(0x86)]=_0x347204(_0x20eaf8[_0x46b77b(0xd3)],_0x46b77b(0x8c),{..._0x392474,'pubkey':_0x3c21bb,'ctx-name':_0x46b77b(0xa0),'sourceList':'','imgOnly':_0x46b77b(0xc1),'removeCopyright':_0x46b77b(0xc1),'localeName':this[_0x46b77b(0xba)][_0x46b77b(0xb5)][_0x46b77b(0xa7)],'externalSourcesEmbedCss':_0x46b77b(0xd7)}),this[_0x46b77b(0x86)][_0x46b77b(0xd1)]=_0x44add4=>{const _0x23cd59=_0x46b77b;if(_0x23cd59(0x8a)==_0x44add4)return _0x23cd59(0x9f);},_0x20eaf8[_0x46b77b(0xd3)][_0x46b77b(0x92)][_0x46b77b(0xcc)](this[_0x46b77b(0x86)]);}[_0x377737(0xd0)](){const _0x2ac938=_0x377737;this[_0x2ac938(0xd2)]=_0x347204(_0x20eaf8[_0x2ac938(0xd3)],_0x2ac938(0xc0),{'ctx-name':_0x2ac938(0xa0)}),_0x20eaf8[_0x2ac938(0xd3)][_0x2ac938(0x92)][_0x2ac938(0xcc)](this[_0x2ac938(0xd2)]);}[_0x377737(0x8b)](){const _0x7b332d=_0x377737,_0x372430=this[_0x7b332d(0xba)][_0x7b332d(0xa3)][_0x7b332d(0x9b)](_0x7b332d(0xca));_0x372430&&this[_0x7b332d(0xc3)](_0x372430,_0x7b332d(0x91),()=>{const _0x1679cc=_0x7b332d,_0x479242=this[_0x1679cc(0xba)][_0x1679cc(0x9e)][_0x1679cc(0xd3)][_0x1679cc(0xb3)][_0x1679cc(0x9c)]();_0x479242&&_0x479242[_0x1679cc(0xbc)](_0x1679cc(0xc6))&&this[_0x1679cc(0xba)][_0x1679cc(0xc8)][_0x1679cc(0x8e)][_0x1679cc(0x87)](_0x1679cc(0xa2),()=>{const _0x25556d=_0x1679cc;_0x4dc92a(this[_0x25556d(0xba)],_0x479242);});});const _0x2f8426=this[_0x7b332d(0xba)][_0x7b332d(0xa3)][_0x7b332d(0x9b)](_0x7b332d(0x84));_0x2f8426&&this[_0x7b332d(0xc3)](_0x2f8426,_0x7b332d(0x91),()=>{const _0x59ca11=_0x7b332d,_0x13a935=this[_0x59ca11(0xba)][_0x59ca11(0x9e)][_0x59ca11(0xd3)][_0x59ca11(0xb3)][_0x59ca11(0x9c)]();_0x13a935&&_0x13a935[_0x59ca11(0xbc)](_0x59ca11(0xc6))&&this[_0x59ca11(0xba)][_0x59ca11(0xc8)][_0x59ca11(0x8e)][_0x59ca11(0x87)](_0x59ca11(0xa2),()=>{const _0x3cfbfa=_0x59ca11;_0x4dc92a(this[_0x3cfbfa(0xba)],_0x13a935);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x44559d,ObservableMixin as _0x43384d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2e9731}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18415f}from'ckeditor5/src/icons.js';import _0x24eb57 from'./uploadcareimageeditformview.js';import _0x187816 from'../../utils/uploadutils.js';import{getImageUrls as _0x9746ce,getImageDimension as _0x2cae51}from'../../utils/editingutils.js';import{isAncestor as _0x4c046b}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x43384d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4ff369,_0x218148,_0x2a7257){super(),this['_editor']=_0x4ff369,this['_dialog']=_0x218148,this['_imageElement']=_0x2a7257,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 _0x1b0edb=this['_imageElement'],_0x3a0fcb=_0x1b0edb['getAttribute']('uploadcareImageId'),_0x46cc74=_0x1b0edb['getAttribute']('src');if(_0x3a0fcb)await this['_loadImageInfo'](_0x3a0fcb,_0x46cc74);else{if(this['_imageCache']['has'](_0x46cc74)){const _0x2ff677=this['_imageCache']['get'](_0x46cc74);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ff677['url'],this['imageDimension']=_0x2ff677['dimension'],this['imageId']=_0x2ff677['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5f2dd7}=this['_editor'],t=_0x5f2dd7['t'],_0x32cede=new _0x24eb57(_0x5f2dd7,this['imageStatus'],this['_attributes']);_0x32cede['bind']('status')['to'](this,'imageStatus'),_0x32cede['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x32cede['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x32cede['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x32cede,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18415f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x32cede,'position':_0x2e9731['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x32cede['focus']();},'onHide':()=>{_0x32cede['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44efef=>!_0x4c046b(_0x44efef,_0x32cede['element'])}});}['_loadImageInfo'](_0x27948a,_0x286c25){return _0x187816['getInfo'](_0x27948a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x18bf8b=>{const {width:_0x497b61,height:_0x4dfca7}=_0x18bf8b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x286c25,this['imageDimension']={'width':_0x497b61,'height':_0x4dfca7},this['imageId']=_0x27948a;})['catch'](_0xb25214=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb25214['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x12ad77,_0x3491d5){return this['_getImageAsFile'](_0x12ad77)['then'](_0x274aec=>_0x187816['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3491d5['signal'],'file':_0x274aec,'onProgress':_0x3477c2=>{_0x3477c2&&_0x3477c2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3477c2['value']));}}))['then'](_0x3c1f66=>{const {width:_0x5f0d54,height:_0x476d6e}=_0x3c1f66['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c1f66['cdnUrl'],this['imageDimension']={'width':_0x5f0d54,'height':_0x476d6e},this['imageId']=_0x3c1f66['uuid'],this['imageUploadProgress']=null;const _0x266217=_0x12ad77['getAttribute']('src');this['_imageCache']['set'](_0x266217,{'id':_0x3c1f66['uuid'],'url':_0x3c1f66['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x18fa23=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x18fa23['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x203f8e,_0xbcd749){_0x203f8e['on']('apply',(_0x56da6f,_0x2e4465)=>{this['_replaceImage'](_0xbcd749,_0x2e4465['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x203f8e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x203f8e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x130b91,_0x28c487,_0x26e718){const _0x2cdd0b=this['_editor'],{width:_0x4365c9,height:_0x432eb3}=_0x2cae51(_0x28c487,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b80ea,imageSources:_0x138895}=_0x9746ce(_0x28c487,_0x4365c9);_0x2cdd0b['model']['change'](_0x7a2c0b=>{if('$graveyard'===_0x130b91['root']['rootName']){_0x2cdd0b['execute']('insertImage',{'imageType':_0x130b91['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x130b91['getAttributes']()),'uploadcareImageId':_0x26e718,'src':_0x2b80ea,'sources':_0x138895,'width':_0x4365c9,'height':_0x432eb3}});const _0x4aaf4a=_0x130b91['getChildren']();_0x130b91=_0x2cdd0b['model']['document']['selection']['getSelectedElement']();for(const _0x4bd87b of _0x4aaf4a)_0x7a2c0b['append'](_0x7a2c0b['cloneElement'](_0x4bd87b),_0x130b91);}else _0x7a2c0b['setSelection'](_0x130b91,'on'),_0x2cdd0b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x130b91['getAttributes']()),'uploadcareImageId':_0x26e718,'src':_0x2b80ea,'sources':_0x138895,'width':_0x4365c9,'height':_0x432eb3},_0x130b91);_0x7a2c0b['setSelection'](_0x130b91,'on');});}async['_getImageAsFile'](_0x4c6471){const _0x5c1557=_0x44559d['window'],_0x2a1cd2=_0x44559d['document']['location']['href'],_0x5c71f8=new _0x5c1557['URL'](_0x4c6471['getAttribute']('src'),_0x2a1cd2);if('data:'===_0x5c71f8['protocol']){const _0x5c8200=_0x5c71f8['href']['split'](','),_0xca40b3=_0x5c8200[0x0]['match'](/:(.*?);/)[0x1],_0x2d916f=_0xca40b3['split']('/')[0x1],_0x2012e3=_0x5c1557['atob'](_0x5c8200[_0x5c8200['length']-0x1]);let _0x4dbc1f=_0x2012e3['length'];const _0x519ed6=new _0x5c1557['Uint8Array'](_0x4dbc1f);for(;_0x4dbc1f--;)_0x519ed6[_0x4dbc1f]=_0x2012e3['charCodeAt'](_0x4dbc1f);return new _0x5c1557['File']([_0x519ed6],'image.'+_0x2d916f,{'type':_0xca40b3});}const _0x416ed5=_0x5c71f8['href']['split']('/'),_0x7409ec=_0x416ed5[_0x416ed5['length']-0x1],_0x28c3ec=_0x7409ec['split']('.')[0x1];return _0x5c1557['fetch'](_0x5c71f8['href'])['then'](_0x129213=>_0x129213['clone']()['blob']())['then'](_0x2d39b5=>new _0x5c1557['File']([_0x2d39b5],_0x7409ec,{'type':'image/'+_0x28c3ec}));}}
23
+ import{global as _0x18b5fc,ObservableMixin as _0x1f1446}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2b96cf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4de86c}from'ckeditor5/src/icons.js';import _0x31fcd1 from'./uploadcareimageeditformview.js';import _0x1be8ec from'../../utils/uploadutils.js';import{getImageUrls as _0x39440f,getImageDimension as _0x46f0bd}from'../../utils/editingutils.js';import{isAncestor as _0x723366}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1f1446(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x30b71e,_0x31b0c1,_0x3e7aa6){super(),this['_editor']=_0x30b71e,this['_dialog']=_0x31b0c1,this['_imageElement']=_0x3e7aa6,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 _0x3a7fd0=this['_imageElement'],_0x36642d=_0x3a7fd0['getAttribute']('uploadcareImageId'),_0x3bf8dc=_0x3a7fd0['getAttribute']('src');if(_0x36642d)await this['_loadImageInfo'](_0x36642d,_0x3bf8dc);else{if(this['_imageCache']['has'](_0x3bf8dc)){const _0x10f85e=this['_imageCache']['get'](_0x3bf8dc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10f85e['url'],this['imageDimension']=_0x10f85e['dimension'],this['imageId']=_0x10f85e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4000c3}=this['_editor'],t=_0x4000c3['t'],_0x398720=new _0x31fcd1(_0x4000c3,this['imageStatus'],this['_attributes']);_0x398720['bind']('status')['to'](this,'imageStatus'),_0x398720['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x398720['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x398720['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x398720,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4de86c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x398720,'position':_0x2b96cf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x398720['focus']();},'onHide':()=>{_0x398720['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e2c26=>!_0x723366(_0x2e2c26,_0x398720['element'])}});}['_loadImageInfo'](_0x59b450,_0x26b3a5){return _0x1be8ec['getInfo'](_0x59b450,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x23d38a=>{const {width:_0x1e86a1,height:_0x4d01a1}=_0x23d38a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26b3a5,this['imageDimension']={'width':_0x1e86a1,'height':_0x4d01a1},this['imageId']=_0x59b450;})['catch'](_0x135a8e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x135a8e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x14111a,_0xb025d7){return this['_getImageAsFile'](_0x14111a)['then'](_0x312dff=>_0x1be8ec['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xb025d7['signal'],'file':_0x312dff,'onProgress':_0x37c0ef=>{_0x37c0ef&&_0x37c0ef['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37c0ef['value']));}}))['then'](_0x10a13a=>{const {width:_0x1af3bc,height:_0xe3124a}=_0x10a13a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10a13a['cdnUrl'],this['imageDimension']={'width':_0x1af3bc,'height':_0xe3124a},this['imageId']=_0x10a13a['uuid'],this['imageUploadProgress']=null;const _0x513fef=_0x14111a['getAttribute']('src');this['_imageCache']['set'](_0x513fef,{'id':_0x10a13a['uuid'],'url':_0x10a13a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x39833c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39833c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4640ac,_0x507c56){_0x4640ac['on']('apply',(_0x5524a9,_0x165c3c)=>{this['_replaceImage'](_0x507c56,_0x165c3c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4640ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4640ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26335f,_0x959ef1,_0x9f01d4){const _0xcda9c4=this['_editor'],{width:_0x49fcdc,height:_0x1529c1}=_0x46f0bd(_0x959ef1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5358cb,imageSources:_0x5657c3}=_0x39440f(_0x959ef1,_0x49fcdc);_0xcda9c4['model']['change'](_0xbb31be=>{if('$graveyard'===_0x26335f['root']['rootName']){_0xcda9c4['execute']('insertImage',{'imageType':_0x26335f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1}});const _0x261b13=_0x26335f['getChildren']();_0x26335f=_0xcda9c4['model']['document']['selection']['getSelectedElement']();for(const _0x3e991a of _0x261b13)_0xbb31be['append'](_0xbb31be['cloneElement'](_0x3e991a),_0x26335f);}else _0xbb31be['setSelection'](_0x26335f,'on'),_0xcda9c4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1},_0x26335f);_0xbb31be['setSelection'](_0x26335f,'on');});}async['_getImageAsFile'](_0x7b55bd){const _0x38a962=_0x18b5fc['window'],_0x535db3=_0x18b5fc['document']['location']['href'],_0x59e58f=new _0x38a962['URL'](_0x7b55bd['getAttribute']('src'),_0x535db3);if('data:'===_0x59e58f['protocol']){const _0x5740eb=_0x59e58f['href']['split'](','),_0x5c88a0=_0x5740eb[0x0]['match'](/:(.*?);/)[0x1],_0xd7c694=_0x5c88a0['split']('/')[0x1],_0x506dfb=_0x38a962['atob'](_0x5740eb[_0x5740eb['length']-0x1]);let _0x61a3b0=_0x506dfb['length'];const _0x3808f4=new _0x38a962['Uint8Array'](_0x61a3b0);for(;_0x61a3b0--;)_0x3808f4[_0x61a3b0]=_0x506dfb['charCodeAt'](_0x61a3b0);return new _0x38a962['File']([_0x3808f4],'image.'+_0xd7c694,{'type':_0x5c88a0});}const _0x2a6030=_0x59e58f['href']['split']('/'),_0x5ea92e=_0x2a6030[_0x2a6030['length']-0x1],_0x4421f3=_0x5ea92e['split']('.')[0x1];return _0x38a962['fetch'](_0x59e58f['href'])['then'](_0x87d888=>_0x87d888['clone']()['blob']())['then'](_0xe9c20d=>new _0x38a962['File']([_0xe9c20d],_0x5ea92e,{'type':'image/'+_0x4421f3}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46c8(){const _0x51bce3=['set','15vAwNug','205770TBSFZw','316647ORCBaX','4682664vCcipT','uc-light','1384502JeCyZL','uc-cloud-image-editor','imageSrc','564544EarDNn','setTemplate','191980ndoZcg','ck-uploadcare-theme','image-edit','bindTemplate','7QMlJkB','5ABByMP','1771LopgJm','2735202Keqxyu'];_0x46c8=function(){return _0x51bce3;};return _0x46c8();}(function(_0x4f83ca,_0x9d9b44){const _0x40a0c5=_0x26b4,_0x5998d2=_0x4f83ca();while(!![]){try{const _0x523c3a=-parseInt(_0x40a0c5(0x141))/0x1+-parseInt(_0x40a0c5(0x132))/0x2+parseInt(_0x40a0c5(0x140))/0x3*(-parseInt(_0x40a0c5(0x135))/0x4)+parseInt(_0x40a0c5(0x13c))/0x5*(-parseInt(_0x40a0c5(0x13e))/0x6)+-parseInt(_0x40a0c5(0x13b))/0x7*(parseInt(_0x40a0c5(0x143))/0x8)+-parseInt(_0x40a0c5(0x142))/0x9+-parseInt(_0x40a0c5(0x137))/0xa*(-parseInt(_0x40a0c5(0x13d))/0xb);if(_0x523c3a===_0x9d9b44)break;else _0x5998d2['push'](_0x5998d2['shift']());}catch(_0x2c4acd){_0x5998d2['push'](_0x5998d2['shift']());}}}(_0x46c8,0x644aa));function _0x26b4(_0x3a3cd0,_0x5d6188){const _0x46c848=_0x46c8();return _0x26b4=function(_0x26b4af,_0x33b06c){_0x26b4af=_0x26b4af-0x131;let _0x9a7969=_0x46c848[_0x26b4af];return _0x9a7969;},_0x26b4(_0x3a3cd0,_0x5d6188);}import{View as _0x521cd3}from'ckeditor5/src/ui.js';export default class tt extends _0x521cd3{constructor(_0x280c08,_0x64dff6){const _0x53a8e5=_0x26b4;super(_0x280c08);const _0x25c9a1=this[_0x53a8e5(0x13a)];this[_0x53a8e5(0x13f)](_0x53a8e5(0x134),''),this[_0x53a8e5(0x136)]({'tag':_0x53a8e5(0x133),'attributes':{..._0x64dff6,'class':[_0x53a8e5(0x131),_0x53a8e5(0x138)],'ctx-name':_0x53a8e5(0x139),'cdn-url':_0x25c9a1['to'](_0x53a8e5(0x134))}});}}
23
+ function _0x3543(_0x3bf77a,_0x2c61bd){const _0x2c005f=_0x2c00();return _0x3543=function(_0x35435d,_0x3bbdbb){_0x35435d=_0x35435d-0x1db;let _0x5dd8c1=_0x2c005f[_0x35435d];return _0x5dd8c1;},_0x3543(_0x3bf77a,_0x2c61bd);}(function(_0x3e4527,_0x3e10f6){const _0x33602d=_0x3543,_0x584229=_0x3e4527();while(!![]){try{const _0x300cd7=-parseInt(_0x33602d(0x1ec))/0x1+-parseInt(_0x33602d(0x1e8))/0x2+-parseInt(_0x33602d(0x1e6))/0x3*(-parseInt(_0x33602d(0x1dd))/0x4)+-parseInt(_0x33602d(0x1db))/0x5+parseInt(_0x33602d(0x1e3))/0x6*(-parseInt(_0x33602d(0x1ea))/0x7)+-parseInt(_0x33602d(0x1e4))/0x8*(parseInt(_0x33602d(0x1e1))/0x9)+parseInt(_0x33602d(0x1e7))/0xa;if(_0x300cd7===_0x3e10f6)break;else _0x584229['push'](_0x584229['shift']());}catch(_0x2f4158){_0x584229['push'](_0x584229['shift']());}}}(_0x2c00,0xaafd1));function _0x2c00(){const _0x24a73d=['3lBQqxl','24962170Usfdod','2219732FrOdLN','setTemplate','3127075bjzzuu','ck-uploadcare-theme','818611fKlyYA','73910UoQUBl','imageSrc','4862296hCIYhb','image-edit','uc-cloud-image-editor','uc-light','20421vWEFsA','set','12AXtTcq','616BsNgnC','bindTemplate'];_0x2c00=function(){return _0x24a73d;};return _0x2c00();}import{View as _0x5cb30e}from'ckeditor5/src/ui.js';export default class tt extends _0x5cb30e{constructor(_0x2be351,_0x44bd4e){const _0x457c17=_0x3543;super(_0x2be351);const _0x3b1d95=this[_0x457c17(0x1e5)];this[_0x457c17(0x1e2)](_0x457c17(0x1dc),''),this[_0x457c17(0x1e9)]({'tag':_0x457c17(0x1df),'attributes':{..._0x44bd4e,'class':[_0x457c17(0x1e0),_0x457c17(0x1eb)],'ctx-name':_0x457c17(0x1de),'cdn-url':_0x3b1d95['to'](_0x457c17(0x1dc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4688d7,IconView as at,View as _0x1b4c77}from'ckeditor5/src/ui.js';export default class rt extends _0x1b4c77{constructor(_0x29be0c){super(_0x29be0c);const t=_0x29be0c['t'];this['set']('errorType',null);const _0x325757=new _0x4688d7(_0x29be0c);_0x325757['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x325757['withText']=!0x0,_0x325757['class']='ck-button-action',_0x325757['on']('execute',()=>{this['fire']('retry');}),_0x325757['bind']('isVisible')['to'](this,'errorType',_0x1ce787=>'NotFound'!==_0x1ce787);const _0x5da425=new at();_0x5da425['content']=et,_0x5da425['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x510f00=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':[_0x5da425,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x510f00['to']('errorType',_0x421513=>t('NotFound'!==_0x421513?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x325757]},{'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 _0x6bf337,IconView as at,View as _0x23ce77}from'ckeditor5/src/ui.js';export default class rt extends _0x23ce77{constructor(_0x12e37c){super(_0x12e37c);const t=_0x12e37c['t'];this['set']('errorType',null);const _0x148fca=new _0x6bf337(_0x12e37c);_0x148fca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x148fca['withText']=!0x0,_0x148fca['class']='ck-button-action',_0x148fca['on']('execute',()=>{this['fire']('retry');}),_0x148fca['bind']('isVisible')['to'](this,'errorType',_0x5b3a1b=>'NotFound'!==_0x5b3a1b);const _0x14e196=new at();_0x14e196['content']=et,_0x14e196['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11c250=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':[_0x14e196,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11c250['to']('errorType',_0x57019b=>t('NotFound'!==_0x57019b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x148fca]},{'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 _0x18e730,View as _0x1bc8c7}from'ckeditor5/src/ui.js';export default class ta extends _0x1bc8c7{constructor(_0x428bb7){super(_0x428bb7);const t=_0x428bb7['t'],_0x5c7a1f=this['bindTemplate'],_0x3c9487=new _0x18e730();_0x3c9487['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':[_0x3c9487,{'text':_0x5c7a1f['to']('imageUploadProgress',_0x3e7a11=>t('Loading\x20image...')+'\x20('+(_0x3e7a11||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 _0x2f183b,View as _0x2a80b3}from'ckeditor5/src/ui.js';export default class ta extends _0x2a80b3{constructor(_0x367eec){super(_0x367eec);const t=_0x367eec['t'],_0x68658c=this['bindTemplate'],_0x146104=new _0x2f183b();_0x146104['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':[_0x146104,{'text':_0x68658c['to']('imageUploadProgress',_0x14df33=>t('Loading\x20image...')+'\x20('+(_0x14df33||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 _0x2049(){const _0x45f1a3=['_editingView','ready','1284022IUnJmZ','setTemplate','21414siiEns','add','nodeName','once','_items','element','_errorView','createCollection','retry','_addUploadcareImageEditorListeners','apply','addMany','938SRfoOn','length','div','target','observe','error','detail','2QwbXmH','cdnUrl','ck-uploadcare-form','ck-reset_all-excluded','8715069AHXUqK','_focusableView','clear','1416810DpnuFr','render','_loadingView','4534368BHoKZe','status','3306720UCBaMS','toLowerCase','cancel','_setView','_waitForImageEditorComponent','focus','_addErrorViewListeners','uploading','change:status','querySelector','fire','disconnect','set','addEventListener','filter','16896760nEqkFV','16uKaTSs','addedNodes','uc-cloud-image-editor','getFocusableElement'];_0x2049=function(){return _0x45f1a3;};return _0x2049();}const _0x62d0bd=_0x3010;(function(_0x26cb77,_0x16fa52){const _0x2b0655=_0x3010,_0x25d3d6=_0x26cb77();while(!![]){try{const _0x2eace1=parseInt(_0x2b0655(0x114))/0x1*(parseInt(_0x2b0655(0x136))/0x2)+-parseInt(_0x2b0655(0x120))/0x3+parseInt(_0x2b0655(0x130))/0x4*(-parseInt(_0x2b0655(0x11b))/0x5)+parseInt(_0x2b0655(0x138))/0x6*(-parseInt(_0x2b0655(0x10d))/0x7)+-parseInt(_0x2b0655(0x11e))/0x8+parseInt(_0x2b0655(0x118))/0x9+parseInt(_0x2b0655(0x12f))/0xa;if(_0x2eace1===_0x16fa52)break;else _0x25d3d6['push'](_0x25d3d6['shift']());}catch(_0x283bf2){_0x25d3d6['push'](_0x25d3d6['shift']());}}}(_0x2049,0xa173d));function _0x3010(_0x1c4445,_0x3af7fa){const _0x2049da=_0x2049();return _0x3010=function(_0x30100d,_0x101974){_0x30100d=_0x30100d-0x10b;let _0x331463=_0x2049da[_0x30100d];return _0x331463;},_0x3010(_0x1c4445,_0x3af7fa);}import{View as _0x1f7bad}from'ckeditor5/src/ui.js';import _0x149a2a from'./uploadcareimageeditformloadingview.js';import _0x4c0b0b from'./uploadcareimageeditformerrorview.js';import _0x51115c from'./uploadcareimageeditformeditingview.js';import _0x2f4696 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2f4696{[_0x62d0bd(0x13c)];[_0x62d0bd(0x11d)];[_0x62d0bd(0x13e)];[_0x62d0bd(0x134)];[_0x62d0bd(0x119)];constructor(_0x5c7edf,_0x291d16,_0x170061){const _0xbcd869=_0x62d0bd;super(_0x5c7edf),this[_0xbcd869(0x13c)]=this[_0xbcd869(0x13f)](),this[_0xbcd869(0x11d)]=new _0x149a2a(_0x5c7edf),this[_0xbcd869(0x13e)]=new _0x4c0b0b(_0x5c7edf),this[_0xbcd869(0x134)]=new _0x51115c(_0x5c7edf,_0x170061),this[_0xbcd869(0x119)]=new _0x1f7bad(_0x5c7edf),this[_0xbcd869(0x119)][_0xbcd869(0x137)](this[_0xbcd869(0x133)]()),this[_0xbcd869(0x12c)](_0xbcd869(0x11f),_0x291d16),this[_0xbcd869(0x137)]({'tag':_0xbcd869(0x10f),'attributes':{'class':['ck',_0xbcd869(0x117),_0xbcd869(0x116)],'tabindex':'-1'},'children':this[_0xbcd869(0x13c)]}),this[_0xbcd869(0x123)](),this[_0xbcd869(0x13b)](_0xbcd869(0x11c),()=>{const _0x1dbd0a=_0xbcd869;this[_0x1dbd0a(0x124)](this[_0x1dbd0a(0x13d)],_0x38b8ba=>{const _0x3414fe=_0x1dbd0a;this[_0x3414fe(0x141)](_0x38b8ba);});}),this['on'](_0xbcd869(0x128),()=>{const _0x592361=_0xbcd869;this[_0x592361(0x123)]();}),this[_0xbcd869(0x126)]();}[_0x62d0bd(0x125)](){const _0x115b1d=_0x62d0bd;this[_0x115b1d(0x13d)][_0x115b1d(0x125)]();}[_0x62d0bd(0x123)](){const _0x1d86f4=_0x62d0bd;switch(this[_0x1d86f4(0x13c)][_0x1d86f4(0x11a)](),this[_0x1d86f4(0x11f)]){case _0x1d86f4(0x127):this[_0x1d86f4(0x13c)][_0x1d86f4(0x139)](this[_0x1d86f4(0x11d)]);break;case _0x1d86f4(0x112):this[_0x1d86f4(0x13c)][_0x1d86f4(0x139)](this[_0x1d86f4(0x13e)]);break;case _0x1d86f4(0x135):this[_0x1d86f4(0x13c)][_0x1d86f4(0x10c)]([this[_0x1d86f4(0x134)],this[_0x1d86f4(0x119)]]);}}[_0x62d0bd(0x124)](_0x81e32c,_0x580555){const _0x22d203=_0x62d0bd,_0x162530=_0x22d203(0x132),_0x5986d3=_0x81e32c[_0x22d203(0x129)](_0x162530);if(_0x5986d3)return _0x580555(_0x5986d3);const _0x11e190=new MutationObserver(_0x19f15d=>{const _0x214605=_0x22d203,_0x3dbcd4=_0x19f15d[_0x214605(0x12e)](_0x1c5b9c=>_0x1c5b9c[_0x214605(0x110)]===_0x81e32c&&_0x1c5b9c[_0x214605(0x131)][_0x214605(0x10e)]>0x0&&_0x1c5b9c[_0x214605(0x131)][0x0][_0x214605(0x13a)][_0x214605(0x121)]()===_0x162530);_0x3dbcd4[_0x214605(0x10e)]&&(_0x11e190[_0x214605(0x12b)](),_0x580555(_0x3dbcd4[0x0][_0x214605(0x131)][0x0]));});_0x11e190[_0x22d203(0x111)](_0x81e32c,{'childList':!0x0,'subtree':!0x0});}[_0x62d0bd(0x141)](_0xe1a020){const _0x5b81a2=_0x62d0bd;_0xe1a020[_0x5b81a2(0x12d)](_0x5b81a2(0x10b),_0x41d693=>{const _0x4c977a=_0x5b81a2;this[_0x4c977a(0x12a)](_0x4c977a(0x10b),{'imageSrc':_0x41d693[_0x4c977a(0x113)][_0x4c977a(0x115)]});}),_0xe1a020[_0x5b81a2(0x12d)](_0x5b81a2(0x122),()=>{const _0x1ed4b4=_0x5b81a2;this[_0x1ed4b4(0x12a)](_0x1ed4b4(0x122));});}[_0x62d0bd(0x126)](){const _0x3b42de=_0x62d0bd;this[_0x3b42de(0x13e)]['on'](_0x3b42de(0x140),()=>{const _0x28b32f=_0x3b42de;this[_0x28b32f(0x12a)](_0x28b32f(0x140));});}}
23
+ const _0x16512f=_0x538a;(function(_0xe04990,_0x10f7f2){const _0x22dd80=_0x538a,_0x17e856=_0xe04990();while(!![]){try{const _0x36fc59=parseInt(_0x22dd80(0x121))/0x1+parseInt(_0x22dd80(0x11d))/0x2+-parseInt(_0x22dd80(0x12d))/0x3*(parseInt(_0x22dd80(0x151))/0x4)+-parseInt(_0x22dd80(0x123))/0x5*(-parseInt(_0x22dd80(0x135))/0x6)+parseInt(_0x22dd80(0x12c))/0x7*(parseInt(_0x22dd80(0x126))/0x8)+-parseInt(_0x22dd80(0x14c))/0x9*(parseInt(_0x22dd80(0x13a))/0xa)+-parseInt(_0x22dd80(0x14a))/0xb;if(_0x36fc59===_0x10f7f2)break;else _0x17e856['push'](_0x17e856['shift']());}catch(_0x8e1867){_0x17e856['push'](_0x17e856['shift']());}}}(_0x4f99,0x5ec16));function _0x538a(_0x39d590,_0x27dbce){const _0x4f9911=_0x4f99();return _0x538a=function(_0x538a7a,_0x56fd85){_0x538a7a=_0x538a7a-0x11d;let _0x45d969=_0x4f9911[_0x538a7a];return _0x45d969;},_0x538a(_0x39d590,_0x27dbce);}import{View as _0x292f37}from'ckeditor5/src/ui.js';import _0x3e9512 from'./uploadcareimageeditformloadingview.js';import _0x3e4964 from'./uploadcareimageeditformerrorview.js';import _0x563b00 from'./uploadcareimageeditformeditingview.js';import _0xf368a4 from'../../utils/dialogfocusmanagerview.js';function _0x4f99(){const _0x2f59a5=['ready','status','cdnUrl','target','toLowerCase','ck-uploadcare-form','div','4535976GyBmRe','setTemplate','set','querySelector','_focusableView','10cFWpRl','observe','_loadingView','_setView','once','_errorView','getFocusableElement','retry','disconnect','render','clear','_editingView','add','element','_items','ck-reset_all-excluded','17806338wfFvun','createCollection','629307fInSfO','_waitForImageEditorComponent','cancel','detail','addedNodes','4atqBEj','uploading','_addUploadcareImageEditorListeners','focus','837458jCwcCc','_addErrorViewListeners','apply','error','639668frQCNE','fire','5CvReOs','nodeName','uc-cloud-image-editor','8xDwWZn','filter','length','change:status','addMany','addEventListener','3057565jiATOE','523167VWABfq'];_0x4f99=function(){return _0x2f59a5;};return _0x4f99();}import'../../../theme/uploadcare-form.css';export default class Z extends _0xf368a4{[_0x16512f(0x148)];[_0x16512f(0x13c)];[_0x16512f(0x13f)];[_0x16512f(0x145)];[_0x16512f(0x139)];constructor(_0x3983e7,_0x2ab82f,_0x21be4f){const _0x388554=_0x16512f;super(_0x3983e7),this[_0x388554(0x148)]=this[_0x388554(0x14b)](),this[_0x388554(0x13c)]=new _0x3e9512(_0x3983e7),this[_0x388554(0x13f)]=new _0x3e4964(_0x3983e7),this[_0x388554(0x145)]=new _0x563b00(_0x3983e7,_0x21be4f),this[_0x388554(0x139)]=new _0x292f37(_0x3983e7),this[_0x388554(0x139)][_0x388554(0x136)](this[_0x388554(0x140)]()),this[_0x388554(0x137)](_0x388554(0x12f),_0x2ab82f),this[_0x388554(0x136)]({'tag':_0x388554(0x134),'attributes':{'class':['ck',_0x388554(0x149),_0x388554(0x133)],'tabindex':'-1'},'children':this[_0x388554(0x148)]}),this[_0x388554(0x13d)](),this[_0x388554(0x13e)](_0x388554(0x143),()=>{const _0x3b2b75=_0x388554;this[_0x3b2b75(0x14d)](this[_0x3b2b75(0x147)],_0x112af8=>{const _0x451899=_0x3b2b75;this[_0x451899(0x153)](_0x112af8);});}),this['on'](_0x388554(0x129),()=>{const _0x47e022=_0x388554;this[_0x47e022(0x13d)]();}),this[_0x388554(0x11e)]();}[_0x16512f(0x154)](){const _0x1f35c8=_0x16512f;this[_0x1f35c8(0x147)][_0x1f35c8(0x154)]();}[_0x16512f(0x13d)](){const _0x3d98ee=_0x16512f;switch(this[_0x3d98ee(0x148)][_0x3d98ee(0x144)](),this[_0x3d98ee(0x12f)]){case _0x3d98ee(0x152):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13c)]);break;case _0x3d98ee(0x120):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13f)]);break;case _0x3d98ee(0x12e):this[_0x3d98ee(0x148)][_0x3d98ee(0x12a)]([this[_0x3d98ee(0x145)],this[_0x3d98ee(0x139)]]);}}[_0x16512f(0x14d)](_0xf700c3,_0x4810e6){const _0xdc561f=_0x16512f,_0x1c9783=_0xdc561f(0x125),_0x461b65=_0xf700c3[_0xdc561f(0x138)](_0x1c9783);if(_0x461b65)return _0x4810e6(_0x461b65);const _0x25d322=new MutationObserver(_0x4e03a0=>{const _0x3fc760=_0xdc561f,_0x4b7318=_0x4e03a0[_0x3fc760(0x127)](_0x189652=>_0x189652[_0x3fc760(0x131)]===_0xf700c3&&_0x189652[_0x3fc760(0x150)][_0x3fc760(0x128)]>0x0&&_0x189652[_0x3fc760(0x150)][0x0][_0x3fc760(0x124)][_0x3fc760(0x132)]()===_0x1c9783);_0x4b7318[_0x3fc760(0x128)]&&(_0x25d322[_0x3fc760(0x142)](),_0x4810e6(_0x4b7318[0x0][_0x3fc760(0x150)][0x0]));});_0x25d322[_0xdc561f(0x13b)](_0xf700c3,{'childList':!0x0,'subtree':!0x0});}[_0x16512f(0x153)](_0xd8a37a){const _0x507649=_0x16512f;_0xd8a37a[_0x507649(0x12b)](_0x507649(0x11f),_0xede5ac=>{const _0x45709d=_0x507649;this[_0x45709d(0x122)](_0x45709d(0x11f),{'imageSrc':_0xede5ac[_0x45709d(0x14f)][_0x45709d(0x130)]});}),_0xd8a37a[_0x507649(0x12b)](_0x507649(0x14e),()=>{const _0x3557b6=_0x507649;this[_0x3557b6(0x122)](_0x3557b6(0x14e));});}[_0x16512f(0x11e)](){const _0x3d0aa4=_0x16512f;this[_0x3d0aa4(0x13f)]['on'](_0x3d0aa4(0x141),()=>{const _0x4f0b89=_0x3d0aa4;this[_0x4f0b89(0x122)](_0x4f0b89(0x141));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b5b58=_0x5eba;function _0x5eba(_0x32bd10,_0x496469){const _0x32b58=_0x32b5();return _0x5eba=function(_0x5eba21,_0x3aa650){_0x5eba21=_0x5eba21-0x14a;let _0x55f6f8=_0x32b58[_0x5eba21];return _0x55f6f8;},_0x5eba(_0x32bd10,_0x496469);}(function(_0x3c7a5e,_0x5cb9b0){const _0x46fef5=_0x5eba,_0x4fd5a8=_0x3c7a5e();while(!![]){try{const _0xb4795=parseInt(_0x46fef5(0x157))/0x1*(parseInt(_0x46fef5(0x154))/0x2)+-parseInt(_0x46fef5(0x162))/0x3+-parseInt(_0x46fef5(0x14d))/0x4+parseInt(_0x46fef5(0x152))/0x5+-parseInt(_0x46fef5(0x159))/0x6+-parseInt(_0x46fef5(0x15e))/0x7+parseInt(_0x46fef5(0x163))/0x8*(parseInt(_0x46fef5(0x15f))/0x9);if(_0xb4795===_0x5cb9b0)break;else _0x4fd5a8['push'](_0x4fd5a8['shift']());}catch(_0x513caa){_0x4fd5a8['push'](_0x4fd5a8['shift']());}}}(_0x32b5,0x3d1cb));import{Command as _0xa7d676}from'ckeditor5/src/core.js';import{Dialog as _0x59ab78}from'ckeditor5/src/ui.js';import _0x26e02f from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x521d2c}from'../utils/editingutils.js';export default class J extends _0xa7d676{[_0x3b5b58(0x150)];static get[_0x3b5b58(0x156)](){return[_0x59ab78];}[_0x3b5b58(0x14f)];constructor(_0xcf13ff){const _0x2e634d=_0x3b5b58;super(_0xcf13ff),this[_0x2e634d(0x150)]=void 0x0,this[_0x2e634d(0x14f)]=_0x521d2c(_0xcf13ff[_0x2e634d(0x161)][_0x2e634d(0x165)](_0x2e634d(0x158))||[]),this[_0x2e634d(0x151)]({'isActive':!0x1});}[_0x3b5b58(0x14e)](){const _0x47ac7e=_0x3b5b58,_0x536108=this[_0x47ac7e(0x153)][_0x47ac7e(0x15d)][_0x47ac7e(0x14a)][_0x47ac7e(0x166)][_0x47ac7e(0x15b)]();this[_0x47ac7e(0x160)]=this[_0x47ac7e(0x14f)](_0x536108);}[_0x3b5b58(0x15a)](){const _0x52ac23=_0x3b5b58;this[_0x52ac23(0x150)]&&(this[_0x52ac23(0x14c)](_0x52ac23(0x14b)),this[_0x52ac23(0x150)]=void 0x0);const _0x50e591=this[_0x52ac23(0x153)][_0x52ac23(0x15d)][_0x52ac23(0x14a)][_0x52ac23(0x166)][_0x52ac23(0x15b)]();_0x50e591&&(_0x50e591['is'](_0x52ac23(0x155),_0x52ac23(0x15c))||_0x50e591['is'](_0x52ac23(0x155),_0x52ac23(0x168)))&&(this[_0x52ac23(0x150)]=new _0x26e02f(this[_0x52ac23(0x153)],this[_0x52ac23(0x153)][_0x52ac23(0x164)][_0x52ac23(0x165)](_0x59ab78),_0x50e591),this[_0x52ac23(0x167)](_0x52ac23(0x14b))['to'](this[_0x52ac23(0x150)],_0x52ac23(0x14b)));}}function _0x32b5(){const _0x1874fa=['9qRPqpA','isEnabled','config','1293471uHKMks','8786672ifyiUh','plugins','get','selection','bind','imageInline','document','isActive','unbind','1979988oYCTtS','refresh','_isEditable','imageEditController','set','515895zXtbbP','editor','101012ZTvZfG','element','requires','2dYDphA','uploadcare.allowExternalImagesEditing','534510TwUaCl','execute','getSelectedElement','imageBlock','model','258797MQLCvc'];_0x32b5=function(){return _0x1874fa;};return _0x32b5();}
23
+ const _0x365e53=_0xad4f;(function(_0x286146,_0x1aa76b){const _0xb70200=_0xad4f,_0x1ee23b=_0x286146();while(!![]){try{const _0x507951=parseInt(_0xb70200(0xc3))/0x1*(-parseInt(_0xb70200(0xde))/0x2)+parseInt(_0xb70200(0xdb))/0x3+-parseInt(_0xb70200(0xdd))/0x4+parseInt(_0xb70200(0xdf))/0x5*(-parseInt(_0xb70200(0xc4))/0x6)+parseInt(_0xb70200(0xd4))/0x7+-parseInt(_0xb70200(0xd8))/0x8*(parseInt(_0xb70200(0xd0))/0x9)+parseInt(_0xb70200(0xdc))/0xa;if(_0x507951===_0x1aa76b)break;else _0x1ee23b['push'](_0x1ee23b['shift']());}catch(_0x3f9766){_0x1ee23b['push'](_0x1ee23b['shift']());}}}(_0x24b7,0x9f326));function _0xad4f(_0x54cd07,_0xbd15cb){const _0x24b7a0=_0x24b7();return _0xad4f=function(_0xad4f2,_0x53a018){_0xad4f2=_0xad4f2-0xc0;let _0x15b04d=_0x24b7a0[_0xad4f2];return _0x15b04d;},_0xad4f(_0x54cd07,_0xbd15cb);}import{Command as _0x2efdb5}from'ckeditor5/src/core.js';import{Dialog as _0x493500}from'ckeditor5/src/ui.js';import _0x1b07d6 from'./ui/uploadcareimageeditcontroller.js';function _0x24b7(){const _0x30fa97=['58436UKSyWP','getSelectedElement','element','document','8vYJnyq','execute','_isEditable','3323211VxFfbP','13415240YfQjVa','2587816ZppEYX','94ofcejg','243305nCvSTP','imageInline','imageEditController','model','16562XwwdNx','24ZBEdqn','selection','config','get','unbind','refresh','uploadcare.allowExternalImagesEditing','imageBlock','bind','requires','isActive','plugins','1669743wjRUoY','set','editor','isEnabled'];_0x24b7=function(){return _0x30fa97;};return _0x24b7();}import{createEditabilityChecker as _0x1532a8}from'../utils/editingutils.js';export default class J extends _0x2efdb5{[_0x365e53(0xc1)];static get[_0x365e53(0xcd)](){return[_0x493500];}[_0x365e53(0xda)];constructor(_0x111d2f){const _0x332361=_0x365e53;super(_0x111d2f),this[_0x332361(0xc1)]=void 0x0,this[_0x332361(0xda)]=_0x1532a8(_0x111d2f[_0x332361(0xc6)][_0x332361(0xc7)](_0x332361(0xca))||[]),this[_0x332361(0xd1)]({'isActive':!0x1});}[_0x365e53(0xc9)](){const _0x5582c4=_0x365e53,_0x464f9e=this[_0x5582c4(0xd2)][_0x5582c4(0xc2)][_0x5582c4(0xd7)][_0x5582c4(0xc5)][_0x5582c4(0xd5)]();this[_0x5582c4(0xd3)]=this[_0x5582c4(0xda)](_0x464f9e);}[_0x365e53(0xd9)](){const _0x5e5248=_0x365e53;this[_0x5e5248(0xc1)]&&(this[_0x5e5248(0xc8)](_0x5e5248(0xce)),this[_0x5e5248(0xc1)]=void 0x0);const _0x78b399=this[_0x5e5248(0xd2)][_0x5e5248(0xc2)][_0x5e5248(0xd7)][_0x5e5248(0xc5)][_0x5e5248(0xd5)]();_0x78b399&&(_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xcb))||_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xc0)))&&(this[_0x5e5248(0xc1)]=new _0x1b07d6(this[_0x5e5248(0xd2)],this[_0x5e5248(0xd2)][_0x5e5248(0xcf)][_0x5e5248(0xc7)](_0x493500),_0x78b399),this[_0x5e5248(0xcc)](_0x5e5248(0xce))['to'](this[_0x5e5248(0xc1)],_0x5e5248(0xce)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f1d(_0x18a2cf,_0x4d0206){const _0x100825=_0x1008();return _0x1f1d=function(_0x1f1de,_0x7a6732){_0x1f1de=_0x1f1de-0x1f4;let _0x178cc4=_0x100825[_0x1f1de];return _0x178cc4;},_0x1f1d(_0x18a2cf,_0x4d0206);}const _0x5cbbee=_0x1f1d;(function(_0x44b93e,_0x1e3062){const _0x3b6919=_0x1f1d,_0x5ce833=_0x44b93e();while(!![]){try{const _0x17d46e=parseInt(_0x3b6919(0x201))/0x1*(-parseInt(_0x3b6919(0x1fa))/0x2)+parseInt(_0x3b6919(0x1fb))/0x3*(parseInt(_0x3b6919(0x200))/0x4)+-parseInt(_0x3b6919(0x1f9))/0x5+parseInt(_0x3b6919(0x203))/0x6*(-parseInt(_0x3b6919(0x207))/0x7)+-parseInt(_0x3b6919(0x1fe))/0x8+-parseInt(_0x3b6919(0x205))/0x9+parseInt(_0x3b6919(0x1fd))/0xa*(parseInt(_0x3b6919(0x204))/0xb);if(_0x17d46e===_0x1e3062)break;else _0x5ce833['push'](_0x5ce833['shift']());}catch(_0x321477){_0x5ce833['push'](_0x5ce833['shift']());}}}(_0x1008,0x7a93e));import{Plugin as _0x13417f}from'ckeditor5/src/core.js';function _0x1008(){const _0xfc0654=['isPremiumPlugin','isOfficialPlugin','ImageUtils','3243735aMIbyO','30926iHEune','3saSnRs','requires','5210OaNcgZ','2661200lVXYOV','add','1517896oEuDhI','47DkwSdC','uploadcareImageEdit','11958uVivrZ','57673WANZhZ','1237698TcjoHM','pluginName','2681szWoqU','init','ImageEditing','UploadcareImageEditEditing','uploadcareImageReplace','commands'];_0x1008=function(){return _0xfc0654;};return _0x1008();}import{Notification as _0x267e06}from'ckeditor5/src/ui.js';import _0x785c3b from'./uploadcareimageeditcommand.js';import _0x514124 from'./uploadcareimagereplacecommand.js';import _0x145639 from'../uploadcareediting.js';export default class g extends _0x13417f{static get[_0x5cbbee(0x206)](){const _0x1289ed=_0x5cbbee;return _0x1289ed(0x20a);}static get[_0x5cbbee(0x1fc)](){const _0x3fc29c=_0x5cbbee;return[_0x145639,_0x267e06,_0x3fc29c(0x1f8),_0x3fc29c(0x209)];}static get[_0x5cbbee(0x1f7)](){return!0x0;}static get[_0x5cbbee(0x1f6)](){return!0x0;}[_0x5cbbee(0x208)](){const _0x46a175=_0x5cbbee,{editor:_0x399a58}=this;_0x399a58[_0x46a175(0x1f5)][_0x46a175(0x1ff)](_0x46a175(0x202),new _0x785c3b(_0x399a58)),_0x399a58[_0x46a175(0x1f5)][_0x46a175(0x1ff)](_0x46a175(0x1f4),new _0x514124(_0x399a58));}}
23
+ const _0x3e5c40=_0x2457;(function(_0x2bef34,_0x7edd47){const _0x5b5577=_0x2457,_0x57ce53=_0x2bef34();while(!![]){try{const _0x38a8b8=parseInt(_0x5b5577(0x19f))/0x1*(-parseInt(_0x5b5577(0x1a2))/0x2)+-parseInt(_0x5b5577(0x1ab))/0x3+-parseInt(_0x5b5577(0x1ad))/0x4+-parseInt(_0x5b5577(0x1a4))/0x5+parseInt(_0x5b5577(0x1a1))/0x6+parseInt(_0x5b5577(0x1a3))/0x7+parseInt(_0x5b5577(0x1a6))/0x8;if(_0x38a8b8===_0x7edd47)break;else _0x57ce53['push'](_0x57ce53['shift']());}catch(_0x5d6fba){_0x57ce53['push'](_0x57ce53['shift']());}}}(_0x321e,0x7aa85));import{Plugin as _0x31c4d1}from'ckeditor5/src/core.js';import{Notification as _0x5ee3de}from'ckeditor5/src/ui.js';import _0x5d0883 from'./uploadcareimageeditcommand.js';import _0x3d25 from'./uploadcareimagereplacecommand.js';function _0x321e(){const _0x390c18=['3704152EXMVJu','pluginName','isPremiumPlugin','commands','ImageEditing','ImageUtils','1018XppqaO','isOfficialPlugin','1847322TiecEY','1348inuWxf','6636350rLbVVf','220785Wyzlgy','add','7699816DTKqZp','uploadcareImageReplace','init','uploadcareImageEdit','UploadcareImageEditEditing','179046nWIapP','requires'];_0x321e=function(){return _0x390c18;};return _0x321e();}import _0x5b1cb3 from'../uploadcareediting.js';function _0x2457(_0x588145,_0x7b9c92){const _0x321edf=_0x321e();return _0x2457=function(_0x245750,_0x28b5fa){_0x245750=_0x245750-0x19d;let _0x409868=_0x321edf[_0x245750];return _0x409868;},_0x2457(_0x588145,_0x7b9c92);}export default class g extends _0x31c4d1{static get[_0x3e5c40(0x1ae)](){const _0x18bf3d=_0x3e5c40;return _0x18bf3d(0x1aa);}static get[_0x3e5c40(0x1ac)](){const _0x4bca32=_0x3e5c40;return[_0x5b1cb3,_0x5ee3de,_0x4bca32(0x19e),_0x4bca32(0x19d)];}static get[_0x3e5c40(0x1a0)](){return!0x0;}static get[_0x3e5c40(0x1af)](){return!0x0;}[_0x3e5c40(0x1a8)](){const _0x5c404a=_0x3e5c40,{editor:_0x3cafca}=this;_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a9),new _0x5d0883(_0x3cafca)),_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a7),new _0x3d25(_0x3cafca));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x284b25}from'ckeditor5/src/core.js';import{ButtonView as _0xbfdad1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1392c1}from'ckeditor5/src/icons.js';import{createElement as _0x5ed0e4}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 _0x284b25{['_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 _0x52871b=this['editor'];_0x52871b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x48399c=>{const _0x2d3ac4=_0x52871b['commands']['get']('uploadcareImageEdit'),_0x5dee66=new _0xbfdad1(_0x48399c),t=_0x48399c['t'];return _0x5dee66['set']({'icon':_0x1392c1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5dee66['bind']('isEnabled')['to'](_0x2d3ac4),_0x5dee66['bind']('isOn')['to'](_0x2d3ac4,'isActive'),this['listenTo'](_0x5dee66,'execute',()=>{_0x52871b['execute']('uploadcareImageEdit'),_0x52871b['editing']['view']['focus']();}),_0x5dee66;}),this['_initConfig']();}['_initConfig'](){const _0xd2bda2=_0x5ed0e4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xd2bda2),this['listenTo'](this['editor'],'destroy',()=>{_0xd2bda2['remove']();});}}
23
+ import{Plugin as _0x538139}from'ckeditor5/src/core.js';import{ButtonView as _0x56a89c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15b9c8}from'ckeditor5/src/icons.js';import{createElement as _0x489739}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 _0x538139{['_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 _0x3df390=this['editor'];_0x3df390['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d85da=>{const _0x131d8f=_0x3df390['commands']['get']('uploadcareImageEdit'),_0x5ee7a8=new _0x56a89c(_0x4d85da),t=_0x4d85da['t'];return _0x5ee7a8['set']({'icon':_0x15b9c8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5ee7a8['bind']('isEnabled')['to'](_0x131d8f),_0x5ee7a8['bind']('isOn')['to'](_0x131d8f,'isActive'),this['listenTo'](_0x5ee7a8,'execute',()=>{_0x3df390['execute']('uploadcareImageEdit'),_0x3df390['editing']['view']['focus']();}),_0x5ee7a8;}),this['_initConfig']();}['_initConfig'](){const _0x4829a3=_0x489739(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4829a3),this['listenTo'](this['editor'],'destroy',()=>{_0x4829a3['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51ec78=_0x189f;(function(_0x50a706,_0x1f746e){const _0x99fb00=_0x189f,_0x30a503=_0x50a706();while(!![]){try{const _0x197528=parseInt(_0x99fb00(0xbc))/0x1+-parseInt(_0x99fb00(0xc1))/0x2+parseInt(_0x99fb00(0xba))/0x3+parseInt(_0x99fb00(0xbf))/0x4+parseInt(_0x99fb00(0xbb))/0x5*(parseInt(_0x99fb00(0xc0))/0x6)+-parseInt(_0x99fb00(0xb9))/0x7+-parseInt(_0x99fb00(0xbd))/0x8*(parseInt(_0x99fb00(0xb0))/0x9);if(_0x197528===_0x1f746e)break;else _0x30a503['push'](_0x30a503['shift']());}catch(_0x1f3109){_0x30a503['push'](_0x30a503['shift']());}}}(_0x5eef,0x8aa3b));import{Command as _0x2f2c58}from'ckeditor5/src/core.js';function _0x189f(_0x811b30,_0x542210){const _0x5eefa1=_0x5eef();return _0x189f=function(_0x189f08,_0x1e5e5f){_0x189f08=_0x189f08-0xaa;let _0xe5e6a2=_0x5eefa1[_0x189f08];return _0xe5e6a2;},_0x189f(_0x811b30,_0x542210);}function _0x5eef(){const _0x2c40a3=['setAttributes','refresh','getSelectedElement','element','removeAttribute','selection','336427SojKFd','2269242scmzpV','25sDqoGJ','422156EAuNSO','2827304dzvZoe','imageBlock','4356456mtXTrX','1016988sgLRTS','50710oBtzOr','model','isEnabled','imageInline','editor','execute','srcset','document','63KSgDlM','change','sizes'];_0x5eef=function(){return _0x2c40a3;};return _0x5eef();}export default class O extends _0x2f2c58{[_0x51ec78(0xb4)](){const _0x26fe76=_0x51ec78,_0x393ac4=this[_0x26fe76(0xac)][_0x26fe76(0xc2)][_0x26fe76(0xaf)][_0x26fe76(0xb8)][_0x26fe76(0xb5)]();this[_0x26fe76(0xaa)]=Boolean(_0x393ac4&&(_0x393ac4['is'](_0x26fe76(0xb6),_0x26fe76(0xbe))||_0x393ac4['is'](_0x26fe76(0xb6),_0x26fe76(0xab))));}[_0x51ec78(0xad)](_0x535831){const _0x869f36=_0x51ec78,_0x4aad5d=this[_0x869f36(0xac)][_0x869f36(0xc2)][_0x869f36(0xaf)][_0x869f36(0xb8)][_0x869f36(0xb5)]();this[_0x869f36(0xac)][_0x869f36(0xc2)][_0x869f36(0xb1)](_0x109195=>{const _0x57da06=_0x869f36;_0x109195[_0x57da06(0xb3)](_0x535831,_0x4aad5d),_0x109195[_0x57da06(0xb7)](_0x57da06(0xae),_0x4aad5d),_0x109195[_0x57da06(0xb7)](_0x57da06(0xb2),_0x4aad5d);});}}
23
+ function _0x3c08(){const _0x2b70c8=['202218fsmydR','srcset','imageInline','7612404UgmouA','4RmYasl','imageBlock','element','document','99pgAAdj','80LSxpPn','editor','998772PsNiDO','removeAttribute','execute','663396hQJosk','change','15111790AKXxrw','selection','refresh','9NKjvCz','2152582QEJHCt','setAttributes','getSelectedElement','3704XOQVdb','model','26663NLkkRO','sizes','isEnabled'];_0x3c08=function(){return _0x2b70c8;};return _0x3c08();}const _0x2a16db=_0x4985;function _0x4985(_0x3f21e0,_0x4a9dcd){const _0x3c08e8=_0x3c08();return _0x4985=function(_0x498584,_0xb5018b){_0x498584=_0x498584-0xba;let _0x1608b2=_0x3c08e8[_0x498584];return _0x1608b2;},_0x4985(_0x3f21e0,_0x4a9dcd);}(function(_0x3df2c2,_0x529460){const _0x20636e=_0x4985,_0x5e6a19=_0x3df2c2();while(!![]){try{const _0x343976=-parseInt(_0x20636e(0xd5))/0x1+-parseInt(_0x20636e(0xbf))/0x2+-parseInt(_0x20636e(0xd2))/0x3*(parseInt(_0x20636e(0xcb))/0x4)+-parseInt(_0x20636e(0xd0))/0x5*(-parseInt(_0x20636e(0xc7))/0x6)+parseInt(_0x20636e(0xc4))/0x7*(-parseInt(_0x20636e(0xc2))/0x8)+-parseInt(_0x20636e(0xbe))/0x9*(parseInt(_0x20636e(0xbb))/0xa)+-parseInt(_0x20636e(0xcf))/0xb*(-parseInt(_0x20636e(0xca))/0xc);if(_0x343976===_0x529460)break;else _0x5e6a19['push'](_0x5e6a19['shift']());}catch(_0x5497ce){_0x5e6a19['push'](_0x5e6a19['shift']());}}}(_0x3c08,0xdc04a));import{Command as _0x5c716b}from'ckeditor5/src/core.js';export default class O extends _0x5c716b{[_0x2a16db(0xbd)](){const _0x558e0f=_0x2a16db,_0x3c5f9b=this[_0x558e0f(0xd1)][_0x558e0f(0xc3)][_0x558e0f(0xce)][_0x558e0f(0xbc)][_0x558e0f(0xc1)]();this[_0x558e0f(0xc6)]=Boolean(_0x3c5f9b&&(_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xcc))||_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xc9))));}[_0x2a16db(0xd4)](_0x23e4d9){const _0x465024=_0x2a16db,_0x36281b=this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xce)][_0x465024(0xbc)][_0x465024(0xc1)]();this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xba)](_0x326277=>{const _0x50e5e5=_0x465024;_0x326277[_0x50e5e5(0xc0)](_0x23e4d9,_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc8),_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc5),_0x36281b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b4a53=_0x4d55;(function(_0x2435ec,_0x3330ad){var _0x49b1c7=_0x4d55,_0x7fbe5f=_0x2435ec();while(!![]){try{var _0x25abb4=-parseInt(_0x49b1c7(0x8d))/0x1+parseInt(_0x49b1c7(0x92))/0x2+parseInt(_0x49b1c7(0x95))/0x3*(-parseInt(_0x49b1c7(0x8c))/0x4)+parseInt(_0x49b1c7(0x98))/0x5*(parseInt(_0x49b1c7(0x97))/0x6)+parseInt(_0x49b1c7(0x8f))/0x7*(-parseInt(_0x49b1c7(0x8e))/0x8)+parseInt(_0x49b1c7(0x8b))/0x9+-parseInt(_0x49b1c7(0x96))/0xa*(-parseInt(_0x49b1c7(0x99))/0xb);if(_0x25abb4===_0x3330ad)break;else _0x7fbe5f['push'](_0x7fbe5f['shift']());}catch(_0x765471){_0x7fbe5f['push'](_0x7fbe5f['shift']());}}}(_0x4e70,0xc5407));function _0x4e70(){var _0x56ad47=['17311CyRAoA','requires','isOfficialPlugin','573150ltwmNX','UploadcareImageEdit','isPremiumPlugin','17481FRgFMZ','340mvHeOa','4566oedEwc','425LECmaJ','496518tNPuoa','pluginName','11325069znnWUi','892fsohcJ','193636HYixBB','2728nNyFFA'];_0x4e70=function(){return _0x56ad47;};return _0x4e70();}import{Plugin as _0x294bbc}from'ckeditor5/src/core.js';import _0x32b5e8 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x2c9a69 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4d55(_0x70e19a,_0x17abe7){var _0x4e70b7=_0x4e70();return _0x4d55=function(_0x4d5542,_0xbfd122){_0x4d5542=_0x4d5542-0x8b;var _0x573927=_0x4e70b7[_0x4d5542];return _0x573927;},_0x4d55(_0x70e19a,_0x17abe7);}export default class P extends _0x294bbc{static get[_0x2b4a53(0x9a)](){var _0x2c328e=_0x2b4a53;return _0x2c328e(0x93);}static get[_0x2b4a53(0x90)](){return[_0x32b5e8,_0x2c9a69];}static get[_0x2b4a53(0x91)](){return!0x0;}static get[_0x2b4a53(0x94)](){return!0x0;}}
23
+ var _0x149daf=_0x3805;(function(_0x5ee56b,_0x247771){var _0x2790c4=_0x3805,_0x2ca5d3=_0x5ee56b();while(!![]){try{var _0x47ef28=parseInt(_0x2790c4(0x125))/0x1+-parseInt(_0x2790c4(0x126))/0x2*(-parseInt(_0x2790c4(0x118))/0x3)+-parseInt(_0x2790c4(0x119))/0x4+-parseInt(_0x2790c4(0x122))/0x5+-parseInt(_0x2790c4(0x121))/0x6*(-parseInt(_0x2790c4(0x117))/0x7)+-parseInt(_0x2790c4(0x11b))/0x8*(parseInt(_0x2790c4(0x120))/0x9)+parseInt(_0x2790c4(0x124))/0xa*(parseInt(_0x2790c4(0x11d))/0xb);if(_0x47ef28===_0x247771)break;else _0x2ca5d3['push'](_0x2ca5d3['shift']());}catch(_0x515111){_0x2ca5d3['push'](_0x2ca5d3['shift']());}}}(_0x4aaf,0x5cf4b));function _0x4aaf(){var _0xe08464=['24QNhssg','UploadcareImageEdit','12190453NwCOlO','isPremiumPlugin','requires','1280736egutWy','6396luYsaY','3112730FgVDGh','isOfficialPlugin','10eEecfs','655807LyhDlB','510mWIrIo','637NwAaES','2637eZDYFh','2619904mPTKzZ','pluginName'];_0x4aaf=function(){return _0xe08464;};return _0x4aaf();}import{Plugin as _0xf943c}from'ckeditor5/src/core.js';function _0x3805(_0x165ba6,_0x5682e2){var _0x4aaf3b=_0x4aaf();return _0x3805=function(_0x38053a,_0x52484d){_0x38053a=_0x38053a-0x117;var _0x4e96f8=_0x4aaf3b[_0x38053a];return _0x4e96f8;},_0x3805(_0x165ba6,_0x5682e2);}import _0x11950d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4ccb8c from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf943c{static get[_0x149daf(0x11a)](){var _0x4a34f5=_0x149daf;return _0x4a34f5(0x11c);}static get[_0x149daf(0x11f)](){return[_0x11950d,_0x4ccb8c];}static get[_0x149daf(0x123)](){return!0x0;}static get[_0x149daf(0x11e)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x397612=_0x34b2;function _0x34b2(_0x2d4bb1,_0x59840e){const _0x2f9325=_0x2f93();return _0x34b2=function(_0x34b260,_0x23e1b9){_0x34b260=_0x34b260-0x1e5;let _0x32103f=_0x2f9325[_0x34b260];return _0x32103f;},_0x34b2(_0x2d4bb1,_0x59840e);}(function(_0x34086b,_0x146dcb){const _0x3f6fe0=_0x34b2,_0x338306=_0x34086b();while(!![]){try{const _0x406dbb=parseInt(_0x3f6fe0(0x230))/0x1*(parseInt(_0x3f6fe0(0x222))/0x2)+-parseInt(_0x3f6fe0(0x20a))/0x3*(-parseInt(_0x3f6fe0(0x203))/0x4)+-parseInt(_0x3f6fe0(0x1ec))/0x5+-parseInt(_0x3f6fe0(0x202))/0x6*(-parseInt(_0x3f6fe0(0x213))/0x7)+-parseInt(_0x3f6fe0(0x20d))/0x8+-parseInt(_0x3f6fe0(0x208))/0x9*(parseInt(_0x3f6fe0(0x226))/0xa)+-parseInt(_0x3f6fe0(0x1e5))/0xb*(-parseInt(_0x3f6fe0(0x217))/0xc);if(_0x406dbb===_0x146dcb)break;else _0x338306['push'](_0x338306['shift']());}catch(_0x32524a){_0x338306['push'](_0x338306['shift']());}}}(_0x2f93,0x3b13b));import{Plugin as _0x4fc7ab}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ccd06,IconFacebook as _0x277daf,IconGoogleDrive as _0x1c4aec,IconGooglePhotos as _0xa85609,IconUploadcareImageUpload as _0x11e80e,IconUploadcareLink as _0x1c78b3,IconOneDrive as _0x38ea89}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b926d,MenuBarMenuListItemButtonView as _0x34937c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x22dd35}from'./uploadcareconfig.js';import{getTranslation as _0x4ef8dd}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 _0x4fc7ab{[_0x397612(0x22d)];[_0x397612(0x236)];static get[_0x397612(0x22b)](){const _0x3c9fa3=_0x397612;return _0x3c9fa3(0x21c);}static get[_0x397612(0x20c)](){return!0x0;}static get[_0x397612(0x218)](){return!0x0;}[_0x397612(0x1f9)](){const _0x4b7fa2=_0x397612;this[_0x4b7fa2(0x22d)]=this[_0x4b7fa2(0x1f5)][_0x4b7fa2(0x219)][_0x4b7fa2(0x20b)](_0x4b7fa2(0x22d));const _0x2f457f=this[_0x4b7fa2(0x1f5)];this[_0x4b7fa2(0x236)]=setInterval(()=>{const _0x55c3bd=_0x4b7fa2;let _0x4dbd30;for(const _0x4a0a83 in _0x2f457f){const _0x44adc2=_0x4a0a83,_0x45058d=_0x2f457f[_0x44adc2];if(_0x55c3bd(0x227)==_0x45058d||_0x55c3bd(0x1f4)==_0x45058d||_0x55c3bd(0x207)==_0x45058d||_0x55c3bd(0x22a)==_0x45058d||_0x55c3bd(0x21e)==_0x45058d||_0x55c3bd(0x220)==_0x45058d||_0x55c3bd(0x1f7)==_0x45058d||_0x55c3bd(0x21f)==_0x45058d){delete _0x2f457f[_0x44adc2],_0x4dbd30=_0x45058d,clearInterval(this[_0x55c3bd(0x236)]),this[_0x55c3bd(0x236)]=void 0x0;break;}}_0x55c3bd(0x1f4)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x1eb)),_0x55c3bd(0x207)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x1f3)),_0x55c3bd(0x22a)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x1fc)),_0x55c3bd(0x21e)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x229),_0x55c3bd(0x216)),_0x55c3bd(0x220)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x1ed)),_0x55c3bd(0x1f7)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x1f2)),_0x55c3bd(0x21f)==_0x4dbd30&&_0x2f457f[_0x55c3bd(0x1ea)](_0x55c3bd(0x20e));},0x3e8);}[_0x397612(0x1f8)](){const _0x57619b=_0x397612,{editor:_0x2498a6}=this,_0x413b93=_0x2498a6[_0x57619b(0x214)][_0x57619b(0x20b)](_0x57619b(0x212));if(!_0x413b93)return;const _0x3a32e4=this[_0x57619b(0x1f1)](_0x2498a6[_0x57619b(0x219)][_0x57619b(0x20b)](_0x57619b(0x1e9)))[_0x57619b(0x1ee)]((_0x2a9ace,_0x3c4bdf)=>{const _0x20ac50=_0x57619b,_0x58708d=this[_0x20ac50(0x21a)](_0x3c4bdf[_0x20ac50(0x211)]);return _0x2a9ace[_0x58708d]||(_0x2a9ace[_0x58708d]=[]),_0x2a9ace[_0x58708d][_0x20ac50(0x233)](_0x3c4bdf),_0x2a9ace;},{});_0x2498a6[_0x57619b(0x21d)][_0x57619b(0x1e8)](_0x57619b(0x209))&&_0x2498a6[_0x57619b(0x214)][_0x57619b(0x20b)](_0x57619b(0x212))&&Object[_0x57619b(0x1fd)](_0x3a32e4)[_0x57619b(0x200)](([_0x51302d,_0x27bc59])=>{const _0x4b7ee7=_0x57619b;_0x2498a6[_0x4b7ee7(0x21d)][_0x4b7ee7(0x20b)](_0x4b7ee7(0x209))[_0x4b7ee7(0x210)]({'name':_0x51302d,'observable':()=>_0x413b93,'buttonViewCreator':()=>this[_0x4b7ee7(0x225)](_0x27bc59),'formViewCreator':()=>this[_0x4b7ee7(0x221)](_0x27bc59),'menuBarButtonViewCreator':()=>this[_0x4b7ee7(0x1fb)](_0x27bc59),'override':_0x4b7ee7(0x1fa)!==_0x51302d});});}[_0x397612(0x223)](){const _0x4e43f5=_0x397612;super[_0x4e43f5(0x223)](),this[_0x4e43f5(0x236)]&&clearInterval(this[_0x4e43f5(0x236)]);}[_0x397612(0x1f1)](_0x325514){const _0x1db3f5=_0x397612,{locale:_0x4eb231}=this[_0x1db3f5(0x1f5)];return _0x325514[_0x1db3f5(0x1e6)](_0x1bed80=>{const _0xa34eca=_0x1db3f5,_0x3efa95=_0x4ef8dd(_0x4eb231,_0x1bed80,_0xa34eca(0x232));switch(_0x1bed80){case _0x22dd35[_0xa34eca(0x206)]:return{'icon':_0x11e80e,'type':_0x22dd35[_0xa34eca(0x206)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x234)]:return{'icon':_0x1c78b3,'type':_0x22dd35[_0xa34eca(0x234)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x205)]:return{'icon':_0x2ccd06,'type':_0x22dd35[_0xa34eca(0x205)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x22c)]:return{'icon':_0x277daf,'type':_0x22dd35[_0xa34eca(0x22c)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x22e)]:return{'icon':_0x1c4aec,'type':_0x22dd35[_0xa34eca(0x22e)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x237)]:return{'icon':_0xa85609,'type':_0x22dd35[_0xa34eca(0x237)],..._0x3efa95};case _0x22dd35[_0xa34eca(0x1ff)]:return{'icon':_0x38ea89,'type':_0x22dd35[_0xa34eca(0x1ff)],..._0x3efa95};}});}[_0x397612(0x21a)](_0x5e475f){const _0x1c7ec2=_0x397612;switch(_0x5e475f){case _0x22dd35[_0x1c7ec2(0x206)]:return _0x1c7ec2(0x231);case _0x22dd35[_0x1c7ec2(0x234)]:return _0x1c7ec2(0x20f);default:return _0x1c7ec2(0x1fa);}}[_0x397612(0x1ef)](_0x2dcb59,_0x538240){const _0x102fb0=_0x397612,_0x5e17e2=this[_0x102fb0(0x1f5)],_0x73b418=new _0x2dcb59(_0x5e17e2[_0x102fb0(0x215)]),_0x2df382=_0x5e17e2[_0x102fb0(0x214)][_0x102fb0(0x20b)](_0x102fb0(0x212));return _0x73b418[_0x102fb0(0x22f)](_0x102fb0(0x1f6))['to'](_0x2df382),_0x73b418['on'](_0x102fb0(0x235),()=>{const _0x3ec411=_0x102fb0;_0x2df382[_0x3ec411(0x235)](_0x538240);}),_0x73b418;}[_0x397612(0x225)](_0x15864a){const _0x3ed98d=_0x397612,{locale:_0x596525}=this[_0x3ed98d(0x1f5)],_0x4182cb=this[_0x3ed98d(0x1f5)][_0x3ed98d(0x21d)][_0x3ed98d(0x20b)](_0x3ed98d(0x209)),_0x239b79=_0x15864a[0x0],_0x52686f=this[_0x3ed98d(0x1ef)](_0x4b926d,_0x239b79[_0x3ed98d(0x211)]);return _0x52686f[_0x3ed98d(0x228)]=_0x239b79[_0x3ed98d(0x228)],_0x52686f[_0x3ed98d(0x22f)](_0x3ed98d(0x1e7))['to'](_0x4182cb,_0x3ed98d(0x1f0),_0x491012=>_0x4ef8dd(_0x596525,_0x239b79[_0x3ed98d(0x211)],_0x491012?_0x3ed98d(0x1fe):_0x3ed98d(0x232))[_0x3ed98d(0x21b)]),_0x52686f[_0x3ed98d(0x201)]=!0x0,_0x52686f;}[_0x397612(0x221)](_0x3b13c6){const _0x2656d3=_0x397612,{locale:_0x21d7ef}=this[_0x2656d3(0x1f5)],_0x50084c=this[_0x2656d3(0x1f5)][_0x2656d3(0x21d)][_0x2656d3(0x20b)](_0x2656d3(0x209));return _0x3b13c6[_0x2656d3(0x1e6)](_0x110e2a=>{const _0x1ef4e0=_0x2656d3,_0x30e979=this[_0x1ef4e0(0x1ef)](_0x4b926d,_0x110e2a[_0x1ef4e0(0x211)]);return _0x30e979[_0x1ef4e0(0x204)]=!0x0,_0x30e979[_0x1ef4e0(0x228)]=_0x110e2a[_0x1ef4e0(0x228)],_0x30e979[_0x1ef4e0(0x22f)](_0x1ef4e0(0x1e7))['to'](_0x50084c,_0x1ef4e0(0x1f0),_0x490e84=>_0x4ef8dd(_0x21d7ef,_0x110e2a[_0x1ef4e0(0x211)],_0x490e84?_0x1ef4e0(0x1fe):_0x1ef4e0(0x232))[_0x1ef4e0(0x21b)]),_0x30e979;});}[_0x397612(0x1fb)](_0x588102){const _0x356265=_0x397612;return _0x588102[_0x356265(0x1e6)](_0x5247cc=>{const _0x273517=_0x356265,_0x2227ae=this[_0x273517(0x1ef)](_0x34937c,_0x5247cc[_0x273517(0x211)]);return _0x2227ae[_0x273517(0x228)]=_0x5247cc[_0x273517(0x228)],_0x2227ae[_0x273517(0x1e7)]=_0x5247cc[_0x273517(0x224)],_0x2227ae;});}}function _0x2f93(){const _0x115057=['uploadcareLicenseKeyTrialLimit','afterInit','init','assetManager','_createMenuBarButtons','domainLimit','entries','Replace','OneDrive','forEach','tooltip','6kfXyfa','1124cDFliE','withText','Dropbox','Local','uploadcareLicenseKeyExpired','45wulJjt','ImageInsertUI','4263UBNRht','get','isOfficialPlugin','3595104OHfNjm','usageLimit','url','registerIntegration','type','uploadcare','1758764SAgGvN','commands','locale','Uploadcare','599268iGvYeG','isPremiumPlugin','config','_getIntegrationKey','text','UploadcareUI','plugins','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyEvaluationLimit','_createDropdownButtons','41466sjPqMc','destroy','shortText','_createToolbarButton','966050MrQvgZ','uploadcareLicenseKeyValid','icon','featureNotAllowed','uploadcareLicenseKeyDomainLimit','pluginName','Facebook','licenseKey','GDrive','bind','2vkHiCL','upload','Insert','push','URL','execute','_licenseKeyCheckInterval','GPhotos','143SeESjn','map','label','has','uploadcare.uploader.sourceList','_showLicenseError','invalid','834170cUYOpy','evaluationLimit','reduce','_createButton','isImageSelected','_normalizeConfigSourceList','trialLimit','expired','uploadcareLicenseKeyInvalid','editor','isEnabled'];_0x2f93=function(){return _0x115057;};return _0x2f93();}
23
+ const _0x2de96a=_0x4871;(function(_0x59506e,_0x1a508c){const _0x1c0fd7=_0x4871,_0x14de28=_0x59506e();while(!![]){try{const _0x5052de=-parseInt(_0x1c0fd7(0x1bd))/0x1*(parseInt(_0x1c0fd7(0x186))/0x2)+parseInt(_0x1c0fd7(0x1b1))/0x3*(parseInt(_0x1c0fd7(0x185))/0x4)+-parseInt(_0x1c0fd7(0x18b))/0x5*(-parseInt(_0x1c0fd7(0x1a0))/0x6)+-parseInt(_0x1c0fd7(0x19f))/0x7*(parseInt(_0x1c0fd7(0x1b4))/0x8)+-parseInt(_0x1c0fd7(0x189))/0x9+parseInt(_0x1c0fd7(0x19b))/0xa*(-parseInt(_0x1c0fd7(0x196))/0xb)+parseInt(_0x1c0fd7(0x187))/0xc;if(_0x5052de===_0x1a508c)break;else _0x14de28['push'](_0x14de28['shift']());}catch(_0x3ce198){_0x14de28['push'](_0x14de28['shift']());}}}(_0x3899,0x7b5b3));function _0x3899(){const _0x3d144c=['GDrive','withText','uploadcare','_createMenuBarButtons','4055OmvdrE','push','uploadcareLicenseKeyNotAllowed','plugins','uploadcareLicenseKeyValid','entries','init','URL','destroy','evaluationLimit','Replace','expired','isPremiumPlugin','get','isImageSelected','uploadcareLicenseKeyExpired','Dropbox','registerIntegration','locale','_createToolbarButton','forEach','afterInit','_createButton','usageLimit','_getIntegrationKey','upload','uploadcareLicenseKeyEvaluationLimit','580wPregZ','394NoUeUD','28066200eAWbfd','OneDrive','6300279XHisMG','shortText','10mjRFRg','Insert','uploadcareLicenseKeyUsageLimit','bind','isOfficialPlugin','config','uploadcareLicenseKeyDomainLimit','reduce','map','assetManager','icon','22PBpzuR','text','execute','type','trialLimit','2431400FhAMVh','invalid','Local','_licenseKeyCheckInterval','10241vIQnwn','94302BqfLex','uploadcareLicenseKeyInvalid','commands','has','_normalizeConfigSourceList','_showLicenseError','featureNotAllowed','Facebook','url','ImageInsertUI','domainLimit','UploadcareUI','GPhotos','uploadcare.uploader.sourceList','licenseKey','editor','pluginName','7389EutSou','_createDropdownButtons','Uploadcare','1296XCPeIe','isEnabled','label','uploadcareLicenseKeyTrialLimit','tooltip'];_0x3899=function(){return _0x3d144c;};return _0x3899();}import{Plugin as _0x5c7986}from'ckeditor5/src/core.js';import{IconDropbox as _0x368670,IconFacebook as _0x2c6da4,IconGoogleDrive as _0x43a60c,IconGooglePhotos as _0x51209c,IconUploadcareImageUpload as _0x111fbb,IconUploadcareLink as _0x35f575,IconOneDrive as _0x2b889a}from'ckeditor5/src/icons.js';import{ButtonView as _0xee46f2,MenuBarMenuListItemButtonView as _0x1aa52f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd77947}from'./uploadcareconfig.js';function _0x4871(_0x563f38,_0xe41e3){const _0x389972=_0x3899();return _0x4871=function(_0x4871c9,_0x19bcda){_0x4871c9=_0x4871c9-0x17b;let _0x24bacd=_0x389972[_0x4871c9];return _0x24bacd;},_0x4871(_0x563f38,_0xe41e3);}import{getTranslation as _0x27bdd9}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 _0x5c7986{[_0x2de96a(0x1ae)];[_0x2de96a(0x19e)];static get[_0x2de96a(0x1b0)](){const _0x4035aa=_0x2de96a;return _0x4035aa(0x1ab);}static get[_0x2de96a(0x18f)](){return!0x0;}static get[_0x2de96a(0x1c9)](){return!0x0;}[_0x2de96a(0x1c3)](){const _0x7fe462=_0x2de96a;this[_0x7fe462(0x1ae)]=this[_0x7fe462(0x1af)][_0x7fe462(0x190)][_0x7fe462(0x1ca)](_0x7fe462(0x1ae));const _0x367c1a=this[_0x7fe462(0x1af)];this[_0x7fe462(0x19e)]=setInterval(()=>{const _0x333dd0=_0x7fe462;let _0x38f58f;for(const _0x5c1a34 in _0x367c1a){const _0x406683=_0x5c1a34,_0xfd6221=_0x367c1a[_0x406683];if(_0x333dd0(0x1c1)==_0xfd6221||_0x333dd0(0x1a1)==_0xfd6221||_0x333dd0(0x1cc)==_0xfd6221||_0x333dd0(0x191)==_0xfd6221||_0x333dd0(0x1bf)==_0xfd6221||_0x333dd0(0x184)==_0xfd6221||_0x333dd0(0x1b7)==_0xfd6221||_0x333dd0(0x18d)==_0xfd6221){delete _0x367c1a[_0x406683],_0x38f58f=_0xfd6221,clearInterval(this[_0x333dd0(0x19e)]),this[_0x333dd0(0x19e)]=void 0x0;break;}}_0x333dd0(0x1a1)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19c)),_0x333dd0(0x1cc)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c8)),_0x333dd0(0x191)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1aa)),_0x333dd0(0x1bf)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1a6),_0x333dd0(0x1b3)),_0x333dd0(0x184)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c6)),_0x333dd0(0x1b7)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19a)),_0x333dd0(0x18d)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x181));},0x3e8);}[_0x2de96a(0x17f)](){const _0x97d7ff=_0x2de96a,{editor:_0x270e31}=this,_0x5b9679=_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb));if(!_0x5b9679)return;const _0x3d9dda=this[_0x97d7ff(0x1a4)](_0x270e31[_0x97d7ff(0x190)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1ad)))[_0x97d7ff(0x192)]((_0x4812c0,_0x57c105)=>{const _0x1ee136=_0x97d7ff,_0x5d9775=this[_0x1ee136(0x182)](_0x57c105[_0x1ee136(0x199)]);return _0x4812c0[_0x5d9775]||(_0x4812c0[_0x5d9775]=[]),_0x4812c0[_0x5d9775][_0x1ee136(0x1be)](_0x57c105),_0x4812c0;},{});_0x270e31[_0x97d7ff(0x1c0)][_0x97d7ff(0x1a3)](_0x97d7ff(0x1a9))&&_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb))&&Object[_0x97d7ff(0x1c2)](_0x3d9dda)[_0x97d7ff(0x17e)](([_0x1c7e3b,_0x48784b])=>{const _0x2f4c45=_0x97d7ff;_0x270e31[_0x2f4c45(0x1c0)][_0x2f4c45(0x1ca)](_0x2f4c45(0x1a9))[_0x2f4c45(0x17b)]({'name':_0x1c7e3b,'observable':()=>_0x5b9679,'buttonViewCreator':()=>this[_0x2f4c45(0x17d)](_0x48784b),'formViewCreator':()=>this[_0x2f4c45(0x1b2)](_0x48784b),'menuBarButtonViewCreator':()=>this[_0x2f4c45(0x1bc)](_0x48784b),'override':_0x2f4c45(0x194)!==_0x1c7e3b});});}[_0x2de96a(0x1c5)](){const _0x1ad355=_0x2de96a;super[_0x1ad355(0x1c5)](),this[_0x1ad355(0x19e)]&&clearInterval(this[_0x1ad355(0x19e)]);}[_0x2de96a(0x1a4)](_0x3849a3){const _0x402b46=_0x2de96a,{locale:_0x187d99}=this[_0x402b46(0x1af)];return _0x3849a3[_0x402b46(0x193)](_0x40578b=>{const _0x1e4401=_0x402b46,_0x29e126=_0x27bdd9(_0x187d99,_0x40578b,_0x1e4401(0x18c));switch(_0x40578b){case _0xd77947[_0x1e4401(0x19d)]:return{'icon':_0x111fbb,'type':_0xd77947[_0x1e4401(0x19d)],..._0x29e126};case _0xd77947[_0x1e4401(0x1c4)]:return{'icon':_0x35f575,'type':_0xd77947[_0x1e4401(0x1c4)],..._0x29e126};case _0xd77947[_0x1e4401(0x1cd)]:return{'icon':_0x368670,'type':_0xd77947[_0x1e4401(0x1cd)],..._0x29e126};case _0xd77947[_0x1e4401(0x1a7)]:return{'icon':_0x2c6da4,'type':_0xd77947[_0x1e4401(0x1a7)],..._0x29e126};case _0xd77947[_0x1e4401(0x1b9)]:return{'icon':_0x43a60c,'type':_0xd77947[_0x1e4401(0x1b9)],..._0x29e126};case _0xd77947[_0x1e4401(0x1ac)]:return{'icon':_0x51209c,'type':_0xd77947[_0x1e4401(0x1ac)],..._0x29e126};case _0xd77947[_0x1e4401(0x188)]:return{'icon':_0x2b889a,'type':_0xd77947[_0x1e4401(0x188)],..._0x29e126};}});}[_0x2de96a(0x182)](_0x1d8644){const _0x1583e5=_0x2de96a;switch(_0x1d8644){case _0xd77947[_0x1583e5(0x19d)]:return _0x1583e5(0x183);case _0xd77947[_0x1583e5(0x1c4)]:return _0x1583e5(0x1a8);default:return _0x1583e5(0x194);}}[_0x2de96a(0x180)](_0x4de52a,_0xb8a650){const _0x5d691a=_0x2de96a,_0x49adaf=this[_0x5d691a(0x1af)],_0x50bcda=new _0x4de52a(_0x49adaf[_0x5d691a(0x17c)]),_0xebafd4=_0x49adaf[_0x5d691a(0x1a2)][_0x5d691a(0x1ca)](_0x5d691a(0x1bb));return _0x50bcda[_0x5d691a(0x18e)](_0x5d691a(0x1b5))['to'](_0xebafd4),_0x50bcda['on'](_0x5d691a(0x198),()=>{const _0x43374f=_0x5d691a;_0xebafd4[_0x43374f(0x198)](_0xb8a650);}),_0x50bcda;}[_0x2de96a(0x17d)](_0x512907){const _0x4fb7b1=_0x2de96a,{locale:_0xb337c}=this[_0x4fb7b1(0x1af)],_0x20717b=this[_0x4fb7b1(0x1af)][_0x4fb7b1(0x1c0)][_0x4fb7b1(0x1ca)](_0x4fb7b1(0x1a9)),_0x435d8c=_0x512907[0x0],_0x7266e=this[_0x4fb7b1(0x180)](_0xee46f2,_0x435d8c[_0x4fb7b1(0x199)]);return _0x7266e[_0x4fb7b1(0x195)]=_0x435d8c[_0x4fb7b1(0x195)],_0x7266e[_0x4fb7b1(0x18e)](_0x4fb7b1(0x1b6))['to'](_0x20717b,_0x4fb7b1(0x1cb),_0x13976f=>_0x27bdd9(_0xb337c,_0x435d8c[_0x4fb7b1(0x199)],_0x13976f?_0x4fb7b1(0x1c7):_0x4fb7b1(0x18c))[_0x4fb7b1(0x197)]),_0x7266e[_0x4fb7b1(0x1b8)]=!0x0,_0x7266e;}[_0x2de96a(0x1b2)](_0x26ff65){const _0x408475=_0x2de96a,{locale:_0x55f5ec}=this[_0x408475(0x1af)],_0x319351=this[_0x408475(0x1af)][_0x408475(0x1c0)][_0x408475(0x1ca)](_0x408475(0x1a9));return _0x26ff65[_0x408475(0x193)](_0x3b6e6a=>{const _0x353006=_0x408475,_0x1c57f3=this[_0x353006(0x180)](_0xee46f2,_0x3b6e6a[_0x353006(0x199)]);return _0x1c57f3[_0x353006(0x1ba)]=!0x0,_0x1c57f3[_0x353006(0x195)]=_0x3b6e6a[_0x353006(0x195)],_0x1c57f3[_0x353006(0x18e)](_0x353006(0x1b6))['to'](_0x319351,_0x353006(0x1cb),_0x28eee0=>_0x27bdd9(_0x55f5ec,_0x3b6e6a[_0x353006(0x199)],_0x28eee0?_0x353006(0x1c7):_0x353006(0x18c))[_0x353006(0x197)]),_0x1c57f3;});}[_0x2de96a(0x1bc)](_0x5593bb){const _0x5dc027=_0x2de96a;return _0x5593bb[_0x5dc027(0x193)](_0x7e3a44=>{const _0x4b0fc2=_0x5dc027,_0xc20333=this[_0x4b0fc2(0x180)](_0x1aa52f,_0x7e3a44[_0x4b0fc2(0x199)]);return _0xc20333[_0x4b0fc2(0x195)]=_0x7e3a44[_0x4b0fc2(0x195)],_0xc20333[_0x4b0fc2(0x1b6)]=_0x7e3a44[_0x4b0fc2(0x18a)],_0xc20333;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf36464}from'ckeditor5/src/core.js';import{FileRepository as _0x1bd90b}from'ckeditor5/src/upload.js';import _0x34ff50 from'./uploadcareediting.js';import _0x3e3410 from'./utils/uploadutils.js';import{getImageUrls as _0x57f641}from'./utils/editingutils.js';export default class p extends _0xf36464{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1bd90b,_0x34ff50];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x58a358=this['editor'];if(!!!_0x58a358['config']['get']('uploadcare'))return;_0x58a358['plugins']['get'](_0x1bd90b)['createUploadAdapter']=_0x32af42=>new x(_0x32af42,_0x58a358),_0x58a358['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5e0e31,{imageElement:_0x1814e5,data:_0x132d9a})=>{_0x58a358['model']['change'](_0x393b2f=>{_0x393b2f['setAttribute']('uploadcareImageId',_0x132d9a['uploadcareImageId'],_0x1814e5);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x39979e,_0x4d02dd){this['loader']=_0x39979e,this['editor']=_0x4d02dd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xfc2c9f=this['editor']['config']['get']('uploadcare.pubkey'),_0x58577e=await this['loader']['file'];return _0x3e3410['upload']({'file':_0x58577e,'publicKey':_0xfc2c9f,'signal':this['controller']['signal'],'onProgress':_0x1e93f3=>{_0x1e93f3&&_0x1e93f3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e93f3['value']);}})['then'](async _0x2e535e=>{const {imageFallbackUrl:_0x40e595,imageSources:_0x449999}=_0x57f641(_0x2e535e['cdnUrl'],_0x2e535e['imageInfo']['width']);return{'uploadcareImageId':_0x2e535e['uuid'],'default':_0x40e595,'sources':_0x449999};})['catch'](()=>{const _0x3b9e7e=t('Cannot\x20upload\x20file:')+('\x20'+_0x58577e['name']+'.');return Promise['reject'](_0x3b9e7e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x167f87}from'ckeditor5/src/core.js';import{FileRepository as _0xe4d2e0}from'ckeditor5/src/upload.js';import _0x5d0a11 from'./uploadcareediting.js';import _0x4a5c3a from'./utils/uploadutils.js';import{getImageUrls as _0x143896}from'./utils/editingutils.js';export default class p extends _0x167f87{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe4d2e0,_0x5d0a11];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e90fb=this['editor'];if(!!!_0x3e90fb['config']['get']('uploadcare'))return;_0x3e90fb['plugins']['get'](_0xe4d2e0)['createUploadAdapter']=_0x5aad28=>new x(_0x5aad28,_0x3e90fb),_0x3e90fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1b7328,{imageElement:_0x2de262,data:_0x5285df})=>{_0x3e90fb['model']['change'](_0x42804f=>{_0x42804f['setAttribute']('uploadcareImageId',_0x5285df['uploadcareImageId'],_0x2de262);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4b4fce,_0x5cd460){this['loader']=_0x4b4fce,this['editor']=_0x5cd460,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x829cc5=this['editor']['config']['get']('uploadcare.pubkey'),_0x54be46=await this['loader']['file'];return _0x4a5c3a['upload']({'file':_0x54be46,'publicKey':_0x829cc5,'signal':this['controller']['signal'],'onProgress':_0x13d1a1=>{_0x13d1a1&&_0x13d1a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13d1a1['value']);}})['then'](async _0x5a3aca=>{const {imageFallbackUrl:_0x26a47e,imageSources:_0x3db913}=_0x143896(_0x5a3aca['cdnUrl'],_0x5a3aca['imageInfo']['width']);return{'uploadcareImageId':_0x5a3aca['uuid'],'default':_0x26a47e,'sources':_0x3db913};})['catch'](()=>{const _0x160a40=t('Cannot\x20upload\x20file:')+('\x20'+_0x54be46['name']+'.');return Promise['reject'](_0x160a40);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5a3bb6}from'../uploadcareconfig.js';export function getTranslation(_0x2a0b97,_0x129b34,_0x4eda63){const t=_0x2a0b97['t'],_0x4e8b12=_0x2a0b97['t'];switch(_0x129b34){case _0x5a3bb6['Local']:return{'text':_0x4e8b12('Insert'===_0x4eda63?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4e8b12('From\x20computer')};case _0x5a3bb6['URL']:return{'text':'Insert'===_0x4eda63?_0x4e8b12('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4e8b12('Via\x20URL')};case _0x5a3bb6['Dropbox']:return{'text':t('Insert'===_0x4eda63?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5a3bb6['Facebook']:return{'text':t('Insert'===_0x4eda63?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5a3bb6['GDrive']:return{'text':t('Insert'===_0x4eda63?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5a3bb6['GPhotos']:return{'text':t('Insert'===_0x4eda63?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5a3bb6['OneDrive']:return{'text':t('Insert'===_0x4eda63?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x129b34;}}
23
+ import{UploadcareSource as _0x3a925a}from'../uploadcareconfig.js';export function getTranslation(_0x6175db,_0x31387f,_0x2a72a7){const t=_0x6175db['t'],_0x133a90=_0x6175db['t'];switch(_0x31387f){case _0x3a925a['Local']:return{'text':_0x133a90('Insert'===_0x2a72a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x133a90('From\x20computer')};case _0x3a925a['URL']:return{'text':'Insert'===_0x2a72a7?_0x133a90('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x133a90('Via\x20URL')};case _0x3a925a['Dropbox']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a925a['Facebook']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a925a['GDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a925a['GPhotos']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a925a['OneDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31387f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c55(){var _0x592246=['getFocusableElement','focusCycler','forwardCycle','400558cEgLlp','focusTracker','88giZAFf','89320KLbfIt','div','42nuIcXU','51gWYuBW','3475850egLubi','227142RgWseT','567162CmQUex','56254QLUYMu','fire','170SuAlPi','createCollection','bindTemplate','172984SYFDjN','true'];_0x2c55=function(){return _0x592246;};return _0x2c55();}var _0x50b8fd=_0x5300;(function(_0x4b8ba6,_0x4d5ca6){var _0x21a30e=_0x5300,_0x25272f=_0x4b8ba6();while(!![]){try{var _0x1c7bbc=parseInt(_0x21a30e(0x1c2))/0x1+parseInt(_0x21a30e(0x1cc))/0x2+parseInt(_0x21a30e(0x1c8))/0x3*(-parseInt(_0x21a30e(0x1bd))/0x4)+parseInt(_0x21a30e(0x1c9))/0x5+parseInt(_0x21a30e(0x1cb))/0x6*(parseInt(_0x21a30e(0x1c7))/0x7)+-parseInt(_0x21a30e(0x1c4))/0x8*(parseInt(_0x21a30e(0x1ca))/0x9)+parseInt(_0x21a30e(0x1ce))/0xa*(-parseInt(_0x21a30e(0x1c5))/0xb);if(_0x1c7bbc===_0x4d5ca6)break;else _0x25272f['push'](_0x25272f['shift']());}catch(_0x506747){_0x25272f['push'](_0x25272f['shift']());}}}(_0x2c55,0x83e11));import{FocusTracker as _0x1bbb43}from'ckeditor5/src/utils.js';import{View as _0x3ca49f,FocusCycler as _0x1ec81d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5300(_0x1b60c1,_0x332bc5){var _0x2c5505=_0x2c55();return _0x5300=function(_0x530062,_0x3186bd){_0x530062=_0x530062-0x1bb;var _0x9c5ceb=_0x2c5505[_0x530062];return _0x9c5ceb;},_0x5300(_0x1b60c1,_0x332bc5);}export default class q extends _0x3ca49f{[_0x50b8fd(0x1c3)];[_0x50b8fd(0x1c0)];constructor(_0x2d795d){var _0x5260ed=_0x50b8fd;super(_0x2d795d),this[_0x5260ed(0x1c3)]=new _0x1bbb43(),this[_0x5260ed(0x1c0)]=new _0x1ec81d({'focusables':this[_0x5260ed(0x1bb)](),'focusTracker':this[_0x5260ed(0x1c3)]});}[_0x50b8fd(0x1bf)](){var _0x49fe60=_0x50b8fd;return{'tag':_0x49fe60(0x1c6),'attributes':{'aria-hidden':_0x49fe60(0x1be),'tabindex':'0'},'on':{'focus':this[_0x49fe60(0x1bc)]['to'](()=>{var _0x358cc9=_0x49fe60;this[_0x358cc9(0x1c0)][_0x358cc9(0x1cd)](_0x358cc9(0x1c1));})}};}}
23
+ var _0x3b565c=_0x52d2;(function(_0x3cac99,_0x1845bd){var _0x57d81f=_0x52d2,_0x4b1dec=_0x3cac99();while(!![]){try{var _0x56c947=-parseInt(_0x57d81f(0xe0))/0x1*(-parseInt(_0x57d81f(0xdc))/0x2)+-parseInt(_0x57d81f(0xd8))/0x3+parseInt(_0x57d81f(0xdf))/0x4*(-parseInt(_0x57d81f(0xda))/0x5)+-parseInt(_0x57d81f(0xd9))/0x6+-parseInt(_0x57d81f(0xd1))/0x7*(parseInt(_0x57d81f(0xde))/0x8)+parseInt(_0x57d81f(0xdb))/0x9+parseInt(_0x57d81f(0xd7))/0xa;if(_0x56c947===_0x1845bd)break;else _0x4b1dec['push'](_0x4b1dec['shift']());}catch(_0x1152da){_0x4b1dec['push'](_0x4b1dec['shift']());}}}(_0x10a4,0x43f2b));import{FocusTracker as _0x22a91d}from'ckeditor5/src/utils.js';import{View as _0x5d378f,FocusCycler as _0x33973b}from'ckeditor5/src/ui.js';function _0x52d2(_0x57aeb3,_0x1c61d9){var _0x10a4dd=_0x10a4();return _0x52d2=function(_0x52d2bf,_0x58c929){_0x52d2bf=_0x52d2bf-0xce;var _0xf41dce=_0x10a4dd[_0x52d2bf];return _0xf41dce;},_0x52d2(_0x57aeb3,_0x1c61d9);}import'../../theme/uploadcare-form.css';export default class q extends _0x5d378f{[_0x3b565c(0xd6)];[_0x3b565c(0xce)];constructor(_0x1aa1e9){var _0x5bc904=_0x3b565c;super(_0x1aa1e9),this[_0x5bc904(0xd6)]=new _0x22a91d(),this[_0x5bc904(0xce)]=new _0x33973b({'focusables':this[_0x5bc904(0xd0)](),'focusTracker':this[_0x5bc904(0xd6)]});}[_0x3b565c(0xd4)](){var _0x397523=_0x3b565c;return{'tag':_0x397523(0xd3),'attributes':{'aria-hidden':_0x397523(0xcf),'tabindex':'0'},'on':{'focus':this[_0x397523(0xd5)]['to'](()=>{var _0x15b1f3=_0x397523;this[_0x15b1f3(0xce)][_0x15b1f3(0xdd)](_0x15b1f3(0xd2));})}};}}function _0x10a4(){var _0x3ce604=['190200ebCbUT','284KsOzrw','1hQmEQV','focusCycler','true','createCollection','140WTDyUB','forwardCycle','div','getFocusableElement','bindTemplate','focusTracker','11590590gQrHsI','365976zHwaWj','3066534CfuUdA','27655jVsfmD','2901510nThTaw','596296GHqliT','fire'];_0x10a4=function(){return _0x3ce604;};return _0x10a4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5487ea,_0xd6eed9){const _0x7b847d=_0x41ad,_0x50ed56=_0x5487ea();while(!![]){try{const _0x4faa2d=-parseInt(_0x7b847d(0x1f3))/0x1*(-parseInt(_0x7b847d(0x200))/0x2)+-parseInt(_0x7b847d(0x1ed))/0x3*(parseInt(_0x7b847d(0x203))/0x4)+-parseInt(_0x7b847d(0x1e0))/0x5*(-parseInt(_0x7b847d(0x1d4))/0x6)+parseInt(_0x7b847d(0x205))/0x7*(-parseInt(_0x7b847d(0x207))/0x8)+parseInt(_0x7b847d(0x1d5))/0x9*(-parseInt(_0x7b847d(0x201))/0xa)+-parseInt(_0x7b847d(0x1f9))/0xb*(-parseInt(_0x7b847d(0x1ef))/0xc)+-parseInt(_0x7b847d(0x1d7))/0xd*(parseInt(_0x7b847d(0x20e))/0xe);if(_0x4faa2d===_0xd6eed9)break;else _0x50ed56['push'](_0x50ed56['shift']());}catch(_0x1adde4){_0x50ed56['push'](_0x50ed56['shift']());}}}(_0x4400,0x9efe6));import{global as _0x2e09aa,DomEmitterMixin as _0x3d29a5}from'ckeditor5/src/utils.js';function _0x41ad(_0x5bab4f,_0x7c6e9c){const _0x44006d=_0x4400();return _0x41ad=function(_0x41ad22,_0x3d7aa0){_0x41ad22=_0x41ad22-0x1d4;let _0x35598c=_0x44006d[_0x41ad22];return _0x35598c;},_0x41ad(_0x5bab4f,_0x7c6e9c);}export function createEditabilityChecker(_0xb129a1){const _0x20b2fe=_0x41ad,_0x169e39=V(_0xb129a1);return _0x48e894=>!(!_0x48e894||!_0x48e894['is'](_0x20b2fe(0x1d9),_0x20b2fe(0x1fb))&&!_0x48e894['is'](_0x20b2fe(0x1d9),_0x20b2fe(0x211)))&&(!!_0x48e894[_0x20b2fe(0x1e7)](_0x20b2fe(0x1eb))||!!_0x48e894[_0x20b2fe(0x1e7)](_0x20b2fe(0x1db))&&_0x169e39(_0x48e894[_0x20b2fe(0x202)](_0x20b2fe(0x1db))));}export function getImageUrls(_0x19c4dd,_0x1971bd){const _0x16d541=_0x41ad,_0xa8eaab=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x16d541(0x20a)](_0x557622=>_0x557622<=_0x1971bd)[_0x16d541(0x1e4)](_0x1ae215=>_0x19c4dd[_0x16d541(0x1e9)](/\/$/,'')+_0x16d541(0x1f5)+_0x1ae215+_0x16d541(0x206)+_0x1ae215+'w');return{'imageFallbackUrl':_0x19c4dd,'imageSources':[{'srcset':_0xa8eaab[_0x16d541(0x1d6)](',\x20'),'sizes':_0x16d541(0x1e5)+_0x1971bd+_0x16d541(0x1f7)+_0x1971bd+'px','type':_0x16d541(0x1de)}]};}export function getImageDimension(_0x3b1f38,_0x37b136,_0x3f8da5){const _0x1e5df1=_0x41ad,_0x56b7e4=_0x3b1f38[_0x1e5df1(0x1dc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x56b7e4?parseInt(_0x56b7e4[0x1],0xa):_0x37b136,'height':_0x56b7e4?parseInt(_0x56b7e4[0x2],0xa):_0x3f8da5};}function _0x4400(){const _0x150b1a=['629217JckfUG','join','1274mRuoRq','viewToDom','element','baseURI','src','match','isArray','image/webp','listenTo','20WnbOyk','load','mapper','toViewElement','map','(max-width:\x20','function','hasAttribute','image-processing','replace','plugins','uploadcareImageId','view','6YoFGzF','location','7167684WaEYdY','findViewImgElement','ImageUtils','get','4111CLTmMk','document','/-/resize/','removeStyle','px)\x20100vw,\x20','removeClass','11nxPUsA','addClass','imageBlock','window','origin','stopListening','height','484ykRsHV','30cPnPgS','getAttribute','114412apXkzt','editing','182WSEuCs','x/\x20','330848qmIyLV','setStyle','width','filter','some','aspect-ratio','domConverter','21126qRGYgf','change','create','imageInline','823728MzDhcH'];_0x4400=function(){return _0x150b1a;};return _0x4400();}export function showImageProcessingIndicator(_0x284bdd,_0x281850){const _0x39f892=_0x41ad,_0x179758=Object[_0x39f892(0x210)](_0x3d29a5),_0x5a2831=_0x284bdd[_0x39f892(0x1ea)][_0x39f892(0x1f2)](_0x39f892(0x1f1)),_0x383caf=_0x284bdd[_0x39f892(0x204)][_0x39f892(0x1e2)][_0x39f892(0x1e3)](_0x281850),_0x2a39c0=_0x5a2831[_0x39f892(0x1f0)](_0x383caf),_0x516c6a=_0x284bdd[_0x39f892(0x204)][_0x39f892(0x1ec)][_0x39f892(0x20d)][_0x39f892(0x1d8)](_0x2a39c0),_0x536ed9=_0x281850[_0x39f892(0x202)](_0x39f892(0x209)),_0x2ade9b=_0x281850[_0x39f892(0x202)](_0x39f892(0x1ff)),_0x16cc78=_0x39f892(0x1e8);_0x284bdd[_0x39f892(0x204)][_0x39f892(0x1ec)][_0x39f892(0x20f)](_0x674877=>{const _0x14555d=_0x39f892;_0x674877[_0x14555d(0x1fa)](_0x16cc78,_0x383caf),_0x674877[_0x14555d(0x208)](_0x14555d(0x20c),_0x536ed9+'/'+_0x2ade9b,_0x2a39c0);}),_0x179758[_0x39f892(0x1df)](_0x516c6a,_0x39f892(0x1e1),()=>{const _0x578c0a=_0x39f892;_0x179758[_0x578c0a(0x1fe)](_0x516c6a,_0x578c0a(0x1e1)),_0x284bdd[_0x578c0a(0x204)][_0x578c0a(0x1ec)][_0x578c0a(0x20f)](_0x434580=>{const _0x583f6a=_0x578c0a;_0x434580[_0x583f6a(0x1f8)](_0x16cc78,_0x383caf),_0x434580[_0x583f6a(0x1f6)](_0x583f6a(0x20c),_0x2a39c0);});});}function V(_0x34314f){const _0x221f3b=_0x41ad;if(Array[_0x221f3b(0x1dd)](_0x34314f)){const _0x389a2f=_0x34314f[_0x221f3b(0x1e4)](V);return _0x14e4ca=>_0x389a2f[_0x221f3b(0x20b)](_0xc96208=>_0xc96208(_0x14e4ca));}if(_0x221f3b(0x1fd)==_0x34314f){const _0x1735ee=_0x2e09aa[_0x221f3b(0x1fc)][_0x221f3b(0x1ee)][_0x221f3b(0x1fd)];return _0x1967b5=>new URL(_0x1967b5,_0x2e09aa[_0x221f3b(0x1f4)][_0x221f3b(0x1da)])[_0x221f3b(0x1fd)]==_0x1735ee;}return _0x221f3b(0x1e6)==typeof _0x34314f?_0x34314f:_0x34314f instanceof RegExp?_0x2343a4=>!(!_0x2343a4[_0x221f3b(0x1dc)](_0x34314f)&&!_0x2343a4[_0x221f3b(0x1e9)](/^https?:\/\//,'')[_0x221f3b(0x1dc)](_0x34314f)):()=>!0x1;}
23
+ function _0x1437(_0x1bb91a,_0x2e32e2){const _0xdfe42c=_0xdfe4();return _0x1437=function(_0x143703,_0x43e782){_0x143703=_0x143703-0x77;let _0x1f60e4=_0xdfe42c[_0x143703];return _0x1f60e4;},_0x1437(_0x1bb91a,_0x2e32e2);}(function(_0x8fd4f,_0x15b4c6){const _0x253046=_0x1437,_0x3f443e=_0x8fd4f();while(!![]){try{const _0x14aacf=-parseInt(_0x253046(0x83))/0x1+parseInt(_0x253046(0xa9))/0x2+parseInt(_0x253046(0x7b))/0x3+parseInt(_0x253046(0x84))/0x4*(parseInt(_0x253046(0xa5))/0x5)+parseInt(_0x253046(0x9a))/0x6+-parseInt(_0x253046(0x7d))/0x7+-parseInt(_0x253046(0x88))/0x8*(parseInt(_0x253046(0x81))/0x9);if(_0x14aacf===_0x15b4c6)break;else _0x3f443e['push'](_0x3f443e['shift']());}catch(_0x44cc00){_0x3f443e['push'](_0x3f443e['shift']());}}}(_0xdfe4,0xf2f92));import{global as _0x51af55,DomEmitterMixin as _0x608792}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2fded6){const _0x2d189c=_0x1437,_0x59e028=V(_0x2fded6);return _0x4d40c6=>!(!_0x4d40c6||!_0x4d40c6['is'](_0x2d189c(0x9f),_0x2d189c(0x86))&&!_0x4d40c6['is'](_0x2d189c(0x9f),_0x2d189c(0xad)))&&(!!_0x4d40c6[_0x2d189c(0x95)](_0x2d189c(0xa8))||!!_0x4d40c6[_0x2d189c(0x95)](_0x2d189c(0x8f))&&_0x59e028(_0x4d40c6[_0x2d189c(0x80)](_0x2d189c(0x8f))));}export function getImageUrls(_0x28eeb7,_0x7eff64){const _0x26a2f0=_0x1437,_0x3d0cb3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x26a2f0(0x9b)](_0x3e8d63=>_0x3e8d63<=_0x7eff64)[_0x26a2f0(0x92)](_0x14f4ff=>_0x28eeb7[_0x26a2f0(0x8b)](/\/$/,'')+_0x26a2f0(0xa6)+_0x14f4ff+_0x26a2f0(0xa7)+_0x14f4ff+'w');return{'imageFallbackUrl':_0x28eeb7,'imageSources':[{'srcset':_0x3d0cb3[_0x26a2f0(0xaf)](',\x20'),'sizes':_0x26a2f0(0x8e)+_0x7eff64+_0x26a2f0(0x91)+_0x7eff64+'px','type':_0x26a2f0(0x7c)}]};}export function getImageDimension(_0x5f3c78,_0x576729,_0x27db8e){const _0x5c9e6e=_0x1437,_0xf4332b=_0x5f3c78[_0x5c9e6e(0x9c)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf4332b?parseInt(_0xf4332b[0x1],0xa):_0x576729,'height':_0xf4332b?parseInt(_0xf4332b[0x2],0xa):_0x27db8e};}export function showImageProcessingIndicator(_0x4c0946,_0x5bb017){const _0x5c0230=_0x1437,_0x145a22=Object[_0x5c0230(0xa1)](_0x608792),_0x510b20=_0x4c0946[_0x5c0230(0xa0)][_0x5c0230(0x96)](_0x5c0230(0xa4)),_0x5abd5e=_0x4c0946[_0x5c0230(0xa2)][_0x5c0230(0x82)][_0x5c0230(0x94)](_0x5bb017),_0x54ca3c=_0x510b20[_0x5c0230(0x87)](_0x5abd5e),_0x2f7a72=_0x4c0946[_0x5c0230(0xa2)][_0x5c0230(0x98)][_0x5c0230(0x93)][_0x5c0230(0x8d)](_0x54ca3c),_0x165dbb=_0x5bb017[_0x5c0230(0x80)](_0x5c0230(0x8c)),_0x40b4cd=_0x5bb017[_0x5c0230(0x80)](_0x5c0230(0x89)),_0x352f3f=_0x5c0230(0xab);_0x4c0946[_0x5c0230(0xa2)][_0x5c0230(0x98)][_0x5c0230(0x7a)](_0x1b04f0=>{const _0x4ee1c9=_0x5c0230;_0x1b04f0[_0x4ee1c9(0x85)](_0x352f3f,_0x5abd5e),_0x1b04f0[_0x4ee1c9(0x9d)](_0x4ee1c9(0x7e),_0x165dbb+'/'+_0x40b4cd,_0x54ca3c);}),_0x145a22[_0x5c0230(0xa3)](_0x2f7a72,_0x5c0230(0x8a),()=>{const _0x480316=_0x5c0230;_0x145a22[_0x480316(0x79)](_0x2f7a72,_0x480316(0x8a)),_0x4c0946[_0x480316(0xa2)][_0x480316(0x98)][_0x480316(0x7a)](_0x2d5116=>{const _0x4ad17d=_0x480316;_0x2d5116[_0x4ad17d(0x7f)](_0x352f3f,_0x5abd5e),_0x2d5116[_0x4ad17d(0x99)](_0x4ad17d(0x7e),_0x54ca3c);});});}function _0xdfe4(){const _0x518b97=['2666720NoFivX','baseURI','image-processing','function','imageInline','origin','join','some','isArray','stopListening','change','4893489pvIBKm','image/webp','8184029OlVSqR','aspect-ratio','removeClass','getAttribute','10614987mpddww','mapper','246296gAJUUu','518916UYYGPg','addClass','imageBlock','findViewImgElement','24orEVwY','height','load','replace','width','viewToDom','(max-width:\x20','src','document','px)\x20100vw,\x20','map','domConverter','toViewElement','hasAttribute','get','window','view','removeStyle','11679810bXqdRq','filter','match','setStyle','location','element','plugins','create','editing','listenTo','ImageUtils','40iSgVMY','/-/resize/','x/\x20','uploadcareImageId'];_0xdfe4=function(){return _0x518b97;};return _0xdfe4();}function V(_0x5a2d19){const _0x57f0e3=_0x1437;if(Array[_0x57f0e3(0x78)](_0x5a2d19)){const _0xb4b7c3=_0x5a2d19[_0x57f0e3(0x92)](V);return _0xf01b5f=>_0xb4b7c3[_0x57f0e3(0x77)](_0x5f24a4=>_0x5f24a4(_0xf01b5f));}if(_0x57f0e3(0xae)==_0x5a2d19){const _0x29fd59=_0x51af55[_0x57f0e3(0x97)][_0x57f0e3(0x9e)][_0x57f0e3(0xae)];return _0x58ab03=>new URL(_0x58ab03,_0x51af55[_0x57f0e3(0x90)][_0x57f0e3(0xaa)])[_0x57f0e3(0xae)]==_0x29fd59;}return _0x57f0e3(0xac)==typeof _0x5a2d19?_0x5a2d19:_0x5a2d19 instanceof RegExp?_0x2abcf3=>!(!_0x2abcf3[_0x57f0e3(0x9c)](_0x5a2d19)&&!_0x2abcf3[_0x57f0e3(0x8b)](/^https?:\/\//,'')[_0x57f0e3(0x9c)](_0x5a2d19)):()=>!0x1;}