@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250418.0 → 0.0.0-nightly-20250420.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x271631=_0x574a;(function(_0x21aa83,_0x167ecd){const _0x292489=_0x574a,_0x235dd7=_0x21aa83();while(!![]){try{const _0x18ee56=-parseInt(_0x292489(0x17f))/0x1+parseInt(_0x292489(0x170))/0x2*(-parseInt(_0x292489(0x14f))/0x3)+-parseInt(_0x292489(0x161))/0x4*(-parseInt(_0x292489(0x171))/0x5)+-parseInt(_0x292489(0x13f))/0x6*(parseInt(_0x292489(0x158))/0x7)+-parseInt(_0x292489(0x175))/0x8*(parseInt(_0x292489(0x179))/0x9)+-parseInt(_0x292489(0x176))/0xa*(parseInt(_0x292489(0x14a))/0xb)+-parseInt(_0x292489(0x143))/0xc*(-parseInt(_0x292489(0x159))/0xd);if(_0x18ee56===_0x167ecd)break;else _0x235dd7['push'](_0x235dd7['shift']());}catch(_0x321827){_0x235dd7['push'](_0x235dd7['shift']());}}}(_0x2da0,0x6feb5));import{Plugin as _0x59ebd9}from'ckeditor5/src/core.js';import{Dialog as _0x454f19}from'ckeditor5/src/ui.js';import{createElement as _0x4f16a3,global as _0x56c7fd,uid as _0x4d975c}from'ckeditor5/src/utils.js';import _0x3d4da9 from'./uploadcarecommand.js';import _0x3181b9 from'./uploadcareuploadadapter.js';function _0x2da0(){const _0x30af1e=['81ebtCTD','imageInline','editor','map','add','configElement','500825rqMnqt','uploadcare','uc-upload-ctx-provider','input[uploadcare-file-input]','isOfficialPlugin','_initSchema','insertImage','uc-config','fromCharCode','downcast','join','removeAttribute','getSelectedElement','listenTo','view','get','requires','cleanupImage','uploadcareImageId','getAttribute','iconHrefResolver','_configElement','#uc-icon-arrow-down','138UBMBBD','elementToAttribute','imageBlock','closeMax','1764VNLakr','_initConfig','selection','replaceImageSource','upcast','document','afterInit','1713547akTonG','\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','UploadcareEditing','model','_initCtx','235209vuwjQw','attributeToAttribute','uploader','body','uploadcareImageReplace','true','isPremiumPlugin','appendChild','uploadcare.uploader','25529jtyyhJ','116675EoOczg','editing','contentLanguage','ctxElement','isRegistered','data-uc-image-id','remove','_ctxElement','2541896qAOXYS','for','execute','_initConversion','destroy','render','uploadcare.pubkey','schema','pluginName','extend','conversion','_initImageProcessingIndicator','init','config','PictureEditing','6jImTCO','5nLmFgl','once','querySelector','href','462832PPqzZo','10zAhoAW','locale','commands'];_0x2da0=function(){return _0x30af1e;};return _0x2da0();}import{showImageProcessingIndicator as _0x2ed673}from'./utils/editingutils.js';function _0x574a(_0x4bb28b,_0x5e3b3e){const _0x2da0cd=_0x2da0();return _0x574a=function(_0x574a56,_0x315abf){_0x574a56=_0x574a56-0x13d;let _0x2847a3=_0x2da0cd[_0x574a56];return _0x2847a3;},_0x574a(_0x4bb28b,_0x5e3b3e);}export default class i extends _0x59ebd9{[_0x271631(0x13d)]=null;[_0x271631(0x160)]=null;static get[_0x271631(0x169)](){const _0x44850e=_0x271631;return _0x44850e(0x14c);}static get[_0x271631(0x18f)](){const _0xd6c988=_0x271631;return[_0xd6c988(0x16f),_0x3181b9,_0x454f19];}static get[_0x271631(0x183)](){return!0x0;}static get[_0x271631(0x155)](){return!0x0;}get[_0x271631(0x17e)](){const _0x118dbd=_0x271631;return this[_0x118dbd(0x13d)];}get[_0x271631(0x15c)](){const _0x1c8286=_0x271631;return this[_0x1c8286(0x160)];}[_0x271631(0x16d)](){const _0x3ed4b8=_0x271631,_0x462e42=this[_0x3ed4b8(0x17b)];_0x462e42[_0x3ed4b8(0x178)][_0x3ed4b8(0x17d)](_0x3ed4b8(0x180),new _0x3d4da9(_0x462e42));}[_0x271631(0x149)](){const _0x349692=_0x271631;this[_0x349692(0x184)](),this[_0x349692(0x164)](),this[_0x349692(0x144)](),this[_0x349692(0x14e)](),this[_0x349692(0x16c)](),this[_0x349692(0x18c)](this[_0x349692(0x17b)],_0x349692(0x165),()=>{const _0x492056=_0x349692;this[_0x492056(0x13d)]&&(this[_0x492056(0x13d)][_0x492056(0x15f)](),this[_0x492056(0x13d)]=null),this[_0x492056(0x160)]&&(this[_0x492056(0x160)][_0x492056(0x15f)](),this[_0x492056(0x160)]=null);const _0x25b9aa=_0x56c7fd[_0x492056(0x148)][_0x492056(0x173)](_0x492056(0x182));_0x25b9aa&&_0x25b9aa[_0x492056(0x15f)]();}),async function(_0x8636b9){const _0xb4963c=_0x540d9e([0x74,0x36,0x6b,0x77,0x72,0x48,0x31,0x32,0x68,0x6d,0x37,0x4c,0x58,0x6c,0x62,0x49,0x38,0x75,0x46,0x4a,0x4b,0x63,0x45,0x55,0x44,0x43,0x79,0x57,0x64,0x70,0x35,0x53,0x67,0x4e,0x6e,0x76,0x6a,0x39,0x66,0x34,0x33,0x7a,0x51,0x54,0x69,0x73,0x61,0x78,0x65,0x59,0x47,0x71,0x30,0x41,0x42,0x4f,0x52,0x5a,0x4d,0x6f,0x56,0x50]),_0x4d9f8c=0x3b715275,_0x4c3cd4=0x3b763715^_0x4d9f8c,_0x36443d=window[_0x540d9e([0x44,0x61,0x74,0x65])][_0x540d9e([0x6e,0x6f,0x77])](),_0x3e61b7=_0x8636b9[_0x540d9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c01e8=new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x451ad3=>{_0x3e61b7[_0x540d9e([0x6f,0x6e,0x63,0x65])](_0x540d9e([0x72,0x65,0x61,0x64,0x79]),_0x451ad3);}),_0x580fd8={[_0x540d9e([0x6b,0x74,0x79])]:_0x540d9e([0x45,0x43]),[_0x540d9e([0x75,0x73,0x65])]:_0x540d9e([0x73,0x69,0x67]),[_0x540d9e([0x63,0x72,0x76])]:_0x540d9e([0x50,0x2d,0x32,0x35,0x36]),[_0x540d9e([0x78])]:_0x540d9e([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]),[_0x540d9e([0x79])]:_0x540d9e([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]),[_0x540d9e([0x61,0x6c,0x67])]:_0x540d9e([0x45,0x53,0x32,0x35,0x36])},_0x491ce1=_0x3e61b7[_0x540d9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x540d9e([0x67,0x65,0x74])](_0x540d9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x677a05(){let _0x5cf19d,_0x470264=null,_0x23d660=null;try{if(_0x491ce1==_0x540d9e([0x47,0x50,0x4c]))return _0x540d9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cf19d=_0xe3d47c(),!_0x5cf19d)return _0x540d9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cf19d[_0x540d9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23d660=_0x194ac9(_0x5cf19d[_0x540d9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cf19d[_0x540d9e([0x6a,0x74,0x69])])),await _0xa52e6d()?_0x169cbb()?_0x161c4a()?_0x540d9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x116639()?(_0x5cf19d[_0x540d9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x540d9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x470264=_0x61992d(_0x540d9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cf19d[_0x540d9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x540d9e([0x74,0x72,0x69,0x61,0x6c])&&(_0x470264=_0x61992d(_0x540d9e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x538245()):_0x540d9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x540d9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x540d9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5e428a){return _0x540d9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x161c4a(){const _0x5376fd=[_0x540d9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x540d9e([0x74,0x72,0x69,0x61,0x6c])][_0x540d9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf19d[_0x540d9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36443d/0x3e8:0xe10*_0x4c3cd4;return _0x5cf19d[_0x540d9e([0x65,0x78,0x70])]<_0x5376fd;}function _0x169cbb(){const _0x5f0ca8=_0x5cf19d[_0x540d9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f0ca8&&(!!_0x5f0ca8[_0x540d9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d9e([0x2a]))||!!_0x5f0ca8[_0x540d9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d9e([0x55,0x50,0x4c,0x43])));}function _0x116639(){const _0x1158c2=_0x574a,_0x4bd4b3=_0x5cf19d[_0x540d9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bd4b3||0x0==_0x4bd4b3[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15c98d}=new URL(window[_0x540d9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1158c2(0x174)]);if(_0x4bd4b3[_0x540d9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c98d))return!0x0;const _0x4f16d4=_0x15c98d[_0x540d9e([0x73,0x70,0x6c,0x69,0x74])](_0x540d9e([0x2e]));return _0x4bd4b3[_0x540d9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3de01f=>_0x3de01f[_0x540d9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d9e([0x2a])))[_0x540d9e([0x6d,0x61,0x70])](_0x2ab7a5=>_0x2ab7a5[_0x540d9e([0x73,0x70,0x6c,0x69,0x74])](_0x540d9e([0x2e])))[_0x540d9e([0x73,0x6f,0x6d,0x65])](_0x53b68d=>_0x4f16d4[_0x540d9e([0x65,0x76,0x65,0x72,0x79])]((_0x48a533,_0xec37fa)=>_0x53b68d[_0xec37fa]===_0x48a533||_0x53b68d[_0xec37fa]===_0x540d9e([0x2a])));}function _0x538245(){return _0x470264&&_0x23d660?new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ed30f,_0x6cece7)=>{_0x470264[_0x540d9e([0x74,0x68,0x65,0x6e])](_0x1ed30f,_0x6cece7),_0x23d660[_0x540d9e([0x74,0x68,0x65,0x6e])](_0x6ddf62=>{_0x6ddf62!=_0x540d9e([0x56,0x61,0x6c,0x69,0x64])&&_0x1ed30f(_0x6ddf62);},_0x6cece7);}):_0x470264||_0x23d660||_0x540d9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x194ac9(_0x57bbe2,_0x41f76a){return new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329180=>{if(_0x18a001())return _0x329180(_0x540d9e([0x56,0x61,0x6c,0x69,0x64]));_0x1efb59(),_0x3e61b7[_0x540d9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x540d9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x533545=!0x1;const _0x1307a3=_0x4d975c();function _0x43ceb6(_0x5e85fb){return!!_0x5e85fb&&(typeof _0x5e85fb===_0x540d9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e85fb===_0x540d9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e85fb[_0x540d9e([0x74,0x68,0x65,0x6e])]===_0x540d9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e85fb[_0x540d9e([0x63,0x61,0x74,0x63,0x68])]===_0x540d9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4197ad(_0x20d398){_0x372387(_0x20d398)[_0x540d9e([0x74,0x68,0x65,0x6e])](_0x3c11da=>{if(!_0x3c11da||_0x3c11da[_0x540d9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x540d9e([0x6f,0x6b]))return _0x540d9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x367ce6(_0x51b12f(_0x1307a3+_0x41f76a))!=_0x3c11da[_0x540d9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x540d9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x540d9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x540d9e([0x74,0x68,0x65,0x6e])](_0xb07251=>(_0x183887(),_0xb07251),()=>{const _0x2853fa=_0x42d442();return null==_0x2853fa?(_0x183887(),_0x540d9e([0x56,0x61,0x6c,0x69,0x64])):_0x540d9e(_0x36443d-_0x2853fa>(0x1f7dd675^_0x4d9f8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x540d9e([0x74,0x68,0x65,0x6e])](_0x329180)[_0x540d9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x329180(_0x540d9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x277162=0x3b47bcf5^_0x4d9f8c;function _0x183887(){const _0x5471dd=_0x540d9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x367ce6(_0x51b12f(_0x57bbe2)),_0x5b113c=_0x1834e6(_0x367ce6(window[_0x540d9e([0x4d,0x61,0x74,0x68])][_0x540d9e([0x63,0x65,0x69,0x6c])](_0x36443d/_0x277162)));window[_0x540d9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x540d9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5471dd,_0x5b113c);}function _0x42d442(){const _0x3d64e2=_0x540d9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x367ce6(_0x51b12f(_0x57bbe2)),_0x33e9aa=window[_0x540d9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x540d9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d64e2);return _0x33e9aa?window[_0x540d9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1834e6(_0x33e9aa),0x10)*_0x277162:null;}function _0x372387(_0x50fb39){return new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37a334,_0x4a2d6a)=>{_0x50fb39[_0x540d9e([0x74,0x68,0x65,0x6e])](_0x37a334,_0x4a2d6a),window[_0x540d9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a2d6a,0x3b7086b5^_0x4d9f8c);});}}_0x3e61b7[_0x540d9e([0x6f,0x6e])](_0x540d9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x617a6c,_0x5c03e5)=>{if(_0x5c03e5[0x0]!=_0x57bbe2)return _0x329180(_0x540d9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c03e5[0x1]={..._0x5c03e5[0x1],[_0x540d9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1307a3};},{[_0x540d9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x540d9e([0x68,0x69,0x67,0x68])}),_0x3e61b7[_0x540d9e([0x6f,0x6e])](_0x540d9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8fbcd6=>{_0x43ceb6(_0x8fbcd6[_0x540d9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x533545=!0x0,_0x4197ad(_0x8fbcd6[_0x540d9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x540d9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x540d9e([0x6c,0x6f,0x77])}),_0x5c01e8[_0x540d9e([0x74,0x68,0x65,0x6e])](()=>{_0x533545||_0x329180(_0x540d9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18a001(){return _0x3e61b7[_0x540d9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x540d9e([0x76,0x69,0x65,0x77])][_0x540d9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x540d9e([0x61,0x75,0x74,0x6f]);}function _0x1efb59(){_0x3e61b7[_0x540d9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x540d9e([0x76,0x69,0x65,0x77])][_0x540d9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x540d9e([0x61,0x75,0x74,0x6f]);}}function _0x61992d(_0x37045c){const _0x142e1b=[new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6ecf7d=>setTimeout(_0x6ecf7d,0x3b786cb9^_0x4d9f8c)),_0x5c01e8[_0x540d9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2deca7=>{let _0x30cd7e=0x0;_0x3e61b7[_0x540d9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d9e([0x6f,0x6e])](_0x540d9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x419d34,_0x51a0f9)=>{_0x51a0f9[0x0][_0x540d9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30cd7e++,_0x30cd7e==(0x3b71538d^_0x4d9f8c)&&(_0x2deca7(),_0x419d34[_0x540d9e([0x6f,0x66,0x66])]());});}))];return window[_0x540d9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x540d9e([0x72,0x61,0x63,0x65])](_0x142e1b)[_0x540d9e([0x74,0x68,0x65,0x6e])](()=>_0x37045c);}async function _0xf60113(){await _0x5c01e8,_0x3e61b7[_0x540d9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a95f6,_0x3e61b7[_0x540d9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a95f6,_0x3e61b7[_0x540d9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x540d9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34707b(_0x42b294){const _0x498a5c=_0x48139a();_0x3e61b7[_0x498a5c]=_0x540d9e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42b294,_0x42b294!=_0x540d9e([0x56,0x61,0x6c,0x69,0x64])&&_0xf60113();}function _0x48139a(){const _0x3919c0=window[_0x540d9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x540d9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x540d9e([0x6e,0x6f,0x77])]())[_0x540d9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x540d9e([0x2e]),'');let _0x11624e=_0x540d9e([0x74]);for(let _0x311c84=0x0;_0x311c84<_0x3919c0[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x311c84+=0x2){let _0x2c5380=window[_0x540d9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3919c0[_0x540d9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x311c84,_0x311c84+0x2));_0x2c5380>=_0xb4963c[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c5380-=_0xb4963c[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11624e+=_0xb4963c[_0x2c5380];}return _0x11624e;}function _0xe3d47c(){const _0xfb7f22=_0x491ce1[_0x540d9e([0x73,0x70,0x6c,0x69,0x74])](_0x540d9e([0x2e]));if(0x3!=_0xfb7f22[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb2488f(_0xfb7f22[0x1]);function _0xb2488f(_0x4b8912){const _0x10a147=_0x444dbd(_0x4b8912);return _0x10a147&&_0x159cb2()?_0x10a147:null;function _0x159cb2(){const _0x3d88a6=_0x10a147[_0x540d9e([0x6a,0x74,0x69])],_0x3bc5f9=window[_0x540d9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d88a6[_0x540d9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d88a6[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38c529={..._0x10a147,[_0x540d9e([0x6a,0x74,0x69])]:_0x3d88a6[_0x540d9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d88a6[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38c529[_0x540d9e([0x76,0x63])],_0x51b12f(_0x38c529)==_0x3bc5f9;}}}async function _0xa52e6d(){let _0x23bc90=!0x0;try{const _0x299449=_0x491ce1[_0x540d9e([0x73,0x70,0x6c,0x69,0x74])](_0x540d9e([0x2e])),[_0x1ba312,_0x290163,_0x2cbd00]=_0x299449;return _0x1f8df(_0x1ba312),await _0x554d28(_0x1ba312,_0x290163,_0x2cbd00),_0x23bc90;}catch(_0x9cfefb){return!0x1;}function _0x1f8df(_0x3610f0){const _0x2d0393=_0x444dbd(_0x3610f0);_0x2d0393&&_0x2d0393[_0x540d9e([0x61,0x6c,0x67])]==_0x540d9e([0x45,0x53,0x32,0x35,0x36])||(_0x23bc90=!0x1);}async function _0x554d28(_0x4f1fa2,_0x43d7e2,_0x2e78b2){const _0x4fb199=window[_0x540d9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x540d9e([0x66,0x72,0x6f,0x6d])](_0x26a345(_0x2e78b2),_0x498762=>_0x498762[_0x540d9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35983c=new window[(_0x540d9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x540d9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f1fa2+_0x540d9e([0x2e])+_0x43d7e2),_0x20f386=window[_0x540d9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x540d9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20f386)return;const _0x4cf7da=await _0x20f386[_0x540d9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x540d9e([0x6a,0x77,0x6b]),_0x580fd8,{[_0x540d9e([0x6e,0x61,0x6d,0x65])]:_0x540d9e([0x45,0x43,0x44,0x53,0x41]),[_0x540d9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x540d9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x540d9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20f386[_0x540d9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x540d9e([0x6e,0x61,0x6d,0x65])]:_0x540d9e([0x45,0x43,0x44,0x53,0x41]),[_0x540d9e([0x68,0x61,0x73,0x68])]:{[_0x540d9e([0x6e,0x61,0x6d,0x65])]:_0x540d9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cf7da,_0x4fb199,_0x35983c)||(_0x23bc90=!0x1);}}function _0x444dbd(_0x43b1a5){return _0x43b1a5[_0x540d9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x540d9e([0x65,0x79]))?JSON[_0x540d9e([0x70,0x61,0x72,0x73,0x65])](_0x26a345(_0x43b1a5)):null;}function _0x26a345(_0x4f7e08){return window[_0x540d9e([0x61,0x74,0x6f,0x62])](_0x4f7e08[_0x540d9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x540d9e([0x2b]))[_0x540d9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x540d9e([0x2f])));}function _0x51b12f(_0x3ff8ef){let _0xf0dbcd=0x1505;function _0x31fb2c(_0x461276){for(let _0x4a11e1=0x0;_0x4a11e1<_0x461276[_0x540d9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a11e1++){const _0x399b97=_0x461276[_0x540d9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a11e1);_0xf0dbcd=(_0xf0dbcd<<0x5)+_0xf0dbcd+_0x399b97,_0xf0dbcd&=_0xf0dbcd;}}function _0x284131(_0xdc5215){Array[_0x540d9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xdc5215)?_0xdc5215[_0x540d9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x284131):_0xdc5215&&typeof _0xdc5215==_0x540d9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x540d9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xdc5215)[_0x540d9e([0x73,0x6f,0x72,0x74])]()[_0x540d9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x580ed7,_0x15904c])=>{_0x31fb2c(_0x580ed7),_0x284131(_0x15904c);}):_0x31fb2c(window[_0x540d9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xdc5215));}return _0x284131(_0x3ff8ef),_0xf0dbcd>>>0x0;}function _0x367ce6(_0x43b1b1){return _0x43b1b1[_0x540d9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x540d9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x540d9e([0x30]));}function _0x1834e6(_0x16e08f){return _0x16e08f[_0x540d9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x540d9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x540d9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a95f6(){}function _0x540d9e(_0x215c60){const _0x553108=_0x574a;return _0x215c60[_0x553108(0x17c)](_0x54a179=>String[_0x553108(0x187)](_0x54a179))[_0x553108(0x189)]('');}_0x34707b(await _0x677a05());}(this);}[_0x271631(0x184)](){const _0x4fdecd=_0x271631,_0xe84777=this[_0x4fdecd(0x17b)][_0x4fdecd(0x14d)][_0x4fdecd(0x168)];_0xe84777[_0x4fdecd(0x15d)](_0x4fdecd(0x141))&&_0xe84777[_0x4fdecd(0x16a)](_0x4fdecd(0x141),{'allowAttributes':[_0x4fdecd(0x191)]}),_0xe84777[_0x4fdecd(0x15d)](_0x4fdecd(0x17a))&&_0xe84777[_0x4fdecd(0x16a)](_0x4fdecd(0x17a),{'allowAttributes':[_0x4fdecd(0x191)]});}[_0x271631(0x164)](){const _0x2c6bd8=_0x271631,_0x5f9635=this[_0x2c6bd8(0x17b)];_0x5f9635[_0x2c6bd8(0x16b)][_0x2c6bd8(0x162)](_0x2c6bd8(0x188))[_0x2c6bd8(0x150)]({'model':_0x2c6bd8(0x191),'view':_0x2c6bd8(0x15e)}),_0x5f9635[_0x2c6bd8(0x16b)][_0x2c6bd8(0x162)](_0x2c6bd8(0x147))[_0x2c6bd8(0x140)]({'model':{'key':_0x2c6bd8(0x191),'value':_0x4a4d3d=>_0x4a4d3d[_0x2c6bd8(0x192)](_0x2c6bd8(0x15e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x432775=_0x5f9635[_0x2c6bd8(0x178)][_0x2c6bd8(0x18e)](_0x2c6bd8(0x146));_0x432775&&this[_0x2c6bd8(0x18c)](_0x432775,_0x2c6bd8(0x190),(_0x4d3e90,[_0x108bc5,_0x3f18fb])=>{const _0x8815f9=_0x2c6bd8;_0x108bc5[_0x8815f9(0x18a)](_0x8815f9(0x191),_0x3f18fb);});}[_0x271631(0x144)](){const _0x2c102a=_0x271631,_0x21a907=this[_0x2c102a(0x17b)][_0x2c102a(0x16e)][_0x2c102a(0x18e)](_0x2c102a(0x157))||{},_0x271618=this[_0x2c102a(0x17b)][_0x2c102a(0x16e)][_0x2c102a(0x18e)](_0x2c102a(0x167))||'';this[_0x2c102a(0x13d)]=_0x4f16a3(_0x56c7fd[_0x2c102a(0x148)],_0x2c102a(0x186),{..._0x21a907,'pubkey':_0x271618,'ctx-name':_0x2c102a(0x151),'sourceList':'','imgOnly':_0x2c102a(0x154),'removeCopyright':_0x2c102a(0x154),'localeName':this[_0x2c102a(0x17b)][_0x2c102a(0x177)][_0x2c102a(0x15b)],'externalSourcesEmbedCss':_0x2c102a(0x14b)}),this[_0x2c102a(0x13d)][_0x2c102a(0x193)]=_0x18e40f=>{const _0x25a8dd=_0x2c102a;if(_0x25a8dd(0x142)==_0x18e40f)return _0x25a8dd(0x13e);},_0x56c7fd[_0x2c102a(0x148)][_0x2c102a(0x152)][_0x2c102a(0x156)](this[_0x2c102a(0x13d)]);}[_0x271631(0x14e)](){const _0x4e343e=_0x271631;this[_0x4e343e(0x160)]=_0x4f16a3(_0x56c7fd[_0x4e343e(0x148)],_0x4e343e(0x181),{'ctx-name':_0x4e343e(0x151)}),_0x56c7fd[_0x4e343e(0x148)][_0x4e343e(0x152)][_0x4e343e(0x156)](this[_0x4e343e(0x160)]);}[_0x271631(0x16c)](){const _0x42258d=_0x271631,_0x253836=this[_0x42258d(0x17b)][_0x42258d(0x178)][_0x42258d(0x18e)](_0x42258d(0x185));_0x253836&&this[_0x42258d(0x18c)](_0x253836,_0x42258d(0x163),()=>{const _0x1d9163=_0x42258d,_0x229f2e=this[_0x1d9163(0x17b)][_0x1d9163(0x14d)][_0x1d9163(0x148)][_0x1d9163(0x145)][_0x1d9163(0x18b)]();_0x229f2e&&_0x229f2e[_0x1d9163(0x192)](_0x1d9163(0x191))&&this[_0x1d9163(0x17b)][_0x1d9163(0x15a)][_0x1d9163(0x18d)][_0x1d9163(0x172)](_0x1d9163(0x166),()=>{const _0x2ea652=_0x1d9163;_0x2ed673(this[_0x2ea652(0x17b)],_0x229f2e);});});const _0x317346=this[_0x42258d(0x17b)][_0x42258d(0x178)][_0x42258d(0x18e)](_0x42258d(0x153));_0x317346&&this[_0x42258d(0x18c)](_0x317346,_0x42258d(0x163),()=>{const _0x104ef2=_0x42258d,_0x228cc9=this[_0x104ef2(0x17b)][_0x104ef2(0x14d)][_0x104ef2(0x148)][_0x104ef2(0x145)][_0x104ef2(0x18b)]();_0x228cc9&&_0x228cc9[_0x104ef2(0x192)](_0x104ef2(0x191))&&this[_0x104ef2(0x17b)][_0x104ef2(0x15a)][_0x104ef2(0x18d)][_0x104ef2(0x172)](_0x104ef2(0x166),()=>{const _0x2c81a2=_0x104ef2;_0x2ed673(this[_0x2c81a2(0x17b)],_0x228cc9);});});}}
23
+ const _0x2ec223=_0x237e;function _0x2c01(){const _0x370032=['render','_ctxElement','elementToAttribute','querySelector','PictureEditing','ctxElement','uc-config','15911BUygcj','afterInit','map','destroy','remove','config','configElement','conversion','cleanupImage','uploadcareImageId','6xaalgY','input[uploadcare-file-input]','30415416defowV','execute','listenTo','data-uc-image-id','uploadcare','appendChild','for','requires','_configElement','#uc-icon-arrow-down','2121705ImAKXv','\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','11wVfzje','pluginName','body','imageBlock','editor','commands','replaceImageSource','UploadcareEditing','2394tUVimj','href','uploadcare.uploader','init','uc-upload-ctx-provider','iconHrefResolver','uploadcareImageReplace','locale','getAttribute','get','extend','once','isPremiumPlugin','upcast','10hyCxkk','isOfficialPlugin','_initConversion','getSelectedElement','uploadcare.pubkey','fromCharCode','schema','downcast','document','join','3693663WccbrR','imageInline','isRegistered','400353YnjTuN','_initImageProcessingIndicator','_initSchema','view','_initCtx','true','_initConfig','add','editing','515828NyXljO','selection','354190LQEBoa','attributeToAttribute','contentLanguage','removeAttribute','closeMax','insertImage','8HxYoZp','uploader','model'];_0x2c01=function(){return _0x370032;};return _0x2c01();}(function(_0x17867a,_0x46acf1){const _0x51f3e3=_0x237e,_0x19f23f=_0x17867a();while(!![]){try{const _0x315e4d=-parseInt(_0x51f3e3(0x107))/0x1*(parseInt(_0x51f3e3(0xd6))/0x2)+-parseInt(_0x51f3e3(0xe2))/0x3+parseInt(_0x51f3e3(0x110))/0x4*(-parseInt(_0x51f3e3(0xfa))/0x5)+-parseInt(_0x51f3e3(0xec))/0x6*(-parseInt(_0x51f3e3(0xcc))/0x7)+-parseInt(_0x51f3e3(0xc2))/0x8*(parseInt(_0x51f3e3(0x104))/0x9)+-parseInt(_0x51f3e3(0x112))/0xa+-parseInt(_0x51f3e3(0xe4))/0xb*(-parseInt(_0x51f3e3(0xd8))/0xc);if(_0x315e4d===_0x46acf1)break;else _0x19f23f['push'](_0x19f23f['shift']());}catch(_0x2b833d){_0x19f23f['push'](_0x19f23f['shift']());}}}(_0x2c01,0xca847));import{Plugin as _0x3f14e5}from'ckeditor5/src/core.js';import{Dialog as _0x51c598}from'ckeditor5/src/ui.js';import{createElement as _0x562620,global as _0xa8495a,uid as _0x358183}from'ckeditor5/src/utils.js';function _0x237e(_0x50c572,_0x24c91b){const _0x2c016c=_0x2c01();return _0x237e=function(_0x237ecf,_0x58a82b){_0x237ecf=_0x237ecf-0xc1;let _0x3c0005=_0x2c016c[_0x237ecf];return _0x3c0005;},_0x237e(_0x50c572,_0x24c91b);}import _0x20269e from'./uploadcarecommand.js';import _0x3468ff from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3f56ad}from'./utils/editingutils.js';export default class i extends _0x3f14e5{[_0x2ec223(0xe0)]=null;[_0x2ec223(0xc6)]=null;static get[_0x2ec223(0xe5)](){const _0x4479c6=_0x2ec223;return _0x4479c6(0xeb);}static get[_0x2ec223(0xdf)](){const _0x1facc6=_0x2ec223;return[_0x1facc6(0xc9),_0x3468ff,_0x51c598];}static get[_0x2ec223(0xfb)](){return!0x0;}static get[_0x2ec223(0xf8)](){return!0x0;}get[_0x2ec223(0xd2)](){const _0x461307=_0x2ec223;return this[_0x461307(0xe0)];}get[_0x2ec223(0xca)](){const _0x405752=_0x2ec223;return this[_0x405752(0xc6)];}[_0x2ec223(0xef)](){const _0x50d3ff=_0x2ec223,_0xd3405e=this[_0x50d3ff(0xe8)];_0xd3405e[_0x50d3ff(0xe9)][_0x50d3ff(0x10e)](_0x50d3ff(0xdc),new _0x20269e(_0xd3405e));}[_0x2ec223(0xcd)](){const _0x26ea83=_0x2ec223;this[_0x26ea83(0x109)](),this[_0x26ea83(0xfc)](),this[_0x26ea83(0x10d)](),this[_0x26ea83(0x10b)](),this[_0x26ea83(0x108)](),this[_0x26ea83(0xda)](this[_0x26ea83(0xe8)],_0x26ea83(0xcf),()=>{const _0x2aaf48=_0x26ea83;this[_0x2aaf48(0xe0)]&&(this[_0x2aaf48(0xe0)][_0x2aaf48(0xd0)](),this[_0x2aaf48(0xe0)]=null),this[_0x2aaf48(0xc6)]&&(this[_0x2aaf48(0xc6)][_0x2aaf48(0xd0)](),this[_0x2aaf48(0xc6)]=null);const _0x4c1f15=_0xa8495a[_0x2aaf48(0x102)][_0x2aaf48(0xc8)](_0x2aaf48(0xd7));_0x4c1f15&&_0x4c1f15[_0x2aaf48(0xd0)]();}),async function(_0xca8438){const _0x184bac=_0x57cb80([0x41,0x78,0x70,0x75,0x4a,0x4c,0x34,0x51,0x49,0x65,0x39,0x6b,0x56,0x48,0x61,0x74,0x66,0x55,0x7a,0x4f,0x46,0x6a,0x72,0x6f,0x50,0x6c,0x43,0x73,0x5a,0x35,0x32,0x53,0x58,0x30,0x4d,0x38,0x57,0x6d,0x59,0x36,0x33,0x62,0x54,0x68,0x52,0x67,0x63,0x71,0x44,0x6e,0x4e,0x45,0x79,0x69,0x47,0x77,0x4b,0x31,0x64,0x76,0x42,0x37]),_0x889b0e=0x193e6c77,_0x4b7baa=0x193909e7^_0x889b0e,_0x33dd45=window[_0x57cb80([0x44,0x61,0x74,0x65])][_0x57cb80([0x6e,0x6f,0x77])](),_0x538388=_0xca8438[_0x57cb80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c8a2f=new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x654332=>{_0x538388[_0x57cb80([0x6f,0x6e,0x63,0x65])](_0x57cb80([0x72,0x65,0x61,0x64,0x79]),_0x654332);}),_0x651504={[_0x57cb80([0x6b,0x74,0x79])]:_0x57cb80([0x45,0x43]),[_0x57cb80([0x75,0x73,0x65])]:_0x57cb80([0x73,0x69,0x67]),[_0x57cb80([0x63,0x72,0x76])]:_0x57cb80([0x50,0x2d,0x32,0x35,0x36]),[_0x57cb80([0x78])]:_0x57cb80([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]),[_0x57cb80([0x79])]:_0x57cb80([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]),[_0x57cb80([0x61,0x6c,0x67])]:_0x57cb80([0x45,0x53,0x32,0x35,0x36])},_0x844fe1=_0x538388[_0x57cb80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57cb80([0x67,0x65,0x74])](_0x57cb80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x504bea(){let _0x1dd458,_0x19cb5b=null,_0x5987d3=null;try{if(_0x844fe1==_0x57cb80([0x47,0x50,0x4c]))return _0x57cb80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dd458=_0x3b197c(),!_0x1dd458)return _0x57cb80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dd458[_0x57cb80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5987d3=_0x5a8510(_0x1dd458[_0x57cb80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dd458[_0x57cb80([0x6a,0x74,0x69])])),await _0x1ddcd3()?_0x550930()?_0x430d0a()?_0x57cb80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32f05c()?(_0x1dd458[_0x57cb80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57cb80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19cb5b=_0x42868b(_0x57cb80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dd458[_0x57cb80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57cb80([0x74,0x72,0x69,0x61,0x6c])&&(_0x19cb5b=_0x42868b(_0x57cb80([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ea5fd()):_0x57cb80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57cb80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57cb80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3f514e){return _0x57cb80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x430d0a(){const _0x5eccf2=[_0x57cb80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57cb80([0x74,0x72,0x69,0x61,0x6c])][_0x57cb80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dd458[_0x57cb80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33dd45/0x3e8:0xe10*_0x4b7baa;return _0x1dd458[_0x57cb80([0x65,0x78,0x70])]<_0x5eccf2;}function _0x550930(){const _0x23eac3=_0x1dd458[_0x57cb80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23eac3&&(!!_0x23eac3[_0x57cb80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57cb80([0x2a]))||!!_0x23eac3[_0x57cb80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57cb80([0x55,0x50,0x4c,0x43])));}function _0x32f05c(){const _0x50bc31=_0x237e,_0x3bfda3=_0x1dd458[_0x57cb80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bfda3||0x0==_0x3bfda3[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e8508}=new URL(window[_0x57cb80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50bc31(0xed)]);if(_0x3bfda3[_0x57cb80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8508))return!0x0;const _0x12ff62=_0x2e8508[_0x57cb80([0x73,0x70,0x6c,0x69,0x74])](_0x57cb80([0x2e]));return _0x3bfda3[_0x57cb80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508377=>_0x508377[_0x57cb80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57cb80([0x2a])))[_0x57cb80([0x6d,0x61,0x70])](_0x5ce7a4=>_0x5ce7a4[_0x57cb80([0x73,0x70,0x6c,0x69,0x74])](_0x57cb80([0x2e])))[_0x57cb80([0x73,0x6f,0x6d,0x65])](_0x4adfcd=>_0x12ff62[_0x57cb80([0x65,0x76,0x65,0x72,0x79])]((_0x6e0ffb,_0x94813b)=>_0x4adfcd[_0x94813b]===_0x6e0ffb||_0x4adfcd[_0x94813b]===_0x57cb80([0x2a])));}function _0x4ea5fd(){return _0x19cb5b&&_0x5987d3?new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x575dde,_0x778aa5)=>{_0x19cb5b[_0x57cb80([0x74,0x68,0x65,0x6e])](_0x575dde,_0x778aa5),_0x5987d3[_0x57cb80([0x74,0x68,0x65,0x6e])](_0xf86b53=>{_0xf86b53!=_0x57cb80([0x56,0x61,0x6c,0x69,0x64])&&_0x575dde(_0xf86b53);},_0x778aa5);}):_0x19cb5b||_0x5987d3||_0x57cb80([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a8510(_0x3ff5a4,_0x4b18f4){return new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8bf6b4=>{if(_0x380a6f())return _0x8bf6b4(_0x57cb80([0x56,0x61,0x6c,0x69,0x64]));_0x205a32(),_0x538388[_0x57cb80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57cb80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13628e=!0x1;const _0x4c5f89=_0x358183();function _0x1bb609(_0x2ceffc){return!!_0x2ceffc&&(typeof _0x2ceffc===_0x57cb80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ceffc===_0x57cb80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ceffc[_0x57cb80([0x74,0x68,0x65,0x6e])]===_0x57cb80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ceffc[_0x57cb80([0x63,0x61,0x74,0x63,0x68])]===_0x57cb80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3282c2(_0x3ae187){_0x337cb3(_0x3ae187)[_0x57cb80([0x74,0x68,0x65,0x6e])](_0x519b1e=>{if(!_0x519b1e||_0x519b1e[_0x57cb80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57cb80([0x6f,0x6b]))return _0x57cb80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c288e(_0x4f2bf6(_0x4c5f89+_0x4b18f4))!=_0x519b1e[_0x57cb80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57cb80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57cb80([0x56,0x61,0x6c,0x69,0x64]);})[_0x57cb80([0x74,0x68,0x65,0x6e])](_0x3f0274=>(_0x497024(),_0x3f0274),()=>{const _0x33e796=_0x48bfdd();return null==_0x33e796?(_0x497024(),_0x57cb80([0x56,0x61,0x6c,0x69,0x64])):_0x57cb80(_0x33dd45-_0x33e796>(0x3d32e877^_0x889b0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57cb80([0x74,0x68,0x65,0x6e])](_0x8bf6b4)[_0x57cb80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8bf6b4(_0x57cb80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bed7d=0x190882f7^_0x889b0e;function _0x497024(){const _0x5075d9=_0x57cb80([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c288e(_0x4f2bf6(_0x3ff5a4)),_0x144145=_0x57332b(_0x1c288e(window[_0x57cb80([0x4d,0x61,0x74,0x68])][_0x57cb80([0x63,0x65,0x69,0x6c])](_0x33dd45/_0x2bed7d)));window[_0x57cb80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57cb80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5075d9,_0x144145);}function _0x48bfdd(){const _0x4f877c=_0x57cb80([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c288e(_0x4f2bf6(_0x3ff5a4)),_0x103928=window[_0x57cb80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57cb80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f877c);return _0x103928?window[_0x57cb80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57332b(_0x103928),0x10)*_0x2bed7d:null;}function _0x337cb3(_0x4f3a9a){return new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x166235,_0x4cc2a5)=>{_0x4f3a9a[_0x57cb80([0x74,0x68,0x65,0x6e])](_0x166235,_0x4cc2a5),window[_0x57cb80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cc2a5,0x193fb8b7^_0x889b0e);});}}_0x538388[_0x57cb80([0x6f,0x6e])](_0x57cb80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2406fa,_0xa15de6)=>{if(_0xa15de6[0x0]!=_0x3ff5a4)return _0x8bf6b4(_0x57cb80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa15de6[0x1]={..._0xa15de6[0x1],[_0x57cb80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c5f89};},{[_0x57cb80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57cb80([0x68,0x69,0x67,0x68])}),_0x538388[_0x57cb80([0x6f,0x6e])](_0x57cb80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x165ff0=>{_0x1bb609(_0x165ff0[_0x57cb80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13628e=!0x0,_0x3282c2(_0x165ff0[_0x57cb80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57cb80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57cb80([0x6c,0x6f,0x77])}),_0x1c8a2f[_0x57cb80([0x74,0x68,0x65,0x6e])](()=>{_0x13628e||_0x8bf6b4(_0x57cb80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x380a6f(){return _0x538388[_0x57cb80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57cb80([0x76,0x69,0x65,0x77])][_0x57cb80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57cb80([0x61,0x75,0x74,0x6f]);}function _0x205a32(){_0x538388[_0x57cb80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57cb80([0x76,0x69,0x65,0x77])][_0x57cb80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57cb80([0x61,0x75,0x74,0x6f]);}}function _0x42868b(_0x4339c3){const _0x55ea7f=[new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2272f0=>setTimeout(_0x2272f0,0x193752bb^_0x889b0e)),_0x1c8a2f[_0x57cb80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3323ae=>{let _0x4215eb=0x0;_0x538388[_0x57cb80([0x6d,0x6f,0x64,0x65,0x6c])][_0x57cb80([0x6f,0x6e])](_0x57cb80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd14963,_0x3854b2)=>{_0x3854b2[0x0][_0x57cb80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4215eb++,_0x4215eb==(0x193e6d8f^_0x889b0e)&&(_0x3323ae(),_0xd14963[_0x57cb80([0x6f,0x66,0x66])]());});}))];return window[_0x57cb80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57cb80([0x72,0x61,0x63,0x65])](_0x55ea7f)[_0x57cb80([0x74,0x68,0x65,0x6e])](()=>_0x4339c3);}async function _0x54f286(){await _0x1c8a2f,_0x538388[_0x57cb80([0x6d,0x6f,0x64,0x65,0x6c])][_0x57cb80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4278f2,_0x538388[_0x57cb80([0x6d,0x6f,0x64,0x65,0x6c])][_0x57cb80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4278f2,_0x538388[_0x57cb80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57cb80([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x464e96(_0x3d044a){const _0x20fdd2=_0x52cf57();_0x538388[_0x20fdd2]=_0x57cb80([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d044a,_0x3d044a!=_0x57cb80([0x56,0x61,0x6c,0x69,0x64])&&_0x54f286();}function _0x52cf57(){const _0x3e5d42=window[_0x57cb80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57cb80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57cb80([0x6e,0x6f,0x77])]())[_0x57cb80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57cb80([0x2e]),'');let _0x1b4680=_0x57cb80([0x41]);for(let _0x497344=0x0;_0x497344<_0x3e5d42[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x497344+=0x2){let _0x541af1=window[_0x57cb80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e5d42[_0x57cb80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x497344,_0x497344+0x2));_0x541af1>=_0x184bac[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x541af1-=_0x184bac[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4680+=_0x184bac[_0x541af1];}return _0x1b4680;}function _0x3b197c(){const _0x272f7d=_0x844fe1[_0x57cb80([0x73,0x70,0x6c,0x69,0x74])](_0x57cb80([0x2e]));if(0x3!=_0x272f7d[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27bb2a(_0x272f7d[0x1]);function _0x27bb2a(_0x200e77){const _0x2ad648=_0x46e150(_0x200e77);return _0x2ad648&&_0x1fad1c()?_0x2ad648:null;function _0x1fad1c(){const _0xa633a2=_0x2ad648[_0x57cb80([0x6a,0x74,0x69])],_0x3ec137=window[_0x57cb80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa633a2[_0x57cb80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa633a2[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa1b65b={..._0x2ad648,[_0x57cb80([0x6a,0x74,0x69])]:_0xa633a2[_0x57cb80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa633a2[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa1b65b[_0x57cb80([0x76,0x63])],_0x4f2bf6(_0xa1b65b)==_0x3ec137;}}}async function _0x1ddcd3(){let _0x1bb23a=!0x0;try{const _0x223942=_0x844fe1[_0x57cb80([0x73,0x70,0x6c,0x69,0x74])](_0x57cb80([0x2e])),[_0x196e87,_0x18d853,_0x33da21]=_0x223942;return _0x59fdf1(_0x196e87),await _0x414539(_0x196e87,_0x18d853,_0x33da21),_0x1bb23a;}catch(_0x1591a1){return!0x1;}function _0x59fdf1(_0x1f6c9c){const _0x41eb2b=_0x46e150(_0x1f6c9c);_0x41eb2b&&_0x41eb2b[_0x57cb80([0x61,0x6c,0x67])]==_0x57cb80([0x45,0x53,0x32,0x35,0x36])||(_0x1bb23a=!0x1);}async function _0x414539(_0x43a2de,_0x27efcf,_0x3634b5){const _0x2e8efc=window[_0x57cb80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57cb80([0x66,0x72,0x6f,0x6d])](_0xfe2f29(_0x3634b5),_0x4cbfb8=>_0x4cbfb8[_0x57cb80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x92e8ba=new window[(_0x57cb80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57cb80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43a2de+_0x57cb80([0x2e])+_0x27efcf),_0x167e6e=window[_0x57cb80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57cb80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x167e6e)return;const _0x2cbb8c=await _0x167e6e[_0x57cb80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57cb80([0x6a,0x77,0x6b]),_0x651504,{[_0x57cb80([0x6e,0x61,0x6d,0x65])]:_0x57cb80([0x45,0x43,0x44,0x53,0x41]),[_0x57cb80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57cb80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57cb80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x167e6e[_0x57cb80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57cb80([0x6e,0x61,0x6d,0x65])]:_0x57cb80([0x45,0x43,0x44,0x53,0x41]),[_0x57cb80([0x68,0x61,0x73,0x68])]:{[_0x57cb80([0x6e,0x61,0x6d,0x65])]:_0x57cb80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cbb8c,_0x2e8efc,_0x92e8ba)||(_0x1bb23a=!0x1);}}function _0x46e150(_0x4b98d1){return _0x4b98d1[_0x57cb80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57cb80([0x65,0x79]))?JSON[_0x57cb80([0x70,0x61,0x72,0x73,0x65])](_0xfe2f29(_0x4b98d1)):null;}function _0xfe2f29(_0x27e508){return window[_0x57cb80([0x61,0x74,0x6f,0x62])](_0x27e508[_0x57cb80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57cb80([0x2b]))[_0x57cb80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57cb80([0x2f])));}function _0x4f2bf6(_0x152807){let _0x208732=0x1505;function _0x5d8f08(_0x50909a){for(let _0x2f1eae=0x0;_0x2f1eae<_0x50909a[_0x57cb80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1eae++){const _0x50dca5=_0x50909a[_0x57cb80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f1eae);_0x208732=(_0x208732<<0x5)+_0x208732+_0x50dca5,_0x208732&=_0x208732;}}function _0x39e944(_0x25f29f){Array[_0x57cb80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25f29f)?_0x25f29f[_0x57cb80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39e944):_0x25f29f&&typeof _0x25f29f==_0x57cb80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57cb80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25f29f)[_0x57cb80([0x73,0x6f,0x72,0x74])]()[_0x57cb80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21a15a,_0x2e93c8])=>{_0x5d8f08(_0x21a15a),_0x39e944(_0x2e93c8);}):_0x5d8f08(window[_0x57cb80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25f29f));}return _0x39e944(_0x152807),_0x208732>>>0x0;}function _0x1c288e(_0x349018){return _0x349018[_0x57cb80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57cb80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57cb80([0x30]));}function _0x57332b(_0x199534){return _0x199534[_0x57cb80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57cb80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57cb80([0x6a,0x6f,0x69,0x6e])]('');}function _0x4278f2(){}function _0x57cb80(_0x477422){const _0x4b7102=_0x237e;return _0x477422[_0x4b7102(0xce)](_0x1d9c51=>String[_0x4b7102(0xff)](_0x1d9c51))[_0x4b7102(0x103)]('');}_0x464e96(await _0x504bea());}(this);}[_0x2ec223(0x109)](){const _0xd472e3=_0x2ec223,_0x3d5450=this[_0xd472e3(0xe8)][_0xd472e3(0xc4)][_0xd472e3(0x100)];_0x3d5450[_0xd472e3(0x106)](_0xd472e3(0xe7))&&_0x3d5450[_0xd472e3(0xf6)](_0xd472e3(0xe7),{'allowAttributes':[_0xd472e3(0xd5)]}),_0x3d5450[_0xd472e3(0x106)](_0xd472e3(0x105))&&_0x3d5450[_0xd472e3(0xf6)](_0xd472e3(0x105),{'allowAttributes':[_0xd472e3(0xd5)]});}[_0x2ec223(0xfc)](){const _0x21ea39=_0x2ec223,_0x117453=this[_0x21ea39(0xe8)];_0x117453[_0x21ea39(0xd3)][_0x21ea39(0xde)](_0x21ea39(0x101))[_0x21ea39(0x113)]({'model':_0x21ea39(0xd5),'view':_0x21ea39(0xdb)}),_0x117453[_0x21ea39(0xd3)][_0x21ea39(0xde)](_0x21ea39(0xf9))[_0x21ea39(0xc7)]({'model':{'key':_0x21ea39(0xd5),'value':_0x1345ac=>_0x1345ac[_0x21ea39(0xf4)](_0x21ea39(0xdb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2532ac=_0x117453[_0x21ea39(0xe9)][_0x21ea39(0xf5)](_0x21ea39(0xea));_0x2532ac&&this[_0x21ea39(0xda)](_0x2532ac,_0x21ea39(0xd4),(_0x3d7527,[_0x4fdc49,_0x2732c5])=>{const _0x15c634=_0x21ea39;_0x4fdc49[_0x15c634(0x115)](_0x15c634(0xd5),_0x2732c5);});}[_0x2ec223(0x10d)](){const _0x19dad4=_0x2ec223,_0x97bd99=this[_0x19dad4(0xe8)][_0x19dad4(0xd1)][_0x19dad4(0xf5)](_0x19dad4(0xee))||{},_0x4353e4=this[_0x19dad4(0xe8)][_0x19dad4(0xd1)][_0x19dad4(0xf5)](_0x19dad4(0xfe))||'';this[_0x19dad4(0xe0)]=_0x562620(_0xa8495a[_0x19dad4(0x102)],_0x19dad4(0xcb),{..._0x97bd99,'pubkey':_0x4353e4,'ctx-name':_0x19dad4(0xc3),'sourceList':'','imgOnly':_0x19dad4(0x10c),'removeCopyright':_0x19dad4(0x10c),'localeName':this[_0x19dad4(0xe8)][_0x19dad4(0xf3)][_0x19dad4(0x114)],'externalSourcesEmbedCss':_0x19dad4(0xe3)}),this[_0x19dad4(0xe0)][_0x19dad4(0xf1)]=_0x412592=>{const _0x267dc3=_0x19dad4;if(_0x267dc3(0x116)==_0x412592)return _0x267dc3(0xe1);},_0xa8495a[_0x19dad4(0x102)][_0x19dad4(0xe6)][_0x19dad4(0xdd)](this[_0x19dad4(0xe0)]);}[_0x2ec223(0x10b)](){const _0x49e35d=_0x2ec223;this[_0x49e35d(0xc6)]=_0x562620(_0xa8495a[_0x49e35d(0x102)],_0x49e35d(0xf0),{'ctx-name':_0x49e35d(0xc3)}),_0xa8495a[_0x49e35d(0x102)][_0x49e35d(0xe6)][_0x49e35d(0xdd)](this[_0x49e35d(0xc6)]);}[_0x2ec223(0x108)](){const _0x239c8f=_0x2ec223,_0x4a3d12=this[_0x239c8f(0xe8)][_0x239c8f(0xe9)][_0x239c8f(0xf5)](_0x239c8f(0xc1));_0x4a3d12&&this[_0x239c8f(0xda)](_0x4a3d12,_0x239c8f(0xd9),()=>{const _0x4d7765=_0x239c8f,_0x2eebf8=this[_0x4d7765(0xe8)][_0x4d7765(0xc4)][_0x4d7765(0x102)][_0x4d7765(0x111)][_0x4d7765(0xfd)]();_0x2eebf8&&_0x2eebf8[_0x4d7765(0xf4)](_0x4d7765(0xd5))&&this[_0x4d7765(0xe8)][_0x4d7765(0x10f)][_0x4d7765(0x10a)][_0x4d7765(0xf7)](_0x4d7765(0xc5),()=>{const _0x532751=_0x4d7765;_0x3f56ad(this[_0x532751(0xe8)],_0x2eebf8);});});const _0x31c4ae=this[_0x239c8f(0xe8)][_0x239c8f(0xe9)][_0x239c8f(0xf5)](_0x239c8f(0xf2));_0x31c4ae&&this[_0x239c8f(0xda)](_0x31c4ae,_0x239c8f(0xd9),()=>{const _0x230aae=_0x239c8f,_0x576119=this[_0x230aae(0xe8)][_0x230aae(0xc4)][_0x230aae(0x102)][_0x230aae(0x111)][_0x230aae(0xfd)]();_0x576119&&_0x576119[_0x230aae(0xf4)](_0x230aae(0xd5))&&this[_0x230aae(0xe8)][_0x230aae(0x10f)][_0x230aae(0x10a)][_0x230aae(0xf7)](_0x230aae(0xc5),()=>{const _0x416d85=_0x230aae;_0x3f56ad(this[_0x416d85(0xe8)],_0x576119);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2caf03,ObservableMixin as _0x137e03}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x131e8a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5e7bf1}from'ckeditor5/src/icons.js';import _0x58852e from'./uploadcareimageeditformview.js';import _0x1427b6 from'../../utils/uploadutils.js';import{getImageUrls as _0x3a62bc,getImageDimension as _0x417d34}from'../../utils/editingutils.js';import{isAncestor as _0x2b9b29}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x137e03(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x212ed6,_0x26b656,_0x353ccb){super(),this['_editor']=_0x212ed6,this['_dialog']=_0x26b656,this['_imageElement']=_0x353ccb,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 _0x4acc33=this['_imageElement'],_0x21227d=_0x4acc33['getAttribute']('uploadcareImageId'),_0x5e2c70=_0x4acc33['getAttribute']('src');if(_0x21227d)await this['_loadImageInfo'](_0x21227d,_0x5e2c70);else{if(this['_imageCache']['has'](_0x5e2c70)){const _0xc9485c=this['_imageCache']['get'](_0x5e2c70);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc9485c['url'],this['imageDimension']=_0xc9485c['dimension'],this['imageId']=_0xc9485c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52c3eb}=this['_editor'],t=_0x52c3eb['t'],_0x3497cb=new _0x58852e(_0x52c3eb,this['imageStatus'],this['_attributes']);_0x3497cb['bind']('status')['to'](this,'imageStatus'),_0x3497cb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3497cb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3497cb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3497cb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5e7bf1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3497cb,'position':_0x131e8a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3497cb['focus']();},'onHide':()=>{_0x3497cb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5098c0=>!_0x2b9b29(_0x5098c0,_0x3497cb['element'])}});}['_loadImageInfo'](_0x5ff944,_0x1fbfb0){return _0x1427b6['getInfo'](_0x5ff944,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x46df8c=>{const {width:_0x4829db,height:_0x2fbb2e}=_0x46df8c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fbfb0,this['imageDimension']={'width':_0x4829db,'height':_0x2fbb2e},this['imageId']=_0x5ff944;})['catch'](_0x3afc2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3afc2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x443242,_0x531341){return this['_getImageAsFile'](_0x443242)['then'](_0x27835a=>_0x1427b6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x531341['signal'],'file':_0x27835a,'onProgress':_0x491ebb=>{_0x491ebb&&_0x491ebb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x491ebb['value']));}}))['then'](_0x5d5691=>{const {width:_0x418aa2,height:_0x35a118}=_0x5d5691['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d5691['cdnUrl'],this['imageDimension']={'width':_0x418aa2,'height':_0x35a118},this['imageId']=_0x5d5691['uuid'],this['imageUploadProgress']=null;const _0x41e7d2=_0x443242['getAttribute']('src');this['_imageCache']['set'](_0x41e7d2,{'id':_0x5d5691['uuid'],'url':_0x5d5691['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a43a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a43a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x175262,_0xd5147e){_0x175262['on']('apply',(_0x4ca021,_0x374d52)=>{this['_replaceImage'](_0xd5147e,_0x374d52['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x175262['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x175262['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xa20cfd,_0x26c881,_0x156382){const _0x52fdb9=this['_editor'],{width:_0x49250d,height:_0x46f746}=_0x417d34(_0x26c881,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2ebb5f,imageSources:_0x3a5ee3}=_0x3a62bc(_0x26c881,_0x49250d);_0x52fdb9['model']['change'](_0x505c01=>{if('$graveyard'===_0xa20cfd['root']['rootName']){_0x52fdb9['execute']('insertImage',{'imageType':_0xa20cfd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xa20cfd['getAttributes']()),'uploadcareImageId':_0x156382,'src':_0x2ebb5f,'sources':_0x3a5ee3,'width':_0x49250d,'height':_0x46f746}});const _0x52b671=_0xa20cfd['getChildren']();_0xa20cfd=_0x52fdb9['model']['document']['selection']['getSelectedElement']();for(const _0x350fe1 of _0x52b671)_0x505c01['append'](_0x505c01['cloneElement'](_0x350fe1),_0xa20cfd);}else _0x505c01['setSelection'](_0xa20cfd,'on'),_0x52fdb9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xa20cfd['getAttributes']()),'uploadcareImageId':_0x156382,'src':_0x2ebb5f,'sources':_0x3a5ee3,'width':_0x49250d,'height':_0x46f746},_0xa20cfd);_0x505c01['setSelection'](_0xa20cfd,'on');});}async['_getImageAsFile'](_0x26485c){const _0x3e41d2=_0x2caf03['window'],_0x2b2194=_0x2caf03['document']['location']['href'],_0x3f89bc=new _0x3e41d2['URL'](_0x26485c['getAttribute']('src'),_0x2b2194);if('data:'===_0x3f89bc['protocol']){const _0x221251=_0x3f89bc['href']['split'](','),_0x494073=_0x221251[0x0]['match'](/:(.*?);/)[0x1],_0x15784b=_0x494073['split']('/')[0x1],_0x1bf305=_0x3e41d2['atob'](_0x221251[_0x221251['length']-0x1]);let _0x520a9b=_0x1bf305['length'];const _0x59eba3=new _0x3e41d2['Uint8Array'](_0x520a9b);for(;_0x520a9b--;)_0x59eba3[_0x520a9b]=_0x1bf305['charCodeAt'](_0x520a9b);return new _0x3e41d2['File']([_0x59eba3],'image.'+_0x15784b,{'type':_0x494073});}const _0x5b5d50=_0x3f89bc['href']['split']('/'),_0x269795=_0x5b5d50[_0x5b5d50['length']-0x1],_0x5503c8=_0x269795['split']('.')[0x1];return _0x3e41d2['fetch'](_0x3f89bc['href'])['then'](_0x35dc08=>_0x35dc08['clone']()['blob']())['then'](_0x5b8206=>new _0x3e41d2['File']([_0x5b8206],_0x269795,{'type':'image/'+_0x5503c8}));}}
23
+ import{global as _0x231095,ObservableMixin as _0x3c267b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d24d5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x42464f}from'ckeditor5/src/icons.js';import _0x182b77 from'./uploadcareimageeditformview.js';import _0x3b91e4 from'../../utils/uploadutils.js';import{getImageUrls as _0x370696,getImageDimension as _0x544fb1}from'../../utils/editingutils.js';import{isAncestor as _0x389079}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3c267b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fc6a8,_0x226542,_0x29184e){super(),this['_editor']=_0x2fc6a8,this['_dialog']=_0x226542,this['_imageElement']=_0x29184e,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 _0x271ec8=this['_imageElement'],_0x35f89a=_0x271ec8['getAttribute']('uploadcareImageId'),_0xfe9e3d=_0x271ec8['getAttribute']('src');if(_0x35f89a)await this['_loadImageInfo'](_0x35f89a,_0xfe9e3d);else{if(this['_imageCache']['has'](_0xfe9e3d)){const _0x2474d6=this['_imageCache']['get'](_0xfe9e3d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2474d6['url'],this['imageDimension']=_0x2474d6['dimension'],this['imageId']=_0x2474d6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a5a0a}=this['_editor'],t=_0x2a5a0a['t'],_0x28be9b=new _0x182b77(_0x2a5a0a,this['imageStatus'],this['_attributes']);_0x28be9b['bind']('status')['to'](this,'imageStatus'),_0x28be9b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x28be9b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x28be9b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x28be9b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42464f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x28be9b,'position':_0x1d24d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x28be9b['focus']();},'onHide':()=>{_0x28be9b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c0d1a=>!_0x389079(_0x5c0d1a,_0x28be9b['element'])}});}['_loadImageInfo'](_0x880a32,_0x3da7a8){return _0x3b91e4['getInfo'](_0x880a32,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x383ee1=>{const {width:_0x84172,height:_0x4920c0}=_0x383ee1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3da7a8,this['imageDimension']={'width':_0x84172,'height':_0x4920c0},this['imageId']=_0x880a32;})['catch'](_0x9f6289=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9f6289['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3494cb,_0x2b6d7f){return this['_getImageAsFile'](_0x3494cb)['then'](_0x316817=>_0x3b91e4['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2b6d7f['signal'],'file':_0x316817,'onProgress':_0x12ac84=>{_0x12ac84&&_0x12ac84['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12ac84['value']));}}))['then'](_0x24b217=>{const {width:_0xabf1b7,height:_0x4467c1}=_0x24b217['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24b217['cdnUrl'],this['imageDimension']={'width':_0xabf1b7,'height':_0x4467c1},this['imageId']=_0x24b217['uuid'],this['imageUploadProgress']=null;const _0x6344c=_0x3494cb['getAttribute']('src');this['_imageCache']['set'](_0x6344c,{'id':_0x24b217['uuid'],'url':_0x24b217['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x818f9d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x818f9d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3d4dfa,_0x3c7413){_0x3d4dfa['on']('apply',(_0x362117,_0x181abd)=>{this['_replaceImage'](_0x3c7413,_0x181abd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3d4dfa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3d4dfa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3941d3,_0x5afb65,_0x24a7b6){const _0x112abd=this['_editor'],{width:_0x2ebaf5,height:_0x27f8df}=_0x544fb1(_0x5afb65,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e66fe,imageSources:_0xa23eb5}=_0x370696(_0x5afb65,_0x2ebaf5);_0x112abd['model']['change'](_0x279534=>{if('$graveyard'===_0x3941d3['root']['rootName']){_0x112abd['execute']('insertImage',{'imageType':_0x3941d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3941d3['getAttributes']()),'uploadcareImageId':_0x24a7b6,'src':_0x5e66fe,'sources':_0xa23eb5,'width':_0x2ebaf5,'height':_0x27f8df}});const _0x589c3b=_0x3941d3['getChildren']();_0x3941d3=_0x112abd['model']['document']['selection']['getSelectedElement']();for(const _0x44c3fa of _0x589c3b)_0x279534['append'](_0x279534['cloneElement'](_0x44c3fa),_0x3941d3);}else _0x279534['setSelection'](_0x3941d3,'on'),_0x112abd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3941d3['getAttributes']()),'uploadcareImageId':_0x24a7b6,'src':_0x5e66fe,'sources':_0xa23eb5,'width':_0x2ebaf5,'height':_0x27f8df},_0x3941d3);_0x279534['setSelection'](_0x3941d3,'on');});}async['_getImageAsFile'](_0x14c0a1){const _0x4bc2a6=_0x231095['window'],_0x4401bb=_0x231095['document']['location']['href'],_0x56a660=new _0x4bc2a6['URL'](_0x14c0a1['getAttribute']('src'),_0x4401bb);if('data:'===_0x56a660['protocol']){const _0x309917=_0x56a660['href']['split'](','),_0x19e5e7=_0x309917[0x0]['match'](/:(.*?);/)[0x1],_0x498abc=_0x19e5e7['split']('/')[0x1],_0x424897=_0x4bc2a6['atob'](_0x309917[_0x309917['length']-0x1]);let _0x4061e4=_0x424897['length'];const _0x205298=new _0x4bc2a6['Uint8Array'](_0x4061e4);for(;_0x4061e4--;)_0x205298[_0x4061e4]=_0x424897['charCodeAt'](_0x4061e4);return new _0x4bc2a6['File']([_0x205298],'image.'+_0x498abc,{'type':_0x19e5e7});}const _0x20b8ab=_0x56a660['href']['split']('/'),_0x209577=_0x20b8ab[_0x20b8ab['length']-0x1],_0x15dd23=_0x209577['split']('.')[0x1];return _0x4bc2a6['fetch'](_0x56a660['href'])['then'](_0x3f6ce1=>_0x3f6ce1['clone']()['blob']())['then'](_0x255d36=>new _0x4bc2a6['File']([_0x255d36],_0x209577,{'type':'image/'+_0x15dd23}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36c7(_0x41fc54,_0x3cd26b){const _0x450ad7=_0x450a();return _0x36c7=function(_0x36c76f,_0x5c6c93){_0x36c76f=_0x36c76f-0x171;let _0x1ef06d=_0x450ad7[_0x36c76f];return _0x1ef06d;},_0x36c7(_0x41fc54,_0x3cd26b);}(function(_0x3505fe,_0x4db315){const _0x21dc46=_0x36c7,_0x4d7bb5=_0x3505fe();while(!![]){try{const _0x44fb96=parseInt(_0x21dc46(0x178))/0x1*(parseInt(_0x21dc46(0x174))/0x2)+parseInt(_0x21dc46(0x181))/0x3*(-parseInt(_0x21dc46(0x176))/0x4)+parseInt(_0x21dc46(0x17e))/0x5+-parseInt(_0x21dc46(0x17a))/0x6*(-parseInt(_0x21dc46(0x177))/0x7)+parseInt(_0x21dc46(0x171))/0x8*(-parseInt(_0x21dc46(0x180))/0x9)+-parseInt(_0x21dc46(0x179))/0xa+parseInt(_0x21dc46(0x175))/0xb;if(_0x44fb96===_0x4db315)break;else _0x4d7bb5['push'](_0x4d7bb5['shift']());}catch(_0x3ca63c){_0x4d7bb5['push'](_0x4d7bb5['shift']());}}}(_0x450a,0xbbacd));import{View as _0x1d4ce0}from'ckeditor5/src/ui.js';export default class tt extends _0x1d4ce0{constructor(_0x159834,_0x2aee83){const _0x54f908=_0x36c7;super(_0x159834);const _0x2ce633=this[_0x54f908(0x173)];this[_0x54f908(0x17d)](_0x54f908(0x183),''),this[_0x54f908(0x17b)]({'tag':_0x54f908(0x17c),'attributes':{..._0x2aee83,'class':[_0x54f908(0x182),_0x54f908(0x17f)],'ctx-name':_0x54f908(0x172),'cdn-url':_0x2ce633['to'](_0x54f908(0x183))}});}}function _0x450a(){const _0x3bb5ba=['2097zbUEoL','76620QJzkFX','uc-light','imageSrc','43912IOAxId','image-edit','bindTemplate','1638892LFTYFp','11743050YuOeFz','80PaUZjL','8793855TISllb','1mpwTRw','10891940zbVzGs','6RUWohX','setTemplate','uc-cloud-image-editor','set','2521935CeglkK','ck-uploadcare-theme'];_0x450a=function(){return _0x3bb5ba;};return _0x450a();}
23
+ (function(_0x10cf4b,_0x50b493){const _0x376cc6=_0x1681,_0x557d79=_0x10cf4b();while(!![]){try{const _0xb97ed1=-parseInt(_0x376cc6(0x1cb))/0x1+parseInt(_0x376cc6(0x1d5))/0x2+parseInt(_0x376cc6(0x1d0))/0x3+-parseInt(_0x376cc6(0x1db))/0x4*(parseInt(_0x376cc6(0x1dc))/0x5)+-parseInt(_0x376cc6(0x1d9))/0x6*(parseInt(_0x376cc6(0x1d7))/0x7)+-parseInt(_0x376cc6(0x1d2))/0x8*(-parseInt(_0x376cc6(0x1cd))/0x9)+parseInt(_0x376cc6(0x1d6))/0xa*(parseInt(_0x376cc6(0x1d8))/0xb);if(_0xb97ed1===_0x50b493)break;else _0x557d79['push'](_0x557d79['shift']());}catch(_0xd30510){_0x557d79['push'](_0x557d79['shift']());}}}(_0x263a,0x5fd59));function _0x263a(){const _0x4b1b04=['1789596IFfCJd','set','157376GrtuZh','image-edit','ck-uploadcare-theme','548400rWbQrS','940oYQuio','4143811lJABeW','104511MExZbh','6ABaaEf','bindTemplate','128VVMrLp','47990asqAMo','uc-cloud-image-editor','570540IYfnYv','imageSrc','45ksRzcs','setTemplate','uc-light'];_0x263a=function(){return _0x4b1b04;};return _0x263a();}import{View as _0x1be82e}from'ckeditor5/src/ui.js';function _0x1681(_0x58b7b3,_0x1c4863){const _0x263ad2=_0x263a();return _0x1681=function(_0x1681c3,_0x2ffe6b){_0x1681c3=_0x1681c3-0x1ca;let _0x2dd4db=_0x263ad2[_0x1681c3];return _0x2dd4db;},_0x1681(_0x58b7b3,_0x1c4863);}export default class tt extends _0x1be82e{constructor(_0x1b4382,_0xf0be11){const _0x43283b=_0x1681;super(_0x1b4382);const _0x2e00b4=this[_0x43283b(0x1da)];this[_0x43283b(0x1d1)](_0x43283b(0x1cc),''),this[_0x43283b(0x1ce)]({'tag':_0x43283b(0x1ca),'attributes':{..._0xf0be11,'class':[_0x43283b(0x1cf),_0x43283b(0x1d4)],'ctx-name':_0x43283b(0x1d3),'cdn-url':_0x2e00b4['to'](_0x43283b(0x1cc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2dbe3f,IconView as at,View as _0x4e6adc}from'ckeditor5/src/ui.js';export default class rt extends _0x4e6adc{constructor(_0x4b828c){super(_0x4b828c);const t=_0x4b828c['t'];this['set']('errorType',null);const _0x4956f6=new _0x2dbe3f(_0x4b828c);_0x4956f6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4956f6['withText']=!0x0,_0x4956f6['class']='ck-button-action',_0x4956f6['on']('execute',()=>{this['fire']('retry');}),_0x4956f6['bind']('isVisible')['to'](this,'errorType',_0x419461=>'NotFound'!==_0x419461);const _0x398400=new at();_0x398400['content']=et,_0x398400['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13f7b5=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':[_0x398400,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13f7b5['to']('errorType',_0x5caef2=>t('NotFound'!==_0x5caef2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4956f6]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0xe7acb2,IconView as at,View as _0x45557c}from'ckeditor5/src/ui.js';export default class rt extends _0x45557c{constructor(_0x3e3352){super(_0x3e3352);const t=_0x3e3352['t'];this['set']('errorType',null);const _0x6b0c8b=new _0xe7acb2(_0x3e3352);_0x6b0c8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x6b0c8b['withText']=!0x0,_0x6b0c8b['class']='ck-button-action',_0x6b0c8b['on']('execute',()=>{this['fire']('retry');}),_0x6b0c8b['bind']('isVisible')['to'](this,'errorType',_0x1926dc=>'NotFound'!==_0x1926dc);const _0x207415=new at();_0x207415['content']=et,_0x207415['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x37edc2=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':[_0x207415,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x37edc2['to']('errorType',_0x5e1f12=>t('NotFound'!==_0x5e1f12?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x6b0c8b]},{'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 _0x1a7478,View as _0x2d4a55}from'ckeditor5/src/ui.js';export default class ta extends _0x2d4a55{constructor(_0x42a84a){super(_0x42a84a);const t=_0x42a84a['t'],_0x5b90bb=this['bindTemplate'],_0x1e58a1=new _0x1a7478();_0x1e58a1['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':[_0x1e58a1,{'text':_0x5b90bb['to']('imageUploadProgress',_0x5a972b=>t('Loading\x20image...')+'\x20('+(_0x5a972b||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 _0x40a713,View as _0x1fc4ff}from'ckeditor5/src/ui.js';export default class ta extends _0x1fc4ff{constructor(_0x5b1e83){super(_0x5b1e83);const t=_0x5b1e83['t'],_0x593177=this['bindTemplate'],_0x10215f=new _0x40a713();_0x10215f['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':[_0x10215f,{'text':_0x593177['to']('imageUploadProgress',_0x3a6f72=>t('Loading\x20image...')+'\x20('+(_0x3a6f72||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
- function _0x5546(){const _0x38ddf6=['add','226312gPOmdM','10qwrPRj','addEventListener','1549750ZzPjjV','_editingView','change:status','getFocusableElement','_loadingView','apply','status','target','ck-reset_all-excluded','_addErrorViewListeners','createCollection','_errorView','_waitForImageEditorComponent','24FUwraM','260403LXdLBh','setTemplate','addMany','261YpVQAD','ck-uploadcare-form','28icKooY','_focusableView','clear','toLowerCase','length','querySelector','once','_addUploadcareImageEditorListeners','2436WqddZE','focus','fire','div','detail','uploading','addedNodes','7043443ujEuEw','set','disconnect','_items','retry','6348vzDlLN','filter','render','ready','error','uc-cloud-image-editor','observe','1742685VIAqFP','element','cdnUrl','1oyQryZ','nodeName','_setView','cancel','3592173xwfxur'];_0x5546=function(){return _0x38ddf6;};return _0x5546();}const _0x285e1b=_0x242a;(function(_0x4ea3a0,_0x18a377){const _0x25797a=_0x242a,_0x22af52=_0x4ea3a0();while(!![]){try{const _0x3cc5bb=-parseInt(_0x25797a(0x1d6))/0x1*(-parseInt(_0x25797a(0x1df))/0x2)+parseInt(_0x25797a(0x1ed))/0x3*(parseInt(_0x25797a(0x1f2))/0x4)+-parseInt(_0x25797a(0x1d3))/0x5+-parseInt(_0x25797a(0x1cc))/0x6*(-parseInt(_0x25797a(0x1fa))/0x7)+parseInt(_0x25797a(0x1dc))/0x8*(-parseInt(_0x25797a(0x1f0))/0x9)+parseInt(_0x25797a(0x1dd))/0xa*(parseInt(_0x25797a(0x201))/0xb)+parseInt(_0x25797a(0x1ec))/0xc*(-parseInt(_0x25797a(0x1da))/0xd);if(_0x3cc5bb===_0x18a377)break;else _0x22af52['push'](_0x22af52['shift']());}catch(_0x57eee8){_0x22af52['push'](_0x22af52['shift']());}}}(_0x5546,0xa36eb));function _0x242a(_0x25d91f,_0x4a153b){const _0x554665=_0x5546();return _0x242a=function(_0x242a52,_0x543a59){_0x242a52=_0x242a52-0x1ca;let _0x2cfd8c=_0x554665[_0x242a52];return _0x2cfd8c;},_0x242a(_0x25d91f,_0x4a153b);}import{View as _0xfa6f31}from'ckeditor5/src/ui.js';import _0x1d6e40 from'./uploadcareimageeditformloadingview.js';import _0x9e6c3e from'./uploadcareimageeditformerrorview.js';import _0x1808c8 from'./uploadcareimageeditformeditingview.js';import _0x16e81d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x16e81d{[_0x285e1b(0x1ca)];[_0x285e1b(0x1e3)];[_0x285e1b(0x1ea)];[_0x285e1b(0x1e0)];[_0x285e1b(0x1f3)];constructor(_0x28bfe7,_0x4a9ab0,_0xa72a53){const _0x1cc880=_0x285e1b;super(_0x28bfe7),this[_0x1cc880(0x1ca)]=this[_0x1cc880(0x1e9)](),this[_0x1cc880(0x1e3)]=new _0x1d6e40(_0x28bfe7),this[_0x1cc880(0x1ea)]=new _0x9e6c3e(_0x28bfe7),this[_0x1cc880(0x1e0)]=new _0x1808c8(_0x28bfe7,_0xa72a53),this[_0x1cc880(0x1f3)]=new _0xfa6f31(_0x28bfe7),this[_0x1cc880(0x1f3)][_0x1cc880(0x1ee)](this[_0x1cc880(0x1e2)]()),this[_0x1cc880(0x202)](_0x1cc880(0x1e5),_0x4a9ab0),this[_0x1cc880(0x1ee)]({'tag':_0x1cc880(0x1fd),'attributes':{'class':['ck',_0x1cc880(0x1e7),_0x1cc880(0x1f1)],'tabindex':'-1'},'children':this[_0x1cc880(0x1ca)]}),this[_0x1cc880(0x1d8)](),this[_0x1cc880(0x1f8)](_0x1cc880(0x1ce),()=>{const _0x1d80fb=_0x1cc880;this[_0x1d80fb(0x1eb)](this[_0x1d80fb(0x1d4)],_0x476cb1=>{const _0x4acd2e=_0x1d80fb;this[_0x4acd2e(0x1f9)](_0x476cb1);});}),this['on'](_0x1cc880(0x1e1),()=>{const _0x59f4b4=_0x1cc880;this[_0x59f4b4(0x1d8)]();}),this[_0x1cc880(0x1e8)]();}[_0x285e1b(0x1fb)](){const _0x1b340e=_0x285e1b;this[_0x1b340e(0x1d4)][_0x1b340e(0x1fb)]();}[_0x285e1b(0x1d8)](){const _0x36c2a7=_0x285e1b;switch(this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1f4)](),this[_0x36c2a7(0x1e5)]){case _0x36c2a7(0x1ff):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1db)](this[_0x36c2a7(0x1e3)]);break;case _0x36c2a7(0x1d0):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1db)](this[_0x36c2a7(0x1ea)]);break;case _0x36c2a7(0x1cf):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1ef)]([this[_0x36c2a7(0x1e0)],this[_0x36c2a7(0x1f3)]]);}}[_0x285e1b(0x1eb)](_0x2cbecb,_0x4b2e46){const _0x2b211f=_0x285e1b,_0x15bfb6=_0x2b211f(0x1d1),_0x1fb740=_0x2cbecb[_0x2b211f(0x1f7)](_0x15bfb6);if(_0x1fb740)return _0x4b2e46(_0x1fb740);const _0x415c18=new MutationObserver(_0x2c7752=>{const _0x22e925=_0x2b211f,_0x5fbfc2=_0x2c7752[_0x22e925(0x1cd)](_0xe695fe=>_0xe695fe[_0x22e925(0x1e6)]===_0x2cbecb&&_0xe695fe[_0x22e925(0x200)][_0x22e925(0x1f6)]>0x0&&_0xe695fe[_0x22e925(0x200)][0x0][_0x22e925(0x1d7)][_0x22e925(0x1f5)]()===_0x15bfb6);_0x5fbfc2[_0x22e925(0x1f6)]&&(_0x415c18[_0x22e925(0x203)](),_0x4b2e46(_0x5fbfc2[0x0][_0x22e925(0x200)][0x0]));});_0x415c18[_0x2b211f(0x1d2)](_0x2cbecb,{'childList':!0x0,'subtree':!0x0});}[_0x285e1b(0x1f9)](_0x128692){const _0x393ca5=_0x285e1b;_0x128692[_0x393ca5(0x1de)](_0x393ca5(0x1e4),_0x5f25c0=>{const _0x3434e9=_0x393ca5;this[_0x3434e9(0x1fc)](_0x3434e9(0x1e4),{'imageSrc':_0x5f25c0[_0x3434e9(0x1fe)][_0x3434e9(0x1d5)]});}),_0x128692[_0x393ca5(0x1de)](_0x393ca5(0x1d9),()=>{const _0x5c5aab=_0x393ca5;this[_0x5c5aab(0x1fc)](_0x5c5aab(0x1d9));});}[_0x285e1b(0x1e8)](){const _0x1a1245=_0x285e1b;this[_0x1a1245(0x1ea)]['on'](_0x1a1245(0x1cb),()=>{const _0x5efbe6=_0x1a1245;this[_0x5efbe6(0x1fc)](_0x5efbe6(0x1cb));});}}
23
+ const _0x3c83cc=_0x1472;(function(_0x358e85,_0x66a2b7){const _0x1b5419=_0x1472,_0x4b4e0a=_0x358e85();while(!![]){try{const _0x57f409=-parseInt(_0x1b5419(0xf3))/0x1*(parseInt(_0x1b5419(0xf7))/0x2)+-parseInt(_0x1b5419(0x11c))/0x3*(-parseInt(_0x1b5419(0x120))/0x4)+parseInt(_0x1b5419(0x10a))/0x5+parseInt(_0x1b5419(0x129))/0x6+parseInt(_0x1b5419(0x110))/0x7*(parseInt(_0x1b5419(0x11f))/0x8)+-parseInt(_0x1b5419(0x11e))/0x9*(-parseInt(_0x1b5419(0xf4))/0xa)+parseInt(_0x1b5419(0x114))/0xb*(-parseInt(_0x1b5419(0xf2))/0xc);if(_0x57f409===_0x66a2b7)break;else _0x4b4e0a['push'](_0x4b4e0a['shift']());}catch(_0x46e430){_0x4b4e0a['push'](_0x4b4e0a['shift']());}}}(_0x5765,0xd0541));import{View as _0x407042}from'ckeditor5/src/ui.js';import _0x89335d from'./uploadcareimageeditformloadingview.js';import _0x9f89ff from'./uploadcareimageeditformerrorview.js';import _0xce3805 from'./uploadcareimageeditformeditingview.js';import _0x41faa1 from'../../utils/dialogfocusmanagerview.js';function _0x1472(_0x2f7187,_0x173353){const _0x57658b=_0x5765();return _0x1472=function(_0x147209,_0x4c6465){_0x147209=_0x147209-0xf1;let _0x49478d=_0x57658b[_0x147209];return _0x49478d;},_0x1472(_0x2f7187,_0x173353);}import'../../../theme/uploadcare-form.css';function _0x5765(){const _0x454a6e=['_loadingView','cdnUrl','uc-cloud-image-editor','nodeName','_setView','detail','change:status','clear','_items','apply','_waitForImageEditorComponent','setTemplate','ck-uploadcare-form','createCollection','div','status','error','toLowerCase','4994120NPlNsO','_focusableView','filter','element','retry','querySelector','7dxBdHU','addedNodes','fire','set','33svKbWa','addEventListener','_addErrorViewListeners','uploading','render','_errorView','getFocusableElement','_editingView','1899234bbFbgi','_addUploadcareImageEditorListeners','1092429NYPSJw','11583960lUEwkz','8FWoHtB','ready','cancel','target','length','once','ck-reset_all-excluded','add','focus','2773296QzcvxP','observe','8657244UDYzKs','639474fYtBJV','10kjKigr','addMany','disconnect','4ltLCDt'];_0x5765=function(){return _0x454a6e;};return _0x5765();}export default class Z extends _0x41faa1{[_0x3c83cc(0x100)];[_0x3c83cc(0xf8)];[_0x3c83cc(0x119)];[_0x3c83cc(0x11b)];[_0x3c83cc(0x10b)];constructor(_0x2d05ad,_0x208026,_0x46264e){const _0x100299=_0x3c83cc;super(_0x2d05ad),this[_0x100299(0x100)]=this[_0x100299(0x105)](),this[_0x100299(0xf8)]=new _0x89335d(_0x2d05ad),this[_0x100299(0x119)]=new _0x9f89ff(_0x2d05ad),this[_0x100299(0x11b)]=new _0xce3805(_0x2d05ad,_0x46264e),this[_0x100299(0x10b)]=new _0x407042(_0x2d05ad),this[_0x100299(0x10b)][_0x100299(0x103)](this[_0x100299(0x11a)]()),this[_0x100299(0x113)](_0x100299(0x107),_0x208026),this[_0x100299(0x103)]({'tag':_0x100299(0x106),'attributes':{'class':['ck',_0x100299(0x126),_0x100299(0x104)],'tabindex':'-1'},'children':this[_0x100299(0x100)]}),this[_0x100299(0xfc)](),this[_0x100299(0x125)](_0x100299(0x118),()=>{const _0x4845a6=_0x100299;this[_0x4845a6(0x102)](this[_0x4845a6(0x10d)],_0xd2018e=>{const _0x247fe2=_0x4845a6;this[_0x247fe2(0x11d)](_0xd2018e);});}),this['on'](_0x100299(0xfe),()=>{const _0xd4ecb9=_0x100299;this[_0xd4ecb9(0xfc)]();}),this[_0x100299(0x116)]();}[_0x3c83cc(0x128)](){const _0x24ae2d=_0x3c83cc;this[_0x24ae2d(0x10d)][_0x24ae2d(0x128)]();}[_0x3c83cc(0xfc)](){const _0xbe1d38=_0x3c83cc;switch(this[_0xbe1d38(0x100)][_0xbe1d38(0xff)](),this[_0xbe1d38(0x107)]){case _0xbe1d38(0x117):this[_0xbe1d38(0x100)][_0xbe1d38(0x127)](this[_0xbe1d38(0xf8)]);break;case _0xbe1d38(0x108):this[_0xbe1d38(0x100)][_0xbe1d38(0x127)](this[_0xbe1d38(0x119)]);break;case _0xbe1d38(0x121):this[_0xbe1d38(0x100)][_0xbe1d38(0xf5)]([this[_0xbe1d38(0x11b)],this[_0xbe1d38(0x10b)]]);}}[_0x3c83cc(0x102)](_0x3ee5a7,_0x31fe8a){const _0x10b5e4=_0x3c83cc,_0x44118b=_0x10b5e4(0xfa),_0x48c050=_0x3ee5a7[_0x10b5e4(0x10f)](_0x44118b);if(_0x48c050)return _0x31fe8a(_0x48c050);const _0x548f3a=new MutationObserver(_0x361ce7=>{const _0x92daad=_0x10b5e4,_0x1487a7=_0x361ce7[_0x92daad(0x10c)](_0x469923=>_0x469923[_0x92daad(0x123)]===_0x3ee5a7&&_0x469923[_0x92daad(0x111)][_0x92daad(0x124)]>0x0&&_0x469923[_0x92daad(0x111)][0x0][_0x92daad(0xfb)][_0x92daad(0x109)]()===_0x44118b);_0x1487a7[_0x92daad(0x124)]&&(_0x548f3a[_0x92daad(0xf6)](),_0x31fe8a(_0x1487a7[0x0][_0x92daad(0x111)][0x0]));});_0x548f3a[_0x10b5e4(0xf1)](_0x3ee5a7,{'childList':!0x0,'subtree':!0x0});}[_0x3c83cc(0x11d)](_0x4b73e3){const _0x4adc36=_0x3c83cc;_0x4b73e3[_0x4adc36(0x115)](_0x4adc36(0x101),_0x209277=>{const _0x13f96f=_0x4adc36;this[_0x13f96f(0x112)](_0x13f96f(0x101),{'imageSrc':_0x209277[_0x13f96f(0xfd)][_0x13f96f(0xf9)]});}),_0x4b73e3[_0x4adc36(0x115)](_0x4adc36(0x122),()=>{const _0x21ca5a=_0x4adc36;this[_0x21ca5a(0x112)](_0x21ca5a(0x122));});}[_0x3c83cc(0x116)](){const _0x181200=_0x3c83cc;this[_0x181200(0x119)]['on'](_0x181200(0x10e),()=>{const _0x2216d2=_0x181200;this[_0x2216d2(0x112)](_0x2216d2(0x10e));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x204629=_0x402f;function _0x1551(){const _0x13d155=['config','bind','12PJztmI','isActive','isEnabled','editor','execute','_isEditable','20AYkMLU','176376TUpZPG','document','imageEditController','model','444692ANRNGv','16EbGoYZ','get','refresh','4074870oAFgeD','4KOmDyZ','requires','1429572ERfUMl','499941QjJShs','imageInline','selection','114107kfxxhb','790735lPcWCg','getSelectedElement','1606hheeHL','element','plugins','set','uploadcare.allowExternalImagesEditing','imageBlock','unbind'];_0x1551=function(){return _0x13d155;};return _0x1551();}(function(_0x37cf2e,_0x367927){const _0x2bec29=_0x402f,_0xd24eae=_0x37cf2e();while(!![]){try{const _0x4b2496=parseInt(_0x2bec29(0x86))/0x1+parseInt(_0x2bec29(0x8b))/0x2*(-parseInt(_0x2bec29(0x8d))/0x3)+parseInt(_0x2bec29(0x81))/0x4*(-parseInt(_0x2bec29(0x92))/0x5)+-parseInt(_0x2bec29(0x7b))/0x6*(parseInt(_0x2bec29(0x91))/0x7)+-parseInt(_0x2bec29(0x87))/0x8*(-parseInt(_0x2bec29(0x8e))/0x9)+-parseInt(_0x2bec29(0x8a))/0xa+-parseInt(_0x2bec29(0x94))/0xb*(-parseInt(_0x2bec29(0x82))/0xc);if(_0x4b2496===_0x367927)break;else _0xd24eae['push'](_0xd24eae['shift']());}catch(_0x323e1f){_0xd24eae['push'](_0xd24eae['shift']());}}}(_0x1551,0x7e6c2));import{Command as _0x4b6cef}from'ckeditor5/src/core.js';import{Dialog as _0x5aedaf}from'ckeditor5/src/ui.js';function _0x402f(_0x444440,_0x288048){const _0x155199=_0x1551();return _0x402f=function(_0x402f0b,_0x13ed1a){_0x402f0b=_0x402f0b-0x79;let _0x354cc1=_0x155199[_0x402f0b];return _0x354cc1;},_0x402f(_0x444440,_0x288048);}import _0x56f4bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x542921}from'../utils/editingutils.js';export default class J extends _0x4b6cef{[_0x204629(0x84)];static get[_0x204629(0x8c)](){return[_0x5aedaf];}[_0x204629(0x80)];constructor(_0x271838){const _0x468221=_0x204629;super(_0x271838),this[_0x468221(0x84)]=void 0x0,this[_0x468221(0x80)]=_0x542921(_0x271838[_0x468221(0x79)][_0x468221(0x88)](_0x468221(0x98))||[]),this[_0x468221(0x97)]({'isActive':!0x1});}[_0x204629(0x89)](){const _0x3505a7=_0x204629,_0x18508f=this[_0x3505a7(0x7e)][_0x3505a7(0x85)][_0x3505a7(0x83)][_0x3505a7(0x90)][_0x3505a7(0x93)]();this[_0x3505a7(0x7d)]=this[_0x3505a7(0x80)](_0x18508f);}[_0x204629(0x7f)](){const _0x3bebaa=_0x204629;this[_0x3bebaa(0x84)]&&(this[_0x3bebaa(0x9a)](_0x3bebaa(0x7c)),this[_0x3bebaa(0x84)]=void 0x0);const _0x2441f0=this[_0x3bebaa(0x7e)][_0x3bebaa(0x85)][_0x3bebaa(0x83)][_0x3bebaa(0x90)][_0x3bebaa(0x93)]();_0x2441f0&&(_0x2441f0['is'](_0x3bebaa(0x95),_0x3bebaa(0x99))||_0x2441f0['is'](_0x3bebaa(0x95),_0x3bebaa(0x8f)))&&(this[_0x3bebaa(0x84)]=new _0x56f4bc(this[_0x3bebaa(0x7e)],this[_0x3bebaa(0x7e)][_0x3bebaa(0x96)][_0x3bebaa(0x88)](_0x5aedaf),_0x2441f0),this[_0x3bebaa(0x7a)](_0x3bebaa(0x7c))['to'](this[_0x3bebaa(0x84)],_0x3bebaa(0x7c)));}}
23
+ const _0x934815=_0x2cf3;(function(_0x230d6d,_0x26d373){const _0x578a8a=_0x2cf3,_0x3ee1b7=_0x230d6d();while(!![]){try{const _0x47bcda=parseInt(_0x578a8a(0x9a))/0x1*(parseInt(_0x578a8a(0x9c))/0x2)+-parseInt(_0x578a8a(0x98))/0x3*(-parseInt(_0x578a8a(0x91))/0x4)+-parseInt(_0x578a8a(0xa1))/0x5*(parseInt(_0x578a8a(0x88))/0x6)+-parseInt(_0x578a8a(0x97))/0x7+parseInt(_0x578a8a(0x9f))/0x8*(parseInt(_0x578a8a(0x82))/0x9)+-parseInt(_0x578a8a(0x8c))/0xa+parseInt(_0x578a8a(0x8a))/0xb;if(_0x47bcda===_0x26d373)break;else _0x3ee1b7['push'](_0x3ee1b7['shift']());}catch(_0x5895dc){_0x3ee1b7['push'](_0x3ee1b7['shift']());}}}(_0x2ff0,0xeb396));import{Command as _0x2c158a}from'ckeditor5/src/core.js';import{Dialog as _0x2189bb}from'ckeditor5/src/ui.js';function _0x2ff0(){const _0x3311e9=['document','26896ukkiHz','element','430fCbaTb','set','1899LcInUr','execute','unbind','isEnabled','get','config','35526JIUswY','model','6897968FKGIgo','getSelectedElement','4576740FwOskN','isActive','_isEditable','uploadcare.allowExternalImagesEditing','requires','2228ecKoPs','imageEditController','editor','bind','selection','plugins','9458134XODwPU','7362usfyGk','imageInline','48181twgqSS','refresh','24lRCtto','imageBlock'];_0x2ff0=function(){return _0x3311e9;};return _0x2ff0();}function _0x2cf3(_0x145b62,_0x33cbc2){const _0x2ff087=_0x2ff0();return _0x2cf3=function(_0x2cf329,_0x2c5f3b){_0x2cf329=_0x2cf329-0x82;let _0x3b15e3=_0x2ff087[_0x2cf329];return _0x3b15e3;},_0x2cf3(_0x145b62,_0x33cbc2);}import _0x4e2f1c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1ab5de}from'../utils/editingutils.js';export default class J extends _0x2c158a{[_0x934815(0x92)];static get[_0x934815(0x90)](){return[_0x2189bb];}[_0x934815(0x8e)];constructor(_0xaef9fd){const _0x4d11aa=_0x934815;super(_0xaef9fd),this[_0x4d11aa(0x92)]=void 0x0,this[_0x4d11aa(0x8e)]=_0x1ab5de(_0xaef9fd[_0x4d11aa(0x87)][_0x4d11aa(0x86)](_0x4d11aa(0x8f))||[]),this[_0x4d11aa(0xa2)]({'isActive':!0x1});}[_0x934815(0x9b)](){const _0x2ffa6c=_0x934815,_0x4eaf86=this[_0x2ffa6c(0x93)][_0x2ffa6c(0x89)][_0x2ffa6c(0x9e)][_0x2ffa6c(0x95)][_0x2ffa6c(0x8b)]();this[_0x2ffa6c(0x85)]=this[_0x2ffa6c(0x8e)](_0x4eaf86);}[_0x934815(0x83)](){const _0xffbfe7=_0x934815;this[_0xffbfe7(0x92)]&&(this[_0xffbfe7(0x84)](_0xffbfe7(0x8d)),this[_0xffbfe7(0x92)]=void 0x0);const _0x862f9f=this[_0xffbfe7(0x93)][_0xffbfe7(0x89)][_0xffbfe7(0x9e)][_0xffbfe7(0x95)][_0xffbfe7(0x8b)]();_0x862f9f&&(_0x862f9f['is'](_0xffbfe7(0xa0),_0xffbfe7(0x9d))||_0x862f9f['is'](_0xffbfe7(0xa0),_0xffbfe7(0x99)))&&(this[_0xffbfe7(0x92)]=new _0x4e2f1c(this[_0xffbfe7(0x93)],this[_0xffbfe7(0x93)][_0xffbfe7(0x96)][_0xffbfe7(0x86)](_0x2189bb),_0x862f9f),this[_0xffbfe7(0x94)](_0xffbfe7(0x8d))['to'](this[_0xffbfe7(0x92)],_0xffbfe7(0x8d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x513dbc=_0x5c61;function _0x5c61(_0x466034,_0xe63cb8){const _0x1da4bc=_0x1da4();return _0x5c61=function(_0x5c61cc,_0x1ae1b1){_0x5c61cc=_0x5c61cc-0xa5;let _0x49962a=_0x1da4bc[_0x5c61cc];return _0x49962a;},_0x5c61(_0x466034,_0xe63cb8);}(function(_0x5d7cc3,_0x3425a2){const _0x305802=_0x5c61,_0x5e2f35=_0x5d7cc3();while(!![]){try{const _0x4953bc=-parseInt(_0x305802(0xb3))/0x1*(parseInt(_0x305802(0xba))/0x2)+-parseInt(_0x305802(0xab))/0x3*(-parseInt(_0x305802(0xb4))/0x4)+-parseInt(_0x305802(0xb7))/0x5+-parseInt(_0x305802(0xb6))/0x6+parseInt(_0x305802(0xa8))/0x7+parseInt(_0x305802(0xb8))/0x8*(-parseInt(_0x305802(0xac))/0x9)+-parseInt(_0x305802(0xa5))/0xa*(-parseInt(_0x305802(0xbb))/0xb);if(_0x4953bc===_0x3425a2)break;else _0x5e2f35['push'](_0x5e2f35['shift']());}catch(_0x50dbf9){_0x5e2f35['push'](_0x5e2f35['shift']());}}}(_0x1da4,0x6e57b));import{Plugin as _0x2567ce}from'ckeditor5/src/core.js';import{Notification as _0xb85978}from'ckeditor5/src/ui.js';function _0x1da4(){const _0x28a96c=['5nLTtuI','3299748alBgVV','add','1231770FxNbAl','2650520dRfqie','1372592yPPQGr','init','243766kTMivT','3546257jFgYXh','10vHCTEt','requires','isPremiumPlugin','5747189tCUvhz','ImageEditing','isOfficialPlugin','3SdZzFO','9UmmSqF','UploadcareImageEditEditing','pluginName','commands','ImageUtils','uploadcareImageReplace','uploadcareImageEdit'];_0x1da4=function(){return _0x28a96c;};return _0x1da4();}import _0x1e7b91 from'./uploadcareimageeditcommand.js';import _0x976ba from'./uploadcareimagereplacecommand.js';import _0x24ac26 from'../uploadcareediting.js';export default class g extends _0x2567ce{static get[_0x513dbc(0xae)](){const _0x1410cd=_0x513dbc;return _0x1410cd(0xad);}static get[_0x513dbc(0xa6)](){const _0x2df34c=_0x513dbc;return[_0x24ac26,_0xb85978,_0x2df34c(0xb0),_0x2df34c(0xa9)];}static get[_0x513dbc(0xaa)](){return!0x0;}static get[_0x513dbc(0xa7)](){return!0x0;}[_0x513dbc(0xb9)](){const _0x3e3bba=_0x513dbc,{editor:_0x2f5dc8}=this;_0x2f5dc8[_0x3e3bba(0xaf)][_0x3e3bba(0xb5)](_0x3e3bba(0xb2),new _0x1e7b91(_0x2f5dc8)),_0x2f5dc8[_0x3e3bba(0xaf)][_0x3e3bba(0xb5)](_0x3e3bba(0xb1),new _0x976ba(_0x2f5dc8));}}
23
+ const _0x2179b7=_0x29c2;(function(_0x86786a,_0x1b0b63){const _0x49bc49=_0x29c2,_0x30fcde=_0x86786a();while(!![]){try{const _0x4c70c4=-parseInt(_0x49bc49(0xf4))/0x1*(-parseInt(_0x49bc49(0xe8))/0x2)+-parseInt(_0x49bc49(0xde))/0x3+-parseInt(_0x49bc49(0xef))/0x4*(parseInt(_0x49bc49(0xf3))/0x5)+parseInt(_0x49bc49(0xed))/0x6*(parseInt(_0x49bc49(0xf1))/0x7)+-parseInt(_0x49bc49(0xe2))/0x8*(parseInt(_0x49bc49(0xe9))/0x9)+parseInt(_0x49bc49(0xe3))/0xa+parseInt(_0x49bc49(0xe5))/0xb;if(_0x4c70c4===_0x1b0b63)break;else _0x30fcde['push'](_0x30fcde['shift']());}catch(_0x51e237){_0x30fcde['push'](_0x30fcde['shift']());}}}(_0x2437,0x36eda));import{Plugin as _0x37b5e4}from'ckeditor5/src/core.js';import{Notification as _0x3864e0}from'ckeditor5/src/ui.js';import _0x3bb64b from'./uploadcareimageeditcommand.js';function _0x29c2(_0x40cf8c,_0x294e3c){const _0x24379d=_0x2437();return _0x29c2=function(_0x29c2b8,_0x40cb65){_0x29c2b8=_0x29c2b8-0xde;let _0x583a2a=_0x24379d[_0x29c2b8];return _0x583a2a;},_0x29c2(_0x40cf8c,_0x294e3c);}function _0x2437(){const _0x10ac02=['3017421Koarnm','isPremiumPlugin','requires','193068gKcESP','1418103jadnQg','commands','init','pluginName','146424Lmregy','uploadcareImageReplace','8SqopJO','uploadcareImageEdit','105KcgwOb','UploadcareImageEditEditing','601245YBsHad','2ZXSCBl','681039JLqpON','isOfficialPlugin','ImageEditing','ImageUtils','16ehOKYO','1741920IOSZpt','add'];_0x2437=function(){return _0x10ac02;};return _0x2437();}import _0x67a03c from'./uploadcareimagereplacecommand.js';import _0x54ef7e from'../uploadcareediting.js';export default class g extends _0x37b5e4{static get[_0x2179b7(0xec)](){const _0x24d104=_0x2179b7;return _0x24d104(0xf2);}static get[_0x2179b7(0xe7)](){const _0x1ea447=_0x2179b7;return[_0x54ef7e,_0x3864e0,_0x1ea447(0xe1),_0x1ea447(0xe0)];}static get[_0x2179b7(0xdf)](){return!0x0;}static get[_0x2179b7(0xe6)](){return!0x0;}[_0x2179b7(0xeb)](){const _0xc7f4b0=_0x2179b7,{editor:_0x3fcd3d}=this;_0x3fcd3d[_0xc7f4b0(0xea)][_0xc7f4b0(0xe4)](_0xc7f4b0(0xf0),new _0x3bb64b(_0x3fcd3d)),_0x3fcd3d[_0xc7f4b0(0xea)][_0xc7f4b0(0xe4)](_0xc7f4b0(0xee),new _0x67a03c(_0x3fcd3d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a1101}from'ckeditor5/src/core.js';import{ButtonView as _0x5ed3cb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x175300}from'ckeditor5/src/icons.js';import{createElement as _0x59fc36}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1a1101{['_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 _0x2435ac=this['editor'];_0x2435ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x36b372=>{const _0x1f3c30=_0x2435ac['commands']['get']('uploadcareImageEdit'),_0x492c43=new _0x5ed3cb(_0x36b372),t=_0x36b372['t'];return _0x492c43['set']({'icon':_0x175300,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x492c43['bind']('isEnabled')['to'](_0x1f3c30),_0x492c43['bind']('isOn')['to'](_0x1f3c30,'isActive'),this['listenTo'](_0x492c43,'execute',()=>{_0x2435ac['execute']('uploadcareImageEdit'),_0x2435ac['editing']['view']['focus']();}),_0x492c43;}),this['_initConfig']();}['_initConfig'](){const _0x5e1b8e=_0x59fc36(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e1b8e),this['listenTo'](this['editor'],'destroy',()=>{_0x5e1b8e['remove']();});}}
23
+ import{Plugin as _0x1201d0}from'ckeditor5/src/core.js';import{ButtonView as _0x4208c1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c7b71}from'ckeditor5/src/icons.js';import{createElement as _0x31106f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1201d0{['_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 _0x2a3496=this['editor'];_0x2a3496['ui']['componentFactory']['add']('uploadcareImageEdit',_0x152def=>{const _0x351747=_0x2a3496['commands']['get']('uploadcareImageEdit'),_0x4093a2=new _0x4208c1(_0x152def),t=_0x152def['t'];return _0x4093a2['set']({'icon':_0x5c7b71,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4093a2['bind']('isEnabled')['to'](_0x351747),_0x4093a2['bind']('isOn')['to'](_0x351747,'isActive'),this['listenTo'](_0x4093a2,'execute',()=>{_0x2a3496['execute']('uploadcareImageEdit'),_0x2a3496['editing']['view']['focus']();}),_0x4093a2;}),this['_initConfig']();}['_initConfig'](){const _0x55a2d2=_0x31106f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55a2d2),this['listenTo'](this['editor'],'destroy',()=>{_0x55a2d2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x513634=_0x5a89;(function(_0x1552df,_0x19fb4d){const _0x404b0a=_0x5a89,_0x44b73e=_0x1552df();while(!![]){try{const _0x39225d=parseInt(_0x404b0a(0x171))/0x1*(parseInt(_0x404b0a(0x172))/0x2)+parseInt(_0x404b0a(0x17b))/0x3+parseInt(_0x404b0a(0x181))/0x4*(-parseInt(_0x404b0a(0x178))/0x5)+-parseInt(_0x404b0a(0x17f))/0x6*(-parseInt(_0x404b0a(0x179))/0x7)+parseInt(_0x404b0a(0x174))/0x8*(-parseInt(_0x404b0a(0x183))/0x9)+-parseInt(_0x404b0a(0x176))/0xa+parseInt(_0x404b0a(0x16d))/0xb;if(_0x39225d===_0x19fb4d)break;else _0x44b73e['push'](_0x44b73e['shift']());}catch(_0x206766){_0x44b73e['push'](_0x44b73e['shift']());}}}(_0x59cd,0x2919f));import{Command as _0x3ee697}from'ckeditor5/src/core.js';function _0x5a89(_0x55e5de,_0x1518ad){const _0x59cdd3=_0x59cd();return _0x5a89=function(_0x5a89f2,_0x89aa22){_0x5a89f2=_0x5a89f2-0x16c;let _0x458549=_0x59cdd3[_0x5a89f2];return _0x458549;},_0x5a89(_0x55e5de,_0x1518ad);}function _0x59cd(){const _0x3da042=['49qAvmWa','refresh','260313XCSoFU','editor','isEnabled','document','116634avZgZR','model','16gqLNYH','setAttributes','252fBapdE','selection','change','removeAttribute','imageBlock','2148399hbsHPd','imageInline','element','execute','4PewXBG','131624jpaFFl','srcset','83888kvpMpX','sizes','528540ceIzaM','getSelectedElement','208235mVzzAm'];_0x59cd=function(){return _0x3da042;};return _0x59cd();}export default class O extends _0x3ee697{[_0x513634(0x17a)](){const _0x3d3118=_0x513634,_0x15901a=this[_0x3d3118(0x17c)][_0x3d3118(0x180)][_0x3d3118(0x17e)][_0x3d3118(0x184)][_0x3d3118(0x177)]();this[_0x3d3118(0x17d)]=Boolean(_0x15901a&&(_0x15901a['is'](_0x3d3118(0x16f),_0x3d3118(0x16c))||_0x15901a['is'](_0x3d3118(0x16f),_0x3d3118(0x16e))));}[_0x513634(0x170)](_0x4f15ee){const _0x2e6468=_0x513634,_0x3bba53=this[_0x2e6468(0x17c)][_0x2e6468(0x180)][_0x2e6468(0x17e)][_0x2e6468(0x184)][_0x2e6468(0x177)]();this[_0x2e6468(0x17c)][_0x2e6468(0x180)][_0x2e6468(0x185)](_0x5ceeb4=>{const _0x3aef36=_0x2e6468;_0x5ceeb4[_0x3aef36(0x182)](_0x4f15ee,_0x3bba53),_0x5ceeb4[_0x3aef36(0x186)](_0x3aef36(0x173),_0x3bba53),_0x5ceeb4[_0x3aef36(0x186)](_0x3aef36(0x175),_0x3bba53);});}}
23
+ function _0x5615(_0x5b4b9c,_0x3352d2){const _0x5a0578=_0x5a05();return _0x5615=function(_0x56158b,_0xaa219c){_0x56158b=_0x56158b-0xb0;let _0x4d1aac=_0x5a0578[_0x56158b];return _0x4d1aac;},_0x5615(_0x5b4b9c,_0x3352d2);}const _0x56072c=_0x5615;(function(_0x16427e,_0x56cbb7){const _0x57dc24=_0x5615,_0x39042e=_0x16427e();while(!![]){try{const _0x4ae7b8=parseInt(_0x57dc24(0xc4))/0x1+parseInt(_0x57dc24(0xb1))/0x2*(parseInt(_0x57dc24(0xb7))/0x3)+parseInt(_0x57dc24(0xbc))/0x4+parseInt(_0x57dc24(0xbe))/0x5*(-parseInt(_0x57dc24(0xbd))/0x6)+parseInt(_0x57dc24(0xb2))/0x7*(parseInt(_0x57dc24(0xc0))/0x8)+-parseInt(_0x57dc24(0xc9))/0x9+parseInt(_0x57dc24(0xc6))/0xa*(-parseInt(_0x57dc24(0xc7))/0xb);if(_0x4ae7b8===_0x56cbb7)break;else _0x39042e['push'](_0x39042e['shift']());}catch(_0x9bccd5){_0x39042e['push'](_0x39042e['shift']());}}}(_0x5a05,0x6298b));import{Command as _0x509174}from'ckeditor5/src/core.js';function _0x5a05(){const _0x441b85=['setAttributes','model','element','document','2317400IsHvxx','38970OzVKvt','155zHmhnc','getSelectedElement','16LpucyU','sizes','refresh','selection','387190LcPyEM','isEnabled','4907460wjRtKs','11FOnOgI','imageInline','6874380iTZLVV','srcset','execute','40ubLHXy','1155497JYJeyP','imageBlock','editor','removeAttribute','change','84462MLKvTK'];_0x5a05=function(){return _0x441b85;};return _0x5a05();}export default class O extends _0x509174{[_0x56072c(0xc2)](){const _0x16c41e=_0x56072c,_0x186acb=this[_0x16c41e(0xb4)][_0x16c41e(0xb9)][_0x16c41e(0xbb)][_0x16c41e(0xc3)][_0x16c41e(0xbf)]();this[_0x16c41e(0xc5)]=Boolean(_0x186acb&&(_0x186acb['is'](_0x16c41e(0xba),_0x16c41e(0xb3))||_0x186acb['is'](_0x16c41e(0xba),_0x16c41e(0xc8))));}[_0x56072c(0xb0)](_0x4c3bc0){const _0x5d1af4=_0x56072c,_0x386a99=this[_0x5d1af4(0xb4)][_0x5d1af4(0xb9)][_0x5d1af4(0xbb)][_0x5d1af4(0xc3)][_0x5d1af4(0xbf)]();this[_0x5d1af4(0xb4)][_0x5d1af4(0xb9)][_0x5d1af4(0xb6)](_0x39098b=>{const _0x23b5dd=_0x5d1af4;_0x39098b[_0x23b5dd(0xb8)](_0x4c3bc0,_0x386a99),_0x39098b[_0x23b5dd(0xb5)](_0x23b5dd(0xca),_0x386a99),_0x39098b[_0x23b5dd(0xb5)](_0x23b5dd(0xc1),_0x386a99);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4c8067=_0x3e2f;(function(_0x4b9084,_0x48605e){var _0x5b42d7=_0x3e2f,_0x3e46cd=_0x4b9084();while(!![]){try{var _0x4a2a73=-parseInt(_0x5b42d7(0x104))/0x1+parseInt(_0x5b42d7(0x100))/0x2*(-parseInt(_0x5b42d7(0x103))/0x3)+-parseInt(_0x5b42d7(0x105))/0x4*(parseInt(_0x5b42d7(0x10d))/0x5)+-parseInt(_0x5b42d7(0x101))/0x6*(parseInt(_0x5b42d7(0x107))/0x7)+-parseInt(_0x5b42d7(0x10e))/0x8*(parseInt(_0x5b42d7(0xfe))/0x9)+-parseInt(_0x5b42d7(0x10a))/0xa*(parseInt(_0x5b42d7(0x102))/0xb)+parseInt(_0x5b42d7(0x109))/0xc;if(_0x4a2a73===_0x48605e)break;else _0x3e46cd['push'](_0x3e46cd['shift']());}catch(_0x5c5c9f){_0x3e46cd['push'](_0x3e46cd['shift']());}}}(_0x5b83,0xdaa98));function _0x5b83(){var _0x578908=['806668gpDdWR','requires','98AvGuMK','isOfficialPlugin','73025376EfEVxl','91400jApYVZ','pluginName','isPremiumPlugin','5bkEMwq','8jscWbP','6471018oNgvQO','UploadcareImageEdit','8958bCufkk','425112RcybCh','407ZutsZU','1149VcDtYV','1223574NWISep'];_0x5b83=function(){return _0x578908;};return _0x5b83();}import{Plugin as _0xb8836d}from'ckeditor5/src/core.js';import _0x515e0a from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x59ed5e from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3e2f(_0xa2c070,_0x2aa895){var _0x5b8318=_0x5b83();return _0x3e2f=function(_0x3e2f03,_0x1d9b89){_0x3e2f03=_0x3e2f03-0xfe;var _0x4c50e5=_0x5b8318[_0x3e2f03];return _0x4c50e5;},_0x3e2f(_0xa2c070,_0x2aa895);}export default class P extends _0xb8836d{static get[_0x4c8067(0x10b)](){var _0x409908=_0x4c8067;return _0x409908(0xff);}static get[_0x4c8067(0x106)](){return[_0x515e0a,_0x59ed5e];}static get[_0x4c8067(0x108)](){return!0x0;}static get[_0x4c8067(0x10c)](){return!0x0;}}
23
+ var _0x516a4e=_0x33cd;(function(_0xc478c2,_0x1104f9){var _0xc03405=_0x33cd,_0x304b2c=_0xc478c2();while(!![]){try{var _0x4f27b6=parseInt(_0xc03405(0x9d))/0x1*(-parseInt(_0xc03405(0xa4))/0x2)+-parseInt(_0xc03405(0x99))/0x3+-parseInt(_0xc03405(0x9a))/0x4+parseInt(_0xc03405(0x9f))/0x5+-parseInt(_0xc03405(0xa5))/0x6+parseInt(_0xc03405(0xa1))/0x7*(-parseInt(_0xc03405(0x9e))/0x8)+parseInt(_0xc03405(0x97))/0x9*(parseInt(_0xc03405(0xa3))/0xa);if(_0x4f27b6===_0x1104f9)break;else _0x304b2c['push'](_0x304b2c['shift']());}catch(_0x20ed71){_0x304b2c['push'](_0x304b2c['shift']());}}}(_0x50f4,0x50a5b));function _0x33cd(_0x877098,_0x1bfce4){var _0x50f43b=_0x50f4();return _0x33cd=function(_0x33cd9a,_0x400143){_0x33cd9a=_0x33cd9a-0x97;var _0x2fdb7f=_0x50f43b[_0x33cd9a];return _0x2fdb7f;},_0x33cd(_0x877098,_0x1bfce4);}import{Plugin as _0x558431}from'ckeditor5/src/core.js';function _0x50f4(){var _0x358a0b=['isPremiumPlugin','1882011iFAOmF','987168YbtqhS','UploadcareImageEdit','isOfficialPlugin','19YRDPrv','2561432tHjnfm','546830fKLmNj','pluginName','7TKKtiv','requires','10bmXAZM','25684EFhZxy','3155280RPDkuq','19666359pRvmQh'];_0x50f4=function(){return _0x358a0b;};return _0x50f4();}import _0x3dc28d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x21b0cf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x558431{static get[_0x516a4e(0xa0)](){var _0x29ee7c=_0x516a4e;return _0x29ee7c(0x9b);}static get[_0x516a4e(0xa2)](){return[_0x3dc28d,_0x21b0cf];}static get[_0x516a4e(0x9c)](){return!0x0;}static get[_0x516a4e(0x98)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4447c9=_0x10a4;(function(_0xe719d9,_0x51e88d){const _0x51b622=_0x10a4,_0x44ae17=_0xe719d9();while(!![]){try{const _0xdf236d=parseInt(_0x51b622(0x198))/0x1*(parseInt(_0x51b622(0x174))/0x2)+-parseInt(_0x51b622(0x1a3))/0x3*(-parseInt(_0x51b622(0x16d))/0x4)+-parseInt(_0x51b622(0x160))/0x5+parseInt(_0x51b622(0x185))/0x6*(-parseInt(_0x51b622(0x195))/0x7)+-parseInt(_0x51b622(0x17a))/0x8*(parseInt(_0x51b622(0x169))/0x9)+-parseInt(_0x51b622(0x19b))/0xa*(-parseInt(_0x51b622(0x15b))/0xb)+parseInt(_0x51b622(0x19c))/0xc;if(_0xdf236d===_0x51e88d)break;else _0x44ae17['push'](_0x44ae17['shift']());}catch(_0x538478){_0x44ae17['push'](_0x44ae17['shift']());}}}(_0x56be,0x6bf65));import{Plugin as _0x3e085c}from'ckeditor5/src/core.js';function _0x10a4(_0x40956f,_0x13bc9d){const _0x56be6f=_0x56be();return _0x10a4=function(_0x10a422,_0x46eb73){_0x10a422=_0x10a422-0x152;let _0x45201b=_0x56be6f[_0x10a422];return _0x45201b;},_0x10a4(_0x40956f,_0x13bc9d);}function _0x56be(){const _0x222e50=['afterInit','reduce','_createButton','uploadcareLicenseKeyDomainLimit','Facebook','GPhotos','evaluationLimit','ImageInsertUI','_showLicenseError','bind','Insert','icon','UploadcareUI','777ocMewP','pluginName','uploadcareLicenseKeyUsageLimit','53FhoSqu','registerIntegration','label','10gDqCJE','11097108nJIrCV','uploadcareLicenseKeyNotAllowed','locale','expired','init','type','featureNotAllowed','6zyYGgE','_createDropdownButtons','trialLimit','Uploadcare','OneDrive','Replace','has','assetManager','forEach','uploadcareLicenseKeyExpired','shortText','2861276DiCJpy','GDrive','usageLimit','plugins','url','213790RtfoDO','text','config','entries','commands','uploadcareLicenseKeyEvaluationLimit','get','destroy','uploadcare.uploader.sourceList','520794hwNBas','isImageSelected','uploadcareLicenseKeyValid','withText','625836mQsNfW','_createMenuBarButtons','uploadcareLicenseKeyTrialLimit','_createToolbarButton','_licenseKeyCheckInterval','_getIntegrationKey','upload','2998POxByN','_normalizeConfigSourceList','execute','isOfficialPlugin','isEnabled','Dropbox','32ujVXkt','domainLimit','uploadcare','map','invalid','URL','editor','uploadcareLicenseKeyInvalid','Local','tooltip','isPremiumPlugin','46530psqCho','licenseKey','push'];_0x56be=function(){return _0x222e50;};return _0x56be();}import{IconDropbox as _0x56cb41,IconFacebook as _0x667ec2,IconGoogleDrive as _0x3325d4,IconGooglePhotos as _0x4be0d6,IconUploadcareImageUpload as _0x2e6cf5,IconUploadcareLink as _0xac0701,IconOneDrive as _0x258afe}from'ckeditor5/src/icons.js';import{ButtonView as _0xcc2019,MenuBarMenuListItemButtonView as _0x5c6a74}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x270dd5}from'./uploadcareconfig.js';import{getTranslation as _0x21d1f5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3e085c{[_0x4447c9(0x186)];[_0x4447c9(0x171)];static get[_0x4447c9(0x196)](){const _0x281a36=_0x4447c9;return _0x281a36(0x194);}static get[_0x4447c9(0x177)](){return!0x0;}static get[_0x4447c9(0x184)](){return!0x0;}[_0x4447c9(0x1a0)](){const _0x3691c4=_0x4447c9;this[_0x3691c4(0x186)]=this[_0x3691c4(0x180)][_0x3691c4(0x162)][_0x3691c4(0x166)](_0x3691c4(0x186));const _0x1b48cc=this[_0x3691c4(0x180)];this[_0x3691c4(0x171)]=setInterval(()=>{const _0x5b65a6=_0x3691c4;let _0x2e6d24;for(const _0xc2f8f6 in _0x1b48cc){const _0x415f70=_0xc2f8f6,_0x145f95=_0x1b48cc[_0x415f70];if(_0x5b65a6(0x16b)==_0x145f95||_0x5b65a6(0x181)==_0x145f95||_0x5b65a6(0x159)==_0x145f95||_0x5b65a6(0x18b)==_0x145f95||_0x5b65a6(0x19d)==_0x145f95||_0x5b65a6(0x165)==_0x145f95||_0x5b65a6(0x16f)==_0x145f95||_0x5b65a6(0x197)==_0x145f95){delete _0x1b48cc[_0x415f70],_0x2e6d24=_0x145f95,clearInterval(this[_0x5b65a6(0x171)]),this[_0x5b65a6(0x171)]=void 0x0;break;}}_0x5b65a6(0x181)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x17e)),_0x5b65a6(0x159)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x19f)),_0x5b65a6(0x18b)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x17b)),_0x5b65a6(0x19d)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x1a2),_0x5b65a6(0x153)),_0x5b65a6(0x165)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x18e)),_0x5b65a6(0x16f)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x152)),_0x5b65a6(0x197)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x15d));},0x3e8);}[_0x4447c9(0x188)](){const _0x5357e9=_0x4447c9,{editor:_0xeebb10}=this,_0xa52e21=_0xeebb10[_0x5357e9(0x164)][_0x5357e9(0x166)](_0x5357e9(0x17c));if(!_0xa52e21)return;const _0x26147b=this[_0x5357e9(0x175)](_0xeebb10[_0x5357e9(0x162)][_0x5357e9(0x166)](_0x5357e9(0x168)))[_0x5357e9(0x189)]((_0x2f4e27,_0x780795)=>{const _0x435a2f=_0x5357e9,_0x4c1f6c=this[_0x435a2f(0x172)](_0x780795[_0x435a2f(0x1a1)]);return _0x2f4e27[_0x4c1f6c]||(_0x2f4e27[_0x4c1f6c]=[]),_0x2f4e27[_0x4c1f6c][_0x435a2f(0x187)](_0x780795),_0x2f4e27;},{});_0xeebb10[_0x5357e9(0x15e)][_0x5357e9(0x156)](_0x5357e9(0x18f))&&_0xeebb10[_0x5357e9(0x164)][_0x5357e9(0x166)](_0x5357e9(0x17c))&&Object[_0x5357e9(0x163)](_0x26147b)[_0x5357e9(0x158)](([_0x2f2886,_0x100d65])=>{const _0x3d11fb=_0x5357e9;_0xeebb10[_0x3d11fb(0x15e)][_0x3d11fb(0x166)](_0x3d11fb(0x18f))[_0x3d11fb(0x199)]({'name':_0x2f2886,'observable':()=>_0xa52e21,'buttonViewCreator':()=>this[_0x3d11fb(0x170)](_0x100d65),'formViewCreator':()=>this[_0x3d11fb(0x1a4)](_0x100d65),'menuBarButtonViewCreator':()=>this[_0x3d11fb(0x16e)](_0x100d65),'override':_0x3d11fb(0x157)!==_0x2f2886});});}[_0x4447c9(0x167)](){const _0x5dfa8f=_0x4447c9;super[_0x5dfa8f(0x167)](),this[_0x5dfa8f(0x171)]&&clearInterval(this[_0x5dfa8f(0x171)]);}[_0x4447c9(0x175)](_0x3d9ddb){const _0x1e3b48=_0x4447c9,{locale:_0x118db2}=this[_0x1e3b48(0x180)];return _0x3d9ddb[_0x1e3b48(0x17d)](_0x33c525=>{const _0x43d6ca=_0x1e3b48,_0x1b0226=_0x21d1f5(_0x118db2,_0x33c525,_0x43d6ca(0x192));switch(_0x33c525){case _0x270dd5[_0x43d6ca(0x182)]:return{'icon':_0x2e6cf5,'type':_0x270dd5[_0x43d6ca(0x182)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x17f)]:return{'icon':_0xac0701,'type':_0x270dd5[_0x43d6ca(0x17f)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x179)]:return{'icon':_0x56cb41,'type':_0x270dd5[_0x43d6ca(0x179)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x18c)]:return{'icon':_0x667ec2,'type':_0x270dd5[_0x43d6ca(0x18c)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x15c)]:return{'icon':_0x3325d4,'type':_0x270dd5[_0x43d6ca(0x15c)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x18d)]:return{'icon':_0x4be0d6,'type':_0x270dd5[_0x43d6ca(0x18d)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x154)]:return{'icon':_0x258afe,'type':_0x270dd5[_0x43d6ca(0x154)],..._0x1b0226};}});}[_0x4447c9(0x172)](_0x63deb8){const _0x555368=_0x4447c9;switch(_0x63deb8){case _0x270dd5[_0x555368(0x182)]:return _0x555368(0x173);case _0x270dd5[_0x555368(0x17f)]:return _0x555368(0x15f);default:return _0x555368(0x157);}}[_0x4447c9(0x18a)](_0x12ff8e,_0x34056a){const _0x555257=_0x4447c9,_0xf231d9=this[_0x555257(0x180)],_0x296405=new _0x12ff8e(_0xf231d9[_0x555257(0x19e)]),_0x1dfda5=_0xf231d9[_0x555257(0x164)][_0x555257(0x166)](_0x555257(0x17c));return _0x296405[_0x555257(0x191)](_0x555257(0x178))['to'](_0x1dfda5),_0x296405['on'](_0x555257(0x176),()=>{const _0x4abf04=_0x555257;_0x1dfda5[_0x4abf04(0x176)](_0x34056a);}),_0x296405;}[_0x4447c9(0x170)](_0x2779c2){const _0x4578d8=_0x4447c9,{locale:_0x28ea4e}=this[_0x4578d8(0x180)],_0x51d0bc=this[_0x4578d8(0x180)][_0x4578d8(0x15e)][_0x4578d8(0x166)](_0x4578d8(0x18f)),_0x50c283=_0x2779c2[0x0],_0x954f00=this[_0x4578d8(0x18a)](_0xcc2019,_0x50c283[_0x4578d8(0x1a1)]);return _0x954f00[_0x4578d8(0x193)]=_0x50c283[_0x4578d8(0x193)],_0x954f00[_0x4578d8(0x191)](_0x4578d8(0x19a))['to'](_0x51d0bc,_0x4578d8(0x16a),_0x11e8ed=>_0x21d1f5(_0x28ea4e,_0x50c283[_0x4578d8(0x1a1)],_0x11e8ed?_0x4578d8(0x155):_0x4578d8(0x192))[_0x4578d8(0x161)]),_0x954f00[_0x4578d8(0x183)]=!0x0,_0x954f00;}[_0x4447c9(0x1a4)](_0x220965){const _0x34f1ea=_0x4447c9,{locale:_0x3cabfc}=this[_0x34f1ea(0x180)],_0x4df4eb=this[_0x34f1ea(0x180)][_0x34f1ea(0x15e)][_0x34f1ea(0x166)](_0x34f1ea(0x18f));return _0x220965[_0x34f1ea(0x17d)](_0x5f167b=>{const _0x58ab33=_0x34f1ea,_0xf6a348=this[_0x58ab33(0x18a)](_0xcc2019,_0x5f167b[_0x58ab33(0x1a1)]);return _0xf6a348[_0x58ab33(0x16c)]=!0x0,_0xf6a348[_0x58ab33(0x193)]=_0x5f167b[_0x58ab33(0x193)],_0xf6a348[_0x58ab33(0x191)](_0x58ab33(0x19a))['to'](_0x4df4eb,_0x58ab33(0x16a),_0x161ef1=>_0x21d1f5(_0x3cabfc,_0x5f167b[_0x58ab33(0x1a1)],_0x161ef1?_0x58ab33(0x155):_0x58ab33(0x192))[_0x58ab33(0x161)]),_0xf6a348;});}[_0x4447c9(0x16e)](_0xce6ba9){const _0x2760a6=_0x4447c9;return _0xce6ba9[_0x2760a6(0x17d)](_0x27f414=>{const _0x1a393d=_0x2760a6,_0x5d58dc=this[_0x1a393d(0x18a)](_0x5c6a74,_0x27f414[_0x1a393d(0x1a1)]);return _0x5d58dc[_0x1a393d(0x193)]=_0x27f414[_0x1a393d(0x193)],_0x5d58dc[_0x1a393d(0x19a)]=_0x27f414[_0x1a393d(0x15a)],_0x5d58dc;});}}
23
+ const _0x4db2cb=_0x4fb0;(function(_0xe0f1e,_0x13dc50){const _0x3760df=_0x4fb0,_0x2b4ef0=_0xe0f1e();while(!![]){try{const _0x27a4a2=-parseInt(_0x3760df(0x1a5))/0x1+parseInt(_0x3760df(0x19a))/0x2*(-parseInt(_0x3760df(0x1e1))/0x3)+parseInt(_0x3760df(0x1b5))/0x4*(-parseInt(_0x3760df(0x1a6))/0x5)+parseInt(_0x3760df(0x1cc))/0x6+-parseInt(_0x3760df(0x199))/0x7+-parseInt(_0x3760df(0x1dd))/0x8+-parseInt(_0x3760df(0x1c0))/0x9*(-parseInt(_0x3760df(0x1cd))/0xa);if(_0x27a4a2===_0x13dc50)break;else _0x2b4ef0['push'](_0x2b4ef0['shift']());}catch(_0x522741){_0x2b4ef0['push'](_0x2b4ef0['shift']());}}}(_0x2ba3,0x64219));import{Plugin as _0x2d9734}from'ckeditor5/src/core.js';import{IconDropbox as _0x59a8da,IconFacebook as _0x54020c,IconGoogleDrive as _0x142cdf,IconGooglePhotos as _0x4cc985,IconUploadcareImageUpload as _0x92035f,IconUploadcareLink as _0x48ae5f,IconOneDrive as _0xd9aec1}from'ckeditor5/src/icons.js';import{ButtonView as _0x119a66,MenuBarMenuListItemButtonView as _0x39bb44}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x20b9fe}from'./uploadcareconfig.js';function _0x2ba3(){const _0x3c969c=['isOfficialPlugin','Facebook','registerIntegration','uploadcareLicenseKeyTrialLimit','isEnabled','uploadcareLicenseKeyInvalid','UploadcareUI','98948fFnIxa','ImageInsertUI','afterInit','execute','shortText','Local','uploadcareLicenseKeyUsageLimit','_showLicenseError','featureNotAllowed','_normalizeConfigSourceList','config','13968ixOcOk','uploadcareLicenseKeyDomainLimit','push','reduce','destroy','forEach','Insert','expired','uploadcare','editor','locale','URL','4523082jLCXJs','9910BrhHfg','bind','GDrive','pluginName','domainLimit','evaluationLimit','licenseKey','plugins','isImageSelected','upload','commands','assetManager','entries','Uploadcare','type','Replace','5422952QtwhgF','_createMenuBarButtons','uploadcareLicenseKeyExpired','_createDropdownButtons','28941zauYZS','GPhotos','_getIntegrationKey','usageLimit','_createToolbarButton','icon','text','url','_licenseKeyCheckInterval','2554307IloRdZ','158Wdsiob','Dropbox','withText','_createButton','OneDrive','uploadcareLicenseKeyValid','get','uploadcareLicenseKeyNotAllowed','init','isPremiumPlugin','label','2648PbIifw','15HLaeSj','tooltip','has','uploadcareLicenseKeyEvaluationLimit','map','trialLimit','invalid','uploadcare.uploader.sourceList'];_0x2ba3=function(){return _0x3c969c;};return _0x2ba3();}function _0x4fb0(_0x49e0c6,_0x2f7651){const _0x2ba3b6=_0x2ba3();return _0x4fb0=function(_0x4fb0ef,_0x4ca792){_0x4fb0ef=_0x4fb0ef-0x197;let _0x5e08fe=_0x2ba3b6[_0x4fb0ef];return _0x5e08fe;},_0x4fb0(_0x49e0c6,_0x2f7651);}import{getTranslation as _0x57ee21}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2d9734{[_0x4db2cb(0x1d3)];[_0x4db2cb(0x198)];static get[_0x4db2cb(0x1d0)](){const _0x3d0da3=_0x4db2cb;return _0x3d0da3(0x1b4);}static get[_0x4db2cb(0x1ae)](){return!0x0;}static get[_0x4db2cb(0x1a3)](){return!0x0;}[_0x4db2cb(0x1a2)](){const _0x30f985=_0x4db2cb;this[_0x30f985(0x1d3)]=this[_0x30f985(0x1c9)][_0x30f985(0x1bf)][_0x30f985(0x1a0)](_0x30f985(0x1d3));const _0x4c3fb6=this[_0x30f985(0x1c9)];this[_0x30f985(0x198)]=setInterval(()=>{const _0x555c2c=_0x30f985;let _0x1f13c1;for(const _0x70cbff in _0x4c3fb6){const _0x16af44=_0x70cbff,_0x472bae=_0x4c3fb6[_0x16af44];if(_0x555c2c(0x19f)==_0x472bae||_0x555c2c(0x1b3)==_0x472bae||_0x555c2c(0x1df)==_0x472bae||_0x555c2c(0x1c1)==_0x472bae||_0x555c2c(0x1a1)==_0x472bae||_0x555c2c(0x1a9)==_0x472bae||_0x555c2c(0x1b1)==_0x472bae||_0x555c2c(0x1bb)==_0x472bae){delete _0x4c3fb6[_0x16af44],_0x1f13c1=_0x472bae,clearInterval(this[_0x555c2c(0x198)]),this[_0x555c2c(0x198)]=void 0x0;break;}}_0x555c2c(0x1b3)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1ac)),_0x555c2c(0x1df)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1c7)),_0x555c2c(0x1c1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1d1)),_0x555c2c(0x1a1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1bd),_0x555c2c(0x1da)),_0x555c2c(0x1a9)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1d2)),_0x555c2c(0x1b1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1ab)),_0x555c2c(0x1bb)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1e4));},0x3e8);}[_0x4db2cb(0x1b7)](){const _0x1d3fda=_0x4db2cb,{editor:_0x2e621b}=this,_0x2da4c7=_0x2e621b[_0x1d3fda(0x1d7)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1c8));if(!_0x2da4c7)return;const _0x2e98a7=this[_0x1d3fda(0x1be)](_0x2e621b[_0x1d3fda(0x1bf)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1ad)))[_0x1d3fda(0x1c3)]((_0x2e167a,_0x22b355)=>{const _0x440f6e=_0x1d3fda,_0x226f65=this[_0x440f6e(0x1e3)](_0x22b355[_0x440f6e(0x1db)]);return _0x2e167a[_0x226f65]||(_0x2e167a[_0x226f65]=[]),_0x2e167a[_0x226f65][_0x440f6e(0x1c2)](_0x22b355),_0x2e167a;},{});_0x2e621b[_0x1d3fda(0x1d4)][_0x1d3fda(0x1a8)](_0x1d3fda(0x1b6))&&_0x2e621b[_0x1d3fda(0x1d7)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1c8))&&Object[_0x1d3fda(0x1d9)](_0x2e98a7)[_0x1d3fda(0x1c5)](([_0x13e13b,_0x367391])=>{const _0x1b4f1c=_0x1d3fda;_0x2e621b[_0x1b4f1c(0x1d4)][_0x1b4f1c(0x1a0)](_0x1b4f1c(0x1b6))[_0x1b4f1c(0x1b0)]({'name':_0x13e13b,'observable':()=>_0x2da4c7,'buttonViewCreator':()=>this[_0x1b4f1c(0x1e5)](_0x367391),'formViewCreator':()=>this[_0x1b4f1c(0x1e0)](_0x367391),'menuBarButtonViewCreator':()=>this[_0x1b4f1c(0x1de)](_0x367391),'override':_0x1b4f1c(0x1d8)!==_0x13e13b});});}[_0x4db2cb(0x1c4)](){const _0x589d80=_0x4db2cb;super[_0x589d80(0x1c4)](),this[_0x589d80(0x198)]&&clearInterval(this[_0x589d80(0x198)]);}[_0x4db2cb(0x1be)](_0x2393bf){const _0x17c1ae=_0x4db2cb,{locale:_0x51200f}=this[_0x17c1ae(0x1c9)];return _0x2393bf[_0x17c1ae(0x1aa)](_0x4b9bda=>{const _0x5c334f=_0x17c1ae,_0x238fbd=_0x57ee21(_0x51200f,_0x4b9bda,_0x5c334f(0x1c6));switch(_0x4b9bda){case _0x20b9fe[_0x5c334f(0x1ba)]:return{'icon':_0x92035f,'type':_0x20b9fe[_0x5c334f(0x1ba)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1cb)]:return{'icon':_0x48ae5f,'type':_0x20b9fe[_0x5c334f(0x1cb)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x19b)]:return{'icon':_0x59a8da,'type':_0x20b9fe[_0x5c334f(0x19b)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1af)]:return{'icon':_0x54020c,'type':_0x20b9fe[_0x5c334f(0x1af)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1cf)]:return{'icon':_0x142cdf,'type':_0x20b9fe[_0x5c334f(0x1cf)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1e2)]:return{'icon':_0x4cc985,'type':_0x20b9fe[_0x5c334f(0x1e2)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x19e)]:return{'icon':_0xd9aec1,'type':_0x20b9fe[_0x5c334f(0x19e)],..._0x238fbd};}});}[_0x4db2cb(0x1e3)](_0xff7c1c){const _0x145067=_0x4db2cb;switch(_0xff7c1c){case _0x20b9fe[_0x145067(0x1ba)]:return _0x145067(0x1d6);case _0x20b9fe[_0x145067(0x1cb)]:return _0x145067(0x197);default:return _0x145067(0x1d8);}}[_0x4db2cb(0x19d)](_0x4de53d,_0x2bb564){const _0x30116a=_0x4db2cb,_0x1c1c61=this[_0x30116a(0x1c9)],_0x15f491=new _0x4de53d(_0x1c1c61[_0x30116a(0x1ca)]),_0x53c0cf=_0x1c1c61[_0x30116a(0x1d7)][_0x30116a(0x1a0)](_0x30116a(0x1c8));return _0x15f491[_0x30116a(0x1ce)](_0x30116a(0x1b2))['to'](_0x53c0cf),_0x15f491['on'](_0x30116a(0x1b8),()=>{const _0x138caf=_0x30116a;_0x53c0cf[_0x138caf(0x1b8)](_0x2bb564);}),_0x15f491;}[_0x4db2cb(0x1e5)](_0x290636){const _0x14ee40=_0x4db2cb,{locale:_0x21fe96}=this[_0x14ee40(0x1c9)],_0x2f9b03=this[_0x14ee40(0x1c9)][_0x14ee40(0x1d4)][_0x14ee40(0x1a0)](_0x14ee40(0x1b6)),_0x4ec495=_0x290636[0x0],_0x57fe8a=this[_0x14ee40(0x19d)](_0x119a66,_0x4ec495[_0x14ee40(0x1db)]);return _0x57fe8a[_0x14ee40(0x1e6)]=_0x4ec495[_0x14ee40(0x1e6)],_0x57fe8a[_0x14ee40(0x1ce)](_0x14ee40(0x1a4))['to'](_0x2f9b03,_0x14ee40(0x1d5),_0x33e3b0=>_0x57ee21(_0x21fe96,_0x4ec495[_0x14ee40(0x1db)],_0x33e3b0?_0x14ee40(0x1dc):_0x14ee40(0x1c6))[_0x14ee40(0x1e7)]),_0x57fe8a[_0x14ee40(0x1a7)]=!0x0,_0x57fe8a;}[_0x4db2cb(0x1e0)](_0x370ccb){const _0x1f1609=_0x4db2cb,{locale:_0x16944e}=this[_0x1f1609(0x1c9)],_0x934741=this[_0x1f1609(0x1c9)][_0x1f1609(0x1d4)][_0x1f1609(0x1a0)](_0x1f1609(0x1b6));return _0x370ccb[_0x1f1609(0x1aa)](_0x53c135=>{const _0x5cf7f7=_0x1f1609,_0x1b5385=this[_0x5cf7f7(0x19d)](_0x119a66,_0x53c135[_0x5cf7f7(0x1db)]);return _0x1b5385[_0x5cf7f7(0x19c)]=!0x0,_0x1b5385[_0x5cf7f7(0x1e6)]=_0x53c135[_0x5cf7f7(0x1e6)],_0x1b5385[_0x5cf7f7(0x1ce)](_0x5cf7f7(0x1a4))['to'](_0x934741,_0x5cf7f7(0x1d5),_0x1b795d=>_0x57ee21(_0x16944e,_0x53c135[_0x5cf7f7(0x1db)],_0x1b795d?_0x5cf7f7(0x1dc):_0x5cf7f7(0x1c6))[_0x5cf7f7(0x1e7)]),_0x1b5385;});}[_0x4db2cb(0x1de)](_0x4f335b){const _0x267ad1=_0x4db2cb;return _0x4f335b[_0x267ad1(0x1aa)](_0x3f29ad=>{const _0x27e55f=_0x267ad1,_0x1a03f3=this[_0x27e55f(0x19d)](_0x39bb44,_0x3f29ad[_0x27e55f(0x1db)]);return _0x1a03f3[_0x27e55f(0x1e6)]=_0x3f29ad[_0x27e55f(0x1e6)],_0x1a03f3[_0x27e55f(0x1a4)]=_0x3f29ad[_0x27e55f(0x1b9)],_0x1a03f3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x590e28}from'ckeditor5/src/core.js';import{FileRepository as _0x1bdc8f}from'ckeditor5/src/upload.js';import _0x55a9de from'./uploadcareediting.js';import _0x4c6b24 from'./utils/uploadutils.js';import{getImageUrls as _0x2aed57}from'./utils/editingutils.js';export default class p extends _0x590e28{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1bdc8f,_0x55a9de];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x284a95=this['editor'];if(!!!_0x284a95['config']['get']('uploadcare'))return;_0x284a95['plugins']['get'](_0x1bdc8f)['createUploadAdapter']=_0x37d7b8=>new x(_0x37d7b8,_0x284a95),_0x284a95['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3efd83,{imageElement:_0x505b0b,data:_0x189f7f})=>{_0x284a95['model']['change'](_0x37f738=>{_0x37f738['setAttribute']('uploadcareImageId',_0x189f7f['uploadcareImageId'],_0x505b0b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xbe9ff6,_0x579dd1){this['loader']=_0xbe9ff6,this['editor']=_0x579dd1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x234a1e=this['editor']['config']['get']('uploadcare.pubkey'),_0x37aaf7=await this['loader']['file'];return _0x4c6b24['upload']({'file':_0x37aaf7,'publicKey':_0x234a1e,'signal':this['controller']['signal'],'onProgress':_0x330b86=>{_0x330b86&&_0x330b86['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x330b86['value']);}})['then'](async _0x288b47=>{const {imageFallbackUrl:_0x3d7fe6,imageSources:_0x2c0d3a}=_0x2aed57(_0x288b47['cdnUrl'],_0x288b47['imageInfo']['width']);return{'uploadcareImageId':_0x288b47['uuid'],'default':_0x3d7fe6,'sources':_0x2c0d3a};})['catch'](()=>{const _0x30befd=t('Cannot\x20upload\x20file:')+('\x20'+_0x37aaf7['name']+'.');return Promise['reject'](_0x30befd);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x376499}from'ckeditor5/src/core.js';import{FileRepository as _0x37a45e}from'ckeditor5/src/upload.js';import _0x1085c7 from'./uploadcareediting.js';import _0x527dfc from'./utils/uploadutils.js';import{getImageUrls as _0x4de393}from'./utils/editingutils.js';export default class p extends _0x376499{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37a45e,_0x1085c7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x236bb3=this['editor'];if(!!!_0x236bb3['config']['get']('uploadcare'))return;_0x236bb3['plugins']['get'](_0x37a45e)['createUploadAdapter']=_0x544c80=>new x(_0x544c80,_0x236bb3),_0x236bb3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2b4784,{imageElement:_0x1203af,data:_0x5b495d})=>{_0x236bb3['model']['change'](_0x236472=>{_0x236472['setAttribute']('uploadcareImageId',_0x5b495d['uploadcareImageId'],_0x1203af);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xf3d2b3,_0x22f18f){this['loader']=_0xf3d2b3,this['editor']=_0x22f18f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc3ae7a=this['editor']['config']['get']('uploadcare.pubkey'),_0x4ae5d2=await this['loader']['file'];return _0x527dfc['upload']({'file':_0x4ae5d2,'publicKey':_0xc3ae7a,'signal':this['controller']['signal'],'onProgress':_0x1714fd=>{_0x1714fd&&_0x1714fd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1714fd['value']);}})['then'](async _0xc99ec5=>{const {imageFallbackUrl:_0x2e5487,imageSources:_0xed0518}=_0x4de393(_0xc99ec5['cdnUrl'],_0xc99ec5['imageInfo']['width']);return{'uploadcareImageId':_0xc99ec5['uuid'],'default':_0x2e5487,'sources':_0xed0518};})['catch'](()=>{const _0x1e7af6=t('Cannot\x20upload\x20file:')+('\x20'+_0x4ae5d2['name']+'.');return Promise['reject'](_0x1e7af6);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x551bb2}from'../uploadcareconfig.js';export function getTranslation(_0x411252,_0x49b2a2,_0x1d3c0e){const t=_0x411252['t'],_0xc35f7c=_0x411252['t'];switch(_0x49b2a2){case _0x551bb2['Local']:return{'text':_0xc35f7c('Insert'===_0x1d3c0e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc35f7c('From\x20computer')};case _0x551bb2['URL']:return{'text':'Insert'===_0x1d3c0e?_0xc35f7c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc35f7c('Via\x20URL')};case _0x551bb2['Dropbox']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x551bb2['Facebook']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x551bb2['GDrive']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x551bb2['GPhotos']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x551bb2['OneDrive']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49b2a2;}}
23
+ import{UploadcareSource as _0xa83792}from'../uploadcareconfig.js';export function getTranslation(_0x10956c,_0x344da9,_0x14ca2b){const t=_0x10956c['t'],_0xc45933=_0x10956c['t'];switch(_0x344da9){case _0xa83792['Local']:return{'text':_0xc45933('Insert'===_0x14ca2b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc45933('From\x20computer')};case _0xa83792['URL']:return{'text':'Insert'===_0x14ca2b?_0xc45933('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc45933('Via\x20URL')};case _0xa83792['Dropbox']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xa83792['Facebook']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xa83792['GDrive']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xa83792['GPhotos']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xa83792['OneDrive']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x344da9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xea0f(_0xf30478,_0x1bd06b){var _0x64fc49=_0x64fc();return _0xea0f=function(_0xea0fd,_0x6d7963){_0xea0fd=_0xea0fd-0x1d3;var _0x120991=_0x64fc49[_0xea0fd];return _0x120991;},_0xea0f(_0xf30478,_0x1bd06b);}var _0x4b0129=_0xea0f;(function(_0x4b381a,_0x21bc95){var _0xf8aabc=_0xea0f,_0x248208=_0x4b381a();while(!![]){try{var _0x4854fb=-parseInt(_0xf8aabc(0x1d4))/0x1*(parseInt(_0xf8aabc(0x1e1))/0x2)+-parseInt(_0xf8aabc(0x1e5))/0x3+-parseInt(_0xf8aabc(0x1d7))/0x4*(parseInt(_0xf8aabc(0x1df))/0x5)+parseInt(_0xf8aabc(0x1dd))/0x6*(parseInt(_0xf8aabc(0x1d9))/0x7)+-parseInt(_0xf8aabc(0x1d5))/0x8+-parseInt(_0xf8aabc(0x1d8))/0x9+parseInt(_0xf8aabc(0x1db))/0xa;if(_0x4854fb===_0x21bc95)break;else _0x248208['push'](_0x248208['shift']());}catch(_0x5ba6c8){_0x248208['push'](_0x248208['shift']());}}}(_0x64fc,0x261a8));import{FocusTracker as _0xad6e9c}from'ckeditor5/src/utils.js';import{View as _0x1d22b9,FocusCycler as _0x2aadbf}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x64fc(){var _0x1c4fd5=['2OIeNtl','getFocusableElement','focusCycler','focusTracker','853866DCQWEc','fire','142124oMOMhX','168280EUUIPh','bindTemplate','208652CLZudS','363267lZVSwB','101318FQLejW','createCollection','5691210jhKtvi','true','96RTqJzt','div','15XlasOf','forwardCycle'];_0x64fc=function(){return _0x1c4fd5;};return _0x64fc();}export default class q extends _0x1d22b9{[_0x4b0129(0x1e4)];[_0x4b0129(0x1e3)];constructor(_0x108ad7){var _0x42f870=_0x4b0129;super(_0x108ad7),this[_0x42f870(0x1e4)]=new _0xad6e9c(),this[_0x42f870(0x1e3)]=new _0x2aadbf({'focusables':this[_0x42f870(0x1da)](),'focusTracker':this[_0x42f870(0x1e4)]});}[_0x4b0129(0x1e2)](){var _0x3df4ae=_0x4b0129;return{'tag':_0x3df4ae(0x1de),'attributes':{'aria-hidden':_0x3df4ae(0x1dc),'tabindex':'0'},'on':{'focus':this[_0x3df4ae(0x1d6)]['to'](()=>{var _0x1b63ae=_0x3df4ae;this[_0x1b63ae(0x1e3)][_0x1b63ae(0x1d3)](_0x1b63ae(0x1e0));})}};}}
23
+ var _0x5e91ba=_0x469d;function _0x3788(){var _0x439bc8=['true','88ymyzdY','getFocusableElement','bindTemplate','4655584ZiEgjk','277285frgeUH','1380047DqwpyY','4362420nRuqLu','forwardCycle','fire','focusTracker','4072817eCFdBI','9969gCFvzn','7448535wliQBZ','focusCycler','div','400lxvnnj','createCollection'];_0x3788=function(){return _0x439bc8;};return _0x3788();}function _0x469d(_0x1bb9af,_0x55dd9e){var _0x378826=_0x3788();return _0x469d=function(_0x469d46,_0x1d4ac0){_0x469d46=_0x469d46-0xb3;var _0x53308d=_0x378826[_0x469d46];return _0x53308d;},_0x469d(_0x1bb9af,_0x55dd9e);}(function(_0x290a6f,_0x1a39be){var _0x473b0a=_0x469d,_0x2cebd5=_0x290a6f();while(!![]){try{var _0x4396ea=parseInt(_0x473b0a(0xb3))/0x1+-parseInt(_0x473b0a(0xbd))/0x2*(-parseInt(_0x473b0a(0xb9))/0x3)+parseInt(_0x473b0a(0xc0))/0x4*(-parseInt(_0x473b0a(0xc4))/0x5)+parseInt(_0x473b0a(0xb4))/0x6+parseInt(_0x473b0a(0xb8))/0x7+-parseInt(_0x473b0a(0xc3))/0x8+-parseInt(_0x473b0a(0xba))/0x9;if(_0x4396ea===_0x1a39be)break;else _0x2cebd5['push'](_0x2cebd5['shift']());}catch(_0x30e3cd){_0x2cebd5['push'](_0x2cebd5['shift']());}}}(_0x3788,0xb0bdb));import{FocusTracker as _0x1df4bd}from'ckeditor5/src/utils.js';import{View as _0x383182,FocusCycler as _0x15be9d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x383182{[_0x5e91ba(0xb7)];[_0x5e91ba(0xbb)];constructor(_0x3fc44f){var _0xed7a5f=_0x5e91ba;super(_0x3fc44f),this[_0xed7a5f(0xb7)]=new _0x1df4bd(),this[_0xed7a5f(0xbb)]=new _0x15be9d({'focusables':this[_0xed7a5f(0xbe)](),'focusTracker':this[_0xed7a5f(0xb7)]});}[_0x5e91ba(0xc1)](){var _0x5835d2=_0x5e91ba;return{'tag':_0x5835d2(0xbc),'attributes':{'aria-hidden':_0x5835d2(0xbf),'tabindex':'0'},'on':{'focus':this[_0x5835d2(0xc2)]['to'](()=>{var _0x42edd1=_0x5835d2;this[_0x42edd1(0xbb)][_0x42edd1(0xb6)](_0x42edd1(0xb5));})}};}}