@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250930.0 → 0.0.0-nightly-20251002.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4114(_0x256f6e,_0x4fbc21){const _0x229d2b=_0x229d();return _0x4114=function(_0x4114a5,_0x34ffd6){_0x4114a5=_0x4114a5-0x84;let _0x3f7377=_0x229d2b[_0x4114a5];return _0x3f7377;},_0x4114(_0x256f6e,_0x4fbc21);}function _0x229d(){const _0x28321b=['input[uploadcare-file-input]','removeAttribute','1618437HZnLNj','extend','\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','view','2060226ubqysG','contentLanguage','editor','conversion','listenTo','remove','isRegistered','imageInline','ucContextId','appendChild','isPremiumPlugin','_initCtx','execute','schema','editing','_configElement','#uc-icon-arrow-down','uploadcare','downcast','init','isOfficialPlugin','uploadcare.uploader','once','requires','locale','uploadcare.pubkey','map','uc-config','destroy','2248kyfPZk','1117534JzBHTp','imageBlock','pluginName','document','body','PictureEditing','4grqmVs','querySelector','585295iTFvxl','selection','_initConfig','5047CltvWf','afterInit','add','join','_ctxElement','configElement','getSelectedElement','model','_initSchema','for','href','getAttribute','uploadcareImageId','_initConversion','_initImageProcessingIndicator','config','get','upcast','true','replaceImageSource','ctxElement','cleanupImage','iconHrefResolver','90MXITEu','UploadcareEditing','uc-upload-ctx-provider','2239430IXnNbG','uploadcareImageReplace','fromCharCode','1456495YhrXol','data-uc-image-id','elementToAttribute','commands','render','closeMax','uploader-','attributeToAttribute','insertImage'];_0x229d=function(){return _0x28321b;};return _0x229d();}const _0x5a6708=_0x4114;(function(_0x941f3b,_0x6aa117){const _0x363f90=_0x4114,_0x2f3b4a=_0x941f3b();while(!![]){try{const _0x7dcf90=-parseInt(_0x363f90(0xa5))/0x1+-parseInt(_0x363f90(0x9d))/0x2+-parseInt(_0x363f90(0xd0))/0x3+-parseInt(_0x363f90(0xa3))/0x4*(-parseInt(_0x363f90(0xc5))/0x5)+-parseInt(_0x363f90(0xd4))/0x6+-parseInt(_0x363f90(0xa8))/0x7*(parseInt(_0x363f90(0x9c))/0x8)+parseInt(_0x363f90(0xbf))/0x9*(parseInt(_0x363f90(0xc2))/0xa);if(_0x7dcf90===_0x6aa117)break;else _0x2f3b4a['push'](_0x2f3b4a['shift']());}catch(_0x5df8d9){_0x2f3b4a['push'](_0x2f3b4a['shift']());}}}(_0x229d,0x498a0));import{Plugin as _0x5a4a4b}from'ckeditor5/src/core.js';import{Dialog as _0x5682e4}from'ckeditor5/src/ui.js';import{createElement as _0x1d5142,global as _0xe5e592,uid as _0x12c792}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1b3c5b}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2e6968}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x52238c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5a4a4b{[_0x5a6708(0x8e)]=null;[_0x5a6708(0xac)]=null;static get[_0x5a6708(0x9f)](){const _0x4d624c=_0x5a6708;return _0x4d624c(0xc0);}static get[_0x5a6708(0x96)](){const _0x3fbf23=_0x5a6708;return[_0x3fbf23(0xa2),_0x2e6968,_0x5682e4];}static get[_0x5a6708(0x93)](){return!0x0;}static get[_0x5a6708(0x89)](){return!0x0;}[_0x5a6708(0x87)];get[_0x5a6708(0xad)](){const _0x539739=_0x5a6708;return this[_0x539739(0x8e)];}get[_0x5a6708(0xbc)](){const _0x57c060=_0x5a6708;return this[_0x57c060(0xac)];}constructor(_0x53a3bd){const _0x3f5069=_0x5a6708;super(_0x53a3bd),this[_0x3f5069(0x87)]=_0x12c792();}[_0x5a6708(0x92)](){const _0x4f5e26=_0x5a6708,_0x57e76a=this[_0x4f5e26(0xd6)];_0x57e76a[_0x4f5e26(0xc8)][_0x4f5e26(0xaa)](_0x4f5e26(0x90),new _0x1b3c5b(_0x57e76a));}[_0x5a6708(0xa9)](){const _0x491c4c=_0x5a6708;this[_0x491c4c(0xb0)](),this[_0x491c4c(0xb5)](),this[_0x491c4c(0xa7)](),this[_0x491c4c(0x8a)](),this[_0x491c4c(0xb6)](),this[_0x491c4c(0xd8)](this[_0x491c4c(0xd6)],_0x491c4c(0x9b),()=>{const _0x500fdd=_0x491c4c;this[_0x500fdd(0x8e)]&&(this[_0x500fdd(0x8e)][_0x500fdd(0x84)](),this[_0x500fdd(0x8e)]=null),this[_0x500fdd(0xac)]&&(this[_0x500fdd(0xac)][_0x500fdd(0x84)](),this[_0x500fdd(0xac)]=null);const _0x3db872=_0xe5e592[_0x500fdd(0xa0)][_0x500fdd(0xa4)](_0x500fdd(0xce));_0x3db872&&_0x3db872[_0x500fdd(0x84)]();}),async function(_0x57fe0a){const _0x52c414=_0x34fe16([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]),_0x207a8c=0x3d8d0df,_0x5945b7=0x3dfa407^_0x207a8c,_0x36d13f=window[_0x34fe16([0x44,0x61,0x74,0x65])][_0x34fe16([0x6e,0x6f,0x77])](),_0x345078=_0x57fe0a[_0x34fe16([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47fd59=new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f4419=>{_0x345078[_0x34fe16([0x6f,0x6e,0x63,0x65])](_0x34fe16([0x72,0x65,0x61,0x64,0x79]),_0x1f4419);}),_0x4fbd55={[_0x34fe16([0x6b,0x74,0x79])]:_0x34fe16([0x45,0x43]),[_0x34fe16([0x75,0x73,0x65])]:_0x34fe16([0x73,0x69,0x67]),[_0x34fe16([0x63,0x72,0x76])]:_0x34fe16([0x50,0x2d,0x32,0x35,0x36]),[_0x34fe16([0x78])]:_0x34fe16([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]),[_0x34fe16([0x79])]:_0x34fe16([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]),[_0x34fe16([0x61,0x6c,0x67])]:_0x34fe16([0x45,0x53,0x32,0x35,0x36])},_0x4a5e8a=_0x345078[_0x34fe16([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34fe16([0x67,0x65,0x74])](_0x34fe16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x252bb8(){let _0x34395b,_0x1e26be=null,_0x13aafa=null;try{if(_0x4a5e8a==_0x34fe16([0x47,0x50,0x4c]))return _0x34fe16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34395b=_0x587a8e(),!_0x34395b)return _0x34fe16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34395b[_0x34fe16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13aafa=_0x2721ad(_0x34395b[_0x34fe16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34395b[_0x34fe16([0x6a,0x74,0x69])])),await _0x22a223()?_0x584aad()?_0x4db3c7()?_0x34fe16([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42c2f8()?(_0x34395b[_0x34fe16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34fe16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e26be=_0x13cd8e(_0x34fe16([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34395b[_0x34fe16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34fe16([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e26be=_0x13cd8e(_0x34fe16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54d181()):_0x34fe16([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34fe16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34fe16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34fe16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4db3c7(){const _0x3fce60=[_0x34fe16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34fe16([0x74,0x72,0x69,0x61,0x6c])][_0x34fe16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34395b[_0x34fe16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36d13f/0x3e8:0xe10*_0x5945b7;return _0x34395b[_0x34fe16([0x65,0x78,0x70])]<_0x3fce60;}function _0x584aad(){const _0x126c00=_0x34395b[_0x34fe16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x126c00&&(!!_0x126c00[_0x34fe16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34fe16([0x2a]))||!!_0x126c00[_0x34fe16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34fe16([0x55,0x50,0x4c,0x43])));}function _0x42c2f8(){const _0x396a03=_0x4114,_0x255053=_0x34395b[_0x34fe16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x255053||0x0==_0x255053[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18277d}=new URL(window[_0x34fe16([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x396a03(0xb2)]);if(_0x255053[_0x34fe16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18277d))return!0x0;const _0xfe2b16=_0x18277d[_0x34fe16([0x73,0x70,0x6c,0x69,0x74])](_0x34fe16([0x2e]));return _0x255053[_0x34fe16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7402e8=>_0x7402e8[_0x34fe16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34fe16([0x2a])))[_0x34fe16([0x6d,0x61,0x70])](_0x39ab43=>_0x39ab43[_0x34fe16([0x73,0x70,0x6c,0x69,0x74])](_0x34fe16([0x2e])))[_0x34fe16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x350a05=>_0x350a05[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfe2b16[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34fe16([0x6d,0x61,0x70])](_0x271d04=>Array(_0xfe2b16[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x271d04[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34fe16([0x66,0x69,0x6c,0x6c])](_0x271d04[0x0]===_0x34fe16([0x2a])?_0x34fe16([0x2a]):'')[_0x34fe16([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x271d04))[_0x34fe16([0x73,0x6f,0x6d,0x65])](_0x1d5f38=>_0xfe2b16[_0x34fe16([0x65,0x76,0x65,0x72,0x79])]((_0x454ac0,_0x4b034d)=>_0x1d5f38[_0x4b034d]===_0x454ac0||_0x1d5f38[_0x4b034d]===_0x34fe16([0x2a])));}function _0x54d181(){return _0x1e26be&&_0x13aafa?new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x94e201,_0x534d4b)=>{_0x1e26be[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x94e201,_0x534d4b),_0x13aafa[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x2e38d2=>{_0x2e38d2!=_0x34fe16([0x56,0x61,0x6c,0x69,0x64])&&_0x94e201(_0x2e38d2);},_0x534d4b);}):_0x1e26be||_0x13aafa||_0x34fe16([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2721ad(_0x132fd6,_0x562f8e){return new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15960e=>{if(_0x34159b())return _0x15960e(_0x34fe16([0x56,0x61,0x6c,0x69,0x64]));_0x4b555e(),_0x345078[_0x34fe16([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34fe16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fdcd8=!0x1;const _0x2b6779=_0x12c792();function _0x11e05f(_0x1a7f9d){return!!_0x1a7f9d&&(typeof _0x1a7f9d===_0x34fe16([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a7f9d===_0x34fe16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a7f9d[_0x34fe16([0x74,0x68,0x65,0x6e])]===_0x34fe16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a7f9d[_0x34fe16([0x63,0x61,0x74,0x63,0x68])]===_0x34fe16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44e5bb(_0x3bbab0){_0x1d00fb(_0x3bbab0)[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x30f000=>{if(!_0x30f000||_0x30f000[_0x34fe16([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34fe16([0x6f,0x6b]))return _0x34fe16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x447048(_0x27c53f(_0x2b6779+_0x562f8e))!=_0x30f000[_0x34fe16([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34fe16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34fe16([0x56,0x61,0x6c,0x69,0x64]);})[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x554b00=>(_0x22fa6c(),_0x554b00),()=>{const _0x336604=_0x485182();return null==_0x336604?(_0x22fa6c(),_0x34fe16([0x56,0x61,0x6c,0x69,0x64])):_0x34fe16(_0x36d13f-_0x336604>(0x27d454df^_0x207a8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x15960e)[_0x34fe16([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15960e(_0x34fe16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f016f=0x3ee3e5f^_0x207a8c;function _0x22fa6c(){const _0x570123=_0x34fe16([0x6c,0x6c,0x63,0x74,0x2d])+_0x447048(_0x27c53f(_0x132fd6)),_0x596e90=_0x33b7f7(_0x447048(window[_0x34fe16([0x4d,0x61,0x74,0x68])][_0x34fe16([0x63,0x65,0x69,0x6c])](_0x36d13f/_0x5f016f)));window[_0x34fe16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34fe16([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570123,_0x596e90);}function _0x485182(){const _0x2ffb40=_0x34fe16([0x6c,0x6c,0x63,0x74,0x2d])+_0x447048(_0x27c53f(_0x132fd6)),_0x25fa01=window[_0x34fe16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34fe16([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ffb40);return _0x25fa01?window[_0x34fe16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33b7f7(_0x25fa01),0x10)*_0x5f016f:null;}function _0x1d00fb(_0x2f5f0e){return new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b3380,_0xbd4b3f)=>{_0x2f5f0e[_0x34fe16([0x74,0x68,0x65,0x6e])](_0x4b3380,_0xbd4b3f),window[_0x34fe16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xbd4b3f,0x3d9041f^_0x207a8c);});}}_0x345078[_0x34fe16([0x6f,0x6e])](_0x34fe16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af27b,_0x38493c)=>{if(_0x38493c[0x0]!=_0x132fd6)return _0x15960e(_0x34fe16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38493c[0x1]={..._0x38493c[0x1],[_0x34fe16([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b6779};},{[_0x34fe16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34fe16([0x68,0x69,0x67,0x68])}),_0x345078[_0x34fe16([0x6f,0x6e])](_0x34fe16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12a400=>{_0x11e05f(_0x12a400[_0x34fe16([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fdcd8=!0x0,_0x44e5bb(_0x12a400[_0x34fe16([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34fe16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34fe16([0x6c,0x6f,0x77])}),_0x47fd59[_0x34fe16([0x74,0x68,0x65,0x6e])](()=>{_0x4fdcd8||_0x15960e(_0x34fe16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34159b(){return _0x345078[_0x34fe16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34fe16([0x76,0x69,0x65,0x77])][_0x34fe16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34fe16([0x61,0x75,0x74,0x6f]);}function _0x4b555e(){_0x345078[_0x34fe16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34fe16([0x76,0x69,0x65,0x77])][_0x34fe16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34fe16([0x61,0x75,0x74,0x6f]);}}function _0x13cd8e(_0x8ba7fb){const _0x9006a=[new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4daee4=>setTimeout(_0x4daee4,0x3d1ee13^_0x207a8c)),_0x47fd59[_0x34fe16([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x340a58=>{let _0x16b961=0x0;_0x345078[_0x34fe16([0x6d,0x6f,0x64,0x65,0x6c])][_0x34fe16([0x6f,0x6e])](_0x34fe16([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3436c4,_0x49c81a)=>{_0x49c81a[0x0][_0x34fe16([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16b961++,_0x16b961==(0x3d8d127^_0x207a8c)&&(_0x340a58(),_0x3436c4[_0x34fe16([0x6f,0x66,0x66])]());});}))];return window[_0x34fe16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34fe16([0x72,0x61,0x63,0x65])](_0x9006a)[_0x34fe16([0x74,0x68,0x65,0x6e])](()=>_0x8ba7fb);}async function _0x9c26de(){await _0x47fd59,_0x345078[_0x34fe16([0x6d,0x6f,0x64,0x65,0x6c])][_0x34fe16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa47d5f,_0x345078[_0x34fe16([0x6d,0x6f,0x64,0x65,0x6c])][_0x34fe16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa47d5f,_0x345078[_0x34fe16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34fe16([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22fc04(_0x37763b){const _0x4a6fe1=_0xf61ecf();_0x345078[_0x4a6fe1]=_0x34fe16([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37763b,_0x37763b!=_0x34fe16([0x56,0x61,0x6c,0x69,0x64])&&_0x9c26de();}function _0xf61ecf(){const _0x1d86e3=window[_0x34fe16([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34fe16([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34fe16([0x6e,0x6f,0x77])]())[_0x34fe16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34fe16([0x2e]),'');let _0x2a41b4=_0x34fe16([0x52]);for(let _0x34371b=0x0;_0x34371b<_0x1d86e3[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34371b+=0x2){let _0x283339=window[_0x34fe16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d86e3[_0x34fe16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34371b,_0x34371b+0x2));_0x283339>=_0x52c414[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x283339-=_0x52c414[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a41b4+=_0x52c414[_0x283339];}return _0x2a41b4;}function _0x587a8e(){const _0x740657=_0x4a5e8a[_0x34fe16([0x73,0x70,0x6c,0x69,0x74])](_0x34fe16([0x2e]));if(0x3!=_0x740657[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26a0ba(_0x740657[0x1]);function _0x26a0ba(_0x3c58cd){const _0x4c626e=_0x389c65(_0x3c58cd);return _0x4c626e&&_0x10670e()?_0x4c626e:null;function _0x10670e(){const _0x52a2c1=_0x4c626e[_0x34fe16([0x6a,0x74,0x69])],_0x4543ac=window[_0x34fe16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a2c1[_0x34fe16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52a2c1[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c45df={..._0x4c626e,[_0x34fe16([0x6a,0x74,0x69])]:_0x52a2c1[_0x34fe16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52a2c1[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c45df[_0x34fe16([0x76,0x63])],_0x27c53f(_0x3c45df)==_0x4543ac;}}}async function _0x22a223(){let _0x4e9f2d=!0x0;try{const _0x388bbc=_0x4a5e8a[_0x34fe16([0x73,0x70,0x6c,0x69,0x74])](_0x34fe16([0x2e])),[_0x32ef48,_0x58fd4c,_0x3f0f42]=_0x388bbc;return _0xb15c38(_0x32ef48),await _0x2ba596(_0x32ef48,_0x58fd4c,_0x3f0f42),_0x4e9f2d;}catch{return!0x1;}function _0xb15c38(_0x23fb88){const _0x16e714=_0x389c65(_0x23fb88);_0x16e714&&_0x16e714[_0x34fe16([0x61,0x6c,0x67])]==_0x34fe16([0x45,0x53,0x32,0x35,0x36])||(_0x4e9f2d=!0x1);}async function _0x2ba596(_0x33f503,_0x49f667,_0x4da6db){const _0x179362=window[_0x34fe16([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34fe16([0x66,0x72,0x6f,0x6d])](_0x1946d9(_0x4da6db),_0x3337ed=>_0x3337ed[_0x34fe16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39df39=new window[(_0x34fe16([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34fe16([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33f503+_0x34fe16([0x2e])+_0x49f667),_0x1738ba=window[_0x34fe16([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34fe16([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1738ba)return;const _0x34a2cc=await _0x1738ba[_0x34fe16([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34fe16([0x6a,0x77,0x6b]),_0x4fbd55,{[_0x34fe16([0x6e,0x61,0x6d,0x65])]:_0x34fe16([0x45,0x43,0x44,0x53,0x41]),[_0x34fe16([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34fe16([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34fe16([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1738ba[_0x34fe16([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34fe16([0x6e,0x61,0x6d,0x65])]:_0x34fe16([0x45,0x43,0x44,0x53,0x41]),[_0x34fe16([0x68,0x61,0x73,0x68])]:{[_0x34fe16([0x6e,0x61,0x6d,0x65])]:_0x34fe16([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34a2cc,_0x179362,_0x39df39)||(_0x4e9f2d=!0x1);}}function _0x389c65(_0x28bb8c){return _0x28bb8c[_0x34fe16([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34fe16([0x65,0x79]))?JSON[_0x34fe16([0x70,0x61,0x72,0x73,0x65])](_0x1946d9(_0x28bb8c)):null;}function _0x1946d9(_0x4827ed){return window[_0x34fe16([0x61,0x74,0x6f,0x62])](_0x4827ed[_0x34fe16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34fe16([0x2b]))[_0x34fe16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34fe16([0x2f])));}function _0x27c53f(_0x469309){let _0x271268=0x1505;function _0x290aad(_0x4d4639){for(let _0x18509e=0x0;_0x18509e<_0x4d4639[_0x34fe16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18509e++){const _0x4027ea=_0x4d4639[_0x34fe16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18509e);_0x271268=(_0x271268<<0x5)+_0x271268+_0x4027ea,_0x271268&=_0x271268;}}function _0x4047aa(_0x1a4d9c){Array[_0x34fe16([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a4d9c)?_0x1a4d9c[_0x34fe16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4047aa):_0x1a4d9c&&typeof _0x1a4d9c==_0x34fe16([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34fe16([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a4d9c)[_0x34fe16([0x73,0x6f,0x72,0x74])]()[_0x34fe16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x528cf8,_0x417646])=>{_0x290aad(_0x528cf8),_0x4047aa(_0x417646);}):_0x290aad(window[_0x34fe16([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a4d9c));}return _0x4047aa(_0x469309),_0x271268>>>0x0;}function _0x447048(_0x41d0b2){return _0x41d0b2[_0x34fe16([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34fe16([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34fe16([0x30]));}function _0x33b7f7(_0x57049f){return _0x57049f[_0x34fe16([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34fe16([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34fe16([0x6a,0x6f,0x69,0x6e])]('');}function _0xa47d5f(){}function _0x34fe16(_0x5d7c82){const _0x532e75=_0x4114;return _0x5d7c82[_0x532e75(0x99)](_0x2d1ab9=>String[_0x532e75(0xc4)](_0x2d1ab9))[_0x532e75(0xab)]('');}_0x22fc04(await _0x252bb8());}(this);}[_0x5a6708(0xb0)](){const _0x22b10d=_0x5a6708,_0x3f58b4=this[_0x22b10d(0xd6)][_0x22b10d(0xaf)][_0x22b10d(0x8c)];_0x3f58b4[_0x22b10d(0x85)](_0x22b10d(0x9e))&&_0x3f58b4[_0x22b10d(0xd1)](_0x22b10d(0x9e),{'allowAttributes':[_0x22b10d(0xb4)]}),_0x3f58b4[_0x22b10d(0x85)](_0x22b10d(0x86))&&_0x3f58b4[_0x22b10d(0xd1)](_0x22b10d(0x86),{'allowAttributes':[_0x22b10d(0xb4)]});}[_0x5a6708(0xb5)](){const _0x1380ca=_0x5a6708,_0x622b40=this[_0x1380ca(0xd6)];_0x622b40[_0x1380ca(0xd7)][_0x1380ca(0xb1)](_0x1380ca(0x91))[_0x1380ca(0xcc)]({'model':_0x1380ca(0xb4),'view':_0x1380ca(0xc6)}),_0x622b40[_0x1380ca(0xd7)][_0x1380ca(0xb1)](_0x1380ca(0xb9))[_0x1380ca(0xc7)]({'model':{'key':_0x1380ca(0xb4),'value':_0x1166a1=>_0x1166a1[_0x1380ca(0xb3)](_0x1380ca(0xc6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x95ec36=_0x622b40[_0x1380ca(0xc8)][_0x1380ca(0xb8)](_0x1380ca(0xbb));_0x95ec36&&this[_0x1380ca(0xd8)](_0x95ec36,_0x1380ca(0xbd),(_0x2ebd30,[_0x52a277,_0x35c569])=>{const _0x575111=_0x1380ca;_0x52a277[_0x575111(0xcf)](_0x575111(0xb4),_0x35c569);});}[_0x5a6708(0xa7)](){const _0x142f21=_0x5a6708,_0x37b488=this[_0x142f21(0xd6)][_0x142f21(0xb7)][_0x142f21(0xb8)](_0x142f21(0x94))||{},_0x34ee6b=this[_0x142f21(0xd6)][_0x142f21(0xb7)][_0x142f21(0xb8)](_0x142f21(0x98))||'';this[_0x142f21(0x8e)]=_0x1d5142(_0xe5e592[_0x142f21(0xa0)],_0x142f21(0x9a),{..._0x37b488,'pubkey':_0x34ee6b,'ctx-name':_0x142f21(0xcb)+this[_0x142f21(0x87)],'sourceList':'','imgOnly':_0x142f21(0xba),'removeCopyright':_0x142f21(0xba),'localeName':this[_0x142f21(0xd6)][_0x142f21(0x97)][_0x142f21(0xd5)],'externalSourcesEmbedCss':_0x142f21(0xd2)}),this[_0x142f21(0x8e)][_0x142f21(0xbe)]=_0x2ba243=>{const _0x8f04cd=_0x142f21;if(_0x8f04cd(0xca)==_0x2ba243)return _0x8f04cd(0x8f);},_0xe5e592[_0x142f21(0xa0)][_0x142f21(0xa1)][_0x142f21(0x88)](this[_0x142f21(0x8e)]);}[_0x5a6708(0x8a)](){const _0x39a10a=_0x5a6708;this[_0x39a10a(0xac)]=_0x1d5142(_0xe5e592[_0x39a10a(0xa0)],_0x39a10a(0xc1),{'ctx-name':_0x39a10a(0xcb)+this[_0x39a10a(0x87)]}),_0xe5e592[_0x39a10a(0xa0)][_0x39a10a(0xa1)][_0x39a10a(0x88)](this[_0x39a10a(0xac)]);}[_0x5a6708(0xb6)](){const _0x2f289b=_0x5a6708,_0x756cbf=this[_0x2f289b(0xd6)][_0x2f289b(0xc8)][_0x2f289b(0xb8)](_0x2f289b(0xcd));_0x756cbf&&this[_0x2f289b(0xd8)](_0x756cbf,_0x2f289b(0x8b),()=>{const _0x4adf75=_0x2f289b,_0x2f90a4=this[_0x4adf75(0xd6)][_0x4adf75(0xaf)][_0x4adf75(0xa0)][_0x4adf75(0xa6)][_0x4adf75(0xae)]();_0x2f90a4&&_0x2f90a4[_0x4adf75(0xb3)](_0x4adf75(0xb4))&&this[_0x4adf75(0xd6)][_0x4adf75(0x8d)][_0x4adf75(0xd3)][_0x4adf75(0x95)](_0x4adf75(0xc9),()=>{const _0x2310b0=_0x4adf75;_0x52238c(this[_0x2310b0(0xd6)],_0x2f90a4);});});const _0xd7e8e0=this[_0x2f289b(0xd6)][_0x2f289b(0xc8)][_0x2f289b(0xb8)](_0x2f289b(0xc3));_0xd7e8e0&&this[_0x2f289b(0xd8)](_0xd7e8e0,_0x2f289b(0x8b),()=>{const _0x3da486=_0x2f289b,_0xc41ec6=this[_0x3da486(0xd6)][_0x3da486(0xaf)][_0x3da486(0xa0)][_0x3da486(0xa6)][_0x3da486(0xae)]();_0xc41ec6&&_0xc41ec6[_0x3da486(0xb3)](_0x3da486(0xb4))&&this[_0x3da486(0xd6)][_0x3da486(0x8d)][_0x3da486(0xd3)][_0x3da486(0x95)](_0x3da486(0xc9),()=>{const _0x3b8f85=_0x3da486;_0x52238c(this[_0x3b8f85(0xd6)],_0xc41ec6);});});}}
23
+ function _0x41c2(){const _0x5f5aaf=['attributeToAttribute','init','execute','getSelectedElement','extend','738288HOPStL','editing','ucContextId','removeAttribute','view','uc-upload-ctx-provider','elementToAttribute','map','add','querySelector','schema','_ctxElement','body','isOfficialPlugin','config','requires','ctxElement','for','configElement','_configElement','pluginName','24VcWgeu','commands','data-uc-image-id','replaceImageSource','isRegistered','_initConfig','766405oJANtp','remove','conversion','_initConversion','closeMax','imageInline','insertImage','366zGvkuh','uploadcare.uploader','7zXJHOw','locale','document','uploadcare.pubkey','once','_initCtx','uploadcareImageReplace','1839654Dhrxuk','render','_initSchema','editor','uploader-','input[uploadcare-file-input]','join','#uc-icon-arrow-down','listenTo','true','UploadcareEditing','2423245QdXpCr','4776Rmhyuy','50VcARkj','afterInit','\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','upcast','306910OiRqdO','model','getAttribute','fromCharCode','uploadcare','get','cleanupImage','destroy','27BdOCHh','downcast','selection','uploadcareImageId','isPremiumPlugin','imageBlock','uc-config','appendChild','iconHrefResolver','_initImageProcessingIndicator','PictureEditing','308qzBqsB','href','contentLanguage'];_0x41c2=function(){return _0x5f5aaf;};return _0x41c2();}const _0x2d2ed2=_0x1ab2;function _0x1ab2(_0x34b44c,_0x3766ca){const _0x41c2a2=_0x41c2();return _0x1ab2=function(_0x1ab2c3,_0x300c56){_0x1ab2c3=_0x1ab2c3-0xa6;let _0x2bc4b0=_0x41c2a2[_0x1ab2c3];return _0x2bc4b0;},_0x1ab2(_0x34b44c,_0x3766ca);}(function(_0x13d032,_0x1740ec){const _0x91abd0=_0x1ab2,_0x47ef9b=_0x13d032();while(!![]){try{const _0x6cb4a9=parseInt(_0x91abd0(0xc4))/0x1*(parseInt(_0x91abd0(0xad))/0x2)+parseInt(_0x91abd0(0xee))/0x3*(parseInt(_0x91abd0(0xac))/0x4)+parseInt(_0x91abd0(0xe7))/0x5+parseInt(_0x91abd0(0xf7))/0x6*(parseInt(_0x91abd0(0xf0))/0x7)+-parseInt(_0x91abd0(0xcc))/0x8+parseInt(_0x91abd0(0xb9))/0x9*(parseInt(_0x91abd0(0xb1))/0xa)+parseInt(_0x91abd0(0xab))/0xb*(-parseInt(_0x91abd0(0xe1))/0xc);if(_0x6cb4a9===_0x1740ec)break;else _0x47ef9b['push'](_0x47ef9b['shift']());}catch(_0xd89619){_0x47ef9b['push'](_0x47ef9b['shift']());}}}(_0x41c2,0x2a1a7));import{Plugin as _0x4ae0ad}from'ckeditor5/src/core.js';import{Dialog as _0x4daca5}from'ckeditor5/src/ui.js';import{createElement as _0x2d68ba,global as _0xd90ba8,uid as _0x23875a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x262718}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x143ed7}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x36c137}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4ae0ad{[_0x2d2ed2(0xdf)]=null;[_0x2d2ed2(0xd7)]=null;static get[_0x2d2ed2(0xe0)](){const _0x562504=_0x2d2ed2;return _0x562504(0xaa);}static get[_0x2d2ed2(0xdb)](){const _0x5aa016=_0x2d2ed2;return[_0x5aa016(0xc3),_0x143ed7,_0x4daca5];}static get[_0x2d2ed2(0xd9)](){return!0x0;}static get[_0x2d2ed2(0xbd)](){return!0x0;}[_0x2d2ed2(0xce)];get[_0x2d2ed2(0xde)](){const _0x37056d=_0x2d2ed2;return this[_0x37056d(0xdf)];}get[_0x2d2ed2(0xdc)](){const _0x3d5efc=_0x2d2ed2;return this[_0x3d5efc(0xd7)];}constructor(_0x428571){const _0xd87d53=_0x2d2ed2;super(_0x428571),this[_0xd87d53(0xce)]=_0x23875a();}[_0x2d2ed2(0xc8)](){const _0x15bbf9=_0x2d2ed2,_0xd7c04e=this[_0x15bbf9(0xfa)];_0xd7c04e[_0x15bbf9(0xe2)][_0x15bbf9(0xd4)](_0x15bbf9(0xb5),new _0x262718(_0xd7c04e));}[_0x2d2ed2(0xae)](){const _0xddad02=_0x2d2ed2;this[_0xddad02(0xf9)](),this[_0xddad02(0xea)](),this[_0xddad02(0xe6)](),this[_0xddad02(0xf5)](),this[_0xddad02(0xc2)](),this[_0xddad02(0xa8)](this[_0xddad02(0xfa)],_0xddad02(0xb8),()=>{const _0x4e149e=_0xddad02;this[_0x4e149e(0xdf)]&&(this[_0x4e149e(0xdf)][_0x4e149e(0xe8)](),this[_0x4e149e(0xdf)]=null),this[_0x4e149e(0xd7)]&&(this[_0x4e149e(0xd7)][_0x4e149e(0xe8)](),this[_0x4e149e(0xd7)]=null);const _0x59069f=_0xd90ba8[_0x4e149e(0xf2)][_0x4e149e(0xd5)](_0x4e149e(0xfc));_0x59069f&&_0x59069f[_0x4e149e(0xe8)]();}),async function(_0x3361b7){const _0x29bf58=_0x46af0d([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]),_0x4dbd1f=0x3d8d0df,_0x1ece95=0x3dfa5d7^_0x4dbd1f,_0x3a1b90=window[_0x46af0d([0x44,0x61,0x74,0x65])][_0x46af0d([0x6e,0x6f,0x77])](),_0x15a825=_0x3361b7[_0x46af0d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b901=new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x535478=>{_0x15a825[_0x46af0d([0x6f,0x6e,0x63,0x65])](_0x46af0d([0x72,0x65,0x61,0x64,0x79]),_0x535478);}),_0x40e450={[_0x46af0d([0x6b,0x74,0x79])]:_0x46af0d([0x45,0x43]),[_0x46af0d([0x75,0x73,0x65])]:_0x46af0d([0x73,0x69,0x67]),[_0x46af0d([0x63,0x72,0x76])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36]),[_0x46af0d([0x78])]:_0x46af0d([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]),[_0x46af0d([0x79])]:_0x46af0d([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]),[_0x46af0d([0x61,0x6c,0x67])]:_0x46af0d([0x45,0x53,0x32,0x35,0x36])},_0x49f4bf=_0x15a825[_0x46af0d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46af0d([0x67,0x65,0x74])](_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ba59(){let _0x5654a0,_0x1765cb=null,_0x14bc41=null;try{if(_0x49f4bf==_0x46af0d([0x47,0x50,0x4c]))return _0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5654a0=_0x5ab507(),!_0x5654a0)return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14bc41=_0xcb24b3(_0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5654a0[_0x46af0d([0x6a,0x74,0x69])])),await _0x51fe81()?_0x961acb()?_0x51b0a9()?_0x46af0d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35328e()?(_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1765cb=_0x51b478(_0x46af0d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1765cb=_0x51b478(_0x46af0d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fe407()):_0x46af0d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51b0a9(){const _0x5e3640=[_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46af0d([0x74,0x72,0x69,0x61,0x6c])][_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a1b90/0x3e8:0xe10*_0x1ece95;return _0x5654a0[_0x46af0d([0x65,0x78,0x70])]<_0x5e3640;}function _0x961acb(){const _0x38bf78=_0x5654a0[_0x46af0d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38bf78&&(!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a]))||!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x55,0x50,0x4c,0x43])));}function _0x35328e(){const _0x36ded9=_0x1ab2,_0x3d56e1=_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d56e1||0x0==_0x3d56e1[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b7810}=new URL(window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36ded9(0xc5)]);if(_0x3d56e1[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7810))return!0x0;const _0x3b4878=_0x5b7810[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));return _0x3d56e1[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12997d=>_0x12997d[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a])))[_0x46af0d([0x6d,0x61,0x70])](_0x2f8adf=>_0x2f8adf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])))[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6f6af7=>_0x6f6af7[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x6d,0x61,0x70])](_0x596f03=>Array(_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x596f03[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x66,0x69,0x6c,0x6c])](_0x596f03[0x0]===_0x46af0d([0x2a])?_0x46af0d([0x2a]):'')[_0x46af0d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x596f03))[_0x46af0d([0x73,0x6f,0x6d,0x65])](_0x35ada6=>_0x3b4878[_0x46af0d([0x65,0x76,0x65,0x72,0x79])]((_0x110779,_0x40bbc5)=>_0x35ada6[_0x40bbc5]===_0x110779||_0x35ada6[_0x40bbc5]===_0x46af0d([0x2a])));}function _0x2fe407(){return _0x1765cb&&_0x14bc41?new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a1fa8,_0x2af5e0)=>{_0x1765cb[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x3a1fa8,_0x2af5e0),_0x14bc41[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x8d60cd=>{_0x8d60cd!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a1fa8(_0x8d60cd);},_0x2af5e0);}):_0x1765cb||_0x14bc41||_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcb24b3(_0x2d6900,_0x39506a){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fcf4a=>{if(_0x3d34d8())return _0x1fcf4a(_0x46af0d([0x56,0x61,0x6c,0x69,0x64]));_0x5bb044(),_0x15a825[_0x46af0d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd231=!0x1;const _0x279635=_0x23875a();function _0x28d780(_0x3d5292){return!!_0x3d5292&&(typeof _0x3d5292===_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5292===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5292[_0x46af0d([0x74,0x68,0x65,0x6e])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5292[_0x46af0d([0x63,0x61,0x74,0x63,0x68])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x577838(_0x54655b){_0x49ca93(_0x54655b)[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4205e1=>{if(!_0x4205e1||_0x4205e1[_0x46af0d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46af0d([0x6f,0x6b]))return _0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x345ad3(_0x3cd097(_0x279635+_0x39506a))!=_0x4205e1[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4aeab3=>(_0x1dc9f9(),_0x4aeab3),()=>{const _0x1376a8=_0x3da97f();return null==_0x1376a8?(_0x1dc9f9(),_0x46af0d([0x56,0x61,0x6c,0x69,0x64])):_0x46af0d(_0x3a1b90-_0x1376a8>(0x27d454df^_0x4dbd1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1fcf4a)[_0x46af0d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5488f8=0x3ee3e5f^_0x4dbd1f;function _0x1dc9f9(){const _0x5e4a22=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x13fcb1=_0x31f964(_0x345ad3(window[_0x46af0d([0x4d,0x61,0x74,0x68])][_0x46af0d([0x63,0x65,0x69,0x6c])](_0x3a1b90/_0x5488f8)));window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e4a22,_0x13fcb1);}function _0x3da97f(){const _0x4d53bf=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x349833=window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d53bf);return _0x349833?window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f964(_0x349833),0x10)*_0x5488f8:null;}function _0x49ca93(_0xf390a5){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eff65,_0x1cb95a)=>{_0xf390a5[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1eff65,_0x1cb95a),window[_0x46af0d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cb95a,0x3d9041f^_0x4dbd1f);});}}_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21ea5f,_0x2a3f93)=>{if(_0x2a3f93[0x0]!=_0x2d6900)return _0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a3f93[0x1]={..._0x2a3f93[0x1],[_0x46af0d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279635};},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x68,0x69,0x67,0x68])}),_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e7bd8=>{_0x28d780(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd231=!0x0,_0x577838(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x6c,0x6f,0x77])}),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>{_0x3bd231||_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d34d8(){return _0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46af0d([0x61,0x75,0x74,0x6f]);}function _0x5bb044(){_0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46af0d([0x61,0x75,0x74,0x6f]);}}function _0x51b478(_0x1935fe){const _0x53973d=[new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e831=>setTimeout(_0x24e831,0x3d1ee13^_0x4dbd1f)),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209b77=>{let _0x2946d6=0x0;_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x6f,0x6e])](_0x46af0d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x433819,_0x40a008)=>{_0x40a008[0x0][_0x46af0d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2946d6++,_0x2946d6==(0x3d8d127^_0x4dbd1f)&&(_0x209b77(),_0x433819[_0x46af0d([0x6f,0x66,0x66])]());});}))];return window[_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46af0d([0x72,0x61,0x63,0x65])](_0x53973d)[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>_0x1935fe);}async function _0x118f2e(){await _0x54b901,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x592016(_0x400f5f){const _0x1cbf5b=_0x32d51b();_0x15a825[_0x1cbf5b]=_0x46af0d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x400f5f,_0x400f5f!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x118f2e();}function _0x32d51b(){const _0x5d598d=window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46af0d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46af0d([0x6e,0x6f,0x77])]())[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46af0d([0x2e]),'');let _0x3d5ce5=_0x46af0d([0x52]);for(let _0x10b23c=0x0;_0x10b23c<_0x5d598d[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10b23c+=0x2){let _0x6600c7=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d598d[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10b23c,_0x10b23c+0x2));_0x6600c7>=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6600c7-=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d5ce5+=_0x29bf58[_0x6600c7];}return _0x3d5ce5;}function _0x5ab507(){const _0x15e40e=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));if(0x3!=_0x15e40e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ca8f2(_0x15e40e[0x1]);function _0x1ca8f2(_0x55b1c5){const _0x53c4e0=_0x5adae2(_0x55b1c5);return _0x53c4e0&&_0x2f8cdf()?_0x53c4e0:null;function _0x2f8cdf(){const _0x1f99ce=_0x53c4e0[_0x46af0d([0x6a,0x74,0x69])],_0x2f0c62=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36de16={..._0x53c4e0,[_0x46af0d([0x6a,0x74,0x69])]:_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36de16[_0x46af0d([0x76,0x63])],_0x3cd097(_0x36de16)==_0x2f0c62;}}}async function _0x51fe81(){let _0xe7f193=!0x0;try{const _0x176b7c=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])),[_0x34d598,_0x534d1d,_0x566601]=_0x176b7c;return _0x13120b(_0x34d598),await _0x16ee34(_0x34d598,_0x534d1d,_0x566601),_0xe7f193;}catch{return!0x1;}function _0x13120b(_0x1c8197){const _0x365c81=_0x5adae2(_0x1c8197);_0x365c81&&_0x365c81[_0x46af0d([0x61,0x6c,0x67])]==_0x46af0d([0x45,0x53,0x32,0x35,0x36])||(_0xe7f193=!0x1);}async function _0x16ee34(_0x2dcd00,_0x28a93d,_0x2c4c9b){const _0x35d94a=window[_0x46af0d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46af0d([0x66,0x72,0x6f,0x6d])](_0x53b478(_0x2c4c9b),_0x3a5b35=>_0x3a5b35[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x869497=new window[(_0x46af0d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46af0d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dcd00+_0x46af0d([0x2e])+_0x28a93d),_0x1b536f=window[_0x46af0d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46af0d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b536f)return;const _0xc5ae95=await _0x1b536f[_0x46af0d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46af0d([0x6a,0x77,0x6b]),_0x40e450,{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b536f[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x68,0x61,0x73,0x68])]:{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc5ae95,_0x35d94a,_0x869497)||(_0xe7f193=!0x1);}}function _0x5adae2(_0x216eca){return _0x216eca[_0x46af0d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46af0d([0x65,0x79]))?JSON[_0x46af0d([0x70,0x61,0x72,0x73,0x65])](_0x53b478(_0x216eca)):null;}function _0x53b478(_0x15f77a){return window[_0x46af0d([0x61,0x74,0x6f,0x62])](_0x15f77a[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46af0d([0x2b]))[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46af0d([0x2f])));}function _0x3cd097(_0x535a9b){let _0x1b8bf7=0x1505;function _0x135d4b(_0x58f96e){for(let _0x589e94=0x0;_0x589e94<_0x58f96e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x589e94++){const _0x1d04f7=_0x58f96e[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x589e94);_0x1b8bf7=(_0x1b8bf7<<0x5)+_0x1b8bf7+_0x1d04f7,_0x1b8bf7&=_0x1b8bf7;}}function _0x31008b(_0x3d5fdc){Array[_0x46af0d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5fdc)?_0x3d5fdc[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31008b):_0x3d5fdc&&typeof _0x3d5fdc==_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46af0d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5fdc)[_0x46af0d([0x73,0x6f,0x72,0x74])]()[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51a9e9,_0x1d0049])=>{_0x135d4b(_0x51a9e9),_0x31008b(_0x1d0049);}):_0x135d4b(window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5fdc));}return _0x31008b(_0x535a9b),_0x1b8bf7>>>0x0;}function _0x345ad3(_0x284d42){return _0x284d42[_0x46af0d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46af0d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46af0d([0x30]));}function _0x31f964(_0x271b3a){return _0x271b3a[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46af0d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46af0d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f66f2(){}function _0x46af0d(_0x1f1745){const _0x29d114=_0x1ab2;return _0x1f1745[_0x29d114(0xd3)](_0x18b137=>String[_0x29d114(0xb4)](_0x18b137))[_0x29d114(0xa6)]('');}_0x592016(await _0x54ba59());}(this);}[_0x2d2ed2(0xf9)](){const _0x554faf=_0x2d2ed2,_0xacf6d0=this[_0x554faf(0xfa)][_0x554faf(0xb2)][_0x554faf(0xd6)];_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xbe))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xbe),{'allowAttributes':[_0x554faf(0xbc)]}),_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xec))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xec),{'allowAttributes':[_0x554faf(0xbc)]});}[_0x2d2ed2(0xea)](){const _0x23a72a=_0x2d2ed2,_0x407aa2=this[_0x23a72a(0xfa)];_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xba))[_0x23a72a(0xc7)]({'model':_0x23a72a(0xbc),'view':_0x23a72a(0xe3)}),_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xb0))[_0x23a72a(0xd2)]({'model':{'key':_0x23a72a(0xbc),'value':_0x120416=>_0x120416[_0x23a72a(0xb3)](_0x23a72a(0xe3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x11d275=_0x407aa2[_0x23a72a(0xe2)][_0x23a72a(0xb6)](_0x23a72a(0xe4));_0x11d275&&this[_0x23a72a(0xa8)](_0x11d275,_0x23a72a(0xb7),(_0x1cf872,[_0x240ea8,_0x17b951])=>{const _0xda9cc=_0x23a72a;_0x240ea8[_0xda9cc(0xcf)](_0xda9cc(0xbc),_0x17b951);});}[_0x2d2ed2(0xe6)](){const _0x512aa9=_0x2d2ed2,_0x4a8ee3=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xef))||{},_0x117e02=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xf3))||'';this[_0x512aa9(0xdf)]=_0x2d68ba(_0xd90ba8[_0x512aa9(0xf2)],_0x512aa9(0xbf),{..._0x4a8ee3,'pubkey':_0x117e02,'ctx-name':_0x512aa9(0xfb)+this[_0x512aa9(0xce)],'sourceList':'','imgOnly':_0x512aa9(0xa9),'removeCopyright':_0x512aa9(0xa9),'localeName':this[_0x512aa9(0xfa)][_0x512aa9(0xf1)][_0x512aa9(0xc6)],'externalSourcesEmbedCss':_0x512aa9(0xaf)}),this[_0x512aa9(0xdf)][_0x512aa9(0xc1)]=_0x386554=>{const _0x1d601d=_0x512aa9;if(_0x1d601d(0xeb)==_0x386554)return _0x1d601d(0xa7);},_0xd90ba8[_0x512aa9(0xf2)][_0x512aa9(0xd8)][_0x512aa9(0xc0)](this[_0x512aa9(0xdf)]);}[_0x2d2ed2(0xf5)](){const _0x3afd56=_0x2d2ed2;this[_0x3afd56(0xd7)]=_0x2d68ba(_0xd90ba8[_0x3afd56(0xf2)],_0x3afd56(0xd1),{'ctx-name':_0x3afd56(0xfb)+this[_0x3afd56(0xce)]}),_0xd90ba8[_0x3afd56(0xf2)][_0x3afd56(0xd8)][_0x3afd56(0xc0)](this[_0x3afd56(0xd7)]);}[_0x2d2ed2(0xc2)](){const _0x4135e0=_0x2d2ed2,_0x7e2049=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xed));_0x7e2049&&this[_0x4135e0(0xa8)](_0x7e2049,_0x4135e0(0xc9),()=>{const _0x4ed53f=_0x4135e0,_0x5d416e=this[_0x4ed53f(0xfa)][_0x4ed53f(0xb2)][_0x4ed53f(0xf2)][_0x4ed53f(0xbb)][_0x4ed53f(0xca)]();_0x5d416e&&_0x5d416e[_0x4ed53f(0xb3)](_0x4ed53f(0xbc))&&this[_0x4ed53f(0xfa)][_0x4ed53f(0xcd)][_0x4ed53f(0xd0)][_0x4ed53f(0xf4)](_0x4ed53f(0xf8),()=>{const _0x51167b=_0x4ed53f;_0x36c137(this[_0x51167b(0xfa)],_0x5d416e);});});const _0xc0c9f6=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xf6));_0xc0c9f6&&this[_0x4135e0(0xa8)](_0xc0c9f6,_0x4135e0(0xc9),()=>{const _0x40867a=_0x4135e0,_0x2221ac=this[_0x40867a(0xfa)][_0x40867a(0xb2)][_0x40867a(0xf2)][_0x40867a(0xbb)][_0x40867a(0xca)]();_0x2221ac&&_0x2221ac[_0x40867a(0xb3)](_0x40867a(0xbc))&&this[_0x40867a(0xfa)][_0x40867a(0xcd)][_0x40867a(0xd0)][_0x40867a(0xf4)](_0x40867a(0xf8),()=>{const _0x2386fd=_0x40867a;_0x36c137(this[_0x2386fd(0xfa)],_0x2221ac);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5e4a29,ObservableMixin as _0x549056}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3f8aa5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x549151}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x454495}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1d8ecc}from'../../utils/uploadutils.js';import{getImageUrls as _0x1bacba,getImageDimension as _0x101183}from'../../utils/editingutils.js';import{isAncestor as _0x1f8a5f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x549056(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x281565,_0x5dcd04,_0x58b90){super(),this['_editor']=_0x281565,this['_dialog']=_0x5dcd04,this['_imageElement']=_0x58b90,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 _0x34542c=this['_imageElement'],_0x4b7aa5=_0x34542c['getAttribute']('uploadcareImageId'),_0x5b03ef=_0x34542c['getAttribute']('src');if(_0x4b7aa5)await this['_loadImageInfo'](_0x4b7aa5,_0x5b03ef);else{if(this['_imageCache']['has'](_0x5b03ef)){const _0x47937c=this['_imageCache']['get'](_0x5b03ef);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47937c['url'],this['imageDimension']=_0x47937c['dimension'],this['imageId']=_0x47937c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ce9c0}=this['_editor'],t=_0x4ce9c0['t'],_0x20e076=new _0x454495(_0x4ce9c0,this['imageStatus'],this['_attributes']);_0x20e076['bind']('status')['to'](this,'imageStatus'),_0x20e076['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x20e076['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x20e076['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x20e076,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x549151,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x20e076,'position':_0x3f8aa5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x20e076['focus']();},'onHide':()=>{_0x20e076['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4791a2=>!_0x1f8a5f(_0x4791a2,_0x20e076['element'])}});}['_loadImageInfo'](_0x2c7c2f,_0x2d253b){return _0x1d8ecc['getInfo'](_0x2c7c2f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1f3d05=>{const {width:_0x29f2d7,height:_0x193d0c}=_0x1f3d05['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d253b,this['imageDimension']={'width':_0x29f2d7,'height':_0x193d0c},this['imageId']=_0x2c7c2f;})['catch'](_0x58d4c1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58d4c1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1401c9,_0x4a2f3a){return this['_getImageAsFile'](_0x1401c9)['then'](_0x5aeca4=>_0x1d8ecc['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':_0x4a2f3a['signal'],'file':_0x5aeca4,'onProgress':_0x10895b=>{_0x10895b&&_0x10895b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x10895b['value']));}}))['then'](_0x698a03=>{const {width:_0x170192,height:_0x16b680}=_0x698a03['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x698a03['cdnUrl'],this['imageDimension']={'width':_0x170192,'height':_0x16b680},this['imageId']=_0x698a03['uuid'],this['imageUploadProgress']=null;const _0x44fddb=_0x1401c9['getAttribute']('src');this['_imageCache']['set'](_0x44fddb,{'id':_0x698a03['uuid'],'url':_0x698a03['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3095d8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3095d8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2821a1,_0x68411b){_0x2821a1['on']('apply',(_0x1ab821,_0x378989)=>{this['_replaceImage'](_0x68411b,_0x378989['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2821a1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2821a1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5f40d1,_0x500281,_0xb2219a){const _0xccdc73=this['_editor'],{width:_0x26ad54,height:_0x3cdbe1}=_0x101183(_0x500281,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25c4dc,imageSources:_0x18223f}=_0x1bacba(_0x500281,_0x26ad54);_0xccdc73['model']['change'](_0x284960=>{if('$graveyard'===_0x5f40d1['root']['rootName']){_0xccdc73['execute']('insertImage',{'imageType':_0x5f40d1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5f40d1['getAttributes']()),'uploadcareImageId':_0xb2219a,'src':_0x25c4dc,'sources':_0x18223f,'width':_0x26ad54,'height':_0x3cdbe1}});const _0x5bcf23=_0x5f40d1['getChildren']();_0x5f40d1=_0xccdc73['model']['document']['selection']['getSelectedElement']();for(const _0x3568d1 of _0x5bcf23)_0x284960['append'](_0x284960['cloneElement'](_0x3568d1),_0x5f40d1);}else _0x284960['setSelection'](_0x5f40d1,'on'),_0xccdc73['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5f40d1['getAttributes']()),'uploadcareImageId':_0xb2219a,'src':_0x25c4dc,'sources':_0x18223f,'width':_0x26ad54,'height':_0x3cdbe1},_0x5f40d1);_0x284960['setSelection'](_0x5f40d1,'on');});}async['_getImageAsFile'](_0x56287d){const _0x812731=_0x5e4a29['window'],_0x462f68=_0x5e4a29['document']['location']['href'],_0x4f7fa8=new _0x812731['URL'](_0x56287d['getAttribute']('src'),_0x462f68);if('data:'===_0x4f7fa8['protocol']){const _0x451003=_0x4f7fa8['href']['split'](','),_0x1b102b=_0x451003[0x0]['match'](/:(.*?);/)[0x1],_0x43d825=_0x1b102b['split']('/')[0x1],_0x4a54be=_0x812731['atob'](_0x451003[_0x451003['length']-0x1]);let _0x14f34f=_0x4a54be['length'];const _0x5e36c2=new _0x812731['Uint8Array'](_0x14f34f);for(;_0x14f34f--;)_0x5e36c2[_0x14f34f]=_0x4a54be['charCodeAt'](_0x14f34f);return new _0x812731['File']([_0x5e36c2],'image.'+_0x43d825,{'type':_0x1b102b});}const _0x54b701=_0x4f7fa8['href']['split']('/'),_0x29c351=_0x54b701[_0x54b701['length']-0x1],_0x573a9c=_0x29c351['split']('.')[0x1];return _0x812731['fetch'](_0x4f7fa8['href'])['then'](_0x197445=>_0x197445['clone']()['blob']())['then'](_0x41dea1=>new _0x812731['File']([_0x41dea1],_0x29c351,{'type':'image/'+_0x573a9c}));}}
23
+ import{global as _0x5cd396,ObservableMixin as _0x5b96a7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x120ccc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x285abd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x24377e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x37c684}from'../../utils/uploadutils.js';import{getImageUrls as _0x2a6cb4,getImageDimension as _0x16d5ea}from'../../utils/editingutils.js';import{isAncestor as _0x4335eb}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5b96a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x193211,_0x3a0dbb,_0x54b18e){super(),this['_editor']=_0x193211,this['_dialog']=_0x3a0dbb,this['_imageElement']=_0x54b18e,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 _0x515dde=this['_imageElement'],_0x5a8dde=_0x515dde['getAttribute']('uploadcareImageId'),_0x4a1097=_0x515dde['getAttribute']('src');if(_0x5a8dde)await this['_loadImageInfo'](_0x5a8dde,_0x4a1097);else{if(this['_imageCache']['has'](_0x4a1097)){const _0x6ec65a=this['_imageCache']['get'](_0x4a1097);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6ec65a['url'],this['imageDimension']=_0x6ec65a['dimension'],this['imageId']=_0x6ec65a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1cc6c5}=this['_editor'],t=_0x1cc6c5['t'],_0x337943=new _0x24377e(_0x1cc6c5,this['imageStatus'],this['_attributes']);_0x337943['bind']('status')['to'](this,'imageStatus'),_0x337943['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x337943['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x337943['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x337943,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x285abd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x337943,'position':_0x120ccc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x337943['focus']();},'onHide':()=>{_0x337943['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb5bfbc=>!_0x4335eb(_0xb5bfbc,_0x337943['element'])}});}['_loadImageInfo'](_0x3fde93,_0x15ad19){return _0x37c684['getInfo'](_0x3fde93,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6dd8=>{const {width:_0x100fc9,height:_0x390bdd}=_0x4c6dd8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15ad19,this['imageDimension']={'width':_0x100fc9,'height':_0x390bdd},this['imageId']=_0x3fde93;})['catch'](_0x57e257=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57e257['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x457fc9,_0x219a82){return this['_getImageAsFile'](_0x457fc9)['then'](_0xdafc68=>_0x37c684['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':_0x219a82['signal'],'file':_0xdafc68,'onProgress':_0x5d528d=>{_0x5d528d&&_0x5d528d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d528d['value']));}}))['then'](_0x38d8e5=>{const {width:_0x570059,height:_0x1defe8}=_0x38d8e5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38d8e5['cdnUrl'],this['imageDimension']={'width':_0x570059,'height':_0x1defe8},this['imageId']=_0x38d8e5['uuid'],this['imageUploadProgress']=null;const _0x43323a=_0x457fc9['getAttribute']('src');this['_imageCache']['set'](_0x43323a,{'id':_0x38d8e5['uuid'],'url':_0x38d8e5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x47a214=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x47a214['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x129067,_0x467f86){_0x129067['on']('apply',(_0x535400,_0x4ede0f)=>{this['_replaceImage'](_0x467f86,_0x4ede0f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x129067['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x129067['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53e3ff,_0x5f5404,_0x570ca9){const _0x577dc7=this['_editor'],{width:_0x42d97a,height:_0x68fdf9}=_0x16d5ea(_0x5f5404,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x56e470,imageSources:_0xac86ac}=_0x2a6cb4(_0x5f5404,_0x42d97a);_0x577dc7['model']['change'](_0x256a45=>{if('$graveyard'===_0x53e3ff['root']['rootName']){_0x577dc7['execute']('insertImage',{'imageType':_0x53e3ff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9}});const _0x47633f=_0x53e3ff['getChildren']();_0x53e3ff=_0x577dc7['model']['document']['selection']['getSelectedElement']();for(const _0x3a41fe of _0x47633f)_0x256a45['append'](_0x256a45['cloneElement'](_0x3a41fe),_0x53e3ff);}else _0x256a45['setSelection'](_0x53e3ff,'on'),_0x577dc7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9},_0x53e3ff);_0x256a45['setSelection'](_0x53e3ff,'on');});}async['_getImageAsFile'](_0x364612){const _0x5e5409=_0x5cd396['window'],_0x4a7dcc=_0x5cd396['document']['location']['href'],_0x3fd27b=new _0x5e5409['URL'](_0x364612['getAttribute']('src'),_0x4a7dcc);if('data:'===_0x3fd27b['protocol']){const _0x5c6f66=_0x3fd27b['href']['split'](','),_0x1bd425=_0x5c6f66[0x0]['match'](/:(.*?);/)[0x1],_0x1f61ab=_0x1bd425['split']('/')[0x1],_0xccbabc=_0x5e5409['atob'](_0x5c6f66[_0x5c6f66['length']-0x1]);let _0x5de6d6=_0xccbabc['length'];const _0x2c4cc9=new _0x5e5409['Uint8Array'](_0x5de6d6);for(;_0x5de6d6--;)_0x2c4cc9[_0x5de6d6]=_0xccbabc['charCodeAt'](_0x5de6d6);return new _0x5e5409['File']([_0x2c4cc9],'image.'+_0x1f61ab,{'type':_0x1bd425});}const _0x29d5aa=_0x3fd27b['href']['split']('/'),_0x31d9a0=_0x29d5aa[_0x29d5aa['length']-0x1],_0xfef848=_0x31d9a0['split']('.')[0x1];return _0x5e5409['fetch'](_0x3fd27b['href'])['then'](_0x438b7d=>_0x438b7d['clone']()['blob']())['then'](_0x14945b=>new _0x5e5409['File']([_0x14945b],_0x31d9a0,{'type':'image/'+_0xfef848}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x22f3d3,_0xa4425c){const _0x5ec91b=_0x2976,_0x599317=_0x22f3d3();while(!![]){try{const _0x1d7405=-parseInt(_0x5ec91b(0x16d))/0x1*(parseInt(_0x5ec91b(0x169))/0x2)+parseInt(_0x5ec91b(0x162))/0x3*(-parseInt(_0x5ec91b(0x166))/0x4)+-parseInt(_0x5ec91b(0x16e))/0x5+parseInt(_0x5ec91b(0x16f))/0x6*(-parseInt(_0x5ec91b(0x16c))/0x7)+parseInt(_0x5ec91b(0x167))/0x8*(-parseInt(_0x5ec91b(0x15f))/0x9)+parseInt(_0x5ec91b(0x16a))/0xa+parseInt(_0x5ec91b(0x170))/0xb;if(_0x1d7405===_0xa4425c)break;else _0x599317['push'](_0x599317['shift']());}catch(_0x454ec7){_0x599317['push'](_0x599317['shift']());}}}(_0x1dd5,0xe33d0));import{View as _0x27a23b}from'ckeditor5/src/ui.js';function _0x1dd5(){const _0x3398d5=['67922448khpUMM','bindTemplate','171SfihZX','set','uc-cloud-image-editor','12PoYDnu','setTemplate','ck-uploadcare-theme','imageSrc','442072pMxMcg','349240BdXpvW','uc-light','399912kKVHzh','3960690YwILXX','image-edit','203wYbgHf','8LKdInh','5841825vpCazb','331146RIqKBf'];_0x1dd5=function(){return _0x3398d5;};return _0x1dd5();}function _0x2976(_0xd2751b,_0x38e2df){const _0x1dd535=_0x1dd5();return _0x2976=function(_0x297633,_0x2e6cb4){_0x297633=_0x297633-0x15e;let _0xe64607=_0x1dd535[_0x297633];return _0xe64607;},_0x2976(_0xd2751b,_0x38e2df);}export class UploadcareImageEditFormEditingView extends _0x27a23b{constructor(_0x4e2df1,_0x3312f9){const _0x208dda=_0x2976;super(_0x4e2df1);const _0x3e930b=this[_0x208dda(0x15e)];this[_0x208dda(0x160)](_0x208dda(0x165),''),this[_0x208dda(0x163)]({'tag':_0x208dda(0x161),'attributes':{..._0x3312f9,'class':[_0x208dda(0x168),_0x208dda(0x164)],'ctx-name':_0x208dda(0x16b),'cdn-url':_0x3e930b['to'](_0x208dda(0x165))}});}}
23
+ (function(_0x2339b6,_0x3353e8){const _0x540931=_0x39f7,_0x50d202=_0x2339b6();while(!![]){try{const _0x528e09=-parseInt(_0x540931(0xca))/0x1*(parseInt(_0x540931(0xc0))/0x2)+-parseInt(_0x540931(0xcd))/0x3+parseInt(_0x540931(0xc5))/0x4+-parseInt(_0x540931(0xc1))/0x5*(-parseInt(_0x540931(0xc8))/0x6)+parseInt(_0x540931(0xc9))/0x7+parseInt(_0x540931(0xce))/0x8+parseInt(_0x540931(0xc7))/0x9*(-parseInt(_0x540931(0xc3))/0xa);if(_0x528e09===_0x3353e8)break;else _0x50d202['push'](_0x50d202['shift']());}catch(_0x2c5f73){_0x50d202['push'](_0x50d202['shift']());}}}(_0x5ddb,0x7c36e));function _0x5ddb(){const _0x28be94=['set','3011720OppJGq','ck-uploadcare-theme','27aaqCoX','2591946LpvOnp','3083626vXzieb','436537NlUfiN','uc-light','imageSrc','166260ancYJY','7193944axPHek','uc-cloud-image-editor','bindTemplate','setTemplate','2CzdUba','5mozvgJ','image-edit','5079810SDOAFA'];_0x5ddb=function(){return _0x28be94;};return _0x5ddb();}import{View as _0x171f79}from'ckeditor5/src/ui.js';function _0x39f7(_0x40c076,_0x1493d4){const _0x5ddb78=_0x5ddb();return _0x39f7=function(_0x39f7eb,_0x317c5f){_0x39f7eb=_0x39f7eb-0xbd;let _0x5e54ca=_0x5ddb78[_0x39f7eb];return _0x5e54ca;},_0x39f7(_0x40c076,_0x1493d4);}export class UploadcareImageEditFormEditingView extends _0x171f79{constructor(_0x4b5070,_0x2af244){const _0x1a3f4a=_0x39f7;super(_0x4b5070);const _0x5e4680=this[_0x1a3f4a(0xbe)];this[_0x1a3f4a(0xc4)](_0x1a3f4a(0xcc),''),this[_0x1a3f4a(0xbf)]({'tag':_0x1a3f4a(0xbd),'attributes':{..._0x2af244,'class':[_0x1a3f4a(0xcb),_0x1a3f4a(0xc6)],'ctx-name':_0x1a3f4a(0xc2),'cdn-url':_0x5e4680['to'](_0x1a3f4a(0xcc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x26a594}from'ckeditor5/src/icons.js';import{ButtonView as _0x32cfc0,IconView as _0x4571b0,View as _0x165e50}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x165e50{constructor(_0x161f16){super(_0x161f16);const t=_0x161f16['t'];this['set']('errorType',null);const _0x24cf28=new _0x32cfc0(_0x161f16);_0x24cf28['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x24cf28['withText']=!0x0,_0x24cf28['class']='ck-button-action',_0x24cf28['on']('execute',()=>{this['fire']('retry');}),_0x24cf28['bind']('isVisible')['to'](this,'errorType',_0x3e46f7=>'NotFound'!==_0x3e46f7);const _0x204efe=new _0x4571b0();_0x204efe['content']=_0x26a594,_0x204efe['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x127a26=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':[_0x204efe,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x127a26['to']('errorType',_0x53d533=>t('NotFound'!==_0x53d533?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x24cf28]},{'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 _0x59189b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d521e,IconView as _0x2dff76,View as _0x562b70}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x562b70{constructor(_0x2998e0){super(_0x2998e0);const t=_0x2998e0['t'];this['set']('errorType',null);const _0x5525a0=new _0x2d521e(_0x2998e0);_0x5525a0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5525a0['withText']=!0x0,_0x5525a0['class']='ck-button-action',_0x5525a0['on']('execute',()=>{this['fire']('retry');}),_0x5525a0['bind']('isVisible')['to'](this,'errorType',_0x1e2806=>'NotFound'!==_0x1e2806);const _0x42ae99=new _0x2dff76();_0x42ae99['content']=_0x59189b,_0x42ae99['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ced37=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':[_0x42ae99,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ced37['to']('errorType',_0x223e4e=>t('NotFound'!==_0x223e4e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5525a0]},{'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 _0x5db9bd,View as _0x133153}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x133153{constructor(_0x5bda9a){super(_0x5bda9a);const t=_0x5bda9a['t'],_0x3fb559=this['bindTemplate'],_0x909e8f=new _0x5db9bd();_0x909e8f['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':[_0x909e8f,{'text':_0x3fb559['to']('imageUploadProgress',_0x5a3455=>t('Loading\x20image...')+'\x20('+(_0x5a3455||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 _0x2d2154,View as _0x1378fd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1378fd{constructor(_0x291771){super(_0x291771);const t=_0x291771['t'],_0x17f66e=this['bindTemplate'],_0x39b65f=new _0x2d2154();_0x39b65f['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':[_0x39b65f,{'text':_0x17f66e['to']('imageUploadProgress',_0x3a1e82=>t('Loading\x20image...')+'\x20('+(_0x3a1e82||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x580e(_0x2813c9,_0x42b87d){const _0xdd2f54=_0xdd2f();return _0x580e=function(_0x580e5e,_0x201cfc){_0x580e5e=_0x580e5e-0x79;let _0x3a2f44=_0xdd2f54[_0x580e5e];return _0x3a2f44;},_0x580e(_0x2813c9,_0x42b87d);}const _0x549d84=_0x580e;(function(_0x25f777,_0xbd6071){const _0x650de7=_0x580e,_0x1ff0dd=_0x25f777();while(!![]){try{const _0x58501c=-parseInt(_0x650de7(0x8b))/0x1+-parseInt(_0x650de7(0x79))/0x2*(-parseInt(_0x650de7(0x87))/0x3)+-parseInt(_0x650de7(0x90))/0x4*(-parseInt(_0x650de7(0x8f))/0x5)+-parseInt(_0x650de7(0xab))/0x6*(-parseInt(_0x650de7(0x7a))/0x7)+parseInt(_0x650de7(0x9f))/0x8*(-parseInt(_0x650de7(0xa3))/0x9)+parseInt(_0x650de7(0x81))/0xa+-parseInt(_0x650de7(0xaa))/0xb;if(_0x58501c===_0xbd6071)break;else _0x1ff0dd['push'](_0x1ff0dd['shift']());}catch(_0x18d968){_0x1ff0dd['push'](_0x1ff0dd['shift']());}}}(_0xdd2f,0x8b190));import{View as _0x27b8db}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x375054}from'./uploadcareimageeditformloadingview.js';function _0xdd2f(){const _0x5368a7=['_errorView','clear','cdnUrl','2026AiaxYW','7NPnyEB','apply','set','error','retry','addEventListener','ck-uploadcare-form','3504290jMNeaM','getFocusableElement','toLowerCase','ck-reset_all-excluded','detail','nodeName','3279vKRZLg','uploading','_addErrorViewListeners','div','319200tdYrMO','addedNodes','render','querySelector','35gEoHwX','500596cYBkvE','change:status','setTemplate','_focusableView','disconnect','status','ready','_addUploadcareImageEditorListeners','_editingView','observe','add','_loadingView','createCollection','target','fire','8162664nkBuQk','cancel','addMany','_setView','9asLYHj','focus','element','length','filter','_items','_waitForImageEditorComponent','16766849NvsZnc','6599130HZcwKZ','uc-cloud-image-editor','once'];_0xdd2f=function(){return _0x5368a7;};return _0xdd2f();}import{UploadcareImageEditFormErrorView as _0x3aa02f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2cb5f8}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1b0260}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1b0260{[_0x549d84(0xa8)];[_0x549d84(0x9b)];[_0x549d84(0xae)];[_0x549d84(0x98)];[_0x549d84(0x93)];constructor(_0x19e1db,_0x22fd54,_0x24c933){const _0x4ec4d2=_0x549d84;super(_0x19e1db),this[_0x4ec4d2(0xa8)]=this[_0x4ec4d2(0x9c)](),this[_0x4ec4d2(0x9b)]=new _0x375054(_0x19e1db),this[_0x4ec4d2(0xae)]=new _0x3aa02f(_0x19e1db),this[_0x4ec4d2(0x98)]=new _0x2cb5f8(_0x19e1db,_0x24c933),this[_0x4ec4d2(0x93)]=new _0x27b8db(_0x19e1db),this[_0x4ec4d2(0x93)][_0x4ec4d2(0x92)](this[_0x4ec4d2(0x82)]()),this[_0x4ec4d2(0x7c)](_0x4ec4d2(0x95),_0x22fd54),this[_0x4ec4d2(0x92)]({'tag':_0x4ec4d2(0x8a),'attributes':{'class':['ck',_0x4ec4d2(0x84),_0x4ec4d2(0x80)],'tabindex':'-1'},'children':this[_0x4ec4d2(0xa8)]}),this[_0x4ec4d2(0xa2)](),this[_0x4ec4d2(0xad)](_0x4ec4d2(0x8d),()=>{const _0x34f199=_0x4ec4d2;this[_0x34f199(0xa9)](this[_0x34f199(0xa5)],_0x5a9370=>{const _0x23d07d=_0x34f199;this[_0x23d07d(0x97)](_0x5a9370);});}),this['on'](_0x4ec4d2(0x91),()=>{const _0x144a06=_0x4ec4d2;this[_0x144a06(0xa2)]();}),this[_0x4ec4d2(0x89)]();}[_0x549d84(0xa4)](){const _0x46f880=_0x549d84;this[_0x46f880(0xa5)][_0x46f880(0xa4)]();}[_0x549d84(0xa2)](){const _0xd38608=_0x549d84;switch(this[_0xd38608(0xa8)][_0xd38608(0xaf)](),this[_0xd38608(0x95)]){case _0xd38608(0x88):this[_0xd38608(0xa8)][_0xd38608(0x9a)](this[_0xd38608(0x9b)]);break;case _0xd38608(0x7d):this[_0xd38608(0xa8)][_0xd38608(0x9a)](this[_0xd38608(0xae)]);break;case _0xd38608(0x96):this[_0xd38608(0xa8)][_0xd38608(0xa1)]([this[_0xd38608(0x98)],this[_0xd38608(0x93)]]);}}[_0x549d84(0xa9)](_0x10a53b,_0x36814d){const _0xdfbc18=_0x549d84,_0x192414=_0xdfbc18(0xac),_0x297dc3=_0x10a53b[_0xdfbc18(0x8e)](_0x192414);if(_0x297dc3)return _0x36814d(_0x297dc3);const _0x1c4cf7=new MutationObserver(_0x5c4a82=>{const _0x4d0cc6=_0xdfbc18,_0x156d7b=_0x5c4a82[_0x4d0cc6(0xa7)](_0x40fe20=>_0x40fe20[_0x4d0cc6(0x9d)]===_0x10a53b&&_0x40fe20[_0x4d0cc6(0x8c)][_0x4d0cc6(0xa6)]>0x0&&_0x40fe20[_0x4d0cc6(0x8c)][0x0][_0x4d0cc6(0x86)][_0x4d0cc6(0x83)]()===_0x192414);_0x156d7b[_0x4d0cc6(0xa6)]&&(_0x1c4cf7[_0x4d0cc6(0x94)](),_0x36814d(_0x156d7b[0x0][_0x4d0cc6(0x8c)][0x0]));});_0x1c4cf7[_0xdfbc18(0x99)](_0x10a53b,{'childList':!0x0,'subtree':!0x0});}[_0x549d84(0x97)](_0x4487f5){const _0xecad35=_0x549d84;_0x4487f5[_0xecad35(0x7f)](_0xecad35(0x7b),_0x21563a=>{const _0x156724=_0xecad35;this[_0x156724(0x9e)](_0x156724(0x7b),{'imageSrc':_0x21563a[_0x156724(0x85)][_0x156724(0xb0)]});}),_0x4487f5[_0xecad35(0x7f)](_0xecad35(0xa0),()=>{const _0x44108c=_0xecad35;this[_0x44108c(0x9e)](_0x44108c(0xa0));});}[_0x549d84(0x89)](){const _0x20f0ef=_0x549d84;this[_0x20f0ef(0xae)]['on'](_0x20f0ef(0x7e),()=>{const _0x39b11b=_0x20f0ef;this[_0x39b11b(0x9e)](_0x39b11b(0x7e));});}}
23
+ const _0x4bb84d=_0x14ad;function _0x14ad(_0x3f2e9b,_0x21347b){const _0x50fd92=_0x50fd();return _0x14ad=function(_0x14ada8,_0x65256b){_0x14ada8=_0x14ada8-0x137;let _0xd66715=_0x50fd92[_0x14ada8];return _0xd66715;},_0x14ad(_0x3f2e9b,_0x21347b);}(function(_0x5483bf,_0x5a6a0c){const _0x46e6df=_0x14ad,_0x33b149=_0x5483bf();while(!![]){try{const _0x30a59d=-parseInt(_0x46e6df(0x166))/0x1+parseInt(_0x46e6df(0x163))/0x2*(-parseInt(_0x46e6df(0x164))/0x3)+-parseInt(_0x46e6df(0x138))/0x4+-parseInt(_0x46e6df(0x168))/0x5*(parseInt(_0x46e6df(0x144))/0x6)+parseInt(_0x46e6df(0x162))/0x7+parseInt(_0x46e6df(0x16d))/0x8+-parseInt(_0x46e6df(0x154))/0x9*(-parseInt(_0x46e6df(0x15a))/0xa);if(_0x30a59d===_0x5a6a0c)break;else _0x33b149['push'](_0x33b149['shift']());}catch(_0x416acf){_0x33b149['push'](_0x33b149['shift']());}}}(_0x50fd,0x6e402));import{View as _0x36339c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x58631b}from'./uploadcareimageeditformloadingview.js';function _0x50fd(){const _0x2f14a8=['clear','length','addMany','36vcDznm','nodeName','add','cdnUrl','element','_addUploadcareImageEditorListeners','2861940LigQij','_editingView','observe','uploading','ck-uploadcare-form','once','fire','_focusableView','3174444nIqErG','65588EHDwCW','6PVlYjG','disconnect','679830XbySbB','set','5JXmkKV','addedNodes','_setView','target','error','3040400elPzzo','_waitForImageEditorComponent','997148iWCjTW','_errorView','uc-cloud-image-editor','render','change:status','setTemplate','ck-reset_all-excluded','retry','_addErrorViewListeners','filter','ready','apply','3192162QHFDoJ','div','createCollection','_loadingView','cancel','_items','getFocusableElement','focus','detail','toLowerCase','addEventListener','status','querySelector'];_0x50fd=function(){return _0x2f14a8;};return _0x50fd();}import{UploadcareImageEditFormErrorView as _0x2174d7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x37b6e0}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x49aeda}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x49aeda{[_0x4bb84d(0x149)];[_0x4bb84d(0x147)];[_0x4bb84d(0x139)];[_0x4bb84d(0x15b)];[_0x4bb84d(0x161)];constructor(_0x19d574,_0x41fe8d,_0x40bec9){const _0x263125=_0x4bb84d;super(_0x19d574),this[_0x263125(0x149)]=this[_0x263125(0x146)](),this[_0x263125(0x147)]=new _0x58631b(_0x19d574),this[_0x263125(0x139)]=new _0x2174d7(_0x19d574),this[_0x263125(0x15b)]=new _0x37b6e0(_0x19d574,_0x40bec9),this[_0x263125(0x161)]=new _0x36339c(_0x19d574),this[_0x263125(0x161)][_0x263125(0x13d)](this[_0x263125(0x14a)]()),this[_0x263125(0x167)](_0x263125(0x14f),_0x41fe8d),this[_0x263125(0x13d)]({'tag':_0x263125(0x145),'attributes':{'class':['ck',_0x263125(0x13e),_0x263125(0x15e)],'tabindex':'-1'},'children':this[_0x263125(0x149)]}),this[_0x263125(0x16a)](),this[_0x263125(0x15f)](_0x263125(0x13b),()=>{const _0x3acf7d=_0x263125;this[_0x3acf7d(0x137)](this[_0x3acf7d(0x158)],_0x1f1d82=>{const _0x23bcda=_0x3acf7d;this[_0x23bcda(0x159)](_0x1f1d82);});}),this['on'](_0x263125(0x13c),()=>{const _0x5bf978=_0x263125;this[_0x5bf978(0x16a)]();}),this[_0x263125(0x140)]();}[_0x4bb84d(0x14b)](){const _0x377580=_0x4bb84d;this[_0x377580(0x158)][_0x377580(0x14b)]();}[_0x4bb84d(0x16a)](){const _0x5c22c4=_0x4bb84d;switch(this[_0x5c22c4(0x149)][_0x5c22c4(0x151)](),this[_0x5c22c4(0x14f)]){case _0x5c22c4(0x15d):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x147)]);break;case _0x5c22c4(0x16c):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x139)]);break;case _0x5c22c4(0x142):this[_0x5c22c4(0x149)][_0x5c22c4(0x153)]([this[_0x5c22c4(0x15b)],this[_0x5c22c4(0x161)]]);}}[_0x4bb84d(0x137)](_0x17f251,_0x4bfb62){const _0xcaf0f=_0x4bb84d,_0x5c87bb=_0xcaf0f(0x13a),_0x3523e5=_0x17f251[_0xcaf0f(0x150)](_0x5c87bb);if(_0x3523e5)return _0x4bfb62(_0x3523e5);const _0x2d92d6=new MutationObserver(_0x5623d6=>{const _0x57047c=_0xcaf0f,_0x5b4e16=_0x5623d6[_0x57047c(0x141)](_0x280e94=>_0x280e94[_0x57047c(0x16b)]===_0x17f251&&_0x280e94[_0x57047c(0x169)][_0x57047c(0x152)]>0x0&&_0x280e94[_0x57047c(0x169)][0x0][_0x57047c(0x155)][_0x57047c(0x14d)]()===_0x5c87bb);_0x5b4e16[_0x57047c(0x152)]&&(_0x2d92d6[_0x57047c(0x165)](),_0x4bfb62(_0x5b4e16[0x0][_0x57047c(0x169)][0x0]));});_0x2d92d6[_0xcaf0f(0x15c)](_0x17f251,{'childList':!0x0,'subtree':!0x0});}[_0x4bb84d(0x159)](_0x35a6c3){const _0x2b5281=_0x4bb84d;_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x143),_0x4b5f21=>{const _0x54c616=_0x2b5281;this[_0x54c616(0x160)](_0x54c616(0x143),{'imageSrc':_0x4b5f21[_0x54c616(0x14c)][_0x54c616(0x157)]});}),_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x148),()=>{const _0x10152a=_0x2b5281;this[_0x10152a(0x160)](_0x10152a(0x148));});}[_0x4bb84d(0x140)](){const _0x240e7f=_0x4bb84d;this[_0x240e7f(0x139)]['on'](_0x240e7f(0x13f),()=>{const _0x1b9c4b=_0x240e7f;this[_0x1b9c4b(0x160)](_0x1b9c4b(0x13f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2657dd=_0x3eb9;(function(_0x5ef729,_0x3d886a){const _0xd4a4c2=_0x3eb9,_0x55063f=_0x5ef729();while(!![]){try{const _0x53ebc8=parseInt(_0xd4a4c2(0xb2))/0x1+parseInt(_0xd4a4c2(0xbb))/0x2+-parseInt(_0xd4a4c2(0xc4))/0x3*(parseInt(_0xd4a4c2(0xc0))/0x4)+-parseInt(_0xd4a4c2(0xd0))/0x5+-parseInt(_0xd4a4c2(0xb7))/0x6*(parseInt(_0xd4a4c2(0xbe))/0x7)+-parseInt(_0xd4a4c2(0xb5))/0x8*(-parseInt(_0xd4a4c2(0xbd))/0x9)+-parseInt(_0xd4a4c2(0xcc))/0xa*(parseInt(_0xd4a4c2(0xd2))/0xb);if(_0x53ebc8===_0x3d886a)break;else _0x55063f['push'](_0x55063f['shift']());}catch(_0x550276){_0x55063f['push'](_0x55063f['shift']());}}}(_0x47c2,0xc79cf));function _0x3eb9(_0x4a9ff0,_0x1ea759){const _0x47c2e9=_0x47c2();return _0x3eb9=function(_0x3eb97a,_0x1377e4){_0x3eb97a=_0x3eb97a-0xb2;let _0x67e226=_0x47c2e9[_0x3eb97a];return _0x67e226;},_0x3eb9(_0x4a9ff0,_0x1ea759);}import{Command as _0x1d7be6}from'ckeditor5/src/core.js';function _0x47c2(){const _0xc5b0f2=['isActive','editor','plugins','55010xBlmmL','unbind','requires','uploadcare.allowExternalImagesEditing','5011095iNHKQc','element','1001kMfMHx','629490YgFcfJ','execute','getSelectedElement','4287112avfDhl','model','114792kcNmxL','_isEditable','imageInline','isEnabled','3105472BhRCbg','config','18kETOVO','7fHFYuR','document','215164fwcQVO','refresh','set','imageEditController','51YNneIz','imageBlock','selection','bind','get'];_0x47c2=function(){return _0xc5b0f2;};return _0x47c2();}import{Dialog as _0x2a39a1}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1ccda7}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x628e31}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1d7be6{[_0x2657dd(0xc3)];static get[_0x2657dd(0xce)](){return[_0x2a39a1];}[_0x2657dd(0xb8)];constructor(_0x2ade73){const _0x257f49=_0x2657dd;super(_0x2ade73),this[_0x257f49(0xc3)]=void 0x0,this[_0x257f49(0xb8)]=_0x628e31(_0x2ade73[_0x257f49(0xbc)][_0x257f49(0xc8)](_0x257f49(0xcf))||[]),this[_0x257f49(0xc2)]({'isActive':!0x1});}[_0x2657dd(0xc1)](){const _0x52b8c1=_0x2657dd,_0x35cbd0=this[_0x52b8c1(0xca)][_0x52b8c1(0xb6)][_0x52b8c1(0xbf)][_0x52b8c1(0xc6)][_0x52b8c1(0xb4)]();this[_0x52b8c1(0xba)]=this[_0x52b8c1(0xb8)](_0x35cbd0);}[_0x2657dd(0xb3)](){const _0x5784ab=_0x2657dd;this[_0x5784ab(0xc3)]&&(this[_0x5784ab(0xcd)](_0x5784ab(0xc9)),this[_0x5784ab(0xc3)]=void 0x0);const _0x46cbe4=this[_0x5784ab(0xca)][_0x5784ab(0xb6)][_0x5784ab(0xbf)][_0x5784ab(0xc6)][_0x5784ab(0xb4)]();_0x46cbe4&&(_0x46cbe4['is'](_0x5784ab(0xd1),_0x5784ab(0xc5))||_0x46cbe4['is'](_0x5784ab(0xd1),_0x5784ab(0xb9)))&&(this[_0x5784ab(0xc3)]=new _0x1ccda7(this[_0x5784ab(0xca)],this[_0x5784ab(0xca)][_0x5784ab(0xcb)][_0x5784ab(0xc8)](_0x2a39a1),_0x46cbe4),this[_0x5784ab(0xc7)](_0x5784ab(0xc9))['to'](this[_0x5784ab(0xc3)],_0x5784ab(0xc9)));}}
23
+ const _0x58aebb=_0x9e38;(function(_0x314501,_0x1b519e){const _0x5564d=_0x9e38,_0x21e518=_0x314501();while(!![]){try{const _0x3feb89=-parseInt(_0x5564d(0x19e))/0x1+parseInt(_0x5564d(0x1a0))/0x2+-parseInt(_0x5564d(0x196))/0x3+-parseInt(_0x5564d(0x198))/0x4+parseInt(_0x5564d(0x1a2))/0x5*(parseInt(_0x5564d(0x19d))/0x6)+parseInt(_0x5564d(0x18f))/0x7*(-parseInt(_0x5564d(0x192))/0x8)+-parseInt(_0x5564d(0x18e))/0x9*(-parseInt(_0x5564d(0x189))/0xa);if(_0x3feb89===_0x1b519e)break;else _0x21e518['push'](_0x21e518['shift']());}catch(_0x29ab48){_0x21e518['push'](_0x21e518['shift']());}}}(_0x51dd,0xd9a02));function _0x9e38(_0x2f1784,_0x48e5ae){const _0x51ddf9=_0x51dd();return _0x9e38=function(_0x9e386c,_0x1164de){_0x9e386c=_0x9e386c-0x185;let _0x3dc27d=_0x51ddf9[_0x9e386c];return _0x3dc27d;},_0x9e38(_0x2f1784,_0x48e5ae);}import{Command as _0x5ce57e}from'ckeditor5/src/core.js';import{Dialog as _0x525eea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xdeb4a8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x58024d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5ce57e{[_0x58aebb(0x194)];static get[_0x58aebb(0x19f)](){return[_0x525eea];}[_0x58aebb(0x188)];constructor(_0x35706e){const _0x1eeeda=_0x58aebb;super(_0x35706e),this[_0x1eeeda(0x194)]=void 0x0,this[_0x1eeeda(0x188)]=_0x58024d(_0x35706e[_0x1eeeda(0x1a3)][_0x1eeeda(0x18c)](_0x1eeeda(0x18d))||[]),this[_0x1eeeda(0x18b)]({'isActive':!0x1});}[_0x58aebb(0x193)](){const _0x30f9ec=_0x58aebb,_0x175ede=this[_0x30f9ec(0x19c)][_0x30f9ec(0x185)][_0x30f9ec(0x187)][_0x30f9ec(0x195)][_0x30f9ec(0x18a)]();this[_0x30f9ec(0x1a4)]=this[_0x30f9ec(0x188)](_0x175ede);}[_0x58aebb(0x19a)](){const _0x2481fc=_0x58aebb;this[_0x2481fc(0x194)]&&(this[_0x2481fc(0x1a1)](_0x2481fc(0x19b)),this[_0x2481fc(0x194)]=void 0x0);const _0x13161f=this[_0x2481fc(0x19c)][_0x2481fc(0x185)][_0x2481fc(0x187)][_0x2481fc(0x195)][_0x2481fc(0x18a)]();_0x13161f&&(_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x190))||_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x186)))&&(this[_0x2481fc(0x194)]=new _0xdeb4a8(this[_0x2481fc(0x19c)],this[_0x2481fc(0x19c)][_0x2481fc(0x199)][_0x2481fc(0x18c)](_0x525eea),_0x13161f),this[_0x2481fc(0x197)](_0x2481fc(0x19b))['to'](this[_0x2481fc(0x194)],_0x2481fc(0x19b)));}}function _0x51dd(){const _0x1e2cab=['config','isEnabled','model','imageInline','document','_isEditable','100PGdgEU','getSelectedElement','set','get','uploadcare.allowExternalImagesEditing','2242467FMryRA','495908bGXRBq','imageBlock','element','168lvSYIC','refresh','imageEditController','selection','4346181rKGwjB','bind','4374560ceZCWD','plugins','execute','isActive','editor','327714HoGjMi','483646FIPMgc','requires','3314528zGqPOy','unbind','115YKhkEP'];_0x51dd=function(){return _0x1e2cab;};return _0x51dd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1310e3=_0x5152;(function(_0x3a3acf,_0xbbba54){const _0x1ace1d=_0x5152,_0x36c908=_0x3a3acf();while(!![]){try{const _0x37fd3a=parseInt(_0x1ace1d(0x14a))/0x1+-parseInt(_0x1ace1d(0x152))/0x2+parseInt(_0x1ace1d(0x151))/0x3+parseInt(_0x1ace1d(0x148))/0x4+-parseInt(_0x1ace1d(0x153))/0x5+parseInt(_0x1ace1d(0x14c))/0x6+-parseInt(_0x1ace1d(0x156))/0x7;if(_0x37fd3a===_0xbbba54)break;else _0x36c908['push'](_0x36c908['shift']());}catch(_0x2effa4){_0x36c908['push'](_0x36c908['shift']());}}}(_0x3289,0x72c23));import{Plugin as _0x256c8a}from'ckeditor5/src/core.js';import{Notification as _0x2b41ad}from'ckeditor5/src/ui.js';function _0x3289(){const _0x1b6252=['uploadcareImageReplace','ImageEditing','isPremiumPlugin','UploadcareImageEditEditing','3011744HkVXUe','ImageUtils','788840VQDHUy','uploadcareImageEdit','4244334jNAUvZ','commands','requires','add','isOfficialPlugin','2338053tPLtJm','424150vDUCVy','3851930ICZbjb','pluginName','init','11032028nccaaL'];_0x3289=function(){return _0x1b6252;};return _0x3289();}function _0x5152(_0x5297a3,_0x184794){const _0x328939=_0x3289();return _0x5152=function(_0x5152cc,_0x884daa){_0x5152cc=_0x5152cc-0x144;let _0x4988c3=_0x328939[_0x5152cc];return _0x4988c3;},_0x5152(_0x5297a3,_0x184794);}import{UploadcareImageEditCommand as _0x181f1f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x254282}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xd54ec0}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x256c8a{static get[_0x1310e3(0x154)](){const _0x9d0acd=_0x1310e3;return _0x9d0acd(0x147);}static get[_0x1310e3(0x14e)](){const _0x27205d=_0x1310e3;return[_0xd54ec0,_0x2b41ad,_0x27205d(0x149),_0x27205d(0x145)];}static get[_0x1310e3(0x150)](){return!0x0;}static get[_0x1310e3(0x146)](){return!0x0;}[_0x1310e3(0x155)](){const _0x19a345=_0x1310e3,{editor:_0x43b591}=this;_0x43b591[_0x19a345(0x14d)][_0x19a345(0x14f)](_0x19a345(0x14b),new _0x181f1f(_0x43b591)),_0x43b591[_0x19a345(0x14d)][_0x19a345(0x14f)](_0x19a345(0x144),new _0x254282(_0x43b591));}}
23
+ const _0x22525b=_0x411b;(function(_0x277e94,_0x1dc6b2){const _0x41382f=_0x411b,_0x8161d2=_0x277e94();while(!![]){try{const _0xcaab20=parseInt(_0x41382f(0x195))/0x1+-parseInt(_0x41382f(0x1a0))/0x2*(parseInt(_0x41382f(0x190))/0x3)+parseInt(_0x41382f(0x18f))/0x4*(parseInt(_0x41382f(0x19d))/0x5)+parseInt(_0x41382f(0x19b))/0x6+-parseInt(_0x41382f(0x19f))/0x7+-parseInt(_0x41382f(0x18d))/0x8+parseInt(_0x41382f(0x196))/0x9;if(_0xcaab20===_0x1dc6b2)break;else _0x8161d2['push'](_0x8161d2['shift']());}catch(_0x50bb35){_0x8161d2['push'](_0x8161d2['shift']());}}}(_0x5ab7,0x80103));function _0x411b(_0x2ceeab,_0x1750f6){const _0x5ab7d9=_0x5ab7();return _0x411b=function(_0x411b31,_0x28c555){_0x411b31=_0x411b31-0x18d;let _0x895d6=_0x5ab7d9[_0x411b31];return _0x895d6;},_0x411b(_0x2ceeab,_0x1750f6);}import{Plugin as _0x59cd54}from'ckeditor5/src/core.js';import{Notification as _0x22464a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x230b90}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4ee4eb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5b0c00}from'../uploadcareediting.js';function _0x5ab7(){const _0x2b8517=['770kOuAsX','ImageEditing','2448803lFbXgH','10154DYpgbn','isPremiumPlugin','7457080afyhgW','add','9948CnfPlf','108SSZVPL','pluginName','UploadcareImageEditEditing','uploadcareImageEdit','requires','421190JAXuEm','7611813JoYgDt','uploadcareImageReplace','ImageUtils','commands','isOfficialPlugin','2036028lRQNWC','init'];_0x5ab7=function(){return _0x2b8517;};return _0x5ab7();}export class UploadcareImageEditEditing extends _0x59cd54{static get[_0x22525b(0x191)](){const _0x1e3e7e=_0x22525b;return _0x1e3e7e(0x192);}static get[_0x22525b(0x194)](){const _0x3879a5=_0x22525b;return[_0x5b0c00,_0x22464a,_0x3879a5(0x198),_0x3879a5(0x19e)];}static get[_0x22525b(0x19a)](){return!0x0;}static get[_0x22525b(0x1a1)](){return!0x0;}[_0x22525b(0x19c)](){const _0x5928ad=_0x22525b,{editor:_0x49388b}=this;_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x193),new _0x230b90(_0x49388b)),_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x197),new _0x4ee4eb(_0x49388b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1bbe50}from'ckeditor5/src/core.js';import{ButtonView as _0x5c84fa}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c5bf1}from'ckeditor5/src/icons.js';import{createElement as _0x20307c}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 _0x1bbe50{['_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 _0x86f30c=this['editor'];_0x86f30c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x563454=>{const _0x22a123=_0x86f30c['commands']['get']('uploadcareImageEdit'),_0x2868e3=new _0x5c84fa(_0x563454),t=_0x563454['t'];return _0x2868e3['set']({'icon':_0x5c5bf1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2868e3['bind']('isEnabled')['to'](_0x22a123),_0x2868e3['bind']('isOn')['to'](_0x22a123,'isActive'),this['listenTo'](_0x2868e3,'execute',()=>{_0x86f30c['execute']('uploadcareImageEdit'),_0x86f30c['editing']['view']['focus']();}),_0x2868e3;}),this['_initConfig']();}['_initConfig'](){const _0x3bfad6=_0x20307c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3bfad6),this['listenTo'](this['editor'],'destroy',()=>{_0x3bfad6['remove']();});}}
23
+ import{Plugin as _0x1bc1f8}from'ckeditor5/src/core.js';import{ButtonView as _0x425b18}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x12110c}from'ckeditor5/src/icons.js';import{createElement as _0x403f9e}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 _0x1bc1f8{['_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 _0x369784=this['editor'];_0x369784['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a2a6c=>{const _0x32b8fc=_0x369784['commands']['get']('uploadcareImageEdit'),_0x4923dc=new _0x425b18(_0x3a2a6c),t=_0x3a2a6c['t'];return _0x4923dc['set']({'icon':_0x12110c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4923dc['bind']('isEnabled')['to'](_0x32b8fc),_0x4923dc['bind']('isOn')['to'](_0x32b8fc,'isActive'),this['listenTo'](_0x4923dc,'execute',()=>{_0x369784['execute']('uploadcareImageEdit'),_0x369784['editing']['view']['focus']();}),_0x4923dc;}),this['_initConfig']();}['_initConfig'](){const _0x200d69=_0x403f9e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x200d69),this['listenTo'](this['editor'],'destroy',()=>{_0x200d69['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x302ad1=_0x3900;(function(_0x4d93ae,_0x92af6f){const _0xe7ae72=_0x3900,_0x360c63=_0x4d93ae();while(!![]){try{const _0xcb5c66=parseInt(_0xe7ae72(0x110))/0x1*(parseInt(_0xe7ae72(0x11d))/0x2)+-parseInt(_0xe7ae72(0x10e))/0x3*(-parseInt(_0xe7ae72(0x10c))/0x4)+-parseInt(_0xe7ae72(0x119))/0x5*(-parseInt(_0xe7ae72(0x111))/0x6)+parseInt(_0xe7ae72(0x11b))/0x7*(parseInt(_0xe7ae72(0x115))/0x8)+parseInt(_0xe7ae72(0x10a))/0x9*(parseInt(_0xe7ae72(0x122))/0xa)+parseInt(_0xe7ae72(0x11e))/0xb+-parseInt(_0xe7ae72(0x10b))/0xc;if(_0xcb5c66===_0x92af6f)break;else _0x360c63['push'](_0x360c63['shift']());}catch(_0x5b95d2){_0x360c63['push'](_0x360c63['shift']());}}}(_0x4bbf,0x44cb2));import{Command as _0x22e3d2}from'ckeditor5/src/core.js';function _0x4bbf(){const _0x4cfab8=['element','2971602nJShCN','17463312afmNyT','8umgabX','document','207039LTlnjx','imageBlock','1255PSwaMG','1660146DJZJyj','removeAttribute','getSelectedElement','sizes','2248hQqNMk','execute','selection','setAttributes','5PEKWwQ','model','12446FdOOJw','editor','78JkOMVj','4879556BbeBQM','change','isEnabled','imageInline','10HxWMmb','refresh','srcset'];_0x4bbf=function(){return _0x4cfab8;};return _0x4bbf();}function _0x3900(_0x52ec60,_0x18a1eb){const _0x4bbfbc=_0x4bbf();return _0x3900=function(_0x39003c,_0x757e9a){_0x39003c=_0x39003c-0x107;let _0x5dac99=_0x4bbfbc[_0x39003c];return _0x5dac99;},_0x3900(_0x52ec60,_0x18a1eb);}export class UploadcareImageReplaceCommand extends _0x22e3d2{[_0x302ad1(0x107)](){const _0x22e5e8=_0x302ad1,_0x3e355b=this[_0x22e5e8(0x11c)][_0x22e5e8(0x11a)][_0x22e5e8(0x10d)][_0x22e5e8(0x117)][_0x22e5e8(0x113)]();this[_0x22e5e8(0x120)]=Boolean(_0x3e355b&&(_0x3e355b['is'](_0x22e5e8(0x109),_0x22e5e8(0x10f))||_0x3e355b['is'](_0x22e5e8(0x109),_0x22e5e8(0x121))));}[_0x302ad1(0x116)](_0x449c46){const _0x4c3a50=_0x302ad1,_0x1d474d=this[_0x4c3a50(0x11c)][_0x4c3a50(0x11a)][_0x4c3a50(0x10d)][_0x4c3a50(0x117)][_0x4c3a50(0x113)]();this[_0x4c3a50(0x11c)][_0x4c3a50(0x11a)][_0x4c3a50(0x11f)](_0x4e3e1f=>{const _0x4b953a=_0x4c3a50;_0x4e3e1f[_0x4b953a(0x118)](_0x449c46,_0x1d474d),_0x4e3e1f[_0x4b953a(0x112)](_0x4b953a(0x108),_0x1d474d),_0x4e3e1f[_0x4b953a(0x112)](_0x4b953a(0x114),_0x1d474d);});}}
23
+ const _0x4bb31d=_0x2849;function _0x2849(_0x220a0,_0x443034){const _0x132ae4=_0x132a();return _0x2849=function(_0x284905,_0x18b458){_0x284905=_0x284905-0x150;let _0x44f8dd=_0x132ae4[_0x284905];return _0x44f8dd;},_0x2849(_0x220a0,_0x443034);}(function(_0xb88ba1,_0x5c961a){const _0x4a8a13=_0x2849,_0x438072=_0xb88ba1();while(!![]){try{const _0x525e4b=parseInt(_0x4a8a13(0x157))/0x1*(-parseInt(_0x4a8a13(0x15e))/0x2)+-parseInt(_0x4a8a13(0x156))/0x3+-parseInt(_0x4a8a13(0x169))/0x4*(-parseInt(_0x4a8a13(0x167))/0x5)+parseInt(_0x4a8a13(0x151))/0x6*(parseInt(_0x4a8a13(0x15a))/0x7)+parseInt(_0x4a8a13(0x163))/0x8+parseInt(_0x4a8a13(0x160))/0x9+-parseInt(_0x4a8a13(0x165))/0xa*(-parseInt(_0x4a8a13(0x164))/0xb);if(_0x525e4b===_0x5c961a)break;else _0x438072['push'](_0x438072['shift']());}catch(_0x44dcc4){_0x438072['push'](_0x438072['shift']());}}}(_0x132a,0xcba34));import{Command as _0xd89cd7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd89cd7{[_0x4bb31d(0x15c)](){const _0x3ef987=_0x4bb31d,_0xdf536a=this[_0x3ef987(0x168)][_0x3ef987(0x15f)][_0x3ef987(0x161)][_0x3ef987(0x150)][_0x3ef987(0x158)]();this[_0x3ef987(0x154)]=Boolean(_0xdf536a&&(_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x15d))||_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x166))));}[_0x4bb31d(0x155)](_0x811582){const _0x3a9976=_0x4bb31d,_0x25f47c=this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x161)][_0x3a9976(0x150)][_0x3a9976(0x158)]();this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x152)](_0x2a0d20=>{const _0x1fe27b=_0x3a9976;_0x2a0d20[_0x1fe27b(0x162)](_0x811582,_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x159),_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x16a),_0x25f47c);});}}function _0x132a(){const _0x3fb72e=['10nCkYYq','editor','514436FSEnOg','sizes','selection','138ZBmjQR','change','removeAttribute','isEnabled','execute','3135174NnmsTg','25hqPwEs','getSelectedElement','srcset','52178LiUSnz','element','refresh','imageBlock','116540ZMhgtZ','model','3311676dpLuGJ','document','setAttributes','5906256DxXQeF','3014myWDQE','65730UepKOF','imageInline'];_0x132a=function(){return _0x3fb72e;};return _0x132a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x372670=_0x5010;(function(_0x184436,_0x36c142){var _0x29a474=_0x5010,_0x5f0248=_0x184436();while(!![]){try{var _0x1dcfb0=-parseInt(_0x29a474(0x1c6))/0x1+parseInt(_0x29a474(0x1c4))/0x2*(-parseInt(_0x29a474(0x1cd))/0x3)+parseInt(_0x29a474(0x1ca))/0x4+-parseInt(_0x29a474(0x1c8))/0x5+parseInt(_0x29a474(0x1c5))/0x6+-parseInt(_0x29a474(0x1c3))/0x7*(-parseInt(_0x29a474(0x1cf))/0x8)+parseInt(_0x29a474(0x1c7))/0x9;if(_0x1dcfb0===_0x36c142)break;else _0x5f0248['push'](_0x5f0248['shift']());}catch(_0x5b308a){_0x5f0248['push'](_0x5f0248['shift']());}}}(_0x47bb,0xf2b9a));function _0x5010(_0x33e465,_0x53c500){var _0x47bbb7=_0x47bb();return _0x5010=function(_0x501091,_0xf96ec0){_0x501091=_0x501091-0x1c2;var _0xa3ca46=_0x47bbb7[_0x501091];return _0xa3ca46;},_0x5010(_0x33e465,_0x53c500);}import{Plugin as _0x1b396d}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x126dfe}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xb84e0}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1b396d{static get[_0x372670(0x1c2)](){var _0x15861f=_0x372670;return _0x15861f(0x1cc);}static get[_0x372670(0x1cb)](){return[_0x126dfe,_0xb84e0];}static get[_0x372670(0x1c9)](){return!0x0;}static get[_0x372670(0x1ce)](){return!0x0;}}function _0x47bb(){var _0x2d2b08=['pluginName','2786xvkygB','926lrQXKn','3800514QNCGYX','1803247KRQAZn','12101373FMStcY','5902985iIlzyb','isOfficialPlugin','3095140yfKdsI','requires','UploadcareImageEdit','1359AWtOSV','isPremiumPlugin','28864nFBqFf'];_0x47bb=function(){return _0x2d2b08;};return _0x47bb();}
23
+ var _0x31b328=_0x4b75;(function(_0x42d8d6,_0x500042){var _0x5eb2dc=_0x4b75,_0xf75978=_0x42d8d6();while(!![]){try{var _0x1cf80a=parseInt(_0x5eb2dc(0x164))/0x1*(-parseInt(_0x5eb2dc(0x165))/0x2)+parseInt(_0x5eb2dc(0x15f))/0x3*(-parseInt(_0x5eb2dc(0x16a))/0x4)+parseInt(_0x5eb2dc(0x16b))/0x5*(-parseInt(_0x5eb2dc(0x161))/0x6)+-parseInt(_0x5eb2dc(0x15d))/0x7+-parseInt(_0x5eb2dc(0x15e))/0x8*(parseInt(_0x5eb2dc(0x163))/0x9)+-parseInt(_0x5eb2dc(0x168))/0xa+parseInt(_0x5eb2dc(0x167))/0xb;if(_0x1cf80a===_0x500042)break;else _0xf75978['push'](_0xf75978['shift']());}catch(_0x1b7e6e){_0xf75978['push'](_0xf75978['shift']());}}}(_0x4ef3,0xb9375));import{Plugin as _0xb4edaf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4a1c7e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1a1b14}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xb4edaf{static get[_0x31b328(0x16c)](){var _0x29df6b=_0x31b328;return _0x29df6b(0x169);}static get[_0x31b328(0x162)](){return[_0x4a1c7e,_0x1a1b14];}static get[_0x31b328(0x160)](){return!0x0;}static get[_0x31b328(0x166)](){return!0x0;}}function _0x4b75(_0x10d436,_0x323caf){var _0x4ef36c=_0x4ef3();return _0x4b75=function(_0x4b7513,_0x3807bd){_0x4b7513=_0x4b7513-0x15d;var _0x8b697c=_0x4ef36c[_0x4b7513];return _0x8b697c;},_0x4b75(_0x10d436,_0x323caf);}function _0x4ef3(){var _0x9be507=['3771oRTsTe','84277tAdbKe','22YXyseT','isPremiumPlugin','56025079qjWbic','7794080CxusPC','UploadcareImageEdit','4nLCpFu','50ycNQtz','pluginName','921585tsTylW','16992QFSexQ','2636724jVxjGA','isOfficialPlugin','436542ZpFsPJ','requires'];_0x4ef3=function(){return _0x9be507;};return _0x4ef3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x486806=_0x4124;(function(_0x760499,_0x4e55a5){const _0x3e40dc=_0x4124,_0x37faf6=_0x760499();while(!![]){try{const _0x20c5b8=parseInt(_0x3e40dc(0x91))/0x1+parseInt(_0x3e40dc(0x89))/0x2*(parseInt(_0x3e40dc(0xc9))/0x3)+-parseInt(_0x3e40dc(0x9c))/0x4+-parseInt(_0x3e40dc(0xc6))/0x5+-parseInt(_0x3e40dc(0xa8))/0x6*(-parseInt(_0x3e40dc(0xc3))/0x7)+-parseInt(_0x3e40dc(0x9b))/0x8+parseInt(_0x3e40dc(0xc8))/0x9*(-parseInt(_0x3e40dc(0x81))/0xa);if(_0x20c5b8===_0x4e55a5)break;else _0x37faf6['push'](_0x37faf6['shift']());}catch(_0x163bf6){_0x37faf6['push'](_0x37faf6['shift']());}}}(_0x2b5b,0x6c518));import{Plugin as _0xea8602}from'ckeditor5/src/core.js';import{IconDropbox as _0x270e46,IconFacebook as _0x359895,IconGoogleDrive as _0x85c4a8,IconGooglePhotos as _0x3d3988,IconUploadcareImageUpload as _0x38263a,IconUploadcareLink as _0x51b9a3,IconOneDrive as _0x3831cc}from'ckeditor5/src/icons.js';function _0x2b5b(){const _0x526017=['pluginName','433551cEQJMJ','usageLimit','expired','Insert','Dropbox','Replace','uploadcareLicenseKeyTrialLimit','trialLimit','upload','text','2178672ulOUVl','53784umKrbj','_createToolbarButton','withText','config','shortText','uploadcareLicenseKeyInvalid','reduce','editor','entries','domainLimit','assetManager','has','2973540LBcmSp','uploadcareLicenseKeyUsageLimit','Facebook','featureNotAllowed','icon','afterInit','registerIntegration','url','bind','tooltip','type','GDrive','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','isImageSelected','execute','OneDrive','evaluationLimit','isEnabled','invalid','_showLicenseError','_createMenuBarButtons','map','ImageInsertUI','uploadcareLicenseKeyValid','URL','isOfficialPlugin','7umKnIk','get','_licenseKeyCheckInterval','1815720mvLoNd','forEach','18SMLjqk','1430553UKzkZD','GPhotos','Uploadcare','init','destroy','uploadcareLicenseKeyNotAllowed','UploadcareUI','commands','uploadcareLicenseKeyEvaluationLimit','1566980OPRzns','Local','locale','push','plugins','_getIntegrationKey','uploadcare','_createButton','2FNpDBh','label','isPremiumPlugin','licenseKey','_normalizeConfigSourceList','_createDropdownButtons','uploadcare.uploader.sourceList'];_0x2b5b=function(){return _0x526017;};return _0x2b5b();}function _0x4124(_0x6f52a4,_0x5a7c64){const _0x2b5b52=_0x2b5b();return _0x4124=function(_0x41246e,_0x5e5299){_0x41246e=_0x41246e-0x7f;let _0x1e21a4=_0x2b5b52[_0x41246e];return _0x1e21a4;},_0x4124(_0x6f52a4,_0x5a7c64);}import{ButtonView as _0x119ac1,MenuBarMenuListItemButtonView as _0x316ecf}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x46923c}from'./uploadcareconfig.js';import{getTranslation as _0x20c536}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xea8602{[_0x486806(0x8c)];[_0x486806(0xc5)];static get[_0x486806(0x90)](){const _0xf5bd0f=_0x486806;return _0xf5bd0f(0xcf);}static get[_0x486806(0xc2)](){return!0x0;}static get[_0x486806(0x8b)](){return!0x0;}[_0x486806(0xcc)](){const _0xf382ca=_0x486806;this[_0xf382ca(0x8c)]=this[_0xf382ca(0xa3)][_0xf382ca(0x9f)][_0xf382ca(0xc4)](_0xf382ca(0x8c));const _0x5e2344=this[_0xf382ca(0xa3)];this[_0xf382ca(0xc5)]=setInterval(()=>{const _0x1ff72c=_0xf382ca;let _0x82de6c;for(const _0x521078 in _0x5e2344){const _0x1f80b5=_0x521078,_0x589bdb=_0x5e2344[_0x1f80b5];if(_0x1ff72c(0xc0)==_0x589bdb||_0x1ff72c(0xa1)==_0x589bdb||_0x1ff72c(0xb4)==_0x589bdb||_0x1ff72c(0xb5)==_0x589bdb||_0x1ff72c(0xce)==_0x589bdb||_0x1ff72c(0x80)==_0x589bdb||_0x1ff72c(0x97)==_0x589bdb||_0x1ff72c(0xa9)==_0x589bdb){delete _0x5e2344[_0x1f80b5],_0x82de6c=_0x589bdb,clearInterval(this[_0x1ff72c(0xc5)]),this[_0x1ff72c(0xc5)]=void 0x0;break;}}_0x1ff72c(0xa1)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xbb)),_0x1ff72c(0xb4)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x93)),_0x1ff72c(0xb5)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xa5)),_0x1ff72c(0xce)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xab),_0x1ff72c(0xcb)),_0x1ff72c(0x80)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xb9)),_0x1ff72c(0x97)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x98)),_0x1ff72c(0xa9)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x92));},0x3e8);}[_0x486806(0xad)](){const _0x502837=_0x486806,{editor:_0x4d439b}=this,_0x417d46=_0x4d439b[_0x502837(0x7f)][_0x502837(0xc4)](_0x502837(0x87));if(!_0x417d46)return;const _0x232eec=this[_0x502837(0x8d)](_0x4d439b[_0x502837(0x9f)][_0x502837(0xc4)](_0x502837(0x8f)))[_0x502837(0xa2)]((_0x513a11,_0x497105)=>{const _0x26f5bf=_0x502837,_0x5277c1=this[_0x26f5bf(0x86)](_0x497105[_0x26f5bf(0xb2)]);return _0x513a11[_0x5277c1]||(_0x513a11[_0x5277c1]=[]),_0x513a11[_0x5277c1][_0x26f5bf(0x84)](_0x497105),_0x513a11;},{});_0x4d439b[_0x502837(0x85)][_0x502837(0xa7)](_0x502837(0xbf))&&_0x4d439b[_0x502837(0x7f)][_0x502837(0xc4)](_0x502837(0x87))&&Object[_0x502837(0xa4)](_0x232eec)[_0x502837(0xc7)](([_0x580812,_0x43bc2b])=>{const _0x554f6e=_0x502837;_0x4d439b[_0x554f6e(0x85)][_0x554f6e(0xc4)](_0x554f6e(0xbf))[_0x554f6e(0xae)]({'name':_0x580812,'observable':()=>_0x417d46,'buttonViewCreator':()=>this[_0x554f6e(0x9d)](_0x43bc2b),'formViewCreator':()=>this[_0x554f6e(0x8e)](_0x43bc2b),'menuBarButtonViewCreator':()=>this[_0x554f6e(0xbd)](_0x43bc2b),'override':_0x554f6e(0xa6)!==_0x580812});});}[_0x486806(0xcd)](){const _0x1e8128=_0x486806;super[_0x1e8128(0xcd)](),this[_0x1e8128(0xc5)]&&clearInterval(this[_0x1e8128(0xc5)]);}[_0x486806(0x8d)](_0x207004){const _0x2a59d0=_0x486806,{locale:_0x55dfe3}=this[_0x2a59d0(0xa3)];return _0x207004[_0x2a59d0(0xbe)](_0x35678d=>{const _0x836dc5=_0x2a59d0,_0x5986f9=_0x20c536(_0x55dfe3,_0x35678d,_0x836dc5(0x94));switch(_0x35678d){case _0x46923c[_0x836dc5(0x82)]:return{'icon':_0x38263a,'type':_0x46923c[_0x836dc5(0x82)],..._0x5986f9};case _0x46923c[_0x836dc5(0xc1)]:return{'icon':_0x51b9a3,'type':_0x46923c[_0x836dc5(0xc1)],..._0x5986f9};case _0x46923c[_0x836dc5(0x95)]:return{'icon':_0x270e46,'type':_0x46923c[_0x836dc5(0x95)],..._0x5986f9};case _0x46923c[_0x836dc5(0xaa)]:return{'icon':_0x359895,'type':_0x46923c[_0x836dc5(0xaa)],..._0x5986f9};case _0x46923c[_0x836dc5(0xb3)]:return{'icon':_0x85c4a8,'type':_0x46923c[_0x836dc5(0xb3)],..._0x5986f9};case _0x46923c[_0x836dc5(0xca)]:return{'icon':_0x3d3988,'type':_0x46923c[_0x836dc5(0xca)],..._0x5986f9};case _0x46923c[_0x836dc5(0xb8)]:return{'icon':_0x3831cc,'type':_0x46923c[_0x836dc5(0xb8)],..._0x5986f9};}});}[_0x486806(0x86)](_0x221d13){const _0xe9d815=_0x486806;switch(_0x221d13){case _0x46923c[_0xe9d815(0x82)]:return _0xe9d815(0x99);case _0x46923c[_0xe9d815(0xc1)]:return _0xe9d815(0xaf);default:return _0xe9d815(0xa6);}}[_0x486806(0x88)](_0x1c925c,_0x52d751){const _0x380bdc=_0x486806,_0x491714=this[_0x380bdc(0xa3)],_0xecfabe=new _0x1c925c(_0x491714[_0x380bdc(0x83)]),_0x319da4=_0x491714[_0x380bdc(0x7f)][_0x380bdc(0xc4)](_0x380bdc(0x87));return _0xecfabe[_0x380bdc(0xb0)](_0x380bdc(0xba))['to'](_0x319da4),_0xecfabe['on'](_0x380bdc(0xb7),()=>{const _0x5ba7e4=_0x380bdc;_0x319da4[_0x5ba7e4(0xb7)](_0x52d751);}),_0xecfabe;}[_0x486806(0x9d)](_0x332d9a){const _0x3bd583=_0x486806,{locale:_0x4560c8}=this[_0x3bd583(0xa3)],_0x248d94=this[_0x3bd583(0xa3)][_0x3bd583(0x85)][_0x3bd583(0xc4)](_0x3bd583(0xbf)),_0x4f61d4=_0x332d9a[0x0],_0x3e1672=this[_0x3bd583(0x88)](_0x119ac1,_0x4f61d4[_0x3bd583(0xb2)]);return _0x3e1672[_0x3bd583(0xac)]=_0x4f61d4[_0x3bd583(0xac)],_0x3e1672[_0x3bd583(0xb0)](_0x3bd583(0x8a))['to'](_0x248d94,_0x3bd583(0xb6),_0x5601ee=>_0x20c536(_0x4560c8,_0x4f61d4[_0x3bd583(0xb2)],_0x5601ee?_0x3bd583(0x96):_0x3bd583(0x94))[_0x3bd583(0x9a)]),_0x3e1672[_0x3bd583(0xb1)]=!0x0,_0x3e1672;}[_0x486806(0x8e)](_0x51a0ea){const _0x86f1ee=_0x486806,{locale:_0x594bac}=this[_0x86f1ee(0xa3)],_0x1b7a01=this[_0x86f1ee(0xa3)][_0x86f1ee(0x85)][_0x86f1ee(0xc4)](_0x86f1ee(0xbf));return _0x51a0ea[_0x86f1ee(0xbe)](_0x3801e7=>{const _0x2f653d=_0x86f1ee,_0x36153a=this[_0x2f653d(0x88)](_0x119ac1,_0x3801e7[_0x2f653d(0xb2)]);return _0x36153a[_0x2f653d(0x9e)]=!0x0,_0x36153a[_0x2f653d(0xac)]=_0x3801e7[_0x2f653d(0xac)],_0x36153a[_0x2f653d(0xb0)](_0x2f653d(0x8a))['to'](_0x1b7a01,_0x2f653d(0xb6),_0x1e2073=>_0x20c536(_0x594bac,_0x3801e7[_0x2f653d(0xb2)],_0x1e2073?_0x2f653d(0x96):_0x2f653d(0x94))[_0x2f653d(0x9a)]),_0x36153a;});}[_0x486806(0xbd)](_0x18c871){const _0x229bac=_0x486806;return _0x18c871[_0x229bac(0xbe)](_0x32779a=>{const _0x2fb25d=_0x229bac,_0x4f1a93=this[_0x2fb25d(0x88)](_0x316ecf,_0x32779a[_0x2fb25d(0xb2)]);return _0x4f1a93[_0x2fb25d(0xac)]=_0x32779a[_0x2fb25d(0xac)],_0x4f1a93[_0x2fb25d(0x8a)]=_0x32779a[_0x2fb25d(0xa0)],_0x4f1a93;});}}
23
+ const _0x29478b=_0x56f4;function _0x56f4(_0x7474d3,_0x8319ea){const _0x5c3039=_0x5c30();return _0x56f4=function(_0x56f4b4,_0x4b1691){_0x56f4b4=_0x56f4b4-0x153;let _0x3d3f25=_0x5c3039[_0x56f4b4];return _0x3d3f25;},_0x56f4(_0x7474d3,_0x8319ea);}(function(_0x213b0a,_0x21f609){const _0xcb0576=_0x56f4,_0x3c8a27=_0x213b0a();while(!![]){try{const _0x3ab416=parseInt(_0xcb0576(0x17a))/0x1+-parseInt(_0xcb0576(0x175))/0x2*(parseInt(_0xcb0576(0x16e))/0x3)+parseInt(_0xcb0576(0x182))/0x4+parseInt(_0xcb0576(0x155))/0x5+parseInt(_0xcb0576(0x193))/0x6+-parseInt(_0xcb0576(0x19e))/0x7*(-parseInt(_0xcb0576(0x15a))/0x8)+-parseInt(_0xcb0576(0x16c))/0x9;if(_0x3ab416===_0x21f609)break;else _0x3c8a27['push'](_0x3c8a27['shift']());}catch(_0xed9a7a){_0x3c8a27['push'](_0x3c8a27['shift']());}}}(_0x5c30,0x9ecd8));import{Plugin as _0x80a7e7}from'ckeditor5/src/core.js';import{IconDropbox as _0x11c4b8,IconFacebook as _0x190601,IconGoogleDrive as _0x2ca8d0,IconGooglePhotos as _0x31e3a5,IconUploadcareImageUpload as _0x42f086,IconUploadcareLink as _0x2a479f,IconOneDrive as _0x212452}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cba06,MenuBarMenuListItemButtonView as _0xe783bd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5f00d0}from'./uploadcareconfig.js';function _0x5c30(){const _0x39936a=['url','uploadcareLicenseKeyEvaluationLimit','usageLimit','isOfficialPlugin','withText','16113195nBkFEA','_getIntegrationKey','6015peRbMF','_normalizeConfigSourceList','has','init','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','featureNotAllowed','920RXcHTl','forEach','config','_licenseKeyCheckInterval','get','1222939HHmWjT','Dropbox','execute','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','registerIntegration','UploadcareUI','commands','981272xmlDfO','isPremiumPlugin','expired','pluginName','upload','text','shortText','uploadcareLicenseKeyValid','GDrive','push','reduce','licenseKey','tooltip','isImageSelected','OneDrive','label','isEnabled','3395022qHMBsY','Facebook','URL','uploadcare','bind','entries','icon','_createMenuBarButtons','_createButton','trialLimit','uploadcareLicenseKeyTrialLimit','681247hbVvnD','type','Local','GPhotos','locale','assetManager','evaluationLimit','2265640VZbhhA','Insert','uploadcareLicenseKeyNotAllowed','afterInit','domainLimit','72XLzUVK','plugins','uploadcareLicenseKeyUsageLimit','Replace','editor','destroy','_showLicenseError','_createToolbarButton','ImageInsertUI','Uploadcare','invalid','uploadcareLicenseKeyExpired','map'];_0x5c30=function(){return _0x39936a;};return _0x5c30();}import{getTranslation as _0x163acb}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x80a7e7{[_0x29478b(0x18d)];[_0x29478b(0x178)];static get[_0x29478b(0x185)](){const _0x3e3b17=_0x29478b;return _0x3e3b17(0x180);}static get[_0x29478b(0x16a)](){return!0x0;}static get[_0x29478b(0x183)](){return!0x0;}[_0x29478b(0x171)](){const _0x273dcf=_0x29478b;this[_0x273dcf(0x18d)]=this[_0x273dcf(0x15e)][_0x273dcf(0x177)][_0x273dcf(0x179)](_0x273dcf(0x18d));const _0xcc5ee1=this[_0x273dcf(0x15e)];this[_0x273dcf(0x178)]=setInterval(()=>{const _0x59da7e=_0x273dcf;let _0x1d110b;for(const _0x354575 in _0xcc5ee1){const _0x464f98=_0x354575,_0x113f85=_0xcc5ee1[_0x464f98];if(_0x59da7e(0x189)==_0x113f85||_0x59da7e(0x17d)==_0x113f85||_0x59da7e(0x165)==_0x113f85||_0x59da7e(0x173)==_0x113f85||_0x59da7e(0x157)==_0x113f85||_0x59da7e(0x168)==_0x113f85||_0x59da7e(0x19d)==_0x113f85||_0x59da7e(0x15c)==_0x113f85){delete _0xcc5ee1[_0x464f98],_0x1d110b=_0x113f85,clearInterval(this[_0x59da7e(0x178)]),this[_0x59da7e(0x178)]=void 0x0;break;}}_0x59da7e(0x17d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x164)),_0x59da7e(0x165)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x184)),_0x59da7e(0x173)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x159)),_0x59da7e(0x157)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x174),_0x59da7e(0x163)),_0x59da7e(0x168)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x154)),_0x59da7e(0x19d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x19c)),_0x59da7e(0x15c)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x169));},0x3e8);}[_0x29478b(0x158)](){const _0xa78384=_0x29478b,{editor:_0x413f3f}=this,_0x4cfc87=_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196));if(!_0x4cfc87)return;const _0x99c4f2=this[_0xa78384(0x16f)](_0x413f3f[_0xa78384(0x177)][_0xa78384(0x179)](_0xa78384(0x17e)))[_0xa78384(0x18c)]((_0x5defee,_0x10490e)=>{const _0xd29592=_0xa78384,_0x438f8e=this[_0xd29592(0x16d)](_0x10490e[_0xd29592(0x19f)]);return _0x5defee[_0x438f8e]||(_0x5defee[_0x438f8e]=[]),_0x5defee[_0x438f8e][_0xd29592(0x18b)](_0x10490e),_0x5defee;},{});_0x413f3f[_0xa78384(0x15b)][_0xa78384(0x170)](_0xa78384(0x162))&&_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196))&&Object[_0xa78384(0x198)](_0x99c4f2)[_0xa78384(0x176)](([_0x34b5e6,_0x83fa60])=>{const _0x587fcd=_0xa78384;_0x413f3f[_0x587fcd(0x15b)][_0x587fcd(0x179)](_0x587fcd(0x162))[_0x587fcd(0x17f)]({'name':_0x34b5e6,'observable':()=>_0x4cfc87,'buttonViewCreator':()=>this[_0x587fcd(0x161)](_0x83fa60),'formViewCreator':()=>this[_0x587fcd(0x172)](_0x83fa60),'menuBarButtonViewCreator':()=>this[_0x587fcd(0x19a)](_0x83fa60),'override':_0x587fcd(0x153)!==_0x34b5e6});});}[_0x29478b(0x15f)](){const _0x36657e=_0x29478b;super[_0x36657e(0x15f)](),this[_0x36657e(0x178)]&&clearInterval(this[_0x36657e(0x178)]);}[_0x29478b(0x16f)](_0x416800){const _0x3ff209=_0x29478b,{locale:_0x16512a}=this[_0x3ff209(0x15e)];return _0x416800[_0x3ff209(0x166)](_0x53618d=>{const _0x4be590=_0x3ff209,_0x1c9ea0=_0x163acb(_0x16512a,_0x53618d,_0x4be590(0x156));switch(_0x53618d){case _0x5f00d0[_0x4be590(0x1a0)]:return{'icon':_0x42f086,'type':_0x5f00d0[_0x4be590(0x1a0)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x195)]:return{'icon':_0x2a479f,'type':_0x5f00d0[_0x4be590(0x195)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x17b)]:return{'icon':_0x11c4b8,'type':_0x5f00d0[_0x4be590(0x17b)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x194)]:return{'icon':_0x190601,'type':_0x5f00d0[_0x4be590(0x194)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x18a)]:return{'icon':_0x2ca8d0,'type':_0x5f00d0[_0x4be590(0x18a)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x1a1)]:return{'icon':_0x31e3a5,'type':_0x5f00d0[_0x4be590(0x1a1)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x190)]:return{'icon':_0x212452,'type':_0x5f00d0[_0x4be590(0x190)],..._0x1c9ea0};}});}[_0x29478b(0x16d)](_0x2c1bd4){const _0x368bb1=_0x29478b;switch(_0x2c1bd4){case _0x5f00d0[_0x368bb1(0x1a0)]:return _0x368bb1(0x186);case _0x5f00d0[_0x368bb1(0x195)]:return _0x368bb1(0x167);default:return _0x368bb1(0x153);}}[_0x29478b(0x19b)](_0x78dcde,_0x9e2d7c){const _0x28b36d=_0x29478b,_0x37426b=this[_0x28b36d(0x15e)],_0x5bd29c=new _0x78dcde(_0x37426b[_0x28b36d(0x1a2)]),_0x16672b=_0x37426b[_0x28b36d(0x181)][_0x28b36d(0x179)](_0x28b36d(0x196));return _0x5bd29c[_0x28b36d(0x197)](_0x28b36d(0x192))['to'](_0x16672b),_0x5bd29c['on'](_0x28b36d(0x17c),()=>{const _0x522aac=_0x28b36d;_0x16672b[_0x522aac(0x17c)](_0x9e2d7c);}),_0x5bd29c;}[_0x29478b(0x161)](_0x3c185f){const _0x4ca897=_0x29478b,{locale:_0x3476bc}=this[_0x4ca897(0x15e)],_0x4c8817=this[_0x4ca897(0x15e)][_0x4ca897(0x15b)][_0x4ca897(0x179)](_0x4ca897(0x162)),_0xedd6bd=_0x3c185f[0x0],_0x5d861d=this[_0x4ca897(0x19b)](_0x5cba06,_0xedd6bd[_0x4ca897(0x19f)]);return _0x5d861d[_0x4ca897(0x199)]=_0xedd6bd[_0x4ca897(0x199)],_0x5d861d[_0x4ca897(0x197)](_0x4ca897(0x191))['to'](_0x4c8817,_0x4ca897(0x18f),_0x46704c=>_0x163acb(_0x3476bc,_0xedd6bd[_0x4ca897(0x19f)],_0x46704c?_0x4ca897(0x15d):_0x4ca897(0x156))[_0x4ca897(0x187)]),_0x5d861d[_0x4ca897(0x18e)]=!0x0,_0x5d861d;}[_0x29478b(0x172)](_0x3331ca){const _0x158cb7=_0x29478b,{locale:_0x4f3131}=this[_0x158cb7(0x15e)],_0x5792d9=this[_0x158cb7(0x15e)][_0x158cb7(0x15b)][_0x158cb7(0x179)](_0x158cb7(0x162));return _0x3331ca[_0x158cb7(0x166)](_0x3a4d97=>{const _0x13a4b2=_0x158cb7,_0x2e909b=this[_0x13a4b2(0x19b)](_0x5cba06,_0x3a4d97[_0x13a4b2(0x19f)]);return _0x2e909b[_0x13a4b2(0x16b)]=!0x0,_0x2e909b[_0x13a4b2(0x199)]=_0x3a4d97[_0x13a4b2(0x199)],_0x2e909b[_0x13a4b2(0x197)](_0x13a4b2(0x191))['to'](_0x5792d9,_0x13a4b2(0x18f),_0xace279=>_0x163acb(_0x4f3131,_0x3a4d97[_0x13a4b2(0x19f)],_0xace279?_0x13a4b2(0x15d):_0x13a4b2(0x156))[_0x13a4b2(0x187)]),_0x2e909b;});}[_0x29478b(0x19a)](_0x337760){const _0x5f7686=_0x29478b;return _0x337760[_0x5f7686(0x166)](_0x278dda=>{const _0x4157a0=_0x5f7686,_0x27c882=this[_0x4157a0(0x19b)](_0xe783bd,_0x278dda[_0x4157a0(0x19f)]);return _0x27c882[_0x4157a0(0x199)]=_0x278dda[_0x4157a0(0x199)],_0x27c882[_0x4157a0(0x191)]=_0x278dda[_0x4157a0(0x188)],_0x27c882;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x198ea5}from'ckeditor5/src/core.js';import{FileRepository as _0x52a0fe}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2081a9}from'./uploadcareediting.js';import{UploadUtils as _0x236af5}from'./utils/uploadutils.js';import{getImageUrls as _0x8ac6c}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x198ea5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52a0fe,_0x2081a9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5eb852=this['editor'];if(!!!_0x5eb852['config']['get']('uploadcare'))return;_0x5eb852['plugins']['get'](_0x52a0fe)['createUploadAdapter']=_0x40acbb=>new k(_0x40acbb,_0x5eb852),_0x5eb852['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x222a86,{imageElement:_0x14cfe3,data:_0x18d677})=>{_0x5eb852['model']['change'](_0x223d01=>{_0x223d01['setAttribute']('uploadcareImageId',_0x18d677['uploadcareImageId'],_0x14cfe3);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5191cd,_0x560b1e){this['loader']=_0x5191cd,this['editor']=_0x560b1e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30bca2=await this['loader']['file'];return _0x236af5['upload']({'file':_0x30bca2,'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':_0x5420f8=>{_0x5420f8&&_0x5420f8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5420f8['value']);}})['then'](async _0x25ea7b=>{const {imageFallbackUrl:_0x428576,imageSources:_0x3613c7}=_0x8ac6c(_0x25ea7b['cdnUrl'],_0x25ea7b['imageInfo']['width']);return{'uploadcareImageId':_0x25ea7b['uuid'],'default':_0x428576,'sources':_0x3613c7};})['catch'](()=>{const _0x5ee99c=t('Cannot\x20upload\x20file:')+('\x20'+_0x30bca2['name']+'.');return Promise['reject'](_0x5ee99c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5a77c3}from'ckeditor5/src/core.js';import{FileRepository as _0x9fa9e8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x38a56f}from'./uploadcareediting.js';import{UploadUtils as _0x3cb41a}from'./utils/uploadutils.js';import{getImageUrls as _0x4ae329}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5a77c3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x9fa9e8,_0x38a56f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4784ad=this['editor'];if(!!!_0x4784ad['config']['get']('uploadcare'))return;_0x4784ad['plugins']['get'](_0x9fa9e8)['createUploadAdapter']=_0x280e04=>new k(_0x280e04,_0x4784ad),_0x4784ad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e0792,{imageElement:_0x4af5bd,data:_0x589de6})=>{_0x4784ad['model']['change'](_0x1ec8ed=>{_0x1ec8ed['setAttribute']('uploadcareImageId',_0x589de6['uploadcareImageId'],_0x4af5bd);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1be2b5,_0x209373){this['loader']=_0x1be2b5,this['editor']=_0x209373,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x36875b=await this['loader']['file'];return _0x3cb41a['upload']({'file':_0x36875b,'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':_0x2dcd05=>{_0x2dcd05&&_0x2dcd05['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dcd05['value']);}})['then'](async _0x11b517=>{const {imageFallbackUrl:_0x4f7a6e,imageSources:_0x312cf0}=_0x4ae329(_0x11b517['cdnUrl'],_0x11b517['imageInfo']['width']);return{'uploadcareImageId':_0x11b517['uuid'],'default':_0x4f7a6e,'sources':_0x312cf0};})['catch'](()=>{const _0x190da5=t('Cannot\x20upload\x20file:')+('\x20'+_0x36875b['name']+'.');return Promise['reject'](_0x190da5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xdbc37a}from'../uploadcareconfig.js';export function getTranslation(_0x3c148d,_0x2bf8ee,_0x4ca366){const t=_0x3c148d['t'],_0x1ef54d=_0x3c148d['t'];switch(_0x2bf8ee){case _0xdbc37a['Local']:return{'text':_0x1ef54d('Insert'===_0x4ca366?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ef54d('From\x20computer')};case _0xdbc37a['URL']:return{'text':'Insert'===_0x4ca366?_0x1ef54d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ef54d('Via\x20URL')};case _0xdbc37a['Dropbox']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xdbc37a['Facebook']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xdbc37a['GDrive']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xdbc37a['GPhotos']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xdbc37a['OneDrive']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2bf8ee;}}
23
+ import{UploadcareSource as _0x37674d}from'../uploadcareconfig.js';export function getTranslation(_0x1fbdf1,_0x59597,_0x1a24ad){const t=_0x1fbdf1['t'],_0x2a288c=_0x1fbdf1['t'];switch(_0x59597){case _0x37674d['Local']:return{'text':_0x2a288c('Insert'===_0x1a24ad?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2a288c('From\x20computer')};case _0x37674d['URL']:return{'text':'Insert'===_0x1a24ad?_0x2a288c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2a288c('Via\x20URL')};case _0x37674d['Dropbox']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x37674d['Facebook']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x37674d['GDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x37674d['GPhotos']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x37674d['OneDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x59597;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ba9(){var _0x51fa16=['28523990XEOixU','focusTracker','forwardCycle','div','334040tCyExM','6742458xFVdmY','focusCycler','635MXbKfQ','989188Cozabk','getFocusableElement','3TDNiUW','fire','1UeiYDC','1965320RCepfK','true','23898qjGlDf','createCollection','1679788nJsgCh','bindTemplate'];_0x2ba9=function(){return _0x51fa16;};return _0x2ba9();}var _0x3bfbd8=_0x5ecc;(function(_0x2d7db6,_0x14a09c){var _0x5b32ae=_0x5ecc,_0x5264ac=_0x2d7db6();while(!![]){try{var _0xf5d24=parseInt(_0x5b32ae(0x1c0))/0x1*(-parseInt(_0x5b32ae(0x1bc))/0x2)+parseInt(_0x5b32ae(0x1be))/0x3*(-parseInt(_0x5b32ae(0x1c5))/0x4)+parseInt(_0x5b32ae(0x1bb))/0x5*(-parseInt(_0x5b32ae(0x1c3))/0x6)+-parseInt(_0x5b32ae(0x1b8))/0x7+-parseInt(_0x5b32ae(0x1c1))/0x8+-parseInt(_0x5b32ae(0x1b9))/0x9+parseInt(_0x5b32ae(0x1c7))/0xa;if(_0xf5d24===_0x14a09c)break;else _0x5264ac['push'](_0x5264ac['shift']());}catch(_0x198a94){_0x5264ac['push'](_0x5264ac['shift']());}}}(_0x2ba9,0x5f15e));import{FocusTracker as _0x2c443d}from'ckeditor5/src/utils.js';import{View as _0x77bd46,FocusCycler as _0x5b74b4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5ecc(_0x4a2ee2,_0x147bff){var _0x2ba91f=_0x2ba9();return _0x5ecc=function(_0x5eccb2,_0x3eae64){_0x5eccb2=_0x5eccb2-0x1b6;var _0x400f85=_0x2ba91f[_0x5eccb2];return _0x400f85;},_0x5ecc(_0x4a2ee2,_0x147bff);}export class DialogFocusManagerView extends _0x77bd46{[_0x3bfbd8(0x1c8)];[_0x3bfbd8(0x1ba)];constructor(_0x196020){var _0xf7df20=_0x3bfbd8;super(_0x196020),this[_0xf7df20(0x1c8)]=new _0x2c443d(),this[_0xf7df20(0x1ba)]=new _0x5b74b4({'focusables':this[_0xf7df20(0x1c4)](),'focusTracker':this[_0xf7df20(0x1c8)]});}[_0x3bfbd8(0x1bd)](){var _0x30289b=_0x3bfbd8;return{'tag':_0x30289b(0x1b7),'attributes':{'aria-hidden':_0x30289b(0x1c2),'tabindex':'0'},'on':{'focus':this[_0x30289b(0x1c6)]['to'](()=>{var _0x1156d9=_0x30289b;this[_0x1156d9(0x1ba)][_0x1156d9(0x1bf)](_0x1156d9(0x1b6));})}};}}
23
+ var _0x287afb=_0x5824;function _0x5824(_0x548dd9,_0x902c11){var _0xa8a5d0=_0xa8a5();return _0x5824=function(_0x58245c,_0x9c6f1c){_0x58245c=_0x58245c-0x1b4;var _0x2c42ed=_0xa8a5d0[_0x58245c];return _0x2c42ed;},_0x5824(_0x548dd9,_0x902c11);}(function(_0x1d4323,_0x1f6596){var _0x1a0452=_0x5824,_0x84b464=_0x1d4323();while(!![]){try{var _0x187d42=parseInt(_0x1a0452(0x1b5))/0x1*(parseInt(_0x1a0452(0x1c2))/0x2)+parseInt(_0x1a0452(0x1c5))/0x3*(-parseInt(_0x1a0452(0x1b9))/0x4)+parseInt(_0x1a0452(0x1b7))/0x5*(-parseInt(_0x1a0452(0x1c6))/0x6)+parseInt(_0x1a0452(0x1c8))/0x7*(parseInt(_0x1a0452(0x1b8))/0x8)+parseInt(_0x1a0452(0x1c1))/0x9+-parseInt(_0x1a0452(0x1bc))/0xa*(parseInt(_0x1a0452(0x1b6))/0xb)+-parseInt(_0x1a0452(0x1c3))/0xc*(-parseInt(_0x1a0452(0x1c9))/0xd);if(_0x187d42===_0x1f6596)break;else _0x84b464['push'](_0x84b464['shift']());}catch(_0x20b709){_0x84b464['push'](_0x84b464['shift']());}}}(_0xa8a5,0x94a7c));function _0xa8a5(){var _0x524bd3=['440jnmSvv','12fUhpYU','bindTemplate','3kgKvsn','6lIeOPH','div','7mvOVDF','4742062EtlhkQ','true','3157tDmEjd','16082gupIwJ','3633685bYeknj','636808BNsITY','3174068zwoItE','fire','focusTracker','1520tlErNF','getFocusableElement','createCollection','focusCycler','forwardCycle','10912095GCIaKG'];_0xa8a5=function(){return _0x524bd3;};return _0xa8a5();}import{FocusTracker as _0x340c94}from'ckeditor5/src/utils.js';import{View as _0x54c0f9,FocusCycler as _0x524df1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x54c0f9{[_0x287afb(0x1bb)];[_0x287afb(0x1bf)];constructor(_0x449af6){var _0x54d9aa=_0x287afb;super(_0x449af6),this[_0x54d9aa(0x1bb)]=new _0x340c94(),this[_0x54d9aa(0x1bf)]=new _0x524df1({'focusables':this[_0x54d9aa(0x1be)](),'focusTracker':this[_0x54d9aa(0x1bb)]});}[_0x287afb(0x1bd)](){var _0x329632=_0x287afb;return{'tag':_0x329632(0x1c7),'attributes':{'aria-hidden':_0x329632(0x1b4),'tabindex':'0'},'on':{'focus':this[_0x329632(0x1c4)]['to'](()=>{var _0x56cd9b=_0x329632;this[_0x56cd9b(0x1bf)][_0x56cd9b(0x1ba)](_0x56cd9b(0x1c0));})}};}}