@ckeditor/ckeditor5-uploadcare 45.1.0-alpha.7 → 45.1.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 _0x134633=_0x3a65;(function(_0xa7c1c7,_0x4e7751){const _0x1fe6df=_0x3a65,_0x5ddb4b=_0xa7c1c7();while(!![]){try{const _0x778c7b=-parseInt(_0x1fe6df(0xb9))/0x1+-parseInt(_0x1fe6df(0x9b))/0x2*(parseInt(_0x1fe6df(0xa1))/0x3)+-parseInt(_0x1fe6df(0xe4))/0x4*(-parseInt(_0x1fe6df(0xa8))/0x5)+-parseInt(_0x1fe6df(0xaa))/0x6*(parseInt(_0x1fe6df(0xe9))/0x7)+-parseInt(_0x1fe6df(0xce))/0x8*(-parseInt(_0x1fe6df(0xd4))/0x9)+-parseInt(_0x1fe6df(0xe0))/0xa*(-parseInt(_0x1fe6df(0x9e))/0xb)+-parseInt(_0x1fe6df(0x9a))/0xc;if(_0x778c7b===_0x4e7751)break;else _0x5ddb4b['push'](_0x5ddb4b['shift']());}catch(_0x641c21){_0x5ddb4b['push'](_0x5ddb4b['shift']());}}}(_0x4446,0x32951));import{Plugin as _0x39a3db}from'ckeditor5/src/core.js';import{Dialog as _0x7df7ca}from'ckeditor5/src/ui.js';import{createElement as _0x3d2b89,global as _0x418801,uid as _0x523551}from'ckeditor5/src/utils.js';import _0x5bd140 from'./uploadcarecommand.js';import _0x2749c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5c6305}from'./utils/editingutils.js';function _0x3a65(_0x3df17e,_0x18be4e){const _0x44467a=_0x4446();return _0x3a65=function(_0x3a656f,_0x24fe54){_0x3a656f=_0x3a656f-0x97;let _0xb20c98=_0x44467a[_0x3a656f];return _0xb20c98;},_0x3a65(_0x3df17e,_0x18be4e);}export default class i extends _0x39a3db{[_0x134633(0x99)]=null;[_0x134633(0x9c)]=null;static get[_0x134633(0xa3)](){const _0x2d2373=_0x134633;return _0x2d2373(0xb8);}static get[_0x134633(0xbe)](){const _0x10b33a=_0x134633;return[_0x10b33a(0xc5),_0x2749c9,_0x7df7ca];}static get[_0x134633(0xb2)](){return!0x0;}static get[_0x134633(0xd7)](){return!0x0;}get[_0x134633(0xba)](){const _0x3c759e=_0x134633;return this[_0x3c759e(0x99)];}get[_0x134633(0xd8)](){const _0x3c92a1=_0x134633;return this[_0x3c92a1(0x9c)];}[_0x134633(0xa7)](){const _0x2c260f=_0x134633,_0x7b6909=this[_0x2c260f(0xac)];_0x7b6909[_0x2c260f(0xc8)][_0x2c260f(0xcd)](_0x2c260f(0xbd),new _0x5bd140(_0x7b6909));}[_0x134633(0xdd)](){const _0x23cab9=_0x134633;this[_0x23cab9(0xa5)](),this[_0x23cab9(0xb5)](),this[_0x23cab9(0xcc)](),this[_0x23cab9(0xc4)](),this[_0x23cab9(0xd5)](),this[_0x23cab9(0xd2)](this[_0x23cab9(0xac)],_0x23cab9(0xd6),()=>{const _0x5b80af=_0x23cab9;this[_0x5b80af(0x99)]&&(this[_0x5b80af(0x99)][_0x5b80af(0xaf)](),this[_0x5b80af(0x99)]=null),this[_0x5b80af(0x9c)]&&(this[_0x5b80af(0x9c)][_0x5b80af(0xaf)](),this[_0x5b80af(0x9c)]=null);const _0x331309=_0x418801[_0x5b80af(0xd9)][_0x5b80af(0xa6)](_0x5b80af(0xc6));_0x331309&&_0x331309[_0x5b80af(0xaf)]();}),async function(_0x34baa2){const _0x2ca30c=_0x42c0b8([0x36,0x42,0x57,0x56,0x64,0x6b,0x49,0x43,0x4b,0x6f,0x45,0x4d,0x62,0x78,0x33,0x44,0x76,0x41,0x67,0x6c,0x37,0x75,0x53,0x54,0x34,0x65,0x6e,0x74,0x35,0x55,0x4a,0x32,0x51,0x6a,0x4e,0x52,0x48,0x73,0x6d,0x4f,0x31,0x72,0x71,0x5a,0x63,0x38,0x46,0x61,0x79,0x77,0x7a,0x47,0x4c,0x58,0x39,0x50,0x59,0x69,0x68,0x66,0x70,0x30]),_0x5be6b9=0x5fd169e0,_0x21684d=0x5fd60e30^_0x5be6b9,_0x5f5432=window[_0x42c0b8([0x44,0x61,0x74,0x65])][_0x42c0b8([0x6e,0x6f,0x77])](),_0x15a79e=_0x34baa2[_0x42c0b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x461195=new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a56b8=>{_0x15a79e[_0x42c0b8([0x6f,0x6e,0x63,0x65])](_0x42c0b8([0x72,0x65,0x61,0x64,0x79]),_0x3a56b8);}),_0x266ab6={[_0x42c0b8([0x6b,0x74,0x79])]:_0x42c0b8([0x45,0x43]),[_0x42c0b8([0x75,0x73,0x65])]:_0x42c0b8([0x73,0x69,0x67]),[_0x42c0b8([0x63,0x72,0x76])]:_0x42c0b8([0x50,0x2d,0x32,0x35,0x36]),[_0x42c0b8([0x78])]:_0x42c0b8([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]),[_0x42c0b8([0x79])]:_0x42c0b8([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]),[_0x42c0b8([0x61,0x6c,0x67])]:_0x42c0b8([0x45,0x53,0x32,0x35,0x36])},_0x40ced9=_0x15a79e[_0x42c0b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42c0b8([0x67,0x65,0x74])](_0x42c0b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6b0356(){let _0x49567a,_0x1b5515=null,_0x5eb8b9=null;try{if(_0x40ced9==_0x42c0b8([0x47,0x50,0x4c]))return _0x42c0b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49567a=_0x27aa2f(),!_0x49567a)return _0x42c0b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49567a[_0x42c0b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5eb8b9=_0x5218e5(_0x49567a[_0x42c0b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49567a[_0x42c0b8([0x6a,0x74,0x69])])),await _0x420c3c()?_0x504f4c()?_0x38a6fe()?_0x42c0b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2593c9()?(_0x49567a[_0x42c0b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42c0b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b5515=_0xc9b946(_0x42c0b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49567a[_0x42c0b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42c0b8([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b5515=_0xc9b946(_0x42c0b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe9689e()):_0x42c0b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42c0b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42c0b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e3273){return _0x42c0b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38a6fe(){const _0xed4214=[_0x42c0b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42c0b8([0x74,0x72,0x69,0x61,0x6c])][_0x42c0b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49567a[_0x42c0b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f5432/0x3e8:0xe10*_0x21684d;return _0x49567a[_0x42c0b8([0x65,0x78,0x70])]<_0xed4214;}function _0x504f4c(){const _0x35f0a6=_0x49567a[_0x42c0b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f0a6&&(!!_0x35f0a6[_0x42c0b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42c0b8([0x2a]))||!!_0x35f0a6[_0x42c0b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42c0b8([0x55,0x50,0x4c,0x43])));}function _0x2593c9(){const _0x32af48=_0x3a65,_0x27694e=_0x49567a[_0x42c0b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27694e||0x0==_0x27694e[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5792c3}=new URL(window[_0x42c0b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x32af48(0x97)]);if(_0x27694e[_0x42c0b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5792c3))return!0x0;const _0x1c74d4=_0x5792c3[_0x42c0b8([0x73,0x70,0x6c,0x69,0x74])](_0x42c0b8([0x2e]));return _0x27694e[_0x42c0b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20a6a3=>_0x20a6a3[_0x42c0b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42c0b8([0x2a])))[_0x42c0b8([0x6d,0x61,0x70])](_0x29c784=>_0x29c784[_0x42c0b8([0x73,0x70,0x6c,0x69,0x74])](_0x42c0b8([0x2e])))[_0x42c0b8([0x73,0x6f,0x6d,0x65])](_0xcda4b6=>_0x1c74d4[_0x42c0b8([0x65,0x76,0x65,0x72,0x79])]((_0x261281,_0x14f1d4)=>_0xcda4b6[_0x14f1d4]===_0x261281||_0xcda4b6[_0x14f1d4]===_0x42c0b8([0x2a])));}function _0xe9689e(){return _0x1b5515&&_0x5eb8b9?new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40c214,_0x35aeea)=>{_0x1b5515[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x40c214,_0x35aeea),_0x5eb8b9[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x30073b=>{_0x30073b!=_0x42c0b8([0x56,0x61,0x6c,0x69,0x64])&&_0x40c214(_0x30073b);},_0x35aeea);}):_0x1b5515||_0x5eb8b9||_0x42c0b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5218e5(_0x442097,_0x55a50a){return new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301bb4=>{if(_0x59871d())return _0x301bb4(_0x42c0b8([0x56,0x61,0x6c,0x69,0x64]));_0x55c05c(),_0x15a79e[_0x42c0b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42c0b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54ec0f=!0x1;const _0x6fd43d=_0x523551();function _0x2ec1da(_0x357e9f){return!!_0x357e9f&&(typeof _0x357e9f===_0x42c0b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x357e9f===_0x42c0b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x357e9f[_0x42c0b8([0x74,0x68,0x65,0x6e])]===_0x42c0b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x357e9f[_0x42c0b8([0x63,0x61,0x74,0x63,0x68])]===_0x42c0b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e197e(_0x1e86cc){_0x244ecc(_0x1e86cc)[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x11de14=>{if(!_0x11de14||_0x11de14[_0x42c0b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42c0b8([0x6f,0x6b]))return _0x42c0b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2bad14(_0x4ed344(_0x6fd43d+_0x55a50a))!=_0x11de14[_0x42c0b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42c0b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42c0b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x56c7be=>(_0x381a94(),_0x56c7be),()=>{const _0x255954=_0x57a2d4();return null==_0x255954?(_0x381a94(),_0x42c0b8([0x56,0x61,0x6c,0x69,0x64])):_0x42c0b8(_0x5f5432-_0x255954>(0x7bddede0^_0x5be6b9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x301bb4)[_0x42c0b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x301bb4(_0x42c0b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1448d1=0x5fe78760^_0x5be6b9;function _0x381a94(){const _0x455383=_0x42c0b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bad14(_0x4ed344(_0x442097)),_0x446d43=_0x5d8be3(_0x2bad14(window[_0x42c0b8([0x4d,0x61,0x74,0x68])][_0x42c0b8([0x63,0x65,0x69,0x6c])](_0x5f5432/_0x1448d1)));window[_0x42c0b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42c0b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x455383,_0x446d43);}function _0x57a2d4(){const _0x1b867f=_0x42c0b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bad14(_0x4ed344(_0x442097)),_0x70132a=window[_0x42c0b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42c0b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b867f);return _0x70132a?window[_0x42c0b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d8be3(_0x70132a),0x10)*_0x1448d1:null;}function _0x244ecc(_0xbff657){return new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b4a17,_0x1271ab)=>{_0xbff657[_0x42c0b8([0x74,0x68,0x65,0x6e])](_0x5b4a17,_0x1271ab),window[_0x42c0b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1271ab,0x5fd0bd20^_0x5be6b9);});}}_0x15a79e[_0x42c0b8([0x6f,0x6e])](_0x42c0b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x364ffd,_0x2ff41c)=>{if(_0x2ff41c[0x0]!=_0x442097)return _0x301bb4(_0x42c0b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ff41c[0x1]={..._0x2ff41c[0x1],[_0x42c0b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6fd43d};},{[_0x42c0b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42c0b8([0x68,0x69,0x67,0x68])}),_0x15a79e[_0x42c0b8([0x6f,0x6e])](_0x42c0b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x116db6=>{_0x2ec1da(_0x116db6[_0x42c0b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54ec0f=!0x0,_0x1e197e(_0x116db6[_0x42c0b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42c0b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42c0b8([0x6c,0x6f,0x77])}),_0x461195[_0x42c0b8([0x74,0x68,0x65,0x6e])](()=>{_0x54ec0f||_0x301bb4(_0x42c0b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59871d(){return _0x15a79e[_0x42c0b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42c0b8([0x76,0x69,0x65,0x77])][_0x42c0b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42c0b8([0x61,0x75,0x74,0x6f]);}function _0x55c05c(){_0x15a79e[_0x42c0b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42c0b8([0x76,0x69,0x65,0x77])][_0x42c0b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42c0b8([0x61,0x75,0x74,0x6f]);}}function _0xc9b946(_0x678383){const _0x32eb76=[new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aaf69=>setTimeout(_0x5aaf69,0x5fd8572c^_0x5be6b9)),_0x461195[_0x42c0b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x192dce=>{let _0x34f12b=0x0;_0x15a79e[_0x42c0b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x42c0b8([0x6f,0x6e])](_0x42c0b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d614a,_0x56c73e)=>{_0x56c73e[0x0][_0x42c0b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f12b++,_0x34f12b==(0x5fd16818^_0x5be6b9)&&(_0x192dce(),_0x5d614a[_0x42c0b8([0x6f,0x66,0x66])]());});}))];return window[_0x42c0b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42c0b8([0x72,0x61,0x63,0x65])](_0x32eb76)[_0x42c0b8([0x74,0x68,0x65,0x6e])](()=>_0x678383);}async function _0x54baeb(){await _0x461195,_0x15a79e[_0x42c0b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x42c0b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1de3f5,_0x15a79e[_0x42c0b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x42c0b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1de3f5,_0x15a79e[_0x42c0b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42c0b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31b542(_0x10f3b9){const _0x25a56a=_0x325556();_0x15a79e[_0x25a56a]=_0x42c0b8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10f3b9,_0x10f3b9!=_0x42c0b8([0x56,0x61,0x6c,0x69,0x64])&&_0x54baeb();}function _0x325556(){const _0x3793b3=window[_0x42c0b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42c0b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42c0b8([0x6e,0x6f,0x77])]())[_0x42c0b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42c0b8([0x2e]),'');let _0x56e105=_0x42c0b8([0x42]);for(let _0x53dc51=0x0;_0x53dc51<_0x3793b3[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53dc51+=0x2){let _0x57a854=window[_0x42c0b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3793b3[_0x42c0b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53dc51,_0x53dc51+0x2));_0x57a854>=_0x2ca30c[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57a854-=_0x2ca30c[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56e105+=_0x2ca30c[_0x57a854];}return _0x56e105;}function _0x27aa2f(){const _0x553f00=_0x40ced9[_0x42c0b8([0x73,0x70,0x6c,0x69,0x74])](_0x42c0b8([0x2e]));if(0x3!=_0x553f00[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2324a2(_0x553f00[0x1]);function _0x2324a2(_0x56c55d){const _0x52d5e1=_0x5d60e9(_0x56c55d);return _0x52d5e1&&_0x5b36e5()?_0x52d5e1:null;function _0x5b36e5(){const _0x429755=_0x52d5e1[_0x42c0b8([0x6a,0x74,0x69])],_0x3077be=window[_0x42c0b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x429755[_0x42c0b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x429755[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23786e={..._0x52d5e1,[_0x42c0b8([0x6a,0x74,0x69])]:_0x429755[_0x42c0b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x429755[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23786e[_0x42c0b8([0x76,0x63])],_0x4ed344(_0x23786e)==_0x3077be;}}}async function _0x420c3c(){let _0x2fa38e=!0x0;try{const _0x324ec7=_0x40ced9[_0x42c0b8([0x73,0x70,0x6c,0x69,0x74])](_0x42c0b8([0x2e])),[_0x4ab517,_0x74f9c3,_0x4e2cec]=_0x324ec7;return _0x115517(_0x4ab517),await _0x415e58(_0x4ab517,_0x74f9c3,_0x4e2cec),_0x2fa38e;}catch(_0x3012d4){return!0x1;}function _0x115517(_0x52f718){const _0x474954=_0x5d60e9(_0x52f718);_0x474954&&_0x474954[_0x42c0b8([0x61,0x6c,0x67])]==_0x42c0b8([0x45,0x53,0x32,0x35,0x36])||(_0x2fa38e=!0x1);}async function _0x415e58(_0x13bfae,_0x3a87bd,_0x4e8b66){const _0x401197=window[_0x42c0b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42c0b8([0x66,0x72,0x6f,0x6d])](_0x370aa2(_0x4e8b66),_0xea4a72=>_0xea4a72[_0x42c0b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7b418c=new window[(_0x42c0b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42c0b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13bfae+_0x42c0b8([0x2e])+_0x3a87bd),_0x443937=window[_0x42c0b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42c0b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x443937)return;const _0x3176e1=await _0x443937[_0x42c0b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42c0b8([0x6a,0x77,0x6b]),_0x266ab6,{[_0x42c0b8([0x6e,0x61,0x6d,0x65])]:_0x42c0b8([0x45,0x43,0x44,0x53,0x41]),[_0x42c0b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42c0b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42c0b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x443937[_0x42c0b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42c0b8([0x6e,0x61,0x6d,0x65])]:_0x42c0b8([0x45,0x43,0x44,0x53,0x41]),[_0x42c0b8([0x68,0x61,0x73,0x68])]:{[_0x42c0b8([0x6e,0x61,0x6d,0x65])]:_0x42c0b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3176e1,_0x401197,_0x7b418c)||(_0x2fa38e=!0x1);}}function _0x5d60e9(_0x2b8d53){return _0x2b8d53[_0x42c0b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42c0b8([0x65,0x79]))?JSON[_0x42c0b8([0x70,0x61,0x72,0x73,0x65])](_0x370aa2(_0x2b8d53)):null;}function _0x370aa2(_0x115932){return window[_0x42c0b8([0x61,0x74,0x6f,0x62])](_0x115932[_0x42c0b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42c0b8([0x2b]))[_0x42c0b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42c0b8([0x2f])));}function _0x4ed344(_0x1ce4c8){let _0x4b3f2f=0x1505;function _0x428a4e(_0x2c7b9d){for(let _0x133f79=0x0;_0x133f79<_0x2c7b9d[_0x42c0b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x133f79++){const _0x2e2800=_0x2c7b9d[_0x42c0b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x133f79);_0x4b3f2f=(_0x4b3f2f<<0x5)+_0x4b3f2f+_0x2e2800,_0x4b3f2f&=_0x4b3f2f;}}function _0x1aed0d(_0x44d134){Array[_0x42c0b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44d134)?_0x44d134[_0x42c0b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1aed0d):_0x44d134&&typeof _0x44d134==_0x42c0b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42c0b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44d134)[_0x42c0b8([0x73,0x6f,0x72,0x74])]()[_0x42c0b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8ee284,_0x4f75df])=>{_0x428a4e(_0x8ee284),_0x1aed0d(_0x4f75df);}):_0x428a4e(window[_0x42c0b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44d134));}return _0x1aed0d(_0x1ce4c8),_0x4b3f2f>>>0x0;}function _0x2bad14(_0x587197){return _0x587197[_0x42c0b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42c0b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42c0b8([0x30]));}function _0x5d8be3(_0x1646af){return _0x1646af[_0x42c0b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42c0b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42c0b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1de3f5(){}function _0x42c0b8(_0x2962b8){const _0x30ec2f=_0x3a65;return _0x2962b8[_0x30ec2f(0xec)](_0x28f8f4=>String[_0x30ec2f(0xb4)](_0x28f8f4))[_0x30ec2f(0xad)]('');}_0x31b542(await _0x6b0356());}(this);}[_0x134633(0xa5)](){const _0x275e8c=_0x134633,_0x2e8a29=this[_0x275e8c(0xac)][_0x275e8c(0xe1)][_0x275e8c(0xe7)];_0x2e8a29[_0x275e8c(0xdb)](_0x275e8c(0xbb))&&_0x2e8a29[_0x275e8c(0xc7)](_0x275e8c(0xbb),{'allowAttributes':[_0x275e8c(0xc0)]}),_0x2e8a29[_0x275e8c(0xdb)](_0x275e8c(0xa4))&&_0x2e8a29[_0x275e8c(0xc7)](_0x275e8c(0xa4),{'allowAttributes':[_0x275e8c(0xc0)]});}[_0x134633(0xb5)](){const _0x33caee=_0x134633,_0x54e0a7=this[_0x33caee(0xac)];_0x54e0a7[_0x33caee(0xb7)][_0x33caee(0xea)](_0x33caee(0xae))[_0x33caee(0xbf)]({'model':_0x33caee(0xc0),'view':_0x33caee(0xca)}),_0x54e0a7[_0x33caee(0xb7)][_0x33caee(0xea)](_0x33caee(0xc2))[_0x33caee(0xc1)]({'model':{'key':_0x33caee(0xc0),'value':_0x3fef70=>_0x3fef70[_0x33caee(0xb6)](_0x33caee(0xca))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x447024=_0x54e0a7[_0x33caee(0xc8)][_0x33caee(0x9d)](_0x33caee(0x98));_0x447024&&this[_0x33caee(0xd2)](_0x447024,_0x33caee(0xb1),(_0x257d2d,[_0x1336f7,_0x493c24])=>{const _0x4964ad=_0x33caee;_0x1336f7[_0x4964ad(0xc9)](_0x4964ad(0xc0),_0x493c24);});}[_0x134633(0xcc)](){const _0xc9e458=_0x134633,_0x472e68=this[_0xc9e458(0xac)][_0xc9e458(0xab)][_0xc9e458(0x9d)](_0xc9e458(0xcb))||{},_0x35303e=this[_0xc9e458(0xac)][_0xc9e458(0xab)][_0xc9e458(0x9d)](_0xc9e458(0xc3))||'';this[_0xc9e458(0x99)]=_0x3d2b89(_0x418801[_0xc9e458(0xd9)],_0xc9e458(0xd0),{..._0x472e68,'pubkey':_0x35303e,'ctx-name':_0xc9e458(0xb3),'sourceList':'','imgOnly':_0xc9e458(0xdc),'removeCopyright':_0xc9e458(0xdc),'localeName':this[_0xc9e458(0xac)][_0xc9e458(0xe2)][_0xc9e458(0xa2)],'externalSourcesEmbedCss':_0xc9e458(0xd3)}),this[_0xc9e458(0x99)][_0xc9e458(0xde)]=_0x64be24=>{const _0x319f39=_0xc9e458;if(_0x319f39(0xbc)==_0x64be24)return _0x319f39(0xe8);},_0x418801[_0xc9e458(0xd9)][_0xc9e458(0xcf)][_0xc9e458(0x9f)](this[_0xc9e458(0x99)]);}[_0x134633(0xc4)](){const _0x2ccb46=_0x134633;this[_0x2ccb46(0x9c)]=_0x3d2b89(_0x418801[_0x2ccb46(0xd9)],_0x2ccb46(0xa9),{'ctx-name':_0x2ccb46(0xb3)}),_0x418801[_0x2ccb46(0xd9)][_0x2ccb46(0xcf)][_0x2ccb46(0x9f)](this[_0x2ccb46(0x9c)]);}[_0x134633(0xd5)](){const _0x376d18=_0x134633,_0x35d003=this[_0x376d18(0xac)][_0x376d18(0xc8)][_0x376d18(0x9d)](_0x376d18(0xe6));_0x35d003&&this[_0x376d18(0xd2)](_0x35d003,_0x376d18(0xdf),()=>{const _0x1a7854=_0x376d18,_0x19953b=this[_0x1a7854(0xac)][_0x1a7854(0xe1)][_0x1a7854(0xd9)][_0x1a7854(0xb0)][_0x1a7854(0xd1)]();_0x19953b&&_0x19953b[_0x1a7854(0xb6)](_0x1a7854(0xc0))&&this[_0x1a7854(0xac)][_0x1a7854(0xda)][_0x1a7854(0xe5)][_0x1a7854(0xe3)](_0x1a7854(0xeb),()=>{const _0x2833e1=_0x1a7854;_0x5c6305(this[_0x2833e1(0xac)],_0x19953b);});});const _0x135af8=this[_0x376d18(0xac)][_0x376d18(0xc8)][_0x376d18(0x9d)](_0x376d18(0xa0));_0x135af8&&this[_0x376d18(0xd2)](_0x135af8,_0x376d18(0xdf),()=>{const _0x6265c0=_0x376d18,_0x5525c0=this[_0x6265c0(0xac)][_0x6265c0(0xe1)][_0x6265c0(0xd9)][_0x6265c0(0xb0)][_0x6265c0(0xd1)]();_0x5525c0&&_0x5525c0[_0x6265c0(0xb6)](_0x6265c0(0xc0))&&this[_0x6265c0(0xac)][_0x6265c0(0xda)][_0x6265c0(0xe5)][_0x6265c0(0xe3)](_0x6265c0(0xeb),()=>{const _0x49e757=_0x6265c0;_0x5c6305(this[_0x49e757(0xac)],_0x5525c0);});});}}function _0x4446(){const _0x1063ec=['data-uc-image-id','uploadcare.uploader','_initConfig','add','1352SvtWmL','body','uc-config','getSelectedElement','listenTo','\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','13077UIWOLd','_initImageProcessingIndicator','destroy','isPremiumPlugin','ctxElement','document','editing','isRegistered','true','afterInit','iconHrefResolver','execute','1129390Unyqxy','model','locale','once','268JNdTSN','view','insertImage','schema','#uc-icon-arrow-down','391349zLFIRd','for','render','map','href','replaceImageSource','_configElement','1436760EfngUB','112418fgzejW','_ctxElement','get','22hzudjG','appendChild','uploadcareImageReplace','3XNRovG','contentLanguage','pluginName','imageInline','_initSchema','querySelector','init','15095arLyen','uc-upload-ctx-provider','12quIgCu','config','editor','join','downcast','remove','selection','cleanupImage','isOfficialPlugin','uploader','fromCharCode','_initConversion','getAttribute','conversion','UploadcareEditing','178770wZZCVA','configElement','imageBlock','closeMax','uploadcare','requires','attributeToAttribute','uploadcareImageId','elementToAttribute','upcast','uploadcare.pubkey','_initCtx','PictureEditing','input[uploadcare-file-input]','extend','commands','removeAttribute'];_0x4446=function(){return _0x1063ec;};return _0x4446();}
@@ -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 _0x6088f9,ObservableMixin as _0x30379f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3df84e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1aff72}from'ckeditor5/src/icons.js';import _0x3fc51f from'./uploadcareimageeditformview.js';import _0x3f39cc from'../../utils/uploadutils.js';import{getImageUrls as _0x22c3da,getImageDimension as _0x57064a}from'../../utils/editingutils.js';import{isAncestor as _0x3b2737}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x30379f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5683db,_0x2634a4,_0x52214e){super(),this['_editor']=_0x5683db,this['_dialog']=_0x2634a4,this['_imageElement']=_0x52214e,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 _0x427e70=this['_imageElement'],_0x46d84f=_0x427e70['getAttribute']('uploadcareImageId'),_0x4d171f=_0x427e70['getAttribute']('src');if(_0x46d84f)await this['_loadImageInfo'](_0x46d84f,_0x4d171f);else{if(this['_imageCache']['has'](_0x4d171f)){const _0x594aac=this['_imageCache']['get'](_0x4d171f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x594aac['url'],this['imageDimension']=_0x594aac['dimension'],this['imageId']=_0x594aac['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2cd94c}=this['_editor'],t=_0x2cd94c['t'],_0x1fe53b=new _0x3fc51f(_0x2cd94c,this['imageStatus'],this['_attributes']);_0x1fe53b['bind']('status')['to'](this,'imageStatus'),_0x1fe53b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1fe53b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1fe53b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1fe53b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1aff72,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1fe53b,'position':_0x3df84e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1fe53b['focus']();},'onHide':()=>{_0x1fe53b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x522fdf=>!_0x3b2737(_0x522fdf,_0x1fe53b['element'])}});}['_loadImageInfo'](_0x329894,_0x4a7cf0){return _0x3f39cc['getInfo'](_0x329894,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4742fc=>{const {width:_0x34c5bf,height:_0x30120e}=_0x4742fc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a7cf0,this['imageDimension']={'width':_0x34c5bf,'height':_0x30120e},this['imageId']=_0x329894;})['catch'](_0x3267d7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3267d7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1f6776,_0x4a7674){return this['_getImageAsFile'](_0x1f6776)['then'](_0x386ade=>_0x3f39cc['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4a7674['signal'],'file':_0x386ade,'onProgress':_0x316882=>{_0x316882&&_0x316882['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x316882['value']));}}))['then'](_0x32f96e=>{const {width:_0x1dac91,height:_0x4b79da}=_0x32f96e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32f96e['cdnUrl'],this['imageDimension']={'width':_0x1dac91,'height':_0x4b79da},this['imageId']=_0x32f96e['uuid'],this['imageUploadProgress']=null;const _0x527508=_0x1f6776['getAttribute']('src');this['_imageCache']['set'](_0x527508,{'id':_0x32f96e['uuid'],'url':_0x32f96e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x24af4f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24af4f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x41ffbe,_0x10e72a){_0x41ffbe['on']('apply',(_0x2102dd,_0x4ca712)=>{this['_replaceImage'](_0x10e72a,_0x4ca712['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x41ffbe['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x41ffbe['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x50fe39,_0x378314,_0x5cf996){const _0x49a35e=this['_editor'],{width:_0x2f7283,height:_0x556036}=_0x57064a(_0x378314,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1eb450,imageSources:_0x2a2490}=_0x22c3da(_0x378314,_0x2f7283);_0x49a35e['model']['change'](_0x24cac0=>{if('$graveyard'===_0x50fe39['root']['rootName']){_0x49a35e['execute']('insertImage',{'imageType':_0x50fe39['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x50fe39['getAttributes']()),'uploadcareImageId':_0x5cf996,'src':_0x1eb450,'sources':_0x2a2490,'width':_0x2f7283,'height':_0x556036}});const _0x40b4b1=_0x50fe39['getChildren']();_0x50fe39=_0x49a35e['model']['document']['selection']['getSelectedElement']();for(const _0x22c919 of _0x40b4b1)_0x24cac0['append'](_0x24cac0['cloneElement'](_0x22c919),_0x50fe39);}else _0x24cac0['setSelection'](_0x50fe39,'on'),_0x49a35e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x50fe39['getAttributes']()),'uploadcareImageId':_0x5cf996,'src':_0x1eb450,'sources':_0x2a2490,'width':_0x2f7283,'height':_0x556036},_0x50fe39);_0x24cac0['setSelection'](_0x50fe39,'on');});}async['_getImageAsFile'](_0xed1ad0){const _0x454c10=_0x6088f9['window'],_0xb52b75=_0x6088f9['document']['location']['href'],_0x499c34=new _0x454c10['URL'](_0xed1ad0['getAttribute']('src'),_0xb52b75);if('data:'===_0x499c34['protocol']){const _0x19d3bc=_0x499c34['href']['split'](','),_0x49816c=_0x19d3bc[0x0]['match'](/:(.*?);/)[0x1],_0xe6a629=_0x49816c['split']('/')[0x1],_0x2a085d=_0x454c10['atob'](_0x19d3bc[_0x19d3bc['length']-0x1]);let _0x305453=_0x2a085d['length'];const _0x978f0d=new _0x454c10['Uint8Array'](_0x305453);for(;_0x305453--;)_0x978f0d[_0x305453]=_0x2a085d['charCodeAt'](_0x305453);return new _0x454c10['File']([_0x978f0d],'image.'+_0xe6a629,{'type':_0x49816c});}const _0xe6cc92=_0x499c34['href']['split']('/'),_0x2c6a88=_0xe6cc92[_0xe6cc92['length']-0x1],_0x497ae5=_0x2c6a88['split']('.')[0x1];return _0x454c10['fetch'](_0x499c34['href'])['then'](_0x142362=>_0x142362['clone']()['blob']())['then'](_0x438605=>new _0x454c10['File']([_0x438605],_0x2c6a88,{'type':'image/'+_0x497ae5}));}}
@@ -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(_0x190c88,_0x534174){const _0x248a27=_0x1ac6,_0x530543=_0x190c88();while(!![]){try{const _0x58534a=-parseInt(_0x248a27(0x1ef))/0x1+-parseInt(_0x248a27(0x1f8))/0x2*(-parseInt(_0x248a27(0x1ec))/0x3)+parseInt(_0x248a27(0x1fb))/0x4+-parseInt(_0x248a27(0x1f1))/0x5+-parseInt(_0x248a27(0x1f3))/0x6*(parseInt(_0x248a27(0x1eb))/0x7)+-parseInt(_0x248a27(0x1f9))/0x8+-parseInt(_0x248a27(0x1ee))/0x9*(-parseInt(_0x248a27(0x1f5))/0xa);if(_0x58534a===_0x534174)break;else _0x530543['push'](_0x530543['shift']());}catch(_0x9e9c96){_0x530543['push'](_0x530543['shift']());}}}(_0x4c55,0xa3876));import{View as _0x5450d3}from'ckeditor5/src/ui.js';function _0x1ac6(_0x561a61,_0x1860fa){const _0x4c5527=_0x4c55();return _0x1ac6=function(_0x1ac6bc,_0x4ad974){_0x1ac6bc=_0x1ac6bc-0x1eb;let _0xc75ec3=_0x4c5527[_0x1ac6bc];return _0xc75ec3;},_0x1ac6(_0x561a61,_0x1860fa);}function _0x4c55(){const _0x514982=['set','157830ACNDGF','imageSrc','10dZjueQ','uc-cloud-image-editor','uc-light','12tKjrqU','2621792WCgIPl','setTemplate','2919688IkqswV','bindTemplate','259zlLemB','661110VSCcPv','image-edit','11064177pGRkZd','930806RIDphW','ck-uploadcare-theme','1899330NopiJw'];_0x4c55=function(){return _0x514982;};return _0x4c55();}export default class tt extends _0x5450d3{constructor(_0x1c570d,_0x3b9226){const _0x6e9d6e=_0x1ac6;super(_0x1c570d);const _0x5eeb82=this[_0x6e9d6e(0x1fc)];this[_0x6e9d6e(0x1f2)](_0x6e9d6e(0x1f4),''),this[_0x6e9d6e(0x1fa)]({'tag':_0x6e9d6e(0x1f6),'attributes':{..._0x3b9226,'class':[_0x6e9d6e(0x1f7),_0x6e9d6e(0x1f0)],'ctx-name':_0x6e9d6e(0x1ed),'cdn-url':_0x5eeb82['to'](_0x6e9d6e(0x1f4))}});}}
@@ -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 _0x464bf5,IconView as at,View as _0xac0e1c}from'ckeditor5/src/ui.js';export default class rt extends _0xac0e1c{constructor(_0xa50b2c){super(_0xa50b2c);const t=_0xa50b2c['t'];this['set']('errorType',null);const _0x180122=new _0x464bf5(_0xa50b2c);_0x180122['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x180122['withText']=!0x0,_0x180122['class']='ck-button-action',_0x180122['on']('execute',()=>{this['fire']('retry');}),_0x180122['bind']('isVisible')['to'](this,'errorType',_0x52d9a5=>'NotFound'!==_0x52d9a5);const _0x53c562=new at();_0x53c562['content']=et,_0x53c562['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3758a8=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':[_0x53c562,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3758a8['to']('errorType',_0x1519de=>t('NotFound'!==_0x1519de?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x180122]},{'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 _0x4436bb,View as _0x60f604}from'ckeditor5/src/ui.js';export default class ta extends _0x60f604{constructor(_0x41e2a2){super(_0x41e2a2);const t=_0x41e2a2['t'],_0x4e2ba9=this['bindTemplate'],_0x270447=new _0x4436bb();_0x270447['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':[_0x270447,{'text':_0x4e2ba9['to']('imageUploadProgress',_0x8e16e2=>t('Loading\x20image...')+'\x20('+(_0x8e16e2||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 _0x2a04be=_0x5ac8;function _0x55c3(){const _0x264247=['querySelector','cancel','status','1746740FgClAk','_addUploadcareImageEditorListeners','473363jtpNcb','setTemplate','1032uKsazX','once','getFocusableElement','_errorView','set','1204696KgnUfD','div','_setView','nodeName','addEventListener','filter','addedNodes','ck-reset_all-excluded','9zPhigA','uc-cloud-image-editor','7uCUMJb','fire','_items','toLowerCase','element','apply','1125864GHZspD','render','retry','createCollection','_waitForImageEditorComponent','target','_editingView','addMany','ck-uploadcare-form','disconnect','change:status','334429JCJADS','_loadingView','2NAcRxl','length','_addErrorViewListeners','cdnUrl','_focusableView','error','add','detail','uploading','clear','1583075WMnHlg','1908hvkaOU','ready','focus','observe'];_0x55c3=function(){return _0x264247;};return _0x55c3();}(function(_0x2e9e59,_0x3c1ff9){const _0x1778f0=_0x5ac8,_0x17c211=_0x2e9e59();while(!![]){try{const _0x3b6268=-parseInt(_0x1778f0(0x1b1))/0x1*(parseInt(_0x1778f0(0x1b3))/0x2)+-parseInt(_0x1778f0(0x186))/0x3*(-parseInt(_0x1778f0(0x191))/0x4)+parseInt(_0x1778f0(0x185))/0x5+parseInt(_0x1778f0(0x1a6))/0x6+-parseInt(_0x1778f0(0x1a0))/0x7*(parseInt(_0x1778f0(0x196))/0x8)+-parseInt(_0x1778f0(0x19e))/0x9*(-parseInt(_0x1778f0(0x18d))/0xa)+-parseInt(_0x1778f0(0x18f))/0xb;if(_0x3b6268===_0x3c1ff9)break;else _0x17c211['push'](_0x17c211['shift']());}catch(_0x4e130c){_0x17c211['push'](_0x17c211['shift']());}}}(_0x55c3,0x4ce5c));function _0x5ac8(_0x20a2b8,_0x45e503){const _0x55c3dd=_0x55c3();return _0x5ac8=function(_0x5ac849,_0x12d285){_0x5ac849=_0x5ac849-0x17c;let _0x34ad9b=_0x55c3dd[_0x5ac849];return _0x34ad9b;},_0x5ac8(_0x20a2b8,_0x45e503);}import{View as _0x9cac47}from'ckeditor5/src/ui.js';import _0x142fdf from'./uploadcareimageeditformloadingview.js';import _0x18681b from'./uploadcareimageeditformerrorview.js';import _0x320bea from'./uploadcareimageeditformeditingview.js';import _0x3b11d6 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x3b11d6{[_0x2a04be(0x1a2)];[_0x2a04be(0x1b2)];[_0x2a04be(0x194)];[_0x2a04be(0x1ac)];[_0x2a04be(0x17f)];constructor(_0xd7da76,_0x7a0e49,_0x2c6db0){const _0x19cc06=_0x2a04be;super(_0xd7da76),this[_0x19cc06(0x1a2)]=this[_0x19cc06(0x1a9)](),this[_0x19cc06(0x1b2)]=new _0x142fdf(_0xd7da76),this[_0x19cc06(0x194)]=new _0x18681b(_0xd7da76),this[_0x19cc06(0x1ac)]=new _0x320bea(_0xd7da76,_0x2c6db0),this[_0x19cc06(0x17f)]=new _0x9cac47(_0xd7da76),this[_0x19cc06(0x17f)][_0x19cc06(0x190)](this[_0x19cc06(0x193)]()),this[_0x19cc06(0x195)](_0x19cc06(0x18c),_0x7a0e49),this[_0x19cc06(0x190)]({'tag':_0x19cc06(0x197),'attributes':{'class':['ck',_0x19cc06(0x19d),_0x19cc06(0x1ae)],'tabindex':'-1'},'children':this[_0x19cc06(0x1a2)]}),this[_0x19cc06(0x198)](),this[_0x19cc06(0x192)](_0x19cc06(0x1a7),()=>{const _0x29dd2e=_0x19cc06;this[_0x29dd2e(0x1aa)](this[_0x29dd2e(0x1a4)],_0x9bbb83=>{const _0x38b28a=_0x29dd2e;this[_0x38b28a(0x18e)](_0x9bbb83);});}),this['on'](_0x19cc06(0x1b0),()=>{const _0x2c14e3=_0x19cc06;this[_0x2c14e3(0x198)]();}),this[_0x19cc06(0x17d)]();}[_0x2a04be(0x188)](){const _0x14b69f=_0x2a04be;this[_0x14b69f(0x1a4)][_0x14b69f(0x188)]();}[_0x2a04be(0x198)](){const _0x1872d0=_0x2a04be;switch(this[_0x1872d0(0x1a2)][_0x1872d0(0x184)](),this[_0x1872d0(0x18c)]){case _0x1872d0(0x183):this[_0x1872d0(0x1a2)][_0x1872d0(0x181)](this[_0x1872d0(0x1b2)]);break;case _0x1872d0(0x180):this[_0x1872d0(0x1a2)][_0x1872d0(0x181)](this[_0x1872d0(0x194)]);break;case _0x1872d0(0x187):this[_0x1872d0(0x1a2)][_0x1872d0(0x1ad)]([this[_0x1872d0(0x1ac)],this[_0x1872d0(0x17f)]]);}}[_0x2a04be(0x1aa)](_0x368382,_0x5b3916){const _0x2c67b5=_0x2a04be,_0x2f626c=_0x2c67b5(0x19f),_0x3e7735=_0x368382[_0x2c67b5(0x18a)](_0x2f626c);if(_0x3e7735)return _0x5b3916(_0x3e7735);const _0x5b50de=new MutationObserver(_0xe0ee01=>{const _0x3a346b=_0x2c67b5,_0x55271c=_0xe0ee01[_0x3a346b(0x19b)](_0x422aa0=>_0x422aa0[_0x3a346b(0x1ab)]===_0x368382&&_0x422aa0[_0x3a346b(0x19c)][_0x3a346b(0x17c)]>0x0&&_0x422aa0[_0x3a346b(0x19c)][0x0][_0x3a346b(0x199)][_0x3a346b(0x1a3)]()===_0x2f626c);_0x55271c[_0x3a346b(0x17c)]&&(_0x5b50de[_0x3a346b(0x1af)](),_0x5b3916(_0x55271c[0x0][_0x3a346b(0x19c)][0x0]));});_0x5b50de[_0x2c67b5(0x189)](_0x368382,{'childList':!0x0,'subtree':!0x0});}[_0x2a04be(0x18e)](_0x2986c8){const _0x4c627c=_0x2a04be;_0x2986c8[_0x4c627c(0x19a)](_0x4c627c(0x1a5),_0x28ab73=>{const _0x589a92=_0x4c627c;this[_0x589a92(0x1a1)](_0x589a92(0x1a5),{'imageSrc':_0x28ab73[_0x589a92(0x182)][_0x589a92(0x17e)]});}),_0x2986c8[_0x4c627c(0x19a)](_0x4c627c(0x18b),()=>{const _0xaf37a7=_0x4c627c;this[_0xaf37a7(0x1a1)](_0xaf37a7(0x18b));});}[_0x2a04be(0x17d)](){const _0x14b0a0=_0x2a04be;this[_0x14b0a0(0x194)]['on'](_0x14b0a0(0x1a8),()=>{const _0x5e28ef=_0x14b0a0;this[_0x5e28ef(0x1a1)](_0x5e28ef(0x1a8));});}}
@@ -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 _0x4989b9=_0x2810;(function(_0x168a43,_0x23a9a5){const _0x52c7c9=_0x2810,_0x5d8f16=_0x168a43();while(!![]){try{const _0x19938b=-parseInt(_0x52c7c9(0x135))/0x1+parseInt(_0x52c7c9(0x129))/0x2*(parseInt(_0x52c7c9(0x12b))/0x3)+-parseInt(_0x52c7c9(0x143))/0x4+parseInt(_0x52c7c9(0x12e))/0x5*(-parseInt(_0x52c7c9(0x13f))/0x6)+-parseInt(_0x52c7c9(0x144))/0x7+-parseInt(_0x52c7c9(0x13a))/0x8+parseInt(_0x52c7c9(0x136))/0x9;if(_0x19938b===_0x23a9a5)break;else _0x5d8f16['push'](_0x5d8f16['shift']());}catch(_0x434eb1){_0x5d8f16['push'](_0x5d8f16['shift']());}}}(_0x2439,0x9c9bb));import{Command as _0x369ab4}from'ckeditor5/src/core.js';function _0x2439(){const _0x1f62d3=['selection','set','uploadcare.allowExternalImagesEditing','4920768yzXxOr','model','getSelectedElement','execute','config','48lnIXUT','bind','element','plugins','5035844xSxeql','8293551qWQCNS','get','document','imageBlock','2120lOAWay','isEnabled','3630sFfAyo','imageInline','isActive','16950evtdtX','imageEditController','unbind','refresh','editor','requires','_isEditable','938223cNcBiU','30447540gtlZMG'];_0x2439=function(){return _0x1f62d3;};return _0x2439();}import{Dialog as _0x120d29}from'ckeditor5/src/ui.js';import _0x26faed from'./ui/uploadcareimageeditcontroller.js';function _0x2810(_0x3f9caa,_0x4c77ec){const _0x243924=_0x2439();return _0x2810=function(_0x28104f,_0x3da80d){_0x28104f=_0x28104f-0x129;let _0x2c0b67=_0x243924[_0x28104f];return _0x2c0b67;},_0x2810(_0x3f9caa,_0x4c77ec);}import{createEditabilityChecker as _0xab873}from'../utils/editingutils.js';export default class J extends _0x369ab4{[_0x4989b9(0x12f)];static get[_0x4989b9(0x133)](){return[_0x120d29];}[_0x4989b9(0x134)];constructor(_0x1c6a53){const _0x1deb04=_0x4989b9;super(_0x1c6a53),this[_0x1deb04(0x12f)]=void 0x0,this[_0x1deb04(0x134)]=_0xab873(_0x1c6a53[_0x1deb04(0x13e)][_0x1deb04(0x145)](_0x1deb04(0x139))||[]),this[_0x1deb04(0x138)]({'isActive':!0x1});}[_0x4989b9(0x131)](){const _0x4f26dc=_0x4989b9,_0x30c38e=this[_0x4f26dc(0x132)][_0x4f26dc(0x13b)][_0x4f26dc(0x146)][_0x4f26dc(0x137)][_0x4f26dc(0x13c)]();this[_0x4f26dc(0x12a)]=this[_0x4f26dc(0x134)](_0x30c38e);}[_0x4989b9(0x13d)](){const _0x4e2bea=_0x4989b9;this[_0x4e2bea(0x12f)]&&(this[_0x4e2bea(0x130)](_0x4e2bea(0x12d)),this[_0x4e2bea(0x12f)]=void 0x0);const _0x42fd08=this[_0x4e2bea(0x132)][_0x4e2bea(0x13b)][_0x4e2bea(0x146)][_0x4e2bea(0x137)][_0x4e2bea(0x13c)]();_0x42fd08&&(_0x42fd08['is'](_0x4e2bea(0x141),_0x4e2bea(0x147))||_0x42fd08['is'](_0x4e2bea(0x141),_0x4e2bea(0x12c)))&&(this[_0x4e2bea(0x12f)]=new _0x26faed(this[_0x4e2bea(0x132)],this[_0x4e2bea(0x132)][_0x4e2bea(0x142)][_0x4e2bea(0x145)](_0x120d29),_0x42fd08),this[_0x4e2bea(0x140)](_0x4e2bea(0x12d))['to'](this[_0x4e2bea(0x12f)],_0x4e2bea(0x12d)));}}
@@ -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
+ function _0x411d(_0x139a6a,_0x3363c5){const _0x26f532=_0x26f5();return _0x411d=function(_0x411dca,_0x436465){_0x411dca=_0x411dca-0xa0;let _0x2a89cb=_0x26f532[_0x411dca];return _0x2a89cb;},_0x411d(_0x139a6a,_0x3363c5);}function _0x26f5(){const _0x346cae=['pluginName','6826136QacWmB','74030IVbyin','1891290pvMcSD','9sBmmZK','ImageUtils','5269902hgDGvP','init','requires','add','ImageEditing','UploadcareImageEditEditing','4gzEDsI','9052UTOSKX','uploadcareImageReplace','16443BZpSgp','uploadcareImageEdit','commands','3522YMBXJo','2423787vLerEF','isPremiumPlugin','isOfficialPlugin','202TnnnTb'];_0x26f5=function(){return _0x346cae;};return _0x26f5();}const _0xab4a23=_0x411d;(function(_0x2a30a7,_0x1596b5){const _0x52f25d=_0x411d,_0x54d1ed=_0x2a30a7();while(!![]){try{const _0x5142df=parseInt(_0x52f25d(0xae))/0x1*(parseInt(_0x52f25d(0xa0))/0x2)+parseInt(_0x52f25d(0xb4))/0x3*(-parseInt(_0x52f25d(0xad))/0x4)+-parseInt(_0x52f25d(0xa4))/0x5+-parseInt(_0x52f25d(0xb3))/0x6*(-parseInt(_0x52f25d(0xb0))/0x7)+parseInt(_0x52f25d(0xa2))/0x8*(-parseInt(_0x52f25d(0xa5))/0x9)+parseInt(_0x52f25d(0xa3))/0xa+parseInt(_0x52f25d(0xa7))/0xb;if(_0x5142df===_0x1596b5)break;else _0x54d1ed['push'](_0x54d1ed['shift']());}catch(_0x417dc2){_0x54d1ed['push'](_0x54d1ed['shift']());}}}(_0x26f5,0xb4b32));import{Plugin as _0x3a032b}from'ckeditor5/src/core.js';import{Notification as _0x93c384}from'ckeditor5/src/ui.js';import _0x423c9e from'./uploadcareimageeditcommand.js';import _0x1fe0fe from'./uploadcareimagereplacecommand.js';import _0x3b2f0b from'../uploadcareediting.js';export default class g extends _0x3a032b{static get[_0xab4a23(0xa1)](){const _0x591b0e=_0xab4a23;return _0x591b0e(0xac);}static get[_0xab4a23(0xa9)](){const _0x45cac6=_0xab4a23;return[_0x3b2f0b,_0x93c384,_0x45cac6(0xa6),_0x45cac6(0xab)];}static get[_0xab4a23(0xb6)](){return!0x0;}static get[_0xab4a23(0xb5)](){return!0x0;}[_0xab4a23(0xa8)](){const _0x249c63=_0xab4a23,{editor:_0xa2736c}=this;_0xa2736c[_0x249c63(0xb2)][_0x249c63(0xaa)](_0x249c63(0xb1),new _0x423c9e(_0xa2736c)),_0xa2736c[_0x249c63(0xb2)][_0x249c63(0xaa)](_0x249c63(0xaf),new _0x1fe0fe(_0xa2736c));}}
@@ -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 _0x4ad9ae}from'ckeditor5/src/core.js';import{ButtonView as _0x18307e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x442632}from'ckeditor5/src/icons.js';import{createElement as _0x5f7f81}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 _0x4ad9ae{['_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 _0x4bec51=this['editor'];_0x4bec51['ui']['componentFactory']['add']('uploadcareImageEdit',_0xe90c2f=>{const _0x45d946=_0x4bec51['commands']['get']('uploadcareImageEdit'),_0x23ee83=new _0x18307e(_0xe90c2f),t=_0xe90c2f['t'];return _0x23ee83['set']({'icon':_0x442632,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x23ee83['bind']('isEnabled')['to'](_0x45d946),_0x23ee83['bind']('isOn')['to'](_0x45d946,'isActive'),this['listenTo'](_0x23ee83,'execute',()=>{_0x4bec51['execute']('uploadcareImageEdit'),_0x4bec51['editing']['view']['focus']();}),_0x23ee83;}),this['_initConfig']();}['_initConfig'](){const _0x67152e=_0x5f7f81(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x67152e),this['listenTo'](this['editor'],'destroy',()=>{_0x67152e['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 _0x11fcf5=_0xaf63;(function(_0x9c49ae,_0x531d27){const _0x42d0a2=_0xaf63,_0x13de14=_0x9c49ae();while(!![]){try{const _0xf7d126=-parseInt(_0x42d0a2(0x19c))/0x1*(parseInt(_0x42d0a2(0x1af))/0x2)+-parseInt(_0x42d0a2(0x19d))/0x3+-parseInt(_0x42d0a2(0x1a7))/0x4+-parseInt(_0x42d0a2(0x1a0))/0x5+parseInt(_0x42d0a2(0x1b2))/0x6+-parseInt(_0x42d0a2(0x1a8))/0x7*(parseInt(_0x42d0a2(0x1a5))/0x8)+parseInt(_0x42d0a2(0x1a9))/0x9;if(_0xf7d126===_0x531d27)break;else _0x13de14['push'](_0x13de14['shift']());}catch(_0x1e789f){_0x13de14['push'](_0x13de14['shift']());}}}(_0x3d51,0xf0ec2));function _0xaf63(_0x1e778f,_0x8c55d8){const _0x3d51f3=_0x3d51();return _0xaf63=function(_0xaf63db,_0x12b759){_0xaf63db=_0xaf63db-0x19b;let _0x31621b=_0x3d51f3[_0xaf63db];return _0x31621b;},_0xaf63(_0x1e778f,_0x8c55d8);}function _0x3d51(){const _0x46c64f=['9837940kckIar','selection','editor','imageInline','setAttributes','8wiJoDo','change','3974928Oznooo','4472881wGSMDY','58366647avtXgN','element','getSelectedElement','refresh','srcset','imageBlock','8zlFDDQ','model','removeAttribute','1886430sDeepa','document','isEnabled','289607PIYfui','3162117wwyAhT','execute','sizes'];_0x3d51=function(){return _0x46c64f;};return _0x3d51();}import{Command as _0x50cb25}from'ckeditor5/src/core.js';export default class O extends _0x50cb25{[_0x11fcf5(0x1ac)](){const _0x2798be=_0x11fcf5,_0x275dce=this[_0x2798be(0x1a2)][_0x2798be(0x1b0)][_0x2798be(0x1b3)][_0x2798be(0x1a1)][_0x2798be(0x1ab)]();this[_0x2798be(0x19b)]=Boolean(_0x275dce&&(_0x275dce['is'](_0x2798be(0x1aa),_0x2798be(0x1ae))||_0x275dce['is'](_0x2798be(0x1aa),_0x2798be(0x1a3))));}[_0x11fcf5(0x19e)](_0x49cb4b){const _0x5269b2=_0x11fcf5,_0x52f4c3=this[_0x5269b2(0x1a2)][_0x5269b2(0x1b0)][_0x5269b2(0x1b3)][_0x5269b2(0x1a1)][_0x5269b2(0x1ab)]();this[_0x5269b2(0x1a2)][_0x5269b2(0x1b0)][_0x5269b2(0x1a6)](_0x1c744c=>{const _0x26a036=_0x5269b2;_0x1c744c[_0x26a036(0x1a4)](_0x49cb4b,_0x52f4c3),_0x1c744c[_0x26a036(0x1b1)](_0x26a036(0x1ad),_0x52f4c3),_0x1c744c[_0x26a036(0x1b1)](_0x26a036(0x19f),_0x52f4c3);});}}
@@ -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 _0x3d0cb3=_0x18e3;(function(_0x466216,_0x80c3b0){var _0x2f3603=_0x18e3,_0x519621=_0x466216();while(!![]){try{var _0x205c2c=-parseInt(_0x2f3603(0x177))/0x1+-parseInt(_0x2f3603(0x184))/0x2+parseInt(_0x2f3603(0x17c))/0x3*(parseInt(_0x2f3603(0x180))/0x4)+-parseInt(_0x2f3603(0x181))/0x5*(-parseInt(_0x2f3603(0x17b))/0x6)+parseInt(_0x2f3603(0x186))/0x7*(-parseInt(_0x2f3603(0x17a))/0x8)+parseInt(_0x2f3603(0x17f))/0x9+-parseInt(_0x2f3603(0x185))/0xa*(-parseInt(_0x2f3603(0x178))/0xb);if(_0x205c2c===_0x80c3b0)break;else _0x519621['push'](_0x519621['shift']());}catch(_0x5f4ae1){_0x519621['push'](_0x519621['shift']());}}}(_0x3717,0x7d7dc));import{Plugin as _0x8bcbc}from'ckeditor5/src/core.js';import _0x27a8eb from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x18e3(_0x1fb714,_0x19ace6){var _0x3717f8=_0x3717();return _0x18e3=function(_0x18e374,_0x527ec9){_0x18e374=_0x18e374-0x177;var _0x2258ed=_0x3717f8[_0x18e374];return _0x2258ed;},_0x18e3(_0x1fb714,_0x19ace6);}import _0x1e5298 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3717(){var _0x32223d=['isPremiumPlugin','3211749guErzI','4EZlGuR','5WXYbjP','isOfficialPlugin','pluginName','1393842iwKsDD','4378720GZyKhq','64302PPDWcX','137884TFMIbj','11xuxAqz','UploadcareImageEdit','232fmPwvT','3737586eanypq','592641ysqmIw','requires'];_0x3717=function(){return _0x32223d;};return _0x3717();}export default class P extends _0x8bcbc{static get[_0x3d0cb3(0x183)](){var _0x473787=_0x3d0cb3;return _0x473787(0x179);}static get[_0x3d0cb3(0x17d)](){return[_0x27a8eb,_0x1e5298];}static get[_0x3d0cb3(0x182)](){return!0x0;}static get[_0x3d0cb3(0x17e)](){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
+ const _0x587947=_0x18e7;(function(_0x524e4e,_0x1f654a){const _0x34dca3=_0x18e7,_0x1b8619=_0x524e4e();while(!![]){try{const _0x11d1e6=parseInt(_0x34dca3(0x183))/0x1*(parseInt(_0x34dca3(0x18e))/0x2)+-parseInt(_0x34dca3(0x17f))/0x3*(parseInt(_0x34dca3(0x1b9))/0x4)+parseInt(_0x34dca3(0x181))/0x5*(parseInt(_0x34dca3(0x174))/0x6)+-parseInt(_0x34dca3(0x194))/0x7+parseInt(_0x34dca3(0x19a))/0x8*(parseInt(_0x34dca3(0x195))/0x9)+-parseInt(_0x34dca3(0x1b6))/0xa+parseInt(_0x34dca3(0x176))/0xb*(parseInt(_0x34dca3(0x19c))/0xc);if(_0x11d1e6===_0x1f654a)break;else _0x1b8619['push'](_0x1b8619['shift']());}catch(_0x516057){_0x1b8619['push'](_0x1b8619['shift']());}}}(_0x36f7,0xebc09));import{Plugin as _0x1f4357}from'ckeditor5/src/core.js';import{IconDropbox as _0x3687bd,IconFacebook as _0x30826b,IconGoogleDrive as _0x4cd1a0,IconGooglePhotos as _0x5935b2,IconUploadcareImageUpload as _0x5c1d5b,IconUploadcareLink as _0x2eecd6,IconOneDrive as _0x5ef465}from'ckeditor5/src/icons.js';import{ButtonView as _0x1564d3,MenuBarMenuListItemButtonView as _0x30a9be}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5044fb}from'./uploadcareconfig.js';import{getTranslation as _0x8ad237}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x18e7(_0x1a876c,_0x4ea548){const _0x36f7d9=_0x36f7();return _0x18e7=function(_0x18e741,_0x513f42){_0x18e741=_0x18e741-0x174;let _0x41f06a=_0x36f7d9[_0x18e741];return _0x41f06a;},_0x18e7(_0x1a876c,_0x4ea548);}import'../theme/uploadcare-theme.css';function _0x36f7(){const _0x15e384=['isImageSelected','evaluationLimit','18820PVvwRR','execute','commands','ImageInsertUI','isEnabled','_createToolbarButton','entries','_createMenuBarButtons','icon','assetManager','Replace','locale','tooltip','GPhotos','618XsWwPt','trialLimit','11EzuTqH','config','_getIntegrationKey','_licenseKeyCheckInterval','uploadcare.uploader.sourceList','_createButton','registerIntegration','uploadcareLicenseKeyValid','_showLicenseError','1137oWNROb','UploadcareUI','79855zqJoPy','OneDrive','1MQofvw','uploadcareLicenseKeyTrialLimit','map','bind','shortText','upload','uploadcareLicenseKeyExpired','has','afterInit','uploadcareLicenseKeyNotAllowed','type','2021444UjBIdj','uploadcareLicenseKeyDomainLimit','withText','push','init','plugins','5942146JxffiW','5740542TiwzFP','Uploadcare','uploadcareLicenseKeyInvalid','label','editor','8NPnWVq','_createDropdownButtons','17376300cMcJNY','Dropbox','uploadcare','isOfficialPlugin','Facebook','GDrive','destroy','Local','pluginName','text','expired','url','licenseKey','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','URL','Insert','featureNotAllowed','invalid','uploadcareLicenseKeyUsageLimit','forEach','reduce','usageLimit','domainLimit','get','11438840DYQRSa'];_0x36f7=function(){return _0x15e384;};return _0x36f7();}import'../theme/uploadcareimageedit.css';export default class e extends _0x1f4357{[_0x587947(0x1a8)];[_0x587947(0x179)];static get[_0x587947(0x1a4)](){const _0x4f0fc4=_0x587947;return _0x4f0fc4(0x180);}static get[_0x587947(0x19f)](){return!0x0;}static get[_0x587947(0x1ab)](){return!0x0;}[_0x587947(0x192)](){const _0x224a03=_0x587947;this[_0x224a03(0x1a8)]=this[_0x224a03(0x199)][_0x224a03(0x177)][_0x224a03(0x1b5)](_0x224a03(0x1a8));const _0x477a84=this[_0x224a03(0x199)];this[_0x224a03(0x179)]=setInterval(()=>{const _0x33c211=_0x224a03;let _0x28ccdb;for(const _0x4e6ea9 in _0x477a84){const _0x54917e=_0x4e6ea9,_0x516550=_0x477a84[_0x54917e];if(_0x33c211(0x17d)==_0x516550||_0x33c211(0x197)==_0x516550||_0x33c211(0x189)==_0x516550||_0x33c211(0x18f)==_0x516550||_0x33c211(0x18c)==_0x516550||_0x33c211(0x1aa)==_0x516550||_0x33c211(0x184)==_0x516550||_0x33c211(0x1b0)==_0x516550){delete _0x477a84[_0x54917e],_0x28ccdb=_0x516550,clearInterval(this[_0x33c211(0x179)]),this[_0x33c211(0x179)]=void 0x0;break;}}_0x33c211(0x197)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1af)),_0x33c211(0x189)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1a6)),_0x33c211(0x18f)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1b4)),_0x33c211(0x18c)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1ae),_0x33c211(0x196)),_0x33c211(0x1aa)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1b8)),_0x33c211(0x184)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x175)),_0x33c211(0x1b0)==_0x28ccdb&&_0x477a84[_0x33c211(0x17e)](_0x33c211(0x1b3));},0x3e8);}[_0x587947(0x18b)](){const _0x2a2caf=_0x587947,{editor:_0x2a682a}=this,_0x3adf56=_0x2a682a[_0x2a2caf(0x1bb)][_0x2a2caf(0x1b5)](_0x2a2caf(0x19e));if(!_0x3adf56)return;const _0x46737e=this[_0x2a2caf(0x1a9)](_0x2a682a[_0x2a2caf(0x177)][_0x2a2caf(0x1b5)](_0x2a2caf(0x17a)))[_0x2a2caf(0x1b2)]((_0x4ae1ec,_0x3ea394)=>{const _0x52b7f3=_0x2a2caf,_0x39573e=this[_0x52b7f3(0x178)](_0x3ea394[_0x52b7f3(0x18d)]);return _0x4ae1ec[_0x39573e]||(_0x4ae1ec[_0x39573e]=[]),_0x4ae1ec[_0x39573e][_0x52b7f3(0x191)](_0x3ea394),_0x4ae1ec;},{});_0x2a682a[_0x2a2caf(0x193)][_0x2a2caf(0x18a)](_0x2a2caf(0x1bc))&&_0x2a682a[_0x2a2caf(0x1bb)][_0x2a2caf(0x1b5)](_0x2a2caf(0x19e))&&Object[_0x2a2caf(0x1bf)](_0x46737e)[_0x2a2caf(0x1b1)](([_0x54e9a5,_0x5c3b29])=>{const _0x26505b=_0x2a2caf;_0x2a682a[_0x26505b(0x193)][_0x26505b(0x1b5)](_0x26505b(0x1bc))[_0x26505b(0x17c)]({'name':_0x54e9a5,'observable':()=>_0x3adf56,'buttonViewCreator':()=>this[_0x26505b(0x1be)](_0x5c3b29),'formViewCreator':()=>this[_0x26505b(0x19b)](_0x5c3b29),'menuBarButtonViewCreator':()=>this[_0x26505b(0x1c0)](_0x5c3b29),'override':_0x26505b(0x1c2)!==_0x54e9a5});});}[_0x587947(0x1a2)](){const _0x179a0f=_0x587947;super[_0x179a0f(0x1a2)](),this[_0x179a0f(0x179)]&&clearInterval(this[_0x179a0f(0x179)]);}[_0x587947(0x1a9)](_0x3c1ccf){const _0x37b3c1=_0x587947,{locale:_0x523379}=this[_0x37b3c1(0x199)];return _0x3c1ccf[_0x37b3c1(0x185)](_0x10d9cf=>{const _0x1645b6=_0x37b3c1,_0x5c8672=_0x8ad237(_0x523379,_0x10d9cf,_0x1645b6(0x1ad));switch(_0x10d9cf){case _0x5044fb[_0x1645b6(0x1a3)]:return{'icon':_0x5c1d5b,'type':_0x5044fb[_0x1645b6(0x1a3)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x1ac)]:return{'icon':_0x2eecd6,'type':_0x5044fb[_0x1645b6(0x1ac)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x19d)]:return{'icon':_0x3687bd,'type':_0x5044fb[_0x1645b6(0x19d)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x1a0)]:return{'icon':_0x30826b,'type':_0x5044fb[_0x1645b6(0x1a0)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x1a1)]:return{'icon':_0x4cd1a0,'type':_0x5044fb[_0x1645b6(0x1a1)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x1c6)]:return{'icon':_0x5935b2,'type':_0x5044fb[_0x1645b6(0x1c6)],..._0x5c8672};case _0x5044fb[_0x1645b6(0x182)]:return{'icon':_0x5ef465,'type':_0x5044fb[_0x1645b6(0x182)],..._0x5c8672};}});}[_0x587947(0x178)](_0x191367){const _0x22b760=_0x587947;switch(_0x191367){case _0x5044fb[_0x22b760(0x1a3)]:return _0x22b760(0x188);case _0x5044fb[_0x22b760(0x1ac)]:return _0x22b760(0x1a7);default:return _0x22b760(0x1c2);}}[_0x587947(0x17b)](_0xae2a85,_0x137792){const _0x595955=_0x587947,_0x395494=this[_0x595955(0x199)],_0x467e11=new _0xae2a85(_0x395494[_0x595955(0x1c4)]),_0x50cb93=_0x395494[_0x595955(0x1bb)][_0x595955(0x1b5)](_0x595955(0x19e));return _0x467e11[_0x595955(0x186)](_0x595955(0x1bd))['to'](_0x50cb93),_0x467e11['on'](_0x595955(0x1ba),()=>{const _0x1189a1=_0x595955;_0x50cb93[_0x1189a1(0x1ba)](_0x137792);}),_0x467e11;}[_0x587947(0x1be)](_0x1a4fbe){const _0x3c08d5=_0x587947,{locale:_0x266cfa}=this[_0x3c08d5(0x199)],_0x14c513=this[_0x3c08d5(0x199)][_0x3c08d5(0x193)][_0x3c08d5(0x1b5)](_0x3c08d5(0x1bc)),_0x55add0=_0x1a4fbe[0x0],_0xccd00d=this[_0x3c08d5(0x17b)](_0x1564d3,_0x55add0[_0x3c08d5(0x18d)]);return _0xccd00d[_0x3c08d5(0x1c1)]=_0x55add0[_0x3c08d5(0x1c1)],_0xccd00d[_0x3c08d5(0x186)](_0x3c08d5(0x198))['to'](_0x14c513,_0x3c08d5(0x1b7),_0x2dea34=>_0x8ad237(_0x266cfa,_0x55add0[_0x3c08d5(0x18d)],_0x2dea34?_0x3c08d5(0x1c3):_0x3c08d5(0x1ad))[_0x3c08d5(0x1a5)]),_0xccd00d[_0x3c08d5(0x1c5)]=!0x0,_0xccd00d;}[_0x587947(0x19b)](_0x305f67){const _0x4b10e8=_0x587947,{locale:_0x1d250e}=this[_0x4b10e8(0x199)],_0x6f85ca=this[_0x4b10e8(0x199)][_0x4b10e8(0x193)][_0x4b10e8(0x1b5)](_0x4b10e8(0x1bc));return _0x305f67[_0x4b10e8(0x185)](_0x2cc8eb=>{const _0xc6e24b=_0x4b10e8,_0x5f4592=this[_0xc6e24b(0x17b)](_0x1564d3,_0x2cc8eb[_0xc6e24b(0x18d)]);return _0x5f4592[_0xc6e24b(0x190)]=!0x0,_0x5f4592[_0xc6e24b(0x1c1)]=_0x2cc8eb[_0xc6e24b(0x1c1)],_0x5f4592[_0xc6e24b(0x186)](_0xc6e24b(0x198))['to'](_0x6f85ca,_0xc6e24b(0x1b7),_0x5eebe8=>_0x8ad237(_0x1d250e,_0x2cc8eb[_0xc6e24b(0x18d)],_0x5eebe8?_0xc6e24b(0x1c3):_0xc6e24b(0x1ad))[_0xc6e24b(0x1a5)]),_0x5f4592;});}[_0x587947(0x1c0)](_0x1c72bd){const _0x7a77eb=_0x587947;return _0x1c72bd[_0x7a77eb(0x185)](_0x9c4a44=>{const _0x1d0275=_0x7a77eb,_0x143ae4=this[_0x1d0275(0x17b)](_0x30a9be,_0x9c4a44[_0x1d0275(0x18d)]);return _0x143ae4[_0x1d0275(0x1c1)]=_0x9c4a44[_0x1d0275(0x1c1)],_0x143ae4[_0x1d0275(0x198)]=_0x9c4a44[_0x1d0275(0x187)],_0x143ae4;});}}
@@ -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 _0x438628}from'ckeditor5/src/core.js';import{FileRepository as _0x1c00ec}from'ckeditor5/src/upload.js';import _0x19985e from'./uploadcareediting.js';import _0x3af1a5 from'./utils/uploadutils.js';import{getImageUrls as _0x9af076}from'./utils/editingutils.js';export default class p extends _0x438628{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1c00ec,_0x19985e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6a815a=this['editor'];if(!!!_0x6a815a['config']['get']('uploadcare'))return;_0x6a815a['plugins']['get'](_0x1c00ec)['createUploadAdapter']=_0x45cc99=>new x(_0x45cc99,_0x6a815a),_0x6a815a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c4cf5,{imageElement:_0x518bed,data:_0x14265d})=>{_0x6a815a['model']['change'](_0x9f1103=>{_0x9f1103['setAttribute']('uploadcareImageId',_0x14265d['uploadcareImageId'],_0x518bed);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4769ae,_0x4c9f0f){this['loader']=_0x4769ae,this['editor']=_0x4c9f0f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1ba00e=this['editor']['config']['get']('uploadcare.pubkey'),_0x83cc46=await this['loader']['file'];return _0x3af1a5['upload']({'file':_0x83cc46,'publicKey':_0x1ba00e,'signal':this['controller']['signal'],'onProgress':_0x23fdd4=>{_0x23fdd4&&_0x23fdd4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x23fdd4['value']);}})['then'](async _0x3b509=>{const {imageFallbackUrl:_0x59546f,imageSources:_0x23c7ac}=_0x9af076(_0x3b509['cdnUrl'],_0x3b509['imageInfo']['width']);return{'uploadcareImageId':_0x3b509['uuid'],'default':_0x59546f,'sources':_0x23c7ac};})['catch'](()=>{const _0x2c6bed=t('Cannot\x20upload\x20file:')+('\x20'+_0x83cc46['name']+'.');return Promise['reject'](_0x2c6bed);});}['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 _0x5e8551}from'../uploadcareconfig.js';export function getTranslation(_0x59fabc,_0x4d58f1,_0x3b6e1a){const t=_0x59fabc['t'],_0xe02083=_0x59fabc['t'];switch(_0x4d58f1){case _0x5e8551['Local']:return{'text':_0xe02083('Insert'===_0x3b6e1a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xe02083('From\x20computer')};case _0x5e8551['URL']:return{'text':'Insert'===_0x3b6e1a?_0xe02083('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xe02083('Via\x20URL')};case _0x5e8551['Dropbox']:return{'text':t('Insert'===_0x3b6e1a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5e8551['Facebook']:return{'text':t('Insert'===_0x3b6e1a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5e8551['GDrive']:return{'text':t('Insert'===_0x3b6e1a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5e8551['GPhotos']:return{'text':t('Insert'===_0x3b6e1a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5e8551['OneDrive']:return{'text':t('Insert'===_0x3b6e1a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4d58f1;}}
@@ -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 _0x267bfb=_0x25a5;function _0x55c7(){var _0x502198=['2676FUrUYo','true','7686075sIPQcZ','focusTracker','9qNntIz','div','4291032wUvwii','focusCycler','1487278lxDall','3464048hkCHzy','615VXWEdl','6JKujsu','forwardCycle','1376759XvqSVo','fire','getFocusableElement','bindTemplate','createCollection','25565090JFhaaZ'];_0x55c7=function(){return _0x502198;};return _0x55c7();}function _0x25a5(_0x365bc3,_0x201d6b){var _0x55c7d5=_0x55c7();return _0x25a5=function(_0x25a5f6,_0x2976af){_0x25a5f6=_0x25a5f6-0x1ca;var _0x4509ea=_0x55c7d5[_0x25a5f6];return _0x4509ea;},_0x25a5(_0x365bc3,_0x201d6b);}(function(_0x3e1fc3,_0x3aa16f){var _0x135ab4=_0x25a5,_0x2ccf97=_0x3e1fc3();while(!![]){try{var _0x24ea45=parseInt(_0x135ab4(0x1d7))/0x1+parseInt(_0x135ab4(0x1d2))/0x2+parseInt(_0x135ab4(0x1d4))/0x3*(-parseInt(_0x135ab4(0x1ca))/0x4)+parseInt(_0x135ab4(0x1cc))/0x5*(parseInt(_0x135ab4(0x1d5))/0x6)+parseInt(_0x135ab4(0x1d3))/0x7+parseInt(_0x135ab4(0x1d0))/0x8*(-parseInt(_0x135ab4(0x1ce))/0x9)+-parseInt(_0x135ab4(0x1dc))/0xa;if(_0x24ea45===_0x3aa16f)break;else _0x2ccf97['push'](_0x2ccf97['shift']());}catch(_0x4431c3){_0x2ccf97['push'](_0x2ccf97['shift']());}}}(_0x55c7,0xe134c));import{FocusTracker as _0x4e34e2}from'ckeditor5/src/utils.js';import{View as _0x2f5cdc,FocusCycler as _0x114a2c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x2f5cdc{[_0x267bfb(0x1cd)];[_0x267bfb(0x1d1)];constructor(_0xe227f){var _0xaef8db=_0x267bfb;super(_0xe227f),this[_0xaef8db(0x1cd)]=new _0x4e34e2(),this[_0xaef8db(0x1d1)]=new _0x114a2c({'focusables':this[_0xaef8db(0x1db)](),'focusTracker':this[_0xaef8db(0x1cd)]});}[_0x267bfb(0x1d9)](){var _0x498423=_0x267bfb;return{'tag':_0x498423(0x1cf),'attributes':{'aria-hidden':_0x498423(0x1cb),'tabindex':'0'},'on':{'focus':this[_0x498423(0x1da)]['to'](()=>{var _0x3aa85d=_0x498423;this[_0x3aa85d(0x1d1)][_0x3aa85d(0x1d8)](_0x3aa85d(0x1d6));})}};}}