@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.1 → 47.5.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/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.d.ts +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5750e7=_0x334b;(function(_0xeb2752,_0x2721d3){const _0x5a718c=_0x334b,_0x441103=_0xeb2752();while(!![]){try{const _0x31b8b9=-parseInt(_0x5a718c(0x212))/0x1*(parseInt(_0x5a718c(0x203))/0x2)+parseInt(_0x5a718c(0x226))/0x3+-parseInt(_0x5a718c(0x1fd))/0x4+-parseInt(_0x5a718c(0x20f))/0x5+-parseInt(_0x5a718c(0x218))/0x6*(-parseInt(_0x5a718c(0x208))/0x7)+-parseInt(_0x5a718c(0x1fa))/0x8+-parseInt(_0x5a718c(0x20b))/0x9*(-parseInt(_0x5a718c(0x1eb))/0xa);if(_0x31b8b9===_0x2721d3)break;else _0x441103['push'](_0x441103['shift']());}catch(_0x21585e){_0x441103['push'](_0x441103['shift']());}}}(_0x6200,0xbbf7f));import{Plugin as _0x19d923}from'ckeditor5/src/core.js';import{Dialog as _0x3540d7}from'ckeditor5/src/ui.js';import{createElement as _0x58aa0a,global as _0x36498b,uid as _0x477bed}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x458b54}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2c3d09}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x45f8df}from'./utils/editingutils.js';function _0x6200(){const _0x752354=['_initConfig','destroy','getSelectedElement','add','uc-config','afterInit','config','UploadcareEditing','isRegistered','editing','uploadcare','appendChild','ctxElement','uploadcareImageId','elementToAttribute','fromCharCode','selection','PictureEditing','_initSchema','get','replaceImageSource','upcast','imageInline','8313290xprEjY','remove','conversion','input[uploadcare-file-input]','contentLanguage','extend','imageBlock','init','schema','isOfficialPlugin','#uc-icon-arrow-down','iconHrefResolver','insertImage','render','map','7219608dodLGi','removeAttribute','querySelector','5830948WHgirv','document','data-uc-image-id','closeMax','href','execute','46LfYMnp','_ctxElement','locale','ucContextId','for','196476QDDlXC','model','uploadcare.pubkey','27umPAob','join','_initConversion','uploadcareImageReplace','5348895vETIdB','attributeToAttribute','editor','9995XkmpwJ','view','\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','requires','_initImageProcessingIndicator','listenTo','198VGzBxy','pluginName','isPremiumPlugin','uploader-','downcast','cleanupImage','body','once','configElement','_configElement','uc-upload-ctx-provider','getAttribute','true','commands','3028620HtcWww','_initCtx','uploadcare.uploader'];_0x6200=function(){return _0x752354;};return _0x6200();}function _0x334b(_0x424550,_0x2833d5){const _0x62002f=_0x6200();return _0x334b=function(_0x334b6c,_0x183af9){_0x334b6c=_0x334b6c-0x1e0;let _0x1cf9fd=_0x62002f[_0x334b6c];return _0x1cf9fd;},_0x334b(_0x424550,_0x2833d5);}export class UploadcareEditing extends _0x19d923{[_0x5750e7(0x221)]=null;[_0x5750e7(0x204)]=null;static get[_0x5750e7(0x219)](){const _0x2b6151=_0x5750e7;return _0x2b6151(0x230);}static get[_0x5750e7(0x215)](){const _0x2d7afb=_0x5750e7;return[_0x2d7afb(0x1e5),_0x2c3d09,_0x3540d7];}static get[_0x5750e7(0x1f4)](){return!0x0;}static get[_0x5750e7(0x21a)](){return!0x0;}[_0x5750e7(0x206)];get[_0x5750e7(0x220)](){const _0x3fa929=_0x5750e7;return this[_0x3fa929(0x221)];}get[_0x5750e7(0x1e0)](){const _0x2b8fb8=_0x5750e7;return this[_0x2b8fb8(0x204)];}constructor(_0xaa8de8){const _0x3191a1=_0x5750e7;super(_0xaa8de8),this[_0x3191a1(0x206)]=_0x477bed();}[_0x5750e7(0x1f2)](){const _0x3f4dec=_0x5750e7,_0xa8f095=this[_0x3f4dec(0x211)];_0xa8f095[_0x3f4dec(0x225)][_0x3f4dec(0x22c)](_0x3f4dec(0x233),new _0x458b54(_0xa8f095));}[_0x5750e7(0x22e)](){const _0x2f524f=_0x5750e7;this[_0x2f524f(0x1e6)](),this[_0x2f524f(0x20d)](),this[_0x2f524f(0x229)](),this[_0x2f524f(0x227)](),this[_0x2f524f(0x216)](),this[_0x2f524f(0x217)](this[_0x2f524f(0x211)],_0x2f524f(0x22a),()=>{const _0x3281d6=_0x2f524f;this[_0x3281d6(0x221)]&&(this[_0x3281d6(0x221)][_0x3281d6(0x1ec)](),this[_0x3281d6(0x221)]=null),this[_0x3281d6(0x204)]&&(this[_0x3281d6(0x204)][_0x3281d6(0x1ec)](),this[_0x3281d6(0x204)]=null);const _0x42a603=_0x36498b[_0x3281d6(0x1fe)][_0x3281d6(0x1fc)](_0x3281d6(0x1ee));_0x42a603&&_0x42a603[_0x3281d6(0x1ec)]();}),async function(_0x4b6939){const _0xd19ba=_0x1a7688([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]),_0x2c058c=0x535f8c3a,_0x12ad36=0x53580ce2^_0x2c058c,_0x1722da=window[_0x1a7688([0x44,0x61,0x74,0x65])][_0x1a7688([0x6e,0x6f,0x77])](),_0x204ecf=_0x4b6939[_0x1a7688([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf6c3ab=new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da840=>{_0x204ecf[_0x1a7688([0x6f,0x6e,0x63,0x65])](_0x1a7688([0x72,0x65,0x61,0x64,0x79]),_0x2da840);}),_0x27e250={[_0x1a7688([0x6b,0x74,0x79])]:_0x1a7688([0x45,0x43]),[_0x1a7688([0x75,0x73,0x65])]:_0x1a7688([0x73,0x69,0x67]),[_0x1a7688([0x63,0x72,0x76])]:_0x1a7688([0x50,0x2d,0x32,0x35,0x36]),[_0x1a7688([0x78])]:_0x1a7688([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]),[_0x1a7688([0x79])]:_0x1a7688([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]),[_0x1a7688([0x61,0x6c,0x67])]:_0x1a7688([0x45,0x53,0x32,0x35,0x36])},_0x2e6c1c=_0x204ecf[_0x1a7688([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a7688([0x67,0x65,0x74])](_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1481e5(){let _0xce9f1a,_0x21b61f=null,_0x18efd9=null;try{if(_0x2e6c1c==_0x1a7688([0x47,0x50,0x4c]))return _0x1a7688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xce9f1a=_0x5c42a3(),!_0xce9f1a)return _0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xce9f1a[_0x1a7688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18efd9=_0x4345b5(_0xce9f1a[_0x1a7688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xce9f1a[_0x1a7688([0x6a,0x74,0x69])])),await _0x380bae()?_0x2ed2e7()?_0x1347d4()?_0x1a7688([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c715e()?(_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a7688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21b61f=_0x48d044(_0x1a7688([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b4e76()):_0x1a7688([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a7688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1347d4(){const _0x4f6ed5=[_0x1a7688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a7688([0x74,0x72,0x69,0x61,0x6c])][_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1722da/0x3e8:0xe10*_0x12ad36;return _0xce9f1a[_0x1a7688([0x65,0x78,0x70])]<_0x4f6ed5;}function _0x2ed2e7(){const _0x5672f7=_0xce9f1a[_0x1a7688([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5672f7&&(!!_0x5672f7[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x2a]))||!!_0x5672f7[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x55,0x50,0x4c,0x43])));}function _0x5c715e(){const _0xdbc0c7=_0x334b,_0xf278bc=_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf278bc||0x0==_0xf278bc[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c7c53}=new URL(window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xdbc0c7(0x201)]);if(_0xf278bc[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c7c53))return!0x0;const _0x33a7c7=_0x2c7c53[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e]));return _0xf278bc[_0x1a7688([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x458d2c=>_0x458d2c[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x2a])))[_0x1a7688([0x6d,0x61,0x70])](_0x359ddd=>_0x359ddd[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e])))[_0x1a7688([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35bd4f=>_0x35bd4f[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33a7c7[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a7688([0x6d,0x61,0x70])](_0x1a3018=>Array(_0x33a7c7[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a3018[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a7688([0x66,0x69,0x6c,0x6c])](_0x1a3018[0x0]===_0x1a7688([0x2a])?_0x1a7688([0x2a]):'')[_0x1a7688([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a3018))[_0x1a7688([0x73,0x6f,0x6d,0x65])](_0x30ec14=>_0x33a7c7[_0x1a7688([0x65,0x76,0x65,0x72,0x79])]((_0x2e3b06,_0x6fade3)=>_0x30ec14[_0x6fade3]===_0x2e3b06||_0x30ec14[_0x6fade3]===_0x1a7688([0x2a])));}function _0x3b4e76(){return _0x21b61f&&_0x18efd9?new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1317d9,_0x5f2362)=>{_0x21b61f[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x1317d9,_0x5f2362),_0x18efd9[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x19328f=>{_0x19328f!=_0x1a7688([0x56,0x61,0x6c,0x69,0x64])&&_0x1317d9(_0x19328f);},_0x5f2362);}):_0x21b61f||_0x18efd9||_0x1a7688([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4345b5(_0x3360a9,_0x5687cf){return new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a2242=>{if(_0x12e7ac())return _0x2a2242(_0x1a7688([0x56,0x61,0x6c,0x69,0x64]));_0x1a328d(),_0x204ecf[_0x1a7688([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b2683=!0x1;const _0x3805e3=_0x477bed();function _0x3ec814(_0x18e376){return!!_0x18e376&&(typeof _0x18e376===_0x1a7688([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18e376===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18e376[_0x1a7688([0x74,0x68,0x65,0x6e])]===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18e376[_0x1a7688([0x63,0x61,0x74,0x63,0x68])]===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c0254(_0x5596d8){_0x4f0287(_0x5596d8)[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x863c34=>{if(!_0x863c34||_0x863c34[_0x1a7688([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a7688([0x6f,0x6b]))return _0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c6718(_0x1bb343(_0x3805e3+_0x5687cf))!=_0x863c34[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a7688([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x298e38=>(_0x42b6d9(),_0x298e38),()=>{const _0x21a236=_0x3757dc();return null==_0x21a236?(_0x42b6d9(),_0x1a7688([0x56,0x61,0x6c,0x69,0x64])):_0x1a7688(_0x1722da-_0x21a236>(0x7753083a^_0x2c058c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x2a2242)[_0x1a7688([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3dced1=0x536962ba^_0x2c058c;function _0x42b6d9(){const _0x2e6e4a=_0x1a7688([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6718(_0x1bb343(_0x3360a9)),_0xc626ce=_0x59d762(_0x2c6718(window[_0x1a7688([0x4d,0x61,0x74,0x68])][_0x1a7688([0x63,0x65,0x69,0x6c])](_0x1722da/_0x3dced1)));window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a7688([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e6e4a,_0xc626ce);}function _0x3757dc(){const _0x4aa846=_0x1a7688([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6718(_0x1bb343(_0x3360a9)),_0x983cfa=window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a7688([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4aa846);return _0x983cfa?window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59d762(_0x983cfa),0x10)*_0x3dced1:null;}function _0x4f0287(_0x1154be){return new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3885ba,_0x21e4e7)=>{_0x1154be[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x3885ba,_0x21e4e7),window[_0x1a7688([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21e4e7,0x535e58fa^_0x2c058c);});}}_0x204ecf[_0x1a7688([0x6f,0x6e])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d172e,_0x2b438c)=>{if(_0x2b438c[0x0]!=_0x3360a9)return _0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b438c[0x1]={..._0x2b438c[0x1],[_0x1a7688([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3805e3};},{[_0x1a7688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a7688([0x68,0x69,0x67,0x68])}),_0x204ecf[_0x1a7688([0x6f,0x6e])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d8777=>{_0x3ec814(_0x5d8777[_0x1a7688([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b2683=!0x0,_0x5c0254(_0x5d8777[_0x1a7688([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a7688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a7688([0x6c,0x6f,0x77])}),_0xf6c3ab[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>{_0x5b2683||_0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12e7ac(){return _0x204ecf[_0x1a7688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a7688([0x76,0x69,0x65,0x77])][_0x1a7688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a7688([0x61,0x75,0x74,0x6f]);}function _0x1a328d(){_0x204ecf[_0x1a7688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a7688([0x76,0x69,0x65,0x77])][_0x1a7688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a7688([0x61,0x75,0x74,0x6f]);}}function _0x48d044(_0x4e59bd){const _0x199d81=[new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f4324=>setTimeout(_0x2f4324,0x5356b2f6^_0x2c058c)),_0xf6c3ab[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c6c02=>{let _0x44e837=0x0;_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x6f,0x6e])](_0x1a7688([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3124c0,_0x3d2cd8)=>{_0x3d2cd8[0x0][_0x1a7688([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44e837++,_0x44e837==(0x535f89d2^_0x2c058c)&&(_0x1c6c02(),_0x3124c0[_0x1a7688([0x6f,0x66,0x66])]());});}))];return window[_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a7688([0x72,0x61,0x63,0x65])](_0x199d81)[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>_0x4e59bd);}async function _0x463aa4(){await _0xf6c3ab,_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1fdd,_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1fdd,_0x204ecf[_0x1a7688([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x576484(_0x309b4e){const _0x57fc6e=_0x5a93ca();_0x204ecf[_0x57fc6e]=_0x1a7688([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x309b4e,_0x309b4e!=_0x1a7688([0x56,0x61,0x6c,0x69,0x64])&&_0x463aa4();}function _0x5a93ca(){const _0x4a88a1=window[_0x1a7688([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a7688([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a7688([0x6e,0x6f,0x77])]())[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a7688([0x2e]),'');let _0x5d2711=_0x1a7688([0x68]);for(let _0x38fd63=0x0;_0x38fd63<_0x4a88a1[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38fd63+=0x2){let _0x1b325b=window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a88a1[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38fd63,_0x38fd63+0x2));_0x1b325b>=_0xd19ba[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b325b-=_0xd19ba[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d2711+=_0xd19ba[_0x1b325b];}return _0x5d2711;}function _0x5c42a3(){const _0xd6eb31=_0x2e6c1c[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e]));if(0x3!=_0xd6eb31[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x466c13(_0xd6eb31[0x1]);function _0x466c13(_0x32ef48){const _0x2f10f6=_0x29c463(_0x32ef48);return _0x2f10f6&&_0x2b3ff1()?_0x2f10f6:null;function _0x2b3ff1(){const _0x21865b=_0x2f10f6[_0x1a7688([0x6a,0x74,0x69])],_0x551433=window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21865b[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21865b[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f9b42={..._0x2f10f6,[_0x1a7688([0x6a,0x74,0x69])]:_0x21865b[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21865b[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f9b42[_0x1a7688([0x76,0x63])],_0x1bb343(_0x2f9b42)==_0x551433;}}}async function _0x380bae(){let _0xa3452c=!0x0;try{const _0x66b3b3=_0x2e6c1c[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e])),[_0x3c9948,_0x34f82f,_0x10e389]=_0x66b3b3;return _0x47a9d1(_0x3c9948),await _0x4c89fd(_0x3c9948,_0x34f82f,_0x10e389),_0xa3452c;}catch{return!0x1;}function _0x47a9d1(_0x49c0bb){const _0x107f4d=_0x29c463(_0x49c0bb);_0x107f4d&&_0x107f4d[_0x1a7688([0x61,0x6c,0x67])]==_0x1a7688([0x45,0x53,0x32,0x35,0x36])||(_0xa3452c=!0x1);}async function _0x4c89fd(_0x59e545,_0x39c3e7,_0x43cd9f){const _0x3c0cdd=window[_0x1a7688([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a7688([0x66,0x72,0x6f,0x6d])](_0x3c5791(_0x43cd9f),_0x14edac=>_0x14edac[_0x1a7688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8785ce=new window[(_0x1a7688([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a7688([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59e545+_0x1a7688([0x2e])+_0x39c3e7),_0x3d5ec5=window[_0x1a7688([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a7688([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d5ec5)return;const _0xd9fbc=await _0x3d5ec5[_0x1a7688([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a7688([0x6a,0x77,0x6b]),_0x27e250,{[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x45,0x43,0x44,0x53,0x41]),[_0x1a7688([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a7688([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d5ec5[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x45,0x43,0x44,0x53,0x41]),[_0x1a7688([0x68,0x61,0x73,0x68])]:{[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd9fbc,_0x3c0cdd,_0x8785ce)||(_0xa3452c=!0x1);}}function _0x29c463(_0xeaf507){return _0xeaf507[_0x1a7688([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a7688([0x65,0x79]))?JSON[_0x1a7688([0x70,0x61,0x72,0x73,0x65])](_0x3c5791(_0xeaf507)):null;}function _0x3c5791(_0x587e55){return window[_0x1a7688([0x61,0x74,0x6f,0x62])](_0x587e55[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a7688([0x2b]))[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a7688([0x2f])));}function _0x1bb343(_0x5c81bc){let _0x4ddc05=0x1505;function _0x5dd7de(_0x178481){for(let _0x2c6007=0x0;_0x2c6007<_0x178481[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c6007++){const _0x132219=_0x178481[_0x1a7688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c6007);_0x4ddc05=(_0x4ddc05<<0x5)+_0x4ddc05+_0x132219,_0x4ddc05&=_0x4ddc05;}}function _0x4eeafe(_0x17f6f2){Array[_0x1a7688([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17f6f2)?_0x17f6f2[_0x1a7688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4eeafe):_0x17f6f2&&typeof _0x17f6f2==_0x1a7688([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a7688([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17f6f2)[_0x1a7688([0x73,0x6f,0x72,0x74])]()[_0x1a7688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x353c53,_0x226e21])=>{_0x5dd7de(_0x353c53),_0x4eeafe(_0x226e21);}):_0x5dd7de(window[_0x1a7688([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17f6f2));}return _0x4eeafe(_0x5c81bc),_0x4ddc05>>>0x0;}function _0x2c6718(_0x183772){return _0x183772[_0x1a7688([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a7688([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a7688([0x30]));}function _0x59d762(_0xce84e7){return _0xce84e7[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a7688([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a7688([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e1fdd(){}function _0x1a7688(_0x19a204){const _0x1baf8d=_0x334b;return _0x19a204[_0x1baf8d(0x1f9)](_0x4b1b5d=>String[_0x1baf8d(0x1e3)](_0x4b1b5d))[_0x1baf8d(0x20c)]('');}_0x576484(await _0x1481e5());}(this);}[_0x5750e7(0x1e6)](){const _0xbdaa5f=_0x5750e7,_0x5f4a75=this[_0xbdaa5f(0x211)][_0xbdaa5f(0x209)][_0xbdaa5f(0x1f3)];_0x5f4a75[_0xbdaa5f(0x231)](_0xbdaa5f(0x1f1))&&_0x5f4a75[_0xbdaa5f(0x1f0)](_0xbdaa5f(0x1f1),{'allowAttributes':[_0xbdaa5f(0x1e1)]}),_0x5f4a75[_0xbdaa5f(0x231)](_0xbdaa5f(0x1ea))&&_0x5f4a75[_0xbdaa5f(0x1f0)](_0xbdaa5f(0x1ea),{'allowAttributes':[_0xbdaa5f(0x1e1)]});}[_0x5750e7(0x20d)](){const _0x5263a5=_0x5750e7,_0x49e2dc=this[_0x5263a5(0x211)];_0x49e2dc[_0x5263a5(0x1ed)][_0x5263a5(0x207)](_0x5263a5(0x21c))[_0x5263a5(0x210)]({'model':_0x5263a5(0x1e1),'view':_0x5263a5(0x1ff)}),_0x49e2dc[_0x5263a5(0x1ed)][_0x5263a5(0x207)](_0x5263a5(0x1e9))[_0x5263a5(0x1e2)]({'model':{'key':_0x5263a5(0x1e1),'value':_0x48317b=>_0x48317b[_0x5263a5(0x223)](_0x5263a5(0x1ff))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27a0fe=_0x49e2dc[_0x5263a5(0x225)][_0x5263a5(0x1e7)](_0x5263a5(0x1e8));_0x27a0fe&&this[_0x5263a5(0x217)](_0x27a0fe,_0x5263a5(0x21d),(_0x28f2c0,[_0xa0ebe6,_0x4ae3f2])=>{const _0x282fab=_0x5263a5;_0xa0ebe6[_0x282fab(0x1fb)](_0x282fab(0x1e1),_0x4ae3f2);});}[_0x5750e7(0x229)](){const _0x243cea=_0x5750e7,_0x334417=this[_0x243cea(0x211)][_0x243cea(0x22f)][_0x243cea(0x1e7)](_0x243cea(0x228))||{},_0xa9c90c=this[_0x243cea(0x211)][_0x243cea(0x22f)][_0x243cea(0x1e7)](_0x243cea(0x20a))||'';this[_0x243cea(0x221)]=_0x58aa0a(_0x36498b[_0x243cea(0x1fe)],_0x243cea(0x22d),{..._0x334417,'pubkey':_0xa9c90c,'ctx-name':_0x243cea(0x21b)+this[_0x243cea(0x206)],'sourceList':'','imgOnly':_0x243cea(0x224),'removeCopyright':_0x243cea(0x224),'localeName':this[_0x243cea(0x211)][_0x243cea(0x205)][_0x243cea(0x1ef)],'externalSourcesEmbedCss':_0x243cea(0x214)}),this[_0x243cea(0x221)][_0x243cea(0x1f6)]=_0x18f1a8=>{const _0x253666=_0x243cea;if(_0x253666(0x200)==_0x18f1a8)return _0x253666(0x1f5);},_0x36498b[_0x243cea(0x1fe)][_0x243cea(0x21e)][_0x243cea(0x234)](this[_0x243cea(0x221)]);}[_0x5750e7(0x227)](){const _0x162e9b=_0x5750e7;this[_0x162e9b(0x204)]=_0x58aa0a(_0x36498b[_0x162e9b(0x1fe)],_0x162e9b(0x222),{'ctx-name':_0x162e9b(0x21b)+this[_0x162e9b(0x206)]}),_0x36498b[_0x162e9b(0x1fe)][_0x162e9b(0x21e)][_0x162e9b(0x234)](this[_0x162e9b(0x204)]);}[_0x5750e7(0x216)](){const _0x5e71ad=_0x5750e7,_0x2d6f91=this[_0x5e71ad(0x211)][_0x5e71ad(0x225)][_0x5e71ad(0x1e7)](_0x5e71ad(0x1f7));_0x2d6f91&&this[_0x5e71ad(0x217)](_0x2d6f91,_0x5e71ad(0x202),()=>{const _0x5d8a44=_0x5e71ad,_0xd4b063=this[_0x5d8a44(0x211)][_0x5d8a44(0x209)][_0x5d8a44(0x1fe)][_0x5d8a44(0x1e4)][_0x5d8a44(0x22b)]();_0xd4b063&&_0xd4b063[_0x5d8a44(0x223)](_0x5d8a44(0x1e1))&&this[_0x5d8a44(0x211)][_0x5d8a44(0x232)][_0x5d8a44(0x213)][_0x5d8a44(0x21f)](_0x5d8a44(0x1f8),()=>{const _0x5c5caf=_0x5d8a44;_0x45f8df(this[_0x5c5caf(0x211)],_0xd4b063);});});const _0x4ee5ef=this[_0x5e71ad(0x211)][_0x5e71ad(0x225)][_0x5e71ad(0x1e7)](_0x5e71ad(0x20e));_0x4ee5ef&&this[_0x5e71ad(0x217)](_0x4ee5ef,_0x5e71ad(0x202),()=>{const _0x1c935b=_0x5e71ad,_0x58a08b=this[_0x1c935b(0x211)][_0x1c935b(0x209)][_0x1c935b(0x1fe)][_0x1c935b(0x1e4)][_0x1c935b(0x22b)]();_0x58a08b&&_0x58a08b[_0x1c935b(0x223)](_0x1c935b(0x1e1))&&this[_0x1c935b(0x211)][_0x1c935b(0x232)][_0x1c935b(0x213)][_0x1c935b(0x21f)](_0x1c935b(0x1f8),()=>{const _0x293eda=_0x1c935b;_0x45f8df(this[_0x293eda(0x211)],_0x58a08b);});});}}
23
+ function _0x5c75(){const _0x1914df=['uc-config','once','_ctxElement','153891foxAlv','imageBlock','input[uploadcare-file-input]','appendChild','map','init','document','insertImage','removeAttribute','isPremiumPlugin','data-uc-image-id','closeMax','schema','render','conversion','imageInline','216148GZrzwI','view','144524jbWICp','config','2fYRCxa','isOfficialPlugin','uploader-','execute','10zzzfAG','ucContextId','_initSchema','locale','elementToAttribute','iconHrefResolver','_configElement','editing','_initImageProcessingIndicator','pluginName','querySelector','true','fromCharCode','UploadcareEditing','#uc-icon-arrow-down','downcast','model','uploadcareImageId','contentLanguage','requires','join','_initConversion','7pngfVv','ctxElement','body','uploadcare','extend','commands','configElement','2034nUsXAu','listenTo','137200RmRDiu','221682deAJam','uc-upload-ctx-provider','4432iEMRMZ','PictureEditing','selection','afterInit','5504004uMjPVa','attributeToAttribute','remove','upcast','_initConfig','getAttribute','getSelectedElement','destroy','editor','for','isRegistered','uploadcareImageReplace','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare.pubkey','uploadcare.uploader','add','_initCtx','replaceImageSource','get','href','cleanupImage'];_0x5c75=function(){return _0x1914df;};return _0x5c75();}const _0x48df96=_0x18de;(function(_0x12eb9e,_0x3d33bf){const _0x147266=_0x18de,_0x2b7f9c=_0x12eb9e();while(!![]){try{const _0x381b02=-parseInt(_0x147266(0x181))/0x1*(parseInt(_0x147266(0x17f))/0x2)+parseInt(_0x147266(0x1c3))/0x3+-parseInt(_0x147266(0x17d))/0x4*(parseInt(_0x147266(0x185))/0x5)+parseInt(_0x147266(0x1a5))/0x6*(-parseInt(_0x147266(0x19b))/0x7)+parseInt(_0x147266(0x1a7))/0x8*(-parseInt(_0x147266(0x1a2))/0x9)+-parseInt(_0x147266(0x1a4))/0xa+parseInt(_0x147266(0x1ab))/0xb;if(_0x381b02===_0x3d33bf)break;else _0x2b7f9c['push'](_0x2b7f9c['shift']());}catch(_0x46dbf0){_0x2b7f9c['push'](_0x2b7f9c['shift']());}}}(_0x5c75,0x1e138));import{Plugin as _0x12b49d}from'ckeditor5/src/core.js';import{Dialog as _0x9881fc}from'ckeditor5/src/ui.js';import{createElement as _0x13aa04,global as _0x30c28e,uid as _0x12893c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1c0f4c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5bd880}from'./uploadcareuploadadapter.js';function _0x18de(_0x421360,_0x514456){const _0x5c7559=_0x5c75();return _0x18de=function(_0x18deed,_0x34d3bd){_0x18deed=_0x18deed-0x17b;let _0x365dee=_0x5c7559[_0x18deed];return _0x365dee;},_0x18de(_0x421360,_0x514456);}import{showImageProcessingIndicator as _0x6499c4}from'./utils/editingutils.js';export class UploadcareEditing extends _0x12b49d{[_0x48df96(0x18b)]=null;[_0x48df96(0x1c2)]=null;static get[_0x48df96(0x18e)](){const _0x3956b0=_0x48df96;return _0x3956b0(0x192);}static get[_0x48df96(0x198)](){const _0x3e7518=_0x48df96;return[_0x3e7518(0x1a8),_0x5bd880,_0x9881fc];}static get[_0x48df96(0x182)](){return!0x0;}static get[_0x48df96(0x1cc)](){return!0x0;}[_0x48df96(0x186)];get[_0x48df96(0x1a1)](){const _0xbecbbf=_0x48df96;return this[_0xbecbbf(0x18b)];}get[_0x48df96(0x19c)](){const _0x1c806f=_0x48df96;return this[_0x1c806f(0x1c2)];}constructor(_0x4f46cd){const _0x4c1db4=_0x48df96;super(_0x4f46cd),this[_0x4c1db4(0x186)]=_0x12893c();}[_0x48df96(0x1c8)](){const _0x4f2040=_0x48df96,_0x5bf19c=this[_0x4f2040(0x1b3)];_0x5bf19c[_0x4f2040(0x1a0)][_0x4f2040(0x1ba)](_0x4f2040(0x19e),new _0x1c0f4c(_0x5bf19c));}[_0x48df96(0x1aa)](){const _0x134b93=_0x48df96;this[_0x134b93(0x187)](),this[_0x134b93(0x19a)](),this[_0x134b93(0x1af)](),this[_0x134b93(0x1bb)](),this[_0x134b93(0x18d)](),this[_0x134b93(0x1a3)](this[_0x134b93(0x1b3)],_0x134b93(0x1b2),()=>{const _0x256257=_0x134b93;this[_0x256257(0x18b)]&&(this[_0x256257(0x18b)][_0x256257(0x1ad)](),this[_0x256257(0x18b)]=null),this[_0x256257(0x1c2)]&&(this[_0x256257(0x1c2)][_0x256257(0x1ad)](),this[_0x256257(0x1c2)]=null);const _0x87ccfd=_0x30c28e[_0x256257(0x1c9)][_0x256257(0x18f)](_0x256257(0x1c5));_0x87ccfd&&_0x87ccfd[_0x256257(0x1ad)]();}),async function(_0x3456be){const _0x747302=_0x533ee6([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]),_0x4b0458=0x535f8c3a,_0x43faad=0x53580d32^_0x4b0458,_0x291370=window[_0x533ee6([0x44,0x61,0x74,0x65])][_0x533ee6([0x6e,0x6f,0x77])](),_0x36a873=_0x3456be[_0x533ee6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f20df=new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15fea6=>{_0x36a873[_0x533ee6([0x6f,0x6e,0x63,0x65])](_0x533ee6([0x72,0x65,0x61,0x64,0x79]),_0x15fea6);}),_0x34b7e2={[_0x533ee6([0x6b,0x74,0x79])]:_0x533ee6([0x45,0x43]),[_0x533ee6([0x75,0x73,0x65])]:_0x533ee6([0x73,0x69,0x67]),[_0x533ee6([0x63,0x72,0x76])]:_0x533ee6([0x50,0x2d,0x32,0x35,0x36]),[_0x533ee6([0x78])]:_0x533ee6([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]),[_0x533ee6([0x79])]:_0x533ee6([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]),[_0x533ee6([0x61,0x6c,0x67])]:_0x533ee6([0x45,0x53,0x32,0x35,0x36])},_0x52daa2=_0x36a873[_0x533ee6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x533ee6([0x67,0x65,0x74])](_0x533ee6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ecffb(){let _0x1e896e,_0x413ecd=null,_0x4f6231=null;try{if(_0x52daa2==_0x533ee6([0x47,0x50,0x4c]))return _0x533ee6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e896e=_0x42c1c8(),!_0x1e896e)return _0x533ee6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e896e[_0x533ee6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f6231=_0x3110ee(_0x1e896e[_0x533ee6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e896e[_0x533ee6([0x6a,0x74,0x69])])),await _0x494046()?_0x21a0b9()?_0x1c86b2()?_0x533ee6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51b608()?(_0x1e896e[_0x533ee6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x533ee6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x413ecd=_0x48de69(_0x533ee6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ed5f5()):_0x533ee6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x533ee6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x533ee6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x533ee6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c86b2(){const _0x90737f=[_0x533ee6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x533ee6([0x74,0x72,0x69,0x61,0x6c])][_0x533ee6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e896e[_0x533ee6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x291370/0x3e8:0xe10*_0x43faad;return _0x1e896e[_0x533ee6([0x65,0x78,0x70])]<_0x90737f;}function _0x21a0b9(){const _0x1c7ecc=_0x1e896e[_0x533ee6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c7ecc&&(!!_0x1c7ecc[_0x533ee6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x533ee6([0x2a]))||!!_0x1c7ecc[_0x533ee6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x533ee6([0x55,0x50,0x4c,0x43])));}function _0x51b608(){const _0x4071e8=_0x18de,_0xa48335=_0x1e896e[_0x533ee6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa48335||0x0==_0xa48335[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x352e40}=new URL(window[_0x533ee6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4071e8(0x1be)]);if(_0xa48335[_0x533ee6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352e40))return!0x0;const _0x3d9a77=_0x352e40[_0x533ee6([0x73,0x70,0x6c,0x69,0x74])](_0x533ee6([0x2e]));return _0xa48335[_0x533ee6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53682e=>_0x53682e[_0x533ee6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x533ee6([0x2a])))[_0x533ee6([0x6d,0x61,0x70])](_0x13dd16=>_0x13dd16[_0x533ee6([0x73,0x70,0x6c,0x69,0x74])](_0x533ee6([0x2e])))[_0x533ee6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23eb5b=>_0x23eb5b[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d9a77[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x533ee6([0x6d,0x61,0x70])](_0x3dec9f=>Array(_0x3d9a77[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3dec9f[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x533ee6([0x66,0x69,0x6c,0x6c])](_0x3dec9f[0x0]===_0x533ee6([0x2a])?_0x533ee6([0x2a]):'')[_0x533ee6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3dec9f))[_0x533ee6([0x73,0x6f,0x6d,0x65])](_0x3376b3=>_0x3d9a77[_0x533ee6([0x65,0x76,0x65,0x72,0x79])]((_0x59b5f8,_0x37dd97)=>_0x3376b3[_0x37dd97]===_0x59b5f8||_0x3376b3[_0x37dd97]===_0x533ee6([0x2a])));}function _0x2ed5f5(){return _0x413ecd&&_0x4f6231?new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57a334,_0x5b08e1)=>{_0x413ecd[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x57a334,_0x5b08e1),_0x4f6231[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x35ead2=>{_0x35ead2!=_0x533ee6([0x56,0x61,0x6c,0x69,0x64])&&_0x57a334(_0x35ead2);},_0x5b08e1);}):_0x413ecd||_0x4f6231||_0x533ee6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3110ee(_0x206829,_0x18802f){return new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d1769=>{if(_0x5779ed())return _0x1d1769(_0x533ee6([0x56,0x61,0x6c,0x69,0x64]));_0x482b92(),_0x36a873[_0x533ee6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x533ee6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x191ffd=!0x1;const _0xce6b43=_0x12893c();function _0xd8994e(_0x475d19){return!!_0x475d19&&(typeof _0x475d19===_0x533ee6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x475d19===_0x533ee6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x475d19[_0x533ee6([0x74,0x68,0x65,0x6e])]===_0x533ee6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x475d19[_0x533ee6([0x63,0x61,0x74,0x63,0x68])]===_0x533ee6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42123b(_0x4fae50){_0x24d5dc(_0x4fae50)[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x42dead=>{if(!_0x42dead||_0x42dead[_0x533ee6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x533ee6([0x6f,0x6b]))return _0x533ee6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18a9fe(_0x2f3df6(_0xce6b43+_0x18802f))!=_0x42dead[_0x533ee6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x533ee6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x533ee6([0x56,0x61,0x6c,0x69,0x64]);})[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x4584e2=>(_0x291273(),_0x4584e2),()=>{const _0x1524ce=_0x193475();return null==_0x1524ce?(_0x291273(),_0x533ee6([0x56,0x61,0x6c,0x69,0x64])):_0x533ee6(_0x291370-_0x1524ce>(0x7753083a^_0x4b0458)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x1d1769)[_0x533ee6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d1769(_0x533ee6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43066a=0x536962ba^_0x4b0458;function _0x291273(){const _0x472939=_0x533ee6([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a9fe(_0x2f3df6(_0x206829)),_0x3e6384=_0x42e28e(_0x18a9fe(window[_0x533ee6([0x4d,0x61,0x74,0x68])][_0x533ee6([0x63,0x65,0x69,0x6c])](_0x291370/_0x43066a)));window[_0x533ee6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x533ee6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x472939,_0x3e6384);}function _0x193475(){const _0x52f087=_0x533ee6([0x6c,0x6c,0x63,0x74,0x2d])+_0x18a9fe(_0x2f3df6(_0x206829)),_0x3196bb=window[_0x533ee6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x533ee6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52f087);return _0x3196bb?window[_0x533ee6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e28e(_0x3196bb),0x10)*_0x43066a:null;}function _0x24d5dc(_0x20896e){return new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x525eb7,_0x30d039)=>{_0x20896e[_0x533ee6([0x74,0x68,0x65,0x6e])](_0x525eb7,_0x30d039),window[_0x533ee6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30d039,0x535e58fa^_0x4b0458);});}}_0x36a873[_0x533ee6([0x6f,0x6e])](_0x533ee6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12b2b2,_0x348c44)=>{if(_0x348c44[0x0]!=_0x206829)return _0x1d1769(_0x533ee6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x348c44[0x1]={..._0x348c44[0x1],[_0x533ee6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xce6b43};},{[_0x533ee6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x533ee6([0x68,0x69,0x67,0x68])}),_0x36a873[_0x533ee6([0x6f,0x6e])](_0x533ee6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x230071=>{_0xd8994e(_0x230071[_0x533ee6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x191ffd=!0x0,_0x42123b(_0x230071[_0x533ee6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x533ee6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x533ee6([0x6c,0x6f,0x77])}),_0x4f20df[_0x533ee6([0x74,0x68,0x65,0x6e])](()=>{_0x191ffd||_0x1d1769(_0x533ee6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5779ed(){return _0x36a873[_0x533ee6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x533ee6([0x76,0x69,0x65,0x77])][_0x533ee6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x533ee6([0x61,0x75,0x74,0x6f]);}function _0x482b92(){_0x36a873[_0x533ee6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x533ee6([0x76,0x69,0x65,0x77])][_0x533ee6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x533ee6([0x61,0x75,0x74,0x6f]);}}function _0x48de69(_0x51ec61){const _0x55db62=[new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x875988=>setTimeout(_0x875988,0x5356b2f6^_0x4b0458)),_0x4f20df[_0x533ee6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210eaa=>{let _0x4b0187=0x0;_0x36a873[_0x533ee6([0x6d,0x6f,0x64,0x65,0x6c])][_0x533ee6([0x6f,0x6e])](_0x533ee6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x734e83,_0x3c2b61)=>{_0x3c2b61[0x0][_0x533ee6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0187++,_0x4b0187==(0x535f89d2^_0x4b0458)&&(_0x210eaa(),_0x734e83[_0x533ee6([0x6f,0x66,0x66])]());});}))];return window[_0x533ee6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x533ee6([0x72,0x61,0x63,0x65])](_0x55db62)[_0x533ee6([0x74,0x68,0x65,0x6e])](()=>_0x51ec61);}async function _0xb79c97(){await _0x4f20df,_0x36a873[_0x533ee6([0x6d,0x6f,0x64,0x65,0x6c])][_0x533ee6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d19f8,_0x36a873[_0x533ee6([0x6d,0x6f,0x64,0x65,0x6c])][_0x533ee6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d19f8,_0x36a873[_0x533ee6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x533ee6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x171673(_0x27e3cf){const _0x4e1932=_0x55975a();_0x36a873[_0x4e1932]=_0x533ee6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27e3cf,_0x27e3cf!=_0x533ee6([0x56,0x61,0x6c,0x69,0x64])&&_0xb79c97();}function _0x55975a(){const _0x16ac3e=window[_0x533ee6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x533ee6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x533ee6([0x6e,0x6f,0x77])]())[_0x533ee6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x533ee6([0x2e]),'');let _0x4c3c4e=_0x533ee6([0x68]);for(let _0x1562d0=0x0;_0x1562d0<_0x16ac3e[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1562d0+=0x2){let _0x1ae629=window[_0x533ee6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16ac3e[_0x533ee6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1562d0,_0x1562d0+0x2));_0x1ae629>=_0x747302[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ae629-=_0x747302[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c3c4e+=_0x747302[_0x1ae629];}return _0x4c3c4e;}function _0x42c1c8(){const _0x32d3d0=_0x52daa2[_0x533ee6([0x73,0x70,0x6c,0x69,0x74])](_0x533ee6([0x2e]));if(0x3!=_0x32d3d0[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x357ea3(_0x32d3d0[0x1]);function _0x357ea3(_0x2f14f6){const _0x105c75=_0x1d87ce(_0x2f14f6);return _0x105c75&&_0x4d5097()?_0x105c75:null;function _0x4d5097(){const _0x389f30=_0x105c75[_0x533ee6([0x6a,0x74,0x69])],_0x2e2eba=window[_0x533ee6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x389f30[_0x533ee6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x389f30[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd6faa2={..._0x105c75,[_0x533ee6([0x6a,0x74,0x69])]:_0x389f30[_0x533ee6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x389f30[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd6faa2[_0x533ee6([0x76,0x63])],_0x2f3df6(_0xd6faa2)==_0x2e2eba;}}}async function _0x494046(){let _0x4fb9bc=!0x0;try{const _0x2ed9ab=_0x52daa2[_0x533ee6([0x73,0x70,0x6c,0x69,0x74])](_0x533ee6([0x2e])),[_0x36fa58,_0x211441,_0x57fd3a]=_0x2ed9ab;return _0x36c830(_0x36fa58),await _0x47339d(_0x36fa58,_0x211441,_0x57fd3a),_0x4fb9bc;}catch{return!0x1;}function _0x36c830(_0xe70df1){const _0x220eae=_0x1d87ce(_0xe70df1);_0x220eae&&_0x220eae[_0x533ee6([0x61,0x6c,0x67])]==_0x533ee6([0x45,0x53,0x32,0x35,0x36])||(_0x4fb9bc=!0x1);}async function _0x47339d(_0x3becfb,_0x4fe49f,_0x354b5c){const _0x57acce=window[_0x533ee6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x533ee6([0x66,0x72,0x6f,0x6d])](_0x34f02f(_0x354b5c),_0x2a8ad3=>_0x2a8ad3[_0x533ee6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32dbf7=new window[(_0x533ee6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x533ee6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3becfb+_0x533ee6([0x2e])+_0x4fe49f),_0x278fbc=window[_0x533ee6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x533ee6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x278fbc)return;const _0x48b041=await _0x278fbc[_0x533ee6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x533ee6([0x6a,0x77,0x6b]),_0x34b7e2,{[_0x533ee6([0x6e,0x61,0x6d,0x65])]:_0x533ee6([0x45,0x43,0x44,0x53,0x41]),[_0x533ee6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x533ee6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x533ee6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x278fbc[_0x533ee6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x533ee6([0x6e,0x61,0x6d,0x65])]:_0x533ee6([0x45,0x43,0x44,0x53,0x41]),[_0x533ee6([0x68,0x61,0x73,0x68])]:{[_0x533ee6([0x6e,0x61,0x6d,0x65])]:_0x533ee6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48b041,_0x57acce,_0x32dbf7)||(_0x4fb9bc=!0x1);}}function _0x1d87ce(_0x4434c8){return _0x4434c8[_0x533ee6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x533ee6([0x65,0x79]))?JSON[_0x533ee6([0x70,0x61,0x72,0x73,0x65])](_0x34f02f(_0x4434c8)):null;}function _0x34f02f(_0xc2db49){return window[_0x533ee6([0x61,0x74,0x6f,0x62])](_0xc2db49[_0x533ee6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x533ee6([0x2b]))[_0x533ee6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x533ee6([0x2f])));}function _0x2f3df6(_0x614b26){let _0x2aff19=0x1505;function _0x3549eb(_0xb9dd73){for(let _0x1ec268=0x0;_0x1ec268<_0xb9dd73[_0x533ee6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ec268++){const _0x412005=_0xb9dd73[_0x533ee6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ec268);_0x2aff19=(_0x2aff19<<0x5)+_0x2aff19+_0x412005,_0x2aff19&=_0x2aff19;}}function _0x132a37(_0x137098){Array[_0x533ee6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x137098)?_0x137098[_0x533ee6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x132a37):_0x137098&&typeof _0x137098==_0x533ee6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x533ee6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x137098)[_0x533ee6([0x73,0x6f,0x72,0x74])]()[_0x533ee6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b2c71,_0x29dcec])=>{_0x3549eb(_0x3b2c71),_0x132a37(_0x29dcec);}):_0x3549eb(window[_0x533ee6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x137098));}return _0x132a37(_0x614b26),_0x2aff19>>>0x0;}function _0x18a9fe(_0x234c46){return _0x234c46[_0x533ee6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x533ee6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x533ee6([0x30]));}function _0x42e28e(_0x55d4be){return _0x55d4be[_0x533ee6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x533ee6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x533ee6([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d19f8(){}function _0x533ee6(_0x4a0230){const _0x3ed247=_0x18de;return _0x4a0230[_0x3ed247(0x1c7)](_0x59552c=>String[_0x3ed247(0x191)](_0x59552c))[_0x3ed247(0x199)]('');}_0x171673(await _0x3ecffb());}(this);}[_0x48df96(0x187)](){const _0x47f5dd=_0x48df96,_0x112d47=this[_0x47f5dd(0x1b3)][_0x47f5dd(0x195)][_0x47f5dd(0x1cf)];_0x112d47[_0x47f5dd(0x1b5)](_0x47f5dd(0x1c4))&&_0x112d47[_0x47f5dd(0x19f)](_0x47f5dd(0x1c4),{'allowAttributes':[_0x47f5dd(0x196)]}),_0x112d47[_0x47f5dd(0x1b5)](_0x47f5dd(0x17c))&&_0x112d47[_0x47f5dd(0x19f)](_0x47f5dd(0x17c),{'allowAttributes':[_0x47f5dd(0x196)]});}[_0x48df96(0x19a)](){const _0x5e3598=_0x48df96,_0x93114d=this[_0x5e3598(0x1b3)];_0x93114d[_0x5e3598(0x17b)][_0x5e3598(0x1b4)](_0x5e3598(0x194))[_0x5e3598(0x1ac)]({'model':_0x5e3598(0x196),'view':_0x5e3598(0x1cd)}),_0x93114d[_0x5e3598(0x17b)][_0x5e3598(0x1b4)](_0x5e3598(0x1ae))[_0x5e3598(0x189)]({'model':{'key':_0x5e3598(0x196),'value':_0x19a2a5=>_0x19a2a5[_0x5e3598(0x1b0)](_0x5e3598(0x1cd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x6bdaba=_0x93114d[_0x5e3598(0x1a0)][_0x5e3598(0x1bd)](_0x5e3598(0x1bc));_0x6bdaba&&this[_0x5e3598(0x1a3)](_0x6bdaba,_0x5e3598(0x1bf),(_0x61a241,[_0x2233c5,_0x3b0145])=>{const _0x147eb0=_0x5e3598;_0x2233c5[_0x147eb0(0x1cb)](_0x147eb0(0x196),_0x3b0145);});}[_0x48df96(0x1af)](){const _0x1dcc04=_0x48df96,_0x4cf047=this[_0x1dcc04(0x1b3)][_0x1dcc04(0x180)][_0x1dcc04(0x1bd)](_0x1dcc04(0x1b9))||{},_0x58dc67=this[_0x1dcc04(0x1b3)][_0x1dcc04(0x180)][_0x1dcc04(0x1bd)](_0x1dcc04(0x1b8))||'';this[_0x1dcc04(0x18b)]=_0x13aa04(_0x30c28e[_0x1dcc04(0x1c9)],_0x1dcc04(0x1c0),{..._0x4cf047,'pubkey':_0x58dc67,'ctx-name':_0x1dcc04(0x183)+this[_0x1dcc04(0x186)],'sourceList':'','imgOnly':_0x1dcc04(0x190),'removeCopyright':_0x1dcc04(0x190),'localeName':this[_0x1dcc04(0x1b3)][_0x1dcc04(0x188)][_0x1dcc04(0x197)],'externalSourcesEmbedCss':_0x1dcc04(0x1b7)}),this[_0x1dcc04(0x18b)][_0x1dcc04(0x18a)]=_0x581307=>{const _0x4dd142=_0x1dcc04;if(_0x4dd142(0x1ce)==_0x581307)return _0x4dd142(0x193);},_0x30c28e[_0x1dcc04(0x1c9)][_0x1dcc04(0x19d)][_0x1dcc04(0x1c6)](this[_0x1dcc04(0x18b)]);}[_0x48df96(0x1bb)](){const _0x2e1cef=_0x48df96;this[_0x2e1cef(0x1c2)]=_0x13aa04(_0x30c28e[_0x2e1cef(0x1c9)],_0x2e1cef(0x1a6),{'ctx-name':_0x2e1cef(0x183)+this[_0x2e1cef(0x186)]}),_0x30c28e[_0x2e1cef(0x1c9)][_0x2e1cef(0x19d)][_0x2e1cef(0x1c6)](this[_0x2e1cef(0x1c2)]);}[_0x48df96(0x18d)](){const _0x38756c=_0x48df96,_0x1cff0e=this[_0x38756c(0x1b3)][_0x38756c(0x1a0)][_0x38756c(0x1bd)](_0x38756c(0x1ca));_0x1cff0e&&this[_0x38756c(0x1a3)](_0x1cff0e,_0x38756c(0x184),()=>{const _0x85c797=_0x38756c,_0x3b947a=this[_0x85c797(0x1b3)][_0x85c797(0x195)][_0x85c797(0x1c9)][_0x85c797(0x1a9)][_0x85c797(0x1b1)]();_0x3b947a&&_0x3b947a[_0x85c797(0x1b0)](_0x85c797(0x196))&&this[_0x85c797(0x1b3)][_0x85c797(0x18c)][_0x85c797(0x17e)][_0x85c797(0x1c1)](_0x85c797(0x1d0),()=>{const _0x9a2d01=_0x85c797;_0x6499c4(this[_0x9a2d01(0x1b3)],_0x3b947a);});});const _0x3aca26=this[_0x38756c(0x1b3)][_0x38756c(0x1a0)][_0x38756c(0x1bd)](_0x38756c(0x1b6));_0x3aca26&&this[_0x38756c(0x1a3)](_0x3aca26,_0x38756c(0x184),()=>{const _0x21667b=_0x38756c,_0x1cca0b=this[_0x21667b(0x1b3)][_0x21667b(0x195)][_0x21667b(0x1c9)][_0x21667b(0x1a9)][_0x21667b(0x1b1)]();_0x1cca0b&&_0x1cca0b[_0x21667b(0x1b0)](_0x21667b(0x196))&&this[_0x21667b(0x1b3)][_0x21667b(0x18c)][_0x21667b(0x17e)][_0x21667b(0x1c1)](_0x21667b(0x1d0),()=>{const _0x4eff20=_0x21667b;_0x6499c4(this[_0x4eff20(0x1b3)],_0x1cca0b);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1f899e,ObservableMixin as _0x51dd1f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c78cb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3b4670}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x968a8c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x35d052}from'../../utils/uploadutils.js';import{getImageUrls as _0x136502,getImageDimension as _0x42811a}from'../../utils/editingutils.js';import{isAncestor as _0x399eb5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x51dd1f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x57f5f3,_0x28df97,_0xe1181c){super(),this['_editor']=_0x57f5f3,this['_dialog']=_0x28df97,this['_imageElement']=_0xe1181c,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 _0x42187f=this['_imageElement'],_0x250143=_0x42187f['getAttribute']('uploadcareImageId'),_0x3bee35=_0x42187f['getAttribute']('src');if(_0x250143)await this['_loadImageInfo'](_0x250143,_0x3bee35);else{if(this['_imageCache']['has'](_0x3bee35)){const _0x325811=this['_imageCache']['get'](_0x3bee35);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x325811['url'],this['imageDimension']=_0x325811['dimension'],this['imageId']=_0x325811['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x50405b}=this['_editor'],t=_0x50405b['t'],_0x33befb=new _0x968a8c(_0x50405b,this['imageStatus'],this['_attributes']);_0x33befb['bind']('status')['to'](this,'imageStatus'),_0x33befb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x33befb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x33befb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x33befb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b4670,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x33befb,'position':_0x5c78cb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x33befb['focus']();},'onHide':()=>{_0x33befb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37799b=>!_0x399eb5(_0x37799b,_0x33befb['element'])}});}['_loadImageInfo'](_0xff1c3a,_0x2b883e){return _0x35d052['getInfo'](_0xff1c3a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x704d54=>{const {width:_0x678921,height:_0x4cd0be}=_0x704d54['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b883e,this['imageDimension']={'width':_0x678921,'height':_0x4cd0be},this['imageId']=_0xff1c3a;})['catch'](_0x49155e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49155e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x41a21c,_0x2f257f){return this['_getImageAsFile'](_0x41a21c)['then'](_0x2195eb=>_0x35d052['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':_0x2f257f['signal'],'file':_0x2195eb,'onProgress':_0x2b3f4f=>{_0x2b3f4f&&_0x2b3f4f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b3f4f['value']));}}))['then'](_0x432040=>{const {width:_0x50e2d1,height:_0x57d523}=_0x432040['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x432040['cdnUrl'],this['imageDimension']={'width':_0x50e2d1,'height':_0x57d523},this['imageId']=_0x432040['uuid'],this['imageUploadProgress']=null;const _0x34e679=_0x41a21c['getAttribute']('src');this['_imageCache']['set'](_0x34e679,{'id':_0x432040['uuid'],'url':_0x432040['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x48c25a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x48c25a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24848f,_0x298302){_0x24848f['on']('apply',(_0x2d9774,_0x2325a1)=>{this['_replaceImage'](_0x298302,_0x2325a1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24848f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24848f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3207bf,_0x3f89e3,_0x41fac6){const _0x12c7f4=this['_editor'],{width:_0x239d29,height:_0x5dc0ab}=_0x42811a(_0x3f89e3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x49774a,imageSources:_0x3c24fa}=_0x136502(_0x3f89e3,_0x239d29);_0x12c7f4['model']['change'](_0x26c949=>{if('$graveyard'===_0x3207bf['root']['rootName']){_0x12c7f4['execute']('insertImage',{'imageType':_0x3207bf['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3207bf['getAttributes']()),'uploadcareImageId':_0x41fac6,'src':_0x49774a,'sources':_0x3c24fa,'width':_0x239d29,'height':_0x5dc0ab}});const _0x343735=_0x3207bf['getChildren']();_0x3207bf=_0x12c7f4['model']['document']['selection']['getSelectedElement']();for(const _0x5754c2 of _0x343735)_0x26c949['append'](_0x26c949['cloneElement'](_0x5754c2),_0x3207bf);}else _0x26c949['setSelection'](_0x3207bf,'on'),_0x12c7f4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3207bf['getAttributes']()),'uploadcareImageId':_0x41fac6,'src':_0x49774a,'sources':_0x3c24fa,'width':_0x239d29,'height':_0x5dc0ab},_0x3207bf);_0x26c949['setSelection'](_0x3207bf,'on');});}async['_getImageAsFile'](_0x31da2c){const _0x29d12c=_0x1f899e['window'],_0x5347af=_0x1f899e['document']['location']['href'],_0x426f77=new _0x29d12c['URL'](_0x31da2c['getAttribute']('src'),_0x5347af);if('data:'===_0x426f77['protocol']){const _0x203947=_0x426f77['href']['split'](','),_0x5ab643=_0x203947[0x0]['match'](/:(.*?);/)[0x1],_0x1da3c9=_0x5ab643['split']('/')[0x1],_0x49d3cf=_0x29d12c['atob'](_0x203947[_0x203947['length']-0x1]);let _0x5a2d06=_0x49d3cf['length'];const _0x81e64=new _0x29d12c['Uint8Array'](_0x5a2d06);for(;_0x5a2d06--;)_0x81e64[_0x5a2d06]=_0x49d3cf['charCodeAt'](_0x5a2d06);return new _0x29d12c['File']([_0x81e64],'image.'+_0x1da3c9,{'type':_0x5ab643});}const _0x5d2fd9=_0x426f77['href']['split']('/'),_0x4f64ee=_0x5d2fd9[_0x5d2fd9['length']-0x1],_0xfbd4aa=_0x4f64ee['split']('.')[0x1];return _0x29d12c['fetch'](_0x426f77['href'])['then'](_0x35e229=>_0x35e229['clone']()['blob']())['then'](_0x1e945c=>new _0x29d12c['File']([_0x1e945c],_0x4f64ee,{'type':'image/'+_0xfbd4aa}));}}
23
+ import{global as _0x52ae7a,ObservableMixin as _0x5274d6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x22b93f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x55e7b0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1189ac}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xfa9e62}from'../../utils/uploadutils.js';import{getImageUrls as _0x5ba97d,getImageDimension as _0x3be249}from'../../utils/editingutils.js';import{isAncestor as _0x48c559}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5274d6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x19dc83,_0x4393b3,_0x4a8b00){super(),this['_editor']=_0x19dc83,this['_dialog']=_0x4393b3,this['_imageElement']=_0x4a8b00,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 _0x2641f8=this['_imageElement'],_0x264aa8=_0x2641f8['getAttribute']('uploadcareImageId'),_0x51df76=_0x2641f8['getAttribute']('src');if(_0x264aa8)await this['_loadImageInfo'](_0x264aa8,_0x51df76);else{if(this['_imageCache']['has'](_0x51df76)){const _0x25bce7=this['_imageCache']['get'](_0x51df76);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25bce7['url'],this['imageDimension']=_0x25bce7['dimension'],this['imageId']=_0x25bce7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x14164a}=this['_editor'],t=_0x14164a['t'],_0x279f63=new _0x1189ac(_0x14164a,this['imageStatus'],this['_attributes']);_0x279f63['bind']('status')['to'](this,'imageStatus'),_0x279f63['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x279f63['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x279f63['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x279f63,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x55e7b0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x279f63,'position':_0x22b93f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x279f63['focus']();},'onHide':()=>{_0x279f63['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2da557=>!_0x48c559(_0x2da557,_0x279f63['element'])}});}['_loadImageInfo'](_0x57cd59,_0x5db2c3){return _0xfa9e62['getInfo'](_0x57cd59,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x36a282=>{const {width:_0x15cf9b,height:_0x343eba}=_0x36a282['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5db2c3,this['imageDimension']={'width':_0x15cf9b,'height':_0x343eba},this['imageId']=_0x57cd59;})['catch'](_0x118dab=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x118dab['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3742aa,_0xe93ffe){return this['_getImageAsFile'](_0x3742aa)['then'](_0x1b80ae=>_0xfa9e62['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':_0xe93ffe['signal'],'file':_0x1b80ae,'onProgress':_0x1a1df9=>{_0x1a1df9&&_0x1a1df9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1a1df9['value']));}}))['then'](_0x19cec4=>{const {width:_0x4f4236,height:_0x3177e4}=_0x19cec4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19cec4['cdnUrl'],this['imageDimension']={'width':_0x4f4236,'height':_0x3177e4},this['imageId']=_0x19cec4['uuid'],this['imageUploadProgress']=null;const _0x534dcb=_0x3742aa['getAttribute']('src');this['_imageCache']['set'](_0x534dcb,{'id':_0x19cec4['uuid'],'url':_0x19cec4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x32fad9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x32fad9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xb280cc,_0x1ef139){_0xb280cc['on']('apply',(_0x31912d,_0x3adfce)=>{this['_replaceImage'](_0x1ef139,_0x3adfce['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xb280cc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xb280cc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x558957,_0x47dd45,_0x1f1fed){const _0x22e299=this['_editor'],{width:_0x2636fe,height:_0x3be626}=_0x3be249(_0x47dd45,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3769f7,imageSources:_0x4cf463}=_0x5ba97d(_0x47dd45,_0x2636fe);_0x22e299['model']['change'](_0x3364c8=>{if('$graveyard'===_0x558957['root']['rootName']){_0x22e299['execute']('insertImage',{'imageType':_0x558957['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x558957['getAttributes']()),'uploadcareImageId':_0x1f1fed,'src':_0x3769f7,'sources':_0x4cf463,'width':_0x2636fe,'height':_0x3be626}});const _0x5af318=_0x558957['getChildren']();_0x558957=_0x22e299['model']['document']['selection']['getSelectedElement']();for(const _0x4c623c of _0x5af318)_0x3364c8['append'](_0x3364c8['cloneElement'](_0x4c623c),_0x558957);}else _0x3364c8['setSelection'](_0x558957,'on'),_0x22e299['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x558957['getAttributes']()),'uploadcareImageId':_0x1f1fed,'src':_0x3769f7,'sources':_0x4cf463,'width':_0x2636fe,'height':_0x3be626},_0x558957);_0x3364c8['setSelection'](_0x558957,'on');});}async['_getImageAsFile'](_0x367fe5){const _0x43b2b5=_0x52ae7a['window'],_0x9fd4b5=_0x52ae7a['document']['location']['href'],_0x4e4df2=new _0x43b2b5['URL'](_0x367fe5['getAttribute']('src'),_0x9fd4b5);if('data:'===_0x4e4df2['protocol']){const _0x1041df=_0x4e4df2['href']['split'](','),_0xdc9dda=_0x1041df[0x0]['match'](/:(.*?);/)[0x1],_0xe5baed=_0xdc9dda['split']('/')[0x1],_0x491c03=_0x43b2b5['atob'](_0x1041df[_0x1041df['length']-0x1]);let _0x5eb9a1=_0x491c03['length'];const _0x5c3344=new _0x43b2b5['Uint8Array'](_0x5eb9a1);for(;_0x5eb9a1--;)_0x5c3344[_0x5eb9a1]=_0x491c03['charCodeAt'](_0x5eb9a1);return new _0x43b2b5['File']([_0x5c3344],'image.'+_0xe5baed,{'type':_0xdc9dda});}const _0xfd142e=_0x4e4df2['href']['split']('/'),_0x175d6d=_0xfd142e[_0xfd142e['length']-0x1],_0x3ac95d=_0x175d6d['split']('.')[0x1];return _0x43b2b5['fetch'](_0x4e4df2['href'])['then'](_0x102643=>_0x102643['clone']()['blob']())['then'](_0x57dd25=>new _0x43b2b5['File']([_0x57dd25],_0x175d6d,{'type':'image/'+_0x3ac95d}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa7ab69,_0x272a01){const _0x1ad06f=_0x1614,_0x5a117d=_0xa7ab69();while(!![]){try{const _0x270a16=-parseInt(_0x1ad06f(0xf3))/0x1*(-parseInt(_0x1ad06f(0xf9))/0x2)+parseInt(_0x1ad06f(0xef))/0x3*(parseInt(_0x1ad06f(0xe9))/0x4)+parseInt(_0x1ad06f(0xea))/0x5*(-parseInt(_0x1ad06f(0xee))/0x6)+parseInt(_0x1ad06f(0xf2))/0x7+-parseInt(_0x1ad06f(0xec))/0x8+-parseInt(_0x1ad06f(0xf7))/0x9+parseInt(_0x1ad06f(0xf1))/0xa;if(_0x270a16===_0x272a01)break;else _0x5a117d['push'](_0x5a117d['shift']());}catch(_0x2319d7){_0x5a117d['push'](_0x5a117d['shift']());}}}(_0x3246,0x91b10));import{View as _0x12c1af}from'ckeditor5/src/ui.js';function _0x3246(){const _0x2bc5be=['imageSrc','4628GfwHSm','375XAlKwl','ck-uploadcare-theme','3966712TQtTam','uc-cloud-image-editor','54192zSflQE','633oYDCwN','set','1939680EHysjx','5126443TtNzWm','3Msctbp','bindTemplate','setTemplate','image-edit','1674378Xdlafd','uc-light','523726RfrBlh'];_0x3246=function(){return _0x2bc5be;};return _0x3246();}function _0x1614(_0x253cb8,_0xbe100d){const _0x3246ec=_0x3246();return _0x1614=function(_0x161416,_0x39c7d5){_0x161416=_0x161416-0xe9;let _0x1cfbc6=_0x3246ec[_0x161416];return _0x1cfbc6;},_0x1614(_0x253cb8,_0xbe100d);}export class UploadcareImageEditFormEditingView extends _0x12c1af{constructor(_0x1c3c80,_0x3a889b){const _0xf04f93=_0x1614;super(_0x1c3c80);const _0xcae9df=this[_0xf04f93(0xf4)];this[_0xf04f93(0xf0)](_0xf04f93(0xfa),''),this[_0xf04f93(0xf5)]({'tag':_0xf04f93(0xed),'attributes':{..._0x3a889b,'class':[_0xf04f93(0xf8),_0xf04f93(0xeb)],'ctx-name':_0xf04f93(0xf6),'cdn-url':_0xcae9df['to'](_0xf04f93(0xfa))}});}}
23
+ function _0x146b(){const _0x22dff9=['uc-cloud-image-editor','486084IXKQod','35EvFkpR','18DGjqQj','ck-uploadcare-theme','1024975SRdFyh','280671dwFeZS','set','36Hcuwrl','bindTemplate','18vrWQwL','imageSrc','image-edit','setTemplate','502660cSvyBP','uc-light','1920904PfVGxW','36648gzTmUX','12351251rwyUDH'];_0x146b=function(){return _0x22dff9;};return _0x146b();}(function(_0x1cfbbe,_0x5e406c){const _0x3c3d8d=_0x41cc,_0x57b533=_0x1cfbbe();while(!![]){try{const _0x595c98=parseInt(_0x3c3d8d(0x8f))/0x1+parseInt(_0x3c3d8d(0x94))/0x2*(parseInt(_0x3c3d8d(0x97))/0x3)+-parseInt(_0x3c3d8d(0x92))/0x4*(parseInt(_0x3c3d8d(0x93))/0x5)+-parseInt(_0x3c3d8d(0x88))/0x6*(-parseInt(_0x3c3d8d(0x96))/0x7)+-parseInt(_0x3c3d8d(0x8e))/0x8*(parseInt(_0x3c3d8d(0x86))/0x9)+parseInt(_0x3c3d8d(0x8c))/0xa+parseInt(_0x3c3d8d(0x90))/0xb;if(_0x595c98===_0x5e406c)break;else _0x57b533['push'](_0x57b533['shift']());}catch(_0x54291c){_0x57b533['push'](_0x57b533['shift']());}}}(_0x146b,0xa6008));import{View as _0x13e744}from'ckeditor5/src/ui.js';function _0x41cc(_0x22daac,_0x3e884f){const _0x146b28=_0x146b();return _0x41cc=function(_0x41ccf2,_0x3295eb){_0x41ccf2=_0x41ccf2-0x86;let _0xb87bc3=_0x146b28[_0x41ccf2];return _0xb87bc3;},_0x41cc(_0x22daac,_0x3e884f);}export class UploadcareImageEditFormEditingView extends _0x13e744{constructor(_0x2d860b,_0x306adb){const _0x527e12=_0x41cc;super(_0x2d860b);const _0x5b18a9=this[_0x527e12(0x87)];this[_0x527e12(0x98)](_0x527e12(0x89),''),this[_0x527e12(0x8b)]({'tag':_0x527e12(0x91),'attributes':{..._0x306adb,'class':[_0x527e12(0x8d),_0x527e12(0x95)],'ctx-name':_0x527e12(0x8a),'cdn-url':_0x5b18a9['to'](_0x527e12(0x89))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x40bb5f}from'ckeditor5/src/icons.js';import{ButtonView as _0x43e3f4,IconView as _0x598b82,View as _0x3ab0fe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ab0fe{constructor(_0x1c7560){super(_0x1c7560);const t=_0x1c7560['t'];this['set']('errorType',null);const _0x2a858d=new _0x43e3f4(_0x1c7560);_0x2a858d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a858d['withText']=!0x0,_0x2a858d['class']='ck-button-action',_0x2a858d['on']('execute',()=>{this['fire']('retry');}),_0x2a858d['bind']('isVisible')['to'](this,'errorType',_0x54b42b=>'NotFound'!==_0x54b42b);const _0xcb10f3=new _0x598b82();_0xcb10f3['content']=_0x40bb5f,_0xcb10f3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x387084=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':[_0xcb10f3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x387084['to']('errorType',_0x1fa117=>t('NotFound'!==_0x1fa117?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a858d]},{'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 _0x1f5578}from'ckeditor5/src/icons.js';import{ButtonView as _0x9d0265,IconView as _0x5182da,View as _0x5ad369}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5ad369{constructor(_0x3b48ba){super(_0x3b48ba);const t=_0x3b48ba['t'];this['set']('errorType',null);const _0x2f47b7=new _0x9d0265(_0x3b48ba);_0x2f47b7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2f47b7['withText']=!0x0,_0x2f47b7['class']='ck-button-action',_0x2f47b7['on']('execute',()=>{this['fire']('retry');}),_0x2f47b7['bind']('isVisible')['to'](this,'errorType',_0x1e3cd9=>'NotFound'!==_0x1e3cd9);const _0x5aa6f2=new _0x5182da();_0x5aa6f2['content']=_0x1f5578,_0x5aa6f2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5169ca=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':[_0x5aa6f2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5169ca['to']('errorType',_0x1a69cc=>t('NotFound'!==_0x1a69cc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2f47b7]},{'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 _0x2b09bf,View as _0x277707}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x277707{constructor(_0x51ad21){super(_0x51ad21);const t=_0x51ad21['t'],_0x3710a8=this['bindTemplate'],_0x200e3a=new _0x2b09bf();_0x200e3a['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':[_0x200e3a,{'text':_0x3710a8['to']('imageUploadProgress',_0x25b6ce=>t('Loading\x20image...')+'\x20('+(_0x25b6ce||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 _0x496373,View as _0x239d95}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x239d95{constructor(_0xa8e42b){super(_0xa8e42b);const t=_0xa8e42b['t'],_0xb42172=this['bindTemplate'],_0x55380b=new _0x496373();_0x55380b['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':[_0x55380b,{'text':_0xb42172['to']('imageUploadProgress',_0x140e59=>t('Loading\x20image...')+'\x20('+(_0x140e59||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 _0x3d827d=_0x3f73;(function(_0x58f296,_0x414d39){const _0x2ac221=_0x3f73,_0x3a988b=_0x58f296();while(!![]){try{const _0xfc5f4d=-parseInt(_0x2ac221(0x132))/0x1*(-parseInt(_0x2ac221(0x102))/0x2)+-parseInt(_0x2ac221(0x12b))/0x3+parseInt(_0x2ac221(0x127))/0x4+-parseInt(_0x2ac221(0x121))/0x5+-parseInt(_0x2ac221(0x10e))/0x6*(parseInt(_0x2ac221(0x130))/0x7)+parseInt(_0x2ac221(0x126))/0x8+parseInt(_0x2ac221(0x135))/0x9*(parseInt(_0x2ac221(0x10f))/0xa);if(_0xfc5f4d===_0x414d39)break;else _0x3a988b['push'](_0x3a988b['shift']());}catch(_0x13b1d5){_0x3a988b['push'](_0x3a988b['shift']());}}}(_0x186c,0x32d91));function _0x3f73(_0x2916f1,_0x3b149f){const _0x186c5e=_0x186c();return _0x3f73=function(_0x3f7370,_0x4c15cd){_0x3f7370=_0x3f7370-0xff;let _0x2d892c=_0x186c5e[_0x3f7370];return _0x2d892c;},_0x3f73(_0x2916f1,_0x3b149f);}import{View as _0x37df10}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x52bf9f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2dddc1}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a0d73}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x21d46c}from'../../utils/dialogfocusmanagerview.js';function _0x186c(){const _0x524edb=['length','ck-reset_all-excluded','41520OQdAFe','1201984iNWCPy','render','uploading','addEventListener','591504RyYJgn','target','retry','addMany','_waitForImageEditorComponent','77LCuiPK','_loadingView','240640WXmIvW','detail','cancel','3109005poHzKU','_setView','uc-cloud-image-editor','_addUploadcareImageEditorListeners','2ewdRgm','fire','setTemplate','observe','createCollection','disconnect','add','_errorView','focus','ready','nodeName','clear','212526AbIZLL','10ywFvqs','div','element','status','toLowerCase','_addErrorViewListeners','change:status','_editingView','querySelector','getFocusableElement','once','error','filter','_items','cdnUrl','set','addedNodes','apply','483495hNLvuJ','ck-uploadcare-form','_focusableView'];_0x186c=function(){return _0x524edb;};return _0x186c();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x21d46c{[_0x3d827d(0x11c)];[_0x3d827d(0x131)];[_0x3d827d(0x109)];[_0x3d827d(0x116)];[_0x3d827d(0x123)];constructor(_0x575d7a,_0x1cdd6d,_0x5db987){const _0x5dd81a=_0x3d827d;super(_0x575d7a),this[_0x5dd81a(0x11c)]=this[_0x5dd81a(0x106)](),this[_0x5dd81a(0x131)]=new _0x52bf9f(_0x575d7a),this[_0x5dd81a(0x109)]=new _0x2dddc1(_0x575d7a),this[_0x5dd81a(0x116)]=new _0x3a0d73(_0x575d7a,_0x5db987),this[_0x5dd81a(0x123)]=new _0x37df10(_0x575d7a),this[_0x5dd81a(0x123)][_0x5dd81a(0x104)](this[_0x5dd81a(0x118)]()),this[_0x5dd81a(0x11e)](_0x5dd81a(0x112),_0x1cdd6d),this[_0x5dd81a(0x104)]({'tag':_0x5dd81a(0x110),'attributes':{'class':['ck',_0x5dd81a(0x125),_0x5dd81a(0x122)],'tabindex':'-1'},'children':this[_0x5dd81a(0x11c)]}),this[_0x5dd81a(0xff)](),this[_0x5dd81a(0x119)](_0x5dd81a(0x128),()=>{const _0x9c602b=_0x5dd81a;this[_0x9c602b(0x12f)](this[_0x9c602b(0x111)],_0x34ee23=>{const _0x1c70a3=_0x9c602b;this[_0x1c70a3(0x101)](_0x34ee23);});}),this['on'](_0x5dd81a(0x115),()=>{const _0x5df0a3=_0x5dd81a;this[_0x5df0a3(0xff)]();}),this[_0x5dd81a(0x114)]();}[_0x3d827d(0x10a)](){const _0x34e17f=_0x3d827d;this[_0x34e17f(0x111)][_0x34e17f(0x10a)]();}[_0x3d827d(0xff)](){const _0x4e1a90=_0x3d827d;switch(this[_0x4e1a90(0x11c)][_0x4e1a90(0x10d)](),this[_0x4e1a90(0x112)]){case _0x4e1a90(0x129):this[_0x4e1a90(0x11c)][_0x4e1a90(0x108)](this[_0x4e1a90(0x131)]);break;case _0x4e1a90(0x11a):this[_0x4e1a90(0x11c)][_0x4e1a90(0x108)](this[_0x4e1a90(0x109)]);break;case _0x4e1a90(0x10b):this[_0x4e1a90(0x11c)][_0x4e1a90(0x12e)]([this[_0x4e1a90(0x116)],this[_0x4e1a90(0x123)]]);}}[_0x3d827d(0x12f)](_0x314621,_0x37844b){const _0x3c128b=_0x3d827d,_0x27ac1e=_0x3c128b(0x100),_0x1ab653=_0x314621[_0x3c128b(0x117)](_0x27ac1e);if(_0x1ab653)return _0x37844b(_0x1ab653);const _0x2a265e=new MutationObserver(_0x4e7726=>{const _0x5aedd6=_0x3c128b,_0x2cb713=_0x4e7726[_0x5aedd6(0x11b)](_0x539039=>_0x539039[_0x5aedd6(0x12c)]===_0x314621&&_0x539039[_0x5aedd6(0x11f)][_0x5aedd6(0x124)]>0x0&&_0x539039[_0x5aedd6(0x11f)][0x0][_0x5aedd6(0x10c)][_0x5aedd6(0x113)]()===_0x27ac1e);_0x2cb713[_0x5aedd6(0x124)]&&(_0x2a265e[_0x5aedd6(0x107)](),_0x37844b(_0x2cb713[0x0][_0x5aedd6(0x11f)][0x0]));});_0x2a265e[_0x3c128b(0x105)](_0x314621,{'childList':!0x0,'subtree':!0x0});}[_0x3d827d(0x101)](_0x12b512){const _0x3b0843=_0x3d827d;_0x12b512[_0x3b0843(0x12a)](_0x3b0843(0x120),_0x52ceee=>{const _0x2557b6=_0x3b0843;this[_0x2557b6(0x103)](_0x2557b6(0x120),{'imageSrc':_0x52ceee[_0x2557b6(0x133)][_0x2557b6(0x11d)]});}),_0x12b512[_0x3b0843(0x12a)](_0x3b0843(0x134),()=>{const _0x48eb4e=_0x3b0843;this[_0x48eb4e(0x103)](_0x48eb4e(0x134));});}[_0x3d827d(0x114)](){const _0x41c07a=_0x3d827d;this[_0x41c07a(0x109)]['on'](_0x41c07a(0x12d),()=>{const _0x56110a=_0x41c07a;this[_0x56110a(0x103)](_0x56110a(0x12d));});}}
23
+ const _0x2478bd=_0x1582;(function(_0x5ce9f7,_0xcf2ab0){const _0x223650=_0x1582,_0x140ee4=_0x5ce9f7();while(!![]){try{const _0x3d1c3a=-parseInt(_0x223650(0x1f1))/0x1*(-parseInt(_0x223650(0x204))/0x2)+parseInt(_0x223650(0x201))/0x3*(-parseInt(_0x223650(0x1e2))/0x4)+parseInt(_0x223650(0x1f7))/0x5*(-parseInt(_0x223650(0x1db))/0x6)+-parseInt(_0x223650(0x1e3))/0x7*(parseInt(_0x223650(0x205))/0x8)+-parseInt(_0x223650(0x1ff))/0x9*(parseInt(_0x223650(0x1e8))/0xa)+-parseInt(_0x223650(0x20d))/0xb+parseInt(_0x223650(0x1f5))/0xc;if(_0x3d1c3a===_0xcf2ab0)break;else _0x140ee4['push'](_0x140ee4['shift']());}catch(_0x54640c){_0x140ee4['push'](_0x140ee4['shift']());}}}(_0x6baf,0xe49d6));import{View as _0x2a66cc}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x58ae0b}from'./uploadcareimageeditformloadingview.js';function _0x1582(_0x14983a,_0x2ceb65){const _0x6baf8=_0x6baf();return _0x1582=function(_0x158281,_0x1a977d){_0x158281=_0x158281-0x1d5;let _0x1cc40d=_0x6baf8[_0x158281];return _0x1cc40d;},_0x1582(_0x14983a,_0x2ceb65);}import{UploadcareImageEditFormErrorView as _0x5e16c8}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5c3df2}from'./uploadcareimageeditformeditingview.js';function _0x6baf(){const _0x23fa92=['ck-reset_all-excluded','addedNodes','filter','element','ready','44040dgTWXp','setTemplate','addMany','querySelector','41027148mVwsGv','target','5LRTkUh','_addErrorViewListeners','uc-cloud-image-editor','retry','error','cdnUrl','render','_loadingView','9CicKyC','observe','18FsSOQr','once','_addUploadcareImageEditorListeners','62lYijSj','17416BBSglk','_errorView','_editingView','_items','change:status','focus','apply','_focusableView','13843522cVmCSv','createCollection','length','getFocusableElement','fire','clear','status','2527284QFczXA','toLowerCase','nodeName','_setView','addEventListener','disconnect','add','77052vxMFKo','1330YRnLIJ','detail','set','ck-uploadcare-form','div','16388390fpYATB','_waitForImageEditorComponent','cancel','uploading'];_0x6baf=function(){return _0x23fa92;};return _0x6baf();}import{DialogFocusManagerView as _0x326439}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x326439{[_0x2478bd(0x208)];[_0x2478bd(0x1fe)];[_0x2478bd(0x206)];[_0x2478bd(0x207)];[_0x2478bd(0x20c)];constructor(_0x524481,_0x18d2a0,_0x340e49){const _0xc86946=_0x2478bd;super(_0x524481),this[_0xc86946(0x208)]=this[_0xc86946(0x1d5)](),this[_0xc86946(0x1fe)]=new _0x58ae0b(_0x524481),this[_0xc86946(0x206)]=new _0x5e16c8(_0x524481),this[_0xc86946(0x207)]=new _0x5c3df2(_0x524481,_0x340e49),this[_0xc86946(0x20c)]=new _0x2a66cc(_0x524481),this[_0xc86946(0x20c)][_0xc86946(0x1f2)](this[_0xc86946(0x1d7)]()),this[_0xc86946(0x1e5)](_0xc86946(0x1da),_0x18d2a0),this[_0xc86946(0x1f2)]({'tag':_0xc86946(0x1e7),'attributes':{'class':['ck',_0xc86946(0x1ec),_0xc86946(0x1e6)],'tabindex':'-1'},'children':this[_0xc86946(0x208)]}),this[_0xc86946(0x1de)](),this[_0xc86946(0x202)](_0xc86946(0x1fd),()=>{const _0x30fd03=_0xc86946;this[_0x30fd03(0x1e9)](this[_0x30fd03(0x1ef)],_0x259286=>{const _0x428fcf=_0x30fd03;this[_0x428fcf(0x203)](_0x259286);});}),this['on'](_0xc86946(0x209),()=>{const _0x587112=_0xc86946;this[_0x587112(0x1de)]();}),this[_0xc86946(0x1f8)]();}[_0x2478bd(0x20a)](){const _0x11e6b2=_0x2478bd;this[_0x11e6b2(0x1ef)][_0x11e6b2(0x20a)]();}[_0x2478bd(0x1de)](){const _0x336bcf=_0x2478bd;switch(this[_0x336bcf(0x208)][_0x336bcf(0x1d9)](),this[_0x336bcf(0x1da)]){case _0x336bcf(0x1eb):this[_0x336bcf(0x208)][_0x336bcf(0x1e1)](this[_0x336bcf(0x1fe)]);break;case _0x336bcf(0x1fb):this[_0x336bcf(0x208)][_0x336bcf(0x1e1)](this[_0x336bcf(0x206)]);break;case _0x336bcf(0x1f0):this[_0x336bcf(0x208)][_0x336bcf(0x1f3)]([this[_0x336bcf(0x207)],this[_0x336bcf(0x20c)]]);}}[_0x2478bd(0x1e9)](_0x19ec57,_0x514703){const _0x1f677d=_0x2478bd,_0xd108a3=_0x1f677d(0x1f9),_0x115ce8=_0x19ec57[_0x1f677d(0x1f4)](_0xd108a3);if(_0x115ce8)return _0x514703(_0x115ce8);const _0xa7103b=new MutationObserver(_0x1e4ad8=>{const _0x37a9da=_0x1f677d,_0x58f155=_0x1e4ad8[_0x37a9da(0x1ee)](_0x107f9a=>_0x107f9a[_0x37a9da(0x1f6)]===_0x19ec57&&_0x107f9a[_0x37a9da(0x1ed)][_0x37a9da(0x1d6)]>0x0&&_0x107f9a[_0x37a9da(0x1ed)][0x0][_0x37a9da(0x1dd)][_0x37a9da(0x1dc)]()===_0xd108a3);_0x58f155[_0x37a9da(0x1d6)]&&(_0xa7103b[_0x37a9da(0x1e0)](),_0x514703(_0x58f155[0x0][_0x37a9da(0x1ed)][0x0]));});_0xa7103b[_0x1f677d(0x200)](_0x19ec57,{'childList':!0x0,'subtree':!0x0});}[_0x2478bd(0x203)](_0x254cfe){const _0x4c5121=_0x2478bd;_0x254cfe[_0x4c5121(0x1df)](_0x4c5121(0x20b),_0x5a8fe6=>{const _0x54f2b6=_0x4c5121;this[_0x54f2b6(0x1d8)](_0x54f2b6(0x20b),{'imageSrc':_0x5a8fe6[_0x54f2b6(0x1e4)][_0x54f2b6(0x1fc)]});}),_0x254cfe[_0x4c5121(0x1df)](_0x4c5121(0x1ea),()=>{const _0x482d24=_0x4c5121;this[_0x482d24(0x1d8)](_0x482d24(0x1ea));});}[_0x2478bd(0x1f8)](){const _0x5ebbbf=_0x2478bd;this[_0x5ebbbf(0x206)]['on'](_0x5ebbbf(0x1fa),()=>{const _0xa1d392=_0x5ebbbf;this[_0xa1d392(0x1d8)](_0xa1d392(0x1fa));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12b21a=_0x1261;(function(_0x2c694d,_0x391be0){const _0x3fad58=_0x1261,_0x4e8ee5=_0x2c694d();while(!![]){try{const _0x19281e=parseInt(_0x3fad58(0x7b))/0x1+-parseInt(_0x3fad58(0x84))/0x2+-parseInt(_0x3fad58(0x80))/0x3*(parseInt(_0x3fad58(0x81))/0x4)+parseInt(_0x3fad58(0x88))/0x5+parseInt(_0x3fad58(0x89))/0x6+-parseInt(_0x3fad58(0x8f))/0x7*(parseInt(_0x3fad58(0x86))/0x8)+parseInt(_0x3fad58(0x8d))/0x9;if(_0x19281e===_0x391be0)break;else _0x4e8ee5['push'](_0x4e8ee5['shift']());}catch(_0x40ca73){_0x4e8ee5['push'](_0x4e8ee5['shift']());}}}(_0x272a,0x9414f));function _0x1261(_0x52f955,_0x3f98c8){const _0x272ac4=_0x272a();return _0x1261=function(_0x1261b2,_0xb75eb9){_0x1261b2=_0x1261b2-0x75;let _0x14e6db=_0x272ac4[_0x1261b2];return _0x14e6db;},_0x1261(_0x52f955,_0x3f98c8);}import{Command as _0x3c7054}from'ckeditor5/src/core.js';import{Dialog as _0xbe81aa}from'ckeditor5/src/ui.js';function _0x272a(){const _0x4846d3=['_isEditable','10068714GZZdkH','execute','1390361lzZncf','editor','isEnabled','uploadcare.allowExternalImagesEditing','getSelectedElement','document','plugins','model','get','imageBlock','set','551923NWrqLH','element','imageEditController','isActive','unbind','1394259EVdVSz','8prgnPS','bind','selection','1300944NVgIJp','imageInline','8zpiclh','requires','459635VokNPD','3735288PlvdBC','refresh','config'];_0x272a=function(){return _0x4846d3;};return _0x272a();}import{UploadcareImageEditController as _0x20502c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3ba500}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3c7054{[_0x12b21a(0x7d)];static get[_0x12b21a(0x87)](){return[_0xbe81aa];}[_0x12b21a(0x8c)];constructor(_0x299a7a){const _0x56948d=_0x12b21a;super(_0x299a7a),this[_0x56948d(0x7d)]=void 0x0,this[_0x56948d(0x8c)]=_0x3ba500(_0x299a7a[_0x56948d(0x8b)][_0x56948d(0x78)](_0x56948d(0x92))||[]),this[_0x56948d(0x7a)]({'isActive':!0x1});}[_0x12b21a(0x8a)](){const _0x548a9e=_0x12b21a,_0x34bde8=this[_0x548a9e(0x90)][_0x548a9e(0x77)][_0x548a9e(0x75)][_0x548a9e(0x83)][_0x548a9e(0x93)]();this[_0x548a9e(0x91)]=this[_0x548a9e(0x8c)](_0x34bde8);}[_0x12b21a(0x8e)](){const _0x5966b6=_0x12b21a;this[_0x5966b6(0x7d)]&&(this[_0x5966b6(0x7f)](_0x5966b6(0x7e)),this[_0x5966b6(0x7d)]=void 0x0);const _0x4f04ed=this[_0x5966b6(0x90)][_0x5966b6(0x77)][_0x5966b6(0x75)][_0x5966b6(0x83)][_0x5966b6(0x93)]();_0x4f04ed&&(_0x4f04ed['is'](_0x5966b6(0x7c),_0x5966b6(0x79))||_0x4f04ed['is'](_0x5966b6(0x7c),_0x5966b6(0x85)))&&(this[_0x5966b6(0x7d)]=new _0x20502c(this[_0x5966b6(0x90)],this[_0x5966b6(0x90)][_0x5966b6(0x76)][_0x5966b6(0x78)](_0xbe81aa),_0x4f04ed),this[_0x5966b6(0x82)](_0x5966b6(0x7e))['to'](this[_0x5966b6(0x7d)],_0x5966b6(0x7e)));}}
23
+ const _0x2d8bbd=_0xc567;(function(_0x2f3dbe,_0x58926a){const _0x153380=_0xc567,_0x247a5c=_0x2f3dbe();while(!![]){try{const _0x41a532=parseInt(_0x153380(0x146))/0x1+parseInt(_0x153380(0x13f))/0x2*(parseInt(_0x153380(0x152))/0x3)+-parseInt(_0x153380(0x142))/0x4+-parseInt(_0x153380(0x13e))/0x5*(-parseInt(_0x153380(0x14b))/0x6)+parseInt(_0x153380(0x13d))/0x7+-parseInt(_0x153380(0x135))/0x8*(-parseInt(_0x153380(0x144))/0x9)+-parseInt(_0x153380(0x153))/0xa*(parseInt(_0x153380(0x136))/0xb);if(_0x41a532===_0x58926a)break;else _0x247a5c['push'](_0x247a5c['shift']());}catch(_0x3066a5){_0x247a5c['push'](_0x247a5c['shift']());}}}(_0x35e3,0xf2c84));import{Command as _0x3a0025}from'ckeditor5/src/core.js';function _0x35e3(){const _0x37040e=['model','612483XIKKFI','20wXOBrT','element','editor','8TYRKoF','19230310rBbgZl','imageInline','bind','isEnabled','getSelectedElement','imageEditController','isActive','3252788hYXxzz','2846790ltCuFP','4MzfhNU','unbind','execute','668492jFasiK','get','2022066RGCGap','config','1852225cVCSal','_isEditable','refresh','document','set','18VkzWAz','uploadcare.allowExternalImagesEditing','plugins','imageBlock','selection','requires'];_0x35e3=function(){return _0x37040e;};return _0x35e3();}import{Dialog as _0x13407c}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x20376c}from'./ui/uploadcareimageeditcontroller.js';function _0xc567(_0x72bd28,_0x68b215){const _0x35e31f=_0x35e3();return _0xc567=function(_0xc56715,_0xc7eb51){_0xc56715=_0xc56715-0x135;let _0x1ce919=_0x35e31f[_0xc56715];return _0x1ce919;},_0xc567(_0x72bd28,_0x68b215);}import{createEditabilityChecker as _0x5c26e2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3a0025{[_0x2d8bbd(0x13b)];static get[_0x2d8bbd(0x150)](){return[_0x13407c];}[_0x2d8bbd(0x147)];constructor(_0x19380d){const _0x507c7b=_0x2d8bbd;super(_0x19380d),this[_0x507c7b(0x13b)]=void 0x0,this[_0x507c7b(0x147)]=_0x5c26e2(_0x19380d[_0x507c7b(0x145)][_0x507c7b(0x143)](_0x507c7b(0x14c))||[]),this[_0x507c7b(0x14a)]({'isActive':!0x1});}[_0x2d8bbd(0x148)](){const _0x440692=_0x2d8bbd,_0x1e2295=this[_0x440692(0x155)][_0x440692(0x151)][_0x440692(0x149)][_0x440692(0x14f)][_0x440692(0x13a)]();this[_0x440692(0x139)]=this[_0x440692(0x147)](_0x1e2295);}[_0x2d8bbd(0x141)](){const _0x2ca963=_0x2d8bbd;this[_0x2ca963(0x13b)]&&(this[_0x2ca963(0x140)](_0x2ca963(0x13c)),this[_0x2ca963(0x13b)]=void 0x0);const _0xf25190=this[_0x2ca963(0x155)][_0x2ca963(0x151)][_0x2ca963(0x149)][_0x2ca963(0x14f)][_0x2ca963(0x13a)]();_0xf25190&&(_0xf25190['is'](_0x2ca963(0x154),_0x2ca963(0x14e))||_0xf25190['is'](_0x2ca963(0x154),_0x2ca963(0x137)))&&(this[_0x2ca963(0x13b)]=new _0x20376c(this[_0x2ca963(0x155)],this[_0x2ca963(0x155)][_0x2ca963(0x14d)][_0x2ca963(0x143)](_0x13407c),_0xf25190),this[_0x2ca963(0x138)](_0x2ca963(0x13c))['to'](this[_0x2ca963(0x13b)],_0x2ca963(0x13c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x272c28=_0x3698;(function(_0x222542,_0x55cd08){const _0x15106a=_0x3698,_0x1c36d6=_0x222542();while(!![]){try{const _0x4d0eac=parseInt(_0x15106a(0x1e7))/0x1+parseInt(_0x15106a(0x1d7))/0x2+-parseInt(_0x15106a(0x1e3))/0x3+-parseInt(_0x15106a(0x1db))/0x4+-parseInt(_0x15106a(0x1d6))/0x5+parseInt(_0x15106a(0x1dc))/0x6+parseInt(_0x15106a(0x1da))/0x7*(parseInt(_0x15106a(0x1d8))/0x8);if(_0x4d0eac===_0x55cd08)break;else _0x1c36d6['push'](_0x1c36d6['shift']());}catch(_0x3ea9b5){_0x1c36d6['push'](_0x1c36d6['shift']());}}}(_0x46b7,0xc75c0));function _0x46b7(){const _0x3d8d9f=['2178533EvkStM','3426800mChsxs','4058640dhvxuu','isPremiumPlugin','uploadcareImageReplace','init','requires','ImageEditing','uploadcareImageEdit','3453462yJnpxZ','pluginName','isOfficialPlugin','add','423414AWeeGx','UploadcareImageEditEditing','ImageUtils','6142735ulmSXY','2794056wujSVY','40UXDcGl','commands'];_0x46b7=function(){return _0x3d8d9f;};return _0x46b7();}import{Plugin as _0x38210a}from'ckeditor5/src/core.js';import{Notification as _0x39d166}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x532cc3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x19b394}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x169ef2}from'../uploadcareediting.js';function _0x3698(_0x5a968d,_0x34ba3c){const _0x46b7ee=_0x46b7();return _0x3698=function(_0x369848,_0x485b56){_0x369848=_0x369848-0x1d4;let _0x2fcd35=_0x46b7ee[_0x369848];return _0x2fcd35;},_0x3698(_0x5a968d,_0x34ba3c);}export class UploadcareImageEditEditing extends _0x38210a{static get[_0x272c28(0x1e4)](){const _0xe41ce9=_0x272c28;return _0xe41ce9(0x1d4);}static get[_0x272c28(0x1e0)](){const _0x5cb7db=_0x272c28;return[_0x169ef2,_0x39d166,_0x5cb7db(0x1d5),_0x5cb7db(0x1e1)];}static get[_0x272c28(0x1e5)](){return!0x0;}static get[_0x272c28(0x1dd)](){return!0x0;}[_0x272c28(0x1df)](){const _0x2b6fbd=_0x272c28,{editor:_0x12c1b6}=this;_0x12c1b6[_0x2b6fbd(0x1d9)][_0x2b6fbd(0x1e6)](_0x2b6fbd(0x1e2),new _0x532cc3(_0x12c1b6)),_0x12c1b6[_0x2b6fbd(0x1d9)][_0x2b6fbd(0x1e6)](_0x2b6fbd(0x1de),new _0x19b394(_0x12c1b6));}}
23
+ const _0x4ade94=_0x9e53;(function(_0x3902d9,_0x4452b3){const _0x637c09=_0x9e53,_0x5a3b47=_0x3902d9();while(!![]){try{const _0x1485f0=-parseInt(_0x637c09(0x80))/0x1*(parseInt(_0x637c09(0x78))/0x2)+parseInt(_0x637c09(0x86))/0x3+parseInt(_0x637c09(0x85))/0x4+parseInt(_0x637c09(0x8c))/0x5+-parseInt(_0x637c09(0x7d))/0x6+-parseInt(_0x637c09(0x89))/0x7*(parseInt(_0x637c09(0x79))/0x8)+parseInt(_0x637c09(0x7c))/0x9*(parseInt(_0x637c09(0x8d))/0xa);if(_0x1485f0===_0x4452b3)break;else _0x5a3b47['push'](_0x5a3b47['shift']());}catch(_0x552d6e){_0x5a3b47['push'](_0x5a3b47['shift']());}}}(_0x3b9b,0x78971));import{Plugin as _0x9fcf}from'ckeditor5/src/core.js';function _0x9e53(_0x27a99c,_0x49d3b9){const _0x3b9bfa=_0x3b9b();return _0x9e53=function(_0x9e531c,_0x4c81ef){_0x9e531c=_0x9e531c-0x78;let _0x2e4b09=_0x3b9bfa[_0x9e531c];return _0x2e4b09;},_0x9e53(_0x27a99c,_0x49d3b9);}import{Notification as _0x3f83f0}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x592613}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3ad582}from'./uploadcareimagereplacecommand.js';function _0x3b9b(){const _0x47c811=['isPremiumPlugin','requires','add','490700sggANe','610341fpKNqW','uploadcareImageEdit','ImageUtils','2858653vjtlWD','uploadcareImageReplace','ImageEditing','2371685odmOte','4810zlKmPG','16636DuKXLX','8SSeiDG','UploadcareImageEditEditing','commands','5670ALLcZz','59154xOtmgN','isOfficialPlugin','init','23eLAgjc','pluginName'];_0x3b9b=function(){return _0x47c811;};return _0x3b9b();}import{UploadcareEditing as _0x3b05ae}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x9fcf{static get[_0x4ade94(0x81)](){const _0x3c9786=_0x4ade94;return _0x3c9786(0x7a);}static get[_0x4ade94(0x83)](){const _0x48d287=_0x4ade94;return[_0x3b05ae,_0x3f83f0,_0x48d287(0x88),_0x48d287(0x8b)];}static get[_0x4ade94(0x7e)](){return!0x0;}static get[_0x4ade94(0x82)](){return!0x0;}[_0x4ade94(0x7f)](){const _0x4df000=_0x4ade94,{editor:_0x572767}=this;_0x572767[_0x4df000(0x7b)][_0x4df000(0x84)](_0x4df000(0x87),new _0x592613(_0x572767)),_0x572767[_0x4df000(0x7b)][_0x4df000(0x84)](_0x4df000(0x8a),new _0x3ad582(_0x572767));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x250538}from'ckeditor5/src/core.js';import{ButtonView as _0x259efe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x227b51}from'ckeditor5/src/icons.js';import{createElement as _0x4f6a7d}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 _0x250538{['_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 _0x3a5f01=this['editor'];_0x3a5f01['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7d50a8=>{const _0x3f4859=_0x3a5f01['commands']['get']('uploadcareImageEdit'),_0xdf12f6=new _0x259efe(_0x7d50a8),t=_0x7d50a8['t'];return _0xdf12f6['set']({'icon':_0x227b51,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xdf12f6['bind']('isEnabled')['to'](_0x3f4859),_0xdf12f6['bind']('isOn')['to'](_0x3f4859,'isActive'),this['listenTo'](_0xdf12f6,'execute',()=>{_0x3a5f01['execute']('uploadcareImageEdit'),_0x3a5f01['editing']['view']['focus']();}),_0xdf12f6;}),this['_initConfig']();}['_initConfig'](){const _0x3a5370=_0x4f6a7d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a5370),this['listenTo'](this['editor'],'destroy',()=>{_0x3a5370['remove']();});}}
23
+ import{Plugin as _0x2c0c9b}from'ckeditor5/src/core.js';import{ButtonView as _0x108eef}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x56ca5f}from'ckeditor5/src/icons.js';import{createElement as _0x11d2aa}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 _0x2c0c9b{['_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 _0x582f21=this['editor'];_0x582f21['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3db5f4=>{const _0x5e7bfa=_0x582f21['commands']['get']('uploadcareImageEdit'),_0x4e2cff=new _0x108eef(_0x3db5f4),t=_0x3db5f4['t'];return _0x4e2cff['set']({'icon':_0x56ca5f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e2cff['bind']('isEnabled')['to'](_0x5e7bfa),_0x4e2cff['bind']('isOn')['to'](_0x5e7bfa,'isActive'),this['listenTo'](_0x4e2cff,'execute',()=>{_0x582f21['execute']('uploadcareImageEdit'),_0x582f21['editing']['view']['focus']();}),_0x4e2cff;}),this['_initConfig']();}['_initConfig'](){const _0x56ee09=_0x11d2aa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56ee09),this['listenTo'](this['editor'],'destroy',()=>{_0x56ee09['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bfde6=_0x420c;(function(_0x324a1f,_0x1ed90e){const _0x4032f1=_0x420c,_0x1fbec8=_0x324a1f();while(!![]){try{const _0x4ec072=parseInt(_0x4032f1(0x81))/0x1*(-parseInt(_0x4032f1(0x79))/0x2)+parseInt(_0x4032f1(0x83))/0x3*(-parseInt(_0x4032f1(0x84))/0x4)+-parseInt(_0x4032f1(0x76))/0x5+-parseInt(_0x4032f1(0x89))/0x6+-parseInt(_0x4032f1(0x8e))/0x7+-parseInt(_0x4032f1(0x88))/0x8*(-parseInt(_0x4032f1(0x7d))/0x9)+-parseInt(_0x4032f1(0x74))/0xa*(-parseInt(_0x4032f1(0x77))/0xb);if(_0x4ec072===_0x1ed90e)break;else _0x1fbec8['push'](_0x1fbec8['shift']());}catch(_0x7a3fc4){_0x1fbec8['push'](_0x1fbec8['shift']());}}}(_0x5bfb,0xb53d7));function _0x420c(_0x1cbdca,_0x1b3f43){const _0x5bfb89=_0x5bfb();return _0x420c=function(_0x420cda,_0x3aa78f){_0x420cda=_0x420cda-0x74;let _0x597246=_0x5bfb89[_0x420cda];return _0x597246;},_0x420c(_0x1cbdca,_0x1b3f43);}function _0x5bfb(){const _0x13edc7=['setAttributes','1291671eGTBqw','refresh','change','srcset','4xQdacO','editor','9iRKeRZ','337044XctcGy','imageBlock','selection','element','24akqrwY','3558324gUhVKn','model','getSelectedElement','removeAttribute','sizes','7924455ZbkEfQ','2160NpQMPc','isEnabled','20560IpWcqR','125499IsMMXQ','execute','85264qlErDT','document','imageInline'];_0x5bfb=function(){return _0x13edc7;};return _0x5bfb();}import{Command as _0xd85738}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd85738{[_0x4bfde6(0x7e)](){const _0x1f4b35=_0x4bfde6,_0x532b10=this[_0x1f4b35(0x82)][_0x1f4b35(0x8a)][_0x1f4b35(0x7a)][_0x1f4b35(0x86)][_0x1f4b35(0x8b)]();this[_0x1f4b35(0x75)]=Boolean(_0x532b10&&(_0x532b10['is'](_0x1f4b35(0x87),_0x1f4b35(0x85))||_0x532b10['is'](_0x1f4b35(0x87),_0x1f4b35(0x7b))));}[_0x4bfde6(0x78)](_0x394ff3){const _0x4c8f6f=_0x4bfde6,_0x2ea8d7=this[_0x4c8f6f(0x82)][_0x4c8f6f(0x8a)][_0x4c8f6f(0x7a)][_0x4c8f6f(0x86)][_0x4c8f6f(0x8b)]();this[_0x4c8f6f(0x82)][_0x4c8f6f(0x8a)][_0x4c8f6f(0x7f)](_0x5333a2=>{const _0xf8631c=_0x4c8f6f;_0x5333a2[_0xf8631c(0x7c)](_0x394ff3,_0x2ea8d7),_0x5333a2[_0xf8631c(0x8c)](_0xf8631c(0x80),_0x2ea8d7),_0x5333a2[_0xf8631c(0x8c)](_0xf8631c(0x8d),_0x2ea8d7);});}}
23
+ function _0x21d5(){const _0x5375b8=['234afqjDo','removeAttribute','model','element','4714636hWWFaR','1501090FeDYal','7862TroeMf','19355tblrvh','imageBlock','refresh','getSelectedElement','33GpFxXn','imageInline','1622934iDTvAi','selection','change','isEnabled','editor','2416uFVTXb','11099853npVCMp','srcset','sizes','execute','4153164wnNlzO','document','setAttributes','5ltnwQJ'];_0x21d5=function(){return _0x5375b8;};return _0x21d5();}const _0x1f53c0=_0x3714;(function(_0x272a71,_0x4d8d63){const _0x4f8d55=_0x3714,_0x559c1b=_0x272a71();while(!![]){try{const _0x429367=-parseInt(_0x4f8d55(0x119))/0x1*(parseInt(_0x4f8d55(0x11f))/0x2)+parseInt(_0x4f8d55(0x126))/0x3+parseInt(_0x4f8d55(0x11d))/0x4*(parseInt(_0x4f8d55(0x118))/0x5)+parseInt(_0x4f8d55(0x130))/0x6+parseInt(_0x4f8d55(0x120))/0x7*(parseInt(_0x4f8d55(0x12b))/0x8)+-parseInt(_0x4f8d55(0x12c))/0x9+-parseInt(_0x4f8d55(0x11e))/0xa*(parseInt(_0x4f8d55(0x124))/0xb);if(_0x429367===_0x4d8d63)break;else _0x559c1b['push'](_0x559c1b['shift']());}catch(_0x3fd60c){_0x559c1b['push'](_0x559c1b['shift']());}}}(_0x21d5,0x9d123));import{Command as _0x417a97}from'ckeditor5/src/core.js';function _0x3714(_0x17d822,_0x4842c8){const _0x21d5ae=_0x21d5();return _0x3714=function(_0x371468,_0x23ede6){_0x371468=_0x371468-0x116;let _0x229adc=_0x21d5ae[_0x371468];return _0x229adc;},_0x3714(_0x17d822,_0x4842c8);}export class UploadcareImageReplaceCommand extends _0x417a97{[_0x1f53c0(0x122)](){const _0x12c0f7=_0x1f53c0,_0x4053f0=this[_0x12c0f7(0x12a)][_0x12c0f7(0x11b)][_0x12c0f7(0x116)][_0x12c0f7(0x127)][_0x12c0f7(0x123)]();this[_0x12c0f7(0x129)]=Boolean(_0x4053f0&&(_0x4053f0['is'](_0x12c0f7(0x11c),_0x12c0f7(0x121))||_0x4053f0['is'](_0x12c0f7(0x11c),_0x12c0f7(0x125))));}[_0x1f53c0(0x12f)](_0x18459d){const _0x47a701=_0x1f53c0,_0x176627=this[_0x47a701(0x12a)][_0x47a701(0x11b)][_0x47a701(0x116)][_0x47a701(0x127)][_0x47a701(0x123)]();this[_0x47a701(0x12a)][_0x47a701(0x11b)][_0x47a701(0x128)](_0x57282e=>{const _0x467bd9=_0x47a701;_0x57282e[_0x467bd9(0x117)](_0x18459d,_0x176627),_0x57282e[_0x467bd9(0x11a)](_0x467bd9(0x12d),_0x176627),_0x57282e[_0x467bd9(0x11a)](_0x467bd9(0x12e),_0x176627);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ba534=_0x14f4;(function(_0x2409c5,_0x393b43){var _0x173624=_0x14f4,_0x544185=_0x2409c5();while(!![]){try{var _0xd52d89=-parseInt(_0x173624(0x6d))/0x1+-parseInt(_0x173624(0x70))/0x2*(parseInt(_0x173624(0x6e))/0x3)+parseInt(_0x173624(0x77))/0x4+-parseInt(_0x173624(0x79))/0x5*(parseInt(_0x173624(0x74))/0x6)+parseInt(_0x173624(0x7b))/0x7*(parseInt(_0x173624(0x75))/0x8)+-parseInt(_0x173624(0x78))/0x9*(parseInt(_0x173624(0x72))/0xa)+parseInt(_0x173624(0x76))/0xb*(parseInt(_0x173624(0x7d))/0xc);if(_0xd52d89===_0x393b43)break;else _0x544185['push'](_0x544185['shift']());}catch(_0x4a3441){_0x544185['push'](_0x544185['shift']());}}}(_0x1b5f,0xe9b89));import{Plugin as _0x1f1f84}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x531c5b}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x14f4(_0xd80001,_0x127129){var _0x1b5f47=_0x1b5f();return _0x14f4=function(_0x14f428,_0x46dd4f){_0x14f428=_0x14f428-0x6d;var _0x1f20a3=_0x1b5f47[_0x14f428];return _0x1f20a3;},_0x14f4(_0xd80001,_0x127129);}function _0x1b5f(){var _0x173e2d=['12JDxsmU','pluginName','538326HxwgUQ','isPremiumPlugin','40vKnJbX','requires','162hJgGMV','8872zzndXN','46931951MElTjq','1863800bwqIou','2523942ewUwlD','207230XfDAnJ','isOfficialPlugin','4711kiqUHe','UploadcareImageEdit','12ciQTrE','1204081iapucY'];_0x1b5f=function(){return _0x173e2d;};return _0x1b5f();}import{UploadcareImageEditUI as _0x58185d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1f1f84{static get[_0x1ba534(0x6f)](){var _0x332b83=_0x1ba534;return _0x332b83(0x7c);}static get[_0x1ba534(0x73)](){return[_0x531c5b,_0x58185d];}static get[_0x1ba534(0x7a)](){return!0x0;}static get[_0x1ba534(0x71)](){return!0x0;}}
23
+ var _0x373a02=_0x4c68;(function(_0x37f145,_0x20c43f){var _0x272d18=_0x4c68,_0x3f8677=_0x37f145();while(!![]){try{var _0x3a51d2=parseInt(_0x272d18(0xc0))/0x1+-parseInt(_0x272d18(0xc2))/0x2*(parseInt(_0x272d18(0xbe))/0x3)+-parseInt(_0x272d18(0xc4))/0x4+parseInt(_0x272d18(0xbd))/0x5+parseInt(_0x272d18(0xc1))/0x6+parseInt(_0x272d18(0xc7))/0x7+-parseInt(_0x272d18(0xc6))/0x8*(parseInt(_0x272d18(0xc3))/0x9);if(_0x3a51d2===_0x20c43f)break;else _0x3f8677['push'](_0x3f8677['shift']());}catch(_0x204ccc){_0x3f8677['push'](_0x3f8677['shift']());}}}(_0x1437,0x64d2c));function _0x1437(){var _0x3c5107=['2JMgdiI','731979JsUJWn','516024SEvwnq','requires','48Cvgtpl','1575707XXZmOo','isOfficialPlugin','isPremiumPlugin','pluginName','940730rUCcvi','1967961oNvdVo','UploadcareImageEdit','490092DGRYzs','4695672XRjrXh'];_0x1437=function(){return _0x3c5107;};return _0x1437();}function _0x4c68(_0x4e0a24,_0x5cb4cb){var _0x1437b9=_0x1437();return _0x4c68=function(_0x4c6851,_0x2ec0dc){_0x4c6851=_0x4c6851-0xbc;var _0x12be2b=_0x1437b9[_0x4c6851];return _0x12be2b;},_0x4c68(_0x4e0a24,_0x5cb4cb);}import{Plugin as _0x46201b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3853ac}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x341aed}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x46201b{static get[_0x373a02(0xbc)](){var _0x206898=_0x373a02;return _0x206898(0xbf);}static get[_0x373a02(0xc5)](){return[_0x3853ac,_0x341aed];}static get[_0x373a02(0xc8)](){return!0x0;}static get[_0x373a02(0xc9)](){return!0x0;}}
@@ -11,7 +11,7 @@ import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
11
11
  import '../theme/uploadcare-theme.css';
12
12
  import '../theme/uploadcareimageedit.css';
13
13
  /**
14
- * The UI plugin of the AI assistant.
14
+ * The UI plugin of the Uploadcare image manager.
15
15
  */
16
16
  export declare class UploadcareUI extends Plugin {
17
17
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15c5dd=_0x8864;(function(_0x23ec46,_0x11c255){const _0x365910=_0x8864,_0x8a99f6=_0x23ec46();while(!![]){try{const _0x2e9699=-parseInt(_0x365910(0x1f2))/0x1*(parseInt(_0x365910(0x21a))/0x2)+-parseInt(_0x365910(0x21c))/0x3*(-parseInt(_0x365910(0x1f5))/0x4)+parseInt(_0x365910(0x221))/0x5*(parseInt(_0x365910(0x219))/0x6)+-parseInt(_0x365910(0x201))/0x7+-parseInt(_0x365910(0x206))/0x8+-parseInt(_0x365910(0x225))/0x9+parseInt(_0x365910(0x22b))/0xa;if(_0x2e9699===_0x11c255)break;else _0x8a99f6['push'](_0x8a99f6['shift']());}catch(_0xa9bfb3){_0x8a99f6['push'](_0x8a99f6['shift']());}}}(_0x1c86,0x2f462));import{Plugin as _0x51fd1c}from'ckeditor5/src/core.js';function _0x1c86(){const _0xd0a0fb=['Facebook','execute','uploadcare.uploader.sourceList','UploadcareUI','url','Insert','licenseKey','733880wAfBrd','OneDrive','push','uploadcareLicenseKeyNotAllowed','plugins','2566040MjIgHz','type','editor','isEnabled','Replace','_showLicenseError','icon','invalid','_normalizeConfigSourceList','pluginName','label','isOfficialPlugin','reduce','_getIntegrationKey','config','uploadcareLicenseKeyUsageLimit','init','text','uploadcareLicenseKeyValid','156yedUuq','87556iECvjg','forEach','969369IlSSPg','isImageSelected','uploadcare','Local','uploadcareLicenseKeyDomainLimit','23995FSuOKE','_licenseKeyCheckInterval','Uploadcare','Dropbox','3348576ErxRGX','_createToolbarButton','domainLimit','bind','GDrive','locale','8936200eIDNbO','ImageInsertUI','URL','destroy','has','upload','afterInit','tooltip','uploadcareLicenseKeyExpired','GPhotos','uploadcareLicenseKeyInvalid','withText','registerIntegration','assetManager','shortText','evaluationLimit','expired','commands','entries','usageLimit','uploadcareLicenseKeyEvaluationLimit','_createButton','8NGaSWn','featureNotAllowed','isPremiumPlugin','4sbFkXi','_createDropdownButtons','get','_createMenuBarButtons','map'];_0x1c86=function(){return _0xd0a0fb;};return _0x1c86();}import{IconDropbox as _0x55229b,IconFacebook as _0x56a541,IconGoogleDrive as _0x4f1c6a,IconGooglePhotos as _0x3bbe27,IconUploadcareImageUpload as _0x2e966c,IconUploadcareLink as _0x271c05,IconOneDrive as _0x1d9752}from'ckeditor5/src/icons.js';import{ButtonView as _0x37b7d1,MenuBarMenuListItemButtonView as _0x327646}from'ckeditor5/src/ui.js';function _0x8864(_0x172073,_0xc8ff69){const _0x1c8650=_0x1c86();return _0x8864=function(_0x88647b,_0x248a4c){_0x88647b=_0x88647b-0x1e6;let _0x3056bd=_0x1c8650[_0x88647b];return _0x3056bd;},_0x8864(_0x172073,_0xc8ff69);}import{UploadcareSource as _0x2381a2}from'./uploadcareconfig.js';import{getTranslation as _0x199215}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x51fd1c{[_0x15c5dd(0x200)];[_0x15c5dd(0x222)];static get[_0x15c5dd(0x20f)](){const _0x58a55c=_0x15c5dd;return _0x58a55c(0x1fd);}static get[_0x15c5dd(0x211)](){return!0x0;}static get[_0x15c5dd(0x1f4)](){return!0x0;}[_0x15c5dd(0x216)](){const _0x412f26=_0x15c5dd;this[_0x412f26(0x200)]=this[_0x412f26(0x208)][_0x412f26(0x214)][_0x412f26(0x1f7)](_0x412f26(0x200));const _0x4e71b3=this[_0x412f26(0x208)];this[_0x412f26(0x222)]=setInterval(()=>{const _0xde4404=_0x412f26;let _0x9dc12d;for(const _0x34b815 in _0x4e71b3){const _0x471bbb=_0x34b815,_0x1218f9=_0x4e71b3[_0x471bbb];if(_0xde4404(0x218)==_0x1218f9||_0xde4404(0x1e6)==_0x1218f9||_0xde4404(0x233)==_0x1218f9||_0xde4404(0x220)==_0x1218f9||_0xde4404(0x204)==_0x1218f9||_0xde4404(0x1f0)==_0x1218f9||_0xde4404(0x215)==_0x1218f9){delete _0x4e71b3[_0x471bbb],_0x9dc12d=_0x1218f9,clearInterval(this[_0xde4404(0x222)]),this[_0xde4404(0x222)]=void 0x0;break;}}_0xde4404(0x1e6)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x20d)),_0xde4404(0x233)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1ec)),_0xde4404(0x220)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x227)),_0xde4404(0x204)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1f3),_0xde4404(0x223)),_0xde4404(0x1f0)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1eb)),_0xde4404(0x215)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1ef));},0x3e8);}[_0x15c5dd(0x231)](){const _0xc7d251=_0x15c5dd,{editor:_0x2c0af5}=this,_0x4641a4=_0x2c0af5[_0xc7d251(0x1ed)][_0xc7d251(0x1f7)](_0xc7d251(0x21e));if(!_0x4641a4)return;const _0x55f2bf=this[_0xc7d251(0x20e)](_0x2c0af5[_0xc7d251(0x214)][_0xc7d251(0x1f7)](_0xc7d251(0x1fc)))[_0xc7d251(0x212)]((_0x1455e1,_0x1cffa7)=>{const _0x10d720=_0xc7d251,_0xbe8a97=this[_0x10d720(0x213)](_0x1cffa7[_0x10d720(0x207)]);return _0x1455e1[_0xbe8a97]||(_0x1455e1[_0xbe8a97]=[]),_0x1455e1[_0xbe8a97][_0x10d720(0x203)](_0x1cffa7),_0x1455e1;},{});_0x2c0af5[_0xc7d251(0x205)][_0xc7d251(0x22f)](_0xc7d251(0x22c))&&_0x2c0af5[_0xc7d251(0x1ed)][_0xc7d251(0x1f7)](_0xc7d251(0x21e))&&Object[_0xc7d251(0x1ee)](_0x55f2bf)[_0xc7d251(0x21b)](([_0x560273,_0x485546])=>{const _0x1dbd75=_0xc7d251;_0x2c0af5[_0x1dbd75(0x205)][_0x1dbd75(0x1f7)](_0x1dbd75(0x22c))[_0x1dbd75(0x1e8)]({'name':_0x560273,'observable':()=>_0x4641a4,'buttonViewCreator':()=>this[_0x1dbd75(0x226)](_0x485546),'formViewCreator':()=>this[_0x1dbd75(0x1f6)](_0x485546),'menuBarButtonViewCreator':()=>this[_0x1dbd75(0x1f8)](_0x485546),'override':_0x1dbd75(0x1e9)!==_0x560273});});}[_0x15c5dd(0x22e)](){const _0x5ebf53=_0x15c5dd;super[_0x5ebf53(0x22e)](),this[_0x5ebf53(0x222)]&&clearInterval(this[_0x5ebf53(0x222)]);}[_0x15c5dd(0x20e)](_0x3c26f4){const _0x4ed48a=_0x15c5dd,{locale:_0x463fa1}=this[_0x4ed48a(0x208)];return _0x3c26f4[_0x4ed48a(0x1f9)](_0x5a9ceb=>{const _0x43246d=_0x4ed48a,_0x429521=_0x199215(_0x463fa1,_0x5a9ceb,_0x43246d(0x1ff));switch(_0x5a9ceb){case _0x2381a2[_0x43246d(0x21f)]:return{'icon':_0x2e966c,'type':_0x2381a2[_0x43246d(0x21f)],..._0x429521};case _0x2381a2[_0x43246d(0x22d)]:return{'icon':_0x271c05,'type':_0x2381a2[_0x43246d(0x22d)],..._0x429521};case _0x2381a2[_0x43246d(0x224)]:return{'icon':_0x55229b,'type':_0x2381a2[_0x43246d(0x224)],..._0x429521};case _0x2381a2[_0x43246d(0x1fa)]:return{'icon':_0x56a541,'type':_0x2381a2[_0x43246d(0x1fa)],..._0x429521};case _0x2381a2[_0x43246d(0x229)]:return{'icon':_0x4f1c6a,'type':_0x2381a2[_0x43246d(0x229)],..._0x429521};case _0x2381a2[_0x43246d(0x234)]:return{'icon':_0x3bbe27,'type':_0x2381a2[_0x43246d(0x234)],..._0x429521};case _0x2381a2[_0x43246d(0x202)]:return{'icon':_0x1d9752,'type':_0x2381a2[_0x43246d(0x202)],..._0x429521};}});}[_0x15c5dd(0x213)](_0x56fe9e){const _0x469de4=_0x15c5dd;switch(_0x56fe9e){case _0x2381a2[_0x469de4(0x21f)]:return _0x469de4(0x230);case _0x2381a2[_0x469de4(0x22d)]:return _0x469de4(0x1fe);default:return _0x469de4(0x1e9);}}[_0x15c5dd(0x1f1)](_0x2db6c7,_0x6a9cad){const _0x3c0349=_0x15c5dd,_0xf812e0=this[_0x3c0349(0x208)],_0x1e73e9=new _0x2db6c7(_0xf812e0[_0x3c0349(0x22a)]),_0x2ca6d9=_0xf812e0[_0x3c0349(0x1ed)][_0x3c0349(0x1f7)](_0x3c0349(0x21e));return _0x1e73e9[_0x3c0349(0x228)](_0x3c0349(0x209))['to'](_0x2ca6d9),_0x1e73e9['on'](_0x3c0349(0x1fb),()=>{const _0x5a9a42=_0x3c0349;_0x2ca6d9[_0x5a9a42(0x1fb)](_0x6a9cad);}),_0x1e73e9;}[_0x15c5dd(0x226)](_0x5db8c3){const _0x1269d8=_0x15c5dd,{locale:_0x29860f}=this[_0x1269d8(0x208)],_0x3c7892=this[_0x1269d8(0x208)][_0x1269d8(0x205)][_0x1269d8(0x1f7)](_0x1269d8(0x22c)),_0xf1cbd1=_0x5db8c3[0x0],_0x3ad836=this[_0x1269d8(0x1f1)](_0x37b7d1,_0xf1cbd1[_0x1269d8(0x207)]);return _0x3ad836[_0x1269d8(0x20c)]=_0xf1cbd1[_0x1269d8(0x20c)],_0x3ad836[_0x1269d8(0x228)](_0x1269d8(0x210))['to'](_0x3c7892,_0x1269d8(0x21d),_0x282836=>_0x199215(_0x29860f,_0xf1cbd1[_0x1269d8(0x207)],_0x282836?_0x1269d8(0x20a):_0x1269d8(0x1ff))[_0x1269d8(0x217)]),_0x3ad836[_0x1269d8(0x232)]=!0x0,_0x3ad836;}[_0x15c5dd(0x1f6)](_0x407a50){const _0x4255f7=_0x15c5dd,{locale:_0x45a5e9}=this[_0x4255f7(0x208)],_0x12eb52=this[_0x4255f7(0x208)][_0x4255f7(0x205)][_0x4255f7(0x1f7)](_0x4255f7(0x22c));return _0x407a50[_0x4255f7(0x1f9)](_0x332d00=>{const _0x333727=_0x4255f7,_0x2ea300=this[_0x333727(0x1f1)](_0x37b7d1,_0x332d00[_0x333727(0x207)]);return _0x2ea300[_0x333727(0x1e7)]=!0x0,_0x2ea300[_0x333727(0x20c)]=_0x332d00[_0x333727(0x20c)],_0x2ea300[_0x333727(0x228)](_0x333727(0x210))['to'](_0x12eb52,_0x333727(0x21d),_0xa59297=>_0x199215(_0x45a5e9,_0x332d00[_0x333727(0x207)],_0xa59297?_0x333727(0x20a):_0x333727(0x1ff))[_0x333727(0x217)]),_0x2ea300;});}[_0x15c5dd(0x1f8)](_0x43f315){const _0x52ed2e=_0x15c5dd;return _0x43f315[_0x52ed2e(0x1f9)](_0x3e94d=>{const _0x27d833=_0x52ed2e,_0x2e127a=this[_0x27d833(0x1f1)](_0x327646,_0x3e94d[_0x27d833(0x207)]);return _0x2e127a[_0x27d833(0x20c)]=_0x3e94d[_0x27d833(0x20c)],_0x2e127a[_0x27d833(0x210)]=_0x3e94d[_0x27d833(0x1ea)],_0x2e127a;});}}
23
+ const _0x41b044=_0x3496;(function(_0x105f5a,_0x13cfb1){const _0x31f13f=_0x3496,_0x58a8ab=_0x105f5a();while(!![]){try{const _0x4bda93=parseInt(_0x31f13f(0x188))/0x1+-parseInt(_0x31f13f(0x182))/0x2*(-parseInt(_0x31f13f(0x17c))/0x3)+parseInt(_0x31f13f(0x196))/0x4*(-parseInt(_0x31f13f(0x1a3))/0x5)+parseInt(_0x31f13f(0x1b3))/0x6*(-parseInt(_0x31f13f(0x198))/0x7)+-parseInt(_0x31f13f(0x1c1))/0x8*(parseInt(_0x31f13f(0x19c))/0x9)+parseInt(_0x31f13f(0x183))/0xa+parseInt(_0x31f13f(0x1a8))/0xb*(parseInt(_0x31f13f(0x1a6))/0xc);if(_0x4bda93===_0x13cfb1)break;else _0x58a8ab['push'](_0x58a8ab['shift']());}catch(_0x8fa980){_0x58a8ab['push'](_0x58a8ab['shift']());}}}(_0x2a6a,0xa5d41));import{Plugin as _0x3976ba}from'ckeditor5/src/core.js';import{IconDropbox as _0x1bd238,IconFacebook as _0x207f60,IconGoogleDrive as _0x3986cf,IconGooglePhotos as _0x1663de,IconUploadcareImageUpload as _0x43fbf1,IconUploadcareLink as _0x45592d,IconOneDrive as _0x3c2adf}from'ckeditor5/src/icons.js';import{ButtonView as _0x5e7fb6,MenuBarMenuListItemButtonView as _0x13ff7e}from'ckeditor5/src/ui.js';function _0x3496(_0x5cd303,_0x9de907){const _0x2a6a5a=_0x2a6a();return _0x3496=function(_0x349672,_0x2570ad){_0x349672=_0x349672-0x179;let _0x21dad0=_0x2a6a5a[_0x349672];return _0x21dad0;},_0x3496(_0x5cd303,_0x9de907);}import{UploadcareSource as _0x19b784}from'./uploadcareconfig.js';import{getTranslation as _0x584cbb}from'./utils/common-translations.js';function _0x2a6a(){const _0x252560=['assetManager','uploadcareLicenseKeyUsageLimit','licenseKey','_getIntegrationKey','afterInit','usageLimit','registerIntegration','URL','plugins','config','expired','isEnabled','4268NIDbgY','uploadcareLicenseKeyEvaluationLimit','7537292dajXfr','url','Facebook','evaluationLimit','4769073DNenmN','uploadcare','bind','isPremiumPlugin','uploadcareLicenseKeyValid','featureNotAllowed','_licenseKeyCheckInterval','4445fZpGfH','shortText','push','2004KceQWz','Insert','123068eizjkC','_createButton','entries','upload','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','map','Dropbox','init','editor','tooltip','6AYUipJ','uploadcareLicenseKeyNotAllowed','ImageInsertUI','_createDropdownButtons','label','get','type','has','UploadcareUI','_createToolbarButton','domainLimit','text','execute','Uploadcare','8qyiDlR','isImageSelected','GDrive','commands','withText','pluginName','_createMenuBarButtons','forEach','reduce','GPhotos','Local','invalid','1584GMoOYN','OneDrive','locale','_showLicenseError','destroy','Replace','1372fUKuWu','3013030xXnqoL','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','_normalizeConfigSourceList','icon','702542HLFWYj','uploadcareLicenseKeyExpired'];_0x2a6a=function(){return _0x252560;};return _0x2a6a();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3976ba{[_0x41b044(0x18c)];[_0x41b044(0x1a2)];static get[_0x41b044(0x1c6)](){const _0x5d04ff=_0x41b044;return _0x5d04ff(0x1bb);}static get[_0x41b044(0x185)](){return!0x0;}static get[_0x41b044(0x19f)](){return!0x0;}[_0x41b044(0x1b0)](){const _0x8e7e02=_0x41b044;this[_0x8e7e02(0x18c)]=this[_0x8e7e02(0x1b1)][_0x8e7e02(0x193)][_0x8e7e02(0x1b8)](_0x8e7e02(0x18c));const _0x5dd471=this[_0x8e7e02(0x1b1)];this[_0x8e7e02(0x1a2)]=setInterval(()=>{const _0x2d8466=_0x8e7e02;let _0x45fd02;for(const _0x2c1432 in _0x5dd471){const _0x20cb72=_0x2c1432,_0x4cd92a=_0x5dd471[_0x20cb72];if(_0x2d8466(0x1a0)==_0x4cd92a||_0x2d8466(0x1ac)==_0x4cd92a||_0x2d8466(0x189)==_0x4cd92a||_0x2d8466(0x184)==_0x4cd92a||_0x2d8466(0x1b4)==_0x4cd92a||_0x2d8466(0x197)==_0x4cd92a||_0x2d8466(0x18b)==_0x4cd92a){delete _0x5dd471[_0x20cb72],_0x45fd02=_0x4cd92a,clearInterval(this[_0x2d8466(0x1a2)]),this[_0x2d8466(0x1a2)]=void 0x0;break;}}_0x2d8466(0x1ac)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x17b)),_0x2d8466(0x189)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x194)),_0x2d8466(0x184)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x1bd)),_0x2d8466(0x1b4)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x1a1),_0x2d8466(0x1c0)),_0x2d8466(0x197)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x19b)),_0x2d8466(0x18b)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x18f));},0x3e8);}[_0x41b044(0x18e)](){const _0x26a6b3=_0x41b044,{editor:_0x672971}=this,_0x5b1d9e=_0x672971[_0x26a6b3(0x1c4)][_0x26a6b3(0x1b8)](_0x26a6b3(0x19d));if(!_0x5b1d9e)return;const _0x1f7fdd=this[_0x26a6b3(0x186)](_0x672971[_0x26a6b3(0x193)][_0x26a6b3(0x1b8)](_0x26a6b3(0x1ad)))[_0x26a6b3(0x1c9)]((_0x1ca412,_0x5ab878)=>{const _0x71519c=_0x26a6b3,_0x136ab7=this[_0x71519c(0x18d)](_0x5ab878[_0x71519c(0x1b9)]);return _0x1ca412[_0x136ab7]||(_0x1ca412[_0x136ab7]=[]),_0x1ca412[_0x136ab7][_0x71519c(0x1a5)](_0x5ab878),_0x1ca412;},{});_0x672971[_0x26a6b3(0x192)][_0x26a6b3(0x1ba)](_0x26a6b3(0x1b5))&&_0x672971[_0x26a6b3(0x1c4)][_0x26a6b3(0x1b8)](_0x26a6b3(0x19d))&&Object[_0x26a6b3(0x1aa)](_0x1f7fdd)[_0x26a6b3(0x1c8)](([_0x91cb64,_0x5d6433])=>{const _0x3f6357=_0x26a6b3;_0x672971[_0x3f6357(0x192)][_0x3f6357(0x1b8)](_0x3f6357(0x1b5))[_0x3f6357(0x190)]({'name':_0x91cb64,'observable':()=>_0x5b1d9e,'buttonViewCreator':()=>this[_0x3f6357(0x1bc)](_0x5d6433),'formViewCreator':()=>this[_0x3f6357(0x1b6)](_0x5d6433),'menuBarButtonViewCreator':()=>this[_0x3f6357(0x1c7)](_0x5d6433),'override':_0x3f6357(0x18a)!==_0x91cb64});});}[_0x41b044(0x180)](){const _0x22d648=_0x41b044;super[_0x22d648(0x180)](),this[_0x22d648(0x1a2)]&&clearInterval(this[_0x22d648(0x1a2)]);}[_0x41b044(0x186)](_0x58c3cb){const _0x4a73ec=_0x41b044,{locale:_0xa58d14}=this[_0x4a73ec(0x1b1)];return _0x58c3cb[_0x4a73ec(0x1ae)](_0x591cc3=>{const _0x1574f2=_0x4a73ec,_0x3ff2be=_0x584cbb(_0xa58d14,_0x591cc3,_0x1574f2(0x1a7));switch(_0x591cc3){case _0x19b784[_0x1574f2(0x17a)]:return{'icon':_0x43fbf1,'type':_0x19b784[_0x1574f2(0x17a)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x191)]:return{'icon':_0x45592d,'type':_0x19b784[_0x1574f2(0x191)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x1af)]:return{'icon':_0x1bd238,'type':_0x19b784[_0x1574f2(0x1af)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x19a)]:return{'icon':_0x207f60,'type':_0x19b784[_0x1574f2(0x19a)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x1c3)]:return{'icon':_0x3986cf,'type':_0x19b784[_0x1574f2(0x1c3)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x179)]:return{'icon':_0x1663de,'type':_0x19b784[_0x1574f2(0x179)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x17d)]:return{'icon':_0x3c2adf,'type':_0x19b784[_0x1574f2(0x17d)],..._0x3ff2be};}});}[_0x41b044(0x18d)](_0x357a39){const _0x3e6428=_0x41b044;switch(_0x357a39){case _0x19b784[_0x3e6428(0x17a)]:return _0x3e6428(0x1ab);case _0x19b784[_0x3e6428(0x191)]:return _0x3e6428(0x199);default:return _0x3e6428(0x18a);}}[_0x41b044(0x1a9)](_0x2f1b29,_0x1c4658){const _0x166586=_0x41b044,_0x108a3f=this[_0x166586(0x1b1)],_0xd747d9=new _0x2f1b29(_0x108a3f[_0x166586(0x17e)]),_0x167296=_0x108a3f[_0x166586(0x1c4)][_0x166586(0x1b8)](_0x166586(0x19d));return _0xd747d9[_0x166586(0x19e)](_0x166586(0x195))['to'](_0x167296),_0xd747d9['on'](_0x166586(0x1bf),()=>{const _0xf173ec=_0x166586;_0x167296[_0xf173ec(0x1bf)](_0x1c4658);}),_0xd747d9;}[_0x41b044(0x1bc)](_0x10d778){const _0x74cd50=_0x41b044,{locale:_0x5db69b}=this[_0x74cd50(0x1b1)],_0x39728b=this[_0x74cd50(0x1b1)][_0x74cd50(0x192)][_0x74cd50(0x1b8)](_0x74cd50(0x1b5)),_0x355136=_0x10d778[0x0],_0x297c11=this[_0x74cd50(0x1a9)](_0x5e7fb6,_0x355136[_0x74cd50(0x1b9)]);return _0x297c11[_0x74cd50(0x187)]=_0x355136[_0x74cd50(0x187)],_0x297c11[_0x74cd50(0x19e)](_0x74cd50(0x1b7))['to'](_0x39728b,_0x74cd50(0x1c2),_0x26d9be=>_0x584cbb(_0x5db69b,_0x355136[_0x74cd50(0x1b9)],_0x26d9be?_0x74cd50(0x181):_0x74cd50(0x1a7))[_0x74cd50(0x1be)]),_0x297c11[_0x74cd50(0x1b2)]=!0x0,_0x297c11;}[_0x41b044(0x1b6)](_0x4a2598){const _0x24db1a=_0x41b044,{locale:_0x53263c}=this[_0x24db1a(0x1b1)],_0x2735bd=this[_0x24db1a(0x1b1)][_0x24db1a(0x192)][_0x24db1a(0x1b8)](_0x24db1a(0x1b5));return _0x4a2598[_0x24db1a(0x1ae)](_0x18027c=>{const _0x39be55=_0x24db1a,_0x238380=this[_0x39be55(0x1a9)](_0x5e7fb6,_0x18027c[_0x39be55(0x1b9)]);return _0x238380[_0x39be55(0x1c5)]=!0x0,_0x238380[_0x39be55(0x187)]=_0x18027c[_0x39be55(0x187)],_0x238380[_0x39be55(0x19e)](_0x39be55(0x1b7))['to'](_0x2735bd,_0x39be55(0x1c2),_0x1918d1=>_0x584cbb(_0x53263c,_0x18027c[_0x39be55(0x1b9)],_0x1918d1?_0x39be55(0x181):_0x39be55(0x1a7))[_0x39be55(0x1be)]),_0x238380;});}[_0x41b044(0x1c7)](_0x4864aa){const _0x528d0e=_0x41b044;return _0x4864aa[_0x528d0e(0x1ae)](_0x3215f2=>{const _0x1ca7a6=_0x528d0e,_0x21ff63=this[_0x1ca7a6(0x1a9)](_0x13ff7e,_0x3215f2[_0x1ca7a6(0x1b9)]);return _0x21ff63[_0x1ca7a6(0x187)]=_0x3215f2[_0x1ca7a6(0x187)],_0x21ff63[_0x1ca7a6(0x1b7)]=_0x3215f2[_0x1ca7a6(0x1a4)],_0x21ff63;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x16cf94}from'ckeditor5/src/core.js';import{FileRepository as _0x1112eb}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xae37da}from'./uploadcareediting.js';import{UploadUtils as _0x4f6439}from'./utils/uploadutils.js';import{getImageUrls as _0x29828d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x16cf94{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1112eb,_0xae37da];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x35936b=this['editor'];if(!!!_0x35936b['config']['get']('uploadcare'))return;_0x35936b['plugins']['get'](_0x1112eb)['createUploadAdapter']=_0x4d8932=>new k(_0x4d8932,_0x35936b),_0x35936b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f8dfe,{imageElement:_0x56e615,data:_0x5bc39e})=>{_0x35936b['model']['change'](_0x23af4d=>{_0x23af4d['setAttribute']('uploadcareImageId',_0x5bc39e['uploadcareImageId'],_0x56e615);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40b23c,_0x1bf558){this['loader']=_0x40b23c,this['editor']=_0x1bf558,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x240068=await this['loader']['file'];return _0x4f6439['upload']({'file':_0x240068,'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':_0x5f34ca=>{_0x5f34ca&&_0x5f34ca['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5f34ca['value']);}})['then'](async _0x19a1f4=>{const {imageFallbackUrl:_0x31059d,imageSources:_0x2991ca}=_0x29828d(_0x19a1f4['cdnUrl'],_0x19a1f4['imageInfo']['width']);return{'uploadcareImageId':_0x19a1f4['uuid'],'default':_0x31059d,'sources':_0x2991ca};})['catch'](()=>{const _0x42604b=t('Cannot\x20upload\x20file:')+('\x20'+_0x240068['name']+'.');return Promise['reject'](_0x42604b);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x57534d}from'ckeditor5/src/core.js';import{FileRepository as _0x4e94d7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xdeae5d}from'./uploadcareediting.js';import{UploadUtils as _0x511d41}from'./utils/uploadutils.js';import{getImageUrls as _0x3731c1}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x57534d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4e94d7,_0xdeae5d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x255b4a=this['editor'];if(!!!_0x255b4a['config']['get']('uploadcare'))return;_0x255b4a['plugins']['get'](_0x4e94d7)['createUploadAdapter']=_0x155829=>new k(_0x155829,_0x255b4a),_0x255b4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x42f35f,{imageElement:_0xda44e2,data:_0x27d109})=>{_0x255b4a['model']['change'](_0xff270=>{_0xff270['setAttribute']('uploadcareImageId',_0x27d109['uploadcareImageId'],_0xda44e2);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x102384,_0x479782){this['loader']=_0x102384,this['editor']=_0x479782,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x114112=await this['loader']['file'];return _0x511d41['upload']({'file':_0x114112,'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':_0x2ac1be=>{_0x2ac1be&&_0x2ac1be['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ac1be['value']);}})['then'](async _0x17887b=>{const {imageFallbackUrl:_0x17a832,imageSources:_0x4c0171}=_0x3731c1(_0x17887b['cdnUrl'],_0x17887b['imageInfo']['width']);return{'uploadcareImageId':_0x17887b['uuid'],'default':_0x17a832,'sources':_0x4c0171};})['catch'](()=>{const _0x1ab01d=t('Cannot\x20upload\x20file:')+('\x20'+_0x114112['name']+'.');return Promise['reject'](_0x1ab01d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3be897}from'../uploadcareconfig.js';export function getTranslation(_0x24650a,_0xdad341,_0x587b22){const t=_0x24650a['t'],_0x4fcca3=_0x24650a['t'];switch(_0xdad341){case _0x3be897['Local']:return{'text':_0x4fcca3('Insert'===_0x587b22?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fcca3('From\x20computer')};case _0x3be897['URL']:return{'text':'Insert'===_0x587b22?_0x4fcca3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fcca3('Via\x20URL')};case _0x3be897['Dropbox']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3be897['Facebook']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3be897['GDrive']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3be897['GPhotos']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3be897['OneDrive']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xdad341;}}
23
+ import{UploadcareSource as _0x36d392}from'../uploadcareconfig.js';export function getTranslation(_0x4ea077,_0x1a664e,_0x2bb237){const t=_0x4ea077['t'],_0x3fb355=_0x4ea077['t'];switch(_0x1a664e){case _0x36d392['Local']:return{'text':_0x3fb355('Insert'===_0x2bb237?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3fb355('From\x20computer')};case _0x36d392['URL']:return{'text':'Insert'===_0x2bb237?_0x3fb355('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3fb355('Via\x20URL')};case _0x36d392['Dropbox']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x36d392['Facebook']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x36d392['GDrive']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x36d392['GPhotos']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x36d392['OneDrive']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1a664e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x119906=_0x3c12;(function(_0x527201,_0x7c7edc){var _0x1422da=_0x3c12,_0x419711=_0x527201();while(!![]){try{var _0x3c94dd=-parseInt(_0x1422da(0x11a))/0x1*(parseInt(_0x1422da(0x11b))/0x2)+-parseInt(_0x1422da(0x11e))/0x3+-parseInt(_0x1422da(0x118))/0x4+parseInt(_0x1422da(0x11f))/0x5*(-parseInt(_0x1422da(0x110))/0x6)+parseInt(_0x1422da(0x115))/0x7+parseInt(_0x1422da(0x111))/0x8+-parseInt(_0x1422da(0x119))/0x9*(-parseInt(_0x1422da(0x11c))/0xa);if(_0x3c94dd===_0x7c7edc)break;else _0x419711['push'](_0x419711['shift']());}catch(_0x1424e1){_0x419711['push'](_0x419711['shift']());}}}(_0x91b9,0x22c7b));function _0x91b9(){var _0x16dfc8=['div','getFocusableElement','643716dYPSau','2529AjKjbj','1XMXiyn','77334VzsMbL','15770NClIVD','bindTemplate','258357uDFEhA','10JPgpjB','focusCycler','forwardCycle','true','750888pCQYKi','1373864NxKGgs','createCollection','fire','focusTracker','445200hpoMLI'];_0x91b9=function(){return _0x16dfc8;};return _0x91b9();}function _0x3c12(_0x3bfb20,_0x2a96c8){var _0x91b9d8=_0x91b9();return _0x3c12=function(_0x3c128f,_0x2d7478){_0x3c128f=_0x3c128f-0x10e;var _0x5d10a5=_0x91b9d8[_0x3c128f];return _0x5d10a5;},_0x3c12(_0x3bfb20,_0x2a96c8);}import{FocusTracker as _0x40e001}from'ckeditor5/src/utils.js';import{View as _0xd37df8,FocusCycler as _0x5016cb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xd37df8{[_0x119906(0x114)];[_0x119906(0x120)];constructor(_0x39c6ff){var _0x2d97cc=_0x119906;super(_0x39c6ff),this[_0x2d97cc(0x114)]=new _0x40e001(),this[_0x2d97cc(0x120)]=new _0x5016cb({'focusables':this[_0x2d97cc(0x112)](),'focusTracker':this[_0x2d97cc(0x114)]});}[_0x119906(0x117)](){var _0x110cef=_0x119906;return{'tag':_0x110cef(0x116),'attributes':{'aria-hidden':_0x110cef(0x10f),'tabindex':'0'},'on':{'focus':this[_0x110cef(0x11d)]['to'](()=>{var _0x3d275a=_0x110cef;this[_0x3d275a(0x120)][_0x3d275a(0x113)](_0x3d275a(0x10e));})}};}}
23
+ var _0x404323=_0x123a;(function(_0x4dd657,_0x11797b){var _0x553665=_0x123a,_0x69c9e3=_0x4dd657();while(!![]){try{var _0x44fbc6=-parseInt(_0x553665(0xc0))/0x1+parseInt(_0x553665(0xcd))/0x2+parseInt(_0x553665(0xc9))/0x3*(-parseInt(_0x553665(0xc4))/0x4)+parseInt(_0x553665(0xca))/0x5*(parseInt(_0x553665(0xc1))/0x6)+parseInt(_0x553665(0xbe))/0x7*(parseInt(_0x553665(0xc3))/0x8)+-parseInt(_0x553665(0xc5))/0x9+parseInt(_0x553665(0xcc))/0xa*(parseInt(_0x553665(0xbf))/0xb);if(_0x44fbc6===_0x11797b)break;else _0x69c9e3['push'](_0x69c9e3['shift']());}catch(_0x3375b8){_0x69c9e3['push'](_0x69c9e3['shift']());}}}(_0x2f04,0x3abda));import{FocusTracker as _0x4dfe0b}from'ckeditor5/src/utils.js';function _0x2f04(){var _0x19146a=['createCollection','8bJsVwn','1827880mhaklF','4082085GuwNIT','focusCycler','div','bindTemplate','3pDEcaU','30iRoTJN','forwardCycle','1168220vSuHqb','840304GdETDE','true','getFocusableElement','focusTracker','fire','2997463rHTceC','22LAXFZZ','7002pIYSoQ','76134XfhWNY'];_0x2f04=function(){return _0x19146a;};return _0x2f04();}import{View as _0x51b8e2,FocusCycler as _0x4f715e}from'ckeditor5/src/ui.js';function _0x123a(_0x1fd6e4,_0x1d6682){var _0x2f04c5=_0x2f04();return _0x123a=function(_0x123abf,_0x2e997d){_0x123abf=_0x123abf-0xbe;var _0x2ac635=_0x2f04c5[_0x123abf];return _0x2ac635;},_0x123a(_0x1fd6e4,_0x1d6682);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x51b8e2{[_0x404323(0xd0)];[_0x404323(0xc6)];constructor(_0x37a293){var _0x39942b=_0x404323;super(_0x37a293),this[_0x39942b(0xd0)]=new _0x4dfe0b(),this[_0x39942b(0xc6)]=new _0x4f715e({'focusables':this[_0x39942b(0xc2)](),'focusTracker':this[_0x39942b(0xd0)]});}[_0x404323(0xcf)](){var _0x36d62c=_0x404323;return{'tag':_0x36d62c(0xc7),'attributes':{'aria-hidden':_0x36d62c(0xce),'tabindex':'0'},'on':{'focus':this[_0x36d62c(0xc8)]['to'](()=>{var _0x41ea3f=_0x36d62c;this[_0x41ea3f(0xc6)][_0x41ea3f(0xd1)](_0x41ea3f(0xcb));})}};}}