@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250910.0 → 0.0.0-nightly-20250912.1

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 (174) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/uploadcare.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.js +1 -1
  157. package/src/uploadcareediting.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a04(_0x27eeaf,_0x1eef7a){const _0xae5969=_0xae59();return _0x5a04=function(_0x5a045e,_0x1e8b5d){_0x5a045e=_0x5a045e-0xe7;let _0xbf5a83=_0xae5969[_0x5a045e];return _0xbf5a83;},_0x5a04(_0x27eeaf,_0x1eef7a);}const _0x4d7d8d=_0x5a04;(function(_0x1fe235,_0x4a585d){const _0x1d3520=_0x5a04,_0x39d6c2=_0x1fe235();while(!![]){try{const _0x2c88ca=parseInt(_0x1d3520(0x11b))/0x1*(parseInt(_0x1d3520(0x120))/0x2)+-parseInt(_0x1d3520(0xf5))/0x3+-parseInt(_0x1d3520(0x125))/0x4*(-parseInt(_0x1d3520(0x131))/0x5)+parseInt(_0x1d3520(0x101))/0x6+-parseInt(_0x1d3520(0x112))/0x7+parseInt(_0x1d3520(0x122))/0x8+parseInt(_0x1d3520(0x10a))/0x9*(-parseInt(_0x1d3520(0xe8))/0xa);if(_0x2c88ca===_0x4a585d)break;else _0x39d6c2['push'](_0x39d6c2['shift']());}catch(_0x26deb6){_0x39d6c2['push'](_0x39d6c2['shift']());}}}(_0xae59,0x4c81f));import{Plugin as _0x294010}from'ckeditor5/src/core.js';import{Dialog as _0x5db9cd}from'ckeditor5/src/ui.js';import{createElement as _0x397a8f,global as _0x336cbe,uid as _0x49211a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3b8d53}from'./uploadcarecommand.js';function _0xae59(){const _0x956e61=['671668YHpdvf','imageInline','remove','isOfficialPlugin','appendChild','_initSchema','querySelector','_initCtx','UploadcareEditing','uploadcareImageId','locale','#uc-icon-arrow-down','5YmZXOP','elementToAttribute','pluginName','add','join','_initConfig','get','replaceImageSource','imageBlock','closeMax','href','downcast','312290ZORgQH','removeAttribute','extend','getSelectedElement','once','init','contentLanguage','data-uc-image-id','afterInit','ucContextId','_initImageProcessingIndicator','body','execute','99909inSHxc','isRegistered','fromCharCode','selection','true','destroy','commands','uc-config','conversion','getAttribute','uploader-','uploadcare.uploader','237432TgSfit','uc-upload-ctx-provider','insertImage','input[uploadcare-file-input]','requires','uploadcare.pubkey','listenTo','view','configElement','45iSEMYs','ctxElement','iconHrefResolver','cleanupImage','_ctxElement','config','model','isPremiumPlugin','2197538kGWhfH','\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','uploadcare','document','editing','uploadcareImageReplace','editor','map','attributeToAttribute','65309XlSzCz','schema','PictureEditing','for','upcast','16gsekqq','render','694368eDmXcm','_configElement','_initConversion'];_0xae59=function(){return _0x956e61;};return _0xae59();}import{UploadcareUploadAdapter as _0x3dc6ac}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x9f30a0}from'./utils/editingutils.js';export class UploadcareEditing extends _0x294010{[_0x4d7d8d(0x123)]=null;[_0x4d7d8d(0x10e)]=null;static get[_0x4d7d8d(0x133)](){const _0x5efecd=_0x4d7d8d;return _0x5efecd(0x12d);}static get[_0x4d7d8d(0x105)](){const _0x513466=_0x4d7d8d;return[_0x513466(0x11d),_0x3dc6ac,_0x5db9cd];}static get[_0x4d7d8d(0x128)](){return!0x0;}static get[_0x4d7d8d(0x111)](){return!0x0;}[_0x4d7d8d(0xf1)];get[_0x4d7d8d(0x109)](){const _0xa97569=_0x4d7d8d;return this[_0xa97569(0x123)];}get[_0x4d7d8d(0x10b)](){const _0x16a05b=_0x4d7d8d;return this[_0x16a05b(0x10e)];}constructor(_0x3434ec){const _0x4b0b50=_0x4d7d8d;super(_0x3434ec),this[_0x4b0b50(0xf1)]=_0x49211a();}[_0x4d7d8d(0xed)](){const _0x535726=_0x4d7d8d,_0x1a765f=this[_0x535726(0x118)];_0x1a765f[_0x535726(0xfb)][_0x535726(0x134)](_0x535726(0x114),new _0x3b8d53(_0x1a765f));}[_0x4d7d8d(0xf0)](){const _0x43caab=_0x4d7d8d;this[_0x43caab(0x12a)](),this[_0x43caab(0x124)](),this[_0x43caab(0x136)](),this[_0x43caab(0x12c)](),this[_0x43caab(0xf2)](),this[_0x43caab(0x107)](this[_0x43caab(0x118)],_0x43caab(0xfa),()=>{const _0x226389=_0x43caab;this[_0x226389(0x123)]&&(this[_0x226389(0x123)][_0x226389(0x127)](),this[_0x226389(0x123)]=null),this[_0x226389(0x10e)]&&(this[_0x226389(0x10e)][_0x226389(0x127)](),this[_0x226389(0x10e)]=null);const _0x44c54e=_0x336cbe[_0x226389(0x115)][_0x226389(0x12b)](_0x226389(0x104));_0x44c54e&&_0x44c54e[_0x226389(0x127)]();}),async function(_0x2164aa){const _0x5179b3=_0x1392c6([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x3f3860=0x3d8d0df,_0x27a1b4=0x3dfa227^_0x3f3860,_0x4d4bc6=window[_0x1392c6([0x44,0x61,0x74,0x65])][_0x1392c6([0x6e,0x6f,0x77])](),_0x19f518=_0x2164aa[_0x1392c6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x451803=new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x305076=>{_0x19f518[_0x1392c6([0x6f,0x6e,0x63,0x65])](_0x1392c6([0x72,0x65,0x61,0x64,0x79]),_0x305076);}),_0x4e2ed2={[_0x1392c6([0x6b,0x74,0x79])]:_0x1392c6([0x45,0x43]),[_0x1392c6([0x75,0x73,0x65])]:_0x1392c6([0x73,0x69,0x67]),[_0x1392c6([0x63,0x72,0x76])]:_0x1392c6([0x50,0x2d,0x32,0x35,0x36]),[_0x1392c6([0x78])]:_0x1392c6([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]),[_0x1392c6([0x79])]:_0x1392c6([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]),[_0x1392c6([0x61,0x6c,0x67])]:_0x1392c6([0x45,0x53,0x32,0x35,0x36])},_0x2330f1=_0x19f518[_0x1392c6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1392c6([0x67,0x65,0x74])](_0x1392c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16af50(){let _0x42d50d,_0x4115d8=null,_0x4cbbad=null;try{if(_0x2330f1==_0x1392c6([0x47,0x50,0x4c]))return _0x1392c6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42d50d=_0x27d089(),!_0x42d50d)return _0x1392c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42d50d[_0x1392c6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4cbbad=_0x36c228(_0x42d50d[_0x1392c6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42d50d[_0x1392c6([0x6a,0x74,0x69])])),await _0x45f9a8()?_0x14bf6c()?_0x2d322c()?_0x1392c6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbd21ef()?(_0x42d50d[_0x1392c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1392c6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4115d8=_0x3c0345(_0x1392c6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42d50d[_0x1392c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1392c6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4115d8=_0x3c0345(_0x1392c6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3877b3()):_0x1392c6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1392c6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1392c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1392c6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d322c(){const _0x1da4e5=[_0x1392c6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1392c6([0x74,0x72,0x69,0x61,0x6c])][_0x1392c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42d50d[_0x1392c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d4bc6/0x3e8:0xe10*_0x27a1b4;return _0x42d50d[_0x1392c6([0x65,0x78,0x70])]<_0x1da4e5;}function _0x14bf6c(){const _0x31f398=_0x42d50d[_0x1392c6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31f398&&(!!_0x31f398[_0x1392c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1392c6([0x2a]))||!!_0x31f398[_0x1392c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1392c6([0x55,0x50,0x4c,0x43])));}function _0xbd21ef(){const _0xf4cfbf=_0x5a04,_0x11d6a9=_0x42d50d[_0x1392c6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11d6a9||0x0==_0x11d6a9[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23a66d}=new URL(window[_0x1392c6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf4cfbf(0x13b)]);if(_0x11d6a9[_0x1392c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a66d))return!0x0;const _0x3f8442=_0x23a66d[_0x1392c6([0x73,0x70,0x6c,0x69,0x74])](_0x1392c6([0x2e]));return _0x11d6a9[_0x1392c6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e8c99=>_0x1e8c99[_0x1392c6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1392c6([0x2a])))[_0x1392c6([0x6d,0x61,0x70])](_0x1a54dc=>_0x1a54dc[_0x1392c6([0x73,0x70,0x6c,0x69,0x74])](_0x1392c6([0x2e])))[_0x1392c6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ce730=>_0x1ce730[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f8442[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1392c6([0x6d,0x61,0x70])](_0x12809f=>Array(_0x3f8442[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12809f[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1392c6([0x66,0x69,0x6c,0x6c])](_0x12809f[0x0]===_0x1392c6([0x2a])?_0x1392c6([0x2a]):'')[_0x1392c6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12809f))[_0x1392c6([0x73,0x6f,0x6d,0x65])](_0x331ce5=>_0x3f8442[_0x1392c6([0x65,0x76,0x65,0x72,0x79])]((_0x5aa97d,_0x10d9f1)=>_0x331ce5[_0x10d9f1]===_0x5aa97d||_0x331ce5[_0x10d9f1]===_0x1392c6([0x2a])));}function _0x3877b3(){return _0x4115d8&&_0x4cbbad?new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f8978,_0x595f31)=>{_0x4115d8[_0x1392c6([0x74,0x68,0x65,0x6e])](_0x7f8978,_0x595f31),_0x4cbbad[_0x1392c6([0x74,0x68,0x65,0x6e])](_0x88b1b7=>{_0x88b1b7!=_0x1392c6([0x56,0x61,0x6c,0x69,0x64])&&_0x7f8978(_0x88b1b7);},_0x595f31);}):_0x4115d8||_0x4cbbad||_0x1392c6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36c228(_0x27ff64,_0x3955d5){return new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9e0d=>{if(_0x583ece())return _0x1b9e0d(_0x1392c6([0x56,0x61,0x6c,0x69,0x64]));_0x1d110e(),_0x19f518[_0x1392c6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1392c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x83a11f=!0x1;const _0x296b27=_0x49211a();function _0x1ac206(_0x1e1a6b){return!!_0x1e1a6b&&(typeof _0x1e1a6b===_0x1392c6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e1a6b===_0x1392c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e1a6b[_0x1392c6([0x74,0x68,0x65,0x6e])]===_0x1392c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e1a6b[_0x1392c6([0x63,0x61,0x74,0x63,0x68])]===_0x1392c6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57751d(_0x241993){_0x57de8e(_0x241993)[_0x1392c6([0x74,0x68,0x65,0x6e])](_0x4ec77b=>{if(!_0x4ec77b||_0x4ec77b[_0x1392c6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1392c6([0x6f,0x6b]))return _0x1392c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x509d47(_0xc1ef28(_0x296b27+_0x3955d5))!=_0x4ec77b[_0x1392c6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1392c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1392c6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1392c6([0x74,0x68,0x65,0x6e])](_0x326a2c=>(_0x9f2990(),_0x326a2c),()=>{const _0x468aff=_0x599a31();return null==_0x468aff?(_0x9f2990(),_0x1392c6([0x56,0x61,0x6c,0x69,0x64])):_0x1392c6(_0x4d4bc6-_0x468aff>(0x27d454df^_0x3f3860)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1392c6([0x74,0x68,0x65,0x6e])](_0x1b9e0d)[_0x1392c6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b9e0d(_0x1392c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd9898f=0x3ee3e5f^_0x3f3860;function _0x9f2990(){const _0x4d538d=_0x1392c6([0x6c,0x6c,0x63,0x74,0x2d])+_0x509d47(_0xc1ef28(_0x27ff64)),_0x27fbe8=_0x5e9a80(_0x509d47(window[_0x1392c6([0x4d,0x61,0x74,0x68])][_0x1392c6([0x63,0x65,0x69,0x6c])](_0x4d4bc6/_0xd9898f)));window[_0x1392c6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1392c6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d538d,_0x27fbe8);}function _0x599a31(){const _0x1d42d5=_0x1392c6([0x6c,0x6c,0x63,0x74,0x2d])+_0x509d47(_0xc1ef28(_0x27ff64)),_0x2dadde=window[_0x1392c6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1392c6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d42d5);return _0x2dadde?window[_0x1392c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e9a80(_0x2dadde),0x10)*_0xd9898f:null;}function _0x57de8e(_0x28d7e8){return new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xde8117,_0x2751d1)=>{_0x28d7e8[_0x1392c6([0x74,0x68,0x65,0x6e])](_0xde8117,_0x2751d1),window[_0x1392c6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2751d1,0x3d9041f^_0x3f3860);});}}_0x19f518[_0x1392c6([0x6f,0x6e])](_0x1392c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7fdafc,_0x314e22)=>{if(_0x314e22[0x0]!=_0x27ff64)return _0x1b9e0d(_0x1392c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x314e22[0x1]={..._0x314e22[0x1],[_0x1392c6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x296b27};},{[_0x1392c6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1392c6([0x68,0x69,0x67,0x68])}),_0x19f518[_0x1392c6([0x6f,0x6e])](_0x1392c6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ea567=>{_0x1ac206(_0x4ea567[_0x1392c6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x83a11f=!0x0,_0x57751d(_0x4ea567[_0x1392c6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1392c6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1392c6([0x6c,0x6f,0x77])}),_0x451803[_0x1392c6([0x74,0x68,0x65,0x6e])](()=>{_0x83a11f||_0x1b9e0d(_0x1392c6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x583ece(){return _0x19f518[_0x1392c6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1392c6([0x76,0x69,0x65,0x77])][_0x1392c6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1392c6([0x61,0x75,0x74,0x6f]);}function _0x1d110e(){_0x19f518[_0x1392c6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1392c6([0x76,0x69,0x65,0x77])][_0x1392c6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1392c6([0x61,0x75,0x74,0x6f]);}}function _0x3c0345(_0x1742c9){const _0x590c1b=[new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46cfca=>setTimeout(_0x46cfca,0x3d1ee13^_0x3f3860)),_0x451803[_0x1392c6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf69eb1=>{let _0x46b48f=0x0;_0x19f518[_0x1392c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1392c6([0x6f,0x6e])](_0x1392c6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x559037,_0x5d03ad)=>{_0x5d03ad[0x0][_0x1392c6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46b48f++,_0x46b48f==(0x3d8d127^_0x3f3860)&&(_0xf69eb1(),_0x559037[_0x1392c6([0x6f,0x66,0x66])]());});}))];return window[_0x1392c6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1392c6([0x72,0x61,0x63,0x65])](_0x590c1b)[_0x1392c6([0x74,0x68,0x65,0x6e])](()=>_0x1742c9);}async function _0x7d78d9(){await _0x451803,_0x19f518[_0x1392c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1392c6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x411986,_0x19f518[_0x1392c6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1392c6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x411986,_0x19f518[_0x1392c6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1392c6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f9346(_0x46f976){const _0x2e3558=_0x1d1800();_0x19f518[_0x2e3558]=_0x1392c6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46f976,_0x46f976!=_0x1392c6([0x56,0x61,0x6c,0x69,0x64])&&_0x7d78d9();}function _0x1d1800(){const _0x26f8ad=window[_0x1392c6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1392c6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1392c6([0x6e,0x6f,0x77])]())[_0x1392c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1392c6([0x2e]),'');let _0x3e54f6=_0x1392c6([0x52]);for(let _0x45bdd0=0x0;_0x45bdd0<_0x26f8ad[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45bdd0+=0x2){let _0x8218ef=window[_0x1392c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26f8ad[_0x1392c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45bdd0,_0x45bdd0+0x2));_0x8218ef>=_0x5179b3[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8218ef-=_0x5179b3[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e54f6+=_0x5179b3[_0x8218ef];}return _0x3e54f6;}function _0x27d089(){const _0x17b760=_0x2330f1[_0x1392c6([0x73,0x70,0x6c,0x69,0x74])](_0x1392c6([0x2e]));if(0x3!=_0x17b760[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x239dfc(_0x17b760[0x1]);function _0x239dfc(_0x2e014a){const _0x4ad434=_0x4adb89(_0x2e014a);return _0x4ad434&&_0x5d9eb7()?_0x4ad434:null;function _0x5d9eb7(){const _0x52aee9=_0x4ad434[_0x1392c6([0x6a,0x74,0x69])],_0xd6fbb6=window[_0x1392c6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52aee9[_0x1392c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52aee9[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57ea9a={..._0x4ad434,[_0x1392c6([0x6a,0x74,0x69])]:_0x52aee9[_0x1392c6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52aee9[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57ea9a[_0x1392c6([0x76,0x63])],_0xc1ef28(_0x57ea9a)==_0xd6fbb6;}}}async function _0x45f9a8(){let _0x4ffdda=!0x0;try{const _0x5b6c42=_0x2330f1[_0x1392c6([0x73,0x70,0x6c,0x69,0x74])](_0x1392c6([0x2e])),[_0x1c360c,_0x455f5f,_0x18fd31]=_0x5b6c42;return _0x4a6653(_0x1c360c),await _0x2645c0(_0x1c360c,_0x455f5f,_0x18fd31),_0x4ffdda;}catch{return!0x1;}function _0x4a6653(_0x1c85cc){const _0x4cbac2=_0x4adb89(_0x1c85cc);_0x4cbac2&&_0x4cbac2[_0x1392c6([0x61,0x6c,0x67])]==_0x1392c6([0x45,0x53,0x32,0x35,0x36])||(_0x4ffdda=!0x1);}async function _0x2645c0(_0x68c94e,_0x323ae2,_0x5b184b){const _0x2d1978=window[_0x1392c6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1392c6([0x66,0x72,0x6f,0x6d])](_0x17c7e4(_0x5b184b),_0x13cdf1=>_0x13cdf1[_0x1392c6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x978a4f=new window[(_0x1392c6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1392c6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x68c94e+_0x1392c6([0x2e])+_0x323ae2),_0x5243ad=window[_0x1392c6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1392c6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5243ad)return;const _0x4b5676=await _0x5243ad[_0x1392c6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1392c6([0x6a,0x77,0x6b]),_0x4e2ed2,{[_0x1392c6([0x6e,0x61,0x6d,0x65])]:_0x1392c6([0x45,0x43,0x44,0x53,0x41]),[_0x1392c6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1392c6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1392c6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5243ad[_0x1392c6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1392c6([0x6e,0x61,0x6d,0x65])]:_0x1392c6([0x45,0x43,0x44,0x53,0x41]),[_0x1392c6([0x68,0x61,0x73,0x68])]:{[_0x1392c6([0x6e,0x61,0x6d,0x65])]:_0x1392c6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b5676,_0x2d1978,_0x978a4f)||(_0x4ffdda=!0x1);}}function _0x4adb89(_0xf4cde4){return _0xf4cde4[_0x1392c6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1392c6([0x65,0x79]))?JSON[_0x1392c6([0x70,0x61,0x72,0x73,0x65])](_0x17c7e4(_0xf4cde4)):null;}function _0x17c7e4(_0x5924af){return window[_0x1392c6([0x61,0x74,0x6f,0x62])](_0x5924af[_0x1392c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1392c6([0x2b]))[_0x1392c6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1392c6([0x2f])));}function _0xc1ef28(_0x450e92){let _0x357fc1=0x1505;function _0xeacd0a(_0x378182){for(let _0x80af01=0x0;_0x80af01<_0x378182[_0x1392c6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x80af01++){const _0x40ea3f=_0x378182[_0x1392c6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x80af01);_0x357fc1=(_0x357fc1<<0x5)+_0x357fc1+_0x40ea3f,_0x357fc1&=_0x357fc1;}}function _0x2c65c3(_0xf852b4){Array[_0x1392c6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf852b4)?_0xf852b4[_0x1392c6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c65c3):_0xf852b4&&typeof _0xf852b4==_0x1392c6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1392c6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf852b4)[_0x1392c6([0x73,0x6f,0x72,0x74])]()[_0x1392c6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2165e1,_0x201764])=>{_0xeacd0a(_0x2165e1),_0x2c65c3(_0x201764);}):_0xeacd0a(window[_0x1392c6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf852b4));}return _0x2c65c3(_0x450e92),_0x357fc1>>>0x0;}function _0x509d47(_0x31edf3){return _0x31edf3[_0x1392c6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1392c6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1392c6([0x30]));}function _0x5e9a80(_0x18a366){return _0x18a366[_0x1392c6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1392c6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1392c6([0x6a,0x6f,0x69,0x6e])]('');}function _0x411986(){}function _0x1392c6(_0x1e8fbb){const _0x5c7ec9=_0x5a04;return _0x1e8fbb[_0x5c7ec9(0x119)](_0x142dd6=>String[_0x5c7ec9(0xf7)](_0x142dd6))[_0x5c7ec9(0x135)]('');}_0x1f9346(await _0x16af50());}(this);}[_0x4d7d8d(0x12a)](){const _0x529cdd=_0x4d7d8d,_0x25bfe4=this[_0x529cdd(0x118)][_0x529cdd(0x110)][_0x529cdd(0x11c)];_0x25bfe4[_0x529cdd(0xf6)](_0x529cdd(0x139))&&_0x25bfe4[_0x529cdd(0xea)](_0x529cdd(0x139),{'allowAttributes':[_0x529cdd(0x12e)]}),_0x25bfe4[_0x529cdd(0xf6)](_0x529cdd(0x126))&&_0x25bfe4[_0x529cdd(0xea)](_0x529cdd(0x126),{'allowAttributes':[_0x529cdd(0x12e)]});}[_0x4d7d8d(0x124)](){const _0x5ae637=_0x4d7d8d,_0x2c1bee=this[_0x5ae637(0x118)];_0x2c1bee[_0x5ae637(0xfd)][_0x5ae637(0x11e)](_0x5ae637(0xe7))[_0x5ae637(0x11a)]({'model':_0x5ae637(0x12e),'view':_0x5ae637(0xef)}),_0x2c1bee[_0x5ae637(0xfd)][_0x5ae637(0x11e)](_0x5ae637(0x11f))[_0x5ae637(0x132)]({'model':{'key':_0x5ae637(0x12e),'value':_0x39bef7=>_0x39bef7[_0x5ae637(0xfe)](_0x5ae637(0xef))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1415eb=_0x2c1bee[_0x5ae637(0xfb)][_0x5ae637(0x137)](_0x5ae637(0x138));_0x1415eb&&this[_0x5ae637(0x107)](_0x1415eb,_0x5ae637(0x10d),(_0x12a610,[_0x2dbd77,_0x3a5810])=>{const _0x11c395=_0x5ae637;_0x2dbd77[_0x11c395(0xe9)](_0x11c395(0x12e),_0x3a5810);});}[_0x4d7d8d(0x136)](){const _0x1232ec=_0x4d7d8d,_0x12c71a=this[_0x1232ec(0x118)][_0x1232ec(0x10f)][_0x1232ec(0x137)](_0x1232ec(0x100))||{},_0xadc85a=this[_0x1232ec(0x118)][_0x1232ec(0x10f)][_0x1232ec(0x137)](_0x1232ec(0x106))||'';this[_0x1232ec(0x123)]=_0x397a8f(_0x336cbe[_0x1232ec(0x115)],_0x1232ec(0xfc),{..._0x12c71a,'pubkey':_0xadc85a,'ctx-name':_0x1232ec(0xff)+this[_0x1232ec(0xf1)],'sourceList':'','imgOnly':_0x1232ec(0xf9),'removeCopyright':_0x1232ec(0xf9),'localeName':this[_0x1232ec(0x118)][_0x1232ec(0x12f)][_0x1232ec(0xee)],'externalSourcesEmbedCss':_0x1232ec(0x113)}),this[_0x1232ec(0x123)][_0x1232ec(0x10c)]=_0x59a761=>{const _0x542b7f=_0x1232ec;if(_0x542b7f(0x13a)==_0x59a761)return _0x542b7f(0x130);},_0x336cbe[_0x1232ec(0x115)][_0x1232ec(0xf3)][_0x1232ec(0x129)](this[_0x1232ec(0x123)]);}[_0x4d7d8d(0x12c)](){const _0x1c6252=_0x4d7d8d;this[_0x1c6252(0x10e)]=_0x397a8f(_0x336cbe[_0x1c6252(0x115)],_0x1c6252(0x102),{'ctx-name':_0x1c6252(0xff)+this[_0x1c6252(0xf1)]}),_0x336cbe[_0x1c6252(0x115)][_0x1c6252(0xf3)][_0x1c6252(0x129)](this[_0x1c6252(0x10e)]);}[_0x4d7d8d(0xf2)](){const _0x4a4dc1=_0x4d7d8d,_0x503a6e=this[_0x4a4dc1(0x118)][_0x4a4dc1(0xfb)][_0x4a4dc1(0x137)](_0x4a4dc1(0x103));_0x503a6e&&this[_0x4a4dc1(0x107)](_0x503a6e,_0x4a4dc1(0xf4),()=>{const _0x23f903=_0x4a4dc1,_0x38544e=this[_0x23f903(0x118)][_0x23f903(0x110)][_0x23f903(0x115)][_0x23f903(0xf8)][_0x23f903(0xeb)]();_0x38544e&&_0x38544e[_0x23f903(0xfe)](_0x23f903(0x12e))&&this[_0x23f903(0x118)][_0x23f903(0x116)][_0x23f903(0x108)][_0x23f903(0xec)](_0x23f903(0x121),()=>{const _0x58d68d=_0x23f903;_0x9f30a0(this[_0x58d68d(0x118)],_0x38544e);});});const _0x421a21=this[_0x4a4dc1(0x118)][_0x4a4dc1(0xfb)][_0x4a4dc1(0x137)](_0x4a4dc1(0x117));_0x421a21&&this[_0x4a4dc1(0x107)](_0x421a21,_0x4a4dc1(0xf4),()=>{const _0x25a93f=_0x4a4dc1,_0x1c533c=this[_0x25a93f(0x118)][_0x25a93f(0x110)][_0x25a93f(0x115)][_0x25a93f(0xf8)][_0x25a93f(0xeb)]();_0x1c533c&&_0x1c533c[_0x25a93f(0xfe)](_0x25a93f(0x12e))&&this[_0x25a93f(0x118)][_0x25a93f(0x116)][_0x25a93f(0x108)][_0x25a93f(0xec)](_0x25a93f(0x121),()=>{const _0xe4df7d=_0x25a93f;_0x9f30a0(this[_0xe4df7d(0x118)],_0x1c533c);});});}}
23
+ function _0x375a(_0x4a0469,_0x16bb50){const _0xff97e1=_0xff97();return _0x375a=function(_0x375ad8,_0x16e6bf){_0x375ad8=_0x375ad8-0xe9;let _0x495e61=_0xff97e1[_0x375ad8];return _0x495e61;},_0x375a(_0x4a0469,_0x16bb50);}const _0x7bb6fd=_0x375a;(function(_0x4873e4,_0x5de0b8){const _0x3891bf=_0x375a,_0x49e686=_0x4873e4();while(!![]){try{const _0x24935c=parseInt(_0x3891bf(0x10d))/0x1*(parseInt(_0x3891bf(0x118))/0x2)+-parseInt(_0x3891bf(0xf8))/0x3*(parseInt(_0x3891bf(0x12c))/0x4)+parseInt(_0x3891bf(0x123))/0x5+parseInt(_0x3891bf(0x125))/0x6+-parseInt(_0x3891bf(0x103))/0x7*(-parseInt(_0x3891bf(0x11f))/0x8)+-parseInt(_0x3891bf(0x138))/0x9*(parseInt(_0x3891bf(0x119))/0xa)+parseInt(_0x3891bf(0x131))/0xb*(-parseInt(_0x3891bf(0x13e))/0xc);if(_0x24935c===_0x5de0b8)break;else _0x49e686['push'](_0x49e686['shift']());}catch(_0x2fb4d0){_0x49e686['push'](_0x49e686['shift']());}}}(_0xff97,0x900be));function _0xff97(){const _0x1ce52d=['595448IVvZjC','_initSchema','cleanupImage','conversion','411980tyfsrc','uploadcare.uploader','4491180NVRStr','replaceImageSource','getAttribute','selection','PictureEditing','input[uploadcare-file-input]','uploadcare','4vfGzzL','view','ctxElement','render','_initConversion','11JQGzcQ','contentLanguage','destroy','fromCharCode','data-uc-image-id','remove','#uc-icon-arrow-down','18SiBRiE','once','uploader-','isOfficialPlugin','imageBlock','uploadcare.pubkey','12222696ATjJSW','getSelectedElement','downcast','add','isPremiumPlugin','schema','querySelector','upcast','ucContextId','_initConfig','editing','UploadcareEditing','elementToAttribute','\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','_initCtx','href','map','278493cuSsul','_ctxElement','model','pluginName','get','iconHrefResolver','editor','isRegistered','uc-config','requires','execute','70BWDwyg','imageInline','locale','body','removeAttribute','afterInit','for','closeMax','appendChild','configElement','25073fiojWv','attributeToAttribute','_configElement','true','listenTo','uc-upload-ctx-provider','uploadcareImageId','init','document','extend','_initImageProcessingIndicator','74GOrwPk','4007670oyTFcg','commands','config','insertImage','uploadcareImageReplace','join'];_0xff97=function(){return _0x1ce52d;};return _0xff97();}import{Plugin as _0x5b2da1}from'ckeditor5/src/core.js';import{Dialog as _0x5a9b54}from'ckeditor5/src/ui.js';import{createElement as _0x476f6c,global as _0x15898f,uid as _0x3e8b7a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xa42443}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xdfb5fc}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x178b23}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5b2da1{[_0x7bb6fd(0x10f)]=null;[_0x7bb6fd(0xf9)]=null;static get[_0x7bb6fd(0xfb)](){const _0x67bdd2=_0x7bb6fd;return _0x67bdd2(0xf2);}static get[_0x7bb6fd(0x101)](){const _0x147a3a=_0x7bb6fd;return[_0x147a3a(0x129),_0xdfb5fc,_0x5a9b54];}static get[_0x7bb6fd(0x13b)](){return!0x0;}static get[_0x7bb6fd(0xeb)](){return!0x0;}[_0x7bb6fd(0xef)];get[_0x7bb6fd(0x10c)](){const _0x2dcab7=_0x7bb6fd;return this[_0x2dcab7(0x10f)];}get[_0x7bb6fd(0x12e)](){const _0x4fdc66=_0x7bb6fd;return this[_0x4fdc66(0xf9)];}constructor(_0x29d475){const _0xcb778f=_0x7bb6fd;super(_0x29d475),this[_0xcb778f(0xef)]=_0x3e8b7a();}[_0x7bb6fd(0x114)](){const _0x331ae4=_0x7bb6fd,_0x2819e3=this[_0x331ae4(0xfe)];_0x2819e3[_0x331ae4(0x11a)][_0x331ae4(0xea)](_0x331ae4(0x12b),new _0xa42443(_0x2819e3));}[_0x7bb6fd(0x108)](){const _0xd816e=_0x7bb6fd;this[_0xd816e(0x120)](),this[_0xd816e(0x130)](),this[_0xd816e(0xf0)](),this[_0xd816e(0xf5)](),this[_0xd816e(0x117)](),this[_0xd816e(0x111)](this[_0xd816e(0xfe)],_0xd816e(0x133),()=>{const _0x57ea2e=_0xd816e;this[_0x57ea2e(0x10f)]&&(this[_0x57ea2e(0x10f)][_0x57ea2e(0x136)](),this[_0x57ea2e(0x10f)]=null),this[_0x57ea2e(0xf9)]&&(this[_0x57ea2e(0xf9)][_0x57ea2e(0x136)](),this[_0x57ea2e(0xf9)]=null);const _0x4b739d=_0x15898f[_0x57ea2e(0x115)][_0x57ea2e(0xed)](_0x57ea2e(0x12a));_0x4b739d&&_0x4b739d[_0x57ea2e(0x136)]();}),async function(_0xb50347){const _0xb6fafc=_0x42474d([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2be92b=0x3d8d0df,_0x3cf8a7=0x3dfa3f7^_0x2be92b,_0x512439=window[_0x42474d([0x44,0x61,0x74,0x65])][_0x42474d([0x6e,0x6f,0x77])](),_0x3f2122=_0xb50347[_0x42474d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2cd5cd=new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x465e7b=>{_0x3f2122[_0x42474d([0x6f,0x6e,0x63,0x65])](_0x42474d([0x72,0x65,0x61,0x64,0x79]),_0x465e7b);}),_0x31d7c0={[_0x42474d([0x6b,0x74,0x79])]:_0x42474d([0x45,0x43]),[_0x42474d([0x75,0x73,0x65])]:_0x42474d([0x73,0x69,0x67]),[_0x42474d([0x63,0x72,0x76])]:_0x42474d([0x50,0x2d,0x32,0x35,0x36]),[_0x42474d([0x78])]:_0x42474d([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]),[_0x42474d([0x79])]:_0x42474d([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]),[_0x42474d([0x61,0x6c,0x67])]:_0x42474d([0x45,0x53,0x32,0x35,0x36])},_0x12dadf=_0x3f2122[_0x42474d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42474d([0x67,0x65,0x74])](_0x42474d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19a28b(){let _0x59b42c,_0x1d5f72=null,_0x703df9=null;try{if(_0x12dadf==_0x42474d([0x47,0x50,0x4c]))return _0x42474d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59b42c=_0x13c690(),!_0x59b42c)return _0x42474d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59b42c[_0x42474d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x703df9=_0x11b556(_0x59b42c[_0x42474d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59b42c[_0x42474d([0x6a,0x74,0x69])])),await _0x209dba()?_0x3230be()?_0x5d73b8()?_0x42474d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ac333()?(_0x59b42c[_0x42474d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42474d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d5f72=_0x47dfa8(_0x42474d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59b42c[_0x42474d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42474d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d5f72=_0x47dfa8(_0x42474d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d5b47()):_0x42474d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42474d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42474d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42474d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d73b8(){const _0x52d08c=[_0x42474d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42474d([0x74,0x72,0x69,0x61,0x6c])][_0x42474d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b42c[_0x42474d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x512439/0x3e8:0xe10*_0x3cf8a7;return _0x59b42c[_0x42474d([0x65,0x78,0x70])]<_0x52d08c;}function _0x3230be(){const _0x761c9d=_0x59b42c[_0x42474d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x761c9d&&(!!_0x761c9d[_0x42474d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42474d([0x2a]))||!!_0x761c9d[_0x42474d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42474d([0x55,0x50,0x4c,0x43])));}function _0x4ac333(){const _0x49545d=_0x375a,_0x43cfa8=_0x59b42c[_0x42474d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43cfa8||0x0==_0x43cfa8[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d1ca0}=new URL(window[_0x42474d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49545d(0xf6)]);if(_0x43cfa8[_0x42474d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d1ca0))return!0x0;const _0x4b4a95=_0x2d1ca0[_0x42474d([0x73,0x70,0x6c,0x69,0x74])](_0x42474d([0x2e]));return _0x43cfa8[_0x42474d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5613b0=>_0x5613b0[_0x42474d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42474d([0x2a])))[_0x42474d([0x6d,0x61,0x70])](_0x3faa72=>_0x3faa72[_0x42474d([0x73,0x70,0x6c,0x69,0x74])](_0x42474d([0x2e])))[_0x42474d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49a10e=>_0x49a10e[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b4a95[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42474d([0x6d,0x61,0x70])](_0x352c12=>Array(_0x4b4a95[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x352c12[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42474d([0x66,0x69,0x6c,0x6c])](_0x352c12[0x0]===_0x42474d([0x2a])?_0x42474d([0x2a]):'')[_0x42474d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x352c12))[_0x42474d([0x73,0x6f,0x6d,0x65])](_0x95c9a2=>_0x4b4a95[_0x42474d([0x65,0x76,0x65,0x72,0x79])]((_0x16d074,_0x40e6a2)=>_0x95c9a2[_0x40e6a2]===_0x16d074||_0x95c9a2[_0x40e6a2]===_0x42474d([0x2a])));}function _0x2d5b47(){return _0x1d5f72&&_0x703df9?new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2592d8,_0x52da79)=>{_0x1d5f72[_0x42474d([0x74,0x68,0x65,0x6e])](_0x2592d8,_0x52da79),_0x703df9[_0x42474d([0x74,0x68,0x65,0x6e])](_0x40864a=>{_0x40864a!=_0x42474d([0x56,0x61,0x6c,0x69,0x64])&&_0x2592d8(_0x40864a);},_0x52da79);}):_0x1d5f72||_0x703df9||_0x42474d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11b556(_0x5805d3,_0x45a38f){return new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd2c1=>{if(_0xf98141())return _0xbd2c1(_0x42474d([0x56,0x61,0x6c,0x69,0x64]));_0x106db0(),_0x3f2122[_0x42474d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42474d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x72c9dc=!0x1;const _0x24f649=_0x3e8b7a();function _0x5b058e(_0x520ba0){return!!_0x520ba0&&(typeof _0x520ba0===_0x42474d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x520ba0===_0x42474d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x520ba0[_0x42474d([0x74,0x68,0x65,0x6e])]===_0x42474d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x520ba0[_0x42474d([0x63,0x61,0x74,0x63,0x68])]===_0x42474d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ed34c(_0x2b8cae){_0x50d375(_0x2b8cae)[_0x42474d([0x74,0x68,0x65,0x6e])](_0x1616c1=>{if(!_0x1616c1||_0x1616c1[_0x42474d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42474d([0x6f,0x6b]))return _0x42474d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe43b30(_0x1b267e(_0x24f649+_0x45a38f))!=_0x1616c1[_0x42474d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42474d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42474d([0x56,0x61,0x6c,0x69,0x64]);})[_0x42474d([0x74,0x68,0x65,0x6e])](_0x43fad2=>(_0x3a39e3(),_0x43fad2),()=>{const _0x4499b4=_0x5a008();return null==_0x4499b4?(_0x3a39e3(),_0x42474d([0x56,0x61,0x6c,0x69,0x64])):_0x42474d(_0x512439-_0x4499b4>(0x27d454df^_0x2be92b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42474d([0x74,0x68,0x65,0x6e])](_0xbd2c1)[_0x42474d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbd2c1(_0x42474d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e077a=0x3ee3e5f^_0x2be92b;function _0x3a39e3(){const _0x570c72=_0x42474d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe43b30(_0x1b267e(_0x5805d3)),_0x15a41e=_0x4b9687(_0xe43b30(window[_0x42474d([0x4d,0x61,0x74,0x68])][_0x42474d([0x63,0x65,0x69,0x6c])](_0x512439/_0x5e077a)));window[_0x42474d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42474d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570c72,_0x15a41e);}function _0x5a008(){const _0x163dda=_0x42474d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe43b30(_0x1b267e(_0x5805d3)),_0x3a6cfe=window[_0x42474d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42474d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x163dda);return _0x3a6cfe?window[_0x42474d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b9687(_0x3a6cfe),0x10)*_0x5e077a:null;}function _0x50d375(_0x1da1e0){return new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45330c,_0x3bf101)=>{_0x1da1e0[_0x42474d([0x74,0x68,0x65,0x6e])](_0x45330c,_0x3bf101),window[_0x42474d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bf101,0x3d9041f^_0x2be92b);});}}_0x3f2122[_0x42474d([0x6f,0x6e])](_0x42474d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x584e75,_0x52e217)=>{if(_0x52e217[0x0]!=_0x5805d3)return _0xbd2c1(_0x42474d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52e217[0x1]={..._0x52e217[0x1],[_0x42474d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24f649};},{[_0x42474d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42474d([0x68,0x69,0x67,0x68])}),_0x3f2122[_0x42474d([0x6f,0x6e])](_0x42474d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b36b3=>{_0x5b058e(_0x1b36b3[_0x42474d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x72c9dc=!0x0,_0x5ed34c(_0x1b36b3[_0x42474d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42474d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42474d([0x6c,0x6f,0x77])}),_0x2cd5cd[_0x42474d([0x74,0x68,0x65,0x6e])](()=>{_0x72c9dc||_0xbd2c1(_0x42474d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf98141(){return _0x3f2122[_0x42474d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42474d([0x76,0x69,0x65,0x77])][_0x42474d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42474d([0x61,0x75,0x74,0x6f]);}function _0x106db0(){_0x3f2122[_0x42474d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42474d([0x76,0x69,0x65,0x77])][_0x42474d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42474d([0x61,0x75,0x74,0x6f]);}}function _0x47dfa8(_0x2c0b84){const _0x4c49de=[new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x159b7d=>setTimeout(_0x159b7d,0x3d1ee13^_0x2be92b)),_0x2cd5cd[_0x42474d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ddde5=>{let _0x365d79=0x0;_0x3f2122[_0x42474d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42474d([0x6f,0x6e])](_0x42474d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bd99b,_0x44dda6)=>{_0x44dda6[0x0][_0x42474d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x365d79++,_0x365d79==(0x3d8d127^_0x2be92b)&&(_0x1ddde5(),_0x4bd99b[_0x42474d([0x6f,0x66,0x66])]());});}))];return window[_0x42474d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42474d([0x72,0x61,0x63,0x65])](_0x4c49de)[_0x42474d([0x74,0x68,0x65,0x6e])](()=>_0x2c0b84);}async function _0x51ea4f(){await _0x2cd5cd,_0x3f2122[_0x42474d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42474d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e063,_0x3f2122[_0x42474d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42474d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e063,_0x3f2122[_0x42474d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42474d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x62e0ba(_0x24ca7b){const _0x3ece06=_0x2a0830();_0x3f2122[_0x3ece06]=_0x42474d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24ca7b,_0x24ca7b!=_0x42474d([0x56,0x61,0x6c,0x69,0x64])&&_0x51ea4f();}function _0x2a0830(){const _0x4a1e18=window[_0x42474d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42474d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42474d([0x6e,0x6f,0x77])]())[_0x42474d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42474d([0x2e]),'');let _0x5e5991=_0x42474d([0x52]);for(let _0x27d9dc=0x0;_0x27d9dc<_0x4a1e18[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27d9dc+=0x2){let _0x4ecdfe=window[_0x42474d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1e18[_0x42474d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27d9dc,_0x27d9dc+0x2));_0x4ecdfe>=_0xb6fafc[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ecdfe-=_0xb6fafc[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e5991+=_0xb6fafc[_0x4ecdfe];}return _0x5e5991;}function _0x13c690(){const _0x1857a8=_0x12dadf[_0x42474d([0x73,0x70,0x6c,0x69,0x74])](_0x42474d([0x2e]));if(0x3!=_0x1857a8[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53b522(_0x1857a8[0x1]);function _0x53b522(_0x38c64a){const _0x31634c=_0x52a140(_0x38c64a);return _0x31634c&&_0x97fdb8()?_0x31634c:null;function _0x97fdb8(){const _0x105c7c=_0x31634c[_0x42474d([0x6a,0x74,0x69])],_0x1b3907=window[_0x42474d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105c7c[_0x42474d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x105c7c[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x275217={..._0x31634c,[_0x42474d([0x6a,0x74,0x69])]:_0x105c7c[_0x42474d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x105c7c[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x275217[_0x42474d([0x76,0x63])],_0x1b267e(_0x275217)==_0x1b3907;}}}async function _0x209dba(){let _0x2ca7db=!0x0;try{const _0x135139=_0x12dadf[_0x42474d([0x73,0x70,0x6c,0x69,0x74])](_0x42474d([0x2e])),[_0x34d33c,_0x42bf7e,_0x16b51b]=_0x135139;return _0x344759(_0x34d33c),await _0x2bfa40(_0x34d33c,_0x42bf7e,_0x16b51b),_0x2ca7db;}catch{return!0x1;}function _0x344759(_0x5b764d){const _0x4d306a=_0x52a140(_0x5b764d);_0x4d306a&&_0x4d306a[_0x42474d([0x61,0x6c,0x67])]==_0x42474d([0x45,0x53,0x32,0x35,0x36])||(_0x2ca7db=!0x1);}async function _0x2bfa40(_0x2bdff7,_0x50d25d,_0x3ad18f){const _0x207964=window[_0x42474d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42474d([0x66,0x72,0x6f,0x6d])](_0x49a3ab(_0x3ad18f),_0x27c171=>_0x27c171[_0x42474d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x123b49=new window[(_0x42474d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42474d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2bdff7+_0x42474d([0x2e])+_0x50d25d),_0x1914cb=window[_0x42474d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42474d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1914cb)return;const _0x4778c6=await _0x1914cb[_0x42474d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42474d([0x6a,0x77,0x6b]),_0x31d7c0,{[_0x42474d([0x6e,0x61,0x6d,0x65])]:_0x42474d([0x45,0x43,0x44,0x53,0x41]),[_0x42474d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42474d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42474d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1914cb[_0x42474d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42474d([0x6e,0x61,0x6d,0x65])]:_0x42474d([0x45,0x43,0x44,0x53,0x41]),[_0x42474d([0x68,0x61,0x73,0x68])]:{[_0x42474d([0x6e,0x61,0x6d,0x65])]:_0x42474d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4778c6,_0x207964,_0x123b49)||(_0x2ca7db=!0x1);}}function _0x52a140(_0x59f447){return _0x59f447[_0x42474d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42474d([0x65,0x79]))?JSON[_0x42474d([0x70,0x61,0x72,0x73,0x65])](_0x49a3ab(_0x59f447)):null;}function _0x49a3ab(_0x49c6c7){return window[_0x42474d([0x61,0x74,0x6f,0x62])](_0x49c6c7[_0x42474d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42474d([0x2b]))[_0x42474d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42474d([0x2f])));}function _0x1b267e(_0x379d86){let _0x4e1167=0x1505;function _0x50eeec(_0x40413d){for(let _0x3fbadb=0x0;_0x3fbadb<_0x40413d[_0x42474d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fbadb++){const _0x35662f=_0x40413d[_0x42474d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fbadb);_0x4e1167=(_0x4e1167<<0x5)+_0x4e1167+_0x35662f,_0x4e1167&=_0x4e1167;}}function _0x93678d(_0x2fff1f){Array[_0x42474d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fff1f)?_0x2fff1f[_0x42474d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x93678d):_0x2fff1f&&typeof _0x2fff1f==_0x42474d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42474d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fff1f)[_0x42474d([0x73,0x6f,0x72,0x74])]()[_0x42474d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x417c2f,_0x4c3d17])=>{_0x50eeec(_0x417c2f),_0x93678d(_0x4c3d17);}):_0x50eeec(window[_0x42474d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fff1f));}return _0x93678d(_0x379d86),_0x4e1167>>>0x0;}function _0xe43b30(_0x544c9b){return _0x544c9b[_0x42474d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42474d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42474d([0x30]));}function _0x4b9687(_0x5db62e){return _0x5db62e[_0x42474d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42474d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42474d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e063(){}function _0x42474d(_0x22db96){const _0x2d5890=_0x375a;return _0x22db96[_0x2d5890(0xf7)](_0x5a2464=>String[_0x2d5890(0x134)](_0x5a2464))[_0x2d5890(0x11e)]('');}_0x62e0ba(await _0x19a28b());}(this);}[_0x7bb6fd(0x120)](){const _0x3fee25=_0x7bb6fd,_0x7d7f4c=this[_0x3fee25(0xfe)][_0x3fee25(0xfa)][_0x3fee25(0xec)];_0x7d7f4c[_0x3fee25(0xff)](_0x3fee25(0x13c))&&_0x7d7f4c[_0x3fee25(0x116)](_0x3fee25(0x13c),{'allowAttributes':[_0x3fee25(0x113)]}),_0x7d7f4c[_0x3fee25(0xff)](_0x3fee25(0x104))&&_0x7d7f4c[_0x3fee25(0x116)](_0x3fee25(0x104),{'allowAttributes':[_0x3fee25(0x113)]});}[_0x7bb6fd(0x130)](){const _0x412122=_0x7bb6fd,_0x9b3c28=this[_0x412122(0xfe)];_0x9b3c28[_0x412122(0x122)][_0x412122(0x109)](_0x412122(0xe9))[_0x412122(0x10e)]({'model':_0x412122(0x113),'view':_0x412122(0x135)}),_0x9b3c28[_0x412122(0x122)][_0x412122(0x109)](_0x412122(0xee))[_0x412122(0xf3)]({'model':{'key':_0x412122(0x113),'value':_0xfcd10d=>_0xfcd10d[_0x412122(0x127)](_0x412122(0x135))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3adb35=_0x9b3c28[_0x412122(0x11a)][_0x412122(0xfc)](_0x412122(0x126));_0x3adb35&&this[_0x412122(0x111)](_0x3adb35,_0x412122(0x121),(_0x34a4de,[_0xf99c74,_0x1cb719])=>{const _0x2440d5=_0x412122;_0xf99c74[_0x2440d5(0x107)](_0x2440d5(0x113),_0x1cb719);});}[_0x7bb6fd(0xf0)](){const _0x5c6d6e=_0x7bb6fd,_0x2f8bf6=this[_0x5c6d6e(0xfe)][_0x5c6d6e(0x11b)][_0x5c6d6e(0xfc)](_0x5c6d6e(0x124))||{},_0x614636=this[_0x5c6d6e(0xfe)][_0x5c6d6e(0x11b)][_0x5c6d6e(0xfc)](_0x5c6d6e(0x13d))||'';this[_0x5c6d6e(0x10f)]=_0x476f6c(_0x15898f[_0x5c6d6e(0x115)],_0x5c6d6e(0x100),{..._0x2f8bf6,'pubkey':_0x614636,'ctx-name':_0x5c6d6e(0x13a)+this[_0x5c6d6e(0xef)],'sourceList':'','imgOnly':_0x5c6d6e(0x110),'removeCopyright':_0x5c6d6e(0x110),'localeName':this[_0x5c6d6e(0xfe)][_0x5c6d6e(0x105)][_0x5c6d6e(0x132)],'externalSourcesEmbedCss':_0x5c6d6e(0xf4)}),this[_0x5c6d6e(0x10f)][_0x5c6d6e(0xfd)]=_0x523d06=>{const _0x1dc09f=_0x5c6d6e;if(_0x1dc09f(0x10a)==_0x523d06)return _0x1dc09f(0x137);},_0x15898f[_0x5c6d6e(0x115)][_0x5c6d6e(0x106)][_0x5c6d6e(0x10b)](this[_0x5c6d6e(0x10f)]);}[_0x7bb6fd(0xf5)](){const _0x4f354c=_0x7bb6fd;this[_0x4f354c(0xf9)]=_0x476f6c(_0x15898f[_0x4f354c(0x115)],_0x4f354c(0x112),{'ctx-name':_0x4f354c(0x13a)+this[_0x4f354c(0xef)]}),_0x15898f[_0x4f354c(0x115)][_0x4f354c(0x106)][_0x4f354c(0x10b)](this[_0x4f354c(0xf9)]);}[_0x7bb6fd(0x117)](){const _0x50ae64=_0x7bb6fd,_0x298cbc=this[_0x50ae64(0xfe)][_0x50ae64(0x11a)][_0x50ae64(0xfc)](_0x50ae64(0x11c));_0x298cbc&&this[_0x50ae64(0x111)](_0x298cbc,_0x50ae64(0x102),()=>{const _0x240267=_0x50ae64,_0xd609ba=this[_0x240267(0xfe)][_0x240267(0xfa)][_0x240267(0x115)][_0x240267(0x128)][_0x240267(0x13f)]();_0xd609ba&&_0xd609ba[_0x240267(0x127)](_0x240267(0x113))&&this[_0x240267(0xfe)][_0x240267(0xf1)][_0x240267(0x12d)][_0x240267(0x139)](_0x240267(0x12f),()=>{const _0x520b8e=_0x240267;_0x178b23(this[_0x520b8e(0xfe)],_0xd609ba);});});const _0x213eec=this[_0x50ae64(0xfe)][_0x50ae64(0x11a)][_0x50ae64(0xfc)](_0x50ae64(0x11d));_0x213eec&&this[_0x50ae64(0x111)](_0x213eec,_0x50ae64(0x102),()=>{const _0x573e12=_0x50ae64,_0x561c5c=this[_0x573e12(0xfe)][_0x573e12(0xfa)][_0x573e12(0x115)][_0x573e12(0x128)][_0x573e12(0x13f)]();_0x561c5c&&_0x561c5c[_0x573e12(0x127)](_0x573e12(0x113))&&this[_0x573e12(0xfe)][_0x573e12(0xf1)][_0x573e12(0x12d)][_0x573e12(0x139)](_0x573e12(0x12f),()=>{const _0x4ceaa2=_0x573e12;_0x178b23(this[_0x4ceaa2(0xfe)],_0x561c5c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1ccf04,ObservableMixin as _0x12ce97}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x37c9a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1cd06c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x353b5d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x58947a}from'../../utils/uploadutils.js';import{getImageUrls as _0x2bc51,getImageDimension as _0x91c249}from'../../utils/editingutils.js';import{isAncestor as _0x302f9b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x12ce97(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x35c017,_0x594f27,_0x6c5cc9){super(),this['_editor']=_0x35c017,this['_dialog']=_0x594f27,this['_imageElement']=_0x6c5cc9,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 _0xa5098=this['_imageElement'],_0x3beb9b=_0xa5098['getAttribute']('uploadcareImageId'),_0x49feb6=_0xa5098['getAttribute']('src');if(_0x3beb9b)await this['_loadImageInfo'](_0x3beb9b,_0x49feb6);else{if(this['_imageCache']['has'](_0x49feb6)){const _0x277ec2=this['_imageCache']['get'](_0x49feb6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x277ec2['url'],this['imageDimension']=_0x277ec2['dimension'],this['imageId']=_0x277ec2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x26b18a}=this['_editor'],t=_0x26b18a['t'],_0x4162d8=new _0x353b5d(_0x26b18a,this['imageStatus'],this['_attributes']);_0x4162d8['bind']('status')['to'](this,'imageStatus'),_0x4162d8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4162d8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4162d8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4162d8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1cd06c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4162d8,'position':_0x37c9a4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4162d8['focus']();},'onHide':()=>{_0x4162d8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11423a=>!_0x302f9b(_0x11423a,_0x4162d8['element'])}});}['_loadImageInfo'](_0x54f4d1,_0x5c3994){return _0x58947a['getInfo'](_0x54f4d1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5aae2d=>{const {width:_0x39b254,height:_0x2bfb5c}=_0x5aae2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c3994,this['imageDimension']={'width':_0x39b254,'height':_0x2bfb5c},this['imageId']=_0x54f4d1;})['catch'](_0x5d3aec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5d3aec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2fb048,_0x493acc){return this['_getImageAsFile'](_0x2fb048)['then'](_0x5ddceb=>_0x58947a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x493acc['signal'],'file':_0x5ddceb,'onProgress':_0x525ea2=>{_0x525ea2&&_0x525ea2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x525ea2['value']));}}))['then'](_0xfe0ab=>{const {width:_0x199bb0,height:_0x5584bd}=_0xfe0ab['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfe0ab['cdnUrl'],this['imageDimension']={'width':_0x199bb0,'height':_0x5584bd},this['imageId']=_0xfe0ab['uuid'],this['imageUploadProgress']=null;const _0x4936a5=_0x2fb048['getAttribute']('src');this['_imageCache']['set'](_0x4936a5,{'id':_0xfe0ab['uuid'],'url':_0xfe0ab['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4e76f2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e76f2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2051e4,_0x11ae8a){_0x2051e4['on']('apply',(_0x2917af,_0x36fd7a)=>{this['_replaceImage'](_0x11ae8a,_0x36fd7a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2051e4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2051e4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1e0df1,_0x5c6c56,_0x47db0d){const _0x485c21=this['_editor'],{width:_0x22bf38,height:_0x482b84}=_0x91c249(_0x5c6c56,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x130af6,imageSources:_0x4b73a9}=_0x2bc51(_0x5c6c56,_0x22bf38);_0x485c21['model']['change'](_0x15db0d=>{if('$graveyard'===_0x1e0df1['root']['rootName']){_0x485c21['execute']('insertImage',{'imageType':_0x1e0df1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1e0df1['getAttributes']()),'uploadcareImageId':_0x47db0d,'src':_0x130af6,'sources':_0x4b73a9,'width':_0x22bf38,'height':_0x482b84}});const _0x1ae230=_0x1e0df1['getChildren']();_0x1e0df1=_0x485c21['model']['document']['selection']['getSelectedElement']();for(const _0x31f232 of _0x1ae230)_0x15db0d['append'](_0x15db0d['cloneElement'](_0x31f232),_0x1e0df1);}else _0x15db0d['setSelection'](_0x1e0df1,'on'),_0x485c21['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1e0df1['getAttributes']()),'uploadcareImageId':_0x47db0d,'src':_0x130af6,'sources':_0x4b73a9,'width':_0x22bf38,'height':_0x482b84},_0x1e0df1);_0x15db0d['setSelection'](_0x1e0df1,'on');});}async['_getImageAsFile'](_0x5835c2){const _0x338529=_0x1ccf04['window'],_0x3cc810=_0x1ccf04['document']['location']['href'],_0x466828=new _0x338529['URL'](_0x5835c2['getAttribute']('src'),_0x3cc810);if('data:'===_0x466828['protocol']){const _0x5c038b=_0x466828['href']['split'](','),_0x6120aa=_0x5c038b[0x0]['match'](/:(.*?);/)[0x1],_0x9b0fdc=_0x6120aa['split']('/')[0x1],_0x3caf8b=_0x338529['atob'](_0x5c038b[_0x5c038b['length']-0x1]);let _0x29342d=_0x3caf8b['length'];const _0x5e527f=new _0x338529['Uint8Array'](_0x29342d);for(;_0x29342d--;)_0x5e527f[_0x29342d]=_0x3caf8b['charCodeAt'](_0x29342d);return new _0x338529['File']([_0x5e527f],'image.'+_0x9b0fdc,{'type':_0x6120aa});}const _0x2d9b1d=_0x466828['href']['split']('/'),_0xbf2c17=_0x2d9b1d[_0x2d9b1d['length']-0x1],_0x376838=_0xbf2c17['split']('.')[0x1];return _0x338529['fetch'](_0x466828['href'])['then'](_0x9d717a=>_0x9d717a['clone']()['blob']())['then'](_0x5b4e19=>new _0x338529['File']([_0x5b4e19],_0xbf2c17,{'type':'image/'+_0x376838}));}}
23
+ import{global as _0x3f5d0f,ObservableMixin as _0x164ff9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x125b8e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x303963}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x10c82b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x593da4}from'../../utils/uploadutils.js';import{getImageUrls as _0x29108f,getImageDimension as _0x217277}from'../../utils/editingutils.js';import{isAncestor as _0x17ea54}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x164ff9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x427660,_0x3c53e3,_0x3d4f6c){super(),this['_editor']=_0x427660,this['_dialog']=_0x3c53e3,this['_imageElement']=_0x3d4f6c,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 _0x232baa=this['_imageElement'],_0x1543f3=_0x232baa['getAttribute']('uploadcareImageId'),_0x579506=_0x232baa['getAttribute']('src');if(_0x1543f3)await this['_loadImageInfo'](_0x1543f3,_0x579506);else{if(this['_imageCache']['has'](_0x579506)){const _0x132001=this['_imageCache']['get'](_0x579506);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x132001['url'],this['imageDimension']=_0x132001['dimension'],this['imageId']=_0x132001['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x12157a}=this['_editor'],t=_0x12157a['t'],_0x1558ed=new _0x10c82b(_0x12157a,this['imageStatus'],this['_attributes']);_0x1558ed['bind']('status')['to'](this,'imageStatus'),_0x1558ed['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1558ed['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1558ed['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1558ed,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x303963,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1558ed,'position':_0x125b8e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1558ed['focus']();},'onHide':()=>{_0x1558ed['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22eade=>!_0x17ea54(_0x22eade,_0x1558ed['element'])}});}['_loadImageInfo'](_0x57076b,_0x3c1d90){return _0x593da4['getInfo'](_0x57076b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4eca5f=>{const {width:_0x4c9a64,height:_0x327a65}=_0x4eca5f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c1d90,this['imageDimension']={'width':_0x4c9a64,'height':_0x327a65},this['imageId']=_0x57076b;})['catch'](_0x535432=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x535432['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2b9432,_0x1e0f68){return this['_getImageAsFile'](_0x2b9432)['then'](_0x1a566b=>_0x593da4['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1e0f68['signal'],'file':_0x1a566b,'onProgress':_0xf82782=>{_0xf82782&&_0xf82782['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf82782['value']));}}))['then'](_0x53a04b=>{const {width:_0x188943,height:_0x315165}=_0x53a04b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53a04b['cdnUrl'],this['imageDimension']={'width':_0x188943,'height':_0x315165},this['imageId']=_0x53a04b['uuid'],this['imageUploadProgress']=null;const _0x4867da=_0x2b9432['getAttribute']('src');this['_imageCache']['set'](_0x4867da,{'id':_0x53a04b['uuid'],'url':_0x53a04b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x53ab0a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53ab0a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5bf0ce,_0x59fb6f){_0x5bf0ce['on']('apply',(_0x3296c3,_0x18f607)=>{this['_replaceImage'](_0x59fb6f,_0x18f607['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5bf0ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5bf0ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x164b00,_0x34c74a,_0x4b961b){const _0x4623a9=this['_editor'],{width:_0x397749,height:_0x29c9d0}=_0x217277(_0x34c74a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e5e74,imageSources:_0x362ca4}=_0x29108f(_0x34c74a,_0x397749);_0x4623a9['model']['change'](_0x22dc8a=>{if('$graveyard'===_0x164b00['root']['rootName']){_0x4623a9['execute']('insertImage',{'imageType':_0x164b00['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x164b00['getAttributes']()),'uploadcareImageId':_0x4b961b,'src':_0x1e5e74,'sources':_0x362ca4,'width':_0x397749,'height':_0x29c9d0}});const _0x34b1c5=_0x164b00['getChildren']();_0x164b00=_0x4623a9['model']['document']['selection']['getSelectedElement']();for(const _0x186d66 of _0x34b1c5)_0x22dc8a['append'](_0x22dc8a['cloneElement'](_0x186d66),_0x164b00);}else _0x22dc8a['setSelection'](_0x164b00,'on'),_0x4623a9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x164b00['getAttributes']()),'uploadcareImageId':_0x4b961b,'src':_0x1e5e74,'sources':_0x362ca4,'width':_0x397749,'height':_0x29c9d0},_0x164b00);_0x22dc8a['setSelection'](_0x164b00,'on');});}async['_getImageAsFile'](_0x3ce89a){const _0x2f4a83=_0x3f5d0f['window'],_0x3f7538=_0x3f5d0f['document']['location']['href'],_0x5b6f5f=new _0x2f4a83['URL'](_0x3ce89a['getAttribute']('src'),_0x3f7538);if('data:'===_0x5b6f5f['protocol']){const _0x54a046=_0x5b6f5f['href']['split'](','),_0x27572a=_0x54a046[0x0]['match'](/:(.*?);/)[0x1],_0x57e4e5=_0x27572a['split']('/')[0x1],_0x1fea83=_0x2f4a83['atob'](_0x54a046[_0x54a046['length']-0x1]);let _0x5761f6=_0x1fea83['length'];const _0x2a227c=new _0x2f4a83['Uint8Array'](_0x5761f6);for(;_0x5761f6--;)_0x2a227c[_0x5761f6]=_0x1fea83['charCodeAt'](_0x5761f6);return new _0x2f4a83['File']([_0x2a227c],'image.'+_0x57e4e5,{'type':_0x27572a});}const _0x19f6b3=_0x5b6f5f['href']['split']('/'),_0x3b60bd=_0x19f6b3[_0x19f6b3['length']-0x1],_0x425a8f=_0x3b60bd['split']('.')[0x1];return _0x2f4a83['fetch'](_0x5b6f5f['href'])['then'](_0x2e1bf2=>_0x2e1bf2['clone']()['blob']())['then'](_0xd520e8=>new _0x2f4a83['File']([_0xd520e8],_0x3b60bd,{'type':'image/'+_0x425a8f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf546(_0x43f50c,_0x272e35){const _0x11a945=_0x11a9();return _0xf546=function(_0xf546ae,_0x1276f7){_0xf546ae=_0xf546ae-0x178;let _0x11c929=_0x11a945[_0xf546ae];return _0x11c929;},_0xf546(_0x43f50c,_0x272e35);}function _0x11a9(){const _0x248b62=['bindTemplate','2454648ywqPEB','set','uc-light','7sIksJM','3042459AIkggS','19360ZHKJRP','5362413wQQsIz','14213216plmzmJ','88ENZqbd','345744MnRfcg','130jivRep','imageSrc','image-edit','setTemplate','uc-cloud-image-editor','4150grCceE','18986KkjzpH','ck-uploadcare-theme'];_0x11a9=function(){return _0x248b62;};return _0x11a9();}(function(_0x2a90d5,_0x2d3a57){const _0xa0946b=_0xf546,_0x272c13=_0x2a90d5();while(!![]){try{const _0x297622=-parseInt(_0xa0946b(0x178))/0x1*(parseInt(_0xa0946b(0x17b))/0x2)+parseInt(_0xa0946b(0x179))/0x3+-parseInt(_0xa0946b(0x186))/0x4+parseInt(_0xa0946b(0x17d))/0x5*(-parseInt(_0xa0946b(0x17c))/0x6)+parseInt(_0xa0946b(0x189))/0x7*(parseInt(_0xa0946b(0x17a))/0x8)+-parseInt(_0xa0946b(0x18a))/0x9+parseInt(_0xa0946b(0x182))/0xa*(parseInt(_0xa0946b(0x183))/0xb);if(_0x297622===_0x2d3a57)break;else _0x272c13['push'](_0x272c13['shift']());}catch(_0x4d426f){_0x272c13['push'](_0x272c13['shift']());}}}(_0x11a9,0xeeecc));import{View as _0x644fac}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x644fac{constructor(_0x1dedcc,_0x2b0a49){const _0x2fcabf=_0xf546;super(_0x1dedcc);const _0x3c2a19=this[_0x2fcabf(0x185)];this[_0x2fcabf(0x187)](_0x2fcabf(0x17e),''),this[_0x2fcabf(0x180)]({'tag':_0x2fcabf(0x181),'attributes':{..._0x2b0a49,'class':[_0x2fcabf(0x188),_0x2fcabf(0x184)],'ctx-name':_0x2fcabf(0x17f),'cdn-url':_0x3c2a19['to'](_0x2fcabf(0x17e))}});}}
23
+ function _0xc1a8(){const _0x40f7bf=['setTemplate','172614STapnz','ck-uploadcare-theme','4EPVGUb','uc-cloud-image-editor','set','bindTemplate','20567660mImaia','3CTQUyv','8RYpPOf','image-edit','6496427pzIGzC','2086164fVhAub','1743068YGuaOu','uc-light','953913DMTjLD','1280485uzelnP','imageSrc'];_0xc1a8=function(){return _0x40f7bf;};return _0xc1a8();}function _0x23e6(_0x45cb22,_0x11836d){const _0xc1a811=_0xc1a8();return _0x23e6=function(_0x23e6f5,_0x44bb82){_0x23e6f5=_0x23e6f5-0xcd;let _0x1f1600=_0xc1a811[_0x23e6f5];return _0x1f1600;},_0x23e6(_0x45cb22,_0x11836d);}(function(_0x41df89,_0x58bf66){const _0x2b5ac3=_0x23e6,_0x161f2e=_0x41df89();while(!![]){try{const _0x10c89b=-parseInt(_0x2b5ac3(0xce))/0x1+-parseInt(_0x2b5ac3(0xde))/0x2*(-parseInt(_0x2b5ac3(0xd9))/0x3)+parseInt(_0x2b5ac3(0xd4))/0x4*(-parseInt(_0x2b5ac3(0xcf))/0x5)+-parseInt(_0x2b5ac3(0xd2))/0x6+-parseInt(_0x2b5ac3(0xdc))/0x7*(parseInt(_0x2b5ac3(0xda))/0x8)+parseInt(_0x2b5ac3(0xdd))/0x9+parseInt(_0x2b5ac3(0xd8))/0xa;if(_0x10c89b===_0x58bf66)break;else _0x161f2e['push'](_0x161f2e['shift']());}catch(_0x468d93){_0x161f2e['push'](_0x161f2e['shift']());}}}(_0xc1a8,0xf27e8));import{View as _0x148ab6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x148ab6{constructor(_0x2ce980,_0x5d98bc){const _0x1c7c6c=_0x23e6;super(_0x2ce980);const _0x24250f=this[_0x1c7c6c(0xd7)];this[_0x1c7c6c(0xd6)](_0x1c7c6c(0xd0),''),this[_0x1c7c6c(0xd1)]({'tag':_0x1c7c6c(0xd5),'attributes':{..._0x5d98bc,'class':[_0x1c7c6c(0xcd),_0x1c7c6c(0xd3)],'ctx-name':_0x1c7c6c(0xdb),'cdn-url':_0x24250f['to'](_0x1c7c6c(0xd0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3cb385}from'ckeditor5/src/icons.js';import{ButtonView as _0x2f4061,IconView as _0x250db3,View as _0x22fac2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x22fac2{constructor(_0x186080){super(_0x186080);const t=_0x186080['t'];this['set']('errorType',null);const _0x4ae85f=new _0x2f4061(_0x186080);_0x4ae85f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4ae85f['withText']=!0x0,_0x4ae85f['class']='ck-button-action',_0x4ae85f['on']('execute',()=>{this['fire']('retry');}),_0x4ae85f['bind']('isVisible')['to'](this,'errorType',_0x28e598=>'NotFound'!==_0x28e598);const _0x4325a8=new _0x250db3();_0x4325a8['content']=_0x3cb385,_0x4325a8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x26e672=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':[_0x4325a8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x26e672['to']('errorType',_0x4b10b0=>t('NotFound'!==_0x4b10b0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4ae85f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x165408}from'ckeditor5/src/icons.js';import{ButtonView as _0x518c8d,IconView as _0x361fdf,View as _0x3266c9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3266c9{constructor(_0x18c17b){super(_0x18c17b);const t=_0x18c17b['t'];this['set']('errorType',null);const _0x5a75f2=new _0x518c8d(_0x18c17b);_0x5a75f2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a75f2['withText']=!0x0,_0x5a75f2['class']='ck-button-action',_0x5a75f2['on']('execute',()=>{this['fire']('retry');}),_0x5a75f2['bind']('isVisible')['to'](this,'errorType',_0x2e14fb=>'NotFound'!==_0x2e14fb);const _0x1786f0=new _0x361fdf();_0x1786f0['content']=_0x165408,_0x1786f0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2edd12=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':[_0x1786f0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2edd12['to']('errorType',_0x284ea3=>t('NotFound'!==_0x284ea3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a75f2]},{'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 _0x4f2a19,View as _0xcfa5ea}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xcfa5ea{constructor(_0x5c8ff4){super(_0x5c8ff4);const t=_0x5c8ff4['t'],_0x45a017=this['bindTemplate'],_0x1e88b5=new _0x4f2a19();_0x1e88b5['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':[_0x1e88b5,{'text':_0x45a017['to']('imageUploadProgress',_0x2b877d=>t('Loading\x20image...')+'\x20('+(_0x2b877d||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 _0x489f91,View as _0x1627ea}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1627ea{constructor(_0xba2920){super(_0xba2920);const t=_0xba2920['t'],_0x172033=this['bindTemplate'],_0x12d72e=new _0x489f91();_0x12d72e['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':[_0x12d72e,{'text':_0x172033['to']('imageUploadProgress',_0x2ebc67=>t('Loading\x20image...')+'\x20('+(_0x2ebc67||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 _0x38298b=_0x5d65;(function(_0x15b792,_0x53a745){const _0x4e1460=_0x5d65,_0x34e386=_0x15b792();while(!![]){try{const _0x10bf8d=parseInt(_0x4e1460(0x1fd))/0x1+parseInt(_0x4e1460(0x208))/0x2+-parseInt(_0x4e1460(0x1ee))/0x3+-parseInt(_0x4e1460(0x1de))/0x4+-parseInt(_0x4e1460(0x209))/0x5*(parseInt(_0x4e1460(0x200))/0x6)+-parseInt(_0x4e1460(0x1f6))/0x7*(-parseInt(_0x4e1460(0x1f7))/0x8)+parseInt(_0x4e1460(0x1f0))/0x9*(-parseInt(_0x4e1460(0x1eb))/0xa);if(_0x10bf8d===_0x53a745)break;else _0x34e386['push'](_0x34e386['shift']());}catch(_0x4f26fe){_0x34e386['push'](_0x34e386['shift']());}}}(_0xb127,0xeaaba));import{View as _0x4a6a9c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5d0680}from'./uploadcareimageeditformloadingview.js';function _0x5d65(_0x3fe64d,_0x6232f1){const _0xb1272a=_0xb127();return _0x5d65=function(_0x5d65b1,_0x55acf0){_0x5d65b1=_0x5d65b1-0x1d8;let _0x3360f6=_0xb1272a[_0x5d65b1];return _0x3360f6;},_0x5d65(_0x3fe64d,_0x6232f1);}import{UploadcareImageEditFormErrorView as _0x562e10}from'./uploadcareimageeditformerrorview.js';function _0xb127(){const _0x2e4cd5=['querySelector','length','nodeName','focus','clear','detail','observe','2784036YoSWgH','add','apply','_addErrorViewListeners','ready','status','_editingView','_addUploadcareImageEditorListeners','target','uploading','uc-cloud-image-editor','_waitForImageEditorComponent','_setView','10UoPzZN','fire','_focusableView','448887mUxPxH','disconnect','2564766UZEQVd','_loadingView','cancel','setTemplate','filter','render','1266909GaGwAg','48UXXoBO','error','getFocusableElement','set','addMany','ck-uploadcare-form','1834393LMCade','change:status','cdnUrl','6LAMVbb','_errorView','div','toLowerCase','createCollection','once','ck-reset_all-excluded','element','839072XWBFRD','6240145NSOjoL','addedNodes','_items','addEventListener','retry'];_0xb127=function(){return _0x2e4cd5;};return _0xb127();}import{UploadcareImageEditFormEditingView as _0xbe7432}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2bd30a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2bd30a{[_0x38298b(0x20b)];[_0x38298b(0x1f1)];[_0x38298b(0x201)];[_0x38298b(0x1e4)];[_0x38298b(0x1ed)];constructor(_0x1af170,_0x616486,_0x298796){const _0xa760aa=_0x38298b;super(_0x1af170),this[_0xa760aa(0x20b)]=this[_0xa760aa(0x204)](),this[_0xa760aa(0x1f1)]=new _0x5d0680(_0x1af170),this[_0xa760aa(0x201)]=new _0x562e10(_0x1af170),this[_0xa760aa(0x1e4)]=new _0xbe7432(_0x1af170,_0x298796),this[_0xa760aa(0x1ed)]=new _0x4a6a9c(_0x1af170),this[_0xa760aa(0x1ed)][_0xa760aa(0x1f3)](this[_0xa760aa(0x1f9)]()),this[_0xa760aa(0x1fa)](_0xa760aa(0x1e3),_0x616486),this[_0xa760aa(0x1f3)]({'tag':_0xa760aa(0x202),'attributes':{'class':['ck',_0xa760aa(0x206),_0xa760aa(0x1fc)],'tabindex':'-1'},'children':this[_0xa760aa(0x20b)]}),this[_0xa760aa(0x1ea)](),this[_0xa760aa(0x205)](_0xa760aa(0x1f5),()=>{const _0x133fa4=_0xa760aa;this[_0x133fa4(0x1e9)](this[_0x133fa4(0x207)],_0xc9edea=>{const _0x3c5ff9=_0x133fa4;this[_0x3c5ff9(0x1e5)](_0xc9edea);});}),this['on'](_0xa760aa(0x1fe),()=>{const _0x5c8eb8=_0xa760aa;this[_0x5c8eb8(0x1ea)]();}),this[_0xa760aa(0x1e1)]();}[_0x38298b(0x1da)](){const _0x5208a2=_0x38298b;this[_0x5208a2(0x207)][_0x5208a2(0x1da)]();}[_0x38298b(0x1ea)](){const _0xe8d0b=_0x38298b;switch(this[_0xe8d0b(0x20b)][_0xe8d0b(0x1db)](),this[_0xe8d0b(0x1e3)]){case _0xe8d0b(0x1e7):this[_0xe8d0b(0x20b)][_0xe8d0b(0x1df)](this[_0xe8d0b(0x1f1)]);break;case _0xe8d0b(0x1f8):this[_0xe8d0b(0x20b)][_0xe8d0b(0x1df)](this[_0xe8d0b(0x201)]);break;case _0xe8d0b(0x1e2):this[_0xe8d0b(0x20b)][_0xe8d0b(0x1fb)]([this[_0xe8d0b(0x1e4)],this[_0xe8d0b(0x1ed)]]);}}[_0x38298b(0x1e9)](_0x33844a,_0x46a827){const _0xb818=_0x38298b,_0x29b274=_0xb818(0x1e8),_0xb9ed91=_0x33844a[_0xb818(0x20e)](_0x29b274);if(_0xb9ed91)return _0x46a827(_0xb9ed91);const _0x28fbf3=new MutationObserver(_0x4a0f11=>{const _0x1d863c=_0xb818,_0x4651ba=_0x4a0f11[_0x1d863c(0x1f4)](_0x87b516=>_0x87b516[_0x1d863c(0x1e6)]===_0x33844a&&_0x87b516[_0x1d863c(0x20a)][_0x1d863c(0x1d8)]>0x0&&_0x87b516[_0x1d863c(0x20a)][0x0][_0x1d863c(0x1d9)][_0x1d863c(0x203)]()===_0x29b274);_0x4651ba[_0x1d863c(0x1d8)]&&(_0x28fbf3[_0x1d863c(0x1ef)](),_0x46a827(_0x4651ba[0x0][_0x1d863c(0x20a)][0x0]));});_0x28fbf3[_0xb818(0x1dd)](_0x33844a,{'childList':!0x0,'subtree':!0x0});}[_0x38298b(0x1e5)](_0x2371ac){const _0x8f98bb=_0x38298b;_0x2371ac[_0x8f98bb(0x20c)](_0x8f98bb(0x1e0),_0x26b6f7=>{const _0x47bde6=_0x8f98bb;this[_0x47bde6(0x1ec)](_0x47bde6(0x1e0),{'imageSrc':_0x26b6f7[_0x47bde6(0x1dc)][_0x47bde6(0x1ff)]});}),_0x2371ac[_0x8f98bb(0x20c)](_0x8f98bb(0x1f2),()=>{const _0x572d6c=_0x8f98bb;this[_0x572d6c(0x1ec)](_0x572d6c(0x1f2));});}[_0x38298b(0x1e1)](){const _0x2858a6=_0x38298b;this[_0x2858a6(0x201)]['on'](_0x2858a6(0x20d),()=>{const _0x1147b7=_0x2858a6;this[_0x1147b7(0x1ec)](_0x1147b7(0x20d));});}}
23
+ const _0x289500=_0x147b;function _0x2d57(){const _0x21e031=['observe','_setView','addMany','_addErrorViewListeners','retry','toLowerCase','add','error','setTemplate','3632832TtCkIP','438776dBdziT','apply','render','querySelector','3187282nhRKHw','ready','cdnUrl','nodeName','20hEkQpo','306846GbwtLv','ck-uploadcare-form','once','set','element','uploading','focus','_errorView','8626616sSJXxQ','disconnect','_editingView','addedNodes','26009yJytSf','addEventListener','change:status','ck-reset_all-excluded','createCollection','filter','_waitForImageEditorComponent','detail','_loadingView','clear','86FZPTgi','_addUploadcareImageEditorListeners','_items','uc-cloud-image-editor','status','fire','6725340JTVwLo','target','length','_focusableView','getFocusableElement','div','cancel'];_0x2d57=function(){return _0x21e031;};return _0x2d57();}(function(_0x23198c,_0x3a4602){const _0x49f41c=_0x147b,_0x5b3f6b=_0x23198c();while(!![]){try{const _0x51035b=-parseInt(_0x49f41c(0x17d))/0x1*(parseInt(_0x49f41c(0x151))/0x2)+-parseInt(_0x49f41c(0x167))/0x3+parseInt(_0x49f41c(0x168))/0x4*(parseInt(_0x49f41c(0x170))/0x5)+parseInt(_0x49f41c(0x157))/0x6+parseInt(_0x49f41c(0x16c))/0x7+parseInt(_0x49f41c(0x179))/0x8+-parseInt(_0x49f41c(0x171))/0x9;if(_0x51035b===_0x3a4602)break;else _0x5b3f6b['push'](_0x5b3f6b['shift']());}catch(_0x471ed1){_0x5b3f6b['push'](_0x5b3f6b['shift']());}}}(_0x2d57,0xb2326));import{View as _0x2d013e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3271f5}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x17d52e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x59efdf}from'./uploadcareimageeditformeditingview.js';function _0x147b(_0x532976,_0x5e2239){const _0x2d57a6=_0x2d57();return _0x147b=function(_0x147b6a,_0x1166c8){_0x147b6a=_0x147b6a-0x149;let _0x16a875=_0x2d57a6[_0x147b6a];return _0x16a875;},_0x147b(_0x532976,_0x5e2239);}import{DialogFocusManagerView as _0x4c8b55}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4c8b55{[_0x289500(0x153)];[_0x289500(0x14f)];[_0x289500(0x178)];[_0x289500(0x17b)];[_0x289500(0x15a)];constructor(_0x57f657,_0x5f02b8,_0x1dac6f){const _0x40dc2b=_0x289500;super(_0x57f657),this[_0x40dc2b(0x153)]=this[_0x40dc2b(0x14b)](),this[_0x40dc2b(0x14f)]=new _0x3271f5(_0x57f657),this[_0x40dc2b(0x178)]=new _0x17d52e(_0x57f657),this[_0x40dc2b(0x17b)]=new _0x59efdf(_0x57f657,_0x1dac6f),this[_0x40dc2b(0x15a)]=new _0x2d013e(_0x57f657),this[_0x40dc2b(0x15a)][_0x40dc2b(0x166)](this[_0x40dc2b(0x15b)]()),this[_0x40dc2b(0x174)](_0x40dc2b(0x155),_0x5f02b8),this[_0x40dc2b(0x166)]({'tag':_0x40dc2b(0x15c),'attributes':{'class':['ck',_0x40dc2b(0x14a),_0x40dc2b(0x172)],'tabindex':'-1'},'children':this[_0x40dc2b(0x153)]}),this[_0x40dc2b(0x15f)](),this[_0x40dc2b(0x173)](_0x40dc2b(0x16a),()=>{const _0x1f43a7=_0x40dc2b;this[_0x1f43a7(0x14d)](this[_0x1f43a7(0x175)],_0x10aba0=>{const _0x1b058a=_0x1f43a7;this[_0x1b058a(0x152)](_0x10aba0);});}),this['on'](_0x40dc2b(0x149),()=>{const _0x34d406=_0x40dc2b;this[_0x34d406(0x15f)]();}),this[_0x40dc2b(0x161)]();}[_0x289500(0x177)](){const _0x4ecf32=_0x289500;this[_0x4ecf32(0x175)][_0x4ecf32(0x177)]();}[_0x289500(0x15f)](){const _0x27c256=_0x289500;switch(this[_0x27c256(0x153)][_0x27c256(0x150)](),this[_0x27c256(0x155)]){case _0x27c256(0x176):this[_0x27c256(0x153)][_0x27c256(0x164)](this[_0x27c256(0x14f)]);break;case _0x27c256(0x165):this[_0x27c256(0x153)][_0x27c256(0x164)](this[_0x27c256(0x178)]);break;case _0x27c256(0x16d):this[_0x27c256(0x153)][_0x27c256(0x160)]([this[_0x27c256(0x17b)],this[_0x27c256(0x15a)]]);}}[_0x289500(0x14d)](_0x2610a6,_0x1fde23){const _0x5da070=_0x289500,_0x50fb2f=_0x5da070(0x154),_0x33ff78=_0x2610a6[_0x5da070(0x16b)](_0x50fb2f);if(_0x33ff78)return _0x1fde23(_0x33ff78);const _0x24ba23=new MutationObserver(_0x38cb35=>{const _0x8d2518=_0x5da070,_0x9074bd=_0x38cb35[_0x8d2518(0x14c)](_0x1714ac=>_0x1714ac[_0x8d2518(0x158)]===_0x2610a6&&_0x1714ac[_0x8d2518(0x17c)][_0x8d2518(0x159)]>0x0&&_0x1714ac[_0x8d2518(0x17c)][0x0][_0x8d2518(0x16f)][_0x8d2518(0x163)]()===_0x50fb2f);_0x9074bd[_0x8d2518(0x159)]&&(_0x24ba23[_0x8d2518(0x17a)](),_0x1fde23(_0x9074bd[0x0][_0x8d2518(0x17c)][0x0]));});_0x24ba23[_0x5da070(0x15e)](_0x2610a6,{'childList':!0x0,'subtree':!0x0});}[_0x289500(0x152)](_0x28544b){const _0x9f9cc2=_0x289500;_0x28544b[_0x9f9cc2(0x17e)](_0x9f9cc2(0x169),_0x20d949=>{const _0x3cfecb=_0x9f9cc2;this[_0x3cfecb(0x156)](_0x3cfecb(0x169),{'imageSrc':_0x20d949[_0x3cfecb(0x14e)][_0x3cfecb(0x16e)]});}),_0x28544b[_0x9f9cc2(0x17e)](_0x9f9cc2(0x15d),()=>{const _0x49d28f=_0x9f9cc2;this[_0x49d28f(0x156)](_0x49d28f(0x15d));});}[_0x289500(0x161)](){const _0x5f5006=_0x289500;this[_0x5f5006(0x178)]['on'](_0x5f5006(0x162),()=>{const _0x4792cb=_0x5f5006;this[_0x4792cb(0x156)](_0x4792cb(0x162));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26779e=_0xe76d;(function(_0x95394,_0xf65bf3){const _0x4a7d6c=_0xe76d,_0x2da135=_0x95394();while(!![]){try{const _0x4d2ee9=-parseInt(_0x4a7d6c(0x180))/0x1+-parseInt(_0x4a7d6c(0x183))/0x2*(parseInt(_0x4a7d6c(0x190))/0x3)+parseInt(_0x4a7d6c(0x192))/0x4*(parseInt(_0x4a7d6c(0x17e))/0x5)+-parseInt(_0x4a7d6c(0x17b))/0x6+-parseInt(_0x4a7d6c(0x188))/0x7*(-parseInt(_0x4a7d6c(0x177))/0x8)+-parseInt(_0x4a7d6c(0x18b))/0x9*(parseInt(_0x4a7d6c(0x176))/0xa)+parseInt(_0x4a7d6c(0x186))/0xb*(parseInt(_0x4a7d6c(0x172))/0xc);if(_0x4d2ee9===_0xf65bf3)break;else _0x2da135['push'](_0x2da135['shift']());}catch(_0xc46d37){_0x2da135['push'](_0x2da135['shift']());}}}(_0x24fd,0x2d7c8));function _0xe76d(_0x11186b,_0x48ccef){const _0x24fd56=_0x24fd();return _0xe76d=function(_0xe76d53,_0x1d227a){_0xe76d53=_0xe76d53-0x171;let _0x1bbfa2=_0x24fd56[_0xe76d53];return _0x1bbfa2;},_0xe76d(_0x11186b,_0x48ccef);}import{Command as _0x50ba09}from'ckeditor5/src/core.js';import{Dialog as _0x24e4c8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x146b2b}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4addd9}from'../utils/editingutils.js';function _0x24fd(){const _0x3da978=['460710ETsVcm','getSelectedElement','execute','set','refresh','45VoJbXo','imageInline','149920UvhaBA','editor','89268LgzpsR','model','imageEditController','element','60eliFQr','37088AnPvDD','_isEditable','unbind','selection','1034394goAYZs','document','uploadcare.allowExternalImagesEditing','10lIMNQg','get','48236bCWMhV','imageBlock','plugins','42576hulOjB','isEnabled','isActive','1287qgwkCF','bind','133QhnWEe','requires','config'];_0x24fd=function(){return _0x3da978;};return _0x24fd();}export class UploadcareImageEditCommand extends _0x50ba09{[_0x26779e(0x174)];static get[_0x26779e(0x189)](){return[_0x24e4c8];}[_0x26779e(0x178)];constructor(_0x116c68){const _0xf7a7bb=_0x26779e;super(_0x116c68),this[_0xf7a7bb(0x174)]=void 0x0,this[_0xf7a7bb(0x178)]=_0x4addd9(_0x116c68[_0xf7a7bb(0x18a)][_0xf7a7bb(0x17f)](_0xf7a7bb(0x17d))||[]),this[_0xf7a7bb(0x18e)]({'isActive':!0x1});}[_0x26779e(0x18f)](){const _0xa1d435=_0x26779e,_0x5517cf=this[_0xa1d435(0x171)][_0xa1d435(0x173)][_0xa1d435(0x17c)][_0xa1d435(0x17a)][_0xa1d435(0x18c)]();this[_0xa1d435(0x184)]=this[_0xa1d435(0x178)](_0x5517cf);}[_0x26779e(0x18d)](){const _0x42fa78=_0x26779e;this[_0x42fa78(0x174)]&&(this[_0x42fa78(0x179)](_0x42fa78(0x185)),this[_0x42fa78(0x174)]=void 0x0);const _0x4d086f=this[_0x42fa78(0x171)][_0x42fa78(0x173)][_0x42fa78(0x17c)][_0x42fa78(0x17a)][_0x42fa78(0x18c)]();_0x4d086f&&(_0x4d086f['is'](_0x42fa78(0x175),_0x42fa78(0x181))||_0x4d086f['is'](_0x42fa78(0x175),_0x42fa78(0x191)))&&(this[_0x42fa78(0x174)]=new _0x146b2b(this[_0x42fa78(0x171)],this[_0x42fa78(0x171)][_0x42fa78(0x182)][_0x42fa78(0x17f)](_0x24e4c8),_0x4d086f),this[_0x42fa78(0x187)](_0x42fa78(0x185))['to'](this[_0x42fa78(0x174)],_0x42fa78(0x185)));}}
23
+ const _0x22bc88=_0x2c5a;(function(_0x32a6a2,_0x53a3aa){const _0x18e04c=_0x2c5a,_0x59bcba=_0x32a6a2();while(!![]){try{const _0x2bd839=-parseInt(_0x18e04c(0x91))/0x1*(parseInt(_0x18e04c(0x95))/0x2)+-parseInt(_0x18e04c(0xa0))/0x3*(parseInt(_0x18e04c(0xa5))/0x4)+parseInt(_0x18e04c(0x8a))/0x5*(parseInt(_0x18e04c(0x97))/0x6)+parseInt(_0x18e04c(0x90))/0x7*(parseInt(_0x18e04c(0xa4))/0x8)+-parseInt(_0x18e04c(0x8b))/0x9*(parseInt(_0x18e04c(0x94))/0xa)+parseInt(_0x18e04c(0xa3))/0xb+parseInt(_0x18e04c(0x9b))/0xc;if(_0x2bd839===_0x53a3aa)break;else _0x59bcba['push'](_0x59bcba['shift']());}catch(_0x686d13){_0x59bcba['push'](_0x59bcba['shift']());}}}(_0x5c3c,0x44037));import{Command as _0x4f2422}from'ckeditor5/src/core.js';import{Dialog as _0xeb3614}from'ckeditor5/src/ui.js';function _0x2c5a(_0x14c9be,_0x1723e4){const _0x5c3cf3=_0x5c3c();return _0x2c5a=function(_0x2c5a9c,_0x1bf479){_0x2c5a9c=_0x2c5a9c-0x86;let _0xa99b5d=_0x5c3cf3[_0x2c5a9c];return _0xa99b5d;},_0x2c5a(_0x14c9be,_0x1723e4);}import{UploadcareImageEditController as _0x39b38c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x195bd8}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4f2422{[_0x22bc88(0x9d)];static get[_0x22bc88(0x98)](){return[_0xeb3614];}[_0x22bc88(0x99)];constructor(_0x147d93){const _0x666001=_0x22bc88;super(_0x147d93),this[_0x666001(0x9d)]=void 0x0,this[_0x666001(0x99)]=_0x195bd8(_0x147d93[_0x666001(0x89)][_0x666001(0x8c)](_0x666001(0x8d))||[]),this[_0x666001(0x8e)]({'isActive':!0x1});}[_0x22bc88(0x92)](){const _0x25b31c=_0x22bc88,_0x29466a=this[_0x25b31c(0x9c)][_0x25b31c(0x86)][_0x25b31c(0x9f)][_0x25b31c(0x93)][_0x25b31c(0xa6)]();this[_0x25b31c(0x96)]=this[_0x25b31c(0x99)](_0x29466a);}[_0x22bc88(0x88)](){const _0x4f5c03=_0x22bc88;this[_0x4f5c03(0x9d)]&&(this[_0x4f5c03(0x9a)](_0x4f5c03(0xa2)),this[_0x4f5c03(0x9d)]=void 0x0);const _0x163e66=this[_0x4f5c03(0x9c)][_0x4f5c03(0x86)][_0x4f5c03(0x9f)][_0x4f5c03(0x93)][_0x4f5c03(0xa6)]();_0x163e66&&(_0x163e66['is'](_0x4f5c03(0x87),_0x4f5c03(0x9e))||_0x163e66['is'](_0x4f5c03(0x87),_0x4f5c03(0xa1)))&&(this[_0x4f5c03(0x9d)]=new _0x39b38c(this[_0x4f5c03(0x9c)],this[_0x4f5c03(0x9c)][_0x4f5c03(0x8f)][_0x4f5c03(0x8c)](_0xeb3614),_0x163e66),this[_0x4f5c03(0xa7)](_0x4f5c03(0xa2))['to'](this[_0x4f5c03(0x9d)],_0x4f5c03(0xa2)));}}function _0x5c3c(){const _0x420d1b=['7756nuhDNz','30TZBdXe','refresh','selection','81360NBnkim','31540sChNYf','isEnabled','84gmOBfD','requires','_isEditable','unbind','9987192ogaKIG','editor','imageEditController','imageBlock','document','1746rhepCf','imageInline','isActive','1009019FqNHyJ','776RKPJzG','108oUkoMo','getSelectedElement','bind','model','element','execute','config','36445nemQTB','405ECeLNV','get','uploadcare.allowExternalImagesEditing','set','plugins'];_0x5c3c=function(){return _0x420d1b;};return _0x5c3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x403c(){const _0x24220f=['428491KIGIJD','4hAkxJN','add','commands','7984881XDukhd','UploadcareImageEditEditing','ImageUtils','isOfficialPlugin','pluginName','2176080DIejlk','ImageEditing','1537415KwFrfu','2421306JEYcPh','isPremiumPlugin','init','requires','210IOsGPf','uploadcareImageEdit','8QDtxnr','693470sZqCDL','812Noajul','uploadcareImageReplace','1240TWZuTW'];_0x403c=function(){return _0x24220f;};return _0x403c();}function _0x59ef(_0x115697,_0x10d68c){const _0x403ca4=_0x403c();return _0x59ef=function(_0x59ef19,_0x29049d){_0x59ef19=_0x59ef19-0x15b;let _0x2fb088=_0x403ca4[_0x59ef19];return _0x2fb088;},_0x59ef(_0x115697,_0x10d68c);}const _0x47d105=_0x59ef;(function(_0x36bee8,_0x2b3de1){const _0x265cc8=_0x59ef,_0x170f1c=_0x36bee8();while(!![]){try{const _0xac660c=parseInt(_0x265cc8(0x169))/0x1*(-parseInt(_0x265cc8(0x16a))/0x2)+-parseInt(_0x265cc8(0x15e))/0x3+-parseInt(_0x265cc8(0x164))/0x4*(parseInt(_0x265cc8(0x165))/0x5)+parseInt(_0x265cc8(0x15b))/0x6+parseInt(_0x265cc8(0x166))/0x7*(parseInt(_0x265cc8(0x168))/0x8)+-parseInt(_0x265cc8(0x16d))/0x9+-parseInt(_0x265cc8(0x162))/0xa*(-parseInt(_0x265cc8(0x15d))/0xb);if(_0xac660c===_0x2b3de1)break;else _0x170f1c['push'](_0x170f1c['shift']());}catch(_0x28cf95){_0x170f1c['push'](_0x170f1c['shift']());}}}(_0x403c,0x76e84));import{Plugin as _0x3f5479}from'ckeditor5/src/core.js';import{Notification as _0x1e4d61}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x52fd30}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3b80c7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2e4a54}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3f5479{static get[_0x47d105(0x171)](){const _0x2be666=_0x47d105;return _0x2be666(0x16e);}static get[_0x47d105(0x161)](){const _0x58981f=_0x47d105;return[_0x2e4a54,_0x1e4d61,_0x58981f(0x16f),_0x58981f(0x15c)];}static get[_0x47d105(0x170)](){return!0x0;}static get[_0x47d105(0x15f)](){return!0x0;}[_0x47d105(0x160)](){const _0x2427ac=_0x47d105,{editor:_0x5314c9}=this;_0x5314c9[_0x2427ac(0x16c)][_0x2427ac(0x16b)](_0x2427ac(0x163),new _0x52fd30(_0x5314c9)),_0x5314c9[_0x2427ac(0x16c)][_0x2427ac(0x16b)](_0x2427ac(0x167),new _0x3b80c7(_0x5314c9));}}
23
+ const _0x15ff8e=_0x5764;function _0x5764(_0x58accd,_0x44b045){const _0x15047a=_0x1504();return _0x5764=function(_0x5764d8,_0x3cdd75){_0x5764d8=_0x5764d8-0x120;let _0x5b9f1c=_0x15047a[_0x5764d8];return _0x5b9f1c;},_0x5764(_0x58accd,_0x44b045);}function _0x1504(){const _0x4ddae1=['commands','232414jdpuzW','3507597XtAqxr','ImageEditing','requires','add','837SsFyYs','uploadcareImageReplace','801178vAZIlH','174952ZCyVPr','isPremiumPlugin','249776vdesVb','12ezVpwG','pluginName','init','442910QQzPmp','1256eNCCDx','UploadcareImageEditEditing','isOfficialPlugin','uploadcareImageEdit','ImageUtils'];_0x1504=function(){return _0x4ddae1;};return _0x1504();}(function(_0x39a32b,_0x4b7308){const _0x197083=_0x5764,_0x2cd3ac=_0x39a32b();while(!![]){try{const _0x27b509=parseInt(_0x197083(0x130))/0x1+-parseInt(_0x197083(0x12a))/0x2*(-parseInt(_0x197083(0x120))/0x3)+-parseInt(_0x197083(0x125))/0x4+parseInt(_0x197083(0x129))/0x5+parseInt(_0x197083(0x126))/0x6*(parseInt(_0x197083(0x122))/0x7)+parseInt(_0x197083(0x123))/0x8+-parseInt(_0x197083(0x131))/0x9;if(_0x27b509===_0x4b7308)break;else _0x2cd3ac['push'](_0x2cd3ac['shift']());}catch(_0x531d99){_0x2cd3ac['push'](_0x2cd3ac['shift']());}}}(_0x1504,0x47f98));import{Plugin as _0xbf0883}from'ckeditor5/src/core.js';import{Notification as _0x219451}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x53a10f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x26c805}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x41205a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xbf0883{static get[_0x15ff8e(0x127)](){const _0x491fb2=_0x15ff8e;return _0x491fb2(0x12b);}static get[_0x15ff8e(0x133)](){const _0x3ed1bb=_0x15ff8e;return[_0x41205a,_0x219451,_0x3ed1bb(0x12e),_0x3ed1bb(0x132)];}static get[_0x15ff8e(0x12c)](){return!0x0;}static get[_0x15ff8e(0x124)](){return!0x0;}[_0x15ff8e(0x128)](){const _0x3aae83=_0x15ff8e,{editor:_0x331e9b}=this;_0x331e9b[_0x3aae83(0x12f)][_0x3aae83(0x134)](_0x3aae83(0x12d),new _0x53a10f(_0x331e9b)),_0x331e9b[_0x3aae83(0x12f)][_0x3aae83(0x134)](_0x3aae83(0x121),new _0x26c805(_0x331e9b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5841a1}from'ckeditor5/src/core.js';import{ButtonView as _0x47e77d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x395169}from'ckeditor5/src/icons.js';import{createElement as _0x1f4e25}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x5841a1{['_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 _0x5a544b=this['editor'];_0x5a544b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x416cb4=>{const _0x260ec2=_0x5a544b['commands']['get']('uploadcareImageEdit'),_0x3298d3=new _0x47e77d(_0x416cb4),t=_0x416cb4['t'];return _0x3298d3['set']({'icon':_0x395169,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3298d3['bind']('isEnabled')['to'](_0x260ec2),_0x3298d3['bind']('isOn')['to'](_0x260ec2,'isActive'),this['listenTo'](_0x3298d3,'execute',()=>{_0x5a544b['execute']('uploadcareImageEdit'),_0x5a544b['editing']['view']['focus']();}),_0x3298d3;}),this['_initConfig']();}['_initConfig'](){const _0x4c1be0=_0x1f4e25(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4c1be0),this['listenTo'](this['editor'],'destroy',()=>{_0x4c1be0['remove']();});}}
23
+ import{Plugin as _0x4334c3}from'ckeditor5/src/core.js';import{ButtonView as _0x14ee34}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2359a6}from'ckeditor5/src/icons.js';import{createElement as _0x415199}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4334c3{['_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 _0x56b816=this['editor'];_0x56b816['ui']['componentFactory']['add']('uploadcareImageEdit',_0x129462=>{const _0x4b9ec3=_0x56b816['commands']['get']('uploadcareImageEdit'),_0x3af089=new _0x14ee34(_0x129462),t=_0x129462['t'];return _0x3af089['set']({'icon':_0x2359a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3af089['bind']('isEnabled')['to'](_0x4b9ec3),_0x3af089['bind']('isOn')['to'](_0x4b9ec3,'isActive'),this['listenTo'](_0x3af089,'execute',()=>{_0x56b816['execute']('uploadcareImageEdit'),_0x56b816['editing']['view']['focus']();}),_0x3af089;}),this['_initConfig']();}['_initConfig'](){const _0x413c7f=_0x415199(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x413c7f),this['listenTo'](this['editor'],'destroy',()=>{_0x413c7f['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5eef(_0x57e5ab,_0x5a0889){const _0x3e90be=_0x3e90();return _0x5eef=function(_0x5eef56,_0x4a6f1e){_0x5eef56=_0x5eef56-0x116;let _0x3a149b=_0x3e90be[_0x5eef56];return _0x3a149b;},_0x5eef(_0x57e5ab,_0x5a0889);}const _0x2ff220=_0x5eef;(function(_0x324edd,_0x36276a){const _0x36f007=_0x5eef,_0x4a2703=_0x324edd();while(!![]){try{const _0x841b94=parseInt(_0x36f007(0x126))/0x1+parseInt(_0x36f007(0x120))/0x2*(parseInt(_0x36f007(0x11d))/0x3)+parseInt(_0x36f007(0x118))/0x4*(parseInt(_0x36f007(0x123))/0x5)+parseInt(_0x36f007(0x127))/0x6*(-parseInt(_0x36f007(0x12e))/0x7)+parseInt(_0x36f007(0x11c))/0x8*(parseInt(_0x36f007(0x125))/0x9)+parseInt(_0x36f007(0x12b))/0xa+-parseInt(_0x36f007(0x128))/0xb*(parseInt(_0x36f007(0x131))/0xc);if(_0x841b94===_0x36276a)break;else _0x4a2703['push'](_0x4a2703['shift']());}catch(_0x49f0a1){_0x4a2703['push'](_0x4a2703['shift']());}}}(_0x3e90,0x26fc4));function _0x3e90(){const _0x42ab4f=['element','imageBlock','2842euOkZl','getSelectedElement','imageInline','280ZmeMdr','refresh','16695HvULhS','18762pmMpcp','82746jEQkdQ','11LPUNaT','isEnabled','removeAttribute','1638000LdtfIm','model','setAttributes','98huISFH','sizes','execute','3193956gjWDLL','selection','srcset','3904ncxqUM','document','change','editor','1352GTzJHa','144Gxkxvh'];_0x3e90=function(){return _0x42ab4f;};return _0x3e90();}import{Command as _0x395fe1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x395fe1{[_0x2ff220(0x124)](){const _0x4eff46=_0x2ff220,_0x546119=this[_0x4eff46(0x11b)][_0x4eff46(0x12c)][_0x4eff46(0x119)][_0x4eff46(0x116)][_0x4eff46(0x121)]();this[_0x4eff46(0x129)]=Boolean(_0x546119&&(_0x546119['is'](_0x4eff46(0x11e),_0x4eff46(0x11f))||_0x546119['is'](_0x4eff46(0x11e),_0x4eff46(0x122))));}[_0x2ff220(0x130)](_0x25af19){const _0x28ab99=_0x2ff220,_0x288c58=this[_0x28ab99(0x11b)][_0x28ab99(0x12c)][_0x28ab99(0x119)][_0x28ab99(0x116)][_0x28ab99(0x121)]();this[_0x28ab99(0x11b)][_0x28ab99(0x12c)][_0x28ab99(0x11a)](_0x56e0ee=>{const _0x26cac9=_0x28ab99;_0x56e0ee[_0x26cac9(0x12d)](_0x25af19,_0x288c58),_0x56e0ee[_0x26cac9(0x12a)](_0x26cac9(0x117),_0x288c58),_0x56e0ee[_0x26cac9(0x12a)](_0x26cac9(0x12f),_0x288c58);});}}
23
+ const _0x2110cd=_0x49a5;(function(_0x323c82,_0x161615){const _0x619086=_0x49a5,_0x568d97=_0x323c82();while(!![]){try{const _0x35da58=parseInt(_0x619086(0x1be))/0x1+-parseInt(_0x619086(0x1b5))/0x2+parseInt(_0x619086(0x1c5))/0x3+-parseInt(_0x619086(0x1ba))/0x4*(-parseInt(_0x619086(0x1c2))/0x5)+-parseInt(_0x619086(0x1c9))/0x6+parseInt(_0x619086(0x1c1))/0x7+-parseInt(_0x619086(0x1c0))/0x8;if(_0x35da58===_0x161615)break;else _0x568d97['push'](_0x568d97['shift']());}catch(_0x155b09){_0x568d97['push'](_0x568d97['shift']());}}}(_0x455d,0xac572));import{Command as _0x1c8215}from'ckeditor5/src/core.js';function _0x49a5(_0x2633e8,_0x398cad){const _0x455d53=_0x455d();return _0x49a5=function(_0x49a5e2,_0x373bb5){_0x49a5e2=_0x49a5e2-0x1b5;let _0x1defeb=_0x455d53[_0x49a5e2];return _0x1defeb;},_0x49a5(_0x2633e8,_0x398cad);}export class UploadcareImageReplaceCommand extends _0x1c8215{[_0x2110cd(0x1b7)](){const _0x42c020=_0x2110cd,_0x2a3c3c=this[_0x42c020(0x1bb)][_0x42c020(0x1bc)][_0x42c020(0x1cb)][_0x42c020(0x1bf)][_0x42c020(0x1b9)]();this[_0x42c020(0x1b6)]=Boolean(_0x2a3c3c&&(_0x2a3c3c['is'](_0x42c020(0x1bd),_0x42c020(0x1c6))||_0x2a3c3c['is'](_0x42c020(0x1bd),_0x42c020(0x1c7))));}[_0x2110cd(0x1c8)](_0x1561fe){const _0x4876f7=_0x2110cd,_0x43e479=this[_0x4876f7(0x1bb)][_0x4876f7(0x1bc)][_0x4876f7(0x1cb)][_0x4876f7(0x1bf)][_0x4876f7(0x1b9)]();this[_0x4876f7(0x1bb)][_0x4876f7(0x1bc)][_0x4876f7(0x1c4)](_0x5725af=>{const _0x12ecb8=_0x4876f7;_0x5725af[_0x12ecb8(0x1cc)](_0x1561fe,_0x43e479),_0x5725af[_0x12ecb8(0x1b8)](_0x12ecb8(0x1c3),_0x43e479),_0x5725af[_0x12ecb8(0x1b8)](_0x12ecb8(0x1ca),_0x43e479);});}}function _0x455d(){const _0x51659e=['imageBlock','imageInline','execute','5004960GbMEBe','sizes','document','setAttributes','1986008gkooAc','isEnabled','refresh','removeAttribute','getSelectedElement','4fApdWo','editor','model','element','739406FxAMPt','selection','4858120RRlODN','2719941rNssJN','5591170nuTVmw','srcset','change','2682396HvUsIu'];_0x455d=function(){return _0x51659e;};return _0x455d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2dcd3b=_0x3ec0;(function(_0x2f5ebd,_0x52462d){var _0x2ad1c6=_0x3ec0,_0x32446e=_0x2f5ebd();while(!![]){try{var _0x179313=parseInt(_0x2ad1c6(0x139))/0x1*(-parseInt(_0x2ad1c6(0x140))/0x2)+parseInt(_0x2ad1c6(0x134))/0x3*(-parseInt(_0x2ad1c6(0x13a))/0x4)+-parseInt(_0x2ad1c6(0x131))/0x5*(-parseInt(_0x2ad1c6(0x138))/0x6)+-parseInt(_0x2ad1c6(0x136))/0x7+-parseInt(_0x2ad1c6(0x13f))/0x8+-parseInt(_0x2ad1c6(0x13c))/0x9*(parseInt(_0x2ad1c6(0x13b))/0xa)+parseInt(_0x2ad1c6(0x13e))/0xb;if(_0x179313===_0x52462d)break;else _0x32446e['push'](_0x32446e['shift']());}catch(_0x453d73){_0x32446e['push'](_0x32446e['shift']());}}}(_0x2dc0,0xd0b64));import{Plugin as _0x3aafb0}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x49239e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x3ec0(_0x591051,_0x27964b){var _0x2dc00f=_0x2dc0();return _0x3ec0=function(_0x3ec027,_0x54c49d){_0x3ec027=_0x3ec027-0x131;var _0x1c5b54=_0x2dc00f[_0x3ec027];return _0x1c5b54;},_0x3ec0(_0x591051,_0x27964b);}import{UploadcareImageEditUI as _0x518702}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2dc0(){var _0x9fc001=['56lzSZEB','5846990xhtyiS','9DmpHlZ','isPremiumPlugin','46364637YrbXul','5156816PIuLlK','830yvTsjn','1740BCOCmj','isOfficialPlugin','requires','339684MPEsRg','pluginName','10363871EzIzjn','UploadcareImageEdit','20406izCdiv','599HoTfyv'];_0x2dc0=function(){return _0x9fc001;};return _0x2dc0();}export class UploadcareImageEdit extends _0x3aafb0{static get[_0x2dcd3b(0x135)](){var _0x155ffc=_0x2dcd3b;return _0x155ffc(0x137);}static get[_0x2dcd3b(0x133)](){return[_0x49239e,_0x518702];}static get[_0x2dcd3b(0x132)](){return!0x0;}static get[_0x2dcd3b(0x13d)](){return!0x0;}}
23
+ var _0x5e4245=_0x31c2;(function(_0x4b7131,_0x49b19a){var _0x496856=_0x31c2,_0x267964=_0x4b7131();while(!![]){try{var _0x5cb4b0=-parseInt(_0x496856(0x70))/0x1+parseInt(_0x496856(0x71))/0x2+-parseInt(_0x496856(0x6f))/0x3*(-parseInt(_0x496856(0x6e))/0x4)+-parseInt(_0x496856(0x6d))/0x5+-parseInt(_0x496856(0x69))/0x6+parseInt(_0x496856(0x65))/0x7*(-parseInt(_0x496856(0x68))/0x8)+parseInt(_0x496856(0x6c))/0x9;if(_0x5cb4b0===_0x49b19a)break;else _0x267964['push'](_0x267964['shift']());}catch(_0x218f38){_0x267964['push'](_0x267964['shift']());}}}(_0x5e58,0x323ea));import{Plugin as _0x384b76}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x514793}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x31c2(_0x44e3ad,_0x5e20fd){var _0x5e5889=_0x5e58();return _0x31c2=function(_0x31c29a,_0x23019e){_0x31c29a=_0x31c29a-0x64;var _0xd3bec=_0x5e5889[_0x31c29a];return _0xd3bec;},_0x31c2(_0x44e3ad,_0x5e20fd);}import{UploadcareImageEditUI as _0x43972d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x384b76{static get[_0x5e4245(0x6a)](){var _0x234c71=_0x5e4245;return _0x234c71(0x66);}static get[_0x5e4245(0x67)](){return[_0x514793,_0x43972d];}static get[_0x5e4245(0x64)](){return!0x0;}static get[_0x5e4245(0x6b)](){return!0x0;}}function _0x5e58(){var _0x470dda=['16aTsMhG','972222yeTVqs','pluginName','isPremiumPlugin','5172354TyAiqC','1257770FTbgTB','1400cKYDxo','2259oHwZjW','13622woJxaq','316802VXnvBD','isOfficialPlugin','1272747PxyycS','UploadcareImageEdit','requires'];_0x5e58=function(){return _0x470dda;};return _0x5e58();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f8d(_0x50a0bf,_0xf90c8a){const _0x3cf57a=_0x3cf5();return _0x1f8d=function(_0x1f8d63,_0x15c467){_0x1f8d63=_0x1f8d63-0x19a;let _0x1c9e77=_0x3cf57a[_0x1f8d63];return _0x1c9e77;},_0x1f8d(_0x50a0bf,_0xf90c8a);}const _0x297579=_0x1f8d;(function(_0x3759e9,_0xa8903){const _0x4197b2=_0x1f8d,_0x3bc8b5=_0x3759e9();while(!![]){try{const _0x31b5f9=-parseInt(_0x4197b2(0x1e2))/0x1+parseInt(_0x4197b2(0x1a2))/0x2*(parseInt(_0x4197b2(0x1a9))/0x3)+-parseInt(_0x4197b2(0x1a8))/0x4+parseInt(_0x4197b2(0x1ae))/0x5+-parseInt(_0x4197b2(0x1b2))/0x6+-parseInt(_0x4197b2(0x1b9))/0x7+parseInt(_0x4197b2(0x1c0))/0x8*(parseInt(_0x4197b2(0x1a4))/0x9);if(_0x31b5f9===_0xa8903)break;else _0x3bc8b5['push'](_0x3bc8b5['shift']());}catch(_0x1a293c){_0x3bc8b5['push'](_0x3bc8b5['shift']());}}}(_0x3cf5,0x7d32b));import{Plugin as _0x12c310}from'ckeditor5/src/core.js';import{IconDropbox as _0x464aa4,IconFacebook as _0x223915,IconGoogleDrive as _0x2e55fd,IconGooglePhotos as _0x46584d,IconUploadcareImageUpload as _0x4b256f,IconUploadcareLink as _0x35972d,IconOneDrive as _0x2e1f0d}from'ckeditor5/src/icons.js';import{ButtonView as _0x49ceb3,MenuBarMenuListItemButtonView as _0x499647}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x37bbf1}from'./uploadcareconfig.js';import{getTranslation as _0x1d4203}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x3cf5(){const _0x55270d=['commands','forEach','uploadcareLicenseKeyInvalid','withText','4559965iXPUxD','_licenseKeyCheckInterval','expired','Local','1221354WhdiBa','Replace','text','uploadcare.uploader.sourceList','Uploadcare','reduce','registerIntegration','4163208RzgzEk','assetManager','push','url','domainLimit','Facebook','upload','9895064UUgTRH','licenseKey','_normalizeConfigSourceList','usageLimit','pluginName','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','trialLimit','config','uploadcareLicenseKeyDomainLimit','evaluationLimit','isImageSelected','_showLicenseError','Dropbox','_createDropdownButtons','_createButton','get','_createMenuBarButtons','afterInit','Insert','type','shortText','bind','tooltip','_createToolbarButton','uploadcareLicenseKeyUsageLimit','has','isOfficialPlugin','init','featureNotAllowed','ImageInsertUI','locale','uploadcareLicenseKeyValid','map','724143oJqnVl','isPremiumPlugin','uploadcare','_getIntegrationKey','execute','editor','destroy','plugins','isEnabled','GPhotos','GDrive','entries','URL','uploadcareLicenseKeyExpired','OneDrive','label','481826FTRLPN','uploadcareLicenseKeyTrialLimit','9lzojJv','invalid','UploadcareUI','icon','1418128AbpAxR','3VOlRhx'];_0x3cf5=function(){return _0x55270d;};return _0x3cf5();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x12c310{[_0x297579(0x1c1)];[_0x297579(0x1af)];static get[_0x297579(0x1c4)](){const _0x6abcc3=_0x297579;return _0x6abcc3(0x1a6);}static get[_0x297579(0x1db)](){return!0x0;}static get[_0x297579(0x1e3)](){return!0x0;}[_0x297579(0x1dc)](){const _0x219ee1=_0x297579;this[_0x219ee1(0x1c1)]=this[_0x219ee1(0x1e7)][_0x219ee1(0x1c8)][_0x219ee1(0x1d0)](_0x219ee1(0x1c1));const _0x5c80a8=this[_0x219ee1(0x1e7)];this[_0x219ee1(0x1af)]=setInterval(()=>{const _0x23fc12=_0x219ee1;let _0x156059;for(const _0x58fb08 in _0x5c80a8){const _0x4f949f=_0x58fb08,_0x192bff=_0x5c80a8[_0x4f949f];if(_0x23fc12(0x1e0)==_0x192bff||_0x23fc12(0x1ac)==_0x192bff||_0x23fc12(0x19f)==_0x192bff||_0x23fc12(0x1c9)==_0x192bff||_0x23fc12(0x1c5)==_0x192bff||_0x23fc12(0x1c6)==_0x192bff||_0x23fc12(0x1a3)==_0x192bff||_0x23fc12(0x1d9)==_0x192bff){delete _0x5c80a8[_0x4f949f],_0x156059=_0x192bff,clearInterval(this[_0x23fc12(0x1af)]),this[_0x23fc12(0x1af)]=void 0x0;break;}}_0x23fc12(0x1ac)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1a5)),_0x23fc12(0x19f)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1b0)),_0x23fc12(0x1c9)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1bd)),_0x23fc12(0x1c5)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1dd),_0x23fc12(0x1b6)),_0x23fc12(0x1c6)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1ca)),_0x23fc12(0x1a3)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1c7)),_0x23fc12(0x1d9)==_0x156059&&_0x5c80a8[_0x23fc12(0x1cc)](_0x23fc12(0x1c3));},0x3e8);}[_0x297579(0x1d2)](){const _0x2291a1=_0x297579,{editor:_0x341aba}=this,_0x899f03=_0x341aba[_0x2291a1(0x1aa)][_0x2291a1(0x1d0)](_0x2291a1(0x1e4));if(!_0x899f03)return;const _0x220455=this[_0x2291a1(0x1c2)](_0x341aba[_0x2291a1(0x1c8)][_0x2291a1(0x1d0)](_0x2291a1(0x1b5)))[_0x2291a1(0x1b7)]((_0x4a9a5d,_0x1784d0)=>{const _0x1bcc32=_0x2291a1,_0x328e19=this[_0x1bcc32(0x1e5)](_0x1784d0[_0x1bcc32(0x1d4)]);return _0x4a9a5d[_0x328e19]||(_0x4a9a5d[_0x328e19]=[]),_0x4a9a5d[_0x328e19][_0x1bcc32(0x1bb)](_0x1784d0),_0x4a9a5d;},{});_0x341aba[_0x2291a1(0x1e9)][_0x2291a1(0x1da)](_0x2291a1(0x1de))&&_0x341aba[_0x2291a1(0x1aa)][_0x2291a1(0x1d0)](_0x2291a1(0x1e4))&&Object[_0x2291a1(0x19d)](_0x220455)[_0x2291a1(0x1ab)](([_0x880960,_0xc51dc4])=>{const _0x2260c8=_0x2291a1;_0x341aba[_0x2260c8(0x1e9)][_0x2260c8(0x1d0)](_0x2260c8(0x1de))[_0x2260c8(0x1b8)]({'name':_0x880960,'observable':()=>_0x899f03,'buttonViewCreator':()=>this[_0x2260c8(0x1d8)](_0xc51dc4),'formViewCreator':()=>this[_0x2260c8(0x1ce)](_0xc51dc4),'menuBarButtonViewCreator':()=>this[_0x2260c8(0x1d1)](_0xc51dc4),'override':_0x2260c8(0x1ba)!==_0x880960});});}[_0x297579(0x1e8)](){const _0x4273d5=_0x297579;super[_0x4273d5(0x1e8)](),this[_0x4273d5(0x1af)]&&clearInterval(this[_0x4273d5(0x1af)]);}[_0x297579(0x1c2)](_0x1c8a4e){const _0x532af8=_0x297579,{locale:_0x4a1fd0}=this[_0x532af8(0x1e7)];return _0x1c8a4e[_0x532af8(0x1e1)](_0x590d96=>{const _0x5d0599=_0x532af8,_0xdbd09b=_0x1d4203(_0x4a1fd0,_0x590d96,_0x5d0599(0x1d3));switch(_0x590d96){case _0x37bbf1[_0x5d0599(0x1b1)]:return{'icon':_0x4b256f,'type':_0x37bbf1[_0x5d0599(0x1b1)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x19e)]:return{'icon':_0x35972d,'type':_0x37bbf1[_0x5d0599(0x19e)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x1cd)]:return{'icon':_0x464aa4,'type':_0x37bbf1[_0x5d0599(0x1cd)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x1be)]:return{'icon':_0x223915,'type':_0x37bbf1[_0x5d0599(0x1be)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x19c)]:return{'icon':_0x2e55fd,'type':_0x37bbf1[_0x5d0599(0x19c)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x19b)]:return{'icon':_0x46584d,'type':_0x37bbf1[_0x5d0599(0x19b)],..._0xdbd09b};case _0x37bbf1[_0x5d0599(0x1a0)]:return{'icon':_0x2e1f0d,'type':_0x37bbf1[_0x5d0599(0x1a0)],..._0xdbd09b};}});}[_0x297579(0x1e5)](_0x19dff3){const _0x541e9c=_0x297579;switch(_0x19dff3){case _0x37bbf1[_0x541e9c(0x1b1)]:return _0x541e9c(0x1bf);case _0x37bbf1[_0x541e9c(0x19e)]:return _0x541e9c(0x1bc);default:return _0x541e9c(0x1ba);}}[_0x297579(0x1cf)](_0x5417b7,_0x587bf1){const _0x481337=_0x297579,_0x59ba1b=this[_0x481337(0x1e7)],_0x4231cc=new _0x5417b7(_0x59ba1b[_0x481337(0x1df)]),_0x342938=_0x59ba1b[_0x481337(0x1aa)][_0x481337(0x1d0)](_0x481337(0x1e4));return _0x4231cc[_0x481337(0x1d6)](_0x481337(0x19a))['to'](_0x342938),_0x4231cc['on'](_0x481337(0x1e6),()=>{const _0x389604=_0x481337;_0x342938[_0x389604(0x1e6)](_0x587bf1);}),_0x4231cc;}[_0x297579(0x1d8)](_0x2cddff){const _0x53dfc2=_0x297579,{locale:_0x5c0727}=this[_0x53dfc2(0x1e7)],_0x29f86e=this[_0x53dfc2(0x1e7)][_0x53dfc2(0x1e9)][_0x53dfc2(0x1d0)](_0x53dfc2(0x1de)),_0x3b7658=_0x2cddff[0x0],_0x5d77c1=this[_0x53dfc2(0x1cf)](_0x49ceb3,_0x3b7658[_0x53dfc2(0x1d4)]);return _0x5d77c1[_0x53dfc2(0x1a7)]=_0x3b7658[_0x53dfc2(0x1a7)],_0x5d77c1[_0x53dfc2(0x1d6)](_0x53dfc2(0x1a1))['to'](_0x29f86e,_0x53dfc2(0x1cb),_0x1948ab=>_0x1d4203(_0x5c0727,_0x3b7658[_0x53dfc2(0x1d4)],_0x1948ab?_0x53dfc2(0x1b3):_0x53dfc2(0x1d3))[_0x53dfc2(0x1b4)]),_0x5d77c1[_0x53dfc2(0x1d7)]=!0x0,_0x5d77c1;}[_0x297579(0x1ce)](_0x1eab42){const _0x54c91c=_0x297579,{locale:_0x25e389}=this[_0x54c91c(0x1e7)],_0xc4c236=this[_0x54c91c(0x1e7)][_0x54c91c(0x1e9)][_0x54c91c(0x1d0)](_0x54c91c(0x1de));return _0x1eab42[_0x54c91c(0x1e1)](_0x430a85=>{const _0x5842f9=_0x54c91c,_0x56a6ed=this[_0x5842f9(0x1cf)](_0x49ceb3,_0x430a85[_0x5842f9(0x1d4)]);return _0x56a6ed[_0x5842f9(0x1ad)]=!0x0,_0x56a6ed[_0x5842f9(0x1a7)]=_0x430a85[_0x5842f9(0x1a7)],_0x56a6ed[_0x5842f9(0x1d6)](_0x5842f9(0x1a1))['to'](_0xc4c236,_0x5842f9(0x1cb),_0x53a4b4=>_0x1d4203(_0x25e389,_0x430a85[_0x5842f9(0x1d4)],_0x53a4b4?_0x5842f9(0x1b3):_0x5842f9(0x1d3))[_0x5842f9(0x1b4)]),_0x56a6ed;});}[_0x297579(0x1d1)](_0x32b438){const _0x4e12de=_0x297579;return _0x32b438[_0x4e12de(0x1e1)](_0x148de3=>{const _0x59d075=_0x4e12de,_0x2031ff=this[_0x59d075(0x1cf)](_0x499647,_0x148de3[_0x59d075(0x1d4)]);return _0x2031ff[_0x59d075(0x1a7)]=_0x148de3[_0x59d075(0x1a7)],_0x2031ff[_0x59d075(0x1a1)]=_0x148de3[_0x59d075(0x1d5)],_0x2031ff;});}}
23
+ const _0x2501f9=_0x4a43;(function(_0x3d92cc,_0x1e808d){const _0x54400a=_0x4a43,_0x599613=_0x3d92cc();while(!![]){try{const _0x163e59=parseInt(_0x54400a(0x1b9))/0x1*(parseInt(_0x54400a(0x1f8))/0x2)+-parseInt(_0x54400a(0x1ef))/0x3*(parseInt(_0x54400a(0x1e6))/0x4)+parseInt(_0x54400a(0x1e7))/0x5*(-parseInt(_0x54400a(0x1ba))/0x6)+parseInt(_0x54400a(0x1b4))/0x7+-parseInt(_0x54400a(0x1de))/0x8+parseInt(_0x54400a(0x1c5))/0x9*(-parseInt(_0x54400a(0x1f3))/0xa)+parseInt(_0x54400a(0x1dd))/0xb;if(_0x163e59===_0x1e808d)break;else _0x599613['push'](_0x599613['shift']());}catch(_0x54eb57){_0x599613['push'](_0x599613['shift']());}}}(_0x5e6c,0x3a3c8));import{Plugin as _0x59b917}from'ckeditor5/src/core.js';import{IconDropbox as _0x22dab7,IconFacebook as _0x433ce0,IconGoogleDrive as _0x1c17df,IconGooglePhotos as _0x5419da,IconUploadcareImageUpload as _0x360f57,IconUploadcareLink as _0x422291,IconOneDrive as _0xace63c}from'ckeditor5/src/icons.js';function _0x4a43(_0x5e3bf1,_0x5321de){const _0x5e6c54=_0x5e6c();return _0x4a43=function(_0x4a437a,_0x47e96b){_0x4a437a=_0x4a437a-0x1af;let _0x4bdcb3=_0x5e6c54[_0x4a437a];return _0x4bdcb3;},_0x4a43(_0x5e3bf1,_0x5321de);}import{ButtonView as _0x1e2924,MenuBarMenuListItemButtonView as _0x491bb5}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x87e0a4}from'./uploadcareconfig.js';import{getTranslation as _0x163787}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x5e6c(){const _0x46d4f2=['_createToolbarButton','uploadcareLicenseKeyInvalid','registerIntegration','licenseKey','expired','destroy','GDrive','isImageSelected','_showLicenseError','_createButton','645849tXEQQK','URL','entries','ImageInsertUI','uploadcareLicenseKeyDomainLimit','Insert','isPremiumPlugin','_createMenuBarButtons','GPhotos','Replace','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','upload','text','forEach','url','Local','Facebook','get','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyExpired','commands','isOfficialPlugin','type','6786857QEnSty','1405696LimFBk','_getIntegrationKey','push','isEnabled','afterInit','locale','reduce','featureNotAllowed','66772GKlUdG','15fNJRdj','uploadcareLicenseKeyValid','UploadcareUI','plugins','uploadcareLicenseKeyEvaluationLimit','usageLimit','domainLimit','uploadcareLicenseKeyNotAllowed','69cjWEAs','assetManager','trialLimit','Uploadcare','20gcsWaY','map','bind','execute','label','2HQrSZd','Dropbox','invalid','editor','pluginName','icon','withText','OneDrive','uploadcare.uploader.sourceList','uploadcare','_licenseKeyCheckInterval','evaluationLimit','_createDropdownButtons','shortText','2175565DiAmmJ','config','init','has','tooltip','23815KQNNSF','19776EEnpjn'];_0x5e6c=function(){return _0x46d4f2;};return _0x5e6c();}export class UploadcareUI extends _0x59b917{[_0x2501f9(0x1be)];[_0x2501f9(0x1b0)];static get[_0x2501f9(0x1fc)](){const _0x585f53=_0x2501f9;return _0x585f53(0x1e9);}static get[_0x2501f9(0x1db)](){return!0x0;}static get[_0x2501f9(0x1cb)](){return!0x0;}[_0x2501f9(0x1b6)](){const _0x4ac6cf=_0x2501f9;this[_0x4ac6cf(0x1be)]=this[_0x4ac6cf(0x1fb)][_0x4ac6cf(0x1b5)][_0x4ac6cf(0x1d7)](_0x4ac6cf(0x1be));const _0x1f65e0=this[_0x4ac6cf(0x1fb)];this[_0x4ac6cf(0x1b0)]=setInterval(()=>{const _0x6af240=_0x4ac6cf;let _0x1762ab;for(const _0x2d59bc in _0x1f65e0){const _0x5d0ae4=_0x2d59bc,_0x237557=_0x1f65e0[_0x5d0ae4];if(_0x6af240(0x1e8)==_0x237557||_0x6af240(0x1bc)==_0x237557||_0x6af240(0x1d9)==_0x237557||_0x6af240(0x1c9)==_0x237557||_0x6af240(0x1ee)==_0x237557||_0x6af240(0x1eb)==_0x237557||_0x6af240(0x1d8)==_0x237557||_0x6af240(0x1cf)==_0x237557){delete _0x1f65e0[_0x5d0ae4],_0x1762ab=_0x237557,clearInterval(this[_0x6af240(0x1b0)]),this[_0x6af240(0x1b0)]=void 0x0;break;}}_0x6af240(0x1bc)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1fa)),_0x6af240(0x1d9)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1bf)),_0x6af240(0x1c9)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1ed)),_0x6af240(0x1ee)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1e5),_0x6af240(0x1f2)),_0x6af240(0x1eb)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1b1)),_0x6af240(0x1d8)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1f1)),_0x6af240(0x1cf)==_0x1762ab&&_0x1f65e0[_0x6af240(0x1c3)](_0x6af240(0x1ec));},0x3e8);}[_0x2501f9(0x1e2)](){const _0x2148d7=_0x2501f9,{editor:_0xa463f3}=this,_0x5ad0bd=_0xa463f3[_0x2148d7(0x1da)][_0x2148d7(0x1d7)](_0x2148d7(0x1af));if(!_0x5ad0bd)return;const _0x3f67a9=this[_0x2148d7(0x1d0)](_0xa463f3[_0x2148d7(0x1b5)][_0x2148d7(0x1d7)](_0x2148d7(0x200)))[_0x2148d7(0x1e4)]((_0x28ca8f,_0x2da928)=>{const _0x466aff=_0x2148d7,_0x438dce=this[_0x466aff(0x1df)](_0x2da928[_0x466aff(0x1dc)]);return _0x28ca8f[_0x438dce]||(_0x28ca8f[_0x438dce]=[]),_0x28ca8f[_0x438dce][_0x466aff(0x1e0)](_0x2da928),_0x28ca8f;},{});_0xa463f3[_0x2148d7(0x1ea)][_0x2148d7(0x1b7)](_0x2148d7(0x1c8))&&_0xa463f3[_0x2148d7(0x1da)][_0x2148d7(0x1d7)](_0x2148d7(0x1af))&&Object[_0x2148d7(0x1c7)](_0x3f67a9)[_0x2148d7(0x1d3)](([_0x21e2dc,_0x57c746])=>{const _0x1df179=_0x2148d7;_0xa463f3[_0x1df179(0x1ea)][_0x1df179(0x1d7)](_0x1df179(0x1c8))[_0x1df179(0x1bd)]({'name':_0x21e2dc,'observable':()=>_0x5ad0bd,'buttonViewCreator':()=>this[_0x1df179(0x1bb)](_0x57c746),'formViewCreator':()=>this[_0x1df179(0x1b2)](_0x57c746),'menuBarButtonViewCreator':()=>this[_0x1df179(0x1cc)](_0x57c746),'override':_0x1df179(0x1f0)!==_0x21e2dc});});}[_0x2501f9(0x1c0)](){const _0x5c1018=_0x2501f9;super[_0x5c1018(0x1c0)](),this[_0x5c1018(0x1b0)]&&clearInterval(this[_0x5c1018(0x1b0)]);}[_0x2501f9(0x1d0)](_0x360724){const _0x3812e9=_0x2501f9,{locale:_0x437a38}=this[_0x3812e9(0x1fb)];return _0x360724[_0x3812e9(0x1f4)](_0x526f31=>{const _0x41dcdb=_0x3812e9,_0x4f127b=_0x163787(_0x437a38,_0x526f31,_0x41dcdb(0x1ca));switch(_0x526f31){case _0x87e0a4[_0x41dcdb(0x1d5)]:return{'icon':_0x360f57,'type':_0x87e0a4[_0x41dcdb(0x1d5)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1c6)]:return{'icon':_0x422291,'type':_0x87e0a4[_0x41dcdb(0x1c6)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1f9)]:return{'icon':_0x22dab7,'type':_0x87e0a4[_0x41dcdb(0x1f9)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1d6)]:return{'icon':_0x433ce0,'type':_0x87e0a4[_0x41dcdb(0x1d6)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1c1)]:return{'icon':_0x1c17df,'type':_0x87e0a4[_0x41dcdb(0x1c1)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1cd)]:return{'icon':_0x5419da,'type':_0x87e0a4[_0x41dcdb(0x1cd)],..._0x4f127b};case _0x87e0a4[_0x41dcdb(0x1ff)]:return{'icon':_0xace63c,'type':_0x87e0a4[_0x41dcdb(0x1ff)],..._0x4f127b};}});}[_0x2501f9(0x1df)](_0xf64c8f){const _0x5c831d=_0x2501f9;switch(_0xf64c8f){case _0x87e0a4[_0x5c831d(0x1d5)]:return _0x5c831d(0x1d1);case _0x87e0a4[_0x5c831d(0x1c6)]:return _0x5c831d(0x1d4);default:return _0x5c831d(0x1f0);}}[_0x2501f9(0x1c4)](_0x54deb5,_0xcf097d){const _0xb0ab1c=_0x2501f9,_0x489125=this[_0xb0ab1c(0x1fb)],_0x1cba36=new _0x54deb5(_0x489125[_0xb0ab1c(0x1e3)]),_0x3d21d0=_0x489125[_0xb0ab1c(0x1da)][_0xb0ab1c(0x1d7)](_0xb0ab1c(0x1af));return _0x1cba36[_0xb0ab1c(0x1f5)](_0xb0ab1c(0x1e1))['to'](_0x3d21d0),_0x1cba36['on'](_0xb0ab1c(0x1f6),()=>{const _0x5b1145=_0xb0ab1c;_0x3d21d0[_0x5b1145(0x1f6)](_0xcf097d);}),_0x1cba36;}[_0x2501f9(0x1bb)](_0x37f5eb){const _0x221ed2=_0x2501f9,{locale:_0x398d70}=this[_0x221ed2(0x1fb)],_0x54a56b=this[_0x221ed2(0x1fb)][_0x221ed2(0x1ea)][_0x221ed2(0x1d7)](_0x221ed2(0x1c8)),_0xafe681=_0x37f5eb[0x0],_0x226799=this[_0x221ed2(0x1c4)](_0x1e2924,_0xafe681[_0x221ed2(0x1dc)]);return _0x226799[_0x221ed2(0x1fd)]=_0xafe681[_0x221ed2(0x1fd)],_0x226799[_0x221ed2(0x1f5)](_0x221ed2(0x1f7))['to'](_0x54a56b,_0x221ed2(0x1c2),_0x4d7180=>_0x163787(_0x398d70,_0xafe681[_0x221ed2(0x1dc)],_0x4d7180?_0x221ed2(0x1ce):_0x221ed2(0x1ca))[_0x221ed2(0x1d2)]),_0x226799[_0x221ed2(0x1b8)]=!0x0,_0x226799;}[_0x2501f9(0x1b2)](_0x9e6a67){const _0x4784b6=_0x2501f9,{locale:_0x32ceb5}=this[_0x4784b6(0x1fb)],_0x5e8ee6=this[_0x4784b6(0x1fb)][_0x4784b6(0x1ea)][_0x4784b6(0x1d7)](_0x4784b6(0x1c8));return _0x9e6a67[_0x4784b6(0x1f4)](_0x7a4ff2=>{const _0x4dd5a0=_0x4784b6,_0x78e51a=this[_0x4dd5a0(0x1c4)](_0x1e2924,_0x7a4ff2[_0x4dd5a0(0x1dc)]);return _0x78e51a[_0x4dd5a0(0x1fe)]=!0x0,_0x78e51a[_0x4dd5a0(0x1fd)]=_0x7a4ff2[_0x4dd5a0(0x1fd)],_0x78e51a[_0x4dd5a0(0x1f5)](_0x4dd5a0(0x1f7))['to'](_0x5e8ee6,_0x4dd5a0(0x1c2),_0x520ec7=>_0x163787(_0x32ceb5,_0x7a4ff2[_0x4dd5a0(0x1dc)],_0x520ec7?_0x4dd5a0(0x1ce):_0x4dd5a0(0x1ca))[_0x4dd5a0(0x1d2)]),_0x78e51a;});}[_0x2501f9(0x1cc)](_0x3161a8){const _0x2706ab=_0x2501f9;return _0x3161a8[_0x2706ab(0x1f4)](_0x26bbe2=>{const _0x214d64=_0x2706ab,_0x5c6fd3=this[_0x214d64(0x1c4)](_0x491bb5,_0x26bbe2[_0x214d64(0x1dc)]);return _0x5c6fd3[_0x214d64(0x1fd)]=_0x26bbe2[_0x214d64(0x1fd)],_0x5c6fd3[_0x214d64(0x1f7)]=_0x26bbe2[_0x214d64(0x1b3)],_0x5c6fd3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x118e94}from'ckeditor5/src/core.js';import{FileRepository as _0x4a773b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x46136b}from'./uploadcareediting.js';import{UploadUtils as _0x5c8842}from'./utils/uploadutils.js';import{getImageUrls as _0x306187}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x118e94{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4a773b,_0x46136b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x51753d=this['editor'];if(!!!_0x51753d['config']['get']('uploadcare'))return;_0x51753d['plugins']['get'](_0x4a773b)['createUploadAdapter']=_0x1ba94d=>new k(_0x1ba94d,_0x51753d),_0x51753d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5d44b5,{imageElement:_0x19080a,data:_0x4881d0})=>{_0x51753d['model']['change'](_0x3cd44f=>{_0x3cd44f['setAttribute']('uploadcareImageId',_0x4881d0['uploadcareImageId'],_0x19080a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x34c0a4,_0x5f214c){this['loader']=_0x34c0a4,this['editor']=_0x5f214c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e4a75=await this['loader']['file'];return _0x5c8842['upload']({'file':_0x5e4a75,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4ab139=>{_0x4ab139&&_0x4ab139['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4ab139['value']);}})['then'](async _0x3e3429=>{const {imageFallbackUrl:_0x442922,imageSources:_0x5e4a10}=_0x306187(_0x3e3429['cdnUrl'],_0x3e3429['imageInfo']['width']);return{'uploadcareImageId':_0x3e3429['uuid'],'default':_0x442922,'sources':_0x5e4a10};})['catch'](()=>{const _0x1c992c=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e4a75['name']+'.');return Promise['reject'](_0x1c992c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xd45083}from'ckeditor5/src/core.js';import{FileRepository as _0x42473e}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x30d1ca}from'./uploadcareediting.js';import{UploadUtils as _0x4a1c91}from'./utils/uploadutils.js';import{getImageUrls as _0x4e7df3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xd45083{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x42473e,_0x30d1ca];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3be445=this['editor'];if(!!!_0x3be445['config']['get']('uploadcare'))return;_0x3be445['plugins']['get'](_0x42473e)['createUploadAdapter']=_0x5254f0=>new k(_0x5254f0,_0x3be445),_0x3be445['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x284d5c,{imageElement:_0x171ab6,data:_0x1ba5d7})=>{_0x3be445['model']['change'](_0x5d94bf=>{_0x5d94bf['setAttribute']('uploadcareImageId',_0x1ba5d7['uploadcareImageId'],_0x171ab6);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4d0bc8,_0x2b9981){this['loader']=_0x4d0bc8,this['editor']=_0x2b9981,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3402d3=await this['loader']['file'];return _0x4a1c91['upload']({'file':_0x3402d3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x355b51=>{_0x355b51&&_0x355b51['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x355b51['value']);}})['then'](async _0x36aea2=>{const {imageFallbackUrl:_0x109592,imageSources:_0x2b641c}=_0x4e7df3(_0x36aea2['cdnUrl'],_0x36aea2['imageInfo']['width']);return{'uploadcareImageId':_0x36aea2['uuid'],'default':_0x109592,'sources':_0x2b641c};})['catch'](()=>{const _0x105764=t('Cannot\x20upload\x20file:')+('\x20'+_0x3402d3['name']+'.');return Promise['reject'](_0x105764);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2cc2ae}from'../uploadcareconfig.js';export function getTranslation(_0x408e09,_0xddf63a,_0x21947c){const t=_0x408e09['t'],_0x1486de=_0x408e09['t'];switch(_0xddf63a){case _0x2cc2ae['Local']:return{'text':_0x1486de('Insert'===_0x21947c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1486de('From\x20computer')};case _0x2cc2ae['URL']:return{'text':'Insert'===_0x21947c?_0x1486de('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1486de('Via\x20URL')};case _0x2cc2ae['Dropbox']:return{'text':t('Insert'===_0x21947c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2cc2ae['Facebook']:return{'text':t('Insert'===_0x21947c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2cc2ae['GDrive']:return{'text':t('Insert'===_0x21947c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2cc2ae['GPhotos']:return{'text':t('Insert'===_0x21947c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2cc2ae['OneDrive']:return{'text':t('Insert'===_0x21947c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xddf63a;}}
23
+ import{UploadcareSource as _0x45a531}from'../uploadcareconfig.js';export function getTranslation(_0x3d28a3,_0x1e102b,_0x549d62){const t=_0x3d28a3['t'],_0x2edbe3=_0x3d28a3['t'];switch(_0x1e102b){case _0x45a531['Local']:return{'text':_0x2edbe3('Insert'===_0x549d62?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2edbe3('From\x20computer')};case _0x45a531['URL']:return{'text':'Insert'===_0x549d62?_0x2edbe3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2edbe3('Via\x20URL')};case _0x45a531['Dropbox']:return{'text':t('Insert'===_0x549d62?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x45a531['Facebook']:return{'text':t('Insert'===_0x549d62?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x45a531['GDrive']:return{'text':t('Insert'===_0x549d62?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x45a531['GPhotos']:return{'text':t('Insert'===_0x549d62?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x45a531['OneDrive']:return{'text':t('Insert'===_0x549d62?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1e102b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5eb4bf=_0x2c32;(function(_0x5dce21,_0x432e54){var _0x7b4adb=_0x2c32,_0x2879e6=_0x5dce21();while(!![]){try{var _0xbe566f=parseInt(_0x7b4adb(0x1c4))/0x1*(-parseInt(_0x7b4adb(0x1c0))/0x2)+-parseInt(_0x7b4adb(0x1c8))/0x3+parseInt(_0x7b4adb(0x1c6))/0x4+-parseInt(_0x7b4adb(0x1ba))/0x5+parseInt(_0x7b4adb(0x1c9))/0x6*(-parseInt(_0x7b4adb(0x1c1))/0x7)+-parseInt(_0x7b4adb(0x1bc))/0x8+parseInt(_0x7b4adb(0x1b9))/0x9*(parseInt(_0x7b4adb(0x1bb))/0xa);if(_0xbe566f===_0x432e54)break;else _0x2879e6['push'](_0x2879e6['shift']());}catch(_0x3f2180){_0x2879e6['push'](_0x2879e6['shift']());}}}(_0x3718,0x949b3));import{FocusTracker as _0xc8ad5b}from'ckeditor5/src/utils.js';import{View as _0x30a974,FocusCycler as _0x16d1a5}from'ckeditor5/src/ui.js';function _0x2c32(_0x2e4234,_0x481b64){var _0x37188f=_0x3718();return _0x2c32=function(_0x2c32d2,_0x407412){_0x2c32d2=_0x2c32d2-0x1b8;var _0x34aa9e=_0x37188f[_0x2c32d2];return _0x34aa9e;},_0x2c32(_0x2e4234,_0x481b64);}import'../../theme/uploadcare-form.css';function _0x3718(){var _0x1b1e09=['bindTemplate','fire','6byYKVR','focusCycler','3076296CCFkvs','true','1227765IutcgP','18UduRYC','getFocusableElement','focusTracker','154458gFUEhf','2183415jfyJAc','1970kUyEDB','9187440vbczmf','forwardCycle','div','createCollection','246602NdVvUd','1883287kaBSrk'];_0x3718=function(){return _0x1b1e09;};return _0x3718();}export class DialogFocusManagerView extends _0x30a974{[_0x5eb4bf(0x1b8)];[_0x5eb4bf(0x1c5)];constructor(_0x3cd973){var _0x3b87b9=_0x5eb4bf;super(_0x3cd973),this[_0x3b87b9(0x1b8)]=new _0xc8ad5b(),this[_0x3b87b9(0x1c5)]=new _0x16d1a5({'focusables':this[_0x3b87b9(0x1bf)](),'focusTracker':this[_0x3b87b9(0x1b8)]});}[_0x5eb4bf(0x1ca)](){var _0x35fd94=_0x5eb4bf;return{'tag':_0x35fd94(0x1be),'attributes':{'aria-hidden':_0x35fd94(0x1c7),'tabindex':'0'},'on':{'focus':this[_0x35fd94(0x1c2)]['to'](()=>{var _0x23e1ba=_0x35fd94;this[_0x23e1ba(0x1c5)][_0x23e1ba(0x1c3)](_0x23e1ba(0x1bd));})}};}}
23
+ var _0x2c224d=_0x2df5;function _0x2df5(_0x201895,_0x3d84bb){var _0x18eafa=_0x18ea();return _0x2df5=function(_0x2df584,_0x5befa2){_0x2df584=_0x2df584-0x1d2;var _0x60e372=_0x18eafa[_0x2df584];return _0x60e372;},_0x2df5(_0x201895,_0x3d84bb);}(function(_0xb93072,_0xb4d642){var _0x48817f=_0x2df5,_0x25d9b2=_0xb93072();while(!![]){try{var _0x5c5b39=-parseInt(_0x48817f(0x1d7))/0x1+-parseInt(_0x48817f(0x1da))/0x2*(parseInt(_0x48817f(0x1d9))/0x3)+parseInt(_0x48817f(0x1d6))/0x4*(parseInt(_0x48817f(0x1e0))/0x5)+parseInt(_0x48817f(0x1d5))/0x6+-parseInt(_0x48817f(0x1e1))/0x7*(parseInt(_0x48817f(0x1d3))/0x8)+-parseInt(_0x48817f(0x1d4))/0x9*(-parseInt(_0x48817f(0x1df))/0xa)+parseInt(_0x48817f(0x1d2))/0xb*(parseInt(_0x48817f(0x1e6))/0xc);if(_0x5c5b39===_0xb4d642)break;else _0x25d9b2['push'](_0x25d9b2['shift']());}catch(_0x56b789){_0x25d9b2['push'](_0x25d9b2['shift']());}}}(_0x18ea,0x53bd1));import{FocusTracker as _0x219a93}from'ckeditor5/src/utils.js';function _0x18ea(){var _0x417f5b=['focusTracker','10tfTjpP','677965NxBiyw','434bHrwJg','createCollection','forwardCycle','getFocusableElement','bindTemplate','2114952iAoaUW','22DLSrQA','86568xJtmSo','5350599GBejTi','3005364ZZRTZj','4nMouMX','108983NplLHn','true','690918KWWxRD','4qSLWBd','div','fire','focusCycler'];_0x18ea=function(){return _0x417f5b;};return _0x18ea();}import{View as _0x32598d,FocusCycler as _0x466bca}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x32598d{[_0x2c224d(0x1de)];[_0x2c224d(0x1dd)];constructor(_0x384c55){var _0x419589=_0x2c224d;super(_0x384c55),this[_0x419589(0x1de)]=new _0x219a93(),this[_0x419589(0x1dd)]=new _0x466bca({'focusables':this[_0x419589(0x1e2)](),'focusTracker':this[_0x419589(0x1de)]});}[_0x2c224d(0x1e4)](){var _0x59e520=_0x2c224d;return{'tag':_0x59e520(0x1db),'attributes':{'aria-hidden':_0x59e520(0x1d8),'tabindex':'0'},'on':{'focus':this[_0x59e520(0x1e5)]['to'](()=>{var _0x80eb7e=_0x59e520;this[_0x80eb7e(0x1dd)][_0x80eb7e(0x1dc)](_0x80eb7e(0x1e3));})}};}}