@ckeditor/ckeditor5-uploadcare 47.6.2-alpha.0 → 47.6.2-alpha.1

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 _0x383d5a=_0xc80f;function _0x47d5(){const _0x47fbed=['remove','7DNFmoA','href','45036SKIhlQ','PictureEditing','cleanupImage','querySelector','imageBlock','join','replaceImageSource','model','commands','_initConversion','uploadcare.uploader','upcast','closeMax','configElement','#uc-icon-arrow-down','execute','editor','pluginName','locale','destroy','elementToAttribute','downcast','uploader-','removeAttribute','schema','for','ucContextId','requires','add','selection','view','_initSchema','conversion','_initImageProcessingIndicator','extend','render','insertImage','init','_configElement','contentLanguage','listenTo','UploadcareEditing','appendChild','4272774CHAyMt','document','attributeToAttribute','data-uc-image-id','afterInit','742842zaKhyj','uploadcareImageReplace','uploadcareImageId','12050NbXGHO','imageInline','isPremiumPlugin','10483504RykFdj','true','6885655XRQaNH','_initCtx','editing','2001584AHWCvM','getAttribute','isOfficialPlugin','\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','get','170sbOuZT','_initConfig','isRegistered','6001fGfbuY','uc-config','config','once','body','ctxElement','map','uploadcare','iconHrefResolver','getSelectedElement','input[uploadcare-file-input]','uploadcare.pubkey','_ctxElement','fromCharCode','uc-upload-ctx-provider'];_0x47d5=function(){return _0x47fbed;};return _0x47d5();}(function(_0x315903,_0x29de0e){const _0x3b1407=_0xc80f,_0x15b3aa=_0x315903();while(!![]){try{const _0x2d1d6d=parseInt(_0x3b1407(0x130))/0x1*(-parseInt(_0x3b1407(0x12d))/0x2)+-parseInt(_0x3b1407(0x118))/0x3+-parseInt(_0x3b1407(0x128))/0x4+-parseInt(_0x3b1407(0x125))/0x5+-parseInt(_0x3b1407(0x11d))/0x6*(parseInt(_0x3b1407(0xeb))/0x7)+-parseInt(_0x3b1407(0x123))/0x8+-parseInt(_0x3b1407(0xed))/0x9*(-parseInt(_0x3b1407(0x120))/0xa);if(_0x2d1d6d===_0x29de0e)break;else _0x15b3aa['push'](_0x15b3aa['shift']());}catch(_0x2389d7){_0x15b3aa['push'](_0x15b3aa['shift']());}}}(_0x47d5,0xbf559));import{Plugin as _0x57f09b}from'ckeditor5/src/core.js';function _0xc80f(_0x3c1d41,_0x279f38){const _0x47d5cb=_0x47d5();return _0xc80f=function(_0xc80ff8,_0x46c580){_0xc80ff8=_0xc80ff8-0xdf;let _0xe75beb=_0x47d5cb[_0xc80ff8];return _0xe75beb;},_0xc80f(_0x3c1d41,_0x279f38);}import{Dialog as _0x200a78}from'ckeditor5/src/ui.js';import{createElement as _0x295690,global as _0x50c4f5,uid as _0x18c07b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3a48c0}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x23fdab}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5da4c2}from'./utils/editingutils.js';export class UploadcareEditing extends _0x57f09b{[_0x383d5a(0x113)]=null;[_0x383d5a(0xe7)]=null;static get[_0x383d5a(0xfe)](){const _0x1d5a55=_0x383d5a;return _0x1d5a55(0x116);}static get[_0x383d5a(0x108)](){const _0x5ddfea=_0x383d5a;return[_0x5ddfea(0xee),_0x23fdab,_0x200a78];}static get[_0x383d5a(0x12a)](){return!0x0;}static get[_0x383d5a(0x122)](){return!0x0;}[_0x383d5a(0x107)];get[_0x383d5a(0xfa)](){const _0x1b31bb=_0x383d5a;return this[_0x1b31bb(0x113)];}get[_0x383d5a(0xe0)](){const _0x4681ea=_0x383d5a;return this[_0x4681ea(0xe7)];}constructor(_0x1494d3){const _0x3c87ce=_0x383d5a;super(_0x1494d3),this[_0x3c87ce(0x107)]=_0x18c07b();}[_0x383d5a(0x112)](){const _0x44dc61=_0x383d5a,_0x12a8bf=this[_0x44dc61(0xfd)];_0x12a8bf[_0x44dc61(0xf5)][_0x44dc61(0x109)](_0x44dc61(0xe2),new _0x3a48c0(_0x12a8bf));}[_0x383d5a(0x11c)](){const _0x48efa8=_0x383d5a;this[_0x48efa8(0x10c)](),this[_0x48efa8(0xf6)](),this[_0x48efa8(0x12e)](),this[_0x48efa8(0x126)](),this[_0x48efa8(0x10e)](),this[_0x48efa8(0x115)](this[_0x48efa8(0xfd)],_0x48efa8(0x100),()=>{const _0x453df9=_0x48efa8;this[_0x453df9(0x113)]&&(this[_0x453df9(0x113)][_0x453df9(0xea)](),this[_0x453df9(0x113)]=null),this[_0x453df9(0xe7)]&&(this[_0x453df9(0xe7)][_0x453df9(0xea)](),this[_0x453df9(0xe7)]=null);const _0x4dca88=_0x50c4f5[_0x453df9(0x119)][_0x453df9(0xf0)](_0x453df9(0xe5));_0x4dca88&&_0x4dca88[_0x453df9(0xea)]();}),async function(_0x2999dd){const _0x2838fb=_0x46aa4c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x342eeb=0x535f8c3a,_0x45786f=0x53580aaa^_0x342eeb,_0x3c0b7c=window[_0x46aa4c([0x44,0x61,0x74,0x65])][_0x46aa4c([0x6e,0x6f,0x77])](),_0x3fd2b7=_0x2999dd[_0x46aa4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35b5ee=new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4acfa6=>{_0x3fd2b7[_0x46aa4c([0x6f,0x6e,0x63,0x65])](_0x46aa4c([0x72,0x65,0x61,0x64,0x79]),_0x4acfa6);}),_0x59d98d={[_0x46aa4c([0x6b,0x74,0x79])]:_0x46aa4c([0x45,0x43]),[_0x46aa4c([0x75,0x73,0x65])]:_0x46aa4c([0x73,0x69,0x67]),[_0x46aa4c([0x63,0x72,0x76])]:_0x46aa4c([0x50,0x2d,0x32,0x35,0x36]),[_0x46aa4c([0x78])]:_0x46aa4c([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]),[_0x46aa4c([0x79])]:_0x46aa4c([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]),[_0x46aa4c([0x61,0x6c,0x67])]:_0x46aa4c([0x45,0x53,0x32,0x35,0x36])},_0x3221fb=_0x3fd2b7[_0x46aa4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46aa4c([0x67,0x65,0x74])](_0x46aa4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bc496(){let _0x4b487c,_0x31d3eb=null,_0x4302fa=null;try{if(_0x3221fb==_0x46aa4c([0x47,0x50,0x4c]))return _0x46aa4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b487c=_0x112261(),!_0x4b487c)return _0x46aa4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b487c[_0x46aa4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4302fa=_0x4edd9e(_0x4b487c[_0x46aa4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b487c[_0x46aa4c([0x6a,0x74,0x69])])),await _0x16c4ce()?_0x17c80c()?_0x4bf555()?_0x46aa4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x478745()?(_0x4b487c[_0x46aa4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46aa4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31d3eb=_0x39e623(_0x46aa4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cb5d7()):_0x46aa4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46aa4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46aa4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46aa4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bf555(){const _0x18055c=[_0x46aa4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46aa4c([0x74,0x72,0x69,0x61,0x6c])][_0x46aa4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b487c[_0x46aa4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c0b7c/0x3e8:0xe10*_0x45786f;return _0x4b487c[_0x46aa4c([0x65,0x78,0x70])]<_0x18055c;}function _0x17c80c(){const _0x248edf=_0x4b487c[_0x46aa4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x248edf&&(!!_0x248edf[_0x46aa4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46aa4c([0x2a]))||!!_0x248edf[_0x46aa4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46aa4c([0x55,0x50,0x4c,0x43])));}function _0x478745(){const _0x2ba4fa=_0xc80f,_0x42c7fd=_0x4b487c[_0x46aa4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42c7fd||0x0==_0x42c7fd[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f4944}=new URL(window[_0x46aa4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ba4fa(0xec)]);if(_0x42c7fd[_0x46aa4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4944))return!0x0;const _0x5247c7=_0x1f4944[_0x46aa4c([0x73,0x70,0x6c,0x69,0x74])](_0x46aa4c([0x2e]));return _0x42c7fd[_0x46aa4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b0090=>_0x3b0090[_0x46aa4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46aa4c([0x2a])))[_0x46aa4c([0x6d,0x61,0x70])](_0x1e3154=>_0x1e3154[_0x46aa4c([0x73,0x70,0x6c,0x69,0x74])](_0x46aa4c([0x2e])))[_0x46aa4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6bf528=>_0x6bf528[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5247c7[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46aa4c([0x6d,0x61,0x70])](_0xb21fc7=>Array(_0x5247c7[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb21fc7[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46aa4c([0x66,0x69,0x6c,0x6c])](_0xb21fc7[0x0]===_0x46aa4c([0x2a])?_0x46aa4c([0x2a]):'')[_0x46aa4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb21fc7))[_0x46aa4c([0x73,0x6f,0x6d,0x65])](_0x2fc24f=>_0x5247c7[_0x46aa4c([0x65,0x76,0x65,0x72,0x79])]((_0x83bb4e,_0x51788b)=>_0x2fc24f[_0x51788b]===_0x83bb4e||_0x2fc24f[_0x51788b]===_0x46aa4c([0x2a])));}function _0x1cb5d7(){return _0x31d3eb&&_0x4302fa?new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16be3b,_0x4ec904)=>{_0x31d3eb[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x16be3b,_0x4ec904),_0x4302fa[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x1e6a59=>{_0x1e6a59!=_0x46aa4c([0x56,0x61,0x6c,0x69,0x64])&&_0x16be3b(_0x1e6a59);},_0x4ec904);}):_0x31d3eb||_0x4302fa||_0x46aa4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4edd9e(_0xe44fe1,_0x301f96){return new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f5fc9=>{if(_0x53020f())return _0x4f5fc9(_0x46aa4c([0x56,0x61,0x6c,0x69,0x64]));_0x4b641f(),_0x3fd2b7[_0x46aa4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46aa4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3604ec=!0x1;const _0x5dc3c9=_0x18c07b();function _0x3ab392(_0x4a10aa){return!!_0x4a10aa&&(typeof _0x4a10aa===_0x46aa4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a10aa===_0x46aa4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a10aa[_0x46aa4c([0x74,0x68,0x65,0x6e])]===_0x46aa4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a10aa[_0x46aa4c([0x63,0x61,0x74,0x63,0x68])]===_0x46aa4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a9c4d(_0x497767){_0x52b395(_0x497767)[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x3fbec9=>{if(!_0x3fbec9||_0x3fbec9[_0x46aa4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46aa4c([0x6f,0x6b]))return _0x46aa4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fb43a(_0x43a5e4(_0x5dc3c9+_0x301f96))!=_0x3fbec9[_0x46aa4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46aa4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46aa4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x40fbc9=>(_0x2b0444(),_0x40fbc9),()=>{const _0xd7b656=_0x30819f();return null==_0xd7b656?(_0x2b0444(),_0x46aa4c([0x56,0x61,0x6c,0x69,0x64])):_0x46aa4c(_0x3c0b7c-_0xd7b656>(0x7753083a^_0x342eeb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x4f5fc9)[_0x46aa4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f5fc9(_0x46aa4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1eadda=0x536962ba^_0x342eeb;function _0x2b0444(){const _0x414b22=_0x46aa4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fb43a(_0x43a5e4(_0xe44fe1)),_0x301d1b=_0x4bea78(_0x1fb43a(window[_0x46aa4c([0x4d,0x61,0x74,0x68])][_0x46aa4c([0x63,0x65,0x69,0x6c])](_0x3c0b7c/_0x1eadda)));window[_0x46aa4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46aa4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x414b22,_0x301d1b);}function _0x30819f(){const _0x5eea7b=_0x46aa4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fb43a(_0x43a5e4(_0xe44fe1)),_0x196bd0=window[_0x46aa4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46aa4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5eea7b);return _0x196bd0?window[_0x46aa4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bea78(_0x196bd0),0x10)*_0x1eadda:null;}function _0x52b395(_0x1999b3){return new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x542ce7,_0x52da75)=>{_0x1999b3[_0x46aa4c([0x74,0x68,0x65,0x6e])](_0x542ce7,_0x52da75),window[_0x46aa4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52da75,0x535e58fa^_0x342eeb);});}}_0x3fd2b7[_0x46aa4c([0x6f,0x6e])](_0x46aa4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26dad1,_0x37a755)=>{if(_0x37a755[0x0]!=_0xe44fe1)return _0x4f5fc9(_0x46aa4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37a755[0x1]={..._0x37a755[0x1],[_0x46aa4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5dc3c9};},{[_0x46aa4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46aa4c([0x68,0x69,0x67,0x68])}),_0x3fd2b7[_0x46aa4c([0x6f,0x6e])](_0x46aa4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2531f5=>{_0x3ab392(_0x2531f5[_0x46aa4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3604ec=!0x0,_0x2a9c4d(_0x2531f5[_0x46aa4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46aa4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46aa4c([0x6c,0x6f,0x77])}),_0x35b5ee[_0x46aa4c([0x74,0x68,0x65,0x6e])](()=>{_0x3604ec||_0x4f5fc9(_0x46aa4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53020f(){return _0x3fd2b7[_0x46aa4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46aa4c([0x76,0x69,0x65,0x77])][_0x46aa4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46aa4c([0x61,0x75,0x74,0x6f]);}function _0x4b641f(){_0x3fd2b7[_0x46aa4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46aa4c([0x76,0x69,0x65,0x77])][_0x46aa4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46aa4c([0x61,0x75,0x74,0x6f]);}}function _0x39e623(_0x3fbe25){const _0x7f5e68=[new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32eaa8=>setTimeout(_0x32eaa8,0x5356b2f6^_0x342eeb)),_0x35b5ee[_0x46aa4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1c41=>{let _0x303ebc=0x0;_0x3fd2b7[_0x46aa4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46aa4c([0x6f,0x6e])](_0x46aa4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b6e40,_0x3db84e)=>{_0x3db84e[0x0][_0x46aa4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x303ebc++,_0x303ebc==(0x535f89d2^_0x342eeb)&&(_0x4b1c41(),_0x4b6e40[_0x46aa4c([0x6f,0x66,0x66])]());});}))];return window[_0x46aa4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46aa4c([0x72,0x61,0x63,0x65])](_0x7f5e68)[_0x46aa4c([0x74,0x68,0x65,0x6e])](()=>_0x3fbe25);}async function _0x131d51(){await _0x35b5ee,_0x3fd2b7[_0x46aa4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46aa4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49734b,_0x3fd2b7[_0x46aa4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46aa4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49734b,_0x3fd2b7[_0x46aa4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46aa4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8c611b(_0x44fe10){const _0x5234b3=_0x12e2c5();_0x3fd2b7[_0x5234b3]=_0x46aa4c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44fe10,_0x44fe10!=_0x46aa4c([0x56,0x61,0x6c,0x69,0x64])&&_0x131d51();}function _0x12e2c5(){const _0x555c17=window[_0x46aa4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46aa4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46aa4c([0x6e,0x6f,0x77])]())[_0x46aa4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46aa4c([0x2e]),'');let _0x3ba318=_0x46aa4c([0x68]);for(let _0x449e1a=0x0;_0x449e1a<_0x555c17[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x449e1a+=0x2){let _0x437d12=window[_0x46aa4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555c17[_0x46aa4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x449e1a,_0x449e1a+0x2));_0x437d12>=_0x2838fb[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x437d12-=_0x2838fb[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ba318+=_0x2838fb[_0x437d12];}return _0x3ba318;}function _0x112261(){const _0x22555d=_0x3221fb[_0x46aa4c([0x73,0x70,0x6c,0x69,0x74])](_0x46aa4c([0x2e]));if(0x3!=_0x22555d[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9b12d1(_0x22555d[0x1]);function _0x9b12d1(_0x98fbfa){const _0x4d6b73=_0x314ae9(_0x98fbfa);return _0x4d6b73&&_0x186c1b()?_0x4d6b73:null;function _0x186c1b(){const _0x30e4ff=_0x4d6b73[_0x46aa4c([0x6a,0x74,0x69])],_0x3cfb9f=window[_0x46aa4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30e4ff[_0x46aa4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30e4ff[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43d157={..._0x4d6b73,[_0x46aa4c([0x6a,0x74,0x69])]:_0x30e4ff[_0x46aa4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30e4ff[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43d157[_0x46aa4c([0x76,0x63])],_0x43a5e4(_0x43d157)==_0x3cfb9f;}}}async function _0x16c4ce(){let _0x161dab=!0x0;try{const _0x4bf684=_0x3221fb[_0x46aa4c([0x73,0x70,0x6c,0x69,0x74])](_0x46aa4c([0x2e])),[_0x36ed61,_0x5c5d18,_0x40d9af]=_0x4bf684;return _0x468410(_0x36ed61),await _0x258e7f(_0x36ed61,_0x5c5d18,_0x40d9af),_0x161dab;}catch{return!0x1;}function _0x468410(_0x32499e){const _0x2da4f=_0x314ae9(_0x32499e);_0x2da4f&&_0x2da4f[_0x46aa4c([0x61,0x6c,0x67])]==_0x46aa4c([0x45,0x53,0x32,0x35,0x36])||(_0x161dab=!0x1);}async function _0x258e7f(_0x3c39fa,_0x5f230e,_0x3b44e2){const _0x406a18=window[_0x46aa4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46aa4c([0x66,0x72,0x6f,0x6d])](_0x3d5d2a(_0x3b44e2),_0x566c04=>_0x566c04[_0x46aa4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3815cd=new window[(_0x46aa4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46aa4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c39fa+_0x46aa4c([0x2e])+_0x5f230e),_0x257e88=window[_0x46aa4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46aa4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x257e88)return;const _0x7f862d=await _0x257e88[_0x46aa4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46aa4c([0x6a,0x77,0x6b]),_0x59d98d,{[_0x46aa4c([0x6e,0x61,0x6d,0x65])]:_0x46aa4c([0x45,0x43,0x44,0x53,0x41]),[_0x46aa4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46aa4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46aa4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x257e88[_0x46aa4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46aa4c([0x6e,0x61,0x6d,0x65])]:_0x46aa4c([0x45,0x43,0x44,0x53,0x41]),[_0x46aa4c([0x68,0x61,0x73,0x68])]:{[_0x46aa4c([0x6e,0x61,0x6d,0x65])]:_0x46aa4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7f862d,_0x406a18,_0x3815cd)||(_0x161dab=!0x1);}}function _0x314ae9(_0x565342){return _0x565342[_0x46aa4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46aa4c([0x65,0x79]))?JSON[_0x46aa4c([0x70,0x61,0x72,0x73,0x65])](_0x3d5d2a(_0x565342)):null;}function _0x3d5d2a(_0x202c47){return window[_0x46aa4c([0x61,0x74,0x6f,0x62])](_0x202c47[_0x46aa4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46aa4c([0x2b]))[_0x46aa4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46aa4c([0x2f])));}function _0x43a5e4(_0x51bb6e){let _0x305163=0x1505;function _0x3b345b(_0x437997){for(let _0x23493f=0x0;_0x23493f<_0x437997[_0x46aa4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23493f++){const _0x587474=_0x437997[_0x46aa4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23493f);_0x305163=(_0x305163<<0x5)+_0x305163+_0x587474,_0x305163&=_0x305163;}}function _0x275af4(_0x175dbe){Array[_0x46aa4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x175dbe)?_0x175dbe[_0x46aa4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x275af4):_0x175dbe&&typeof _0x175dbe==_0x46aa4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46aa4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x175dbe)[_0x46aa4c([0x73,0x6f,0x72,0x74])]()[_0x46aa4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1459f0,_0x3d1db8])=>{_0x3b345b(_0x1459f0),_0x275af4(_0x3d1db8);}):_0x3b345b(window[_0x46aa4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x175dbe));}return _0x275af4(_0x51bb6e),_0x305163>>>0x0;}function _0x1fb43a(_0x2deb5f){return _0x2deb5f[_0x46aa4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46aa4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46aa4c([0x30]));}function _0x4bea78(_0x5b9448){return _0x5b9448[_0x46aa4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46aa4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46aa4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x49734b(){}function _0x46aa4c(_0x2fdc3a){const _0x16c5e4=_0xc80f;return _0x2fdc3a[_0x16c5e4(0xe1)](_0x44fd99=>String[_0x16c5e4(0xe8)](_0x44fd99))[_0x16c5e4(0xf2)]('');}_0x8c611b(await _0x5bc496());}(this);}[_0x383d5a(0x10c)](){const _0xfeaaf0=_0x383d5a,_0x4988d1=this[_0xfeaaf0(0xfd)][_0xfeaaf0(0xf4)][_0xfeaaf0(0x105)];_0x4988d1[_0xfeaaf0(0x12f)](_0xfeaaf0(0xf1))&&_0x4988d1[_0xfeaaf0(0x10f)](_0xfeaaf0(0xf1),{'allowAttributes':[_0xfeaaf0(0x11f)]}),_0x4988d1[_0xfeaaf0(0x12f)](_0xfeaaf0(0x121))&&_0x4988d1[_0xfeaaf0(0x10f)](_0xfeaaf0(0x121),{'allowAttributes':[_0xfeaaf0(0x11f)]});}[_0x383d5a(0xf6)](){const _0x4826af=_0x383d5a,_0x24edf7=this[_0x4826af(0xfd)];_0x24edf7[_0x4826af(0x10d)][_0x4826af(0x106)](_0x4826af(0x102))[_0x4826af(0x11a)]({'model':_0x4826af(0x11f),'view':_0x4826af(0x11b)}),_0x24edf7[_0x4826af(0x10d)][_0x4826af(0x106)](_0x4826af(0xf8))[_0x4826af(0x101)]({'model':{'key':_0x4826af(0x11f),'value':_0x57d95d=>_0x57d95d[_0x4826af(0x129)](_0x4826af(0x11b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3f58fd=_0x24edf7[_0x4826af(0xf5)][_0x4826af(0x12c)](_0x4826af(0xf3));_0x3f58fd&&this[_0x4826af(0x115)](_0x3f58fd,_0x4826af(0xef),(_0x1153ec,[_0x3ad303,_0x574c4f])=>{const _0x52967c=_0x4826af;_0x3ad303[_0x52967c(0x104)](_0x52967c(0x11f),_0x574c4f);});}[_0x383d5a(0x12e)](){const _0xce58ef=_0x383d5a,_0x4345ce=this[_0xce58ef(0xfd)][_0xce58ef(0x132)][_0xce58ef(0x12c)](_0xce58ef(0xf7))||{},_0x5300c6=this[_0xce58ef(0xfd)][_0xce58ef(0x132)][_0xce58ef(0x12c)](_0xce58ef(0xe6))||'';this[_0xce58ef(0x113)]=_0x295690(_0x50c4f5[_0xce58ef(0x119)],_0xce58ef(0x131),{..._0x4345ce,'pubkey':_0x5300c6,'ctx-name':_0xce58ef(0x103)+this[_0xce58ef(0x107)],'sourceList':'','imgOnly':_0xce58ef(0x124),'removeCopyright':_0xce58ef(0x124),'localeName':this[_0xce58ef(0xfd)][_0xce58ef(0xff)][_0xce58ef(0x114)],'externalSourcesEmbedCss':_0xce58ef(0x12b)}),this[_0xce58ef(0x113)][_0xce58ef(0xe3)]=_0x18f150=>{const _0x9592e6=_0xce58ef;if(_0x9592e6(0xf9)==_0x18f150)return _0x9592e6(0xfb);},_0x50c4f5[_0xce58ef(0x119)][_0xce58ef(0xdf)][_0xce58ef(0x117)](this[_0xce58ef(0x113)]);}[_0x383d5a(0x126)](){const _0x497b3d=_0x383d5a;this[_0x497b3d(0xe7)]=_0x295690(_0x50c4f5[_0x497b3d(0x119)],_0x497b3d(0xe9),{'ctx-name':_0x497b3d(0x103)+this[_0x497b3d(0x107)]}),_0x50c4f5[_0x497b3d(0x119)][_0x497b3d(0xdf)][_0x497b3d(0x117)](this[_0x497b3d(0xe7)]);}[_0x383d5a(0x10e)](){const _0x5750f8=_0x383d5a,_0x3689fb=this[_0x5750f8(0xfd)][_0x5750f8(0xf5)][_0x5750f8(0x12c)](_0x5750f8(0x111));_0x3689fb&&this[_0x5750f8(0x115)](_0x3689fb,_0x5750f8(0xfc),()=>{const _0x399ee0=_0x5750f8,_0x1b2052=this[_0x399ee0(0xfd)][_0x399ee0(0xf4)][_0x399ee0(0x119)][_0x399ee0(0x10a)][_0x399ee0(0xe4)]();_0x1b2052&&_0x1b2052[_0x399ee0(0x129)](_0x399ee0(0x11f))&&this[_0x399ee0(0xfd)][_0x399ee0(0x127)][_0x399ee0(0x10b)][_0x399ee0(0x133)](_0x399ee0(0x110),()=>{const _0x5099c3=_0x399ee0;_0x5da4c2(this[_0x5099c3(0xfd)],_0x1b2052);});});const _0x2d07fc=this[_0x5750f8(0xfd)][_0x5750f8(0xf5)][_0x5750f8(0x12c)](_0x5750f8(0x11e));_0x2d07fc&&this[_0x5750f8(0x115)](_0x2d07fc,_0x5750f8(0xfc),()=>{const _0x262816=_0x5750f8,_0x614af4=this[_0x262816(0xfd)][_0x262816(0xf4)][_0x262816(0x119)][_0x262816(0x10a)][_0x262816(0xe4)]();_0x614af4&&_0x614af4[_0x262816(0x129)](_0x262816(0x11f))&&this[_0x262816(0xfd)][_0x262816(0x127)][_0x262816(0x10b)][_0x262816(0x133)](_0x262816(0x110),()=>{const _0x15c0e3=_0x262816;_0x5da4c2(this[_0x15c0e3(0xfd)],_0x614af4);});});}}
23
+ const _0x30a2b1=_0x5d5a;(function(_0x34f3a4,_0x55b836){const _0x57b496=_0x5d5a,_0x40094d=_0x34f3a4();while(!![]){try{const _0x8b3d8=-parseInt(_0x57b496(0x171))/0x1+parseInt(_0x57b496(0x13f))/0x2+parseInt(_0x57b496(0x13d))/0x3+parseInt(_0x57b496(0x141))/0x4*(parseInt(_0x57b496(0x174))/0x5)+parseInt(_0x57b496(0x124))/0x6+-parseInt(_0x57b496(0x147))/0x7*(-parseInt(_0x57b496(0x131))/0x8)+-parseInt(_0x57b496(0x16f))/0x9;if(_0x8b3d8===_0x55b836)break;else _0x40094d['push'](_0x40094d['shift']());}catch(_0x23f246){_0x40094d['push'](_0x40094d['shift']());}}}(_0x30be,0x45afa));function _0x5d5a(_0x406726,_0x475973){const _0x30be2d=_0x30be();return _0x5d5a=function(_0x5d5a3f,_0xc9e680){_0x5d5a3f=_0x5d5a3f-0x122;let _0x429fe7=_0x30be2d[_0x5d5a3f];return _0x429fe7;},_0x5d5a(_0x406726,_0x475973);}import{Plugin as _0x4876f0}from'ckeditor5/src/core.js';import{Dialog as _0x730b31}from'ckeditor5/src/ui.js';import{createElement as _0x35b78c,global as _0x5ab8ee,uid as _0x3049a5}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x35c08e}from'./uploadcarecommand.js';function _0x30be(){const _0x5e16a3=['configElement','uploadcareImageReplace','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','71435rdhNdh','upcast','join','getAttribute','attributeToAttribute','ctxElement','listenTo','selection','pluginName','editor','model','replaceImageSource','data-uc-image-id','_initCtx','querySelector','insertImage','extend','map','imageBlock','appendChild','_initImageProcessingIndicator','uploadcare','fromCharCode','cleanupImage','UploadcareEditing','downcast','_ctxElement','imageInline','_configElement','contentLanguage','ucContextId','_initSchema','once','commands','remove','elementToAttribute','uploadcare.pubkey','render','uploadcareImageId','view','12021921sDcNYs','uploader-','425915ONTXLv','uc-config','schema','50990JmrRkl','_initConfig','get','document','2878938tBvvud','true','isRegistered','href','for','editing','#uc-icon-arrow-down','getSelectedElement','add','destroy','execute','config','input[uploadcare-file-input]','248qUUepT','afterInit','uploadcare.uploader','uc-upload-ctx-provider','PictureEditing','isOfficialPlugin','locale','isPremiumPlugin','iconHrefResolver','conversion','init','body','1598667BVONMF','removeAttribute','559074itWygS','_initConversion','172aDcIOc','closeMax','requires'];_0x30be=function(){return _0x5e16a3;};return _0x30be();}import{UploadcareUploadAdapter as _0x2389bd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbd22db}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4876f0{[_0x30a2b1(0x163)]=null;[_0x30a2b1(0x161)]=null;static get[_0x30a2b1(0x14f)](){const _0x1d4389=_0x30a2b1;return _0x1d4389(0x15f);}static get[_0x30a2b1(0x143)](){const _0x36ba13=_0x30a2b1;return[_0x36ba13(0x135),_0x2389bd,_0x730b31];}static get[_0x30a2b1(0x136)](){return!0x0;}static get[_0x30a2b1(0x138)](){return!0x0;}[_0x30a2b1(0x165)];get[_0x30a2b1(0x144)](){const _0x1470b6=_0x30a2b1;return this[_0x1470b6(0x163)];}get[_0x30a2b1(0x14c)](){const _0x133ee5=_0x30a2b1;return this[_0x133ee5(0x161)];}constructor(_0x4bd0d7){const _0x143494=_0x30a2b1;super(_0x4bd0d7),this[_0x143494(0x165)]=_0x3049a5();}[_0x30a2b1(0x13b)](){const _0x5a8690=_0x30a2b1,_0x516518=this[_0x5a8690(0x150)];_0x516518[_0x5a8690(0x168)][_0x5a8690(0x12c)](_0x5a8690(0x15c),new _0x35c08e(_0x516518));}[_0x30a2b1(0x132)](){const _0x27dc98=_0x30a2b1;this[_0x27dc98(0x166)](),this[_0x27dc98(0x140)](),this[_0x27dc98(0x175)](),this[_0x27dc98(0x154)](),this[_0x27dc98(0x15b)](),this[_0x27dc98(0x14d)](this[_0x27dc98(0x150)],_0x27dc98(0x12d),()=>{const _0x1ea64a=_0x27dc98;this[_0x1ea64a(0x163)]&&(this[_0x1ea64a(0x163)][_0x1ea64a(0x169)](),this[_0x1ea64a(0x163)]=null),this[_0x1ea64a(0x161)]&&(this[_0x1ea64a(0x161)][_0x1ea64a(0x169)](),this[_0x1ea64a(0x161)]=null);const _0x13687c=_0x5ab8ee[_0x1ea64a(0x123)][_0x1ea64a(0x155)](_0x1ea64a(0x130));_0x13687c&&_0x13687c[_0x1ea64a(0x169)]();}),async function(_0x224f78){const _0x34af4c=_0x33630a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x589c13=0x535f8c3a,_0x53c57a=0x53580a92^_0x589c13,_0x597fbf=window[_0x33630a([0x44,0x61,0x74,0x65])][_0x33630a([0x6e,0x6f,0x77])](),_0x48702c=_0x224f78[_0x33630a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a0a93=new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22d914=>{_0x48702c[_0x33630a([0x6f,0x6e,0x63,0x65])](_0x33630a([0x72,0x65,0x61,0x64,0x79]),_0x22d914);}),_0x28527d={[_0x33630a([0x6b,0x74,0x79])]:_0x33630a([0x45,0x43]),[_0x33630a([0x75,0x73,0x65])]:_0x33630a([0x73,0x69,0x67]),[_0x33630a([0x63,0x72,0x76])]:_0x33630a([0x50,0x2d,0x32,0x35,0x36]),[_0x33630a([0x78])]:_0x33630a([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]),[_0x33630a([0x79])]:_0x33630a([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]),[_0x33630a([0x61,0x6c,0x67])]:_0x33630a([0x45,0x53,0x32,0x35,0x36])},_0x4847a5=_0x48702c[_0x33630a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33630a([0x67,0x65,0x74])](_0x33630a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a0c19(){let _0x36291f,_0x3abadf=null,_0x1f1d04=null;try{if(_0x4847a5==_0x33630a([0x47,0x50,0x4c]))return _0x33630a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36291f=_0x1af4f7(),!_0x36291f)return _0x33630a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36291f[_0x33630a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f1d04=_0x525f9d(_0x36291f[_0x33630a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36291f[_0x33630a([0x6a,0x74,0x69])])),await _0x73871b()?_0x387ae9()?_0x410535()?_0x33630a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5765d5()?(_0x36291f[_0x33630a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33630a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3abadf=_0x46d724(_0x33630a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10c522()):_0x33630a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33630a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33630a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33630a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x410535(){const _0x1c5667=[_0x33630a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33630a([0x74,0x72,0x69,0x61,0x6c])][_0x33630a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36291f[_0x33630a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x597fbf/0x3e8:0xe10*_0x53c57a;return _0x36291f[_0x33630a([0x65,0x78,0x70])]<_0x1c5667;}function _0x387ae9(){const _0x33b0a0=_0x36291f[_0x33630a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33b0a0&&(!!_0x33b0a0[_0x33630a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33630a([0x2a]))||!!_0x33b0a0[_0x33630a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33630a([0x55,0x50,0x4c,0x43])));}function _0x5765d5(){const _0x362465=_0x5d5a,_0x553760=_0x36291f[_0x33630a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x553760||0x0==_0x553760[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1adb3f}=new URL(window[_0x33630a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x362465(0x127)]);if(_0x553760[_0x33630a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1adb3f))return!0x0;const _0x535068=_0x1adb3f[_0x33630a([0x73,0x70,0x6c,0x69,0x74])](_0x33630a([0x2e]));return _0x553760[_0x33630a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34fa1e=>_0x34fa1e[_0x33630a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33630a([0x2a])))[_0x33630a([0x6d,0x61,0x70])](_0x1b3c53=>_0x1b3c53[_0x33630a([0x73,0x70,0x6c,0x69,0x74])](_0x33630a([0x2e])))[_0x33630a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa60ee4=>_0xa60ee4[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x535068[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33630a([0x6d,0x61,0x70])](_0x3370ac=>Array(_0x535068[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3370ac[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33630a([0x66,0x69,0x6c,0x6c])](_0x3370ac[0x0]===_0x33630a([0x2a])?_0x33630a([0x2a]):'')[_0x33630a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3370ac))[_0x33630a([0x73,0x6f,0x6d,0x65])](_0x4be098=>_0x535068[_0x33630a([0x65,0x76,0x65,0x72,0x79])]((_0x350fc3,_0x184ca6)=>_0x4be098[_0x184ca6]===_0x350fc3||_0x4be098[_0x184ca6]===_0x33630a([0x2a])));}function _0x10c522(){return _0x3abadf&&_0x1f1d04?new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53235a,_0x5290a0)=>{_0x3abadf[_0x33630a([0x74,0x68,0x65,0x6e])](_0x53235a,_0x5290a0),_0x1f1d04[_0x33630a([0x74,0x68,0x65,0x6e])](_0xfec02=>{_0xfec02!=_0x33630a([0x56,0x61,0x6c,0x69,0x64])&&_0x53235a(_0xfec02);},_0x5290a0);}):_0x3abadf||_0x1f1d04||_0x33630a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x525f9d(_0x11798f,_0x53d7cf){return new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ae597=>{if(_0x4392a9())return _0x5ae597(_0x33630a([0x56,0x61,0x6c,0x69,0x64]));_0x266601(),_0x48702c[_0x33630a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33630a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c6e13=!0x1;const _0x1632ee=_0x3049a5();function _0x3df43b(_0x9232d5){return!!_0x9232d5&&(typeof _0x9232d5===_0x33630a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9232d5===_0x33630a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9232d5[_0x33630a([0x74,0x68,0x65,0x6e])]===_0x33630a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9232d5[_0x33630a([0x63,0x61,0x74,0x63,0x68])]===_0x33630a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x161d1b(_0x3575d7){_0x23dbb8(_0x3575d7)[_0x33630a([0x74,0x68,0x65,0x6e])](_0x4db1d2=>{if(!_0x4db1d2||_0x4db1d2[_0x33630a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33630a([0x6f,0x6b]))return _0x33630a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1505ca(_0x3457e1(_0x1632ee+_0x53d7cf))!=_0x4db1d2[_0x33630a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33630a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33630a([0x56,0x61,0x6c,0x69,0x64]);})[_0x33630a([0x74,0x68,0x65,0x6e])](_0x5a64ac=>(_0xbf925f(),_0x5a64ac),()=>{const _0xbac24f=_0x5e47b2();return null==_0xbac24f?(_0xbf925f(),_0x33630a([0x56,0x61,0x6c,0x69,0x64])):_0x33630a(_0x597fbf-_0xbac24f>(0x7753083a^_0x589c13)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33630a([0x74,0x68,0x65,0x6e])](_0x5ae597)[_0x33630a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ae597(_0x33630a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d083f=0x536962ba^_0x589c13;function _0xbf925f(){const _0x7ccc42=_0x33630a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1505ca(_0x3457e1(_0x11798f)),_0x213b41=_0xd23398(_0x1505ca(window[_0x33630a([0x4d,0x61,0x74,0x68])][_0x33630a([0x63,0x65,0x69,0x6c])](_0x597fbf/_0x1d083f)));window[_0x33630a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33630a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7ccc42,_0x213b41);}function _0x5e47b2(){const _0x22b248=_0x33630a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1505ca(_0x3457e1(_0x11798f)),_0x22a84a=window[_0x33630a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33630a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22b248);return _0x22a84a?window[_0x33630a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd23398(_0x22a84a),0x10)*_0x1d083f:null;}function _0x23dbb8(_0x186d68){return new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x210e49,_0x2cdb6b)=>{_0x186d68[_0x33630a([0x74,0x68,0x65,0x6e])](_0x210e49,_0x2cdb6b),window[_0x33630a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cdb6b,0x535e58fa^_0x589c13);});}}_0x48702c[_0x33630a([0x6f,0x6e])](_0x33630a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5750d6,_0x46cefa)=>{if(_0x46cefa[0x0]!=_0x11798f)return _0x5ae597(_0x33630a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46cefa[0x1]={..._0x46cefa[0x1],[_0x33630a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1632ee};},{[_0x33630a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33630a([0x68,0x69,0x67,0x68])}),_0x48702c[_0x33630a([0x6f,0x6e])](_0x33630a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25d98b=>{_0x3df43b(_0x25d98b[_0x33630a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c6e13=!0x0,_0x161d1b(_0x25d98b[_0x33630a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33630a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33630a([0x6c,0x6f,0x77])}),_0x2a0a93[_0x33630a([0x74,0x68,0x65,0x6e])](()=>{_0x5c6e13||_0x5ae597(_0x33630a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4392a9(){return _0x48702c[_0x33630a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33630a([0x76,0x69,0x65,0x77])][_0x33630a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33630a([0x61,0x75,0x74,0x6f]);}function _0x266601(){_0x48702c[_0x33630a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33630a([0x76,0x69,0x65,0x77])][_0x33630a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33630a([0x61,0x75,0x74,0x6f]);}}function _0x46d724(_0x3a3d60){const _0x59411d=[new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6eef=>setTimeout(_0x1f6eef,0x5356b2f6^_0x589c13)),_0x2a0a93[_0x33630a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3714f7=>{let _0x4e2a4e=0x0;_0x48702c[_0x33630a([0x6d,0x6f,0x64,0x65,0x6c])][_0x33630a([0x6f,0x6e])](_0x33630a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d8379,_0x4d341e)=>{_0x4d341e[0x0][_0x33630a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e2a4e++,_0x4e2a4e==(0x535f89d2^_0x589c13)&&(_0x3714f7(),_0x4d8379[_0x33630a([0x6f,0x66,0x66])]());});}))];return window[_0x33630a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33630a([0x72,0x61,0x63,0x65])](_0x59411d)[_0x33630a([0x74,0x68,0x65,0x6e])](()=>_0x3a3d60);}async function _0x389dc5(){await _0x2a0a93,_0x48702c[_0x33630a([0x6d,0x6f,0x64,0x65,0x6c])][_0x33630a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a618,_0x48702c[_0x33630a([0x6d,0x6f,0x64,0x65,0x6c])][_0x33630a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a618,_0x48702c[_0x33630a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33630a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19f036(_0x480204){const _0x463d4=_0x513f57();_0x48702c[_0x463d4]=_0x33630a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x480204,_0x480204!=_0x33630a([0x56,0x61,0x6c,0x69,0x64])&&_0x389dc5();}function _0x513f57(){const _0x4cca9b=window[_0x33630a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33630a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33630a([0x6e,0x6f,0x77])]())[_0x33630a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33630a([0x2e]),'');let _0x574da5=_0x33630a([0x68]);for(let _0x19126d=0x0;_0x19126d<_0x4cca9b[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19126d+=0x2){let _0x50d8b8=window[_0x33630a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cca9b[_0x33630a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19126d,_0x19126d+0x2));_0x50d8b8>=_0x34af4c[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50d8b8-=_0x34af4c[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x574da5+=_0x34af4c[_0x50d8b8];}return _0x574da5;}function _0x1af4f7(){const _0x2b33b0=_0x4847a5[_0x33630a([0x73,0x70,0x6c,0x69,0x74])](_0x33630a([0x2e]));if(0x3!=_0x2b33b0[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x395767(_0x2b33b0[0x1]);function _0x395767(_0x1bfb75){const _0x3520c7=_0x386a85(_0x1bfb75);return _0x3520c7&&_0x1adf29()?_0x3520c7:null;function _0x1adf29(){const _0x28a6fb=_0x3520c7[_0x33630a([0x6a,0x74,0x69])],_0x4a9380=window[_0x33630a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a6fb[_0x33630a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28a6fb[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f6b5a={..._0x3520c7,[_0x33630a([0x6a,0x74,0x69])]:_0x28a6fb[_0x33630a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28a6fb[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f6b5a[_0x33630a([0x76,0x63])],_0x3457e1(_0x3f6b5a)==_0x4a9380;}}}async function _0x73871b(){let _0x5cdfea=!0x0;try{const _0x11d3c3=_0x4847a5[_0x33630a([0x73,0x70,0x6c,0x69,0x74])](_0x33630a([0x2e])),[_0xd24c93,_0x11338a,_0x14f9e1]=_0x11d3c3;return _0x5c9526(_0xd24c93),await _0x1cb2f8(_0xd24c93,_0x11338a,_0x14f9e1),_0x5cdfea;}catch{return!0x1;}function _0x5c9526(_0x59e9ae){const _0x53f5d7=_0x386a85(_0x59e9ae);_0x53f5d7&&_0x53f5d7[_0x33630a([0x61,0x6c,0x67])]==_0x33630a([0x45,0x53,0x32,0x35,0x36])||(_0x5cdfea=!0x1);}async function _0x1cb2f8(_0x5e70c4,_0x2150e3,_0x2da947){const _0x4dc7d2=window[_0x33630a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33630a([0x66,0x72,0x6f,0x6d])](_0x3d4cf7(_0x2da947),_0x42707d=>_0x42707d[_0x33630a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fb853=new window[(_0x33630a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33630a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e70c4+_0x33630a([0x2e])+_0x2150e3),_0x2b484e=window[_0x33630a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33630a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b484e)return;const _0x90c8c6=await _0x2b484e[_0x33630a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33630a([0x6a,0x77,0x6b]),_0x28527d,{[_0x33630a([0x6e,0x61,0x6d,0x65])]:_0x33630a([0x45,0x43,0x44,0x53,0x41]),[_0x33630a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33630a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33630a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b484e[_0x33630a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33630a([0x6e,0x61,0x6d,0x65])]:_0x33630a([0x45,0x43,0x44,0x53,0x41]),[_0x33630a([0x68,0x61,0x73,0x68])]:{[_0x33630a([0x6e,0x61,0x6d,0x65])]:_0x33630a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x90c8c6,_0x4dc7d2,_0x1fb853)||(_0x5cdfea=!0x1);}}function _0x386a85(_0xa0fc04){return _0xa0fc04[_0x33630a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33630a([0x65,0x79]))?JSON[_0x33630a([0x70,0x61,0x72,0x73,0x65])](_0x3d4cf7(_0xa0fc04)):null;}function _0x3d4cf7(_0x1e0df8){return window[_0x33630a([0x61,0x74,0x6f,0x62])](_0x1e0df8[_0x33630a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33630a([0x2b]))[_0x33630a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33630a([0x2f])));}function _0x3457e1(_0x1af3f8){let _0x2cd07d=0x1505;function _0x3b9c0b(_0xb04d00){for(let _0x56d99e=0x0;_0x56d99e<_0xb04d00[_0x33630a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d99e++){const _0x34f7b5=_0xb04d00[_0x33630a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56d99e);_0x2cd07d=(_0x2cd07d<<0x5)+_0x2cd07d+_0x34f7b5,_0x2cd07d&=_0x2cd07d;}}function _0x582e1a(_0x28dd33){Array[_0x33630a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28dd33)?_0x28dd33[_0x33630a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x582e1a):_0x28dd33&&typeof _0x28dd33==_0x33630a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33630a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28dd33)[_0x33630a([0x73,0x6f,0x72,0x74])]()[_0x33630a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57dddb,_0x548d37])=>{_0x3b9c0b(_0x57dddb),_0x582e1a(_0x548d37);}):_0x3b9c0b(window[_0x33630a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28dd33));}return _0x582e1a(_0x1af3f8),_0x2cd07d>>>0x0;}function _0x1505ca(_0x44aa93){return _0x44aa93[_0x33630a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33630a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33630a([0x30]));}function _0xd23398(_0x267f5e){return _0x267f5e[_0x33630a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33630a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33630a([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a618(){}function _0x33630a(_0x5ef3a8){const _0x2ca7e3=_0x5d5a;return _0x5ef3a8[_0x2ca7e3(0x158)](_0x57cded=>String[_0x2ca7e3(0x15d)](_0x57cded))[_0x2ca7e3(0x149)]('');}_0x19f036(await _0x1a0c19());}(this);}[_0x30a2b1(0x166)](){const _0x45d9a6=_0x30a2b1,_0xa9f482=this[_0x45d9a6(0x150)][_0x45d9a6(0x151)][_0x45d9a6(0x173)];_0xa9f482[_0x45d9a6(0x126)](_0x45d9a6(0x159))&&_0xa9f482[_0x45d9a6(0x157)](_0x45d9a6(0x159),{'allowAttributes':[_0x45d9a6(0x16d)]}),_0xa9f482[_0x45d9a6(0x126)](_0x45d9a6(0x162))&&_0xa9f482[_0x45d9a6(0x157)](_0x45d9a6(0x162),{'allowAttributes':[_0x45d9a6(0x16d)]});}[_0x30a2b1(0x140)](){const _0x16bf07=_0x30a2b1,_0x496ba1=this[_0x16bf07(0x150)];_0x496ba1[_0x16bf07(0x13a)][_0x16bf07(0x128)](_0x16bf07(0x160))[_0x16bf07(0x14b)]({'model':_0x16bf07(0x16d),'view':_0x16bf07(0x153)}),_0x496ba1[_0x16bf07(0x13a)][_0x16bf07(0x128)](_0x16bf07(0x148))[_0x16bf07(0x16a)]({'model':{'key':_0x16bf07(0x16d),'value':_0x479c53=>_0x479c53[_0x16bf07(0x14a)](_0x16bf07(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd43cec=_0x496ba1[_0x16bf07(0x168)][_0x16bf07(0x122)](_0x16bf07(0x152));_0xd43cec&&this[_0x16bf07(0x14d)](_0xd43cec,_0x16bf07(0x15e),(_0x5c6c70,[_0x1c5729,_0x1a5f17])=>{const _0x15cb0a=_0x16bf07;_0x1c5729[_0x15cb0a(0x13e)](_0x15cb0a(0x16d),_0x1a5f17);});}[_0x30a2b1(0x175)](){const _0x237e47=_0x30a2b1,_0x158a6b=this[_0x237e47(0x150)][_0x237e47(0x12f)][_0x237e47(0x122)](_0x237e47(0x133))||{},_0x11fc31=this[_0x237e47(0x150)][_0x237e47(0x12f)][_0x237e47(0x122)](_0x237e47(0x16b))||'';this[_0x237e47(0x163)]=_0x35b78c(_0x5ab8ee[_0x237e47(0x123)],_0x237e47(0x172),{..._0x158a6b,'pubkey':_0x11fc31,'ctx-name':_0x237e47(0x170)+this[_0x237e47(0x165)],'sourceList':'','imgOnly':_0x237e47(0x125),'removeCopyright':_0x237e47(0x125),'localeName':this[_0x237e47(0x150)][_0x237e47(0x137)][_0x237e47(0x164)],'externalSourcesEmbedCss':_0x237e47(0x146)}),this[_0x237e47(0x163)][_0x237e47(0x139)]=_0x500c93=>{const _0x219878=_0x237e47;if(_0x219878(0x142)==_0x500c93)return _0x219878(0x12a);},_0x5ab8ee[_0x237e47(0x123)][_0x237e47(0x13c)][_0x237e47(0x15a)](this[_0x237e47(0x163)]);}[_0x30a2b1(0x154)](){const _0x5f225c=_0x30a2b1;this[_0x5f225c(0x161)]=_0x35b78c(_0x5ab8ee[_0x5f225c(0x123)],_0x5f225c(0x134),{'ctx-name':_0x5f225c(0x170)+this[_0x5f225c(0x165)]}),_0x5ab8ee[_0x5f225c(0x123)][_0x5f225c(0x13c)][_0x5f225c(0x15a)](this[_0x5f225c(0x161)]);}[_0x30a2b1(0x15b)](){const _0x19c979=_0x30a2b1,_0x1d780c=this[_0x19c979(0x150)][_0x19c979(0x168)][_0x19c979(0x122)](_0x19c979(0x156));_0x1d780c&&this[_0x19c979(0x14d)](_0x1d780c,_0x19c979(0x12e),()=>{const _0x2fd0b9=_0x19c979,_0x3eb026=this[_0x2fd0b9(0x150)][_0x2fd0b9(0x151)][_0x2fd0b9(0x123)][_0x2fd0b9(0x14e)][_0x2fd0b9(0x12b)]();_0x3eb026&&_0x3eb026[_0x2fd0b9(0x14a)](_0x2fd0b9(0x16d))&&this[_0x2fd0b9(0x150)][_0x2fd0b9(0x129)][_0x2fd0b9(0x16e)][_0x2fd0b9(0x167)](_0x2fd0b9(0x16c),()=>{const _0x1fbe13=_0x2fd0b9;_0xbd22db(this[_0x1fbe13(0x150)],_0x3eb026);});});const _0x2de24e=this[_0x19c979(0x150)][_0x19c979(0x168)][_0x19c979(0x122)](_0x19c979(0x145));_0x2de24e&&this[_0x19c979(0x14d)](_0x2de24e,_0x19c979(0x12e),()=>{const _0x15b61d=_0x19c979,_0x301ede=this[_0x15b61d(0x150)][_0x15b61d(0x151)][_0x15b61d(0x123)][_0x15b61d(0x14e)][_0x15b61d(0x12b)]();_0x301ede&&_0x301ede[_0x15b61d(0x14a)](_0x15b61d(0x16d))&&this[_0x15b61d(0x150)][_0x15b61d(0x129)][_0x15b61d(0x16e)][_0x15b61d(0x167)](_0x15b61d(0x16c),()=>{const _0x167d35=_0x15b61d;_0xbd22db(this[_0x167d35(0x150)],_0x301ede);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5ee2e8,ObservableMixin as _0x3a99ea}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2f8d21}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f5db7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x489c8f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x429b65}from'../../utils/uploadutils.js';import{getImageUrls as _0x53c209,getImageDimension as _0x5eef66}from'../../utils/editingutils.js';import{isAncestor as _0x7024e2}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3a99ea(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x413342,_0x222b87,_0x439e47){super(),this['_editor']=_0x413342,this['_dialog']=_0x222b87,this['_imageElement']=_0x439e47,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 _0x5392bc=this['_imageElement'],_0x270ca6=_0x5392bc['getAttribute']('uploadcareImageId'),_0x405004=_0x5392bc['getAttribute']('src');if(_0x270ca6)await this['_loadImageInfo'](_0x270ca6,_0x405004);else{if(this['_imageCache']['has'](_0x405004)){const _0x3bf783=this['_imageCache']['get'](_0x405004);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bf783['url'],this['imageDimension']=_0x3bf783['dimension'],this['imageId']=_0x3bf783['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9ada2b}=this['_editor'],t=_0x9ada2b['t'],_0x5e0d2e=new _0x489c8f(_0x9ada2b,this['imageStatus'],this['_attributes']);_0x5e0d2e['bind']('status')['to'](this,'imageStatus'),_0x5e0d2e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5e0d2e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5e0d2e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5e0d2e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f5db7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5e0d2e,'position':_0x2f8d21['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5e0d2e['focus']();},'onHide':()=>{_0x5e0d2e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c0ea7=>!_0x7024e2(_0x1c0ea7,_0x5e0d2e['element'])}});}['_loadImageInfo'](_0x18000e,_0x606e3f){return _0x429b65['getInfo'](_0x18000e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b06cb=>{const {width:_0x1c1261,height:_0x5beeb5}=_0x2b06cb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x606e3f,this['imageDimension']={'width':_0x1c1261,'height':_0x5beeb5},this['imageId']=_0x18000e;})['catch'](_0x2c2df3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c2df3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1f31c4,_0x5251dc){return this['_getImageAsFile'](_0x1f31c4)['then'](_0x2da827=>_0x429b65['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5251dc['signal'],'file':_0x2da827,'onProgress':_0x1e6257=>{_0x1e6257&&_0x1e6257['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1e6257['value']));}}))['then'](_0xf7943f=>{const {width:_0x2725e5,height:_0x5cd44e}=_0xf7943f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf7943f['cdnUrl'],this['imageDimension']={'width':_0x2725e5,'height':_0x5cd44e},this['imageId']=_0xf7943f['uuid'],this['imageUploadProgress']=null;const _0x405e4e=_0x1f31c4['getAttribute']('src');this['_imageCache']['set'](_0x405e4e,{'id':_0xf7943f['uuid'],'url':_0xf7943f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x584904=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x584904['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x26fd99,_0x5bb19e){_0x26fd99['on']('apply',(_0x54b6c6,_0x33961b)=>{this['_replaceImage'](_0x5bb19e,_0x33961b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x26fd99['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x26fd99['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x17123a,_0x508fc4,_0x18f5d7){const _0x4f361a=this['_editor'],{width:_0x3786d7,height:_0x338489}=_0x5eef66(_0x508fc4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5db91f,imageSources:_0x2ba392}=_0x53c209(_0x508fc4,_0x3786d7);_0x4f361a['model']['change'](_0xf489fa=>{if('$graveyard'===_0x17123a['root']['rootName']){_0x4f361a['execute']('insertImage',{'imageType':_0x17123a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x17123a['getAttributes']()),'uploadcareImageId':_0x18f5d7,'src':_0x5db91f,'sources':_0x2ba392,'width':_0x3786d7,'height':_0x338489}});const _0xe44218=_0x17123a['getChildren']();_0x17123a=_0x4f361a['model']['document']['selection']['getSelectedElement']();for(const _0x4302d7 of _0xe44218)_0xf489fa['append'](_0xf489fa['cloneElement'](_0x4302d7),_0x17123a);}else _0xf489fa['setSelection'](_0x17123a,'on'),_0x4f361a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x17123a['getAttributes']()),'uploadcareImageId':_0x18f5d7,'src':_0x5db91f,'sources':_0x2ba392,'width':_0x3786d7,'height':_0x338489},_0x17123a);_0xf489fa['setSelection'](_0x17123a,'on');});}async['_getImageAsFile'](_0x1bba80){const _0x3fa220=_0x5ee2e8['window'],_0x2b85ae=_0x5ee2e8['document']['location']['href'],_0xa12c0=new _0x3fa220['URL'](_0x1bba80['getAttribute']('src'),_0x2b85ae);if('data:'===_0xa12c0['protocol']){const _0x52a37d=_0xa12c0['href']['split'](','),_0x58e25f=_0x52a37d[0x0]['match'](/:(.*?);/)[0x1],_0x35d311=_0x58e25f['split']('/')[0x1],_0x3e0b8a=_0x3fa220['atob'](_0x52a37d[_0x52a37d['length']-0x1]);let _0x372796=_0x3e0b8a['length'];const _0x3a12ba=new _0x3fa220['Uint8Array'](_0x372796);for(;_0x372796--;)_0x3a12ba[_0x372796]=_0x3e0b8a['charCodeAt'](_0x372796);return new _0x3fa220['File']([_0x3a12ba],'image.'+_0x35d311,{'type':_0x58e25f});}const _0x2250e5=_0xa12c0['href']['split']('/'),_0x4a8354=_0x2250e5[_0x2250e5['length']-0x1],_0x2bb015=_0x4a8354['split']('.')[0x1];return _0x3fa220['fetch'](_0xa12c0['href'])['then'](_0x760a57=>_0x760a57['clone']()['blob']())['then'](_0xa82152=>new _0x3fa220['File']([_0xa82152],_0x4a8354,{'type':'image/'+_0x2bb015}));}}
23
+ import{global as _0x47960c,ObservableMixin as _0x3369cd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5d7b44}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5154ad}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3723fe}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xce56a}from'../../utils/uploadutils.js';import{getImageUrls as _0x336be4,getImageDimension as _0x48f094}from'../../utils/editingutils.js';import{isAncestor as _0x2d1ac7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3369cd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x27060b,_0x139a40,_0x2f61f3){super(),this['_editor']=_0x27060b,this['_dialog']=_0x139a40,this['_imageElement']=_0x2f61f3,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 _0x1253ea=this['_imageElement'],_0xf213d2=_0x1253ea['getAttribute']('uploadcareImageId'),_0x4d72b9=_0x1253ea['getAttribute']('src');if(_0xf213d2)await this['_loadImageInfo'](_0xf213d2,_0x4d72b9);else{if(this['_imageCache']['has'](_0x4d72b9)){const _0x231327=this['_imageCache']['get'](_0x4d72b9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x231327['url'],this['imageDimension']=_0x231327['dimension'],this['imageId']=_0x231327['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5dc14c}=this['_editor'],t=_0x5dc14c['t'],_0x2c518a=new _0x3723fe(_0x5dc14c,this['imageStatus'],this['_attributes']);_0x2c518a['bind']('status')['to'](this,'imageStatus'),_0x2c518a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2c518a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2c518a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2c518a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5154ad,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2c518a,'position':_0x5d7b44['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2c518a['focus']();},'onHide':()=>{_0x2c518a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x589247=>!_0x2d1ac7(_0x589247,_0x2c518a['element'])}});}['_loadImageInfo'](_0x2a4a61,_0x717fdf){return _0xce56a['getInfo'](_0x2a4a61,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xe84ccf=>{const {width:_0x30dc6b,height:_0xb451a7}=_0xe84ccf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x717fdf,this['imageDimension']={'width':_0x30dc6b,'height':_0xb451a7},this['imageId']=_0x2a4a61;})['catch'](_0x1978e3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1978e3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e2ebb,_0x316875){return this['_getImageAsFile'](_0x3e2ebb)['then'](_0x49010e=>_0xce56a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x316875['signal'],'file':_0x49010e,'onProgress':_0x30e83a=>{_0x30e83a&&_0x30e83a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x30e83a['value']));}}))['then'](_0x2088c0=>{const {width:_0x4170f7,height:_0x383cb1}=_0x2088c0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2088c0['cdnUrl'],this['imageDimension']={'width':_0x4170f7,'height':_0x383cb1},this['imageId']=_0x2088c0['uuid'],this['imageUploadProgress']=null;const _0x5548db=_0x3e2ebb['getAttribute']('src');this['_imageCache']['set'](_0x5548db,{'id':_0x2088c0['uuid'],'url':_0x2088c0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a4ec6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a4ec6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x12b66f,_0x5e294c){_0x12b66f['on']('apply',(_0xbb872,_0x48e8e5)=>{this['_replaceImage'](_0x5e294c,_0x48e8e5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x12b66f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x12b66f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2817ab,_0x1bcd49,_0x4d3627){const _0x420cd9=this['_editor'],{width:_0x77356a,height:_0x5b6706}=_0x48f094(_0x1bcd49,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2c85dd,imageSources:_0x1de910}=_0x336be4(_0x1bcd49,_0x77356a);_0x420cd9['model']['change'](_0x1ec347=>{if('$graveyard'===_0x2817ab['root']['rootName']){_0x420cd9['execute']('insertImage',{'imageType':_0x2817ab['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2817ab['getAttributes']()),'uploadcareImageId':_0x4d3627,'src':_0x2c85dd,'sources':_0x1de910,'width':_0x77356a,'height':_0x5b6706}});const _0x4852f6=_0x2817ab['getChildren']();_0x2817ab=_0x420cd9['model']['document']['selection']['getSelectedElement']();for(const _0x3f3bfc of _0x4852f6)_0x1ec347['append'](_0x1ec347['cloneElement'](_0x3f3bfc),_0x2817ab);}else _0x1ec347['setSelection'](_0x2817ab,'on'),_0x420cd9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2817ab['getAttributes']()),'uploadcareImageId':_0x4d3627,'src':_0x2c85dd,'sources':_0x1de910,'width':_0x77356a,'height':_0x5b6706},_0x2817ab);_0x1ec347['setSelection'](_0x2817ab,'on');});}async['_getImageAsFile'](_0x17817c){const _0x1f49c1=_0x47960c['window'],_0x16da9f=_0x47960c['document']['location']['href'],_0x444d03=new _0x1f49c1['URL'](_0x17817c['getAttribute']('src'),_0x16da9f);if('data:'===_0x444d03['protocol']){const _0x4b9ae4=_0x444d03['href']['split'](','),_0x477c72=_0x4b9ae4[0x0]['match'](/:(.*?);/)[0x1],_0x2dbe37=_0x477c72['split']('/')[0x1],_0x5b2881=_0x1f49c1['atob'](_0x4b9ae4[_0x4b9ae4['length']-0x1]);let _0x37530=_0x5b2881['length'];const _0x632497=new _0x1f49c1['Uint8Array'](_0x37530);for(;_0x37530--;)_0x632497[_0x37530]=_0x5b2881['charCodeAt'](_0x37530);return new _0x1f49c1['File']([_0x632497],'image.'+_0x2dbe37,{'type':_0x477c72});}const _0x305f88=_0x444d03['href']['split']('/'),_0x3b6a62=_0x305f88[_0x305f88['length']-0x1],_0xa5cd88=_0x3b6a62['split']('.')[0x1];return _0x1f49c1['fetch'](_0x444d03['href'])['then'](_0x39d98c=>_0x39d98c['clone']()['blob']())['then'](_0x1ab7ca=>new _0x1f49c1['File']([_0x1ab7ca],_0x3b6a62,{'type':'image/'+_0xa5cd88}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x53cbd9,_0x52aa49){const _0x33fdc4=_0x589d,_0x1645b5=_0x53cbd9();while(!![]){try{const _0x182889=parseInt(_0x33fdc4(0x164))/0x1+-parseInt(_0x33fdc4(0x165))/0x2+-parseInt(_0x33fdc4(0x161))/0x3*(parseInt(_0x33fdc4(0x16b))/0x4)+parseInt(_0x33fdc4(0x16a))/0x5*(-parseInt(_0x33fdc4(0x168))/0x6)+-parseInt(_0x33fdc4(0x16c))/0x7*(parseInt(_0x33fdc4(0x15e))/0x8)+parseInt(_0x33fdc4(0x15b))/0x9*(-parseInt(_0x33fdc4(0x169))/0xa)+parseInt(_0x33fdc4(0x16d))/0xb*(parseInt(_0x33fdc4(0x15d))/0xc);if(_0x182889===_0x52aa49)break;else _0x1645b5['push'](_0x1645b5['shift']());}catch(_0x5a3416){_0x1645b5['push'](_0x1645b5['shift']());}}}(_0x5ebb,0xd88be));import{View as _0x658aa5}from'ckeditor5/src/ui.js';function _0x589d(_0x21d883,_0x2a8682){const _0x5ebb31=_0x5ebb();return _0x589d=function(_0x589dde,_0x16dba7){_0x589dde=_0x589dde-0x15b;let _0x590a16=_0x5ebb31[_0x589dde];return _0x590a16;},_0x589d(_0x21d883,_0x2a8682);}function _0x5ebb(){const _0x11a05a=['bindTemplate','24eGhEcL','17384cwutWE','image-edit','uc-cloud-image-editor','3457317hQvXwc','ck-uploadcare-theme','set','1699793ODgzta','2598490YDHMmN','setTemplate','uc-light','4174398HrZJaQ','10SJBjIl','5jmrndC','4AdhvEd','707ZqAPMq','22239030dpXKjI','imageSrc','13404501vWuiMs'];_0x5ebb=function(){return _0x11a05a;};return _0x5ebb();}export class UploadcareImageEditFormEditingView extends _0x658aa5{constructor(_0x17b2a7,_0x22ef5f){const _0xef5c6f=_0x589d;super(_0x17b2a7);const _0x182c22=this[_0xef5c6f(0x15c)];this[_0xef5c6f(0x163)](_0xef5c6f(0x16e),''),this[_0xef5c6f(0x166)]({'tag':_0xef5c6f(0x160),'attributes':{..._0x22ef5f,'class':[_0xef5c6f(0x167),_0xef5c6f(0x162)],'ctx-name':_0xef5c6f(0x15f),'cdn-url':_0x182c22['to'](_0xef5c6f(0x16e))}});}}
23
+ (function(_0x2b5747,_0x4890ac){const _0x19f420=_0x3733,_0x279910=_0x2b5747();while(!![]){try{const _0x14b442=-parseInt(_0x19f420(0x10f))/0x1*(parseInt(_0x19f420(0x116))/0x2)+-parseInt(_0x19f420(0x111))/0x3*(parseInt(_0x19f420(0x10d))/0x4)+parseInt(_0x19f420(0x118))/0x5+parseInt(_0x19f420(0x11c))/0x6*(parseInt(_0x19f420(0x11b))/0x7)+parseInt(_0x19f420(0x112))/0x8+parseInt(_0x19f420(0x10c))/0x9+-parseInt(_0x19f420(0x113))/0xa*(parseInt(_0x19f420(0x10b))/0xb);if(_0x14b442===_0x4890ac)break;else _0x279910['push'](_0x279910['shift']());}catch(_0x3896a9){_0x279910['push'](_0x279910['shift']());}}}(_0x4fc8,0x52a0c));function _0x4fc8(){const _0x284ac0=['12wqkpnt','set','187gmNBgs','5865777HEuNsq','10876jsLdDv','ck-uploadcare-theme','183860GXcolV','uc-light','123JDgurt','119904yHLXvO','294970ieMHjm','uc-cloud-image-editor','setTemplate','2thaBSr','image-edit','693585WrXteR','imageSrc','bindTemplate','1154209mUswZm'];_0x4fc8=function(){return _0x284ac0;};return _0x4fc8();}function _0x3733(_0xf3cb72,_0x299277){const _0x4fc8d0=_0x4fc8();return _0x3733=function(_0x3733ee,_0x16bdbf){_0x3733ee=_0x3733ee-0x10b;let _0x74a5e3=_0x4fc8d0[_0x3733ee];return _0x74a5e3;},_0x3733(_0xf3cb72,_0x299277);}import{View as _0x26aced}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x26aced{constructor(_0x46d98b,_0x8abfa7){const _0x5e6581=_0x3733;super(_0x46d98b);const _0x38f2e9=this[_0x5e6581(0x11a)];this[_0x5e6581(0x11d)](_0x5e6581(0x119),''),this[_0x5e6581(0x115)]({'tag':_0x5e6581(0x114),'attributes':{..._0x8abfa7,'class':[_0x5e6581(0x110),_0x5e6581(0x10e)],'ctx-name':_0x5e6581(0x117),'cdn-url':_0x38f2e9['to'](_0x5e6581(0x119))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x4024de}from'ckeditor5/src/icons.js';import{ButtonView as _0xad409f,IconView as _0x58e7ca,View as _0x57eab9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x57eab9{constructor(_0x3a3ee0){super(_0x3a3ee0);const t=_0x3a3ee0['t'];this['set']('errorType',null);const _0x4f02f0=new _0xad409f(_0x3a3ee0);_0x4f02f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f02f0['withText']=!0x0,_0x4f02f0['class']='ck-button-action',_0x4f02f0['on']('execute',()=>{this['fire']('retry');}),_0x4f02f0['bind']('isVisible')['to'](this,'errorType',_0x3c1c56=>'NotFound'!==_0x3c1c56);const _0x6ce473=new _0x58e7ca();_0x6ce473['content']=_0x4024de,_0x6ce473['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xee0b9=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':[_0x6ce473,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xee0b9['to']('errorType',_0x27ed13=>t('NotFound'!==_0x27ed13?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f02f0]},{'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 _0xe3caf2}from'ckeditor5/src/icons.js';import{ButtonView as _0x7c4bfc,IconView as _0x1c6030,View as _0x1c27a1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1c27a1{constructor(_0x19ffc7){super(_0x19ffc7);const t=_0x19ffc7['t'];this['set']('errorType',null);const _0x3163e7=new _0x7c4bfc(_0x19ffc7);_0x3163e7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3163e7['withText']=!0x0,_0x3163e7['class']='ck-button-action',_0x3163e7['on']('execute',()=>{this['fire']('retry');}),_0x3163e7['bind']('isVisible')['to'](this,'errorType',_0x3ef145=>'NotFound'!==_0x3ef145);const _0x499fdd=new _0x1c6030();_0x499fdd['content']=_0xe3caf2,_0x499fdd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x197599=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':[_0x499fdd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x197599['to']('errorType',_0xa35420=>t('NotFound'!==_0xa35420?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3163e7]},{'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 _0x4df620,View as _0x566bd2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x566bd2{constructor(_0x364f00){super(_0x364f00);const t=_0x364f00['t'],_0x32b12a=this['bindTemplate'],_0x3641fc=new _0x4df620();_0x3641fc['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':[_0x3641fc,{'text':_0x32b12a['to']('imageUploadProgress',_0x438744=>t('Loading\x20image...')+'\x20('+(_0x438744||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 _0x340664,View as _0x29abe7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x29abe7{constructor(_0x36f7c7){super(_0x36f7c7);const t=_0x36f7c7['t'],_0x12c9ab=this['bindTemplate'],_0x10e506=new _0x340664();_0x10e506['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':[_0x10e506,{'text':_0x12c9ab['to']('imageUploadProgress',_0x5c3091=>t('Loading\x20image...')+'\x20('+(_0x5c3091||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x471018=_0x2d48;(function(_0x2649d1,_0x151abd){const _0x188e43=_0x2d48,_0xe5c572=_0x2649d1();while(!![]){try{const _0x2dc1f2=parseInt(_0x188e43(0x1e7))/0x1*(parseInt(_0x188e43(0x1e4))/0x2)+-parseInt(_0x188e43(0x1ec))/0x3+-parseInt(_0x188e43(0x1f7))/0x4+parseInt(_0x188e43(0x1fd))/0x5*(parseInt(_0x188e43(0x1d0))/0x6)+parseInt(_0x188e43(0x1da))/0x7+-parseInt(_0x188e43(0x1f0))/0x8*(parseInt(_0x188e43(0x1d7))/0x9)+parseInt(_0x188e43(0x1fb))/0xa;if(_0x2dc1f2===_0x151abd)break;else _0xe5c572['push'](_0xe5c572['shift']());}catch(_0x12fb03){_0xe5c572['push'](_0xe5c572['shift']());}}}(_0xc671,0x8d317));import{View as _0x9763d0}from'ckeditor5/src/ui.js';function _0x2d48(_0x2904f9,_0x4d851f){const _0xc6711b=_0xc671();return _0x2d48=function(_0x2d488c,_0x2016a1){_0x2d488c=_0x2d488c-0x1d0;let _0x5d1655=_0xc6711b[_0x2d488c];return _0x5d1655;},_0x2d48(_0x2904f9,_0x4d851f);}import{UploadcareImageEditFormLoadingView as _0x476f97}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1fadfe}from'./uploadcareimageeditformerrorview.js';function _0xc671(){const _0x360a05=['1205CPibiw','render','disconnect','querySelector','cdnUrl','setTemplate','_addErrorViewListeners','_setView','uc-cloud-image-editor','nodeName','9816oRcNDu','fire','addedNodes','ck-uploadcare-form','createCollection','detail','change:status','9GsjmEj','ck-reset_all-excluded','target','4698295TFoThX','ready','set','clear','toLowerCase','uploading','addEventListener','once','_addUploadcareImageEditorListeners','length','3260zuVCGf','status','div','458IxqUKH','getFocusableElement','filter','_waitForImageEditorComponent','apply','1144257QVNCvl','add','_items','_loadingView','6814504OJhVqG','addMany','_errorView','retry','cancel','focus','error','2995932PiRTDP','_focusableView','element','_editingView','7485410PjcpVC','observe'];_0xc671=function(){return _0x360a05;};return _0xc671();}import{UploadcareImageEditFormEditingView as _0x4126d4}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a0419}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3a0419{[_0x471018(0x1ee)];[_0x471018(0x1ef)];[_0x471018(0x1f2)];[_0x471018(0x1fa)];[_0x471018(0x1f8)];constructor(_0x3f7135,_0x36a27b,_0x1deebc){const _0x422c66=_0x471018;super(_0x3f7135),this[_0x422c66(0x1ee)]=this[_0x422c66(0x1d4)](),this[_0x422c66(0x1ef)]=new _0x476f97(_0x3f7135),this[_0x422c66(0x1f2)]=new _0x1fadfe(_0x3f7135),this[_0x422c66(0x1fa)]=new _0x4126d4(_0x3f7135,_0x1deebc),this[_0x422c66(0x1f8)]=new _0x9763d0(_0x3f7135),this[_0x422c66(0x1f8)][_0x422c66(0x202)](this[_0x422c66(0x1e8)]()),this[_0x422c66(0x1dc)](_0x422c66(0x1e5),_0x36a27b),this[_0x422c66(0x202)]({'tag':_0x422c66(0x1e6),'attributes':{'class':['ck',_0x422c66(0x1d8),_0x422c66(0x1d3)],'tabindex':'-1'},'children':this[_0x422c66(0x1ee)]}),this[_0x422c66(0x204)](),this[_0x422c66(0x1e1)](_0x422c66(0x1fe),()=>{const _0x329fa4=_0x422c66;this[_0x329fa4(0x1ea)](this[_0x329fa4(0x1f9)],_0xb3c8b3=>{const _0x53ba00=_0x329fa4;this[_0x53ba00(0x1e2)](_0xb3c8b3);});}),this['on'](_0x422c66(0x1d6),()=>{const _0x386285=_0x422c66;this[_0x386285(0x204)]();}),this[_0x422c66(0x203)]();}[_0x471018(0x1f5)](){const _0x1b6c53=_0x471018;this[_0x1b6c53(0x1f9)][_0x1b6c53(0x1f5)]();}[_0x471018(0x204)](){const _0x5bcfa6=_0x471018;switch(this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1dd)](),this[_0x5bcfa6(0x1e5)]){case _0x5bcfa6(0x1df):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1ed)](this[_0x5bcfa6(0x1ef)]);break;case _0x5bcfa6(0x1f6):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1ed)](this[_0x5bcfa6(0x1f2)]);break;case _0x5bcfa6(0x1db):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1f1)]([this[_0x5bcfa6(0x1fa)],this[_0x5bcfa6(0x1f8)]]);}}[_0x471018(0x1ea)](_0x485218,_0x531055){const _0x492273=_0x471018,_0x33e1a3=_0x492273(0x205),_0x56d286=_0x485218[_0x492273(0x200)](_0x33e1a3);if(_0x56d286)return _0x531055(_0x56d286);const _0x4774a5=new MutationObserver(_0xe20f1c=>{const _0x27ed13=_0x492273,_0x2f6d2f=_0xe20f1c[_0x27ed13(0x1e9)](_0x590bcc=>_0x590bcc[_0x27ed13(0x1d9)]===_0x485218&&_0x590bcc[_0x27ed13(0x1d2)][_0x27ed13(0x1e3)]>0x0&&_0x590bcc[_0x27ed13(0x1d2)][0x0][_0x27ed13(0x206)][_0x27ed13(0x1de)]()===_0x33e1a3);_0x2f6d2f[_0x27ed13(0x1e3)]&&(_0x4774a5[_0x27ed13(0x1ff)](),_0x531055(_0x2f6d2f[0x0][_0x27ed13(0x1d2)][0x0]));});_0x4774a5[_0x492273(0x1fc)](_0x485218,{'childList':!0x0,'subtree':!0x0});}[_0x471018(0x1e2)](_0x2889fe){const _0x4b2e5f=_0x471018;_0x2889fe[_0x4b2e5f(0x1e0)](_0x4b2e5f(0x1eb),_0x5a34fa=>{const _0xf9111f=_0x4b2e5f;this[_0xf9111f(0x1d1)](_0xf9111f(0x1eb),{'imageSrc':_0x5a34fa[_0xf9111f(0x1d5)][_0xf9111f(0x201)]});}),_0x2889fe[_0x4b2e5f(0x1e0)](_0x4b2e5f(0x1f4),()=>{const _0x556985=_0x4b2e5f;this[_0x556985(0x1d1)](_0x556985(0x1f4));});}[_0x471018(0x203)](){const _0x15f86=_0x471018;this[_0x15f86(0x1f2)]['on'](_0x15f86(0x1f3),()=>{const _0x58b5e6=_0x15f86;this[_0x58b5e6(0x1d1)](_0x58b5e6(0x1f3));});}}
23
+ const _0x24c765=_0x1e64;(function(_0x40b2f0,_0xe2bcfd){const _0x1ffd5d=_0x1e64,_0xde9003=_0x40b2f0();while(!![]){try{const _0x2761fe=parseInt(_0x1ffd5d(0x8d))/0x1+-parseInt(_0x1ffd5d(0x8b))/0x2*(-parseInt(_0x1ffd5d(0x9b))/0x3)+parseInt(_0x1ffd5d(0x9f))/0x4+parseInt(_0x1ffd5d(0xac))/0x5+parseInt(_0x1ffd5d(0x85))/0x6*(-parseInt(_0x1ffd5d(0x86))/0x7)+-parseInt(_0x1ffd5d(0xa5))/0x8*(-parseInt(_0x1ffd5d(0x87))/0x9)+-parseInt(_0x1ffd5d(0x89))/0xa*(parseInt(_0x1ffd5d(0xa6))/0xb);if(_0x2761fe===_0xe2bcfd)break;else _0xde9003['push'](_0xde9003['shift']());}catch(_0x27e53b){_0xde9003['push'](_0xde9003['shift']());}}}(_0x3d2c,0x3bd4e));function _0x1e64(_0x568dce,_0x4e7bf4){const _0x3d2c84=_0x3d2c();return _0x1e64=function(_0x1e647a,_0x32f4d0){_0x1e647a=_0x1e647a-0x85;let _0x2496eb=_0x3d2c84[_0x1e647a];return _0x2496eb;},_0x1e64(_0x568dce,_0x4e7bf4);}import{View as _0x49f586}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x13e9bb}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1d5636}from'./uploadcareimageeditformerrorview.js';function _0x3d2c(){const _0x45e4ba=['402696UFiQZL','detail','addMany','querySelector','_errorView','add','render','_addUploadcareImageEditorListeners','_setView','uc-cloud-image-editor','disconnect','toLowerCase','createCollection','element','7053iNXmKO','length','_items','apply','190908rafwhj','ready','div','clear','fire','_focusableView','94624dYJker','77AwFmoo','set','filter','uploading','_addErrorViewListeners','focus','2353405jzTHHl','target','_editingView','once','addEventListener','observe','ck-reset_all-excluded','error','status','ck-uploadcare-form','_loadingView','retry','change:status','_waitForImageEditorComponent','nodeName','setTemplate','cancel','1301088ehdPjG','14IKMTzG','279fGTlgQ','cdnUrl','1148770FFolPW','getFocusableElement','166fACTbH','addedNodes'];_0x3d2c=function(){return _0x45e4ba;};return _0x3d2c();}import{UploadcareImageEditFormEditingView as _0x557625}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x509e73}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x509e73{[_0x24c765(0x9d)];[_0x24c765(0xb6)];[_0x24c765(0x91)];[_0x24c765(0xae)];[_0x24c765(0xa4)];constructor(_0x3398c8,_0x57ddae,_0xaac2e0){const _0x5c8e21=_0x24c765;super(_0x3398c8),this[_0x5c8e21(0x9d)]=this[_0x5c8e21(0x99)](),this[_0x5c8e21(0xb6)]=new _0x13e9bb(_0x3398c8),this[_0x5c8e21(0x91)]=new _0x1d5636(_0x3398c8),this[_0x5c8e21(0xae)]=new _0x557625(_0x3398c8,_0xaac2e0),this[_0x5c8e21(0xa4)]=new _0x49f586(_0x3398c8),this[_0x5c8e21(0xa4)][_0x5c8e21(0xbb)](this[_0x5c8e21(0x8a)]()),this[_0x5c8e21(0xa7)](_0x5c8e21(0xb4),_0x57ddae),this[_0x5c8e21(0xbb)]({'tag':_0x5c8e21(0xa1),'attributes':{'class':['ck',_0x5c8e21(0xb2),_0x5c8e21(0xb5)],'tabindex':'-1'},'children':this[_0x5c8e21(0x9d)]}),this[_0x5c8e21(0x95)](),this[_0x5c8e21(0xaf)](_0x5c8e21(0x93),()=>{const _0x2eeb67=_0x5c8e21;this[_0x2eeb67(0xb9)](this[_0x2eeb67(0x9a)],_0x2f1dd8=>{const _0xf7f15e=_0x2eeb67;this[_0xf7f15e(0x94)](_0x2f1dd8);});}),this['on'](_0x5c8e21(0xb8),()=>{const _0x4678ed=_0x5c8e21;this[_0x4678ed(0x95)]();}),this[_0x5c8e21(0xaa)]();}[_0x24c765(0xab)](){const _0x5ac5bb=_0x24c765;this[_0x5ac5bb(0x9a)][_0x5ac5bb(0xab)]();}[_0x24c765(0x95)](){const _0x1b2c28=_0x24c765;switch(this[_0x1b2c28(0x9d)][_0x1b2c28(0xa2)](),this[_0x1b2c28(0xb4)]){case _0x1b2c28(0xa9):this[_0x1b2c28(0x9d)][_0x1b2c28(0x92)](this[_0x1b2c28(0xb6)]);break;case _0x1b2c28(0xb3):this[_0x1b2c28(0x9d)][_0x1b2c28(0x92)](this[_0x1b2c28(0x91)]);break;case _0x1b2c28(0xa0):this[_0x1b2c28(0x9d)][_0x1b2c28(0x8f)]([this[_0x1b2c28(0xae)],this[_0x1b2c28(0xa4)]]);}}[_0x24c765(0xb9)](_0x23e9ec,_0x51bb9a){const _0x1466eb=_0x24c765,_0x2ecb48=_0x1466eb(0x96),_0x346e9b=_0x23e9ec[_0x1466eb(0x90)](_0x2ecb48);if(_0x346e9b)return _0x51bb9a(_0x346e9b);const _0x1b6864=new MutationObserver(_0x3bfd7b=>{const _0x4c47d7=_0x1466eb,_0x408bca=_0x3bfd7b[_0x4c47d7(0xa8)](_0xbf8653=>_0xbf8653[_0x4c47d7(0xad)]===_0x23e9ec&&_0xbf8653[_0x4c47d7(0x8c)][_0x4c47d7(0x9c)]>0x0&&_0xbf8653[_0x4c47d7(0x8c)][0x0][_0x4c47d7(0xba)][_0x4c47d7(0x98)]()===_0x2ecb48);_0x408bca[_0x4c47d7(0x9c)]&&(_0x1b6864[_0x4c47d7(0x97)](),_0x51bb9a(_0x408bca[0x0][_0x4c47d7(0x8c)][0x0]));});_0x1b6864[_0x1466eb(0xb1)](_0x23e9ec,{'childList':!0x0,'subtree':!0x0});}[_0x24c765(0x94)](_0x1f5323){const _0x38af60=_0x24c765;_0x1f5323[_0x38af60(0xb0)](_0x38af60(0x9e),_0x503cc4=>{const _0x96b12b=_0x38af60;this[_0x96b12b(0xa3)](_0x96b12b(0x9e),{'imageSrc':_0x503cc4[_0x96b12b(0x8e)][_0x96b12b(0x88)]});}),_0x1f5323[_0x38af60(0xb0)](_0x38af60(0xbc),()=>{const _0x3e539c=_0x38af60;this[_0x3e539c(0xa3)](_0x3e539c(0xbc));});}[_0x24c765(0xaa)](){const _0x2d3eb4=_0x24c765;this[_0x2d3eb4(0x91)]['on'](_0x2d3eb4(0xb7),()=>{const _0x42f616=_0x2d3eb4;this[_0x42f616(0xa3)](_0x42f616(0xb7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4208(_0x1b6a0b,_0x5450ce){const _0x292e98=_0x292e();return _0x4208=function(_0x420868,_0x3be886){_0x420868=_0x420868-0x18f;let _0xeb174e=_0x292e98[_0x420868];return _0xeb174e;},_0x4208(_0x1b6a0b,_0x5450ce);}const _0x51204e=_0x4208;(function(_0x1acd74,_0x55e7dd){const _0x51aced=_0x4208,_0x14b687=_0x1acd74();while(!![]){try{const _0x13283a=parseInt(_0x51aced(0x1a4))/0x1+-parseInt(_0x51aced(0x1a8))/0x2+parseInt(_0x51aced(0x1a2))/0x3+-parseInt(_0x51aced(0x195))/0x4+-parseInt(_0x51aced(0x19b))/0x5+parseInt(_0x51aced(0x19c))/0x6*(parseInt(_0x51aced(0x1a3))/0x7)+parseInt(_0x51aced(0x1a9))/0x8*(parseInt(_0x51aced(0x19e))/0x9);if(_0x13283a===_0x55e7dd)break;else _0x14b687['push'](_0x14b687['shift']());}catch(_0x3a36f0){_0x14b687['push'](_0x14b687['shift']());}}}(_0x292e,0xaef9d));import{Command as _0x174008}from'ckeditor5/src/core.js';import{Dialog as _0x17e17a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x164bd8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x50c894}from'../utils/editingutils.js';function _0x292e(){const _0x35a0a8=['document','selection','config','plugins','1819535qkAYdL','710394OFyXAb','imageEditController','985113RCeJEf','_isEditable','get','execute','2335818XxyXom','7FhJNFx','1428987weIqKV','bind','refresh','getSelectedElement','2613428kmgsnh','8oJLYBo','set','isActive','uploadcare.allowExternalImagesEditing','imageInline','isEnabled','unbind','editor','element','imageBlock','model','192508eBJstd','requires'];_0x292e=function(){return _0x35a0a8;};return _0x292e();}export class UploadcareImageEditCommand extends _0x174008{[_0x51204e(0x19d)];static get[_0x51204e(0x196)](){return[_0x17e17a];}[_0x51204e(0x19f)];constructor(_0x43d55f){const _0x426713=_0x51204e;super(_0x43d55f),this[_0x426713(0x19d)]=void 0x0,this[_0x426713(0x19f)]=_0x50c894(_0x43d55f[_0x426713(0x199)][_0x426713(0x1a0)](_0x426713(0x1ac))||[]),this[_0x426713(0x1aa)]({'isActive':!0x1});}[_0x51204e(0x1a6)](){const _0x5ed91d=_0x51204e,_0x235ce0=this[_0x5ed91d(0x191)][_0x5ed91d(0x194)][_0x5ed91d(0x197)][_0x5ed91d(0x198)][_0x5ed91d(0x1a7)]();this[_0x5ed91d(0x18f)]=this[_0x5ed91d(0x19f)](_0x235ce0);}[_0x51204e(0x1a1)](){const _0x3a0e0f=_0x51204e;this[_0x3a0e0f(0x19d)]&&(this[_0x3a0e0f(0x190)](_0x3a0e0f(0x1ab)),this[_0x3a0e0f(0x19d)]=void 0x0);const _0x2a8230=this[_0x3a0e0f(0x191)][_0x3a0e0f(0x194)][_0x3a0e0f(0x197)][_0x3a0e0f(0x198)][_0x3a0e0f(0x1a7)]();_0x2a8230&&(_0x2a8230['is'](_0x3a0e0f(0x192),_0x3a0e0f(0x193))||_0x2a8230['is'](_0x3a0e0f(0x192),_0x3a0e0f(0x1ad)))&&(this[_0x3a0e0f(0x19d)]=new _0x164bd8(this[_0x3a0e0f(0x191)],this[_0x3a0e0f(0x191)][_0x3a0e0f(0x19a)][_0x3a0e0f(0x1a0)](_0x17e17a),_0x2a8230),this[_0x3a0e0f(0x1a5)](_0x3a0e0f(0x1ab))['to'](this[_0x3a0e0f(0x19d)],_0x3a0e0f(0x1ab)));}}
23
+ const _0x2b72f4=_0x2ac2;(function(_0x28bf9c,_0x46c4f6){const _0x33c762=_0x2ac2,_0x3a64c0=_0x28bf9c();while(!![]){try{const _0x530dba=parseInt(_0x33c762(0x112))/0x1*(-parseInt(_0x33c762(0x12d))/0x2)+parseInt(_0x33c762(0x10f))/0x3*(-parseInt(_0x33c762(0x11e))/0x4)+-parseInt(_0x33c762(0x11f))/0x5*(parseInt(_0x33c762(0x124))/0x6)+parseInt(_0x33c762(0x123))/0x7+-parseInt(_0x33c762(0x10e))/0x8*(parseInt(_0x33c762(0x110))/0x9)+parseInt(_0x33c762(0x114))/0xa+-parseInt(_0x33c762(0x11a))/0xb*(-parseInt(_0x33c762(0x126))/0xc);if(_0x530dba===_0x46c4f6)break;else _0x3a64c0['push'](_0x3a64c0['shift']());}catch(_0x4b0590){_0x3a64c0['push'](_0x3a64c0['shift']());}}}(_0x3102,0x73536));function _0x3102(){const _0xe32bdc=['_isEditable','5064220QilHCr','selection','element','getSelectedElement','model','config','6757674KHJiTL','isEnabled','set','refresh','108bJQltk','2045hASqMl','uploadcare.allowExternalImagesEditing','document','execute','3360637CnRYIq','11796yqxfeK','plugins','24ikpdvl','editor','bind','requires','imageEditController','unbind','imageBlock','103822stgTwd','get','isActive','362696VjwBtn','62541kPvFJP','54eobztx','imageInline','2VDpIMv'];_0x3102=function(){return _0xe32bdc;};return _0x3102();}import{Command as _0x1c153b}from'ckeditor5/src/core.js';import{Dialog as _0x22079f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3473cd}from'./ui/uploadcareimageeditcontroller.js';function _0x2ac2(_0x166cc6,_0x35aa7d){const _0x310225=_0x3102();return _0x2ac2=function(_0x2ac2a1,_0x311269){_0x2ac2a1=_0x2ac2a1-0x10c;let _0x3601ce=_0x310225[_0x2ac2a1];return _0x3601ce;},_0x2ac2(_0x166cc6,_0x35aa7d);}import{createEditabilityChecker as _0xe0d511}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1c153b{[_0x2b72f4(0x12a)];static get[_0x2b72f4(0x129)](){return[_0x22079f];}[_0x2b72f4(0x113)];constructor(_0x14abdb){const _0x4997d7=_0x2b72f4;super(_0x14abdb),this[_0x4997d7(0x12a)]=void 0x0,this[_0x4997d7(0x113)]=_0xe0d511(_0x14abdb[_0x4997d7(0x119)][_0x4997d7(0x10c)](_0x4997d7(0x120))||[]),this[_0x4997d7(0x11c)]({'isActive':!0x1});}[_0x2b72f4(0x11d)](){const _0x3801b0=_0x2b72f4,_0x3320e2=this[_0x3801b0(0x127)][_0x3801b0(0x118)][_0x3801b0(0x121)][_0x3801b0(0x115)][_0x3801b0(0x117)]();this[_0x3801b0(0x11b)]=this[_0x3801b0(0x113)](_0x3320e2);}[_0x2b72f4(0x122)](){const _0x20739d=_0x2b72f4;this[_0x20739d(0x12a)]&&(this[_0x20739d(0x12b)](_0x20739d(0x10d)),this[_0x20739d(0x12a)]=void 0x0);const _0xb0b334=this[_0x20739d(0x127)][_0x20739d(0x118)][_0x20739d(0x121)][_0x20739d(0x115)][_0x20739d(0x117)]();_0xb0b334&&(_0xb0b334['is'](_0x20739d(0x116),_0x20739d(0x12c))||_0xb0b334['is'](_0x20739d(0x116),_0x20739d(0x111)))&&(this[_0x20739d(0x12a)]=new _0x3473cd(this[_0x20739d(0x127)],this[_0x20739d(0x127)][_0x20739d(0x125)][_0x20739d(0x10c)](_0x22079f),_0xb0b334),this[_0x20739d(0x128)](_0x20739d(0x10d))['to'](this[_0x20739d(0x12a)],_0x20739d(0x10d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28ccbf=_0x3d83;(function(_0x1b2843,_0x1317ce){const _0x34716c=_0x3d83,_0x249108=_0x1b2843();while(!![]){try{const _0x12499f=parseInt(_0x34716c(0x1ce))/0x1*(-parseInt(_0x34716c(0x1dd))/0x2)+parseInt(_0x34716c(0x1cf))/0x3*(-parseInt(_0x34716c(0x1cd))/0x4)+-parseInt(_0x34716c(0x1d8))/0x5+-parseInt(_0x34716c(0x1da))/0x6+-parseInt(_0x34716c(0x1d7))/0x7+parseInt(_0x34716c(0x1db))/0x8*(-parseInt(_0x34716c(0x1df))/0x9)+parseInt(_0x34716c(0x1d1))/0xa;if(_0x12499f===_0x1317ce)break;else _0x249108['push'](_0x249108['shift']());}catch(_0x2d4f00){_0x249108['push'](_0x249108['shift']());}}}(_0x95f6,0x43aa4));import{Plugin as _0x21dabd}from'ckeditor5/src/core.js';import{Notification as _0x33cf2a}from'ckeditor5/src/ui.js';function _0x3d83(_0x3917e6,_0x262848){const _0x95f66b=_0x95f6();return _0x3d83=function(_0x3d833f,_0x2d57f9){_0x3d833f=_0x3d833f-0x1cc;let _0x422b07=_0x95f66b[_0x3d833f];return _0x422b07;},_0x3d83(_0x3917e6,_0x262848);}import{UploadcareImageEditCommand as _0x2cd1c7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x849053}from'./uploadcareimagereplacecommand.js';function _0x95f6(){const _0x3a1c67=['init','ImageEditing','isPremiumPlugin','add','414974JSFadg','1687695qnUyNH','commands','2567232MBDlVL','5888zRZbJu','pluginName','818UTnguK','uploadcareImageEdit','1872itpjIt','ImageUtils','isOfficialPlugin','requires','690464nOXEOs','1336WeSwcq','6FjpRqM','UploadcareImageEditEditing','21465930pLcgSR','uploadcareImageReplace'];_0x95f6=function(){return _0x3a1c67;};return _0x95f6();}import{UploadcareEditing as _0x36793d}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x21dabd{static get[_0x28ccbf(0x1dc)](){const _0x25cdfb=_0x28ccbf;return _0x25cdfb(0x1d0);}static get[_0x28ccbf(0x1cc)](){const _0x3518c4=_0x28ccbf;return[_0x36793d,_0x33cf2a,_0x3518c4(0x1e0),_0x3518c4(0x1d4)];}static get[_0x28ccbf(0x1e1)](){return!0x0;}static get[_0x28ccbf(0x1d5)](){return!0x0;}[_0x28ccbf(0x1d3)](){const _0x3b2ded=_0x28ccbf,{editor:_0x49b93d}=this;_0x49b93d[_0x3b2ded(0x1d9)][_0x3b2ded(0x1d6)](_0x3b2ded(0x1de),new _0x2cd1c7(_0x49b93d)),_0x49b93d[_0x3b2ded(0x1d9)][_0x3b2ded(0x1d6)](_0x3b2ded(0x1d2),new _0x849053(_0x49b93d));}}
23
+ function _0x50f1(){const _0x4b589e=['pluginName','110512pcDaBY','1247472XxmIQG','8554305DIVTUO','uploadcareImageReplace','init','UploadcareImageEditEditing','commands','add','requires','6406128VHxirM','611598fphvmi','isOfficialPlugin','75gBkoEw','84VCUOXn','isPremiumPlugin','uploadcareImageEdit','860508ZySBrO','ImageUtils','13948552fuDGhZ','ImageEditing'];_0x50f1=function(){return _0x4b589e;};return _0x50f1();}const _0x34ddff=_0x3154;(function(_0xe61a8e,_0x30680c){const _0x253136=_0x3154,_0x373b0d=_0xe61a8e();while(!![]){try{const _0x3ec669=parseInt(_0x253136(0x176))/0x1+parseInt(_0x253136(0x175))/0x2*(parseInt(_0x253136(0x181))/0x3)+parseInt(_0x253136(0x170))/0x4+parseInt(_0x253136(0x177))/0x5+-parseInt(_0x253136(0x17f))/0x6*(parseInt(_0x253136(0x182))/0x7)+-parseInt(_0x253136(0x172))/0x8+-parseInt(_0x253136(0x17e))/0x9;if(_0x3ec669===_0x30680c)break;else _0x373b0d['push'](_0x373b0d['shift']());}catch(_0x51ae35){_0x373b0d['push'](_0x373b0d['shift']());}}}(_0x50f1,0xd5f0f));import{Plugin as _0x429f39}from'ckeditor5/src/core.js';import{Notification as _0x4f17fe}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2ff0a5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4802e5}from'./uploadcareimagereplacecommand.js';function _0x3154(_0x2ebe0c,_0x48130f){const _0x50f1d8=_0x50f1();return _0x3154=function(_0x3154db,_0x43166c){_0x3154db=_0x3154db-0x16e;let _0x58701c=_0x50f1d8[_0x3154db];return _0x58701c;},_0x3154(_0x2ebe0c,_0x48130f);}import{UploadcareEditing as _0x4fab43}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x429f39{static get[_0x34ddff(0x174)](){const _0x2d66b4=_0x34ddff;return _0x2d66b4(0x17a);}static get[_0x34ddff(0x17d)](){const _0xc1c5e4=_0x34ddff;return[_0x4fab43,_0x4f17fe,_0xc1c5e4(0x171),_0xc1c5e4(0x173)];}static get[_0x34ddff(0x180)](){return!0x0;}static get[_0x34ddff(0x16e)](){return!0x0;}[_0x34ddff(0x179)](){const _0x293e5a=_0x34ddff,{editor:_0x29f61a}=this;_0x29f61a[_0x293e5a(0x17b)][_0x293e5a(0x17c)](_0x293e5a(0x16f),new _0x2ff0a5(_0x29f61a)),_0x29f61a[_0x293e5a(0x17b)][_0x293e5a(0x17c)](_0x293e5a(0x178),new _0x4802e5(_0x29f61a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x111a0e}from'ckeditor5/src/core.js';import{ButtonView as _0x607071}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2c8d99}from'ckeditor5/src/icons.js';import{createElement as _0x477578}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x111a0e{['_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 _0x3f71db=this['editor'];_0x3f71db['ui']['componentFactory']['add']('uploadcareImageEdit',_0xea2990=>{const _0x2bb2f5=_0x3f71db['commands']['get']('uploadcareImageEdit'),_0x47c530=new _0x607071(_0xea2990),t=_0xea2990['t'];return _0x47c530['set']({'icon':_0x2c8d99,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47c530['bind']('isEnabled')['to'](_0x2bb2f5),_0x47c530['bind']('isOn')['to'](_0x2bb2f5,'isActive'),this['listenTo'](_0x47c530,'execute',()=>{_0x3f71db['execute']('uploadcareImageEdit'),_0x3f71db['editing']['view']['focus']();}),_0x47c530;}),this['_initConfig']();}['_initConfig'](){const _0x56134a=_0x477578(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56134a),this['listenTo'](this['editor'],'destroy',()=>{_0x56134a['remove']();});}}
23
+ import{Plugin as _0x1e433f}from'ckeditor5/src/core.js';import{ButtonView as _0x18a9ba}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4fd02e}from'ckeditor5/src/icons.js';import{createElement as _0x306bb3}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1e433f{['_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 _0x2f1f71=this['editor'];_0x2f1f71['ui']['componentFactory']['add']('uploadcareImageEdit',_0x158375=>{const _0x5c5912=_0x2f1f71['commands']['get']('uploadcareImageEdit'),_0x2ef4f3=new _0x18a9ba(_0x158375),t=_0x158375['t'];return _0x2ef4f3['set']({'icon':_0x4fd02e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2ef4f3['bind']('isEnabled')['to'](_0x5c5912),_0x2ef4f3['bind']('isOn')['to'](_0x5c5912,'isActive'),this['listenTo'](_0x2ef4f3,'execute',()=>{_0x2f1f71['execute']('uploadcareImageEdit'),_0x2f1f71['editing']['view']['focus']();}),_0x2ef4f3;}),this['_initConfig']();}['_initConfig'](){const _0x168ea7=_0x306bb3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x168ea7),this['listenTo'](this['editor'],'destroy',()=>{_0x168ea7['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58d0d2=_0x2ad6;function _0x2bbb(){const _0x57f77d=['1NLpoRy','change','execute','refresh','441gDRSJY','55tbdIiM','srcset','editor','1804737mSzRqP','element','document','setAttributes','removeAttribute','imageBlock','isEnabled','8419365igcJkq','imageInline','169304uomDVq','model','1131202rszYjk','115455iXtchn','getSelectedElement','324VzDrbp','2902620OaQkSo','936580dXejIT','sizes','selection'];_0x2bbb=function(){return _0x57f77d;};return _0x2bbb();}(function(_0x395098,_0x434b41){const _0x108851=_0x2ad6,_0x41e914=_0x395098();while(!![]){try{const _0x2f33e3=-parseInt(_0x108851(0xd2))/0x1*(parseInt(_0x108851(0xe5))/0x2)+-parseInt(_0x108851(0xda))/0x3+parseInt(_0x108851(0xce))/0x4+parseInt(_0x108851(0xcb))/0x5*(parseInt(_0x108851(0xcd))/0x6)+parseInt(_0x108851(0xd6))/0x7*(parseInt(_0x108851(0xe3))/0x8)+-parseInt(_0x108851(0xe1))/0x9+-parseInt(_0x108851(0xcf))/0xa*(parseInt(_0x108851(0xd7))/0xb);if(_0x2f33e3===_0x434b41)break;else _0x41e914['push'](_0x41e914['shift']());}catch(_0xcb30c6){_0x41e914['push'](_0x41e914['shift']());}}}(_0x2bbb,0xb36a3));function _0x2ad6(_0x484847,_0x179438){const _0x2bbbca=_0x2bbb();return _0x2ad6=function(_0x2ad640,_0x165df8){_0x2ad640=_0x2ad640-0xcb;let _0x553201=_0x2bbbca[_0x2ad640];return _0x553201;},_0x2ad6(_0x484847,_0x179438);}import{Command as _0x46c0b4}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x46c0b4{[_0x58d0d2(0xd5)](){const _0x1e58c6=_0x58d0d2,_0xfe85dd=this[_0x1e58c6(0xd9)][_0x1e58c6(0xe4)][_0x1e58c6(0xdc)][_0x1e58c6(0xd1)][_0x1e58c6(0xcc)]();this[_0x1e58c6(0xe0)]=Boolean(_0xfe85dd&&(_0xfe85dd['is'](_0x1e58c6(0xdb),_0x1e58c6(0xdf))||_0xfe85dd['is'](_0x1e58c6(0xdb),_0x1e58c6(0xe2))));}[_0x58d0d2(0xd4)](_0x360c04){const _0x758cc0=_0x58d0d2,_0x1c1d6d=this[_0x758cc0(0xd9)][_0x758cc0(0xe4)][_0x758cc0(0xdc)][_0x758cc0(0xd1)][_0x758cc0(0xcc)]();this[_0x758cc0(0xd9)][_0x758cc0(0xe4)][_0x758cc0(0xd3)](_0x47dcaa=>{const _0x55f8be=_0x758cc0;_0x47dcaa[_0x55f8be(0xdd)](_0x360c04,_0x1c1d6d),_0x47dcaa[_0x55f8be(0xde)](_0x55f8be(0xd8),_0x1c1d6d),_0x47dcaa[_0x55f8be(0xde)](_0x55f8be(0xd0),_0x1c1d6d);});}}
23
+ const _0x2fc8e6=_0x2ae4;function _0x2ae4(_0x45b636,_0x1616f1){const _0x2a1683=_0x2a16();return _0x2ae4=function(_0x2ae42e,_0x4e5165){_0x2ae42e=_0x2ae42e-0xab;let _0x37eb87=_0x2a1683[_0x2ae42e];return _0x37eb87;},_0x2ae4(_0x45b636,_0x1616f1);}function _0x2a16(){const _0x5d27c2=['refresh','sizes','imageInline','6654950yDFqhQ','getSelectedElement','model','247415vglOIX','4ZSzNbf','42ZTqmkZ','isEnabled','execute','12424hXScDt','editor','1024788MMhvKe','2219166rnIrkN','srcset','document','1005dRHpxf','setAttributes','imageBlock','1956872zeozzJ','selection','9510290UPgvuV','removeAttribute','change','element'];_0x2a16=function(){return _0x5d27c2;};return _0x2a16();}(function(_0x3c1323,_0x1b10bc){const _0x2580e0=_0x2ae4,_0xef07c5=_0x3c1323();while(!![]){try{const _0x1c829f=parseInt(_0x2580e0(0xb7))/0x1*(parseInt(_0x2580e0(0xb8))/0x2)+parseInt(_0x2580e0(0xc2))/0x3*(parseInt(_0x2580e0(0xbc))/0x4)+parseInt(_0x2580e0(0xb4))/0x5+parseInt(_0x2580e0(0xbe))/0x6+-parseInt(_0x2580e0(0xb9))/0x7*(parseInt(_0x2580e0(0xab))/0x8)+parseInt(_0x2580e0(0xbf))/0x9+-parseInt(_0x2580e0(0xad))/0xa;if(_0x1c829f===_0x1b10bc)break;else _0xef07c5['push'](_0xef07c5['shift']());}catch(_0x1a962b){_0xef07c5['push'](_0xef07c5['shift']());}}}(_0x2a16,0xd32fb));import{Command as _0xde5bf0}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xde5bf0{[_0x2fc8e6(0xb1)](){const _0x280222=_0x2fc8e6,_0x37cee8=this[_0x280222(0xbd)][_0x280222(0xb6)][_0x280222(0xc1)][_0x280222(0xac)][_0x280222(0xb5)]();this[_0x280222(0xba)]=Boolean(_0x37cee8&&(_0x37cee8['is'](_0x280222(0xb0),_0x280222(0xc4))||_0x37cee8['is'](_0x280222(0xb0),_0x280222(0xb3))));}[_0x2fc8e6(0xbb)](_0x2ea117){const _0x326ed2=_0x2fc8e6,_0xa100fc=this[_0x326ed2(0xbd)][_0x326ed2(0xb6)][_0x326ed2(0xc1)][_0x326ed2(0xac)][_0x326ed2(0xb5)]();this[_0x326ed2(0xbd)][_0x326ed2(0xb6)][_0x326ed2(0xaf)](_0x139b06=>{const _0x2b497e=_0x326ed2;_0x139b06[_0x2b497e(0xc3)](_0x2ea117,_0xa100fc),_0x139b06[_0x2b497e(0xae)](_0x2b497e(0xc0),_0xa100fc),_0x139b06[_0x2b497e(0xae)](_0x2b497e(0xb2),_0xa100fc);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10ecc3=_0x5d5f;(function(_0x24cec3,_0x554ce1){var _0x4f0222=_0x5d5f,_0x2a72f2=_0x24cec3();while(!![]){try{var _0x3fb24d=-parseInt(_0x4f0222(0x11c))/0x1+parseInt(_0x4f0222(0x125))/0x2*(-parseInt(_0x4f0222(0x11b))/0x3)+-parseInt(_0x4f0222(0x11f))/0x4*(parseInt(_0x4f0222(0x119))/0x5)+-parseInt(_0x4f0222(0x128))/0x6+parseInt(_0x4f0222(0x11d))/0x7+-parseInt(_0x4f0222(0x127))/0x8*(-parseInt(_0x4f0222(0x126))/0x9)+parseInt(_0x4f0222(0x11a))/0xa*(parseInt(_0x4f0222(0x124))/0xb);if(_0x3fb24d===_0x554ce1)break;else _0x2a72f2['push'](_0x2a72f2['shift']());}catch(_0x31758d){_0x2a72f2['push'](_0x2a72f2['shift']());}}}(_0x79a4,0x3325f));import{Plugin as _0x4297fd}from'ckeditor5/src/core.js';function _0x5d5f(_0x2a98ba,_0x9653ed){var _0x79a499=_0x79a4();return _0x5d5f=function(_0x5d5f4d,_0x29b11c){_0x5d5f4d=_0x5d5f4d-0x119;var _0x41de3a=_0x79a499[_0x5d5f4d];return _0x41de3a;},_0x5d5f(_0x2a98ba,_0x9653ed);}function _0x79a4(){var _0x334584=['isPremiumPlugin','isOfficialPlugin','10063438TJYdTw','11450bgYQZt','275841klESxL','64PLdgkB','1054392TEhpdg','1270725nubDAY','10uJhcND','93nWnifk','345499uhbZug','16128NpGIfB','pluginName','4IYCPir','UploadcareImageEdit','requires'];_0x79a4=function(){return _0x334584;};return _0x79a4();}import{UploadcareImageEditEditing as _0x48d061}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x378b89}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4297fd{static get[_0x10ecc3(0x11e)](){var _0xdb74b9=_0x10ecc3;return _0xdb74b9(0x120);}static get[_0x10ecc3(0x121)](){return[_0x48d061,_0x378b89];}static get[_0x10ecc3(0x123)](){return!0x0;}static get[_0x10ecc3(0x122)](){return!0x0;}}
23
+ var _0x486328=_0x7cf2;function _0x56df(){var _0x5c7e35=['12wyCseb','2781JGlLvw','966FFPNoj','1258401DQlAlz','UploadcareImageEdit','requires','1pgOznV','2454616EhYOPO','isPremiumPlugin','pluginName','16553669GzoiXx','3720165WbmYVi','58352SEdyGV','24980ydJVAD','isOfficialPlugin','7361112mDXZwq'];_0x56df=function(){return _0x5c7e35;};return _0x56df();}(function(_0x10baba,_0x46f23a){var _0x17412b=_0x7cf2,_0x9b65a8=_0x10baba();while(!![]){try{var _0x21d639=-parseInt(_0x17412b(0xe5))/0x1*(-parseInt(_0x17412b(0xe6))/0x2)+parseInt(_0x17412b(0xe2))/0x3*(-parseInt(_0x17412b(0xdf))/0x4)+parseInt(_0x17412b(0xda))/0x5+parseInt(_0x17412b(0xe1))/0x6*(parseInt(_0x17412b(0xdb))/0x7)+parseInt(_0x17412b(0xde))/0x8+parseInt(_0x17412b(0xe0))/0x9*(-parseInt(_0x17412b(0xdc))/0xa)+-parseInt(_0x17412b(0xd9))/0xb;if(_0x21d639===_0x46f23a)break;else _0x9b65a8['push'](_0x9b65a8['shift']());}catch(_0x510ded){_0x9b65a8['push'](_0x9b65a8['shift']());}}}(_0x56df,0xaa82e));import{Plugin as _0x2bfc98}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1510d0}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x7cf2(_0x59ccf8,_0x51059b){var _0x56df65=_0x56df();return _0x7cf2=function(_0x7cf22c,_0x35573c){_0x7cf22c=_0x7cf22c-0xd9;var _0x384682=_0x56df65[_0x7cf22c];return _0x384682;},_0x7cf2(_0x59ccf8,_0x51059b);}import{UploadcareImageEditUI as _0x37e096}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2bfc98{static get[_0x486328(0xe8)](){var _0x28f896=_0x486328;return _0x28f896(0xe3);}static get[_0x486328(0xe4)](){return[_0x1510d0,_0x37e096];}static get[_0x486328(0xdd)](){return!0x0;}static get[_0x486328(0xe7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36a9(){const _0x326b9c=['257649BzTSYu','label','4JDxBhY','33209Syhowz','usageLimit','editor','pluginName','_createMenuBarButtons','Facebook','Insert','icon','uploadcareLicenseKeyExpired','reduce','isPremiumPlugin','invalid','forEach','init','Local','uploadcareLicenseKeyDomainLimit','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','OneDrive','isEnabled','tooltip','commands','uploadcareLicenseKeyValid','URL','42lFEPpx','479446nRGksI','featureNotAllowed','entries','upload','Replace','uploadcareLicenseKeyEvaluationLimit','1146132PULTds','uploadcare.uploader.sourceList','_createToolbarButton','destroy','_createButton','expired','Uploadcare','config','has','UploadcareUI','url','GPhotos','withText','uploadcareLicenseKeyNotAllowed','uploadcare','locale','map','push','316503FiyWgL','_normalizeConfigSourceList','isOfficialPlugin','_getIntegrationKey','888195Cceutm','evaluationLimit','afterInit','bind','type','execute','registerIntegration','get','_licenseKeyCheckInterval','1513384ZMVbzl','shortText','10TxPcnr','uploadcareLicenseKeyInvalid','GDrive','190qyAesB','licenseKey','assetManager','ImageInsertUI','Dropbox','text','plugins','isImageSelected','_showLicenseError','domainLimit'];_0x36a9=function(){return _0x326b9c;};return _0x36a9();}const _0x5aebc0=_0x5256;(function(_0x59cf45,_0x495ed3){const _0x172521=_0x5256,_0x3ccb47=_0x59cf45();while(!![]){try{const _0x21e7f4=parseInt(_0x172521(0x123))/0x1*(parseInt(_0x172521(0x113))/0x2)+-parseInt(_0x172521(0x104))/0x3+-parseInt(_0x172521(0x122))/0x4*(parseInt(_0x172521(0x108))/0x5)+-parseInt(_0x172521(0xeb))/0x6*(parseInt(_0x172521(0x120))/0x7)+-parseInt(_0x172521(0x111))/0x8+-parseInt(_0x172521(0xf2))/0x9+-parseInt(_0x172521(0x116))/0xa*(-parseInt(_0x172521(0xec))/0xb);if(_0x21e7f4===_0x495ed3)break;else _0x3ccb47['push'](_0x3ccb47['shift']());}catch(_0x18d63d){_0x3ccb47['push'](_0x3ccb47['shift']());}}}(_0x36a9,0x216a5));import{Plugin as _0x3e76d2}from'ckeditor5/src/core.js';import{IconDropbox as _0x368166,IconFacebook as _0x2f2923,IconGoogleDrive as _0x34db6d,IconGooglePhotos as _0x5e9c63,IconUploadcareImageUpload as _0x2a783a,IconUploadcareLink as _0x28bb66,IconOneDrive as _0x4bbcd4}from'ckeditor5/src/icons.js';import{ButtonView as _0x30af70,MenuBarMenuListItemButtonView as _0x359e24}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4911df}from'./uploadcareconfig.js';import{getTranslation as _0x2aaac6}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5256(_0x45e5eb,_0x3aec99){const _0x36a923=_0x36a9();return _0x5256=function(_0x525662,_0x386f5b){_0x525662=_0x525662-0xeb;let _0x2e9b7a=_0x36a923[_0x525662];return _0x2e9b7a;},_0x5256(_0x45e5eb,_0x3aec99);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3e76d2{[_0x5aebc0(0x117)];[_0x5aebc0(0x110)];static get[_0x5aebc0(0x126)](){const _0xf8084d=_0x5aebc0;return _0xf8084d(0xfb);}static get[_0x5aebc0(0x106)](){return!0x0;}static get[_0x5aebc0(0x12d)](){return!0x0;}[_0x5aebc0(0x130)](){const _0x50ebd0=_0x5aebc0;this[_0x50ebd0(0x117)]=this[_0x50ebd0(0x125)][_0x50ebd0(0xf9)][_0x50ebd0(0x10f)](_0x50ebd0(0x117));const _0xd6b5c1=this[_0x50ebd0(0x125)];this[_0x50ebd0(0x110)]=setInterval(()=>{const _0x431ef2=_0x50ebd0;let _0x3237bf;for(const _0x17912d in _0xd6b5c1){const _0x41c653=_0x17912d,_0x3a7369=_0xd6b5c1[_0x41c653];if(_0x431ef2(0x139)==_0x3a7369||_0x431ef2(0x114)==_0x3a7369||_0x431ef2(0x12b)==_0x3a7369||_0x431ef2(0x132)==_0x3a7369||_0x431ef2(0xff)==_0x3a7369||_0x431ef2(0xf1)==_0x3a7369||_0x431ef2(0x134)==_0x3a7369){delete _0xd6b5c1[_0x41c653],_0x3237bf=_0x3a7369,clearInterval(this[_0x431ef2(0x110)]),this[_0x431ef2(0x110)]=void 0x0;break;}}_0x431ef2(0x114)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x12e)),_0x431ef2(0x12b)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0xf7)),_0x431ef2(0x132)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x11f)),_0x431ef2(0xff)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0xed),_0x431ef2(0xf8)),_0x431ef2(0xf1)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x109)),_0x431ef2(0x134)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x124));},0x3e8);}[_0x5aebc0(0x10a)](){const _0x4a3ef9=_0x5aebc0,{editor:_0x4f99e8}=this,_0xaa1e12=_0x4f99e8[_0x4a3ef9(0x138)][_0x4a3ef9(0x10f)](_0x4a3ef9(0x100));if(!_0xaa1e12)return;const _0x67546a=this[_0x4a3ef9(0x105)](_0x4f99e8[_0x4a3ef9(0xf9)][_0x4a3ef9(0x10f)](_0x4a3ef9(0xf3)))[_0x4a3ef9(0x12c)]((_0x4781be,_0x3e2220)=>{const _0x4ada4c=_0x4a3ef9,_0x223fb1=this[_0x4ada4c(0x107)](_0x3e2220[_0x4ada4c(0x10c)]);return _0x4781be[_0x223fb1]||(_0x4781be[_0x223fb1]=[]),_0x4781be[_0x223fb1][_0x4ada4c(0x103)](_0x3e2220),_0x4781be;},{});_0x4f99e8[_0x4a3ef9(0x11c)][_0x4a3ef9(0xfa)](_0x4a3ef9(0x119))&&_0x4f99e8[_0x4a3ef9(0x138)][_0x4a3ef9(0x10f)](_0x4a3ef9(0x100))&&Object[_0x4a3ef9(0xee)](_0x67546a)[_0x4a3ef9(0x12f)](([_0x580829,_0x210852])=>{const _0x37f891=_0x4a3ef9;_0x4f99e8[_0x37f891(0x11c)][_0x37f891(0x10f)](_0x37f891(0x119))[_0x37f891(0x10e)]({'name':_0x580829,'observable':()=>_0xaa1e12,'buttonViewCreator':()=>this[_0x37f891(0xf4)](_0x210852),'formViewCreator':()=>this[_0x37f891(0x133)](_0x210852),'menuBarButtonViewCreator':()=>this[_0x37f891(0x127)](_0x210852),'override':_0x37f891(0x118)!==_0x580829});});}[_0x5aebc0(0xf5)](){const _0xbe7b90=_0x5aebc0;super[_0xbe7b90(0xf5)](),this[_0xbe7b90(0x110)]&&clearInterval(this[_0xbe7b90(0x110)]);}[_0x5aebc0(0x105)](_0x1c136e){const _0xdf74a=_0x5aebc0,{locale:_0x2f61f1}=this[_0xdf74a(0x125)];return _0x1c136e[_0xdf74a(0x102)](_0x4429ff=>{const _0x3c3962=_0xdf74a,_0x507733=_0x2aaac6(_0x2f61f1,_0x4429ff,_0x3c3962(0x129));switch(_0x4429ff){case _0x4911df[_0x3c3962(0x131)]:return{'icon':_0x2a783a,'type':_0x4911df[_0x3c3962(0x131)],..._0x507733};case _0x4911df[_0x3c3962(0x13a)]:return{'icon':_0x28bb66,'type':_0x4911df[_0x3c3962(0x13a)],..._0x507733};case _0x4911df[_0x3c3962(0x11a)]:return{'icon':_0x368166,'type':_0x4911df[_0x3c3962(0x11a)],..._0x507733};case _0x4911df[_0x3c3962(0x128)]:return{'icon':_0x2f2923,'type':_0x4911df[_0x3c3962(0x128)],..._0x507733};case _0x4911df[_0x3c3962(0x115)]:return{'icon':_0x34db6d,'type':_0x4911df[_0x3c3962(0x115)],..._0x507733};case _0x4911df[_0x3c3962(0xfd)]:return{'icon':_0x5e9c63,'type':_0x4911df[_0x3c3962(0xfd)],..._0x507733};case _0x4911df[_0x3c3962(0x135)]:return{'icon':_0x4bbcd4,'type':_0x4911df[_0x3c3962(0x135)],..._0x507733};}});}[_0x5aebc0(0x107)](_0x5bf8e8){const _0x2526ef=_0x5aebc0;switch(_0x5bf8e8){case _0x4911df[_0x2526ef(0x131)]:return _0x2526ef(0xef);case _0x4911df[_0x2526ef(0x13a)]:return _0x2526ef(0xfc);default:return _0x2526ef(0x118);}}[_0x5aebc0(0xf6)](_0x3ae5df,_0x5e76f7){const _0x43d9eb=_0x5aebc0,_0x50f58b=this[_0x43d9eb(0x125)],_0x28d568=new _0x3ae5df(_0x50f58b[_0x43d9eb(0x101)]),_0x5360ba=_0x50f58b[_0x43d9eb(0x138)][_0x43d9eb(0x10f)](_0x43d9eb(0x100));return _0x28d568[_0x43d9eb(0x10b)](_0x43d9eb(0x136))['to'](_0x5360ba),_0x28d568['on'](_0x43d9eb(0x10d),()=>{const _0x315ac4=_0x43d9eb;_0x5360ba[_0x315ac4(0x10d)](_0x5e76f7);}),_0x28d568;}[_0x5aebc0(0xf4)](_0x62c69e){const _0xa38043=_0x5aebc0,{locale:_0x54402d}=this[_0xa38043(0x125)],_0x4563e4=this[_0xa38043(0x125)][_0xa38043(0x11c)][_0xa38043(0x10f)](_0xa38043(0x119)),_0x8e0156=_0x62c69e[0x0],_0x2e9a03=this[_0xa38043(0xf6)](_0x30af70,_0x8e0156[_0xa38043(0x10c)]);return _0x2e9a03[_0xa38043(0x12a)]=_0x8e0156[_0xa38043(0x12a)],_0x2e9a03[_0xa38043(0x10b)](_0xa38043(0x121))['to'](_0x4563e4,_0xa38043(0x11d),_0x2321dd=>_0x2aaac6(_0x54402d,_0x8e0156[_0xa38043(0x10c)],_0x2321dd?_0xa38043(0xf0):_0xa38043(0x129))[_0xa38043(0x11b)]),_0x2e9a03[_0xa38043(0x137)]=!0x0,_0x2e9a03;}[_0x5aebc0(0x133)](_0x23367f){const _0x2bc869=_0x5aebc0,{locale:_0x3a31aa}=this[_0x2bc869(0x125)],_0x5b0961=this[_0x2bc869(0x125)][_0x2bc869(0x11c)][_0x2bc869(0x10f)](_0x2bc869(0x119));return _0x23367f[_0x2bc869(0x102)](_0x40b3e7=>{const _0x31729b=_0x2bc869,_0x4b2908=this[_0x31729b(0xf6)](_0x30af70,_0x40b3e7[_0x31729b(0x10c)]);return _0x4b2908[_0x31729b(0xfe)]=!0x0,_0x4b2908[_0x31729b(0x12a)]=_0x40b3e7[_0x31729b(0x12a)],_0x4b2908[_0x31729b(0x10b)](_0x31729b(0x121))['to'](_0x5b0961,_0x31729b(0x11d),_0x479f46=>_0x2aaac6(_0x3a31aa,_0x40b3e7[_0x31729b(0x10c)],_0x479f46?_0x31729b(0xf0):_0x31729b(0x129))[_0x31729b(0x11b)]),_0x4b2908;});}[_0x5aebc0(0x127)](_0x544b7b){const _0x25ce3c=_0x5aebc0;return _0x544b7b[_0x25ce3c(0x102)](_0x2bb90a=>{const _0x5d3cbc=_0x25ce3c,_0x1e6b0e=this[_0x5d3cbc(0xf6)](_0x359e24,_0x2bb90a[_0x5d3cbc(0x10c)]);return _0x1e6b0e[_0x5d3cbc(0x12a)]=_0x2bb90a[_0x5d3cbc(0x12a)],_0x1e6b0e[_0x5d3cbc(0x121)]=_0x2bb90a[_0x5d3cbc(0x112)],_0x1e6b0e;});}}
23
+ const _0x33cce6=_0x15d3;(function(_0x17cf23,_0x49f37b){const _0x3d5ded=_0x15d3,_0x4d5d82=_0x17cf23();while(!![]){try{const _0x2b061f=parseInt(_0x3d5ded(0x157))/0x1*(parseInt(_0x3d5ded(0x141))/0x2)+-parseInt(_0x3d5ded(0x171))/0x3+parseInt(_0x3d5ded(0x132))/0x4+-parseInt(_0x3d5ded(0x155))/0x5*(parseInt(_0x3d5ded(0x15a))/0x6)+parseInt(_0x3d5ded(0x166))/0x7*(parseInt(_0x3d5ded(0x147))/0x8)+parseInt(_0x3d5ded(0x176))/0x9*(-parseInt(_0x3d5ded(0x13f))/0xa)+-parseInt(_0x3d5ded(0x150))/0xb*(parseInt(_0x3d5ded(0x16d))/0xc);if(_0x2b061f===_0x49f37b)break;else _0x4d5d82['push'](_0x4d5d82['shift']());}catch(_0xd84bf8){_0x4d5d82['push'](_0x4d5d82['shift']());}}}(_0x5cdc,0xcf493));import{Plugin as _0x5001fe}from'ckeditor5/src/core.js';import{IconDropbox as _0x361dab,IconFacebook as _0x488a27,IconGoogleDrive as _0x476302,IconGooglePhotos as _0x13e2b2,IconUploadcareImageUpload as _0x19b012,IconUploadcareLink as _0x43de74,IconOneDrive as _0x2ac54f}from'ckeditor5/src/icons.js';import{ButtonView as _0x22c118,MenuBarMenuListItemButtonView as _0x1b6e64}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x15aaae}from'./uploadcareconfig.js';import{getTranslation as _0x495d25}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x15d3(_0x3f903f,_0x24344f){const _0x5cdca7=_0x5cdc();return _0x15d3=function(_0x15d3a4,_0x2ef04c){_0x15d3a4=_0x15d3a4-0x131;let _0x199499=_0x5cdca7[_0x15d3a4];return _0x199499;},_0x15d3(_0x3f903f,_0x24344f);}function _0x5cdc(){const _0xbc0ecf=['1574533tyaqsb','config','_getIntegrationKey','12iKXVEa','registerIntegration','forEach','push','uploadcareLicenseKeyNotAllowed','reduce','shortText','uploadcareLicenseKeyValid','type','isEnabled','uploadcare.uploader.sourceList','withText','14DPUGnQ','domainLimit','Local','usageLimit','Insert','Replace','label','13171224AHucOz','invalid','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyEvaluationLimit','908922ANaZnb','URL','Dropbox','expired','featureNotAllowed','1027629ihsGTj','text','init','afterInit','Facebook','destroy','map','_createDropdownButtons','UploadcareUI','licenseKey','upload','icon','OneDrive','4569608xkehKg','_createToolbarButton','uploadcare','assetManager','tooltip','has','_showLicenseError','plugins','pluginName','_createMenuBarButtons','_licenseKeyCheckInterval','bind','uploadcareLicenseKeyDomainLimit','20QhMmOx','execute','2nBBGuZ','ImageInsertUI','entries','isPremiumPlugin','locale','evaluationLimit','2161360KUhpIr','get','isImageSelected','GDrive','_createButton','_normalizeConfigSourceList','isOfficialPlugin','uploadcareLicenseKeyInvalid','GPhotos','11jvnEAm','uploadcareLicenseKeyExpired','Uploadcare','commands','url','1948235qkfWdT','editor'];_0x5cdc=function(){return _0xbc0ecf;};return _0x5cdc();}export class UploadcareUI extends _0x5001fe{[_0x33cce6(0x17f)];[_0x33cce6(0x13c)];static get[_0x33cce6(0x13a)](){const _0x4d43d8=_0x33cce6;return _0x4d43d8(0x17e);}static get[_0x33cce6(0x14d)](){return!0x0;}static get[_0x33cce6(0x144)](){return!0x0;}[_0x33cce6(0x178)](){const _0x54a9d5=_0x33cce6;this[_0x54a9d5(0x17f)]=this[_0x54a9d5(0x156)][_0x54a9d5(0x158)][_0x54a9d5(0x148)](_0x54a9d5(0x17f));const _0x3bf5a8=this[_0x54a9d5(0x156)];this[_0x54a9d5(0x13c)]=setInterval(()=>{const _0x524ff5=_0x54a9d5;let _0x36b925;for(const _0x5e5564 in _0x3bf5a8){const _0x457b2b=_0x5e5564,_0x52c3fc=_0x3bf5a8[_0x457b2b];if(_0x524ff5(0x161)==_0x52c3fc||_0x524ff5(0x14e)==_0x52c3fc||_0x524ff5(0x151)==_0x52c3fc||_0x524ff5(0x13e)==_0x52c3fc||_0x524ff5(0x15e)==_0x52c3fc||_0x524ff5(0x170)==_0x52c3fc||_0x524ff5(0x16f)==_0x52c3fc){delete _0x3bf5a8[_0x457b2b],_0x36b925=_0x52c3fc,clearInterval(this[_0x524ff5(0x13c)]),this[_0x524ff5(0x13c)]=void 0x0;break;}}_0x524ff5(0x14e)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x16e)),_0x524ff5(0x151)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x174)),_0x524ff5(0x13e)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x167)),_0x524ff5(0x15e)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x175),_0x524ff5(0x152)),_0x524ff5(0x170)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x146)),_0x524ff5(0x16f)==_0x36b925&&_0x3bf5a8[_0x524ff5(0x138)](_0x524ff5(0x169));},0x3e8);}[_0x33cce6(0x179)](){const _0x38770a=_0x33cce6,{editor:_0x20b4f7}=this,_0x314928=_0x20b4f7[_0x38770a(0x153)][_0x38770a(0x148)](_0x38770a(0x134));if(!_0x314928)return;const _0x5c9d21=this[_0x38770a(0x14c)](_0x20b4f7[_0x38770a(0x158)][_0x38770a(0x148)](_0x38770a(0x164)))[_0x38770a(0x15f)]((_0x26e084,_0x59da6e)=>{const _0x458d34=_0x38770a,_0x275240=this[_0x458d34(0x159)](_0x59da6e[_0x458d34(0x162)]);return _0x26e084[_0x275240]||(_0x26e084[_0x275240]=[]),_0x26e084[_0x275240][_0x458d34(0x15d)](_0x59da6e),_0x26e084;},{});_0x20b4f7[_0x38770a(0x139)][_0x38770a(0x137)](_0x38770a(0x142))&&_0x20b4f7[_0x38770a(0x153)][_0x38770a(0x148)](_0x38770a(0x134))&&Object[_0x38770a(0x143)](_0x5c9d21)[_0x38770a(0x15c)](([_0x5856d3,_0x44f89c])=>{const _0xc98aaf=_0x38770a;_0x20b4f7[_0xc98aaf(0x139)][_0xc98aaf(0x148)](_0xc98aaf(0x142))[_0xc98aaf(0x15b)]({'name':_0x5856d3,'observable':()=>_0x314928,'buttonViewCreator':()=>this[_0xc98aaf(0x133)](_0x44f89c),'formViewCreator':()=>this[_0xc98aaf(0x17d)](_0x44f89c),'menuBarButtonViewCreator':()=>this[_0xc98aaf(0x13b)](_0x44f89c),'override':_0xc98aaf(0x135)!==_0x5856d3});});}[_0x33cce6(0x17b)](){const _0x112e66=_0x33cce6;super[_0x112e66(0x17b)](),this[_0x112e66(0x13c)]&&clearInterval(this[_0x112e66(0x13c)]);}[_0x33cce6(0x14c)](_0x143dec){const _0x58c079=_0x33cce6,{locale:_0x5e39d1}=this[_0x58c079(0x156)];return _0x143dec[_0x58c079(0x17c)](_0x3571a1=>{const _0x35c8a3=_0x58c079,_0x1f9b12=_0x495d25(_0x5e39d1,_0x3571a1,_0x35c8a3(0x16a));switch(_0x3571a1){case _0x15aaae[_0x35c8a3(0x168)]:return{'icon':_0x19b012,'type':_0x15aaae[_0x35c8a3(0x168)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x172)]:return{'icon':_0x43de74,'type':_0x15aaae[_0x35c8a3(0x172)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x173)]:return{'icon':_0x361dab,'type':_0x15aaae[_0x35c8a3(0x173)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x17a)]:return{'icon':_0x488a27,'type':_0x15aaae[_0x35c8a3(0x17a)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x14a)]:return{'icon':_0x476302,'type':_0x15aaae[_0x35c8a3(0x14a)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x14f)]:return{'icon':_0x13e2b2,'type':_0x15aaae[_0x35c8a3(0x14f)],..._0x1f9b12};case _0x15aaae[_0x35c8a3(0x131)]:return{'icon':_0x2ac54f,'type':_0x15aaae[_0x35c8a3(0x131)],..._0x1f9b12};}});}[_0x33cce6(0x159)](_0x4e52b3){const _0x5fcbc8=_0x33cce6;switch(_0x4e52b3){case _0x15aaae[_0x5fcbc8(0x168)]:return _0x5fcbc8(0x180);case _0x15aaae[_0x5fcbc8(0x172)]:return _0x5fcbc8(0x154);default:return _0x5fcbc8(0x135);}}[_0x33cce6(0x14b)](_0x512499,_0x18450b){const _0x4ddee8=_0x33cce6,_0x5e1c1d=this[_0x4ddee8(0x156)],_0x1f860a=new _0x512499(_0x5e1c1d[_0x4ddee8(0x145)]),_0x514cac=_0x5e1c1d[_0x4ddee8(0x153)][_0x4ddee8(0x148)](_0x4ddee8(0x134));return _0x1f860a[_0x4ddee8(0x13d)](_0x4ddee8(0x163))['to'](_0x514cac),_0x1f860a['on'](_0x4ddee8(0x140),()=>{const _0x3a7957=_0x4ddee8;_0x514cac[_0x3a7957(0x140)](_0x18450b);}),_0x1f860a;}[_0x33cce6(0x133)](_0x74cbb5){const _0x5ad316=_0x33cce6,{locale:_0x4d8b40}=this[_0x5ad316(0x156)],_0x4fd224=this[_0x5ad316(0x156)][_0x5ad316(0x139)][_0x5ad316(0x148)](_0x5ad316(0x142)),_0x1d6075=_0x74cbb5[0x0],_0x3257d3=this[_0x5ad316(0x14b)](_0x22c118,_0x1d6075[_0x5ad316(0x162)]);return _0x3257d3[_0x5ad316(0x181)]=_0x1d6075[_0x5ad316(0x181)],_0x3257d3[_0x5ad316(0x13d)](_0x5ad316(0x16c))['to'](_0x4fd224,_0x5ad316(0x149),_0x31c37d=>_0x495d25(_0x4d8b40,_0x1d6075[_0x5ad316(0x162)],_0x31c37d?_0x5ad316(0x16b):_0x5ad316(0x16a))[_0x5ad316(0x177)]),_0x3257d3[_0x5ad316(0x136)]=!0x0,_0x3257d3;}[_0x33cce6(0x17d)](_0x53ed4a){const _0x13369f=_0x33cce6,{locale:_0x2e8fcc}=this[_0x13369f(0x156)],_0x4c2fba=this[_0x13369f(0x156)][_0x13369f(0x139)][_0x13369f(0x148)](_0x13369f(0x142));return _0x53ed4a[_0x13369f(0x17c)](_0x5dd20c=>{const _0x3fb0b3=_0x13369f,_0x3a2690=this[_0x3fb0b3(0x14b)](_0x22c118,_0x5dd20c[_0x3fb0b3(0x162)]);return _0x3a2690[_0x3fb0b3(0x165)]=!0x0,_0x3a2690[_0x3fb0b3(0x181)]=_0x5dd20c[_0x3fb0b3(0x181)],_0x3a2690[_0x3fb0b3(0x13d)](_0x3fb0b3(0x16c))['to'](_0x4c2fba,_0x3fb0b3(0x149),_0x3e433b=>_0x495d25(_0x2e8fcc,_0x5dd20c[_0x3fb0b3(0x162)],_0x3e433b?_0x3fb0b3(0x16b):_0x3fb0b3(0x16a))[_0x3fb0b3(0x177)]),_0x3a2690;});}[_0x33cce6(0x13b)](_0x8ce368){const _0x20a43c=_0x33cce6;return _0x8ce368[_0x20a43c(0x17c)](_0x2d3d27=>{const _0xbf2320=_0x20a43c,_0x531490=this[_0xbf2320(0x14b)](_0x1b6e64,_0x2d3d27[_0xbf2320(0x162)]);return _0x531490[_0xbf2320(0x181)]=_0x2d3d27[_0xbf2320(0x181)],_0x531490[_0xbf2320(0x16c)]=_0x2d3d27[_0xbf2320(0x160)],_0x531490;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a93e9}from'ckeditor5/src/core.js';import{FileRepository as _0x31b3b5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1ca196}from'./uploadcareediting.js';import{UploadUtils as _0x2d40b4}from'./utils/uploadutils.js';import{getImageUrls as _0x2d714f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a93e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31b3b5,_0x1ca196];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4463f2=this['editor'];if(!!!_0x4463f2['config']['get']('uploadcare'))return;_0x4463f2['plugins']['get'](_0x31b3b5)['createUploadAdapter']=_0x3189e8=>new k(_0x3189e8,_0x4463f2),_0x4463f2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x42db29,{imageElement:_0x3bd0d0,data:_0x313c4d})=>{_0x4463f2['model']['change'](_0x53eb04=>{_0x53eb04['setAttribute']('uploadcareImageId',_0x313c4d['uploadcareImageId'],_0x3bd0d0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2cdbe8,_0x514731){this['loader']=_0x2cdbe8,this['editor']=_0x514731,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x527b34=await this['loader']['file'];return _0x2d40b4['upload']({'file':_0x527b34,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x413ad0=>{_0x413ad0&&_0x413ad0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x413ad0['value']);}})['then'](async _0x135b2b=>{const {imageFallbackUrl:_0x3c63fa,imageSources:_0x34fbd4}=_0x2d714f(_0x135b2b['cdnUrl'],_0x135b2b['imageInfo']['width']);return{'uploadcareImageId':_0x135b2b['uuid'],'default':_0x3c63fa,'sources':_0x34fbd4};})['catch'](()=>{const _0x29e5f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x527b34['name']+'.');return Promise['reject'](_0x29e5f8);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x22bb98}from'ckeditor5/src/core.js';import{FileRepository as _0xcfe210}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2bbcfc}from'./uploadcareediting.js';import{UploadUtils as _0x27dc2}from'./utils/uploadutils.js';import{getImageUrls as _0x3d09c8}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x22bb98{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xcfe210,_0x2bbcfc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x18b089=this['editor'];if(!!!_0x18b089['config']['get']('uploadcare'))return;_0x18b089['plugins']['get'](_0xcfe210)['createUploadAdapter']=_0x4dacd2=>new k(_0x4dacd2,_0x18b089),_0x18b089['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x369a56,{imageElement:_0x2eb203,data:_0x5adb72})=>{_0x18b089['model']['change'](_0x170577=>{_0x170577['setAttribute']('uploadcareImageId',_0x5adb72['uploadcareImageId'],_0x2eb203);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2bb10e,_0x19191d){this['loader']=_0x2bb10e,this['editor']=_0x19191d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1a744c=await this['loader']['file'];return _0x27dc2['upload']({'file':_0x1a744c,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x23c115=>{_0x23c115&&_0x23c115['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x23c115['value']);}})['then'](async _0x40185c=>{const {imageFallbackUrl:_0x3298e2,imageSources:_0x5e2f7b}=_0x3d09c8(_0x40185c['cdnUrl'],_0x40185c['imageInfo']['width']);return{'uploadcareImageId':_0x40185c['uuid'],'default':_0x3298e2,'sources':_0x5e2f7b};})['catch'](()=>{const _0x440f26=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a744c['name']+'.');return Promise['reject'](_0x440f26);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x16992c}from'../uploadcareconfig.js';export function getTranslation(_0x485975,_0x6fbdbd,_0x4365d9){const t=_0x485975['t'],_0x276859=_0x485975['t'];switch(_0x6fbdbd){case _0x16992c['Local']:return{'text':_0x276859('Insert'===_0x4365d9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x276859('From\x20computer')};case _0x16992c['URL']:return{'text':'Insert'===_0x4365d9?_0x276859('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x276859('Via\x20URL')};case _0x16992c['Dropbox']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x16992c['Facebook']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x16992c['GDrive']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x16992c['GPhotos']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x16992c['OneDrive']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x6fbdbd;}}
23
+ import{UploadcareSource as _0x30d073}from'../uploadcareconfig.js';export function getTranslation(_0x1712fc,_0xd0800a,_0x59d464){const t=_0x1712fc['t'],_0x43b96e=_0x1712fc['t'];switch(_0xd0800a){case _0x30d073['Local']:return{'text':_0x43b96e('Insert'===_0x59d464?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x43b96e('From\x20computer')};case _0x30d073['URL']:return{'text':'Insert'===_0x59d464?_0x43b96e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x43b96e('Via\x20URL')};case _0x30d073['Dropbox']:return{'text':t('Insert'===_0x59d464?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x30d073['Facebook']:return{'text':t('Insert'===_0x59d464?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x30d073['GDrive']:return{'text':t('Insert'===_0x59d464?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x30d073['GPhotos']:return{'text':t('Insert'===_0x59d464?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x30d073['OneDrive']:return{'text':t('Insert'===_0x59d464?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd0800a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd25f2=_0x3749;(function(_0x29f554,_0x5953e7){var _0x286377=_0x3749,_0x53b1be=_0x29f554();while(!![]){try{var _0x563b0e=parseInt(_0x286377(0xff))/0x1*(parseInt(_0x286377(0xfa))/0x2)+parseInt(_0x286377(0xf1))/0x3*(-parseInt(_0x286377(0xf5))/0x4)+-parseInt(_0x286377(0xfd))/0x5*(-parseInt(_0x286377(0xf9))/0x6)+parseInt(_0x286377(0xfc))/0x7+-parseInt(_0x286377(0x102))/0x8*(-parseInt(_0x286377(0xf6))/0x9)+parseInt(_0x286377(0x101))/0xa*(parseInt(_0x286377(0xfe))/0xb)+-parseInt(_0x286377(0x104))/0xc*(parseInt(_0x286377(0xfb))/0xd);if(_0x563b0e===_0x5953e7)break;else _0x53b1be['push'](_0x53b1be['shift']());}catch(_0x1681c3){_0x53b1be['push'](_0x53b1be['shift']());}}}(_0x119a,0x5c7e7));import{FocusTracker as _0x51b17d}from'ckeditor5/src/utils.js';import{View as _0x3938e6,FocusCycler as _0x29ea6b}from'ckeditor5/src/ui.js';function _0x119a(){var _0x5600c8=['getFocusableElement','fire','512880Ercakz','div','forwardCycle','createCollection','4vVWsXo','27qspzCY','focusTracker','bindTemplate','30BUGyjD','438IsWBvk','52637LXMEDG','980763CvaEBS','137615xIWAob','7408577zvzZWD','1621mPdKhJ','true','10iETumP','822592qsxVcL','focusCycler','3156OdhqQn'];_0x119a=function(){return _0x5600c8;};return _0x119a();}import'../../theme/uploadcare-form.css';function _0x3749(_0x484056,_0x505e23){var _0x119adf=_0x119a();return _0x3749=function(_0x3749ee,_0x157f1a){_0x3749ee=_0x3749ee-0xef;var _0x57cbdd=_0x119adf[_0x3749ee];return _0x57cbdd;},_0x3749(_0x484056,_0x505e23);}export class DialogFocusManagerView extends _0x3938e6{[_0xd25f2(0xf7)];[_0xd25f2(0x103)];constructor(_0x2c4923){var _0x2d5b08=_0xd25f2;super(_0x2c4923),this[_0x2d5b08(0xf7)]=new _0x51b17d(),this[_0x2d5b08(0x103)]=new _0x29ea6b({'focusables':this[_0x2d5b08(0xf4)](),'focusTracker':this[_0x2d5b08(0xf7)]});}[_0xd25f2(0xef)](){var _0x1fa537=_0xd25f2;return{'tag':_0x1fa537(0xf2),'attributes':{'aria-hidden':_0x1fa537(0x100),'tabindex':'0'},'on':{'focus':this[_0x1fa537(0xf8)]['to'](()=>{var _0x2d1261=_0x1fa537;this[_0x2d1261(0x103)][_0x2d1261(0xf0)](_0x2d1261(0xf3));})}};}}
23
+ function _0x3376(){var _0x17f063=['createCollection','43729TcqWLK','getFocusableElement','bindTemplate','721616SHWubw','115716WJXeyW','div','1095360iASdPL','30LhGASC','783639GQJeph','focusCycler','fire','40zOCTDc','827184kTdFku','forwardCycle','122154Hjmlxo','12RzefRY','true','focusTracker'];_0x3376=function(){return _0x17f063;};return _0x3376();}function _0x25a6(_0x410e0a,_0x257af3){var _0x337695=_0x3376();return _0x25a6=function(_0x25a67b,_0x3c8f22){_0x25a67b=_0x25a67b-0x18a;var _0x4c5012=_0x337695[_0x25a67b];return _0x4c5012;},_0x25a6(_0x410e0a,_0x257af3);}var _0x46acec=_0x25a6;(function(_0x4e4b05,_0x5a5fc4){var _0x574b51=_0x25a6,_0x597ce8=_0x4e4b05();while(!![]){try{var _0x403517=parseInt(_0x574b51(0x195))/0x1+-parseInt(_0x574b51(0x196))/0x2*(-parseInt(_0x574b51(0x18b))/0x3)+-parseInt(_0x574b51(0x193))/0x4+-parseInt(_0x574b51(0x18d))/0x5+parseInt(_0x574b51(0x18e))/0x6*(-parseInt(_0x574b51(0x19a))/0x7)+-parseInt(_0x574b51(0x18a))/0x8+-parseInt(_0x574b51(0x18f))/0x9*(-parseInt(_0x574b51(0x192))/0xa);if(_0x403517===_0x5a5fc4)break;else _0x597ce8['push'](_0x597ce8['shift']());}catch(_0x455827){_0x597ce8['push'](_0x597ce8['shift']());}}}(_0x3376,0x25bc5));import{FocusTracker as _0x6bf362}from'ckeditor5/src/utils.js';import{View as _0x48ec79,FocusCycler as _0x1cd14d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x48ec79{[_0x46acec(0x198)];[_0x46acec(0x190)];constructor(_0x26b051){var _0x551f67=_0x46acec;super(_0x26b051),this[_0x551f67(0x198)]=new _0x6bf362(),this[_0x551f67(0x190)]=new _0x1cd14d({'focusables':this[_0x551f67(0x199)](),'focusTracker':this[_0x551f67(0x198)]});}[_0x46acec(0x19b)](){var _0x49aa98=_0x46acec;return{'tag':_0x49aa98(0x18c),'attributes':{'aria-hidden':_0x49aa98(0x197),'tabindex':'0'},'on':{'focus':this[_0x49aa98(0x19c)]['to'](()=>{var _0x4b3a17=_0x49aa98;this[_0x4b3a17(0x190)][_0x4b3a17(0x191)](_0x4b3a17(0x194));})}};}}