@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250213.0 → 0.0.0-nightly-20250214.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 (171) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x338e6d=_0x24cf;(function(_0x3f1695,_0x42f976){const _0x16c35e=_0x24cf,_0x3b82b2=_0x3f1695();while(!![]){try{const _0x45a4d6=parseInt(_0x16c35e(0x167))/0x1*(parseInt(_0x16c35e(0x180))/0x2)+-parseInt(_0x16c35e(0x14d))/0x3+parseInt(_0x16c35e(0x14a))/0x4+-parseInt(_0x16c35e(0x14c))/0x5*(-parseInt(_0x16c35e(0x168))/0x6)+parseInt(_0x16c35e(0x13f))/0x7+-parseInt(_0x16c35e(0x16d))/0x8+-parseInt(_0x16c35e(0x156))/0x9;if(_0x45a4d6===_0x42f976)break;else _0x3b82b2['push'](_0x3b82b2['shift']());}catch(_0x1fbf1e){_0x3b82b2['push'](_0x3b82b2['shift']());}}}(_0x4e0c,0x99cd8));import{Plugin as _0x1d9151}from'ckeditor5/src/core.js';function _0x24cf(_0x417538,_0x26d187){const _0x4e0cd3=_0x4e0c();return _0x24cf=function(_0x24cf3a,_0x5ed8b6){_0x24cf3a=_0x24cf3a-0x13b;let _0x298abf=_0x4e0cd3[_0x24cf3a];return _0x298abf;},_0x24cf(_0x417538,_0x26d187);}function _0x4e0c(){const _0xbe473a=['upcast','contentLanguage','closeMax','join','34567WiRMAY','1513872NoVKNf','querySelector','conversion','_configElement','uploader','4698872VYpqAD','input[uploadcare-file-input]','execute','init','#uc-icon-arrow-down','uploadcare','editor','schema','extend','commands','for','body','destroy','uc-upload-ctx-provider','uploadcareImageReplace','listenTo','afterInit','pluginName','once','18esoCdh','getAttribute','PictureEditing','imageBlock','\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','locale','fromCharCode','render','uploadcareImageId','insertImage','model','_ctxElement','isPremiumPlugin','add','map','remove','true','getSelectedElement','4779894UoLaFZ','document','editing','uploadcare.uploader','appendChild','removeAttribute','ctxElement','isOfficialPlugin','isRegistered','_initCtx','configElement','604548ZqDwvB','imageInline','10GwUEBT','16632MyWykt','cleanupImage','uc-config','selection','attributeToAttribute','href','replaceImageSource','data-uc-image-id','_initConfig','3841443tmdGAG','downcast','elementToAttribute','config','_initImageProcessingIndicator','view','requires','iconHrefResolver','get','UploadcareEditing','_initConversion','_initSchema','uploadcare.pubkey'];_0x4e0c=function(){return _0xbe473a;};return _0x4e0c();}import{Dialog as _0x48b035}from'ckeditor5/src/ui.js';import{createElement as _0xf1a7f0,global as _0x8cca55,uid as _0x463996}from'ckeditor5/src/utils.js';import _0xa679e6 from'./uploadcarecommand.js';import _0x2d7f09 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1705e2}from'./utils/editingutils.js';export default class i extends _0x1d9151{constructor(){const _0x247208=_0x24cf;super(...arguments),this[_0x247208(0x16b)]=null,this[_0x247208(0x18b)]=null;}static get[_0x338e6d(0x17e)](){const _0x3f0eb8=_0x338e6d;return _0x3f0eb8(0x15f);}static get[_0x338e6d(0x15c)](){const _0x2a5b1b=_0x338e6d;return[_0x2a5b1b(0x182),_0x2d7f09,_0x48b035];}static get[_0x338e6d(0x146)](){return!0x0;}static get[_0x338e6d(0x18c)](){return!0x0;}get[_0x338e6d(0x149)](){const _0x257817=_0x338e6d;return this[_0x257817(0x16b)];}get[_0x338e6d(0x145)](){const _0x4eab42=_0x338e6d;return this[_0x4eab42(0x18b)];}[_0x338e6d(0x170)](){const _0xe2fdd4=_0x338e6d,_0x31a855=this[_0xe2fdd4(0x173)];_0x31a855[_0xe2fdd4(0x176)][_0xe2fdd4(0x18d)](_0xe2fdd4(0x172),new _0xa679e6(_0x31a855));}[_0x338e6d(0x17d)](){const _0x5d01cf=_0x338e6d;this[_0x5d01cf(0x161)](),this[_0x5d01cf(0x160)](),this[_0x5d01cf(0x155)](),this[_0x5d01cf(0x148)](),this[_0x5d01cf(0x15a)](),this[_0x5d01cf(0x17c)](this[_0x5d01cf(0x173)],_0x5d01cf(0x179),()=>{const _0x13de9d=_0x5d01cf;this[_0x13de9d(0x16b)]&&(this[_0x13de9d(0x16b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x16b)]=null),this[_0x13de9d(0x18b)]&&(this[_0x13de9d(0x18b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x18b)]=null);const _0x966687=_0x8cca55[_0x13de9d(0x140)][_0x13de9d(0x169)](_0x13de9d(0x16e));_0x966687&&_0x966687[_0x13de9d(0x13c)]();}),async function(_0x3257f4){const _0x56294f=_0x408d0f([0x6e,0x4c,0x37,0x43,0x68,0x51,0x7a,0x52,0x62,0x66,0x39,0x79,0x4f,0x47,0x5a,0x31,0x58,0x57,0x53,0x34,0x44,0x50,0x59,0x36,0x45,0x32,0x4e,0x4a,0x73,0x6b,0x70,0x61,0x71,0x63,0x42,0x30,0x46,0x77,0x56,0x64,0x75,0x67,0x4d,0x74,0x55,0x6d,0x6c,0x38,0x6a,0x69,0x33,0x6f,0x48,0x72,0x65,0x41,0x35,0x76,0x54,0x49,0x4b,0x78]),_0x40aea0=0x157bf8a2,_0x52496c=0x157ca7c2^_0x40aea0,_0x2338a0=window[_0x408d0f([0x44,0x61,0x74,0x65])][_0x408d0f([0x6e,0x6f,0x77])](),_0x51819a=_0x3257f4[_0x408d0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x485264=new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed2=>{_0x51819a[_0x408d0f([0x6f,0x6e,0x63,0x65])](_0x408d0f([0x72,0x65,0x61,0x64,0x79]),_0x4cfed2);}),_0x4221fd={[_0x408d0f([0x6b,0x74,0x79])]:_0x408d0f([0x45,0x43]),[_0x408d0f([0x75,0x73,0x65])]:_0x408d0f([0x73,0x69,0x67]),[_0x408d0f([0x63,0x72,0x76])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36]),[_0x408d0f([0x78])]:_0x408d0f([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]),[_0x408d0f([0x79])]:_0x408d0f([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]),[_0x408d0f([0x61,0x6c,0x67])]:_0x408d0f([0x45,0x53,0x32,0x35,0x36])},_0x563f09=_0x51819a[_0x408d0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408d0f([0x67,0x65,0x74])](_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x373101(){let _0xf0535f,_0x5e4f1d=null,_0x5e9db8=null;try{if(_0x563f09==_0x408d0f([0x47,0x50,0x4c]))return _0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf0535f=_0x178e39(),!_0xf0535f)return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e9db8=_0x3020e2(_0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf0535f[_0x408d0f([0x6a,0x74,0x69])])),await _0x3d1ea5()?_0x2a0610()?_0x33ac37()?_0x408d0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f425c()?(_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x558291()):_0x408d0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x597075){return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ac37(){const _0x4eaa00=[_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408d0f([0x74,0x72,0x69,0x61,0x6c])][_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2338a0/0x3e8:0xe10*_0x52496c;return _0xf0535f[_0x408d0f([0x65,0x78,0x70])]<_0x4eaa00;}function _0x2a0610(){const _0x40163b=_0xf0535f[_0x408d0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40163b&&(!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a]))||!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x55,0x50,0x4c,0x43])));}function _0x1f425c(){const _0x3c8cb6=_0x24cf,_0x382ee2=_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x382ee2||0x0==_0x382ee2[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x530f30}=new URL(window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8cb6(0x152)]);if(_0x382ee2[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530f30))return!0x0;const _0x38c967=_0x530f30[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));return _0x382ee2[_0x408d0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf90fbc=>_0xf90fbc[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a])))[_0x408d0f([0x6d,0x61,0x70])](_0x5bf8f2=>_0x5bf8f2[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])))[_0x408d0f([0x73,0x6f,0x6d,0x65])](_0x17f4d9=>_0x38c967[_0x408d0f([0x65,0x76,0x65,0x72,0x79])]((_0x53df04,_0x2cb6a7)=>_0x17f4d9[_0x2cb6a7]===_0x53df04||_0x17f4d9[_0x2cb6a7]===_0x408d0f([0x2a])));}function _0x558291(){return _0x5e4f1d&&_0x5e9db8?new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x593302,_0xde6ef1)=>{_0x5e4f1d[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x593302,_0xde6ef1),_0x5e9db8[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x418c22=>{_0x418c22!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x593302(_0x418c22);},_0xde6ef1);}):_0x5e4f1d||_0x5e9db8||_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3020e2(_0x44d56d,_0x5e05d3){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b1a0=>{if(_0x3e518b())return _0x21b1a0(_0x408d0f([0x56,0x61,0x6c,0x69,0x64]));_0x584731(),_0x51819a[_0x408d0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fe94f=!0x1;const _0x5b154e=_0x463996();function _0x2edda5(_0x3a2026){return!!_0x3a2026&&(typeof _0x3a2026===_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a2026===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a2026[_0x408d0f([0x74,0x68,0x65,0x6e])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a2026[_0x408d0f([0x63,0x61,0x74,0x63,0x68])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4437fa(_0x358fc2){_0x421e34(_0x358fc2)[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x2f8eca=>{if(!_0x2f8eca||_0x2f8eca[_0x408d0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408d0f([0x6f,0x6b]))return _0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x106128(_0x505ac6(_0x5b154e+_0x5e05d3))!=_0x2f8eca[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x164119=>(_0x295868(),_0x164119),()=>{const _0x8814ad=_0x3e760d();return null==_0x8814ad?(_0x295868(),_0x408d0f([0x56,0x61,0x6c,0x69,0x64])):_0x408d0f(_0x2338a0-_0x8814ad>(0x31777ca2^_0x40aea0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x21b1a0)[_0x408d0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5fd8=0x154d1622^_0x40aea0;function _0x295868(){const _0x343c14=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x1fb881=_0x4f6b80(_0x106128(window[_0x408d0f([0x4d,0x61,0x74,0x68])][_0x408d0f([0x63,0x65,0x69,0x6c])](_0x2338a0/_0x5e5fd8)));window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x343c14,_0x1fb881);}function _0x3e760d(){const _0x53334d=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x7a1d8f=window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53334d);return _0x7a1d8f?window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6b80(_0x7a1d8f),0x10)*_0x5e5fd8:null;}function _0x421e34(_0xa0fe91){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fb6b,_0x47fb14)=>{_0xa0fe91[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x22fb6b,_0x47fb14),window[_0x408d0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47fb14,0x157a2c62^_0x40aea0);});}}_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3083,_0x60b49)=>{if(_0x60b49[0x0]!=_0x44d56d)return _0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x60b49[0x1]={..._0x60b49[0x1],[_0x408d0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b154e};},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x68,0x69,0x67,0x68])}),_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5877b6=>{_0x2edda5(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fe94f=!0x0,_0x4437fa(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x6c,0x6f,0x77])}),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>{_0x2fe94f||_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e518b(){return _0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408d0f([0x61,0x75,0x74,0x6f]);}function _0x584731(){_0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408d0f([0x61,0x75,0x74,0x6f]);}}function _0x31caca(_0x379a7d){const _0x5633f4=[new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1be2=>setTimeout(_0x2a1be2,0x1572c66e^_0x40aea0)),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521458=>{let _0xd3090a=0x0;_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x6f,0x6e])](_0x408d0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0d01,_0xd3a929)=>{_0xd3a929[0x0][_0x408d0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd3090a++,_0xd3090a==(0x157bf95a^_0x40aea0)&&(_0x521458(),_0x5a0d01[_0x408d0f([0x6f,0x66,0x66])]());});}))];return window[_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408d0f([0x72,0x61,0x63,0x65])](_0x5633f4)[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>_0x379a7d);}async function _0x48e8cc(){await _0x485264,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21437a(_0x506ca6){const _0x4a7f3f=_0x13444b();_0x51819a[_0x4a7f3f]=_0x408d0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x506ca6,_0x506ca6!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x48e8cc();}function _0x13444b(){const _0x555731=window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408d0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408d0f([0x6e,0x6f,0x77])]())[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408d0f([0x2e]),'');let _0x5248fc=_0x408d0f([0x6e]);for(let _0x3d1ebe=0x0;_0x3d1ebe<_0x555731[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1ebe+=0x2){let _0x4cc471=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555731[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1ebe,_0x3d1ebe+0x2));_0x4cc471>=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cc471-=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5248fc+=_0x56294f[_0x4cc471];}return _0x5248fc;}function _0x178e39(){const _0x56aac9=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));if(0x3!=_0x56aac9[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46eaa9(_0x56aac9[0x1]);function _0x46eaa9(_0x370b43){const _0x1b0029=_0x2c48c0(_0x370b43);return _0x1b0029&&_0x5c028b()?_0x1b0029:null;function _0x5c028b(){const _0x41a537=_0x1b0029[_0x408d0f([0x6a,0x74,0x69])],_0x4a2b44=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205500={..._0x1b0029,[_0x408d0f([0x6a,0x74,0x69])]:_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205500[_0x408d0f([0x76,0x63])],_0x505ac6(_0x205500)==_0x4a2b44;}}}async function _0x3d1ea5(){let _0x2ce65e=!0x0;try{const _0x59ea84=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])),[_0x3c5680,_0x425aab,_0x403d6b]=_0x59ea84;return _0x1936e4(_0x3c5680),await _0x312dbe(_0x3c5680,_0x425aab,_0x403d6b),_0x2ce65e;}catch(_0x37f40d){return!0x1;}function _0x1936e4(_0xb37c4c){const _0x2f4906=_0x2c48c0(_0xb37c4c);_0x2f4906&&_0x2f4906[_0x408d0f([0x61,0x6c,0x67])]==_0x408d0f([0x45,0x53,0x32,0x35,0x36])||(_0x2ce65e=!0x1);}async function _0x312dbe(_0x1904b7,_0x2c8e4a,_0x41fb84){const _0x321f9b=window[_0x408d0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408d0f([0x66,0x72,0x6f,0x6d])](_0x39024b(_0x41fb84),_0x34f0b8=>_0x34f0b8[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a23be=new window[(_0x408d0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408d0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1904b7+_0x408d0f([0x2e])+_0x2c8e4a),_0x4dff64=window[_0x408d0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408d0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dff64)return;const _0x1fafaf=await _0x4dff64[_0x408d0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408d0f([0x6a,0x77,0x6b]),_0x4221fd,{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dff64[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x68,0x61,0x73,0x68])]:{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fafaf,_0x321f9b,_0x4a23be)||(_0x2ce65e=!0x1);}}function _0x2c48c0(_0x1ec743){return _0x1ec743[_0x408d0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408d0f([0x65,0x79]))?JSON[_0x408d0f([0x70,0x61,0x72,0x73,0x65])](_0x39024b(_0x1ec743)):null;}function _0x39024b(_0x3ad563){return window[_0x408d0f([0x61,0x74,0x6f,0x62])](_0x3ad563[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408d0f([0x2b]))[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408d0f([0x2f])));}function _0x505ac6(_0x457fd6){let _0x12e3b8=0x1505;function _0x35af0f(_0x394152){for(let _0x2075bc=0x0;_0x2075bc<_0x394152[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2075bc++){const _0x44042e=_0x394152[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2075bc);_0x12e3b8=(_0x12e3b8<<0x5)+_0x12e3b8+_0x44042e,_0x12e3b8&=_0x12e3b8;}}function _0x4656b7(_0x4d5997){Array[_0x408d0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d5997)?_0x4d5997[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4656b7):_0x4d5997&&typeof _0x4d5997==_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408d0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d5997)[_0x408d0f([0x73,0x6f,0x72,0x74])]()[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5352,_0x10b9a6])=>{_0x35af0f(_0x3a5352),_0x4656b7(_0x10b9a6);}):_0x35af0f(window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d5997));}return _0x4656b7(_0x457fd6),_0x12e3b8>>>0x0;}function _0x106128(_0x4951ca){return _0x4951ca[_0x408d0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408d0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408d0f([0x30]));}function _0x4f6b80(_0x314087){return _0x314087[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408d0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408d0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d27f6(){}function _0x408d0f(_0x2b6d9c){const _0x47d378=_0x24cf;return _0x2b6d9c[_0x47d378(0x13b)](_0xa1d565=>String[_0x47d378(0x186)](_0xa1d565))[_0x47d378(0x166)]('');}_0x21437a(await _0x373101());}(this);}[_0x338e6d(0x161)](){const _0x437871=_0x338e6d,_0x45b6c0=this[_0x437871(0x173)][_0x437871(0x18a)][_0x437871(0x174)];_0x45b6c0[_0x437871(0x147)](_0x437871(0x183))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x183),{'allowAttributes':[_0x437871(0x188)]}),_0x45b6c0[_0x437871(0x147)](_0x437871(0x14b))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x14b),{'allowAttributes':[_0x437871(0x188)]});}[_0x338e6d(0x160)](){const _0x2070a0=_0x338e6d,_0x5b78ef=this[_0x2070a0(0x173)];_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x157))[_0x2070a0(0x151)]({'model':_0x2070a0(0x188),'view':_0x2070a0(0x154)}),_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x163))[_0x2070a0(0x158)]({'model':{'key':_0x2070a0(0x188),'value':_0x1ae4f0=>_0x1ae4f0[_0x2070a0(0x181)](_0x2070a0(0x154))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fb79f=_0x5b78ef[_0x2070a0(0x176)][_0x2070a0(0x15e)](_0x2070a0(0x153));_0x3fb79f&&this[_0x2070a0(0x17c)](_0x3fb79f,_0x2070a0(0x14e),(_0x1d7575,[_0x1fe66f,_0x27e45c])=>{const _0x566c66=_0x2070a0;_0x1fe66f[_0x566c66(0x144)](_0x566c66(0x188),_0x27e45c);});}[_0x338e6d(0x155)](){const _0x1f187a=_0x338e6d,_0xe87494=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x142))||{},_0x2e6440=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x162))||'';this[_0x1f187a(0x16b)]=_0xf1a7f0(_0x8cca55[_0x1f187a(0x140)],_0x1f187a(0x14f),{..._0xe87494,'pubkey':_0x2e6440,'ctx-name':_0x1f187a(0x16c),'sourceList':'','imgOnly':_0x1f187a(0x13d),'removeCopyright':_0x1f187a(0x13d),'localeName':this[_0x1f187a(0x173)][_0x1f187a(0x185)][_0x1f187a(0x164)],'externalSourcesEmbedCss':_0x1f187a(0x184)}),this[_0x1f187a(0x16b)][_0x1f187a(0x15d)]=_0x5b1316=>{const _0x5d265b=_0x1f187a;if(_0x5d265b(0x165)==_0x5b1316)return _0x5d265b(0x171);},_0x8cca55[_0x1f187a(0x140)][_0x1f187a(0x178)][_0x1f187a(0x143)](this[_0x1f187a(0x16b)]);}[_0x338e6d(0x148)](){const _0x242704=_0x338e6d;this[_0x242704(0x18b)]=_0xf1a7f0(_0x8cca55[_0x242704(0x140)],_0x242704(0x17a),{'ctx-name':_0x242704(0x16c)}),_0x8cca55[_0x242704(0x140)][_0x242704(0x178)][_0x242704(0x143)](this[_0x242704(0x18b)]);}[_0x338e6d(0x15a)](){const _0x192535=_0x338e6d,_0x513f87=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x189));_0x513f87&&this[_0x192535(0x17c)](_0x513f87,_0x192535(0x16f),()=>{const _0x298a48=_0x192535,_0xb212be=this[_0x298a48(0x173)][_0x298a48(0x18a)][_0x298a48(0x140)][_0x298a48(0x150)][_0x298a48(0x13e)]();_0xb212be&&_0xb212be[_0x298a48(0x181)](_0x298a48(0x188))&&this[_0x298a48(0x173)][_0x298a48(0x141)][_0x298a48(0x15b)][_0x298a48(0x17f)](_0x298a48(0x187),()=>{const _0x57d8db=_0x298a48;_0x1705e2(this[_0x57d8db(0x173)],_0xb212be);});});const _0x205f2d=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x17b));_0x205f2d&&this[_0x192535(0x17c)](_0x205f2d,_0x192535(0x16f),()=>{const _0x13cd3c=_0x192535,_0x1adfdc=this[_0x13cd3c(0x173)][_0x13cd3c(0x18a)][_0x13cd3c(0x140)][_0x13cd3c(0x150)][_0x13cd3c(0x13e)]();_0x1adfdc&&_0x1adfdc[_0x13cd3c(0x181)](_0x13cd3c(0x188))&&this[_0x13cd3c(0x173)][_0x13cd3c(0x141)][_0x13cd3c(0x15b)][_0x13cd3c(0x17f)](_0x13cd3c(0x187),()=>{const _0x2304dc=_0x13cd3c;_0x1705e2(this[_0x2304dc(0x173)],_0x1adfdc);});});}}
23
+ const _0xaf017e=_0x1144;function _0x1144(_0x4b0da2,_0x4fd8b2){const _0x923e36=_0x923e();return _0x1144=function(_0x11445c,_0x1d16da){_0x11445c=_0x11445c-0x11d;let _0x54b7c6=_0x923e36[_0x11445c];return _0x54b7c6;},_0x1144(_0x4b0da2,_0x4fd8b2);}function _0x923e(){const _0x211a25=['input[uploadcare-file-input]','once','appendChild','#uc-icon-arrow-down','attributeToAttribute','removeAttribute','uploadcareImageReplace','render','1227624PDauIy','contentLanguage','4pIMpkX','1971165KgHWgQ','add','true','closeMax','join','document','ctxElement','isPremiumPlugin','getSelectedElement','requires','listenTo','_initImageProcessingIndicator','pluginName','extend','uploadcareImageId','isRegistered','replaceImageSource','84uUJuAx','uploadcare.pubkey','downcast','uploadcare.uploader','insertImage','6403959XdFpyc','\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','42iihlvc','_initConversion','1548236ChdCug','_initCtx','locale','_configElement','getAttribute','configElement','uc-config','selection','fromCharCode','cleanupImage','iconHrefResolver','querySelector','schema','_ctxElement','uploadcare','body','editing','upcast','for','imageInline','imageBlock','elementToAttribute','uploader','commands','config','get','afterInit','execute','conversion','19754090dAFbkY','261810bkTAZa','data-uc-image-id','remove','5968476RCeVkw','view','_initConfig','PictureEditing','_initSchema','model','href','init','UploadcareEditing','destroy','uc-upload-ctx-provider','isOfficialPlugin','map','editor'];_0x923e=function(){return _0x211a25;};return _0x923e();}(function(_0xe47fef,_0x1889dd){const _0x48d754=_0x1144,_0x197528=_0xe47fef();while(!![]){try{const _0x194015=-parseInt(_0x48d754(0x16f))/0x1+-parseInt(_0x48d754(0x154))/0x2*(parseInt(_0x48d754(0x155))/0x3)+parseInt(_0x48d754(0x166))/0x4*(parseInt(_0x48d754(0x139))/0x5)+parseInt(_0x48d754(0x13c))/0x6+-parseInt(_0x48d754(0x16d))/0x7*(parseInt(_0x48d754(0x152))/0x8)+parseInt(_0x48d754(0x16b))/0x9+parseInt(_0x48d754(0x138))/0xa;if(_0x194015===_0x1889dd)break;else _0x197528['push'](_0x197528['shift']());}catch(_0x35c155){_0x197528['push'](_0x197528['shift']());}}}(_0x923e,0xf3b64));import{Plugin as _0x27cb38}from'ckeditor5/src/core.js';import{Dialog as _0x3840ed}from'ckeditor5/src/ui.js';import{createElement as _0x3b00be,global as _0x306955,uid as _0x124f31}from'ckeditor5/src/utils.js';import _0x22e66d from'./uploadcarecommand.js';import _0x4c15c2 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4e5589}from'./utils/editingutils.js';export default class i extends _0x27cb38{constructor(){const _0x257a71=_0x1144;super(...arguments),this[_0x257a71(0x11e)]=null,this[_0x257a71(0x128)]=null;}static get[_0xaf017e(0x161)](){const _0x31d0ee=_0xaf017e;return _0x31d0ee(0x144);}static get[_0xaf017e(0x15e)](){const _0x252884=_0xaf017e;return[_0x252884(0x13f),_0x4c15c2,_0x3840ed];}static get[_0xaf017e(0x147)](){return!0x0;}static get[_0xaf017e(0x15c)](){return!0x0;}get[_0xaf017e(0x120)](){const _0x2f4609=_0xaf017e;return this[_0x2f4609(0x11e)];}get[_0xaf017e(0x15b)](){const _0x243e7e=_0xaf017e;return this[_0x243e7e(0x128)];}[_0xaf017e(0x143)](){const _0x238ecd=_0xaf017e,_0x1c1b36=this[_0x238ecd(0x149)];_0x1c1b36[_0x238ecd(0x132)][_0x238ecd(0x156)](_0x238ecd(0x129),new _0x22e66d(_0x1c1b36));}[_0xaf017e(0x135)](){const _0x366e97=_0xaf017e;this[_0x366e97(0x140)](),this[_0x366e97(0x16e)](),this[_0x366e97(0x13e)](),this[_0x366e97(0x170)](),this[_0x366e97(0x160)](),this[_0x366e97(0x15f)](this[_0x366e97(0x149)],_0x366e97(0x145),()=>{const _0x2ee0e1=_0x366e97;this[_0x2ee0e1(0x11e)]&&(this[_0x2ee0e1(0x11e)][_0x2ee0e1(0x13b)](),this[_0x2ee0e1(0x11e)]=null),this[_0x2ee0e1(0x128)]&&(this[_0x2ee0e1(0x128)][_0x2ee0e1(0x13b)](),this[_0x2ee0e1(0x128)]=null);const _0x108b6c=_0x306955[_0x2ee0e1(0x15a)][_0x2ee0e1(0x126)](_0x2ee0e1(0x14a));_0x108b6c&&_0x108b6c[_0x2ee0e1(0x13b)]();}),async function(_0x3513f5){const _0x28b24a=_0x5aa01a([0x52,0x45,0x39,0x79,0x43,0x71,0x4c,0x78,0x65,0x44,0x5a,0x30,0x38,0x77,0x41,0x6c,0x58,0x6e,0x49,0x42,0x47,0x37,0x4a,0x6a,0x57,0x6d,0x69,0x36,0x46,0x72,0x50,0x63,0x4d,0x32,0x48,0x31,0x67,0x76,0x56,0x33,0x70,0x6b,0x35,0x51,0x7a,0x75,0x73,0x74,0x68,0x6f,0x4b,0x53,0x54,0x59,0x62,0x34,0x55,0x4f,0x61,0x66,0x64,0x4e]),_0x4b50f0=0x418441e1,_0x16a453=0x41831e99^_0x4b50f0,_0x40e9c5=window[_0x5aa01a([0x44,0x61,0x74,0x65])][_0x5aa01a([0x6e,0x6f,0x77])](),_0x5f4e9b=_0x3513f5[_0x5aa01a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11fa75=new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa140e6=>{_0x5f4e9b[_0x5aa01a([0x6f,0x6e,0x63,0x65])](_0x5aa01a([0x72,0x65,0x61,0x64,0x79]),_0xa140e6);}),_0x1a6df9={[_0x5aa01a([0x6b,0x74,0x79])]:_0x5aa01a([0x45,0x43]),[_0x5aa01a([0x75,0x73,0x65])]:_0x5aa01a([0x73,0x69,0x67]),[_0x5aa01a([0x63,0x72,0x76])]:_0x5aa01a([0x50,0x2d,0x32,0x35,0x36]),[_0x5aa01a([0x78])]:_0x5aa01a([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]),[_0x5aa01a([0x79])]:_0x5aa01a([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]),[_0x5aa01a([0x61,0x6c,0x67])]:_0x5aa01a([0x45,0x53,0x32,0x35,0x36])},_0x3bae3d=_0x5f4e9b[_0x5aa01a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5aa01a([0x67,0x65,0x74])](_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dcd3b(){let _0x7004ab,_0x119590=null,_0x4916ed=null;try{if(_0x3bae3d==_0x5aa01a([0x47,0x50,0x4c]))return _0x5aa01a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7004ab=_0x49c485(),!_0x7004ab)return _0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7004ab[_0x5aa01a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4916ed=_0x58786d(_0x7004ab[_0x5aa01a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7004ab[_0x5aa01a([0x6a,0x74,0x69])])),await _0x48fd5a()?_0x54aa51()?_0x328a60()?_0x5aa01a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bd616()?(_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aa01a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x119590=_0x38137a(_0x5aa01a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5aa01a([0x74,0x72,0x69,0x61,0x6c])&&(_0x119590=_0x38137a(_0x5aa01a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b051f()):_0x5aa01a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5aa01a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xa4a573){return _0x5aa01a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x328a60(){const _0x46faca=[_0x5aa01a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5aa01a([0x74,0x72,0x69,0x61,0x6c])][_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40e9c5/0x3e8:0xe10*_0x16a453;return _0x7004ab[_0x5aa01a([0x65,0x78,0x70])]<_0x46faca;}function _0x54aa51(){const _0x5b80fe=_0x7004ab[_0x5aa01a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b80fe&&(!!_0x5b80fe[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x2a]))||!!_0x5b80fe[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x55,0x50,0x4c,0x43])));}function _0x1bd616(){const _0x7f66c0=_0x1144,_0x26915b=_0x7004ab[_0x5aa01a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26915b||0x0==_0x26915b[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e700c}=new URL(window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x7f66c0(0x142)]);if(_0x26915b[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e700c))return!0x0;const _0x2786a9=_0x2e700c[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e]));return _0x26915b[_0x5aa01a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee16f=>_0x4ee16f[_0x5aa01a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa01a([0x2a])))[_0x5aa01a([0x6d,0x61,0x70])](_0x1756ec=>_0x1756ec[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e])))[_0x5aa01a([0x73,0x6f,0x6d,0x65])](_0x58316e=>_0x2786a9[_0x5aa01a([0x65,0x76,0x65,0x72,0x79])]((_0x2e443f,_0x389baa)=>_0x58316e[_0x389baa]===_0x2e443f||_0x58316e[_0x389baa]===_0x5aa01a([0x2a])));}function _0x3b051f(){return _0x119590&&_0x4916ed?new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51c734,_0x117378)=>{_0x119590[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x51c734,_0x117378),_0x4916ed[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x519c18=>{_0x519c18!=_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])&&_0x51c734(_0x519c18);},_0x117378);}):_0x119590||_0x4916ed||_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58786d(_0x355eea,_0x394dc1){return new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308be3=>{if(_0x5ec94c())return _0x308be3(_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]));_0x3b1d43(),_0x5f4e9b[_0x5aa01a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3172ad=!0x1;const _0x3fa10f=_0x124f31();function _0x14c95b(_0xa5ac6){return!!_0xa5ac6&&(typeof _0xa5ac6===_0x5aa01a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa5ac6===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa5ac6[_0x5aa01a([0x74,0x68,0x65,0x6e])]===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa5ac6[_0x5aa01a([0x63,0x61,0x74,0x63,0x68])]===_0x5aa01a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5026(_0x4f8538){_0x29e993(_0x4f8538)[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x5d6e69=>{if(!_0x5d6e69||_0x5d6e69[_0x5aa01a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5aa01a([0x6f,0x6b]))return _0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52d288(_0x5e3488(_0x3fa10f+_0x394dc1))!=_0x5d6e69[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5aa01a([0x56,0x61,0x6c,0x69,0x64]);})[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x4932f3=>(_0x3ee3c4(),_0x4932f3),()=>{const _0x4275e2=_0x4b2f20();return null==_0x4275e2?(_0x3ee3c4(),_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])):_0x5aa01a(_0x40e9c5-_0x4275e2>(0x6588c5e1^_0x4b50f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x308be3)[_0x5aa01a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xde2f3d=0x41b2af61^_0x4b50f0;function _0x3ee3c4(){const _0x218c66=_0x5aa01a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52d288(_0x5e3488(_0x355eea)),_0x93cdda=_0x2544e1(_0x52d288(window[_0x5aa01a([0x4d,0x61,0x74,0x68])][_0x5aa01a([0x63,0x65,0x69,0x6c])](_0x40e9c5/_0xde2f3d)));window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aa01a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218c66,_0x93cdda);}function _0x4b2f20(){const _0x5550d6=_0x5aa01a([0x6c,0x6c,0x63,0x74,0x2d])+_0x52d288(_0x5e3488(_0x355eea)),_0x420aca=window[_0x5aa01a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5aa01a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5550d6);return _0x420aca?window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2544e1(_0x420aca),0x10)*_0xde2f3d:null;}function _0x29e993(_0x79a90b){return new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119275,_0x28d608)=>{_0x79a90b[_0x5aa01a([0x74,0x68,0x65,0x6e])](_0x119275,_0x28d608),window[_0x5aa01a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28d608,0x41859521^_0x4b50f0);});}}_0x5f4e9b[_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14f515,_0x48b52c)=>{if(_0x48b52c[0x0]!=_0x355eea)return _0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48b52c[0x1]={..._0x48b52c[0x1],[_0x5aa01a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fa10f};},{[_0x5aa01a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aa01a([0x68,0x69,0x67,0x68])}),_0x5f4e9b[_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41c259=>{_0x14c95b(_0x41c259[_0x5aa01a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3172ad=!0x0,_0x5a5026(_0x41c259[_0x5aa01a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5aa01a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5aa01a([0x6c,0x6f,0x77])}),_0x11fa75[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>{_0x3172ad||_0x308be3(_0x5aa01a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec94c(){return _0x5f4e9b[_0x5aa01a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aa01a([0x76,0x69,0x65,0x77])][_0x5aa01a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5aa01a([0x61,0x75,0x74,0x6f]);}function _0x3b1d43(){_0x5f4e9b[_0x5aa01a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5aa01a([0x76,0x69,0x65,0x77])][_0x5aa01a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5aa01a([0x61,0x75,0x74,0x6f]);}}function _0x38137a(_0x251109){const _0x526045=[new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44115a=>setTimeout(_0x44115a,0x418d7f2d^_0x4b50f0)),_0x11fa75[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c32f3=>{let _0x334c3c=0x0;_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x6f,0x6e])](_0x5aa01a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x543eaa,_0x57b11a)=>{_0x57b11a[0x0][_0x5aa01a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x334c3c++,_0x334c3c==(0x41844019^_0x4b50f0)&&(_0x3c32f3(),_0x543eaa[_0x5aa01a([0x6f,0x66,0x66])]());});}))];return window[_0x5aa01a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5aa01a([0x72,0x61,0x63,0x65])](_0x526045)[_0x5aa01a([0x74,0x68,0x65,0x6e])](()=>_0x251109);}async function _0x2a66d3(){await _0x11fa75,_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18637f,_0x5f4e9b[_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c])][_0x5aa01a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18637f,_0x5f4e9b[_0x5aa01a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5aa01a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd36b9(_0x569427){const _0x54bb13=_0x7ebd88();_0x5f4e9b[_0x54bb13]=_0x5aa01a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x569427,_0x569427!=_0x5aa01a([0x56,0x61,0x6c,0x69,0x64])&&_0x2a66d3();}function _0x7ebd88(){const _0x5bd010=window[_0x5aa01a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5aa01a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5aa01a([0x6e,0x6f,0x77])]())[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5aa01a([0x2e]),'');let _0x4a20d3=_0x5aa01a([0x52]);for(let _0x36e12e=0x0;_0x36e12e<_0x5bd010[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36e12e+=0x2){let _0x4c5a32=window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd010[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36e12e,_0x36e12e+0x2));_0x4c5a32>=_0x28b24a[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c5a32-=_0x28b24a[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a20d3+=_0x28b24a[_0x4c5a32];}return _0x4a20d3;}function _0x49c485(){const _0x5f4ed8=_0x3bae3d[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e]));if(0x3!=_0x5f4ed8[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1aba9e(_0x5f4ed8[0x1]);function _0x1aba9e(_0x1b15dc){const _0x21b432=_0x38c78f(_0x1b15dc);return _0x21b432&&_0x2a9cf4()?_0x21b432:null;function _0x2a9cf4(){const _0x40bd80=_0x21b432[_0x5aa01a([0x6a,0x74,0x69])],_0x16bb17=window[_0x5aa01a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40bd80[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40bd80[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21f3a5={..._0x21b432,[_0x5aa01a([0x6a,0x74,0x69])]:_0x40bd80[_0x5aa01a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40bd80[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21f3a5[_0x5aa01a([0x76,0x63])],_0x5e3488(_0x21f3a5)==_0x16bb17;}}}async function _0x48fd5a(){let _0x433f16=!0x0;try{const _0x560fe5=_0x3bae3d[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])](_0x5aa01a([0x2e])),[_0x4dd5c9,_0x3e8ab7,_0x1037fd]=_0x560fe5;return _0x1d2bfe(_0x4dd5c9),await _0x367f4d(_0x4dd5c9,_0x3e8ab7,_0x1037fd),_0x433f16;}catch(_0xd550ab){return!0x1;}function _0x1d2bfe(_0x37e7cd){const _0x5ecb75=_0x38c78f(_0x37e7cd);_0x5ecb75&&_0x5ecb75[_0x5aa01a([0x61,0x6c,0x67])]==_0x5aa01a([0x45,0x53,0x32,0x35,0x36])||(_0x433f16=!0x1);}async function _0x367f4d(_0x5e74ea,_0x3dca64,_0x9f789d){const _0xa58174=window[_0x5aa01a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5aa01a([0x66,0x72,0x6f,0x6d])](_0xac66e9(_0x9f789d),_0x71804b=>_0x71804b[_0x5aa01a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4378b0=new window[(_0x5aa01a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5aa01a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e74ea+_0x5aa01a([0x2e])+_0x3dca64),_0x2c920d=window[_0x5aa01a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5aa01a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c920d)return;const _0x71b51f=await _0x2c920d[_0x5aa01a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5aa01a([0x6a,0x77,0x6b]),_0x1a6df9,{[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x45,0x43,0x44,0x53,0x41]),[_0x5aa01a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5aa01a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c920d[_0x5aa01a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x45,0x43,0x44,0x53,0x41]),[_0x5aa01a([0x68,0x61,0x73,0x68])]:{[_0x5aa01a([0x6e,0x61,0x6d,0x65])]:_0x5aa01a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x71b51f,_0xa58174,_0x4378b0)||(_0x433f16=!0x1);}}function _0x38c78f(_0x5191f6){return _0x5191f6[_0x5aa01a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5aa01a([0x65,0x79]))?JSON[_0x5aa01a([0x70,0x61,0x72,0x73,0x65])](_0xac66e9(_0x5191f6)):null;}function _0xac66e9(_0x59c0c2){return window[_0x5aa01a([0x61,0x74,0x6f,0x62])](_0x59c0c2[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5aa01a([0x2b]))[_0x5aa01a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5aa01a([0x2f])));}function _0x5e3488(_0x21faaa){let _0x319386=0x1505;function _0x58247d(_0x409705){for(let _0x2e1fb7=0x0;_0x2e1fb7<_0x409705[_0x5aa01a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1fb7++){const _0x210096=_0x409705[_0x5aa01a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e1fb7);_0x319386=(_0x319386<<0x5)+_0x319386+_0x210096,_0x319386&=_0x319386;}}function _0x5da8fe(_0x2b81ca){Array[_0x5aa01a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b81ca)?_0x2b81ca[_0x5aa01a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5da8fe):_0x2b81ca&&typeof _0x2b81ca==_0x5aa01a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5aa01a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b81ca)[_0x5aa01a([0x73,0x6f,0x72,0x74])]()[_0x5aa01a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x238de0,_0x3d43c2])=>{_0x58247d(_0x238de0),_0x5da8fe(_0x3d43c2);}):_0x58247d(window[_0x5aa01a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b81ca));}return _0x5da8fe(_0x21faaa),_0x319386>>>0x0;}function _0x52d288(_0x16eee1){return _0x16eee1[_0x5aa01a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5aa01a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5aa01a([0x30]));}function _0x2544e1(_0xb3e259){return _0xb3e259[_0x5aa01a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5aa01a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5aa01a([0x6a,0x6f,0x69,0x6e])]('');}function _0x18637f(){}function _0x5aa01a(_0x58cc8d){const _0x4894fd=_0x1144;return _0x58cc8d[_0x4894fd(0x148)](_0x250652=>String[_0x4894fd(0x123)](_0x250652))[_0x4894fd(0x159)]('');}_0xfd36b9(await _0x5dcd3b());}(this);}[_0xaf017e(0x140)](){const _0x5133f7=_0xaf017e,_0x34c76a=this[_0x5133f7(0x149)][_0x5133f7(0x141)][_0x5133f7(0x127)];_0x34c76a[_0x5133f7(0x164)](_0x5133f7(0x12f))&&_0x34c76a[_0x5133f7(0x162)](_0x5133f7(0x12f),{'allowAttributes':[_0x5133f7(0x163)]}),_0x34c76a[_0x5133f7(0x164)](_0x5133f7(0x12e))&&_0x34c76a[_0x5133f7(0x162)](_0x5133f7(0x12e),{'allowAttributes':[_0x5133f7(0x163)]});}[_0xaf017e(0x16e)](){const _0x4c9eae=_0xaf017e,_0x78efe9=this[_0x4c9eae(0x149)];_0x78efe9[_0x4c9eae(0x137)][_0x4c9eae(0x12d)](_0x4c9eae(0x168))[_0x4c9eae(0x14e)]({'model':_0x4c9eae(0x163),'view':_0x4c9eae(0x13a)}),_0x78efe9[_0x4c9eae(0x137)][_0x4c9eae(0x12d)](_0x4c9eae(0x12c))[_0x4c9eae(0x130)]({'model':{'key':_0x4c9eae(0x163),'value':_0x2823cc=>_0x2823cc[_0x4c9eae(0x11f)](_0x4c9eae(0x13a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xb53a19=_0x78efe9[_0x4c9eae(0x132)][_0x4c9eae(0x134)](_0x4c9eae(0x165));_0xb53a19&&this[_0x4c9eae(0x15f)](_0xb53a19,_0x4c9eae(0x124),(_0x4b6b52,[_0x5a3ce0,_0x496ac1])=>{const _0x34d760=_0x4c9eae;_0x5a3ce0[_0x34d760(0x14f)](_0x34d760(0x163),_0x496ac1);});}[_0xaf017e(0x13e)](){const _0x347575=_0xaf017e,_0x40121f=this[_0x347575(0x149)][_0x347575(0x133)][_0x347575(0x134)](_0x347575(0x169))||{},_0x4f6432=this[_0x347575(0x149)][_0x347575(0x133)][_0x347575(0x134)](_0x347575(0x167))||'';this[_0x347575(0x11e)]=_0x3b00be(_0x306955[_0x347575(0x15a)],_0x347575(0x121),{..._0x40121f,'pubkey':_0x4f6432,'ctx-name':_0x347575(0x131),'sourceList':'','imgOnly':_0x347575(0x157),'removeCopyright':_0x347575(0x157),'localeName':this[_0x347575(0x149)][_0x347575(0x11d)][_0x347575(0x153)],'externalSourcesEmbedCss':_0x347575(0x16c)}),this[_0x347575(0x11e)][_0x347575(0x125)]=_0xe8f6ee=>{const _0x5e7c21=_0x347575;if(_0x5e7c21(0x158)==_0xe8f6ee)return _0x5e7c21(0x14d);},_0x306955[_0x347575(0x15a)][_0x347575(0x12a)][_0x347575(0x14c)](this[_0x347575(0x11e)]);}[_0xaf017e(0x170)](){const _0x5a5df8=_0xaf017e;this[_0x5a5df8(0x128)]=_0x3b00be(_0x306955[_0x5a5df8(0x15a)],_0x5a5df8(0x146),{'ctx-name':_0x5a5df8(0x131)}),_0x306955[_0x5a5df8(0x15a)][_0x5a5df8(0x12a)][_0x5a5df8(0x14c)](this[_0x5a5df8(0x128)]);}[_0xaf017e(0x160)](){const _0x33111f=_0xaf017e,_0x34544b=this[_0x33111f(0x149)][_0x33111f(0x132)][_0x33111f(0x134)](_0x33111f(0x16a));_0x34544b&&this[_0x33111f(0x15f)](_0x34544b,_0x33111f(0x136),()=>{const _0x2a0ff0=_0x33111f,_0x350652=this[_0x2a0ff0(0x149)][_0x2a0ff0(0x141)][_0x2a0ff0(0x15a)][_0x2a0ff0(0x122)][_0x2a0ff0(0x15d)]();_0x350652&&_0x350652[_0x2a0ff0(0x11f)](_0x2a0ff0(0x163))&&this[_0x2a0ff0(0x149)][_0x2a0ff0(0x12b)][_0x2a0ff0(0x13d)][_0x2a0ff0(0x14b)](_0x2a0ff0(0x151),()=>{const _0x368f2b=_0x2a0ff0;_0x4e5589(this[_0x368f2b(0x149)],_0x350652);});});const _0x4c2b18=this[_0x33111f(0x149)][_0x33111f(0x132)][_0x33111f(0x134)](_0x33111f(0x150));_0x4c2b18&&this[_0x33111f(0x15f)](_0x4c2b18,_0x33111f(0x136),()=>{const _0x3078ef=_0x33111f,_0xd250c2=this[_0x3078ef(0x149)][_0x3078ef(0x141)][_0x3078ef(0x15a)][_0x3078ef(0x122)][_0x3078ef(0x15d)]();_0xd250c2&&_0xd250c2[_0x3078ef(0x11f)](_0x3078ef(0x163))&&this[_0x3078ef(0x149)][_0x3078ef(0x12b)][_0x3078ef(0x13d)][_0x3078ef(0x14b)](_0x3078ef(0x151),()=>{const _0x2be975=_0x3078ef;_0x4e5589(this[_0x2be975(0x149)],_0xd250c2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5cb8ab,ObservableMixin as _0x3b2a7b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x23eeac}from'ckeditor5/src/ui.js';import _0x5d1ee7 from'./uploadcareimageeditformview.js';import _0x106862 from'../../utils/uploadutils.js';import _0x5abc66 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xb7cc47,getImageDimension as _0x28a462}from'../../utils/editingutils.js';import{isAncestor as _0xd5387}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3b2a7b(){constructor(_0x5ed8cb,_0x2643f8,_0x2c22b0){super(),this['_editor']=_0x5ed8cb,this['_dialog']=_0x2643f8,this['_imageElement']=_0x2c22b0,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 _0x416d3d=this['_imageElement'],_0x50c494=_0x416d3d['getAttribute']('uploadcareImageId'),_0x5ad684=_0x416d3d['getAttribute']('src');if(_0x50c494)await this['_loadImageInfo'](_0x50c494,_0x5ad684);else{if(this['_imageCache']['has'](_0x5ad684)){const _0x47a6c9=this['_imageCache']['get'](_0x5ad684);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47a6c9['url'],this['imageDimension']=_0x47a6c9['dimension'],this['imageId']=_0x47a6c9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x24ae8c}=this['_editor'],t=_0x24ae8c['t'],_0x50f8e4=new _0x5d1ee7(_0x24ae8c,this['imageStatus'],this['_attributes']);_0x50f8e4['bind']('status')['to'](this,'imageStatus'),_0x50f8e4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x50f8e4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x50f8e4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x50f8e4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5abc66,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x50f8e4,'position':_0x23eeac['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x50f8e4['focus']();},'onHide':()=>{_0x50f8e4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x13fbec=>!_0xd5387(_0x13fbec,_0x50f8e4['element'])}});}['_loadImageInfo'](_0x74c8b,_0x4eb8e2){return _0x106862['getInfo'](_0x74c8b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c2a4f=>{const {width:_0x333e84,height:_0x2d4069}=_0x4c2a4f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eb8e2,this['imageDimension']={'width':_0x333e84,'height':_0x2d4069},this['imageId']=_0x74c8b;})['catch'](_0xbb193a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbb193a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6800a4,_0x56aa4b){return this['_getImageAsFile'](_0x6800a4)['then'](_0x59bed3=>_0x106862['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x56aa4b['signal'],'file':_0x59bed3,'onProgress':_0x1794a6=>{_0x1794a6&&_0x1794a6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1794a6['value']));}}))['then'](_0xbd4940=>{const {width:_0xbe27f1,height:_0x432ae2}=_0xbd4940['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd4940['cdnUrl'],this['imageDimension']={'width':_0xbe27f1,'height':_0x432ae2},this['imageId']=_0xbd4940['uuid'],this['imageUploadProgress']=null;const _0x55b683=_0x6800a4['getAttribute']('src');this['_imageCache']['set'](_0x55b683,{'id':_0xbd4940['uuid'],'url':_0xbd4940['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb831fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb831fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x56deb2,_0x4256a7){_0x56deb2['on']('apply',(_0x2079ca,_0xa7a1e4)=>{this['_replaceImage'](_0x4256a7,_0xa7a1e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x56deb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x56deb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44a8f7,_0xb0ea15,_0x25aa39){const _0x98f430=this['_editor'],{width:_0xefa9c,height:_0x51bb3e}=_0x28a462(_0xb0ea15,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fa2bb,imageSources:_0x54b96f}=_0xb7cc47(_0xb0ea15,_0xefa9c);_0x98f430['model']['change'](_0x517a34=>{if('$graveyard'===_0x44a8f7['root']['rootName']){_0x98f430['execute']('insertImage',{'imageType':_0x44a8f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e}});const _0x4fecb7=_0x44a8f7['getChildren']();_0x44a8f7=_0x98f430['model']['document']['selection']['getSelectedElement']();for(const _0x2205cc of _0x4fecb7)_0x517a34['append'](_0x517a34['cloneElement'](_0x2205cc),_0x44a8f7);}else _0x517a34['setSelection'](_0x44a8f7,'on'),_0x98f430['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e},_0x44a8f7);_0x517a34['setSelection'](_0x44a8f7,'on');});}async['_getImageAsFile'](_0x12871e){const _0x301f83=_0x5cb8ab['window'],_0x102850=_0x5cb8ab['document']['location']['href'],_0x4fea35=new _0x301f83['URL'](_0x12871e['getAttribute']('src'),_0x102850);if('data:'===_0x4fea35['protocol']){const _0x371b0f=_0x4fea35['href']['split'](','),_0xf498a=_0x371b0f[0x0]['match'](/:(.*?);/)[0x1],_0x5e8e1f=_0xf498a['split']('/')[0x1],_0x23b5be=_0x301f83['atob'](_0x371b0f[_0x371b0f['length']-0x1]);let _0x4e3628=_0x23b5be['length'];const _0x27a99b=new _0x301f83['Uint8Array'](_0x4e3628);for(;_0x4e3628--;)_0x27a99b[_0x4e3628]=_0x23b5be['charCodeAt'](_0x4e3628);return new _0x301f83['File']([_0x27a99b],'image.'+_0x5e8e1f,{'type':_0xf498a});}const _0x5d9665=_0x4fea35['href']['split']('/'),_0x61ba9f=_0x5d9665[_0x5d9665['length']-0x1],_0x13f560=_0x61ba9f['split']('.')[0x1];return _0x301f83['fetch'](_0x4fea35['href'])['then'](_0x50fd03=>_0x50fd03['clone']()['blob']())['then'](_0x336f6c=>new _0x301f83['File']([_0x336f6c],_0x61ba9f,{'type':'image/'+_0x13f560}));}}
23
+ import{global as _0x3f289d,ObservableMixin as _0x28d3b9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5892b3}from'ckeditor5/src/ui.js';import _0x2bf3d0 from'./uploadcareimageeditformview.js';import _0x30a3d2 from'../../utils/uploadutils.js';import _0xe4c306 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1bf605,getImageDimension as _0x56ffdc}from'../../utils/editingutils.js';import{isAncestor as _0x371ef5}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x28d3b9(){constructor(_0x1700ba,_0x62b3bf,_0x437655){super(),this['_editor']=_0x1700ba,this['_dialog']=_0x62b3bf,this['_imageElement']=_0x437655,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 _0x132783=this['_imageElement'],_0x11963a=_0x132783['getAttribute']('uploadcareImageId'),_0x44962a=_0x132783['getAttribute']('src');if(_0x11963a)await this['_loadImageInfo'](_0x11963a,_0x44962a);else{if(this['_imageCache']['has'](_0x44962a)){const _0x3786df=this['_imageCache']['get'](_0x44962a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3786df['url'],this['imageDimension']=_0x3786df['dimension'],this['imageId']=_0x3786df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x58336f}=this['_editor'],t=_0x58336f['t'],_0x5471e8=new _0x2bf3d0(_0x58336f,this['imageStatus'],this['_attributes']);_0x5471e8['bind']('status')['to'](this,'imageStatus'),_0x5471e8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5471e8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5471e8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5471e8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe4c306,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5471e8,'position':_0x5892b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5471e8['focus']();},'onHide':()=>{_0x5471e8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2418cc=>!_0x371ef5(_0x2418cc,_0x5471e8['element'])}});}['_loadImageInfo'](_0x2ec87a,_0x4a6bb9){return _0x30a3d2['getInfo'](_0x2ec87a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x172496=>{const {width:_0x5d05d4,height:_0x579814}=_0x172496['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a6bb9,this['imageDimension']={'width':_0x5d05d4,'height':_0x579814},this['imageId']=_0x2ec87a;})['catch'](_0x215f77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x215f77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5aa678,_0x5bc41f){return this['_getImageAsFile'](_0x5aa678)['then'](_0x59b3ef=>_0x30a3d2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5bc41f['signal'],'file':_0x59b3ef,'onProgress':_0x35ef27=>{_0x35ef27&&_0x35ef27['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x35ef27['value']));}}))['then'](_0x449833=>{const {width:_0x16810e,height:_0x2db071}=_0x449833['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x449833['cdnUrl'],this['imageDimension']={'width':_0x16810e,'height':_0x2db071},this['imageId']=_0x449833['uuid'],this['imageUploadProgress']=null;const _0x2f98a3=_0x5aa678['getAttribute']('src');this['_imageCache']['set'](_0x2f98a3,{'id':_0x449833['uuid'],'url':_0x449833['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x24cd48=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24cd48['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2764ba,_0x56edbd){_0x2764ba['on']('apply',(_0x3d42dc,_0x5b6659)=>{this['_replaceImage'](_0x56edbd,_0x5b6659['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2764ba['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2764ba['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x42dec3,_0x2e3cca,_0x6dcd3b){const _0x156e41=this['_editor'],{width:_0x55e025,height:_0x1ccee1}=_0x56ffdc(_0x2e3cca,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x508d95,imageSources:_0x30ae40}=_0x1bf605(_0x2e3cca,_0x55e025);_0x156e41['model']['change'](_0x22634e=>{if('$graveyard'===_0x42dec3['root']['rootName']){_0x156e41['execute']('insertImage',{'imageType':_0x42dec3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x42dec3['getAttributes']()),'uploadcareImageId':_0x6dcd3b,'src':_0x508d95,'sources':_0x30ae40,'width':_0x55e025,'height':_0x1ccee1}});const _0x1231af=_0x42dec3['getChildren']();_0x42dec3=_0x156e41['model']['document']['selection']['getSelectedElement']();for(const _0x52403a of _0x1231af)_0x22634e['append'](_0x22634e['cloneElement'](_0x52403a),_0x42dec3);}else _0x22634e['setSelection'](_0x42dec3,'on'),_0x156e41['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x42dec3['getAttributes']()),'uploadcareImageId':_0x6dcd3b,'src':_0x508d95,'sources':_0x30ae40,'width':_0x55e025,'height':_0x1ccee1},_0x42dec3);_0x22634e['setSelection'](_0x42dec3,'on');});}async['_getImageAsFile'](_0x214ebb){const _0x156e51=_0x3f289d['window'],_0x1bc18b=_0x3f289d['document']['location']['href'],_0x2f48a4=new _0x156e51['URL'](_0x214ebb['getAttribute']('src'),_0x1bc18b);if('data:'===_0x2f48a4['protocol']){const _0x1b8be0=_0x2f48a4['href']['split'](','),_0x3965fe=_0x1b8be0[0x0]['match'](/:(.*?);/)[0x1],_0x232b04=_0x3965fe['split']('/')[0x1],_0x5f084c=_0x156e51['atob'](_0x1b8be0[_0x1b8be0['length']-0x1]);let _0x144f71=_0x5f084c['length'];const _0x4bd7a0=new _0x156e51['Uint8Array'](_0x144f71);for(;_0x144f71--;)_0x4bd7a0[_0x144f71]=_0x5f084c['charCodeAt'](_0x144f71);return new _0x156e51['File']([_0x4bd7a0],'image.'+_0x232b04,{'type':_0x3965fe});}const _0x4a426d=_0x2f48a4['href']['split']('/'),_0x1c158f=_0x4a426d[_0x4a426d['length']-0x1],_0x10ec7b=_0x1c158f['split']('.')[0x1];return _0x156e51['fetch'](_0x2f48a4['href'])['then'](_0x4394fa=>_0x4394fa['clone']()['blob']())['then'](_0x8da5ff=>new _0x156e51['File']([_0x8da5ff],_0x1c158f,{'type':'image/'+_0x10ec7b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x540d8a,_0x567d41){const _0x232c82=_0x384f,_0x44f891=_0x540d8a();while(!![]){try{const _0x155249=parseInt(_0x232c82(0x81))/0x1*(parseInt(_0x232c82(0x85))/0x2)+parseInt(_0x232c82(0x87))/0x3*(-parseInt(_0x232c82(0x86))/0x4)+-parseInt(_0x232c82(0x7a))/0x5*(parseInt(_0x232c82(0x7c))/0x6)+-parseInt(_0x232c82(0x77))/0x7+parseInt(_0x232c82(0x7d))/0x8*(-parseInt(_0x232c82(0x7f))/0x9)+parseInt(_0x232c82(0x83))/0xa+parseInt(_0x232c82(0x7e))/0xb;if(_0x155249===_0x567d41)break;else _0x44f891['push'](_0x44f891['shift']());}catch(_0x206637){_0x44f891['push'](_0x44f891['shift']());}}}(_0x2ed3,0x4de59));function _0x2ed3(){const _0x4a3c70=['928ChqXsB','9116679xsdjbb','2070gajWaC','ck-uploadcare-theme','1JFSPSC','uc-cloud-image-editor','3543780thpbEO','set','10826IZOhyn','4PSwGPB','1421556vrMsKx','imageSrc','bindTemplate','51856plvobf','image-edit','uc-light','75xZkdsu','setTemplate','144630jAhdCo'];_0x2ed3=function(){return _0x4a3c70;};return _0x2ed3();}import{View as _0x55b3ce}from'ckeditor5/src/ui.js';function _0x384f(_0x5cb239,_0x49d65b){const _0x2ed3e4=_0x2ed3();return _0x384f=function(_0x384f9d,_0x2e7ba3){_0x384f9d=_0x384f9d-0x75;let _0x39546b=_0x2ed3e4[_0x384f9d];return _0x39546b;},_0x384f(_0x5cb239,_0x49d65b);}export default class tt extends _0x55b3ce{constructor(_0x3c8714,_0x3303d8){const _0x4dbba6=_0x384f;super(_0x3c8714);const _0x2bd13b=this[_0x4dbba6(0x76)];this[_0x4dbba6(0x84)](_0x4dbba6(0x75),''),this[_0x4dbba6(0x7b)]({'tag':_0x4dbba6(0x82),'attributes':{..._0x3303d8,'class':[_0x4dbba6(0x79),_0x4dbba6(0x80)],'ctx-name':_0x4dbba6(0x78),'cdn-url':_0x2bd13b['to'](_0x4dbba6(0x75))}});}}
23
+ (function(_0x23b958,_0x181cf6){const _0x3ea4f8=_0x56d9,_0x490136=_0x23b958();while(!![]){try{const _0x241fb3=parseInt(_0x3ea4f8(0xfc))/0x1*(-parseInt(_0x3ea4f8(0xf9))/0x2)+parseInt(_0x3ea4f8(0xf0))/0x3+-parseInt(_0x3ea4f8(0xec))/0x4*(-parseInt(_0x3ea4f8(0xed))/0x5)+parseInt(_0x3ea4f8(0xfa))/0x6*(-parseInt(_0x3ea4f8(0xef))/0x7)+-parseInt(_0x3ea4f8(0xe9))/0x8*(-parseInt(_0x3ea4f8(0xf3))/0x9)+-parseInt(_0x3ea4f8(0xf2))/0xa+-parseInt(_0x3ea4f8(0xea))/0xb*(-parseInt(_0x3ea4f8(0xfb))/0xc);if(_0x241fb3===_0x181cf6)break;else _0x490136['push'](_0x490136['shift']());}catch(_0x247d99){_0x490136['push'](_0x490136['shift']());}}}(_0x1cbd,0x1a50d));function _0x56d9(_0x5a23ac,_0x53cbf1){const _0x1cbd39=_0x1cbd();return _0x56d9=function(_0x56d94f,_0x19022c){_0x56d94f=_0x56d94f-0xe9;let _0x173cc6=_0x1cbd39[_0x56d94f];return _0x173cc6;},_0x56d9(_0x5a23ac,_0x53cbf1);}function _0x1cbd(){const _0x550da7=['image-edit','222NQVSLh','24XVfFrK','519756gGWhpo','571WiwMKl','1096dDLLIs','11IDBxjb','uc-cloud-image-editor','6940HBvHYL','275wtzKcz','set','286818mOxTiy','646419iZnuXb','uc-light','1640910aCyBLx','9522GwZbaf','ck-uploadcare-theme','imageSrc','bindTemplate','setTemplate'];_0x1cbd=function(){return _0x550da7;};return _0x1cbd();}import{View as _0xe96ee9}from'ckeditor5/src/ui.js';export default class tt extends _0xe96ee9{constructor(_0x1247b4,_0x1e97d8){const _0x2d0097=_0x56d9;super(_0x1247b4);const _0x29db71=this[_0x2d0097(0xf6)];this[_0x2d0097(0xee)](_0x2d0097(0xf5),''),this[_0x2d0097(0xf7)]({'tag':_0x2d0097(0xeb),'attributes':{..._0x1e97d8,'class':[_0x2d0097(0xf1),_0x2d0097(0xf4)],'ctx-name':_0x2d0097(0xf8),'cdn-url':_0x29db71['to'](_0x2d0097(0xf5))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x564b1f,IconView as et,View as _0x46be2b}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x46be2b{constructor(_0x11e760){super(_0x11e760);const t=_0x11e760['t'];this['set']('errorType',null);const _0x26f652=new _0x564b1f(_0x11e760);_0x26f652['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26f652['withText']=!0x0,_0x26f652['class']='ck-button-action',_0x26f652['on']('execute',()=>{this['fire']('retry');}),_0x26f652['bind']('isVisible')['to'](this,'errorType',_0x55f681=>'NotFound'!==_0x55f681);const _0x529d9d=new et();_0x529d9d['content']=at,_0x529d9d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5b8d89=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':[_0x529d9d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5b8d89['to']('errorType',_0x17e978=>t('NotFound'!==_0x17e978?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26f652]},{'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{ButtonView as _0x2b4c8b,IconView as et,View as _0x156254}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x156254{constructor(_0x5acb6d){super(_0x5acb6d);const t=_0x5acb6d['t'];this['set']('errorType',null);const _0x4bcff7=new _0x2b4c8b(_0x5acb6d);_0x4bcff7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4bcff7['withText']=!0x0,_0x4bcff7['class']='ck-button-action',_0x4bcff7['on']('execute',()=>{this['fire']('retry');}),_0x4bcff7['bind']('isVisible')['to'](this,'errorType',_0x1f2b3a=>'NotFound'!==_0x1f2b3a);const _0x5a71e1=new et();_0x5a71e1['content']=at,_0x5a71e1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1faa07=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':[_0x5a71e1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1faa07['to']('errorType',_0x166f4a=>t('NotFound'!==_0x166f4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4bcff7]},{'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 _0x549bcf,View as _0x3cd758}from'ckeditor5/src/ui.js';export default class ta extends _0x3cd758{constructor(_0x339664){super(_0x339664);const t=_0x339664['t'],_0xf4a61a=this['bindTemplate'],_0x5403e7=new _0x549bcf();_0x5403e7['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':[_0x5403e7,{'text':_0xf4a61a['to']('imageUploadProgress',_0x14f42c=>t('Loading\x20image...')+'\x20('+(_0x14f42c||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 _0x2759a2,View as _0x49a21c}from'ckeditor5/src/ui.js';export default class ta extends _0x49a21c{constructor(_0x87f534){super(_0x87f534);const t=_0x87f534['t'],_0x3c7613=this['bindTemplate'],_0x131ae5=new _0x2759a2();_0x131ae5['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':[_0x131ae5,{'text':_0x3c7613['to']('imageUploadProgress',_0x37e32a=>t('Loading\x20image...')+'\x20('+(_0x37e32a||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 _0x114e60=_0xef4a;(function(_0x4d2804,_0x31ba19){const _0x398d9f=_0xef4a,_0x387567=_0x4d2804();while(!![]){try{const _0x494f07=parseInt(_0x398d9f(0x90))/0x1+parseInt(_0x398d9f(0xad))/0x2*(parseInt(_0x398d9f(0x96))/0x3)+-parseInt(_0x398d9f(0xb7))/0x4+parseInt(_0x398d9f(0xa5))/0x5*(parseInt(_0x398d9f(0xb2))/0x6)+parseInt(_0x398d9f(0x8a))/0x7+parseInt(_0x398d9f(0x8c))/0x8*(-parseInt(_0x398d9f(0x9c))/0x9)+-parseInt(_0x398d9f(0x8f))/0xa;if(_0x494f07===_0x31ba19)break;else _0x387567['push'](_0x387567['shift']());}catch(_0x5c9247){_0x387567['push'](_0x387567['shift']());}}}(_0x3fcd,0x34b3a));import{View as _0x1176e7}from'ckeditor5/src/ui.js';function _0xef4a(_0x40c581,_0x3ba957){const _0x3fcde6=_0x3fcd();return _0xef4a=function(_0xef4a24,_0x1027c0){_0xef4a24=_0xef4a24-0x85;let _0x51398a=_0x3fcde6[_0xef4a24];return _0x51398a;},_0xef4a(_0x40c581,_0x3ba957);}import _0x31b1a5 from'./uploadcareimageeditformloadingview.js';import _0x3c336c from'./uploadcareimageeditformerrorview.js';import _0x504180 from'./uploadcareimageeditformeditingview.js';function _0x3fcd(){const _0x35e793=['addedNodes','6414uwjPrz','cancel','_editingView','ck-uploadcare-form','detail','538812HqYZCt','_waitForImageEditorComponent','error','observe','filter','_loadingView','uc-cloud-image-editor','_addErrorViewListeners','toLowerCase','setTemplate','973245uJxzJs','retry','72776MuLLCE','_items','add','4254520rlsxlo','396166ypUefE','target','apply','querySelector','_setView','disconnect','93Mrbwlc','cdnUrl','element','_addUploadcareImageEditorListeners','_errorView','once','45LUvRpm','ck-reset_all-excluded','createCollection','clear','render','nodeName','addMany','uploading','change:status','420ChkbfA','set','div','fire','getFocusableElement','length','addEventListener','_focusableView','12678emoamm','focus','ready','status'];_0x3fcd=function(){return _0x35e793;};return _0x3fcd();}import _0x59517b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x59517b{constructor(_0x41c06f,_0x1b259e,_0x49289f){const _0x3cdb80=_0xef4a;super(_0x41c06f),this[_0x3cdb80(0x8d)]=this[_0x3cdb80(0x9e)](),this[_0x3cdb80(0x85)]=new _0x31b1a5(_0x41c06f),this[_0x3cdb80(0x9a)]=new _0x3c336c(_0x41c06f),this[_0x3cdb80(0xb4)]=new _0x504180(_0x41c06f,_0x49289f),this[_0x3cdb80(0xac)]=new _0x1176e7(_0x41c06f),this[_0x3cdb80(0xac)][_0x3cdb80(0x89)](this[_0x3cdb80(0xa9)]()),this[_0x3cdb80(0xa6)](_0x3cdb80(0xb0),_0x1b259e),this[_0x3cdb80(0x89)]({'tag':_0x3cdb80(0xa7),'attributes':{'class':['ck',_0x3cdb80(0x9d),_0x3cdb80(0xb5)],'tabindex':'-1'},'children':this[_0x3cdb80(0x8d)]}),this[_0x3cdb80(0x94)](),this[_0x3cdb80(0x9b)](_0x3cdb80(0xa0),()=>{const _0x2da1b1=_0x3cdb80;this[_0x2da1b1(0xb8)](this[_0x2da1b1(0x98)],_0x2be2ff=>{const _0x59ab4b=_0x2da1b1;this[_0x59ab4b(0x99)](_0x2be2ff);});}),this['on'](_0x3cdb80(0xa4),()=>{const _0x430f48=_0x3cdb80;this[_0x430f48(0x94)]();}),this[_0x3cdb80(0x87)]();}[_0x114e60(0xae)](){const _0xf7abfc=_0x114e60;this[_0xf7abfc(0x98)][_0xf7abfc(0xae)]();}[_0x114e60(0x94)](){const _0x1a79f3=_0x114e60;switch(this[_0x1a79f3(0x8d)][_0x1a79f3(0x9f)](),this[_0x1a79f3(0xb0)]){case _0x1a79f3(0xa3):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x85)]);break;case _0x1a79f3(0xb9):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x9a)]);break;case _0x1a79f3(0xaf):this[_0x1a79f3(0x8d)][_0x1a79f3(0xa2)]([this[_0x1a79f3(0xb4)],this[_0x1a79f3(0xac)]]);}}[_0x114e60(0xb8)](_0x4218f6,_0x46bd2f){const _0x56d139=_0x114e60,_0x3d2018=_0x56d139(0x86),_0x1078d8=_0x4218f6[_0x56d139(0x93)](_0x3d2018);if(_0x1078d8)return _0x46bd2f(_0x1078d8);const _0x19c5c6=new MutationObserver(_0x114b54=>{const _0x4091fb=_0x56d139,_0x4df1e3=_0x114b54[_0x4091fb(0xbb)](_0x57b64a=>_0x57b64a[_0x4091fb(0x91)]===_0x4218f6&&_0x57b64a[_0x4091fb(0xb1)][_0x4091fb(0xaa)]>0x0&&_0x57b64a[_0x4091fb(0xb1)][0x0][_0x4091fb(0xa1)][_0x4091fb(0x88)]()===_0x3d2018);_0x4df1e3[_0x4091fb(0xaa)]&&(_0x19c5c6[_0x4091fb(0x95)](),_0x46bd2f(_0x4df1e3[0x0][_0x4091fb(0xb1)][0x0]));});_0x19c5c6[_0x56d139(0xba)](_0x4218f6,{'childList':!0x0,'subtree':!0x0});}[_0x114e60(0x99)](_0x29a1b7){const _0x5ab280=_0x114e60;_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0x92),_0x2914e3=>{const _0x4c5110=_0x5ab280;this[_0x4c5110(0xa8)](_0x4c5110(0x92),{'imageSrc':_0x2914e3[_0x4c5110(0xb6)][_0x4c5110(0x97)]});}),_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0xb3),()=>{const _0x42f5ce=_0x5ab280;this[_0x42f5ce(0xa8)](_0x42f5ce(0xb3));});}[_0x114e60(0x87)](){const _0x434b25=_0x114e60;this[_0x434b25(0x9a)]['on'](_0x434b25(0x8b),()=>{const _0x1d3aa9=_0x434b25;this[_0x1d3aa9(0xa8)](_0x1d3aa9(0x8b));});}}
23
+ const _0x36d90e=_0x2fcd;(function(_0x53c598,_0x3499e8){const _0x3b8574=_0x2fcd,_0x50f64d=_0x53c598();while(!![]){try{const _0xbb3470=parseInt(_0x3b8574(0xc4))/0x1*(parseInt(_0x3b8574(0xd6))/0x2)+-parseInt(_0x3b8574(0xd2))/0x3*(-parseInt(_0x3b8574(0xe0))/0x4)+parseInt(_0x3b8574(0xd7))/0x5*(parseInt(_0x3b8574(0xde))/0x6)+parseInt(_0x3b8574(0xcb))/0x7+-parseInt(_0x3b8574(0xaf))/0x8+-parseInt(_0x3b8574(0xb8))/0x9+parseInt(_0x3b8574(0xad))/0xa*(parseInt(_0x3b8574(0xc3))/0xb);if(_0xbb3470===_0x3499e8)break;else _0x50f64d['push'](_0x50f64d['shift']());}catch(_0x30458f){_0x50f64d['push'](_0x50f64d['shift']());}}}(_0x1ce1,0x4cd4f));import{View as _0x46bf73}from'ckeditor5/src/ui.js';import _0x482b4c from'./uploadcareimageeditformloadingview.js';import _0x249746 from'./uploadcareimageeditformerrorview.js';import _0x1f20b3 from'./uploadcareimageeditformeditingview.js';import _0x474b7d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2fcd(_0x1df7c9,_0x5894e4){const _0x1ce103=_0x1ce1();return _0x2fcd=function(_0x2fcd0d,_0x508209){_0x2fcd0d=_0x2fcd0d-0xad;let _0x26af86=_0x1ce103[_0x2fcd0d];return _0x26af86;},_0x2fcd(_0x1df7c9,_0x5894e4);}export default class Z extends _0x474b7d{constructor(_0x4fd605,_0x731c21,_0x291167){const _0x5adad0=_0x2fcd;super(_0x4fd605),this[_0x5adad0(0xb3)]=this[_0x5adad0(0xae)](),this[_0x5adad0(0xc5)]=new _0x482b4c(_0x4fd605),this[_0x5adad0(0xd9)]=new _0x249746(_0x4fd605),this[_0x5adad0(0xc6)]=new _0x1f20b3(_0x4fd605,_0x291167),this[_0x5adad0(0xe4)]=new _0x46bf73(_0x4fd605),this[_0x5adad0(0xe4)][_0x5adad0(0xc2)](this[_0x5adad0(0xbe)]()),this[_0x5adad0(0xd5)](_0x5adad0(0xcc),_0x731c21),this[_0x5adad0(0xc2)]({'tag':_0x5adad0(0xba),'attributes':{'class':['ck',_0x5adad0(0xbf),_0x5adad0(0xe3)],'tabindex':'-1'},'children':this[_0x5adad0(0xb3)]}),this[_0x5adad0(0xe1)](),this[_0x5adad0(0xb4)](_0x5adad0(0xda),()=>{const _0x5d2a45=_0x5adad0;this[_0x5d2a45(0xc0)](this[_0x5d2a45(0xb7)],_0x4312b2=>{const _0x2b2469=_0x5d2a45;this[_0x2b2469(0xb9)](_0x4312b2);});}),this['on'](_0x5adad0(0xb1),()=>{const _0x43d251=_0x5adad0;this[_0x43d251(0xe1)]();}),this[_0x5adad0(0xdb)]();}[_0x36d90e(0xd1)](){const _0x539317=_0x36d90e;this[_0x539317(0xb7)][_0x539317(0xd1)]();}[_0x36d90e(0xe1)](){const _0xa07f8f=_0x36d90e;switch(this[_0xa07f8f(0xb3)][_0xa07f8f(0xd3)](),this[_0xa07f8f(0xcc)]){case _0xa07f8f(0xc9):this[_0xa07f8f(0xb3)][_0xa07f8f(0xcf)](this[_0xa07f8f(0xc5)]);break;case _0xa07f8f(0xbd):this[_0xa07f8f(0xb3)][_0xa07f8f(0xcf)](this[_0xa07f8f(0xd9)]);break;case _0xa07f8f(0xb2):this[_0xa07f8f(0xb3)][_0xa07f8f(0xc8)]([this[_0xa07f8f(0xc6)],this[_0xa07f8f(0xe4)]]);}}[_0x36d90e(0xc0)](_0x82ef65,_0x4fba64){const _0x31296d=_0x36d90e,_0x3f8866=_0x31296d(0xc1),_0x2f9342=_0x82ef65[_0x31296d(0xb6)](_0x3f8866);if(_0x2f9342)return _0x4fba64(_0x2f9342);const _0x50908a=new MutationObserver(_0x553f37=>{const _0x2ec182=_0x31296d,_0x16c9f7=_0x553f37[_0x2ec182(0xb5)](_0x1b1d0d=>_0x1b1d0d[_0x2ec182(0xd4)]===_0x82ef65&&_0x1b1d0d[_0x2ec182(0xce)][_0x2ec182(0xcd)]>0x0&&_0x1b1d0d[_0x2ec182(0xce)][0x0][_0x2ec182(0xdc)][_0x2ec182(0xdd)]()===_0x3f8866);_0x16c9f7[_0x2ec182(0xcd)]&&(_0x50908a[_0x2ec182(0xdf)](),_0x4fba64(_0x16c9f7[0x0][_0x2ec182(0xce)][0x0]));});_0x50908a[_0x31296d(0xd0)](_0x82ef65,{'childList':!0x0,'subtree':!0x0});}[_0x36d90e(0xb9)](_0x1e1b55){const _0xc59257=_0x36d90e;_0x1e1b55[_0xc59257(0xd8)](_0xc59257(0xc7),_0x47bdb4=>{const _0x20d57b=_0xc59257;this[_0x20d57b(0xb0)](_0x20d57b(0xc7),{'imageSrc':_0x47bdb4[_0x20d57b(0xca)][_0x20d57b(0xe2)]});}),_0x1e1b55[_0xc59257(0xd8)](_0xc59257(0xbc),()=>{const _0x1800b2=_0xc59257;this[_0x1800b2(0xb0)](_0x1800b2(0xbc));});}[_0x36d90e(0xdb)](){const _0x3e3947=_0x36d90e;this[_0x3e3947(0xd9)]['on'](_0x3e3947(0xbb),()=>{const _0xc17e26=_0x3e3947;this[_0xc17e26(0xb0)](_0xc17e26(0xbb));});}}function _0x1ce1(){const _0x5435d9=['addEventListener','_errorView','render','_addErrorViewListeners','nodeName','toLowerCase','126cTbkUw','disconnect','1834932IcccmV','_setView','cdnUrl','ck-uploadcare-form','_focusableView','10RIWwCt','createCollection','4719416AIdIVU','fire','change:status','ready','_items','once','filter','querySelector','element','549990ReDtSY','_addUploadcareImageEditorListeners','div','retry','cancel','error','getFocusableElement','ck-reset_all-excluded','_waitForImageEditorComponent','uc-cloud-image-editor','setTemplate','893574eoqOoI','1JtIGYp','_loadingView','_editingView','apply','addMany','uploading','detail','2009469jfRvyh','status','length','addedNodes','add','observe','focus','3UxsnnI','clear','target','set','220670HtOXxW','6755bYogKP'];_0x1ce1=function(){return _0x5435d9;};return _0x1ce1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ac04f=_0x5014;function _0x5014(_0x26911f,_0x1e4b89){const _0x3b29ed=_0x3b29();return _0x5014=function(_0x501442,_0x297358){_0x501442=_0x501442-0x175;let _0x2546c9=_0x3b29ed[_0x501442];return _0x2546c9;},_0x5014(_0x26911f,_0x1e4b89);}(function(_0x217219,_0x4513a2){const _0x3aea0f=_0x5014,_0x1e943d=_0x217219();while(!![]){try{const _0x3d1fb9=-parseInt(_0x3aea0f(0x194))/0x1*(-parseInt(_0x3aea0f(0x182))/0x2)+-parseInt(_0x3aea0f(0x18a))/0x3*(-parseInt(_0x3aea0f(0x183))/0x4)+parseInt(_0x3aea0f(0x184))/0x5+-parseInt(_0x3aea0f(0x17c))/0x6*(parseInt(_0x3aea0f(0x17e))/0x7)+parseInt(_0x3aea0f(0x18b))/0x8+-parseInt(_0x3aea0f(0x177))/0x9+-parseInt(_0x3aea0f(0x17d))/0xa*(parseInt(_0x3aea0f(0x180))/0xb);if(_0x3d1fb9===_0x4513a2)break;else _0x1e943d['push'](_0x1e943d['shift']());}catch(_0x3d61b6){_0x1e943d['push'](_0x1e943d['shift']());}}}(_0x3b29,0x92553));import{Command as _0x3f0ed9}from'ckeditor5/src/core.js';function _0x3b29(){const _0x92bf29=['isActive','imageInline','_isEditable','document','imageBlock','3itBqjd','1009088aXYJvd','getSelectedElement','get','bind','selection','config','model','execute','refresh','8401hMiMaZ','requires','isEnabled','uploadcare.allowExternalImagesEditing','2234637CIhPSJ','element','plugins','set','editor','9252oiybcM','23620hkMMBF','3682bhGGYm','unbind','2398zUgjtS','imageEditController','86esLnZe','2370108kLLZqG','5468870HORdgQ'];_0x3b29=function(){return _0x92bf29;};return _0x3b29();}import{Dialog as _0x28d6e6}from'ckeditor5/src/ui.js';import _0x1a7f37 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x43ed35}from'../utils/editingutils.js';export default class J extends _0x3f0ed9{static get[_0x2ac04f(0x195)](){return[_0x28d6e6];}constructor(_0x39dbda){const _0x7021ac=_0x2ac04f;super(_0x39dbda),this[_0x7021ac(0x181)]=void 0x0,this[_0x7021ac(0x187)]=_0x43ed35(_0x39dbda[_0x7021ac(0x190)][_0x7021ac(0x18d)](_0x7021ac(0x176))||[]),this[_0x7021ac(0x17a)]({'isActive':!0x1});}[_0x2ac04f(0x193)](){const _0x55ede8=_0x2ac04f,_0xa0a55a=this[_0x55ede8(0x17b)][_0x55ede8(0x191)][_0x55ede8(0x188)][_0x55ede8(0x18f)][_0x55ede8(0x18c)]();this[_0x55ede8(0x175)]=this[_0x55ede8(0x187)](_0xa0a55a);}[_0x2ac04f(0x192)](){const _0x2b8f46=_0x2ac04f;this[_0x2b8f46(0x181)]&&(this[_0x2b8f46(0x17f)](_0x2b8f46(0x185)),this[_0x2b8f46(0x181)]=void 0x0);const _0x7c0ad7=this[_0x2b8f46(0x17b)][_0x2b8f46(0x191)][_0x2b8f46(0x188)][_0x2b8f46(0x18f)][_0x2b8f46(0x18c)]();_0x7c0ad7&&(_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x189))||_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x186)))&&(this[_0x2b8f46(0x181)]=new _0x1a7f37(this[_0x2b8f46(0x17b)],this[_0x2b8f46(0x17b)][_0x2b8f46(0x179)][_0x2b8f46(0x18d)](_0x28d6e6),_0x7c0ad7),this[_0x2b8f46(0x18e)](_0x2b8f46(0x185))['to'](this[_0x2b8f46(0x181)],_0x2b8f46(0x185)));}}
23
+ function _0x59e5(_0x59af50,_0x39f4db){const _0xbea459=_0xbea4();return _0x59e5=function(_0x59e5d2,_0xf80768){_0x59e5d2=_0x59e5d2-0x109;let _0x4a2841=_0xbea459[_0x59e5d2];return _0x4a2841;},_0x59e5(_0x59af50,_0x39f4db);}const _0x92bf06=_0x59e5;(function(_0x23165d,_0x31e8af){const _0x1284a8=_0x59e5,_0x22e4aa=_0x23165d();while(!![]){try{const _0x526dda=parseInt(_0x1284a8(0x116))/0x1*(-parseInt(_0x1284a8(0x111))/0x2)+-parseInt(_0x1284a8(0x126))/0x3+-parseInt(_0x1284a8(0x119))/0x4+-parseInt(_0x1284a8(0x109))/0x5+parseInt(_0x1284a8(0x118))/0x6*(parseInt(_0x1284a8(0x11f))/0x7)+-parseInt(_0x1284a8(0x120))/0x8+parseInt(_0x1284a8(0x10e))/0x9;if(_0x526dda===_0x31e8af)break;else _0x22e4aa['push'](_0x22e4aa['shift']());}catch(_0x94bfd8){_0x22e4aa['push'](_0x22e4aa['shift']());}}}(_0xbea4,0xdbfc9));import{Command as _0x6ea7a6}from'ckeditor5/src/core.js';import{Dialog as _0x2f9666}from'ckeditor5/src/ui.js';import _0x3bc191 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x20b443}from'../utils/editingutils.js';function _0xbea4(){const _0x5e9431=['10032234OnkVgX','1977532hFKSoV','isActive','isEnabled','document','bind','getSelectedElement','7kCRPUO','9146816DyzdmF','uploadcare.allowExternalImagesEditing','imageInline','plugins','imageEditController','model','3868584TBYDuW','editor','717530grkGEb','refresh','execute','requires','selection','24796395wagcxB','config','element','910720tIqByj','imageBlock','get','unbind','set','1aghvsf','_isEditable'];_0xbea4=function(){return _0x5e9431;};return _0xbea4();}export default class J extends _0x6ea7a6{static get[_0x92bf06(0x10c)](){return[_0x2f9666];}constructor(_0x459a85){const _0x403f24=_0x92bf06;super(_0x459a85),this[_0x403f24(0x124)]=void 0x0,this[_0x403f24(0x117)]=_0x20b443(_0x459a85[_0x403f24(0x10f)][_0x403f24(0x113)](_0x403f24(0x121))||[]),this[_0x403f24(0x115)]({'isActive':!0x1});}[_0x92bf06(0x10a)](){const _0x2c1e0c=_0x92bf06,_0x4a5bd6=this[_0x2c1e0c(0x127)][_0x2c1e0c(0x125)][_0x2c1e0c(0x11c)][_0x2c1e0c(0x10d)][_0x2c1e0c(0x11e)]();this[_0x2c1e0c(0x11b)]=this[_0x2c1e0c(0x117)](_0x4a5bd6);}[_0x92bf06(0x10b)](){const _0x1ee259=_0x92bf06;this[_0x1ee259(0x124)]&&(this[_0x1ee259(0x114)](_0x1ee259(0x11a)),this[_0x1ee259(0x124)]=void 0x0);const _0x3b0f1f=this[_0x1ee259(0x127)][_0x1ee259(0x125)][_0x1ee259(0x11c)][_0x1ee259(0x10d)][_0x1ee259(0x11e)]();_0x3b0f1f&&(_0x3b0f1f['is'](_0x1ee259(0x110),_0x1ee259(0x112))||_0x3b0f1f['is'](_0x1ee259(0x110),_0x1ee259(0x122)))&&(this[_0x1ee259(0x124)]=new _0x3bc191(this[_0x1ee259(0x127)],this[_0x1ee259(0x127)][_0x1ee259(0x123)][_0x1ee259(0x113)](_0x2f9666),_0x3b0f1f),this[_0x1ee259(0x11d)](_0x1ee259(0x11a))['to'](this[_0x1ee259(0x124)],_0x1ee259(0x11a)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c79b9=_0x2a89;(function(_0x59fc3e,_0x2663c7){const _0x48a645=_0x2a89,_0x29bfa7=_0x59fc3e();while(!![]){try{const _0x2b18c8=-parseInt(_0x48a645(0x104))/0x1*(parseInt(_0x48a645(0xfa))/0x2)+parseInt(_0x48a645(0xf0))/0x3+-parseInt(_0x48a645(0xf9))/0x4+-parseInt(_0x48a645(0xf2))/0x5+parseInt(_0x48a645(0xf5))/0x6*(parseInt(_0x48a645(0xfe))/0x7)+parseInt(_0x48a645(0xf3))/0x8+parseInt(_0x48a645(0x100))/0x9;if(_0x2b18c8===_0x2663c7)break;else _0x29bfa7['push'](_0x29bfa7['shift']());}catch(_0x45eec7){_0x29bfa7['push'](_0x29bfa7['shift']());}}}(_0x7f9c,0xe93db));function _0x2a89(_0x94e7cf,_0x6931a6){const _0x7f9ce=_0x7f9c();return _0x2a89=function(_0x2a89cb,_0x11fbbb){_0x2a89cb=_0x2a89cb-0xf0;let _0x537b24=_0x7f9ce[_0x2a89cb];return _0x537b24;},_0x2a89(_0x94e7cf,_0x6931a6);}import{Plugin as _0x316e96}from'ckeditor5/src/core.js';function _0x7f9c(){const _0x19f80b=['uploadcareImageEdit','2131740ZxcXzt','1893174VjrYyN','isPremiumPlugin','requires','commands','8313403aarbzu','pluginName','15616206bcdYVx','ImageUtils','init','UploadcareImageEditEditing','2PhKXEO','4607106ACGsZl','add','7401550QFcVSD','3226472bwfVYK','ImageEditing','6XHHujV','isOfficialPlugin','uploadcareImageReplace'];_0x7f9c=function(){return _0x19f80b;};return _0x7f9c();}import{Notification as _0x13712d}from'ckeditor5/src/ui.js';import _0x17c269 from'./uploadcareimageeditcommand.js';import _0x17696f from'./uploadcareimagereplacecommand.js';import _0x20c4b3 from'../uploadcareediting.js';export default class m extends _0x316e96{static get[_0x2c79b9(0xff)](){const _0x232969=_0x2c79b9;return _0x232969(0x103);}static get[_0x2c79b9(0xfc)](){const _0x1f512a=_0x2c79b9;return[_0x20c4b3,_0x13712d,_0x1f512a(0x101),_0x1f512a(0xf4)];}static get[_0x2c79b9(0xf6)](){return!0x0;}static get[_0x2c79b9(0xfb)](){return!0x0;}[_0x2c79b9(0x102)](){const _0x17f507=_0x2c79b9,{editor:_0x59dea2}=this;_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf8),new _0x17c269(_0x59dea2)),_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf7),new _0x17696f(_0x59dea2));}}
23
+ function _0x267d(){const _0x39bde5=['276dkTnDG','ImageUtils','requires','isPremiumPlugin','12530203UyQFrJ','58128370JwWfVf','8LddJNA','11DhyTtE','uploadcareImageEdit','pluginName','add','13135428CIRkQd','481167OcmUDR','init','5JiNyBq','1637332ulhUpF','uploadcareImageReplace','ImageEditing','commands','isOfficialPlugin','27848elPYah','UploadcareImageEditEditing','2644188IClFur'];_0x267d=function(){return _0x39bde5;};return _0x267d();}function _0x715a(_0x55f942,_0x145c14){const _0x267da2=_0x267d();return _0x715a=function(_0x715a2,_0x277146){_0x715a2=_0x715a2-0x1ef;let _0x1e6c3c=_0x267da2[_0x715a2];return _0x1e6c3c;},_0x715a(_0x55f942,_0x145c14);}const _0x128dae=_0x715a;(function(_0x2973ba,_0x130e7c){const _0x365621=_0x715a,_0x5520fe=_0x2973ba();while(!![]){try{const _0x404695=parseInt(_0x365621(0x205))/0x1+parseInt(_0x365621(0x1f6))/0x2*(-parseInt(_0x365621(0x1f9))/0x3)+parseInt(_0x365621(0x1f1))/0x4*(-parseInt(_0x365621(0x1f0))/0x5)+-parseInt(_0x365621(0x1f8))/0x6+parseInt(_0x365621(0x1fd))/0x7*(-parseInt(_0x365621(0x1ff))/0x8)+-parseInt(_0x365621(0x204))/0x9+parseInt(_0x365621(0x1fe))/0xa*(parseInt(_0x365621(0x200))/0xb);if(_0x404695===_0x130e7c)break;else _0x5520fe['push'](_0x5520fe['shift']());}catch(_0x9c1815){_0x5520fe['push'](_0x5520fe['shift']());}}}(_0x267d,0xdf024));import{Plugin as _0x5b82f0}from'ckeditor5/src/core.js';import{Notification as _0x3c1d4a}from'ckeditor5/src/ui.js';import _0x2e9c91 from'./uploadcareimageeditcommand.js';import _0x6b9b01 from'./uploadcareimagereplacecommand.js';import _0x387600 from'../uploadcareediting.js';export default class m extends _0x5b82f0{static get[_0x128dae(0x202)](){const _0x4f39ce=_0x128dae;return _0x4f39ce(0x1f7);}static get[_0x128dae(0x1fb)](){const _0x574143=_0x128dae;return[_0x387600,_0x3c1d4a,_0x574143(0x1fa),_0x574143(0x1f3)];}static get[_0x128dae(0x1f5)](){return!0x0;}static get[_0x128dae(0x1fc)](){return!0x0;}[_0x128dae(0x1ef)](){const _0x2200f2=_0x128dae,{editor:_0x4727b8}=this;_0x4727b8[_0x2200f2(0x1f4)][_0x2200f2(0x203)](_0x2200f2(0x201),new _0x2e9c91(_0x4727b8)),_0x4727b8[_0x2200f2(0x1f4)][_0x2200f2(0x203)](_0x2200f2(0x1f2),new _0x6b9b01(_0x4727b8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2ace07}from'ckeditor5/src/core.js';import{ButtonView as _0x4e0807}from'ckeditor5/src/ui.js';import{createElement as _0x2bc6bb}from'ckeditor5/src/utils.js';import _0x169f1d 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 _0x2ace07{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 _0x14fb33=this['editor'];_0x14fb33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37dc5e=>{const _0x535a66=_0x14fb33['commands']['get']('uploadcareImageEdit'),_0x4e2e24=new _0x4e0807(_0x37dc5e),t=_0x37dc5e['t'];return _0x4e2e24['set']({'icon':_0x169f1d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e2e24['bind']('isEnabled')['to'](_0x535a66),_0x4e2e24['bind']('isOn')['to'](_0x535a66,'isActive'),this['listenTo'](_0x4e2e24,'execute',()=>{_0x14fb33['execute']('uploadcareImageEdit'),_0x14fb33['editing']['view']['focus']();}),_0x4e2e24;}),this['_initConfig']();}['_initConfig'](){const _0x4ebf73=_0x2bc6bb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4ebf73),this['listenTo'](this['editor'],'destroy',()=>{_0x4ebf73['remove']();});}}
23
+ import{Plugin as _0x4aff9c}from'ckeditor5/src/core.js';import{ButtonView as _0x4343af}from'ckeditor5/src/ui.js';import{createElement as _0xaed0ec}from'ckeditor5/src/utils.js';import _0x40298d 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 _0x4aff9c{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 _0x2b0453=this['editor'];_0x2b0453['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c7c47=>{const _0x2f3ed1=_0x2b0453['commands']['get']('uploadcareImageEdit'),_0x54dc1f=new _0x4343af(_0x3c7c47),t=_0x3c7c47['t'];return _0x54dc1f['set']({'icon':_0x40298d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54dc1f['bind']('isEnabled')['to'](_0x2f3ed1),_0x54dc1f['bind']('isOn')['to'](_0x2f3ed1,'isActive'),this['listenTo'](_0x54dc1f,'execute',()=>{_0x2b0453['execute']('uploadcareImageEdit'),_0x2b0453['editing']['view']['focus']();}),_0x54dc1f;}),this['_initConfig']();}['_initConfig'](){const _0x360d1a=_0xaed0ec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x360d1a),this['listenTo'](this['editor'],'destroy',()=>{_0x360d1a['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x462c(_0x45b795,_0x5c16e6){const _0xd72534=_0xd725();return _0x462c=function(_0x462c49,_0xd6c3d1){_0x462c49=_0x462c49-0x17d;let _0x56f048=_0xd72534[_0x462c49];return _0x56f048;},_0x462c(_0x45b795,_0x5c16e6);}const _0x3ca0b4=_0x462c;(function(_0x534c4e,_0x40952f){const _0x24c46b=_0x462c,_0x2a8e69=_0x534c4e();while(!![]){try{const _0x263a92=parseInt(_0x24c46b(0x193))/0x1+parseInt(_0x24c46b(0x188))/0x2+-parseInt(_0x24c46b(0x187))/0x3+-parseInt(_0x24c46b(0x17f))/0x4*(-parseInt(_0x24c46b(0x180))/0x5)+parseInt(_0x24c46b(0x196))/0x6*(parseInt(_0x24c46b(0x18c))/0x7)+parseInt(_0x24c46b(0x191))/0x8+-parseInt(_0x24c46b(0x18d))/0x9*(parseInt(_0x24c46b(0x181))/0xa);if(_0x263a92===_0x40952f)break;else _0x2a8e69['push'](_0x2a8e69['shift']());}catch(_0x3b7c68){_0x2a8e69['push'](_0x2a8e69['shift']());}}}(_0xd725,0xe3bfb));import{Command as _0x262c45}from'ckeditor5/src/core.js';function _0xd725(){const _0x549f25=['model','selection','372PqDhjL','13455IzclvM','28059810aSVPBY','imageBlock','imageInline','editor','sizes','setAttributes','1807689sYKLLr','3329490zKVMXF','execute','srcset','element','210PmknRi','9bBlTyD','document','getSelectedElement','removeAttribute','199776JxOBza','isEnabled','1089553qpTgMS','change','refresh','262374okPILy'];_0xd725=function(){return _0x549f25;};return _0xd725();}export default class O extends _0x262c45{[_0x3ca0b4(0x195)](){const _0x3c533f=_0x3ca0b4,_0x2d7a63=this[_0x3c533f(0x184)][_0x3c533f(0x17d)][_0x3c533f(0x18e)][_0x3c533f(0x17e)][_0x3c533f(0x18f)]();this[_0x3c533f(0x192)]=Boolean(_0x2d7a63&&(_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x182))||_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x183))));}[_0x3ca0b4(0x189)](_0x98c45f){const _0x4bae6f=_0x3ca0b4,_0x553561=this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x18e)][_0x4bae6f(0x17e)][_0x4bae6f(0x18f)]();this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x194)](_0x154900=>{const _0x436bff=_0x4bae6f;_0x154900[_0x436bff(0x186)](_0x98c45f,_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x18a),_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x185),_0x553561);});}}
23
+ const _0x50f225=_0x52fe;function _0x52fe(_0x26f5a6,_0x13b849){const _0x1a341b=_0x1a34();return _0x52fe=function(_0x52fec9,_0x4ca530){_0x52fec9=_0x52fec9-0x1db;let _0x4eeb9d=_0x1a341b[_0x52fec9];return _0x4eeb9d;},_0x52fe(_0x26f5a6,_0x13b849);}(function(_0xa260ae,_0x95788f){const _0x3961b4=_0x52fe,_0x68e821=_0xa260ae();while(!![]){try{const _0x407234=-parseInt(_0x3961b4(0x1e4))/0x1+parseInt(_0x3961b4(0x1e9))/0x2+parseInt(_0x3961b4(0x1e8))/0x3*(parseInt(_0x3961b4(0x1ec))/0x4)+parseInt(_0x3961b4(0x1ee))/0x5+parseInt(_0x3961b4(0x1e0))/0x6+parseInt(_0x3961b4(0x1e2))/0x7*(-parseInt(_0x3961b4(0x1e1))/0x8)+-parseInt(_0x3961b4(0x1dd))/0x9;if(_0x407234===_0x95788f)break;else _0x68e821['push'](_0x68e821['shift']());}catch(_0x54cb9b){_0x68e821['push'](_0x68e821['shift']());}}}(_0x1a34,0x90c57));import{Command as _0x2b2952}from'ckeditor5/src/core.js';function _0x1a34(){const _0x3fb7fe=['3493693iiMIeF','editor','1025417iUDJvm','removeAttribute','isEnabled','srcset','121665JnUpeZ','2204498MJeAMR','document','setAttributes','24QsnAaw','imageBlock','4670520GbHCef','sizes','getSelectedElement','element','model','change','imageInline','selection','9972738JeEBjr','execute','refresh','5675388QiZGyv','8rnNoBC'];_0x1a34=function(){return _0x3fb7fe;};return _0x1a34();}export default class O extends _0x2b2952{[_0x50f225(0x1df)](){const _0x4e0516=_0x50f225,_0x295dc1=this[_0x4e0516(0x1e3)][_0x4e0516(0x1f2)][_0x4e0516(0x1ea)][_0x4e0516(0x1dc)][_0x4e0516(0x1f0)]();this[_0x4e0516(0x1e6)]=Boolean(_0x295dc1&&(_0x295dc1['is'](_0x4e0516(0x1f1),_0x4e0516(0x1ed))||_0x295dc1['is'](_0x4e0516(0x1f1),_0x4e0516(0x1db))));}[_0x50f225(0x1de)](_0x403130){const _0x29c6c1=_0x50f225,_0xd4d540=this[_0x29c6c1(0x1e3)][_0x29c6c1(0x1f2)][_0x29c6c1(0x1ea)][_0x29c6c1(0x1dc)][_0x29c6c1(0x1f0)]();this[_0x29c6c1(0x1e3)][_0x29c6c1(0x1f2)][_0x29c6c1(0x1f3)](_0x22252d=>{const _0x54027f=_0x29c6c1;_0x22252d[_0x54027f(0x1eb)](_0x403130,_0xd4d540),_0x22252d[_0x54027f(0x1e5)](_0x54027f(0x1e7),_0xd4d540),_0x22252d[_0x54027f(0x1e5)](_0x54027f(0x1ef),_0xd4d540);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a3d4f=_0x50e3;function _0x50e3(_0x370eba,_0x297a61){var _0x311736=_0x3117();return _0x50e3=function(_0x50e358,_0x58fd82){_0x50e358=_0x50e358-0x68;var _0x21e81a=_0x311736[_0x50e358];return _0x21e81a;},_0x50e3(_0x370eba,_0x297a61);}(function(_0x539bda,_0x3e2225){var _0x560c95=_0x50e3,_0x4625b9=_0x539bda();while(!![]){try{var _0x33bcdc=parseInt(_0x560c95(0x70))/0x1+parseInt(_0x560c95(0x68))/0x2+parseInt(_0x560c95(0x71))/0x3+parseInt(_0x560c95(0x6c))/0x4+-parseInt(_0x560c95(0x6e))/0x5*(parseInt(_0x560c95(0x73))/0x6)+-parseInt(_0x560c95(0x75))/0x7*(parseInt(_0x560c95(0x69))/0x8)+-parseInt(_0x560c95(0x6d))/0x9;if(_0x33bcdc===_0x3e2225)break;else _0x4625b9['push'](_0x4625b9['shift']());}catch(_0x13fb8f){_0x4625b9['push'](_0x4625b9['shift']());}}}(_0x3117,0xea1eb));import{Plugin as _0x4a0c15}from'ckeditor5/src/core.js';import _0x2dd9e9 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x2d1706 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3117(){var _0x55aa06=['4106008dOPvpf','pluginName','requires','6592296tqGJYI','22931514RdnVKh','2706865opTybe','UploadcareImageEdit','593323PXuBci','2896086UYyuqx','isPremiumPlugin','6QcHMgW','isOfficialPlugin','14DHoRBJ','3736034WoiWzh'];_0x3117=function(){return _0x55aa06;};return _0x3117();}export default class j extends _0x4a0c15{static get[_0x1a3d4f(0x6a)](){var _0x44b32d=_0x1a3d4f;return _0x44b32d(0x6f);}static get[_0x1a3d4f(0x6b)](){return[_0x2dd9e9,_0x2d1706];}static get[_0x1a3d4f(0x74)](){return!0x0;}static get[_0x1a3d4f(0x72)](){return!0x0;}}
23
+ var _0x3f502a=_0xf506;function _0xf506(_0x43c6d2,_0x15ba41){var _0xf05f82=_0xf05f();return _0xf506=function(_0xf50629,_0x2ab550){_0xf50629=_0xf50629-0x142;var _0x542b29=_0xf05f82[_0xf50629];return _0x542b29;},_0xf506(_0x43c6d2,_0x15ba41);}function _0xf05f(){var _0x4e9db5=['4768355bxqdyv','8qrdAQY','43837728nYXqJv','isPremiumPlugin','9TXzQiG','643334rDFcJz','pluginName','requires','12COFVZj','5048184RODNwL','41979jqdwyv','UploadcareImageEdit','8681950oCYveG','isOfficialPlugin','12030277jEFcZt','6jGtTKq'];_0xf05f=function(){return _0x4e9db5;};return _0xf05f();}(function(_0x4f6460,_0x15ca5c){var _0x531f17=_0xf506,_0x137646=_0x4f6460();while(!![]){try{var _0x50ba3d=-parseInt(_0x531f17(0x151))/0x1+-parseInt(_0x531f17(0x14c))/0x2*(parseInt(_0x531f17(0x14f))/0x3)+-parseInt(_0x531f17(0x148))/0x4*(parseInt(_0x531f17(0x147))/0x5)+parseInt(_0x531f17(0x146))/0x6*(parseInt(_0x531f17(0x145))/0x7)+-parseInt(_0x531f17(0x150))/0x8*(parseInt(_0x531f17(0x14b))/0x9)+-parseInt(_0x531f17(0x143))/0xa+parseInt(_0x531f17(0x149))/0xb;if(_0x50ba3d===_0x15ca5c)break;else _0x137646['push'](_0x137646['shift']());}catch(_0x225a41){_0x137646['push'](_0x137646['shift']());}}}(_0xf05f,0xec7cc));import{Plugin as _0x3babf2}from'ckeditor5/src/core.js';import _0x34883d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x39a868 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x3babf2{static get[_0x3f502a(0x14d)](){var _0x2d7016=_0x3f502a;return _0x2d7016(0x142);}static get[_0x3f502a(0x14e)](){return[_0x34883d,_0x39a868];}static get[_0x3f502a(0x144)](){return!0x0;}static get[_0x3f502a(0x14a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbe8a34=_0x32be;(function(_0x5503ed,_0x46eb7b){const _0x11e828=_0x32be,_0x40c16b=_0x5503ed();while(!![]){try{const _0x315f31=parseInt(_0x11e828(0x19c))/0x1*(parseInt(_0x11e828(0x17d))/0x2)+-parseInt(_0x11e828(0x192))/0x3+parseInt(_0x11e828(0x1a4))/0x4*(-parseInt(_0x11e828(0x1bd))/0x5)+parseInt(_0x11e828(0x179))/0x6+-parseInt(_0x11e828(0x195))/0x7+-parseInt(_0x11e828(0x1bf))/0x8+parseInt(_0x11e828(0x184))/0x9*(parseInt(_0x11e828(0x19b))/0xa);if(_0x315f31===_0x46eb7b)break;else _0x40c16b['push'](_0x40c16b['shift']());}catch(_0x1a57b7){_0x40c16b['push'](_0x40c16b['shift']());}}}(_0x3c89,0x8ef90));import{Plugin as _0x2baae4,icons as _0x48814d}from'ckeditor5/src/core.js';import{ButtonView as _0x4007f2,MenuBarMenuListItemButtonView as _0x18211d}from'ckeditor5/src/ui.js';import _0x28a006 from'../theme/icons/dropbox.svg';import _0xb8797e from'../theme/icons/facebook.svg';import _0x261cd6 from'../theme/icons/google-drive.svg';import _0x559a25 from'../theme/icons/google-photos.svg';import _0x1fc7b1 from'../theme/icons/link.svg';import _0x4deae4 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b1c81}from'./uploadcareconfig.js';function _0x3c89(){const _0x3eaed1=['5222360RYKRpU','licenseKey','invalid','withText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','get','imageUpload','label','Dropbox','config','afterInit','3919764TiHhUY','tooltip','UploadcareUI','uploadcare','110dYUDmz','Insert','entries','bind','GDrive','uploadcare.uploader.sourceList','push','32139PsreFU','editor','Replace','evaluationLimit','uploadcareLicenseKeyUsageLimit','OneDrive','isPremiumPlugin','expired','commands','Uploadcare','text','destroy','_createMenuBarButtons','featureNotAllowed','1944660hiobFH','type','domainLimit','4942406ZjFzPx','uploadcareLicenseKeyInvalid','locale','icon','_showLicenseError','URL','3430TpKTvU','18239JIAOLi','registerIntegration','upload','forEach','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','shortText','164916scxDIR','reduce','trialLimit','_createToolbarButton','_licenseKeyCheckInterval','Local','isImageSelected','plugins','uploadcareLicenseKeyValid','isEnabled','_createDropdownButtons','uploadcareLicenseKeyEvaluationLimit','execute','_getIntegrationKey','usageLimit','pluginName','has','_createButton','uploadcareLicenseKeyNotAllowed','GPhotos','Facebook','isOfficialPlugin','url','map','assetManager','35FErNnw','init'];_0x3c89=function(){return _0x3eaed1;};return _0x3c89();}import{getTranslation as _0x3151ba}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x32be(_0x301bd7,_0x5421e9){const _0x3c8916=_0x3c89();return _0x32be=function(_0x32be70,_0x5f4723){_0x32be70=_0x32be70-0x179;let _0x5a21ca=_0x3c8916[_0x32be70];return _0x5a21ca;},_0x32be(_0x301bd7,_0x5421e9);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2baae4{static get[_0xbe8a34(0x1b3)](){const _0x16ec58=_0xbe8a34;return _0x16ec58(0x17b);}static get[_0xbe8a34(0x1b9)](){return!0x0;}static get[_0xbe8a34(0x18a)](){return!0x0;}[_0xbe8a34(0x1be)](){const _0x236fd8=_0xbe8a34;this[_0x236fd8(0x1c0)]=this[_0x236fd8(0x185)][_0x236fd8(0x1c9)][_0x236fd8(0x1c5)](_0x236fd8(0x1c0));const _0x472c45=this[_0x236fd8(0x185)];this[_0x236fd8(0x1a8)]=setInterval(()=>{const _0x411c2f=_0x236fd8;let _0x11bc2d;for(const _0x139085 in _0x472c45){const _0x3a37b2=_0x139085,_0x356fef=_0x472c45[_0x3a37b2];if(_0x411c2f(0x1ac)==_0x356fef||_0x411c2f(0x196)==_0x356fef||_0x411c2f(0x1c4)==_0x356fef||_0x411c2f(0x1a1)==_0x356fef||_0x411c2f(0x1b6)==_0x356fef||_0x411c2f(0x1af)==_0x356fef||_0x411c2f(0x1a2)==_0x356fef||_0x411c2f(0x188)==_0x356fef){delete _0x472c45[_0x3a37b2],_0x11bc2d=_0x356fef,clearInterval(this[_0x411c2f(0x1a8)]),this[_0x411c2f(0x1a8)]=void 0x0;break;}}_0x411c2f(0x196)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1c1)),_0x411c2f(0x1c4)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x18b)),_0x411c2f(0x1a1)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x194)),_0x411c2f(0x1b6)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x191),_0x411c2f(0x18d)),_0x411c2f(0x1af)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x187)),_0x411c2f(0x1a2)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1a6)),_0x411c2f(0x188)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1b2));},0x3e8);}[_0xbe8a34(0x1ca)](){const _0x2eb513=_0xbe8a34,{editor:_0x18198d}=this,_0xe7d465=_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c));if(!_0xe7d465)return;const _0x1a4223=this[_0x2eb513(0x1c3)](_0x18198d[_0x2eb513(0x1c9)][_0x2eb513(0x1c5)](_0x2eb513(0x182)))[_0x2eb513(0x1a5)]((_0x99ad01,_0x353946)=>{const _0xae4696=_0x2eb513,_0x40d56c=this[_0xae4696(0x1b1)](_0x353946[_0xae4696(0x193)]);return _0x99ad01[_0x40d56c]||(_0x99ad01[_0x40d56c]=[]),_0x99ad01[_0x40d56c][_0xae4696(0x183)](_0x353946),_0x99ad01;},{});_0x18198d[_0x2eb513(0x1ab)][_0x2eb513(0x1b4)](_0x2eb513(0x1a0))&&_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c))&&Object[_0x2eb513(0x17f)](_0x1a4223)[_0x2eb513(0x19f)](([_0xaf9127,_0x1844d1])=>{const _0x4f892a=_0x2eb513;_0x18198d[_0x4f892a(0x1ab)][_0x4f892a(0x1c5)](_0x4f892a(0x1a0))[_0x4f892a(0x19d)]({'name':_0xaf9127,'observable':()=>_0xe7d465,'buttonViewCreator':()=>this[_0x4f892a(0x1a7)](_0x1844d1),'formViewCreator':()=>this[_0x4f892a(0x1ae)](_0x1844d1),'menuBarButtonViewCreator':()=>this[_0x4f892a(0x190)](_0x1844d1),'override':_0x4f892a(0x1bc)!==_0xaf9127});});}[_0xbe8a34(0x18f)](){const _0x50bdff=_0xbe8a34;super[_0x50bdff(0x18f)](),this[_0x50bdff(0x1a8)]&&clearInterval(this[_0x50bdff(0x1a8)]);}[_0xbe8a34(0x1c3)](_0x1e3a8b){const _0x4a8bb6=_0xbe8a34,{locale:_0x59f5a0}=this[_0x4a8bb6(0x185)];return _0x1e3a8b[_0x4a8bb6(0x1bb)](_0x4ef401=>{const _0x770ca6=_0x4a8bb6,_0x2028c4=_0x3151ba(_0x59f5a0,_0x4ef401,_0x770ca6(0x17e));switch(_0x4ef401){case _0x4b1c81[_0x770ca6(0x1a9)]:return{'icon':_0x48814d[_0x770ca6(0x1c6)],'type':_0x4b1c81[_0x770ca6(0x1a9)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x19a)]:return{'icon':_0x1fc7b1,'type':_0x4b1c81[_0x770ca6(0x19a)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1c8)]:return{'icon':_0x28a006,'type':_0x4b1c81[_0x770ca6(0x1c8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b8)]:return{'icon':_0xb8797e,'type':_0x4b1c81[_0x770ca6(0x1b8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x181)]:return{'icon':_0x261cd6,'type':_0x4b1c81[_0x770ca6(0x181)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b7)]:return{'icon':_0x559a25,'type':_0x4b1c81[_0x770ca6(0x1b7)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x189)]:return{'icon':_0x4deae4,'type':_0x4b1c81[_0x770ca6(0x189)],..._0x2028c4};}});}[_0xbe8a34(0x1b1)](_0x3e22c9){const _0x4bc242=_0xbe8a34;switch(_0x3e22c9){case _0x4b1c81[_0x4bc242(0x1a9)]:return _0x4bc242(0x19e);case _0x4b1c81[_0x4bc242(0x19a)]:return _0x4bc242(0x1ba);default:return _0x4bc242(0x1bc);}}[_0xbe8a34(0x1b5)](_0x33e34f,_0x312c26){const _0x121be7=_0xbe8a34,_0x251bf5=this[_0x121be7(0x185)],_0x1e5866=new _0x33e34f(_0x251bf5[_0x121be7(0x197)]),_0x2565cf=_0x251bf5[_0x121be7(0x18c)][_0x121be7(0x1c5)](_0x121be7(0x17c));return _0x1e5866[_0x121be7(0x180)](_0x121be7(0x1ad))['to'](_0x2565cf),_0x1e5866['on'](_0x121be7(0x1b0),()=>{const _0x53c09e=_0x121be7;_0x2565cf[_0x53c09e(0x1b0)](_0x312c26);}),_0x1e5866;}[_0xbe8a34(0x1a7)](_0xe38c30){const _0x1fa897=_0xbe8a34,{locale:_0x5e148e}=this[_0x1fa897(0x185)],_0x3a90a1=this[_0x1fa897(0x185)][_0x1fa897(0x1ab)][_0x1fa897(0x1c5)](_0x1fa897(0x1a0)),_0x591878=_0xe38c30[0x0],_0x13096c=this[_0x1fa897(0x1b5)](_0x4007f2,_0x591878[_0x1fa897(0x193)]);return _0x13096c[_0x1fa897(0x198)]=_0x591878[_0x1fa897(0x198)],_0x13096c[_0x1fa897(0x180)](_0x1fa897(0x1c7))['to'](_0x3a90a1,_0x1fa897(0x1aa),_0x447bf3=>_0x3151ba(_0x5e148e,_0x591878[_0x1fa897(0x193)],_0x447bf3?_0x1fa897(0x186):_0x1fa897(0x17e))[_0x1fa897(0x18e)]),_0x13096c[_0x1fa897(0x17a)]=!0x0,_0x13096c;}[_0xbe8a34(0x1ae)](_0x22d5a6){const _0x485714=_0xbe8a34,{locale:_0x498ea7}=this[_0x485714(0x185)],_0x57e1c3=this[_0x485714(0x185)][_0x485714(0x1ab)][_0x485714(0x1c5)](_0x485714(0x1a0));return _0x22d5a6[_0x485714(0x1bb)](_0x53c0d3=>{const _0x3f14d2=_0x485714,_0x324da3=this[_0x3f14d2(0x1b5)](_0x4007f2,_0x53c0d3[_0x3f14d2(0x193)]);return _0x324da3[_0x3f14d2(0x1c2)]=!0x0,_0x324da3[_0x3f14d2(0x198)]=_0x53c0d3[_0x3f14d2(0x198)],_0x324da3[_0x3f14d2(0x180)](_0x3f14d2(0x1c7))['to'](_0x57e1c3,_0x3f14d2(0x1aa),_0x13dad4=>_0x3151ba(_0x498ea7,_0x53c0d3[_0x3f14d2(0x193)],_0x13dad4?_0x3f14d2(0x186):_0x3f14d2(0x17e))[_0x3f14d2(0x18e)]),_0x324da3;});}[_0xbe8a34(0x190)](_0x24abff){const _0x30a3c9=_0xbe8a34;return _0x24abff[_0x30a3c9(0x1bb)](_0x3ee9cd=>{const _0x425437=_0x30a3c9,_0x4a9174=this[_0x425437(0x1b5)](_0x18211d,_0x3ee9cd[_0x425437(0x193)]);return _0x4a9174[_0x425437(0x198)]=_0x3ee9cd[_0x425437(0x198)],_0x4a9174[_0x425437(0x1c7)]=_0x3ee9cd[_0x425437(0x1a3)],_0x4a9174;});}}
23
+ const _0x5ca830=_0x4627;(function(_0x2d18fa,_0x3be09d){const _0x2e4b7b=_0x4627,_0x48e8ae=_0x2d18fa();while(!![]){try{const _0x25c9aa=parseInt(_0x2e4b7b(0x175))/0x1+-parseInt(_0x2e4b7b(0x162))/0x2+-parseInt(_0x2e4b7b(0x165))/0x3+parseInt(_0x2e4b7b(0x169))/0x4+-parseInt(_0x2e4b7b(0x18b))/0x5*(parseInt(_0x2e4b7b(0x158))/0x6)+parseInt(_0x2e4b7b(0x150))/0x7*(parseInt(_0x2e4b7b(0x16d))/0x8)+-parseInt(_0x2e4b7b(0x141))/0x9*(parseInt(_0x2e4b7b(0x164))/0xa);if(_0x25c9aa===_0x3be09d)break;else _0x48e8ae['push'](_0x48e8ae['shift']());}catch(_0x499e81){_0x48e8ae['push'](_0x48e8ae['shift']());}}}(_0xf11a,0xec28a));import{Plugin as _0x424594,icons as _0x295fe5}from'ckeditor5/src/core.js';import{ButtonView as _0x21fe9e,MenuBarMenuListItemButtonView as _0x4edd2a}from'ckeditor5/src/ui.js';import _0x414324 from'../theme/icons/dropbox.svg';import _0x6f3aec from'../theme/icons/facebook.svg';import _0x5448f0 from'../theme/icons/google-drive.svg';import _0x2d7eb0 from'../theme/icons/google-photos.svg';import _0x3929cd from'../theme/icons/link.svg';import _0x5234fb from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x577e1e}from'./uploadcareconfig.js';import{getTranslation as _0x1c184e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4627(_0x389988,_0x20ad57){const _0xf11a5b=_0xf11a();return _0x4627=function(_0x462730,_0x51fed0){_0x462730=_0x462730-0x13d;let _0x302469=_0xf11a5b[_0x462730];return _0x302469;},_0x4627(_0x389988,_0x20ad57);}function _0xf11a(){const _0x44cbc0=['destroy','_createToolbarButton','evaluationLimit','_normalizeConfigSourceList','featureNotAllowed','_createMenuBarButtons','upload','bind','icon','map','domainLimit','invalid','get','text','usageLimit','OneDrive','uploadcareLicenseKeyDomainLimit','_getIntegrationKey','plugins','url','pluginName','618960pMHgFi','trialLimit','Insert','isPremiumPlugin','Facebook','uploadcareLicenseKeyInvalid','_createDropdownButtons','UploadcareUI','9JqzteL','type','uploadcareLicenseKeyNotAllowed','tooltip','Dropbox','label','config','_showLicenseError','locale','URL','withText','commands','uploadcareLicenseKeyUsageLimit','entries','init','133SIPvHG','uploadcareLicenseKeyValid','expired','uploadcareLicenseKeyEvaluationLimit','uploadcare','uploadcareLicenseKeyTrialLimit','isOfficialPlugin','has','18aZqeib','Local','_licenseKeyCheckInterval','Replace','shortText','reduce','imageUpload','GDrive','forEach','_createButton','1885440SlEJFE','Uploadcare','17783790EYTcUm','3332733zECObw','push','registerIntegration','uploadcareLicenseKeyExpired','7264044OJOeip','uploadcare.uploader.sourceList','execute','isEnabled','786104eVstTq','editor','licenseKey','GPhotos','afterInit','ImageInsertUI','assetManager','isImageSelected','1487684jGGFok'];_0xf11a=function(){return _0x44cbc0;};return _0xf11a();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x424594{static get[_0x5ca830(0x18a)](){const _0x5dbe1e=_0x5ca830;return _0x5dbe1e(0x140);}static get[_0x5ca830(0x156)](){return!0x0;}static get[_0x5ca830(0x18e)](){return!0x0;}[_0x5ca830(0x14f)](){const _0x1d509a=_0x5ca830;this[_0x1d509a(0x16f)]=this[_0x1d509a(0x16e)][_0x1d509a(0x147)][_0x1d509a(0x182)](_0x1d509a(0x16f));const _0x3304ad=this[_0x1d509a(0x16e)];this[_0x1d509a(0x15a)]=setInterval(()=>{const _0xc20660=_0x1d509a;let _0x53fb89;for(const _0x1bbba0 in _0x3304ad){const _0x4aa909=_0x1bbba0,_0x4094dd=_0x3304ad[_0x4aa909];if(_0xc20660(0x151)==_0x4094dd||_0xc20660(0x13e)==_0x4094dd||_0xc20660(0x168)==_0x4094dd||_0xc20660(0x186)==_0x4094dd||_0xc20660(0x143)==_0x4094dd||_0xc20660(0x153)==_0x4094dd||_0xc20660(0x155)==_0x4094dd||_0xc20660(0x14d)==_0x4094dd){delete _0x3304ad[_0x4aa909],_0x53fb89=_0x4094dd,clearInterval(this[_0xc20660(0x15a)]),this[_0xc20660(0x15a)]=void 0x0;break;}}_0xc20660(0x13e)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x181)),_0xc20660(0x168)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x152)),_0xc20660(0x186)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x180)),_0xc20660(0x143)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x17a),_0xc20660(0x163)),_0xc20660(0x153)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x178)),_0xc20660(0x155)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x18c)),_0xc20660(0x14d)==_0x53fb89&&_0x3304ad[_0xc20660(0x148)](_0xc20660(0x184));},0x3e8);}[_0x5ca830(0x171)](){const _0x53daf6=_0x5ca830,{editor:_0x276a0e}=this,_0x278552=_0x276a0e[_0x53daf6(0x14c)][_0x53daf6(0x182)](_0x53daf6(0x154));if(!_0x278552)return;const _0x1c3eaa=this[_0x53daf6(0x179)](_0x276a0e[_0x53daf6(0x147)][_0x53daf6(0x182)](_0x53daf6(0x16a)))[_0x53daf6(0x15d)]((_0x3a0569,_0x19a47)=>{const _0xba8a6a=_0x53daf6,_0x1983fe=this[_0xba8a6a(0x187)](_0x19a47[_0xba8a6a(0x142)]);return _0x3a0569[_0x1983fe]||(_0x3a0569[_0x1983fe]=[]),_0x3a0569[_0x1983fe][_0xba8a6a(0x166)](_0x19a47),_0x3a0569;},{});_0x276a0e[_0x53daf6(0x188)][_0x53daf6(0x157)](_0x53daf6(0x172))&&_0x276a0e[_0x53daf6(0x14c)][_0x53daf6(0x182)](_0x53daf6(0x154))&&Object[_0x53daf6(0x14e)](_0x1c3eaa)[_0x53daf6(0x160)](([_0x3e79bc,_0x40710c])=>{const _0x43a76d=_0x53daf6;_0x276a0e[_0x43a76d(0x188)][_0x43a76d(0x182)](_0x43a76d(0x172))[_0x43a76d(0x167)]({'name':_0x3e79bc,'observable':()=>_0x278552,'buttonViewCreator':()=>this[_0x43a76d(0x177)](_0x40710c),'formViewCreator':()=>this[_0x43a76d(0x13f)](_0x40710c),'menuBarButtonViewCreator':()=>this[_0x43a76d(0x17b)](_0x40710c),'override':_0x43a76d(0x173)!==_0x3e79bc});});}[_0x5ca830(0x176)](){const _0x57ca72=_0x5ca830;super[_0x57ca72(0x176)](),this[_0x57ca72(0x15a)]&&clearInterval(this[_0x57ca72(0x15a)]);}[_0x5ca830(0x179)](_0x2e2001){const _0x1a4fe6=_0x5ca830,{locale:_0x1c54a5}=this[_0x1a4fe6(0x16e)];return _0x2e2001[_0x1a4fe6(0x17f)](_0x2e98ca=>{const _0x59c648=_0x1a4fe6,_0x3d6bf5=_0x1c184e(_0x1c54a5,_0x2e98ca,_0x59c648(0x18d));switch(_0x2e98ca){case _0x577e1e[_0x59c648(0x159)]:return{'icon':_0x295fe5[_0x59c648(0x15e)],'type':_0x577e1e[_0x59c648(0x159)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x14a)]:return{'icon':_0x3929cd,'type':_0x577e1e[_0x59c648(0x14a)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x145)]:return{'icon':_0x414324,'type':_0x577e1e[_0x59c648(0x145)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x13d)]:return{'icon':_0x6f3aec,'type':_0x577e1e[_0x59c648(0x13d)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x15f)]:return{'icon':_0x5448f0,'type':_0x577e1e[_0x59c648(0x15f)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x170)]:return{'icon':_0x2d7eb0,'type':_0x577e1e[_0x59c648(0x170)],..._0x3d6bf5};case _0x577e1e[_0x59c648(0x185)]:return{'icon':_0x5234fb,'type':_0x577e1e[_0x59c648(0x185)],..._0x3d6bf5};}});}[_0x5ca830(0x187)](_0x3e0a04){const _0x3b7c7d=_0x5ca830;switch(_0x3e0a04){case _0x577e1e[_0x3b7c7d(0x159)]:return _0x3b7c7d(0x17c);case _0x577e1e[_0x3b7c7d(0x14a)]:return _0x3b7c7d(0x189);default:return _0x3b7c7d(0x173);}}[_0x5ca830(0x161)](_0x3cce26,_0x229640){const _0x35425d=_0x5ca830,_0x370b3a=this[_0x35425d(0x16e)],_0x396ad8=new _0x3cce26(_0x370b3a[_0x35425d(0x149)]),_0x9564d5=_0x370b3a[_0x35425d(0x14c)][_0x35425d(0x182)](_0x35425d(0x154));return _0x396ad8[_0x35425d(0x17d)](_0x35425d(0x16c))['to'](_0x9564d5),_0x396ad8['on'](_0x35425d(0x16b),()=>{const _0x350c85=_0x35425d;_0x9564d5[_0x350c85(0x16b)](_0x229640);}),_0x396ad8;}[_0x5ca830(0x177)](_0x2df247){const _0x3786c4=_0x5ca830,{locale:_0x277779}=this[_0x3786c4(0x16e)],_0x315ba7=this[_0x3786c4(0x16e)][_0x3786c4(0x188)][_0x3786c4(0x182)](_0x3786c4(0x172)),_0x496bf5=_0x2df247[0x0],_0x90592d=this[_0x3786c4(0x161)](_0x21fe9e,_0x496bf5[_0x3786c4(0x142)]);return _0x90592d[_0x3786c4(0x17e)]=_0x496bf5[_0x3786c4(0x17e)],_0x90592d[_0x3786c4(0x17d)](_0x3786c4(0x146))['to'](_0x315ba7,_0x3786c4(0x174),_0x4a5a8c=>_0x1c184e(_0x277779,_0x496bf5[_0x3786c4(0x142)],_0x4a5a8c?_0x3786c4(0x15b):_0x3786c4(0x18d))[_0x3786c4(0x183)]),_0x90592d[_0x3786c4(0x144)]=!0x0,_0x90592d;}[_0x5ca830(0x13f)](_0x44a451){const _0x54e0d3=_0x5ca830,{locale:_0x5ad8fb}=this[_0x54e0d3(0x16e)],_0x38eb06=this[_0x54e0d3(0x16e)][_0x54e0d3(0x188)][_0x54e0d3(0x182)](_0x54e0d3(0x172));return _0x44a451[_0x54e0d3(0x17f)](_0x5492f3=>{const _0x4dd74e=_0x54e0d3,_0x3159da=this[_0x4dd74e(0x161)](_0x21fe9e,_0x5492f3[_0x4dd74e(0x142)]);return _0x3159da[_0x4dd74e(0x14b)]=!0x0,_0x3159da[_0x4dd74e(0x17e)]=_0x5492f3[_0x4dd74e(0x17e)],_0x3159da[_0x4dd74e(0x17d)](_0x4dd74e(0x146))['to'](_0x38eb06,_0x4dd74e(0x174),_0x55b474=>_0x1c184e(_0x5ad8fb,_0x5492f3[_0x4dd74e(0x142)],_0x55b474?_0x4dd74e(0x15b):_0x4dd74e(0x18d))[_0x4dd74e(0x183)]),_0x3159da;});}[_0x5ca830(0x17b)](_0x2aa3ae){const _0x453e97=_0x5ca830;return _0x2aa3ae[_0x453e97(0x17f)](_0x468d4f=>{const _0x315a4b=_0x453e97,_0x3988ba=this[_0x315a4b(0x161)](_0x4edd2a,_0x468d4f[_0x315a4b(0x142)]);return _0x3988ba[_0x315a4b(0x17e)]=_0x468d4f[_0x315a4b(0x17e)],_0x3988ba[_0x315a4b(0x146)]=_0x468d4f[_0x315a4b(0x15c)],_0x3988ba;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1520e7}from'ckeditor5/src/core.js';import{FileRepository as _0x3caf21}from'ckeditor5/src/upload.js';import _0x190b67 from'./uploadcareediting.js';import _0x3d8c2b from'./utils/uploadutils.js';import{getImageUrls as _0x176878}from'./utils/editingutils.js';export default class f extends _0x1520e7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3caf21,_0x190b67];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b6b2e=this['editor'];if(!!!_0x3b6b2e['config']['get']('uploadcare'))return;_0x3b6b2e['plugins']['get'](_0x3caf21)['createUploadAdapter']=_0x4b336c=>new E(_0x4b336c,_0x3b6b2e),_0x3b6b2e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xcbd45b,{imageElement:_0x4a3ffb,data:_0x3ef3b1})=>{_0x3b6b2e['model']['change'](_0x3439f8=>{_0x3439f8['setAttribute']('uploadcareImageId',_0x3ef3b1['uploadcareImageId'],_0x4a3ffb);});});}}class E{constructor(_0x2b0578,_0xaf929){this['loader']=_0x2b0578,this['editor']=_0xaf929,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x46a633=this['editor']['config']['get']('uploadcare.pubkey'),_0x32c21a=await this['loader']['file'];return _0x3d8c2b['upload']({'file':_0x32c21a,'publicKey':_0x46a633,'signal':this['controller']['signal'],'onProgress':_0x3cac5f=>{_0x3cac5f&&_0x3cac5f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3cac5f['value']);}})['then'](async _0x4e2d84=>{const {imageFallbackUrl:_0x24ccb8,imageSources:_0x123dc4}=_0x176878(_0x4e2d84['cdnUrl'],_0x4e2d84['imageInfo']['width']);return{'uploadcareImageId':_0x4e2d84['uuid'],'default':_0x24ccb8,'sources':_0x123dc4};})['catch'](()=>{const _0x187b85=t('Cannot\x20upload\x20file:')+('\x20'+_0x32c21a['name']+'.');return Promise['reject'](_0x187b85);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x30b588}from'ckeditor5/src/core.js';import{FileRepository as _0xbed306}from'ckeditor5/src/upload.js';import _0x4e263f from'./uploadcareediting.js';import _0x10ab1b from'./utils/uploadutils.js';import{getImageUrls as _0x2fae43}from'./utils/editingutils.js';export default class f extends _0x30b588{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbed306,_0x4e263f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x62a480=this['editor'];if(!!!_0x62a480['config']['get']('uploadcare'))return;_0x62a480['plugins']['get'](_0xbed306)['createUploadAdapter']=_0x566ea4=>new E(_0x566ea4,_0x62a480),_0x62a480['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e7384,{imageElement:_0x5ed666,data:_0x5470e7})=>{_0x62a480['model']['change'](_0x36ce82=>{_0x36ce82['setAttribute']('uploadcareImageId',_0x5470e7['uploadcareImageId'],_0x5ed666);});});}}class E{constructor(_0x2b590c,_0x585fed){this['loader']=_0x2b590c,this['editor']=_0x585fed,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x328acc=this['editor']['config']['get']('uploadcare.pubkey'),_0x188c76=await this['loader']['file'];return _0x10ab1b['upload']({'file':_0x188c76,'publicKey':_0x328acc,'signal':this['controller']['signal'],'onProgress':_0x1b5453=>{_0x1b5453&&_0x1b5453['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b5453['value']);}})['then'](async _0x6a1d53=>{const {imageFallbackUrl:_0x1fa42f,imageSources:_0x38d1eb}=_0x2fae43(_0x6a1d53['cdnUrl'],_0x6a1d53['imageInfo']['width']);return{'uploadcareImageId':_0x6a1d53['uuid'],'default':_0x1fa42f,'sources':_0x38d1eb};})['catch'](()=>{const _0x4fc4a7=t('Cannot\x20upload\x20file:')+('\x20'+_0x188c76['name']+'.');return Promise['reject'](_0x4fc4a7);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x399276}from'../uploadcareconfig.js';export function getTranslation(_0x238c3f,_0x1b6731,_0x2ff6cc){const t=_0x238c3f['t'],_0x3cbf97=_0x238c3f['t'];switch(_0x1b6731){case _0x399276['Local']:return{'text':_0x3cbf97('Insert'===_0x2ff6cc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3cbf97('From\x20computer')};case _0x399276['URL']:return{'text':'Insert'===_0x2ff6cc?_0x3cbf97('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3cbf97('Via\x20URL')};case _0x399276['Dropbox']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x399276['Facebook']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x399276['GDrive']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x399276['GPhotos']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x399276['OneDrive']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b6731;}}
23
+ import{UploadcareSource as _0x1c8de5}from'../uploadcareconfig.js';export function getTranslation(_0x5f2a7a,_0x189b9c,_0x4970ca){const t=_0x5f2a7a['t'],_0xf50075=_0x5f2a7a['t'];switch(_0x189b9c){case _0x1c8de5['Local']:return{'text':_0xf50075('Insert'===_0x4970ca?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf50075('From\x20computer')};case _0x1c8de5['URL']:return{'text':'Insert'===_0x4970ca?_0xf50075('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf50075('Via\x20URL')};case _0x1c8de5['Dropbox']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1c8de5['Facebook']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1c8de5['GDrive']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1c8de5['GPhotos']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1c8de5['OneDrive']:return{'text':t('Insert'===_0x4970ca?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x189b9c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1882e1=_0x3d10;function _0x52e5(){var _0x547d92=['getFocusableElement','forwardCycle','27378xMNVrz','3gyChvw','2056936ebFYYm','createCollection','4044164rFlJWe','div','65emfpGZ','bindTemplate','focusTracker','fire','3420056jhUaxV','5610303nhZvqA','focusCycler','236632oEoMYK','2401184rymkYy','true'];_0x52e5=function(){return _0x547d92;};return _0x52e5();}(function(_0x3fd476,_0x173753){var _0x2ae9c7=_0x3d10,_0x205f70=_0x3fd476();while(!![]){try{var _0x3ff53a=-parseInt(_0x2ae9c7(0x150))/0x1+parseInt(_0x2ae9c7(0x151))/0x2*(parseInt(_0x2ae9c7(0x156))/0x3)+-parseInt(_0x2ae9c7(0x147))/0x4+parseInt(_0x2ae9c7(0x149))/0x5*(-parseInt(_0x2ae9c7(0x155))/0x6)+-parseInt(_0x2ae9c7(0x157))/0x7+parseInt(_0x2ae9c7(0x14d))/0x8+parseInt(_0x2ae9c7(0x14e))/0x9;if(_0x3ff53a===_0x173753)break;else _0x205f70['push'](_0x205f70['shift']());}catch(_0x54f6f3){_0x205f70['push'](_0x205f70['shift']());}}}(_0x52e5,0x9ed82));import{FocusTracker as _0xa1c265}from'ckeditor5/src/utils.js';function _0x3d10(_0x1bef8e,_0x2bc87e){var _0x52e51e=_0x52e5();return _0x3d10=function(_0x3d1017,_0x917b0f){_0x3d1017=_0x3d1017-0x147;var _0x1da8c8=_0x52e51e[_0x3d1017];return _0x1da8c8;},_0x3d10(_0x1bef8e,_0x2bc87e);}import{View as _0x3aa596,FocusCycler as _0x32bb3f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x3aa596{constructor(_0x216ee4){var _0x1e1986=_0x3d10;super(_0x216ee4),this[_0x1e1986(0x14b)]=new _0xa1c265(),this[_0x1e1986(0x14f)]=new _0x32bb3f({'focusables':this[_0x1e1986(0x158)](),'focusTracker':this[_0x1e1986(0x14b)]});}[_0x1882e1(0x153)](){var _0x582898=_0x1882e1;return{'tag':_0x582898(0x148),'attributes':{'aria-hidden':_0x582898(0x152),'tabindex':'0'},'on':{'focus':this[_0x582898(0x14a)]['to'](()=>{var _0x2d8c87=_0x582898;this[_0x2d8c87(0x14f)][_0x2d8c87(0x14c)](_0x2d8c87(0x154));})}};}}
23
+ var _0x25effe=_0x571e;(function(_0x62e50d,_0x222a02){var _0x5a7946=_0x571e,_0x57d915=_0x62e50d();while(!![]){try{var _0x3e7c20=-parseInt(_0x5a7946(0xb8))/0x1+parseInt(_0x5a7946(0xab))/0x2*(-parseInt(_0x5a7946(0xbb))/0x3)+parseInt(_0x5a7946(0xb9))/0x4+-parseInt(_0x5a7946(0xae))/0x5*(parseInt(_0x5a7946(0xaf))/0x6)+parseInt(_0x5a7946(0xb3))/0x7*(parseInt(_0x5a7946(0xbd))/0x8)+parseInt(_0x5a7946(0xb0))/0x9*(-parseInt(_0x5a7946(0xac))/0xa)+parseInt(_0x5a7946(0xb5))/0xb;if(_0x3e7c20===_0x222a02)break;else _0x57d915['push'](_0x57d915['shift']());}catch(_0xa7c912){_0x57d915['push'](_0x57d915['shift']());}}}(_0x9ffb,0x228f7));function _0x571e(_0x5ae4db,_0x521e44){var _0x9ffbca=_0x9ffb();return _0x571e=function(_0x571e9f,_0x5b7f7e){_0x571e9f=_0x571e9f-0xaa;var _0x5b024a=_0x9ffbca[_0x571e9f];return _0x5b024a;},_0x571e(_0x5ae4db,_0x521e44);}import{FocusTracker as _0x16e034}from'ckeditor5/src/utils.js';import{View as _0x464374,FocusCycler as _0x3a84b1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x464374{constructor(_0x52e280){var _0x43a162=_0x571e;super(_0x52e280),this[_0x43a162(0xb4)]=new _0x16e034(),this[_0x43a162(0xb1)]=new _0x3a84b1({'focusables':this[_0x43a162(0xb6)](),'focusTracker':this[_0x43a162(0xb4)]});}[_0x25effe(0xaa)](){var _0x11932c=_0x25effe;return{'tag':_0x11932c(0xba),'attributes':{'aria-hidden':_0x11932c(0xb7),'tabindex':'0'},'on':{'focus':this[_0x11932c(0xad)]['to'](()=>{var _0x295793=_0x11932c;this[_0x295793(0xb1)][_0x295793(0xb2)](_0x295793(0xbc));})}};}}function _0x9ffb(){var _0x411d56=['72UxClpX','focusCycler','fire','335146YzxhoB','focusTracker','6451005MisKPL','createCollection','true','177790iQCwcU','454940QBRUrx','div','295341spfaPh','forwardCycle','24VCXpSh','getFocusableElement','2AoqgTP','249520DxZfdu','bindTemplate','230hoXcET','29532OvFBGj'];_0x9ffb=function(){return _0x411d56;};return _0x9ffb();}