@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250219.0 → 0.0.0-nightly-next-20250219.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 (184) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -8
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.d.ts +2 -6
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
  175. package/theme/icons/dropbox.svg +0 -11
  176. package/theme/icons/error.svg +0 -1
  177. package/theme/icons/facebook.svg +0 -11
  178. package/theme/icons/google-drive.svg +0 -11
  179. package/theme/icons/google-photos.svg +0 -11
  180. package/theme/icons/image-upload.svg +0 -11
  181. package/theme/icons/link.svg +0 -11
  182. package/theme/icons/local.svg +0 -11
  183. package/theme/icons/onedrive.svg +0 -11
  184. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35223c=_0x5ead;(function(_0x5ab1b2,_0x2f549d){const _0x313a4d=_0x5ead,_0x25e37c=_0x5ab1b2();while(!![]){try{const _0xac6e30=-parseInt(_0x313a4d(0x1eb))/0x1*(-parseInt(_0x313a4d(0x1bc))/0x2)+parseInt(_0x313a4d(0x1cf))/0x3*(parseInt(_0x313a4d(0x1b2))/0x4)+-parseInt(_0x313a4d(0x1ed))/0x5+-parseInt(_0x313a4d(0x1ce))/0x6+parseInt(_0x313a4d(0x1ea))/0x7*(-parseInt(_0x313a4d(0x1b1))/0x8)+parseInt(_0x313a4d(0x1c2))/0x9+-parseInt(_0x313a4d(0x1f6))/0xa*(-parseInt(_0x313a4d(0x1bf))/0xb);if(_0xac6e30===_0x2f549d)break;else _0x25e37c['push'](_0x25e37c['shift']());}catch(_0x386f3d){_0x25e37c['push'](_0x25e37c['shift']());}}}(_0x1790,0xd2454));import{Plugin as _0x4307d5}from'ckeditor5/src/core.js';import{Dialog as _0x4d2ab4}from'ckeditor5/src/ui.js';function _0x1790(){const _0xedc08e=['schema','commands','appendChild','once','true','configElement','isRegistered','isOfficialPlugin','imageBlock','document','uploader','5422374ZoqbQj','837xFSrwf','for','ctxElement','_initSchema','body','config','data-uc-image-id','_initCtx','PictureEditing','_initConversion','view','UploadcareEditing','_initImageProcessingIndicator','uploadcare.pubkey','init','uploadcare.uploader','closeMax','contentLanguage','uc-config','insertImage','#uc-icon-arrow-down','cleanupImage','uploadcareImageReplace','render','execute','\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','isPremiumPlugin','7fsGSae','3DiYwiy','afterInit','8358070xhEnKN','remove','href','replaceImageSource','conversion','get','add','downcast','iconHrefResolver','230EGTsrA','_configElement','input[uploadcare-file-input]','attributeToAttribute','removeAttribute','extend','model','editor','getAttribute','uc-upload-ctx-provider','imageInline','_ctxElement','uploadcare','locale','pluginName','destroy','10691064VLLtJQ','14452msOIsz','editing','uploadcareImageId','map','_initConfig','join','listenTo','fromCharCode','elementToAttribute','upcast','471774dOtxuC','requires','selection','1279179aIykNU','querySelector','getSelectedElement','3443931vJpaXn'];_0x1790=function(){return _0xedc08e;};return _0x1790();}import{createElement as _0x14090a,global as _0x1c89bb,uid as _0x44a705}from'ckeditor5/src/utils.js';import _0x3b0a93 from'./uploadcarecommand.js';function _0x5ead(_0x5221e3,_0x22ba20){const _0x17902e=_0x1790();return _0x5ead=function(_0x5ead4a,_0x15865f){_0x5ead4a=_0x5ead4a-0x1b0;let _0x474086=_0x17902e[_0x5ead4a];return _0x474086;},_0x5ead(_0x5221e3,_0x22ba20);}import _0x20f52b from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2267b8}from'./utils/editingutils.js';export default class i extends _0x4307d5{constructor(){const _0x1896c9=_0x5ead;super(...arguments),this[_0x1896c9(0x1f7)]=null,this[_0x1896c9(0x201)]=null;}static get[_0x35223c(0x204)](){const _0x8d4f80=_0x35223c;return _0x8d4f80(0x1da);}static get[_0x35223c(0x1bd)](){const _0x16de48=_0x35223c;return[_0x16de48(0x1d7),_0x20f52b,_0x4d2ab4];}static get[_0x35223c(0x1ca)](){return!0x0;}static get[_0x35223c(0x1e9)](){return!0x0;}get[_0x35223c(0x1c8)](){const _0x41e31b=_0x35223c;return this[_0x41e31b(0x1f7)];}get[_0x35223c(0x1d1)](){const _0x1d785c=_0x35223c;return this[_0x1d785c(0x201)];}[_0x35223c(0x1dd)](){const _0x78f23f=_0x35223c,_0x4d4c74=this[_0x78f23f(0x1fd)];_0x4d4c74[_0x78f23f(0x1c4)][_0x78f23f(0x1f3)](_0x78f23f(0x202),new _0x3b0a93(_0x4d4c74));}[_0x35223c(0x1ec)](){const _0x4c0dd9=_0x35223c;this[_0x4c0dd9(0x1d2)](),this[_0x4c0dd9(0x1d8)](),this[_0x4c0dd9(0x1b6)](),this[_0x4c0dd9(0x1d6)](),this[_0x4c0dd9(0x1db)](),this[_0x4c0dd9(0x1b8)](this[_0x4c0dd9(0x1fd)],_0x4c0dd9(0x1b0),()=>{const _0xa5a0a1=_0x4c0dd9;this[_0xa5a0a1(0x1f7)]&&(this[_0xa5a0a1(0x1f7)][_0xa5a0a1(0x1ee)](),this[_0xa5a0a1(0x1f7)]=null),this[_0xa5a0a1(0x201)]&&(this[_0xa5a0a1(0x201)][_0xa5a0a1(0x1ee)](),this[_0xa5a0a1(0x201)]=null);const _0x3ddada=_0x1c89bb[_0xa5a0a1(0x1cc)][_0xa5a0a1(0x1c0)](_0xa5a0a1(0x1f8));_0x3ddada&&_0x3ddada[_0xa5a0a1(0x1ee)]();}),async function(_0x30160a){const _0x2929d9=_0x5780ed([0x37,0x58,0x6b,0x79,0x63,0x32,0x6f,0x48,0x4e,0x56,0x46,0x47,0x4c,0x77,0x4f,0x4a,0x76,0x54,0x45,0x6a,0x62,0x65,0x36,0x41,0x51,0x44,0x70,0x30,0x4d,0x52,0x34,0x7a,0x43,0x50,0x59,0x42,0x39,0x5a,0x73,0x38,0x72,0x64,0x6d,0x57,0x78,0x6e,0x68,0x53,0x67,0x31,0x75,0x61,0x49,0x74,0x33,0x66,0x55,0x69,0x71,0x4b,0x6c,0x35]),_0x2f4e7=0x1b489ebc,_0x2529da=0x1b4fc14c^_0x2f4e7,_0x53fc2e=window[_0x5780ed([0x44,0x61,0x74,0x65])][_0x5780ed([0x6e,0x6f,0x77])](),_0x3140c4=_0x30160a[_0x5780ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc5146b=new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13e315=>{_0x3140c4[_0x5780ed([0x6f,0x6e,0x63,0x65])](_0x5780ed([0x72,0x65,0x61,0x64,0x79]),_0x13e315);}),_0x15f376={[_0x5780ed([0x6b,0x74,0x79])]:_0x5780ed([0x45,0x43]),[_0x5780ed([0x75,0x73,0x65])]:_0x5780ed([0x73,0x69,0x67]),[_0x5780ed([0x63,0x72,0x76])]:_0x5780ed([0x50,0x2d,0x32,0x35,0x36]),[_0x5780ed([0x78])]:_0x5780ed([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]),[_0x5780ed([0x79])]:_0x5780ed([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]),[_0x5780ed([0x61,0x6c,0x67])]:_0x5780ed([0x45,0x53,0x32,0x35,0x36])},_0x19aa29=_0x3140c4[_0x5780ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5780ed([0x67,0x65,0x74])](_0x5780ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d8103(){let _0x22c1a3,_0x970fb9=null,_0x140c2a=null;try{if(_0x19aa29==_0x5780ed([0x47,0x50,0x4c]))return _0x5780ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22c1a3=_0x2f3820(),!_0x22c1a3)return _0x5780ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22c1a3[_0x5780ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x140c2a=_0x3bece4(_0x22c1a3[_0x5780ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22c1a3[_0x5780ed([0x6a,0x74,0x69])])),await _0x57c52d()?_0x42d90f()?_0xa55247()?_0x5780ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x414357()?(_0x22c1a3[_0x5780ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5780ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x970fb9=_0x4fbb1c(_0x5780ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22c1a3[_0x5780ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5780ed([0x74,0x72,0x69,0x61,0x6c])&&(_0x970fb9=_0x4fbb1c(_0x5780ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37435b()):_0x5780ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5780ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5780ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xf02a61){return _0x5780ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa55247(){const _0x401a0c=[_0x5780ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5780ed([0x74,0x72,0x69,0x61,0x6c])][_0x5780ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22c1a3[_0x5780ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53fc2e/0x3e8:0xe10*_0x2529da;return _0x22c1a3[_0x5780ed([0x65,0x78,0x70])]<_0x401a0c;}function _0x42d90f(){const _0x187af4=_0x22c1a3[_0x5780ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x187af4&&(!!_0x187af4[_0x5780ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5780ed([0x2a]))||!!_0x187af4[_0x5780ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5780ed([0x55,0x50,0x4c,0x43])));}function _0x414357(){const _0x4d90a7=_0x5ead,_0x4319de=_0x22c1a3[_0x5780ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4319de||0x0==_0x4319de[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20f647}=new URL(window[_0x5780ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d90a7(0x1ef)]);if(_0x4319de[_0x5780ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f647))return!0x0;const _0x5811d2=_0x20f647[_0x5780ed([0x73,0x70,0x6c,0x69,0x74])](_0x5780ed([0x2e]));return _0x4319de[_0x5780ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bd691=>_0x5bd691[_0x5780ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5780ed([0x2a])))[_0x5780ed([0x6d,0x61,0x70])](_0xdb5c68=>_0xdb5c68[_0x5780ed([0x73,0x70,0x6c,0x69,0x74])](_0x5780ed([0x2e])))[_0x5780ed([0x73,0x6f,0x6d,0x65])](_0x2dcd51=>_0x5811d2[_0x5780ed([0x65,0x76,0x65,0x72,0x79])]((_0xf9c51,_0x446e3e)=>_0x2dcd51[_0x446e3e]===_0xf9c51||_0x2dcd51[_0x446e3e]===_0x5780ed([0x2a])));}function _0x37435b(){return _0x970fb9&&_0x140c2a?new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23fd68,_0x348022)=>{_0x970fb9[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x23fd68,_0x348022),_0x140c2a[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x4900e3=>{_0x4900e3!=_0x5780ed([0x56,0x61,0x6c,0x69,0x64])&&_0x23fd68(_0x4900e3);},_0x348022);}):_0x970fb9||_0x140c2a||_0x5780ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3bece4(_0x371cc9,_0x3c5a49){return new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a3262=>{if(_0x42576f())return _0x3a3262(_0x5780ed([0x56,0x61,0x6c,0x69,0x64]));_0x4783ca(),_0x3140c4[_0x5780ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5780ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d70af=!0x1;const _0x3e914b=_0x44a705();function _0x40a7d4(_0x7b1317){return!!_0x7b1317&&(typeof _0x7b1317===_0x5780ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7b1317===_0x5780ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7b1317[_0x5780ed([0x74,0x68,0x65,0x6e])]===_0x5780ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7b1317[_0x5780ed([0x63,0x61,0x74,0x63,0x68])]===_0x5780ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ffe3f(_0x419ad9){_0x1c3066(_0x419ad9)[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x304337=>{if(!_0x304337||_0x304337[_0x5780ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5780ed([0x6f,0x6b]))return _0x5780ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24585e(_0x5c4f76(_0x3e914b+_0x3c5a49))!=_0x304337[_0x5780ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5780ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5780ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x5ec2a0=>(_0x40e6ab(),_0x5ec2a0),()=>{const _0x2191c5=_0x20bd65();return null==_0x2191c5?(_0x40e6ab(),_0x5780ed([0x56,0x61,0x6c,0x69,0x64])):_0x5780ed(_0x53fc2e-_0x2191c5>(0x3f441abc^_0x2f4e7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x3a3262)[_0x5780ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a3262(_0x5780ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bb9ad=0x1b7e703c^_0x2f4e7;function _0x40e6ab(){const _0x49c6cf=_0x5780ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x24585e(_0x5c4f76(_0x371cc9)),_0x139376=_0x132804(_0x24585e(window[_0x5780ed([0x4d,0x61,0x74,0x68])][_0x5780ed([0x63,0x65,0x69,0x6c])](_0x53fc2e/_0x3bb9ad)));window[_0x5780ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5780ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49c6cf,_0x139376);}function _0x20bd65(){const _0xdefe76=_0x5780ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x24585e(_0x5c4f76(_0x371cc9)),_0x552282=window[_0x5780ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5780ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdefe76);return _0x552282?window[_0x5780ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132804(_0x552282),0x10)*_0x3bb9ad:null;}function _0x1c3066(_0x395538){return new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c22dc,_0x39d8d5)=>{_0x395538[_0x5780ed([0x74,0x68,0x65,0x6e])](_0x3c22dc,_0x39d8d5),window[_0x5780ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39d8d5,0x1b494a7c^_0x2f4e7);});}}_0x3140c4[_0x5780ed([0x6f,0x6e])](_0x5780ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23af43,_0x1d8d7b)=>{if(_0x1d8d7b[0x0]!=_0x371cc9)return _0x3a3262(_0x5780ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d8d7b[0x1]={..._0x1d8d7b[0x1],[_0x5780ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e914b};},{[_0x5780ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5780ed([0x68,0x69,0x67,0x68])}),_0x3140c4[_0x5780ed([0x6f,0x6e])](_0x5780ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16e2a0=>{_0x40a7d4(_0x16e2a0[_0x5780ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d70af=!0x0,_0x2ffe3f(_0x16e2a0[_0x5780ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5780ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5780ed([0x6c,0x6f,0x77])}),_0xc5146b[_0x5780ed([0x74,0x68,0x65,0x6e])](()=>{_0x5d70af||_0x3a3262(_0x5780ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42576f(){return _0x3140c4[_0x5780ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5780ed([0x76,0x69,0x65,0x77])][_0x5780ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5780ed([0x61,0x75,0x74,0x6f]);}function _0x4783ca(){_0x3140c4[_0x5780ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5780ed([0x76,0x69,0x65,0x77])][_0x5780ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5780ed([0x61,0x75,0x74,0x6f]);}}function _0x4fbb1c(_0x3c79ea){const _0x5eb3e6=[new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb98c5=>setTimeout(_0xb98c5,0x1b41a070^_0x2f4e7)),_0xc5146b[_0x5780ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x152a52=>{let _0x231003=0x0;_0x3140c4[_0x5780ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5780ed([0x6f,0x6e])](_0x5780ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41a547,_0x4b785b)=>{_0x4b785b[0x0][_0x5780ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x231003++,_0x231003==(0x1b489f44^_0x2f4e7)&&(_0x152a52(),_0x41a547[_0x5780ed([0x6f,0x66,0x66])]());});}))];return window[_0x5780ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5780ed([0x72,0x61,0x63,0x65])](_0x5eb3e6)[_0x5780ed([0x74,0x68,0x65,0x6e])](()=>_0x3c79ea);}async function _0x4d6de9(){await _0xc5146b,_0x3140c4[_0x5780ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5780ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55459a,_0x3140c4[_0x5780ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x5780ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55459a,_0x3140c4[_0x5780ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5780ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x173273(_0x4024f8){const _0x1e22f2=_0x2eacae();_0x3140c4[_0x1e22f2]=_0x5780ed([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4024f8,_0x4024f8!=_0x5780ed([0x56,0x61,0x6c,0x69,0x64])&&_0x4d6de9();}function _0x2eacae(){const _0x56bba5=window[_0x5780ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5780ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5780ed([0x6e,0x6f,0x77])]())[_0x5780ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5780ed([0x2e]),'');let _0x5a737f=_0x5780ed([0x58]);for(let _0x5881d4=0x0;_0x5881d4<_0x56bba5[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5881d4+=0x2){let _0x4e1c67=window[_0x5780ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56bba5[_0x5780ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5881d4,_0x5881d4+0x2));_0x4e1c67>=_0x2929d9[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e1c67-=_0x2929d9[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a737f+=_0x2929d9[_0x4e1c67];}return _0x5a737f;}function _0x2f3820(){const _0x23f196=_0x19aa29[_0x5780ed([0x73,0x70,0x6c,0x69,0x74])](_0x5780ed([0x2e]));if(0x3!=_0x23f196[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37d277(_0x23f196[0x1]);function _0x37d277(_0x33da28){const _0x595219=_0x5db27d(_0x33da28);return _0x595219&&_0x3926c7()?_0x595219:null;function _0x3926c7(){const _0x506530=_0x595219[_0x5780ed([0x6a,0x74,0x69])],_0x3815db=window[_0x5780ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506530[_0x5780ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x506530[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39a159={..._0x595219,[_0x5780ed([0x6a,0x74,0x69])]:_0x506530[_0x5780ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x506530[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39a159[_0x5780ed([0x76,0x63])],_0x5c4f76(_0x39a159)==_0x3815db;}}}async function _0x57c52d(){let _0x214028=!0x0;try{const _0x4b887c=_0x19aa29[_0x5780ed([0x73,0x70,0x6c,0x69,0x74])](_0x5780ed([0x2e])),[_0x42482c,_0x45a988,_0x10955f]=_0x4b887c;return _0x3972d4(_0x42482c),await _0x2c3e24(_0x42482c,_0x45a988,_0x10955f),_0x214028;}catch(_0x98d061){return!0x1;}function _0x3972d4(_0x168ce8){const _0x47f07d=_0x5db27d(_0x168ce8);_0x47f07d&&_0x47f07d[_0x5780ed([0x61,0x6c,0x67])]==_0x5780ed([0x45,0x53,0x32,0x35,0x36])||(_0x214028=!0x1);}async function _0x2c3e24(_0x3da019,_0x1624b6,_0x23b43d){const _0x54c490=window[_0x5780ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5780ed([0x66,0x72,0x6f,0x6d])](_0x527ad0(_0x23b43d),_0x4e4b5c=>_0x4e4b5c[_0x5780ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x673a0c=new window[(_0x5780ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5780ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3da019+_0x5780ed([0x2e])+_0x1624b6),_0x4c24d7=window[_0x5780ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5780ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c24d7)return;const _0x302d45=await _0x4c24d7[_0x5780ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5780ed([0x6a,0x77,0x6b]),_0x15f376,{[_0x5780ed([0x6e,0x61,0x6d,0x65])]:_0x5780ed([0x45,0x43,0x44,0x53,0x41]),[_0x5780ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5780ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5780ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c24d7[_0x5780ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5780ed([0x6e,0x61,0x6d,0x65])]:_0x5780ed([0x45,0x43,0x44,0x53,0x41]),[_0x5780ed([0x68,0x61,0x73,0x68])]:{[_0x5780ed([0x6e,0x61,0x6d,0x65])]:_0x5780ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x302d45,_0x54c490,_0x673a0c)||(_0x214028=!0x1);}}function _0x5db27d(_0x55ff92){return _0x55ff92[_0x5780ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5780ed([0x65,0x79]))?JSON[_0x5780ed([0x70,0x61,0x72,0x73,0x65])](_0x527ad0(_0x55ff92)):null;}function _0x527ad0(_0x1e7204){return window[_0x5780ed([0x61,0x74,0x6f,0x62])](_0x1e7204[_0x5780ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5780ed([0x2b]))[_0x5780ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5780ed([0x2f])));}function _0x5c4f76(_0x13f427){let _0x138dc1=0x1505;function _0x43d594(_0x263920){for(let _0x1d920e=0x0;_0x1d920e<_0x263920[_0x5780ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d920e++){const _0x2d0f34=_0x263920[_0x5780ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d920e);_0x138dc1=(_0x138dc1<<0x5)+_0x138dc1+_0x2d0f34,_0x138dc1&=_0x138dc1;}}function _0x3e6595(_0x1292f0){Array[_0x5780ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1292f0)?_0x1292f0[_0x5780ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e6595):_0x1292f0&&typeof _0x1292f0==_0x5780ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5780ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1292f0)[_0x5780ed([0x73,0x6f,0x72,0x74])]()[_0x5780ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b4ad9,_0x1658f9])=>{_0x43d594(_0x3b4ad9),_0x3e6595(_0x1658f9);}):_0x43d594(window[_0x5780ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1292f0));}return _0x3e6595(_0x13f427),_0x138dc1>>>0x0;}function _0x24585e(_0x38b65e){return _0x38b65e[_0x5780ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5780ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5780ed([0x30]));}function _0x132804(_0x27e9cd){return _0x27e9cd[_0x5780ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5780ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5780ed([0x6a,0x6f,0x69,0x6e])]('');}function _0x55459a(){}function _0x5780ed(_0x2e3a48){const _0x2f2782=_0x5ead;return _0x2e3a48[_0x2f2782(0x1b5)](_0x55b682=>String[_0x2f2782(0x1b9)](_0x55b682))[_0x2f2782(0x1b7)]('');}_0x173273(await _0x2d8103());}(this);}[_0x35223c(0x1d2)](){const _0x31d0be=_0x35223c,_0x2a9c71=this[_0x31d0be(0x1fd)][_0x31d0be(0x1fc)][_0x31d0be(0x1c3)];_0x2a9c71[_0x31d0be(0x1c9)](_0x31d0be(0x1cb))&&_0x2a9c71[_0x31d0be(0x1fb)](_0x31d0be(0x1cb),{'allowAttributes':[_0x31d0be(0x1b4)]}),_0x2a9c71[_0x31d0be(0x1c9)](_0x31d0be(0x200))&&_0x2a9c71[_0x31d0be(0x1fb)](_0x31d0be(0x200),{'allowAttributes':[_0x31d0be(0x1b4)]});}[_0x35223c(0x1d8)](){const _0x43591b=_0x35223c,_0x3fda84=this[_0x43591b(0x1fd)];_0x3fda84[_0x43591b(0x1f1)][_0x43591b(0x1d0)](_0x43591b(0x1f4))[_0x43591b(0x1f9)]({'model':_0x43591b(0x1b4),'view':_0x43591b(0x1d5)}),_0x3fda84[_0x43591b(0x1f1)][_0x43591b(0x1d0)](_0x43591b(0x1bb))[_0x43591b(0x1ba)]({'model':{'key':_0x43591b(0x1b4),'value':_0x2afea4=>_0x2afea4[_0x43591b(0x1fe)](_0x43591b(0x1d5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2da55a=_0x3fda84[_0x43591b(0x1c4)][_0x43591b(0x1f2)](_0x43591b(0x1f0));_0x2da55a&&this[_0x43591b(0x1b8)](_0x2da55a,_0x43591b(0x1e4),(_0x13465c,[_0x5b520e,_0x2204dd])=>{const _0x162023=_0x43591b;_0x5b520e[_0x162023(0x1fa)](_0x162023(0x1b4),_0x2204dd);});}[_0x35223c(0x1b6)](){const _0x478ceb=_0x35223c,_0xe4e53=this[_0x478ceb(0x1fd)][_0x478ceb(0x1d4)][_0x478ceb(0x1f2)](_0x478ceb(0x1de))||{},_0x1d9a1f=this[_0x478ceb(0x1fd)][_0x478ceb(0x1d4)][_0x478ceb(0x1f2)](_0x478ceb(0x1dc))||'';this[_0x478ceb(0x1f7)]=_0x14090a(_0x1c89bb[_0x478ceb(0x1cc)],_0x478ceb(0x1e1),{..._0xe4e53,'pubkey':_0x1d9a1f,'ctx-name':_0x478ceb(0x1cd),'sourceList':'','imgOnly':_0x478ceb(0x1c7),'removeCopyright':_0x478ceb(0x1c7),'localeName':this[_0x478ceb(0x1fd)][_0x478ceb(0x203)][_0x478ceb(0x1e0)],'externalSourcesEmbedCss':_0x478ceb(0x1e8)}),this[_0x478ceb(0x1f7)][_0x478ceb(0x1f5)]=_0x56c4b2=>{const _0x1f7f18=_0x478ceb;if(_0x1f7f18(0x1df)==_0x56c4b2)return _0x1f7f18(0x1e3);},_0x1c89bb[_0x478ceb(0x1cc)][_0x478ceb(0x1d3)][_0x478ceb(0x1c5)](this[_0x478ceb(0x1f7)]);}[_0x35223c(0x1d6)](){const _0xf17d7d=_0x35223c;this[_0xf17d7d(0x201)]=_0x14090a(_0x1c89bb[_0xf17d7d(0x1cc)],_0xf17d7d(0x1ff),{'ctx-name':_0xf17d7d(0x1cd)}),_0x1c89bb[_0xf17d7d(0x1cc)][_0xf17d7d(0x1d3)][_0xf17d7d(0x1c5)](this[_0xf17d7d(0x201)]);}[_0x35223c(0x1db)](){const _0x45f101=_0x35223c,_0x160b5=this[_0x45f101(0x1fd)][_0x45f101(0x1c4)][_0x45f101(0x1f2)](_0x45f101(0x1e2));_0x160b5&&this[_0x45f101(0x1b8)](_0x160b5,_0x45f101(0x1e7),()=>{const _0x4c0631=_0x45f101,_0x34100c=this[_0x4c0631(0x1fd)][_0x4c0631(0x1fc)][_0x4c0631(0x1cc)][_0x4c0631(0x1be)][_0x4c0631(0x1c1)]();_0x34100c&&_0x34100c[_0x4c0631(0x1fe)](_0x4c0631(0x1b4))&&this[_0x4c0631(0x1fd)][_0x4c0631(0x1b3)][_0x4c0631(0x1d9)][_0x4c0631(0x1c6)](_0x4c0631(0x1e6),()=>{const _0x579c2c=_0x4c0631;_0x2267b8(this[_0x579c2c(0x1fd)],_0x34100c);});});const _0x4f38f4=this[_0x45f101(0x1fd)][_0x45f101(0x1c4)][_0x45f101(0x1f2)](_0x45f101(0x1e5));_0x4f38f4&&this[_0x45f101(0x1b8)](_0x4f38f4,_0x45f101(0x1e7),()=>{const _0x4e692b=_0x45f101,_0x593feb=this[_0x4e692b(0x1fd)][_0x4e692b(0x1fc)][_0x4e692b(0x1cc)][_0x4e692b(0x1be)][_0x4e692b(0x1c1)]();_0x593feb&&_0x593feb[_0x4e692b(0x1fe)](_0x4e692b(0x1b4))&&this[_0x4e692b(0x1fd)][_0x4e692b(0x1b3)][_0x4e692b(0x1d9)][_0x4e692b(0x1c6)](_0x4e692b(0x1e6),()=>{const _0x36c334=_0x4e692b;_0x2267b8(this[_0x36c334(0x1fd)],_0x593feb);});});}}
23
+ function _0x42db(_0x5dc60d,_0x147ad9){const _0x4cfab6=_0x4cfa();return _0x42db=function(_0x42dbd9,_0x2519d4){_0x42dbd9=_0x42dbd9-0x7d;let _0x3e98e3=_0x4cfab6[_0x42dbd9];return _0x3e98e3;},_0x42db(_0x5dc60d,_0x147ad9);}const _0x37563e=_0x42db;(function(_0x199ce9,_0x165579){const _0x42973=_0x42db,_0x4c7464=_0x199ce9();while(!![]){try{const _0x4e8605=-parseInt(_0x42973(0x94))/0x1+parseInt(_0x42973(0x8f))/0x2+-parseInt(_0x42973(0x89))/0x3*(-parseInt(_0x42973(0x96))/0x4)+-parseInt(_0x42973(0xac))/0x5+parseInt(_0x42973(0x93))/0x6+-parseInt(_0x42973(0x85))/0x7+parseInt(_0x42973(0xc3))/0x8*(parseInt(_0x42973(0x9a))/0x9);if(_0x4e8605===_0x165579)break;else _0x4c7464['push'](_0x4c7464['shift']());}catch(_0x5eb898){_0x4c7464['push'](_0x4c7464['shift']());}}}(_0x4cfa,0xcfb90));import{Plugin as _0x4b599d}from'ckeditor5/src/core.js';import{Dialog as _0x56e1bf}from'ckeditor5/src/ui.js';import{createElement as _0x557c38,global as _0x44dd3d,uid as _0x278e68}from'ckeditor5/src/utils.js';import _0x39dff1 from'./uploadcarecommand.js';import _0x4fd01b from'./uploadcareuploadadapter.js';function _0x4cfa(){const _0x5195b7=['afterInit','iconHrefResolver','7475307XjQBXv','once','_initCtx','conversion','54uoLqgs','join','downcast','getAttribute','isOfficialPlugin','uploadcare','427406ublBvU','_initConversion','imageBlock','view','528948giaabF','872729vvRWLG','selection','165316PVnrci','uploadcare.uploader','querySelector','isPremiumPlugin','13310361pLaGLQ','uploadcareImageId','_configElement','schema','fromCharCode','config','closeMax','requires','uc-upload-ctx-provider','commands','for','locale','editor','uploadcare.pubkey','configElement','upcast','removeAttribute','_initConfig','6060895VUBKnl','body','attributeToAttribute','insertImage','remove','extend','listenTo','editing','UploadcareEditing','get','#uc-icon-arrow-down','_ctxElement','cleanupImage','pluginName','_initImageProcessingIndicator','isRegistered','true','input[uploadcare-file-input]','href','data-uc-image-id','imageInline','execute','elementToAttribute','16sDykgH','document','PictureEditing','init','model','appendChild','destroy','_initSchema','\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','uc-config','add','ctxElement','replaceImageSource','getSelectedElement','uploadcareImageReplace','map','contentLanguage','render'];_0x4cfa=function(){return _0x5195b7;};return _0x4cfa();}import{showImageProcessingIndicator as _0x2cb6df}from'./utils/editingutils.js';export default class i extends _0x4b599d{[_0x37563e(0x9c)]=null;[_0x37563e(0xb7)]=null;static get[_0x37563e(0xb9)](){const _0x1c2c7c=_0x37563e;return _0x1c2c7c(0xb4);}static get[_0x37563e(0xa1)](){const _0x5c80a3=_0x37563e;return[_0x5c80a3(0xc5),_0x4fd01b,_0x56e1bf];}static get[_0x37563e(0x8d)](){return!0x0;}static get[_0x37563e(0x99)](){return!0x0;}get[_0x37563e(0xa8)](){const _0x4627de=_0x37563e;return this[_0x4627de(0x9c)];}get[_0x37563e(0xcf)](){const _0x526b0c=_0x37563e;return this[_0x526b0c(0xb7)];}[_0x37563e(0xc6)](){const _0x437cab=_0x37563e,_0x2059be=this[_0x437cab(0xa6)];_0x2059be[_0x437cab(0xa3)][_0x437cab(0xce)](_0x437cab(0x8e),new _0x39dff1(_0x2059be));}[_0x37563e(0x83)](){const _0x4011a9=_0x37563e;this[_0x4011a9(0xca)](),this[_0x4011a9(0x90)](),this[_0x4011a9(0xab)](),this[_0x4011a9(0x87)](),this[_0x4011a9(0xba)](),this[_0x4011a9(0xb2)](this[_0x4011a9(0xa6)],_0x4011a9(0xc9),()=>{const _0x47b8d9=_0x4011a9;this[_0x47b8d9(0x9c)]&&(this[_0x47b8d9(0x9c)][_0x47b8d9(0xb0)](),this[_0x47b8d9(0x9c)]=null),this[_0x47b8d9(0xb7)]&&(this[_0x47b8d9(0xb7)][_0x47b8d9(0xb0)](),this[_0x47b8d9(0xb7)]=null);const _0x58eba4=_0x44dd3d[_0x47b8d9(0xc4)][_0x47b8d9(0x98)](_0x47b8d9(0xbd));_0x58eba4&&_0x58eba4[_0x47b8d9(0xb0)]();}),async function(_0xecd22f){const _0x5867cf=_0x2a4150([0x36,0x67,0x46,0x48,0x6b,0x37,0x35,0x73,0x58,0x5a,0x34,0x4a,0x30,0x6d,0x44,0x6c,0x31,0x43,0x79,0x55,0x6e,0x4d,0x7a,0x68,0x4c,0x70,0x38,0x75,0x49,0x59,0x62,0x66,0x64,0x45,0x72,0x6f,0x52,0x65,0x56,0x51,0x32,0x74,0x77,0x69,0x47,0x61,0x6a,0x53,0x71,0x76,0x39,0x57,0x42,0x63,0x54,0x4b,0x4e,0x41,0x78,0x50,0x33,0x4f]),_0x3d8c03=0x123a541b,_0x1660d3=0x123d0beb^_0x3d8c03,_0x4376e7=window[_0x2a4150([0x44,0x61,0x74,0x65])][_0x2a4150([0x6e,0x6f,0x77])](),_0x319777=_0xecd22f[_0x2a4150([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x151165=new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x806431=>{_0x319777[_0x2a4150([0x6f,0x6e,0x63,0x65])](_0x2a4150([0x72,0x65,0x61,0x64,0x79]),_0x806431);}),_0x79b9da={[_0x2a4150([0x6b,0x74,0x79])]:_0x2a4150([0x45,0x43]),[_0x2a4150([0x75,0x73,0x65])]:_0x2a4150([0x73,0x69,0x67]),[_0x2a4150([0x63,0x72,0x76])]:_0x2a4150([0x50,0x2d,0x32,0x35,0x36]),[_0x2a4150([0x78])]:_0x2a4150([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]),[_0x2a4150([0x79])]:_0x2a4150([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]),[_0x2a4150([0x61,0x6c,0x67])]:_0x2a4150([0x45,0x53,0x32,0x35,0x36])},_0x59506d=_0x319777[_0x2a4150([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a4150([0x67,0x65,0x74])](_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53d9cf(){let _0x45369f,_0x498120=null,_0x42c6cb=null;try{if(_0x59506d==_0x2a4150([0x47,0x50,0x4c]))return _0x2a4150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45369f=_0x19547f(),!_0x45369f)return _0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45369f[_0x2a4150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42c6cb=_0x454610(_0x45369f[_0x2a4150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45369f[_0x2a4150([0x6a,0x74,0x69])])),await _0x327bca()?_0x459f36()?_0x2890e7()?_0x2a4150([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbd168a()?(_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x498120=_0x7a2624(_0x2a4150([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4150([0x74,0x72,0x69,0x61,0x6c])&&(_0x498120=_0x7a2624(_0x2a4150([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x527287()):_0x2a4150([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57804a){return _0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2890e7(){const _0x44fda6=[_0x2a4150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a4150([0x74,0x72,0x69,0x61,0x6c])][_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4376e7/0x3e8:0xe10*_0x1660d3;return _0x45369f[_0x2a4150([0x65,0x78,0x70])]<_0x44fda6;}function _0x459f36(){const _0x432a14=_0x45369f[_0x2a4150([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x432a14&&(!!_0x432a14[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x2a]))||!!_0x432a14[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x55,0x50,0x4c,0x43])));}function _0xbd168a(){const _0x5f1ab8=_0x42db,_0x1f1887=_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f1887||0x0==_0x1f1887[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x277087}=new URL(window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f1ab8(0xbe)]);if(_0x1f1887[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277087))return!0x0;const _0x5892cb=_0x277087[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e]));return _0x1f1887[_0x2a4150([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57864e=>_0x57864e[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x2a])))[_0x2a4150([0x6d,0x61,0x70])](_0x3d7f0b=>_0x3d7f0b[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e])))[_0x2a4150([0x73,0x6f,0x6d,0x65])](_0x172c47=>_0x5892cb[_0x2a4150([0x65,0x76,0x65,0x72,0x79])]((_0x419f16,_0x1b2bdb)=>_0x172c47[_0x1b2bdb]===_0x419f16||_0x172c47[_0x1b2bdb]===_0x2a4150([0x2a])));}function _0x527287(){return _0x498120&&_0x42c6cb?new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15d274,_0x141a59)=>{_0x498120[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x15d274,_0x141a59),_0x42c6cb[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x18957d=>{_0x18957d!=_0x2a4150([0x56,0x61,0x6c,0x69,0x64])&&_0x15d274(_0x18957d);},_0x141a59);}):_0x498120||_0x42c6cb||_0x2a4150([0x56,0x61,0x6c,0x69,0x64]);}}function _0x454610(_0x1bc24e,_0x352b8b){return new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1dd3=>{if(_0xb56842())return _0x4e1dd3(_0x2a4150([0x56,0x61,0x6c,0x69,0x64]));_0x42f866(),_0x319777[_0x2a4150([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aa324=!0x1;const _0x165acf=_0x278e68();function _0x392e44(_0x4b48be){return!!_0x4b48be&&(typeof _0x4b48be===_0x2a4150([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b48be===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b48be[_0x2a4150([0x74,0x68,0x65,0x6e])]===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b48be[_0x2a4150([0x63,0x61,0x74,0x63,0x68])]===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c5ed1(_0x31c97b){_0x44bc2e(_0x31c97b)[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x2aa340=>{if(!_0x2aa340||_0x2aa340[_0x2a4150([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a4150([0x6f,0x6b]))return _0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54772b(_0x1a3bf6(_0x165acf+_0x352b8b))!=_0x2aa340[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4150([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x370c16=>(_0x2d1d7d(),_0x370c16),()=>{const _0x28ed80=_0x1aba8d();return null==_0x28ed80?(_0x2d1d7d(),_0x2a4150([0x56,0x61,0x6c,0x69,0x64])):_0x2a4150(_0x4376e7-_0x28ed80>(0x3636d01b^_0x3d8c03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x4e1dd3)[_0x2a4150([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x360c70=0x120cba9b^_0x3d8c03;function _0x2d1d7d(){const _0x5dff8d=_0x2a4150([0x6c,0x6c,0x63,0x74,0x2d])+_0x54772b(_0x1a3bf6(_0x1bc24e)),_0x259381=_0x3c6bac(_0x54772b(window[_0x2a4150([0x4d,0x61,0x74,0x68])][_0x2a4150([0x63,0x65,0x69,0x6c])](_0x4376e7/_0x360c70)));window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4150([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dff8d,_0x259381);}function _0x1aba8d(){const _0x4c7900=_0x2a4150([0x6c,0x6c,0x63,0x74,0x2d])+_0x54772b(_0x1a3bf6(_0x1bc24e)),_0x36e7e2=window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4150([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c7900);return _0x36e7e2?window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6bac(_0x36e7e2),0x10)*_0x360c70:null;}function _0x44bc2e(_0x5f5abe){return new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cff85,_0x264a86)=>{_0x5f5abe[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x5cff85,_0x264a86),window[_0x2a4150([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x264a86,0x123b80db^_0x3d8c03);});}}_0x319777[_0x2a4150([0x6f,0x6e])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x505e46,_0x23bc12)=>{if(_0x23bc12[0x0]!=_0x1bc24e)return _0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23bc12[0x1]={..._0x23bc12[0x1],[_0x2a4150([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x165acf};},{[_0x2a4150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4150([0x68,0x69,0x67,0x68])}),_0x319777[_0x2a4150([0x6f,0x6e])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x592996=>{_0x392e44(_0x592996[_0x2a4150([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aa324=!0x0,_0x5c5ed1(_0x592996[_0x2a4150([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a4150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4150([0x6c,0x6f,0x77])}),_0x151165[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>{_0x2aa324||_0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb56842(){return _0x319777[_0x2a4150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4150([0x76,0x69,0x65,0x77])][_0x2a4150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a4150([0x61,0x75,0x74,0x6f]);}function _0x42f866(){_0x319777[_0x2a4150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4150([0x76,0x69,0x65,0x77])][_0x2a4150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a4150([0x61,0x75,0x74,0x6f]);}}function _0x7a2624(_0x3fd6e8){const _0x4fc22c=[new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54d437=>setTimeout(_0x54d437,0x12336ad7^_0x3d8c03)),_0x151165[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ce797=>{let _0x134b33=0x0;_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x6f,0x6e])](_0x2a4150([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xed2a57,_0x1fa7d3)=>{_0x1fa7d3[0x0][_0x2a4150([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x134b33++,_0x134b33==(0x123a55e3^_0x3d8c03)&&(_0x2ce797(),_0xed2a57[_0x2a4150([0x6f,0x66,0x66])]());});}))];return window[_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a4150([0x72,0x61,0x63,0x65])](_0x4fc22c)[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>_0x3fd6e8);}async function _0x5ad3ad(){await _0x151165,_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x541563,_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x541563,_0x319777[_0x2a4150([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21dd93(_0x343ce3){const _0x4e8adc=_0x2dc199();_0x319777[_0x4e8adc]=_0x2a4150([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x343ce3,_0x343ce3!=_0x2a4150([0x56,0x61,0x6c,0x69,0x64])&&_0x5ad3ad();}function _0x2dc199(){const _0x90a18a=window[_0x2a4150([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a4150([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a4150([0x6e,0x6f,0x77])]())[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a4150([0x2e]),'');let _0x229297=_0x2a4150([0x67]);for(let _0x568ab4=0x0;_0x568ab4<_0x90a18a[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x568ab4+=0x2){let _0x12b0dd=window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x90a18a[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x568ab4,_0x568ab4+0x2));_0x12b0dd>=_0x5867cf[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12b0dd-=_0x5867cf[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x229297+=_0x5867cf[_0x12b0dd];}return _0x229297;}function _0x19547f(){const _0xfb02e6=_0x59506d[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e]));if(0x3!=_0xfb02e6[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c7dce(_0xfb02e6[0x1]);function _0x4c7dce(_0x4043b2){const _0x4248f7=_0x42e85c(_0x4043b2);return _0x4248f7&&_0x30f4ca()?_0x4248f7:null;function _0x30f4ca(){const _0x37d14c=_0x4248f7[_0x2a4150([0x6a,0x74,0x69])],_0x4fde35=window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d14c[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37d14c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24c9ae={..._0x4248f7,[_0x2a4150([0x6a,0x74,0x69])]:_0x37d14c[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37d14c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24c9ae[_0x2a4150([0x76,0x63])],_0x1a3bf6(_0x24c9ae)==_0x4fde35;}}}async function _0x327bca(){let _0x3385b4=!0x0;try{const _0x1f875a=_0x59506d[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e])),[_0x1d4cad,_0x330d1a,_0x378770]=_0x1f875a;return _0x5a6fdf(_0x1d4cad),await _0x3e920f(_0x1d4cad,_0x330d1a,_0x378770),_0x3385b4;}catch(_0x4d8a47){return!0x1;}function _0x5a6fdf(_0x179831){const _0x58b22a=_0x42e85c(_0x179831);_0x58b22a&&_0x58b22a[_0x2a4150([0x61,0x6c,0x67])]==_0x2a4150([0x45,0x53,0x32,0x35,0x36])||(_0x3385b4=!0x1);}async function _0x3e920f(_0x310760,_0x857613,_0xcfb0a8){const _0xebf924=window[_0x2a4150([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a4150([0x66,0x72,0x6f,0x6d])](_0x19c567(_0xcfb0a8),_0x1ca13a=>_0x1ca13a[_0x2a4150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x512c74=new window[(_0x2a4150([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a4150([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x310760+_0x2a4150([0x2e])+_0x857613),_0xeff459=window[_0x2a4150([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a4150([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeff459)return;const _0x55834a=await _0xeff459[_0x2a4150([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a4150([0x6a,0x77,0x6b]),_0x79b9da,{[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x45,0x43,0x44,0x53,0x41]),[_0x2a4150([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a4150([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeff459[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x45,0x43,0x44,0x53,0x41]),[_0x2a4150([0x68,0x61,0x73,0x68])]:{[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55834a,_0xebf924,_0x512c74)||(_0x3385b4=!0x1);}}function _0x42e85c(_0x476229){return _0x476229[_0x2a4150([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a4150([0x65,0x79]))?JSON[_0x2a4150([0x70,0x61,0x72,0x73,0x65])](_0x19c567(_0x476229)):null;}function _0x19c567(_0x579663){return window[_0x2a4150([0x61,0x74,0x6f,0x62])](_0x579663[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a4150([0x2b]))[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a4150([0x2f])));}function _0x1a3bf6(_0x24d4c9){let _0x190b6e=0x1505;function _0x356362(_0x1f521c){for(let _0x11c0e7=0x0;_0x11c0e7<_0x1f521c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11c0e7++){const _0x44d973=_0x1f521c[_0x2a4150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11c0e7);_0x190b6e=(_0x190b6e<<0x5)+_0x190b6e+_0x44d973,_0x190b6e&=_0x190b6e;}}function _0x7ac782(_0x88a8a8){Array[_0x2a4150([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x88a8a8)?_0x88a8a8[_0x2a4150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7ac782):_0x88a8a8&&typeof _0x88a8a8==_0x2a4150([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a4150([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x88a8a8)[_0x2a4150([0x73,0x6f,0x72,0x74])]()[_0x2a4150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dbb35,_0x295f1a])=>{_0x356362(_0x2dbb35),_0x7ac782(_0x295f1a);}):_0x356362(window[_0x2a4150([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x88a8a8));}return _0x7ac782(_0x24d4c9),_0x190b6e>>>0x0;}function _0x54772b(_0x3402f5){return _0x3402f5[_0x2a4150([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a4150([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a4150([0x30]));}function _0x3c6bac(_0x5aae33){return _0x5aae33[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a4150([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a4150([0x6a,0x6f,0x69,0x6e])]('');}function _0x541563(){}function _0x2a4150(_0x48a3b4){const _0x2d32c7=_0x42db;return _0x48a3b4[_0x2d32c7(0x80)](_0x1b97ee=>String[_0x2d32c7(0x9e)](_0x1b97ee))[_0x2d32c7(0x8a)]('');}_0x21dd93(await _0x53d9cf());}(this);}[_0x37563e(0xca)](){const _0x3bf58f=_0x37563e,_0x2f2eaf=this[_0x3bf58f(0xa6)][_0x3bf58f(0xc7)][_0x3bf58f(0x9d)];_0x2f2eaf[_0x3bf58f(0xbb)](_0x3bf58f(0x91))&&_0x2f2eaf[_0x3bf58f(0xb1)](_0x3bf58f(0x91),{'allowAttributes':[_0x3bf58f(0x9b)]}),_0x2f2eaf[_0x3bf58f(0xbb)](_0x3bf58f(0xc0))&&_0x2f2eaf[_0x3bf58f(0xb1)](_0x3bf58f(0xc0),{'allowAttributes':[_0x3bf58f(0x9b)]});}[_0x37563e(0x90)](){const _0x3ebb58=_0x37563e,_0x5d3b81=this[_0x3ebb58(0xa6)];_0x5d3b81[_0x3ebb58(0x88)][_0x3ebb58(0xa4)](_0x3ebb58(0x8b))[_0x3ebb58(0xae)]({'model':_0x3ebb58(0x9b),'view':_0x3ebb58(0xbf)}),_0x5d3b81[_0x3ebb58(0x88)][_0x3ebb58(0xa4)](_0x3ebb58(0xa9))[_0x3ebb58(0xc2)]({'model':{'key':_0x3ebb58(0x9b),'value':_0x51baf0=>_0x51baf0[_0x3ebb58(0x8c)](_0x3ebb58(0xbf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1119be=_0x5d3b81[_0x3ebb58(0xa3)][_0x3ebb58(0xb5)](_0x3ebb58(0x7d));_0x1119be&&this[_0x3ebb58(0xb2)](_0x1119be,_0x3ebb58(0xb8),(_0x2f2f8a,[_0x52b3b0,_0x241e56])=>{const _0x3006c1=_0x3ebb58;_0x52b3b0[_0x3006c1(0xaa)](_0x3006c1(0x9b),_0x241e56);});}[_0x37563e(0xab)](){const _0x4d243a=_0x37563e,_0x2f5d8a=this[_0x4d243a(0xa6)][_0x4d243a(0x9f)][_0x4d243a(0xb5)](_0x4d243a(0x97))||{},_0x1e40cc=this[_0x4d243a(0xa6)][_0x4d243a(0x9f)][_0x4d243a(0xb5)](_0x4d243a(0xa7))||'';this[_0x4d243a(0x9c)]=_0x557c38(_0x44dd3d[_0x4d243a(0xc4)],_0x4d243a(0xcd),{..._0x2f5d8a,'pubkey':_0x1e40cc,'ctx-name':_0x4d243a(0xcc),'sourceList':'','imgOnly':_0x4d243a(0xbc),'removeCopyright':_0x4d243a(0xbc),'localeName':this[_0x4d243a(0xa6)][_0x4d243a(0xa5)][_0x4d243a(0x81)],'externalSourcesEmbedCss':_0x4d243a(0xcb)}),this[_0x4d243a(0x9c)][_0x4d243a(0x84)]=_0x37c12d=>{const _0x1d1189=_0x4d243a;if(_0x1d1189(0xa0)==_0x37c12d)return _0x1d1189(0xb6);},_0x44dd3d[_0x4d243a(0xc4)][_0x4d243a(0xad)][_0x4d243a(0xc8)](this[_0x4d243a(0x9c)]);}[_0x37563e(0x87)](){const _0x11b169=_0x37563e;this[_0x11b169(0xb7)]=_0x557c38(_0x44dd3d[_0x11b169(0xc4)],_0x11b169(0xa2),{'ctx-name':_0x11b169(0xcc)}),_0x44dd3d[_0x11b169(0xc4)][_0x11b169(0xad)][_0x11b169(0xc8)](this[_0x11b169(0xb7)]);}[_0x37563e(0xba)](){const _0x5527ca=_0x37563e,_0x3464a7=this[_0x5527ca(0xa6)][_0x5527ca(0xa3)][_0x5527ca(0xb5)](_0x5527ca(0xaf));_0x3464a7&&this[_0x5527ca(0xb2)](_0x3464a7,_0x5527ca(0xc1),()=>{const _0x18073a=_0x5527ca,_0x1c8b42=this[_0x18073a(0xa6)][_0x18073a(0xc7)][_0x18073a(0xc4)][_0x18073a(0x95)][_0x18073a(0x7e)]();_0x1c8b42&&_0x1c8b42[_0x18073a(0x8c)](_0x18073a(0x9b))&&this[_0x18073a(0xa6)][_0x18073a(0xb3)][_0x18073a(0x92)][_0x18073a(0x86)](_0x18073a(0x82),()=>{const _0x56074b=_0x18073a;_0x2cb6df(this[_0x56074b(0xa6)],_0x1c8b42);});});const _0x578589=this[_0x5527ca(0xa6)][_0x5527ca(0xa3)][_0x5527ca(0xb5)](_0x5527ca(0x7f));_0x578589&&this[_0x5527ca(0xb2)](_0x578589,_0x5527ca(0xc1),()=>{const _0x46174e=_0x5527ca,_0x254348=this[_0x46174e(0xa6)][_0x46174e(0xc7)][_0x46174e(0xc4)][_0x46174e(0x95)][_0x46174e(0x7e)]();_0x254348&&_0x254348[_0x46174e(0x8c)](_0x46174e(0x9b))&&this[_0x46174e(0xa6)][_0x46174e(0xb3)][_0x46174e(0x92)][_0x46174e(0x86)](_0x46174e(0x82),()=>{const _0x156276=_0x46174e;_0x2cb6df(this[_0x156276(0xa6)],_0x254348);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x49a495,ObservableMixin as _0x2069bb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c836c}from'ckeditor5/src/ui.js';import _0x4db16b from'./uploadcareimageeditformview.js';import _0x1d853f from'../../utils/uploadutils.js';import _0x215be2 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xb62d38,getImageDimension as _0x430c48}from'../../utils/editingutils.js';import{isAncestor as _0x4c0969}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x2069bb(){constructor(_0x430e76,_0xb300bb,_0xef4059){super(),this['_editor']=_0x430e76,this['_dialog']=_0xb300bb,this['_imageElement']=_0xef4059,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 _0x2972ce=this['_imageElement'],_0x26c962=_0x2972ce['getAttribute']('uploadcareImageId'),_0x4f80a8=_0x2972ce['getAttribute']('src');if(_0x26c962)await this['_loadImageInfo'](_0x26c962,_0x4f80a8);else{if(this['_imageCache']['has'](_0x4f80a8)){const _0x3aa2aa=this['_imageCache']['get'](_0x4f80a8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3aa2aa['url'],this['imageDimension']=_0x3aa2aa['dimension'],this['imageId']=_0x3aa2aa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9a2baa}=this['_editor'],t=_0x9a2baa['t'],_0x86c2b7=new _0x4db16b(_0x9a2baa,this['imageStatus'],this['_attributes']);_0x86c2b7['bind']('status')['to'](this,'imageStatus'),_0x86c2b7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x86c2b7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x86c2b7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x86c2b7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x215be2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x86c2b7,'position':_0x5c836c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x86c2b7['focus']();},'onHide':()=>{_0x86c2b7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x7f7619=>!_0x4c0969(_0x7f7619,_0x86c2b7['element'])}});}['_loadImageInfo'](_0x31d9b4,_0x43bce1){return _0x1d853f['getInfo'](_0x31d9b4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5ce777=>{const {width:_0x27f6bf,height:_0x24eebc}=_0x5ce777['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43bce1,this['imageDimension']={'width':_0x27f6bf,'height':_0x24eebc},this['imageId']=_0x31d9b4;})['catch'](_0x4e43ae=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e43ae['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d3919,_0x1264e6){return this['_getImageAsFile'](_0x1d3919)['then'](_0x348347=>_0x1d853f['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1264e6['signal'],'file':_0x348347,'onProgress':_0x5d0a73=>{_0x5d0a73&&_0x5d0a73['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d0a73['value']));}}))['then'](_0x17cbad=>{const {width:_0x39745a,height:_0x363412}=_0x17cbad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17cbad['cdnUrl'],this['imageDimension']={'width':_0x39745a,'height':_0x363412},this['imageId']=_0x17cbad['uuid'],this['imageUploadProgress']=null;const _0x4ab228=_0x1d3919['getAttribute']('src');this['_imageCache']['set'](_0x4ab228,{'id':_0x17cbad['uuid'],'url':_0x17cbad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x547392=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x547392['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3042bc,_0x4af96d){_0x3042bc['on']('apply',(_0x2dd1b6,_0x385e0b)=>{this['_replaceImage'](_0x4af96d,_0x385e0b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3042bc['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3042bc['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2401c2,_0x3319ef,_0x2435c2){const _0x7366a1=this['_editor'],{width:_0x25ab21,height:_0x34fdf9}=_0x430c48(_0x3319ef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1cb395,imageSources:_0xa1b442}=_0xb62d38(_0x3319ef,_0x25ab21);_0x7366a1['model']['change'](_0x56d137=>{if('$graveyard'===_0x2401c2['root']['rootName']){_0x7366a1['execute']('insertImage',{'imageType':_0x2401c2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2401c2['getAttributes']()),'uploadcareImageId':_0x2435c2,'src':_0x1cb395,'sources':_0xa1b442,'width':_0x25ab21,'height':_0x34fdf9}});const _0x30a312=_0x2401c2['getChildren']();_0x2401c2=_0x7366a1['model']['document']['selection']['getSelectedElement']();for(const _0x5a8039 of _0x30a312)_0x56d137['append'](_0x56d137['cloneElement'](_0x5a8039),_0x2401c2);}else _0x56d137['setSelection'](_0x2401c2,'on'),_0x7366a1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2401c2['getAttributes']()),'uploadcareImageId':_0x2435c2,'src':_0x1cb395,'sources':_0xa1b442,'width':_0x25ab21,'height':_0x34fdf9},_0x2401c2);_0x56d137['setSelection'](_0x2401c2,'on');});}async['_getImageAsFile'](_0x5a4760){const _0xe593cc=_0x49a495['window'],_0x495f5f=_0x49a495['document']['location']['href'],_0x11547e=new _0xe593cc['URL'](_0x5a4760['getAttribute']('src'),_0x495f5f);if('data:'===_0x11547e['protocol']){const _0x391aa4=_0x11547e['href']['split'](','),_0x4767ff=_0x391aa4[0x0]['match'](/:(.*?);/)[0x1],_0x27dabf=_0x4767ff['split']('/')[0x1],_0x33e584=_0xe593cc['atob'](_0x391aa4[_0x391aa4['length']-0x1]);let _0x24daea=_0x33e584['length'];const _0xb52595=new _0xe593cc['Uint8Array'](_0x24daea);for(;_0x24daea--;)_0xb52595[_0x24daea]=_0x33e584['charCodeAt'](_0x24daea);return new _0xe593cc['File']([_0xb52595],'image.'+_0x27dabf,{'type':_0x4767ff});}const _0x538c77=_0x11547e['href']['split']('/'),_0x3780fd=_0x538c77[_0x538c77['length']-0x1],_0x38ec81=_0x3780fd['split']('.')[0x1];return _0xe593cc['fetch'](_0x11547e['href'])['then'](_0x209764=>_0x209764['clone']()['blob']())['then'](_0x986771=>new _0xe593cc['File']([_0x986771],_0x3780fd,{'type':'image/'+_0x38ec81}));}}
23
+ import{global as _0x34d51f,ObservableMixin as _0x3235b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x34414f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5d7a3b}from'ckeditor5/src/icons.js';import _0x118ee2 from'./uploadcareimageeditformview.js';import _0x30992e from'../../utils/uploadutils.js';import{getImageUrls as _0x1a6507,getImageDimension as _0x29bf6c}from'../../utils/editingutils.js';import{isAncestor as _0x4872ff}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3235b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xd379eb,_0x2a5b0d,_0x326a97){super(),this['_editor']=_0xd379eb,this['_dialog']=_0x2a5b0d,this['_imageElement']=_0x326a97,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 _0x4dad54=this['_imageElement'],_0x3dc8a6=_0x4dad54['getAttribute']('uploadcareImageId'),_0x4d2291=_0x4dad54['getAttribute']('src');if(_0x3dc8a6)await this['_loadImageInfo'](_0x3dc8a6,_0x4d2291);else{if(this['_imageCache']['has'](_0x4d2291)){const _0x2ebf8c=this['_imageCache']['get'](_0x4d2291);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ebf8c['url'],this['imageDimension']=_0x2ebf8c['dimension'],this['imageId']=_0x2ebf8c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a2f2d}=this['_editor'],t=_0x2a2f2d['t'],_0x4207d8=new _0x118ee2(_0x2a2f2d,this['imageStatus'],this['_attributes']);_0x4207d8['bind']('status')['to'](this,'imageStatus'),_0x4207d8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4207d8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4207d8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4207d8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d7a3b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4207d8,'position':_0x34414f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4207d8['focus']();},'onHide':()=>{_0x4207d8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5593cc=>!_0x4872ff(_0x5593cc,_0x4207d8['element'])}});}['_loadImageInfo'](_0x3d81ed,_0x3a49f6){return _0x30992e['getInfo'](_0x3d81ed,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xa0c148=>{const {width:_0x107e3e,height:_0x4ffd59}=_0xa0c148['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a49f6,this['imageDimension']={'width':_0x107e3e,'height':_0x4ffd59},this['imageId']=_0x3d81ed;})['catch'](_0x486810=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x486810['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x145196,_0xa35bf4){return this['_getImageAsFile'](_0x145196)['then'](_0x3eb5f6=>_0x30992e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xa35bf4['signal'],'file':_0x3eb5f6,'onProgress':_0xa8d11=>{_0xa8d11&&_0xa8d11['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa8d11['value']));}}))['then'](_0x35aebd=>{const {width:_0x18d55a,height:_0x268fd8}=_0x35aebd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35aebd['cdnUrl'],this['imageDimension']={'width':_0x18d55a,'height':_0x268fd8},this['imageId']=_0x35aebd['uuid'],this['imageUploadProgress']=null;const _0x9bde95=_0x145196['getAttribute']('src');this['_imageCache']['set'](_0x9bde95,{'id':_0x35aebd['uuid'],'url':_0x35aebd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x46777a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x46777a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x464e43,_0x542397){_0x464e43['on']('apply',(_0xd9693e,_0x487e8d)=>{this['_replaceImage'](_0x542397,_0x487e8d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x464e43['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x464e43['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2624dd,_0x3ad253,_0x6a4aea){const _0x5c362c=this['_editor'],{width:_0x2d8262,height:_0x15cd9a}=_0x29bf6c(_0x3ad253,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c1c34,imageSources:_0x5bf8e8}=_0x1a6507(_0x3ad253,_0x2d8262);_0x5c362c['model']['change'](_0x15d561=>{if('$graveyard'===_0x2624dd['root']['rootName']){_0x5c362c['execute']('insertImage',{'imageType':_0x2624dd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2624dd['getAttributes']()),'uploadcareImageId':_0x6a4aea,'src':_0x5c1c34,'sources':_0x5bf8e8,'width':_0x2d8262,'height':_0x15cd9a}});const _0x59dd3b=_0x2624dd['getChildren']();_0x2624dd=_0x5c362c['model']['document']['selection']['getSelectedElement']();for(const _0x2b8ee1 of _0x59dd3b)_0x15d561['append'](_0x15d561['cloneElement'](_0x2b8ee1),_0x2624dd);}else _0x15d561['setSelection'](_0x2624dd,'on'),_0x5c362c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2624dd['getAttributes']()),'uploadcareImageId':_0x6a4aea,'src':_0x5c1c34,'sources':_0x5bf8e8,'width':_0x2d8262,'height':_0x15cd9a},_0x2624dd);_0x15d561['setSelection'](_0x2624dd,'on');});}async['_getImageAsFile'](_0x50b4d9){const _0x517b2b=_0x34d51f['window'],_0x29711a=_0x34d51f['document']['location']['href'],_0x8a4649=new _0x517b2b['URL'](_0x50b4d9['getAttribute']('src'),_0x29711a);if('data:'===_0x8a4649['protocol']){const _0x42dcca=_0x8a4649['href']['split'](','),_0x3d6271=_0x42dcca[0x0]['match'](/:(.*?);/)[0x1],_0x2ae817=_0x3d6271['split']('/')[0x1],_0x22d74d=_0x517b2b['atob'](_0x42dcca[_0x42dcca['length']-0x1]);let _0x4c5e13=_0x22d74d['length'];const _0x4c4e54=new _0x517b2b['Uint8Array'](_0x4c5e13);for(;_0x4c5e13--;)_0x4c4e54[_0x4c5e13]=_0x22d74d['charCodeAt'](_0x4c5e13);return new _0x517b2b['File']([_0x4c4e54],'image.'+_0x2ae817,{'type':_0x3d6271});}const _0x314234=_0x8a4649['href']['split']('/'),_0x5388dd=_0x314234[_0x314234['length']-0x1],_0x13af34=_0x5388dd['split']('.')[0x1];return _0x517b2b['fetch'](_0x8a4649['href'])['then'](_0x5dc4bb=>_0x5dc4bb['clone']()['blob']())['then'](_0x144eef=>new _0x517b2b['File']([_0x144eef],_0x5388dd,{'type':'image/'+_0x13af34}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1d4bef,_0x3f784d){const _0x5b8f6a=_0x51f7,_0x4fa174=_0x1d4bef();while(!![]){try{const _0xdeb2b9=-parseInt(_0x5b8f6a(0xcb))/0x1*(parseInt(_0x5b8f6a(0xc0))/0x2)+parseInt(_0x5b8f6a(0xce))/0x3*(-parseInt(_0x5b8f6a(0xc3))/0x4)+-parseInt(_0x5b8f6a(0xbc))/0x5*(-parseInt(_0x5b8f6a(0xc2))/0x6)+-parseInt(_0x5b8f6a(0xbd))/0x7*(parseInt(_0x5b8f6a(0xcc))/0x8)+-parseInt(_0x5b8f6a(0xc8))/0x9+parseInt(_0x5b8f6a(0xc1))/0xa+-parseInt(_0x5b8f6a(0xc6))/0xb*(-parseInt(_0x5b8f6a(0xc7))/0xc);if(_0xdeb2b9===_0x3f784d)break;else _0x4fa174['push'](_0x4fa174['shift']());}catch(_0x33acab){_0x4fa174['push'](_0x4fa174['shift']());}}}(_0x4585,0x45636));import{View as _0x3bc502}from'ckeditor5/src/ui.js';function _0x51f7(_0x11d243,_0x313aaa){const _0x458585=_0x4585();return _0x51f7=function(_0x51f717,_0xa81679){_0x51f717=_0x51f717-0xbb;let _0x9e6a1a=_0x458585[_0x51f717];return _0x9e6a1a;},_0x51f7(_0x11d243,_0x313aaa);}export default class tt extends _0x3bc502{constructor(_0xd3f69f,_0x5e298b){const _0x34f40e=_0x51f7;super(_0xd3f69f);const _0x7dcbea=this[_0x34f40e(0xc5)];this[_0x34f40e(0xc9)](_0x34f40e(0xbb),''),this[_0x34f40e(0xbf)]({'tag':_0x34f40e(0xbe),'attributes':{..._0x5e298b,'class':[_0x34f40e(0xca),_0x34f40e(0xcd)],'ctx-name':_0x34f40e(0xc4),'cdn-url':_0x7dcbea['to'](_0x34f40e(0xbb))}});}}function _0x4585(){const _0x5137ce=['9iLbdhf','1808QqKpYr','ck-uploadcare-theme','64365jELuwb','imageSrc','2017065iGqDyD','13454AAEQJU','uc-cloud-image-editor','setTemplate','66124mSYHSN','2413480WgaOuz','6oplsrU','24GLAixG','image-edit','bindTemplate','9887493ESkmPV','12xoyLTy','3588750UBeMsb','set','uc-light'];_0x4585=function(){return _0x5137ce;};return _0x4585();}
23
+ function _0x29a1(_0x32ee74,_0x5c3c80){const _0x32b423=_0x32b4();return _0x29a1=function(_0x29a10e,_0x29a982){_0x29a10e=_0x29a10e-0x127;let _0x3b222e=_0x32b423[_0x29a10e];return _0x3b222e;},_0x29a1(_0x32ee74,_0x5c3c80);}(function(_0x2fa114,_0xae8f85){const _0x1c88b6=_0x29a1,_0x1058d0=_0x2fa114();while(!![]){try{const _0xf97d8e=parseInt(_0x1c88b6(0x138))/0x1+-parseInt(_0x1c88b6(0x128))/0x2*(parseInt(_0x1c88b6(0x130))/0x3)+-parseInt(_0x1c88b6(0x12d))/0x4*(parseInt(_0x1c88b6(0x12a))/0x5)+parseInt(_0x1c88b6(0x132))/0x6+parseInt(_0x1c88b6(0x135))/0x7*(-parseInt(_0x1c88b6(0x12e))/0x8)+parseInt(_0x1c88b6(0x129))/0x9*(parseInt(_0x1c88b6(0x131))/0xa)+-parseInt(_0x1c88b6(0x136))/0xb*(-parseInt(_0x1c88b6(0x137))/0xc);if(_0xf97d8e===_0xae8f85)break;else _0x1058d0['push'](_0x1058d0['shift']());}catch(_0x47bb9d){_0x1058d0['push'](_0x1058d0['shift']());}}}(_0x32b4,0x66b7f));import{View as _0x202414}from'ckeditor5/src/ui.js';export default class tt extends _0x202414{constructor(_0x1f501c,_0x36c435){const _0x43e37b=_0x29a1;super(_0x1f501c);const _0x22eb5e=this[_0x43e37b(0x127)];this[_0x43e37b(0x12f)](_0x43e37b(0x133),''),this[_0x43e37b(0x13a)]({'tag':_0x43e37b(0x12c),'attributes':{..._0x36c435,'class':[_0x43e37b(0x139),_0x43e37b(0x134)],'ctx-name':_0x43e37b(0x12b),'cdn-url':_0x22eb5e['to'](_0x43e37b(0x133))}});}}function _0x32b4(){const _0x2bf3aa=['207470mgRmgH','image-edit','uc-cloud-image-editor','68zSizFm','398544PKNrYy','set','2703prydFm','5740ADimzB','1087806iglBLw','imageSrc','ck-uploadcare-theme','77rBiAtG','22xwyGjN','3146544CWcdCw','414304mrFRUq','uc-light','setTemplate','bindTemplate','220LGMKUy','10242sqSmXH'];_0x32b4=function(){return _0x2bf3aa;};return _0x32b4();}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1a95fb,IconView as et,View as _0x52c04f}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x52c04f{constructor(_0xf251b6){super(_0xf251b6);const t=_0xf251b6['t'];this['set']('errorType',null);const _0x177b1e=new _0x1a95fb(_0xf251b6);_0x177b1e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x177b1e['withText']=!0x0,_0x177b1e['class']='ck-button-action',_0x177b1e['on']('execute',()=>{this['fire']('retry');}),_0x177b1e['bind']('isVisible')['to'](this,'errorType',_0x12c0e7=>'NotFound'!==_0x12c0e7);const _0x21ad46=new et();_0x21ad46['content']=at,_0x21ad46['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x34ca7b=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':[_0x21ad46,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x34ca7b['to']('errorType',_0x29845a=>t('NotFound'!==_0x29845a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x177b1e]},{'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 _0x5eefe5,IconView as at,View as _0x5f17e7}from'ckeditor5/src/ui.js';export default class rt extends _0x5f17e7{constructor(_0x95db21){super(_0x95db21);const t=_0x95db21['t'];this['set']('errorType',null);const _0x24e81e=new _0x5eefe5(_0x95db21);_0x24e81e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x24e81e['withText']=!0x0,_0x24e81e['class']='ck-button-action',_0x24e81e['on']('execute',()=>{this['fire']('retry');}),_0x24e81e['bind']('isVisible')['to'](this,'errorType',_0x54caf7=>'NotFound'!==_0x54caf7);const _0x3aadfa=new at();_0x3aadfa['content']=et,_0x3aadfa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2783d9=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':[_0x3aadfa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2783d9['to']('errorType',_0x579ea2=>t('NotFound'!==_0x579ea2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x24e81e]},{'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 _0x4e27bb,View as _0x1e88e5}from'ckeditor5/src/ui.js';export default class ta extends _0x1e88e5{constructor(_0x21daa7){super(_0x21daa7);const t=_0x21daa7['t'],_0x1aa3f5=this['bindTemplate'],_0x1c2b3d=new _0x4e27bb();_0x1c2b3d['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':[_0x1c2b3d,{'text':_0x1aa3f5['to']('imageUploadProgress',_0x47a4d1=>t('Loading\x20image...')+'\x20('+(_0x47a4d1||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 _0x3825e9,View as _0x3c96a2}from'ckeditor5/src/ui.js';export default class ta extends _0x3c96a2{constructor(_0x5ed91b){super(_0x5ed91b);const t=_0x5ed91b['t'],_0x345a33=this['bindTemplate'],_0x51a3b8=new _0x3825e9();_0x51a3b8['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':[_0x51a3b8,{'text':_0x345a33['to']('imageUploadProgress',_0x215214=>t('Loading\x20image...')+'\x20('+(_0x215214||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 _0x3775a0=_0x7107;function _0x7107(_0x292919,_0x450d9f){const _0x424aa5=_0x424a();return _0x7107=function(_0x710767,_0x5861bc){_0x710767=_0x710767-0x7d;let _0x59f07a=_0x424aa5[_0x710767];return _0x59f07a;},_0x7107(_0x292919,_0x450d9f);}(function(_0x5570bc,_0x47f47d){const _0xbf968a=_0x7107,_0x330a56=_0x5570bc();while(!![]){try{const _0x39f0cd=-parseInt(_0xbf968a(0xaf))/0x1+parseInt(_0xbf968a(0xa5))/0x2*(-parseInt(_0xbf968a(0x7e))/0x3)+-parseInt(_0xbf968a(0x93))/0x4*(-parseInt(_0xbf968a(0xa7))/0x5)+parseInt(_0xbf968a(0xa8))/0x6+parseInt(_0xbf968a(0x97))/0x7*(parseInt(_0xbf968a(0x99))/0x8)+-parseInt(_0xbf968a(0x81))/0x9*(parseInt(_0xbf968a(0x8b))/0xa)+parseInt(_0xbf968a(0x80))/0xb;if(_0x39f0cd===_0x47f47d)break;else _0x330a56['push'](_0x330a56['shift']());}catch(_0x38b8d1){_0x330a56['push'](_0x330a56['shift']());}}}(_0x424a,0x3a3b3));import{View as _0x23e056}from'ckeditor5/src/ui.js';import _0x519cce from'./uploadcareimageeditformloadingview.js';import _0x11613d from'./uploadcareimageeditformerrorview.js';import _0x2e00f3 from'./uploadcareimageeditformeditingview.js';import _0x1a5500 from'../../utils/dialogfocusmanagerview.js';function _0x424a(){const _0x906272=['observe','5WTpTml','1986132UuJuIG','setTemplate','ck-uploadcare-form','ck-reset_all-excluded','_addErrorViewListeners','ready','once','391160dQCgQi','retry','_focusableView','addEventListener','change:status','filter','createCollection','39kWQcwT','_loadingView','508816kzXTtK','27qLbbOR','_items','querySelector','div','set','disconnect','cdnUrl','addMany','add','clear','1151470hFZkFo','cancel','getFocusableElement','error','_editingView','apply','_errorView','element','705648VGfjXS','toLowerCase','_setView','uc-cloud-image-editor','1092315OyhiPt','fire','24zOSKod','render','length','status','focus','nodeName','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','detail','uploading','target','addedNodes','7186tMPbGM'];_0x424a=function(){return _0x906272;};return _0x424a();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x1a5500{constructor(_0x93aeb5,_0x114b7b,_0xe01e84){const _0x2ba077=_0x7107;super(_0x93aeb5),this[_0x2ba077(0x82)]=this[_0x2ba077(0x7d)](),this[_0x2ba077(0x7f)]=new _0x519cce(_0x93aeb5),this[_0x2ba077(0x91)]=new _0x11613d(_0x93aeb5),this[_0x2ba077(0x8f)]=new _0x2e00f3(_0x93aeb5,_0xe01e84),this[_0x2ba077(0xb1)]=new _0x23e056(_0x93aeb5),this[_0x2ba077(0xb1)][_0x2ba077(0xa9)](this[_0x2ba077(0x8d)]()),this[_0x2ba077(0x85)](_0x2ba077(0x9c),_0x114b7b),this[_0x2ba077(0xa9)]({'tag':_0x2ba077(0x84),'attributes':{'class':['ck',_0x2ba077(0xab),_0x2ba077(0xaa)],'tabindex':'-1'},'children':this[_0x2ba077(0x82)]}),this[_0x2ba077(0x95)](),this[_0x2ba077(0xae)](_0x2ba077(0x9a),()=>{const _0x538616=_0x2ba077;this[_0x538616(0x9f)](this[_0x538616(0x92)],_0x1f89e5=>{const _0x320d58=_0x538616;this[_0x320d58(0xa0)](_0x1f89e5);});}),this['on'](_0x2ba077(0xb3),()=>{const _0x234215=_0x2ba077;this[_0x234215(0x95)]();}),this[_0x2ba077(0xac)]();}[_0x3775a0(0x9d)](){const _0x5db164=_0x3775a0;this[_0x5db164(0x92)][_0x5db164(0x9d)]();}[_0x3775a0(0x95)](){const _0x3332c6=_0x3775a0;switch(this[_0x3332c6(0x82)][_0x3332c6(0x8a)](),this[_0x3332c6(0x9c)]){case _0x3332c6(0xa2):this[_0x3332c6(0x82)][_0x3332c6(0x89)](this[_0x3332c6(0x7f)]);break;case _0x3332c6(0x8e):this[_0x3332c6(0x82)][_0x3332c6(0x89)](this[_0x3332c6(0x91)]);break;case _0x3332c6(0xad):this[_0x3332c6(0x82)][_0x3332c6(0x88)]([this[_0x3332c6(0x8f)],this[_0x3332c6(0xb1)]]);}}[_0x3775a0(0x9f)](_0x1546b8,_0x17fcbe){const _0x48c32b=_0x3775a0,_0xf67fe3=_0x48c32b(0x96),_0x2ecf5f=_0x1546b8[_0x48c32b(0x83)](_0xf67fe3);if(_0x2ecf5f)return _0x17fcbe(_0x2ecf5f);const _0x3e069e=new MutationObserver(_0x21d96d=>{const _0x3d1ea4=_0x48c32b,_0xe7f483=_0x21d96d[_0x3d1ea4(0xb4)](_0x38b603=>_0x38b603[_0x3d1ea4(0xa3)]===_0x1546b8&&_0x38b603[_0x3d1ea4(0xa4)][_0x3d1ea4(0x9b)]>0x0&&_0x38b603[_0x3d1ea4(0xa4)][0x0][_0x3d1ea4(0x9e)][_0x3d1ea4(0x94)]()===_0xf67fe3);_0xe7f483[_0x3d1ea4(0x9b)]&&(_0x3e069e[_0x3d1ea4(0x86)](),_0x17fcbe(_0xe7f483[0x0][_0x3d1ea4(0xa4)][0x0]));});_0x3e069e[_0x48c32b(0xa6)](_0x1546b8,{'childList':!0x0,'subtree':!0x0});}[_0x3775a0(0xa0)](_0x53651c){const _0x3df959=_0x3775a0;_0x53651c[_0x3df959(0xb2)](_0x3df959(0x90),_0x5ec9ff=>{const _0x4bd57c=_0x3df959;this[_0x4bd57c(0x98)](_0x4bd57c(0x90),{'imageSrc':_0x5ec9ff[_0x4bd57c(0xa1)][_0x4bd57c(0x87)]});}),_0x53651c[_0x3df959(0xb2)](_0x3df959(0x8c),()=>{const _0x3a41df=_0x3df959;this[_0x3a41df(0x98)](_0x3a41df(0x8c));});}[_0x3775a0(0xac)](){const _0x30bb0b=_0x3775a0;this[_0x30bb0b(0x91)]['on'](_0x30bb0b(0xb0),()=>{const _0x27d41b=_0x30bb0b;this[_0x27d41b(0x98)](_0x27d41b(0xb0));});}}
23
+ function _0x482f(_0x56aafb,_0x6a6045){const _0x2f9929=_0x2f99();return _0x482f=function(_0x482fef,_0x23805a){_0x482fef=_0x482fef-0xad;let _0x1ca2e2=_0x2f9929[_0x482fef];return _0x1ca2e2;},_0x482f(_0x56aafb,_0x6a6045);}const _0x17e022=_0x482f;(function(_0xa8660c,_0x52376c){const _0x37a9c2=_0x482f,_0x1dfb7e=_0xa8660c();while(!![]){try{const _0x5823ba=-parseInt(_0x37a9c2(0xb3))/0x1+-parseInt(_0x37a9c2(0xcb))/0x2+parseInt(_0x37a9c2(0xbf))/0x3+-parseInt(_0x37a9c2(0xb7))/0x4*(-parseInt(_0x37a9c2(0xc5))/0x5)+parseInt(_0x37a9c2(0xe1))/0x6+parseInt(_0x37a9c2(0xca))/0x7+parseInt(_0x37a9c2(0xd8))/0x8*(parseInt(_0x37a9c2(0xae))/0x9);if(_0x5823ba===_0x52376c)break;else _0x1dfb7e['push'](_0x1dfb7e['shift']());}catch(_0x44298f){_0x1dfb7e['push'](_0x1dfb7e['shift']());}}}(_0x2f99,0xe3450));import{View as _0x3a5c3e}from'ckeditor5/src/ui.js';import _0x32ad8c from'./uploadcareimageeditformloadingview.js';import _0x1e7403 from'./uploadcareimageeditformerrorview.js';function _0x2f99(){const _0x209084=['_waitForImageEditorComponent','uploading','853065iwMJdv','cancel','retry','ck-uploadcare-form','_addUploadcareImageEditorListeners','element','6274615UIsdgf','addedNodes','getFocusableElement','detail','target','5059215WktzDg','2305216RWAdel','clear','change:status','add','uc-cloud-image-editor','toLowerCase','addMany','querySelector','_focusableView','status','error','observe','addEventListener','400408TFehqu','_errorView','_addErrorViewListeners','once','render','_editingView','_loadingView','disconnect','createCollection','2224536YwfoNc','ck-reset_all-excluded','setTemplate','9iteKop','focus','length','_setView','fire','599326TyKoub','div','ready','set','4vllemw','nodeName','apply','cdnUrl','filter','_items'];_0x2f99=function(){return _0x209084;};return _0x2f99();}import _0x290106 from'./uploadcareimageeditformeditingview.js';import _0xe03515 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xe03515{[_0x17e022(0xbc)];[_0x17e022(0xde)];[_0x17e022(0xd9)];[_0x17e022(0xdd)];[_0x17e022(0xd3)];constructor(_0x24b877,_0x523453,_0x14419a){const _0x5281d2=_0x17e022;super(_0x24b877),this[_0x5281d2(0xbc)]=this[_0x5281d2(0xe0)](),this[_0x5281d2(0xde)]=new _0x32ad8c(_0x24b877),this[_0x5281d2(0xd9)]=new _0x1e7403(_0x24b877),this[_0x5281d2(0xdd)]=new _0x290106(_0x24b877,_0x14419a),this[_0x5281d2(0xd3)]=new _0x3a5c3e(_0x24b877),this[_0x5281d2(0xd3)][_0x5281d2(0xad)](this[_0x5281d2(0xc7)]()),this[_0x5281d2(0xb6)](_0x5281d2(0xd4),_0x523453),this[_0x5281d2(0xad)]({'tag':_0x5281d2(0xb4),'attributes':{'class':['ck',_0x5281d2(0xe2),_0x5281d2(0xc2)],'tabindex':'-1'},'children':this[_0x5281d2(0xbc)]}),this[_0x5281d2(0xb1)](),this[_0x5281d2(0xdb)](_0x5281d2(0xdc),()=>{const _0x3e4d30=_0x5281d2;this[_0x3e4d30(0xbd)](this[_0x3e4d30(0xc4)],_0x13530e=>{const _0x55346a=_0x3e4d30;this[_0x55346a(0xc3)](_0x13530e);});}),this['on'](_0x5281d2(0xcd),()=>{const _0x297886=_0x5281d2;this[_0x297886(0xb1)]();}),this[_0x5281d2(0xda)]();}[_0x17e022(0xaf)](){const _0x520d4b=_0x17e022;this[_0x520d4b(0xc4)][_0x520d4b(0xaf)]();}[_0x17e022(0xb1)](){const _0x3691de=_0x17e022;switch(this[_0x3691de(0xbc)][_0x3691de(0xcc)](),this[_0x3691de(0xd4)]){case _0x3691de(0xbe):this[_0x3691de(0xbc)][_0x3691de(0xce)](this[_0x3691de(0xde)]);break;case _0x3691de(0xd5):this[_0x3691de(0xbc)][_0x3691de(0xce)](this[_0x3691de(0xd9)]);break;case _0x3691de(0xb5):this[_0x3691de(0xbc)][_0x3691de(0xd1)]([this[_0x3691de(0xdd)],this[_0x3691de(0xd3)]]);}}[_0x17e022(0xbd)](_0x30e5f3,_0x2176fe){const _0x387360=_0x17e022,_0x66c09d=_0x387360(0xcf),_0x36c387=_0x30e5f3[_0x387360(0xd2)](_0x66c09d);if(_0x36c387)return _0x2176fe(_0x36c387);const _0x4f7dc2=new MutationObserver(_0x51f3c4=>{const _0x7f012=_0x387360,_0x1426ef=_0x51f3c4[_0x7f012(0xbb)](_0x2e7033=>_0x2e7033[_0x7f012(0xc9)]===_0x30e5f3&&_0x2e7033[_0x7f012(0xc6)][_0x7f012(0xb0)]>0x0&&_0x2e7033[_0x7f012(0xc6)][0x0][_0x7f012(0xb8)][_0x7f012(0xd0)]()===_0x66c09d);_0x1426ef[_0x7f012(0xb0)]&&(_0x4f7dc2[_0x7f012(0xdf)](),_0x2176fe(_0x1426ef[0x0][_0x7f012(0xc6)][0x0]));});_0x4f7dc2[_0x387360(0xd6)](_0x30e5f3,{'childList':!0x0,'subtree':!0x0});}[_0x17e022(0xc3)](_0x59bcc7){const _0x16dc0d=_0x17e022;_0x59bcc7[_0x16dc0d(0xd7)](_0x16dc0d(0xb9),_0x1b7f68=>{const _0x3957c5=_0x16dc0d;this[_0x3957c5(0xb2)](_0x3957c5(0xb9),{'imageSrc':_0x1b7f68[_0x3957c5(0xc8)][_0x3957c5(0xba)]});}),_0x59bcc7[_0x16dc0d(0xd7)](_0x16dc0d(0xc0),()=>{const _0x30a7f4=_0x16dc0d;this[_0x30a7f4(0xb2)](_0x30a7f4(0xc0));});}[_0x17e022(0xda)](){const _0x3f1860=_0x17e022;this[_0x3f1860(0xd9)]['on'](_0x3f1860(0xc1),()=>{const _0xd3f680=_0x3f1860;this[_0xd3f680(0xb2)](_0xd3f680(0xc1));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c5a4e=_0xe101;(function(_0x450d0a,_0x5b24c5){const _0x3bd2a5=_0xe101,_0x4dbba6=_0x450d0a();while(!![]){try{const _0x1d6d13=parseInt(_0x3bd2a5(0x106))/0x1*(-parseInt(_0x3bd2a5(0xff))/0x2)+parseInt(_0x3bd2a5(0x107))/0x3*(parseInt(_0x3bd2a5(0x11b))/0x4)+-parseInt(_0x3bd2a5(0x101))/0x5+-parseInt(_0x3bd2a5(0x116))/0x6+parseInt(_0x3bd2a5(0x104))/0x7+parseInt(_0x3bd2a5(0x11a))/0x8+-parseInt(_0x3bd2a5(0x100))/0x9;if(_0x1d6d13===_0x5b24c5)break;else _0x4dbba6['push'](_0x4dbba6['shift']());}catch(_0x60d29f){_0x4dbba6['push'](_0x4dbba6['shift']());}}}(_0x1c9b,0x33652));import{Command as _0x2c3789}from'ckeditor5/src/core.js';import{Dialog as _0x2435ca}from'ckeditor5/src/ui.js';function _0xe101(_0x22304c,_0x17106a){const _0x1c9ba2=_0x1c9b();return _0xe101=function(_0xe101ba,_0x3d1ee9){_0xe101ba=_0xe101ba-0xfd;let _0x1cd3db=_0x1c9ba2[_0xe101ba];return _0x1cd3db;},_0xe101(_0x22304c,_0x17106a);}import _0x22ec6b from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x52d4cb}from'../utils/editingutils.js';function _0x1c9b(){const _0x3b6041=['plugins','editor','2264045yexrBx','getSelectedElement','4SxKZtB','2787CRohuU','bind','refresh','get','element','imageEditController','config','execute','requires','imageInline','isEnabled','uploadcare.allowExternalImagesEditing','set','_isEditable','document','125202lPyxmu','selection','model','unbind','1426520gqzVjh','1732baHHXI','isActive','imageBlock','5114DvYUMF','4006620ZfaWSZ','1086090rUJlTn'];_0x1c9b=function(){return _0x3b6041;};return _0x1c9b();}export default class V extends _0x2c3789{static get[_0x5c5a4e(0x10f)](){return[_0x2435ca];}constructor(_0x3c6c8b){const _0x1ac2a5=_0x5c5a4e;super(_0x3c6c8b),this[_0x1ac2a5(0x10c)]=void 0x0,this[_0x1ac2a5(0x114)]=_0x52d4cb(_0x3c6c8b[_0x1ac2a5(0x10d)][_0x1ac2a5(0x10a)](_0x1ac2a5(0x112))||[]),this[_0x1ac2a5(0x113)]({'isActive':!0x1});}[_0x5c5a4e(0x109)](){const _0x482633=_0x5c5a4e,_0x9fbcf4=this[_0x482633(0x103)][_0x482633(0x118)][_0x482633(0x115)][_0x482633(0x117)][_0x482633(0x105)]();this[_0x482633(0x111)]=this[_0x482633(0x114)](_0x9fbcf4);}[_0x5c5a4e(0x10e)](){const _0x2445c0=_0x5c5a4e;this[_0x2445c0(0x10c)]&&(this[_0x2445c0(0x119)](_0x2445c0(0xfd)),this[_0x2445c0(0x10c)]=void 0x0);const _0x2f3a9f=this[_0x2445c0(0x103)][_0x2445c0(0x118)][_0x2445c0(0x115)][_0x2445c0(0x117)][_0x2445c0(0x105)]();_0x2f3a9f&&(_0x2f3a9f['is'](_0x2445c0(0x10b),_0x2445c0(0xfe))||_0x2f3a9f['is'](_0x2445c0(0x10b),_0x2445c0(0x110)))&&(this[_0x2445c0(0x10c)]=new _0x22ec6b(this[_0x2445c0(0x103)],this[_0x2445c0(0x103)][_0x2445c0(0x102)][_0x2445c0(0x10a)](_0x2435ca),_0x2f3a9f),this[_0x2445c0(0x108)](_0x2445c0(0xfd))['to'](this[_0x2445c0(0x10c)],_0x2445c0(0xfd)));}}
23
+ function _0x5e9b(){const _0x7f2f63=['imageInline','imageBlock','isEnabled','execute','bind','editor','148336wTKnyZ','getSelectedElement','392232jvJLBT','imageEditController','get','121212NKdUIm','1205244fOpaHe','requires','set','uploadcare.allowExternalImagesEditing','refresh','unbind','config','document','isActive','103280nMWmIt','8024yqcJPI','element','199209KrDzEG','plugins','_isEditable','14UkNZkC','selection','28RFLwXE','model'];_0x5e9b=function(){return _0x7f2f63;};return _0x5e9b();}const _0x533514=_0x1f5e;(function(_0x23fc8b,_0x2305ed){const _0xb009b8=_0x1f5e,_0x1d56de=_0x23fc8b();while(!![]){try{const _0x20a98c=-parseInt(_0xb009b8(0x13a))/0x1*(-parseInt(_0xb009b8(0x133))/0x2)+parseInt(_0xb009b8(0x135))/0x3+parseInt(_0xb009b8(0x142))/0x4+-parseInt(_0xb009b8(0x132))/0x5+-parseInt(_0xb009b8(0x129))/0x6+-parseInt(_0xb009b8(0x138))/0x7*(-parseInt(_0xb009b8(0x144))/0x8)+parseInt(_0xb009b8(0x147))/0x9;if(_0x20a98c===_0x2305ed)break;else _0x1d56de['push'](_0x1d56de['shift']());}catch(_0x3b8da0){_0x1d56de['push'](_0x1d56de['shift']());}}}(_0x5e9b,0x19d5b));function _0x1f5e(_0x24e1e3,_0x494c56){const _0x5e9b71=_0x5e9b();return _0x1f5e=function(_0x1f5e46,_0x7ce4eb){_0x1f5e46=_0x1f5e46-0x129;let _0x446f4f=_0x5e9b71[_0x1f5e46];return _0x446f4f;},_0x1f5e(_0x24e1e3,_0x494c56);}import{Command as _0x51753a}from'ckeditor5/src/core.js';import{Dialog as _0x450637}from'ckeditor5/src/ui.js';import _0x3150d6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xc71860}from'../utils/editingutils.js';export default class J extends _0x51753a{[_0x533514(0x145)];static get[_0x533514(0x12a)](){return[_0x450637];}[_0x533514(0x137)];constructor(_0x33cc09){const _0x5890f6=_0x533514;super(_0x33cc09),this[_0x5890f6(0x145)]=void 0x0,this[_0x5890f6(0x137)]=_0xc71860(_0x33cc09[_0x5890f6(0x12f)][_0x5890f6(0x146)](_0x5890f6(0x12c))||[]),this[_0x5890f6(0x12b)]({'isActive':!0x1});}[_0x533514(0x12d)](){const _0x34cbf4=_0x533514,_0x28775c=this[_0x34cbf4(0x141)][_0x34cbf4(0x13b)][_0x34cbf4(0x130)][_0x34cbf4(0x139)][_0x34cbf4(0x143)]();this[_0x34cbf4(0x13e)]=this[_0x34cbf4(0x137)](_0x28775c);}[_0x533514(0x13f)](){const _0x1dc4b5=_0x533514;this[_0x1dc4b5(0x145)]&&(this[_0x1dc4b5(0x12e)](_0x1dc4b5(0x131)),this[_0x1dc4b5(0x145)]=void 0x0);const _0x528597=this[_0x1dc4b5(0x141)][_0x1dc4b5(0x13b)][_0x1dc4b5(0x130)][_0x1dc4b5(0x139)][_0x1dc4b5(0x143)]();_0x528597&&(_0x528597['is'](_0x1dc4b5(0x134),_0x1dc4b5(0x13d))||_0x528597['is'](_0x1dc4b5(0x134),_0x1dc4b5(0x13c)))&&(this[_0x1dc4b5(0x145)]=new _0x3150d6(this[_0x1dc4b5(0x141)],this[_0x1dc4b5(0x141)][_0x1dc4b5(0x136)][_0x1dc4b5(0x146)](_0x450637),_0x528597),this[_0x1dc4b5(0x140)](_0x1dc4b5(0x131))['to'](this[_0x1dc4b5(0x145)],_0x1dc4b5(0x131)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa1c200=_0x29ca;(function(_0x2aafb1,_0x25ff4b){const _0x5d3d2b=_0x29ca,_0x5d8003=_0x2aafb1();while(!![]){try{const _0x20e59a=-parseInt(_0x5d3d2b(0xc1))/0x1*(-parseInt(_0x5d3d2b(0xcd))/0x2)+-parseInt(_0x5d3d2b(0xcc))/0x3*(parseInt(_0x5d3d2b(0xc6))/0x4)+parseInt(_0x5d3d2b(0xbd))/0x5*(-parseInt(_0x5d3d2b(0xc4))/0x6)+parseInt(_0x5d3d2b(0xcb))/0x7*(parseInt(_0x5d3d2b(0xd1))/0x8)+parseInt(_0x5d3d2b(0xc0))/0x9+parseInt(_0x5d3d2b(0xd4))/0xa+-parseInt(_0x5d3d2b(0xd2))/0xb*(-parseInt(_0x5d3d2b(0xd0))/0xc);if(_0x20e59a===_0x25ff4b)break;else _0x5d8003['push'](_0x5d8003['shift']());}catch(_0x1a3a29){_0x5d8003['push'](_0x5d8003['shift']());}}}(_0x4e44,0xc73ff));function _0x4e44(){const _0x5e0b82=['uploadcareImageReplace','pluginName','2321862USvFwb','isPremiumPlugin','3380merGWv','requires','uploadcareImageEdit','ImageUtils','UploadcareImageEditEditing','47803dnemTq','471QiEFQi','1668030wuJeOz','isOfficialPlugin','ImageEditing','36WsfyMx','872NOWvhW','1418912DRagUG','commands','3072230YummHn','20tIrrpp','add','init','2017125nnyRie','1ppUEkp'];_0x4e44=function(){return _0x5e0b82;};return _0x4e44();}import{Plugin as _0x4eff71}from'ckeditor5/src/core.js';function _0x29ca(_0x1e4350,_0x51b48d){const _0x4e448b=_0x4e44();return _0x29ca=function(_0x29ca8e,_0x9e357b){_0x29ca8e=_0x29ca8e-0xbd;let _0x1e0ead=_0x4e448b[_0x29ca8e];return _0x1e0ead;},_0x29ca(_0x1e4350,_0x51b48d);}import{Notification as _0x2f3465}from'ckeditor5/src/ui.js';import _0x56b277 from'./uploadcareimageeditcommand.js';import _0x3abda3 from'./uploadcareimagereplacecommand.js';import _0xf816b4 from'../uploadcareediting.js';export default class m extends _0x4eff71{static get[_0xa1c200(0xc3)](){const _0xc72f70=_0xa1c200;return _0xc72f70(0xca);}static get[_0xa1c200(0xc7)](){const _0x12905c=_0xa1c200;return[_0xf816b4,_0x2f3465,_0x12905c(0xc9),_0x12905c(0xcf)];}static get[_0xa1c200(0xce)](){return!0x0;}static get[_0xa1c200(0xc5)](){return!0x0;}[_0xa1c200(0xbf)](){const _0x28ab00=_0xa1c200,{editor:_0x329df9}=this;_0x329df9[_0x28ab00(0xd3)][_0x28ab00(0xbe)](_0x28ab00(0xc8),new _0x56b277(_0x329df9)),_0x329df9[_0x28ab00(0xd3)][_0x28ab00(0xbe)](_0x28ab00(0xc2),new _0x3abda3(_0x329df9));}}
23
+ function _0x46b5(){const _0x3b0450=['isPremiumPlugin','ImageUtils','36KePAHp','init','49fGzqor','16wGUJzz','7668FAgQVj','2217885kOrrGz','1982037vDQsya','pluginName','2857YiyUNO','UploadcareImageEditEditing','uploadcareImageReplace','1571733nQKmCq','2355448DTmwFN','add','3051520FZoBhK','requires','ImageEditing','commands','uploadcareImageEdit','isOfficialPlugin'];_0x46b5=function(){return _0x3b0450;};return _0x46b5();}const _0x9a3e98=_0x18e4;(function(_0xe80caa,_0x515ec6){const _0x3a4ef2=_0x18e4,_0x11bb77=_0xe80caa();while(!![]){try{const _0x301add=parseInt(_0x3a4ef2(0x184))/0x1*(-parseInt(_0x3a4ef2(0x17c))/0x2)+-parseInt(_0x3a4ef2(0x182))/0x3+parseInt(_0x3a4ef2(0x172))/0x4+parseInt(_0x3a4ef2(0x181))/0x5+parseInt(_0x3a4ef2(0x180))/0x6*(-parseInt(_0x3a4ef2(0x17e))/0x7)+parseInt(_0x3a4ef2(0x17f))/0x8*(parseInt(_0x3a4ef2(0x171))/0x9)+-parseInt(_0x3a4ef2(0x174))/0xa;if(_0x301add===_0x515ec6)break;else _0x11bb77['push'](_0x11bb77['shift']());}catch(_0x1d1552){_0x11bb77['push'](_0x11bb77['shift']());}}}(_0x46b5,0x56cb6));import{Plugin as _0x2126a5}from'ckeditor5/src/core.js';import{Notification as _0x142698}from'ckeditor5/src/ui.js';import _0x4c2986 from'./uploadcareimageeditcommand.js';function _0x18e4(_0x2e3ed0,_0x48dc38){const _0x46b52f=_0x46b5();return _0x18e4=function(_0x18e458,_0x5b2c04){_0x18e458=_0x18e458-0x170;let _0x1c8e3b=_0x46b52f[_0x18e458];return _0x1c8e3b;},_0x18e4(_0x2e3ed0,_0x48dc38);}import _0x5c3666 from'./uploadcareimagereplacecommand.js';import _0x9d7e8c from'../uploadcareediting.js';export default class g extends _0x2126a5{static get[_0x9a3e98(0x183)](){const _0x1f0eb2=_0x9a3e98;return _0x1f0eb2(0x185);}static get[_0x9a3e98(0x175)](){const _0x5e4767=_0x9a3e98;return[_0x9d7e8c,_0x142698,_0x5e4767(0x17b),_0x5e4767(0x176)];}static get[_0x9a3e98(0x179)](){return!0x0;}static get[_0x9a3e98(0x17a)](){return!0x0;}[_0x9a3e98(0x17d)](){const _0x4b8337=_0x9a3e98,{editor:_0x1c05f3}=this;_0x1c05f3[_0x4b8337(0x177)][_0x4b8337(0x173)](_0x4b8337(0x178),new _0x4c2986(_0x1c05f3)),_0x1c05f3[_0x4b8337(0x177)][_0x4b8337(0x173)](_0x4b8337(0x170),new _0x5c3666(_0x1c05f3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x583f0c}from'ckeditor5/src/core.js';import{ButtonView as _0xe151f4}from'ckeditor5/src/ui.js';import{createElement as _0x57e4af}from'ckeditor5/src/utils.js';import _0x3a65e8 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x583f0c{constructor(){super(...arguments),this['_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 _0x49d9a5=this['editor'];_0x49d9a5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x38a09f=>{const _0x510b26=_0x49d9a5['commands']['get']('uploadcareImageEdit'),_0x258a1d=new _0xe151f4(_0x38a09f),t=_0x38a09f['t'];return _0x258a1d['set']({'icon':_0x3a65e8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x258a1d['bind']('isEnabled')['to'](_0x510b26),_0x258a1d['bind']('isOn')['to'](_0x510b26,'isActive'),this['listenTo'](_0x258a1d,'execute',()=>{_0x49d9a5['execute']('uploadcareImageEdit'),_0x49d9a5['editing']['view']['focus']();}),_0x258a1d;}),this['_initConfig']();}['_initConfig'](){const _0x9c6a13=_0x57e4af(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9c6a13),this['listenTo'](this['editor'],'destroy',()=>{_0x9c6a13['remove']();});}}
23
+ import{Plugin as _0x4a353c}from'ckeditor5/src/core.js';import{ButtonView as _0x27636b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28cd37}from'ckeditor5/src/icons.js';import{createElement as _0x5a1e1a}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 _0x4a353c{['_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 _0x28b9bf=this['editor'];_0x28b9bf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x451a5=>{const _0x3dc5a5=_0x28b9bf['commands']['get']('uploadcareImageEdit'),_0x2b0499=new _0x27636b(_0x451a5),t=_0x451a5['t'];return _0x2b0499['set']({'icon':_0x28cd37,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2b0499['bind']('isEnabled')['to'](_0x3dc5a5),_0x2b0499['bind']('isOn')['to'](_0x3dc5a5,'isActive'),this['listenTo'](_0x2b0499,'execute',()=>{_0x28b9bf['execute']('uploadcareImageEdit'),_0x28b9bf['editing']['view']['focus']();}),_0x2b0499;}),this['_initConfig']();}['_initConfig'](){const _0x552f49=_0x5a1e1a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x552f49),this['listenTo'](this['editor'],'destroy',()=>{_0x552f49['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e1916=_0x4447;(function(_0x26d0de,_0x5820da){const _0x430d96=_0x4447,_0x2389d6=_0x26d0de();while(!![]){try{const _0x469e13=parseInt(_0x430d96(0x1ac))/0x1*(-parseInt(_0x430d96(0x1a3))/0x2)+-parseInt(_0x430d96(0x19a))/0x3*(-parseInt(_0x430d96(0x1a6))/0x4)+-parseInt(_0x430d96(0x1a7))/0x5*(parseInt(_0x430d96(0x1aa))/0x6)+parseInt(_0x430d96(0x1b2))/0x7*(-parseInt(_0x430d96(0x19d))/0x8)+-parseInt(_0x430d96(0x199))/0x9+parseInt(_0x430d96(0x19c))/0xa+parseInt(_0x430d96(0x19b))/0xb*(parseInt(_0x430d96(0x19f))/0xc);if(_0x469e13===_0x5820da)break;else _0x2389d6['push'](_0x2389d6['shift']());}catch(_0x19792d){_0x2389d6['push'](_0x2389d6['shift']());}}}(_0x53ad,0x9a8eb));function _0x53ad(){const _0x35ef51=['156mQWTwx','document','408937VzEMrD','getSelectedElement','refresh','change','editor','setAttributes','1358PoZiMS','execute','imageBlock','7555410drUfAE','4881lLvZjq','165mLSbFl','3789390WTBiwE','19504gYoBRf','element','1514076rjvTOy','srcset','removeAttribute','sizes','4iOWITn','imageInline','isEnabled','1900EwFqhG','54030ztnKIV','selection','model'];_0x53ad=function(){return _0x35ef51;};return _0x53ad();}function _0x4447(_0x5b9347,_0x4322be){const _0x53adfb=_0x53ad();return _0x4447=function(_0x4447e3,_0x1d99c9){_0x4447e3=_0x4447e3-0x197;let _0x566670=_0x53adfb[_0x4447e3];return _0x566670;},_0x4447(_0x5b9347,_0x4322be);}import{Command as _0x2d17cf}from'ckeditor5/src/core.js';export default class X extends _0x2d17cf{[_0x2e1916(0x1ae)](){const _0x2561cc=_0x2e1916,_0x50c4d8=this[_0x2561cc(0x1b0)][_0x2561cc(0x1a9)][_0x2561cc(0x1ab)][_0x2561cc(0x1a8)][_0x2561cc(0x1ad)]();this[_0x2561cc(0x1a5)]=Boolean(_0x50c4d8&&(_0x50c4d8['is'](_0x2561cc(0x19e),_0x2561cc(0x198))||_0x50c4d8['is'](_0x2561cc(0x19e),_0x2561cc(0x1a4))));}[_0x2e1916(0x197)](_0x182f57){const _0x3d7170=_0x2e1916,_0x45c9d1=this[_0x3d7170(0x1b0)][_0x3d7170(0x1a9)][_0x3d7170(0x1ab)][_0x3d7170(0x1a8)][_0x3d7170(0x1ad)]();this[_0x3d7170(0x1b0)][_0x3d7170(0x1a9)][_0x3d7170(0x1af)](_0x61b1=>{const _0x25a55b=_0x3d7170;_0x61b1[_0x25a55b(0x1b1)](_0x182f57,_0x45c9d1),_0x61b1[_0x25a55b(0x1a1)](_0x25a55b(0x1a0),_0x45c9d1),_0x61b1[_0x25a55b(0x1a1)](_0x25a55b(0x1a2),_0x45c9d1);});}}
23
+ const _0x46012c=_0x3ec7;function _0x3ec7(_0x514509,_0xda6142){const _0x21872d=_0x2187();return _0x3ec7=function(_0x3ec7f0,_0x225df2){_0x3ec7f0=_0x3ec7f0-0xfd;let _0x3ebbff=_0x21872d[_0x3ec7f0];return _0x3ebbff;},_0x3ec7(_0x514509,_0xda6142);}function _0x2187(){const _0x6e7d61=['document','1789344YUVQjW','change','15RihJNE','getSelectedElement','2538288uhoLye','68WtBnrF','removeAttribute','execute','sizes','imageBlock','4999910xlmbjB','refresh','imageInline','1xupYEr','isEnabled','597738ZHDRxv','setAttributes','model','element','42405rzJhOq','2642276AvSETN','srcset','877422XwFknh','selection','editor'];_0x2187=function(){return _0x6e7d61;};return _0x2187();}(function(_0x97481a,_0x1a3439){const _0x31859d=_0x3ec7,_0x3a6f2a=_0x97481a();while(!![]){try{const _0x4e70a6=-parseInt(_0x31859d(0x115))/0x1*(parseInt(_0x31859d(0x104))/0x2)+parseInt(_0x31859d(0x101))/0x3*(-parseInt(_0x31859d(0x10d))/0x4)+-parseInt(_0x31859d(0x10a))/0x5*(-parseInt(_0x31859d(0xfd))/0x6)+-parseInt(_0x31859d(0x102))/0x7+parseInt(_0x31859d(0x108))/0x8+parseInt(_0x31859d(0x10c))/0x9+parseInt(_0x31859d(0x112))/0xa;if(_0x4e70a6===_0x1a3439)break;else _0x3a6f2a['push'](_0x3a6f2a['shift']());}catch(_0x54f616){_0x3a6f2a['push'](_0x3a6f2a['shift']());}}}(_0x2187,0x3c916));import{Command as _0x10cd81}from'ckeditor5/src/core.js';export default class O extends _0x10cd81{[_0x46012c(0x113)](){const _0x14d936=_0x46012c,_0x5e35ac=this[_0x14d936(0x106)][_0x14d936(0xff)][_0x14d936(0x107)][_0x14d936(0x105)][_0x14d936(0x10b)]();this[_0x14d936(0x116)]=Boolean(_0x5e35ac&&(_0x5e35ac['is'](_0x14d936(0x100),_0x14d936(0x111))||_0x5e35ac['is'](_0x14d936(0x100),_0x14d936(0x114))));}[_0x46012c(0x10f)](_0x1987eb){const _0x22c595=_0x46012c,_0x3f3cb5=this[_0x22c595(0x106)][_0x22c595(0xff)][_0x22c595(0x107)][_0x22c595(0x105)][_0x22c595(0x10b)]();this[_0x22c595(0x106)][_0x22c595(0xff)][_0x22c595(0x109)](_0x30316b=>{const _0x953ee1=_0x22c595;_0x30316b[_0x953ee1(0xfe)](_0x1987eb,_0x3f3cb5),_0x30316b[_0x953ee1(0x10e)](_0x953ee1(0x103),_0x3f3cb5),_0x30316b[_0x953ee1(0x10e)](_0x953ee1(0x110),_0x3f3cb5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f5e81=_0x37c9;(function(_0x1b4724,_0x34be1a){var _0x177935=_0x37c9,_0xa75cdc=_0x1b4724();while(!![]){try{var _0x13213c=-parseInt(_0x177935(0x10c))/0x1+-parseInt(_0x177935(0x110))/0x2*(-parseInt(_0x177935(0x114))/0x3)+parseInt(_0x177935(0x113))/0x4*(-parseInt(_0x177935(0x108))/0x5)+parseInt(_0x177935(0x10f))/0x6+-parseInt(_0x177935(0x111))/0x7+parseInt(_0x177935(0x115))/0x8+-parseInt(_0x177935(0x109))/0x9;if(_0x13213c===_0x34be1a)break;else _0xa75cdc['push'](_0xa75cdc['shift']());}catch(_0x47133d){_0xa75cdc['push'](_0xa75cdc['shift']());}}}(_0x1a0d,0xc91ba));import{Plugin as _0x32a372}from'ckeditor5/src/core.js';import _0x4bd176 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x37c9(_0x227b3e,_0x37231b){var _0x1a0d2e=_0x1a0d();return _0x37c9=function(_0x37c9e4,_0x2faf01){_0x37c9e4=_0x37c9e4-0x108;var _0x351fe8=_0x1a0d2e[_0x37c9e4];return _0x351fe8;},_0x37c9(_0x227b3e,_0x37231b);}import _0x4e6f50 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x32a372{static get[_0x3f5e81(0x10d)](){var _0x1acdcc=_0x3f5e81;return _0x1acdcc(0x10a);}static get[_0x3f5e81(0x10e)](){return[_0x4bd176,_0x4e6f50];}static get[_0x3f5e81(0x10b)](){return!0x0;}static get[_0x3f5e81(0x112)](){return!0x0;}}function _0x1a0d(){var _0x87ccd2=['UploadcareImageEdit','isOfficialPlugin','1003203lVNDtM','pluginName','requires','9585420RexURq','74ClmELu','5383525QOkyRY','isPremiumPlugin','121480YXXcGE','31887tZrHfG','9638400qmsIGw','25uPYiWi','4029993UqMXdr'];_0x1a0d=function(){return _0x87ccd2;};return _0x1a0d();}
23
+ var _0x30367e=_0xbe37;(function(_0x3459ac,_0xc4a4c6){var _0x44d113=_0xbe37,_0x1f7dad=_0x3459ac();while(!![]){try{var _0x596308=parseInt(_0x44d113(0x14a))/0x1*(parseInt(_0x44d113(0x144))/0x2)+parseInt(_0x44d113(0x143))/0x3*(parseInt(_0x44d113(0x14b))/0x4)+-parseInt(_0x44d113(0x14d))/0x5*(-parseInt(_0x44d113(0x151))/0x6)+-parseInt(_0x44d113(0x14e))/0x7*(-parseInt(_0x44d113(0x148))/0x8)+parseInt(_0x44d113(0x14f))/0x9+parseInt(_0x44d113(0x147))/0xa*(-parseInt(_0x44d113(0x145))/0xb)+-parseInt(_0x44d113(0x153))/0xc*(parseInt(_0x44d113(0x146))/0xd);if(_0x596308===_0xc4a4c6)break;else _0x1f7dad['push'](_0x1f7dad['shift']());}catch(_0xcc6a0e){_0x1f7dad['push'](_0x1f7dad['shift']());}}}(_0x342f,0xbae2c));import{Plugin as _0x3e58eb}from'ckeditor5/src/core.js';function _0x342f(){var _0xd06125=['931812MRdPnj','4031766RBgDkn','requires','6675402jZBgae','pluginName','24gHXDnP','isOfficialPlugin','649095KZBZpI','423112DUkdOY','11NPGGYl','9352837zXYGNV','12153860XJaexq','8EMebPj','UploadcareImageEdit','1mvnYDz','28CyUDrz','isPremiumPlugin','5qFLUlg'];_0x342f=function(){return _0xd06125;};return _0x342f();}import _0x2eae3b from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xbe37(_0x2424e2,_0x534f3d){var _0x342fc7=_0x342f();return _0xbe37=function(_0xbe37a0,_0x882231){_0xbe37a0=_0xbe37a0-0x142;var _0x4cd5d4=_0x342fc7[_0xbe37a0];return _0x4cd5d4;},_0xbe37(_0x2424e2,_0x534f3d);}import _0x5d235f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x3e58eb{static get[_0x30367e(0x152)](){var _0x944b28=_0x30367e;return _0x944b28(0x149);}static get[_0x30367e(0x150)](){return[_0x2eae3b,_0x5d235f];}static get[_0x30367e(0x142)](){return!0x0;}static get[_0x30367e(0x14c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42054f=_0x54e0;(function(_0x184356,_0x515bed){const _0x2acb86=_0x54e0,_0x2ea83e=_0x184356();while(!![]){try{const _0x1049c0=-parseInt(_0x2acb86(0x1f6))/0x1+-parseInt(_0x2acb86(0x1d6))/0x2+parseInt(_0x2acb86(0x1c3))/0x3*(-parseInt(_0x2acb86(0x1e7))/0x4)+-parseInt(_0x2acb86(0x1b9))/0x5*(parseInt(_0x2acb86(0x1ac))/0x6)+-parseInt(_0x2acb86(0x1c5))/0x7+parseInt(_0x2acb86(0x1b6))/0x8*(parseInt(_0x2acb86(0x1de))/0x9)+parseInt(_0x2acb86(0x1e1))/0xa*(parseInt(_0x2acb86(0x1c9))/0xb);if(_0x1049c0===_0x515bed)break;else _0x2ea83e['push'](_0x2ea83e['shift']());}catch(_0x2db3ed){_0x2ea83e['push'](_0x2ea83e['shift']());}}}(_0x1052,0xad120));import{Plugin as _0x41274a,icons as _0x4f0690}from'ckeditor5/src/core.js';function _0x1052(){const _0x3f278b=['init','Replace','uploadcareLicenseKeyUsageLimit','Insert','withText','134580JvQkTH','usageLimit','isPremiumPlugin','assetManager','domainLimit','invalid','_createMenuBarButtons','reduce','featureNotAllowed','Local','tooltip','_createToolbarButton','_createDropdownButtons','GDrive','isImageSelected','953130ItdkeB','_licenseKeyCheckInterval','type','pluginName','label','Uploadcare','push','imageUpload','destroy','2767374uLykGo','has','expired','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcare.uploader.sourceList','afterInit','get','337760QIGxXK','_createButton','Facebook','5kEnDwr','plugins','isEnabled','execute','uploadcare','_getIntegrationKey','commands','locale','_normalizeConfigSourceList','entries','99WBKOfn','URL','1492106fkcCeD','ImageInsertUI','icon','upload','33ZqhKJj','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','bind','uploadcareLicenseKeyInvalid','_showLicenseError','config','text','OneDrive','editor','shortText','GPhotos','isOfficialPlugin','1877680eejpgA','url','licenseKey','uploadcareLicenseKeyTrialLimit','evaluationLimit','registerIntegration','map','trialLimit','27ydMnKt','Dropbox','forEach','14196260yCiRjp'];_0x1052=function(){return _0x3f278b;};return _0x1052();}import{ButtonView as _0x513fec,MenuBarMenuListItemButtonView as _0x41b4dd}from'ckeditor5/src/ui.js';import _0x4cb36e from'../theme/icons/dropbox.svg';import _0x188ef3 from'../theme/icons/facebook.svg';import _0x642a1a from'../theme/icons/google-drive.svg';import _0x161377 from'../theme/icons/google-photos.svg';import _0x2b7559 from'../theme/icons/link.svg';import _0x559913 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x207a7a}from'./uploadcareconfig.js';import{getTranslation as _0x41f75e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x54e0(_0x1a47e5,_0x2273b7){const _0x105261=_0x1052();return _0x54e0=function(_0x54e06b,_0x4c7304){_0x54e06b=_0x54e06b-0x1ac;let _0x14285e=_0x105261[_0x54e06b];return _0x14285e;},_0x54e0(_0x1a47e5,_0x2273b7);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x41274a{static get[_0x42054f(0x1f9)](){const _0x1d9cb9=_0x42054f;return _0x1d9cb9(0x1b2);}static get[_0x42054f(0x1d5)](){return!0x0;}static get[_0x42054f(0x1e9)](){return!0x0;}[_0x42054f(0x1e2)](){const _0x335c32=_0x42054f;this[_0x335c32(0x1d8)]=this[_0x335c32(0x1d2)][_0x335c32(0x1cf)][_0x335c32(0x1b5)](_0x335c32(0x1d8));const _0x4f7fdc=this[_0x335c32(0x1d2)];this[_0x335c32(0x1f7)]=setInterval(()=>{const _0x2cba61=_0x335c32;let _0x23df0e;for(const _0x11de62 in _0x4f7fdc){const _0x4a31dc=_0x11de62,_0x4cb627=_0x4f7fdc[_0x4a31dc];if(_0x2cba61(0x1b0)==_0x4cb627||_0x2cba61(0x1cd)==_0x4cb627||_0x2cba61(0x1af)==_0x4cb627||_0x2cba61(0x1b1)==_0x4cb627||_0x2cba61(0x1cb)==_0x4cb627||_0x2cba61(0x1ca)==_0x4cb627||_0x2cba61(0x1d9)==_0x4cb627||_0x2cba61(0x1e4)==_0x4cb627){delete _0x4f7fdc[_0x4a31dc],_0x23df0e=_0x4cb627,clearInterval(this[_0x2cba61(0x1f7)]),this[_0x2cba61(0x1f7)]=void 0x0;break;}}_0x2cba61(0x1cd)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ec)),_0x2cba61(0x1af)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ae)),_0x2cba61(0x1b1)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1eb)),_0x2cba61(0x1cb)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ef),_0x2cba61(0x1fb)),_0x2cba61(0x1ca)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1da)),_0x2cba61(0x1d9)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1dd)),_0x2cba61(0x1e4)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1e8));},0x3e8);}[_0x42054f(0x1b4)](){const _0x45c1bc=_0x42054f,{editor:_0xf0ef03}=this,_0x36f2d7=_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd));if(!_0x36f2d7)return;const _0x2bf670=this[_0x45c1bc(0x1c1)](_0xf0ef03[_0x45c1bc(0x1cf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1b3)))[_0x45c1bc(0x1ee)]((_0x426396,_0x535012)=>{const _0x4ab686=_0x45c1bc,_0x205b11=this[_0x4ab686(0x1be)](_0x535012[_0x4ab686(0x1f8)]);return _0x426396[_0x205b11]||(_0x426396[_0x205b11]=[]),_0x426396[_0x205b11][_0x4ab686(0x1fc)](_0x535012),_0x426396;},{});_0xf0ef03[_0x45c1bc(0x1ba)][_0x45c1bc(0x1ad)](_0x45c1bc(0x1c6))&&_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd))&&Object[_0x45c1bc(0x1c2)](_0x2bf670)[_0x45c1bc(0x1e0)](([_0x8c8f91,_0x456dfe])=>{const _0x46bd7d=_0x45c1bc;_0xf0ef03[_0x46bd7d(0x1ba)][_0x46bd7d(0x1b5)](_0x46bd7d(0x1c6))[_0x46bd7d(0x1db)]({'name':_0x8c8f91,'observable':()=>_0x36f2d7,'buttonViewCreator':()=>this[_0x46bd7d(0x1f2)](_0x456dfe),'formViewCreator':()=>this[_0x46bd7d(0x1f3)](_0x456dfe),'menuBarButtonViewCreator':()=>this[_0x46bd7d(0x1ed)](_0x456dfe),'override':_0x46bd7d(0x1ea)!==_0x8c8f91});});}[_0x42054f(0x1fe)](){const _0x1b5b97=_0x42054f;super[_0x1b5b97(0x1fe)](),this[_0x1b5b97(0x1f7)]&&clearInterval(this[_0x1b5b97(0x1f7)]);}[_0x42054f(0x1c1)](_0x33f197){const _0xa3a16a=_0x42054f,{locale:_0x70a88d}=this[_0xa3a16a(0x1d2)];return _0x33f197[_0xa3a16a(0x1dc)](_0x66b19f=>{const _0x5edb4c=_0xa3a16a,_0x36e191=_0x41f75e(_0x70a88d,_0x66b19f,_0x5edb4c(0x1e5));switch(_0x66b19f){case _0x207a7a[_0x5edb4c(0x1f0)]:return{'icon':_0x4f0690[_0x5edb4c(0x1fd)],'type':_0x207a7a[_0x5edb4c(0x1f0)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1c4)]:return{'icon':_0x2b7559,'type':_0x207a7a[_0x5edb4c(0x1c4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1df)]:return{'icon':_0x4cb36e,'type':_0x207a7a[_0x5edb4c(0x1df)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1b8)]:return{'icon':_0x188ef3,'type':_0x207a7a[_0x5edb4c(0x1b8)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1f4)]:return{'icon':_0x642a1a,'type':_0x207a7a[_0x5edb4c(0x1f4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d4)]:return{'icon':_0x161377,'type':_0x207a7a[_0x5edb4c(0x1d4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d1)]:return{'icon':_0x559913,'type':_0x207a7a[_0x5edb4c(0x1d1)],..._0x36e191};}});}[_0x42054f(0x1be)](_0x18fa05){const _0x10e1a9=_0x42054f;switch(_0x18fa05){case _0x207a7a[_0x10e1a9(0x1f0)]:return _0x10e1a9(0x1c8);case _0x207a7a[_0x10e1a9(0x1c4)]:return _0x10e1a9(0x1d7);default:return _0x10e1a9(0x1ea);}}[_0x42054f(0x1b7)](_0x3eed0a,_0x2035a4){const _0x50d989=_0x42054f,_0xc42ffb=this[_0x50d989(0x1d2)],_0x3f44f6=new _0x3eed0a(_0xc42ffb[_0x50d989(0x1c0)]),_0x7cf4ed=_0xc42ffb[_0x50d989(0x1bf)][_0x50d989(0x1b5)](_0x50d989(0x1bd));return _0x3f44f6[_0x50d989(0x1cc)](_0x50d989(0x1bb))['to'](_0x7cf4ed),_0x3f44f6['on'](_0x50d989(0x1bc),()=>{const _0x4ea8aa=_0x50d989;_0x7cf4ed[_0x4ea8aa(0x1bc)](_0x2035a4);}),_0x3f44f6;}[_0x42054f(0x1f2)](_0x41841c){const _0x574156=_0x42054f,{locale:_0x3c736c}=this[_0x574156(0x1d2)],_0x3fe9e2=this[_0x574156(0x1d2)][_0x574156(0x1ba)][_0x574156(0x1b5)](_0x574156(0x1c6)),_0x46b754=_0x41841c[0x0],_0x311563=this[_0x574156(0x1b7)](_0x513fec,_0x46b754[_0x574156(0x1f8)]);return _0x311563[_0x574156(0x1c7)]=_0x46b754[_0x574156(0x1c7)],_0x311563[_0x574156(0x1cc)](_0x574156(0x1fa))['to'](_0x3fe9e2,_0x574156(0x1f5),_0x2fc7ff=>_0x41f75e(_0x3c736c,_0x46b754[_0x574156(0x1f8)],_0x2fc7ff?_0x574156(0x1e3):_0x574156(0x1e5))[_0x574156(0x1d0)]),_0x311563[_0x574156(0x1f1)]=!0x0,_0x311563;}[_0x42054f(0x1f3)](_0x11bb65){const _0x3e6dce=_0x42054f,{locale:_0x567b99}=this[_0x3e6dce(0x1d2)],_0x57fa8a=this[_0x3e6dce(0x1d2)][_0x3e6dce(0x1ba)][_0x3e6dce(0x1b5)](_0x3e6dce(0x1c6));return _0x11bb65[_0x3e6dce(0x1dc)](_0x41e0e9=>{const _0x2178be=_0x3e6dce,_0x2bd139=this[_0x2178be(0x1b7)](_0x513fec,_0x41e0e9[_0x2178be(0x1f8)]);return _0x2bd139[_0x2178be(0x1e6)]=!0x0,_0x2bd139[_0x2178be(0x1c7)]=_0x41e0e9[_0x2178be(0x1c7)],_0x2bd139[_0x2178be(0x1cc)](_0x2178be(0x1fa))['to'](_0x57fa8a,_0x2178be(0x1f5),_0x31f6a9=>_0x41f75e(_0x567b99,_0x41e0e9[_0x2178be(0x1f8)],_0x31f6a9?_0x2178be(0x1e3):_0x2178be(0x1e5))[_0x2178be(0x1d0)]),_0x2bd139;});}[_0x42054f(0x1ed)](_0x580e20){const _0x23c325=_0x42054f;return _0x580e20[_0x23c325(0x1dc)](_0x24fd3a=>{const _0x553250=_0x23c325,_0x2ab8c4=this[_0x553250(0x1b7)](_0x41b4dd,_0x24fd3a[_0x553250(0x1f8)]);return _0x2ab8c4[_0x553250(0x1c7)]=_0x24fd3a[_0x553250(0x1c7)],_0x2ab8c4[_0x553250(0x1fa)]=_0x24fd3a[_0x553250(0x1d3)],_0x2ab8c4;});}}
23
+ function _0x127f(){const _0x393959=['UploadcareUI','forEach','assetManager','Dropbox','pluginName','withText','Replace','10UmgGEc','url','registerIntegration','3ScjlHD','label','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','6954272DtYfud','text','entries','2482754INVsRQ','isPremiumPlugin','trialLimit','get','_createButton','isOfficialPlugin','config','3327784xYDlPT','type','isImageSelected','_createDropdownButtons','licenseKey','_createMenuBarButtons','OneDrive','reduce','uploadcareLicenseKeyDomainLimit','execute','5skUtfR','init','Facebook','expired','ImageInsertUI','11839646UatXBr','editor','plugins','push','usageLimit','uploadcareLicenseKeyTrialLimit','_licenseKeyCheckInterval','evaluationLimit','_normalizeConfigSourceList','Uploadcare','destroy','GPhotos','Local','locale','uploadcareLicenseKeyValid','icon','shortText','bind','_createToolbarButton','uploadcareLicenseKeyExpired','has','GDrive','_showLicenseError','1196995jsGgth','invalid','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','commands','afterInit','6115200VvmnsQ','isEnabled','URL','tooltip','featureNotAllowed','domainLimit','uploadcare','map','Insert','upload','10546695ompNfN','uploadcareLicenseKeyUsageLimit'];_0x127f=function(){return _0x393959;};return _0x127f();}const _0x21da84=_0xa4bd;(function(_0x287423,_0x21dee4){const _0x14ee79=_0xa4bd,_0x4d8a18=_0x287423();while(!![]){try{const _0x443453=parseInt(_0x14ee79(0xf8))/0x1+-parseInt(_0x14ee79(0xcb))/0x2*(-parseInt(_0x14ee79(0xc4))/0x3)+-parseInt(_0x14ee79(0xd2))/0x4*(-parseInt(_0x14ee79(0xdc))/0x5)+-parseInt(_0x14ee79(0xff))/0x6+-parseInt(_0x14ee79(0xe1))/0x7+-parseInt(_0x14ee79(0xc8))/0x8+parseInt(_0x14ee79(0x109))/0x9*(parseInt(_0x14ee79(0xc1))/0xa);if(_0x443453===_0x21dee4)break;else _0x4d8a18['push'](_0x4d8a18['shift']());}catch(_0x456479){_0x4d8a18['push'](_0x4d8a18['shift']());}}}(_0x127f,0xd2867));import{Plugin as _0x494c93}from'ckeditor5/src/core.js';import{IconDropbox as _0x41731f,IconFacebook as _0x2effd6,IconGoogleDrive as _0x368615,IconGooglePhotos as _0x42d5fd,IconUploadcareImageUpload as _0x81adb0,IconUploadcareLink as _0x5188a1,IconOneDrive as _0xbc02e0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5f03ac,MenuBarMenuListItemButtonView as _0x530057}from'ckeditor5/src/ui.js';function _0xa4bd(_0x3b80ad,_0x35a0a8){const _0x127f28=_0x127f();return _0xa4bd=function(_0xa4bdba,_0x47ac46){_0xa4bdba=_0xa4bdba-0xbc;let _0x56826a=_0x127f28[_0xa4bdba];return _0x56826a;},_0xa4bd(_0x3b80ad,_0x35a0a8);}import{UploadcareSource as _0x33da61}from'./uploadcareconfig.js';import{getTranslation as _0xb687dd}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 _0x494c93{[_0x21da84(0xd6)];[_0x21da84(0xe7)];static get[_0x21da84(0xbe)](){const _0x47609e=_0x21da84;return _0x47609e(0x10b);}static get[_0x21da84(0xd0)](){return!0x0;}static get[_0x21da84(0xcc)](){return!0x0;}[_0x21da84(0xdd)](){const _0x35b3e5=_0x21da84;this[_0x35b3e5(0xd6)]=this[_0x35b3e5(0xe2)][_0x35b3e5(0xd1)][_0x35b3e5(0xce)](_0x35b3e5(0xd6));const _0xe70857=this[_0x35b3e5(0xe2)];this[_0x35b3e5(0xe7)]=setInterval(()=>{const _0x46ae4b=_0x35b3e5;let _0x3fb53d;for(const _0x59ed71 in _0xe70857){const _0x5698ca=_0x59ed71,_0x4d369d=_0xe70857[_0x5698ca];if(_0x46ae4b(0xef)==_0x4d369d||_0x46ae4b(0xfb)==_0x4d369d||_0x46ae4b(0xf4)==_0x4d369d||_0x46ae4b(0xda)==_0x4d369d||_0x46ae4b(0xc7)==_0x4d369d||_0x46ae4b(0xfc)==_0x4d369d||_0x46ae4b(0xe6)==_0x4d369d||_0x46ae4b(0x10a)==_0x4d369d){delete _0xe70857[_0x5698ca],_0x3fb53d=_0x4d369d,clearInterval(this[_0x46ae4b(0xe7)]),this[_0x46ae4b(0xe7)]=void 0x0;break;}}_0x46ae4b(0xfb)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xf9)),_0x46ae4b(0xf4)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xdf)),_0x46ae4b(0xda)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0x104)),_0x46ae4b(0xc7)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0x103),_0x46ae4b(0xea)),_0x46ae4b(0xfc)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xe8)),_0x46ae4b(0xe6)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xcd)),_0x46ae4b(0x10a)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xe5));},0x3e8);}[_0x21da84(0xfe)](){const _0x11dedb=_0x21da84,{editor:_0xdf12b5}=this,_0x2b29fe=_0xdf12b5[_0x11dedb(0xfd)][_0x11dedb(0xce)](_0x11dedb(0x105));if(!_0x2b29fe)return;const _0x4a7902=this[_0x11dedb(0xe9)](_0xdf12b5[_0x11dedb(0xd1)][_0x11dedb(0xce)](_0x11dedb(0xc6)))[_0x11dedb(0xd9)]((_0x2c2da,_0x35a954)=>{const _0x50d7ed=_0x11dedb,_0x564450=this[_0x50d7ed(0xfa)](_0x35a954[_0x50d7ed(0xd3)]);return _0x2c2da[_0x564450]||(_0x2c2da[_0x564450]=[]),_0x2c2da[_0x564450][_0x50d7ed(0xe4)](_0x35a954),_0x2c2da;},{});_0xdf12b5[_0x11dedb(0xe3)][_0x11dedb(0xf5)](_0x11dedb(0xe0))&&_0xdf12b5[_0x11dedb(0xfd)][_0x11dedb(0xce)](_0x11dedb(0x105))&&Object[_0x11dedb(0xca)](_0x4a7902)[_0x11dedb(0x10c)](([_0x239077,_0x49ccf6])=>{const _0x28ddde=_0x11dedb;_0xdf12b5[_0x28ddde(0xe3)][_0x28ddde(0xce)](_0x28ddde(0xe0))[_0x28ddde(0xc3)]({'name':_0x239077,'observable':()=>_0x2b29fe,'buttonViewCreator':()=>this[_0x28ddde(0xf3)](_0x49ccf6),'formViewCreator':()=>this[_0x28ddde(0xd5)](_0x49ccf6),'menuBarButtonViewCreator':()=>this[_0x28ddde(0xd7)](_0x49ccf6),'override':_0x28ddde(0xbc)!==_0x239077});});}[_0x21da84(0xeb)](){const _0x3ebd06=_0x21da84;super[_0x3ebd06(0xeb)](),this[_0x3ebd06(0xe7)]&&clearInterval(this[_0x3ebd06(0xe7)]);}[_0x21da84(0xe9)](_0x530c57){const _0x2add08=_0x21da84,{locale:_0x10ba07}=this[_0x2add08(0xe2)];return _0x530c57[_0x2add08(0x106)](_0x27caa6=>{const _0x4cdcd1=_0x2add08,_0x2a005e=_0xb687dd(_0x10ba07,_0x27caa6,_0x4cdcd1(0x107));switch(_0x27caa6){case _0x33da61[_0x4cdcd1(0xed)]:return{'icon':_0x81adb0,'type':_0x33da61[_0x4cdcd1(0xed)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0x101)]:return{'icon':_0x5188a1,'type':_0x33da61[_0x4cdcd1(0x101)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xbd)]:return{'icon':_0x41731f,'type':_0x33da61[_0x4cdcd1(0xbd)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xde)]:return{'icon':_0x2effd6,'type':_0x33da61[_0x4cdcd1(0xde)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xf6)]:return{'icon':_0x368615,'type':_0x33da61[_0x4cdcd1(0xf6)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xec)]:return{'icon':_0x42d5fd,'type':_0x33da61[_0x4cdcd1(0xec)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xd8)]:return{'icon':_0xbc02e0,'type':_0x33da61[_0x4cdcd1(0xd8)],..._0x2a005e};}});}[_0x21da84(0xfa)](_0x3f56d4){const _0x21cd7d=_0x21da84;switch(_0x3f56d4){case _0x33da61[_0x21cd7d(0xed)]:return _0x21cd7d(0x108);case _0x33da61[_0x21cd7d(0x101)]:return _0x21cd7d(0xc2);default:return _0x21cd7d(0xbc);}}[_0x21da84(0xcf)](_0x48423a,_0x4094d7){const _0x332378=_0x21da84,_0xca6dfb=this[_0x332378(0xe2)],_0x3bc2d6=new _0x48423a(_0xca6dfb[_0x332378(0xee)]),_0x9ea74c=_0xca6dfb[_0x332378(0xfd)][_0x332378(0xce)](_0x332378(0x105));return _0x3bc2d6[_0x332378(0xf2)](_0x332378(0x100))['to'](_0x9ea74c),_0x3bc2d6['on'](_0x332378(0xdb),()=>{const _0x46e6bd=_0x332378;_0x9ea74c[_0x46e6bd(0xdb)](_0x4094d7);}),_0x3bc2d6;}[_0x21da84(0xf3)](_0x7affc2){const _0x1a18eb=_0x21da84,{locale:_0x19ea64}=this[_0x1a18eb(0xe2)],_0x846e54=this[_0x1a18eb(0xe2)][_0x1a18eb(0xe3)][_0x1a18eb(0xce)](_0x1a18eb(0xe0)),_0xf6e999=_0x7affc2[0x0],_0x375e8f=this[_0x1a18eb(0xcf)](_0x5f03ac,_0xf6e999[_0x1a18eb(0xd3)]);return _0x375e8f[_0x1a18eb(0xf0)]=_0xf6e999[_0x1a18eb(0xf0)],_0x375e8f[_0x1a18eb(0xf2)](_0x1a18eb(0xc5))['to'](_0x846e54,_0x1a18eb(0xd4),_0x2794d2=>_0xb687dd(_0x19ea64,_0xf6e999[_0x1a18eb(0xd3)],_0x2794d2?_0x1a18eb(0xc0):_0x1a18eb(0x107))[_0x1a18eb(0xc9)]),_0x375e8f[_0x1a18eb(0x102)]=!0x0,_0x375e8f;}[_0x21da84(0xd5)](_0x5cdad3){const _0x121153=_0x21da84,{locale:_0x38d834}=this[_0x121153(0xe2)],_0x19c5e6=this[_0x121153(0xe2)][_0x121153(0xe3)][_0x121153(0xce)](_0x121153(0xe0));return _0x5cdad3[_0x121153(0x106)](_0x19549f=>{const _0x347bdd=_0x121153,_0xd6900b=this[_0x347bdd(0xcf)](_0x5f03ac,_0x19549f[_0x347bdd(0xd3)]);return _0xd6900b[_0x347bdd(0xbf)]=!0x0,_0xd6900b[_0x347bdd(0xf0)]=_0x19549f[_0x347bdd(0xf0)],_0xd6900b[_0x347bdd(0xf2)](_0x347bdd(0xc5))['to'](_0x19c5e6,_0x347bdd(0xd4),_0x8d979c=>_0xb687dd(_0x38d834,_0x19549f[_0x347bdd(0xd3)],_0x8d979c?_0x347bdd(0xc0):_0x347bdd(0x107))[_0x347bdd(0xc9)]),_0xd6900b;});}[_0x21da84(0xd7)](_0x424939){const _0x508e50=_0x21da84;return _0x424939[_0x508e50(0x106)](_0xdbe106=>{const _0x2f2835=_0x508e50,_0x3f21a3=this[_0x2f2835(0xcf)](_0x530057,_0xdbe106[_0x2f2835(0xd3)]);return _0x3f21a3[_0x2f2835(0xf0)]=_0xdbe106[_0x2f2835(0xf0)],_0x3f21a3[_0x2f2835(0xc5)]=_0xdbe106[_0x2f2835(0xf1)],_0x3f21a3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1fc120}from'ckeditor5/src/core.js';import{FileRepository as _0x6f6b1b}from'ckeditor5/src/upload.js';import _0x17422c from'./uploadcareediting.js';import _0x2d4575 from'./utils/uploadutils.js';import{getImageUrls as _0x5535f8}from'./utils/editingutils.js';export default class f extends _0x1fc120{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6f6b1b,_0x17422c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x428584=this['editor'];if(!!!_0x428584['config']['get']('uploadcare'))return;_0x428584['plugins']['get'](_0x6f6b1b)['createUploadAdapter']=_0x21bdd7=>new E(_0x21bdd7,_0x428584),_0x428584['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2171e2,{imageElement:_0x2c4dd1,data:_0xc913e4})=>{_0x428584['model']['change'](_0x5e156c=>{_0x5e156c['setAttribute']('uploadcareImageId',_0xc913e4['uploadcareImageId'],_0x2c4dd1);});});}}class E{constructor(_0x5f3248,_0x4b5d6c){this['loader']=_0x5f3248,this['editor']=_0x4b5d6c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x22bd94=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f8196=await this['loader']['file'];return _0x2d4575['upload']({'file':_0x2f8196,'publicKey':_0x22bd94,'signal':this['controller']['signal'],'onProgress':_0x1ba55f=>{_0x1ba55f&&_0x1ba55f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ba55f['value']);}})['then'](async _0x40063c=>{const {imageFallbackUrl:_0x1dba40,imageSources:_0x441ce6}=_0x5535f8(_0x40063c['cdnUrl'],_0x40063c['imageInfo']['width']);return{'uploadcareImageId':_0x40063c['uuid'],'default':_0x1dba40,'sources':_0x441ce6};})['catch'](()=>{const _0x3047fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f8196['name']+'.');return Promise['reject'](_0x3047fa);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5e9eda}from'ckeditor5/src/core.js';import{FileRepository as _0x1812dd}from'ckeditor5/src/upload.js';import _0x28ca13 from'./uploadcareediting.js';import _0x37d764 from'./utils/uploadutils.js';import{getImageUrls as _0x14af9b}from'./utils/editingutils.js';export default class p extends _0x5e9eda{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1812dd,_0x28ca13];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x59d16e=this['editor'];if(!!!_0x59d16e['config']['get']('uploadcare'))return;_0x59d16e['plugins']['get'](_0x1812dd)['createUploadAdapter']=_0x29d327=>new x(_0x29d327,_0x59d16e),_0x59d16e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x18415f,{imageElement:_0x64c0d9,data:_0x4cecbd})=>{_0x59d16e['model']['change'](_0x4eb84a=>{_0x4eb84a['setAttribute']('uploadcareImageId',_0x4cecbd['uploadcareImageId'],_0x64c0d9);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2227aa,_0x37a3dd){this['loader']=_0x2227aa,this['editor']=_0x37a3dd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30451f=this['editor']['config']['get']('uploadcare.pubkey'),_0x36ec27=await this['loader']['file'];return _0x37d764['upload']({'file':_0x36ec27,'publicKey':_0x30451f,'signal':this['controller']['signal'],'onProgress':_0x5a77b0=>{_0x5a77b0&&_0x5a77b0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a77b0['value']);}})['then'](async _0x35d3fb=>{const {imageFallbackUrl:_0x7eb86e,imageSources:_0x2fd9a4}=_0x14af9b(_0x35d3fb['cdnUrl'],_0x35d3fb['imageInfo']['width']);return{'uploadcareImageId':_0x35d3fb['uuid'],'default':_0x7eb86e,'sources':_0x2fd9a4};})['catch'](()=>{const _0x15ec5b=t('Cannot\x20upload\x20file:')+('\x20'+_0x36ec27['name']+'.');return Promise['reject'](_0x15ec5b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x7db9b3}from'../uploadcareconfig.js';export function getTranslation(_0x5459ff,_0x49e857,_0x35785e){const t=_0x5459ff['t'],_0x108b1a=_0x5459ff['t'];switch(_0x49e857){case _0x7db9b3['Local']:return{'text':_0x108b1a('Insert'===_0x35785e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x108b1a('From\x20computer')};case _0x7db9b3['URL']:return{'text':'Insert'===_0x35785e?_0x108b1a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x108b1a('Via\x20URL')};case _0x7db9b3['Dropbox']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x7db9b3['Facebook']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x7db9b3['GDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x7db9b3['GPhotos']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x7db9b3['OneDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49e857;}}
23
+ import{UploadcareSource as _0x51dc24}from'../uploadcareconfig.js';export function getTranslation(_0x921c19,_0xcf4473,_0x3f5cd1){const t=_0x921c19['t'],_0x2b6df8=_0x921c19['t'];switch(_0xcf4473){case _0x51dc24['Local']:return{'text':_0x2b6df8('Insert'===_0x3f5cd1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2b6df8('From\x20computer')};case _0x51dc24['URL']:return{'text':'Insert'===_0x3f5cd1?_0x2b6df8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2b6df8('Via\x20URL')};case _0x51dc24['Dropbox']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x51dc24['Facebook']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x51dc24['GDrive']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x51dc24['GPhotos']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x51dc24['OneDrive']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xcf4473;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ee4(_0x57ac9c,_0x39333d){var _0x4a748e=_0x4a74();return _0x5ee4=function(_0x5ee4a9,_0x55efba){_0x5ee4a9=_0x5ee4a9-0x1ac;var _0x2ee39c=_0x4a748e[_0x5ee4a9];return _0x2ee39c;},_0x5ee4(_0x57ac9c,_0x39333d);}var _0x9c6328=_0x5ee4;(function(_0xee6c72,_0x2a244d){var _0x73ccdf=_0x5ee4,_0x37b010=_0xee6c72();while(!![]){try{var _0x27ba5d=-parseInt(_0x73ccdf(0x1bc))/0x1+parseInt(_0x73ccdf(0x1b3))/0x2+parseInt(_0x73ccdf(0x1b9))/0x3+parseInt(_0x73ccdf(0x1b0))/0x4*(parseInt(_0x73ccdf(0x1bb))/0x5)+parseInt(_0x73ccdf(0x1ae))/0x6*(-parseInt(_0x73ccdf(0x1b6))/0x7)+parseInt(_0x73ccdf(0x1ad))/0x8+-parseInt(_0x73ccdf(0x1af))/0x9;if(_0x27ba5d===_0x2a244d)break;else _0x37b010['push'](_0x37b010['shift']());}catch(_0x56b895){_0x37b010['push'](_0x37b010['shift']());}}}(_0x4a74,0x9f89e));import{FocusTracker as _0x345c23}from'ckeditor5/src/utils.js';import{View as _0x24ce74,FocusCycler as _0x402037}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x24ce74{constructor(_0x51e158){var _0xdf4a5f=_0x5ee4;super(_0x51e158),this[_0xdf4a5f(0x1b7)]=new _0x345c23(),this[_0xdf4a5f(0x1bd)]=new _0x402037({'focusables':this[_0xdf4a5f(0x1b2)](),'focusTracker':this[_0xdf4a5f(0x1b7)]});}[_0x9c6328(0x1b8)](){var _0x1c8b72=_0x9c6328;return{'tag':_0x1c8b72(0x1b1),'attributes':{'aria-hidden':_0x1c8b72(0x1b4),'tabindex':'0'},'on':{'focus':this[_0x1c8b72(0x1b5)]['to'](()=>{var _0x28a93e=_0x1c8b72;this[_0x28a93e(0x1bd)][_0x28a93e(0x1ac)](_0x28a93e(0x1ba));})}};}}function _0x4a74(){var _0x4a1268=['223846JycVIc','focusTracker','getFocusableElement','1182510OjyuRX','forwardCycle','3035BYcYIQ','37462UgaSIr','focusCycler','fire','4330440BBfWQZ','42uXnhdi','15297687IZUmhS','8252Xhgnau','div','createCollection','853610uLFKZm','true','bindTemplate'];_0x4a74=function(){return _0x4a1268;};return _0x4a74();}
23
+ var _0x48e3c1=_0x3e5b;(function(_0x16b8bf,_0xa94789){var _0x8ad647=_0x3e5b,_0x367f41=_0x16b8bf();while(!![]){try{var _0x383e9b=parseInt(_0x8ad647(0x1de))/0x1*(-parseInt(_0x8ad647(0x1d2))/0x2)+parseInt(_0x8ad647(0x1d9))/0x3+parseInt(_0x8ad647(0x1d5))/0x4+parseInt(_0x8ad647(0x1e2))/0x5+-parseInt(_0x8ad647(0x1d4))/0x6*(parseInt(_0x8ad647(0x1d6))/0x7)+parseInt(_0x8ad647(0x1db))/0x8*(-parseInt(_0x8ad647(0x1d8))/0x9)+-parseInt(_0x8ad647(0x1e1))/0xa;if(_0x383e9b===_0xa94789)break;else _0x367f41['push'](_0x367f41['shift']());}catch(_0x461f5e){_0x367f41['push'](_0x367f41['shift']());}}}(_0x5883,0xdb3fb));import{FocusTracker as _0x442ca2}from'ckeditor5/src/utils.js';function _0x3e5b(_0x517d8a,_0x1be509){var _0x58835a=_0x5883();return _0x3e5b=function(_0x3e5b6a,_0x46d518){_0x3e5b6a=_0x3e5b6a-0x1d2;var _0x3f7c0f=_0x58835a[_0x3e5b6a];return _0x3f7c0f;},_0x3e5b(_0x517d8a,_0x1be509);}import{View as _0x11285b,FocusCycler as _0x30882d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x11285b{[_0x48e3c1(0x1e0)];[_0x48e3c1(0x1df)];constructor(_0x5c7921){var _0x2fb1d2=_0x48e3c1;super(_0x5c7921),this[_0x2fb1d2(0x1e0)]=new _0x442ca2(),this[_0x2fb1d2(0x1df)]=new _0x30882d({'focusables':this[_0x2fb1d2(0x1e4)](),'focusTracker':this[_0x2fb1d2(0x1e0)]});}[_0x48e3c1(0x1da)](){var _0xb21c05=_0x48e3c1;return{'tag':_0xb21c05(0x1d3),'attributes':{'aria-hidden':_0xb21c05(0x1dc),'tabindex':'0'},'on':{'focus':this[_0xb21c05(0x1e3)]['to'](()=>{var _0x19b88e=_0xb21c05;this[_0x19b88e(0x1df)][_0x19b88e(0x1d7)](_0x19b88e(0x1dd));})}};}}function _0x5883(){var _0x5a6f89=['focusTracker','995750ABkniD','3118610UaMiCg','bindTemplate','createCollection','319554QcgBJS','div','738iYyyNi','3610740WEfAcf','70595yXJPFN','fire','9AbWUnI','4895628BStNIx','getFocusableElement','3527032FgZANO','true','forwardCycle','3AYbcRO','focusCycler'];_0x5883=function(){return _0x5a6f89;};return _0x5883();}