@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251125.1 → 0.0.0-nightly-20251127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xce51b7=_0x1288;(function(_0x19e688,_0x43396d){const _0x391318=_0x1288,_0xfd014a=_0x19e688();while(!![]){try{const _0x22f878=-parseInt(_0x391318(0x209))/0x1+parseInt(_0x391318(0x1e1))/0x2*(parseInt(_0x391318(0x20d))/0x3)+parseInt(_0x391318(0x1ee))/0x4+parseInt(_0x391318(0x213))/0x5+-parseInt(_0x391318(0x1df))/0x6*(parseInt(_0x391318(0x214))/0x7)+parseInt(_0x391318(0x1e2))/0x8+-parseInt(_0x391318(0x1fa))/0x9*(parseInt(_0x391318(0x1dc))/0xa);if(_0x22f878===_0x43396d)break;else _0xfd014a['push'](_0xfd014a['shift']());}catch(_0x6fea39){_0xfd014a['push'](_0xfd014a['shift']());}}}(_0x3b29,0x3db69));import{Plugin as _0x543723}from'ckeditor5/src/core.js';function _0x1288(_0xf6025,_0x19cb42){const _0x3b29fe=_0x3b29();return _0x1288=function(_0x12886a,_0x390eb4){_0x12886a=_0x12886a-0x1d5;let _0x32176e=_0x3b29fe[_0x12886a];return _0x32176e;},_0x1288(_0xf6025,_0x19cb42);}import{Dialog as _0x449682}from'ckeditor5/src/ui.js';import{createElement as _0x27a062,global as _0x11f6d5,uid as _0x539fb1}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x50b94f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x578f87}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2879d7}from'./utils/editingutils.js';function _0x3b29(){const _0x259d1d=['isOfficialPlugin','view','isRegistered','UploadcareEditing','href','uc-upload-ctx-provider','#uc-icon-arrow-down','init','pluginName','locale','getAttribute','add','ucContextId','editing','uploadcareImageReplace','removeAttribute','downcast','querySelector','execute','appendChild','_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','uc-config','true','fromCharCode','remove','235360xzARNA','for','insertImage','92676NuUMFk','selection','52LNWtjy','3711624yBvKkL','replaceImageSource','destroy','once','_initConversion','configElement','_configElement','isPremiumPlugin','map','editor','iconHrefResolver','listenTo','1331564VviYPv','extend','document','attributeToAttribute','input[uploadcare-file-input]','_initSchema','body','_initConfig','imageInline','uploader-','model','afterInit','153QdZZIz','uploadcare.uploader','render','elementToAttribute','_initCtx','closeMax','commands','conversion','PictureEditing','schema','config','uploadcare.pubkey','get','join','uploadcareImageId','247520UUGVWz','contentLanguage','cleanupImage','getSelectedElement','34053JOfBmO','uploadcare','imageBlock','data-uc-image-id','_ctxElement','upcast','46185voxNsd','91LUvant','requires','ctxElement'];_0x3b29=function(){return _0x259d1d;};return _0x3b29();}export class UploadcareEditing extends _0x543723{[_0xce51b7(0x1e8)]=null;[_0xce51b7(0x211)]=null;static get[_0xce51b7(0x21f)](){const _0x595dd=_0xce51b7;return _0x595dd(0x21a);}static get[_0xce51b7(0x215)](){const _0x10b945=_0xce51b7;return[_0x10b945(0x202),_0x578f87,_0x449682];}static get[_0xce51b7(0x217)](){return!0x0;}static get[_0xce51b7(0x1e9)](){return!0x0;}[_0xce51b7(0x223)];get[_0xce51b7(0x1e7)](){const _0xfbe76f=_0xce51b7;return this[_0xfbe76f(0x1e8)];}get[_0xce51b7(0x216)](){const _0x937516=_0xce51b7;return this[_0x937516(0x211)];}constructor(_0x23f270){const _0x488f99=_0xce51b7;super(_0x23f270),this[_0x488f99(0x223)]=_0x539fb1();}[_0xce51b7(0x21e)](){const _0x4c2875=_0xce51b7,_0x220160=this[_0x4c2875(0x1eb)];_0x220160[_0x4c2875(0x200)][_0x4c2875(0x222)](_0x4c2875(0x20e),new _0x50b94f(_0x220160));}[_0xce51b7(0x1f9)](){const _0x530923=_0xce51b7;this[_0x530923(0x1f3)](),this[_0x530923(0x1e6)](),this[_0x530923(0x1f5)](),this[_0x530923(0x1fe)](),this[_0x530923(0x1d6)](),this[_0x530923(0x1ed)](this[_0x530923(0x1eb)],_0x530923(0x1e4),()=>{const _0x1f7e07=_0x530923;this[_0x1f7e07(0x1e8)]&&(this[_0x1f7e07(0x1e8)][_0x1f7e07(0x1db)](),this[_0x1f7e07(0x1e8)]=null),this[_0x1f7e07(0x211)]&&(this[_0x1f7e07(0x211)][_0x1f7e07(0x1db)](),this[_0x1f7e07(0x211)]=null);const _0x2371d8=_0x11f6d5[_0x1f7e07(0x1f0)][_0x1f7e07(0x228)](_0x1f7e07(0x1f2));_0x2371d8&&_0x2371d8[_0x1f7e07(0x1db)]();}),async function(_0x2e5afc){const _0xff6506=_0x539fa5([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3aa22d=0x535f8c3a,_0x4e230a=0x5358f622^_0x3aa22d,_0x2d3664=window[_0x539fa5([0x44,0x61,0x74,0x65])][_0x539fa5([0x6e,0x6f,0x77])](),_0xc4d86a=_0x2e5afc[_0x539fa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcde841=new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x442f15=>{_0xc4d86a[_0x539fa5([0x6f,0x6e,0x63,0x65])](_0x539fa5([0x72,0x65,0x61,0x64,0x79]),_0x442f15);}),_0x235d4a={[_0x539fa5([0x6b,0x74,0x79])]:_0x539fa5([0x45,0x43]),[_0x539fa5([0x75,0x73,0x65])]:_0x539fa5([0x73,0x69,0x67]),[_0x539fa5([0x63,0x72,0x76])]:_0x539fa5([0x50,0x2d,0x32,0x35,0x36]),[_0x539fa5([0x78])]:_0x539fa5([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]),[_0x539fa5([0x79])]:_0x539fa5([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]),[_0x539fa5([0x61,0x6c,0x67])]:_0x539fa5([0x45,0x53,0x32,0x35,0x36])},_0x375e9f=_0xc4d86a[_0x539fa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x539fa5([0x67,0x65,0x74])](_0x539fa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x176c39(){let _0x20461b,_0x3df8fd=null,_0x176e03=null;try{if(_0x375e9f==_0x539fa5([0x47,0x50,0x4c]))return _0x539fa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20461b=_0x385b63(),!_0x20461b)return _0x539fa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20461b[_0x539fa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x176e03=_0x253816(_0x20461b[_0x539fa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20461b[_0x539fa5([0x6a,0x74,0x69])])),await _0x24f49d()?_0x76191f()?_0x4ce280()?_0x539fa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x560ec8()?(_0x20461b[_0x539fa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x539fa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3df8fd=_0x12e516(_0x539fa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20461b[_0x539fa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x539fa5([0x74,0x72,0x69,0x61,0x6c])&&(_0x3df8fd=_0x12e516(_0x539fa5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xab55bb()):_0x539fa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x539fa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x539fa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x539fa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ce280(){const _0x329a19=[_0x539fa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x539fa5([0x74,0x72,0x69,0x61,0x6c])][_0x539fa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20461b[_0x539fa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d3664/0x3e8:0xe10*_0x4e230a;return _0x20461b[_0x539fa5([0x65,0x78,0x70])]<_0x329a19;}function _0x76191f(){const _0x4ad9a1=_0x20461b[_0x539fa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4ad9a1&&(!!_0x4ad9a1[_0x539fa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539fa5([0x2a]))||!!_0x4ad9a1[_0x539fa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539fa5([0x55,0x50,0x4c,0x43])));}function _0x560ec8(){const _0x211bbb=_0x1288,_0x3aa627=_0x20461b[_0x539fa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3aa627||0x0==_0x3aa627[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3308a1}=new URL(window[_0x539fa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x211bbb(0x21b)]);if(_0x3aa627[_0x539fa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3308a1))return!0x0;const _0x4addcd=_0x3308a1[_0x539fa5([0x73,0x70,0x6c,0x69,0x74])](_0x539fa5([0x2e]));return _0x3aa627[_0x539fa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47cce2=>_0x47cce2[_0x539fa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x539fa5([0x2a])))[_0x539fa5([0x6d,0x61,0x70])](_0x567125=>_0x567125[_0x539fa5([0x73,0x70,0x6c,0x69,0x74])](_0x539fa5([0x2e])))[_0x539fa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22765c=>_0x22765c[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4addcd[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x539fa5([0x6d,0x61,0x70])](_0x30235e=>Array(_0x4addcd[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30235e[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x539fa5([0x66,0x69,0x6c,0x6c])](_0x30235e[0x0]===_0x539fa5([0x2a])?_0x539fa5([0x2a]):'')[_0x539fa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30235e))[_0x539fa5([0x73,0x6f,0x6d,0x65])](_0x434281=>_0x4addcd[_0x539fa5([0x65,0x76,0x65,0x72,0x79])]((_0x5216d7,_0x2de6f3)=>_0x434281[_0x2de6f3]===_0x5216d7||_0x434281[_0x2de6f3]===_0x539fa5([0x2a])));}function _0xab55bb(){return _0x3df8fd&&_0x176e03?new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f1b10,_0x5b5815)=>{_0x3df8fd[_0x539fa5([0x74,0x68,0x65,0x6e])](_0x5f1b10,_0x5b5815),_0x176e03[_0x539fa5([0x74,0x68,0x65,0x6e])](_0x2e2fe3=>{_0x2e2fe3!=_0x539fa5([0x56,0x61,0x6c,0x69,0x64])&&_0x5f1b10(_0x2e2fe3);},_0x5b5815);}):_0x3df8fd||_0x176e03||_0x539fa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x253816(_0x870034,_0x1f22bd){return new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfd3f9=>{if(_0x40ccd6())return _0xfd3f9(_0x539fa5([0x56,0x61,0x6c,0x69,0x64]));_0x129611(),_0xc4d86a[_0x539fa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x539fa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x490c3f=!0x1;const _0x5a0d12=_0x539fb1();function _0x16e952(_0x566fc7){return!!_0x566fc7&&(typeof _0x566fc7===_0x539fa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x566fc7===_0x539fa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x566fc7[_0x539fa5([0x74,0x68,0x65,0x6e])]===_0x539fa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x566fc7[_0x539fa5([0x63,0x61,0x74,0x63,0x68])]===_0x539fa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c9594(_0x5cf547){_0x4772d1(_0x5cf547)[_0x539fa5([0x74,0x68,0x65,0x6e])](_0x10d647=>{if(!_0x10d647||_0x10d647[_0x539fa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x539fa5([0x6f,0x6b]))return _0x539fa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43b811(_0x1d4ed0(_0x5a0d12+_0x1f22bd))!=_0x10d647[_0x539fa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x539fa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x539fa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x539fa5([0x74,0x68,0x65,0x6e])](_0x54c7e1=>(_0x1a2fb4(),_0x54c7e1),()=>{const _0x392956=_0x2b1dbc();return null==_0x392956?(_0x1a2fb4(),_0x539fa5([0x56,0x61,0x6c,0x69,0x64])):_0x539fa5(_0x2d3664-_0x392956>(0x7753083a^_0x3aa22d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x539fa5([0x74,0x68,0x65,0x6e])](_0xfd3f9)[_0x539fa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfd3f9(_0x539fa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3be1bb=0x536962ba^_0x3aa22d;function _0x1a2fb4(){const _0x1d08ac=_0x539fa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b811(_0x1d4ed0(_0x870034)),_0x438860=_0x2fce8c(_0x43b811(window[_0x539fa5([0x4d,0x61,0x74,0x68])][_0x539fa5([0x63,0x65,0x69,0x6c])](_0x2d3664/_0x3be1bb)));window[_0x539fa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x539fa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d08ac,_0x438860);}function _0x2b1dbc(){const _0x4a467a=_0x539fa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b811(_0x1d4ed0(_0x870034)),_0x3b2920=window[_0x539fa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x539fa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a467a);return _0x3b2920?window[_0x539fa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fce8c(_0x3b2920),0x10)*_0x3be1bb:null;}function _0x4772d1(_0x543f81){return new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x305449,_0x2470d3)=>{_0x543f81[_0x539fa5([0x74,0x68,0x65,0x6e])](_0x305449,_0x2470d3),window[_0x539fa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2470d3,0x535e58fa^_0x3aa22d);});}}_0xc4d86a[_0x539fa5([0x6f,0x6e])](_0x539fa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b56dd,_0x13dc25)=>{if(_0x13dc25[0x0]!=_0x870034)return _0xfd3f9(_0x539fa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13dc25[0x1]={..._0x13dc25[0x1],[_0x539fa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a0d12};},{[_0x539fa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x539fa5([0x68,0x69,0x67,0x68])}),_0xc4d86a[_0x539fa5([0x6f,0x6e])](_0x539fa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x143bbe=>{_0x16e952(_0x143bbe[_0x539fa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x490c3f=!0x0,_0x1c9594(_0x143bbe[_0x539fa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x539fa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x539fa5([0x6c,0x6f,0x77])}),_0xcde841[_0x539fa5([0x74,0x68,0x65,0x6e])](()=>{_0x490c3f||_0xfd3f9(_0x539fa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40ccd6(){return _0xc4d86a[_0x539fa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x539fa5([0x76,0x69,0x65,0x77])][_0x539fa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x539fa5([0x61,0x75,0x74,0x6f]);}function _0x129611(){_0xc4d86a[_0x539fa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x539fa5([0x76,0x69,0x65,0x77])][_0x539fa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x539fa5([0x61,0x75,0x74,0x6f]);}}function _0x12e516(_0x223c1c){const _0x4fe0fb=[new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6926f=>setTimeout(_0xf6926f,0x5356b2f6^_0x3aa22d)),_0xcde841[_0x539fa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331278=>{let _0x5465cf=0x0;_0xc4d86a[_0x539fa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x539fa5([0x6f,0x6e])](_0x539fa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x314e59,_0xe9017f)=>{_0xe9017f[0x0][_0x539fa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5465cf++,_0x5465cf==(0x535f8dc2^_0x3aa22d)&&(_0x331278(),_0x314e59[_0x539fa5([0x6f,0x66,0x66])]());});}))];return window[_0x539fa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x539fa5([0x72,0x61,0x63,0x65])](_0x4fe0fb)[_0x539fa5([0x74,0x68,0x65,0x6e])](()=>_0x223c1c);}async function _0x1507b3(){await _0xcde841,_0xc4d86a[_0x539fa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x539fa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5b63,_0xc4d86a[_0x539fa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x539fa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5b63,_0xc4d86a[_0x539fa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x539fa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42cadb(_0x3a3117){const _0x4e6324=_0x13b3d5();_0xc4d86a[_0x4e6324]=_0x539fa5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a3117,_0x3a3117!=_0x539fa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1507b3();}function _0x13b3d5(){const _0x44c786=window[_0x539fa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x539fa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x539fa5([0x6e,0x6f,0x77])]())[_0x539fa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x539fa5([0x2e]),'');let _0x290fda=_0x539fa5([0x68]);for(let _0x1868cb=0x0;_0x1868cb<_0x44c786[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1868cb+=0x2){let _0x5a943e=window[_0x539fa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44c786[_0x539fa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1868cb,_0x1868cb+0x2));_0x5a943e>=_0xff6506[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a943e-=_0xff6506[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x290fda+=_0xff6506[_0x5a943e];}return _0x290fda;}function _0x385b63(){const _0x57938f=_0x375e9f[_0x539fa5([0x73,0x70,0x6c,0x69,0x74])](_0x539fa5([0x2e]));if(0x3!=_0x57938f[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42a0e3(_0x57938f[0x1]);function _0x42a0e3(_0x348afe){const _0x558c65=_0x2466b4(_0x348afe);return _0x558c65&&_0x5c6f7f()?_0x558c65:null;function _0x5c6f7f(){const _0x31c524=_0x558c65[_0x539fa5([0x6a,0x74,0x69])],_0x356dad=window[_0x539fa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31c524[_0x539fa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31c524[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x546483={..._0x558c65,[_0x539fa5([0x6a,0x74,0x69])]:_0x31c524[_0x539fa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31c524[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x546483[_0x539fa5([0x76,0x63])],_0x1d4ed0(_0x546483)==_0x356dad;}}}async function _0x24f49d(){let _0x7a7497=!0x0;try{const _0x393e26=_0x375e9f[_0x539fa5([0x73,0x70,0x6c,0x69,0x74])](_0x539fa5([0x2e])),[_0x17575a,_0x1b1713,_0x4e6af5]=_0x393e26;return _0x6108d5(_0x17575a),await _0x435e63(_0x17575a,_0x1b1713,_0x4e6af5),_0x7a7497;}catch{return!0x1;}function _0x6108d5(_0x435410){const _0x33b44a=_0x2466b4(_0x435410);_0x33b44a&&_0x33b44a[_0x539fa5([0x61,0x6c,0x67])]==_0x539fa5([0x45,0x53,0x32,0x35,0x36])||(_0x7a7497=!0x1);}async function _0x435e63(_0x59b9fc,_0x326df0,_0x4f192b){const _0x1dc498=window[_0x539fa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x539fa5([0x66,0x72,0x6f,0x6d])](_0x12bc54(_0x4f192b),_0x31ce53=>_0x31ce53[_0x539fa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e7ebc=new window[(_0x539fa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x539fa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59b9fc+_0x539fa5([0x2e])+_0x326df0),_0x2f0b09=window[_0x539fa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x539fa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f0b09)return;const _0x5d85c9=await _0x2f0b09[_0x539fa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x539fa5([0x6a,0x77,0x6b]),_0x235d4a,{[_0x539fa5([0x6e,0x61,0x6d,0x65])]:_0x539fa5([0x45,0x43,0x44,0x53,0x41]),[_0x539fa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x539fa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x539fa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f0b09[_0x539fa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x539fa5([0x6e,0x61,0x6d,0x65])]:_0x539fa5([0x45,0x43,0x44,0x53,0x41]),[_0x539fa5([0x68,0x61,0x73,0x68])]:{[_0x539fa5([0x6e,0x61,0x6d,0x65])]:_0x539fa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d85c9,_0x1dc498,_0x5e7ebc)||(_0x7a7497=!0x1);}}function _0x2466b4(_0x514d8f){return _0x514d8f[_0x539fa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x539fa5([0x65,0x79]))?JSON[_0x539fa5([0x70,0x61,0x72,0x73,0x65])](_0x12bc54(_0x514d8f)):null;}function _0x12bc54(_0x1edc71){return window[_0x539fa5([0x61,0x74,0x6f,0x62])](_0x1edc71[_0x539fa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x539fa5([0x2b]))[_0x539fa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x539fa5([0x2f])));}function _0x1d4ed0(_0x2f1bfc){let _0x2d8325=0x1505;function _0x20c380(_0x4f5e84){for(let _0x350ab4=0x0;_0x350ab4<_0x4f5e84[_0x539fa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x350ab4++){const _0x25f0ac=_0x4f5e84[_0x539fa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x350ab4);_0x2d8325=(_0x2d8325<<0x5)+_0x2d8325+_0x25f0ac,_0x2d8325&=_0x2d8325;}}function _0x45fa6e(_0x50d666){Array[_0x539fa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50d666)?_0x50d666[_0x539fa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45fa6e):_0x50d666&&typeof _0x50d666==_0x539fa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x539fa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50d666)[_0x539fa5([0x73,0x6f,0x72,0x74])]()[_0x539fa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x50db47,_0x565eca])=>{_0x20c380(_0x50db47),_0x45fa6e(_0x565eca);}):_0x20c380(window[_0x539fa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50d666));}return _0x45fa6e(_0x2f1bfc),_0x2d8325>>>0x0;}function _0x43b811(_0x4734a7){return _0x4734a7[_0x539fa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x539fa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x539fa5([0x30]));}function _0x2fce8c(_0x14b46f){return _0x14b46f[_0x539fa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x539fa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x539fa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c5b63(){}function _0x539fa5(_0xfebba2){const _0x4c1733=_0x1288;return _0xfebba2[_0x4c1733(0x1ea)](_0x170211=>String[_0x4c1733(0x1da)](_0x170211))[_0x4c1733(0x207)]('');}_0x42cadb(await _0x176c39());}(this);}[_0xce51b7(0x1f3)](){const _0x3edd07=_0xce51b7,_0x288b20=this[_0x3edd07(0x1eb)][_0x3edd07(0x1f8)][_0x3edd07(0x203)];_0x288b20[_0x3edd07(0x219)](_0x3edd07(0x20f))&&_0x288b20[_0x3edd07(0x1ef)](_0x3edd07(0x20f),{'allowAttributes':[_0x3edd07(0x208)]}),_0x288b20[_0x3edd07(0x219)](_0x3edd07(0x1f6))&&_0x288b20[_0x3edd07(0x1ef)](_0x3edd07(0x1f6),{'allowAttributes':[_0x3edd07(0x208)]});}[_0xce51b7(0x1e6)](){const _0x235c1d=_0xce51b7,_0x148272=this[_0x235c1d(0x1eb)];_0x148272[_0x235c1d(0x201)][_0x235c1d(0x1dd)](_0x235c1d(0x227))[_0x235c1d(0x1f1)]({'model':_0x235c1d(0x208),'view':_0x235c1d(0x210)}),_0x148272[_0x235c1d(0x201)][_0x235c1d(0x1dd)](_0x235c1d(0x212))[_0x235c1d(0x1fd)]({'model':{'key':_0x235c1d(0x208),'value':_0x4ea2fd=>_0x4ea2fd[_0x235c1d(0x221)](_0x235c1d(0x210))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4bc6eb=_0x148272[_0x235c1d(0x200)][_0x235c1d(0x206)](_0x235c1d(0x1e3));_0x4bc6eb&&this[_0x235c1d(0x1ed)](_0x4bc6eb,_0x235c1d(0x20b),(_0x502bdb,[_0x168ec6,_0x1b92e2])=>{const _0x486697=_0x235c1d;_0x168ec6[_0x486697(0x226)](_0x486697(0x208),_0x1b92e2);});}[_0xce51b7(0x1f5)](){const _0x2f74ae=_0xce51b7,_0x203bc4=this[_0x2f74ae(0x1eb)][_0x2f74ae(0x204)][_0x2f74ae(0x206)](_0x2f74ae(0x1fb))||{},_0x5a5687=this[_0x2f74ae(0x1eb)][_0x2f74ae(0x204)][_0x2f74ae(0x206)](_0x2f74ae(0x205))||'';this[_0x2f74ae(0x1e8)]=_0x27a062(_0x11f6d5[_0x2f74ae(0x1f0)],_0x2f74ae(0x1d8),{..._0x203bc4,'pubkey':_0x5a5687,'ctx-name':_0x2f74ae(0x1f7)+this[_0x2f74ae(0x223)],'sourceList':'','imgOnly':_0x2f74ae(0x1d9),'removeCopyright':_0x2f74ae(0x1d9),'localeName':this[_0x2f74ae(0x1eb)][_0x2f74ae(0x220)][_0x2f74ae(0x20a)],'externalSourcesEmbedCss':_0x2f74ae(0x1d7)}),this[_0x2f74ae(0x1e8)][_0x2f74ae(0x1ec)]=_0xd8cbb0=>{const _0x34ad0e=_0x2f74ae;if(_0x34ad0e(0x1ff)==_0xd8cbb0)return _0x34ad0e(0x21d);},_0x11f6d5[_0x2f74ae(0x1f0)][_0x2f74ae(0x1f4)][_0x2f74ae(0x1d5)](this[_0x2f74ae(0x1e8)]);}[_0xce51b7(0x1fe)](){const _0x1bbb4a=_0xce51b7;this[_0x1bbb4a(0x211)]=_0x27a062(_0x11f6d5[_0x1bbb4a(0x1f0)],_0x1bbb4a(0x21c),{'ctx-name':_0x1bbb4a(0x1f7)+this[_0x1bbb4a(0x223)]}),_0x11f6d5[_0x1bbb4a(0x1f0)][_0x1bbb4a(0x1f4)][_0x1bbb4a(0x1d5)](this[_0x1bbb4a(0x211)]);}[_0xce51b7(0x1d6)](){const _0x461bd9=_0xce51b7,_0x2d2696=this[_0x461bd9(0x1eb)][_0x461bd9(0x200)][_0x461bd9(0x206)](_0x461bd9(0x1de));_0x2d2696&&this[_0x461bd9(0x1ed)](_0x2d2696,_0x461bd9(0x229),()=>{const _0x342921=_0x461bd9,_0x1daae3=this[_0x342921(0x1eb)][_0x342921(0x1f8)][_0x342921(0x1f0)][_0x342921(0x1e0)][_0x342921(0x20c)]();_0x1daae3&&_0x1daae3[_0x342921(0x221)](_0x342921(0x208))&&this[_0x342921(0x1eb)][_0x342921(0x224)][_0x342921(0x218)][_0x342921(0x1e5)](_0x342921(0x1fc),()=>{const _0x54d076=_0x342921;_0x2879d7(this[_0x54d076(0x1eb)],_0x1daae3);});});const _0x5c3bb3=this[_0x461bd9(0x1eb)][_0x461bd9(0x200)][_0x461bd9(0x206)](_0x461bd9(0x225));_0x5c3bb3&&this[_0x461bd9(0x1ed)](_0x5c3bb3,_0x461bd9(0x229),()=>{const _0x4b34c3=_0x461bd9,_0x4ae775=this[_0x4b34c3(0x1eb)][_0x4b34c3(0x1f8)][_0x4b34c3(0x1f0)][_0x4b34c3(0x1e0)][_0x4b34c3(0x20c)]();_0x4ae775&&_0x4ae775[_0x4b34c3(0x221)](_0x4b34c3(0x208))&&this[_0x4b34c3(0x1eb)][_0x4b34c3(0x224)][_0x4b34c3(0x218)][_0x4b34c3(0x1e5)](_0x4b34c3(0x1fc),()=>{const _0xe544e0=_0x4b34c3;_0x2879d7(this[_0xe544e0(0x1eb)],_0x4ae775);});});}}
23
+ const _0x520a94=_0x1a00;(function(_0x37865c,_0x5e8ed6){const _0x264217=_0x1a00,_0x26bbd1=_0x37865c();while(!![]){try{const _0x2f2bd8=parseInt(_0x264217(0x1b0))/0x1*(-parseInt(_0x264217(0x1db))/0x2)+-parseInt(_0x264217(0x1ae))/0x3*(-parseInt(_0x264217(0x1a1))/0x4)+parseInt(_0x264217(0x18f))/0x5*(-parseInt(_0x264217(0x1a6))/0x6)+parseInt(_0x264217(0x1af))/0x7+parseInt(_0x264217(0x1d1))/0x8*(-parseInt(_0x264217(0x1dd))/0x9)+-parseInt(_0x264217(0x1d5))/0xa+parseInt(_0x264217(0x1c6))/0xb;if(_0x2f2bd8===_0x5e8ed6)break;else _0x26bbd1['push'](_0x26bbd1['shift']());}catch(_0x42d250){_0x26bbd1['push'](_0x26bbd1['shift']());}}}(_0x1176,0x3dae9));import{Plugin as _0x45cb89}from'ckeditor5/src/core.js';function _0x1a00(_0x5e2458,_0x488537){const _0x11766e=_0x1176();return _0x1a00=function(_0x1a00d3,_0x5d8750){_0x1a00d3=_0x1a00d3-0x18a;let _0xc615e2=_0x11766e[_0x1a00d3];return _0xc615e2;},_0x1a00(_0x5e2458,_0x488537);}import{Dialog as _0x41d095}from'ckeditor5/src/ui.js';import{createElement as _0x47eabd,global as _0x88e0eb,uid as _0x3eb39c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x557870}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1da486}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e047b}from'./utils/editingutils.js';function _0x1176(){const _0x1698b7=['config','schema','uploadcareImageReplace','selection','add','uc-config','_initCtx','isPremiumPlugin','href','closeMax','execute','replaceImageSource','body','for','true','input[uploadcare-file-input]','init','12mUhzLF','locale','data-uc-image-id','model','insertImage','6qDwPxq','ctxElement','appendChild','upcast','join','uploadcare','extend','remove','167595VrkxmL','3154774HwBODY','25VIwSac','downcast','requires','view','isRegistered','uploader-','conversion','once','_configElement','imageBlock','removeAttribute','configElement','attributeToAttribute','iconHrefResolver','_ctxElement','get','uploadcareImageId','document','elementToAttribute','_initConfig','imageInline','fromCharCode','5890984fcWDcI','_initSchema','afterInit','ucContextId','contentLanguage','getAttribute','commands','uploadcare.pubkey','PictureEditing','\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','uploadcare.uploader','819400lCbGmP','cleanupImage','uc-upload-ctx-provider','listenTo','516090nKPdcJ','#uc-icon-arrow-down','getSelectedElement','pluginName','isOfficialPlugin','querySelector','21228tIUGon','editor','27OcqpaF','destroy','map','editing','_initConversion','UploadcareEditing','render','_initImageProcessingIndicator','1384690ArcqMF'];_0x1176=function(){return _0x1698b7;};return _0x1176();}export class UploadcareEditing extends _0x45cb89{[_0x520a94(0x1b8)]=null;[_0x520a94(0x1be)]=null;static get[_0x520a94(0x1d8)](){const _0x4e061c=_0x520a94;return _0x4e061c(0x18c);}static get[_0x520a94(0x1b2)](){const _0x5488d3=_0x520a94;return[_0x5488d3(0x1ce),_0x1da486,_0x41d095];}static get[_0x520a94(0x1d9)](){return!0x0;}static get[_0x520a94(0x197)](){return!0x0;}[_0x520a94(0x1c9)];get[_0x520a94(0x1bb)](){const _0x17d726=_0x520a94;return this[_0x17d726(0x1b8)];}get[_0x520a94(0x1a7)](){const _0x13aa68=_0x520a94;return this[_0x13aa68(0x1be)];}constructor(_0x27ec99){const _0x2fb943=_0x520a94;super(_0x27ec99),this[_0x2fb943(0x1c9)]=_0x3eb39c();}[_0x520a94(0x1a0)](){const _0x1bc71e=_0x520a94,_0x1fe5a0=this[_0x1bc71e(0x1dc)];_0x1fe5a0[_0x1bc71e(0x1cc)][_0x1bc71e(0x194)](_0x1bc71e(0x1ab),new _0x557870(_0x1fe5a0));}[_0x520a94(0x1c8)](){const _0x25e8ad=_0x520a94;this[_0x25e8ad(0x1c7)](),this[_0x25e8ad(0x18b)](),this[_0x25e8ad(0x1c3)](),this[_0x25e8ad(0x196)](),this[_0x25e8ad(0x18e)](),this[_0x25e8ad(0x1d4)](this[_0x25e8ad(0x1dc)],_0x25e8ad(0x1de),()=>{const _0x4a94f0=_0x25e8ad;this[_0x4a94f0(0x1b8)]&&(this[_0x4a94f0(0x1b8)][_0x4a94f0(0x1ad)](),this[_0x4a94f0(0x1b8)]=null),this[_0x4a94f0(0x1be)]&&(this[_0x4a94f0(0x1be)][_0x4a94f0(0x1ad)](),this[_0x4a94f0(0x1be)]=null);const _0x220be0=_0x88e0eb[_0x4a94f0(0x1c1)][_0x4a94f0(0x1da)](_0x4a94f0(0x19f));_0x220be0&&_0x220be0[_0x4a94f0(0x1ad)]();}),async function(_0x374d79){const _0x39f578=_0x1952c5([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x200c7f=0x535f8c3a,_0x362931=0x5358f672^_0x200c7f,_0xaddfc5=window[_0x1952c5([0x44,0x61,0x74,0x65])][_0x1952c5([0x6e,0x6f,0x77])](),_0x59069d=_0x374d79[_0x1952c5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a3c3e=new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42a2b0=>{_0x59069d[_0x1952c5([0x6f,0x6e,0x63,0x65])](_0x1952c5([0x72,0x65,0x61,0x64,0x79]),_0x42a2b0);}),_0x4b1ff2={[_0x1952c5([0x6b,0x74,0x79])]:_0x1952c5([0x45,0x43]),[_0x1952c5([0x75,0x73,0x65])]:_0x1952c5([0x73,0x69,0x67]),[_0x1952c5([0x63,0x72,0x76])]:_0x1952c5([0x50,0x2d,0x32,0x35,0x36]),[_0x1952c5([0x78])]:_0x1952c5([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]),[_0x1952c5([0x79])]:_0x1952c5([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]),[_0x1952c5([0x61,0x6c,0x67])]:_0x1952c5([0x45,0x53,0x32,0x35,0x36])},_0x371104=_0x59069d[_0x1952c5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1952c5([0x67,0x65,0x74])](_0x1952c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x187897(){let _0x2885af,_0xd6de93=null,_0x45681e=null;try{if(_0x371104==_0x1952c5([0x47,0x50,0x4c]))return _0x1952c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2885af=_0x3dd0c1(),!_0x2885af)return _0x1952c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2885af[_0x1952c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45681e=_0x112fc3(_0x2885af[_0x1952c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2885af[_0x1952c5([0x6a,0x74,0x69])])),await _0x37423c()?_0x2c647b()?_0x2a30d6()?_0x1952c5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f5ff6()?(_0x2885af[_0x1952c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1952c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd6de93=_0x32078b(_0x1952c5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2885af[_0x1952c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1952c5([0x74,0x72,0x69,0x61,0x6c])&&(_0xd6de93=_0x32078b(_0x1952c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x591827()):_0x1952c5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1952c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1952c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1952c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a30d6(){const _0x33bda2=[_0x1952c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1952c5([0x74,0x72,0x69,0x61,0x6c])][_0x1952c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2885af[_0x1952c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaddfc5/0x3e8:0xe10*_0x362931;return _0x2885af[_0x1952c5([0x65,0x78,0x70])]<_0x33bda2;}function _0x2c647b(){const _0x46e98c=_0x2885af[_0x1952c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46e98c&&(!!_0x46e98c[_0x1952c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1952c5([0x2a]))||!!_0x46e98c[_0x1952c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1952c5([0x55,0x50,0x4c,0x43])));}function _0x2f5ff6(){const _0x4cf232=_0x1a00,_0x263418=_0x2885af[_0x1952c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x263418||0x0==_0x263418[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x355603}=new URL(window[_0x1952c5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4cf232(0x198)]);if(_0x263418[_0x1952c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355603))return!0x0;const _0x411daf=_0x355603[_0x1952c5([0x73,0x70,0x6c,0x69,0x74])](_0x1952c5([0x2e]));return _0x263418[_0x1952c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x94813c=>_0x94813c[_0x1952c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1952c5([0x2a])))[_0x1952c5([0x6d,0x61,0x70])](_0x515e94=>_0x515e94[_0x1952c5([0x73,0x70,0x6c,0x69,0x74])](_0x1952c5([0x2e])))[_0x1952c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57f057=>_0x57f057[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x411daf[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1952c5([0x6d,0x61,0x70])](_0x167a49=>Array(_0x411daf[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x167a49[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1952c5([0x66,0x69,0x6c,0x6c])](_0x167a49[0x0]===_0x1952c5([0x2a])?_0x1952c5([0x2a]):'')[_0x1952c5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x167a49))[_0x1952c5([0x73,0x6f,0x6d,0x65])](_0x546594=>_0x411daf[_0x1952c5([0x65,0x76,0x65,0x72,0x79])]((_0x1c210b,_0x5313cc)=>_0x546594[_0x5313cc]===_0x1c210b||_0x546594[_0x5313cc]===_0x1952c5([0x2a])));}function _0x591827(){return _0xd6de93&&_0x45681e?new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17d318,_0x4b4a81)=>{_0xd6de93[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x17d318,_0x4b4a81),_0x45681e[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x21ad20=>{_0x21ad20!=_0x1952c5([0x56,0x61,0x6c,0x69,0x64])&&_0x17d318(_0x21ad20);},_0x4b4a81);}):_0xd6de93||_0x45681e||_0x1952c5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x112fc3(_0x2ad021,_0x423771){return new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431f46=>{if(_0x5c2ba3())return _0x431f46(_0x1952c5([0x56,0x61,0x6c,0x69,0x64]));_0x2297f7(),_0x59069d[_0x1952c5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1952c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dbe8d=!0x1;const _0xc14df7=_0x3eb39c();function _0x196225(_0x209da0){return!!_0x209da0&&(typeof _0x209da0===_0x1952c5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x209da0===_0x1952c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x209da0[_0x1952c5([0x74,0x68,0x65,0x6e])]===_0x1952c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x209da0[_0x1952c5([0x63,0x61,0x74,0x63,0x68])]===_0x1952c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x367f06(_0x4ed224){_0x172d3d(_0x4ed224)[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x18c2e5=>{if(!_0x18c2e5||_0x18c2e5[_0x1952c5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1952c5([0x6f,0x6b]))return _0x1952c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1506a7(_0x2b6996(_0xc14df7+_0x423771))!=_0x18c2e5[_0x1952c5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1952c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1952c5([0x56,0x61,0x6c,0x69,0x64]);})[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x59053a=>(_0x356de6(),_0x59053a),()=>{const _0x1ad148=_0xbbdb8b();return null==_0x1ad148?(_0x356de6(),_0x1952c5([0x56,0x61,0x6c,0x69,0x64])):_0x1952c5(_0xaddfc5-_0x1ad148>(0x7753083a^_0x200c7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x431f46)[_0x1952c5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x431f46(_0x1952c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d7018=0x536962ba^_0x200c7f;function _0x356de6(){const _0x582bb7=_0x1952c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1506a7(_0x2b6996(_0x2ad021)),_0x3c8702=_0x206082(_0x1506a7(window[_0x1952c5([0x4d,0x61,0x74,0x68])][_0x1952c5([0x63,0x65,0x69,0x6c])](_0xaddfc5/_0x3d7018)));window[_0x1952c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1952c5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x582bb7,_0x3c8702);}function _0xbbdb8b(){const _0x2434aa=_0x1952c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x1506a7(_0x2b6996(_0x2ad021)),_0x95ea5d=window[_0x1952c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1952c5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2434aa);return _0x95ea5d?window[_0x1952c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x206082(_0x95ea5d),0x10)*_0x3d7018:null;}function _0x172d3d(_0x432ba5){return new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14f177,_0x1b302c)=>{_0x432ba5[_0x1952c5([0x74,0x68,0x65,0x6e])](_0x14f177,_0x1b302c),window[_0x1952c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b302c,0x535e58fa^_0x200c7f);});}}_0x59069d[_0x1952c5([0x6f,0x6e])](_0x1952c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x31c3cc,_0x6644a)=>{if(_0x6644a[0x0]!=_0x2ad021)return _0x431f46(_0x1952c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6644a[0x1]={..._0x6644a[0x1],[_0x1952c5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc14df7};},{[_0x1952c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1952c5([0x68,0x69,0x67,0x68])}),_0x59069d[_0x1952c5([0x6f,0x6e])](_0x1952c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35a5d5=>{_0x196225(_0x35a5d5[_0x1952c5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dbe8d=!0x0,_0x367f06(_0x35a5d5[_0x1952c5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1952c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1952c5([0x6c,0x6f,0x77])}),_0x3a3c3e[_0x1952c5([0x74,0x68,0x65,0x6e])](()=>{_0x2dbe8d||_0x431f46(_0x1952c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c2ba3(){return _0x59069d[_0x1952c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1952c5([0x76,0x69,0x65,0x77])][_0x1952c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1952c5([0x61,0x75,0x74,0x6f]);}function _0x2297f7(){_0x59069d[_0x1952c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1952c5([0x76,0x69,0x65,0x77])][_0x1952c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1952c5([0x61,0x75,0x74,0x6f]);}}function _0x32078b(_0x538105){const _0x332459=[new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59668b=>setTimeout(_0x59668b,0x5356b2f6^_0x200c7f)),_0x3a3c3e[_0x1952c5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x299207=>{let _0x569c34=0x0;_0x59069d[_0x1952c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1952c5([0x6f,0x6e])](_0x1952c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11d1f2,_0x98a135)=>{_0x98a135[0x0][_0x1952c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x569c34++,_0x569c34==(0x535f8dc2^_0x200c7f)&&(_0x299207(),_0x11d1f2[_0x1952c5([0x6f,0x66,0x66])]());});}))];return window[_0x1952c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1952c5([0x72,0x61,0x63,0x65])](_0x332459)[_0x1952c5([0x74,0x68,0x65,0x6e])](()=>_0x538105);}async function _0x5168e0(){await _0x3a3c3e,_0x59069d[_0x1952c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1952c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7ab5,_0x59069d[_0x1952c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x1952c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7ab5,_0x59069d[_0x1952c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1952c5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x336d73(_0x318667){const _0x313850=_0x569f47();_0x59069d[_0x313850]=_0x1952c5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318667,_0x318667!=_0x1952c5([0x56,0x61,0x6c,0x69,0x64])&&_0x5168e0();}function _0x569f47(){const _0x3b5d7e=window[_0x1952c5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1952c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1952c5([0x6e,0x6f,0x77])]())[_0x1952c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1952c5([0x2e]),'');let _0x3b2803=_0x1952c5([0x68]);for(let _0x337110=0x0;_0x337110<_0x3b5d7e[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337110+=0x2){let _0x5b7a51=window[_0x1952c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b5d7e[_0x1952c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x337110,_0x337110+0x2));_0x5b7a51>=_0x39f578[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b7a51-=_0x39f578[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b2803+=_0x39f578[_0x5b7a51];}return _0x3b2803;}function _0x3dd0c1(){const _0x23c5c0=_0x371104[_0x1952c5([0x73,0x70,0x6c,0x69,0x74])](_0x1952c5([0x2e]));if(0x3!=_0x23c5c0[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x489455(_0x23c5c0[0x1]);function _0x489455(_0x56b054){const _0x32819e=_0x4e2f5f(_0x56b054);return _0x32819e&&_0x9934fd()?_0x32819e:null;function _0x9934fd(){const _0x274bb1=_0x32819e[_0x1952c5([0x6a,0x74,0x69])],_0x95d1e=window[_0x1952c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274bb1[_0x1952c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274bb1[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1293aa={..._0x32819e,[_0x1952c5([0x6a,0x74,0x69])]:_0x274bb1[_0x1952c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274bb1[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1293aa[_0x1952c5([0x76,0x63])],_0x2b6996(_0x1293aa)==_0x95d1e;}}}async function _0x37423c(){let _0x1ef097=!0x0;try{const _0x4e3eb8=_0x371104[_0x1952c5([0x73,0x70,0x6c,0x69,0x74])](_0x1952c5([0x2e])),[_0x3f97b6,_0x419374,_0x1614df]=_0x4e3eb8;return _0x168ed0(_0x3f97b6),await _0xc7ef9d(_0x3f97b6,_0x419374,_0x1614df),_0x1ef097;}catch{return!0x1;}function _0x168ed0(_0x8df5ce){const _0x399368=_0x4e2f5f(_0x8df5ce);_0x399368&&_0x399368[_0x1952c5([0x61,0x6c,0x67])]==_0x1952c5([0x45,0x53,0x32,0x35,0x36])||(_0x1ef097=!0x1);}async function _0xc7ef9d(_0x31d5e6,_0x2e7ec4,_0x7a77af){const _0x599a9e=window[_0x1952c5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1952c5([0x66,0x72,0x6f,0x6d])](_0x1dd856(_0x7a77af),_0xc7b679=>_0xc7b679[_0x1952c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b7bd7=new window[(_0x1952c5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1952c5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31d5e6+_0x1952c5([0x2e])+_0x2e7ec4),_0x2fcf27=window[_0x1952c5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1952c5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2fcf27)return;const _0x2b584b=await _0x2fcf27[_0x1952c5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1952c5([0x6a,0x77,0x6b]),_0x4b1ff2,{[_0x1952c5([0x6e,0x61,0x6d,0x65])]:_0x1952c5([0x45,0x43,0x44,0x53,0x41]),[_0x1952c5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1952c5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1952c5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2fcf27[_0x1952c5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1952c5([0x6e,0x61,0x6d,0x65])]:_0x1952c5([0x45,0x43,0x44,0x53,0x41]),[_0x1952c5([0x68,0x61,0x73,0x68])]:{[_0x1952c5([0x6e,0x61,0x6d,0x65])]:_0x1952c5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b584b,_0x599a9e,_0x5b7bd7)||(_0x1ef097=!0x1);}}function _0x4e2f5f(_0x2a7422){return _0x2a7422[_0x1952c5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1952c5([0x65,0x79]))?JSON[_0x1952c5([0x70,0x61,0x72,0x73,0x65])](_0x1dd856(_0x2a7422)):null;}function _0x1dd856(_0x601b03){return window[_0x1952c5([0x61,0x74,0x6f,0x62])](_0x601b03[_0x1952c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1952c5([0x2b]))[_0x1952c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1952c5([0x2f])));}function _0x2b6996(_0x31e955){let _0x460056=0x1505;function _0x159805(_0x4dcc06){for(let _0x261348=0x0;_0x261348<_0x4dcc06[_0x1952c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261348++){const _0x4567fa=_0x4dcc06[_0x1952c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261348);_0x460056=(_0x460056<<0x5)+_0x460056+_0x4567fa,_0x460056&=_0x460056;}}function _0xd4a2b9(_0x17e9dd){Array[_0x1952c5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17e9dd)?_0x17e9dd[_0x1952c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd4a2b9):_0x17e9dd&&typeof _0x17e9dd==_0x1952c5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1952c5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17e9dd)[_0x1952c5([0x73,0x6f,0x72,0x74])]()[_0x1952c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12f855,_0x192e64])=>{_0x159805(_0x12f855),_0xd4a2b9(_0x192e64);}):_0x159805(window[_0x1952c5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17e9dd));}return _0xd4a2b9(_0x31e955),_0x460056>>>0x0;}function _0x1506a7(_0x30de05){return _0x30de05[_0x1952c5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1952c5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1952c5([0x30]));}function _0x206082(_0x407b97){return _0x407b97[_0x1952c5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1952c5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1952c5([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b7ab5(){}function _0x1952c5(_0xcb7229){const _0xb4ef92=_0x1a00;return _0xcb7229[_0xb4ef92(0x1df)](_0x5d897a=>String[_0xb4ef92(0x1c5)](_0x5d897a))[_0xb4ef92(0x1aa)]('');}_0x336d73(await _0x187897());}(this);}[_0x520a94(0x1c7)](){const _0x31406e=_0x520a94,_0x59884e=this[_0x31406e(0x1dc)][_0x31406e(0x1a4)][_0x31406e(0x191)];_0x59884e[_0x31406e(0x1b4)](_0x31406e(0x1b9))&&_0x59884e[_0x31406e(0x1ac)](_0x31406e(0x1b9),{'allowAttributes':[_0x31406e(0x1c0)]}),_0x59884e[_0x31406e(0x1b4)](_0x31406e(0x1c4))&&_0x59884e[_0x31406e(0x1ac)](_0x31406e(0x1c4),{'allowAttributes':[_0x31406e(0x1c0)]});}[_0x520a94(0x18b)](){const _0x4a6018=_0x520a94,_0x50cdea=this[_0x4a6018(0x1dc)];_0x50cdea[_0x4a6018(0x1b6)][_0x4a6018(0x19d)](_0x4a6018(0x1b1))[_0x4a6018(0x1bc)]({'model':_0x4a6018(0x1c0),'view':_0x4a6018(0x1a3)}),_0x50cdea[_0x4a6018(0x1b6)][_0x4a6018(0x19d)](_0x4a6018(0x1a9))[_0x4a6018(0x1c2)]({'model':{'key':_0x4a6018(0x1c0),'value':_0x254424=>_0x254424[_0x4a6018(0x1cb)](_0x4a6018(0x1a3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x17b336=_0x50cdea[_0x4a6018(0x1cc)][_0x4a6018(0x1bf)](_0x4a6018(0x19b));_0x17b336&&this[_0x4a6018(0x1d4)](_0x17b336,_0x4a6018(0x1d2),(_0x22528e,[_0x503cd9,_0x3b6579])=>{const _0x1bef1d=_0x4a6018;_0x503cd9[_0x1bef1d(0x1ba)](_0x1bef1d(0x1c0),_0x3b6579);});}[_0x520a94(0x1c3)](){const _0x3de71c=_0x520a94,_0x1d9f74=this[_0x3de71c(0x1dc)][_0x3de71c(0x190)][_0x3de71c(0x1bf)](_0x3de71c(0x1d0))||{},_0x2f51ac=this[_0x3de71c(0x1dc)][_0x3de71c(0x190)][_0x3de71c(0x1bf)](_0x3de71c(0x1cd))||'';this[_0x3de71c(0x1b8)]=_0x47eabd(_0x88e0eb[_0x3de71c(0x1c1)],_0x3de71c(0x195),{..._0x1d9f74,'pubkey':_0x2f51ac,'ctx-name':_0x3de71c(0x1b5)+this[_0x3de71c(0x1c9)],'sourceList':'','imgOnly':_0x3de71c(0x19e),'removeCopyright':_0x3de71c(0x19e),'localeName':this[_0x3de71c(0x1dc)][_0x3de71c(0x1a2)][_0x3de71c(0x1ca)],'externalSourcesEmbedCss':_0x3de71c(0x1cf)}),this[_0x3de71c(0x1b8)][_0x3de71c(0x1bd)]=_0x184410=>{const _0x320aa0=_0x3de71c;if(_0x320aa0(0x199)==_0x184410)return _0x320aa0(0x1d6);},_0x88e0eb[_0x3de71c(0x1c1)][_0x3de71c(0x19c)][_0x3de71c(0x1a8)](this[_0x3de71c(0x1b8)]);}[_0x520a94(0x196)](){const _0x222ce0=_0x520a94;this[_0x222ce0(0x1be)]=_0x47eabd(_0x88e0eb[_0x222ce0(0x1c1)],_0x222ce0(0x1d3),{'ctx-name':_0x222ce0(0x1b5)+this[_0x222ce0(0x1c9)]}),_0x88e0eb[_0x222ce0(0x1c1)][_0x222ce0(0x19c)][_0x222ce0(0x1a8)](this[_0x222ce0(0x1be)]);}[_0x520a94(0x18e)](){const _0x2d1f84=_0x520a94,_0x570fda=this[_0x2d1f84(0x1dc)][_0x2d1f84(0x1cc)][_0x2d1f84(0x1bf)](_0x2d1f84(0x1a5));_0x570fda&&this[_0x2d1f84(0x1d4)](_0x570fda,_0x2d1f84(0x19a),()=>{const _0x9cfd36=_0x2d1f84,_0x33296c=this[_0x9cfd36(0x1dc)][_0x9cfd36(0x1a4)][_0x9cfd36(0x1c1)][_0x9cfd36(0x193)][_0x9cfd36(0x1d7)]();_0x33296c&&_0x33296c[_0x9cfd36(0x1cb)](_0x9cfd36(0x1c0))&&this[_0x9cfd36(0x1dc)][_0x9cfd36(0x18a)][_0x9cfd36(0x1b3)][_0x9cfd36(0x1b7)](_0x9cfd36(0x18d),()=>{const _0x5328ee=_0x9cfd36;_0x2e047b(this[_0x5328ee(0x1dc)],_0x33296c);});});const _0x41d2ca=this[_0x2d1f84(0x1dc)][_0x2d1f84(0x1cc)][_0x2d1f84(0x1bf)](_0x2d1f84(0x192));_0x41d2ca&&this[_0x2d1f84(0x1d4)](_0x41d2ca,_0x2d1f84(0x19a),()=>{const _0x2cf746=_0x2d1f84,_0x4d8d39=this[_0x2cf746(0x1dc)][_0x2cf746(0x1a4)][_0x2cf746(0x1c1)][_0x2cf746(0x193)][_0x2cf746(0x1d7)]();_0x4d8d39&&_0x4d8d39[_0x2cf746(0x1cb)](_0x2cf746(0x1c0))&&this[_0x2cf746(0x1dc)][_0x2cf746(0x18a)][_0x2cf746(0x1b3)][_0x2cf746(0x1b7)](_0x2cf746(0x18d),()=>{const _0x29b99b=_0x2cf746;_0x2e047b(this[_0x29b99b(0x1dc)],_0x4d8d39);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x104c4f,ObservableMixin as _0x2ddf27}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x358d85}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5daa4c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x34f796}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2e7e75}from'../../utils/uploadutils.js';import{getImageUrls as _0x514647,getImageDimension as _0x4c9d4a}from'../../utils/editingutils.js';import{isAncestor as _0x2d4dfc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2ddf27(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x16a5ca,_0x52a920,_0x4fa874){super(),this['_editor']=_0x16a5ca,this['_dialog']=_0x52a920,this['_imageElement']=_0x4fa874,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 _0x17d4d9=this['_imageElement'],_0x10f4cb=_0x17d4d9['getAttribute']('uploadcareImageId'),_0x366b70=_0x17d4d9['getAttribute']('src');if(_0x10f4cb)await this['_loadImageInfo'](_0x10f4cb,_0x366b70);else{if(this['_imageCache']['has'](_0x366b70)){const _0x230f67=this['_imageCache']['get'](_0x366b70);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x230f67['url'],this['imageDimension']=_0x230f67['dimension'],this['imageId']=_0x230f67['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x276579}=this['_editor'],t=_0x276579['t'],_0x131e3a=new _0x34f796(_0x276579,this['imageStatus'],this['_attributes']);_0x131e3a['bind']('status')['to'](this,'imageStatus'),_0x131e3a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x131e3a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x131e3a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x131e3a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5daa4c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x131e3a,'position':_0x358d85['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x131e3a['focus']();},'onHide':()=>{_0x131e3a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd35adb=>!_0x2d4dfc(_0xd35adb,_0x131e3a['element'])}});}['_loadImageInfo'](_0x4a80ff,_0x40368d){return _0x2e7e75['getInfo'](_0x4a80ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b2d48=>{const {width:_0x545658,height:_0x1f83af}=_0x2b2d48['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40368d,this['imageDimension']={'width':_0x545658,'height':_0x1f83af},this['imageId']=_0x4a80ff;})['catch'](_0x180951=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x180951['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bef39,_0x7478f0){return this['_getImageAsFile'](_0x5bef39)['then'](_0x1394b0=>_0x2e7e75['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x7478f0['signal'],'file':_0x1394b0,'onProgress':_0x39a183=>{_0x39a183&&_0x39a183['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39a183['value']));}}))['then'](_0x1a2f9b=>{const {width:_0x957052,height:_0x33577e}=_0x1a2f9b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a2f9b['cdnUrl'],this['imageDimension']={'width':_0x957052,'height':_0x33577e},this['imageId']=_0x1a2f9b['uuid'],this['imageUploadProgress']=null;const _0x3d8e18=_0x5bef39['getAttribute']('src');this['_imageCache']['set'](_0x3d8e18,{'id':_0x1a2f9b['uuid'],'url':_0x1a2f9b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3371a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3371a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18b958,_0x22b810){_0x18b958['on']('apply',(_0x39f478,_0x56c09e)=>{this['_replaceImage'](_0x22b810,_0x56c09e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18b958['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18b958['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1a5b7d,_0x8a8fd4,_0x759b22){const _0x1594a1=this['_editor'],{width:_0x57a98d,height:_0x4655e5}=_0x4c9d4a(_0x8a8fd4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1de2f2,imageSources:_0x3b20f}=_0x514647(_0x8a8fd4,_0x57a98d);_0x1594a1['model']['change'](_0x2e0945=>{if('$graveyard'===_0x1a5b7d['root']['rootName']){_0x1594a1['execute']('insertImage',{'imageType':_0x1a5b7d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1a5b7d['getAttributes']()),'uploadcareImageId':_0x759b22,'src':_0x1de2f2,'sources':_0x3b20f,'width':_0x57a98d,'height':_0x4655e5}});const _0x25c0a5=_0x1a5b7d['getChildren']();_0x1a5b7d=_0x1594a1['model']['document']['selection']['getSelectedElement']();for(const _0x1b6017 of _0x25c0a5)_0x2e0945['append'](_0x2e0945['cloneElement'](_0x1b6017),_0x1a5b7d);}else _0x2e0945['setSelection'](_0x1a5b7d,'on'),_0x1594a1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1a5b7d['getAttributes']()),'uploadcareImageId':_0x759b22,'src':_0x1de2f2,'sources':_0x3b20f,'width':_0x57a98d,'height':_0x4655e5},_0x1a5b7d);_0x2e0945['setSelection'](_0x1a5b7d,'on');});}async['_getImageAsFile'](_0x112ea7){const _0x31008b=_0x104c4f['window'],_0x3fb2f2=_0x104c4f['document']['location']['href'],_0x4bf09e=new _0x31008b['URL'](_0x112ea7['getAttribute']('src'),_0x3fb2f2);if('data:'===_0x4bf09e['protocol']){const _0x40f47=_0x4bf09e['href']['split'](','),_0x29cc86=_0x40f47[0x0]['match'](/:(.*?);/)[0x1],_0x44ddac=_0x29cc86['split']('/')[0x1],_0x4f4c30=_0x31008b['atob'](_0x40f47[_0x40f47['length']-0x1]);let _0x589d4d=_0x4f4c30['length'];const _0x2dc8d6=new _0x31008b['Uint8Array'](_0x589d4d);for(;_0x589d4d--;)_0x2dc8d6[_0x589d4d]=_0x4f4c30['charCodeAt'](_0x589d4d);return new _0x31008b['File']([_0x2dc8d6],'image.'+_0x44ddac,{'type':_0x29cc86});}const _0x11a675=_0x4bf09e['href']['split']('/'),_0x255482=_0x11a675[_0x11a675['length']-0x1],_0x6469c6=_0x255482['split']('.')[0x1];return _0x31008b['fetch'](_0x4bf09e['href'])['then'](_0x1ed001=>_0x1ed001['clone']()['blob']())['then'](_0x453035=>new _0x31008b['File']([_0x453035],_0x255482,{'type':'image/'+_0x6469c6}));}}
23
+ import{global as _0x1e9db3,ObservableMixin as _0x56487f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x497de4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4bd577}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x91f81c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43d646}from'../../utils/uploadutils.js';import{getImageUrls as _0x9c86eb,getImageDimension as _0x529ef2}from'../../utils/editingutils.js';import{isAncestor as _0x4de160}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x56487f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x420d7a,_0x1fd110,_0x39ec1d){super(),this['_editor']=_0x420d7a,this['_dialog']=_0x1fd110,this['_imageElement']=_0x39ec1d,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 _0x1c0d01=this['_imageElement'],_0x65796a=_0x1c0d01['getAttribute']('uploadcareImageId'),_0x3aedaa=_0x1c0d01['getAttribute']('src');if(_0x65796a)await this['_loadImageInfo'](_0x65796a,_0x3aedaa);else{if(this['_imageCache']['has'](_0x3aedaa)){const _0x1319ce=this['_imageCache']['get'](_0x3aedaa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1319ce['url'],this['imageDimension']=_0x1319ce['dimension'],this['imageId']=_0x1319ce['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x41d339}=this['_editor'],t=_0x41d339['t'],_0x1ad18f=new _0x91f81c(_0x41d339,this['imageStatus'],this['_attributes']);_0x1ad18f['bind']('status')['to'](this,'imageStatus'),_0x1ad18f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1ad18f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1ad18f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1ad18f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4bd577,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1ad18f,'position':_0x497de4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1ad18f['focus']();},'onHide':()=>{_0x1ad18f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x241553=>!_0x4de160(_0x241553,_0x1ad18f['element'])}});}['_loadImageInfo'](_0x4b555c,_0x3e4856){return _0x43d646['getInfo'](_0x4b555c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x250fdb=>{const {width:_0x5496c4,height:_0x3e4303}=_0x250fdb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e4856,this['imageDimension']={'width':_0x5496c4,'height':_0x3e4303},this['imageId']=_0x4b555c;})['catch'](_0xe85cf9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe85cf9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43016f,_0x295a8d){return this['_getImageAsFile'](_0x43016f)['then'](_0x110699=>_0x43d646['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x295a8d['signal'],'file':_0x110699,'onProgress':_0x1f1178=>{_0x1f1178&&_0x1f1178['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f1178['value']));}}))['then'](_0x4a932b=>{const {width:_0x47e09d,height:_0x598e75}=_0x4a932b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a932b['cdnUrl'],this['imageDimension']={'width':_0x47e09d,'height':_0x598e75},this['imageId']=_0x4a932b['uuid'],this['imageUploadProgress']=null;const _0x5a1dbd=_0x43016f['getAttribute']('src');this['_imageCache']['set'](_0x5a1dbd,{'id':_0x4a932b['uuid'],'url':_0x4a932b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9ceb57=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9ceb57['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x288af6,_0x204bc0){_0x288af6['on']('apply',(_0x4fda38,_0x4df4cf)=>{this['_replaceImage'](_0x204bc0,_0x4df4cf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x288af6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x288af6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x54835e,_0x540fff,_0x212ae6){const _0x21fd9e=this['_editor'],{width:_0x2f3504,height:_0x43a366}=_0x529ef2(_0x540fff,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3d92dd,imageSources:_0x5321a2}=_0x9c86eb(_0x540fff,_0x2f3504);_0x21fd9e['model']['change'](_0x565296=>{if('$graveyard'===_0x54835e['root']['rootName']){_0x21fd9e['execute']('insertImage',{'imageType':_0x54835e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x54835e['getAttributes']()),'uploadcareImageId':_0x212ae6,'src':_0x3d92dd,'sources':_0x5321a2,'width':_0x2f3504,'height':_0x43a366}});const _0x2f590c=_0x54835e['getChildren']();_0x54835e=_0x21fd9e['model']['document']['selection']['getSelectedElement']();for(const _0x31c4c9 of _0x2f590c)_0x565296['append'](_0x565296['cloneElement'](_0x31c4c9),_0x54835e);}else _0x565296['setSelection'](_0x54835e,'on'),_0x21fd9e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x54835e['getAttributes']()),'uploadcareImageId':_0x212ae6,'src':_0x3d92dd,'sources':_0x5321a2,'width':_0x2f3504,'height':_0x43a366},_0x54835e);_0x565296['setSelection'](_0x54835e,'on');});}async['_getImageAsFile'](_0x6dcb6e){const _0x40dbf6=_0x1e9db3['window'],_0x3405ed=_0x1e9db3['document']['location']['href'],_0x2036fc=new _0x40dbf6['URL'](_0x6dcb6e['getAttribute']('src'),_0x3405ed);if('data:'===_0x2036fc['protocol']){const _0x4becbe=_0x2036fc['href']['split'](','),_0x3d92e8=_0x4becbe[0x0]['match'](/:(.*?);/)[0x1],_0x3e1900=_0x3d92e8['split']('/')[0x1],_0x20a502=_0x40dbf6['atob'](_0x4becbe[_0x4becbe['length']-0x1]);let _0x988cec=_0x20a502['length'];const _0x48ec90=new _0x40dbf6['Uint8Array'](_0x988cec);for(;_0x988cec--;)_0x48ec90[_0x988cec]=_0x20a502['charCodeAt'](_0x988cec);return new _0x40dbf6['File']([_0x48ec90],'image.'+_0x3e1900,{'type':_0x3d92e8});}const _0x30c5b3=_0x2036fc['href']['split']('/'),_0x25a753=_0x30c5b3[_0x30c5b3['length']-0x1],_0xfaf17=_0x25a753['split']('.')[0x1];return _0x40dbf6['fetch'](_0x2036fc['href'])['then'](_0x3b1e9f=>_0x3b1e9f['clone']()['blob']())['then'](_0x32200a=>new _0x40dbf6['File']([_0x32200a],_0x25a753,{'type':'image/'+_0xfaf17}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x549bcd,_0x4d9daa){const _0xfc6082=_0x22a8,_0x122542=_0x549bcd();while(!![]){try{const _0x5845be=parseInt(_0xfc6082(0xdd))/0x1*(parseInt(_0xfc6082(0xe4))/0x2)+-parseInt(_0xfc6082(0xea))/0x3+parseInt(_0xfc6082(0xe5))/0x4+parseInt(_0xfc6082(0xe6))/0x5+-parseInt(_0xfc6082(0xdc))/0x6*(-parseInt(_0xfc6082(0xe1))/0x7)+parseInt(_0xfc6082(0xe9))/0x8*(parseInt(_0xfc6082(0xe0))/0x9)+-parseInt(_0xfc6082(0xdb))/0xa;if(_0x5845be===_0x4d9daa)break;else _0x122542['push'](_0x122542['shift']());}catch(_0x506db4){_0x122542['push'](_0x122542['shift']());}}}(_0xe1d7,0x424f6));import{View as _0x1f05b5}from'ckeditor5/src/ui.js';function _0xe1d7(){const _0x17f0ee=['10386000vXpKfk','191028MMGUlC','1cVecNQ','uc-light','ck-uploadcare-theme','90vnxuIz','14AuTLoR','uc-cloud-image-editor','setTemplate','769166VLYzuX','614600DvpQZK','1953470PpqtVX','image-edit','set','265552kpzCGL','43011aIcuBf','bindTemplate','imageSrc'];_0xe1d7=function(){return _0x17f0ee;};return _0xe1d7();}function _0x22a8(_0x50e7c6,_0x7b2e87){const _0xe1d743=_0xe1d7();return _0x22a8=function(_0x22a8b3,_0x470cce){_0x22a8b3=_0x22a8b3-0xdb;let _0x110095=_0xe1d743[_0x22a8b3];return _0x110095;},_0x22a8(_0x50e7c6,_0x7b2e87);}export class UploadcareImageEditFormEditingView extends _0x1f05b5{constructor(_0x5a54c6,_0x2f9f90){const _0x336d53=_0x22a8;super(_0x5a54c6);const _0x51e8c7=this[_0x336d53(0xeb)];this[_0x336d53(0xe8)](_0x336d53(0xec),''),this[_0x336d53(0xe3)]({'tag':_0x336d53(0xe2),'attributes':{..._0x2f9f90,'class':[_0x336d53(0xde),_0x336d53(0xdf)],'ctx-name':_0x336d53(0xe7),'cdn-url':_0x51e8c7['to'](_0x336d53(0xec))}});}}
23
+ (function(_0x5b1c29,_0x48157f){const _0x12cc1c=_0x89d1,_0x1eaf59=_0x5b1c29();while(!![]){try{const _0x22c240=-parseInt(_0x12cc1c(0x118))/0x1+-parseInt(_0x12cc1c(0x10a))/0x2*(parseInt(_0x12cc1c(0x11a))/0x3)+parseInt(_0x12cc1c(0x113))/0x4+-parseInt(_0x12cc1c(0x119))/0x5*(-parseInt(_0x12cc1c(0x110))/0x6)+parseInt(_0x12cc1c(0x10b))/0x7*(parseInt(_0x12cc1c(0x111))/0x8)+parseInt(_0x12cc1c(0x112))/0x9+-parseInt(_0x12cc1c(0x10d))/0xa;if(_0x22c240===_0x48157f)break;else _0x1eaf59['push'](_0x1eaf59['shift']());}catch(_0x567a5a){_0x1eaf59['push'](_0x1eaf59['shift']());}}}(_0x356b,0xefcf7));import{View as _0x40202e}from'ckeditor5/src/ui.js';function _0x356b(){const _0x1e1e23=['18EKzwlB','7Ajkqcl','bindTemplate','12580380pCKkSI','imageSrc','setTemplate','30qBYzDz','5003896yXtKDT','807534XCsaLr','2704804bLzpQN','ck-uploadcare-theme','uc-cloud-image-editor','uc-light','set','357163bCDpLV','1224995YAFXis','6315NnmZwz','image-edit'];_0x356b=function(){return _0x1e1e23;};return _0x356b();}function _0x89d1(_0x362980,_0x3a07e2){const _0x356b3d=_0x356b();return _0x89d1=function(_0x89d13c,_0x3c93d1){_0x89d13c=_0x89d13c-0x10a;let _0x14ab7e=_0x356b3d[_0x89d13c];return _0x14ab7e;},_0x89d1(_0x362980,_0x3a07e2);}export class UploadcareImageEditFormEditingView extends _0x40202e{constructor(_0x9d88ff,_0x167e33){const _0x14accd=_0x89d1;super(_0x9d88ff);const _0x275d5b=this[_0x14accd(0x10c)];this[_0x14accd(0x117)](_0x14accd(0x10e),''),this[_0x14accd(0x10f)]({'tag':_0x14accd(0x115),'attributes':{..._0x167e33,'class':[_0x14accd(0x116),_0x14accd(0x114)],'ctx-name':_0x14accd(0x11b),'cdn-url':_0x275d5b['to'](_0x14accd(0x10e))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x38e0eb}from'ckeditor5/src/icons.js';import{ButtonView as _0x410aac,IconView as _0x4a4079,View as _0x428581}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x428581{constructor(_0xac1c7a){super(_0xac1c7a);const t=_0xac1c7a['t'];this['set']('errorType',null);const _0x519b22=new _0x410aac(_0xac1c7a);_0x519b22['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x519b22['withText']=!0x0,_0x519b22['class']='ck-button-action',_0x519b22['on']('execute',()=>{this['fire']('retry');}),_0x519b22['bind']('isVisible')['to'](this,'errorType',_0x11b6db=>'NotFound'!==_0x11b6db);const _0x8aae3a=new _0x4a4079();_0x8aae3a['content']=_0x38e0eb,_0x8aae3a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f8131=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':[_0x8aae3a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f8131['to']('errorType',_0x351830=>t('NotFound'!==_0x351830?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x519b22]},{'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 _0x152b5e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a3afe,IconView as _0x47c0b5,View as _0x5c1bb7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5c1bb7{constructor(_0x3ea8a8){super(_0x3ea8a8);const t=_0x3ea8a8['t'];this['set']('errorType',null);const _0x2a03ea=new _0x3a3afe(_0x3ea8a8);_0x2a03ea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a03ea['withText']=!0x0,_0x2a03ea['class']='ck-button-action',_0x2a03ea['on']('execute',()=>{this['fire']('retry');}),_0x2a03ea['bind']('isVisible')['to'](this,'errorType',_0xe5bf86=>'NotFound'!==_0xe5bf86);const _0x5df61e=new _0x47c0b5();_0x5df61e['content']=_0x152b5e,_0x5df61e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x7e7db4=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':[_0x5df61e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x7e7db4['to']('errorType',_0x1f76fa=>t('NotFound'!==_0x1f76fa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a03ea]},{'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 _0x4c99c0,View as _0x3f122c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f122c{constructor(_0xf77ce0){super(_0xf77ce0);const t=_0xf77ce0['t'],_0x4135ad=this['bindTemplate'],_0xef51ac=new _0x4c99c0();_0xef51ac['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':[_0xef51ac,{'text':_0x4135ad['to']('imageUploadProgress',_0x6e6008=>t('Loading\x20image...')+'\x20('+(_0x6e6008||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 _0x5e87b4,View as _0x164e03}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x164e03{constructor(_0x1f2206){super(_0x1f2206);const t=_0x1f2206['t'],_0x5cb8a1=this['bindTemplate'],_0x2ff7d5=new _0x5e87b4();_0x2ff7d5['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':[_0x2ff7d5,{'text':_0x5cb8a1['to']('imageUploadProgress',_0x34b92e=>t('Loading\x20image...')+'\x20('+(_0x34b92e||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 _0x1ba7(_0x2de1af,_0x16fa0d){const _0x189b3a=_0x189b();return _0x1ba7=function(_0x1ba7dc,_0x1d4f82){_0x1ba7dc=_0x1ba7dc-0xf1;let _0x1fa5fa=_0x189b3a[_0x1ba7dc];return _0x1fa5fa;},_0x1ba7(_0x2de1af,_0x16fa0d);}const _0x183be6=_0x1ba7;(function(_0x3fc13e,_0x1f8910){const _0x11fd89=_0x1ba7,_0x325ee8=_0x3fc13e();while(!![]){try{const _0x4f8bd9=parseInt(_0x11fd89(0x10a))/0x1+-parseInt(_0x11fd89(0xfe))/0x2*(parseInt(_0x11fd89(0x11f))/0x3)+parseInt(_0x11fd89(0x117))/0x4*(-parseInt(_0x11fd89(0x124))/0x5)+-parseInt(_0x11fd89(0x121))/0x6+parseInt(_0x11fd89(0xfd))/0x7*(parseInt(_0x11fd89(0xf7))/0x8)+parseInt(_0x11fd89(0xf8))/0x9*(parseInt(_0x11fd89(0xfa))/0xa)+parseInt(_0x11fd89(0x103))/0xb;if(_0x4f8bd9===_0x1f8910)break;else _0x325ee8['push'](_0x325ee8['shift']());}catch(_0xed91e){_0x325ee8['push'](_0x325ee8['shift']());}}}(_0x189b,0x5fc7a));import{View as _0xfcc463}from'ckeditor5/src/ui.js';function _0x189b(){const _0x390290=['focus','_loadingView','error','addMany','_addErrorViewListeners','cdnUrl','458427IFMncI','toLowerCase','4367532LfijNg','ready','apply','380pNbVft','_focusableView','detail','querySelector','disconnect','fire','set','render','_errorView','_addUploadcareImageEditorListeners','_setView','17392zxrEXI','1664631biVDjy','createCollection','10HbQtVC','addedNodes','setTemplate','1687zyJEbL','2jQcZYw','retry','target','uploading','change:status','10988142XEdXzt','_waitForImageEditorComponent','clear','div','_items','addEventListener','element','312310hDxtnj','once','getFocusableElement','ck-reset_all-excluded','nodeName','uc-cloud-image-editor','_editingView','cancel','add','ck-uploadcare-form','length','status','observe','39320DqKZzx','filter'];_0x189b=function(){return _0x390290;};return _0x189b();}import{UploadcareImageEditFormLoadingView as _0xc436f9}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xf84d2d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x102284}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x33087c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x33087c{[_0x183be6(0x107)];[_0x183be6(0x11a)];[_0x183be6(0xf4)];[_0x183be6(0x110)];[_0x183be6(0x125)];constructor(_0x295067,_0x4cf664,_0x507527){const _0x1a2a65=_0x183be6;super(_0x295067),this[_0x1a2a65(0x107)]=this[_0x1a2a65(0xf9)](),this[_0x1a2a65(0x11a)]=new _0xc436f9(_0x295067),this[_0x1a2a65(0xf4)]=new _0xf84d2d(_0x295067),this[_0x1a2a65(0x110)]=new _0x102284(_0x295067,_0x507527),this[_0x1a2a65(0x125)]=new _0xfcc463(_0x295067),this[_0x1a2a65(0x125)][_0x1a2a65(0xfc)](this[_0x1a2a65(0x10c)]()),this[_0x1a2a65(0xf2)](_0x1a2a65(0x115),_0x4cf664),this[_0x1a2a65(0xfc)]({'tag':_0x1a2a65(0x106),'attributes':{'class':['ck',_0x1a2a65(0x10d),_0x1a2a65(0x113)],'tabindex':'-1'},'children':this[_0x1a2a65(0x107)]}),this[_0x1a2a65(0xf6)](),this[_0x1a2a65(0x10b)](_0x1a2a65(0xf3),()=>{const _0x332c51=_0x1a2a65;this[_0x332c51(0x104)](this[_0x332c51(0x109)],_0x33cc5e=>{const _0x5308da=_0x332c51;this[_0x5308da(0xf5)](_0x33cc5e);});}),this['on'](_0x1a2a65(0x102),()=>{const _0x14eb81=_0x1a2a65;this[_0x14eb81(0xf6)]();}),this[_0x1a2a65(0x11d)]();}[_0x183be6(0x119)](){const _0xf44e69=_0x183be6;this[_0xf44e69(0x109)][_0xf44e69(0x119)]();}[_0x183be6(0xf6)](){const _0x258271=_0x183be6;switch(this[_0x258271(0x107)][_0x258271(0x105)](),this[_0x258271(0x115)]){case _0x258271(0x101):this[_0x258271(0x107)][_0x258271(0x112)](this[_0x258271(0x11a)]);break;case _0x258271(0x11b):this[_0x258271(0x107)][_0x258271(0x112)](this[_0x258271(0xf4)]);break;case _0x258271(0x122):this[_0x258271(0x107)][_0x258271(0x11c)]([this[_0x258271(0x110)],this[_0x258271(0x125)]]);}}[_0x183be6(0x104)](_0x82577e,_0x35fb0e){const _0x413d36=_0x183be6,_0x5b8565=_0x413d36(0x10f),_0x522cfb=_0x82577e[_0x413d36(0x127)](_0x5b8565);if(_0x522cfb)return _0x35fb0e(_0x522cfb);const _0x3d5400=new MutationObserver(_0x103da0=>{const _0x74069f=_0x413d36,_0x35bf08=_0x103da0[_0x74069f(0x118)](_0x568acf=>_0x568acf[_0x74069f(0x100)]===_0x82577e&&_0x568acf[_0x74069f(0xfb)][_0x74069f(0x114)]>0x0&&_0x568acf[_0x74069f(0xfb)][0x0][_0x74069f(0x10e)][_0x74069f(0x120)]()===_0x5b8565);_0x35bf08[_0x74069f(0x114)]&&(_0x3d5400[_0x74069f(0x128)](),_0x35fb0e(_0x35bf08[0x0][_0x74069f(0xfb)][0x0]));});_0x3d5400[_0x413d36(0x116)](_0x82577e,{'childList':!0x0,'subtree':!0x0});}[_0x183be6(0xf5)](_0x1b4c26){const _0x58d318=_0x183be6;_0x1b4c26[_0x58d318(0x108)](_0x58d318(0x123),_0x468f5d=>{const _0x3e6249=_0x58d318;this[_0x3e6249(0xf1)](_0x3e6249(0x123),{'imageSrc':_0x468f5d[_0x3e6249(0x126)][_0x3e6249(0x11e)]});}),_0x1b4c26[_0x58d318(0x108)](_0x58d318(0x111),()=>{const _0x21f1b5=_0x58d318;this[_0x21f1b5(0xf1)](_0x21f1b5(0x111));});}[_0x183be6(0x11d)](){const _0x1f0067=_0x183be6;this[_0x1f0067(0xf4)]['on'](_0x1f0067(0xff),()=>{const _0x517c51=_0x1f0067;this[_0x517c51(0xf1)](_0x517c51(0xff));});}}
23
+ const _0x8f2179=_0xe557;function _0xe557(_0x372b07,_0x7df4d2){const _0x176a09=_0x176a();return _0xe557=function(_0xe5572a,_0x9ae341){_0xe5572a=_0xe5572a-0x1b5;let _0x1b44f1=_0x176a09[_0xe5572a];return _0x1b44f1;},_0xe557(_0x372b07,_0x7df4d2);}(function(_0x33e142,_0x3ea574){const _0x2e631c=_0xe557,_0x2f9454=_0x33e142();while(!![]){try{const _0x3bd6d1=-parseInt(_0x2e631c(0x1b9))/0x1*(-parseInt(_0x2e631c(0x1d4))/0x2)+parseInt(_0x2e631c(0x1bf))/0x3+parseInt(_0x2e631c(0x1c5))/0x4+parseInt(_0x2e631c(0x1cd))/0x5+parseInt(_0x2e631c(0x1d9))/0x6+parseInt(_0x2e631c(0x1bc))/0x7*(-parseInt(_0x2e631c(0x1e2))/0x8)+-parseInt(_0x2e631c(0x1c6))/0x9*(parseInt(_0x2e631c(0x1be))/0xa);if(_0x3bd6d1===_0x3ea574)break;else _0x2f9454['push'](_0x2f9454['shift']());}catch(_0x197a40){_0x2f9454['push'](_0x2f9454['shift']());}}}(_0x176a,0x88844));import{View as _0x3d4128}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x217d25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x243c25}from'./uploadcareimageeditformerrorview.js';function _0x176a(){const _0x31b940=['ready','render','clear','toLowerCase','addedNodes','uc-cloud-image-editor','createCollection','cdnUrl','retry','2qIfODi','nodeName','add','7hvKdWp','querySelector','260tFnfwE','3276255OKatVw','set','div','once','element','_errorView','2442028ahjadc','1067076FPTnuQ','focus','uploading','addEventListener','ck-uploadcare-form','target','_loadingView','2120890ttOGnG','ck-reset_all-excluded','_addErrorViewListeners','change:status','detail','_addUploadcareImageEditorListeners','_setView','967418GQnfKm','_focusableView','filter','cancel','_items','3500406wnzIQT','length','apply','_waitForImageEditorComponent','fire','disconnect','error','getFocusableElement','addMany','286024GdkxdS','setTemplate','observe','_editingView','status'];_0x176a=function(){return _0x31b940;};return _0x176a();}import{UploadcareImageEditFormEditingView as _0x518f10}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x83a42b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x83a42b{[_0x8f2179(0x1d8)];[_0x8f2179(0x1cc)];[_0x8f2179(0x1c4)];[_0x8f2179(0x1e5)];[_0x8f2179(0x1d5)];constructor(_0x37b41f,_0xbe3a7e,_0x208ffe){const _0x42c35c=_0x8f2179;super(_0x37b41f),this[_0x42c35c(0x1d8)]=this[_0x42c35c(0x1b6)](),this[_0x42c35c(0x1cc)]=new _0x217d25(_0x37b41f),this[_0x42c35c(0x1c4)]=new _0x243c25(_0x37b41f),this[_0x42c35c(0x1e5)]=new _0x518f10(_0x37b41f,_0x208ffe),this[_0x42c35c(0x1d5)]=new _0x3d4128(_0x37b41f),this[_0x42c35c(0x1d5)][_0x42c35c(0x1e3)](this[_0x42c35c(0x1e0)]()),this[_0x42c35c(0x1c0)](_0x42c35c(0x1e6),_0xbe3a7e),this[_0x42c35c(0x1e3)]({'tag':_0x42c35c(0x1c1),'attributes':{'class':['ck',_0x42c35c(0x1ce),_0x42c35c(0x1ca)],'tabindex':'-1'},'children':this[_0x42c35c(0x1d8)]}),this[_0x42c35c(0x1d3)](),this[_0x42c35c(0x1c2)](_0x42c35c(0x1e8),()=>{const _0x1d0cf7=_0x42c35c;this[_0x1d0cf7(0x1dc)](this[_0x1d0cf7(0x1c3)],_0x327b0a=>{const _0x5866e1=_0x1d0cf7;this[_0x5866e1(0x1d2)](_0x327b0a);});}),this['on'](_0x42c35c(0x1d0),()=>{const _0x56c7cd=_0x42c35c;this[_0x56c7cd(0x1d3)]();}),this[_0x42c35c(0x1cf)]();}[_0x8f2179(0x1c7)](){const _0x2fdc60=_0x8f2179;this[_0x2fdc60(0x1c3)][_0x2fdc60(0x1c7)]();}[_0x8f2179(0x1d3)](){const _0x1cd851=_0x8f2179;switch(this[_0x1cd851(0x1d8)][_0x1cd851(0x1e9)](),this[_0x1cd851(0x1e6)]){case _0x1cd851(0x1c8):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1cc)]);break;case _0x1cd851(0x1df):this[_0x1cd851(0x1d8)][_0x1cd851(0x1bb)](this[_0x1cd851(0x1c4)]);break;case _0x1cd851(0x1e7):this[_0x1cd851(0x1d8)][_0x1cd851(0x1e1)]([this[_0x1cd851(0x1e5)],this[_0x1cd851(0x1d5)]]);}}[_0x8f2179(0x1dc)](_0x7db01f,_0x2d593b){const _0x3d9cf6=_0x8f2179,_0x44a0f5=_0x3d9cf6(0x1b5),_0x1215bf=_0x7db01f[_0x3d9cf6(0x1bd)](_0x44a0f5);if(_0x1215bf)return _0x2d593b(_0x1215bf);const _0x592cfc=new MutationObserver(_0x1b8333=>{const _0x338982=_0x3d9cf6,_0x5e4167=_0x1b8333[_0x338982(0x1d6)](_0x24ff79=>_0x24ff79[_0x338982(0x1cb)]===_0x7db01f&&_0x24ff79[_0x338982(0x1eb)][_0x338982(0x1da)]>0x0&&_0x24ff79[_0x338982(0x1eb)][0x0][_0x338982(0x1ba)][_0x338982(0x1ea)]()===_0x44a0f5);_0x5e4167[_0x338982(0x1da)]&&(_0x592cfc[_0x338982(0x1de)](),_0x2d593b(_0x5e4167[0x0][_0x338982(0x1eb)][0x0]));});_0x592cfc[_0x3d9cf6(0x1e4)](_0x7db01f,{'childList':!0x0,'subtree':!0x0});}[_0x8f2179(0x1d2)](_0x3ab6b4){const _0x13ab52=_0x8f2179;_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1db),_0x35a66e=>{const _0x4db2a0=_0x13ab52;this[_0x4db2a0(0x1dd)](_0x4db2a0(0x1db),{'imageSrc':_0x35a66e[_0x4db2a0(0x1d1)][_0x4db2a0(0x1b7)]});}),_0x3ab6b4[_0x13ab52(0x1c9)](_0x13ab52(0x1d7),()=>{const _0x54a30c=_0x13ab52;this[_0x54a30c(0x1dd)](_0x54a30c(0x1d7));});}[_0x8f2179(0x1cf)](){const _0x4006f0=_0x8f2179;this[_0x4006f0(0x1c4)]['on'](_0x4006f0(0x1b8),()=>{const _0x414f3b=_0x4006f0;this[_0x414f3b(0x1dd)](_0x414f3b(0x1b8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bdc9e=_0x49bc;function _0x49bc(_0x4043c6,_0x452418){const _0x5072f9=_0x5072();return _0x49bc=function(_0x49bc92,_0x44d4f3){_0x49bc92=_0x49bc92-0x189;let _0x244024=_0x5072f9[_0x49bc92];return _0x244024;},_0x49bc(_0x4043c6,_0x452418);}(function(_0x418ec6,_0x2be359){const _0x3a00fd=_0x49bc,_0xda3a0=_0x418ec6();while(!![]){try{const _0x50e634=-parseInt(_0x3a00fd(0x1a2))/0x1+parseInt(_0x3a00fd(0x18b))/0x2*(parseInt(_0x3a00fd(0x197))/0x3)+parseInt(_0x3a00fd(0x19c))/0x4*(parseInt(_0x3a00fd(0x1a3))/0x5)+-parseInt(_0x3a00fd(0x192))/0x6+-parseInt(_0x3a00fd(0x19e))/0x7+-parseInt(_0x3a00fd(0x18a))/0x8*(-parseInt(_0x3a00fd(0x18e))/0x9)+-parseInt(_0x3a00fd(0x19d))/0xa*(-parseInt(_0x3a00fd(0x1a6))/0xb);if(_0x50e634===_0x2be359)break;else _0xda3a0['push'](_0xda3a0['shift']());}catch(_0x47c096){_0xda3a0['push'](_0xda3a0['shift']());}}}(_0x5072,0xca313));import{Command as _0x42dc0f}from'ckeditor5/src/core.js';function _0x5072(){const _0x4990fc=['imageInline','refresh','get','set','4HJVKOw','20glhkOt','9207086UhbWQm','isActive','_isEditable','plugins','446411eDVbdq','5390765IwkXdg','model','execute','2069045rUqnNc','bind','editor','unbind','config','1328REXFXT','1153292lEtUcV','imageBlock','document','1773fTlZPY','getSelectedElement','uploadcare.allowExternalImagesEditing','element','302694wcShLG','requires','isEnabled','selection','imageEditController','6gYTUhV'];_0x5072=function(){return _0x4990fc;};return _0x5072();}import{Dialog as _0xba30b0}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x53c3c4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x347362}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x42dc0f{[_0x5bdc9e(0x196)];static get[_0x5bdc9e(0x193)](){return[_0xba30b0];}[_0x5bdc9e(0x1a0)];constructor(_0x49c8e6){const _0x302b81=_0x5bdc9e;super(_0x49c8e6),this[_0x302b81(0x196)]=void 0x0,this[_0x302b81(0x1a0)]=_0x347362(_0x49c8e6[_0x302b81(0x189)][_0x302b81(0x19a)](_0x302b81(0x190))||[]),this[_0x302b81(0x19b)]({'isActive':!0x1});}[_0x5bdc9e(0x199)](){const _0xaaa404=_0x5bdc9e,_0x1d765c=this[_0xaaa404(0x1a8)][_0xaaa404(0x1a4)][_0xaaa404(0x18d)][_0xaaa404(0x195)][_0xaaa404(0x18f)]();this[_0xaaa404(0x194)]=this[_0xaaa404(0x1a0)](_0x1d765c);}[_0x5bdc9e(0x1a5)](){const _0x5c413f=_0x5bdc9e;this[_0x5c413f(0x196)]&&(this[_0x5c413f(0x1a9)](_0x5c413f(0x19f)),this[_0x5c413f(0x196)]=void 0x0);const _0x123c66=this[_0x5c413f(0x1a8)][_0x5c413f(0x1a4)][_0x5c413f(0x18d)][_0x5c413f(0x195)][_0x5c413f(0x18f)]();_0x123c66&&(_0x123c66['is'](_0x5c413f(0x191),_0x5c413f(0x18c))||_0x123c66['is'](_0x5c413f(0x191),_0x5c413f(0x198)))&&(this[_0x5c413f(0x196)]=new _0x53c3c4(this[_0x5c413f(0x1a8)],this[_0x5c413f(0x1a8)][_0x5c413f(0x1a1)][_0x5c413f(0x19a)](_0xba30b0),_0x123c66),this[_0x5c413f(0x1a7)](_0x5c413f(0x19f))['to'](this[_0x5c413f(0x196)],_0x5c413f(0x19f)));}}
23
+ function _0x46cd(){const _0x3a0fc8=['model','getSelectedElement','289600yaRSwT','5102328ZQCGZF','674991SEJIsK','get','plugins','1250SHdXnD','2ZYzZIW','uploadcare.allowExternalImagesEditing','editor','imageEditController','bind','requires','504pbmlVu','config','isActive','selection','imageBlock','680943vWvaSM','refresh','_isEditable','4XxpUIc','imageInline','execute','9800ngkjnl','isEnabled','unbind','34331CbAUia','199583VnPLKe','element','set','24ccKopH','document'];_0x46cd=function(){return _0x3a0fc8;};return _0x46cd();}const _0x35a759=_0x1381;(function(_0x16dc44,_0x5b0551){const _0x574e09=_0x1381,_0x100a55=_0x16dc44();while(!![]){try{const _0x20db8d=-parseInt(_0x574e09(0xcb))/0x1*(-parseInt(_0x574e09(0xd8))/0x2)+-parseInt(_0x574e09(0xc1))/0x3*(-parseInt(_0x574e09(0xc4))/0x4)+parseInt(_0x574e09(0xd2))/0x5*(-parseInt(_0x574e09(0xce))/0x6)+parseInt(_0x574e09(0xc7))/0x7*(-parseInt(_0x574e09(0xbc))/0x8)+parseInt(_0x574e09(0xd4))/0x9+parseInt(_0x574e09(0xd7))/0xa*(-parseInt(_0x574e09(0xca))/0xb)+parseInt(_0x574e09(0xd3))/0xc;if(_0x20db8d===_0x5b0551)break;else _0x100a55['push'](_0x100a55['shift']());}catch(_0x112d8d){_0x100a55['push'](_0x100a55['shift']());}}}(_0x46cd,0x34eb0));import{Command as _0x51cae4}from'ckeditor5/src/core.js';import{Dialog as _0x133622}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x6e2f6f}from'./ui/uploadcareimageeditcontroller.js';function _0x1381(_0x58b753,_0x725a57){const _0x46cd5a=_0x46cd();return _0x1381=function(_0x1381f5,_0x4b4231){_0x1381f5=_0x1381f5-0xb7;let _0xae53c3=_0x46cd5a[_0x1381f5];return _0xae53c3;},_0x1381(_0x58b753,_0x725a57);}import{createEditabilityChecker as _0x44356f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x51cae4{[_0x35a759(0xb9)];static get[_0x35a759(0xbb)](){return[_0x133622];}[_0x35a759(0xc3)];constructor(_0x308a8c){const _0x4ab916=_0x35a759;super(_0x308a8c),this[_0x4ab916(0xb9)]=void 0x0,this[_0x4ab916(0xc3)]=_0x44356f(_0x308a8c[_0x4ab916(0xbd)][_0x4ab916(0xd5)](_0x4ab916(0xb7))||[]),this[_0x4ab916(0xcd)]({'isActive':!0x1});}[_0x35a759(0xc2)](){const _0x87990c=_0x35a759,_0x1a5322=this[_0x87990c(0xb8)][_0x87990c(0xd0)][_0x87990c(0xcf)][_0x87990c(0xbf)][_0x87990c(0xd1)]();this[_0x87990c(0xc8)]=this[_0x87990c(0xc3)](_0x1a5322);}[_0x35a759(0xc6)](){const _0x34ed18=_0x35a759;this[_0x34ed18(0xb9)]&&(this[_0x34ed18(0xc9)](_0x34ed18(0xbe)),this[_0x34ed18(0xb9)]=void 0x0);const _0x2a0b2e=this[_0x34ed18(0xb8)][_0x34ed18(0xd0)][_0x34ed18(0xcf)][_0x34ed18(0xbf)][_0x34ed18(0xd1)]();_0x2a0b2e&&(_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc0))||_0x2a0b2e['is'](_0x34ed18(0xcc),_0x34ed18(0xc5)))&&(this[_0x34ed18(0xb9)]=new _0x6e2f6f(this[_0x34ed18(0xb8)],this[_0x34ed18(0xb8)][_0x34ed18(0xd6)][_0x34ed18(0xd5)](_0x133622),_0x2a0b2e),this[_0x34ed18(0xba)](_0x34ed18(0xbe))['to'](this[_0x34ed18(0xb9)],_0x34ed18(0xbe)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4886(){const _0x439112=['commands','UploadcareImageEditEditing','1094160qTQFQu','4765865QGCNWQ','isOfficialPlugin','isPremiumPlugin','27mGbFaw','requires','pluginName','ImageEditing','init','uploadcareImageReplace','16977QrVULs','ImageUtils','3332560wpZeQP','add','1078184oGhWJH','4NMJnOm','129015IDDSxv','uploadcareImageEdit','5406462eOXGNp'];_0x4886=function(){return _0x439112;};return _0x4886();}const _0x1fe09e=_0x19b4;(function(_0x58b325,_0xe207f2){const _0x44f781=_0x19b4,_0x37e7e3=_0x58b325();while(!![]){try{const _0x1ecc04=parseInt(_0x44f781(0xa7))/0x1+-parseInt(_0x44f781(0x97))/0x2+parseInt(_0x44f781(0xa1))/0x3*(-parseInt(_0x44f781(0xa6))/0x4)+parseInt(_0x44f781(0x98))/0x5+parseInt(_0x44f781(0x94))/0x6+-parseInt(_0x44f781(0xa3))/0x7+-parseInt(_0x44f781(0xa5))/0x8*(parseInt(_0x44f781(0x9b))/0x9);if(_0x1ecc04===_0xe207f2)break;else _0x37e7e3['push'](_0x37e7e3['shift']());}catch(_0x1058b1){_0x37e7e3['push'](_0x37e7e3['shift']());}}}(_0x4886,0x864ef));import{Plugin as _0x141183}from'ckeditor5/src/core.js';import{Notification as _0x18d5e3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2143ac}from'./uploadcareimageeditcommand.js';function _0x19b4(_0x29159e,_0x448589){const _0x4886e9=_0x4886();return _0x19b4=function(_0x19b48e,_0x450d7f){_0x19b48e=_0x19b48e-0x93;let _0x4bcf5d=_0x4886e9[_0x19b48e];return _0x4bcf5d;},_0x19b4(_0x29159e,_0x448589);}import{UploadcareImageReplaceCommand as _0x3109f1}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x553e3b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x141183{static get[_0x1fe09e(0x9d)](){const _0x1ba7ae=_0x1fe09e;return _0x1ba7ae(0x96);}static get[_0x1fe09e(0x9c)](){const _0x1d15bf=_0x1fe09e;return[_0x553e3b,_0x18d5e3,_0x1d15bf(0xa2),_0x1d15bf(0x9e)];}static get[_0x1fe09e(0x99)](){return!0x0;}static get[_0x1fe09e(0x9a)](){return!0x0;}[_0x1fe09e(0x9f)](){const _0x106b4b=_0x1fe09e,{editor:_0x39f9af}=this;_0x39f9af[_0x106b4b(0x95)][_0x106b4b(0xa4)](_0x106b4b(0x93),new _0x2143ac(_0x39f9af)),_0x39f9af[_0x106b4b(0x95)][_0x106b4b(0xa4)](_0x106b4b(0xa0),new _0x3109f1(_0x39f9af));}}
23
+ const _0x4b0aee=_0x3b9a;(function(_0x226bbe,_0x422d4f){const _0x388423=_0x3b9a,_0x49914a=_0x226bbe();while(!![]){try{const _0x341a21=parseInt(_0x388423(0x14e))/0x1*(-parseInt(_0x388423(0x14b))/0x2)+-parseInt(_0x388423(0x14f))/0x3+-parseInt(_0x388423(0x158))/0x4+parseInt(_0x388423(0x146))/0x5*(-parseInt(_0x388423(0x152))/0x6)+-parseInt(_0x388423(0x154))/0x7*(parseInt(_0x388423(0x14c))/0x8)+-parseInt(_0x388423(0x148))/0x9+-parseInt(_0x388423(0x150))/0xa*(-parseInt(_0x388423(0x155))/0xb);if(_0x341a21===_0x422d4f)break;else _0x49914a['push'](_0x49914a['shift']());}catch(_0x3ff308){_0x49914a['push'](_0x49914a['shift']());}}}(_0x3293,0x3d98b));import{Plugin as _0x4c7d2e}from'ckeditor5/src/core.js';import{Notification as _0xc78c79}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x488ed3}from'./uploadcareimageeditcommand.js';function _0x3b9a(_0x4cb9d7,_0x23734c){const _0x32935b=_0x3293();return _0x3b9a=function(_0x3b9a86,_0xa27943){_0x3b9a86=_0x3b9a86-0x142;let _0x2ba506=_0x32935b[_0x3b9a86];return _0x2ba506;},_0x3b9a(_0x4cb9d7,_0x23734c);}function _0x3293(){const _0x15afe6=['1bcIeNX','1143600NHwqAm','19463770QXxooP','ImageUtils','6CiVIFX','init','84sReHhj','11vkLmNR','isOfficialPlugin','isPremiumPlugin','1715220eSdddU','add','uploadcareImageReplace','ImageEditing','commands','340905ppLPIu','UploadcareImageEditEditing','1154457RYAnUG','requires','pluginName','466958WtgZkG','302760pOEbJm','uploadcareImageEdit'];_0x3293=function(){return _0x15afe6;};return _0x3293();}import{UploadcareImageReplaceCommand as _0x3d739e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5bd11b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c7d2e{static get[_0x4b0aee(0x14a)](){const _0x33d899=_0x4b0aee;return _0x33d899(0x147);}static get[_0x4b0aee(0x149)](){const _0x137325=_0x4b0aee;return[_0x5bd11b,_0xc78c79,_0x137325(0x151),_0x137325(0x144)];}static get[_0x4b0aee(0x156)](){return!0x0;}static get[_0x4b0aee(0x157)](){return!0x0;}[_0x4b0aee(0x153)](){const _0x1e8b63=_0x4b0aee,{editor:_0x198d46}=this;_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x14d),new _0x488ed3(_0x198d46)),_0x198d46[_0x1e8b63(0x145)][_0x1e8b63(0x142)](_0x1e8b63(0x143),new _0x3d739e(_0x198d46));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b61a2}from'ckeditor5/src/core.js';import{ButtonView as _0x169c4b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x428767}from'ckeditor5/src/icons.js';import{createElement as _0x1b4822}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 _0x5b61a2{['_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 _0x2102c6=this['editor'];_0x2102c6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4478b0=>{const _0x32d53b=_0x2102c6['commands']['get']('uploadcareImageEdit'),_0x16921c=new _0x169c4b(_0x4478b0),t=_0x4478b0['t'];return _0x16921c['set']({'icon':_0x428767,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x16921c['bind']('isEnabled')['to'](_0x32d53b),_0x16921c['bind']('isOn')['to'](_0x32d53b,'isActive'),this['listenTo'](_0x16921c,'execute',()=>{_0x2102c6['execute']('uploadcareImageEdit'),_0x2102c6['editing']['view']['focus']();}),_0x16921c;}),this['_initConfig']();}['_initConfig'](){const _0x3fd2fb=_0x1b4822(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3fd2fb),this['listenTo'](this['editor'],'destroy',()=>{_0x3fd2fb['remove']();});}}
23
+ import{Plugin as _0x1b3f06}from'ckeditor5/src/core.js';import{ButtonView as _0x303e64}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x30c793}from'ckeditor5/src/icons.js';import{createElement as _0x3a9b4d}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 _0x1b3f06{['_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 _0x27d3df=this['editor'];_0x27d3df['ui']['componentFactory']['add']('uploadcareImageEdit',_0x284ea4=>{const _0x3490b0=_0x27d3df['commands']['get']('uploadcareImageEdit'),_0x2d5633=new _0x303e64(_0x284ea4),t=_0x284ea4['t'];return _0x2d5633['set']({'icon':_0x30c793,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d5633['bind']('isEnabled')['to'](_0x3490b0),_0x2d5633['bind']('isOn')['to'](_0x3490b0,'isActive'),this['listenTo'](_0x2d5633,'execute',()=>{_0x27d3df['execute']('uploadcareImageEdit'),_0x27d3df['editing']['view']['focus']();}),_0x2d5633;}),this['_initConfig']();}['_initConfig'](){const _0x31fb98=_0x3a9b4d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31fb98),this['listenTo'](this['editor'],'destroy',()=>{_0x31fb98['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bf5(_0xc8959f,_0x47019a){const _0x4a8a65=_0x4a8a();return _0x4bf5=function(_0x4bf5ca,_0x3180a3){_0x4bf5ca=_0x4bf5ca-0xb7;let _0x3557b3=_0x4a8a65[_0x4bf5ca];return _0x3557b3;},_0x4bf5(_0xc8959f,_0x47019a);}const _0x48a26c=_0x4bf5;function _0x4a8a(){const _0x2df9eb=['sizes','50GsGZpY','482937PixfHk','357219drtBeg','imageBlock','isEnabled','getSelectedElement','execute','refresh','setAttributes','model','519632bxisWZ','document','imageInline','529228ikNQTO','element','srcset','removeAttribute','selection','1189194epkjgg','4fEZZEp','editor','change','239982ZrnqvS','5HZuiiT','241161rrNhWj'];_0x4a8a=function(){return _0x2df9eb;};return _0x4a8a();}(function(_0x387f66,_0x2d126c){const _0x2a027f=_0x4bf5,_0x40c1aa=_0x387f66();while(!![]){try{const _0x4329df=-parseInt(_0x2a027f(0xc9))/0x1+-parseInt(_0x2a027f(0xc4))/0x2*(parseInt(_0x2a027f(0xc7))/0x3)+parseInt(_0x2a027f(0xbe))/0x4+parseInt(_0x2a027f(0xc8))/0x5*(parseInt(_0x2a027f(0xc3))/0x6)+parseInt(_0x2a027f(0xcc))/0x7+-parseInt(_0x2a027f(0xbb))/0x8+-parseInt(_0x2a027f(0xcd))/0x9*(-parseInt(_0x2a027f(0xcb))/0xa);if(_0x4329df===_0x2d126c)break;else _0x40c1aa['push'](_0x40c1aa['shift']());}catch(_0x24765b){_0x40c1aa['push'](_0x40c1aa['shift']());}}}(_0x4a8a,0x20309));import{Command as _0x4c7ef7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4c7ef7{[_0x48a26c(0xb8)](){const _0x3913b2=_0x48a26c,_0x4e6e5e=this[_0x3913b2(0xc5)][_0x3913b2(0xba)][_0x3913b2(0xbc)][_0x3913b2(0xc2)][_0x3913b2(0xd0)]();this[_0x3913b2(0xcf)]=Boolean(_0x4e6e5e&&(_0x4e6e5e['is'](_0x3913b2(0xbf),_0x3913b2(0xce))||_0x4e6e5e['is'](_0x3913b2(0xbf),_0x3913b2(0xbd))));}[_0x48a26c(0xb7)](_0x437244){const _0x14939a=_0x48a26c,_0x20db05=this[_0x14939a(0xc5)][_0x14939a(0xba)][_0x14939a(0xbc)][_0x14939a(0xc2)][_0x14939a(0xd0)]();this[_0x14939a(0xc5)][_0x14939a(0xba)][_0x14939a(0xc6)](_0x598092=>{const _0x4313c6=_0x14939a;_0x598092[_0x4313c6(0xb9)](_0x437244,_0x20db05),_0x598092[_0x4313c6(0xc1)](_0x4313c6(0xc0),_0x20db05),_0x598092[_0x4313c6(0xc1)](_0x4313c6(0xca),_0x20db05);});}}
23
+ const _0x20a784=_0x3177;(function(_0x5cdd9a,_0xe70a5e){const _0x2ecbbf=_0x3177,_0x3d0989=_0x5cdd9a();while(!![]){try{const _0x87b893=-parseInt(_0x2ecbbf(0x11d))/0x1+-parseInt(_0x2ecbbf(0x128))/0x2+-parseInt(_0x2ecbbf(0x11c))/0x3*(-parseInt(_0x2ecbbf(0x11b))/0x4)+-parseInt(_0x2ecbbf(0x11e))/0x5+parseInt(_0x2ecbbf(0x11f))/0x6+-parseInt(_0x2ecbbf(0x124))/0x7*(parseInt(_0x2ecbbf(0x129))/0x8)+parseInt(_0x2ecbbf(0x12e))/0x9*(parseInt(_0x2ecbbf(0x132))/0xa);if(_0x87b893===_0xe70a5e)break;else _0x3d0989['push'](_0x3d0989['shift']());}catch(_0x50a0cb){_0x3d0989['push'](_0x3d0989['shift']());}}}(_0x3fc1,0xbe876));function _0x3177(_0x298ba6,_0x2069f7){const _0x3fc11a=_0x3fc1();return _0x3177=function(_0x3177ec,_0x34d947){_0x3177ec=_0x3177ec-0x11b;let _0x27a28d=_0x3fc11a[_0x3177ec];return _0x27a28d;},_0x3177(_0x298ba6,_0x2069f7);}import{Command as _0xf19a5c}from'ckeditor5/src/core.js';function _0x3fc1(){const _0x212126=['10Zwnedi','change','refresh','324260vzBpRo','27DPfVlp','505315VQmdqC','1798510tDvUUn','7507080sQIgtK','selection','imageBlock','srcset','model','7QwnMNL','document','editor','removeAttribute','1884216QeBvcR','6049160dMWoST','sizes','setAttributes','getSelectedElement','isEnabled','12266199owEaxJ','element','execute','imageInline'];_0x3fc1=function(){return _0x212126;};return _0x3fc1();}export class UploadcareImageReplaceCommand extends _0xf19a5c{[_0x20a784(0x134)](){const _0x28b9f1=_0x20a784,_0x580a63=this[_0x28b9f1(0x126)][_0x28b9f1(0x123)][_0x28b9f1(0x125)][_0x28b9f1(0x120)][_0x28b9f1(0x12c)]();this[_0x28b9f1(0x12d)]=Boolean(_0x580a63&&(_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x121))||_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x131))));}[_0x20a784(0x130)](_0x883b9){const _0x59d7a7=_0x20a784,_0x6e17a3=this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x125)][_0x59d7a7(0x120)][_0x59d7a7(0x12c)]();this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x133)](_0x485290=>{const _0x24733d=_0x59d7a7;_0x485290[_0x24733d(0x12b)](_0x883b9,_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x122),_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x12a),_0x6e17a3);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f4ae2=_0x438b;(function(_0x2c206f,_0x1047d6){var _0x489817=_0x438b,_0x5b803d=_0x2c206f();while(!![]){try{var _0x2e2e27=-parseInt(_0x489817(0x148))/0x1*(-parseInt(_0x489817(0x143))/0x2)+parseInt(_0x489817(0x146))/0x3*(-parseInt(_0x489817(0x14b))/0x4)+parseInt(_0x489817(0x145))/0x5+parseInt(_0x489817(0x13e))/0x6+-parseInt(_0x489817(0x149))/0x7+parseInt(_0x489817(0x14c))/0x8+parseInt(_0x489817(0x147))/0x9*(-parseInt(_0x489817(0x13f))/0xa);if(_0x2e2e27===_0x1047d6)break;else _0x5b803d['push'](_0x5b803d['shift']());}catch(_0x18f557){_0x5b803d['push'](_0x5b803d['shift']());}}}(_0xb499,0xae24d));import{Plugin as _0x428c3f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x15e2d0}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xb499(){var _0xf0f8f9=['isPremiumPlugin','pluginName','isOfficialPlugin','4uaaqoF','UploadcareImageEdit','3856950blzMzR','654BdtGRZ','15986952muSuSq','631448LGJTBU','3402413qOeyLk','requires','23060uhHYVb','6458312VogTpB','8345250SATLRb','10DgmSym'];_0xb499=function(){return _0xf0f8f9;};return _0xb499();}function _0x438b(_0x25b718,_0xc9efe6){var _0xb49940=_0xb499();return _0x438b=function(_0x438b0a,_0xae9e64){_0x438b0a=_0x438b0a-0x13e;var _0x9c5a91=_0xb49940[_0x438b0a];return _0x9c5a91;},_0x438b(_0x25b718,_0xc9efe6);}import{UploadcareImageEditUI as _0x196bb0}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x428c3f{static get[_0x3f4ae2(0x141)](){var _0x338e84=_0x3f4ae2;return _0x338e84(0x144);}static get[_0x3f4ae2(0x14a)](){return[_0x15e2d0,_0x196bb0];}static get[_0x3f4ae2(0x142)](){return!0x0;}static get[_0x3f4ae2(0x140)](){return!0x0;}}
23
+ var _0x315925=_0x51b0;(function(_0x249837,_0x2f0962){var _0x253afb=_0x51b0,_0x1c81b7=_0x249837();while(!![]){try{var _0x465403=parseInt(_0x253afb(0xea))/0x1+parseInt(_0x253afb(0xef))/0x2+-parseInt(_0x253afb(0xee))/0x3+-parseInt(_0x253afb(0xf0))/0x4+parseInt(_0x253afb(0xe8))/0x5+parseInt(_0x253afb(0xe7))/0x6*(parseInt(_0x253afb(0xec))/0x7)+-parseInt(_0x253afb(0xe6))/0x8;if(_0x465403===_0x2f0962)break;else _0x1c81b7['push'](_0x1c81b7['shift']());}catch(_0x4000ba){_0x1c81b7['push'](_0x1c81b7['shift']());}}}(_0x14d4,0x45542));function _0x51b0(_0x2d9a96,_0x1f0462){var _0x14d469=_0x14d4();return _0x51b0=function(_0x51b072,_0x4d8919){_0x51b072=_0x51b072-0xe4;var _0x5d318a=_0x14d469[_0x51b072];return _0x5d318a;},_0x51b0(_0x2d9a96,_0x1f0462);}function _0x14d4(){var _0x4bce9f=['407385qDdhEa','UploadcareImageEdit','49dfWjaY','pluginName','69597EkZUCr','768374ZTWtcT','1088400GxTJHm','requires','isPremiumPlugin','5127712IzDtjh','143814tzzxoS','1304390RDcblE','isOfficialPlugin'];_0x14d4=function(){return _0x4bce9f;};return _0x14d4();}import{Plugin as _0x23d12f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1988d0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x624565}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x23d12f{static get[_0x315925(0xed)](){var _0x3b21e5=_0x315925;return _0x3b21e5(0xeb);}static get[_0x315925(0xe4)](){return[_0x1988d0,_0x624565];}static get[_0x315925(0xe9)](){return!0x0;}static get[_0x315925(0xe5)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eba47=_0x33c1;(function(_0x4494d9,_0x29a821){const _0xe06482=_0x33c1,_0x2bc53d=_0x4494d9();while(!![]){try{const _0xc78e58=-parseInt(_0xe06482(0x1bc))/0x1+parseInt(_0xe06482(0x1b8))/0x2*(-parseInt(_0xe06482(0x17c))/0x3)+parseInt(_0xe06482(0x1be))/0x4+-parseInt(_0xe06482(0x1b4))/0x5*(-parseInt(_0xe06482(0x1ac))/0x6)+-parseInt(_0xe06482(0x18b))/0x7*(-parseInt(_0xe06482(0x1a4))/0x8)+parseInt(_0xe06482(0x19d))/0x9+-parseInt(_0xe06482(0x1b7))/0xa*(parseInt(_0xe06482(0x19e))/0xb);if(_0xc78e58===_0x29a821)break;else _0x2bc53d['push'](_0x2bc53d['shift']());}catch(_0x32b5d7){_0x2bc53d['push'](_0x2bc53d['shift']());}}}(_0x299a,0x1cb05));import{Plugin as _0x228934}from'ckeditor5/src/core.js';import{IconDropbox as _0x44ec01,IconFacebook as _0x2f8a23,IconGoogleDrive as _0x131571,IconGooglePhotos as _0x9a3c76,IconUploadcareImageUpload as _0x59f64c,IconUploadcareLink as _0x59a05e,IconOneDrive as _0x33bbce}from'ckeditor5/src/icons.js';import{ButtonView as _0x4864be,MenuBarMenuListItemButtonView as _0x3600fe}from'ckeditor5/src/ui.js';function _0x299a(){const _0x1d052c=['uploadcare.uploader.sourceList','uploadcareLicenseKeyInvalid','url','UploadcareUI','GPhotos','Local','49tsKHIK','assetManager','uploadcareLicenseKeyEvaluationLimit','get','GDrive','isImageSelected','forEach','text','uploadcareLicenseKeyNotAllowed','plugins','_createButton','reduce','isEnabled','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyTrialLimit','withText','_normalizeConfigSourceList','379422Izjmvo','455411qaJzKX','editor','shortText','OneDrive','type','usageLimit','49992uexPPW','pluginName','invalid','isOfficialPlugin','isPremiumPlugin','map','uploadcareLicenseKeyExpired','afterInit','6qrOXee','config','_getIntegrationKey','destroy','registerIntegration','Replace','label','upload','778135uLbRvX','licenseKey','tooltip','10jZPdXp','30658kSVjza','has','evaluationLimit','execute','100632lKSJQR','featureNotAllowed','439952hcJGMQ','ImageInsertUI','URL','uploadcareLicenseKeyDomainLimit','init','push','commands','_createToolbarButton','Uploadcare','uploadcare','bind','_createMenuBarButtons','icon','_showLicenseError','locale','Insert','18vceUCm','_createDropdownButtons','entries','domainLimit','_licenseKeyCheckInterval','expired','trialLimit','Facebook','Dropbox'];_0x299a=function(){return _0x1d052c;};return _0x299a();}import{UploadcareSource as _0x5cfb4a}from'./uploadcareconfig.js';import{getTranslation as _0xf36985}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x33c1(_0x1c4b92,_0x12b6ea){const _0x299a43=_0x299a();return _0x33c1=function(_0x33c1ea,_0x2d75c4){_0x33c1ea=_0x33c1ea-0x171;let _0x147e49=_0x299a43[_0x33c1ea];return _0x147e49;},_0x33c1(_0x1c4b92,_0x12b6ea);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x228934{[_0x5eba47(0x1b5)];[_0x5eba47(0x180)];static get[_0x5eba47(0x1a5)](){const _0x1d24a2=_0x5eba47;return _0x1d24a2(0x188);}static get[_0x5eba47(0x1a7)](){return!0x0;}static get[_0x5eba47(0x1a8)](){return!0x0;}[_0x5eba47(0x1c2)](){const _0xa8bf7a=_0x5eba47;this[_0xa8bf7a(0x1b5)]=this[_0xa8bf7a(0x19f)][_0xa8bf7a(0x1ad)][_0xa8bf7a(0x18e)](_0xa8bf7a(0x1b5));const _0x132aaa=this[_0xa8bf7a(0x19f)];this[_0xa8bf7a(0x180)]=setInterval(()=>{const _0x35853d=_0xa8bf7a;let _0x427923;for(const _0x4f1331 in _0x132aaa){const _0x139bc6=_0x4f1331,_0x2e3f8c=_0x132aaa[_0x139bc6];if(_0x35853d(0x199)==_0x2e3f8c||_0x35853d(0x186)==_0x2e3f8c||_0x35853d(0x1aa)==_0x2e3f8c||_0x35853d(0x1c1)==_0x2e3f8c||_0x35853d(0x193)==_0x2e3f8c||_0x35853d(0x18d)==_0x2e3f8c||_0x35853d(0x19a)==_0x2e3f8c||_0x35853d(0x198)==_0x2e3f8c){delete _0x132aaa[_0x139bc6],_0x427923=_0x2e3f8c,clearInterval(this[_0x35853d(0x180)]),this[_0x35853d(0x180)]=void 0x0;break;}}_0x35853d(0x186)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x1a6)),_0x35853d(0x1aa)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x181)),_0x35853d(0x1c1)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x17f)),_0x35853d(0x193)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x1bd),_0x35853d(0x174)),_0x35853d(0x18d)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x1ba)),_0x35853d(0x19a)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x182)),_0x35853d(0x198)==_0x427923&&_0x132aaa[_0x35853d(0x179)](_0x35853d(0x1a3));},0x3e8);}[_0x5eba47(0x1ab)](){const _0x57ac9a=_0x5eba47,{editor:_0x17c32c}=this,_0x56bcec=_0x17c32c[_0x57ac9a(0x172)][_0x57ac9a(0x18e)](_0x57ac9a(0x175));if(!_0x56bcec)return;const _0x48e4cc=this[_0x57ac9a(0x19c)](_0x17c32c[_0x57ac9a(0x1ad)][_0x57ac9a(0x18e)](_0x57ac9a(0x185)))[_0x57ac9a(0x196)]((_0x37a884,_0x2cd58d)=>{const _0x23caa8=_0x57ac9a,_0x270003=this[_0x23caa8(0x1ae)](_0x2cd58d[_0x23caa8(0x1a2)]);return _0x37a884[_0x270003]||(_0x37a884[_0x270003]=[]),_0x37a884[_0x270003][_0x23caa8(0x171)](_0x2cd58d),_0x37a884;},{});_0x17c32c[_0x57ac9a(0x194)][_0x57ac9a(0x1b9)](_0x57ac9a(0x1bf))&&_0x17c32c[_0x57ac9a(0x172)][_0x57ac9a(0x18e)](_0x57ac9a(0x175))&&Object[_0x57ac9a(0x17e)](_0x48e4cc)[_0x57ac9a(0x191)](([_0x2914c4,_0x24e9a9])=>{const _0x35bf32=_0x57ac9a;_0x17c32c[_0x35bf32(0x194)][_0x35bf32(0x18e)](_0x35bf32(0x1bf))[_0x35bf32(0x1b0)]({'name':_0x2914c4,'observable':()=>_0x56bcec,'buttonViewCreator':()=>this[_0x35bf32(0x173)](_0x24e9a9),'formViewCreator':()=>this[_0x35bf32(0x17d)](_0x24e9a9),'menuBarButtonViewCreator':()=>this[_0x35bf32(0x177)](_0x24e9a9),'override':_0x35bf32(0x18c)!==_0x2914c4});});}[_0x5eba47(0x1af)](){const _0xaa9b6e=_0x5eba47;super[_0xaa9b6e(0x1af)](),this[_0xaa9b6e(0x180)]&&clearInterval(this[_0xaa9b6e(0x180)]);}[_0x5eba47(0x19c)](_0x1b739d){const _0x255aef=_0x5eba47,{locale:_0x469f99}=this[_0x255aef(0x19f)];return _0x1b739d[_0x255aef(0x1a9)](_0x5421fe=>{const _0x32fccb=_0x255aef,_0x6e9019=_0xf36985(_0x469f99,_0x5421fe,_0x32fccb(0x17b));switch(_0x5421fe){case _0x5cfb4a[_0x32fccb(0x18a)]:return{'icon':_0x59f64c,'type':_0x5cfb4a[_0x32fccb(0x18a)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x1c0)]:return{'icon':_0x59a05e,'type':_0x5cfb4a[_0x32fccb(0x1c0)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x184)]:return{'icon':_0x44ec01,'type':_0x5cfb4a[_0x32fccb(0x184)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x183)]:return{'icon':_0x2f8a23,'type':_0x5cfb4a[_0x32fccb(0x183)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x18f)]:return{'icon':_0x131571,'type':_0x5cfb4a[_0x32fccb(0x18f)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x189)]:return{'icon':_0x9a3c76,'type':_0x5cfb4a[_0x32fccb(0x189)],..._0x6e9019};case _0x5cfb4a[_0x32fccb(0x1a1)]:return{'icon':_0x33bbce,'type':_0x5cfb4a[_0x32fccb(0x1a1)],..._0x6e9019};}});}[_0x5eba47(0x1ae)](_0x2a8260){const _0xf26075=_0x5eba47;switch(_0x2a8260){case _0x5cfb4a[_0xf26075(0x18a)]:return _0xf26075(0x1b3);case _0x5cfb4a[_0xf26075(0x1c0)]:return _0xf26075(0x187);default:return _0xf26075(0x18c);}}[_0x5eba47(0x195)](_0x1fd45f,_0x18b53e){const _0x3d415d=_0x5eba47,_0x57b7b8=this[_0x3d415d(0x19f)],_0x85a494=new _0x1fd45f(_0x57b7b8[_0x3d415d(0x17a)]),_0x265bfe=_0x57b7b8[_0x3d415d(0x172)][_0x3d415d(0x18e)](_0x3d415d(0x175));return _0x85a494[_0x3d415d(0x176)](_0x3d415d(0x197))['to'](_0x265bfe),_0x85a494['on'](_0x3d415d(0x1bb),()=>{const _0x2ad940=_0x3d415d;_0x265bfe[_0x2ad940(0x1bb)](_0x18b53e);}),_0x85a494;}[_0x5eba47(0x173)](_0x1371a3){const _0x453ac4=_0x5eba47,{locale:_0x24f4ec}=this[_0x453ac4(0x19f)],_0x4436ba=this[_0x453ac4(0x19f)][_0x453ac4(0x194)][_0x453ac4(0x18e)](_0x453ac4(0x1bf)),_0x4bcdf9=_0x1371a3[0x0],_0x221c81=this[_0x453ac4(0x195)](_0x4864be,_0x4bcdf9[_0x453ac4(0x1a2)]);return _0x221c81[_0x453ac4(0x178)]=_0x4bcdf9[_0x453ac4(0x178)],_0x221c81[_0x453ac4(0x176)](_0x453ac4(0x1b2))['to'](_0x4436ba,_0x453ac4(0x190),_0xb97462=>_0xf36985(_0x24f4ec,_0x4bcdf9[_0x453ac4(0x1a2)],_0xb97462?_0x453ac4(0x1b1):_0x453ac4(0x17b))[_0x453ac4(0x192)]),_0x221c81[_0x453ac4(0x1b6)]=!0x0,_0x221c81;}[_0x5eba47(0x17d)](_0x59817f){const _0x5cf085=_0x5eba47,{locale:_0x24e56a}=this[_0x5cf085(0x19f)],_0x39979e=this[_0x5cf085(0x19f)][_0x5cf085(0x194)][_0x5cf085(0x18e)](_0x5cf085(0x1bf));return _0x59817f[_0x5cf085(0x1a9)](_0x1f2e6c=>{const _0x312c82=_0x5cf085,_0x5e24bb=this[_0x312c82(0x195)](_0x4864be,_0x1f2e6c[_0x312c82(0x1a2)]);return _0x5e24bb[_0x312c82(0x19b)]=!0x0,_0x5e24bb[_0x312c82(0x178)]=_0x1f2e6c[_0x312c82(0x178)],_0x5e24bb[_0x312c82(0x176)](_0x312c82(0x1b2))['to'](_0x39979e,_0x312c82(0x190),_0x1e0484=>_0xf36985(_0x24e56a,_0x1f2e6c[_0x312c82(0x1a2)],_0x1e0484?_0x312c82(0x1b1):_0x312c82(0x17b))[_0x312c82(0x192)]),_0x5e24bb;});}[_0x5eba47(0x177)](_0x18242e){const _0xcf95ae=_0x5eba47;return _0x18242e[_0xcf95ae(0x1a9)](_0x3cbe6f=>{const _0x4965e6=_0xcf95ae,_0x4af9bf=this[_0x4965e6(0x195)](_0x3600fe,_0x3cbe6f[_0x4965e6(0x1a2)]);return _0x4af9bf[_0x4965e6(0x178)]=_0x3cbe6f[_0x4965e6(0x178)],_0x4af9bf[_0x4965e6(0x1b2)]=_0x3cbe6f[_0x4965e6(0x1a0)],_0x4af9bf;});}}
23
+ const _0x4b1110=_0xd38e;function _0x2505(){const _0x1b30f8=['isOfficialPlugin','label','tooltip','destroy','trialLimit','invalid','Replace','URL','commands','bind','_getIntegrationKey','1833435iQYHdc','afterInit','map','_createDropdownButtons','4291140SJiFQY','reduce','_createButton','forEach','expired','UploadcareUI','evaluationLimit','withText','8bMftBO','has','uploadcareLicenseKeyTrialLimit','locale','735327qHYlcc','_createToolbarButton','push','registerIntegration','pluginName','upload','3120795kwhBsg','Insert','77ehGgLl','get','icon','config','usageLimit','shortText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','entries','OneDrive','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','isPremiumPlugin','isEnabled','Uploadcare','_createMenuBarButtons','featureNotAllowed','uploadcareLicenseKeyNotAllowed','Facebook','text','68DRHZhe','isImageSelected','Dropbox','uploadcareLicenseKeyEvaluationLimit','8ZGDBFo','uploadcareLicenseKeyUsageLimit','uploadcare.uploader.sourceList','GDrive','uploadcareLicenseKeyValid','uploadcare','url','1413804ORvNhn','assetManager','domainLimit','Local','editor','ImageInsertUI','GPhotos','init','_showLicenseError','plugins','6gWPBew','execute','type','4426219ZYKqsE','uploadcareLicenseKeyDomainLimit','17322EJsZJS','licenseKey'];_0x2505=function(){return _0x1b30f8;};return _0x2505();}(function(_0x16f582,_0x1b055c){const _0x2f127a=_0xd38e,_0x5da255=_0x16f582();while(!![]){try{const _0x20858a=-parseInt(_0x2f127a(0x17e))/0x1*(parseInt(_0x2f127a(0x145))/0x2)+-parseInt(_0x2f127a(0x162))/0x3*(parseInt(_0x2f127a(0x182))/0x4)+parseInt(_0x2f127a(0x168))/0x5*(parseInt(_0x2f127a(0x140))/0x6)+parseInt(_0x2f127a(0x143))/0x7*(-parseInt(_0x2f127a(0x15e))/0x8)+parseInt(_0x2f127a(0x152))/0x9+parseInt(_0x2f127a(0x156))/0xa+-parseInt(_0x2f127a(0x16a))/0xb*(-parseInt(_0x2f127a(0x189))/0xc);if(_0x20858a===_0x1b055c)break;else _0x5da255['push'](_0x5da255['shift']());}catch(_0x424873){_0x5da255['push'](_0x5da255['shift']());}}}(_0x2505,0x5a630));import{Plugin as _0x5522db}from'ckeditor5/src/core.js';import{IconDropbox as _0xf6d75d,IconFacebook as _0x42ad30,IconGoogleDrive as _0x1d3636,IconGooglePhotos as _0x1e30e4,IconUploadcareImageUpload as _0x2df7dc,IconUploadcareLink as _0x1bf1ef,IconOneDrive as _0x5c1f28}from'ckeditor5/src/icons.js';import{ButtonView as _0x1b13c6,MenuBarMenuListItemButtonView as _0x1ef82a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x37c38a}from'./uploadcareconfig.js';import{getTranslation as _0x46120f}from'./utils/common-translations.js';function _0xd38e(_0x49315f,_0x33717f){const _0x250557=_0x2505();return _0xd38e=function(_0xd38ee2,_0x400dd1){_0xd38ee2=_0xd38ee2-0x13d;let _0x38e99b=_0x250557[_0xd38ee2];return _0x38e99b;},_0xd38e(_0x49315f,_0x33717f);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5522db{[_0x4b1110(0x146)];[_0x4b1110(0x174)];static get[_0x4b1110(0x166)](){const _0xb2086f=_0x4b1110;return _0xb2086f(0x15b);}static get[_0x4b1110(0x147)](){return!0x0;}static get[_0x4b1110(0x176)](){return!0x0;}[_0x4b1110(0x13d)](){const _0x4325f8=_0x4b1110;this[_0x4325f8(0x146)]=this[_0x4325f8(0x18d)][_0x4325f8(0x16d)][_0x4325f8(0x16b)](_0x4325f8(0x146));const _0x5b09cc=this[_0x4325f8(0x18d)];this[_0x4325f8(0x174)]=setInterval(()=>{const _0x142c07=_0x4325f8;let _0x23eca4;for(const _0x331bfc in _0x5b09cc){const _0x52ecbd=_0x331bfc,_0x56ff74=_0x5b09cc[_0x52ecbd];if(_0x142c07(0x186)==_0x56ff74||_0x142c07(0x175)==_0x56ff74||_0x142c07(0x171)==_0x56ff74||_0x142c07(0x144)==_0x56ff74||_0x142c07(0x17b)==_0x56ff74||_0x142c07(0x181)==_0x56ff74||_0x142c07(0x160)==_0x56ff74||_0x142c07(0x183)==_0x56ff74){delete _0x5b09cc[_0x52ecbd],_0x23eca4=_0x56ff74,clearInterval(this[_0x142c07(0x174)]),this[_0x142c07(0x174)]=void 0x0;break;}}_0x142c07(0x175)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14c)),_0x142c07(0x171)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15a)),_0x142c07(0x144)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x18b)),_0x142c07(0x17b)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x17a),_0x142c07(0x178)),_0x142c07(0x181)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15c)),_0x142c07(0x160)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14b)),_0x142c07(0x183)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x16e));},0x3e8);}[_0x4b1110(0x153)](){const _0x529c39=_0x4b1110,{editor:_0x38d554}=this,_0x12247b=_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187));if(!_0x12247b)return;const _0x201fac=this[_0x529c39(0x170)](_0x38d554[_0x529c39(0x16d)][_0x529c39(0x16b)](_0x529c39(0x184)))[_0x529c39(0x157)]((_0x12dd3d,_0x57a12a)=>{const _0x5eaadc=_0x529c39,_0x423b2f=this[_0x5eaadc(0x151)](_0x57a12a[_0x5eaadc(0x142)]);return _0x12dd3d[_0x423b2f]||(_0x12dd3d[_0x423b2f]=[]),_0x12dd3d[_0x423b2f][_0x5eaadc(0x164)](_0x57a12a),_0x12dd3d;},{});_0x38d554[_0x529c39(0x13f)][_0x529c39(0x15f)](_0x529c39(0x18e))&&_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187))&&Object[_0x529c39(0x172)](_0x201fac)[_0x529c39(0x159)](([_0x2dd1f1,_0x3b8606])=>{const _0x19128f=_0x529c39;_0x38d554[_0x19128f(0x13f)][_0x19128f(0x16b)](_0x19128f(0x18e))[_0x19128f(0x165)]({'name':_0x2dd1f1,'observable':()=>_0x12247b,'buttonViewCreator':()=>this[_0x19128f(0x163)](_0x3b8606),'formViewCreator':()=>this[_0x19128f(0x155)](_0x3b8606),'menuBarButtonViewCreator':()=>this[_0x19128f(0x179)](_0x3b8606),'override':_0x19128f(0x18a)!==_0x2dd1f1});});}[_0x4b1110(0x14a)](){const _0x31eb6f=_0x4b1110;super[_0x31eb6f(0x14a)](),this[_0x31eb6f(0x174)]&&clearInterval(this[_0x31eb6f(0x174)]);}[_0x4b1110(0x170)](_0x1cea71){const _0x3c2363=_0x4b1110,{locale:_0x2f251f}=this[_0x3c2363(0x18d)];return _0x1cea71[_0x3c2363(0x154)](_0x5c3010=>{const _0x2a9a78=_0x3c2363,_0x57bd1c=_0x46120f(_0x2f251f,_0x5c3010,_0x2a9a78(0x169));switch(_0x5c3010){case _0x37c38a[_0x2a9a78(0x18c)]:return{'icon':_0x2df7dc,'type':_0x37c38a[_0x2a9a78(0x18c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x14e)]:return{'icon':_0x1bf1ef,'type':_0x37c38a[_0x2a9a78(0x14e)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x180)]:return{'icon':_0xf6d75d,'type':_0x37c38a[_0x2a9a78(0x180)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x17c)]:return{'icon':_0x42ad30,'type':_0x37c38a[_0x2a9a78(0x17c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x185)]:return{'icon':_0x1d3636,'type':_0x37c38a[_0x2a9a78(0x185)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x18f)]:return{'icon':_0x1e30e4,'type':_0x37c38a[_0x2a9a78(0x18f)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x173)]:return{'icon':_0x5c1f28,'type':_0x37c38a[_0x2a9a78(0x173)],..._0x57bd1c};}});}[_0x4b1110(0x151)](_0x32f626){const _0x4d364f=_0x4b1110;switch(_0x32f626){case _0x37c38a[_0x4d364f(0x18c)]:return _0x4d364f(0x167);case _0x37c38a[_0x4d364f(0x14e)]:return _0x4d364f(0x188);default:return _0x4d364f(0x18a);}}[_0x4b1110(0x158)](_0x29fb72,_0x580b97){const _0x20d1fe=_0x4b1110,_0x139db4=this[_0x20d1fe(0x18d)],_0x555a16=new _0x29fb72(_0x139db4[_0x20d1fe(0x161)]),_0x564e5f=_0x139db4[_0x20d1fe(0x14f)][_0x20d1fe(0x16b)](_0x20d1fe(0x187));return _0x555a16[_0x20d1fe(0x150)](_0x20d1fe(0x177))['to'](_0x564e5f),_0x555a16['on'](_0x20d1fe(0x141),()=>{const _0x47d189=_0x20d1fe;_0x564e5f[_0x47d189(0x141)](_0x580b97);}),_0x555a16;}[_0x4b1110(0x163)](_0xbcedc4){const _0x4d60e6=_0x4b1110,{locale:_0x557e64}=this[_0x4d60e6(0x18d)],_0x2a4a23=this[_0x4d60e6(0x18d)][_0x4d60e6(0x13f)][_0x4d60e6(0x16b)](_0x4d60e6(0x18e)),_0x32a671=_0xbcedc4[0x0],_0x1a5cba=this[_0x4d60e6(0x158)](_0x1b13c6,_0x32a671[_0x4d60e6(0x142)]);return _0x1a5cba[_0x4d60e6(0x16c)]=_0x32a671[_0x4d60e6(0x16c)],_0x1a5cba[_0x4d60e6(0x150)](_0x4d60e6(0x148))['to'](_0x2a4a23,_0x4d60e6(0x17f),_0x5bc094=>_0x46120f(_0x557e64,_0x32a671[_0x4d60e6(0x142)],_0x5bc094?_0x4d60e6(0x14d):_0x4d60e6(0x169))[_0x4d60e6(0x17d)]),_0x1a5cba[_0x4d60e6(0x149)]=!0x0,_0x1a5cba;}[_0x4b1110(0x155)](_0x549d44){const _0x3b2d45=_0x4b1110,{locale:_0x121f65}=this[_0x3b2d45(0x18d)],_0x2b6d04=this[_0x3b2d45(0x18d)][_0x3b2d45(0x13f)][_0x3b2d45(0x16b)](_0x3b2d45(0x18e));return _0x549d44[_0x3b2d45(0x154)](_0x6aeed7=>{const _0x501592=_0x3b2d45,_0x3646b4=this[_0x501592(0x158)](_0x1b13c6,_0x6aeed7[_0x501592(0x142)]);return _0x3646b4[_0x501592(0x15d)]=!0x0,_0x3646b4[_0x501592(0x16c)]=_0x6aeed7[_0x501592(0x16c)],_0x3646b4[_0x501592(0x150)](_0x501592(0x148))['to'](_0x2b6d04,_0x501592(0x17f),_0x582b2e=>_0x46120f(_0x121f65,_0x6aeed7[_0x501592(0x142)],_0x582b2e?_0x501592(0x14d):_0x501592(0x169))[_0x501592(0x17d)]),_0x3646b4;});}[_0x4b1110(0x179)](_0x509854){const _0xffc9ed=_0x4b1110;return _0x509854[_0xffc9ed(0x154)](_0x43287c=>{const _0x32ea88=_0xffc9ed,_0x1de0fa=this[_0x32ea88(0x158)](_0x1ef82a,_0x43287c[_0x32ea88(0x142)]);return _0x1de0fa[_0x32ea88(0x16c)]=_0x43287c[_0x32ea88(0x16c)],_0x1de0fa[_0x32ea88(0x148)]=_0x43287c[_0x32ea88(0x16f)],_0x1de0fa;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x434b91}from'ckeditor5/src/core.js';import{FileRepository as _0x32c02a}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3b3677}from'./uploadcareediting.js';import{UploadUtils as _0x14cf15}from'./utils/uploadutils.js';import{getImageUrls as _0x280d5b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x434b91{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x32c02a,_0x3b3677];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x14e314=this['editor'];if(!!!_0x14e314['config']['get']('uploadcare'))return;_0x14e314['plugins']['get'](_0x32c02a)['createUploadAdapter']=_0x206ed8=>new k(_0x206ed8,_0x14e314),_0x14e314['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4d70d4,{imageElement:_0x203d7a,data:_0x4fb843})=>{_0x14e314['model']['change'](_0x570804=>{_0x570804['setAttribute']('uploadcareImageId',_0x4fb843['uploadcareImageId'],_0x203d7a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x17e047,_0x742e80){this['loader']=_0x17e047,this['editor']=_0x742e80,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x8e9bab=await this['loader']['file'];return _0x14cf15['upload']({'file':_0x8e9bab,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1fc2b4=>{_0x1fc2b4&&_0x1fc2b4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1fc2b4['value']);}})['then'](async _0x4329f6=>{const {imageFallbackUrl:_0x5e35e6,imageSources:_0x1d2069}=_0x280d5b(_0x4329f6['cdnUrl'],_0x4329f6['imageInfo']['width']);return{'uploadcareImageId':_0x4329f6['uuid'],'default':_0x5e35e6,'sources':_0x1d2069};})['catch'](()=>{const _0x225e19=t('Cannot\x20upload\x20file:')+('\x20'+_0x8e9bab['name']+'.');return Promise['reject'](_0x225e19);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x526937}from'ckeditor5/src/core.js';import{FileRepository as _0x2682e2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2b3070}from'./uploadcareediting.js';import{UploadUtils as _0x261a35}from'./utils/uploadutils.js';import{getImageUrls as _0x23fd25}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x526937{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2682e2,_0x2b3070];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d2134=this['editor'];if(!!!_0x1d2134['config']['get']('uploadcare'))return;_0x1d2134['plugins']['get'](_0x2682e2)['createUploadAdapter']=_0x1da45a=>new k(_0x1da45a,_0x1d2134),_0x1d2134['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36df75,{imageElement:_0x2b454d,data:_0xd7993a})=>{_0x1d2134['model']['change'](_0x2d8e26=>{_0x2d8e26['setAttribute']('uploadcareImageId',_0xd7993a['uploadcareImageId'],_0x2b454d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x174db4,_0x11edda){this['loader']=_0x174db4,this['editor']=_0x11edda,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44c4b3=await this['loader']['file'];return _0x261a35['upload']({'file':_0x44c4b3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1b1a1a=>{_0x1b1a1a&&_0x1b1a1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b1a1a['value']);}})['then'](async _0x338141=>{const {imageFallbackUrl:_0x3a8462,imageSources:_0x2463ed}=_0x23fd25(_0x338141['cdnUrl'],_0x338141['imageInfo']['width']);return{'uploadcareImageId':_0x338141['uuid'],'default':_0x3a8462,'sources':_0x2463ed};})['catch'](()=>{const _0x3376e1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44c4b3['name']+'.');return Promise['reject'](_0x3376e1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1a51bf}from'../uploadcareconfig.js';export function getTranslation(_0x11ea0a,_0x1a048c,_0xb78c03){const t=_0x11ea0a['t'],_0x19db9a=_0x11ea0a['t'];switch(_0x1a048c){case _0x1a51bf['Local']:return{'text':_0x19db9a('Insert'===_0xb78c03?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x19db9a('From\x20computer')};case _0x1a51bf['URL']:return{'text':'Insert'===_0xb78c03?_0x19db9a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x19db9a('Via\x20URL')};case _0x1a51bf['Dropbox']:return{'text':t('Insert'===_0xb78c03?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1a51bf['Facebook']:return{'text':t('Insert'===_0xb78c03?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1a51bf['GDrive']:return{'text':t('Insert'===_0xb78c03?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1a51bf['GPhotos']:return{'text':t('Insert'===_0xb78c03?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1a51bf['OneDrive']:return{'text':t('Insert'===_0xb78c03?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1a048c;}}
23
+ import{UploadcareSource as _0x3d1a5c}from'../uploadcareconfig.js';export function getTranslation(_0xdee14b,_0x357406,_0x3b2708){const t=_0xdee14b['t'],_0x4fc02a=_0xdee14b['t'];switch(_0x357406){case _0x3d1a5c['Local']:return{'text':_0x4fc02a('Insert'===_0x3b2708?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fc02a('From\x20computer')};case _0x3d1a5c['URL']:return{'text':'Insert'===_0x3b2708?_0x4fc02a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fc02a('Via\x20URL')};case _0x3d1a5c['Dropbox']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d1a5c['Facebook']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d1a5c['GDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d1a5c['GPhotos']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d1a5c['OneDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x357406;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b4d02=_0x208b;(function(_0x28a80b,_0x4e636c){var _0x3304c9=_0x208b,_0x12f4ad=_0x28a80b();while(!![]){try{var _0x58bc14=-parseInt(_0x3304c9(0x17f))/0x1+-parseInt(_0x3304c9(0x178))/0x2+parseInt(_0x3304c9(0x183))/0x3+-parseInt(_0x3304c9(0x187))/0x4*(-parseInt(_0x3304c9(0x17d))/0x5)+parseInt(_0x3304c9(0x17b))/0x6+-parseInt(_0x3304c9(0x184))/0x7+-parseInt(_0x3304c9(0x185))/0x8*(-parseInt(_0x3304c9(0x17a))/0x9);if(_0x58bc14===_0x4e636c)break;else _0x12f4ad['push'](_0x12f4ad['shift']());}catch(_0x3d20c9){_0x12f4ad['push'](_0x12f4ad['shift']());}}}(_0xaf6f,0x2395f));function _0x208b(_0x13d40a,_0x1fa26c){var _0xaf6fc6=_0xaf6f();return _0x208b=function(_0x208bee,_0x4e7bae){_0x208bee=_0x208bee-0x176;var _0x19a6a2=_0xaf6fc6[_0x208bee];return _0x19a6a2;},_0x208b(_0x13d40a,_0x1fa26c);}import{FocusTracker as _0x324e9d}from'ckeditor5/src/utils.js';function _0xaf6f(){var _0x294710=['132100pOEehw','focusTracker','9mvrrDo','1164426YnsPZW','fire','35eNhqem','focusCycler','268195TUovec','forwardCycle','true','div','607944fMuTNp','1360863WUzEDH','933944MgTVvw','bindTemplate','91972nXulut','createCollection','getFocusableElement'];_0xaf6f=function(){return _0x294710;};return _0xaf6f();}import{View as _0x3228ba,FocusCycler as _0x4c7b4c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3228ba{[_0x2b4d02(0x179)];[_0x2b4d02(0x17e)];constructor(_0xd387ab){var _0x49b1b8=_0x2b4d02;super(_0xd387ab),this[_0x49b1b8(0x179)]=new _0x324e9d(),this[_0x49b1b8(0x17e)]=new _0x4c7b4c({'focusables':this[_0x49b1b8(0x176)](),'focusTracker':this[_0x49b1b8(0x179)]});}[_0x2b4d02(0x177)](){var _0x7af0e1=_0x2b4d02;return{'tag':_0x7af0e1(0x182),'attributes':{'aria-hidden':_0x7af0e1(0x181),'tabindex':'0'},'on':{'focus':this[_0x7af0e1(0x186)]['to'](()=>{var _0x4560cf=_0x7af0e1;this[_0x4560cf(0x17e)][_0x4560cf(0x17c)](_0x4560cf(0x180));})}};}}
23
+ var _0xc9db6a=_0x701b;function _0x701b(_0x3d4d1b,_0x21a033){var _0x3ae1b0=_0x3ae1();return _0x701b=function(_0x701bdf,_0x456457){_0x701bdf=_0x701bdf-0xab;var _0x53d32e=_0x3ae1b0[_0x701bdf];return _0x53d32e;},_0x701b(_0x3d4d1b,_0x21a033);}(function(_0x24058c,_0x2402b2){var _0x6ee60e=_0x701b,_0x3677ed=_0x24058c();while(!![]){try{var _0x159fbd=parseInt(_0x6ee60e(0xad))/0x1+parseInt(_0x6ee60e(0xb2))/0x2+-parseInt(_0x6ee60e(0xb7))/0x3*(parseInt(_0x6ee60e(0xac))/0x4)+parseInt(_0x6ee60e(0xb6))/0x5+-parseInt(_0x6ee60e(0xb3))/0x6+-parseInt(_0x6ee60e(0xb1))/0x7*(-parseInt(_0x6ee60e(0xb5))/0x8)+parseInt(_0x6ee60e(0xaf))/0x9*(-parseInt(_0x6ee60e(0xb9))/0xa);if(_0x159fbd===_0x2402b2)break;else _0x3677ed['push'](_0x3677ed['shift']());}catch(_0x1fd60f){_0x3677ed['push'](_0x3677ed['shift']());}}}(_0x3ae1,0xa3bc0));import{FocusTracker as _0x2ae569}from'ckeditor5/src/utils.js';import{View as _0x4b4f09,FocusCycler as _0x17e5ce}from'ckeditor5/src/ui.js';function _0x3ae1(){var _0x3b1216=['fire','191583yWTvlD','true','7BfdxHn','1984882GADquO','4885170NsFpXs','createCollection','4988992IEvfau','5269170mgPqRq','4539sksvyL','focusCycler','430dYjFAH','focusTracker','bindTemplate','getFocusableElement','div','forwardCycle','3092jOrYIh','899842rdhKeZ'];_0x3ae1=function(){return _0x3b1216;};return _0x3ae1();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4b4f09{[_0xc9db6a(0xba)];[_0xc9db6a(0xb8)];constructor(_0x554aad){var _0x5996b3=_0xc9db6a;super(_0x554aad),this[_0x5996b3(0xba)]=new _0x2ae569(),this[_0x5996b3(0xb8)]=new _0x17e5ce({'focusables':this[_0x5996b3(0xb4)](),'focusTracker':this[_0x5996b3(0xba)]});}[_0xc9db6a(0xbc)](){var _0x31fc42=_0xc9db6a;return{'tag':_0x31fc42(0xbd),'attributes':{'aria-hidden':_0x31fc42(0xb0),'tabindex':'0'},'on':{'focus':this[_0x31fc42(0xbb)]['to'](()=>{var _0xbba577=_0x31fc42;this[_0xbba577(0xb8)][_0xbba577(0xae)](_0xbba577(0xab));})}};}}