@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251218.0 → 0.0.0-nightly-next-20251220.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +38 -74
  3. package/dist/index.css +40 -78
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +9 -9
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.js +2 -2
  154. package/src/ui/uploadcareformview.js +1 -1
  155. package/src/uploadcare.js +1 -1
  156. package/src/uploadcarecommand.js +1 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
  176. package/theme/uploadcare-form.css +4 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f77f7=_0x306e;(function(_0x5e747f,_0x142c26){const _0x3ec6cb=_0x306e,_0x1331cc=_0x5e747f();while(!![]){try{const _0x36ea7e=-parseInt(_0x3ec6cb(0x1a4))/0x1+-parseInt(_0x3ec6cb(0x1bc))/0x2+-parseInt(_0x3ec6cb(0x1b7))/0x3*(-parseInt(_0x3ec6cb(0x1e9))/0x4)+parseInt(_0x3ec6cb(0x1ba))/0x5*(-parseInt(_0x3ec6cb(0x1be))/0x6)+-parseInt(_0x3ec6cb(0x1aa))/0x7+-parseInt(_0x3ec6cb(0x1d7))/0x8+-parseInt(_0x3ec6cb(0x1d2))/0x9*(-parseInt(_0x3ec6cb(0x1a9))/0xa);if(_0x36ea7e===_0x142c26)break;else _0x1331cc['push'](_0x1331cc['shift']());}catch(_0x39c17c){_0x1331cc['push'](_0x1331cc['shift']());}}}(_0x33c7,0xacf71));import{Plugin as _0x4a7679}from'ckeditor5/src/core.js';function _0x33c7(){const _0x3c304a=['querySelector','map','true','cleanupImage','PictureEditing','afterInit','join','1025984EfjLPP','appendChild','schema','_configElement','selection','89100ewTDIq','296471wevmCr','for','iconHrefResolver','href','_initCtx','editing','isOfficialPlugin','isPremiumPlugin','listenTo','uploader-','imageInline','uploadcare.uploader','_ctxElement','226131TGKABc','document','add','15sqnfXf','configElement','2696398SjVmkq','\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','1792806SvyPyb','pluginName','get','ucContextId','uploadcareImageId','uc-upload-ctx-provider','getAttribute','requires','remove','once','destroy','UploadcareEditing','_initConfig','config','fromCharCode','uploadcareImageReplace','commands','view','_initSchema','extend','4950MsXZVW','editor','conversion','downcast','model','9444832LWRkgR','replaceImageSource','execute','removeAttribute','contentLanguage','upcast','getSelectedElement','uploadcare','_initConversion','_initImageProcessingIndicator','data-uc-image-id','elementToAttribute','uc-config','insertImage','uploadcare.pubkey','ctxElement','isRegistered','input[uploadcare-file-input]','16iEDOSl','imageBlock','render','init','closeMax','#uc-icon-arrow-down','locale','body','attributeToAttribute'];_0x33c7=function(){return _0x3c304a;};return _0x33c7();}import{Dialog as _0x5571eb}from'ckeditor5/src/ui.js';function _0x306e(_0x5dcd1e,_0x40c0b1){const _0x33c7b7=_0x33c7();return _0x306e=function(_0x306ec6,_0x41b3d8){_0x306ec6=_0x306ec6-0x19d;let _0x1ee789=_0x33c7b7[_0x306ec6];return _0x1ee789;},_0x306e(_0x5dcd1e,_0x40c0b1);}import{createElement as _0x121fcd,global as _0x58687b,uid as _0x5b71f3}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x12819f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1105cf}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4b835c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4a7679{[_0x4f77f7(0x1a7)]=null;[_0x4f77f7(0x1b6)]=null;static get[_0x4f77f7(0x1bf)](){const _0x642bd4=_0x4f77f7;return _0x642bd4(0x1c9);}static get[_0x4f77f7(0x1c5)](){const _0x2646a3=_0x4f77f7;return[_0x2646a3(0x1a1),_0x1105cf,_0x5571eb];}static get[_0x4f77f7(0x1b0)](){return!0x0;}static get[_0x4f77f7(0x1b1)](){return!0x0;}[_0x4f77f7(0x1c1)];get[_0x4f77f7(0x1bb)](){const _0x33fab5=_0x4f77f7;return this[_0x33fab5(0x1a7)];}get[_0x4f77f7(0x1e6)](){const _0x3a1224=_0x4f77f7;return this[_0x3a1224(0x1b6)];}constructor(_0x1d5725){const _0x1d6ffa=_0x4f77f7;super(_0x1d5725),this[_0x1d6ffa(0x1c1)]=_0x5b71f3();}[_0x4f77f7(0x1ec)](){const _0x4992e1=_0x4f77f7,_0x103f41=this[_0x4992e1(0x1d3)];_0x103f41[_0x4992e1(0x1ce)][_0x4992e1(0x1b9)](_0x4992e1(0x1de),new _0x12819f(_0x103f41));}[_0x4f77f7(0x1a2)](){const _0x5ef882=_0x4f77f7;this[_0x5ef882(0x1d0)](),this[_0x5ef882(0x1df)](),this[_0x5ef882(0x1ca)](),this[_0x5ef882(0x1ae)](),this[_0x5ef882(0x1e0)](),this[_0x5ef882(0x1b2)](this[_0x5ef882(0x1d3)],_0x5ef882(0x1c8),()=>{const _0x4dffb2=_0x5ef882;this[_0x4dffb2(0x1a7)]&&(this[_0x4dffb2(0x1a7)][_0x4dffb2(0x1c6)](),this[_0x4dffb2(0x1a7)]=null),this[_0x4dffb2(0x1b6)]&&(this[_0x4dffb2(0x1b6)][_0x4dffb2(0x1c6)](),this[_0x4dffb2(0x1b6)]=null);const _0x477ded=_0x58687b[_0x4dffb2(0x1b8)][_0x4dffb2(0x19d)](_0x4dffb2(0x1e8));_0x477ded&&_0x477ded[_0x4dffb2(0x1c6)]();}),async function(_0x3231b1){const _0x4e230f=_0x4f66d4([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]),_0x3cd32f=0x535f8c3a,_0x3ed9d8=0x5358f07a^_0x3cd32f,_0x4be623=window[_0x4f66d4([0x44,0x61,0x74,0x65])][_0x4f66d4([0x6e,0x6f,0x77])](),_0x5586ad=_0x3231b1[_0x4f66d4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54a421=new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x544da6=>{_0x5586ad[_0x4f66d4([0x6f,0x6e,0x63,0x65])](_0x4f66d4([0x72,0x65,0x61,0x64,0x79]),_0x544da6);}),_0x1723f8={[_0x4f66d4([0x6b,0x74,0x79])]:_0x4f66d4([0x45,0x43]),[_0x4f66d4([0x75,0x73,0x65])]:_0x4f66d4([0x73,0x69,0x67]),[_0x4f66d4([0x63,0x72,0x76])]:_0x4f66d4([0x50,0x2d,0x32,0x35,0x36]),[_0x4f66d4([0x78])]:_0x4f66d4([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]),[_0x4f66d4([0x79])]:_0x4f66d4([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]),[_0x4f66d4([0x61,0x6c,0x67])]:_0x4f66d4([0x45,0x53,0x32,0x35,0x36])},_0x479963=_0x5586ad[_0x4f66d4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f66d4([0x67,0x65,0x74])](_0x4f66d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bbf95(){let _0x58c35a,_0x5829ba=null,_0x1ee3b1=null;try{if(_0x479963==_0x4f66d4([0x47,0x50,0x4c]))return _0x4f66d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58c35a=_0x2a9074(),!_0x58c35a)return _0x4f66d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58c35a[_0x4f66d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ee3b1=_0x577472(_0x58c35a[_0x4f66d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58c35a[_0x4f66d4([0x6a,0x74,0x69])])),await _0x570a82()?_0x35905e()?_0x11e0ec()?_0x4f66d4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x188131()?(_0x58c35a[_0x4f66d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f66d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5829ba=_0x418960(_0x4f66d4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58c35a[_0x4f66d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f66d4([0x74,0x72,0x69,0x61,0x6c])&&(_0x5829ba=_0x418960(_0x4f66d4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53a7c9()):_0x4f66d4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f66d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f66d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f66d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11e0ec(){const _0x328f3b=[_0x4f66d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f66d4([0x74,0x72,0x69,0x61,0x6c])][_0x4f66d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c35a[_0x4f66d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4be623/0x3e8:0xe10*_0x3ed9d8;return _0x58c35a[_0x4f66d4([0x65,0x78,0x70])]<_0x328f3b;}function _0x35905e(){const _0x28251b=_0x58c35a[_0x4f66d4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28251b&&(!!_0x28251b[_0x4f66d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f66d4([0x2a]))||!!_0x28251b[_0x4f66d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f66d4([0x55,0x50,0x4c,0x43])));}function _0x188131(){const _0xceba07=_0x306e,_0x6ba24b=_0x58c35a[_0x4f66d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ba24b||0x0==_0x6ba24b[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x884ea2}=new URL(window[_0x4f66d4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xceba07(0x1ad)]);if(_0x6ba24b[_0x4f66d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x884ea2))return!0x0;const _0x24c2e5=_0x884ea2[_0x4f66d4([0x73,0x70,0x6c,0x69,0x74])](_0x4f66d4([0x2e]));return _0x6ba24b[_0x4f66d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4760a9=>_0x4760a9[_0x4f66d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f66d4([0x2a])))[_0x4f66d4([0x6d,0x61,0x70])](_0x13759c=>_0x13759c[_0x4f66d4([0x73,0x70,0x6c,0x69,0x74])](_0x4f66d4([0x2e])))[_0x4f66d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x472381=>_0x472381[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24c2e5[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f66d4([0x6d,0x61,0x70])](_0x223c03=>Array(_0x24c2e5[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x223c03[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f66d4([0x66,0x69,0x6c,0x6c])](_0x223c03[0x0]===_0x4f66d4([0x2a])?_0x4f66d4([0x2a]):'')[_0x4f66d4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x223c03))[_0x4f66d4([0x73,0x6f,0x6d,0x65])](_0x4d6b36=>_0x24c2e5[_0x4f66d4([0x65,0x76,0x65,0x72,0x79])]((_0x8838a8,_0x35479d)=>_0x4d6b36[_0x35479d]===_0x8838a8||_0x4d6b36[_0x35479d]===_0x4f66d4([0x2a])));}function _0x53a7c9(){return _0x5829ba&&_0x1ee3b1?new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1724fe,_0x19b6bd)=>{_0x5829ba[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x1724fe,_0x19b6bd),_0x1ee3b1[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x559ae3=>{_0x559ae3!=_0x4f66d4([0x56,0x61,0x6c,0x69,0x64])&&_0x1724fe(_0x559ae3);},_0x19b6bd);}):_0x5829ba||_0x1ee3b1||_0x4f66d4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x577472(_0x396599,_0x5e9a17){return new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c480f=>{if(_0x39e116())return _0x3c480f(_0x4f66d4([0x56,0x61,0x6c,0x69,0x64]));_0x53b4db(),_0x5586ad[_0x4f66d4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f66d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x417d17=!0x1;const _0x339fba=_0x5b71f3();function _0x5ddf4e(_0x1d8546){return!!_0x1d8546&&(typeof _0x1d8546===_0x4f66d4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d8546===_0x4f66d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d8546[_0x4f66d4([0x74,0x68,0x65,0x6e])]===_0x4f66d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d8546[_0x4f66d4([0x63,0x61,0x74,0x63,0x68])]===_0x4f66d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xaffb03(_0xb79676){_0x1f594b(_0xb79676)[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x43cf0d=>{if(!_0x43cf0d||_0x43cf0d[_0x4f66d4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f66d4([0x6f,0x6b]))return _0x4f66d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24bd01(_0xe92e52(_0x339fba+_0x5e9a17))!=_0x43cf0d[_0x4f66d4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f66d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f66d4([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x266a03=>(_0x1e0578(),_0x266a03),()=>{const _0x3992e7=_0x1f5c23();return null==_0x3992e7?(_0x1e0578(),_0x4f66d4([0x56,0x61,0x6c,0x69,0x64])):_0x4f66d4(_0x4be623-_0x3992e7>(0x7753083a^_0x3cd32f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x3c480f)[_0x4f66d4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c480f(_0x4f66d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x170fcd=0x536962ba^_0x3cd32f;function _0x1e0578(){const _0x12596b=_0x4f66d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x24bd01(_0xe92e52(_0x396599)),_0x2352ff=_0x40b8a6(_0x24bd01(window[_0x4f66d4([0x4d,0x61,0x74,0x68])][_0x4f66d4([0x63,0x65,0x69,0x6c])](_0x4be623/_0x170fcd)));window[_0x4f66d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f66d4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12596b,_0x2352ff);}function _0x1f5c23(){const _0x57f379=_0x4f66d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x24bd01(_0xe92e52(_0x396599)),_0x3ae67c=window[_0x4f66d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f66d4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57f379);return _0x3ae67c?window[_0x4f66d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b8a6(_0x3ae67c),0x10)*_0x170fcd:null;}function _0x1f594b(_0x2e1fe8){return new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54fc8c,_0x487c4a)=>{_0x2e1fe8[_0x4f66d4([0x74,0x68,0x65,0x6e])](_0x54fc8c,_0x487c4a),window[_0x4f66d4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x487c4a,0x535e58fa^_0x3cd32f);});}}_0x5586ad[_0x4f66d4([0x6f,0x6e])](_0x4f66d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3feb3a,_0x38642d)=>{if(_0x38642d[0x0]!=_0x396599)return _0x3c480f(_0x4f66d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38642d[0x1]={..._0x38642d[0x1],[_0x4f66d4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x339fba};},{[_0x4f66d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f66d4([0x68,0x69,0x67,0x68])}),_0x5586ad[_0x4f66d4([0x6f,0x6e])](_0x4f66d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x320329=>{_0x5ddf4e(_0x320329[_0x4f66d4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x417d17=!0x0,_0xaffb03(_0x320329[_0x4f66d4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f66d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f66d4([0x6c,0x6f,0x77])}),_0x54a421[_0x4f66d4([0x74,0x68,0x65,0x6e])](()=>{_0x417d17||_0x3c480f(_0x4f66d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39e116(){return _0x5586ad[_0x4f66d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f66d4([0x76,0x69,0x65,0x77])][_0x4f66d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f66d4([0x61,0x75,0x74,0x6f]);}function _0x53b4db(){_0x5586ad[_0x4f66d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f66d4([0x76,0x69,0x65,0x77])][_0x4f66d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f66d4([0x61,0x75,0x74,0x6f]);}}function _0x418960(_0x416239){const _0x3678d7=[new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10d349=>setTimeout(_0x10d349,0x5356b2f6^_0x3cd32f)),_0x54a421[_0x4f66d4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5755c8=>{let _0x725239=0x0;_0x5586ad[_0x4f66d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f66d4([0x6f,0x6e])](_0x4f66d4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdfa407,_0x4a7ddb)=>{_0x4a7ddb[0x0][_0x4f66d4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x725239++,_0x725239==(0x535f8dc2^_0x3cd32f)&&(_0x5755c8(),_0xdfa407[_0x4f66d4([0x6f,0x66,0x66])]());});}))];return window[_0x4f66d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f66d4([0x72,0x61,0x63,0x65])](_0x3678d7)[_0x4f66d4([0x74,0x68,0x65,0x6e])](()=>_0x416239);}async function _0x8a95fa(){await _0x54a421,_0x5586ad[_0x4f66d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f66d4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd26f0,_0x5586ad[_0x4f66d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f66d4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd26f0,_0x5586ad[_0x4f66d4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f66d4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28add5(_0x125cde){const _0x21b184=_0x346496();_0x5586ad[_0x21b184]=_0x4f66d4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x125cde,_0x125cde!=_0x4f66d4([0x56,0x61,0x6c,0x69,0x64])&&_0x8a95fa();}function _0x346496(){const _0xd20836=window[_0x4f66d4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f66d4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f66d4([0x6e,0x6f,0x77])]())[_0x4f66d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f66d4([0x2e]),'');let _0x504324=_0x4f66d4([0x68]);for(let _0xe383a0=0x0;_0xe383a0<_0xd20836[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe383a0+=0x2){let _0x1084b1=window[_0x4f66d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd20836[_0x4f66d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe383a0,_0xe383a0+0x2));_0x1084b1>=_0x4e230f[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1084b1-=_0x4e230f[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x504324+=_0x4e230f[_0x1084b1];}return _0x504324;}function _0x2a9074(){const _0x3cded9=_0x479963[_0x4f66d4([0x73,0x70,0x6c,0x69,0x74])](_0x4f66d4([0x2e]));if(0x3!=_0x3cded9[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xccc89c(_0x3cded9[0x1]);function _0xccc89c(_0x7bd4a5){const _0x37d52a=_0x29c636(_0x7bd4a5);return _0x37d52a&&_0x3ed6a1()?_0x37d52a:null;function _0x3ed6a1(){const _0x1922d5=_0x37d52a[_0x4f66d4([0x6a,0x74,0x69])],_0xacf5f0=window[_0x4f66d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1922d5[_0x4f66d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1922d5[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x750604={..._0x37d52a,[_0x4f66d4([0x6a,0x74,0x69])]:_0x1922d5[_0x4f66d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1922d5[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x750604[_0x4f66d4([0x76,0x63])],_0xe92e52(_0x750604)==_0xacf5f0;}}}async function _0x570a82(){let _0xe947e3=!0x0;try{const _0x4f9246=_0x479963[_0x4f66d4([0x73,0x70,0x6c,0x69,0x74])](_0x4f66d4([0x2e])),[_0x3580ca,_0x2bff4d,_0x19c245]=_0x4f9246;return _0x894357(_0x3580ca),await _0x5ced7e(_0x3580ca,_0x2bff4d,_0x19c245),_0xe947e3;}catch{return!0x1;}function _0x894357(_0x4d8b39){const _0x279315=_0x29c636(_0x4d8b39);_0x279315&&_0x279315[_0x4f66d4([0x61,0x6c,0x67])]==_0x4f66d4([0x45,0x53,0x32,0x35,0x36])||(_0xe947e3=!0x1);}async function _0x5ced7e(_0x51ab43,_0x27e8a1,_0x1129e9){const _0x534bb7=window[_0x4f66d4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f66d4([0x66,0x72,0x6f,0x6d])](_0x1d0f93(_0x1129e9),_0x318c5e=>_0x318c5e[_0x4f66d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32101b=new window[(_0x4f66d4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f66d4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51ab43+_0x4f66d4([0x2e])+_0x27e8a1),_0x1b3cb0=window[_0x4f66d4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f66d4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b3cb0)return;const _0x4a31e5=await _0x1b3cb0[_0x4f66d4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f66d4([0x6a,0x77,0x6b]),_0x1723f8,{[_0x4f66d4([0x6e,0x61,0x6d,0x65])]:_0x4f66d4([0x45,0x43,0x44,0x53,0x41]),[_0x4f66d4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f66d4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f66d4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b3cb0[_0x4f66d4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f66d4([0x6e,0x61,0x6d,0x65])]:_0x4f66d4([0x45,0x43,0x44,0x53,0x41]),[_0x4f66d4([0x68,0x61,0x73,0x68])]:{[_0x4f66d4([0x6e,0x61,0x6d,0x65])]:_0x4f66d4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a31e5,_0x534bb7,_0x32101b)||(_0xe947e3=!0x1);}}function _0x29c636(_0x1a0647){return _0x1a0647[_0x4f66d4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f66d4([0x65,0x79]))?JSON[_0x4f66d4([0x70,0x61,0x72,0x73,0x65])](_0x1d0f93(_0x1a0647)):null;}function _0x1d0f93(_0x3b1d49){return window[_0x4f66d4([0x61,0x74,0x6f,0x62])](_0x3b1d49[_0x4f66d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f66d4([0x2b]))[_0x4f66d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f66d4([0x2f])));}function _0xe92e52(_0xdb245f){let _0xad8e4=0x1505;function _0x48436c(_0x8d62f4){for(let _0x925bac=0x0;_0x925bac<_0x8d62f4[_0x4f66d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x925bac++){const _0x26ac6c=_0x8d62f4[_0x4f66d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x925bac);_0xad8e4=(_0xad8e4<<0x5)+_0xad8e4+_0x26ac6c,_0xad8e4&=_0xad8e4;}}function _0x11e7d6(_0x4b6861){Array[_0x4f66d4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b6861)?_0x4b6861[_0x4f66d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11e7d6):_0x4b6861&&typeof _0x4b6861==_0x4f66d4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f66d4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b6861)[_0x4f66d4([0x73,0x6f,0x72,0x74])]()[_0x4f66d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54d407,_0x1e758d])=>{_0x48436c(_0x54d407),_0x11e7d6(_0x1e758d);}):_0x48436c(window[_0x4f66d4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b6861));}return _0x11e7d6(_0xdb245f),_0xad8e4>>>0x0;}function _0x24bd01(_0x49bd31){return _0x49bd31[_0x4f66d4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f66d4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f66d4([0x30]));}function _0x40b8a6(_0x58e049){return _0x58e049[_0x4f66d4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f66d4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f66d4([0x6a,0x6f,0x69,0x6e])]('');}function _0xd26f0(){}function _0x4f66d4(_0x85a604){const _0xf70a45=_0x306e;return _0x85a604[_0xf70a45(0x19e)](_0x547e76=>String[_0xf70a45(0x1cc)](_0x547e76))[_0xf70a45(0x1a3)]('');}_0x28add5(await _0x5bbf95());}(this);}[_0x4f77f7(0x1d0)](){const _0x2a2b4a=_0x4f77f7,_0x97d345=this[_0x2a2b4a(0x1d3)][_0x2a2b4a(0x1d6)][_0x2a2b4a(0x1a6)];_0x97d345[_0x2a2b4a(0x1e7)](_0x2a2b4a(0x1ea))&&_0x97d345[_0x2a2b4a(0x1d1)](_0x2a2b4a(0x1ea),{'allowAttributes':[_0x2a2b4a(0x1c2)]}),_0x97d345[_0x2a2b4a(0x1e7)](_0x2a2b4a(0x1b4))&&_0x97d345[_0x2a2b4a(0x1d1)](_0x2a2b4a(0x1b4),{'allowAttributes':[_0x2a2b4a(0x1c2)]});}[_0x4f77f7(0x1df)](){const _0x3fa8cf=_0x4f77f7,_0x5564fc=this[_0x3fa8cf(0x1d3)];_0x5564fc[_0x3fa8cf(0x1d4)][_0x3fa8cf(0x1ab)](_0x3fa8cf(0x1d5))[_0x3fa8cf(0x1f1)]({'model':_0x3fa8cf(0x1c2),'view':_0x3fa8cf(0x1e1)}),_0x5564fc[_0x3fa8cf(0x1d4)][_0x3fa8cf(0x1ab)](_0x3fa8cf(0x1dc))[_0x3fa8cf(0x1e2)]({'model':{'key':_0x3fa8cf(0x1c2),'value':_0x1b5988=>_0x1b5988[_0x3fa8cf(0x1c4)](_0x3fa8cf(0x1e1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2040b0=_0x5564fc[_0x3fa8cf(0x1ce)][_0x3fa8cf(0x1c0)](_0x3fa8cf(0x1d8));_0x2040b0&&this[_0x3fa8cf(0x1b2)](_0x2040b0,_0x3fa8cf(0x1a0),(_0xb713e2,[_0xb5ce8e,_0x29ace7])=>{const _0xbd1468=_0x3fa8cf;_0xb5ce8e[_0xbd1468(0x1da)](_0xbd1468(0x1c2),_0x29ace7);});}[_0x4f77f7(0x1ca)](){const _0x120a8d=_0x4f77f7,_0x1fc732=this[_0x120a8d(0x1d3)][_0x120a8d(0x1cb)][_0x120a8d(0x1c0)](_0x120a8d(0x1b5))||{},_0x30fc65=this[_0x120a8d(0x1d3)][_0x120a8d(0x1cb)][_0x120a8d(0x1c0)](_0x120a8d(0x1e5))||'';this[_0x120a8d(0x1a7)]=_0x121fcd(_0x58687b[_0x120a8d(0x1b8)],_0x120a8d(0x1e3),{..._0x1fc732,'pubkey':_0x30fc65,'ctx-name':_0x120a8d(0x1b3)+this[_0x120a8d(0x1c1)],'sourceList':'','imgOnly':_0x120a8d(0x19f),'removeCopyright':_0x120a8d(0x19f),'localeName':this[_0x120a8d(0x1d3)][_0x120a8d(0x1ef)][_0x120a8d(0x1db)],'externalSourcesEmbedCss':_0x120a8d(0x1bd)}),this[_0x120a8d(0x1a7)][_0x120a8d(0x1ac)]=_0x16e53d=>{const _0x2f1c7e=_0x120a8d;if(_0x2f1c7e(0x1ed)==_0x16e53d)return _0x2f1c7e(0x1ee);},_0x58687b[_0x120a8d(0x1b8)][_0x120a8d(0x1f0)][_0x120a8d(0x1a5)](this[_0x120a8d(0x1a7)]);}[_0x4f77f7(0x1ae)](){const _0x3b22e2=_0x4f77f7;this[_0x3b22e2(0x1b6)]=_0x121fcd(_0x58687b[_0x3b22e2(0x1b8)],_0x3b22e2(0x1c3),{'ctx-name':_0x3b22e2(0x1b3)+this[_0x3b22e2(0x1c1)]}),_0x58687b[_0x3b22e2(0x1b8)][_0x3b22e2(0x1f0)][_0x3b22e2(0x1a5)](this[_0x3b22e2(0x1b6)]);}[_0x4f77f7(0x1e0)](){const _0x84f294=_0x4f77f7,_0x15c120=this[_0x84f294(0x1d3)][_0x84f294(0x1ce)][_0x84f294(0x1c0)](_0x84f294(0x1e4));_0x15c120&&this[_0x84f294(0x1b2)](_0x15c120,_0x84f294(0x1d9),()=>{const _0x32334f=_0x84f294,_0xcafa1f=this[_0x32334f(0x1d3)][_0x32334f(0x1d6)][_0x32334f(0x1b8)][_0x32334f(0x1a8)][_0x32334f(0x1dd)]();_0xcafa1f&&_0xcafa1f[_0x32334f(0x1c4)](_0x32334f(0x1c2))&&this[_0x32334f(0x1d3)][_0x32334f(0x1af)][_0x32334f(0x1cf)][_0x32334f(0x1c7)](_0x32334f(0x1eb),()=>{const _0x1dfd1b=_0x32334f;_0x4b835c(this[_0x1dfd1b(0x1d3)],_0xcafa1f);});});const _0x2ff778=this[_0x84f294(0x1d3)][_0x84f294(0x1ce)][_0x84f294(0x1c0)](_0x84f294(0x1cd));_0x2ff778&&this[_0x84f294(0x1b2)](_0x2ff778,_0x84f294(0x1d9),()=>{const _0x2fd9ce=_0x84f294,_0x47a1de=this[_0x2fd9ce(0x1d3)][_0x2fd9ce(0x1d6)][_0x2fd9ce(0x1b8)][_0x2fd9ce(0x1a8)][_0x2fd9ce(0x1dd)]();_0x47a1de&&_0x47a1de[_0x2fd9ce(0x1c4)](_0x2fd9ce(0x1c2))&&this[_0x2fd9ce(0x1d3)][_0x2fd9ce(0x1af)][_0x2fd9ce(0x1cf)][_0x2fd9ce(0x1c7)](_0x2fd9ce(0x1eb),()=>{const _0x51c2ba=_0x2fd9ce;_0x4b835c(this[_0x51c2ba(0x1d3)],_0x47a1de);});});}}
23
+ const _0x30ca36=_0x86df;(function(_0x6f605b,_0x311e1e){const _0x350ef7=_0x86df,_0x5a0cb2=_0x6f605b();while(!![]){try{const _0x58770d=parseInt(_0x350ef7(0xd9))/0x1+parseInt(_0x350ef7(0xe4))/0x2*(parseInt(_0x350ef7(0xb5))/0x3)+-parseInt(_0x350ef7(0x97))/0x4*(parseInt(_0x350ef7(0xe2))/0x5)+parseInt(_0x350ef7(0xa6))/0x6*(parseInt(_0x350ef7(0xc0))/0x7)+parseInt(_0x350ef7(0xad))/0x8+parseInt(_0x350ef7(0xae))/0x9*(parseInt(_0x350ef7(0xda))/0xa)+-parseInt(_0x350ef7(0x99))/0xb;if(_0x58770d===_0x311e1e)break;else _0x5a0cb2['push'](_0x5a0cb2['shift']());}catch(_0x3dabda){_0x5a0cb2['push'](_0x5a0cb2['shift']());}}}(_0x58fe,0xefef9));import{Plugin as _0x68da7b}from'ckeditor5/src/core.js';import{Dialog as _0xa51a0f}from'ckeditor5/src/ui.js';import{createElement as _0x2f3f29,global as _0x5ac06d,uid as _0x1979c0}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1970ce}from'./uploadcarecommand.js';function _0x86df(_0x32ac00,_0x304794){const _0x58fee5=_0x58fe();return _0x86df=function(_0x86df69,_0x4aeec7){_0x86df69=_0x86df69-0x95;let _0x2960f1=_0x58fee5[_0x86df69];return _0x2960f1;},_0x86df(_0x32ac00,_0x304794);}import{UploadcareUploadAdapter as _0x3b8e60}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1f5e61}from'./utils/editingutils.js';function _0x58fe(){const _0x3db3f0=['cleanupImage','48tuHYiE','join','uploader-','remove','imageInline','href','ucContextId','7153560yETaGa','54hqfNGp','_ctxElement','uploadcareImageId','removeAttribute','config','uploadcare.uploader','contentLanguage','1089UfutQP','querySelector','isOfficialPlugin','uploadcare','add','model','map','data-uc-image-id','_configElement','execute','document','116067SpghJy','_initConfig','_initCtx','uc-upload-ctx-provider','locale','commands','editing','PictureEditing','_initImageProcessingIndicator','#uc-icon-arrow-down','init','upcast','schema','conversion','UploadcareEditing','downcast','selection','editor','isPremiumPlugin','extend','afterInit','getAttribute','once','configElement','elementToAttribute','1279889sBryen','1510330QfevLW','isRegistered','fromCharCode','pluginName','getSelectedElement','view','replaceImageSource','destroy','4317995SaMsiH','uploadcare.pubkey','3514WPhCIE','render','get','listenTo','for','_initConversion','imageBlock','input[uploadcare-file-input]','insertImage','4YufOEn','iconHrefResolver','22047795ZeQWJM','requires','body','uc-config','appendChild','closeMax','uploadcareImageReplace','ctxElement','\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','true','attributeToAttribute','_initSchema'];_0x58fe=function(){return _0x3db3f0;};return _0x58fe();}export class UploadcareEditing extends _0x68da7b{[_0x30ca36(0xbd)]=null;[_0x30ca36(0xaf)]=null;static get[_0x30ca36(0xdd)](){const _0x46a191=_0x30ca36;return _0x46a191(0xce);}static get[_0x30ca36(0x9a)](){const _0x3cce7f=_0x30ca36;return[_0x3cce7f(0xc7),_0x3b8e60,_0xa51a0f];}static get[_0x30ca36(0xb7)](){return!0x0;}static get[_0x30ca36(0xd2)](){return!0x0;}[_0x30ca36(0xac)];get[_0x30ca36(0xd7)](){const _0x46db68=_0x30ca36;return this[_0x46db68(0xbd)];}get[_0x30ca36(0xa0)](){const _0x291555=_0x30ca36;return this[_0x291555(0xaf)];}constructor(_0x2292b4){const _0x2b801e=_0x30ca36;super(_0x2292b4),this[_0x2b801e(0xac)]=_0x1979c0();}[_0x30ca36(0xca)](){const _0x2b58f6=_0x30ca36,_0x2ca344=this[_0x2b58f6(0xd1)];_0x2ca344[_0x2b58f6(0xc5)][_0x2b58f6(0xb9)](_0x2b58f6(0xb8),new _0x1970ce(_0x2ca344));}[_0x30ca36(0xd4)](){const _0x55bffd=_0x30ca36;this[_0x55bffd(0xa4)](),this[_0x55bffd(0xe9)](),this[_0x55bffd(0xc1)](),this[_0x55bffd(0xc2)](),this[_0x55bffd(0xc8)](),this[_0x55bffd(0xe7)](this[_0x55bffd(0xd1)],_0x55bffd(0xe1),()=>{const _0x4571ed=_0x55bffd;this[_0x4571ed(0xbd)]&&(this[_0x4571ed(0xbd)][_0x4571ed(0xa9)](),this[_0x4571ed(0xbd)]=null),this[_0x4571ed(0xaf)]&&(this[_0x4571ed(0xaf)][_0x4571ed(0xa9)](),this[_0x4571ed(0xaf)]=null);const _0x45f644=_0x5ac06d[_0x4571ed(0xbf)][_0x4571ed(0xb6)](_0x4571ed(0x95));_0x45f644&&_0x45f644[_0x4571ed(0xa9)]();}),async function(_0x169bac){const _0x3a58b4=_0x29c36e([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]),_0x161baa=0x535f8c3a,_0x40298b=0x5358f04a^_0x161baa,_0x2643cd=window[_0x29c36e([0x44,0x61,0x74,0x65])][_0x29c36e([0x6e,0x6f,0x77])](),_0x251213=_0x169bac[_0x29c36e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x108550=new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4acf69=>{_0x251213[_0x29c36e([0x6f,0x6e,0x63,0x65])](_0x29c36e([0x72,0x65,0x61,0x64,0x79]),_0x4acf69);}),_0x4a3bcf={[_0x29c36e([0x6b,0x74,0x79])]:_0x29c36e([0x45,0x43]),[_0x29c36e([0x75,0x73,0x65])]:_0x29c36e([0x73,0x69,0x67]),[_0x29c36e([0x63,0x72,0x76])]:_0x29c36e([0x50,0x2d,0x32,0x35,0x36]),[_0x29c36e([0x78])]:_0x29c36e([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]),[_0x29c36e([0x79])]:_0x29c36e([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]),[_0x29c36e([0x61,0x6c,0x67])]:_0x29c36e([0x45,0x53,0x32,0x35,0x36])},_0x4bf080=_0x251213[_0x29c36e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29c36e([0x67,0x65,0x74])](_0x29c36e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bbc6f(){let _0x2556d1,_0x8e750f=null,_0x29d20b=null;try{if(_0x4bf080==_0x29c36e([0x47,0x50,0x4c]))return _0x29c36e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2556d1=_0x4aeabe(),!_0x2556d1)return _0x29c36e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2556d1[_0x29c36e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29d20b=_0x1d2833(_0x2556d1[_0x29c36e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2556d1[_0x29c36e([0x6a,0x74,0x69])])),await _0x1c5ea7()?_0x322ca2()?_0xec1fac()?_0x29c36e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53e1ab()?(_0x2556d1[_0x29c36e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c36e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8e750f=_0x267b3e(_0x29c36e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2556d1[_0x29c36e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c36e([0x74,0x72,0x69,0x61,0x6c])&&(_0x8e750f=_0x267b3e(_0x29c36e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x359185()):_0x29c36e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29c36e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29c36e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29c36e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xec1fac(){const _0x4a9e47=[_0x29c36e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29c36e([0x74,0x72,0x69,0x61,0x6c])][_0x29c36e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2556d1[_0x29c36e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2643cd/0x3e8:0xe10*_0x40298b;return _0x2556d1[_0x29c36e([0x65,0x78,0x70])]<_0x4a9e47;}function _0x322ca2(){const _0x3d85c0=_0x2556d1[_0x29c36e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d85c0&&(!!_0x3d85c0[_0x29c36e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c36e([0x2a]))||!!_0x3d85c0[_0x29c36e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c36e([0x55,0x50,0x4c,0x43])));}function _0x53e1ab(){const _0x5256b0=_0x86df,_0x4bddf1=_0x2556d1[_0x29c36e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bddf1||0x0==_0x4bddf1[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41ddb0}=new URL(window[_0x29c36e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5256b0(0xab)]);if(_0x4bddf1[_0x29c36e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41ddb0))return!0x0;const _0x5ec1d6=_0x41ddb0[_0x29c36e([0x73,0x70,0x6c,0x69,0x74])](_0x29c36e([0x2e]));return _0x4bddf1[_0x29c36e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0cdc=>_0x4e0cdc[_0x29c36e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c36e([0x2a])))[_0x29c36e([0x6d,0x61,0x70])](_0x595fbd=>_0x595fbd[_0x29c36e([0x73,0x70,0x6c,0x69,0x74])](_0x29c36e([0x2e])))[_0x29c36e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ba828=>_0x3ba828[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ec1d6[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c36e([0x6d,0x61,0x70])](_0xdfb13d=>Array(_0x5ec1d6[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xdfb13d[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c36e([0x66,0x69,0x6c,0x6c])](_0xdfb13d[0x0]===_0x29c36e([0x2a])?_0x29c36e([0x2a]):'')[_0x29c36e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xdfb13d))[_0x29c36e([0x73,0x6f,0x6d,0x65])](_0x3ba544=>_0x5ec1d6[_0x29c36e([0x65,0x76,0x65,0x72,0x79])]((_0x138d38,_0x41a61e)=>_0x3ba544[_0x41a61e]===_0x138d38||_0x3ba544[_0x41a61e]===_0x29c36e([0x2a])));}function _0x359185(){return _0x8e750f&&_0x29d20b?new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24654f,_0x46914b)=>{_0x8e750f[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x24654f,_0x46914b),_0x29d20b[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x3837df=>{_0x3837df!=_0x29c36e([0x56,0x61,0x6c,0x69,0x64])&&_0x24654f(_0x3837df);},_0x46914b);}):_0x8e750f||_0x29d20b||_0x29c36e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d2833(_0x316aa2,_0x130a1d){return new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21de27=>{if(_0x27552c())return _0x21de27(_0x29c36e([0x56,0x61,0x6c,0x69,0x64]));_0x2feb6a(),_0x251213[_0x29c36e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29c36e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30bb05=!0x1;const _0x29aa64=_0x1979c0();function _0x12f40d(_0x3e5c33){return!!_0x3e5c33&&(typeof _0x3e5c33===_0x29c36e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e5c33===_0x29c36e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e5c33[_0x29c36e([0x74,0x68,0x65,0x6e])]===_0x29c36e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e5c33[_0x29c36e([0x63,0x61,0x74,0x63,0x68])]===_0x29c36e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ea257(_0x2d26fa){_0x5634d3(_0x2d26fa)[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x22167d=>{if(!_0x22167d||_0x22167d[_0x29c36e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29c36e([0x6f,0x6b]))return _0x29c36e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55b50e(_0x3fbf45(_0x29aa64+_0x130a1d))!=_0x22167d[_0x29c36e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29c36e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29c36e([0x56,0x61,0x6c,0x69,0x64]);})[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x1d582a=>(_0xef0d71(),_0x1d582a),()=>{const _0x3e6549=_0x5326dc();return null==_0x3e6549?(_0xef0d71(),_0x29c36e([0x56,0x61,0x6c,0x69,0x64])):_0x29c36e(_0x2643cd-_0x3e6549>(0x7753083a^_0x161baa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x21de27)[_0x29c36e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21de27(_0x29c36e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e8ed3=0x536962ba^_0x161baa;function _0xef0d71(){const _0x57c2fd=_0x29c36e([0x6c,0x6c,0x63,0x74,0x2d])+_0x55b50e(_0x3fbf45(_0x316aa2)),_0x5f0592=_0x1e7ba5(_0x55b50e(window[_0x29c36e([0x4d,0x61,0x74,0x68])][_0x29c36e([0x63,0x65,0x69,0x6c])](_0x2643cd/_0x5e8ed3)));window[_0x29c36e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c36e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57c2fd,_0x5f0592);}function _0x5326dc(){const _0x484817=_0x29c36e([0x6c,0x6c,0x63,0x74,0x2d])+_0x55b50e(_0x3fbf45(_0x316aa2)),_0x490365=window[_0x29c36e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c36e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x484817);return _0x490365?window[_0x29c36e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7ba5(_0x490365),0x10)*_0x5e8ed3:null;}function _0x5634d3(_0x2a090f){return new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x113d1d,_0x462ba4)=>{_0x2a090f[_0x29c36e([0x74,0x68,0x65,0x6e])](_0x113d1d,_0x462ba4),window[_0x29c36e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x462ba4,0x535e58fa^_0x161baa);});}}_0x251213[_0x29c36e([0x6f,0x6e])](_0x29c36e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bfc40,_0x5a82ee)=>{if(_0x5a82ee[0x0]!=_0x316aa2)return _0x21de27(_0x29c36e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a82ee[0x1]={..._0x5a82ee[0x1],[_0x29c36e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29aa64};},{[_0x29c36e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c36e([0x68,0x69,0x67,0x68])}),_0x251213[_0x29c36e([0x6f,0x6e])](_0x29c36e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4efc19=>{_0x12f40d(_0x4efc19[_0x29c36e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30bb05=!0x0,_0x1ea257(_0x4efc19[_0x29c36e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29c36e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c36e([0x6c,0x6f,0x77])}),_0x108550[_0x29c36e([0x74,0x68,0x65,0x6e])](()=>{_0x30bb05||_0x21de27(_0x29c36e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27552c(){return _0x251213[_0x29c36e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c36e([0x76,0x69,0x65,0x77])][_0x29c36e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29c36e([0x61,0x75,0x74,0x6f]);}function _0x2feb6a(){_0x251213[_0x29c36e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c36e([0x76,0x69,0x65,0x77])][_0x29c36e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29c36e([0x61,0x75,0x74,0x6f]);}}function _0x267b3e(_0x175f60){const _0xd0e734=[new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3605=>setTimeout(_0x3d3605,0x5356b2f6^_0x161baa)),_0x108550[_0x29c36e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4beedf=>{let _0x5d9f85=0x0;_0x251213[_0x29c36e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c36e([0x6f,0x6e])](_0x29c36e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e85b7,_0x27c1b3)=>{_0x27c1b3[0x0][_0x29c36e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d9f85++,_0x5d9f85==(0x535f89d2^_0x161baa)&&(_0x4beedf(),_0x3e85b7[_0x29c36e([0x6f,0x66,0x66])]());});}))];return window[_0x29c36e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29c36e([0x72,0x61,0x63,0x65])](_0xd0e734)[_0x29c36e([0x74,0x68,0x65,0x6e])](()=>_0x175f60);}async function _0x3aea80(){await _0x108550,_0x251213[_0x29c36e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c36e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35ec19,_0x251213[_0x29c36e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c36e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35ec19,_0x251213[_0x29c36e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29c36e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x205565(_0x5b89b2){const _0x8e31be=_0x1e1add();_0x251213[_0x8e31be]=_0x29c36e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b89b2,_0x5b89b2!=_0x29c36e([0x56,0x61,0x6c,0x69,0x64])&&_0x3aea80();}function _0x1e1add(){const _0x572fa2=window[_0x29c36e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29c36e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29c36e([0x6e,0x6f,0x77])]())[_0x29c36e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29c36e([0x2e]),'');let _0x25529b=_0x29c36e([0x68]);for(let _0x21e9ba=0x0;_0x21e9ba<_0x572fa2[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21e9ba+=0x2){let _0x4c0fd6=window[_0x29c36e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x572fa2[_0x29c36e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21e9ba,_0x21e9ba+0x2));_0x4c0fd6>=_0x3a58b4[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c0fd6-=_0x3a58b4[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25529b+=_0x3a58b4[_0x4c0fd6];}return _0x25529b;}function _0x4aeabe(){const _0x1dfa76=_0x4bf080[_0x29c36e([0x73,0x70,0x6c,0x69,0x74])](_0x29c36e([0x2e]));if(0x3!=_0x1dfa76[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x266051(_0x1dfa76[0x1]);function _0x266051(_0x5873ec){const _0x509553=_0x15e714(_0x5873ec);return _0x509553&&_0x58f0da()?_0x509553:null;function _0x58f0da(){const _0x1ac7b8=_0x509553[_0x29c36e([0x6a,0x74,0x69])],_0x1c02e9=window[_0x29c36e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac7b8[_0x29c36e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac7b8[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47bb23={..._0x509553,[_0x29c36e([0x6a,0x74,0x69])]:_0x1ac7b8[_0x29c36e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ac7b8[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47bb23[_0x29c36e([0x76,0x63])],_0x3fbf45(_0x47bb23)==_0x1c02e9;}}}async function _0x1c5ea7(){let _0x24e7f2=!0x0;try{const _0x18c056=_0x4bf080[_0x29c36e([0x73,0x70,0x6c,0x69,0x74])](_0x29c36e([0x2e])),[_0x4ccf9e,_0x2b1ea1,_0x1816ba]=_0x18c056;return _0x16186c(_0x4ccf9e),await _0x391cb9(_0x4ccf9e,_0x2b1ea1,_0x1816ba),_0x24e7f2;}catch{return!0x1;}function _0x16186c(_0x194e37){const _0x3e0437=_0x15e714(_0x194e37);_0x3e0437&&_0x3e0437[_0x29c36e([0x61,0x6c,0x67])]==_0x29c36e([0x45,0x53,0x32,0x35,0x36])||(_0x24e7f2=!0x1);}async function _0x391cb9(_0x4f7b1c,_0x59d8a7,_0xd34d50){const _0x19c8f7=window[_0x29c36e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29c36e([0x66,0x72,0x6f,0x6d])](_0x57473a(_0xd34d50),_0x577732=>_0x577732[_0x29c36e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4345de=new window[(_0x29c36e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29c36e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f7b1c+_0x29c36e([0x2e])+_0x59d8a7),_0x357d30=window[_0x29c36e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29c36e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x357d30)return;const _0x5a503d=await _0x357d30[_0x29c36e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29c36e([0x6a,0x77,0x6b]),_0x4a3bcf,{[_0x29c36e([0x6e,0x61,0x6d,0x65])]:_0x29c36e([0x45,0x43,0x44,0x53,0x41]),[_0x29c36e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29c36e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29c36e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x357d30[_0x29c36e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29c36e([0x6e,0x61,0x6d,0x65])]:_0x29c36e([0x45,0x43,0x44,0x53,0x41]),[_0x29c36e([0x68,0x61,0x73,0x68])]:{[_0x29c36e([0x6e,0x61,0x6d,0x65])]:_0x29c36e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a503d,_0x19c8f7,_0x4345de)||(_0x24e7f2=!0x1);}}function _0x15e714(_0x27bc4f){return _0x27bc4f[_0x29c36e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29c36e([0x65,0x79]))?JSON[_0x29c36e([0x70,0x61,0x72,0x73,0x65])](_0x57473a(_0x27bc4f)):null;}function _0x57473a(_0x58b96d){return window[_0x29c36e([0x61,0x74,0x6f,0x62])](_0x58b96d[_0x29c36e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29c36e([0x2b]))[_0x29c36e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29c36e([0x2f])));}function _0x3fbf45(_0x28fb06){let _0x48d579=0x1505;function _0x4e75b5(_0x3dfa5c){for(let _0x17f98c=0x0;_0x17f98c<_0x3dfa5c[_0x29c36e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17f98c++){const _0x7d0b12=_0x3dfa5c[_0x29c36e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17f98c);_0x48d579=(_0x48d579<<0x5)+_0x48d579+_0x7d0b12,_0x48d579&=_0x48d579;}}function _0xa83bd6(_0x312cc6){Array[_0x29c36e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x312cc6)?_0x312cc6[_0x29c36e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa83bd6):_0x312cc6&&typeof _0x312cc6==_0x29c36e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29c36e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x312cc6)[_0x29c36e([0x73,0x6f,0x72,0x74])]()[_0x29c36e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x195fbd,_0x33dcd1])=>{_0x4e75b5(_0x195fbd),_0xa83bd6(_0x33dcd1);}):_0x4e75b5(window[_0x29c36e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x312cc6));}return _0xa83bd6(_0x28fb06),_0x48d579>>>0x0;}function _0x55b50e(_0x130d8e){return _0x130d8e[_0x29c36e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29c36e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29c36e([0x30]));}function _0x1e7ba5(_0x32e7ba){return _0x32e7ba[_0x29c36e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29c36e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29c36e([0x6a,0x6f,0x69,0x6e])]('');}function _0x35ec19(){}function _0x29c36e(_0xc35f8e){const _0x458a61=_0x86df;return _0xc35f8e[_0x458a61(0xbb)](_0x418402=>String[_0x458a61(0xdc)](_0x418402))[_0x458a61(0xa7)]('');}_0x205565(await _0x5bbc6f());}(this);}[_0x30ca36(0xa4)](){const _0x10a3a3=_0x30ca36,_0x2df27e=this[_0x10a3a3(0xd1)][_0x10a3a3(0xba)][_0x10a3a3(0xcc)];_0x2df27e[_0x10a3a3(0xdb)](_0x10a3a3(0xea))&&_0x2df27e[_0x10a3a3(0xd3)](_0x10a3a3(0xea),{'allowAttributes':[_0x10a3a3(0xb0)]}),_0x2df27e[_0x10a3a3(0xdb)](_0x10a3a3(0xaa))&&_0x2df27e[_0x10a3a3(0xd3)](_0x10a3a3(0xaa),{'allowAttributes':[_0x10a3a3(0xb0)]});}[_0x30ca36(0xe9)](){const _0x1ee73f=_0x30ca36,_0x2824cc=this[_0x1ee73f(0xd1)];_0x2824cc[_0x1ee73f(0xcd)][_0x1ee73f(0xe8)](_0x1ee73f(0xcf))[_0x1ee73f(0xa3)]({'model':_0x1ee73f(0xb0),'view':_0x1ee73f(0xbc)}),_0x2824cc[_0x1ee73f(0xcd)][_0x1ee73f(0xe8)](_0x1ee73f(0xcb))[_0x1ee73f(0xd8)]({'model':{'key':_0x1ee73f(0xb0),'value':_0xf52d32=>_0xf52d32[_0x1ee73f(0xd5)](_0x1ee73f(0xbc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3ae43f=_0x2824cc[_0x1ee73f(0xc5)][_0x1ee73f(0xe6)](_0x1ee73f(0xe0));_0x3ae43f&&this[_0x1ee73f(0xe7)](_0x3ae43f,_0x1ee73f(0xa5),(_0x2814c1,[_0x110fd6,_0x132a12])=>{const _0x4c17a9=_0x1ee73f;_0x110fd6[_0x4c17a9(0xb1)](_0x4c17a9(0xb0),_0x132a12);});}[_0x30ca36(0xc1)](){const _0x237ef6=_0x30ca36,_0x57311a=this[_0x237ef6(0xd1)][_0x237ef6(0xb2)][_0x237ef6(0xe6)](_0x237ef6(0xb3))||{},_0x489933=this[_0x237ef6(0xd1)][_0x237ef6(0xb2)][_0x237ef6(0xe6)](_0x237ef6(0xe3))||'';this[_0x237ef6(0xbd)]=_0x2f3f29(_0x5ac06d[_0x237ef6(0xbf)],_0x237ef6(0x9c),{..._0x57311a,'pubkey':_0x489933,'ctx-name':_0x237ef6(0xa8)+this[_0x237ef6(0xac)],'sourceList':'','imgOnly':_0x237ef6(0xa2),'removeCopyright':_0x237ef6(0xa2),'localeName':this[_0x237ef6(0xd1)][_0x237ef6(0xc4)][_0x237ef6(0xb4)],'externalSourcesEmbedCss':_0x237ef6(0xa1)}),this[_0x237ef6(0xbd)][_0x237ef6(0x98)]=_0x40e9e8=>{const _0x49caaf=_0x237ef6;if(_0x49caaf(0x9e)==_0x40e9e8)return _0x49caaf(0xc9);},_0x5ac06d[_0x237ef6(0xbf)][_0x237ef6(0x9b)][_0x237ef6(0x9d)](this[_0x237ef6(0xbd)]);}[_0x30ca36(0xc2)](){const _0x17eb1c=_0x30ca36;this[_0x17eb1c(0xaf)]=_0x2f3f29(_0x5ac06d[_0x17eb1c(0xbf)],_0x17eb1c(0xc3),{'ctx-name':_0x17eb1c(0xa8)+this[_0x17eb1c(0xac)]}),_0x5ac06d[_0x17eb1c(0xbf)][_0x17eb1c(0x9b)][_0x17eb1c(0x9d)](this[_0x17eb1c(0xaf)]);}[_0x30ca36(0xc8)](){const _0x36e082=_0x30ca36,_0xaad5b7=this[_0x36e082(0xd1)][_0x36e082(0xc5)][_0x36e082(0xe6)](_0x36e082(0x96));_0xaad5b7&&this[_0x36e082(0xe7)](_0xaad5b7,_0x36e082(0xbe),()=>{const _0x4a2b4d=_0x36e082,_0x5ae9e=this[_0x4a2b4d(0xd1)][_0x4a2b4d(0xba)][_0x4a2b4d(0xbf)][_0x4a2b4d(0xd0)][_0x4a2b4d(0xde)]();_0x5ae9e&&_0x5ae9e[_0x4a2b4d(0xd5)](_0x4a2b4d(0xb0))&&this[_0x4a2b4d(0xd1)][_0x4a2b4d(0xc6)][_0x4a2b4d(0xdf)][_0x4a2b4d(0xd6)](_0x4a2b4d(0xe5),()=>{const _0x5953ba=_0x4a2b4d;_0x1f5e61(this[_0x5953ba(0xd1)],_0x5ae9e);});});const _0x14b183=this[_0x36e082(0xd1)][_0x36e082(0xc5)][_0x36e082(0xe6)](_0x36e082(0x9f));_0x14b183&&this[_0x36e082(0xe7)](_0x14b183,_0x36e082(0xbe),()=>{const _0x1678b0=_0x36e082,_0x2df5b8=this[_0x1678b0(0xd1)][_0x1678b0(0xba)][_0x1678b0(0xbf)][_0x1678b0(0xd0)][_0x1678b0(0xde)]();_0x2df5b8&&_0x2df5b8[_0x1678b0(0xd5)](_0x1678b0(0xb0))&&this[_0x1678b0(0xd1)][_0x1678b0(0xc6)][_0x1678b0(0xdf)][_0x1678b0(0xd6)](_0x1678b0(0xe5),()=>{const _0x597171=_0x1678b0;_0x1f5e61(this[_0x597171(0xd1)],_0x2df5b8);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4f3f49,ObservableMixin as _0x1800fb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4ca72b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x57c303}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xf6d55b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2998f5}from'../../utils/uploadutils.js';import{getImageUrls as _0xd326f3,getImageDimension as _0x120a76}from'../../utils/editingutils.js';import{isAncestor as _0x2cf7cd}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1800fb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x261ad0,_0x1cc0bc,_0x391cc0){super(),this['_editor']=_0x261ad0,this['_dialog']=_0x1cc0bc,this['_imageElement']=_0x391cc0,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 _0x9d0a27=this['_imageElement'],_0x42d88d=_0x9d0a27['getAttribute']('uploadcareImageId'),_0x104bf1=_0x9d0a27['getAttribute']('src');if(_0x42d88d)await this['_loadImageInfo'](_0x42d88d,_0x104bf1);else{if(this['_imageCache']['has'](_0x104bf1)){const _0x5dd5bf=this['_imageCache']['get'](_0x104bf1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5dd5bf['url'],this['imageDimension']=_0x5dd5bf['dimension'],this['imageId']=_0x5dd5bf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b12bb}=this['_editor'],t=_0x5b12bb['t'],_0x32fc8a=new _0xf6d55b(_0x5b12bb,this['imageStatus'],this['_attributes']);_0x32fc8a['bind']('status')['to'](this,'imageStatus'),_0x32fc8a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x32fc8a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x32fc8a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x32fc8a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x57c303,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x32fc8a,'position':_0x4ca72b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x32fc8a['focus']();},'onHide':()=>{_0x32fc8a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x441e1c=>!_0x2cf7cd(_0x441e1c,_0x32fc8a['element'])}});}['_loadImageInfo'](_0x1706b0,_0x51ebeb){return _0x2998f5['getInfo'](_0x1706b0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd8e35=>{const {width:_0x4d11bc,height:_0xa812dc}=_0xd8e35['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51ebeb,this['imageDimension']={'width':_0x4d11bc,'height':_0xa812dc},this['imageId']=_0x1706b0;})['catch'](_0x4c5a96=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c5a96['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x28f276,_0xd97df8){return this['_getImageAsFile'](_0x28f276)['then'](_0x4c68db=>_0x2998f5['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':_0xd97df8['signal'],'file':_0x4c68db,'onProgress':_0x5e47b0=>{_0x5e47b0&&_0x5e47b0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e47b0['value']));}}))['then'](_0x21a74c=>{const {width:_0xa85b27,height:_0x40821a}=_0x21a74c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21a74c['cdnUrl'],this['imageDimension']={'width':_0xa85b27,'height':_0x40821a},this['imageId']=_0x21a74c['uuid'],this['imageUploadProgress']=null;const _0x59e3bb=_0x28f276['getAttribute']('src');this['_imageCache']['set'](_0x59e3bb,{'id':_0x21a74c['uuid'],'url':_0x21a74c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b4a8b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b4a8b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3048dd,_0x1940f8){_0x3048dd['on']('apply',(_0x3aeb93,_0x316ed2)=>{this['_replaceImage'](_0x1940f8,_0x316ed2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3048dd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3048dd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x32ad29,_0x3da441,_0xc5d9f0){const _0xc8ecb3=this['_editor'],{width:_0x27c1ac,height:_0x3fcc56}=_0x120a76(_0x3da441,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x33f906,imageSources:_0x54d152}=_0xd326f3(_0x3da441,_0x27c1ac);_0xc8ecb3['model']['change'](_0xf6bd35=>{if('$graveyard'===_0x32ad29['root']['rootName']){_0xc8ecb3['execute']('insertImage',{'imageType':_0x32ad29['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x32ad29['getAttributes']()),'uploadcareImageId':_0xc5d9f0,'src':_0x33f906,'sources':_0x54d152,'width':_0x27c1ac,'height':_0x3fcc56}});const _0x1daa38=_0x32ad29['getChildren']();_0x32ad29=_0xc8ecb3['model']['document']['selection']['getSelectedElement']();for(const _0xa000d7 of _0x1daa38)_0xf6bd35['append'](_0xf6bd35['cloneElement'](_0xa000d7),_0x32ad29);}else _0xf6bd35['setSelection'](_0x32ad29,'on'),_0xc8ecb3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x32ad29['getAttributes']()),'uploadcareImageId':_0xc5d9f0,'src':_0x33f906,'sources':_0x54d152,'width':_0x27c1ac,'height':_0x3fcc56},_0x32ad29);_0xf6bd35['setSelection'](_0x32ad29,'on');});}async['_getImageAsFile'](_0x2d61dc){const _0x21c86d=_0x4f3f49['window'],_0x3376d8=_0x4f3f49['document']['location']['href'],_0x17d8e2=new _0x21c86d['URL'](_0x2d61dc['getAttribute']('src'),_0x3376d8);if('data:'===_0x17d8e2['protocol']){const _0x2ba65b=_0x17d8e2['href']['split'](','),_0x34178b=_0x2ba65b[0x0]['match'](/:(.*?);/)[0x1],_0x409244=_0x34178b['split']('/')[0x1],_0x56fffd=_0x21c86d['atob'](_0x2ba65b[_0x2ba65b['length']-0x1]);let _0x3128d9=_0x56fffd['length'];const _0x30803a=new _0x21c86d['Uint8Array'](_0x3128d9);for(;_0x3128d9--;)_0x30803a[_0x3128d9]=_0x56fffd['charCodeAt'](_0x3128d9);return new _0x21c86d['File']([_0x30803a],'image.'+_0x409244,{'type':_0x34178b});}const _0x5252b3=_0x17d8e2['href']['split']('/'),_0x65fe28=_0x5252b3[_0x5252b3['length']-0x1],_0x528f60=_0x65fe28['split']('.')[0x1];return _0x21c86d['fetch'](_0x17d8e2['href'])['then'](_0x4124b9=>_0x4124b9['clone']()['blob']())['then'](_0x2a91e5=>new _0x21c86d['File']([_0x2a91e5],_0x65fe28,{'type':'image/'+_0x528f60}));}}
23
+ import{global as _0x400a7c,ObservableMixin as _0x500ed1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x364d2f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5d384b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x43f3fa}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xe16f87}from'../../utils/uploadutils.js';import{getImageUrls as _0x599f86,getImageDimension as _0x2ef2f8}from'../../utils/editingutils.js';import{isAncestor as _0x4de0d0}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x500ed1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x374338,_0xc23ff2,_0x40fdde){super(),this['_editor']=_0x374338,this['_dialog']=_0xc23ff2,this['_imageElement']=_0x40fdde,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 _0x1dcb2c=this['_imageElement'],_0x6212a4=_0x1dcb2c['getAttribute']('uploadcareImageId'),_0x11e6d8=_0x1dcb2c['getAttribute']('src');if(_0x6212a4)await this['_loadImageInfo'](_0x6212a4,_0x11e6d8);else{if(this['_imageCache']['has'](_0x11e6d8)){const _0x287c3e=this['_imageCache']['get'](_0x11e6d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x287c3e['url'],this['imageDimension']=_0x287c3e['dimension'],this['imageId']=_0x287c3e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2b0e1c}=this['_editor'],t=_0x2b0e1c['t'],_0x56226c=new _0x43f3fa(_0x2b0e1c,this['imageStatus'],this['_attributes']);_0x56226c['bind']('status')['to'](this,'imageStatus'),_0x56226c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56226c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56226c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56226c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d384b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56226c,'position':_0x364d2f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56226c['focus']();},'onHide':()=>{_0x56226c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc42004=>!_0x4de0d0(_0xc42004,_0x56226c['element'])}});}['_loadImageInfo'](_0x19bff3,_0x3f8b84){return _0xe16f87['getInfo'](_0x19bff3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2a92b8=>{const {width:_0x4aeb78,height:_0x160a51}=_0x2a92b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f8b84,this['imageDimension']={'width':_0x4aeb78,'height':_0x160a51},this['imageId']=_0x19bff3;})['catch'](_0xfee3cd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfee3cd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ed1aa,_0x3e306b){return this['_getImageAsFile'](_0x2ed1aa)['then'](_0x25ea99=>_0xe16f87['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':_0x3e306b['signal'],'file':_0x25ea99,'onProgress':_0x3d10eb=>{_0x3d10eb&&_0x3d10eb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3d10eb['value']));}}))['then'](_0x13c5ac=>{const {width:_0x118497,height:_0x17eb0b}=_0x13c5ac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13c5ac['cdnUrl'],this['imageDimension']={'width':_0x118497,'height':_0x17eb0b},this['imageId']=_0x13c5ac['uuid'],this['imageUploadProgress']=null;const _0x1d7151=_0x2ed1aa['getAttribute']('src');this['_imageCache']['set'](_0x1d7151,{'id':_0x13c5ac['uuid'],'url':_0x13c5ac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x35fdb3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35fdb3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4b260a,_0x359b73){_0x4b260a['on']('apply',(_0x338c01,_0x27b166)=>{this['_replaceImage'](_0x359b73,_0x27b166['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4b260a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4b260a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x259d4b,_0xec3a35,_0x25d2ee){const _0x335110=this['_editor'],{width:_0x506aaa,height:_0x508e01}=_0x2ef2f8(_0xec3a35,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e0c5d,imageSources:_0xa606ee}=_0x599f86(_0xec3a35,_0x506aaa);_0x335110['model']['change'](_0x9c60c1=>{if('$graveyard'===_0x259d4b['root']['rootName']){_0x335110['execute']('insertImage',{'imageType':_0x259d4b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x259d4b['getAttributes']()),'uploadcareImageId':_0x25d2ee,'src':_0x5e0c5d,'sources':_0xa606ee,'width':_0x506aaa,'height':_0x508e01}});const _0x504dc5=_0x259d4b['getChildren']();_0x259d4b=_0x335110['model']['document']['selection']['getSelectedElement']();for(const _0x14580b of _0x504dc5)_0x9c60c1['append'](_0x9c60c1['cloneElement'](_0x14580b),_0x259d4b);}else _0x9c60c1['setSelection'](_0x259d4b,'on'),_0x335110['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x259d4b['getAttributes']()),'uploadcareImageId':_0x25d2ee,'src':_0x5e0c5d,'sources':_0xa606ee,'width':_0x506aaa,'height':_0x508e01},_0x259d4b);_0x9c60c1['setSelection'](_0x259d4b,'on');});}async['_getImageAsFile'](_0x4e261c){const _0x35e000=_0x400a7c['window'],_0x6e2c05=_0x400a7c['document']['location']['href'],_0x4c5ed4=new _0x35e000['URL'](_0x4e261c['getAttribute']('src'),_0x6e2c05);if('data:'===_0x4c5ed4['protocol']){const _0x5d5edc=_0x4c5ed4['href']['split'](','),_0x283a11=_0x5d5edc[0x0]['match'](/:(.*?);/)[0x1],_0x198b93=_0x283a11['split']('/')[0x1],_0xd28950=_0x35e000['atob'](_0x5d5edc[_0x5d5edc['length']-0x1]);let _0x13745f=_0xd28950['length'];const _0x16a829=new _0x35e000['Uint8Array'](_0x13745f);for(;_0x13745f--;)_0x16a829[_0x13745f]=_0xd28950['charCodeAt'](_0x13745f);return new _0x35e000['File']([_0x16a829],'image.'+_0x198b93,{'type':_0x283a11});}const _0x1327ca=_0x4c5ed4['href']['split']('/'),_0x723f14=_0x1327ca[_0x1327ca['length']-0x1],_0x143f17=_0x723f14['split']('.')[0x1];return _0x35e000['fetch'](_0x4c5ed4['href'])['then'](_0x335900=>_0x335900['clone']()['blob']())['then'](_0x478140=>new _0x35e000['File']([_0x478140],_0x723f14,{'type':'image/'+_0x143f17}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x445773,_0x453114){const _0x48e6da=_0x31de,_0x20d70c=_0x445773();while(!![]){try{const _0x31b042=parseInt(_0x48e6da(0x92))/0x1*(-parseInt(_0x48e6da(0x8e))/0x2)+parseInt(_0x48e6da(0x91))/0x3*(parseInt(_0x48e6da(0x8b))/0x4)+parseInt(_0x48e6da(0x86))/0x5*(parseInt(_0x48e6da(0x82))/0x6)+-parseInt(_0x48e6da(0x90))/0x7+-parseInt(_0x48e6da(0x8d))/0x8*(-parseInt(_0x48e6da(0x8c))/0x9)+parseInt(_0x48e6da(0x7f))/0xa*(-parseInt(_0x48e6da(0x87))/0xb)+-parseInt(_0x48e6da(0x81))/0xc*(-parseInt(_0x48e6da(0x8f))/0xd);if(_0x31b042===_0x453114)break;else _0x20d70c['push'](_0x20d70c['shift']());}catch(_0x5a6aef){_0x20d70c['push'](_0x20d70c['shift']());}}}(_0x4a5b,0xefc1c));function _0x31de(_0x3c2ebd,_0xadb589){const _0x4a5bde=_0x4a5b();return _0x31de=function(_0x31de3a,_0x31e5e8){_0x31de3a=_0x31de3a-0x7e;let _0x21b391=_0x4a5bde[_0x31de3a];return _0x21b391;},_0x31de(_0x3c2ebd,_0xadb589);}import{View as _0x509c61}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x509c61{constructor(_0x353aab,_0x1235d3){const _0x5d96c9=_0x31de;super(_0x353aab);const _0x41e142=this[_0x5d96c9(0x85)];this[_0x5d96c9(0x89)](_0x5d96c9(0x80),''),this[_0x5d96c9(0x88)]({'tag':_0x5d96c9(0x83),'attributes':{..._0x1235d3,'class':[_0x5d96c9(0x8a),_0x5d96c9(0x84)],'ctx-name':_0x5d96c9(0x7e),'cdn-url':_0x41e142['to'](_0x5d96c9(0x80))}});}}function _0x4a5b(){const _0x4cb1f9=['uc-cloud-image-editor','ck-uploadcare-theme','bindTemplate','12535SXeHfe','22wzUHgV','setTemplate','set','uc-light','3643240YRrJhm','33795EYIosU','2776QvwZqH','13646ldLDrP','5551bzSTea','12505969qeWeJl','3QoWWcH','107JBizGh','image-edit','9268680vQqpgh','imageSrc','69816NUdKdS','1566RxGMEU'];_0x4a5b=function(){return _0x4cb1f9;};return _0x4a5b();}
23
+ (function(_0x4d301f,_0xd57248){const _0x5d008c=_0x12ca,_0x330bb0=_0x4d301f();while(!![]){try{const _0x23a09b=parseInt(_0x5d008c(0xd2))/0x1*(-parseInt(_0x5d008c(0xd6))/0x2)+-parseInt(_0x5d008c(0xd5))/0x3*(parseInt(_0x5d008c(0xe2))/0x4)+parseInt(_0x5d008c(0xd0))/0x5+parseInt(_0x5d008c(0xd4))/0x6*(-parseInt(_0x5d008c(0xdf))/0x7)+-parseInt(_0x5d008c(0xdb))/0x8+parseInt(_0x5d008c(0xd9))/0x9+parseInt(_0x5d008c(0xd8))/0xa*(parseInt(_0x5d008c(0xd1))/0xb);if(_0x23a09b===_0xd57248)break;else _0x330bb0['push'](_0x330bb0['shift']());}catch(_0x305100){_0x330bb0['push'](_0x330bb0['shift']());}}}(_0x23a2,0x9bf3d));import{View as _0x3c13ba}from'ckeditor5/src/ui.js';function _0x23a2(){const _0x203d64=['set','163868LVSEvu','5609775UEolsD','22gNGHwo','6ofDbHo','image-edit','1608scEUic','33HuLurB','301160vBsTaG','uc-cloud-image-editor','1137050BZnoYV','10424412dfqXCc','bindTemplate','3271000FWtMSI','uc-light','ck-uploadcare-theme','imageSrc','2765lyJKLp','setTemplate'];_0x23a2=function(){return _0x203d64;};return _0x23a2();}function _0x12ca(_0x1063ba,_0x46412f){const _0x23a2fa=_0x23a2();return _0x12ca=function(_0x12cae3,_0x4c25f8){_0x12cae3=_0x12cae3-0xd0;let _0x1fc531=_0x23a2fa[_0x12cae3];return _0x1fc531;},_0x12ca(_0x1063ba,_0x46412f);}export class UploadcareImageEditFormEditingView extends _0x3c13ba{constructor(_0x5c5aff,_0x4e8f6a){const _0x10be53=_0x12ca;super(_0x5c5aff);const _0x44558f=this[_0x10be53(0xda)];this[_0x10be53(0xe1)](_0x10be53(0xde),''),this[_0x10be53(0xe0)]({'tag':_0x10be53(0xd7),'attributes':{..._0x4e8f6a,'class':[_0x10be53(0xdc),_0x10be53(0xdd)],'ctx-name':_0x10be53(0xd3),'cdn-url':_0x44558f['to'](_0x10be53(0xde))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2e7cf3}from'ckeditor5/src/icons.js';import{ButtonView as _0x22d4fb,IconView as _0x2a6292,View as _0x6c177c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x6c177c{constructor(_0x2b3328){super(_0x2b3328);const t=_0x2b3328['t'];this['set']('errorType',null);const _0x457c87=new _0x22d4fb(_0x2b3328);_0x457c87['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x457c87['withText']=!0x0,_0x457c87['class']='ck-button-action',_0x457c87['on']('execute',()=>{this['fire']('retry');}),_0x457c87['bind']('isVisible')['to'](this,'errorType',_0xef06f5=>'NotFound'!==_0xef06f5);const _0x3aaa78=new _0x2a6292();_0x3aaa78['content']=_0x2e7cf3,_0x3aaa78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xf4ec45=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':[_0x3aaa78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xf4ec45['to']('errorType',_0x2366af=>t('NotFound'!==_0x2366af?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x457c87]},{'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 _0x338bdc}from'ckeditor5/src/icons.js';import{ButtonView as _0x3ecedf,IconView as _0xb48ae0,View as _0x2c8e22}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2c8e22{constructor(_0x25e238){super(_0x25e238);const t=_0x25e238['t'];this['set']('errorType',null);const _0x56da37=new _0x3ecedf(_0x25e238);_0x56da37['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x56da37['withText']=!0x0,_0x56da37['class']='ck-button-action',_0x56da37['on']('execute',()=>{this['fire']('retry');}),_0x56da37['bind']('isVisible')['to'](this,'errorType',_0x3421ae=>'NotFound'!==_0x3421ae);const _0x50aaad=new _0xb48ae0();_0x50aaad['content']=_0x338bdc,_0x50aaad['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x26b3ad=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':[_0x50aaad,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x26b3ad['to']('errorType',_0x304021=>t('NotFound'!==_0x304021?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x56da37]},{'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 _0x2dcc52,View as _0xc01260}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xc01260{constructor(_0x1d4b18){super(_0x1d4b18);const t=_0x1d4b18['t'],_0x2bf036=this['bindTemplate'],_0x22ee43=new _0x2dcc52();_0x22ee43['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':[_0x22ee43,{'text':_0x2bf036['to']('imageUploadProgress',_0x3428a3=>t('Loading\x20image...')+'\x20('+(_0x3428a3||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 _0x55032f,View as _0x50c8c2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x50c8c2{constructor(_0x289926){super(_0x289926);const t=_0x289926['t'],_0x71da26=this['bindTemplate'],_0xab55ea=new _0x55032f();_0xab55ea['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':[_0xab55ea,{'text':_0x71da26['to']('imageUploadProgress',_0x26e98d=>t('Loading\x20image...')+'\x20('+(_0x26e98d||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 _0x53fdb3=_0x1264;(function(_0x14af56,_0x26ce27){const _0x5a0963=_0x1264,_0xc8ba8=_0x14af56();while(!![]){try{const _0xaa9b41=parseInt(_0x5a0963(0x11b))/0x1+-parseInt(_0x5a0963(0x116))/0x2+-parseInt(_0x5a0963(0x12b))/0x3+-parseInt(_0x5a0963(0x114))/0x4+-parseInt(_0x5a0963(0x112))/0x5*(parseInt(_0x5a0963(0x121))/0x6)+parseInt(_0x5a0963(0x117))/0x7+-parseInt(_0x5a0963(0x12a))/0x8*(-parseInt(_0x5a0963(0x10c))/0x9);if(_0xaa9b41===_0x26ce27)break;else _0xc8ba8['push'](_0xc8ba8['shift']());}catch(_0x407059){_0xc8ba8['push'](_0xc8ba8['shift']());}}}(_0x162f,0x5f32e));import{View as _0x1acff9}from'ckeditor5/src/ui.js';function _0x1264(_0x449b91,_0x1af646){const _0x162fb1=_0x162f();return _0x1264=function(_0x12648f,_0xe124bd){_0x12648f=_0x12648f-0xf9;let _0x21a481=_0x162fb1[_0x12648f];return _0x21a481;},_0x1264(_0x449b91,_0x1af646);}import{UploadcareImageEditFormLoadingView as _0x1be576}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x106c0e}from'./uploadcareimageeditformerrorview.js';function _0x162f(){const _0x1abb52=['getFocusableElement','disconnect','filter','addMany','cancel','retry','_focusableView','toLowerCase','ready','_errorView','target','_waitForImageEditorComponent','once','nodeName','status','_items','_editingView','set','querySelector','createCollection','uc-cloud-image-editor','6759414fmuQJe','_addUploadcareImageEditorListeners','_setView','observe','addEventListener','detail','134220oeEbQr','ck-uploadcare-form','2613164YGeedI','focus','484384wFJUIe','418663fUTHmK','_loadingView','setTemplate','uploading','52009aapbvf','change:status','error','addedNodes','length','render','162lrtWFP','element','div','_addErrorViewListeners','cdnUrl','clear','ck-reset_all-excluded','add','apply','24IsNCAk','1064253hqPYAv','fire'];_0x162f=function(){return _0x1abb52;};return _0x162f();}import{UploadcareImageEditFormEditingView as _0x4b1158}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5774e3}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5774e3{[_0x53fdb3(0x106)];[_0x53fdb3(0x118)];[_0x53fdb3(0x100)];[_0x53fdb3(0x107)];[_0x53fdb3(0xfd)];constructor(_0x226781,_0x50992b,_0x1826f8){const _0x475f67=_0x53fdb3;super(_0x226781),this[_0x475f67(0x106)]=this[_0x475f67(0x10a)](),this[_0x475f67(0x118)]=new _0x1be576(_0x226781),this[_0x475f67(0x100)]=new _0x106c0e(_0x226781),this[_0x475f67(0x107)]=new _0x4b1158(_0x226781,_0x1826f8),this[_0x475f67(0xfd)]=new _0x1acff9(_0x226781),this[_0x475f67(0xfd)][_0x475f67(0x119)](this[_0x475f67(0x12d)]()),this[_0x475f67(0x108)](_0x475f67(0x105),_0x50992b),this[_0x475f67(0x119)]({'tag':_0x475f67(0x123),'attributes':{'class':['ck',_0x475f67(0x127),_0x475f67(0x113)],'tabindex':'-1'},'children':this[_0x475f67(0x106)]}),this[_0x475f67(0x10e)](),this[_0x475f67(0x103)](_0x475f67(0x120),()=>{const _0x1229be=_0x475f67;this[_0x1229be(0x102)](this[_0x1229be(0x122)],_0x36ea07=>{const _0x2b27e6=_0x1229be;this[_0x2b27e6(0x10d)](_0x36ea07);});}),this['on'](_0x475f67(0x11c),()=>{const _0x22b176=_0x475f67;this[_0x22b176(0x10e)]();}),this[_0x475f67(0x124)]();}[_0x53fdb3(0x115)](){const _0x4c0c1a=_0x53fdb3;this[_0x4c0c1a(0x122)][_0x4c0c1a(0x115)]();}[_0x53fdb3(0x10e)](){const _0x22dfdb=_0x53fdb3;switch(this[_0x22dfdb(0x106)][_0x22dfdb(0x126)](),this[_0x22dfdb(0x105)]){case _0x22dfdb(0x11a):this[_0x22dfdb(0x106)][_0x22dfdb(0x128)](this[_0x22dfdb(0x118)]);break;case _0x22dfdb(0x11d):this[_0x22dfdb(0x106)][_0x22dfdb(0x128)](this[_0x22dfdb(0x100)]);break;case _0x22dfdb(0xff):this[_0x22dfdb(0x106)][_0x22dfdb(0xfa)]([this[_0x22dfdb(0x107)],this[_0x22dfdb(0xfd)]]);}}[_0x53fdb3(0x102)](_0x1aa6d2,_0x43ad11){const _0x439a69=_0x53fdb3,_0x4034ba=_0x439a69(0x10b),_0x127204=_0x1aa6d2[_0x439a69(0x109)](_0x4034ba);if(_0x127204)return _0x43ad11(_0x127204);const _0x30ae76=new MutationObserver(_0x1926f9=>{const _0x2a32a7=_0x439a69,_0x455c1f=_0x1926f9[_0x2a32a7(0xf9)](_0x5a40b7=>_0x5a40b7[_0x2a32a7(0x101)]===_0x1aa6d2&&_0x5a40b7[_0x2a32a7(0x11e)][_0x2a32a7(0x11f)]>0x0&&_0x5a40b7[_0x2a32a7(0x11e)][0x0][_0x2a32a7(0x104)][_0x2a32a7(0xfe)]()===_0x4034ba);_0x455c1f[_0x2a32a7(0x11f)]&&(_0x30ae76[_0x2a32a7(0x12e)](),_0x43ad11(_0x455c1f[0x0][_0x2a32a7(0x11e)][0x0]));});_0x30ae76[_0x439a69(0x10f)](_0x1aa6d2,{'childList':!0x0,'subtree':!0x0});}[_0x53fdb3(0x10d)](_0x2bbf9e){const _0x48253a=_0x53fdb3;_0x2bbf9e[_0x48253a(0x110)](_0x48253a(0x129),_0x901b8f=>{const _0x3f1401=_0x48253a;this[_0x3f1401(0x12c)](_0x3f1401(0x129),{'imageSrc':_0x901b8f[_0x3f1401(0x111)][_0x3f1401(0x125)]});}),_0x2bbf9e[_0x48253a(0x110)](_0x48253a(0xfb),()=>{const _0x343e9c=_0x48253a;this[_0x343e9c(0x12c)](_0x343e9c(0xfb));});}[_0x53fdb3(0x124)](){const _0x254cfc=_0x53fdb3;this[_0x254cfc(0x100)]['on'](_0x254cfc(0xfc),()=>{const _0xf5d2ef=_0x254cfc;this[_0xf5d2ef(0x12c)](_0xf5d2ef(0xfc));});}}
23
+ const _0xf3d8bb=_0x4b13;(function(_0x204978,_0x45a446){const _0x2c6ea2=_0x4b13,_0x5398b7=_0x204978();while(!![]){try{const _0x3ef6b1=parseInt(_0x2c6ea2(0x150))/0x1*(-parseInt(_0x2c6ea2(0x142))/0x2)+-parseInt(_0x2c6ea2(0x154))/0x3+-parseInt(_0x2c6ea2(0x14e))/0x4+-parseInt(_0x2c6ea2(0x12d))/0x5+parseInt(_0x2c6ea2(0x12b))/0x6+parseInt(_0x2c6ea2(0x133))/0x7+parseInt(_0x2c6ea2(0x157))/0x8*(parseInt(_0x2c6ea2(0x136))/0x9);if(_0x3ef6b1===_0x45a446)break;else _0x5398b7['push'](_0x5398b7['shift']());}catch(_0x5b4afa){_0x5398b7['push'](_0x5398b7['shift']());}}}(_0x5d17,0x97160));function _0x4b13(_0x30ccd5,_0x46a3f6){const _0x5d175a=_0x5d17();return _0x4b13=function(_0x4b1377,_0x4b1f22){_0x4b1377=_0x4b1377-0x12b;let _0x4cdae8=_0x5d175a[_0x4b1377];return _0x4cdae8;},_0x4b13(_0x30ccd5,_0x46a3f6);}import{View as _0x5583f0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x36cd4c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x286f94}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x53bd8d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3e38a5}from'../../utils/dialogfocusmanagerview.js';function _0x5d17(){const _0x272dec=['_loadingView','apply','error','getFocusableElement','addedNodes','12zONook','uploading','_editingView','target','once','_errorView','_addErrorViewListeners','createCollection','_focusableView','render','detail','set','195664pXdeZg','_items','14684ncrGyk','querySelector','change:status','ready','1833612KMfzFK','cdnUrl','div','104XQUdVI','filter','element','disconnect','add','retry','ck-reset_all-excluded','observe','_addUploadcareImageEditorListeners','toLowerCase','3028734EBQaZa','cancel','5540345dcLtEK','clear','setTemplate','status','nodeName','ck-uploadcare-form','2352035oMOYyC','fire','addMany','1131471RyuDQr','focus','_waitForImageEditorComponent','_setView','uc-cloud-image-editor','length','addEventListener'];_0x5d17=function(){return _0x272dec;};return _0x5d17();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3e38a5{[_0xf3d8bb(0x14f)];[_0xf3d8bb(0x13d)];[_0xf3d8bb(0x147)];[_0xf3d8bb(0x144)];[_0xf3d8bb(0x14a)];constructor(_0x1b5e88,_0x5d1f35,_0x4752a0){const _0x40582b=_0xf3d8bb;super(_0x1b5e88),this[_0x40582b(0x14f)]=this[_0x40582b(0x149)](),this[_0x40582b(0x13d)]=new _0x36cd4c(_0x1b5e88),this[_0x40582b(0x147)]=new _0x286f94(_0x1b5e88),this[_0x40582b(0x144)]=new _0x53bd8d(_0x1b5e88,_0x4752a0),this[_0x40582b(0x14a)]=new _0x5583f0(_0x1b5e88),this[_0x40582b(0x14a)][_0x40582b(0x12f)](this[_0x40582b(0x140)]()),this[_0x40582b(0x14d)](_0x40582b(0x130),_0x5d1f35),this[_0x40582b(0x12f)]({'tag':_0x40582b(0x156),'attributes':{'class':['ck',_0x40582b(0x15d),_0x40582b(0x132)],'tabindex':'-1'},'children':this[_0x40582b(0x14f)]}),this[_0x40582b(0x139)](),this[_0x40582b(0x146)](_0x40582b(0x14b),()=>{const _0x4b38a9=_0x40582b;this[_0x4b38a9(0x138)](this[_0x4b38a9(0x159)],_0x3ce7a6=>{const _0x38c6bc=_0x4b38a9;this[_0x38c6bc(0x15f)](_0x3ce7a6);});}),this['on'](_0x40582b(0x152),()=>{const _0x132bea=_0x40582b;this[_0x132bea(0x139)]();}),this[_0x40582b(0x148)]();}[_0xf3d8bb(0x137)](){const _0x4875c0=_0xf3d8bb;this[_0x4875c0(0x159)][_0x4875c0(0x137)]();}[_0xf3d8bb(0x139)](){const _0x4bb5b9=_0xf3d8bb;switch(this[_0x4bb5b9(0x14f)][_0x4bb5b9(0x12e)](),this[_0x4bb5b9(0x130)]){case _0x4bb5b9(0x143):this[_0x4bb5b9(0x14f)][_0x4bb5b9(0x15b)](this[_0x4bb5b9(0x13d)]);break;case _0x4bb5b9(0x13f):this[_0x4bb5b9(0x14f)][_0x4bb5b9(0x15b)](this[_0x4bb5b9(0x147)]);break;case _0x4bb5b9(0x153):this[_0x4bb5b9(0x14f)][_0x4bb5b9(0x135)]([this[_0x4bb5b9(0x144)],this[_0x4bb5b9(0x14a)]]);}}[_0xf3d8bb(0x138)](_0x4f526a,_0x3798eb){const _0x2a2288=_0xf3d8bb,_0x38ae18=_0x2a2288(0x13a),_0x6dcc26=_0x4f526a[_0x2a2288(0x151)](_0x38ae18);if(_0x6dcc26)return _0x3798eb(_0x6dcc26);const _0x333358=new MutationObserver(_0x50a692=>{const _0x4d61a1=_0x2a2288,_0x4f2158=_0x50a692[_0x4d61a1(0x158)](_0x678d8c=>_0x678d8c[_0x4d61a1(0x145)]===_0x4f526a&&_0x678d8c[_0x4d61a1(0x141)][_0x4d61a1(0x13b)]>0x0&&_0x678d8c[_0x4d61a1(0x141)][0x0][_0x4d61a1(0x131)][_0x4d61a1(0x160)]()===_0x38ae18);_0x4f2158[_0x4d61a1(0x13b)]&&(_0x333358[_0x4d61a1(0x15a)](),_0x3798eb(_0x4f2158[0x0][_0x4d61a1(0x141)][0x0]));});_0x333358[_0x2a2288(0x15e)](_0x4f526a,{'childList':!0x0,'subtree':!0x0});}[_0xf3d8bb(0x15f)](_0x253a97){const _0x41249f=_0xf3d8bb;_0x253a97[_0x41249f(0x13c)](_0x41249f(0x13e),_0xa018c3=>{const _0x52bd62=_0x41249f;this[_0x52bd62(0x134)](_0x52bd62(0x13e),{'imageSrc':_0xa018c3[_0x52bd62(0x14c)][_0x52bd62(0x155)]});}),_0x253a97[_0x41249f(0x13c)](_0x41249f(0x12c),()=>{const _0xd3a39c=_0x41249f;this[_0xd3a39c(0x134)](_0xd3a39c(0x12c));});}[_0xf3d8bb(0x148)](){const _0x8b82d6=_0xf3d8bb;this[_0x8b82d6(0x147)]['on'](_0x8b82d6(0x15c),()=>{const _0x398347=_0x8b82d6;this[_0x398347(0x134)](_0x398347(0x15c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2901c2=_0x4dd4;(function(_0x1689ea,_0x50f71e){const _0x281b9f=_0x4dd4,_0x1b9918=_0x1689ea();while(!![]){try{const _0x3f3576=parseInt(_0x281b9f(0xea))/0x1+-parseInt(_0x281b9f(0xd8))/0x2*(-parseInt(_0x281b9f(0xe1))/0x3)+-parseInt(_0x281b9f(0xdd))/0x4+parseInt(_0x281b9f(0xd6))/0x5+-parseInt(_0x281b9f(0xe9))/0x6*(parseInt(_0x281b9f(0xed))/0x7)+-parseInt(_0x281b9f(0xef))/0x8*(-parseInt(_0x281b9f(0xda))/0x9)+-parseInt(_0x281b9f(0xf4))/0xa;if(_0x3f3576===_0x50f71e)break;else _0x1b9918['push'](_0x1b9918['shift']());}catch(_0x1e69c4){_0x1b9918['push'](_0x1b9918['shift']());}}}(_0x37e6,0xce61d));import{Command as _0x330905}from'ckeditor5/src/core.js';import{Dialog as _0x1bc9d3}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x17941b}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3c10b6}from'../utils/editingutils.js';function _0x4dd4(_0x1d796c,_0x56f779){const _0x37e6cf=_0x37e6();return _0x4dd4=function(_0x4dd447,_0x19c75e){_0x4dd447=_0x4dd447-0xd5;let _0x15308a=_0x37e6cf[_0x4dd447];return _0x15308a;},_0x4dd4(_0x1d796c,_0x56f779);}function _0x37e6(){const _0xb5a5d3=['refresh','selection','_isEditable','getSelectedElement','42246rhmBYc','396091FiAwMj','get','element','1456qbboGK','isActive','9825544kOerRH','imageEditController','model','bind','isEnabled','12131290nzfUJa','plugins','6231645Zcpjvz','imageBlock','2AWsSGD','execute','9FDABeE','uploadcare.allowExternalImagesEditing','config','3884624LQujkx','requires','editor','document','4870623eWVTKf','imageInline','set','unbind'];_0x37e6=function(){return _0xb5a5d3;};return _0x37e6();}export class UploadcareImageEditCommand extends _0x330905{[_0x2901c2(0xf0)];static get[_0x2901c2(0xde)](){return[_0x1bc9d3];}[_0x2901c2(0xe7)];constructor(_0x39920){const _0xddf5f9=_0x2901c2;super(_0x39920),this[_0xddf5f9(0xf0)]=void 0x0,this[_0xddf5f9(0xe7)]=_0x3c10b6(_0x39920[_0xddf5f9(0xdc)][_0xddf5f9(0xeb)](_0xddf5f9(0xdb))||[]),this[_0xddf5f9(0xe3)]({'isActive':!0x1});}[_0x2901c2(0xe5)](){const _0x17fbf9=_0x2901c2,_0x1c920d=this[_0x17fbf9(0xdf)][_0x17fbf9(0xf1)][_0x17fbf9(0xe0)][_0x17fbf9(0xe6)][_0x17fbf9(0xe8)]();this[_0x17fbf9(0xf3)]=this[_0x17fbf9(0xe7)](_0x1c920d);}[_0x2901c2(0xd9)](){const _0x5eba4b=_0x2901c2;this[_0x5eba4b(0xf0)]&&(this[_0x5eba4b(0xe4)](_0x5eba4b(0xee)),this[_0x5eba4b(0xf0)]=void 0x0);const _0x440c67=this[_0x5eba4b(0xdf)][_0x5eba4b(0xf1)][_0x5eba4b(0xe0)][_0x5eba4b(0xe6)][_0x5eba4b(0xe8)]();_0x440c67&&(_0x440c67['is'](_0x5eba4b(0xec),_0x5eba4b(0xd7))||_0x440c67['is'](_0x5eba4b(0xec),_0x5eba4b(0xe2)))&&(this[_0x5eba4b(0xf0)]=new _0x17941b(this[_0x5eba4b(0xdf)],this[_0x5eba4b(0xdf)][_0x5eba4b(0xd5)][_0x5eba4b(0xeb)](_0x1bc9d3),_0x440c67),this[_0x5eba4b(0xf2)](_0x5eba4b(0xee))['to'](this[_0x5eba4b(0xf0)],_0x5eba4b(0xee)));}}
23
+ const _0x30e5a5=_0xadb1;function _0x11c9(){const _0x28c75b=['model','editor','set','imageInline','uploadcare.allowExternalImagesEditing','imageBlock','imageEditController','document','18rCdqYH','74994lQIjYm','_isEditable','isActive','13494HWyQDX','4296520XXjwzN','requires','get','4UdZoOZ','5OaMZmc','refresh','isEnabled','selection','bind','execute','27560vGPnAl','1536372xYlDmF','13QmIGSr','plugins','2299vcCYmJ','element','getSelectedElement','unbind','3451OLxFPe','1108956ALajKU','config','1830965XlVIwj'];_0x11c9=function(){return _0x28c75b;};return _0x11c9();}(function(_0x46efc8,_0x764db0){const _0x146c61=_0xadb1,_0x217cf0=_0x46efc8();while(!![]){try{const _0x477066=-parseInt(_0x146c61(0x196))/0x1*(-parseInt(_0x146c61(0x18e))/0x2)+-parseInt(_0x146c61(0x19d))/0x3+-parseInt(_0x146c61(0x195))/0x4*(-parseInt(_0x146c61(0x184))/0x5)+parseInt(_0x146c61(0x191))/0x6*(parseInt(_0x146c61(0x181))/0x7)+parseInt(_0x146c61(0x192))/0x8*(-parseInt(_0x146c61(0x18d))/0x9)+parseInt(_0x146c61(0x19c))/0xa*(parseInt(_0x146c61(0x1a0))/0xb)+-parseInt(_0x146c61(0x182))/0xc*(parseInt(_0x146c61(0x19e))/0xd);if(_0x477066===_0x764db0)break;else _0x217cf0['push'](_0x217cf0['shift']());}catch(_0x569766){_0x217cf0['push'](_0x217cf0['shift']());}}}(_0x11c9,0x88a9c));import{Command as _0x38d2d5}from'ckeditor5/src/core.js';import{Dialog as _0xf1fbd}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1c6c4d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x9edb}from'../utils/editingutils.js';function _0xadb1(_0x527d0a,_0x5bdef2){const _0x11c917=_0x11c9();return _0xadb1=function(_0xadb1da,_0x5da791){_0xadb1da=_0xadb1da-0x180;let _0x44a6bd=_0x11c917[_0xadb1da];return _0x44a6bd;},_0xadb1(_0x527d0a,_0x5bdef2);}export class UploadcareImageEditCommand extends _0x38d2d5{[_0x30e5a5(0x18b)];static get[_0x30e5a5(0x193)](){return[_0xf1fbd];}[_0x30e5a5(0x18f)];constructor(_0x43369f){const _0x427954=_0x30e5a5;super(_0x43369f),this[_0x427954(0x18b)]=void 0x0,this[_0x427954(0x18f)]=_0x9edb(_0x43369f[_0x427954(0x183)][_0x427954(0x194)](_0x427954(0x189))||[]),this[_0x427954(0x187)]({'isActive':!0x1});}[_0x30e5a5(0x197)](){const _0x40234d=_0x30e5a5,_0x49b8cc=this[_0x40234d(0x186)][_0x40234d(0x185)][_0x40234d(0x18c)][_0x40234d(0x199)][_0x40234d(0x1a2)]();this[_0x40234d(0x198)]=this[_0x40234d(0x18f)](_0x49b8cc);}[_0x30e5a5(0x19b)](){const _0x514749=_0x30e5a5;this[_0x514749(0x18b)]&&(this[_0x514749(0x180)](_0x514749(0x190)),this[_0x514749(0x18b)]=void 0x0);const _0x9ad733=this[_0x514749(0x186)][_0x514749(0x185)][_0x514749(0x18c)][_0x514749(0x199)][_0x514749(0x1a2)]();_0x9ad733&&(_0x9ad733['is'](_0x514749(0x1a1),_0x514749(0x18a))||_0x9ad733['is'](_0x514749(0x1a1),_0x514749(0x188)))&&(this[_0x514749(0x18b)]=new _0x1c6c4d(this[_0x514749(0x186)],this[_0x514749(0x186)][_0x514749(0x19f)][_0x514749(0x194)](_0xf1fbd),_0x9ad733),this[_0x514749(0x19a)](_0x514749(0x190))['to'](this[_0x514749(0x18b)],_0x514749(0x190)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x208284=_0x4bff;(function(_0x2cbd47,_0x248468){const _0x5ddea2=_0x4bff,_0x1d0673=_0x2cbd47();while(!![]){try{const _0x48b3c3=-parseInt(_0x5ddea2(0x1bf))/0x1+parseInt(_0x5ddea2(0x1c3))/0x2+-parseInt(_0x5ddea2(0x1cb))/0x3*(-parseInt(_0x5ddea2(0x1bd))/0x4)+-parseInt(_0x5ddea2(0x1d0))/0x5*(parseInt(_0x5ddea2(0x1c7))/0x6)+-parseInt(_0x5ddea2(0x1bb))/0x7+-parseInt(_0x5ddea2(0x1c5))/0x8*(-parseInt(_0x5ddea2(0x1cd))/0x9)+-parseInt(_0x5ddea2(0x1c1))/0xa*(-parseInt(_0x5ddea2(0x1c8))/0xb);if(_0x48b3c3===_0x248468)break;else _0x1d0673['push'](_0x1d0673['shift']());}catch(_0x4b4ba2){_0x1d0673['push'](_0x1d0673['shift']());}}}(_0x1a56,0x89058));function _0x4bff(_0x5c6c5f,_0x93770){const _0x1a5620=_0x1a56();return _0x4bff=function(_0x4bff80,_0x4b1438){_0x4bff80=_0x4bff80-0x1ba;let _0x5d246a=_0x1a5620[_0x4bff80];return _0x5d246a;},_0x4bff(_0x5c6c5f,_0x93770);}import{Plugin as _0xbe2b24}from'ckeditor5/src/core.js';import{Notification as _0xc3bd6d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3ec4d2}from'./uploadcareimageeditcommand.js';function _0x1a56(){const _0x49a674=['isPremiumPlugin','380uQPSFQ','pluginName','995154eAmpwA','isOfficialPlugin','56EQEtOE','uploadcareImageReplace','12oNXehL','25850KlEmGb','init','uploadcareImageEdit','3RRGmdk','add','1192491yQCghX','ImageEditing','requires','1902640TQDjNX','commands','3697988yHAVoU','ImageUtils','2856156lIUbUa','UploadcareImageEditEditing','377829FNizHX'];_0x1a56=function(){return _0x49a674;};return _0x1a56();}import{UploadcareImageReplaceCommand as _0x3e0529}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x49de97}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xbe2b24{static get[_0x208284(0x1c2)](){const _0xeadfb5=_0x208284;return _0xeadfb5(0x1be);}static get[_0x208284(0x1cf)](){const _0x26c7e3=_0x208284;return[_0x49de97,_0xc3bd6d,_0x26c7e3(0x1bc),_0x26c7e3(0x1ce)];}static get[_0x208284(0x1c4)](){return!0x0;}static get[_0x208284(0x1c0)](){return!0x0;}[_0x208284(0x1c9)](){const _0x4bb5a1=_0x208284,{editor:_0x33c807}=this;_0x33c807[_0x4bb5a1(0x1ba)][_0x4bb5a1(0x1cc)](_0x4bb5a1(0x1ca),new _0x3ec4d2(_0x33c807)),_0x33c807[_0x4bb5a1(0x1ba)][_0x4bb5a1(0x1cc)](_0x4bb5a1(0x1c6),new _0x3e0529(_0x33c807));}}
23
+ const _0x46c09c=_0x50c1;(function(_0x491db3,_0x4e21e5){const _0x48aa27=_0x50c1,_0x1aeed9=_0x491db3();while(!![]){try{const _0x1141c4=parseInt(_0x48aa27(0x1d8))/0x1*(parseInt(_0x48aa27(0x1d2))/0x2)+-parseInt(_0x48aa27(0x1c2))/0x3+-parseInt(_0x48aa27(0x1cf))/0x4*(-parseInt(_0x48aa27(0x1d9))/0x5)+parseInt(_0x48aa27(0x1d3))/0x6*(parseInt(_0x48aa27(0x1d1))/0x7)+parseInt(_0x48aa27(0x1ca))/0x8+-parseInt(_0x48aa27(0x1d7))/0x9*(-parseInt(_0x48aa27(0x1d6))/0xa)+parseInt(_0x48aa27(0x1c6))/0xb*(-parseInt(_0x48aa27(0x1d4))/0xc);if(_0x1141c4===_0x4e21e5)break;else _0x1aeed9['push'](_0x1aeed9['shift']());}catch(_0x267fc6){_0x1aeed9['push'](_0x1aeed9['shift']());}}}(_0x4dc6,0x46c45));import{Plugin as _0x21b5df}from'ckeditor5/src/core.js';import{Notification as _0x40f494}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5a7c04}from'./uploadcareimageeditcommand.js';function _0x4dc6(){const _0xd1f264=['commands','7cHTNAz','2vZZqJT','1870212VmJIKn','12bpWGji','isPremiumPlugin','163640QCNyiB','18RNyaYW','110293vTHeAA','5bXiqxJ','265590OhZbDT','isOfficialPlugin','requires','uploadcareImageReplace','5689123UonZPF','pluginName','ImageEditing','UploadcareImageEditEditing','2324160IhMfGU','ImageUtils','uploadcareImageEdit','init','add','601364aZxrNn'];_0x4dc6=function(){return _0xd1f264;};return _0x4dc6();}import{UploadcareImageReplaceCommand as _0xfd390c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1fe479}from'../uploadcareediting.js';function _0x50c1(_0x309b6a,_0x49d875){const _0x4dc64c=_0x4dc6();return _0x50c1=function(_0x50c183,_0x538d27){_0x50c183=_0x50c183-0x1c2;let _0xdee7b2=_0x4dc64c[_0x50c183];return _0xdee7b2;},_0x50c1(_0x309b6a,_0x49d875);}export class UploadcareImageEditEditing extends _0x21b5df{static get[_0x46c09c(0x1c7)](){const _0x5351ab=_0x46c09c;return _0x5351ab(0x1c9);}static get[_0x46c09c(0x1c4)](){const _0x5411ba=_0x46c09c;return[_0x1fe479,_0x40f494,_0x5411ba(0x1cb),_0x5411ba(0x1c8)];}static get[_0x46c09c(0x1c3)](){return!0x0;}static get[_0x46c09c(0x1d5)](){return!0x0;}[_0x46c09c(0x1cd)](){const _0x2af6cd=_0x46c09c,{editor:_0x276698}=this;_0x276698[_0x2af6cd(0x1d0)][_0x2af6cd(0x1ce)](_0x2af6cd(0x1cc),new _0x5a7c04(_0x276698)),_0x276698[_0x2af6cd(0x1d0)][_0x2af6cd(0x1ce)](_0x2af6cd(0x1c5),new _0xfd390c(_0x276698));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x56626}from'ckeditor5/src/core.js';import{ButtonView as _0x21d183}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x469d50}from'ckeditor5/src/icons.js';import{createElement as _0x1d06cb}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 _0x56626{['_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 _0x9f8b9b=this['editor'];_0x9f8b9b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2433ac=>{const _0x58a9e0=_0x9f8b9b['commands']['get']('uploadcareImageEdit'),_0x544732=new _0x21d183(_0x2433ac),t=_0x2433ac['t'];return _0x544732['set']({'icon':_0x469d50,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x544732['bind']('isEnabled')['to'](_0x58a9e0),_0x544732['bind']('isOn')['to'](_0x58a9e0,'isActive'),this['listenTo'](_0x544732,'execute',()=>{_0x9f8b9b['execute']('uploadcareImageEdit'),_0x9f8b9b['editing']['view']['focus']();}),_0x544732;}),this['_initConfig']();}['_initConfig'](){const _0x3c0ecb=_0x1d06cb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c0ecb),this['listenTo'](this['editor'],'destroy',()=>{_0x3c0ecb['remove']();});}}
23
+ import{Plugin as _0x424dfc}from'ckeditor5/src/core.js';import{ButtonView as _0x113213}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x44c187}from'ckeditor5/src/icons.js';import{createElement as _0x143332}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 _0x424dfc{['_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 _0x1f73a9=this['editor'];_0x1f73a9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x21fed6=>{const _0x5ee310=_0x1f73a9['commands']['get']('uploadcareImageEdit'),_0x2c3777=new _0x113213(_0x21fed6),t=_0x21fed6['t'];return _0x2c3777['set']({'icon':_0x44c187,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c3777['bind']('isEnabled')['to'](_0x5ee310),_0x2c3777['bind']('isOn')['to'](_0x5ee310,'isActive'),this['listenTo'](_0x2c3777,'execute',()=>{_0x1f73a9['execute']('uploadcareImageEdit'),_0x1f73a9['editing']['view']['focus']();}),_0x2c3777;}),this['_initConfig']();}['_initConfig'](){const _0x351cce=_0x143332(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x351cce),this['listenTo'](this['editor'],'destroy',()=>{_0x351cce['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3230d3=_0xf179;(function(_0x45ebd4,_0x46646f){const _0x34939f=_0xf179,_0x5f37b3=_0x45ebd4();while(!![]){try{const _0x524a4d=parseInt(_0x34939f(0x182))/0x1*(-parseInt(_0x34939f(0x188))/0x2)+-parseInt(_0x34939f(0x17e))/0x3+-parseInt(_0x34939f(0x181))/0x4+parseInt(_0x34939f(0x17f))/0x5+-parseInt(_0x34939f(0x18d))/0x6*(-parseInt(_0x34939f(0x18b))/0x7)+parseInt(_0x34939f(0x18a))/0x8*(parseInt(_0x34939f(0x178))/0x9)+parseInt(_0x34939f(0x186))/0xa*(parseInt(_0x34939f(0x18f))/0xb);if(_0x524a4d===_0x46646f)break;else _0x5f37b3['push'](_0x5f37b3['shift']());}catch(_0x419dea){_0x5f37b3['push'](_0x5f37b3['shift']());}}}(_0x5406,0xaf1cf));function _0xf179(_0x2f1f85,_0x1155dd){const _0x5406ce=_0x5406();return _0xf179=function(_0xf179aa,_0x40e692){_0xf179aa=_0xf179aa-0x176;let _0x38f8ba=_0x5406ce[_0xf179aa];return _0x38f8ba;},_0xf179(_0x2f1f85,_0x1155dd);}function _0x5406(){const _0x4e5b12=['293090XfKiOO','element','2506708lvBpOl','827haoZtC','document','editor','isEnabled','8660380GBnIXq','removeAttribute','550SmSaGJ','getSelectedElement','629376TWqYsc','29477DHVPlo','selection','1494iezgWV','model','11JKmymY','setAttributes','srcset','change','108AscSNL','sizes','imageBlock','refresh','imageInline','execute','4037682Xwmkrh'];_0x5406=function(){return _0x4e5b12;};return _0x5406();}import{Command as _0x49b372}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x49b372{[_0x3230d3(0x17b)](){const _0x2d0771=_0x3230d3,_0x20f214=this[_0x2d0771(0x184)][_0x2d0771(0x18e)][_0x2d0771(0x183)][_0x2d0771(0x18c)][_0x2d0771(0x189)]();this[_0x2d0771(0x185)]=Boolean(_0x20f214&&(_0x20f214['is'](_0x2d0771(0x180),_0x2d0771(0x17a))||_0x20f214['is'](_0x2d0771(0x180),_0x2d0771(0x17c))));}[_0x3230d3(0x17d)](_0x4b77b0){const _0x45414f=_0x3230d3,_0x573d3f=this[_0x45414f(0x184)][_0x45414f(0x18e)][_0x45414f(0x183)][_0x45414f(0x18c)][_0x45414f(0x189)]();this[_0x45414f(0x184)][_0x45414f(0x18e)][_0x45414f(0x177)](_0x408bd5=>{const _0x2221a7=_0x45414f;_0x408bd5[_0x2221a7(0x190)](_0x4b77b0,_0x573d3f),_0x408bd5[_0x2221a7(0x187)](_0x2221a7(0x176),_0x573d3f),_0x408bd5[_0x2221a7(0x187)](_0x2221a7(0x179),_0x573d3f);});}}
23
+ const _0x5e5c3e=_0x2c59;(function(_0x3e1792,_0x2a644d){const _0x351a36=_0x2c59,_0x1fe1ca=_0x3e1792();while(!![]){try{const _0x3c3822=parseInt(_0x351a36(0x1e5))/0x1*(parseInt(_0x351a36(0x1ee))/0x2)+-parseInt(_0x351a36(0x1f2))/0x3+parseInt(_0x351a36(0x1e9))/0x4*(-parseInt(_0x351a36(0x1e6))/0x5)+-parseInt(_0x351a36(0x1f0))/0x6+-parseInt(_0x351a36(0x1ec))/0x7+parseInt(_0x351a36(0x1ed))/0x8+-parseInt(_0x351a36(0x1fc))/0x9*(-parseInt(_0x351a36(0x1f3))/0xa);if(_0x3c3822===_0x2a644d)break;else _0x1fe1ca['push'](_0x1fe1ca['shift']());}catch(_0x5d62e2){_0x1fe1ca['push'](_0x1fe1ca['shift']());}}}(_0x4806,0xaab01));function _0x2c59(_0x5bee6f,_0x140298){const _0x4806b1=_0x4806();return _0x2c59=function(_0x2c595e,_0x4b413f){_0x2c595e=_0x2c595e-0x1e4;let _0x3d1219=_0x4806b1[_0x2c595e];return _0x3d1219;},_0x2c59(_0x5bee6f,_0x140298);}import{Command as _0x3a7101}from'ckeditor5/src/core.js';function _0x4806(){const _0x15b384=['2815326ZCnFOH','element','2565006VKpgnh','4064140zNgnOp','imageInline','model','isEnabled','imageBlock','srcset','change','setAttributes','document','18aOHckN','execute','removeAttribute','3SROOql','10HvywLz','editor','sizes','10408cyqYbp','selection','getSelectedElement','7999593gdSGAz','7761200BRODZo','925590yQpBMV','refresh'];_0x4806=function(){return _0x15b384;};return _0x4806();}export class UploadcareImageReplaceCommand extends _0x3a7101{[_0x5e5c3e(0x1ef)](){const _0x1a12af=_0x5e5c3e,_0x1c09a8=this[_0x1a12af(0x1e7)][_0x1a12af(0x1f5)][_0x1a12af(0x1fb)][_0x1a12af(0x1ea)][_0x1a12af(0x1eb)]();this[_0x1a12af(0x1f6)]=Boolean(_0x1c09a8&&(_0x1c09a8['is'](_0x1a12af(0x1f1),_0x1a12af(0x1f7))||_0x1c09a8['is'](_0x1a12af(0x1f1),_0x1a12af(0x1f4))));}[_0x5e5c3e(0x1fd)](_0x4fff56){const _0x5b77c6=_0x5e5c3e,_0x25d28d=this[_0x5b77c6(0x1e7)][_0x5b77c6(0x1f5)][_0x5b77c6(0x1fb)][_0x5b77c6(0x1ea)][_0x5b77c6(0x1eb)]();this[_0x5b77c6(0x1e7)][_0x5b77c6(0x1f5)][_0x5b77c6(0x1f9)](_0x3921e7=>{const _0x547e3a=_0x5b77c6;_0x3921e7[_0x547e3a(0x1fa)](_0x4fff56,_0x25d28d),_0x3921e7[_0x547e3a(0x1e4)](_0x547e3a(0x1f8),_0x25d28d),_0x3921e7[_0x547e3a(0x1e4)](_0x547e3a(0x1e8),_0x25d28d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x30ffc4=_0x3850;function _0x37b7(){var _0x33c8c5=['3021668iLsVIZ','18ePsoXy','7768BQPNEp','isPremiumPlugin','requires','78298dEWknl','UploadcareImageEdit','41791618lIOtrg','2272410hRTuLD','1675975EGtybX','pluginName','16893kwHHIO','isOfficialPlugin','36MZoCnB','10xCFSDh','5746855VRTpva'];_0x37b7=function(){return _0x33c8c5;};return _0x37b7();}(function(_0x38ccaa,_0x243b20){var _0x1f5009=_0x3850,_0x4dc223=_0x38ccaa();while(!![]){try{var _0x5d4d5d=parseInt(_0x1f5009(0x176))/0x1*(-parseInt(_0x1f5009(0x17a))/0x2)+-parseInt(_0x1f5009(0x17d))/0x3+parseInt(_0x1f5009(0x175))/0x4+parseInt(_0x1f5009(0x174))/0x5+-parseInt(_0x1f5009(0x182))/0x6*(parseInt(_0x1f5009(0x17e))/0x7)+parseInt(_0x1f5009(0x177))/0x8*(-parseInt(_0x1f5009(0x180))/0x9)+-parseInt(_0x1f5009(0x173))/0xa*(-parseInt(_0x1f5009(0x17c))/0xb);if(_0x5d4d5d===_0x243b20)break;else _0x4dc223['push'](_0x4dc223['shift']());}catch(_0x115e1f){_0x4dc223['push'](_0x4dc223['shift']());}}}(_0x37b7,0xefee5));import{Plugin as _0x4f63ac}from'ckeditor5/src/core.js';function _0x3850(_0x174e78,_0x2a6e20){var _0x37b797=_0x37b7();return _0x3850=function(_0x3850b7,_0x210ac4){_0x3850b7=_0x3850b7-0x173;var _0x17e338=_0x37b797[_0x3850b7];return _0x17e338;},_0x3850(_0x174e78,_0x2a6e20);}import{UploadcareImageEditEditing as _0x2c3a4b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5c88e6}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4f63ac{static get[_0x30ffc4(0x17f)](){var _0xec5e73=_0x30ffc4;return _0xec5e73(0x17b);}static get[_0x30ffc4(0x179)](){return[_0x2c3a4b,_0x5c88e6];}static get[_0x30ffc4(0x181)](){return!0x0;}static get[_0x30ffc4(0x178)](){return!0x0;}}
23
+ var _0x19d777=_0x1c0f;(function(_0x2971ee,_0x138864){var _0x2d887d=_0x1c0f,_0x51cc0d=_0x2971ee();while(!![]){try{var _0x51b44f=parseInt(_0x2d887d(0x104))/0x1+-parseInt(_0x2d887d(0x10b))/0x2+-parseInt(_0x2d887d(0x10e))/0x3*(-parseInt(_0x2d887d(0x107))/0x4)+-parseInt(_0x2d887d(0x105))/0x5*(parseInt(_0x2d887d(0x109))/0x6)+-parseInt(_0x2d887d(0x106))/0x7+parseInt(_0x2d887d(0x112))/0x8*(-parseInt(_0x2d887d(0x113))/0x9)+-parseInt(_0x2d887d(0x10d))/0xa*(-parseInt(_0x2d887d(0x10c))/0xb);if(_0x51b44f===_0x138864)break;else _0x51cc0d['push'](_0x51cc0d['shift']());}catch(_0x4235b2){_0x51cc0d['push'](_0x51cc0d['shift']());}}}(_0x3034,0x37587));import{Plugin as _0x1f5ff0}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xdc7197}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1c0f(_0x2e55b7,_0x2e46bb){var _0x30343a=_0x3034();return _0x1c0f=function(_0x1c0f70,_0x5790bc){_0x1c0f70=_0x1c0f70-0x104;var _0x3390b7=_0x30343a[_0x1c0f70];return _0x3390b7;},_0x1c0f(_0x2e55b7,_0x2e46bb);}function _0x3034(){var _0x1777fc=['348879ZGXIsy','requires','isPremiumPlugin','pluginName','184oagaTL','97533vdmZKt','66147JgSCbK','1110305cODnSX','2407167qVqJOY','4rbklRw','UploadcareImageEdit','12fJvqxw','isOfficialPlugin','668472gQlReW','576785BiMknL','270UzMfDI'];_0x3034=function(){return _0x1777fc;};return _0x3034();}import{UploadcareImageEditUI as _0x58037e}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1f5ff0{static get[_0x19d777(0x111)](){var _0x381021=_0x19d777;return _0x381021(0x108);}static get[_0x19d777(0x10f)](){return[_0xdc7197,_0x58037e];}static get[_0x19d777(0x10a)](){return!0x0;}static get[_0x19d777(0x110)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a434c=_0x2a3d;(function(_0x253f3e,_0x571aff){const _0x2f3cdc=_0x2a3d,_0x56d2d7=_0x253f3e();while(!![]){try{const _0x24447a=-parseInt(_0x2f3cdc(0x10a))/0x1*(parseInt(_0x2f3cdc(0x132))/0x2)+-parseInt(_0x2f3cdc(0x112))/0x3+parseInt(_0x2f3cdc(0x13d))/0x4+parseInt(_0x2f3cdc(0x12b))/0x5+parseInt(_0x2f3cdc(0x126))/0x6+parseInt(_0x2f3cdc(0xf2))/0x7*(parseInt(_0x2f3cdc(0xf1))/0x8)+-parseInt(_0x2f3cdc(0x109))/0x9*(-parseInt(_0x2f3cdc(0x13f))/0xa);if(_0x24447a===_0x571aff)break;else _0x56d2d7['push'](_0x56d2d7['shift']());}catch(_0x14170b){_0x56d2d7['push'](_0x56d2d7['shift']());}}}(_0x2005,0x6ca84));import{Plugin as _0x28654e}from'ckeditor5/src/core.js';function _0x2005(){const _0x51a83f=['get','isPremiumPlugin','134245jCxBpZ','push','bind','trialLimit','shortText','_getIntegrationKey','init','2wLbdms','uploadcareLicenseKeyValid','label','_normalizeConfigSourceList','OneDrive','_licenseKeyCheckInterval','pluginName','locale','GDrive','_createButton','uploadcareLicenseKeyExpired','352608fiSKef','uploadcareLicenseKeyNotAllowed','4173730CwQSxX','featureNotAllowed','type','132808eEpEQk','133qxIUlU','_createDropdownButtons','invalid','domainLimit','tooltip','uploadcareLicenseKeyInvalid','has','Local','entries','uploadcare.uploader.sourceList','config','text','uploadcareLicenseKeyEvaluationLimit','afterInit','url','map','UploadcareUI','registerIntegration','licenseKey','uploadcareLicenseKeyTrialLimit','reduce','Insert','GPhotos','36vdnCtf','847686DLzIvF','plugins','commands','_createMenuBarButtons','forEach','Uploadcare','editor','Replace','2520333npTTzJ','uploadcare','uploadcareLicenseKeyUsageLimit','expired','Dropbox','evaluationLimit','Facebook','URL','_showLicenseError','isOfficialPlugin','assetManager','isEnabled','upload','destroy','uploadcareLicenseKeyDomainLimit','execute','ImageInsertUI','isImageSelected','_createToolbarButton','icon','197670gsThRn','usageLimit','withText'];_0x2005=function(){return _0x51a83f;};return _0x2005();}function _0x2a3d(_0x455365,_0x22e424){const _0x200591=_0x2005();return _0x2a3d=function(_0x2a3d34,_0x435df9){_0x2a3d34=_0x2a3d34-0xf1;let _0x36f9a6=_0x200591[_0x2a3d34];return _0x36f9a6;},_0x2a3d(_0x455365,_0x22e424);}import{IconDropbox as _0x1a812e,IconFacebook as _0x2f261f,IconGoogleDrive as _0x9c569e,IconGooglePhotos as _0x13fb95,IconUploadcareImageUpload as _0x355f33,IconUploadcareLink as _0x45a403,IconOneDrive as _0x29ba00}from'ckeditor5/src/icons.js';import{ButtonView as _0x483d9c,MenuBarMenuListItemButtonView as _0x4ca0de}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2a3221}from'./uploadcareconfig.js';import{getTranslation as _0x39b0a2}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 _0x28654e{[_0x1a434c(0x104)];[_0x1a434c(0x137)];static get[_0x1a434c(0x138)](){const _0x5c32bf=_0x1a434c;return _0x5c32bf(0x102);}static get[_0x1a434c(0x11b)](){return!0x0;}static get[_0x1a434c(0x12a)](){return!0x0;}[_0x1a434c(0x131)](){const _0x2e58c8=_0x1a434c;this[_0x2e58c8(0x104)]=this[_0x2e58c8(0x110)][_0x2e58c8(0xfc)][_0x2e58c8(0x129)](_0x2e58c8(0x104));const _0x5362f7=this[_0x2e58c8(0x110)];this[_0x2e58c8(0x137)]=setInterval(()=>{const _0x47fde5=_0x2e58c8;let _0x541665;for(const _0x1173e4 in _0x5362f7){const _0x527578=_0x1173e4,_0x517052=_0x5362f7[_0x527578];if(_0x47fde5(0x133)==_0x517052||_0x47fde5(0xf7)==_0x517052||_0x47fde5(0x13c)==_0x517052||_0x47fde5(0x120)==_0x517052||_0x47fde5(0x13e)==_0x517052||_0x47fde5(0xfe)==_0x517052||_0x47fde5(0x105)==_0x517052||_0x47fde5(0x114)==_0x517052){delete _0x5362f7[_0x527578],_0x541665=_0x517052,clearInterval(this[_0x47fde5(0x137)]),this[_0x47fde5(0x137)]=void 0x0;break;}}_0x47fde5(0xf7)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0xf4)),_0x47fde5(0x13c)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0x115)),_0x47fde5(0x120)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0xf5)),_0x47fde5(0x13e)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0x140),_0x47fde5(0x10f)),_0x47fde5(0xfe)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0x117)),_0x47fde5(0x105)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0x12e)),_0x47fde5(0x114)==_0x541665&&_0x5362f7[_0x47fde5(0x11a)](_0x47fde5(0x127));},0x3e8);}[_0x1a434c(0xff)](){const _0x19510e=_0x1a434c,{editor:_0x3c7a82}=this,_0x169e9b=_0x3c7a82[_0x19510e(0x10c)][_0x19510e(0x129)](_0x19510e(0x113));if(!_0x169e9b)return;const _0x17b443=this[_0x19510e(0x135)](_0x3c7a82[_0x19510e(0xfc)][_0x19510e(0x129)](_0x19510e(0xfb)))[_0x19510e(0x106)]((_0x21cfcf,_0x21bf28)=>{const _0x59312b=_0x19510e,_0x4c1f91=this[_0x59312b(0x130)](_0x21bf28[_0x59312b(0x141)]);return _0x21cfcf[_0x4c1f91]||(_0x21cfcf[_0x4c1f91]=[]),_0x21cfcf[_0x4c1f91][_0x59312b(0x12c)](_0x21bf28),_0x21cfcf;},{});_0x3c7a82[_0x19510e(0x10b)][_0x19510e(0xf8)](_0x19510e(0x122))&&_0x3c7a82[_0x19510e(0x10c)][_0x19510e(0x129)](_0x19510e(0x113))&&Object[_0x19510e(0xfa)](_0x17b443)[_0x19510e(0x10e)](([_0x395b2b,_0x217638])=>{const _0x408896=_0x19510e;_0x3c7a82[_0x408896(0x10b)][_0x408896(0x129)](_0x408896(0x122))[_0x408896(0x103)]({'name':_0x395b2b,'observable':()=>_0x169e9b,'buttonViewCreator':()=>this[_0x408896(0x124)](_0x217638),'formViewCreator':()=>this[_0x408896(0xf3)](_0x217638),'menuBarButtonViewCreator':()=>this[_0x408896(0x10d)](_0x217638),'override':_0x408896(0x11c)!==_0x395b2b});});}[_0x1a434c(0x11f)](){const _0x2ea348=_0x1a434c;super[_0x2ea348(0x11f)](),this[_0x2ea348(0x137)]&&clearInterval(this[_0x2ea348(0x137)]);}[_0x1a434c(0x135)](_0x54e09c){const _0x227b41=_0x1a434c,{locale:_0x2b21b6}=this[_0x227b41(0x110)];return _0x54e09c[_0x227b41(0x101)](_0x407f7b=>{const _0x3aa913=_0x227b41,_0x8d90d4=_0x39b0a2(_0x2b21b6,_0x407f7b,_0x3aa913(0x107));switch(_0x407f7b){case _0x2a3221[_0x3aa913(0xf9)]:return{'icon':_0x355f33,'type':_0x2a3221[_0x3aa913(0xf9)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x119)]:return{'icon':_0x45a403,'type':_0x2a3221[_0x3aa913(0x119)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x116)]:return{'icon':_0x1a812e,'type':_0x2a3221[_0x3aa913(0x116)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x118)]:return{'icon':_0x2f261f,'type':_0x2a3221[_0x3aa913(0x118)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x13a)]:return{'icon':_0x9c569e,'type':_0x2a3221[_0x3aa913(0x13a)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x108)]:return{'icon':_0x13fb95,'type':_0x2a3221[_0x3aa913(0x108)],..._0x8d90d4};case _0x2a3221[_0x3aa913(0x136)]:return{'icon':_0x29ba00,'type':_0x2a3221[_0x3aa913(0x136)],..._0x8d90d4};}});}[_0x1a434c(0x130)](_0x29bc75){const _0x402582=_0x1a434c;switch(_0x29bc75){case _0x2a3221[_0x402582(0xf9)]:return _0x402582(0x11e);case _0x2a3221[_0x402582(0x119)]:return _0x402582(0x100);default:return _0x402582(0x11c);}}[_0x1a434c(0x13b)](_0xf4be8d,_0x161a38){const _0x5e6c2e=_0x1a434c,_0x2fd97d=this[_0x5e6c2e(0x110)],_0x1bea0e=new _0xf4be8d(_0x2fd97d[_0x5e6c2e(0x139)]),_0x3de2a3=_0x2fd97d[_0x5e6c2e(0x10c)][_0x5e6c2e(0x129)](_0x5e6c2e(0x113));return _0x1bea0e[_0x5e6c2e(0x12d)](_0x5e6c2e(0x11d))['to'](_0x3de2a3),_0x1bea0e['on'](_0x5e6c2e(0x121),()=>{const _0x3cadd7=_0x5e6c2e;_0x3de2a3[_0x3cadd7(0x121)](_0x161a38);}),_0x1bea0e;}[_0x1a434c(0x124)](_0x102bd1){const _0x1ccfc9=_0x1a434c,{locale:_0x2e6a00}=this[_0x1ccfc9(0x110)],_0x1e1d8c=this[_0x1ccfc9(0x110)][_0x1ccfc9(0x10b)][_0x1ccfc9(0x129)](_0x1ccfc9(0x122)),_0xa3d1b5=_0x102bd1[0x0],_0x5aa65a=this[_0x1ccfc9(0x13b)](_0x483d9c,_0xa3d1b5[_0x1ccfc9(0x141)]);return _0x5aa65a[_0x1ccfc9(0x125)]=_0xa3d1b5[_0x1ccfc9(0x125)],_0x5aa65a[_0x1ccfc9(0x12d)](_0x1ccfc9(0x134))['to'](_0x1e1d8c,_0x1ccfc9(0x123),_0x2d8962=>_0x39b0a2(_0x2e6a00,_0xa3d1b5[_0x1ccfc9(0x141)],_0x2d8962?_0x1ccfc9(0x111):_0x1ccfc9(0x107))[_0x1ccfc9(0xfd)]),_0x5aa65a[_0x1ccfc9(0xf6)]=!0x0,_0x5aa65a;}[_0x1a434c(0xf3)](_0x5488d4){const _0x457683=_0x1a434c,{locale:_0x7e7e49}=this[_0x457683(0x110)],_0x396a3c=this[_0x457683(0x110)][_0x457683(0x10b)][_0x457683(0x129)](_0x457683(0x122));return _0x5488d4[_0x457683(0x101)](_0x3a9fc6=>{const _0x5c3f57=_0x457683,_0x1225db=this[_0x5c3f57(0x13b)](_0x483d9c,_0x3a9fc6[_0x5c3f57(0x141)]);return _0x1225db[_0x5c3f57(0x128)]=!0x0,_0x1225db[_0x5c3f57(0x125)]=_0x3a9fc6[_0x5c3f57(0x125)],_0x1225db[_0x5c3f57(0x12d)](_0x5c3f57(0x134))['to'](_0x396a3c,_0x5c3f57(0x123),_0x16422a=>_0x39b0a2(_0x7e7e49,_0x3a9fc6[_0x5c3f57(0x141)],_0x16422a?_0x5c3f57(0x111):_0x5c3f57(0x107))[_0x5c3f57(0xfd)]),_0x1225db;});}[_0x1a434c(0x10d)](_0x4f5273){const _0x5b1fd8=_0x1a434c;return _0x4f5273[_0x5b1fd8(0x101)](_0x4aa04c=>{const _0x1f304b=_0x5b1fd8,_0x3a3277=this[_0x1f304b(0x13b)](_0x4ca0de,_0x4aa04c[_0x1f304b(0x141)]);return _0x3a3277[_0x1f304b(0x125)]=_0x4aa04c[_0x1f304b(0x125)],_0x3a3277[_0x1f304b(0x134)]=_0x4aa04c[_0x1f304b(0x12f)],_0x3a3277;});}}
23
+ const _0x49eacc=_0x4c1a;function _0x4a78(){const _0x44bb05=['_createDropdownButtons','afterInit','expired','map','uploadcareLicenseKeyInvalid','_createMenuBarButtons','UploadcareUI','2606752sipzSV','has','658430hdCcyO','assetManager','get','uploadcareLicenseKeyEvaluationLimit','OneDrive','URL','isOfficialPlugin','tooltip','entries','shortText','225QjBvsl','ImageInsertUI','473689LCesiD','type','uploadcareLicenseKeyNotAllowed','_licenseKeyCheckInterval','Dropbox','init','35txAAGk','Local','uploadcareLicenseKeyExpired','16NRFuwT','licenseKey','label','editor','_showLicenseError','plugins','_getIntegrationKey','execute','uploadcareLicenseKeyUsageLimit','GPhotos','reduce','uploadcareLicenseKeyDomainLimit','domainLimit','forEach','isImageSelected','pluginName','push','GDrive','usageLimit','_createButton','isPremiumPlugin','uploadcare','locale','_normalizeConfigSourceList','Insert','evaluationLimit','Uploadcare','upload','bind','132402XsRiMy','uploadcareLicenseKeyTrialLimit','3236821Yvwwjc','isEnabled','trialLimit','Facebook','uploadcareLicenseKeyValid','commands','featureNotAllowed','registerIntegration','destroy','719778AqdohE','281746JBmjMA','invalid','_createToolbarButton','text','withText','config','icon','Replace','uploadcare.uploader.sourceList','url'];_0x4a78=function(){return _0x44bb05;};return _0x4a78();}(function(_0x35fb1b,_0xd843b6){const _0x1649cf=_0x4c1a,_0x14bd5b=_0x35fb1b();while(!![]){try{const _0x365d76=parseInt(_0x1649cf(0xdb))/0x1+-parseInt(_0x1649cf(0xbc))/0x2+parseInt(_0x1649cf(0xbb))/0x3+-parseInt(_0x1649cf(0xcd))/0x4+parseInt(_0x1649cf(0xe1))/0x5*(-parseInt(_0x1649cf(0xb0))/0x6)+-parseInt(_0x1649cf(0xb2))/0x7*(parseInt(_0x1649cf(0xe4))/0x8)+parseInt(_0x1649cf(0xd9))/0x9*(parseInt(_0x1649cf(0xcf))/0xa);if(_0x365d76===_0xd843b6)break;else _0x14bd5b['push'](_0x14bd5b['shift']());}catch(_0x2045a5){_0x14bd5b['push'](_0x14bd5b['shift']());}}}(_0x4a78,0x771ae));import{Plugin as _0x35711a}from'ckeditor5/src/core.js';function _0x4c1a(_0x248178,_0x2decf2){const _0x4a7800=_0x4a78();return _0x4c1a=function(_0x4c1ac2,_0x3b7d51){_0x4c1ac2=_0x4c1ac2-0x96;let _0x168635=_0x4a7800[_0x4c1ac2];return _0x168635;},_0x4c1a(_0x248178,_0x2decf2);}import{IconDropbox as _0x340411,IconFacebook as _0x1cf1ea,IconGoogleDrive as _0x8b7c97,IconGooglePhotos as _0xfa9032,IconUploadcareImageUpload as _0xbfda09,IconUploadcareLink as _0x6f5932,IconOneDrive as _0x30d37b}from'ckeditor5/src/icons.js';import{ButtonView as _0x20fbc6,MenuBarMenuListItemButtonView as _0x3b5c81}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3d523c}from'./uploadcareconfig.js';import{getTranslation as _0xfe7fa6}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 _0x35711a{[_0x49eacc(0xe5)];[_0x49eacc(0xde)];static get[_0x49eacc(0xa2)](){const _0x2919f5=_0x49eacc;return _0x2919f5(0xcc);}static get[_0x49eacc(0xd5)](){return!0x0;}static get[_0x49eacc(0xa7)](){return!0x0;}[_0x49eacc(0xe0)](){const _0x490492=_0x49eacc;this[_0x490492(0xe5)]=this[_0x490492(0x96)][_0x490492(0xc1)][_0x490492(0xd1)](_0x490492(0xe5));const _0x5b5eb6=this[_0x490492(0x96)];this[_0x490492(0xde)]=setInterval(()=>{const _0x2e7a58=_0x490492;let _0x39de46;for(const _0x5c76bd in _0x5b5eb6){const _0x5d2dd4=_0x5c76bd,_0x318520=_0x5b5eb6[_0x5d2dd4];if(_0x2e7a58(0xb6)==_0x318520||_0x2e7a58(0xca)==_0x318520||_0x2e7a58(0xe3)==_0x318520||_0x2e7a58(0x9e)==_0x318520||_0x2e7a58(0xdd)==_0x318520||_0x2e7a58(0xd2)==_0x318520||_0x2e7a58(0xb1)==_0x318520||_0x2e7a58(0x9b)==_0x318520){delete _0x5b5eb6[_0x5d2dd4],_0x39de46=_0x318520,clearInterval(this[_0x2e7a58(0xde)]),this[_0x2e7a58(0xde)]=void 0x0;break;}}_0x2e7a58(0xca)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xbd)),_0x2e7a58(0xe3)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xc8)),_0x2e7a58(0x9e)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0x9f)),_0x2e7a58(0xdd)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xb8),_0x2e7a58(0xad)),_0x2e7a58(0xd2)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xac)),_0x2e7a58(0xb1)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xb4)),_0x2e7a58(0x9b)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xa5));},0x3e8);}[_0x49eacc(0xc7)](){const _0x3f897e=_0x49eacc,{editor:_0xbf0890}=this,_0x19a445=_0xbf0890[_0x3f897e(0xb7)][_0x3f897e(0xd1)](_0x3f897e(0xa8));if(!_0x19a445)return;const _0x5bd947=this[_0x3f897e(0xaa)](_0xbf0890[_0x3f897e(0xc1)][_0x3f897e(0xd1)](_0x3f897e(0xc4)))[_0x3f897e(0x9d)]((_0x5b27ad,_0xcfb168)=>{const _0x57dac4=_0x3f897e,_0x282da0=this[_0x57dac4(0x99)](_0xcfb168[_0x57dac4(0xdc)]);return _0x5b27ad[_0x282da0]||(_0x5b27ad[_0x282da0]=[]),_0x5b27ad[_0x282da0][_0x57dac4(0xa3)](_0xcfb168),_0x5b27ad;},{});_0xbf0890[_0x3f897e(0x98)][_0x3f897e(0xce)](_0x3f897e(0xda))&&_0xbf0890[_0x3f897e(0xb7)][_0x3f897e(0xd1)](_0x3f897e(0xa8))&&Object[_0x3f897e(0xd7)](_0x5bd947)[_0x3f897e(0xa0)](([_0x2e4e19,_0xecf805])=>{const _0x2c4e95=_0x3f897e;_0xbf0890[_0x2c4e95(0x98)][_0x2c4e95(0xd1)](_0x2c4e95(0xda))[_0x2c4e95(0xb9)]({'name':_0x2e4e19,'observable':()=>_0x19a445,'buttonViewCreator':()=>this[_0x2c4e95(0xbe)](_0xecf805),'formViewCreator':()=>this[_0x2c4e95(0xc6)](_0xecf805),'menuBarButtonViewCreator':()=>this[_0x2c4e95(0xcb)](_0xecf805),'override':_0x2c4e95(0xd0)!==_0x2e4e19});});}[_0x49eacc(0xba)](){const _0x224f90=_0x49eacc;super[_0x224f90(0xba)](),this[_0x224f90(0xde)]&&clearInterval(this[_0x224f90(0xde)]);}[_0x49eacc(0xaa)](_0x8ec2ed){const _0x5b4e62=_0x49eacc,{locale:_0x3aa23f}=this[_0x5b4e62(0x96)];return _0x8ec2ed[_0x5b4e62(0xc9)](_0x18767b=>{const _0x23c328=_0x5b4e62,_0xb35db=_0xfe7fa6(_0x3aa23f,_0x18767b,_0x23c328(0xab));switch(_0x18767b){case _0x3d523c[_0x23c328(0xe2)]:return{'icon':_0xbfda09,'type':_0x3d523c[_0x23c328(0xe2)],..._0xb35db};case _0x3d523c[_0x23c328(0xd4)]:return{'icon':_0x6f5932,'type':_0x3d523c[_0x23c328(0xd4)],..._0xb35db};case _0x3d523c[_0x23c328(0xdf)]:return{'icon':_0x340411,'type':_0x3d523c[_0x23c328(0xdf)],..._0xb35db};case _0x3d523c[_0x23c328(0xb5)]:return{'icon':_0x1cf1ea,'type':_0x3d523c[_0x23c328(0xb5)],..._0xb35db};case _0x3d523c[_0x23c328(0xa4)]:return{'icon':_0x8b7c97,'type':_0x3d523c[_0x23c328(0xa4)],..._0xb35db};case _0x3d523c[_0x23c328(0x9c)]:return{'icon':_0xfa9032,'type':_0x3d523c[_0x23c328(0x9c)],..._0xb35db};case _0x3d523c[_0x23c328(0xd3)]:return{'icon':_0x30d37b,'type':_0x3d523c[_0x23c328(0xd3)],..._0xb35db};}});}[_0x49eacc(0x99)](_0x28dc0f){const _0x50e9bf=_0x49eacc;switch(_0x28dc0f){case _0x3d523c[_0x50e9bf(0xe2)]:return _0x50e9bf(0xae);case _0x3d523c[_0x50e9bf(0xd4)]:return _0x50e9bf(0xc5);default:return _0x50e9bf(0xd0);}}[_0x49eacc(0xa6)](_0x4e9ebe,_0x5b2f64){const _0xcc319f=_0x49eacc,_0x273437=this[_0xcc319f(0x96)],_0x426475=new _0x4e9ebe(_0x273437[_0xcc319f(0xa9)]),_0x361cd5=_0x273437[_0xcc319f(0xb7)][_0xcc319f(0xd1)](_0xcc319f(0xa8));return _0x426475[_0xcc319f(0xaf)](_0xcc319f(0xb3))['to'](_0x361cd5),_0x426475['on'](_0xcc319f(0x9a),()=>{const _0x1b4f2a=_0xcc319f;_0x361cd5[_0x1b4f2a(0x9a)](_0x5b2f64);}),_0x426475;}[_0x49eacc(0xbe)](_0x3cdb9a){const _0x14b22f=_0x49eacc,{locale:_0x10fc75}=this[_0x14b22f(0x96)],_0x3a9398=this[_0x14b22f(0x96)][_0x14b22f(0x98)][_0x14b22f(0xd1)](_0x14b22f(0xda)),_0x4de967=_0x3cdb9a[0x0],_0xb69e25=this[_0x14b22f(0xa6)](_0x20fbc6,_0x4de967[_0x14b22f(0xdc)]);return _0xb69e25[_0x14b22f(0xc2)]=_0x4de967[_0x14b22f(0xc2)],_0xb69e25[_0x14b22f(0xaf)](_0x14b22f(0xe6))['to'](_0x3a9398,_0x14b22f(0xa1),_0x25768f=>_0xfe7fa6(_0x10fc75,_0x4de967[_0x14b22f(0xdc)],_0x25768f?_0x14b22f(0xc3):_0x14b22f(0xab))[_0x14b22f(0xbf)]),_0xb69e25[_0x14b22f(0xd6)]=!0x0,_0xb69e25;}[_0x49eacc(0xc6)](_0x5ea4f4){const _0x626239=_0x49eacc,{locale:_0x7c09b7}=this[_0x626239(0x96)],_0x58aeb5=this[_0x626239(0x96)][_0x626239(0x98)][_0x626239(0xd1)](_0x626239(0xda));return _0x5ea4f4[_0x626239(0xc9)](_0x5f27dd=>{const _0xb9776=_0x626239,_0x3a2f43=this[_0xb9776(0xa6)](_0x20fbc6,_0x5f27dd[_0xb9776(0xdc)]);return _0x3a2f43[_0xb9776(0xc0)]=!0x0,_0x3a2f43[_0xb9776(0xc2)]=_0x5f27dd[_0xb9776(0xc2)],_0x3a2f43[_0xb9776(0xaf)](_0xb9776(0xe6))['to'](_0x58aeb5,_0xb9776(0xa1),_0x4f55fd=>_0xfe7fa6(_0x7c09b7,_0x5f27dd[_0xb9776(0xdc)],_0x4f55fd?_0xb9776(0xc3):_0xb9776(0xab))[_0xb9776(0xbf)]),_0x3a2f43;});}[_0x49eacc(0xcb)](_0x2c53df){const _0x28c87d=_0x49eacc;return _0x2c53df[_0x28c87d(0xc9)](_0x2dcffa=>{const _0x756e20=_0x28c87d,_0x2aa4f2=this[_0x756e20(0xa6)](_0x3b5c81,_0x2dcffa[_0x756e20(0xdc)]);return _0x2aa4f2[_0x756e20(0xc2)]=_0x2dcffa[_0x756e20(0xc2)],_0x2aa4f2[_0x756e20(0xe6)]=_0x2dcffa[_0x756e20(0xd8)],_0x2aa4f2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d33f2}from'ckeditor5/src/core.js';import{FileRepository as _0x37b287}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1593ff}from'./uploadcareediting.js';import{UploadUtils as _0x1e36ed}from'./utils/uploadutils.js';import{getImageUrls as _0x556395}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2d33f2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37b287,_0x1593ff];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5d03bd=this['editor'];if(!!!_0x5d03bd['config']['get']('uploadcare'))return;_0x5d03bd['plugins']['get'](_0x37b287)['createUploadAdapter']=_0x44fa1b=>new k(_0x44fa1b,_0x5d03bd),_0x5d03bd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4a4a92,{imageElement:_0xd30bc5,data:_0x520a4f})=>{_0x5d03bd['model']['change'](_0x495406=>{_0x495406['setAttribute']('uploadcareImageId',_0x520a4f['uploadcareImageId'],_0xd30bc5);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2324e0,_0x4f24ab){this['loader']=_0x2324e0,this['editor']=_0x4f24ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4e0ec8=await this['loader']['file'];return _0x1e36ed['upload']({'file':_0x4e0ec8,'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':_0x20af02=>{_0x20af02&&_0x20af02['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x20af02['value']);}})['then'](async _0x175933=>{const {imageFallbackUrl:_0x1d545d,imageSources:_0x1c6dc0}=_0x556395(_0x175933['cdnUrl'],_0x175933['imageInfo']['width']);return{'uploadcareImageId':_0x175933['uuid'],'default':_0x1d545d,'sources':_0x1c6dc0};})['catch'](()=>{const _0x5ce746=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e0ec8['name']+'.');return Promise['reject'](_0x5ce746);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x99f922}from'ckeditor5/src/core.js';import{FileRepository as _0x71bf90}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x46124f}from'./uploadcareediting.js';import{UploadUtils as _0x213ba6}from'./utils/uploadutils.js';import{getImageUrls as _0x59eb2b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x99f922{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x71bf90,_0x46124f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xddafa8=this['editor'];if(!!!_0xddafa8['config']['get']('uploadcare'))return;_0xddafa8['plugins']['get'](_0x71bf90)['createUploadAdapter']=_0x3aa8bd=>new k(_0x3aa8bd,_0xddafa8),_0xddafa8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40f07c,{imageElement:_0x40d1be,data:_0x3af0c4})=>{_0xddafa8['model']['change'](_0xaa138b=>{_0xaa138b['setAttribute']('uploadcareImageId',_0x3af0c4['uploadcareImageId'],_0x40d1be);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x951030,_0x7f77a){this['loader']=_0x951030,this['editor']=_0x7f77a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2b2737=await this['loader']['file'];return _0x213ba6['upload']({'file':_0x2b2737,'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':_0xec2121=>{_0xec2121&&_0xec2121['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xec2121['value']);}})['then'](async _0x5de3b1=>{const {imageFallbackUrl:_0x123235,imageSources:_0x3e8ff7}=_0x59eb2b(_0x5de3b1['cdnUrl'],_0x5de3b1['imageInfo']['width']);return{'uploadcareImageId':_0x5de3b1['uuid'],'default':_0x123235,'sources':_0x3e8ff7};})['catch'](()=>{const _0x229669=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b2737['name']+'.');return Promise['reject'](_0x229669);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1f9351}from'../uploadcareconfig.js';export function getTranslation(_0x4a750c,_0x488ae2,_0x943e78){const t=_0x4a750c['t'],_0x151106=_0x4a750c['t'];switch(_0x488ae2){case _0x1f9351['Local']:return{'text':_0x151106('Insert'===_0x943e78?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x151106('From\x20computer')};case _0x1f9351['URL']:return{'text':'Insert'===_0x943e78?_0x151106('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x151106('Via\x20URL')};case _0x1f9351['Dropbox']:return{'text':t('Insert'===_0x943e78?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1f9351['Facebook']:return{'text':t('Insert'===_0x943e78?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1f9351['GDrive']:return{'text':t('Insert'===_0x943e78?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1f9351['GPhotos']:return{'text':t('Insert'===_0x943e78?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1f9351['OneDrive']:return{'text':t('Insert'===_0x943e78?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x488ae2;}}
23
+ import{UploadcareSource as _0x24b299}from'../uploadcareconfig.js';export function getTranslation(_0xd11ab4,_0x24d8c6,_0xf2fb49){const t=_0xd11ab4['t'],_0xa5aa98=_0xd11ab4['t'];switch(_0x24d8c6){case _0x24b299['Local']:return{'text':_0xa5aa98('Insert'===_0xf2fb49?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xa5aa98('From\x20computer')};case _0x24b299['URL']:return{'text':'Insert'===_0xf2fb49?_0xa5aa98('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xa5aa98('Via\x20URL')};case _0x24b299['Dropbox']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x24b299['Facebook']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x24b299['GDrive']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x24b299['GPhotos']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x24b299['OneDrive']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24d8c6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14d165=_0x10b0;function _0x3bf5(){var _0x2da1eb=['getFocusableElement','21749YleIKM','577620aqVYWE','1448cGJUOC','forwardCycle','2007987XDYwbA','358542AtiRBt','div','bindTemplate','createCollection','12hEUwFq','583024kZKeMb','focusCycler','true','12887388GkPzWE','fire','focusTracker','338615EZrXGb'];_0x3bf5=function(){return _0x2da1eb;};return _0x3bf5();}(function(_0x52cf64,_0x289e9f){var _0x4a0d0f=_0x10b0,_0x6a8ed3=_0x52cf64();while(!![]){try{var _0x4f6eba=parseInt(_0x4a0d0f(0x151))/0x1+parseInt(_0x4a0d0f(0x155))/0x2+parseInt(_0x4a0d0f(0x154))/0x3+-parseInt(_0x4a0d0f(0x15a))/0x4+-parseInt(_0x4a0d0f(0x14e))/0x5*(-parseInt(_0x4a0d0f(0x159))/0x6)+-parseInt(_0x4a0d0f(0x150))/0x7*(-parseInt(_0x4a0d0f(0x152))/0x8)+-parseInt(_0x4a0d0f(0x15d))/0x9;if(_0x4f6eba===_0x289e9f)break;else _0x6a8ed3['push'](_0x6a8ed3['shift']());}catch(_0x2940eb){_0x6a8ed3['push'](_0x6a8ed3['shift']());}}}(_0x3bf5,0x85629));function _0x10b0(_0x22f85d,_0xa703b9){var _0x3bf58f=_0x3bf5();return _0x10b0=function(_0x10b024,_0x2dabd8){_0x10b024=_0x10b024-0x14c;var _0x3b3484=_0x3bf58f[_0x10b024];return _0x3b3484;},_0x10b0(_0x22f85d,_0xa703b9);}import{FocusTracker as _0x21586b}from'ckeditor5/src/utils.js';import{View as _0x47326b,FocusCycler as _0x3ed4e1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x47326b{[_0x14d165(0x14d)];[_0x14d165(0x15b)];constructor(_0x4fca66){var _0x5e7496=_0x14d165;super(_0x4fca66),this[_0x5e7496(0x14d)]=new _0x21586b(),this[_0x5e7496(0x15b)]=new _0x3ed4e1({'focusables':this[_0x5e7496(0x158)](),'focusTracker':this[_0x5e7496(0x14d)]});}[_0x14d165(0x14f)](){var _0x5be522=_0x14d165;return{'tag':_0x5be522(0x156),'attributes':{'aria-hidden':_0x5be522(0x15c),'tabindex':'0'},'on':{'focus':this[_0x5be522(0x157)]['to'](()=>{var _0x4aeab9=_0x5be522;this[_0x4aeab9(0x15b)][_0x4aeab9(0x14c)](_0x4aeab9(0x153));})}};}}
23
+ function _0x5a1e(){var _0xf4200d=['9046jnlfDZ','9xfrbFM','focusCycler','createCollection','forwardCycle','6534696EapKLk','13989490ManELa','getFocusableElement','bindTemplate','div','364400eYPBpi','fire','227TkDdAo','4QwxQrI','focusTracker','2010366FCocBf','true','3192805hBanYb','6GyjgMJ','24180849epNTht'];_0x5a1e=function(){return _0xf4200d;};return _0x5a1e();}var _0x314b61=_0x33b3;(function(_0x47fc40,_0x4fd17b){var _0x24c588=_0x33b3,_0x5c22c9=_0x47fc40();while(!![]){try{var _0x4e9b6c=parseInt(_0x24c588(0x149))/0x1*(parseInt(_0x24c588(0x151))/0x2)+-parseInt(_0x24c588(0x14c))/0x3*(parseInt(_0x24c588(0x14a))/0x4)+parseInt(_0x24c588(0x14e))/0x5*(parseInt(_0x24c588(0x14f))/0x6)+-parseInt(_0x24c588(0x156))/0x7+parseInt(_0x24c588(0x147))/0x8*(-parseInt(_0x24c588(0x152))/0x9)+-parseInt(_0x24c588(0x157))/0xa+parseInt(_0x24c588(0x150))/0xb;if(_0x4e9b6c===_0x4fd17b)break;else _0x5c22c9['push'](_0x5c22c9['shift']());}catch(_0x8f8d57){_0x5c22c9['push'](_0x5c22c9['shift']());}}}(_0x5a1e,0xc7120));import{FocusTracker as _0x524108}from'ckeditor5/src/utils.js';function _0x33b3(_0x604a9f,_0x2c7739){var _0x5a1e44=_0x5a1e();return _0x33b3=function(_0x33b3a4,_0x519334){_0x33b3a4=_0x33b3a4-0x146;var _0x1accfc=_0x5a1e44[_0x33b3a4];return _0x1accfc;},_0x33b3(_0x604a9f,_0x2c7739);}import{View as _0x1ca2c1,FocusCycler as _0x4123ae}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1ca2c1{[_0x314b61(0x14b)];[_0x314b61(0x153)];constructor(_0x18f12f){var _0x331bfd=_0x314b61;super(_0x18f12f),this[_0x331bfd(0x14b)]=new _0x524108(),this[_0x331bfd(0x153)]=new _0x4123ae({'focusables':this[_0x331bfd(0x154)](),'focusTracker':this[_0x331bfd(0x14b)]});}[_0x314b61(0x158)](){var _0x47cc37=_0x314b61;return{'tag':_0x47cc37(0x146),'attributes':{'aria-hidden':_0x47cc37(0x14d),'tabindex':'0'},'on':{'focus':this[_0x47cc37(0x159)]['to'](()=>{var _0x4a3b3c=_0x47cc37;this[_0x4a3b3c(0x153)][_0x4a3b3c(0x148)](_0x4a3b3c(0x155));})}};}}