@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250526.0 → 0.0.0-nightly-20250527.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 _0x3d40ea=_0x344c;(function(_0x4a9a1a,_0x4518de){const _0x1a1d6c=_0x344c,_0x1edc09=_0x4a9a1a();while(!![]){try{const _0x5a813a=-parseInt(_0x1a1d6c(0x129))/0x1+-parseInt(_0x1a1d6c(0x130))/0x2+parseInt(_0x1a1d6c(0x120))/0x3+parseInt(_0x1a1d6c(0x145))/0x4*(-parseInt(_0x1a1d6c(0x150))/0x5)+parseInt(_0x1a1d6c(0x15c))/0x6*(-parseInt(_0x1a1d6c(0x152))/0x7)+parseInt(_0x1a1d6c(0x146))/0x8*(parseInt(_0x1a1d6c(0x14e))/0x9)+parseInt(_0x1a1d6c(0x147))/0xa;if(_0x5a813a===_0x4518de)break;else _0x1edc09['push'](_0x1edc09['shift']());}catch(_0x288a20){_0x1edc09['push'](_0x1edc09['shift']());}}}(_0x5637,0xcefa5));import{Plugin as _0x1bc1ad}from'ckeditor5/src/core.js';import{Dialog as _0x18c7bd}from'ckeditor5/src/ui.js';import{createElement as _0x5365f3,global as _0x23433a,uid as _0x2115c0}from'ckeditor5/src/utils.js';function _0x5637(){const _0x2e0796=['_initImageProcessingIndicator','href','conversion','extend','imageBlock','_initConfig','replaceImageSource','\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','render','execute','upcast','editing','listenTo','getAttribute','document','init','closeMax','1657197UExaoF','pluginName','_ctxElement','add','editor','uc-config','_initSchema','commands','body','1325807twCQqT','remove','elementToAttribute','insertImage','true','_initCtx','isRegistered','1441366MRtRnN','configElement','map','contentLanguage','uploadcareImageReplace','selection','appendChild','getSelectedElement','view','#uc-icon-arrow-down','config','get','downcast','attributeToAttribute','for','schema','imageInline','_configElement','locale','uploadcare.uploader','uploadcare.pubkey','8rUENFS','8HsHnqY','44177160SmrVBI','querySelector','PictureEditing','data-uc-image-id','isOfficialPlugin','afterInit','join','236781vaneXH','model','2253205WQAyzJ','destroy','49MCWvnh','once','UploadcareEditing','fromCharCode','requires','uc-upload-ctx-provider','iconHrefResolver','uploader','input[uploadcare-file-input]','removeAttribute','1029318WQyBQH','ctxElement','_initConversion','uploadcareImageId','isPremiumPlugin','cleanupImage'];_0x5637=function(){return _0x2e0796;};return _0x5637();}function _0x344c(_0x4dbd7c,_0x254828){const _0x5637ae=_0x5637();return _0x344c=function(_0x344cdb,_0x22435b){_0x344cdb=_0x344cdb-0x112;let _0x223e69=_0x5637ae[_0x344cdb];return _0x223e69;},_0x344c(_0x4dbd7c,_0x254828);}import _0x5c3ced from'./uploadcarecommand.js';import _0x40da82 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x17fb7d}from'./utils/editingutils.js';export default class i extends _0x1bc1ad{[_0x3d40ea(0x141)]=null;[_0x3d40ea(0x122)]=null;static get[_0x3d40ea(0x121)](){const _0x5508b2=_0x3d40ea;return _0x5508b2(0x154);}static get[_0x3d40ea(0x156)](){const _0x59c3e8=_0x3d40ea;return[_0x59c3e8(0x149),_0x40da82,_0x18c7bd];}static get[_0x3d40ea(0x14b)](){return!0x0;}static get[_0x3d40ea(0x160)](){return!0x0;}get[_0x3d40ea(0x131)](){const _0x56e542=_0x3d40ea;return this[_0x56e542(0x141)];}get[_0x3d40ea(0x15d)](){const _0x40ee1b=_0x3d40ea;return this[_0x40ee1b(0x122)];}[_0x3d40ea(0x11e)](){const _0x1ef8da=_0x3d40ea,_0x207600=this[_0x1ef8da(0x124)];_0x207600[_0x1ef8da(0x127)][_0x1ef8da(0x123)](_0x1ef8da(0x116),new _0x5c3ced(_0x207600));}[_0x3d40ea(0x14c)](){const _0x2e4861=_0x3d40ea;this[_0x2e4861(0x126)](),this[_0x2e4861(0x15e)](),this[_0x2e4861(0x113)](),this[_0x2e4861(0x12e)](),this[_0x2e4861(0x162)](),this[_0x2e4861(0x11b)](this[_0x2e4861(0x124)],_0x2e4861(0x151),()=>{const _0x200c8b=_0x2e4861;this[_0x200c8b(0x141)]&&(this[_0x200c8b(0x141)][_0x200c8b(0x12a)](),this[_0x200c8b(0x141)]=null),this[_0x200c8b(0x122)]&&(this[_0x200c8b(0x122)][_0x200c8b(0x12a)](),this[_0x200c8b(0x122)]=null);const _0x7faddd=_0x23433a[_0x200c8b(0x11d)][_0x200c8b(0x148)](_0x200c8b(0x15a));_0x7faddd&&_0x7faddd[_0x200c8b(0x12a)]();}),async function(_0x5dcf97){const _0x2202c2=_0x52fa75([0x6c,0x47,0x75,0x39,0x4e,0x4a,0x33,0x6f,0x4c,0x50,0x51,0x53,0x57,0x31,0x6a,0x7a,0x55,0x4d,0x38,0x46,0x44,0x68,0x34,0x62,0x66,0x30,0x54,0x65,0x6d,0x6b,0x41,0x6e,0x52,0x74,0x37,0x71,0x70,0x49,0x77,0x73,0x72,0x61,0x4b,0x58,0x56,0x4f,0x59,0x45,0x48,0x42,0x36,0x69,0x63,0x5a,0x67,0x43,0x35,0x64,0x79,0x76,0x78,0x32]),_0x29db0a=0xd9d1e7a,_0xdf5b34=0xd9a768a^_0x29db0a,_0x28903b=window[_0x52fa75([0x44,0x61,0x74,0x65])][_0x52fa75([0x6e,0x6f,0x77])](),_0x2122ac=_0x5dcf97[_0x52fa75([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c4f5f=new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5956d9=>{_0x2122ac[_0x52fa75([0x6f,0x6e,0x63,0x65])](_0x52fa75([0x72,0x65,0x61,0x64,0x79]),_0x5956d9);}),_0x1da3c5={[_0x52fa75([0x6b,0x74,0x79])]:_0x52fa75([0x45,0x43]),[_0x52fa75([0x75,0x73,0x65])]:_0x52fa75([0x73,0x69,0x67]),[_0x52fa75([0x63,0x72,0x76])]:_0x52fa75([0x50,0x2d,0x32,0x35,0x36]),[_0x52fa75([0x78])]:_0x52fa75([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]),[_0x52fa75([0x79])]:_0x52fa75([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]),[_0x52fa75([0x61,0x6c,0x67])]:_0x52fa75([0x45,0x53,0x32,0x35,0x36])},_0x55f80c=_0x2122ac[_0x52fa75([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52fa75([0x67,0x65,0x74])](_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22cc44(){let _0x58e499,_0x4b11e0=null,_0x30aaaa=null;try{if(_0x55f80c==_0x52fa75([0x47,0x50,0x4c]))return _0x52fa75([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e499=_0x3dfd0c(),!_0x58e499)return _0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e499[_0x52fa75([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30aaaa=_0x1f492b(_0x58e499[_0x52fa75([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e499[_0x52fa75([0x6a,0x74,0x69])])),await _0x2f8cc7()?_0x3d04bd()?_0x37fd85()?_0x52fa75([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x72a1b0()?(_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52fa75([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b11e0=_0x36dba0(_0x52fa75([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52fa75([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b11e0=_0x36dba0(_0x52fa75([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14538d()):_0x52fa75([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52fa75([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x40b1e6){return _0x52fa75([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37fd85(){const _0x395c56=[_0x52fa75([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52fa75([0x74,0x72,0x69,0x61,0x6c])][_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28903b/0x3e8:0xe10*_0xdf5b34;return _0x58e499[_0x52fa75([0x65,0x78,0x70])]<_0x395c56;}function _0x3d04bd(){const _0x419055=_0x58e499[_0x52fa75([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x419055&&(!!_0x419055[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x2a]))||!!_0x419055[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x55,0x50,0x4c,0x43])));}function _0x72a1b0(){const _0x4797ad=_0x344c,_0x31cabc=_0x58e499[_0x52fa75([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31cabc||0x0==_0x31cabc[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x343c89}=new URL(window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4797ad(0x163)]);if(_0x31cabc[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343c89))return!0x0;const _0x58c353=_0x343c89[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e]));return _0x31cabc[_0x52fa75([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x443071=>_0x443071[_0x52fa75([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52fa75([0x2a])))[_0x52fa75([0x6d,0x61,0x70])](_0x25ae35=>_0x25ae35[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e])))[_0x52fa75([0x73,0x6f,0x6d,0x65])](_0xb8cffc=>_0x58c353[_0x52fa75([0x65,0x76,0x65,0x72,0x79])]((_0x3b3614,_0x5c5aeb)=>_0xb8cffc[_0x5c5aeb]===_0x3b3614||_0xb8cffc[_0x5c5aeb]===_0x52fa75([0x2a])));}function _0x14538d(){return _0x4b11e0&&_0x30aaaa?new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf6a05,_0x5e3644)=>{_0x4b11e0[_0x52fa75([0x74,0x68,0x65,0x6e])](_0xbf6a05,_0x5e3644),_0x30aaaa[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x56df3a=>{_0x56df3a!=_0x52fa75([0x56,0x61,0x6c,0x69,0x64])&&_0xbf6a05(_0x56df3a);},_0x5e3644);}):_0x4b11e0||_0x30aaaa||_0x52fa75([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f492b(_0x4abcd3,_0x4b7fb0){return new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1b75=>{if(_0x582e50())return _0x3a1b75(_0x52fa75([0x56,0x61,0x6c,0x69,0x64]));_0x553b47(),_0x2122ac[_0x52fa75([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x532c2d=!0x1;const _0x278cc2=_0x2115c0();function _0xa057ac(_0x36327b){return!!_0x36327b&&(typeof _0x36327b===_0x52fa75([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36327b===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36327b[_0x52fa75([0x74,0x68,0x65,0x6e])]===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36327b[_0x52fa75([0x63,0x61,0x74,0x63,0x68])]===_0x52fa75([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x518816(_0x44699e){_0x1db1b3(_0x44699e)[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x3deecb=>{if(!_0x3deecb||_0x3deecb[_0x52fa75([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52fa75([0x6f,0x6b]))return _0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18f51e(_0x42f07c(_0x278cc2+_0x4b7fb0))!=_0x3deecb[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52fa75([0x56,0x61,0x6c,0x69,0x64]);})[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x2b3b8d=>(_0x4ff72e(),_0x2b3b8d),()=>{const _0x4527ea=_0x1629f3();return null==_0x4527ea?(_0x4ff72e(),_0x52fa75([0x56,0x61,0x6c,0x69,0x64])):_0x52fa75(_0x28903b-_0x4527ea>(0x29919a7a^_0x29db0a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x3a1b75)[_0x52fa75([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ef2ca=0xdabf0fa^_0x29db0a;function _0x4ff72e(){const _0x407254=_0x52fa75([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f51e(_0x42f07c(_0x4abcd3)),_0x306129=_0xde321c(_0x18f51e(window[_0x52fa75([0x4d,0x61,0x74,0x68])][_0x52fa75([0x63,0x65,0x69,0x6c])](_0x28903b/_0x1ef2ca)));window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52fa75([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x407254,_0x306129);}function _0x1629f3(){const _0x56524e=_0x52fa75([0x6c,0x6c,0x63,0x74,0x2d])+_0x18f51e(_0x42f07c(_0x4abcd3)),_0x40c805=window[_0x52fa75([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52fa75([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56524e);return _0x40c805?window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xde321c(_0x40c805),0x10)*_0x1ef2ca:null;}function _0x1db1b3(_0x2ca2f5){return new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58cfae,_0x79b778)=>{_0x2ca2f5[_0x52fa75([0x74,0x68,0x65,0x6e])](_0x58cfae,_0x79b778),window[_0x52fa75([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x79b778,0xd9ccaba^_0x29db0a);});}}_0x2122ac[_0x52fa75([0x6f,0x6e])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x74896f,_0x2d7f83)=>{if(_0x2d7f83[0x0]!=_0x4abcd3)return _0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7f83[0x1]={..._0x2d7f83[0x1],[_0x52fa75([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x278cc2};},{[_0x52fa75([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52fa75([0x68,0x69,0x67,0x68])}),_0x2122ac[_0x52fa75([0x6f,0x6e])](_0x52fa75([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e76b5=>{_0xa057ac(_0x5e76b5[_0x52fa75([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x532c2d=!0x0,_0x518816(_0x5e76b5[_0x52fa75([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52fa75([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52fa75([0x6c,0x6f,0x77])}),_0x5c4f5f[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>{_0x532c2d||_0x3a1b75(_0x52fa75([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x582e50(){return _0x2122ac[_0x52fa75([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52fa75([0x76,0x69,0x65,0x77])][_0x52fa75([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52fa75([0x61,0x75,0x74,0x6f]);}function _0x553b47(){_0x2122ac[_0x52fa75([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52fa75([0x76,0x69,0x65,0x77])][_0x52fa75([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52fa75([0x61,0x75,0x74,0x6f]);}}function _0x36dba0(_0x3cfed2){const _0x1b18ad=[new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d323=>setTimeout(_0x48d323,0xd9420b6^_0x29db0a)),_0x5c4f5f[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x575770=>{let _0x3c39ae=0x0;_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x6f,0x6e])](_0x52fa75([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c961a,_0x16d888)=>{_0x16d888[0x0][_0x52fa75([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c39ae++,_0x3c39ae==(0xd9d1f82^_0x29db0a)&&(_0x575770(),_0x5c961a[_0x52fa75([0x6f,0x66,0x66])]());});}))];return window[_0x52fa75([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52fa75([0x72,0x61,0x63,0x65])](_0x1b18ad)[_0x52fa75([0x74,0x68,0x65,0x6e])](()=>_0x3cfed2);}async function _0x3e2241(){await _0x5c4f5f,_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0977,_0x2122ac[_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c])][_0x52fa75([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0977,_0x2122ac[_0x52fa75([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52fa75([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58c428(_0x1b6d70){const _0x2c004b=_0x335c9a();_0x2122ac[_0x2c004b]=_0x52fa75([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b6d70,_0x1b6d70!=_0x52fa75([0x56,0x61,0x6c,0x69,0x64])&&_0x3e2241();}function _0x335c9a(){const _0x147e57=window[_0x52fa75([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52fa75([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52fa75([0x6e,0x6f,0x77])]())[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52fa75([0x2e]),'');let _0x49f669=_0x52fa75([0x6c]);for(let _0x1f0bd0=0x0;_0x1f0bd0<_0x147e57[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0bd0+=0x2){let _0x4c28d2=window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x147e57[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f0bd0,_0x1f0bd0+0x2));_0x4c28d2>=_0x2202c2[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c28d2-=_0x2202c2[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49f669+=_0x2202c2[_0x4c28d2];}return _0x49f669;}function _0x3dfd0c(){const _0x24093a=_0x55f80c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e]));if(0x3!=_0x24093a[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x290101(_0x24093a[0x1]);function _0x290101(_0x32f05d){const _0x50ae16=_0x478549(_0x32f05d);return _0x50ae16&&_0x1dda00()?_0x50ae16:null;function _0x1dda00(){const _0xef16f5=_0x50ae16[_0x52fa75([0x6a,0x74,0x69])],_0xb90137=window[_0x52fa75([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xef16f5[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xef16f5[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c6fb={..._0x50ae16,[_0x52fa75([0x6a,0x74,0x69])]:_0xef16f5[_0x52fa75([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xef16f5[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c6fb[_0x52fa75([0x76,0x63])],_0x42f07c(_0x52c6fb)==_0xb90137;}}}async function _0x2f8cc7(){let _0x2f5bd4=!0x0;try{const _0x136ab6=_0x55f80c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])](_0x52fa75([0x2e])),[_0x4f4220,_0x2ba4b3,_0x24a8b9]=_0x136ab6;return _0x40f523(_0x4f4220),await _0x41b96c(_0x4f4220,_0x2ba4b3,_0x24a8b9),_0x2f5bd4;}catch(_0x306075){return!0x1;}function _0x40f523(_0x3d867a){const _0x33f3f3=_0x478549(_0x3d867a);_0x33f3f3&&_0x33f3f3[_0x52fa75([0x61,0x6c,0x67])]==_0x52fa75([0x45,0x53,0x32,0x35,0x36])||(_0x2f5bd4=!0x1);}async function _0x41b96c(_0x560299,_0x5cd18e,_0x523380){const _0x55f40d=window[_0x52fa75([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52fa75([0x66,0x72,0x6f,0x6d])](_0x6fcace(_0x523380),_0x40aaa0=>_0x40aaa0[_0x52fa75([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x570b1d=new window[(_0x52fa75([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52fa75([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x560299+_0x52fa75([0x2e])+_0x5cd18e),_0x4d0c81=window[_0x52fa75([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52fa75([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0c81)return;const _0x5852d1=await _0x4d0c81[_0x52fa75([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52fa75([0x6a,0x77,0x6b]),_0x1da3c5,{[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x45,0x43,0x44,0x53,0x41]),[_0x52fa75([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52fa75([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0c81[_0x52fa75([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x45,0x43,0x44,0x53,0x41]),[_0x52fa75([0x68,0x61,0x73,0x68])]:{[_0x52fa75([0x6e,0x61,0x6d,0x65])]:_0x52fa75([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5852d1,_0x55f40d,_0x570b1d)||(_0x2f5bd4=!0x1);}}function _0x478549(_0x303591){return _0x303591[_0x52fa75([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52fa75([0x65,0x79]))?JSON[_0x52fa75([0x70,0x61,0x72,0x73,0x65])](_0x6fcace(_0x303591)):null;}function _0x6fcace(_0x67c778){return window[_0x52fa75([0x61,0x74,0x6f,0x62])](_0x67c778[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52fa75([0x2b]))[_0x52fa75([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52fa75([0x2f])));}function _0x42f07c(_0x37fc7b){let _0x15a759=0x1505;function _0xb54d1d(_0x5723d1){for(let _0x1860f3=0x0;_0x1860f3<_0x5723d1[_0x52fa75([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1860f3++){const _0x8cbb2c=_0x5723d1[_0x52fa75([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1860f3);_0x15a759=(_0x15a759<<0x5)+_0x15a759+_0x8cbb2c,_0x15a759&=_0x15a759;}}function _0x1d5b0b(_0x1e8a3e){Array[_0x52fa75([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e8a3e)?_0x1e8a3e[_0x52fa75([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d5b0b):_0x1e8a3e&&typeof _0x1e8a3e==_0x52fa75([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52fa75([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e8a3e)[_0x52fa75([0x73,0x6f,0x72,0x74])]()[_0x52fa75([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f950d,_0x45e4f0])=>{_0xb54d1d(_0x1f950d),_0x1d5b0b(_0x45e4f0);}):_0xb54d1d(window[_0x52fa75([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e8a3e));}return _0x1d5b0b(_0x37fc7b),_0x15a759>>>0x0;}function _0x18f51e(_0xdc4aea){return _0xdc4aea[_0x52fa75([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52fa75([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52fa75([0x30]));}function _0xde321c(_0x3cd43c){return _0x3cd43c[_0x52fa75([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52fa75([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52fa75([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a0977(){}function _0x52fa75(_0x39361c){const _0x24f330=_0x344c;return _0x39361c[_0x24f330(0x132)](_0x28845a=>String[_0x24f330(0x155)](_0x28845a))[_0x24f330(0x14d)]('');}_0x58c428(await _0x22cc44());}(this);}[_0x3d40ea(0x126)](){const _0x1bdbd2=_0x3d40ea,_0xce856f=this[_0x1bdbd2(0x124)][_0x1bdbd2(0x14f)][_0x1bdbd2(0x13f)];_0xce856f[_0x1bdbd2(0x12f)](_0x1bdbd2(0x112))&&_0xce856f[_0x1bdbd2(0x165)](_0x1bdbd2(0x112),{'allowAttributes':[_0x1bdbd2(0x15f)]}),_0xce856f[_0x1bdbd2(0x12f)](_0x1bdbd2(0x140))&&_0xce856f[_0x1bdbd2(0x165)](_0x1bdbd2(0x140),{'allowAttributes':[_0x1bdbd2(0x15f)]});}[_0x3d40ea(0x15e)](){const _0x4a77d0=_0x3d40ea,_0x15d9f7=this[_0x4a77d0(0x124)];_0x15d9f7[_0x4a77d0(0x164)][_0x4a77d0(0x13e)](_0x4a77d0(0x13c))[_0x4a77d0(0x13d)]({'model':_0x4a77d0(0x15f),'view':_0x4a77d0(0x14a)}),_0x15d9f7[_0x4a77d0(0x164)][_0x4a77d0(0x13e)](_0x4a77d0(0x119))[_0x4a77d0(0x12b)]({'model':{'key':_0x4a77d0(0x15f),'value':_0x265c0a=>_0x265c0a[_0x4a77d0(0x11c)](_0x4a77d0(0x14a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a6bf1=_0x15d9f7[_0x4a77d0(0x127)][_0x4a77d0(0x13b)](_0x4a77d0(0x114));_0x1a6bf1&&this[_0x4a77d0(0x11b)](_0x1a6bf1,_0x4a77d0(0x161),(_0x2411bc,[_0x4ab69a,_0x422b0c])=>{const _0x1e9daf=_0x4a77d0;_0x4ab69a[_0x1e9daf(0x15b)](_0x1e9daf(0x15f),_0x422b0c);});}[_0x3d40ea(0x113)](){const _0x40d922=_0x3d40ea,_0x55560c=this[_0x40d922(0x124)][_0x40d922(0x13a)][_0x40d922(0x13b)](_0x40d922(0x143))||{},_0x30be07=this[_0x40d922(0x124)][_0x40d922(0x13a)][_0x40d922(0x13b)](_0x40d922(0x144))||'';this[_0x40d922(0x141)]=_0x5365f3(_0x23433a[_0x40d922(0x11d)],_0x40d922(0x125),{..._0x55560c,'pubkey':_0x30be07,'ctx-name':_0x40d922(0x159),'sourceList':'','imgOnly':_0x40d922(0x12d),'removeCopyright':_0x40d922(0x12d),'localeName':this[_0x40d922(0x124)][_0x40d922(0x142)][_0x40d922(0x133)],'externalSourcesEmbedCss':_0x40d922(0x115)}),this[_0x40d922(0x141)][_0x40d922(0x158)]=_0x53a887=>{const _0x59931d=_0x40d922;if(_0x59931d(0x11f)==_0x53a887)return _0x59931d(0x139);},_0x23433a[_0x40d922(0x11d)][_0x40d922(0x128)][_0x40d922(0x136)](this[_0x40d922(0x141)]);}[_0x3d40ea(0x12e)](){const _0x2447cf=_0x3d40ea;this[_0x2447cf(0x122)]=_0x5365f3(_0x23433a[_0x2447cf(0x11d)],_0x2447cf(0x157),{'ctx-name':_0x2447cf(0x159)}),_0x23433a[_0x2447cf(0x11d)][_0x2447cf(0x128)][_0x2447cf(0x136)](this[_0x2447cf(0x122)]);}[_0x3d40ea(0x162)](){const _0x1f937a=_0x3d40ea,_0x47ead6=this[_0x1f937a(0x124)][_0x1f937a(0x127)][_0x1f937a(0x13b)](_0x1f937a(0x12c));_0x47ead6&&this[_0x1f937a(0x11b)](_0x47ead6,_0x1f937a(0x118),()=>{const _0x46bf34=_0x1f937a,_0x3cbd51=this[_0x46bf34(0x124)][_0x46bf34(0x14f)][_0x46bf34(0x11d)][_0x46bf34(0x135)][_0x46bf34(0x137)]();_0x3cbd51&&_0x3cbd51[_0x46bf34(0x11c)](_0x46bf34(0x15f))&&this[_0x46bf34(0x124)][_0x46bf34(0x11a)][_0x46bf34(0x138)][_0x46bf34(0x153)](_0x46bf34(0x117),()=>{const _0xab4ce8=_0x46bf34;_0x17fb7d(this[_0xab4ce8(0x124)],_0x3cbd51);});});const _0x340da6=this[_0x1f937a(0x124)][_0x1f937a(0x127)][_0x1f937a(0x13b)](_0x1f937a(0x134));_0x340da6&&this[_0x1f937a(0x11b)](_0x340da6,_0x1f937a(0x118),()=>{const _0x4b72a0=_0x1f937a,_0x3f703d=this[_0x4b72a0(0x124)][_0x4b72a0(0x14f)][_0x4b72a0(0x11d)][_0x4b72a0(0x135)][_0x4b72a0(0x137)]();_0x3f703d&&_0x3f703d[_0x4b72a0(0x11c)](_0x4b72a0(0x15f))&&this[_0x4b72a0(0x124)][_0x4b72a0(0x11a)][_0x4b72a0(0x138)][_0x4b72a0(0x153)](_0x4b72a0(0x117),()=>{const _0x562e92=_0x4b72a0;_0x17fb7d(this[_0x562e92(0x124)],_0x3f703d);});});}}
23
+ const _0xd0dae7=_0x415b;function _0x3909(){const _0x162bfe=['_initConfig','afterInit','configElement','\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','document','init','uc-config','_initImageProcessingIndicator','isOfficialPlugin','_ctxElement','_configElement','_initConversion','config','commands','isPremiumPlugin','removeAttribute','imageBlock','uc-upload-ctx-provider','data-uc-image-id','body','getSelectedElement','execute','elementToAttribute','ctxElement','imageInline','join','uploadcareImageReplace','destroy','uploadcare','uploader','66530ngvuXI','#uc-icon-arrow-down','PictureEditing','uploadcareImageId','_initSchema','pluginName','260782cXzaMJ','querySelector','upcast','selection','render','fromCharCode','editing','view','56GPnmWs','conversion','locale','iconHrefResolver','map','739816XVRJDL','isRegistered','appendChild','attributeToAttribute','uploadcare.pubkey','closeMax','get','157653OhVJrO','input[uploadcare-file-input]','editor','replaceImageSource','extend','82768yWRSvY','80214Ayhqsg','for','requires','schema','downcast','183303qSlKIB','listenTo','UploadcareEditing','add','36lvvKLk','once','insertImage','contentLanguage','uploadcare.uploader','model','href','_initCtx','cleanupImage','remove','getAttribute','true'];_0x3909=function(){return _0x162bfe;};return _0x3909();}function _0x415b(_0x46a3d5,_0x352436){const _0x3909ba=_0x3909();return _0x415b=function(_0x415b8d,_0xf29ce0){_0x415b8d=_0x415b8d-0x1b7;let _0x167660=_0x3909ba[_0x415b8d];return _0x167660;},_0x415b(_0x46a3d5,_0x352436);}(function(_0x25ab5b,_0x31ab7c){const _0x2f0b12=_0x415b,_0x4b9998=_0x25ab5b();while(!![]){try{const _0x3dc85b=-parseInt(_0x2f0b12(0x206))/0x1+parseInt(_0x2f0b12(0x1f2))/0x2+-parseInt(_0x2f0b12(0x1b9))/0x3+parseInt(_0x2f0b12(0x1ff))/0x4+parseInt(_0x2f0b12(0x1ec))/0x5*(parseInt(_0x2f0b12(0x1c2))/0x6)+parseInt(_0x2f0b12(0x1b8))/0x7*(-parseInt(_0x2f0b12(0x1fa))/0x8)+-parseInt(_0x2f0b12(0x1be))/0x9;if(_0x3dc85b===_0x31ab7c)break;else _0x4b9998['push'](_0x4b9998['shift']());}catch(_0x254d5c){_0x4b9998['push'](_0x4b9998['shift']());}}}(_0x3909,0x1a487));import{Plugin as _0x4bef96}from'ckeditor5/src/core.js';import{Dialog as _0x4fa3c6}from'ckeditor5/src/ui.js';import{createElement as _0x3d9fcb,global as _0x4740aa,uid as _0x1560ae}from'ckeditor5/src/utils.js';import _0x236558 from'./uploadcarecommand.js';import _0x1d5e2e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1279de}from'./utils/editingutils.js';export default class i extends _0x4bef96{[_0xd0dae7(0x1d8)]=null;[_0xd0dae7(0x1d7)]=null;static get[_0xd0dae7(0x1f1)](){const _0x5d93e7=_0xd0dae7;return _0x5d93e7(0x1c0);}static get[_0xd0dae7(0x1bb)](){const _0x14b21b=_0xd0dae7;return[_0x14b21b(0x1ee),_0x1d5e2e,_0x4fa3c6];}static get[_0xd0dae7(0x1d6)](){return!0x0;}static get[_0xd0dae7(0x1dc)](){return!0x0;}get[_0xd0dae7(0x1d0)](){const _0x41f378=_0xd0dae7;return this[_0x41f378(0x1d8)];}get[_0xd0dae7(0x1e5)](){const _0x234385=_0xd0dae7;return this[_0x234385(0x1d7)];}[_0xd0dae7(0x1d3)](){const _0x3a805a=_0xd0dae7,_0x2d5adf=this[_0x3a805a(0x208)];_0x2d5adf[_0x3a805a(0x1db)][_0x3a805a(0x1c1)](_0x3a805a(0x1ea),new _0x236558(_0x2d5adf));}[_0xd0dae7(0x1cf)](){const _0x1627f4=_0xd0dae7;this[_0x1627f4(0x1f0)](),this[_0x1627f4(0x1d9)](),this[_0x1627f4(0x1ce)](),this[_0x1627f4(0x1c9)](),this[_0x1627f4(0x1d5)](),this[_0x1627f4(0x1bf)](this[_0x1627f4(0x208)],_0x1627f4(0x1e9),()=>{const _0xee378c=_0x1627f4;this[_0xee378c(0x1d8)]&&(this[_0xee378c(0x1d8)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d8)]=null),this[_0xee378c(0x1d7)]&&(this[_0xee378c(0x1d7)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d7)]=null);const _0x248e56=_0x4740aa[_0xee378c(0x1d2)][_0xee378c(0x1f3)](_0xee378c(0x207));_0x248e56&&_0x248e56[_0xee378c(0x1cb)]();}),async function(_0x24ab7a){const _0x5d4f21=_0x3e235d([0x57,0x71,0x73,0x33,0x4a,0x4f,0x52,0x35,0x32,0x56,0x4d,0x51,0x67,0x47,0x69,0x54,0x74,0x4b,0x75,0x55,0x53,0x79,0x36,0x44,0x50,0x78,0x38,0x63,0x37,0x61,0x45,0x6a,0x68,0x5a,0x70,0x42,0x66,0x6b,0x41,0x34,0x76,0x4c,0x62,0x6c,0x6f,0x59,0x6d,0x58,0x64,0x31,0x4e,0x7a,0x77,0x39,0x30,0x65,0x6e,0x46,0x43,0x72,0x49,0x48]),_0x3f6725=0x3053539b,_0x52590c=0x30543a93^_0x3f6725,_0x56177d=window[_0x3e235d([0x44,0x61,0x74,0x65])][_0x3e235d([0x6e,0x6f,0x77])](),_0x168727=_0x24ab7a[_0x3e235d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cfeef=new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x462ccd=>{_0x168727[_0x3e235d([0x6f,0x6e,0x63,0x65])](_0x3e235d([0x72,0x65,0x61,0x64,0x79]),_0x462ccd);}),_0x243af4={[_0x3e235d([0x6b,0x74,0x79])]:_0x3e235d([0x45,0x43]),[_0x3e235d([0x75,0x73,0x65])]:_0x3e235d([0x73,0x69,0x67]),[_0x3e235d([0x63,0x72,0x76])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36]),[_0x3e235d([0x78])]:_0x3e235d([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]),[_0x3e235d([0x79])]:_0x3e235d([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]),[_0x3e235d([0x61,0x6c,0x67])]:_0x3e235d([0x45,0x53,0x32,0x35,0x36])},_0x3a3a4e=_0x168727[_0x3e235d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e235d([0x67,0x65,0x74])](_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a0b84(){let _0x53d815,_0x81f52=null,_0x45f5fe=null;try{if(_0x3a3a4e==_0x3e235d([0x47,0x50,0x4c]))return _0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53d815=_0x25ffe6(),!_0x53d815)return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45f5fe=_0x6a96ee(_0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53d815[_0x3e235d([0x6a,0x74,0x69])])),await _0x5844c2()?_0x7f459()?_0x522fde()?_0x3e235d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa33343()?(_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x81f52=_0x2dc674(_0x3e235d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x74,0x72,0x69,0x61,0x6c])&&(_0x81f52=_0x2dc674(_0x3e235d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d4cc7()):_0x3e235d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x522fde(){const _0x4be979=[_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e235d([0x74,0x72,0x69,0x61,0x6c])][_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56177d/0x3e8:0xe10*_0x52590c;return _0x53d815[_0x3e235d([0x65,0x78,0x70])]<_0x4be979;}function _0x7f459(){const _0x12db92=_0x53d815[_0x3e235d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12db92&&(!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a]))||!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x55,0x50,0x4c,0x43])));}function _0xa33343(){const _0x17843c=_0x415b,_0x5e8b1a=_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e8b1a||0x0==_0x5e8b1a[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d3560}=new URL(window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17843c(0x1c8)]);if(_0x5e8b1a[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d3560))return!0x0;const _0x10f7e3=_0x3d3560[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));return _0x5e8b1a[_0x3e235d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24be0f=>_0x24be0f[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a])))[_0x3e235d([0x6d,0x61,0x70])](_0x36e226=>_0x36e226[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])))[_0x3e235d([0x73,0x6f,0x6d,0x65])](_0x2e7ea8=>_0x10f7e3[_0x3e235d([0x65,0x76,0x65,0x72,0x79])]((_0x7064c4,_0x4a59de)=>_0x2e7ea8[_0x4a59de]===_0x7064c4||_0x2e7ea8[_0x4a59de]===_0x3e235d([0x2a])));}function _0x1d4cc7(){return _0x81f52&&_0x45f5fe?new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cb49c,_0x19ceb4)=>{_0x81f52[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x3cb49c,_0x19ceb4),_0x45f5fe[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x47e976=>{_0x47e976!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x3cb49c(_0x47e976);},_0x19ceb4);}):_0x81f52||_0x45f5fe||_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6a96ee(_0x22f82e,_0x636e8f){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d68d5=>{if(_0x295bf7())return _0x1d68d5(_0x3e235d([0x56,0x61,0x6c,0x69,0x64]));_0x3d7eae(),_0x168727[_0x3e235d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c7aa2=!0x1;const _0x5d34aa=_0x1560ae();function _0x3b179a(_0x1c0ce5){return!!_0x1c0ce5&&(typeof _0x1c0ce5===_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c0ce5===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c0ce5[_0x3e235d([0x74,0x68,0x65,0x6e])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c0ce5[_0x3e235d([0x63,0x61,0x74,0x63,0x68])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5ade(_0x4ecc4c){_0x661992(_0x4ecc4c)[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x33d5da=>{if(!_0x33d5da||_0x33d5da[_0x3e235d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e235d([0x6f,0x6b]))return _0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdfaa4b(_0x2ba6f7(_0x5d34aa+_0x636e8f))!=_0x33d5da[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x5dd04c=>(_0x1a5a3a(),_0x5dd04c),()=>{const _0x2e2843=_0x242a6f();return null==_0x2e2843?(_0x1a5a3a(),_0x3e235d([0x56,0x61,0x6c,0x69,0x64])):_0x3e235d(_0x56177d-_0x2e2843>(0x145fd79b^_0x3f6725)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x1d68d5)[_0x3e235d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xba5658=0x3065bd1b^_0x3f6725;function _0x1a5a3a(){const _0x43d13c=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x22a4b0=_0x2406bd(_0xdfaa4b(window[_0x3e235d([0x4d,0x61,0x74,0x68])][_0x3e235d([0x63,0x65,0x69,0x6c])](_0x56177d/_0xba5658)));window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43d13c,_0x22a4b0);}function _0x242a6f(){const _0x33e130=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x55b8c6=window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33e130);return _0x55b8c6?window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2406bd(_0x55b8c6),0x10)*_0xba5658:null;}function _0x661992(_0x3242b1){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x76b538,_0x433e6a)=>{_0x3242b1[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x76b538,_0x433e6a),window[_0x3e235d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x433e6a,0x3052875b^_0x3f6725);});}}_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43fbed,_0x2d7ddb)=>{if(_0x2d7ddb[0x0]!=_0x22f82e)return _0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7ddb[0x1]={..._0x2d7ddb[0x1],[_0x3e235d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d34aa};},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x68,0x69,0x67,0x68])}),_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x325657=>{_0x3b179a(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c7aa2=!0x0,_0x5a5ade(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x6c,0x6f,0x77])}),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>{_0x5c7aa2||_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x295bf7(){return _0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e235d([0x61,0x75,0x74,0x6f]);}function _0x3d7eae(){_0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e235d([0x61,0x75,0x74,0x6f]);}}function _0x2dc674(_0x58c0f6){const _0x3e036b=[new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a855=>setTimeout(_0x44a855,0x305a6d57^_0x3f6725)),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565095=>{let _0x12e8ff=0x0;_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x6f,0x6e])](_0x3e235d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c81e5,_0x1bfc41)=>{_0x1bfc41[0x0][_0x3e235d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12e8ff++,_0x12e8ff==(0x30535263^_0x3f6725)&&(_0x565095(),_0x4c81e5[_0x3e235d([0x6f,0x66,0x66])]());});}))];return window[_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e235d([0x72,0x61,0x63,0x65])](_0x3e036b)[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>_0x58c0f6);}async function _0x2c1cc7(){await _0x1cfeef,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58c122(_0x4add6c){const _0x53065f=_0x2c43ec();_0x168727[_0x53065f]=_0x3e235d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4add6c,_0x4add6c!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c1cc7();}function _0x2c43ec(){const _0x344bce=window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e235d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e235d([0x6e,0x6f,0x77])]())[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e235d([0x2e]),'');let _0xc0f79b=_0x3e235d([0x57]);for(let _0x372711=0x0;_0x372711<_0x344bce[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372711+=0x2){let _0x38ac73=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344bce[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x372711,_0x372711+0x2));_0x38ac73>=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38ac73-=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc0f79b+=_0x5d4f21[_0x38ac73];}return _0xc0f79b;}function _0x25ffe6(){const _0x22ced5=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));if(0x3!=_0x22ced5[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58b190(_0x22ced5[0x1]);function _0x58b190(_0x2a27cf){const _0x2cb0b5=_0x234ef1(_0x2a27cf);return _0x2cb0b5&&_0x1ec7f0()?_0x2cb0b5:null;function _0x1ec7f0(){const _0xa41a35=_0x2cb0b5[_0x3e235d([0x6a,0x74,0x69])],_0x2680b7=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x392a9c={..._0x2cb0b5,[_0x3e235d([0x6a,0x74,0x69])]:_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x392a9c[_0x3e235d([0x76,0x63])],_0x2ba6f7(_0x392a9c)==_0x2680b7;}}}async function _0x5844c2(){let _0xc8663e=!0x0;try{const _0x2766a9=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])),[_0x2dad66,_0xd6c63e,_0x54b6b2]=_0x2766a9;return _0x51dd99(_0x2dad66),await _0x203122(_0x2dad66,_0xd6c63e,_0x54b6b2),_0xc8663e;}catch{return!0x1;}function _0x51dd99(_0x4452ce){const _0x3af4c4=_0x234ef1(_0x4452ce);_0x3af4c4&&_0x3af4c4[_0x3e235d([0x61,0x6c,0x67])]==_0x3e235d([0x45,0x53,0x32,0x35,0x36])||(_0xc8663e=!0x1);}async function _0x203122(_0x392a0c,_0x3ce7b4,_0x4a5f9d){const _0x1e919e=window[_0x3e235d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e235d([0x66,0x72,0x6f,0x6d])](_0x38183f(_0x4a5f9d),_0xe883fb=>_0xe883fb[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11bad5=new window[(_0x3e235d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e235d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x392a0c+_0x3e235d([0x2e])+_0x3ce7b4),_0x3d528c=window[_0x3e235d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e235d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d528c)return;const _0x2fb883=await _0x3d528c[_0x3e235d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e235d([0x6a,0x77,0x6b]),_0x243af4,{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d528c[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x68,0x61,0x73,0x68])]:{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fb883,_0x1e919e,_0x11bad5)||(_0xc8663e=!0x1);}}function _0x234ef1(_0x3afb58){return _0x3afb58[_0x3e235d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e235d([0x65,0x79]))?JSON[_0x3e235d([0x70,0x61,0x72,0x73,0x65])](_0x38183f(_0x3afb58)):null;}function _0x38183f(_0x413487){return window[_0x3e235d([0x61,0x74,0x6f,0x62])](_0x413487[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e235d([0x2b]))[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e235d([0x2f])));}function _0x2ba6f7(_0x331e50){let _0x14060a=0x1505;function _0xabc43f(_0x5a315d){for(let _0x2e6e73=0x0;_0x2e6e73<_0x5a315d[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6e73++){const _0x172483=_0x5a315d[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e6e73);_0x14060a=(_0x14060a<<0x5)+_0x14060a+_0x172483,_0x14060a&=_0x14060a;}}function _0x127f9b(_0x42b644){Array[_0x3e235d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42b644)?_0x42b644[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127f9b):_0x42b644&&typeof _0x42b644==_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e235d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42b644)[_0x3e235d([0x73,0x6f,0x72,0x74])]()[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591476,_0x56415d])=>{_0xabc43f(_0x591476),_0x127f9b(_0x56415d);}):_0xabc43f(window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42b644));}return _0x127f9b(_0x331e50),_0x14060a>>>0x0;}function _0xdfaa4b(_0xa15a04){return _0xa15a04[_0x3e235d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e235d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e235d([0x30]));}function _0x2406bd(_0x17f712){return _0x17f712[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e235d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e235d([0x6a,0x6f,0x69,0x6e])]('');}function _0x45885b(){}function _0x3e235d(_0x35247c){const _0x24d3a9=_0x415b;return _0x35247c[_0x24d3a9(0x1fe)](_0x104575=>String[_0x24d3a9(0x1f7)](_0x104575))[_0x24d3a9(0x1e7)]('');}_0x58c122(await _0x3a0b84());}(this);}[_0xd0dae7(0x1f0)](){const _0x4f7dce=_0xd0dae7,_0x4bc754=this[_0x4f7dce(0x208)][_0x4f7dce(0x1c7)][_0x4f7dce(0x1bc)];_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1de))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1de),{'allowAttributes':[_0x4f7dce(0x1ef)]}),_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1e6))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1e6),{'allowAttributes':[_0x4f7dce(0x1ef)]});}[_0xd0dae7(0x1d9)](){const _0x100c01=_0xd0dae7,_0x455b42=this[_0x100c01(0x208)];_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1bd))[_0x100c01(0x202)]({'model':_0x100c01(0x1ef),'view':_0x100c01(0x1e0)}),_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1f4))[_0x100c01(0x1e4)]({'model':{'key':_0x100c01(0x1ef),'value':_0x5b8156=>_0x5b8156[_0x100c01(0x1cc)](_0x100c01(0x1e0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4abbff=_0x455b42[_0x100c01(0x1db)][_0x100c01(0x205)](_0x100c01(0x209));_0x4abbff&&this[_0x100c01(0x1bf)](_0x4abbff,_0x100c01(0x1ca),(_0x22c3b3,[_0x145dbb,_0x2658f1])=>{const _0x4def17=_0x100c01;_0x145dbb[_0x4def17(0x1dd)](_0x4def17(0x1ef),_0x2658f1);});}[_0xd0dae7(0x1ce)](){const _0x14ce97=_0xd0dae7,_0x26f0fd=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x1c6))||{},_0x3e4ca9=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x203))||'';this[_0x14ce97(0x1d8)]=_0x3d9fcb(_0x4740aa[_0x14ce97(0x1d2)],_0x14ce97(0x1d4),{..._0x26f0fd,'pubkey':_0x3e4ca9,'ctx-name':_0x14ce97(0x1eb),'sourceList':'','imgOnly':_0x14ce97(0x1cd),'removeCopyright':_0x14ce97(0x1cd),'localeName':this[_0x14ce97(0x208)][_0x14ce97(0x1fc)][_0x14ce97(0x1c5)],'externalSourcesEmbedCss':_0x14ce97(0x1d1)}),this[_0x14ce97(0x1d8)][_0x14ce97(0x1fd)]=_0x5a54ad=>{const _0xce261b=_0x14ce97;if(_0xce261b(0x204)==_0x5a54ad)return _0xce261b(0x1ed);},_0x4740aa[_0x14ce97(0x1d2)][_0x14ce97(0x1e1)][_0x14ce97(0x201)](this[_0x14ce97(0x1d8)]);}[_0xd0dae7(0x1c9)](){const _0x4e5cc1=_0xd0dae7;this[_0x4e5cc1(0x1d7)]=_0x3d9fcb(_0x4740aa[_0x4e5cc1(0x1d2)],_0x4e5cc1(0x1df),{'ctx-name':_0x4e5cc1(0x1eb)}),_0x4740aa[_0x4e5cc1(0x1d2)][_0x4e5cc1(0x1e1)][_0x4e5cc1(0x201)](this[_0x4e5cc1(0x1d7)]);}[_0xd0dae7(0x1d5)](){const _0x4bb7b0=_0xd0dae7,_0x13fb9f=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1c4));_0x13fb9f&&this[_0x4bb7b0(0x1bf)](_0x13fb9f,_0x4bb7b0(0x1e3),()=>{const _0x45a08e=_0x4bb7b0,_0x4f5ba9=this[_0x45a08e(0x208)][_0x45a08e(0x1c7)][_0x45a08e(0x1d2)][_0x45a08e(0x1f5)][_0x45a08e(0x1e2)]();_0x4f5ba9&&_0x4f5ba9[_0x45a08e(0x1cc)](_0x45a08e(0x1ef))&&this[_0x45a08e(0x208)][_0x45a08e(0x1f8)][_0x45a08e(0x1f9)][_0x45a08e(0x1c3)](_0x45a08e(0x1f6),()=>{const _0x3fdb49=_0x45a08e;_0x1279de(this[_0x3fdb49(0x208)],_0x4f5ba9);});});const _0x211306=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1e8));_0x211306&&this[_0x4bb7b0(0x1bf)](_0x211306,_0x4bb7b0(0x1e3),()=>{const _0x3f0d27=_0x4bb7b0,_0x31e165=this[_0x3f0d27(0x208)][_0x3f0d27(0x1c7)][_0x3f0d27(0x1d2)][_0x3f0d27(0x1f5)][_0x3f0d27(0x1e2)]();_0x31e165&&_0x31e165[_0x3f0d27(0x1cc)](_0x3f0d27(0x1ef))&&this[_0x3f0d27(0x208)][_0x3f0d27(0x1f8)][_0x3f0d27(0x1f9)][_0x3f0d27(0x1c3)](_0x3f0d27(0x1f6),()=>{const _0x429356=_0x3f0d27;_0x1279de(this[_0x429356(0x208)],_0x31e165);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5bed07,ObservableMixin as _0x28d97b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3d0d98}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x19f452}from'ckeditor5/src/icons.js';import _0x3d1090 from'./uploadcareimageeditformview.js';import _0x562184 from'../../utils/uploadutils.js';import{getImageUrls as _0x2bc068,getImageDimension as _0x542ebb}from'../../utils/editingutils.js';import{isAncestor as _0x430793}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x28d97b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x424415,_0x3fea47,_0x9eee68){super(),this['_editor']=_0x424415,this['_dialog']=_0x3fea47,this['_imageElement']=_0x9eee68,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 _0x2363f6=this['_imageElement'],_0x4b9ddf=_0x2363f6['getAttribute']('uploadcareImageId'),_0x51fcf3=_0x2363f6['getAttribute']('src');if(_0x4b9ddf)await this['_loadImageInfo'](_0x4b9ddf,_0x51fcf3);else{if(this['_imageCache']['has'](_0x51fcf3)){const _0x4c47a7=this['_imageCache']['get'](_0x51fcf3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c47a7['url'],this['imageDimension']=_0x4c47a7['dimension'],this['imageId']=_0x4c47a7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5969af}=this['_editor'],t=_0x5969af['t'],_0x2a0225=new _0x3d1090(_0x5969af,this['imageStatus'],this['_attributes']);_0x2a0225['bind']('status')['to'](this,'imageStatus'),_0x2a0225['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a0225['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a0225['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a0225,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x19f452,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a0225,'position':_0x3d0d98['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a0225['focus']();},'onHide':()=>{_0x2a0225['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59d6fb=>!_0x430793(_0x59d6fb,_0x2a0225['element'])}});}['_loadImageInfo'](_0x18ac6e,_0x54324a){return _0x562184['getInfo'](_0x18ac6e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x357678=>{const {width:_0xf6003a,height:_0x4ae496}=_0x357678['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54324a,this['imageDimension']={'width':_0xf6003a,'height':_0x4ae496},this['imageId']=_0x18ac6e;})['catch'](_0x1f58cb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f58cb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x45c0ee,_0x49918e){return this['_getImageAsFile'](_0x45c0ee)['then'](_0x349906=>_0x562184['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x49918e['signal'],'file':_0x349906,'onProgress':_0x3087a0=>{_0x3087a0&&_0x3087a0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3087a0['value']));}}))['then'](_0x423371=>{const {width:_0x54d446,height:_0x1911bd}=_0x423371['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x423371['cdnUrl'],this['imageDimension']={'width':_0x54d446,'height':_0x1911bd},this['imageId']=_0x423371['uuid'],this['imageUploadProgress']=null;const _0xb4c940=_0x45c0ee['getAttribute']('src');this['_imageCache']['set'](_0xb4c940,{'id':_0x423371['uuid'],'url':_0x423371['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x27338b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x27338b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2e25e6,_0x113cc2){_0x2e25e6['on']('apply',(_0x4fb671,_0x4f2d1b)=>{this['_replaceImage'](_0x113cc2,_0x4f2d1b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2e25e6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2e25e6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x29be1e,_0x129284,_0x136717){const _0x267159=this['_editor'],{width:_0x1e5ba6,height:_0xb9661e}=_0x542ebb(_0x129284,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1df8b0,imageSources:_0xa7b468}=_0x2bc068(_0x129284,_0x1e5ba6);_0x267159['model']['change'](_0x5e1e90=>{if('$graveyard'===_0x29be1e['root']['rootName']){_0x267159['execute']('insertImage',{'imageType':_0x29be1e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x29be1e['getAttributes']()),'uploadcareImageId':_0x136717,'src':_0x1df8b0,'sources':_0xa7b468,'width':_0x1e5ba6,'height':_0xb9661e}});const _0xad3379=_0x29be1e['getChildren']();_0x29be1e=_0x267159['model']['document']['selection']['getSelectedElement']();for(const _0x597b01 of _0xad3379)_0x5e1e90['append'](_0x5e1e90['cloneElement'](_0x597b01),_0x29be1e);}else _0x5e1e90['setSelection'](_0x29be1e,'on'),_0x267159['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x29be1e['getAttributes']()),'uploadcareImageId':_0x136717,'src':_0x1df8b0,'sources':_0xa7b468,'width':_0x1e5ba6,'height':_0xb9661e},_0x29be1e);_0x5e1e90['setSelection'](_0x29be1e,'on');});}async['_getImageAsFile'](_0x159e6f){const _0x4534f7=_0x5bed07['window'],_0x4c0f67=_0x5bed07['document']['location']['href'],_0x535a35=new _0x4534f7['URL'](_0x159e6f['getAttribute']('src'),_0x4c0f67);if('data:'===_0x535a35['protocol']){const _0x56a394=_0x535a35['href']['split'](','),_0x249bde=_0x56a394[0x0]['match'](/:(.*?);/)[0x1],_0xaad977=_0x249bde['split']('/')[0x1],_0x409e6f=_0x4534f7['atob'](_0x56a394[_0x56a394['length']-0x1]);let _0xfcf3cb=_0x409e6f['length'];const _0xde8f97=new _0x4534f7['Uint8Array'](_0xfcf3cb);for(;_0xfcf3cb--;)_0xde8f97[_0xfcf3cb]=_0x409e6f['charCodeAt'](_0xfcf3cb);return new _0x4534f7['File']([_0xde8f97],'image.'+_0xaad977,{'type':_0x249bde});}const _0x53dff1=_0x535a35['href']['split']('/'),_0x3caf15=_0x53dff1[_0x53dff1['length']-0x1],_0xee900c=_0x3caf15['split']('.')[0x1];return _0x4534f7['fetch'](_0x535a35['href'])['then'](_0xf52d0b=>_0xf52d0b['clone']()['blob']())['then'](_0x22abb1=>new _0x4534f7['File']([_0x22abb1],_0x3caf15,{'type':'image/'+_0xee900c}));}}
23
+ import{global as _0x2045be,ObservableMixin as _0x24689e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ae9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c65b1}from'ckeditor5/src/icons.js';import _0x480c2d from'./uploadcareimageeditformview.js';import _0x263547 from'../../utils/uploadutils.js';import{getImageUrls as _0x4f4c49,getImageDimension as _0x541ac1}from'../../utils/editingutils.js';import{isAncestor as _0x5099a6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x24689e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3218a5,_0x27ccff,_0xe2582){super(),this['_editor']=_0x3218a5,this['_dialog']=_0x27ccff,this['_imageElement']=_0xe2582,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 _0xeddb41=this['_imageElement'],_0xf74147=_0xeddb41['getAttribute']('uploadcareImageId'),_0x9b47ea=_0xeddb41['getAttribute']('src');if(_0xf74147)await this['_loadImageInfo'](_0xf74147,_0x9b47ea);else{if(this['_imageCache']['has'](_0x9b47ea)){const _0x5097f6=this['_imageCache']['get'](_0x9b47ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5097f6['url'],this['imageDimension']=_0x5097f6['dimension'],this['imageId']=_0x5097f6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x916732}=this['_editor'],t=_0x916732['t'],_0x1daab2=new _0x480c2d(_0x916732,this['imageStatus'],this['_attributes']);_0x1daab2['bind']('status')['to'](this,'imageStatus'),_0x1daab2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1daab2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1daab2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1daab2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c65b1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1daab2,'position':_0x219ae9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1daab2['focus']();},'onHide':()=>{_0x1daab2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2bb227=>!_0x5099a6(_0x2bb227,_0x1daab2['element'])}});}['_loadImageInfo'](_0x25c9b8,_0xfe48cf){return _0x263547['getInfo'](_0x25c9b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c502e=>{const {width:_0x274439,height:_0x5af032}=_0x2c502e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfe48cf,this['imageDimension']={'width':_0x274439,'height':_0x5af032},this['imageId']=_0x25c9b8;})['catch'](_0x5b0c72=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b0c72['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x33564b,_0x2e622f){return this['_getImageAsFile'](_0x33564b)['then'](_0x2042a6=>_0x263547['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2e622f['signal'],'file':_0x2042a6,'onProgress':_0x2fc1dd=>{_0x2fc1dd&&_0x2fc1dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fc1dd['value']));}}))['then'](_0x4984b6=>{const {width:_0x4350e2,height:_0x462210}=_0x4984b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4984b6['cdnUrl'],this['imageDimension']={'width':_0x4350e2,'height':_0x462210},this['imageId']=_0x4984b6['uuid'],this['imageUploadProgress']=null;const _0x503533=_0x33564b['getAttribute']('src');this['_imageCache']['set'](_0x503533,{'id':_0x4984b6['uuid'],'url':_0x4984b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x494d44=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x494d44['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa53a02,_0x5eb087){_0xa53a02['on']('apply',(_0x3f0123,_0x33b039)=>{this['_replaceImage'](_0x5eb087,_0x33b039['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa53a02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa53a02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x443377,_0x1fd054,_0x4d4374){const _0x192dd4=this['_editor'],{width:_0x2ab651,height:_0x79d1a3}=_0x541ac1(_0x1fd054,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x195444,imageSources:_0x45df45}=_0x4f4c49(_0x1fd054,_0x2ab651);_0x192dd4['model']['change'](_0xc731ac=>{if('$graveyard'===_0x443377['root']['rootName']){_0x192dd4['execute']('insertImage',{'imageType':_0x443377['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3}});const _0x179688=_0x443377['getChildren']();_0x443377=_0x192dd4['model']['document']['selection']['getSelectedElement']();for(const _0x440517 of _0x179688)_0xc731ac['append'](_0xc731ac['cloneElement'](_0x440517),_0x443377);}else _0xc731ac['setSelection'](_0x443377,'on'),_0x192dd4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3},_0x443377);_0xc731ac['setSelection'](_0x443377,'on');});}async['_getImageAsFile'](_0xbd7ef5){const _0x32bebc=_0x2045be['window'],_0x5e23a9=_0x2045be['document']['location']['href'],_0x2cff9a=new _0x32bebc['URL'](_0xbd7ef5['getAttribute']('src'),_0x5e23a9);if('data:'===_0x2cff9a['protocol']){const _0x5388fb=_0x2cff9a['href']['split'](','),_0x15fe68=_0x5388fb[0x0]['match'](/:(.*?);/)[0x1],_0x2a5b22=_0x15fe68['split']('/')[0x1],_0x34f38b=_0x32bebc['atob'](_0x5388fb[_0x5388fb['length']-0x1]);let _0x5ea81a=_0x34f38b['length'];const _0x1a33b5=new _0x32bebc['Uint8Array'](_0x5ea81a);for(;_0x5ea81a--;)_0x1a33b5[_0x5ea81a]=_0x34f38b['charCodeAt'](_0x5ea81a);return new _0x32bebc['File']([_0x1a33b5],'image.'+_0x2a5b22,{'type':_0x15fe68});}const _0x5a7caa=_0x2cff9a['href']['split']('/'),_0x5ab290=_0x5a7caa[_0x5a7caa['length']-0x1],_0x179ed8=_0x5ab290['split']('.')[0x1];return _0x32bebc['fetch'](_0x2cff9a['href'])['then'](_0x5504e6=>_0x5504e6['clone']()['blob']())['then'](_0x548af0=>new _0x32bebc['File']([_0x548af0],_0x5ab290,{'type':'image/'+_0x179ed8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3890(_0x327cc1,_0x191a07){const _0x250c04=_0x250c();return _0x3890=function(_0x3890f6,_0x53939b){_0x3890f6=_0x3890f6-0x15a;let _0x1b04f4=_0x250c04[_0x3890f6];return _0x1b04f4;},_0x3890(_0x327cc1,_0x191a07);}function _0x250c(){const _0x5cc675=['10470509zAMYLF','20350647SKGOjn','2468985hjmmLg','image-edit','uc-cloud-image-editor','set','10hMnJHU','bindTemplate','setTemplate','2783790aTEfFa','2VzrYxh','11447800geylqe','ck-uploadcare-theme','1356324snhenX','5603320Vehmyv','uc-light','imageSrc'];_0x250c=function(){return _0x5cc675;};return _0x250c();}(function(_0xd8a16f,_0x5c779a){const _0x2f7c67=_0x3890,_0x293781=_0xd8a16f();while(!![]){try{const _0x19d2d7=-parseInt(_0x2f7c67(0x163))/0x1+-parseInt(_0x2f7c67(0x160))/0x2*(parseInt(_0x2f7c67(0x169))/0x3)+parseInt(_0x2f7c67(0x164))/0x4+parseInt(_0x2f7c67(0x15c))/0x5*(parseInt(_0x2f7c67(0x15f))/0x6)+parseInt(_0x2f7c67(0x167))/0x7+parseInt(_0x2f7c67(0x161))/0x8+-parseInt(_0x2f7c67(0x168))/0x9;if(_0x19d2d7===_0x5c779a)break;else _0x293781['push'](_0x293781['shift']());}catch(_0x364ad9){_0x293781['push'](_0x293781['shift']());}}}(_0x250c,0xc6fac));import{View as _0x4f1bf9}from'ckeditor5/src/ui.js';export default class tt extends _0x4f1bf9{constructor(_0x3211ee,_0x454c73){const _0x5cab01=_0x3890;super(_0x3211ee);const _0x1cfa81=this[_0x5cab01(0x15d)];this[_0x5cab01(0x15b)](_0x5cab01(0x166),''),this[_0x5cab01(0x15e)]({'tag':_0x5cab01(0x15a),'attributes':{..._0x454c73,'class':[_0x5cab01(0x165),_0x5cab01(0x162)],'ctx-name':_0x5cab01(0x16a),'cdn-url':_0x1cfa81['to'](_0x5cab01(0x166))}});}}
23
+ function _0x11d2(){const _0x3f548c=['uc-light','uc-cloud-image-editor','2181448LPOwve','imageSrc','setTemplate','510JmWaWg','11349rQlxdG','11xqcSBL','2052114BFDWId','set','7LoBIWz','bindTemplate','ck-uploadcare-theme','36DNLwdl','733340TQwOYM','87063zUyuGc','201529ZhtJUn','image-edit','5047356QPdnSY','2HpfpVS'];_0x11d2=function(){return _0x3f548c;};return _0x11d2();}function _0x5581(_0xf1f335,_0xa95721){const _0x11d28a=_0x11d2();return _0x5581=function(_0x558141,_0x5e7e92){_0x558141=_0x558141-0x101;let _0x528ac7=_0x11d28a[_0x558141];return _0x528ac7;},_0x5581(_0xf1f335,_0xa95721);}(function(_0x56b04d,_0x473898){const _0x4eec6f=_0x5581,_0x4b40c8=_0x56b04d();while(!![]){try{const _0x3d2508=-parseInt(_0x4eec6f(0x101))/0x1*(-parseInt(_0x4eec6f(0x104))/0x2)+parseInt(_0x4eec6f(0x114))/0x3*(parseInt(_0x4eec6f(0x112))/0x4)+parseInt(_0x4eec6f(0x113))/0x5+-parseInt(_0x4eec6f(0x10d))/0x6*(-parseInt(_0x4eec6f(0x10f))/0x7)+-parseInt(_0x4eec6f(0x107))/0x8+parseInt(_0x4eec6f(0x10b))/0x9*(-parseInt(_0x4eec6f(0x10a))/0xa)+-parseInt(_0x4eec6f(0x10c))/0xb*(parseInt(_0x4eec6f(0x103))/0xc);if(_0x3d2508===_0x473898)break;else _0x4b40c8['push'](_0x4b40c8['shift']());}catch(_0x1201cf){_0x4b40c8['push'](_0x4b40c8['shift']());}}}(_0x11d2,0x2f508));import{View as _0x5bf394}from'ckeditor5/src/ui.js';export default class tt extends _0x5bf394{constructor(_0x5396bd,_0x4508cd){const _0x54fd13=_0x5581;super(_0x5396bd);const _0x248e5e=this[_0x54fd13(0x110)];this[_0x54fd13(0x10e)](_0x54fd13(0x108),''),this[_0x54fd13(0x109)]({'tag':_0x54fd13(0x106),'attributes':{..._0x4508cd,'class':[_0x54fd13(0x105),_0x54fd13(0x111)],'ctx-name':_0x54fd13(0x102),'cdn-url':_0x248e5e['to'](_0x54fd13(0x108))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x411558,IconView as at,View as _0x107d2a}from'ckeditor5/src/ui.js';export default class rt extends _0x107d2a{constructor(_0xf9a6d5){super(_0xf9a6d5);const t=_0xf9a6d5['t'];this['set']('errorType',null);const _0x4c419c=new _0x411558(_0xf9a6d5);_0x4c419c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c419c['withText']=!0x0,_0x4c419c['class']='ck-button-action',_0x4c419c['on']('execute',()=>{this['fire']('retry');}),_0x4c419c['bind']('isVisible')['to'](this,'errorType',_0x12eaf2=>'NotFound'!==_0x12eaf2);const _0x5a7d7c=new at();_0x5a7d7c['content']=et,_0x5a7d7c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x188b17=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':[_0x5a7d7c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x188b17['to']('errorType',_0x4eede7=>t('NotFound'!==_0x4eede7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c419c]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x141e56,IconView as at,View as _0xc4fb45}from'ckeditor5/src/ui.js';export default class rt extends _0xc4fb45{constructor(_0x3f4184){super(_0x3f4184);const t=_0x3f4184['t'];this['set']('errorType',null);const _0x60e2e0=new _0x141e56(_0x3f4184);_0x60e2e0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x60e2e0['withText']=!0x0,_0x60e2e0['class']='ck-button-action',_0x60e2e0['on']('execute',()=>{this['fire']('retry');}),_0x60e2e0['bind']('isVisible')['to'](this,'errorType',_0x42b29e=>'NotFound'!==_0x42b29e);const _0x4a182a=new at();_0x4a182a['content']=et,_0x4a182a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35f951=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':[_0x4a182a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35f951['to']('errorType',_0x54bf50=>t('NotFound'!==_0x54bf50?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x60e2e0]},{'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 _0x4d212f,View as _0x20a3d5}from'ckeditor5/src/ui.js';export default class ta extends _0x20a3d5{constructor(_0x3ac0f6){super(_0x3ac0f6);const t=_0x3ac0f6['t'],_0x1dcca3=this['bindTemplate'],_0x39d425=new _0x4d212f();_0x39d425['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':[_0x39d425,{'text':_0x1dcca3['to']('imageUploadProgress',_0x1c1606=>t('Loading\x20image...')+'\x20('+(_0x1c1606||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 _0x5d3daf,View as _0x440633}from'ckeditor5/src/ui.js';export default class ta extends _0x440633{constructor(_0x7d7428){super(_0x7d7428);const t=_0x7d7428['t'],_0x146d68=this['bindTemplate'],_0x2f11fc=new _0x5d3daf();_0x2f11fc['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':[_0x2f11fc,{'text':_0x146d68['to']('imageUploadProgress',_0x50f875=>t('Loading\x20image...')+'\x20('+(_0x50f875||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fd1d1=_0x2b28;(function(_0x538f85,_0x29d557){const _0x1f549e=_0x2b28,_0x543c10=_0x538f85();while(!![]){try{const _0x493efd=-parseInt(_0x1f549e(0xc6))/0x1*(-parseInt(_0x1f549e(0xd1))/0x2)+-parseInt(_0x1f549e(0xf6))/0x3*(-parseInt(_0x1f549e(0xcf))/0x4)+parseInt(_0x1f549e(0xe4))/0x5*(parseInt(_0x1f549e(0xf2))/0x6)+parseInt(_0x1f549e(0xda))/0x7*(parseInt(_0x1f549e(0xe5))/0x8)+parseInt(_0x1f549e(0xfa))/0x9*(parseInt(_0x1f549e(0xdd))/0xa)+parseInt(_0x1f549e(0xc4))/0xb*(parseInt(_0x1f549e(0xf3))/0xc)+-parseInt(_0x1f549e(0xed))/0xd;if(_0x493efd===_0x29d557)break;else _0x543c10['push'](_0x543c10['shift']());}catch(_0x536ceb){_0x543c10['push'](_0x543c10['shift']());}}}(_0x1b31,0x32406));import{View as _0xdef0db}from'ckeditor5/src/ui.js';import _0x39baa4 from'./uploadcareimageeditformloadingview.js';function _0x2b28(_0x2a28a6,_0x5c9387){const _0x1b31ac=_0x1b31();return _0x2b28=function(_0x2b28a8,_0x3425d5){_0x2b28a8=_0x2b28a8-0xc3;let _0x547429=_0x1b31ac[_0x2b28a8];return _0x547429;},_0x2b28(_0x2a28a6,_0x5c9387);}import _0x264e3a from'./uploadcareimageeditformerrorview.js';import _0x3bd205 from'./uploadcareimageeditformeditingview.js';function _0x1b31(){const _0x1913a1=['nodeName','uc-cloud-image-editor','observe','querySelector','set','setTemplate','element','740383LvxNAQ','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','40kKJjIW','_loadingView','once','render','uploading','cancel','_items','14430VNSOMA','8UVdPQX','ck-uploadcare-form','error','_focusableView','ready','target','_setView','_addErrorViewListeners','10596690EdUxOE','addEventListener','add','toLowerCase','focus','414nzWEqY','3396WDXqDU','retry','getFocusableElement','534513FOeSyf','cdnUrl','clear','change:status','852867FLRVUz','ck-reset_all-excluded','disconnect','_errorView','2981vkwBSf','createCollection','82141DKYGxw','addMany','detail','apply','fire','_editingView','status','addedNodes','filter','4oPyUEy','length','2xNvxnt','div'];_0x1b31=function(){return _0x1913a1;};return _0x1b31();}import _0x7d4b6c from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x7d4b6c{[_0x3fd1d1(0xe3)];[_0x3fd1d1(0xde)];[_0x3fd1d1(0xc3)];[_0x3fd1d1(0xcb)];[_0x3fd1d1(0xe8)];constructor(_0x5e2629,_0x1dbaa2,_0x5f14d9){const _0x2f7b7a=_0x3fd1d1;super(_0x5e2629),this[_0x2f7b7a(0xe3)]=this[_0x2f7b7a(0xc5)](),this[_0x2f7b7a(0xde)]=new _0x39baa4(_0x5e2629),this[_0x2f7b7a(0xc3)]=new _0x264e3a(_0x5e2629),this[_0x2f7b7a(0xcb)]=new _0x3bd205(_0x5e2629,_0x5f14d9),this[_0x2f7b7a(0xe8)]=new _0xdef0db(_0x5e2629),this[_0x2f7b7a(0xe8)][_0x2f7b7a(0xd8)](this[_0x2f7b7a(0xf5)]()),this[_0x2f7b7a(0xd7)](_0x2f7b7a(0xcc),_0x1dbaa2),this[_0x2f7b7a(0xd8)]({'tag':_0x2f7b7a(0xd2),'attributes':{'class':['ck',_0x2f7b7a(0xfb),_0x2f7b7a(0xe6)],'tabindex':'-1'},'children':this[_0x2f7b7a(0xe3)]}),this[_0x2f7b7a(0xeb)](),this[_0x2f7b7a(0xdf)](_0x2f7b7a(0xe0),()=>{const _0x335c6d=_0x2f7b7a;this[_0x335c6d(0xdc)](this[_0x335c6d(0xd9)],_0x446e3e=>{const _0x4d9797=_0x335c6d;this[_0x4d9797(0xdb)](_0x446e3e);});}),this['on'](_0x2f7b7a(0xf9),()=>{const _0x4f6ecd=_0x2f7b7a;this[_0x4f6ecd(0xeb)]();}),this[_0x2f7b7a(0xec)]();}[_0x3fd1d1(0xf1)](){const _0xb1743f=_0x3fd1d1;this[_0xb1743f(0xd9)][_0xb1743f(0xf1)]();}[_0x3fd1d1(0xeb)](){const _0x5eb068=_0x3fd1d1;switch(this[_0x5eb068(0xe3)][_0x5eb068(0xf8)](),this[_0x5eb068(0xcc)]){case _0x5eb068(0xe1):this[_0x5eb068(0xe3)][_0x5eb068(0xef)](this[_0x5eb068(0xde)]);break;case _0x5eb068(0xe7):this[_0x5eb068(0xe3)][_0x5eb068(0xef)](this[_0x5eb068(0xc3)]);break;case _0x5eb068(0xe9):this[_0x5eb068(0xe3)][_0x5eb068(0xc7)]([this[_0x5eb068(0xcb)],this[_0x5eb068(0xe8)]]);}}[_0x3fd1d1(0xdc)](_0x55c3a1,_0x2998cc){const _0x28de9d=_0x3fd1d1,_0x4ba8b6=_0x28de9d(0xd4),_0x423b96=_0x55c3a1[_0x28de9d(0xd6)](_0x4ba8b6);if(_0x423b96)return _0x2998cc(_0x423b96);const _0x2e04d4=new MutationObserver(_0x4ba7e4=>{const _0x4ba1a6=_0x28de9d,_0x3e49c1=_0x4ba7e4[_0x4ba1a6(0xce)](_0x4c2cee=>_0x4c2cee[_0x4ba1a6(0xea)]===_0x55c3a1&&_0x4c2cee[_0x4ba1a6(0xcd)][_0x4ba1a6(0xd0)]>0x0&&_0x4c2cee[_0x4ba1a6(0xcd)][0x0][_0x4ba1a6(0xd3)][_0x4ba1a6(0xf0)]()===_0x4ba8b6);_0x3e49c1[_0x4ba1a6(0xd0)]&&(_0x2e04d4[_0x4ba1a6(0xfc)](),_0x2998cc(_0x3e49c1[0x0][_0x4ba1a6(0xcd)][0x0]));});_0x2e04d4[_0x28de9d(0xd5)](_0x55c3a1,{'childList':!0x0,'subtree':!0x0});}[_0x3fd1d1(0xdb)](_0x40e473){const _0x4b48c9=_0x3fd1d1;_0x40e473[_0x4b48c9(0xee)](_0x4b48c9(0xc9),_0x2cc3ca=>{const _0x34ce7a=_0x4b48c9;this[_0x34ce7a(0xca)](_0x34ce7a(0xc9),{'imageSrc':_0x2cc3ca[_0x34ce7a(0xc8)][_0x34ce7a(0xf7)]});}),_0x40e473[_0x4b48c9(0xee)](_0x4b48c9(0xe2),()=>{const _0x4918e0=_0x4b48c9;this[_0x4918e0(0xca)](_0x4918e0(0xe2));});}[_0x3fd1d1(0xec)](){const _0x633134=_0x3fd1d1;this[_0x633134(0xc3)]['on'](_0x633134(0xf4),()=>{const _0x243118=_0x633134;this[_0x243118(0xca)](_0x243118(0xf4));});}}
23
+ const _0x1ac4f4=_0x28aa;(function(_0x2d9867,_0x2e69b6){const _0x2284e3=_0x28aa,_0x57dfe6=_0x2d9867();while(!![]){try{const _0x39d1a1=parseInt(_0x2284e3(0x1a2))/0x1*(parseInt(_0x2284e3(0x1bc))/0x2)+-parseInt(_0x2284e3(0x1a1))/0x3*(parseInt(_0x2284e3(0x1bb))/0x4)+-parseInt(_0x2284e3(0x1cc))/0x5*(-parseInt(_0x2284e3(0x1c3))/0x6)+-parseInt(_0x2284e3(0x1af))/0x7*(parseInt(_0x2284e3(0x1cb))/0x8)+-parseInt(_0x2284e3(0x1a8))/0x9+parseInt(_0x2284e3(0x1b6))/0xa+parseInt(_0x2284e3(0x1ad))/0xb*(-parseInt(_0x2284e3(0x19f))/0xc);if(_0x39d1a1===_0x2e69b6)break;else _0x57dfe6['push'](_0x57dfe6['shift']());}catch(_0x35a5a7){_0x57dfe6['push'](_0x57dfe6['shift']());}}}(_0x28f2,0x82f0b));function _0x28aa(_0x1d257e,_0x4a95c3){const _0x28f2a5=_0x28f2();return _0x28aa=function(_0x28aae1,_0x3e7d98){_0x28aae1=_0x28aae1-0x194;let _0x37c553=_0x28f2a5[_0x28aae1];return _0x37c553;},_0x28aa(_0x1d257e,_0x4a95c3);}import{View as _0x25add9}from'ckeditor5/src/ui.js';function _0x28f2(){const _0xb117=['fire','element','target','270012Mpgzje','set','135TTuWxV','210779GqvgUn','_items','disconnect','_errorView','detail','ck-reset_all-excluded','931050iClkxh','once','retry','add','_loadingView','22OWZVSw','setTemplate','7peQMNS','_setView','change:status','_editingView','querySelector','toLowerCase','status','5092520jkJMvi','ck-uploadcare-form','apply','cancel','uc-cloud-image-editor','41908YOVLYX','6WpMaHw','render','cdnUrl','uploading','ready','observe','nodeName','6bEftFj','clear','_addErrorViewListeners','focus','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','addedNodes','div','7177184nxhYIW','4559035zCQzSy','error','addEventListener','_focusableView','getFocusableElement','length','filter','createCollection','addMany'];_0x28f2=function(){return _0xb117;};return _0x28f2();}import _0x2d5bf5 from'./uploadcareimageeditformloadingview.js';import _0x3fac18 from'./uploadcareimageeditformerrorview.js';import _0x4ec107 from'./uploadcareimageeditformeditingview.js';import _0x134729 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x134729{[_0x1ac4f4(0x1a3)];[_0x1ac4f4(0x1ac)];[_0x1ac4f4(0x1a5)];[_0x1ac4f4(0x1b2)];[_0x1ac4f4(0x196)];constructor(_0x249d3a,_0xcd2a4a,_0x49200e){const _0x4a46d5=_0x1ac4f4;super(_0x249d3a),this[_0x4a46d5(0x1a3)]=this[_0x4a46d5(0x19a)](),this[_0x4a46d5(0x1ac)]=new _0x2d5bf5(_0x249d3a),this[_0x4a46d5(0x1a5)]=new _0x3fac18(_0x249d3a),this[_0x4a46d5(0x1b2)]=new _0x4ec107(_0x249d3a,_0x49200e),this[_0x4a46d5(0x196)]=new _0x25add9(_0x249d3a),this[_0x4a46d5(0x196)][_0x4a46d5(0x1ae)](this[_0x4a46d5(0x197)]()),this[_0x4a46d5(0x1a0)](_0x4a46d5(0x1b5),_0xcd2a4a),this[_0x4a46d5(0x1ae)]({'tag':_0x4a46d5(0x1ca),'attributes':{'class':['ck',_0x4a46d5(0x1a7),_0x4a46d5(0x1b7)],'tabindex':'-1'},'children':this[_0x4a46d5(0x1a3)]}),this[_0x4a46d5(0x1b0)](),this[_0x4a46d5(0x1a9)](_0x4a46d5(0x1bd),()=>{const _0x1445c3=_0x4a46d5;this[_0x1445c3(0x1c8)](this[_0x1445c3(0x19d)],_0x2c360c=>{const _0xb2a503=_0x1445c3;this[_0xb2a503(0x1c7)](_0x2c360c);});}),this['on'](_0x4a46d5(0x1b1),()=>{const _0x1986c8=_0x4a46d5;this[_0x1986c8(0x1b0)]();}),this[_0x4a46d5(0x1c5)]();}[_0x1ac4f4(0x1c6)](){const _0x310c8a=_0x1ac4f4;this[_0x310c8a(0x19d)][_0x310c8a(0x1c6)]();}[_0x1ac4f4(0x1b0)](){const _0x28b059=_0x1ac4f4;switch(this[_0x28b059(0x1a3)][_0x28b059(0x1c4)](),this[_0x28b059(0x1b5)]){case _0x28b059(0x1bf):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1ac)]);break;case _0x28b059(0x194):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1a5)]);break;case _0x28b059(0x1c0):this[_0x28b059(0x1a3)][_0x28b059(0x19b)]([this[_0x28b059(0x1b2)],this[_0x28b059(0x196)]]);}}[_0x1ac4f4(0x1c8)](_0x59e22d,_0x4fe33b){const _0x5848f9=_0x1ac4f4,_0x4b6b0e=_0x5848f9(0x1ba),_0x511c1a=_0x59e22d[_0x5848f9(0x1b3)](_0x4b6b0e);if(_0x511c1a)return _0x4fe33b(_0x511c1a);const _0x4e0bd0=new MutationObserver(_0x500cc8=>{const _0x51391e=_0x5848f9,_0x1bddb1=_0x500cc8[_0x51391e(0x199)](_0x37bc47=>_0x37bc47[_0x51391e(0x19e)]===_0x59e22d&&_0x37bc47[_0x51391e(0x1c9)][_0x51391e(0x198)]>0x0&&_0x37bc47[_0x51391e(0x1c9)][0x0][_0x51391e(0x1c2)][_0x51391e(0x1b4)]()===_0x4b6b0e);_0x1bddb1[_0x51391e(0x198)]&&(_0x4e0bd0[_0x51391e(0x1a4)](),_0x4fe33b(_0x1bddb1[0x0][_0x51391e(0x1c9)][0x0]));});_0x4e0bd0[_0x5848f9(0x1c1)](_0x59e22d,{'childList':!0x0,'subtree':!0x0});}[_0x1ac4f4(0x1c7)](_0x3a7748){const _0x5a3064=_0x1ac4f4;_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b8),_0x2ec895=>{const _0x50a6c7=_0x5a3064;this[_0x50a6c7(0x19c)](_0x50a6c7(0x1b8),{'imageSrc':_0x2ec895[_0x50a6c7(0x1a6)][_0x50a6c7(0x1be)]});}),_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b9),()=>{const _0x586130=_0x5a3064;this[_0x586130(0x19c)](_0x586130(0x1b9));});}[_0x1ac4f4(0x1c5)](){const _0x595d57=_0x1ac4f4;this[_0x595d57(0x1a5)]['on'](_0x595d57(0x1aa),()=>{const _0x10c6f=_0x595d57;this[_0x10c6f(0x19c)](_0x10c6f(0x1aa));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16fe22=_0x3f0d;function _0x3f0d(_0x187441,_0x1385af){const _0x208414=_0x2084();return _0x3f0d=function(_0x3f0d0a,_0x1eedf7){_0x3f0d0a=_0x3f0d0a-0xe2;let _0x12e921=_0x208414[_0x3f0d0a];return _0x12e921;},_0x3f0d(_0x187441,_0x1385af);}(function(_0x17eb9b,_0x3fd0ed){const _0x41f080=_0x3f0d,_0x4ea2a4=_0x17eb9b();while(!![]){try{const _0x1f0be8=parseInt(_0x41f080(0xea))/0x1+parseInt(_0x41f080(0xf9))/0x2+parseInt(_0x41f080(0xe8))/0x3*(parseInt(_0x41f080(0xf2))/0x4)+parseInt(_0x41f080(0xfc))/0x5*(-parseInt(_0x41f080(0xfd))/0x6)+parseInt(_0x41f080(0xe2))/0x7*(parseInt(_0x41f080(0xeb))/0x8)+-parseInt(_0x41f080(0xff))/0x9*(-parseInt(_0x41f080(0xe4))/0xa)+-parseInt(_0x41f080(0xfa))/0xb;if(_0x1f0be8===_0x3fd0ed)break;else _0x4ea2a4['push'](_0x4ea2a4['shift']());}catch(_0x5a1c21){_0x4ea2a4['push'](_0x4ea2a4['shift']());}}}(_0x2084,0x261ff));function _0x2084(){const _0x1447a1=['model','execute','imageInline','get','11616DDNJhL','imageEditController','isActive','config','set','getSelectedElement','bind','185878Fxyhce','5508833yfVLzr','isEnabled','10lveFsN','533442AfRFrN','selection','2564307TQHEIA','requires','_isEditable','plugins','1008JgxJxi','refresh','10lqegVB','document','element','uploadcare.allowExternalImagesEditing','291uLhHNo','editor','166298nXTWGz','496vvjeoR','imageBlock','unbind'];_0x2084=function(){return _0x1447a1;};return _0x2084();}import{Command as _0x2c7a1c}from'ckeditor5/src/core.js';import{Dialog as _0x3315c5}from'ckeditor5/src/ui.js';import _0x5cb2da from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x526267}from'../utils/editingutils.js';export default class J extends _0x2c7a1c{[_0x16fe22(0xf3)];static get[_0x16fe22(0x100)](){return[_0x3315c5];}[_0x16fe22(0x101)];constructor(_0x31af1f){const _0x2bb306=_0x16fe22;super(_0x31af1f),this[_0x2bb306(0xf3)]=void 0x0,this[_0x2bb306(0x101)]=_0x526267(_0x31af1f[_0x2bb306(0xf5)][_0x2bb306(0xf1)](_0x2bb306(0xe7))||[]),this[_0x2bb306(0xf6)]({'isActive':!0x1});}[_0x16fe22(0xe3)](){const _0x518959=_0x16fe22,_0x31145b=this[_0x518959(0xe9)][_0x518959(0xee)][_0x518959(0xe5)][_0x518959(0xfe)][_0x518959(0xf7)]();this[_0x518959(0xfb)]=this[_0x518959(0x101)](_0x31145b);}[_0x16fe22(0xef)](){const _0x5b12c1=_0x16fe22;this[_0x5b12c1(0xf3)]&&(this[_0x5b12c1(0xed)](_0x5b12c1(0xf4)),this[_0x5b12c1(0xf3)]=void 0x0);const _0x5c5105=this[_0x5b12c1(0xe9)][_0x5b12c1(0xee)][_0x5b12c1(0xe5)][_0x5b12c1(0xfe)][_0x5b12c1(0xf7)]();_0x5c5105&&(_0x5c5105['is'](_0x5b12c1(0xe6),_0x5b12c1(0xec))||_0x5c5105['is'](_0x5b12c1(0xe6),_0x5b12c1(0xf0)))&&(this[_0x5b12c1(0xf3)]=new _0x5cb2da(this[_0x5b12c1(0xe9)],this[_0x5b12c1(0xe9)][_0x5b12c1(0x102)][_0x5b12c1(0xf1)](_0x3315c5),_0x5c5105),this[_0x5b12c1(0xf8)](_0x5b12c1(0xf4))['to'](this[_0x5b12c1(0xf3)],_0x5b12c1(0xf4)));}}
23
+ const _0x330fa9=_0x3449;(function(_0x16ffcf,_0x54a7e4){const _0x2f1dac=_0x3449,_0x1cb48b=_0x16ffcf();while(!![]){try{const _0x3a8f2d=parseInt(_0x2f1dac(0x1f5))/0x1*(-parseInt(_0x2f1dac(0x1ff))/0x2)+parseInt(_0x2f1dac(0x1fe))/0x3+-parseInt(_0x2f1dac(0x200))/0x4+-parseInt(_0x2f1dac(0x1e9))/0x5+-parseInt(_0x2f1dac(0x1fd))/0x6*(parseInt(_0x2f1dac(0x1f2))/0x7)+parseInt(_0x2f1dac(0x1f3))/0x8+parseInt(_0x2f1dac(0x1fa))/0x9;if(_0x3a8f2d===_0x54a7e4)break;else _0x1cb48b['push'](_0x1cb48b['shift']());}catch(_0x1f581a){_0x1cb48b['push'](_0x1cb48b['shift']());}}}(_0x53c4,0x1ab86));import{Command as _0xe73a27}from'ckeditor5/src/core.js';import{Dialog as _0x8dbe7b}from'ckeditor5/src/ui.js';import _0x4821e2 from'./ui/uploadcareimageeditcontroller.js';function _0x53c4(){const _0x1b2e28=['bind','execute','document','_isEditable','imageEditController','plugins','413uCYHkn','1269992xqaIRa','config','503gycAOr','isEnabled','get','set','uploadcare.allowExternalImagesEditing','3016224TcWqJk','element','imageBlock','9258sBnKmW','88083GSpIGB','666eNOywA','484864RlbLXv','unbind','imageInline','requires','selection','editor','model','getSelectedElement','170240VQYjMo','isActive','refresh'];_0x53c4=function(){return _0x1b2e28;};return _0x53c4();}function _0x3449(_0x5cdc6f,_0x3d5742){const _0x53c4e1=_0x53c4();return _0x3449=function(_0x3449a6,_0xae34b4){_0x3449a6=_0x3449a6-0x1e2;let _0x39df03=_0x53c4e1[_0x3449a6];return _0x39df03;},_0x3449(_0x5cdc6f,_0x3d5742);}import{createEditabilityChecker as _0x1fb271}from'../utils/editingutils.js';export default class J extends _0xe73a27{[_0x330fa9(0x1f0)];static get[_0x330fa9(0x1e4)](){return[_0x8dbe7b];}[_0x330fa9(0x1ef)];constructor(_0x483288){const _0x558d01=_0x330fa9;super(_0x483288),this[_0x558d01(0x1f0)]=void 0x0,this[_0x558d01(0x1ef)]=_0x1fb271(_0x483288[_0x558d01(0x1f4)][_0x558d01(0x1f7)](_0x558d01(0x1f9))||[]),this[_0x558d01(0x1f8)]({'isActive':!0x1});}[_0x330fa9(0x1eb)](){const _0x546015=_0x330fa9,_0x1c1dcd=this[_0x546015(0x1e6)][_0x546015(0x1e7)][_0x546015(0x1ee)][_0x546015(0x1e5)][_0x546015(0x1e8)]();this[_0x546015(0x1f6)]=this[_0x546015(0x1ef)](_0x1c1dcd);}[_0x330fa9(0x1ed)](){const _0x2afa81=_0x330fa9;this[_0x2afa81(0x1f0)]&&(this[_0x2afa81(0x1e2)](_0x2afa81(0x1ea)),this[_0x2afa81(0x1f0)]=void 0x0);const _0x1bb475=this[_0x2afa81(0x1e6)][_0x2afa81(0x1e7)][_0x2afa81(0x1ee)][_0x2afa81(0x1e5)][_0x2afa81(0x1e8)]();_0x1bb475&&(_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1fc))||_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1e3)))&&(this[_0x2afa81(0x1f0)]=new _0x4821e2(this[_0x2afa81(0x1e6)],this[_0x2afa81(0x1e6)][_0x2afa81(0x1f1)][_0x2afa81(0x1f7)](_0x8dbe7b),_0x1bb475),this[_0x2afa81(0x1ec)](_0x2afa81(0x1ea))['to'](this[_0x2afa81(0x1f0)],_0x2afa81(0x1ea)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b2e4d=_0x3515;function _0x5193(){const _0x4f64f9=['6MJesRg','commands','17394624sFeVLT','6870hqPNNj','isOfficialPlugin','ImageEditing','26081WdnMPk','ImageUtils','pluginName','uploadcareImageReplace','2944daNZiW','init','678sWTjCx','requires','uploadcareImageEdit','UploadcareImageEditEditing','935227aqooWf','add','2mMdguj','9976014DNlgzO','2345965HNxFdt','262280jGMOlG','isPremiumPlugin','273DENwGC'];_0x5193=function(){return _0x4f64f9;};return _0x5193();}(function(_0x5c0187,_0x1e7da8){const _0x14bd68=_0x3515,_0x3b155d=_0x5c0187();while(!![]){try{const _0x14a4c8=parseInt(_0x14bd68(0x126))/0x1*(parseInt(_0x14bd68(0x128))/0x2)+-parseInt(_0x14bd68(0x122))/0x3*(-parseInt(_0x14bd68(0x120))/0x4)+parseInt(_0x14bd68(0x12a))/0x5*(-parseInt(_0x14bd68(0x12e))/0x6)+parseInt(_0x14bd68(0x12d))/0x7*(parseInt(_0x14bd68(0x12b))/0x8)+-parseInt(_0x14bd68(0x129))/0x9+parseInt(_0x14bd68(0x131))/0xa*(parseInt(_0x14bd68(0x134))/0xb)+-parseInt(_0x14bd68(0x130))/0xc;if(_0x14a4c8===_0x1e7da8)break;else _0x3b155d['push'](_0x3b155d['shift']());}catch(_0x955bb8){_0x3b155d['push'](_0x3b155d['shift']());}}}(_0x5193,0xefb68));import{Plugin as _0x227698}from'ckeditor5/src/core.js';import{Notification as _0x21badf}from'ckeditor5/src/ui.js';import _0x569577 from'./uploadcareimageeditcommand.js';function _0x3515(_0x23d4bc,_0x2632de){const _0x5193af=_0x5193();return _0x3515=function(_0x351589,_0xf4a9e0){_0x351589=_0x351589-0x11f;let _0x52f089=_0x5193af[_0x351589];return _0x52f089;},_0x3515(_0x23d4bc,_0x2632de);}import _0x11296d from'./uploadcareimagereplacecommand.js';import _0x7d9222 from'../uploadcareediting.js';export default class g extends _0x227698{static get[_0x2b2e4d(0x136)](){const _0x57748c=_0x2b2e4d;return _0x57748c(0x125);}static get[_0x2b2e4d(0x123)](){const _0x3fd7e5=_0x2b2e4d;return[_0x7d9222,_0x21badf,_0x3fd7e5(0x135),_0x3fd7e5(0x133)];}static get[_0x2b2e4d(0x132)](){return!0x0;}static get[_0x2b2e4d(0x12c)](){return!0x0;}[_0x2b2e4d(0x121)](){const _0x34bbe0=_0x2b2e4d,{editor:_0x2cccb9}=this;_0x2cccb9[_0x34bbe0(0x12f)][_0x34bbe0(0x127)](_0x34bbe0(0x124),new _0x569577(_0x2cccb9)),_0x2cccb9[_0x34bbe0(0x12f)][_0x34bbe0(0x127)](_0x34bbe0(0x11f),new _0x11296d(_0x2cccb9));}}
23
+ const _0xac556a=_0x4cc2;function _0x4036(){const _0x1352fa=['add','init','2088093PdcDjt','3215230XDwxFn','20gqWzvj','937524jTgvfB','pluginName','2whulpN','UploadcareImageEditEditing','2345568HzysBx','uploadcareImageReplace','uploadcareImageEdit','220140XYyrQA','15253ZXZrzc','isPremiumPlugin','1578HuWxao','ImageUtils','requires','isOfficialPlugin','11160846dzuiQz','commands','ImageEditing'];_0x4036=function(){return _0x1352fa;};return _0x4036();}(function(_0x3b07d1,_0x1493bf){const _0x1036fb=_0x4cc2,_0x4c0b0e=_0x3b07d1();while(!![]){try{const _0x2f00e3=-parseInt(_0x1036fb(0x18e))/0x1*(parseInt(_0x1036fb(0x18c))/0x2)+parseInt(_0x1036fb(0x189))/0x3+parseInt(_0x1036fb(0x193))/0x4*(parseInt(_0x1036fb(0x18b))/0x5)+parseInt(_0x1036fb(0x180))/0x6*(-parseInt(_0x1036fb(0x194))/0x7)+-parseInt(_0x1036fb(0x190))/0x8+parseInt(_0x1036fb(0x184))/0x9+parseInt(_0x1036fb(0x18a))/0xa;if(_0x2f00e3===_0x1493bf)break;else _0x4c0b0e['push'](_0x4c0b0e['shift']());}catch(_0x530499){_0x4c0b0e['push'](_0x4c0b0e['shift']());}}}(_0x4036,0xa48c7));import{Plugin as _0x148599}from'ckeditor5/src/core.js';import{Notification as _0x24181b}from'ckeditor5/src/ui.js';import _0x27b5ae from'./uploadcareimageeditcommand.js';import _0x5e91ba from'./uploadcareimagereplacecommand.js';import _0x547b38 from'../uploadcareediting.js';function _0x4cc2(_0x2e9adc,_0x24f817){const _0x4036d2=_0x4036();return _0x4cc2=function(_0x4cc265,_0x1476c1){_0x4cc265=_0x4cc265-0x180;let _0x180a81=_0x4036d2[_0x4cc265];return _0x180a81;},_0x4cc2(_0x2e9adc,_0x24f817);}export default class g extends _0x148599{static get[_0xac556a(0x18d)](){const _0x46ba23=_0xac556a;return _0x46ba23(0x18f);}static get[_0xac556a(0x182)](){const _0x38ad7f=_0xac556a;return[_0x547b38,_0x24181b,_0x38ad7f(0x181),_0x38ad7f(0x186)];}static get[_0xac556a(0x183)](){return!0x0;}static get[_0xac556a(0x195)](){return!0x0;}[_0xac556a(0x188)](){const _0x86f9e0=_0xac556a,{editor:_0x10f43a}=this;_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x192),new _0x27b5ae(_0x10f43a)),_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x191),new _0x5e91ba(_0x10f43a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x184438}from'ckeditor5/src/core.js';import{ButtonView as _0x1a8b01}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x296e56}from'ckeditor5/src/icons.js';import{createElement as _0x38a39f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x184438{['_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 _0x35baa5=this['editor'];_0x35baa5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x163ef7=>{const _0x293e66=_0x35baa5['commands']['get']('uploadcareImageEdit'),_0x334f54=new _0x1a8b01(_0x163ef7),t=_0x163ef7['t'];return _0x334f54['set']({'icon':_0x296e56,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x334f54['bind']('isEnabled')['to'](_0x293e66),_0x334f54['bind']('isOn')['to'](_0x293e66,'isActive'),this['listenTo'](_0x334f54,'execute',()=>{_0x35baa5['execute']('uploadcareImageEdit'),_0x35baa5['editing']['view']['focus']();}),_0x334f54;}),this['_initConfig']();}['_initConfig'](){const _0x423090=_0x38a39f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x423090),this['listenTo'](this['editor'],'destroy',()=>{_0x423090['remove']();});}}
23
+ import{Plugin as _0x10a930}from'ckeditor5/src/core.js';import{ButtonView as _0x2a833a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a1012}from'ckeditor5/src/icons.js';import{createElement as _0x5798c4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x10a930{['_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 _0x15a312=this['editor'];_0x15a312['ui']['componentFactory']['add']('uploadcareImageEdit',_0x153fa1=>{const _0x1b4b31=_0x15a312['commands']['get']('uploadcareImageEdit'),_0xba0fa4=new _0x2a833a(_0x153fa1),t=_0x153fa1['t'];return _0xba0fa4['set']({'icon':_0x4a1012,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xba0fa4['bind']('isEnabled')['to'](_0x1b4b31),_0xba0fa4['bind']('isOn')['to'](_0x1b4b31,'isActive'),this['listenTo'](_0xba0fa4,'execute',()=>{_0x15a312['execute']('uploadcareImageEdit'),_0x15a312['editing']['view']['focus']();}),_0xba0fa4;}),this['_initConfig']();}['_initConfig'](){const _0x2c7aee=_0x5798c4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c7aee),this['listenTo'](this['editor'],'destroy',()=>{_0x2c7aee['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31b1(_0x15a879,_0x1568e8){const _0x55e31f=_0x55e3();return _0x31b1=function(_0x31b18e,_0x7de653){_0x31b18e=_0x31b18e-0x14c;let _0x206087=_0x55e31f[_0x31b18e];return _0x206087;},_0x31b1(_0x15a879,_0x1568e8);}const _0x1c026b=_0x31b1;(function(_0x5f22ab,_0x5151b2){const _0x3b3f09=_0x31b1,_0x564eb8=_0x5f22ab();while(!![]){try{const _0x4a9fe3=-parseInt(_0x3b3f09(0x152))/0x1*(-parseInt(_0x3b3f09(0x153))/0x2)+-parseInt(_0x3b3f09(0x157))/0x3+parseInt(_0x3b3f09(0x151))/0x4+parseInt(_0x3b3f09(0x15c))/0x5+-parseInt(_0x3b3f09(0x154))/0x6+-parseInt(_0x3b3f09(0x159))/0x7+parseInt(_0x3b3f09(0x14e))/0x8*(parseInt(_0x3b3f09(0x161))/0x9);if(_0x4a9fe3===_0x5151b2)break;else _0x564eb8['push'](_0x564eb8['shift']());}catch(_0x1cb444){_0x564eb8['push'](_0x564eb8['shift']());}}}(_0x55e3,0xed448));function _0x55e3(){const _0x2d5eac=['getSelectedElement','5304135KyuMWi','removeAttribute','editor','sizes','model','9oaSbHN','setAttributes','element','imageBlock','isEnabled','refresh','10335704dADyPn','execute','imageInline','2477960TktfLa','16706gZIdMY','106wknNUN','9502386CfhwWX','selection','srcset','1640691esxffx','change','5286554JsFZAw','document'];_0x55e3=function(){return _0x2d5eac;};return _0x55e3();}import{Command as _0x2479a4}from'ckeditor5/src/core.js';export default class O extends _0x2479a4{[_0x1c026b(0x14d)](){const _0x5bcd7c=_0x1c026b,_0x2abd1b=this[_0x5bcd7c(0x15e)][_0x5bcd7c(0x160)][_0x5bcd7c(0x15a)][_0x5bcd7c(0x155)][_0x5bcd7c(0x15b)]();this[_0x5bcd7c(0x14c)]=Boolean(_0x2abd1b&&(_0x2abd1b['is'](_0x5bcd7c(0x163),_0x5bcd7c(0x164))||_0x2abd1b['is'](_0x5bcd7c(0x163),_0x5bcd7c(0x150))));}[_0x1c026b(0x14f)](_0x49f602){const _0x266733=_0x1c026b,_0x167622=this[_0x266733(0x15e)][_0x266733(0x160)][_0x266733(0x15a)][_0x266733(0x155)][_0x266733(0x15b)]();this[_0x266733(0x15e)][_0x266733(0x160)][_0x266733(0x158)](_0x963632=>{const _0x95ce05=_0x266733;_0x963632[_0x95ce05(0x162)](_0x49f602,_0x167622),_0x963632[_0x95ce05(0x15d)](_0x95ce05(0x156),_0x167622),_0x963632[_0x95ce05(0x15d)](_0x95ce05(0x15f),_0x167622);});}}
23
+ function _0x2f02(){const _0x5caa92=['execute','isEnabled','editor','10YTeRaA','removeAttribute','model','520754EseLxh','selection','13576IRGDMv','344234xtiHNP','srcset','710335OPDbaY','24fMWMzP','sizes','imageBlock','4pVAERq','995487IClMFo','6799419nvEBCM','element','1TxnlPI','document','change','12osHbzI','getSelectedElement','217aqmkam','refresh','3732444FEmSfM','setAttributes','imageInline'];_0x2f02=function(){return _0x5caa92;};return _0x2f02();}const _0x138467=_0x4441;(function(_0x1dab17,_0x1bb44e){const _0x1b0ae4=_0x4441,_0x23f6f4=_0x1dab17();while(!![]){try{const _0x3495ad=-parseInt(_0x1b0ae4(0x181))/0x1*(parseInt(_0x1b0ae4(0x177))/0x2)+parseInt(_0x1b0ae4(0x17e))/0x3*(parseInt(_0x1b0ae4(0x17d))/0x4)+parseInt(_0x1b0ae4(0x179))/0x5*(parseInt(_0x1b0ae4(0x184))/0x6)+parseInt(_0x1b0ae4(0x186))/0x7*(parseInt(_0x1b0ae4(0x176))/0x8)+-parseInt(_0x1b0ae4(0x188))/0x9*(-parseInt(_0x1b0ae4(0x18e))/0xa)+-parseInt(_0x1b0ae4(0x17f))/0xb+-parseInt(_0x1b0ae4(0x17a))/0xc*(-parseInt(_0x1b0ae4(0x174))/0xd);if(_0x3495ad===_0x1bb44e)break;else _0x23f6f4['push'](_0x23f6f4['shift']());}catch(_0x12459d){_0x23f6f4['push'](_0x23f6f4['shift']());}}}(_0x2f02,0x5b1a4));function _0x4441(_0x2753fa,_0x1877b7){const _0x2f0288=_0x2f02();return _0x4441=function(_0x44418c,_0x931039){_0x44418c=_0x44418c-0x173;let _0x58042e=_0x2f0288[_0x44418c];return _0x58042e;},_0x4441(_0x2753fa,_0x1877b7);}import{Command as _0x47b007}from'ckeditor5/src/core.js';export default class O extends _0x47b007{[_0x138467(0x187)](){const _0xf55979=_0x138467,_0x15b290=this[_0xf55979(0x18d)][_0xf55979(0x173)][_0xf55979(0x182)][_0xf55979(0x175)][_0xf55979(0x185)]();this[_0xf55979(0x18c)]=Boolean(_0x15b290&&(_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x17c))||_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x18a))));}[_0x138467(0x18b)](_0x4e3801){const _0x56caad=_0x138467,_0x38467e=this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x182)][_0x56caad(0x175)][_0x56caad(0x185)]();this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x183)](_0x1c397a=>{const _0xa3b84e=_0x56caad;_0x1c397a[_0xa3b84e(0x189)](_0x4e3801,_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x178),_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x17b),_0x38467e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f5247=_0x3c04;function _0x3c04(_0x313280,_0x5410d1){var _0xbe2e30=_0xbe2e();return _0x3c04=function(_0x3c0420,_0x4fb2cb){_0x3c0420=_0x3c0420-0x1c6;var _0x175dae=_0xbe2e30[_0x3c0420];return _0x175dae;},_0x3c04(_0x313280,_0x5410d1);}(function(_0x188ced,_0x1bc1ba){var _0x2b8c0c=_0x3c04,_0x368add=_0x188ced();while(!![]){try{var _0xcf0975=parseInt(_0x2b8c0c(0x1c8))/0x1*(parseInt(_0x2b8c0c(0x1d5))/0x2)+-parseInt(_0x2b8c0c(0x1d0))/0x3*(parseInt(_0x2b8c0c(0x1c6))/0x4)+-parseInt(_0x2b8c0c(0x1cc))/0x5*(parseInt(_0x2b8c0c(0x1d2))/0x6)+-parseInt(_0x2b8c0c(0x1d3))/0x7+parseInt(_0x2b8c0c(0x1d7))/0x8*(-parseInt(_0x2b8c0c(0x1c7))/0x9)+-parseInt(_0x2b8c0c(0x1c9))/0xa*(parseInt(_0x2b8c0c(0x1cf))/0xb)+-parseInt(_0x2b8c0c(0x1ca))/0xc*(-parseInt(_0x2b8c0c(0x1cb))/0xd);if(_0xcf0975===_0x1bc1ba)break;else _0x368add['push'](_0x368add['shift']());}catch(_0x202b46){_0x368add['push'](_0x368add['shift']());}}}(_0xbe2e,0xb8490));import{Plugin as _0x1b097c}from'ckeditor5/src/core.js';function _0xbe2e(){var _0x1ec5dc=['19596084lmFFas','39pTFVSo','750415nHGUoA','isPremiumPlugin','requires','8093591FaKvXg','1829406Qsxnyu','pluginName','24boBHlq','6310927qPJLsc','UploadcareImageEdit','25686bZtYPj','isOfficialPlugin','344AmmpiB','8eQdaXk','282771RXkGjE','109HyntOe','20fwIEYg'];_0xbe2e=function(){return _0x1ec5dc;};return _0xbe2e();}import _0x3cb522 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x515048 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1b097c{static get[_0x1f5247(0x1d1)](){var _0x7f5a32=_0x1f5247;return _0x7f5a32(0x1d4);}static get[_0x1f5247(0x1ce)](){return[_0x3cb522,_0x515048];}static get[_0x1f5247(0x1d6)](){return!0x0;}static get[_0x1f5247(0x1cd)](){return!0x0;}}
23
+ var _0x323967=_0x47d7;(function(_0x258f89,_0xe9a88c){var _0x34d8e7=_0x47d7,_0x1522f8=_0x258f89();while(!![]){try{var _0x1008e7=parseInt(_0x34d8e7(0x178))/0x1*(parseInt(_0x34d8e7(0x17b))/0x2)+parseInt(_0x34d8e7(0x173))/0x3+parseInt(_0x34d8e7(0x170))/0x4*(parseInt(_0x34d8e7(0x175))/0x5)+parseInt(_0x34d8e7(0x176))/0x6*(parseInt(_0x34d8e7(0x179))/0x7)+parseInt(_0x34d8e7(0x174))/0x8+parseInt(_0x34d8e7(0x16e))/0x9+-parseInt(_0x34d8e7(0x172))/0xa;if(_0x1008e7===_0xe9a88c)break;else _0x1522f8['push'](_0x1522f8['shift']());}catch(_0x5e84ce){_0x1522f8['push'](_0x1522f8['shift']());}}}(_0x1c26,0xacd87));import{Plugin as _0x293cdf}from'ckeditor5/src/core.js';function _0x1c26(){var _0x2df0da=['requires','22810410QivHqD','2232741OElAOy','8545800eeaJlG','1229325eNWccw','6dezjWy','isOfficialPlugin','729483fiLeEm','863653OlKztA','pluginName','2eKdfGR','isPremiumPlugin','700353ljJSNy','UploadcareImageEdit','4giKvsr'];_0x1c26=function(){return _0x2df0da;};return _0x1c26();}import _0x70e961 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x606db4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x47d7(_0x16b8c8,_0x354c9d){var _0x1c2667=_0x1c26();return _0x47d7=function(_0x47d745,_0x4a1373){_0x47d745=_0x47d745-0x16e;var _0x4fabb3=_0x1c2667[_0x47d745];return _0x4fabb3;},_0x47d7(_0x16b8c8,_0x354c9d);}export default class P extends _0x293cdf{static get[_0x323967(0x17a)](){var _0x26b852=_0x323967;return _0x26b852(0x16f);}static get[_0x323967(0x171)](){return[_0x70e961,_0x606db4];}static get[_0x323967(0x177)](){return!0x0;}static get[_0x323967(0x17c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x321a50=_0x4881;(function(_0x6e2c42,_0x10d249){const _0x97c476=_0x4881,_0x4caf4b=_0x6e2c42();while(!![]){try{const _0x163e11=parseInt(_0x97c476(0x13e))/0x1+-parseInt(_0x97c476(0x118))/0x2+parseInt(_0x97c476(0x104))/0x3+parseInt(_0x97c476(0x116))/0x4*(-parseInt(_0x97c476(0x10a))/0x5)+parseInt(_0x97c476(0x13a))/0x6+-parseInt(_0x97c476(0x11b))/0x7*(parseInt(_0x97c476(0x126))/0x8)+parseInt(_0x97c476(0x121))/0x9*(parseInt(_0x97c476(0x136))/0xa);if(_0x163e11===_0x10d249)break;else _0x4caf4b['push'](_0x4caf4b['shift']());}catch(_0x1ee629){_0x4caf4b['push'](_0x4caf4b['shift']());}}}(_0x1627,0x4320c));import{Plugin as _0x2c3715}from'ckeditor5/src/core.js';import{IconDropbox as _0x368605,IconFacebook as _0x567890,IconGoogleDrive as _0x631339,IconGooglePhotos as _0x480810,IconUploadcareImageUpload as _0x1b7779,IconUploadcareLink as _0x1708cf,IconOneDrive as _0x40ebf3}from'ckeditor5/src/icons.js';import{ButtonView as _0x18f3a4,MenuBarMenuListItemButtonView as _0x194dac}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3f5269}from'./uploadcareconfig.js';import{getTranslation as _0x267427}from'./utils/common-translations.js';function _0x4881(_0x25625c,_0x35ea46){const _0x1627d3=_0x1627();return _0x4881=function(_0x48814b,_0x14ea89){_0x48814b=_0x48814b-0xf0;let _0x5dddc8=_0x1627d3[_0x48814b];return _0x5dddc8;},_0x4881(_0x25625c,_0x35ea46);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2c3715{[_0x321a50(0x123)];[_0x321a50(0xfc)];static get[_0x321a50(0x12d)](){const _0x3ad30c=_0x321a50;return _0x3ad30c(0x103);}static get[_0x321a50(0x11a)](){return!0x0;}static get[_0x321a50(0x114)](){return!0x0;}[_0x321a50(0xfb)](){const _0x5fd7a6=_0x321a50;this[_0x5fd7a6(0x123)]=this[_0x5fd7a6(0x13f)][_0x5fd7a6(0x13c)][_0x5fd7a6(0x134)](_0x5fd7a6(0x123));const _0x18eb76=this[_0x5fd7a6(0x13f)];this[_0x5fd7a6(0xfc)]=setInterval(()=>{const _0x228bbc=_0x5fd7a6;let _0x51982f;for(const _0x55f158 in _0x18eb76){const _0x36cbb0=_0x55f158,_0x1d745d=_0x18eb76[_0x36cbb0];if(_0x228bbc(0xfe)==_0x1d745d||_0x228bbc(0x12f)==_0x1d745d||_0x228bbc(0x101)==_0x1d745d||_0x228bbc(0x10d)==_0x1d745d||_0x228bbc(0xf9)==_0x1d745d||_0x228bbc(0x140)==_0x1d745d||_0x228bbc(0x131)==_0x1d745d||_0x228bbc(0x102)==_0x1d745d){delete _0x18eb76[_0x36cbb0],_0x51982f=_0x1d745d,clearInterval(this[_0x228bbc(0xfc)]),this[_0x228bbc(0xfc)]=void 0x0;break;}}_0x228bbc(0x12f)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x133)),_0x228bbc(0x101)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x10b)),_0x228bbc(0x10d)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xfd)),_0x228bbc(0xf9)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x110),_0x228bbc(0x135)),_0x228bbc(0x140)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0x108)),_0x228bbc(0x131)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xf2)),_0x228bbc(0x102)==_0x51982f&&_0x18eb76[_0x228bbc(0x137)](_0x228bbc(0xff));},0x3e8);}[_0x321a50(0x10f)](){const _0x34333d=_0x321a50,{editor:_0x1d28cb}=this,_0x4f4b76=_0x1d28cb[_0x34333d(0x12c)][_0x34333d(0x134)](_0x34333d(0xf6));if(!_0x4f4b76)return;const _0x57c74f=this[_0x34333d(0x105)](_0x1d28cb[_0x34333d(0x13c)][_0x34333d(0x134)](_0x34333d(0x112)))[_0x34333d(0x132)]((_0x53bce9,_0x4d6ee0)=>{const _0x1f21f3=_0x34333d,_0x35fffe=this[_0x1f21f3(0x129)](_0x4d6ee0[_0x1f21f3(0x120)]);return _0x53bce9[_0x35fffe]||(_0x53bce9[_0x35fffe]=[]),_0x53bce9[_0x35fffe][_0x1f21f3(0xf1)](_0x4d6ee0),_0x53bce9;},{});_0x1d28cb[_0x34333d(0xfa)][_0x34333d(0xf0)](_0x34333d(0x109))&&_0x1d28cb[_0x34333d(0x12c)][_0x34333d(0x134)](_0x34333d(0xf6))&&Object[_0x34333d(0x138)](_0x57c74f)[_0x34333d(0x100)](([_0x483276,_0x26e1ac])=>{const _0x45f043=_0x34333d;_0x1d28cb[_0x45f043(0xfa)][_0x45f043(0x134)](_0x45f043(0x109))[_0x45f043(0x11e)]({'name':_0x483276,'observable':()=>_0x4f4b76,'buttonViewCreator':()=>this[_0x45f043(0x12e)](_0x26e1ac),'formViewCreator':()=>this[_0x45f043(0x125)](_0x26e1ac),'menuBarButtonViewCreator':()=>this[_0x45f043(0x128)](_0x26e1ac),'override':_0x45f043(0x139)!==_0x483276});});}[_0x321a50(0x111)](){const _0x432af8=_0x321a50;super[_0x432af8(0x111)](),this[_0x432af8(0xfc)]&&clearInterval(this[_0x432af8(0xfc)]);}[_0x321a50(0x105)](_0x55e427){const _0x3bfee9=_0x321a50,{locale:_0x585933}=this[_0x3bfee9(0x13f)];return _0x55e427[_0x3bfee9(0xf5)](_0x21415f=>{const _0x1c6136=_0x3bfee9,_0x4f58d9=_0x267427(_0x585933,_0x21415f,_0x1c6136(0x124));switch(_0x21415f){case _0x3f5269[_0x1c6136(0x106)]:return{'icon':_0x1b7779,'type':_0x3f5269[_0x1c6136(0x106)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x13d)]:return{'icon':_0x1708cf,'type':_0x3f5269[_0x1c6136(0x13d)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x11c)]:return{'icon':_0x368605,'type':_0x3f5269[_0x1c6136(0x11c)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0xf7)]:return{'icon':_0x567890,'type':_0x3f5269[_0x1c6136(0xf7)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x117)]:return{'icon':_0x631339,'type':_0x3f5269[_0x1c6136(0x117)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x127)]:return{'icon':_0x480810,'type':_0x3f5269[_0x1c6136(0x127)],..._0x4f58d9};case _0x3f5269[_0x1c6136(0x119)]:return{'icon':_0x40ebf3,'type':_0x3f5269[_0x1c6136(0x119)],..._0x4f58d9};}});}[_0x321a50(0x129)](_0x3ca62d){const _0x197bb6=_0x321a50;switch(_0x3ca62d){case _0x3f5269[_0x197bb6(0x106)]:return _0x197bb6(0xf4);case _0x3f5269[_0x197bb6(0x13d)]:return _0x197bb6(0x12b);default:return _0x197bb6(0x139);}}[_0x321a50(0x10e)](_0x395418,_0x18df63){const _0x1261ac=_0x321a50,_0x60eeb2=this[_0x1261ac(0x13f)],_0x3cd012=new _0x395418(_0x60eeb2[_0x1261ac(0x12a)]),_0x335ff4=_0x60eeb2[_0x1261ac(0x12c)][_0x1261ac(0x134)](_0x1261ac(0xf6));return _0x3cd012[_0x1261ac(0x115)](_0x1261ac(0x130))['to'](_0x335ff4),_0x3cd012['on'](_0x1261ac(0xf8),()=>{const _0x55e3b0=_0x1261ac;_0x335ff4[_0x55e3b0(0xf8)](_0x18df63);}),_0x3cd012;}[_0x321a50(0x12e)](_0x1e398a){const _0x1ff268=_0x321a50,{locale:_0x3cb3f8}=this[_0x1ff268(0x13f)],_0x3eafaf=this[_0x1ff268(0x13f)][_0x1ff268(0xfa)][_0x1ff268(0x134)](_0x1ff268(0x109)),_0x4b489b=_0x1e398a[0x0],_0x4e1f7a=this[_0x1ff268(0x10e)](_0x18f3a4,_0x4b489b[_0x1ff268(0x120)]);return _0x4e1f7a[_0x1ff268(0x122)]=_0x4b489b[_0x1ff268(0x122)],_0x4e1f7a[_0x1ff268(0x115)](_0x1ff268(0x11f))['to'](_0x3eafaf,_0x1ff268(0x113),_0x2c137b=>_0x267427(_0x3cb3f8,_0x4b489b[_0x1ff268(0x120)],_0x2c137b?_0x1ff268(0xf3):_0x1ff268(0x124))[_0x1ff268(0x10c)]),_0x4e1f7a[_0x1ff268(0x13b)]=!0x0,_0x4e1f7a;}[_0x321a50(0x125)](_0x164a9c){const _0x259d28=_0x321a50,{locale:_0x5cd7eb}=this[_0x259d28(0x13f)],_0x31cb47=this[_0x259d28(0x13f)][_0x259d28(0xfa)][_0x259d28(0x134)](_0x259d28(0x109));return _0x164a9c[_0x259d28(0xf5)](_0x434178=>{const _0x1da1a3=_0x259d28,_0x440e3c=this[_0x1da1a3(0x10e)](_0x18f3a4,_0x434178[_0x1da1a3(0x120)]);return _0x440e3c[_0x1da1a3(0x107)]=!0x0,_0x440e3c[_0x1da1a3(0x122)]=_0x434178[_0x1da1a3(0x122)],_0x440e3c[_0x1da1a3(0x115)](_0x1da1a3(0x11f))['to'](_0x31cb47,_0x1da1a3(0x113),_0x6a524b=>_0x267427(_0x5cd7eb,_0x434178[_0x1da1a3(0x120)],_0x6a524b?_0x1da1a3(0xf3):_0x1da1a3(0x124))[_0x1da1a3(0x10c)]),_0x440e3c;});}[_0x321a50(0x128)](_0x43c0a7){const _0x26a1bd=_0x321a50;return _0x43c0a7[_0x26a1bd(0xf5)](_0x4166fa=>{const _0x114fb5=_0x26a1bd,_0x28d73a=this[_0x114fb5(0x10e)](_0x194dac,_0x4166fa[_0x114fb5(0x120)]);return _0x28d73a[_0x114fb5(0x122)]=_0x4166fa[_0x114fb5(0x122)],_0x28d73a[_0x114fb5(0x11f)]=_0x4166fa[_0x114fb5(0x11d)],_0x28d73a;});}}function _0x1627(){const _0x5c0c78=['uploadcareLicenseKeyExpired','uploadcareLicenseKeyUsageLimit','UploadcareUI','64977dGCxOd','_normalizeConfigSourceList','Local','withText','evaluationLimit','ImageInsertUI','2046185KolaJD','expired','text','uploadcareLicenseKeyDomainLimit','_createButton','afterInit','featureNotAllowed','destroy','uploadcare.uploader.sourceList','isImageSelected','isPremiumPlugin','bind','4NkhNsB','GDrive','440334hbhfSu','OneDrive','isOfficialPlugin','417466bmQZqK','Dropbox','shortText','registerIntegration','label','type','81909AlsMjE','icon','licenseKey','Insert','_createDropdownButtons','24MrMASH','GPhotos','_createMenuBarButtons','_getIntegrationKey','locale','url','commands','pluginName','_createToolbarButton','uploadcareLicenseKeyInvalid','isEnabled','uploadcareLicenseKeyTrialLimit','reduce','invalid','get','Uploadcare','940BhgDmD','_showLicenseError','entries','assetManager','467628FoHnxe','tooltip','config','URL','128183jezaAA','editor','uploadcareLicenseKeyEvaluationLimit','has','push','trialLimit','Replace','upload','map','uploadcare','Facebook','execute','uploadcareLicenseKeyNotAllowed','plugins','init','_licenseKeyCheckInterval','domainLimit','uploadcareLicenseKeyValid','usageLimit','forEach'];_0x1627=function(){return _0x5c0c78;};return _0x1627();}
23
+ function _0x3a29(){const _0x48f183=['destroy','isOfficialPlugin','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','config','24bqcODL','pluginName','commands','Facebook','expired','URL','_getIntegrationKey','Local','reduce','evaluationLimit','ImageInsertUI','OneDrive','uploadcareLicenseKeyExpired','_showLicenseError','shortText','usageLimit','uploadcare','_normalizeConfigSourceList','_createToolbarButton','init','_createMenuBarButtons','30eWqMPT','2811096cSMXGV','plugins','_createDropdownButtons','afterInit','uploadcareLicenseKeyUsageLimit','type','tooltip','editor','featureNotAllowed','uploadcareLicenseKeyNotAllowed','bind','isImageSelected','455lWZjka','8ByyUfN','url','104042VPiihQ','1363299bzIsFA','entries','5292644NBSkeh','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','GDrive','uploadcareLicenseKeyValid','6369759nyYcEP','licenseKey','trialLimit','_createButton','domainLimit','map','label','execute','58638kVcWzS','isEnabled','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','get','withText','GPhotos','locale','invalid','Uploadcare','UploadcareUI','3719527yryALH','uploadcareLicenseKeyEvaluationLimit','has','registerIntegration','icon','forEach','push','assetManager','upload','Insert','text','Dropbox','Replace'];_0x3a29=function(){return _0x48f183;};return _0x3a29();}const _0x359119=_0x48b7;(function(_0x5dcdae,_0x2916e9){const _0x3522a5=_0x48b7,_0x31db9b=_0x5dcdae();while(!![]){try{const _0x327e60=parseInt(_0x3522a5(0x1f6))/0x1*(-parseInt(_0x3522a5(0x21b))/0x2)+-parseInt(_0x3522a5(0x21c))/0x3+parseInt(_0x3522a5(0x21e))/0x4+parseInt(_0x3522a5(0x218))/0x5*(parseInt(_0x3522a5(0x22b))/0x6)+-parseInt(_0x3522a5(0x236))/0x7*(-parseInt(_0x3522a5(0x219))/0x8)+-parseInt(_0x3522a5(0x20c))/0x9*(parseInt(_0x3522a5(0x20b))/0xa)+parseInt(_0x3522a5(0x223))/0xb;if(_0x327e60===_0x2916e9)break;else _0x31db9b['push'](_0x31db9b['shift']());}catch(_0x490411){_0x31db9b['push'](_0x31db9b['shift']());}}}(_0x3a29,0xa6bd5));import{Plugin as _0x51e5b8}from'ckeditor5/src/core.js';import{IconDropbox as _0x4d3c37,IconFacebook as _0x57ceff,IconGoogleDrive as _0x249617,IconGooglePhotos as _0x3d80df,IconUploadcareImageUpload as _0x38c18a,IconUploadcareLink as _0x257d49,IconOneDrive as _0x11c6bd}from'ckeditor5/src/icons.js';import{ButtonView as _0x58a78b,MenuBarMenuListItemButtonView as _0x893fbc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9f1651}from'./uploadcareconfig.js';import{getTranslation as _0x5eefc0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x48b7(_0x487660,_0x65e713){const _0x3a2928=_0x3a29();return _0x48b7=function(_0x48b7bd,_0x240b77){_0x48b7bd=_0x48b7bd-0x1ea;let _0x4a4006=_0x3a2928[_0x48b7bd];return _0x4a4006;},_0x48b7(_0x487660,_0x65e713);}export default class e extends _0x51e5b8{[_0x359119(0x224)];[_0x359119(0x21f)];static get[_0x359119(0x1f7)](){const _0x19b6e7=_0x359119;return _0x19b6e7(0x235);}static get[_0x359119(0x1f2)](){return!0x0;}static get[_0x359119(0x22e)](){return!0x0;}[_0x359119(0x209)](){const _0x13c4b7=_0x359119;this[_0x13c4b7(0x224)]=this[_0x13c4b7(0x213)][_0x13c4b7(0x1f5)][_0x13c4b7(0x22f)](_0x13c4b7(0x224));const _0x2a5382=this[_0x13c4b7(0x213)];this[_0x13c4b7(0x21f)]=setInterval(()=>{const _0x4a8112=_0x13c4b7;let _0x420cdf;for(const _0x798689 in _0x2a5382){const _0xceddb1=_0x798689,_0x4a7b1a=_0x2a5382[_0xceddb1];if(_0x4a8112(0x222)==_0x4a7b1a||_0x4a8112(0x220)==_0x4a7b1a||_0x4a8112(0x202)==_0x4a7b1a||_0x4a8112(0x1f3)==_0x4a7b1a||_0x4a8112(0x215)==_0x4a7b1a||_0x4a8112(0x237)==_0x4a7b1a||_0x4a8112(0x22d)==_0x4a7b1a||_0x4a8112(0x210)==_0x4a7b1a){delete _0x2a5382[_0xceddb1],_0x420cdf=_0x4a7b1a,clearInterval(this[_0x4a8112(0x21f)]),this[_0x4a8112(0x21f)]=void 0x0;break;}}_0x4a8112(0x220)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x233)),_0x4a8112(0x202)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1fa)),_0x4a8112(0x1f3)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x227)),_0x4a8112(0x215)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x214),_0x4a8112(0x234)),_0x4a8112(0x237)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1ff)),_0x4a8112(0x22d)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x225)),_0x4a8112(0x210)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x205));},0x3e8);}[_0x359119(0x20f)](){const _0x3a4f44=_0x359119,{editor:_0x94c826}=this,_0x2dafde=_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206));if(!_0x2dafde)return;const _0x47ef05=this[_0x3a4f44(0x207)](_0x94c826[_0x3a4f44(0x1f5)][_0x3a4f44(0x22f)](_0x3a4f44(0x1f4)))[_0x3a4f44(0x1fe)]((_0x1b9a78,_0x1d8a0b)=>{const _0x12b0b2=_0x3a4f44,_0x15c77c=this[_0x12b0b2(0x1fc)](_0x1d8a0b[_0x12b0b2(0x211)]);return _0x1b9a78[_0x15c77c]||(_0x1b9a78[_0x15c77c]=[]),_0x1b9a78[_0x15c77c][_0x12b0b2(0x1ea)](_0x1d8a0b),_0x1b9a78;},{});_0x94c826[_0x3a4f44(0x20d)][_0x3a4f44(0x238)](_0x3a4f44(0x200))&&_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206))&&Object[_0x3a4f44(0x21d)](_0x47ef05)[_0x3a4f44(0x23b)](([_0x3d1609,_0xd794a8])=>{const _0x528eb7=_0x3a4f44;_0x94c826[_0x528eb7(0x20d)][_0x528eb7(0x22f)](_0x528eb7(0x200))[_0x528eb7(0x239)]({'name':_0x3d1609,'observable':()=>_0x2dafde,'buttonViewCreator':()=>this[_0x528eb7(0x208)](_0xd794a8),'formViewCreator':()=>this[_0x528eb7(0x20e)](_0xd794a8),'menuBarButtonViewCreator':()=>this[_0x528eb7(0x20a)](_0xd794a8),'override':_0x528eb7(0x1eb)!==_0x3d1609});});}[_0x359119(0x1f1)](){const _0x3b8bc0=_0x359119;super[_0x3b8bc0(0x1f1)](),this[_0x3b8bc0(0x21f)]&&clearInterval(this[_0x3b8bc0(0x21f)]);}[_0x359119(0x207)](_0x126793){const _0x58b81f=_0x359119,{locale:_0x4f117e}=this[_0x58b81f(0x213)];return _0x126793[_0x58b81f(0x228)](_0x2d09c6=>{const _0x260b08=_0x58b81f,_0x50fba6=_0x5eefc0(_0x4f117e,_0x2d09c6,_0x260b08(0x1ed));switch(_0x2d09c6){case _0x9f1651[_0x260b08(0x1fd)]:return{'icon':_0x38c18a,'type':_0x9f1651[_0x260b08(0x1fd)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1fb)]:return{'icon':_0x257d49,'type':_0x9f1651[_0x260b08(0x1fb)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1ef)]:return{'icon':_0x4d3c37,'type':_0x9f1651[_0x260b08(0x1ef)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1f9)]:return{'icon':_0x57ceff,'type':_0x9f1651[_0x260b08(0x1f9)],..._0x50fba6};case _0x9f1651[_0x260b08(0x221)]:return{'icon':_0x249617,'type':_0x9f1651[_0x260b08(0x221)],..._0x50fba6};case _0x9f1651[_0x260b08(0x231)]:return{'icon':_0x3d80df,'type':_0x9f1651[_0x260b08(0x231)],..._0x50fba6};case _0x9f1651[_0x260b08(0x201)]:return{'icon':_0x11c6bd,'type':_0x9f1651[_0x260b08(0x201)],..._0x50fba6};}});}[_0x359119(0x1fc)](_0x1b2bca){const _0x13495b=_0x359119;switch(_0x1b2bca){case _0x9f1651[_0x13495b(0x1fd)]:return _0x13495b(0x1ec);case _0x9f1651[_0x13495b(0x1fb)]:return _0x13495b(0x21a);default:return _0x13495b(0x1eb);}}[_0x359119(0x226)](_0x229f07,_0x420b7e){const _0x59eba5=_0x359119,_0x5d0d1d=this[_0x59eba5(0x213)],_0x4cc850=new _0x229f07(_0x5d0d1d[_0x59eba5(0x232)]),_0x3ab39c=_0x5d0d1d[_0x59eba5(0x1f8)][_0x59eba5(0x22f)](_0x59eba5(0x206));return _0x4cc850[_0x59eba5(0x216)](_0x59eba5(0x22c))['to'](_0x3ab39c),_0x4cc850['on'](_0x59eba5(0x22a),()=>{const _0x2b3470=_0x59eba5;_0x3ab39c[_0x2b3470(0x22a)](_0x420b7e);}),_0x4cc850;}[_0x359119(0x208)](_0x2ca3a4){const _0x5c1a77=_0x359119,{locale:_0x2896bf}=this[_0x5c1a77(0x213)],_0x25a933=this[_0x5c1a77(0x213)][_0x5c1a77(0x20d)][_0x5c1a77(0x22f)](_0x5c1a77(0x200)),_0x1e7783=_0x2ca3a4[0x0],_0x4c1d69=this[_0x5c1a77(0x226)](_0x58a78b,_0x1e7783[_0x5c1a77(0x211)]);return _0x4c1d69[_0x5c1a77(0x23a)]=_0x1e7783[_0x5c1a77(0x23a)],_0x4c1d69[_0x5c1a77(0x216)](_0x5c1a77(0x229))['to'](_0x25a933,_0x5c1a77(0x217),_0x5885bb=>_0x5eefc0(_0x2896bf,_0x1e7783[_0x5c1a77(0x211)],_0x5885bb?_0x5c1a77(0x1f0):_0x5c1a77(0x1ed))[_0x5c1a77(0x1ee)]),_0x4c1d69[_0x5c1a77(0x212)]=!0x0,_0x4c1d69;}[_0x359119(0x20e)](_0x15b00a){const _0x555891=_0x359119,{locale:_0x2b90b2}=this[_0x555891(0x213)],_0x1100d8=this[_0x555891(0x213)][_0x555891(0x20d)][_0x555891(0x22f)](_0x555891(0x200));return _0x15b00a[_0x555891(0x228)](_0x30e809=>{const _0x258c62=_0x555891,_0x17f563=this[_0x258c62(0x226)](_0x58a78b,_0x30e809[_0x258c62(0x211)]);return _0x17f563[_0x258c62(0x230)]=!0x0,_0x17f563[_0x258c62(0x23a)]=_0x30e809[_0x258c62(0x23a)],_0x17f563[_0x258c62(0x216)](_0x258c62(0x229))['to'](_0x1100d8,_0x258c62(0x217),_0x4058a6=>_0x5eefc0(_0x2b90b2,_0x30e809[_0x258c62(0x211)],_0x4058a6?_0x258c62(0x1f0):_0x258c62(0x1ed))[_0x258c62(0x1ee)]),_0x17f563;});}[_0x359119(0x20a)](_0x486350){const _0x43bb7e=_0x359119;return _0x486350[_0x43bb7e(0x228)](_0x59e44b=>{const _0x24cb13=_0x43bb7e,_0x42c488=this[_0x24cb13(0x226)](_0x893fbc,_0x59e44b[_0x24cb13(0x211)]);return _0x42c488[_0x24cb13(0x23a)]=_0x59e44b[_0x24cb13(0x23a)],_0x42c488[_0x24cb13(0x229)]=_0x59e44b[_0x24cb13(0x204)],_0x42c488;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5c930e}from'ckeditor5/src/core.js';import{FileRepository as _0x160e0b}from'ckeditor5/src/upload.js';import _0x550f43 from'./uploadcareediting.js';import _0x5ed3c1 from'./utils/uploadutils.js';import{getImageUrls as _0x175f81}from'./utils/editingutils.js';export default class p extends _0x5c930e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x160e0b,_0x550f43];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5b3733=this['editor'];if(!!!_0x5b3733['config']['get']('uploadcare'))return;_0x5b3733['plugins']['get'](_0x160e0b)['createUploadAdapter']=_0x1948af=>new x(_0x1948af,_0x5b3733),_0x5b3733['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x331744,{imageElement:_0x346128,data:_0x5c281e})=>{_0x5b3733['model']['change'](_0xb3e3a2=>{_0xb3e3a2['setAttribute']('uploadcareImageId',_0x5c281e['uploadcareImageId'],_0x346128);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x404435,_0x1f4d00){this['loader']=_0x404435,this['editor']=_0x1f4d00,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x16dc87=this['editor']['config']['get']('uploadcare.pubkey'),_0x493fb4=await this['loader']['file'];return _0x5ed3c1['upload']({'file':_0x493fb4,'publicKey':_0x16dc87,'signal':this['controller']['signal'],'onProgress':_0x26e080=>{_0x26e080&&_0x26e080['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26e080['value']);}})['then'](async _0x28487a=>{const {imageFallbackUrl:_0x4c2ed7,imageSources:_0xae9722}=_0x175f81(_0x28487a['cdnUrl'],_0x28487a['imageInfo']['width']);return{'uploadcareImageId':_0x28487a['uuid'],'default':_0x4c2ed7,'sources':_0xae9722};})['catch'](()=>{const _0x131b0c=t('Cannot\x20upload\x20file:')+('\x20'+_0x493fb4['name']+'.');return Promise['reject'](_0x131b0c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4eb72f}from'ckeditor5/src/core.js';import{FileRepository as _0x268961}from'ckeditor5/src/upload.js';import _0x9cfa98 from'./uploadcareediting.js';import _0x233d43 from'./utils/uploadutils.js';import{getImageUrls as _0x325bf1}from'./utils/editingutils.js';export default class p extends _0x4eb72f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x268961,_0x9cfa98];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bef4a=this['editor'];if(!!!_0x3bef4a['config']['get']('uploadcare'))return;_0x3bef4a['plugins']['get'](_0x268961)['createUploadAdapter']=_0x4d594b=>new x(_0x4d594b,_0x3bef4a),_0x3bef4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35c5b2,{imageElement:_0x1aa966,data:_0x56e156})=>{_0x3bef4a['model']['change'](_0x1ee021=>{_0x1ee021['setAttribute']('uploadcareImageId',_0x56e156['uploadcareImageId'],_0x1aa966);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3e0b08,_0x25c9e8){this['loader']=_0x3e0b08,this['editor']=_0x25c9e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x153dd2=this['editor']['config']['get']('uploadcare.pubkey'),_0x181fab=await this['loader']['file'];return _0x233d43['upload']({'file':_0x181fab,'publicKey':_0x153dd2,'signal':this['controller']['signal'],'onProgress':_0x3596d4=>{_0x3596d4&&_0x3596d4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3596d4['value']);}})['then'](async _0x42fb09=>{const {imageFallbackUrl:_0x92fd72,imageSources:_0x27ccfb}=_0x325bf1(_0x42fb09['cdnUrl'],_0x42fb09['imageInfo']['width']);return{'uploadcareImageId':_0x42fb09['uuid'],'default':_0x92fd72,'sources':_0x27ccfb};})['catch'](()=>{const _0x41b8f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x181fab['name']+'.');return Promise['reject'](_0x41b8f8);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5341e6}from'../uploadcareconfig.js';export function getTranslation(_0x5738ad,_0xbf4d22,_0x49a1db){const t=_0x5738ad['t'],_0x1891dd=_0x5738ad['t'];switch(_0xbf4d22){case _0x5341e6['Local']:return{'text':_0x1891dd('Insert'===_0x49a1db?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1891dd('From\x20computer')};case _0x5341e6['URL']:return{'text':'Insert'===_0x49a1db?_0x1891dd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1891dd('Via\x20URL')};case _0x5341e6['Dropbox']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5341e6['Facebook']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5341e6['GDrive']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5341e6['GPhotos']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5341e6['OneDrive']:return{'text':t('Insert'===_0x49a1db?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xbf4d22;}}
23
+ import{UploadcareSource as _0x5dce15}from'../uploadcareconfig.js';export function getTranslation(_0x4cc531,_0x55429f,_0x16cb8f){const t=_0x4cc531['t'],_0x5e4fb0=_0x4cc531['t'];switch(_0x55429f){case _0x5dce15['Local']:return{'text':_0x5e4fb0('Insert'===_0x16cb8f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5e4fb0('From\x20computer')};case _0x5dce15['URL']:return{'text':'Insert'===_0x16cb8f?_0x5e4fb0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5e4fb0('Via\x20URL')};case _0x5dce15['Dropbox']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5dce15['Facebook']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5dce15['GDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5dce15['GPhotos']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5dce15['OneDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55429f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c0b(_0x50996f,_0x1fafa5){var _0x21fcb8=_0x21fc();return _0x2c0b=function(_0x2c0b29,_0x165990){_0x2c0b29=_0x2c0b29-0x17e;var _0x10d9c0=_0x21fcb8[_0x2c0b29];return _0x10d9c0;},_0x2c0b(_0x50996f,_0x1fafa5);}function _0x21fc(){var _0x9f683f=['div','1944832yVzkhD','focusTracker','forwardCycle','215782xpKitF','4sYKCYk','focusCycler','getFocusableElement','true','84693JXXaIf','40065zTVPpU','2501040raHuwW','fire','2563347VZxTce','createCollection','846UjnOFF','bindTemplate','88420zhyAIq','40RmVKQr'];_0x21fc=function(){return _0x9f683f;};return _0x21fc();}var _0x567d9d=_0x2c0b;(function(_0x3fee33,_0x1f662f){var _0x25d551=_0x2c0b,_0x45ac6c=_0x3fee33();while(!![]){try{var _0x5b3914=parseInt(_0x25d551(0x18e))/0x1+-parseInt(_0x25d551(0x186))/0x2+-parseInt(_0x25d551(0x17f))/0x3*(-parseInt(_0x25d551(0x18a))/0x4)+-parseInt(_0x25d551(0x18f))/0x5+-parseInt(_0x25d551(0x190))/0x6+parseInt(_0x25d551(0x189))/0x7*(parseInt(_0x25d551(0x184))/0x8)+parseInt(_0x25d551(0x181))/0x9*(parseInt(_0x25d551(0x183))/0xa);if(_0x5b3914===_0x1f662f)break;else _0x45ac6c['push'](_0x45ac6c['shift']());}catch(_0xcb4fe9){_0x45ac6c['push'](_0x45ac6c['shift']());}}}(_0x21fc,0x80b2f));import{FocusTracker as _0x10ea43}from'ckeditor5/src/utils.js';import{View as _0x1bf3b9,FocusCycler as _0x174c4b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x1bf3b9{[_0x567d9d(0x187)];[_0x567d9d(0x18b)];constructor(_0x781417){var _0x2792e5=_0x567d9d;super(_0x781417),this[_0x2792e5(0x187)]=new _0x10ea43(),this[_0x2792e5(0x18b)]=new _0x174c4b({'focusables':this[_0x2792e5(0x180)](),'focusTracker':this[_0x2792e5(0x187)]});}[_0x567d9d(0x18c)](){var _0x3cb5fe=_0x567d9d;return{'tag':_0x3cb5fe(0x185),'attributes':{'aria-hidden':_0x3cb5fe(0x18d),'tabindex':'0'},'on':{'focus':this[_0x3cb5fe(0x182)]['to'](()=>{var _0x2aaab6=_0x3cb5fe;this[_0x2aaab6(0x18b)][_0x2aaab6(0x17e)](_0x2aaab6(0x188));})}};}}
23
+ var _0x1cd633=_0x2d67;(function(_0x17bdbc,_0x40aef9){var _0x4fa219=_0x2d67,_0x3bf4f1=_0x17bdbc();while(!![]){try{var _0x5c741d=-parseInt(_0x4fa219(0x1e3))/0x1*(-parseInt(_0x4fa219(0x1df))/0x2)+-parseInt(_0x4fa219(0x1e2))/0x3*(-parseInt(_0x4fa219(0x1da))/0x4)+parseInt(_0x4fa219(0x1e0))/0x5*(parseInt(_0x4fa219(0x1d5))/0x6)+parseInt(_0x4fa219(0x1d3))/0x7*(-parseInt(_0x4fa219(0x1d7))/0x8)+-parseInt(_0x4fa219(0x1d1))/0x9+-parseInt(_0x4fa219(0x1e1))/0xa+parseInt(_0x4fa219(0x1d9))/0xb;if(_0x5c741d===_0x40aef9)break;else _0x3bf4f1['push'](_0x3bf4f1['shift']());}catch(_0x40fef0){_0x3bf4f1['push'](_0x3bf4f1['shift']());}}}(_0x32ae,0x5cb4d));import{FocusTracker as _0xe860d1}from'ckeditor5/src/utils.js';function _0x2d67(_0x426bb2,_0x1fb542){var _0x32ae47=_0x32ae();return _0x2d67=function(_0x2d6756,_0x7233b3){_0x2d6756=_0x2d6756-0x1d0;var _0x2854e2=_0x32ae47[_0x2d6756];return _0x2854e2;},_0x2d67(_0x426bb2,_0x1fb542);}import{View as _0x4e77ac,FocusCycler as _0x512927}from'ckeditor5/src/ui.js';function _0x32ae(){var _0x34ebf2=['1384JLOOSw','focusCycler','2979680PvPGDl','292700IDpULS','forwardCycle','focusTracker','div','fire','34wMWDPi','30CrKOBj','4193700rkUuMh','21XsiBTh','1751FNcuXD','getFocusableElement','4541796OjLMTv','bindTemplate','5257OXbBaJ','createCollection','620790qqdxWJ','true'];_0x32ae=function(){return _0x34ebf2;};return _0x32ae();}import'../../theme/uploadcare-form.css';export default class q extends _0x4e77ac{[_0x1cd633(0x1dc)];[_0x1cd633(0x1d8)];constructor(_0x5d097d){var _0xcd45ee=_0x1cd633;super(_0x5d097d),this[_0xcd45ee(0x1dc)]=new _0xe860d1(),this[_0xcd45ee(0x1d8)]=new _0x512927({'focusables':this[_0xcd45ee(0x1d4)](),'focusTracker':this[_0xcd45ee(0x1dc)]});}[_0x1cd633(0x1d0)](){var _0x178121=_0x1cd633;return{'tag':_0x178121(0x1dd),'attributes':{'aria-hidden':_0x178121(0x1d6),'tabindex':'0'},'on':{'focus':this[_0x178121(0x1d2)]['to'](()=>{var _0xd09c30=_0x178121;this[_0xd09c30(0x1d8)][_0xd09c30(0x1de)](_0xd09c30(0x1db));})}};}}