@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251217.0 → 0.0.0-nightly-20251218.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a23(_0x4c5458,_0x3bde42){const _0x543e07=_0x543e();return _0x3a23=function(_0x3a2384,_0x510268){_0x3a2384=_0x3a2384-0x1f2;let _0x5c8110=_0x543e07[_0x3a2384];return _0x5c8110;},_0x3a23(_0x4c5458,_0x3bde42);}const _0x15a2d6=_0x3a23;(function(_0x73a32d,_0x48355e){const _0x441452=_0x3a23,_0x184f9f=_0x73a32d();while(!![]){try{const _0x9229b9=-parseInt(_0x441452(0x23d))/0x1*(-parseInt(_0x441452(0x23c))/0x2)+parseInt(_0x441452(0x218))/0x3+parseInt(_0x441452(0x228))/0x4+parseInt(_0x441452(0x222))/0x5*(-parseInt(_0x441452(0x1fb))/0x6)+-parseInt(_0x441452(0x1f5))/0x7+-parseInt(_0x441452(0x226))/0x8*(parseInt(_0x441452(0x220))/0x9)+parseInt(_0x441452(0x238))/0xa;if(_0x9229b9===_0x48355e)break;else _0x184f9f['push'](_0x184f9f['shift']());}catch(_0x3ae3f0){_0x184f9f['push'](_0x184f9f['shift']());}}}(_0x543e,0x50b1f));import{Plugin as _0x15ee47}from'ckeditor5/src/core.js';import{Dialog as _0x212b11}from'ckeditor5/src/ui.js';function _0x543e(){const _0xf03322=['appendChild','configElement','_initConfig','input[uploadcare-file-input]','requires','commands','1779757wmhkDl','document','uploadcareImageReplace','model','cleanupImage','afterInit','4398fSPfzr','isRegistered','listenTo','upcast','_ctxElement','schema','removeAttribute','execute','get','uploadcare.pubkey','data-uc-image-id','_configElement','locale','init','uploadcareImageId','isPremiumPlugin','config','PictureEditing','getAttribute','#uc-icon-arrow-down','insertImage','querySelector','closeMax','_initCtx','ctxElement','ucContextId','view','uc-config','fromCharCode','1009908nneMDQ','editor','editing','uploadcare.uploader','uc-upload-ctx-provider','getSelectedElement','uploadcare','uploader-','9iUDtsY','iconHrefResolver','3545StCJza','destroy','add','_initConversion','3808216UCkEyG','contentLanguage','2164756EaLZrx','\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','downcast','_initSchema','replaceImageSource','body','true','isOfficialPlugin','UploadcareEditing','selection','imageInline','once','extend','remove','attributeToAttribute','imageBlock','2161970YVljFk','render','for','href','194592KXJopI','5lUTuhy','join','elementToAttribute','conversion','map','pluginName','_initImageProcessingIndicator'];_0x543e=function(){return _0xf03322;};return _0x543e();}import{createElement as _0x204251,global as _0x35b181,uid as _0x43f44a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1f6595}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4c67bd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x59f036}from'./utils/editingutils.js';export class UploadcareEditing extends _0x15ee47{[_0x15a2d6(0x206)]=null;[_0x15a2d6(0x1ff)]=null;static get[_0x15a2d6(0x242)](){const _0xc21255=_0x15a2d6;return _0xc21255(0x230);}static get[_0x15a2d6(0x1f3)](){const _0x1fb16b=_0x15a2d6;return[_0x1fb16b(0x20c),_0x4c67bd,_0x212b11];}static get[_0x15a2d6(0x22f)](){return!0x0;}static get[_0x15a2d6(0x20a)](){return!0x0;}[_0x15a2d6(0x214)];get[_0x15a2d6(0x245)](){const _0x529302=_0x15a2d6;return this[_0x529302(0x206)];}get[_0x15a2d6(0x213)](){const _0xefe077=_0x15a2d6;return this[_0xefe077(0x1ff)];}constructor(_0xb5fac8){const _0x435fdd=_0x15a2d6;super(_0xb5fac8),this[_0x435fdd(0x214)]=_0x43f44a();}[_0x15a2d6(0x208)](){const _0x36ec06=_0x15a2d6,_0x27bd60=this[_0x36ec06(0x219)];_0x27bd60[_0x36ec06(0x1f4)][_0x36ec06(0x224)](_0x36ec06(0x21e),new _0x1f6595(_0x27bd60));}[_0x15a2d6(0x1fa)](){const _0xc9e9b1=_0x15a2d6;this[_0xc9e9b1(0x22b)](),this[_0xc9e9b1(0x225)](),this[_0xc9e9b1(0x246)](),this[_0xc9e9b1(0x212)](),this[_0xc9e9b1(0x243)](),this[_0xc9e9b1(0x1fd)](this[_0xc9e9b1(0x219)],_0xc9e9b1(0x223),()=>{const _0x18d1d4=_0xc9e9b1;this[_0x18d1d4(0x206)]&&(this[_0x18d1d4(0x206)][_0x18d1d4(0x235)](),this[_0x18d1d4(0x206)]=null),this[_0x18d1d4(0x1ff)]&&(this[_0x18d1d4(0x1ff)][_0x18d1d4(0x235)](),this[_0x18d1d4(0x1ff)]=null);const _0x2f81a1=_0x35b181[_0x18d1d4(0x1f6)][_0x18d1d4(0x210)](_0x18d1d4(0x1f2));_0x2f81a1&&_0x2f81a1[_0x18d1d4(0x235)]();}),async function(_0x443c86){const _0x1f7887=_0xa9972d([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]),_0x5ee850=0x535f8c3a,_0x1f76df=0x5358f012^_0x5ee850,_0x53d1f6=window[_0xa9972d([0x44,0x61,0x74,0x65])][_0xa9972d([0x6e,0x6f,0x77])](),_0x1d86cb=_0x443c86[_0xa9972d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3288bb=new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19c76b=>{_0x1d86cb[_0xa9972d([0x6f,0x6e,0x63,0x65])](_0xa9972d([0x72,0x65,0x61,0x64,0x79]),_0x19c76b);}),_0x5e1271={[_0xa9972d([0x6b,0x74,0x79])]:_0xa9972d([0x45,0x43]),[_0xa9972d([0x75,0x73,0x65])]:_0xa9972d([0x73,0x69,0x67]),[_0xa9972d([0x63,0x72,0x76])]:_0xa9972d([0x50,0x2d,0x32,0x35,0x36]),[_0xa9972d([0x78])]:_0xa9972d([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]),[_0xa9972d([0x79])]:_0xa9972d([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]),[_0xa9972d([0x61,0x6c,0x67])]:_0xa9972d([0x45,0x53,0x32,0x35,0x36])},_0x51bd3d=_0x1d86cb[_0xa9972d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa9972d([0x67,0x65,0x74])](_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51bd45(){let _0x497c32,_0x27a0ec=null,_0xbc544=null;try{if(_0x51bd3d==_0xa9972d([0x47,0x50,0x4c]))return _0xa9972d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x497c32=_0x262896(),!_0x497c32)return _0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x497c32[_0xa9972d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbc544=_0xdab019(_0x497c32[_0xa9972d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x497c32[_0xa9972d([0x6a,0x74,0x69])])),await _0xaa1bf()?_0x29e9fc()?_0x279996()?_0xa9972d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3eea3a()?(_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa9972d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27a0ec=_0x237a57(_0xa9972d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa9972d([0x74,0x72,0x69,0x61,0x6c])&&(_0x27a0ec=_0x237a57(_0xa9972d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24531b()):_0xa9972d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa9972d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa9972d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x279996(){const _0x137f2b=[_0xa9972d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa9972d([0x74,0x72,0x69,0x61,0x6c])][_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53d1f6/0x3e8:0xe10*_0x1f76df;return _0x497c32[_0xa9972d([0x65,0x78,0x70])]<_0x137f2b;}function _0x29e9fc(){const _0x4793b5=_0x497c32[_0xa9972d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4793b5&&(!!_0x4793b5[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x2a]))||!!_0x4793b5[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x55,0x50,0x4c,0x43])));}function _0x3eea3a(){const _0x435b7a=_0x3a23,_0x42e328=_0x497c32[_0xa9972d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42e328||0x0==_0x42e328[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3460ba}=new URL(window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x435b7a(0x23b)]);if(_0x42e328[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3460ba))return!0x0;const _0x239479=_0x3460ba[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e]));return _0x42e328[_0xa9972d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330162=>_0x330162[_0xa9972d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa9972d([0x2a])))[_0xa9972d([0x6d,0x61,0x70])](_0x2aa30d=>_0x2aa30d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e])))[_0xa9972d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x241afc=>_0x241afc[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x239479[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa9972d([0x6d,0x61,0x70])](_0x1b7c38=>Array(_0x239479[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b7c38[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa9972d([0x66,0x69,0x6c,0x6c])](_0x1b7c38[0x0]===_0xa9972d([0x2a])?_0xa9972d([0x2a]):'')[_0xa9972d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b7c38))[_0xa9972d([0x73,0x6f,0x6d,0x65])](_0x153330=>_0x239479[_0xa9972d([0x65,0x76,0x65,0x72,0x79])]((_0x2b5610,_0x3fc3be)=>_0x153330[_0x3fc3be]===_0x2b5610||_0x153330[_0x3fc3be]===_0xa9972d([0x2a])));}function _0x24531b(){return _0x27a0ec&&_0xbc544?new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ea38f,_0x488570)=>{_0x27a0ec[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x2ea38f,_0x488570),_0xbc544[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x10ca4e=>{_0x10ca4e!=_0xa9972d([0x56,0x61,0x6c,0x69,0x64])&&_0x2ea38f(_0x10ca4e);},_0x488570);}):_0x27a0ec||_0xbc544||_0xa9972d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdab019(_0x28b5f9,_0x344e32){return new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17adf3=>{if(_0x662859())return _0x17adf3(_0xa9972d([0x56,0x61,0x6c,0x69,0x64]));_0x498cf6(),_0x1d86cb[_0xa9972d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xde1a4e=!0x1;const _0x5a11f9=_0x43f44a();function _0x1d5713(_0x1ed002){return!!_0x1ed002&&(typeof _0x1ed002===_0xa9972d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ed002===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ed002[_0xa9972d([0x74,0x68,0x65,0x6e])]===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ed002[_0xa9972d([0x63,0x61,0x74,0x63,0x68])]===_0xa9972d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8b5f(_0x2da957){_0x21b517(_0x2da957)[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x25fb0f=>{if(!_0x25fb0f||_0x25fb0f[_0xa9972d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa9972d([0x6f,0x6b]))return _0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43194f(_0x408c87(_0x5a11f9+_0x344e32))!=_0x25fb0f[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa9972d([0x56,0x61,0x6c,0x69,0x64]);})[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x5899a2=>(_0x2f1bec(),_0x5899a2),()=>{const _0x343374=_0x49b346();return null==_0x343374?(_0x2f1bec(),_0xa9972d([0x56,0x61,0x6c,0x69,0x64])):_0xa9972d(_0x53d1f6-_0x343374>(0x7753083a^_0x5ee850)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x17adf3)[_0xa9972d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36d9f8=0x536962ba^_0x5ee850;function _0x2f1bec(){const _0x3c23cb=_0xa9972d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43194f(_0x408c87(_0x28b5f9)),_0x353fe0=_0x30beaa(_0x43194f(window[_0xa9972d([0x4d,0x61,0x74,0x68])][_0xa9972d([0x63,0x65,0x69,0x6c])](_0x53d1f6/_0x36d9f8)));window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa9972d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c23cb,_0x353fe0);}function _0x49b346(){const _0x1e6c76=_0xa9972d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43194f(_0x408c87(_0x28b5f9)),_0x5067aa=window[_0xa9972d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa9972d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e6c76);return _0x5067aa?window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30beaa(_0x5067aa),0x10)*_0x36d9f8:null;}function _0x21b517(_0x548baa){return new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44456d,_0x7387f7)=>{_0x548baa[_0xa9972d([0x74,0x68,0x65,0x6e])](_0x44456d,_0x7387f7),window[_0xa9972d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7387f7,0x535e58fa^_0x5ee850);});}}_0x1d86cb[_0xa9972d([0x6f,0x6e])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x366626,_0x2ddb92)=>{if(_0x2ddb92[0x0]!=_0x28b5f9)return _0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ddb92[0x1]={..._0x2ddb92[0x1],[_0xa9972d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a11f9};},{[_0xa9972d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa9972d([0x68,0x69,0x67,0x68])}),_0x1d86cb[_0xa9972d([0x6f,0x6e])](_0xa9972d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x389a63=>{_0x1d5713(_0x389a63[_0xa9972d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xde1a4e=!0x0,_0x3d8b5f(_0x389a63[_0xa9972d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa9972d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa9972d([0x6c,0x6f,0x77])}),_0x3288bb[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>{_0xde1a4e||_0x17adf3(_0xa9972d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x662859(){return _0x1d86cb[_0xa9972d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa9972d([0x76,0x69,0x65,0x77])][_0xa9972d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa9972d([0x61,0x75,0x74,0x6f]);}function _0x498cf6(){_0x1d86cb[_0xa9972d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa9972d([0x76,0x69,0x65,0x77])][_0xa9972d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa9972d([0x61,0x75,0x74,0x6f]);}}function _0x237a57(_0x102690){const _0x8623e7=[new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238b98=>setTimeout(_0x238b98,0x5356b2f6^_0x5ee850)),_0x3288bb[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599ce9=>{let _0x102a6a=0x0;_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x6f,0x6e])](_0xa9972d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d6713,_0x48ae83)=>{_0x48ae83[0x0][_0xa9972d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x102a6a++,_0x102a6a==(0x535f8dc2^_0x5ee850)&&(_0x599ce9(),_0x5d6713[_0xa9972d([0x6f,0x66,0x66])]());});}))];return window[_0xa9972d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa9972d([0x72,0x61,0x63,0x65])](_0x8623e7)[_0xa9972d([0x74,0x68,0x65,0x6e])](()=>_0x102690);}async function _0x1c6ce9(){await _0x3288bb,_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40cc96,_0x1d86cb[_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c])][_0xa9972d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40cc96,_0x1d86cb[_0xa9972d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa9972d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x103536(_0x54ad5d){const _0x452813=_0x4d730d();_0x1d86cb[_0x452813]=_0xa9972d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54ad5d,_0x54ad5d!=_0xa9972d([0x56,0x61,0x6c,0x69,0x64])&&_0x1c6ce9();}function _0x4d730d(){const _0x504e22=window[_0xa9972d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa9972d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa9972d([0x6e,0x6f,0x77])]())[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa9972d([0x2e]),'');let _0x22a96c=_0xa9972d([0x68]);for(let _0x423cf9=0x0;_0x423cf9<_0x504e22[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x423cf9+=0x2){let _0x1710e1=window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504e22[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x423cf9,_0x423cf9+0x2));_0x1710e1>=_0x1f7887[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1710e1-=_0x1f7887[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22a96c+=_0x1f7887[_0x1710e1];}return _0x22a96c;}function _0x262896(){const _0x4867ce=_0x51bd3d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e]));if(0x3!=_0x4867ce[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10d303(_0x4867ce[0x1]);function _0x10d303(_0x1abcff){const _0x120bff=_0x3bbf8e(_0x1abcff);return _0x120bff&&_0x374ff4()?_0x120bff:null;function _0x374ff4(){const _0x4b78d9=_0x120bff[_0xa9972d([0x6a,0x74,0x69])],_0x519470=window[_0xa9972d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b78d9[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b78d9[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ec56e={..._0x120bff,[_0xa9972d([0x6a,0x74,0x69])]:_0x4b78d9[_0xa9972d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b78d9[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ec56e[_0xa9972d([0x76,0x63])],_0x408c87(_0x3ec56e)==_0x519470;}}}async function _0xaa1bf(){let _0x42cfda=!0x0;try{const _0x5ac096=_0x51bd3d[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])](_0xa9972d([0x2e])),[_0x4eb6fc,_0x27c0c4,_0x3e98ab]=_0x5ac096;return _0x3d55fa(_0x4eb6fc),await _0x8adb74(_0x4eb6fc,_0x27c0c4,_0x3e98ab),_0x42cfda;}catch{return!0x1;}function _0x3d55fa(_0x4f1e18){const _0x502baa=_0x3bbf8e(_0x4f1e18);_0x502baa&&_0x502baa[_0xa9972d([0x61,0x6c,0x67])]==_0xa9972d([0x45,0x53,0x32,0x35,0x36])||(_0x42cfda=!0x1);}async function _0x8adb74(_0x398076,_0x229c26,_0x4bfd93){const _0xe8615f=window[_0xa9972d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa9972d([0x66,0x72,0x6f,0x6d])](_0x222a62(_0x4bfd93),_0x5b414e=>_0x5b414e[_0xa9972d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b8275=new window[(_0xa9972d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa9972d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x398076+_0xa9972d([0x2e])+_0x229c26),_0x4cb9b5=window[_0xa9972d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa9972d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cb9b5)return;const _0x37f2dd=await _0x4cb9b5[_0xa9972d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa9972d([0x6a,0x77,0x6b]),_0x5e1271,{[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x45,0x43,0x44,0x53,0x41]),[_0xa9972d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa9972d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cb9b5[_0xa9972d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x45,0x43,0x44,0x53,0x41]),[_0xa9972d([0x68,0x61,0x73,0x68])]:{[_0xa9972d([0x6e,0x61,0x6d,0x65])]:_0xa9972d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37f2dd,_0xe8615f,_0x1b8275)||(_0x42cfda=!0x1);}}function _0x3bbf8e(_0x311e0b){return _0x311e0b[_0xa9972d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa9972d([0x65,0x79]))?JSON[_0xa9972d([0x70,0x61,0x72,0x73,0x65])](_0x222a62(_0x311e0b)):null;}function _0x222a62(_0x5f50fb){return window[_0xa9972d([0x61,0x74,0x6f,0x62])](_0x5f50fb[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa9972d([0x2b]))[_0xa9972d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa9972d([0x2f])));}function _0x408c87(_0x1ff596){let _0x46ae63=0x1505;function _0x151fb6(_0x7e1bff){for(let _0x163958=0x0;_0x163958<_0x7e1bff[_0xa9972d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163958++){const _0xf5433c=_0x7e1bff[_0xa9972d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163958);_0x46ae63=(_0x46ae63<<0x5)+_0x46ae63+_0xf5433c,_0x46ae63&=_0x46ae63;}}function _0x15be21(_0x5de5b1){Array[_0xa9972d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5de5b1)?_0x5de5b1[_0xa9972d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15be21):_0x5de5b1&&typeof _0x5de5b1==_0xa9972d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa9972d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5de5b1)[_0xa9972d([0x73,0x6f,0x72,0x74])]()[_0xa9972d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa52dbb,_0x23202b])=>{_0x151fb6(_0xa52dbb),_0x15be21(_0x23202b);}):_0x151fb6(window[_0xa9972d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5de5b1));}return _0x15be21(_0x1ff596),_0x46ae63>>>0x0;}function _0x43194f(_0x14c5b5){return _0x14c5b5[_0xa9972d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa9972d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa9972d([0x30]));}function _0x30beaa(_0x15ce5f){return _0x15ce5f[_0xa9972d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa9972d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa9972d([0x6a,0x6f,0x69,0x6e])]('');}function _0x40cc96(){}function _0xa9972d(_0x1fec03){const _0x14ebb1=_0x3a23;return _0x1fec03[_0x14ebb1(0x241)](_0x560e49=>String[_0x14ebb1(0x217)](_0x560e49))[_0x14ebb1(0x23e)]('');}_0x103536(await _0x51bd45());}(this);}[_0x15a2d6(0x22b)](){const _0xb954ad=_0x15a2d6,_0xd13dd6=this[_0xb954ad(0x219)][_0xb954ad(0x1f8)][_0xb954ad(0x200)];_0xd13dd6[_0xb954ad(0x1fc)](_0xb954ad(0x237))&&_0xd13dd6[_0xb954ad(0x234)](_0xb954ad(0x237),{'allowAttributes':[_0xb954ad(0x209)]}),_0xd13dd6[_0xb954ad(0x1fc)](_0xb954ad(0x232))&&_0xd13dd6[_0xb954ad(0x234)](_0xb954ad(0x232),{'allowAttributes':[_0xb954ad(0x209)]});}[_0x15a2d6(0x225)](){const _0x137a54=_0x15a2d6,_0x29e3d5=this[_0x137a54(0x219)];_0x29e3d5[_0x137a54(0x240)][_0x137a54(0x23a)](_0x137a54(0x22a))[_0x137a54(0x236)]({'model':_0x137a54(0x209),'view':_0x137a54(0x205)}),_0x29e3d5[_0x137a54(0x240)][_0x137a54(0x23a)](_0x137a54(0x1fe))[_0x137a54(0x23f)]({'model':{'key':_0x137a54(0x209),'value':_0x309aac=>_0x309aac[_0x137a54(0x20d)](_0x137a54(0x205))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33d68c=_0x29e3d5[_0x137a54(0x1f4)][_0x137a54(0x203)](_0x137a54(0x22c));_0x33d68c&&this[_0x137a54(0x1fd)](_0x33d68c,_0x137a54(0x1f9),(_0x3068e2,[_0x43d2a7,_0x2f9fec])=>{const _0x9136df=_0x137a54;_0x43d2a7[_0x9136df(0x201)](_0x9136df(0x209),_0x2f9fec);});}[_0x15a2d6(0x246)](){const _0x8521d8=_0x15a2d6,_0x2f286a=this[_0x8521d8(0x219)][_0x8521d8(0x20b)][_0x8521d8(0x203)](_0x8521d8(0x21b))||{},_0x3df716=this[_0x8521d8(0x219)][_0x8521d8(0x20b)][_0x8521d8(0x203)](_0x8521d8(0x204))||'';this[_0x8521d8(0x206)]=_0x204251(_0x35b181[_0x8521d8(0x1f6)],_0x8521d8(0x216),{..._0x2f286a,'pubkey':_0x3df716,'ctx-name':_0x8521d8(0x21f)+this[_0x8521d8(0x214)],'sourceList':'','imgOnly':_0x8521d8(0x22e),'removeCopyright':_0x8521d8(0x22e),'localeName':this[_0x8521d8(0x219)][_0x8521d8(0x207)][_0x8521d8(0x227)],'externalSourcesEmbedCss':_0x8521d8(0x229)}),this[_0x8521d8(0x206)][_0x8521d8(0x221)]=_0x14f5a4=>{const _0x4122f4=_0x8521d8;if(_0x4122f4(0x211)==_0x14f5a4)return _0x4122f4(0x20e);},_0x35b181[_0x8521d8(0x1f6)][_0x8521d8(0x22d)][_0x8521d8(0x244)](this[_0x8521d8(0x206)]);}[_0x15a2d6(0x212)](){const _0xe29599=_0x15a2d6;this[_0xe29599(0x1ff)]=_0x204251(_0x35b181[_0xe29599(0x1f6)],_0xe29599(0x21c),{'ctx-name':_0xe29599(0x21f)+this[_0xe29599(0x214)]}),_0x35b181[_0xe29599(0x1f6)][_0xe29599(0x22d)][_0xe29599(0x244)](this[_0xe29599(0x1ff)]);}[_0x15a2d6(0x243)](){const _0x53e502=_0x15a2d6,_0x26f7d1=this[_0x53e502(0x219)][_0x53e502(0x1f4)][_0x53e502(0x203)](_0x53e502(0x20f));_0x26f7d1&&this[_0x53e502(0x1fd)](_0x26f7d1,_0x53e502(0x202),()=>{const _0x297d17=_0x53e502,_0x369c57=this[_0x297d17(0x219)][_0x297d17(0x1f8)][_0x297d17(0x1f6)][_0x297d17(0x231)][_0x297d17(0x21d)]();_0x369c57&&_0x369c57[_0x297d17(0x20d)](_0x297d17(0x209))&&this[_0x297d17(0x219)][_0x297d17(0x21a)][_0x297d17(0x215)][_0x297d17(0x233)](_0x297d17(0x239),()=>{const _0x2e087b=_0x297d17;_0x59f036(this[_0x2e087b(0x219)],_0x369c57);});});const _0x38ffba=this[_0x53e502(0x219)][_0x53e502(0x1f4)][_0x53e502(0x203)](_0x53e502(0x1f7));_0x38ffba&&this[_0x53e502(0x1fd)](_0x38ffba,_0x53e502(0x202),()=>{const _0x4d7474=_0x53e502,_0x32d8fa=this[_0x4d7474(0x219)][_0x4d7474(0x1f8)][_0x4d7474(0x1f6)][_0x4d7474(0x231)][_0x4d7474(0x21d)]();_0x32d8fa&&_0x32d8fa[_0x4d7474(0x20d)](_0x4d7474(0x209))&&this[_0x4d7474(0x219)][_0x4d7474(0x21a)][_0x4d7474(0x215)][_0x4d7474(0x233)](_0x4d7474(0x239),()=>{const _0x5222d2=_0x4d7474;_0x59f036(this[_0x5222d2(0x219)],_0x32d8fa);});});}}
23
+ const _0x27e5d0=_0x3ebb;(function(_0x1f0c35,_0x3a09d9){const _0x2b45b6=_0x3ebb,_0x1662b0=_0x1f0c35();while(!![]){try{const _0xea084e=-parseInt(_0x2b45b6(0x17e))/0x1*(parseInt(_0x2b45b6(0x152))/0x2)+parseInt(_0x2b45b6(0x178))/0x3+parseInt(_0x2b45b6(0x167))/0x4*(parseInt(_0x2b45b6(0x16e))/0x5)+-parseInt(_0x2b45b6(0x165))/0x6+parseInt(_0x2b45b6(0x17f))/0x7+-parseInt(_0x2b45b6(0x146))/0x8+parseInt(_0x2b45b6(0x177))/0x9*(parseInt(_0x2b45b6(0x13c))/0xa);if(_0xea084e===_0x3a09d9)break;else _0x1662b0['push'](_0x1662b0['shift']());}catch(_0x59f248){_0x1662b0['push'](_0x1662b0['shift']());}}}(_0x984d,0x75b45));function _0x3ebb(_0x52904a,_0x3fc17a){const _0x984d66=_0x984d();return _0x3ebb=function(_0x3ebb1e,_0x335436){_0x3ebb1e=_0x3ebb1e-0x12b;let _0x29a13c=_0x984d66[_0x3ebb1e];return _0x29a13c;},_0x3ebb(_0x52904a,_0x3fc17a);}function _0x984d(){const _0x20a403=['querySelector','_initSchema','selection','locale','closeMax','63LkmQpk','2888187DypGJN','editing','map','input[uploadcare-file-input]','_ctxElement','attributeToAttribute','27109eMjWMz','2839011JUTbAt','uc-upload-ctx-provider','config','document','replaceImageSource','downcast','view','get','getSelectedElement','extend','cleanupImage','insertImage','execute','contentLanguage','uploadcareImageId','schema','uploadcare.uploader','once','272020noYLXz','ucContextId','\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','data-uc-image-id','true','appendChild','pluginName','isRegistered','_initCtx','render','2778032VNGWoA','listenTo','imageInline','upcast','uploader-','iconHrefResolver','afterInit','href','add','join','init','for','22hKokSG','UploadcareEditing','uc-config','uploadcareImageReplace','configElement','_initImageProcessingIndicator','isPremiumPlugin','uploadcare.pubkey','getAttribute','destroy','_initConfig','conversion','editor','isOfficialPlugin','remove','ctxElement','PictureEditing','requires','#uc-icon-arrow-down','3499344PwovGV','elementToAttribute','608312iuGhrm','commands','removeAttribute','uploadcare','_initConversion','imageBlock','model','5pStrXq','_configElement','fromCharCode','body'];_0x984d=function(){return _0x20a403;};return _0x984d();}import{Plugin as _0x1cb952}from'ckeditor5/src/core.js';import{Dialog as _0x36b115}from'ckeditor5/src/ui.js';import{createElement as _0x28da82,global as _0x52d970,uid as _0x1bcbfc}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x120954}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x570f57}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x34ae35}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1cb952{[_0x27e5d0(0x16f)]=null;[_0x27e5d0(0x17c)]=null;static get[_0x27e5d0(0x142)](){const _0x327974=_0x27e5d0;return _0x327974(0x153);}static get[_0x27e5d0(0x163)](){const _0x524305=_0x27e5d0;return[_0x524305(0x162),_0x570f57,_0x36b115];}static get[_0x27e5d0(0x15f)](){return!0x0;}static get[_0x27e5d0(0x158)](){return!0x0;}[_0x27e5d0(0x13d)];get[_0x27e5d0(0x156)](){const _0x59eb9f=_0x27e5d0;return this[_0x59eb9f(0x16f)];}get[_0x27e5d0(0x161)](){const _0x544889=_0x27e5d0;return this[_0x544889(0x17c)];}constructor(_0x2a6d67){const _0x2bf196=_0x27e5d0;super(_0x2a6d67),this[_0x2bf196(0x13d)]=_0x1bcbfc();}[_0x27e5d0(0x150)](){const _0x286105=_0x27e5d0,_0x43f826=this[_0x286105(0x15e)];_0x43f826[_0x286105(0x168)][_0x286105(0x14e)](_0x286105(0x16a),new _0x120954(_0x43f826));}[_0x27e5d0(0x14c)](){const _0x330d67=_0x27e5d0;this[_0x330d67(0x173)](),this[_0x330d67(0x16b)](),this[_0x330d67(0x15c)](),this[_0x330d67(0x144)](),this[_0x330d67(0x157)](),this[_0x330d67(0x147)](this[_0x330d67(0x15e)],_0x330d67(0x15b),()=>{const _0x3d7427=_0x330d67;this[_0x3d7427(0x16f)]&&(this[_0x3d7427(0x16f)][_0x3d7427(0x160)](),this[_0x3d7427(0x16f)]=null),this[_0x3d7427(0x17c)]&&(this[_0x3d7427(0x17c)][_0x3d7427(0x160)](),this[_0x3d7427(0x17c)]=null);const _0x42e88e=_0x52d970[_0x3d7427(0x12d)][_0x3d7427(0x172)](_0x3d7427(0x17b));_0x42e88e&&_0x42e88e[_0x3d7427(0x160)]();}),async function(_0x3182d){const _0x5713d6=_0x96e981([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]),_0x30bebb=0x535f8c3a,_0xe08bfd=0x5358f07a^_0x30bebb,_0x5083b3=window[_0x96e981([0x44,0x61,0x74,0x65])][_0x96e981([0x6e,0x6f,0x77])](),_0x5980ec=_0x3182d[_0x96e981([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f703f=new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c049=>{_0x5980ec[_0x96e981([0x6f,0x6e,0x63,0x65])](_0x96e981([0x72,0x65,0x61,0x64,0x79]),_0x47c049);}),_0x49e014={[_0x96e981([0x6b,0x74,0x79])]:_0x96e981([0x45,0x43]),[_0x96e981([0x75,0x73,0x65])]:_0x96e981([0x73,0x69,0x67]),[_0x96e981([0x63,0x72,0x76])]:_0x96e981([0x50,0x2d,0x32,0x35,0x36]),[_0x96e981([0x78])]:_0x96e981([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]),[_0x96e981([0x79])]:_0x96e981([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]),[_0x96e981([0x61,0x6c,0x67])]:_0x96e981([0x45,0x53,0x32,0x35,0x36])},_0x546ece=_0x5980ec[_0x96e981([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x96e981([0x67,0x65,0x74])](_0x96e981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa3c88a(){let _0x2b631f,_0x435d0d=null,_0xb0444d=null;try{if(_0x546ece==_0x96e981([0x47,0x50,0x4c]))return _0x96e981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b631f=_0x51468d(),!_0x2b631f)return _0x96e981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b631f[_0x96e981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb0444d=_0x7a70f6(_0x2b631f[_0x96e981([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b631f[_0x96e981([0x6a,0x74,0x69])])),await _0x3591e9()?_0x2d3fbe()?_0x2487fc()?_0x96e981([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e0187()?(_0x2b631f[_0x96e981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x96e981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x435d0d=_0xa10fe2(_0x96e981([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b631f[_0x96e981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x96e981([0x74,0x72,0x69,0x61,0x6c])&&(_0x435d0d=_0xa10fe2(_0x96e981([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5287cc()):_0x96e981([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x96e981([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x96e981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x96e981([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2487fc(){const _0x6b8ebe=[_0x96e981([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x96e981([0x74,0x72,0x69,0x61,0x6c])][_0x96e981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b631f[_0x96e981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5083b3/0x3e8:0xe10*_0xe08bfd;return _0x2b631f[_0x96e981([0x65,0x78,0x70])]<_0x6b8ebe;}function _0x2d3fbe(){const _0x4a4e91=_0x2b631f[_0x96e981([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a4e91&&(!!_0x4a4e91[_0x96e981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96e981([0x2a]))||!!_0x4a4e91[_0x96e981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96e981([0x55,0x50,0x4c,0x43])));}function _0x5e0187(){const _0xa4f94=_0x3ebb,_0x584c98=_0x2b631f[_0x96e981([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x584c98||0x0==_0x584c98[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x334908}=new URL(window[_0x96e981([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa4f94(0x14d)]);if(_0x584c98[_0x96e981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x334908))return!0x0;const _0x20b161=_0x334908[_0x96e981([0x73,0x70,0x6c,0x69,0x74])](_0x96e981([0x2e]));return _0x584c98[_0x96e981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55db7c=>_0x55db7c[_0x96e981([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96e981([0x2a])))[_0x96e981([0x6d,0x61,0x70])](_0x209956=>_0x209956[_0x96e981([0x73,0x70,0x6c,0x69,0x74])](_0x96e981([0x2e])))[_0x96e981([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1862ed=>_0x1862ed[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20b161[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x96e981([0x6d,0x61,0x70])](_0x2d87d2=>Array(_0x20b161[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d87d2[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x96e981([0x66,0x69,0x6c,0x6c])](_0x2d87d2[0x0]===_0x96e981([0x2a])?_0x96e981([0x2a]):'')[_0x96e981([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d87d2))[_0x96e981([0x73,0x6f,0x6d,0x65])](_0x21bf2f=>_0x20b161[_0x96e981([0x65,0x76,0x65,0x72,0x79])]((_0xddade1,_0x2e0caf)=>_0x21bf2f[_0x2e0caf]===_0xddade1||_0x21bf2f[_0x2e0caf]===_0x96e981([0x2a])));}function _0x5287cc(){return _0x435d0d&&_0xb0444d?new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7227c2,_0x266fe1)=>{_0x435d0d[_0x96e981([0x74,0x68,0x65,0x6e])](_0x7227c2,_0x266fe1),_0xb0444d[_0x96e981([0x74,0x68,0x65,0x6e])](_0x27ab45=>{_0x27ab45!=_0x96e981([0x56,0x61,0x6c,0x69,0x64])&&_0x7227c2(_0x27ab45);},_0x266fe1);}):_0x435d0d||_0xb0444d||_0x96e981([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7a70f6(_0x4642b3,_0x262af3){return new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54118d=>{if(_0x44ba1a())return _0x54118d(_0x96e981([0x56,0x61,0x6c,0x69,0x64]));_0x611490(),_0x5980ec[_0x96e981([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x96e981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d89b8=!0x1;const _0x5246de=_0x1bcbfc();function _0x55a32f(_0xd29766){return!!_0xd29766&&(typeof _0xd29766===_0x96e981([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd29766===_0x96e981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd29766[_0x96e981([0x74,0x68,0x65,0x6e])]===_0x96e981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd29766[_0x96e981([0x63,0x61,0x74,0x63,0x68])]===_0x96e981([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37b371(_0x507c2e){_0x3bb76f(_0x507c2e)[_0x96e981([0x74,0x68,0x65,0x6e])](_0x1de39f=>{if(!_0x1de39f||_0x1de39f[_0x96e981([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x96e981([0x6f,0x6b]))return _0x96e981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5940d2(_0x1e1ac7(_0x5246de+_0x262af3))!=_0x1de39f[_0x96e981([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x96e981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x96e981([0x56,0x61,0x6c,0x69,0x64]);})[_0x96e981([0x74,0x68,0x65,0x6e])](_0x344fca=>(_0x24b95a(),_0x344fca),()=>{const _0x5dd35c=_0x302d3e();return null==_0x5dd35c?(_0x24b95a(),_0x96e981([0x56,0x61,0x6c,0x69,0x64])):_0x96e981(_0x5083b3-_0x5dd35c>(0x7753083a^_0x30bebb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x96e981([0x74,0x68,0x65,0x6e])](_0x54118d)[_0x96e981([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54118d(_0x96e981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5496a9=0x536962ba^_0x30bebb;function _0x24b95a(){const _0x98262b=_0x96e981([0x6c,0x6c,0x63,0x74,0x2d])+_0x5940d2(_0x1e1ac7(_0x4642b3)),_0x27341f=_0x433580(_0x5940d2(window[_0x96e981([0x4d,0x61,0x74,0x68])][_0x96e981([0x63,0x65,0x69,0x6c])](_0x5083b3/_0x5496a9)));window[_0x96e981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x96e981([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x98262b,_0x27341f);}function _0x302d3e(){const _0x566409=_0x96e981([0x6c,0x6c,0x63,0x74,0x2d])+_0x5940d2(_0x1e1ac7(_0x4642b3)),_0x3bb189=window[_0x96e981([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x96e981([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x566409);return _0x3bb189?window[_0x96e981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x433580(_0x3bb189),0x10)*_0x5496a9:null;}function _0x3bb76f(_0x371970){return new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c3eb2,_0x35b2a4)=>{_0x371970[_0x96e981([0x74,0x68,0x65,0x6e])](_0x4c3eb2,_0x35b2a4),window[_0x96e981([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35b2a4,0x535e58fa^_0x30bebb);});}}_0x5980ec[_0x96e981([0x6f,0x6e])](_0x96e981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ca0a2,_0x3770ce)=>{if(_0x3770ce[0x0]!=_0x4642b3)return _0x54118d(_0x96e981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3770ce[0x1]={..._0x3770ce[0x1],[_0x96e981([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5246de};},{[_0x96e981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x96e981([0x68,0x69,0x67,0x68])}),_0x5980ec[_0x96e981([0x6f,0x6e])](_0x96e981([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a41be=>{_0x55a32f(_0x3a41be[_0x96e981([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d89b8=!0x0,_0x37b371(_0x3a41be[_0x96e981([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x96e981([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x96e981([0x6c,0x6f,0x77])}),_0x3f703f[_0x96e981([0x74,0x68,0x65,0x6e])](()=>{_0x4d89b8||_0x54118d(_0x96e981([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44ba1a(){return _0x5980ec[_0x96e981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x96e981([0x76,0x69,0x65,0x77])][_0x96e981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x96e981([0x61,0x75,0x74,0x6f]);}function _0x611490(){_0x5980ec[_0x96e981([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x96e981([0x76,0x69,0x65,0x77])][_0x96e981([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x96e981([0x61,0x75,0x74,0x6f]);}}function _0xa10fe2(_0x1099b3){const _0x32e58e=[new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb5ad15=>setTimeout(_0xb5ad15,0x5356b2f6^_0x30bebb)),_0x3f703f[_0x96e981([0x74,0x68,0x65,0x6e])](()=>new window[(_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16d564=>{let _0x140b93=0x0;_0x5980ec[_0x96e981([0x6d,0x6f,0x64,0x65,0x6c])][_0x96e981([0x6f,0x6e])](_0x96e981([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ae4a1,_0x44fcc3)=>{_0x44fcc3[0x0][_0x96e981([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x140b93++,_0x140b93==(0x535f8dc2^_0x30bebb)&&(_0x16d564(),_0x1ae4a1[_0x96e981([0x6f,0x66,0x66])]());});}))];return window[_0x96e981([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x96e981([0x72,0x61,0x63,0x65])](_0x32e58e)[_0x96e981([0x74,0x68,0x65,0x6e])](()=>_0x1099b3);}async function _0xb81c98(){await _0x3f703f,_0x5980ec[_0x96e981([0x6d,0x6f,0x64,0x65,0x6c])][_0x96e981([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ff31f,_0x5980ec[_0x96e981([0x6d,0x6f,0x64,0x65,0x6c])][_0x96e981([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ff31f,_0x5980ec[_0x96e981([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x96e981([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3defe0(_0x51fc6e){const _0x580ba8=_0x16a47a();_0x5980ec[_0x580ba8]=_0x96e981([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51fc6e,_0x51fc6e!=_0x96e981([0x56,0x61,0x6c,0x69,0x64])&&_0xb81c98();}function _0x16a47a(){const _0x1b7a95=window[_0x96e981([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x96e981([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x96e981([0x6e,0x6f,0x77])]())[_0x96e981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x96e981([0x2e]),'');let _0x224e38=_0x96e981([0x68]);for(let _0x319bde=0x0;_0x319bde<_0x1b7a95[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x319bde+=0x2){let _0x32cd42=window[_0x96e981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b7a95[_0x96e981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x319bde,_0x319bde+0x2));_0x32cd42>=_0x5713d6[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32cd42-=_0x5713d6[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x224e38+=_0x5713d6[_0x32cd42];}return _0x224e38;}function _0x51468d(){const _0x124016=_0x546ece[_0x96e981([0x73,0x70,0x6c,0x69,0x74])](_0x96e981([0x2e]));if(0x3!=_0x124016[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32b667(_0x124016[0x1]);function _0x32b667(_0xda3f96){const _0x1f9d6b=_0x4d9ffa(_0xda3f96);return _0x1f9d6b&&_0x32105b()?_0x1f9d6b:null;function _0x32105b(){const _0x3fe2e9=_0x1f9d6b[_0x96e981([0x6a,0x74,0x69])],_0x37ae12=window[_0x96e981([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe2e9[_0x96e981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fe2e9[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22c34b={..._0x1f9d6b,[_0x96e981([0x6a,0x74,0x69])]:_0x3fe2e9[_0x96e981([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fe2e9[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22c34b[_0x96e981([0x76,0x63])],_0x1e1ac7(_0x22c34b)==_0x37ae12;}}}async function _0x3591e9(){let _0x26de79=!0x0;try{const _0x336442=_0x546ece[_0x96e981([0x73,0x70,0x6c,0x69,0x74])](_0x96e981([0x2e])),[_0x20a4cb,_0x2dd1ef,_0x2f323c]=_0x336442;return _0x58d8e0(_0x20a4cb),await _0x3d49d6(_0x20a4cb,_0x2dd1ef,_0x2f323c),_0x26de79;}catch{return!0x1;}function _0x58d8e0(_0x1e9369){const _0x164654=_0x4d9ffa(_0x1e9369);_0x164654&&_0x164654[_0x96e981([0x61,0x6c,0x67])]==_0x96e981([0x45,0x53,0x32,0x35,0x36])||(_0x26de79=!0x1);}async function _0x3d49d6(_0x435aec,_0x398bdd,_0x257d9a){const _0x18ec97=window[_0x96e981([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x96e981([0x66,0x72,0x6f,0x6d])](_0xdce377(_0x257d9a),_0x296ef8=>_0x296ef8[_0x96e981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x194ef2=new window[(_0x96e981([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x96e981([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x435aec+_0x96e981([0x2e])+_0x398bdd),_0x48ee8f=window[_0x96e981([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x96e981([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48ee8f)return;const _0x2f21c8=await _0x48ee8f[_0x96e981([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x96e981([0x6a,0x77,0x6b]),_0x49e014,{[_0x96e981([0x6e,0x61,0x6d,0x65])]:_0x96e981([0x45,0x43,0x44,0x53,0x41]),[_0x96e981([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x96e981([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x96e981([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48ee8f[_0x96e981([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x96e981([0x6e,0x61,0x6d,0x65])]:_0x96e981([0x45,0x43,0x44,0x53,0x41]),[_0x96e981([0x68,0x61,0x73,0x68])]:{[_0x96e981([0x6e,0x61,0x6d,0x65])]:_0x96e981([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f21c8,_0x18ec97,_0x194ef2)||(_0x26de79=!0x1);}}function _0x4d9ffa(_0x184b53){return _0x184b53[_0x96e981([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x96e981([0x65,0x79]))?JSON[_0x96e981([0x70,0x61,0x72,0x73,0x65])](_0xdce377(_0x184b53)):null;}function _0xdce377(_0x3ede6e){return window[_0x96e981([0x61,0x74,0x6f,0x62])](_0x3ede6e[_0x96e981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x96e981([0x2b]))[_0x96e981([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x96e981([0x2f])));}function _0x1e1ac7(_0xc0f7fd){let _0x289705=0x1505;function _0x29d7f6(_0x3a5bc6){for(let _0x517f95=0x0;_0x517f95<_0x3a5bc6[_0x96e981([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x517f95++){const _0x167c2e=_0x3a5bc6[_0x96e981([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x517f95);_0x289705=(_0x289705<<0x5)+_0x289705+_0x167c2e,_0x289705&=_0x289705;}}function _0x56da2b(_0x20604b){Array[_0x96e981([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20604b)?_0x20604b[_0x96e981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56da2b):_0x20604b&&typeof _0x20604b==_0x96e981([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x96e981([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20604b)[_0x96e981([0x73,0x6f,0x72,0x74])]()[_0x96e981([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f9e,_0x3294e7])=>{_0x29d7f6(_0x4f9e),_0x56da2b(_0x3294e7);}):_0x29d7f6(window[_0x96e981([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20604b));}return _0x56da2b(_0xc0f7fd),_0x289705>>>0x0;}function _0x5940d2(_0x392b64){return _0x392b64[_0x96e981([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x96e981([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x96e981([0x30]));}function _0x433580(_0x48b806){return _0x48b806[_0x96e981([0x73,0x70,0x6c,0x69,0x74])]('')[_0x96e981([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x96e981([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ff31f(){}function _0x96e981(_0x4d5ad6){const _0x43dcb1=_0x3ebb;return _0x4d5ad6[_0x43dcb1(0x17a)](_0x2adc92=>String[_0x43dcb1(0x170)](_0x2adc92))[_0x43dcb1(0x14f)]('');}_0x3defe0(await _0xa3c88a());}(this);}[_0x27e5d0(0x173)](){const _0x1656ab=_0x27e5d0,_0x29c687=this[_0x1656ab(0x15e)][_0x1656ab(0x16d)][_0x1656ab(0x139)];_0x29c687[_0x1656ab(0x143)](_0x1656ab(0x16c))&&_0x29c687[_0x1656ab(0x133)](_0x1656ab(0x16c),{'allowAttributes':[_0x1656ab(0x138)]}),_0x29c687[_0x1656ab(0x143)](_0x1656ab(0x148))&&_0x29c687[_0x1656ab(0x133)](_0x1656ab(0x148),{'allowAttributes':[_0x1656ab(0x138)]});}[_0x27e5d0(0x16b)](){const _0x3bd307=_0x27e5d0,_0x146b2b=this[_0x3bd307(0x15e)];_0x146b2b[_0x3bd307(0x15d)][_0x3bd307(0x151)](_0x3bd307(0x12f))[_0x3bd307(0x17d)]({'model':_0x3bd307(0x138),'view':_0x3bd307(0x13f)}),_0x146b2b[_0x3bd307(0x15d)][_0x3bd307(0x151)](_0x3bd307(0x149))[_0x3bd307(0x166)]({'model':{'key':_0x3bd307(0x138),'value':_0xe596f0=>_0xe596f0[_0x3bd307(0x15a)](_0x3bd307(0x13f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x485c9d=_0x146b2b[_0x3bd307(0x168)][_0x3bd307(0x131)](_0x3bd307(0x12e));_0x485c9d&&this[_0x3bd307(0x147)](_0x485c9d,_0x3bd307(0x134),(_0x355dc6,[_0x3649a9,_0x2338a3])=>{const _0x2fd2a8=_0x3bd307;_0x3649a9[_0x2fd2a8(0x169)](_0x2fd2a8(0x138),_0x2338a3);});}[_0x27e5d0(0x15c)](){const _0x8ba41e=_0x27e5d0,_0x399ace=this[_0x8ba41e(0x15e)][_0x8ba41e(0x12c)][_0x8ba41e(0x131)](_0x8ba41e(0x13a))||{},_0x58e21c=this[_0x8ba41e(0x15e)][_0x8ba41e(0x12c)][_0x8ba41e(0x131)](_0x8ba41e(0x159))||'';this[_0x8ba41e(0x16f)]=_0x28da82(_0x52d970[_0x8ba41e(0x12d)],_0x8ba41e(0x154),{..._0x399ace,'pubkey':_0x58e21c,'ctx-name':_0x8ba41e(0x14a)+this[_0x8ba41e(0x13d)],'sourceList':'','imgOnly':_0x8ba41e(0x140),'removeCopyright':_0x8ba41e(0x140),'localeName':this[_0x8ba41e(0x15e)][_0x8ba41e(0x175)][_0x8ba41e(0x137)],'externalSourcesEmbedCss':_0x8ba41e(0x13e)}),this[_0x8ba41e(0x16f)][_0x8ba41e(0x14b)]=_0x1a48db=>{const _0x5de6f3=_0x8ba41e;if(_0x5de6f3(0x176)==_0x1a48db)return _0x5de6f3(0x164);},_0x52d970[_0x8ba41e(0x12d)][_0x8ba41e(0x171)][_0x8ba41e(0x141)](this[_0x8ba41e(0x16f)]);}[_0x27e5d0(0x144)](){const _0x459ee9=_0x27e5d0;this[_0x459ee9(0x17c)]=_0x28da82(_0x52d970[_0x459ee9(0x12d)],_0x459ee9(0x12b),{'ctx-name':_0x459ee9(0x14a)+this[_0x459ee9(0x13d)]}),_0x52d970[_0x459ee9(0x12d)][_0x459ee9(0x171)][_0x459ee9(0x141)](this[_0x459ee9(0x17c)]);}[_0x27e5d0(0x157)](){const _0x23bad2=_0x27e5d0,_0x51b845=this[_0x23bad2(0x15e)][_0x23bad2(0x168)][_0x23bad2(0x131)](_0x23bad2(0x135));_0x51b845&&this[_0x23bad2(0x147)](_0x51b845,_0x23bad2(0x136),()=>{const _0x197e87=_0x23bad2,_0x554472=this[_0x197e87(0x15e)][_0x197e87(0x16d)][_0x197e87(0x12d)][_0x197e87(0x174)][_0x197e87(0x132)]();_0x554472&&_0x554472[_0x197e87(0x15a)](_0x197e87(0x138))&&this[_0x197e87(0x15e)][_0x197e87(0x179)][_0x197e87(0x130)][_0x197e87(0x13b)](_0x197e87(0x145),()=>{const _0xe50e25=_0x197e87;_0x34ae35(this[_0xe50e25(0x15e)],_0x554472);});});const _0x2c91dc=this[_0x23bad2(0x15e)][_0x23bad2(0x168)][_0x23bad2(0x131)](_0x23bad2(0x155));_0x2c91dc&&this[_0x23bad2(0x147)](_0x2c91dc,_0x23bad2(0x136),()=>{const _0x282248=_0x23bad2,_0xb1d9b0=this[_0x282248(0x15e)][_0x282248(0x16d)][_0x282248(0x12d)][_0x282248(0x174)][_0x282248(0x132)]();_0xb1d9b0&&_0xb1d9b0[_0x282248(0x15a)](_0x282248(0x138))&&this[_0x282248(0x15e)][_0x282248(0x179)][_0x282248(0x130)][_0x282248(0x13b)](_0x282248(0x145),()=>{const _0x4a5b19=_0x282248;_0x34ae35(this[_0x4a5b19(0x15e)],_0xb1d9b0);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5ba72c,ObservableMixin as _0x41fba2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50e72c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x10c3d6}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b28cb}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x54d6e0}from'../../utils/uploadutils.js';import{getImageUrls as _0x536003,getImageDimension as _0x227705}from'../../utils/editingutils.js';import{isAncestor as _0x5ee0cc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x41fba2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1d9262,_0x46dc23,_0x29f300){super(),this['_editor']=_0x1d9262,this['_dialog']=_0x46dc23,this['_imageElement']=_0x29f300,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 _0x29799f=this['_imageElement'],_0xe2a80d=_0x29799f['getAttribute']('uploadcareImageId'),_0x1d3ba1=_0x29799f['getAttribute']('src');if(_0xe2a80d)await this['_loadImageInfo'](_0xe2a80d,_0x1d3ba1);else{if(this['_imageCache']['has'](_0x1d3ba1)){const _0x4038d5=this['_imageCache']['get'](_0x1d3ba1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4038d5['url'],this['imageDimension']=_0x4038d5['dimension'],this['imageId']=_0x4038d5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x140e0e}=this['_editor'],t=_0x140e0e['t'],_0x5f25fe=new _0x4b28cb(_0x140e0e,this['imageStatus'],this['_attributes']);_0x5f25fe['bind']('status')['to'](this,'imageStatus'),_0x5f25fe['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f25fe['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f25fe['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f25fe,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10c3d6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f25fe,'position':_0x50e72c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f25fe['focus']();},'onHide':()=>{_0x5f25fe['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x231964=>!_0x5ee0cc(_0x231964,_0x5f25fe['element'])}});}['_loadImageInfo'](_0x4b833d,_0x1cc84a){return _0x54d6e0['getInfo'](_0x4b833d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xa84145=>{const {width:_0x1a199d,height:_0x64fdf1}=_0xa84145['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc84a,this['imageDimension']={'width':_0x1a199d,'height':_0x64fdf1},this['imageId']=_0x4b833d;})['catch'](_0x133eaf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x133eaf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fe68f,_0x5380fa){return this['_getImageAsFile'](_0x1fe68f)['then'](_0x7915d6=>_0x54d6e0['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':_0x5380fa['signal'],'file':_0x7915d6,'onProgress':_0x44fbf0=>{_0x44fbf0&&_0x44fbf0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44fbf0['value']));}}))['then'](_0xcd7cff=>{const {width:_0x4a42dc,height:_0x5487c9}=_0xcd7cff['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcd7cff['cdnUrl'],this['imageDimension']={'width':_0x4a42dc,'height':_0x5487c9},this['imageId']=_0xcd7cff['uuid'],this['imageUploadProgress']=null;const _0x39a57e=_0x1fe68f['getAttribute']('src');this['_imageCache']['set'](_0x39a57e,{'id':_0xcd7cff['uuid'],'url':_0xcd7cff['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d2df4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d2df4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xc12ffd,_0x236ed0){_0xc12ffd['on']('apply',(_0x402685,_0x27a186)=>{this['_replaceImage'](_0x236ed0,_0x27a186['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xc12ffd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xc12ffd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b62c5,_0x5d9671,_0x2f2968){const _0x4815ba=this['_editor'],{width:_0x453560,height:_0x4bd6d7}=_0x227705(_0x5d9671,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1abb78,imageSources:_0x411fa7}=_0x536003(_0x5d9671,_0x453560);_0x4815ba['model']['change'](_0x50c6e3=>{if('$graveyard'===_0x2b62c5['root']['rootName']){_0x4815ba['execute']('insertImage',{'imageType':_0x2b62c5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b62c5['getAttributes']()),'uploadcareImageId':_0x2f2968,'src':_0x1abb78,'sources':_0x411fa7,'width':_0x453560,'height':_0x4bd6d7}});const _0x1ad8a1=_0x2b62c5['getChildren']();_0x2b62c5=_0x4815ba['model']['document']['selection']['getSelectedElement']();for(const _0xa814e5 of _0x1ad8a1)_0x50c6e3['append'](_0x50c6e3['cloneElement'](_0xa814e5),_0x2b62c5);}else _0x50c6e3['setSelection'](_0x2b62c5,'on'),_0x4815ba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b62c5['getAttributes']()),'uploadcareImageId':_0x2f2968,'src':_0x1abb78,'sources':_0x411fa7,'width':_0x453560,'height':_0x4bd6d7},_0x2b62c5);_0x50c6e3['setSelection'](_0x2b62c5,'on');});}async['_getImageAsFile'](_0x1dbc5c){const _0x36e58a=_0x5ba72c['window'],_0x12c44f=_0x5ba72c['document']['location']['href'],_0x1df053=new _0x36e58a['URL'](_0x1dbc5c['getAttribute']('src'),_0x12c44f);if('data:'===_0x1df053['protocol']){const _0x47057c=_0x1df053['href']['split'](','),_0xa9c03=_0x47057c[0x0]['match'](/:(.*?);/)[0x1],_0x4ad4e4=_0xa9c03['split']('/')[0x1],_0x21c06c=_0x36e58a['atob'](_0x47057c[_0x47057c['length']-0x1]);let _0x24f5e5=_0x21c06c['length'];const _0x265d04=new _0x36e58a['Uint8Array'](_0x24f5e5);for(;_0x24f5e5--;)_0x265d04[_0x24f5e5]=_0x21c06c['charCodeAt'](_0x24f5e5);return new _0x36e58a['File']([_0x265d04],'image.'+_0x4ad4e4,{'type':_0xa9c03});}const _0x248339=_0x1df053['href']['split']('/'),_0x3b67e2=_0x248339[_0x248339['length']-0x1],_0x352b3d=_0x3b67e2['split']('.')[0x1];return _0x36e58a['fetch'](_0x1df053['href'])['then'](_0x492c74=>_0x492c74['clone']()['blob']())['then'](_0x3708b7=>new _0x36e58a['File']([_0x3708b7],_0x3b67e2,{'type':'image/'+_0x352b3d}));}}
23
+ import{global as _0x18e6ef,ObservableMixin as _0x5414fb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1fb9cb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1a3198}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5c7c70}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xb6bdac}from'../../utils/uploadutils.js';import{getImageUrls as _0x185a0d,getImageDimension as _0x5e1bdb}from'../../utils/editingutils.js';import{isAncestor as _0x4466d9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5414fb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4667b4,_0x443960,_0x350793){super(),this['_editor']=_0x4667b4,this['_dialog']=_0x443960,this['_imageElement']=_0x350793,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 _0x159dc2=this['_imageElement'],_0x1583ac=_0x159dc2['getAttribute']('uploadcareImageId'),_0x174f0f=_0x159dc2['getAttribute']('src');if(_0x1583ac)await this['_loadImageInfo'](_0x1583ac,_0x174f0f);else{if(this['_imageCache']['has'](_0x174f0f)){const _0x29d425=this['_imageCache']['get'](_0x174f0f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29d425['url'],this['imageDimension']=_0x29d425['dimension'],this['imageId']=_0x29d425['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4b83b8}=this['_editor'],t=_0x4b83b8['t'],_0x4069e2=new _0x5c7c70(_0x4b83b8,this['imageStatus'],this['_attributes']);_0x4069e2['bind']('status')['to'](this,'imageStatus'),_0x4069e2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4069e2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4069e2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4069e2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1a3198,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4069e2,'position':_0x1fb9cb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4069e2['focus']();},'onHide':()=>{_0x4069e2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x198af0=>!_0x4466d9(_0x198af0,_0x4069e2['element'])}});}['_loadImageInfo'](_0x2b8fa8,_0x32095d){return _0xb6bdac['getInfo'](_0x2b8fa8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x40725c=>{const {width:_0x440975,height:_0x4bd7ee}=_0x40725c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32095d,this['imageDimension']={'width':_0x440975,'height':_0x4bd7ee},this['imageId']=_0x2b8fa8;})['catch'](_0x1ff11d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ff11d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4c1c1a,_0x512c73){return this['_getImageAsFile'](_0x4c1c1a)['then'](_0x51f20c=>_0xb6bdac['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':_0x512c73['signal'],'file':_0x51f20c,'onProgress':_0x5d5d19=>{_0x5d5d19&&_0x5d5d19['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d5d19['value']));}}))['then'](_0x26566=>{const {width:_0x419f5d,height:_0x3fcc35}=_0x26566['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26566['cdnUrl'],this['imageDimension']={'width':_0x419f5d,'height':_0x3fcc35},this['imageId']=_0x26566['uuid'],this['imageUploadProgress']=null;const _0x537ed2=_0x4c1c1a['getAttribute']('src');this['_imageCache']['set'](_0x537ed2,{'id':_0x26566['uuid'],'url':_0x26566['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x36a508=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36a508['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x11dd1d,_0x2428ee){_0x11dd1d['on']('apply',(_0x1bed12,_0x59f1f6)=>{this['_replaceImage'](_0x2428ee,_0x59f1f6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x11dd1d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x11dd1d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2545b2,_0x2e4b62,_0x4cb58c){const _0x2f0966=this['_editor'],{width:_0x3bec76,height:_0x3f30a3}=_0x5e1bdb(_0x2e4b62,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4cb361,imageSources:_0x283453}=_0x185a0d(_0x2e4b62,_0x3bec76);_0x2f0966['model']['change'](_0x5c2117=>{if('$graveyard'===_0x2545b2['root']['rootName']){_0x2f0966['execute']('insertImage',{'imageType':_0x2545b2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2545b2['getAttributes']()),'uploadcareImageId':_0x4cb58c,'src':_0x4cb361,'sources':_0x283453,'width':_0x3bec76,'height':_0x3f30a3}});const _0x4acbd6=_0x2545b2['getChildren']();_0x2545b2=_0x2f0966['model']['document']['selection']['getSelectedElement']();for(const _0x49ecd0 of _0x4acbd6)_0x5c2117['append'](_0x5c2117['cloneElement'](_0x49ecd0),_0x2545b2);}else _0x5c2117['setSelection'](_0x2545b2,'on'),_0x2f0966['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2545b2['getAttributes']()),'uploadcareImageId':_0x4cb58c,'src':_0x4cb361,'sources':_0x283453,'width':_0x3bec76,'height':_0x3f30a3},_0x2545b2);_0x5c2117['setSelection'](_0x2545b2,'on');});}async['_getImageAsFile'](_0x3cb095){const _0x4a002a=_0x18e6ef['window'],_0x56e8d4=_0x18e6ef['document']['location']['href'],_0x47fe9f=new _0x4a002a['URL'](_0x3cb095['getAttribute']('src'),_0x56e8d4);if('data:'===_0x47fe9f['protocol']){const _0x5eba93=_0x47fe9f['href']['split'](','),_0x3be731=_0x5eba93[0x0]['match'](/:(.*?);/)[0x1],_0x12a34e=_0x3be731['split']('/')[0x1],_0x2b5a00=_0x4a002a['atob'](_0x5eba93[_0x5eba93['length']-0x1]);let _0x456991=_0x2b5a00['length'];const _0x3eeb03=new _0x4a002a['Uint8Array'](_0x456991);for(;_0x456991--;)_0x3eeb03[_0x456991]=_0x2b5a00['charCodeAt'](_0x456991);return new _0x4a002a['File']([_0x3eeb03],'image.'+_0x12a34e,{'type':_0x3be731});}const _0x4e9b1a=_0x47fe9f['href']['split']('/'),_0x2406d6=_0x4e9b1a[_0x4e9b1a['length']-0x1],_0xba22d4=_0x2406d6['split']('.')[0x1];return _0x4a002a['fetch'](_0x47fe9f['href'])['then'](_0x459665=>_0x459665['clone']()['blob']())['then'](_0x3dcd0a=>new _0x4a002a['File']([_0x3dcd0a],_0x2406d6,{'type':'image/'+_0xba22d4}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37df(_0x5564be,_0x13e217){const _0x12f927=_0x12f9();return _0x37df=function(_0x37dfde,_0xcb059f){_0x37dfde=_0x37dfde-0x65;let _0x57bc99=_0x12f927[_0x37dfde];return _0x57bc99;},_0x37df(_0x5564be,_0x13e217);}function _0x12f9(){const _0x1f9759=['set','8UaZGlP','uc-cloud-image-editor','65wZpIsb','1416216CnnSza','image-edit','6158940gtATQj','uc-light','48udBIJO','ck-uploadcare-theme','1682933fySbKk','44yhlqRi','677457fAkiXc','54046HJaHaT','imageSrc','bindTemplate','797736vFJxDL','23SQBipi','27282FwRJFq','setTemplate'];_0x12f9=function(){return _0x1f9759;};return _0x12f9();}(function(_0x3d707d,_0x2b25af){const _0x48c3e0=_0x37df,_0x4bb9ac=_0x3d707d();while(!![]){try{const _0x330a75=parseInt(_0x48c3e0(0x6b))/0x1*(-parseInt(_0x48c3e0(0x67))/0x2)+-parseInt(_0x48c3e0(0x6a))/0x3*(-parseInt(_0x48c3e0(0x6f))/0x4)+parseInt(_0x48c3e0(0x71))/0x5*(parseInt(_0x48c3e0(0x6c))/0x6)+-parseInt(_0x48c3e0(0x78))/0x7+parseInt(_0x48c3e0(0x76))/0x8*(-parseInt(_0x48c3e0(0x66))/0x9)+parseInt(_0x48c3e0(0x74))/0xa+-parseInt(_0x48c3e0(0x65))/0xb*(-parseInt(_0x48c3e0(0x72))/0xc);if(_0x330a75===_0x2b25af)break;else _0x4bb9ac['push'](_0x4bb9ac['shift']());}catch(_0x19351f){_0x4bb9ac['push'](_0x4bb9ac['shift']());}}}(_0x12f9,0x59303));import{View as _0x1ece77}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1ece77{constructor(_0x2ba3f8,_0x1ce495){const _0x3024bb=_0x37df;super(_0x2ba3f8);const _0x24855c=this[_0x3024bb(0x69)];this[_0x3024bb(0x6e)](_0x3024bb(0x68),''),this[_0x3024bb(0x6d)]({'tag':_0x3024bb(0x70),'attributes':{..._0x1ce495,'class':[_0x3024bb(0x75),_0x3024bb(0x77)],'ctx-name':_0x3024bb(0x73),'cdn-url':_0x24855c['to'](_0x3024bb(0x68))}});}}
23
+ function _0x4b3d(_0x2ebb57,_0x1bbf2e){const _0x2530bf=_0x2530();return _0x4b3d=function(_0x4b3d2e,_0x382f2c){_0x4b3d2e=_0x4b3d2e-0x127;let _0x4a23a5=_0x2530bf[_0x4b3d2e];return _0x4a23a5;},_0x4b3d(_0x2ebb57,_0x1bbf2e);}(function(_0x32ba7d,_0x337704){const _0x400136=_0x4b3d,_0x25582c=_0x32ba7d();while(!![]){try{const _0x497a32=parseInt(_0x400136(0x130))/0x1+-parseInt(_0x400136(0x129))/0x2*(-parseInt(_0x400136(0x12e))/0x3)+parseInt(_0x400136(0x12b))/0x4+parseInt(_0x400136(0x137))/0x5*(-parseInt(_0x400136(0x136))/0x6)+parseInt(_0x400136(0x127))/0x7+-parseInt(_0x400136(0x12f))/0x8*(parseInt(_0x400136(0x128))/0x9)+-parseInt(_0x400136(0x132))/0xa;if(_0x497a32===_0x337704)break;else _0x25582c['push'](_0x25582c['shift']());}catch(_0x1d1570){_0x25582c['push'](_0x25582c['shift']());}}}(_0x2530,0x4a117));import{View as _0x5ab0e5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5ab0e5{constructor(_0x52fdb3,_0xaacb56){const _0x41cc8d=_0x4b3d;super(_0x52fdb3);const _0x417473=this[_0x41cc8d(0x135)];this[_0x41cc8d(0x12c)](_0x41cc8d(0x12a),''),this[_0x41cc8d(0x12d)]({'tag':_0x41cc8d(0x134),'attributes':{..._0xaacb56,'class':[_0x41cc8d(0x131),_0x41cc8d(0x133)],'ctx-name':_0x41cc8d(0x138),'cdn-url':_0x417473['to'](_0x41cc8d(0x12a))}});}}function _0x2530(){const _0xfcd6ea=['uc-cloud-image-editor','bindTemplate','1013562ASJABT','5MqJHTF','image-edit','2938810DZcEKV','2232MvhTem','2rxBkdE','imageSrc','2250532eMGRVa','set','setTemplate','1689591eiXpLe','14408YBdHWt','234448iLYghX','uc-light','8611500xJGQiZ','ck-uploadcare-theme'];_0x2530=function(){return _0xfcd6ea;};return _0x2530();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x57afb2}from'ckeditor5/src/icons.js';import{ButtonView as _0x20edbf,IconView as _0x453698,View as _0x51f20d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x51f20d{constructor(_0x1e2f67){super(_0x1e2f67);const t=_0x1e2f67['t'];this['set']('errorType',null);const _0x25c35d=new _0x20edbf(_0x1e2f67);_0x25c35d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x25c35d['withText']=!0x0,_0x25c35d['class']='ck-button-action',_0x25c35d['on']('execute',()=>{this['fire']('retry');}),_0x25c35d['bind']('isVisible')['to'](this,'errorType',_0x2453da=>'NotFound'!==_0x2453da);const _0x8c20fb=new _0x453698();_0x8c20fb['content']=_0x57afb2,_0x8c20fb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11c7a6=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':[_0x8c20fb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11c7a6['to']('errorType',_0x5d535e=>t('NotFound'!==_0x5d535e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x25c35d]},{'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 _0x4a6945}from'ckeditor5/src/icons.js';import{ButtonView as _0x586b7f,IconView as _0x116e91,View as _0x4ee7b8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4ee7b8{constructor(_0x3f92ca){super(_0x3f92ca);const t=_0x3f92ca['t'];this['set']('errorType',null);const _0x2380ef=new _0x586b7f(_0x3f92ca);_0x2380ef['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2380ef['withText']=!0x0,_0x2380ef['class']='ck-button-action',_0x2380ef['on']('execute',()=>{this['fire']('retry');}),_0x2380ef['bind']('isVisible')['to'](this,'errorType',_0x16de17=>'NotFound'!==_0x16de17);const _0x3d39dd=new _0x116e91();_0x3d39dd['content']=_0x4a6945,_0x3d39dd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3c80d7=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':[_0x3d39dd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3c80d7['to']('errorType',_0x2ebcf7=>t('NotFound'!==_0x2ebcf7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2380ef]},{'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 _0x40eaf9,View as _0x115346}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x115346{constructor(_0x303ff9){super(_0x303ff9);const t=_0x303ff9['t'],_0x896494=this['bindTemplate'],_0x756463=new _0x40eaf9();_0x756463['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':[_0x756463,{'text':_0x896494['to']('imageUploadProgress',_0x2aad1c=>t('Loading\x20image...')+'\x20('+(_0x2aad1c||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 _0x24799c,View as _0x29e58e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x29e58e{constructor(_0x41e19a){super(_0x41e19a);const t=_0x41e19a['t'],_0x4b8e51=this['bindTemplate'],_0x496d92=new _0x24799c();_0x496d92['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':[_0x496d92,{'text':_0x4b8e51['to']('imageUploadProgress',_0x5c25d8=>t('Loading\x20image...')+'\x20('+(_0x5c25d8||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 _0x3dfa2c=_0x423d;function _0x3f3e(){const _0x4533fd=['setTemplate','div','ready','206432HxrvMJ','_addErrorViewListeners','_waitForImageEditorComponent','focus','add','nodeName','ck-reset_all-excluded','change:status','filter','status','createCollection','_addUploadcareImageEditorListeners','toLowerCase','_errorView','357sBvVpP','_items','2876430kIAvtj','_setView','querySelector','_editingView','cdnUrl','153580eORuwN','apply','element','9kwUDJp','clear','uc-cloud-image-editor','disconnect','uploading','14276911sKzIJG','305100kNeJSe','target','_focusableView','getFocusableElement','2980vzHryw','retry','ck-uploadcare-form','error','cancel','fire','render','14JVfEaa','addedNodes','observe','detail','once','_loadingView','addEventListener','4gxEfWC','345688IsnMDu','addMany','set','length'];_0x3f3e=function(){return _0x4533fd;};return _0x3f3e();}(function(_0x404feb,_0x30230e){const _0x58bf1d=_0x423d,_0x342a4c=_0x404feb();while(!![]){try{const _0x2ac305=parseInt(_0x58bf1d(0x1c6))/0x1*(-parseInt(_0x58bf1d(0x1f6))/0x2)+parseInt(_0x58bf1d(0x1d4))/0x3*(parseInt(_0x58bf1d(0x1e8))/0x4)+-parseInt(_0x58bf1d(0x1d6))/0x5+parseInt(_0x58bf1d(0x1e4))/0x6+parseInt(_0x58bf1d(0x1ef))/0x7*(-parseInt(_0x58bf1d(0x1f7))/0x8)+parseInt(_0x58bf1d(0x1de))/0x9*(-parseInt(_0x58bf1d(0x1db))/0xa)+parseInt(_0x58bf1d(0x1e3))/0xb;if(_0x2ac305===_0x30230e)break;else _0x342a4c['push'](_0x342a4c['shift']());}catch(_0x1ec4d1){_0x342a4c['push'](_0x342a4c['shift']());}}}(_0x3f3e,0x54d54));import{View as _0x57c560}from'ckeditor5/src/ui.js';function _0x423d(_0x4cd116,_0x52c7e7){const _0x3f3e54=_0x3f3e();return _0x423d=function(_0x423d79,_0x295c28){_0x423d79=_0x423d79-0x1c5;let _0x1ea2e2=_0x3f3e54[_0x423d79];return _0x1ea2e2;},_0x423d(_0x4cd116,_0x52c7e7);}import{UploadcareImageEditFormLoadingView as _0x123e3b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x509e66}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4377ff}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x58591f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x58591f{[_0x3dfa2c(0x1d5)];[_0x3dfa2c(0x1f4)];[_0x3dfa2c(0x1d3)];[_0x3dfa2c(0x1d9)];[_0x3dfa2c(0x1e6)];constructor(_0x127ef3,_0x4d0ff0,_0x11896e){const _0x27a53b=_0x3dfa2c;super(_0x127ef3),this[_0x27a53b(0x1d5)]=this[_0x27a53b(0x1d0)](),this[_0x27a53b(0x1f4)]=new _0x123e3b(_0x127ef3),this[_0x27a53b(0x1d3)]=new _0x509e66(_0x127ef3),this[_0x27a53b(0x1d9)]=new _0x4377ff(_0x127ef3,_0x11896e),this[_0x27a53b(0x1e6)]=new _0x57c560(_0x127ef3),this[_0x27a53b(0x1e6)][_0x27a53b(0x1fb)](this[_0x27a53b(0x1e7)]()),this[_0x27a53b(0x1f9)](_0x27a53b(0x1cf),_0x4d0ff0),this[_0x27a53b(0x1fb)]({'tag':_0x27a53b(0x1fc),'attributes':{'class':['ck',_0x27a53b(0x1cc),_0x27a53b(0x1ea)],'tabindex':'-1'},'children':this[_0x27a53b(0x1d5)]}),this[_0x27a53b(0x1d7)](),this[_0x27a53b(0x1f3)](_0x27a53b(0x1ee),()=>{const _0x11bd4a=_0x27a53b;this[_0x11bd4a(0x1c8)](this[_0x11bd4a(0x1dd)],_0x28ea70=>{const _0x112806=_0x11bd4a;this[_0x112806(0x1d1)](_0x28ea70);});}),this['on'](_0x27a53b(0x1cd),()=>{const _0x9ad9a4=_0x27a53b;this[_0x9ad9a4(0x1d7)]();}),this[_0x27a53b(0x1c7)]();}[_0x3dfa2c(0x1c9)](){const _0x10131a=_0x3dfa2c;this[_0x10131a(0x1dd)][_0x10131a(0x1c9)]();}[_0x3dfa2c(0x1d7)](){const _0x563633=_0x3dfa2c;switch(this[_0x563633(0x1d5)][_0x563633(0x1df)](),this[_0x563633(0x1cf)]){case _0x563633(0x1e2):this[_0x563633(0x1d5)][_0x563633(0x1ca)](this[_0x563633(0x1f4)]);break;case _0x563633(0x1eb):this[_0x563633(0x1d5)][_0x563633(0x1ca)](this[_0x563633(0x1d3)]);break;case _0x563633(0x1c5):this[_0x563633(0x1d5)][_0x563633(0x1f8)]([this[_0x563633(0x1d9)],this[_0x563633(0x1e6)]]);}}[_0x3dfa2c(0x1c8)](_0x523fb1,_0x2727da){const _0x39e08e=_0x3dfa2c,_0x5112ff=_0x39e08e(0x1e0),_0xb3ff4f=_0x523fb1[_0x39e08e(0x1d8)](_0x5112ff);if(_0xb3ff4f)return _0x2727da(_0xb3ff4f);const _0x32f29c=new MutationObserver(_0x4c378d=>{const _0x5457c9=_0x39e08e,_0x4c9bba=_0x4c378d[_0x5457c9(0x1ce)](_0x4d8802=>_0x4d8802[_0x5457c9(0x1e5)]===_0x523fb1&&_0x4d8802[_0x5457c9(0x1f0)][_0x5457c9(0x1fa)]>0x0&&_0x4d8802[_0x5457c9(0x1f0)][0x0][_0x5457c9(0x1cb)][_0x5457c9(0x1d2)]()===_0x5112ff);_0x4c9bba[_0x5457c9(0x1fa)]&&(_0x32f29c[_0x5457c9(0x1e1)](),_0x2727da(_0x4c9bba[0x0][_0x5457c9(0x1f0)][0x0]));});_0x32f29c[_0x39e08e(0x1f1)](_0x523fb1,{'childList':!0x0,'subtree':!0x0});}[_0x3dfa2c(0x1d1)](_0x2451b6){const _0x21cbc0=_0x3dfa2c;_0x2451b6[_0x21cbc0(0x1f5)](_0x21cbc0(0x1dc),_0x437d14=>{const _0x459bae=_0x21cbc0;this[_0x459bae(0x1ed)](_0x459bae(0x1dc),{'imageSrc':_0x437d14[_0x459bae(0x1f2)][_0x459bae(0x1da)]});}),_0x2451b6[_0x21cbc0(0x1f5)](_0x21cbc0(0x1ec),()=>{const _0x9b6b80=_0x21cbc0;this[_0x9b6b80(0x1ed)](_0x9b6b80(0x1ec));});}[_0x3dfa2c(0x1c7)](){const _0x334a21=_0x3dfa2c;this[_0x334a21(0x1d3)]['on'](_0x334a21(0x1e9),()=>{const _0x419ba2=_0x334a21;this[_0x419ba2(0x1ed)](_0x419ba2(0x1e9));});}}
23
+ const _0x2b6973=_0x9c45;(function(_0x5d1fb1,_0xe13e70){const _0x9d4d32=_0x9c45,_0x1dba51=_0x5d1fb1();while(!![]){try{const _0x41022b=parseInt(_0x9d4d32(0x1bc))/0x1+-parseInt(_0x9d4d32(0x1c6))/0x2*(parseInt(_0x9d4d32(0x1c0))/0x3)+parseInt(_0x9d4d32(0x1a7))/0x4+parseInt(_0x9d4d32(0x1ce))/0x5*(parseInt(_0x9d4d32(0x1dc))/0x6)+parseInt(_0x9d4d32(0x1d8))/0x7+-parseInt(_0x9d4d32(0x1c2))/0x8*(-parseInt(_0x9d4d32(0x1ab))/0x9)+-parseInt(_0x9d4d32(0x1d1))/0xa*(parseInt(_0x9d4d32(0x1ac))/0xb);if(_0x41022b===_0xe13e70)break;else _0x1dba51['push'](_0x1dba51['shift']());}catch(_0xfd8501){_0x1dba51['push'](_0x1dba51['shift']());}}}(_0xae69,0xec8ad));import{View as _0x406810}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x39c86f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x201100}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x493958}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3c47b3}from'../../utils/dialogfocusmanagerview.js';function _0x9c45(_0x584486,_0x32a6c9){const _0xae6975=_0xae69();return _0x9c45=function(_0x9c45e9,_0x53ec59){_0x9c45e9=_0x9c45e9-0x1a5;let _0x1e153f=_0xae6975[_0x9c45e9];return _0x1e153f;},_0x9c45(_0x584486,_0x32a6c9);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3c47b3{[_0x2b6973(0x1d7)];[_0x2b6973(0x1d0)];[_0x2b6973(0x1be)];[_0x2b6973(0x1c9)];[_0x2b6973(0x1cc)];constructor(_0x4fbd76,_0xa74e85,_0x1a7c18){const _0x3ad830=_0x2b6973;super(_0x4fbd76),this[_0x3ad830(0x1d7)]=this[_0x3ad830(0x1b5)](),this[_0x3ad830(0x1d0)]=new _0x39c86f(_0x4fbd76),this[_0x3ad830(0x1be)]=new _0x201100(_0x4fbd76),this[_0x3ad830(0x1c9)]=new _0x493958(_0x4fbd76,_0x1a7c18),this[_0x3ad830(0x1cc)]=new _0x406810(_0x4fbd76),this[_0x3ad830(0x1cc)][_0x3ad830(0x1b3)](this[_0x3ad830(0x1bd)]()),this[_0x3ad830(0x1ba)](_0x3ad830(0x1ae),_0xa74e85),this[_0x3ad830(0x1b3)]({'tag':_0x3ad830(0x1b7),'attributes':{'class':['ck',_0x3ad830(0x1d5),_0x3ad830(0x1d6)],'tabindex':'-1'},'children':this[_0x3ad830(0x1d7)]}),this[_0x3ad830(0x1af)](),this[_0x3ad830(0x1ad)](_0x3ad830(0x1b4),()=>{const _0x26dc01=_0x3ad830;this[_0x26dc01(0x1c3)](this[_0x26dc01(0x1c7)],_0x401cf3=>{const _0x5e25b7=_0x26dc01;this[_0x5e25b7(0x1a9)](_0x401cf3);});}),this['on'](_0x3ad830(0x1ca),()=>{const _0x5f15dd=_0x3ad830;this[_0x5f15dd(0x1af)]();}),this[_0x3ad830(0x1b2)]();}[_0x2b6973(0x1d2)](){const _0x2c476a=_0x2b6973;this[_0x2c476a(0x1c7)][_0x2c476a(0x1d2)]();}[_0x2b6973(0x1af)](){const _0x2bd35e=_0x2b6973;switch(this[_0x2bd35e(0x1d7)][_0x2bd35e(0x1bf)](),this[_0x2bd35e(0x1ae)]){case _0x2bd35e(0x1c4):this[_0x2bd35e(0x1d7)][_0x2bd35e(0x1d4)](this[_0x2bd35e(0x1d0)]);break;case _0x2bd35e(0x1b0):this[_0x2bd35e(0x1d7)][_0x2bd35e(0x1d4)](this[_0x2bd35e(0x1be)]);break;case _0x2bd35e(0x1d9):this[_0x2bd35e(0x1d7)][_0x2bd35e(0x1bb)]([this[_0x2bd35e(0x1c9)],this[_0x2bd35e(0x1cc)]]);}}[_0x2b6973(0x1c3)](_0x126bf4,_0x48b49a){const _0x1141d0=_0x2b6973,_0x4093ab=_0x1141d0(0x1a8),_0x4411e5=_0x126bf4[_0x1141d0(0x1b1)](_0x4093ab);if(_0x4411e5)return _0x48b49a(_0x4411e5);const _0x4761e7=new MutationObserver(_0x4f9313=>{const _0x2bfafd=_0x1141d0,_0xc15796=_0x4f9313[_0x2bfafd(0x1da)](_0x1ce980=>_0x1ce980[_0x2bfafd(0x1a5)]===_0x126bf4&&_0x1ce980[_0x2bfafd(0x1c8)][_0x2bfafd(0x1cf)]>0x0&&_0x1ce980[_0x2bfafd(0x1c8)][0x0][_0x2bfafd(0x1db)][_0x2bfafd(0x1b8)]()===_0x4093ab);_0xc15796[_0x2bfafd(0x1cf)]&&(_0x4761e7[_0x2bfafd(0x1b6)](),_0x48b49a(_0xc15796[0x0][_0x2bfafd(0x1c8)][0x0]));});_0x4761e7[_0x1141d0(0x1cb)](_0x126bf4,{'childList':!0x0,'subtree':!0x0});}[_0x2b6973(0x1a9)](_0x337de5){const _0x334613=_0x2b6973;_0x337de5[_0x334613(0x1aa)](_0x334613(0x1a6),_0x1bdbaf=>{const _0x125a99=_0x334613;this[_0x125a99(0x1c5)](_0x125a99(0x1a6),{'imageSrc':_0x1bdbaf[_0x125a99(0x1c1)][_0x125a99(0x1d3)]});}),_0x337de5[_0x334613(0x1aa)](_0x334613(0x1cd),()=>{const _0xcda59c=_0x334613;this[_0xcda59c(0x1c5)](_0xcda59c(0x1cd));});}[_0x2b6973(0x1b2)](){const _0x5ec5bd=_0x2b6973;this[_0x5ec5bd(0x1be)]['on'](_0x5ec5bd(0x1b9),()=>{const _0x3b7559=_0x5ec5bd;this[_0x3b7559(0x1c5)](_0x3b7559(0x1b9));});}}function _0xae69(){const _0x1eaf8b=['cdnUrl','add','ck-reset_all-excluded','ck-uploadcare-form','_items','5339978rjkUoD','ready','filter','nodeName','6kTALKG','target','apply','3481824UAPVTd','uc-cloud-image-editor','_addUploadcareImageEditorListeners','addEventListener','2364597rhOobp','10051129YDbnOS','once','status','_setView','error','querySelector','_addErrorViewListeners','setTemplate','render','createCollection','disconnect','div','toLowerCase','retry','set','addMany','809742GuyIVz','getFocusableElement','_errorView','clear','6CUsJcI','detail','56jkMUKE','_waitForImageEditorComponent','uploading','fire','641898ixxrlV','element','addedNodes','_editingView','change:status','observe','_focusableView','cancel','4917740WzXofY','length','_loadingView','40Mhuzfc','focus'];_0xae69=function(){return _0x1eaf8b;};return _0xae69();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c9e(_0x2f678c,_0x11f882){const _0x58e897=_0x58e8();return _0x4c9e=function(_0x4c9ee6,_0x45110e){_0x4c9ee6=_0x4c9ee6-0x1b4;let _0x1f9d2d=_0x58e897[_0x4c9ee6];return _0x1f9d2d;},_0x4c9e(_0x2f678c,_0x11f882);}function _0x58e8(){const _0x51d6fb=['refresh','requires','imageEditController','unbind','608838cfLnhy','3689616TiFjvu','1398364OJlsdd','model','selection','element','_isEditable','3581165isxcND','getSelectedElement','plugins','get','imageBlock','3119705IBUANb','isEnabled','set','bind','1267662yFnyBT','imageInline','document','editor','309035KCtyWE','config','execute','isActive','uploadcare.allowExternalImagesEditing'];_0x58e8=function(){return _0x51d6fb;};return _0x58e8();}const _0x372521=_0x4c9e;(function(_0x4dd043,_0x1b05c4){const _0x33eca7=_0x4c9e,_0x1de00a=_0x4dd043();while(!![]){try{const _0x1ceeae=parseInt(_0x33eca7(0x1c9))/0x1+-parseInt(_0x33eca7(0x1c5))/0x2+-parseInt(_0x33eca7(0x1b5))/0x3+parseInt(_0x33eca7(0x1b7))/0x4+parseInt(_0x33eca7(0x1c1))/0x5+-parseInt(_0x33eca7(0x1b6))/0x6+parseInt(_0x33eca7(0x1bc))/0x7;if(_0x1ceeae===_0x1b05c4)break;else _0x1de00a['push'](_0x1de00a['shift']());}catch(_0x4e07fa){_0x1de00a['push'](_0x1de00a['shift']());}}}(_0x58e8,0x539b1));import{Command as _0x524d3a}from'ckeditor5/src/core.js';import{Dialog as _0x157921}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x319422}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x37434a}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x524d3a{[_0x372521(0x1d0)];static get[_0x372521(0x1cf)](){return[_0x157921];}[_0x372521(0x1bb)];constructor(_0x1fb818){const _0x3f84d7=_0x372521;super(_0x1fb818),this[_0x3f84d7(0x1d0)]=void 0x0,this[_0x3f84d7(0x1bb)]=_0x37434a(_0x1fb818[_0x3f84d7(0x1ca)][_0x3f84d7(0x1bf)](_0x3f84d7(0x1cd))||[]),this[_0x3f84d7(0x1c3)]({'isActive':!0x1});}[_0x372521(0x1ce)](){const _0x39e204=_0x372521,_0x6ef6e6=this[_0x39e204(0x1c8)][_0x39e204(0x1b8)][_0x39e204(0x1c7)][_0x39e204(0x1b9)][_0x39e204(0x1bd)]();this[_0x39e204(0x1c2)]=this[_0x39e204(0x1bb)](_0x6ef6e6);}[_0x372521(0x1cb)](){const _0x5703be=_0x372521;this[_0x5703be(0x1d0)]&&(this[_0x5703be(0x1b4)](_0x5703be(0x1cc)),this[_0x5703be(0x1d0)]=void 0x0);const _0x43ada1=this[_0x5703be(0x1c8)][_0x5703be(0x1b8)][_0x5703be(0x1c7)][_0x5703be(0x1b9)][_0x5703be(0x1bd)]();_0x43ada1&&(_0x43ada1['is'](_0x5703be(0x1ba),_0x5703be(0x1c0))||_0x43ada1['is'](_0x5703be(0x1ba),_0x5703be(0x1c6)))&&(this[_0x5703be(0x1d0)]=new _0x319422(this[_0x5703be(0x1c8)],this[_0x5703be(0x1c8)][_0x5703be(0x1be)][_0x5703be(0x1bf)](_0x157921),_0x43ada1),this[_0x5703be(0x1c4)](_0x5703be(0x1cc))['to'](this[_0x5703be(0x1d0)],_0x5703be(0x1cc)));}}
23
+ function _0x438f(_0x789e96,_0x4db880){const _0x5b9521=_0x5b95();return _0x438f=function(_0x438f16,_0x49b884){_0x438f16=_0x438f16-0x1c7;let _0x20794d=_0x5b9521[_0x438f16];return _0x20794d;},_0x438f(_0x789e96,_0x4db880);}const _0x1b1cb8=_0x438f;(function(_0x209970,_0xf7b84f){const _0x5d520a=_0x438f,_0x6552=_0x209970();while(!![]){try{const _0x5bf14e=-parseInt(_0x5d520a(0x1d7))/0x1*(parseInt(_0x5d520a(0x1d6))/0x2)+-parseInt(_0x5d520a(0x1ce))/0x3*(parseInt(_0x5d520a(0x1d9))/0x4)+parseInt(_0x5d520a(0x1e4))/0x5*(parseInt(_0x5d520a(0x1dc))/0x6)+parseInt(_0x5d520a(0x1e5))/0x7*(parseInt(_0x5d520a(0x1e1))/0x8)+-parseInt(_0x5d520a(0x1d5))/0x9*(-parseInt(_0x5d520a(0x1de))/0xa)+-parseInt(_0x5d520a(0x1d4))/0xb+-parseInt(_0x5d520a(0x1e8))/0xc*(parseInt(_0x5d520a(0x1d0))/0xd);if(_0x5bf14e===_0xf7b84f)break;else _0x6552['push'](_0x6552['shift']());}catch(_0x464240){_0x6552['push'](_0x6552['shift']());}}}(_0x5b95,0x4ba81));import{Command as _0x21a3a5}from'ckeditor5/src/core.js';function _0x5b95(){const _0x1e58f3=['849jqAeMK','document','676XSVtqk','refresh','isActive','requires','6707195GBKokK','1502874QeNXih','69622NUtBMw','5RCVvUn','imageEditController','484cSVVdP','unbind','model','6OBwvii','editor','30csiDiL','selection','set','4120328ErOmZQ','getSelectedElement','imageInline','2642525becQpP','7ckCPRy','imageBlock','plugins','96132seTkJD','get','element','_isEditable','isEnabled','config','uploadcare.allowExternalImagesEditing','bind','execute'];_0x5b95=function(){return _0x1e58f3;};return _0x5b95();}import{Dialog as _0x489e4f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1de77e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4dbfc7}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x21a3a5{[_0x1b1cb8(0x1d8)];static get[_0x1b1cb8(0x1d3)](){return[_0x489e4f];}[_0x1b1cb8(0x1c8)];constructor(_0x1d51e0){const _0x1ecc51=_0x1b1cb8;super(_0x1d51e0),this[_0x1ecc51(0x1d8)]=void 0x0,this[_0x1ecc51(0x1c8)]=_0x4dbfc7(_0x1d51e0[_0x1ecc51(0x1ca)][_0x1ecc51(0x1e9)](_0x1ecc51(0x1cb))||[]),this[_0x1ecc51(0x1e0)]({'isActive':!0x1});}[_0x1b1cb8(0x1d1)](){const _0x55f71c=_0x1b1cb8,_0xc07696=this[_0x55f71c(0x1dd)][_0x55f71c(0x1db)][_0x55f71c(0x1cf)][_0x55f71c(0x1df)][_0x55f71c(0x1e2)]();this[_0x55f71c(0x1c9)]=this[_0x55f71c(0x1c8)](_0xc07696);}[_0x1b1cb8(0x1cd)](){const _0x1c8e0f=_0x1b1cb8;this[_0x1c8e0f(0x1d8)]&&(this[_0x1c8e0f(0x1da)](_0x1c8e0f(0x1d2)),this[_0x1c8e0f(0x1d8)]=void 0x0);const _0x153385=this[_0x1c8e0f(0x1dd)][_0x1c8e0f(0x1db)][_0x1c8e0f(0x1cf)][_0x1c8e0f(0x1df)][_0x1c8e0f(0x1e2)]();_0x153385&&(_0x153385['is'](_0x1c8e0f(0x1c7),_0x1c8e0f(0x1e6))||_0x153385['is'](_0x1c8e0f(0x1c7),_0x1c8e0f(0x1e3)))&&(this[_0x1c8e0f(0x1d8)]=new _0x1de77e(this[_0x1c8e0f(0x1dd)],this[_0x1c8e0f(0x1dd)][_0x1c8e0f(0x1e7)][_0x1c8e0f(0x1e9)](_0x489e4f),_0x153385),this[_0x1c8e0f(0x1cc)](_0x1c8e0f(0x1d2))['to'](this[_0x1c8e0f(0x1d8)],_0x1c8e0f(0x1d2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef706=_0x45c6;(function(_0x2a85e5,_0x3a56a4){const _0x48cd39=_0x45c6,_0x5f0d1f=_0x2a85e5();while(!![]){try{const _0x1b0aed=parseInt(_0x48cd39(0x1cb))/0x1+-parseInt(_0x48cd39(0x1c4))/0x2+-parseInt(_0x48cd39(0x1cd))/0x3*(-parseInt(_0x48cd39(0x1c7))/0x4)+-parseInt(_0x48cd39(0x1d1))/0x5+parseInt(_0x48cd39(0x1d4))/0x6+-parseInt(_0x48cd39(0x1d3))/0x7*(-parseInt(_0x48cd39(0x1d0))/0x8)+parseInt(_0x48cd39(0x1ce))/0x9*(-parseInt(_0x48cd39(0x1cc))/0xa);if(_0x1b0aed===_0x3a56a4)break;else _0x5f0d1f['push'](_0x5f0d1f['shift']());}catch(_0x596811){_0x5f0d1f['push'](_0x5f0d1f['shift']());}}}(_0x5050,0x19774));import{Plugin as _0x120aa0}from'ckeditor5/src/core.js';function _0x45c6(_0x5e2014,_0x2708fa){const _0x5050af=_0x5050();return _0x45c6=function(_0x45c69e,_0xd40f5d){_0x45c69e=_0x45c69e-0x1c1;let _0x375726=_0x5050af[_0x45c69e];return _0x375726;},_0x45c6(_0x5e2014,_0x2708fa);}import{Notification as _0x18b7b2}from'ckeditor5/src/ui.js';function _0x5050(){const _0x5b2f99=['7HMRaoo','979506uaCrpJ','isOfficialPlugin','uploadcareImageReplace','commands','ImageUtils','requires','143870IFjohf','pluginName','init','4jgnQAH','ImageEditing','UploadcareImageEditEditing','isPremiumPlugin','32613mLcgbn','10LCdcMh','307911sxOdLW','1801467yiZYgN','uploadcareImageEdit','873648KaZxuI','156505pRuwiw','add'];_0x5050=function(){return _0x5b2f99;};return _0x5050();}import{UploadcareImageEditCommand as _0x171413}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1839bf}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x15d2f2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x120aa0{static get[_0x1ef706(0x1c5)](){const _0x5ef55d=_0x1ef706;return _0x5ef55d(0x1c9);}static get[_0x1ef706(0x1c3)](){const _0x3d7c54=_0x1ef706;return[_0x15d2f2,_0x18b7b2,_0x3d7c54(0x1c2),_0x3d7c54(0x1c8)];}static get[_0x1ef706(0x1d5)](){return!0x0;}static get[_0x1ef706(0x1ca)](){return!0x0;}[_0x1ef706(0x1c6)](){const _0x2d99b9=_0x1ef706,{editor:_0x408dd7}=this;_0x408dd7[_0x2d99b9(0x1c1)][_0x2d99b9(0x1d2)](_0x2d99b9(0x1cf),new _0x171413(_0x408dd7)),_0x408dd7[_0x2d99b9(0x1c1)][_0x2d99b9(0x1d2)](_0x2d99b9(0x1d6),new _0x1839bf(_0x408dd7));}}
23
+ function _0x4025(){const _0x2ef9d0=['requires','add','5AuqiDS','927Kxfpmb','106968Dsobqr','14744sBtMdm','ImageUtils','pluginName','isOfficialPlugin','22WJSvCN','uploadcareImageEdit','init','isPremiumPlugin','495668NIWUob','ImageEditing','uploadcareImageReplace','29995lEvVGv','commands','UploadcareImageEditEditing','2354300lwUULt','74892WGptbf','826572EiGlNm','14cWoBQU'];_0x4025=function(){return _0x2ef9d0;};return _0x4025();}const _0x8696fe=_0x4d17;function _0x4d17(_0xd97045,_0xbca789){const _0x402580=_0x4025();return _0x4d17=function(_0x4d1725,_0x10891d){_0x4d1725=_0x4d1725-0x1dc;let _0x5378c9=_0x402580[_0x4d1725];return _0x5378c9;},_0x4d17(_0xd97045,_0xbca789);}(function(_0x1bacf4,_0x3fdfb4){const _0x68b1b7=_0x4d17,_0x1d1fbe=_0x1bacf4();while(!![]){try{const _0x56496a=-parseInt(_0x68b1b7(0x1f2))/0x1+-parseInt(_0x68b1b7(0x1ef))/0x2+parseInt(_0x68b1b7(0x1df))/0x3+parseInt(_0x68b1b7(0x1e6))/0x4*(parseInt(_0x68b1b7(0x1e4))/0x5)+-parseInt(_0x68b1b7(0x1e0))/0x6*(parseInt(_0x68b1b7(0x1e1))/0x7)+parseInt(_0x68b1b7(0x1e7))/0x8*(parseInt(_0x68b1b7(0x1e5))/0x9)+parseInt(_0x68b1b7(0x1de))/0xa*(parseInt(_0x68b1b7(0x1eb))/0xb);if(_0x56496a===_0x3fdfb4)break;else _0x1d1fbe['push'](_0x1d1fbe['shift']());}catch(_0x5b23e7){_0x1d1fbe['push'](_0x1d1fbe['shift']());}}}(_0x4025,0x26d42));import{Plugin as _0x2e2b15}from'ckeditor5/src/core.js';import{Notification as _0x2c8c21}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x377b06}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xfd6e37}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2c61ba}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2e2b15{static get[_0x8696fe(0x1e9)](){const _0x4b8057=_0x8696fe;return _0x4b8057(0x1dd);}static get[_0x8696fe(0x1e2)](){const _0x50afbf=_0x8696fe;return[_0x2c61ba,_0x2c8c21,_0x50afbf(0x1e8),_0x50afbf(0x1f0)];}static get[_0x8696fe(0x1ea)](){return!0x0;}static get[_0x8696fe(0x1ee)](){return!0x0;}[_0x8696fe(0x1ed)](){const _0x255cd4=_0x8696fe,{editor:_0x34a81d}=this;_0x34a81d[_0x255cd4(0x1dc)][_0x255cd4(0x1e3)](_0x255cd4(0x1ec),new _0x377b06(_0x34a81d)),_0x34a81d[_0x255cd4(0x1dc)][_0x255cd4(0x1e3)](_0x255cd4(0x1f1),new _0xfd6e37(_0x34a81d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x29735a}from'ckeditor5/src/core.js';import{ButtonView as _0x3c76bd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x478cac}from'ckeditor5/src/icons.js';import{createElement as _0x46b4a1}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 _0x29735a{['_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 _0x2e2e2b=this['editor'];_0x2e2e2b['ui']['componentFactory']['add']('uploadcareImageEdit',_0xfbd467=>{const _0x27ac7c=_0x2e2e2b['commands']['get']('uploadcareImageEdit'),_0x5c26e6=new _0x3c76bd(_0xfbd467),t=_0xfbd467['t'];return _0x5c26e6['set']({'icon':_0x478cac,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c26e6['bind']('isEnabled')['to'](_0x27ac7c),_0x5c26e6['bind']('isOn')['to'](_0x27ac7c,'isActive'),this['listenTo'](_0x5c26e6,'execute',()=>{_0x2e2e2b['execute']('uploadcareImageEdit'),_0x2e2e2b['editing']['view']['focus']();}),_0x5c26e6;}),this['_initConfig']();}['_initConfig'](){const _0x1498ac=_0x46b4a1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1498ac),this['listenTo'](this['editor'],'destroy',()=>{_0x1498ac['remove']();});}}
23
+ import{Plugin as _0x515fda}from'ckeditor5/src/core.js';import{ButtonView as _0x63a2a6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28b95a}from'ckeditor5/src/icons.js';import{createElement as _0x2ff3a8}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 _0x515fda{['_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 _0x15d8d0=this['editor'];_0x15d8d0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1419fe=>{const _0x46e4db=_0x15d8d0['commands']['get']('uploadcareImageEdit'),_0x50eb57=new _0x63a2a6(_0x1419fe),t=_0x1419fe['t'];return _0x50eb57['set']({'icon':_0x28b95a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x50eb57['bind']('isEnabled')['to'](_0x46e4db),_0x50eb57['bind']('isOn')['to'](_0x46e4db,'isActive'),this['listenTo'](_0x50eb57,'execute',()=>{_0x15d8d0['execute']('uploadcareImageEdit'),_0x15d8d0['editing']['view']['focus']();}),_0x50eb57;}),this['_initConfig']();}['_initConfig'](){const _0x1178ae=_0x2ff3a8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1178ae),this['listenTo'](this['editor'],'destroy',()=>{_0x1178ae['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4632cc=_0xbd84;function _0xbd84(_0x49350b,_0x544f9d){const _0x210472=_0x2104();return _0xbd84=function(_0xbd84cd,_0x13f8c0){_0xbd84cd=_0xbd84cd-0xe8;let _0x54aa88=_0x210472[_0xbd84cd];return _0x54aa88;},_0xbd84(_0x49350b,_0x544f9d);}(function(_0xbab85b,_0x4403fc){const _0xed4cb6=_0xbd84,_0x15d2b5=_0xbab85b();while(!![]){try{const _0x1504d0=-parseInt(_0xed4cb6(0xf9))/0x1*(-parseInt(_0xed4cb6(0xfc))/0x2)+parseInt(_0xed4cb6(0xed))/0x3+parseInt(_0xed4cb6(0xea))/0x4+-parseInt(_0xed4cb6(0xec))/0x5*(parseInt(_0xed4cb6(0xf7))/0x6)+parseInt(_0xed4cb6(0xef))/0x7*(-parseInt(_0xed4cb6(0xfa))/0x8)+-parseInt(_0xed4cb6(0x102))/0x9*(-parseInt(_0xed4cb6(0xee))/0xa)+-parseInt(_0xed4cb6(0xe8))/0xb;if(_0x1504d0===_0x4403fc)break;else _0x15d2b5['push'](_0x15d2b5['shift']());}catch(_0x2bcdb6){_0x15d2b5['push'](_0x15d2b5['shift']());}}}(_0x2104,0x25cfc));function _0x2104(){const _0x44fd15=['element','isEnabled','imageInline','document','28674smUzuF','5053631WMamaN','sizes','1229596dKFWXt','srcset','495Umodps','556977ZCWkoi','390BnrdRd','7BhrnNP','selection','editor','getSelectedElement','setAttributes','removeAttribute','change','imageBlock','1512cytvlP','refresh','1964XezhwR','2071352jXDGrB','model','286SpUFFK','execute'];_0x2104=function(){return _0x44fd15;};return _0x2104();}import{Command as _0x24289f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x24289f{[_0x4632cc(0xf8)](){const _0x4d8131=_0x4632cc,_0x287ddc=this[_0x4d8131(0xf1)][_0x4d8131(0xfb)][_0x4d8131(0x101)][_0x4d8131(0xf0)][_0x4d8131(0xf2)]();this[_0x4d8131(0xff)]=Boolean(_0x287ddc&&(_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0xf6))||_0x287ddc['is'](_0x4d8131(0xfe),_0x4d8131(0x100))));}[_0x4632cc(0xfd)](_0x72c4bc){const _0x4ea627=_0x4632cc,_0x5594c6=this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0x101)][_0x4ea627(0xf0)][_0x4ea627(0xf2)]();this[_0x4ea627(0xf1)][_0x4ea627(0xfb)][_0x4ea627(0xf5)](_0x50f7cd=>{const _0x4b1979=_0x4ea627;_0x50f7cd[_0x4b1979(0xf3)](_0x72c4bc,_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xeb),_0x5594c6),_0x50f7cd[_0x4b1979(0xf4)](_0x4b1979(0xe9),_0x5594c6);});}}
23
+ function _0x438a(_0x599b1d,_0x30ad25){const _0x2a5f79=_0x2a5f();return _0x438a=function(_0x438acf,_0x2f19fb){_0x438acf=_0x438acf-0xda;let _0x3ab4c3=_0x2a5f79[_0x438acf];return _0x3ab4c3;},_0x438a(_0x599b1d,_0x30ad25);}const _0x39c59f=_0x438a;(function(_0x459a25,_0x4787ad){const _0x323998=_0x438a,_0x2bae91=_0x459a25();while(!![]){try{const _0x52a73d=-parseInt(_0x323998(0xf1))/0x1*(-parseInt(_0x323998(0xda))/0x2)+parseInt(_0x323998(0xe0))/0x3+parseInt(_0x323998(0xe6))/0x4+parseInt(_0x323998(0xdf))/0x5+parseInt(_0x323998(0xea))/0x6+parseInt(_0x323998(0xe3))/0x7+-parseInt(_0x323998(0xee))/0x8;if(_0x52a73d===_0x4787ad)break;else _0x2bae91['push'](_0x2bae91['shift']());}catch(_0x8522f1){_0x2bae91['push'](_0x2bae91['shift']());}}}(_0x2a5f,0x5dc0f));import{Command as _0x4f56b7}from'ckeditor5/src/core.js';function _0x2a5f(){const _0x130737=['imageInline','isEnabled','change','3329455fqtyVU','2004702CgxuWa','imageBlock','setAttributes','2278437vtUiGY','element','editor','3068060hHuGFE','document','refresh','model','1482432bowqGR','execute','selection','sizes','20904920LykHgs','srcset','getSelectedElement','107809mddUTJ','6ebPlCz','removeAttribute'];_0x2a5f=function(){return _0x130737;};return _0x2a5f();}export class UploadcareImageReplaceCommand extends _0x4f56b7{[_0x39c59f(0xe8)](){const _0x5d1832=_0x39c59f,_0x1c26ce=this[_0x5d1832(0xe5)][_0x5d1832(0xe9)][_0x5d1832(0xe7)][_0x5d1832(0xec)][_0x5d1832(0xf0)]();this[_0x5d1832(0xdd)]=Boolean(_0x1c26ce&&(_0x1c26ce['is'](_0x5d1832(0xe4),_0x5d1832(0xe1))||_0x1c26ce['is'](_0x5d1832(0xe4),_0x5d1832(0xdc))));}[_0x39c59f(0xeb)](_0x171141){const _0x51c03a=_0x39c59f,_0x2ecce2=this[_0x51c03a(0xe5)][_0x51c03a(0xe9)][_0x51c03a(0xe7)][_0x51c03a(0xec)][_0x51c03a(0xf0)]();this[_0x51c03a(0xe5)][_0x51c03a(0xe9)][_0x51c03a(0xde)](_0x24832a=>{const _0x34f0e9=_0x51c03a;_0x24832a[_0x34f0e9(0xe2)](_0x171141,_0x2ecce2),_0x24832a[_0x34f0e9(0xdb)](_0x34f0e9(0xef),_0x2ecce2),_0x24832a[_0x34f0e9(0xdb)](_0x34f0e9(0xed),_0x2ecce2);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51321b=_0xd250;function _0xd250(_0x81d8d4,_0x1789ab){var _0x4bb841=_0x4bb8();return _0xd250=function(_0xd2504e,_0x12b498){_0xd2504e=_0xd2504e-0xc1;var _0x2a511b=_0x4bb841[_0xd2504e];return _0x2a511b;},_0xd250(_0x81d8d4,_0x1789ab);}(function(_0x93ae39,_0x3482c2){var _0x5aba8f=_0xd250,_0x1a7ecc=_0x93ae39();while(!![]){try{var _0x4eb73c=-parseInt(_0x5aba8f(0xcd))/0x1*(parseInt(_0x5aba8f(0xc2))/0x2)+-parseInt(_0x5aba8f(0xc9))/0x3*(parseInt(_0x5aba8f(0xcb))/0x4)+-parseInt(_0x5aba8f(0xc1))/0x5+parseInt(_0x5aba8f(0xca))/0x6*(-parseInt(_0x5aba8f(0xc3))/0x7)+parseInt(_0x5aba8f(0xc6))/0x8+parseInt(_0x5aba8f(0xcf))/0x9+parseInt(_0x5aba8f(0xce))/0xa;if(_0x4eb73c===_0x3482c2)break;else _0x1a7ecc['push'](_0x1a7ecc['shift']());}catch(_0x59f217){_0x1a7ecc['push'](_0x1a7ecc['shift']());}}}(_0x4bb8,0xcd196));import{Plugin as _0x3d2f33}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xa04524}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x12e383}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3d2f33{static get[_0x51321b(0xc5)](){var _0x3b0fd3=_0x51321b;return _0x3b0fd3(0xcc);}static get[_0x51321b(0xc8)](){return[_0xa04524,_0x12e383];}static get[_0x51321b(0xc4)](){return!0x0;}static get[_0x51321b(0xc7)](){return!0x0;}}function _0x4bb8(){var _0x5286a4=['requires','100350qnLwpM','21300UutBAF','36jZFdVe','UploadcareImageEdit','1HWXqdq','35664950mfcHRQ','5216589BBsrUW','8304925veDWxZ','756304jFynJt','2107BEeUuk','isOfficialPlugin','pluginName','821656ncahyn','isPremiumPlugin'];_0x4bb8=function(){return _0x5286a4;};return _0x4bb8();}
23
+ var _0x3abb28=_0x71c3;(function(_0x76bc01,_0x2c5097){var _0xf4885d=_0x71c3,_0x4f12b7=_0x76bc01();while(!![]){try{var _0x216325=parseInt(_0xf4885d(0x13b))/0x1+parseInt(_0xf4885d(0x143))/0x2*(parseInt(_0xf4885d(0x141))/0x3)+parseInt(_0xf4885d(0x13d))/0x4+parseInt(_0xf4885d(0x13a))/0x5*(-parseInt(_0xf4885d(0x145))/0x6)+-parseInt(_0xf4885d(0x13c))/0x7*(parseInt(_0xf4885d(0x147))/0x8)+-parseInt(_0xf4885d(0x138))/0x9*(parseInt(_0xf4885d(0x139))/0xa)+parseInt(_0xf4885d(0x144))/0xb*(parseInt(_0xf4885d(0x13e))/0xc);if(_0x216325===_0x2c5097)break;else _0x4f12b7['push'](_0x4f12b7['shift']());}catch(_0x4e704e){_0x4f12b7['push'](_0x4f12b7['shift']());}}}(_0x2d2d,0xdbdb8));import{Plugin as _0x50ede8}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x457ec7}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x71c3(_0x1d8d1d,_0x20caa9){var _0x2d2d7a=_0x2d2d();return _0x71c3=function(_0x71c342,_0x164066){_0x71c342=_0x71c342-0x137;var _0x8159b7=_0x2d2d7a[_0x71c342];return _0x8159b7;},_0x71c3(_0x1d8d1d,_0x20caa9);}import{UploadcareImageEditUI as _0xa25ea1}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x50ede8{static get[_0x3abb28(0x13f)](){var _0x179473=_0x3abb28;return _0x179473(0x140);}static get[_0x3abb28(0x146)](){return[_0x457ec7,_0xa25ea1];}static get[_0x3abb28(0x142)](){return!0x0;}static get[_0x3abb28(0x137)](){return!0x0;}}function _0x2d2d(){var _0x5e12c8=['940HNeyjg','171878LzzApd','462VURiBH','4846228PMVJaB','59964XTOaWs','pluginName','UploadcareImageEdit','1368726wOyitF','isOfficialPlugin','4kJhLqD','8393GbalJk','57114NTEnNr','requires','209240YWsaJD','isPremiumPlugin','342lpBmfQ','445340MXhAGp'];_0x2d2d=function(){return _0x5e12c8;};return _0x2d2d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf74218=_0x21b7;(function(_0x283286,_0x158b0d){const _0x23cad4=_0x21b7,_0x2aa041=_0x283286();while(!![]){try{const _0x8372aa=parseInt(_0x23cad4(0x174))/0x1*(parseInt(_0x23cad4(0x17b))/0x2)+-parseInt(_0x23cad4(0x19c))/0x3+parseInt(_0x23cad4(0x196))/0x4+parseInt(_0x23cad4(0x1bb))/0x5*(-parseInt(_0x23cad4(0x18c))/0x6)+-parseInt(_0x23cad4(0x198))/0x7*(-parseInt(_0x23cad4(0x1c2))/0x8)+parseInt(_0x23cad4(0x1bf))/0x9*(parseInt(_0x23cad4(0x1b9))/0xa)+-parseInt(_0x23cad4(0x180))/0xb;if(_0x8372aa===_0x158b0d)break;else _0x2aa041['push'](_0x2aa041['shift']());}catch(_0x5efdd7){_0x2aa041['push'](_0x2aa041['shift']());}}}(_0x51b4,0x767f9));import{Plugin as _0xdfd67f}from'ckeditor5/src/core.js';import{IconDropbox as _0x39fca7,IconFacebook as _0x217480,IconGoogleDrive as _0x13c667,IconGooglePhotos as _0x49ddc8,IconUploadcareImageUpload as _0x25162b,IconUploadcareLink as _0x243fe8,IconOneDrive as _0x41c728}from'ckeditor5/src/icons.js';import{ButtonView as _0x27c564,MenuBarMenuListItemButtonView as _0x17b552}from'ckeditor5/src/ui.js';function _0x51b4(){const _0x10f81f=['map','tooltip','OneDrive','reduce','Uploadcare','init','upload','_createToolbarButton','Insert','execute','ImageInsertUI','get','has','plugins','uploadcareLicenseKeyDomainLimit','shortText','_createButton','Facebook','evaluationLimit','pluginName','bind','text','uploadcareLicenseKeyInvalid','10liajec','featureNotAllowed','205PJQMmu','afterInit','licenseKey','_licenseKeyCheckInterval','2088963UNvMZq','GPhotos','uploadcareLicenseKeyUsageLimit','11112MfknHf','domainLimit','url','_showLicenseError','772613xcoGdv','push','type','Dropbox','destroy','uploadcareLicenseKeyNotAllowed','usageLimit','2qsfIeo','uploadcare','Local','locale','_normalizeConfigSourceList','6597987WkAMWD','trialLimit','UploadcareUI','invalid','commands','forEach','uploadcareLicenseKeyTrialLimit','Replace','icon','isOfficialPlugin','expired','isImageSelected','85272RvzhHo','assetManager','_getIntegrationKey','GDrive','_createMenuBarButtons','config','withText','editor','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','1824584jTeMem','_createDropdownButtons','3108xHOzUu','URL','isPremiumPlugin','label','1229112lZeJqx','isEnabled','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','registerIntegration','entries'];_0x51b4=function(){return _0x10f81f;};return _0x51b4();}import{UploadcareSource as _0x11960a}from'./uploadcareconfig.js';import{getTranslation as _0x3f9088}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x21b7(_0x1645cf,_0x44ff57){const _0x51b470=_0x51b4();return _0x21b7=function(_0x21b7f1,_0x5571b2){_0x21b7f1=_0x21b7f1-0x172;let _0x6ae73e=_0x51b470[_0x21b7f1];return _0x6ae73e;},_0x21b7(_0x1645cf,_0x44ff57);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xdfd67f{[_0xf74218(0x1bd)];[_0xf74218(0x1be)];static get[_0xf74218(0x1b5)](){const _0x56f377=_0xf74218;return _0x56f377(0x182);}static get[_0xf74218(0x189)](){return!0x0;}static get[_0xf74218(0x19a)](){return!0x0;}[_0xf74218(0x1a7)](){const _0x4719b3=_0xf74218;this[_0x4719b3(0x1bd)]=this[_0x4719b3(0x193)][_0x4719b3(0x191)][_0x4719b3(0x1ad)](_0x4719b3(0x1bd));const _0x3d6048=this[_0x4719b3(0x193)];this[_0x4719b3(0x1be)]=setInterval(()=>{const _0x4381b8=_0x4719b3;let _0x3dd7d4;for(const _0x1a9318 in _0x3d6048){const _0x4bfff3=_0x1a9318,_0x1670a5=_0x3d6048[_0x4bfff3];if(_0x4381b8(0x19f)==_0x1670a5||_0x4381b8(0x1b8)==_0x1670a5||_0x4381b8(0x195)==_0x1670a5||_0x4381b8(0x1b0)==_0x1670a5||_0x4381b8(0x179)==_0x1670a5||_0x4381b8(0x194)==_0x1670a5||_0x4381b8(0x186)==_0x1670a5||_0x4381b8(0x1c1)==_0x1670a5){delete _0x3d6048[_0x4bfff3],_0x3dd7d4=_0x1670a5,clearInterval(this[_0x4381b8(0x1be)]),this[_0x4381b8(0x1be)]=void 0x0;break;}}_0x4381b8(0x1b8)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x183)),_0x4381b8(0x195)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x18a)),_0x4381b8(0x1b0)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1c3)),_0x4381b8(0x179)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1ba),_0x4381b8(0x1a6)),_0x4381b8(0x194)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x1b4)),_0x4381b8(0x186)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x181)),_0x4381b8(0x1c1)==_0x3dd7d4&&_0x3d6048[_0x4381b8(0x173)](_0x4381b8(0x17a));},0x3e8);}[_0xf74218(0x1bc)](){const _0x1e6a1f=_0xf74218,{editor:_0x1f0928}=this,_0x5ae156=_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c));if(!_0x5ae156)return;const _0x569ef3=this[_0x1e6a1f(0x17f)](_0x1f0928[_0x1e6a1f(0x191)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x19e)))[_0x1e6a1f(0x1a5)]((_0x36b9bf,_0x42fc9b)=>{const _0x40eee4=_0x1e6a1f,_0x5f2e5f=this[_0x40eee4(0x18e)](_0x42fc9b[_0x40eee4(0x176)]);return _0x36b9bf[_0x5f2e5f]||(_0x36b9bf[_0x5f2e5f]=[]),_0x36b9bf[_0x5f2e5f][_0x40eee4(0x175)](_0x42fc9b),_0x36b9bf;},{});_0x1f0928[_0x1e6a1f(0x1af)][_0x1e6a1f(0x1ae)](_0x1e6a1f(0x1ac))&&_0x1f0928[_0x1e6a1f(0x184)][_0x1e6a1f(0x1ad)](_0x1e6a1f(0x17c))&&Object[_0x1e6a1f(0x1a1)](_0x569ef3)[_0x1e6a1f(0x185)](([_0x590293,_0x29e371])=>{const _0x3e3cd0=_0x1e6a1f;_0x1f0928[_0x3e3cd0(0x1af)][_0x3e3cd0(0x1ad)](_0x3e3cd0(0x1ac))[_0x3e3cd0(0x1a0)]({'name':_0x590293,'observable':()=>_0x5ae156,'buttonViewCreator':()=>this[_0x3e3cd0(0x1a9)](_0x29e371),'formViewCreator':()=>this[_0x3e3cd0(0x197)](_0x29e371),'menuBarButtonViewCreator':()=>this[_0x3e3cd0(0x190)](_0x29e371),'override':_0x3e3cd0(0x18d)!==_0x590293});});}[_0xf74218(0x178)](){const _0x3bbcc=_0xf74218;super[_0x3bbcc(0x178)](),this[_0x3bbcc(0x1be)]&&clearInterval(this[_0x3bbcc(0x1be)]);}[_0xf74218(0x17f)](_0x1f4e48){const _0x10f67c=_0xf74218,{locale:_0x4f5487}=this[_0x10f67c(0x193)];return _0x1f4e48[_0x10f67c(0x1a2)](_0x1ec3e3=>{const _0x5b3269=_0x10f67c,_0x220724=_0x3f9088(_0x4f5487,_0x1ec3e3,_0x5b3269(0x1aa));switch(_0x1ec3e3){case _0x11960a[_0x5b3269(0x17d)]:return{'icon':_0x25162b,'type':_0x11960a[_0x5b3269(0x17d)],..._0x220724};case _0x11960a[_0x5b3269(0x199)]:return{'icon':_0x243fe8,'type':_0x11960a[_0x5b3269(0x199)],..._0x220724};case _0x11960a[_0x5b3269(0x177)]:return{'icon':_0x39fca7,'type':_0x11960a[_0x5b3269(0x177)],..._0x220724};case _0x11960a[_0x5b3269(0x1b3)]:return{'icon':_0x217480,'type':_0x11960a[_0x5b3269(0x1b3)],..._0x220724};case _0x11960a[_0x5b3269(0x18f)]:return{'icon':_0x13c667,'type':_0x11960a[_0x5b3269(0x18f)],..._0x220724};case _0x11960a[_0x5b3269(0x1c0)]:return{'icon':_0x49ddc8,'type':_0x11960a[_0x5b3269(0x1c0)],..._0x220724};case _0x11960a[_0x5b3269(0x1a4)]:return{'icon':_0x41c728,'type':_0x11960a[_0x5b3269(0x1a4)],..._0x220724};}});}[_0xf74218(0x18e)](_0x70779d){const _0x210fda=_0xf74218;switch(_0x70779d){case _0x11960a[_0x210fda(0x17d)]:return _0x210fda(0x1a8);case _0x11960a[_0x210fda(0x199)]:return _0x210fda(0x172);default:return _0x210fda(0x18d);}}[_0xf74218(0x1b2)](_0x4501c8,_0x2c1525){const _0x1a380b=_0xf74218,_0x1fa7d1=this[_0x1a380b(0x193)],_0x26d187=new _0x4501c8(_0x1fa7d1[_0x1a380b(0x17e)]),_0x50d753=_0x1fa7d1[_0x1a380b(0x184)][_0x1a380b(0x1ad)](_0x1a380b(0x17c));return _0x26d187[_0x1a380b(0x1b6)](_0x1a380b(0x19d))['to'](_0x50d753),_0x26d187['on'](_0x1a380b(0x1ab),()=>{const _0x2440c4=_0x1a380b;_0x50d753[_0x2440c4(0x1ab)](_0x2c1525);}),_0x26d187;}[_0xf74218(0x1a9)](_0x5923a9){const _0x1a80f6=_0xf74218,{locale:_0x202695}=this[_0x1a80f6(0x193)],_0x11929d=this[_0x1a80f6(0x193)][_0x1a80f6(0x1af)][_0x1a80f6(0x1ad)](_0x1a80f6(0x1ac)),_0x201008=_0x5923a9[0x0],_0x3f6ca6=this[_0x1a80f6(0x1b2)](_0x27c564,_0x201008[_0x1a80f6(0x176)]);return _0x3f6ca6[_0x1a80f6(0x188)]=_0x201008[_0x1a80f6(0x188)],_0x3f6ca6[_0x1a80f6(0x1b6)](_0x1a80f6(0x19b))['to'](_0x11929d,_0x1a80f6(0x18b),_0x5f6b64=>_0x3f9088(_0x202695,_0x201008[_0x1a80f6(0x176)],_0x5f6b64?_0x1a80f6(0x187):_0x1a80f6(0x1aa))[_0x1a80f6(0x1b7)]),_0x3f6ca6[_0x1a80f6(0x1a3)]=!0x0,_0x3f6ca6;}[_0xf74218(0x197)](_0x183fb2){const _0x35ba1a=_0xf74218,{locale:_0x5743ed}=this[_0x35ba1a(0x193)],_0xd2d011=this[_0x35ba1a(0x193)][_0x35ba1a(0x1af)][_0x35ba1a(0x1ad)](_0x35ba1a(0x1ac));return _0x183fb2[_0x35ba1a(0x1a2)](_0x1fd178=>{const _0x5887cf=_0x35ba1a,_0x2a785a=this[_0x5887cf(0x1b2)](_0x27c564,_0x1fd178[_0x5887cf(0x176)]);return _0x2a785a[_0x5887cf(0x192)]=!0x0,_0x2a785a[_0x5887cf(0x188)]=_0x1fd178[_0x5887cf(0x188)],_0x2a785a[_0x5887cf(0x1b6)](_0x5887cf(0x19b))['to'](_0xd2d011,_0x5887cf(0x18b),_0x190c9c=>_0x3f9088(_0x5743ed,_0x1fd178[_0x5887cf(0x176)],_0x190c9c?_0x5887cf(0x187):_0x5887cf(0x1aa))[_0x5887cf(0x1b7)]),_0x2a785a;});}[_0xf74218(0x190)](_0x5f4581){const _0x1d0ca=_0xf74218;return _0x5f4581[_0x1d0ca(0x1a2)](_0x430617=>{const _0x203dac=_0x1d0ca,_0x1613d1=this[_0x203dac(0x1b2)](_0x17b552,_0x430617[_0x203dac(0x176)]);return _0x1613d1[_0x203dac(0x188)]=_0x430617[_0x203dac(0x188)],_0x1613d1[_0x203dac(0x19b)]=_0x430617[_0x203dac(0x1b1)],_0x1613d1;});}}
23
+ const _0x24e6f6=_0x31ee;(function(_0x2e4d3f,_0x1ca6ba){const _0x5e31d7=_0x31ee,_0x3f27d2=_0x2e4d3f();while(!![]){try{const _0x254b62=-parseInt(_0x5e31d7(0x182))/0x1*(parseInt(_0x5e31d7(0x179))/0x2)+parseInt(_0x5e31d7(0x190))/0x3+-parseInt(_0x5e31d7(0x14f))/0x4*(parseInt(_0x5e31d7(0x192))/0x5)+-parseInt(_0x5e31d7(0x151))/0x6+-parseInt(_0x5e31d7(0x181))/0x7*(parseInt(_0x5e31d7(0x14e))/0x8)+parseInt(_0x5e31d7(0x16d))/0x9*(-parseInt(_0x5e31d7(0x170))/0xa)+-parseInt(_0x5e31d7(0x17e))/0xb*(-parseInt(_0x5e31d7(0x162))/0xc);if(_0x254b62===_0x1ca6ba)break;else _0x3f27d2['push'](_0x3f27d2['shift']());}catch(_0x3327e3){_0x3f27d2['push'](_0x3f27d2['shift']());}}}(_0x2199,0x2cfc5));function _0x31ee(_0x58dbac,_0x276518){const _0x2199c6=_0x2199();return _0x31ee=function(_0x31ee5b,_0x20c8f8){_0x31ee5b=_0x31ee5b-0x14b;let _0x234fc0=_0x2199c6[_0x31ee5b];return _0x234fc0;},_0x31ee(_0x58dbac,_0x276518);}import{Plugin as _0x1456a9}from'ckeditor5/src/core.js';import{IconDropbox as _0x1b3863,IconFacebook as _0xe0c4fc,IconGoogleDrive as _0x36293f,IconGooglePhotos as _0x1b08b3,IconUploadcareImageUpload as _0x276a5f,IconUploadcareLink as _0x49760d,IconOneDrive as _0x1692fe}from'ckeditor5/src/icons.js';import{ButtonView as _0x1be891,MenuBarMenuListItemButtonView as _0x313029}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2c211f}from'./uploadcareconfig.js';import{getTranslation as _0x2c8500}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2199(){const _0x517500=['2420doXQgZ','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyValid','reduce','_createButton','tooltip','uploadcare.uploader.sourceList','get','text','2nEPlXb','isEnabled','ImageInsertUI','_createMenuBarButtons','uploadcareLicenseKeyNotAllowed','77sTHEvi','has','isPremiumPlugin','61558CWXtom','356945pXUUfI','plugins','_createDropdownButtons','Facebook','OneDrive','shortText','type','domainLimit','pluginName','label','usageLimit','entries','Insert','withText','299007RhXqbM','Replace','30qInIJT','GDrive','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','bind','url','licenseKey','_createToolbarButton','evaluationLimit','push','forEach','uploadcareLicenseKeyTrialLimit','_getIntegrationKey','map','UploadcareUI','232JHIfvj','154540pYDWKm','isOfficialPlugin','98856MozUeO','editor','execute','trialLimit','expired','_showLicenseError','invalid','upload','GPhotos','afterInit','icon','registerIntegration','uploadcareLicenseKeyDomainLimit','Uploadcare','_normalizeConfigSourceList','URL','destroy','1893132DUBVvq','Dropbox','config','locale','uploadcareLicenseKeyExpired','uploadcareLicenseKeyUsageLimit','init','isImageSelected','assetManager','uploadcare','Local','5931qKTxzw','featureNotAllowed','commands'];_0x2199=function(){return _0x517500;};return _0x2199();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1456a9{[_0x24e6f6(0x198)];[_0x24e6f6(0x194)];static get[_0x24e6f6(0x18a)](){const _0x202b86=_0x24e6f6;return _0x202b86(0x14d);}static get[_0x24e6f6(0x150)](){return!0x0;}static get[_0x24e6f6(0x180)](){return!0x0;}[_0x24e6f6(0x168)](){const _0x2e4a97=_0x24e6f6;this[_0x2e4a97(0x198)]=this[_0x2e4a97(0x152)][_0x2e4a97(0x164)][_0x2e4a97(0x177)](_0x2e4a97(0x198));const _0x1949ce=this[_0x2e4a97(0x152)];this[_0x2e4a97(0x194)]=setInterval(()=>{const _0x3bb48e=_0x2e4a97;let _0x1ab916;for(const _0x4442df in _0x1949ce){const _0x74dfd5=_0x4442df,_0x122ca4=_0x1949ce[_0x74dfd5];if(_0x3bb48e(0x172)==_0x122ca4||_0x3bb48e(0x195)==_0x122ca4||_0x3bb48e(0x166)==_0x122ca4||_0x3bb48e(0x15d)==_0x122ca4||_0x3bb48e(0x17d)==_0x122ca4||_0x3bb48e(0x171)==_0x122ca4||_0x3bb48e(0x19d)==_0x122ca4||_0x3bb48e(0x167)==_0x122ca4){delete _0x1949ce[_0x74dfd5],_0x1ab916=_0x122ca4,clearInterval(this[_0x3bb48e(0x194)]),this[_0x3bb48e(0x194)]=void 0x0;break;}}_0x3bb48e(0x195)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x157)),_0x3bb48e(0x166)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x155)),_0x3bb48e(0x15d)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x189)),_0x3bb48e(0x17d)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x16e),_0x3bb48e(0x15e)),_0x3bb48e(0x171)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x19a)),_0x3bb48e(0x19d)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x154)),_0x3bb48e(0x167)==_0x1ab916&&_0x1949ce[_0x3bb48e(0x156)](_0x3bb48e(0x18c));},0x3e8);}[_0x24e6f6(0x15a)](){const _0x30dcc5=_0x24e6f6,{editor:_0x8b711}=this,_0x3bb793=_0x8b711[_0x30dcc5(0x16f)][_0x30dcc5(0x177)](_0x30dcc5(0x16b));if(!_0x3bb793)return;const _0x42e228=this[_0x30dcc5(0x15f)](_0x8b711[_0x30dcc5(0x164)][_0x30dcc5(0x177)](_0x30dcc5(0x176)))[_0x30dcc5(0x173)]((_0x27d992,_0xb6d568)=>{const _0xde4b3b=_0x30dcc5,_0x25615d=this[_0xde4b3b(0x14b)](_0xb6d568[_0xde4b3b(0x188)]);return _0x27d992[_0x25615d]||(_0x27d992[_0x25615d]=[]),_0x27d992[_0x25615d][_0xde4b3b(0x19b)](_0xb6d568),_0x27d992;},{});_0x8b711[_0x30dcc5(0x183)][_0x30dcc5(0x17f)](_0x30dcc5(0x17b))&&_0x8b711[_0x30dcc5(0x16f)][_0x30dcc5(0x177)](_0x30dcc5(0x16b))&&Object[_0x30dcc5(0x18d)](_0x42e228)[_0x30dcc5(0x19c)](([_0x3a967a,_0x16ca43])=>{const _0x15d23d=_0x30dcc5;_0x8b711[_0x15d23d(0x183)][_0x15d23d(0x177)](_0x15d23d(0x17b))[_0x15d23d(0x15c)]({'name':_0x3a967a,'observable':()=>_0x3bb793,'buttonViewCreator':()=>this[_0x15d23d(0x199)](_0x16ca43),'formViewCreator':()=>this[_0x15d23d(0x184)](_0x16ca43),'menuBarButtonViewCreator':()=>this[_0x15d23d(0x17c)](_0x16ca43),'override':_0x15d23d(0x16a)!==_0x3a967a});});}[_0x24e6f6(0x161)](){const _0x4d8549=_0x24e6f6;super[_0x4d8549(0x161)](),this[_0x4d8549(0x194)]&&clearInterval(this[_0x4d8549(0x194)]);}[_0x24e6f6(0x15f)](_0x23dfa1){const _0x3d5a55=_0x24e6f6,{locale:_0x10e685}=this[_0x3d5a55(0x152)];return _0x23dfa1[_0x3d5a55(0x14c)](_0x4f035e=>{const _0x1241f5=_0x3d5a55,_0x37566c=_0x2c8500(_0x10e685,_0x4f035e,_0x1241f5(0x18e));switch(_0x4f035e){case _0x2c211f[_0x1241f5(0x16c)]:return{'icon':_0x276a5f,'type':_0x2c211f[_0x1241f5(0x16c)],..._0x37566c};case _0x2c211f[_0x1241f5(0x160)]:return{'icon':_0x49760d,'type':_0x2c211f[_0x1241f5(0x160)],..._0x37566c};case _0x2c211f[_0x1241f5(0x163)]:return{'icon':_0x1b3863,'type':_0x2c211f[_0x1241f5(0x163)],..._0x37566c};case _0x2c211f[_0x1241f5(0x185)]:return{'icon':_0xe0c4fc,'type':_0x2c211f[_0x1241f5(0x185)],..._0x37566c};case _0x2c211f[_0x1241f5(0x193)]:return{'icon':_0x36293f,'type':_0x2c211f[_0x1241f5(0x193)],..._0x37566c};case _0x2c211f[_0x1241f5(0x159)]:return{'icon':_0x1b08b3,'type':_0x2c211f[_0x1241f5(0x159)],..._0x37566c};case _0x2c211f[_0x1241f5(0x186)]:return{'icon':_0x1692fe,'type':_0x2c211f[_0x1241f5(0x186)],..._0x37566c};}});}[_0x24e6f6(0x14b)](_0x1dc096){const _0x5a466a=_0x24e6f6;switch(_0x1dc096){case _0x2c211f[_0x5a466a(0x16c)]:return _0x5a466a(0x158);case _0x2c211f[_0x5a466a(0x160)]:return _0x5a466a(0x197);default:return _0x5a466a(0x16a);}}[_0x24e6f6(0x174)](_0x19f9c8,_0x14a9af){const _0x17c675=_0x24e6f6,_0x4c4736=this[_0x17c675(0x152)],_0x1aecf8=new _0x19f9c8(_0x4c4736[_0x17c675(0x165)]),_0x1802a9=_0x4c4736[_0x17c675(0x16f)][_0x17c675(0x177)](_0x17c675(0x16b));return _0x1aecf8[_0x17c675(0x196)](_0x17c675(0x17a))['to'](_0x1802a9),_0x1aecf8['on'](_0x17c675(0x153),()=>{const _0x39e5f6=_0x17c675;_0x1802a9[_0x39e5f6(0x153)](_0x14a9af);}),_0x1aecf8;}[_0x24e6f6(0x199)](_0x41ebae){const _0x3db1fd=_0x24e6f6,{locale:_0x1828fa}=this[_0x3db1fd(0x152)],_0x3d3c6a=this[_0x3db1fd(0x152)][_0x3db1fd(0x183)][_0x3db1fd(0x177)](_0x3db1fd(0x17b)),_0x56d008=_0x41ebae[0x0],_0x486b97=this[_0x3db1fd(0x174)](_0x1be891,_0x56d008[_0x3db1fd(0x188)]);return _0x486b97[_0x3db1fd(0x15b)]=_0x56d008[_0x3db1fd(0x15b)],_0x486b97[_0x3db1fd(0x196)](_0x3db1fd(0x18b))['to'](_0x3d3c6a,_0x3db1fd(0x169),_0x1abad7=>_0x2c8500(_0x1828fa,_0x56d008[_0x3db1fd(0x188)],_0x1abad7?_0x3db1fd(0x191):_0x3db1fd(0x18e))[_0x3db1fd(0x178)]),_0x486b97[_0x3db1fd(0x175)]=!0x0,_0x486b97;}[_0x24e6f6(0x184)](_0xb2b142){const _0x1add04=_0x24e6f6,{locale:_0x498c0c}=this[_0x1add04(0x152)],_0xed2625=this[_0x1add04(0x152)][_0x1add04(0x183)][_0x1add04(0x177)](_0x1add04(0x17b));return _0xb2b142[_0x1add04(0x14c)](_0x18cbd9=>{const _0x12aa8e=_0x1add04,_0x219427=this[_0x12aa8e(0x174)](_0x1be891,_0x18cbd9[_0x12aa8e(0x188)]);return _0x219427[_0x12aa8e(0x18f)]=!0x0,_0x219427[_0x12aa8e(0x15b)]=_0x18cbd9[_0x12aa8e(0x15b)],_0x219427[_0x12aa8e(0x196)](_0x12aa8e(0x18b))['to'](_0xed2625,_0x12aa8e(0x169),_0xb07793=>_0x2c8500(_0x498c0c,_0x18cbd9[_0x12aa8e(0x188)],_0xb07793?_0x12aa8e(0x191):_0x12aa8e(0x18e))[_0x12aa8e(0x178)]),_0x219427;});}[_0x24e6f6(0x17c)](_0x2c5943){const _0x45bbdc=_0x24e6f6;return _0x2c5943[_0x45bbdc(0x14c)](_0x46a38e=>{const _0x38166d=_0x45bbdc,_0x327511=this[_0x38166d(0x174)](_0x313029,_0x46a38e[_0x38166d(0x188)]);return _0x327511[_0x38166d(0x15b)]=_0x46a38e[_0x38166d(0x15b)],_0x327511[_0x38166d(0x18b)]=_0x46a38e[_0x38166d(0x187)],_0x327511;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x33a50f}from'ckeditor5/src/core.js';import{FileRepository as _0x4daaae}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x53bcb1}from'./uploadcareediting.js';import{UploadUtils as _0x2e9b2a}from'./utils/uploadutils.js';import{getImageUrls as _0x3866f3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x33a50f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4daaae,_0x53bcb1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b003e=this['editor'];if(!!!_0x1b003e['config']['get']('uploadcare'))return;_0x1b003e['plugins']['get'](_0x4daaae)['createUploadAdapter']=_0x22a870=>new k(_0x22a870,_0x1b003e),_0x1b003e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xf77042,{imageElement:_0x322e8e,data:_0x153608})=>{_0x1b003e['model']['change'](_0x27ed75=>{_0x27ed75['setAttribute']('uploadcareImageId',_0x153608['uploadcareImageId'],_0x322e8e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2b857f,_0xc97324){this['loader']=_0x2b857f,this['editor']=_0xc97324,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x515db4=await this['loader']['file'];return _0x2e9b2a['upload']({'file':_0x515db4,'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':_0x58f66d=>{_0x58f66d&&_0x58f66d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58f66d['value']);}})['then'](async _0x934feb=>{const {imageFallbackUrl:_0x24ebe1,imageSources:_0xdb6b72}=_0x3866f3(_0x934feb['cdnUrl'],_0x934feb['imageInfo']['width']);return{'uploadcareImageId':_0x934feb['uuid'],'default':_0x24ebe1,'sources':_0xdb6b72};})['catch'](()=>{const _0x507398=t('Cannot\x20upload\x20file:')+('\x20'+_0x515db4['name']+'.');return Promise['reject'](_0x507398);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4cfe3a}from'ckeditor5/src/core.js';import{FileRepository as _0x5249b8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x58bddb}from'./uploadcareediting.js';import{UploadUtils as _0x5ac14a}from'./utils/uploadutils.js';import{getImageUrls as _0x5c972f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4cfe3a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5249b8,_0x58bddb];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e7d24=this['editor'];if(!!!_0x3e7d24['config']['get']('uploadcare'))return;_0x3e7d24['plugins']['get'](_0x5249b8)['createUploadAdapter']=_0x19f4fe=>new k(_0x19f4fe,_0x3e7d24),_0x3e7d24['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e04c9,{imageElement:_0x453675,data:_0x4b5cbf})=>{_0x3e7d24['model']['change'](_0x34d090=>{_0x34d090['setAttribute']('uploadcareImageId',_0x4b5cbf['uploadcareImageId'],_0x453675);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x171d06,_0x100edb){this['loader']=_0x171d06,this['editor']=_0x100edb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1a5538=await this['loader']['file'];return _0x5ac14a['upload']({'file':_0x1a5538,'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':_0x55122b=>{_0x55122b&&_0x55122b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55122b['value']);}})['then'](async _0x1bb13c=>{const {imageFallbackUrl:_0x29a475,imageSources:_0x5b9419}=_0x5c972f(_0x1bb13c['cdnUrl'],_0x1bb13c['imageInfo']['width']);return{'uploadcareImageId':_0x1bb13c['uuid'],'default':_0x29a475,'sources':_0x5b9419};})['catch'](()=>{const _0x52ad8c=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a5538['name']+'.');return Promise['reject'](_0x52ad8c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x26f58b}from'../uploadcareconfig.js';export function getTranslation(_0x3ff771,_0x105e3c,_0x2c87a0){const t=_0x3ff771['t'],_0x26368b=_0x3ff771['t'];switch(_0x105e3c){case _0x26f58b['Local']:return{'text':_0x26368b('Insert'===_0x2c87a0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26368b('From\x20computer')};case _0x26f58b['URL']:return{'text':'Insert'===_0x2c87a0?_0x26368b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26368b('Via\x20URL')};case _0x26f58b['Dropbox']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x26f58b['Facebook']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x26f58b['GDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x26f58b['GPhotos']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x26f58b['OneDrive']:return{'text':t('Insert'===_0x2c87a0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x105e3c;}}
23
+ import{UploadcareSource as _0x5d1ab1}from'../uploadcareconfig.js';export function getTranslation(_0x58b955,_0x12d9d8,_0x28799b){const t=_0x58b955['t'],_0x2f5bfc=_0x58b955['t'];switch(_0x12d9d8){case _0x5d1ab1['Local']:return{'text':_0x2f5bfc('Insert'===_0x28799b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2f5bfc('From\x20computer')};case _0x5d1ab1['URL']:return{'text':'Insert'===_0x28799b?_0x2f5bfc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2f5bfc('Via\x20URL')};case _0x5d1ab1['Dropbox']:return{'text':t('Insert'===_0x28799b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d1ab1['Facebook']:return{'text':t('Insert'===_0x28799b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d1ab1['GDrive']:return{'text':t('Insert'===_0x28799b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d1ab1['GPhotos']:return{'text':t('Insert'===_0x28799b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d1ab1['OneDrive']:return{'text':t('Insert'===_0x28799b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12d9d8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x94e816=_0x475a;(function(_0x22daa7,_0x212e72){var _0x368816=_0x475a,_0x27ba88=_0x22daa7();while(!![]){try{var _0x1ce59d=-parseInt(_0x368816(0xe4))/0x1*(-parseInt(_0x368816(0xeb))/0x2)+parseInt(_0x368816(0xea))/0x3+-parseInt(_0x368816(0xec))/0x4*(-parseInt(_0x368816(0xe3))/0x5)+-parseInt(_0x368816(0xee))/0x6+parseInt(_0x368816(0xed))/0x7+-parseInt(_0x368816(0xe6))/0x8+-parseInt(_0x368816(0xe2))/0x9;if(_0x1ce59d===_0x212e72)break;else _0x27ba88['push'](_0x27ba88['shift']());}catch(_0x54bcf7){_0x27ba88['push'](_0x27ba88['shift']());}}}(_0x5cbd,0xf3528));import{FocusTracker as _0x105058}from'ckeditor5/src/utils.js';import{View as _0x1af2a8,FocusCycler as _0x3c689d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5cbd(){var _0x2602e8=['12TLyNOw','10588900BiLZJN','8753664KhvqjB','bindTemplate','fire','focusTracker','div','forwardCycle','14401125wUXLlj','1984975skVZed','349464JFcLvI','true','7034728dBiofu','getFocusableElement','createCollection','focusCycler','4597335aJlHiw','4cQDHMS'];_0x5cbd=function(){return _0x2602e8;};return _0x5cbd();}function _0x475a(_0x555031,_0x6edfe7){var _0x5cbdc8=_0x5cbd();return _0x475a=function(_0x475ad7,_0x1b7589){_0x475ad7=_0x475ad7-0xde;var _0x3cb4b3=_0x5cbdc8[_0x475ad7];return _0x3cb4b3;},_0x475a(_0x555031,_0x6edfe7);}export class DialogFocusManagerView extends _0x1af2a8{[_0x94e816(0xdf)];[_0x94e816(0xe9)];constructor(_0x24c35f){var _0x51cf96=_0x94e816;super(_0x24c35f),this[_0x51cf96(0xdf)]=new _0x105058(),this[_0x51cf96(0xe9)]=new _0x3c689d({'focusables':this[_0x51cf96(0xe8)](),'focusTracker':this[_0x51cf96(0xdf)]});}[_0x94e816(0xe7)](){var _0x594439=_0x94e816;return{'tag':_0x594439(0xe0),'attributes':{'aria-hidden':_0x594439(0xe5),'tabindex':'0'},'on':{'focus':this[_0x594439(0xef)]['to'](()=>{var _0x366e4f=_0x594439;this[_0x366e4f(0xe9)][_0x366e4f(0xde)](_0x366e4f(0xe1));})}};}}
23
+ var _0x14055a=_0x2e03;function _0x34bb(){var _0x34acb0=['2081757SWoEpc','bindTemplate','fire','5yxUVPh','div','60LIyiBh','3962596BbEroF','focusCycler','getFocusableElement','focusTracker','3849264fdiMXm','2683988zqDcVr','589890WzRxDa','true','7Qlhpox','12hOLbJa','createCollection','26667zFZQqD','5120NZxEfC','10107rKQFZL','forwardCycle'];_0x34bb=function(){return _0x34acb0;};return _0x34bb();}(function(_0x42c3bb,_0x33e587){var _0x5f4fed=_0x2e03,_0x3129f6=_0x42c3bb();while(!![]){try{var _0x4d0de5=-parseInt(_0x5f4fed(0x84))/0x1*(parseInt(_0x5f4fed(0x82))/0x2)+-parseInt(_0x5f4fed(0x88))/0x3+parseInt(_0x5f4fed(0x7e))/0x4*(-parseInt(_0x5f4fed(0x8b))/0x5)+parseInt(_0x5f4fed(0x7f))/0x6*(parseInt(_0x5f4fed(0x81))/0x7)+-parseInt(_0x5f4fed(0x7d))/0x8+parseInt(_0x5f4fed(0x86))/0x9*(parseInt(_0x5f4fed(0x85))/0xa)+-parseInt(_0x5f4fed(0x79))/0xb*(-parseInt(_0x5f4fed(0x78))/0xc);if(_0x4d0de5===_0x33e587)break;else _0x3129f6['push'](_0x3129f6['shift']());}catch(_0x490f42){_0x3129f6['push'](_0x3129f6['shift']());}}}(_0x34bb,0x725ab));function _0x2e03(_0x1f78bf,_0x25406b){var _0x34bbfa=_0x34bb();return _0x2e03=function(_0x2e037f,_0x5d9901){_0x2e037f=_0x2e037f-0x78;var _0x225f90=_0x34bbfa[_0x2e037f];return _0x225f90;},_0x2e03(_0x1f78bf,_0x25406b);}import{FocusTracker as _0x59b73f}from'ckeditor5/src/utils.js';import{View as _0x4be50d,FocusCycler as _0x18e8f0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4be50d{[_0x14055a(0x7c)];[_0x14055a(0x7a)];constructor(_0x832d1d){var _0x4e8459=_0x14055a;super(_0x832d1d),this[_0x4e8459(0x7c)]=new _0x59b73f(),this[_0x4e8459(0x7a)]=new _0x18e8f0({'focusables':this[_0x4e8459(0x83)](),'focusTracker':this[_0x4e8459(0x7c)]});}[_0x14055a(0x7b)](){var _0x9f12f9=_0x14055a;return{'tag':_0x9f12f9(0x8c),'attributes':{'aria-hidden':_0x9f12f9(0x80),'tabindex':'0'},'on':{'focus':this[_0x9f12f9(0x89)]['to'](()=>{var _0x2988cf=_0x9f12f9;this[_0x2988cf(0x7a)][_0x2988cf(0x8a)](_0x2988cf(0x87));})}};}}