@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251123.0 → 0.0.0-nightly-20251125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe0672c=_0x107e;(function(_0x5f04cb,_0x5046f1){const _0x54f467=_0x107e,_0x25963e=_0x5f04cb();while(!![]){try{const _0x451f7c=parseInt(_0x54f467(0x14e))/0x1*(parseInt(_0x54f467(0x170))/0x2)+parseInt(_0x54f467(0x13d))/0x3+parseInt(_0x54f467(0x138))/0x4*(-parseInt(_0x54f467(0x175))/0x5)+parseInt(_0x54f467(0x133))/0x6*(-parseInt(_0x54f467(0x154))/0x7)+-parseInt(_0x54f467(0x151))/0x8*(-parseInt(_0x54f467(0x14c))/0x9)+parseInt(_0x54f467(0x140))/0xa+-parseInt(_0x54f467(0x149))/0xb;if(_0x451f7c===_0x5046f1)break;else _0x25963e['push'](_0x25963e['shift']());}catch(_0x4a703f){_0x25963e['push'](_0x25963e['shift']());}}}(_0x59d6,0x3fe87));import{Plugin as _0x45737b}from'ckeditor5/src/core.js';function _0x59d6(){const _0x2d42c3=['isPremiumPlugin','listenTo','1048674GkHMyu','querySelector','pluginName','366030TUvuqp','afterInit','remove','_configElement','uc-upload-ctx-provider','editing','_initCtx','isOfficialPlugin','requires','6412890lXXcIx','upcast','render','342XfLkoC','\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','89858Rpmfen','editor','UploadcareEditing','54296WIGnkU','_initImageProcessingIndicator','elementToAttribute','7AwBsVE','getSelectedElement','schema','replaceImageSource','imageInline','PictureEditing','init','#uc-icon-arrow-down','closeMax','body','locale','ucContextId','_initSchema','model','contentLanguage','get','uploadcare.uploader','uploadcareImageReplace','input[uploadcare-file-input]','_initConfig','uploadcare','href','commands','extend','conversion','document','appendChild','fromCharCode','6XTehPO','data-uc-image-id','selection','true','destroy','5ykMcCG','join','for','iconHrefResolver','ctxElement','attributeToAttribute','downcast','removeAttribute','getAttribute','_initConversion','_ctxElement','insertImage','imageBlock','view','uploadcare.pubkey','uploader-','cleanupImage','uploadcareImageId','add','uc-config','230754oytNFi','execute','config','isRegistered','map','121700reBASU','configElement','once'];_0x59d6=function(){return _0x2d42c3;};return _0x59d6();}import{Dialog as _0x5d5078}from'ckeditor5/src/ui.js';import{createElement as _0x2e067c,global as _0x4d8f66,uid as _0x501af4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1e550e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3f4332}from'./uploadcareuploadadapter.js';function _0x107e(_0xb4d82a,_0x545017){const _0x59d6be=_0x59d6();return _0x107e=function(_0x107e05,_0x1a8405){_0x107e05=_0x107e05-0x130;let _0x4b579=_0x59d6be[_0x107e05];return _0x4b579;},_0x107e(_0xb4d82a,_0x545017);}import{showImageProcessingIndicator as _0x19cff2}from'./utils/editingutils.js';export class UploadcareEditing extends _0x45737b{[_0xe0672c(0x143)]=null;[_0xe0672c(0x17f)]=null;static get[_0xe0672c(0x13f)](){const _0x3960ef=_0xe0672c;return _0x3960ef(0x150);}static get[_0xe0672c(0x148)](){const _0x2c1f8f=_0xe0672c;return[_0x2c1f8f(0x159),_0x3f4332,_0x5d5078];}static get[_0xe0672c(0x147)](){return!0x0;}static get[_0xe0672c(0x13b)](){return!0x0;}[_0xe0672c(0x15f)];get[_0xe0672c(0x139)](){const _0x16ba9d=_0xe0672c;return this[_0x16ba9d(0x143)];}get[_0xe0672c(0x179)](){const _0x145035=_0xe0672c;return this[_0x145035(0x17f)];}constructor(_0x18e090){const _0xa5e7c7=_0xe0672c;super(_0x18e090),this[_0xa5e7c7(0x15f)]=_0x501af4();}[_0xe0672c(0x15a)](){const _0x2274ee=_0xe0672c,_0x65acbc=this[_0x2274ee(0x14f)];_0x65acbc[_0x2274ee(0x16a)][_0x2274ee(0x131)](_0x2274ee(0x168),new _0x1e550e(_0x65acbc));}[_0xe0672c(0x141)](){const _0x15b19c=_0xe0672c;this[_0x15b19c(0x160)](),this[_0x15b19c(0x17e)](),this[_0x15b19c(0x167)](),this[_0x15b19c(0x146)](),this[_0x15b19c(0x152)](),this[_0x15b19c(0x13c)](this[_0x15b19c(0x14f)],_0x15b19c(0x174),()=>{const _0x5639ab=_0x15b19c;this[_0x5639ab(0x143)]&&(this[_0x5639ab(0x143)][_0x5639ab(0x142)](),this[_0x5639ab(0x143)]=null),this[_0x5639ab(0x17f)]&&(this[_0x5639ab(0x17f)][_0x5639ab(0x142)](),this[_0x5639ab(0x17f)]=null);const _0x397725=_0x4d8f66[_0x5639ab(0x16d)][_0x5639ab(0x13e)](_0x5639ab(0x166));_0x397725&&_0x397725[_0x5639ab(0x142)]();}),async function(_0x24db5d){const _0x2b0a58=_0x30946e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x41ac57=0x535f8c3a,_0x594d24=0x5358f5d2^_0x41ac57,_0x33da3e=window[_0x30946e([0x44,0x61,0x74,0x65])][_0x30946e([0x6e,0x6f,0x77])](),_0x8b6716=_0x24db5d[_0x30946e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32103a=new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x258fb6=>{_0x8b6716[_0x30946e([0x6f,0x6e,0x63,0x65])](_0x30946e([0x72,0x65,0x61,0x64,0x79]),_0x258fb6);}),_0x2ee3a7={[_0x30946e([0x6b,0x74,0x79])]:_0x30946e([0x45,0x43]),[_0x30946e([0x75,0x73,0x65])]:_0x30946e([0x73,0x69,0x67]),[_0x30946e([0x63,0x72,0x76])]:_0x30946e([0x50,0x2d,0x32,0x35,0x36]),[_0x30946e([0x78])]:_0x30946e([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]),[_0x30946e([0x79])]:_0x30946e([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]),[_0x30946e([0x61,0x6c,0x67])]:_0x30946e([0x45,0x53,0x32,0x35,0x36])},_0x4c884d=_0x8b6716[_0x30946e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30946e([0x67,0x65,0x74])](_0x30946e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a4cff(){let _0x148e59,_0x38e266=null,_0x5ce632=null;try{if(_0x4c884d==_0x30946e([0x47,0x50,0x4c]))return _0x30946e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x148e59=_0x58ea87(),!_0x148e59)return _0x30946e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x148e59[_0x30946e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ce632=_0x2b653c(_0x148e59[_0x30946e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x148e59[_0x30946e([0x6a,0x74,0x69])])),await _0x240f4()?_0x47b4f9()?_0x57f4a9()?_0x30946e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9d5ab2()?(_0x148e59[_0x30946e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30946e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38e266=_0x59e3ea(_0x30946e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x148e59[_0x30946e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30946e([0x74,0x72,0x69,0x61,0x6c])&&(_0x38e266=_0x59e3ea(_0x30946e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3eb08e()):_0x30946e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30946e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30946e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30946e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x57f4a9(){const _0x48a5ca=[_0x30946e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30946e([0x74,0x72,0x69,0x61,0x6c])][_0x30946e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148e59[_0x30946e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33da3e/0x3e8:0xe10*_0x594d24;return _0x148e59[_0x30946e([0x65,0x78,0x70])]<_0x48a5ca;}function _0x47b4f9(){const _0x30a8e1=_0x148e59[_0x30946e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30a8e1&&(!!_0x30a8e1[_0x30946e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30946e([0x2a]))||!!_0x30a8e1[_0x30946e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30946e([0x55,0x50,0x4c,0x43])));}function _0x9d5ab2(){const _0x29c8fa=_0x107e,_0x32495f=_0x148e59[_0x30946e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32495f||0x0==_0x32495f[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8c2b10}=new URL(window[_0x30946e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29c8fa(0x169)]);if(_0x32495f[_0x30946e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c2b10))return!0x0;const _0x550d02=_0x8c2b10[_0x30946e([0x73,0x70,0x6c,0x69,0x74])](_0x30946e([0x2e]));return _0x32495f[_0x30946e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x283b4a=>_0x283b4a[_0x30946e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30946e([0x2a])))[_0x30946e([0x6d,0x61,0x70])](_0x516d5b=>_0x516d5b[_0x30946e([0x73,0x70,0x6c,0x69,0x74])](_0x30946e([0x2e])))[_0x30946e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a5210=>_0x2a5210[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x550d02[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30946e([0x6d,0x61,0x70])](_0x1f24ae=>Array(_0x550d02[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f24ae[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30946e([0x66,0x69,0x6c,0x6c])](_0x1f24ae[0x0]===_0x30946e([0x2a])?_0x30946e([0x2a]):'')[_0x30946e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f24ae))[_0x30946e([0x73,0x6f,0x6d,0x65])](_0x5ef359=>_0x550d02[_0x30946e([0x65,0x76,0x65,0x72,0x79])]((_0x2760b0,_0x256e31)=>_0x5ef359[_0x256e31]===_0x2760b0||_0x5ef359[_0x256e31]===_0x30946e([0x2a])));}function _0x3eb08e(){return _0x38e266&&_0x5ce632?new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x331fd4,_0x52a835)=>{_0x38e266[_0x30946e([0x74,0x68,0x65,0x6e])](_0x331fd4,_0x52a835),_0x5ce632[_0x30946e([0x74,0x68,0x65,0x6e])](_0x160d20=>{_0x160d20!=_0x30946e([0x56,0x61,0x6c,0x69,0x64])&&_0x331fd4(_0x160d20);},_0x52a835);}):_0x38e266||_0x5ce632||_0x30946e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b653c(_0x1c474a,_0x5adfd7){return new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc62c85=>{if(_0x582f83())return _0xc62c85(_0x30946e([0x56,0x61,0x6c,0x69,0x64]));_0x5c39d4(),_0x8b6716[_0x30946e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30946e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3abccd=!0x1;const _0xfc6972=_0x501af4();function _0x2070ab(_0x2cb86c){return!!_0x2cb86c&&(typeof _0x2cb86c===_0x30946e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cb86c===_0x30946e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cb86c[_0x30946e([0x74,0x68,0x65,0x6e])]===_0x30946e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cb86c[_0x30946e([0x63,0x61,0x74,0x63,0x68])]===_0x30946e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ec0a6(_0x555a5e){_0x27f5f6(_0x555a5e)[_0x30946e([0x74,0x68,0x65,0x6e])](_0x4c82ab=>{if(!_0x4c82ab||_0x4c82ab[_0x30946e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30946e([0x6f,0x6b]))return _0x30946e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x576bfd(_0x493435(_0xfc6972+_0x5adfd7))!=_0x4c82ab[_0x30946e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30946e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30946e([0x56,0x61,0x6c,0x69,0x64]);})[_0x30946e([0x74,0x68,0x65,0x6e])](_0x139e2f=>(_0x324f9d(),_0x139e2f),()=>{const _0x30137f=_0x55dd8b();return null==_0x30137f?(_0x324f9d(),_0x30946e([0x56,0x61,0x6c,0x69,0x64])):_0x30946e(_0x33da3e-_0x30137f>(0x7753083a^_0x41ac57)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30946e([0x74,0x68,0x65,0x6e])](_0xc62c85)[_0x30946e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc62c85(_0x30946e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10c54f=0x536962ba^_0x41ac57;function _0x324f9d(){const _0x2a7c32=_0x30946e([0x6c,0x6c,0x63,0x74,0x2d])+_0x576bfd(_0x493435(_0x1c474a)),_0x329fb2=_0x382b35(_0x576bfd(window[_0x30946e([0x4d,0x61,0x74,0x68])][_0x30946e([0x63,0x65,0x69,0x6c])](_0x33da3e/_0x10c54f)));window[_0x30946e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30946e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a7c32,_0x329fb2);}function _0x55dd8b(){const _0x1154c7=_0x30946e([0x6c,0x6c,0x63,0x74,0x2d])+_0x576bfd(_0x493435(_0x1c474a)),_0x4d0a67=window[_0x30946e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30946e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1154c7);return _0x4d0a67?window[_0x30946e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x382b35(_0x4d0a67),0x10)*_0x10c54f:null;}function _0x27f5f6(_0x1dcdef){return new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x441369,_0x271414)=>{_0x1dcdef[_0x30946e([0x74,0x68,0x65,0x6e])](_0x441369,_0x271414),window[_0x30946e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271414,0x535e58fa^_0x41ac57);});}}_0x8b6716[_0x30946e([0x6f,0x6e])](_0x30946e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5affd2,_0x454a8c)=>{if(_0x454a8c[0x0]!=_0x1c474a)return _0xc62c85(_0x30946e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x454a8c[0x1]={..._0x454a8c[0x1],[_0x30946e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfc6972};},{[_0x30946e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30946e([0x68,0x69,0x67,0x68])}),_0x8b6716[_0x30946e([0x6f,0x6e])](_0x30946e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2690c6=>{_0x2070ab(_0x2690c6[_0x30946e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3abccd=!0x0,_0x3ec0a6(_0x2690c6[_0x30946e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30946e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30946e([0x6c,0x6f,0x77])}),_0x32103a[_0x30946e([0x74,0x68,0x65,0x6e])](()=>{_0x3abccd||_0xc62c85(_0x30946e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x582f83(){return _0x8b6716[_0x30946e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30946e([0x76,0x69,0x65,0x77])][_0x30946e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30946e([0x61,0x75,0x74,0x6f]);}function _0x5c39d4(){_0x8b6716[_0x30946e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30946e([0x76,0x69,0x65,0x77])][_0x30946e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30946e([0x61,0x75,0x74,0x6f]);}}function _0x59e3ea(_0x16ee4f){const _0x3e20ae=[new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110f43=>setTimeout(_0x110f43,0x5356b2f6^_0x41ac57)),_0x32103a[_0x30946e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21a7e4=>{let _0xe8995=0x0;_0x8b6716[_0x30946e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30946e([0x6f,0x6e])](_0x30946e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x368848,_0x1ab28)=>{_0x1ab28[0x0][_0x30946e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe8995++,_0xe8995==(0x535f8dc2^_0x41ac57)&&(_0x21a7e4(),_0x368848[_0x30946e([0x6f,0x66,0x66])]());});}))];return window[_0x30946e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30946e([0x72,0x61,0x63,0x65])](_0x3e20ae)[_0x30946e([0x74,0x68,0x65,0x6e])](()=>_0x16ee4f);}async function _0x24d830(){await _0x32103a,_0x8b6716[_0x30946e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30946e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x456ed9,_0x8b6716[_0x30946e([0x6d,0x6f,0x64,0x65,0x6c])][_0x30946e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x456ed9,_0x8b6716[_0x30946e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30946e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x84bb58(_0x4a01d2){const _0x437bbd=_0x150930();_0x8b6716[_0x437bbd]=_0x30946e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a01d2,_0x4a01d2!=_0x30946e([0x56,0x61,0x6c,0x69,0x64])&&_0x24d830();}function _0x150930(){const _0x458c74=window[_0x30946e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30946e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30946e([0x6e,0x6f,0x77])]())[_0x30946e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30946e([0x2e]),'');let _0x3289b8=_0x30946e([0x68]);for(let _0x382307=0x0;_0x382307<_0x458c74[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x382307+=0x2){let _0xfe178=window[_0x30946e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x458c74[_0x30946e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x382307,_0x382307+0x2));_0xfe178>=_0x2b0a58[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xfe178-=_0x2b0a58[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3289b8+=_0x2b0a58[_0xfe178];}return _0x3289b8;}function _0x58ea87(){const _0x5448b6=_0x4c884d[_0x30946e([0x73,0x70,0x6c,0x69,0x74])](_0x30946e([0x2e]));if(0x3!=_0x5448b6[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cde7e(_0x5448b6[0x1]);function _0x5cde7e(_0x164a1f){const _0xd24815=_0x57473e(_0x164a1f);return _0xd24815&&_0x34dbd3()?_0xd24815:null;function _0x34dbd3(){const _0x18f404=_0xd24815[_0x30946e([0x6a,0x74,0x69])],_0x4d81c7=window[_0x30946e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18f404[_0x30946e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18f404[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x470a86={..._0xd24815,[_0x30946e([0x6a,0x74,0x69])]:_0x18f404[_0x30946e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18f404[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x470a86[_0x30946e([0x76,0x63])],_0x493435(_0x470a86)==_0x4d81c7;}}}async function _0x240f4(){let _0x2deb4b=!0x0;try{const _0x12007b=_0x4c884d[_0x30946e([0x73,0x70,0x6c,0x69,0x74])](_0x30946e([0x2e])),[_0x2452bd,_0x143872,_0x4458a3]=_0x12007b;return _0x464628(_0x2452bd),await _0x579e9c(_0x2452bd,_0x143872,_0x4458a3),_0x2deb4b;}catch{return!0x1;}function _0x464628(_0x546bb1){const _0x538bee=_0x57473e(_0x546bb1);_0x538bee&&_0x538bee[_0x30946e([0x61,0x6c,0x67])]==_0x30946e([0x45,0x53,0x32,0x35,0x36])||(_0x2deb4b=!0x1);}async function _0x579e9c(_0xcceef4,_0x4a691d,_0x1e0765){const _0x77c353=window[_0x30946e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30946e([0x66,0x72,0x6f,0x6d])](_0x303e01(_0x1e0765),_0x27964c=>_0x27964c[_0x30946e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50c94a=new window[(_0x30946e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30946e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcceef4+_0x30946e([0x2e])+_0x4a691d),_0x3ec65b=window[_0x30946e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30946e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ec65b)return;const _0x1df6f3=await _0x3ec65b[_0x30946e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30946e([0x6a,0x77,0x6b]),_0x2ee3a7,{[_0x30946e([0x6e,0x61,0x6d,0x65])]:_0x30946e([0x45,0x43,0x44,0x53,0x41]),[_0x30946e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30946e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30946e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ec65b[_0x30946e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30946e([0x6e,0x61,0x6d,0x65])]:_0x30946e([0x45,0x43,0x44,0x53,0x41]),[_0x30946e([0x68,0x61,0x73,0x68])]:{[_0x30946e([0x6e,0x61,0x6d,0x65])]:_0x30946e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1df6f3,_0x77c353,_0x50c94a)||(_0x2deb4b=!0x1);}}function _0x57473e(_0x2278ab){return _0x2278ab[_0x30946e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30946e([0x65,0x79]))?JSON[_0x30946e([0x70,0x61,0x72,0x73,0x65])](_0x303e01(_0x2278ab)):null;}function _0x303e01(_0x529063){return window[_0x30946e([0x61,0x74,0x6f,0x62])](_0x529063[_0x30946e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30946e([0x2b]))[_0x30946e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30946e([0x2f])));}function _0x493435(_0x17ef54){let _0x1a0b3f=0x1505;function _0x2961df(_0x3463cb){for(let _0x4ca75e=0x0;_0x4ca75e<_0x3463cb[_0x30946e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ca75e++){const _0x4eb1ec=_0x3463cb[_0x30946e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ca75e);_0x1a0b3f=(_0x1a0b3f<<0x5)+_0x1a0b3f+_0x4eb1ec,_0x1a0b3f&=_0x1a0b3f;}}function _0x422e99(_0x4bce14){Array[_0x30946e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bce14)?_0x4bce14[_0x30946e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x422e99):_0x4bce14&&typeof _0x4bce14==_0x30946e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30946e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bce14)[_0x30946e([0x73,0x6f,0x72,0x74])]()[_0x30946e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53c89e,_0x39a3b7])=>{_0x2961df(_0x53c89e),_0x422e99(_0x39a3b7);}):_0x2961df(window[_0x30946e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bce14));}return _0x422e99(_0x17ef54),_0x1a0b3f>>>0x0;}function _0x576bfd(_0x48ec37){return _0x48ec37[_0x30946e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30946e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30946e([0x30]));}function _0x382b35(_0x11fa96){return _0x11fa96[_0x30946e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30946e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30946e([0x6a,0x6f,0x69,0x6e])]('');}function _0x456ed9(){}function _0x30946e(_0x3dbab0){const _0x50e98b=_0x107e;return _0x3dbab0[_0x50e98b(0x137)](_0x583c69=>String[_0x50e98b(0x16f)](_0x583c69))[_0x50e98b(0x176)]('');}_0x84bb58(await _0x3a4cff());}(this);}[_0xe0672c(0x160)](){const _0xabeb27=_0xe0672c,_0xb44c1c=this[_0xabeb27(0x14f)][_0xabeb27(0x161)][_0xabeb27(0x156)];_0xb44c1c[_0xabeb27(0x136)](_0xabeb27(0x181))&&_0xb44c1c[_0xabeb27(0x16b)](_0xabeb27(0x181),{'allowAttributes':[_0xabeb27(0x130)]}),_0xb44c1c[_0xabeb27(0x136)](_0xabeb27(0x158))&&_0xb44c1c[_0xabeb27(0x16b)](_0xabeb27(0x158),{'allowAttributes':[_0xabeb27(0x130)]});}[_0xe0672c(0x17e)](){const _0x2f75f2=_0xe0672c,_0x44d4ac=this[_0x2f75f2(0x14f)];_0x44d4ac[_0x2f75f2(0x16c)][_0x2f75f2(0x177)](_0x2f75f2(0x17b))[_0x2f75f2(0x17a)]({'model':_0x2f75f2(0x130),'view':_0x2f75f2(0x171)}),_0x44d4ac[_0x2f75f2(0x16c)][_0x2f75f2(0x177)](_0x2f75f2(0x14a))[_0x2f75f2(0x153)]({'model':{'key':_0x2f75f2(0x130),'value':_0x357b34=>_0x357b34[_0x2f75f2(0x17d)](_0x2f75f2(0x171))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x587286=_0x44d4ac[_0x2f75f2(0x16a)][_0x2f75f2(0x163)](_0x2f75f2(0x157));_0x587286&&this[_0x2f75f2(0x13c)](_0x587286,_0x2f75f2(0x185),(_0x4daee9,[_0x4861cf,_0xac247e])=>{const _0x508e67=_0x2f75f2;_0x4861cf[_0x508e67(0x17c)](_0x508e67(0x130),_0xac247e);});}[_0xe0672c(0x167)](){const _0x3cca38=_0xe0672c,_0x4c5a3b=this[_0x3cca38(0x14f)][_0x3cca38(0x135)][_0x3cca38(0x163)](_0x3cca38(0x164))||{},_0x33270b=this[_0x3cca38(0x14f)][_0x3cca38(0x135)][_0x3cca38(0x163)](_0x3cca38(0x183))||'';this[_0x3cca38(0x143)]=_0x2e067c(_0x4d8f66[_0x3cca38(0x16d)],_0x3cca38(0x132),{..._0x4c5a3b,'pubkey':_0x33270b,'ctx-name':_0x3cca38(0x184)+this[_0x3cca38(0x15f)],'sourceList':'','imgOnly':_0x3cca38(0x173),'removeCopyright':_0x3cca38(0x173),'localeName':this[_0x3cca38(0x14f)][_0x3cca38(0x15e)][_0x3cca38(0x162)],'externalSourcesEmbedCss':_0x3cca38(0x14d)}),this[_0x3cca38(0x143)][_0x3cca38(0x178)]=_0x14d530=>{const _0x280437=_0x3cca38;if(_0x280437(0x15c)==_0x14d530)return _0x280437(0x15b);},_0x4d8f66[_0x3cca38(0x16d)][_0x3cca38(0x15d)][_0x3cca38(0x16e)](this[_0x3cca38(0x143)]);}[_0xe0672c(0x146)](){const _0x3bb9ef=_0xe0672c;this[_0x3bb9ef(0x17f)]=_0x2e067c(_0x4d8f66[_0x3bb9ef(0x16d)],_0x3bb9ef(0x144),{'ctx-name':_0x3bb9ef(0x184)+this[_0x3bb9ef(0x15f)]}),_0x4d8f66[_0x3bb9ef(0x16d)][_0x3bb9ef(0x15d)][_0x3bb9ef(0x16e)](this[_0x3bb9ef(0x17f)]);}[_0xe0672c(0x152)](){const _0x23c0c3=_0xe0672c,_0x29c9bf=this[_0x23c0c3(0x14f)][_0x23c0c3(0x16a)][_0x23c0c3(0x163)](_0x23c0c3(0x180));_0x29c9bf&&this[_0x23c0c3(0x13c)](_0x29c9bf,_0x23c0c3(0x134),()=>{const _0x436679=_0x23c0c3,_0x392c50=this[_0x436679(0x14f)][_0x436679(0x161)][_0x436679(0x16d)][_0x436679(0x172)][_0x436679(0x155)]();_0x392c50&&_0x392c50[_0x436679(0x17d)](_0x436679(0x130))&&this[_0x436679(0x14f)][_0x436679(0x145)][_0x436679(0x182)][_0x436679(0x13a)](_0x436679(0x14b),()=>{const _0x30f6f1=_0x436679;_0x19cff2(this[_0x30f6f1(0x14f)],_0x392c50);});});const _0x141482=this[_0x23c0c3(0x14f)][_0x23c0c3(0x16a)][_0x23c0c3(0x163)](_0x23c0c3(0x165));_0x141482&&this[_0x23c0c3(0x13c)](_0x141482,_0x23c0c3(0x134),()=>{const _0x512896=_0x23c0c3,_0x374c50=this[_0x512896(0x14f)][_0x512896(0x161)][_0x512896(0x16d)][_0x512896(0x172)][_0x512896(0x155)]();_0x374c50&&_0x374c50[_0x512896(0x17d)](_0x512896(0x130))&&this[_0x512896(0x14f)][_0x512896(0x145)][_0x512896(0x182)][_0x512896(0x13a)](_0x512896(0x14b),()=>{const _0x51a448=_0x512896;_0x19cff2(this[_0x51a448(0x14f)],_0x374c50);});});}}
23
+ const _0x4405fa=_0x44e2;(function(_0x1344d5,_0x2a053a){const _0x121f7e=_0x44e2,_0x35969b=_0x1344d5();while(!![]){try{const _0x2d26af=-parseInt(_0x121f7e(0xa0))/0x1+-parseInt(_0x121f7e(0xdd))/0x2*(parseInt(_0x121f7e(0xb2))/0x3)+parseInt(_0x121f7e(0xd2))/0x4+parseInt(_0x121f7e(0xca))/0x5+-parseInt(_0x121f7e(0xcf))/0x6*(-parseInt(_0x121f7e(0xc8))/0x7)+parseInt(_0x121f7e(0xe9))/0x8+-parseInt(_0x121f7e(0xed))/0x9;if(_0x2d26af===_0x2a053a)break;else _0x35969b['push'](_0x35969b['shift']());}catch(_0x22aa0d){_0x35969b['push'](_0x35969b['shift']());}}}(_0x331d,0xde911));import{Plugin as _0x124478}from'ckeditor5/src/core.js';function _0x331d(){const _0x51c0f2=['PictureEditing','_initCtx','uc-upload-ctx-provider','#uc-icon-arrow-down','imageInline','260LtEwCl','data-uc-image-id','isRegistered','appendChild','ctxElement','_initConversion','for','map','ucContextId','remove','get','editor','3381520vPJaeP','add','uploader-','init','19041525ZxsjTM','closeMax','selection','fromCharCode','join','body','destroy','9026zOweCc','true','contentLanguage','execute','listenTo','cleanupImage','uploadcare.uploader','querySelector','render','model','downcast','configElement','input[uploadcare-file-input]','document','iconHrefResolver','insertImage','_configElement','locale','22395YdFHMk','view','uc-config','_initSchema','getAttribute','attributeToAttribute','UploadcareEditing','afterInit','conversion','\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','editing','uploadcareImageReplace','config','schema','href','uploadcare.pubkey','getSelectedElement','_initConfig','isOfficialPlugin','pluginName','removeAttribute','_initImageProcessingIndicator','119ebFkzz','commands','8277760HGuRkN','uploadcareImageId','replaceImageSource','extend','requires','479244yUhGTn','imageBlock','_ctxElement','2282936CrACWF','elementToAttribute','upcast','once','isPremiumPlugin','uploadcare'];_0x331d=function(){return _0x51c0f2;};return _0x331d();}import{Dialog as _0x278838}from'ckeditor5/src/ui.js';import{createElement as _0x1ccfa0,global as _0xe051ef,uid as _0x4ff1e8}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x34bb0f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5e643d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1d9843}from'./utils/editingutils.js';function _0x44e2(_0xb1fc80,_0x2e2450){const _0x331d69=_0x331d();return _0x44e2=function(_0x44e22c,_0x23481f){_0x44e22c=_0x44e22c-0x9a;let _0x1ffbcb=_0x331d69[_0x44e22c];return _0x1ffbcb;},_0x44e2(_0xb1fc80,_0x2e2450);}export class UploadcareEditing extends _0x124478{[_0x4405fa(0xb0)]=null;[_0x4405fa(0xd1)]=null;static get[_0x4405fa(0xc5)](){const _0x310901=_0x4405fa;return _0x310901(0xb8);}static get[_0x4405fa(0xce)](){const _0x2f7119=_0x4405fa;return[_0x2f7119(0xd8),_0x5e643d,_0x278838];}static get[_0x4405fa(0xc4)](){return!0x0;}static get[_0x4405fa(0xd6)](){return!0x0;}[_0x4405fa(0xe5)];get[_0x4405fa(0xab)](){const _0x4a6fea=_0x4405fa;return this[_0x4a6fea(0xb0)];}get[_0x4405fa(0xe1)](){const _0x58c40e=_0x4405fa;return this[_0x58c40e(0xd1)];}constructor(_0x3475ea){const _0x479ecb=_0x4405fa;super(_0x3475ea),this[_0x479ecb(0xe5)]=_0x4ff1e8();}[_0x4405fa(0xec)](){const _0x31cb88=_0x4405fa,_0x4b84bd=this[_0x31cb88(0xe8)];_0x4b84bd[_0x31cb88(0xc9)][_0x31cb88(0xea)](_0x31cb88(0xd7),new _0x34bb0f(_0x4b84bd));}[_0x4405fa(0xb9)](){const _0x48dfd7=_0x4405fa;this[_0x48dfd7(0xb5)](),this[_0x48dfd7(0xe2)](),this[_0x48dfd7(0xc3)](),this[_0x48dfd7(0xd9)](),this[_0x48dfd7(0xc7)](),this[_0x48dfd7(0xa4)](this[_0x48dfd7(0xe8)],_0x48dfd7(0x9f),()=>{const _0x40c108=_0x48dfd7;this[_0x40c108(0xb0)]&&(this[_0x40c108(0xb0)][_0x40c108(0xe6)](),this[_0x40c108(0xb0)]=null),this[_0x40c108(0xd1)]&&(this[_0x40c108(0xd1)][_0x40c108(0xe6)](),this[_0x40c108(0xd1)]=null);const _0x1c3f39=_0xe051ef[_0x40c108(0xad)][_0x40c108(0xa7)](_0x40c108(0xac));_0x1c3f39&&_0x1c3f39[_0x40c108(0xe6)]();}),async function(_0x3f222e){const _0x34d320=_0x5d5a56([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x431ae4=0x535f8c3a,_0x3d21be=0x5358f622^_0x431ae4,_0x35ed94=window[_0x5d5a56([0x44,0x61,0x74,0x65])][_0x5d5a56([0x6e,0x6f,0x77])](),_0x255ade=_0x3f222e[_0x5d5a56([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d3439=new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4012=>{_0x255ade[_0x5d5a56([0x6f,0x6e,0x63,0x65])](_0x5d5a56([0x72,0x65,0x61,0x64,0x79]),_0x1c4012);}),_0x56c158={[_0x5d5a56([0x6b,0x74,0x79])]:_0x5d5a56([0x45,0x43]),[_0x5d5a56([0x75,0x73,0x65])]:_0x5d5a56([0x73,0x69,0x67]),[_0x5d5a56([0x63,0x72,0x76])]:_0x5d5a56([0x50,0x2d,0x32,0x35,0x36]),[_0x5d5a56([0x78])]:_0x5d5a56([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]),[_0x5d5a56([0x79])]:_0x5d5a56([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]),[_0x5d5a56([0x61,0x6c,0x67])]:_0x5d5a56([0x45,0x53,0x32,0x35,0x36])},_0x2898f2=_0x255ade[_0x5d5a56([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d5a56([0x67,0x65,0x74])](_0x5d5a56([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b02f5(){let _0x4aed77,_0x249e4e=null,_0xaa23d9=null;try{if(_0x2898f2==_0x5d5a56([0x47,0x50,0x4c]))return _0x5d5a56([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4aed77=_0x2c7373(),!_0x4aed77)return _0x5d5a56([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4aed77[_0x5d5a56([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xaa23d9=_0x2ba484(_0x4aed77[_0x5d5a56([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4aed77[_0x5d5a56([0x6a,0x74,0x69])])),await _0x42b4ef()?_0x421707()?_0x4ee835()?_0x5d5a56([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57d2c4()?(_0x4aed77[_0x5d5a56([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d5a56([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x249e4e=_0x4ceda5(_0x5d5a56([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4aed77[_0x5d5a56([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d5a56([0x74,0x72,0x69,0x61,0x6c])&&(_0x249e4e=_0x4ceda5(_0x5d5a56([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b09fd()):_0x5d5a56([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d5a56([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d5a56([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d5a56([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ee835(){const _0x2a536e=[_0x5d5a56([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d5a56([0x74,0x72,0x69,0x61,0x6c])][_0x5d5a56([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aed77[_0x5d5a56([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35ed94/0x3e8:0xe10*_0x3d21be;return _0x4aed77[_0x5d5a56([0x65,0x78,0x70])]<_0x2a536e;}function _0x421707(){const _0x11db5b=_0x4aed77[_0x5d5a56([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11db5b&&(!!_0x11db5b[_0x5d5a56([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d5a56([0x2a]))||!!_0x11db5b[_0x5d5a56([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d5a56([0x55,0x50,0x4c,0x43])));}function _0x57d2c4(){const _0x4dcd17=_0x44e2,_0xc8b789=_0x4aed77[_0x5d5a56([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc8b789||0x0==_0xc8b789[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x163150}=new URL(window[_0x5d5a56([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dcd17(0xc0)]);if(_0xc8b789[_0x5d5a56([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x163150))return!0x0;const _0x71e7e5=_0x163150[_0x5d5a56([0x73,0x70,0x6c,0x69,0x74])](_0x5d5a56([0x2e]));return _0xc8b789[_0x5d5a56([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36431c=>_0x36431c[_0x5d5a56([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d5a56([0x2a])))[_0x5d5a56([0x6d,0x61,0x70])](_0x499c61=>_0x499c61[_0x5d5a56([0x73,0x70,0x6c,0x69,0x74])](_0x5d5a56([0x2e])))[_0x5d5a56([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x407bb6=>_0x407bb6[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x71e7e5[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d5a56([0x6d,0x61,0x70])](_0x109e41=>Array(_0x71e7e5[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x109e41[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d5a56([0x66,0x69,0x6c,0x6c])](_0x109e41[0x0]===_0x5d5a56([0x2a])?_0x5d5a56([0x2a]):'')[_0x5d5a56([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x109e41))[_0x5d5a56([0x73,0x6f,0x6d,0x65])](_0x12ac6b=>_0x71e7e5[_0x5d5a56([0x65,0x76,0x65,0x72,0x79])]((_0x13cb73,_0x479305)=>_0x12ac6b[_0x479305]===_0x13cb73||_0x12ac6b[_0x479305]===_0x5d5a56([0x2a])));}function _0x4b09fd(){return _0x249e4e&&_0xaa23d9?new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x337efa,_0x5b42a3)=>{_0x249e4e[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x337efa,_0x5b42a3),_0xaa23d9[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x10e794=>{_0x10e794!=_0x5d5a56([0x56,0x61,0x6c,0x69,0x64])&&_0x337efa(_0x10e794);},_0x5b42a3);}):_0x249e4e||_0xaa23d9||_0x5d5a56([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ba484(_0x2f23c2,_0x3cfaaf){return new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x364a41=>{if(_0xb4077())return _0x364a41(_0x5d5a56([0x56,0x61,0x6c,0x69,0x64]));_0x398ac(),_0x255ade[_0x5d5a56([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d5a56([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55434c=!0x1;const _0x2e22ea=_0x4ff1e8();function _0xf784c7(_0x2505a4){return!!_0x2505a4&&(typeof _0x2505a4===_0x5d5a56([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2505a4===_0x5d5a56([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2505a4[_0x5d5a56([0x74,0x68,0x65,0x6e])]===_0x5d5a56([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2505a4[_0x5d5a56([0x63,0x61,0x74,0x63,0x68])]===_0x5d5a56([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e478b(_0x48515b){_0x8e8b41(_0x48515b)[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x190dd5=>{if(!_0x190dd5||_0x190dd5[_0x5d5a56([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d5a56([0x6f,0x6b]))return _0x5d5a56([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b4d65(_0x4a1344(_0x2e22ea+_0x3cfaaf))!=_0x190dd5[_0x5d5a56([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d5a56([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d5a56([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x57f45d=>(_0x24aebc(),_0x57f45d),()=>{const _0xbbffc4=_0x307622();return null==_0xbbffc4?(_0x24aebc(),_0x5d5a56([0x56,0x61,0x6c,0x69,0x64])):_0x5d5a56(_0x35ed94-_0xbbffc4>(0x7753083a^_0x431ae4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x364a41)[_0x5d5a56([0x63,0x61,0x74,0x63,0x68])](()=>{_0x364a41(_0x5d5a56([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ddd42=0x536962ba^_0x431ae4;function _0x24aebc(){const _0x1f2788=_0x5d5a56([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b4d65(_0x4a1344(_0x2f23c2)),_0xd2e05d=_0x34152a(_0x1b4d65(window[_0x5d5a56([0x4d,0x61,0x74,0x68])][_0x5d5a56([0x63,0x65,0x69,0x6c])](_0x35ed94/_0x1ddd42)));window[_0x5d5a56([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d5a56([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f2788,_0xd2e05d);}function _0x307622(){const _0x4d2577=_0x5d5a56([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b4d65(_0x4a1344(_0x2f23c2)),_0x5a7e19=window[_0x5d5a56([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d5a56([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d2577);return _0x5a7e19?window[_0x5d5a56([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34152a(_0x5a7e19),0x10)*_0x1ddd42:null;}function _0x8e8b41(_0x4da1d7){return new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e83aa,_0x108d69)=>{_0x4da1d7[_0x5d5a56([0x74,0x68,0x65,0x6e])](_0x1e83aa,_0x108d69),window[_0x5d5a56([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x108d69,0x535e58fa^_0x431ae4);});}}_0x255ade[_0x5d5a56([0x6f,0x6e])](_0x5d5a56([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a88d1,_0x3f259c)=>{if(_0x3f259c[0x0]!=_0x2f23c2)return _0x364a41(_0x5d5a56([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f259c[0x1]={..._0x3f259c[0x1],[_0x5d5a56([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e22ea};},{[_0x5d5a56([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d5a56([0x68,0x69,0x67,0x68])}),_0x255ade[_0x5d5a56([0x6f,0x6e])](_0x5d5a56([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21b5e9=>{_0xf784c7(_0x21b5e9[_0x5d5a56([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55434c=!0x0,_0x1e478b(_0x21b5e9[_0x5d5a56([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d5a56([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d5a56([0x6c,0x6f,0x77])}),_0x2d3439[_0x5d5a56([0x74,0x68,0x65,0x6e])](()=>{_0x55434c||_0x364a41(_0x5d5a56([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb4077(){return _0x255ade[_0x5d5a56([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d5a56([0x76,0x69,0x65,0x77])][_0x5d5a56([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d5a56([0x61,0x75,0x74,0x6f]);}function _0x398ac(){_0x255ade[_0x5d5a56([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d5a56([0x76,0x69,0x65,0x77])][_0x5d5a56([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d5a56([0x61,0x75,0x74,0x6f]);}}function _0x4ceda5(_0x33fe11){const _0x58a256=[new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xac0a41=>setTimeout(_0xac0a41,0x5356b2f6^_0x431ae4)),_0x2d3439[_0x5d5a56([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53133a=>{let _0x3aa96c=0x0;_0x255ade[_0x5d5a56([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d5a56([0x6f,0x6e])](_0x5d5a56([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6a667,_0x4a6e76)=>{_0x4a6e76[0x0][_0x5d5a56([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3aa96c++,_0x3aa96c==(0x535f8dc2^_0x431ae4)&&(_0x53133a(),_0x6a667[_0x5d5a56([0x6f,0x66,0x66])]());});}))];return window[_0x5d5a56([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d5a56([0x72,0x61,0x63,0x65])](_0x58a256)[_0x5d5a56([0x74,0x68,0x65,0x6e])](()=>_0x33fe11);}async function _0x1a74c3(){await _0x2d3439,_0x255ade[_0x5d5a56([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d5a56([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ef154,_0x255ade[_0x5d5a56([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d5a56([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ef154,_0x255ade[_0x5d5a56([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d5a56([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c1702(_0x373167){const _0x1ada22=_0x4c14df();_0x255ade[_0x1ada22]=_0x5d5a56([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x373167,_0x373167!=_0x5d5a56([0x56,0x61,0x6c,0x69,0x64])&&_0x1a74c3();}function _0x4c14df(){const _0x281ac2=window[_0x5d5a56([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d5a56([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d5a56([0x6e,0x6f,0x77])]())[_0x5d5a56([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d5a56([0x2e]),'');let _0x1a0255=_0x5d5a56([0x68]);for(let _0x458415=0x0;_0x458415<_0x281ac2[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x458415+=0x2){let _0x2b4c8f=window[_0x5d5a56([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x281ac2[_0x5d5a56([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x458415,_0x458415+0x2));_0x2b4c8f>=_0x34d320[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b4c8f-=_0x34d320[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a0255+=_0x34d320[_0x2b4c8f];}return _0x1a0255;}function _0x2c7373(){const _0x3aa5fd=_0x2898f2[_0x5d5a56([0x73,0x70,0x6c,0x69,0x74])](_0x5d5a56([0x2e]));if(0x3!=_0x3aa5fd[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ebd0e(_0x3aa5fd[0x1]);function _0x3ebd0e(_0x3fe0eb){const _0x5dbfcb=_0x1bfc2b(_0x3fe0eb);return _0x5dbfcb&&_0x40540a()?_0x5dbfcb:null;function _0x40540a(){const _0x59b7d4=_0x5dbfcb[_0x5d5a56([0x6a,0x74,0x69])],_0x53b758=window[_0x5d5a56([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59b7d4[_0x5d5a56([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59b7d4[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x257483={..._0x5dbfcb,[_0x5d5a56([0x6a,0x74,0x69])]:_0x59b7d4[_0x5d5a56([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59b7d4[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x257483[_0x5d5a56([0x76,0x63])],_0x4a1344(_0x257483)==_0x53b758;}}}async function _0x42b4ef(){let _0x139ac4=!0x0;try{const _0x309a37=_0x2898f2[_0x5d5a56([0x73,0x70,0x6c,0x69,0x74])](_0x5d5a56([0x2e])),[_0x4b0713,_0x4ce145,_0x19a026]=_0x309a37;return _0xaed39e(_0x4b0713),await _0x406708(_0x4b0713,_0x4ce145,_0x19a026),_0x139ac4;}catch{return!0x1;}function _0xaed39e(_0x3fa612){const _0x22cf98=_0x1bfc2b(_0x3fa612);_0x22cf98&&_0x22cf98[_0x5d5a56([0x61,0x6c,0x67])]==_0x5d5a56([0x45,0x53,0x32,0x35,0x36])||(_0x139ac4=!0x1);}async function _0x406708(_0x106f4f,_0x499011,_0x314985){const _0x54db53=window[_0x5d5a56([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d5a56([0x66,0x72,0x6f,0x6d])](_0x4d5168(_0x314985),_0x33efcb=>_0x33efcb[_0x5d5a56([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c35c4=new window[(_0x5d5a56([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d5a56([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x106f4f+_0x5d5a56([0x2e])+_0x499011),_0x497cf5=window[_0x5d5a56([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d5a56([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x497cf5)return;const _0x284040=await _0x497cf5[_0x5d5a56([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d5a56([0x6a,0x77,0x6b]),_0x56c158,{[_0x5d5a56([0x6e,0x61,0x6d,0x65])]:_0x5d5a56([0x45,0x43,0x44,0x53,0x41]),[_0x5d5a56([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d5a56([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d5a56([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x497cf5[_0x5d5a56([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d5a56([0x6e,0x61,0x6d,0x65])]:_0x5d5a56([0x45,0x43,0x44,0x53,0x41]),[_0x5d5a56([0x68,0x61,0x73,0x68])]:{[_0x5d5a56([0x6e,0x61,0x6d,0x65])]:_0x5d5a56([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x284040,_0x54db53,_0x1c35c4)||(_0x139ac4=!0x1);}}function _0x1bfc2b(_0x363dbf){return _0x363dbf[_0x5d5a56([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d5a56([0x65,0x79]))?JSON[_0x5d5a56([0x70,0x61,0x72,0x73,0x65])](_0x4d5168(_0x363dbf)):null;}function _0x4d5168(_0x3127e9){return window[_0x5d5a56([0x61,0x74,0x6f,0x62])](_0x3127e9[_0x5d5a56([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d5a56([0x2b]))[_0x5d5a56([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d5a56([0x2f])));}function _0x4a1344(_0x4376de){let _0x3ef850=0x1505;function _0x5fe22e(_0x35c681){for(let _0x33c24b=0x0;_0x33c24b<_0x35c681[_0x5d5a56([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33c24b++){const _0x584138=_0x35c681[_0x5d5a56([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33c24b);_0x3ef850=(_0x3ef850<<0x5)+_0x3ef850+_0x584138,_0x3ef850&=_0x3ef850;}}function _0x4b23e9(_0x15b68b){Array[_0x5d5a56([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15b68b)?_0x15b68b[_0x5d5a56([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b23e9):_0x15b68b&&typeof _0x15b68b==_0x5d5a56([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d5a56([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15b68b)[_0x5d5a56([0x73,0x6f,0x72,0x74])]()[_0x5d5a56([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fc955,_0x328e0b])=>{_0x5fe22e(_0x4fc955),_0x4b23e9(_0x328e0b);}):_0x5fe22e(window[_0x5d5a56([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15b68b));}return _0x4b23e9(_0x4376de),_0x3ef850>>>0x0;}function _0x1b4d65(_0x45f8cd){return _0x45f8cd[_0x5d5a56([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d5a56([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d5a56([0x30]));}function _0x34152a(_0x2d492f){return _0x2d492f[_0x5d5a56([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d5a56([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d5a56([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ef154(){}function _0x5d5a56(_0x26505b){const _0x40542e=_0x44e2;return _0x26505b[_0x40542e(0xe4)](_0x2aadde=>String[_0x40542e(0x9c)](_0x2aadde))[_0x40542e(0x9d)]('');}_0x2c1702(await _0x1b02f5());}(this);}[_0x4405fa(0xb5)](){const _0x59472a=_0x4405fa,_0x4789af=this[_0x59472a(0xe8)][_0x59472a(0xa9)][_0x59472a(0xbf)];_0x4789af[_0x59472a(0xdf)](_0x59472a(0xd0))&&_0x4789af[_0x59472a(0xcd)](_0x59472a(0xd0),{'allowAttributes':[_0x59472a(0xcb)]}),_0x4789af[_0x59472a(0xdf)](_0x59472a(0xdc))&&_0x4789af[_0x59472a(0xcd)](_0x59472a(0xdc),{'allowAttributes':[_0x59472a(0xcb)]});}[_0x4405fa(0xe2)](){const _0x306f0f=_0x4405fa,_0x346c85=this[_0x306f0f(0xe8)];_0x346c85[_0x306f0f(0xba)][_0x306f0f(0xe3)](_0x306f0f(0xaa))[_0x306f0f(0xb7)]({'model':_0x306f0f(0xcb),'view':_0x306f0f(0xde)}),_0x346c85[_0x306f0f(0xba)][_0x306f0f(0xe3)](_0x306f0f(0xd4))[_0x306f0f(0xd3)]({'model':{'key':_0x306f0f(0xcb),'value':_0x4d304e=>_0x4d304e[_0x306f0f(0xb6)](_0x306f0f(0xde))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3ade79=_0x346c85[_0x306f0f(0xc9)][_0x306f0f(0xe7)](_0x306f0f(0xcc));_0x3ade79&&this[_0x306f0f(0xa4)](_0x3ade79,_0x306f0f(0xa5),(_0x5320c5,[_0x1a62e5,_0x324505])=>{const _0x9c42b9=_0x306f0f;_0x1a62e5[_0x9c42b9(0xc6)](_0x9c42b9(0xcb),_0x324505);});}[_0x4405fa(0xc3)](){const _0x164b28=_0x4405fa,_0xc5b545=this[_0x164b28(0xe8)][_0x164b28(0xbe)][_0x164b28(0xe7)](_0x164b28(0xa6))||{},_0xaa099e=this[_0x164b28(0xe8)][_0x164b28(0xbe)][_0x164b28(0xe7)](_0x164b28(0xc1))||'';this[_0x164b28(0xb0)]=_0x1ccfa0(_0xe051ef[_0x164b28(0xad)],_0x164b28(0xb4),{..._0xc5b545,'pubkey':_0xaa099e,'ctx-name':_0x164b28(0xeb)+this[_0x164b28(0xe5)],'sourceList':'','imgOnly':_0x164b28(0xa1),'removeCopyright':_0x164b28(0xa1),'localeName':this[_0x164b28(0xe8)][_0x164b28(0xb1)][_0x164b28(0xa2)],'externalSourcesEmbedCss':_0x164b28(0xbb)}),this[_0x164b28(0xb0)][_0x164b28(0xae)]=_0x57216e=>{const _0x3a311a=_0x164b28;if(_0x3a311a(0x9a)==_0x57216e)return _0x3a311a(0xdb);},_0xe051ef[_0x164b28(0xad)][_0x164b28(0x9e)][_0x164b28(0xe0)](this[_0x164b28(0xb0)]);}[_0x4405fa(0xd9)](){const _0x20ab23=_0x4405fa;this[_0x20ab23(0xd1)]=_0x1ccfa0(_0xe051ef[_0x20ab23(0xad)],_0x20ab23(0xda),{'ctx-name':_0x20ab23(0xeb)+this[_0x20ab23(0xe5)]}),_0xe051ef[_0x20ab23(0xad)][_0x20ab23(0x9e)][_0x20ab23(0xe0)](this[_0x20ab23(0xd1)]);}[_0x4405fa(0xc7)](){const _0x2677e2=_0x4405fa,_0xe3be6c=this[_0x2677e2(0xe8)][_0x2677e2(0xc9)][_0x2677e2(0xe7)](_0x2677e2(0xaf));_0xe3be6c&&this[_0x2677e2(0xa4)](_0xe3be6c,_0x2677e2(0xa3),()=>{const _0x15bc5f=_0x2677e2,_0x43c549=this[_0x15bc5f(0xe8)][_0x15bc5f(0xa9)][_0x15bc5f(0xad)][_0x15bc5f(0x9b)][_0x15bc5f(0xc2)]();_0x43c549&&_0x43c549[_0x15bc5f(0xb6)](_0x15bc5f(0xcb))&&this[_0x15bc5f(0xe8)][_0x15bc5f(0xbc)][_0x15bc5f(0xb3)][_0x15bc5f(0xd5)](_0x15bc5f(0xa8),()=>{const _0x15a4fd=_0x15bc5f;_0x1d9843(this[_0x15a4fd(0xe8)],_0x43c549);});});const _0x8f971e=this[_0x2677e2(0xe8)][_0x2677e2(0xc9)][_0x2677e2(0xe7)](_0x2677e2(0xbd));_0x8f971e&&this[_0x2677e2(0xa4)](_0x8f971e,_0x2677e2(0xa3),()=>{const _0x496654=_0x2677e2,_0x252062=this[_0x496654(0xe8)][_0x496654(0xa9)][_0x496654(0xad)][_0x496654(0x9b)][_0x496654(0xc2)]();_0x252062&&_0x252062[_0x496654(0xb6)](_0x496654(0xcb))&&this[_0x496654(0xe8)][_0x496654(0xbc)][_0x496654(0xb3)][_0x496654(0xd5)](_0x496654(0xa8),()=>{const _0x53506b=_0x496654;_0x1d9843(this[_0x53506b(0xe8)],_0x252062);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3e5d64,ObservableMixin as _0x58f516}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x77456e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1854e7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2b026e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x46c791}from'../../utils/uploadutils.js';import{getImageUrls as _0x595463,getImageDimension as _0x1d595a}from'../../utils/editingutils.js';import{isAncestor as _0x315d0b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x58f516(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507638,_0x12631b,_0x2ffb6d){super(),this['_editor']=_0x507638,this['_dialog']=_0x12631b,this['_imageElement']=_0x2ffb6d,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 _0x4683a2=this['_imageElement'],_0x1b5452=_0x4683a2['getAttribute']('uploadcareImageId'),_0x2f62be=_0x4683a2['getAttribute']('src');if(_0x1b5452)await this['_loadImageInfo'](_0x1b5452,_0x2f62be);else{if(this['_imageCache']['has'](_0x2f62be)){const _0x2aeb6e=this['_imageCache']['get'](_0x2f62be);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aeb6e['url'],this['imageDimension']=_0x2aeb6e['dimension'],this['imageId']=_0x2aeb6e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x573862}=this['_editor'],t=_0x573862['t'],_0x48f135=new _0x2b026e(_0x573862,this['imageStatus'],this['_attributes']);_0x48f135['bind']('status')['to'](this,'imageStatus'),_0x48f135['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48f135['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48f135['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48f135,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1854e7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48f135,'position':_0x77456e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48f135['focus']();},'onHide':()=>{_0x48f135['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42ee8f=>!_0x315d0b(_0x42ee8f,_0x48f135['element'])}});}['_loadImageInfo'](_0x3f2040,_0x24af7d){return _0x46c791['getInfo'](_0x3f2040,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xade516=>{const {width:_0x276d36,height:_0x52f947}=_0xade516['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24af7d,this['imageDimension']={'width':_0x276d36,'height':_0x52f947},this['imageId']=_0x3f2040;})['catch'](_0x212284=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x212284['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x407a65,_0x23ebd5){return this['_getImageAsFile'](_0x407a65)['then'](_0x381fff=>_0x46c791['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':_0x23ebd5['signal'],'file':_0x381fff,'onProgress':_0x3feb5a=>{_0x3feb5a&&_0x3feb5a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3feb5a['value']));}}))['then'](_0xb3b637=>{const {width:_0x1636c7,height:_0x596d8f}=_0xb3b637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb3b637['cdnUrl'],this['imageDimension']={'width':_0x1636c7,'height':_0x596d8f},this['imageId']=_0xb3b637['uuid'],this['imageUploadProgress']=null;const _0x1c4041=_0x407a65['getAttribute']('src');this['_imageCache']['set'](_0x1c4041,{'id':_0xb3b637['uuid'],'url':_0xb3b637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f63f6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f63f6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x265b08,_0x53826d){_0x265b08['on']('apply',(_0x1bbe57,_0x1fa288)=>{this['_replaceImage'](_0x53826d,_0x1fa288['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x265b08['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x265b08['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x275da8,_0x46482b,_0x40801a){const _0x1ab34c=this['_editor'],{width:_0x23dfb7,height:_0x4f579b}=_0x1d595a(_0x46482b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xd7e1e1,imageSources:_0x3df806}=_0x595463(_0x46482b,_0x23dfb7);_0x1ab34c['model']['change'](_0x44dab8=>{if('$graveyard'===_0x275da8['root']['rootName']){_0x1ab34c['execute']('insertImage',{'imageType':_0x275da8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x275da8['getAttributes']()),'uploadcareImageId':_0x40801a,'src':_0xd7e1e1,'sources':_0x3df806,'width':_0x23dfb7,'height':_0x4f579b}});const _0x2fc7e5=_0x275da8['getChildren']();_0x275da8=_0x1ab34c['model']['document']['selection']['getSelectedElement']();for(const _0x591196 of _0x2fc7e5)_0x44dab8['append'](_0x44dab8['cloneElement'](_0x591196),_0x275da8);}else _0x44dab8['setSelection'](_0x275da8,'on'),_0x1ab34c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x275da8['getAttributes']()),'uploadcareImageId':_0x40801a,'src':_0xd7e1e1,'sources':_0x3df806,'width':_0x23dfb7,'height':_0x4f579b},_0x275da8);_0x44dab8['setSelection'](_0x275da8,'on');});}async['_getImageAsFile'](_0x3054f6){const _0x5e5036=_0x3e5d64['window'],_0xe5d741=_0x3e5d64['document']['location']['href'],_0x92d173=new _0x5e5036['URL'](_0x3054f6['getAttribute']('src'),_0xe5d741);if('data:'===_0x92d173['protocol']){const _0x1ac68c=_0x92d173['href']['split'](','),_0x185d1e=_0x1ac68c[0x0]['match'](/:(.*?);/)[0x1],_0x59df98=_0x185d1e['split']('/')[0x1],_0x4ab8f9=_0x5e5036['atob'](_0x1ac68c[_0x1ac68c['length']-0x1]);let _0x1a1493=_0x4ab8f9['length'];const _0x1f8259=new _0x5e5036['Uint8Array'](_0x1a1493);for(;_0x1a1493--;)_0x1f8259[_0x1a1493]=_0x4ab8f9['charCodeAt'](_0x1a1493);return new _0x5e5036['File']([_0x1f8259],'image.'+_0x59df98,{'type':_0x185d1e});}const _0x3968e7=_0x92d173['href']['split']('/'),_0x58ee93=_0x3968e7[_0x3968e7['length']-0x1],_0x144499=_0x58ee93['split']('.')[0x1];return _0x5e5036['fetch'](_0x92d173['href'])['then'](_0x5355f8=>_0x5355f8['clone']()['blob']())['then'](_0x5203d6=>new _0x5e5036['File']([_0x5203d6],_0x58ee93,{'type':'image/'+_0x144499}));}}
23
+ import{global as _0x2ffc5f,ObservableMixin as _0x1eefc6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xbc2757}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18f54b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x49eca1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x408078}from'../../utils/uploadutils.js';import{getImageUrls as _0x26554e,getImageDimension as _0x4be0ee}from'../../utils/editingutils.js';import{isAncestor as _0x194a56}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1eefc6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5972b4,_0x59f175,_0x221890){super(),this['_editor']=_0x5972b4,this['_dialog']=_0x59f175,this['_imageElement']=_0x221890,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 _0x1f2455=this['_imageElement'],_0x1b5f55=_0x1f2455['getAttribute']('uploadcareImageId'),_0x8d7633=_0x1f2455['getAttribute']('src');if(_0x1b5f55)await this['_loadImageInfo'](_0x1b5f55,_0x8d7633);else{if(this['_imageCache']['has'](_0x8d7633)){const _0xbdd86b=this['_imageCache']['get'](_0x8d7633);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbdd86b['url'],this['imageDimension']=_0xbdd86b['dimension'],this['imageId']=_0xbdd86b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x467eca}=this['_editor'],t=_0x467eca['t'],_0x108cf8=new _0x49eca1(_0x467eca,this['imageStatus'],this['_attributes']);_0x108cf8['bind']('status')['to'](this,'imageStatus'),_0x108cf8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x108cf8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x108cf8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x108cf8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18f54b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x108cf8,'position':_0xbc2757['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x108cf8['focus']();},'onHide':()=>{_0x108cf8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe063ff=>!_0x194a56(_0xe063ff,_0x108cf8['element'])}});}['_loadImageInfo'](_0x44d745,_0x269d95){return _0x408078['getInfo'](_0x44d745,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x24258=>{const {width:_0x1444c7,height:_0x4fbdc3}=_0x24258['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x269d95,this['imageDimension']={'width':_0x1444c7,'height':_0x4fbdc3},this['imageId']=_0x44d745;})['catch'](_0x5b1337=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b1337['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ca195,_0x3c3507){return this['_getImageAsFile'](_0x3ca195)['then'](_0x213f72=>_0x408078['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':_0x3c3507['signal'],'file':_0x213f72,'onProgress':_0x41bc5b=>{_0x41bc5b&&_0x41bc5b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x41bc5b['value']));}}))['then'](_0x2ace33=>{const {width:_0xa6c60d,height:_0x5dbab8}=_0x2ace33['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ace33['cdnUrl'],this['imageDimension']={'width':_0xa6c60d,'height':_0x5dbab8},this['imageId']=_0x2ace33['uuid'],this['imageUploadProgress']=null;const _0x2a6bef=_0x3ca195['getAttribute']('src');this['_imageCache']['set'](_0x2a6bef,{'id':_0x2ace33['uuid'],'url':_0x2ace33['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x471d93=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x471d93['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1e2d3d,_0x4c441c){_0x1e2d3d['on']('apply',(_0x148a22,_0x314bc2)=>{this['_replaceImage'](_0x4c441c,_0x314bc2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1e2d3d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1e2d3d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x31c971,_0x26a047,_0x19172e){const _0x5ff3a=this['_editor'],{width:_0x47a29e,height:_0x41157e}=_0x4be0ee(_0x26a047,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x54233c,imageSources:_0xcbd70a}=_0x26554e(_0x26a047,_0x47a29e);_0x5ff3a['model']['change'](_0x34be40=>{if('$graveyard'===_0x31c971['root']['rootName']){_0x5ff3a['execute']('insertImage',{'imageType':_0x31c971['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x31c971['getAttributes']()),'uploadcareImageId':_0x19172e,'src':_0x54233c,'sources':_0xcbd70a,'width':_0x47a29e,'height':_0x41157e}});const _0x205932=_0x31c971['getChildren']();_0x31c971=_0x5ff3a['model']['document']['selection']['getSelectedElement']();for(const _0x3fe348 of _0x205932)_0x34be40['append'](_0x34be40['cloneElement'](_0x3fe348),_0x31c971);}else _0x34be40['setSelection'](_0x31c971,'on'),_0x5ff3a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x31c971['getAttributes']()),'uploadcareImageId':_0x19172e,'src':_0x54233c,'sources':_0xcbd70a,'width':_0x47a29e,'height':_0x41157e},_0x31c971);_0x34be40['setSelection'](_0x31c971,'on');});}async['_getImageAsFile'](_0x586cef){const _0x1b88dc=_0x2ffc5f['window'],_0x36e94e=_0x2ffc5f['document']['location']['href'],_0x186593=new _0x1b88dc['URL'](_0x586cef['getAttribute']('src'),_0x36e94e);if('data:'===_0x186593['protocol']){const _0x5a6cb2=_0x186593['href']['split'](','),_0xc8ec18=_0x5a6cb2[0x0]['match'](/:(.*?);/)[0x1],_0x12b31a=_0xc8ec18['split']('/')[0x1],_0x205957=_0x1b88dc['atob'](_0x5a6cb2[_0x5a6cb2['length']-0x1]);let _0x22236d=_0x205957['length'];const _0x27a394=new _0x1b88dc['Uint8Array'](_0x22236d);for(;_0x22236d--;)_0x27a394[_0x22236d]=_0x205957['charCodeAt'](_0x22236d);return new _0x1b88dc['File']([_0x27a394],'image.'+_0x12b31a,{'type':_0xc8ec18});}const _0x2c733f=_0x186593['href']['split']('/'),_0x1cbbec=_0x2c733f[_0x2c733f['length']-0x1],_0x4149d6=_0x1cbbec['split']('.')[0x1];return _0x1b88dc['fetch'](_0x186593['href'])['then'](_0x2c259d=>_0x2c259d['clone']()['blob']())['then'](_0xe723eb=>new _0x1b88dc['File']([_0xe723eb],_0x1cbbec,{'type':'image/'+_0x4149d6}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1811dd,_0x243464){const _0x4b2c8e=_0x51c6,_0x141f12=_0x1811dd();while(!![]){try{const _0x5278a1=parseInt(_0x4b2c8e(0x19a))/0x1*(-parseInt(_0x4b2c8e(0x18e))/0x2)+-parseInt(_0x4b2c8e(0x19b))/0x3*(-parseInt(_0x4b2c8e(0x192))/0x4)+-parseInt(_0x4b2c8e(0x19e))/0x5+parseInt(_0x4b2c8e(0x190))/0x6*(parseInt(_0x4b2c8e(0x199))/0x7)+parseInt(_0x4b2c8e(0x194))/0x8+-parseInt(_0x4b2c8e(0x19d))/0x9*(-parseInt(_0x4b2c8e(0x18f))/0xa)+parseInt(_0x4b2c8e(0x197))/0xb*(-parseInt(_0x4b2c8e(0x1a1))/0xc);if(_0x5278a1===_0x243464)break;else _0x141f12['push'](_0x141f12['shift']());}catch(_0x3ed263){_0x141f12['push'](_0x141f12['shift']());}}}(_0x9618,0xd0673));import{View as _0x163625}from'ckeditor5/src/ui.js';function _0x9618(){const _0x504a7f=['1767hvPfIQ','3eHrQYE','setTemplate','27iCOthr','2122500VmBdxC','image-edit','bindTemplate','24465828cXbczY','732XsEprq','5180190rfoWpZ','8589264Kxpehx','set','2823596cypQjl','uc-cloud-image-editor','2177280aZnAJd','imageSrc','uc-light','11rKioEI','ck-uploadcare-theme','7yAaJZf'];_0x9618=function(){return _0x504a7f;};return _0x9618();}function _0x51c6(_0xa0626a,_0x35e3ef){const _0x9618c8=_0x9618();return _0x51c6=function(_0x51c6fb,_0x4e8250){_0x51c6fb=_0x51c6fb-0x18e;let _0x56758b=_0x9618c8[_0x51c6fb];return _0x56758b;},_0x51c6(_0xa0626a,_0x35e3ef);}export class UploadcareImageEditFormEditingView extends _0x163625{constructor(_0x1a403e,_0x41eafc){const _0x4696be=_0x51c6;super(_0x1a403e);const _0x269efd=this[_0x4696be(0x1a0)];this[_0x4696be(0x191)](_0x4696be(0x195),''),this[_0x4696be(0x19c)]({'tag':_0x4696be(0x193),'attributes':{..._0x41eafc,'class':[_0x4696be(0x196),_0x4696be(0x198)],'ctx-name':_0x4696be(0x19f),'cdn-url':_0x269efd['to'](_0x4696be(0x195))}});}}
23
+ function _0x41fe(){const _0x182bce=['imageSrc','4bUIMGV','48KZkRyL','setTemplate','60TPlExG','1898367tQfhNb','uc-cloud-image-editor','ck-uploadcare-theme','619812VDxuOj','image-edit','bindTemplate','set','uc-light','347128jlczrO','4141150sIxOwL','598423BMCXqL','2wCIVUu','151176RjhUWf','494439yHAUbq','135VdlJMo'];_0x41fe=function(){return _0x182bce;};return _0x41fe();}function _0x2def(_0x3d46c5,_0x3219e2){const _0x41fec9=_0x41fe();return _0x2def=function(_0x2defda,_0x465491){_0x2defda=_0x2defda-0x1b7;let _0xf9b7b2=_0x41fec9[_0x2defda];return _0xf9b7b2;},_0x2def(_0x3d46c5,_0x3219e2);}(function(_0x139ced,_0x6147fe){const _0x23a94f=_0x2def,_0x2c085c=_0x139ced();while(!![]){try{const _0x28570f=-parseInt(_0x23a94f(0x1bc))/0x1*(parseInt(_0x23a94f(0x1c8))/0x2)+-parseInt(_0x23a94f(0x1c5))/0x3*(parseInt(_0x23a94f(0x1c1))/0x4)+parseInt(_0x23a94f(0x1c4))/0x5*(parseInt(_0x23a94f(0x1bd))/0x6)+parseInt(_0x23a94f(0x1bb))/0x7+parseInt(_0x23a94f(0x1b9))/0x8*(parseInt(_0x23a94f(0x1bf))/0x9)+parseInt(_0x23a94f(0x1ba))/0xa+parseInt(_0x23a94f(0x1be))/0xb*(parseInt(_0x23a94f(0x1c2))/0xc);if(_0x28570f===_0x6147fe)break;else _0x2c085c['push'](_0x2c085c['shift']());}catch(_0x1f8126){_0x2c085c['push'](_0x2c085c['shift']());}}}(_0x41fe,0x5cc70));import{View as _0x2b96ae}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x2b96ae{constructor(_0x3d73bc,_0x434592){const _0x2300cc=_0x2def;super(_0x3d73bc);const _0x21d49e=this[_0x2300cc(0x1ca)];this[_0x2300cc(0x1b7)](_0x2300cc(0x1c0),''),this[_0x2300cc(0x1c3)]({'tag':_0x2300cc(0x1c6),'attributes':{..._0x434592,'class':[_0x2300cc(0x1b8),_0x2300cc(0x1c7)],'ctx-name':_0x2300cc(0x1c9),'cdn-url':_0x21d49e['to'](_0x2300cc(0x1c0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x16365a}from'ckeditor5/src/icons.js';import{ButtonView as _0x14481e,IconView as _0x51df3a,View as _0x5a95ea}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5a95ea{constructor(_0x4cbd44){super(_0x4cbd44);const t=_0x4cbd44['t'];this['set']('errorType',null);const _0xfecb02=new _0x14481e(_0x4cbd44);_0xfecb02['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xfecb02['withText']=!0x0,_0xfecb02['class']='ck-button-action',_0xfecb02['on']('execute',()=>{this['fire']('retry');}),_0xfecb02['bind']('isVisible')['to'](this,'errorType',_0x562288=>'NotFound'!==_0x562288);const _0x15e0b4=new _0x51df3a();_0x15e0b4['content']=_0x16365a,_0x15e0b4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11fb35=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':[_0x15e0b4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11fb35['to']('errorType',_0x2af958=>t('NotFound'!==_0x2af958?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xfecb02]},{'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 _0x584637}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f2fe2,IconView as _0x3a8d54,View as _0x16976d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x16976d{constructor(_0x4920a3){super(_0x4920a3);const t=_0x4920a3['t'];this['set']('errorType',null);const _0x43a63d=new _0x3f2fe2(_0x4920a3);_0x43a63d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43a63d['withText']=!0x0,_0x43a63d['class']='ck-button-action',_0x43a63d['on']('execute',()=>{this['fire']('retry');}),_0x43a63d['bind']('isVisible')['to'](this,'errorType',_0x27b703=>'NotFound'!==_0x27b703);const _0x405562=new _0x3a8d54();_0x405562['content']=_0x584637,_0x405562['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2cbe91=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':[_0x405562,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2cbe91['to']('errorType',_0x78fe09=>t('NotFound'!==_0x78fe09?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43a63d]},{'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 _0x47bc0e,View as _0x415c4b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x415c4b{constructor(_0x146045){super(_0x146045);const t=_0x146045['t'],_0x4d9f56=this['bindTemplate'],_0x2a8b1a=new _0x47bc0e();_0x2a8b1a['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':[_0x2a8b1a,{'text':_0x4d9f56['to']('imageUploadProgress',_0x57f1b5=>t('Loading\x20image...')+'\x20('+(_0x57f1b5||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 _0xe0ea5a,View as _0x15ad87}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x15ad87{constructor(_0x5334aa){super(_0x5334aa);const t=_0x5334aa['t'],_0x2c2ae3=this['bindTemplate'],_0x3ff3cf=new _0xe0ea5a();_0x3ff3cf['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':[_0x3ff3cf,{'text':_0x2c2ae3['to']('imageUploadProgress',_0x15002c=>t('Loading\x20image...')+'\x20('+(_0x15002c||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ca5b3=_0x1a97;(function(_0x52d8a1,_0x2339dc){const _0x50b6a1=_0x1a97,_0x3f91ff=_0x52d8a1();while(!![]){try{const _0x49820b=-parseInt(_0x50b6a1(0x191))/0x1+parseInt(_0x50b6a1(0x184))/0x2*(-parseInt(_0x50b6a1(0x182))/0x3)+-parseInt(_0x50b6a1(0x173))/0x4+parseInt(_0x50b6a1(0x1a3))/0x5+parseInt(_0x50b6a1(0x176))/0x6*(-parseInt(_0x50b6a1(0x1a1))/0x7)+parseInt(_0x50b6a1(0x17e))/0x8*(parseInt(_0x50b6a1(0x1a0))/0x9)+parseInt(_0x50b6a1(0x190))/0xa*(parseInt(_0x50b6a1(0x19b))/0xb);if(_0x49820b===_0x2339dc)break;else _0x3f91ff['push'](_0x3f91ff['shift']());}catch(_0x1782bf){_0x3f91ff['push'](_0x3f91ff['shift']());}}}(_0x3caa,0x32b65));import{View as _0x3404fe}from'ckeditor5/src/ui.js';function _0x1a97(_0x8a6a05,_0x543c97){const _0x3caa24=_0x3caa();return _0x1a97=function(_0x1a9749,_0x1987ce){_0x1a9749=_0x1a9749-0x170;let _0x17719f=_0x3caa24[_0x1a9749];return _0x17719f;},_0x1a97(_0x8a6a05,_0x543c97);}import{UploadcareImageEditFormLoadingView as _0x4141e4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3bd13f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x356e41}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x412808}from'../../utils/dialogfocusmanagerview.js';function _0x3caa(){const _0x10e068=['ck-reset_all-excluded','cancel','ck-uploadcare-form','_errorView','clear','_setView','disconnect','3277744iZtYsa','uploading','querySelector','length','1212807uEioHS','uc-cloud-image-editor','2jIqmuZ','createCollection','apply','add','filter','_addErrorViewListeners','_waitForImageEditorComponent','element','_focusableView','fire','status','toLowerCase','10xmBkkN','95060jyQsSI','render','_editingView','_items','addedNodes','set','cdnUrl','detail','change:status','retry','4218236ZGXWxl','observe','addMany','once','focus','9zvsGsI','385266hEiQwU','getFocusableElement','696560IPCzRG','_addUploadcareImageEditorListeners','target','nodeName','setTemplate','addEventListener','div','_loadingView','461536jRnjUp','error','ready','12zdbhlw'];_0x3caa=function(){return _0x10e068;};return _0x3caa();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x412808{[_0x5ca5b3(0x194)];[_0x5ca5b3(0x172)];[_0x5ca5b3(0x17a)];[_0x5ca5b3(0x193)];[_0x5ca5b3(0x18c)];constructor(_0x1c9a92,_0x504096,_0x4e2fe7){const _0x3dee2c=_0x5ca5b3;super(_0x1c9a92),this[_0x3dee2c(0x194)]=this[_0x3dee2c(0x185)](),this[_0x3dee2c(0x172)]=new _0x4141e4(_0x1c9a92),this[_0x3dee2c(0x17a)]=new _0x3bd13f(_0x1c9a92),this[_0x3dee2c(0x193)]=new _0x356e41(_0x1c9a92,_0x4e2fe7),this[_0x3dee2c(0x18c)]=new _0x3404fe(_0x1c9a92),this[_0x3dee2c(0x18c)][_0x3dee2c(0x1a7)](this[_0x3dee2c(0x1a2)]()),this[_0x3dee2c(0x196)](_0x3dee2c(0x18e),_0x504096),this[_0x3dee2c(0x1a7)]({'tag':_0x3dee2c(0x171),'attributes':{'class':['ck',_0x3dee2c(0x177),_0x3dee2c(0x179)],'tabindex':'-1'},'children':this[_0x3dee2c(0x194)]}),this[_0x3dee2c(0x17c)](),this[_0x3dee2c(0x19e)](_0x3dee2c(0x192),()=>{const _0x5c598b=_0x3dee2c;this[_0x5c598b(0x18a)](this[_0x5c598b(0x18b)],_0x76d6a9=>{const _0x194092=_0x5c598b;this[_0x194092(0x1a4)](_0x76d6a9);});}),this['on'](_0x3dee2c(0x199),()=>{const _0x1e7638=_0x3dee2c;this[_0x1e7638(0x17c)]();}),this[_0x3dee2c(0x189)]();}[_0x5ca5b3(0x19f)](){const _0x47d497=_0x5ca5b3;this[_0x47d497(0x18b)][_0x47d497(0x19f)]();}[_0x5ca5b3(0x17c)](){const _0x107647=_0x5ca5b3;switch(this[_0x107647(0x194)][_0x107647(0x17b)](),this[_0x107647(0x18e)]){case _0x107647(0x17f):this[_0x107647(0x194)][_0x107647(0x187)](this[_0x107647(0x172)]);break;case _0x107647(0x174):this[_0x107647(0x194)][_0x107647(0x187)](this[_0x107647(0x17a)]);break;case _0x107647(0x175):this[_0x107647(0x194)][_0x107647(0x19d)]([this[_0x107647(0x193)],this[_0x107647(0x18c)]]);}}[_0x5ca5b3(0x18a)](_0x28357c,_0x253769){const _0x2c8b1c=_0x5ca5b3,_0x267b71=_0x2c8b1c(0x183),_0x581d9e=_0x28357c[_0x2c8b1c(0x180)](_0x267b71);if(_0x581d9e)return _0x253769(_0x581d9e);const _0x13c023=new MutationObserver(_0x4a8c8f=>{const _0x2f4014=_0x2c8b1c,_0x35711f=_0x4a8c8f[_0x2f4014(0x188)](_0x5661de=>_0x5661de[_0x2f4014(0x1a5)]===_0x28357c&&_0x5661de[_0x2f4014(0x195)][_0x2f4014(0x181)]>0x0&&_0x5661de[_0x2f4014(0x195)][0x0][_0x2f4014(0x1a6)][_0x2f4014(0x18f)]()===_0x267b71);_0x35711f[_0x2f4014(0x181)]&&(_0x13c023[_0x2f4014(0x17d)](),_0x253769(_0x35711f[0x0][_0x2f4014(0x195)][0x0]));});_0x13c023[_0x2c8b1c(0x19c)](_0x28357c,{'childList':!0x0,'subtree':!0x0});}[_0x5ca5b3(0x1a4)](_0xd4b7d8){const _0x3a5d76=_0x5ca5b3;_0xd4b7d8[_0x3a5d76(0x170)](_0x3a5d76(0x186),_0x2be8c3=>{const _0x1d33ac=_0x3a5d76;this[_0x1d33ac(0x18d)](_0x1d33ac(0x186),{'imageSrc':_0x2be8c3[_0x1d33ac(0x198)][_0x1d33ac(0x197)]});}),_0xd4b7d8[_0x3a5d76(0x170)](_0x3a5d76(0x178),()=>{const _0x1ef2fc=_0x3a5d76;this[_0x1ef2fc(0x18d)](_0x1ef2fc(0x178));});}[_0x5ca5b3(0x189)](){const _0x320964=_0x5ca5b3;this[_0x320964(0x17a)]['on'](_0x320964(0x19a),()=>{const _0x3b41f3=_0x320964;this[_0x3b41f3(0x18d)](_0x3b41f3(0x19a));});}}
23
+ const _0x3a71bc=_0x1f56;function _0xd875(){const _0x393a04=['set','223150xOnDxo','length','toLowerCase','add','setTemplate','cdnUrl','target','querySelector','10362PjKpjW','element','_errorView','_items','addEventListener','once','render','1456098pNDltt','uc-cloud-image-editor','9WMbclj','714169CkSMDW','_editingView','clear','addMany','_loadingView','uploading','1026825uHiGoV','ck-reset_all-excluded','status','apply','_waitForImageEditorComponent','2343112KybkCX','325132QdvMxn','ck-uploadcare-form','nodeName','error','detail','createCollection','change:status','getFocusableElement','_addUploadcareImageEditorListeners','fire','observe','ready','retry','cancel','_setView','_addErrorViewListeners','div','focus','addedNodes','_focusableView','940xkWmGD','24ZRtPKw','filter','disconnect','6rRQtIg'];_0xd875=function(){return _0x393a04;};return _0xd875();}(function(_0x4ce33b,_0x49b8c8){const _0x33e9b2=_0x1f56,_0x178de3=_0x4ce33b();while(!![]){try{const _0x3cad54=-parseInt(_0x33e9b2(0x160))/0x1+parseInt(_0x33e9b2(0x14e))/0x2+parseInt(_0x33e9b2(0x14c))/0x3*(parseInt(_0x33e9b2(0x16c))/0x4)+-parseInt(_0x33e9b2(0x166))/0x5*(-parseInt(_0x33e9b2(0x149))/0x6)+-parseInt(_0x33e9b2(0x15d))/0x7+parseInt(_0x33e9b2(0x16b))/0x8*(parseInt(_0x33e9b2(0x15f))/0x9)+-parseInt(_0x33e9b2(0x148))/0xa*(-parseInt(_0x33e9b2(0x156))/0xb);if(_0x3cad54===_0x49b8c8)break;else _0x178de3['push'](_0x178de3['shift']());}catch(_0x54624e){_0x178de3['push'](_0x178de3['shift']());}}}(_0xd875,0x87767));import{View as _0x45da4b}from'ckeditor5/src/ui.js';function _0x1f56(_0x261cab,_0x11034e){const _0xd87585=_0xd875();return _0x1f56=function(_0x1f56ee,_0x20aab9){_0x1f56ee=_0x1f56ee-0x140;let _0x52ce7b=_0xd87585[_0x1f56ee];return _0x52ce7b;},_0x1f56(_0x261cab,_0x11034e);}import{UploadcareImageEditFormLoadingView as _0x28ba61}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1fc50e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5bffc5}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x169aa9}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x169aa9{[_0x3a71bc(0x159)];[_0x3a71bc(0x164)];[_0x3a71bc(0x158)];[_0x3a71bc(0x161)];[_0x3a71bc(0x147)];constructor(_0x4699b1,_0x376d1f,_0x1a0f5e){const _0x23bfe5=_0x3a71bc;super(_0x4699b1),this[_0x23bfe5(0x159)]=this[_0x23bfe5(0x171)](),this[_0x23bfe5(0x164)]=new _0x28ba61(_0x4699b1),this[_0x23bfe5(0x158)]=new _0x1fc50e(_0x4699b1),this[_0x23bfe5(0x161)]=new _0x5bffc5(_0x4699b1,_0x1a0f5e),this[_0x23bfe5(0x147)]=new _0x45da4b(_0x4699b1),this[_0x23bfe5(0x147)][_0x23bfe5(0x152)](this[_0x23bfe5(0x173)]()),this[_0x23bfe5(0x14d)](_0x23bfe5(0x168),_0x376d1f),this[_0x23bfe5(0x152)]({'tag':_0x23bfe5(0x144),'attributes':{'class':['ck',_0x23bfe5(0x167),_0x23bfe5(0x16d)],'tabindex':'-1'},'children':this[_0x23bfe5(0x159)]}),this[_0x23bfe5(0x142)](),this[_0x23bfe5(0x15b)](_0x23bfe5(0x15c),()=>{const _0x1713f3=_0x23bfe5;this[_0x1713f3(0x16a)](this[_0x1713f3(0x157)],_0xd3faf0=>{const _0x41f6ad=_0x1713f3;this[_0x41f6ad(0x174)](_0xd3faf0);});}),this['on'](_0x23bfe5(0x172),()=>{const _0x58797a=_0x23bfe5;this[_0x58797a(0x142)]();}),this[_0x23bfe5(0x143)]();}[_0x3a71bc(0x145)](){const _0xc3a7d1=_0x3a71bc;this[_0xc3a7d1(0x157)][_0xc3a7d1(0x145)]();}[_0x3a71bc(0x142)](){const _0x3df3aa=_0x3a71bc;switch(this[_0x3df3aa(0x159)][_0x3df3aa(0x162)](),this[_0x3df3aa(0x168)]){case _0x3df3aa(0x165):this[_0x3df3aa(0x159)][_0x3df3aa(0x151)](this[_0x3df3aa(0x164)]);break;case _0x3df3aa(0x16f):this[_0x3df3aa(0x159)][_0x3df3aa(0x151)](this[_0x3df3aa(0x158)]);break;case _0x3df3aa(0x177):this[_0x3df3aa(0x159)][_0x3df3aa(0x163)]([this[_0x3df3aa(0x161)],this[_0x3df3aa(0x147)]]);}}[_0x3a71bc(0x16a)](_0x43dc5e,_0x4e9ac5){const _0x20473d=_0x3a71bc,_0x1c8f6b=_0x20473d(0x15e),_0x401756=_0x43dc5e[_0x20473d(0x155)](_0x1c8f6b);if(_0x401756)return _0x4e9ac5(_0x401756);const _0x20743d=new MutationObserver(_0x2cbc6f=>{const _0x37a6ec=_0x20473d,_0x1da50c=_0x2cbc6f[_0x37a6ec(0x14a)](_0x2cef17=>_0x2cef17[_0x37a6ec(0x154)]===_0x43dc5e&&_0x2cef17[_0x37a6ec(0x146)][_0x37a6ec(0x14f)]>0x0&&_0x2cef17[_0x37a6ec(0x146)][0x0][_0x37a6ec(0x16e)][_0x37a6ec(0x150)]()===_0x1c8f6b);_0x1da50c[_0x37a6ec(0x14f)]&&(_0x20743d[_0x37a6ec(0x14b)](),_0x4e9ac5(_0x1da50c[0x0][_0x37a6ec(0x146)][0x0]));});_0x20743d[_0x20473d(0x176)](_0x43dc5e,{'childList':!0x0,'subtree':!0x0});}[_0x3a71bc(0x174)](_0x58a220){const _0x373dac=_0x3a71bc;_0x58a220[_0x373dac(0x15a)](_0x373dac(0x169),_0x2f35c8=>{const _0x14e3ab=_0x373dac;this[_0x14e3ab(0x175)](_0x14e3ab(0x169),{'imageSrc':_0x2f35c8[_0x14e3ab(0x170)][_0x14e3ab(0x153)]});}),_0x58a220[_0x373dac(0x15a)](_0x373dac(0x141),()=>{const _0x4e0fe1=_0x373dac;this[_0x4e0fe1(0x175)](_0x4e0fe1(0x141));});}[_0x3a71bc(0x143)](){const _0x5d7ddf=_0x3a71bc;this[_0x5d7ddf(0x158)]['on'](_0x5d7ddf(0x140),()=>{const _0x27df32=_0x5d7ddf;this[_0x27df32(0x175)](_0x27df32(0x140));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7874(_0x4365aa,_0x530d98){const _0xd76dc4=_0xd76d();return _0x7874=function(_0x78746b,_0x56081a){_0x78746b=_0x78746b-0x19c;let _0xf6ed64=_0xd76dc4[_0x78746b];return _0xf6ed64;},_0x7874(_0x4365aa,_0x530d98);}const _0x2075a7=_0x7874;(function(_0x33ec15,_0x107465){const _0x32276a=_0x7874,_0x5b35ef=_0x33ec15();while(!![]){try{const _0x551144=-parseInt(_0x32276a(0x1a4))/0x1+parseInt(_0x32276a(0x1a9))/0x2*(parseInt(_0x32276a(0x1b5))/0x3)+parseInt(_0x32276a(0x1b0))/0x4+parseInt(_0x32276a(0x1a7))/0x5+parseInt(_0x32276a(0x1b1))/0x6+-parseInt(_0x32276a(0x1a8))/0x7+-parseInt(_0x32276a(0x1b8))/0x8;if(_0x551144===_0x107465)break;else _0x5b35ef['push'](_0x5b35ef['shift']());}catch(_0x163e0b){_0x5b35ef['push'](_0x5b35ef['shift']());}}}(_0xd76d,0xe9b23));import{Command as _0x357ec6}from'ckeditor5/src/core.js';import{Dialog as _0x11acae}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3b23a1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x48a248}from'../utils/editingutils.js';function _0xd76d(){const _0x29535f=['unbind','imageInline','requires','1900484sdfQLa','6698592VhfHrA','getSelectedElement','editor','_isEditable','1031073OjwxNm','bind','element','19701992tInqFw','imageEditController','isEnabled','get','model','selection','refresh','document','config','imageBlock','104989YhkLSa','plugins','set','6286210sJIROm','78540NLFPib','4IvrhpI','uploadcare.allowExternalImagesEditing','execute','isActive'];_0xd76d=function(){return _0x29535f;};return _0xd76d();}export class UploadcareImageEditCommand extends _0x357ec6{[_0x2075a7(0x1b9)];static get[_0x2075a7(0x1af)](){return[_0x11acae];}[_0x2075a7(0x1b4)];constructor(_0x3c8f23){const _0x38f243=_0x2075a7;super(_0x3c8f23),this[_0x38f243(0x1b9)]=void 0x0,this[_0x38f243(0x1b4)]=_0x48a248(_0x3c8f23[_0x38f243(0x1a2)][_0x38f243(0x19d)](_0x38f243(0x1aa))||[]),this[_0x38f243(0x1a6)]({'isActive':!0x1});}[_0x2075a7(0x1a0)](){const _0x56ea27=_0x2075a7,_0x4bc07a=this[_0x56ea27(0x1b3)][_0x56ea27(0x19e)][_0x56ea27(0x1a1)][_0x56ea27(0x19f)][_0x56ea27(0x1b2)]();this[_0x56ea27(0x19c)]=this[_0x56ea27(0x1b4)](_0x4bc07a);}[_0x2075a7(0x1ab)](){const _0x5eeb11=_0x2075a7;this[_0x5eeb11(0x1b9)]&&(this[_0x5eeb11(0x1ad)](_0x5eeb11(0x1ac)),this[_0x5eeb11(0x1b9)]=void 0x0);const _0x21dac7=this[_0x5eeb11(0x1b3)][_0x5eeb11(0x19e)][_0x5eeb11(0x1a1)][_0x5eeb11(0x19f)][_0x5eeb11(0x1b2)]();_0x21dac7&&(_0x21dac7['is'](_0x5eeb11(0x1b7),_0x5eeb11(0x1a3))||_0x21dac7['is'](_0x5eeb11(0x1b7),_0x5eeb11(0x1ae)))&&(this[_0x5eeb11(0x1b9)]=new _0x3b23a1(this[_0x5eeb11(0x1b3)],this[_0x5eeb11(0x1b3)][_0x5eeb11(0x1a5)][_0x5eeb11(0x19d)](_0x11acae),_0x21dac7),this[_0x5eeb11(0x1b6)](_0x5eeb11(0x1ac))['to'](this[_0x5eeb11(0x1b9)],_0x5eeb11(0x1ac)));}}
23
+ function _0x34c7(){const _0x5e8846=['element','bind','refresh','1121739mDBOyO','requires','4037478nLqIkZ','config','imageEditController','uploadcare.allowExternalImagesEditing','28536608sbQfoP','6781222uyGGwU','2314588YjwFgQ','_isEditable','document','isActive','2516405wlqFES','imageBlock','plugins','isEnabled','1237989nDeSqu','editor','selection','getSelectedElement','execute','set','model','unbind','8pLbCdq','get','imageInline'];_0x34c7=function(){return _0x5e8846;};return _0x34c7();}function _0x20e9(_0x306251,_0x23de0e){const _0x34c743=_0x34c7();return _0x20e9=function(_0x20e9df,_0x25cbd7){_0x20e9df=_0x20e9df-0xa2;let _0x2ef5d8=_0x34c743[_0x20e9df];return _0x2ef5d8;},_0x20e9(_0x306251,_0x23de0e);}const _0x5d9d43=_0x20e9;(function(_0x231117,_0x2ad900){const _0x5c85fc=_0x20e9,_0x2defac=_0x231117();while(!![]){try{const _0x2f48c6=-parseInt(_0x5c85fc(0xb4))/0x1+parseInt(_0x5c85fc(0xbc))/0x2+parseInt(_0x5c85fc(0xa6))/0x3*(-parseInt(_0x5c85fc(0xae))/0x4)+-parseInt(_0x5c85fc(0xa2))/0x5+-parseInt(_0x5c85fc(0xb6))/0x6+-parseInt(_0x5c85fc(0xbb))/0x7+parseInt(_0x5c85fc(0xba))/0x8;if(_0x2f48c6===_0x2ad900)break;else _0x2defac['push'](_0x2defac['shift']());}catch(_0x1f4478){_0x2defac['push'](_0x2defac['shift']());}}}(_0x34c7,0x9a62d));import{Command as _0x1e6774}from'ckeditor5/src/core.js';import{Dialog as _0x328ada}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2f8d08}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3943f9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1e6774{[_0x5d9d43(0xb8)];static get[_0x5d9d43(0xb5)](){return[_0x328ada];}[_0x5d9d43(0xbd)];constructor(_0x52062c){const _0x2d82e8=_0x5d9d43;super(_0x52062c),this[_0x2d82e8(0xb8)]=void 0x0,this[_0x2d82e8(0xbd)]=_0x3943f9(_0x52062c[_0x2d82e8(0xb7)][_0x2d82e8(0xaf)](_0x2d82e8(0xb9))||[]),this[_0x2d82e8(0xab)]({'isActive':!0x1});}[_0x5d9d43(0xb3)](){const _0x3a39de=_0x5d9d43,_0x197618=this[_0x3a39de(0xa7)][_0x3a39de(0xac)][_0x3a39de(0xbe)][_0x3a39de(0xa8)][_0x3a39de(0xa9)]();this[_0x3a39de(0xa5)]=this[_0x3a39de(0xbd)](_0x197618);}[_0x5d9d43(0xaa)](){const _0x9b0726=_0x5d9d43;this[_0x9b0726(0xb8)]&&(this[_0x9b0726(0xad)](_0x9b0726(0xbf)),this[_0x9b0726(0xb8)]=void 0x0);const _0x2f1987=this[_0x9b0726(0xa7)][_0x9b0726(0xac)][_0x9b0726(0xbe)][_0x9b0726(0xa8)][_0x9b0726(0xa9)]();_0x2f1987&&(_0x2f1987['is'](_0x9b0726(0xb1),_0x9b0726(0xa3))||_0x2f1987['is'](_0x9b0726(0xb1),_0x9b0726(0xb0)))&&(this[_0x9b0726(0xb8)]=new _0x2f8d08(this[_0x9b0726(0xa7)],this[_0x9b0726(0xa7)][_0x9b0726(0xa4)][_0x9b0726(0xaf)](_0x328ada),_0x2f1987),this[_0x9b0726(0xb2)](_0x9b0726(0xbf))['to'](this[_0x9b0726(0xb8)],_0x9b0726(0xbf)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36cf28=_0x46fb;(function(_0x3ef526,_0x2adc32){const _0x3ea3e2=_0x46fb,_0x1050cc=_0x3ef526();while(!![]){try{const _0x14584b=parseInt(_0x3ea3e2(0x10b))/0x1+-parseInt(_0x3ea3e2(0xf5))/0x2+-parseInt(_0x3ea3e2(0x10a))/0x3+parseInt(_0x3ea3e2(0x108))/0x4*(parseInt(_0x3ea3e2(0x101))/0x5)+parseInt(_0x3ea3e2(0xfe))/0x6*(parseInt(_0x3ea3e2(0xff))/0x7)+-parseInt(_0x3ea3e2(0x106))/0x8*(-parseInt(_0x3ea3e2(0xfd))/0x9)+-parseInt(_0x3ea3e2(0xf7))/0xa*(-parseInt(_0x3ea3e2(0x107))/0xb);if(_0x14584b===_0x2adc32)break;else _0x1050cc['push'](_0x1050cc['shift']());}catch(_0x232cfc){_0x1050cc['push'](_0x1050cc['shift']());}}}(_0xddf6,0xc6c7a));import{Plugin as _0x3f244c}from'ckeditor5/src/core.js';function _0x46fb(_0x176482,_0x122448){const _0xddf68d=_0xddf6();return _0x46fb=function(_0x46fb52,_0x332745){_0x46fb52=_0x46fb52-0xf5;let _0x5f53d3=_0xddf68d[_0x46fb52];return _0x5f53d3;},_0x46fb(_0x176482,_0x122448);}import{Notification as _0x4c193f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x378d34}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4ace19}from'./uploadcareimagereplacecommand.js';function _0xddf6(){const _0x16e7bc=['add','ImageUtils','isPremiumPlugin','24cVnBFz','11IvPsgq','2657692jcsqXL','requires','3405510cQqxHs','62182JAUruH','1685164tYtwKN','init','10745870osQwrL','commands','uploadcareImageEdit','ImageEditing','isOfficialPlugin','uploadcareImageReplace','1764405zvTYDn','2415762dqKHIg','7WJFrMz','pluginName','5IxhntM','UploadcareImageEditEditing'];_0xddf6=function(){return _0x16e7bc;};return _0xddf6();}import{UploadcareEditing as _0x58ccf4}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3f244c{static get[_0x36cf28(0x100)](){const _0x18791c=_0x36cf28;return _0x18791c(0x102);}static get[_0x36cf28(0x109)](){const _0x3b07e7=_0x36cf28;return[_0x58ccf4,_0x4c193f,_0x3b07e7(0x104),_0x3b07e7(0xfa)];}static get[_0x36cf28(0xfb)](){return!0x0;}static get[_0x36cf28(0x105)](){return!0x0;}[_0x36cf28(0xf6)](){const _0x563e25=_0x36cf28,{editor:_0x3affad}=this;_0x3affad[_0x563e25(0xf8)][_0x563e25(0x103)](_0x563e25(0xf9),new _0x378d34(_0x3affad)),_0x3affad[_0x563e25(0xf8)][_0x563e25(0x103)](_0x563e25(0xfc),new _0x4ace19(_0x3affad));}}
23
+ const _0x438a02=_0xdc01;(function(_0x3868b0,_0x255374){const _0x2b1e57=_0xdc01,_0x254ceb=_0x3868b0();while(!![]){try{const _0x2b385a=parseInt(_0x2b1e57(0x202))/0x1*(-parseInt(_0x2b1e57(0x1fd))/0x2)+-parseInt(_0x2b1e57(0x1fb))/0x3+parseInt(_0x2b1e57(0x1fc))/0x4+-parseInt(_0x2b1e57(0x1ff))/0x5+parseInt(_0x2b1e57(0x200))/0x6+parseInt(_0x2b1e57(0x203))/0x7+parseInt(_0x2b1e57(0x1fa))/0x8;if(_0x2b385a===_0x255374)break;else _0x254ceb['push'](_0x254ceb['shift']());}catch(_0x4ccedd){_0x254ceb['push'](_0x254ceb['shift']());}}}(_0x5b5b,0xd9c61));import{Plugin as _0x6bfb65}from'ckeditor5/src/core.js';import{Notification as _0x38c5c3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x27b624}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x123c83}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x81e7c}from'../uploadcareediting.js';function _0xdc01(_0x98544b,_0x2c63a7){const _0x5b5b4c=_0x5b5b();return _0xdc01=function(_0xdc014b,_0x3c8d5f){_0xdc014b=_0xdc014b-0x1f2;let _0x245b29=_0x5b5b4c[_0xdc014b];return _0x245b29;},_0xdc01(_0x98544b,_0x2c63a7);}function _0x5b5b(){const _0xffc533=['requires','ImageEditing','ImageUtils','UploadcareImageEditEditing','init','isPremiumPlugin','1612376wwFbeK','1581867CMYbIM','4987664qRZWMn','1094jsMMoq','uploadcareImageEdit','8702420TbPhzD','4867182nQnUDY','pluginName','1493UAqcVf','12017495YuXGhN','isOfficialPlugin','commands','add','uploadcareImageReplace'];_0x5b5b=function(){return _0xffc533;};return _0x5b5b();}export class UploadcareImageEditEditing extends _0x6bfb65{static get[_0x438a02(0x201)](){const _0x433001=_0x438a02;return _0x433001(0x1f7);}static get[_0x438a02(0x1f4)](){const _0x14d878=_0x438a02;return[_0x81e7c,_0x38c5c3,_0x14d878(0x1f6),_0x14d878(0x1f5)];}static get[_0x438a02(0x204)](){return!0x0;}static get[_0x438a02(0x1f9)](){return!0x0;}[_0x438a02(0x1f8)](){const _0x71b8a=_0x438a02,{editor:_0x3f8fbe}=this;_0x3f8fbe[_0x71b8a(0x205)][_0x71b8a(0x1f2)](_0x71b8a(0x1fe),new _0x27b624(_0x3f8fbe)),_0x3f8fbe[_0x71b8a(0x205)][_0x71b8a(0x1f2)](_0x71b8a(0x1f3),new _0x123c83(_0x3f8fbe));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1d7fa3}from'ckeditor5/src/core.js';import{ButtonView as _0x4495b0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5f3898}from'ckeditor5/src/icons.js';import{createElement as _0x358bfa}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 _0x1d7fa3{['_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 _0x2ad09c=this['editor'];_0x2ad09c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2033fb=>{const _0x3a8be9=_0x2ad09c['commands']['get']('uploadcareImageEdit'),_0x317833=new _0x4495b0(_0x2033fb),t=_0x2033fb['t'];return _0x317833['set']({'icon':_0x5f3898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x317833['bind']('isEnabled')['to'](_0x3a8be9),_0x317833['bind']('isOn')['to'](_0x3a8be9,'isActive'),this['listenTo'](_0x317833,'execute',()=>{_0x2ad09c['execute']('uploadcareImageEdit'),_0x2ad09c['editing']['view']['focus']();}),_0x317833;}),this['_initConfig']();}['_initConfig'](){const _0x55f4c3=_0x358bfa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55f4c3),this['listenTo'](this['editor'],'destroy',()=>{_0x55f4c3['remove']();});}}
23
+ import{Plugin as _0x3b7517}from'ckeditor5/src/core.js';import{ButtonView as _0xb0644c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x391331}from'ckeditor5/src/icons.js';import{createElement as _0x55ddf6}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 _0x3b7517{['_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 _0x3fe6aa=this['editor'];_0x3fe6aa['ui']['componentFactory']['add']('uploadcareImageEdit',_0x426166=>{const _0x5ba889=_0x3fe6aa['commands']['get']('uploadcareImageEdit'),_0x1f5df6=new _0xb0644c(_0x426166),t=_0x426166['t'];return _0x1f5df6['set']({'icon':_0x391331,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f5df6['bind']('isEnabled')['to'](_0x5ba889),_0x1f5df6['bind']('isOn')['to'](_0x5ba889,'isActive'),this['listenTo'](_0x1f5df6,'execute',()=>{_0x3fe6aa['execute']('uploadcareImageEdit'),_0x3fe6aa['editing']['view']['focus']();}),_0x1f5df6;}),this['_initConfig']();}['_initConfig'](){const _0x32f83f=_0x55ddf6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32f83f),this['listenTo'](this['editor'],'destroy',()=>{_0x32f83f['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1463d5=_0xd7f6;(function(_0x814a3e,_0x32262d){const _0x531143=_0xd7f6,_0x1740d3=_0x814a3e();while(!![]){try{const _0x4de30e=parseInt(_0x531143(0x13b))/0x1*(-parseInt(_0x531143(0x137))/0x2)+-parseInt(_0x531143(0x13e))/0x3+-parseInt(_0x531143(0x125))/0x4*(-parseInt(_0x531143(0x131))/0x5)+-parseInt(_0x531143(0x12c))/0x6+-parseInt(_0x531143(0x12f))/0x7+parseInt(_0x531143(0x127))/0x8+parseInt(_0x531143(0x126))/0x9*(parseInt(_0x531143(0x132))/0xa);if(_0x4de30e===_0x32262d)break;else _0x1740d3['push'](_0x1740d3['shift']());}catch(_0x4ea9ae){_0x1740d3['push'](_0x1740d3['shift']());}}}(_0x24b7,0xacb10));import{Command as _0x52977a}from'ckeditor5/src/core.js';function _0xd7f6(_0x398af4,_0x3c9181){const _0x24b767=_0x24b7();return _0xd7f6=function(_0xd7f62c,_0x520645){_0xd7f62c=_0xd7f62c-0x125;let _0x4facf8=_0x24b767[_0xd7f62c];return _0x4facf8;},_0xd7f6(_0x398af4,_0x3c9181);}function _0x24b7(){const _0x404031=['document','1375sAqMPm','50CNzErh','getSelectedElement','isEnabled','imageInline','element','722410QkYFjR','sizes','change','selection','1RQbyuj','model','removeAttribute','934581LrpRBi','18332dIhyTQ','1274427GxwNIn','9355672mXozpN','refresh','execute','srcset','editor','8123910bYALdf','setAttributes','imageBlock','2826166nSsQqF'];_0x24b7=function(){return _0x404031;};return _0x24b7();}export class UploadcareImageReplaceCommand extends _0x52977a{[_0x1463d5(0x128)](){const _0x5bf1da=_0x1463d5,_0xb6565e=this[_0x5bf1da(0x12b)][_0x5bf1da(0x13c)][_0x5bf1da(0x130)][_0x5bf1da(0x13a)][_0x5bf1da(0x133)]();this[_0x5bf1da(0x134)]=Boolean(_0xb6565e&&(_0xb6565e['is'](_0x5bf1da(0x136),_0x5bf1da(0x12e))||_0xb6565e['is'](_0x5bf1da(0x136),_0x5bf1da(0x135))));}[_0x1463d5(0x129)](_0x458676){const _0x30f800=_0x1463d5,_0xef0076=this[_0x30f800(0x12b)][_0x30f800(0x13c)][_0x30f800(0x130)][_0x30f800(0x13a)][_0x30f800(0x133)]();this[_0x30f800(0x12b)][_0x30f800(0x13c)][_0x30f800(0x139)](_0x386d74=>{const _0x314757=_0x30f800;_0x386d74[_0x314757(0x12d)](_0x458676,_0xef0076),_0x386d74[_0x314757(0x13d)](_0x314757(0x12a),_0xef0076),_0x386d74[_0x314757(0x13d)](_0x314757(0x138),_0xef0076);});}}
23
+ function _0x1454(_0x21fce7,_0x1ab2f5){const _0x56abd9=_0x56ab();return _0x1454=function(_0x145488,_0x587f53){_0x145488=_0x145488-0xd9;let _0x18eb1b=_0x56abd9[_0x145488];return _0x18eb1b;},_0x1454(_0x21fce7,_0x1ab2f5);}function _0x56ab(){const _0x1a5e49=['221bFqNpH','getSelectedElement','372559HBTahw','705214hvKDwI','removeAttribute','181768lFgIEm','60cXVVzM','isEnabled','225RqXxhE','imageBlock','document','3MWCZbw','refresh','5678099TESZci','10705DKsarA','setAttributes','310164cayXMy','model','execute','element','1172YJAQkD','srcset','editor','sizes','selection','change','6wcFDor','310304eMYbFQ','imageInline'];_0x56ab=function(){return _0x1a5e49;};return _0x56ab();}const _0x2bb6e0=_0x1454;(function(_0x4349ef,_0xc8289c){const _0x32269c=_0x1454,_0x2d1bc8=_0x4349ef();while(!![]){try{const _0x5822c4=-parseInt(_0x32269c(0xe3))/0x1+parseInt(_0x32269c(0xe8))/0x2*(-parseInt(_0x32269c(0xf0))/0x3)+parseInt(_0x32269c(0xdc))/0x4*(parseInt(_0x32269c(0xf3))/0x5)+parseInt(_0x32269c(0xe2))/0x6*(parseInt(_0x32269c(0xf2))/0x7)+-parseInt(_0x32269c(0xea))/0x8*(parseInt(_0x32269c(0xed))/0x9)+parseInt(_0x32269c(0xeb))/0xa*(-parseInt(_0x32269c(0xe7))/0xb)+parseInt(_0x32269c(0xf5))/0xc*(parseInt(_0x32269c(0xe5))/0xd);if(_0x5822c4===_0xc8289c)break;else _0x2d1bc8['push'](_0x2d1bc8['shift']());}catch(_0x5ec5b7){_0x2d1bc8['push'](_0x2d1bc8['shift']());}}}(_0x56ab,0x6c547));import{Command as _0x341d80}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x341d80{[_0x2bb6e0(0xf1)](){const _0x188328=_0x2bb6e0,_0x1c5b66=this[_0x188328(0xde)][_0x188328(0xd9)][_0x188328(0xef)][_0x188328(0xe0)][_0x188328(0xe6)]();this[_0x188328(0xec)]=Boolean(_0x1c5b66&&(_0x1c5b66['is'](_0x188328(0xdb),_0x188328(0xee))||_0x1c5b66['is'](_0x188328(0xdb),_0x188328(0xe4))));}[_0x2bb6e0(0xda)](_0x30d8f7){const _0x3f9992=_0x2bb6e0,_0x1119a1=this[_0x3f9992(0xde)][_0x3f9992(0xd9)][_0x3f9992(0xef)][_0x3f9992(0xe0)][_0x3f9992(0xe6)]();this[_0x3f9992(0xde)][_0x3f9992(0xd9)][_0x3f9992(0xe1)](_0x4dbe1f=>{const _0x35b7ea=_0x3f9992;_0x4dbe1f[_0x35b7ea(0xf4)](_0x30d8f7,_0x1119a1),_0x4dbe1f[_0x35b7ea(0xe9)](_0x35b7ea(0xdd),_0x1119a1),_0x4dbe1f[_0x35b7ea(0xe9)](_0x35b7ea(0xdf),_0x1119a1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ea547=_0x4bc9;(function(_0x4469f4,_0x8348f2){var _0x3bd47e=_0x4bc9,_0x2bbf38=_0x4469f4();while(!![]){try{var _0x46ac43=parseInt(_0x3bd47e(0xed))/0x1+-parseInt(_0x3bd47e(0xe8))/0x2*(parseInt(_0x3bd47e(0xec))/0x3)+parseInt(_0x3bd47e(0xf4))/0x4*(parseInt(_0x3bd47e(0xf2))/0x5)+-parseInt(_0x3bd47e(0xeb))/0x6+parseInt(_0x3bd47e(0xe9))/0x7*(-parseInt(_0x3bd47e(0xf1))/0x8)+-parseInt(_0x3bd47e(0xf0))/0x9+parseInt(_0x3bd47e(0xee))/0xa;if(_0x46ac43===_0x8348f2)break;else _0x2bbf38['push'](_0x2bbf38['shift']());}catch(_0x1b6733){_0x2bbf38['push'](_0x2bbf38['shift']());}}}(_0xd79c,0xe8c37));import{Plugin as _0x546cdc}from'ckeditor5/src/core.js';function _0xd79c(){var _0x2d4fe2=['requires','5714430uyeOpz','27TxRbSX','7870JhRJJc','34902550nCzhUd','isPremiumPlugin','12187746QRnSeV','5003952QGVSIf','1846960jriErk','UploadcareImageEdit','20CJtskp','pluginName','isOfficialPlugin','324354GYiSCX','7TBqGAS'];_0xd79c=function(){return _0x2d4fe2;};return _0xd79c();}function _0x4bc9(_0x5c9b62,_0x3ff9de){var _0xd79ccf=_0xd79c();return _0x4bc9=function(_0x4bc9b9,_0x528c61){_0x4bc9b9=_0x4bc9b9-0xe6;var _0x5f3c09=_0xd79ccf[_0x4bc9b9];return _0x5f3c09;},_0x4bc9(_0x5c9b62,_0x3ff9de);}import{UploadcareImageEditEditing as _0x495528}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2769cd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x546cdc{static get[_0x5ea547(0xe6)](){var _0x28335e=_0x5ea547;return _0x28335e(0xf3);}static get[_0x5ea547(0xea)](){return[_0x495528,_0x2769cd];}static get[_0x5ea547(0xe7)](){return!0x0;}static get[_0x5ea547(0xef)](){return!0x0;}}
23
+ var _0x2bbdd5=_0x3760;(function(_0x4316b4,_0x2de23c){var _0x2678c5=_0x3760,_0x3c536b=_0x4316b4();while(!![]){try{var _0xa0f440=parseInt(_0x2678c5(0x19e))/0x1+parseInt(_0x2678c5(0x19b))/0x2+parseInt(_0x2678c5(0x19a))/0x3*(parseInt(_0x2678c5(0x192))/0x4)+parseInt(_0x2678c5(0x194))/0x5*(-parseInt(_0x2678c5(0x197))/0x6)+-parseInt(_0x2678c5(0x196))/0x7*(parseInt(_0x2678c5(0x198))/0x8)+-parseInt(_0x2678c5(0x19d))/0x9+parseInt(_0x2678c5(0x191))/0xa;if(_0xa0f440===_0x2de23c)break;else _0x3c536b['push'](_0x3c536b['shift']());}catch(_0x35e021){_0x3c536b['push'](_0x3c536b['shift']());}}}(_0x4957,0xda810));import{Plugin as _0x17d07c}from'ckeditor5/src/core.js';function _0x4957(){var _0x3fdb17=['12SgdITm','2652792QVkXos','UploadcareImageEdit','18BGLrWP','427834OGdSkv','requires','3695652oNKeCp','1010881gfFvWm','isOfficialPlugin','9145340FMvDPe','413344YCoaSS','pluginName','1976325RgrpxQ','isPremiumPlugin','14uQsFlq'];_0x4957=function(){return _0x3fdb17;};return _0x4957();}import{UploadcareImageEditEditing as _0x4bddae}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x271b4b}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3760(_0x47837a,_0x362379){var _0x495746=_0x4957();return _0x3760=function(_0x3760e7,_0x41760a){_0x3760e7=_0x3760e7-0x191;var _0x5578fb=_0x495746[_0x3760e7];return _0x5578fb;},_0x3760(_0x47837a,_0x362379);}export class UploadcareImageEdit extends _0x17d07c{static get[_0x2bbdd5(0x193)](){var _0x5428a9=_0x2bbdd5;return _0x5428a9(0x199);}static get[_0x2bbdd5(0x19c)](){return[_0x4bddae,_0x271b4b];}static get[_0x2bbdd5(0x19f)](){return!0x0;}static get[_0x2bbdd5(0x195)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24a81f=_0x439e;(function(_0x526c49,_0x3699b7){const _0x404a64=_0x439e,_0x5a8ce9=_0x526c49();while(!![]){try{const _0x31ccfe=-parseInt(_0x404a64(0x105))/0x1+parseInt(_0x404a64(0xfb))/0x2+parseInt(_0x404a64(0xfd))/0x3+-parseInt(_0x404a64(0x10b))/0x4+-parseInt(_0x404a64(0xf6))/0x5+-parseInt(_0x404a64(0xfe))/0x6*(parseInt(_0x404a64(0x10d))/0x7)+parseInt(_0x404a64(0xc7))/0x8;if(_0x31ccfe===_0x3699b7)break;else _0x5a8ce9['push'](_0x5a8ce9['shift']());}catch(_0x52423d){_0x5a8ce9['push'](_0x5a8ce9['shift']());}}}(_0x3c02,0x75d38));import{Plugin as _0x2e7489}from'ckeditor5/src/core.js';import{IconDropbox as _0x1d3d1d,IconFacebook as _0x55c817,IconGoogleDrive as _0x5954a4,IconGooglePhotos as _0x350a4b,IconUploadcareImageUpload as _0x487163,IconUploadcareLink as _0x4e39c2,IconOneDrive as _0x104911}from'ckeditor5/src/icons.js';function _0x439e(_0x40a0c9,_0x23e9ba){const _0x3c02d7=_0x3c02();return _0x439e=function(_0x439edd,_0x4d2f68){_0x439edd=_0x439edd-0xc7;let _0x49cdf6=_0x3c02d7[_0x439edd];return _0x49cdf6;},_0x439e(_0x40a0c9,_0x23e9ba);}import{ButtonView as _0x45d8d0,MenuBarMenuListItemButtonView as _0x1719e3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3755ed}from'./uploadcareconfig.js';import{getTranslation as _0x3da1f4}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3c02(){const _0x38b193=['uploadcareLicenseKeyExpired','_getIntegrationKey','Dropbox','destroy','has','GDrive','type','reduce','icon','Uploadcare','uploadcareLicenseKeyUsageLimit','push','isImageSelected','locale','forEach','isOfficialPlugin','commands','withText','uploadcareLicenseKeyInvalid','OneDrive','uploadcareLicenseKeyDomainLimit','execute','expired','isPremiumPlugin','uploadcare.uploader.sourceList','plugins','registerIntegration','Facebook','_licenseKeyCheckInterval','pluginName','uploadcareLicenseKeyEvaluationLimit','3996075lsumrY','get','UploadcareUI','upload','uploadcareLicenseKeyNotAllowed','1622154UWpKXT','featureNotAllowed','2495709kppAaP','728154zazhyq','map','evaluationLimit','_showLicenseError','shortText','assetManager','config','495690YmOMln','ImageInsertUI','Local','url','tooltip','uploadcareLicenseKeyTrialLimit','2984012uKGfRC','_normalizeConfigSourceList','7hemupF','usageLimit','Replace','_createDropdownButtons','afterInit','uploadcare','editor','domainLimit','text','8015224VCPrYv','_createButton','URL','entries','bind','trialLimit','invalid','GPhotos','licenseKey','uploadcareLicenseKeyValid','_createMenuBarButtons','Insert','label','init','_createToolbarButton','isEnabled'];_0x3c02=function(){return _0x38b193;};return _0x3c02();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e7489{[_0x24a81f(0xcf)];[_0x24a81f(0xf3)];static get[_0x24a81f(0xf4)](){const _0x262aa9=_0x24a81f;return _0x262aa9(0xf8);}static get[_0x24a81f(0xe6)](){return!0x0;}static get[_0x24a81f(0xee)](){return!0x0;}[_0x24a81f(0xd4)](){const _0x3a893f=_0x24a81f;this[_0x3a893f(0xcf)]=this[_0x3a893f(0x113)][_0x3a893f(0x104)][_0x3a893f(0xf7)](_0x3a893f(0xcf));const _0x4c6682=this[_0x3a893f(0x113)];this[_0x3a893f(0xf3)]=setInterval(()=>{const _0x163f48=_0x3a893f;let _0x5674f5;for(const _0xf30c4f in _0x4c6682){const _0x5322ca=_0xf30c4f,_0x52f5c9=_0x4c6682[_0x5322ca];if(_0x163f48(0xd0)==_0x52f5c9||_0x163f48(0xe9)==_0x52f5c9||_0x163f48(0xd7)==_0x52f5c9||_0x163f48(0xeb)==_0x52f5c9||_0x163f48(0xfa)==_0x52f5c9||_0x163f48(0xf5)==_0x52f5c9||_0x163f48(0x10a)==_0x52f5c9||_0x163f48(0xe1)==_0x52f5c9){delete _0x4c6682[_0x5322ca],_0x5674f5=_0x52f5c9,clearInterval(this[_0x163f48(0xf3)]),this[_0x163f48(0xf3)]=void 0x0;break;}}_0x163f48(0xe9)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xcd)),_0x163f48(0xd7)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xed)),_0x163f48(0xeb)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x114)),_0x163f48(0xfa)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xfc),_0x163f48(0xe0)),_0x163f48(0xf5)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x100)),_0x163f48(0x10a)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xcc)),_0x163f48(0xe1)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x10e));},0x3e8);}[_0x24a81f(0x111)](){const _0x13c70f=_0x24a81f,{editor:_0x279631}=this,_0x4aad76=_0x279631[_0x13c70f(0xe7)][_0x13c70f(0xf7)](_0x13c70f(0x112));if(!_0x4aad76)return;const _0x4012b4=this[_0x13c70f(0x10c)](_0x279631[_0x13c70f(0x104)][_0x13c70f(0xf7)](_0x13c70f(0xef)))[_0x13c70f(0xde)]((_0x3f7879,_0x4b07d0)=>{const _0x2136d6=_0x13c70f,_0x2bbfb0=this[_0x2136d6(0xd8)](_0x4b07d0[_0x2136d6(0xdd)]);return _0x3f7879[_0x2bbfb0]||(_0x3f7879[_0x2bbfb0]=[]),_0x3f7879[_0x2bbfb0][_0x2136d6(0xe2)](_0x4b07d0),_0x3f7879;},{});_0x279631[_0x13c70f(0xf0)][_0x13c70f(0xdb)](_0x13c70f(0x106))&&_0x279631[_0x13c70f(0xe7)][_0x13c70f(0xf7)](_0x13c70f(0x112))&&Object[_0x13c70f(0xca)](_0x4012b4)[_0x13c70f(0xe5)](([_0x466444,_0x40706a])=>{const _0x444e05=_0x13c70f;_0x279631[_0x444e05(0xf0)][_0x444e05(0xf7)](_0x444e05(0x106))[_0x444e05(0xf1)]({'name':_0x466444,'observable':()=>_0x4aad76,'buttonViewCreator':()=>this[_0x444e05(0xd5)](_0x40706a),'formViewCreator':()=>this[_0x444e05(0x110)](_0x40706a),'menuBarButtonViewCreator':()=>this[_0x444e05(0xd1)](_0x40706a),'override':_0x444e05(0x103)!==_0x466444});});}[_0x24a81f(0xda)](){const _0x533b12=_0x24a81f;super[_0x533b12(0xda)](),this[_0x533b12(0xf3)]&&clearInterval(this[_0x533b12(0xf3)]);}[_0x24a81f(0x10c)](_0x3ad2a3){const _0x576360=_0x24a81f,{locale:_0x23f68f}=this[_0x576360(0x113)];return _0x3ad2a3[_0x576360(0xff)](_0x3de904=>{const _0x51c0ea=_0x576360,_0x1764ab=_0x3da1f4(_0x23f68f,_0x3de904,_0x51c0ea(0xd2));switch(_0x3de904){case _0x3755ed[_0x51c0ea(0x107)]:return{'icon':_0x487163,'type':_0x3755ed[_0x51c0ea(0x107)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xc9)]:return{'icon':_0x4e39c2,'type':_0x3755ed[_0x51c0ea(0xc9)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xd9)]:return{'icon':_0x1d3d1d,'type':_0x3755ed[_0x51c0ea(0xd9)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xf2)]:return{'icon':_0x55c817,'type':_0x3755ed[_0x51c0ea(0xf2)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xdc)]:return{'icon':_0x5954a4,'type':_0x3755ed[_0x51c0ea(0xdc)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xce)]:return{'icon':_0x350a4b,'type':_0x3755ed[_0x51c0ea(0xce)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xea)]:return{'icon':_0x104911,'type':_0x3755ed[_0x51c0ea(0xea)],..._0x1764ab};}});}[_0x24a81f(0xd8)](_0x207167){const _0xe3617c=_0x24a81f;switch(_0x207167){case _0x3755ed[_0xe3617c(0x107)]:return _0xe3617c(0xf9);case _0x3755ed[_0xe3617c(0xc9)]:return _0xe3617c(0x108);default:return _0xe3617c(0x103);}}[_0x24a81f(0xc8)](_0x251e95,_0x4082e8){const _0x537b2c=_0x24a81f,_0x4a9fc7=this[_0x537b2c(0x113)],_0x52970b=new _0x251e95(_0x4a9fc7[_0x537b2c(0xe4)]),_0x2478b2=_0x4a9fc7[_0x537b2c(0xe7)][_0x537b2c(0xf7)](_0x537b2c(0x112));return _0x52970b[_0x537b2c(0xcb)](_0x537b2c(0xd6))['to'](_0x2478b2),_0x52970b['on'](_0x537b2c(0xec),()=>{const _0x2553c0=_0x537b2c;_0x2478b2[_0x2553c0(0xec)](_0x4082e8);}),_0x52970b;}[_0x24a81f(0xd5)](_0x2accc6){const _0x4c3b04=_0x24a81f,{locale:_0x4d0566}=this[_0x4c3b04(0x113)],_0x4f53cb=this[_0x4c3b04(0x113)][_0x4c3b04(0xf0)][_0x4c3b04(0xf7)](_0x4c3b04(0x106)),_0x541be8=_0x2accc6[0x0],_0x3dc843=this[_0x4c3b04(0xc8)](_0x45d8d0,_0x541be8[_0x4c3b04(0xdd)]);return _0x3dc843[_0x4c3b04(0xdf)]=_0x541be8[_0x4c3b04(0xdf)],_0x3dc843[_0x4c3b04(0xcb)](_0x4c3b04(0xd3))['to'](_0x4f53cb,_0x4c3b04(0xe3),_0x3ddbb0=>_0x3da1f4(_0x4d0566,_0x541be8[_0x4c3b04(0xdd)],_0x3ddbb0?_0x4c3b04(0x10f):_0x4c3b04(0xd2))[_0x4c3b04(0x115)]),_0x3dc843[_0x4c3b04(0x109)]=!0x0,_0x3dc843;}[_0x24a81f(0x110)](_0x12d1ec){const _0x25ec47=_0x24a81f,{locale:_0x1b132b}=this[_0x25ec47(0x113)],_0x750a2d=this[_0x25ec47(0x113)][_0x25ec47(0xf0)][_0x25ec47(0xf7)](_0x25ec47(0x106));return _0x12d1ec[_0x25ec47(0xff)](_0x1d6824=>{const _0x2e874=_0x25ec47,_0x51d312=this[_0x2e874(0xc8)](_0x45d8d0,_0x1d6824[_0x2e874(0xdd)]);return _0x51d312[_0x2e874(0xe8)]=!0x0,_0x51d312[_0x2e874(0xdf)]=_0x1d6824[_0x2e874(0xdf)],_0x51d312[_0x2e874(0xcb)](_0x2e874(0xd3))['to'](_0x750a2d,_0x2e874(0xe3),_0x25650f=>_0x3da1f4(_0x1b132b,_0x1d6824[_0x2e874(0xdd)],_0x25650f?_0x2e874(0x10f):_0x2e874(0xd2))[_0x2e874(0x115)]),_0x51d312;});}[_0x24a81f(0xd1)](_0x3fe471){const _0xa96b18=_0x24a81f;return _0x3fe471[_0xa96b18(0xff)](_0x2f52b1=>{const _0x4b17c2=_0xa96b18,_0x42018f=this[_0x4b17c2(0xc8)](_0x1719e3,_0x2f52b1[_0x4b17c2(0xdd)]);return _0x42018f[_0x4b17c2(0xdf)]=_0x2f52b1[_0x4b17c2(0xdf)],_0x42018f[_0x4b17c2(0xd3)]=_0x2f52b1[_0x4b17c2(0x102)],_0x42018f;});}}
23
+ const _0x4db623=_0xa86c;(function(_0x4a53d7,_0x1d3f4c){const _0x41a715=_0xa86c,_0x14e48b=_0x4a53d7();while(!![]){try{const _0x41c557=parseInt(_0x41a715(0xcf))/0x1*(-parseInt(_0x41a715(0xd6))/0x2)+parseInt(_0x41a715(0xe2))/0x3+-parseInt(_0x41a715(0xea))/0x4+-parseInt(_0x41a715(0xf9))/0x5+parseInt(_0x41a715(0xc9))/0x6+parseInt(_0x41a715(0xec))/0x7*(-parseInt(_0x41a715(0xe1))/0x8)+parseInt(_0x41a715(0xe5))/0x9;if(_0x41c557===_0x1d3f4c)break;else _0x14e48b['push'](_0x14e48b['shift']());}catch(_0x2411e9){_0x14e48b['push'](_0x14e48b['shift']());}}}(_0x49b9,0xb2479));import{Plugin as _0x294794}from'ckeditor5/src/core.js';function _0x49b9(){const _0x321085=['uploadcareLicenseKeyValid','shortText','url','type','uploadcareLicenseKeyUsageLimit','uploadcare.uploader.sourceList','has','6887360IYpTQE','OneDrive','UploadcareUI','isImageSelected','_getIntegrationKey','bind','icon','registerIntegration','Insert','ImageInsertUI','afterInit','init','_normalizeConfigSourceList','isEnabled','destroy','editor','plugins','text','Dropbox','URL','domainLimit','_createToolbarButton','get','assetManager','isOfficialPlugin','uploadcareLicenseKeyEvaluationLimit','GDrive','evaluationLimit','uploadcareLicenseKeyExpired','uploadcare','Facebook','_showLicenseError','1455054mUgzsd','reduce','Local','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','config','1093553qbSljE','expired','Replace','entries','_createMenuBarButtons','execute','tooltip','2HdBWTO','_createDropdownButtons','featureNotAllowed','licenseKey','forEach','_licenseKeyCheckInterval','usageLimit','pluginName','_createButton','uploadcareLicenseKeyNotAllowed','locale','40RCthVG','3461604WOYSsY','map','upload','38938905ApTuBK','isPremiumPlugin','uploadcareLicenseKeyInvalid','GPhotos','commands','5732736uChsYn','withText','1523872tijsxz','label','invalid','push','trialLimit','Uploadcare'];_0x49b9=function(){return _0x321085;};return _0x49b9();}import{IconDropbox as _0x2be2f6,IconFacebook as _0x23d120,IconGoogleDrive as _0x3797d6,IconGooglePhotos as _0x9df04d,IconUploadcareImageUpload as _0x12913b,IconUploadcareLink as _0x45a71b,IconOneDrive as _0x1ceb60}from'ckeditor5/src/icons.js';import{ButtonView as _0xb99a85,MenuBarMenuListItemButtonView as _0x45fef8}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xad88b1}from'./uploadcareconfig.js';import{getTranslation as _0x32e00b}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0xa86c(_0x5237cd,_0x4e659f){const _0x49b917=_0x49b9();return _0xa86c=function(_0xa86c63,_0x230d4d){_0xa86c63=_0xa86c63-0xbd;let _0xac94af=_0x49b917[_0xa86c63];return _0xac94af;},_0xa86c(_0x5237cd,_0x4e659f);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x294794{[_0x4db623(0xd9)];[_0x4db623(0xdb)];static get[_0x4db623(0xdd)](){const _0x22a1cc=_0x4db623;return _0x22a1cc(0xfb);}static get[_0x4db623(0xc1)](){return!0x0;}static get[_0x4db623(0xe6)](){return!0x0;}[_0x4db623(0x104)](){const _0x4826d4=_0x4db623;this[_0x4826d4(0xd9)]=this[_0x4826d4(0x108)][_0x4826d4(0xce)][_0x4826d4(0xbf)](_0x4826d4(0xd9));const _0x248e7b=this[_0x4826d4(0x108)];this[_0x4826d4(0xdb)]=setInterval(()=>{const _0x1d930f=_0x4826d4;let _0xdcd658;for(const _0x41718f in _0x248e7b){const _0x43d99a=_0x41718f,_0x3fdb28=_0x248e7b[_0x43d99a];if(_0x1d930f(0xf2)==_0x3fdb28||_0x1d930f(0xe7)==_0x3fdb28||_0x1d930f(0xc5)==_0x3fdb28||_0x1d930f(0xcc)==_0x3fdb28||_0x1d930f(0xdf)==_0x3fdb28||_0x1d930f(0xc2)==_0x3fdb28||_0x1d930f(0xcd)==_0x3fdb28||_0x1d930f(0xf6)==_0x3fdb28){delete _0x248e7b[_0x43d99a],_0xdcd658=_0x3fdb28,clearInterval(this[_0x1d930f(0xdb)]),this[_0x1d930f(0xdb)]=void 0x0;break;}}_0x1d930f(0xe7)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xee)),_0x1d930f(0xc5)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xd0)),_0x1d930f(0xcc)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xbd)),_0x1d930f(0xdf)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xd8),_0x1d930f(0xf1)),_0x1d930f(0xc2)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xc4)),_0x1d930f(0xcd)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xf0)),_0x1d930f(0xf6)==_0xdcd658&&_0x248e7b[_0x1d930f(0xc8)](_0x1d930f(0xdc));},0x3e8);}[_0x4db623(0x103)](){const _0xd7ecfe=_0x4db623,{editor:_0x152632}=this,_0xd87670=_0x152632[_0xd7ecfe(0xe9)][_0xd7ecfe(0xbf)](_0xd7ecfe(0xc6));if(!_0xd87670)return;const _0x2c4e94=this[_0xd7ecfe(0x105)](_0x152632[_0xd7ecfe(0xce)][_0xd7ecfe(0xbf)](_0xd7ecfe(0xf7)))[_0xd7ecfe(0xca)]((_0x3fd723,_0x1fa4c7)=>{const _0x177da9=_0xd7ecfe,_0xe9f123=this[_0x177da9(0xfd)](_0x1fa4c7[_0x177da9(0xf5)]);return _0x3fd723[_0xe9f123]||(_0x3fd723[_0xe9f123]=[]),_0x3fd723[_0xe9f123][_0x177da9(0xef)](_0x1fa4c7),_0x3fd723;},{});_0x152632[_0xd7ecfe(0x109)][_0xd7ecfe(0xf8)](_0xd7ecfe(0x102))&&_0x152632[_0xd7ecfe(0xe9)][_0xd7ecfe(0xbf)](_0xd7ecfe(0xc6))&&Object[_0xd7ecfe(0xd2)](_0x2c4e94)[_0xd7ecfe(0xda)](([_0x18a3e9,_0x459f1f])=>{const _0x544727=_0xd7ecfe;_0x152632[_0x544727(0x109)][_0x544727(0xbf)](_0x544727(0x102))[_0x544727(0x100)]({'name':_0x18a3e9,'observable':()=>_0xd87670,'buttonViewCreator':()=>this[_0x544727(0xbe)](_0x459f1f),'formViewCreator':()=>this[_0x544727(0xd7)](_0x459f1f),'menuBarButtonViewCreator':()=>this[_0x544727(0xd3)](_0x459f1f),'override':_0x544727(0xc0)!==_0x18a3e9});});}[_0x4db623(0x107)](){const _0x1404ab=_0x4db623;super[_0x1404ab(0x107)](),this[_0x1404ab(0xdb)]&&clearInterval(this[_0x1404ab(0xdb)]);}[_0x4db623(0x105)](_0x1fe681){const _0x5e9866=_0x4db623,{locale:_0x50d828}=this[_0x5e9866(0x108)];return _0x1fe681[_0x5e9866(0xe3)](_0x18e97b=>{const _0x19b6e1=_0x5e9866,_0x1b6e1a=_0x32e00b(_0x50d828,_0x18e97b,_0x19b6e1(0x101));switch(_0x18e97b){case _0xad88b1[_0x19b6e1(0xcb)]:return{'icon':_0x12913b,'type':_0xad88b1[_0x19b6e1(0xcb)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0x10c)]:return{'icon':_0x45a71b,'type':_0xad88b1[_0x19b6e1(0x10c)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0x10b)]:return{'icon':_0x2be2f6,'type':_0xad88b1[_0x19b6e1(0x10b)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0xc7)]:return{'icon':_0x23d120,'type':_0xad88b1[_0x19b6e1(0xc7)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0xc3)]:return{'icon':_0x3797d6,'type':_0xad88b1[_0x19b6e1(0xc3)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0xe8)]:return{'icon':_0x9df04d,'type':_0xad88b1[_0x19b6e1(0xe8)],..._0x1b6e1a};case _0xad88b1[_0x19b6e1(0xfa)]:return{'icon':_0x1ceb60,'type':_0xad88b1[_0x19b6e1(0xfa)],..._0x1b6e1a};}});}[_0x4db623(0xfd)](_0x4cdc04){const _0x108558=_0x4db623;switch(_0x4cdc04){case _0xad88b1[_0x108558(0xcb)]:return _0x108558(0xe4);case _0xad88b1[_0x108558(0x10c)]:return _0x108558(0xf4);default:return _0x108558(0xc0);}}[_0x4db623(0xde)](_0x11f286,_0x4351de){const _0x514845=_0x4db623,_0x1bcf77=this[_0x514845(0x108)],_0x3051bf=new _0x11f286(_0x1bcf77[_0x514845(0xe0)]),_0x46494f=_0x1bcf77[_0x514845(0xe9)][_0x514845(0xbf)](_0x514845(0xc6));return _0x3051bf[_0x514845(0xfe)](_0x514845(0x106))['to'](_0x46494f),_0x3051bf['on'](_0x514845(0xd4),()=>{const _0x481422=_0x514845;_0x46494f[_0x481422(0xd4)](_0x4351de);}),_0x3051bf;}[_0x4db623(0xbe)](_0x2aa239){const _0x90413b=_0x4db623,{locale:_0x38af40}=this[_0x90413b(0x108)],_0x56c915=this[_0x90413b(0x108)][_0x90413b(0x109)][_0x90413b(0xbf)](_0x90413b(0x102)),_0xc13436=_0x2aa239[0x0],_0x206db9=this[_0x90413b(0xde)](_0xb99a85,_0xc13436[_0x90413b(0xf5)]);return _0x206db9[_0x90413b(0xff)]=_0xc13436[_0x90413b(0xff)],_0x206db9[_0x90413b(0xfe)](_0x90413b(0xed))['to'](_0x56c915,_0x90413b(0xfc),_0x49f969=>_0x32e00b(_0x38af40,_0xc13436[_0x90413b(0xf5)],_0x49f969?_0x90413b(0xd1):_0x90413b(0x101))[_0x90413b(0x10a)]),_0x206db9[_0x90413b(0xd5)]=!0x0,_0x206db9;}[_0x4db623(0xd7)](_0x1e34bd){const _0x271c66=_0x4db623,{locale:_0x50d7c4}=this[_0x271c66(0x108)],_0x317a67=this[_0x271c66(0x108)][_0x271c66(0x109)][_0x271c66(0xbf)](_0x271c66(0x102));return _0x1e34bd[_0x271c66(0xe3)](_0x8c9aae=>{const _0x3a06cf=_0x271c66,_0x5a0d72=this[_0x3a06cf(0xde)](_0xb99a85,_0x8c9aae[_0x3a06cf(0xf5)]);return _0x5a0d72[_0x3a06cf(0xeb)]=!0x0,_0x5a0d72[_0x3a06cf(0xff)]=_0x8c9aae[_0x3a06cf(0xff)],_0x5a0d72[_0x3a06cf(0xfe)](_0x3a06cf(0xed))['to'](_0x317a67,_0x3a06cf(0xfc),_0x3525dc=>_0x32e00b(_0x50d7c4,_0x8c9aae[_0x3a06cf(0xf5)],_0x3525dc?_0x3a06cf(0xd1):_0x3a06cf(0x101))[_0x3a06cf(0x10a)]),_0x5a0d72;});}[_0x4db623(0xd3)](_0x572984){const _0x14e2c8=_0x4db623;return _0x572984[_0x14e2c8(0xe3)](_0x1a2059=>{const _0x319707=_0x14e2c8,_0x3c1ceb=this[_0x319707(0xde)](_0x45fef8,_0x1a2059[_0x319707(0xf5)]);return _0x3c1ceb[_0x319707(0xff)]=_0x1a2059[_0x319707(0xff)],_0x3c1ceb[_0x319707(0xed)]=_0x1a2059[_0x319707(0xf3)],_0x3c1ceb;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x538c62}from'ckeditor5/src/core.js';import{FileRepository as _0x58c766}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3474f9}from'./uploadcareediting.js';import{UploadUtils as _0x38126f}from'./utils/uploadutils.js';import{getImageUrls as _0x2bd5dc}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x538c62{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x58c766,_0x3474f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x51c4a8=this['editor'];if(!!!_0x51c4a8['config']['get']('uploadcare'))return;_0x51c4a8['plugins']['get'](_0x58c766)['createUploadAdapter']=_0x4b56ea=>new k(_0x4b56ea,_0x51c4a8),_0x51c4a8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x389b50,{imageElement:_0x52b599,data:_0x44a4d2})=>{_0x51c4a8['model']['change'](_0x4fa332=>{_0x4fa332['setAttribute']('uploadcareImageId',_0x44a4d2['uploadcareImageId'],_0x52b599);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ad82b,_0xee070b){this['loader']=_0x5ad82b,this['editor']=_0xee070b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41feb1=await this['loader']['file'];return _0x38126f['upload']({'file':_0x41feb1,'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':_0x3ef8c3=>{_0x3ef8c3&&_0x3ef8c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ef8c3['value']);}})['then'](async _0x562ae1=>{const {imageFallbackUrl:_0x132d3c,imageSources:_0x55b9c6}=_0x2bd5dc(_0x562ae1['cdnUrl'],_0x562ae1['imageInfo']['width']);return{'uploadcareImageId':_0x562ae1['uuid'],'default':_0x132d3c,'sources':_0x55b9c6};})['catch'](()=>{const _0xea64b3=t('Cannot\x20upload\x20file:')+('\x20'+_0x41feb1['name']+'.');return Promise['reject'](_0xea64b3);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x463746}from'ckeditor5/src/core.js';import{FileRepository as _0x372fa5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4c89c1}from'./uploadcareediting.js';import{UploadUtils as _0x59b667}from'./utils/uploadutils.js';import{getImageUrls as _0x278726}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x463746{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x372fa5,_0x4c89c1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9ee4ab=this['editor'];if(!!!_0x9ee4ab['config']['get']('uploadcare'))return;_0x9ee4ab['plugins']['get'](_0x372fa5)['createUploadAdapter']=_0x17363e=>new k(_0x17363e,_0x9ee4ab),_0x9ee4ab['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1d1d7a,{imageElement:_0xac64d,data:_0x4b7e64})=>{_0x9ee4ab['model']['change'](_0x163ed9=>{_0x163ed9['setAttribute']('uploadcareImageId',_0x4b7e64['uploadcareImageId'],_0xac64d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1e0a5c,_0x166918){this['loader']=_0x1e0a5c,this['editor']=_0x166918,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37b48a=await this['loader']['file'];return _0x59b667['upload']({'file':_0x37b48a,'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':_0x5d7cb9=>{_0x5d7cb9&&_0x5d7cb9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d7cb9['value']);}})['then'](async _0x19282f=>{const {imageFallbackUrl:_0x5d8729,imageSources:_0x280f88}=_0x278726(_0x19282f['cdnUrl'],_0x19282f['imageInfo']['width']);return{'uploadcareImageId':_0x19282f['uuid'],'default':_0x5d8729,'sources':_0x280f88};})['catch'](()=>{const _0x3ad243=t('Cannot\x20upload\x20file:')+('\x20'+_0x37b48a['name']+'.');return Promise['reject'](_0x3ad243);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x297edd}from'../uploadcareconfig.js';export function getTranslation(_0xce8e89,_0x520c00,_0x4f9727){const t=_0xce8e89['t'],_0x510bee=_0xce8e89['t'];switch(_0x520c00){case _0x297edd['Local']:return{'text':_0x510bee('Insert'===_0x4f9727?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x510bee('From\x20computer')};case _0x297edd['URL']:return{'text':'Insert'===_0x4f9727?_0x510bee('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x510bee('Via\x20URL')};case _0x297edd['Dropbox']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x297edd['Facebook']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x297edd['GDrive']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x297edd['GPhotos']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x297edd['OneDrive']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x520c00;}}
23
+ import{UploadcareSource as _0x3d10b4}from'../uploadcareconfig.js';export function getTranslation(_0x2ddb59,_0x8a2666,_0x514238){const t=_0x2ddb59['t'],_0x1ac4f3=_0x2ddb59['t'];switch(_0x8a2666){case _0x3d10b4['Local']:return{'text':_0x1ac4f3('Insert'===_0x514238?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ac4f3('From\x20computer')};case _0x3d10b4['URL']:return{'text':'Insert'===_0x514238?_0x1ac4f3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ac4f3('Via\x20URL')};case _0x3d10b4['Dropbox']:return{'text':t('Insert'===_0x514238?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d10b4['Facebook']:return{'text':t('Insert'===_0x514238?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d10b4['GDrive']:return{'text':t('Insert'===_0x514238?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d10b4['GPhotos']:return{'text':t('Insert'===_0x514238?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d10b4['OneDrive']:return{'text':t('Insert'===_0x514238?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x8a2666;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x336b(){var _0x1dd701=['focusCycler','472230Fblbcy','getFocusableElement','forwardCycle','1809963AsyFGv','62MxaJrV','div','58SxytSu','focusTracker','127300XahtCB','3378548MisIzf','createCollection','1503htuUcC','1227208Qllcwa','bindTemplate','49QimGNO','true','3378095wYqRcS','fire'];_0x336b=function(){return _0x1dd701;};return _0x336b();}var _0x294c68=_0xd1a8;function _0xd1a8(_0x2e5413,_0x5b6cde){var _0x336bc9=_0x336b();return _0xd1a8=function(_0xd1a807,_0xf8ee55){_0xd1a807=_0xd1a807-0x85;var _0x3b2be1=_0x336bc9[_0xd1a807];return _0x3b2be1;},_0xd1a8(_0x2e5413,_0x5b6cde);}(function(_0x169b9d,_0x305e20){var _0x48aa6e=_0xd1a8,_0x43dab7=_0x169b9d();while(!![]){try{var _0x33e036=-parseInt(_0x48aa6e(0x93))/0x1*(-parseInt(_0x48aa6e(0x95))/0x2)+-parseInt(_0x48aa6e(0x92))/0x3+parseInt(_0x48aa6e(0x85))/0x4+-parseInt(_0x48aa6e(0x8c))/0x5+-parseInt(_0x48aa6e(0x8f))/0x6+-parseInt(_0x48aa6e(0x8a))/0x7*(parseInt(_0x48aa6e(0x88))/0x8)+parseInt(_0x48aa6e(0x87))/0x9*(parseInt(_0x48aa6e(0x97))/0xa);if(_0x33e036===_0x305e20)break;else _0x43dab7['push'](_0x43dab7['shift']());}catch(_0x3c04a1){_0x43dab7['push'](_0x43dab7['shift']());}}}(_0x336b,0x840dd));import{FocusTracker as _0x43466d}from'ckeditor5/src/utils.js';import{View as _0x11667a,FocusCycler as _0x3f69a0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x11667a{[_0x294c68(0x96)];[_0x294c68(0x8e)];constructor(_0x4519eb){var _0x2d6fd1=_0x294c68;super(_0x4519eb),this[_0x2d6fd1(0x96)]=new _0x43466d(),this[_0x2d6fd1(0x8e)]=new _0x3f69a0({'focusables':this[_0x2d6fd1(0x86)](),'focusTracker':this[_0x2d6fd1(0x96)]});}[_0x294c68(0x90)](){var _0x5b6efb=_0x294c68;return{'tag':_0x5b6efb(0x94),'attributes':{'aria-hidden':_0x5b6efb(0x8b),'tabindex':'0'},'on':{'focus':this[_0x5b6efb(0x89)]['to'](()=>{var _0x34eb76=_0x5b6efb;this[_0x34eb76(0x8e)][_0x34eb76(0x8d)](_0x34eb76(0x91));})}};}}
23
+ function _0x16b1(_0x1d1d12,_0x1ca77f){var _0x46178b=_0x4617();return _0x16b1=function(_0x16b1e6,_0x2f91bb){_0x16b1e6=_0x16b1e6-0xa5;var _0x2d0360=_0x46178b[_0x16b1e6];return _0x2d0360;},_0x16b1(_0x1d1d12,_0x1ca77f);}var _0x4d4bb6=_0x16b1;function _0x4617(){var _0x2d8b72=['div','getFocusableElement','1566VBytYT','3934662tlVtFi','2759288qxDFxi','11626741jIzQRw','fire','513029rvUjWf','760491hhEcwM','bindTemplate','252efghsh','8DYOPsf','forwardCycle','21605FuuMpK','focusCycler','37562Vspsqg','focusTracker','true','51HRyHwk','createCollection','140LoozbJ'];_0x4617=function(){return _0x2d8b72;};return _0x4617();}(function(_0x47b649,_0x4ac202){var _0x1257ec=_0x16b1,_0x3b7e61=_0x47b649();while(!![]){try{var _0x562c69=parseInt(_0x1257ec(0xab))/0x1*(parseInt(_0x1257ec(0xa8))/0x2)+parseInt(_0x1257ec(0xb1))/0x3+-parseInt(_0x1257ec(0xb2))/0x4+-parseInt(_0x1257ec(0xa6))/0x5*(-parseInt(_0x1257ec(0xb0))/0x6)+-parseInt(_0x1257ec(0xb3))/0x7*(parseInt(_0x1257ec(0xb9))/0x8)+parseInt(_0x1257ec(0xb6))/0x9*(-parseInt(_0x1257ec(0xad))/0xa)+parseInt(_0x1257ec(0xb5))/0xb*(parseInt(_0x1257ec(0xb8))/0xc);if(_0x562c69===_0x4ac202)break;else _0x3b7e61['push'](_0x3b7e61['shift']());}catch(_0x52062f){_0x3b7e61['push'](_0x3b7e61['shift']());}}}(_0x4617,0xcdc3e));import{FocusTracker as _0x72ce95}from'ckeditor5/src/utils.js';import{View as _0x43cf6f,FocusCycler as _0x6812a2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x43cf6f{[_0x4d4bb6(0xa9)];[_0x4d4bb6(0xa7)];constructor(_0x3e51d5){var _0x192c5f=_0x4d4bb6;super(_0x3e51d5),this[_0x192c5f(0xa9)]=new _0x72ce95(),this[_0x192c5f(0xa7)]=new _0x6812a2({'focusables':this[_0x192c5f(0xac)](),'focusTracker':this[_0x192c5f(0xa9)]});}[_0x4d4bb6(0xaf)](){var _0x36a69a=_0x4d4bb6;return{'tag':_0x36a69a(0xae),'attributes':{'aria-hidden':_0x36a69a(0xaa),'tabindex':'0'},'on':{'focus':this[_0x36a69a(0xb7)]['to'](()=>{var _0x439ee0=_0x36a69a;this[_0x439ee0(0xa7)][_0x439ee0(0xb4)](_0x439ee0(0xa5));})}};}}