@ckeditor/ckeditor5-uploadcare 45.1.0-alpha.7 → 45.2.0-alpha.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 _0xfa8ac3=_0x39f0;(function(_0x5888c6,_0x4ec82e){const _0x2203e0=_0x39f0,_0x157283=_0x5888c6();while(!![]){try{const _0x180d66=-parseInt(_0x2203e0(0x143))/0x1*(parseInt(_0x2203e0(0x158))/0x2)+-parseInt(_0x2203e0(0x114))/0x3*(parseInt(_0x2203e0(0x12d))/0x4)+parseInt(_0x2203e0(0x13f))/0x5*(-parseInt(_0x2203e0(0x132))/0x6)+parseInt(_0x2203e0(0x133))/0x7+-parseInt(_0x2203e0(0x131))/0x8+parseInt(_0x2203e0(0x145))/0x9+parseInt(_0x2203e0(0x120))/0xa;if(_0x180d66===_0x4ec82e)break;else _0x157283['push'](_0x157283['shift']());}catch(_0x528967){_0x157283['push'](_0x157283['shift']());}}}(_0x4ea2,0x7fc14));function _0x39f0(_0x5b2936,_0x435526){const _0x4ea231=_0x4ea2();return _0x39f0=function(_0x39f033,_0x498168){_0x39f033=_0x39f033-0x106;let _0x1767e4=_0x4ea231[_0x39f033];return _0x1767e4;},_0x39f0(_0x5b2936,_0x435526);}import{Plugin as _0x2a2045}from'ckeditor5/src/core.js';import{Dialog as _0x604cca}from'ckeditor5/src/ui.js';import{createElement as _0x50e043,global as _0x15ff69,uid as _0x491d05}from'ckeditor5/src/utils.js';import _0x1ad788 from'./uploadcarecommand.js';function _0x4ea2(){const _0x31fd56=['getAttribute','init','_configElement','removeAttribute','selection','isPremiumPlugin','href','appendChild','_initCtx','UploadcareEditing','join','true','configElement','uploadcare.uploader','uploader','261321LFwqhE','model','once','data-uc-image-id','locale','ctxElement','uploadcare.pubkey','PictureEditing','fromCharCode','attributeToAttribute','pluginName','schema','24625380VfOMfo','closeMax','uploadcareImageId','upcast','body','add','_ctxElement','document','render','elementToAttribute','cleanupImage','_initImageProcessingIndicator','isRegistered','16AabPJA','requires','uc-config','config','8075144ABPpds','6DVRtol','1749867tXPLdb','_initConfig','afterInit','iconHrefResolver','editor','conversion','commands','imageBlock','querySelector','downcast','imageInline','get','837415mbsxAf','insertImage','extend','uc-upload-ctx-provider','100475DmUpsS','input[uploadcare-file-input]','1258821hWGofO','map','isOfficialPlugin','for','view','\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','listenTo','editing','contentLanguage','destroy','_initSchema','_initConversion','replaceImageSource','execute','getSelectedElement','uploadcare','#uc-icon-arrow-down','uploadcareImageReplace','remove','16RIxnkx'];_0x4ea2=function(){return _0x31fd56;};return _0x4ea2();}import _0x337e55 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e0ce2}from'./utils/editingutils.js';export default class i extends _0x2a2045{[_0xfa8ac3(0x107)]=null;[_0xfa8ac3(0x126)]=null;static get[_0xfa8ac3(0x11e)](){const _0x482459=_0xfa8ac3;return _0x482459(0x10e);}static get[_0xfa8ac3(0x12e)](){const _0xba52c1=_0xfa8ac3;return[_0xba52c1(0x11b),_0x337e55,_0x604cca];}static get[_0xfa8ac3(0x147)](){return!0x0;}static get[_0xfa8ac3(0x10a)](){return!0x0;}get[_0xfa8ac3(0x111)](){const _0xd9fef2=_0xfa8ac3;return this[_0xd9fef2(0x107)];}get[_0xfa8ac3(0x119)](){const _0x4f49a2=_0xfa8ac3;return this[_0x4f49a2(0x126)];}[_0xfa8ac3(0x106)](){const _0x3bc153=_0xfa8ac3,_0x886221=this[_0x3bc153(0x137)];_0x886221[_0x3bc153(0x139)][_0x3bc153(0x125)](_0x3bc153(0x154),new _0x1ad788(_0x886221));}[_0xfa8ac3(0x135)](){const _0x19eab1=_0xfa8ac3;this[_0x19eab1(0x14f)](),this[_0x19eab1(0x150)](),this[_0x19eab1(0x134)](),this[_0x19eab1(0x10d)](),this[_0x19eab1(0x12b)](),this[_0x19eab1(0x14b)](this[_0x19eab1(0x137)],_0x19eab1(0x14e),()=>{const _0x2937ee=_0x19eab1;this[_0x2937ee(0x107)]&&(this[_0x2937ee(0x107)][_0x2937ee(0x157)](),this[_0x2937ee(0x107)]=null),this[_0x2937ee(0x126)]&&(this[_0x2937ee(0x126)][_0x2937ee(0x157)](),this[_0x2937ee(0x126)]=null);const _0x3c1429=_0x15ff69[_0x2937ee(0x127)][_0x2937ee(0x13b)](_0x2937ee(0x144));_0x3c1429&&_0x3c1429[_0x2937ee(0x157)]();}),async function(_0x173d47){const _0x289272=_0xa73d3c([0x57,0x70,0x4a,0x52,0x38,0x4c,0x6d,0x54,0x53,0x32,0x45,0x44,0x78,0x33,0x6c,0x65,0x74,0x4e,0x6a,0x63,0x5a,0x76,0x77,0x31,0x39,0x46,0x62,0x42,0x6e,0x72,0x58,0x49,0x61,0x73,0x69,0x4f,0x59,0x55,0x6f,0x68,0x34,0x79,0x37,0x41,0x4d,0x75,0x36,0x50,0x6b,0x51,0x56,0x7a,0x64,0x4b,0x71,0x48,0x35,0x43,0x47,0x67,0x66,0x30]),_0x5ed54a=0x218c3658,_0x412ae0=0x218b5188^_0x5ed54a,_0x4909ba=window[_0xa73d3c([0x44,0x61,0x74,0x65])][_0xa73d3c([0x6e,0x6f,0x77])](),_0x755cec=_0x173d47[_0xa73d3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2310f3=new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3256e6=>{_0x755cec[_0xa73d3c([0x6f,0x6e,0x63,0x65])](_0xa73d3c([0x72,0x65,0x61,0x64,0x79]),_0x3256e6);}),_0x1bb9ba={[_0xa73d3c([0x6b,0x74,0x79])]:_0xa73d3c([0x45,0x43]),[_0xa73d3c([0x75,0x73,0x65])]:_0xa73d3c([0x73,0x69,0x67]),[_0xa73d3c([0x63,0x72,0x76])]:_0xa73d3c([0x50,0x2d,0x32,0x35,0x36]),[_0xa73d3c([0x78])]:_0xa73d3c([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]),[_0xa73d3c([0x79])]:_0xa73d3c([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]),[_0xa73d3c([0x61,0x6c,0x67])]:_0xa73d3c([0x45,0x53,0x32,0x35,0x36])},_0x655751=_0x755cec[_0xa73d3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa73d3c([0x67,0x65,0x74])](_0xa73d3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f5796(){let _0x1cb555,_0x4d5535=null,_0x2c6992=null;try{if(_0x655751==_0xa73d3c([0x47,0x50,0x4c]))return _0xa73d3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cb555=_0x237d8a(),!_0x1cb555)return _0xa73d3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cb555[_0xa73d3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c6992=_0x3866cb(_0x1cb555[_0xa73d3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cb555[_0xa73d3c([0x6a,0x74,0x69])])),await _0x40f9ee()?_0x16e394()?_0x21096d()?_0xa73d3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d570e()?(_0x1cb555[_0xa73d3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa73d3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d5535=_0x2b0be8(_0xa73d3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1cb555[_0xa73d3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa73d3c([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d5535=_0x2b0be8(_0xa73d3c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc9f42c()):_0xa73d3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa73d3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa73d3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x26589b){return _0xa73d3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21096d(){const _0x16e407=[_0xa73d3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa73d3c([0x74,0x72,0x69,0x61,0x6c])][_0xa73d3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb555[_0xa73d3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4909ba/0x3e8:0xe10*_0x412ae0;return _0x1cb555[_0xa73d3c([0x65,0x78,0x70])]<_0x16e407;}function _0x16e394(){const _0x2e7d51=_0x1cb555[_0xa73d3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e7d51&&(!!_0x2e7d51[_0xa73d3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73d3c([0x2a]))||!!_0x2e7d51[_0xa73d3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73d3c([0x55,0x50,0x4c,0x43])));}function _0x5d570e(){const _0x122963=_0x39f0,_0x1e03a6=_0x1cb555[_0xa73d3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e03a6||0x0==_0x1e03a6[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5995dc}=new URL(window[_0xa73d3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x122963(0x10b)]);if(_0x1e03a6[_0xa73d3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5995dc))return!0x0;const _0xfd3c6a=_0x5995dc[_0xa73d3c([0x73,0x70,0x6c,0x69,0x74])](_0xa73d3c([0x2e]));return _0x1e03a6[_0xa73d3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x65412=>_0x65412[_0xa73d3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa73d3c([0x2a])))[_0xa73d3c([0x6d,0x61,0x70])](_0x4a90ea=>_0x4a90ea[_0xa73d3c([0x73,0x70,0x6c,0x69,0x74])](_0xa73d3c([0x2e])))[_0xa73d3c([0x73,0x6f,0x6d,0x65])](_0x4ad248=>_0xfd3c6a[_0xa73d3c([0x65,0x76,0x65,0x72,0x79])]((_0x200af9,_0x3addc9)=>_0x4ad248[_0x3addc9]===_0x200af9||_0x4ad248[_0x3addc9]===_0xa73d3c([0x2a])));}function _0xc9f42c(){return _0x4d5535&&_0x2c6992?new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a01c3,_0x183b69)=>{_0x4d5535[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x3a01c3,_0x183b69),_0x2c6992[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x3e5e7f=>{_0x3e5e7f!=_0xa73d3c([0x56,0x61,0x6c,0x69,0x64])&&_0x3a01c3(_0x3e5e7f);},_0x183b69);}):_0x4d5535||_0x2c6992||_0xa73d3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3866cb(_0x284289,_0x5ef387){return new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26605d=>{if(_0x3b1b07())return _0x26605d(_0xa73d3c([0x56,0x61,0x6c,0x69,0x64]));_0x57495e(),_0x755cec[_0xa73d3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa73d3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54e63c=!0x1;const _0x133370=_0x491d05();function _0x213547(_0x4e9a60){return!!_0x4e9a60&&(typeof _0x4e9a60===_0xa73d3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e9a60===_0xa73d3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e9a60[_0xa73d3c([0x74,0x68,0x65,0x6e])]===_0xa73d3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e9a60[_0xa73d3c([0x63,0x61,0x74,0x63,0x68])]===_0xa73d3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fb624(_0x36215b){_0x37d22c(_0x36215b)[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x2821d2=>{if(!_0x2821d2||_0x2821d2[_0xa73d3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa73d3c([0x6f,0x6b]))return _0xa73d3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14e834(_0x2f3aa6(_0x133370+_0x5ef387))!=_0x2821d2[_0xa73d3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa73d3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa73d3c([0x56,0x61,0x6c,0x69,0x64]);})[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x57e5e8=>(_0x23a9b5(),_0x57e5e8),()=>{const _0x51841f=_0x47e449();return null==_0x51841f?(_0x23a9b5(),_0xa73d3c([0x56,0x61,0x6c,0x69,0x64])):_0xa73d3c(_0x4909ba-_0x51841f>(0x580b258^_0x5ed54a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x26605d)[_0xa73d3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26605d(_0xa73d3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c3ac0=0x21bad8d8^_0x5ed54a;function _0x23a9b5(){const _0x211e92=_0xa73d3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e834(_0x2f3aa6(_0x284289)),_0xf96222=_0x32487a(_0x14e834(window[_0xa73d3c([0x4d,0x61,0x74,0x68])][_0xa73d3c([0x63,0x65,0x69,0x6c])](_0x4909ba/_0x5c3ac0)));window[_0xa73d3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa73d3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x211e92,_0xf96222);}function _0x47e449(){const _0x57f276=_0xa73d3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x14e834(_0x2f3aa6(_0x284289)),_0x5f1e9c=window[_0xa73d3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa73d3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57f276);return _0x5f1e9c?window[_0xa73d3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32487a(_0x5f1e9c),0x10)*_0x5c3ac0:null;}function _0x37d22c(_0x2d3654){return new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b4054,_0x3738c0)=>{_0x2d3654[_0xa73d3c([0x74,0x68,0x65,0x6e])](_0x5b4054,_0x3738c0),window[_0xa73d3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3738c0,0x218de298^_0x5ed54a);});}}_0x755cec[_0xa73d3c([0x6f,0x6e])](_0xa73d3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f3b85,_0x3e8f29)=>{if(_0x3e8f29[0x0]!=_0x284289)return _0x26605d(_0xa73d3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e8f29[0x1]={..._0x3e8f29[0x1],[_0xa73d3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x133370};},{[_0xa73d3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa73d3c([0x68,0x69,0x67,0x68])}),_0x755cec[_0xa73d3c([0x6f,0x6e])](_0xa73d3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b032b=>{_0x213547(_0x5b032b[_0xa73d3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54e63c=!0x0,_0x1fb624(_0x5b032b[_0xa73d3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa73d3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa73d3c([0x6c,0x6f,0x77])}),_0x2310f3[_0xa73d3c([0x74,0x68,0x65,0x6e])](()=>{_0x54e63c||_0x26605d(_0xa73d3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b1b07(){return _0x755cec[_0xa73d3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa73d3c([0x76,0x69,0x65,0x77])][_0xa73d3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa73d3c([0x61,0x75,0x74,0x6f]);}function _0x57495e(){_0x755cec[_0xa73d3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa73d3c([0x76,0x69,0x65,0x77])][_0xa73d3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa73d3c([0x61,0x75,0x74,0x6f]);}}function _0x2b0be8(_0x51cc3f){const _0x2cec7d=[new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd1855c=>setTimeout(_0xd1855c,0x21850894^_0x5ed54a)),_0x2310f3[_0xa73d3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x946f6c=>{let _0x534824=0x0;_0x755cec[_0xa73d3c([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73d3c([0x6f,0x6e])](_0xa73d3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1100b2,_0x30092b)=>{_0x30092b[0x0][_0xa73d3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x534824++,_0x534824==(0x218c37a0^_0x5ed54a)&&(_0x946f6c(),_0x1100b2[_0xa73d3c([0x6f,0x66,0x66])]());});}))];return window[_0xa73d3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa73d3c([0x72,0x61,0x63,0x65])](_0x2cec7d)[_0xa73d3c([0x74,0x68,0x65,0x6e])](()=>_0x51cc3f);}async function _0x31155c(){await _0x2310f3,_0x755cec[_0xa73d3c([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73d3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b7152,_0x755cec[_0xa73d3c([0x6d,0x6f,0x64,0x65,0x6c])][_0xa73d3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b7152,_0x755cec[_0xa73d3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa73d3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51c83e(_0x3473b5){const _0x10a863=_0x43cf4f();_0x755cec[_0x10a863]=_0xa73d3c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3473b5,_0x3473b5!=_0xa73d3c([0x56,0x61,0x6c,0x69,0x64])&&_0x31155c();}function _0x43cf4f(){const _0x16d5dc=window[_0xa73d3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa73d3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa73d3c([0x6e,0x6f,0x77])]())[_0xa73d3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa73d3c([0x2e]),'');let _0x29cd81=_0xa73d3c([0x57]);for(let _0x1cac4a=0x0;_0x1cac4a<_0x16d5dc[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cac4a+=0x2){let _0x3b6bff=window[_0xa73d3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16d5dc[_0xa73d3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cac4a,_0x1cac4a+0x2));_0x3b6bff>=_0x289272[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b6bff-=_0x289272[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29cd81+=_0x289272[_0x3b6bff];}return _0x29cd81;}function _0x237d8a(){const _0xca06fe=_0x655751[_0xa73d3c([0x73,0x70,0x6c,0x69,0x74])](_0xa73d3c([0x2e]));if(0x3!=_0xca06fe[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41d785(_0xca06fe[0x1]);function _0x41d785(_0x1bdb1f){const _0x21836f=_0x450941(_0x1bdb1f);return _0x21836f&&_0x58eb2f()?_0x21836f:null;function _0x58eb2f(){const _0x48c962=_0x21836f[_0xa73d3c([0x6a,0x74,0x69])],_0x3a644e=window[_0xa73d3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48c962[_0xa73d3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48c962[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x296862={..._0x21836f,[_0xa73d3c([0x6a,0x74,0x69])]:_0x48c962[_0xa73d3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48c962[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x296862[_0xa73d3c([0x76,0x63])],_0x2f3aa6(_0x296862)==_0x3a644e;}}}async function _0x40f9ee(){let _0x21853a=!0x0;try{const _0x24e8fa=_0x655751[_0xa73d3c([0x73,0x70,0x6c,0x69,0x74])](_0xa73d3c([0x2e])),[_0x2cb071,_0x475db7,_0x53df80]=_0x24e8fa;return _0x4f2788(_0x2cb071),await _0x5bc03e(_0x2cb071,_0x475db7,_0x53df80),_0x21853a;}catch(_0x450d61){return!0x1;}function _0x4f2788(_0x5c6b76){const _0x10e615=_0x450941(_0x5c6b76);_0x10e615&&_0x10e615[_0xa73d3c([0x61,0x6c,0x67])]==_0xa73d3c([0x45,0x53,0x32,0x35,0x36])||(_0x21853a=!0x1);}async function _0x5bc03e(_0xac3f66,_0x272066,_0x3c2d5c){const _0x5b5384=window[_0xa73d3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa73d3c([0x66,0x72,0x6f,0x6d])](_0x501228(_0x3c2d5c),_0x21ad25=>_0x21ad25[_0xa73d3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x531373=new window[(_0xa73d3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa73d3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xac3f66+_0xa73d3c([0x2e])+_0x272066),_0x469918=window[_0xa73d3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa73d3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x469918)return;const _0x4200d5=await _0x469918[_0xa73d3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa73d3c([0x6a,0x77,0x6b]),_0x1bb9ba,{[_0xa73d3c([0x6e,0x61,0x6d,0x65])]:_0xa73d3c([0x45,0x43,0x44,0x53,0x41]),[_0xa73d3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa73d3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa73d3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x469918[_0xa73d3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa73d3c([0x6e,0x61,0x6d,0x65])]:_0xa73d3c([0x45,0x43,0x44,0x53,0x41]),[_0xa73d3c([0x68,0x61,0x73,0x68])]:{[_0xa73d3c([0x6e,0x61,0x6d,0x65])]:_0xa73d3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4200d5,_0x5b5384,_0x531373)||(_0x21853a=!0x1);}}function _0x450941(_0x425132){return _0x425132[_0xa73d3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa73d3c([0x65,0x79]))?JSON[_0xa73d3c([0x70,0x61,0x72,0x73,0x65])](_0x501228(_0x425132)):null;}function _0x501228(_0x38aec5){return window[_0xa73d3c([0x61,0x74,0x6f,0x62])](_0x38aec5[_0xa73d3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa73d3c([0x2b]))[_0xa73d3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa73d3c([0x2f])));}function _0x2f3aa6(_0x34d180){let _0x18c262=0x1505;function _0x447e41(_0x2be790){for(let _0x2addb4=0x0;_0x2addb4<_0x2be790[_0xa73d3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2addb4++){const _0x2c0f70=_0x2be790[_0xa73d3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2addb4);_0x18c262=(_0x18c262<<0x5)+_0x18c262+_0x2c0f70,_0x18c262&=_0x18c262;}}function _0x20ad25(_0x31cc01){Array[_0xa73d3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31cc01)?_0x31cc01[_0xa73d3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20ad25):_0x31cc01&&typeof _0x31cc01==_0xa73d3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa73d3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31cc01)[_0xa73d3c([0x73,0x6f,0x72,0x74])]()[_0xa73d3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3194c5,_0x4506dd])=>{_0x447e41(_0x3194c5),_0x20ad25(_0x4506dd);}):_0x447e41(window[_0xa73d3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31cc01));}return _0x20ad25(_0x34d180),_0x18c262>>>0x0;}function _0x14e834(_0x549ba5){return _0x549ba5[_0xa73d3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa73d3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa73d3c([0x30]));}function _0x32487a(_0x17124a){return _0x17124a[_0xa73d3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa73d3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa73d3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b7152(){}function _0xa73d3c(_0x2b15b4){const _0x395720=_0x39f0;return _0x2b15b4[_0x395720(0x146)](_0x10ab80=>String[_0x395720(0x11c)](_0x10ab80))[_0x395720(0x10f)]('');}_0x51c83e(await _0x3f5796());}(this);}[_0xfa8ac3(0x14f)](){const _0x5c858d=_0xfa8ac3,_0x493baf=this[_0x5c858d(0x137)][_0x5c858d(0x115)][_0x5c858d(0x11f)];_0x493baf[_0x5c858d(0x12c)](_0x5c858d(0x13a))&&_0x493baf[_0x5c858d(0x141)](_0x5c858d(0x13a),{'allowAttributes':[_0x5c858d(0x122)]}),_0x493baf[_0x5c858d(0x12c)](_0x5c858d(0x13d))&&_0x493baf[_0x5c858d(0x141)](_0x5c858d(0x13d),{'allowAttributes':[_0x5c858d(0x122)]});}[_0xfa8ac3(0x150)](){const _0x450f5c=_0xfa8ac3,_0x270a00=this[_0x450f5c(0x137)];_0x270a00[_0x450f5c(0x138)][_0x450f5c(0x148)](_0x450f5c(0x13c))[_0x450f5c(0x11d)]({'model':_0x450f5c(0x122),'view':_0x450f5c(0x117)}),_0x270a00[_0x450f5c(0x138)][_0x450f5c(0x148)](_0x450f5c(0x123))[_0x450f5c(0x129)]({'model':{'key':_0x450f5c(0x122),'value':_0x39b2e7=>_0x39b2e7[_0x450f5c(0x159)](_0x450f5c(0x117))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x46f37c=_0x270a00[_0x450f5c(0x139)][_0x450f5c(0x13e)](_0x450f5c(0x151));_0x46f37c&&this[_0x450f5c(0x14b)](_0x46f37c,_0x450f5c(0x12a),(_0x4504e6,[_0x2a18e0,_0x510d48])=>{const _0x285867=_0x450f5c;_0x2a18e0[_0x285867(0x108)](_0x285867(0x122),_0x510d48);});}[_0xfa8ac3(0x134)](){const _0x1bf75a=_0xfa8ac3,_0x1e9f56=this[_0x1bf75a(0x137)][_0x1bf75a(0x130)][_0x1bf75a(0x13e)](_0x1bf75a(0x112))||{},_0x1a6c6b=this[_0x1bf75a(0x137)][_0x1bf75a(0x130)][_0x1bf75a(0x13e)](_0x1bf75a(0x11a))||'';this[_0x1bf75a(0x107)]=_0x50e043(_0x15ff69[_0x1bf75a(0x127)],_0x1bf75a(0x12f),{..._0x1e9f56,'pubkey':_0x1a6c6b,'ctx-name':_0x1bf75a(0x113),'sourceList':'','imgOnly':_0x1bf75a(0x110),'removeCopyright':_0x1bf75a(0x110),'localeName':this[_0x1bf75a(0x137)][_0x1bf75a(0x118)][_0x1bf75a(0x14d)],'externalSourcesEmbedCss':_0x1bf75a(0x14a)}),this[_0x1bf75a(0x107)][_0x1bf75a(0x136)]=_0x74888f=>{const _0x30eba2=_0x1bf75a;if(_0x30eba2(0x121)==_0x74888f)return _0x30eba2(0x155);},_0x15ff69[_0x1bf75a(0x127)][_0x1bf75a(0x124)][_0x1bf75a(0x10c)](this[_0x1bf75a(0x107)]);}[_0xfa8ac3(0x10d)](){const _0x6ee14a=_0xfa8ac3;this[_0x6ee14a(0x126)]=_0x50e043(_0x15ff69[_0x6ee14a(0x127)],_0x6ee14a(0x142),{'ctx-name':_0x6ee14a(0x113)}),_0x15ff69[_0x6ee14a(0x127)][_0x6ee14a(0x124)][_0x6ee14a(0x10c)](this[_0x6ee14a(0x126)]);}[_0xfa8ac3(0x12b)](){const _0x363089=_0xfa8ac3,_0x3e1f64=this[_0x363089(0x137)][_0x363089(0x139)][_0x363089(0x13e)](_0x363089(0x140));_0x3e1f64&&this[_0x363089(0x14b)](_0x3e1f64,_0x363089(0x152),()=>{const _0x3667a9=_0x363089,_0x36186c=this[_0x3667a9(0x137)][_0x3667a9(0x115)][_0x3667a9(0x127)][_0x3667a9(0x109)][_0x3667a9(0x153)]();_0x36186c&&_0x36186c[_0x3667a9(0x159)](_0x3667a9(0x122))&&this[_0x3667a9(0x137)][_0x3667a9(0x14c)][_0x3667a9(0x149)][_0x3667a9(0x116)](_0x3667a9(0x128),()=>{const _0x45bff2=_0x3667a9;_0x2e0ce2(this[_0x45bff2(0x137)],_0x36186c);});});const _0x1a6fc3=this[_0x363089(0x137)][_0x363089(0x139)][_0x363089(0x13e)](_0x363089(0x156));_0x1a6fc3&&this[_0x363089(0x14b)](_0x1a6fc3,_0x363089(0x152),()=>{const _0x1b38fe=_0x363089,_0x425274=this[_0x1b38fe(0x137)][_0x1b38fe(0x115)][_0x1b38fe(0x127)][_0x1b38fe(0x109)][_0x1b38fe(0x153)]();_0x425274&&_0x425274[_0x1b38fe(0x159)](_0x1b38fe(0x122))&&this[_0x1b38fe(0x137)][_0x1b38fe(0x14c)][_0x1b38fe(0x149)][_0x1b38fe(0x116)](_0x1b38fe(0x128),()=>{const _0x46c877=_0x1b38fe;_0x2e0ce2(this[_0x46c877(0x137)],_0x425274);});});}}
23
+ const _0x4ba3ff=_0x552f;(function(_0x14d556,_0x517d40){const _0x1653f3=_0x552f,_0x47a07a=_0x14d556();while(!![]){try{const _0x31bfaa=-parseInt(_0x1653f3(0x11d))/0x1+parseInt(_0x1653f3(0xf8))/0x2*(-parseInt(_0x1653f3(0x10a))/0x3)+-parseInt(_0x1653f3(0x134))/0x4+parseInt(_0x1653f3(0x108))/0x5+-parseInt(_0x1653f3(0x119))/0x6+parseInt(_0x1653f3(0x120))/0x7*(-parseInt(_0x1653f3(0x102))/0x8)+parseInt(_0x1653f3(0xf0))/0x9*(parseInt(_0x1653f3(0x117))/0xa);if(_0x31bfaa===_0x517d40)break;else _0x47a07a['push'](_0x47a07a['shift']());}catch(_0x1f0143){_0x47a07a['push'](_0x47a07a['shift']());}}}(_0x5b8c,0x86bd6));function _0x5b8c(){const _0x222317=['isRegistered','uploader','querySelector','uploadcare','isOfficialPlugin','remove','#uc-icon-arrow-down','downcast','true','listenTo','1190irEPFX','document','3097968dsvEbt','once','commands','iconHrefResolver','779768HNUstG','replaceImageSource','selection','7czrOep','config','destroy','configElement','for','get','imageBlock','join','editing','isPremiumPlugin','ctxElement','fromCharCode','uc-upload-ctx-provider','_initConversion','body','_initSchema','schema','attributeToAttribute','execute','href','2372776bcZZLK','_initConfig','data-uc-image-id','appendChild','_initCtx','imageInline','getSelectedElement','locale','view','contentLanguage','_configElement','insertImage','removeAttribute','init','uploadcareImageId','render','183159qyfhVx','uploadcareImageReplace','uploadcare.uploader','\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','_initImageProcessingIndicator','add','cleanupImage','uc-config','2gGlINT','input[uploadcare-file-input]','UploadcareEditing','afterInit','uploadcare.pubkey','editor','pluginName','elementToAttribute','model','extend','4785952GuRBLa','PictureEditing','getAttribute','conversion','upcast','_ctxElement','4330710NuOgty','requires','745449HUtBlN','closeMax','map'];_0x5b8c=function(){return _0x222317;};return _0x5b8c();}import{Plugin as _0x37192c}from'ckeditor5/src/core.js';import{Dialog as _0x1dc3dc}from'ckeditor5/src/ui.js';import{createElement as _0x3349d5,global as _0x4d6862,uid as _0x324ef4}from'ckeditor5/src/utils.js';import _0x2ce78c from'./uploadcarecommand.js';import _0x465664 from'./uploadcareuploadadapter.js';function _0x552f(_0x48e4a6,_0xdeea6c){const _0x5b8c35=_0x5b8c();return _0x552f=function(_0x552f2b,_0x3074d7){_0x552f2b=_0x552f2b-0xed;let _0x3261cf=_0x5b8c35[_0x552f2b];return _0x3261cf;},_0x552f(_0x48e4a6,_0xdeea6c);}import{showImageProcessingIndicator as _0x3cc29c}from'./utils/editingutils.js';export default class i extends _0x37192c{[_0x4ba3ff(0x13e)]=null;[_0x4ba3ff(0x107)]=null;static get[_0x4ba3ff(0xfe)](){const _0x537467=_0x4ba3ff;return _0x537467(0xfa);}static get[_0x4ba3ff(0x109)](){const _0xdc8128=_0x4ba3ff;return[_0xdc8128(0x103),_0x465664,_0x1dc3dc];}static get[_0x4ba3ff(0x111)](){return!0x0;}static get[_0x4ba3ff(0x129)](){return!0x0;}get[_0x4ba3ff(0x123)](){const _0x548b6c=_0x4ba3ff;return this[_0x548b6c(0x13e)];}get[_0x4ba3ff(0x12a)](){const _0x1283b5=_0x4ba3ff;return this[_0x1283b5(0x107)];}[_0x4ba3ff(0xed)](){const _0x411989=_0x4ba3ff,_0x2498e9=this[_0x411989(0xfd)];_0x2498e9[_0x411989(0x11b)][_0x411989(0xf5)](_0x411989(0x110),new _0x2ce78c(_0x2498e9));}[_0x4ba3ff(0xfb)](){const _0x43649a=_0x4ba3ff;this[_0x43649a(0x12f)](),this[_0x43649a(0x12d)](),this[_0x43649a(0x135)](),this[_0x43649a(0x138)](),this[_0x43649a(0xf4)](),this[_0x43649a(0x116)](this[_0x43649a(0xfd)],_0x43649a(0x122),()=>{const _0x8cf37f=_0x43649a;this[_0x8cf37f(0x13e)]&&(this[_0x8cf37f(0x13e)][_0x8cf37f(0x112)](),this[_0x8cf37f(0x13e)]=null),this[_0x8cf37f(0x107)]&&(this[_0x8cf37f(0x107)][_0x8cf37f(0x112)](),this[_0x8cf37f(0x107)]=null);const _0x3bf974=_0x4d6862[_0x8cf37f(0x118)][_0x8cf37f(0x10f)](_0x8cf37f(0xf9));_0x3bf974&&_0x3bf974[_0x8cf37f(0x112)]();}),async function(_0x16b361){const _0x2c3455=_0x43dddf([0x56,0x6c,0x43,0x48,0x69,0x50,0x4a,0x4f,0x59,0x54,0x53,0x66,0x75,0x6e,0x49,0x72,0x67,0x55,0x77,0x44,0x38,0x4b,0x35,0x61,0x6d,0x64,0x4c,0x74,0x6a,0x6b,0x42,0x31,0x4d,0x52,0x63,0x39,0x34,0x57,0x70,0x62,0x65,0x30,0x68,0x78,0x58,0x46,0x7a,0x45,0x76,0x37,0x47,0x71,0x73,0x79,0x6f,0x4e,0x32,0x5a,0x36,0x41,0x51,0x33]),_0x1096df=0x7f0686cd,_0x847ec3=0x7f01efed^_0x1096df,_0x13864a=window[_0x43dddf([0x44,0x61,0x74,0x65])][_0x43dddf([0x6e,0x6f,0x77])](),_0x14d82a=_0x16b361[_0x43dddf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c2422=new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31f25d=>{_0x14d82a[_0x43dddf([0x6f,0x6e,0x63,0x65])](_0x43dddf([0x72,0x65,0x61,0x64,0x79]),_0x31f25d);}),_0x1d079e={[_0x43dddf([0x6b,0x74,0x79])]:_0x43dddf([0x45,0x43]),[_0x43dddf([0x75,0x73,0x65])]:_0x43dddf([0x73,0x69,0x67]),[_0x43dddf([0x63,0x72,0x76])]:_0x43dddf([0x50,0x2d,0x32,0x35,0x36]),[_0x43dddf([0x78])]:_0x43dddf([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]),[_0x43dddf([0x79])]:_0x43dddf([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]),[_0x43dddf([0x61,0x6c,0x67])]:_0x43dddf([0x45,0x53,0x32,0x35,0x36])},_0x1c02fd=_0x14d82a[_0x43dddf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43dddf([0x67,0x65,0x74])](_0x43dddf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x434e43(){let _0x390f63,_0x1744b4=null,_0x355ccc=null;try{if(_0x1c02fd==_0x43dddf([0x47,0x50,0x4c]))return _0x43dddf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x390f63=_0x590521(),!_0x390f63)return _0x43dddf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x390f63[_0x43dddf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x355ccc=_0x433c5f(_0x390f63[_0x43dddf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x390f63[_0x43dddf([0x6a,0x74,0x69])])),await _0x384dde()?_0x2e6a97()?_0x19fcba()?_0x43dddf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x188287()?(_0x390f63[_0x43dddf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43dddf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1744b4=_0x405e59(_0x43dddf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x390f63[_0x43dddf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43dddf([0x74,0x72,0x69,0x61,0x6c])&&(_0x1744b4=_0x405e59(_0x43dddf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x208ae6()):_0x43dddf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43dddf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43dddf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43dddf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19fcba(){const _0x4cc7d3=[_0x43dddf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43dddf([0x74,0x72,0x69,0x61,0x6c])][_0x43dddf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390f63[_0x43dddf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13864a/0x3e8:0xe10*_0x847ec3;return _0x390f63[_0x43dddf([0x65,0x78,0x70])]<_0x4cc7d3;}function _0x2e6a97(){const _0x2388c4=_0x390f63[_0x43dddf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2388c4&&(!!_0x2388c4[_0x43dddf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43dddf([0x2a]))||!!_0x2388c4[_0x43dddf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43dddf([0x55,0x50,0x4c,0x43])));}function _0x188287(){const _0x5123d1=_0x552f,_0x1274b6=_0x390f63[_0x43dddf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1274b6||0x0==_0x1274b6[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x582ae5}=new URL(window[_0x43dddf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5123d1(0x133)]);if(_0x1274b6[_0x43dddf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582ae5))return!0x0;const _0x47874d=_0x582ae5[_0x43dddf([0x73,0x70,0x6c,0x69,0x74])](_0x43dddf([0x2e]));return _0x1274b6[_0x43dddf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4488b8=>_0x4488b8[_0x43dddf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43dddf([0x2a])))[_0x43dddf([0x6d,0x61,0x70])](_0x49d517=>_0x49d517[_0x43dddf([0x73,0x70,0x6c,0x69,0x74])](_0x43dddf([0x2e])))[_0x43dddf([0x73,0x6f,0x6d,0x65])](_0x10b247=>_0x47874d[_0x43dddf([0x65,0x76,0x65,0x72,0x79])]((_0x103dc5,_0x388546)=>_0x10b247[_0x388546]===_0x103dc5||_0x10b247[_0x388546]===_0x43dddf([0x2a])));}function _0x208ae6(){return _0x1744b4&&_0x355ccc?new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c9548,_0x6355fb)=>{_0x1744b4[_0x43dddf([0x74,0x68,0x65,0x6e])](_0x3c9548,_0x6355fb),_0x355ccc[_0x43dddf([0x74,0x68,0x65,0x6e])](_0xe7070c=>{_0xe7070c!=_0x43dddf([0x56,0x61,0x6c,0x69,0x64])&&_0x3c9548(_0xe7070c);},_0x6355fb);}):_0x1744b4||_0x355ccc||_0x43dddf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x433c5f(_0x30855c,_0x49ddc6){return new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f5371=>{if(_0x4ab23b())return _0x5f5371(_0x43dddf([0x56,0x61,0x6c,0x69,0x64]));_0x70a394(),_0x14d82a[_0x43dddf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43dddf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cce9b=!0x1;const _0x44846d=_0x324ef4();function _0x37f8c0(_0x18eab2){return!!_0x18eab2&&(typeof _0x18eab2===_0x43dddf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18eab2===_0x43dddf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18eab2[_0x43dddf([0x74,0x68,0x65,0x6e])]===_0x43dddf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18eab2[_0x43dddf([0x63,0x61,0x74,0x63,0x68])]===_0x43dddf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35a12b(_0x3bc07f){_0x5c29a4(_0x3bc07f)[_0x43dddf([0x74,0x68,0x65,0x6e])](_0xb7e90e=>{if(!_0xb7e90e||_0xb7e90e[_0x43dddf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43dddf([0x6f,0x6b]))return _0x43dddf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e243b(_0x4b89ee(_0x44846d+_0x49ddc6))!=_0xb7e90e[_0x43dddf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43dddf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43dddf([0x56,0x61,0x6c,0x69,0x64]);})[_0x43dddf([0x74,0x68,0x65,0x6e])](_0x44f233=>(_0x28ec91(),_0x44f233),()=>{const _0x6abcfc=_0x562f61();return null==_0x6abcfc?(_0x28ec91(),_0x43dddf([0x56,0x61,0x6c,0x69,0x64])):_0x43dddf(_0x13864a-_0x6abcfc>(0x5b0a02cd^_0x1096df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43dddf([0x74,0x68,0x65,0x6e])](_0x5f5371)[_0x43dddf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f5371(_0x43dddf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18b9c8=0x7f30684d^_0x1096df;function _0x28ec91(){const _0x554dba=_0x43dddf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e243b(_0x4b89ee(_0x30855c)),_0x151cca=_0x9ec39d(_0x5e243b(window[_0x43dddf([0x4d,0x61,0x74,0x68])][_0x43dddf([0x63,0x65,0x69,0x6c])](_0x13864a/_0x18b9c8)));window[_0x43dddf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43dddf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x554dba,_0x151cca);}function _0x562f61(){const _0x46c303=_0x43dddf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e243b(_0x4b89ee(_0x30855c)),_0x263a92=window[_0x43dddf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43dddf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46c303);return _0x263a92?window[_0x43dddf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9ec39d(_0x263a92),0x10)*_0x18b9c8:null;}function _0x5c29a4(_0xaff983){return new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x420081,_0x5d4638)=>{_0xaff983[_0x43dddf([0x74,0x68,0x65,0x6e])](_0x420081,_0x5d4638),window[_0x43dddf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d4638,0x7f07520d^_0x1096df);});}}_0x14d82a[_0x43dddf([0x6f,0x6e])](_0x43dddf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cd040,_0x27c0eb)=>{if(_0x27c0eb[0x0]!=_0x30855c)return _0x5f5371(_0x43dddf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27c0eb[0x1]={..._0x27c0eb[0x1],[_0x43dddf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44846d};},{[_0x43dddf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43dddf([0x68,0x69,0x67,0x68])}),_0x14d82a[_0x43dddf([0x6f,0x6e])](_0x43dddf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x382252=>{_0x37f8c0(_0x382252[_0x43dddf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cce9b=!0x0,_0x35a12b(_0x382252[_0x43dddf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43dddf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43dddf([0x6c,0x6f,0x77])}),_0x3c2422[_0x43dddf([0x74,0x68,0x65,0x6e])](()=>{_0x3cce9b||_0x5f5371(_0x43dddf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ab23b(){return _0x14d82a[_0x43dddf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43dddf([0x76,0x69,0x65,0x77])][_0x43dddf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43dddf([0x61,0x75,0x74,0x6f]);}function _0x70a394(){_0x14d82a[_0x43dddf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43dddf([0x76,0x69,0x65,0x77])][_0x43dddf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43dddf([0x61,0x75,0x74,0x6f]);}}function _0x405e59(_0x25b49a){const _0x5439a5=[new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f9b9=>setTimeout(_0x42f9b9,0x7f0fb801^_0x1096df)),_0x3c2422[_0x43dddf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c551=>{let _0x2cc3f7=0x0;_0x14d82a[_0x43dddf([0x6d,0x6f,0x64,0x65,0x6c])][_0x43dddf([0x6f,0x6e])](_0x43dddf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb2b470,_0x17ee6f)=>{_0x17ee6f[0x0][_0x43dddf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2cc3f7++,_0x2cc3f7==(0x7f068735^_0x1096df)&&(_0x39c551(),_0xb2b470[_0x43dddf([0x6f,0x66,0x66])]());});}))];return window[_0x43dddf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43dddf([0x72,0x61,0x63,0x65])](_0x5439a5)[_0x43dddf([0x74,0x68,0x65,0x6e])](()=>_0x25b49a);}async function _0x4e4647(){await _0x3c2422,_0x14d82a[_0x43dddf([0x6d,0x6f,0x64,0x65,0x6c])][_0x43dddf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43acec,_0x14d82a[_0x43dddf([0x6d,0x6f,0x64,0x65,0x6c])][_0x43dddf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43acec,_0x14d82a[_0x43dddf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43dddf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x570cb9(_0x5c415a){const _0x1c61fd=_0x264271();_0x14d82a[_0x1c61fd]=_0x43dddf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c415a,_0x5c415a!=_0x43dddf([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4647();}function _0x264271(){const _0x25da11=window[_0x43dddf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43dddf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43dddf([0x6e,0x6f,0x77])]())[_0x43dddf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43dddf([0x2e]),'');let _0x7d84f4=_0x43dddf([0x56]);for(let _0x204e5f=0x0;_0x204e5f<_0x25da11[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204e5f+=0x2){let _0xa74a38=window[_0x43dddf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25da11[_0x43dddf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x204e5f,_0x204e5f+0x2));_0xa74a38>=_0x2c3455[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa74a38-=_0x2c3455[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7d84f4+=_0x2c3455[_0xa74a38];}return _0x7d84f4;}function _0x590521(){const _0x2adeb6=_0x1c02fd[_0x43dddf([0x73,0x70,0x6c,0x69,0x74])](_0x43dddf([0x2e]));if(0x3!=_0x2adeb6[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc3a73f(_0x2adeb6[0x1]);function _0xc3a73f(_0x4ec3e1){const _0x5cd4f1=_0x4d967c(_0x4ec3e1);return _0x5cd4f1&&_0x5d2429()?_0x5cd4f1:null;function _0x5d2429(){const _0x235f1e=_0x5cd4f1[_0x43dddf([0x6a,0x74,0x69])],_0x501069=window[_0x43dddf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x235f1e[_0x43dddf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x235f1e[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x88a7da={..._0x5cd4f1,[_0x43dddf([0x6a,0x74,0x69])]:_0x235f1e[_0x43dddf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x235f1e[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x88a7da[_0x43dddf([0x76,0x63])],_0x4b89ee(_0x88a7da)==_0x501069;}}}async function _0x384dde(){let _0x5b4c6d=!0x0;try{const _0x3f0332=_0x1c02fd[_0x43dddf([0x73,0x70,0x6c,0x69,0x74])](_0x43dddf([0x2e])),[_0x4548f7,_0x57f162,_0x3e52d6]=_0x3f0332;return _0x10d7e3(_0x4548f7),await _0x5502e5(_0x4548f7,_0x57f162,_0x3e52d6),_0x5b4c6d;}catch{return!0x1;}function _0x10d7e3(_0x11760a){const _0x40e180=_0x4d967c(_0x11760a);_0x40e180&&_0x40e180[_0x43dddf([0x61,0x6c,0x67])]==_0x43dddf([0x45,0x53,0x32,0x35,0x36])||(_0x5b4c6d=!0x1);}async function _0x5502e5(_0x50a424,_0x568cd7,_0x329986){const _0x37053d=window[_0x43dddf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43dddf([0x66,0x72,0x6f,0x6d])](_0x496828(_0x329986),_0x4cb7e6=>_0x4cb7e6[_0x43dddf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29ee46=new window[(_0x43dddf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43dddf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50a424+_0x43dddf([0x2e])+_0x568cd7),_0x32bdce=window[_0x43dddf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43dddf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32bdce)return;const _0x17fcfd=await _0x32bdce[_0x43dddf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43dddf([0x6a,0x77,0x6b]),_0x1d079e,{[_0x43dddf([0x6e,0x61,0x6d,0x65])]:_0x43dddf([0x45,0x43,0x44,0x53,0x41]),[_0x43dddf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43dddf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43dddf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32bdce[_0x43dddf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43dddf([0x6e,0x61,0x6d,0x65])]:_0x43dddf([0x45,0x43,0x44,0x53,0x41]),[_0x43dddf([0x68,0x61,0x73,0x68])]:{[_0x43dddf([0x6e,0x61,0x6d,0x65])]:_0x43dddf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17fcfd,_0x37053d,_0x29ee46)||(_0x5b4c6d=!0x1);}}function _0x4d967c(_0x5e5fd5){return _0x5e5fd5[_0x43dddf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43dddf([0x65,0x79]))?JSON[_0x43dddf([0x70,0x61,0x72,0x73,0x65])](_0x496828(_0x5e5fd5)):null;}function _0x496828(_0xcbb606){return window[_0x43dddf([0x61,0x74,0x6f,0x62])](_0xcbb606[_0x43dddf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43dddf([0x2b]))[_0x43dddf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43dddf([0x2f])));}function _0x4b89ee(_0x317ca2){let _0x87ea1a=0x1505;function _0xfb98fd(_0x167d79){for(let _0x1433bb=0x0;_0x1433bb<_0x167d79[_0x43dddf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1433bb++){const _0x41db62=_0x167d79[_0x43dddf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1433bb);_0x87ea1a=(_0x87ea1a<<0x5)+_0x87ea1a+_0x41db62,_0x87ea1a&=_0x87ea1a;}}function _0x27b222(_0x15d195){Array[_0x43dddf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15d195)?_0x15d195[_0x43dddf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27b222):_0x15d195&&typeof _0x15d195==_0x43dddf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43dddf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15d195)[_0x43dddf([0x73,0x6f,0x72,0x74])]()[_0x43dddf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30b11d,_0x474e54])=>{_0xfb98fd(_0x30b11d),_0x27b222(_0x474e54);}):_0xfb98fd(window[_0x43dddf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15d195));}return _0x27b222(_0x317ca2),_0x87ea1a>>>0x0;}function _0x5e243b(_0x581789){return _0x581789[_0x43dddf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43dddf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43dddf([0x30]));}function _0x9ec39d(_0x1f67e6){return _0x1f67e6[_0x43dddf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43dddf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43dddf([0x6a,0x6f,0x69,0x6e])]('');}function _0x43acec(){}function _0x43dddf(_0x42204e){const _0x7d7419=_0x552f;return _0x42204e[_0x7d7419(0x10c)](_0x2e3638=>String[_0x7d7419(0x12b)](_0x2e3638))[_0x7d7419(0x127)]('');}_0x570cb9(await _0x434e43());}(this);}[_0x4ba3ff(0x12f)](){const _0x4e1ca2=_0x4ba3ff,_0x10a00a=this[_0x4e1ca2(0xfd)][_0x4e1ca2(0x100)][_0x4e1ca2(0x130)];_0x10a00a[_0x4e1ca2(0x10d)](_0x4e1ca2(0x126))&&_0x10a00a[_0x4e1ca2(0x101)](_0x4e1ca2(0x126),{'allowAttributes':[_0x4e1ca2(0xee)]}),_0x10a00a[_0x4e1ca2(0x10d)](_0x4e1ca2(0x139))&&_0x10a00a[_0x4e1ca2(0x101)](_0x4e1ca2(0x139),{'allowAttributes':[_0x4e1ca2(0xee)]});}[_0x4ba3ff(0x12d)](){const _0x5fdaca=_0x4ba3ff,_0x3f729f=this[_0x5fdaca(0xfd)];_0x3f729f[_0x5fdaca(0x105)][_0x5fdaca(0x124)](_0x5fdaca(0x114))[_0x5fdaca(0x131)]({'model':_0x5fdaca(0xee),'view':_0x5fdaca(0x136)}),_0x3f729f[_0x5fdaca(0x105)][_0x5fdaca(0x124)](_0x5fdaca(0x106))[_0x5fdaca(0xff)]({'model':{'key':_0x5fdaca(0xee),'value':_0x10720d=>_0x10720d[_0x5fdaca(0x104)](_0x5fdaca(0x136))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x259aea=_0x3f729f[_0x5fdaca(0x11b)][_0x5fdaca(0x125)](_0x5fdaca(0x11e));_0x259aea&&this[_0x5fdaca(0x116)](_0x259aea,_0x5fdaca(0xf6),(_0x52f331,[_0xfa531f,_0x480b8e])=>{const _0x40c543=_0x5fdaca;_0xfa531f[_0x40c543(0x140)](_0x40c543(0xee),_0x480b8e);});}[_0x4ba3ff(0x135)](){const _0x26600c=_0x4ba3ff,_0x1afba5=this[_0x26600c(0xfd)][_0x26600c(0x121)][_0x26600c(0x125)](_0x26600c(0xf2))||{},_0x4e895d=this[_0x26600c(0xfd)][_0x26600c(0x121)][_0x26600c(0x125)](_0x26600c(0xfc))||'';this[_0x26600c(0x13e)]=_0x3349d5(_0x4d6862[_0x26600c(0x118)],_0x26600c(0xf7),{..._0x1afba5,'pubkey':_0x4e895d,'ctx-name':_0x26600c(0x10e),'sourceList':'','imgOnly':_0x26600c(0x115),'removeCopyright':_0x26600c(0x115),'localeName':this[_0x26600c(0xfd)][_0x26600c(0x13b)][_0x26600c(0x13d)],'externalSourcesEmbedCss':_0x26600c(0xf3)}),this[_0x26600c(0x13e)][_0x26600c(0x11c)]=_0x11a4c0=>{const _0x1758c0=_0x26600c;if(_0x1758c0(0x10b)==_0x11a4c0)return _0x1758c0(0x113);},_0x4d6862[_0x26600c(0x118)][_0x26600c(0x12e)][_0x26600c(0x137)](this[_0x26600c(0x13e)]);}[_0x4ba3ff(0x138)](){const _0x30a65c=_0x4ba3ff;this[_0x30a65c(0x107)]=_0x3349d5(_0x4d6862[_0x30a65c(0x118)],_0x30a65c(0x12c),{'ctx-name':_0x30a65c(0x10e)}),_0x4d6862[_0x30a65c(0x118)][_0x30a65c(0x12e)][_0x30a65c(0x137)](this[_0x30a65c(0x107)]);}[_0x4ba3ff(0xf4)](){const _0x47ee07=_0x4ba3ff,_0x506e26=this[_0x47ee07(0xfd)][_0x47ee07(0x11b)][_0x47ee07(0x125)](_0x47ee07(0x13f));_0x506e26&&this[_0x47ee07(0x116)](_0x506e26,_0x47ee07(0x132),()=>{const _0x4cb992=_0x47ee07,_0x2b7e84=this[_0x4cb992(0xfd)][_0x4cb992(0x100)][_0x4cb992(0x118)][_0x4cb992(0x11f)][_0x4cb992(0x13a)]();_0x2b7e84&&_0x2b7e84[_0x4cb992(0x104)](_0x4cb992(0xee))&&this[_0x4cb992(0xfd)][_0x4cb992(0x128)][_0x4cb992(0x13c)][_0x4cb992(0x11a)](_0x4cb992(0xef),()=>{const _0x36f668=_0x4cb992;_0x3cc29c(this[_0x36f668(0xfd)],_0x2b7e84);});});const _0xaa713=this[_0x47ee07(0xfd)][_0x47ee07(0x11b)][_0x47ee07(0x125)](_0x47ee07(0xf1));_0xaa713&&this[_0x47ee07(0x116)](_0xaa713,_0x47ee07(0x132),()=>{const _0x8ef835=_0x47ee07,_0x1f447c=this[_0x8ef835(0xfd)][_0x8ef835(0x100)][_0x8ef835(0x118)][_0x8ef835(0x11f)][_0x8ef835(0x13a)]();_0x1f447c&&_0x1f447c[_0x8ef835(0x104)](_0x8ef835(0xee))&&this[_0x8ef835(0xfd)][_0x8ef835(0x128)][_0x8ef835(0x13c)][_0x8ef835(0x11a)](_0x8ef835(0xef),()=>{const _0x3b7c13=_0x8ef835;_0x3cc29c(this[_0x3b7c13(0xfd)],_0x1f447c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5d666e,ObservableMixin as _0x1adaa1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x54ff4f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9fb51f}from'ckeditor5/src/icons.js';import _0x556ce2 from'./uploadcareimageeditformview.js';import _0x2d163b from'../../utils/uploadutils.js';import{getImageUrls as _0x3d63a6,getImageDimension as _0x439a74}from'../../utils/editingutils.js';import{isAncestor as _0x5b85c6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1adaa1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507eb2,_0x4af271,_0x5bbcbd){super(),this['_editor']=_0x507eb2,this['_dialog']=_0x4af271,this['_imageElement']=_0x5bbcbd,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 _0x13650d=this['_imageElement'],_0x6a1512=_0x13650d['getAttribute']('uploadcareImageId'),_0x3b580d=_0x13650d['getAttribute']('src');if(_0x6a1512)await this['_loadImageInfo'](_0x6a1512,_0x3b580d);else{if(this['_imageCache']['has'](_0x3b580d)){const _0x902c9b=this['_imageCache']['get'](_0x3b580d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x902c9b['url'],this['imageDimension']=_0x902c9b['dimension'],this['imageId']=_0x902c9b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fef9f}=this['_editor'],t=_0x1fef9f['t'],_0x49ecfd=new _0x556ce2(_0x1fef9f,this['imageStatus'],this['_attributes']);_0x49ecfd['bind']('status')['to'](this,'imageStatus'),_0x49ecfd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x49ecfd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x49ecfd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x49ecfd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9fb51f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x49ecfd,'position':_0x54ff4f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x49ecfd['focus']();},'onHide':()=>{_0x49ecfd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4f7220=>!_0x5b85c6(_0x4f7220,_0x49ecfd['element'])}});}['_loadImageInfo'](_0xd8ad29,_0x4d8e1e){return _0x2d163b['getInfo'](_0xd8ad29,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1416bf=>{const {width:_0x227dc2,height:_0x1bfc50}=_0x1416bf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d8e1e,this['imageDimension']={'width':_0x227dc2,'height':_0x1bfc50},this['imageId']=_0xd8ad29;})['catch'](_0x31feb3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31feb3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x48f13d,_0x1b6b24){return this['_getImageAsFile'](_0x48f13d)['then'](_0x14881f=>_0x2d163b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1b6b24['signal'],'file':_0x14881f,'onProgress':_0x106384=>{_0x106384&&_0x106384['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x106384['value']));}}))['then'](_0x53fa9b=>{const {width:_0x484381,height:_0x4eefbc}=_0x53fa9b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53fa9b['cdnUrl'],this['imageDimension']={'width':_0x484381,'height':_0x4eefbc},this['imageId']=_0x53fa9b['uuid'],this['imageUploadProgress']=null;const _0x3092e4=_0x48f13d['getAttribute']('src');this['_imageCache']['set'](_0x3092e4,{'id':_0x53fa9b['uuid'],'url':_0x53fa9b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19c353=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19c353['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x40641f,_0x3f1a55){_0x40641f['on']('apply',(_0x493a04,_0x1b7ae5)=>{this['_replaceImage'](_0x3f1a55,_0x1b7ae5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x40641f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x40641f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xd004a8,_0x52fd9c,_0x5a31ec){const _0xc78bba=this['_editor'],{width:_0x550018,height:_0x15b3c8}=_0x439a74(_0x52fd9c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x8fe63,imageSources:_0x1c2934}=_0x3d63a6(_0x52fd9c,_0x550018);_0xc78bba['model']['change'](_0x202278=>{if('$graveyard'===_0xd004a8['root']['rootName']){_0xc78bba['execute']('insertImage',{'imageType':_0xd004a8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xd004a8['getAttributes']()),'uploadcareImageId':_0x5a31ec,'src':_0x8fe63,'sources':_0x1c2934,'width':_0x550018,'height':_0x15b3c8}});const _0x3cdf09=_0xd004a8['getChildren']();_0xd004a8=_0xc78bba['model']['document']['selection']['getSelectedElement']();for(const _0x349907 of _0x3cdf09)_0x202278['append'](_0x202278['cloneElement'](_0x349907),_0xd004a8);}else _0x202278['setSelection'](_0xd004a8,'on'),_0xc78bba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xd004a8['getAttributes']()),'uploadcareImageId':_0x5a31ec,'src':_0x8fe63,'sources':_0x1c2934,'width':_0x550018,'height':_0x15b3c8},_0xd004a8);_0x202278['setSelection'](_0xd004a8,'on');});}async['_getImageAsFile'](_0x2bcc07){const _0x16cf0f=_0x5d666e['window'],_0x427fc4=_0x5d666e['document']['location']['href'],_0x599893=new _0x16cf0f['URL'](_0x2bcc07['getAttribute']('src'),_0x427fc4);if('data:'===_0x599893['protocol']){const _0x586bed=_0x599893['href']['split'](','),_0x1978d5=_0x586bed[0x0]['match'](/:(.*?);/)[0x1],_0x4812fa=_0x1978d5['split']('/')[0x1],_0x3ae105=_0x16cf0f['atob'](_0x586bed[_0x586bed['length']-0x1]);let _0x5a6af9=_0x3ae105['length'];const _0x56370e=new _0x16cf0f['Uint8Array'](_0x5a6af9);for(;_0x5a6af9--;)_0x56370e[_0x5a6af9]=_0x3ae105['charCodeAt'](_0x5a6af9);return new _0x16cf0f['File']([_0x56370e],'image.'+_0x4812fa,{'type':_0x1978d5});}const _0x3c8d36=_0x599893['href']['split']('/'),_0x4487f7=_0x3c8d36[_0x3c8d36['length']-0x1],_0x2e22e0=_0x4487f7['split']('.')[0x1];return _0x16cf0f['fetch'](_0x599893['href'])['then'](_0x23bd60=>_0x23bd60['clone']()['blob']())['then'](_0x52bc2b=>new _0x16cf0f['File']([_0x52bc2b],_0x4487f7,{'type':'image/'+_0x2e22e0}));}}
23
+ import{global as _0x1de0b2,ObservableMixin as _0x2a4996}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x804892}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3aa94c}from'ckeditor5/src/icons.js';import _0x1707b1 from'./uploadcareimageeditformview.js';import _0x96ae14 from'../../utils/uploadutils.js';import{getImageUrls as _0x358be0,getImageDimension as _0x3d3195}from'../../utils/editingutils.js';import{isAncestor as _0x2dd23d}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x2a4996(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5ca825,_0x590004,_0x17fa73){super(),this['_editor']=_0x5ca825,this['_dialog']=_0x590004,this['_imageElement']=_0x17fa73,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 _0xe88d5a=this['_imageElement'],_0x1640a2=_0xe88d5a['getAttribute']('uploadcareImageId'),_0x7a98a4=_0xe88d5a['getAttribute']('src');if(_0x1640a2)await this['_loadImageInfo'](_0x1640a2,_0x7a98a4);else{if(this['_imageCache']['has'](_0x7a98a4)){const _0x5c7ab4=this['_imageCache']['get'](_0x7a98a4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c7ab4['url'],this['imageDimension']=_0x5c7ab4['dimension'],this['imageId']=_0x5c7ab4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x277d96}=this['_editor'],t=_0x277d96['t'],_0x2273f6=new _0x1707b1(_0x277d96,this['imageStatus'],this['_attributes']);_0x2273f6['bind']('status')['to'](this,'imageStatus'),_0x2273f6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2273f6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2273f6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2273f6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3aa94c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2273f6,'position':_0x804892['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2273f6['focus']();},'onHide':()=>{_0x2273f6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x376546=>!_0x2dd23d(_0x376546,_0x2273f6['element'])}});}['_loadImageInfo'](_0x5b191e,_0x2a47d8){return _0x96ae14['getInfo'](_0x5b191e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x54b059=>{const {width:_0x142fc7,height:_0x155643}=_0x54b059['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a47d8,this['imageDimension']={'width':_0x142fc7,'height':_0x155643},this['imageId']=_0x5b191e;})['catch'](_0x1ccbf8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ccbf8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2e6184,_0x18206c){return this['_getImageAsFile'](_0x2e6184)['then'](_0x2cac12=>_0x96ae14['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x18206c['signal'],'file':_0x2cac12,'onProgress':_0x43b764=>{_0x43b764&&_0x43b764['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x43b764['value']));}}))['then'](_0x2da5aa=>{const {width:_0x1c2e90,height:_0x27cc49}=_0x2da5aa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2da5aa['cdnUrl'],this['imageDimension']={'width':_0x1c2e90,'height':_0x27cc49},this['imageId']=_0x2da5aa['uuid'],this['imageUploadProgress']=null;const _0x4bd444=_0x2e6184['getAttribute']('src');this['_imageCache']['set'](_0x4bd444,{'id':_0x2da5aa['uuid'],'url':_0x2da5aa['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x25bbec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25bbec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xb16517,_0x384f3e){_0xb16517['on']('apply',(_0x17f0bb,_0x3948b3)=>{this['_replaceImage'](_0x384f3e,_0x3948b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xb16517['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xb16517['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2cd3bd,_0x7782e3,_0x44d60c){const _0x34afef=this['_editor'],{width:_0x1925f1,height:_0x4a22e0}=_0x3d3195(_0x7782e3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x390893,imageSources:_0x1cd679}=_0x358be0(_0x7782e3,_0x1925f1);_0x34afef['model']['change'](_0x5745b1=>{if('$graveyard'===_0x2cd3bd['root']['rootName']){_0x34afef['execute']('insertImage',{'imageType':_0x2cd3bd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2cd3bd['getAttributes']()),'uploadcareImageId':_0x44d60c,'src':_0x390893,'sources':_0x1cd679,'width':_0x1925f1,'height':_0x4a22e0}});const _0x4b2208=_0x2cd3bd['getChildren']();_0x2cd3bd=_0x34afef['model']['document']['selection']['getSelectedElement']();for(const _0x2b8ae2 of _0x4b2208)_0x5745b1['append'](_0x5745b1['cloneElement'](_0x2b8ae2),_0x2cd3bd);}else _0x5745b1['setSelection'](_0x2cd3bd,'on'),_0x34afef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2cd3bd['getAttributes']()),'uploadcareImageId':_0x44d60c,'src':_0x390893,'sources':_0x1cd679,'width':_0x1925f1,'height':_0x4a22e0},_0x2cd3bd);_0x5745b1['setSelection'](_0x2cd3bd,'on');});}async['_getImageAsFile'](_0x32bc0e){const _0x66643b=_0x1de0b2['window'],_0x487d16=_0x1de0b2['document']['location']['href'],_0x2c431e=new _0x66643b['URL'](_0x32bc0e['getAttribute']('src'),_0x487d16);if('data:'===_0x2c431e['protocol']){const _0x58810d=_0x2c431e['href']['split'](','),_0x1926df=_0x58810d[0x0]['match'](/:(.*?);/)[0x1],_0x34456b=_0x1926df['split']('/')[0x1],_0x1c6c38=_0x66643b['atob'](_0x58810d[_0x58810d['length']-0x1]);let _0x56d272=_0x1c6c38['length'];const _0x337799=new _0x66643b['Uint8Array'](_0x56d272);for(;_0x56d272--;)_0x337799[_0x56d272]=_0x1c6c38['charCodeAt'](_0x56d272);return new _0x66643b['File']([_0x337799],'image.'+_0x34456b,{'type':_0x1926df});}const _0x55bb87=_0x2c431e['href']['split']('/'),_0x6fc994=_0x55bb87[_0x55bb87['length']-0x1],_0x1ec3fc=_0x6fc994['split']('.')[0x1];return _0x66643b['fetch'](_0x2c431e['href'])['then'](_0x2d0f96=>_0x2d0f96['clone']()['blob']())['then'](_0x2589af=>new _0x66643b['File']([_0x2589af],_0x6fc994,{'type':'image/'+_0x1ec3fc}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2e543a,_0x5daeeb){const _0x10dc7f=_0x17a0,_0xaf1249=_0x2e543a();while(!![]){try{const _0x5bd7=parseInt(_0x10dc7f(0x1b3))/0x1*(parseInt(_0x10dc7f(0x1bb))/0x2)+-parseInt(_0x10dc7f(0x1ba))/0x3+-parseInt(_0x10dc7f(0x1b6))/0x4+-parseInt(_0x10dc7f(0x1bd))/0x5+parseInt(_0x10dc7f(0x1b9))/0x6*(parseInt(_0x10dc7f(0x1be))/0x7)+parseInt(_0x10dc7f(0x1b4))/0x8*(parseInt(_0x10dc7f(0x1b7))/0x9)+-parseInt(_0x10dc7f(0x1b1))/0xa*(-parseInt(_0x10dc7f(0x1bc))/0xb);if(_0x5bd7===_0x5daeeb)break;else _0xaf1249['push'](_0xaf1249['shift']());}catch(_0x8bfeb6){_0xaf1249['push'](_0xaf1249['shift']());}}}(_0x136d,0xc6e52));import{View as _0x30a0b1}from'ckeditor5/src/ui.js';function _0x17a0(_0x211049,_0x14235b){const _0x136d08=_0x136d();return _0x17a0=function(_0x17a061,_0x22ce3f){_0x17a061=_0x17a061-0x1b0;let _0x27455a=_0x136d08[_0x17a061];return _0x27455a;},_0x17a0(_0x211049,_0x14235b);}function _0x136d(){const _0x501e9b=['bindTemplate','image-edit','ck-uploadcare-theme','335940WvRZbm','imageSrc','1280109vCVWYK','48PIYMvz','set','5535608bUoYBe','2347587KtPzfk','uc-cloud-image-editor','860718DrRXBX','3948009MVOtmb','2JBWdTc','396QoFjQp','7003450JKAYdm','42YrKcSK','setTemplate','uc-light'];_0x136d=function(){return _0x501e9b;};return _0x136d();}export default class tt extends _0x30a0b1{constructor(_0x33e2ad,_0x4e5b25){const _0x3bcec3=_0x17a0;super(_0x33e2ad);const _0x30d40d=this[_0x3bcec3(0x1c1)];this[_0x3bcec3(0x1b5)](_0x3bcec3(0x1b2),''),this[_0x3bcec3(0x1bf)]({'tag':_0x3bcec3(0x1b8),'attributes':{..._0x4e5b25,'class':[_0x3bcec3(0x1c0),_0x3bcec3(0x1b0)],'ctx-name':_0x3bcec3(0x1c2),'cdn-url':_0x30d40d['to'](_0x3bcec3(0x1b2))}});}}
23
+ (function(_0x2d6736,_0x466be6){const _0x2af9a9=_0x1f02,_0xbac5c8=_0x2d6736();while(!![]){try{const _0x52bb8b=-parseInt(_0x2af9a9(0x180))/0x1+-parseInt(_0x2af9a9(0x177))/0x2+-parseInt(_0x2af9a9(0x181))/0x3*(-parseInt(_0x2af9a9(0x174))/0x4)+-parseInt(_0x2af9a9(0x172))/0x5*(parseInt(_0x2af9a9(0x173))/0x6)+parseInt(_0x2af9a9(0x17c))/0x7*(-parseInt(_0x2af9a9(0x176))/0x8)+-parseInt(_0x2af9a9(0x17d))/0x9+parseInt(_0x2af9a9(0x183))/0xa*(parseInt(_0x2af9a9(0x17a))/0xb);if(_0x52bb8b===_0x466be6)break;else _0xbac5c8['push'](_0xbac5c8['shift']());}catch(_0x3ff480){_0xbac5c8['push'](_0xbac5c8['shift']());}}}(_0x1da4,0xacc4a));function _0x1da4(){const _0x41c961=['63IDhAIq','11787975njYEcI','set','imageSrc','1225462aYtrIv','3LKErqQ','uc-light','45533570zWqvQe','ck-uploadcare-theme','11150WcudRG','2436XuDdSg','3062964udkfsI','bindTemplate','922736EbBkdv','265490xYFuxL','image-edit','uc-cloud-image-editor','11MznrUF','setTemplate'];_0x1da4=function(){return _0x41c961;};return _0x1da4();}function _0x1f02(_0x20af4c,_0x55ef92){const _0x1da485=_0x1da4();return _0x1f02=function(_0x1f0251,_0x4e8a00){_0x1f0251=_0x1f0251-0x171;let _0x4fd413=_0x1da485[_0x1f0251];return _0x4fd413;},_0x1f02(_0x20af4c,_0x55ef92);}import{View as _0x53a683}from'ckeditor5/src/ui.js';export default class tt extends _0x53a683{constructor(_0x3ec218,_0x3cda9e){const _0x370140=_0x1f02;super(_0x3ec218);const _0x17c31c=this[_0x370140(0x175)];this[_0x370140(0x17e)](_0x370140(0x17f),''),this[_0x370140(0x17b)]({'tag':_0x370140(0x179),'attributes':{..._0x3cda9e,'class':[_0x370140(0x182),_0x370140(0x171)],'ctx-name':_0x370140(0x178),'cdn-url':_0x17c31c['to'](_0x370140(0x17f))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x1cc9a2,IconView as at,View as _0x5d5e6e}from'ckeditor5/src/ui.js';export default class rt extends _0x5d5e6e{constructor(_0x3e6bfe){super(_0x3e6bfe);const t=_0x3e6bfe['t'];this['set']('errorType',null);const _0x4678ad=new _0x1cc9a2(_0x3e6bfe);_0x4678ad['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4678ad['withText']=!0x0,_0x4678ad['class']='ck-button-action',_0x4678ad['on']('execute',()=>{this['fire']('retry');}),_0x4678ad['bind']('isVisible')['to'](this,'errorType',_0x5f310b=>'NotFound'!==_0x5f310b);const _0x2d2d1d=new at();_0x2d2d1d['content']=et,_0x2d2d1d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x309757=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':[_0x2d2d1d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x309757['to']('errorType',_0x1b012f=>t('NotFound'!==_0x1b012f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4678ad]},{'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 _0x19187c,IconView as at,View as _0x43ca60}from'ckeditor5/src/ui.js';export default class rt extends _0x43ca60{constructor(_0x415f24){super(_0x415f24);const t=_0x415f24['t'];this['set']('errorType',null);const _0x52b803=new _0x19187c(_0x415f24);_0x52b803['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x52b803['withText']=!0x0,_0x52b803['class']='ck-button-action',_0x52b803['on']('execute',()=>{this['fire']('retry');}),_0x52b803['bind']('isVisible')['to'](this,'errorType',_0x51b361=>'NotFound'!==_0x51b361);const _0x471206=new at();_0x471206['content']=et,_0x471206['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe08b03=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':[_0x471206,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe08b03['to']('errorType',_0x1ec97e=>t('NotFound'!==_0x1ec97e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x52b803]},{'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 _0x5e2792,View as _0x2ac865}from'ckeditor5/src/ui.js';export default class ta extends _0x2ac865{constructor(_0x1b43d7){super(_0x1b43d7);const t=_0x1b43d7['t'],_0x2470e8=this['bindTemplate'],_0x133039=new _0x5e2792();_0x133039['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':[_0x133039,{'text':_0x2470e8['to']('imageUploadProgress',_0x5c56a3=>t('Loading\x20image...')+'\x20('+(_0x5c56a3||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 _0x3610ac,View as _0xdc3fb7}from'ckeditor5/src/ui.js';export default class ta extends _0xdc3fb7{constructor(_0x386b7f){super(_0x386b7f);const t=_0x386b7f['t'],_0xbce85b=this['bindTemplate'],_0x400f84=new _0x3610ac();_0x400f84['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':[_0x400f84,{'text':_0xbce85b['to']('imageUploadProgress',_0x46eb10=>t('Loading\x20image...')+'\x20('+(_0x46eb10||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 _0x6147de=_0x340b;(function(_0x4d2b23,_0x17c8b1){const _0xc40272=_0x340b,_0x266c03=_0x4d2b23();while(!![]){try{const _0x3c19fd=parseInt(_0xc40272(0x1c1))/0x1+parseInt(_0xc40272(0x1c0))/0x2*(parseInt(_0xc40272(0x1c4))/0x3)+-parseInt(_0xc40272(0x1be))/0x4*(parseInt(_0xc40272(0x1b9))/0x5)+parseInt(_0xc40272(0x1ea))/0x6*(parseInt(_0xc40272(0x1d0))/0x7)+-parseInt(_0xc40272(0x1cc))/0x8+-parseInt(_0xc40272(0x1d4))/0x9+parseInt(_0xc40272(0x1bc))/0xa;if(_0x3c19fd===_0x17c8b1)break;else _0x266c03['push'](_0x266c03['shift']());}catch(_0x109545){_0x266c03['push'](_0x266c03['shift']());}}}(_0x3377,0x197fe));function _0x340b(_0x48dfdf,_0x5dbc87){const _0x3377b0=_0x3377();return _0x340b=function(_0x340b68,_0x36eca8){_0x340b68=_0x340b68-0x1b6;let _0x291fd7=_0x3377b0[_0x340b68];return _0x291fd7;},_0x340b(_0x48dfdf,_0x5dbc87);}import{View as _0x66ebbb}from'ckeditor5/src/ui.js';function _0x3377(){const _0x123abb=['once','_addErrorViewListeners','6342XpBNaj','set','_errorView','addEventListener','_waitForImageEditorComponent','observe','uc-cloud-image-editor','detail','211776ZPCpRW','cancel','_loadingView','_addUploadcareImageEditorListeners','10206LJSNiJ','_setView','ready','fire','950607VqnbtH','div','error','add','apply','disconnect','cdnUrl','addMany','filter','ck-reset_all-excluded','querySelector','toLowerCase','clear','createCollection','nodeName','focus','uploading','status','_focusableView','target','_items','setTemplate','180vtIDfd','length','getFocusableElement','render','_editingView','change:status','54685QuNHSc','retry','element','839930jBAhxa','addedNodes','40IERtMR','ck-uploadcare-form','182IdVvhw','25804XDuNaz'];_0x3377=function(){return _0x123abb;};return _0x3377();}import _0xd385be from'./uploadcareimageeditformloadingview.js';import _0x4fa61b from'./uploadcareimageeditformerrorview.js';import _0x50bddd from'./uploadcareimageeditformeditingview.js';import _0x553800 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x553800{[_0x6147de(0x1e8)];[_0x6147de(0x1ce)];[_0x6147de(0x1c6)];[_0x6147de(0x1b7)];[_0x6147de(0x1e6)];constructor(_0x167fae,_0x3849bb,_0x427cea){const _0xe0ab6f=_0x6147de;super(_0x167fae),this[_0xe0ab6f(0x1e8)]=this[_0xe0ab6f(0x1e1)](),this[_0xe0ab6f(0x1ce)]=new _0xd385be(_0x167fae),this[_0xe0ab6f(0x1c6)]=new _0x4fa61b(_0x167fae),this[_0xe0ab6f(0x1b7)]=new _0x50bddd(_0x167fae,_0x427cea),this[_0xe0ab6f(0x1e6)]=new _0x66ebbb(_0x167fae),this[_0xe0ab6f(0x1e6)][_0xe0ab6f(0x1e9)](this[_0xe0ab6f(0x1ec)]()),this[_0xe0ab6f(0x1c5)](_0xe0ab6f(0x1e5),_0x3849bb),this[_0xe0ab6f(0x1e9)]({'tag':_0xe0ab6f(0x1d5),'attributes':{'class':['ck',_0xe0ab6f(0x1dd),_0xe0ab6f(0x1bf)],'tabindex':'-1'},'children':this[_0xe0ab6f(0x1e8)]}),this[_0xe0ab6f(0x1d1)](),this[_0xe0ab6f(0x1c2)](_0xe0ab6f(0x1b6),()=>{const _0x53620f=_0xe0ab6f;this[_0x53620f(0x1c8)](this[_0x53620f(0x1bb)],_0x6d1daf=>{const _0x527a08=_0x53620f;this[_0x527a08(0x1cf)](_0x6d1daf);});}),this['on'](_0xe0ab6f(0x1b8),()=>{const _0x2eeff6=_0xe0ab6f;this[_0x2eeff6(0x1d1)]();}),this[_0xe0ab6f(0x1c3)]();}[_0x6147de(0x1e3)](){const _0x369927=_0x6147de;this[_0x369927(0x1bb)][_0x369927(0x1e3)]();}[_0x6147de(0x1d1)](){const _0xffe418=_0x6147de;switch(this[_0xffe418(0x1e8)][_0xffe418(0x1e0)](),this[_0xffe418(0x1e5)]){case _0xffe418(0x1e4):this[_0xffe418(0x1e8)][_0xffe418(0x1d7)](this[_0xffe418(0x1ce)]);break;case _0xffe418(0x1d6):this[_0xffe418(0x1e8)][_0xffe418(0x1d7)](this[_0xffe418(0x1c6)]);break;case _0xffe418(0x1d2):this[_0xffe418(0x1e8)][_0xffe418(0x1db)]([this[_0xffe418(0x1b7)],this[_0xffe418(0x1e6)]]);}}[_0x6147de(0x1c8)](_0x5577ca,_0x2d9efd){const _0x240209=_0x6147de,_0x252b6f=_0x240209(0x1ca),_0x35266f=_0x5577ca[_0x240209(0x1de)](_0x252b6f);if(_0x35266f)return _0x2d9efd(_0x35266f);const _0x5cc6e0=new MutationObserver(_0x1da4d9=>{const _0x1ce76b=_0x240209,_0x2d572c=_0x1da4d9[_0x1ce76b(0x1dc)](_0x3332f3=>_0x3332f3[_0x1ce76b(0x1e7)]===_0x5577ca&&_0x3332f3[_0x1ce76b(0x1bd)][_0x1ce76b(0x1eb)]>0x0&&_0x3332f3[_0x1ce76b(0x1bd)][0x0][_0x1ce76b(0x1e2)][_0x1ce76b(0x1df)]()===_0x252b6f);_0x2d572c[_0x1ce76b(0x1eb)]&&(_0x5cc6e0[_0x1ce76b(0x1d9)](),_0x2d9efd(_0x2d572c[0x0][_0x1ce76b(0x1bd)][0x0]));});_0x5cc6e0[_0x240209(0x1c9)](_0x5577ca,{'childList':!0x0,'subtree':!0x0});}[_0x6147de(0x1cf)](_0x5cdf70){const _0x251b26=_0x6147de;_0x5cdf70[_0x251b26(0x1c7)](_0x251b26(0x1d8),_0x2fb4cf=>{const _0xea504e=_0x251b26;this[_0xea504e(0x1d3)](_0xea504e(0x1d8),{'imageSrc':_0x2fb4cf[_0xea504e(0x1cb)][_0xea504e(0x1da)]});}),_0x5cdf70[_0x251b26(0x1c7)](_0x251b26(0x1cd),()=>{const _0x4a62d3=_0x251b26;this[_0x4a62d3(0x1d3)](_0x4a62d3(0x1cd));});}[_0x6147de(0x1c3)](){const _0x22a9c1=_0x6147de;this[_0x22a9c1(0x1c6)]['on'](_0x22a9c1(0x1ba),()=>{const _0x382fb5=_0x22a9c1;this[_0x382fb5(0x1d3)](_0x382fb5(0x1ba));});}}
23
+ const _0x6e4d53=_0x1e27;(function(_0xb7bcda,_0x56d93){const _0xd707cd=_0x1e27,_0x4116ee=_0xb7bcda();while(!![]){try{const _0x57390c=parseInt(_0xd707cd(0xb9))/0x1+-parseInt(_0xd707cd(0xb6))/0x2+-parseInt(_0xd707cd(0xc6))/0x3*(-parseInt(_0xd707cd(0xd1))/0x4)+-parseInt(_0xd707cd(0xd9))/0x5*(-parseInt(_0xd707cd(0xd4))/0x6)+-parseInt(_0xd707cd(0xc7))/0x7+parseInt(_0xd707cd(0xe5))/0x8*(-parseInt(_0xd707cd(0xcc))/0x9)+parseInt(_0xd707cd(0xd0))/0xa;if(_0x57390c===_0x56d93)break;else _0x4116ee['push'](_0x4116ee['shift']());}catch(_0x2e0b49){_0x4116ee['push'](_0x4116ee['shift']());}}}(_0x3a79,0x868fe));import{View as _0x17418c}from'ckeditor5/src/ui.js';function _0x1e27(_0x447727,_0x25ce85){const _0x3a7930=_0x3a79();return _0x1e27=function(_0x1e2727,_0x4d9763){_0x1e2727=_0x1e2727-0xaf;let _0x400574=_0x3a7930[_0x1e2727];return _0x400574;},_0x1e27(_0x447727,_0x25ce85);}import _0x21338c from'./uploadcareimageeditformloadingview.js';import _0x4debb0 from'./uploadcareimageeditformerrorview.js';import _0x49f6bb from'./uploadcareimageeditformeditingview.js';function _0x3a79(){const _0x4f149d=['cancel','4385WvFNAD','uc-cloud-image-editor','setTemplate','element','fire','getFocusableElement','_waitForImageEditorComponent','focus','cdnUrl','addEventListener','error','_items','5766072UMYnzk','_loadingView','apply','_editingView','change:status','length','_setView','_addErrorViewListeners','1662758uowOhj','addedNodes','clear','494631KwpAvX','_focusableView','add','querySelector','set','detail','nodeName','disconnect','retry','once','status','createCollection','uploading','6591DpdDSa','3017119wYKlnX','render','observe','ck-uploadcare-form','filter','9BqgWUk','div','ck-reset_all-excluded','_errorView','8595330GIovoZ','916mBtdfw','ready','toLowerCase','4632iSYTkP','_addUploadcareImageEditorListeners','target','addMany'];_0x3a79=function(){return _0x4f149d;};return _0x3a79();}import _0x4a9ae9 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x4a9ae9{[_0x6e4d53(0xe4)];[_0x6e4d53(0xaf)];[_0x6e4d53(0xcf)];[_0x6e4d53(0xb1)];[_0x6e4d53(0xba)];constructor(_0x583ffa,_0x3b880b,_0x287fa2){const _0x2cda05=_0x6e4d53;super(_0x583ffa),this[_0x2cda05(0xe4)]=this[_0x2cda05(0xc4)](),this[_0x2cda05(0xaf)]=new _0x21338c(_0x583ffa),this[_0x2cda05(0xcf)]=new _0x4debb0(_0x583ffa),this[_0x2cda05(0xb1)]=new _0x49f6bb(_0x583ffa,_0x287fa2),this[_0x2cda05(0xba)]=new _0x17418c(_0x583ffa),this[_0x2cda05(0xba)][_0x2cda05(0xdb)](this[_0x2cda05(0xde)]()),this[_0x2cda05(0xbd)](_0x2cda05(0xc3),_0x3b880b),this[_0x2cda05(0xdb)]({'tag':_0x2cda05(0xcd),'attributes':{'class':['ck',_0x2cda05(0xce),_0x2cda05(0xca)],'tabindex':'-1'},'children':this[_0x2cda05(0xe4)]}),this[_0x2cda05(0xb4)](),this[_0x2cda05(0xc2)](_0x2cda05(0xc8),()=>{const _0x50c511=_0x2cda05;this[_0x50c511(0xdf)](this[_0x50c511(0xdc)],_0x460aef=>{const _0x56bd18=_0x50c511;this[_0x56bd18(0xd5)](_0x460aef);});}),this['on'](_0x2cda05(0xb2),()=>{const _0x3bd05c=_0x2cda05;this[_0x3bd05c(0xb4)]();}),this[_0x2cda05(0xb5)]();}[_0x6e4d53(0xe0)](){const _0x558da9=_0x6e4d53;this[_0x558da9(0xdc)][_0x558da9(0xe0)]();}[_0x6e4d53(0xb4)](){const _0x64531b=_0x6e4d53;switch(this[_0x64531b(0xe4)][_0x64531b(0xb8)](),this[_0x64531b(0xc3)]){case _0x64531b(0xc5):this[_0x64531b(0xe4)][_0x64531b(0xbb)](this[_0x64531b(0xaf)]);break;case _0x64531b(0xe3):this[_0x64531b(0xe4)][_0x64531b(0xbb)](this[_0x64531b(0xcf)]);break;case _0x64531b(0xd2):this[_0x64531b(0xe4)][_0x64531b(0xd7)]([this[_0x64531b(0xb1)],this[_0x64531b(0xba)]]);}}[_0x6e4d53(0xdf)](_0x498cef,_0x1d3023){const _0x112d07=_0x6e4d53,_0x5d7ea5=_0x112d07(0xda),_0x349fb7=_0x498cef[_0x112d07(0xbc)](_0x5d7ea5);if(_0x349fb7)return _0x1d3023(_0x349fb7);const _0x30d48d=new MutationObserver(_0x3cf2c9=>{const _0x2d97bd=_0x112d07,_0x28088c=_0x3cf2c9[_0x2d97bd(0xcb)](_0x514975=>_0x514975[_0x2d97bd(0xd6)]===_0x498cef&&_0x514975[_0x2d97bd(0xb7)][_0x2d97bd(0xb3)]>0x0&&_0x514975[_0x2d97bd(0xb7)][0x0][_0x2d97bd(0xbf)][_0x2d97bd(0xd3)]()===_0x5d7ea5);_0x28088c[_0x2d97bd(0xb3)]&&(_0x30d48d[_0x2d97bd(0xc0)](),_0x1d3023(_0x28088c[0x0][_0x2d97bd(0xb7)][0x0]));});_0x30d48d[_0x112d07(0xc9)](_0x498cef,{'childList':!0x0,'subtree':!0x0});}[_0x6e4d53(0xd5)](_0x1fe15b){const _0x1ec1db=_0x6e4d53;_0x1fe15b[_0x1ec1db(0xe2)](_0x1ec1db(0xb0),_0x2cccbf=>{const _0x9d7400=_0x1ec1db;this[_0x9d7400(0xdd)](_0x9d7400(0xb0),{'imageSrc':_0x2cccbf[_0x9d7400(0xbe)][_0x9d7400(0xe1)]});}),_0x1fe15b[_0x1ec1db(0xe2)](_0x1ec1db(0xd8),()=>{const _0x443fd3=_0x1ec1db;this[_0x443fd3(0xdd)](_0x443fd3(0xd8));});}[_0x6e4d53(0xb5)](){const _0x3db7a0=_0x6e4d53;this[_0x3db7a0(0xcf)]['on'](_0x3db7a0(0xc1),()=>{const _0x598281=_0x3db7a0;this[_0x598281(0xdd)](_0x598281(0xc1));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c5dd0=_0x5010;(function(_0x17195b,_0x3794a0){const _0x3e94ac=_0x5010,_0x211e0a=_0x17195b();while(!![]){try{const _0x277c60=-parseInt(_0x3e94ac(0x193))/0x1*(parseInt(_0x3e94ac(0x197))/0x2)+-parseInt(_0x3e94ac(0x196))/0x3+parseInt(_0x3e94ac(0x1a4))/0x4*(parseInt(_0x3e94ac(0x19f))/0x5)+parseInt(_0x3e94ac(0x18e))/0x6*(-parseInt(_0x3e94ac(0x187))/0x7)+-parseInt(_0x3e94ac(0x19c))/0x8*(-parseInt(_0x3e94ac(0x1a2))/0x9)+-parseInt(_0x3e94ac(0x195))/0xa*(parseInt(_0x3e94ac(0x198))/0xb)+-parseInt(_0x3e94ac(0x185))/0xc*(-parseInt(_0x3e94ac(0x1a6))/0xd);if(_0x277c60===_0x3794a0)break;else _0x211e0a['push'](_0x211e0a['shift']());}catch(_0x196fce){_0x211e0a['push'](_0x211e0a['shift']());}}}(_0x11c8,0x1f4f0));import{Command as _0x4f127b}from'ckeditor5/src/core.js';import{Dialog as _0x3913df}from'ckeditor5/src/ui.js';import _0x502888 from'./ui/uploadcareimageeditcontroller.js';function _0x5010(_0x5f3ccd,_0x28a312){const _0x11c866=_0x11c8();return _0x5010=function(_0x5010e9,_0x1312b0){_0x5010e9=_0x5010e9-0x185;let _0x2ac335=_0x11c866[_0x5010e9];return _0x2ac335;},_0x5010(_0x5f3ccd,_0x28a312);}function _0x11c8(){const _0x76c291=['217YRZSdj','editor','execute','imageInline','imageBlock','uploadcare.allowExternalImagesEditing','bind','30930mrgmSl','refresh','plugins','set','_isEditable','1aSjAGY','imageEditController','10HxFCcI','597486aQtzgD','485540duPrdK','976349agSpDA','isActive','model','requires','8kXGtOR','config','isEnabled','683255AHUUMx','document','element','455283lhMdgd','get','4TjenYd','selection','8209474Rtefvc','getSelectedElement','12SPhLFo','unbind'];_0x11c8=function(){return _0x76c291;};return _0x11c8();}import{createEditabilityChecker as _0x294218}from'../utils/editingutils.js';export default class J extends _0x4f127b{[_0x4c5dd0(0x194)];static get[_0x4c5dd0(0x19b)](){return[_0x3913df];}[_0x4c5dd0(0x192)];constructor(_0x1d8efb){const _0x2e8956=_0x4c5dd0;super(_0x1d8efb),this[_0x2e8956(0x194)]=void 0x0,this[_0x2e8956(0x192)]=_0x294218(_0x1d8efb[_0x2e8956(0x19d)][_0x2e8956(0x1a3)](_0x2e8956(0x18c))||[]),this[_0x2e8956(0x191)]({'isActive':!0x1});}[_0x4c5dd0(0x18f)](){const _0x48301b=_0x4c5dd0,_0x4d30f8=this[_0x48301b(0x188)][_0x48301b(0x19a)][_0x48301b(0x1a0)][_0x48301b(0x1a5)][_0x48301b(0x1a7)]();this[_0x48301b(0x19e)]=this[_0x48301b(0x192)](_0x4d30f8);}[_0x4c5dd0(0x189)](){const _0x57c13d=_0x4c5dd0;this[_0x57c13d(0x194)]&&(this[_0x57c13d(0x186)](_0x57c13d(0x199)),this[_0x57c13d(0x194)]=void 0x0);const _0x50fa43=this[_0x57c13d(0x188)][_0x57c13d(0x19a)][_0x57c13d(0x1a0)][_0x57c13d(0x1a5)][_0x57c13d(0x1a7)]();_0x50fa43&&(_0x50fa43['is'](_0x57c13d(0x1a1),_0x57c13d(0x18b))||_0x50fa43['is'](_0x57c13d(0x1a1),_0x57c13d(0x18a)))&&(this[_0x57c13d(0x194)]=new _0x502888(this[_0x57c13d(0x188)],this[_0x57c13d(0x188)][_0x57c13d(0x190)][_0x57c13d(0x1a3)](_0x3913df),_0x50fa43),this[_0x57c13d(0x18d)](_0x57c13d(0x199))['to'](this[_0x57c13d(0x194)],_0x57c13d(0x199)));}}
23
+ const _0x50fc59=_0x5426;(function(_0x4b17e8,_0x971b6c){const _0x520213=_0x5426,_0x151091=_0x4b17e8();while(!![]){try{const _0x174fd8=parseInt(_0x520213(0x66))/0x1+parseInt(_0x520213(0x81))/0x2+parseInt(_0x520213(0x6a))/0x3*(parseInt(_0x520213(0x67))/0x4)+-parseInt(_0x520213(0x7e))/0x5+parseInt(_0x520213(0x6e))/0x6+parseInt(_0x520213(0x76))/0x7+-parseInt(_0x520213(0x72))/0x8;if(_0x174fd8===_0x971b6c)break;else _0x151091['push'](_0x151091['shift']());}catch(_0x3b55fd){_0x151091['push'](_0x151091['shift']());}}}(_0x826f,0x6f5a1));function _0x826f(){const _0x5c896f=['_isEditable','selection','getSelectedElement','set','imageInline','2052955wSguoh','editor','imageBlock','1541676tLXIjE','get','model','720970ivDkKt','8ZubvAs','bind','plugins','1335858divTry','requires','imageEditController','uploadcare.allowExternalImagesEditing','1110066XjGDYd','isActive','execute','element','17358304orInvS','document','config','unbind','3283595SjGWmU','isEnabled','refresh'];_0x826f=function(){return _0x5c896f;};return _0x826f();}import{Command as _0x4c8b0f}from'ckeditor5/src/core.js';import{Dialog as _0x188196}from'ckeditor5/src/ui.js';import _0x155fc6 from'./ui/uploadcareimageeditcontroller.js';function _0x5426(_0x41ab63,_0x416476){const _0x826fc7=_0x826f();return _0x5426=function(_0x54266a,_0x35ceee){_0x54266a=_0x54266a-0x65;let _0x3a371e=_0x826fc7[_0x54266a];return _0x3a371e;},_0x5426(_0x41ab63,_0x416476);}import{createEditabilityChecker as _0x3f7825}from'../utils/editingutils.js';export default class J extends _0x4c8b0f{[_0x50fc59(0x6c)];static get[_0x50fc59(0x6b)](){return[_0x188196];}[_0x50fc59(0x79)];constructor(_0x311b54){const _0x149e97=_0x50fc59;super(_0x311b54),this[_0x149e97(0x6c)]=void 0x0,this[_0x149e97(0x79)]=_0x3f7825(_0x311b54[_0x149e97(0x74)][_0x149e97(0x82)](_0x149e97(0x6d))||[]),this[_0x149e97(0x7c)]({'isActive':!0x1});}[_0x50fc59(0x78)](){const _0x8e2a04=_0x50fc59,_0x3764e0=this[_0x8e2a04(0x7f)][_0x8e2a04(0x65)][_0x8e2a04(0x73)][_0x8e2a04(0x7a)][_0x8e2a04(0x7b)]();this[_0x8e2a04(0x77)]=this[_0x8e2a04(0x79)](_0x3764e0);}[_0x50fc59(0x70)](){const _0x5249ee=_0x50fc59;this[_0x5249ee(0x6c)]&&(this[_0x5249ee(0x75)](_0x5249ee(0x6f)),this[_0x5249ee(0x6c)]=void 0x0);const _0x1e130a=this[_0x5249ee(0x7f)][_0x5249ee(0x65)][_0x5249ee(0x73)][_0x5249ee(0x7a)][_0x5249ee(0x7b)]();_0x1e130a&&(_0x1e130a['is'](_0x5249ee(0x71),_0x5249ee(0x80))||_0x1e130a['is'](_0x5249ee(0x71),_0x5249ee(0x7d)))&&(this[_0x5249ee(0x6c)]=new _0x155fc6(this[_0x5249ee(0x7f)],this[_0x5249ee(0x7f)][_0x5249ee(0x69)][_0x5249ee(0x82)](_0x188196),_0x1e130a),this[_0x5249ee(0x68)](_0x5249ee(0x6f))['to'](this[_0x5249ee(0x6c)],_0x5249ee(0x6f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x587482=_0x4830;(function(_0x467c8a,_0x3bcaf6){const _0x2fff7e=_0x4830,_0x21b24f=_0x467c8a();while(!![]){try{const _0x4f6c41=parseInt(_0x2fff7e(0x1ff))/0x1+-parseInt(_0x2fff7e(0x1fb))/0x2+parseInt(_0x2fff7e(0x1f4))/0x3*(-parseInt(_0x2fff7e(0x1f1))/0x4)+parseInt(_0x2fff7e(0x1fe))/0x5+-parseInt(_0x2fff7e(0x1f2))/0x6*(parseInt(_0x2fff7e(0x201))/0x7)+parseInt(_0x2fff7e(0x200))/0x8+parseInt(_0x2fff7e(0x1fc))/0x9*(-parseInt(_0x2fff7e(0x1f3))/0xa);if(_0x4f6c41===_0x3bcaf6)break;else _0x21b24f['push'](_0x21b24f['shift']());}catch(_0x42a61c){_0x21b24f['push'](_0x21b24f['shift']());}}}(_0x1dd5,0x43e56));import{Plugin as _0x52fc34}from'ckeditor5/src/core.js';import{Notification as _0x1cf59f}from'ckeditor5/src/ui.js';import _0x2e261c from'./uploadcareimageeditcommand.js';import _0x186a3a from'./uploadcareimagereplacecommand.js';function _0x4830(_0x160083,_0x2bb667){const _0x1dd596=_0x1dd5();return _0x4830=function(_0x48309e,_0x165135){_0x48309e=_0x48309e-0x1ef;let _0x1b6168=_0x1dd596[_0x48309e];return _0x1b6168;},_0x4830(_0x160083,_0x2bb667);}import _0x24d8c8 from'../uploadcareediting.js';export default class g extends _0x52fc34{static get[_0x587482(0x1ef)](){const _0x488f3a=_0x587482;return _0x488f3a(0x1f5);}static get[_0x587482(0x1fa)](){const _0x38d93c=_0x587482;return[_0x24d8c8,_0x1cf59f,_0x38d93c(0x202),_0x38d93c(0x1f7)];}static get[_0x587482(0x1f9)](){return!0x0;}static get[_0x587482(0x1f6)](){return!0x0;}[_0x587482(0x1f8)](){const _0x141418=_0x587482,{editor:_0x37677a}=this;_0x37677a[_0x141418(0x1f0)][_0x141418(0x1fd)](_0x141418(0x204),new _0x2e261c(_0x37677a)),_0x37677a[_0x141418(0x1f0)][_0x141418(0x1fd)](_0x141418(0x203),new _0x186a3a(_0x37677a));}}function _0x1dd5(){const _0x4e9ee2=['203430VjXyOM','305796JkvgDJ','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','init','isOfficialPlugin','requires','7098wQGgWD','153NBEoTn','add','1926450anPrHZ','67539Uitcnf','4333488bpitRH','21TvCsdT','ImageUtils','uploadcareImageReplace','uploadcareImageEdit','pluginName','commands','4oltlMA','530202WdSAHi'];_0x1dd5=function(){return _0x4e9ee2;};return _0x1dd5();}
23
+ const _0x27dfed=_0x24a4;(function(_0x2d4211,_0x21d0e8){const _0x41945d=_0x24a4,_0x2b4613=_0x2d4211();while(!![]){try{const _0x13d554=parseInt(_0x41945d(0x169))/0x1+parseInt(_0x41945d(0x16a))/0x2+-parseInt(_0x41945d(0x162))/0x3*(-parseInt(_0x41945d(0x164))/0x4)+-parseInt(_0x41945d(0x176))/0x5+parseInt(_0x41945d(0x163))/0x6*(-parseInt(_0x41945d(0x175))/0x7)+-parseInt(_0x41945d(0x166))/0x8+parseInt(_0x41945d(0x173))/0x9;if(_0x13d554===_0x21d0e8)break;else _0x2b4613['push'](_0x2b4613['shift']());}catch(_0x319749){_0x2b4613['push'](_0x2b4613['shift']());}}}(_0x533c,0x6d25b));import{Plugin as _0x477646}from'ckeditor5/src/core.js';import{Notification as _0x8dd80b}from'ckeditor5/src/ui.js';function _0x24a4(_0x546a6e,_0x265bdf){const _0x533cbf=_0x533c();return _0x24a4=function(_0x24a40c,_0x3eabdf){_0x24a40c=_0x24a40c-0x162;let _0x280348=_0x533cbf[_0x24a40c];return _0x280348;},_0x24a4(_0x546a6e,_0x265bdf);}import _0x48dec1 from'./uploadcareimageeditcommand.js';import _0x37daf7 from'./uploadcareimagereplacecommand.js';function _0x533c(){const _0x1bee8c=['3LGcMUD','4707462CUKbeA','1975224zOCWwi','isOfficialPlugin','3308400AouEZv','commands','requires','273213tfLkIv','163546yYqRLY','uploadcareImageReplace','isPremiumPlugin','pluginName','ImageEditing','UploadcareImageEditEditing','add','init','ImageUtils','11813040wnvRES','uploadcareImageEdit','7zRvjgr','2580790VfjYVA'];_0x533c=function(){return _0x1bee8c;};return _0x533c();}import _0x5e95ee from'../uploadcareediting.js';export default class g extends _0x477646{static get[_0x27dfed(0x16d)](){const _0x2c8e41=_0x27dfed;return _0x2c8e41(0x16f);}static get[_0x27dfed(0x168)](){const _0x26f458=_0x27dfed;return[_0x5e95ee,_0x8dd80b,_0x26f458(0x172),_0x26f458(0x16e)];}static get[_0x27dfed(0x165)](){return!0x0;}static get[_0x27dfed(0x16c)](){return!0x0;}[_0x27dfed(0x171)](){const _0x55d010=_0x27dfed,{editor:_0x4d6f08}=this;_0x4d6f08[_0x55d010(0x167)][_0x55d010(0x170)](_0x55d010(0x174),new _0x48dec1(_0x4d6f08)),_0x4d6f08[_0x55d010(0x167)][_0x55d010(0x170)](_0x55d010(0x16b),new _0x37daf7(_0x4d6f08));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x35b742}from'ckeditor5/src/core.js';import{ButtonView as _0x2921a5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x16b7b1}from'ckeditor5/src/icons.js';import{createElement as _0x5b6a9f}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 _0x35b742{['_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 _0x108485=this['editor'];_0x108485['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b9965=>{const _0x1aeae6=_0x108485['commands']['get']('uploadcareImageEdit'),_0x1285c2=new _0x2921a5(_0x3b9965),t=_0x3b9965['t'];return _0x1285c2['set']({'icon':_0x16b7b1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1285c2['bind']('isEnabled')['to'](_0x1aeae6),_0x1285c2['bind']('isOn')['to'](_0x1aeae6,'isActive'),this['listenTo'](_0x1285c2,'execute',()=>{_0x108485['execute']('uploadcareImageEdit'),_0x108485['editing']['view']['focus']();}),_0x1285c2;}),this['_initConfig']();}['_initConfig'](){const _0x245e14=_0x5b6a9f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x245e14),this['listenTo'](this['editor'],'destroy',()=>{_0x245e14['remove']();});}}
23
+ import{Plugin as _0x1bf3ea}from'ckeditor5/src/core.js';import{ButtonView as _0xa0952c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4721aa}from'ckeditor5/src/icons.js';import{createElement as _0x5ba647}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 _0x1bf3ea{['_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 _0x277250=this['editor'];_0x277250['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f21af=>{const _0x3908ff=_0x277250['commands']['get']('uploadcareImageEdit'),_0x4a7033=new _0xa0952c(_0x2f21af),t=_0x2f21af['t'];return _0x4a7033['set']({'icon':_0x4721aa,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a7033['bind']('isEnabled')['to'](_0x3908ff),_0x4a7033['bind']('isOn')['to'](_0x3908ff,'isActive'),this['listenTo'](_0x4a7033,'execute',()=>{_0x277250['execute']('uploadcareImageEdit'),_0x277250['editing']['view']['focus']();}),_0x4a7033;}),this['_initConfig']();}['_initConfig'](){const _0x395058=_0x5ba647(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x395058),this['listenTo'](this['editor'],'destroy',()=>{_0x395058['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d7a19=_0x3b4f;(function(_0x4bf1ce,_0x30ac56){const _0x4e8512=_0x3b4f,_0x3f1b29=_0x4bf1ce();while(!![]){try{const _0x8c8d9=parseInt(_0x4e8512(0xd8))/0x1*(-parseInt(_0x4e8512(0xd2))/0x2)+-parseInt(_0x4e8512(0xdd))/0x3+-parseInt(_0x4e8512(0xda))/0x4*(-parseInt(_0x4e8512(0xe3))/0x5)+-parseInt(_0x4e8512(0xe0))/0x6*(parseInt(_0x4e8512(0xde))/0x7)+-parseInt(_0x4e8512(0xe6))/0x8+-parseInt(_0x4e8512(0xd3))/0x9*(parseInt(_0x4e8512(0xe9))/0xa)+parseInt(_0x4e8512(0xea))/0xb*(parseInt(_0x4e8512(0xdf))/0xc);if(_0x8c8d9===_0x30ac56)break;else _0x3f1b29['push'](_0x3f1b29['shift']());}catch(_0x486ca0){_0x3f1b29['push'](_0x3f1b29['shift']());}}}(_0xab64,0x6704e));function _0xab64(){const _0x2575ec=['952259PmfcnE','setAttributes','removeAttribute','imageBlock','128822HnDPXq','315aLAZbH','document','element','sizes','change','1anGsBS','selection','380sIjkAI','getSelectedElement','imageInline','2149392GNOqfO','1601453aUtWBy','264wvcAcJ','18xJfOQe','isEnabled','execute','26330PqhZPh','editor','refresh','2047840CNZczo','model','srcset','74180Pxdfrw'];_0xab64=function(){return _0x2575ec;};return _0xab64();}import{Command as _0x4f5319}from'ckeditor5/src/core.js';function _0x3b4f(_0x372d4a,_0x411cd9){const _0xab6446=_0xab64();return _0x3b4f=function(_0x3b4f17,_0x144cc5){_0x3b4f17=_0x3b4f17-0xd0;let _0x1c0a4f=_0xab6446[_0x3b4f17];return _0x1c0a4f;},_0x3b4f(_0x372d4a,_0x411cd9);}export default class O extends _0x4f5319{[_0x1d7a19(0xe5)](){const _0x29fa8f=_0x1d7a19,_0x3570f3=this[_0x29fa8f(0xe4)][_0x29fa8f(0xe7)][_0x29fa8f(0xd4)][_0x29fa8f(0xd9)][_0x29fa8f(0xdb)]();this[_0x29fa8f(0xe1)]=Boolean(_0x3570f3&&(_0x3570f3['is'](_0x29fa8f(0xd5),_0x29fa8f(0xd1))||_0x3570f3['is'](_0x29fa8f(0xd5),_0x29fa8f(0xdc))));}[_0x1d7a19(0xe2)](_0x19f923){const _0x3aef8c=_0x1d7a19,_0x189fb0=this[_0x3aef8c(0xe4)][_0x3aef8c(0xe7)][_0x3aef8c(0xd4)][_0x3aef8c(0xd9)][_0x3aef8c(0xdb)]();this[_0x3aef8c(0xe4)][_0x3aef8c(0xe7)][_0x3aef8c(0xd7)](_0x4c671f=>{const _0x692f7c=_0x3aef8c;_0x4c671f[_0x692f7c(0xeb)](_0x19f923,_0x189fb0),_0x4c671f[_0x692f7c(0xd0)](_0x692f7c(0xe8),_0x189fb0),_0x4c671f[_0x692f7c(0xd0)](_0x692f7c(0xd6),_0x189fb0);});}}
23
+ const _0x12d9d0=_0x1174;function _0x1174(_0x263414,_0xc583a6){const _0x5209ae=_0x5209();return _0x1174=function(_0x1174c6,_0x490a89){_0x1174c6=_0x1174c6-0x1b6;let _0x51f327=_0x5209ae[_0x1174c6];return _0x51f327;},_0x1174(_0x263414,_0xc583a6);}(function(_0x43c7d2,_0x48988c){const _0x8f5114=_0x1174,_0x1a2200=_0x43c7d2();while(!![]){try{const _0x16602c=-parseInt(_0x8f5114(0x1cc))/0x1*(-parseInt(_0x8f5114(0x1c3))/0x2)+-parseInt(_0x8f5114(0x1c7))/0x3+-parseInt(_0x8f5114(0x1c1))/0x4+-parseInt(_0x8f5114(0x1be))/0x5*(-parseInt(_0x8f5114(0x1c6))/0x6)+parseInt(_0x8f5114(0x1c9))/0x7+-parseInt(_0x8f5114(0x1b9))/0x8+-parseInt(_0x8f5114(0x1bb))/0x9;if(_0x16602c===_0x48988c)break;else _0x1a2200['push'](_0x1a2200['shift']());}catch(_0x3c3d4b){_0x1a2200['push'](_0x1a2200['shift']());}}}(_0x5209,0x271e3));import{Command as _0x1b963e}from'ckeditor5/src/core.js';function _0x5209(){const _0x1c57f3=['model','1448037BMFTjQ','element','isEnabled','126520fzIrqe','getSelectedElement','removeAttribute','376560zAypfF','imageInline','2oYRvbk','execute','document','6fmkqvM','113151UAhmfU','srcset','1936347dwTjir','imageBlock','selection','236829oXEjmj','editor','setAttributes','sizes','refresh','change','686216JawNGN'];_0x5209=function(){return _0x1c57f3;};return _0x5209();}export default class O extends _0x1b963e{[_0x12d9d0(0x1b7)](){const _0x13bea=_0x12d9d0,_0x2fa0be=this[_0x13bea(0x1cd)][_0x13bea(0x1ba)][_0x13bea(0x1c5)][_0x13bea(0x1cb)][_0x13bea(0x1bf)]();this[_0x13bea(0x1bd)]=Boolean(_0x2fa0be&&(_0x2fa0be['is'](_0x13bea(0x1bc),_0x13bea(0x1ca))||_0x2fa0be['is'](_0x13bea(0x1bc),_0x13bea(0x1c2))));}[_0x12d9d0(0x1c4)](_0x2c50b7){const _0x459618=_0x12d9d0,_0xed7fdc=this[_0x459618(0x1cd)][_0x459618(0x1ba)][_0x459618(0x1c5)][_0x459618(0x1cb)][_0x459618(0x1bf)]();this[_0x459618(0x1cd)][_0x459618(0x1ba)][_0x459618(0x1b8)](_0x2f8c8e=>{const _0x5b73bd=_0x459618;_0x2f8c8e[_0x5b73bd(0x1ce)](_0x2c50b7,_0xed7fdc),_0x2f8c8e[_0x5b73bd(0x1c0)](_0x5b73bd(0x1c8),_0xed7fdc),_0x2f8c8e[_0x5b73bd(0x1c0)](_0x5b73bd(0x1b6),_0xed7fdc);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46c615=_0x855a;(function(_0x53f709,_0x552984){var _0x42f239=_0x855a,_0x435e64=_0x53f709();while(!![]){try{var _0xd67c81=-parseInt(_0x42f239(0x108))/0x1+parseInt(_0x42f239(0xff))/0x2*(parseInt(_0x42f239(0x103))/0x3)+-parseInt(_0x42f239(0xfb))/0x4+-parseInt(_0x42f239(0x105))/0x5+-parseInt(_0x42f239(0x102))/0x6+parseInt(_0x42f239(0x109))/0x7*(parseInt(_0x42f239(0x106))/0x8)+-parseInt(_0x42f239(0x104))/0x9*(-parseInt(_0x42f239(0xfc))/0xa);if(_0xd67c81===_0x552984)break;else _0x435e64['push'](_0x435e64['shift']());}catch(_0x8a5372){_0x435e64['push'](_0x435e64['shift']());}}}(_0x276d,0x7a17b));import{Plugin as _0x50ab78}from'ckeditor5/src/core.js';function _0x276d(){var _0x414332=['565550SklPeF','6588449qVsCsI','3913976BwgUBa','50aVIyiZ','requires','isOfficialPlugin','1592NlkDAN','pluginName','UploadcareImageEdit','3185922mxYlLy','2193jGLZlD','2824677aSlfJH','2586130tWVzUD','8uqywuh','isPremiumPlugin'];_0x276d=function(){return _0x414332;};return _0x276d();}import _0x43c3b1 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1de219 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x855a(_0x121b9a,_0x607cc6){var _0x276dbc=_0x276d();return _0x855a=function(_0x855ad3,_0x5258a7){_0x855ad3=_0x855ad3-0xfb;var _0x2fe052=_0x276dbc[_0x855ad3];return _0x2fe052;},_0x855a(_0x121b9a,_0x607cc6);}export default class P extends _0x50ab78{static get[_0x46c615(0x100)](){var _0x1f3353=_0x46c615;return _0x1f3353(0x101);}static get[_0x46c615(0xfd)](){return[_0x43c3b1,_0x1de219];}static get[_0x46c615(0xfe)](){return!0x0;}static get[_0x46c615(0x107)](){return!0x0;}}
23
+ var _0x92ccbd=_0x3c84;(function(_0x21575a,_0x354dc7){var _0x252f4a=_0x3c84,_0x5c81e0=_0x21575a();while(!![]){try{var _0x5ac2da=-parseInt(_0x252f4a(0x191))/0x1*(-parseInt(_0x252f4a(0x193))/0x2)+-parseInt(_0x252f4a(0x190))/0x3*(parseInt(_0x252f4a(0x18a))/0x4)+parseInt(_0x252f4a(0x18f))/0x5*(parseInt(_0x252f4a(0x18b))/0x6)+parseInt(_0x252f4a(0x194))/0x7*(parseInt(_0x252f4a(0x18d))/0x8)+-parseInt(_0x252f4a(0x187))/0x9+-parseInt(_0x252f4a(0x188))/0xa+-parseInt(_0x252f4a(0x18c))/0xb*(-parseInt(_0x252f4a(0x189))/0xc);if(_0x5ac2da===_0x354dc7)break;else _0x5c81e0['push'](_0x5c81e0['shift']());}catch(_0xb59289){_0x5c81e0['push'](_0x5c81e0['shift']());}}}(_0x7a95,0x2c2e7));function _0x3c84(_0x42614f,_0x3f50aa){var _0x7a95b2=_0x7a95();return _0x3c84=function(_0x3c8498,_0x11fc93){_0x3c8498=_0x3c8498-0x186;var _0x56519c=_0x7a95b2[_0x3c8498];return _0x56519c;},_0x3c84(_0x42614f,_0x3f50aa);}function _0x7a95(){var _0xddb068=['isOfficialPlugin','2750256GADccg','2990940qryUgD','12VCsiiU','783080cVhimL','6XtsZxI','6602233MQnRYb','8WZVUyf','requires','579890HEHCUU','3VTDJSb','1RZwqwh','UploadcareImageEdit','494906KHSLsf','124467aROzOW','isPremiumPlugin','pluginName'];_0x7a95=function(){return _0xddb068;};return _0x7a95();}import{Plugin as _0x5a70a0}from'ckeditor5/src/core.js';import _0x1b9d86 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x16e3f6 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5a70a0{static get[_0x92ccbd(0x196)](){var _0x4e77af=_0x92ccbd;return _0x4e77af(0x192);}static get[_0x92ccbd(0x18e)](){return[_0x1b9d86,_0x16e3f6];}static get[_0x92ccbd(0x186)](){return!0x0;}static get[_0x92ccbd(0x195)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x114625=_0x1cf2;function _0x1cf2(_0x53a50b,_0x3ba569){const _0x1139cd=_0x1139();return _0x1cf2=function(_0x1cf219,_0x3ca85d){_0x1cf219=_0x1cf219-0x74;let _0x4d69b9=_0x1139cd[_0x1cf219];return _0x4d69b9;},_0x1cf2(_0x53a50b,_0x3ba569);}(function(_0x31193e,_0x3515d9){const _0x320899=_0x1cf2,_0x1bacfd=_0x31193e();while(!![]){try{const _0x23e278=-parseInt(_0x320899(0xb7))/0x1+-parseInt(_0x320899(0x91))/0x2*(parseInt(_0x320899(0xaf))/0x3)+parseInt(_0x320899(0x8b))/0x4+parseInt(_0x320899(0x76))/0x5+-parseInt(_0x320899(0xbe))/0x6+-parseInt(_0x320899(0x99))/0x7+parseInt(_0x320899(0xc2))/0x8;if(_0x23e278===_0x3515d9)break;else _0x1bacfd['push'](_0x1bacfd['shift']());}catch(_0x120ab2){_0x1bacfd['push'](_0x1bacfd['shift']());}}}(_0x1139,0xde06a));import{Plugin as _0x5cd81c}from'ckeditor5/src/core.js';import{IconDropbox as _0x14aa7f,IconFacebook as _0x3323a6,IconGoogleDrive as _0x5d2de3,IconGooglePhotos as _0x247f5b,IconUploadcareImageUpload as _0x1b2ed0,IconUploadcareLink as _0x52eebe,IconOneDrive as _0x275955}from'ckeditor5/src/icons.js';import{ButtonView as _0x315de0,MenuBarMenuListItemButtonView as _0x514923}from'ckeditor5/src/ui.js';function _0x1139(){const _0x567353=['withText','_createToolbarButton','URL','icon','1157232KDgyfy','type','init','destroy','_showLicenseError','afterInit','bind','Dropbox','1232707lvITjF','entries','map','domainLimit','has','Facebook','pluginName','8644542aGiqSU','label','GPhotos','uploadcareLicenseKeyExpired','27424760AqUGzW','uploadcareLicenseKeyDomainLimit','ImageInsertUI','2807725wSaprU','uploadcare','licenseKey','text','_licenseKeyCheckInterval','GDrive','forEach','trialLimit','Local','isPremiumPlugin','reduce','shortText','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','Uploadcare','expired','uploadcareLicenseKeyTrialLimit','push','url','2479092sDuAwL','upload','plugins','assetManager','_createDropdownButtons','commands','4pHRaZg','_createMenuBarButtons','usageLimit','uploadcareLicenseKeyNotAllowed','Insert','locale','config','invalid','1785301UNmkqU','_normalizeConfigSourceList','uploadcareLicenseKeyUsageLimit','OneDrive','uploadcare.uploader.sourceList','featureNotAllowed','isImageSelected','UploadcareUI','_createButton','isOfficialPlugin','editor','execute','isEnabled','get','Replace','tooltip','registerIntegration','uploadcareLicenseKeyValid'];_0x1139=function(){return _0x567353;};return _0x1139();}import{UploadcareSource as _0x91d9ce}from'./uploadcareconfig.js';import{getTranslation as _0x50f13e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5cd81c{[_0x114625(0x78)];[_0x114625(0x7a)];static get[_0x114625(0xbd)](){const _0x156ebc=_0x114625;return _0x156ebc(0xa0);}static get[_0x114625(0xa2)](){return!0x0;}static get[_0x114625(0x7f)](){return!0x0;}[_0x114625(0xb1)](){const _0x3fe1f3=_0x114625;this[_0x3fe1f3(0x78)]=this[_0x3fe1f3(0xa3)][_0x3fe1f3(0x97)][_0x3fe1f3(0xa6)](_0x3fe1f3(0x78));const _0x5ce43c=this[_0x3fe1f3(0xa3)];this[_0x3fe1f3(0x7a)]=setInterval(()=>{const _0xe0cac9=_0x3fe1f3;let _0x485b26;for(const _0x1793a6 in _0x5ce43c){const _0x4de592=_0x1793a6,_0x583b60=_0x5ce43c[_0x4de592];if(_0xe0cac9(0xaa)==_0x583b60||_0xe0cac9(0x83)==_0x583b60||_0xe0cac9(0xc1)==_0x583b60||_0xe0cac9(0x74)==_0x583b60||_0xe0cac9(0x94)==_0x583b60||_0xe0cac9(0x84)==_0x583b60||_0xe0cac9(0x88)==_0x583b60||_0xe0cac9(0x9b)==_0x583b60){delete _0x5ce43c[_0x4de592],_0x485b26=_0x583b60,clearInterval(this[_0xe0cac9(0x7a)]),this[_0xe0cac9(0x7a)]=void 0x0;break;}}_0xe0cac9(0x83)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x98)),_0xe0cac9(0xc1)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x87)),_0xe0cac9(0x74)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0xba)),_0xe0cac9(0x94)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x9e),_0xe0cac9(0x86)),_0xe0cac9(0x84)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x85)),_0xe0cac9(0x88)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x7d)),_0xe0cac9(0x9b)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x93));},0x3e8);}[_0x114625(0xb4)](){const _0x20e31b=_0x114625,{editor:_0x2c664d}=this,_0x3a799e=_0x2c664d[_0x20e31b(0x90)][_0x20e31b(0xa6)](_0x20e31b(0x77));if(!_0x3a799e)return;const _0x3cb2a9=this[_0x20e31b(0x9a)](_0x2c664d[_0x20e31b(0x97)][_0x20e31b(0xa6)](_0x20e31b(0x9d)))[_0x20e31b(0x80)]((_0x12ee90,_0x364271)=>{const _0x57980b=_0x20e31b,_0x3205e8=this[_0x57980b(0x82)](_0x364271[_0x57980b(0xb0)]);return _0x12ee90[_0x3205e8]||(_0x12ee90[_0x3205e8]=[]),_0x12ee90[_0x3205e8][_0x57980b(0x89)](_0x364271),_0x12ee90;},{});_0x2c664d[_0x20e31b(0x8d)][_0x20e31b(0xbb)](_0x20e31b(0x75))&&_0x2c664d[_0x20e31b(0x90)][_0x20e31b(0xa6)](_0x20e31b(0x77))&&Object[_0x20e31b(0xb8)](_0x3cb2a9)[_0x20e31b(0x7c)](([_0x9c38bd,_0x45fcb2])=>{const _0x3007a2=_0x20e31b;_0x2c664d[_0x3007a2(0x8d)][_0x3007a2(0xa6)](_0x3007a2(0x75))[_0x3007a2(0xa9)]({'name':_0x9c38bd,'observable':()=>_0x3a799e,'buttonViewCreator':()=>this[_0x3007a2(0xac)](_0x45fcb2),'formViewCreator':()=>this[_0x3007a2(0x8f)](_0x45fcb2),'menuBarButtonViewCreator':()=>this[_0x3007a2(0x92)](_0x45fcb2),'override':_0x3007a2(0x8e)!==_0x9c38bd});});}[_0x114625(0xb2)](){const _0x5df3c9=_0x114625;super[_0x5df3c9(0xb2)](),this[_0x5df3c9(0x7a)]&&clearInterval(this[_0x5df3c9(0x7a)]);}[_0x114625(0x9a)](_0x1c8f5d){const _0x4d856d=_0x114625,{locale:_0x5387c7}=this[_0x4d856d(0xa3)];return _0x1c8f5d[_0x4d856d(0xb9)](_0x3260ec=>{const _0x406cbd=_0x4d856d,_0x33ee43=_0x50f13e(_0x5387c7,_0x3260ec,_0x406cbd(0x95));switch(_0x3260ec){case _0x91d9ce[_0x406cbd(0x7e)]:return{'icon':_0x1b2ed0,'type':_0x91d9ce[_0x406cbd(0x7e)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xad)]:return{'icon':_0x52eebe,'type':_0x91d9ce[_0x406cbd(0xad)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xb6)]:return{'icon':_0x14aa7f,'type':_0x91d9ce[_0x406cbd(0xb6)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xbc)]:return{'icon':_0x3323a6,'type':_0x91d9ce[_0x406cbd(0xbc)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0x7b)]:return{'icon':_0x5d2de3,'type':_0x91d9ce[_0x406cbd(0x7b)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xc0)]:return{'icon':_0x247f5b,'type':_0x91d9ce[_0x406cbd(0xc0)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0x9c)]:return{'icon':_0x275955,'type':_0x91d9ce[_0x406cbd(0x9c)],..._0x33ee43};}});}[_0x114625(0x82)](_0x2bfde3){const _0x48c220=_0x114625;switch(_0x2bfde3){case _0x91d9ce[_0x48c220(0x7e)]:return _0x48c220(0x8c);case _0x91d9ce[_0x48c220(0xad)]:return _0x48c220(0x8a);default:return _0x48c220(0x8e);}}[_0x114625(0xa1)](_0x2771c0,_0x5038d3){const _0x104d23=_0x114625,_0x3bf9e8=this[_0x104d23(0xa3)],_0x5e2308=new _0x2771c0(_0x3bf9e8[_0x104d23(0x96)]),_0x1aaa66=_0x3bf9e8[_0x104d23(0x90)][_0x104d23(0xa6)](_0x104d23(0x77));return _0x5e2308[_0x104d23(0xb5)](_0x104d23(0xa5))['to'](_0x1aaa66),_0x5e2308['on'](_0x104d23(0xa4),()=>{const _0x167dfd=_0x104d23;_0x1aaa66[_0x167dfd(0xa4)](_0x5038d3);}),_0x5e2308;}[_0x114625(0xac)](_0x26233e){const _0x176488=_0x114625,{locale:_0x7ab330}=this[_0x176488(0xa3)],_0x5e733e=this[_0x176488(0xa3)][_0x176488(0x8d)][_0x176488(0xa6)](_0x176488(0x75)),_0x389cb3=_0x26233e[0x0],_0x4377c0=this[_0x176488(0xa1)](_0x315de0,_0x389cb3[_0x176488(0xb0)]);return _0x4377c0[_0x176488(0xae)]=_0x389cb3[_0x176488(0xae)],_0x4377c0[_0x176488(0xb5)](_0x176488(0xbf))['to'](_0x5e733e,_0x176488(0x9f),_0x1f58e0=>_0x50f13e(_0x7ab330,_0x389cb3[_0x176488(0xb0)],_0x1f58e0?_0x176488(0xa7):_0x176488(0x95))[_0x176488(0x79)]),_0x4377c0[_0x176488(0xa8)]=!0x0,_0x4377c0;}[_0x114625(0x8f)](_0x1634a0){const _0x5d9ff8=_0x114625,{locale:_0x364413}=this[_0x5d9ff8(0xa3)],_0x2abeee=this[_0x5d9ff8(0xa3)][_0x5d9ff8(0x8d)][_0x5d9ff8(0xa6)](_0x5d9ff8(0x75));return _0x1634a0[_0x5d9ff8(0xb9)](_0x90d65c=>{const _0x47ab76=_0x5d9ff8,_0x3b0550=this[_0x47ab76(0xa1)](_0x315de0,_0x90d65c[_0x47ab76(0xb0)]);return _0x3b0550[_0x47ab76(0xab)]=!0x0,_0x3b0550[_0x47ab76(0xae)]=_0x90d65c[_0x47ab76(0xae)],_0x3b0550[_0x47ab76(0xb5)](_0x47ab76(0xbf))['to'](_0x2abeee,_0x47ab76(0x9f),_0x255e4d=>_0x50f13e(_0x364413,_0x90d65c[_0x47ab76(0xb0)],_0x255e4d?_0x47ab76(0xa7):_0x47ab76(0x95))[_0x47ab76(0x79)]),_0x3b0550;});}[_0x114625(0x92)](_0x185a36){const _0x5befce=_0x114625;return _0x185a36[_0x5befce(0xb9)](_0x407727=>{const _0x1d0edc=_0x5befce,_0x28b690=this[_0x1d0edc(0xa1)](_0x514923,_0x407727[_0x1d0edc(0xb0)]);return _0x28b690[_0x1d0edc(0xae)]=_0x407727[_0x1d0edc(0xae)],_0x28b690[_0x1d0edc(0xbf)]=_0x407727[_0x1d0edc(0x81)],_0x28b690;});}}
23
+ function _0x5c38(_0xa4fd9f,_0xda62b4){const _0x39acce=_0x39ac();return _0x5c38=function(_0x5c3897,_0x5189a4){_0x5c3897=_0x5c3897-0x10e;let _0xbe9a3d=_0x39acce[_0x5c3897];return _0xbe9a3d;},_0x5c38(_0xa4fd9f,_0xda62b4);}function _0x39ac(){const _0x102a7d=['isImageSelected','map','entries','reduce','init','trialLimit','withText','_createMenuBarButtons','assetManager','ImageInsertUI','push','_normalizeConfigSourceList','licenseKey','8sITivT','_createDropdownButtons','Uploadcare','Facebook','evaluationLimit','label','invalid','config','URL','uploadcareLicenseKeyTrialLimit','Replace','GDrive','forEach','pluginName','has','type','shortText','740397hnqzqn','uploadcareLicenseKeyUsageLimit','domainLimit','uploadcareLicenseKeyInvalid','isOfficialPlugin','409718phuwPr','uploadcareLicenseKeyValid','_getIntegrationKey','isEnabled','uploadcareLicenseKeyEvaluationLimit','6RFmMBM','icon','plugins','Local','uploadcare','Insert','_licenseKeyCheckInterval','Dropbox','_createButton','UploadcareUI','bind','get','627102bypIPB','uploadcareLicenseKeyExpired','url','OneDrive','text','isPremiumPlugin','destroy','2169RWwcfQ','uploadcareLicenseKeyNotAllowed','GPhotos','expired','uploadcare.uploader.sourceList','commands','20968iIJPle','4090ZKRLkV','_createToolbarButton','execute','registerIntegration','_showLicenseError','3484371IfsTmc','featureNotAllowed','editor','afterInit','uploadcareLicenseKeyDomainLimit','tooltip','1680jlFsaH','locale','1542315AprPqy','usageLimit','upload'];_0x39ac=function(){return _0x102a7d;};return _0x39ac();}const _0xb5f71c=_0x5c38;(function(_0xa6fd22,_0xc3cc50){const _0x16b4a6=_0x5c38,_0x2db53f=_0xa6fd22();while(!![]){try{const _0x51b1e5=parseInt(_0x16b4a6(0x11e))/0x1+-parseInt(_0x16b4a6(0x12f))/0x2+-parseInt(_0x16b4a6(0x119))/0x3*(parseInt(_0x16b4a6(0x15a))/0x4)+parseInt(_0x16b4a6(0x14a))/0x5*(parseInt(_0x16b4a6(0x123))/0x6)+-parseInt(_0x16b4a6(0x148))/0x7*(-parseInt(_0x16b4a6(0x13c))/0x8)+-parseInt(_0x16b4a6(0x136))/0x9*(-parseInt(_0x16b4a6(0x13d))/0xa)+-parseInt(_0x16b4a6(0x142))/0xb;if(_0x51b1e5===_0xc3cc50)break;else _0x2db53f['push'](_0x2db53f['shift']());}catch(_0x77ffd1){_0x2db53f['push'](_0x2db53f['shift']());}}}(_0x39ac,0x4e958));import{Plugin as _0x31ed9d}from'ckeditor5/src/core.js';import{IconDropbox as _0x2e41a8,IconFacebook as _0x54b63a,IconGoogleDrive as _0x3ce264,IconGooglePhotos as _0x5c599c,IconUploadcareImageUpload as _0x384f40,IconUploadcareLink as _0x2c5e33,IconOneDrive as _0x11ccc5}from'ckeditor5/src/icons.js';import{ButtonView as _0x36be13,MenuBarMenuListItemButtonView as _0x3b21c3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x33eef6}from'./uploadcareconfig.js';import{getTranslation as _0x32721b}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x31ed9d{[_0xb5f71c(0x159)];[_0xb5f71c(0x129)];static get[_0xb5f71c(0x115)](){const _0x56c730=_0xb5f71c;return _0x56c730(0x12c);}static get[_0xb5f71c(0x11d)](){return!0x0;}static get[_0xb5f71c(0x134)](){return!0x0;}[_0xb5f71c(0x151)](){const _0xbad09a=_0xb5f71c;this[_0xbad09a(0x159)]=this[_0xbad09a(0x144)][_0xbad09a(0x10f)][_0xbad09a(0x12e)](_0xbad09a(0x159));const _0x2908cc=this[_0xbad09a(0x144)];this[_0xbad09a(0x129)]=setInterval(()=>{const _0x53a8de=_0xbad09a;let _0xfeb3;for(const _0x1931e4 in _0x2908cc){const _0x1f940b=_0x1931e4,_0xc99c8=_0x2908cc[_0x1f940b];if(_0x53a8de(0x11f)==_0xc99c8||_0x53a8de(0x11c)==_0xc99c8||_0x53a8de(0x130)==_0xc99c8||_0x53a8de(0x146)==_0xc99c8||_0x53a8de(0x137)==_0xc99c8||_0x53a8de(0x122)==_0xc99c8||_0x53a8de(0x111)==_0xc99c8||_0x53a8de(0x11a)==_0xc99c8){delete _0x2908cc[_0x1f940b],_0xfeb3=_0xc99c8,clearInterval(this[_0x53a8de(0x129)]),this[_0x53a8de(0x129)]=void 0x0;break;}}_0x53a8de(0x11c)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x10e)),_0x53a8de(0x130)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x139)),_0x53a8de(0x146)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x11b)),_0x53a8de(0x137)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x143),_0x53a8de(0x15c)),_0x53a8de(0x122)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x15e)),_0x53a8de(0x111)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x152)),_0x53a8de(0x11a)==_0xfeb3&&_0x2908cc[_0x53a8de(0x141)](_0x53a8de(0x14b));},0x3e8);}[_0xb5f71c(0x145)](){const _0x123440=_0xb5f71c,{editor:_0x18ef72}=this,_0x204359=_0x18ef72[_0x123440(0x13b)][_0x123440(0x12e)](_0x123440(0x127));if(!_0x204359)return;const _0x171e7b=this[_0x123440(0x158)](_0x18ef72[_0x123440(0x10f)][_0x123440(0x12e)](_0x123440(0x13a)))[_0x123440(0x150)]((_0x26b092,_0x539b31)=>{const _0x37ce3e=_0x123440,_0x1078f0=this[_0x37ce3e(0x120)](_0x539b31[_0x37ce3e(0x117)]);return _0x26b092[_0x1078f0]||(_0x26b092[_0x1078f0]=[]),_0x26b092[_0x1078f0][_0x37ce3e(0x157)](_0x539b31),_0x26b092;},{});_0x18ef72[_0x123440(0x125)][_0x123440(0x116)](_0x123440(0x156))&&_0x18ef72[_0x123440(0x13b)][_0x123440(0x12e)](_0x123440(0x127))&&Object[_0x123440(0x14f)](_0x171e7b)[_0x123440(0x114)](([_0x5a947e,_0x2e04ac])=>{const _0x40a9ed=_0x123440;_0x18ef72[_0x40a9ed(0x125)][_0x40a9ed(0x12e)](_0x40a9ed(0x156))[_0x40a9ed(0x140)]({'name':_0x5a947e,'observable':()=>_0x204359,'buttonViewCreator':()=>this[_0x40a9ed(0x13e)](_0x2e04ac),'formViewCreator':()=>this[_0x40a9ed(0x15b)](_0x2e04ac),'menuBarButtonViewCreator':()=>this[_0x40a9ed(0x154)](_0x2e04ac),'override':_0x40a9ed(0x155)!==_0x5a947e});});}[_0xb5f71c(0x135)](){const _0x24e7fd=_0xb5f71c;super[_0x24e7fd(0x135)](),this[_0x24e7fd(0x129)]&&clearInterval(this[_0x24e7fd(0x129)]);}[_0xb5f71c(0x158)](_0x31ada2){const _0x1e8695=_0xb5f71c,{locale:_0x361338}=this[_0x1e8695(0x144)];return _0x31ada2[_0x1e8695(0x14e)](_0x25b8b1=>{const _0x45b2ef=_0x1e8695,_0x515dc8=_0x32721b(_0x361338,_0x25b8b1,_0x45b2ef(0x128));switch(_0x25b8b1){case _0x33eef6[_0x45b2ef(0x126)]:return{'icon':_0x384f40,'type':_0x33eef6[_0x45b2ef(0x126)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x110)]:return{'icon':_0x2c5e33,'type':_0x33eef6[_0x45b2ef(0x110)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x12a)]:return{'icon':_0x2e41a8,'type':_0x33eef6[_0x45b2ef(0x12a)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x15d)]:return{'icon':_0x54b63a,'type':_0x33eef6[_0x45b2ef(0x15d)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x113)]:return{'icon':_0x3ce264,'type':_0x33eef6[_0x45b2ef(0x113)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x138)]:return{'icon':_0x5c599c,'type':_0x33eef6[_0x45b2ef(0x138)],..._0x515dc8};case _0x33eef6[_0x45b2ef(0x132)]:return{'icon':_0x11ccc5,'type':_0x33eef6[_0x45b2ef(0x132)],..._0x515dc8};}});}[_0xb5f71c(0x120)](_0x458a28){const _0x265f3c=_0xb5f71c;switch(_0x458a28){case _0x33eef6[_0x265f3c(0x126)]:return _0x265f3c(0x14c);case _0x33eef6[_0x265f3c(0x110)]:return _0x265f3c(0x131);default:return _0x265f3c(0x155);}}[_0xb5f71c(0x12b)](_0x531aa2,_0x29a6cc){const _0x202f44=_0xb5f71c,_0x184f12=this[_0x202f44(0x144)],_0x2cef3c=new _0x531aa2(_0x184f12[_0x202f44(0x149)]),_0x4da36b=_0x184f12[_0x202f44(0x13b)][_0x202f44(0x12e)](_0x202f44(0x127));return _0x2cef3c[_0x202f44(0x12d)](_0x202f44(0x121))['to'](_0x4da36b),_0x2cef3c['on'](_0x202f44(0x13f),()=>{const _0x208c65=_0x202f44;_0x4da36b[_0x208c65(0x13f)](_0x29a6cc);}),_0x2cef3c;}[_0xb5f71c(0x13e)](_0x1d6967){const _0x382c3e=_0xb5f71c,{locale:_0x113c8e}=this[_0x382c3e(0x144)],_0x33cbee=this[_0x382c3e(0x144)][_0x382c3e(0x125)][_0x382c3e(0x12e)](_0x382c3e(0x156)),_0x319c6b=_0x1d6967[0x0],_0x4c2690=this[_0x382c3e(0x12b)](_0x36be13,_0x319c6b[_0x382c3e(0x117)]);return _0x4c2690[_0x382c3e(0x124)]=_0x319c6b[_0x382c3e(0x124)],_0x4c2690[_0x382c3e(0x12d)](_0x382c3e(0x15f))['to'](_0x33cbee,_0x382c3e(0x14d),_0x189f79=>_0x32721b(_0x113c8e,_0x319c6b[_0x382c3e(0x117)],_0x189f79?_0x382c3e(0x112):_0x382c3e(0x128))[_0x382c3e(0x133)]),_0x4c2690[_0x382c3e(0x147)]=!0x0,_0x4c2690;}[_0xb5f71c(0x15b)](_0x2b5012){const _0x3b2da0=_0xb5f71c,{locale:_0x1d0577}=this[_0x3b2da0(0x144)],_0x410dbd=this[_0x3b2da0(0x144)][_0x3b2da0(0x125)][_0x3b2da0(0x12e)](_0x3b2da0(0x156));return _0x2b5012[_0x3b2da0(0x14e)](_0x359ac6=>{const _0x23610c=_0x3b2da0,_0x866914=this[_0x23610c(0x12b)](_0x36be13,_0x359ac6[_0x23610c(0x117)]);return _0x866914[_0x23610c(0x153)]=!0x0,_0x866914[_0x23610c(0x124)]=_0x359ac6[_0x23610c(0x124)],_0x866914[_0x23610c(0x12d)](_0x23610c(0x15f))['to'](_0x410dbd,_0x23610c(0x14d),_0xbbea66=>_0x32721b(_0x1d0577,_0x359ac6[_0x23610c(0x117)],_0xbbea66?_0x23610c(0x112):_0x23610c(0x128))[_0x23610c(0x133)]),_0x866914;});}[_0xb5f71c(0x154)](_0xbd24dc){const _0x3ee707=_0xb5f71c;return _0xbd24dc[_0x3ee707(0x14e)](_0x1e0f8d=>{const _0x4dbb5b=_0x3ee707,_0xd74d9c=this[_0x4dbb5b(0x12b)](_0x3b21c3,_0x1e0f8d[_0x4dbb5b(0x117)]);return _0xd74d9c[_0x4dbb5b(0x124)]=_0x1e0f8d[_0x4dbb5b(0x124)],_0xd74d9c[_0x4dbb5b(0x15f)]=_0x1e0f8d[_0x4dbb5b(0x118)],_0xd74d9c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1f476b}from'ckeditor5/src/core.js';import{FileRepository as _0x4b4b1a}from'ckeditor5/src/upload.js';import _0x72ff5e from'./uploadcareediting.js';import _0x34deb9 from'./utils/uploadutils.js';import{getImageUrls as _0x171910}from'./utils/editingutils.js';export default class p extends _0x1f476b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4b4b1a,_0x72ff5e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22b3b5=this['editor'];if(!!!_0x22b3b5['config']['get']('uploadcare'))return;_0x22b3b5['plugins']['get'](_0x4b4b1a)['createUploadAdapter']=_0x56a4cf=>new x(_0x56a4cf,_0x22b3b5),_0x22b3b5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1cddcf,{imageElement:_0x1c4579,data:_0x50213c})=>{_0x22b3b5['model']['change'](_0x1ef829=>{_0x1ef829['setAttribute']('uploadcareImageId',_0x50213c['uploadcareImageId'],_0x1c4579);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1a927e,_0x471fd1){this['loader']=_0x1a927e,this['editor']=_0x471fd1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29413f=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f565a=await this['loader']['file'];return _0x34deb9['upload']({'file':_0x2f565a,'publicKey':_0x29413f,'signal':this['controller']['signal'],'onProgress':_0x19ea0a=>{_0x19ea0a&&_0x19ea0a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x19ea0a['value']);}})['then'](async _0x370a6c=>{const {imageFallbackUrl:_0x5e1aac,imageSources:_0x4586b5}=_0x171910(_0x370a6c['cdnUrl'],_0x370a6c['imageInfo']['width']);return{'uploadcareImageId':_0x370a6c['uuid'],'default':_0x5e1aac,'sources':_0x4586b5};})['catch'](()=>{const _0xd90b79=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f565a['name']+'.');return Promise['reject'](_0xd90b79);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x306d8d}from'ckeditor5/src/core.js';import{FileRepository as _0x35788e}from'ckeditor5/src/upload.js';import _0x2fc026 from'./uploadcareediting.js';import _0x1ca47b from'./utils/uploadutils.js';import{getImageUrls as _0x287ed0}from'./utils/editingutils.js';export default class p extends _0x306d8d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x35788e,_0x2fc026];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x41b58c=this['editor'];if(!!!_0x41b58c['config']['get']('uploadcare'))return;_0x41b58c['plugins']['get'](_0x35788e)['createUploadAdapter']=_0x29e4cb=>new x(_0x29e4cb,_0x41b58c),_0x41b58c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39d154,{imageElement:_0x2f5010,data:_0x47f031})=>{_0x41b58c['model']['change'](_0x5f2fe3=>{_0x5f2fe3['setAttribute']('uploadcareImageId',_0x47f031['uploadcareImageId'],_0x2f5010);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3d6186,_0x1b6d41){this['loader']=_0x3d6186,this['editor']=_0x1b6d41,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x11e94b=this['editor']['config']['get']('uploadcare.pubkey'),_0x5f1002=await this['loader']['file'];return _0x1ca47b['upload']({'file':_0x5f1002,'publicKey':_0x11e94b,'signal':this['controller']['signal'],'onProgress':_0x45a458=>{_0x45a458&&_0x45a458['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45a458['value']);}})['then'](async _0x126f7c=>{const {imageFallbackUrl:_0x3ec310,imageSources:_0x467947}=_0x287ed0(_0x126f7c['cdnUrl'],_0x126f7c['imageInfo']['width']);return{'uploadcareImageId':_0x126f7c['uuid'],'default':_0x3ec310,'sources':_0x467947};})['catch'](()=>{const _0x1d281a=t('Cannot\x20upload\x20file:')+('\x20'+_0x5f1002['name']+'.');return Promise['reject'](_0x1d281a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3a332f}from'../uploadcareconfig.js';export function getTranslation(_0x1a5183,_0x37d5da,_0x2f1c17){const t=_0x1a5183['t'],_0x3b7719=_0x1a5183['t'];switch(_0x37d5da){case _0x3a332f['Local']:return{'text':_0x3b7719('Insert'===_0x2f1c17?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b7719('From\x20computer')};case _0x3a332f['URL']:return{'text':'Insert'===_0x2f1c17?_0x3b7719('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b7719('Via\x20URL')};case _0x3a332f['Dropbox']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a332f['Facebook']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a332f['GDrive']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a332f['GPhotos']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a332f['OneDrive']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x37d5da;}}
23
+ import{UploadcareSource as _0x5df67b}from'../uploadcareconfig.js';export function getTranslation(_0x321361,_0x49b9af,_0x170def){const t=_0x321361['t'],_0x7a3c7b=_0x321361['t'];switch(_0x49b9af){case _0x5df67b['Local']:return{'text':_0x7a3c7b('Insert'===_0x170def?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7a3c7b('From\x20computer')};case _0x5df67b['URL']:return{'text':'Insert'===_0x170def?_0x7a3c7b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7a3c7b('Via\x20URL')};case _0x5df67b['Dropbox']:return{'text':t('Insert'===_0x170def?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5df67b['Facebook']:return{'text':t('Insert'===_0x170def?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5df67b['GDrive']:return{'text':t('Insert'===_0x170def?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5df67b['GPhotos']:return{'text':t('Insert'===_0x170def?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5df67b['OneDrive']:return{'text':t('Insert'===_0x170def?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49b9af;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x442f52=_0xe2e0;function _0x2120(){var _0x47d32b=['16qRkPXR','focusCycler','226dsKkYd','forwardCycle','fire','122253HDLKOZ','68778mCyLVg','16Fmgkji','getFocusableElement','457160xizgrF','div','focusTracker','1811PCGMEf','1157142XmnydR','createCollection','true','1041005vcumfv','bindTemplate','3913720fybGGh'];_0x2120=function(){return _0x47d32b;};return _0x2120();}(function(_0x2bc3b8,_0x1ebdbb){var _0x41c87e=_0xe2e0,_0xd98070=_0x2bc3b8();while(!![]){try{var _0x48ab31=-parseInt(_0x41c87e(0x6c))/0x1*(parseInt(_0x41c87e(0x75))/0x2)+parseInt(_0x41c87e(0x78))/0x3*(-parseInt(_0x41c87e(0x7a))/0x4)+parseInt(_0x41c87e(0x7c))/0x5+parseInt(_0x41c87e(0x6d))/0x6+-parseInt(_0x41c87e(0x70))/0x7+-parseInt(_0x41c87e(0x73))/0x8*(-parseInt(_0x41c87e(0x79))/0x9)+parseInt(_0x41c87e(0x72))/0xa;if(_0x48ab31===_0x1ebdbb)break;else _0xd98070['push'](_0xd98070['shift']());}catch(_0x38687f){_0xd98070['push'](_0xd98070['shift']());}}}(_0x2120,0x2a9f7));import{FocusTracker as _0x125d5c}from'ckeditor5/src/utils.js';import{View as _0x242785,FocusCycler as _0x1025b9}from'ckeditor5/src/ui.js';function _0xe2e0(_0x359225,_0x138e0f){var _0x21203f=_0x2120();return _0xe2e0=function(_0xe2e046,_0x1d6881){_0xe2e046=_0xe2e046-0x6a;var _0x45e809=_0x21203f[_0xe2e046];return _0x45e809;},_0xe2e0(_0x359225,_0x138e0f);}import'../../theme/uploadcare-form.css';export default class q extends _0x242785{[_0x442f52(0x6b)];[_0x442f52(0x74)];constructor(_0x4b4c10){var _0xa075db=_0x442f52;super(_0x4b4c10),this[_0xa075db(0x6b)]=new _0x125d5c(),this[_0xa075db(0x74)]=new _0x1025b9({'focusables':this[_0xa075db(0x6e)](),'focusTracker':this[_0xa075db(0x6b)]});}[_0x442f52(0x7b)](){var _0x342333=_0x442f52;return{'tag':_0x342333(0x6a),'attributes':{'aria-hidden':_0x342333(0x6f),'tabindex':'0'},'on':{'focus':this[_0x342333(0x71)]['to'](()=>{var _0x30856=_0x342333;this[_0x30856(0x74)][_0x30856(0x77)](_0x30856(0x76));})}};}}
23
+ var _0x2bc34a=_0x4719;(function(_0x118064,_0x23ef5c){var _0x116ddb=_0x4719,_0x3021d5=_0x118064();while(!![]){try{var _0x5cd709=-parseInt(_0x116ddb(0xb8))/0x1+-parseInt(_0x116ddb(0xb0))/0x2*(parseInt(_0x116ddb(0xae))/0x3)+-parseInt(_0x116ddb(0xaa))/0x4+-parseInt(_0x116ddb(0xac))/0x5+parseInt(_0x116ddb(0xb6))/0x6+-parseInt(_0x116ddb(0xb7))/0x7*(parseInt(_0x116ddb(0xb3))/0x8)+-parseInt(_0x116ddb(0xb4))/0x9*(-parseInt(_0x116ddb(0xab))/0xa);if(_0x5cd709===_0x23ef5c)break;else _0x3021d5['push'](_0x3021d5['shift']());}catch(_0x1fd379){_0x3021d5['push'](_0x3021d5['shift']());}}}(_0x3164,0x2b477));function _0x4719(_0x203225,_0x244f6d){var _0x316490=_0x3164();return _0x4719=function(_0x4719a7,_0x272b83){_0x4719a7=_0x4719a7-0xa7;var _0x23b8d1=_0x316490[_0x4719a7];return _0x23b8d1;},_0x4719(_0x203225,_0x244f6d);}import{FocusTracker as _0xe28076}from'ckeditor5/src/utils.js';import{View as _0x18c8d3,FocusCycler as _0x2d3747}from'ckeditor5/src/ui.js';function _0x3164(){var _0x477484=['9230805PaEpCO','getFocusableElement','1391202IvAymS','56QLcyYs','267938RaUIYK','focusTracker','fire','true','div','684856dfVYBf','10sIjcZr','1528485VLBjmu','forwardCycle','36YLUWqR','createCollection','38644vDMPIm','bindTemplate','focusCycler','103528LDBhcb'];_0x3164=function(){return _0x477484;};return _0x3164();}import'../../theme/uploadcare-form.css';export default class q extends _0x18c8d3{[_0x2bc34a(0xb9)];[_0x2bc34a(0xb2)];constructor(_0x219b2f){var _0x204ea0=_0x2bc34a;super(_0x219b2f),this[_0x204ea0(0xb9)]=new _0xe28076(),this[_0x204ea0(0xb2)]=new _0x2d3747({'focusables':this[_0x204ea0(0xaf)](),'focusTracker':this[_0x204ea0(0xb9)]});}[_0x2bc34a(0xb5)](){var _0x12966b=_0x2bc34a;return{'tag':_0x12966b(0xa9),'attributes':{'aria-hidden':_0x12966b(0xa8),'tabindex':'0'},'on':{'focus':this[_0x12966b(0xb1)]['to'](()=>{var _0x1d054b=_0x12966b;this[_0x1d054b(0xb2)][_0x1d054b(0xa7)](_0x1d054b(0xad));})}};}}