@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.7 → 46.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x387c(_0x1525e3,_0x2f7fb9){const _0x14a164=_0x14a1();return _0x387c=function(_0x387cb7,_0x1a3f7c){_0x387cb7=_0x387cb7-0x19f;let _0x5e5b2a=_0x14a164[_0x387cb7];return _0x5e5b2a;},_0x387c(_0x1525e3,_0x2f7fb9);}const _0x495192=_0x387c;(function(_0x18386f,_0x3bf45e){const _0x723da5=_0x387c,_0x4728df=_0x18386f();while(!![]){try{const _0x137050=parseInt(_0x723da5(0x1c2))/0x1*(-parseInt(_0x723da5(0x1dd))/0x2)+parseInt(_0x723da5(0x1e7))/0x3+-parseInt(_0x723da5(0x1a9))/0x4+parseInt(_0x723da5(0x1e2))/0x5+parseInt(_0x723da5(0x1b0))/0x6*(-parseInt(_0x723da5(0x1af))/0x7)+parseInt(_0x723da5(0x1b4))/0x8*(parseInt(_0x723da5(0x1c4))/0x9)+parseInt(_0x723da5(0x1ef))/0xa*(parseInt(_0x723da5(0x1bf))/0xb);if(_0x137050===_0x3bf45e)break;else _0x4728df['push'](_0x4728df['shift']());}catch(_0x4a2421){_0x4728df['push'](_0x4728df['shift']());}}}(_0x14a1,0xa124d));import{Plugin as _0xac7e9d}from'ckeditor5/src/core.js';import{Dialog as _0x4ae635}from'ckeditor5/src/ui.js';import{createElement as _0x129f26,global as _0x1cb35b,uid as _0x32cf5c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a66e3}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x16604d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5aefef}from'./utils/editingutils.js';function _0x14a1(){const _0x516926=['input[uploadcare-file-input]','attributeToAttribute','listenTo','execute','destroy','uploadcare','PictureEditing','uc-config','elementToAttribute','18yRIYPK','cleanupImage','appendChild','remove','selection','1857385MRDgun','getAttribute','requires','upcast','_initImageProcessingIndicator','1865586elXFel','#uc-icon-arrow-down','uploadcareImageId','_initCtx','uploadcare.pubkey','closeMax','querySelector','conversion','11808800urZilt','uploadcareImageReplace','view','get','true','\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','editor','commands','uploadcare.uploader','map','insertImage','_configElement','join','uc-upload-ctx-provider','imageInline','replaceImageSource','5178912EbtejO','uploader-','extend','model','_initConfig','add','2149zelDcc','162VjeUhq','pluginName','for','isRegistered','142288GKBUlB','isPremiumPlugin','_ctxElement','downcast','_initConversion','configElement','body','schema','render','data-uc-image-id','removeAttribute','11MSUycv','config','init','122273sKZwkC','ucContextId','450VjtcRz','imageBlock','_initSchema','getSelectedElement','fromCharCode','locale','iconHrefResolver','href','contentLanguage','afterInit','document','UploadcareEditing','once','ctxElement','isOfficialPlugin','editing'];_0x14a1=function(){return _0x516926;};return _0x14a1();}export class UploadcareEditing extends _0xac7e9d{[_0x495192(0x1a4)]=null;[_0x495192(0x1b6)]=null;static get[_0x495192(0x1b1)](){const _0x5ed507=_0x495192;return _0x5ed507(0x1cf);}static get[_0x495192(0x1e4)](){const _0x4dd627=_0x495192;return[_0x4dd627(0x1da),_0x16604d,_0x4ae635];}static get[_0x495192(0x1d2)](){return!0x0;}static get[_0x495192(0x1b5)](){return!0x0;}[_0x495192(0x1c3)];get[_0x495192(0x1b9)](){const _0x1d0bb5=_0x495192;return this[_0x1d0bb5(0x1a4)];}get[_0x495192(0x1d1)](){const _0x584fb4=_0x495192;return this[_0x584fb4(0x1b6)];}constructor(_0x3023ed){const _0x16cbc8=_0x495192;super(_0x3023ed),this[_0x16cbc8(0x1c3)]=_0x32cf5c();}[_0x495192(0x1c1)](){const _0x1da434=_0x495192,_0x4560e4=this[_0x1da434(0x19f)];_0x4560e4[_0x1da434(0x1a0)][_0x1da434(0x1ae)](_0x1da434(0x1d9),new _0x2a66e3(_0x4560e4));}[_0x495192(0x1cd)](){const _0x25b01b=_0x495192;this[_0x25b01b(0x1c6)](),this[_0x25b01b(0x1b8)](),this[_0x25b01b(0x1ad)](),this[_0x25b01b(0x1ea)](),this[_0x25b01b(0x1e6)](),this[_0x25b01b(0x1d6)](this[_0x25b01b(0x19f)],_0x25b01b(0x1d8),()=>{const _0x300201=_0x25b01b;this[_0x300201(0x1a4)]&&(this[_0x300201(0x1a4)][_0x300201(0x1e0)](),this[_0x300201(0x1a4)]=null),this[_0x300201(0x1b6)]&&(this[_0x300201(0x1b6)][_0x300201(0x1e0)](),this[_0x300201(0x1b6)]=null);const _0x5df63e=_0x1cb35b[_0x300201(0x1ce)][_0x300201(0x1ed)](_0x300201(0x1d4));_0x5df63e&&_0x5df63e[_0x300201(0x1e0)]();}),async function(_0x5ca23d){const _0x5e5b0d=_0x476fc4([0x71,0x50,0x36,0x75,0x31,0x30,0x56,0x55,0x44,0x4e,0x73,0x66,0x6b,0x65,0x70,0x79,0x6c,0x4d,0x43,0x52,0x32,0x58,0x4c,0x63,0x62,0x42,0x49,0x39,0x41,0x61,0x45,0x59,0x5a,0x6d,0x77,0x4b,0x38,0x35,0x4f,0x64,0x4a,0x6a,0x6f,0x72,0x78,0x53,0x34,0x47,0x68,0x67,0x54,0x46,0x76,0x51,0x57,0x7a,0x33,0x37,0x6e,0x69,0x48,0x74]),_0x2b052f=0x57c6dede,_0x4e3bac=0x57c1b226^_0x2b052f,_0x10e322=window[_0x476fc4([0x44,0x61,0x74,0x65])][_0x476fc4([0x6e,0x6f,0x77])](),_0x611185=_0x5ca23d[_0x476fc4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8f0a=new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x234fe3=>{_0x611185[_0x476fc4([0x6f,0x6e,0x63,0x65])](_0x476fc4([0x72,0x65,0x61,0x64,0x79]),_0x234fe3);}),_0x18cf90={[_0x476fc4([0x6b,0x74,0x79])]:_0x476fc4([0x45,0x43]),[_0x476fc4([0x75,0x73,0x65])]:_0x476fc4([0x73,0x69,0x67]),[_0x476fc4([0x63,0x72,0x76])]:_0x476fc4([0x50,0x2d,0x32,0x35,0x36]),[_0x476fc4([0x78])]:_0x476fc4([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]),[_0x476fc4([0x79])]:_0x476fc4([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]),[_0x476fc4([0x61,0x6c,0x67])]:_0x476fc4([0x45,0x53,0x32,0x35,0x36])},_0x49afef=_0x611185[_0x476fc4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x476fc4([0x67,0x65,0x74])](_0x476fc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25b00f(){let _0x3a0015,_0xd0f9b0=null,_0x1bd53c=null;try{if(_0x49afef==_0x476fc4([0x47,0x50,0x4c]))return _0x476fc4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a0015=_0xcafaf(),!_0x3a0015)return _0x476fc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a0015[_0x476fc4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bd53c=_0x2b9658(_0x3a0015[_0x476fc4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a0015[_0x476fc4([0x6a,0x74,0x69])])),await _0x208244()?_0xb7d56e()?_0x276e9c()?_0x476fc4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x278840()?(_0x3a0015[_0x476fc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x476fc4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd0f9b0=_0x4a7b67(_0x476fc4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a0015[_0x476fc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x476fc4([0x74,0x72,0x69,0x61,0x6c])&&(_0xd0f9b0=_0x4a7b67(_0x476fc4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb80376()):_0x476fc4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x476fc4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x476fc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x476fc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x276e9c(){const _0x1ba146=[_0x476fc4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x476fc4([0x74,0x72,0x69,0x61,0x6c])][_0x476fc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a0015[_0x476fc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10e322/0x3e8:0xe10*_0x4e3bac;return _0x3a0015[_0x476fc4([0x65,0x78,0x70])]<_0x1ba146;}function _0xb7d56e(){const _0x28c888=_0x3a0015[_0x476fc4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28c888&&(!!_0x28c888[_0x476fc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476fc4([0x2a]))||!!_0x28c888[_0x476fc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476fc4([0x55,0x50,0x4c,0x43])));}function _0x278840(){const _0x3d642e=_0x387c,_0x111f8f=_0x3a0015[_0x476fc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x111f8f||0x0==_0x111f8f[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4341bf}=new URL(window[_0x476fc4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d642e(0x1cb)]);if(_0x111f8f[_0x476fc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4341bf))return!0x0;const _0x18590f=_0x4341bf[_0x476fc4([0x73,0x70,0x6c,0x69,0x74])](_0x476fc4([0x2e]));return _0x111f8f[_0x476fc4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d416a=>_0x4d416a[_0x476fc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476fc4([0x2a])))[_0x476fc4([0x6d,0x61,0x70])](_0x2f98f3=>_0x2f98f3[_0x476fc4([0x73,0x70,0x6c,0x69,0x74])](_0x476fc4([0x2e])))[_0x476fc4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4341d2=>_0x4341d2[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18590f[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x476fc4([0x6d,0x61,0x70])](_0x17ebd0=>Array(_0x18590f[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17ebd0[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x476fc4([0x66,0x69,0x6c,0x6c])](_0x17ebd0[0x0]===_0x476fc4([0x2a])?_0x476fc4([0x2a]):'')[_0x476fc4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17ebd0))[_0x476fc4([0x73,0x6f,0x6d,0x65])](_0x4d9675=>_0x18590f[_0x476fc4([0x65,0x76,0x65,0x72,0x79])]((_0x47b86a,_0x191216)=>_0x4d9675[_0x191216]===_0x47b86a||_0x4d9675[_0x191216]===_0x476fc4([0x2a])));}function _0xb80376(){return _0xd0f9b0&&_0x1bd53c?new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f1457,_0x9af352)=>{_0xd0f9b0[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x3f1457,_0x9af352),_0x1bd53c[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x50a4d8=>{_0x50a4d8!=_0x476fc4([0x56,0x61,0x6c,0x69,0x64])&&_0x3f1457(_0x50a4d8);},_0x9af352);}):_0xd0f9b0||_0x1bd53c||_0x476fc4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b9658(_0xb1ddb1,_0x119afb){return new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309efb=>{if(_0xe58af1())return _0x309efb(_0x476fc4([0x56,0x61,0x6c,0x69,0x64]));_0x1d686e(),_0x611185[_0x476fc4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x476fc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54d2bf=!0x1;const _0x1a8df2=_0x32cf5c();function _0x1fdb2f(_0x2f5a64){return!!_0x2f5a64&&(typeof _0x2f5a64===_0x476fc4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f5a64===_0x476fc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f5a64[_0x476fc4([0x74,0x68,0x65,0x6e])]===_0x476fc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f5a64[_0x476fc4([0x63,0x61,0x74,0x63,0x68])]===_0x476fc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x265a50(_0x2fc26a){_0x2826be(_0x2fc26a)[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x5da980=>{if(!_0x5da980||_0x5da980[_0x476fc4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x476fc4([0x6f,0x6b]))return _0x476fc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3fde11(_0x340d34(_0x1a8df2+_0x119afb))!=_0x5da980[_0x476fc4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x476fc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x476fc4([0x56,0x61,0x6c,0x69,0x64]);})[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x5beea4=>(_0x2fd459(),_0x5beea4),()=>{const _0x140fb2=_0x1006f6();return null==_0x140fb2?(_0x2fd459(),_0x476fc4([0x56,0x61,0x6c,0x69,0x64])):_0x476fc4(_0x10e322-_0x140fb2>(0x73ca5ade^_0x2b052f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x309efb)[_0x476fc4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x309efb(_0x476fc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5de4e3=0x57f0305e^_0x2b052f;function _0x2fd459(){const _0x51449d=_0x476fc4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fde11(_0x340d34(_0xb1ddb1)),_0x8f6654=_0x377513(_0x3fde11(window[_0x476fc4([0x4d,0x61,0x74,0x68])][_0x476fc4([0x63,0x65,0x69,0x6c])](_0x10e322/_0x5de4e3)));window[_0x476fc4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x476fc4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51449d,_0x8f6654);}function _0x1006f6(){const _0x3ce999=_0x476fc4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3fde11(_0x340d34(_0xb1ddb1)),_0x351c1a=window[_0x476fc4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x476fc4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ce999);return _0x351c1a?window[_0x476fc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x377513(_0x351c1a),0x10)*_0x5de4e3:null;}function _0x2826be(_0x4a27db){return new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x322807,_0x1c7776)=>{_0x4a27db[_0x476fc4([0x74,0x68,0x65,0x6e])](_0x322807,_0x1c7776),window[_0x476fc4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c7776,0x57c70a1e^_0x2b052f);});}}_0x611185[_0x476fc4([0x6f,0x6e])](_0x476fc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd12ab2,_0x486678)=>{if(_0x486678[0x0]!=_0xb1ddb1)return _0x309efb(_0x476fc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x486678[0x1]={..._0x486678[0x1],[_0x476fc4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a8df2};},{[_0x476fc4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x476fc4([0x68,0x69,0x67,0x68])}),_0x611185[_0x476fc4([0x6f,0x6e])](_0x476fc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bb6a7=>{_0x1fdb2f(_0x2bb6a7[_0x476fc4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54d2bf=!0x0,_0x265a50(_0x2bb6a7[_0x476fc4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x476fc4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x476fc4([0x6c,0x6f,0x77])}),_0x3e8f0a[_0x476fc4([0x74,0x68,0x65,0x6e])](()=>{_0x54d2bf||_0x309efb(_0x476fc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe58af1(){return _0x611185[_0x476fc4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x476fc4([0x76,0x69,0x65,0x77])][_0x476fc4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x476fc4([0x61,0x75,0x74,0x6f]);}function _0x1d686e(){_0x611185[_0x476fc4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x476fc4([0x76,0x69,0x65,0x77])][_0x476fc4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x476fc4([0x61,0x75,0x74,0x6f]);}}function _0x4a7b67(_0x2ad36f){const _0x50c75c=[new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c340b=>setTimeout(_0x3c340b,0x57cfe012^_0x2b052f)),_0x3e8f0a[_0x476fc4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486a84=>{let _0x3edbda=0x0;_0x611185[_0x476fc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x476fc4([0x6f,0x6e])](_0x476fc4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21cf97,_0x42869c)=>{_0x42869c[0x0][_0x476fc4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3edbda++,_0x3edbda==(0x57c6df26^_0x2b052f)&&(_0x486a84(),_0x21cf97[_0x476fc4([0x6f,0x66,0x66])]());});}))];return window[_0x476fc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x476fc4([0x72,0x61,0x63,0x65])](_0x50c75c)[_0x476fc4([0x74,0x68,0x65,0x6e])](()=>_0x2ad36f);}async function _0x4e51f5(){await _0x3e8f0a,_0x611185[_0x476fc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x476fc4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23f6c1,_0x611185[_0x476fc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x476fc4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23f6c1,_0x611185[_0x476fc4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x476fc4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2faf4c(_0x8fb73d){const _0x1ba8d8=_0x296aed();_0x611185[_0x1ba8d8]=_0x476fc4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8fb73d,_0x8fb73d!=_0x476fc4([0x56,0x61,0x6c,0x69,0x64])&&_0x4e51f5();}function _0x296aed(){const _0x1ad6c2=window[_0x476fc4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x476fc4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x476fc4([0x6e,0x6f,0x77])]())[_0x476fc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x476fc4([0x2e]),'');let _0x392d11=_0x476fc4([0x71]);for(let _0x2e10bf=0x0;_0x2e10bf<_0x1ad6c2[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e10bf+=0x2){let _0x32e4e2=window[_0x476fc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ad6c2[_0x476fc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e10bf,_0x2e10bf+0x2));_0x32e4e2>=_0x5e5b0d[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32e4e2-=_0x5e5b0d[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x392d11+=_0x5e5b0d[_0x32e4e2];}return _0x392d11;}function _0xcafaf(){const _0x2eddeb=_0x49afef[_0x476fc4([0x73,0x70,0x6c,0x69,0x74])](_0x476fc4([0x2e]));if(0x3!=_0x2eddeb[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dc74e(_0x2eddeb[0x1]);function _0x4dc74e(_0x1421c0){const _0x5597ce=_0x56509f(_0x1421c0);return _0x5597ce&&_0x23d8bb()?_0x5597ce:null;function _0x23d8bb(){const _0x17a75a=_0x5597ce[_0x476fc4([0x6a,0x74,0x69])],_0x40bdcb=window[_0x476fc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17a75a[_0x476fc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17a75a[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x349035={..._0x5597ce,[_0x476fc4([0x6a,0x74,0x69])]:_0x17a75a[_0x476fc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17a75a[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x349035[_0x476fc4([0x76,0x63])],_0x340d34(_0x349035)==_0x40bdcb;}}}async function _0x208244(){let _0x9543bf=!0x0;try{const _0x502cc3=_0x49afef[_0x476fc4([0x73,0x70,0x6c,0x69,0x74])](_0x476fc4([0x2e])),[_0x319244,_0x485af0,_0xb36c65]=_0x502cc3;return _0x5c5f9e(_0x319244),await _0x41673c(_0x319244,_0x485af0,_0xb36c65),_0x9543bf;}catch{return!0x1;}function _0x5c5f9e(_0x4b383d){const _0x26ff34=_0x56509f(_0x4b383d);_0x26ff34&&_0x26ff34[_0x476fc4([0x61,0x6c,0x67])]==_0x476fc4([0x45,0x53,0x32,0x35,0x36])||(_0x9543bf=!0x1);}async function _0x41673c(_0x5acce4,_0x54e9bd,_0x53d76b){const _0x4158ca=window[_0x476fc4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x476fc4([0x66,0x72,0x6f,0x6d])](_0x5afdf8(_0x53d76b),_0x70c616=>_0x70c616[_0x476fc4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3af6c3=new window[(_0x476fc4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x476fc4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5acce4+_0x476fc4([0x2e])+_0x54e9bd),_0x272daf=window[_0x476fc4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x476fc4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x272daf)return;const _0x2e5e24=await _0x272daf[_0x476fc4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x476fc4([0x6a,0x77,0x6b]),_0x18cf90,{[_0x476fc4([0x6e,0x61,0x6d,0x65])]:_0x476fc4([0x45,0x43,0x44,0x53,0x41]),[_0x476fc4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x476fc4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x476fc4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x272daf[_0x476fc4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x476fc4([0x6e,0x61,0x6d,0x65])]:_0x476fc4([0x45,0x43,0x44,0x53,0x41]),[_0x476fc4([0x68,0x61,0x73,0x68])]:{[_0x476fc4([0x6e,0x61,0x6d,0x65])]:_0x476fc4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e5e24,_0x4158ca,_0x3af6c3)||(_0x9543bf=!0x1);}}function _0x56509f(_0x492614){return _0x492614[_0x476fc4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x476fc4([0x65,0x79]))?JSON[_0x476fc4([0x70,0x61,0x72,0x73,0x65])](_0x5afdf8(_0x492614)):null;}function _0x5afdf8(_0x4a2c60){return window[_0x476fc4([0x61,0x74,0x6f,0x62])](_0x4a2c60[_0x476fc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x476fc4([0x2b]))[_0x476fc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x476fc4([0x2f])));}function _0x340d34(_0x456c95){let _0xfba65c=0x1505;function _0x52b639(_0xb862e7){for(let _0x10fadd=0x0;_0x10fadd<_0xb862e7[_0x476fc4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10fadd++){const _0x332ee2=_0xb862e7[_0x476fc4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10fadd);_0xfba65c=(_0xfba65c<<0x5)+_0xfba65c+_0x332ee2,_0xfba65c&=_0xfba65c;}}function _0x1bf597(_0xc478c5){Array[_0x476fc4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc478c5)?_0xc478c5[_0x476fc4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bf597):_0xc478c5&&typeof _0xc478c5==_0x476fc4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x476fc4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc478c5)[_0x476fc4([0x73,0x6f,0x72,0x74])]()[_0x476fc4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14ba7d,_0x23baa4])=>{_0x52b639(_0x14ba7d),_0x1bf597(_0x23baa4);}):_0x52b639(window[_0x476fc4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc478c5));}return _0x1bf597(_0x456c95),_0xfba65c>>>0x0;}function _0x3fde11(_0x13c79c){return _0x13c79c[_0x476fc4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x476fc4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x476fc4([0x30]));}function _0x377513(_0x3c07f3){return _0x3c07f3[_0x476fc4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x476fc4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x476fc4([0x6a,0x6f,0x69,0x6e])]('');}function _0x23f6c1(){}function _0x476fc4(_0x3342f6){const _0x3c88a4=_0x387c;return _0x3342f6[_0x3c88a4(0x1a2)](_0xcd7323=>String[_0x3c88a4(0x1c8)](_0xcd7323))[_0x3c88a4(0x1a5)]('');}_0x2faf4c(await _0x25b00f());}(this);}[_0x495192(0x1c6)](){const _0x424510=_0x495192,_0x1f9b6d=this[_0x424510(0x19f)][_0x424510(0x1ac)][_0x424510(0x1bb)];_0x1f9b6d[_0x424510(0x1b3)](_0x424510(0x1c5))&&_0x1f9b6d[_0x424510(0x1ab)](_0x424510(0x1c5),{'allowAttributes':[_0x424510(0x1e9)]}),_0x1f9b6d[_0x424510(0x1b3)](_0x424510(0x1a7))&&_0x1f9b6d[_0x424510(0x1ab)](_0x424510(0x1a7),{'allowAttributes':[_0x424510(0x1e9)]});}[_0x495192(0x1b8)](){const _0x1209e0=_0x495192,_0x108970=this[_0x1209e0(0x19f)];_0x108970[_0x1209e0(0x1ee)][_0x1209e0(0x1b2)](_0x1209e0(0x1b7))[_0x1209e0(0x1d5)]({'model':_0x1209e0(0x1e9),'view':_0x1209e0(0x1bd)}),_0x108970[_0x1209e0(0x1ee)][_0x1209e0(0x1b2)](_0x1209e0(0x1e5))[_0x1209e0(0x1dc)]({'model':{'key':_0x1209e0(0x1e9),'value':_0x2dba70=>_0x2dba70[_0x1209e0(0x1e3)](_0x1209e0(0x1bd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x49ce89=_0x108970[_0x1209e0(0x1a0)][_0x1209e0(0x1f2)](_0x1209e0(0x1a8));_0x49ce89&&this[_0x1209e0(0x1d6)](_0x49ce89,_0x1209e0(0x1de),(_0x398ea6,[_0xab1298,_0x145161])=>{const _0x3bc031=_0x1209e0;_0xab1298[_0x3bc031(0x1be)](_0x3bc031(0x1e9),_0x145161);});}[_0x495192(0x1ad)](){const _0x5b02f6=_0x495192,_0x34f956=this[_0x5b02f6(0x19f)][_0x5b02f6(0x1c0)][_0x5b02f6(0x1f2)](_0x5b02f6(0x1a1))||{},_0x124f2b=this[_0x5b02f6(0x19f)][_0x5b02f6(0x1c0)][_0x5b02f6(0x1f2)](_0x5b02f6(0x1eb))||'';this[_0x5b02f6(0x1a4)]=_0x129f26(_0x1cb35b[_0x5b02f6(0x1ce)],_0x5b02f6(0x1db),{..._0x34f956,'pubkey':_0x124f2b,'ctx-name':_0x5b02f6(0x1aa)+this[_0x5b02f6(0x1c3)],'sourceList':'','imgOnly':_0x5b02f6(0x1f3),'removeCopyright':_0x5b02f6(0x1f3),'localeName':this[_0x5b02f6(0x19f)][_0x5b02f6(0x1c9)][_0x5b02f6(0x1cc)],'externalSourcesEmbedCss':_0x5b02f6(0x1f4)}),this[_0x5b02f6(0x1a4)][_0x5b02f6(0x1ca)]=_0x5141b0=>{const _0xb28163=_0x5b02f6;if(_0xb28163(0x1ec)==_0x5141b0)return _0xb28163(0x1e8);},_0x1cb35b[_0x5b02f6(0x1ce)][_0x5b02f6(0x1ba)][_0x5b02f6(0x1df)](this[_0x5b02f6(0x1a4)]);}[_0x495192(0x1ea)](){const _0xd336cb=_0x495192;this[_0xd336cb(0x1b6)]=_0x129f26(_0x1cb35b[_0xd336cb(0x1ce)],_0xd336cb(0x1a6),{'ctx-name':_0xd336cb(0x1aa)+this[_0xd336cb(0x1c3)]}),_0x1cb35b[_0xd336cb(0x1ce)][_0xd336cb(0x1ba)][_0xd336cb(0x1df)](this[_0xd336cb(0x1b6)]);}[_0x495192(0x1e6)](){const _0x12e564=_0x495192,_0x37cc4c=this[_0x12e564(0x19f)][_0x12e564(0x1a0)][_0x12e564(0x1f2)](_0x12e564(0x1a3));_0x37cc4c&&this[_0x12e564(0x1d6)](_0x37cc4c,_0x12e564(0x1d7),()=>{const _0x4ea147=_0x12e564,_0x420a11=this[_0x4ea147(0x19f)][_0x4ea147(0x1ac)][_0x4ea147(0x1ce)][_0x4ea147(0x1e1)][_0x4ea147(0x1c7)]();_0x420a11&&_0x420a11[_0x4ea147(0x1e3)](_0x4ea147(0x1e9))&&this[_0x4ea147(0x19f)][_0x4ea147(0x1d3)][_0x4ea147(0x1f1)][_0x4ea147(0x1d0)](_0x4ea147(0x1bc),()=>{const _0x449a5a=_0x4ea147;_0x5aefef(this[_0x449a5a(0x19f)],_0x420a11);});});const _0x2d744d=this[_0x12e564(0x19f)][_0x12e564(0x1a0)][_0x12e564(0x1f2)](_0x12e564(0x1f0));_0x2d744d&&this[_0x12e564(0x1d6)](_0x2d744d,_0x12e564(0x1d7),()=>{const _0x49523a=_0x12e564,_0x417c1b=this[_0x49523a(0x19f)][_0x49523a(0x1ac)][_0x49523a(0x1ce)][_0x49523a(0x1e1)][_0x49523a(0x1c7)]();_0x417c1b&&_0x417c1b[_0x49523a(0x1e3)](_0x49523a(0x1e9))&&this[_0x49523a(0x19f)][_0x49523a(0x1d3)][_0x49523a(0x1f1)][_0x49523a(0x1d0)](_0x49523a(0x1bc),()=>{const _0x3ba89b=_0x49523a;_0x5aefef(this[_0x3ba89b(0x19f)],_0x417c1b);});});}}
23
+ function _0xd82f(_0xa88e51,_0x49ad5d){const _0x4b62e8=_0x4b62();return _0xd82f=function(_0xd82f52,_0x48a54a){_0xd82f52=_0xd82f52-0x1a5;let _0x3ef6cf=_0x4b62e8[_0xd82f52];return _0x3ef6cf;},_0xd82f(_0xa88e51,_0x49ad5d);}const _0xa52415=_0xd82f;(function(_0x4cf015,_0x5a9911){const _0x1e5b28=_0xd82f,_0x234520=_0x4cf015();while(!![]){try{const _0x26cda7=-parseInt(_0x1e5b28(0x1b7))/0x1+parseInt(_0x1e5b28(0x1f4))/0x2*(parseInt(_0x1e5b28(0x1a7))/0x3)+-parseInt(_0x1e5b28(0x1db))/0x4+-parseInt(_0x1e5b28(0x1bd))/0x5*(-parseInt(_0x1e5b28(0x1c6))/0x6)+-parseInt(_0x1e5b28(0x1ef))/0x7+-parseInt(_0x1e5b28(0x1a6))/0x8+-parseInt(_0x1e5b28(0x1e6))/0x9*(-parseInt(_0x1e5b28(0x1ce))/0xa);if(_0x26cda7===_0x5a9911)break;else _0x234520['push'](_0x234520['shift']());}catch(_0x45bb36){_0x234520['push'](_0x234520['shift']());}}}(_0x4b62,0xe4b6f));import{Plugin as _0x1fb915}from'ckeditor5/src/core.js';import{Dialog as _0x5921ab}from'ckeditor5/src/ui.js';import{createElement as _0x5c3965,global as _0x5f4115,uid as _0x50832b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x43d43e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x239233}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e97f3}from'./utils/editingutils.js';function _0x4b62(){const _0x39a0af=['remove','selection','appendChild','configElement','uploadcareImageId','conversion','417496rGkdar','3nnUYHN','locale','getSelectedElement','config','afterInit','closeMax','getAttribute','view','uc-upload-ctx-provider','schema','extend','ctxElement','init','model','downcast','cleanupImage','1819058aSlnoB','join','document','once','uploadcareImageReplace','contentLanguage','15910BTHlep','isRegistered','fromCharCode','querySelector','_initConfig','data-uc-image-id','uc-config','uploadcare','PictureEditing','2274ERaKDn','requires','add','isPremiumPlugin','listenTo','editor','upcast','execute','54090XHXNlj','_ctxElement','map','iconHrefResolver','editing','input[uploadcare-file-input]','replaceImageSource','elementToAttribute','uploadcare.uploader','attributeToAttribute','get','render','imageBlock','4878324WbJAAY','UploadcareEditing','#uc-icon-arrow-down','pluginName','_initCtx','uploadcare.pubkey','insertImage','for','imageInline','_initSchema','destroy','6867mdmNAc','true','_configElement','ucContextId','commands','removeAttribute','uploader-','body','_initConversion','12021947MnxVFA','href','_initImageProcessingIndicator','\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','isOfficialPlugin','824034WkoOkB'];_0x4b62=function(){return _0x39a0af;};return _0x4b62();}export class UploadcareEditing extends _0x1fb915{[_0xa52415(0x1e8)]=null;[_0xa52415(0x1cf)]=null;static get[_0xa52415(0x1de)](){const _0x1e270b=_0xa52415;return _0x1e270b(0x1dc);}static get[_0xa52415(0x1c7)](){const _0x4f6fdb=_0xa52415;return[_0x4f6fdb(0x1c5),_0x239233,_0x5921ab];}static get[_0xa52415(0x1f3)](){return!0x0;}static get[_0xa52415(0x1c9)](){return!0x0;}[_0xa52415(0x1e9)];get[_0xa52415(0x1f8)](){const _0x5d8299=_0xa52415;return this[_0x5d8299(0x1e8)];}get[_0xa52415(0x1b2)](){const _0x207159=_0xa52415;return this[_0x207159(0x1cf)];}constructor(_0xf3a3ab){const _0x28e7ee=_0xa52415;super(_0xf3a3ab),this[_0x28e7ee(0x1e9)]=_0x50832b();}[_0xa52415(0x1b3)](){const _0x4555cf=_0xa52415,_0x2dc819=this[_0x4555cf(0x1cb)];_0x2dc819[_0x4555cf(0x1ea)][_0x4555cf(0x1c8)](_0x4555cf(0x1c4),new _0x43d43e(_0x2dc819));}[_0xa52415(0x1ab)](){const _0x3692ac=_0xa52415;this[_0x3692ac(0x1e4)](),this[_0x3692ac(0x1ee)](),this[_0x3692ac(0x1c1)](),this[_0x3692ac(0x1df)](),this[_0x3692ac(0x1f1)](),this[_0x3692ac(0x1ca)](this[_0x3692ac(0x1cb)],_0x3692ac(0x1e5),()=>{const _0x270dc0=_0x3692ac;this[_0x270dc0(0x1e8)]&&(this[_0x270dc0(0x1e8)][_0x270dc0(0x1f5)](),this[_0x270dc0(0x1e8)]=null),this[_0x270dc0(0x1cf)]&&(this[_0x270dc0(0x1cf)][_0x270dc0(0x1f5)](),this[_0x270dc0(0x1cf)]=null);const _0x4fe2a2=_0x5f4115[_0x270dc0(0x1b9)][_0x270dc0(0x1c0)](_0x270dc0(0x1d3));_0x4fe2a2&&_0x4fe2a2[_0x270dc0(0x1f5)]();}),async function(_0x348a16){const _0x191def=_0x23c87f([0x37,0x36,0x53,0x6f,0x73,0x50,0x43,0x4f,0x65,0x41,0x59,0x39,0x61,0x6b,0x31,0x49,0x51,0x56,0x6e,0x6a,0x32,0x34,0x5a,0x63,0x4b,0x66,0x6c,0x62,0x38,0x72,0x64,0x42,0x44,0x33,0x70,0x48,0x4e,0x75,0x67,0x52,0x4c,0x6d,0x4d,0x35,0x71,0x55,0x68,0x74,0x4a,0x69,0x47,0x78,0x54,0x57,0x76,0x46,0x45,0x7a,0x30,0x79,0x58,0x77]),_0x5caf21=0x65711734,_0x33a15f=0x65767a24^_0x5caf21,_0xb7bc8f=window[_0x23c87f([0x44,0x61,0x74,0x65])][_0x23c87f([0x6e,0x6f,0x77])](),_0x5a83b1=_0x348a16[_0x23c87f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2eb857=new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23abc1=>{_0x5a83b1[_0x23c87f([0x6f,0x6e,0x63,0x65])](_0x23c87f([0x72,0x65,0x61,0x64,0x79]),_0x23abc1);}),_0x324596={[_0x23c87f([0x6b,0x74,0x79])]:_0x23c87f([0x45,0x43]),[_0x23c87f([0x75,0x73,0x65])]:_0x23c87f([0x73,0x69,0x67]),[_0x23c87f([0x63,0x72,0x76])]:_0x23c87f([0x50,0x2d,0x32,0x35,0x36]),[_0x23c87f([0x78])]:_0x23c87f([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]),[_0x23c87f([0x79])]:_0x23c87f([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]),[_0x23c87f([0x61,0x6c,0x67])]:_0x23c87f([0x45,0x53,0x32,0x35,0x36])},_0x7a0d1d=_0x5a83b1[_0x23c87f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23c87f([0x67,0x65,0x74])](_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x363e20(){let _0x54110c,_0x312c3a=null,_0x5e3862=null;try{if(_0x7a0d1d==_0x23c87f([0x47,0x50,0x4c]))return _0x23c87f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54110c=_0x25da17(),!_0x54110c)return _0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54110c[_0x23c87f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e3862=_0x28bb8c(_0x54110c[_0x23c87f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54110c[_0x23c87f([0x6a,0x74,0x69])])),await _0x97cce6()?_0x10064d()?_0x1da7b4()?_0x23c87f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f159d()?(_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23c87f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x312c3a=_0x3e3c0a(_0x23c87f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23c87f([0x74,0x72,0x69,0x61,0x6c])&&(_0x312c3a=_0x3e3c0a(_0x23c87f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4778e2()):_0x23c87f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23c87f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23c87f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1da7b4(){const _0x5945b3=[_0x23c87f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23c87f([0x74,0x72,0x69,0x61,0x6c])][_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb7bc8f/0x3e8:0xe10*_0x33a15f;return _0x54110c[_0x23c87f([0x65,0x78,0x70])]<_0x5945b3;}function _0x10064d(){const _0x8ab056=_0x54110c[_0x23c87f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8ab056&&(!!_0x8ab056[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x2a]))||!!_0x8ab056[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x55,0x50,0x4c,0x43])));}function _0x3f159d(){const _0x2a39c6=_0xd82f,_0x1fcd3a=_0x54110c[_0x23c87f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fcd3a||0x0==_0x1fcd3a[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x379543}=new URL(window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a39c6(0x1f0)]);if(_0x1fcd3a[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379543))return!0x0;const _0x117dee=_0x379543[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e]));return _0x1fcd3a[_0x23c87f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d5e4=>_0x20d5e4[_0x23c87f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c87f([0x2a])))[_0x23c87f([0x6d,0x61,0x70])](_0x462301=>_0x462301[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e])))[_0x23c87f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aa996=>_0x3aa996[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x117dee[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c87f([0x6d,0x61,0x70])](_0xbb93c=>Array(_0x117dee[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbb93c[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23c87f([0x66,0x69,0x6c,0x6c])](_0xbb93c[0x0]===_0x23c87f([0x2a])?_0x23c87f([0x2a]):'')[_0x23c87f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbb93c))[_0x23c87f([0x73,0x6f,0x6d,0x65])](_0x5adaab=>_0x117dee[_0x23c87f([0x65,0x76,0x65,0x72,0x79])]((_0x158152,_0x591302)=>_0x5adaab[_0x591302]===_0x158152||_0x5adaab[_0x591302]===_0x23c87f([0x2a])));}function _0x4778e2(){return _0x312c3a&&_0x5e3862?new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x578a6b,_0x2ee911)=>{_0x312c3a[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x578a6b,_0x2ee911),_0x5e3862[_0x23c87f([0x74,0x68,0x65,0x6e])](_0xd94f=>{_0xd94f!=_0x23c87f([0x56,0x61,0x6c,0x69,0x64])&&_0x578a6b(_0xd94f);},_0x2ee911);}):_0x312c3a||_0x5e3862||_0x23c87f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28bb8c(_0x121115,_0x5d0218){return new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32ff0c=>{if(_0x50f833())return _0x32ff0c(_0x23c87f([0x56,0x61,0x6c,0x69,0x64]));_0x3742f8(),_0x5a83b1[_0x23c87f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18c270=!0x1;const _0x50990c=_0x50832b();function _0x5438a3(_0x9344fb){return!!_0x9344fb&&(typeof _0x9344fb===_0x23c87f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9344fb===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9344fb[_0x23c87f([0x74,0x68,0x65,0x6e])]===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9344fb[_0x23c87f([0x63,0x61,0x74,0x63,0x68])]===_0x23c87f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc5fe60(_0x539423){_0x26b61e(_0x539423)[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x5af3dd=>{if(!_0x5af3dd||_0x5af3dd[_0x23c87f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23c87f([0x6f,0x6b]))return _0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1846b2(_0x2cc2fc(_0x50990c+_0x5d0218))!=_0x5af3dd[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23c87f([0x56,0x61,0x6c,0x69,0x64]);})[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x134790=>(_0x11a32f(),_0x134790),()=>{const _0x36aa07=_0x5984f5();return null==_0x36aa07?(_0x11a32f(),_0x23c87f([0x56,0x61,0x6c,0x69,0x64])):_0x23c87f(_0xb7bc8f-_0x36aa07>(0x417d9334^_0x5caf21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x32ff0c)[_0x23c87f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x340091=0x6547f9b4^_0x5caf21;function _0x11a32f(){const _0x2f4f43=_0x23c87f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1846b2(_0x2cc2fc(_0x121115)),_0x5e0f08=_0x4df264(_0x1846b2(window[_0x23c87f([0x4d,0x61,0x74,0x68])][_0x23c87f([0x63,0x65,0x69,0x6c])](_0xb7bc8f/_0x340091)));window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c87f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f4f43,_0x5e0f08);}function _0x5984f5(){const _0x40e643=_0x23c87f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1846b2(_0x2cc2fc(_0x121115)),_0x514d77=window[_0x23c87f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23c87f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40e643);return _0x514d77?window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df264(_0x514d77),0x10)*_0x340091:null;}function _0x26b61e(_0x21540b){return new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f30a5,_0x124df6)=>{_0x21540b[_0x23c87f([0x74,0x68,0x65,0x6e])](_0x2f30a5,_0x124df6),window[_0x23c87f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x124df6,0x6570c3f4^_0x5caf21);});}}_0x5a83b1[_0x23c87f([0x6f,0x6e])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a417e,_0x4e5ccf)=>{if(_0x4e5ccf[0x0]!=_0x121115)return _0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e5ccf[0x1]={..._0x4e5ccf[0x1],[_0x23c87f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50990c};},{[_0x23c87f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c87f([0x68,0x69,0x67,0x68])}),_0x5a83b1[_0x23c87f([0x6f,0x6e])](_0x23c87f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bf7f6=>{_0x5438a3(_0x5bf7f6[_0x23c87f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18c270=!0x0,_0xc5fe60(_0x5bf7f6[_0x23c87f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23c87f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23c87f([0x6c,0x6f,0x77])}),_0x2eb857[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>{_0x18c270||_0x32ff0c(_0x23c87f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50f833(){return _0x5a83b1[_0x23c87f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c87f([0x76,0x69,0x65,0x77])][_0x23c87f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23c87f([0x61,0x75,0x74,0x6f]);}function _0x3742f8(){_0x5a83b1[_0x23c87f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23c87f([0x76,0x69,0x65,0x77])][_0x23c87f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23c87f([0x61,0x75,0x74,0x6f]);}}function _0x3e3c0a(_0x4babeb){const _0x24e522=[new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b91cb=>setTimeout(_0x4b91cb,0x657829f8^_0x5caf21)),_0x2eb857[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38596c=>{let _0x298b52=0x0;_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x6f,0x6e])](_0x23c87f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38c948,_0x33c471)=>{_0x33c471[0x0][_0x23c87f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x298b52++,_0x298b52==(0x657116cc^_0x5caf21)&&(_0x38596c(),_0x38c948[_0x23c87f([0x6f,0x66,0x66])]());});}))];return window[_0x23c87f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23c87f([0x72,0x61,0x63,0x65])](_0x24e522)[_0x23c87f([0x74,0x68,0x65,0x6e])](()=>_0x4babeb);}async function _0x173f3f(){await _0x2eb857,_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f8f88,_0x5a83b1[_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23c87f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f8f88,_0x5a83b1[_0x23c87f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23c87f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10e55e(_0x3292e3){const _0x5ed41c=_0x5130e8();_0x5a83b1[_0x5ed41c]=_0x23c87f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3292e3,_0x3292e3!=_0x23c87f([0x56,0x61,0x6c,0x69,0x64])&&_0x173f3f();}function _0x5130e8(){const _0x5258fa=window[_0x23c87f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23c87f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23c87f([0x6e,0x6f,0x77])]())[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23c87f([0x2e]),'');let _0x37d6c7=_0x23c87f([0x53]);for(let _0x2efe64=0x0;_0x2efe64<_0x5258fa[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2efe64+=0x2){let _0x588fcb=window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5258fa[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2efe64,_0x2efe64+0x2));_0x588fcb>=_0x191def[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x588fcb-=_0x191def[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37d6c7+=_0x191def[_0x588fcb];}return _0x37d6c7;}function _0x25da17(){const _0x3beac2=_0x7a0d1d[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e]));if(0x3!=_0x3beac2[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x138e2e(_0x3beac2[0x1]);function _0x138e2e(_0x5b9145){const _0x1acd1d=_0x13ca81(_0x5b9145);return _0x1acd1d&&_0x9b26f7()?_0x1acd1d:null;function _0x9b26f7(){const _0x1fe179=_0x1acd1d[_0x23c87f([0x6a,0x74,0x69])],_0x3e83a5=window[_0x23c87f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fe179[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fe179[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5172d8={..._0x1acd1d,[_0x23c87f([0x6a,0x74,0x69])]:_0x1fe179[_0x23c87f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fe179[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5172d8[_0x23c87f([0x76,0x63])],_0x2cc2fc(_0x5172d8)==_0x3e83a5;}}}async function _0x97cce6(){let _0x55f87d=!0x0;try{const _0x4f66f9=_0x7a0d1d[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])](_0x23c87f([0x2e])),[_0x2f0cb6,_0x13a606,_0x5a433d]=_0x4f66f9;return _0x446f21(_0x2f0cb6),await _0x27cb1b(_0x2f0cb6,_0x13a606,_0x5a433d),_0x55f87d;}catch{return!0x1;}function _0x446f21(_0x30f392){const _0x47b6c4=_0x13ca81(_0x30f392);_0x47b6c4&&_0x47b6c4[_0x23c87f([0x61,0x6c,0x67])]==_0x23c87f([0x45,0x53,0x32,0x35,0x36])||(_0x55f87d=!0x1);}async function _0x27cb1b(_0x4a31a4,_0x20dc52,_0x5d5fa2){const _0x53f1bc=window[_0x23c87f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23c87f([0x66,0x72,0x6f,0x6d])](_0x3ae287(_0x5d5fa2),_0x223b92=>_0x223b92[_0x23c87f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40bcb3=new window[(_0x23c87f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23c87f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a31a4+_0x23c87f([0x2e])+_0x20dc52),_0x57bfd1=window[_0x23c87f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23c87f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57bfd1)return;const _0x5413b0=await _0x57bfd1[_0x23c87f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23c87f([0x6a,0x77,0x6b]),_0x324596,{[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x45,0x43,0x44,0x53,0x41]),[_0x23c87f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23c87f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57bfd1[_0x23c87f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x45,0x43,0x44,0x53,0x41]),[_0x23c87f([0x68,0x61,0x73,0x68])]:{[_0x23c87f([0x6e,0x61,0x6d,0x65])]:_0x23c87f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5413b0,_0x53f1bc,_0x40bcb3)||(_0x55f87d=!0x1);}}function _0x13ca81(_0xb1fe47){return _0xb1fe47[_0x23c87f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23c87f([0x65,0x79]))?JSON[_0x23c87f([0x70,0x61,0x72,0x73,0x65])](_0x3ae287(_0xb1fe47)):null;}function _0x3ae287(_0x4f22b0){return window[_0x23c87f([0x61,0x74,0x6f,0x62])](_0x4f22b0[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23c87f([0x2b]))[_0x23c87f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23c87f([0x2f])));}function _0x2cc2fc(_0x165306){let _0x1028fe=0x1505;function _0x39e164(_0x512af0){for(let _0x3e0323=0x0;_0x3e0323<_0x512af0[_0x23c87f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e0323++){const _0x569f5e=_0x512af0[_0x23c87f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e0323);_0x1028fe=(_0x1028fe<<0x5)+_0x1028fe+_0x569f5e,_0x1028fe&=_0x1028fe;}}function _0x215cd0(_0x4b870f){Array[_0x23c87f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b870f)?_0x4b870f[_0x23c87f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x215cd0):_0x4b870f&&typeof _0x4b870f==_0x23c87f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23c87f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b870f)[_0x23c87f([0x73,0x6f,0x72,0x74])]()[_0x23c87f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfa432a,_0x2e733f])=>{_0x39e164(_0xfa432a),_0x215cd0(_0x2e733f);}):_0x39e164(window[_0x23c87f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b870f));}return _0x215cd0(_0x165306),_0x1028fe>>>0x0;}function _0x1846b2(_0xe84f96){return _0xe84f96[_0x23c87f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23c87f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23c87f([0x30]));}function _0x4df264(_0x2232ec){return _0x2232ec[_0x23c87f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23c87f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23c87f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f8f88(){}function _0x23c87f(_0x256895){const _0x41c3bc=_0xd82f;return _0x256895[_0x41c3bc(0x1d0)](_0x268123=>String[_0x41c3bc(0x1bf)](_0x268123))[_0x41c3bc(0x1b8)]('');}_0x10e55e(await _0x363e20());}(this);}[_0xa52415(0x1e4)](){const _0x1e9e3b=_0xa52415,_0x35da6a=this[_0x1e9e3b(0x1cb)][_0x1e9e3b(0x1b4)][_0x1e9e3b(0x1b0)];_0x35da6a[_0x1e9e3b(0x1be)](_0x1e9e3b(0x1da))&&_0x35da6a[_0x1e9e3b(0x1b1)](_0x1e9e3b(0x1da),{'allowAttributes':[_0x1e9e3b(0x1f9)]}),_0x35da6a[_0x1e9e3b(0x1be)](_0x1e9e3b(0x1e3))&&_0x35da6a[_0x1e9e3b(0x1b1)](_0x1e9e3b(0x1e3),{'allowAttributes':[_0x1e9e3b(0x1f9)]});}[_0xa52415(0x1ee)](){const _0x4894eb=_0xa52415,_0x458668=this[_0x4894eb(0x1cb)];_0x458668[_0x4894eb(0x1a5)][_0x4894eb(0x1e2)](_0x4894eb(0x1b5))[_0x4894eb(0x1d7)]({'model':_0x4894eb(0x1f9),'view':_0x4894eb(0x1c2)}),_0x458668[_0x4894eb(0x1a5)][_0x4894eb(0x1e2)](_0x4894eb(0x1cc))[_0x4894eb(0x1d5)]({'model':{'key':_0x4894eb(0x1f9),'value':_0x33f0e8=>_0x33f0e8[_0x4894eb(0x1ad)](_0x4894eb(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x45d3c2=_0x458668[_0x4894eb(0x1ea)][_0x4894eb(0x1d8)](_0x4894eb(0x1d4));_0x45d3c2&&this[_0x4894eb(0x1ca)](_0x45d3c2,_0x4894eb(0x1b6),(_0x596e60,[_0xb2931d,_0x2d0229])=>{const _0x2ca9e1=_0x4894eb;_0xb2931d[_0x2ca9e1(0x1eb)](_0x2ca9e1(0x1f9),_0x2d0229);});}[_0xa52415(0x1c1)](){const _0x33608a=_0xa52415,_0x17f535=this[_0x33608a(0x1cb)][_0x33608a(0x1aa)][_0x33608a(0x1d8)](_0x33608a(0x1d6))||{},_0x3aa3c6=this[_0x33608a(0x1cb)][_0x33608a(0x1aa)][_0x33608a(0x1d8)](_0x33608a(0x1e0))||'';this[_0x33608a(0x1e8)]=_0x5c3965(_0x5f4115[_0x33608a(0x1b9)],_0x33608a(0x1c3),{..._0x17f535,'pubkey':_0x3aa3c6,'ctx-name':_0x33608a(0x1ec)+this[_0x33608a(0x1e9)],'sourceList':'','imgOnly':_0x33608a(0x1e7),'removeCopyright':_0x33608a(0x1e7),'localeName':this[_0x33608a(0x1cb)][_0x33608a(0x1a8)][_0x33608a(0x1bc)],'externalSourcesEmbedCss':_0x33608a(0x1f2)}),this[_0x33608a(0x1e8)][_0x33608a(0x1d1)]=_0x545201=>{const _0x51b3c3=_0x33608a;if(_0x51b3c3(0x1ac)==_0x545201)return _0x51b3c3(0x1dd);},_0x5f4115[_0x33608a(0x1b9)][_0x33608a(0x1ed)][_0x33608a(0x1f7)](this[_0x33608a(0x1e8)]);}[_0xa52415(0x1df)](){const _0x3a99bf=_0xa52415;this[_0x3a99bf(0x1cf)]=_0x5c3965(_0x5f4115[_0x3a99bf(0x1b9)],_0x3a99bf(0x1af),{'ctx-name':_0x3a99bf(0x1ec)+this[_0x3a99bf(0x1e9)]}),_0x5f4115[_0x3a99bf(0x1b9)][_0x3a99bf(0x1ed)][_0x3a99bf(0x1f7)](this[_0x3a99bf(0x1cf)]);}[_0xa52415(0x1f1)](){const _0x31f8ea=_0xa52415,_0x2ac959=this[_0x31f8ea(0x1cb)][_0x31f8ea(0x1ea)][_0x31f8ea(0x1d8)](_0x31f8ea(0x1e1));_0x2ac959&&this[_0x31f8ea(0x1ca)](_0x2ac959,_0x31f8ea(0x1cd),()=>{const _0x1c19ab=_0x31f8ea,_0x6b1d62=this[_0x1c19ab(0x1cb)][_0x1c19ab(0x1b4)][_0x1c19ab(0x1b9)][_0x1c19ab(0x1f6)][_0x1c19ab(0x1a9)]();_0x6b1d62&&_0x6b1d62[_0x1c19ab(0x1ad)](_0x1c19ab(0x1f9))&&this[_0x1c19ab(0x1cb)][_0x1c19ab(0x1d2)][_0x1c19ab(0x1ae)][_0x1c19ab(0x1ba)](_0x1c19ab(0x1d9),()=>{const _0x4251b1=_0x1c19ab;_0x2e97f3(this[_0x4251b1(0x1cb)],_0x6b1d62);});});const _0x1db46b=this[_0x31f8ea(0x1cb)][_0x31f8ea(0x1ea)][_0x31f8ea(0x1d8)](_0x31f8ea(0x1bb));_0x1db46b&&this[_0x31f8ea(0x1ca)](_0x1db46b,_0x31f8ea(0x1cd),()=>{const _0xe340e4=_0x31f8ea,_0x100642=this[_0xe340e4(0x1cb)][_0xe340e4(0x1b4)][_0xe340e4(0x1b9)][_0xe340e4(0x1f6)][_0xe340e4(0x1a9)]();_0x100642&&_0x100642[_0xe340e4(0x1ad)](_0xe340e4(0x1f9))&&this[_0xe340e4(0x1cb)][_0xe340e4(0x1d2)][_0xe340e4(0x1ae)][_0xe340e4(0x1ba)](_0xe340e4(0x1d9),()=>{const _0x8a31f1=_0xe340e4;_0x2e97f3(this[_0x8a31f1(0x1cb)],_0x100642);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x528445,ObservableMixin as _0x545c2f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3a1f99}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3343d1}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1d3f75}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3167be}from'../../utils/uploadutils.js';import{getImageUrls as _0x572eca,getImageDimension as _0x289675}from'../../utils/editingutils.js';import{isAncestor as _0x17a0a6}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x545c2f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x555a61,_0x2b0399,_0x27bc48){super(),this['_editor']=_0x555a61,this['_dialog']=_0x2b0399,this['_imageElement']=_0x27bc48,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 _0x1ed64d=this['_imageElement'],_0x58c4d3=_0x1ed64d['getAttribute']('uploadcareImageId'),_0x3e0518=_0x1ed64d['getAttribute']('src');if(_0x58c4d3)await this['_loadImageInfo'](_0x58c4d3,_0x3e0518);else{if(this['_imageCache']['has'](_0x3e0518)){const _0x557577=this['_imageCache']['get'](_0x3e0518);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x557577['url'],this['imageDimension']=_0x557577['dimension'],this['imageId']=_0x557577['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1e103d}=this['_editor'],t=_0x1e103d['t'],_0x591850=new _0x1d3f75(_0x1e103d,this['imageStatus'],this['_attributes']);_0x591850['bind']('status')['to'](this,'imageStatus'),_0x591850['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x591850['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x591850['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x591850,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3343d1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x591850,'position':_0x3a1f99['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x591850['focus']();},'onHide':()=>{_0x591850['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2de8e1=>!_0x17a0a6(_0x2de8e1,_0x591850['element'])}});}['_loadImageInfo'](_0x10ce0d,_0x2a0c6c){return _0x3167be['getInfo'](_0x10ce0d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x354a0d=>{const {width:_0x234d6a,height:_0x494258}=_0x354a0d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a0c6c,this['imageDimension']={'width':_0x234d6a,'height':_0x494258},this['imageId']=_0x10ce0d;})['catch'](_0x3c295b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c295b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x289a9,_0x57fd71){return this['_getImageAsFile'](_0x289a9)['then'](_0x26a445=>_0x3167be['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x57fd71['signal'],'file':_0x26a445,'onProgress':_0x128a48=>{_0x128a48&&_0x128a48['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x128a48['value']));}}))['then'](_0x1fc888=>{const {width:_0x293f43,height:_0x5b75de}=_0x1fc888['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fc888['cdnUrl'],this['imageDimension']={'width':_0x293f43,'height':_0x5b75de},this['imageId']=_0x1fc888['uuid'],this['imageUploadProgress']=null;const _0x5bea4f=_0x289a9['getAttribute']('src');this['_imageCache']['set'](_0x5bea4f,{'id':_0x1fc888['uuid'],'url':_0x1fc888['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5280f6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5280f6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x25a371,_0x385c05){_0x25a371['on']('apply',(_0xb1e9b8,_0x29a6d9)=>{this['_replaceImage'](_0x385c05,_0x29a6d9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x25a371['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x25a371['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4c921f,_0x10c479,_0x200aa1){const _0x25cdd1=this['_editor'],{width:_0x530e09,height:_0xe0755b}=_0x289675(_0x10c479,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xde55a4,imageSources:_0x4f38c6}=_0x572eca(_0x10c479,_0x530e09);_0x25cdd1['model']['change'](_0x3c6f07=>{if('$graveyard'===_0x4c921f['root']['rootName']){_0x25cdd1['execute']('insertImage',{'imageType':_0x4c921f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4c921f['getAttributes']()),'uploadcareImageId':_0x200aa1,'src':_0xde55a4,'sources':_0x4f38c6,'width':_0x530e09,'height':_0xe0755b}});const _0x254ece=_0x4c921f['getChildren']();_0x4c921f=_0x25cdd1['model']['document']['selection']['getSelectedElement']();for(const _0xb11e3d of _0x254ece)_0x3c6f07['append'](_0x3c6f07['cloneElement'](_0xb11e3d),_0x4c921f);}else _0x3c6f07['setSelection'](_0x4c921f,'on'),_0x25cdd1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4c921f['getAttributes']()),'uploadcareImageId':_0x200aa1,'src':_0xde55a4,'sources':_0x4f38c6,'width':_0x530e09,'height':_0xe0755b},_0x4c921f);_0x3c6f07['setSelection'](_0x4c921f,'on');});}async['_getImageAsFile'](_0x237622){const _0xf8104=_0x528445['window'],_0x5a6645=_0x528445['document']['location']['href'],_0x655251=new _0xf8104['URL'](_0x237622['getAttribute']('src'),_0x5a6645);if('data:'===_0x655251['protocol']){const _0x67386c=_0x655251['href']['split'](','),_0x2533a2=_0x67386c[0x0]['match'](/:(.*?);/)[0x1],_0x516764=_0x2533a2['split']('/')[0x1],_0x8f4cce=_0xf8104['atob'](_0x67386c[_0x67386c['length']-0x1]);let _0x191ae0=_0x8f4cce['length'];const _0x1293e1=new _0xf8104['Uint8Array'](_0x191ae0);for(;_0x191ae0--;)_0x1293e1[_0x191ae0]=_0x8f4cce['charCodeAt'](_0x191ae0);return new _0xf8104['File']([_0x1293e1],'image.'+_0x516764,{'type':_0x2533a2});}const _0x11048a=_0x655251['href']['split']('/'),_0x583669=_0x11048a[_0x11048a['length']-0x1],_0x199cff=_0x583669['split']('.')[0x1];return _0xf8104['fetch'](_0x655251['href'])['then'](_0x4b6c3a=>_0x4b6c3a['clone']()['blob']())['then'](_0x32afb2=>new _0xf8104['File']([_0x32afb2],_0x583669,{'type':'image/'+_0x199cff}));}}
23
+ import{global as _0x161dda,ObservableMixin as _0x3337d8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xa00ed5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x412484}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x185a06}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4c4466}from'../../utils/uploadutils.js';import{getImageUrls as _0x4fd0b6,getImageDimension as _0x48ae29}from'../../utils/editingutils.js';import{isAncestor as _0x1ffd45}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3337d8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x37233c,_0x23b390,_0x130996){super(),this['_editor']=_0x37233c,this['_dialog']=_0x23b390,this['_imageElement']=_0x130996,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 _0x74f112=this['_imageElement'],_0x149939=_0x74f112['getAttribute']('uploadcareImageId'),_0x1af901=_0x74f112['getAttribute']('src');if(_0x149939)await this['_loadImageInfo'](_0x149939,_0x1af901);else{if(this['_imageCache']['has'](_0x1af901)){const _0x199ca6=this['_imageCache']['get'](_0x1af901);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x199ca6['url'],this['imageDimension']=_0x199ca6['dimension'],this['imageId']=_0x199ca6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x53b6ec}=this['_editor'],t=_0x53b6ec['t'],_0x4b7a1a=new _0x185a06(_0x53b6ec,this['imageStatus'],this['_attributes']);_0x4b7a1a['bind']('status')['to'](this,'imageStatus'),_0x4b7a1a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b7a1a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b7a1a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b7a1a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x412484,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b7a1a,'position':_0xa00ed5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b7a1a['focus']();},'onHide':()=>{_0x4b7a1a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x111810=>!_0x1ffd45(_0x111810,_0x4b7a1a['element'])}});}['_loadImageInfo'](_0x58533a,_0x35a9e4){return _0x4c4466['getInfo'](_0x58533a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x107eaa=>{const {width:_0x1f90f6,height:_0x2cb1f4}=_0x107eaa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35a9e4,this['imageDimension']={'width':_0x1f90f6,'height':_0x2cb1f4},this['imageId']=_0x58533a;})['catch'](_0x277762=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x277762['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a3950,_0x5f244b){return this['_getImageAsFile'](_0x4a3950)['then'](_0x5a4738=>_0x4c4466['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5f244b['signal'],'file':_0x5a4738,'onProgress':_0x4af2d4=>{_0x4af2d4&&_0x4af2d4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4af2d4['value']));}}))['then'](_0x349e21=>{const {width:_0x3fcd96,height:_0x25bb08}=_0x349e21['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349e21['cdnUrl'],this['imageDimension']={'width':_0x3fcd96,'height':_0x25bb08},this['imageId']=_0x349e21['uuid'],this['imageUploadProgress']=null;const _0x57e076=_0x4a3950['getAttribute']('src');this['_imageCache']['set'](_0x57e076,{'id':_0x349e21['uuid'],'url':_0x349e21['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9a3a11=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9a3a11['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5087de,_0x1b9bf2){_0x5087de['on']('apply',(_0x12cfa6,_0x132c45)=>{this['_replaceImage'](_0x1b9bf2,_0x132c45['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5087de['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5087de['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f050c,_0x50aa70,_0x96a90a){const _0x56749a=this['_editor'],{width:_0x5276ba,height:_0x33b513}=_0x48ae29(_0x50aa70,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ec299,imageSources:_0x27ab03}=_0x4fd0b6(_0x50aa70,_0x5276ba);_0x56749a['model']['change'](_0x6217f3=>{if('$graveyard'===_0x4f050c['root']['rootName']){_0x56749a['execute']('insertImage',{'imageType':_0x4f050c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f050c['getAttributes']()),'uploadcareImageId':_0x96a90a,'src':_0x5ec299,'sources':_0x27ab03,'width':_0x5276ba,'height':_0x33b513}});const _0x135d0d=_0x4f050c['getChildren']();_0x4f050c=_0x56749a['model']['document']['selection']['getSelectedElement']();for(const _0x3d27ef of _0x135d0d)_0x6217f3['append'](_0x6217f3['cloneElement'](_0x3d27ef),_0x4f050c);}else _0x6217f3['setSelection'](_0x4f050c,'on'),_0x56749a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f050c['getAttributes']()),'uploadcareImageId':_0x96a90a,'src':_0x5ec299,'sources':_0x27ab03,'width':_0x5276ba,'height':_0x33b513},_0x4f050c);_0x6217f3['setSelection'](_0x4f050c,'on');});}async['_getImageAsFile'](_0x294f16){const _0x5b1c1b=_0x161dda['window'],_0x5be78d=_0x161dda['document']['location']['href'],_0x392c81=new _0x5b1c1b['URL'](_0x294f16['getAttribute']('src'),_0x5be78d);if('data:'===_0x392c81['protocol']){const _0x243081=_0x392c81['href']['split'](','),_0x280e00=_0x243081[0x0]['match'](/:(.*?);/)[0x1],_0x342cfe=_0x280e00['split']('/')[0x1],_0x59208a=_0x5b1c1b['atob'](_0x243081[_0x243081['length']-0x1]);let _0x20d533=_0x59208a['length'];const _0x383d53=new _0x5b1c1b['Uint8Array'](_0x20d533);for(;_0x20d533--;)_0x383d53[_0x20d533]=_0x59208a['charCodeAt'](_0x20d533);return new _0x5b1c1b['File']([_0x383d53],'image.'+_0x342cfe,{'type':_0x280e00});}const _0x424159=_0x392c81['href']['split']('/'),_0x5dca74=_0x424159[_0x424159['length']-0x1],_0x465f41=_0x5dca74['split']('.')[0x1];return _0x5b1c1b['fetch'](_0x392c81['href'])['then'](_0x2942e5=>_0x2942e5['clone']()['blob']())['then'](_0x3fb564=>new _0x5b1c1b['File']([_0x3fb564],_0x5dca74,{'type':'image/'+_0x465f41}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x23b089,_0x1ae2d6){const _0x10c94b=_0x1c58,_0x4d79d8=_0x23b089();while(!![]){try{const _0x169a3e=parseInt(_0x10c94b(0x129))/0x1*(-parseInt(_0x10c94b(0x130))/0x2)+-parseInt(_0x10c94b(0x135))/0x3+parseInt(_0x10c94b(0x12d))/0x4+-parseInt(_0x10c94b(0x136))/0x5*(parseInt(_0x10c94b(0x12e))/0x6)+parseInt(_0x10c94b(0x131))/0x7+parseInt(_0x10c94b(0x128))/0x8+parseInt(_0x10c94b(0x134))/0x9;if(_0x169a3e===_0x1ae2d6)break;else _0x4d79d8['push'](_0x4d79d8['shift']());}catch(_0x54e004){_0x4d79d8['push'](_0x4d79d8['shift']());}}}(_0x2efd,0x66018));function _0x2efd(){const _0x343853=['1460zQbltL','imageSrc','bindTemplate','75944stsJLV','273lwjQbw','setTemplate','set','ck-uploadcare-theme','130140atPtlA','2982HMEcsY','uc-light','3506jdmxnR','3963841cNWnqK','image-edit','uc-cloud-image-editor','8808210QzhqpC','1636416JsEmee'];_0x2efd=function(){return _0x343853;};return _0x2efd();}import{View as _0x3fb7c8}from'ckeditor5/src/ui.js';function _0x1c58(_0x4e50c0,_0x568cd1){const _0x2efdab=_0x2efd();return _0x1c58=function(_0x1c587a,_0x1381d6){_0x1c587a=_0x1c587a-0x127;let _0xd5ba1a=_0x2efdab[_0x1c587a];return _0xd5ba1a;},_0x1c58(_0x4e50c0,_0x568cd1);}export class UploadcareImageEditFormEditingView extends _0x3fb7c8{constructor(_0x4b1a71,_0x58a4a3){const _0x1c0900=_0x1c58;super(_0x4b1a71);const _0x5c06aa=this[_0x1c0900(0x127)];this[_0x1c0900(0x12b)](_0x1c0900(0x137),''),this[_0x1c0900(0x12a)]({'tag':_0x1c0900(0x133),'attributes':{..._0x58a4a3,'class':[_0x1c0900(0x12f),_0x1c0900(0x12c)],'ctx-name':_0x1c0900(0x132),'cdn-url':_0x5c06aa['to'](_0x1c0900(0x137))}});}}
23
+ function _0x1079(_0x2da95b,_0x58e982){const _0x25c520=_0x25c5();return _0x1079=function(_0x107994,_0x105293){_0x107994=_0x107994-0xcf;let _0x4e2264=_0x25c520[_0x107994];return _0x4e2264;},_0x1079(_0x2da95b,_0x58e982);}(function(_0x2df3a1,_0x106d34){const _0xba8c96=_0x1079,_0x4bdcd1=_0x2df3a1();while(!![]){try{const _0x294a13=-parseInt(_0xba8c96(0xd8))/0x1+parseInt(_0xba8c96(0xdc))/0x2*(parseInt(_0xba8c96(0xd1))/0x3)+-parseInt(_0xba8c96(0xdf))/0x4+-parseInt(_0xba8c96(0xd5))/0x5+-parseInt(_0xba8c96(0xda))/0x6*(-parseInt(_0xba8c96(0xd6))/0x7)+parseInt(_0xba8c96(0xdd))/0x8+-parseInt(_0xba8c96(0xd3))/0x9;if(_0x294a13===_0x106d34)break;else _0x4bdcd1['push'](_0x4bdcd1['shift']());}catch(_0x48c6f5){_0x4bdcd1['push'](_0x4bdcd1['shift']());}}}(_0x25c5,0x9d1c1));import{View as _0x45b858}from'ckeditor5/src/ui.js';function _0x25c5(){const _0x518742=['1848172jKuySZ','ck-uploadcare-theme','imageSrc','423moNlMO','uc-cloud-image-editor','3552219ndgCak','setTemplate','3667285XInyjZ','7EwKkRi','uc-light','759960qQvery','set','7085526ITegms','bindTemplate','10530wAmbJm','8563088qHFqxn','image-edit'];_0x25c5=function(){return _0x518742;};return _0x25c5();}export class UploadcareImageEditFormEditingView extends _0x45b858{constructor(_0x1f6fd0,_0x17904b){const _0x325b6a=_0x1079;super(_0x1f6fd0);const _0x3d74fa=this[_0x325b6a(0xdb)];this[_0x325b6a(0xd9)](_0x325b6a(0xd0),''),this[_0x325b6a(0xd4)]({'tag':_0x325b6a(0xd2),'attributes':{..._0x17904b,'class':[_0x325b6a(0xd7),_0x325b6a(0xcf)],'ctx-name':_0x325b6a(0xde),'cdn-url':_0x3d74fa['to'](_0x325b6a(0xd0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x40e095}from'ckeditor5/src/icons.js';import{ButtonView as _0x45c040,IconView as _0xb99dc3,View as _0x4ec18f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4ec18f{constructor(_0x8f8cfc){super(_0x8f8cfc);const t=_0x8f8cfc['t'];this['set']('errorType',null);const _0x3e7b34=new _0x45c040(_0x8f8cfc);_0x3e7b34['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e7b34['withText']=!0x0,_0x3e7b34['class']='ck-button-action',_0x3e7b34['on']('execute',()=>{this['fire']('retry');}),_0x3e7b34['bind']('isVisible')['to'](this,'errorType',_0x2a3fc0=>'NotFound'!==_0x2a3fc0);const _0x5c619b=new _0xb99dc3();_0x5c619b['content']=_0x40e095,_0x5c619b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xdd1176=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':[_0x5c619b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xdd1176['to']('errorType',_0x2d8e46=>t('NotFound'!==_0x2d8e46?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e7b34]},{'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 _0x2669fc}from'ckeditor5/src/icons.js';import{ButtonView as _0xd0ad3b,IconView as _0x18e96c,View as _0x1f8a09}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1f8a09{constructor(_0x12f3bd){super(_0x12f3bd);const t=_0x12f3bd['t'];this['set']('errorType',null);const _0x25027a=new _0xd0ad3b(_0x12f3bd);_0x25027a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x25027a['withText']=!0x0,_0x25027a['class']='ck-button-action',_0x25027a['on']('execute',()=>{this['fire']('retry');}),_0x25027a['bind']('isVisible')['to'](this,'errorType',_0x55ff63=>'NotFound'!==_0x55ff63);const _0x452ea7=new _0x18e96c();_0x452ea7['content']=_0x2669fc,_0x452ea7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x500d0c=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':[_0x452ea7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x500d0c['to']('errorType',_0x4ffe63=>t('NotFound'!==_0x4ffe63?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x25027a]},{'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 _0x507650,View as _0x2edb74}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2edb74{constructor(_0x13b44a){super(_0x13b44a);const t=_0x13b44a['t'],_0x357b6d=this['bindTemplate'],_0x26bab3=new _0x507650();_0x26bab3['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':[_0x26bab3,{'text':_0x357b6d['to']('imageUploadProgress',_0x36690f=>t('Loading\x20image...')+'\x20('+(_0x36690f||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 _0x171eea,View as _0x3bd066}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3bd066{constructor(_0x14120e){super(_0x14120e);const t=_0x14120e['t'],_0x4ec36c=this['bindTemplate'],_0xc614ac=new _0x171eea();_0xc614ac['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':[_0xc614ac,{'text':_0x4ec36c['to']('imageUploadProgress',_0x148aa7=>t('Loading\x20image...')+'\x20('+(_0x148aa7||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5905(_0x9dcc85,_0x5e8ed0){const _0x39d013=_0x39d0();return _0x5905=function(_0x590508,_0x206eb3){_0x590508=_0x590508-0x1e6;let _0x540cc1=_0x39d013[_0x590508];return _0x540cc1;},_0x5905(_0x9dcc85,_0x5e8ed0);}const _0x8a775=_0x5905;(function(_0x5c6777,_0x3ff154){const _0x2dbde0=_0x5905,_0x498b12=_0x5c6777();while(!![]){try{const _0x32fc66=-parseInt(_0x2dbde0(0x1f8))/0x1*(-parseInt(_0x2dbde0(0x20e))/0x2)+parseInt(_0x2dbde0(0x1ea))/0x3+-parseInt(_0x2dbde0(0x213))/0x4+-parseInt(_0x2dbde0(0x1f0))/0x5*(parseInt(_0x2dbde0(0x1f2))/0x6)+parseInt(_0x2dbde0(0x216))/0x7+parseInt(_0x2dbde0(0x206))/0x8*(parseInt(_0x2dbde0(0x20a))/0x9)+parseInt(_0x2dbde0(0x202))/0xa*(-parseInt(_0x2dbde0(0x215))/0xb);if(_0x32fc66===_0x3ff154)break;else _0x498b12['push'](_0x498b12['shift']());}catch(_0x3e5e0d){_0x498b12['push'](_0x498b12['shift']());}}}(_0x39d0,0x3e245));import{View as _0x54518e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x7b8862}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x138a95}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x568b77}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x28d3c1}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x39d0(){const _0x321dcf=['_focusableView','add','_waitForImageEditorComponent','6592twcSzO','detail','22xyQCas','2454690uQSFBw','disconnect','ck-reset_all-excluded','apply','querySelector','clear','_items','getFocusableElement','status','addEventListener','_setView','focus','170691Isdkla','_loadingView','uc-cloud-image-editor','createCollection','target','cancel','5Lxviqz','_editingView','2827356IOiGpq','setTemplate','_errorView','filter','observe','ck-uploadcare-form','2474QTtqhK','uploading','set','_addErrorViewListeners','retry','div','nodeName','addMany','_addUploadcareImageEditorListeners','error','474910gKWRvo','once','render','element','3152oXspTU','change:status','addedNodes','ready','4446IUvqEV','length','cdnUrl','toLowerCase','178WQuZMJ','fire'];_0x39d0=function(){return _0x321dcf;};return _0x39d0();}export class UploadcareImageEditFormView extends _0x28d3c1{[_0x8a775(0x21c)];[_0x8a775(0x1eb)];[_0x8a775(0x1f4)];[_0x8a775(0x1f1)];[_0x8a775(0x210)];constructor(_0x50c303,_0x20cac2,_0x53aa8b){const _0x4f2679=_0x8a775;super(_0x50c303),this[_0x4f2679(0x21c)]=this[_0x4f2679(0x1ed)](),this[_0x4f2679(0x1eb)]=new _0x7b8862(_0x50c303),this[_0x4f2679(0x1f4)]=new _0x138a95(_0x50c303),this[_0x4f2679(0x1f1)]=new _0x568b77(_0x50c303,_0x53aa8b),this[_0x4f2679(0x210)]=new _0x54518e(_0x50c303),this[_0x4f2679(0x210)][_0x4f2679(0x1f3)](this[_0x4f2679(0x21d)]()),this[_0x4f2679(0x1fa)](_0x4f2679(0x1e6),_0x20cac2),this[_0x4f2679(0x1f3)]({'tag':_0x4f2679(0x1fd),'attributes':{'class':['ck',_0x4f2679(0x218),_0x4f2679(0x1f7)],'tabindex':'-1'},'children':this[_0x4f2679(0x21c)]}),this[_0x4f2679(0x1e8)](),this[_0x4f2679(0x203)](_0x4f2679(0x204),()=>{const _0x5d9ed5=_0x4f2679;this[_0x5d9ed5(0x212)](this[_0x5d9ed5(0x205)],_0x3135d5=>{const _0x24c9ff=_0x5d9ed5;this[_0x24c9ff(0x200)](_0x3135d5);});}),this['on'](_0x4f2679(0x207),()=>{const _0x415a53=_0x4f2679;this[_0x415a53(0x1e8)]();}),this[_0x4f2679(0x1fb)]();}[_0x8a775(0x1e9)](){const _0x2482d2=_0x8a775;this[_0x2482d2(0x205)][_0x2482d2(0x1e9)]();}[_0x8a775(0x1e8)](){const _0x3c386a=_0x8a775;switch(this[_0x3c386a(0x21c)][_0x3c386a(0x21b)](),this[_0x3c386a(0x1e6)]){case _0x3c386a(0x1f9):this[_0x3c386a(0x21c)][_0x3c386a(0x211)](this[_0x3c386a(0x1eb)]);break;case _0x3c386a(0x201):this[_0x3c386a(0x21c)][_0x3c386a(0x211)](this[_0x3c386a(0x1f4)]);break;case _0x3c386a(0x209):this[_0x3c386a(0x21c)][_0x3c386a(0x1ff)]([this[_0x3c386a(0x1f1)],this[_0x3c386a(0x210)]]);}}[_0x8a775(0x212)](_0x1127c3,_0x3bc464){const _0x3b9601=_0x8a775,_0x45da3e=_0x3b9601(0x1ec),_0x3e2610=_0x1127c3[_0x3b9601(0x21a)](_0x45da3e);if(_0x3e2610)return _0x3bc464(_0x3e2610);const _0x1f6c7a=new MutationObserver(_0x694d00=>{const _0x3cd295=_0x3b9601,_0x20180e=_0x694d00[_0x3cd295(0x1f5)](_0x4e74ee=>_0x4e74ee[_0x3cd295(0x1ee)]===_0x1127c3&&_0x4e74ee[_0x3cd295(0x208)][_0x3cd295(0x20b)]>0x0&&_0x4e74ee[_0x3cd295(0x208)][0x0][_0x3cd295(0x1fe)][_0x3cd295(0x20d)]()===_0x45da3e);_0x20180e[_0x3cd295(0x20b)]&&(_0x1f6c7a[_0x3cd295(0x217)](),_0x3bc464(_0x20180e[0x0][_0x3cd295(0x208)][0x0]));});_0x1f6c7a[_0x3b9601(0x1f6)](_0x1127c3,{'childList':!0x0,'subtree':!0x0});}[_0x8a775(0x200)](_0x2daed9){const _0x41be4c=_0x8a775;_0x2daed9[_0x41be4c(0x1e7)](_0x41be4c(0x219),_0x4cbbc7=>{const _0x3e78d5=_0x41be4c;this[_0x3e78d5(0x20f)](_0x3e78d5(0x219),{'imageSrc':_0x4cbbc7[_0x3e78d5(0x214)][_0x3e78d5(0x20c)]});}),_0x2daed9[_0x41be4c(0x1e7)](_0x41be4c(0x1ef),()=>{const _0x5b9b30=_0x41be4c;this[_0x5b9b30(0x20f)](_0x5b9b30(0x1ef));});}[_0x8a775(0x1fb)](){const _0x40ee2a=_0x8a775;this[_0x40ee2a(0x1f4)]['on'](_0x40ee2a(0x1fc),()=>{const _0x22321a=_0x40ee2a;this[_0x22321a(0x20f)](_0x22321a(0x1fc));});}}
23
+ const _0x50ea65=_0x519b;(function(_0x4a8323,_0x1c27b5){const _0xe3ec4=_0x519b,_0x216cca=_0x4a8323();while(!![]){try{const _0x4c4ec3=-parseInt(_0xe3ec4(0xf4))/0x1+-parseInt(_0xe3ec4(0x108))/0x2*(parseInt(_0xe3ec4(0xe3))/0x3)+-parseInt(_0xe3ec4(0xed))/0x4+parseInt(_0xe3ec4(0xf8))/0x5*(parseInt(_0xe3ec4(0xeb))/0x6)+parseInt(_0xe3ec4(0x10a))/0x7+parseInt(_0xe3ec4(0xee))/0x8*(parseInt(_0xe3ec4(0xe5))/0x9)+-parseInt(_0xe3ec4(0xf6))/0xa*(parseInt(_0xe3ec4(0x107))/0xb);if(_0x4c4ec3===_0x1c27b5)break;else _0x216cca['push'](_0x216cca['shift']());}catch(_0xcf1b69){_0x216cca['push'](_0x216cca['shift']());}}}(_0x40c3,0x96eec));import{View as _0x8ad50c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x200713}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x50ce1d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa7cf92}from'./uploadcareimageeditformeditingview.js';function _0x40c3(){const _0x14327e=['disconnect','addEventListener','render','detail','_items','add','target','ck-uploadcare-form','3MfvLUE','_addErrorViewListeners','3699OCbpCW','set','getFocusableElement','_loadingView','length','toLowerCase','111246jAjXFa','apply','3612260dfPMyU','20784khfTCp','_waitForImageEditorComponent','cdnUrl','clear','ready','uc-cloud-image-editor','81232fskUsq','_focusableView','1525890vaQpNB','querySelector','290wDPGIE','cancel','_setView','div','retry','addedNodes','uploading','once','observe','ck-reset_all-excluded','nodeName','element','error','_editingView','filter','33QNWNJJ','1718950VzXOKK','addMany','5436221evXBCR','createCollection','setTemplate','_addUploadcareImageEditorListeners','status','change:status','_errorView','fire','focus'];_0x40c3=function(){return _0x14327e;};return _0x40c3();}import{DialogFocusManagerView as _0x40e360}from'../../utils/dialogfocusmanagerview.js';function _0x519b(_0x3d362b,_0x4747c8){const _0x40c37f=_0x40c3();return _0x519b=function(_0x519b6e,_0x5e42a8){_0x519b6e=_0x519b6e-0xd9;let _0x59bf88=_0x40c37f[_0x519b6e];return _0x59bf88;},_0x519b(_0x3d362b,_0x4747c8);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x40e360{[_0x50ea65(0xdf)];[_0x50ea65(0xe8)];[_0x50ea65(0x110)];[_0x50ea65(0x105)];[_0x50ea65(0xf5)];constructor(_0x5f0363,_0x19b71e,_0x125746){const _0x1f5a6e=_0x50ea65;super(_0x5f0363),this[_0x1f5a6e(0xdf)]=this[_0x1f5a6e(0x10b)](),this[_0x1f5a6e(0xe8)]=new _0x200713(_0x5f0363),this[_0x1f5a6e(0x110)]=new _0x50ce1d(_0x5f0363),this[_0x1f5a6e(0x105)]=new _0xa7cf92(_0x5f0363,_0x125746),this[_0x1f5a6e(0xf5)]=new _0x8ad50c(_0x5f0363),this[_0x1f5a6e(0xf5)][_0x1f5a6e(0x10c)](this[_0x1f5a6e(0xe7)]()),this[_0x1f5a6e(0xe6)](_0x1f5a6e(0x10e),_0x19b71e),this[_0x1f5a6e(0x10c)]({'tag':_0x1f5a6e(0xfb),'attributes':{'class':['ck',_0x1f5a6e(0x101),_0x1f5a6e(0xe2)],'tabindex':'-1'},'children':this[_0x1f5a6e(0xdf)]}),this[_0x1f5a6e(0xfa)](),this[_0x1f5a6e(0xff)](_0x1f5a6e(0xdd),()=>{const _0x1c06a0=_0x1f5a6e;this[_0x1c06a0(0xef)](this[_0x1c06a0(0x103)],_0x46589a=>{const _0x3ee4fe=_0x1c06a0;this[_0x3ee4fe(0x10d)](_0x46589a);});}),this['on'](_0x1f5a6e(0x10f),()=>{const _0x4fc1c9=_0x1f5a6e;this[_0x4fc1c9(0xfa)]();}),this[_0x1f5a6e(0xe4)]();}[_0x50ea65(0xda)](){const _0x12f47a=_0x50ea65;this[_0x12f47a(0x103)][_0x12f47a(0xda)]();}[_0x50ea65(0xfa)](){const _0x5513e9=_0x50ea65;switch(this[_0x5513e9(0xdf)][_0x5513e9(0xf1)](),this[_0x5513e9(0x10e)]){case _0x5513e9(0xfe):this[_0x5513e9(0xdf)][_0x5513e9(0xe0)](this[_0x5513e9(0xe8)]);break;case _0x5513e9(0x104):this[_0x5513e9(0xdf)][_0x5513e9(0xe0)](this[_0x5513e9(0x110)]);break;case _0x5513e9(0xf2):this[_0x5513e9(0xdf)][_0x5513e9(0x109)]([this[_0x5513e9(0x105)],this[_0x5513e9(0xf5)]]);}}[_0x50ea65(0xef)](_0x3231ed,_0x2a257a){const _0x249ed8=_0x50ea65,_0x57cbc8=_0x249ed8(0xf3),_0x349b45=_0x3231ed[_0x249ed8(0xf7)](_0x57cbc8);if(_0x349b45)return _0x2a257a(_0x349b45);const _0x34ae17=new MutationObserver(_0x63c898=>{const _0x3438a6=_0x249ed8,_0x4e6adb=_0x63c898[_0x3438a6(0x106)](_0x15da64=>_0x15da64[_0x3438a6(0xe1)]===_0x3231ed&&_0x15da64[_0x3438a6(0xfd)][_0x3438a6(0xe9)]>0x0&&_0x15da64[_0x3438a6(0xfd)][0x0][_0x3438a6(0x102)][_0x3438a6(0xea)]()===_0x57cbc8);_0x4e6adb[_0x3438a6(0xe9)]&&(_0x34ae17[_0x3438a6(0xdb)](),_0x2a257a(_0x4e6adb[0x0][_0x3438a6(0xfd)][0x0]));});_0x34ae17[_0x249ed8(0x100)](_0x3231ed,{'childList':!0x0,'subtree':!0x0});}[_0x50ea65(0x10d)](_0x3ecb9b){const _0x2d2c78=_0x50ea65;_0x3ecb9b[_0x2d2c78(0xdc)](_0x2d2c78(0xec),_0x528efb=>{const _0xecf23d=_0x2d2c78;this[_0xecf23d(0xd9)](_0xecf23d(0xec),{'imageSrc':_0x528efb[_0xecf23d(0xde)][_0xecf23d(0xf0)]});}),_0x3ecb9b[_0x2d2c78(0xdc)](_0x2d2c78(0xf9),()=>{const _0x582efc=_0x2d2c78;this[_0x582efc(0xd9)](_0x582efc(0xf9));});}[_0x50ea65(0xe4)](){const _0x188a00=_0x50ea65;this[_0x188a00(0x110)]['on'](_0x188a00(0xfc),()=>{const _0x1c6990=_0x188a00;this[_0x1c6990(0xd9)](_0x1c6990(0xfc));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x236cc3=_0x2272;(function(_0xab4591,_0x33094d){const _0x5f3583=_0x2272,_0x32943f=_0xab4591();while(!![]){try{const _0x1fcaa0=parseInt(_0x5f3583(0xfa))/0x1*(parseInt(_0x5f3583(0xe2))/0x2)+-parseInt(_0x5f3583(0xe7))/0x3*(-parseInt(_0x5f3583(0xf7))/0x4)+parseInt(_0x5f3583(0xe9))/0x5+parseInt(_0x5f3583(0xe0))/0x6+-parseInt(_0x5f3583(0xde))/0x7*(-parseInt(_0x5f3583(0xe8))/0x8)+parseInt(_0x5f3583(0xe1))/0x9+-parseInt(_0x5f3583(0xe3))/0xa;if(_0x1fcaa0===_0x33094d)break;else _0x32943f['push'](_0x32943f['shift']());}catch(_0x3207bc){_0x32943f['push'](_0x32943f['shift']());}}}(_0x11fe,0xee92f));function _0x11fe(){const _0xe2541a=['plugins','requires','bind','isActive','getSelectedElement','document','editor','execute','config','6032840urXJvo','isEnabled','refresh','23jYaNDk','unbind','set','element','1021426lqbJrf','selection','5329002WDtooE','6877476wPyLbG','166902MUflyC','57288390UBetcI','imageBlock','_isEditable','imageInline','3knsFwu','8paIqGU','7401030avkoJM','uploadcare.allowExternalImagesEditing','get','imageEditController','model'];_0x11fe=function(){return _0xe2541a;};return _0x11fe();}function _0x2272(_0x438fb8,_0x4deb0c){const _0x11fe06=_0x11fe();return _0x2272=function(_0x2272c1,_0x420dec){_0x2272c1=_0x2272c1-0xde;let _0x610d8c=_0x11fe06[_0x2272c1];return _0x610d8c;},_0x2272(_0x438fb8,_0x4deb0c);}import{Command as _0x8e1aa}from'ckeditor5/src/core.js';import{Dialog as _0x1f6547}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x222585}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3469c9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x8e1aa{[_0x236cc3(0xec)];static get[_0x236cc3(0xef)](){return[_0x1f6547];}[_0x236cc3(0xe5)];constructor(_0x354545){const _0x4d93c1=_0x236cc3;super(_0x354545),this[_0x4d93c1(0xec)]=void 0x0,this[_0x4d93c1(0xe5)]=_0x3469c9(_0x354545[_0x4d93c1(0xf6)][_0x4d93c1(0xeb)](_0x4d93c1(0xea))||[]),this[_0x4d93c1(0xfc)]({'isActive':!0x1});}[_0x236cc3(0xf9)](){const _0x3208b6=_0x236cc3,_0x57bf1d=this[_0x3208b6(0xf4)][_0x3208b6(0xed)][_0x3208b6(0xf3)][_0x3208b6(0xdf)][_0x3208b6(0xf2)]();this[_0x3208b6(0xf8)]=this[_0x3208b6(0xe5)](_0x57bf1d);}[_0x236cc3(0xf5)](){const _0x992b47=_0x236cc3;this[_0x992b47(0xec)]&&(this[_0x992b47(0xfb)](_0x992b47(0xf1)),this[_0x992b47(0xec)]=void 0x0);const _0x6406d2=this[_0x992b47(0xf4)][_0x992b47(0xed)][_0x992b47(0xf3)][_0x992b47(0xdf)][_0x992b47(0xf2)]();_0x6406d2&&(_0x6406d2['is'](_0x992b47(0xfd),_0x992b47(0xe4))||_0x6406d2['is'](_0x992b47(0xfd),_0x992b47(0xe6)))&&(this[_0x992b47(0xec)]=new _0x222585(this[_0x992b47(0xf4)],this[_0x992b47(0xf4)][_0x992b47(0xee)][_0x992b47(0xeb)](_0x1f6547),_0x6406d2),this[_0x992b47(0xf0)](_0x992b47(0xf1))['to'](this[_0x992b47(0xec)],_0x992b47(0xf1)));}}
23
+ const _0x40c013=_0x1939;function _0x1267(){const _0x52acc4=['3372195BBBzMx','refresh','7160535zWzvvt','7300161CZoqNr','23181fUPveW','bind','execute','element','uploadcare.allowExternalImagesEditing','6UpKKiJ','19198ycQDri','28VfqbuS','_isEditable','config','imageEditController','isActive','imageBlock','564pTyjsm','get','model','document','imageInline','editor','plugins','457008ddOLUr','83fwZXQs','unbind','isEnabled','set','7612590IrXWlv','requires','getSelectedElement','selection'];_0x1267=function(){return _0x52acc4;};return _0x1267();}(function(_0x3cdc6b,_0x5d87f8){const _0x1262f6=_0x1939,_0x1670a4=_0x3cdc6b();while(!![]){try{const _0x52909b=parseInt(_0x1262f6(0xb7))/0x1*(-parseInt(_0x1262f6(0xc9))/0x2)+-parseInt(_0x1262f6(0xc3))/0x3*(-parseInt(_0x1262f6(0xaf))/0x4)+parseInt(_0x1262f6(0xbf))/0x5*(-parseInt(_0x1262f6(0xc8))/0x6)+parseInt(_0x1262f6(0xca))/0x7*(parseInt(_0x1262f6(0xb6))/0x8)+parseInt(_0x1262f6(0xc1))/0x9+-parseInt(_0x1262f6(0xbb))/0xa+parseInt(_0x1262f6(0xc2))/0xb;if(_0x52909b===_0x5d87f8)break;else _0x1670a4['push'](_0x1670a4['shift']());}catch(_0x43d1d8){_0x1670a4['push'](_0x1670a4['shift']());}}}(_0x1267,0x8505e));function _0x1939(_0x294929,_0x369413){const _0x1267b3=_0x1267();return _0x1939=function(_0x1939e6,_0xd8ae5a){_0x1939e6=_0x1939e6-0xac;let _0x32396f=_0x1267b3[_0x1939e6];return _0x32396f;},_0x1939(_0x294929,_0x369413);}import{Command as _0x5b8cd0}from'ckeditor5/src/core.js';import{Dialog as _0x4dc15a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x475e75}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3d260a}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5b8cd0{[_0x40c013(0xac)];static get[_0x40c013(0xbc)](){return[_0x4dc15a];}[_0x40c013(0xcb)];constructor(_0x3acca2){const _0x378ea6=_0x40c013;super(_0x3acca2),this[_0x378ea6(0xac)]=void 0x0,this[_0x378ea6(0xcb)]=_0x3d260a(_0x3acca2[_0x378ea6(0xcc)][_0x378ea6(0xb0)](_0x378ea6(0xc7))||[]),this[_0x378ea6(0xba)]({'isActive':!0x1});}[_0x40c013(0xc0)](){const _0x2254d6=_0x40c013,_0xce0678=this[_0x2254d6(0xb4)][_0x2254d6(0xb1)][_0x2254d6(0xb2)][_0x2254d6(0xbe)][_0x2254d6(0xbd)]();this[_0x2254d6(0xb9)]=this[_0x2254d6(0xcb)](_0xce0678);}[_0x40c013(0xc5)](){const _0x5db58f=_0x40c013;this[_0x5db58f(0xac)]&&(this[_0x5db58f(0xb8)](_0x5db58f(0xad)),this[_0x5db58f(0xac)]=void 0x0);const _0x42d406=this[_0x5db58f(0xb4)][_0x5db58f(0xb1)][_0x5db58f(0xb2)][_0x5db58f(0xbe)][_0x5db58f(0xbd)]();_0x42d406&&(_0x42d406['is'](_0x5db58f(0xc6),_0x5db58f(0xae))||_0x42d406['is'](_0x5db58f(0xc6),_0x5db58f(0xb3)))&&(this[_0x5db58f(0xac)]=new _0x475e75(this[_0x5db58f(0xb4)],this[_0x5db58f(0xb4)][_0x5db58f(0xb5)][_0x5db58f(0xb0)](_0x4dc15a),_0x42d406),this[_0x5db58f(0xc4)](_0x5db58f(0xad))['to'](this[_0x5db58f(0xac)],_0x5db58f(0xad)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x136ffb=_0x4bee;function _0x4227(){const _0x42a2e0=['requires','2978692IMEtLH','uploadcareImageEdit','commands','5lBhKHV','2663121NzhxEJ','UploadcareImageEditEditing','add','10FlHIji','isPremiumPlugin','2946csuQfB','ImageEditing','146140XSVvKC','ImageUtils','pluginName','isOfficialPlugin','10VpJRjO','13504368GgOiSJ','8827VTvUDw','4606101sxflAn','init','37971824ULDdUJ','uploadcareImageReplace'];_0x4227=function(){return _0x42a2e0;};return _0x4227();}function _0x4bee(_0xd2277,_0x53fa33){const _0x422723=_0x4227();return _0x4bee=function(_0x4bee70,_0x38f529){_0x4bee70=_0x4bee70-0xba;let _0xeb987b=_0x422723[_0x4bee70];return _0xeb987b;},_0x4bee(_0xd2277,_0x53fa33);}(function(_0x2a1bae,_0x5825cd){const _0x3d2109=_0x4bee,_0x137925=_0x2a1bae();while(!![]){try{const _0x2d66e9=parseInt(_0x3d2109(0xc6))/0x1*(-parseInt(_0x3d2109(0xce))/0x2)+parseInt(_0x3d2109(0xc7))/0x3+parseInt(_0x3d2109(0xc3))/0x4*(-parseInt(_0x3d2109(0xca))/0x5)+-parseInt(_0x3d2109(0xcc))/0x6*(-parseInt(_0x3d2109(0xbd))/0x7)+-parseInt(_0x3d2109(0xbc))/0x8+-parseInt(_0x3d2109(0xbe))/0x9*(parseInt(_0x3d2109(0xbb))/0xa)+parseInt(_0x3d2109(0xc0))/0xb;if(_0x2d66e9===_0x5825cd)break;else _0x137925['push'](_0x137925['shift']());}catch(_0x3bc409){_0x137925['push'](_0x137925['shift']());}}}(_0x4227,0xdcc77));import{Plugin as _0x2143b7}from'ckeditor5/src/core.js';import{Notification as _0x2e8948}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x157d54}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x285414}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2421cc}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2143b7{static get[_0x136ffb(0xd0)](){const _0x14866d=_0x136ffb;return _0x14866d(0xc8);}static get[_0x136ffb(0xc2)](){const _0xa334c2=_0x136ffb;return[_0x2421cc,_0x2e8948,_0xa334c2(0xcf),_0xa334c2(0xcd)];}static get[_0x136ffb(0xba)](){return!0x0;}static get[_0x136ffb(0xcb)](){return!0x0;}[_0x136ffb(0xbf)](){const _0x3ffba9=_0x136ffb,{editor:_0xf93c59}=this;_0xf93c59[_0x3ffba9(0xc5)][_0x3ffba9(0xc9)](_0x3ffba9(0xc4),new _0x157d54(_0xf93c59)),_0xf93c59[_0x3ffba9(0xc5)][_0x3ffba9(0xc9)](_0x3ffba9(0xc1),new _0x285414(_0xf93c59));}}
23
+ const _0x4a3ecb=_0x1856;(function(_0x1dc7de,_0x204ffb){const _0x2e97bb=_0x1856,_0x3f87f2=_0x1dc7de();while(!![]){try{const _0x5af618=parseInt(_0x2e97bb(0x193))/0x1+-parseInt(_0x2e97bb(0x19c))/0x2*(-parseInt(_0x2e97bb(0x190))/0x3)+parseInt(_0x2e97bb(0x195))/0x4*(parseInt(_0x2e97bb(0x19b))/0x5)+-parseInt(_0x2e97bb(0x198))/0x6+-parseInt(_0x2e97bb(0x192))/0x7*(parseInt(_0x2e97bb(0x196))/0x8)+parseInt(_0x2e97bb(0x19f))/0x9*(-parseInt(_0x2e97bb(0x1a5))/0xa)+parseInt(_0x2e97bb(0x1a2))/0xb*(-parseInt(_0x2e97bb(0x1a4))/0xc);if(_0x5af618===_0x204ffb)break;else _0x3f87f2['push'](_0x3f87f2['shift']());}catch(_0xb719d3){_0x3f87f2['push'](_0x3f87f2['shift']());}}}(_0x35f3,0x72810));function _0x1856(_0x863dc,_0xe8c296){const _0x35f3cb=_0x35f3();return _0x1856=function(_0x185662,_0x4c657a){_0x185662=_0x185662-0x190;let _0x12a188=_0x35f3cb[_0x185662];return _0x12a188;},_0x1856(_0x863dc,_0xe8c296);}import{Plugin as _0x372ef9}from'ckeditor5/src/core.js';import{Notification as _0x199cca}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x178d2e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2f84b2}from'./uploadcareimagereplacecommand.js';function _0x35f3(){const _0x59cf83=['8CcJCYH','344SYtdno','uploadcareImageEdit','3658884vvfYZX','init','isPremiumPlugin','1610745Nifehz','4WAxSPG','ImageEditing','add','3274785xbaPtw','uploadcareImageReplace','UploadcareImageEditEditing','2046539LoVXCw','isOfficialPlugin','12jmuCcb','10lyjFRw','requires','pluginName','842244tBFhNz','commands','70511nVnAmh','856081AYnUGk','ImageUtils'];_0x35f3=function(){return _0x59cf83;};return _0x35f3();}import{UploadcareEditing as _0x49d560}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x372ef9{static get[_0x4a3ecb(0x1a7)](){const _0x4db53b=_0x4a3ecb;return _0x4db53b(0x1a1);}static get[_0x4a3ecb(0x1a6)](){const _0x57f5f0=_0x4a3ecb;return[_0x49d560,_0x199cca,_0x57f5f0(0x194),_0x57f5f0(0x19d)];}static get[_0x4a3ecb(0x1a3)](){return!0x0;}static get[_0x4a3ecb(0x19a)](){return!0x0;}[_0x4a3ecb(0x199)](){const _0x29f9a1=_0x4a3ecb,{editor:_0x1d597b}=this;_0x1d597b[_0x29f9a1(0x191)][_0x29f9a1(0x19e)](_0x29f9a1(0x197),new _0x178d2e(_0x1d597b)),_0x1d597b[_0x29f9a1(0x191)][_0x29f9a1(0x19e)](_0x29f9a1(0x1a0),new _0x2f84b2(_0x1d597b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a0097}from'ckeditor5/src/core.js';import{ButtonView as _0x1b525d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2a0afc}from'ckeditor5/src/icons.js';import{createElement as _0x971c0e}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 _0x5a0097{['_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 _0x5a298c=this['editor'];_0x5a298c['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa4047a=>{const _0x5d1963=_0x5a298c['commands']['get']('uploadcareImageEdit'),_0x10b7b7=new _0x1b525d(_0xa4047a),t=_0xa4047a['t'];return _0x10b7b7['set']({'icon':_0x2a0afc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x10b7b7['bind']('isEnabled')['to'](_0x5d1963),_0x10b7b7['bind']('isOn')['to'](_0x5d1963,'isActive'),this['listenTo'](_0x10b7b7,'execute',()=>{_0x5a298c['execute']('uploadcareImageEdit'),_0x5a298c['editing']['view']['focus']();}),_0x10b7b7;}),this['_initConfig']();}['_initConfig'](){const _0x131806=_0x971c0e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x131806),this['listenTo'](this['editor'],'destroy',()=>{_0x131806['remove']();});}}
23
+ import{Plugin as _0x4d7921}from'ckeditor5/src/core.js';import{ButtonView as _0x391e25}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2f3b02}from'ckeditor5/src/icons.js';import{createElement as _0x46dca0}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 _0x4d7921{['_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 _0x24808b=this['editor'];_0x24808b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4b55bb=>{const _0x2eedeb=_0x24808b['commands']['get']('uploadcareImageEdit'),_0x332268=new _0x391e25(_0x4b55bb),t=_0x4b55bb['t'];return _0x332268['set']({'icon':_0x2f3b02,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x332268['bind']('isEnabled')['to'](_0x2eedeb),_0x332268['bind']('isOn')['to'](_0x2eedeb,'isActive'),this['listenTo'](_0x332268,'execute',()=>{_0x24808b['execute']('uploadcareImageEdit'),_0x24808b['editing']['view']['focus']();}),_0x332268;}),this['_initConfig']();}['_initConfig'](){const _0x3c4beb=_0x46dca0(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c4beb),this['listenTo'](this['editor'],'destroy',()=>{_0x3c4beb['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56f86c=_0x3bf0;function _0x22bf(){const _0x19f52f=['1384741wvOmju','sizes','55372vxdsOn','7048657JuFgGv','getSelectedElement','imageInline','2405798RLALkc','srcset','document','model','imageBlock','element','change','isEnabled','removeAttribute','994641dCOYXi','430nqYmZC','38557504Evepxb','selection','setAttributes','editor','execute','refresh','8123436iVaUcL'];_0x22bf=function(){return _0x19f52f;};return _0x22bf();}function _0x3bf0(_0x1a955d,_0x476301){const _0x22bf87=_0x22bf();return _0x3bf0=function(_0x3bf08b,_0x3f90cc){_0x3bf08b=_0x3bf08b-0x174;let _0x4cc655=_0x22bf87[_0x3bf08b];return _0x4cc655;},_0x3bf0(_0x1a955d,_0x476301);}(function(_0x5a82da,_0x22526c){const _0x22a147=_0x3bf0,_0x1e0bce=_0x5a82da();while(!![]){try{const _0xec2d85=parseInt(_0x22a147(0x174))/0x1+parseInt(_0x22a147(0x17a))/0x2+-parseInt(_0x22a147(0x183))/0x3+parseInt(_0x22a147(0x176))/0x4*(parseInt(_0x22a147(0x184))/0x5)+parseInt(_0x22a147(0x18b))/0x6+parseInt(_0x22a147(0x177))/0x7+-parseInt(_0x22a147(0x185))/0x8;if(_0xec2d85===_0x22526c)break;else _0x1e0bce['push'](_0x1e0bce['shift']());}catch(_0x3f3724){_0x1e0bce['push'](_0x1e0bce['shift']());}}}(_0x22bf,0xf1270));import{Command as _0x396087}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x396087{[_0x56f86c(0x18a)](){const _0x2826fe=_0x56f86c,_0x51dffa=this[_0x2826fe(0x188)][_0x2826fe(0x17d)][_0x2826fe(0x17c)][_0x2826fe(0x186)][_0x2826fe(0x178)]();this[_0x2826fe(0x181)]=Boolean(_0x51dffa&&(_0x51dffa['is'](_0x2826fe(0x17f),_0x2826fe(0x17e))||_0x51dffa['is'](_0x2826fe(0x17f),_0x2826fe(0x179))));}[_0x56f86c(0x189)](_0x831bc1){const _0x6d8a92=_0x56f86c,_0x3c711b=this[_0x6d8a92(0x188)][_0x6d8a92(0x17d)][_0x6d8a92(0x17c)][_0x6d8a92(0x186)][_0x6d8a92(0x178)]();this[_0x6d8a92(0x188)][_0x6d8a92(0x17d)][_0x6d8a92(0x180)](_0x2aa228=>{const _0x41942e=_0x6d8a92;_0x2aa228[_0x41942e(0x187)](_0x831bc1,_0x3c711b),_0x2aa228[_0x41942e(0x182)](_0x41942e(0x17b),_0x3c711b),_0x2aa228[_0x41942e(0x182)](_0x41942e(0x175),_0x3c711b);});}}
23
+ function _0x3720(_0x5e747e,_0x4aa562){const _0x18b9ae=_0x18b9();return _0x3720=function(_0x3720c7,_0x52fb75){_0x3720c7=_0x3720c7-0x68;let _0x5e7667=_0x18b9ae[_0x3720c7];return _0x5e7667;},_0x3720(_0x5e747e,_0x4aa562);}const _0x107894=_0x3720;(function(_0x26bf8a,_0x21aa4b){const _0x1a7a35=_0x3720,_0x27c45c=_0x26bf8a();while(!![]){try{const _0x122778=-parseInt(_0x1a7a35(0x7d))/0x1*(-parseInt(_0x1a7a35(0x7a))/0x2)+parseInt(_0x1a7a35(0x6d))/0x3+parseInt(_0x1a7a35(0x82))/0x4+-parseInt(_0x1a7a35(0x70))/0x5*(parseInt(_0x1a7a35(0x72))/0x6)+parseInt(_0x1a7a35(0x80))/0x7*(parseInt(_0x1a7a35(0x6c))/0x8)+-parseInt(_0x1a7a35(0x6e))/0x9*(-parseInt(_0x1a7a35(0x7b))/0xa)+-parseInt(_0x1a7a35(0x7e))/0xb;if(_0x122778===_0x21aa4b)break;else _0x27c45c['push'](_0x27c45c['shift']());}catch(_0x439d1c){_0x27c45c['push'](_0x27c45c['shift']());}}}(_0x18b9,0x249a8));import{Command as _0x2db2f0}from'ckeditor5/src/core.js';function _0x18b9(){const _0x1bb304=['imageInline','196645JcUPfK','isEnabled','30SwqrwP','refresh','imageBlock','setAttributes','getSelectedElement','change','srcset','execute','253828vzEGfi','10nLiWTw','element','1SAMBFI','4929430PBilhT','editor','511RQVokN','removeAttribute','1057620vEKNna','document','selection','model','sizes','3208urSwed','276420hhMvVN','2537739FizpOK'];_0x18b9=function(){return _0x1bb304;};return _0x18b9();}export class UploadcareImageReplaceCommand extends _0x2db2f0{[_0x107894(0x73)](){const _0x5b45e7=_0x107894,_0x3f53b0=this[_0x5b45e7(0x7f)][_0x5b45e7(0x6a)][_0x5b45e7(0x68)][_0x5b45e7(0x69)][_0x5b45e7(0x76)]();this[_0x5b45e7(0x71)]=Boolean(_0x3f53b0&&(_0x3f53b0['is'](_0x5b45e7(0x7c),_0x5b45e7(0x74))||_0x3f53b0['is'](_0x5b45e7(0x7c),_0x5b45e7(0x6f))));}[_0x107894(0x79)](_0x281aa1){const _0x296dfc=_0x107894,_0x2745b5=this[_0x296dfc(0x7f)][_0x296dfc(0x6a)][_0x296dfc(0x68)][_0x296dfc(0x69)][_0x296dfc(0x76)]();this[_0x296dfc(0x7f)][_0x296dfc(0x6a)][_0x296dfc(0x77)](_0x4227bc=>{const _0x1b1827=_0x296dfc;_0x4227bc[_0x1b1827(0x75)](_0x281aa1,_0x2745b5),_0x4227bc[_0x1b1827(0x81)](_0x1b1827(0x78),_0x2745b5),_0x4227bc[_0x1b1827(0x81)](_0x1b1827(0x6b),_0x2745b5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c897c=_0x3e2a;(function(_0x235f9b,_0x5f1195){var _0x3a9864=_0x3e2a,_0x5dcf2a=_0x235f9b();while(!![]){try{var _0x258f5e=parseInt(_0x3a9864(0xfb))/0x1+-parseInt(_0x3a9864(0xfe))/0x2*(parseInt(_0x3a9864(0xf5))/0x3)+-parseInt(_0x3a9864(0xfd))/0x4*(parseInt(_0x3a9864(0xf6))/0x5)+-parseInt(_0x3a9864(0xf9))/0x6+-parseInt(_0x3a9864(0xf4))/0x7*(parseInt(_0x3a9864(0xf8))/0x8)+-parseInt(_0x3a9864(0xf1))/0x9+parseInt(_0x3a9864(0xfc))/0xa;if(_0x258f5e===_0x5f1195)break;else _0x5dcf2a['push'](_0x5dcf2a['shift']());}catch(_0xeca571){_0x5dcf2a['push'](_0x5dcf2a['shift']());}}}(_0x1d01,0x29c1d));import{Plugin as _0x1600bf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x15ec12}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x25cd8a}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1d01(){var _0x573528=['requires','40wHTtSx','541578uYsxvh','UploadcareImageEdit','172712ypNrte','5658930OfzCZM','236zdihrh','2Niaxjm','isPremiumPlugin','1262340whlAdJ','pluginName','isOfficialPlugin','651FTEIHI','332007rmQUUD','19145HBwtQP'];_0x1d01=function(){return _0x573528;};return _0x1d01();}function _0x3e2a(_0x9ceca6,_0x565c54){var _0x1d011f=_0x1d01();return _0x3e2a=function(_0x3e2a37,_0x468bad){_0x3e2a37=_0x3e2a37-0xf1;var _0x12b18e=_0x1d011f[_0x3e2a37];return _0x12b18e;},_0x3e2a(_0x9ceca6,_0x565c54);}export class UploadcareImageEdit extends _0x1600bf{static get[_0x3c897c(0xf2)](){var _0x513c86=_0x3c897c;return _0x513c86(0xfa);}static get[_0x3c897c(0xf7)](){return[_0x15ec12,_0x25cd8a];}static get[_0x3c897c(0xf3)](){return!0x0;}static get[_0x3c897c(0xff)](){return!0x0;}}
23
+ function _0x2066(){var _0x16b933=['6427476iyxBLl','7632QqVuBL','72894NiNURf','8NcmfYv','5GWyGxr','780037UCKDLY','requires','12034OaMcuY','1708stGmWT','7272jJxgNI','747532DTsgaB','pluginName','isPremiumPlugin','494870TssmPu','isOfficialPlugin','UploadcareImageEdit','66HoIYsy'];_0x2066=function(){return _0x16b933;};return _0x2066();}var _0x55d774=_0x4584;(function(_0x16f4b2,_0x4a7144){var _0x296f3e=_0x4584,_0x5ced80=_0x16f4b2();while(!![]){try{var _0xa17f18=-parseInt(_0x296f3e(0x1a4))/0x1+parseInt(_0x296f3e(0x19e))/0x2*(parseInt(_0x296f3e(0x1a1))/0x3)+-parseInt(_0x296f3e(0x198))/0x4*(-parseInt(_0x296f3e(0x1a3))/0x5)+parseInt(_0x296f3e(0x1a0))/0x6*(parseInt(_0x296f3e(0x196))/0x7)+parseInt(_0x296f3e(0x1a2))/0x8*(-parseInt(_0x296f3e(0x19f))/0x9)+parseInt(_0x296f3e(0x19b))/0xa+-parseInt(_0x296f3e(0x195))/0xb*(-parseInt(_0x296f3e(0x197))/0xc);if(_0xa17f18===_0x4a7144)break;else _0x5ced80['push'](_0x5ced80['shift']());}catch(_0x56e148){_0x5ced80['push'](_0x5ced80['shift']());}}}(_0x2066,0x7e4d7));function _0x4584(_0x1a2c33,_0x11054c){var _0x206610=_0x2066();return _0x4584=function(_0x45844c,_0x422f76){_0x45844c=_0x45844c-0x195;var _0x4c2e78=_0x206610[_0x45844c];return _0x4c2e78;},_0x4584(_0x1a2c33,_0x11054c);}import{Plugin as _0x200c32}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1b24c5}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x68d48f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x200c32{static get[_0x55d774(0x199)](){var _0x222dea=_0x55d774;return _0x222dea(0x19d);}static get[_0x55d774(0x1a5)](){return[_0x1b24c5,_0x68d48f];}static get[_0x55d774(0x19c)](){return!0x0;}static get[_0x55d774(0x19a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf2ae47=_0x5c1e;(function(_0x287708,_0x286389){const _0x24fc5b=_0x5c1e,_0x715f52=_0x287708();while(!![]){try{const _0x5d57da=parseInt(_0x24fc5b(0xeb))/0x1*(-parseInt(_0x24fc5b(0xd6))/0x2)+-parseInt(_0x24fc5b(0xe4))/0x3+parseInt(_0x24fc5b(0xde))/0x4+parseInt(_0x24fc5b(0xda))/0x5+-parseInt(_0x24fc5b(0xa5))/0x6*(-parseInt(_0x24fc5b(0xad))/0x7)+-parseInt(_0x24fc5b(0xca))/0x8*(parseInt(_0x24fc5b(0xcf))/0x9)+-parseInt(_0x24fc5b(0xc4))/0xa;if(_0x5d57da===_0x286389)break;else _0x715f52['push'](_0x715f52['shift']());}catch(_0x52ec12){_0x715f52['push'](_0x715f52['shift']());}}}(_0x181f,0xb3fa3));import{Plugin as _0x5bad85}from'ckeditor5/src/core.js';import{IconDropbox as _0x491613,IconFacebook as _0x377c84,IconGoogleDrive as _0x1c5ed6,IconGooglePhotos as _0x1cae65,IconUploadcareImageUpload as _0x1c592c,IconUploadcareLink as _0x237373,IconOneDrive as _0x4ba21d}from'ckeditor5/src/icons.js';import{ButtonView as _0x323f82,MenuBarMenuListItemButtonView as _0x29466c}from'ckeditor5/src/ui.js';function _0x181f(){const _0x2e4d85=['uploadcareLicenseKeyTrialLimit','featureNotAllowed','licenseKey','config','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyValid','afterInit','uploadcare','expired','uploadcare.uploader.sourceList','Facebook','trialLimit','withText','commands','bind','tooltip','map','upload','Local','label','752410TLBTxs','reduce','entries','assetManager','uploadcareLicenseKeyInvalid','_createToolbarButton','272koQCHB','pluginName','Dropbox','Insert','get','78183zeqOJx','GPhotos','execute','uploadcareLicenseKeyExpired','usageLimit','locale','isPremiumPlugin','94sSfDVT','forEach','_createMenuBarButtons','registerIntegration','5448375WVvqTz','isEnabled','UploadcareUI','_createDropdownButtons','1780948CfNDJj','init','url','plugins','GDrive','invalid','2888151zDFNAg','editor','ImageInsertUI','shortText','_createButton','_getIntegrationKey','isImageSelected','17839eBfwye','uploadcareLicenseKeyNotAllowed','evaluationLimit','OneDrive','Uploadcare','icon','domainLimit','isOfficialPlugin','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','18kYqJgS','Replace','text','push','uploadcareLicenseKeyDomainLimit','type','URL','destroy','3206056eYJTZl','_showLicenseError','has'];_0x181f=function(){return _0x2e4d85;};return _0x181f();}import{UploadcareSource as _0x2f1e80}from'./uploadcareconfig.js';import{getTranslation as _0x1db36e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x5c1e(_0x195c71,_0x19d139){const _0x181fd7=_0x181f();return _0x5c1e=function(_0x5c1ed4,_0xd319f9){_0x5c1ed4=_0x5c1ed4-0x9d;let _0x352731=_0x181fd7[_0x5c1ed4];return _0x352731;},_0x5c1e(_0x195c71,_0x19d139);}export class UploadcareUI extends _0x5bad85{[_0xf2ae47(0xb2)];[_0xf2ae47(0xa2)];static get[_0xf2ae47(0xcb)](){const _0x4ed3d5=_0xf2ae47;return _0x4ed3d5(0xdc);}static get[_0xf2ae47(0xa1)](){return!0x0;}static get[_0xf2ae47(0xd5)](){return!0x0;}[_0xf2ae47(0xdf)](){const _0x102c51=_0xf2ae47;this[_0x102c51(0xb2)]=this[_0x102c51(0xe5)][_0x102c51(0xb3)][_0x102c51(0xce)](_0x102c51(0xb2));const _0x2c0308=this[_0x102c51(0xe5)];this[_0x102c51(0xa2)]=setInterval(()=>{const _0xf2609d=_0x102c51;let _0x194fd6;for(const _0x275fa7 in _0x2c0308){const _0x23660f=_0x275fa7,_0x5a6705=_0x2c0308[_0x23660f];if(_0xf2609d(0xb5)==_0x5a6705||_0xf2609d(0xc8)==_0x5a6705||_0xf2609d(0xd2)==_0x5a6705||_0xf2609d(0xa9)==_0x5a6705||_0xf2609d(0xec)==_0x5a6705||_0xf2609d(0xb4)==_0x5a6705||_0xf2609d(0xb0)==_0x5a6705||_0xf2609d(0xa3)==_0x5a6705){delete _0x2c0308[_0x23660f],_0x194fd6=_0x5a6705,clearInterval(this[_0xf2609d(0xa2)]),this[_0xf2609d(0xa2)]=void 0x0;break;}}_0xf2609d(0xc8)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xe3)),_0xf2609d(0xd2)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xb8)),_0xf2609d(0xa9)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xa0)),_0xf2609d(0xec)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xb1),_0xf2609d(0x9e)),_0xf2609d(0xb4)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xed)),_0xf2609d(0xb0)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xbb)),_0xf2609d(0xa3)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xd3));},0x3e8);}[_0xf2ae47(0xb6)](){const _0x559afc=_0xf2ae47,{editor:_0x460eea}=this,_0x28f04f=_0x460eea[_0x559afc(0xbd)][_0x559afc(0xce)](_0x559afc(0xb7));if(!_0x28f04f)return;const _0x479da2=this[_0x559afc(0xa4)](_0x460eea[_0x559afc(0xb3)][_0x559afc(0xce)](_0x559afc(0xb9)))[_0x559afc(0xc5)]((_0x4d1e06,_0x2115a0)=>{const _0x3082e9=_0x559afc,_0x46399f=this[_0x3082e9(0xe9)](_0x2115a0[_0x3082e9(0xaa)]);return _0x4d1e06[_0x46399f]||(_0x4d1e06[_0x46399f]=[]),_0x4d1e06[_0x46399f][_0x3082e9(0xa8)](_0x2115a0),_0x4d1e06;},{});_0x460eea[_0x559afc(0xe1)][_0x559afc(0xaf)](_0x559afc(0xe6))&&_0x460eea[_0x559afc(0xbd)][_0x559afc(0xce)](_0x559afc(0xb7))&&Object[_0x559afc(0xc6)](_0x479da2)[_0x559afc(0xd7)](([_0x33428c,_0x454c67])=>{const _0x25189=_0x559afc;_0x460eea[_0x25189(0xe1)][_0x25189(0xce)](_0x25189(0xe6))[_0x25189(0xd9)]({'name':_0x33428c,'observable':()=>_0x28f04f,'buttonViewCreator':()=>this[_0x25189(0xc9)](_0x454c67),'formViewCreator':()=>this[_0x25189(0xdd)](_0x454c67),'menuBarButtonViewCreator':()=>this[_0x25189(0xd8)](_0x454c67),'override':_0x25189(0xc7)!==_0x33428c});});}[_0xf2ae47(0xac)](){const _0x2c0dc8=_0xf2ae47;super[_0x2c0dc8(0xac)](),this[_0x2c0dc8(0xa2)]&&clearInterval(this[_0x2c0dc8(0xa2)]);}[_0xf2ae47(0xa4)](_0x50c9f8){const _0x1cf2d0=_0xf2ae47,{locale:_0x335511}=this[_0x1cf2d0(0xe5)];return _0x50c9f8[_0x1cf2d0(0xc0)](_0xcf90d3=>{const _0xe00af2=_0x1cf2d0,_0x5ee09a=_0x1db36e(_0x335511,_0xcf90d3,_0xe00af2(0xcd));switch(_0xcf90d3){case _0x2f1e80[_0xe00af2(0xc2)]:return{'icon':_0x1c592c,'type':_0x2f1e80[_0xe00af2(0xc2)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xab)]:return{'icon':_0x237373,'type':_0x2f1e80[_0xe00af2(0xab)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xcc)]:return{'icon':_0x491613,'type':_0x2f1e80[_0xe00af2(0xcc)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xba)]:return{'icon':_0x377c84,'type':_0x2f1e80[_0xe00af2(0xba)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xe2)]:return{'icon':_0x1c5ed6,'type':_0x2f1e80[_0xe00af2(0xe2)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xd0)]:return{'icon':_0x1cae65,'type':_0x2f1e80[_0xe00af2(0xd0)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0x9d)]:return{'icon':_0x4ba21d,'type':_0x2f1e80[_0xe00af2(0x9d)],..._0x5ee09a};}});}[_0xf2ae47(0xe9)](_0x179b79){const _0x179cdf=_0xf2ae47;switch(_0x179b79){case _0x2f1e80[_0x179cdf(0xc2)]:return _0x179cdf(0xc1);case _0x2f1e80[_0x179cdf(0xab)]:return _0x179cdf(0xe0);default:return _0x179cdf(0xc7);}}[_0xf2ae47(0xe8)](_0x1778a9,_0x538f1f){const _0x5d07b5=_0xf2ae47,_0x17f3f0=this[_0x5d07b5(0xe5)],_0x4c5de9=new _0x1778a9(_0x17f3f0[_0x5d07b5(0xd4)]),_0x58324e=_0x17f3f0[_0x5d07b5(0xbd)][_0x5d07b5(0xce)](_0x5d07b5(0xb7));return _0x4c5de9[_0x5d07b5(0xbe)](_0x5d07b5(0xdb))['to'](_0x58324e),_0x4c5de9['on'](_0x5d07b5(0xd1),()=>{const _0x48982a=_0x5d07b5;_0x58324e[_0x48982a(0xd1)](_0x538f1f);}),_0x4c5de9;}[_0xf2ae47(0xc9)](_0x177c1b){const _0x1c274b=_0xf2ae47,{locale:_0x1c1da2}=this[_0x1c274b(0xe5)],_0xf64290=this[_0x1c274b(0xe5)][_0x1c274b(0xe1)][_0x1c274b(0xce)](_0x1c274b(0xe6)),_0x29717a=_0x177c1b[0x0],_0x2ff227=this[_0x1c274b(0xe8)](_0x323f82,_0x29717a[_0x1c274b(0xaa)]);return _0x2ff227[_0x1c274b(0x9f)]=_0x29717a[_0x1c274b(0x9f)],_0x2ff227[_0x1c274b(0xbe)](_0x1c274b(0xc3))['to'](_0xf64290,_0x1c274b(0xea),_0x1ca56e=>_0x1db36e(_0x1c1da2,_0x29717a[_0x1c274b(0xaa)],_0x1ca56e?_0x1c274b(0xa6):_0x1c274b(0xcd))[_0x1c274b(0xa7)]),_0x2ff227[_0x1c274b(0xbf)]=!0x0,_0x2ff227;}[_0xf2ae47(0xdd)](_0x56077b){const _0x43e571=_0xf2ae47,{locale:_0x29176f}=this[_0x43e571(0xe5)],_0x285ac0=this[_0x43e571(0xe5)][_0x43e571(0xe1)][_0x43e571(0xce)](_0x43e571(0xe6));return _0x56077b[_0x43e571(0xc0)](_0x4367ef=>{const _0x14a044=_0x43e571,_0x13ccf0=this[_0x14a044(0xe8)](_0x323f82,_0x4367ef[_0x14a044(0xaa)]);return _0x13ccf0[_0x14a044(0xbc)]=!0x0,_0x13ccf0[_0x14a044(0x9f)]=_0x4367ef[_0x14a044(0x9f)],_0x13ccf0[_0x14a044(0xbe)](_0x14a044(0xc3))['to'](_0x285ac0,_0x14a044(0xea),_0x167ff0=>_0x1db36e(_0x29176f,_0x4367ef[_0x14a044(0xaa)],_0x167ff0?_0x14a044(0xa6):_0x14a044(0xcd))[_0x14a044(0xa7)]),_0x13ccf0;});}[_0xf2ae47(0xd8)](_0x574982){const _0x3304fa=_0xf2ae47;return _0x574982[_0x3304fa(0xc0)](_0x42133f=>{const _0x39e5f4=_0x3304fa,_0x344630=this[_0x39e5f4(0xe8)](_0x29466c,_0x42133f[_0x39e5f4(0xaa)]);return _0x344630[_0x39e5f4(0x9f)]=_0x42133f[_0x39e5f4(0x9f)],_0x344630[_0x39e5f4(0xc3)]=_0x42133f[_0x39e5f4(0xe7)],_0x344630;});}}
23
+ const _0x38181d=_0x2fdd;(function(_0x2bdf2b,_0x5dec6f){const _0x336866=_0x2fdd,_0x49b649=_0x2bdf2b();while(!![]){try{const _0x5cfd69=parseInt(_0x336866(0x105))/0x1+parseInt(_0x336866(0xf8))/0x2*(-parseInt(_0x336866(0xd3))/0x3)+-parseInt(_0x336866(0xd8))/0x4+parseInt(_0x336866(0x112))/0x5*(-parseInt(_0x336866(0xe6))/0x6)+parseInt(_0x336866(0x102))/0x7+-parseInt(_0x336866(0xf6))/0x8*(-parseInt(_0x336866(0xc7))/0x9)+parseInt(_0x336866(0x10d))/0xa;if(_0x5cfd69===_0x5dec6f)break;else _0x49b649['push'](_0x49b649['shift']());}catch(_0x27b8bd){_0x49b649['push'](_0x49b649['shift']());}}}(_0x220f,0xc1428));import{Plugin as _0x54558b}from'ckeditor5/src/core.js';import{IconDropbox as _0x53bca8,IconFacebook as _0x379fb0,IconGoogleDrive as _0x4af968,IconGooglePhotos as _0x15dd0e,IconUploadcareImageUpload as _0x1d556c,IconUploadcareLink as _0x5d9c21,IconOneDrive as _0x4a35d1}from'ckeditor5/src/icons.js';import{ButtonView as _0x2b1ce4,MenuBarMenuListItemButtonView as _0x324476}from'ckeditor5/src/ui.js';function _0x220f(){const _0x4c76ce=['4003698vfKnhx','registerIntegration','_createMenuBarButtons','shortText','domainLimit','2896108qHhqXy','featureNotAllowed','expired','_showLicenseError','config','uploadcareLicenseKeyNotAllowed','_createButton','destroy','push','upload','uploadcareLicenseKeyDomainLimit','Facebook','uploadcareLicenseKeyValid','usageLimit','345468dAbycR','UploadcareUI','url','icon','isOfficialPlugin','uploadcareLicenseKeyInvalid','reduce','get','map','has','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','isEnabled','commands','licenseKey','type','24LLjmVS','evaluationLimit','2DHjaWI','isPremiumPlugin','assetManager','entries','uploadcareLicenseKeyExpired','OneDrive','trialLimit','locale','tooltip','uploadcare.uploader.sourceList','9194675uYEKro','uploadcareLicenseKeyEvaluationLimit','_createDropdownButtons','75128famENP','pluginName','Replace','Uploadcare','execute','editor','forEach','plugins','11856050MrlvOv','GDrive','_normalizeConfigSourceList','uploadcare','isImageSelected','10sMyrHq','Dropbox','uploadcareLicenseKeyTrialLimit','Local','invalid','text','1173249ohvIlv','URL','_getIntegrationKey','GPhotos','bind','ImageInsertUI','_createToolbarButton','init','withText','Insert','label','afterInit'];_0x220f=function(){return _0x4c76ce;};return _0x220f();}import{UploadcareSource as _0x2fc22c}from'./uploadcareconfig.js';import{getTranslation as _0xbab6a2}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2fdd(_0x1c6157,_0x52a8f0){const _0x220fd0=_0x220f();return _0x2fdd=function(_0x2fdd09,_0x461274){_0x2fdd09=_0x2fdd09-0xc3;let _0x589d28=_0x220fd0[_0x2fdd09];return _0x589d28;},_0x2fdd(_0x1c6157,_0x52a8f0);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x54558b{[_0x38181d(0xf4)];[_0x38181d(0xf0)];static get[_0x38181d(0x106)](){const _0x569087=_0x38181d;return _0x569087(0xe7);}static get[_0x38181d(0xea)](){return!0x0;}static get[_0x38181d(0xf9)](){return!0x0;}[_0x38181d(0xce)](){const _0x44a2cb=_0x38181d;this[_0x44a2cb(0xf4)]=this[_0x44a2cb(0x10a)][_0x44a2cb(0xdc)][_0x44a2cb(0xed)](_0x44a2cb(0xf4));const _0x106cfa=this[_0x44a2cb(0x10a)];this[_0x44a2cb(0xf0)]=setInterval(()=>{const _0x2addfc=_0x44a2cb;let _0x25d103;for(const _0x2ac644 in _0x106cfa){const _0x3d80a1=_0x2ac644,_0x10b74f=_0x106cfa[_0x3d80a1];if(_0x2addfc(0xe4)==_0x10b74f||_0x2addfc(0xeb)==_0x10b74f||_0x2addfc(0xfc)==_0x10b74f||_0x2addfc(0xe2)==_0x10b74f||_0x2addfc(0xdd)==_0x10b74f||_0x2addfc(0x103)==_0x10b74f||_0x2addfc(0xc3)==_0x10b74f||_0x2addfc(0xf1)==_0x10b74f){delete _0x106cfa[_0x3d80a1],_0x25d103=_0x10b74f,clearInterval(this[_0x2addfc(0xf0)]),this[_0x2addfc(0xf0)]=void 0x0;break;}}_0x2addfc(0xeb)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xc5)),_0x2addfc(0xfc)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xda)),_0x2addfc(0xe2)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xd7)),_0x2addfc(0xdd)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xd9),_0x2addfc(0x108)),_0x2addfc(0x103)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xf7)),_0x2addfc(0xc3)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xfe)),_0x2addfc(0xf1)==_0x25d103&&_0x106cfa[_0x2addfc(0xdb)](_0x2addfc(0xe5));},0x3e8);}[_0x38181d(0xd2)](){const _0x36c16c=_0x38181d,{editor:_0x564076}=this,_0x8b79cc=_0x564076[_0x36c16c(0xf3)][_0x36c16c(0xed)](_0x36c16c(0x110));if(!_0x8b79cc)return;const _0x16f54d=this[_0x36c16c(0x10f)](_0x564076[_0x36c16c(0xdc)][_0x36c16c(0xed)](_0x36c16c(0x101)))[_0x36c16c(0xec)]((_0x16d83f,_0x5f5866)=>{const _0x171477=_0x36c16c,_0x5087da=this[_0x171477(0xc9)](_0x5f5866[_0x171477(0xf5)]);return _0x16d83f[_0x5087da]||(_0x16d83f[_0x5087da]=[]),_0x16d83f[_0x5087da][_0x171477(0xe0)](_0x5f5866),_0x16d83f;},{});_0x564076[_0x36c16c(0x10c)][_0x36c16c(0xef)](_0x36c16c(0xcc))&&_0x564076[_0x36c16c(0xf3)][_0x36c16c(0xed)](_0x36c16c(0x110))&&Object[_0x36c16c(0xfb)](_0x16f54d)[_0x36c16c(0x10b)](([_0x55c3aa,_0x1a5f8a])=>{const _0xded36=_0x36c16c;_0x564076[_0xded36(0x10c)][_0xded36(0xed)](_0xded36(0xcc))[_0xded36(0xd4)]({'name':_0x55c3aa,'observable':()=>_0x8b79cc,'buttonViewCreator':()=>this[_0xded36(0xcd)](_0x1a5f8a),'formViewCreator':()=>this[_0xded36(0x104)](_0x1a5f8a),'menuBarButtonViewCreator':()=>this[_0xded36(0xd5)](_0x1a5f8a),'override':_0xded36(0xfa)!==_0x55c3aa});});}[_0x38181d(0xdf)](){const _0x50573a=_0x38181d;super[_0x50573a(0xdf)](),this[_0x50573a(0xf0)]&&clearInterval(this[_0x50573a(0xf0)]);}[_0x38181d(0x10f)](_0x40f5d7){const _0x940811=_0x38181d,{locale:_0x27bd5f}=this[_0x940811(0x10a)];return _0x40f5d7[_0x940811(0xee)](_0x333414=>{const _0x5e1d09=_0x940811,_0x4e9494=_0xbab6a2(_0x27bd5f,_0x333414,_0x5e1d09(0xd0));switch(_0x333414){case _0x2fc22c[_0x5e1d09(0xc4)]:return{'icon':_0x1d556c,'type':_0x2fc22c[_0x5e1d09(0xc4)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xc8)]:return{'icon':_0x5d9c21,'type':_0x2fc22c[_0x5e1d09(0xc8)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0x113)]:return{'icon':_0x53bca8,'type':_0x2fc22c[_0x5e1d09(0x113)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xe3)]:return{'icon':_0x379fb0,'type':_0x2fc22c[_0x5e1d09(0xe3)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0x10e)]:return{'icon':_0x4af968,'type':_0x2fc22c[_0x5e1d09(0x10e)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xca)]:return{'icon':_0x15dd0e,'type':_0x2fc22c[_0x5e1d09(0xca)],..._0x4e9494};case _0x2fc22c[_0x5e1d09(0xfd)]:return{'icon':_0x4a35d1,'type':_0x2fc22c[_0x5e1d09(0xfd)],..._0x4e9494};}});}[_0x38181d(0xc9)](_0x22d538){const _0x3dcf28=_0x38181d;switch(_0x22d538){case _0x2fc22c[_0x3dcf28(0xc4)]:return _0x3dcf28(0xe1);case _0x2fc22c[_0x3dcf28(0xc8)]:return _0x3dcf28(0xe8);default:return _0x3dcf28(0xfa);}}[_0x38181d(0xde)](_0x4b2bf0,_0x32cb93){const _0x18310d=_0x38181d,_0x37785f=this[_0x18310d(0x10a)],_0x3016c3=new _0x4b2bf0(_0x37785f[_0x18310d(0xff)]),_0x612ef0=_0x37785f[_0x18310d(0xf3)][_0x18310d(0xed)](_0x18310d(0x110));return _0x3016c3[_0x18310d(0xcb)](_0x18310d(0xf2))['to'](_0x612ef0),_0x3016c3['on'](_0x18310d(0x109),()=>{const _0x590f88=_0x18310d;_0x612ef0[_0x590f88(0x109)](_0x32cb93);}),_0x3016c3;}[_0x38181d(0xcd)](_0x23013f){const _0x51371a=_0x38181d,{locale:_0x4612b7}=this[_0x51371a(0x10a)],_0x1c7587=this[_0x51371a(0x10a)][_0x51371a(0x10c)][_0x51371a(0xed)](_0x51371a(0xcc)),_0x5e5b8a=_0x23013f[0x0],_0x34a2d9=this[_0x51371a(0xde)](_0x2b1ce4,_0x5e5b8a[_0x51371a(0xf5)]);return _0x34a2d9[_0x51371a(0xe9)]=_0x5e5b8a[_0x51371a(0xe9)],_0x34a2d9[_0x51371a(0xcb)](_0x51371a(0xd1))['to'](_0x1c7587,_0x51371a(0x111),_0x180f5f=>_0xbab6a2(_0x4612b7,_0x5e5b8a[_0x51371a(0xf5)],_0x180f5f?_0x51371a(0x107):_0x51371a(0xd0))[_0x51371a(0xc6)]),_0x34a2d9[_0x51371a(0x100)]=!0x0,_0x34a2d9;}[_0x38181d(0x104)](_0x10f12d){const _0x3517e3=_0x38181d,{locale:_0x4bc178}=this[_0x3517e3(0x10a)],_0x1c656c=this[_0x3517e3(0x10a)][_0x3517e3(0x10c)][_0x3517e3(0xed)](_0x3517e3(0xcc));return _0x10f12d[_0x3517e3(0xee)](_0x29bbe4=>{const _0x37565a=_0x3517e3,_0x5f0bdc=this[_0x37565a(0xde)](_0x2b1ce4,_0x29bbe4[_0x37565a(0xf5)]);return _0x5f0bdc[_0x37565a(0xcf)]=!0x0,_0x5f0bdc[_0x37565a(0xe9)]=_0x29bbe4[_0x37565a(0xe9)],_0x5f0bdc[_0x37565a(0xcb)](_0x37565a(0xd1))['to'](_0x1c656c,_0x37565a(0x111),_0x1d8110=>_0xbab6a2(_0x4bc178,_0x29bbe4[_0x37565a(0xf5)],_0x1d8110?_0x37565a(0x107):_0x37565a(0xd0))[_0x37565a(0xc6)]),_0x5f0bdc;});}[_0x38181d(0xd5)](_0x15c089){const _0x1c85e4=_0x38181d;return _0x15c089[_0x1c85e4(0xee)](_0x43dd38=>{const _0x4fe96d=_0x1c85e4,_0x46a230=this[_0x4fe96d(0xde)](_0x324476,_0x43dd38[_0x4fe96d(0xf5)]);return _0x46a230[_0x4fe96d(0xe9)]=_0x43dd38[_0x4fe96d(0xe9)],_0x46a230[_0x4fe96d(0xd1)]=_0x43dd38[_0x4fe96d(0xd6)],_0x46a230;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2b151c}from'ckeditor5/src/core.js';import{FileRepository as _0x5662d0}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x594b7f}from'./uploadcareediting.js';import{UploadUtils as _0x51f60d}from'./utils/uploadutils.js';import{getImageUrls as _0x40e066}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2b151c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5662d0,_0x594b7f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b59e2=this['editor'];if(!!!_0x1b59e2['config']['get']('uploadcare'))return;_0x1b59e2['plugins']['get'](_0x5662d0)['createUploadAdapter']=_0x35194f=>new A(_0x35194f,_0x1b59e2),_0x1b59e2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x25ea70,{imageElement:_0xe2fbc8,data:_0x2b99f8})=>{_0x1b59e2['model']['change'](_0xa76fa6=>{_0xa76fa6['setAttribute']('uploadcareImageId',_0x2b99f8['uploadcareImageId'],_0xe2fbc8);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1fa70d,_0x103d76){this['loader']=_0x1fa70d,this['editor']=_0x103d76,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5ee5a3=this['editor']['config']['get']('uploadcare.pubkey'),_0x2bee43=await this['loader']['file'];return _0x51f60d['upload']({'file':_0x2bee43,'publicKey':_0x5ee5a3,'signal':this['controller']['signal'],'onProgress':_0x54c62a=>{_0x54c62a&&_0x54c62a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54c62a['value']);}})['then'](async _0x50333b=>{const {imageFallbackUrl:_0x1233cf,imageSources:_0x56288f}=_0x40e066(_0x50333b['cdnUrl'],_0x50333b['imageInfo']['width']);return{'uploadcareImageId':_0x50333b['uuid'],'default':_0x1233cf,'sources':_0x56288f};})['catch'](()=>{const _0x11311a=t('Cannot\x20upload\x20file:')+('\x20'+_0x2bee43['name']+'.');return Promise['reject'](_0x11311a);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4980b6}from'ckeditor5/src/core.js';import{FileRepository as _0x51c516}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2ed4c9}from'./uploadcareediting.js';import{UploadUtils as _0x2edd79}from'./utils/uploadutils.js';import{getImageUrls as _0x334739}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4980b6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51c516,_0x2ed4c9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x473da6=this['editor'];if(!!!_0x473da6['config']['get']('uploadcare'))return;_0x473da6['plugins']['get'](_0x51c516)['createUploadAdapter']=_0x2ae9ed=>new A(_0x2ae9ed,_0x473da6),_0x473da6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4ebc90,{imageElement:_0x2b9443,data:_0x596c89})=>{_0x473da6['model']['change'](_0x290c6b=>{_0x290c6b['setAttribute']('uploadcareImageId',_0x596c89['uploadcareImageId'],_0x2b9443);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2a874c,_0x5e2e26){this['loader']=_0x2a874c,this['editor']=_0x5e2e26,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29a7a6=this['editor']['config']['get']('uploadcare.pubkey'),_0x584260=await this['loader']['file'];return _0x2edd79['upload']({'file':_0x584260,'publicKey':_0x29a7a6,'signal':this['controller']['signal'],'onProgress':_0x2b016f=>{_0x2b016f&&_0x2b016f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2b016f['value']);}})['then'](async _0x342dce=>{const {imageFallbackUrl:_0x10d7dc,imageSources:_0xb7171d}=_0x334739(_0x342dce['cdnUrl'],_0x342dce['imageInfo']['width']);return{'uploadcareImageId':_0x342dce['uuid'],'default':_0x10d7dc,'sources':_0xb7171d};})['catch'](()=>{const _0x478e81=t('Cannot\x20upload\x20file:')+('\x20'+_0x584260['name']+'.');return Promise['reject'](_0x478e81);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x55dc47}from'../uploadcareconfig.js';export function getTranslation(_0x3149ff,_0x1c0391,_0x2d8463){const t=_0x3149ff['t'],_0x4ed183=_0x3149ff['t'];switch(_0x1c0391){case _0x55dc47['Local']:return{'text':_0x4ed183('Insert'===_0x2d8463?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4ed183('From\x20computer')};case _0x55dc47['URL']:return{'text':'Insert'===_0x2d8463?_0x4ed183('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4ed183('Via\x20URL')};case _0x55dc47['Dropbox']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x55dc47['Facebook']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x55dc47['GDrive']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x55dc47['GPhotos']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x55dc47['OneDrive']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1c0391;}}
23
+ import{UploadcareSource as _0x2f2095}from'../uploadcareconfig.js';export function getTranslation(_0x322dea,_0x1667bb,_0x4787c1){const t=_0x322dea['t'],_0x4b1f21=_0x322dea['t'];switch(_0x1667bb){case _0x2f2095['Local']:return{'text':_0x4b1f21('Insert'===_0x4787c1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4b1f21('From\x20computer')};case _0x2f2095['URL']:return{'text':'Insert'===_0x4787c1?_0x4b1f21('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4b1f21('Via\x20URL')};case _0x2f2095['Dropbox']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2f2095['Facebook']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2f2095['GDrive']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2f2095['GPhotos']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2f2095['OneDrive']:return{'text':t('Insert'===_0x4787c1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1667bb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d255c=_0x2657;(function(_0x6110ba,_0x5baa2f){var _0x55c9a6=_0x2657,_0x1032ea=_0x6110ba();while(!![]){try{var _0x3c480b=-parseInt(_0x55c9a6(0x80))/0x1*(parseInt(_0x55c9a6(0x88))/0x2)+-parseInt(_0x55c9a6(0x87))/0x3*(parseInt(_0x55c9a6(0x96))/0x4)+-parseInt(_0x55c9a6(0x89))/0x5*(-parseInt(_0x55c9a6(0x86))/0x6)+parseInt(_0x55c9a6(0x8a))/0x7*(-parseInt(_0x55c9a6(0x94))/0x8)+-parseInt(_0x55c9a6(0x84))/0x9*(parseInt(_0x55c9a6(0x85))/0xa)+-parseInt(_0x55c9a6(0x82))/0xb*(parseInt(_0x55c9a6(0x8d))/0xc)+-parseInt(_0x55c9a6(0x8e))/0xd*(-parseInt(_0x55c9a6(0x91))/0xe);if(_0x3c480b===_0x5baa2f)break;else _0x1032ea['push'](_0x1032ea['shift']());}catch(_0x391c9b){_0x1032ea['push'](_0x1032ea['shift']());}}}(_0x1b32,0x9751a));import{FocusTracker as _0x5b3ee8}from'ckeditor5/src/utils.js';import{View as _0x1fb6ea,FocusCycler as _0x3d97fd}from'ckeditor5/src/ui.js';function _0x2657(_0x2b95dc,_0x114586){var _0x1b325b=_0x1b32();return _0x2657=function(_0x2657ec,_0x1a5a76){_0x2657ec=_0x2657ec-0x80;var _0x3ce89c=_0x1b325b[_0x2657ec];return _0x3ce89c;},_0x2657(_0x2b95dc,_0x114586);}import'../../theme/uploadcare-form.css';function _0x1b32(){var _0x54568c=['190374RTIPYv','5sdHKKa','7825027hbWaiy','focusTracker','bindTemplate','492xVStbX','29669263xZnVLl','forwardCycle','createCollection','14EDDKqn','div','getFocusableElement','8wLGkrz','fire','44GqcPpy','1sZmuVx','true','37939tZGSVU','focusCycler','36ZGJEpL','77270ddGnkC','4699962ZsRnRd','289203dcZNGe'];_0x1b32=function(){return _0x54568c;};return _0x1b32();}export class DialogFocusManagerView extends _0x1fb6ea{[_0x1d255c(0x8b)];[_0x1d255c(0x83)];constructor(_0x54625c){var _0x395e18=_0x1d255c;super(_0x54625c),this[_0x395e18(0x8b)]=new _0x5b3ee8(),this[_0x395e18(0x83)]=new _0x3d97fd({'focusables':this[_0x395e18(0x90)](),'focusTracker':this[_0x395e18(0x8b)]});}[_0x1d255c(0x93)](){var _0x51e069=_0x1d255c;return{'tag':_0x51e069(0x92),'attributes':{'aria-hidden':_0x51e069(0x81),'tabindex':'0'},'on':{'focus':this[_0x51e069(0x8c)]['to'](()=>{var _0x34043d=_0x51e069;this[_0x34043d(0x83)][_0x34043d(0x95)](_0x34043d(0x8f));})}};}}
23
+ var _0x2442ac=_0x1e17;(function(_0x5d649a,_0x513dc4){var _0xe383c5=_0x1e17,_0x50ef9=_0x5d649a();while(!![]){try{var _0x4ae900=-parseInt(_0xe383c5(0x1b8))/0x1+parseInt(_0xe383c5(0x1bd))/0x2+parseInt(_0xe383c5(0x1ba))/0x3+-parseInt(_0xe383c5(0x1c0))/0x4*(parseInt(_0xe383c5(0x1c1))/0x5)+-parseInt(_0xe383c5(0x1c3))/0x6*(parseInt(_0xe383c5(0x1bf))/0x7)+parseInt(_0xe383c5(0x1b5))/0x8+parseInt(_0xe383c5(0x1c4))/0x9*(parseInt(_0xe383c5(0x1c2))/0xa);if(_0x4ae900===_0x513dc4)break;else _0x50ef9['push'](_0x50ef9['shift']());}catch(_0x134fba){_0x50ef9['push'](_0x50ef9['shift']());}}}(_0x3c11,0xacbd3));import{FocusTracker as _0x2c687b}from'ckeditor5/src/utils.js';function _0x1e17(_0x1c3fde,_0x488a98){var _0x3c119e=_0x3c11();return _0x1e17=function(_0x1e17f5,_0x2a6d10){_0x1e17f5=_0x1e17f5-0x1b4;var _0x71d0ff=_0x3c119e[_0x1e17f5];return _0x71d0ff;},_0x1e17(_0x1c3fde,_0x488a98);}function _0x3c11(){var _0x5db446=['focusTracker','div','816292GLWuer','bindTemplate','2653kYJhBk','11204ZAGoSm','385UePzPo','20JOiwbC','12360kPpdAJ','2649411BsdZQi','forwardCycle','true','getFocusableElement','9424112VrnSeL','fire','createCollection','761866nClPsS','focusCycler','872712DCYaXk'];_0x3c11=function(){return _0x5db446;};return _0x3c11();}import{View as _0x2750af,FocusCycler as _0xdb8ad8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2750af{[_0x2442ac(0x1bb)];[_0x2442ac(0x1b9)];constructor(_0x5a34f3){var _0x2f48f4=_0x2442ac;super(_0x5a34f3),this[_0x2f48f4(0x1bb)]=new _0x2c687b(),this[_0x2f48f4(0x1b9)]=new _0xdb8ad8({'focusables':this[_0x2f48f4(0x1b7)](),'focusTracker':this[_0x2f48f4(0x1bb)]});}[_0x2442ac(0x1b4)](){var _0x7b144a=_0x2442ac;return{'tag':_0x7b144a(0x1bc),'attributes':{'aria-hidden':_0x7b144a(0x1c6),'tabindex':'0'},'on':{'focus':this[_0x7b144a(0x1be)]['to'](()=>{var _0x2d750d=_0x7b144a;this[_0x2d750d(0x1b9)][_0x2d750d(0x1b6)](_0x2d750d(0x1c5));})}};}}