@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250220.0 → 0.0.0-nightly-next-20250220.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 (184) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -8
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.d.ts +2 -6
  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.d.ts +1 -4
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
  175. package/theme/icons/dropbox.svg +0 -11
  176. package/theme/icons/error.svg +0 -1
  177. package/theme/icons/facebook.svg +0 -11
  178. package/theme/icons/google-drive.svg +0 -11
  179. package/theme/icons/google-photos.svg +0 -11
  180. package/theme/icons/image-upload.svg +0 -11
  181. package/theme/icons/link.svg +0 -11
  182. package/theme/icons/local.svg +0 -11
  183. package/theme/icons/onedrive.svg +0 -11
  184. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c8d56=_0x4074;function _0x43f0(){const _0x22da06=['cleanupImage','href','48zFrjZu','editor','get','afterInit','6497973sVfHFm','replaceImageSource','uploadcare.uploader','closeMax','_initImageProcessingIndicator','uploadcare.pubkey','body','destroy','render','view','_initCtx','imageInline','#uc-icon-arrow-down','_initConversion','2CEYetX','402Jnmssu','appendChild','true','contentLanguage','isRegistered','uploadcareImageId','add','_configElement','iconHrefResolver','execute','_initSchema','commands','\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','init','locale','extend','schema','config','querySelector','imageBlock','117118ruVPKB','UploadcareEditing','for','6792990ymbWoo','uploader','attributeToAttribute','editing','requires','insertImage','once','downcast','pluginName','uploadcareImageReplace','_initConfig','PictureEditing','removeAttribute','isPremiumPlugin','join','fromCharCode','getAttribute','uc-config','getSelectedElement','model','map','1608045zFQPSv','remove','elementToAttribute','20300jumcLl','document','data-uc-image-id','isOfficialPlugin','811872dGhCjc','28023BfNXFS','uploadcare','ctxElement','upcast','configElement','input[uploadcare-file-input]','uc-upload-ctx-provider','selection','_ctxElement','conversion','listenTo'];_0x43f0=function(){return _0x22da06;};return _0x43f0();}function _0x4074(_0x5138c3,_0x54628f){const _0x43f08e=_0x43f0();return _0x4074=function(_0x407419,_0x85e0bd){_0x407419=_0x407419-0x78;let _0x38e106=_0x43f08e[_0x407419];return _0x38e106;},_0x4074(_0x5138c3,_0x54628f);}(function(_0x40b9e0,_0x1e5d14){const _0x1d83ba=_0x4074,_0x492771=_0x40b9e0();while(!![]){try{const _0x15ee72=parseInt(_0x1d83ba(0xc7))/0x1*(parseInt(_0x1d83ba(0x88))/0x2)+parseInt(_0x1d83ba(0xa8))/0x3*(-parseInt(_0x1d83ba(0xb5))/0x4)+parseInt(_0x1d83ba(0xa0))/0x5+parseInt(_0x1d83ba(0xc8))/0x6*(parseInt(_0x1d83ba(0xa3))/0x7)+-parseInt(_0x1d83ba(0xa7))/0x8+-parseInt(_0x1d83ba(0xb9))/0x9+parseInt(_0x1d83ba(0x8b))/0xa;if(_0x15ee72===_0x1e5d14)break;else _0x492771['push'](_0x492771['shift']());}catch(_0x335653){_0x492771['push'](_0x492771['shift']());}}}(_0x43f0,0x5bfb1));import{Plugin as _0xf54555}from'ckeditor5/src/core.js';import{Dialog as _0x463dfc}from'ckeditor5/src/ui.js';import{createElement as _0x358310,global as _0x5dee56,uid as _0x39b9c0}from'ckeditor5/src/utils.js';import _0x38cb80 from'./uploadcarecommand.js';import _0x763eca from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4dcee2}from'./utils/editingutils.js';export default class i extends _0xf54555{constructor(){const _0x39f0f1=_0x4074;super(...arguments),this[_0x39f0f1(0x7b)]=null,this[_0x39f0f1(0xb0)]=null;}static get[_0x1c8d56(0x93)](){const _0x32831e=_0x1c8d56;return _0x32831e(0x89);}static get[_0x1c8d56(0x8f)](){const _0x53658c=_0x1c8d56;return[_0x53658c(0x96),_0x763eca,_0x463dfc];}static get[_0x1c8d56(0xa6)](){return!0x0;}static get[_0x1c8d56(0x98)](){return!0x0;}get[_0x1c8d56(0xac)](){const _0x8203ef=_0x1c8d56;return this[_0x8203ef(0x7b)];}get[_0x1c8d56(0xaa)](){const _0x4e6c32=_0x1c8d56;return this[_0x4e6c32(0xb0)];}[_0x1c8d56(0x81)](){const _0x55b580=_0x1c8d56,_0x2669c1=this[_0x55b580(0xb6)];_0x2669c1[_0x55b580(0x7f)][_0x55b580(0x7a)](_0x55b580(0xa9),new _0x38cb80(_0x2669c1));}[_0x1c8d56(0xb8)](){const _0x1fea28=_0x1c8d56;this[_0x1fea28(0x7e)](),this[_0x1fea28(0xc6)](),this[_0x1fea28(0x95)](),this[_0x1fea28(0xc3)](),this[_0x1fea28(0xbd)](),this[_0x1fea28(0xb2)](this[_0x1fea28(0xb6)],_0x1fea28(0xc0),()=>{const _0x1a13c5=_0x1fea28;this[_0x1a13c5(0x7b)]&&(this[_0x1a13c5(0x7b)][_0x1a13c5(0xa1)](),this[_0x1a13c5(0x7b)]=null),this[_0x1a13c5(0xb0)]&&(this[_0x1a13c5(0xb0)][_0x1a13c5(0xa1)](),this[_0x1a13c5(0xb0)]=null);const _0x347762=_0x5dee56[_0x1a13c5(0xa4)][_0x1a13c5(0x86)](_0x1a13c5(0xad));_0x347762&&_0x347762[_0x1a13c5(0xa1)]();}),async function(_0x4afd21){const _0x117879=_0x1cacea([0x33,0x45,0x42,0x66,0x67,0x53,0x6d,0x39,0x50,0x62,0x63,0x57,0x51,0x71,0x41,0x58,0x74,0x56,0x73,0x77,0x36,0x68,0x6b,0x48,0x4d,0x6e,0x75,0x34,0x6a,0x6f,0x37,0x6c,0x4c,0x47,0x30,0x35,0x72,0x4f,0x49,0x65,0x5a,0x31,0x54,0x7a,0x43,0x76,0x61,0x4b,0x4a,0x46,0x38,0x79,0x59,0x69,0x70,0x78,0x44,0x64,0x55,0x4e,0x52,0x32]),_0x2a2274=0x1b0de5f6,_0x478e4e=0x1b0a85fe^_0x2a2274,_0xd173ae=window[_0x1cacea([0x44,0x61,0x74,0x65])][_0x1cacea([0x6e,0x6f,0x77])](),_0x421b6c=_0x4afd21[_0x1cacea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x397060=new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233bd5=>{_0x421b6c[_0x1cacea([0x6f,0x6e,0x63,0x65])](_0x1cacea([0x72,0x65,0x61,0x64,0x79]),_0x233bd5);}),_0xfae038={[_0x1cacea([0x6b,0x74,0x79])]:_0x1cacea([0x45,0x43]),[_0x1cacea([0x75,0x73,0x65])]:_0x1cacea([0x73,0x69,0x67]),[_0x1cacea([0x63,0x72,0x76])]:_0x1cacea([0x50,0x2d,0x32,0x35,0x36]),[_0x1cacea([0x78])]:_0x1cacea([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]),[_0x1cacea([0x79])]:_0x1cacea([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]),[_0x1cacea([0x61,0x6c,0x67])]:_0x1cacea([0x45,0x53,0x32,0x35,0x36])},_0x44dfd0=_0x421b6c[_0x1cacea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cacea([0x67,0x65,0x74])](_0x1cacea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f3088(){let _0x3ef1af,_0x4a7335=null,_0x540e91=null;try{if(_0x44dfd0==_0x1cacea([0x47,0x50,0x4c]))return _0x1cacea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ef1af=_0x300b31(),!_0x3ef1af)return _0x1cacea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ef1af[_0x1cacea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x540e91=_0x72b0b7(_0x3ef1af[_0x1cacea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ef1af[_0x1cacea([0x6a,0x74,0x69])])),await _0x4066ee()?_0x9e2d70()?_0x3d2050()?_0x1cacea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36da45()?(_0x3ef1af[_0x1cacea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cacea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a7335=_0x522702(_0x1cacea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ef1af[_0x1cacea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cacea([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a7335=_0x522702(_0x1cacea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a4289()):_0x1cacea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cacea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cacea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x474918){return _0x1cacea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d2050(){const _0x5069f6=[_0x1cacea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cacea([0x74,0x72,0x69,0x61,0x6c])][_0x1cacea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ef1af[_0x1cacea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd173ae/0x3e8:0xe10*_0x478e4e;return _0x3ef1af[_0x1cacea([0x65,0x78,0x70])]<_0x5069f6;}function _0x9e2d70(){const _0x5b9c0c=_0x3ef1af[_0x1cacea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b9c0c&&(!!_0x5b9c0c[_0x1cacea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cacea([0x2a]))||!!_0x5b9c0c[_0x1cacea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cacea([0x55,0x50,0x4c,0x43])));}function _0x36da45(){const _0xa30971=_0x4074,_0x42066b=_0x3ef1af[_0x1cacea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42066b||0x0==_0x42066b[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413a20}=new URL(window[_0x1cacea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa30971(0xb4)]);if(_0x42066b[_0x1cacea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413a20))return!0x0;const _0xf6b9cb=_0x413a20[_0x1cacea([0x73,0x70,0x6c,0x69,0x74])](_0x1cacea([0x2e]));return _0x42066b[_0x1cacea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27d331=>_0x27d331[_0x1cacea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cacea([0x2a])))[_0x1cacea([0x6d,0x61,0x70])](_0x42e399=>_0x42e399[_0x1cacea([0x73,0x70,0x6c,0x69,0x74])](_0x1cacea([0x2e])))[_0x1cacea([0x73,0x6f,0x6d,0x65])](_0x4e5f3b=>_0xf6b9cb[_0x1cacea([0x65,0x76,0x65,0x72,0x79])]((_0x8e921b,_0xa23d26)=>_0x4e5f3b[_0xa23d26]===_0x8e921b||_0x4e5f3b[_0xa23d26]===_0x1cacea([0x2a])));}function _0x5a4289(){return _0x4a7335&&_0x540e91?new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x328637,_0x1714bb)=>{_0x4a7335[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x328637,_0x1714bb),_0x540e91[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x145f0f=>{_0x145f0f!=_0x1cacea([0x56,0x61,0x6c,0x69,0x64])&&_0x328637(_0x145f0f);},_0x1714bb);}):_0x4a7335||_0x540e91||_0x1cacea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x72b0b7(_0x389ff7,_0x5bb56e){return new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217526=>{if(_0x279d67())return _0x217526(_0x1cacea([0x56,0x61,0x6c,0x69,0x64]));_0x3487a9(),_0x421b6c[_0x1cacea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cacea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c22c=!0x1;const _0x599066=_0x39b9c0();function _0x23830b(_0x2f82fb){return!!_0x2f82fb&&(typeof _0x2f82fb===_0x1cacea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f82fb===_0x1cacea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f82fb[_0x1cacea([0x74,0x68,0x65,0x6e])]===_0x1cacea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f82fb[_0x1cacea([0x63,0x61,0x74,0x63,0x68])]===_0x1cacea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d57a7(_0x4b4034){_0x291cc0(_0x4b4034)[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x12b48b=>{if(!_0x12b48b||_0x12b48b[_0x1cacea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cacea([0x6f,0x6b]))return _0x1cacea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x265b26(_0x284dca(_0x599066+_0x5bb56e))!=_0x12b48b[_0x1cacea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cacea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cacea([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x2be664=>(_0x562cd0(),_0x2be664),()=>{const _0x45a741=_0x1c72d6();return null==_0x45a741?(_0x562cd0(),_0x1cacea([0x56,0x61,0x6c,0x69,0x64])):_0x1cacea(_0xd173ae-_0x45a741>(0x3f0161f6^_0x2a2274)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x217526)[_0x1cacea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x217526(_0x1cacea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d0ff2=0x1b3b0b76^_0x2a2274;function _0x562cd0(){const _0x44536c=_0x1cacea([0x6c,0x6c,0x63,0x74,0x2d])+_0x265b26(_0x284dca(_0x389ff7)),_0x4f2d3c=_0x36858e(_0x265b26(window[_0x1cacea([0x4d,0x61,0x74,0x68])][_0x1cacea([0x63,0x65,0x69,0x6c])](_0xd173ae/_0x2d0ff2)));window[_0x1cacea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cacea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44536c,_0x4f2d3c);}function _0x1c72d6(){const _0x111309=_0x1cacea([0x6c,0x6c,0x63,0x74,0x2d])+_0x265b26(_0x284dca(_0x389ff7)),_0x56feb0=window[_0x1cacea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cacea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x111309);return _0x56feb0?window[_0x1cacea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36858e(_0x56feb0),0x10)*_0x2d0ff2:null;}function _0x291cc0(_0x294042){return new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fff2e,_0x153cdb)=>{_0x294042[_0x1cacea([0x74,0x68,0x65,0x6e])](_0x1fff2e,_0x153cdb),window[_0x1cacea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x153cdb,0x1b0c3136^_0x2a2274);});}}_0x421b6c[_0x1cacea([0x6f,0x6e])](_0x1cacea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12f826,_0x543d73)=>{if(_0x543d73[0x0]!=_0x389ff7)return _0x217526(_0x1cacea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x543d73[0x1]={..._0x543d73[0x1],[_0x1cacea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x599066};},{[_0x1cacea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cacea([0x68,0x69,0x67,0x68])}),_0x421b6c[_0x1cacea([0x6f,0x6e])](_0x1cacea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x532b97=>{_0x23830b(_0x532b97[_0x1cacea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c22c=!0x0,_0x5d57a7(_0x532b97[_0x1cacea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cacea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cacea([0x6c,0x6f,0x77])}),_0x397060[_0x1cacea([0x74,0x68,0x65,0x6e])](()=>{_0x3c22c||_0x217526(_0x1cacea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x279d67(){return _0x421b6c[_0x1cacea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cacea([0x76,0x69,0x65,0x77])][_0x1cacea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cacea([0x61,0x75,0x74,0x6f]);}function _0x3487a9(){_0x421b6c[_0x1cacea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cacea([0x76,0x69,0x65,0x77])][_0x1cacea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cacea([0x61,0x75,0x74,0x6f]);}}function _0x522702(_0x33a86a){const _0xae7b2a=[new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc752e=>setTimeout(_0xbc752e,0x1b04db3a^_0x2a2274)),_0x397060[_0x1cacea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22d96f=>{let _0x4279de=0x0;_0x421b6c[_0x1cacea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cacea([0x6f,0x6e])](_0x1cacea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55f81c,_0x37dfcd)=>{_0x37dfcd[0x0][_0x1cacea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4279de++,_0x4279de==(0x1b0de40e^_0x2a2274)&&(_0x22d96f(),_0x55f81c[_0x1cacea([0x6f,0x66,0x66])]());});}))];return window[_0x1cacea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cacea([0x72,0x61,0x63,0x65])](_0xae7b2a)[_0x1cacea([0x74,0x68,0x65,0x6e])](()=>_0x33a86a);}async function _0x1f9daf(){await _0x397060,_0x421b6c[_0x1cacea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cacea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11e399,_0x421b6c[_0x1cacea([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cacea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11e399,_0x421b6c[_0x1cacea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cacea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19229f(_0x21811c){const _0x1ce8b4=_0xe8c0c6();_0x421b6c[_0x1ce8b4]=_0x1cacea([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21811c,_0x21811c!=_0x1cacea([0x56,0x61,0x6c,0x69,0x64])&&_0x1f9daf();}function _0xe8c0c6(){const _0x54b0ab=window[_0x1cacea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cacea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cacea([0x6e,0x6f,0x77])]())[_0x1cacea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cacea([0x2e]),'');let _0xe903c5=_0x1cacea([0x45]);for(let _0x1042de=0x0;_0x1042de<_0x54b0ab[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1042de+=0x2){let _0x3b0b90=window[_0x1cacea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54b0ab[_0x1cacea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1042de,_0x1042de+0x2));_0x3b0b90>=_0x117879[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b0b90-=_0x117879[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe903c5+=_0x117879[_0x3b0b90];}return _0xe903c5;}function _0x300b31(){const _0x378f93=_0x44dfd0[_0x1cacea([0x73,0x70,0x6c,0x69,0x74])](_0x1cacea([0x2e]));if(0x3!=_0x378f93[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53b690(_0x378f93[0x1]);function _0x53b690(_0x3aeb75){const _0x2894bf=_0xa4fa26(_0x3aeb75);return _0x2894bf&&_0xe0c312()?_0x2894bf:null;function _0xe0c312(){const _0x18406c=_0x2894bf[_0x1cacea([0x6a,0x74,0x69])],_0x2428d8=window[_0x1cacea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18406c[_0x1cacea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18406c[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x481939={..._0x2894bf,[_0x1cacea([0x6a,0x74,0x69])]:_0x18406c[_0x1cacea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18406c[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x481939[_0x1cacea([0x76,0x63])],_0x284dca(_0x481939)==_0x2428d8;}}}async function _0x4066ee(){let _0x3ede14=!0x0;try{const _0x1c421c=_0x44dfd0[_0x1cacea([0x73,0x70,0x6c,0x69,0x74])](_0x1cacea([0x2e])),[_0x1652cb,_0x360771,_0x2f8246]=_0x1c421c;return _0x59f9e1(_0x1652cb),await _0x49716c(_0x1652cb,_0x360771,_0x2f8246),_0x3ede14;}catch(_0x47c7d9){return!0x1;}function _0x59f9e1(_0x515a9f){const _0x2bd4c6=_0xa4fa26(_0x515a9f);_0x2bd4c6&&_0x2bd4c6[_0x1cacea([0x61,0x6c,0x67])]==_0x1cacea([0x45,0x53,0x32,0x35,0x36])||(_0x3ede14=!0x1);}async function _0x49716c(_0xdec60c,_0x2b0401,_0x345cc9){const _0x46a5ac=window[_0x1cacea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cacea([0x66,0x72,0x6f,0x6d])](_0x21a481(_0x345cc9),_0x574d6c=>_0x574d6c[_0x1cacea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3433b9=new window[(_0x1cacea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cacea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdec60c+_0x1cacea([0x2e])+_0x2b0401),_0x19ce16=window[_0x1cacea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cacea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19ce16)return;const _0x4c2340=await _0x19ce16[_0x1cacea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cacea([0x6a,0x77,0x6b]),_0xfae038,{[_0x1cacea([0x6e,0x61,0x6d,0x65])]:_0x1cacea([0x45,0x43,0x44,0x53,0x41]),[_0x1cacea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cacea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cacea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19ce16[_0x1cacea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cacea([0x6e,0x61,0x6d,0x65])]:_0x1cacea([0x45,0x43,0x44,0x53,0x41]),[_0x1cacea([0x68,0x61,0x73,0x68])]:{[_0x1cacea([0x6e,0x61,0x6d,0x65])]:_0x1cacea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c2340,_0x46a5ac,_0x3433b9)||(_0x3ede14=!0x1);}}function _0xa4fa26(_0x3f0849){return _0x3f0849[_0x1cacea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cacea([0x65,0x79]))?JSON[_0x1cacea([0x70,0x61,0x72,0x73,0x65])](_0x21a481(_0x3f0849)):null;}function _0x21a481(_0x160e17){return window[_0x1cacea([0x61,0x74,0x6f,0x62])](_0x160e17[_0x1cacea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cacea([0x2b]))[_0x1cacea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cacea([0x2f])));}function _0x284dca(_0x39c142){let _0x406d4a=0x1505;function _0x29ddad(_0x83a34b){for(let _0x1401fb=0x0;_0x1401fb<_0x83a34b[_0x1cacea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1401fb++){const _0x36482a=_0x83a34b[_0x1cacea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1401fb);_0x406d4a=(_0x406d4a<<0x5)+_0x406d4a+_0x36482a,_0x406d4a&=_0x406d4a;}}function _0x213e9d(_0x114360){Array[_0x1cacea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x114360)?_0x114360[_0x1cacea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x213e9d):_0x114360&&typeof _0x114360==_0x1cacea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cacea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x114360)[_0x1cacea([0x73,0x6f,0x72,0x74])]()[_0x1cacea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x196e2f,_0x37cc4c])=>{_0x29ddad(_0x196e2f),_0x213e9d(_0x37cc4c);}):_0x29ddad(window[_0x1cacea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x114360));}return _0x213e9d(_0x39c142),_0x406d4a>>>0x0;}function _0x265b26(_0x48a175){return _0x48a175[_0x1cacea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cacea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cacea([0x30]));}function _0x36858e(_0x3482f3){return _0x3482f3[_0x1cacea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cacea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cacea([0x6a,0x6f,0x69,0x6e])]('');}function _0x11e399(){}function _0x1cacea(_0x3df544){const _0x38e941=_0x4074;return _0x3df544[_0x38e941(0x9f)](_0x404a8e=>String[_0x38e941(0x9a)](_0x404a8e))[_0x38e941(0x99)]('');}_0x19229f(await _0x3f3088());}(this);}[_0x1c8d56(0x7e)](){const _0x4d7d5d=_0x1c8d56,_0x5c63e3=this[_0x4d7d5d(0xb6)][_0x4d7d5d(0x9e)][_0x4d7d5d(0x84)];_0x5c63e3[_0x4d7d5d(0x78)](_0x4d7d5d(0x87))&&_0x5c63e3[_0x4d7d5d(0x83)](_0x4d7d5d(0x87),{'allowAttributes':[_0x4d7d5d(0x79)]}),_0x5c63e3[_0x4d7d5d(0x78)](_0x4d7d5d(0xc4))&&_0x5c63e3[_0x4d7d5d(0x83)](_0x4d7d5d(0xc4),{'allowAttributes':[_0x4d7d5d(0x79)]});}[_0x1c8d56(0xc6)](){const _0x1fc1bb=_0x1c8d56,_0x19ae6d=this[_0x1fc1bb(0xb6)];_0x19ae6d[_0x1fc1bb(0xb1)][_0x1fc1bb(0x8a)](_0x1fc1bb(0x92))[_0x1fc1bb(0x8d)]({'model':_0x1fc1bb(0x79),'view':_0x1fc1bb(0xa5)}),_0x19ae6d[_0x1fc1bb(0xb1)][_0x1fc1bb(0x8a)](_0x1fc1bb(0xab))[_0x1fc1bb(0xa2)]({'model':{'key':_0x1fc1bb(0x79),'value':_0x3eafa4=>_0x3eafa4[_0x1fc1bb(0x9b)](_0x1fc1bb(0xa5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d6b30=_0x19ae6d[_0x1fc1bb(0x7f)][_0x1fc1bb(0xb7)](_0x1fc1bb(0xba));_0x4d6b30&&this[_0x1fc1bb(0xb2)](_0x4d6b30,_0x1fc1bb(0xb3),(_0x180f32,[_0x35cee6,_0x1cf88c])=>{const _0xd9acd=_0x1fc1bb;_0x35cee6[_0xd9acd(0x97)](_0xd9acd(0x79),_0x1cf88c);});}[_0x1c8d56(0x95)](){const _0x1a2455=_0x1c8d56,_0x26f198=this[_0x1a2455(0xb6)][_0x1a2455(0x85)][_0x1a2455(0xb7)](_0x1a2455(0xbb))||{},_0x3095fb=this[_0x1a2455(0xb6)][_0x1a2455(0x85)][_0x1a2455(0xb7)](_0x1a2455(0xbe))||'';this[_0x1a2455(0x7b)]=_0x358310(_0x5dee56[_0x1a2455(0xa4)],_0x1a2455(0x9c),{..._0x26f198,'pubkey':_0x3095fb,'ctx-name':_0x1a2455(0x8c),'sourceList':'','imgOnly':_0x1a2455(0xca),'removeCopyright':_0x1a2455(0xca),'localeName':this[_0x1a2455(0xb6)][_0x1a2455(0x82)][_0x1a2455(0xcb)],'externalSourcesEmbedCss':_0x1a2455(0x80)}),this[_0x1a2455(0x7b)][_0x1a2455(0x7c)]=_0x266604=>{const _0x359d12=_0x1a2455;if(_0x359d12(0xbc)==_0x266604)return _0x359d12(0xc5);},_0x5dee56[_0x1a2455(0xa4)][_0x1a2455(0xbf)][_0x1a2455(0xc9)](this[_0x1a2455(0x7b)]);}[_0x1c8d56(0xc3)](){const _0x5e245a=_0x1c8d56;this[_0x5e245a(0xb0)]=_0x358310(_0x5dee56[_0x5e245a(0xa4)],_0x5e245a(0xae),{'ctx-name':_0x5e245a(0x8c)}),_0x5dee56[_0x5e245a(0xa4)][_0x5e245a(0xbf)][_0x5e245a(0xc9)](this[_0x5e245a(0xb0)]);}[_0x1c8d56(0xbd)](){const _0x56baff=_0x1c8d56,_0x5c6d51=this[_0x56baff(0xb6)][_0x56baff(0x7f)][_0x56baff(0xb7)](_0x56baff(0x90));_0x5c6d51&&this[_0x56baff(0xb2)](_0x5c6d51,_0x56baff(0x7d),()=>{const _0x4c1279=_0x56baff,_0x50d1ad=this[_0x4c1279(0xb6)][_0x4c1279(0x9e)][_0x4c1279(0xa4)][_0x4c1279(0xaf)][_0x4c1279(0x9d)]();_0x50d1ad&&_0x50d1ad[_0x4c1279(0x9b)](_0x4c1279(0x79))&&this[_0x4c1279(0xb6)][_0x4c1279(0x8e)][_0x4c1279(0xc2)][_0x4c1279(0x91)](_0x4c1279(0xc1),()=>{const _0x23418a=_0x4c1279;_0x4dcee2(this[_0x23418a(0xb6)],_0x50d1ad);});});const _0x2eaca1=this[_0x56baff(0xb6)][_0x56baff(0x7f)][_0x56baff(0xb7)](_0x56baff(0x94));_0x2eaca1&&this[_0x56baff(0xb2)](_0x2eaca1,_0x56baff(0x7d),()=>{const _0x26b06e=_0x56baff,_0x1094ca=this[_0x26b06e(0xb6)][_0x26b06e(0x9e)][_0x26b06e(0xa4)][_0x26b06e(0xaf)][_0x26b06e(0x9d)]();_0x1094ca&&_0x1094ca[_0x26b06e(0x9b)](_0x26b06e(0x79))&&this[_0x26b06e(0xb6)][_0x26b06e(0x8e)][_0x26b06e(0xc2)][_0x26b06e(0x91)](_0x26b06e(0xc1),()=>{const _0xfb2c4d=_0x26b06e;_0x4dcee2(this[_0xfb2c4d(0xb6)],_0x1094ca);});});}}
23
+ const _0x50c9e3=_0x1b6f;(function(_0x5553d8,_0x4cabcf){const _0x4142ca=_0x1b6f,_0x2bd0ed=_0x5553d8();while(!![]){try{const _0x531f40=parseInt(_0x4142ca(0x193))/0x1+-parseInt(_0x4142ca(0x1b1))/0x2*(parseInt(_0x4142ca(0x196))/0x3)+parseInt(_0x4142ca(0x183))/0x4*(parseInt(_0x4142ca(0x1a9))/0x5)+-parseInt(_0x4142ca(0x1d3))/0x6*(parseInt(_0x4142ca(0x1af))/0x7)+-parseInt(_0x4142ca(0x187))/0x8*(-parseInt(_0x4142ca(0x1a0))/0x9)+parseInt(_0x4142ca(0x1d2))/0xa*(parseInt(_0x4142ca(0x19e))/0xb)+-parseInt(_0x4142ca(0x1c9))/0xc;if(_0x531f40===_0x4cabcf)break;else _0x2bd0ed['push'](_0x2bd0ed['shift']());}catch(_0x475a0f){_0x2bd0ed['push'](_0x2bd0ed['shift']());}}}(_0x241e,0x5ed02));import{Plugin as _0x4e11bb}from'ckeditor5/src/core.js';function _0x241e(){const _0x3f0866=['uploadcareImageReplace','106315ttPZRq','model','4747797ivUvBk','config','appendChild','_initCtx','execute','destroy','elementToAttribute','selection','iconHrefResolver','75pMhceb','commands','add','extend','_configElement','requires','133MHwdZC','editor','1572TSZctw','attributeToAttribute','document','schema','isRegistered','imageInline','href','querySelector','remove','_initConfig','uploadcare.pubkey','afterInit','get','replaceImageSource','fromCharCode','view','init','contentLanguage','true','render','getAttribute','PictureEditing','once','imageBlock','13090560sAJwqT','getSelectedElement','uploader','uc-config','uc-upload-ctx-provider','data-uc-image-id','cleanupImage','removeAttribute','locale','510jHXaYP','116916vDsnOv','listenTo','uploadcare.uploader','#uc-icon-arrow-down','_initConversion','configElement','201548uoqglQ','ctxElement','editing','insertImage','8dpJqCD','uploadcareImageId','upcast','downcast','for','conversion','pluginName','\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','isPremiumPlugin','map','_ctxElement','UploadcareEditing','251637dxdmhn','_initSchema','uploadcare','681cUghrn','body','isOfficialPlugin','input[uploadcare-file-input]','closeMax','join','_initImageProcessingIndicator'];_0x241e=function(){return _0x3f0866;};return _0x241e();}import{Dialog as _0x33febc}from'ckeditor5/src/ui.js';function _0x1b6f(_0x5d9c32,_0x392b99){const _0x241e89=_0x241e();return _0x1b6f=function(_0x1b6f85,_0x1fb2ff){_0x1b6f85=_0x1b6f85-0x181;let _0x5cd7a6=_0x241e89[_0x1b6f85];return _0x5cd7a6;},_0x1b6f(_0x5d9c32,_0x392b99);}import{createElement as _0x4038ae,global as _0x537e4e,uid as _0x26808d}from'ckeditor5/src/utils.js';import _0x23efa9 from'./uploadcarecommand.js';import _0x4502ef from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x48266a}from'./utils/editingutils.js';export default class i extends _0x4e11bb{[_0x50c9e3(0x1ad)]=null;[_0x50c9e3(0x191)]=null;static get[_0x50c9e3(0x18d)](){const _0x330bb8=_0x50c9e3;return _0x330bb8(0x192);}static get[_0x50c9e3(0x1ae)](){const _0x430fa4=_0x50c9e3;return[_0x430fa4(0x1c6),_0x4502ef,_0x33febc];}static get[_0x50c9e3(0x198)](){return!0x0;}static get[_0x50c9e3(0x18f)](){return!0x0;}get[_0x50c9e3(0x182)](){const _0x5681=_0x50c9e3;return this[_0x5681(0x1ad)];}get[_0x50c9e3(0x184)](){const _0x45840c=_0x50c9e3;return this[_0x45840c(0x191)];}[_0x50c9e3(0x1c1)](){const _0x1859eb=_0x50c9e3,_0x583c00=this[_0x1859eb(0x1b0)];_0x583c00[_0x1859eb(0x1aa)][_0x1859eb(0x1ab)](_0x1859eb(0x195),new _0x23efa9(_0x583c00));}[_0x50c9e3(0x1bc)](){const _0x344afc=_0x50c9e3;this[_0x344afc(0x194)](),this[_0x344afc(0x181)](),this[_0x344afc(0x1ba)](),this[_0x344afc(0x1a3)](),this[_0x344afc(0x19c)](),this[_0x344afc(0x1d4)](this[_0x344afc(0x1b0)],_0x344afc(0x1a5),()=>{const _0x1ec355=_0x344afc;this[_0x1ec355(0x1ad)]&&(this[_0x1ec355(0x1ad)][_0x1ec355(0x1b9)](),this[_0x1ec355(0x1ad)]=null),this[_0x1ec355(0x191)]&&(this[_0x1ec355(0x191)][_0x1ec355(0x1b9)](),this[_0x1ec355(0x191)]=null);const _0x2c2b16=_0x537e4e[_0x1ec355(0x1b3)][_0x1ec355(0x1b8)](_0x1ec355(0x199));_0x2c2b16&&_0x2c2b16[_0x1ec355(0x1b9)]();}),async function(_0x53a87a){const _0x2c9e68=_0x431b23([0x63,0x41,0x74,0x69,0x66,0x76,0x6b,0x6a,0x78,0x77,0x6c,0x54,0x50,0x44,0x62,0x43,0x35,0x4b,0x59,0x4d,0x31,0x4e,0x75,0x42,0x30,0x4f,0x33,0x6e,0x4a,0x4c,0x70,0x6f,0x34,0x55,0x52,0x51,0x67,0x36,0x53,0x49,0x6d,0x46,0x73,0x68,0x58,0x72,0x45,0x7a,0x47,0x37,0x32,0x71,0x61,0x56,0x57,0x5a,0x38,0x64,0x65,0x79,0x48,0x39]),_0x3c2e7f=0x524c4791,_0x1b0262=0x524b2799^_0x3c2e7f,_0x134c47=window[_0x431b23([0x44,0x61,0x74,0x65])][_0x431b23([0x6e,0x6f,0x77])](),_0x3084bb=_0x53a87a[_0x431b23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xae0e9b=new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f04f6=>{_0x3084bb[_0x431b23([0x6f,0x6e,0x63,0x65])](_0x431b23([0x72,0x65,0x61,0x64,0x79]),_0x2f04f6);}),_0x4ab85b={[_0x431b23([0x6b,0x74,0x79])]:_0x431b23([0x45,0x43]),[_0x431b23([0x75,0x73,0x65])]:_0x431b23([0x73,0x69,0x67]),[_0x431b23([0x63,0x72,0x76])]:_0x431b23([0x50,0x2d,0x32,0x35,0x36]),[_0x431b23([0x78])]:_0x431b23([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]),[_0x431b23([0x79])]:_0x431b23([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]),[_0x431b23([0x61,0x6c,0x67])]:_0x431b23([0x45,0x53,0x32,0x35,0x36])},_0x375bc3=_0x3084bb[_0x431b23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x431b23([0x67,0x65,0x74])](_0x431b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e1878(){let _0x494c46,_0x3b5e72=null,_0x3829d8=null;try{if(_0x375bc3==_0x431b23([0x47,0x50,0x4c]))return _0x431b23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x494c46=_0x2c8be4(),!_0x494c46)return _0x431b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x494c46[_0x431b23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3829d8=_0x490aa3(_0x494c46[_0x431b23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x494c46[_0x431b23([0x6a,0x74,0x69])])),await _0xcc289()?_0x22cb81()?_0x32c40e()?_0x431b23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x219322()?(_0x494c46[_0x431b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431b23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b5e72=_0x132b73(_0x431b23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x494c46[_0x431b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431b23([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b5e72=_0x132b73(_0x431b23([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d9b01()):_0x431b23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x431b23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x431b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xdc74cb){return _0x431b23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32c40e(){const _0x208738=[_0x431b23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x431b23([0x74,0x72,0x69,0x61,0x6c])][_0x431b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494c46[_0x431b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x134c47/0x3e8:0xe10*_0x1b0262;return _0x494c46[_0x431b23([0x65,0x78,0x70])]<_0x208738;}function _0x22cb81(){const _0x22bd49=_0x494c46[_0x431b23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22bd49&&(!!_0x22bd49[_0x431b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431b23([0x2a]))||!!_0x22bd49[_0x431b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431b23([0x55,0x50,0x4c,0x43])));}function _0x219322(){const _0x284976=_0x1b6f,_0x5dcaa1=_0x494c46[_0x431b23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dcaa1||0x0==_0x5dcaa1[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c61a7}=new URL(window[_0x431b23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x284976(0x1b7)]);if(_0x5dcaa1[_0x431b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c61a7))return!0x0;const _0x554c08=_0x1c61a7[_0x431b23([0x73,0x70,0x6c,0x69,0x74])](_0x431b23([0x2e]));return _0x5dcaa1[_0x431b23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e5555=>_0x1e5555[_0x431b23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431b23([0x2a])))[_0x431b23([0x6d,0x61,0x70])](_0x395e65=>_0x395e65[_0x431b23([0x73,0x70,0x6c,0x69,0x74])](_0x431b23([0x2e])))[_0x431b23([0x73,0x6f,0x6d,0x65])](_0x1933c6=>_0x554c08[_0x431b23([0x65,0x76,0x65,0x72,0x79])]((_0x2cf8d9,_0x1d6610)=>_0x1933c6[_0x1d6610]===_0x2cf8d9||_0x1933c6[_0x1d6610]===_0x431b23([0x2a])));}function _0x3d9b01(){return _0x3b5e72&&_0x3829d8?new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b07a2,_0x36f0c3)=>{_0x3b5e72[_0x431b23([0x74,0x68,0x65,0x6e])](_0x2b07a2,_0x36f0c3),_0x3829d8[_0x431b23([0x74,0x68,0x65,0x6e])](_0x3a3fbc=>{_0x3a3fbc!=_0x431b23([0x56,0x61,0x6c,0x69,0x64])&&_0x2b07a2(_0x3a3fbc);},_0x36f0c3);}):_0x3b5e72||_0x3829d8||_0x431b23([0x56,0x61,0x6c,0x69,0x64]);}}function _0x490aa3(_0xa2f857,_0x1a46be){return new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50c732=>{if(_0x465b37())return _0x50c732(_0x431b23([0x56,0x61,0x6c,0x69,0x64]));_0x2172e3(),_0x3084bb[_0x431b23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x431b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1fb35e=!0x1;const _0x5660bb=_0x26808d();function _0x117c55(_0x57c440){return!!_0x57c440&&(typeof _0x57c440===_0x431b23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57c440===_0x431b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57c440[_0x431b23([0x74,0x68,0x65,0x6e])]===_0x431b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57c440[_0x431b23([0x63,0x61,0x74,0x63,0x68])]===_0x431b23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4359f6(_0x4e68ec){_0x56f4fb(_0x4e68ec)[_0x431b23([0x74,0x68,0x65,0x6e])](_0x213ecc=>{if(!_0x213ecc||_0x213ecc[_0x431b23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x431b23([0x6f,0x6b]))return _0x431b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c8f6c(_0x1f7880(_0x5660bb+_0x1a46be))!=_0x213ecc[_0x431b23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x431b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x431b23([0x56,0x61,0x6c,0x69,0x64]);})[_0x431b23([0x74,0x68,0x65,0x6e])](_0xb52713=>(_0x346197(),_0xb52713),()=>{const _0x576e33=_0x119aaf();return null==_0x576e33?(_0x346197(),_0x431b23([0x56,0x61,0x6c,0x69,0x64])):_0x431b23(_0x134c47-_0x576e33>(0x7640c391^_0x3c2e7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x431b23([0x74,0x68,0x65,0x6e])](_0x50c732)[_0x431b23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50c732(_0x431b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x546aab=0x527aa911^_0x3c2e7f;function _0x346197(){const _0xa62ad3=_0x431b23([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8f6c(_0x1f7880(_0xa2f857)),_0x4c475b=_0x3f7137(_0x5c8f6c(window[_0x431b23([0x4d,0x61,0x74,0x68])][_0x431b23([0x63,0x65,0x69,0x6c])](_0x134c47/_0x546aab)));window[_0x431b23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431b23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa62ad3,_0x4c475b);}function _0x119aaf(){const _0x29542a=_0x431b23([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8f6c(_0x1f7880(_0xa2f857)),_0x5dd225=window[_0x431b23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431b23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29542a);return _0x5dd225?window[_0x431b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f7137(_0x5dd225),0x10)*_0x546aab:null;}function _0x56f4fb(_0x21a8ea){return new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20059e,_0x135531)=>{_0x21a8ea[_0x431b23([0x74,0x68,0x65,0x6e])](_0x20059e,_0x135531),window[_0x431b23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x135531,0x524d9351^_0x3c2e7f);});}}_0x3084bb[_0x431b23([0x6f,0x6e])](_0x431b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x491f7b,_0x435639)=>{if(_0x435639[0x0]!=_0xa2f857)return _0x50c732(_0x431b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x435639[0x1]={..._0x435639[0x1],[_0x431b23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5660bb};},{[_0x431b23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431b23([0x68,0x69,0x67,0x68])}),_0x3084bb[_0x431b23([0x6f,0x6e])](_0x431b23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40f86a=>{_0x117c55(_0x40f86a[_0x431b23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1fb35e=!0x0,_0x4359f6(_0x40f86a[_0x431b23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x431b23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431b23([0x6c,0x6f,0x77])}),_0xae0e9b[_0x431b23([0x74,0x68,0x65,0x6e])](()=>{_0x1fb35e||_0x50c732(_0x431b23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x465b37(){return _0x3084bb[_0x431b23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431b23([0x76,0x69,0x65,0x77])][_0x431b23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x431b23([0x61,0x75,0x74,0x6f]);}function _0x2172e3(){_0x3084bb[_0x431b23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431b23([0x76,0x69,0x65,0x77])][_0x431b23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x431b23([0x61,0x75,0x74,0x6f]);}}function _0x132b73(_0x47695d){const _0x5aa220=[new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfc70f6=>setTimeout(_0xfc70f6,0x5245795d^_0x3c2e7f)),_0xae0e9b[_0x431b23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac92e=>{let _0xfdde7b=0x0;_0x3084bb[_0x431b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x431b23([0x6f,0x6e])](_0x431b23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f2959,_0x3b030b)=>{_0x3b030b[0x0][_0x431b23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xfdde7b++,_0xfdde7b==(0x524c4669^_0x3c2e7f)&&(_0x5ac92e(),_0x3f2959[_0x431b23([0x6f,0x66,0x66])]());});}))];return window[_0x431b23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x431b23([0x72,0x61,0x63,0x65])](_0x5aa220)[_0x431b23([0x74,0x68,0x65,0x6e])](()=>_0x47695d);}async function _0x568d12(){await _0xae0e9b,_0x3084bb[_0x431b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x431b23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x390014,_0x3084bb[_0x431b23([0x6d,0x6f,0x64,0x65,0x6c])][_0x431b23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x390014,_0x3084bb[_0x431b23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x431b23([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c0712(_0xe02c65){const _0x42f8c5=_0xe6f376();_0x3084bb[_0x42f8c5]=_0x431b23([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe02c65,_0xe02c65!=_0x431b23([0x56,0x61,0x6c,0x69,0x64])&&_0x568d12();}function _0xe6f376(){const _0x408d3f=window[_0x431b23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x431b23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x431b23([0x6e,0x6f,0x77])]())[_0x431b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x431b23([0x2e]),'');let _0xa63424=_0x431b23([0x63]);for(let _0xe92cd6=0x0;_0xe92cd6<_0x408d3f[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe92cd6+=0x2){let _0x44f3d7=window[_0x431b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x408d3f[_0x431b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe92cd6,_0xe92cd6+0x2));_0x44f3d7>=_0x2c9e68[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44f3d7-=_0x2c9e68[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa63424+=_0x2c9e68[_0x44f3d7];}return _0xa63424;}function _0x2c8be4(){const _0x43c7fa=_0x375bc3[_0x431b23([0x73,0x70,0x6c,0x69,0x74])](_0x431b23([0x2e]));if(0x3!=_0x43c7fa[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x430df1(_0x43c7fa[0x1]);function _0x430df1(_0x107b16){const _0x10cb50=_0x41ea89(_0x107b16);return _0x10cb50&&_0x4beae5()?_0x10cb50:null;function _0x4beae5(){const _0x123ebd=_0x10cb50[_0x431b23([0x6a,0x74,0x69])],_0x4656d6=window[_0x431b23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123ebd[_0x431b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x123ebd[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x981359={..._0x10cb50,[_0x431b23([0x6a,0x74,0x69])]:_0x123ebd[_0x431b23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x123ebd[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x981359[_0x431b23([0x76,0x63])],_0x1f7880(_0x981359)==_0x4656d6;}}}async function _0xcc289(){let _0xa31c6c=!0x0;try{const _0x512842=_0x375bc3[_0x431b23([0x73,0x70,0x6c,0x69,0x74])](_0x431b23([0x2e])),[_0xefee97,_0x374766,_0x462926]=_0x512842;return _0xdd4b9a(_0xefee97),await _0x2c942f(_0xefee97,_0x374766,_0x462926),_0xa31c6c;}catch(_0x4f803f){return!0x1;}function _0xdd4b9a(_0x1118a8){const _0x1d33cf=_0x41ea89(_0x1118a8);_0x1d33cf&&_0x1d33cf[_0x431b23([0x61,0x6c,0x67])]==_0x431b23([0x45,0x53,0x32,0x35,0x36])||(_0xa31c6c=!0x1);}async function _0x2c942f(_0x587fa9,_0x40b5ff,_0x23bfb0){const _0x25471f=window[_0x431b23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x431b23([0x66,0x72,0x6f,0x6d])](_0x2892f7(_0x23bfb0),_0x397791=>_0x397791[_0x431b23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc3f1d5=new window[(_0x431b23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x431b23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x587fa9+_0x431b23([0x2e])+_0x40b5ff),_0x36fe5e=window[_0x431b23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x431b23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36fe5e)return;const _0x56947c=await _0x36fe5e[_0x431b23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x431b23([0x6a,0x77,0x6b]),_0x4ab85b,{[_0x431b23([0x6e,0x61,0x6d,0x65])]:_0x431b23([0x45,0x43,0x44,0x53,0x41]),[_0x431b23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x431b23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x431b23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36fe5e[_0x431b23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x431b23([0x6e,0x61,0x6d,0x65])]:_0x431b23([0x45,0x43,0x44,0x53,0x41]),[_0x431b23([0x68,0x61,0x73,0x68])]:{[_0x431b23([0x6e,0x61,0x6d,0x65])]:_0x431b23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56947c,_0x25471f,_0xc3f1d5)||(_0xa31c6c=!0x1);}}function _0x41ea89(_0x466c71){return _0x466c71[_0x431b23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x431b23([0x65,0x79]))?JSON[_0x431b23([0x70,0x61,0x72,0x73,0x65])](_0x2892f7(_0x466c71)):null;}function _0x2892f7(_0x2c8074){return window[_0x431b23([0x61,0x74,0x6f,0x62])](_0x2c8074[_0x431b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x431b23([0x2b]))[_0x431b23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x431b23([0x2f])));}function _0x1f7880(_0x3a9c54){let _0x2ee05e=0x1505;function _0x177b3f(_0x11a5c2){for(let _0x46173f=0x0;_0x46173f<_0x11a5c2[_0x431b23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46173f++){const _0x1416a8=_0x11a5c2[_0x431b23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46173f);_0x2ee05e=(_0x2ee05e<<0x5)+_0x2ee05e+_0x1416a8,_0x2ee05e&=_0x2ee05e;}}function _0x338c9b(_0x2022bd){Array[_0x431b23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2022bd)?_0x2022bd[_0x431b23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x338c9b):_0x2022bd&&typeof _0x2022bd==_0x431b23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x431b23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2022bd)[_0x431b23([0x73,0x6f,0x72,0x74])]()[_0x431b23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x59fb4c,_0x379d07])=>{_0x177b3f(_0x59fb4c),_0x338c9b(_0x379d07);}):_0x177b3f(window[_0x431b23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2022bd));}return _0x338c9b(_0x3a9c54),_0x2ee05e>>>0x0;}function _0x5c8f6c(_0x141689){return _0x141689[_0x431b23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x431b23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x431b23([0x30]));}function _0x3f7137(_0x16f9a7){return _0x16f9a7[_0x431b23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x431b23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x431b23([0x6a,0x6f,0x69,0x6e])]('');}function _0x390014(){}function _0x431b23(_0x528829){const _0x49c995=_0x1b6f;return _0x528829[_0x49c995(0x190)](_0x39f6fe=>String[_0x49c995(0x1bf)](_0x39f6fe))[_0x49c995(0x19b)]('');}_0x3c0712(await _0x2e1878());}(this);}[_0x50c9e3(0x194)](){const _0x28a4dd=_0x50c9e3,_0x1f31b5=this[_0x28a4dd(0x1b0)][_0x28a4dd(0x19f)][_0x28a4dd(0x1b4)];_0x1f31b5[_0x28a4dd(0x1b5)](_0x28a4dd(0x1c8))&&_0x1f31b5[_0x28a4dd(0x1ac)](_0x28a4dd(0x1c8),{'allowAttributes':[_0x28a4dd(0x188)]}),_0x1f31b5[_0x28a4dd(0x1b5)](_0x28a4dd(0x1b6))&&_0x1f31b5[_0x28a4dd(0x1ac)](_0x28a4dd(0x1b6),{'allowAttributes':[_0x28a4dd(0x188)]});}[_0x50c9e3(0x181)](){const _0x366c48=_0x50c9e3,_0x269367=this[_0x366c48(0x1b0)];_0x269367[_0x366c48(0x18c)][_0x366c48(0x18b)](_0x366c48(0x18a))[_0x366c48(0x1b2)]({'model':_0x366c48(0x188),'view':_0x366c48(0x1ce)}),_0x269367[_0x366c48(0x18c)][_0x366c48(0x18b)](_0x366c48(0x189))[_0x366c48(0x1a6)]({'model':{'key':_0x366c48(0x188),'value':_0x36d0ca=>_0x36d0ca[_0x366c48(0x1c5)](_0x366c48(0x1ce))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xf604dc=_0x269367[_0x366c48(0x1aa)][_0x366c48(0x1bd)](_0x366c48(0x1be));_0xf604dc&&this[_0x366c48(0x1d4)](_0xf604dc,_0x366c48(0x1cf),(_0x1f50c8,[_0x3cefaf,_0x5cf975])=>{const _0x4e5dc0=_0x366c48;_0x3cefaf[_0x4e5dc0(0x1d0)](_0x4e5dc0(0x188),_0x5cf975);});}[_0x50c9e3(0x1ba)](){const _0x3b2ae0=_0x50c9e3,_0x7102df=this[_0x3b2ae0(0x1b0)][_0x3b2ae0(0x1a1)][_0x3b2ae0(0x1bd)](_0x3b2ae0(0x1d5))||{},_0x55c20f=this[_0x3b2ae0(0x1b0)][_0x3b2ae0(0x1a1)][_0x3b2ae0(0x1bd)](_0x3b2ae0(0x1bb))||'';this[_0x3b2ae0(0x1ad)]=_0x4038ae(_0x537e4e[_0x3b2ae0(0x1b3)],_0x3b2ae0(0x1cc),{..._0x7102df,'pubkey':_0x55c20f,'ctx-name':_0x3b2ae0(0x1cb),'sourceList':'','imgOnly':_0x3b2ae0(0x1c3),'removeCopyright':_0x3b2ae0(0x1c3),'localeName':this[_0x3b2ae0(0x1b0)][_0x3b2ae0(0x1d1)][_0x3b2ae0(0x1c2)],'externalSourcesEmbedCss':_0x3b2ae0(0x18e)}),this[_0x3b2ae0(0x1ad)][_0x3b2ae0(0x1a8)]=_0x336846=>{const _0x209576=_0x3b2ae0;if(_0x209576(0x19a)==_0x336846)return _0x209576(0x1d6);},_0x537e4e[_0x3b2ae0(0x1b3)][_0x3b2ae0(0x197)][_0x3b2ae0(0x1a2)](this[_0x3b2ae0(0x1ad)]);}[_0x50c9e3(0x1a3)](){const _0x5b9eeb=_0x50c9e3;this[_0x5b9eeb(0x191)]=_0x4038ae(_0x537e4e[_0x5b9eeb(0x1b3)],_0x5b9eeb(0x1cd),{'ctx-name':_0x5b9eeb(0x1cb)}),_0x537e4e[_0x5b9eeb(0x1b3)][_0x5b9eeb(0x197)][_0x5b9eeb(0x1a2)](this[_0x5b9eeb(0x191)]);}[_0x50c9e3(0x19c)](){const _0x150e89=_0x50c9e3,_0x640db8=this[_0x150e89(0x1b0)][_0x150e89(0x1aa)][_0x150e89(0x1bd)](_0x150e89(0x186));_0x640db8&&this[_0x150e89(0x1d4)](_0x640db8,_0x150e89(0x1a4),()=>{const _0x41764f=_0x150e89,_0x170ce5=this[_0x41764f(0x1b0)][_0x41764f(0x19f)][_0x41764f(0x1b3)][_0x41764f(0x1a7)][_0x41764f(0x1ca)]();_0x170ce5&&_0x170ce5[_0x41764f(0x1c5)](_0x41764f(0x188))&&this[_0x41764f(0x1b0)][_0x41764f(0x185)][_0x41764f(0x1c0)][_0x41764f(0x1c7)](_0x41764f(0x1c4),()=>{const _0x31b464=_0x41764f;_0x48266a(this[_0x31b464(0x1b0)],_0x170ce5);});});const _0x2b09d0=this[_0x150e89(0x1b0)][_0x150e89(0x1aa)][_0x150e89(0x1bd)](_0x150e89(0x19d));_0x2b09d0&&this[_0x150e89(0x1d4)](_0x2b09d0,_0x150e89(0x1a4),()=>{const _0x15b093=_0x150e89,_0x56c89c=this[_0x15b093(0x1b0)][_0x15b093(0x19f)][_0x15b093(0x1b3)][_0x15b093(0x1a7)][_0x15b093(0x1ca)]();_0x56c89c&&_0x56c89c[_0x15b093(0x1c5)](_0x15b093(0x188))&&this[_0x15b093(0x1b0)][_0x15b093(0x185)][_0x15b093(0x1c0)][_0x15b093(0x1c7)](_0x15b093(0x1c4),()=>{const _0x5a70cd=_0x15b093;_0x48266a(this[_0x5a70cd(0x1b0)],_0x56c89c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x563d53,ObservableMixin as _0x38736b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x443268}from'ckeditor5/src/ui.js';import _0x186283 from'./uploadcareimageeditformview.js';import _0x1cf53c from'../../utils/uploadutils.js';import _0x28fb42 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x31ddb5,getImageDimension as _0xf67bb2}from'../../utils/editingutils.js';import{isAncestor as _0x3098da}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x38736b(){constructor(_0x33a870,_0x4b032a,_0x5a7ed6){super(),this['_editor']=_0x33a870,this['_dialog']=_0x4b032a,this['_imageElement']=_0x5a7ed6,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 _0x41c7c1=this['_imageElement'],_0x317afd=_0x41c7c1['getAttribute']('uploadcareImageId'),_0x155866=_0x41c7c1['getAttribute']('src');if(_0x317afd)await this['_loadImageInfo'](_0x317afd,_0x155866);else{if(this['_imageCache']['has'](_0x155866)){const _0x1a0516=this['_imageCache']['get'](_0x155866);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a0516['url'],this['imageDimension']=_0x1a0516['dimension'],this['imageId']=_0x1a0516['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2d3ee1}=this['_editor'],t=_0x2d3ee1['t'],_0x3bdc17=new _0x186283(_0x2d3ee1,this['imageStatus'],this['_attributes']);_0x3bdc17['bind']('status')['to'](this,'imageStatus'),_0x3bdc17['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3bdc17['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3bdc17['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3bdc17,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x28fb42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3bdc17,'position':_0x443268['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3bdc17['focus']();},'onHide':()=>{_0x3bdc17['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a8d36=>!_0x3098da(_0x3a8d36,_0x3bdc17['element'])}});}['_loadImageInfo'](_0x442003,_0x472074){return _0x1cf53c['getInfo'](_0x442003,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x424b03=>{const {width:_0x32d8f2,height:_0x438d81}=_0x424b03['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x472074,this['imageDimension']={'width':_0x32d8f2,'height':_0x438d81},this['imageId']=_0x442003;})['catch'](_0x3a510d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a510d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5df781,_0x15d572){return this['_getImageAsFile'](_0x5df781)['then'](_0x4cf6f3=>_0x1cf53c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x15d572['signal'],'file':_0x4cf6f3,'onProgress':_0x313de1=>{_0x313de1&&_0x313de1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x313de1['value']));}}))['then'](_0x12a31c=>{const {width:_0x3e0d8c,height:_0x51aecb}=_0x12a31c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12a31c['cdnUrl'],this['imageDimension']={'width':_0x3e0d8c,'height':_0x51aecb},this['imageId']=_0x12a31c['uuid'],this['imageUploadProgress']=null;const _0x26e26b=_0x5df781['getAttribute']('src');this['_imageCache']['set'](_0x26e26b,{'id':_0x12a31c['uuid'],'url':_0x12a31c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e32a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e32a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5cbed5,_0x333d5){_0x5cbed5['on']('apply',(_0x36a79e,_0x2b12c2)=>{this['_replaceImage'](_0x333d5,_0x2b12c2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5cbed5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5cbed5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x157a2f,_0x5c4aef,_0x464598){const _0x2b8385=this['_editor'],{width:_0x3204ff,height:_0x49360c}=_0xf67bb2(_0x5c4aef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e554b,imageSources:_0x36668e}=_0x31ddb5(_0x5c4aef,_0x3204ff);_0x2b8385['model']['change'](_0x4e7a89=>{if('$graveyard'===_0x157a2f['root']['rootName']){_0x2b8385['execute']('insertImage',{'imageType':_0x157a2f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c}});const _0x1dcf33=_0x157a2f['getChildren']();_0x157a2f=_0x2b8385['model']['document']['selection']['getSelectedElement']();for(const _0x19c77a of _0x1dcf33)_0x4e7a89['append'](_0x4e7a89['cloneElement'](_0x19c77a),_0x157a2f);}else _0x4e7a89['setSelection'](_0x157a2f,'on'),_0x2b8385['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c},_0x157a2f);_0x4e7a89['setSelection'](_0x157a2f,'on');});}async['_getImageAsFile'](_0x1d3685){const _0x43fb8f=_0x563d53['window'],_0x19ba92=_0x563d53['document']['location']['href'],_0x381378=new _0x43fb8f['URL'](_0x1d3685['getAttribute']('src'),_0x19ba92);if('data:'===_0x381378['protocol']){const _0x47adfb=_0x381378['href']['split'](','),_0x4bd2c5=_0x47adfb[0x0]['match'](/:(.*?);/)[0x1],_0x5dd84e=_0x4bd2c5['split']('/')[0x1],_0x3316d=_0x43fb8f['atob'](_0x47adfb[_0x47adfb['length']-0x1]);let _0x4bbff9=_0x3316d['length'];const _0x5f0d5f=new _0x43fb8f['Uint8Array'](_0x4bbff9);for(;_0x4bbff9--;)_0x5f0d5f[_0x4bbff9]=_0x3316d['charCodeAt'](_0x4bbff9);return new _0x43fb8f['File']([_0x5f0d5f],'image.'+_0x5dd84e,{'type':_0x4bd2c5});}const _0x52dbfb=_0x381378['href']['split']('/'),_0x206e76=_0x52dbfb[_0x52dbfb['length']-0x1],_0x2c9463=_0x206e76['split']('.')[0x1];return _0x43fb8f['fetch'](_0x381378['href'])['then'](_0x566fda=>_0x566fda['clone']()['blob']())['then'](_0x4abe0c=>new _0x43fb8f['File']([_0x4abe0c],_0x206e76,{'type':'image/'+_0x2c9463}));}}
23
+ import{global as _0x109671,ObservableMixin as _0x368c8d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x42abdc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x22ae42}from'ckeditor5/src/icons.js';import _0x2b652d from'./uploadcareimageeditformview.js';import _0x5e8703 from'../../utils/uploadutils.js';import{getImageUrls as _0x36be61,getImageDimension as _0x183d5d}from'../../utils/editingutils.js';import{isAncestor as _0x2e8071}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x368c8d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c908d,_0x56c5b0,_0x1b4fee){super(),this['_editor']=_0x4c908d,this['_dialog']=_0x56c5b0,this['_imageElement']=_0x1b4fee,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 _0x2205a0=this['_imageElement'],_0xefcf89=_0x2205a0['getAttribute']('uploadcareImageId'),_0x3a0349=_0x2205a0['getAttribute']('src');if(_0xefcf89)await this['_loadImageInfo'](_0xefcf89,_0x3a0349);else{if(this['_imageCache']['has'](_0x3a0349)){const _0x279025=this['_imageCache']['get'](_0x3a0349);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x279025['url'],this['imageDimension']=_0x279025['dimension'],this['imageId']=_0x279025['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b4b6c}=this['_editor'],t=_0x5b4b6c['t'],_0x4b7cb7=new _0x2b652d(_0x5b4b6c,this['imageStatus'],this['_attributes']);_0x4b7cb7['bind']('status')['to'](this,'imageStatus'),_0x4b7cb7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b7cb7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b7cb7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b7cb7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x22ae42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b7cb7,'position':_0x42abdc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b7cb7['focus']();},'onHide':()=>{_0x4b7cb7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x33587b=>!_0x2e8071(_0x33587b,_0x4b7cb7['element'])}});}['_loadImageInfo'](_0x234622,_0x10bfa9){return _0x5e8703['getInfo'](_0x234622,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x11b539=>{const {width:_0x6fcc3b,height:_0x30c04e}=_0x11b539['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10bfa9,this['imageDimension']={'width':_0x6fcc3b,'height':_0x30c04e},this['imageId']=_0x234622;})['catch'](_0x546ff3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x546ff3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1384b1,_0xf3229d){return this['_getImageAsFile'](_0x1384b1)['then'](_0x15299f=>_0x5e8703['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf3229d['signal'],'file':_0x15299f,'onProgress':_0x149717=>{_0x149717&&_0x149717['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x149717['value']));}}))['then'](_0x3b764c=>{const {width:_0x2d6fd5,height:_0x456674}=_0x3b764c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b764c['cdnUrl'],this['imageDimension']={'width':_0x2d6fd5,'height':_0x456674},this['imageId']=_0x3b764c['uuid'],this['imageUploadProgress']=null;const _0x37427c=_0x1384b1['getAttribute']('src');this['_imageCache']['set'](_0x37427c,{'id':_0x3b764c['uuid'],'url':_0x3b764c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2edb00=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2edb00['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5518af,_0x52217f){_0x5518af['on']('apply',(_0x12ef23,_0x34d3f5)=>{this['_replaceImage'](_0x52217f,_0x34d3f5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5518af['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5518af['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x203cde,_0x50b031,_0x3ff34d){const _0x23ac3a=this['_editor'],{width:_0x1ba1e9,height:_0x29d610}=_0x183d5d(_0x50b031,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x114a7c,imageSources:_0x412d67}=_0x36be61(_0x50b031,_0x1ba1e9);_0x23ac3a['model']['change'](_0x217bce=>{if('$graveyard'===_0x203cde['root']['rootName']){_0x23ac3a['execute']('insertImage',{'imageType':_0x203cde['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x203cde['getAttributes']()),'uploadcareImageId':_0x3ff34d,'src':_0x114a7c,'sources':_0x412d67,'width':_0x1ba1e9,'height':_0x29d610}});const _0x5bf96a=_0x203cde['getChildren']();_0x203cde=_0x23ac3a['model']['document']['selection']['getSelectedElement']();for(const _0x1eca6c of _0x5bf96a)_0x217bce['append'](_0x217bce['cloneElement'](_0x1eca6c),_0x203cde);}else _0x217bce['setSelection'](_0x203cde,'on'),_0x23ac3a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x203cde['getAttributes']()),'uploadcareImageId':_0x3ff34d,'src':_0x114a7c,'sources':_0x412d67,'width':_0x1ba1e9,'height':_0x29d610},_0x203cde);_0x217bce['setSelection'](_0x203cde,'on');});}async['_getImageAsFile'](_0xc53859){const _0x2e00cd=_0x109671['window'],_0x19c1e8=_0x109671['document']['location']['href'],_0x3c5b8d=new _0x2e00cd['URL'](_0xc53859['getAttribute']('src'),_0x19c1e8);if('data:'===_0x3c5b8d['protocol']){const _0x1a3061=_0x3c5b8d['href']['split'](','),_0x4e4560=_0x1a3061[0x0]['match'](/:(.*?);/)[0x1],_0x8a5737=_0x4e4560['split']('/')[0x1],_0x43d3f8=_0x2e00cd['atob'](_0x1a3061[_0x1a3061['length']-0x1]);let _0x17f7b1=_0x43d3f8['length'];const _0x310826=new _0x2e00cd['Uint8Array'](_0x17f7b1);for(;_0x17f7b1--;)_0x310826[_0x17f7b1]=_0x43d3f8['charCodeAt'](_0x17f7b1);return new _0x2e00cd['File']([_0x310826],'image.'+_0x8a5737,{'type':_0x4e4560});}const _0x20c527=_0x3c5b8d['href']['split']('/'),_0x900484=_0x20c527[_0x20c527['length']-0x1],_0x18bdc9=_0x900484['split']('.')[0x1];return _0x2e00cd['fetch'](_0x3c5b8d['href'])['then'](_0x45fd4a=>_0x45fd4a['clone']()['blob']())['then'](_0x5bf3b=>new _0x2e00cd['File']([_0x5bf3b],_0x900484,{'type':'image/'+_0x18bdc9}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30f1f8,_0x52d0c5){const _0x1aebd1=_0x153d,_0x271b29=_0x30f1f8();while(!![]){try{const _0x4fab0d=parseInt(_0x1aebd1(0x1d1))/0x1*(-parseInt(_0x1aebd1(0x1d0))/0x2)+-parseInt(_0x1aebd1(0x1bf))/0x3+-parseInt(_0x1aebd1(0x1c8))/0x4*(-parseInt(_0x1aebd1(0x1cf))/0x5)+-parseInt(_0x1aebd1(0x1c7))/0x6*(-parseInt(_0x1aebd1(0x1ce))/0x7)+parseInt(_0x1aebd1(0x1ca))/0x8*(-parseInt(_0x1aebd1(0x1c5))/0x9)+parseInt(_0x1aebd1(0x1cd))/0xa*(-parseInt(_0x1aebd1(0x1cb))/0xb)+parseInt(_0x1aebd1(0x1c0))/0xc;if(_0x4fab0d===_0x52d0c5)break;else _0x271b29['push'](_0x271b29['shift']());}catch(_0x18520a){_0x271b29['push'](_0x271b29['shift']());}}}(_0x5177,0x8254b));function _0x5177(){const _0x2bfa55=['uc-light','2868204HIlhvc','3645236MRcoCd','set','6749032qCvBfu','693ilNlEa','ck-uploadcare-theme','116100PHjRHE','7pJAYXQ','5wzbMit','9382yJubkA','104CVxhWd','imageSrc','1794225pyUVGf','21665880UxsCNZ','bindTemplate','image-edit','uc-cloud-image-editor','setTemplate','9hSMnmo'];_0x5177=function(){return _0x2bfa55;};return _0x5177();}function _0x153d(_0xee2f16,_0x2fba58){const _0x517780=_0x5177();return _0x153d=function(_0x153de3,_0x5d8876){_0x153de3=_0x153de3-0x1bf;let _0x57460e=_0x517780[_0x153de3];return _0x57460e;},_0x153d(_0xee2f16,_0x2fba58);}import{View as _0x58b19f}from'ckeditor5/src/ui.js';export default class tt extends _0x58b19f{constructor(_0x12a393,_0x19572a){const _0x2b1ace=_0x153d;super(_0x12a393);const _0x30248a=this[_0x2b1ace(0x1c1)];this[_0x2b1ace(0x1c9)](_0x2b1ace(0x1d2),''),this[_0x2b1ace(0x1c4)]({'tag':_0x2b1ace(0x1c3),'attributes':{..._0x19572a,'class':[_0x2b1ace(0x1c6),_0x2b1ace(0x1cc)],'ctx-name':_0x2b1ace(0x1c2),'cdn-url':_0x30248a['to'](_0x2b1ace(0x1d2))}});}}
23
+ function _0x5e3f(_0x41625a,_0x1c8e54){const _0x917b13=_0x917b();return _0x5e3f=function(_0x5e3f7c,_0x23e867){_0x5e3f7c=_0x5e3f7c-0xc3;let _0x4ad203=_0x917b13[_0x5e3f7c];return _0x4ad203;},_0x5e3f(_0x41625a,_0x1c8e54);}(function(_0xe760c3,_0x59bed8){const _0x34f5ab=_0x5e3f,_0x118eb6=_0xe760c3();while(!![]){try{const _0x2e0a76=parseInt(_0x34f5ab(0xd2))/0x1*(parseInt(_0x34f5ab(0xc9))/0x2)+-parseInt(_0x34f5ab(0xd4))/0x3+parseInt(_0x34f5ab(0xc7))/0x4*(-parseInt(_0x34f5ab(0xc3))/0x5)+parseInt(_0x34f5ab(0xc4))/0x6*(-parseInt(_0x34f5ab(0xca))/0x7)+-parseInt(_0x34f5ab(0xcf))/0x8*(-parseInt(_0x34f5ab(0xcd))/0x9)+-parseInt(_0x34f5ab(0xce))/0xa*(parseInt(_0x34f5ab(0xcb))/0xb)+parseInt(_0x34f5ab(0xd3))/0xc;if(_0x2e0a76===_0x59bed8)break;else _0x118eb6['push'](_0x118eb6['shift']());}catch(_0x400af5){_0x118eb6['push'](_0x118eb6['shift']());}}}(_0x917b,0x52982));import{View as _0x3930da}from'ckeditor5/src/ui.js';export default class tt extends _0x3930da{constructor(_0x381a36,_0x3fa2a8){const _0x396292=_0x5e3f;super(_0x381a36);const _0x30b94d=this[_0x396292(0xd6)];this[_0x396292(0xc8)](_0x396292(0xd0),''),this[_0x396292(0xc5)]({'tag':_0x396292(0xd1),'attributes':{..._0x3fa2a8,'class':[_0x396292(0xd5),_0x396292(0xc6)],'ctx-name':_0x396292(0xcc),'cdn-url':_0x30b94d['to'](_0x396292(0xd0))}});}}function _0x917b(){const _0x3dcc99=['15674412ojooKV','531195yfmnqc','uc-light','bindTemplate','5MylcYJ','6SKxRao','setTemplate','ck-uploadcare-theme','1837428EZnTFX','set','4qnZnUo','1586599EhBUCL','7018286ompSMB','image-edit','1009566sRkOoP','10jpFBTm','32PNmGyQ','imageSrc','uc-cloud-image-editor','42257nXNbkM'];_0x917b=function(){return _0x3dcc99;};return _0x917b();}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3f88c0,IconView as et,View as _0x3333d6}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x3333d6{constructor(_0x1f7d8c){super(_0x1f7d8c);const t=_0x1f7d8c['t'];this['set']('errorType',null);const _0x508939=new _0x3f88c0(_0x1f7d8c);_0x508939['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x508939['withText']=!0x0,_0x508939['class']='ck-button-action',_0x508939['on']('execute',()=>{this['fire']('retry');}),_0x508939['bind']('isVisible')['to'](this,'errorType',_0x49993a=>'NotFound'!==_0x49993a);const _0x2e246d=new et();_0x2e246d['content']=at,_0x2e246d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e7d7e=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':[_0x2e246d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e7d7e['to']('errorType',_0x34877d=>t('NotFound'!==_0x34877d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x508939]},{'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 _0x2dff14,IconView as at,View as _0x5626d7}from'ckeditor5/src/ui.js';export default class rt extends _0x5626d7{constructor(_0x3c1177){super(_0x3c1177);const t=_0x3c1177['t'];this['set']('errorType',null);const _0x3250ef=new _0x2dff14(_0x3c1177);_0x3250ef['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3250ef['withText']=!0x0,_0x3250ef['class']='ck-button-action',_0x3250ef['on']('execute',()=>{this['fire']('retry');}),_0x3250ef['bind']('isVisible')['to'](this,'errorType',_0x228139=>'NotFound'!==_0x228139);const _0x59e28c=new at();_0x59e28c['content']=et,_0x59e28c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xf0d56a=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':[_0x59e28c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xf0d56a['to']('errorType',_0x3ea720=>t('NotFound'!==_0x3ea720?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3250ef]},{'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 _0x5d6260,View as _0x2ae620}from'ckeditor5/src/ui.js';export default class ta extends _0x2ae620{constructor(_0x480b3c){super(_0x480b3c);const t=_0x480b3c['t'],_0x44b227=this['bindTemplate'],_0x5da497=new _0x5d6260();_0x5da497['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':[_0x5da497,{'text':_0x44b227['to']('imageUploadProgress',_0x463746=>t('Loading\x20image...')+'\x20('+(_0x463746||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 _0x94a908,View as _0x42d639}from'ckeditor5/src/ui.js';export default class ta extends _0x42d639{constructor(_0x3a9d13){super(_0x3a9d13);const t=_0x3a9d13['t'],_0x58abd7=this['bindTemplate'],_0x5d697b=new _0x94a908();_0x5d697b['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':[_0x5d697b,{'text':_0x58abd7['to']('imageUploadProgress',_0x5a8f33=>t('Loading\x20image...')+'\x20('+(_0x5a8f33||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x333070=_0x290e;(function(_0x27e9ee,_0x296384){const _0x99d237=_0x290e,_0x13c8e0=_0x27e9ee();while(!![]){try{const _0x1ad532=-parseInt(_0x99d237(0x13a))/0x1+-parseInt(_0x99d237(0x123))/0x2*(-parseInt(_0x99d237(0x125))/0x3)+parseInt(_0x99d237(0x133))/0x4+-parseInt(_0x99d237(0x128))/0x5*(parseInt(_0x99d237(0x148))/0x6)+parseInt(_0x99d237(0x13e))/0x7*(-parseInt(_0x99d237(0x135))/0x8)+-parseInt(_0x99d237(0x121))/0x9+parseInt(_0x99d237(0x143))/0xa;if(_0x1ad532===_0x296384)break;else _0x13c8e0['push'](_0x13c8e0['shift']());}catch(_0x2412b1){_0x13c8e0['push'](_0x13c8e0['shift']());}}}(_0x1a10,0x74664));import{View as _0x1d9fb3}from'ckeditor5/src/ui.js';import _0x3d7ec8 from'./uploadcareimageeditformloadingview.js';function _0x290e(_0x39eefb,_0x92bf13){const _0x1a104e=_0x1a10();return _0x290e=function(_0x290ea3,_0x40272a){_0x290ea3=_0x290ea3-0x117;let _0x1dd43e=_0x1a104e[_0x290ea3];return _0x1dd43e;},_0x290e(_0x39eefb,_0x92bf13);}import _0x52d0bd from'./uploadcareimageeditformerrorview.js';import _0x1ee6c0 from'./uploadcareimageeditformeditingview.js';import _0x183ff1 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x183ff1{constructor(_0x251f3a,_0x17dcd3,_0x21ea17){const _0x23cc8c=_0x290e;super(_0x251f3a),this[_0x23cc8c(0x11e)]=this[_0x23cc8c(0x12f)](),this[_0x23cc8c(0x141)]=new _0x3d7ec8(_0x251f3a),this[_0x23cc8c(0x147)]=new _0x52d0bd(_0x251f3a),this[_0x23cc8c(0x11d)]=new _0x1ee6c0(_0x251f3a,_0x21ea17),this[_0x23cc8c(0x130)]=new _0x1d9fb3(_0x251f3a),this[_0x23cc8c(0x130)][_0x23cc8c(0x120)](this[_0x23cc8c(0x145)]()),this[_0x23cc8c(0x122)](_0x23cc8c(0x142),_0x17dcd3),this[_0x23cc8c(0x120)]({'tag':_0x23cc8c(0x13c),'attributes':{'class':['ck',_0x23cc8c(0x12e),_0x23cc8c(0x127)],'tabindex':'-1'},'children':this[_0x23cc8c(0x11e)]}),this[_0x23cc8c(0x129)](),this[_0x23cc8c(0x124)](_0x23cc8c(0x11c),()=>{const _0x139dca=_0x23cc8c;this[_0x139dca(0x119)](this[_0x139dca(0x14d)],_0x2aae92=>{const _0x5c2fc3=_0x139dca;this[_0x5c2fc3(0x13f)](_0x2aae92);});}),this['on'](_0x23cc8c(0x11a),()=>{const _0x30d402=_0x23cc8c;this[_0x30d402(0x129)]();}),this[_0x23cc8c(0x144)]();}[_0x333070(0x117)](){const _0x156730=_0x333070;this[_0x156730(0x14d)][_0x156730(0x117)]();}[_0x333070(0x129)](){const _0x2906fb=_0x333070;switch(this[_0x2906fb(0x11e)][_0x2906fb(0x134)](),this[_0x2906fb(0x142)]){case _0x2906fb(0x146):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x141)]);break;case _0x2906fb(0x139):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x147)]);break;case _0x2906fb(0x137):this[_0x2906fb(0x11e)][_0x2906fb(0x12d)]([this[_0x2906fb(0x11d)],this[_0x2906fb(0x130)]]);}}[_0x333070(0x119)](_0x353209,_0x1ac8b9){const _0x52f68e=_0x333070,_0x2cdf87=_0x52f68e(0x13d),_0x43e6bb=_0x353209[_0x52f68e(0x131)](_0x2cdf87);if(_0x43e6bb)return _0x1ac8b9(_0x43e6bb);const _0x470175=new MutationObserver(_0x28065f=>{const _0x1d5eca=_0x52f68e,_0x3fad7d=_0x28065f[_0x1d5eca(0x11b)](_0xc24a8=>_0xc24a8[_0x1d5eca(0x140)]===_0x353209&&_0xc24a8[_0x1d5eca(0x12a)][_0x1d5eca(0x11f)]>0x0&&_0xc24a8[_0x1d5eca(0x12a)][0x0][_0x1d5eca(0x132)][_0x1d5eca(0x14c)]()===_0x2cdf87);_0x3fad7d[_0x1d5eca(0x11f)]&&(_0x470175[_0x1d5eca(0x149)](),_0x1ac8b9(_0x3fad7d[0x0][_0x1d5eca(0x12a)][0x0]));});_0x470175[_0x52f68e(0x12c)](_0x353209,{'childList':!0x0,'subtree':!0x0});}[_0x333070(0x13f)](_0x426911){const _0x36622d=_0x333070;_0x426911[_0x36622d(0x136)](_0x36622d(0x13b),_0x539dec=>{const _0x28408b=_0x36622d;this[_0x28408b(0x12b)](_0x28408b(0x13b),{'imageSrc':_0x539dec[_0x28408b(0x14b)][_0x28408b(0x126)]});}),_0x426911[_0x36622d(0x136)](_0x36622d(0x138),()=>{const _0xde0b4b=_0x36622d;this[_0xde0b4b(0x12b)](_0xde0b4b(0x138));});}[_0x333070(0x144)](){const _0x20f8ed=_0x333070;this[_0x20f8ed(0x147)]['on'](_0x20f8ed(0x14a),()=>{const _0x3c095a=_0x20f8ed;this[_0x3c095a(0x12b)](_0x3c095a(0x14a));});}}function _0x1a10(){const _0xcd4b13=['createCollection','_focusableView','querySelector','nodeName','2614392qsIvIg','clear','112NIXjPJ','addEventListener','ready','cancel','error','937832doucSE','apply','div','uc-cloud-image-editor','94045VVvBjQ','_addUploadcareImageEditorListeners','target','_loadingView','status','14900420axYcMA','_addErrorViewListeners','getFocusableElement','uploading','_errorView','234408LYpsyU','disconnect','retry','detail','toLowerCase','element','focus','add','_waitForImageEditorComponent','change:status','filter','render','_editingView','_items','length','setTemplate','3089520FUWBSa','set','186596lmVFtb','once','15stprBQ','cdnUrl','ck-uploadcare-form','85LMEAdC','_setView','addedNodes','fire','observe','addMany','ck-reset_all-excluded'];_0x1a10=function(){return _0xcd4b13;};return _0x1a10();}
23
+ const _0x1b4bcd=_0x7c92;function _0x1f59(){const _0x1d4850=['_focusableView','_editingView','nodeName','_addErrorViewListeners','element','setTemplate','addEventListener','observe','1091932PscJxd','set','detail','50wRXxVq','uploading','570628iQnnfi','add','filter','length','ck-uploadcare-form','ready','18715444ttGbub','uc-cloud-image-editor','addMany','2286315vRXSXF','691839liRaLi','_loadingView','getFocusableElement','retry','2737XylOcn','3BHhSdm','_setView','change:status','3983442UHjEMi','error','target','addedNodes','status','querySelector','cdnUrl','createCollection','_waitForImageEditorComponent','fire','render','ck-reset_all-excluded','apply','_items','1FvirOu','once','focus','10928tWoDSg','_addUploadcareImageEditorListeners','toLowerCase','div','_errorView','cancel','disconnect','clear'];_0x1f59=function(){return _0x1d4850;};return _0x1f59();}(function(_0x10b5c0,_0x4af532){const _0x389221=_0x7c92,_0x3f8035=_0x10b5c0();while(!![]){try{const _0x78151=parseInt(_0x389221(0xab))/0x1*(parseInt(_0x389221(0xbe))/0x2)+parseInt(_0x389221(0x9a))/0x3*(parseInt(_0x389221(0xc3))/0x4)+-parseInt(_0x389221(0xcc))/0x5+-parseInt(_0x389221(0x9d))/0x6+-parseInt(_0x389221(0x99))/0x7*(parseInt(_0x389221(0xae))/0x8)+-parseInt(_0x389221(0x95))/0x9*(parseInt(_0x389221(0xc1))/0xa)+parseInt(_0x389221(0xc9))/0xb;if(_0x78151===_0x4af532)break;else _0x3f8035['push'](_0x3f8035['shift']());}catch(_0x25db4a){_0x3f8035['push'](_0x3f8035['shift']());}}}(_0x1f59,0x558bc));import{View as _0x224f8c}from'ckeditor5/src/ui.js';import _0x4e2fbf from'./uploadcareimageeditformloadingview.js';import _0x3d9ddb from'./uploadcareimageeditformerrorview.js';function _0x7c92(_0x532813,_0x3a4af4){const _0x1f5955=_0x1f59();return _0x7c92=function(_0x7c9281,_0x334f56){_0x7c9281=_0x7c9281-0x95;let _0x46d6b6=_0x1f5955[_0x7c9281];return _0x46d6b6;},_0x7c92(_0x532813,_0x3a4af4);}import _0x5d6fb3 from'./uploadcareimageeditformeditingview.js';import _0x503bd7 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x503bd7{[_0x1b4bcd(0xaa)];[_0x1b4bcd(0x96)];[_0x1b4bcd(0xb2)];[_0x1b4bcd(0xb7)];[_0x1b4bcd(0xb6)];constructor(_0x3c884d,_0x45b07c,_0x41f0af){const _0x3847fd=_0x1b4bcd;super(_0x3c884d),this[_0x3847fd(0xaa)]=this[_0x3847fd(0xa4)](),this[_0x3847fd(0x96)]=new _0x4e2fbf(_0x3c884d),this[_0x3847fd(0xb2)]=new _0x3d9ddb(_0x3c884d),this[_0x3847fd(0xb7)]=new _0x5d6fb3(_0x3c884d,_0x41f0af),this[_0x3847fd(0xb6)]=new _0x224f8c(_0x3c884d),this[_0x3847fd(0xb6)][_0x3847fd(0xbb)](this[_0x3847fd(0x97)]()),this[_0x3847fd(0xbf)](_0x3847fd(0xa1),_0x45b07c),this[_0x3847fd(0xbb)]({'tag':_0x3847fd(0xb1),'attributes':{'class':['ck',_0x3847fd(0xa8),_0x3847fd(0xc7)],'tabindex':'-1'},'children':this[_0x3847fd(0xaa)]}),this[_0x3847fd(0x9b)](),this[_0x3847fd(0xac)](_0x3847fd(0xa7),()=>{const _0x573d67=_0x3847fd;this[_0x573d67(0xa5)](this[_0x573d67(0xba)],_0x30413e=>{const _0x5a605d=_0x573d67;this[_0x5a605d(0xaf)](_0x30413e);});}),this['on'](_0x3847fd(0x9c),()=>{const _0x403ee2=_0x3847fd;this[_0x403ee2(0x9b)]();}),this[_0x3847fd(0xb9)]();}[_0x1b4bcd(0xad)](){const _0x22ee69=_0x1b4bcd;this[_0x22ee69(0xba)][_0x22ee69(0xad)]();}[_0x1b4bcd(0x9b)](){const _0x58d852=_0x1b4bcd;switch(this[_0x58d852(0xaa)][_0x58d852(0xb5)](),this[_0x58d852(0xa1)]){case _0x58d852(0xc2):this[_0x58d852(0xaa)][_0x58d852(0xc4)](this[_0x58d852(0x96)]);break;case _0x58d852(0x9e):this[_0x58d852(0xaa)][_0x58d852(0xc4)](this[_0x58d852(0xb2)]);break;case _0x58d852(0xc8):this[_0x58d852(0xaa)][_0x58d852(0xcb)]([this[_0x58d852(0xb7)],this[_0x58d852(0xb6)]]);}}[_0x1b4bcd(0xa5)](_0x357804,_0x5e83f5){const _0x3a7ce2=_0x1b4bcd,_0x5ef42a=_0x3a7ce2(0xca),_0x389b2d=_0x357804[_0x3a7ce2(0xa2)](_0x5ef42a);if(_0x389b2d)return _0x5e83f5(_0x389b2d);const _0x2a7b7d=new MutationObserver(_0x1ac95a=>{const _0x2cef3a=_0x3a7ce2,_0x38cde3=_0x1ac95a[_0x2cef3a(0xc5)](_0x5c8be7=>_0x5c8be7[_0x2cef3a(0x9f)]===_0x357804&&_0x5c8be7[_0x2cef3a(0xa0)][_0x2cef3a(0xc6)]>0x0&&_0x5c8be7[_0x2cef3a(0xa0)][0x0][_0x2cef3a(0xb8)][_0x2cef3a(0xb0)]()===_0x5ef42a);_0x38cde3[_0x2cef3a(0xc6)]&&(_0x2a7b7d[_0x2cef3a(0xb4)](),_0x5e83f5(_0x38cde3[0x0][_0x2cef3a(0xa0)][0x0]));});_0x2a7b7d[_0x3a7ce2(0xbd)](_0x357804,{'childList':!0x0,'subtree':!0x0});}[_0x1b4bcd(0xaf)](_0x34eede){const _0x4a291b=_0x1b4bcd;_0x34eede[_0x4a291b(0xbc)](_0x4a291b(0xa9),_0x16e150=>{const _0x8d0f54=_0x4a291b;this[_0x8d0f54(0xa6)](_0x8d0f54(0xa9),{'imageSrc':_0x16e150[_0x8d0f54(0xc0)][_0x8d0f54(0xa3)]});}),_0x34eede[_0x4a291b(0xbc)](_0x4a291b(0xb3),()=>{const _0x52fcac=_0x4a291b;this[_0x52fcac(0xa6)](_0x52fcac(0xb3));});}[_0x1b4bcd(0xb9)](){const _0x1014fe=_0x1b4bcd;this[_0x1014fe(0xb2)]['on'](_0x1014fe(0x98),()=>{const _0x224c8e=_0x1014fe;this[_0x224c8e(0xa6)](_0x224c8e(0x98));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b049f=_0x1167;(function(_0x184e00,_0x5a89f8){const _0x526698=_0x1167,_0x26b2c4=_0x184e00();while(!![]){try{const _0x3f0d73=parseInt(_0x526698(0x1a1))/0x1*(-parseInt(_0x526698(0x190))/0x2)+parseInt(_0x526698(0x1a4))/0x3+-parseInt(_0x526698(0x19d))/0x4*(-parseInt(_0x526698(0x19f))/0x5)+parseInt(_0x526698(0x196))/0x6*(parseInt(_0x526698(0x193))/0x7)+parseInt(_0x526698(0x18d))/0x8+-parseInt(_0x526698(0x18f))/0x9+-parseInt(_0x526698(0x1aa))/0xa;if(_0x3f0d73===_0x5a89f8)break;else _0x26b2c4['push'](_0x26b2c4['shift']());}catch(_0x3bdf73){_0x26b2c4['push'](_0x26b2c4['shift']());}}}(_0x1d73,0x39804));import{Command as _0x1af575}from'ckeditor5/src/core.js';function _0x1167(_0x650af,_0x410650){const _0x1d7378=_0x1d73();return _0x1167=function(_0x116722,_0x2b859f){_0x116722=_0x116722-0x18d;let _0x4d55be=_0x1d7378[_0x116722];return _0x4d55be;},_0x1167(_0x650af,_0x410650);}import{Dialog as _0xe88659}from'ckeditor5/src/ui.js';function _0x1d73(){const _0x262e42=['get','selection','_isEditable','execute','7593850TmKBGI','imageInline','requires','2135200UrOFWT','document','404946MvruRp','282764MNSNAI','isEnabled','element','21ffvGgv','plugins','editor','537870GmoYDj','uploadcare.allowExternalImagesEditing','imageEditController','unbind','set','config','bind','4tdQZXA','imageBlock','1073120BDyWhR','refresh','1KhFkFq','isActive','getSelectedElement','1292478TUnpWa','model'];_0x1d73=function(){return _0x262e42;};return _0x1d73();}import _0x1f8d94 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4dff2f}from'../utils/editingutils.js';export default class J extends _0x1af575{static get[_0x2b049f(0x1ac)](){return[_0xe88659];}constructor(_0xec777f){const _0x362bdb=_0x2b049f;super(_0xec777f),this[_0x362bdb(0x198)]=void 0x0,this[_0x362bdb(0x1a8)]=_0x4dff2f(_0xec777f[_0x362bdb(0x19b)][_0x362bdb(0x1a6)](_0x362bdb(0x197))||[]),this[_0x362bdb(0x19a)]({'isActive':!0x1});}[_0x2b049f(0x1a0)](){const _0x23f966=_0x2b049f,_0x12e69a=this[_0x23f966(0x195)][_0x23f966(0x1a5)][_0x23f966(0x18e)][_0x23f966(0x1a7)][_0x23f966(0x1a3)]();this[_0x23f966(0x191)]=this[_0x23f966(0x1a8)](_0x12e69a);}[_0x2b049f(0x1a9)](){const _0x59ae85=_0x2b049f;this[_0x59ae85(0x198)]&&(this[_0x59ae85(0x199)](_0x59ae85(0x1a2)),this[_0x59ae85(0x198)]=void 0x0);const _0x3c1a3c=this[_0x59ae85(0x195)][_0x59ae85(0x1a5)][_0x59ae85(0x18e)][_0x59ae85(0x1a7)][_0x59ae85(0x1a3)]();_0x3c1a3c&&(_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x19e))||_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x1ab)))&&(this[_0x59ae85(0x198)]=new _0x1f8d94(this[_0x59ae85(0x195)],this[_0x59ae85(0x195)][_0x59ae85(0x194)][_0x59ae85(0x1a6)](_0xe88659),_0x3c1a3c),this[_0x59ae85(0x19c)](_0x59ae85(0x1a2))['to'](this[_0x59ae85(0x198)],_0x59ae85(0x1a2)));}}
23
+ const _0x2d0429=_0x68cb;(function(_0x2bad0a,_0x4111d9){const _0x336d14=_0x68cb,_0x6d13e4=_0x2bad0a();while(!![]){try{const _0x450684=-parseInt(_0x336d14(0x7a))/0x1*(-parseInt(_0x336d14(0x85))/0x2)+parseInt(_0x336d14(0x7e))/0x3+parseInt(_0x336d14(0x8a))/0x4*(parseInt(_0x336d14(0x80))/0x5)+-parseInt(_0x336d14(0x89))/0x6*(parseInt(_0x336d14(0x81))/0x7)+-parseInt(_0x336d14(0x7d))/0x8*(parseInt(_0x336d14(0x76))/0x9)+parseInt(_0x336d14(0x82))/0xa+parseInt(_0x336d14(0x73))/0xb;if(_0x450684===_0x4111d9)break;else _0x6d13e4['push'](_0x6d13e4['shift']());}catch(_0x578bfa){_0x6d13e4['push'](_0x6d13e4['shift']());}}}(_0x61fc,0x45184));function _0x61fc(){const _0x36b7f6=['709OYpwfR','element','imageInline','4026272wHzZKZ','290994CFWdlc','selection','5xGMGbg','224toPWBG','1563520kFvqkJ','uploadcare.allowExternalImagesEditing','plugins','706ILRGrl','imageEditController','refresh','execute','47274aLMnpc','336524NXBaiv','requires','set','config','_isEditable','unbind','model','bind','get','document','4957326nVXZvY','getSelectedElement','imageBlock','9hVaCcw','isActive','editor','isEnabled'];_0x61fc=function(){return _0x36b7f6;};return _0x61fc();}import{Command as _0x263824}from'ckeditor5/src/core.js';import{Dialog as _0x29da5d}from'ckeditor5/src/ui.js';function _0x68cb(_0x4fdc83,_0x42bbb2){const _0x61fce1=_0x61fc();return _0x68cb=function(_0x68cb0a,_0x48ff3f){_0x68cb0a=_0x68cb0a-0x6f;let _0x5deeed=_0x61fce1[_0x68cb0a];return _0x5deeed;},_0x68cb(_0x4fdc83,_0x42bbb2);}import _0x1154d4 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d64b6}from'../utils/editingutils.js';export default class J extends _0x263824{[_0x2d0429(0x86)];static get[_0x2d0429(0x8b)](){return[_0x29da5d];}[_0x2d0429(0x8e)];constructor(_0x12364b){const _0xfd2c5e=_0x2d0429;super(_0x12364b),this[_0xfd2c5e(0x86)]=void 0x0,this[_0xfd2c5e(0x8e)]=_0x5d64b6(_0x12364b[_0xfd2c5e(0x8d)][_0xfd2c5e(0x71)](_0xfd2c5e(0x83))||[]),this[_0xfd2c5e(0x8c)]({'isActive':!0x1});}[_0x2d0429(0x87)](){const _0x271561=_0x2d0429,_0x4de735=this[_0x271561(0x78)][_0x271561(0x6f)][_0x271561(0x72)][_0x271561(0x7f)][_0x271561(0x74)]();this[_0x271561(0x79)]=this[_0x271561(0x8e)](_0x4de735);}[_0x2d0429(0x88)](){const _0x2a3f5c=_0x2d0429;this[_0x2a3f5c(0x86)]&&(this[_0x2a3f5c(0x8f)](_0x2a3f5c(0x77)),this[_0x2a3f5c(0x86)]=void 0x0);const _0x404908=this[_0x2a3f5c(0x78)][_0x2a3f5c(0x6f)][_0x2a3f5c(0x72)][_0x2a3f5c(0x7f)][_0x2a3f5c(0x74)]();_0x404908&&(_0x404908['is'](_0x2a3f5c(0x7b),_0x2a3f5c(0x75))||_0x404908['is'](_0x2a3f5c(0x7b),_0x2a3f5c(0x7c)))&&(this[_0x2a3f5c(0x86)]=new _0x1154d4(this[_0x2a3f5c(0x78)],this[_0x2a3f5c(0x78)][_0x2a3f5c(0x84)][_0x2a3f5c(0x71)](_0x29da5d),_0x404908),this[_0x2a3f5c(0x70)](_0x2a3f5c(0x77))['to'](this[_0x2a3f5c(0x86)],_0x2a3f5c(0x77)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19a36c=_0x1818;function _0x4874(){const _0x5d4565=['276750haRXhb','ImageEditing','ImageUtils','commands','40977kUxNaA','381dFwCuy','uploadcareImageEdit','508145RCaGoG','5529IhrLOP','uploadcareImageReplace','32492sLeWHN','135asWqMY','278rWdLlQ','isPremiumPlugin','init','3122780KpsLDx','UploadcareImageEditEditing','isOfficialPlugin','256MQrYOE','requires','10553487LcpPtx','pluginName','852KbLhib','add'];_0x4874=function(){return _0x5d4565;};return _0x4874();}(function(_0x55dfe3,_0x290a9c){const _0x1a624a=_0x1818,_0xf9714a=_0x55dfe3();while(!![]){try{const _0x255178=-parseInt(_0x1a624a(0x106))/0x1*(-parseInt(_0x1a624a(0x10a))/0x2)+parseInt(_0x1a624a(0x103))/0x3*(parseInt(_0x1a624a(0x108))/0x4)+-parseInt(_0x1a624a(0x109))/0x5*(-parseInt(_0x1a624a(0xfe))/0x6)+parseInt(_0x1a624a(0xfa))/0x7+-parseInt(_0x1a624a(0xf8))/0x8*(parseInt(_0x1a624a(0x102))/0x9)+-parseInt(_0x1a624a(0xf5))/0xa+parseInt(_0x1a624a(0x105))/0xb*(-parseInt(_0x1a624a(0xfc))/0xc);if(_0x255178===_0x290a9c)break;else _0xf9714a['push'](_0xf9714a['shift']());}catch(_0x1c00df){_0xf9714a['push'](_0xf9714a['shift']());}}}(_0x4874,0xc70f5));import{Plugin as _0x503581}from'ckeditor5/src/core.js';import{Notification as _0x2c9ea6}from'ckeditor5/src/ui.js';import _0x5447cf from'./uploadcareimageeditcommand.js';function _0x1818(_0x354e8a,_0x395289){const _0x487499=_0x4874();return _0x1818=function(_0x181899,_0x35fbe8){_0x181899=_0x181899-0xf3;let _0x4a8bbd=_0x487499[_0x181899];return _0x4a8bbd;},_0x1818(_0x354e8a,_0x395289);}import _0x18185e from'./uploadcareimagereplacecommand.js';import _0x5ade06 from'../uploadcareediting.js';export default class m extends _0x503581{static get[_0x19a36c(0xfb)](){const _0x32f7fa=_0x19a36c;return _0x32f7fa(0xf6);}static get[_0x19a36c(0xf9)](){const _0x2df730=_0x19a36c;return[_0x5ade06,_0x2c9ea6,_0x2df730(0x100),_0x2df730(0xff)];}static get[_0x19a36c(0xf7)](){return!0x0;}static get[_0x19a36c(0xf3)](){return!0x0;}[_0x19a36c(0xf4)](){const _0x362015=_0x19a36c,{editor:_0x1106ab}=this;_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x104),new _0x5447cf(_0x1106ab)),_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x107),new _0x18185e(_0x1106ab));}}
23
+ const _0x2508e0=_0x4ffc;(function(_0x346f07,_0x357eaa){const _0xbb97de=_0x4ffc,_0x26b630=_0x346f07();while(!![]){try{const _0x55de4c=-parseInt(_0xbb97de(0x115))/0x1*(-parseInt(_0xbb97de(0x11d))/0x2)+-parseInt(_0xbb97de(0x10f))/0x3+-parseInt(_0xbb97de(0x109))/0x4*(-parseInt(_0xbb97de(0x11a))/0x5)+-parseInt(_0xbb97de(0x118))/0x6+-parseInt(_0xbb97de(0x10a))/0x7*(-parseInt(_0xbb97de(0x11c))/0x8)+parseInt(_0xbb97de(0x113))/0x9+-parseInt(_0xbb97de(0x10c))/0xa;if(_0x55de4c===_0x357eaa)break;else _0x26b630['push'](_0x26b630['shift']());}catch(_0x209573){_0x26b630['push'](_0x26b630['shift']());}}}(_0x39ec,0xa4011));import{Plugin as _0x4c98d7}from'ckeditor5/src/core.js';import{Notification as _0x95cba1}from'ckeditor5/src/ui.js';function _0x4ffc(_0x3a9ff2,_0x36c26c){const _0x39ec3=_0x39ec();return _0x4ffc=function(_0x4ffc49,_0x354302){_0x4ffc49=_0x4ffc49-0x108;let _0x4e5269=_0x39ec3[_0x4ffc49];return _0x4e5269;},_0x4ffc(_0x3a9ff2,_0x36c26c);}import _0x3b44aa from'./uploadcareimageeditcommand.js';import _0x5bed22 from'./uploadcareimagereplacecommand.js';import _0x3f6c51 from'../uploadcareediting.js';function _0x39ec(){const _0xb4cd41=['isPremiumPlugin','5305122CaugcD','isOfficialPlugin','2902685NyQvlz','uploadcareImageEdit','378448OLOEWQ','29494QwGKYz','init','4FvmORR','105qCDTiy','UploadcareImageEditEditing','7290070dqOxmV','commands','uploadcareImageReplace','2308212xBLjqx','ImageEditing','requires','pluginName','5525694KfoucE','ImageUtils','78bZziAw','add'];_0x39ec=function(){return _0xb4cd41;};return _0x39ec();}export default class g extends _0x4c98d7{static get[_0x2508e0(0x112)](){const _0x29056a=_0x2508e0;return _0x29056a(0x10b);}static get[_0x2508e0(0x111)](){const _0x5341bc=_0x2508e0;return[_0x3f6c51,_0x95cba1,_0x5341bc(0x114),_0x5341bc(0x110)];}static get[_0x2508e0(0x119)](){return!0x0;}static get[_0x2508e0(0x117)](){return!0x0;}[_0x2508e0(0x108)](){const _0x257a24=_0x2508e0,{editor:_0x17e755}=this;_0x17e755[_0x257a24(0x10d)][_0x257a24(0x116)](_0x257a24(0x11b),new _0x3b44aa(_0x17e755)),_0x17e755[_0x257a24(0x10d)][_0x257a24(0x116)](_0x257a24(0x10e),new _0x5bed22(_0x17e755));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5e4b0d}from'ckeditor5/src/core.js';import{ButtonView as _0x45464a}from'ckeditor5/src/ui.js';import{createElement as _0x4de17d}from'ckeditor5/src/utils.js';import _0x30fa1c from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x5e4b0d{constructor(){super(...arguments),this['_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 _0x17f495=this['editor'];_0x17f495['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5713d3=>{const _0x426c8e=_0x17f495['commands']['get']('uploadcareImageEdit'),_0x10414c=new _0x45464a(_0x5713d3),t=_0x5713d3['t'];return _0x10414c['set']({'icon':_0x30fa1c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x10414c['bind']('isEnabled')['to'](_0x426c8e),_0x10414c['bind']('isOn')['to'](_0x426c8e,'isActive'),this['listenTo'](_0x10414c,'execute',()=>{_0x17f495['execute']('uploadcareImageEdit'),_0x17f495['editing']['view']['focus']();}),_0x10414c;}),this['_initConfig']();}['_initConfig'](){const _0x54a238=_0x4de17d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x54a238),this['listenTo'](this['editor'],'destroy',()=>{_0x54a238['remove']();});}}
23
+ import{Plugin as _0x1f715a}from'ckeditor5/src/core.js';import{ButtonView as _0x2648e4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x334bf4}from'ckeditor5/src/icons.js';import{createElement as _0x1390cd}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 _0x1f715a{['_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 _0x4df8f4=this['editor'];_0x4df8f4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d3c45=>{const _0x107fa0=_0x4df8f4['commands']['get']('uploadcareImageEdit'),_0x3cf350=new _0x2648e4(_0x4d3c45),t=_0x4d3c45['t'];return _0x3cf350['set']({'icon':_0x334bf4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3cf350['bind']('isEnabled')['to'](_0x107fa0),_0x3cf350['bind']('isOn')['to'](_0x107fa0,'isActive'),this['listenTo'](_0x3cf350,'execute',()=>{_0x4df8f4['execute']('uploadcareImageEdit'),_0x4df8f4['editing']['view']['focus']();}),_0x3cf350;}),this['_initConfig']();}['_initConfig'](){const _0x5e50bd=_0x1390cd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e50bd),this['listenTo'](this['editor'],'destroy',()=>{_0x5e50bd['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x135a99=_0x17d0;function _0x17d0(_0x491a96,_0x151df5){const _0xc5aaed=_0xc5aa();return _0x17d0=function(_0x17d02d,_0x1c8774){_0x17d02d=_0x17d02d-0x15f;let _0x4b6688=_0xc5aaed[_0x17d02d];return _0x4b6688;},_0x17d0(_0x491a96,_0x151df5);}(function(_0x5783ff,_0x1e37b3){const _0x4a0957=_0x17d0,_0xf0ce7f=_0x5783ff();while(!![]){try{const _0x1eca75=-parseInt(_0x4a0957(0x160))/0x1+-parseInt(_0x4a0957(0x172))/0x2*(-parseInt(_0x4a0957(0x170))/0x3)+-parseInt(_0x4a0957(0x175))/0x4*(-parseInt(_0x4a0957(0x169))/0x5)+parseInt(_0x4a0957(0x178))/0x6+-parseInt(_0x4a0957(0x171))/0x7+parseInt(_0x4a0957(0x163))/0x8*(parseInt(_0x4a0957(0x166))/0x9)+-parseInt(_0x4a0957(0x176))/0xa*(parseInt(_0x4a0957(0x177))/0xb);if(_0x1eca75===_0x1e37b3)break;else _0xf0ce7f['push'](_0xf0ce7f['shift']());}catch(_0x2546e3){_0xf0ce7f['push'](_0xf0ce7f['shift']());}}}(_0xc5aa,0x313db));import{Command as _0x1d792a}from'ckeditor5/src/core.js';export default class O extends _0x1d792a{[_0x135a99(0x164)](){const _0x5022b9=_0x135a99,_0x26dded=this[_0x5022b9(0x165)][_0x5022b9(0x179)][_0x5022b9(0x16a)][_0x5022b9(0x16d)][_0x5022b9(0x16c)]();this[_0x5022b9(0x161)]=Boolean(_0x26dded&&(_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x167))||_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x173))));}[_0x135a99(0x16e)](_0x3d9b41){const _0x2baa4c=_0x135a99,_0x3844f6=this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16a)][_0x2baa4c(0x16d)][_0x2baa4c(0x16c)]();this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16f)](_0x4e268a=>{const _0x18109b=_0x2baa4c;_0x4e268a[_0x18109b(0x15f)](_0x3d9b41,_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x174),_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x16b),_0x3844f6);});}}function _0xc5aa(){const _0x53bf6b=['1505226rOAlvP','model','setAttributes','97442QtEYUS','isEnabled','removeAttribute','464MIdDJC','refresh','editor','52812eOsPqT','imageBlock','element','29615xEfkxD','document','sizes','getSelectedElement','selection','execute','change','563139uMdeZq','1473332hEWUfk','2OtIJYg','imageInline','srcset','192WCKlyG','1845410WZKaVy','33nJYlWj'];_0xc5aa=function(){return _0x53bf6b;};return _0xc5aa();}
23
+ const _0x2eb3c8=_0x1092;function _0x4466(){const _0x38f162=['250173KoSjAy','setAttributes','model','imageInline','srcset','document','651736eLHAEC','2640790jVsPkt','getSelectedElement','editor','selection','80055JkxTbR','97518AXTcuI','element','isEnabled','execute','32jlbGtH','change','removeAttribute','520kdmXEM','sizes','695730lBRzac','72RivTHQ','refresh','225236lmSSIr','imageBlock'];_0x4466=function(){return _0x38f162;};return _0x4466();}(function(_0x54f632,_0x5929a4){const _0xd6fedb=_0x1092,_0x5991ce=_0x54f632();while(!![]){try{const _0x490bf4=-parseInt(_0xd6fedb(0x1de))/0x1+-parseInt(_0xd6fedb(0x1d6))/0x2+parseInt(_0xd6fedb(0x1e4))/0x3*(parseInt(_0xd6fedb(0x1e8))/0x4)+parseInt(_0xd6fedb(0x1d3))/0x5+-parseInt(_0xd6fedb(0x1d4))/0x6*(-parseInt(_0xd6fedb(0x1d8))/0x7)+-parseInt(_0xd6fedb(0x1eb))/0x8*(-parseInt(_0xd6fedb(0x1e3))/0x9)+-parseInt(_0xd6fedb(0x1df))/0xa;if(_0x490bf4===_0x5929a4)break;else _0x5991ce['push'](_0x5991ce['shift']());}catch(_0x11b971){_0x5991ce['push'](_0x5991ce['shift']());}}}(_0x4466,0x5c3cc));function _0x1092(_0x34175d,_0x4ae688){const _0x4466e6=_0x4466();return _0x1092=function(_0x109202,_0x15e8dc){_0x109202=_0x109202-0x1d3;let _0x2fdf8e=_0x4466e6[_0x109202];return _0x2fdf8e;},_0x1092(_0x34175d,_0x4ae688);}import{Command as _0x4263ee}from'ckeditor5/src/core.js';export default class O extends _0x4263ee{[_0x2eb3c8(0x1d5)](){const _0x5e21f6=_0x2eb3c8,_0x2d6a9c=this[_0x5e21f6(0x1e1)][_0x5e21f6(0x1da)][_0x5e21f6(0x1dd)][_0x5e21f6(0x1e2)][_0x5e21f6(0x1e0)]();this[_0x5e21f6(0x1e6)]=Boolean(_0x2d6a9c&&(_0x2d6a9c['is'](_0x5e21f6(0x1e5),_0x5e21f6(0x1d7))||_0x2d6a9c['is'](_0x5e21f6(0x1e5),_0x5e21f6(0x1db))));}[_0x2eb3c8(0x1e7)](_0x3def14){const _0xddc836=_0x2eb3c8,_0x53128d=this[_0xddc836(0x1e1)][_0xddc836(0x1da)][_0xddc836(0x1dd)][_0xddc836(0x1e2)][_0xddc836(0x1e0)]();this[_0xddc836(0x1e1)][_0xddc836(0x1da)][_0xddc836(0x1e9)](_0xc88426=>{const _0x5f56d8=_0xddc836;_0xc88426[_0x5f56d8(0x1d9)](_0x3def14,_0x53128d),_0xc88426[_0x5f56d8(0x1ea)](_0x5f56d8(0x1dc),_0x53128d),_0xc88426[_0x5f56d8(0x1ea)](_0x5f56d8(0x1ec),_0x53128d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f5e81=_0x37c9;(function(_0x1b4724,_0x34be1a){var _0x177935=_0x37c9,_0xa75cdc=_0x1b4724();while(!![]){try{var _0x13213c=-parseInt(_0x177935(0x10c))/0x1+-parseInt(_0x177935(0x110))/0x2*(-parseInt(_0x177935(0x114))/0x3)+parseInt(_0x177935(0x113))/0x4*(-parseInt(_0x177935(0x108))/0x5)+parseInt(_0x177935(0x10f))/0x6+-parseInt(_0x177935(0x111))/0x7+parseInt(_0x177935(0x115))/0x8+-parseInt(_0x177935(0x109))/0x9;if(_0x13213c===_0x34be1a)break;else _0xa75cdc['push'](_0xa75cdc['shift']());}catch(_0x47133d){_0xa75cdc['push'](_0xa75cdc['shift']());}}}(_0x1a0d,0xc91ba));import{Plugin as _0x32a372}from'ckeditor5/src/core.js';import _0x4bd176 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x37c9(_0x227b3e,_0x37231b){var _0x1a0d2e=_0x1a0d();return _0x37c9=function(_0x37c9e4,_0x2faf01){_0x37c9e4=_0x37c9e4-0x108;var _0x351fe8=_0x1a0d2e[_0x37c9e4];return _0x351fe8;},_0x37c9(_0x227b3e,_0x37231b);}import _0x4e6f50 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x32a372{static get[_0x3f5e81(0x10d)](){var _0x1acdcc=_0x3f5e81;return _0x1acdcc(0x10a);}static get[_0x3f5e81(0x10e)](){return[_0x4bd176,_0x4e6f50];}static get[_0x3f5e81(0x10b)](){return!0x0;}static get[_0x3f5e81(0x112)](){return!0x0;}}function _0x1a0d(){var _0x87ccd2=['UploadcareImageEdit','isOfficialPlugin','1003203lVNDtM','pluginName','requires','9585420RexURq','74ClmELu','5383525QOkyRY','isPremiumPlugin','121480YXXcGE','31887tZrHfG','9638400qmsIGw','25uPYiWi','4029993UqMXdr'];_0x1a0d=function(){return _0x87ccd2;};return _0x1a0d();}
23
+ function _0x3a2a(){var _0x5f34a3=['isOfficialPlugin','4681428MWTvRy','3UOWrfH','35194990vQxzus','8uwBJum','pluginName','846866TVBeKZ','987413gBpBEF','11825vyxDyT','UploadcareImageEdit','requires','isPremiumPlugin','1193978Leenzq','9921348vRbtjp','1844JvGDRX'];_0x3a2a=function(){return _0x5f34a3;};return _0x3a2a();}var _0x260e05=_0x22a5;(function(_0x113c8e,_0x179c6e){var _0x32ffd4=_0x22a5,_0x241179=_0x113c8e();while(!![]){try{var _0x4732c3=parseInt(_0x32ffd4(0xb2))/0x1+-parseInt(_0x32ffd4(0xb8))/0x2*(-parseInt(_0x32ffd4(0xae))/0x3)+-parseInt(_0x32ffd4(0xba))/0x4*(-parseInt(_0x32ffd4(0xb4))/0x5)+parseInt(_0x32ffd4(0xad))/0x6+-parseInt(_0x32ffd4(0xb3))/0x7+parseInt(_0x32ffd4(0xb0))/0x8*(parseInt(_0x32ffd4(0xb9))/0x9)+-parseInt(_0x32ffd4(0xaf))/0xa;if(_0x4732c3===_0x179c6e)break;else _0x241179['push'](_0x241179['shift']());}catch(_0x9fa831){_0x241179['push'](_0x241179['shift']());}}}(_0x3a2a,0xb89cc));import{Plugin as _0xe72933}from'ckeditor5/src/core.js';import _0x4ce102 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x22a5(_0x2bc639,_0x122870){var _0x3a2aca=_0x3a2a();return _0x22a5=function(_0x22a56e,_0x1c54c2){_0x22a56e=_0x22a56e-0xad;var _0xc35b25=_0x3a2aca[_0x22a56e];return _0xc35b25;},_0x22a5(_0x2bc639,_0x122870);}import _0x326715 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xe72933{static get[_0x260e05(0xb1)](){var _0x51b8b1=_0x260e05;return _0x51b8b1(0xb5);}static get[_0x260e05(0xb6)](){return[_0x4ce102,_0x326715];}static get[_0x260e05(0xbb)](){return!0x0;}static get[_0x260e05(0xb7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42054f=_0x54e0;(function(_0x184356,_0x515bed){const _0x2acb86=_0x54e0,_0x2ea83e=_0x184356();while(!![]){try{const _0x1049c0=-parseInt(_0x2acb86(0x1f6))/0x1+-parseInt(_0x2acb86(0x1d6))/0x2+parseInt(_0x2acb86(0x1c3))/0x3*(-parseInt(_0x2acb86(0x1e7))/0x4)+-parseInt(_0x2acb86(0x1b9))/0x5*(parseInt(_0x2acb86(0x1ac))/0x6)+-parseInt(_0x2acb86(0x1c5))/0x7+parseInt(_0x2acb86(0x1b6))/0x8*(parseInt(_0x2acb86(0x1de))/0x9)+parseInt(_0x2acb86(0x1e1))/0xa*(parseInt(_0x2acb86(0x1c9))/0xb);if(_0x1049c0===_0x515bed)break;else _0x2ea83e['push'](_0x2ea83e['shift']());}catch(_0x2db3ed){_0x2ea83e['push'](_0x2ea83e['shift']());}}}(_0x1052,0xad120));import{Plugin as _0x41274a,icons as _0x4f0690}from'ckeditor5/src/core.js';function _0x1052(){const _0x3f278b=['init','Replace','uploadcareLicenseKeyUsageLimit','Insert','withText','134580JvQkTH','usageLimit','isPremiumPlugin','assetManager','domainLimit','invalid','_createMenuBarButtons','reduce','featureNotAllowed','Local','tooltip','_createToolbarButton','_createDropdownButtons','GDrive','isImageSelected','953130ItdkeB','_licenseKeyCheckInterval','type','pluginName','label','Uploadcare','push','imageUpload','destroy','2767374uLykGo','has','expired','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcare.uploader.sourceList','afterInit','get','337760QIGxXK','_createButton','Facebook','5kEnDwr','plugins','isEnabled','execute','uploadcare','_getIntegrationKey','commands','locale','_normalizeConfigSourceList','entries','99WBKOfn','URL','1492106fkcCeD','ImageInsertUI','icon','upload','33ZqhKJj','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','bind','uploadcareLicenseKeyInvalid','_showLicenseError','config','text','OneDrive','editor','shortText','GPhotos','isOfficialPlugin','1877680eejpgA','url','licenseKey','uploadcareLicenseKeyTrialLimit','evaluationLimit','registerIntegration','map','trialLimit','27ydMnKt','Dropbox','forEach','14196260yCiRjp'];_0x1052=function(){return _0x3f278b;};return _0x1052();}import{ButtonView as _0x513fec,MenuBarMenuListItemButtonView as _0x41b4dd}from'ckeditor5/src/ui.js';import _0x4cb36e from'../theme/icons/dropbox.svg';import _0x188ef3 from'../theme/icons/facebook.svg';import _0x642a1a from'../theme/icons/google-drive.svg';import _0x161377 from'../theme/icons/google-photos.svg';import _0x2b7559 from'../theme/icons/link.svg';import _0x559913 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x207a7a}from'./uploadcareconfig.js';import{getTranslation as _0x41f75e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x54e0(_0x1a47e5,_0x2273b7){const _0x105261=_0x1052();return _0x54e0=function(_0x54e06b,_0x4c7304){_0x54e06b=_0x54e06b-0x1ac;let _0x14285e=_0x105261[_0x54e06b];return _0x14285e;},_0x54e0(_0x1a47e5,_0x2273b7);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x41274a{static get[_0x42054f(0x1f9)](){const _0x1d9cb9=_0x42054f;return _0x1d9cb9(0x1b2);}static get[_0x42054f(0x1d5)](){return!0x0;}static get[_0x42054f(0x1e9)](){return!0x0;}[_0x42054f(0x1e2)](){const _0x335c32=_0x42054f;this[_0x335c32(0x1d8)]=this[_0x335c32(0x1d2)][_0x335c32(0x1cf)][_0x335c32(0x1b5)](_0x335c32(0x1d8));const _0x4f7fdc=this[_0x335c32(0x1d2)];this[_0x335c32(0x1f7)]=setInterval(()=>{const _0x2cba61=_0x335c32;let _0x23df0e;for(const _0x11de62 in _0x4f7fdc){const _0x4a31dc=_0x11de62,_0x4cb627=_0x4f7fdc[_0x4a31dc];if(_0x2cba61(0x1b0)==_0x4cb627||_0x2cba61(0x1cd)==_0x4cb627||_0x2cba61(0x1af)==_0x4cb627||_0x2cba61(0x1b1)==_0x4cb627||_0x2cba61(0x1cb)==_0x4cb627||_0x2cba61(0x1ca)==_0x4cb627||_0x2cba61(0x1d9)==_0x4cb627||_0x2cba61(0x1e4)==_0x4cb627){delete _0x4f7fdc[_0x4a31dc],_0x23df0e=_0x4cb627,clearInterval(this[_0x2cba61(0x1f7)]),this[_0x2cba61(0x1f7)]=void 0x0;break;}}_0x2cba61(0x1cd)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ec)),_0x2cba61(0x1af)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ae)),_0x2cba61(0x1b1)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1eb)),_0x2cba61(0x1cb)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ef),_0x2cba61(0x1fb)),_0x2cba61(0x1ca)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1da)),_0x2cba61(0x1d9)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1dd)),_0x2cba61(0x1e4)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1e8));},0x3e8);}[_0x42054f(0x1b4)](){const _0x45c1bc=_0x42054f,{editor:_0xf0ef03}=this,_0x36f2d7=_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd));if(!_0x36f2d7)return;const _0x2bf670=this[_0x45c1bc(0x1c1)](_0xf0ef03[_0x45c1bc(0x1cf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1b3)))[_0x45c1bc(0x1ee)]((_0x426396,_0x535012)=>{const _0x4ab686=_0x45c1bc,_0x205b11=this[_0x4ab686(0x1be)](_0x535012[_0x4ab686(0x1f8)]);return _0x426396[_0x205b11]||(_0x426396[_0x205b11]=[]),_0x426396[_0x205b11][_0x4ab686(0x1fc)](_0x535012),_0x426396;},{});_0xf0ef03[_0x45c1bc(0x1ba)][_0x45c1bc(0x1ad)](_0x45c1bc(0x1c6))&&_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd))&&Object[_0x45c1bc(0x1c2)](_0x2bf670)[_0x45c1bc(0x1e0)](([_0x8c8f91,_0x456dfe])=>{const _0x46bd7d=_0x45c1bc;_0xf0ef03[_0x46bd7d(0x1ba)][_0x46bd7d(0x1b5)](_0x46bd7d(0x1c6))[_0x46bd7d(0x1db)]({'name':_0x8c8f91,'observable':()=>_0x36f2d7,'buttonViewCreator':()=>this[_0x46bd7d(0x1f2)](_0x456dfe),'formViewCreator':()=>this[_0x46bd7d(0x1f3)](_0x456dfe),'menuBarButtonViewCreator':()=>this[_0x46bd7d(0x1ed)](_0x456dfe),'override':_0x46bd7d(0x1ea)!==_0x8c8f91});});}[_0x42054f(0x1fe)](){const _0x1b5b97=_0x42054f;super[_0x1b5b97(0x1fe)](),this[_0x1b5b97(0x1f7)]&&clearInterval(this[_0x1b5b97(0x1f7)]);}[_0x42054f(0x1c1)](_0x33f197){const _0xa3a16a=_0x42054f,{locale:_0x70a88d}=this[_0xa3a16a(0x1d2)];return _0x33f197[_0xa3a16a(0x1dc)](_0x66b19f=>{const _0x5edb4c=_0xa3a16a,_0x36e191=_0x41f75e(_0x70a88d,_0x66b19f,_0x5edb4c(0x1e5));switch(_0x66b19f){case _0x207a7a[_0x5edb4c(0x1f0)]:return{'icon':_0x4f0690[_0x5edb4c(0x1fd)],'type':_0x207a7a[_0x5edb4c(0x1f0)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1c4)]:return{'icon':_0x2b7559,'type':_0x207a7a[_0x5edb4c(0x1c4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1df)]:return{'icon':_0x4cb36e,'type':_0x207a7a[_0x5edb4c(0x1df)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1b8)]:return{'icon':_0x188ef3,'type':_0x207a7a[_0x5edb4c(0x1b8)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1f4)]:return{'icon':_0x642a1a,'type':_0x207a7a[_0x5edb4c(0x1f4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d4)]:return{'icon':_0x161377,'type':_0x207a7a[_0x5edb4c(0x1d4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d1)]:return{'icon':_0x559913,'type':_0x207a7a[_0x5edb4c(0x1d1)],..._0x36e191};}});}[_0x42054f(0x1be)](_0x18fa05){const _0x10e1a9=_0x42054f;switch(_0x18fa05){case _0x207a7a[_0x10e1a9(0x1f0)]:return _0x10e1a9(0x1c8);case _0x207a7a[_0x10e1a9(0x1c4)]:return _0x10e1a9(0x1d7);default:return _0x10e1a9(0x1ea);}}[_0x42054f(0x1b7)](_0x3eed0a,_0x2035a4){const _0x50d989=_0x42054f,_0xc42ffb=this[_0x50d989(0x1d2)],_0x3f44f6=new _0x3eed0a(_0xc42ffb[_0x50d989(0x1c0)]),_0x7cf4ed=_0xc42ffb[_0x50d989(0x1bf)][_0x50d989(0x1b5)](_0x50d989(0x1bd));return _0x3f44f6[_0x50d989(0x1cc)](_0x50d989(0x1bb))['to'](_0x7cf4ed),_0x3f44f6['on'](_0x50d989(0x1bc),()=>{const _0x4ea8aa=_0x50d989;_0x7cf4ed[_0x4ea8aa(0x1bc)](_0x2035a4);}),_0x3f44f6;}[_0x42054f(0x1f2)](_0x41841c){const _0x574156=_0x42054f,{locale:_0x3c736c}=this[_0x574156(0x1d2)],_0x3fe9e2=this[_0x574156(0x1d2)][_0x574156(0x1ba)][_0x574156(0x1b5)](_0x574156(0x1c6)),_0x46b754=_0x41841c[0x0],_0x311563=this[_0x574156(0x1b7)](_0x513fec,_0x46b754[_0x574156(0x1f8)]);return _0x311563[_0x574156(0x1c7)]=_0x46b754[_0x574156(0x1c7)],_0x311563[_0x574156(0x1cc)](_0x574156(0x1fa))['to'](_0x3fe9e2,_0x574156(0x1f5),_0x2fc7ff=>_0x41f75e(_0x3c736c,_0x46b754[_0x574156(0x1f8)],_0x2fc7ff?_0x574156(0x1e3):_0x574156(0x1e5))[_0x574156(0x1d0)]),_0x311563[_0x574156(0x1f1)]=!0x0,_0x311563;}[_0x42054f(0x1f3)](_0x11bb65){const _0x3e6dce=_0x42054f,{locale:_0x567b99}=this[_0x3e6dce(0x1d2)],_0x57fa8a=this[_0x3e6dce(0x1d2)][_0x3e6dce(0x1ba)][_0x3e6dce(0x1b5)](_0x3e6dce(0x1c6));return _0x11bb65[_0x3e6dce(0x1dc)](_0x41e0e9=>{const _0x2178be=_0x3e6dce,_0x2bd139=this[_0x2178be(0x1b7)](_0x513fec,_0x41e0e9[_0x2178be(0x1f8)]);return _0x2bd139[_0x2178be(0x1e6)]=!0x0,_0x2bd139[_0x2178be(0x1c7)]=_0x41e0e9[_0x2178be(0x1c7)],_0x2bd139[_0x2178be(0x1cc)](_0x2178be(0x1fa))['to'](_0x57fa8a,_0x2178be(0x1f5),_0x31f6a9=>_0x41f75e(_0x567b99,_0x41e0e9[_0x2178be(0x1f8)],_0x31f6a9?_0x2178be(0x1e3):_0x2178be(0x1e5))[_0x2178be(0x1d0)]),_0x2bd139;});}[_0x42054f(0x1ed)](_0x580e20){const _0x23c325=_0x42054f;return _0x580e20[_0x23c325(0x1dc)](_0x24fd3a=>{const _0x553250=_0x23c325,_0x2ab8c4=this[_0x553250(0x1b7)](_0x41b4dd,_0x24fd3a[_0x553250(0x1f8)]);return _0x2ab8c4[_0x553250(0x1c7)]=_0x24fd3a[_0x553250(0x1c7)],_0x2ab8c4[_0x553250(0x1fa)]=_0x24fd3a[_0x553250(0x1d3)],_0x2ab8c4;});}}
23
+ function _0x443c(_0x1dc8cc,_0xa8ae36){const _0x463d47=_0x463d();return _0x443c=function(_0x443c02,_0x56abff){_0x443c02=_0x443c02-0xdb;let _0x233f96=_0x463d47[_0x443c02];return _0x233f96;},_0x443c(_0x1dc8cc,_0xa8ae36);}const _0x1d33b1=_0x443c;(function(_0x32905c,_0x1bae18){const _0x3bcdaf=_0x443c,_0x21b011=_0x32905c();while(!![]){try{const _0x3e92f7=parseInt(_0x3bcdaf(0x127))/0x1*(parseInt(_0x3bcdaf(0xe6))/0x2)+parseInt(_0x3bcdaf(0x10d))/0x3*(parseInt(_0x3bcdaf(0xf2))/0x4)+-parseInt(_0x3bcdaf(0xdc))/0x5*(parseInt(_0x3bcdaf(0xfa))/0x6)+parseInt(_0x3bcdaf(0x101))/0x7*(parseInt(_0x3bcdaf(0x118))/0x8)+-parseInt(_0x3bcdaf(0xf4))/0x9*(parseInt(_0x3bcdaf(0x10f))/0xa)+-parseInt(_0x3bcdaf(0x120))/0xb*(-parseInt(_0x3bcdaf(0xee))/0xc)+-parseInt(_0x3bcdaf(0xe7))/0xd;if(_0x3e92f7===_0x1bae18)break;else _0x21b011['push'](_0x21b011['shift']());}catch(_0x1fea1c){_0x21b011['push'](_0x21b011['shift']());}}}(_0x463d,0x8cf86));import{Plugin as _0x56fe91}from'ckeditor5/src/core.js';import{IconDropbox as _0x39cf80,IconFacebook as _0x5a737a,IconGoogleDrive as _0x2d42c1,IconGooglePhotos as _0x32e6b1,IconUploadcareImageUpload as _0x459088,IconUploadcareLink as _0x3ecbe4,IconOneDrive as _0x2b4859}from'ckeditor5/src/icons.js';import{ButtonView as _0x5815da,MenuBarMenuListItemButtonView as _0x7d177e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2e2f43}from'./uploadcareconfig.js';import{getTranslation as _0x4d0d2e}from'./utils/common-translations.js';function _0x463d(){const _0x5a7e27=['invalid','trialLimit','15069JOsrby','uploadcareLicenseKeyDomainLimit','948410qGhgQp','uploadcareLicenseKeyValid','GDrive','uploadcareLicenseKeyEvaluationLimit','_createButton','shortText','Uploadcare','tooltip','get','96FZDcBG','isPremiumPlugin','pluginName','bind','_getIntegrationKey','Insert','usageLimit','url','11BSMNoz','map','commands','uploadcare','uploadcareLicenseKeyNotAllowed','domainLimit','_showLicenseError','7BpfeIR','entries','_createToolbarButton','push','Facebook','Local','licenseKey','uploadcareLicenseKeyUsageLimit','assetManager','610aWIuQL','isOfficialPlugin','withText','_createMenuBarButtons','UploadcareUI','OneDrive','isEnabled','_createDropdownButtons','has','uploadcareLicenseKeyExpired','206642rgRWAI','7677670MPvMGD','uploadcareLicenseKeyInvalid','type','_licenseKeyCheckInterval','forEach','isImageSelected','_normalizeConfigSourceList','9002424zGskwy','destroy','ImageInsertUI','afterInit','100ZZfLJk','registerIntegration','54SySkai','Dropbox','execute','plugins','editor','featureNotAllowed','5718TzKUYP','icon','config','upload','text','Replace','expired','148337rnVPdy','GPhotos','init','locale','label','uploadcareLicenseKeyTrialLimit','URL','reduce','uploadcare.uploader.sourceList','evaluationLimit'];_0x463d=function(){return _0x5a7e27;};return _0x463d();}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 _0x56fe91{[_0x1d33b1(0x12d)];[_0x1d33b1(0xea)];static get[_0x1d33b1(0x11a)](){const _0x25906d=_0x1d33b1;return _0x25906d(0xe0);}static get[_0x1d33b1(0xdd)](){return!0x0;}static get[_0x1d33b1(0x119)](){return!0x0;}[_0x1d33b1(0x103)](){const _0x2be952=_0x1d33b1;this[_0x2be952(0x12d)]=this[_0x2be952(0xf8)][_0x2be952(0xfc)][_0x2be952(0x117)](_0x2be952(0x12d));const _0x4cb634=this[_0x2be952(0xf8)];this[_0x2be952(0xea)]=setInterval(()=>{const _0x22482d=_0x2be952;let _0x406a00;for(const _0x31484b in _0x4cb634){const _0x57526f=_0x31484b,_0x24d4d7=_0x4cb634[_0x57526f];if(_0x22482d(0x110)==_0x24d4d7||_0x22482d(0xe8)==_0x24d4d7||_0x22482d(0xe5)==_0x24d4d7||_0x22482d(0x10e)==_0x24d4d7||_0x22482d(0x124)==_0x24d4d7||_0x22482d(0x112)==_0x24d4d7||_0x22482d(0x106)==_0x24d4d7||_0x22482d(0x12e)==_0x24d4d7){delete _0x4cb634[_0x57526f],_0x406a00=_0x24d4d7,clearInterval(this[_0x22482d(0xea)]),this[_0x22482d(0xea)]=void 0x0;break;}}_0x22482d(0xe8)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10b)),_0x22482d(0xe5)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x100)),_0x22482d(0x10e)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x125)),_0x22482d(0x124)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0xf9),_0x22482d(0x115)),_0x22482d(0x112)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10a)),_0x22482d(0x106)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10c)),_0x22482d(0x12e)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x11e));},0x3e8);}[_0x1d33b1(0xf1)](){const _0x5f14bf=_0x1d33b1,{editor:_0x1bb9e9}=this,_0x189977=_0x1bb9e9[_0x5f14bf(0x122)][_0x5f14bf(0x117)](_0x5f14bf(0x123));if(!_0x189977)return;const _0x3e19b3=this[_0x5f14bf(0xed)](_0x1bb9e9[_0x5f14bf(0xfc)][_0x5f14bf(0x117)](_0x5f14bf(0x109)))[_0x5f14bf(0x108)]((_0x4de73c,_0x24b686)=>{const _0x2e5d90=_0x5f14bf,_0x3017fe=this[_0x2e5d90(0x11c)](_0x24b686[_0x2e5d90(0xe9)]);return _0x4de73c[_0x3017fe]||(_0x4de73c[_0x3017fe]=[]),_0x4de73c[_0x3017fe][_0x2e5d90(0x12a)](_0x24b686),_0x4de73c;},{});_0x1bb9e9[_0x5f14bf(0xf7)][_0x5f14bf(0xe4)](_0x5f14bf(0xf0))&&_0x1bb9e9[_0x5f14bf(0x122)][_0x5f14bf(0x117)](_0x5f14bf(0x123))&&Object[_0x5f14bf(0x128)](_0x3e19b3)[_0x5f14bf(0xeb)](([_0x2ae685,_0xc35b45])=>{const _0x1d23dc=_0x5f14bf;_0x1bb9e9[_0x1d23dc(0xf7)][_0x1d23dc(0x117)](_0x1d23dc(0xf0))[_0x1d23dc(0xf3)]({'name':_0x2ae685,'observable':()=>_0x189977,'buttonViewCreator':()=>this[_0x1d23dc(0x129)](_0xc35b45),'formViewCreator':()=>this[_0x1d23dc(0xe3)](_0xc35b45),'menuBarButtonViewCreator':()=>this[_0x1d23dc(0xdf)](_0xc35b45),'override':_0x1d23dc(0xdb)!==_0x2ae685});});}[_0x1d33b1(0xef)](){const _0x48b950=_0x1d33b1;super[_0x48b950(0xef)](),this[_0x48b950(0xea)]&&clearInterval(this[_0x48b950(0xea)]);}[_0x1d33b1(0xed)](_0x1aeaf5){const _0x12c65b=_0x1d33b1,{locale:_0x229797}=this[_0x12c65b(0xf8)];return _0x1aeaf5[_0x12c65b(0x121)](_0x143478=>{const _0x3aae30=_0x12c65b,_0x409bd7=_0x4d0d2e(_0x229797,_0x143478,_0x3aae30(0x11d));switch(_0x143478){case _0x2e2f43[_0x3aae30(0x12c)]:return{'icon':_0x459088,'type':_0x2e2f43[_0x3aae30(0x12c)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x107)]:return{'icon':_0x3ecbe4,'type':_0x2e2f43[_0x3aae30(0x107)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0xf5)]:return{'icon':_0x39cf80,'type':_0x2e2f43[_0x3aae30(0xf5)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x12b)]:return{'icon':_0x5a737a,'type':_0x2e2f43[_0x3aae30(0x12b)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x111)]:return{'icon':_0x2d42c1,'type':_0x2e2f43[_0x3aae30(0x111)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x102)]:return{'icon':_0x32e6b1,'type':_0x2e2f43[_0x3aae30(0x102)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0xe1)]:return{'icon':_0x2b4859,'type':_0x2e2f43[_0x3aae30(0xe1)],..._0x409bd7};}});}[_0x1d33b1(0x11c)](_0x56d392){const _0x24307f=_0x1d33b1;switch(_0x56d392){case _0x2e2f43[_0x24307f(0x12c)]:return _0x24307f(0xfd);case _0x2e2f43[_0x24307f(0x107)]:return _0x24307f(0x11f);default:return _0x24307f(0xdb);}}[_0x1d33b1(0x113)](_0x5859fa,_0x505b92){const _0x1bf9c7=_0x1d33b1,_0x259019=this[_0x1bf9c7(0xf8)],_0x229d06=new _0x5859fa(_0x259019[_0x1bf9c7(0x104)]),_0x31d740=_0x259019[_0x1bf9c7(0x122)][_0x1bf9c7(0x117)](_0x1bf9c7(0x123));return _0x229d06[_0x1bf9c7(0x11b)](_0x1bf9c7(0xe2))['to'](_0x31d740),_0x229d06['on'](_0x1bf9c7(0xf6),()=>{const _0x5412ff=_0x1bf9c7;_0x31d740[_0x5412ff(0xf6)](_0x505b92);}),_0x229d06;}[_0x1d33b1(0x129)](_0xa04b10){const _0x17fc2f=_0x1d33b1,{locale:_0x34fdf5}=this[_0x17fc2f(0xf8)],_0x5852ab=this[_0x17fc2f(0xf8)][_0x17fc2f(0xf7)][_0x17fc2f(0x117)](_0x17fc2f(0xf0)),_0x4269f5=_0xa04b10[0x0],_0x54ad57=this[_0x17fc2f(0x113)](_0x5815da,_0x4269f5[_0x17fc2f(0xe9)]);return _0x54ad57[_0x17fc2f(0xfb)]=_0x4269f5[_0x17fc2f(0xfb)],_0x54ad57[_0x17fc2f(0x11b)](_0x17fc2f(0x105))['to'](_0x5852ab,_0x17fc2f(0xec),_0x814abe=>_0x4d0d2e(_0x34fdf5,_0x4269f5[_0x17fc2f(0xe9)],_0x814abe?_0x17fc2f(0xff):_0x17fc2f(0x11d))[_0x17fc2f(0xfe)]),_0x54ad57[_0x17fc2f(0x116)]=!0x0,_0x54ad57;}[_0x1d33b1(0xe3)](_0x4f16e5){const _0x472ca0=_0x1d33b1,{locale:_0x1a1246}=this[_0x472ca0(0xf8)],_0x5c8fb4=this[_0x472ca0(0xf8)][_0x472ca0(0xf7)][_0x472ca0(0x117)](_0x472ca0(0xf0));return _0x4f16e5[_0x472ca0(0x121)](_0x148eb1=>{const _0x46b737=_0x472ca0,_0xf6a971=this[_0x46b737(0x113)](_0x5815da,_0x148eb1[_0x46b737(0xe9)]);return _0xf6a971[_0x46b737(0xde)]=!0x0,_0xf6a971[_0x46b737(0xfb)]=_0x148eb1[_0x46b737(0xfb)],_0xf6a971[_0x46b737(0x11b)](_0x46b737(0x105))['to'](_0x5c8fb4,_0x46b737(0xec),_0x5aa7e6=>_0x4d0d2e(_0x1a1246,_0x148eb1[_0x46b737(0xe9)],_0x5aa7e6?_0x46b737(0xff):_0x46b737(0x11d))[_0x46b737(0xfe)]),_0xf6a971;});}[_0x1d33b1(0xdf)](_0x30a30c){const _0x2ca26f=_0x1d33b1;return _0x30a30c[_0x2ca26f(0x121)](_0x7df5c8=>{const _0x568e27=_0x2ca26f,_0x5486d9=this[_0x568e27(0x113)](_0x7d177e,_0x7df5c8[_0x568e27(0xe9)]);return _0x5486d9[_0x568e27(0xfb)]=_0x7df5c8[_0x568e27(0xfb)],_0x5486d9[_0x568e27(0x105)]=_0x7df5c8[_0x568e27(0x114)],_0x5486d9;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1fc120}from'ckeditor5/src/core.js';import{FileRepository as _0x6f6b1b}from'ckeditor5/src/upload.js';import _0x17422c from'./uploadcareediting.js';import _0x2d4575 from'./utils/uploadutils.js';import{getImageUrls as _0x5535f8}from'./utils/editingutils.js';export default class f extends _0x1fc120{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6f6b1b,_0x17422c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x428584=this['editor'];if(!!!_0x428584['config']['get']('uploadcare'))return;_0x428584['plugins']['get'](_0x6f6b1b)['createUploadAdapter']=_0x21bdd7=>new E(_0x21bdd7,_0x428584),_0x428584['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2171e2,{imageElement:_0x2c4dd1,data:_0xc913e4})=>{_0x428584['model']['change'](_0x5e156c=>{_0x5e156c['setAttribute']('uploadcareImageId',_0xc913e4['uploadcareImageId'],_0x2c4dd1);});});}}class E{constructor(_0x5f3248,_0x4b5d6c){this['loader']=_0x5f3248,this['editor']=_0x4b5d6c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x22bd94=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f8196=await this['loader']['file'];return _0x2d4575['upload']({'file':_0x2f8196,'publicKey':_0x22bd94,'signal':this['controller']['signal'],'onProgress':_0x1ba55f=>{_0x1ba55f&&_0x1ba55f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ba55f['value']);}})['then'](async _0x40063c=>{const {imageFallbackUrl:_0x1dba40,imageSources:_0x441ce6}=_0x5535f8(_0x40063c['cdnUrl'],_0x40063c['imageInfo']['width']);return{'uploadcareImageId':_0x40063c['uuid'],'default':_0x1dba40,'sources':_0x441ce6};})['catch'](()=>{const _0x3047fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f8196['name']+'.');return Promise['reject'](_0x3047fa);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x24b4c4}from'ckeditor5/src/core.js';import{FileRepository as _0x365b97}from'ckeditor5/src/upload.js';import _0x48c93c from'./uploadcareediting.js';import _0x4c5af2 from'./utils/uploadutils.js';import{getImageUrls as _0x329893}from'./utils/editingutils.js';export default class p extends _0x24b4c4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x365b97,_0x48c93c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d1bb1=this['editor'];if(!!!_0x1d1bb1['config']['get']('uploadcare'))return;_0x1d1bb1['plugins']['get'](_0x365b97)['createUploadAdapter']=_0x57ba8e=>new x(_0x57ba8e,_0x1d1bb1),_0x1d1bb1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e8c6c,{imageElement:_0x4eba27,data:_0x3145e9})=>{_0x1d1bb1['model']['change'](_0x57e34f=>{_0x57e34f['setAttribute']('uploadcareImageId',_0x3145e9['uploadcareImageId'],_0x4eba27);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3466e7,_0x43d10e){this['loader']=_0x3466e7,this['editor']=_0x43d10e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2648a8=this['editor']['config']['get']('uploadcare.pubkey'),_0x214bc1=await this['loader']['file'];return _0x4c5af2['upload']({'file':_0x214bc1,'publicKey':_0x2648a8,'signal':this['controller']['signal'],'onProgress':_0xae9c9e=>{_0xae9c9e&&_0xae9c9e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xae9c9e['value']);}})['then'](async _0x244cd7=>{const {imageFallbackUrl:_0x473da7,imageSources:_0x11813c}=_0x329893(_0x244cd7['cdnUrl'],_0x244cd7['imageInfo']['width']);return{'uploadcareImageId':_0x244cd7['uuid'],'default':_0x473da7,'sources':_0x11813c};})['catch'](()=>{const _0x822f64=t('Cannot\x20upload\x20file:')+('\x20'+_0x214bc1['name']+'.');return Promise['reject'](_0x822f64);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x7db9b3}from'../uploadcareconfig.js';export function getTranslation(_0x5459ff,_0x49e857,_0x35785e){const t=_0x5459ff['t'],_0x108b1a=_0x5459ff['t'];switch(_0x49e857){case _0x7db9b3['Local']:return{'text':_0x108b1a('Insert'===_0x35785e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x108b1a('From\x20computer')};case _0x7db9b3['URL']:return{'text':'Insert'===_0x35785e?_0x108b1a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x108b1a('Via\x20URL')};case _0x7db9b3['Dropbox']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x7db9b3['Facebook']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x7db9b3['GDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x7db9b3['GPhotos']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x7db9b3['OneDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49e857;}}
23
+ import{UploadcareSource as _0x44a568}from'../uploadcareconfig.js';export function getTranslation(_0x195b30,_0x42202e,_0x3a88d7){const t=_0x195b30['t'],_0x436f96=_0x195b30['t'];switch(_0x42202e){case _0x44a568['Local']:return{'text':_0x436f96('Insert'===_0x3a88d7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x436f96('From\x20computer')};case _0x44a568['URL']:return{'text':'Insert'===_0x3a88d7?_0x436f96('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x436f96('Via\x20URL')};case _0x44a568['Dropbox']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x44a568['Facebook']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x44a568['GDrive']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x44a568['GPhotos']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x44a568['OneDrive']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x42202e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50d52d=_0x77fd;(function(_0x5d81d9,_0x1bda05){var _0x4bf23f=_0x77fd,_0x36aa4f=_0x5d81d9();while(!![]){try{var _0x1b6e2d=-parseInt(_0x4bf23f(0xbc))/0x1+-parseInt(_0x4bf23f(0xc6))/0x2+-parseInt(_0x4bf23f(0xc5))/0x3+parseInt(_0x4bf23f(0xc4))/0x4*(-parseInt(_0x4bf23f(0xbb))/0x5)+-parseInt(_0x4bf23f(0xb8))/0x6+parseInt(_0x4bf23f(0xbd))/0x7*(parseInt(_0x4bf23f(0xc0))/0x8)+parseInt(_0x4bf23f(0xba))/0x9;if(_0x1b6e2d===_0x1bda05)break;else _0x36aa4f['push'](_0x36aa4f['shift']());}catch(_0x3dd148){_0x36aa4f['push'](_0x36aa4f['shift']());}}}(_0x52cf,0xd90d0));import{FocusTracker as _0x3fb146}from'ckeditor5/src/utils.js';function _0x52cf(){var _0x2a94a0=['6135606csmOFg','getFocusableElement','39656196luLWli','85795DJmotq','410494INfdaW','1589MfDFfj','true','div','49296TCcuzc','bindTemplate','createCollection','focusTracker','124MFWcuT','5115936jbmNVP','2491284NCvnyR','focusCycler','fire','forwardCycle'];_0x52cf=function(){return _0x2a94a0;};return _0x52cf();}import{View as _0xec1bb0,FocusCycler as _0x16f4dc}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x77fd(_0x37e67e,_0x3a6056){var _0x52cfca=_0x52cf();return _0x77fd=function(_0x77fd0f,_0x15ba92){_0x77fd0f=_0x77fd0f-0xb6;var _0x52a8e3=_0x52cfca[_0x77fd0f];return _0x52a8e3;},_0x77fd(_0x37e67e,_0x3a6056);}export default class q extends _0xec1bb0{constructor(_0x3022df){var _0xb924b0=_0x77fd;super(_0x3022df),this[_0xb924b0(0xc3)]=new _0x3fb146(),this[_0xb924b0(0xc7)]=new _0x16f4dc({'focusables':this[_0xb924b0(0xc2)](),'focusTracker':this[_0xb924b0(0xc3)]});}[_0x50d52d(0xb9)](){var _0x3794e5=_0x50d52d;return{'tag':_0x3794e5(0xbf),'attributes':{'aria-hidden':_0x3794e5(0xbe),'tabindex':'0'},'on':{'focus':this[_0x3794e5(0xc1)]['to'](()=>{var _0x2ae9c5=_0x3794e5;this[_0x2ae9c5(0xc7)][_0x2ae9c5(0xb6)](_0x2ae9c5(0xb7));})}};}}
23
+ var _0x3cc51d=_0x1f3c;(function(_0x2475fa,_0x156a4a){var _0x2ec0f2=_0x1f3c,_0x57ac85=_0x2475fa();while(!![]){try{var _0x1e5a07=parseInt(_0x2ec0f2(0x110))/0x1+parseInt(_0x2ec0f2(0x10e))/0x2+parseInt(_0x2ec0f2(0x112))/0x3+-parseInt(_0x2ec0f2(0x113))/0x4*(parseInt(_0x2ec0f2(0x117))/0x5)+parseInt(_0x2ec0f2(0x118))/0x6*(parseInt(_0x2ec0f2(0x115))/0x7)+parseInt(_0x2ec0f2(0x11a))/0x8+-parseInt(_0x2ec0f2(0x11b))/0x9;if(_0x1e5a07===_0x156a4a)break;else _0x57ac85['push'](_0x57ac85['shift']());}catch(_0x482b72){_0x57ac85['push'](_0x57ac85['shift']());}}}(_0x4104,0x321c5));function _0x4104(){var _0xe23d1a=['bindTemplate','355736OEVOdm','5048298UGkGbC','createCollection','div','getFocusableElement','focusCycler','709290HAnPtW','fire','209448Abwovi','focusTracker','1015386RSaFtI','1156kJIxmz','true','140vwmfSX','forwardCycle','3815qvZxxR','11898wAkdit'];_0x4104=function(){return _0xe23d1a;};return _0x4104();}function _0x1f3c(_0x5a3bed,_0x500ad7){var _0x4104b1=_0x4104();return _0x1f3c=function(_0x1f3c69,_0xe10701){_0x1f3c69=_0x1f3c69-0x10b;var _0x1ca843=_0x4104b1[_0x1f3c69];return _0x1ca843;},_0x1f3c(_0x5a3bed,_0x500ad7);}import{FocusTracker as _0x2cd337}from'ckeditor5/src/utils.js';import{View as _0x4c58b3,FocusCycler as _0x26cede}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x4c58b3{[_0x3cc51d(0x111)];[_0x3cc51d(0x10d)];constructor(_0x47aea7){var _0xbe0174=_0x3cc51d;super(_0x47aea7),this[_0xbe0174(0x111)]=new _0x2cd337(),this[_0xbe0174(0x10d)]=new _0x26cede({'focusables':this[_0xbe0174(0x11c)](),'focusTracker':this[_0xbe0174(0x111)]});}[_0x3cc51d(0x10c)](){var _0x468ca=_0x3cc51d;return{'tag':_0x468ca(0x10b),'attributes':{'aria-hidden':_0x468ca(0x114),'tabindex':'0'},'on':{'focus':this[_0x468ca(0x119)]['to'](()=>{var _0x2b7a47=_0x468ca;this[_0x2b7a47(0x10d)][_0x2b7a47(0x10f)](_0x2b7a47(0x116));})}};}}