@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250915.0 → 0.0.0-nightly-20250917.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 _0x8bbc(_0x22cf9a,_0x2538af){const _0x21188d=_0x2118();return _0x8bbc=function(_0x8bbc70,_0x629844){_0x8bbc70=_0x8bbc70-0x16b;let _0x2ba007=_0x21188d[_0x8bbc70];return _0x2ba007;},_0x8bbc(_0x22cf9a,_0x2538af);}const _0x362a92=_0x8bbc;(function(_0xd78eca,_0x56a700){const _0x4f2cfc=_0x8bbc,_0x166da0=_0xd78eca();while(!![]){try{const _0x11cabd=parseInt(_0x4f2cfc(0x19e))/0x1*(-parseInt(_0x4f2cfc(0x18e))/0x2)+-parseInt(_0x4f2cfc(0x1b5))/0x3*(parseInt(_0x4f2cfc(0x189))/0x4)+-parseInt(_0x4f2cfc(0x1b2))/0x5*(parseInt(_0x4f2cfc(0x186))/0x6)+parseInt(_0x4f2cfc(0x1a9))/0x7+-parseInt(_0x4f2cfc(0x16b))/0x8+parseInt(_0x4f2cfc(0x1a4))/0x9+parseInt(_0x4f2cfc(0x199))/0xa*(-parseInt(_0x4f2cfc(0x1c0))/0xb);if(_0x11cabd===_0x56a700)break;else _0x166da0['push'](_0x166da0['shift']());}catch(_0x272049){_0x166da0['push'](_0x166da0['shift']());}}}(_0x2118,0xe81d3));import{Plugin as _0x378753}from'ckeditor5/src/core.js';import{Dialog as _0x5b1305}from'ckeditor5/src/ui.js';function _0x2118(){const _0x2b00b0=['configElement','join','elementToAttribute','extend','uc-config','uploadcare.pubkey','config','editor','afterInit','href','_configElement','view','ctxElement','_initImageProcessingIndicator','uploadcare','downcast','pluginName','removeAttribute','init','for','contentLanguage','uploadcareImageId','UploadcareEditing','99678yyEDnc','true','ucContextId','1737172JxnOes','uploadcareImageReplace','commands','uploader-','querySelector','155106WljTKR','isOfficialPlugin','selection','#uc-icon-arrow-down','imageBlock','once','listenTo','fromCharCode','cleanupImage','editing','_initCtx','14500usnfQe','uc-upload-ctx-provider','uploadcare.uploader','render','map','1sOdgQK','imageInline','requires','_initSchema','locale','remove','16317783uNkAhJ','\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','destroy','PictureEditing','isRegistered','12739230peNcHV','closeMax','replaceImageSource','getAttribute','getSelectedElement','iconHrefResolver','_initConfig','schema','upcast','220RrpwYP','data-uc-image-id','_ctxElement','9uAZfNk','attributeToAttribute','conversion','appendChild','body','get','input[uploadcare-file-input]','insertImage','execute','isPremiumPlugin','_initConversion','3982obFxPn','367472bKKXHn','model','add','document'];_0x2118=function(){return _0x2b00b0;};return _0x2118();}import{createElement as _0x449d7f,global as _0xba07ea,uid as _0x44b456}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x169fba}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4b8f66}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x466869}from'./utils/editingutils.js';export class UploadcareEditing extends _0x378753{[_0x362a92(0x179)]=null;[_0x362a92(0x1b4)]=null;static get[_0x362a92(0x17f)](){const _0x21065f=_0x362a92;return _0x21065f(0x185);}static get[_0x362a92(0x1a0)](){const _0x322577=_0x362a92;return[_0x322577(0x1a7),_0x4b8f66,_0x5b1305];}static get[_0x362a92(0x18f)](){return!0x0;}static get[_0x362a92(0x1be)](){return!0x0;}[_0x362a92(0x188)];get[_0x362a92(0x16f)](){const _0x573e60=_0x362a92;return this[_0x573e60(0x179)];}get[_0x362a92(0x17b)](){const _0x2cde0b=_0x362a92;return this[_0x2cde0b(0x1b4)];}constructor(_0x4d0802){const _0x29c599=_0x362a92;super(_0x4d0802),this[_0x29c599(0x188)]=_0x44b456();}[_0x362a92(0x181)](){const _0x14c7ab=_0x362a92,_0x15c8d2=this[_0x14c7ab(0x176)];_0x15c8d2[_0x14c7ab(0x18b)][_0x14c7ab(0x16d)](_0x14c7ab(0x17d),new _0x169fba(_0x15c8d2));}[_0x362a92(0x177)](){const _0x278b50=_0x362a92;this[_0x278b50(0x1a1)](),this[_0x278b50(0x1bf)](),this[_0x278b50(0x1af)](),this[_0x278b50(0x198)](),this[_0x278b50(0x17c)](),this[_0x278b50(0x194)](this[_0x278b50(0x176)],_0x278b50(0x1a6),()=>{const _0x391855=_0x278b50;this[_0x391855(0x179)]&&(this[_0x391855(0x179)][_0x391855(0x1a3)](),this[_0x391855(0x179)]=null),this[_0x391855(0x1b4)]&&(this[_0x391855(0x1b4)][_0x391855(0x1a3)](),this[_0x391855(0x1b4)]=null);const _0x306c6f=_0xba07ea[_0x391855(0x16e)][_0x391855(0x18d)](_0x391855(0x1bb));_0x306c6f&&_0x306c6f[_0x391855(0x1a3)]();}),async function(_0x55f969){const _0x16dc55=_0x2a9dd4([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0xdee9b7=0x3d8d0df,_0x45605b=0x3dfa3af^_0xdee9b7,_0x1458a9=window[_0x2a9dd4([0x44,0x61,0x74,0x65])][_0x2a9dd4([0x6e,0x6f,0x77])](),_0x452bce=_0x55f969[_0x2a9dd4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cdb3c=new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a281e=>{_0x452bce[_0x2a9dd4([0x6f,0x6e,0x63,0x65])](_0x2a9dd4([0x72,0x65,0x61,0x64,0x79]),_0x4a281e);}),_0x195c73={[_0x2a9dd4([0x6b,0x74,0x79])]:_0x2a9dd4([0x45,0x43]),[_0x2a9dd4([0x75,0x73,0x65])]:_0x2a9dd4([0x73,0x69,0x67]),[_0x2a9dd4([0x63,0x72,0x76])]:_0x2a9dd4([0x50,0x2d,0x32,0x35,0x36]),[_0x2a9dd4([0x78])]:_0x2a9dd4([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]),[_0x2a9dd4([0x79])]:_0x2a9dd4([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]),[_0x2a9dd4([0x61,0x6c,0x67])]:_0x2a9dd4([0x45,0x53,0x32,0x35,0x36])},_0x4d6ada=_0x452bce[_0x2a9dd4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a9dd4([0x67,0x65,0x74])](_0x2a9dd4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x196d63(){let _0x4f54ed,_0x40fb3f=null,_0x1a89f8=null;try{if(_0x4d6ada==_0x2a9dd4([0x47,0x50,0x4c]))return _0x2a9dd4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f54ed=_0x40abca(),!_0x4f54ed)return _0x2a9dd4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f54ed[_0x2a9dd4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a89f8=_0x42e497(_0x4f54ed[_0x2a9dd4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f54ed[_0x2a9dd4([0x6a,0x74,0x69])])),await _0x1b1c97()?_0x57cff5()?_0x4e8ed2()?_0x2a9dd4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fad0b()?(_0x4f54ed[_0x2a9dd4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a9dd4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40fb3f=_0x4bddca(_0x2a9dd4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f54ed[_0x2a9dd4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a9dd4([0x74,0x72,0x69,0x61,0x6c])&&(_0x40fb3f=_0x4bddca(_0x2a9dd4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x331827()):_0x2a9dd4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a9dd4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a9dd4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a9dd4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e8ed2(){const _0x1f1900=[_0x2a9dd4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a9dd4([0x74,0x72,0x69,0x61,0x6c])][_0x2a9dd4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f54ed[_0x2a9dd4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1458a9/0x3e8:0xe10*_0x45605b;return _0x4f54ed[_0x2a9dd4([0x65,0x78,0x70])]<_0x1f1900;}function _0x57cff5(){const _0x4eaa48=_0x4f54ed[_0x2a9dd4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eaa48&&(!!_0x4eaa48[_0x2a9dd4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9dd4([0x2a]))||!!_0x4eaa48[_0x2a9dd4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9dd4([0x55,0x50,0x4c,0x43])));}function _0x1fad0b(){const _0x33d869=_0x8bbc,_0x258e56=_0x4f54ed[_0x2a9dd4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x258e56||0x0==_0x258e56[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b7142}=new URL(window[_0x2a9dd4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x33d869(0x178)]);if(_0x258e56[_0x2a9dd4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7142))return!0x0;const _0x57a68d=_0x5b7142[_0x2a9dd4([0x73,0x70,0x6c,0x69,0x74])](_0x2a9dd4([0x2e]));return _0x258e56[_0x2a9dd4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x567b87=>_0x567b87[_0x2a9dd4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a9dd4([0x2a])))[_0x2a9dd4([0x6d,0x61,0x70])](_0x554b09=>_0x554b09[_0x2a9dd4([0x73,0x70,0x6c,0x69,0x74])](_0x2a9dd4([0x2e])))[_0x2a9dd4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490c39=>_0x490c39[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57a68d[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a9dd4([0x6d,0x61,0x70])](_0x54dc40=>Array(_0x57a68d[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54dc40[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a9dd4([0x66,0x69,0x6c,0x6c])](_0x54dc40[0x0]===_0x2a9dd4([0x2a])?_0x2a9dd4([0x2a]):'')[_0x2a9dd4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54dc40))[_0x2a9dd4([0x73,0x6f,0x6d,0x65])](_0x2bc2ba=>_0x57a68d[_0x2a9dd4([0x65,0x76,0x65,0x72,0x79])]((_0x32d15b,_0xa5b445)=>_0x2bc2ba[_0xa5b445]===_0x32d15b||_0x2bc2ba[_0xa5b445]===_0x2a9dd4([0x2a])));}function _0x331827(){return _0x40fb3f&&_0x1a89f8?new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5532b3,_0x204f67)=>{_0x40fb3f[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0x5532b3,_0x204f67),_0x1a89f8[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0x4dac92=>{_0x4dac92!=_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64])&&_0x5532b3(_0x4dac92);},_0x204f67);}):_0x40fb3f||_0x1a89f8||_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42e497(_0x2aa19f,_0x4a0a65){return new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d3e78=>{if(_0x476365())return _0x5d3e78(_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64]));_0x5e22a4(),_0x452bce[_0x2a9dd4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a9dd4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48f0d0=!0x1;const _0x69b685=_0x44b456();function _0x5a4ee3(_0xcace0){return!!_0xcace0&&(typeof _0xcace0===_0x2a9dd4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcace0===_0x2a9dd4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcace0[_0x2a9dd4([0x74,0x68,0x65,0x6e])]===_0x2a9dd4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcace0[_0x2a9dd4([0x63,0x61,0x74,0x63,0x68])]===_0x2a9dd4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x222168(_0x19e546){_0xffd49e(_0x19e546)[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0x328b8c=>{if(!_0x328b8c||_0x328b8c[_0x2a9dd4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a9dd4([0x6f,0x6b]))return _0x2a9dd4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59c142(_0x177d3b(_0x69b685+_0x4a0a65))!=_0x328b8c[_0x2a9dd4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a9dd4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0x14324f=>(_0x25b3b1(),_0x14324f),()=>{const _0x4ff0d6=_0x50ff20();return null==_0x4ff0d6?(_0x25b3b1(),_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64])):_0x2a9dd4(_0x1458a9-_0x4ff0d6>(0x27d454df^_0xdee9b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0x5d3e78)[_0x2a9dd4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d3e78(_0x2a9dd4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18be10=0x3ee3e5f^_0xdee9b7;function _0x25b3b1(){const _0x1b2993=_0x2a9dd4([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c142(_0x177d3b(_0x2aa19f)),_0xb272fb=_0x172009(_0x59c142(window[_0x2a9dd4([0x4d,0x61,0x74,0x68])][_0x2a9dd4([0x63,0x65,0x69,0x6c])](_0x1458a9/_0x18be10)));window[_0x2a9dd4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a9dd4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b2993,_0xb272fb);}function _0x50ff20(){const _0x2a11fb=_0x2a9dd4([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c142(_0x177d3b(_0x2aa19f)),_0x1ff7e8=window[_0x2a9dd4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a9dd4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a11fb);return _0x1ff7e8?window[_0x2a9dd4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172009(_0x1ff7e8),0x10)*_0x18be10:null;}function _0xffd49e(_0x397715){return new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe01575,_0x1cae95)=>{_0x397715[_0x2a9dd4([0x74,0x68,0x65,0x6e])](_0xe01575,_0x1cae95),window[_0x2a9dd4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cae95,0x3d9041f^_0xdee9b7);});}}_0x452bce[_0x2a9dd4([0x6f,0x6e])](_0x2a9dd4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13dd47,_0x437b30)=>{if(_0x437b30[0x0]!=_0x2aa19f)return _0x5d3e78(_0x2a9dd4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x437b30[0x1]={..._0x437b30[0x1],[_0x2a9dd4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x69b685};},{[_0x2a9dd4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a9dd4([0x68,0x69,0x67,0x68])}),_0x452bce[_0x2a9dd4([0x6f,0x6e])](_0x2a9dd4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14c403=>{_0x5a4ee3(_0x14c403[_0x2a9dd4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48f0d0=!0x0,_0x222168(_0x14c403[_0x2a9dd4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a9dd4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a9dd4([0x6c,0x6f,0x77])}),_0x3cdb3c[_0x2a9dd4([0x74,0x68,0x65,0x6e])](()=>{_0x48f0d0||_0x5d3e78(_0x2a9dd4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x476365(){return _0x452bce[_0x2a9dd4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9dd4([0x76,0x69,0x65,0x77])][_0x2a9dd4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a9dd4([0x61,0x75,0x74,0x6f]);}function _0x5e22a4(){_0x452bce[_0x2a9dd4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a9dd4([0x76,0x69,0x65,0x77])][_0x2a9dd4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a9dd4([0x61,0x75,0x74,0x6f]);}}function _0x4bddca(_0x363e4e){const _0x4a2ce9=[new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d7be=>setTimeout(_0x48d7be,0x3d1ee13^_0xdee9b7)),_0x3cdb3c[_0x2a9dd4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b039=>{let _0x4fed1e=0x0;_0x452bce[_0x2a9dd4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9dd4([0x6f,0x6e])](_0x2a9dd4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14b1a4,_0x2a67a0)=>{_0x2a67a0[0x0][_0x2a9dd4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fed1e++,_0x4fed1e==(0x3d8d127^_0xdee9b7)&&(_0x33b039(),_0x14b1a4[_0x2a9dd4([0x6f,0x66,0x66])]());});}))];return window[_0x2a9dd4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a9dd4([0x72,0x61,0x63,0x65])](_0x4a2ce9)[_0x2a9dd4([0x74,0x68,0x65,0x6e])](()=>_0x363e4e);}async function _0x1c098d(){await _0x3cdb3c,_0x452bce[_0x2a9dd4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9dd4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf0110d,_0x452bce[_0x2a9dd4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a9dd4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf0110d,_0x452bce[_0x2a9dd4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a9dd4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x176ddf(_0x5d485b){const _0x381d2d=_0x51f28c();_0x452bce[_0x381d2d]=_0x2a9dd4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d485b,_0x5d485b!=_0x2a9dd4([0x56,0x61,0x6c,0x69,0x64])&&_0x1c098d();}function _0x51f28c(){const _0x1352ba=window[_0x2a9dd4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a9dd4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a9dd4([0x6e,0x6f,0x77])]())[_0x2a9dd4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a9dd4([0x2e]),'');let _0x2c506b=_0x2a9dd4([0x52]);for(let _0x20ba51=0x0;_0x20ba51<_0x1352ba[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ba51+=0x2){let _0x140be1=window[_0x2a9dd4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1352ba[_0x2a9dd4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ba51,_0x20ba51+0x2));_0x140be1>=_0x16dc55[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x140be1-=_0x16dc55[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c506b+=_0x16dc55[_0x140be1];}return _0x2c506b;}function _0x40abca(){const _0x65a185=_0x4d6ada[_0x2a9dd4([0x73,0x70,0x6c,0x69,0x74])](_0x2a9dd4([0x2e]));if(0x3!=_0x65a185[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d8078(_0x65a185[0x1]);function _0x3d8078(_0x362288){const _0x4b2413=_0x2ec5f0(_0x362288);return _0x4b2413&&_0x59c6c5()?_0x4b2413:null;function _0x59c6c5(){const _0x5dc7e4=_0x4b2413[_0x2a9dd4([0x6a,0x74,0x69])],_0xe4a5c7=window[_0x2a9dd4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dc7e4[_0x2a9dd4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dc7e4[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ee90c={..._0x4b2413,[_0x2a9dd4([0x6a,0x74,0x69])]:_0x5dc7e4[_0x2a9dd4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dc7e4[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ee90c[_0x2a9dd4([0x76,0x63])],_0x177d3b(_0x4ee90c)==_0xe4a5c7;}}}async function _0x1b1c97(){let _0x10a0a9=!0x0;try{const _0x198c7e=_0x4d6ada[_0x2a9dd4([0x73,0x70,0x6c,0x69,0x74])](_0x2a9dd4([0x2e])),[_0x28e212,_0x6a1250,_0x2b4142]=_0x198c7e;return _0x21fc49(_0x28e212),await _0x4d2200(_0x28e212,_0x6a1250,_0x2b4142),_0x10a0a9;}catch{return!0x1;}function _0x21fc49(_0x8dcf1e){const _0x1c6a66=_0x2ec5f0(_0x8dcf1e);_0x1c6a66&&_0x1c6a66[_0x2a9dd4([0x61,0x6c,0x67])]==_0x2a9dd4([0x45,0x53,0x32,0x35,0x36])||(_0x10a0a9=!0x1);}async function _0x4d2200(_0x4cc647,_0x582579,_0x7746b4){const _0x3eff0c=window[_0x2a9dd4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a9dd4([0x66,0x72,0x6f,0x6d])](_0x262eaf(_0x7746b4),_0x57924e=>_0x57924e[_0x2a9dd4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37bfee=new window[(_0x2a9dd4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a9dd4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cc647+_0x2a9dd4([0x2e])+_0x582579),_0x12905c=window[_0x2a9dd4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a9dd4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12905c)return;const _0x135912=await _0x12905c[_0x2a9dd4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a9dd4([0x6a,0x77,0x6b]),_0x195c73,{[_0x2a9dd4([0x6e,0x61,0x6d,0x65])]:_0x2a9dd4([0x45,0x43,0x44,0x53,0x41]),[_0x2a9dd4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a9dd4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a9dd4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12905c[_0x2a9dd4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a9dd4([0x6e,0x61,0x6d,0x65])]:_0x2a9dd4([0x45,0x43,0x44,0x53,0x41]),[_0x2a9dd4([0x68,0x61,0x73,0x68])]:{[_0x2a9dd4([0x6e,0x61,0x6d,0x65])]:_0x2a9dd4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x135912,_0x3eff0c,_0x37bfee)||(_0x10a0a9=!0x1);}}function _0x2ec5f0(_0x53bef5){return _0x53bef5[_0x2a9dd4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a9dd4([0x65,0x79]))?JSON[_0x2a9dd4([0x70,0x61,0x72,0x73,0x65])](_0x262eaf(_0x53bef5)):null;}function _0x262eaf(_0x5db628){return window[_0x2a9dd4([0x61,0x74,0x6f,0x62])](_0x5db628[_0x2a9dd4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a9dd4([0x2b]))[_0x2a9dd4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a9dd4([0x2f])));}function _0x177d3b(_0xfb0256){let _0x27af39=0x1505;function _0x46929e(_0xd37b42){for(let _0x5dd49=0x0;_0x5dd49<_0xd37b42[_0x2a9dd4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dd49++){const _0x50af4f=_0xd37b42[_0x2a9dd4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dd49);_0x27af39=(_0x27af39<<0x5)+_0x27af39+_0x50af4f,_0x27af39&=_0x27af39;}}function _0x2ad634(_0x1c38cf){Array[_0x2a9dd4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c38cf)?_0x1c38cf[_0x2a9dd4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ad634):_0x1c38cf&&typeof _0x1c38cf==_0x2a9dd4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a9dd4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c38cf)[_0x2a9dd4([0x73,0x6f,0x72,0x74])]()[_0x2a9dd4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c2f98,_0x1889b7])=>{_0x46929e(_0x3c2f98),_0x2ad634(_0x1889b7);}):_0x46929e(window[_0x2a9dd4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c38cf));}return _0x2ad634(_0xfb0256),_0x27af39>>>0x0;}function _0x59c142(_0x2a75ea){return _0x2a75ea[_0x2a9dd4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a9dd4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a9dd4([0x30]));}function _0x172009(_0x33ea8a){return _0x33ea8a[_0x2a9dd4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a9dd4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a9dd4([0x6a,0x6f,0x69,0x6e])]('');}function _0xf0110d(){}function _0x2a9dd4(_0x2cd607){const _0x50ddf5=_0x8bbc;return _0x2cd607[_0x50ddf5(0x19d)](_0x1c749d=>String[_0x50ddf5(0x195)](_0x1c749d))[_0x50ddf5(0x170)]('');}_0x176ddf(await _0x196d63());}(this);}[_0x362a92(0x1a1)](){const _0x2274f9=_0x362a92,_0x6615ee=this[_0x2274f9(0x176)][_0x2274f9(0x16c)][_0x2274f9(0x1b0)];_0x6615ee[_0x2274f9(0x1a8)](_0x2274f9(0x192))&&_0x6615ee[_0x2274f9(0x172)](_0x2274f9(0x192),{'allowAttributes':[_0x2274f9(0x184)]}),_0x6615ee[_0x2274f9(0x1a8)](_0x2274f9(0x19f))&&_0x6615ee[_0x2274f9(0x172)](_0x2274f9(0x19f),{'allowAttributes':[_0x2274f9(0x184)]});}[_0x362a92(0x1bf)](){const _0x3cf9ae=_0x362a92,_0x3d4ff5=this[_0x3cf9ae(0x176)];_0x3d4ff5[_0x3cf9ae(0x1b7)][_0x3cf9ae(0x182)](_0x3cf9ae(0x17e))[_0x3cf9ae(0x1b6)]({'model':_0x3cf9ae(0x184),'view':_0x3cf9ae(0x1b3)}),_0x3d4ff5[_0x3cf9ae(0x1b7)][_0x3cf9ae(0x182)](_0x3cf9ae(0x1b1))[_0x3cf9ae(0x171)]({'model':{'key':_0x3cf9ae(0x184),'value':_0x155eed=>_0x155eed[_0x3cf9ae(0x1ac)](_0x3cf9ae(0x1b3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1affbf=_0x3d4ff5[_0x3cf9ae(0x18b)][_0x3cf9ae(0x1ba)](_0x3cf9ae(0x1ab));_0x1affbf&&this[_0x3cf9ae(0x194)](_0x1affbf,_0x3cf9ae(0x196),(_0x575ce1,[_0x2c3e57,_0x19a134])=>{const _0x3077d1=_0x3cf9ae;_0x2c3e57[_0x3077d1(0x180)](_0x3077d1(0x184),_0x19a134);});}[_0x362a92(0x1af)](){const _0x380f62=_0x362a92,_0xa95e78=this[_0x380f62(0x176)][_0x380f62(0x175)][_0x380f62(0x1ba)](_0x380f62(0x19b))||{},_0x391f84=this[_0x380f62(0x176)][_0x380f62(0x175)][_0x380f62(0x1ba)](_0x380f62(0x174))||'';this[_0x380f62(0x179)]=_0x449d7f(_0xba07ea[_0x380f62(0x16e)],_0x380f62(0x173),{..._0xa95e78,'pubkey':_0x391f84,'ctx-name':_0x380f62(0x18c)+this[_0x380f62(0x188)],'sourceList':'','imgOnly':_0x380f62(0x187),'removeCopyright':_0x380f62(0x187),'localeName':this[_0x380f62(0x176)][_0x380f62(0x1a2)][_0x380f62(0x183)],'externalSourcesEmbedCss':_0x380f62(0x1a5)}),this[_0x380f62(0x179)][_0x380f62(0x1ae)]=_0x193107=>{const _0x2103c9=_0x380f62;if(_0x2103c9(0x1aa)==_0x193107)return _0x2103c9(0x191);},_0xba07ea[_0x380f62(0x16e)][_0x380f62(0x1b9)][_0x380f62(0x1b8)](this[_0x380f62(0x179)]);}[_0x362a92(0x198)](){const _0x365dfd=_0x362a92;this[_0x365dfd(0x1b4)]=_0x449d7f(_0xba07ea[_0x365dfd(0x16e)],_0x365dfd(0x19a),{'ctx-name':_0x365dfd(0x18c)+this[_0x365dfd(0x188)]}),_0xba07ea[_0x365dfd(0x16e)][_0x365dfd(0x1b9)][_0x365dfd(0x1b8)](this[_0x365dfd(0x1b4)]);}[_0x362a92(0x17c)](){const _0x2eafa8=_0x362a92,_0xd3005f=this[_0x2eafa8(0x176)][_0x2eafa8(0x18b)][_0x2eafa8(0x1ba)](_0x2eafa8(0x1bc));_0xd3005f&&this[_0x2eafa8(0x194)](_0xd3005f,_0x2eafa8(0x1bd),()=>{const _0x50677b=_0x2eafa8,_0x58390b=this[_0x50677b(0x176)][_0x50677b(0x16c)][_0x50677b(0x16e)][_0x50677b(0x190)][_0x50677b(0x1ad)]();_0x58390b&&_0x58390b[_0x50677b(0x1ac)](_0x50677b(0x184))&&this[_0x50677b(0x176)][_0x50677b(0x197)][_0x50677b(0x17a)][_0x50677b(0x193)](_0x50677b(0x19c),()=>{const _0x5b1562=_0x50677b;_0x466869(this[_0x5b1562(0x176)],_0x58390b);});});const _0x5f5bcf=this[_0x2eafa8(0x176)][_0x2eafa8(0x18b)][_0x2eafa8(0x1ba)](_0x2eafa8(0x18a));_0x5f5bcf&&this[_0x2eafa8(0x194)](_0x5f5bcf,_0x2eafa8(0x1bd),()=>{const _0x3bd5a5=_0x2eafa8,_0xd869d3=this[_0x3bd5a5(0x176)][_0x3bd5a5(0x16c)][_0x3bd5a5(0x16e)][_0x3bd5a5(0x190)][_0x3bd5a5(0x1ad)]();_0xd869d3&&_0xd869d3[_0x3bd5a5(0x1ac)](_0x3bd5a5(0x184))&&this[_0x3bd5a5(0x176)][_0x3bd5a5(0x197)][_0x3bd5a5(0x17a)][_0x3bd5a5(0x193)](_0x3bd5a5(0x19c),()=>{const _0x216d44=_0x3bd5a5;_0x466869(this[_0x216d44(0x176)],_0xd869d3);});});}}
23
+ const _0x51e700=_0x2832;function _0x2832(_0xf40e2c,_0x4ee3ff){const _0x14d7b0=_0x14d7();return _0x2832=function(_0x2832b1,_0x38c158){_0x2832b1=_0x2832b1-0xfa;let _0x21e710=_0x14d7b0[_0x2832b1];return _0x21e710;},_0x2832(_0xf40e2c,_0x4ee3ff);}(function(_0x40c031,_0x2a60fa){const _0x320c8f=_0x2832,_0x4c4342=_0x40c031();while(!![]){try{const _0x348809=parseInt(_0x320c8f(0x107))/0x1*(-parseInt(_0x320c8f(0x148))/0x2)+-parseInt(_0x320c8f(0x101))/0x3*(parseInt(_0x320c8f(0x129))/0x4)+-parseInt(_0x320c8f(0x14d))/0x5+-parseInt(_0x320c8f(0x145))/0x6*(parseInt(_0x320c8f(0xff))/0x7)+-parseInt(_0x320c8f(0x131))/0x8+parseInt(_0x320c8f(0x142))/0x9*(parseInt(_0x320c8f(0x10e))/0xa)+-parseInt(_0x320c8f(0x11d))/0xb*(-parseInt(_0x320c8f(0x113))/0xc);if(_0x348809===_0x2a60fa)break;else _0x4c4342['push'](_0x4c4342['shift']());}catch(_0x5af622){_0x4c4342['push'](_0x4c4342['shift']());}}}(_0x14d7,0x8658e));import{Plugin as _0xc18d08}from'ckeditor5/src/core.js';import{Dialog as _0x108151}from'ckeditor5/src/ui.js';import{createElement as _0x15ac9c,global as _0x46bc30,uid as _0x3aab78}from'ckeditor5/src/utils.js';function _0x14d7(){const _0xc3d670=['conversion','#uc-icon-arrow-down','true','model','_initCtx','getAttribute','9VuryRU','\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','render','61818ZMxhQZ','input[uploadcare-file-input]','pluginName','45334SREupm','data-uc-image-id','uploadcareImageId','isRegistered','get','2984095sUiNQz','remove','elementToAttribute','getSelectedElement','uploadcareImageReplace','replaceImageSource','isOfficialPlugin','href','ctxElement','203QSjyyM','listenTo','3tLSonV','contentLanguage','_configElement','for','uploadcare','cleanupImage','1MVdlrn','iconHrefResolver','map','uc-upload-ctx-provider','_initImageProcessingIndicator','init','once','3644690LUFrTC','insertImage','imageBlock','requires','uploader-','36fhggUc','PictureEditing','editor','execute','attributeToAttribute','closeMax','querySelector','uploadcare.pubkey','selection','_initConversion','6732539TwpkaF','removeAttribute','destroy','schema','document','afterInit','commands','_initConfig','appendChild','locale','imageInline','configElement','2458948AGIjBk','upcast','body','UploadcareEditing','add','isPremiumPlugin','config','_initSchema','938560NzSfwW','_ctxElement','uc-config','editing','view','fromCharCode','ucContextId','join','downcast','uploadcare.uploader','extend'];_0x14d7=function(){return _0xc3d670;};return _0x14d7();}import{UploadcareCommand as _0x3a09e3}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x57eb36}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3a26de}from'./utils/editingutils.js';export class UploadcareEditing extends _0xc18d08{[_0x51e700(0x103)]=null;[_0x51e700(0x132)]=null;static get[_0x51e700(0x147)](){const _0x434a29=_0x51e700;return _0x434a29(0x12c);}static get[_0x51e700(0x111)](){const _0x55d651=_0x51e700;return[_0x55d651(0x114),_0x57eb36,_0x108151];}static get[_0x51e700(0xfc)](){return!0x0;}static get[_0x51e700(0x12e)](){return!0x0;}[_0x51e700(0x137)];get[_0x51e700(0x128)](){const _0x143a62=_0x51e700;return this[_0x143a62(0x103)];}get[_0x51e700(0xfe)](){const _0xd981ea=_0x51e700;return this[_0xd981ea(0x132)];}constructor(_0x114e45){const _0x4632da=_0x51e700;super(_0x114e45),this[_0x4632da(0x137)]=_0x3aab78();}[_0x51e700(0x10c)](){const _0x526bd6=_0x51e700,_0x2b5a37=this[_0x526bd6(0x115)];_0x2b5a37[_0x526bd6(0x123)][_0x526bd6(0x12d)](_0x526bd6(0x105),new _0x3a09e3(_0x2b5a37));}[_0x51e700(0x122)](){const _0x1df5d3=_0x51e700;this[_0x1df5d3(0x130)](),this[_0x1df5d3(0x11c)](),this[_0x1df5d3(0x124)](),this[_0x1df5d3(0x140)](),this[_0x1df5d3(0x10b)](),this[_0x1df5d3(0x100)](this[_0x1df5d3(0x115)],_0x1df5d3(0x11f),()=>{const _0xdf1933=_0x1df5d3;this[_0xdf1933(0x103)]&&(this[_0xdf1933(0x103)][_0xdf1933(0x14e)](),this[_0xdf1933(0x103)]=null),this[_0xdf1933(0x132)]&&(this[_0xdf1933(0x132)][_0xdf1933(0x14e)](),this[_0xdf1933(0x132)]=null);const _0x2bf52c=_0x46bc30[_0xdf1933(0x121)][_0xdf1933(0x119)](_0xdf1933(0x146));_0x2bf52c&&_0x2bf52c[_0xdf1933(0x14e)]();}),async function(_0x48d91c){const _0xc55ad2=_0x499058([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0xe96f30=0x3d8d0df,_0x1aa98=0x3dfa37f^_0xe96f30,_0x20dc01=window[_0x499058([0x44,0x61,0x74,0x65])][_0x499058([0x6e,0x6f,0x77])](),_0x55b162=_0x48d91c[_0x499058([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a9bfb=new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a9c06=>{_0x55b162[_0x499058([0x6f,0x6e,0x63,0x65])](_0x499058([0x72,0x65,0x61,0x64,0x79]),_0x3a9c06);}),_0x506f65={[_0x499058([0x6b,0x74,0x79])]:_0x499058([0x45,0x43]),[_0x499058([0x75,0x73,0x65])]:_0x499058([0x73,0x69,0x67]),[_0x499058([0x63,0x72,0x76])]:_0x499058([0x50,0x2d,0x32,0x35,0x36]),[_0x499058([0x78])]:_0x499058([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]),[_0x499058([0x79])]:_0x499058([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]),[_0x499058([0x61,0x6c,0x67])]:_0x499058([0x45,0x53,0x32,0x35,0x36])},_0x59a508=_0x55b162[_0x499058([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x499058([0x67,0x65,0x74])](_0x499058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12c0a3(){let _0x26b014,_0x1c0d78=null,_0x4dd35e=null;try{if(_0x59a508==_0x499058([0x47,0x50,0x4c]))return _0x499058([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26b014=_0x159c5c(),!_0x26b014)return _0x499058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26b014[_0x499058([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dd35e=_0x2a25a1(_0x26b014[_0x499058([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26b014[_0x499058([0x6a,0x74,0x69])])),await _0x17bed1()?_0xfcbb6e()?_0x594c45()?_0x499058([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20712f()?(_0x26b014[_0x499058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x499058([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c0d78=_0x5695e8(_0x499058([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26b014[_0x499058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x499058([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c0d78=_0x5695e8(_0x499058([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5000ac()):_0x499058([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x499058([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x499058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x499058([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x594c45(){const _0x4b94ee=[_0x499058([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x499058([0x74,0x72,0x69,0x61,0x6c])][_0x499058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b014[_0x499058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20dc01/0x3e8:0xe10*_0x1aa98;return _0x26b014[_0x499058([0x65,0x78,0x70])]<_0x4b94ee;}function _0xfcbb6e(){const _0x52991a=_0x26b014[_0x499058([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52991a&&(!!_0x52991a[_0x499058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x499058([0x2a]))||!!_0x52991a[_0x499058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x499058([0x55,0x50,0x4c,0x43])));}function _0x20712f(){const _0x12217b=_0x2832,_0x1f570c=_0x26b014[_0x499058([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f570c||0x0==_0x1f570c[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c6872}=new URL(window[_0x499058([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12217b(0xfd)]);if(_0x1f570c[_0x499058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c6872))return!0x0;const _0x31d2c5=_0x3c6872[_0x499058([0x73,0x70,0x6c,0x69,0x74])](_0x499058([0x2e]));return _0x1f570c[_0x499058([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x393c70=>_0x393c70[_0x499058([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x499058([0x2a])))[_0x499058([0x6d,0x61,0x70])](_0x3aaec4=>_0x3aaec4[_0x499058([0x73,0x70,0x6c,0x69,0x74])](_0x499058([0x2e])))[_0x499058([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x184038=>_0x184038[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31d2c5[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x499058([0x6d,0x61,0x70])](_0xbbee34=>Array(_0x31d2c5[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbbee34[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x499058([0x66,0x69,0x6c,0x6c])](_0xbbee34[0x0]===_0x499058([0x2a])?_0x499058([0x2a]):'')[_0x499058([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbbee34))[_0x499058([0x73,0x6f,0x6d,0x65])](_0x8d7e00=>_0x31d2c5[_0x499058([0x65,0x76,0x65,0x72,0x79])]((_0x1df853,_0x123e5c)=>_0x8d7e00[_0x123e5c]===_0x1df853||_0x8d7e00[_0x123e5c]===_0x499058([0x2a])));}function _0x5000ac(){return _0x1c0d78&&_0x4dd35e?new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56a7f1,_0x433da6)=>{_0x1c0d78[_0x499058([0x74,0x68,0x65,0x6e])](_0x56a7f1,_0x433da6),_0x4dd35e[_0x499058([0x74,0x68,0x65,0x6e])](_0x58a54d=>{_0x58a54d!=_0x499058([0x56,0x61,0x6c,0x69,0x64])&&_0x56a7f1(_0x58a54d);},_0x433da6);}):_0x1c0d78||_0x4dd35e||_0x499058([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a25a1(_0x5b7870,_0x88a1cb){return new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b8bdb=>{if(_0xf45bc6())return _0x1b8bdb(_0x499058([0x56,0x61,0x6c,0x69,0x64]));_0x54259f(),_0x55b162[_0x499058([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x499058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45f43b=!0x1;const _0x36ad38=_0x3aab78();function _0x399e0c(_0x3a8f4f){return!!_0x3a8f4f&&(typeof _0x3a8f4f===_0x499058([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a8f4f===_0x499058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a8f4f[_0x499058([0x74,0x68,0x65,0x6e])]===_0x499058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a8f4f[_0x499058([0x63,0x61,0x74,0x63,0x68])]===_0x499058([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9d6bce(_0x4c6256){_0x5ced13(_0x4c6256)[_0x499058([0x74,0x68,0x65,0x6e])](_0x1fe653=>{if(!_0x1fe653||_0x1fe653[_0x499058([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x499058([0x6f,0x6b]))return _0x499058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x155747(_0x1c5e46(_0x36ad38+_0x88a1cb))!=_0x1fe653[_0x499058([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x499058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x499058([0x56,0x61,0x6c,0x69,0x64]);})[_0x499058([0x74,0x68,0x65,0x6e])](_0x34e988=>(_0x2948df(),_0x34e988),()=>{const _0x5d819d=_0x1c33ff();return null==_0x5d819d?(_0x2948df(),_0x499058([0x56,0x61,0x6c,0x69,0x64])):_0x499058(_0x20dc01-_0x5d819d>(0x27d454df^_0xe96f30)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x499058([0x74,0x68,0x65,0x6e])](_0x1b8bdb)[_0x499058([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b8bdb(_0x499058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfdec0c=0x3ee3e5f^_0xe96f30;function _0x2948df(){const _0x3c5435=_0x499058([0x6c,0x6c,0x63,0x74,0x2d])+_0x155747(_0x1c5e46(_0x5b7870)),_0x47281f=_0x4ede02(_0x155747(window[_0x499058([0x4d,0x61,0x74,0x68])][_0x499058([0x63,0x65,0x69,0x6c])](_0x20dc01/_0xfdec0c)));window[_0x499058([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x499058([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c5435,_0x47281f);}function _0x1c33ff(){const _0x26c7d0=_0x499058([0x6c,0x6c,0x63,0x74,0x2d])+_0x155747(_0x1c5e46(_0x5b7870)),_0x127bf5=window[_0x499058([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x499058([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c7d0);return _0x127bf5?window[_0x499058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ede02(_0x127bf5),0x10)*_0xfdec0c:null;}function _0x5ced13(_0x127c25){return new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c79c1,_0x36d4ce)=>{_0x127c25[_0x499058([0x74,0x68,0x65,0x6e])](_0x3c79c1,_0x36d4ce),window[_0x499058([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36d4ce,0x3d9041f^_0xe96f30);});}}_0x55b162[_0x499058([0x6f,0x6e])](_0x499058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14a8b9,_0x3c6985)=>{if(_0x3c6985[0x0]!=_0x5b7870)return _0x1b8bdb(_0x499058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c6985[0x1]={..._0x3c6985[0x1],[_0x499058([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36ad38};},{[_0x499058([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x499058([0x68,0x69,0x67,0x68])}),_0x55b162[_0x499058([0x6f,0x6e])](_0x499058([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21f9cd=>{_0x399e0c(_0x21f9cd[_0x499058([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45f43b=!0x0,_0x9d6bce(_0x21f9cd[_0x499058([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x499058([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x499058([0x6c,0x6f,0x77])}),_0x3a9bfb[_0x499058([0x74,0x68,0x65,0x6e])](()=>{_0x45f43b||_0x1b8bdb(_0x499058([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf45bc6(){return _0x55b162[_0x499058([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x499058([0x76,0x69,0x65,0x77])][_0x499058([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x499058([0x61,0x75,0x74,0x6f]);}function _0x54259f(){_0x55b162[_0x499058([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x499058([0x76,0x69,0x65,0x77])][_0x499058([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x499058([0x61,0x75,0x74,0x6f]);}}function _0x5695e8(_0x30a8eb){const _0x48a07a=[new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb69e=>setTimeout(_0x1fb69e,0x3d1ee13^_0xe96f30)),_0x3a9bfb[_0x499058([0x74,0x68,0x65,0x6e])](()=>new window[(_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x330f25=>{let _0x5d505d=0x0;_0x55b162[_0x499058([0x6d,0x6f,0x64,0x65,0x6c])][_0x499058([0x6f,0x6e])](_0x499058([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3dcb93,_0x1c7fc9)=>{_0x1c7fc9[0x0][_0x499058([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d505d++,_0x5d505d==(0x3d8d127^_0xe96f30)&&(_0x330f25(),_0x3dcb93[_0x499058([0x6f,0x66,0x66])]());});}))];return window[_0x499058([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x499058([0x72,0x61,0x63,0x65])](_0x48a07a)[_0x499058([0x74,0x68,0x65,0x6e])](()=>_0x30a8eb);}async function _0x133508(){await _0x3a9bfb,_0x55b162[_0x499058([0x6d,0x6f,0x64,0x65,0x6c])][_0x499058([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a0214,_0x55b162[_0x499058([0x6d,0x6f,0x64,0x65,0x6c])][_0x499058([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a0214,_0x55b162[_0x499058([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x499058([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ac828(_0x1dc7ab){const _0x32e7ec=_0x20928c();_0x55b162[_0x32e7ec]=_0x499058([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dc7ab,_0x1dc7ab!=_0x499058([0x56,0x61,0x6c,0x69,0x64])&&_0x133508();}function _0x20928c(){const _0x49803e=window[_0x499058([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x499058([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x499058([0x6e,0x6f,0x77])]())[_0x499058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x499058([0x2e]),'');let _0x14c992=_0x499058([0x52]);for(let _0x57d6bf=0x0;_0x57d6bf<_0x49803e[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57d6bf+=0x2){let _0x4ab0a1=window[_0x499058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49803e[_0x499058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57d6bf,_0x57d6bf+0x2));_0x4ab0a1>=_0xc55ad2[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ab0a1-=_0xc55ad2[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14c992+=_0xc55ad2[_0x4ab0a1];}return _0x14c992;}function _0x159c5c(){const _0x2cdbf7=_0x59a508[_0x499058([0x73,0x70,0x6c,0x69,0x74])](_0x499058([0x2e]));if(0x3!=_0x2cdbf7[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58ec4f(_0x2cdbf7[0x1]);function _0x58ec4f(_0x42d9fe){const _0x1f4a9d=_0x370fdf(_0x42d9fe);return _0x1f4a9d&&_0x51f355()?_0x1f4a9d:null;function _0x51f355(){const _0x4ff335=_0x1f4a9d[_0x499058([0x6a,0x74,0x69])],_0x107efc=window[_0x499058([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ff335[_0x499058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ff335[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bcc1b={..._0x1f4a9d,[_0x499058([0x6a,0x74,0x69])]:_0x4ff335[_0x499058([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ff335[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bcc1b[_0x499058([0x76,0x63])],_0x1c5e46(_0x4bcc1b)==_0x107efc;}}}async function _0x17bed1(){let _0x509c5e=!0x0;try{const _0x31a771=_0x59a508[_0x499058([0x73,0x70,0x6c,0x69,0x74])](_0x499058([0x2e])),[_0x553439,_0xe84e38,_0x1b17cb]=_0x31a771;return _0x5abee6(_0x553439),await _0x1c505a(_0x553439,_0xe84e38,_0x1b17cb),_0x509c5e;}catch{return!0x1;}function _0x5abee6(_0x48eb8c){const _0x5479ef=_0x370fdf(_0x48eb8c);_0x5479ef&&_0x5479ef[_0x499058([0x61,0x6c,0x67])]==_0x499058([0x45,0x53,0x32,0x35,0x36])||(_0x509c5e=!0x1);}async function _0x1c505a(_0x2575ac,_0x12d18a,_0x3e0b56){const _0x465b1d=window[_0x499058([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x499058([0x66,0x72,0x6f,0x6d])](_0x3efd99(_0x3e0b56),_0x199336=>_0x199336[_0x499058([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c06f4=new window[(_0x499058([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x499058([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2575ac+_0x499058([0x2e])+_0x12d18a),_0x500056=window[_0x499058([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x499058([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x500056)return;const _0x12c874=await _0x500056[_0x499058([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x499058([0x6a,0x77,0x6b]),_0x506f65,{[_0x499058([0x6e,0x61,0x6d,0x65])]:_0x499058([0x45,0x43,0x44,0x53,0x41]),[_0x499058([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x499058([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x499058([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x500056[_0x499058([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x499058([0x6e,0x61,0x6d,0x65])]:_0x499058([0x45,0x43,0x44,0x53,0x41]),[_0x499058([0x68,0x61,0x73,0x68])]:{[_0x499058([0x6e,0x61,0x6d,0x65])]:_0x499058([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12c874,_0x465b1d,_0x2c06f4)||(_0x509c5e=!0x1);}}function _0x370fdf(_0xf9aefc){return _0xf9aefc[_0x499058([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x499058([0x65,0x79]))?JSON[_0x499058([0x70,0x61,0x72,0x73,0x65])](_0x3efd99(_0xf9aefc)):null;}function _0x3efd99(_0x305af4){return window[_0x499058([0x61,0x74,0x6f,0x62])](_0x305af4[_0x499058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x499058([0x2b]))[_0x499058([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x499058([0x2f])));}function _0x1c5e46(_0x4b088a){let _0x270120=0x1505;function _0x2cffbf(_0x4a226b){for(let _0x66664c=0x0;_0x66664c<_0x4a226b[_0x499058([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x66664c++){const _0x264f31=_0x4a226b[_0x499058([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x66664c);_0x270120=(_0x270120<<0x5)+_0x270120+_0x264f31,_0x270120&=_0x270120;}}function _0x4941cb(_0x467ae6){Array[_0x499058([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x467ae6)?_0x467ae6[_0x499058([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4941cb):_0x467ae6&&typeof _0x467ae6==_0x499058([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x499058([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x467ae6)[_0x499058([0x73,0x6f,0x72,0x74])]()[_0x499058([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58c9de,_0x5bc9c8])=>{_0x2cffbf(_0x58c9de),_0x4941cb(_0x5bc9c8);}):_0x2cffbf(window[_0x499058([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x467ae6));}return _0x4941cb(_0x4b088a),_0x270120>>>0x0;}function _0x155747(_0x18d7ac){return _0x18d7ac[_0x499058([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x499058([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x499058([0x30]));}function _0x4ede02(_0x53e011){return _0x53e011[_0x499058([0x73,0x70,0x6c,0x69,0x74])]('')[_0x499058([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x499058([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a0214(){}function _0x499058(_0x5365e5){const _0x37d2fe=_0x2832;return _0x5365e5[_0x37d2fe(0x109)](_0x4fd9c9=>String[_0x37d2fe(0x136)](_0x4fd9c9))[_0x37d2fe(0x138)]('');}_0x3ac828(await _0x12c0a3());}(this);}[_0x51e700(0x130)](){const _0x43452b=_0x51e700,_0x3acec8=this[_0x43452b(0x115)][_0x43452b(0x13f)][_0x43452b(0x120)];_0x3acec8[_0x43452b(0x14b)](_0x43452b(0x110))&&_0x3acec8[_0x43452b(0x13b)](_0x43452b(0x110),{'allowAttributes':[_0x43452b(0x14a)]}),_0x3acec8[_0x43452b(0x14b)](_0x43452b(0x127))&&_0x3acec8[_0x43452b(0x13b)](_0x43452b(0x127),{'allowAttributes':[_0x43452b(0x14a)]});}[_0x51e700(0x11c)](){const _0x3f8033=_0x51e700,_0x24b2ad=this[_0x3f8033(0x115)];_0x24b2ad[_0x3f8033(0x13c)][_0x3f8033(0x104)](_0x3f8033(0x139))[_0x3f8033(0x117)]({'model':_0x3f8033(0x14a),'view':_0x3f8033(0x149)}),_0x24b2ad[_0x3f8033(0x13c)][_0x3f8033(0x104)](_0x3f8033(0x12a))[_0x3f8033(0x14f)]({'model':{'key':_0x3f8033(0x14a),'value':_0x1acf80=>_0x1acf80[_0x3f8033(0x141)](_0x3f8033(0x149))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x583217=_0x24b2ad[_0x3f8033(0x123)][_0x3f8033(0x14c)](_0x3f8033(0xfb));_0x583217&&this[_0x3f8033(0x100)](_0x583217,_0x3f8033(0x106),(_0x3d8d25,[_0x216829,_0xe44c39])=>{const _0x5788af=_0x3f8033;_0x216829[_0x5788af(0x11e)](_0x5788af(0x14a),_0xe44c39);});}[_0x51e700(0x124)](){const _0x2f6a5a=_0x51e700,_0x5a912b=this[_0x2f6a5a(0x115)][_0x2f6a5a(0x12f)][_0x2f6a5a(0x14c)](_0x2f6a5a(0x13a))||{},_0x2ff9a7=this[_0x2f6a5a(0x115)][_0x2f6a5a(0x12f)][_0x2f6a5a(0x14c)](_0x2f6a5a(0x11a))||'';this[_0x2f6a5a(0x103)]=_0x15ac9c(_0x46bc30[_0x2f6a5a(0x121)],_0x2f6a5a(0x133),{..._0x5a912b,'pubkey':_0x2ff9a7,'ctx-name':_0x2f6a5a(0x112)+this[_0x2f6a5a(0x137)],'sourceList':'','imgOnly':_0x2f6a5a(0x13e),'removeCopyright':_0x2f6a5a(0x13e),'localeName':this[_0x2f6a5a(0x115)][_0x2f6a5a(0x126)][_0x2f6a5a(0x102)],'externalSourcesEmbedCss':_0x2f6a5a(0x143)}),this[_0x2f6a5a(0x103)][_0x2f6a5a(0x108)]=_0x10d35c=>{const _0x3b9247=_0x2f6a5a;if(_0x3b9247(0x118)==_0x10d35c)return _0x3b9247(0x13d);},_0x46bc30[_0x2f6a5a(0x121)][_0x2f6a5a(0x12b)][_0x2f6a5a(0x125)](this[_0x2f6a5a(0x103)]);}[_0x51e700(0x140)](){const _0x4ac223=_0x51e700;this[_0x4ac223(0x132)]=_0x15ac9c(_0x46bc30[_0x4ac223(0x121)],_0x4ac223(0x10a),{'ctx-name':_0x4ac223(0x112)+this[_0x4ac223(0x137)]}),_0x46bc30[_0x4ac223(0x121)][_0x4ac223(0x12b)][_0x4ac223(0x125)](this[_0x4ac223(0x132)]);}[_0x51e700(0x10b)](){const _0x1a4bab=_0x51e700,_0x220b0b=this[_0x1a4bab(0x115)][_0x1a4bab(0x123)][_0x1a4bab(0x14c)](_0x1a4bab(0x10f));_0x220b0b&&this[_0x1a4bab(0x100)](_0x220b0b,_0x1a4bab(0x116),()=>{const _0x5a3902=_0x1a4bab,_0x556cdf=this[_0x5a3902(0x115)][_0x5a3902(0x13f)][_0x5a3902(0x121)][_0x5a3902(0x11b)][_0x5a3902(0x150)]();_0x556cdf&&_0x556cdf[_0x5a3902(0x141)](_0x5a3902(0x14a))&&this[_0x5a3902(0x115)][_0x5a3902(0x134)][_0x5a3902(0x135)][_0x5a3902(0x10d)](_0x5a3902(0x144),()=>{const _0x535b52=_0x5a3902;_0x3a26de(this[_0x535b52(0x115)],_0x556cdf);});});const _0x322d95=this[_0x1a4bab(0x115)][_0x1a4bab(0x123)][_0x1a4bab(0x14c)](_0x1a4bab(0xfa));_0x322d95&&this[_0x1a4bab(0x100)](_0x322d95,_0x1a4bab(0x116),()=>{const _0x1ee44b=_0x1a4bab,_0xae0027=this[_0x1ee44b(0x115)][_0x1ee44b(0x13f)][_0x1ee44b(0x121)][_0x1ee44b(0x11b)][_0x1ee44b(0x150)]();_0xae0027&&_0xae0027[_0x1ee44b(0x141)](_0x1ee44b(0x14a))&&this[_0x1ee44b(0x115)][_0x1ee44b(0x134)][_0x1ee44b(0x135)][_0x1ee44b(0x10d)](_0x1ee44b(0x144),()=>{const _0x16f8ce=_0x1ee44b;_0x3a26de(this[_0x16f8ce(0x115)],_0xae0027);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x322286,ObservableMixin as _0x2a0be5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c38b3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18d422}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x11d5cc}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x17abfd}from'../../utils/uploadutils.js';import{getImageUrls as _0x1d2747,getImageDimension as _0x5568d}from'../../utils/editingutils.js';import{isAncestor as _0x3bf216}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2a0be5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x18b92d,_0x42fe8b,_0x1b482c){super(),this['_editor']=_0x18b92d,this['_dialog']=_0x42fe8b,this['_imageElement']=_0x1b482c,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 _0x996eb8=this['_imageElement'],_0x1fbbdb=_0x996eb8['getAttribute']('uploadcareImageId'),_0x30ac29=_0x996eb8['getAttribute']('src');if(_0x1fbbdb)await this['_loadImageInfo'](_0x1fbbdb,_0x30ac29);else{if(this['_imageCache']['has'](_0x30ac29)){const _0x4d40bb=this['_imageCache']['get'](_0x30ac29);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d40bb['url'],this['imageDimension']=_0x4d40bb['dimension'],this['imageId']=_0x4d40bb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x588499}=this['_editor'],t=_0x588499['t'],_0x4f8750=new _0x11d5cc(_0x588499,this['imageStatus'],this['_attributes']);_0x4f8750['bind']('status')['to'](this,'imageStatus'),_0x4f8750['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4f8750['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4f8750['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4f8750,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18d422,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4f8750,'position':_0x5c38b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4f8750['focus']();},'onHide':()=>{_0x4f8750['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fdb0a=>!_0x3bf216(_0x2fdb0a,_0x4f8750['element'])}});}['_loadImageInfo'](_0x4decc4,_0x28560d){return _0x17abfd['getInfo'](_0x4decc4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2a9f00=>{const {width:_0x4531c5,height:_0x57b669}=_0x2a9f00['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28560d,this['imageDimension']={'width':_0x4531c5,'height':_0x57b669},this['imageId']=_0x4decc4;})['catch'](_0x1166c0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1166c0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x513069,_0x402f64){return this['_getImageAsFile'](_0x513069)['then'](_0x2b1c4c=>_0x17abfd['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':_0x402f64['signal'],'file':_0x2b1c4c,'onProgress':_0x103389=>{_0x103389&&_0x103389['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x103389['value']));}}))['then'](_0x4599ba=>{const {width:_0x6c429d,height:_0x3efc65}=_0x4599ba['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4599ba['cdnUrl'],this['imageDimension']={'width':_0x6c429d,'height':_0x3efc65},this['imageId']=_0x4599ba['uuid'],this['imageUploadProgress']=null;const _0x398439=_0x513069['getAttribute']('src');this['_imageCache']['set'](_0x398439,{'id':_0x4599ba['uuid'],'url':_0x4599ba['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b1b3b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b1b3b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2d582e,_0x1f8e23){_0x2d582e['on']('apply',(_0x175107,_0x586e60)=>{this['_replaceImage'](_0x1f8e23,_0x586e60['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2d582e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2d582e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5811ee,_0x4e2a72,_0x20a1be){const _0x5c0771=this['_editor'],{width:_0x4a32b9,height:_0x486b75}=_0x5568d(_0x4e2a72,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3654fa,imageSources:_0x4bd7fa}=_0x1d2747(_0x4e2a72,_0x4a32b9);_0x5c0771['model']['change'](_0x496c7c=>{if('$graveyard'===_0x5811ee['root']['rootName']){_0x5c0771['execute']('insertImage',{'imageType':_0x5811ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5811ee['getAttributes']()),'uploadcareImageId':_0x20a1be,'src':_0x3654fa,'sources':_0x4bd7fa,'width':_0x4a32b9,'height':_0x486b75}});const _0x454ccd=_0x5811ee['getChildren']();_0x5811ee=_0x5c0771['model']['document']['selection']['getSelectedElement']();for(const _0x1001ac of _0x454ccd)_0x496c7c['append'](_0x496c7c['cloneElement'](_0x1001ac),_0x5811ee);}else _0x496c7c['setSelection'](_0x5811ee,'on'),_0x5c0771['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5811ee['getAttributes']()),'uploadcareImageId':_0x20a1be,'src':_0x3654fa,'sources':_0x4bd7fa,'width':_0x4a32b9,'height':_0x486b75},_0x5811ee);_0x496c7c['setSelection'](_0x5811ee,'on');});}async['_getImageAsFile'](_0x3e9b57){const _0x470dcf=_0x322286['window'],_0x156ff7=_0x322286['document']['location']['href'],_0x4f2b0c=new _0x470dcf['URL'](_0x3e9b57['getAttribute']('src'),_0x156ff7);if('data:'===_0x4f2b0c['protocol']){const _0xda6cfe=_0x4f2b0c['href']['split'](','),_0x29cfda=_0xda6cfe[0x0]['match'](/:(.*?);/)[0x1],_0x2d2c94=_0x29cfda['split']('/')[0x1],_0x6ffbfc=_0x470dcf['atob'](_0xda6cfe[_0xda6cfe['length']-0x1]);let _0xb72998=_0x6ffbfc['length'];const _0x7edd4e=new _0x470dcf['Uint8Array'](_0xb72998);for(;_0xb72998--;)_0x7edd4e[_0xb72998]=_0x6ffbfc['charCodeAt'](_0xb72998);return new _0x470dcf['File']([_0x7edd4e],'image.'+_0x2d2c94,{'type':_0x29cfda});}const _0x1cb302=_0x4f2b0c['href']['split']('/'),_0x16d889=_0x1cb302[_0x1cb302['length']-0x1],_0x4b1d51=_0x16d889['split']('.')[0x1];return _0x470dcf['fetch'](_0x4f2b0c['href'])['then'](_0x272a0b=>_0x272a0b['clone']()['blob']())['then'](_0x3054ff=>new _0x470dcf['File']([_0x3054ff],_0x16d889,{'type':'image/'+_0x4b1d51}));}}
23
+ import{global as _0x574b9e,ObservableMixin as _0x4ada2a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x180fff}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x377bd7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4a54ac}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3a74e1}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a4757,getImageDimension as _0x9c2d69}from'../../utils/editingutils.js';import{isAncestor as _0x461437}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4ada2a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5c5018,_0x77945c,_0x234be0){super(),this['_editor']=_0x5c5018,this['_dialog']=_0x77945c,this['_imageElement']=_0x234be0,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 _0x2ca66f=this['_imageElement'],_0x31d772=_0x2ca66f['getAttribute']('uploadcareImageId'),_0xe64da2=_0x2ca66f['getAttribute']('src');if(_0x31d772)await this['_loadImageInfo'](_0x31d772,_0xe64da2);else{if(this['_imageCache']['has'](_0xe64da2)){const _0x525459=this['_imageCache']['get'](_0xe64da2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x525459['url'],this['imageDimension']=_0x525459['dimension'],this['imageId']=_0x525459['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2fc367}=this['_editor'],t=_0x2fc367['t'],_0xc46ad=new _0x4a54ac(_0x2fc367,this['imageStatus'],this['_attributes']);_0xc46ad['bind']('status')['to'](this,'imageStatus'),_0xc46ad['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xc46ad['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xc46ad['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xc46ad,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x377bd7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xc46ad,'position':_0x180fff['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xc46ad['focus']();},'onHide':()=>{_0xc46ad['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e6bf7=>!_0x461437(_0x2e6bf7,_0xc46ad['element'])}});}['_loadImageInfo'](_0x27887e,_0x54d09c){return _0x3a74e1['getInfo'](_0x27887e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x22ef0b=>{const {width:_0x2100d4,height:_0x4a828a}=_0x22ef0b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54d09c,this['imageDimension']={'width':_0x2100d4,'height':_0x4a828a},this['imageId']=_0x27887e;})['catch'](_0xbf415d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbf415d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x31caa5,_0x4c6fe0){return this['_getImageAsFile'](_0x31caa5)['then'](_0x502a98=>_0x3a74e1['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':_0x4c6fe0['signal'],'file':_0x502a98,'onProgress':_0x45a371=>{_0x45a371&&_0x45a371['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x45a371['value']));}}))['then'](_0x59523d=>{const {width:_0x3f9910,height:_0x12aa3e}=_0x59523d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59523d['cdnUrl'],this['imageDimension']={'width':_0x3f9910,'height':_0x12aa3e},this['imageId']=_0x59523d['uuid'],this['imageUploadProgress']=null;const _0x3c289e=_0x31caa5['getAttribute']('src');this['_imageCache']['set'](_0x3c289e,{'id':_0x59523d['uuid'],'url':_0x59523d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19f88a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19f88a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x673625,_0x258481){_0x673625['on']('apply',(_0x57c406,_0x5cb5ca)=>{this['_replaceImage'](_0x258481,_0x5cb5ca['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x673625['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x673625['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4fa115,_0x36c147,_0x95d204){const _0x4e3d70=this['_editor'],{width:_0x19240d,height:_0x2ffacd}=_0x9c2d69(_0x36c147,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4ecc9b,imageSources:_0x104404}=_0x5a4757(_0x36c147,_0x19240d);_0x4e3d70['model']['change'](_0x221348=>{if('$graveyard'===_0x4fa115['root']['rootName']){_0x4e3d70['execute']('insertImage',{'imageType':_0x4fa115['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4fa115['getAttributes']()),'uploadcareImageId':_0x95d204,'src':_0x4ecc9b,'sources':_0x104404,'width':_0x19240d,'height':_0x2ffacd}});const _0x30eee8=_0x4fa115['getChildren']();_0x4fa115=_0x4e3d70['model']['document']['selection']['getSelectedElement']();for(const _0x392ad5 of _0x30eee8)_0x221348['append'](_0x221348['cloneElement'](_0x392ad5),_0x4fa115);}else _0x221348['setSelection'](_0x4fa115,'on'),_0x4e3d70['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4fa115['getAttributes']()),'uploadcareImageId':_0x95d204,'src':_0x4ecc9b,'sources':_0x104404,'width':_0x19240d,'height':_0x2ffacd},_0x4fa115);_0x221348['setSelection'](_0x4fa115,'on');});}async['_getImageAsFile'](_0x1add63){const _0x5159c0=_0x574b9e['window'],_0xf8124a=_0x574b9e['document']['location']['href'],_0x1bf44a=new _0x5159c0['URL'](_0x1add63['getAttribute']('src'),_0xf8124a);if('data:'===_0x1bf44a['protocol']){const _0x21e1ba=_0x1bf44a['href']['split'](','),_0x2d25f6=_0x21e1ba[0x0]['match'](/:(.*?);/)[0x1],_0x4b604e=_0x2d25f6['split']('/')[0x1],_0x3e30c4=_0x5159c0['atob'](_0x21e1ba[_0x21e1ba['length']-0x1]);let _0x47c10b=_0x3e30c4['length'];const _0x5a75e3=new _0x5159c0['Uint8Array'](_0x47c10b);for(;_0x47c10b--;)_0x5a75e3[_0x47c10b]=_0x3e30c4['charCodeAt'](_0x47c10b);return new _0x5159c0['File']([_0x5a75e3],'image.'+_0x4b604e,{'type':_0x2d25f6});}const _0x5d7ada=_0x1bf44a['href']['split']('/'),_0x189aa2=_0x5d7ada[_0x5d7ada['length']-0x1],_0x6fb234=_0x189aa2['split']('.')[0x1];return _0x5159c0['fetch'](_0x1bf44a['href'])['then'](_0x23d6c2=>_0x23d6c2['clone']()['blob']())['then'](_0x3bf6f1=>new _0x5159c0['File']([_0x3bf6f1],_0x189aa2,{'type':'image/'+_0x6fb234}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3e6239,_0x4da87e){const _0x38b130=_0x16d8,_0x3bc575=_0x3e6239();while(!![]){try{const _0x44dec0=parseInt(_0x38b130(0x163))/0x1*(parseInt(_0x38b130(0x155))/0x2)+parseInt(_0x38b130(0x15e))/0x3+-parseInt(_0x38b130(0x15a))/0x4*(parseInt(_0x38b130(0x15b))/0x5)+parseInt(_0x38b130(0x160))/0x6*(parseInt(_0x38b130(0x15c))/0x7)+parseInt(_0x38b130(0x159))/0x8+parseInt(_0x38b130(0x164))/0x9+-parseInt(_0x38b130(0x15f))/0xa;if(_0x44dec0===_0x4da87e)break;else _0x3bc575['push'](_0x3bc575['shift']());}catch(_0x34b2c0){_0x3bc575['push'](_0x3bc575['shift']());}}}(_0x4c76,0x8bd82));function _0x4c76(){const _0x48423f=['3219472dfhKuL','28NEXxZN','396080GzUWsD','3851813EDaHTL','image-edit','1976385QucjYC','24630740QkPECu','6uGtHso','uc-cloud-image-editor','setTemplate','961454vZVAVl','9157014msgFJB','imageSrc','ck-uploadcare-theme','2wNjAyW','bindTemplate','set','uc-light'];_0x4c76=function(){return _0x48423f;};return _0x4c76();}function _0x16d8(_0x348186,_0x59ea47){const _0x4c763a=_0x4c76();return _0x16d8=function(_0x16d835,_0xf82d4a){_0x16d835=_0x16d835-0x155;let _0x2395c1=_0x4c763a[_0x16d835];return _0x2395c1;},_0x16d8(_0x348186,_0x59ea47);}import{View as _0x5c8cbf}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c8cbf{constructor(_0x60da7a,_0x427ab2){const _0x4be715=_0x16d8;super(_0x60da7a);const _0x3dab0e=this[_0x4be715(0x156)];this[_0x4be715(0x157)](_0x4be715(0x165),''),this[_0x4be715(0x162)]({'tag':_0x4be715(0x161),'attributes':{..._0x427ab2,'class':[_0x4be715(0x158),_0x4be715(0x166)],'ctx-name':_0x4be715(0x15d),'cdn-url':_0x3dab0e['to'](_0x4be715(0x165))}});}}
23
+ (function(_0xa6989b,_0x33d6d9){const _0x4de499=_0x3697,_0x35297f=_0xa6989b();while(!![]){try{const _0xe044b4=-parseInt(_0x4de499(0xe5))/0x1*(parseInt(_0x4de499(0xea))/0x2)+parseInt(_0x4de499(0xf3))/0x3*(parseInt(_0x4de499(0xe8))/0x4)+-parseInt(_0x4de499(0xe3))/0x5+parseInt(_0x4de499(0xf2))/0x6*(-parseInt(_0x4de499(0xeb))/0x7)+-parseInt(_0x4de499(0xee))/0x8+-parseInt(_0x4de499(0xe7))/0x9+parseInt(_0x4de499(0xef))/0xa;if(_0xe044b4===_0x33d6d9)break;else _0x35297f['push'](_0x35297f['shift']());}catch(_0x312c8f){_0x35297f['push'](_0x35297f['shift']());}}}(_0x4349,0xa0d16));function _0x3697(_0x2ed83d,_0x1d068c){const _0x4349de=_0x4349();return _0x3697=function(_0x36979b,_0x5c7c33){_0x36979b=_0x36979b-0xe3;let _0x1bb9fe=_0x4349de[_0x36979b];return _0x1bb9fe;},_0x3697(_0x2ed83d,_0x1d068c);}import{View as _0x45568b}from'ckeditor5/src/ui.js';function _0x4349(){const _0x45ab76=['image-edit','2670056hEMxku','23828770oiFdoA','bindTemplate','uc-light','18yslYSk','348fGKTdU','setTemplate','4413480trRUQH','ck-uploadcare-theme','1YoRmOt','uc-cloud-image-editor','466236mOGShc','31612VHinDq','set','2504518sOLpOQ','280931shMzIS','imageSrc'];_0x4349=function(){return _0x45ab76;};return _0x4349();}export class UploadcareImageEditFormEditingView extends _0x45568b{constructor(_0x559e2b,_0x3287f0){const _0x5d1c5b=_0x3697;super(_0x559e2b);const _0x469099=this[_0x5d1c5b(0xf0)];this[_0x5d1c5b(0xe9)](_0x5d1c5b(0xec),''),this[_0x5d1c5b(0xf4)]({'tag':_0x5d1c5b(0xe6),'attributes':{..._0x3287f0,'class':[_0x5d1c5b(0xf1),_0x5d1c5b(0xe4)],'ctx-name':_0x5d1c5b(0xed),'cdn-url':_0x469099['to'](_0x5d1c5b(0xec))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x39700a}from'ckeditor5/src/icons.js';import{ButtonView as _0x4f6140,IconView as _0x28b559,View as _0x1024d4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1024d4{constructor(_0x49b5c6){super(_0x49b5c6);const t=_0x49b5c6['t'];this['set']('errorType',null);const _0x585cd9=new _0x4f6140(_0x49b5c6);_0x585cd9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x585cd9['withText']=!0x0,_0x585cd9['class']='ck-button-action',_0x585cd9['on']('execute',()=>{this['fire']('retry');}),_0x585cd9['bind']('isVisible')['to'](this,'errorType',_0x3d1acc=>'NotFound'!==_0x3d1acc);const _0x402ded=new _0x28b559();_0x402ded['content']=_0x39700a,_0x402ded['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x26075d=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':[_0x402ded,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x26075d['to']('errorType',_0x3baf10=>t('NotFound'!==_0x3baf10?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x585cd9]},{'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 _0x369eef}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d00b1,IconView as _0x1881d9,View as _0x3b1233}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3b1233{constructor(_0x4266d1){super(_0x4266d1);const t=_0x4266d1['t'];this['set']('errorType',null);const _0x3bd3c4=new _0x3d00b1(_0x4266d1);_0x3bd3c4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3bd3c4['withText']=!0x0,_0x3bd3c4['class']='ck-button-action',_0x3bd3c4['on']('execute',()=>{this['fire']('retry');}),_0x3bd3c4['bind']('isVisible')['to'](this,'errorType',_0xbfacb3=>'NotFound'!==_0xbfacb3);const _0x10af2e=new _0x1881d9();_0x10af2e['content']=_0x369eef,_0x10af2e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x285740=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':[_0x10af2e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x285740['to']('errorType',_0x492f4a=>t('NotFound'!==_0x492f4a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3bd3c4]},{'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 _0x32620a,View as _0x343d10}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x343d10{constructor(_0x4332d3){super(_0x4332d3);const t=_0x4332d3['t'],_0xed19c6=this['bindTemplate'],_0x4a7b3f=new _0x32620a();_0x4a7b3f['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':[_0x4a7b3f,{'text':_0xed19c6['to']('imageUploadProgress',_0x4b28bf=>t('Loading\x20image...')+'\x20('+(_0x4b28bf||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 _0x2209f4,View as _0x170249}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x170249{constructor(_0x1db8e7){super(_0x1db8e7);const t=_0x1db8e7['t'],_0x80af28=this['bindTemplate'],_0x2e8446=new _0x2209f4();_0x2e8446['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':[_0x2e8446,{'text':_0x80af28['to']('imageUploadProgress',_0x238da1=>t('Loading\x20image...')+'\x20('+(_0x238da1||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 _0x353fe0=_0x167e;(function(_0x43006b,_0x2fa5bf){const _0x593fe7=_0x167e,_0x399584=_0x43006b();while(!![]){try{const _0x204b84=-parseInt(_0x593fe7(0xab))/0x1+-parseInt(_0x593fe7(0x95))/0x2+-parseInt(_0x593fe7(0xa2))/0x3+parseInt(_0x593fe7(0xac))/0x4*(-parseInt(_0x593fe7(0xa4))/0x5)+-parseInt(_0x593fe7(0x96))/0x6*(-parseInt(_0x593fe7(0x90))/0x7)+parseInt(_0x593fe7(0x93))/0x8*(-parseInt(_0x593fe7(0x9d))/0x9)+parseInt(_0x593fe7(0xaa))/0xa*(parseInt(_0x593fe7(0xbe))/0xb);if(_0x204b84===_0x2fa5bf)break;else _0x399584['push'](_0x399584['shift']());}catch(_0x2494d1){_0x399584['push'](_0x399584['shift']());}}}(_0x2c31,0x9df01));import{View as _0x58bfcb}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x11c9f5}from'./uploadcareimageeditformloadingview.js';function _0x167e(_0x5bb75f,_0x29629d){const _0x2c3117=_0x2c31();return _0x167e=function(_0x167e07,_0x4ca52e){_0x167e07=_0x167e07-0x90;let _0x128391=_0x2c3117[_0x167e07];return _0x128391;},_0x167e(_0x5bb75f,_0x29629d);}import{UploadcareImageEditFormErrorView as _0x473052}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x54d25b}from'./uploadcareimageeditformeditingview.js';function _0x2c31(){const _0xe83125=['clear','set','disconnect','getFocusableElement','retry','fire','uploading','946KfYtmE','_items','focus','_focusableView','cancel','div','status','length','change:status','ready','1539013wKVHZJ','addedNodes','_addUploadcareImageEditorListeners','266096gDSPgm','observe','889960WdLdLT','24iyMTYF','error','_errorView','_addErrorViewListeners','_editingView','uc-cloud-image-editor','detail','9QPsDqo','_waitForImageEditorComponent','add','_loadingView','element','1909140sAkfSG','cdnUrl','600515YhxdNO','querySelector','target','once','addMany','apply','357310uEzWXy','1109840DaDSvL','36VyvhkJ','ck-uploadcare-form','toLowerCase','filter','nodeName','ck-reset_all-excluded','render','createCollection','setTemplate','addEventListener','_setView'];_0x2c31=function(){return _0xe83125;};return _0x2c31();}import{DialogFocusManagerView as _0x579eed}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x579eed{[_0x353fe0(0xbf)];[_0x353fe0(0xa0)];[_0x353fe0(0x98)];[_0x353fe0(0x9a)];[_0x353fe0(0xc1)];constructor(_0x30762d,_0x31da4d,_0x1b63d8){const _0x4b5f05=_0x353fe0;super(_0x30762d),this[_0x4b5f05(0xbf)]=this[_0x4b5f05(0xb3)](),this[_0x4b5f05(0xa0)]=new _0x11c9f5(_0x30762d),this[_0x4b5f05(0x98)]=new _0x473052(_0x30762d),this[_0x4b5f05(0x9a)]=new _0x54d25b(_0x30762d,_0x1b63d8),this[_0x4b5f05(0xc1)]=new _0x58bfcb(_0x30762d),this[_0x4b5f05(0xc1)][_0x4b5f05(0xb4)](this[_0x4b5f05(0xba)]()),this[_0x4b5f05(0xb8)](_0x4b5f05(0xc4),_0x31da4d),this[_0x4b5f05(0xb4)]({'tag':_0x4b5f05(0xc3),'attributes':{'class':['ck',_0x4b5f05(0xb1),_0x4b5f05(0xad)],'tabindex':'-1'},'children':this[_0x4b5f05(0xbf)]}),this[_0x4b5f05(0xb6)](),this[_0x4b5f05(0xa7)](_0x4b5f05(0xb2),()=>{const _0x17b901=_0x4b5f05;this[_0x17b901(0x9e)](this[_0x17b901(0xa1)],_0x21671d=>{const _0x5e9311=_0x17b901;this[_0x5e9311(0x92)](_0x21671d);});}),this['on'](_0x4b5f05(0xc6),()=>{const _0x143924=_0x4b5f05;this[_0x143924(0xb6)]();}),this[_0x4b5f05(0x99)]();}[_0x353fe0(0xc0)](){const _0x5e751a=_0x353fe0;this[_0x5e751a(0xa1)][_0x5e751a(0xc0)]();}[_0x353fe0(0xb6)](){const _0x53b9b4=_0x353fe0;switch(this[_0x53b9b4(0xbf)][_0x53b9b4(0xb7)](),this[_0x53b9b4(0xc4)]){case _0x53b9b4(0xbd):this[_0x53b9b4(0xbf)][_0x53b9b4(0x9f)](this[_0x53b9b4(0xa0)]);break;case _0x53b9b4(0x97):this[_0x53b9b4(0xbf)][_0x53b9b4(0x9f)](this[_0x53b9b4(0x98)]);break;case _0x53b9b4(0xc7):this[_0x53b9b4(0xbf)][_0x53b9b4(0xa8)]([this[_0x53b9b4(0x9a)],this[_0x53b9b4(0xc1)]]);}}[_0x353fe0(0x9e)](_0x46214f,_0x1810e9){const _0x2c8b99=_0x353fe0,_0x183347=_0x2c8b99(0x9b),_0xb9fec0=_0x46214f[_0x2c8b99(0xa5)](_0x183347);if(_0xb9fec0)return _0x1810e9(_0xb9fec0);const _0x1f1038=new MutationObserver(_0x426297=>{const _0x50f5a7=_0x2c8b99,_0x4b6c25=_0x426297[_0x50f5a7(0xaf)](_0x159482=>_0x159482[_0x50f5a7(0xa6)]===_0x46214f&&_0x159482[_0x50f5a7(0x91)][_0x50f5a7(0xc5)]>0x0&&_0x159482[_0x50f5a7(0x91)][0x0][_0x50f5a7(0xb0)][_0x50f5a7(0xae)]()===_0x183347);_0x4b6c25[_0x50f5a7(0xc5)]&&(_0x1f1038[_0x50f5a7(0xb9)](),_0x1810e9(_0x4b6c25[0x0][_0x50f5a7(0x91)][0x0]));});_0x1f1038[_0x2c8b99(0x94)](_0x46214f,{'childList':!0x0,'subtree':!0x0});}[_0x353fe0(0x92)](_0x77e774){const _0x599d4e=_0x353fe0;_0x77e774[_0x599d4e(0xb5)](_0x599d4e(0xa9),_0x500731=>{const _0x222a0f=_0x599d4e;this[_0x222a0f(0xbc)](_0x222a0f(0xa9),{'imageSrc':_0x500731[_0x222a0f(0x9c)][_0x222a0f(0xa3)]});}),_0x77e774[_0x599d4e(0xb5)](_0x599d4e(0xc2),()=>{const _0xbfe0d1=_0x599d4e;this[_0xbfe0d1(0xbc)](_0xbfe0d1(0xc2));});}[_0x353fe0(0x99)](){const _0x570d3a=_0x353fe0;this[_0x570d3a(0x98)]['on'](_0x570d3a(0xbb),()=>{const _0x1f91f4=_0x570d3a;this[_0x1f91f4(0xbc)](_0x1f91f4(0xbb));});}}
23
+ const _0x39bd79=_0x1682;function _0xe83f(){const _0xb78bd4=['clear','uc-cloud-image-editor','cancel','fire','length','addEventListener','13624oVDMeU','render','set','_editingView','202920NxHinC','retry','_focusableView','apply','once','ck-reset_all-excluded','querySelector','status','260UDSyOE','ready','_setView','348lWAWIQ','div','15PUqxiL','_items','_addErrorViewListeners','ck-uploadcare-form','_errorView','nodeName','1478827ZQguvB','cdnUrl','_waitForImageEditorComponent','toLowerCase','addMany','detail','change:status','8hnnkGp','add','error','setTemplate','disconnect','focus','getFocusableElement','_loadingView','64996LSVGDK','createCollection','filter','10OlfUMZ','116001CsbprL','observe','3609947fGsKpo','66UrqyFn','target','_addUploadcareImageEditorListeners','41875bwUEvE','uploading','element','addedNodes'];_0xe83f=function(){return _0xb78bd4;};return _0xe83f();}function _0x1682(_0x3f6caa,_0x393eeb){const _0xe83f43=_0xe83f();return _0x1682=function(_0x1682d1,_0x50eaf8){_0x1682d1=_0x1682d1-0xe3;let _0x3165fb=_0xe83f43[_0x1682d1];return _0x3165fb;},_0x1682(_0x3f6caa,_0x393eeb);}(function(_0x30acfd,_0x1ec26f){const _0x45bde3=_0x1682,_0x577bc2=_0x30acfd();while(!![]){try{const _0x25e28c=parseInt(_0x45bde3(0xe9))/0x1*(-parseInt(_0x45bde3(0xe6))/0x2)+-parseInt(_0x45bde3(0x10b))/0x3*(parseInt(_0x45bde3(0xfe))/0x4)+-parseInt(_0x45bde3(0xf0))/0x5*(parseInt(_0x45bde3(0xed))/0x6)+-parseInt(_0x45bde3(0x111))/0x7*(-parseInt(_0x45bde3(0x118))/0x8)+-parseInt(_0x45bde3(0xea))/0x9*(-parseInt(_0x45bde3(0x106))/0xa)+parseInt(_0x45bde3(0xec))/0xb+-parseInt(_0x45bde3(0x109))/0xc*(parseInt(_0x45bde3(0xfa))/0xd);if(_0x25e28c===_0x1ec26f)break;else _0x577bc2['push'](_0x577bc2['shift']());}catch(_0x2f0d26){_0x577bc2['push'](_0x577bc2['shift']());}}}(_0xe83f,0x2a55d));import{View as _0x397390}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x41112b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3b64bc}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x118efc}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2f7828}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2f7828{[_0x39bd79(0x10c)];[_0x39bd79(0xe5)];[_0x39bd79(0x10f)];[_0x39bd79(0xfd)];[_0x39bd79(0x100)];constructor(_0x54937e,_0x30f8fb,_0x122f08){const _0x2b77f3=_0x39bd79;super(_0x54937e),this[_0x2b77f3(0x10c)]=this[_0x2b77f3(0xe7)](),this[_0x2b77f3(0xe5)]=new _0x41112b(_0x54937e),this[_0x2b77f3(0x10f)]=new _0x3b64bc(_0x54937e),this[_0x2b77f3(0xfd)]=new _0x118efc(_0x54937e,_0x122f08),this[_0x2b77f3(0x100)]=new _0x397390(_0x54937e),this[_0x2b77f3(0x100)][_0x2b77f3(0x11b)](this[_0x2b77f3(0xe4)]()),this[_0x2b77f3(0xfc)](_0x2b77f3(0x105),_0x30f8fb),this[_0x2b77f3(0x11b)]({'tag':_0x2b77f3(0x10a),'attributes':{'class':['ck',_0x2b77f3(0x103),_0x2b77f3(0x10e)],'tabindex':'-1'},'children':this[_0x2b77f3(0x10c)]}),this[_0x2b77f3(0x108)](),this[_0x2b77f3(0x102)](_0x2b77f3(0xfb),()=>{const _0x26e084=_0x2b77f3;this[_0x26e084(0x113)](this[_0x26e084(0xf2)],_0x21877a=>{const _0x4796f3=_0x26e084;this[_0x4796f3(0xef)](_0x21877a);});}),this['on'](_0x2b77f3(0x117),()=>{const _0x3f2909=_0x2b77f3;this[_0x3f2909(0x108)]();}),this[_0x2b77f3(0x10d)]();}[_0x39bd79(0xe3)](){const _0x1cde52=_0x39bd79;this[_0x1cde52(0xf2)][_0x1cde52(0xe3)]();}[_0x39bd79(0x108)](){const _0x26189e=_0x39bd79;switch(this[_0x26189e(0x10c)][_0x26189e(0xf4)](),this[_0x26189e(0x105)]){case _0x26189e(0xf1):this[_0x26189e(0x10c)][_0x26189e(0x119)](this[_0x26189e(0xe5)]);break;case _0x26189e(0x11a):this[_0x26189e(0x10c)][_0x26189e(0x119)](this[_0x26189e(0x10f)]);break;case _0x26189e(0x107):this[_0x26189e(0x10c)][_0x26189e(0x115)]([this[_0x26189e(0xfd)],this[_0x26189e(0x100)]]);}}[_0x39bd79(0x113)](_0x4c67ef,_0x56f4c9){const _0x1b6188=_0x39bd79,_0x1c64ce=_0x1b6188(0xf5),_0x151096=_0x4c67ef[_0x1b6188(0x104)](_0x1c64ce);if(_0x151096)return _0x56f4c9(_0x151096);const _0x54b8ce=new MutationObserver(_0x243d25=>{const _0x35135a=_0x1b6188,_0x373250=_0x243d25[_0x35135a(0xe8)](_0x1a96bd=>_0x1a96bd[_0x35135a(0xee)]===_0x4c67ef&&_0x1a96bd[_0x35135a(0xf3)][_0x35135a(0xf8)]>0x0&&_0x1a96bd[_0x35135a(0xf3)][0x0][_0x35135a(0x110)][_0x35135a(0x114)]()===_0x1c64ce);_0x373250[_0x35135a(0xf8)]&&(_0x54b8ce[_0x35135a(0x11c)](),_0x56f4c9(_0x373250[0x0][_0x35135a(0xf3)][0x0]));});_0x54b8ce[_0x1b6188(0xeb)](_0x4c67ef,{'childList':!0x0,'subtree':!0x0});}[_0x39bd79(0xef)](_0x310f4b){const _0x3311de=_0x39bd79;_0x310f4b[_0x3311de(0xf9)](_0x3311de(0x101),_0x21ed13=>{const _0x126d8a=_0x3311de;this[_0x126d8a(0xf7)](_0x126d8a(0x101),{'imageSrc':_0x21ed13[_0x126d8a(0x116)][_0x126d8a(0x112)]});}),_0x310f4b[_0x3311de(0xf9)](_0x3311de(0xf6),()=>{const _0x5beea9=_0x3311de;this[_0x5beea9(0xf7)](_0x5beea9(0xf6));});}[_0x39bd79(0x10d)](){const _0x2c296c=_0x39bd79;this[_0x2c296c(0x10f)]['on'](_0x2c296c(0xff),()=>{const _0x140cf4=_0x2c296c;this[_0x140cf4(0xf7)](_0x140cf4(0xff));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ec2cb=_0x1942;(function(_0x1b85f0,_0x593027){const _0x3c571c=_0x1942,_0x5f209c=_0x1b85f0();while(!![]){try{const _0x3a30e1=-parseInt(_0x3c571c(0xa9))/0x1+parseInt(_0x3c571c(0xa2))/0x2+parseInt(_0x3c571c(0x9d))/0x3+-parseInt(_0x3c571c(0x98))/0x4*(parseInt(_0x3c571c(0xab))/0x5)+parseInt(_0x3c571c(0x9c))/0x6+-parseInt(_0x3c571c(0xa5))/0x7*(-parseInt(_0x3c571c(0x93))/0x8)+parseInt(_0x3c571c(0xa1))/0x9*(parseInt(_0x3c571c(0xaf))/0xa);if(_0x3a30e1===_0x593027)break;else _0x5f209c['push'](_0x5f209c['shift']());}catch(_0x59a556){_0x5f209c['push'](_0x5f209c['shift']());}}}(_0x4f5e,0x49a27));function _0x1942(_0x46f433,_0x1bdf37){const _0x4f5ebf=_0x4f5e();return _0x1942=function(_0x194239,_0x43837b){_0x194239=_0x194239-0x92;let _0x53e628=_0x4f5ebf[_0x194239];return _0x53e628;},_0x1942(_0x46f433,_0x1bdf37);}import{Command as _0x569833}from'ckeditor5/src/core.js';function _0x4f5e(){const _0x37b3ba=['element','document','config','bind','8cAxVyH','editor','isEnabled','imageBlock','559884tkSnoB','55134syeglK','get','selection','imageEditController','369JibiRG','190190rRTeQX','imageInline','isActive','1631749VXXdpp','model','set','unbind','392337BLsFBg','uploadcare.allowExternalImagesEditing','1034040RkGhBE','execute','getSelectedElement','requires','105990FJmCAv','plugins','_isEditable','refresh','16szwEvj'];_0x4f5e=function(){return _0x37b3ba;};return _0x4f5e();}import{Dialog as _0x57a8a1}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x25085e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x22913f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x569833{[_0x1ec2cb(0xa0)];static get[_0x1ec2cb(0xae)](){return[_0x57a8a1];}[_0x1ec2cb(0xb1)];constructor(_0xe0eded){const _0x3b49c3=_0x1ec2cb;super(_0xe0eded),this[_0x3b49c3(0xa0)]=void 0x0,this[_0x3b49c3(0xb1)]=_0x22913f(_0xe0eded[_0x3b49c3(0x96)][_0x3b49c3(0x9e)](_0x3b49c3(0xaa))||[]),this[_0x3b49c3(0xa7)]({'isActive':!0x1});}[_0x1ec2cb(0x92)](){const _0x3ebe83=_0x1ec2cb,_0x57e133=this[_0x3ebe83(0x99)][_0x3ebe83(0xa6)][_0x3ebe83(0x95)][_0x3ebe83(0x9f)][_0x3ebe83(0xad)]();this[_0x3ebe83(0x9a)]=this[_0x3ebe83(0xb1)](_0x57e133);}[_0x1ec2cb(0xac)](){const _0x9d7f99=_0x1ec2cb;this[_0x9d7f99(0xa0)]&&(this[_0x9d7f99(0xa8)](_0x9d7f99(0xa4)),this[_0x9d7f99(0xa0)]=void 0x0);const _0xb41e4b=this[_0x9d7f99(0x99)][_0x9d7f99(0xa6)][_0x9d7f99(0x95)][_0x9d7f99(0x9f)][_0x9d7f99(0xad)]();_0xb41e4b&&(_0xb41e4b['is'](_0x9d7f99(0x94),_0x9d7f99(0x9b))||_0xb41e4b['is'](_0x9d7f99(0x94),_0x9d7f99(0xa3)))&&(this[_0x9d7f99(0xa0)]=new _0x25085e(this[_0x9d7f99(0x99)],this[_0x9d7f99(0x99)][_0x9d7f99(0xb0)][_0x9d7f99(0x9e)](_0x57a8a1),_0xb41e4b),this[_0x9d7f99(0x97)](_0x9d7f99(0xa4))['to'](this[_0x9d7f99(0xa0)],_0x9d7f99(0xa4)));}}
23
+ const _0x4cf908=_0x41ce;(function(_0x3aaf4c,_0x46d35f){const _0x1dc6f3=_0x41ce,_0x22a06a=_0x3aaf4c();while(!![]){try{const _0x17a753=parseInt(_0x1dc6f3(0x1cb))/0x1*(parseInt(_0x1dc6f3(0x1ba))/0x2)+parseInt(_0x1dc6f3(0x1bf))/0x3+-parseInt(_0x1dc6f3(0x1d1))/0x4*(parseInt(_0x1dc6f3(0x1b9))/0x5)+-parseInt(_0x1dc6f3(0x1c3))/0x6*(-parseInt(_0x1dc6f3(0x1ca))/0x7)+parseInt(_0x1dc6f3(0x1bd))/0x8*(-parseInt(_0x1dc6f3(0x1cc))/0x9)+-parseInt(_0x1dc6f3(0x1cd))/0xa*(parseInt(_0x1dc6f3(0x1b1))/0xb)+parseInt(_0x1dc6f3(0x1c1))/0xc*(-parseInt(_0x1dc6f3(0x1b8))/0xd);if(_0x17a753===_0x46d35f)break;else _0x22a06a['push'](_0x22a06a['shift']());}catch(_0x2ce8de){_0x22a06a['push'](_0x22a06a['shift']());}}}(_0x56db,0x7c6e5));import{Command as _0x25c2dd}from'ckeditor5/src/core.js';import{Dialog as _0xee9baf}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2d7136}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x488001}from'../utils/editingutils.js';function _0x41ce(_0x821c53,_0x73e8d4){const _0x56db62=_0x56db();return _0x41ce=function(_0x41cea5,_0x359183){_0x41cea5=_0x41cea5-0x1b0;let _0x1d1616=_0x56db62[_0x41cea5];return _0x1d1616;},_0x41ce(_0x821c53,_0x73e8d4);}function _0x56db(){const _0x3f0636=['imageInline','12000EElpvX','requires','6zJPpWY','get','element','refresh','bind','editor','model','5500999ZMTUSo','21vbVthu','9wcutdE','30kseKQk','imageEditController','unbind','plugins','20myejEt','execute','getSelectedElement','443652KyAiaM','imageBlock','isEnabled','uploadcare.allowExternalImagesEditing','isActive','_isEditable','selection','1716Bopqse','306235najgTx','20398UWvsPU','document','config','365848GvxTnv','set','343785UFpMVB'];_0x56db=function(){return _0x3f0636;};return _0x56db();}export class UploadcareImageEditCommand extends _0x25c2dd{[_0x4cf908(0x1ce)];static get[_0x4cf908(0x1c2)](){return[_0xee9baf];}[_0x4cf908(0x1b6)];constructor(_0x6504a9){const _0x464d18=_0x4cf908;super(_0x6504a9),this[_0x464d18(0x1ce)]=void 0x0,this[_0x464d18(0x1b6)]=_0x488001(_0x6504a9[_0x464d18(0x1bc)][_0x464d18(0x1c4)](_0x464d18(0x1b4))||[]),this[_0x464d18(0x1be)]({'isActive':!0x1});}[_0x4cf908(0x1c6)](){const _0xc90ce7=_0x4cf908,_0x225324=this[_0xc90ce7(0x1c8)][_0xc90ce7(0x1c9)][_0xc90ce7(0x1bb)][_0xc90ce7(0x1b7)][_0xc90ce7(0x1b0)]();this[_0xc90ce7(0x1b3)]=this[_0xc90ce7(0x1b6)](_0x225324);}[_0x4cf908(0x1d2)](){const _0x5429c2=_0x4cf908;this[_0x5429c2(0x1ce)]&&(this[_0x5429c2(0x1cf)](_0x5429c2(0x1b5)),this[_0x5429c2(0x1ce)]=void 0x0);const _0x17ae99=this[_0x5429c2(0x1c8)][_0x5429c2(0x1c9)][_0x5429c2(0x1bb)][_0x5429c2(0x1b7)][_0x5429c2(0x1b0)]();_0x17ae99&&(_0x17ae99['is'](_0x5429c2(0x1c5),_0x5429c2(0x1b2))||_0x17ae99['is'](_0x5429c2(0x1c5),_0x5429c2(0x1c0)))&&(this[_0x5429c2(0x1ce)]=new _0x2d7136(this[_0x5429c2(0x1c8)],this[_0x5429c2(0x1c8)][_0x5429c2(0x1d0)][_0x5429c2(0x1c4)](_0xee9baf),_0x17ae99),this[_0x5429c2(0x1c7)](_0x5429c2(0x1b5))['to'](this[_0x5429c2(0x1ce)],_0x5429c2(0x1b5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca802=_0x39d0;(function(_0x4bfefc,_0x570af6){const _0x53b20d=_0x39d0,_0x296bb3=_0x4bfefc();while(!![]){try{const _0x2400a7=parseInt(_0x53b20d(0xed))/0x1+-parseInt(_0x53b20d(0xea))/0x2*(parseInt(_0x53b20d(0xe4))/0x3)+-parseInt(_0x53b20d(0xdf))/0x4*(-parseInt(_0x53b20d(0xf0))/0x5)+-parseInt(_0x53b20d(0xde))/0x6+-parseInt(_0x53b20d(0xee))/0x7*(parseInt(_0x53b20d(0xe9))/0x8)+-parseInt(_0x53b20d(0xf3))/0x9+parseInt(_0x53b20d(0xe0))/0xa*(parseInt(_0x53b20d(0xf1))/0xb);if(_0x2400a7===_0x570af6)break;else _0x296bb3['push'](_0x296bb3['shift']());}catch(_0x27d8b8){_0x296bb3['push'](_0x296bb3['shift']());}}}(_0x8c7d,0xa4bf9));import{Plugin as _0x416ed2}from'ckeditor5/src/core.js';function _0x8c7d(){const _0x4a8215=['88118ZVufIJ','ImageUtils','uploadcareImageReplace','772469hhqHzR','4211571BtCevf','add','4187930tozRUX','672683oAfMuE','init','851121LRTLzm','uploadcareImageEdit','6965364XBdRZt','4VtEFfb','230qXeqmw','UploadcareImageEditEditing','requires','isOfficialPlugin','33zGuwYm','pluginName','isPremiumPlugin','ImageEditing','commands','8jOYolh'];_0x8c7d=function(){return _0x4a8215;};return _0x8c7d();}import{Notification as _0x2606b3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x20622}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5a3317}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x166229}from'../uploadcareediting.js';function _0x39d0(_0x41b094,_0x21dd0c){const _0x8c7d15=_0x8c7d();return _0x39d0=function(_0x39d042,_0x43a2aa){_0x39d042=_0x39d042-0xdd;let _0x157e94=_0x8c7d15[_0x39d042];return _0x157e94;},_0x39d0(_0x41b094,_0x21dd0c);}export class UploadcareImageEditEditing extends _0x416ed2{static get[_0x3ca802(0xe5)](){const _0x2abefa=_0x3ca802;return _0x2abefa(0xe1);}static get[_0x3ca802(0xe2)](){const _0xcf1006=_0x3ca802;return[_0x166229,_0x2606b3,_0xcf1006(0xeb),_0xcf1006(0xe7)];}static get[_0x3ca802(0xe3)](){return!0x0;}static get[_0x3ca802(0xe6)](){return!0x0;}[_0x3ca802(0xf2)](){const _0x5b1bd0=_0x3ca802,{editor:_0xaeee92}=this;_0xaeee92[_0x5b1bd0(0xe8)][_0x5b1bd0(0xef)](_0x5b1bd0(0xdd),new _0x20622(_0xaeee92)),_0xaeee92[_0x5b1bd0(0xe8)][_0x5b1bd0(0xef)](_0x5b1bd0(0xec),new _0x5a3317(_0xaeee92));}}
23
+ const _0x1b99f0=_0x2137;function _0x2137(_0x414bd1,_0x289ba0){const _0x52d687=_0x52d6();return _0x2137=function(_0x21374a,_0x2781b6){_0x21374a=_0x21374a-0x113;let _0xc7710a=_0x52d687[_0x21374a];return _0xc7710a;},_0x2137(_0x414bd1,_0x289ba0);}(function(_0x16cfa2,_0x53e4d2){const _0xabc629=_0x2137,_0x2aedd2=_0x16cfa2();while(!![]){try{const _0x304179=-parseInt(_0xabc629(0x115))/0x1*(parseInt(_0xabc629(0x126))/0x2)+-parseInt(_0xabc629(0x119))/0x3+-parseInt(_0xabc629(0x127))/0x4+-parseInt(_0xabc629(0x123))/0x5*(parseInt(_0xabc629(0x11f))/0x6)+-parseInt(_0xabc629(0x121))/0x7*(parseInt(_0xabc629(0x11a))/0x8)+parseInt(_0xabc629(0x11e))/0x9+parseInt(_0xabc629(0x11b))/0xa*(parseInt(_0xabc629(0x118))/0xb);if(_0x304179===_0x53e4d2)break;else _0x2aedd2['push'](_0x2aedd2['shift']());}catch(_0x1ee66c){_0x2aedd2['push'](_0x2aedd2['shift']());}}}(_0x52d6,0x24ff8));import{Plugin as _0x4b9ebd}from'ckeditor5/src/core.js';import{Notification as _0x5024a0}from'ckeditor5/src/ui.js';function _0x52d6(){const _0x177dfc=['2394567eJGWAW','42666ZNwYXH','add','70EJZYcK','isPremiumPlugin','5GKOVBd','commands','isOfficialPlugin','12758FykIsJ','114372JDbakX','init','uploadcareImageReplace','ImageUtils','pluginName','28gMBrZD','requires','UploadcareImageEditEditing','290499eBZTHv','237138CiLwan','216088WEKYac','170cUVZfX','ImageEditing','uploadcareImageEdit'];_0x52d6=function(){return _0x177dfc;};return _0x52d6();}import{UploadcareImageEditCommand as _0x1d5d51}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xbab4c0}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3664c7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4b9ebd{static get[_0x1b99f0(0x114)](){const _0xe28fd0=_0x1b99f0;return _0xe28fd0(0x117);}static get[_0x1b99f0(0x116)](){const _0x3d7c96=_0x1b99f0;return[_0x3664c7,_0x5024a0,_0x3d7c96(0x113),_0x3d7c96(0x11c)];}static get[_0x1b99f0(0x125)](){return!0x0;}static get[_0x1b99f0(0x122)](){return!0x0;}[_0x1b99f0(0x128)](){const _0x3eb73c=_0x1b99f0,{editor:_0x2b008f}=this;_0x2b008f[_0x3eb73c(0x124)][_0x3eb73c(0x120)](_0x3eb73c(0x11d),new _0x1d5d51(_0x2b008f)),_0x2b008f[_0x3eb73c(0x124)][_0x3eb73c(0x120)](_0x3eb73c(0x129),new _0xbab4c0(_0x2b008f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5c36be}from'ckeditor5/src/core.js';import{ButtonView as _0x35fac7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x237259}from'ckeditor5/src/icons.js';import{createElement as _0x4b9372}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 _0x5c36be{['_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 _0x540168=this['editor'];_0x540168['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5a90c2=>{const _0x13c082=_0x540168['commands']['get']('uploadcareImageEdit'),_0x30e050=new _0x35fac7(_0x5a90c2),t=_0x5a90c2['t'];return _0x30e050['set']({'icon':_0x237259,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x30e050['bind']('isEnabled')['to'](_0x13c082),_0x30e050['bind']('isOn')['to'](_0x13c082,'isActive'),this['listenTo'](_0x30e050,'execute',()=>{_0x540168['execute']('uploadcareImageEdit'),_0x540168['editing']['view']['focus']();}),_0x30e050;}),this['_initConfig']();}['_initConfig'](){const _0x1bf8b9=_0x4b9372(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1bf8b9),this['listenTo'](this['editor'],'destroy',()=>{_0x1bf8b9['remove']();});}}
23
+ import{Plugin as _0x32173d}from'ckeditor5/src/core.js';import{ButtonView as _0x228f6c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x418d98}from'ckeditor5/src/icons.js';import{createElement as _0x4e5af7}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 _0x32173d{['_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 _0x3098c8=this['editor'];_0x3098c8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x404d7c=>{const _0x10f3ad=_0x3098c8['commands']['get']('uploadcareImageEdit'),_0x217b74=new _0x228f6c(_0x404d7c),t=_0x404d7c['t'];return _0x217b74['set']({'icon':_0x418d98,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x217b74['bind']('isEnabled')['to'](_0x10f3ad),_0x217b74['bind']('isOn')['to'](_0x10f3ad,'isActive'),this['listenTo'](_0x217b74,'execute',()=>{_0x3098c8['execute']('uploadcareImageEdit'),_0x3098c8['editing']['view']['focus']();}),_0x217b74;}),this['_initConfig']();}['_initConfig'](){const _0x32dc63=_0x4e5af7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32dc63),this['listenTo'](this['editor'],'destroy',()=>{_0x32dc63['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d8c84=_0x46f0;function _0x46f0(_0x2b31ee,_0x622892){const _0x135464=_0x1354();return _0x46f0=function(_0x46f056,_0x157bcb){_0x46f056=_0x46f056-0xa7;let _0xb2aebe=_0x135464[_0x46f056];return _0xb2aebe;},_0x46f0(_0x2b31ee,_0x622892);}(function(_0x10d218,_0x5ccc79){const _0x35ef5c=_0x46f0,_0x55d561=_0x10d218();while(!![]){try{const _0x2a29f5=parseInt(_0x35ef5c(0xbd))/0x1+-parseInt(_0x35ef5c(0xbc))/0x2+parseInt(_0x35ef5c(0xbe))/0x3+-parseInt(_0x35ef5c(0xad))/0x4*(-parseInt(_0x35ef5c(0xba))/0x5)+-parseInt(_0x35ef5c(0xb6))/0x6+parseInt(_0x35ef5c(0xab))/0x7*(-parseInt(_0x35ef5c(0xb5))/0x8)+parseInt(_0x35ef5c(0xbf))/0x9;if(_0x2a29f5===_0x5ccc79)break;else _0x55d561['push'](_0x55d561['shift']());}catch(_0x2ec809){_0x55d561['push'](_0x55d561['shift']());}}}(_0x1354,0xbe520));function _0x1354(){const _0xe4a415=['removeAttribute','3745330LAMEnn','refresh','1322260veVkyH','960984yMYACD','3290295lZQDeW','87534wsNQKi','element','selection','editor','setAttributes','1715273Hlitov','srcset','4fMhHcB','getSelectedElement','model','change','sizes','document','imageBlock','imageInline','8YTTups','6784920ZZavdJ','execute','isEnabled'];_0x1354=function(){return _0xe4a415;};return _0x1354();}import{Command as _0x990379}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x990379{[_0x5d8c84(0xbb)](){const _0x801794=_0x5d8c84,_0x46d8cf=this[_0x801794(0xa9)][_0x801794(0xaf)][_0x801794(0xb2)][_0x801794(0xa8)][_0x801794(0xae)]();this[_0x801794(0xb8)]=Boolean(_0x46d8cf&&(_0x46d8cf['is'](_0x801794(0xa7),_0x801794(0xb3))||_0x46d8cf['is'](_0x801794(0xa7),_0x801794(0xb4))));}[_0x5d8c84(0xb7)](_0x2c7067){const _0x159867=_0x5d8c84,_0x3cb116=this[_0x159867(0xa9)][_0x159867(0xaf)][_0x159867(0xb2)][_0x159867(0xa8)][_0x159867(0xae)]();this[_0x159867(0xa9)][_0x159867(0xaf)][_0x159867(0xb0)](_0x24a1d1=>{const _0x41405c=_0x159867;_0x24a1d1[_0x41405c(0xaa)](_0x2c7067,_0x3cb116),_0x24a1d1[_0x41405c(0xb9)](_0x41405c(0xac),_0x3cb116),_0x24a1d1[_0x41405c(0xb9)](_0x41405c(0xb1),_0x3cb116);});}}
23
+ const _0x2cf0c1=_0x5c50;function _0x5c50(_0x1c8ab1,_0x5f2fb9){const _0x53bc51=_0x53bc();return _0x5c50=function(_0x5c507a,_0x228428){_0x5c507a=_0x5c507a-0x170;let _0x42f776=_0x53bc51[_0x5c507a];return _0x42f776;},_0x5c50(_0x1c8ab1,_0x5f2fb9);}(function(_0x5cb50b,_0x1c41ae){const _0x28ca1e=_0x5c50,_0x3245db=_0x5cb50b();while(!![]){try{const _0x1c5d9f=parseInt(_0x28ca1e(0x177))/0x1+-parseInt(_0x28ca1e(0x189))/0x2*(-parseInt(_0x28ca1e(0x187))/0x3)+-parseInt(_0x28ca1e(0x172))/0x4+-parseInt(_0x28ca1e(0x183))/0x5*(-parseInt(_0x28ca1e(0x182))/0x6)+-parseInt(_0x28ca1e(0x175))/0x7+-parseInt(_0x28ca1e(0x173))/0x8+parseInt(_0x28ca1e(0x171))/0x9*(parseInt(_0x28ca1e(0x180))/0xa);if(_0x1c5d9f===_0x1c41ae)break;else _0x3245db['push'](_0x3245db['shift']());}catch(_0x53bfed){_0x3245db['push'](_0x3245db['shift']());}}}(_0x53bc,0x428b3));function _0x53bc(){const _0x144def=['65300rRBNpF','2231624yeQuUR','execute','190274ZtoUiI','change','20513OEVcyI','setAttributes','selection','imageInline','removeAttribute','editor','srcset','refresh','imageBlock','30mCsTXs','sizes','91944boYhOW','80pafVui','getSelectedElement','document','model','136893jomSDi','element','2gOEaLA','isEnabled','851085ScUnNu'];_0x53bc=function(){return _0x144def;};return _0x53bc();}import{Command as _0x551026}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x551026{[_0x2cf0c1(0x17e)](){const _0x4706f0=_0x2cf0c1,_0x9b1b66=this[_0x4706f0(0x17c)][_0x4706f0(0x186)][_0x4706f0(0x185)][_0x4706f0(0x179)][_0x4706f0(0x184)]();this[_0x4706f0(0x170)]=Boolean(_0x9b1b66&&(_0x9b1b66['is'](_0x4706f0(0x188),_0x4706f0(0x17f))||_0x9b1b66['is'](_0x4706f0(0x188),_0x4706f0(0x17a))));}[_0x2cf0c1(0x174)](_0x13eb9e){const _0x23fc4e=_0x2cf0c1,_0x23525c=this[_0x23fc4e(0x17c)][_0x23fc4e(0x186)][_0x23fc4e(0x185)][_0x23fc4e(0x179)][_0x23fc4e(0x184)]();this[_0x23fc4e(0x17c)][_0x23fc4e(0x186)][_0x23fc4e(0x176)](_0x30249c=>{const _0x53c9da=_0x23fc4e;_0x30249c[_0x53c9da(0x178)](_0x13eb9e,_0x23525c),_0x30249c[_0x53c9da(0x17b)](_0x53c9da(0x17d),_0x23525c),_0x30249c[_0x53c9da(0x17b)](_0x53c9da(0x181),_0x23525c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18f69b=_0x3138;(function(_0x546693,_0x36ff6e){var _0x3aa302=_0x3138,_0x46877a=_0x546693();while(!![]){try{var _0x5738b1=-parseInt(_0x3aa302(0x1a5))/0x1*(-parseInt(_0x3aa302(0x19b))/0x2)+parseInt(_0x3aa302(0x196))/0x3+-parseInt(_0x3aa302(0x197))/0x4+parseInt(_0x3aa302(0x1a2))/0x5*(parseInt(_0x3aa302(0x1a3))/0x6)+parseInt(_0x3aa302(0x1a0))/0x7*(-parseInt(_0x3aa302(0x19f))/0x8)+parseInt(_0x3aa302(0x199))/0x9+parseInt(_0x3aa302(0x19e))/0xa*(parseInt(_0x3aa302(0x1a4))/0xb);if(_0x5738b1===_0x36ff6e)break;else _0x46877a['push'](_0x46877a['shift']());}catch(_0x3c2c6c){_0x46877a['push'](_0x46877a['shift']());}}}(_0xffd6,0x9d739));import{Plugin as _0x3a4f45}from'ckeditor5/src/core.js';function _0x3138(_0x255534,_0x3f9475){var _0xffd6a5=_0xffd6();return _0x3138=function(_0x31389b,_0x16b13e){_0x31389b=_0x31389b-0x196;var _0x564c1f=_0xffd6a5[_0x31389b];return _0x564c1f;},_0x3138(_0x255534,_0x3f9475);}import{UploadcareImageEditEditing as _0x3a8226}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xffd6(){var _0x15860c=['pluginName','24405WqtMow','60jaPlDH','9406265YzeTWD','1yEyWCe','904935Vsyymx','3288440JtPtXM','isPremiumPlugin','491067rgxRPn','isOfficialPlugin','986468upvymm','UploadcareImageEdit','requires','20MNnEXI','248SazELa','257747xBmxVb'];_0xffd6=function(){return _0x15860c;};return _0xffd6();}import{UploadcareImageEditUI as _0x29fc12}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3a4f45{static get[_0x18f69b(0x1a1)](){var _0x4961c9=_0x18f69b;return _0x4961c9(0x19c);}static get[_0x18f69b(0x19d)](){return[_0x3a8226,_0x29fc12];}static get[_0x18f69b(0x19a)](){return!0x0;}static get[_0x18f69b(0x198)](){return!0x0;}}
23
+ var _0x18a379=_0x4fa8;function _0x5eb1(){var _0x208980=['pluginName','1347912DuNeRb','isOfficialPlugin','1058900GMBDfm','requires','11774192qVKnkS','1436668PliAYv','1224920AWjQas','isPremiumPlugin','394946cSezkj','UploadcareImageEdit','3sCvllq','4666872sclPOt'];_0x5eb1=function(){return _0x208980;};return _0x5eb1();}(function(_0x3c7065,_0x5017b9){var _0x11ffe8=_0x4fa8,_0x568235=_0x3c7065();while(!![]){try{var _0x3eee3c=-parseInt(_0x11ffe8(0x87))/0x1+-parseInt(_0x11ffe8(0x8d))/0x2+-parseInt(_0x11ffe8(0x8f))/0x3*(parseInt(_0x11ffe8(0x8a))/0x4)+parseInt(_0x11ffe8(0x8b))/0x5+-parseInt(_0x11ffe8(0x92))/0x6+parseInt(_0x11ffe8(0x90))/0x7+parseInt(_0x11ffe8(0x89))/0x8;if(_0x3eee3c===_0x5017b9)break;else _0x568235['push'](_0x568235['shift']());}catch(_0x4b4ef3){_0x568235['push'](_0x568235['shift']());}}}(_0x5eb1,0x84a1e));import{Plugin as _0x4f1b91}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1452a1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1b9775}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4fa8(_0x42a8df,_0xd7cfe6){var _0x5eb152=_0x5eb1();return _0x4fa8=function(_0x4fa83f,_0x12d5b4){_0x4fa83f=_0x4fa83f-0x87;var _0xfb285c=_0x5eb152[_0x4fa83f];return _0xfb285c;},_0x4fa8(_0x42a8df,_0xd7cfe6);}export class UploadcareImageEdit extends _0x4f1b91{static get[_0x18a379(0x91)](){var _0x50dfd2=_0x18a379;return _0x50dfd2(0x8e);}static get[_0x18a379(0x88)](){return[_0x1452a1,_0x1b9775];}static get[_0x18a379(0x93)](){return!0x0;}static get[_0x18a379(0x8c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x119bbb=_0x55e3;(function(_0x59260e,_0x18e9c2){const _0x5d4e95=_0x55e3,_0x87fed1=_0x59260e();while(!![]){try{const _0x306aba=-parseInt(_0x5d4e95(0xa6))/0x1+-parseInt(_0x5d4e95(0x8d))/0x2+-parseInt(_0x5d4e95(0xbe))/0x3*(-parseInt(_0x5d4e95(0xc0))/0x4)+parseInt(_0x5d4e95(0x8c))/0x5*(-parseInt(_0x5d4e95(0x7d))/0x6)+parseInt(_0x5d4e95(0x88))/0x7*(-parseInt(_0x5d4e95(0xa2))/0x8)+parseInt(_0x5d4e95(0xb5))/0x9*(parseInt(_0x5d4e95(0xad))/0xa)+parseInt(_0x5d4e95(0xbf))/0xb;if(_0x306aba===_0x18e9c2)break;else _0x87fed1['push'](_0x87fed1['shift']());}catch(_0x318c22){_0x87fed1['push'](_0x87fed1['shift']());}}}(_0x43b1,0x51fbf));import{Plugin as _0x4b829b}from'ckeditor5/src/core.js';import{IconDropbox as _0x321d22,IconFacebook as _0x505638,IconGoogleDrive as _0x1ee984,IconGooglePhotos as _0x432d24,IconUploadcareImageUpload as _0x2b52a5,IconUploadcareLink as _0x2f9ba4,IconOneDrive as _0x31682d}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f9b3e,MenuBarMenuListItemButtonView as _0x1fd943}from'ckeditor5/src/ui.js';function _0x55e3(_0x3ed542,_0x306379){const _0x43b15e=_0x43b1();return _0x55e3=function(_0x55e31c,_0xae3354){_0x55e31c=_0x55e31c-0x7c;let _0x42fa5c=_0x43b15e[_0x55e31c];return _0x42fa5c;},_0x55e3(_0x3ed542,_0x306379);}import{UploadcareSource as _0x4b0151}from'./uploadcareconfig.js';import{getTranslation as _0x2521b0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x43b1(){const _0x9d8348=['get','afterInit','label','607180HyoBFO','config','push','withText','forEach','reduce','init','50DHXuZb','uploadcareLicenseKeyDomainLimit','plugins','uploadcareLicenseKeyExpired','uploadcareLicenseKeyInvalid','evaluationLimit','uploadcareLicenseKeyNotAllowed','bind','809415YFJJJz','uploadcareLicenseKeyTrialLimit','uploadcare.uploader.sourceList','editor','commands','Facebook','destroy','type','uploadcareLicenseKeyUsageLimit','81NTsDWb','11355498fXWzfd','18268TrKihE','usageLimit','has','invalid','featureNotAllowed','locale','tooltip','Uploadcare','ImageInsertUI','assetManager','shortText','URL','trialLimit','icon','_createToolbarButton','1430166hVlnZh','Dropbox','_showLicenseError','registerIntegration','isImageSelected','expired','domainLimit','UploadcareUI','isEnabled','Replace','uploadcare','145481sspanT','Insert','_licenseKeyCheckInterval','GDrive','5BxjzvO','224418MmLgQu','text','_getIntegrationKey','isOfficialPlugin','_createButton','licenseKey','isPremiumPlugin','pluginName','execute','upload','uploadcareLicenseKeyValid','url','OneDrive','_createMenuBarButtons','Local','map','_createDropdownButtons','GPhotos','_normalizeConfigSourceList','entries','uploadcareLicenseKeyEvaluationLimit','120bkaEJX'];_0x43b1=function(){return _0x9d8348;};return _0x43b1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4b829b{[_0x119bbb(0x92)];[_0x119bbb(0x8a)];static get[_0x119bbb(0x94)](){const _0x169b7b=_0x119bbb;return _0x169b7b(0x84);}static get[_0x119bbb(0x90)](){return!0x0;}static get[_0x119bbb(0x93)](){return!0x0;}[_0x119bbb(0xac)](){const _0x2fcc1c=_0x119bbb;this[_0x2fcc1c(0x92)]=this[_0x2fcc1c(0xb8)][_0x2fcc1c(0xa7)][_0x2fcc1c(0xa3)](_0x2fcc1c(0x92));const _0x2d8bd3=this[_0x2fcc1c(0xb8)];this[_0x2fcc1c(0x8a)]=setInterval(()=>{const _0x345a14=_0x2fcc1c;let _0x383082;for(const _0x11477d in _0x2d8bd3){const _0x333d8e=_0x11477d,_0x4d8560=_0x2d8bd3[_0x333d8e];if(_0x345a14(0x97)==_0x4d8560||_0x345a14(0xb1)==_0x4d8560||_0x345a14(0xb0)==_0x4d8560||_0x345a14(0xae)==_0x4d8560||_0x345a14(0xb3)==_0x4d8560||_0x345a14(0xa1)==_0x4d8560||_0x345a14(0xb6)==_0x4d8560||_0x345a14(0xbd)==_0x4d8560){delete _0x2d8bd3[_0x333d8e],_0x383082=_0x4d8560,clearInterval(this[_0x345a14(0x8a)]),this[_0x345a14(0x8a)]=void 0x0;break;}}_0x345a14(0xb1)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc3)),_0x345a14(0xb0)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0x82)),_0x345a14(0xae)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0x83)),_0x345a14(0xb3)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc4),_0x345a14(0xc7)),_0x345a14(0xa1)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xb2)),_0x345a14(0xb6)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xcc)),_0x345a14(0xbd)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc1));},0x3e8);}[_0x119bbb(0xa4)](){const _0x13d379=_0x119bbb,{editor:_0x8f620}=this,_0x892bea=_0x8f620[_0x13d379(0xb9)][_0x13d379(0xa3)](_0x13d379(0x87));if(!_0x892bea)return;const _0x45c2c2=this[_0x13d379(0x9f)](_0x8f620[_0x13d379(0xa7)][_0x13d379(0xa3)](_0x13d379(0xb7)))[_0x13d379(0xab)]((_0x4e9d75,_0x38a319)=>{const _0x15ed10=_0x13d379,_0x3dfe29=this[_0x15ed10(0x8f)](_0x38a319[_0x15ed10(0xbc)]);return _0x4e9d75[_0x3dfe29]||(_0x4e9d75[_0x3dfe29]=[]),_0x4e9d75[_0x3dfe29][_0x15ed10(0xa8)](_0x38a319),_0x4e9d75;},{});_0x8f620[_0x13d379(0xaf)][_0x13d379(0xc2)](_0x13d379(0xc8))&&_0x8f620[_0x13d379(0xb9)][_0x13d379(0xa3)](_0x13d379(0x87))&&Object[_0x13d379(0xa0)](_0x45c2c2)[_0x13d379(0xaa)](([_0x5295d5,_0x5093d0])=>{const _0x3f40ff=_0x13d379;_0x8f620[_0x3f40ff(0xaf)][_0x3f40ff(0xa3)](_0x3f40ff(0xc8))[_0x3f40ff(0x80)]({'name':_0x5295d5,'observable':()=>_0x892bea,'buttonViewCreator':()=>this[_0x3f40ff(0x7c)](_0x5093d0),'formViewCreator':()=>this[_0x3f40ff(0x9d)](_0x5093d0),'menuBarButtonViewCreator':()=>this[_0x3f40ff(0x9a)](_0x5093d0),'override':_0x3f40ff(0xc9)!==_0x5295d5});});}[_0x119bbb(0xbb)](){const _0x35c77c=_0x119bbb;super[_0x35c77c(0xbb)](),this[_0x35c77c(0x8a)]&&clearInterval(this[_0x35c77c(0x8a)]);}[_0x119bbb(0x9f)](_0x45da36){const _0x29d5bd=_0x119bbb,{locale:_0x1cbb7a}=this[_0x29d5bd(0xb8)];return _0x45da36[_0x29d5bd(0x9c)](_0x5116dd=>{const _0x159723=_0x29d5bd,_0x4fce66=_0x2521b0(_0x1cbb7a,_0x5116dd,_0x159723(0x89));switch(_0x5116dd){case _0x4b0151[_0x159723(0x9b)]:return{'icon':_0x2b52a5,'type':_0x4b0151[_0x159723(0x9b)],..._0x4fce66};case _0x4b0151[_0x159723(0xcb)]:return{'icon':_0x2f9ba4,'type':_0x4b0151[_0x159723(0xcb)],..._0x4fce66};case _0x4b0151[_0x159723(0x7e)]:return{'icon':_0x321d22,'type':_0x4b0151[_0x159723(0x7e)],..._0x4fce66};case _0x4b0151[_0x159723(0xba)]:return{'icon':_0x505638,'type':_0x4b0151[_0x159723(0xba)],..._0x4fce66};case _0x4b0151[_0x159723(0x8b)]:return{'icon':_0x1ee984,'type':_0x4b0151[_0x159723(0x8b)],..._0x4fce66};case _0x4b0151[_0x159723(0x9e)]:return{'icon':_0x432d24,'type':_0x4b0151[_0x159723(0x9e)],..._0x4fce66};case _0x4b0151[_0x159723(0x99)]:return{'icon':_0x31682d,'type':_0x4b0151[_0x159723(0x99)],..._0x4fce66};}});}[_0x119bbb(0x8f)](_0x57126a){const _0x50e521=_0x119bbb;switch(_0x57126a){case _0x4b0151[_0x50e521(0x9b)]:return _0x50e521(0x96);case _0x4b0151[_0x50e521(0xcb)]:return _0x50e521(0x98);default:return _0x50e521(0xc9);}}[_0x119bbb(0x91)](_0x3c5919,_0xda85f3){const _0x1a8f48=_0x119bbb,_0x2f3450=this[_0x1a8f48(0xb8)],_0x2ca4e8=new _0x3c5919(_0x2f3450[_0x1a8f48(0xc5)]),_0x988e0d=_0x2f3450[_0x1a8f48(0xb9)][_0x1a8f48(0xa3)](_0x1a8f48(0x87));return _0x2ca4e8[_0x1a8f48(0xb4)](_0x1a8f48(0x85))['to'](_0x988e0d),_0x2ca4e8['on'](_0x1a8f48(0x95),()=>{const _0x50f817=_0x1a8f48;_0x988e0d[_0x50f817(0x95)](_0xda85f3);}),_0x2ca4e8;}[_0x119bbb(0x7c)](_0x140b4f){const _0x2a2c76=_0x119bbb,{locale:_0x1dcddd}=this[_0x2a2c76(0xb8)],_0x833222=this[_0x2a2c76(0xb8)][_0x2a2c76(0xaf)][_0x2a2c76(0xa3)](_0x2a2c76(0xc8)),_0x527fe1=_0x140b4f[0x0],_0x1b45ae=this[_0x2a2c76(0x91)](_0x3f9b3e,_0x527fe1[_0x2a2c76(0xbc)]);return _0x1b45ae[_0x2a2c76(0xcd)]=_0x527fe1[_0x2a2c76(0xcd)],_0x1b45ae[_0x2a2c76(0xb4)](_0x2a2c76(0xa5))['to'](_0x833222,_0x2a2c76(0x81),_0x193b30=>_0x2521b0(_0x1dcddd,_0x527fe1[_0x2a2c76(0xbc)],_0x193b30?_0x2a2c76(0x86):_0x2a2c76(0x89))[_0x2a2c76(0x8e)]),_0x1b45ae[_0x2a2c76(0xc6)]=!0x0,_0x1b45ae;}[_0x119bbb(0x9d)](_0x19e986){const _0xa937f3=_0x119bbb,{locale:_0x20b78a}=this[_0xa937f3(0xb8)],_0x399331=this[_0xa937f3(0xb8)][_0xa937f3(0xaf)][_0xa937f3(0xa3)](_0xa937f3(0xc8));return _0x19e986[_0xa937f3(0x9c)](_0x5107d6=>{const _0x42cc49=_0xa937f3,_0x49daea=this[_0x42cc49(0x91)](_0x3f9b3e,_0x5107d6[_0x42cc49(0xbc)]);return _0x49daea[_0x42cc49(0xa9)]=!0x0,_0x49daea[_0x42cc49(0xcd)]=_0x5107d6[_0x42cc49(0xcd)],_0x49daea[_0x42cc49(0xb4)](_0x42cc49(0xa5))['to'](_0x399331,_0x42cc49(0x81),_0x78f7cc=>_0x2521b0(_0x20b78a,_0x5107d6[_0x42cc49(0xbc)],_0x78f7cc?_0x42cc49(0x86):_0x42cc49(0x89))[_0x42cc49(0x8e)]),_0x49daea;});}[_0x119bbb(0x9a)](_0x172625){const _0x431cb2=_0x119bbb;return _0x172625[_0x431cb2(0x9c)](_0x5049ca=>{const _0x18e7f4=_0x431cb2,_0x1414b=this[_0x18e7f4(0x91)](_0x1fd943,_0x5049ca[_0x18e7f4(0xbc)]);return _0x1414b[_0x18e7f4(0xcd)]=_0x5049ca[_0x18e7f4(0xcd)],_0x1414b[_0x18e7f4(0xa5)]=_0x5049ca[_0x18e7f4(0xca)],_0x1414b;});}}
23
+ const _0x4d25b8=_0x3dee;(function(_0x122614,_0xc14428){const _0x4353c4=_0x3dee,_0x558b6a=_0x122614();while(!![]){try{const _0xa9471f=parseInt(_0x4353c4(0x104))/0x1*(-parseInt(_0x4353c4(0xd5))/0x2)+-parseInt(_0x4353c4(0xd6))/0x3+parseInt(_0x4353c4(0x107))/0x4*(parseInt(_0x4353c4(0xd4))/0x5)+-parseInt(_0x4353c4(0xef))/0x6*(-parseInt(_0x4353c4(0xfd))/0x7)+parseInt(_0x4353c4(0xb7))/0x8*(parseInt(_0x4353c4(0xcb))/0x9)+parseInt(_0x4353c4(0xb9))/0xa*(parseInt(_0x4353c4(0xed))/0xb)+-parseInt(_0x4353c4(0xe4))/0xc;if(_0xa9471f===_0xc14428)break;else _0x558b6a['push'](_0x558b6a['shift']());}catch(_0x1a0537){_0x558b6a['push'](_0x558b6a['shift']());}}}(_0x2e38,0xf3bda));import{Plugin as _0x251db3}from'ckeditor5/src/core.js';import{IconDropbox as _0x4ef792,IconFacebook as _0xf536b5,IconGoogleDrive as _0x121b1c,IconGooglePhotos as _0x3b24d8,IconUploadcareImageUpload as _0x520c04,IconUploadcareLink as _0x13602d,IconOneDrive as _0x1e1909}from'ckeditor5/src/icons.js';function _0x2e38(){const _0x568e48=['forEach','bind','plugins','Local','featureNotAllowed','withText','map','afterInit','isImageSelected','114813oJzUov','entries','Facebook','execute','_createMenuBarButtons','registerIntegration','push','assetManager','uploadcareLicenseKeyUsageLimit','58735zBWLgN','274fahmeg','4755372AJGkhr','OneDrive','uploadcareLicenseKeyDomainLimit','domainLimit','_createToolbarButton','text','invalid','icon','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','tooltip','_createButton','UploadcareUI','_normalizeConfigSourceList','12808944MeRAQo','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','Insert','isOfficialPlugin','config','_getIntegrationKey','GPhotos','ImageInsertUI','3949YiZrrT','upload','6zYvmvp','uploadcareLicenseKeyTrialLimit','GDrive','Dropbox','uploadcareLicenseKeyValid','Uploadcare','editor','isEnabled','usageLimit','shortText','type','isPremiumPlugin','init','uploadcare','13869583CJgRRe','_showLicenseError','trialLimit','locale','Replace','evaluationLimit','_createDropdownButtons','7832aNTcXy','get','reduce','636RPQyoz','destroy','pluginName','368AftLQR','_licenseKeyCheckInterval','8020ThTgET','licenseKey','uploadcareLicenseKeyExpired','url','URL','expired','label','has','commands'];_0x2e38=function(){return _0x568e48;};return _0x2e38();}import{ButtonView as _0x57d4b3,MenuBarMenuListItemButtonView as _0x6b146d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x34941e}from'./uploadcareconfig.js';import{getTranslation as _0x5a18c9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x3dee(_0x13b2d4,_0x5519fd){const _0x2e389e=_0x2e38();return _0x3dee=function(_0x3dee44,_0x3e070c){_0x3dee44=_0x3dee44-0xb6;let _0x2c387e=_0x2e389e[_0x3dee44];return _0x2c387e;},_0x3dee(_0x13b2d4,_0x5519fd);}export class UploadcareUI extends _0x251db3{[_0x4d25b8(0xba)];[_0x4d25b8(0xb8)];static get[_0x4d25b8(0xb6)](){const _0x3a0114=_0x4d25b8;return _0x3a0114(0xe2);}static get[_0x4d25b8(0xe8)](){return!0x0;}static get[_0x4d25b8(0xfa)](){return!0x0;}[_0x4d25b8(0xfb)](){const _0x4f45dd=_0x4d25b8;this[_0x4f45dd(0xba)]=this[_0x4f45dd(0xf5)][_0x4f45dd(0xe9)][_0x4f45dd(0x105)](_0x4f45dd(0xba));const _0x18f034=this[_0x4f45dd(0xf5)];this[_0x4f45dd(0xb8)]=setInterval(()=>{const _0x9c1c60=_0x4f45dd;let _0x11924b;for(const _0x4102e4 in _0x18f034){const _0x219b00=_0x4102e4,_0x2527f9=_0x18f034[_0x219b00];if(_0x9c1c60(0xf3)==_0x2527f9||_0x9c1c60(0xe5)==_0x2527f9||_0x9c1c60(0xbb)==_0x2527f9||_0x9c1c60(0xd8)==_0x2527f9||_0x9c1c60(0xde)==_0x2527f9||_0x9c1c60(0xe6)==_0x2527f9||_0x9c1c60(0xf0)==_0x2527f9||_0x9c1c60(0xd3)==_0x2527f9){delete _0x18f034[_0x219b00],_0x11924b=_0x2527f9,clearInterval(this[_0x9c1c60(0xb8)]),this[_0x9c1c60(0xb8)]=void 0x0;break;}}_0x9c1c60(0xe5)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xdc)),_0x9c1c60(0xbb)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xbe)),_0x9c1c60(0xd8)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xd9)),_0x9c1c60(0xde)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xc6),_0x9c1c60(0xf4)),_0x9c1c60(0xe6)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0x102)),_0x9c1c60(0xf0)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xff)),_0x9c1c60(0xd3)==_0x11924b&&_0x18f034[_0x9c1c60(0xfe)](_0x9c1c60(0xf7));},0x3e8);}[_0x4d25b8(0xc9)](){const _0x30bf90=_0x4d25b8,{editor:_0x210dc7}=this,_0x38dec4=_0x210dc7[_0x30bf90(0xc1)][_0x30bf90(0x105)](_0x30bf90(0xfc));if(!_0x38dec4)return;const _0x492502=this[_0x30bf90(0xe3)](_0x210dc7[_0x30bf90(0xe9)][_0x30bf90(0x105)](_0x30bf90(0xdf)))[_0x30bf90(0x106)]((_0x23812a,_0x41fcc9)=>{const _0x45689=_0x30bf90,_0x247d0d=this[_0x45689(0xea)](_0x41fcc9[_0x45689(0xf9)]);return _0x23812a[_0x247d0d]||(_0x23812a[_0x247d0d]=[]),_0x23812a[_0x247d0d][_0x45689(0xd1)](_0x41fcc9),_0x23812a;},{});_0x210dc7[_0x30bf90(0xc4)][_0x30bf90(0xc0)](_0x30bf90(0xec))&&_0x210dc7[_0x30bf90(0xc1)][_0x30bf90(0x105)](_0x30bf90(0xfc))&&Object[_0x30bf90(0xcc)](_0x492502)[_0x30bf90(0xc2)](([_0x3c1773,_0x247df2])=>{const _0x136369=_0x30bf90;_0x210dc7[_0x136369(0xc4)][_0x136369(0x105)](_0x136369(0xec))[_0x136369(0xd0)]({'name':_0x3c1773,'observable':()=>_0x38dec4,'buttonViewCreator':()=>this[_0x136369(0xda)](_0x247df2),'formViewCreator':()=>this[_0x136369(0x103)](_0x247df2),'menuBarButtonViewCreator':()=>this[_0x136369(0xcf)](_0x247df2),'override':_0x136369(0xd2)!==_0x3c1773});});}[_0x4d25b8(0x108)](){const _0x2fcb02=_0x4d25b8;super[_0x2fcb02(0x108)](),this[_0x2fcb02(0xb8)]&&clearInterval(this[_0x2fcb02(0xb8)]);}[_0x4d25b8(0xe3)](_0x5caf27){const _0x38831c=_0x4d25b8,{locale:_0xb50fb6}=this[_0x38831c(0xf5)];return _0x5caf27[_0x38831c(0xc8)](_0x2535c4=>{const _0x2859de=_0x38831c,_0x4012ba=_0x5a18c9(_0xb50fb6,_0x2535c4,_0x2859de(0xe7));switch(_0x2535c4){case _0x34941e[_0x2859de(0xc5)]:return{'icon':_0x520c04,'type':_0x34941e[_0x2859de(0xc5)],..._0x4012ba};case _0x34941e[_0x2859de(0xbd)]:return{'icon':_0x13602d,'type':_0x34941e[_0x2859de(0xbd)],..._0x4012ba};case _0x34941e[_0x2859de(0xf2)]:return{'icon':_0x4ef792,'type':_0x34941e[_0x2859de(0xf2)],..._0x4012ba};case _0x34941e[_0x2859de(0xcd)]:return{'icon':_0xf536b5,'type':_0x34941e[_0x2859de(0xcd)],..._0x4012ba};case _0x34941e[_0x2859de(0xf1)]:return{'icon':_0x121b1c,'type':_0x34941e[_0x2859de(0xf1)],..._0x4012ba};case _0x34941e[_0x2859de(0xeb)]:return{'icon':_0x3b24d8,'type':_0x34941e[_0x2859de(0xeb)],..._0x4012ba};case _0x34941e[_0x2859de(0xd7)]:return{'icon':_0x1e1909,'type':_0x34941e[_0x2859de(0xd7)],..._0x4012ba};}});}[_0x4d25b8(0xea)](_0x460413){const _0x4f98be=_0x4d25b8;switch(_0x460413){case _0x34941e[_0x4f98be(0xc5)]:return _0x4f98be(0xee);case _0x34941e[_0x4f98be(0xbd)]:return _0x4f98be(0xbc);default:return _0x4f98be(0xd2);}}[_0x4d25b8(0xe1)](_0x2d1dbc,_0x25f0bf){const _0x3d45cb=_0x4d25b8,_0x1ea5f4=this[_0x3d45cb(0xf5)],_0x2450d0=new _0x2d1dbc(_0x1ea5f4[_0x3d45cb(0x100)]),_0x5f3f01=_0x1ea5f4[_0x3d45cb(0xc1)][_0x3d45cb(0x105)](_0x3d45cb(0xfc));return _0x2450d0[_0x3d45cb(0xc3)](_0x3d45cb(0xf6))['to'](_0x5f3f01),_0x2450d0['on'](_0x3d45cb(0xce),()=>{const _0x55bb65=_0x3d45cb;_0x5f3f01[_0x55bb65(0xce)](_0x25f0bf);}),_0x2450d0;}[_0x4d25b8(0xda)](_0x3ba1a0){const _0x5b7cd5=_0x4d25b8,{locale:_0x224bcc}=this[_0x5b7cd5(0xf5)],_0xe54a70=this[_0x5b7cd5(0xf5)][_0x5b7cd5(0xc4)][_0x5b7cd5(0x105)](_0x5b7cd5(0xec)),_0x214b1e=_0x3ba1a0[0x0],_0x919425=this[_0x5b7cd5(0xe1)](_0x57d4b3,_0x214b1e[_0x5b7cd5(0xf9)]);return _0x919425[_0x5b7cd5(0xdd)]=_0x214b1e[_0x5b7cd5(0xdd)],_0x919425[_0x5b7cd5(0xc3)](_0x5b7cd5(0xbf))['to'](_0xe54a70,_0x5b7cd5(0xca),_0x1fd7e3=>_0x5a18c9(_0x224bcc,_0x214b1e[_0x5b7cd5(0xf9)],_0x1fd7e3?_0x5b7cd5(0x101):_0x5b7cd5(0xe7))[_0x5b7cd5(0xdb)]),_0x919425[_0x5b7cd5(0xe0)]=!0x0,_0x919425;}[_0x4d25b8(0x103)](_0x13313a){const _0x468a09=_0x4d25b8,{locale:_0x54a084}=this[_0x468a09(0xf5)],_0x415215=this[_0x468a09(0xf5)][_0x468a09(0xc4)][_0x468a09(0x105)](_0x468a09(0xec));return _0x13313a[_0x468a09(0xc8)](_0x115e1e=>{const _0xdc33de=_0x468a09,_0x4f8c50=this[_0xdc33de(0xe1)](_0x57d4b3,_0x115e1e[_0xdc33de(0xf9)]);return _0x4f8c50[_0xdc33de(0xc7)]=!0x0,_0x4f8c50[_0xdc33de(0xdd)]=_0x115e1e[_0xdc33de(0xdd)],_0x4f8c50[_0xdc33de(0xc3)](_0xdc33de(0xbf))['to'](_0x415215,_0xdc33de(0xca),_0x2000cf=>_0x5a18c9(_0x54a084,_0x115e1e[_0xdc33de(0xf9)],_0x2000cf?_0xdc33de(0x101):_0xdc33de(0xe7))[_0xdc33de(0xdb)]),_0x4f8c50;});}[_0x4d25b8(0xcf)](_0x47ee16){const _0x49577d=_0x4d25b8;return _0x47ee16[_0x49577d(0xc8)](_0x196189=>{const _0xe8f72e=_0x49577d,_0x3bebe2=this[_0xe8f72e(0xe1)](_0x6b146d,_0x196189[_0xe8f72e(0xf9)]);return _0x3bebe2[_0xe8f72e(0xdd)]=_0x196189[_0xe8f72e(0xdd)],_0x3bebe2[_0xe8f72e(0xbf)]=_0x196189[_0xe8f72e(0xf8)],_0x3bebe2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xa8f44d}from'ckeditor5/src/core.js';import{FileRepository as _0x51a641}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1a183e}from'./uploadcareediting.js';import{UploadUtils as _0x1e965a}from'./utils/uploadutils.js';import{getImageUrls as _0x4dcb0a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xa8f44d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51a641,_0x1a183e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28134d=this['editor'];if(!!!_0x28134d['config']['get']('uploadcare'))return;_0x28134d['plugins']['get'](_0x51a641)['createUploadAdapter']=_0x2a6536=>new k(_0x2a6536,_0x28134d),_0x28134d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x152bd2,{imageElement:_0x57d746,data:_0x4e0ac9})=>{_0x28134d['model']['change'](_0x5ebb30=>{_0x5ebb30['setAttribute']('uploadcareImageId',_0x4e0ac9['uploadcareImageId'],_0x57d746);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x682a62,_0x27220d){this['loader']=_0x682a62,this['editor']=_0x27220d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e4a59=await this['loader']['file'];return _0x1e965a['upload']({'file':_0x5e4a59,'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':_0x11537c=>{_0x11537c&&_0x11537c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11537c['value']);}})['then'](async _0x4bb6d2=>{const {imageFallbackUrl:_0xb43083,imageSources:_0x39a8dd}=_0x4dcb0a(_0x4bb6d2['cdnUrl'],_0x4bb6d2['imageInfo']['width']);return{'uploadcareImageId':_0x4bb6d2['uuid'],'default':_0xb43083,'sources':_0x39a8dd};})['catch'](()=>{const _0x57af55=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e4a59['name']+'.');return Promise['reject'](_0x57af55);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x244898}from'ckeditor5/src/core.js';import{FileRepository as _0x54b280}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1b1695}from'./uploadcareediting.js';import{UploadUtils as _0x202362}from'./utils/uploadutils.js';import{getImageUrls as _0x3cb57d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x244898{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x54b280,_0x1b1695];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x411b7d=this['editor'];if(!!!_0x411b7d['config']['get']('uploadcare'))return;_0x411b7d['plugins']['get'](_0x54b280)['createUploadAdapter']=_0x244f70=>new k(_0x244f70,_0x411b7d),_0x411b7d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x10b73d,{imageElement:_0x3a07f0,data:_0x18c172})=>{_0x411b7d['model']['change'](_0xaeb073=>{_0xaeb073['setAttribute']('uploadcareImageId',_0x18c172['uploadcareImageId'],_0x3a07f0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x299cb4,_0x1a669c){this['loader']=_0x299cb4,this['editor']=_0x1a669c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x101a78=await this['loader']['file'];return _0x202362['upload']({'file':_0x101a78,'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':_0x3326b9=>{_0x3326b9&&_0x3326b9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3326b9['value']);}})['then'](async _0x35c83a=>{const {imageFallbackUrl:_0x5dc9a5,imageSources:_0x25d646}=_0x3cb57d(_0x35c83a['cdnUrl'],_0x35c83a['imageInfo']['width']);return{'uploadcareImageId':_0x35c83a['uuid'],'default':_0x5dc9a5,'sources':_0x25d646};})['catch'](()=>{const _0x5c722c=t('Cannot\x20upload\x20file:')+('\x20'+_0x101a78['name']+'.');return Promise['reject'](_0x5c722c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x47f838}from'../uploadcareconfig.js';export function getTranslation(_0x110e8e,_0x47db4c,_0x51527f){const t=_0x110e8e['t'],_0x27c6ec=_0x110e8e['t'];switch(_0x47db4c){case _0x47f838['Local']:return{'text':_0x27c6ec('Insert'===_0x51527f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x27c6ec('From\x20computer')};case _0x47f838['URL']:return{'text':'Insert'===_0x51527f?_0x27c6ec('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x27c6ec('Via\x20URL')};case _0x47f838['Dropbox']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x47f838['Facebook']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x47f838['GDrive']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x47f838['GPhotos']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x47f838['OneDrive']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x47db4c;}}
23
+ import{UploadcareSource as _0x52c63b}from'../uploadcareconfig.js';export function getTranslation(_0x2d2e1e,_0x1b7881,_0xbccaaa){const t=_0x2d2e1e['t'],_0x4f1fd7=_0x2d2e1e['t'];switch(_0x1b7881){case _0x52c63b['Local']:return{'text':_0x4f1fd7('Insert'===_0xbccaaa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f1fd7('From\x20computer')};case _0x52c63b['URL']:return{'text':'Insert'===_0xbccaaa?_0x4f1fd7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f1fd7('Via\x20URL')};case _0x52c63b['Dropbox']:return{'text':t('Insert'===_0xbccaaa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x52c63b['Facebook']:return{'text':t('Insert'===_0xbccaaa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x52c63b['GDrive']:return{'text':t('Insert'===_0xbccaaa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x52c63b['GPhotos']:return{'text':t('Insert'===_0xbccaaa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x52c63b['OneDrive']:return{'text':t('Insert'===_0xbccaaa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b7881;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8a37cd=_0x1312;(function(_0x2925ab,_0x6c162a){var _0x222a49=_0x1312,_0x28db9e=_0x2925ab();while(!![]){try{var _0x352fc2=-parseInt(_0x222a49(0x81))/0x1*(parseInt(_0x222a49(0x8a))/0x2)+-parseInt(_0x222a49(0x86))/0x3*(parseInt(_0x222a49(0x7c))/0x4)+parseInt(_0x222a49(0x8e))/0x5+parseInt(_0x222a49(0x8f))/0x6*(parseInt(_0x222a49(0x80))/0x7)+parseInt(_0x222a49(0x7d))/0x8+-parseInt(_0x222a49(0x7b))/0x9*(parseInt(_0x222a49(0x87))/0xa)+-parseInt(_0x222a49(0x7e))/0xb*(-parseInt(_0x222a49(0x8d))/0xc);if(_0x352fc2===_0x6c162a)break;else _0x28db9e['push'](_0x28db9e['shift']());}catch(_0x37dd29){_0x28db9e['push'](_0x28db9e['shift']());}}}(_0x4f98,0xb6b83));import{FocusTracker as _0x59c263}from'ckeditor5/src/utils.js';function _0x1312(_0x96c63d,_0x3785db){var _0x4f9895=_0x4f98();return _0x1312=function(_0x131255,_0x209993){_0x131255=_0x131255-0x7b;var _0x47996c=_0x4f9895[_0x131255];return _0x47996c;},_0x1312(_0x96c63d,_0x3785db);}function _0x4f98(){var _0x4ca22c=['fire','133qSxkDQ','307CcAFAo','focusCycler','true','div','bindTemplate','11442rwZlcD','10SVJgYV','getFocusableElement','forwardCycle','9430TptWhH','createCollection','focusTracker','5847540ZpOqmr','4432165HTorsp','38022ibbrvI','6756237BBZpFl','1488KuSijR','7376912xvuqWL','55uqNFNR'];_0x4f98=function(){return _0x4ca22c;};return _0x4f98();}import{View as _0x553ada,FocusCycler as _0x2e5bb0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x553ada{[_0x8a37cd(0x8c)];[_0x8a37cd(0x82)];constructor(_0x2cbcfb){var _0x5749b2=_0x8a37cd;super(_0x2cbcfb),this[_0x5749b2(0x8c)]=new _0x59c263(),this[_0x5749b2(0x82)]=new _0x2e5bb0({'focusables':this[_0x5749b2(0x8b)](),'focusTracker':this[_0x5749b2(0x8c)]});}[_0x8a37cd(0x88)](){var _0x230523=_0x8a37cd;return{'tag':_0x230523(0x84),'attributes':{'aria-hidden':_0x230523(0x83),'tabindex':'0'},'on':{'focus':this[_0x230523(0x85)]['to'](()=>{var _0x380aba=_0x230523;this[_0x380aba(0x82)][_0x380aba(0x7f)](_0x380aba(0x89));})}};}}
23
+ var _0xc9584c=_0x37aa;(function(_0x42ffad,_0x57be3f){var _0xaccc6c=_0x37aa,_0x5356d8=_0x42ffad();while(!![]){try{var _0x4762bb=-parseInt(_0xaccc6c(0x1b6))/0x1+-parseInt(_0xaccc6c(0x1a4))/0x2+-parseInt(_0xaccc6c(0x1ab))/0x3*(parseInt(_0xaccc6c(0x1b5))/0x4)+-parseInt(_0xaccc6c(0x1b2))/0x5+parseInt(_0xaccc6c(0x1b7))/0x6*(-parseInt(_0xaccc6c(0x1b1))/0x7)+parseInt(_0xaccc6c(0x1ac))/0x8*(parseInt(_0xaccc6c(0x1a9))/0x9)+-parseInt(_0xaccc6c(0x1a8))/0xa*(-parseInt(_0xaccc6c(0x1a6))/0xb);if(_0x4762bb===_0x57be3f)break;else _0x5356d8['push'](_0x5356d8['shift']());}catch(_0x158db9){_0x5356d8['push'](_0x5356d8['shift']());}}}(_0x1001,0x23cdb));import{FocusTracker as _0xc33a65}from'ckeditor5/src/utils.js';function _0x37aa(_0x5628e3,_0x562a93){var _0x100190=_0x1001();return _0x37aa=function(_0x37aa24,_0x578101){_0x37aa24=_0x37aa24-0x1a4;var _0x335808=_0x100190[_0x37aa24];return _0x335808;},_0x37aa(_0x5628e3,_0x562a93);}import{View as _0x41f43b,FocusCycler as _0x326e83}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x41f43b{[_0xc9584c(0x1b3)];[_0xc9584c(0x1b0)];constructor(_0x2ca77c){var _0x1ea3e8=_0xc9584c;super(_0x2ca77c),this[_0x1ea3e8(0x1b3)]=new _0xc33a65(),this[_0x1ea3e8(0x1b0)]=new _0x326e83({'focusables':this[_0x1ea3e8(0x1a5)](),'focusTracker':this[_0x1ea3e8(0x1b3)]});}[_0xc9584c(0x1b4)](){var _0x589a91=_0xc9584c;return{'tag':_0x589a91(0x1ae),'attributes':{'aria-hidden':_0x589a91(0x1af),'tabindex':'0'},'on':{'focus':this[_0x589a91(0x1ad)]['to'](()=>{var _0x1455c5=_0x589a91;this[_0x1455c5(0x1b0)][_0x1455c5(0x1aa)](_0x1455c5(0x1a7));})}};}}function _0x1001(){var _0x1b3f8a=['bindTemplate','div','true','focusCycler','33502ZXwCDg','733175sAUTej','focusTracker','getFocusableElement','15428sizwZU','76854hFrFBo','90nMPrbp','156326xKuXlv','createCollection','33caPLwj','forwardCycle','1707570oPCeas','4203tPYkJa','fire','165iOVbwm','3768UEGFSM'];_0x1001=function(){return _0x1b3f8a;};return _0x1001();}