@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.2 → 44.3.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398e56=_0x3d4a;(function(_0x3cfccf,_0x388103){const _0x38f847=_0x3d4a,_0x16feb1=_0x3cfccf();while(!![]){try{const _0x1e94fb=parseInt(_0x38f847(0xd3))/0x1+-parseInt(_0x38f847(0xc6))/0x2+parseInt(_0x38f847(0xbe))/0x3+parseInt(_0x38f847(0xd1))/0x4*(-parseInt(_0x38f847(0xa0))/0x5)+parseInt(_0x38f847(0xe1))/0x6+-parseInt(_0x38f847(0xc8))/0x7*(-parseInt(_0x38f847(0xae))/0x8)+-parseInt(_0x38f847(0x9c))/0x9*(parseInt(_0x38f847(0xd2))/0xa);if(_0x1e94fb===_0x388103)break;else _0x16feb1['push'](_0x16feb1['shift']());}catch(_0x3b35ff){_0x16feb1['push'](_0x16feb1['shift']());}}}(_0x1359,0x3c90e));import{Plugin as _0x17c86f}from'ckeditor5/src/core.js';import{Dialog as _0x102ed2}from'ckeditor5/src/ui.js';function _0x3d4a(_0x1ed591,_0x1eed3c){const _0x13598a=_0x1359();return _0x3d4a=function(_0x3d4afc,_0x15dce5){_0x3d4afc=_0x3d4afc-0x96;let _0xa68719=_0x13598a[_0x3d4afc];return _0xa68719;},_0x3d4a(_0x1ed591,_0x1eed3c);}function _0x1359(){const _0x17f94a=['#uc-icon-arrow-down','cleanupImage','179604DczSoZ','config','conversion','commands','10guQNzi','editor','extend','getSelectedElement','add','removeAttribute','true','selection','UploadcareEditing','schema','editing','body','requires','get','2671040EhtoJc','isPremiumPlugin','once','\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','render','pluginName','querySelector','uc-upload-ctx-provider','_initCtx','for','execute','uc-config','destroy','_initConfig','upcast','href','717450aeuYKi','locale','uploadcareImageReplace','_initImageProcessingIndicator','configElement','appendChild','imageInline','map','644954xpWlSG','input[uploadcare-file-input]','7GLYtGM','downcast','uploadcareImageId','closeMax','uploadcare','uploadcare.uploader','listenTo','iconHrefResolver','attributeToAttribute','419324GeUPHk','80YKrAYT','359503dGvmqc','model','insertImage','uploadcare.pubkey','contentLanguage','elementToAttribute','_ctxElement','uploader','join','document','_initConversion','_initSchema','PictureEditing','data-uc-image-id','43992JMgcLZ','afterInit','isOfficialPlugin','isRegistered','ctxElement','replaceImageSource','init','getAttribute','view','remove','fromCharCode','_configElement','imageBlock'];_0x1359=function(){return _0x17f94a;};return _0x1359();}import{createElement as _0x1d625f,global as _0x270deb,uid as _0x5d8c9d}from'ckeditor5/src/utils.js';import _0x1a70d1 from'./uploadcarecommand.js';import _0x3da26c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x358c5c}from'./utils/editingutils.js';export default class i extends _0x17c86f{constructor(){const _0x4047e9=_0x3d4a;super(...arguments),this[_0x4047e9(0x98)]=null,this[_0x4047e9(0xd9)]=null;}static get[_0x398e56(0xb3)](){const _0x2460ca=_0x398e56;return _0x2460ca(0xa8);}static get[_0x398e56(0xac)](){const _0x1bd744=_0x398e56;return[_0x1bd744(0xdf),_0x3da26c,_0x102ed2];}static get[_0x398e56(0xe3)](){return!0x0;}static get[_0x398e56(0xaf)](){return!0x0;}get[_0x398e56(0xc2)](){const _0x37250d=_0x398e56;return this[_0x37250d(0x98)];}get[_0x398e56(0xe5)](){const _0x9daad5=_0x398e56;return this[_0x9daad5(0xd9)];}[_0x398e56(0xe7)](){const _0xc29436=_0x398e56,_0x5949a8=this[_0xc29436(0xa1)];_0x5949a8[_0xc29436(0x9f)][_0xc29436(0xa4)](_0xc29436(0xcc),new _0x1a70d1(_0x5949a8));}[_0x398e56(0xe2)](){const _0x500317=_0x398e56;this[_0x500317(0xde)](),this[_0x500317(0xdd)](),this[_0x500317(0xbb)](),this[_0x500317(0xb6)](),this[_0x500317(0xc1)](),this[_0x500317(0xce)](this[_0x500317(0xa1)],_0x500317(0xba),()=>{const _0x83c4f7=_0x500317;this[_0x83c4f7(0x98)]&&(this[_0x83c4f7(0x98)][_0x83c4f7(0x96)](),this[_0x83c4f7(0x98)]=null),this[_0x83c4f7(0xd9)]&&(this[_0x83c4f7(0xd9)][_0x83c4f7(0x96)](),this[_0x83c4f7(0xd9)]=null);const _0x38cb3c=_0x270deb[_0x83c4f7(0xdc)][_0x83c4f7(0xb4)](_0x83c4f7(0xc7));_0x38cb3c&&_0x38cb3c[_0x83c4f7(0x96)]();}),async function(_0x4d07f2){const _0x45b9db=_0x1429d6([0x68,0x38,0x46,0x75,0x6e,0x37,0x4b,0x59,0x5a,0x7a,0x64,0x47,0x6c,0x69,0x39,0x48,0x57,0x31,0x34,0x54,0x79,0x52,0x4f,0x4e,0x63,0x62,0x51,0x6d,0x30,0x56,0x65,0x50,0x6f,0x77,0x53,0x76,0x42,0x73,0x35,0x44,0x4d,0x74,0x32,0x66,0x78,0x49,0x4a,0x6b,0x4c,0x33,0x61,0x45,0x43,0x55,0x67,0x36,0x70,0x58,0x41,0x72,0x71,0x6a]),_0x325abe=0x5d677a3e,_0x107f7c=0x5d601af6^_0x325abe,_0x451408=window[_0x1429d6([0x44,0x61,0x74,0x65])][_0x1429d6([0x6e,0x6f,0x77])](),_0x2dac00=_0x4d07f2[_0x1429d6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a79c4=new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x287a7a=>{_0x2dac00[_0x1429d6([0x6f,0x6e,0x63,0x65])](_0x1429d6([0x72,0x65,0x61,0x64,0x79]),_0x287a7a);}),_0x34add0={[_0x1429d6([0x6b,0x74,0x79])]:_0x1429d6([0x45,0x43]),[_0x1429d6([0x75,0x73,0x65])]:_0x1429d6([0x73,0x69,0x67]),[_0x1429d6([0x63,0x72,0x76])]:_0x1429d6([0x50,0x2d,0x32,0x35,0x36]),[_0x1429d6([0x78])]:_0x1429d6([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]),[_0x1429d6([0x79])]:_0x1429d6([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]),[_0x1429d6([0x61,0x6c,0x67])]:_0x1429d6([0x45,0x53,0x32,0x35,0x36])},_0xffb218=_0x2dac00[_0x1429d6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1429d6([0x67,0x65,0x74])](_0x1429d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x526eb2(){let _0x11d320,_0x5048fc=null,_0x42007e=null;try{if(_0xffb218==_0x1429d6([0x47,0x50,0x4c]))return _0x1429d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11d320=_0xa4ba3f(),!_0x11d320)return _0x1429d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11d320[_0x1429d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42007e=_0x32f889(_0x11d320[_0x1429d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11d320[_0x1429d6([0x6a,0x74,0x69])])),await _0x565415()?_0x4ff8b1()?_0x3545fe()?_0x1429d6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe6ea3b()?(_0x11d320[_0x1429d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1429d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5048fc=_0x5a7fb1(_0x1429d6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11d320[_0x1429d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1429d6([0x74,0x72,0x69,0x61,0x6c])&&(_0x5048fc=_0x5a7fb1(_0x1429d6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37f72c()):_0x1429d6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1429d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1429d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xaaae){return _0x1429d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3545fe(){const _0x3e18f2=[_0x1429d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1429d6([0x74,0x72,0x69,0x61,0x6c])][_0x1429d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11d320[_0x1429d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x451408/0x3e8:0xe10*_0x107f7c;return _0x11d320[_0x1429d6([0x65,0x78,0x70])]<_0x3e18f2;}function _0x4ff8b1(){const _0x19da76=_0x11d320[_0x1429d6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19da76&&(!!_0x19da76[_0x1429d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1429d6([0x2a]))||!!_0x19da76[_0x1429d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1429d6([0x55,0x50,0x4c,0x43])));}function _0xe6ea3b(){const _0x5e9ebc=_0x3d4a,_0x29242d=_0x11d320[_0x1429d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29242d||0x0==_0x29242d[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3be256}=new URL(window[_0x1429d6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e9ebc(0xbd)]);if(_0x29242d[_0x1429d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3be256))return!0x0;const _0x2f48ba=_0x3be256[_0x1429d6([0x73,0x70,0x6c,0x69,0x74])](_0x1429d6([0x2e]));return _0x29242d[_0x1429d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x458fc2=>_0x458fc2[_0x1429d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1429d6([0x2a])))[_0x1429d6([0x6d,0x61,0x70])](_0x550db0=>_0x550db0[_0x1429d6([0x73,0x70,0x6c,0x69,0x74])](_0x1429d6([0x2e])))[_0x1429d6([0x73,0x6f,0x6d,0x65])](_0x120834=>_0x2f48ba[_0x1429d6([0x65,0x76,0x65,0x72,0x79])]((_0x453ae5,_0x4684b8)=>_0x120834[_0x4684b8]===_0x453ae5||_0x120834[_0x4684b8]===_0x1429d6([0x2a])));}function _0x37f72c(){return _0x5048fc&&_0x42007e?new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd952f0,_0x40fa12)=>{_0x5048fc[_0x1429d6([0x74,0x68,0x65,0x6e])](_0xd952f0,_0x40fa12),_0x42007e[_0x1429d6([0x74,0x68,0x65,0x6e])](_0x15a7a5=>{_0x15a7a5!=_0x1429d6([0x56,0x61,0x6c,0x69,0x64])&&_0xd952f0(_0x15a7a5);},_0x40fa12);}):_0x5048fc||_0x42007e||_0x1429d6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32f889(_0xb801b0,_0x554b22){return new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3edf1a=>{if(_0x5d1af2())return _0x3edf1a(_0x1429d6([0x56,0x61,0x6c,0x69,0x64]));_0x45fe4f(),_0x2dac00[_0x1429d6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1429d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2de972=!0x1;const _0x124a59=_0x5d8c9d();function _0x585b20(_0x2fb184){return!!_0x2fb184&&(typeof _0x2fb184===_0x1429d6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fb184===_0x1429d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fb184[_0x1429d6([0x74,0x68,0x65,0x6e])]===_0x1429d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fb184[_0x1429d6([0x63,0x61,0x74,0x63,0x68])]===_0x1429d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3787c4(_0x5325c0){_0x2a6018(_0x5325c0)[_0x1429d6([0x74,0x68,0x65,0x6e])](_0x1e09e8=>{if(!_0x1e09e8||_0x1e09e8[_0x1429d6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1429d6([0x6f,0x6b]))return _0x1429d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6a90fe(_0x3fd916(_0x124a59+_0x554b22))!=_0x1e09e8[_0x1429d6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1429d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1429d6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1429d6([0x74,0x68,0x65,0x6e])](_0x2e55e4=>(_0x273c02(),_0x2e55e4),()=>{const _0x46515c=_0x209101();return null==_0x46515c?(_0x273c02(),_0x1429d6([0x56,0x61,0x6c,0x69,0x64])):_0x1429d6(_0x451408-_0x46515c>(0x796bfe3e^_0x325abe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1429d6([0x74,0x68,0x65,0x6e])](_0x3edf1a)[_0x1429d6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3edf1a(_0x1429d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x88b987=0x5d5194be^_0x325abe;function _0x273c02(){const _0x4d118f=_0x1429d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x6a90fe(_0x3fd916(_0xb801b0)),_0x3223fc=_0x5af831(_0x6a90fe(window[_0x1429d6([0x4d,0x61,0x74,0x68])][_0x1429d6([0x63,0x65,0x69,0x6c])](_0x451408/_0x88b987)));window[_0x1429d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1429d6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d118f,_0x3223fc);}function _0x209101(){const _0x475008=_0x1429d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x6a90fe(_0x3fd916(_0xb801b0)),_0x11421b=window[_0x1429d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1429d6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x475008);return _0x11421b?window[_0x1429d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af831(_0x11421b),0x10)*_0x88b987:null;}function _0x2a6018(_0x4ee3d2){return new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdcc6fe,_0x62b49f)=>{_0x4ee3d2[_0x1429d6([0x74,0x68,0x65,0x6e])](_0xdcc6fe,_0x62b49f),window[_0x1429d6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x62b49f,0x5d66aefe^_0x325abe);});}}_0x2dac00[_0x1429d6([0x6f,0x6e])](_0x1429d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40bf8e,_0x2f0d17)=>{if(_0x2f0d17[0x0]!=_0xb801b0)return _0x3edf1a(_0x1429d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f0d17[0x1]={..._0x2f0d17[0x1],[_0x1429d6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x124a59};},{[_0x1429d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1429d6([0x68,0x69,0x67,0x68])}),_0x2dac00[_0x1429d6([0x6f,0x6e])](_0x1429d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b5e99=>{_0x585b20(_0x2b5e99[_0x1429d6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2de972=!0x0,_0x3787c4(_0x2b5e99[_0x1429d6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1429d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1429d6([0x6c,0x6f,0x77])}),_0x4a79c4[_0x1429d6([0x74,0x68,0x65,0x6e])](()=>{_0x2de972||_0x3edf1a(_0x1429d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d1af2(){return _0x2dac00[_0x1429d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1429d6([0x76,0x69,0x65,0x77])][_0x1429d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1429d6([0x61,0x75,0x74,0x6f]);}function _0x45fe4f(){_0x2dac00[_0x1429d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1429d6([0x76,0x69,0x65,0x77])][_0x1429d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1429d6([0x61,0x75,0x74,0x6f]);}}function _0x5a7fb1(_0xcd2f6b){const _0x40fd71=[new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b1507=>setTimeout(_0x1b1507,0x5d6e44f2^_0x325abe)),_0x4a79c4[_0x1429d6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1019d1=>{let _0x257d1b=0x0;_0x2dac00[_0x1429d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1429d6([0x6f,0x6e])](_0x1429d6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106f9d,_0x2a4808)=>{_0x2a4808[0x0][_0x1429d6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x257d1b++,_0x257d1b==(0x5d677bc6^_0x325abe)&&(_0x1019d1(),_0x106f9d[_0x1429d6([0x6f,0x66,0x66])]());});}))];return window[_0x1429d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1429d6([0x72,0x61,0x63,0x65])](_0x40fd71)[_0x1429d6([0x74,0x68,0x65,0x6e])](()=>_0xcd2f6b);}async function _0x52301c(){await _0x4a79c4,_0x2dac00[_0x1429d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1429d6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf31250,_0x2dac00[_0x1429d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1429d6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf31250,_0x2dac00[_0x1429d6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1429d6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1040e7(_0x52dd0c){const _0x2b73fc=_0x4f61c4();_0x2dac00[_0x2b73fc]=_0x1429d6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52dd0c,_0x52dd0c!=_0x1429d6([0x56,0x61,0x6c,0x69,0x64])&&_0x52301c();}function _0x4f61c4(){const _0x95b40a=window[_0x1429d6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1429d6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1429d6([0x6e,0x6f,0x77])]())[_0x1429d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1429d6([0x2e]),'');let _0x2def65=_0x1429d6([0x68]);for(let _0x2a020d=0x0;_0x2a020d<_0x95b40a[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a020d+=0x2){let _0x148e0a=window[_0x1429d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x95b40a[_0x1429d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a020d,_0x2a020d+0x2));_0x148e0a>=_0x45b9db[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x148e0a-=_0x45b9db[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2def65+=_0x45b9db[_0x148e0a];}return _0x2def65;}function _0xa4ba3f(){const _0x159211=_0xffb218[_0x1429d6([0x73,0x70,0x6c,0x69,0x74])](_0x1429d6([0x2e]));if(0x3!=_0x159211[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a8aad(_0x159211[0x1]);function _0x4a8aad(_0xc4b246){const _0x5d187f=_0x1789d8(_0xc4b246);return _0x5d187f&&_0x2e2ecc()?_0x5d187f:null;function _0x2e2ecc(){const _0x2d8081=_0x5d187f[_0x1429d6([0x6a,0x74,0x69])],_0x151d48=window[_0x1429d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d8081[_0x1429d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d8081[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21d7cc={..._0x5d187f,[_0x1429d6([0x6a,0x74,0x69])]:_0x2d8081[_0x1429d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d8081[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21d7cc[_0x1429d6([0x76,0x63])],_0x3fd916(_0x21d7cc)==_0x151d48;}}}async function _0x565415(){let _0x22c245=!0x0;try{const _0x51b897=_0xffb218[_0x1429d6([0x73,0x70,0x6c,0x69,0x74])](_0x1429d6([0x2e])),[_0x24be0b,_0x10c370,_0x38d01f]=_0x51b897;return _0x16c1f2(_0x24be0b),await _0x5c0122(_0x24be0b,_0x10c370,_0x38d01f),_0x22c245;}catch(_0x3b8b31){return!0x1;}function _0x16c1f2(_0x24689c){const _0xaca8d5=_0x1789d8(_0x24689c);_0xaca8d5&&_0xaca8d5[_0x1429d6([0x61,0x6c,0x67])]==_0x1429d6([0x45,0x53,0x32,0x35,0x36])||(_0x22c245=!0x1);}async function _0x5c0122(_0xb4a908,_0x2b35d9,_0x301400){const _0x447d82=window[_0x1429d6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1429d6([0x66,0x72,0x6f,0x6d])](_0x4b7413(_0x301400),_0x39e900=>_0x39e900[_0x1429d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57c5c6=new window[(_0x1429d6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1429d6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb4a908+_0x1429d6([0x2e])+_0x2b35d9),_0x97168=window[_0x1429d6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1429d6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x97168)return;const _0x30426d=await _0x97168[_0x1429d6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1429d6([0x6a,0x77,0x6b]),_0x34add0,{[_0x1429d6([0x6e,0x61,0x6d,0x65])]:_0x1429d6([0x45,0x43,0x44,0x53,0x41]),[_0x1429d6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1429d6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1429d6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x97168[_0x1429d6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1429d6([0x6e,0x61,0x6d,0x65])]:_0x1429d6([0x45,0x43,0x44,0x53,0x41]),[_0x1429d6([0x68,0x61,0x73,0x68])]:{[_0x1429d6([0x6e,0x61,0x6d,0x65])]:_0x1429d6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30426d,_0x447d82,_0x57c5c6)||(_0x22c245=!0x1);}}function _0x1789d8(_0x7c824){return _0x7c824[_0x1429d6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1429d6([0x65,0x79]))?JSON[_0x1429d6([0x70,0x61,0x72,0x73,0x65])](_0x4b7413(_0x7c824)):null;}function _0x4b7413(_0x454f4c){return window[_0x1429d6([0x61,0x74,0x6f,0x62])](_0x454f4c[_0x1429d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1429d6([0x2b]))[_0x1429d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1429d6([0x2f])));}function _0x3fd916(_0x153e6d){let _0x535650=0x1505;function _0xe8b583(_0x3337cf){for(let _0x3c4654=0x0;_0x3c4654<_0x3337cf[_0x1429d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c4654++){const _0x5e2fbb=_0x3337cf[_0x1429d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c4654);_0x535650=(_0x535650<<0x5)+_0x535650+_0x5e2fbb,_0x535650&=_0x535650;}}function _0x47fb4a(_0x4e750a){Array[_0x1429d6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e750a)?_0x4e750a[_0x1429d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47fb4a):_0x4e750a&&typeof _0x4e750a==_0x1429d6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1429d6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e750a)[_0x1429d6([0x73,0x6f,0x72,0x74])]()[_0x1429d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ccd1,_0x342d14])=>{_0xe8b583(_0x35ccd1),_0x47fb4a(_0x342d14);}):_0xe8b583(window[_0x1429d6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e750a));}return _0x47fb4a(_0x153e6d),_0x535650>>>0x0;}function _0x6a90fe(_0x1ec122){return _0x1ec122[_0x1429d6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1429d6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1429d6([0x30]));}function _0x5af831(_0x2e4829){return _0x2e4829[_0x1429d6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1429d6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1429d6([0x6a,0x6f,0x69,0x6e])]('');}function _0xf31250(){}function _0x1429d6(_0x24f9e3){const _0x349f18=_0x3d4a;return _0x24f9e3[_0x349f18(0xc5)](_0x3cc46b=>String[_0x349f18(0x97)](_0x3cc46b))[_0x349f18(0xdb)]('');}_0x1040e7(await _0x526eb2());}(this);}[_0x398e56(0xde)](){const _0x1fd49f=_0x398e56,_0x492f1c=this[_0x1fd49f(0xa1)][_0x1fd49f(0xd4)][_0x1fd49f(0xa9)];_0x492f1c[_0x1fd49f(0xe4)](_0x1fd49f(0x99))&&_0x492f1c[_0x1fd49f(0xa2)](_0x1fd49f(0x99),{'allowAttributes':[_0x1fd49f(0xca)]}),_0x492f1c[_0x1fd49f(0xe4)](_0x1fd49f(0xc4))&&_0x492f1c[_0x1fd49f(0xa2)](_0x1fd49f(0xc4),{'allowAttributes':[_0x1fd49f(0xca)]});}[_0x398e56(0xdd)](){const _0x553e3c=_0x398e56,_0x51b9b7=this[_0x553e3c(0xa1)];_0x51b9b7[_0x553e3c(0x9e)][_0x553e3c(0xb7)](_0x553e3c(0xc9))[_0x553e3c(0xd0)]({'model':_0x553e3c(0xca),'view':_0x553e3c(0xe0)}),_0x51b9b7[_0x553e3c(0x9e)][_0x553e3c(0xb7)](_0x553e3c(0xbc))[_0x553e3c(0xd8)]({'model':{'key':_0x553e3c(0xca),'value':_0x31d9b1=>_0x31d9b1[_0x553e3c(0xe8)](_0x553e3c(0xe0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x534a74=_0x51b9b7[_0x553e3c(0x9f)][_0x553e3c(0xad)](_0x553e3c(0xe6));_0x534a74&&this[_0x553e3c(0xce)](_0x534a74,_0x553e3c(0x9b),(_0x1afa4c,[_0x2ed37e,_0x231285])=>{const _0x147cd8=_0x553e3c;_0x2ed37e[_0x147cd8(0xa5)](_0x147cd8(0xca),_0x231285);});}[_0x398e56(0xbb)](){const _0x5e3f63=_0x398e56,_0x374e21=this[_0x5e3f63(0xa1)][_0x5e3f63(0x9d)][_0x5e3f63(0xad)](_0x5e3f63(0xcd))||{},_0x1ce972=this[_0x5e3f63(0xa1)][_0x5e3f63(0x9d)][_0x5e3f63(0xad)](_0x5e3f63(0xd6))||'';this[_0x5e3f63(0x98)]=_0x1d625f(_0x270deb[_0x5e3f63(0xdc)],_0x5e3f63(0xb9),{..._0x374e21,'pubkey':_0x1ce972,'ctx-name':_0x5e3f63(0xda),'sourceList':'','imgOnly':_0x5e3f63(0xa6),'removeCopyright':_0x5e3f63(0xa6),'localeName':this[_0x5e3f63(0xa1)][_0x5e3f63(0xbf)][_0x5e3f63(0xd7)],'externalSourcesEmbedCss':_0x5e3f63(0xb1)}),this[_0x5e3f63(0x98)][_0x5e3f63(0xcf)]=_0x27a7b9=>{const _0x55ab45=_0x5e3f63;if(_0x55ab45(0xcb)==_0x27a7b9)return _0x55ab45(0x9a);},_0x270deb[_0x5e3f63(0xdc)][_0x5e3f63(0xab)][_0x5e3f63(0xc3)](this[_0x5e3f63(0x98)]);}[_0x398e56(0xb6)](){const _0x1373d8=_0x398e56;this[_0x1373d8(0xd9)]=_0x1d625f(_0x270deb[_0x1373d8(0xdc)],_0x1373d8(0xb5),{'ctx-name':_0x1373d8(0xda)}),_0x270deb[_0x1373d8(0xdc)][_0x1373d8(0xab)][_0x1373d8(0xc3)](this[_0x1373d8(0xd9)]);}[_0x398e56(0xc1)](){const _0x557af7=_0x398e56,_0x56cffc=this[_0x557af7(0xa1)][_0x557af7(0x9f)][_0x557af7(0xad)](_0x557af7(0xd5));_0x56cffc&&this[_0x557af7(0xce)](_0x56cffc,_0x557af7(0xb8),()=>{const _0x1d6bba=_0x557af7,_0x21460e=this[_0x1d6bba(0xa1)][_0x1d6bba(0xd4)][_0x1d6bba(0xdc)][_0x1d6bba(0xa7)][_0x1d6bba(0xa3)]();_0x21460e&&_0x21460e[_0x1d6bba(0xe8)](_0x1d6bba(0xca))&&this[_0x1d6bba(0xa1)][_0x1d6bba(0xaa)][_0x1d6bba(0xe9)][_0x1d6bba(0xb0)](_0x1d6bba(0xb2),()=>{const _0x3f2abb=_0x1d6bba;_0x358c5c(this[_0x3f2abb(0xa1)],_0x21460e);});});const _0x64bafa=this[_0x557af7(0xa1)][_0x557af7(0x9f)][_0x557af7(0xad)](_0x557af7(0xc0));_0x64bafa&&this[_0x557af7(0xce)](_0x64bafa,_0x557af7(0xb8),()=>{const _0x3e8d0f=_0x557af7,_0x1d107d=this[_0x3e8d0f(0xa1)][_0x3e8d0f(0xd4)][_0x3e8d0f(0xdc)][_0x3e8d0f(0xa7)][_0x3e8d0f(0xa3)]();_0x1d107d&&_0x1d107d[_0x3e8d0f(0xe8)](_0x3e8d0f(0xca))&&this[_0x3e8d0f(0xa1)][_0x3e8d0f(0xaa)][_0x3e8d0f(0xe9)][_0x3e8d0f(0xb0)](_0x3e8d0f(0xb2),()=>{const _0x967983=_0x3e8d0f;_0x358c5c(this[_0x967983(0xa1)],_0x1d107d);});});}}
23
+ const _0x5daa58=_0x52ea;(function(_0x30c94b,_0x33daa7){const _0x9b0050=_0x52ea,_0x104bf1=_0x30c94b();while(!![]){try{const _0x38b8e2=-parseInt(_0x9b0050(0x13b))/0x1*(-parseInt(_0x9b0050(0x109))/0x2)+-parseInt(_0x9b0050(0x12a))/0x3*(-parseInt(_0x9b0050(0x103))/0x4)+-parseInt(_0x9b0050(0xfd))/0x5*(-parseInt(_0x9b0050(0x121))/0x6)+parseInt(_0x9b0050(0x101))/0x7*(parseInt(_0x9b0050(0xf7))/0x8)+parseInt(_0x9b0050(0x136))/0x9+-parseInt(_0x9b0050(0x100))/0xa+-parseInt(_0x9b0050(0x12b))/0xb*(parseInt(_0x9b0050(0xfc))/0xc);if(_0x38b8e2===_0x33daa7)break;else _0x104bf1['push'](_0x104bf1['shift']());}catch(_0x3decef){_0x104bf1['push'](_0x104bf1['shift']());}}}(_0x3df5,0xb1bec));import{Plugin as _0x41e768}from'ckeditor5/src/core.js';import{Dialog as _0x22481c}from'ckeditor5/src/ui.js';import{createElement as _0x44ed3a,global as _0x1be687,uid as _0x4d6ca9}from'ckeditor5/src/utils.js';import _0xd17580 from'./uploadcarecommand.js';import _0x1d7cb4 from'./uploadcareuploadadapter.js';function _0x52ea(_0x568b96,_0x325f74){const _0x3df550=_0x3df5();return _0x52ea=function(_0x52ea31,_0x14ebf0){_0x52ea31=_0x52ea31-0xe6;let _0x5d2ef1=_0x3df550[_0x52ea31];return _0x5d2ef1;},_0x52ea(_0x568b96,_0x325f74);}import{showImageProcessingIndicator as _0x56629e}from'./utils/editingutils.js';function _0x3df5(){const _0x20c1c8=['_initConfig','_initConversion','closeMax','5113917pKONuE','href','replaceImageSource','uploader','body','1CoFZvl','downcast','locale','destroy','editing','appendChild','cleanupImage','uc-config','view','UploadcareEditing','\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','_ctxElement','#uc-icon-arrow-down','listenTo','getSelectedElement','_configElement','remove','_initImageProcessingIndicator','8AMCipP','requires','init','isRegistered','uc-upload-ctx-provider','732GqVLSh','150805dvcnRu','once','data-uc-image-id','2137040GoVNWA','5259751BYjhej','_initCtx','12QUgBib','uploadcareImageId','document','render','model','map','891938bHYUUr','contentLanguage','true','schema','selection','insertImage','isPremiumPlugin','imageInline','afterInit','pluginName','imageBlock','elementToAttribute','uploadcareImageReplace','fromCharCode','execute','attributeToAttribute','input[uploadcare-file-input]','commands','PictureEditing','getAttribute','iconHrefResolver','upcast','editor','configElement','66OcLKgO','uploadcare.uploader','get','querySelector','uploadcare','for','uploadcare.pubkey','_initSchema','join','1290441kPVuPK','441089XNUJbN','ctxElement','conversion','add','config','isOfficialPlugin','removeAttribute','extend'];_0x3df5=function(){return _0x20c1c8;};return _0x3df5();}export default class i extends _0x41e768{constructor(){const _0xa6094c=_0x52ea;super(...arguments),this[_0xa6094c(0xf4)]=null,this[_0xa6094c(0xf0)]=null;}static get[_0x5daa58(0x112)](){const _0x5d871d=_0x5daa58;return _0x5d871d(0xee);}static get[_0x5daa58(0xf8)](){const _0x27cf4f=_0x5daa58;return[_0x27cf4f(0x11b),_0x1d7cb4,_0x22481c];}static get[_0x5daa58(0x130)](){return!0x0;}static get[_0x5daa58(0x10f)](){return!0x0;}get[_0x5daa58(0x120)](){const _0x2bb1ee=_0x5daa58;return this[_0x2bb1ee(0xf4)];}get[_0x5daa58(0x12c)](){const _0x28fecb=_0x5daa58;return this[_0x28fecb(0xf0)];}[_0x5daa58(0xf9)](){const _0x47b524=_0x5daa58,_0x35c80b=this[_0x47b524(0x11f)];_0x35c80b[_0x47b524(0x11a)][_0x47b524(0x12e)](_0x47b524(0x125),new _0xd17580(_0x35c80b));}[_0x5daa58(0x111)](){const _0x17dd5b=_0x5daa58;this[_0x17dd5b(0x128)](),this[_0x17dd5b(0x134)](),this[_0x17dd5b(0x133)](),this[_0x17dd5b(0x102)](),this[_0x17dd5b(0xf6)](),this[_0x17dd5b(0xf2)](this[_0x17dd5b(0x11f)],_0x17dd5b(0xe8),()=>{const _0x5d63c8=_0x17dd5b;this[_0x5d63c8(0xf4)]&&(this[_0x5d63c8(0xf4)][_0x5d63c8(0xf5)](),this[_0x5d63c8(0xf4)]=null),this[_0x5d63c8(0xf0)]&&(this[_0x5d63c8(0xf0)][_0x5d63c8(0xf5)](),this[_0x5d63c8(0xf0)]=null);const _0x2305c6=_0x1be687[_0x5d63c8(0x105)][_0x5d63c8(0x124)](_0x5d63c8(0x119));_0x2305c6&&_0x2305c6[_0x5d63c8(0xf5)]();}),async function(_0x45475c){const _0x48d193=_0x55520b([0x44,0x43,0x6f,0x30,0x71,0x72,0x33,0x47,0x75,0x4e,0x77,0x39,0x4c,0x32,0x42,0x74,0x50,0x7a,0x59,0x6b,0x4b,0x36,0x52,0x49,0x51,0x68,0x4f,0x79,0x66,0x45,0x6e,0x4a,0x4d,0x6d,0x63,0x61,0x35,0x54,0x78,0x38,0x5a,0x41,0x53,0x76,0x6c,0x73,0x67,0x65,0x62,0x58,0x46,0x70,0x57,0x69,0x34,0x37,0x6a,0x56,0x55,0x48,0x64,0x31]),_0x4e852c=0x67902e45,_0x10048b=0x67974ea5^_0x4e852c,_0x2d7bba=window[_0x55520b([0x44,0x61,0x74,0x65])][_0x55520b([0x6e,0x6f,0x77])](),_0x50c9b5=_0x45475c[_0x55520b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12b0b3=new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5984d8=>{_0x50c9b5[_0x55520b([0x6f,0x6e,0x63,0x65])](_0x55520b([0x72,0x65,0x61,0x64,0x79]),_0x5984d8);}),_0x3496f8={[_0x55520b([0x6b,0x74,0x79])]:_0x55520b([0x45,0x43]),[_0x55520b([0x75,0x73,0x65])]:_0x55520b([0x73,0x69,0x67]),[_0x55520b([0x63,0x72,0x76])]:_0x55520b([0x50,0x2d,0x32,0x35,0x36]),[_0x55520b([0x78])]:_0x55520b([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]),[_0x55520b([0x79])]:_0x55520b([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]),[_0x55520b([0x61,0x6c,0x67])]:_0x55520b([0x45,0x53,0x32,0x35,0x36])},_0x40b495=_0x50c9b5[_0x55520b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55520b([0x67,0x65,0x74])](_0x55520b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x320d5a(){let _0x17bdf1,_0x43edb8=null,_0x4739c1=null;try{if(_0x40b495==_0x55520b([0x47,0x50,0x4c]))return _0x55520b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17bdf1=_0x329854(),!_0x17bdf1)return _0x55520b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17bdf1[_0x55520b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4739c1=_0x2b2c06(_0x17bdf1[_0x55520b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17bdf1[_0x55520b([0x6a,0x74,0x69])])),await _0x3199c1()?_0x26b47d()?_0x1e647b()?_0x55520b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x332ad8()?(_0x17bdf1[_0x55520b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55520b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43edb8=_0x510b9f(_0x55520b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x17bdf1[_0x55520b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55520b([0x74,0x72,0x69,0x61,0x6c])&&(_0x43edb8=_0x510b9f(_0x55520b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57a609()):_0x55520b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55520b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55520b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x21e30e){return _0x55520b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e647b(){const _0x265fcc=[_0x55520b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55520b([0x74,0x72,0x69,0x61,0x6c])][_0x55520b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17bdf1[_0x55520b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d7bba/0x3e8:0xe10*_0x10048b;return _0x17bdf1[_0x55520b([0x65,0x78,0x70])]<_0x265fcc;}function _0x26b47d(){const _0x496f8b=_0x17bdf1[_0x55520b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x496f8b&&(!!_0x496f8b[_0x55520b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55520b([0x2a]))||!!_0x496f8b[_0x55520b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55520b([0x55,0x50,0x4c,0x43])));}function _0x332ad8(){const _0x418ef7=_0x52ea,_0x265ca8=_0x17bdf1[_0x55520b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x265ca8||0x0==_0x265ca8[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bc0dd}=new URL(window[_0x55520b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x418ef7(0x137)]);if(_0x265ca8[_0x55520b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bc0dd))return!0x0;const _0x142d21=_0x1bc0dd[_0x55520b([0x73,0x70,0x6c,0x69,0x74])](_0x55520b([0x2e]));return _0x265ca8[_0x55520b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52e6a2=>_0x52e6a2[_0x55520b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55520b([0x2a])))[_0x55520b([0x6d,0x61,0x70])](_0x3cd1cc=>_0x3cd1cc[_0x55520b([0x73,0x70,0x6c,0x69,0x74])](_0x55520b([0x2e])))[_0x55520b([0x73,0x6f,0x6d,0x65])](_0x33d069=>_0x142d21[_0x55520b([0x65,0x76,0x65,0x72,0x79])]((_0x11a7ad,_0x2cab2e)=>_0x33d069[_0x2cab2e]===_0x11a7ad||_0x33d069[_0x2cab2e]===_0x55520b([0x2a])));}function _0x57a609(){return _0x43edb8&&_0x4739c1?new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x165005,_0x2307ed)=>{_0x43edb8[_0x55520b([0x74,0x68,0x65,0x6e])](_0x165005,_0x2307ed),_0x4739c1[_0x55520b([0x74,0x68,0x65,0x6e])](_0x53c1c2=>{_0x53c1c2!=_0x55520b([0x56,0x61,0x6c,0x69,0x64])&&_0x165005(_0x53c1c2);},_0x2307ed);}):_0x43edb8||_0x4739c1||_0x55520b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b2c06(_0x41cc59,_0x5aab7e){return new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26543e=>{if(_0x48788d())return _0x26543e(_0x55520b([0x56,0x61,0x6c,0x69,0x64]));_0x4211e2(),_0x50c9b5[_0x55520b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55520b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x451c79=!0x1;const _0xb9a2d1=_0x4d6ca9();function _0x34eae2(_0xb62650){return!!_0xb62650&&(typeof _0xb62650===_0x55520b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb62650===_0x55520b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb62650[_0x55520b([0x74,0x68,0x65,0x6e])]===_0x55520b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb62650[_0x55520b([0x63,0x61,0x74,0x63,0x68])]===_0x55520b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3eac17(_0x10f5aa){_0x1ea776(_0x10f5aa)[_0x55520b([0x74,0x68,0x65,0x6e])](_0x33bd72=>{if(!_0x33bd72||_0x33bd72[_0x55520b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55520b([0x6f,0x6b]))return _0x55520b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a5655(_0x1bf38f(_0xb9a2d1+_0x5aab7e))!=_0x33bd72[_0x55520b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55520b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55520b([0x56,0x61,0x6c,0x69,0x64]);})[_0x55520b([0x74,0x68,0x65,0x6e])](_0x19abee=>(_0x3a03e(),_0x19abee),()=>{const _0x562197=_0x3f53e1();return null==_0x562197?(_0x3a03e(),_0x55520b([0x56,0x61,0x6c,0x69,0x64])):_0x55520b(_0x2d7bba-_0x562197>(0x439caa45^_0x4e852c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55520b([0x74,0x68,0x65,0x6e])](_0x26543e)[_0x55520b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26543e(_0x55520b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x333ddb=0x67a6c0c5^_0x4e852c;function _0x3a03e(){const _0x36ed55=_0x55520b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5655(_0x1bf38f(_0x41cc59)),_0x45dc42=_0x34abf2(_0x4a5655(window[_0x55520b([0x4d,0x61,0x74,0x68])][_0x55520b([0x63,0x65,0x69,0x6c])](_0x2d7bba/_0x333ddb)));window[_0x55520b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55520b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ed55,_0x45dc42);}function _0x3f53e1(){const _0x5718a5=_0x55520b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5655(_0x1bf38f(_0x41cc59)),_0x26fa3c=window[_0x55520b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55520b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5718a5);return _0x26fa3c?window[_0x55520b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34abf2(_0x26fa3c),0x10)*_0x333ddb:null;}function _0x1ea776(_0x24c1fc){return new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4497ef,_0x205313)=>{_0x24c1fc[_0x55520b([0x74,0x68,0x65,0x6e])](_0x4497ef,_0x205313),window[_0x55520b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x205313,0x6791fa85^_0x4e852c);});}}_0x50c9b5[_0x55520b([0x6f,0x6e])](_0x55520b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcb8113,_0x4d8da1)=>{if(_0x4d8da1[0x0]!=_0x41cc59)return _0x26543e(_0x55520b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d8da1[0x1]={..._0x4d8da1[0x1],[_0x55520b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb9a2d1};},{[_0x55520b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55520b([0x68,0x69,0x67,0x68])}),_0x50c9b5[_0x55520b([0x6f,0x6e])](_0x55520b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11c165=>{_0x34eae2(_0x11c165[_0x55520b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x451c79=!0x0,_0x3eac17(_0x11c165[_0x55520b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55520b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55520b([0x6c,0x6f,0x77])}),_0x12b0b3[_0x55520b([0x74,0x68,0x65,0x6e])](()=>{_0x451c79||_0x26543e(_0x55520b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48788d(){return _0x50c9b5[_0x55520b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55520b([0x76,0x69,0x65,0x77])][_0x55520b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55520b([0x61,0x75,0x74,0x6f]);}function _0x4211e2(){_0x50c9b5[_0x55520b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55520b([0x76,0x69,0x65,0x77])][_0x55520b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55520b([0x61,0x75,0x74,0x6f]);}}function _0x510b9f(_0x11c0fd){const _0x565710=[new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc5e00a=>setTimeout(_0xc5e00a,0x67991089^_0x4e852c)),_0x12b0b3[_0x55520b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46f07a=>{let _0x13aa04=0x0;_0x50c9b5[_0x55520b([0x6d,0x6f,0x64,0x65,0x6c])][_0x55520b([0x6f,0x6e])](_0x55520b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11e726,_0x5cd034)=>{_0x5cd034[0x0][_0x55520b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13aa04++,_0x13aa04==(0x67902fbd^_0x4e852c)&&(_0x46f07a(),_0x11e726[_0x55520b([0x6f,0x66,0x66])]());});}))];return window[_0x55520b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55520b([0x72,0x61,0x63,0x65])](_0x565710)[_0x55520b([0x74,0x68,0x65,0x6e])](()=>_0x11c0fd);}async function _0x2425ed(){await _0x12b0b3,_0x50c9b5[_0x55520b([0x6d,0x6f,0x64,0x65,0x6c])][_0x55520b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10ebea,_0x50c9b5[_0x55520b([0x6d,0x6f,0x64,0x65,0x6c])][_0x55520b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10ebea,_0x50c9b5[_0x55520b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55520b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ff5d2(_0x29896c){const _0x55f886=_0x348e4c();_0x50c9b5[_0x55f886]=_0x55520b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29896c,_0x29896c!=_0x55520b([0x56,0x61,0x6c,0x69,0x64])&&_0x2425ed();}function _0x348e4c(){const _0x44ff3e=window[_0x55520b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55520b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55520b([0x6e,0x6f,0x77])]())[_0x55520b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55520b([0x2e]),'');let _0x3ff545=_0x55520b([0x44]);for(let _0x2666af=0x0;_0x2666af<_0x44ff3e[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2666af+=0x2){let _0x5c9511=window[_0x55520b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ff3e[_0x55520b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2666af,_0x2666af+0x2));_0x5c9511>=_0x48d193[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c9511-=_0x48d193[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ff545+=_0x48d193[_0x5c9511];}return _0x3ff545;}function _0x329854(){const _0x5cd3f5=_0x40b495[_0x55520b([0x73,0x70,0x6c,0x69,0x74])](_0x55520b([0x2e]));if(0x3!=_0x5cd3f5[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb228c2(_0x5cd3f5[0x1]);function _0xb228c2(_0x5a5b46){const _0x34397a=_0x1688bd(_0x5a5b46);return _0x34397a&&_0x2b1184()?_0x34397a:null;function _0x2b1184(){const _0x10a3a9=_0x34397a[_0x55520b([0x6a,0x74,0x69])],_0x173f55=window[_0x55520b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10a3a9[_0x55520b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10a3a9[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36cfc6={..._0x34397a,[_0x55520b([0x6a,0x74,0x69])]:_0x10a3a9[_0x55520b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10a3a9[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36cfc6[_0x55520b([0x76,0x63])],_0x1bf38f(_0x36cfc6)==_0x173f55;}}}async function _0x3199c1(){let _0x52f62a=!0x0;try{const _0x1ecf96=_0x40b495[_0x55520b([0x73,0x70,0x6c,0x69,0x74])](_0x55520b([0x2e])),[_0x3ea9a9,_0x49edb1,_0x4ba2d1]=_0x1ecf96;return _0x3668da(_0x3ea9a9),await _0x2555f6(_0x3ea9a9,_0x49edb1,_0x4ba2d1),_0x52f62a;}catch(_0x169639){return!0x1;}function _0x3668da(_0x305e2b){const _0x42458e=_0x1688bd(_0x305e2b);_0x42458e&&_0x42458e[_0x55520b([0x61,0x6c,0x67])]==_0x55520b([0x45,0x53,0x32,0x35,0x36])||(_0x52f62a=!0x1);}async function _0x2555f6(_0x559f67,_0x51fbdf,_0x3e2792){const _0x1fd8a4=window[_0x55520b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55520b([0x66,0x72,0x6f,0x6d])](_0x4cbc44(_0x3e2792),_0x2febb1=>_0x2febb1[_0x55520b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x525bcb=new window[(_0x55520b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55520b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x559f67+_0x55520b([0x2e])+_0x51fbdf),_0x461c59=window[_0x55520b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55520b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x461c59)return;const _0x598a1f=await _0x461c59[_0x55520b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55520b([0x6a,0x77,0x6b]),_0x3496f8,{[_0x55520b([0x6e,0x61,0x6d,0x65])]:_0x55520b([0x45,0x43,0x44,0x53,0x41]),[_0x55520b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55520b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55520b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x461c59[_0x55520b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55520b([0x6e,0x61,0x6d,0x65])]:_0x55520b([0x45,0x43,0x44,0x53,0x41]),[_0x55520b([0x68,0x61,0x73,0x68])]:{[_0x55520b([0x6e,0x61,0x6d,0x65])]:_0x55520b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x598a1f,_0x1fd8a4,_0x525bcb)||(_0x52f62a=!0x1);}}function _0x1688bd(_0x4390e4){return _0x4390e4[_0x55520b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55520b([0x65,0x79]))?JSON[_0x55520b([0x70,0x61,0x72,0x73,0x65])](_0x4cbc44(_0x4390e4)):null;}function _0x4cbc44(_0x170c95){return window[_0x55520b([0x61,0x74,0x6f,0x62])](_0x170c95[_0x55520b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55520b([0x2b]))[_0x55520b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55520b([0x2f])));}function _0x1bf38f(_0x303853){let _0x4c4d2a=0x1505;function _0x4538f8(_0x176a80){for(let _0x12a141=0x0;_0x12a141<_0x176a80[_0x55520b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12a141++){const _0x2ab056=_0x176a80[_0x55520b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12a141);_0x4c4d2a=(_0x4c4d2a<<0x5)+_0x4c4d2a+_0x2ab056,_0x4c4d2a&=_0x4c4d2a;}}function _0x1b716e(_0x158dd6){Array[_0x55520b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x158dd6)?_0x158dd6[_0x55520b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b716e):_0x158dd6&&typeof _0x158dd6==_0x55520b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55520b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x158dd6)[_0x55520b([0x73,0x6f,0x72,0x74])]()[_0x55520b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1473ba,_0x236911])=>{_0x4538f8(_0x1473ba),_0x1b716e(_0x236911);}):_0x4538f8(window[_0x55520b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x158dd6));}return _0x1b716e(_0x303853),_0x4c4d2a>>>0x0;}function _0x4a5655(_0x5a4960){return _0x5a4960[_0x55520b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55520b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55520b([0x30]));}function _0x34abf2(_0xf06958){return _0xf06958[_0x55520b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55520b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55520b([0x6a,0x6f,0x69,0x6e])]('');}function _0x10ebea(){}function _0x55520b(_0x44b6dc){const _0x2916f8=_0x52ea;return _0x44b6dc[_0x2916f8(0x108)](_0x295bb8=>String[_0x2916f8(0x116)](_0x295bb8))[_0x2916f8(0x129)]('');}_0x3ff5d2(await _0x320d5a());}(this);}[_0x5daa58(0x128)](){const _0x582c63=_0x5daa58,_0x4af341=this[_0x582c63(0x11f)][_0x582c63(0x107)][_0x582c63(0x10c)];_0x4af341[_0x582c63(0xfa)](_0x582c63(0x113))&&_0x4af341[_0x582c63(0x132)](_0x582c63(0x113),{'allowAttributes':[_0x582c63(0x104)]}),_0x4af341[_0x582c63(0xfa)](_0x582c63(0x110))&&_0x4af341[_0x582c63(0x132)](_0x582c63(0x110),{'allowAttributes':[_0x582c63(0x104)]});}[_0x5daa58(0x134)](){const _0x53d1ed=_0x5daa58,_0x1cdaee=this[_0x53d1ed(0x11f)];_0x1cdaee[_0x53d1ed(0x12d)][_0x53d1ed(0x126)](_0x53d1ed(0xe6))[_0x53d1ed(0x118)]({'model':_0x53d1ed(0x104),'view':_0x53d1ed(0xff)}),_0x1cdaee[_0x53d1ed(0x12d)][_0x53d1ed(0x126)](_0x53d1ed(0x11e))[_0x53d1ed(0x114)]({'model':{'key':_0x53d1ed(0x104),'value':_0x2517fd=>_0x2517fd[_0x53d1ed(0x11c)](_0x53d1ed(0xff))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x21efa4=_0x1cdaee[_0x53d1ed(0x11a)][_0x53d1ed(0x123)](_0x53d1ed(0x138));_0x21efa4&&this[_0x53d1ed(0xf2)](_0x21efa4,_0x53d1ed(0xeb),(_0x5a386d,[_0x5aaa81,_0x46dc5b])=>{const _0x205684=_0x53d1ed;_0x5aaa81[_0x205684(0x131)](_0x205684(0x104),_0x46dc5b);});}[_0x5daa58(0x133)](){const _0x21f7b7=_0x5daa58,_0x1f22a4=this[_0x21f7b7(0x11f)][_0x21f7b7(0x12f)][_0x21f7b7(0x123)](_0x21f7b7(0x122))||{},_0x54e582=this[_0x21f7b7(0x11f)][_0x21f7b7(0x12f)][_0x21f7b7(0x123)](_0x21f7b7(0x127))||'';this[_0x21f7b7(0xf4)]=_0x44ed3a(_0x1be687[_0x21f7b7(0x105)],_0x21f7b7(0xec),{..._0x1f22a4,'pubkey':_0x54e582,'ctx-name':_0x21f7b7(0x139),'sourceList':'','imgOnly':_0x21f7b7(0x10b),'removeCopyright':_0x21f7b7(0x10b),'localeName':this[_0x21f7b7(0x11f)][_0x21f7b7(0xe7)][_0x21f7b7(0x10a)],'externalSourcesEmbedCss':_0x21f7b7(0xef)}),this[_0x21f7b7(0xf4)][_0x21f7b7(0x11d)]=_0x10a163=>{const _0x389f55=_0x21f7b7;if(_0x389f55(0x135)==_0x10a163)return _0x389f55(0xf1);},_0x1be687[_0x21f7b7(0x105)][_0x21f7b7(0x13a)][_0x21f7b7(0xea)](this[_0x21f7b7(0xf4)]);}[_0x5daa58(0x102)](){const _0x2ad5d7=_0x5daa58;this[_0x2ad5d7(0xf0)]=_0x44ed3a(_0x1be687[_0x2ad5d7(0x105)],_0x2ad5d7(0xfb),{'ctx-name':_0x2ad5d7(0x139)}),_0x1be687[_0x2ad5d7(0x105)][_0x2ad5d7(0x13a)][_0x2ad5d7(0xea)](this[_0x2ad5d7(0xf0)]);}[_0x5daa58(0xf6)](){const _0x2b0a4e=_0x5daa58,_0x5a4e4f=this[_0x2b0a4e(0x11f)][_0x2b0a4e(0x11a)][_0x2b0a4e(0x123)](_0x2b0a4e(0x10e));_0x5a4e4f&&this[_0x2b0a4e(0xf2)](_0x5a4e4f,_0x2b0a4e(0x117),()=>{const _0x1f5f4e=_0x2b0a4e,_0x24970e=this[_0x1f5f4e(0x11f)][_0x1f5f4e(0x107)][_0x1f5f4e(0x105)][_0x1f5f4e(0x10d)][_0x1f5f4e(0xf3)]();_0x24970e&&_0x24970e[_0x1f5f4e(0x11c)](_0x1f5f4e(0x104))&&this[_0x1f5f4e(0x11f)][_0x1f5f4e(0xe9)][_0x1f5f4e(0xed)][_0x1f5f4e(0xfe)](_0x1f5f4e(0x106),()=>{const _0x2c5bac=_0x1f5f4e;_0x56629e(this[_0x2c5bac(0x11f)],_0x24970e);});});const _0x59eb79=this[_0x2b0a4e(0x11f)][_0x2b0a4e(0x11a)][_0x2b0a4e(0x123)](_0x2b0a4e(0x115));_0x59eb79&&this[_0x2b0a4e(0xf2)](_0x59eb79,_0x2b0a4e(0x117),()=>{const _0x13f14c=_0x2b0a4e,_0x107471=this[_0x13f14c(0x11f)][_0x13f14c(0x107)][_0x13f14c(0x105)][_0x13f14c(0x10d)][_0x13f14c(0xf3)]();_0x107471&&_0x107471[_0x13f14c(0x11c)](_0x13f14c(0x104))&&this[_0x13f14c(0x11f)][_0x13f14c(0xe9)][_0x13f14c(0xed)][_0x13f14c(0xfe)](_0x13f14c(0x106),()=>{const _0x95b94c=_0x13f14c;_0x56629e(this[_0x95b94c(0x11f)],_0x107471);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x306545,ObservableMixin as _0x1430c2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x810f39}from'ckeditor5/src/ui.js';import _0x169096 from'./uploadcareimageeditformview.js';import _0x150740 from'../../utils/uploadutils.js';import _0x3af9e0 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x55dd50,getImageDimension as _0x42904c}from'../../utils/editingutils.js';import{isAncestor as _0x5c3afc}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1430c2(){constructor(_0x4a8ab5,_0x26fa3e,_0x3d5d63){super(),this['_editor']=_0x4a8ab5,this['_dialog']=_0x26fa3e,this['_imageElement']=_0x3d5d63,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 _0x4f6944=this['_imageElement'],_0x16688b=_0x4f6944['getAttribute']('uploadcareImageId'),_0x324371=_0x4f6944['getAttribute']('src');if(_0x16688b)await this['_loadImageInfo'](_0x16688b,_0x324371);else{if(this['_imageCache']['has'](_0x324371)){const _0x1f98a5=this['_imageCache']['get'](_0x324371);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f98a5['url'],this['imageDimension']=_0x1f98a5['dimension'],this['imageId']=_0x1f98a5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x33d4e0}=this['_editor'],t=_0x33d4e0['t'],_0x37cfe5=new _0x169096(_0x33d4e0,this['imageStatus'],this['_attributes']);_0x37cfe5['bind']('status')['to'](this,'imageStatus'),_0x37cfe5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x37cfe5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x37cfe5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x37cfe5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3af9e0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x37cfe5,'position':_0x810f39['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x37cfe5['focus']();},'onHide':()=>{_0x37cfe5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c6565=>!_0x5c3afc(_0x1c6565,_0x37cfe5['element'])}});}['_loadImageInfo'](_0x27e51f,_0x193241){return _0x150740['getInfo'](_0x27e51f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x46f671=>{const {width:_0x57ffaf,height:_0x16c511}=_0x46f671['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x193241,this['imageDimension']={'width':_0x57ffaf,'height':_0x16c511},this['imageId']=_0x27e51f;})['catch'](_0x26a78d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26a78d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b8ce4,_0x290cc6){return this['_getImageAsFile'](_0x4b8ce4)['then'](_0x1038db=>_0x150740['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x290cc6['signal'],'file':_0x1038db,'onProgress':_0x163b57=>{_0x163b57&&_0x163b57['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x163b57['value']));}}))['then'](_0x2011fc=>{const {width:_0x8076a2,height:_0x34a20a}=_0x2011fc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2011fc['cdnUrl'],this['imageDimension']={'width':_0x8076a2,'height':_0x34a20a},this['imageId']=_0x2011fc['uuid'],this['imageUploadProgress']=null;const _0x52ff9e=_0x4b8ce4['getAttribute']('src');this['_imageCache']['set'](_0x52ff9e,{'id':_0x2011fc['uuid'],'url':_0x2011fc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5f0d77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5f0d77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2431b0,_0x4a2076){_0x2431b0['on']('apply',(_0x1108d5,_0x38eb2e)=>{this['_replaceImage'](_0x4a2076,_0x38eb2e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2431b0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2431b0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d2c4e,_0x4eae8c,_0x463e4c){const _0xa7e7c7=this['_editor'],{width:_0x1d15bd,height:_0x31a4a9}=_0x42904c(_0x4eae8c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x42ace8,imageSources:_0x1dc2d4}=_0x55dd50(_0x4eae8c,_0x1d15bd);_0xa7e7c7['model']['change'](_0x5c0c6d=>{if('$graveyard'===_0x5d2c4e['root']['rootName']){_0xa7e7c7['execute']('insertImage',{'imageType':_0x5d2c4e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d2c4e['getAttributes']()),'uploadcareImageId':_0x463e4c,'src':_0x42ace8,'sources':_0x1dc2d4,'width':_0x1d15bd,'height':_0x31a4a9}});const _0x4d3460=_0x5d2c4e['getChildren']();_0x5d2c4e=_0xa7e7c7['model']['document']['selection']['getSelectedElement']();for(const _0x2be08b of _0x4d3460)_0x5c0c6d['append'](_0x5c0c6d['cloneElement'](_0x2be08b),_0x5d2c4e);}else _0x5c0c6d['setSelection'](_0x5d2c4e,'on'),_0xa7e7c7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d2c4e['getAttributes']()),'uploadcareImageId':_0x463e4c,'src':_0x42ace8,'sources':_0x1dc2d4,'width':_0x1d15bd,'height':_0x31a4a9},_0x5d2c4e);_0x5c0c6d['setSelection'](_0x5d2c4e,'on');});}async['_getImageAsFile'](_0x50023b){const _0x17074a=_0x306545['window'],_0x13229d=_0x306545['document']['location']['href'],_0x16e050=new _0x17074a['URL'](_0x50023b['getAttribute']('src'),_0x13229d);if('data:'===_0x16e050['protocol']){const _0x11a029=_0x16e050['href']['split'](','),_0x3201ac=_0x11a029[0x0]['match'](/:(.*?);/)[0x1],_0x49d146=_0x3201ac['split']('/')[0x1],_0x5bbdf4=_0x17074a['atob'](_0x11a029[_0x11a029['length']-0x1]);let _0x52e9e2=_0x5bbdf4['length'];const _0x4cb3a3=new _0x17074a['Uint8Array'](_0x52e9e2);for(;_0x52e9e2--;)_0x4cb3a3[_0x52e9e2]=_0x5bbdf4['charCodeAt'](_0x52e9e2);return new _0x17074a['File']([_0x4cb3a3],'image.'+_0x49d146,{'type':_0x3201ac});}const _0x4d8645=_0x16e050['href']['split']('/'),_0x535ce8=_0x4d8645[_0x4d8645['length']-0x1],_0x495c67=_0x535ce8['split']('.')[0x1];return _0x17074a['fetch'](_0x16e050['href'])['then'](_0x5680ab=>_0x5680ab['clone']()['blob']())['then'](_0x3e3ecf=>new _0x17074a['File']([_0x3e3ecf],_0x535ce8,{'type':'image/'+_0x495c67}));}}
23
+ import{global as _0x340aeb,ObservableMixin as _0x4c05fb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56ab88}from'ckeditor5/src/ui.js';import _0x4c433e from'./uploadcareimageeditformview.js';import _0x4b1669 from'../../utils/uploadutils.js';import _0x171e57 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x5a3512,getImageDimension as _0x5f116d}from'../../utils/editingutils.js';import{isAncestor as _0x35042e}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
+ _0x4c05fb(){constructor(_0x283ad5,_0x5192ff,_0x3808ad){super(),this['_editor']=_0x283ad5,this['_dialog']=_0x5192ff,this['_imageElement']=_0x3808ad,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 _0x2d6caa=this['_imageElement'],_0x3e75cb=_0x2d6caa['getAttribute']('uploadcareImageId'),_0x6d662f=_0x2d6caa['getAttribute']('src');if(_0x3e75cb)await this['_loadImageInfo'](_0x3e75cb,_0x6d662f);else{if(this['_imageCache']['has'](_0x6d662f)){const _0x4965bd=this['_imageCache']['get'](_0x6d662f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4965bd['url'],this['imageDimension']=_0x4965bd['dimension'],this['imageId']=_0x4965bd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3f3fc9}=this['_editor'],t=_0x3f3fc9['t'],_0x212b92=new _0x4c433e(_0x3f3fc9,this['imageStatus'],this['_attributes']);_0x212b92['bind']('status')['to'](this,'imageStatus'),_0x212b92['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x212b92['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x212b92['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x212b92,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x171e57,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x212b92,'position':_0x56ab88['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x212b92['focus']();},'onHide':()=>{_0x212b92['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ffc74=>!_0x35042e(_0x4ffc74,_0x212b92['element'])}});}['_loadImageInfo'](_0x57f4d2,_0x54d456){return _0x4b1669['getInfo'](_0x57f4d2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ebfd3=>{const {width:_0x58740b,height:_0x28adda}=_0x4ebfd3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54d456,this['imageDimension']={'width':_0x58740b,'height':_0x28adda},this['imageId']=_0x57f4d2;})['catch'](_0x52085a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52085a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1acec5,_0x3e28ed){return this['_getImageAsFile'](_0x1acec5)['then'](_0x3d47da=>_0x4b1669['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3e28ed['signal'],'file':_0x3d47da,'onProgress':_0x1ea509=>{_0x1ea509&&_0x1ea509['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ea509['value']));}}))['then'](_0x4e845b=>{const {width:_0x16ed4f,height:_0x21a76a}=_0x4e845b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e845b['cdnUrl'],this['imageDimension']={'width':_0x16ed4f,'height':_0x21a76a},this['imageId']=_0x4e845b['uuid'],this['imageUploadProgress']=null;const _0x24add4=_0x1acec5['getAttribute']('src');this['_imageCache']['set'](_0x24add4,{'id':_0x4e845b['uuid'],'url':_0x4e845b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4536cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4536cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x541cf7,_0xb2508e){_0x541cf7['on']('apply',(_0xc71b88,_0x4606fd)=>{this['_replaceImage'](_0xb2508e,_0x4606fd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x541cf7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x541cf7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4af928,_0xa8e624,_0x2ba350){const _0x10ffb4=this['_editor'],{width:_0x33b7bb,height:_0x2adb30}=_0x5f116d(_0xa8e624,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x569d00,imageSources:_0x27f335}=_0x5a3512(_0xa8e624,_0x33b7bb);_0x10ffb4['model']['change'](_0x4d7a25=>{if('$graveyard'===_0x4af928['root']['rootName']){_0x10ffb4['execute']('insertImage',{'imageType':_0x4af928['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4af928['getAttributes']()),'uploadcareImageId':_0x2ba350,'src':_0x569d00,'sources':_0x27f335,'width':_0x33b7bb,'height':_0x2adb30}});const _0x9c6638=_0x4af928['getChildren']();_0x4af928=_0x10ffb4['model']['document']['selection']['getSelectedElement']();for(const _0x2fb6d3 of _0x9c6638)_0x4d7a25['append'](_0x4d7a25['cloneElement'](_0x2fb6d3),_0x4af928);}else _0x4d7a25['setSelection'](_0x4af928,'on'),_0x10ffb4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4af928['getAttributes']()),'uploadcareImageId':_0x2ba350,'src':_0x569d00,'sources':_0x27f335,'width':_0x33b7bb,'height':_0x2adb30},_0x4af928);_0x4d7a25['setSelection'](_0x4af928,'on');});}async['_getImageAsFile'](_0x1c4558){const _0xf55115=_0x340aeb['window'],_0x2867fc=_0x340aeb['document']['location']['href'],_0x66e6aa=new _0xf55115['URL'](_0x1c4558['getAttribute']('src'),_0x2867fc);if('data:'===_0x66e6aa['protocol']){const _0x58bf85=_0x66e6aa['href']['split'](','),_0x1f731a=_0x58bf85[0x0]['match'](/:(.*?);/)[0x1],_0x252f4e=_0x1f731a['split']('/')[0x1],_0x4c6ca6=_0xf55115['atob'](_0x58bf85[_0x58bf85['length']-0x1]);let _0x308111=_0x4c6ca6['length'];const _0x4384af=new _0xf55115['Uint8Array'](_0x308111);for(;_0x308111--;)_0x4384af[_0x308111]=_0x4c6ca6['charCodeAt'](_0x308111);return new _0xf55115['File']([_0x4384af],'image.'+_0x252f4e,{'type':_0x1f731a});}const _0x381b06=_0x66e6aa['href']['split']('/'),_0xa7d35=_0x381b06[_0x381b06['length']-0x1],_0x4877fa=_0xa7d35['split']('.')[0x1];return _0xf55115['fetch'](_0x66e6aa['href'])['then'](_0x1ed15e=>_0x1ed15e['clone']()['blob']())['then'](_0x591885=>new _0xf55115['File']([_0x591885],_0xa7d35,{'type':'image/'+_0x4877fa}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d7b(_0x11f97d,_0xbadc1d){const _0x6ef414=_0x6ef4();return _0x2d7b=function(_0x2d7ba0,_0x219e5c){_0x2d7ba0=_0x2d7ba0-0x195;let _0x3219eb=_0x6ef414[_0x2d7ba0];return _0x3219eb;},_0x2d7b(_0x11f97d,_0xbadc1d);}(function(_0x150a77,_0x44fe3e){const _0x15f511=_0x2d7b,_0x4ef243=_0x150a77();while(!![]){try{const _0x1d4bda=parseInt(_0x15f511(0x1a1))/0x1*(-parseInt(_0x15f511(0x19e))/0x2)+-parseInt(_0x15f511(0x19b))/0x3*(-parseInt(_0x15f511(0x195))/0x4)+-parseInt(_0x15f511(0x19c))/0x5*(-parseInt(_0x15f511(0x1a8))/0x6)+-parseInt(_0x15f511(0x1a6))/0x7*(-parseInt(_0x15f511(0x196))/0x8)+-parseInt(_0x15f511(0x19a))/0x9*(parseInt(_0x15f511(0x1a7))/0xa)+parseInt(_0x15f511(0x1a0))/0xb*(-parseInt(_0x15f511(0x1a3))/0xc)+-parseInt(_0x15f511(0x198))/0xd;if(_0x1d4bda===_0x44fe3e)break;else _0x4ef243['push'](_0x4ef243['shift']());}catch(_0x4728a5){_0x4ef243['push'](_0x4ef243['shift']());}}}(_0x6ef4,0x3ae7f));function _0x6ef4(){const _0x342f1e=['1389453gXDKJq','265LWqfpD','image-edit','1222PAvpbl','set','5047339MnDVTu','184kgHwbl','bindTemplate','12XXCvvP','uc-light','setTemplate','126wvObVN','94220IbOicM','53466jvANuP','imageSrc','4zazung','165208ObrptK','ck-uploadcare-theme','1040416kpUcCO','uc-cloud-image-editor','396oWYQmb'];_0x6ef4=function(){return _0x342f1e;};return _0x6ef4();}import{View as _0x5b69af}from'ckeditor5/src/ui.js';export default class tt extends _0x5b69af{constructor(_0x28e39b,_0xed25df){const _0x58f8a3=_0x2d7b;super(_0x28e39b);const _0x1411ff=this[_0x58f8a3(0x1a2)];this[_0x58f8a3(0x19f)](_0x58f8a3(0x1a9),''),this[_0x58f8a3(0x1a5)]({'tag':_0x58f8a3(0x199),'attributes':{..._0xed25df,'class':[_0x58f8a3(0x1a4),_0x58f8a3(0x197)],'ctx-name':_0x58f8a3(0x19d),'cdn-url':_0x1411ff['to'](_0x58f8a3(0x1a9))}});}}
23
+ function _0x1bee(_0xa431a0,_0x432bea){const _0x4503bd=_0x4503();return _0x1bee=function(_0x1bee5b,_0x1cea46){_0x1bee5b=_0x1bee5b-0x1a4;let _0x2db729=_0x4503bd[_0x1bee5b];return _0x2db729;},_0x1bee(_0xa431a0,_0x432bea);}(function(_0x445f4d,_0x3e3ebb){const _0x477c42=_0x1bee,_0xb23b58=_0x445f4d();while(!![]){try{const _0x4beb06=parseInt(_0x477c42(0x1aa))/0x1*(-parseInt(_0x477c42(0x1a5))/0x2)+-parseInt(_0x477c42(0x1b3))/0x3+-parseInt(_0x477c42(0x1a4))/0x4*(-parseInt(_0x477c42(0x1ab))/0x5)+-parseInt(_0x477c42(0x1af))/0x6+parseInt(_0x477c42(0x1a8))/0x7*(parseInt(_0x477c42(0x1a6))/0x8)+parseInt(_0x477c42(0x1b1))/0x9*(-parseInt(_0x477c42(0x1ae))/0xa)+parseInt(_0x477c42(0x1b2))/0xb;if(_0x4beb06===_0x3e3ebb)break;else _0xb23b58['push'](_0xb23b58['shift']());}catch(_0x33740d){_0xb23b58['push'](_0xb23b58['shift']());}}}(_0x4503,0x73db3));function _0x4503(){const _0x5b3084=['2685588ZsWVjS','bindTemplate','uc-cloud-image-editor','image-edit','73060yYGpNu','38018wpueYy','92632FUFsek','setTemplate','413otkFKH','ck-uploadcare-theme','3swGFCM','145ehIcuX','uc-light','imageSrc','354630CxODzP','4755420xSJyON','set','108kChQWN','15752550hakmWZ'];_0x4503=function(){return _0x5b3084;};return _0x4503();}import{View as _0x2dede7}from'ckeditor5/src/ui.js';export default class tt extends _0x2dede7{constructor(_0x36631e,_0x3f2ad0){const _0x5c4eeb=_0x1bee;super(_0x36631e);const _0x3e1742=this[_0x5c4eeb(0x1b4)];this[_0x5c4eeb(0x1b0)](_0x5c4eeb(0x1ad),''),this[_0x5c4eeb(0x1a7)]({'tag':_0x5c4eeb(0x1b5),'attributes':{..._0x3f2ad0,'class':[_0x5c4eeb(0x1ac),_0x5c4eeb(0x1a9)],'ctx-name':_0x5c4eeb(0x1b6),'cdn-url':_0x3e1742['to'](_0x5c4eeb(0x1ad))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x148085,IconView as et,View as _0x8a2c3b}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x8a2c3b{constructor(_0x23fa10){super(_0x23fa10);const t=_0x23fa10['t'];this['set']('errorType',null);const _0x46308f=new _0x148085(_0x23fa10);_0x46308f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x46308f['withText']=!0x0,_0x46308f['class']='ck-button-action',_0x46308f['on']('execute',()=>{this['fire']('retry');}),_0x46308f['bind']('isVisible')['to'](this,'errorType',_0x2c69f4=>'NotFound'!==_0x2c69f4);const _0x23ae27=new et();_0x23ae27['content']=at,_0x23ae27['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x567d1f=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':[_0x23ae27,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x567d1f['to']('errorType',_0xcc146e=>t('NotFound'!==_0xcc146e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x46308f]},{'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{ButtonView as _0x190ea4,IconView as et,View as _0x23cb07}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x23cb07{constructor(_0x28a164){super(_0x28a164);const t=_0x28a164['t'];this['set']('errorType',null);const _0x98e764=new _0x190ea4(_0x28a164);_0x98e764['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x98e764['withText']=!0x0,_0x98e764['class']='ck-button-action',_0x98e764['on']('execute',()=>{this['fire']('retry');}),_0x98e764['bind']('isVisible')['to'](this,'errorType',_0xf6feed=>'NotFound'!==_0xf6feed);const _0x5a6095=new et();_0x5a6095['content']=at,_0x5a6095['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f4f5d=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':[_0x5a6095,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f4f5d['to']('errorType',_0x58cfb7=>t('NotFound'!==_0x58cfb7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x98e764]},{'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 _0x57a460,View as _0x65d3eb}from'ckeditor5/src/ui.js';export default class ta extends _0x65d3eb{constructor(_0x96d2ea){super(_0x96d2ea);const t=_0x96d2ea['t'],_0x2e21c0=this['bindTemplate'],_0x193e00=new _0x57a460();_0x193e00['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':[_0x193e00,{'text':_0x2e21c0['to']('imageUploadProgress',_0x4c051b=>t('Loading\x20image...')+'\x20('+(_0x4c051b||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 _0x3c9dce,View as _0x11d937}from'ckeditor5/src/ui.js';export default class ta extends _0x11d937{constructor(_0xe41a21){super(_0xe41a21);const t=_0xe41a21['t'],_0x2fb8bb=this['bindTemplate'],_0x5581b9=new _0x3c9dce();_0x5581b9['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':[_0x5581b9,{'text':_0x2fb8bb['to']('imageUploadProgress',_0x31002c=>t('Loading\x20image...')+'\x20('+(_0x31002c||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 _0x400fbc=_0x5818;(function(_0x1642d4,_0x22062f){const _0x114100=_0x5818,_0x3d1ef6=_0x1642d4();while(!![]){try{const _0x42c148=-parseInt(_0x114100(0x1ca))/0x1*(-parseInt(_0x114100(0x1c0))/0x2)+parseInt(_0x114100(0x1b5))/0x3+-parseInt(_0x114100(0x1ad))/0x4+parseInt(_0x114100(0x1bd))/0x5+-parseInt(_0x114100(0x1d2))/0x6*(-parseInt(_0x114100(0x1c1))/0x7)+parseInt(_0x114100(0x1b1))/0x8+-parseInt(_0x114100(0x1c5))/0x9;if(_0x42c148===_0x22062f)break;else _0x3d1ef6['push'](_0x3d1ef6['shift']());}catch(_0x31d2f3){_0x3d1ef6['push'](_0x3d1ef6['shift']());}}}(_0x59cb,0x8fc69));function _0x5818(_0x24ad4f,_0x315f57){const _0x59cbd0=_0x59cb();return _0x5818=function(_0x5818b0,_0x431c59){_0x5818b0=_0x5818b0-0x1a8;let _0x206685=_0x59cbd0[_0x5818b0];return _0x206685;},_0x5818(_0x24ad4f,_0x315f57);}import{View as _0x5d7ba0}from'ckeditor5/src/ui.js';import _0x5cc8aa from'./uploadcareimageeditformloadingview.js';import _0x1072e9 from'./uploadcareimageeditformerrorview.js';import _0x13ac64 from'./uploadcareimageeditformeditingview.js';import _0x373b05 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x373b05{constructor(_0x581db9,_0x5913b2,_0x1591c6){const _0x1d3317=_0x5818;super(_0x581db9),this[_0x1d3317(0x1b3)]=this[_0x1d3317(0x1c3)](),this[_0x1d3317(0x1d1)]=new _0x5cc8aa(_0x581db9),this[_0x1d3317(0x1bb)]=new _0x1072e9(_0x581db9),this[_0x1d3317(0x1a8)]=new _0x13ac64(_0x581db9,_0x1591c6),this[_0x1d3317(0x1b7)]=new _0x5d7ba0(_0x581db9),this[_0x1d3317(0x1b7)][_0x1d3317(0x1cb)](this[_0x1d3317(0x1b0)]()),this[_0x1d3317(0x1c8)](_0x1d3317(0x1b4),_0x5913b2),this[_0x1d3317(0x1cb)]({'tag':_0x1d3317(0x1bf),'attributes':{'class':['ck',_0x1d3317(0x1d8),_0x1d3317(0x1cc)],'tabindex':'-1'},'children':this[_0x1d3317(0x1b3)]}),this[_0x1d3317(0x1ac)](),this[_0x1d3317(0x1c2)](_0x1d3317(0x1af),()=>{const _0x6643e4=_0x1d3317;this[_0x6643e4(0x1d3)](this[_0x6643e4(0x1d6)],_0x5b33c5=>{const _0x14b7f7=_0x6643e4;this[_0x14b7f7(0x1c7)](_0x5b33c5);});}),this['on'](_0x1d3317(0x1ab),()=>{const _0xd6a826=_0x1d3317;this[_0xd6a826(0x1ac)]();}),this[_0x1d3317(0x1da)]();}[_0x400fbc(0x1be)](){const _0x5a1909=_0x400fbc;this[_0x5a1909(0x1d6)][_0x5a1909(0x1be)]();}[_0x400fbc(0x1ac)](){const _0x1e72f6=_0x400fbc;switch(this[_0x1e72f6(0x1b3)][_0x1e72f6(0x1c6)](),this[_0x1e72f6(0x1b4)]){case _0x1e72f6(0x1ae):this[_0x1e72f6(0x1b3)][_0x1e72f6(0x1cf)](this[_0x1e72f6(0x1d1)]);break;case _0x1e72f6(0x1d9):this[_0x1e72f6(0x1b3)][_0x1e72f6(0x1cf)](this[_0x1e72f6(0x1bb)]);break;case _0x1e72f6(0x1d5):this[_0x1e72f6(0x1b3)][_0x1e72f6(0x1d4)]([this[_0x1e72f6(0x1a8)],this[_0x1e72f6(0x1b7)]]);}}[_0x400fbc(0x1d3)](_0x20a0df,_0x42595d){const _0x4f180b=_0x400fbc,_0x2eb1b6=_0x4f180b(0x1b8),_0x3473da=_0x20a0df[_0x4f180b(0x1a9)](_0x2eb1b6);if(_0x3473da)return _0x42595d(_0x3473da);const _0x48dd2e=new MutationObserver(_0x1fb336=>{const _0x44e26d=_0x4f180b,_0x31784b=_0x1fb336[_0x44e26d(0x1ba)](_0x1a0bc1=>_0x1a0bc1[_0x44e26d(0x1ce)]===_0x20a0df&&_0x1a0bc1[_0x44e26d(0x1d7)][_0x44e26d(0x1db)]>0x0&&_0x1a0bc1[_0x44e26d(0x1d7)][0x0][_0x44e26d(0x1d0)][_0x44e26d(0x1b6)]()===_0x2eb1b6);_0x31784b[_0x44e26d(0x1db)]&&(_0x48dd2e[_0x44e26d(0x1dd)](),_0x42595d(_0x31784b[0x0][_0x44e26d(0x1d7)][0x0]));});_0x48dd2e[_0x4f180b(0x1bc)](_0x20a0df,{'childList':!0x0,'subtree':!0x0});}[_0x400fbc(0x1c7)](_0x23786f){const _0x39e840=_0x400fbc;_0x23786f[_0x39e840(0x1cd)](_0x39e840(0x1b2),_0x5ca3ff=>{const _0xb4b2de=_0x39e840;this[_0xb4b2de(0x1c4)](_0xb4b2de(0x1b2),{'imageSrc':_0x5ca3ff[_0xb4b2de(0x1b9)][_0xb4b2de(0x1aa)]});}),_0x23786f[_0x39e840(0x1cd)](_0x39e840(0x1c9),()=>{const _0x29fdfb=_0x39e840;this[_0x29fdfb(0x1c4)](_0x29fdfb(0x1c9));});}[_0x400fbc(0x1da)](){const _0x3bbcf5=_0x400fbc;this[_0x3bbcf5(0x1bb)]['on'](_0x3bbcf5(0x1dc),()=>{const _0x3602e4=_0x3bbcf5;this[_0x3602e4(0x1c4)](_0x3602e4(0x1dc));});}}function _0x59cb(){const _0x2273dd=['detail','filter','_errorView','observe','1719825LIedZO','focus','div','1350pflJyl','1145823wccbLi','once','createCollection','fire','1954575csxcZC','clear','_addUploadcareImageEditorListeners','set','cancel','250yGLBda','setTemplate','ck-uploadcare-form','addEventListener','target','add','nodeName','_loadingView','12gDrkHD','_waitForImageEditorComponent','addMany','ready','element','addedNodes','ck-reset_all-excluded','error','_addErrorViewListeners','length','retry','disconnect','_editingView','querySelector','cdnUrl','change:status','_setView','2923852GPGZaG','uploading','render','getFocusableElement','597688CJztdy','apply','_items','status','1866717ddREHF','toLowerCase','_focusableView','uc-cloud-image-editor'];_0x59cb=function(){return _0x2273dd;};return _0x59cb();}
23
+ const _0x570ee0=_0x733e;(function(_0x3e6b5d,_0x22562d){const _0x57512c=_0x733e,_0x2baaa4=_0x3e6b5d();while(!![]){try{const _0xc93e8c=parseInt(_0x57512c(0x1a4))/0x1+parseInt(_0x57512c(0x190))/0x2*(parseInt(_0x57512c(0x193))/0x3)+parseInt(_0x57512c(0x197))/0x4+parseInt(_0x57512c(0x188))/0x5+parseInt(_0x57512c(0x181))/0x6*(-parseInt(_0x57512c(0x173))/0x7)+-parseInt(_0x57512c(0x1a0))/0x8+parseInt(_0x57512c(0x18a))/0x9*(-parseInt(_0x57512c(0x19e))/0xa);if(_0xc93e8c===_0x22562d)break;else _0x2baaa4['push'](_0x2baaa4['shift']());}catch(_0x21d506){_0x2baaa4['push'](_0x2baaa4['shift']());}}}(_0x3d20,0x45581));import{View as _0x402dff}from'ckeditor5/src/ui.js';import _0x32a3a8 from'./uploadcareimageeditformloadingview.js';import _0x13aad9 from'./uploadcareimageeditformerrorview.js';import _0x12c2f3 from'./uploadcareimageeditformeditingview.js';import _0x3be0d7 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x3d20(){const _0x597b93=['ck-reset_all-excluded','212460zMQueJ','div','error','nodeName','cancel','_items','filter','2520390cQRDOn','change:status','11223NYSZFT','_addErrorViewListeners','set','getFocusableElement','focus','uploading','526ZAfIwf','toLowerCase','createCollection','1566pHpvIX','_errorView','retry','detail','779340XfphdC','uc-cloud-image-editor','addEventListener','ready','add','fire','element','2370vnAoGS','_waitForImageEditorComponent','792696vxwOab','_focusableView','setTemplate','once','409020OYvIfB','_loadingView','status','cdnUrl','addedNodes','_setView','112HkXDsq','ck-uploadcare-form','render','length','observe','querySelector','clear','disconnect','addMany','_addUploadcareImageEditorListeners','target','apply','_editingView'];_0x3d20=function(){return _0x597b93;};return _0x3d20();}function _0x733e(_0x29d7dc,_0xad2a38){const _0x3d2013=_0x3d20();return _0x733e=function(_0x733e9,_0x5b2797){_0x733e9=_0x733e9-0x173;let _0x4b152c=_0x3d2013[_0x733e9];return _0x4b152c;},_0x733e(_0x29d7dc,_0xad2a38);}export default class Z extends _0x3be0d7{constructor(_0x292380,_0x759f30,_0x146538){const _0x49c7bb=_0x733e;super(_0x292380),this[_0x49c7bb(0x186)]=this[_0x49c7bb(0x192)](),this[_0x49c7bb(0x1a5)]=new _0x32a3a8(_0x292380),this[_0x49c7bb(0x194)]=new _0x13aad9(_0x292380),this[_0x49c7bb(0x17f)]=new _0x12c2f3(_0x292380,_0x146538),this[_0x49c7bb(0x1a1)]=new _0x402dff(_0x292380),this[_0x49c7bb(0x1a1)][_0x49c7bb(0x1a2)](this[_0x49c7bb(0x18d)]()),this[_0x49c7bb(0x18c)](_0x49c7bb(0x1a6),_0x759f30),this[_0x49c7bb(0x1a2)]({'tag':_0x49c7bb(0x182),'attributes':{'class':['ck',_0x49c7bb(0x180),_0x49c7bb(0x174)],'tabindex':'-1'},'children':this[_0x49c7bb(0x186)]}),this[_0x49c7bb(0x1a9)](),this[_0x49c7bb(0x1a3)](_0x49c7bb(0x175),()=>{const _0x469c99=_0x49c7bb;this[_0x469c99(0x19f)](this[_0x469c99(0x19d)],_0x22354c=>{const _0x334d80=_0x469c99;this[_0x334d80(0x17c)](_0x22354c);});}),this['on'](_0x49c7bb(0x189),()=>{const _0x4797f2=_0x49c7bb;this[_0x4797f2(0x1a9)]();}),this[_0x49c7bb(0x18b)]();}[_0x570ee0(0x18e)](){const _0xc5c59a=_0x570ee0;this[_0xc5c59a(0x19d)][_0xc5c59a(0x18e)]();}[_0x570ee0(0x1a9)](){const _0x5be751=_0x570ee0;switch(this[_0x5be751(0x186)][_0x5be751(0x179)](),this[_0x5be751(0x1a6)]){case _0x5be751(0x18f):this[_0x5be751(0x186)][_0x5be751(0x19b)](this[_0x5be751(0x1a5)]);break;case _0x5be751(0x183):this[_0x5be751(0x186)][_0x5be751(0x19b)](this[_0x5be751(0x194)]);break;case _0x5be751(0x19a):this[_0x5be751(0x186)][_0x5be751(0x17b)]([this[_0x5be751(0x17f)],this[_0x5be751(0x1a1)]]);}}[_0x570ee0(0x19f)](_0x17115e,_0x31794f){const _0x497be1=_0x570ee0,_0x12cb46=_0x497be1(0x198),_0x259676=_0x17115e[_0x497be1(0x178)](_0x12cb46);if(_0x259676)return _0x31794f(_0x259676);const _0x2e2451=new MutationObserver(_0x548cc4=>{const _0x4198e9=_0x497be1,_0x28c873=_0x548cc4[_0x4198e9(0x187)](_0x2a617b=>_0x2a617b[_0x4198e9(0x17d)]===_0x17115e&&_0x2a617b[_0x4198e9(0x1a8)][_0x4198e9(0x176)]>0x0&&_0x2a617b[_0x4198e9(0x1a8)][0x0][_0x4198e9(0x184)][_0x4198e9(0x191)]()===_0x12cb46);_0x28c873[_0x4198e9(0x176)]&&(_0x2e2451[_0x4198e9(0x17a)](),_0x31794f(_0x28c873[0x0][_0x4198e9(0x1a8)][0x0]));});_0x2e2451[_0x497be1(0x177)](_0x17115e,{'childList':!0x0,'subtree':!0x0});}[_0x570ee0(0x17c)](_0x4d05ea){const _0x581d93=_0x570ee0;_0x4d05ea[_0x581d93(0x199)](_0x581d93(0x17e),_0x57959e=>{const _0x130cd1=_0x581d93;this[_0x130cd1(0x19c)](_0x130cd1(0x17e),{'imageSrc':_0x57959e[_0x130cd1(0x196)][_0x130cd1(0x1a7)]});}),_0x4d05ea[_0x581d93(0x199)](_0x581d93(0x185),()=>{const _0x32a268=_0x581d93;this[_0x32a268(0x19c)](_0x32a268(0x185));});}[_0x570ee0(0x18b)](){const _0x2b7fa4=_0x570ee0;this[_0x2b7fa4(0x194)]['on'](_0x2b7fa4(0x195),()=>{const _0x21daf2=_0x2b7fa4;this[_0x21daf2(0x19c)](_0x21daf2(0x195));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x528d(){const _0x20d9e3=['execute','8026960URuWNp','imageInline','238359VcgoGE','getSelectedElement','bind','uploadcare.allowExternalImagesEditing','isActive','154750slenLN','element','imageEditController','1437919VZHXFK','config','_isEditable','editor','543020vJmZei','set','get','document','2083730gRfdyS','selection','refresh','requires','plugins','2739363TcFoFi','isEnabled','model','unbind','12XfArdc','imageBlock'];_0x528d=function(){return _0x20d9e3;};return _0x528d();}function _0x4c7a(_0x28f618,_0x1dd16f){const _0x528dd4=_0x528d();return _0x4c7a=function(_0x4c7a5c,_0xce16b7){_0x4c7a5c=_0x4c7a5c-0x1e6;let _0x33cf5c=_0x528dd4[_0x4c7a5c];return _0x33cf5c;},_0x4c7a(_0x28f618,_0x1dd16f);}const _0x5d71f3=_0x4c7a;(function(_0x3b7992,_0x1b104a){const _0x439107=_0x4c7a,_0x5aab8c=_0x3b7992();while(!![]){try{const _0x254993=parseInt(_0x439107(0x1ea))/0x1+parseInt(_0x439107(0x1fa))/0x2+parseInt(_0x439107(0x1ff))/0x3+-parseInt(_0x439107(0x1f6))/0x4+-parseInt(_0x439107(0x1ef))/0x5+-parseInt(_0x439107(0x203))/0x6*(parseInt(_0x439107(0x1f2))/0x7)+-parseInt(_0x439107(0x1e8))/0x8;if(_0x254993===_0x1b104a)break;else _0x5aab8c['push'](_0x5aab8c['shift']());}catch(_0x1b2b79){_0x5aab8c['push'](_0x5aab8c['shift']());}}}(_0x528d,0x95854));import{Command as _0x59234b}from'ckeditor5/src/core.js';import{Dialog as _0x1f3723}from'ckeditor5/src/ui.js';import _0x3396bb from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5a2df9}from'../utils/editingutils.js';export default class J extends _0x59234b{static get[_0x5d71f3(0x1fd)](){return[_0x1f3723];}constructor(_0x2c7c2e){const _0x31620b=_0x5d71f3;super(_0x2c7c2e),this[_0x31620b(0x1f1)]=void 0x0,this[_0x31620b(0x1f4)]=_0x5a2df9(_0x2c7c2e[_0x31620b(0x1f3)][_0x31620b(0x1f8)](_0x31620b(0x1ed))||[]),this[_0x31620b(0x1f7)]({'isActive':!0x1});}[_0x5d71f3(0x1fc)](){const _0x5889c4=_0x5d71f3,_0x5a48f2=this[_0x5889c4(0x1f5)][_0x5889c4(0x201)][_0x5889c4(0x1f9)][_0x5889c4(0x1fb)][_0x5889c4(0x1eb)]();this[_0x5889c4(0x200)]=this[_0x5889c4(0x1f4)](_0x5a48f2);}[_0x5d71f3(0x1e7)](){const _0x190342=_0x5d71f3;this[_0x190342(0x1f1)]&&(this[_0x190342(0x202)](_0x190342(0x1ee)),this[_0x190342(0x1f1)]=void 0x0);const _0x5bd078=this[_0x190342(0x1f5)][_0x190342(0x201)][_0x190342(0x1f9)][_0x190342(0x1fb)][_0x190342(0x1eb)]();_0x5bd078&&(_0x5bd078['is'](_0x190342(0x1f0),_0x190342(0x1e6))||_0x5bd078['is'](_0x190342(0x1f0),_0x190342(0x1e9)))&&(this[_0x190342(0x1f1)]=new _0x3396bb(this[_0x190342(0x1f5)],this[_0x190342(0x1f5)][_0x190342(0x1fe)][_0x190342(0x1f8)](_0x1f3723),_0x5bd078),this[_0x190342(0x1ec)](_0x190342(0x1ee))['to'](this[_0x190342(0x1f1)],_0x190342(0x1ee)));}}
23
+ const _0x196ccf=_0x4435;(function(_0x3aa3f3,_0x6727fd){const _0x7af9db=_0x4435,_0x168be8=_0x3aa3f3();while(!![]){try{const _0x5d387d=-parseInt(_0x7af9db(0x17e))/0x1*(-parseInt(_0x7af9db(0x16f))/0x2)+parseInt(_0x7af9db(0x178))/0x3*(-parseInt(_0x7af9db(0x174))/0x4)+-parseInt(_0x7af9db(0x17f))/0x5+-parseInt(_0x7af9db(0x175))/0x6+-parseInt(_0x7af9db(0x166))/0x7*(-parseInt(_0x7af9db(0x165))/0x8)+-parseInt(_0x7af9db(0x183))/0x9*(-parseInt(_0x7af9db(0x179))/0xa)+parseInt(_0x7af9db(0x16d))/0xb*(-parseInt(_0x7af9db(0x16c))/0xc);if(_0x5d387d===_0x6727fd)break;else _0x168be8['push'](_0x168be8['shift']());}catch(_0x34dc0d){_0x168be8['push'](_0x168be8['shift']());}}}(_0x1d52,0x708c3));import{Command as _0x359f92}from'ckeditor5/src/core.js';import{Dialog as _0xd25a96}from'ckeditor5/src/ui.js';function _0x4435(_0x4ac22b,_0x55a544){const _0x1d520f=_0x1d52();return _0x4435=function(_0x443579,_0x3e7a6b){_0x443579=_0x443579-0x165;let _0x43fe4a=_0x1d520f[_0x443579];return _0x43fe4a;},_0x4435(_0x4ac22b,_0x55a544);}function _0x1d52(){const _0x5acbc9=['config','imageEditController','imageBlock','9ZpWelT','model','element','get','16WWJfaE','1474396ZeWSTD','isEnabled','requires','set','unbind','isActive','12MCliqs','309551WoPfoS','document','2056dgSUWX','execute','uploadcare.allowExternalImagesEditing','bind','refresh','719624GSysEv','1115484Mfqoyq','editor','imageInline','6MPJHvr','2417410mkkvPx','_isEditable','plugins','selection','getSelectedElement','674FDKbLi','1605035moagvB'];_0x1d52=function(){return _0x5acbc9;};return _0x1d52();}import _0x34eea4 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x9b7a3a}from'../utils/editingutils.js';export default class V extends _0x359f92{static get[_0x196ccf(0x168)](){return[_0xd25a96];}constructor(_0x53da8c){const _0x3c8ee4=_0x196ccf;super(_0x53da8c),this[_0x3c8ee4(0x181)]=void 0x0,this[_0x3c8ee4(0x17a)]=_0x9b7a3a(_0x53da8c[_0x3c8ee4(0x180)][_0x3c8ee4(0x186)](_0x3c8ee4(0x171))||[]),this[_0x3c8ee4(0x169)]({'isActive':!0x1});}[_0x196ccf(0x173)](){const _0x5824d2=_0x196ccf,_0x1952a3=this[_0x5824d2(0x176)][_0x5824d2(0x184)][_0x5824d2(0x16e)][_0x5824d2(0x17c)][_0x5824d2(0x17d)]();this[_0x5824d2(0x167)]=this[_0x5824d2(0x17a)](_0x1952a3);}[_0x196ccf(0x170)](){const _0x42aae6=_0x196ccf;this[_0x42aae6(0x181)]&&(this[_0x42aae6(0x16a)](_0x42aae6(0x16b)),this[_0x42aae6(0x181)]=void 0x0);const _0x4969a8=this[_0x42aae6(0x176)][_0x42aae6(0x184)][_0x42aae6(0x16e)][_0x42aae6(0x17c)][_0x42aae6(0x17d)]();_0x4969a8&&(_0x4969a8['is'](_0x42aae6(0x185),_0x42aae6(0x182))||_0x4969a8['is'](_0x42aae6(0x185),_0x42aae6(0x177)))&&(this[_0x42aae6(0x181)]=new _0x34eea4(this[_0x42aae6(0x176)],this[_0x42aae6(0x176)][_0x42aae6(0x17b)][_0x42aae6(0x186)](_0xd25a96),_0x4969a8),this[_0x42aae6(0x172)](_0x42aae6(0x16b))['to'](this[_0x42aae6(0x181)],_0x42aae6(0x16b)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e7b68=_0x48ea;(function(_0x2d0177,_0x1c16df){const _0x353084=_0x48ea,_0x2cdfdd=_0x2d0177();while(!![]){try{const _0x2d6507=-parseInt(_0x353084(0x197))/0x1+parseInt(_0x353084(0x192))/0x2+parseInt(_0x353084(0x199))/0x3*(-parseInt(_0x353084(0x191))/0x4)+-parseInt(_0x353084(0x195))/0x5+parseInt(_0x353084(0x19b))/0x6+parseInt(_0x353084(0x1a1))/0x7+parseInt(_0x353084(0x194))/0x8;if(_0x2d6507===_0x1c16df)break;else _0x2cdfdd['push'](_0x2cdfdd['shift']());}catch(_0x2b55fd){_0x2cdfdd['push'](_0x2cdfdd['shift']());}}}(_0x4bc9,0xa9454));import{Plugin as _0x47a211}from'ckeditor5/src/core.js';import{Notification as _0x570900}from'ckeditor5/src/ui.js';import _0xad90a0 from'./uploadcareimageeditcommand.js';import _0x44502b from'./uploadcareimagereplacecommand.js';import _0x2de52f from'../uploadcareediting.js';export default class m extends _0x47a211{static get[_0x1e7b68(0x1a0)](){const _0x5d9085=_0x1e7b68;return _0x5d9085(0x18f);}static get[_0x1e7b68(0x19e)](){const _0x2249e7=_0x1e7b68;return[_0x2de52f,_0x570900,_0x2249e7(0x19d),_0x2249e7(0x193)];}static get[_0x1e7b68(0x19a)](){return!0x0;}static get[_0x1e7b68(0x19c)](){return!0x0;}[_0x1e7b68(0x1a2)](){const _0x378907=_0x1e7b68,{editor:_0x3f03ef}=this;_0x3f03ef[_0x378907(0x196)][_0x378907(0x198)](_0x378907(0x19f),new _0xad90a0(_0x3f03ef)),_0x3f03ef[_0x378907(0x196)][_0x378907(0x198)](_0x378907(0x190),new _0x44502b(_0x3f03ef));}}function _0x48ea(_0x4c1aa2,_0x4c756d){const _0x4bc9fc=_0x4bc9();return _0x48ea=function(_0x48ea24,_0x444807){_0x48ea24=_0x48ea24-0x18f;let _0x2f56b9=_0x4bc9fc[_0x48ea24];return _0x2f56b9;},_0x48ea(_0x4c1aa2,_0x4c756d);}function _0x4bc9(){const _0x4e28ee=['104PPvTam','1382194LmdXWy','ImageEditing','14504896TLIauR','2946665HGmQQu','commands','1321798WOcfVg','add','78531CMmOKS','isOfficialPlugin','2427240GiXPwJ','isPremiumPlugin','ImageUtils','requires','uploadcareImageEdit','pluginName','2634212aMfmgR','init','UploadcareImageEditEditing','uploadcareImageReplace'];_0x4bc9=function(){return _0x4e28ee;};return _0x4bc9();}
23
+ const _0x2a0e6e=_0x4e77;function _0x27d0(){const _0x4f45cd=['uploadcareImageEdit','415132utmkDr','commands','pluginName','ImageUtils','8lkHjpB','2IcdgBN','14808AxIXUi','34746rAIgrN','6631889DnVMnX','init','3845390UVyhjI','isOfficialPlugin','1414AjRhcz','671304MoNuCR','369aWKRuH','uploadcareImageReplace','UploadcareImageEditEditing','requires','ImageEditing','isPremiumPlugin','add','5130530BNlAdc'];_0x27d0=function(){return _0x4f45cd;};return _0x27d0();}(function(_0x13e61b,_0xeb29b4){const _0x3f3c24=_0x4e77,_0x5412d8=_0x13e61b();while(!![]){try{const _0x35b14c=-parseInt(_0x3f3c24(0x1f3))/0x1*(-parseInt(_0x3f3c24(0x1f8))/0x2)+parseInt(_0x3f3c24(0x200))/0x3*(-parseInt(_0x3f3c24(0x1f7))/0x4)+parseInt(_0x3f3c24(0x1fd))/0x5+parseInt(_0x3f3c24(0x1fa))/0x6*(-parseInt(_0x3f3c24(0x1ff))/0x7)+parseInt(_0x3f3c24(0x1f9))/0x8*(-parseInt(_0x3f3c24(0x201))/0x9)+parseInt(_0x3f3c24(0x1f1))/0xa+parseInt(_0x3f3c24(0x1fb))/0xb;if(_0x35b14c===_0xeb29b4)break;else _0x5412d8['push'](_0x5412d8['shift']());}catch(_0xb5a46){_0x5412d8['push'](_0x5412d8['shift']());}}}(_0x27d0,0x942e9));import{Plugin as _0x1477c4}from'ckeditor5/src/core.js';import{Notification as _0x3a6954}from'ckeditor5/src/ui.js';import _0xd044ca from'./uploadcareimageeditcommand.js';import _0x4b12af from'./uploadcareimagereplacecommand.js';function _0x4e77(_0x477ad7,_0x6defc){const _0x27d040=_0x27d0();return _0x4e77=function(_0x4e7779,_0x5f1517){_0x4e7779=_0x4e7779-0x1ec;let _0x2c30b6=_0x27d040[_0x4e7779];return _0x2c30b6;},_0x4e77(_0x477ad7,_0x6defc);}import _0x25a543 from'../uploadcareediting.js';export default class m extends _0x1477c4{static get[_0x2a0e6e(0x1f5)](){const _0x2ce12d=_0x2a0e6e;return _0x2ce12d(0x1ec);}static get[_0x2a0e6e(0x1ed)](){const _0x39ef3d=_0x2a0e6e;return[_0x25a543,_0x3a6954,_0x39ef3d(0x1f6),_0x39ef3d(0x1ee)];}static get[_0x2a0e6e(0x1fe)](){return!0x0;}static get[_0x2a0e6e(0x1ef)](){return!0x0;}[_0x2a0e6e(0x1fc)](){const _0x15e66d=_0x2a0e6e,{editor:_0x3e3acc}=this;_0x3e3acc[_0x15e66d(0x1f4)][_0x15e66d(0x1f0)](_0x15e66d(0x1f2),new _0xd044ca(_0x3e3acc)),_0x3e3acc[_0x15e66d(0x1f4)][_0x15e66d(0x1f0)](_0x15e66d(0x202),new _0x4b12af(_0x3e3acc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xbe6a40}from'ckeditor5/src/core.js';import{ButtonView as _0x31069f}from'ckeditor5/src/ui.js';import{createElement as _0x57b99b}from'ckeditor5/src/utils.js';import _0x3b9ebc 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 _0xbe6a40{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 _0x466233=this['editor'];_0x466233['ui']['componentFactory']['add']('uploadcareImageEdit',_0x8b537a=>{const _0x3b0017=_0x466233['commands']['get']('uploadcareImageEdit'),_0x1d0c2b=new _0x31069f(_0x8b537a),t=_0x8b537a['t'];return _0x1d0c2b['set']({'icon':_0x3b9ebc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1d0c2b['bind']('isEnabled')['to'](_0x3b0017),_0x1d0c2b['bind']('isOn')['to'](_0x3b0017,'isActive'),this['listenTo'](_0x1d0c2b,'execute',()=>{_0x466233['execute']('uploadcareImageEdit'),_0x466233['editing']['view']['focus']();}),_0x1d0c2b;}),this['_initConfig']();}['_initConfig'](){const _0x5f53f5=_0x57b99b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5f53f5),this['listenTo'](this['editor'],'destroy',()=>{_0x5f53f5['remove']();});}}
23
+ import{Plugin as _0x1aea5b}from'ckeditor5/src/core.js';import{ButtonView as _0x30f7b4}from'ckeditor5/src/ui.js';import{createElement as _0x2d6489}from'ckeditor5/src/utils.js';import _0x103b2e 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 _0x1aea5b{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 _0x5a54b7=this['editor'];_0x5a54b7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f9790=>{const _0x495a32=_0x5a54b7['commands']['get']('uploadcareImageEdit'),_0x39fe16=new _0x30f7b4(_0x1f9790),t=_0x1f9790['t'];return _0x39fe16['set']({'icon':_0x103b2e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x39fe16['bind']('isEnabled')['to'](_0x495a32),_0x39fe16['bind']('isOn')['to'](_0x495a32,'isActive'),this['listenTo'](_0x39fe16,'execute',()=>{_0x5a54b7['execute']('uploadcareImageEdit'),_0x5a54b7['editing']['view']['focus']();}),_0x39fe16;}),this['_initConfig']();}['_initConfig'](){const _0x5142a5=_0x2d6489(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5142a5),this['listenTo'](this['editor'],'destroy',()=>{_0x5142a5['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c34ee=_0x2e35;function _0x2e35(_0x15254f,_0x5edde9){const _0x53e901=_0x53e9();return _0x2e35=function(_0x2e3588,_0x3f1af8){_0x2e3588=_0x2e3588-0x111;let _0x145f49=_0x53e901[_0x2e3588];return _0x145f49;},_0x2e35(_0x15254f,_0x5edde9);}(function(_0x806511,_0x1fd0a1){const _0x206588=_0x2e35,_0x564105=_0x806511();while(!![]){try{const _0x59ddfb=parseInt(_0x206588(0x122))/0x1*(-parseInt(_0x206588(0x123))/0x2)+parseInt(_0x206588(0x11b))/0x3+-parseInt(_0x206588(0x117))/0x4+parseInt(_0x206588(0x118))/0x5+parseInt(_0x206588(0x124))/0x6*(-parseInt(_0x206588(0x111))/0x7)+-parseInt(_0x206588(0x129))/0x8+parseInt(_0x206588(0x112))/0x9;if(_0x59ddfb===_0x1fd0a1)break;else _0x564105['push'](_0x564105['shift']());}catch(_0x4342a9){_0x564105['push'](_0x564105['shift']());}}}(_0x53e9,0x45b28));import{Command as _0x20fc85}from'ckeditor5/src/core.js';export default class O extends _0x20fc85{[_0x4c34ee(0x121)](){const _0x37353d=_0x4c34ee,_0x121144=this[_0x37353d(0x126)][_0x37353d(0x119)][_0x37353d(0x11f)][_0x37353d(0x113)][_0x37353d(0x128)]();this[_0x37353d(0x127)]=Boolean(_0x121144&&(_0x121144['is'](_0x37353d(0x114),_0x37353d(0x116))||_0x121144['is'](_0x37353d(0x114),_0x37353d(0x120))));}[_0x4c34ee(0x11a)](_0x38b7d0){const _0x11f52e=_0x4c34ee,_0x4ccdae=this[_0x11f52e(0x126)][_0x11f52e(0x119)][_0x11f52e(0x11f)][_0x11f52e(0x113)][_0x11f52e(0x128)]();this[_0x11f52e(0x126)][_0x11f52e(0x119)][_0x11f52e(0x11e)](_0x4d2d4c=>{const _0x28122d=_0x11f52e;_0x4d2d4c[_0x28122d(0x11d)](_0x38b7d0,_0x4ccdae),_0x4d2d4c[_0x28122d(0x125)](_0x28122d(0x115),_0x4ccdae),_0x4d2d4c[_0x28122d(0x125)](_0x28122d(0x11c),_0x4ccdae);});}}function _0x53e9(){const _0x3fecb6=['setAttributes','change','document','imageInline','refresh','21059JzWcHX','24kGpMke','6ANKhKa','removeAttribute','editor','isEnabled','getSelectedElement','3714448dUZhsA','1480416BThzfD','7247349dubiKV','selection','element','srcset','imageBlock','1554988EcMMKu','1402985IzrgLd','model','execute','1550613bjSkkz','sizes'];_0x53e9=function(){return _0x3fecb6;};return _0x53e9();}
23
+ const _0x3d6f82=_0x22a8;function _0x3939(){const _0x2a3a12=['selection','isEnabled','464045HKxAHd','change','model','imageInline','1448940cwfUAC','srcset','element','432dyhOvj','document','154196VQRCvL','removeAttribute','9XawaZY','imageBlock','10930161HLWAMs','133581ewnIlQ','getSelectedElement','10DzNPsA','sizes','refresh','42EZBAJy','execute','editor','396021zzmUjo','setAttributes','937000Fwxtde'];_0x3939=function(){return _0x2a3a12;};return _0x3939();}(function(_0x17ab69,_0x31454c){const _0x316f3e=_0x22a8,_0x265dcd=_0x17ab69();while(!![]){try{const _0x47059c=parseInt(_0x316f3e(0x19b))/0x1+parseInt(_0x316f3e(0x1a2))/0x2*(parseInt(_0x316f3e(0x1a8))/0x3)+parseInt(_0x316f3e(0x1b1))/0x4+parseInt(_0x316f3e(0x1ad))/0x5*(-parseInt(_0x316f3e(0x1a5))/0x6)+-parseInt(_0x316f3e(0x1a0))/0x7*(-parseInt(_0x316f3e(0x1b4))/0x8)+parseInt(_0x316f3e(0x19d))/0x9*(parseInt(_0x316f3e(0x1aa))/0xa)+-parseInt(_0x316f3e(0x19f))/0xb;if(_0x47059c===_0x31454c)break;else _0x265dcd['push'](_0x265dcd['shift']());}catch(_0x4d4566){_0x265dcd['push'](_0x265dcd['shift']());}}}(_0x3939,0xa07b6));function _0x22a8(_0x6ba4dd,_0x2d4944){const _0x39396c=_0x3939();return _0x22a8=function(_0x22a804,_0x29374f){_0x22a804=_0x22a804-0x19a;let _0x3b87e0=_0x39396c[_0x22a804];return _0x3b87e0;},_0x22a8(_0x6ba4dd,_0x2d4944);}import{Command as _0xf9a98c}from'ckeditor5/src/core.js';export default class X extends _0xf9a98c{[_0x3d6f82(0x1a4)](){const _0x380d4e=_0x3d6f82,_0x3d4432=this[_0x380d4e(0x1a7)][_0x380d4e(0x1af)][_0x380d4e(0x19a)][_0x380d4e(0x1ab)][_0x380d4e(0x1a1)]();this[_0x380d4e(0x1ac)]=Boolean(_0x3d4432&&(_0x3d4432['is'](_0x380d4e(0x1b3),_0x380d4e(0x19e))||_0x3d4432['is'](_0x380d4e(0x1b3),_0x380d4e(0x1b0))));}[_0x3d6f82(0x1a6)](_0x36d45f){const _0x54acd7=_0x3d6f82,_0x179e47=this[_0x54acd7(0x1a7)][_0x54acd7(0x1af)][_0x54acd7(0x19a)][_0x54acd7(0x1ab)][_0x54acd7(0x1a1)]();this[_0x54acd7(0x1a7)][_0x54acd7(0x1af)][_0x54acd7(0x1ae)](_0x7c206a=>{const _0x13956f=_0x54acd7;_0x7c206a[_0x13956f(0x1a9)](_0x36d45f,_0x179e47),_0x7c206a[_0x13956f(0x19c)](_0x13956f(0x1b2),_0x179e47),_0x7c206a[_0x13956f(0x19c)](_0x13956f(0x1a3),_0x179e47);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5363ac=_0x57a4;function _0x57a4(_0x21d635,_0x37b495){var _0x24dd11=_0x24dd();return _0x57a4=function(_0x57a440,_0x7abd96){_0x57a440=_0x57a440-0x150;var _0x3436d9=_0x24dd11[_0x57a440];return _0x3436d9;},_0x57a4(_0x21d635,_0x37b495);}(function(_0x47a078,_0x2dfbbb){var _0x34c292=_0x57a4,_0x350adc=_0x47a078();while(!![]){try{var _0x52481e=-parseInt(_0x34c292(0x15c))/0x1*(parseInt(_0x34c292(0x15a))/0x2)+parseInt(_0x34c292(0x157))/0x3+parseInt(_0x34c292(0x15d))/0x4*(parseInt(_0x34c292(0x152))/0x5)+-parseInt(_0x34c292(0x15f))/0x6*(parseInt(_0x34c292(0x15e))/0x7)+-parseInt(_0x34c292(0x155))/0x8+-parseInt(_0x34c292(0x15b))/0x9*(parseInt(_0x34c292(0x159))/0xa)+parseInt(_0x34c292(0x153))/0xb;if(_0x52481e===_0x2dfbbb)break;else _0x350adc['push'](_0x350adc['shift']());}catch(_0x11979b){_0x350adc['push'](_0x350adc['shift']());}}}(_0x24dd,0x56871));import{Plugin as _0x572633}from'ckeditor5/src/core.js';import _0x553c60 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x24dd(){var _0x279470=['519710EZvugW','10381349CqnpVW','requires','240176PDEydk','pluginName','1067694OKDACO','UploadcareImageEdit','2893190MnzJBp','4VzucEH','18XZeIUK','5158sLunGh','8HSktwO','1148NERdZw','19542iBEfJY','isOfficialPlugin','isPremiumPlugin'];_0x24dd=function(){return _0x279470;};return _0x24dd();}import _0x403b85 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x572633{static get[_0x5363ac(0x156)](){var _0x465cf0=_0x5363ac;return _0x465cf0(0x158);}static get[_0x5363ac(0x154)](){return[_0x553c60,_0x403b85];}static get[_0x5363ac(0x150)](){return!0x0;}static get[_0x5363ac(0x151)](){return!0x0;}}
23
+ function _0x285b(){var _0x1dd5a5=['978036XpFECG','1bPwORY','1617955RInlQZ','4RwtkNr','8CfvWDH','99SOjgMx','1008798uESGXL','359506ijzJCV','UploadcareImageEdit','requires','isOfficialPlugin','570807urhPTI','pluginName','542350euqesM','isPremiumPlugin','1509732zbdUso'];_0x285b=function(){return _0x1dd5a5;};return _0x285b();}function _0xe9fb(_0x1f1f7e,_0x3f015c){var _0x285b90=_0x285b();return _0xe9fb=function(_0xe9fbcb,_0x485cc5){_0xe9fbcb=_0xe9fbcb-0xeb;var _0x43ebbe=_0x285b90[_0xe9fbcb];return _0x43ebbe;},_0xe9fb(_0x1f1f7e,_0x3f015c);}var _0x3f57fb=_0xe9fb;(function(_0x2149e8,_0x196624){var _0x27c22e=_0xe9fb,_0x17ba56=_0x2149e8();while(!![]){try{var _0x359380=-parseInt(_0x27c22e(0xf3))/0x1*(-parseInt(_0x27c22e(0xf9))/0x2)+parseInt(_0x27c22e(0xf2))/0x3+parseInt(_0x27c22e(0xf5))/0x4*(parseInt(_0x27c22e(0xf4))/0x5)+-parseInt(_0x27c22e(0xf1))/0x6+parseInt(_0x27c22e(0xf8))/0x7+-parseInt(_0x27c22e(0xf6))/0x8*(parseInt(_0x27c22e(0xed))/0x9)+parseInt(_0x27c22e(0xef))/0xa*(-parseInt(_0x27c22e(0xf7))/0xb);if(_0x359380===_0x196624)break;else _0x17ba56['push'](_0x17ba56['shift']());}catch(_0x46c79c){_0x17ba56['push'](_0x17ba56['shift']());}}}(_0x285b,0x29946));import{Plugin as _0x37a7cb}from'ckeditor5/src/core.js';import _0x1de8af from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x3454cf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x37a7cb{static get[_0x3f57fb(0xee)](){var _0x24a89a=_0x3f57fb;return _0x24a89a(0xfa);}static get[_0x3f57fb(0xeb)](){return[_0x1de8af,_0x3454cf];}static get[_0x3f57fb(0xec)](){return!0x0;}static get[_0x3f57fb(0xf0)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x477669=_0xa2c8;function _0xa2c8(_0x5a1965,_0x58f1db){const _0x5f2649=_0x5f26();return _0xa2c8=function(_0xa2c878,_0x1dac29){_0xa2c878=_0xa2c878-0x73;let _0x3acf2e=_0x5f2649[_0xa2c878];return _0x3acf2e;},_0xa2c8(_0x5a1965,_0x58f1db);}(function(_0x486414,_0x5f1f70){const _0x211e57=_0xa2c8,_0x131c20=_0x486414();while(!![]){try{const _0x7d1f16=-parseInt(_0x211e57(0x85))/0x1*(parseInt(_0x211e57(0xae))/0x2)+parseInt(_0x211e57(0x73))/0x3+parseInt(_0x211e57(0x7a))/0x4+parseInt(_0x211e57(0xbc))/0x5+parseInt(_0x211e57(0xb3))/0x6*(-parseInt(_0x211e57(0x7d))/0x7)+parseInt(_0x211e57(0x92))/0x8+-parseInt(_0x211e57(0xab))/0x9;if(_0x7d1f16===_0x5f1f70)break;else _0x131c20['push'](_0x131c20['shift']());}catch(_0x2a78e1){_0x131c20['push'](_0x131c20['shift']());}}}(_0x5f26,0xa48a3));import{Plugin as _0x565c8b,icons as _0x10ea13}from'ckeditor5/src/core.js';import{ButtonView as _0x9b4468,MenuBarMenuListItemButtonView as _0x473d48}from'ckeditor5/src/ui.js';import _0xb8946e from'../theme/icons/dropbox.svg';import _0x787a1d from'../theme/icons/facebook.svg';import _0x3148dc from'../theme/icons/google-drive.svg';import _0x373d00 from'../theme/icons/google-photos.svg';import _0x7558f2 from'../theme/icons/link.svg';import _0x26dbb9 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x2c1dda}from'./uploadcareconfig.js';import{getTranslation as _0x420772}from'./utils/common-translations.js';function _0x5f26(){const _0x55203f=['uploadcareLicenseKeyExpired','shortText','1135932IaPSvT','type','expired','trialLimit','plugins','featureNotAllowed','isPremiumPlugin','837640AoYXfu','config','execute','42mEVLOP','_normalizeConfigSourceList','map','URL','destroy','text','tooltip','uploadcareLicenseKeyValid','1fhcYTZ','uploadcare','reduce','_createMenuBarButtons','entries','UploadcareUI','locale','pluginName','GDrive','Local','Uploadcare','push','registerIntegration','4304200fAdWzu','forEach','uploadcareLicenseKeyDomainLimit','licenseKey','commands','init','Dropbox','bind','isImageSelected','get','imageUpload','_getIntegrationKey','_createToolbarButton','uploadcare.uploader.sourceList','url','uploadcareLicenseKeyInvalid','assetManager','ImageInsertUI','has','icon','withText','_createDropdownButtons','usageLimit','evaluationLimit','Replace','6215193kwfZHj','invalid','editor','5182aRPnuQ','GPhotos','uploadcareLicenseKeyUsageLimit','OneDrive','Facebook','233868mdpVmO','isOfficialPlugin','label','uploadcareLicenseKeyTrialLimit','isEnabled','afterInit','Insert','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','2374560VBOPec','_licenseKeyCheckInterval','_createButton','domainLimit','upload','_showLicenseError'];_0x5f26=function(){return _0x55203f;};return _0x5f26();}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 _0x565c8b{static get[_0x477669(0x8c)](){const _0x112dc1=_0x477669;return _0x112dc1(0x8a);}static get[_0x477669(0xb4)](){return!0x0;}static get[_0x477669(0x79)](){return!0x0;}[_0x477669(0x97)](){const _0x3a4c59=_0x477669;this[_0x3a4c59(0x95)]=this[_0x3a4c59(0xad)][_0x3a4c59(0x7b)][_0x3a4c59(0x9b)](_0x3a4c59(0x95));const _0xe7d503=this[_0x3a4c59(0xad)];this[_0x3a4c59(0xbd)]=setInterval(()=>{const _0x41db4f=_0x3a4c59;let _0x307ef4;for(const _0xd93168 in _0xe7d503){const _0x4ff114=_0xd93168,_0x264b76=_0xe7d503[_0x4ff114];if(_0x41db4f(0x84)==_0x264b76||_0x41db4f(0xa1)==_0x264b76||_0x41db4f(0xc2)==_0x264b76||_0x41db4f(0x94)==_0x264b76||_0x41db4f(0xbb)==_0x264b76||_0x41db4f(0xba)==_0x264b76||_0x41db4f(0xb6)==_0x264b76||_0x41db4f(0xb0)==_0x264b76){delete _0xe7d503[_0x4ff114],_0x307ef4=_0x264b76,clearInterval(this[_0x41db4f(0xbd)]),this[_0x41db4f(0xbd)]=void 0x0;break;}}_0x41db4f(0xa1)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0xac)),_0x41db4f(0xc2)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0x75)),_0x41db4f(0x94)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0xbf)),_0x41db4f(0xbb)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0x78),_0x41db4f(0x8f)),_0x41db4f(0xba)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0xa9)),_0x41db4f(0xb6)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0x76)),_0x41db4f(0xb0)==_0x307ef4&&_0xe7d503[_0x41db4f(0xc1)](_0x41db4f(0xa8));},0x3e8);}[_0x477669(0xb8)](){const _0x559c28=_0x477669,{editor:_0x51c7a8}=this,_0x4f974c=_0x51c7a8[_0x559c28(0x96)][_0x559c28(0x9b)](_0x559c28(0x86));if(!_0x4f974c)return;const _0x296d3b=this[_0x559c28(0x7e)](_0x51c7a8[_0x559c28(0x7b)][_0x559c28(0x9b)](_0x559c28(0x9f)))[_0x559c28(0x87)]((_0x25be3a,_0x318e02)=>{const _0x89a9d0=_0x559c28,_0x352d75=this[_0x89a9d0(0x9d)](_0x318e02[_0x89a9d0(0x74)]);return _0x25be3a[_0x352d75]||(_0x25be3a[_0x352d75]=[]),_0x25be3a[_0x352d75][_0x89a9d0(0x90)](_0x318e02),_0x25be3a;},{});_0x51c7a8[_0x559c28(0x77)][_0x559c28(0xa4)](_0x559c28(0xa3))&&_0x51c7a8[_0x559c28(0x96)][_0x559c28(0x9b)](_0x559c28(0x86))&&Object[_0x559c28(0x89)](_0x296d3b)[_0x559c28(0x93)](([_0x3bf5b8,_0x25902c])=>{const _0x2e03de=_0x559c28;_0x51c7a8[_0x2e03de(0x77)][_0x2e03de(0x9b)](_0x2e03de(0xa3))[_0x2e03de(0x91)]({'name':_0x3bf5b8,'observable':()=>_0x4f974c,'buttonViewCreator':()=>this[_0x2e03de(0x9e)](_0x25902c),'formViewCreator':()=>this[_0x2e03de(0xa7)](_0x25902c),'menuBarButtonViewCreator':()=>this[_0x2e03de(0x88)](_0x25902c),'override':_0x2e03de(0xa2)!==_0x3bf5b8});});}[_0x477669(0x81)](){const _0xc0ac74=_0x477669;super[_0xc0ac74(0x81)](),this[_0xc0ac74(0xbd)]&&clearInterval(this[_0xc0ac74(0xbd)]);}[_0x477669(0x7e)](_0x35052e){const _0x237968=_0x477669,{locale:_0x2f41b2}=this[_0x237968(0xad)];return _0x35052e[_0x237968(0x7f)](_0x2838ec=>{const _0x5f3468=_0x237968,_0x44f963=_0x420772(_0x2f41b2,_0x2838ec,_0x5f3468(0xb9));switch(_0x2838ec){case _0x2c1dda[_0x5f3468(0x8e)]:return{'icon':_0x10ea13[_0x5f3468(0x9c)],'type':_0x2c1dda[_0x5f3468(0x8e)],..._0x44f963};case _0x2c1dda[_0x5f3468(0x80)]:return{'icon':_0x7558f2,'type':_0x2c1dda[_0x5f3468(0x80)],..._0x44f963};case _0x2c1dda[_0x5f3468(0x98)]:return{'icon':_0xb8946e,'type':_0x2c1dda[_0x5f3468(0x98)],..._0x44f963};case _0x2c1dda[_0x5f3468(0xb2)]:return{'icon':_0x787a1d,'type':_0x2c1dda[_0x5f3468(0xb2)],..._0x44f963};case _0x2c1dda[_0x5f3468(0x8d)]:return{'icon':_0x3148dc,'type':_0x2c1dda[_0x5f3468(0x8d)],..._0x44f963};case _0x2c1dda[_0x5f3468(0xaf)]:return{'icon':_0x373d00,'type':_0x2c1dda[_0x5f3468(0xaf)],..._0x44f963};case _0x2c1dda[_0x5f3468(0xb1)]:return{'icon':_0x26dbb9,'type':_0x2c1dda[_0x5f3468(0xb1)],..._0x44f963};}});}[_0x477669(0x9d)](_0x5682a7){const _0x1c9adb=_0x477669;switch(_0x5682a7){case _0x2c1dda[_0x1c9adb(0x8e)]:return _0x1c9adb(0xc0);case _0x2c1dda[_0x1c9adb(0x80)]:return _0x1c9adb(0xa0);default:return _0x1c9adb(0xa2);}}[_0x477669(0xbe)](_0xa0e504,_0x1d91e1){const _0x2ac262=_0x477669,_0xed2616=this[_0x2ac262(0xad)],_0x161fad=new _0xa0e504(_0xed2616[_0x2ac262(0x8b)]),_0x4cf815=_0xed2616[_0x2ac262(0x96)][_0x2ac262(0x9b)](_0x2ac262(0x86));return _0x161fad[_0x2ac262(0x99)](_0x2ac262(0xb7))['to'](_0x4cf815),_0x161fad['on'](_0x2ac262(0x7c),()=>{const _0x23d088=_0x2ac262;_0x4cf815[_0x23d088(0x7c)](_0x1d91e1);}),_0x161fad;}[_0x477669(0x9e)](_0x2b7699){const _0x21c805=_0x477669,{locale:_0x16c12}=this[_0x21c805(0xad)],_0x10f71e=this[_0x21c805(0xad)][_0x21c805(0x77)][_0x21c805(0x9b)](_0x21c805(0xa3)),_0x2dcc14=_0x2b7699[0x0],_0x259824=this[_0x21c805(0xbe)](_0x9b4468,_0x2dcc14[_0x21c805(0x74)]);return _0x259824[_0x21c805(0xa5)]=_0x2dcc14[_0x21c805(0xa5)],_0x259824[_0x21c805(0x99)](_0x21c805(0xb5))['to'](_0x10f71e,_0x21c805(0x9a),_0x2883e9=>_0x420772(_0x16c12,_0x2dcc14[_0x21c805(0x74)],_0x2883e9?_0x21c805(0xaa):_0x21c805(0xb9))[_0x21c805(0x82)]),_0x259824[_0x21c805(0x83)]=!0x0,_0x259824;}[_0x477669(0xa7)](_0x42826e){const _0x4e78c4=_0x477669,{locale:_0x21197f}=this[_0x4e78c4(0xad)],_0x1c4c15=this[_0x4e78c4(0xad)][_0x4e78c4(0x77)][_0x4e78c4(0x9b)](_0x4e78c4(0xa3));return _0x42826e[_0x4e78c4(0x7f)](_0x3837e0=>{const _0x5823a0=_0x4e78c4,_0x6140bf=this[_0x5823a0(0xbe)](_0x9b4468,_0x3837e0[_0x5823a0(0x74)]);return _0x6140bf[_0x5823a0(0xa6)]=!0x0,_0x6140bf[_0x5823a0(0xa5)]=_0x3837e0[_0x5823a0(0xa5)],_0x6140bf[_0x5823a0(0x99)](_0x5823a0(0xb5))['to'](_0x1c4c15,_0x5823a0(0x9a),_0x6e6396=>_0x420772(_0x21197f,_0x3837e0[_0x5823a0(0x74)],_0x6e6396?_0x5823a0(0xaa):_0x5823a0(0xb9))[_0x5823a0(0x82)]),_0x6140bf;});}[_0x477669(0x88)](_0x2b14cb){const _0xf736ac=_0x477669;return _0x2b14cb[_0xf736ac(0x7f)](_0x525556=>{const _0x4e84a4=_0xf736ac,_0x29359e=this[_0x4e84a4(0xbe)](_0x473d48,_0x525556[_0x4e84a4(0x74)]);return _0x29359e[_0x4e84a4(0xa5)]=_0x525556[_0x4e84a4(0xa5)],_0x29359e[_0x4e84a4(0xb5)]=_0x525556[_0x4e84a4(0xc3)],_0x29359e;});}}
23
+ const _0x43ed40=_0x38a9;(function(_0x6df745,_0x9c9d39){const _0x44ab6e=_0x38a9,_0x2b35d2=_0x6df745();while(!![]){try{const _0x1d4b3e=-parseInt(_0x44ab6e(0xa8))/0x1*(-parseInt(_0x44ab6e(0x97))/0x2)+-parseInt(_0x44ab6e(0x88))/0x3*(parseInt(_0x44ab6e(0x71))/0x4)+parseInt(_0x44ab6e(0xad))/0x5*(parseInt(_0x44ab6e(0xb1))/0x6)+-parseInt(_0x44ab6e(0x81))/0x7*(parseInt(_0x44ab6e(0x87))/0x8)+parseInt(_0x44ab6e(0xc4))/0x9*(parseInt(_0x44ab6e(0x75))/0xa)+-parseInt(_0x44ab6e(0xbc))/0xb*(-parseInt(_0x44ab6e(0x91))/0xc)+parseInt(_0x44ab6e(0xb9))/0xd*(-parseInt(_0x44ab6e(0x7d))/0xe);if(_0x1d4b3e===_0x9c9d39)break;else _0x2b35d2['push'](_0x2b35d2['shift']());}catch(_0x255e44){_0x2b35d2['push'](_0x2b35d2['shift']());}}}(_0x1c0d,0x1a44e));import{Plugin as _0x97c0f0,icons as _0x590e25}from'ckeditor5/src/core.js';import{ButtonView as _0x2f3aa7,MenuBarMenuListItemButtonView as _0x38a7db}from'ckeditor5/src/ui.js';import _0x1db23c from'../theme/icons/dropbox.svg';import _0x2cac07 from'../theme/icons/facebook.svg';import _0x20aff7 from'../theme/icons/google-drive.svg';import _0x19e4dc from'../theme/icons/google-photos.svg';function _0x1c0d(){const _0xf13250=['assetManager','Uploadcare','_createToolbarButton','text','115210bdHEBB','shortText','invalid','uploadcareLicenseKeyExpired','trialLimit','push','_showLicenseError','init','OneDrive','isImageSelected','UploadcareUI','uploadcare','licenseKey','bind','Replace','type','uploadcareLicenseKeyUsageLimit','1vgHPsz','editor','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','expired','109130vPuoWN','destroy','plugins','isPremiumPlugin','36yvRWBW','URL','evaluationLimit','get','_getIntegrationKey','isOfficialPlugin','withText','commands','246220CmYqAC','execute','has','22ejpONJ','isEnabled','uploadcareLicenseKeyTrialLimit','domainLimit','Local','_createDropdownButtons','imageUpload','ImageInsertUI','179757oTMJHq','featureNotAllowed','url','36dkjheS','_createMenuBarButtons','afterInit','usageLimit','20nsDYlh','GPhotos','forEach','registerIntegration','entries','uploadcareLicenseKeyEvaluationLimit','tooltip','Dropbox','56vYWTiO','reduce','uploadcare.uploader.sourceList','pluginName','7RWfKre','GDrive','Facebook','label','icon','locale','244176KEUVev','39987noQXPi','uploadcareLicenseKeyDomainLimit','upload','Insert','uploadcareLicenseKeyValid','map','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','_createButton','632004HfpBYZ','config'];_0x1c0d=function(){return _0xf13250;};return _0x1c0d();}import _0xc3122f from'../theme/icons/link.svg';import _0x554a7f from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x1236a8}from'./uploadcareconfig.js';import{getTranslation as _0xc8002d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x38a9(_0x44d07c,_0x5ab4d1){const _0x1c0d23=_0x1c0d();return _0x38a9=function(_0x38a9d4,_0x29a394){_0x38a9d4=_0x38a9d4-0x70;let _0x230776=_0x1c0d23[_0x38a9d4];return _0x230776;},_0x38a9(_0x44d07c,_0x5ab4d1);}export default class e extends _0x97c0f0{static get[_0x43ed40(0x80)](){const _0x2cc329=_0x43ed40;return _0x2cc329(0xa1);}static get[_0x43ed40(0xb6)](){return!0x0;}static get[_0x43ed40(0xb0)](){return!0x0;}[_0x43ed40(0x9e)](){const _0x49fc52=_0x43ed40;this[_0x49fc52(0xa3)]=this[_0x49fc52(0xa9)][_0x49fc52(0x92)][_0x49fc52(0xb4)](_0x49fc52(0xa3));const _0x4c074b=this[_0x49fc52(0xa9)];this[_0x49fc52(0x8f)]=setInterval(()=>{const _0xab3c8e=_0x49fc52;let _0x51c39d;for(const _0xe8810a in _0x4c074b){const _0xab8164=_0xe8810a,_0xf47ba5=_0x4c074b[_0xab8164];if(_0xab3c8e(0x8c)==_0xf47ba5||_0xab3c8e(0x8e)==_0xf47ba5||_0xab3c8e(0x9a)==_0xf47ba5||_0xab3c8e(0x89)==_0xf47ba5||_0xab3c8e(0xab)==_0xf47ba5||_0xab3c8e(0x7a)==_0xf47ba5||_0xab3c8e(0xbe)==_0xf47ba5||_0xab3c8e(0xa7)==_0xf47ba5){delete _0x4c074b[_0xab8164],_0x51c39d=_0xf47ba5,clearInterval(this[_0xab3c8e(0x8f)]),this[_0xab3c8e(0x8f)]=void 0x0;break;}}_0xab3c8e(0x8e)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x99)),_0xab3c8e(0x9a)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xac)),_0xab3c8e(0x89)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xbf)),_0xab3c8e(0xab)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xc5),_0xab3c8e(0x94)),_0xab3c8e(0x7a)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0xb3)),_0xab3c8e(0xbe)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x9b)),_0xab3c8e(0xa7)==_0x51c39d&&_0x4c074b[_0xab3c8e(0x9d)](_0xab3c8e(0x74));},0x3e8);}[_0x43ed40(0x73)](){const _0x3674c5=_0x43ed40,{editor:_0x2d07ed}=this,_0x2cbc17=_0x2d07ed[_0x3674c5(0xb8)][_0x3674c5(0xb4)](_0x3674c5(0xa2));if(!_0x2cbc17)return;const _0x255165=this[_0x3674c5(0xaa)](_0x2d07ed[_0x3674c5(0x92)][_0x3674c5(0xb4)](_0x3674c5(0x7f)))[_0x3674c5(0x7e)]((_0x38d288,_0x17caf5)=>{const _0x1ffd37=_0x3674c5,_0x459d96=this[_0x1ffd37(0xb5)](_0x17caf5[_0x1ffd37(0xa6)]);return _0x38d288[_0x459d96]||(_0x38d288[_0x459d96]=[]),_0x38d288[_0x459d96][_0x1ffd37(0x9c)](_0x17caf5),_0x38d288;},{});_0x2d07ed[_0x3674c5(0xaf)][_0x3674c5(0xbb)](_0x3674c5(0xc3))&&_0x2d07ed[_0x3674c5(0xb8)][_0x3674c5(0xb4)](_0x3674c5(0xa2))&&Object[_0x3674c5(0x79)](_0x255165)[_0x3674c5(0x77)](([_0x50b474,_0x409526])=>{const _0x4bb8cd=_0x3674c5;_0x2d07ed[_0x4bb8cd(0xaf)][_0x4bb8cd(0xb4)](_0x4bb8cd(0xc3))[_0x4bb8cd(0x78)]({'name':_0x50b474,'observable':()=>_0x2cbc17,'buttonViewCreator':()=>this[_0x4bb8cd(0x95)](_0x409526),'formViewCreator':()=>this[_0x4bb8cd(0xc1)](_0x409526),'menuBarButtonViewCreator':()=>this[_0x4bb8cd(0x72)](_0x409526),'override':_0x4bb8cd(0x93)!==_0x50b474});});}[_0x43ed40(0xae)](){const _0x305905=_0x43ed40;super[_0x305905(0xae)](),this[_0x305905(0x8f)]&&clearInterval(this[_0x305905(0x8f)]);}[_0x43ed40(0xaa)](_0x2c9b88){const _0x31abb0=_0x43ed40,{locale:_0x281a7d}=this[_0x31abb0(0xa9)];return _0x2c9b88[_0x31abb0(0x8d)](_0x2b0483=>{const _0x4ea740=_0x31abb0,_0x3cab95=_0xc8002d(_0x281a7d,_0x2b0483,_0x4ea740(0x8b));switch(_0x2b0483){case _0x1236a8[_0x4ea740(0xc0)]:return{'icon':_0x590e25[_0x4ea740(0xc2)],'type':_0x1236a8[_0x4ea740(0xc0)],..._0x3cab95};case _0x1236a8[_0x4ea740(0xb2)]:return{'icon':_0xc3122f,'type':_0x1236a8[_0x4ea740(0xb2)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x7c)]:return{'icon':_0x1db23c,'type':_0x1236a8[_0x4ea740(0x7c)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x83)]:return{'icon':_0x2cac07,'type':_0x1236a8[_0x4ea740(0x83)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x82)]:return{'icon':_0x20aff7,'type':_0x1236a8[_0x4ea740(0x82)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x76)]:return{'icon':_0x19e4dc,'type':_0x1236a8[_0x4ea740(0x76)],..._0x3cab95};case _0x1236a8[_0x4ea740(0x9f)]:return{'icon':_0x554a7f,'type':_0x1236a8[_0x4ea740(0x9f)],..._0x3cab95};}});}[_0x43ed40(0xb5)](_0x572511){const _0x562b66=_0x43ed40;switch(_0x572511){case _0x1236a8[_0x562b66(0xc0)]:return _0x562b66(0x8a);case _0x1236a8[_0x562b66(0xb2)]:return _0x562b66(0x70);default:return _0x562b66(0x93);}}[_0x43ed40(0x90)](_0x43c25a,_0x1cb499){const _0x81461a=_0x43ed40,_0x44df19=this[_0x81461a(0xa9)],_0x2a2118=new _0x43c25a(_0x44df19[_0x81461a(0x86)]),_0x29732d=_0x44df19[_0x81461a(0xb8)][_0x81461a(0xb4)](_0x81461a(0xa2));return _0x2a2118[_0x81461a(0xa4)](_0x81461a(0xbd))['to'](_0x29732d),_0x2a2118['on'](_0x81461a(0xba),()=>{const _0x3f2635=_0x81461a;_0x29732d[_0x3f2635(0xba)](_0x1cb499);}),_0x2a2118;}[_0x43ed40(0x95)](_0x3163af){const _0x1c69c9=_0x43ed40,{locale:_0x1ac6b0}=this[_0x1c69c9(0xa9)],_0xa34648=this[_0x1c69c9(0xa9)][_0x1c69c9(0xaf)][_0x1c69c9(0xb4)](_0x1c69c9(0xc3)),_0x23535f=_0x3163af[0x0],_0x38cb99=this[_0x1c69c9(0x90)](_0x2f3aa7,_0x23535f[_0x1c69c9(0xa6)]);return _0x38cb99[_0x1c69c9(0x85)]=_0x23535f[_0x1c69c9(0x85)],_0x38cb99[_0x1c69c9(0xa4)](_0x1c69c9(0x84))['to'](_0xa34648,_0x1c69c9(0xa0),_0x4ac8e1=>_0xc8002d(_0x1ac6b0,_0x23535f[_0x1c69c9(0xa6)],_0x4ac8e1?_0x1c69c9(0xa5):_0x1c69c9(0x8b))[_0x1c69c9(0x96)]),_0x38cb99[_0x1c69c9(0x7b)]=!0x0,_0x38cb99;}[_0x43ed40(0xc1)](_0x1278ba){const _0x31ed51=_0x43ed40,{locale:_0x276c01}=this[_0x31ed51(0xa9)],_0x3b2fe3=this[_0x31ed51(0xa9)][_0x31ed51(0xaf)][_0x31ed51(0xb4)](_0x31ed51(0xc3));return _0x1278ba[_0x31ed51(0x8d)](_0x698f36=>{const _0x5acef0=_0x31ed51,_0x3b1dc0=this[_0x5acef0(0x90)](_0x2f3aa7,_0x698f36[_0x5acef0(0xa6)]);return _0x3b1dc0[_0x5acef0(0xb7)]=!0x0,_0x3b1dc0[_0x5acef0(0x85)]=_0x698f36[_0x5acef0(0x85)],_0x3b1dc0[_0x5acef0(0xa4)](_0x5acef0(0x84))['to'](_0x3b2fe3,_0x5acef0(0xa0),_0x19918=>_0xc8002d(_0x276c01,_0x698f36[_0x5acef0(0xa6)],_0x19918?_0x5acef0(0xa5):_0x5acef0(0x8b))[_0x5acef0(0x96)]),_0x3b1dc0;});}[_0x43ed40(0x72)](_0x1efdd6){const _0x131716=_0x43ed40;return _0x1efdd6[_0x131716(0x8d)](_0x57da39=>{const _0x30b67f=_0x131716,_0x3e9725=this[_0x30b67f(0x90)](_0x38a7db,_0x57da39[_0x30b67f(0xa6)]);return _0x3e9725[_0x30b67f(0x85)]=_0x57da39[_0x30b67f(0x85)],_0x3e9725[_0x30b67f(0x84)]=_0x57da39[_0x30b67f(0x98)],_0x3e9725;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d9625}from'ckeditor5/src/core.js';import{FileRepository as _0x55e16a}from'ckeditor5/src/upload.js';import _0x589e0b from'./uploadcareediting.js';import _0xe923e5 from'./utils/uploadutils.js';import{getImageUrls as _0x1919af}from'./utils/editingutils.js';export default class f extends _0x2d9625{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x55e16a,_0x589e0b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a7fe8=this['editor'];if(!!!_0x2a7fe8['config']['get']('uploadcare'))return;_0x2a7fe8['plugins']['get'](_0x55e16a)['createUploadAdapter']=_0x30ee77=>new E(_0x30ee77,_0x2a7fe8),_0x2a7fe8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36a4d6,{imageElement:_0xd9fbf7,data:_0x1e6761})=>{_0x2a7fe8['model']['change'](_0x1f3056=>{_0x1f3056['setAttribute']('uploadcareImageId',_0x1e6761['uploadcareImageId'],_0xd9fbf7);});});}}class E{constructor(_0x4ad2a5,_0x296037){this['loader']=_0x4ad2a5,this['editor']=_0x296037,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x28bf7f=this['editor']['config']['get']('uploadcare.pubkey'),_0x39df60=await this['loader']['file'];return _0xe923e5['upload']({'file':_0x39df60,'publicKey':_0x28bf7f,'signal':this['controller']['signal'],'onProgress':_0x30e1f7=>{_0x30e1f7&&_0x30e1f7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x30e1f7['value']);}})['then'](async _0x539570=>{const {imageFallbackUrl:_0x52cfd7,imageSources:_0x2e61ef}=_0x1919af(_0x539570['cdnUrl'],_0x539570['imageInfo']['width']);return{'uploadcareImageId':_0x539570['uuid'],'default':_0x52cfd7,'sources':_0x2e61ef};})['catch'](()=>{const _0x1aa8e5=t('Cannot\x20upload\x20file:')+('\x20'+_0x39df60['name']+'.');return Promise['reject'](_0x1aa8e5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2c25ae}from'ckeditor5/src/core.js';import{FileRepository as _0x40f43d}from'ckeditor5/src/upload.js';import _0x21e7a6 from'./uploadcareediting.js';import _0x501efd from'./utils/uploadutils.js';import{getImageUrls as _0x426cb4}from'./utils/editingutils.js';export default class f extends _0x2c25ae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x40f43d,_0x21e7a6];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b8244=this['editor'];if(!!!_0x3b8244['config']['get']('uploadcare'))return;_0x3b8244['plugins']['get'](_0x40f43d)['createUploadAdapter']=_0xefab54=>new E(_0xefab54,_0x3b8244),_0x3b8244['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x19011f,{imageElement:_0x88a36c,data:_0x2cdb4a})=>{_0x3b8244['model']['change'](_0x35554b=>{_0x35554b['setAttribute']('uploadcareImageId',_0x2cdb4a['uploadcareImageId'],_0x88a36c);});});}}class E{constructor(_0x179ae6,_0x4a6f6a){this['loader']=_0x179ae6,this['editor']=_0x4a6f6a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc56c9e=this['editor']['config']['get']('uploadcare.pubkey'),_0x48a215=await this['loader']['file'];return _0x501efd['upload']({'file':_0x48a215,'publicKey':_0xc56c9e,'signal':this['controller']['signal'],'onProgress':_0x144949=>{_0x144949&&_0x144949['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x144949['value']);}})['then'](async _0x114896=>{const {imageFallbackUrl:_0x593f81,imageSources:_0x5f2ccc}=_0x426cb4(_0x114896['cdnUrl'],_0x114896['imageInfo']['width']);return{'uploadcareImageId':_0x114896['uuid'],'default':_0x593f81,'sources':_0x5f2ccc};})['catch'](()=>{const _0x373c1c=t('Cannot\x20upload\x20file:')+('\x20'+_0x48a215['name']+'.');return Promise['reject'](_0x373c1c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x9b4067}from'../uploadcareconfig.js';export function getTranslation(_0x59889d,_0x203d46,_0x2fd9b8){const t=_0x59889d['t'],_0x8eb00f=_0x59889d['t'];switch(_0x203d46){case _0x9b4067['Local']:return{'text':_0x8eb00f('Insert'===_0x2fd9b8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x8eb00f('From\x20computer')};case _0x9b4067['URL']:return{'text':'Insert'===_0x2fd9b8?_0x8eb00f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x8eb00f('Via\x20URL')};case _0x9b4067['Dropbox']:return{'text':t('Insert'===_0x2fd9b8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x9b4067['Facebook']:return{'text':t('Insert'===_0x2fd9b8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x9b4067['GDrive']:return{'text':t('Insert'===_0x2fd9b8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x9b4067['GPhotos']:return{'text':t('Insert'===_0x2fd9b8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x9b4067['OneDrive']:return{'text':t('Insert'===_0x2fd9b8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x203d46;}}
23
+ import{UploadcareSource as _0x1980ef}from'../uploadcareconfig.js';export function getTranslation(_0x52cd50,_0x481aa5,_0x564a40){const t=_0x52cd50['t'],_0x261bee=_0x52cd50['t'];switch(_0x481aa5){case _0x1980ef['Local']:return{'text':_0x261bee('Insert'===_0x564a40?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x261bee('From\x20computer')};case _0x1980ef['URL']:return{'text':'Insert'===_0x564a40?_0x261bee('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x261bee('Via\x20URL')};case _0x1980ef['Dropbox']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1980ef['Facebook']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1980ef['GDrive']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1980ef['GPhotos']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1980ef['OneDrive']:return{'text':t('Insert'===_0x564a40?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x481aa5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc8f9f4=_0x1982;(function(_0x24bc40,_0x1cdd8f){var _0x3b3f42=_0x1982,_0x3233e5=_0x24bc40();while(!![]){try{var _0x5b217a=-parseInt(_0x3b3f42(0x97))/0x1+-parseInt(_0x3b3f42(0x84))/0x2*(-parseInt(_0x3b3f42(0x85))/0x3)+-parseInt(_0x3b3f42(0x8a))/0x4+parseInt(_0x3b3f42(0x8e))/0x5*(-parseInt(_0x3b3f42(0x89))/0x6)+parseInt(_0x3b3f42(0x87))/0x7+parseInt(_0x3b3f42(0x93))/0x8*(-parseInt(_0x3b3f42(0x8c))/0x9)+parseInt(_0x3b3f42(0x94))/0xa*(parseInt(_0x3b3f42(0x91))/0xb);if(_0x5b217a===_0x1cdd8f)break;else _0x3233e5['push'](_0x3233e5['shift']());}catch(_0x1d7dfb){_0x3233e5['push'](_0x3233e5['shift']());}}}(_0x300f,0x24cca));function _0x1982(_0x50c627,_0xd3c049){var _0x300fed=_0x300f();return _0x1982=function(_0x198290,_0x3cfb7b){_0x198290=_0x198290-0x84;var _0x35e8f9=_0x300fed[_0x198290];return _0x35e8f9;},_0x1982(_0x50c627,_0xd3c049);}import{FocusTracker as _0x24ba7c}from'ckeditor5/src/utils.js';function _0x300f(){var _0x151632=['10318WdCDdF','bindTemplate','2488wgLIHU','1230oysHpQ','forwardCycle','focusTracker','200413WFChHm','6766ZOAHiT','132ZuhfWs','true','2028537topDrL','getFocusableElement','1452SYWHLB','458868UWyOCE','focusCycler','2187kTYcMc','div','260icHAmt','fire','createCollection'];_0x300f=function(){return _0x151632;};return _0x300f();}import{View as _0x363c86,FocusCycler as _0x35bf02}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x363c86{constructor(_0x10e23f){var _0x15bf74=_0x1982;super(_0x10e23f),this[_0x15bf74(0x96)]=new _0x24ba7c(),this[_0x15bf74(0x8b)]=new _0x35bf02({'focusables':this[_0x15bf74(0x90)](),'focusTracker':this[_0x15bf74(0x96)]});}[_0xc8f9f4(0x88)](){var _0x3b3dac=_0xc8f9f4;return{'tag':_0x3b3dac(0x8d),'attributes':{'aria-hidden':_0x3b3dac(0x86),'tabindex':'0'},'on':{'focus':this[_0x3b3dac(0x92)]['to'](()=>{var _0x528fce=_0x3b3dac;this[_0x528fce(0x8b)][_0x528fce(0x8f)](_0x528fce(0x95));})}};}}
23
+ function _0x279b(_0x1ae327,_0xc4456d){var _0x46b6bf=_0x46b6();return _0x279b=function(_0x279ba8,_0x168b77){_0x279ba8=_0x279ba8-0xc6;var _0x24be12=_0x46b6bf[_0x279ba8];return _0x24be12;},_0x279b(_0x1ae327,_0xc4456d);}var _0x4fe899=_0x279b;(function(_0x297e46,_0x5a79df){var _0x4b13ff=_0x279b,_0xf17e1b=_0x297e46();while(!![]){try{var _0x3c023b=parseInt(_0x4b13ff(0xd0))/0x1+-parseInt(_0x4b13ff(0xce))/0x2*(parseInt(_0x4b13ff(0xcd))/0x3)+parseInt(_0x4b13ff(0xcf))/0x4+-parseInt(_0x4b13ff(0xc9))/0x5+-parseInt(_0x4b13ff(0xd1))/0x6+-parseInt(_0x4b13ff(0xca))/0x7+parseInt(_0x4b13ff(0xcb))/0x8;if(_0x3c023b===_0x5a79df)break;else _0xf17e1b['push'](_0xf17e1b['shift']());}catch(_0x211f6b){_0xf17e1b['push'](_0xf17e1b['shift']());}}}(_0x46b6,0x51227));import{FocusTracker as _0x3047b4}from'ckeditor5/src/utils.js';function _0x46b6(){var _0x1332eb=['forwardCycle','192kEsyPz','10552tpmzlD','1832492pxBmej','316562IEVpbs','917904YhAEDR','div','true','fire','createCollection','focusCycler','getFocusableElement','bindTemplate','focusTracker','2489870ZaTUNS','3039225ZkuLQX','7843512dOVYYc'];_0x46b6=function(){return _0x1332eb;};return _0x46b6();}import{View as _0x50d56b,FocusCycler as _0xe240a8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x50d56b{constructor(_0x340e7a){var _0x265515=_0x279b;super(_0x340e7a),this[_0x265515(0xc8)]=new _0x3047b4(),this[_0x265515(0xd6)]=new _0xe240a8({'focusables':this[_0x265515(0xd5)](),'focusTracker':this[_0x265515(0xc8)]});}[_0x4fe899(0xc6)](){var _0x5ba41f=_0x4fe899;return{'tag':_0x5ba41f(0xd2),'attributes':{'aria-hidden':_0x5ba41f(0xd3),'tabindex':'0'},'on':{'focus':this[_0x5ba41f(0xc7)]['to'](()=>{var _0x5bff43=_0x5ba41f;this[_0x5bff43(0xd6)][_0x5bff43(0xd4)](_0x5bff43(0xcc));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ea7bd,_0x54cbc2){const _0x441e6d=_0x3b35,_0x18ae4d=_0x3ea7bd();while(!![]){try{const _0x1cc9d7=parseInt(_0x441e6d(0xbd))/0x1+parseInt(_0x441e6d(0xa1))/0x2*(parseInt(_0x441e6d(0xa8))/0x3)+parseInt(_0x441e6d(0xb9))/0x4*(parseInt(_0x441e6d(0xc0))/0x5)+-parseInt(_0x441e6d(0xcf))/0x6+-parseInt(_0x441e6d(0xbf))/0x7+parseInt(_0x441e6d(0xab))/0x8+-parseInt(_0x441e6d(0xb8))/0x9;if(_0x1cc9d7===_0x54cbc2)break;else _0x18ae4d['push'](_0x18ae4d['shift']());}catch(_0x559c72){_0x18ae4d['push'](_0x18ae4d['shift']());}}}(_0x5ab0,0x427fd));import{global as _0x36420a,DomEmitterMixin as _0x473ee4}from'ckeditor5/src/utils.js';function _0x3b35(_0x5c2ba7,_0x36dbbd){const _0x5ab027=_0x5ab0();return _0x3b35=function(_0x3b3513,_0x2bc440){_0x3b3513=_0x3b3513-0xa0;let _0x1009f7=_0x5ab027[_0x3b3513];return _0x1009f7;},_0x3b35(_0x5c2ba7,_0x36dbbd);}export function createEditabilityChecker(_0x1c4188){const _0x1c72f3=_0x3b35,_0x1d050e=V(_0x1c4188);return _0x5c2a88=>!(!_0x5c2a88||!_0x5c2a88['is'](_0x1c72f3(0xb5),_0x1c72f3(0xc5))&&!_0x5c2a88['is'](_0x1c72f3(0xb5),_0x1c72f3(0xc6)))&&(!!_0x5c2a88[_0x1c72f3(0xbb)](_0x1c72f3(0xc4))||!!_0x5c2a88[_0x1c72f3(0xbb)](_0x1c72f3(0xbe))&&_0x1d050e(_0x5c2a88[_0x1c72f3(0xa6)](_0x1c72f3(0xbe))));}export function getImageUrls(_0x5a8784,_0x5ae24e){const _0x5cb84b=_0x3b35,_0x28dd57=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5cb84b(0xd1)](_0x410187=>_0x410187<=_0x5ae24e)[_0x5cb84b(0xd3)](_0x24a49e=>_0x5a8784[_0x5cb84b(0xa7)](/\/$/,'')+_0x5cb84b(0xa0)+_0x24a49e+_0x5cb84b(0xa2)+_0x24a49e+'w');return{'imageFallbackUrl':_0x5a8784,'imageSources':[{'srcset':_0x28dd57[_0x5cb84b(0xac)](',\x20'),'sizes':_0x5cb84b(0xd0)+_0x5ae24e+_0x5cb84b(0xc9)+_0x5ae24e+'px','type':_0x5cb84b(0xb7)}]};}export function getImageDimension(_0x2ac341,_0x1710ea,_0x38de24){const _0x3808a9=_0x3b35,_0x1314a7=_0x2ac341[_0x3808a9(0xd4)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1314a7?parseInt(_0x1314a7[0x1],0xa):_0x1710ea,'height':_0x1314a7?parseInt(_0x1314a7[0x2],0xa):_0x38de24};}function _0x5ab0(){const _0x56a10e=['2509256dyWOSK','join','findViewImgElement','domConverter','plugins','stopListening','create','document','baseURI','viewToDom','element','get','image/webp','1478502wfGpOg','4rYypxC','change','hasAttribute','listenTo','299208hhESRr','src','2873430dzLUnE','235070teWeKU','aspect-ratio','isArray','window','uploadcareImageId','imageBlock','imageInline','function','removeClass','px)\x20100vw,\x20','editing','ImageUtils','setStyle','addClass','location','1215162QOViWB','(max-width:\x20','filter','height','map','match','toViewElement','width','origin','image-processing','/-/resize/','2WlFdRs','x/\x20','load','some','mapper','getAttribute','replace','1169391bymgRv','removeStyle','view'];_0x5ab0=function(){return _0x56a10e;};return _0x5ab0();}export function showImageProcessingIndicator(_0x5eb461,_0x5bfe0b){const _0x186dd4=_0x3b35,_0x51c813=Object[_0x186dd4(0xb1)](_0x473ee4),_0x1f4391=_0x5eb461[_0x186dd4(0xaf)][_0x186dd4(0xb6)](_0x186dd4(0xcb)),_0x1fd2e9=_0x5eb461[_0x186dd4(0xca)][_0x186dd4(0xa5)][_0x186dd4(0xd5)](_0x5bfe0b),_0x1c4056=_0x1f4391[_0x186dd4(0xad)](_0x1fd2e9),_0x2a4a79=_0x5eb461[_0x186dd4(0xca)][_0x186dd4(0xaa)][_0x186dd4(0xae)][_0x186dd4(0xb4)](_0x1c4056),_0x7376db=_0x5bfe0b[_0x186dd4(0xa6)](_0x186dd4(0xd6)),_0x3eaebf=_0x5bfe0b[_0x186dd4(0xa6)](_0x186dd4(0xd2)),_0x28f8e4=_0x186dd4(0xd8);_0x5eb461[_0x186dd4(0xca)][_0x186dd4(0xaa)][_0x186dd4(0xba)](_0x5f4976=>{const _0x4d1845=_0x186dd4;_0x5f4976[_0x4d1845(0xcd)](_0x28f8e4,_0x1fd2e9),_0x5f4976[_0x4d1845(0xcc)](_0x4d1845(0xc1),_0x7376db+'/'+_0x3eaebf,_0x1c4056);}),_0x51c813[_0x186dd4(0xbc)](_0x2a4a79,_0x186dd4(0xa3),()=>{const _0x2c9bf2=_0x186dd4;_0x51c813[_0x2c9bf2(0xb0)](_0x2a4a79,_0x2c9bf2(0xa3)),_0x5eb461[_0x2c9bf2(0xca)][_0x2c9bf2(0xaa)][_0x2c9bf2(0xba)](_0x2d9097=>{const _0x141729=_0x2c9bf2;_0x2d9097[_0x141729(0xc8)](_0x28f8e4,_0x1fd2e9),_0x2d9097[_0x141729(0xa9)](_0x141729(0xc1),_0x1c4056);});});}function V(_0x3bac3f){const _0x5e8092=_0x3b35;if(Array[_0x5e8092(0xc2)](_0x3bac3f)){const _0x4377ac=_0x3bac3f[_0x5e8092(0xd3)](V);return _0x11caac=>_0x4377ac[_0x5e8092(0xa4)](_0x20cf50=>_0x20cf50(_0x11caac));}if(_0x5e8092(0xd7)==_0x3bac3f){const _0x2382a8=_0x36420a[_0x5e8092(0xc3)][_0x5e8092(0xce)][_0x5e8092(0xd7)];return _0x4b2737=>new URL(_0x4b2737,_0x36420a[_0x5e8092(0xb2)][_0x5e8092(0xb3)])[_0x5e8092(0xd7)]==_0x2382a8;}return _0x5e8092(0xc7)==typeof _0x3bac3f?_0x3bac3f:_0x3bac3f instanceof RegExp?_0x4b5ebb=>!(!_0x4b5ebb[_0x5e8092(0xd4)](_0x3bac3f)&&!_0x4b5ebb[_0x5e8092(0xa7)](/^https?:\/\//,'')[_0x5e8092(0xd4)](_0x3bac3f)):()=>!0x1;}
23
+ (function(_0x255dc2,_0x3d1781){const _0x58f25d=_0x5410,_0x5cd9ae=_0x255dc2();while(!![]){try{const _0x4e67ad=parseInt(_0x58f25d(0xa3))/0x1+parseInt(_0x58f25d(0xae))/0x2+parseInt(_0x58f25d(0x88))/0x3+parseInt(_0x58f25d(0x89))/0x4*(-parseInt(_0x58f25d(0x9c))/0x5)+-parseInt(_0x58f25d(0xb4))/0x6+-parseInt(_0x58f25d(0xab))/0x7+-parseInt(_0x58f25d(0x91))/0x8*(-parseInt(_0x58f25d(0xbc))/0x9);if(_0x4e67ad===_0x3d1781)break;else _0x5cd9ae['push'](_0x5cd9ae['shift']());}catch(_0x5d9442){_0x5cd9ae['push'](_0x5cd9ae['shift']());}}}(_0x2799,0xef2b2));function _0x5410(_0x3423e2,_0x29a22f){const _0x279950=_0x2799();return _0x5410=function(_0x541081,_0x368d6e){_0x541081=_0x541081-0x84;let _0x3460e1=_0x279950[_0x541081];return _0x3460e1;},_0x5410(_0x3423e2,_0x29a22f);}import{global as _0x3987f4,DomEmitterMixin as _0x1ab71c}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2f21f0){const _0x19ce1e=_0x5410,_0x2357dd=R(_0x2f21f0);return _0x36de29=>!(!_0x36de29||!_0x36de29['is'](_0x19ce1e(0x9b),_0x19ce1e(0x8b))&&!_0x36de29['is'](_0x19ce1e(0x9b),_0x19ce1e(0xa1)))&&(!!_0x36de29[_0x19ce1e(0xb7)](_0x19ce1e(0xb3))||!!_0x36de29[_0x19ce1e(0xb7)](_0x19ce1e(0x8c))&&_0x2357dd(_0x36de29[_0x19ce1e(0xac)](_0x19ce1e(0x8c))));}export function getImageUrls(_0x5cc4d5,_0x29eb41){const _0x195a6e=_0x5410,_0xbb43b7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x195a6e(0x84)](_0x41161d=>_0x41161d<=_0x29eb41)[_0x195a6e(0x94)](_0xd32b1e=>_0x5cc4d5[_0x195a6e(0x97)](/\/$/,'')+_0x195a6e(0xa7)+_0xd32b1e+_0x195a6e(0x8d)+_0xd32b1e+'w');return{'imageFallbackUrl':_0x5cc4d5,'imageSources':[{'srcset':_0xbb43b7[_0x195a6e(0xb9)](',\x20'),'sizes':_0x195a6e(0xba)+_0x29eb41+_0x195a6e(0x87)+_0x29eb41+'px','type':_0x195a6e(0xbb)}]};}export function getImageDimension(_0xdf559c,_0x1fbda4,_0x30c8c6){const _0x1c79bb=_0x5410,_0x11f229=_0xdf559c[_0x1c79bb(0x99)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x11f229?parseInt(_0x11f229[0x1],0xa):_0x1fbda4,'height':_0x11f229?parseInt(_0x11f229[0x2],0xa):_0x30c8c6};}export function showImageProcessingIndicator(_0x1191b9,_0x3cabeb){const _0x43b627=_0x5410,_0x15ed86=Object[_0x43b627(0x95)](_0x1ab71c),_0x28fec7=_0x1191b9[_0x43b627(0xa6)][_0x43b627(0xa5)](_0x43b627(0xb2)),_0x2740e1=_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x85)][_0x43b627(0xb8)](_0x3cabeb),_0xd741fa=_0x28fec7[_0x43b627(0x93)](_0x2740e1),_0x148203=_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x9a)][_0x43b627(0xaf)][_0x43b627(0xb5)](_0xd741fa),_0x55e2af=_0x3cabeb[_0x43b627(0xac)](_0x43b627(0xaa)),_0x181e8f=_0x3cabeb[_0x43b627(0xac)](_0x43b627(0xb6)),_0x485c28=_0x43b627(0xa8);_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x9a)][_0x43b627(0xa0)](_0x54de4a=>{const _0x2809d7=_0x43b627;_0x54de4a[_0x2809d7(0x98)](_0x485c28,_0x2740e1),_0x54de4a[_0x2809d7(0x8f)](_0x2809d7(0xb0),_0x55e2af+'/'+_0x181e8f,_0xd741fa);}),_0x15ed86[_0x43b627(0x9e)](_0x148203,_0x43b627(0x96),()=>{const _0x5ec671=_0x43b627;_0x15ed86[_0x5ec671(0x92)](_0x148203,_0x5ec671(0x96)),_0x1191b9[_0x5ec671(0x8e)][_0x5ec671(0x9a)][_0x5ec671(0xa0)](_0x2d05e7=>{const _0x5107d1=_0x5ec671;_0x2d05e7[_0x5107d1(0x90)](_0x485c28,_0x2740e1),_0x2d05e7[_0x5107d1(0xa9)](_0x5107d1(0xb0),_0xd741fa);});});}function R(_0x1350e8){const _0x598098=_0x5410;if(Array[_0x598098(0x8a)](_0x1350e8)){const _0x3ba78e=_0x1350e8[_0x598098(0x94)](R);return _0x256e46=>_0x3ba78e[_0x598098(0x9d)](_0x4a75ca=>_0x4a75ca(_0x256e46));}if(_0x598098(0xa4)==_0x1350e8){const _0x4bd023=_0x3987f4[_0x598098(0x9f)][_0x598098(0xad)][_0x598098(0xa4)];return _0x3262f1=>new URL(_0x3262f1,_0x3987f4[_0x598098(0xb1)][_0x598098(0xa2)])[_0x598098(0xa4)]==_0x4bd023;}return _0x598098(0x86)==typeof _0x1350e8?_0x1350e8:_0x1350e8 instanceof RegExp?_0xf24865=>!(!_0xf24865[_0x598098(0x99)](_0x1350e8)&&!_0xf24865[_0x598098(0x97)](/^https?:\/\//,'')[_0x598098(0x99)](_0x1350e8)):()=>!0x1;}function _0x2799(){const _0x1eff5b=['addClass','match','view','element','185jCCPVm','some','listenTo','window','change','imageInline','baseURI','156913QaomaV','origin','get','plugins','/-/resize/','image-processing','removeStyle','width','11935392RCmJBg','getAttribute','location','3148388CAqFpf','domConverter','aspect-ratio','document','ImageUtils','uploadcareImageId','7601460uQfoMK','viewToDom','height','hasAttribute','toViewElement','join','(max-width:\x20','image/webp','282735OkQgsz','filter','mapper','function','px)\x20100vw,\x20','801540mpJfBv','118264OkwZct','isArray','imageBlock','src','x/\x20','editing','setStyle','removeClass','776SUfRIm','stopListening','findViewImgElement','map','create','load','replace'];_0x2799=function(){return _0x1eff5b;};return _0x2799();}