@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250221.0 → 0.0.0-nightly-next-20250222.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e9fc0=_0x2bd0;function _0x2bd0(_0x2c9650,_0x236b30){const _0xf74479=_0xf744();return _0x2bd0=function(_0x2bd05b,_0x5c38d8){_0x2bd05b=_0x2bd05b-0x122;let _0x4c8613=_0xf74479[_0x2bd05b];return _0x4c8613;},_0x2bd0(_0x2c9650,_0x236b30);}function _0xf744(){const _0x277a4d=['cleanupImage','2278800WFttsl','uploader','once','#uc-icon-arrow-down','_initCtx','extend','config','_initSchema','for','insertImage','_initConversion','_ctxElement','pluginName','replaceImageSource','selection','272831mkMpcT','true','getAttribute','init','downcast','input[uploadcare-file-input]','model','document','map','uploadcareImageReplace','uploadcare','uc-config','commands','get','983105LrdGei','_initConfig','body','data-uc-image-id','schema','ctxElement','configElement','querySelector','listenTo','1026956CkOedR','editor','upcast','locale','_initImageProcessingIndicator','afterInit','20oKmAze','uploadcareImageId','join','16YSMBFv','view','PictureEditing','isPremiumPlugin','imageInline','isRegistered','3WkVoMO','add','isOfficialPlugin','destroy','iconHrefResolver','5449680rTtJnM','uc-upload-ctx-provider','_configElement','contentLanguage','uploadcare.pubkey','removeAttribute','\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','href','remove','closeMax','fromCharCode','getSelectedElement','imageBlock','attributeToAttribute','appendChild','execute','uploadcare.uploader','2806794CiAvdW','1754746NzmymG','render','UploadcareEditing','conversion','elementToAttribute','editing','requires'];_0xf744=function(){return _0x277a4d;};return _0xf744();}(function(_0xe61898,_0x6b0ff9){const _0x5c1e96=_0x2bd0,_0x56465b=_0xe61898();while(!![]){try{const _0x21d170=-parseInt(_0x5c1e96(0x166))/0x1+parseInt(_0x5c1e96(0x14f))/0x2*(-parseInt(_0x5c1e96(0x138))/0x3)+-parseInt(_0x5c1e96(0x12f))/0x4*(-parseInt(_0x5c1e96(0x174))/0x5)+-parseInt(_0x5c1e96(0x157))/0x6+-parseInt(_0x5c1e96(0x129))/0x7*(-parseInt(_0x5c1e96(0x132))/0x8)+parseInt(_0x5c1e96(0x14e))/0x9+parseInt(_0x5c1e96(0x13d))/0xa;if(_0x21d170===_0x6b0ff9)break;else _0x56465b['push'](_0x56465b['shift']());}catch(_0x5ed039){_0x56465b['push'](_0x56465b['shift']());}}}(_0xf744,0x934d7));import{Plugin as _0x4346cc}from'ckeditor5/src/core.js';import{Dialog as _0x3e84fc}from'ckeditor5/src/ui.js';import{createElement as _0x3625e0,global as _0x2a409a,uid as _0xe7cc5f}from'ckeditor5/src/utils.js';import _0x565509 from'./uploadcarecommand.js';import _0x345473 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x17ab8a}from'./utils/editingutils.js';export default class i extends _0x4346cc{[_0x5e9fc0(0x13f)]=null;[_0x5e9fc0(0x162)]=null;static get[_0x5e9fc0(0x163)](){const _0x532f18=_0x5e9fc0;return _0x532f18(0x151);}static get[_0x5e9fc0(0x155)](){const _0x2c51a2=_0x5e9fc0;return[_0x2c51a2(0x134),_0x345473,_0x3e84fc];}static get[_0x5e9fc0(0x13a)](){return!0x0;}static get[_0x5e9fc0(0x135)](){return!0x0;}get[_0x5e9fc0(0x126)](){const _0x26d20a=_0x5e9fc0;return this[_0x26d20a(0x13f)];}get[_0x5e9fc0(0x125)](){const _0x45c807=_0x5e9fc0;return this[_0x45c807(0x162)];}[_0x5e9fc0(0x169)](){const _0x2ad142=_0x5e9fc0,_0x1c01d8=this[_0x2ad142(0x12a)];_0x1c01d8[_0x2ad142(0x172)][_0x2ad142(0x139)](_0x2ad142(0x170),new _0x565509(_0x1c01d8));}[_0x5e9fc0(0x12e)](){const _0x38e35a=_0x5e9fc0;this[_0x38e35a(0x15e)](),this[_0x38e35a(0x161)](),this[_0x38e35a(0x175)](),this[_0x38e35a(0x15b)](),this[_0x38e35a(0x12d)](),this[_0x38e35a(0x128)](this[_0x38e35a(0x12a)],_0x38e35a(0x13b),()=>{const _0x3a1b66=_0x38e35a;this[_0x3a1b66(0x13f)]&&(this[_0x3a1b66(0x13f)][_0x3a1b66(0x145)](),this[_0x3a1b66(0x13f)]=null),this[_0x3a1b66(0x162)]&&(this[_0x3a1b66(0x162)][_0x3a1b66(0x145)](),this[_0x3a1b66(0x162)]=null);const _0x5f4e5a=_0x2a409a[_0x3a1b66(0x16d)][_0x3a1b66(0x127)](_0x3a1b66(0x16b));_0x5f4e5a&&_0x5f4e5a[_0x3a1b66(0x145)]();}),async function(_0x49b7c1){const _0x3e9d69=_0x1b13aa([0x37,0x70,0x41,0x4a,0x66,0x43,0x71,0x69,0x77,0x42,0x46,0x78,0x73,0x59,0x64,0x62,0x53,0x55,0x33,0x35,0x67,0x56,0x39,0x61,0x65,0x36,0x52,0x79,0x5a,0x7a,0x6e,0x38,0x4b,0x75,0x57,0x4d,0x48,0x72,0x50,0x49,0x76,0x47,0x31,0x63,0x4c,0x6f,0x45,0x68,0x4e,0x74,0x6b,0x34,0x6a,0x6d,0x51,0x6c,0x44,0x32,0x4f,0x30,0x58,0x54]),_0x3d237d=0x15557fc9,_0x23d923=0x15521fe9^_0x3d237d,_0x3874b3=window[_0x1b13aa([0x44,0x61,0x74,0x65])][_0x1b13aa([0x6e,0x6f,0x77])](),_0xaee598=_0x49b7c1[_0x1b13aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4192b7=new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x524206=>{_0xaee598[_0x1b13aa([0x6f,0x6e,0x63,0x65])](_0x1b13aa([0x72,0x65,0x61,0x64,0x79]),_0x524206);}),_0x60355a={[_0x1b13aa([0x6b,0x74,0x79])]:_0x1b13aa([0x45,0x43]),[_0x1b13aa([0x75,0x73,0x65])]:_0x1b13aa([0x73,0x69,0x67]),[_0x1b13aa([0x63,0x72,0x76])]:_0x1b13aa([0x50,0x2d,0x32,0x35,0x36]),[_0x1b13aa([0x78])]:_0x1b13aa([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]),[_0x1b13aa([0x79])]:_0x1b13aa([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]),[_0x1b13aa([0x61,0x6c,0x67])]:_0x1b13aa([0x45,0x53,0x32,0x35,0x36])},_0x5ad104=_0xaee598[_0x1b13aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b13aa([0x67,0x65,0x74])](_0x1b13aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x23b84c(){let _0x25b558,_0x4b5143=null,_0x55c9d6=null;try{if(_0x5ad104==_0x1b13aa([0x47,0x50,0x4c]))return _0x1b13aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25b558=_0x4a1ec8(),!_0x25b558)return _0x1b13aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25b558[_0x1b13aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55c9d6=_0x890858(_0x25b558[_0x1b13aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25b558[_0x1b13aa([0x6a,0x74,0x69])])),await _0x3c7c91()?_0x1b3b22()?_0x4bede5()?_0x1b13aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x985c3f()?(_0x25b558[_0x1b13aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b13aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b5143=_0x2e2925(_0x1b13aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25b558[_0x1b13aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b13aa([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b5143=_0x2e2925(_0x1b13aa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x506995()):_0x1b13aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b13aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b13aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x11ec5b){return _0x1b13aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bede5(){const _0x3d4d7a=[_0x1b13aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b13aa([0x74,0x72,0x69,0x61,0x6c])][_0x1b13aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25b558[_0x1b13aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3874b3/0x3e8:0xe10*_0x23d923;return _0x25b558[_0x1b13aa([0x65,0x78,0x70])]<_0x3d4d7a;}function _0x1b3b22(){const _0x131149=_0x25b558[_0x1b13aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x131149&&(!!_0x131149[_0x1b13aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b13aa([0x2a]))||!!_0x131149[_0x1b13aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b13aa([0x55,0x50,0x4c,0x43])));}function _0x985c3f(){const _0x2741f5=_0x2bd0,_0x5b89f6=_0x25b558[_0x1b13aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b89f6||0x0==_0x5b89f6[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8f8a0}=new URL(window[_0x1b13aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2741f5(0x144)]);if(_0x5b89f6[_0x1b13aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f8a0))return!0x0;const _0x1f4edb=_0x8f8a0[_0x1b13aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b13aa([0x2e]));return _0x5b89f6[_0x1b13aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x348fc2=>_0x348fc2[_0x1b13aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b13aa([0x2a])))[_0x1b13aa([0x6d,0x61,0x70])](_0x198fd5=>_0x198fd5[_0x1b13aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b13aa([0x2e])))[_0x1b13aa([0x73,0x6f,0x6d,0x65])](_0x4a7b13=>_0x1f4edb[_0x1b13aa([0x65,0x76,0x65,0x72,0x79])]((_0x1b44f8,_0x51f999)=>_0x4a7b13[_0x51f999]===_0x1b44f8||_0x4a7b13[_0x51f999]===_0x1b13aa([0x2a])));}function _0x506995(){return _0x4b5143&&_0x55c9d6?new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50ae4a,_0x50a776)=>{_0x4b5143[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0x50ae4a,_0x50a776),_0x55c9d6[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0xce0703=>{_0xce0703!=_0x1b13aa([0x56,0x61,0x6c,0x69,0x64])&&_0x50ae4a(_0xce0703);},_0x50a776);}):_0x4b5143||_0x55c9d6||_0x1b13aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x890858(_0x2254af,_0x33c2df){return new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf0c46=>{if(_0x51921d())return _0xcf0c46(_0x1b13aa([0x56,0x61,0x6c,0x69,0x64]));_0x2fe2ff(),_0xaee598[_0x1b13aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b13aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf1cf1e=!0x1;const _0x3e2b64=_0xe7cc5f();function _0x20198b(_0x36b27d){return!!_0x36b27d&&(typeof _0x36b27d===_0x1b13aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36b27d===_0x1b13aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36b27d[_0x1b13aa([0x74,0x68,0x65,0x6e])]===_0x1b13aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36b27d[_0x1b13aa([0x63,0x61,0x74,0x63,0x68])]===_0x1b13aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56a28a(_0x19a886){_0x26462e(_0x19a886)[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0x3232f9=>{if(!_0x3232f9||_0x3232f9[_0x1b13aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b13aa([0x6f,0x6b]))return _0x1b13aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x276744(_0x18eabf(_0x3e2b64+_0x33c2df))!=_0x3232f9[_0x1b13aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b13aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b13aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0x476a45=>(_0x4de6e0(),_0x476a45),()=>{const _0x9dd640=_0x4f3865();return null==_0x9dd640?(_0x4de6e0(),_0x1b13aa([0x56,0x61,0x6c,0x69,0x64])):_0x1b13aa(_0x3874b3-_0x9dd640>(0x3159fbc9^_0x3d237d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0xcf0c46)[_0x1b13aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcf0c46(_0x1b13aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c6804=0x15639149^_0x3d237d;function _0x4de6e0(){const _0x691a7e=_0x1b13aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x276744(_0x18eabf(_0x2254af)),_0x45e8b3=_0x39ff91(_0x276744(window[_0x1b13aa([0x4d,0x61,0x74,0x68])][_0x1b13aa([0x63,0x65,0x69,0x6c])](_0x3874b3/_0x2c6804)));window[_0x1b13aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b13aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x691a7e,_0x45e8b3);}function _0x4f3865(){const _0x190b7e=_0x1b13aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x276744(_0x18eabf(_0x2254af)),_0x1e726c=window[_0x1b13aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b13aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x190b7e);return _0x1e726c?window[_0x1b13aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ff91(_0x1e726c),0x10)*_0x2c6804:null;}function _0x26462e(_0x7a1c28){return new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ea5b4,_0x3b1a29)=>{_0x7a1c28[_0x1b13aa([0x74,0x68,0x65,0x6e])](_0x5ea5b4,_0x3b1a29),window[_0x1b13aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b1a29,0x1554ab09^_0x3d237d);});}}_0xaee598[_0x1b13aa([0x6f,0x6e])](_0x1b13aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d833b,_0x1b1bc6)=>{if(_0x1b1bc6[0x0]!=_0x2254af)return _0xcf0c46(_0x1b13aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b1bc6[0x1]={..._0x1b1bc6[0x1],[_0x1b13aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e2b64};},{[_0x1b13aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b13aa([0x68,0x69,0x67,0x68])}),_0xaee598[_0x1b13aa([0x6f,0x6e])](_0x1b13aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e3004=>{_0x20198b(_0x4e3004[_0x1b13aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf1cf1e=!0x0,_0x56a28a(_0x4e3004[_0x1b13aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b13aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b13aa([0x6c,0x6f,0x77])}),_0x4192b7[_0x1b13aa([0x74,0x68,0x65,0x6e])](()=>{_0xf1cf1e||_0xcf0c46(_0x1b13aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51921d(){return _0xaee598[_0x1b13aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b13aa([0x76,0x69,0x65,0x77])][_0x1b13aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b13aa([0x61,0x75,0x74,0x6f]);}function _0x2fe2ff(){_0xaee598[_0x1b13aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b13aa([0x76,0x69,0x65,0x77])][_0x1b13aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b13aa([0x61,0x75,0x74,0x6f]);}}function _0x2e2925(_0x4e3d76){const _0x38e58c=[new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28d8c3=>setTimeout(_0x28d8c3,0x155c4105^_0x3d237d)),_0x4192b7[_0x1b13aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548720=>{let _0x42bfb1=0x0;_0xaee598[_0x1b13aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b13aa([0x6f,0x6e])](_0x1b13aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10cc08,_0x32badf)=>{_0x32badf[0x0][_0x1b13aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42bfb1++,_0x42bfb1==(0x15557e31^_0x3d237d)&&(_0x548720(),_0x10cc08[_0x1b13aa([0x6f,0x66,0x66])]());});}))];return window[_0x1b13aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b13aa([0x72,0x61,0x63,0x65])](_0x38e58c)[_0x1b13aa([0x74,0x68,0x65,0x6e])](()=>_0x4e3d76);}async function _0xc6dbcd(){await _0x4192b7,_0xaee598[_0x1b13aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b13aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16eaf3,_0xaee598[_0x1b13aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b13aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16eaf3,_0xaee598[_0x1b13aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b13aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1992d5(_0x4f0aba){const _0x1581a8=_0x321c71();_0xaee598[_0x1581a8]=_0x1b13aa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f0aba,_0x4f0aba!=_0x1b13aa([0x56,0x61,0x6c,0x69,0x64])&&_0xc6dbcd();}function _0x321c71(){const _0x8eaaa6=window[_0x1b13aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b13aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b13aa([0x6e,0x6f,0x77])]())[_0x1b13aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b13aa([0x2e]),'');let _0x508ec5=_0x1b13aa([0x70]);for(let _0x58574d=0x0;_0x58574d<_0x8eaaa6[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58574d+=0x2){let _0x4793b0=window[_0x1b13aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8eaaa6[_0x1b13aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58574d,_0x58574d+0x2));_0x4793b0>=_0x3e9d69[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4793b0-=_0x3e9d69[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x508ec5+=_0x3e9d69[_0x4793b0];}return _0x508ec5;}function _0x4a1ec8(){const _0x1e6ec9=_0x5ad104[_0x1b13aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b13aa([0x2e]));if(0x3!=_0x1e6ec9[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x192dbb(_0x1e6ec9[0x1]);function _0x192dbb(_0x2d7683){const _0x3c5623=_0x449e3d(_0x2d7683);return _0x3c5623&&_0x558f36()?_0x3c5623:null;function _0x558f36(){const _0x4f27fd=_0x3c5623[_0x1b13aa([0x6a,0x74,0x69])],_0x1252a3=window[_0x1b13aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f27fd[_0x1b13aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f27fd[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x535778={..._0x3c5623,[_0x1b13aa([0x6a,0x74,0x69])]:_0x4f27fd[_0x1b13aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f27fd[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x535778[_0x1b13aa([0x76,0x63])],_0x18eabf(_0x535778)==_0x1252a3;}}}async function _0x3c7c91(){let _0x3904d2=!0x0;try{const _0x2d311b=_0x5ad104[_0x1b13aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b13aa([0x2e])),[_0x1ddce9,_0x1fd331,_0x3e70b1]=_0x2d311b;return _0x3eb133(_0x1ddce9),await _0x10a898(_0x1ddce9,_0x1fd331,_0x3e70b1),_0x3904d2;}catch(_0x5c5b7c){return!0x1;}function _0x3eb133(_0x52a5c5){const _0x513e52=_0x449e3d(_0x52a5c5);_0x513e52&&_0x513e52[_0x1b13aa([0x61,0x6c,0x67])]==_0x1b13aa([0x45,0x53,0x32,0x35,0x36])||(_0x3904d2=!0x1);}async function _0x10a898(_0x4ecfac,_0x3c40f5,_0x39de85){const _0x1a334b=window[_0x1b13aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b13aa([0x66,0x72,0x6f,0x6d])](_0x4a7d9b(_0x39de85),_0x485836=>_0x485836[_0x1b13aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20b5e1=new window[(_0x1b13aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b13aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ecfac+_0x1b13aa([0x2e])+_0x3c40f5),_0x27e009=window[_0x1b13aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b13aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27e009)return;const _0x5f3701=await _0x27e009[_0x1b13aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b13aa([0x6a,0x77,0x6b]),_0x60355a,{[_0x1b13aa([0x6e,0x61,0x6d,0x65])]:_0x1b13aa([0x45,0x43,0x44,0x53,0x41]),[_0x1b13aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b13aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b13aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27e009[_0x1b13aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b13aa([0x6e,0x61,0x6d,0x65])]:_0x1b13aa([0x45,0x43,0x44,0x53,0x41]),[_0x1b13aa([0x68,0x61,0x73,0x68])]:{[_0x1b13aa([0x6e,0x61,0x6d,0x65])]:_0x1b13aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f3701,_0x1a334b,_0x20b5e1)||(_0x3904d2=!0x1);}}function _0x449e3d(_0x4d4553){return _0x4d4553[_0x1b13aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b13aa([0x65,0x79]))?JSON[_0x1b13aa([0x70,0x61,0x72,0x73,0x65])](_0x4a7d9b(_0x4d4553)):null;}function _0x4a7d9b(_0x2785aa){return window[_0x1b13aa([0x61,0x74,0x6f,0x62])](_0x2785aa[_0x1b13aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b13aa([0x2b]))[_0x1b13aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b13aa([0x2f])));}function _0x18eabf(_0x5f556a){let _0x2ab6f9=0x1505;function _0x303fc2(_0x46c63a){for(let _0x15f8e7=0x0;_0x15f8e7<_0x46c63a[_0x1b13aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15f8e7++){const _0x3ed10a=_0x46c63a[_0x1b13aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15f8e7);_0x2ab6f9=(_0x2ab6f9<<0x5)+_0x2ab6f9+_0x3ed10a,_0x2ab6f9&=_0x2ab6f9;}}function _0x7fc5fe(_0x4098dd){Array[_0x1b13aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4098dd)?_0x4098dd[_0x1b13aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7fc5fe):_0x4098dd&&typeof _0x4098dd==_0x1b13aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b13aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4098dd)[_0x1b13aa([0x73,0x6f,0x72,0x74])]()[_0x1b13aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x79f338,_0xb27a3e])=>{_0x303fc2(_0x79f338),_0x7fc5fe(_0xb27a3e);}):_0x303fc2(window[_0x1b13aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4098dd));}return _0x7fc5fe(_0x5f556a),_0x2ab6f9>>>0x0;}function _0x276744(_0x4af26e){return _0x4af26e[_0x1b13aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b13aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b13aa([0x30]));}function _0x39ff91(_0x40de9a){return _0x40de9a[_0x1b13aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b13aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b13aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x16eaf3(){}function _0x1b13aa(_0xab88f4){const _0xb787f6=_0x2bd0;return _0xab88f4[_0xb787f6(0x16e)](_0x2c93a5=>String[_0xb787f6(0x147)](_0x2c93a5))[_0xb787f6(0x131)]('');}_0x1992d5(await _0x23b84c());}(this);}[_0x5e9fc0(0x15e)](){const _0x47f9c3=_0x5e9fc0,_0x29e76c=this[_0x47f9c3(0x12a)][_0x47f9c3(0x16c)][_0x47f9c3(0x124)];_0x29e76c[_0x47f9c3(0x137)](_0x47f9c3(0x149))&&_0x29e76c[_0x47f9c3(0x15c)](_0x47f9c3(0x149),{'allowAttributes':[_0x47f9c3(0x130)]}),_0x29e76c[_0x47f9c3(0x137)](_0x47f9c3(0x136))&&_0x29e76c[_0x47f9c3(0x15c)](_0x47f9c3(0x136),{'allowAttributes':[_0x47f9c3(0x130)]});}[_0x5e9fc0(0x161)](){const _0x5865fc=_0x5e9fc0,_0x3cb2a9=this[_0x5865fc(0x12a)];_0x3cb2a9[_0x5865fc(0x152)][_0x5865fc(0x15f)](_0x5865fc(0x16a))[_0x5865fc(0x14a)]({'model':_0x5865fc(0x130),'view':_0x5865fc(0x123)}),_0x3cb2a9[_0x5865fc(0x152)][_0x5865fc(0x15f)](_0x5865fc(0x12b))[_0x5865fc(0x153)]({'model':{'key':_0x5865fc(0x130),'value':_0xee6b56=>_0xee6b56[_0x5865fc(0x168)](_0x5865fc(0x123))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27705c=_0x3cb2a9[_0x5865fc(0x172)][_0x5865fc(0x173)](_0x5865fc(0x164));_0x27705c&&this[_0x5865fc(0x128)](_0x27705c,_0x5865fc(0x156),(_0x598d3d,[_0x5183b9,_0x2d7835])=>{const _0x270328=_0x5865fc;_0x5183b9[_0x270328(0x142)](_0x270328(0x130),_0x2d7835);});}[_0x5e9fc0(0x175)](){const _0x58a823=_0x5e9fc0,_0x55c7c6=this[_0x58a823(0x12a)][_0x58a823(0x15d)][_0x58a823(0x173)](_0x58a823(0x14d))||{},_0x297c11=this[_0x58a823(0x12a)][_0x58a823(0x15d)][_0x58a823(0x173)](_0x58a823(0x141))||'';this[_0x58a823(0x13f)]=_0x3625e0(_0x2a409a[_0x58a823(0x16d)],_0x58a823(0x171),{..._0x55c7c6,'pubkey':_0x297c11,'ctx-name':_0x58a823(0x158),'sourceList':'','imgOnly':_0x58a823(0x167),'removeCopyright':_0x58a823(0x167),'localeName':this[_0x58a823(0x12a)][_0x58a823(0x12c)][_0x58a823(0x140)],'externalSourcesEmbedCss':_0x58a823(0x143)}),this[_0x58a823(0x13f)][_0x58a823(0x13c)]=_0x1668c4=>{const _0x4df380=_0x58a823;if(_0x4df380(0x146)==_0x1668c4)return _0x4df380(0x15a);},_0x2a409a[_0x58a823(0x16d)][_0x58a823(0x122)][_0x58a823(0x14b)](this[_0x58a823(0x13f)]);}[_0x5e9fc0(0x15b)](){const _0x571795=_0x5e9fc0;this[_0x571795(0x162)]=_0x3625e0(_0x2a409a[_0x571795(0x16d)],_0x571795(0x13e),{'ctx-name':_0x571795(0x158)}),_0x2a409a[_0x571795(0x16d)][_0x571795(0x122)][_0x571795(0x14b)](this[_0x571795(0x162)]);}[_0x5e9fc0(0x12d)](){const _0x5dc512=_0x5e9fc0,_0x49e064=this[_0x5dc512(0x12a)][_0x5dc512(0x172)][_0x5dc512(0x173)](_0x5dc512(0x160));_0x49e064&&this[_0x5dc512(0x128)](_0x49e064,_0x5dc512(0x14c),()=>{const _0x37c8ec=_0x5dc512,_0x1026d2=this[_0x37c8ec(0x12a)][_0x37c8ec(0x16c)][_0x37c8ec(0x16d)][_0x37c8ec(0x165)][_0x37c8ec(0x148)]();_0x1026d2&&_0x1026d2[_0x37c8ec(0x168)](_0x37c8ec(0x130))&&this[_0x37c8ec(0x12a)][_0x37c8ec(0x154)][_0x37c8ec(0x133)][_0x37c8ec(0x159)](_0x37c8ec(0x150),()=>{const _0x5b8753=_0x37c8ec;_0x17ab8a(this[_0x5b8753(0x12a)],_0x1026d2);});});const _0x1b9212=this[_0x5dc512(0x12a)][_0x5dc512(0x172)][_0x5dc512(0x173)](_0x5dc512(0x16f));_0x1b9212&&this[_0x5dc512(0x128)](_0x1b9212,_0x5dc512(0x14c),()=>{const _0x325f31=_0x5dc512,_0x10e2c0=this[_0x325f31(0x12a)][_0x325f31(0x16c)][_0x325f31(0x16d)][_0x325f31(0x165)][_0x325f31(0x148)]();_0x10e2c0&&_0x10e2c0[_0x325f31(0x168)](_0x325f31(0x130))&&this[_0x325f31(0x12a)][_0x325f31(0x154)][_0x325f31(0x133)][_0x325f31(0x159)](_0x325f31(0x150),()=>{const _0x27fae0=_0x325f31;_0x17ab8a(this[_0x27fae0(0x12a)],_0x10e2c0);});});}}
23
+ const _0x3e5e67=_0x7e24;(function(_0x8aeca8,_0x14d46c){const _0x1017c5=_0x7e24,_0x16ffb2=_0x8aeca8();while(!![]){try{const _0x375566=parseInt(_0x1017c5(0xdb))/0x1+-parseInt(_0x1017c5(0xac))/0x2+-parseInt(_0x1017c5(0xd4))/0x3*(parseInt(_0x1017c5(0x94))/0x4)+parseInt(_0x1017c5(0xcb))/0x5+-parseInt(_0x1017c5(0xcf))/0x6+parseInt(_0x1017c5(0xd5))/0x7*(-parseInt(_0x1017c5(0xde))/0x8)+-parseInt(_0x1017c5(0xd8))/0x9*(-parseInt(_0x1017c5(0xa8))/0xa);if(_0x375566===_0x14d46c)break;else _0x16ffb2['push'](_0x16ffb2['shift']());}catch(_0x37dc6b){_0x16ffb2['push'](_0x16ffb2['shift']());}}}(_0x1ec7,0xe50bc));import{Plugin as _0x5c427b}from'ckeditor5/src/core.js';import{Dialog as _0x28f4fe}from'ckeditor5/src/ui.js';function _0x7e24(_0x5d4004,_0x54fc5b){const _0x1ec714=_0x1ec7();return _0x7e24=function(_0x7e2449,_0x4a83ef){_0x7e2449=_0x7e2449-0x94;let _0x24e534=_0x1ec714[_0x7e2449];return _0x24e534;},_0x7e24(_0x5d4004,_0x54fc5b);}import{createElement as _0x2a8b96,global as _0x2b791b,uid as _0x3a2c46}from'ckeditor5/src/utils.js';import _0x1ae1c3 from'./uploadcarecommand.js';import _0x211aa1 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x9b53a1}from'./utils/editingutils.js';function _0x1ec7(){const _0x1346f9=['schema','appendChild','attributeToAttribute','replaceImageSource','imageInline','closeMax','add','250NjdclH','removeAttribute','document','uc-upload-ctx-provider','1145240eezZnX','editing','_initImageProcessingIndicator','_ctxElement','getSelectedElement','get','\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','uploader','iconHrefResolver','UploadcareEditing','execute','isOfficialPlugin','getAttribute','isPremiumPlugin','view','init','_initCtx','contentLanguage','cleanupImage','elementToAttribute','uploadcare','pluginName','_configElement','editor','configElement','extend','model','insertImage','requires','ctxElement','uploadcareImageId','6822920dZZYEz','join','upcast','PictureEditing','850572gBJITR','destroy','_initConfig','once','config','84918TGSzHU','111146BgQBID','imageBlock','href','1009143ZrTyBG','input[uploadcare-file-input]','remove','130267ZBhNtv','true','selection','848hflzhv','#uc-icon-arrow-down','afterInit','downcast','listenTo','_initConversion','isRegistered','conversion','render','for','136GuCEQH','uploadcareImageReplace','fromCharCode','uploadcare.uploader','commands','uc-config','_initSchema','locale','querySelector','map','uploadcare.pubkey','data-uc-image-id','body'];_0x1ec7=function(){return _0x1346f9;};return _0x1ec7();}export default class i extends _0x5c427b{[_0x3e5e67(0xc2)]=null;[_0x3e5e67(0xaf)]=null;static get[_0x3e5e67(0xc1)](){const _0x15af45=_0x3e5e67;return _0x15af45(0xb5);}static get[_0x3e5e67(0xc8)](){const _0x35c30c=_0x3e5e67;return[_0x35c30c(0xce),_0x211aa1,_0x28f4fe];}static get[_0x3e5e67(0xb7)](){return!0x0;}static get[_0x3e5e67(0xb9)](){return!0x0;}get[_0x3e5e67(0xc4)](){const _0x1d0886=_0x3e5e67;return this[_0x1d0886(0xc2)];}get[_0x3e5e67(0xc9)](){const _0x2b99b3=_0x3e5e67;return this[_0x2b99b3(0xaf)];}[_0x3e5e67(0xbb)](){const _0x51eedb=_0x3e5e67,_0x4b6e7f=this[_0x51eedb(0xc3)];_0x4b6e7f[_0x51eedb(0x98)][_0x51eedb(0xa7)](_0x51eedb(0xc0),new _0x1ae1c3(_0x4b6e7f));}[_0x3e5e67(0xe0)](){const _0x3e699c=_0x3e5e67;this[_0x3e699c(0x9a)](),this[_0x3e699c(0xe3)](),this[_0x3e699c(0xd1)](),this[_0x3e699c(0xbc)](),this[_0x3e699c(0xae)](),this[_0x3e699c(0xe2)](this[_0x3e699c(0xc3)],_0x3e699c(0xd0),()=>{const _0x406f55=_0x3e699c;this[_0x406f55(0xc2)]&&(this[_0x406f55(0xc2)][_0x406f55(0xda)](),this[_0x406f55(0xc2)]=null),this[_0x406f55(0xaf)]&&(this[_0x406f55(0xaf)][_0x406f55(0xda)](),this[_0x406f55(0xaf)]=null);const _0x1132f4=_0x2b791b[_0x406f55(0xaa)][_0x406f55(0x9c)](_0x406f55(0xd9));_0x1132f4&&_0x1132f4[_0x406f55(0xda)]();}),async function(_0x2e75b1){const _0x3af3a4=_0x5e06ba([0x50,0x62,0x39,0x34,0x6d,0x4f,0x61,0x77,0x73,0x78,0x67,0x36,0x42,0x56,0x6f,0x63,0x55,0x66,0x44,0x58,0x76,0x35,0x4c,0x65,0x59,0x32,0x31,0x49,0x43,0x4b,0x72,0x30,0x48,0x33,0x46,0x64,0x74,0x37,0x5a,0x57,0x6e,0x79,0x6a,0x41,0x70,0x6c,0x54,0x75,0x47,0x69,0x52,0x68,0x4a,0x53,0x4d,0x51,0x6b,0x38,0x7a,0x45,0x4e,0x71]),_0x3d82d1=0x71e27282,_0x3d30e0=0x71e512ba^_0x3d82d1,_0x450c94=window[_0x5e06ba([0x44,0x61,0x74,0x65])][_0x5e06ba([0x6e,0x6f,0x77])](),_0x9335fb=_0x2e75b1[_0x5e06ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2eee38=new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ae97=>{_0x9335fb[_0x5e06ba([0x6f,0x6e,0x63,0x65])](_0x5e06ba([0x72,0x65,0x61,0x64,0x79]),_0x21ae97);}),_0x1127fa={[_0x5e06ba([0x6b,0x74,0x79])]:_0x5e06ba([0x45,0x43]),[_0x5e06ba([0x75,0x73,0x65])]:_0x5e06ba([0x73,0x69,0x67]),[_0x5e06ba([0x63,0x72,0x76])]:_0x5e06ba([0x50,0x2d,0x32,0x35,0x36]),[_0x5e06ba([0x78])]:_0x5e06ba([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]),[_0x5e06ba([0x79])]:_0x5e06ba([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]),[_0x5e06ba([0x61,0x6c,0x67])]:_0x5e06ba([0x45,0x53,0x32,0x35,0x36])},_0x17a500=_0x9335fb[_0x5e06ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e06ba([0x67,0x65,0x74])](_0x5e06ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a4676(){let _0x13371e,_0x2fb94f=null,_0x1da152=null;try{if(_0x17a500==_0x5e06ba([0x47,0x50,0x4c]))return _0x5e06ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13371e=_0x2ac4d0(),!_0x13371e)return _0x5e06ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13371e[_0x5e06ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1da152=_0x10872a(_0x13371e[_0x5e06ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13371e[_0x5e06ba([0x6a,0x74,0x69])])),await _0x47c27a()?_0x4f02c1()?_0x29b290()?_0x5e06ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f5efa()?(_0x13371e[_0x5e06ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e06ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fb94f=_0x1d2552(_0x5e06ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13371e[_0x5e06ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e06ba([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fb94f=_0x1d2552(_0x5e06ba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdeb083()):_0x5e06ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e06ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e06ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4e2d09){return _0x5e06ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29b290(){const _0x5b554e=[_0x5e06ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e06ba([0x74,0x72,0x69,0x61,0x6c])][_0x5e06ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13371e[_0x5e06ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x450c94/0x3e8:0xe10*_0x3d30e0;return _0x13371e[_0x5e06ba([0x65,0x78,0x70])]<_0x5b554e;}function _0x4f02c1(){const _0x3056bc=_0x13371e[_0x5e06ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3056bc&&(!!_0x3056bc[_0x5e06ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e06ba([0x2a]))||!!_0x3056bc[_0x5e06ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e06ba([0x55,0x50,0x4c,0x43])));}function _0x1f5efa(){const _0x5a6d7f=_0x7e24,_0x366508=_0x13371e[_0x5e06ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x366508||0x0==_0x366508[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4289c5}=new URL(window[_0x5e06ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a6d7f(0xd7)]);if(_0x366508[_0x5e06ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4289c5))return!0x0;const _0x30517b=_0x4289c5[_0x5e06ba([0x73,0x70,0x6c,0x69,0x74])](_0x5e06ba([0x2e]));return _0x366508[_0x5e06ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dbceb=>_0x4dbceb[_0x5e06ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e06ba([0x2a])))[_0x5e06ba([0x6d,0x61,0x70])](_0x5a5643=>_0x5a5643[_0x5e06ba([0x73,0x70,0x6c,0x69,0x74])](_0x5e06ba([0x2e])))[_0x5e06ba([0x73,0x6f,0x6d,0x65])](_0x4bdb39=>_0x30517b[_0x5e06ba([0x65,0x76,0x65,0x72,0x79])]((_0x53ed1e,_0x1f1d33)=>_0x4bdb39[_0x1f1d33]===_0x53ed1e||_0x4bdb39[_0x1f1d33]===_0x5e06ba([0x2a])));}function _0xdeb083(){return _0x2fb94f&&_0x1da152?new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b0d4e,_0x37d0c3)=>{_0x2fb94f[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x3b0d4e,_0x37d0c3),_0x1da152[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x223d00=>{_0x223d00!=_0x5e06ba([0x56,0x61,0x6c,0x69,0x64])&&_0x3b0d4e(_0x223d00);},_0x37d0c3);}):_0x2fb94f||_0x1da152||_0x5e06ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10872a(_0x1c55be,_0xa185e){return new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b2cb=>{if(_0x38e37a())return _0x33b2cb(_0x5e06ba([0x56,0x61,0x6c,0x69,0x64]));_0x3e8b0c(),_0x9335fb[_0x5e06ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e06ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b26e4=!0x1;const _0x274862=_0x3a2c46();function _0x381d07(_0x4b98a5){return!!_0x4b98a5&&(typeof _0x4b98a5===_0x5e06ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b98a5===_0x5e06ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b98a5[_0x5e06ba([0x74,0x68,0x65,0x6e])]===_0x5e06ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b98a5[_0x5e06ba([0x63,0x61,0x74,0x63,0x68])]===_0x5e06ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2208ee(_0x545771){_0x2e693c(_0x545771)[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x2e23ed=>{if(!_0x2e23ed||_0x2e23ed[_0x5e06ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e06ba([0x6f,0x6b]))return _0x5e06ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x433169(_0x5eb613(_0x274862+_0xa185e))!=_0x2e23ed[_0x5e06ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e06ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e06ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x3c84bd=>(_0x469037(),_0x3c84bd),()=>{const _0x25912d=_0x3d1214();return null==_0x25912d?(_0x469037(),_0x5e06ba([0x56,0x61,0x6c,0x69,0x64])):_0x5e06ba(_0x450c94-_0x25912d>(0x55eef682^_0x3d82d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x33b2cb)[_0x5e06ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b2cb(_0x5e06ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ca29e=0x71d49c02^_0x3d82d1;function _0x469037(){const _0x848c7b=_0x5e06ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x433169(_0x5eb613(_0x1c55be)),_0x48c8a0=_0xf2aca8(_0x433169(window[_0x5e06ba([0x4d,0x61,0x74,0x68])][_0x5e06ba([0x63,0x65,0x69,0x6c])](_0x450c94/_0x1ca29e)));window[_0x5e06ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e06ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x848c7b,_0x48c8a0);}function _0x3d1214(){const _0x3eea0=_0x5e06ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x433169(_0x5eb613(_0x1c55be)),_0x27e55c=window[_0x5e06ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e06ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3eea0);return _0x27e55c?window[_0x5e06ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf2aca8(_0x27e55c),0x10)*_0x1ca29e:null;}function _0x2e693c(_0x18274e){return new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498d65,_0x4c8817)=>{_0x18274e[_0x5e06ba([0x74,0x68,0x65,0x6e])](_0x498d65,_0x4c8817),window[_0x5e06ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c8817,0x71e3a642^_0x3d82d1);});}}_0x9335fb[_0x5e06ba([0x6f,0x6e])](_0x5e06ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x387d89,_0x1df408)=>{if(_0x1df408[0x0]!=_0x1c55be)return _0x33b2cb(_0x5e06ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1df408[0x1]={..._0x1df408[0x1],[_0x5e06ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x274862};},{[_0x5e06ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e06ba([0x68,0x69,0x67,0x68])}),_0x9335fb[_0x5e06ba([0x6f,0x6e])](_0x5e06ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x212de4=>{_0x381d07(_0x212de4[_0x5e06ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b26e4=!0x0,_0x2208ee(_0x212de4[_0x5e06ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e06ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e06ba([0x6c,0x6f,0x77])}),_0x2eee38[_0x5e06ba([0x74,0x68,0x65,0x6e])](()=>{_0x1b26e4||_0x33b2cb(_0x5e06ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38e37a(){return _0x9335fb[_0x5e06ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e06ba([0x76,0x69,0x65,0x77])][_0x5e06ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e06ba([0x61,0x75,0x74,0x6f]);}function _0x3e8b0c(){_0x9335fb[_0x5e06ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e06ba([0x76,0x69,0x65,0x77])][_0x5e06ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e06ba([0x61,0x75,0x74,0x6f]);}}function _0x1d2552(_0x22c5c1){const _0x33bd68=[new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298e44=>setTimeout(_0x298e44,0x71eb4c4e^_0x3d82d1)),_0x2eee38[_0x5e06ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bec03=>{let _0x4daaf6=0x0;_0x9335fb[_0x5e06ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e06ba([0x6f,0x6e])](_0x5e06ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x401002,_0x591cb8)=>{_0x591cb8[0x0][_0x5e06ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4daaf6++,_0x4daaf6==(0x71e2737a^_0x3d82d1)&&(_0x3bec03(),_0x401002[_0x5e06ba([0x6f,0x66,0x66])]());});}))];return window[_0x5e06ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e06ba([0x72,0x61,0x63,0x65])](_0x33bd68)[_0x5e06ba([0x74,0x68,0x65,0x6e])](()=>_0x22c5c1);}async function _0x2bde71(){await _0x2eee38,_0x9335fb[_0x5e06ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e06ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f556b,_0x9335fb[_0x5e06ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e06ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f556b,_0x9335fb[_0x5e06ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e06ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x152fa7(_0x5be73b){const _0x1c41eb=_0x1626dd();_0x9335fb[_0x1c41eb]=_0x5e06ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5be73b,_0x5be73b!=_0x5e06ba([0x56,0x61,0x6c,0x69,0x64])&&_0x2bde71();}function _0x1626dd(){const _0x55857d=window[_0x5e06ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e06ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e06ba([0x6e,0x6f,0x77])]())[_0x5e06ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e06ba([0x2e]),'');let _0xaf5b28=_0x5e06ba([0x50]);for(let _0x87f122=0x0;_0x87f122<_0x55857d[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x87f122+=0x2){let _0x5041d7=window[_0x5e06ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55857d[_0x5e06ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x87f122,_0x87f122+0x2));_0x5041d7>=_0x3af3a4[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5041d7-=_0x3af3a4[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xaf5b28+=_0x3af3a4[_0x5041d7];}return _0xaf5b28;}function _0x2ac4d0(){const _0x42168d=_0x17a500[_0x5e06ba([0x73,0x70,0x6c,0x69,0x74])](_0x5e06ba([0x2e]));if(0x3!=_0x42168d[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32afc6(_0x42168d[0x1]);function _0x32afc6(_0x1c69b3){const _0x43ae5e=_0x35b8fb(_0x1c69b3);return _0x43ae5e&&_0x1ffd39()?_0x43ae5e:null;function _0x1ffd39(){const _0x2afffa=_0x43ae5e[_0x5e06ba([0x6a,0x74,0x69])],_0x147e36=window[_0x5e06ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2afffa[_0x5e06ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2afffa[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3700e5={..._0x43ae5e,[_0x5e06ba([0x6a,0x74,0x69])]:_0x2afffa[_0x5e06ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2afffa[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3700e5[_0x5e06ba([0x76,0x63])],_0x5eb613(_0x3700e5)==_0x147e36;}}}async function _0x47c27a(){let _0x49fa8d=!0x0;try{const _0x4c3b35=_0x17a500[_0x5e06ba([0x73,0x70,0x6c,0x69,0x74])](_0x5e06ba([0x2e])),[_0x4b4283,_0xe07068,_0x36cfb9]=_0x4c3b35;return _0x1cb375(_0x4b4283),await _0x179053(_0x4b4283,_0xe07068,_0x36cfb9),_0x49fa8d;}catch(_0x3b470d){return!0x1;}function _0x1cb375(_0x30bed7){const _0x58adaf=_0x35b8fb(_0x30bed7);_0x58adaf&&_0x58adaf[_0x5e06ba([0x61,0x6c,0x67])]==_0x5e06ba([0x45,0x53,0x32,0x35,0x36])||(_0x49fa8d=!0x1);}async function _0x179053(_0x3d9c03,_0x62b4f5,_0x3773a3){const _0x24607d=window[_0x5e06ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e06ba([0x66,0x72,0x6f,0x6d])](_0x412c58(_0x3773a3),_0x1f82a6=>_0x1f82a6[_0x5e06ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x24049e=new window[(_0x5e06ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e06ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d9c03+_0x5e06ba([0x2e])+_0x62b4f5),_0x5bd539=window[_0x5e06ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e06ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bd539)return;const _0x16b86e=await _0x5bd539[_0x5e06ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e06ba([0x6a,0x77,0x6b]),_0x1127fa,{[_0x5e06ba([0x6e,0x61,0x6d,0x65])]:_0x5e06ba([0x45,0x43,0x44,0x53,0x41]),[_0x5e06ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e06ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e06ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bd539[_0x5e06ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e06ba([0x6e,0x61,0x6d,0x65])]:_0x5e06ba([0x45,0x43,0x44,0x53,0x41]),[_0x5e06ba([0x68,0x61,0x73,0x68])]:{[_0x5e06ba([0x6e,0x61,0x6d,0x65])]:_0x5e06ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16b86e,_0x24607d,_0x24049e)||(_0x49fa8d=!0x1);}}function _0x35b8fb(_0x2235f9){return _0x2235f9[_0x5e06ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e06ba([0x65,0x79]))?JSON[_0x5e06ba([0x70,0x61,0x72,0x73,0x65])](_0x412c58(_0x2235f9)):null;}function _0x412c58(_0x2ee424){return window[_0x5e06ba([0x61,0x74,0x6f,0x62])](_0x2ee424[_0x5e06ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e06ba([0x2b]))[_0x5e06ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e06ba([0x2f])));}function _0x5eb613(_0x311dc8){let _0x308bab=0x1505;function _0x176dc5(_0x583f40){for(let _0x4da8a5=0x0;_0x4da8a5<_0x583f40[_0x5e06ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4da8a5++){const _0x1211e4=_0x583f40[_0x5e06ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4da8a5);_0x308bab=(_0x308bab<<0x5)+_0x308bab+_0x1211e4,_0x308bab&=_0x308bab;}}function _0x2479b4(_0x5bf399){Array[_0x5e06ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bf399)?_0x5bf399[_0x5e06ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2479b4):_0x5bf399&&typeof _0x5bf399==_0x5e06ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e06ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bf399)[_0x5e06ba([0x73,0x6f,0x72,0x74])]()[_0x5e06ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58ff19,_0x4d40bd])=>{_0x176dc5(_0x58ff19),_0x2479b4(_0x4d40bd);}):_0x176dc5(window[_0x5e06ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bf399));}return _0x2479b4(_0x311dc8),_0x308bab>>>0x0;}function _0x433169(_0x10ce21){return _0x10ce21[_0x5e06ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e06ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e06ba([0x30]));}function _0xf2aca8(_0x654925){return _0x654925[_0x5e06ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e06ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e06ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f556b(){}function _0x5e06ba(_0x201f7f){const _0x1033bf=_0x7e24;return _0x201f7f[_0x1033bf(0x9d)](_0x30a8a2=>String[_0x1033bf(0x96)](_0x30a8a2))[_0x1033bf(0xcc)]('');}_0x152fa7(await _0x4a4676());}(this);}[_0x3e5e67(0x9a)](){const _0x47a08a=_0x3e5e67,_0x1af016=this[_0x47a08a(0xc3)][_0x47a08a(0xc6)][_0x47a08a(0xa1)];_0x1af016[_0x47a08a(0xe4)](_0x47a08a(0xd6))&&_0x1af016[_0x47a08a(0xc5)](_0x47a08a(0xd6),{'allowAttributes':[_0x47a08a(0xca)]}),_0x1af016[_0x47a08a(0xe4)](_0x47a08a(0xa5))&&_0x1af016[_0x47a08a(0xc5)](_0x47a08a(0xa5),{'allowAttributes':[_0x47a08a(0xca)]});}[_0x3e5e67(0xe3)](){const _0xe0a181=_0x3e5e67,_0x541963=this[_0xe0a181(0xc3)];_0x541963[_0xe0a181(0xe5)][_0xe0a181(0xe7)](_0xe0a181(0xe1))[_0xe0a181(0xa3)]({'model':_0xe0a181(0xca),'view':_0xe0a181(0x9f)}),_0x541963[_0xe0a181(0xe5)][_0xe0a181(0xe7)](_0xe0a181(0xcd))[_0xe0a181(0xbf)]({'model':{'key':_0xe0a181(0xca),'value':_0x5ade0f=>_0x5ade0f[_0xe0a181(0xb8)](_0xe0a181(0x9f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d818b=_0x541963[_0xe0a181(0x98)][_0xe0a181(0xb1)](_0xe0a181(0xa4));_0x4d818b&&this[_0xe0a181(0xe2)](_0x4d818b,_0xe0a181(0xbe),(_0x48bf74,[_0x1b53e9,_0x29b360])=>{const _0x51dba7=_0xe0a181;_0x1b53e9[_0x51dba7(0xa9)](_0x51dba7(0xca),_0x29b360);});}[_0x3e5e67(0xd1)](){const _0x170670=_0x3e5e67,_0x4c76cb=this[_0x170670(0xc3)][_0x170670(0xd3)][_0x170670(0xb1)](_0x170670(0x97))||{},_0xaede8e=this[_0x170670(0xc3)][_0x170670(0xd3)][_0x170670(0xb1)](_0x170670(0x9e))||'';this[_0x170670(0xc2)]=_0x2a8b96(_0x2b791b[_0x170670(0xaa)],_0x170670(0x99),{..._0x4c76cb,'pubkey':_0xaede8e,'ctx-name':_0x170670(0xb3),'sourceList':'','imgOnly':_0x170670(0xdc),'removeCopyright':_0x170670(0xdc),'localeName':this[_0x170670(0xc3)][_0x170670(0x9b)][_0x170670(0xbd)],'externalSourcesEmbedCss':_0x170670(0xb2)}),this[_0x170670(0xc2)][_0x170670(0xb4)]=_0x59b6e4=>{const _0x125540=_0x170670;if(_0x125540(0xa6)==_0x59b6e4)return _0x125540(0xdf);},_0x2b791b[_0x170670(0xaa)][_0x170670(0xa0)][_0x170670(0xa2)](this[_0x170670(0xc2)]);}[_0x3e5e67(0xbc)](){const _0x4c12ef=_0x3e5e67;this[_0x4c12ef(0xaf)]=_0x2a8b96(_0x2b791b[_0x4c12ef(0xaa)],_0x4c12ef(0xab),{'ctx-name':_0x4c12ef(0xb3)}),_0x2b791b[_0x4c12ef(0xaa)][_0x4c12ef(0xa0)][_0x4c12ef(0xa2)](this[_0x4c12ef(0xaf)]);}[_0x3e5e67(0xae)](){const _0x5025d1=_0x3e5e67,_0xe3dd45=this[_0x5025d1(0xc3)][_0x5025d1(0x98)][_0x5025d1(0xb1)](_0x5025d1(0xc7));_0xe3dd45&&this[_0x5025d1(0xe2)](_0xe3dd45,_0x5025d1(0xb6),()=>{const _0x12fa36=_0x5025d1,_0x1f37ed=this[_0x12fa36(0xc3)][_0x12fa36(0xc6)][_0x12fa36(0xaa)][_0x12fa36(0xdd)][_0x12fa36(0xb0)]();_0x1f37ed&&_0x1f37ed[_0x12fa36(0xb8)](_0x12fa36(0xca))&&this[_0x12fa36(0xc3)][_0x12fa36(0xad)][_0x12fa36(0xba)][_0x12fa36(0xd2)](_0x12fa36(0xe6),()=>{const _0x312209=_0x12fa36;_0x9b53a1(this[_0x312209(0xc3)],_0x1f37ed);});});const _0x34cf35=this[_0x5025d1(0xc3)][_0x5025d1(0x98)][_0x5025d1(0xb1)](_0x5025d1(0x95));_0x34cf35&&this[_0x5025d1(0xe2)](_0x34cf35,_0x5025d1(0xb6),()=>{const _0x352c08=_0x5025d1,_0x2a42a9=this[_0x352c08(0xc3)][_0x352c08(0xc6)][_0x352c08(0xaa)][_0x352c08(0xdd)][_0x352c08(0xb0)]();_0x2a42a9&&_0x2a42a9[_0x352c08(0xb8)](_0x352c08(0xca))&&this[_0x352c08(0xc3)][_0x352c08(0xad)][_0x352c08(0xba)][_0x352c08(0xd2)](_0x352c08(0xe6),()=>{const _0x547455=_0x352c08;_0x9b53a1(this[_0x547455(0xc3)],_0x2a42a9);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x109671,ObservableMixin as _0x368c8d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x42abdc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x22ae42}from'ckeditor5/src/icons.js';import _0x2b652d from'./uploadcareimageeditformview.js';import _0x5e8703 from'../../utils/uploadutils.js';import{getImageUrls as _0x36be61,getImageDimension as _0x183d5d}from'../../utils/editingutils.js';import{isAncestor as _0x2e8071}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x368c8d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c908d,_0x56c5b0,_0x1b4fee){super(),this['_editor']=_0x4c908d,this['_dialog']=_0x56c5b0,this['_imageElement']=_0x1b4fee,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 _0x2205a0=this['_imageElement'],_0xefcf89=_0x2205a0['getAttribute']('uploadcareImageId'),_0x3a0349=_0x2205a0['getAttribute']('src');if(_0xefcf89)await this['_loadImageInfo'](_0xefcf89,_0x3a0349);else{if(this['_imageCache']['has'](_0x3a0349)){const _0x279025=this['_imageCache']['get'](_0x3a0349);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x279025['url'],this['imageDimension']=_0x279025['dimension'],this['imageId']=_0x279025['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b4b6c}=this['_editor'],t=_0x5b4b6c['t'],_0x4b7cb7=new _0x2b652d(_0x5b4b6c,this['imageStatus'],this['_attributes']);_0x4b7cb7['bind']('status')['to'](this,'imageStatus'),_0x4b7cb7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b7cb7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b7cb7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b7cb7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x22ae42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b7cb7,'position':_0x42abdc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b7cb7['focus']();},'onHide':()=>{_0x4b7cb7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x33587b=>!_0x2e8071(_0x33587b,_0x4b7cb7['element'])}});}['_loadImageInfo'](_0x234622,_0x10bfa9){return _0x5e8703['getInfo'](_0x234622,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x11b539=>{const {width:_0x6fcc3b,height:_0x30c04e}=_0x11b539['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10bfa9,this['imageDimension']={'width':_0x6fcc3b,'height':_0x30c04e},this['imageId']=_0x234622;})['catch'](_0x546ff3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x546ff3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1384b1,_0xf3229d){return this['_getImageAsFile'](_0x1384b1)['then'](_0x15299f=>_0x5e8703['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf3229d['signal'],'file':_0x15299f,'onProgress':_0x149717=>{_0x149717&&_0x149717['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x149717['value']));}}))['then'](_0x3b764c=>{const {width:_0x2d6fd5,height:_0x456674}=_0x3b764c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b764c['cdnUrl'],this['imageDimension']={'width':_0x2d6fd5,'height':_0x456674},this['imageId']=_0x3b764c['uuid'],this['imageUploadProgress']=null;const _0x37427c=_0x1384b1['getAttribute']('src');this['_imageCache']['set'](_0x37427c,{'id':_0x3b764c['uuid'],'url':_0x3b764c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2edb00=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2edb00['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5518af,_0x52217f){_0x5518af['on']('apply',(_0x12ef23,_0x34d3f5)=>{this['_replaceImage'](_0x52217f,_0x34d3f5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5518af['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5518af['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x203cde,_0x50b031,_0x3ff34d){const _0x23ac3a=this['_editor'],{width:_0x1ba1e9,height:_0x29d610}=_0x183d5d(_0x50b031,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x114a7c,imageSources:_0x412d67}=_0x36be61(_0x50b031,_0x1ba1e9);_0x23ac3a['model']['change'](_0x217bce=>{if('$graveyard'===_0x203cde['root']['rootName']){_0x23ac3a['execute']('insertImage',{'imageType':_0x203cde['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x203cde['getAttributes']()),'uploadcareImageId':_0x3ff34d,'src':_0x114a7c,'sources':_0x412d67,'width':_0x1ba1e9,'height':_0x29d610}});const _0x5bf96a=_0x203cde['getChildren']();_0x203cde=_0x23ac3a['model']['document']['selection']['getSelectedElement']();for(const _0x1eca6c of _0x5bf96a)_0x217bce['append'](_0x217bce['cloneElement'](_0x1eca6c),_0x203cde);}else _0x217bce['setSelection'](_0x203cde,'on'),_0x23ac3a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x203cde['getAttributes']()),'uploadcareImageId':_0x3ff34d,'src':_0x114a7c,'sources':_0x412d67,'width':_0x1ba1e9,'height':_0x29d610},_0x203cde);_0x217bce['setSelection'](_0x203cde,'on');});}async['_getImageAsFile'](_0xc53859){const _0x2e00cd=_0x109671['window'],_0x19c1e8=_0x109671['document']['location']['href'],_0x3c5b8d=new _0x2e00cd['URL'](_0xc53859['getAttribute']('src'),_0x19c1e8);if('data:'===_0x3c5b8d['protocol']){const _0x1a3061=_0x3c5b8d['href']['split'](','),_0x4e4560=_0x1a3061[0x0]['match'](/:(.*?);/)[0x1],_0x8a5737=_0x4e4560['split']('/')[0x1],_0x43d3f8=_0x2e00cd['atob'](_0x1a3061[_0x1a3061['length']-0x1]);let _0x17f7b1=_0x43d3f8['length'];const _0x310826=new _0x2e00cd['Uint8Array'](_0x17f7b1);for(;_0x17f7b1--;)_0x310826[_0x17f7b1]=_0x43d3f8['charCodeAt'](_0x17f7b1);return new _0x2e00cd['File']([_0x310826],'image.'+_0x8a5737,{'type':_0x4e4560});}const _0x20c527=_0x3c5b8d['href']['split']('/'),_0x900484=_0x20c527[_0x20c527['length']-0x1],_0x18bdc9=_0x900484['split']('.')[0x1];return _0x2e00cd['fetch'](_0x3c5b8d['href'])['then'](_0x45fd4a=>_0x45fd4a['clone']()['blob']())['then'](_0x5bf3b=>new _0x2e00cd['File']([_0x5bf3b],_0x900484,{'type':'image/'+_0x18bdc9}));}}
23
+ import{global as _0x23d08a,ObservableMixin as _0x59d929}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x381f3d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x312bdc}from'ckeditor5/src/icons.js';import _0xaa60b1 from'./uploadcareimageeditformview.js';import _0x1f7297 from'../../utils/uploadutils.js';import{getImageUrls as _0x590b11,getImageDimension as _0x17ee1f}from'../../utils/editingutils.js';import{isAncestor as _0xe418cf}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x59d929(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x345048,_0x226a99,_0x28e337){super(),this['_editor']=_0x345048,this['_dialog']=_0x226a99,this['_imageElement']=_0x28e337,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 _0x3820a5=this['_imageElement'],_0x52a3c6=_0x3820a5['getAttribute']('uploadcareImageId'),_0x37dfb0=_0x3820a5['getAttribute']('src');if(_0x52a3c6)await this['_loadImageInfo'](_0x52a3c6,_0x37dfb0);else{if(this['_imageCache']['has'](_0x37dfb0)){const _0x2d544f=this['_imageCache']['get'](_0x37dfb0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d544f['url'],this['imageDimension']=_0x2d544f['dimension'],this['imageId']=_0x2d544f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2c4f86}=this['_editor'],t=_0x2c4f86['t'],_0x9003d2=new _0xaa60b1(_0x2c4f86,this['imageStatus'],this['_attributes']);_0x9003d2['bind']('status')['to'](this,'imageStatus'),_0x9003d2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x9003d2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x9003d2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x9003d2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x312bdc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x9003d2,'position':_0x381f3d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x9003d2['focus']();},'onHide':()=>{_0x9003d2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d3960=>!_0xe418cf(_0x5d3960,_0x9003d2['element'])}});}['_loadImageInfo'](_0x5cc8b1,_0x28c6c2){return _0x1f7297['getInfo'](_0x5cc8b1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x40eaf3=>{const {width:_0x57dd5c,height:_0x4a5505}=_0x40eaf3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28c6c2,this['imageDimension']={'width':_0x57dd5c,'height':_0x4a5505},this['imageId']=_0x5cc8b1;})['catch'](_0x125067=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x125067['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5d8c87,_0x558ab0){return this['_getImageAsFile'](_0x5d8c87)['then'](_0x3202a2=>_0x1f7297['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x558ab0['signal'],'file':_0x3202a2,'onProgress':_0x5ed1e1=>{_0x5ed1e1&&_0x5ed1e1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ed1e1['value']));}}))['then'](_0x4ed48a=>{const {width:_0x2cad1d,height:_0x8407b5}=_0x4ed48a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4ed48a['cdnUrl'],this['imageDimension']={'width':_0x2cad1d,'height':_0x8407b5},this['imageId']=_0x4ed48a['uuid'],this['imageUploadProgress']=null;const _0x37c229=_0x5d8c87['getAttribute']('src');this['_imageCache']['set'](_0x37c229,{'id':_0x4ed48a['uuid'],'url':_0x4ed48a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x187c31=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x187c31['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1eb002,_0x212608){_0x1eb002['on']('apply',(_0x2c1e65,_0x388469)=>{this['_replaceImage'](_0x212608,_0x388469['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1eb002['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1eb002['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x16f2cd,_0x359bfa,_0x4bf22b){const _0x42509f=this['_editor'],{width:_0x5b7b50,height:_0x21d6a2}=_0x17ee1f(_0x359bfa,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x9c2b9b,imageSources:_0x40cc9e}=_0x590b11(_0x359bfa,_0x5b7b50);_0x42509f['model']['change'](_0x50966d=>{if('$graveyard'===_0x16f2cd['root']['rootName']){_0x42509f['execute']('insertImage',{'imageType':_0x16f2cd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x16f2cd['getAttributes']()),'uploadcareImageId':_0x4bf22b,'src':_0x9c2b9b,'sources':_0x40cc9e,'width':_0x5b7b50,'height':_0x21d6a2}});const _0x95e1f7=_0x16f2cd['getChildren']();_0x16f2cd=_0x42509f['model']['document']['selection']['getSelectedElement']();for(const _0x8bfa21 of _0x95e1f7)_0x50966d['append'](_0x50966d['cloneElement'](_0x8bfa21),_0x16f2cd);}else _0x50966d['setSelection'](_0x16f2cd,'on'),_0x42509f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x16f2cd['getAttributes']()),'uploadcareImageId':_0x4bf22b,'src':_0x9c2b9b,'sources':_0x40cc9e,'width':_0x5b7b50,'height':_0x21d6a2},_0x16f2cd);_0x50966d['setSelection'](_0x16f2cd,'on');});}async['_getImageAsFile'](_0x90f52a){const _0x579058=_0x23d08a['window'],_0x14020a=_0x23d08a['document']['location']['href'],_0x243dc1=new _0x579058['URL'](_0x90f52a['getAttribute']('src'),_0x14020a);if('data:'===_0x243dc1['protocol']){const _0x52310c=_0x243dc1['href']['split'](','),_0x413e82=_0x52310c[0x0]['match'](/:(.*?);/)[0x1],_0x166f46=_0x413e82['split']('/')[0x1],_0x2a9afa=_0x579058['atob'](_0x52310c[_0x52310c['length']-0x1]);let _0x1a21d5=_0x2a9afa['length'];const _0x1f0443=new _0x579058['Uint8Array'](_0x1a21d5);for(;_0x1a21d5--;)_0x1f0443[_0x1a21d5]=_0x2a9afa['charCodeAt'](_0x1a21d5);return new _0x579058['File']([_0x1f0443],'image.'+_0x166f46,{'type':_0x413e82});}const _0x28444d=_0x243dc1['href']['split']('/'),_0x8f827c=_0x28444d[_0x28444d['length']-0x1],_0xd2e9=_0x8f827c['split']('.')[0x1];return _0x579058['fetch'](_0x243dc1['href'])['then'](_0x388f45=>_0x388f45['clone']()['blob']())['then'](_0x225d44=>new _0x579058['File']([_0x225d44],_0x8f827c,{'type':'image/'+_0xd2e9}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e3f(_0x41625a,_0x1c8e54){const _0x917b13=_0x917b();return _0x5e3f=function(_0x5e3f7c,_0x23e867){_0x5e3f7c=_0x5e3f7c-0xc3;let _0x4ad203=_0x917b13[_0x5e3f7c];return _0x4ad203;},_0x5e3f(_0x41625a,_0x1c8e54);}(function(_0xe760c3,_0x59bed8){const _0x34f5ab=_0x5e3f,_0x118eb6=_0xe760c3();while(!![]){try{const _0x2e0a76=parseInt(_0x34f5ab(0xd2))/0x1*(parseInt(_0x34f5ab(0xc9))/0x2)+-parseInt(_0x34f5ab(0xd4))/0x3+parseInt(_0x34f5ab(0xc7))/0x4*(-parseInt(_0x34f5ab(0xc3))/0x5)+parseInt(_0x34f5ab(0xc4))/0x6*(-parseInt(_0x34f5ab(0xca))/0x7)+-parseInt(_0x34f5ab(0xcf))/0x8*(-parseInt(_0x34f5ab(0xcd))/0x9)+-parseInt(_0x34f5ab(0xce))/0xa*(parseInt(_0x34f5ab(0xcb))/0xb)+parseInt(_0x34f5ab(0xd3))/0xc;if(_0x2e0a76===_0x59bed8)break;else _0x118eb6['push'](_0x118eb6['shift']());}catch(_0x400af5){_0x118eb6['push'](_0x118eb6['shift']());}}}(_0x917b,0x52982));import{View as _0x3930da}from'ckeditor5/src/ui.js';export default class tt extends _0x3930da{constructor(_0x381a36,_0x3fa2a8){const _0x396292=_0x5e3f;super(_0x381a36);const _0x30b94d=this[_0x396292(0xd6)];this[_0x396292(0xc8)](_0x396292(0xd0),''),this[_0x396292(0xc5)]({'tag':_0x396292(0xd1),'attributes':{..._0x3fa2a8,'class':[_0x396292(0xd5),_0x396292(0xc6)],'ctx-name':_0x396292(0xcc),'cdn-url':_0x30b94d['to'](_0x396292(0xd0))}});}}function _0x917b(){const _0x3dcc99=['15674412ojooKV','531195yfmnqc','uc-light','bindTemplate','5MylcYJ','6SKxRao','setTemplate','ck-uploadcare-theme','1837428EZnTFX','set','4qnZnUo','1586599EhBUCL','7018286ompSMB','image-edit','1009566sRkOoP','10jpFBTm','32PNmGyQ','imageSrc','uc-cloud-image-editor','42257nXNbkM'];_0x917b=function(){return _0x3dcc99;};return _0x917b();}
23
+ function _0x1dc9(_0x5816b4,_0x3d5a4a){const _0x4ef9da=_0x4ef9();return _0x1dc9=function(_0x1dc943,_0x411cbe){_0x1dc943=_0x1dc943-0x93;let _0x1b5588=_0x4ef9da[_0x1dc943];return _0x1b5588;},_0x1dc9(_0x5816b4,_0x3d5a4a);}(function(_0x14beff,_0x4038ae){const _0x3f2b60=_0x1dc9,_0x34c499=_0x14beff();while(!![]){try{const _0x141093=parseInt(_0x3f2b60(0xa0))/0x1+-parseInt(_0x3f2b60(0x94))/0x2*(parseInt(_0x3f2b60(0x9e))/0x3)+parseInt(_0x3f2b60(0x9a))/0x4+-parseInt(_0x3f2b60(0x9d))/0x5*(-parseInt(_0x3f2b60(0x9c))/0x6)+-parseInt(_0x3f2b60(0xa2))/0x7+parseInt(_0x3f2b60(0x99))/0x8+parseInt(_0x3f2b60(0xa1))/0x9*(-parseInt(_0x3f2b60(0x97))/0xa);if(_0x141093===_0x4038ae)break;else _0x34c499['push'](_0x34c499['shift']());}catch(_0x4547ff){_0x34c499['push'](_0x34c499['shift']());}}}(_0x4ef9,0x2c6ea));import{View as _0x58fe2e}from'ckeditor5/src/ui.js';function _0x4ef9(){const _0x1d23ec=['132pCjZMk','setTemplate','133341cgJMmm','135EZvgqu','1360051VKtluP','set','image-edit','bindTemplate','5136tOereB','uc-light','imageSrc','222660ccoKic','uc-cloud-image-editor','2731568PCyYnC','202824kfRdgp','ck-uploadcare-theme','111666RaoAPF','80loQEhi'];_0x4ef9=function(){return _0x1d23ec;};return _0x4ef9();}export default class tt extends _0x58fe2e{constructor(_0x31d98f,_0x525397){const _0x27d933=_0x1dc9;super(_0x31d98f);const _0x2dcafa=this[_0x27d933(0x93)];this[_0x27d933(0xa3)](_0x27d933(0x96),''),this[_0x27d933(0x9f)]({'tag':_0x27d933(0x98),'attributes':{..._0x525397,'class':[_0x27d933(0x95),_0x27d933(0x9b)],'ctx-name':_0x27d933(0xa4),'cdn-url':_0x2dcafa['to'](_0x27d933(0x96))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2dff14,IconView as at,View as _0x5626d7}from'ckeditor5/src/ui.js';export default class rt extends _0x5626d7{constructor(_0x3c1177){super(_0x3c1177);const t=_0x3c1177['t'];this['set']('errorType',null);const _0x3250ef=new _0x2dff14(_0x3c1177);_0x3250ef['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3250ef['withText']=!0x0,_0x3250ef['class']='ck-button-action',_0x3250ef['on']('execute',()=>{this['fire']('retry');}),_0x3250ef['bind']('isVisible')['to'](this,'errorType',_0x228139=>'NotFound'!==_0x228139);const _0x59e28c=new at();_0x59e28c['content']=et,_0x59e28c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xf0d56a=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':[_0x59e28c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xf0d56a['to']('errorType',_0x3ea720=>t('NotFound'!==_0x3ea720?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3250ef]},{'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 _0x2c213b,IconView as at,View as _0x1ae52a}from'ckeditor5/src/ui.js';export default class rt extends _0x1ae52a{constructor(_0x4ad58e){super(_0x4ad58e);const t=_0x4ad58e['t'];this['set']('errorType',null);const _0x2edd8b=new _0x2c213b(_0x4ad58e);_0x2edd8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2edd8b['withText']=!0x0,_0x2edd8b['class']='ck-button-action',_0x2edd8b['on']('execute',()=>{this['fire']('retry');}),_0x2edd8b['bind']('isVisible')['to'](this,'errorType',_0x4cb6d7=>'NotFound'!==_0x4cb6d7);const _0x5a2f4e=new at();_0x5a2f4e['content']=et,_0x5a2f4e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x380982=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':[_0x5a2f4e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x380982['to']('errorType',_0x35161b=>t('NotFound'!==_0x35161b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2edd8b]},{'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 _0x94a908,View as _0x42d639}from'ckeditor5/src/ui.js';export default class ta extends _0x42d639{constructor(_0x3a9d13){super(_0x3a9d13);const t=_0x3a9d13['t'],_0x58abd7=this['bindTemplate'],_0x5d697b=new _0x94a908();_0x5d697b['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':[_0x5d697b,{'text':_0x58abd7['to']('imageUploadProgress',_0x5a8f33=>t('Loading\x20image...')+'\x20('+(_0x5a8f33||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 _0x4bbf5b,View as _0x156729}from'ckeditor5/src/ui.js';export default class ta extends _0x156729{constructor(_0x23fa74){super(_0x23fa74);const t=_0x23fa74['t'],_0x22b992=this['bindTemplate'],_0x10fa81=new _0x4bbf5b();_0x10fa81['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':[_0x10fa81,{'text':_0x22b992['to']('imageUploadProgress',_0x2845f0=>t('Loading\x20image...')+'\x20('+(_0x2845f0||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 _0x1b4bcd=_0x7c92;function _0x1f59(){const _0x1d4850=['_focusableView','_editingView','nodeName','_addErrorViewListeners','element','setTemplate','addEventListener','observe','1091932PscJxd','set','detail','50wRXxVq','uploading','570628iQnnfi','add','filter','length','ck-uploadcare-form','ready','18715444ttGbub','uc-cloud-image-editor','addMany','2286315vRXSXF','691839liRaLi','_loadingView','getFocusableElement','retry','2737XylOcn','3BHhSdm','_setView','change:status','3983442UHjEMi','error','target','addedNodes','status','querySelector','cdnUrl','createCollection','_waitForImageEditorComponent','fire','render','ck-reset_all-excluded','apply','_items','1FvirOu','once','focus','10928tWoDSg','_addUploadcareImageEditorListeners','toLowerCase','div','_errorView','cancel','disconnect','clear'];_0x1f59=function(){return _0x1d4850;};return _0x1f59();}(function(_0x10b5c0,_0x4af532){const _0x389221=_0x7c92,_0x3f8035=_0x10b5c0();while(!![]){try{const _0x78151=parseInt(_0x389221(0xab))/0x1*(parseInt(_0x389221(0xbe))/0x2)+parseInt(_0x389221(0x9a))/0x3*(parseInt(_0x389221(0xc3))/0x4)+-parseInt(_0x389221(0xcc))/0x5+-parseInt(_0x389221(0x9d))/0x6+-parseInt(_0x389221(0x99))/0x7*(parseInt(_0x389221(0xae))/0x8)+-parseInt(_0x389221(0x95))/0x9*(parseInt(_0x389221(0xc1))/0xa)+parseInt(_0x389221(0xc9))/0xb;if(_0x78151===_0x4af532)break;else _0x3f8035['push'](_0x3f8035['shift']());}catch(_0x25db4a){_0x3f8035['push'](_0x3f8035['shift']());}}}(_0x1f59,0x558bc));import{View as _0x224f8c}from'ckeditor5/src/ui.js';import _0x4e2fbf from'./uploadcareimageeditformloadingview.js';import _0x3d9ddb from'./uploadcareimageeditformerrorview.js';function _0x7c92(_0x532813,_0x3a4af4){const _0x1f5955=_0x1f59();return _0x7c92=function(_0x7c9281,_0x334f56){_0x7c9281=_0x7c9281-0x95;let _0x46d6b6=_0x1f5955[_0x7c9281];return _0x46d6b6;},_0x7c92(_0x532813,_0x3a4af4);}import _0x5d6fb3 from'./uploadcareimageeditformeditingview.js';import _0x503bd7 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x503bd7{[_0x1b4bcd(0xaa)];[_0x1b4bcd(0x96)];[_0x1b4bcd(0xb2)];[_0x1b4bcd(0xb7)];[_0x1b4bcd(0xb6)];constructor(_0x3c884d,_0x45b07c,_0x41f0af){const _0x3847fd=_0x1b4bcd;super(_0x3c884d),this[_0x3847fd(0xaa)]=this[_0x3847fd(0xa4)](),this[_0x3847fd(0x96)]=new _0x4e2fbf(_0x3c884d),this[_0x3847fd(0xb2)]=new _0x3d9ddb(_0x3c884d),this[_0x3847fd(0xb7)]=new _0x5d6fb3(_0x3c884d,_0x41f0af),this[_0x3847fd(0xb6)]=new _0x224f8c(_0x3c884d),this[_0x3847fd(0xb6)][_0x3847fd(0xbb)](this[_0x3847fd(0x97)]()),this[_0x3847fd(0xbf)](_0x3847fd(0xa1),_0x45b07c),this[_0x3847fd(0xbb)]({'tag':_0x3847fd(0xb1),'attributes':{'class':['ck',_0x3847fd(0xa8),_0x3847fd(0xc7)],'tabindex':'-1'},'children':this[_0x3847fd(0xaa)]}),this[_0x3847fd(0x9b)](),this[_0x3847fd(0xac)](_0x3847fd(0xa7),()=>{const _0x573d67=_0x3847fd;this[_0x573d67(0xa5)](this[_0x573d67(0xba)],_0x30413e=>{const _0x5a605d=_0x573d67;this[_0x5a605d(0xaf)](_0x30413e);});}),this['on'](_0x3847fd(0x9c),()=>{const _0x403ee2=_0x3847fd;this[_0x403ee2(0x9b)]();}),this[_0x3847fd(0xb9)]();}[_0x1b4bcd(0xad)](){const _0x22ee69=_0x1b4bcd;this[_0x22ee69(0xba)][_0x22ee69(0xad)]();}[_0x1b4bcd(0x9b)](){const _0x58d852=_0x1b4bcd;switch(this[_0x58d852(0xaa)][_0x58d852(0xb5)](),this[_0x58d852(0xa1)]){case _0x58d852(0xc2):this[_0x58d852(0xaa)][_0x58d852(0xc4)](this[_0x58d852(0x96)]);break;case _0x58d852(0x9e):this[_0x58d852(0xaa)][_0x58d852(0xc4)](this[_0x58d852(0xb2)]);break;case _0x58d852(0xc8):this[_0x58d852(0xaa)][_0x58d852(0xcb)]([this[_0x58d852(0xb7)],this[_0x58d852(0xb6)]]);}}[_0x1b4bcd(0xa5)](_0x357804,_0x5e83f5){const _0x3a7ce2=_0x1b4bcd,_0x5ef42a=_0x3a7ce2(0xca),_0x389b2d=_0x357804[_0x3a7ce2(0xa2)](_0x5ef42a);if(_0x389b2d)return _0x5e83f5(_0x389b2d);const _0x2a7b7d=new MutationObserver(_0x1ac95a=>{const _0x2cef3a=_0x3a7ce2,_0x38cde3=_0x1ac95a[_0x2cef3a(0xc5)](_0x5c8be7=>_0x5c8be7[_0x2cef3a(0x9f)]===_0x357804&&_0x5c8be7[_0x2cef3a(0xa0)][_0x2cef3a(0xc6)]>0x0&&_0x5c8be7[_0x2cef3a(0xa0)][0x0][_0x2cef3a(0xb8)][_0x2cef3a(0xb0)]()===_0x5ef42a);_0x38cde3[_0x2cef3a(0xc6)]&&(_0x2a7b7d[_0x2cef3a(0xb4)](),_0x5e83f5(_0x38cde3[0x0][_0x2cef3a(0xa0)][0x0]));});_0x2a7b7d[_0x3a7ce2(0xbd)](_0x357804,{'childList':!0x0,'subtree':!0x0});}[_0x1b4bcd(0xaf)](_0x34eede){const _0x4a291b=_0x1b4bcd;_0x34eede[_0x4a291b(0xbc)](_0x4a291b(0xa9),_0x16e150=>{const _0x8d0f54=_0x4a291b;this[_0x8d0f54(0xa6)](_0x8d0f54(0xa9),{'imageSrc':_0x16e150[_0x8d0f54(0xc0)][_0x8d0f54(0xa3)]});}),_0x34eede[_0x4a291b(0xbc)](_0x4a291b(0xb3),()=>{const _0x52fcac=_0x4a291b;this[_0x52fcac(0xa6)](_0x52fcac(0xb3));});}[_0x1b4bcd(0xb9)](){const _0x1014fe=_0x1b4bcd;this[_0x1014fe(0xb2)]['on'](_0x1014fe(0x98),()=>{const _0x224c8e=_0x1014fe;this[_0x224c8e(0xa6)](_0x224c8e(0x98));});}}
23
+ const _0xc87ec4=_0x1107;(function(_0x1611fd,_0x571f2f){const _0x4d2d05=_0x1107,_0x15f702=_0x1611fd();while(!![]){try{const _0x539d8f=parseInt(_0x4d2d05(0xaa))/0x1+-parseInt(_0x4d2d05(0xa7))/0x2*(-parseInt(_0x4d2d05(0xa4))/0x3)+-parseInt(_0x4d2d05(0xa1))/0x4+-parseInt(_0x4d2d05(0xad))/0x5*(-parseInt(_0x4d2d05(0x8c))/0x6)+-parseInt(_0x4d2d05(0x8d))/0x7*(parseInt(_0x4d2d05(0x9d))/0x8)+-parseInt(_0x4d2d05(0x8f))/0x9*(-parseInt(_0x4d2d05(0x83))/0xa)+-parseInt(_0x4d2d05(0xae))/0xb*(parseInt(_0x4d2d05(0xb1))/0xc);if(_0x539d8f===_0x571f2f)break;else _0x15f702['push'](_0x15f702['shift']());}catch(_0x27f4e8){_0x15f702['push'](_0x15f702['shift']());}}}(_0x5d1a,0xd7ecf));import{View as _0x172721}from'ckeditor5/src/ui.js';function _0x1107(_0x15a230,_0x22132f){const _0x5d1af1=_0x5d1a();return _0x1107=function(_0x1107bb,_0x22a7fd){_0x1107bb=_0x1107bb-0x7d;let _0x3ed67c=_0x5d1af1[_0x1107bb];return _0x3ed67c;},_0x1107(_0x15a230,_0x22132f);}function _0x5d1a(){const _0x39d44b=['_waitForImageEditorComponent','setTemplate','addEventListener','_items','22352BojIah','render','_addUploadcareImageEditorListeners','_loadingView','2329120RdKFTg','retry','cdnUrl','230199ffjnGT','uc-cloud-image-editor','addedNodes','12SuEuUn','once','div','1437696JoEMjb','nodeName','target','1372315oLjKHl','720269iBDyYY','fire','_focusableView','204EVhyyW','cancel','_setView','_editingView','addMany','createCollection','toLowerCase','set','clear','ready','status','1817830qFXofD','disconnect','length','observe','apply','_errorView','focus','error','element','18hAZwfm','2632CKTMNq','change:status','45CxUpcu','add','getFocusableElement','detail','ck-uploadcare-form','filter','querySelector','uploading','_addErrorViewListeners','ck-reset_all-excluded'];_0x5d1a=function(){return _0x39d44b;};return _0x5d1a();}import _0x493261 from'./uploadcareimageeditformloadingview.js';import _0x25cc32 from'./uploadcareimageeditformerrorview.js';import _0x1c8125 from'./uploadcareimageeditformeditingview.js';import _0x176c87 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x176c87{[_0xc87ec4(0x9c)];[_0xc87ec4(0xa0)];[_0xc87ec4(0x88)];[_0xc87ec4(0xb4)];[_0xc87ec4(0xb0)];constructor(_0x49cc7b,_0x10ea18,_0x1e65f8){const _0x406cc7=_0xc87ec4;super(_0x49cc7b),this[_0x406cc7(0x9c)]=this[_0x406cc7(0x7d)](),this[_0x406cc7(0xa0)]=new _0x493261(_0x49cc7b),this[_0x406cc7(0x88)]=new _0x25cc32(_0x49cc7b),this[_0x406cc7(0xb4)]=new _0x1c8125(_0x49cc7b,_0x1e65f8),this[_0x406cc7(0xb0)]=new _0x172721(_0x49cc7b),this[_0x406cc7(0xb0)][_0x406cc7(0x9a)](this[_0x406cc7(0x91)]()),this[_0x406cc7(0x7f)](_0x406cc7(0x82),_0x10ea18),this[_0x406cc7(0x9a)]({'tag':_0x406cc7(0xa9),'attributes':{'class':['ck',_0x406cc7(0x98),_0x406cc7(0x93)],'tabindex':'-1'},'children':this[_0x406cc7(0x9c)]}),this[_0x406cc7(0xb3)](),this[_0x406cc7(0xa8)](_0x406cc7(0x9e),()=>{const _0x44bbcc=_0x406cc7;this[_0x44bbcc(0x99)](this[_0x44bbcc(0x8b)],_0x1ee9c2=>{const _0x541b2f=_0x44bbcc;this[_0x541b2f(0x9f)](_0x1ee9c2);});}),this['on'](_0x406cc7(0x8e),()=>{const _0x558fd4=_0x406cc7;this[_0x558fd4(0xb3)]();}),this[_0x406cc7(0x97)]();}[_0xc87ec4(0x89)](){const _0x2b1d96=_0xc87ec4;this[_0x2b1d96(0x8b)][_0x2b1d96(0x89)]();}[_0xc87ec4(0xb3)](){const _0x51c120=_0xc87ec4;switch(this[_0x51c120(0x9c)][_0x51c120(0x80)](),this[_0x51c120(0x82)]){case _0x51c120(0x96):this[_0x51c120(0x9c)][_0x51c120(0x90)](this[_0x51c120(0xa0)]);break;case _0x51c120(0x8a):this[_0x51c120(0x9c)][_0x51c120(0x90)](this[_0x51c120(0x88)]);break;case _0x51c120(0x81):this[_0x51c120(0x9c)][_0x51c120(0xb5)]([this[_0x51c120(0xb4)],this[_0x51c120(0xb0)]]);}}[_0xc87ec4(0x99)](_0x4a8fbc,_0x196f55){const _0x30beef=_0xc87ec4,_0x29fb9c=_0x30beef(0xa5),_0xa24663=_0x4a8fbc[_0x30beef(0x95)](_0x29fb9c);if(_0xa24663)return _0x196f55(_0xa24663);const _0x6c3f73=new MutationObserver(_0xe047c8=>{const _0xb556c7=_0x30beef,_0x4f5542=_0xe047c8[_0xb556c7(0x94)](_0x360e9e=>_0x360e9e[_0xb556c7(0xac)]===_0x4a8fbc&&_0x360e9e[_0xb556c7(0xa6)][_0xb556c7(0x85)]>0x0&&_0x360e9e[_0xb556c7(0xa6)][0x0][_0xb556c7(0xab)][_0xb556c7(0x7e)]()===_0x29fb9c);_0x4f5542[_0xb556c7(0x85)]&&(_0x6c3f73[_0xb556c7(0x84)](),_0x196f55(_0x4f5542[0x0][_0xb556c7(0xa6)][0x0]));});_0x6c3f73[_0x30beef(0x86)](_0x4a8fbc,{'childList':!0x0,'subtree':!0x0});}[_0xc87ec4(0x9f)](_0x2462a7){const _0x50a700=_0xc87ec4;_0x2462a7[_0x50a700(0x9b)](_0x50a700(0x87),_0x1c931e=>{const _0x5e1919=_0x50a700;this[_0x5e1919(0xaf)](_0x5e1919(0x87),{'imageSrc':_0x1c931e[_0x5e1919(0x92)][_0x5e1919(0xa3)]});}),_0x2462a7[_0x50a700(0x9b)](_0x50a700(0xb2),()=>{const _0x440772=_0x50a700;this[_0x440772(0xaf)](_0x440772(0xb2));});}[_0xc87ec4(0x97)](){const _0x21a42e=_0xc87ec4;this[_0x21a42e(0x88)]['on'](_0x21a42e(0xa2),()=>{const _0x469a11=_0x21a42e;this[_0x469a11(0xaf)](_0x469a11(0xa2));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d0429=_0x68cb;(function(_0x2bad0a,_0x4111d9){const _0x336d14=_0x68cb,_0x6d13e4=_0x2bad0a();while(!![]){try{const _0x450684=-parseInt(_0x336d14(0x7a))/0x1*(-parseInt(_0x336d14(0x85))/0x2)+parseInt(_0x336d14(0x7e))/0x3+parseInt(_0x336d14(0x8a))/0x4*(parseInt(_0x336d14(0x80))/0x5)+-parseInt(_0x336d14(0x89))/0x6*(parseInt(_0x336d14(0x81))/0x7)+-parseInt(_0x336d14(0x7d))/0x8*(parseInt(_0x336d14(0x76))/0x9)+parseInt(_0x336d14(0x82))/0xa+parseInt(_0x336d14(0x73))/0xb;if(_0x450684===_0x4111d9)break;else _0x6d13e4['push'](_0x6d13e4['shift']());}catch(_0x578bfa){_0x6d13e4['push'](_0x6d13e4['shift']());}}}(_0x61fc,0x45184));function _0x61fc(){const _0x36b7f6=['709OYpwfR','element','imageInline','4026272wHzZKZ','290994CFWdlc','selection','5xGMGbg','224toPWBG','1563520kFvqkJ','uploadcare.allowExternalImagesEditing','plugins','706ILRGrl','imageEditController','refresh','execute','47274aLMnpc','336524NXBaiv','requires','set','config','_isEditable','unbind','model','bind','get','document','4957326nVXZvY','getSelectedElement','imageBlock','9hVaCcw','isActive','editor','isEnabled'];_0x61fc=function(){return _0x36b7f6;};return _0x61fc();}import{Command as _0x263824}from'ckeditor5/src/core.js';import{Dialog as _0x29da5d}from'ckeditor5/src/ui.js';function _0x68cb(_0x4fdc83,_0x42bbb2){const _0x61fce1=_0x61fc();return _0x68cb=function(_0x68cb0a,_0x48ff3f){_0x68cb0a=_0x68cb0a-0x6f;let _0x5deeed=_0x61fce1[_0x68cb0a];return _0x5deeed;},_0x68cb(_0x4fdc83,_0x42bbb2);}import _0x1154d4 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d64b6}from'../utils/editingutils.js';export default class J extends _0x263824{[_0x2d0429(0x86)];static get[_0x2d0429(0x8b)](){return[_0x29da5d];}[_0x2d0429(0x8e)];constructor(_0x12364b){const _0xfd2c5e=_0x2d0429;super(_0x12364b),this[_0xfd2c5e(0x86)]=void 0x0,this[_0xfd2c5e(0x8e)]=_0x5d64b6(_0x12364b[_0xfd2c5e(0x8d)][_0xfd2c5e(0x71)](_0xfd2c5e(0x83))||[]),this[_0xfd2c5e(0x8c)]({'isActive':!0x1});}[_0x2d0429(0x87)](){const _0x271561=_0x2d0429,_0x4de735=this[_0x271561(0x78)][_0x271561(0x6f)][_0x271561(0x72)][_0x271561(0x7f)][_0x271561(0x74)]();this[_0x271561(0x79)]=this[_0x271561(0x8e)](_0x4de735);}[_0x2d0429(0x88)](){const _0x2a3f5c=_0x2d0429;this[_0x2a3f5c(0x86)]&&(this[_0x2a3f5c(0x8f)](_0x2a3f5c(0x77)),this[_0x2a3f5c(0x86)]=void 0x0);const _0x404908=this[_0x2a3f5c(0x78)][_0x2a3f5c(0x6f)][_0x2a3f5c(0x72)][_0x2a3f5c(0x7f)][_0x2a3f5c(0x74)]();_0x404908&&(_0x404908['is'](_0x2a3f5c(0x7b),_0x2a3f5c(0x75))||_0x404908['is'](_0x2a3f5c(0x7b),_0x2a3f5c(0x7c)))&&(this[_0x2a3f5c(0x86)]=new _0x1154d4(this[_0x2a3f5c(0x78)],this[_0x2a3f5c(0x78)][_0x2a3f5c(0x84)][_0x2a3f5c(0x71)](_0x29da5d),_0x404908),this[_0x2a3f5c(0x70)](_0x2a3f5c(0x77))['to'](this[_0x2a3f5c(0x86)],_0x2a3f5c(0x77)));}}
23
+ const _0x2b9965=_0x1c2d;(function(_0x3deef8,_0xa57c4){const _0x188a6a=_0x1c2d,_0x14a9c2=_0x3deef8();while(!![]){try{const _0x2f9b58=-parseInt(_0x188a6a(0x196))/0x1*(parseInt(_0x188a6a(0x1a1))/0x2)+-parseInt(_0x188a6a(0x197))/0x3+-parseInt(_0x188a6a(0x1a6))/0x4+-parseInt(_0x188a6a(0x1ae))/0x5*(parseInt(_0x188a6a(0x195))/0x6)+-parseInt(_0x188a6a(0x1ac))/0x7+parseInt(_0x188a6a(0x1a5))/0x8*(-parseInt(_0x188a6a(0x1aa))/0x9)+parseInt(_0x188a6a(0x1b1))/0xa;if(_0x2f9b58===_0xa57c4)break;else _0x14a9c2['push'](_0x14a9c2['shift']());}catch(_0xf2a29e){_0x14a9c2['push'](_0x14a9c2['shift']());}}}(_0x32df,0x4ed6e));import{Command as _0x51192a}from'ckeditor5/src/core.js';import{Dialog as _0x4a4820}from'ckeditor5/src/ui.js';import _0x1c93c9 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xbe0f33}from'../utils/editingutils.js';function _0x32df(){const _0x5e4d31=['set','uploadcare.allowExternalImagesEditing','45CQrGKz','_isEditable','1407049JmniWs','refresh','5SgKkjc','editor','document','14580390ibstxD','bind','execute','getSelectedElement','169842zXXHup','218809UaAjoz','826527lrzsop','imageInline','model','imageEditController','requires','plugins','selection','imageBlock','get','isEnabled','2aHVoFt','isActive','element','config','617896ePmYiV','101184qWfUdc','unbind'];_0x32df=function(){return _0x5e4d31;};return _0x32df();}function _0x1c2d(_0x88b698,_0x1cf06c){const _0x32df4a=_0x32df();return _0x1c2d=function(_0x1c2d77,_0x41771c){_0x1c2d77=_0x1c2d77-0x193;let _0x340e11=_0x32df4a[_0x1c2d77];return _0x340e11;},_0x1c2d(_0x88b698,_0x1cf06c);}export default class J extends _0x51192a{[_0x2b9965(0x19a)];static get[_0x2b9965(0x19b)](){return[_0x4a4820];}[_0x2b9965(0x1ab)];constructor(_0x279d1a){const _0xea77e=_0x2b9965;super(_0x279d1a),this[_0xea77e(0x19a)]=void 0x0,this[_0xea77e(0x1ab)]=_0xbe0f33(_0x279d1a[_0xea77e(0x1a4)][_0xea77e(0x19f)](_0xea77e(0x1a9))||[]),this[_0xea77e(0x1a8)]({'isActive':!0x1});}[_0x2b9965(0x1ad)](){const _0x2320dc=_0x2b9965,_0x15c736=this[_0x2320dc(0x1af)][_0x2320dc(0x199)][_0x2320dc(0x1b0)][_0x2320dc(0x19d)][_0x2320dc(0x194)]();this[_0x2320dc(0x1a0)]=this[_0x2320dc(0x1ab)](_0x15c736);}[_0x2b9965(0x193)](){const _0x2a934e=_0x2b9965;this[_0x2a934e(0x19a)]&&(this[_0x2a934e(0x1a7)](_0x2a934e(0x1a2)),this[_0x2a934e(0x19a)]=void 0x0);const _0x5774d6=this[_0x2a934e(0x1af)][_0x2a934e(0x199)][_0x2a934e(0x1b0)][_0x2a934e(0x19d)][_0x2a934e(0x194)]();_0x5774d6&&(_0x5774d6['is'](_0x2a934e(0x1a3),_0x2a934e(0x19e))||_0x5774d6['is'](_0x2a934e(0x1a3),_0x2a934e(0x198)))&&(this[_0x2a934e(0x19a)]=new _0x1c93c9(this[_0x2a934e(0x1af)],this[_0x2a934e(0x1af)][_0x2a934e(0x19c)][_0x2a934e(0x19f)](_0x4a4820),_0x5774d6),this[_0x2a934e(0x1b2)](_0x2a934e(0x1a2))['to'](this[_0x2a934e(0x19a)],_0x2a934e(0x1a2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2508e0=_0x4ffc;(function(_0x346f07,_0x357eaa){const _0xbb97de=_0x4ffc,_0x26b630=_0x346f07();while(!![]){try{const _0x55de4c=-parseInt(_0xbb97de(0x115))/0x1*(-parseInt(_0xbb97de(0x11d))/0x2)+-parseInt(_0xbb97de(0x10f))/0x3+-parseInt(_0xbb97de(0x109))/0x4*(-parseInt(_0xbb97de(0x11a))/0x5)+-parseInt(_0xbb97de(0x118))/0x6+-parseInt(_0xbb97de(0x10a))/0x7*(-parseInt(_0xbb97de(0x11c))/0x8)+parseInt(_0xbb97de(0x113))/0x9+-parseInt(_0xbb97de(0x10c))/0xa;if(_0x55de4c===_0x357eaa)break;else _0x26b630['push'](_0x26b630['shift']());}catch(_0x209573){_0x26b630['push'](_0x26b630['shift']());}}}(_0x39ec,0xa4011));import{Plugin as _0x4c98d7}from'ckeditor5/src/core.js';import{Notification as _0x95cba1}from'ckeditor5/src/ui.js';function _0x4ffc(_0x3a9ff2,_0x36c26c){const _0x39ec3=_0x39ec();return _0x4ffc=function(_0x4ffc49,_0x354302){_0x4ffc49=_0x4ffc49-0x108;let _0x4e5269=_0x39ec3[_0x4ffc49];return _0x4e5269;},_0x4ffc(_0x3a9ff2,_0x36c26c);}import _0x3b44aa from'./uploadcareimageeditcommand.js';import _0x5bed22 from'./uploadcareimagereplacecommand.js';import _0x3f6c51 from'../uploadcareediting.js';function _0x39ec(){const _0xb4cd41=['isPremiumPlugin','5305122CaugcD','isOfficialPlugin','2902685NyQvlz','uploadcareImageEdit','378448OLOEWQ','29494QwGKYz','init','4FvmORR','105qCDTiy','UploadcareImageEditEditing','7290070dqOxmV','commands','uploadcareImageReplace','2308212xBLjqx','ImageEditing','requires','pluginName','5525694KfoucE','ImageUtils','78bZziAw','add'];_0x39ec=function(){return _0xb4cd41;};return _0x39ec();}export default class g extends _0x4c98d7{static get[_0x2508e0(0x112)](){const _0x29056a=_0x2508e0;return _0x29056a(0x10b);}static get[_0x2508e0(0x111)](){const _0x5341bc=_0x2508e0;return[_0x3f6c51,_0x95cba1,_0x5341bc(0x114),_0x5341bc(0x110)];}static get[_0x2508e0(0x119)](){return!0x0;}static get[_0x2508e0(0x117)](){return!0x0;}[_0x2508e0(0x108)](){const _0x257a24=_0x2508e0,{editor:_0x17e755}=this;_0x17e755[_0x257a24(0x10d)][_0x257a24(0x116)](_0x257a24(0x11b),new _0x3b44aa(_0x17e755)),_0x17e755[_0x257a24(0x10d)][_0x257a24(0x116)](_0x257a24(0x10e),new _0x5bed22(_0x17e755));}}
23
+ const _0x26ca7c=_0x56f7;(function(_0x4cc3c5,_0x33aba9){const _0x1274ba=_0x56f7,_0x590521=_0x4cc3c5();while(!![]){try{const _0x3c9722=-parseInt(_0x1274ba(0x180))/0x1*(-parseInt(_0x1274ba(0x192))/0x2)+-parseInt(_0x1274ba(0x17e))/0x3*(parseInt(_0x1274ba(0x185))/0x4)+-parseInt(_0x1274ba(0x18b))/0x5*(parseInt(_0x1274ba(0x194))/0x6)+-parseInt(_0x1274ba(0x18a))/0x7+parseInt(_0x1274ba(0x18f))/0x8*(parseInt(_0x1274ba(0x18d))/0x9)+-parseInt(_0x1274ba(0x17f))/0xa*(-parseInt(_0x1274ba(0x189))/0xb)+parseInt(_0x1274ba(0x193))/0xc;if(_0x3c9722===_0x33aba9)break;else _0x590521['push'](_0x590521['shift']());}catch(_0x3e4232){_0x590521['push'](_0x590521['shift']());}}}(_0x9169,0x66e25));import{Plugin as _0x1fca15}from'ckeditor5/src/core.js';import{Notification as _0x3056cc}from'ckeditor5/src/ui.js';import _0x44f155 from'./uploadcareimageeditcommand.js';import _0x1b9d22 from'./uploadcareimagereplacecommand.js';function _0x9169(){const _0x3a0add=['isOfficialPlugin','ImageUtils','UploadcareImageEditEditing','32527ZFuCJF','3252305eTkwKK','7090uANpGm','pluginName','26559FRUBVZ','requires','424uObzCo','isPremiumPlugin','ImageEditing','1406SIdHCY','8754168mDhAqc','3270TOEtev','uploadcareImageReplace','2652DlnsWx','1010bMYTLP','1116rvfMif','add','uploadcareImageEdit','init','commands','1404GmdeIT'];_0x9169=function(){return _0x3a0add;};return _0x9169();}import _0x15b60c from'../uploadcareediting.js';function _0x56f7(_0x1b4a6b,_0x26bd4f){const _0x916966=_0x9169();return _0x56f7=function(_0x56f73d,_0x82d31b){_0x56f73d=_0x56f73d-0x17d;let _0x17130e=_0x916966[_0x56f73d];return _0x17130e;},_0x56f7(_0x1b4a6b,_0x26bd4f);}export default class g extends _0x1fca15{static get[_0x26ca7c(0x18c)](){const _0x2d18fc=_0x26ca7c;return _0x2d18fc(0x188);}static get[_0x26ca7c(0x18e)](){const _0x5de552=_0x26ca7c;return[_0x15b60c,_0x3056cc,_0x5de552(0x187),_0x5de552(0x191)];}static get[_0x26ca7c(0x186)](){return!0x0;}static get[_0x26ca7c(0x190)](){return!0x0;}[_0x26ca7c(0x183)](){const _0x3722e2=_0x26ca7c,{editor:_0xc9cf7b}=this;_0xc9cf7b[_0x3722e2(0x184)][_0x3722e2(0x181)](_0x3722e2(0x182),new _0x44f155(_0xc9cf7b)),_0xc9cf7b[_0x3722e2(0x184)][_0x3722e2(0x181)](_0x3722e2(0x17d),new _0x1b9d22(_0xc9cf7b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1f715a}from'ckeditor5/src/core.js';import{ButtonView as _0x2648e4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x334bf4}from'ckeditor5/src/icons.js';import{createElement as _0x1390cd}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 _0x1f715a{['_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 _0x4df8f4=this['editor'];_0x4df8f4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d3c45=>{const _0x107fa0=_0x4df8f4['commands']['get']('uploadcareImageEdit'),_0x3cf350=new _0x2648e4(_0x4d3c45),t=_0x4d3c45['t'];return _0x3cf350['set']({'icon':_0x334bf4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3cf350['bind']('isEnabled')['to'](_0x107fa0),_0x3cf350['bind']('isOn')['to'](_0x107fa0,'isActive'),this['listenTo'](_0x3cf350,'execute',()=>{_0x4df8f4['execute']('uploadcareImageEdit'),_0x4df8f4['editing']['view']['focus']();}),_0x3cf350;}),this['_initConfig']();}['_initConfig'](){const _0x5e50bd=_0x1390cd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e50bd),this['listenTo'](this['editor'],'destroy',()=>{_0x5e50bd['remove']();});}}
23
+ import{Plugin as _0x24297b}from'ckeditor5/src/core.js';import{ButtonView as _0x24c78e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x283e52}from'ckeditor5/src/icons.js';import{createElement as _0x4910c2}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 _0x24297b{['_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 _0x3ea78b=this['editor'];_0x3ea78b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2ebde4=>{const _0x50d4d5=_0x3ea78b['commands']['get']('uploadcareImageEdit'),_0x41da66=new _0x24c78e(_0x2ebde4),t=_0x2ebde4['t'];return _0x41da66['set']({'icon':_0x283e52,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x41da66['bind']('isEnabled')['to'](_0x50d4d5),_0x41da66['bind']('isOn')['to'](_0x50d4d5,'isActive'),this['listenTo'](_0x41da66,'execute',()=>{_0x3ea78b['execute']('uploadcareImageEdit'),_0x3ea78b['editing']['view']['focus']();}),_0x41da66;}),this['_initConfig']();}['_initConfig'](){const _0x36324c=_0x4910c2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36324c),this['listenTo'](this['editor'],'destroy',()=>{_0x36324c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eb3c8=_0x1092;function _0x4466(){const _0x38f162=['250173KoSjAy','setAttributes','model','imageInline','srcset','document','651736eLHAEC','2640790jVsPkt','getSelectedElement','editor','selection','80055JkxTbR','97518AXTcuI','element','isEnabled','execute','32jlbGtH','change','removeAttribute','520kdmXEM','sizes','695730lBRzac','72RivTHQ','refresh','225236lmSSIr','imageBlock'];_0x4466=function(){return _0x38f162;};return _0x4466();}(function(_0x54f632,_0x5929a4){const _0xd6fedb=_0x1092,_0x5991ce=_0x54f632();while(!![]){try{const _0x490bf4=-parseInt(_0xd6fedb(0x1de))/0x1+-parseInt(_0xd6fedb(0x1d6))/0x2+parseInt(_0xd6fedb(0x1e4))/0x3*(parseInt(_0xd6fedb(0x1e8))/0x4)+parseInt(_0xd6fedb(0x1d3))/0x5+-parseInt(_0xd6fedb(0x1d4))/0x6*(-parseInt(_0xd6fedb(0x1d8))/0x7)+-parseInt(_0xd6fedb(0x1eb))/0x8*(-parseInt(_0xd6fedb(0x1e3))/0x9)+-parseInt(_0xd6fedb(0x1df))/0xa;if(_0x490bf4===_0x5929a4)break;else _0x5991ce['push'](_0x5991ce['shift']());}catch(_0x11b971){_0x5991ce['push'](_0x5991ce['shift']());}}}(_0x4466,0x5c3cc));function _0x1092(_0x34175d,_0x4ae688){const _0x4466e6=_0x4466();return _0x1092=function(_0x109202,_0x15e8dc){_0x109202=_0x109202-0x1d3;let _0x2fdf8e=_0x4466e6[_0x109202];return _0x2fdf8e;},_0x1092(_0x34175d,_0x4ae688);}import{Command as _0x4263ee}from'ckeditor5/src/core.js';export default class O extends _0x4263ee{[_0x2eb3c8(0x1d5)](){const _0x5e21f6=_0x2eb3c8,_0x2d6a9c=this[_0x5e21f6(0x1e1)][_0x5e21f6(0x1da)][_0x5e21f6(0x1dd)][_0x5e21f6(0x1e2)][_0x5e21f6(0x1e0)]();this[_0x5e21f6(0x1e6)]=Boolean(_0x2d6a9c&&(_0x2d6a9c['is'](_0x5e21f6(0x1e5),_0x5e21f6(0x1d7))||_0x2d6a9c['is'](_0x5e21f6(0x1e5),_0x5e21f6(0x1db))));}[_0x2eb3c8(0x1e7)](_0x3def14){const _0xddc836=_0x2eb3c8,_0x53128d=this[_0xddc836(0x1e1)][_0xddc836(0x1da)][_0xddc836(0x1dd)][_0xddc836(0x1e2)][_0xddc836(0x1e0)]();this[_0xddc836(0x1e1)][_0xddc836(0x1da)][_0xddc836(0x1e9)](_0xc88426=>{const _0x5f56d8=_0xddc836;_0xc88426[_0x5f56d8(0x1d9)](_0x3def14,_0x53128d),_0xc88426[_0x5f56d8(0x1ea)](_0x5f56d8(0x1dc),_0x53128d),_0xc88426[_0x5f56d8(0x1ea)](_0x5f56d8(0x1ec),_0x53128d);});}}
23
+ const _0x3f27dc=_0x20db;(function(_0x3369d1,_0x5c613c){const _0x531c30=_0x20db,_0x22e23a=_0x3369d1();while(!![]){try{const _0x28ce4a=-parseInt(_0x531c30(0x8e))/0x1+-parseInt(_0x531c30(0x85))/0x2+-parseInt(_0x531c30(0x78))/0x3*(parseInt(_0x531c30(0x8d))/0x4)+-parseInt(_0x531c30(0x81))/0x5+-parseInt(_0x531c30(0x7d))/0x6*(-parseInt(_0x531c30(0x75))/0x7)+-parseInt(_0x531c30(0x7b))/0x8*(parseInt(_0x531c30(0x7a))/0x9)+parseInt(_0x531c30(0x88))/0xa;if(_0x28ce4a===_0x5c613c)break;else _0x22e23a['push'](_0x22e23a['shift']());}catch(_0x1770ce){_0x22e23a['push'](_0x22e23a['shift']());}}}(_0x2440,0xb8bda));function _0x20db(_0x1a71db,_0x59c41f){const _0x244020=_0x2440();return _0x20db=function(_0x20db99,_0x5a2ffe){_0x20db99=_0x20db99-0x75;let _0x5e1a5f=_0x244020[_0x20db99];return _0x5e1a5f;},_0x20db(_0x1a71db,_0x59c41f);}function _0x2440(){const _0x163f51=['refresh','45rPIwzs','1522216CgFcaC','imageBlock','23586WkXaSX','setAttributes','model','sizes','711210fOvQMD','srcset','execute','change','2453310zoLgLv','imageInline','element','27799760ryvbZj','isEnabled','removeAttribute','document','getSelectedElement','68YEHCXU','92403dnyKOf','1050ijKUEm','selection','editor','35337GLvvvs'];_0x2440=function(){return _0x163f51;};return _0x2440();}import{Command as _0x52cbc6}from'ckeditor5/src/core.js';export default class O extends _0x52cbc6{[_0x3f27dc(0x79)](){const _0x55b30a=_0x3f27dc,_0x3d8f12=this[_0x55b30a(0x77)][_0x55b30a(0x7f)][_0x55b30a(0x8b)][_0x55b30a(0x76)][_0x55b30a(0x8c)]();this[_0x55b30a(0x89)]=Boolean(_0x3d8f12&&(_0x3d8f12['is'](_0x55b30a(0x87),_0x55b30a(0x7c))||_0x3d8f12['is'](_0x55b30a(0x87),_0x55b30a(0x86))));}[_0x3f27dc(0x83)](_0x558fa2){const _0x497072=_0x3f27dc,_0x255b12=this[_0x497072(0x77)][_0x497072(0x7f)][_0x497072(0x8b)][_0x497072(0x76)][_0x497072(0x8c)]();this[_0x497072(0x77)][_0x497072(0x7f)][_0x497072(0x84)](_0x5b0678=>{const _0x1403e3=_0x497072;_0x5b0678[_0x1403e3(0x7e)](_0x558fa2,_0x255b12),_0x5b0678[_0x1403e3(0x8a)](_0x1403e3(0x82),_0x255b12),_0x5b0678[_0x1403e3(0x8a)](_0x1403e3(0x80),_0x255b12);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a2a(){var _0x5f34a3=['isOfficialPlugin','4681428MWTvRy','3UOWrfH','35194990vQxzus','8uwBJum','pluginName','846866TVBeKZ','987413gBpBEF','11825vyxDyT','UploadcareImageEdit','requires','isPremiumPlugin','1193978Leenzq','9921348vRbtjp','1844JvGDRX'];_0x3a2a=function(){return _0x5f34a3;};return _0x3a2a();}var _0x260e05=_0x22a5;(function(_0x113c8e,_0x179c6e){var _0x32ffd4=_0x22a5,_0x241179=_0x113c8e();while(!![]){try{var _0x4732c3=parseInt(_0x32ffd4(0xb2))/0x1+-parseInt(_0x32ffd4(0xb8))/0x2*(-parseInt(_0x32ffd4(0xae))/0x3)+-parseInt(_0x32ffd4(0xba))/0x4*(-parseInt(_0x32ffd4(0xb4))/0x5)+parseInt(_0x32ffd4(0xad))/0x6+-parseInt(_0x32ffd4(0xb3))/0x7+parseInt(_0x32ffd4(0xb0))/0x8*(parseInt(_0x32ffd4(0xb9))/0x9)+-parseInt(_0x32ffd4(0xaf))/0xa;if(_0x4732c3===_0x179c6e)break;else _0x241179['push'](_0x241179['shift']());}catch(_0x9fa831){_0x241179['push'](_0x241179['shift']());}}}(_0x3a2a,0xb89cc));import{Plugin as _0xe72933}from'ckeditor5/src/core.js';import _0x4ce102 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x22a5(_0x2bc639,_0x122870){var _0x3a2aca=_0x3a2a();return _0x22a5=function(_0x22a56e,_0x1c54c2){_0x22a56e=_0x22a56e-0xad;var _0xc35b25=_0x3a2aca[_0x22a56e];return _0xc35b25;},_0x22a5(_0x2bc639,_0x122870);}import _0x326715 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xe72933{static get[_0x260e05(0xb1)](){var _0x51b8b1=_0x260e05;return _0x51b8b1(0xb5);}static get[_0x260e05(0xb6)](){return[_0x4ce102,_0x326715];}static get[_0x260e05(0xbb)](){return!0x0;}static get[_0x260e05(0xb7)](){return!0x0;}}
23
+ var _0x337d42=_0x4815;(function(_0x4ec6aa,_0x25b8b5){var _0x392622=_0x4815,_0xdd2e0a=_0x4ec6aa();while(!![]){try{var _0x16074d=parseInt(_0x392622(0xff))/0x1*(-parseInt(_0x392622(0x10c))/0x2)+-parseInt(_0x392622(0x103))/0x3+-parseInt(_0x392622(0x101))/0x4*(-parseInt(_0x392622(0x10e))/0x5)+-parseInt(_0x392622(0x10a))/0x6*(parseInt(_0x392622(0x105))/0x7)+-parseInt(_0x392622(0x106))/0x8+-parseInt(_0x392622(0x104))/0x9+-parseInt(_0x392622(0x100))/0xa*(-parseInt(_0x392622(0x109))/0xb);if(_0x16074d===_0x25b8b5)break;else _0xdd2e0a['push'](_0xdd2e0a['shift']());}catch(_0x1a8446){_0xdd2e0a['push'](_0xdd2e0a['shift']());}}}(_0x2608,0xd3f34));import{Plugin as _0x1c8095}from'ckeditor5/src/core.js';function _0x2608(){var _0x574503=['2143578jcBBhV','pluginName','138PRHZCy','UploadcareImageEdit','620AbKXNk','24076MRVceJ','32030cnuKok','21544FmCGco','isPremiumPlugin','4049997aRymTH','15520950Tastbu','14ISLxuA','7042512zZDxCk','requires','isOfficialPlugin','22429kyvYvN'];_0x2608=function(){return _0x574503;};return _0x2608();}import _0x10be4b from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4815(_0x3eda48,_0x5f3e33){var _0x260863=_0x2608();return _0x4815=function(_0x481536,_0x6ecee8){_0x481536=_0x481536-0xff;var _0x423055=_0x260863[_0x481536];return _0x423055;},_0x4815(_0x3eda48,_0x5f3e33);}import _0x1d933a from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1c8095{static get[_0x337d42(0x10b)](){var _0x35af2b=_0x337d42;return _0x35af2b(0x10d);}static get[_0x337d42(0x107)](){return[_0x10be4b,_0x1d933a];}static get[_0x337d42(0x108)](){return!0x0;}static get[_0x337d42(0x102)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x443c(_0x1dc8cc,_0xa8ae36){const _0x463d47=_0x463d();return _0x443c=function(_0x443c02,_0x56abff){_0x443c02=_0x443c02-0xdb;let _0x233f96=_0x463d47[_0x443c02];return _0x233f96;},_0x443c(_0x1dc8cc,_0xa8ae36);}const _0x1d33b1=_0x443c;(function(_0x32905c,_0x1bae18){const _0x3bcdaf=_0x443c,_0x21b011=_0x32905c();while(!![]){try{const _0x3e92f7=parseInt(_0x3bcdaf(0x127))/0x1*(parseInt(_0x3bcdaf(0xe6))/0x2)+parseInt(_0x3bcdaf(0x10d))/0x3*(parseInt(_0x3bcdaf(0xf2))/0x4)+-parseInt(_0x3bcdaf(0xdc))/0x5*(parseInt(_0x3bcdaf(0xfa))/0x6)+parseInt(_0x3bcdaf(0x101))/0x7*(parseInt(_0x3bcdaf(0x118))/0x8)+-parseInt(_0x3bcdaf(0xf4))/0x9*(parseInt(_0x3bcdaf(0x10f))/0xa)+-parseInt(_0x3bcdaf(0x120))/0xb*(-parseInt(_0x3bcdaf(0xee))/0xc)+-parseInt(_0x3bcdaf(0xe7))/0xd;if(_0x3e92f7===_0x1bae18)break;else _0x21b011['push'](_0x21b011['shift']());}catch(_0x1fea1c){_0x21b011['push'](_0x21b011['shift']());}}}(_0x463d,0x8cf86));import{Plugin as _0x56fe91}from'ckeditor5/src/core.js';import{IconDropbox as _0x39cf80,IconFacebook as _0x5a737a,IconGoogleDrive as _0x2d42c1,IconGooglePhotos as _0x32e6b1,IconUploadcareImageUpload as _0x459088,IconUploadcareLink as _0x3ecbe4,IconOneDrive as _0x2b4859}from'ckeditor5/src/icons.js';import{ButtonView as _0x5815da,MenuBarMenuListItemButtonView as _0x7d177e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2e2f43}from'./uploadcareconfig.js';import{getTranslation as _0x4d0d2e}from'./utils/common-translations.js';function _0x463d(){const _0x5a7e27=['invalid','trialLimit','15069JOsrby','uploadcareLicenseKeyDomainLimit','948410qGhgQp','uploadcareLicenseKeyValid','GDrive','uploadcareLicenseKeyEvaluationLimit','_createButton','shortText','Uploadcare','tooltip','get','96FZDcBG','isPremiumPlugin','pluginName','bind','_getIntegrationKey','Insert','usageLimit','url','11BSMNoz','map','commands','uploadcare','uploadcareLicenseKeyNotAllowed','domainLimit','_showLicenseError','7BpfeIR','entries','_createToolbarButton','push','Facebook','Local','licenseKey','uploadcareLicenseKeyUsageLimit','assetManager','610aWIuQL','isOfficialPlugin','withText','_createMenuBarButtons','UploadcareUI','OneDrive','isEnabled','_createDropdownButtons','has','uploadcareLicenseKeyExpired','206642rgRWAI','7677670MPvMGD','uploadcareLicenseKeyInvalid','type','_licenseKeyCheckInterval','forEach','isImageSelected','_normalizeConfigSourceList','9002424zGskwy','destroy','ImageInsertUI','afterInit','100ZZfLJk','registerIntegration','54SySkai','Dropbox','execute','plugins','editor','featureNotAllowed','5718TzKUYP','icon','config','upload','text','Replace','expired','148337rnVPdy','GPhotos','init','locale','label','uploadcareLicenseKeyTrialLimit','URL','reduce','uploadcare.uploader.sourceList','evaluationLimit'];_0x463d=function(){return _0x5a7e27;};return _0x463d();}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 _0x56fe91{[_0x1d33b1(0x12d)];[_0x1d33b1(0xea)];static get[_0x1d33b1(0x11a)](){const _0x25906d=_0x1d33b1;return _0x25906d(0xe0);}static get[_0x1d33b1(0xdd)](){return!0x0;}static get[_0x1d33b1(0x119)](){return!0x0;}[_0x1d33b1(0x103)](){const _0x2be952=_0x1d33b1;this[_0x2be952(0x12d)]=this[_0x2be952(0xf8)][_0x2be952(0xfc)][_0x2be952(0x117)](_0x2be952(0x12d));const _0x4cb634=this[_0x2be952(0xf8)];this[_0x2be952(0xea)]=setInterval(()=>{const _0x22482d=_0x2be952;let _0x406a00;for(const _0x31484b in _0x4cb634){const _0x57526f=_0x31484b,_0x24d4d7=_0x4cb634[_0x57526f];if(_0x22482d(0x110)==_0x24d4d7||_0x22482d(0xe8)==_0x24d4d7||_0x22482d(0xe5)==_0x24d4d7||_0x22482d(0x10e)==_0x24d4d7||_0x22482d(0x124)==_0x24d4d7||_0x22482d(0x112)==_0x24d4d7||_0x22482d(0x106)==_0x24d4d7||_0x22482d(0x12e)==_0x24d4d7){delete _0x4cb634[_0x57526f],_0x406a00=_0x24d4d7,clearInterval(this[_0x22482d(0xea)]),this[_0x22482d(0xea)]=void 0x0;break;}}_0x22482d(0xe8)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10b)),_0x22482d(0xe5)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x100)),_0x22482d(0x10e)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x125)),_0x22482d(0x124)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0xf9),_0x22482d(0x115)),_0x22482d(0x112)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10a)),_0x22482d(0x106)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x10c)),_0x22482d(0x12e)==_0x406a00&&_0x4cb634[_0x22482d(0x126)](_0x22482d(0x11e));},0x3e8);}[_0x1d33b1(0xf1)](){const _0x5f14bf=_0x1d33b1,{editor:_0x1bb9e9}=this,_0x189977=_0x1bb9e9[_0x5f14bf(0x122)][_0x5f14bf(0x117)](_0x5f14bf(0x123));if(!_0x189977)return;const _0x3e19b3=this[_0x5f14bf(0xed)](_0x1bb9e9[_0x5f14bf(0xfc)][_0x5f14bf(0x117)](_0x5f14bf(0x109)))[_0x5f14bf(0x108)]((_0x4de73c,_0x24b686)=>{const _0x2e5d90=_0x5f14bf,_0x3017fe=this[_0x2e5d90(0x11c)](_0x24b686[_0x2e5d90(0xe9)]);return _0x4de73c[_0x3017fe]||(_0x4de73c[_0x3017fe]=[]),_0x4de73c[_0x3017fe][_0x2e5d90(0x12a)](_0x24b686),_0x4de73c;},{});_0x1bb9e9[_0x5f14bf(0xf7)][_0x5f14bf(0xe4)](_0x5f14bf(0xf0))&&_0x1bb9e9[_0x5f14bf(0x122)][_0x5f14bf(0x117)](_0x5f14bf(0x123))&&Object[_0x5f14bf(0x128)](_0x3e19b3)[_0x5f14bf(0xeb)](([_0x2ae685,_0xc35b45])=>{const _0x1d23dc=_0x5f14bf;_0x1bb9e9[_0x1d23dc(0xf7)][_0x1d23dc(0x117)](_0x1d23dc(0xf0))[_0x1d23dc(0xf3)]({'name':_0x2ae685,'observable':()=>_0x189977,'buttonViewCreator':()=>this[_0x1d23dc(0x129)](_0xc35b45),'formViewCreator':()=>this[_0x1d23dc(0xe3)](_0xc35b45),'menuBarButtonViewCreator':()=>this[_0x1d23dc(0xdf)](_0xc35b45),'override':_0x1d23dc(0xdb)!==_0x2ae685});});}[_0x1d33b1(0xef)](){const _0x48b950=_0x1d33b1;super[_0x48b950(0xef)](),this[_0x48b950(0xea)]&&clearInterval(this[_0x48b950(0xea)]);}[_0x1d33b1(0xed)](_0x1aeaf5){const _0x12c65b=_0x1d33b1,{locale:_0x229797}=this[_0x12c65b(0xf8)];return _0x1aeaf5[_0x12c65b(0x121)](_0x143478=>{const _0x3aae30=_0x12c65b,_0x409bd7=_0x4d0d2e(_0x229797,_0x143478,_0x3aae30(0x11d));switch(_0x143478){case _0x2e2f43[_0x3aae30(0x12c)]:return{'icon':_0x459088,'type':_0x2e2f43[_0x3aae30(0x12c)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x107)]:return{'icon':_0x3ecbe4,'type':_0x2e2f43[_0x3aae30(0x107)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0xf5)]:return{'icon':_0x39cf80,'type':_0x2e2f43[_0x3aae30(0xf5)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x12b)]:return{'icon':_0x5a737a,'type':_0x2e2f43[_0x3aae30(0x12b)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x111)]:return{'icon':_0x2d42c1,'type':_0x2e2f43[_0x3aae30(0x111)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0x102)]:return{'icon':_0x32e6b1,'type':_0x2e2f43[_0x3aae30(0x102)],..._0x409bd7};case _0x2e2f43[_0x3aae30(0xe1)]:return{'icon':_0x2b4859,'type':_0x2e2f43[_0x3aae30(0xe1)],..._0x409bd7};}});}[_0x1d33b1(0x11c)](_0x56d392){const _0x24307f=_0x1d33b1;switch(_0x56d392){case _0x2e2f43[_0x24307f(0x12c)]:return _0x24307f(0xfd);case _0x2e2f43[_0x24307f(0x107)]:return _0x24307f(0x11f);default:return _0x24307f(0xdb);}}[_0x1d33b1(0x113)](_0x5859fa,_0x505b92){const _0x1bf9c7=_0x1d33b1,_0x259019=this[_0x1bf9c7(0xf8)],_0x229d06=new _0x5859fa(_0x259019[_0x1bf9c7(0x104)]),_0x31d740=_0x259019[_0x1bf9c7(0x122)][_0x1bf9c7(0x117)](_0x1bf9c7(0x123));return _0x229d06[_0x1bf9c7(0x11b)](_0x1bf9c7(0xe2))['to'](_0x31d740),_0x229d06['on'](_0x1bf9c7(0xf6),()=>{const _0x5412ff=_0x1bf9c7;_0x31d740[_0x5412ff(0xf6)](_0x505b92);}),_0x229d06;}[_0x1d33b1(0x129)](_0xa04b10){const _0x17fc2f=_0x1d33b1,{locale:_0x34fdf5}=this[_0x17fc2f(0xf8)],_0x5852ab=this[_0x17fc2f(0xf8)][_0x17fc2f(0xf7)][_0x17fc2f(0x117)](_0x17fc2f(0xf0)),_0x4269f5=_0xa04b10[0x0],_0x54ad57=this[_0x17fc2f(0x113)](_0x5815da,_0x4269f5[_0x17fc2f(0xe9)]);return _0x54ad57[_0x17fc2f(0xfb)]=_0x4269f5[_0x17fc2f(0xfb)],_0x54ad57[_0x17fc2f(0x11b)](_0x17fc2f(0x105))['to'](_0x5852ab,_0x17fc2f(0xec),_0x814abe=>_0x4d0d2e(_0x34fdf5,_0x4269f5[_0x17fc2f(0xe9)],_0x814abe?_0x17fc2f(0xff):_0x17fc2f(0x11d))[_0x17fc2f(0xfe)]),_0x54ad57[_0x17fc2f(0x116)]=!0x0,_0x54ad57;}[_0x1d33b1(0xe3)](_0x4f16e5){const _0x472ca0=_0x1d33b1,{locale:_0x1a1246}=this[_0x472ca0(0xf8)],_0x5c8fb4=this[_0x472ca0(0xf8)][_0x472ca0(0xf7)][_0x472ca0(0x117)](_0x472ca0(0xf0));return _0x4f16e5[_0x472ca0(0x121)](_0x148eb1=>{const _0x46b737=_0x472ca0,_0xf6a971=this[_0x46b737(0x113)](_0x5815da,_0x148eb1[_0x46b737(0xe9)]);return _0xf6a971[_0x46b737(0xde)]=!0x0,_0xf6a971[_0x46b737(0xfb)]=_0x148eb1[_0x46b737(0xfb)],_0xf6a971[_0x46b737(0x11b)](_0x46b737(0x105))['to'](_0x5c8fb4,_0x46b737(0xec),_0x5aa7e6=>_0x4d0d2e(_0x1a1246,_0x148eb1[_0x46b737(0xe9)],_0x5aa7e6?_0x46b737(0xff):_0x46b737(0x11d))[_0x46b737(0xfe)]),_0xf6a971;});}[_0x1d33b1(0xdf)](_0x30a30c){const _0x2ca26f=_0x1d33b1;return _0x30a30c[_0x2ca26f(0x121)](_0x7df5c8=>{const _0x568e27=_0x2ca26f,_0x5486d9=this[_0x568e27(0x113)](_0x7d177e,_0x7df5c8[_0x568e27(0xe9)]);return _0x5486d9[_0x568e27(0xfb)]=_0x7df5c8[_0x568e27(0xfb)],_0x5486d9[_0x568e27(0x105)]=_0x7df5c8[_0x568e27(0x114)],_0x5486d9;});}}
23
+ function _0x4eac(){const _0x578ecd=['104gQPyPa','Replace','uploadcareLicenseKeyValid','Uploadcare','label','OneDrive','uploadcare.uploader.sourceList','uploadcareLicenseKeyDomainLimit','1086055nQhxWa','shortText','pluginName','entries','GDrive','URL','isPremiumPlugin','withText','execute','url','text','6565959PtLinK','invalid','expired','push','config','usageLimit','icon','forEach','GPhotos','commands','assetManager','isImageSelected','plugins','uploadcareLicenseKeyNotAllowed','_createButton','type','4826wkioNL','isOfficialPlugin','ImageInsertUI','_createToolbarButton','reduce','2628780hdLcvw','Facebook','627480CYLunF','_normalizeConfigSourceList','bind','has','evaluationLimit','uploadcareLicenseKeyInvalid','init','Local','uploadcareLicenseKeyEvaluationLimit','afterInit','uploadcare','registerIntegration','uploadcareLicenseKeyTrialLimit','_showLicenseError','isEnabled','uploadcareLicenseKeyUsageLimit','domainLimit','licenseKey','Insert','_getIntegrationKey','4YNYQcE','_createDropdownButtons','destroy','map','Dropbox','featureNotAllowed','trialLimit','UploadcareUI','196455guIXSs','locale','_licenseKeyCheckInterval','_createMenuBarButtons','uploadcareLicenseKeyExpired','upload','1943305IQrLyX','editor','tooltip','get'];_0x4eac=function(){return _0x578ecd;};return _0x4eac();}const _0x17427d=_0x3f01;(function(_0x2c383b,_0xa8c804){const _0x61b74a=_0x3f01,_0x25ade5=_0x2c383b();while(!![]){try{const _0x47b445=parseInt(_0x61b74a(0x182))/0x1*(-parseInt(_0x61b74a(0x1af))/0x2)+parseInt(_0x61b74a(0x1a5))/0x3+parseInt(_0x61b74a(0x19d))/0x4*(-parseInt(_0x61b74a(0x1b7))/0x5)+-parseInt(_0x61b74a(0x187))/0x6+parseInt(_0x61b74a(0x1ab))/0x7+parseInt(_0x61b74a(0x189))/0x8+parseInt(_0x61b74a(0x1c2))/0x9;if(_0x47b445===_0xa8c804)break;else _0x25ade5['push'](_0x25ade5['shift']());}catch(_0x2b45ec){_0x25ade5['push'](_0x25ade5['shift']());}}}(_0x4eac,0x3bc39));function _0x3f01(_0x11d7e5,_0x3f9767){const _0x4eac12=_0x4eac();return _0x3f01=function(_0x3f012f,_0x17258b){_0x3f012f=_0x3f012f-0x175;let _0x2d9f33=_0x4eac12[_0x3f012f];return _0x2d9f33;},_0x3f01(_0x11d7e5,_0x3f9767);}import{Plugin as _0x54c869}from'ckeditor5/src/core.js';import{IconDropbox as _0x41523f,IconFacebook as _0x5e4aae,IconGoogleDrive as _0x28c611,IconGooglePhotos as _0x74c5a7,IconUploadcareImageUpload as _0x1a2ddf,IconUploadcareLink as _0x48f96a,IconOneDrive as _0x53a513}from'ckeditor5/src/icons.js';import{ButtonView as _0x5e3ed1,MenuBarMenuListItemButtonView as _0x42938d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xe184a9}from'./uploadcareconfig.js';import{getTranslation as _0x108313}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 _0x54c869{[_0x17427d(0x19a)];[_0x17427d(0x1a7)];static get[_0x17427d(0x1b9)](){const _0x6a608e=_0x17427d;return _0x6a608e(0x1a4);}static get[_0x17427d(0x183)](){return!0x0;}static get[_0x17427d(0x1bd)](){return!0x0;}[_0x17427d(0x18f)](){const _0x2ce17e=_0x17427d;this[_0x2ce17e(0x19a)]=this[_0x2ce17e(0x1ac)][_0x2ce17e(0x176)][_0x2ce17e(0x1ae)](_0x2ce17e(0x19a));const _0x38c0fa=this[_0x2ce17e(0x1ac)];this[_0x2ce17e(0x1a7)]=setInterval(()=>{const _0x4f30e4=_0x2ce17e;let _0x18c5f1;for(const _0xdcaf77 in _0x38c0fa){const _0x202311=_0xdcaf77,_0x36cb95=_0x38c0fa[_0x202311];if(_0x4f30e4(0x1b1)==_0x36cb95||_0x4f30e4(0x18e)==_0x36cb95||_0x4f30e4(0x1a9)==_0x36cb95||_0x4f30e4(0x1b6)==_0x36cb95||_0x4f30e4(0x17f)==_0x36cb95||_0x4f30e4(0x191)==_0x36cb95||_0x4f30e4(0x195)==_0x36cb95||_0x4f30e4(0x198)==_0x36cb95){delete _0x38c0fa[_0x202311],_0x18c5f1=_0x36cb95,clearInterval(this[_0x4f30e4(0x1a7)]),this[_0x4f30e4(0x1a7)]=void 0x0;break;}}_0x4f30e4(0x18e)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x1c3)),_0x4f30e4(0x1a9)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x1c4)),_0x4f30e4(0x1b6)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x199)),_0x4f30e4(0x17f)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x1a2),_0x4f30e4(0x1b2)),_0x4f30e4(0x191)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x18d)),_0x4f30e4(0x195)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x1a3)),_0x4f30e4(0x198)==_0x18c5f1&&_0x38c0fa[_0x4f30e4(0x196)](_0x4f30e4(0x177));},0x3e8);}[_0x17427d(0x192)](){const _0xc5e101=_0x17427d,{editor:_0x4c59c7}=this,_0x5e7120=_0x4c59c7[_0xc5e101(0x17b)][_0xc5e101(0x1ae)](_0xc5e101(0x193));if(!_0x5e7120)return;const _0x32c9e4=this[_0xc5e101(0x18a)](_0x4c59c7[_0xc5e101(0x176)][_0xc5e101(0x1ae)](_0xc5e101(0x1b5)))[_0xc5e101(0x186)]((_0x2c9804,_0x138144)=>{const _0x43d116=_0xc5e101,_0x59ee54=this[_0x43d116(0x19c)](_0x138144[_0x43d116(0x181)]);return _0x2c9804[_0x59ee54]||(_0x2c9804[_0x59ee54]=[]),_0x2c9804[_0x59ee54][_0x43d116(0x175)](_0x138144),_0x2c9804;},{});_0x4c59c7[_0xc5e101(0x17e)][_0xc5e101(0x18c)](_0xc5e101(0x184))&&_0x4c59c7[_0xc5e101(0x17b)][_0xc5e101(0x1ae)](_0xc5e101(0x193))&&Object[_0xc5e101(0x1ba)](_0x32c9e4)[_0xc5e101(0x179)](([_0x4cf9c6,_0x4bcfdc])=>{const _0x36278c=_0xc5e101;_0x4c59c7[_0x36278c(0x17e)][_0x36278c(0x1ae)](_0x36278c(0x184))[_0x36278c(0x194)]({'name':_0x4cf9c6,'observable':()=>_0x5e7120,'buttonViewCreator':()=>this[_0x36278c(0x185)](_0x4bcfdc),'formViewCreator':()=>this[_0x36278c(0x19e)](_0x4bcfdc),'menuBarButtonViewCreator':()=>this[_0x36278c(0x1a8)](_0x4bcfdc),'override':_0x36278c(0x17c)!==_0x4cf9c6});});}[_0x17427d(0x19f)](){const _0x24ec85=_0x17427d;super[_0x24ec85(0x19f)](),this[_0x24ec85(0x1a7)]&&clearInterval(this[_0x24ec85(0x1a7)]);}[_0x17427d(0x18a)](_0x5da25f){const _0x204900=_0x17427d,{locale:_0xb8744b}=this[_0x204900(0x1ac)];return _0x5da25f[_0x204900(0x1a0)](_0x21ab13=>{const _0x1ecec1=_0x204900,_0x102357=_0x108313(_0xb8744b,_0x21ab13,_0x1ecec1(0x19b));switch(_0x21ab13){case _0xe184a9[_0x1ecec1(0x190)]:return{'icon':_0x1a2ddf,'type':_0xe184a9[_0x1ecec1(0x190)],..._0x102357};case _0xe184a9[_0x1ecec1(0x1bc)]:return{'icon':_0x48f96a,'type':_0xe184a9[_0x1ecec1(0x1bc)],..._0x102357};case _0xe184a9[_0x1ecec1(0x1a1)]:return{'icon':_0x41523f,'type':_0xe184a9[_0x1ecec1(0x1a1)],..._0x102357};case _0xe184a9[_0x1ecec1(0x188)]:return{'icon':_0x5e4aae,'type':_0xe184a9[_0x1ecec1(0x188)],..._0x102357};case _0xe184a9[_0x1ecec1(0x1bb)]:return{'icon':_0x28c611,'type':_0xe184a9[_0x1ecec1(0x1bb)],..._0x102357};case _0xe184a9[_0x1ecec1(0x17a)]:return{'icon':_0x74c5a7,'type':_0xe184a9[_0x1ecec1(0x17a)],..._0x102357};case _0xe184a9[_0x1ecec1(0x1b4)]:return{'icon':_0x53a513,'type':_0xe184a9[_0x1ecec1(0x1b4)],..._0x102357};}});}[_0x17427d(0x19c)](_0x32942f){const _0x34deb2=_0x17427d;switch(_0x32942f){case _0xe184a9[_0x34deb2(0x190)]:return _0x34deb2(0x1aa);case _0xe184a9[_0x34deb2(0x1bc)]:return _0x34deb2(0x1c0);default:return _0x34deb2(0x17c);}}[_0x17427d(0x180)](_0x519390,_0x2f6fd1){const _0x8c6b72=_0x17427d,_0x33a77e=this[_0x8c6b72(0x1ac)],_0x28f0c7=new _0x519390(_0x33a77e[_0x8c6b72(0x1a6)]),_0x288e58=_0x33a77e[_0x8c6b72(0x17b)][_0x8c6b72(0x1ae)](_0x8c6b72(0x193));return _0x28f0c7[_0x8c6b72(0x18b)](_0x8c6b72(0x197))['to'](_0x288e58),_0x28f0c7['on'](_0x8c6b72(0x1bf),()=>{const _0xa69b41=_0x8c6b72;_0x288e58[_0xa69b41(0x1bf)](_0x2f6fd1);}),_0x28f0c7;}[_0x17427d(0x185)](_0x402052){const _0x2df692=_0x17427d,{locale:_0x42deda}=this[_0x2df692(0x1ac)],_0x33ece8=this[_0x2df692(0x1ac)][_0x2df692(0x17e)][_0x2df692(0x1ae)](_0x2df692(0x184)),_0x3e7905=_0x402052[0x0],_0x43e33d=this[_0x2df692(0x180)](_0x5e3ed1,_0x3e7905[_0x2df692(0x181)]);return _0x43e33d[_0x2df692(0x178)]=_0x3e7905[_0x2df692(0x178)],_0x43e33d[_0x2df692(0x18b)](_0x2df692(0x1b3))['to'](_0x33ece8,_0x2df692(0x17d),_0x331b1d=>_0x108313(_0x42deda,_0x3e7905[_0x2df692(0x181)],_0x331b1d?_0x2df692(0x1b0):_0x2df692(0x19b))[_0x2df692(0x1c1)]),_0x43e33d[_0x2df692(0x1ad)]=!0x0,_0x43e33d;}[_0x17427d(0x19e)](_0x101c85){const _0x18be44=_0x17427d,{locale:_0x100a98}=this[_0x18be44(0x1ac)],_0x42543d=this[_0x18be44(0x1ac)][_0x18be44(0x17e)][_0x18be44(0x1ae)](_0x18be44(0x184));return _0x101c85[_0x18be44(0x1a0)](_0x59a509=>{const _0xce9a9d=_0x18be44,_0x1b5814=this[_0xce9a9d(0x180)](_0x5e3ed1,_0x59a509[_0xce9a9d(0x181)]);return _0x1b5814[_0xce9a9d(0x1be)]=!0x0,_0x1b5814[_0xce9a9d(0x178)]=_0x59a509[_0xce9a9d(0x178)],_0x1b5814[_0xce9a9d(0x18b)](_0xce9a9d(0x1b3))['to'](_0x42543d,_0xce9a9d(0x17d),_0x3a849a=>_0x108313(_0x100a98,_0x59a509[_0xce9a9d(0x181)],_0x3a849a?_0xce9a9d(0x1b0):_0xce9a9d(0x19b))[_0xce9a9d(0x1c1)]),_0x1b5814;});}[_0x17427d(0x1a8)](_0x296a5f){const _0x127b57=_0x17427d;return _0x296a5f[_0x127b57(0x1a0)](_0x1d17cb=>{const _0x1adf85=_0x127b57,_0x2f8c2f=this[_0x1adf85(0x180)](_0x42938d,_0x1d17cb[_0x1adf85(0x181)]);return _0x2f8c2f[_0x1adf85(0x178)]=_0x1d17cb[_0x1adf85(0x178)],_0x2f8c2f[_0x1adf85(0x1b3)]=_0x1d17cb[_0x1adf85(0x1b8)],_0x2f8c2f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x24b4c4}from'ckeditor5/src/core.js';import{FileRepository as _0x365b97}from'ckeditor5/src/upload.js';import _0x48c93c from'./uploadcareediting.js';import _0x4c5af2 from'./utils/uploadutils.js';import{getImageUrls as _0x329893}from'./utils/editingutils.js';export default class p extends _0x24b4c4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x365b97,_0x48c93c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d1bb1=this['editor'];if(!!!_0x1d1bb1['config']['get']('uploadcare'))return;_0x1d1bb1['plugins']['get'](_0x365b97)['createUploadAdapter']=_0x57ba8e=>new x(_0x57ba8e,_0x1d1bb1),_0x1d1bb1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e8c6c,{imageElement:_0x4eba27,data:_0x3145e9})=>{_0x1d1bb1['model']['change'](_0x57e34f=>{_0x57e34f['setAttribute']('uploadcareImageId',_0x3145e9['uploadcareImageId'],_0x4eba27);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3466e7,_0x43d10e){this['loader']=_0x3466e7,this['editor']=_0x43d10e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2648a8=this['editor']['config']['get']('uploadcare.pubkey'),_0x214bc1=await this['loader']['file'];return _0x4c5af2['upload']({'file':_0x214bc1,'publicKey':_0x2648a8,'signal':this['controller']['signal'],'onProgress':_0xae9c9e=>{_0xae9c9e&&_0xae9c9e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xae9c9e['value']);}})['then'](async _0x244cd7=>{const {imageFallbackUrl:_0x473da7,imageSources:_0x11813c}=_0x329893(_0x244cd7['cdnUrl'],_0x244cd7['imageInfo']['width']);return{'uploadcareImageId':_0x244cd7['uuid'],'default':_0x473da7,'sources':_0x11813c};})['catch'](()=>{const _0x822f64=t('Cannot\x20upload\x20file:')+('\x20'+_0x214bc1['name']+'.');return Promise['reject'](_0x822f64);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1af3de}from'ckeditor5/src/core.js';import{FileRepository as _0x2e245a}from'ckeditor5/src/upload.js';import _0x443c3c from'./uploadcareediting.js';import _0x5e832a from'./utils/uploadutils.js';import{getImageUrls as _0x3d337f}from'./utils/editingutils.js';export default class p extends _0x1af3de{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e245a,_0x443c3c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x36a5bd=this['editor'];if(!!!_0x36a5bd['config']['get']('uploadcare'))return;_0x36a5bd['plugins']['get'](_0x2e245a)['createUploadAdapter']=_0x1801a0=>new x(_0x1801a0,_0x36a5bd),_0x36a5bd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x188962,{imageElement:_0x5afb68,data:_0x4772ef})=>{_0x36a5bd['model']['change'](_0x414207=>{_0x414207['setAttribute']('uploadcareImageId',_0x4772ef['uploadcareImageId'],_0x5afb68);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x25cf8e,_0x5f4e27){this['loader']=_0x25cf8e,this['editor']=_0x5f4e27,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x35fa24=this['editor']['config']['get']('uploadcare.pubkey'),_0x16f3bd=await this['loader']['file'];return _0x5e832a['upload']({'file':_0x16f3bd,'publicKey':_0x35fa24,'signal':this['controller']['signal'],'onProgress':_0xd6e34=>{_0xd6e34&&_0xd6e34['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xd6e34['value']);}})['then'](async _0x3f2be1=>{const {imageFallbackUrl:_0x42b34f,imageSources:_0x1a4288}=_0x3d337f(_0x3f2be1['cdnUrl'],_0x3f2be1['imageInfo']['width']);return{'uploadcareImageId':_0x3f2be1['uuid'],'default':_0x42b34f,'sources':_0x1a4288};})['catch'](()=>{const _0x30e532=t('Cannot\x20upload\x20file:')+('\x20'+_0x16f3bd['name']+'.');return Promise['reject'](_0x30e532);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x44a568}from'../uploadcareconfig.js';export function getTranslation(_0x195b30,_0x42202e,_0x3a88d7){const t=_0x195b30['t'],_0x436f96=_0x195b30['t'];switch(_0x42202e){case _0x44a568['Local']:return{'text':_0x436f96('Insert'===_0x3a88d7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x436f96('From\x20computer')};case _0x44a568['URL']:return{'text':'Insert'===_0x3a88d7?_0x436f96('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x436f96('Via\x20URL')};case _0x44a568['Dropbox']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x44a568['Facebook']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x44a568['GDrive']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x44a568['GPhotos']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x44a568['OneDrive']:return{'text':t('Insert'===_0x3a88d7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x42202e;}}
23
+ import{UploadcareSource as _0x46edea}from'../uploadcareconfig.js';export function getTranslation(_0x4e72f1,_0x12225e,_0x317f90){const t=_0x4e72f1['t'],_0x50ce7a=_0x4e72f1['t'];switch(_0x12225e){case _0x46edea['Local']:return{'text':_0x50ce7a('Insert'===_0x317f90?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x50ce7a('From\x20computer')};case _0x46edea['URL']:return{'text':'Insert'===_0x317f90?_0x50ce7a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x50ce7a('Via\x20URL')};case _0x46edea['Dropbox']:return{'text':t('Insert'===_0x317f90?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x46edea['Facebook']:return{'text':t('Insert'===_0x317f90?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x46edea['GDrive']:return{'text':t('Insert'===_0x317f90?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x46edea['GPhotos']:return{'text':t('Insert'===_0x317f90?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x46edea['OneDrive']:return{'text':t('Insert'===_0x317f90?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12225e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3cc51d=_0x1f3c;(function(_0x2475fa,_0x156a4a){var _0x2ec0f2=_0x1f3c,_0x57ac85=_0x2475fa();while(!![]){try{var _0x1e5a07=parseInt(_0x2ec0f2(0x110))/0x1+parseInt(_0x2ec0f2(0x10e))/0x2+parseInt(_0x2ec0f2(0x112))/0x3+-parseInt(_0x2ec0f2(0x113))/0x4*(parseInt(_0x2ec0f2(0x117))/0x5)+parseInt(_0x2ec0f2(0x118))/0x6*(parseInt(_0x2ec0f2(0x115))/0x7)+parseInt(_0x2ec0f2(0x11a))/0x8+-parseInt(_0x2ec0f2(0x11b))/0x9;if(_0x1e5a07===_0x156a4a)break;else _0x57ac85['push'](_0x57ac85['shift']());}catch(_0x482b72){_0x57ac85['push'](_0x57ac85['shift']());}}}(_0x4104,0x321c5));function _0x4104(){var _0xe23d1a=['bindTemplate','355736OEVOdm','5048298UGkGbC','createCollection','div','getFocusableElement','focusCycler','709290HAnPtW','fire','209448Abwovi','focusTracker','1015386RSaFtI','1156kJIxmz','true','140vwmfSX','forwardCycle','3815qvZxxR','11898wAkdit'];_0x4104=function(){return _0xe23d1a;};return _0x4104();}function _0x1f3c(_0x5a3bed,_0x500ad7){var _0x4104b1=_0x4104();return _0x1f3c=function(_0x1f3c69,_0xe10701){_0x1f3c69=_0x1f3c69-0x10b;var _0x1ca843=_0x4104b1[_0x1f3c69];return _0x1ca843;},_0x1f3c(_0x5a3bed,_0x500ad7);}import{FocusTracker as _0x2cd337}from'ckeditor5/src/utils.js';import{View as _0x4c58b3,FocusCycler as _0x26cede}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x4c58b3{[_0x3cc51d(0x111)];[_0x3cc51d(0x10d)];constructor(_0x47aea7){var _0xbe0174=_0x3cc51d;super(_0x47aea7),this[_0xbe0174(0x111)]=new _0x2cd337(),this[_0xbe0174(0x10d)]=new _0x26cede({'focusables':this[_0xbe0174(0x11c)](),'focusTracker':this[_0xbe0174(0x111)]});}[_0x3cc51d(0x10c)](){var _0x468ca=_0x3cc51d;return{'tag':_0x468ca(0x10b),'attributes':{'aria-hidden':_0x468ca(0x114),'tabindex':'0'},'on':{'focus':this[_0x468ca(0x119)]['to'](()=>{var _0x2b7a47=_0x468ca;this[_0x2b7a47(0x10d)][_0x2b7a47(0x10f)](_0x2b7a47(0x116));})}};}}
23
+ var _0x28292a=_0x482f;(function(_0x1e7ca3,_0x34de28){var _0x58987c=_0x482f,_0x9e6f1c=_0x1e7ca3();while(!![]){try{var _0x4a4555=-parseInt(_0x58987c(0xcb))/0x1+-parseInt(_0x58987c(0xca))/0x2+parseInt(_0x58987c(0xd5))/0x3*(-parseInt(_0x58987c(0xcc))/0x4)+parseInt(_0x58987c(0xd2))/0x5*(parseInt(_0x58987c(0xcf))/0x6)+parseInt(_0x58987c(0xcd))/0x7+-parseInt(_0x58987c(0xd1))/0x8*(parseInt(_0x58987c(0xd8))/0x9)+-parseInt(_0x58987c(0xd0))/0xa*(-parseInt(_0x58987c(0xd3))/0xb);if(_0x4a4555===_0x34de28)break;else _0x9e6f1c['push'](_0x9e6f1c['shift']());}catch(_0x112efe){_0x9e6f1c['push'](_0x9e6f1c['shift']());}}}(_0xc7e5,0x1de1d));function _0xc7e5(){var _0x32cd49=['createCollection','fire','true','focusCycler','focusTracker','410878cHbbEL','224107eCcBIE','116Gcpcnl','1287475lkJIXT','div','570AGuKRg','5846270ePsBXd','48NBUeeT','12100wsdXay','11KWUXNG','bindTemplate','25287PKrjyW','getFocusableElement','forwardCycle','303102HprSCx'];_0xc7e5=function(){return _0x32cd49;};return _0xc7e5();}import{FocusTracker as _0x3d22d3}from'ckeditor5/src/utils.js';import{View as _0x5dfa8f,FocusCycler as _0x2144d2}from'ckeditor5/src/ui.js';function _0x482f(_0x593a8c,_0x4b2d21){var _0xc7e5e2=_0xc7e5();return _0x482f=function(_0x482f31,_0xee92d4){_0x482f31=_0x482f31-0xc5;var _0x4c7b72=_0xc7e5e2[_0x482f31];return _0x4c7b72;},_0x482f(_0x593a8c,_0x4b2d21);}import'../../theme/uploadcare-form.css';export default class q extends _0x5dfa8f{[_0x28292a(0xc9)];[_0x28292a(0xc8)];constructor(_0x56b17e){var _0x4e7954=_0x28292a;super(_0x56b17e),this[_0x4e7954(0xc9)]=new _0x3d22d3(),this[_0x4e7954(0xc8)]=new _0x2144d2({'focusables':this[_0x4e7954(0xc5)](),'focusTracker':this[_0x4e7954(0xc9)]});}[_0x28292a(0xd6)](){var _0x24876d=_0x28292a;return{'tag':_0x24876d(0xce),'attributes':{'aria-hidden':_0x24876d(0xc7),'tabindex':'0'},'on':{'focus':this[_0x24876d(0xd4)]['to'](()=>{var _0xf55565=_0x24876d;this[_0xf55565(0xc8)][_0xf55565(0xc6)](_0xf55565(0xd7));})}};}}