@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.3 → 46.0.0-alpha.5

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 _0x2fa774=_0xfcff;(function(_0x1f9c0e,_0x308923){const _0x4165dc=_0xfcff,_0x4428a8=_0x1f9c0e();while(!![]){try{const _0x2922b2=-parseInt(_0x4165dc(0x1b0))/0x1+-parseInt(_0x4165dc(0x1b2))/0x2*(parseInt(_0x4165dc(0x1a9))/0x3)+-parseInt(_0x4165dc(0x1b3))/0x4+-parseInt(_0x4165dc(0x17d))/0x5*(-parseInt(_0x4165dc(0x1a5))/0x6)+-parseInt(_0x4165dc(0x179))/0x7+parseInt(_0x4165dc(0x187))/0x8+-parseInt(_0x4165dc(0x188))/0x9*(-parseInt(_0x4165dc(0x19f))/0xa);if(_0x2922b2===_0x308923)break;else _0x4428a8['push'](_0x4428a8['shift']());}catch(_0x11b595){_0x4428a8['push'](_0x4428a8['shift']());}}}(_0x3aa3,0xbc502));import{Plugin as _0x20be90}from'ckeditor5/src/core.js';function _0x3aa3(){const _0x4b461c=['selection','input[uploadcare-file-input]','attributeToAttribute','_ctxElement','PictureEditing','ucContextId','data-uc-image-id','uploadcare','_initConfig','4877733zAXMPo','uploadcare.uploader','locale','render','1585385TnVZpm','commands','upcast','fromCharCode','map','removeAttribute','pluginName','add','isOfficialPlugin','getSelectedElement','11644568pWbjkN','9BqRiVk','\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','_initSchema','replaceImageSource','_configElement','afterInit','get','config','editing','getAttribute','view','uploadcareImageId','conversion','iconHrefResolver','for','elementToAttribute','cleanupImage','uploadcare.pubkey','contentLanguage','extend','model','requires','document','30775190zKqJyB','listenTo','uploader-','isPremiumPlugin','destroy','_initImageProcessingIndicator','12atqIUj','imageBlock','body','remove','2744679PWCnCd','downcast','configElement','#uc-icon-arrow-down','_initConversion','href','uc-upload-ctx-provider','1291676EVRGzo','true','2jUYczU','5970104TMgMoy','ctxElement','once','insertImage','join','init','uc-config','_initCtx','appendChild','schema','uploadcareImageReplace','execute','imageInline','editor','UploadcareEditing','querySelector','isRegistered','closeMax'];_0x3aa3=function(){return _0x4b461c;};return _0x3aa3();}import{Dialog as _0x4639f8}from'ckeditor5/src/ui.js';function _0xfcff(_0x54e4d1,_0x5ab076){const _0x3aa345=_0x3aa3();return _0xfcff=function(_0xfcff51,_0x312fa7){_0xfcff51=_0xfcff51-0x174;let _0xf204cd=_0x3aa345[_0xfcff51];return _0xf204cd;},_0xfcff(_0x54e4d1,_0x5ab076);}import{createElement as _0x2863f8,global as _0x2b9e28,uid as _0x143f1f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3b31bd}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x46a1cd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x24b6df}from'./utils/editingutils.js';export class UploadcareEditing extends _0x20be90{[_0x2fa774(0x18c)]=null;[_0x2fa774(0x1c8)]=null;static get[_0x2fa774(0x183)](){const _0x2d3daf=_0x2fa774;return _0x2d3daf(0x1c1);}static get[_0x2fa774(0x19d)](){const _0x55b87e=_0x2fa774;return[_0x55b87e(0x174),_0x46a1cd,_0x4639f8];}static get[_0x2fa774(0x185)](){return!0x0;}static get[_0x2fa774(0x1a2)](){return!0x0;}[_0x2fa774(0x175)];get[_0x2fa774(0x1ab)](){const _0x1f93b0=_0x2fa774;return this[_0x1f93b0(0x18c)];}get[_0x2fa774(0x1b4)](){const _0x2c4c73=_0x2fa774;return this[_0x2c4c73(0x1c8)];}constructor(_0x52dfa9){const _0x2fe9d9=_0x2fa774;super(_0x52dfa9),this[_0x2fe9d9(0x175)]=_0x143f1f();}[_0x2fa774(0x1b8)](){const _0x2a5e94=_0x2fa774,_0x1c34ad=this[_0x2a5e94(0x1c0)];_0x1c34ad[_0x2a5e94(0x17e)][_0x2a5e94(0x184)](_0x2a5e94(0x177),new _0x3b31bd(_0x1c34ad));}[_0x2fa774(0x18d)](){const _0x539369=_0x2fa774;this[_0x539369(0x18a)](),this[_0x539369(0x1ad)](),this[_0x539369(0x178)](),this[_0x539369(0x1ba)](),this[_0x539369(0x1a4)](),this[_0x539369(0x1a0)](this[_0x539369(0x1c0)],_0x539369(0x1a3),()=>{const _0x1a1718=_0x539369;this[_0x1a1718(0x18c)]&&(this[_0x1a1718(0x18c)][_0x1a1718(0x1a8)](),this[_0x1a1718(0x18c)]=null),this[_0x1a1718(0x1c8)]&&(this[_0x1a1718(0x1c8)][_0x1a1718(0x1a8)](),this[_0x1a1718(0x1c8)]=null);const _0x3c2696=_0x2b9e28[_0x1a1718(0x19e)][_0x1a1718(0x1c2)](_0x1a1718(0x1c6));_0x3c2696&&_0x3c2696[_0x1a1718(0x1a8)]();}),async function(_0xd34b65){const _0x111d92=_0xeebd6([0x76,0x72,0x6c,0x54,0x35,0x66,0x79,0x48,0x63,0x68,0x32,0x51,0x6e,0x43,0x77,0x56,0x49,0x39,0x46,0x65,0x47,0x70,0x71,0x59,0x61,0x52,0x45,0x4f,0x6b,0x42,0x7a,0x55,0x34,0x6d,0x37,0x62,0x53,0x58,0x5a,0x6f,0x69,0x4b,0x78,0x41,0x75,0x73,0x36,0x4a,0x57,0x38,0x33,0x44,0x4e,0x4d,0x30,0x67,0x31,0x6a,0x50,0x74,0x64,0x4c]),_0x147ef4=0x2dca9494,_0x5cebf4=0x2dcdf80c^_0x147ef4,_0x300143=window[_0xeebd6([0x44,0x61,0x74,0x65])][_0xeebd6([0x6e,0x6f,0x77])](),_0xd0b274=_0xd34b65[_0xeebd6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23b0c0=new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe8395=>{_0xd0b274[_0xeebd6([0x6f,0x6e,0x63,0x65])](_0xeebd6([0x72,0x65,0x61,0x64,0x79]),_0xe8395);}),_0xa8b348={[_0xeebd6([0x6b,0x74,0x79])]:_0xeebd6([0x45,0x43]),[_0xeebd6([0x75,0x73,0x65])]:_0xeebd6([0x73,0x69,0x67]),[_0xeebd6([0x63,0x72,0x76])]:_0xeebd6([0x50,0x2d,0x32,0x35,0x36]),[_0xeebd6([0x78])]:_0xeebd6([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]),[_0xeebd6([0x79])]:_0xeebd6([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]),[_0xeebd6([0x61,0x6c,0x67])]:_0xeebd6([0x45,0x53,0x32,0x35,0x36])},_0x44e576=_0xd0b274[_0xeebd6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xeebd6([0x67,0x65,0x74])](_0xeebd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b5e7d(){let _0x289781,_0x13de91=null,_0x327ce7=null;try{if(_0x44e576==_0xeebd6([0x47,0x50,0x4c]))return _0xeebd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x289781=_0x1b078c(),!_0x289781)return _0xeebd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x289781[_0xeebd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x327ce7=_0xd0def8(_0x289781[_0xeebd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x289781[_0xeebd6([0x6a,0x74,0x69])])),await _0x5e2e1c()?_0x51d4a9()?_0x444046()?_0xeebd6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34c33d()?(_0x289781[_0xeebd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xeebd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x13de91=_0x57ffef(_0xeebd6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x289781[_0xeebd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xeebd6([0x74,0x72,0x69,0x61,0x6c])&&(_0x13de91=_0x57ffef(_0xeebd6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ae350()):_0xeebd6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xeebd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xeebd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xeebd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x444046(){const _0x7d6bc0=[_0xeebd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xeebd6([0x74,0x72,0x69,0x61,0x6c])][_0xeebd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289781[_0xeebd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x300143/0x3e8:0xe10*_0x5cebf4;return _0x289781[_0xeebd6([0x65,0x78,0x70])]<_0x7d6bc0;}function _0x51d4a9(){const _0x2a1172=_0x289781[_0xeebd6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a1172&&(!!_0x2a1172[_0xeebd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeebd6([0x2a]))||!!_0x2a1172[_0xeebd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeebd6([0x55,0x50,0x4c,0x43])));}function _0x34c33d(){const _0x318f13=_0xfcff,_0x5a52e4=_0x289781[_0xeebd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a52e4||0x0==_0x5a52e4[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x539fa0}=new URL(window[_0xeebd6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x318f13(0x1ae)]);if(_0x5a52e4[_0xeebd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539fa0))return!0x0;const _0x279965=_0x539fa0[_0xeebd6([0x73,0x70,0x6c,0x69,0x74])](_0xeebd6([0x2e]));return _0x5a52e4[_0xeebd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4708bf=>_0x4708bf[_0xeebd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xeebd6([0x2a])))[_0xeebd6([0x6d,0x61,0x70])](_0xf333e4=>_0xf333e4[_0xeebd6([0x73,0x70,0x6c,0x69,0x74])](_0xeebd6([0x2e])))[_0xeebd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d0b9b=>_0x2d0b9b[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x279965[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xeebd6([0x6d,0x61,0x70])](_0x101ad4=>Array(_0x279965[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x101ad4[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xeebd6([0x66,0x69,0x6c,0x6c])](_0x101ad4[0x0]===_0xeebd6([0x2a])?_0xeebd6([0x2a]):'')[_0xeebd6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x101ad4))[_0xeebd6([0x73,0x6f,0x6d,0x65])](_0x4f571c=>_0x279965[_0xeebd6([0x65,0x76,0x65,0x72,0x79])]((_0x240cbc,_0x443f07)=>_0x4f571c[_0x443f07]===_0x240cbc||_0x4f571c[_0x443f07]===_0xeebd6([0x2a])));}function _0x2ae350(){return _0x13de91&&_0x327ce7?new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10093e,_0x1529c1)=>{_0x13de91[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x10093e,_0x1529c1),_0x327ce7[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x1bc435=>{_0x1bc435!=_0xeebd6([0x56,0x61,0x6c,0x69,0x64])&&_0x10093e(_0x1bc435);},_0x1529c1);}):_0x13de91||_0x327ce7||_0xeebd6([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd0def8(_0x45aa33,_0x54b639){return new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e6895=>{if(_0x3bddbc())return _0x4e6895(_0xeebd6([0x56,0x61,0x6c,0x69,0x64]));_0x1af326(),_0xd0b274[_0xeebd6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xeebd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21ce79=!0x1;const _0x258dc1=_0x143f1f();function _0x5c4fc7(_0x610d35){return!!_0x610d35&&(typeof _0x610d35===_0xeebd6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x610d35===_0xeebd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x610d35[_0xeebd6([0x74,0x68,0x65,0x6e])]===_0xeebd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x610d35[_0xeebd6([0x63,0x61,0x74,0x63,0x68])]===_0xeebd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x497fa0(_0x3dcc8a){_0x586ace(_0x3dcc8a)[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x2aa5e2=>{if(!_0x2aa5e2||_0x2aa5e2[_0xeebd6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xeebd6([0x6f,0x6b]))return _0xeebd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x541dd7(_0x1a18fd(_0x258dc1+_0x54b639))!=_0x2aa5e2[_0xeebd6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xeebd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xeebd6([0x56,0x61,0x6c,0x69,0x64]);})[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x3c1fff=>(_0x44e638(),_0x3c1fff),()=>{const _0x199515=_0x526084();return null==_0x199515?(_0x44e638(),_0xeebd6([0x56,0x61,0x6c,0x69,0x64])):_0xeebd6(_0x300143-_0x199515>(0x9c61094^_0x147ef4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x4e6895)[_0xeebd6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e6895(_0xeebd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4497d6=0x2dfc7a14^_0x147ef4;function _0x44e638(){const _0x3670c4=_0xeebd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x541dd7(_0x1a18fd(_0x45aa33)),_0xcb42db=_0x15689c(_0x541dd7(window[_0xeebd6([0x4d,0x61,0x74,0x68])][_0xeebd6([0x63,0x65,0x69,0x6c])](_0x300143/_0x4497d6)));window[_0xeebd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xeebd6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3670c4,_0xcb42db);}function _0x526084(){const _0x159919=_0xeebd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x541dd7(_0x1a18fd(_0x45aa33)),_0x378f69=window[_0xeebd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xeebd6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x159919);return _0x378f69?window[_0xeebd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15689c(_0x378f69),0x10)*_0x4497d6:null;}function _0x586ace(_0x598c2f){return new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46bb07,_0x1cdd42)=>{_0x598c2f[_0xeebd6([0x74,0x68,0x65,0x6e])](_0x46bb07,_0x1cdd42),window[_0xeebd6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cdd42,0x2dcb4054^_0x147ef4);});}}_0xd0b274[_0xeebd6([0x6f,0x6e])](_0xeebd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x479730,_0x119e9a)=>{if(_0x119e9a[0x0]!=_0x45aa33)return _0x4e6895(_0xeebd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x119e9a[0x1]={..._0x119e9a[0x1],[_0xeebd6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x258dc1};},{[_0xeebd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xeebd6([0x68,0x69,0x67,0x68])}),_0xd0b274[_0xeebd6([0x6f,0x6e])](_0xeebd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9c50d0=>{_0x5c4fc7(_0x9c50d0[_0xeebd6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21ce79=!0x0,_0x497fa0(_0x9c50d0[_0xeebd6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xeebd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xeebd6([0x6c,0x6f,0x77])}),_0x23b0c0[_0xeebd6([0x74,0x68,0x65,0x6e])](()=>{_0x21ce79||_0x4e6895(_0xeebd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bddbc(){return _0xd0b274[_0xeebd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xeebd6([0x76,0x69,0x65,0x77])][_0xeebd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xeebd6([0x61,0x75,0x74,0x6f]);}function _0x1af326(){_0xd0b274[_0xeebd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xeebd6([0x76,0x69,0x65,0x77])][_0xeebd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xeebd6([0x61,0x75,0x74,0x6f]);}}function _0x57ffef(_0x5d5872){const _0x1068cf=[new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ef1f4=>setTimeout(_0x4ef1f4,0x2dc3aa58^_0x147ef4)),_0x23b0c0[_0xeebd6([0x74,0x68,0x65,0x6e])](()=>new window[(_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44286a=>{let _0x55b4f2=0x0;_0xd0b274[_0xeebd6([0x6d,0x6f,0x64,0x65,0x6c])][_0xeebd6([0x6f,0x6e])](_0xeebd6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd07ab7,_0x3f0f63)=>{_0x3f0f63[0x0][_0xeebd6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55b4f2++,_0x55b4f2==(0x2dca956c^_0x147ef4)&&(_0x44286a(),_0xd07ab7[_0xeebd6([0x6f,0x66,0x66])]());});}))];return window[_0xeebd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xeebd6([0x72,0x61,0x63,0x65])](_0x1068cf)[_0xeebd6([0x74,0x68,0x65,0x6e])](()=>_0x5d5872);}async function _0x2fe32e(){await _0x23b0c0,_0xd0b274[_0xeebd6([0x6d,0x6f,0x64,0x65,0x6c])][_0xeebd6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8533b,_0xd0b274[_0xeebd6([0x6d,0x6f,0x64,0x65,0x6c])][_0xeebd6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8533b,_0xd0b274[_0xeebd6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xeebd6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b6187(_0x2b2fa5){const _0x5be475=_0x5569fa();_0xd0b274[_0x5be475]=_0xeebd6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b2fa5,_0x2b2fa5!=_0xeebd6([0x56,0x61,0x6c,0x69,0x64])&&_0x2fe32e();}function _0x5569fa(){const _0x3080a6=window[_0xeebd6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xeebd6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xeebd6([0x6e,0x6f,0x77])]())[_0xeebd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xeebd6([0x2e]),'');let _0x3caac8=_0xeebd6([0x76]);for(let _0x4bb9e3=0x0;_0x4bb9e3<_0x3080a6[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bb9e3+=0x2){let _0x1992a0=window[_0xeebd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3080a6[_0xeebd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bb9e3,_0x4bb9e3+0x2));_0x1992a0>=_0x111d92[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1992a0-=_0x111d92[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3caac8+=_0x111d92[_0x1992a0];}return _0x3caac8;}function _0x1b078c(){const _0x4756e5=_0x44e576[_0xeebd6([0x73,0x70,0x6c,0x69,0x74])](_0xeebd6([0x2e]));if(0x3!=_0x4756e5[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37820b(_0x4756e5[0x1]);function _0x37820b(_0x11b115){const _0x225937=_0x180d1a(_0x11b115);return _0x225937&&_0x5b826f()?_0x225937:null;function _0x5b826f(){const _0x83a091=_0x225937[_0xeebd6([0x6a,0x74,0x69])],_0x782d6b=window[_0xeebd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x83a091[_0xeebd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x83a091[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc04acb={..._0x225937,[_0xeebd6([0x6a,0x74,0x69])]:_0x83a091[_0xeebd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x83a091[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc04acb[_0xeebd6([0x76,0x63])],_0x1a18fd(_0xc04acb)==_0x782d6b;}}}async function _0x5e2e1c(){let _0x549186=!0x0;try{const _0x31ac75=_0x44e576[_0xeebd6([0x73,0x70,0x6c,0x69,0x74])](_0xeebd6([0x2e])),[_0x1c1e0d,_0x479bd5,_0x3064d4]=_0x31ac75;return _0x316377(_0x1c1e0d),await _0x310397(_0x1c1e0d,_0x479bd5,_0x3064d4),_0x549186;}catch{return!0x1;}function _0x316377(_0x4d6171){const _0x3fa56c=_0x180d1a(_0x4d6171);_0x3fa56c&&_0x3fa56c[_0xeebd6([0x61,0x6c,0x67])]==_0xeebd6([0x45,0x53,0x32,0x35,0x36])||(_0x549186=!0x1);}async function _0x310397(_0x4576f9,_0x1eae3f,_0x2e4b26){const _0x1fb196=window[_0xeebd6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xeebd6([0x66,0x72,0x6f,0x6d])](_0x26560c(_0x2e4b26),_0x27ae78=>_0x27ae78[_0xeebd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d8c8f=new window[(_0xeebd6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xeebd6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4576f9+_0xeebd6([0x2e])+_0x1eae3f),_0x292d63=window[_0xeebd6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xeebd6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x292d63)return;const _0x22706f=await _0x292d63[_0xeebd6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xeebd6([0x6a,0x77,0x6b]),_0xa8b348,{[_0xeebd6([0x6e,0x61,0x6d,0x65])]:_0xeebd6([0x45,0x43,0x44,0x53,0x41]),[_0xeebd6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xeebd6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xeebd6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x292d63[_0xeebd6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xeebd6([0x6e,0x61,0x6d,0x65])]:_0xeebd6([0x45,0x43,0x44,0x53,0x41]),[_0xeebd6([0x68,0x61,0x73,0x68])]:{[_0xeebd6([0x6e,0x61,0x6d,0x65])]:_0xeebd6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22706f,_0x1fb196,_0x4d8c8f)||(_0x549186=!0x1);}}function _0x180d1a(_0x4f2f7c){return _0x4f2f7c[_0xeebd6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xeebd6([0x65,0x79]))?JSON[_0xeebd6([0x70,0x61,0x72,0x73,0x65])](_0x26560c(_0x4f2f7c)):null;}function _0x26560c(_0x36abf0){return window[_0xeebd6([0x61,0x74,0x6f,0x62])](_0x36abf0[_0xeebd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xeebd6([0x2b]))[_0xeebd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xeebd6([0x2f])));}function _0x1a18fd(_0xba6596){let _0x47cbfb=0x1505;function _0x2d06f0(_0x3c8c43){for(let _0x15b447=0x0;_0x15b447<_0x3c8c43[_0xeebd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15b447++){const _0x1a91ac=_0x3c8c43[_0xeebd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15b447);_0x47cbfb=(_0x47cbfb<<0x5)+_0x47cbfb+_0x1a91ac,_0x47cbfb&=_0x47cbfb;}}function _0x1e6e0a(_0x17227b){Array[_0xeebd6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17227b)?_0x17227b[_0xeebd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e6e0a):_0x17227b&&typeof _0x17227b==_0xeebd6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xeebd6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17227b)[_0xeebd6([0x73,0x6f,0x72,0x74])]()[_0xeebd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57d811,_0xe39a04])=>{_0x2d06f0(_0x57d811),_0x1e6e0a(_0xe39a04);}):_0x2d06f0(window[_0xeebd6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17227b));}return _0x1e6e0a(_0xba6596),_0x47cbfb>>>0x0;}function _0x541dd7(_0x24ebb5){return _0x24ebb5[_0xeebd6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xeebd6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xeebd6([0x30]));}function _0x15689c(_0x4cf368){return _0x4cf368[_0xeebd6([0x73,0x70,0x6c,0x69,0x74])]('')[_0xeebd6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xeebd6([0x6a,0x6f,0x69,0x6e])]('');}function _0x8533b(){}function _0xeebd6(_0x53832c){const _0x40c4c5=_0xfcff;return _0x53832c[_0x40c4c5(0x181)](_0x14fd02=>String[_0x40c4c5(0x180)](_0x14fd02))[_0x40c4c5(0x1b7)]('');}_0x2b6187(await _0x2b5e7d());}(this);}[_0x2fa774(0x18a)](){const _0x43d708=_0x2fa774,_0x334d7f=this[_0x43d708(0x1c0)][_0x43d708(0x19c)][_0x43d708(0x1bc)];_0x334d7f[_0x43d708(0x1c3)](_0x43d708(0x1a6))&&_0x334d7f[_0x43d708(0x19b)](_0x43d708(0x1a6),{'allowAttributes':[_0x43d708(0x193)]}),_0x334d7f[_0x43d708(0x1c3)](_0x43d708(0x1bf))&&_0x334d7f[_0x43d708(0x19b)](_0x43d708(0x1bf),{'allowAttributes':[_0x43d708(0x193)]});}[_0x2fa774(0x1ad)](){const _0x22d947=_0x2fa774,_0x3ab617=this[_0x22d947(0x1c0)];_0x3ab617[_0x22d947(0x194)][_0x22d947(0x196)](_0x22d947(0x1aa))[_0x22d947(0x1c7)]({'model':_0x22d947(0x193),'view':_0x22d947(0x176)}),_0x3ab617[_0x22d947(0x194)][_0x22d947(0x196)](_0x22d947(0x17f))[_0x22d947(0x197)]({'model':{'key':_0x22d947(0x193),'value':_0x819083=>_0x819083[_0x22d947(0x191)](_0x22d947(0x176))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5277e3=_0x3ab617[_0x22d947(0x17e)][_0x22d947(0x18e)](_0x22d947(0x18b));_0x5277e3&&this[_0x22d947(0x1a0)](_0x5277e3,_0x22d947(0x198),(_0x35233f,[_0x2ebd06,_0x32a5a8])=>{const _0x393de3=_0x22d947;_0x2ebd06[_0x393de3(0x182)](_0x393de3(0x193),_0x32a5a8);});}[_0x2fa774(0x178)](){const _0x3ab9f0=_0x2fa774,_0x1ae998=this[_0x3ab9f0(0x1c0)][_0x3ab9f0(0x18f)][_0x3ab9f0(0x18e)](_0x3ab9f0(0x17a))||{},_0x4c2aa2=this[_0x3ab9f0(0x1c0)][_0x3ab9f0(0x18f)][_0x3ab9f0(0x18e)](_0x3ab9f0(0x199))||'';this[_0x3ab9f0(0x18c)]=_0x2863f8(_0x2b9e28[_0x3ab9f0(0x19e)],_0x3ab9f0(0x1b9),{..._0x1ae998,'pubkey':_0x4c2aa2,'ctx-name':_0x3ab9f0(0x1a1)+this[_0x3ab9f0(0x175)],'sourceList':'','imgOnly':_0x3ab9f0(0x1b1),'removeCopyright':_0x3ab9f0(0x1b1),'localeName':this[_0x3ab9f0(0x1c0)][_0x3ab9f0(0x17b)][_0x3ab9f0(0x19a)],'externalSourcesEmbedCss':_0x3ab9f0(0x189)}),this[_0x3ab9f0(0x18c)][_0x3ab9f0(0x195)]=_0x498835=>{const _0x456215=_0x3ab9f0;if(_0x456215(0x1c4)==_0x498835)return _0x456215(0x1ac);},_0x2b9e28[_0x3ab9f0(0x19e)][_0x3ab9f0(0x1a7)][_0x3ab9f0(0x1bb)](this[_0x3ab9f0(0x18c)]);}[_0x2fa774(0x1ba)](){const _0x31fd7d=_0x2fa774;this[_0x31fd7d(0x1c8)]=_0x2863f8(_0x2b9e28[_0x31fd7d(0x19e)],_0x31fd7d(0x1af),{'ctx-name':_0x31fd7d(0x1a1)+this[_0x31fd7d(0x175)]}),_0x2b9e28[_0x31fd7d(0x19e)][_0x31fd7d(0x1a7)][_0x31fd7d(0x1bb)](this[_0x31fd7d(0x1c8)]);}[_0x2fa774(0x1a4)](){const _0x3a396c=_0x2fa774,_0xa84b93=this[_0x3a396c(0x1c0)][_0x3a396c(0x17e)][_0x3a396c(0x18e)](_0x3a396c(0x1b6));_0xa84b93&&this[_0x3a396c(0x1a0)](_0xa84b93,_0x3a396c(0x1be),()=>{const _0x7a6772=_0x3a396c,_0x3b4fed=this[_0x7a6772(0x1c0)][_0x7a6772(0x19c)][_0x7a6772(0x19e)][_0x7a6772(0x1c5)][_0x7a6772(0x186)]();_0x3b4fed&&_0x3b4fed[_0x7a6772(0x191)](_0x7a6772(0x193))&&this[_0x7a6772(0x1c0)][_0x7a6772(0x190)][_0x7a6772(0x192)][_0x7a6772(0x1b5)](_0x7a6772(0x17c),()=>{const _0x321717=_0x7a6772;_0x24b6df(this[_0x321717(0x1c0)],_0x3b4fed);});});const _0x4217c4=this[_0x3a396c(0x1c0)][_0x3a396c(0x17e)][_0x3a396c(0x18e)](_0x3a396c(0x1bd));_0x4217c4&&this[_0x3a396c(0x1a0)](_0x4217c4,_0x3a396c(0x1be),()=>{const _0x1d1752=_0x3a396c,_0x279a17=this[_0x1d1752(0x1c0)][_0x1d1752(0x19c)][_0x1d1752(0x19e)][_0x1d1752(0x1c5)][_0x1d1752(0x186)]();_0x279a17&&_0x279a17[_0x1d1752(0x191)](_0x1d1752(0x193))&&this[_0x1d1752(0x1c0)][_0x1d1752(0x190)][_0x1d1752(0x192)][_0x1d1752(0x1b5)](_0x1d1752(0x17c),()=>{const _0x2c7246=_0x1d1752;_0x24b6df(this[_0x2c7246(0x1c0)],_0x279a17);});});}}
23
+ const _0x4e35ab=_0x3fa7;function _0x3fa7(_0x383ad7,_0x9fec3f){const _0x267703=_0x2677();return _0x3fa7=function(_0x3fa73d,_0x2798fb){_0x3fa73d=_0x3fa73d-0x1a9;let _0x1e08e5=_0x267703[_0x3fa73d];return _0x1e08e5;},_0x3fa7(_0x383ad7,_0x9fec3f);}(function(_0x1c6bb9,_0x5a0c9e){const _0x26b1fc=_0x3fa7,_0x1bfc29=_0x1c6bb9();while(!![]){try{const _0xf090b9=parseInt(_0x26b1fc(0x1c4))/0x1*(-parseInt(_0x26b1fc(0x1b7))/0x2)+parseInt(_0x26b1fc(0x1d1))/0x3+parseInt(_0x26b1fc(0x1b8))/0x4+parseInt(_0x26b1fc(0x1c2))/0x5*(-parseInt(_0x26b1fc(0x1b0))/0x6)+-parseInt(_0x26b1fc(0x1cc))/0x7*(-parseInt(_0x26b1fc(0x1fc))/0x8)+parseInt(_0x26b1fc(0x1bc))/0x9+-parseInt(_0x26b1fc(0x1b4))/0xa;if(_0xf090b9===_0x5a0c9e)break;else _0x1bfc29['push'](_0x1bfc29['shift']());}catch(_0x1ba802){_0x1bfc29['push'](_0x1bfc29['shift']());}}}(_0x2677,0x51666));import{Plugin as _0x41c48c}from'ckeditor5/src/core.js';import{Dialog as _0x9730a5}from'ckeditor5/src/ui.js';import{createElement as _0x4d587a,global as _0x42e5cc,uid as _0x39add1}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5da852}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x23506e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xad83ce}from'./utils/editingutils.js';export class UploadcareEditing extends _0x41c48c{[_0x4e35ab(0x1e8)]=null;[_0x4e35ab(0x1f0)]=null;static get[_0x4e35ab(0x1d3)](){const _0x2d66f8=_0x4e35ab;return _0x2d66f8(0x1c3);}static get[_0x4e35ab(0x1fa)](){const _0x509082=_0x4e35ab;return[_0x509082(0x1ba),_0x23506e,_0x9730a5];}static get[_0x4e35ab(0x1ae)](){return!0x0;}static get[_0x4e35ab(0x1d0)](){return!0x0;}[_0x4e35ab(0x1fb)];get[_0x4e35ab(0x1ea)](){const _0x49e44c=_0x4e35ab;return this[_0x49e44c(0x1e8)];}get[_0x4e35ab(0x1b9)](){const _0x1ec1c1=_0x4e35ab;return this[_0x1ec1c1(0x1f0)];}constructor(_0x3224fb){const _0x580e32=_0x4e35ab;super(_0x3224fb),this[_0x580e32(0x1fb)]=_0x39add1();}[_0x4e35ab(0x1ab)](){const _0x25d3e7=_0x4e35ab,_0x1e366c=this[_0x25d3e7(0x1f6)];_0x1e366c[_0x25d3e7(0x1ec)][_0x25d3e7(0x1ed)](_0x25d3e7(0x1ac),new _0x5da852(_0x1e366c));}[_0x4e35ab(0x1e6)](){const _0x47ba23=_0x4e35ab;this[_0x47ba23(0x1da)](),this[_0x47ba23(0x1d2)](),this[_0x47ba23(0x1d8)](),this[_0x47ba23(0x1cd)](),this[_0x47ba23(0x1f9)](),this[_0x47ba23(0x1c7)](this[_0x47ba23(0x1f6)],_0x47ba23(0x1b6),()=>{const _0x853f35=_0x47ba23;this[_0x853f35(0x1e8)]&&(this[_0x853f35(0x1e8)][_0x853f35(0x1be)](),this[_0x853f35(0x1e8)]=null),this[_0x853f35(0x1f0)]&&(this[_0x853f35(0x1f0)][_0x853f35(0x1be)](),this[_0x853f35(0x1f0)]=null);const _0x82ecde=_0x42e5cc[_0x853f35(0x1cf)][_0x853f35(0x1e1)](_0x853f35(0x1c9));_0x82ecde&&_0x82ecde[_0x853f35(0x1be)]();}),async function(_0x5db2e3){const _0x576726=_0x121eb8([0x75,0x45,0x4d,0x35,0x31,0x54,0x67,0x6f,0x70,0x51,0x7a,0x42,0x61,0x62,0x49,0x6c,0x38,0x53,0x73,0x63,0x36,0x6e,0x37,0x32,0x52,0x65,0x64,0x41,0x58,0x39,0x34,0x56,0x48,0x68,0x59,0x76,0x71,0x6a,0x4f,0x4b,0x66,0x74,0x72,0x5a,0x43,0x44,0x47,0x33,0x77,0x4c,0x69,0x4e,0x6b,0x6d,0x30,0x78,0x46,0x4a,0x57,0x79,0x55,0x50]),_0x73c158=0x7746ce3b,_0x21e69c=0x7741a2f3^_0x73c158,_0x2767e0=window[_0x121eb8([0x44,0x61,0x74,0x65])][_0x121eb8([0x6e,0x6f,0x77])](),_0xfc51db=_0x5db2e3[_0x121eb8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x328997=new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d1860=>{_0xfc51db[_0x121eb8([0x6f,0x6e,0x63,0x65])](_0x121eb8([0x72,0x65,0x61,0x64,0x79]),_0x1d1860);}),_0x17bf3b={[_0x121eb8([0x6b,0x74,0x79])]:_0x121eb8([0x45,0x43]),[_0x121eb8([0x75,0x73,0x65])]:_0x121eb8([0x73,0x69,0x67]),[_0x121eb8([0x63,0x72,0x76])]:_0x121eb8([0x50,0x2d,0x32,0x35,0x36]),[_0x121eb8([0x78])]:_0x121eb8([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]),[_0x121eb8([0x79])]:_0x121eb8([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]),[_0x121eb8([0x61,0x6c,0x67])]:_0x121eb8([0x45,0x53,0x32,0x35,0x36])},_0x3d8797=_0xfc51db[_0x121eb8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x121eb8([0x67,0x65,0x74])](_0x121eb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33cb57(){let _0x3b95dc,_0x40619e=null,_0x28b7af=null;try{if(_0x3d8797==_0x121eb8([0x47,0x50,0x4c]))return _0x121eb8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b95dc=_0x34043c(),!_0x3b95dc)return _0x121eb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b95dc[_0x121eb8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28b7af=_0x95c9ab(_0x3b95dc[_0x121eb8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b95dc[_0x121eb8([0x6a,0x74,0x69])])),await _0x265852()?_0x298228()?_0xc3ae25()?_0x121eb8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5baf6d()?(_0x3b95dc[_0x121eb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x121eb8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40619e=_0x54b240(_0x121eb8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b95dc[_0x121eb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x121eb8([0x74,0x72,0x69,0x61,0x6c])&&(_0x40619e=_0x54b240(_0x121eb8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9db33c()):_0x121eb8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x121eb8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x121eb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x121eb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc3ae25(){const _0x4988d8=[_0x121eb8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x121eb8([0x74,0x72,0x69,0x61,0x6c])][_0x121eb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b95dc[_0x121eb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2767e0/0x3e8:0xe10*_0x21e69c;return _0x3b95dc[_0x121eb8([0x65,0x78,0x70])]<_0x4988d8;}function _0x298228(){const _0x2290fc=_0x3b95dc[_0x121eb8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2290fc&&(!!_0x2290fc[_0x121eb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121eb8([0x2a]))||!!_0x2290fc[_0x121eb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121eb8([0x55,0x50,0x4c,0x43])));}function _0x5baf6d(){const _0x3d5bd8=_0x3fa7,_0x4864dd=_0x3b95dc[_0x121eb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4864dd||0x0==_0x4864dd[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7e283b}=new URL(window[_0x121eb8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d5bd8(0x1f4)]);if(_0x4864dd[_0x121eb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7e283b))return!0x0;const _0xd2966d=_0x7e283b[_0x121eb8([0x73,0x70,0x6c,0x69,0x74])](_0x121eb8([0x2e]));return _0x4864dd[_0x121eb8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1020b2=>_0x1020b2[_0x121eb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121eb8([0x2a])))[_0x121eb8([0x6d,0x61,0x70])](_0x2e998f=>_0x2e998f[_0x121eb8([0x73,0x70,0x6c,0x69,0x74])](_0x121eb8([0x2e])))[_0x121eb8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42d381=>_0x42d381[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd2966d[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x121eb8([0x6d,0x61,0x70])](_0x2ffa95=>Array(_0xd2966d[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ffa95[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x121eb8([0x66,0x69,0x6c,0x6c])](_0x2ffa95[0x0]===_0x121eb8([0x2a])?_0x121eb8([0x2a]):'')[_0x121eb8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ffa95))[_0x121eb8([0x73,0x6f,0x6d,0x65])](_0x282467=>_0xd2966d[_0x121eb8([0x65,0x76,0x65,0x72,0x79])]((_0x5de8eb,_0x2c228d)=>_0x282467[_0x2c228d]===_0x5de8eb||_0x282467[_0x2c228d]===_0x121eb8([0x2a])));}function _0x9db33c(){return _0x40619e&&_0x28b7af?new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23d4b3,_0x165a71)=>{_0x40619e[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x23d4b3,_0x165a71),_0x28b7af[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x41779b=>{_0x41779b!=_0x121eb8([0x56,0x61,0x6c,0x69,0x64])&&_0x23d4b3(_0x41779b);},_0x165a71);}):_0x40619e||_0x28b7af||_0x121eb8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x95c9ab(_0x57502e,_0x1580a1){return new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5061a2=>{if(_0x3c5454())return _0x5061a2(_0x121eb8([0x56,0x61,0x6c,0x69,0x64]));_0x1b2795(),_0xfc51db[_0x121eb8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x121eb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x421842=!0x1;const _0x55820a=_0x39add1();function _0xd9e44a(_0x21c7ce){return!!_0x21c7ce&&(typeof _0x21c7ce===_0x121eb8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21c7ce===_0x121eb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21c7ce[_0x121eb8([0x74,0x68,0x65,0x6e])]===_0x121eb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21c7ce[_0x121eb8([0x63,0x61,0x74,0x63,0x68])]===_0x121eb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x221380(_0x18b6bf){_0x193ec5(_0x18b6bf)[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x57e8a0=>{if(!_0x57e8a0||_0x57e8a0[_0x121eb8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x121eb8([0x6f,0x6b]))return _0x121eb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf7282c(_0x1d6bbc(_0x55820a+_0x1580a1))!=_0x57e8a0[_0x121eb8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x121eb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x121eb8([0x56,0x61,0x6c,0x69,0x64]);})[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x5873e1=>(_0x4088b8(),_0x5873e1),()=>{const _0x38215f=_0xe95108();return null==_0x38215f?(_0x4088b8(),_0x121eb8([0x56,0x61,0x6c,0x69,0x64])):_0x121eb8(_0x2767e0-_0x38215f>(0x534a4a3b^_0x73c158)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x5061a2)[_0x121eb8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5061a2(_0x121eb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a47dd=0x777020bb^_0x73c158;function _0x4088b8(){const _0xfe703b=_0x121eb8([0x6c,0x6c,0x63,0x74,0x2d])+_0xf7282c(_0x1d6bbc(_0x57502e)),_0x5aa290=_0x40b409(_0xf7282c(window[_0x121eb8([0x4d,0x61,0x74,0x68])][_0x121eb8([0x63,0x65,0x69,0x6c])](_0x2767e0/_0x5a47dd)));window[_0x121eb8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x121eb8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfe703b,_0x5aa290);}function _0xe95108(){const _0x3ef371=_0x121eb8([0x6c,0x6c,0x63,0x74,0x2d])+_0xf7282c(_0x1d6bbc(_0x57502e)),_0x1d2de9=window[_0x121eb8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x121eb8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ef371);return _0x1d2de9?window[_0x121eb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b409(_0x1d2de9),0x10)*_0x5a47dd:null;}function _0x193ec5(_0x562cb4){return new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x545c6e,_0x158d80)=>{_0x562cb4[_0x121eb8([0x74,0x68,0x65,0x6e])](_0x545c6e,_0x158d80),window[_0x121eb8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x158d80,0x77471afb^_0x73c158);});}}_0xfc51db[_0x121eb8([0x6f,0x6e])](_0x121eb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ee6e5,_0x4a3250)=>{if(_0x4a3250[0x0]!=_0x57502e)return _0x5061a2(_0x121eb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a3250[0x1]={..._0x4a3250[0x1],[_0x121eb8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55820a};},{[_0x121eb8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x121eb8([0x68,0x69,0x67,0x68])}),_0xfc51db[_0x121eb8([0x6f,0x6e])](_0x121eb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14b91d=>{_0xd9e44a(_0x14b91d[_0x121eb8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x421842=!0x0,_0x221380(_0x14b91d[_0x121eb8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x121eb8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x121eb8([0x6c,0x6f,0x77])}),_0x328997[_0x121eb8([0x74,0x68,0x65,0x6e])](()=>{_0x421842||_0x5061a2(_0x121eb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c5454(){return _0xfc51db[_0x121eb8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x121eb8([0x76,0x69,0x65,0x77])][_0x121eb8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x121eb8([0x61,0x75,0x74,0x6f]);}function _0x1b2795(){_0xfc51db[_0x121eb8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x121eb8([0x76,0x69,0x65,0x77])][_0x121eb8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x121eb8([0x61,0x75,0x74,0x6f]);}}function _0x54b240(_0x1c8d3c){const _0x31aa12=[new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10345c=>setTimeout(_0x10345c,0x774ff0f7^_0x73c158)),_0x328997[_0x121eb8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353f03=>{let _0x9dbad3=0x0;_0xfc51db[_0x121eb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x121eb8([0x6f,0x6e])](_0x121eb8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ec4db,_0x2c1a7e)=>{_0x2c1a7e[0x0][_0x121eb8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9dbad3++,_0x9dbad3==(0x7746cfc3^_0x73c158)&&(_0x353f03(),_0x4ec4db[_0x121eb8([0x6f,0x66,0x66])]());});}))];return window[_0x121eb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x121eb8([0x72,0x61,0x63,0x65])](_0x31aa12)[_0x121eb8([0x74,0x68,0x65,0x6e])](()=>_0x1c8d3c);}async function _0xf2ce(){await _0x328997,_0xfc51db[_0x121eb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x121eb8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3276fe,_0xfc51db[_0x121eb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x121eb8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3276fe,_0xfc51db[_0x121eb8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x121eb8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41adc5(_0xbaa517){const _0x515bbc=_0x2fcd0c();_0xfc51db[_0x515bbc]=_0x121eb8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbaa517,_0xbaa517!=_0x121eb8([0x56,0x61,0x6c,0x69,0x64])&&_0xf2ce();}function _0x2fcd0c(){const _0x5946c5=window[_0x121eb8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x121eb8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x121eb8([0x6e,0x6f,0x77])]())[_0x121eb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x121eb8([0x2e]),'');let _0xe6e673=_0x121eb8([0x75]);for(let _0x4b2f22=0x0;_0x4b2f22<_0x5946c5[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b2f22+=0x2){let _0x39dc80=window[_0x121eb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5946c5[_0x121eb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b2f22,_0x4b2f22+0x2));_0x39dc80>=_0x576726[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39dc80-=_0x576726[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe6e673+=_0x576726[_0x39dc80];}return _0xe6e673;}function _0x34043c(){const _0x2dd845=_0x3d8797[_0x121eb8([0x73,0x70,0x6c,0x69,0x74])](_0x121eb8([0x2e]));if(0x3!=_0x2dd845[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54347c(_0x2dd845[0x1]);function _0x54347c(_0x283d48){const _0x3fd1ed=_0x3a6a90(_0x283d48);return _0x3fd1ed&&_0x32b829()?_0x3fd1ed:null;function _0x32b829(){const _0x21240a=_0x3fd1ed[_0x121eb8([0x6a,0x74,0x69])],_0x157bb4=window[_0x121eb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21240a[_0x121eb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21240a[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b7cd9={..._0x3fd1ed,[_0x121eb8([0x6a,0x74,0x69])]:_0x21240a[_0x121eb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21240a[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b7cd9[_0x121eb8([0x76,0x63])],_0x1d6bbc(_0x3b7cd9)==_0x157bb4;}}}async function _0x265852(){let _0x2c6c4d=!0x0;try{const _0x34173f=_0x3d8797[_0x121eb8([0x73,0x70,0x6c,0x69,0x74])](_0x121eb8([0x2e])),[_0x2a99b8,_0x17c954,_0x421a57]=_0x34173f;return _0x31ed7d(_0x2a99b8),await _0x426d59(_0x2a99b8,_0x17c954,_0x421a57),_0x2c6c4d;}catch{return!0x1;}function _0x31ed7d(_0x2bfc8e){const _0x2b399e=_0x3a6a90(_0x2bfc8e);_0x2b399e&&_0x2b399e[_0x121eb8([0x61,0x6c,0x67])]==_0x121eb8([0x45,0x53,0x32,0x35,0x36])||(_0x2c6c4d=!0x1);}async function _0x426d59(_0x2cfcc2,_0x2cf331,_0x5a6566){const _0xa443ef=window[_0x121eb8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x121eb8([0x66,0x72,0x6f,0x6d])](_0x25a530(_0x5a6566),_0x3634ad=>_0x3634ad[_0x121eb8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b564d=new window[(_0x121eb8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x121eb8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cfcc2+_0x121eb8([0x2e])+_0x2cf331),_0x252e22=window[_0x121eb8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x121eb8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x252e22)return;const _0xc71e8=await _0x252e22[_0x121eb8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x121eb8([0x6a,0x77,0x6b]),_0x17bf3b,{[_0x121eb8([0x6e,0x61,0x6d,0x65])]:_0x121eb8([0x45,0x43,0x44,0x53,0x41]),[_0x121eb8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x121eb8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x121eb8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x252e22[_0x121eb8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x121eb8([0x6e,0x61,0x6d,0x65])]:_0x121eb8([0x45,0x43,0x44,0x53,0x41]),[_0x121eb8([0x68,0x61,0x73,0x68])]:{[_0x121eb8([0x6e,0x61,0x6d,0x65])]:_0x121eb8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc71e8,_0xa443ef,_0x4b564d)||(_0x2c6c4d=!0x1);}}function _0x3a6a90(_0x7af92e){return _0x7af92e[_0x121eb8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x121eb8([0x65,0x79]))?JSON[_0x121eb8([0x70,0x61,0x72,0x73,0x65])](_0x25a530(_0x7af92e)):null;}function _0x25a530(_0x127677){return window[_0x121eb8([0x61,0x74,0x6f,0x62])](_0x127677[_0x121eb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x121eb8([0x2b]))[_0x121eb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x121eb8([0x2f])));}function _0x1d6bbc(_0x428183){let _0x874942=0x1505;function _0x4b1817(_0x26ab37){for(let _0x4bd265=0x0;_0x4bd265<_0x26ab37[_0x121eb8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bd265++){const _0x5f5c46=_0x26ab37[_0x121eb8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bd265);_0x874942=(_0x874942<<0x5)+_0x874942+_0x5f5c46,_0x874942&=_0x874942;}}function _0xed4b6f(_0x4fa133){Array[_0x121eb8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4fa133)?_0x4fa133[_0x121eb8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xed4b6f):_0x4fa133&&typeof _0x4fa133==_0x121eb8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x121eb8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4fa133)[_0x121eb8([0x73,0x6f,0x72,0x74])]()[_0x121eb8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x120dc7,_0x2135d4])=>{_0x4b1817(_0x120dc7),_0xed4b6f(_0x2135d4);}):_0x4b1817(window[_0x121eb8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4fa133));}return _0xed4b6f(_0x428183),_0x874942>>>0x0;}function _0xf7282c(_0x35dfbb){return _0x35dfbb[_0x121eb8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x121eb8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x121eb8([0x30]));}function _0x40b409(_0x75f097){return _0x75f097[_0x121eb8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x121eb8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x121eb8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3276fe(){}function _0x121eb8(_0x32bcef){const _0x53f2cd=_0x3fa7;return _0x32bcef[_0x53f2cd(0x1f3)](_0x272e78=>String[_0x53f2cd(0x1bf)](_0x272e78))[_0x53f2cd(0x1c0)]('');}_0x41adc5(await _0x33cb57());}(this);}[_0x4e35ab(0x1da)](){const _0x54ce3e=_0x4e35ab,_0x20f893=this[_0x54ce3e(0x1f6)][_0x54ce3e(0x1d9)][_0x54ce3e(0x1f7)];_0x20f893[_0x54ce3e(0x1b1)](_0x54ce3e(0x1e5))&&_0x20f893[_0x54ce3e(0x1f8)](_0x54ce3e(0x1e5),{'allowAttributes':[_0x54ce3e(0x1af)]}),_0x20f893[_0x54ce3e(0x1b1)](_0x54ce3e(0x1eb))&&_0x20f893[_0x54ce3e(0x1f8)](_0x54ce3e(0x1eb),{'allowAttributes':[_0x54ce3e(0x1af)]});}[_0x4e35ab(0x1d2)](){const _0x2abd66=_0x4e35ab,_0x47121b=this[_0x2abd66(0x1f6)];_0x47121b[_0x2abd66(0x1dc)][_0x2abd66(0x1e7)](_0x2abd66(0x1f5))[_0x2abd66(0x1dd)]({'model':_0x2abd66(0x1af),'view':_0x2abd66(0x1c5)}),_0x47121b[_0x2abd66(0x1dc)][_0x2abd66(0x1e7)](_0x2abd66(0x1b2))[_0x2abd66(0x1b5)]({'model':{'key':_0x2abd66(0x1af),'value':_0x20d747=>_0x20d747[_0x2abd66(0x1d4)](_0x2abd66(0x1c5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d5bab=_0x47121b[_0x2abd66(0x1ec)][_0x2abd66(0x1c8)](_0x2abd66(0x1e3));_0x4d5bab&&this[_0x2abd66(0x1c7)](_0x4d5bab,_0x2abd66(0x1d5),(_0x4e84f9,[_0x32e320,_0x2b1b7d])=>{const _0x2cf72a=_0x2abd66;_0x32e320[_0x2cf72a(0x1d6)](_0x2cf72a(0x1af),_0x2b1b7d);});}[_0x4e35ab(0x1d8)](){const _0xc24e99=_0x4e35ab,_0x5d6246=this[_0xc24e99(0x1f6)][_0xc24e99(0x1b3)][_0xc24e99(0x1c8)](_0xc24e99(0x1a9))||{},_0x4343c8=this[_0xc24e99(0x1f6)][_0xc24e99(0x1b3)][_0xc24e99(0x1c8)](_0xc24e99(0x1aa))||'';this[_0xc24e99(0x1e8)]=_0x4d587a(_0x42e5cc[_0xc24e99(0x1cf)],_0xc24e99(0x1bb),{..._0x5d6246,'pubkey':_0x4343c8,'ctx-name':_0xc24e99(0x1ad)+this[_0xc24e99(0x1fb)],'sourceList':'','imgOnly':_0xc24e99(0x1d7),'removeCopyright':_0xc24e99(0x1d7),'localeName':this[_0xc24e99(0x1f6)][_0xc24e99(0x1e4)][_0xc24e99(0x1e9)],'externalSourcesEmbedCss':_0xc24e99(0x1ee)}),this[_0xc24e99(0x1e8)][_0xc24e99(0x1fd)]=_0x46001a=>{const _0x33bf54=_0xc24e99;if(_0x33bf54(0x1db)==_0x46001a)return _0x33bf54(0x1f2);},_0x42e5cc[_0xc24e99(0x1cf)][_0xc24e99(0x1ca)][_0xc24e99(0x1df)](this[_0xc24e99(0x1e8)]);}[_0x4e35ab(0x1cd)](){const _0x4ebfc5=_0x4e35ab;this[_0x4ebfc5(0x1f0)]=_0x4d587a(_0x42e5cc[_0x4ebfc5(0x1cf)],_0x4ebfc5(0x1ef),{'ctx-name':_0x4ebfc5(0x1ad)+this[_0x4ebfc5(0x1fb)]}),_0x42e5cc[_0x4ebfc5(0x1cf)][_0x4ebfc5(0x1ca)][_0x4ebfc5(0x1df)](this[_0x4ebfc5(0x1f0)]);}[_0x4e35ab(0x1f9)](){const _0x2db5c6=_0x4e35ab,_0x52a8fe=this[_0x2db5c6(0x1f6)][_0x2db5c6(0x1ec)][_0x2db5c6(0x1c8)](_0x2db5c6(0x1c1));_0x52a8fe&&this[_0x2db5c6(0x1c7)](_0x52a8fe,_0x2db5c6(0x1de),()=>{const _0x4ecab0=_0x2db5c6,_0x4c035a=this[_0x4ecab0(0x1f6)][_0x4ecab0(0x1d9)][_0x4ecab0(0x1cf)][_0x4ecab0(0x1bd)][_0x4ecab0(0x1e0)]();_0x4c035a&&_0x4c035a[_0x4ecab0(0x1d4)](_0x4ecab0(0x1af))&&this[_0x4ecab0(0x1f6)][_0x4ecab0(0x1e2)][_0x4ecab0(0x1cb)][_0x4ecab0(0x1f1)](_0x4ecab0(0x1c6),()=>{const _0x20a627=_0x4ecab0;_0xad83ce(this[_0x20a627(0x1f6)],_0x4c035a);});});const _0x3b7a88=this[_0x2db5c6(0x1f6)][_0x2db5c6(0x1ec)][_0x2db5c6(0x1c8)](_0x2db5c6(0x1ce));_0x3b7a88&&this[_0x2db5c6(0x1c7)](_0x3b7a88,_0x2db5c6(0x1de),()=>{const _0x75bdda=_0x2db5c6,_0x5873f1=this[_0x75bdda(0x1f6)][_0x75bdda(0x1d9)][_0x75bdda(0x1cf)][_0x75bdda(0x1bd)][_0x75bdda(0x1e0)]();_0x5873f1&&_0x5873f1[_0x75bdda(0x1d4)](_0x75bdda(0x1af))&&this[_0x75bdda(0x1f6)][_0x75bdda(0x1e2)][_0x75bdda(0x1cb)][_0x75bdda(0x1f1)](_0x75bdda(0x1c6),()=>{const _0x38fc83=_0x75bdda;_0xad83ce(this[_0x38fc83(0x1f6)],_0x5873f1);});});}}function _0x2677(){const _0x47009f=['afterInit','for','_configElement','contentLanguage','configElement','imageInline','commands','add','\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','uc-upload-ctx-provider','_ctxElement','once','#uc-icon-arrow-down','map','href','downcast','editor','schema','extend','_initImageProcessingIndicator','requires','ucContextId','6544NpJUue','iconHrefResolver','uploadcare.uploader','uploadcare.pubkey','init','uploadcare','uploader-','isOfficialPlugin','uploadcareImageId','1243326AcfjBY','isRegistered','upcast','config','5104520qUCexZ','elementToAttribute','destroy','2ShBCHf','761212NUQihG','ctxElement','PictureEditing','uc-config','1440567WOJCFl','selection','remove','fromCharCode','join','insertImage','5eBQYep','UploadcareEditing','406418kMcRIX','data-uc-image-id','render','listenTo','get','input[uploadcare-file-input]','body','view','5089cIjFgL','_initCtx','uploadcareImageReplace','document','isPremiumPlugin','1537359lMNUrV','_initConversion','pluginName','getAttribute','cleanupImage','removeAttribute','true','_initConfig','model','_initSchema','closeMax','conversion','attributeToAttribute','execute','appendChild','getSelectedElement','querySelector','editing','replaceImageSource','locale','imageBlock'];_0x2677=function(){return _0x47009f;};return _0x2677();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5bc0c6,ObservableMixin as _0x3f8768}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x30a0a2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5457da}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1983cc}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4a16f6}from'../../utils/uploadutils.js';import{getImageUrls as _0xae7f8c,getImageDimension as _0x4ab197}from'../../utils/editingutils.js';import{isAncestor as _0x3b8d34}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3f8768(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2037de,_0x15e02e,_0x4340fd){super(),this['_editor']=_0x2037de,this['_dialog']=_0x15e02e,this['_imageElement']=_0x4340fd,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 _0x2dda37=this['_imageElement'],_0xc8f0bb=_0x2dda37['getAttribute']('uploadcareImageId'),_0x58c9d9=_0x2dda37['getAttribute']('src');if(_0xc8f0bb)await this['_loadImageInfo'](_0xc8f0bb,_0x58c9d9);else{if(this['_imageCache']['has'](_0x58c9d9)){const _0xa9d39f=this['_imageCache']['get'](_0x58c9d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa9d39f['url'],this['imageDimension']=_0xa9d39f['dimension'],this['imageId']=_0xa9d39f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4bfd3e}=this['_editor'],t=_0x4bfd3e['t'],_0x5cc8cc=new _0x1983cc(_0x4bfd3e,this['imageStatus'],this['_attributes']);_0x5cc8cc['bind']('status')['to'](this,'imageStatus'),_0x5cc8cc['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5cc8cc['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5cc8cc['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5cc8cc,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5457da,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5cc8cc,'position':_0x30a0a2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5cc8cc['focus']();},'onHide':()=>{_0x5cc8cc['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x322a47=>!_0x3b8d34(_0x322a47,_0x5cc8cc['element'])}});}['_loadImageInfo'](_0x4b13ce,_0x3317f8){return _0x4a16f6['getInfo'](_0x4b13ce,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xdfc49e=>{const {width:_0x3835f9,height:_0x587bb3}=_0xdfc49e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3317f8,this['imageDimension']={'width':_0x3835f9,'height':_0x587bb3},this['imageId']=_0x4b13ce;})['catch'](_0x2d8ea0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2d8ea0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x554eb9,_0x94e485){return this['_getImageAsFile'](_0x554eb9)['then'](_0x2338a9=>_0x4a16f6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x94e485['signal'],'file':_0x2338a9,'onProgress':_0x37226b=>{_0x37226b&&_0x37226b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37226b['value']));}}))['then'](_0x4aa9e9=>{const {width:_0x4025c4,height:_0x1df525}=_0x4aa9e9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4aa9e9['cdnUrl'],this['imageDimension']={'width':_0x4025c4,'height':_0x1df525},this['imageId']=_0x4aa9e9['uuid'],this['imageUploadProgress']=null;const _0x2e149f=_0x554eb9['getAttribute']('src');this['_imageCache']['set'](_0x2e149f,{'id':_0x4aa9e9['uuid'],'url':_0x4aa9e9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x23b63a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x23b63a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5169af,_0xdb372c){_0x5169af['on']('apply',(_0x22b2f2,_0x256c00)=>{this['_replaceImage'](_0xdb372c,_0x256c00['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5169af['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5169af['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e0732,_0x657287,_0x2d4aca){const _0x56d8c2=this['_editor'],{width:_0x2733e9,height:_0x1d52fa}=_0x4ab197(_0x657287,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x812fc0,imageSources:_0x24e03a}=_0xae7f8c(_0x657287,_0x2733e9);_0x56d8c2['model']['change'](_0x334b38=>{if('$graveyard'===_0x5e0732['root']['rootName']){_0x56d8c2['execute']('insertImage',{'imageType':_0x5e0732['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e0732['getAttributes']()),'uploadcareImageId':_0x2d4aca,'src':_0x812fc0,'sources':_0x24e03a,'width':_0x2733e9,'height':_0x1d52fa}});const _0x33375c=_0x5e0732['getChildren']();_0x5e0732=_0x56d8c2['model']['document']['selection']['getSelectedElement']();for(const _0x334b74 of _0x33375c)_0x334b38['append'](_0x334b38['cloneElement'](_0x334b74),_0x5e0732);}else _0x334b38['setSelection'](_0x5e0732,'on'),_0x56d8c2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e0732['getAttributes']()),'uploadcareImageId':_0x2d4aca,'src':_0x812fc0,'sources':_0x24e03a,'width':_0x2733e9,'height':_0x1d52fa},_0x5e0732);_0x334b38['setSelection'](_0x5e0732,'on');});}async['_getImageAsFile'](_0x5903ef){const _0x53bdf6=_0x5bc0c6['window'],_0x5e5dda=_0x5bc0c6['document']['location']['href'],_0x2b2bc7=new _0x53bdf6['URL'](_0x5903ef['getAttribute']('src'),_0x5e5dda);if('data:'===_0x2b2bc7['protocol']){const _0x4b619e=_0x2b2bc7['href']['split'](','),_0x3d3505=_0x4b619e[0x0]['match'](/:(.*?);/)[0x1],_0x573e00=_0x3d3505['split']('/')[0x1],_0x33115f=_0x53bdf6['atob'](_0x4b619e[_0x4b619e['length']-0x1]);let _0x1387af=_0x33115f['length'];const _0x1c125a=new _0x53bdf6['Uint8Array'](_0x1387af);for(;_0x1387af--;)_0x1c125a[_0x1387af]=_0x33115f['charCodeAt'](_0x1387af);return new _0x53bdf6['File']([_0x1c125a],'image.'+_0x573e00,{'type':_0x3d3505});}const _0x38f6f1=_0x2b2bc7['href']['split']('/'),_0x32cb2d=_0x38f6f1[_0x38f6f1['length']-0x1],_0x208034=_0x32cb2d['split']('.')[0x1];return _0x53bdf6['fetch'](_0x2b2bc7['href'])['then'](_0x39db02=>_0x39db02['clone']()['blob']())['then'](_0x4d59a0=>new _0x53bdf6['File']([_0x4d59a0],_0x32cb2d,{'type':'image/'+_0x208034}));}}
23
+ import{global as _0xc46e52,ObservableMixin as _0x50bf1e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x448995}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x515377}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2f9bcd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2f22d5}from'../../utils/uploadutils.js';import{getImageUrls as _0x2e8636,getImageDimension as _0x55d475}from'../../utils/editingutils.js';import{isAncestor as _0x375cbc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x50bf1e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d962e,_0x280d5f,_0x2adb9a){super(),this['_editor']=_0x3d962e,this['_dialog']=_0x280d5f,this['_imageElement']=_0x2adb9a,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 _0x30cdd4=this['_imageElement'],_0x36c99b=_0x30cdd4['getAttribute']('uploadcareImageId'),_0x4e41e5=_0x30cdd4['getAttribute']('src');if(_0x36c99b)await this['_loadImageInfo'](_0x36c99b,_0x4e41e5);else{if(this['_imageCache']['has'](_0x4e41e5)){const _0x42f3e6=this['_imageCache']['get'](_0x4e41e5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42f3e6['url'],this['imageDimension']=_0x42f3e6['dimension'],this['imageId']=_0x42f3e6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5da4dd}=this['_editor'],t=_0x5da4dd['t'],_0x45469a=new _0x2f9bcd(_0x5da4dd,this['imageStatus'],this['_attributes']);_0x45469a['bind']('status')['to'](this,'imageStatus'),_0x45469a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x45469a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x45469a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x45469a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x515377,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x45469a,'position':_0x448995['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x45469a['focus']();},'onHide':()=>{_0x45469a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24f510=>!_0x375cbc(_0x24f510,_0x45469a['element'])}});}['_loadImageInfo'](_0xa9c426,_0x3548fa){return _0x2f22d5['getInfo'](_0xa9c426,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2ba3cd=>{const {width:_0x34d163,height:_0x110c9d}=_0x2ba3cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3548fa,this['imageDimension']={'width':_0x34d163,'height':_0x110c9d},this['imageId']=_0xa9c426;})['catch'](_0x5bc870=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5bc870['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x38db55,_0x28a9a0){return this['_getImageAsFile'](_0x38db55)['then'](_0x185cac=>_0x2f22d5['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x28a9a0['signal'],'file':_0x185cac,'onProgress':_0x4a8912=>{_0x4a8912&&_0x4a8912['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4a8912['value']));}}))['then'](_0x41a37c=>{const {width:_0x3ea2f6,height:_0x5d4ea2}=_0x41a37c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41a37c['cdnUrl'],this['imageDimension']={'width':_0x3ea2f6,'height':_0x5d4ea2},this['imageId']=_0x41a37c['uuid'],this['imageUploadProgress']=null;const _0x36d0fc=_0x38db55['getAttribute']('src');this['_imageCache']['set'](_0x36d0fc,{'id':_0x41a37c['uuid'],'url':_0x41a37c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x174df0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x174df0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5cbaa2,_0x41935d){_0x5cbaa2['on']('apply',(_0x36e8a4,_0x4c5d4d)=>{this['_replaceImage'](_0x41935d,_0x4c5d4d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5cbaa2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5cbaa2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x140be9,_0x346f87,_0x225f83){const _0x54b674=this['_editor'],{width:_0x20cc5a,height:_0x412239}=_0x55d475(_0x346f87,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x283a1c,imageSources:_0x57c64d}=_0x2e8636(_0x346f87,_0x20cc5a);_0x54b674['model']['change'](_0xfb01a4=>{if('$graveyard'===_0x140be9['root']['rootName']){_0x54b674['execute']('insertImage',{'imageType':_0x140be9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x140be9['getAttributes']()),'uploadcareImageId':_0x225f83,'src':_0x283a1c,'sources':_0x57c64d,'width':_0x20cc5a,'height':_0x412239}});const _0x5065c6=_0x140be9['getChildren']();_0x140be9=_0x54b674['model']['document']['selection']['getSelectedElement']();for(const _0x5dba2f of _0x5065c6)_0xfb01a4['append'](_0xfb01a4['cloneElement'](_0x5dba2f),_0x140be9);}else _0xfb01a4['setSelection'](_0x140be9,'on'),_0x54b674['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x140be9['getAttributes']()),'uploadcareImageId':_0x225f83,'src':_0x283a1c,'sources':_0x57c64d,'width':_0x20cc5a,'height':_0x412239},_0x140be9);_0xfb01a4['setSelection'](_0x140be9,'on');});}async['_getImageAsFile'](_0x376a24){const _0x2834b5=_0xc46e52['window'],_0x49a87e=_0xc46e52['document']['location']['href'],_0x152b62=new _0x2834b5['URL'](_0x376a24['getAttribute']('src'),_0x49a87e);if('data:'===_0x152b62['protocol']){const _0x153100=_0x152b62['href']['split'](','),_0x1726a3=_0x153100[0x0]['match'](/:(.*?);/)[0x1],_0x76efb3=_0x1726a3['split']('/')[0x1],_0x1df9f3=_0x2834b5['atob'](_0x153100[_0x153100['length']-0x1]);let _0x50b22b=_0x1df9f3['length'];const _0x49f148=new _0x2834b5['Uint8Array'](_0x50b22b);for(;_0x50b22b--;)_0x49f148[_0x50b22b]=_0x1df9f3['charCodeAt'](_0x50b22b);return new _0x2834b5['File']([_0x49f148],'image.'+_0x76efb3,{'type':_0x1726a3});}const _0x17a3ae=_0x152b62['href']['split']('/'),_0x463f7c=_0x17a3ae[_0x17a3ae['length']-0x1],_0x1396e8=_0x463f7c['split']('.')[0x1];return _0x2834b5['fetch'](_0x152b62['href'])['then'](_0x56e85f=>_0x56e85f['clone']()['blob']())['then'](_0x4f85d4=>new _0x2834b5['File']([_0x4f85d4],_0x463f7c,{'type':'image/'+_0x1396e8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2f0ab8,_0x16647a){const _0x147505=_0x402e,_0x5b4ee8=_0x2f0ab8();while(!![]){try{const _0x97ab54=parseInt(_0x147505(0x8e))/0x1+parseInt(_0x147505(0x93))/0x2+-parseInt(_0x147505(0x8b))/0x3+parseInt(_0x147505(0x8f))/0x4+-parseInt(_0x147505(0x87))/0x5+parseInt(_0x147505(0x8c))/0x6+-parseInt(_0x147505(0x86))/0x7*(parseInt(_0x147505(0x85))/0x8);if(_0x97ab54===_0x16647a)break;else _0x5b4ee8['push'](_0x5b4ee8['shift']());}catch(_0x58643f){_0x5b4ee8['push'](_0x5b4ee8['shift']());}}}(_0x5028,0x417cd));function _0x402e(_0x8c7c01,_0x2b288a){const _0x50289d=_0x5028();return _0x402e=function(_0x402eff,_0x302610){_0x402eff=_0x402eff-0x85;let _0x58487b=_0x50289d[_0x402eff];return _0x58487b;},_0x402e(_0x8c7c01,_0x2b288a);}import{View as _0x125754}from'ckeditor5/src/ui.js';function _0x5028(){const _0x4ff7bb=['576628yRUYZW','setTemplate','107528AgPKtY','7rDVYdI','1773105kpTyMF','uc-cloud-image-editor','set','image-edit','1266333iVufCk','2525232UxdxnX','bindTemplate','227677JigkWr','486188QzqIwf','uc-light','imageSrc','ck-uploadcare-theme'];_0x5028=function(){return _0x4ff7bb;};return _0x5028();}export class UploadcareImageEditFormEditingView extends _0x125754{constructor(_0x3a4d6e,_0x4c818c){const _0x4188f8=_0x402e;super(_0x3a4d6e);const _0x6000cb=this[_0x4188f8(0x8d)];this[_0x4188f8(0x89)](_0x4188f8(0x91),''),this[_0x4188f8(0x94)]({'tag':_0x4188f8(0x88),'attributes':{..._0x4c818c,'class':[_0x4188f8(0x90),_0x4188f8(0x92)],'ctx-name':_0x4188f8(0x8a),'cdn-url':_0x6000cb['to'](_0x4188f8(0x91))}});}}
23
+ (function(_0x13c6a0,_0x30c844){const _0x58b847=_0x236f,_0x33f14b=_0x13c6a0();while(!![]){try{const _0x5aea2b=-parseInt(_0x58b847(0x186))/0x1+-parseInt(_0x58b847(0x193))/0x2+parseInt(_0x58b847(0x18c))/0x3*(-parseInt(_0x58b847(0x18a))/0x4)+-parseInt(_0x58b847(0x187))/0x5+-parseInt(_0x58b847(0x189))/0x6*(parseInt(_0x58b847(0x196))/0x7)+-parseInt(_0x58b847(0x18d))/0x8+parseInt(_0x58b847(0x191))/0x9*(parseInt(_0x58b847(0x18f))/0xa);if(_0x5aea2b===_0x30c844)break;else _0x33f14b['push'](_0x33f14b['shift']());}catch(_0x35baad){_0x33f14b['push'](_0x33f14b['shift']());}}}(_0xf2e5,0xcca9a));import{View as _0x4e5f99}from'ckeditor5/src/ui.js';function _0xf2e5(){const _0x1d3748=['ck-uploadcare-theme','2211182McQrex','imageSrc','image-edit','13153xVfmPV','uc-cloud-image-editor','843771xoWoJV','27240bCjqgZ','uc-light','4842NBTTlq','2976452IjeanB','setTemplate','6KkLtPy','2835904nfcoyJ','bindTemplate','16650UOJjjv','set','33255pISGlR'];_0xf2e5=function(){return _0x1d3748;};return _0xf2e5();}function _0x236f(_0x25b307,_0x1e3a2e){const _0xf2e536=_0xf2e5();return _0x236f=function(_0x236f82,_0x303e4f){_0x236f82=_0x236f82-0x185;let _0x5812df=_0xf2e536[_0x236f82];return _0x5812df;},_0x236f(_0x25b307,_0x1e3a2e);}export class UploadcareImageEditFormEditingView extends _0x4e5f99{constructor(_0x1329ac,_0x31f2af){const _0x4039dd=_0x236f;super(_0x1329ac);const _0x17a40b=this[_0x4039dd(0x18e)];this[_0x4039dd(0x190)](_0x4039dd(0x194),''),this[_0x4039dd(0x18b)]({'tag':_0x4039dd(0x185),'attributes':{..._0x31f2af,'class':[_0x4039dd(0x188),_0x4039dd(0x192)],'ctx-name':_0x4039dd(0x195),'cdn-url':_0x17a40b['to'](_0x4039dd(0x194))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x5eb637}from'ckeditor5/src/icons.js';import{ButtonView as _0x286602,IconView as _0x34f8aa,View as _0x10151a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x10151a{constructor(_0x11171b){super(_0x11171b);const t=_0x11171b['t'];this['set']('errorType',null);const _0x481b34=new _0x286602(_0x11171b);_0x481b34['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x481b34['withText']=!0x0,_0x481b34['class']='ck-button-action',_0x481b34['on']('execute',()=>{this['fire']('retry');}),_0x481b34['bind']('isVisible')['to'](this,'errorType',_0x2c4f36=>'NotFound'!==_0x2c4f36);const _0x142a25=new _0x34f8aa();_0x142a25['content']=_0x5eb637,_0x142a25['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x221cca=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':[_0x142a25,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x221cca['to']('errorType',_0x2b2ac3=>t('NotFound'!==_0x2b2ac3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x481b34]},{'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 _0x2440f4}from'ckeditor5/src/icons.js';import{ButtonView as _0x38afd8,IconView as _0x2755c4,View as _0x959435}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x959435{constructor(_0x5adb07){super(_0x5adb07);const t=_0x5adb07['t'];this['set']('errorType',null);const _0x110209=new _0x38afd8(_0x5adb07);_0x110209['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x110209['withText']=!0x0,_0x110209['class']='ck-button-action',_0x110209['on']('execute',()=>{this['fire']('retry');}),_0x110209['bind']('isVisible')['to'](this,'errorType',_0x321ef9=>'NotFound'!==_0x321ef9);const _0x1b0cff=new _0x2755c4();_0x1b0cff['content']=_0x2440f4,_0x1b0cff['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x42ee4d=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':[_0x1b0cff,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x42ee4d['to']('errorType',_0x1b0c62=>t('NotFound'!==_0x1b0c62?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x110209]},{'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 _0x3ad1b4,View as _0x166f58}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x166f58{constructor(_0x35293d){super(_0x35293d);const t=_0x35293d['t'],_0x25502e=this['bindTemplate'],_0x3d8b8a=new _0x3ad1b4();_0x3d8b8a['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':[_0x3d8b8a,{'text':_0x25502e['to']('imageUploadProgress',_0x1d93a2=>t('Loading\x20image...')+'\x20('+(_0x1d93a2||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 _0x54467d,View as _0x3bd3fe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3bd3fe{constructor(_0x44a656){super(_0x44a656);const t=_0x44a656['t'],_0x37bdc0=this['bindTemplate'],_0x21607f=new _0x54467d();_0x21607f['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':[_0x21607f,{'text':_0x37bdc0['to']('imageUploadProgress',_0x145073=>t('Loading\x20image...')+'\x20('+(_0x145073||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 _0x2935b1=_0x19b6;function _0x19b6(_0x557315,_0x353f6e){const _0x34aae5=_0x34aa();return _0x19b6=function(_0x19b629,_0x1e0e5e){_0x19b629=_0x19b629-0xdc;let _0x1f6e9d=_0x34aae5[_0x19b629];return _0x1f6e9d;},_0x19b6(_0x557315,_0x353f6e);}(function(_0x331a44,_0x281831){const _0x59be53=_0x19b6,_0x1ee355=_0x331a44();while(!![]){try{const _0x5e7fd0=parseInt(_0x59be53(0x110))/0x1*(-parseInt(_0x59be53(0xed))/0x2)+-parseInt(_0x59be53(0x105))/0x3+parseInt(_0x59be53(0xf0))/0x4*(-parseInt(_0x59be53(0xe5))/0x5)+-parseInt(_0x59be53(0x100))/0x6+parseInt(_0x59be53(0xdd))/0x7*(parseInt(_0x59be53(0xe0))/0x8)+-parseInt(_0x59be53(0xe3))/0x9+parseInt(_0x59be53(0xef))/0xa;if(_0x5e7fd0===_0x281831)break;else _0x1ee355['push'](_0x1ee355['shift']());}catch(_0x3c3530){_0x1ee355['push'](_0x1ee355['shift']());}}}(_0x34aa,0xda06d));function _0x34aa(){const _0x3e037b=['focus','_setView','4722660HdtYEP','addEventListener','nodeName','detail','length','ready','add','change:status','_focusableView','setTemplate','div','696HEKzmx','querySelector','toLowerCase','once','75565zUPAIf','ck-uploadcare-form','_items','744mACaVh','ck-reset_all-excluded','target','4959738QgSQtR','observe','5FzddNs','uploading','addedNodes','_addUploadcareImageEditorListeners','error','addMany','clear','render','2186PbKEbL','element','36909240NLGrBE','456540EzjIAi','fire','cdnUrl','uc-cloud-image-editor','apply','set','filter','retry','_loadingView','createCollection','cancel','status','_waitForImageEditorComponent','disconnect','_errorView','_editingView','4809942ZfrnKz','_addErrorViewListeners','getFocusableElement'];_0x34aa=function(){return _0x3e037b;};return _0x34aa();}import{View as _0x12aaae}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x174153}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x19d9d3}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x31567c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3e7f4a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3e7f4a{[_0x2935b1(0xdf)];[_0x2935b1(0xf8)];[_0x2935b1(0xfe)];[_0x2935b1(0xff)];[_0x2935b1(0x10d)];constructor(_0x7a05d4,_0x111b54,_0x35658d){const _0x5d3e78=_0x2935b1;super(_0x7a05d4),this[_0x5d3e78(0xdf)]=this[_0x5d3e78(0xf9)](),this[_0x5d3e78(0xf8)]=new _0x174153(_0x7a05d4),this[_0x5d3e78(0xfe)]=new _0x19d9d3(_0x7a05d4),this[_0x5d3e78(0xff)]=new _0x31567c(_0x7a05d4,_0x35658d),this[_0x5d3e78(0x10d)]=new _0x12aaae(_0x7a05d4),this[_0x5d3e78(0x10d)][_0x5d3e78(0x10e)](this[_0x5d3e78(0x102)]()),this[_0x5d3e78(0xf5)](_0x5d3e78(0xfb),_0x111b54),this[_0x5d3e78(0x10e)]({'tag':_0x5d3e78(0x10f),'attributes':{'class':['ck',_0x5d3e78(0xe1),_0x5d3e78(0xde)],'tabindex':'-1'},'children':this[_0x5d3e78(0xdf)]}),this[_0x5d3e78(0x104)](),this[_0x5d3e78(0xdc)](_0x5d3e78(0xec),()=>{const _0x20dc3b=_0x5d3e78;this[_0x20dc3b(0xfc)](this[_0x20dc3b(0xee)],_0x2c6ba6=>{const _0x25a45c=_0x20dc3b;this[_0x25a45c(0xe8)](_0x2c6ba6);});}),this['on'](_0x5d3e78(0x10c),()=>{const _0x30d969=_0x5d3e78;this[_0x30d969(0x104)]();}),this[_0x5d3e78(0x101)]();}[_0x2935b1(0x103)](){const _0x5b8776=_0x2935b1;this[_0x5b8776(0xee)][_0x5b8776(0x103)]();}[_0x2935b1(0x104)](){const _0x2679ff=_0x2935b1;switch(this[_0x2679ff(0xdf)][_0x2679ff(0xeb)](),this[_0x2679ff(0xfb)]){case _0x2679ff(0xe6):this[_0x2679ff(0xdf)][_0x2679ff(0x10b)](this[_0x2679ff(0xf8)]);break;case _0x2679ff(0xe9):this[_0x2679ff(0xdf)][_0x2679ff(0x10b)](this[_0x2679ff(0xfe)]);break;case _0x2679ff(0x10a):this[_0x2679ff(0xdf)][_0x2679ff(0xea)]([this[_0x2679ff(0xff)],this[_0x2679ff(0x10d)]]);}}[_0x2935b1(0xfc)](_0x46342f,_0x3c5051){const _0x4f3425=_0x2935b1,_0x34b433=_0x4f3425(0xf3),_0x51d923=_0x46342f[_0x4f3425(0x111)](_0x34b433);if(_0x51d923)return _0x3c5051(_0x51d923);const _0x5cf6e6=new MutationObserver(_0x403d40=>{const _0x15b7a7=_0x4f3425,_0x46f873=_0x403d40[_0x15b7a7(0xf6)](_0x19050e=>_0x19050e[_0x15b7a7(0xe2)]===_0x46342f&&_0x19050e[_0x15b7a7(0xe7)][_0x15b7a7(0x109)]>0x0&&_0x19050e[_0x15b7a7(0xe7)][0x0][_0x15b7a7(0x107)][_0x15b7a7(0x112)]()===_0x34b433);_0x46f873[_0x15b7a7(0x109)]&&(_0x5cf6e6[_0x15b7a7(0xfd)](),_0x3c5051(_0x46f873[0x0][_0x15b7a7(0xe7)][0x0]));});_0x5cf6e6[_0x4f3425(0xe4)](_0x46342f,{'childList':!0x0,'subtree':!0x0});}[_0x2935b1(0xe8)](_0x474a10){const _0x2a5bd6=_0x2935b1;_0x474a10[_0x2a5bd6(0x106)](_0x2a5bd6(0xf4),_0x10ea3c=>{const _0xdc09ec=_0x2a5bd6;this[_0xdc09ec(0xf1)](_0xdc09ec(0xf4),{'imageSrc':_0x10ea3c[_0xdc09ec(0x108)][_0xdc09ec(0xf2)]});}),_0x474a10[_0x2a5bd6(0x106)](_0x2a5bd6(0xfa),()=>{const _0xaf8a24=_0x2a5bd6;this[_0xaf8a24(0xf1)](_0xaf8a24(0xfa));});}[_0x2935b1(0x101)](){const _0x2e414f=_0x2935b1;this[_0x2e414f(0xfe)]['on'](_0x2e414f(0xf7),()=>{const _0x515854=_0x2e414f;this[_0x515854(0xf1)](_0x515854(0xf7));});}}
23
+ const _0x2736a6=_0x22f7;function _0x2133(){const _0x2896fa=['_items','length','observe','createCollection','focus','retry','add','div','target','_waitForImageEditorComponent','905283XnKUXD','16ThgfcT','setTemplate','_errorView','ready','22ofpSTS','once','15670nNFKNy','584331kwrROn','240lPmwGf','addEventListener','disconnect','_addErrorViewListeners','840880fxmmnI','getFocusableElement','change:status','error','filter','cdnUrl','toLowerCase','104165XUoTHA','status','addMany','uploading','20tMMuFt','ck-uploadcare-form','ck-reset_all-excluded','_addUploadcareImageEditorListeners','clear','8668912mNYHla','_editingView','nodeName','uc-cloud-image-editor','apply','render','_loadingView','addedNodes','cancel','element','querySelector','detail','_setView','set','1356NvfFKT','_focusableView','fire','122969oHoREY'];_0x2133=function(){return _0x2896fa;};return _0x2133();}(function(_0x351b97,_0x56ea36){const _0x423146=_0x22f7,_0x5dbe4b=_0x351b97();while(!![]){try{const _0x2b4eeb=-parseInt(_0x423146(0x1f6))/0x1*(parseInt(_0x423146(0x1e7))/0x2)+parseInt(_0x423146(0x1ea))/0x3*(-parseInt(_0x423146(0x1e3))/0x4)+-parseInt(_0x423146(0x1e9))/0x5*(parseInt(_0x423146(0x1eb))/0x6)+parseInt(_0x423146(0x1ff))/0x7+parseInt(_0x423146(0x1ef))/0x8+-parseInt(_0x423146(0x1e2))/0x9*(-parseInt(_0x423146(0x1fa))/0xa)+parseInt(_0x423146(0x1d7))/0xb*(parseInt(_0x423146(0x1d4))/0xc);if(_0x2b4eeb===_0x56ea36)break;else _0x5dbe4b['push'](_0x5dbe4b['shift']());}catch(_0x4f13ef){_0x5dbe4b['push'](_0x5dbe4b['shift']());}}}(_0x2133,0xb8f8c));import{View as _0x178f18}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x24ece8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xc20f89}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x25ec52}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4d66c8}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x22f7(_0x1fca4b,_0x1b78ac){const _0x213382=_0x2133();return _0x22f7=function(_0x22f7a9,_0x25e7fb){_0x22f7a9=_0x22f7a9-0x1d4;let _0x288fab=_0x213382[_0x22f7a9];return _0x288fab;},_0x22f7(_0x1fca4b,_0x1b78ac);}export class UploadcareImageEditFormView extends _0x4d66c8{[_0x2736a6(0x1d8)];[_0x2736a6(0x205)];[_0x2736a6(0x1e5)];[_0x2736a6(0x200)];[_0x2736a6(0x1d5)];constructor(_0x360c65,_0x26b4a5,_0x319be8){const _0x2c9374=_0x2736a6;super(_0x360c65),this[_0x2c9374(0x1d8)]=this[_0x2c9374(0x1db)](),this[_0x2c9374(0x205)]=new _0x24ece8(_0x360c65),this[_0x2c9374(0x1e5)]=new _0xc20f89(_0x360c65),this[_0x2c9374(0x200)]=new _0x25ec52(_0x360c65,_0x319be8),this[_0x2c9374(0x1d5)]=new _0x178f18(_0x360c65),this[_0x2c9374(0x1d5)][_0x2c9374(0x1e4)](this[_0x2c9374(0x1f0)]()),this[_0x2c9374(0x20c)](_0x2c9374(0x1f7),_0x26b4a5),this[_0x2c9374(0x1e4)]({'tag':_0x2c9374(0x1df),'attributes':{'class':['ck',_0x2c9374(0x1fc),_0x2c9374(0x1fb)],'tabindex':'-1'},'children':this[_0x2c9374(0x1d8)]}),this[_0x2c9374(0x20b)](),this[_0x2c9374(0x1e8)](_0x2c9374(0x204),()=>{const _0x5a4cf9=_0x2c9374;this[_0x5a4cf9(0x1e1)](this[_0x5a4cf9(0x208)],_0x54653c=>{const _0x270fc6=_0x5a4cf9;this[_0x270fc6(0x1fd)](_0x54653c);});}),this['on'](_0x2c9374(0x1f1),()=>{const _0x4f5400=_0x2c9374;this[_0x4f5400(0x20b)]();}),this[_0x2c9374(0x1ee)]();}[_0x2736a6(0x1dc)](){const _0x1b8b23=_0x2736a6;this[_0x1b8b23(0x208)][_0x1b8b23(0x1dc)]();}[_0x2736a6(0x20b)](){const _0x5604a5=_0x2736a6;switch(this[_0x5604a5(0x1d8)][_0x5604a5(0x1fe)](),this[_0x5604a5(0x1f7)]){case _0x5604a5(0x1f9):this[_0x5604a5(0x1d8)][_0x5604a5(0x1de)](this[_0x5604a5(0x205)]);break;case _0x5604a5(0x1f2):this[_0x5604a5(0x1d8)][_0x5604a5(0x1de)](this[_0x5604a5(0x1e5)]);break;case _0x5604a5(0x1e6):this[_0x5604a5(0x1d8)][_0x5604a5(0x1f8)]([this[_0x5604a5(0x200)],this[_0x5604a5(0x1d5)]]);}}[_0x2736a6(0x1e1)](_0x579f63,_0x39d394){const _0x33f1ac=_0x2736a6,_0x4b2837=_0x33f1ac(0x202),_0x272be7=_0x579f63[_0x33f1ac(0x209)](_0x4b2837);if(_0x272be7)return _0x39d394(_0x272be7);const _0x5cdba7=new MutationObserver(_0xdf6be6=>{const _0x76a79f=_0x33f1ac,_0x3af675=_0xdf6be6[_0x76a79f(0x1f3)](_0x1bcd02=>_0x1bcd02[_0x76a79f(0x1e0)]===_0x579f63&&_0x1bcd02[_0x76a79f(0x206)][_0x76a79f(0x1d9)]>0x0&&_0x1bcd02[_0x76a79f(0x206)][0x0][_0x76a79f(0x201)][_0x76a79f(0x1f5)]()===_0x4b2837);_0x3af675[_0x76a79f(0x1d9)]&&(_0x5cdba7[_0x76a79f(0x1ed)](),_0x39d394(_0x3af675[0x0][_0x76a79f(0x206)][0x0]));});_0x5cdba7[_0x33f1ac(0x1da)](_0x579f63,{'childList':!0x0,'subtree':!0x0});}[_0x2736a6(0x1fd)](_0x46c8aa){const _0xcb3b77=_0x2736a6;_0x46c8aa[_0xcb3b77(0x1ec)](_0xcb3b77(0x203),_0x3c7fb2=>{const _0x4e9d1d=_0xcb3b77;this[_0x4e9d1d(0x1d6)](_0x4e9d1d(0x203),{'imageSrc':_0x3c7fb2[_0x4e9d1d(0x20a)][_0x4e9d1d(0x1f4)]});}),_0x46c8aa[_0xcb3b77(0x1ec)](_0xcb3b77(0x207),()=>{const _0x2da893=_0xcb3b77;this[_0x2da893(0x1d6)](_0x2da893(0x207));});}[_0x2736a6(0x1ee)](){const _0x5640c0=_0x2736a6;this[_0x5640c0(0x1e5)]['on'](_0x5640c0(0x1dd),()=>{const _0x172dfe=_0x5640c0;this[_0x172dfe(0x1d6)](_0x172dfe(0x1dd));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f9290=_0x1f96;(function(_0x2b6549,_0x1b90de){const _0x58d5aa=_0x1f96,_0x55638e=_0x2b6549();while(!![]){try{const _0x5455d8=parseInt(_0x58d5aa(0x1c9))/0x1+parseInt(_0x58d5aa(0x1b6))/0x2*(-parseInt(_0x58d5aa(0x1c6))/0x3)+-parseInt(_0x58d5aa(0x1bf))/0x4*(-parseInt(_0x58d5aa(0x1b8))/0x5)+-parseInt(_0x58d5aa(0x1ad))/0x6*(parseInt(_0x58d5aa(0x1c5))/0x7)+-parseInt(_0x58d5aa(0x1aa))/0x8+-parseInt(_0x58d5aa(0x1b4))/0x9*(-parseInt(_0x58d5aa(0x1b7))/0xa)+-parseInt(_0x58d5aa(0x1c7))/0xb;if(_0x5455d8===_0x1b90de)break;else _0x55638e['push'](_0x55638e['shift']());}catch(_0x5f3476){_0x55638e['push'](_0x55638e['shift']());}}}(_0x3d4e,0xedfd8));import{Command as _0x2c63ef}from'ckeditor5/src/core.js';function _0x1f96(_0x3df11f,_0x536d8b){const _0x3d4e3d=_0x3d4e();return _0x1f96=function(_0x1f9689,_0x15c1d4){_0x1f9689=_0x1f9689-0x1a9;let _0x45489c=_0x3d4e3d[_0x1f9689];return _0x45489c;},_0x1f96(_0x3df11f,_0x536d8b);}import{Dialog as _0x323f02}from'ckeditor5/src/ui.js';function _0x3d4e(){const _0x5ddd84=['element','get','bind','5961908AcLapz','config','document','isActive','isEnabled','uploadcare.allowExternalImagesEditing','1281XzzZYq','2987499cQWiRM','12310694XHZZFn','execute','1828669cZAuuG','set','11012024wBJuqI','unbind','_isEditable','14892jZEcSV','refresh','requires','getSelectedElement','model','editor','imageBlock','5643NZqKXN','imageInline','2wmOXAB','25540SVoMln','5SYxHGb','imageEditController','plugins','selection'];_0x3d4e=function(){return _0x5ddd84;};return _0x3d4e();}import{UploadcareImageEditController as _0x4321ff}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x52a5f8}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2c63ef{[_0x1f9290(0x1b9)];static get[_0x1f9290(0x1af)](){return[_0x323f02];}[_0x1f9290(0x1ac)];constructor(_0x661124){const _0x3c97e3=_0x1f9290;super(_0x661124),this[_0x3c97e3(0x1b9)]=void 0x0,this[_0x3c97e3(0x1ac)]=_0x52a5f8(_0x661124[_0x3c97e3(0x1c0)][_0x3c97e3(0x1bd)](_0x3c97e3(0x1c4))||[]),this[_0x3c97e3(0x1a9)]({'isActive':!0x1});}[_0x1f9290(0x1ae)](){const _0x5eb6a9=_0x1f9290,_0x30b0a1=this[_0x5eb6a9(0x1b2)][_0x5eb6a9(0x1b1)][_0x5eb6a9(0x1c1)][_0x5eb6a9(0x1bb)][_0x5eb6a9(0x1b0)]();this[_0x5eb6a9(0x1c3)]=this[_0x5eb6a9(0x1ac)](_0x30b0a1);}[_0x1f9290(0x1c8)](){const _0x27caf3=_0x1f9290;this[_0x27caf3(0x1b9)]&&(this[_0x27caf3(0x1ab)](_0x27caf3(0x1c2)),this[_0x27caf3(0x1b9)]=void 0x0);const _0x10fede=this[_0x27caf3(0x1b2)][_0x27caf3(0x1b1)][_0x27caf3(0x1c1)][_0x27caf3(0x1bb)][_0x27caf3(0x1b0)]();_0x10fede&&(_0x10fede['is'](_0x27caf3(0x1bc),_0x27caf3(0x1b3))||_0x10fede['is'](_0x27caf3(0x1bc),_0x27caf3(0x1b5)))&&(this[_0x27caf3(0x1b9)]=new _0x4321ff(this[_0x27caf3(0x1b2)],this[_0x27caf3(0x1b2)][_0x27caf3(0x1ba)][_0x27caf3(0x1bd)](_0x323f02),_0x10fede),this[_0x27caf3(0x1be)](_0x27caf3(0x1c2))['to'](this[_0x27caf3(0x1b9)],_0x27caf3(0x1c2)));}}
23
+ const _0x251d01=_0x4abf;(function(_0x12974b,_0x35ac58){const _0xf555cc=_0x4abf,_0x3312fa=_0x12974b();while(!![]){try{const _0x5e0b15=parseInt(_0xf555cc(0x195))/0x1*(parseInt(_0xf555cc(0x1a6))/0x2)+-parseInt(_0xf555cc(0x18f))/0x3*(parseInt(_0xf555cc(0x1a8))/0x4)+-parseInt(_0xf555cc(0x188))/0x5+-parseInt(_0xf555cc(0x1a4))/0x6+-parseInt(_0xf555cc(0x197))/0x7+-parseInt(_0xf555cc(0x193))/0x8*(parseInt(_0xf555cc(0x19a))/0x9)+-parseInt(_0xf555cc(0x19b))/0xa*(-parseInt(_0xf555cc(0x19f))/0xb);if(_0x5e0b15===_0x35ac58)break;else _0x3312fa['push'](_0x3312fa['shift']());}catch(_0x4acf3b){_0x3312fa['push'](_0x3312fa['shift']());}}}(_0x3238,0xa165e));import{Command as _0x2c5c9}from'ckeditor5/src/core.js';function _0x4abf(_0xf6442c,_0x41fb23){const _0x3238ad=_0x3238();return _0x4abf=function(_0x4abf99,_0x426c41){_0x4abf99=_0x4abf99-0x188;let _0x41b930=_0x3238ad[_0x4abf99];return _0x41b930;},_0x4abf(_0xf6442c,_0x41fb23);}function _0x3238(){const _0x3e5b1c=['requires','imageBlock','bind','element','document','imageEditController','2477085MCowCg','unbind','get','editor','8648WqHFar','imageInline','1uJmwNo','getSelectedElement','5975858khknEC','isActive','execute','729mHTpWx','10wYYWJH','_isEditable','model','set','39154291acJVzb','uploadcare.allowExternalImagesEditing','selection','config','plugins','6420864vousAK','refresh','1113670vTQEVe','isEnabled','4egPazp','3090680CjBnbe'];_0x3238=function(){return _0x3e5b1c;};return _0x3238();}import{Dialog as _0x19d0af}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3f3661}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x257183}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2c5c9{[_0x251d01(0x18e)];static get[_0x251d01(0x189)](){return[_0x19d0af];}[_0x251d01(0x19c)];constructor(_0x114148){const _0x16bf9c=_0x251d01;super(_0x114148),this[_0x16bf9c(0x18e)]=void 0x0,this[_0x16bf9c(0x19c)]=_0x257183(_0x114148[_0x16bf9c(0x1a2)][_0x16bf9c(0x191)](_0x16bf9c(0x1a0))||[]),this[_0x16bf9c(0x19e)]({'isActive':!0x1});}[_0x251d01(0x1a5)](){const _0x413509=_0x251d01,_0x31fcb5=this[_0x413509(0x192)][_0x413509(0x19d)][_0x413509(0x18d)][_0x413509(0x1a1)][_0x413509(0x196)]();this[_0x413509(0x1a7)]=this[_0x413509(0x19c)](_0x31fcb5);}[_0x251d01(0x199)](){const _0x5786e9=_0x251d01;this[_0x5786e9(0x18e)]&&(this[_0x5786e9(0x190)](_0x5786e9(0x198)),this[_0x5786e9(0x18e)]=void 0x0);const _0x582727=this[_0x5786e9(0x192)][_0x5786e9(0x19d)][_0x5786e9(0x18d)][_0x5786e9(0x1a1)][_0x5786e9(0x196)]();_0x582727&&(_0x582727['is'](_0x5786e9(0x18c),_0x5786e9(0x18a))||_0x582727['is'](_0x5786e9(0x18c),_0x5786e9(0x194)))&&(this[_0x5786e9(0x18e)]=new _0x3f3661(this[_0x5786e9(0x192)],this[_0x5786e9(0x192)][_0x5786e9(0x1a3)][_0x5786e9(0x191)](_0x19d0af),_0x582727),this[_0x5786e9(0x18b)](_0x5786e9(0x198))['to'](this[_0x5786e9(0x18e)],_0x5786e9(0x198)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14d838=_0x1660;(function(_0x5c3843,_0x306894){const _0x2642c2=_0x1660,_0x156b45=_0x5c3843();while(!![]){try{const _0x2633e9=-parseInt(_0x2642c2(0x153))/0x1*(-parseInt(_0x2642c2(0x146))/0x2)+parseInt(_0x2642c2(0x155))/0x3+-parseInt(_0x2642c2(0x14d))/0x4+parseInt(_0x2642c2(0x152))/0x5+-parseInt(_0x2642c2(0x147))/0x6*(parseInt(_0x2642c2(0x151))/0x7)+parseInt(_0x2642c2(0x154))/0x8+-parseInt(_0x2642c2(0x144))/0x9*(parseInt(_0x2642c2(0x14b))/0xa);if(_0x2633e9===_0x306894)break;else _0x156b45['push'](_0x156b45['shift']());}catch(_0x556964){_0x156b45['push'](_0x156b45['shift']());}}}(_0x1613,0xe6794));import{Plugin as _0x23ab7d}from'ckeditor5/src/core.js';function _0x1660(_0x22d585,_0x796c5d){const _0x1613aa=_0x1613();return _0x1660=function(_0x166078,_0xb06e25){_0x166078=_0x166078-0x143;let _0x1dc745=_0x1613aa[_0x166078];return _0x1dc745;},_0x1660(_0x22d585,_0x796c5d);}import{Notification as _0x440b03}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xce74f9}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4dbcac}from'./uploadcareimagereplacecommand.js';function _0x1613(){const _0x3b5b96=['ImageUtils','pluginName','uploadcareImageReplace','9KloFYl','commands','91252fTDLoP','1672608dNOEeI','add','isPremiumPlugin','isOfficialPlugin','40757870jvILyZ','init','4945184WHILWM','UploadcareImageEditEditing','uploadcareImageEdit','ImageEditing','7qgEqPv','7578880XTQvAi','37Fozrkq','12333128hXPsTh','5367876dxzwIl','requires'];_0x1613=function(){return _0x3b5b96;};return _0x1613();}import{UploadcareEditing as _0x4ba507}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x23ab7d{static get[_0x14d838(0x158)](){const _0x49753d=_0x14d838;return _0x49753d(0x14e);}static get[_0x14d838(0x156)](){const _0x87d7a1=_0x14d838;return[_0x4ba507,_0x440b03,_0x87d7a1(0x157),_0x87d7a1(0x150)];}static get[_0x14d838(0x14a)](){return!0x0;}static get[_0x14d838(0x149)](){return!0x0;}[_0x14d838(0x14c)](){const _0x38bcb4=_0x14d838,{editor:_0x4984ec}=this;_0x4984ec[_0x38bcb4(0x145)][_0x38bcb4(0x148)](_0x38bcb4(0x14f),new _0xce74f9(_0x4984ec)),_0x4984ec[_0x38bcb4(0x145)][_0x38bcb4(0x148)](_0x38bcb4(0x143),new _0x4dbcac(_0x4984ec));}}
23
+ const _0x2dec29=_0x208a;(function(_0x58c32b,_0xe03acf){const _0x19147f=_0x208a,_0x2dd5b6=_0x58c32b();while(!![]){try{const _0x130fbe=-parseInt(_0x19147f(0xd3))/0x1*(-parseInt(_0x19147f(0xd7))/0x2)+-parseInt(_0x19147f(0xd2))/0x3*(-parseInt(_0x19147f(0xce))/0x4)+parseInt(_0x19147f(0xca))/0x5+-parseInt(_0x19147f(0xd9))/0x6+-parseInt(_0x19147f(0xd0))/0x7+-parseInt(_0x19147f(0xcb))/0x8+-parseInt(_0x19147f(0xdb))/0x9*(parseInt(_0x19147f(0xc7))/0xa);if(_0x130fbe===_0xe03acf)break;else _0x2dd5b6['push'](_0x2dd5b6['shift']());}catch(_0x4c8c68){_0x2dd5b6['push'](_0x2dd5b6['shift']());}}}(_0x1527,0xa4999));import{Plugin as _0x57aca9}from'ckeditor5/src/core.js';import{Notification as _0x37c8f7}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x362141}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x387dd0}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x371132}from'../uploadcareediting.js';function _0x208a(_0x4eed0a,_0x5e220e){const _0x152750=_0x1527();return _0x208a=function(_0x208a52,_0x20398a){_0x208a52=_0x208a52-0xc6;let _0x5743ed=_0x152750[_0x208a52];return _0x5743ed;},_0x208a(_0x4eed0a,_0x5e220e);}function _0x1527(){const _0x565d3c=['isOfficialPlugin','pluginName','19906osrbQH','uploadcareImageEdit','7681530rluQNa','add','24363fFnypI','init','820zXdGpW','ImageUtils','requires','5031615JZEfhi','540032XMAUwQ','ImageEditing','UploadcareImageEditEditing','40nSFHLi','isPremiumPlugin','771687lUKGQH','uploadcareImageReplace','123681cdBReN','94tZPEeq','commands'];_0x1527=function(){return _0x565d3c;};return _0x1527();}export class UploadcareImageEditEditing extends _0x57aca9{static get[_0x2dec29(0xd6)](){const _0x3fe0dd=_0x2dec29;return _0x3fe0dd(0xcd);}static get[_0x2dec29(0xc9)](){const _0x3bf382=_0x2dec29;return[_0x371132,_0x37c8f7,_0x3bf382(0xc8),_0x3bf382(0xcc)];}static get[_0x2dec29(0xd5)](){return!0x0;}static get[_0x2dec29(0xcf)](){return!0x0;}[_0x2dec29(0xc6)](){const _0x3e9754=_0x2dec29,{editor:_0xf66729}=this;_0xf66729[_0x3e9754(0xd4)][_0x3e9754(0xda)](_0x3e9754(0xd8),new _0x362141(_0xf66729)),_0xf66729[_0x3e9754(0xd4)][_0x3e9754(0xda)](_0x3e9754(0xd1),new _0x387dd0(_0xf66729));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x815568}from'ckeditor5/src/core.js';import{ButtonView as _0x2f0507}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x416c85}from'ckeditor5/src/icons.js';import{createElement as _0x25cf1e}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 _0x815568{['_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 _0x14d909=this['editor'];_0x14d909['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2c6cf6=>{const _0x504ade=_0x14d909['commands']['get']('uploadcareImageEdit'),_0x16e5ef=new _0x2f0507(_0x2c6cf6),t=_0x2c6cf6['t'];return _0x16e5ef['set']({'icon':_0x416c85,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x16e5ef['bind']('isEnabled')['to'](_0x504ade),_0x16e5ef['bind']('isOn')['to'](_0x504ade,'isActive'),this['listenTo'](_0x16e5ef,'execute',()=>{_0x14d909['execute']('uploadcareImageEdit'),_0x14d909['editing']['view']['focus']();}),_0x16e5ef;}),this['_initConfig']();}['_initConfig'](){const _0xcf4043=_0x25cf1e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xcf4043),this['listenTo'](this['editor'],'destroy',()=>{_0xcf4043['remove']();});}}
23
+ import{Plugin as _0x59688c}from'ckeditor5/src/core.js';import{ButtonView as _0x3872d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c03c3}from'ckeditor5/src/icons.js';import{createElement as _0x5c1b0f}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 _0x59688c{['_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 _0x434d85=this['editor'];_0x434d85['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1b45f7=>{const _0xa92c62=_0x434d85['commands']['get']('uploadcareImageEdit'),_0x4c037e=new _0x3872d3(_0x1b45f7),t=_0x1b45f7['t'];return _0x4c037e['set']({'icon':_0x4c03c3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c037e['bind']('isEnabled')['to'](_0xa92c62),_0x4c037e['bind']('isOn')['to'](_0xa92c62,'isActive'),this['listenTo'](_0x4c037e,'execute',()=>{_0x434d85['execute']('uploadcareImageEdit'),_0x434d85['editing']['view']['focus']();}),_0x4c037e;}),this['_initConfig']();}['_initConfig'](){const _0xc3e39b=_0x5c1b0f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc3e39b),this['listenTo'](this['editor'],'destroy',()=>{_0xc3e39b['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c1693=_0x31e4;function _0x186f(){const _0x27fa16=['model','change','srcset','22934187ESSkqb','removeAttribute','2520130KkAmHu','isEnabled','3011148eZABlt','editor','selection','1166787YKKtMu','8RwhlRT','50qNgpMl','1413896VdSbug','execute','setAttributes','64230izGWRr','imageInline','document','imageBlock','element','getSelectedElement','sizes','3025689UWaKAg','refresh'];_0x186f=function(){return _0x27fa16;};return _0x186f();}(function(_0x3ece28,_0x42e2ba){const _0x1c8c30=_0x31e4,_0x1ee1db=_0x3ece28();while(!![]){try{const _0x4705e4=parseInt(_0x1c8c30(0xb7))/0x1+parseInt(_0x1c8c30(0xb2))/0x2+parseInt(_0x1c8c30(0xab))/0x3+parseInt(_0x1c8c30(0xba))/0x4+parseInt(_0x1c8c30(0xb9))/0x5*(-parseInt(_0x1c8c30(0xbd))/0x6)+-parseInt(_0x1c8c30(0xb4))/0x7+-parseInt(_0x1c8c30(0xb8))/0x8*(parseInt(_0x1c8c30(0xb0))/0x9);if(_0x4705e4===_0x42e2ba)break;else _0x1ee1db['push'](_0x1ee1db['shift']());}catch(_0x22528a){_0x1ee1db['push'](_0x1ee1db['shift']());}}}(_0x186f,0xabbc8));import{Command as _0xba2712}from'ckeditor5/src/core.js';function _0x31e4(_0x5d1c55,_0x5928b3){const _0x186f20=_0x186f();return _0x31e4=function(_0x31e4be,_0x30aad8){_0x31e4be=_0x31e4be-0xa6;let _0x5ea6a1=_0x186f20[_0x31e4be];return _0x5ea6a1;},_0x31e4(_0x5d1c55,_0x5928b3);}export class UploadcareImageReplaceCommand extends _0xba2712{[_0x2c1693(0xac)](){const _0x1c512f=_0x2c1693,_0x31ef31=this[_0x1c512f(0xb5)][_0x1c512f(0xad)][_0x1c512f(0xa6)][_0x1c512f(0xb6)][_0x1c512f(0xa9)]();this[_0x1c512f(0xb3)]=Boolean(_0x31ef31&&(_0x31ef31['is'](_0x1c512f(0xa8),_0x1c512f(0xa7))||_0x31ef31['is'](_0x1c512f(0xa8),_0x1c512f(0xbe))));}[_0x2c1693(0xbb)](_0xafeaa0){const _0x747b2a=_0x2c1693,_0x1d8ece=this[_0x747b2a(0xb5)][_0x747b2a(0xad)][_0x747b2a(0xa6)][_0x747b2a(0xb6)][_0x747b2a(0xa9)]();this[_0x747b2a(0xb5)][_0x747b2a(0xad)][_0x747b2a(0xae)](_0x5a3806=>{const _0x48dc5b=_0x747b2a;_0x5a3806[_0x48dc5b(0xbc)](_0xafeaa0,_0x1d8ece),_0x5a3806[_0x48dc5b(0xb1)](_0x48dc5b(0xaf),_0x1d8ece),_0x5a3806[_0x48dc5b(0xb1)](_0x48dc5b(0xaa),_0x1d8ece);});}}
23
+ function _0x5327(){const _0x4e1835=['2198TkkjkF','change','8axKWoD','isEnabled','172310edTTTM','346225sIqLul','2698956vDpOOZ','setAttributes','refresh','1007730LWYpGp','getSelectedElement','document','sizes','srcset','execute','imageInline','model','1476063nQDtyL','selection','imageBlock','removeAttribute','108kkiOuI','13738RcfYRO','element','10368Tlprzm','editor','61fdQMjK','33aWmToJ'];_0x5327=function(){return _0x4e1835;};return _0x5327();}const _0x3d02f5=_0x7255;(function(_0x39f318,_0x465687){const _0x4b1c97=_0x7255,_0x1395b6=_0x39f318();while(!![]){try{const _0x1ec800=parseInt(_0x4b1c97(0x100))/0x1*(-parseInt(_0x4b1c97(0xfc))/0x2)+-parseInt(_0x4b1c97(0xf7))/0x3+-parseInt(_0x4b1c97(0x104))/0x4*(-parseInt(_0x4b1c97(0x107))/0x5)+parseInt(_0x4b1c97(0x10b))/0x6+parseInt(_0x4b1c97(0x102))/0x7*(parseInt(_0x4b1c97(0xfe))/0x8)+-parseInt(_0x4b1c97(0xfb))/0x9*(parseInt(_0x4b1c97(0x106))/0xa)+-parseInt(_0x4b1c97(0x101))/0xb*(-parseInt(_0x4b1c97(0x108))/0xc);if(_0x1ec800===_0x465687)break;else _0x1395b6['push'](_0x1395b6['shift']());}catch(_0x17e934){_0x1395b6['push'](_0x1395b6['shift']());}}}(_0x5327,0x41ff6));import{Command as _0x142989}from'ckeditor5/src/core.js';function _0x7255(_0x3ef45e,_0x213fa8){const _0x532775=_0x5327();return _0x7255=function(_0x72557d,_0x3c5371){_0x72557d=_0x72557d-0xf0;let _0x34854a=_0x532775[_0x72557d];return _0x34854a;},_0x7255(_0x3ef45e,_0x213fa8);}export class UploadcareImageReplaceCommand extends _0x142989{[_0x3d02f5(0x10a)](){const _0x13ea59=_0x3d02f5,_0x4ef1fc=this[_0x13ea59(0xff)][_0x13ea59(0xf6)][_0x13ea59(0xf1)][_0x13ea59(0xf8)][_0x13ea59(0xf0)]();this[_0x13ea59(0x105)]=Boolean(_0x4ef1fc&&(_0x4ef1fc['is'](_0x13ea59(0xfd),_0x13ea59(0xf9))||_0x4ef1fc['is'](_0x13ea59(0xfd),_0x13ea59(0xf5))));}[_0x3d02f5(0xf4)](_0x528432){const _0x1fc9d3=_0x3d02f5,_0x2119af=this[_0x1fc9d3(0xff)][_0x1fc9d3(0xf6)][_0x1fc9d3(0xf1)][_0x1fc9d3(0xf8)][_0x1fc9d3(0xf0)]();this[_0x1fc9d3(0xff)][_0x1fc9d3(0xf6)][_0x1fc9d3(0x103)](_0x51bf63=>{const _0x4b4e4e=_0x1fc9d3;_0x51bf63[_0x4b4e4e(0x109)](_0x528432,_0x2119af),_0x51bf63[_0x4b4e4e(0xfa)](_0x4b4e4e(0xf3),_0x2119af),_0x51bf63[_0x4b4e4e(0xfa)](_0x4b4e4e(0xf2),_0x2119af);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17f1(_0xb8b1d2,_0x391f34){var _0x4e0b8f=_0x4e0b();return _0x17f1=function(_0x17f15a,_0x53b104){_0x17f15a=_0x17f15a-0x13f;var _0x5042ed=_0x4e0b8f[_0x17f15a];return _0x5042ed;},_0x17f1(_0xb8b1d2,_0x391f34);}var _0x167713=_0x17f1;(function(_0x2c199a,_0x4b1739){var _0x2279da=_0x17f1,_0x5dae93=_0x2c199a();while(!![]){try{var _0x3c3232=parseInt(_0x2279da(0x14a))/0x1*(-parseInt(_0x2279da(0x141))/0x2)+parseInt(_0x2279da(0x147))/0x3+parseInt(_0x2279da(0x140))/0x4+parseInt(_0x2279da(0x144))/0x5+-parseInt(_0x2279da(0x148))/0x6+parseInt(_0x2279da(0x13f))/0x7+-parseInt(_0x2279da(0x145))/0x8;if(_0x3c3232===_0x4b1739)break;else _0x5dae93['push'](_0x5dae93['shift']());}catch(_0x549465){_0x5dae93['push'](_0x5dae93['shift']());}}}(_0x4e0b,0x749ae));import{Plugin as _0x3f816b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x6fa2d5}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4e0b(){var _0x3edeb3=['UploadcareImageEdit','requires','1700725IKlAyn','17148328PzCTJn','isOfficialPlugin','2812131RhoQXw','1288644pkgpnI','isPremiumPlugin','5501APXqlj','pluginName','6443094lGslfL','2595868xKVrwe','4EdZRrR'];_0x4e0b=function(){return _0x3edeb3;};return _0x4e0b();}import{UploadcareImageEditUI as _0xcc99f1}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3f816b{static get[_0x167713(0x14b)](){var _0x3a270a=_0x167713;return _0x3a270a(0x142);}static get[_0x167713(0x143)](){return[_0x6fa2d5,_0xcc99f1];}static get[_0x167713(0x146)](){return!0x0;}static get[_0x167713(0x149)](){return!0x0;}}
23
+ var _0x5619e2=_0x2b37;(function(_0x228077,_0x3a49e2){var _0x31360d=_0x2b37,_0x48c71e=_0x228077();while(!![]){try{var _0x8f852f=parseInt(_0x31360d(0x1ed))/0x1*(parseInt(_0x31360d(0x1e0))/0x2)+-parseInt(_0x31360d(0x1f0))/0x3*(parseInt(_0x31360d(0x1ef))/0x4)+-parseInt(_0x31360d(0x1eb))/0x5*(parseInt(_0x31360d(0x1ee))/0x6)+parseInt(_0x31360d(0x1e7))/0x7+parseInt(_0x31360d(0x1e2))/0x8*(parseInt(_0x31360d(0x1e5))/0x9)+parseInt(_0x31360d(0x1e1))/0xa*(-parseInt(_0x31360d(0x1e4))/0xb)+parseInt(_0x31360d(0x1ec))/0xc*(parseInt(_0x31360d(0x1e6))/0xd);if(_0x8f852f===_0x3a49e2)break;else _0x48c71e['push'](_0x48c71e['shift']());}catch(_0x206032){_0x48c71e['push'](_0x48c71e['shift']());}}}(_0x1566,0xafa12));import{Plugin as _0x14f9a5}from'ckeditor5/src/core.js';function _0x2b37(_0x49d2ae,_0x321b4d){var _0x156655=_0x1566();return _0x2b37=function(_0x2b3718,_0x293cb5){_0x2b3718=_0x2b3718-0x1df;var _0x590572=_0x156655[_0x2b3718];return _0x590572;},_0x2b37(_0x49d2ae,_0x321b4d);}import{UploadcareImageEditEditing as _0x1a897e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1566(){var _0x2eeb41=['isOfficialPlugin','155kGsJIO','12fmTmCW','11589MuMEWz','209994TaIvib','76256SxhJBr','123LlfKwB','UploadcareImageEdit','50DFcFHQ','1483290sZxYqO','8ReSJFe','requires','44qIbZcl','1701387qbkgWe','27992874xyYMNf','3830547NPvrHL','isPremiumPlugin','pluginName'];_0x1566=function(){return _0x2eeb41;};return _0x1566();}import{UploadcareImageEditUI as _0x2023db}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x14f9a5{static get[_0x5619e2(0x1e9)](){var _0x43f028=_0x5619e2;return _0x43f028(0x1df);}static get[_0x5619e2(0x1e3)](){return[_0x1a897e,_0x2023db];}static get[_0x5619e2(0x1ea)](){return!0x0;}static get[_0x5619e2(0x1e8)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35436d=_0x35f1;(function(_0x3ac687,_0x2409dc){const _0xa5e3a7=_0x35f1,_0x4992a1=_0x3ac687();while(!![]){try{const _0x3ddb3c=parseInt(_0xa5e3a7(0x20a))/0x1+parseInt(_0xa5e3a7(0x21c))/0x2+-parseInt(_0xa5e3a7(0x213))/0x3*(-parseInt(_0xa5e3a7(0x223))/0x4)+parseInt(_0xa5e3a7(0x1e4))/0x5+parseInt(_0xa5e3a7(0x1ec))/0x6*(-parseInt(_0xa5e3a7(0x1ee))/0x7)+-parseInt(_0xa5e3a7(0x1dc))/0x8*(-parseInt(_0xa5e3a7(0x204))/0x9)+parseInt(_0xa5e3a7(0x205))/0xa*(-parseInt(_0xa5e3a7(0x217))/0xb);if(_0x3ddb3c===_0x2409dc)break;else _0x4992a1['push'](_0x4992a1['shift']());}catch(_0x57fb67){_0x4992a1['push'](_0x4992a1['shift']());}}}(_0x45c8,0xe2488));import{Plugin as _0x2928ea}from'ckeditor5/src/core.js';import{IconDropbox as _0xbbddb6,IconFacebook as _0x396cf0,IconGoogleDrive as _0x1fc545,IconGooglePhotos as _0x349436,IconUploadcareImageUpload as _0x20b1f1,IconUploadcareLink as _0x4f7770,IconOneDrive as _0x10e1ed}from'ckeditor5/src/icons.js';function _0x45c8(){const _0x38015e=['_createToolbarButton','editor','pluginName','uploadcareLicenseKeyUsageLimit','trialLimit','uploadcare.uploader.sourceList','label','GDrive','_createButton','isEnabled','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','expired','Insert','assetManager','withText','push','32841HbLrHi','12620SqIdqY','commands','Uploadcare','reduce','locale','89407FrdWOM','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyInvalid','_showLicenseError','shortText','evaluationLimit','config','featureNotAllowed','get','263739iBcFOR','isOfficialPlugin','usageLimit','execute','18425XzdUWf','uploadcareLicenseKeyValid','isImageSelected','UploadcareUI','init','2029908WwRHKT','Dropbox','_createDropdownButtons','destroy','_getIntegrationKey','map','domainLimit','76OLykZr','isPremiumPlugin','text','url','Local','uploadcareLicenseKeyNotAllowed','tooltip','upload','entries','OneDrive','uploadcare','2608vsLIgm','plugins','_createMenuBarButtons','_normalizeConfigSourceList','forEach','icon','registerIntegration','afterInit','893080NrgZNL','bind','has','Facebook','_licenseKeyCheckInterval','ImageInsertUI','licenseKey','type','72672pcDcSz','GPhotos','637irVeyY','uploadcareLicenseKeyDomainLimit','URL','invalid','Replace'];_0x45c8=function(){return _0x38015e;};return _0x45c8();}import{ButtonView as _0x36d3ef,MenuBarMenuListItemButtonView as _0x2b9401}from'ckeditor5/src/ui.js';function _0x35f1(_0x3b4700,_0x5cecc9){const _0x45c89f=_0x45c8();return _0x35f1=function(_0x35f172,_0x3cdca8){_0x35f172=_0x35f172-0x1db;let _0x26d1ce=_0x45c89f[_0x35f172];return _0x26d1ce;},_0x35f1(_0x3b4700,_0x5cecc9);}import{UploadcareSource as _0xcc0292}from'./uploadcareconfig.js';import{getTranslation as _0x5865b3}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2928ea{[_0x35436d(0x1ea)];[_0x35436d(0x1e8)];static get[_0x35436d(0x1f5)](){const _0x16dbc3=_0x35436d;return _0x16dbc3(0x21a);}static get[_0x35436d(0x214)](){return!0x0;}static get[_0x35436d(0x224)](){return!0x0;}[_0x35436d(0x21b)](){const _0x279d50=_0x35436d;this[_0x279d50(0x1ea)]=this[_0x279d50(0x1f4)][_0x279d50(0x210)][_0x279d50(0x212)](_0x279d50(0x1ea));const _0x13cde0=this[_0x279d50(0x1f4)];this[_0x279d50(0x1e8)]=setInterval(()=>{const _0x543473=_0x279d50;let _0x5e903c;for(const _0x329332 in _0x13cde0){const _0x4ea09f=_0x329332,_0x3f6d90=_0x13cde0[_0x4ea09f];if(_0x543473(0x218)==_0x3f6d90||_0x543473(0x20c)==_0x3f6d90||_0x543473(0x1fe)==_0x3f6d90||_0x543473(0x1ef)==_0x3f6d90||_0x543473(0x228)==_0x3f6d90||_0x543473(0x1fd)==_0x3f6d90||_0x543473(0x20b)==_0x3f6d90||_0x543473(0x1f6)==_0x3f6d90){delete _0x13cde0[_0x4ea09f],_0x5e903c=_0x3f6d90,clearInterval(this[_0x543473(0x1e8)]),this[_0x543473(0x1e8)]=void 0x0;break;}}_0x543473(0x20c)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x1f1)),_0x543473(0x1fe)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x1ff)),_0x543473(0x1ef)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x222)),_0x543473(0x228)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x211),_0x543473(0x207)),_0x543473(0x1fd)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x20f)),_0x543473(0x20b)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x1f7)),_0x543473(0x1f6)==_0x5e903c&&_0x13cde0[_0x543473(0x20d)](_0x543473(0x215));},0x3e8);}[_0x35436d(0x1e3)](){const _0x470bbf=_0x35436d,{editor:_0x472231}=this,_0x295ab7=_0x472231[_0x470bbf(0x206)][_0x470bbf(0x212)](_0x470bbf(0x1db));if(!_0x295ab7)return;const _0xde167f=this[_0x470bbf(0x1df)](_0x472231[_0x470bbf(0x210)][_0x470bbf(0x212)](_0x470bbf(0x1f8)))[_0x470bbf(0x208)]((_0x13e24f,_0x140046)=>{const _0x300ceb=_0x470bbf,_0x44344c=this[_0x300ceb(0x220)](_0x140046[_0x300ceb(0x1eb)]);return _0x13e24f[_0x44344c]||(_0x13e24f[_0x44344c]=[]),_0x13e24f[_0x44344c][_0x300ceb(0x203)](_0x140046),_0x13e24f;},{});_0x472231[_0x470bbf(0x1dd)][_0x470bbf(0x1e6)](_0x470bbf(0x1e9))&&_0x472231[_0x470bbf(0x206)][_0x470bbf(0x212)](_0x470bbf(0x1db))&&Object[_0x470bbf(0x22b)](_0xde167f)[_0x470bbf(0x1e0)](([_0x999ed9,_0x57d4c8])=>{const _0x4ca21e=_0x470bbf;_0x472231[_0x4ca21e(0x1dd)][_0x4ca21e(0x212)](_0x4ca21e(0x1e9))[_0x4ca21e(0x1e2)]({'name':_0x999ed9,'observable':()=>_0x295ab7,'buttonViewCreator':()=>this[_0x4ca21e(0x1f3)](_0x57d4c8),'formViewCreator':()=>this[_0x4ca21e(0x21e)](_0x57d4c8),'menuBarButtonViewCreator':()=>this[_0x4ca21e(0x1de)](_0x57d4c8),'override':_0x4ca21e(0x201)!==_0x999ed9});});}[_0x35436d(0x21f)](){const _0x286635=_0x35436d;super[_0x286635(0x21f)](),this[_0x286635(0x1e8)]&&clearInterval(this[_0x286635(0x1e8)]);}[_0x35436d(0x1df)](_0x2539cd){const _0x30cb37=_0x35436d,{locale:_0x2a904d}=this[_0x30cb37(0x1f4)];return _0x2539cd[_0x30cb37(0x221)](_0x2ac00b=>{const _0x431efc=_0x30cb37,_0xa1dba4=_0x5865b3(_0x2a904d,_0x2ac00b,_0x431efc(0x200));switch(_0x2ac00b){case _0xcc0292[_0x431efc(0x227)]:return{'icon':_0x20b1f1,'type':_0xcc0292[_0x431efc(0x227)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x1f0)]:return{'icon':_0x4f7770,'type':_0xcc0292[_0x431efc(0x1f0)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x21d)]:return{'icon':_0xbbddb6,'type':_0xcc0292[_0x431efc(0x21d)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x1e7)]:return{'icon':_0x396cf0,'type':_0xcc0292[_0x431efc(0x1e7)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x1fa)]:return{'icon':_0x1fc545,'type':_0xcc0292[_0x431efc(0x1fa)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x1ed)]:return{'icon':_0x349436,'type':_0xcc0292[_0x431efc(0x1ed)],..._0xa1dba4};case _0xcc0292[_0x431efc(0x22c)]:return{'icon':_0x10e1ed,'type':_0xcc0292[_0x431efc(0x22c)],..._0xa1dba4};}});}[_0x35436d(0x220)](_0x3e2a25){const _0x2d70b2=_0x35436d;switch(_0x3e2a25){case _0xcc0292[_0x2d70b2(0x227)]:return _0x2d70b2(0x22a);case _0xcc0292[_0x2d70b2(0x1f0)]:return _0x2d70b2(0x226);default:return _0x2d70b2(0x201);}}[_0x35436d(0x1fb)](_0x502de1,_0x42a43f){const _0x5b9675=_0x35436d,_0x249699=this[_0x5b9675(0x1f4)],_0x2c3349=new _0x502de1(_0x249699[_0x5b9675(0x209)]),_0x27df01=_0x249699[_0x5b9675(0x206)][_0x5b9675(0x212)](_0x5b9675(0x1db));return _0x2c3349[_0x5b9675(0x1e5)](_0x5b9675(0x1fc))['to'](_0x27df01),_0x2c3349['on'](_0x5b9675(0x216),()=>{const _0x3b9e39=_0x5b9675;_0x27df01[_0x3b9e39(0x216)](_0x42a43f);}),_0x2c3349;}[_0x35436d(0x1f3)](_0x256b22){const _0x56c585=_0x35436d,{locale:_0x10056b}=this[_0x56c585(0x1f4)],_0x5a020f=this[_0x56c585(0x1f4)][_0x56c585(0x1dd)][_0x56c585(0x212)](_0x56c585(0x1e9)),_0x1833a8=_0x256b22[0x0],_0x5e55ab=this[_0x56c585(0x1fb)](_0x36d3ef,_0x1833a8[_0x56c585(0x1eb)]);return _0x5e55ab[_0x56c585(0x1e1)]=_0x1833a8[_0x56c585(0x1e1)],_0x5e55ab[_0x56c585(0x1e5)](_0x56c585(0x1f9))['to'](_0x5a020f,_0x56c585(0x219),_0x404f12=>_0x5865b3(_0x10056b,_0x1833a8[_0x56c585(0x1eb)],_0x404f12?_0x56c585(0x1f2):_0x56c585(0x200))[_0x56c585(0x225)]),_0x5e55ab[_0x56c585(0x229)]=!0x0,_0x5e55ab;}[_0x35436d(0x21e)](_0x114b10){const _0x406fe8=_0x35436d,{locale:_0x47660c}=this[_0x406fe8(0x1f4)],_0x473dd7=this[_0x406fe8(0x1f4)][_0x406fe8(0x1dd)][_0x406fe8(0x212)](_0x406fe8(0x1e9));return _0x114b10[_0x406fe8(0x221)](_0x11331b=>{const _0x593b81=_0x406fe8,_0x3e6d20=this[_0x593b81(0x1fb)](_0x36d3ef,_0x11331b[_0x593b81(0x1eb)]);return _0x3e6d20[_0x593b81(0x202)]=!0x0,_0x3e6d20[_0x593b81(0x1e1)]=_0x11331b[_0x593b81(0x1e1)],_0x3e6d20[_0x593b81(0x1e5)](_0x593b81(0x1f9))['to'](_0x473dd7,_0x593b81(0x219),_0x47e25e=>_0x5865b3(_0x47660c,_0x11331b[_0x593b81(0x1eb)],_0x47e25e?_0x593b81(0x1f2):_0x593b81(0x200))[_0x593b81(0x225)]),_0x3e6d20;});}[_0x35436d(0x1de)](_0x4f07b9){const _0x3b43fd=_0x35436d;return _0x4f07b9[_0x3b43fd(0x221)](_0x58f344=>{const _0x1154b8=_0x3b43fd,_0xb3a360=this[_0x1154b8(0x1fb)](_0x2b9401,_0x58f344[_0x1154b8(0x1eb)]);return _0xb3a360[_0x1154b8(0x1e1)]=_0x58f344[_0x1154b8(0x1e1)],_0xb3a360[_0x1154b8(0x1f9)]=_0x58f344[_0x1154b8(0x20e)],_0xb3a360;});}}
23
+ const _0x3349a4=_0x31fc;function _0x367a(){const _0x420de3=['UploadcareUI','44560EVlNPJ','uploadcare.uploader.sourceList','assetManager','init','push','_showLicenseError','featureNotAllowed','evaluationLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','Replace','URL','upload','536856Aiynfl','url','Local','7roAEGT','_createMenuBarButtons','Uploadcare','destroy','GDrive','_getIntegrationKey','Dropbox','uploadcareLicenseKeyInvalid','isPremiumPlugin','572DBRJVh','config','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','shortText','execute','afterInit','550296fiGunV','uploadcareLicenseKeyExpired','map','_licenseKeyCheckInterval','11853171BJavIh','withText','_createButton','OneDrive','uploadcare','2468778DdIKfi','_createDropdownButtons','entries','get','usageLimit','licenseKey','isImageSelected','tooltip','pluginName','Insert','registerIntegration','bind','type','icon','plugins','invalid','uploadcareLicenseKeyDomainLimit','12453104ktlcRW','_createToolbarButton','has','text','trialLimit','Facebook','isOfficialPlugin','editor','domainLimit','uploadcareLicenseKeyNotAllowed','forEach','4502214GEAqda','label','GPhotos','isEnabled','reduce','ImageInsertUI','commands','_normalizeConfigSourceList','expired','locale'];_0x367a=function(){return _0x420de3;};return _0x367a();}(function(_0x9351ae,_0x98082f){const _0x5c62dc=_0x31fc,_0x3b3ce7=_0x9351ae();while(!![]){try{const _0x1c03bc=-parseInt(_0x5c62dc(0x169))/0x1+parseInt(_0x5c62dc(0x135))/0x2+-parseInt(_0x5c62dc(0x17c))/0x3+parseInt(_0x5c62dc(0x175))/0x4*(parseInt(_0x5c62dc(0x15c))/0x5)+-parseInt(_0x5c62dc(0x151))/0x6*(parseInt(_0x5c62dc(0x16c))/0x7)+-parseInt(_0x5c62dc(0x146))/0x8+parseInt(_0x5c62dc(0x130))/0x9;if(_0x1c03bc===_0x98082f)break;else _0x3b3ce7['push'](_0x3b3ce7['shift']());}catch(_0x2a43c0){_0x3b3ce7['push'](_0x3b3ce7['shift']());}}}(_0x367a,0xc2f41));import{Plugin as _0x54c383}from'ckeditor5/src/core.js';import{IconDropbox as _0x2de7cf,IconFacebook as _0x1abbb2,IconGoogleDrive as _0x5c3a2f,IconGooglePhotos as _0xd12100,IconUploadcareImageUpload as _0x4ce870,IconUploadcareLink as _0x308b3f,IconOneDrive as _0x4792ab}from'ckeditor5/src/icons.js';import{ButtonView as _0x114900,MenuBarMenuListItemButtonView as _0x2c1870}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x18d29f}from'./uploadcareconfig.js';import{getTranslation as _0x165f29}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x31fc(_0x122647,_0x43d196){const _0x367af0=_0x367a();return _0x31fc=function(_0x31fca1,_0xcdf7cf){_0x31fca1=_0x31fca1-0x130;let _0x499066=_0x367af0[_0x31fca1];return _0x499066;},_0x31fc(_0x122647,_0x43d196);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x54c383{[_0x3349a4(0x13a)];[_0x3349a4(0x17f)];static get[_0x3349a4(0x13d)](){const _0x273115=_0x3349a4;return _0x273115(0x15b);}static get[_0x3349a4(0x14c)](){return!0x0;}static get[_0x3349a4(0x174)](){return!0x0;}[_0x3349a4(0x15f)](){const _0x579c76=_0x3349a4;this[_0x579c76(0x13a)]=this[_0x579c76(0x14d)][_0x579c76(0x176)][_0x579c76(0x138)](_0x579c76(0x13a));const _0x4e86db=this[_0x579c76(0x14d)];this[_0x579c76(0x17f)]=setInterval(()=>{const _0x43e6ac=_0x579c76;let _0x3e3b47;for(const _0x1a7aa8 in _0x4e86db){const _0xb4798f=_0x1a7aa8,_0x2bcc57=_0x4e86db[_0xb4798f];if(_0x43e6ac(0x164)==_0x2bcc57||_0x43e6ac(0x173)==_0x2bcc57||_0x43e6ac(0x17d)==_0x2bcc57||_0x43e6ac(0x145)==_0x2bcc57||_0x43e6ac(0x14f)==_0x2bcc57||_0x43e6ac(0x165)==_0x2bcc57||_0x43e6ac(0x178)==_0x2bcc57||_0x43e6ac(0x177)==_0x2bcc57){delete _0x4e86db[_0xb4798f],_0x3e3b47=_0x2bcc57,clearInterval(this[_0x43e6ac(0x17f)]),this[_0x43e6ac(0x17f)]=void 0x0;break;}}_0x43e6ac(0x173)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x144)),_0x43e6ac(0x17d)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x159)),_0x43e6ac(0x145)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x14e)),_0x43e6ac(0x14f)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x162),_0x43e6ac(0x16e)),_0x43e6ac(0x165)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x163)),_0x43e6ac(0x178)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x14a)),_0x43e6ac(0x177)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x139));},0x3e8);}[_0x3349a4(0x17b)](){const _0x32b874=_0x3349a4,{editor:_0x40fb8a}=this,_0x3e04a1=_0x40fb8a[_0x32b874(0x157)][_0x32b874(0x138)](_0x32b874(0x134));if(!_0x3e04a1)return;const _0x39da42=this[_0x32b874(0x158)](_0x40fb8a[_0x32b874(0x176)][_0x32b874(0x138)](_0x32b874(0x15d)))[_0x32b874(0x155)]((_0x62296e,_0xcfc299)=>{const _0x11127c=_0x32b874,_0x2f233f=this[_0x11127c(0x171)](_0xcfc299[_0x11127c(0x141)]);return _0x62296e[_0x2f233f]||(_0x62296e[_0x2f233f]=[]),_0x62296e[_0x2f233f][_0x11127c(0x160)](_0xcfc299),_0x62296e;},{});_0x40fb8a[_0x32b874(0x143)][_0x32b874(0x148)](_0x32b874(0x156))&&_0x40fb8a[_0x32b874(0x157)][_0x32b874(0x138)](_0x32b874(0x134))&&Object[_0x32b874(0x137)](_0x39da42)[_0x32b874(0x150)](([_0x1e1f41,_0x3d6b19])=>{const _0x20d772=_0x32b874;_0x40fb8a[_0x20d772(0x143)][_0x20d772(0x138)](_0x20d772(0x156))[_0x20d772(0x13f)]({'name':_0x1e1f41,'observable':()=>_0x3e04a1,'buttonViewCreator':()=>this[_0x20d772(0x147)](_0x3d6b19),'formViewCreator':()=>this[_0x20d772(0x136)](_0x3d6b19),'menuBarButtonViewCreator':()=>this[_0x20d772(0x16d)](_0x3d6b19),'override':_0x20d772(0x15e)!==_0x1e1f41});});}[_0x3349a4(0x16f)](){const _0x455383=_0x3349a4;super[_0x455383(0x16f)](),this[_0x455383(0x17f)]&&clearInterval(this[_0x455383(0x17f)]);}[_0x3349a4(0x158)](_0x235bc4){const _0x4d3801=_0x3349a4,{locale:_0x4fb5c7}=this[_0x4d3801(0x14d)];return _0x235bc4[_0x4d3801(0x17e)](_0x40dcf3=>{const _0x1fe7aa=_0x4d3801,_0x32ff37=_0x165f29(_0x4fb5c7,_0x40dcf3,_0x1fe7aa(0x13e));switch(_0x40dcf3){case _0x18d29f[_0x1fe7aa(0x16b)]:return{'icon':_0x4ce870,'type':_0x18d29f[_0x1fe7aa(0x16b)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x167)]:return{'icon':_0x308b3f,'type':_0x18d29f[_0x1fe7aa(0x167)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x172)]:return{'icon':_0x2de7cf,'type':_0x18d29f[_0x1fe7aa(0x172)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x14b)]:return{'icon':_0x1abbb2,'type':_0x18d29f[_0x1fe7aa(0x14b)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x170)]:return{'icon':_0x5c3a2f,'type':_0x18d29f[_0x1fe7aa(0x170)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x153)]:return{'icon':_0xd12100,'type':_0x18d29f[_0x1fe7aa(0x153)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x133)]:return{'icon':_0x4792ab,'type':_0x18d29f[_0x1fe7aa(0x133)],..._0x32ff37};}});}[_0x3349a4(0x171)](_0x1b83a6){const _0x558ab4=_0x3349a4;switch(_0x1b83a6){case _0x18d29f[_0x558ab4(0x16b)]:return _0x558ab4(0x168);case _0x18d29f[_0x558ab4(0x167)]:return _0x558ab4(0x16a);default:return _0x558ab4(0x15e);}}[_0x3349a4(0x132)](_0x28da71,_0x16eb1a){const _0x28f2e1=_0x3349a4,_0x2ea4ad=this[_0x28f2e1(0x14d)],_0x50ed7d=new _0x28da71(_0x2ea4ad[_0x28f2e1(0x15a)]),_0x18f028=_0x2ea4ad[_0x28f2e1(0x157)][_0x28f2e1(0x138)](_0x28f2e1(0x134));return _0x50ed7d[_0x28f2e1(0x140)](_0x28f2e1(0x154))['to'](_0x18f028),_0x50ed7d['on'](_0x28f2e1(0x17a),()=>{const _0x54e473=_0x28f2e1;_0x18f028[_0x54e473(0x17a)](_0x16eb1a);}),_0x50ed7d;}[_0x3349a4(0x147)](_0x37821b){const _0x871b01=_0x3349a4,{locale:_0x5d0f6e}=this[_0x871b01(0x14d)],_0x41a766=this[_0x871b01(0x14d)][_0x871b01(0x143)][_0x871b01(0x138)](_0x871b01(0x156)),_0x448486=_0x37821b[0x0],_0x5a64fc=this[_0x871b01(0x132)](_0x114900,_0x448486[_0x871b01(0x141)]);return _0x5a64fc[_0x871b01(0x142)]=_0x448486[_0x871b01(0x142)],_0x5a64fc[_0x871b01(0x140)](_0x871b01(0x152))['to'](_0x41a766,_0x871b01(0x13b),_0x15117c=>_0x165f29(_0x5d0f6e,_0x448486[_0x871b01(0x141)],_0x15117c?_0x871b01(0x166):_0x871b01(0x13e))[_0x871b01(0x149)]),_0x5a64fc[_0x871b01(0x13c)]=!0x0,_0x5a64fc;}[_0x3349a4(0x136)](_0x361a92){const _0x1be4da=_0x3349a4,{locale:_0x3feb31}=this[_0x1be4da(0x14d)],_0x46f654=this[_0x1be4da(0x14d)][_0x1be4da(0x143)][_0x1be4da(0x138)](_0x1be4da(0x156));return _0x361a92[_0x1be4da(0x17e)](_0x1f4f89=>{const _0xc81d0e=_0x1be4da,_0x117499=this[_0xc81d0e(0x132)](_0x114900,_0x1f4f89[_0xc81d0e(0x141)]);return _0x117499[_0xc81d0e(0x131)]=!0x0,_0x117499[_0xc81d0e(0x142)]=_0x1f4f89[_0xc81d0e(0x142)],_0x117499[_0xc81d0e(0x140)](_0xc81d0e(0x152))['to'](_0x46f654,_0xc81d0e(0x13b),_0x2c7409=>_0x165f29(_0x3feb31,_0x1f4f89[_0xc81d0e(0x141)],_0x2c7409?_0xc81d0e(0x166):_0xc81d0e(0x13e))[_0xc81d0e(0x149)]),_0x117499;});}[_0x3349a4(0x16d)](_0x21b0e2){const _0x272370=_0x3349a4;return _0x21b0e2[_0x272370(0x17e)](_0x223ef4=>{const _0x1e1a7c=_0x272370,_0x14fc92=this[_0x1e1a7c(0x132)](_0x2c1870,_0x223ef4[_0x1e1a7c(0x141)]);return _0x14fc92[_0x1e1a7c(0x142)]=_0x223ef4[_0x1e1a7c(0x142)],_0x14fc92[_0x1e1a7c(0x152)]=_0x223ef4[_0x1e1a7c(0x179)],_0x14fc92;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x18a1e2}from'ckeditor5/src/core.js';import{FileRepository as _0x180c92}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1ec7be}from'./uploadcareediting.js';import{UploadUtils as _0x32c864}from'./utils/uploadutils.js';import{getImageUrls as _0x3f7eb0}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x18a1e2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x180c92,_0x1ec7be];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd586ff=this['editor'];if(!!!_0xd586ff['config']['get']('uploadcare'))return;_0xd586ff['plugins']['get'](_0x180c92)['createUploadAdapter']=_0x1b236c=>new A(_0x1b236c,_0xd586ff),_0xd586ff['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4d6eb9,{imageElement:_0x4fce05,data:_0x4fc53f})=>{_0xd586ff['model']['change'](_0xf47efd=>{_0xf47efd['setAttribute']('uploadcareImageId',_0x4fc53f['uploadcareImageId'],_0x4fce05);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x445df5,_0x584193){this['loader']=_0x445df5,this['editor']=_0x584193,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3b971d=this['editor']['config']['get']('uploadcare.pubkey'),_0x392e7d=await this['loader']['file'];return _0x32c864['upload']({'file':_0x392e7d,'publicKey':_0x3b971d,'signal':this['controller']['signal'],'onProgress':_0x3e3e21=>{_0x3e3e21&&_0x3e3e21['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3e3e21['value']);}})['then'](async _0x2d3053=>{const {imageFallbackUrl:_0x21fe2c,imageSources:_0x311dd3}=_0x3f7eb0(_0x2d3053['cdnUrl'],_0x2d3053['imageInfo']['width']);return{'uploadcareImageId':_0x2d3053['uuid'],'default':_0x21fe2c,'sources':_0x311dd3};})['catch'](()=>{const _0x11b57e=t('Cannot\x20upload\x20file:')+('\x20'+_0x392e7d['name']+'.');return Promise['reject'](_0x11b57e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5b634d}from'ckeditor5/src/core.js';import{FileRepository as _0x351601}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x54b2c1}from'./uploadcareediting.js';import{UploadUtils as _0x2650b9}from'./utils/uploadutils.js';import{getImageUrls as _0x1033fe}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5b634d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x351601,_0x54b2c1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x49bfa0=this['editor'];if(!!!_0x49bfa0['config']['get']('uploadcare'))return;_0x49bfa0['plugins']['get'](_0x351601)['createUploadAdapter']=_0x6c59a5=>new A(_0x6c59a5,_0x49bfa0),_0x49bfa0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35a8be,{imageElement:_0x26b34c,data:_0x42637a})=>{_0x49bfa0['model']['change'](_0x551a78=>{_0x551a78['setAttribute']('uploadcareImageId',_0x42637a['uploadcareImageId'],_0x26b34c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x21e775,_0x31055c){this['loader']=_0x21e775,this['editor']=_0x31055c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a2f9b=this['editor']['config']['get']('uploadcare.pubkey'),_0x403102=await this['loader']['file'];return _0x2650b9['upload']({'file':_0x403102,'publicKey':_0x3a2f9b,'signal':this['controller']['signal'],'onProgress':_0x36cac0=>{_0x36cac0&&_0x36cac0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x36cac0['value']);}})['then'](async _0x302a8d=>{const {imageFallbackUrl:_0x52e6db,imageSources:_0x370c4b}=_0x1033fe(_0x302a8d['cdnUrl'],_0x302a8d['imageInfo']['width']);return{'uploadcareImageId':_0x302a8d['uuid'],'default':_0x52e6db,'sources':_0x370c4b};})['catch'](()=>{const _0x28e270=t('Cannot\x20upload\x20file:')+('\x20'+_0x403102['name']+'.');return Promise['reject'](_0x28e270);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x7a52a7}from'../uploadcareconfig.js';export function getTranslation(_0x2688d7,_0x5a271e,_0x1fe91e){const t=_0x2688d7['t'],_0x54bf98=_0x2688d7['t'];switch(_0x5a271e){case _0x7a52a7['Local']:return{'text':_0x54bf98('Insert'===_0x1fe91e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x54bf98('From\x20computer')};case _0x7a52a7['URL']:return{'text':'Insert'===_0x1fe91e?_0x54bf98('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x54bf98('Via\x20URL')};case _0x7a52a7['Dropbox']:return{'text':t('Insert'===_0x1fe91e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x7a52a7['Facebook']:return{'text':t('Insert'===_0x1fe91e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x7a52a7['GDrive']:return{'text':t('Insert'===_0x1fe91e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x7a52a7['GPhotos']:return{'text':t('Insert'===_0x1fe91e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x7a52a7['OneDrive']:return{'text':t('Insert'===_0x1fe91e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5a271e;}}
23
+ import{UploadcareSource as _0x14705e}from'../uploadcareconfig.js';export function getTranslation(_0x36cee0,_0x487788,_0x3dae87){const t=_0x36cee0['t'],_0x263340=_0x36cee0['t'];switch(_0x487788){case _0x14705e['Local']:return{'text':_0x263340('Insert'===_0x3dae87?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x263340('From\x20computer')};case _0x14705e['URL']:return{'text':'Insert'===_0x3dae87?_0x263340('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x263340('Via\x20URL')};case _0x14705e['Dropbox']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x14705e['Facebook']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x14705e['GDrive']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x14705e['GPhotos']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x14705e['OneDrive']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x487788;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x283353=_0x42bf;function _0x572e(){var _0x427a55=['div','createCollection','4190kulnjJ','bindTemplate','23034AQZzjn','27fsRBkC','focusCycler','395679NTXSno','fire','2282080axdkBw','58SMcxlo','854wDokZb','true','forwardCycle','focusTracker','578152pwHYVz','41967zMlViV','16126YLLVsx','getFocusableElement','2533470xGcYTL'];_0x572e=function(){return _0x427a55;};return _0x572e();}(function(_0x286cd2,_0x35b6b5){var _0x3e966c=_0x42bf,_0x401689=_0x286cd2();while(!![]){try{var _0x188259=parseInt(_0x3e966c(0x128))/0x1+parseInt(_0x3e966c(0x12b))/0x2*(-parseInt(_0x3e966c(0x11d))/0x3)+parseInt(_0x3e966c(0x12a))/0x4+-parseInt(_0x3e966c(0x120))/0x5+parseInt(_0x3e966c(0x125))/0x6*(-parseInt(_0x3e966c(0x12c))/0x7)+parseInt(_0x3e966c(0x11c))/0x8*(parseInt(_0x3e966c(0x126))/0x9)+-parseInt(_0x3e966c(0x123))/0xa*(-parseInt(_0x3e966c(0x11e))/0xb);if(_0x188259===_0x35b6b5)break;else _0x401689['push'](_0x401689['shift']());}catch(_0x297b88){_0x401689['push'](_0x401689['shift']());}}}(_0x572e,0x65b0f));function _0x42bf(_0x2477dc,_0x257573){var _0x572e29=_0x572e();return _0x42bf=function(_0x42bf0b,_0x51d16a){_0x42bf0b=_0x42bf0b-0x119;var _0x22bbf8=_0x572e29[_0x42bf0b];return _0x22bbf8;},_0x42bf(_0x2477dc,_0x257573);}import{FocusTracker as _0x30e24e}from'ckeditor5/src/utils.js';import{View as _0x5dff06,FocusCycler as _0x383b9b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5dff06{[_0x283353(0x11b)];[_0x283353(0x127)];constructor(_0x3866b0){var _0x2b4985=_0x283353;super(_0x3866b0),this[_0x2b4985(0x11b)]=new _0x30e24e(),this[_0x2b4985(0x127)]=new _0x383b9b({'focusables':this[_0x2b4985(0x122)](),'focusTracker':this[_0x2b4985(0x11b)]});}[_0x283353(0x11f)](){var _0xee2541=_0x283353;return{'tag':_0xee2541(0x121),'attributes':{'aria-hidden':_0xee2541(0x119),'tabindex':'0'},'on':{'focus':this[_0xee2541(0x124)]['to'](()=>{var _0x554bdc=_0xee2541;this[_0x554bdc(0x127)][_0x554bdc(0x129)](_0x554bdc(0x11a));})}};}}
23
+ var _0x541836=_0x1498;(function(_0x546d22,_0x1ded0f){var _0xcd6c12=_0x1498,_0x4f42d5=_0x546d22();while(!![]){try{var _0x551cd3=parseInt(_0xcd6c12(0x100))/0x1*(parseInt(_0xcd6c12(0xff))/0x2)+parseInt(_0xcd6c12(0xfe))/0x3+-parseInt(_0xcd6c12(0x106))/0x4+parseInt(_0xcd6c12(0xf9))/0x5*(-parseInt(_0xcd6c12(0xf8))/0x6)+parseInt(_0xcd6c12(0x104))/0x7*(parseInt(_0xcd6c12(0x103))/0x8)+-parseInt(_0xcd6c12(0xf7))/0x9+-parseInt(_0xcd6c12(0xfa))/0xa*(-parseInt(_0xcd6c12(0xfd))/0xb);if(_0x551cd3===_0x1ded0f)break;else _0x4f42d5['push'](_0x4f42d5['shift']());}catch(_0x381d35){_0x4f42d5['push'](_0x4f42d5['shift']());}}}(_0x2fce,0x5132c));import{FocusTracker as _0x203026}from'ckeditor5/src/utils.js';import{View as _0x2e723e,FocusCycler as _0x3491fb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1498(_0x74110d,_0x2a5d97){var _0x2fce8a=_0x2fce();return _0x1498=function(_0x1498c2,_0xc0ed87){_0x1498c2=_0x1498c2-0xf5;var _0x55786e=_0x2fce8a[_0x1498c2];return _0x55786e;},_0x1498(_0x74110d,_0x2a5d97);}function _0x2fce(){var _0x543ac7=['div','focusTracker','1007064xcJBiy','6gjlPtZ','2168160yOZGzx','370Dmlhsn','true','bindTemplate','158719MGElbe','558267WlxbKb','2SRpEMJ','334706qQrcpO','createCollection','fire','66872xHXUoM','371sAEuqI','forwardCycle','2478316KLIaeV','getFocusableElement','focusCycler'];_0x2fce=function(){return _0x543ac7;};return _0x2fce();}export class DialogFocusManagerView extends _0x2e723e{[_0x541836(0xf6)];[_0x541836(0x108)];constructor(_0x46bb99){var _0x16ec66=_0x541836;super(_0x46bb99),this[_0x16ec66(0xf6)]=new _0x203026(),this[_0x16ec66(0x108)]=new _0x3491fb({'focusables':this[_0x16ec66(0x101)](),'focusTracker':this[_0x16ec66(0xf6)]});}[_0x541836(0x107)](){var _0xc22557=_0x541836;return{'tag':_0xc22557(0xf5),'attributes':{'aria-hidden':_0xc22557(0xfb),'tabindex':'0'},'on':{'focus':this[_0xc22557(0xfc)]['to'](()=>{var _0x502289=_0xc22557;this[_0x502289(0x108)][_0x502289(0x102)](_0x502289(0x105));})}};}}