@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250922.0 → 0.0.0-nightly-20250923.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55bd(){const _0x5b8011=['_initImageProcessingIndicator','execute','downcast','elementToAttribute','ctxElement','contentLanguage','config','isPremiumPlugin','uploadcareImageId','uploadcare','afterInit','93783HIRkaL','map','upcast','getAttribute','PictureEditing','imageBlock','_initConfig','uc-config','uploadcare.uploader','listenTo','editor','requires','replaceImageSource','remove','6GAqajh','closeMax','true','689nOciYL','data-uc-image-id','_configElement','_initCtx','getSelectedElement','selection','1632XmuSgF','extend','_initSchema','3883584wZIKsA','uc-upload-ctx-provider','insertImage','document','commands','fromCharCode','_ctxElement','#uc-icon-arrow-down','editing','input[uploadcare-file-input]','removeAttribute','for','conversion','querySelector','cleanupImage','destroy','init','attributeToAttribute','imageInline','2193728bvKJHs','schema','add','iconHrefResolver','\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','uploadcare.pubkey','ucContextId','model','uploader-','body','_initConversion','render','view','join','once','pluginName','16186086THrHnQ','appendChild','get','3492685EhXhif','configElement','uploadcareImageReplace','UploadcareEditing','isOfficialPlugin','isRegistered','locale','href','1830965KSGnaQ'];_0x55bd=function(){return _0x5b8011;};return _0x55bd();}const _0x5b72c6=_0x1427;function _0x1427(_0x523512,_0x4b22cd){const _0x55bde2=_0x55bd();return _0x1427=function(_0x1427ad,_0x5ce525){_0x1427ad=_0x1427ad-0xce;let _0x43931b=_0x55bde2[_0x1427ad];return _0x43931b;},_0x1427(_0x523512,_0x4b22cd);}(function(_0x5942c0,_0x6ba0b1){const _0x1590f6=_0x1427,_0x2cea24=_0x5942c0();while(!![]){try{const _0xd1f6dc=-parseInt(_0x1590f6(0xf6))/0x1*(parseInt(_0x1590f6(0xfc))/0x2)+-parseInt(_0x1590f6(0xe5))/0x3+-parseInt(_0x1590f6(0x112))/0x4+parseInt(_0x1590f6(0xd9))/0x5*(-parseInt(_0x1590f6(0xf3))/0x6)+parseInt(_0x1590f6(0xd1))/0x7+-parseInt(_0x1590f6(0xff))/0x8+parseInt(_0x1590f6(0xce))/0x9;if(_0xd1f6dc===_0x6ba0b1)break;else _0x2cea24['push'](_0x2cea24['shift']());}catch(_0x58cc90){_0x2cea24['push'](_0x2cea24['shift']());}}}(_0x55bd,0x4a2eb));import{Plugin as _0x70e65e}from'ckeditor5/src/core.js';import{Dialog as _0x5aadf2}from'ckeditor5/src/ui.js';import{createElement as _0x35a106,global as _0x3075b5,uid as _0x15ef42}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x197496}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x392ff9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5278f9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x70e65e{[_0x5b72c6(0xf8)]=null;[_0x5b72c6(0x105)]=null;static get[_0x5b72c6(0x121)](){const _0x394d91=_0x5b72c6;return _0x394d91(0xd4);}static get[_0x5b72c6(0xf0)](){const _0x19dab7=_0x5b72c6;return[_0x19dab7(0xe9),_0x392ff9,_0x5aadf2];}static get[_0x5b72c6(0xd5)](){return!0x0;}static get[_0x5b72c6(0xe1)](){return!0x0;}[_0x5b72c6(0x118)];get[_0x5b72c6(0xd2)](){const _0x5f2372=_0x5b72c6;return this[_0x5f2372(0xf8)];}get[_0x5b72c6(0xde)](){const _0x595415=_0x5b72c6;return this[_0x595415(0x105)];}constructor(_0x5308ac){const _0x479cc8=_0x5b72c6;super(_0x5308ac),this[_0x479cc8(0x118)]=_0x15ef42();}[_0x5b72c6(0x10f)](){const _0x1fda0d=_0x5b72c6,_0xd89a87=this[_0x1fda0d(0xef)];_0xd89a87[_0x1fda0d(0x103)][_0x1fda0d(0x114)](_0x1fda0d(0xe3),new _0x197496(_0xd89a87));}[_0x5b72c6(0xe4)](){const _0x5cb2c9=_0x5b72c6;this[_0x5cb2c9(0xfe)](),this[_0x5cb2c9(0x11c)](),this[_0x5cb2c9(0xeb)](),this[_0x5cb2c9(0xf9)](),this[_0x5cb2c9(0xda)](),this[_0x5cb2c9(0xee)](this[_0x5cb2c9(0xef)],_0x5cb2c9(0x10e),()=>{const _0x188798=_0x5cb2c9;this[_0x188798(0xf8)]&&(this[_0x188798(0xf8)][_0x188798(0xf2)](),this[_0x188798(0xf8)]=null),this[_0x188798(0x105)]&&(this[_0x188798(0x105)][_0x188798(0xf2)](),this[_0x188798(0x105)]=null);const _0x5075f5=_0x3075b5[_0x188798(0x102)][_0x188798(0x10c)](_0x188798(0x108));_0x5075f5&&_0x5075f5[_0x188798(0xf2)]();}),async function(_0x15874c){const _0x2393c6=_0x24aaf3([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x226379=0x3d8d0df,_0x25fca3=0x3dfa4c7^_0x226379,_0xcdcf86=window[_0x24aaf3([0x44,0x61,0x74,0x65])][_0x24aaf3([0x6e,0x6f,0x77])](),_0x4073be=_0x15874c[_0x24aaf3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f8aee=new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3672=>{_0x4073be[_0x24aaf3([0x6f,0x6e,0x63,0x65])](_0x24aaf3([0x72,0x65,0x61,0x64,0x79]),_0x5f3672);}),_0x485507={[_0x24aaf3([0x6b,0x74,0x79])]:_0x24aaf3([0x45,0x43]),[_0x24aaf3([0x75,0x73,0x65])]:_0x24aaf3([0x73,0x69,0x67]),[_0x24aaf3([0x63,0x72,0x76])]:_0x24aaf3([0x50,0x2d,0x32,0x35,0x36]),[_0x24aaf3([0x78])]:_0x24aaf3([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]),[_0x24aaf3([0x79])]:_0x24aaf3([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]),[_0x24aaf3([0x61,0x6c,0x67])]:_0x24aaf3([0x45,0x53,0x32,0x35,0x36])},_0x97a453=_0x4073be[_0x24aaf3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24aaf3([0x67,0x65,0x74])](_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24d445(){let _0x41c24d,_0x43db28=null,_0x164291=null;try{if(_0x97a453==_0x24aaf3([0x47,0x50,0x4c]))return _0x24aaf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41c24d=_0x27e8a1(),!_0x41c24d)return _0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41c24d[_0x24aaf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x164291=_0x4a7ae6(_0x41c24d[_0x24aaf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41c24d[_0x24aaf3([0x6a,0x74,0x69])])),await _0x4e1155()?_0x3fb801()?_0x231658()?_0x24aaf3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dcd2a()?(_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24aaf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43db28=_0x165ec1(_0x24aaf3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24aaf3([0x74,0x72,0x69,0x61,0x6c])&&(_0x43db28=_0x165ec1(_0x24aaf3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278c59()):_0x24aaf3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24aaf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x231658(){const _0x1271bb=[_0x24aaf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24aaf3([0x74,0x72,0x69,0x61,0x6c])][_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcdcf86/0x3e8:0xe10*_0x25fca3;return _0x41c24d[_0x24aaf3([0x65,0x78,0x70])]<_0x1271bb;}function _0x3fb801(){const _0x2d17a1=_0x41c24d[_0x24aaf3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d17a1&&(!!_0x2d17a1[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x2a]))||!!_0x2d17a1[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x55,0x50,0x4c,0x43])));}function _0x2dcd2a(){const _0x1c5ea1=_0x1427,_0x508d18=_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x508d18||0x0==_0x508d18[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e97c7}=new URL(window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c5ea1(0xd8)]);if(_0x508d18[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e97c7))return!0x0;const _0x4c7dd6=_0x5e97c7[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e]));return _0x508d18[_0x24aaf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dc217=>_0x5dc217[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x2a])))[_0x24aaf3([0x6d,0x61,0x70])](_0x2c2474=>_0x2c2474[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e])))[_0x24aaf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a10a1=>_0x5a10a1[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c7dd6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24aaf3([0x6d,0x61,0x70])](_0x33c544=>Array(_0x4c7dd6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33c544[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24aaf3([0x66,0x69,0x6c,0x6c])](_0x33c544[0x0]===_0x24aaf3([0x2a])?_0x24aaf3([0x2a]):'')[_0x24aaf3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33c544))[_0x24aaf3([0x73,0x6f,0x6d,0x65])](_0x2aa0a3=>_0x4c7dd6[_0x24aaf3([0x65,0x76,0x65,0x72,0x79])]((_0x59fb41,_0x3b6542)=>_0x2aa0a3[_0x3b6542]===_0x59fb41||_0x2aa0a3[_0x3b6542]===_0x24aaf3([0x2a])));}function _0x278c59(){return _0x43db28&&_0x164291?new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496958,_0x18ff72)=>{_0x43db28[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x496958,_0x18ff72),_0x164291[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0xd807cd=>{_0xd807cd!=_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])&&_0x496958(_0xd807cd);},_0x18ff72);}):_0x43db28||_0x164291||_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a7ae6(_0x5ee1f0,_0x3e88d8){return new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x490e10=>{if(_0x49095f())return _0x490e10(_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]));_0x5e8835(),_0x4073be[_0x24aaf3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ca900=!0x1;const _0xcbafe8=_0x15ef42();function _0x2058ed(_0x2dbfd7){return!!_0x2dbfd7&&(typeof _0x2dbfd7===_0x24aaf3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dbfd7===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dbfd7[_0x24aaf3([0x74,0x68,0x65,0x6e])]===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dbfd7[_0x24aaf3([0x63,0x61,0x74,0x63,0x68])]===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cd513(_0x26df0c){_0x1cd49e(_0x26df0c)[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x49df8f=>{if(!_0x49df8f||_0x49df8f[_0x24aaf3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24aaf3([0x6f,0x6b]))return _0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa8fca3(_0x291d8a(_0xcbafe8+_0x3e88d8))!=_0x49df8f[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]);})[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x1e8449=>(_0x5cfd12(),_0x1e8449),()=>{const _0x3fe200=_0x2e5ed2();return null==_0x3fe200?(_0x5cfd12(),_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])):_0x24aaf3(_0xcdcf86-_0x3fe200>(0x27d454df^_0x226379)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x490e10)[_0x24aaf3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d5909=0x3ee3e5f^_0x226379;function _0x5cfd12(){const _0x4d86c5=_0x24aaf3([0x6c,0x6c,0x63,0x74,0x2d])+_0xa8fca3(_0x291d8a(_0x5ee1f0)),_0x107f3f=_0x300625(_0xa8fca3(window[_0x24aaf3([0x4d,0x61,0x74,0x68])][_0x24aaf3([0x63,0x65,0x69,0x6c])](_0xcdcf86/_0x3d5909)));window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24aaf3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d86c5,_0x107f3f);}function _0x2e5ed2(){const _0x8347e7=_0x24aaf3([0x6c,0x6c,0x63,0x74,0x2d])+_0xa8fca3(_0x291d8a(_0x5ee1f0)),_0x4a42e7=window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24aaf3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8347e7);return _0x4a42e7?window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x300625(_0x4a42e7),0x10)*_0x3d5909:null;}function _0x1cd49e(_0x2beb12){return new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4101d9,_0x26bca2)=>{_0x2beb12[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x4101d9,_0x26bca2),window[_0x24aaf3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26bca2,0x3d9041f^_0x226379);});}}_0x4073be[_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x357390,_0x2acb04)=>{if(_0x2acb04[0x0]!=_0x5ee1f0)return _0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2acb04[0x1]={..._0x2acb04[0x1],[_0x24aaf3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcbafe8};},{[_0x24aaf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24aaf3([0x68,0x69,0x67,0x68])}),_0x4073be[_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44dd28=>{_0x2058ed(_0x44dd28[_0x24aaf3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ca900=!0x0,_0x5cd513(_0x44dd28[_0x24aaf3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24aaf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24aaf3([0x6c,0x6f,0x77])}),_0x2f8aee[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>{_0x1ca900||_0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49095f(){return _0x4073be[_0x24aaf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24aaf3([0x76,0x69,0x65,0x77])][_0x24aaf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24aaf3([0x61,0x75,0x74,0x6f]);}function _0x5e8835(){_0x4073be[_0x24aaf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24aaf3([0x76,0x69,0x65,0x77])][_0x24aaf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24aaf3([0x61,0x75,0x74,0x6f]);}}function _0x165ec1(_0x1491ef){const _0x2100da=[new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c3ffa=>setTimeout(_0x2c3ffa,0x3d1ee13^_0x226379)),_0x2f8aee[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x293aad=>{let _0x1fdce9=0x0;_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50f78b,_0x1bf084)=>{_0x1bf084[0x0][_0x24aaf3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fdce9++,_0x1fdce9==(0x3d8d127^_0x226379)&&(_0x293aad(),_0x50f78b[_0x24aaf3([0x6f,0x66,0x66])]());});}))];return window[_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24aaf3([0x72,0x61,0x63,0x65])](_0x2100da)[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>_0x1491ef);}async function _0x50f693(){await _0x2f8aee,_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2094f7,_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2094f7,_0x4073be[_0x24aaf3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fb309(_0xcba2f2){const _0x557261=_0x3f2aa0();_0x4073be[_0x557261]=_0x24aaf3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcba2f2,_0xcba2f2!=_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])&&_0x50f693();}function _0x3f2aa0(){const _0x26ee88=window[_0x24aaf3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24aaf3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24aaf3([0x6e,0x6f,0x77])]())[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24aaf3([0x2e]),'');let _0x45ba2e=_0x24aaf3([0x52]);for(let _0x5559e7=0x0;_0x5559e7<_0x26ee88[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5559e7+=0x2){let _0x3ace51=window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ee88[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5559e7,_0x5559e7+0x2));_0x3ace51>=_0x2393c6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ace51-=_0x2393c6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45ba2e+=_0x2393c6[_0x3ace51];}return _0x45ba2e;}function _0x27e8a1(){const _0xbecb69=_0x97a453[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e]));if(0x3!=_0xbecb69[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ea47c(_0xbecb69[0x1]);function _0x3ea47c(_0x54c53d){const _0x5d3432=_0x15dd0e(_0x54c53d);return _0x5d3432&&_0x2e4628()?_0x5d3432:null;function _0x2e4628(){const _0x5e0748=_0x5d3432[_0x24aaf3([0x6a,0x74,0x69])],_0x2f8a9a=window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0748[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e0748[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fcb33={..._0x5d3432,[_0x24aaf3([0x6a,0x74,0x69])]:_0x5e0748[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e0748[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fcb33[_0x24aaf3([0x76,0x63])],_0x291d8a(_0x4fcb33)==_0x2f8a9a;}}}async function _0x4e1155(){let _0x3e259d=!0x0;try{const _0x60e36c=_0x97a453[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e])),[_0x327ce3,_0x2d605e,_0x10fef6]=_0x60e36c;return _0x2c18f0(_0x327ce3),await _0x47f97d(_0x327ce3,_0x2d605e,_0x10fef6),_0x3e259d;}catch{return!0x1;}function _0x2c18f0(_0x294c61){const _0x2c8f35=_0x15dd0e(_0x294c61);_0x2c8f35&&_0x2c8f35[_0x24aaf3([0x61,0x6c,0x67])]==_0x24aaf3([0x45,0x53,0x32,0x35,0x36])||(_0x3e259d=!0x1);}async function _0x47f97d(_0x379d5f,_0x3b5cfc,_0x1b7eba){const _0x42563b=window[_0x24aaf3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24aaf3([0x66,0x72,0x6f,0x6d])](_0x6b24cd(_0x1b7eba),_0x238a5c=>_0x238a5c[_0x24aaf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x458a5d=new window[(_0x24aaf3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24aaf3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x379d5f+_0x24aaf3([0x2e])+_0x3b5cfc),_0x2443ee=window[_0x24aaf3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24aaf3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2443ee)return;const _0x3d9544=await _0x2443ee[_0x24aaf3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24aaf3([0x6a,0x77,0x6b]),_0x485507,{[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x45,0x43,0x44,0x53,0x41]),[_0x24aaf3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24aaf3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2443ee[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x45,0x43,0x44,0x53,0x41]),[_0x24aaf3([0x68,0x61,0x73,0x68])]:{[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d9544,_0x42563b,_0x458a5d)||(_0x3e259d=!0x1);}}function _0x15dd0e(_0x211119){return _0x211119[_0x24aaf3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24aaf3([0x65,0x79]))?JSON[_0x24aaf3([0x70,0x61,0x72,0x73,0x65])](_0x6b24cd(_0x211119)):null;}function _0x6b24cd(_0x26d2d5){return window[_0x24aaf3([0x61,0x74,0x6f,0x62])](_0x26d2d5[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24aaf3([0x2b]))[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24aaf3([0x2f])));}function _0x291d8a(_0x4cb64f){let _0x21771c=0x1505;function _0x185526(_0x88ac4a){for(let _0x44bbe6=0x0;_0x44bbe6<_0x88ac4a[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44bbe6++){const _0x56de3d=_0x88ac4a[_0x24aaf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44bbe6);_0x21771c=(_0x21771c<<0x5)+_0x21771c+_0x56de3d,_0x21771c&=_0x21771c;}}function _0x527e48(_0x1abab2){Array[_0x24aaf3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1abab2)?_0x1abab2[_0x24aaf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x527e48):_0x1abab2&&typeof _0x1abab2==_0x24aaf3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24aaf3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1abab2)[_0x24aaf3([0x73,0x6f,0x72,0x74])]()[_0x24aaf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f8703,_0x2ad2ac])=>{_0x185526(_0x4f8703),_0x527e48(_0x2ad2ac);}):_0x185526(window[_0x24aaf3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1abab2));}return _0x527e48(_0x4cb64f),_0x21771c>>>0x0;}function _0xa8fca3(_0x1ba081){return _0x1ba081[_0x24aaf3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24aaf3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24aaf3([0x30]));}function _0x300625(_0x5501a1){return _0x5501a1[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24aaf3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24aaf3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2094f7(){}function _0x24aaf3(_0x2e95f6){const _0x5ee1da=_0x1427;return _0x2e95f6[_0x5ee1da(0xe6)](_0x5b6ca9=>String[_0x5ee1da(0x104)](_0x5b6ca9))[_0x5ee1da(0x11f)]('');}_0x4fb309(await _0x24d445());}(this);}[_0x5b72c6(0xfe)](){const _0x3826c6=_0x5b72c6,_0x107228=this[_0x3826c6(0xef)][_0x3826c6(0x119)][_0x3826c6(0x113)];_0x107228[_0x3826c6(0xd6)](_0x3826c6(0xea))&&_0x107228[_0x3826c6(0xfd)](_0x3826c6(0xea),{'allowAttributes':[_0x3826c6(0xe2)]}),_0x107228[_0x3826c6(0xd6)](_0x3826c6(0x111))&&_0x107228[_0x3826c6(0xfd)](_0x3826c6(0x111),{'allowAttributes':[_0x3826c6(0xe2)]});}[_0x5b72c6(0x11c)](){const _0x1cc1cc=_0x5b72c6,_0x1c3fd4=this[_0x1cc1cc(0xef)];_0x1c3fd4[_0x1cc1cc(0x10b)][_0x1cc1cc(0x10a)](_0x1cc1cc(0xdc))[_0x1cc1cc(0x110)]({'model':_0x1cc1cc(0xe2),'view':_0x1cc1cc(0xf7)}),_0x1c3fd4[_0x1cc1cc(0x10b)][_0x1cc1cc(0x10a)](_0x1cc1cc(0xe7))[_0x1cc1cc(0xdd)]({'model':{'key':_0x1cc1cc(0xe2),'value':_0x1d2dfa=>_0x1d2dfa[_0x1cc1cc(0xe8)](_0x1cc1cc(0xf7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xf3dcf1=_0x1c3fd4[_0x1cc1cc(0x103)][_0x1cc1cc(0xd0)](_0x1cc1cc(0xf1));_0xf3dcf1&&this[_0x1cc1cc(0xee)](_0xf3dcf1,_0x1cc1cc(0x10d),(_0x5d767f,[_0x535a78,_0x479e84])=>{const _0x443901=_0x1cc1cc;_0x535a78[_0x443901(0x109)](_0x443901(0xe2),_0x479e84);});}[_0x5b72c6(0xeb)](){const _0x2f939c=_0x5b72c6,_0x17f045=this[_0x2f939c(0xef)][_0x2f939c(0xe0)][_0x2f939c(0xd0)](_0x2f939c(0xed))||{},_0x2cd5d1=this[_0x2f939c(0xef)][_0x2f939c(0xe0)][_0x2f939c(0xd0)](_0x2f939c(0x117))||'';this[_0x2f939c(0xf8)]=_0x35a106(_0x3075b5[_0x2f939c(0x102)],_0x2f939c(0xec),{..._0x17f045,'pubkey':_0x2cd5d1,'ctx-name':_0x2f939c(0x11a)+this[_0x2f939c(0x118)],'sourceList':'','imgOnly':_0x2f939c(0xf5),'removeCopyright':_0x2f939c(0xf5),'localeName':this[_0x2f939c(0xef)][_0x2f939c(0xd7)][_0x2f939c(0xdf)],'externalSourcesEmbedCss':_0x2f939c(0x116)}),this[_0x2f939c(0xf8)][_0x2f939c(0x115)]=_0x4bdd23=>{const _0x4306c2=_0x2f939c;if(_0x4306c2(0xf4)==_0x4bdd23)return _0x4306c2(0x106);},_0x3075b5[_0x2f939c(0x102)][_0x2f939c(0x11b)][_0x2f939c(0xcf)](this[_0x2f939c(0xf8)]);}[_0x5b72c6(0xf9)](){const _0x402975=_0x5b72c6;this[_0x402975(0x105)]=_0x35a106(_0x3075b5[_0x402975(0x102)],_0x402975(0x100),{'ctx-name':_0x402975(0x11a)+this[_0x402975(0x118)]}),_0x3075b5[_0x402975(0x102)][_0x402975(0x11b)][_0x402975(0xcf)](this[_0x402975(0x105)]);}[_0x5b72c6(0xda)](){const _0x4bb6f6=_0x5b72c6,_0x16e3e6=this[_0x4bb6f6(0xef)][_0x4bb6f6(0x103)][_0x4bb6f6(0xd0)](_0x4bb6f6(0x101));_0x16e3e6&&this[_0x4bb6f6(0xee)](_0x16e3e6,_0x4bb6f6(0xdb),()=>{const _0x15d505=_0x4bb6f6,_0x45df9c=this[_0x15d505(0xef)][_0x15d505(0x119)][_0x15d505(0x102)][_0x15d505(0xfb)][_0x15d505(0xfa)]();_0x45df9c&&_0x45df9c[_0x15d505(0xe8)](_0x15d505(0xe2))&&this[_0x15d505(0xef)][_0x15d505(0x107)][_0x15d505(0x11e)][_0x15d505(0x120)](_0x15d505(0x11d),()=>{const _0x86fa10=_0x15d505;_0x5278f9(this[_0x86fa10(0xef)],_0x45df9c);});});const _0x159032=this[_0x4bb6f6(0xef)][_0x4bb6f6(0x103)][_0x4bb6f6(0xd0)](_0x4bb6f6(0xd3));_0x159032&&this[_0x4bb6f6(0xee)](_0x159032,_0x4bb6f6(0xdb),()=>{const _0x16cfd0=_0x4bb6f6,_0x47f6f0=this[_0x16cfd0(0xef)][_0x16cfd0(0x119)][_0x16cfd0(0x102)][_0x16cfd0(0xfb)][_0x16cfd0(0xfa)]();_0x47f6f0&&_0x47f6f0[_0x16cfd0(0xe8)](_0x16cfd0(0xe2))&&this[_0x16cfd0(0xef)][_0x16cfd0(0x107)][_0x16cfd0(0x11e)][_0x16cfd0(0x120)](_0x16cfd0(0x11d),()=>{const _0x121ff9=_0x16cfd0;_0x5278f9(this[_0x121ff9(0xef)],_0x47f6f0);});});}}
23
+ const _0x4e6d73=_0x4982;(function(_0x36dd87,_0x3e24b2){const _0x39e676=_0x4982,_0x460598=_0x36dd87();while(!![]){try{const _0xa4d41c=parseInt(_0x39e676(0x1e0))/0x1*(parseInt(_0x39e676(0x1d4))/0x2)+-parseInt(_0x39e676(0x1ac))/0x3+parseInt(_0x39e676(0x193))/0x4*(parseInt(_0x39e676(0x1e2))/0x5)+-parseInt(_0x39e676(0x1bb))/0x6*(-parseInt(_0x39e676(0x1e3))/0x7)+parseInt(_0x39e676(0x1d8))/0x8+parseInt(_0x39e676(0x1cf))/0x9+parseInt(_0x39e676(0x1ce))/0xa*(-parseInt(_0x39e676(0x1c8))/0xb);if(_0xa4d41c===_0x3e24b2)break;else _0x460598['push'](_0x460598['shift']());}catch(_0xbf3c5f){_0x460598['push'](_0x460598['shift']());}}}(_0x1d57,0xf3a77));import{Plugin as _0x2fe919}from'ckeditor5/src/core.js';import{Dialog as _0x30ca94}from'ckeditor5/src/ui.js';import{createElement as _0x3bdefa,global as _0x1e6d15,uid as _0x7a00c4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2b4e9a}from'./uploadcarecommand.js';function _0x1d57(){const _0x33f839=['imageBlock','locale','model','uploader-','querySelector','join','1323708aQxeqt','destroy','execute','afterInit','map','editing','requires','body','schema','pluginName','uploadcareImageId','appendChild','contentLanguage','978714sWxMXr','document','_initSchema','isOfficialPlugin','configElement','true','210UrWTFF','6049710UXYHkP','_ctxElement','isRegistered','uc-config','uploadcare.uploader','213442TQuTWp','replaceImageSource','data-uc-image-id','init','4961704fncXqA','cleanupImage','ctxElement','getAttribute','editor','removeAttribute','attributeToAttribute','config','1ntqKGc','get','5piNEyv','49iIpoGh','_initCtx','_initConversion','for','#uc-icon-arrow-down','once','281768gdpJnX','ucContextId','PictureEditing','render','input[uploadcare-file-input]','uploadcare.pubkey','iconHrefResolver','view','commands','elementToAttribute','_initImageProcessingIndicator','UploadcareEditing','selection','uc-upload-ctx-provider','add','imageInline','uploadcareImageReplace','isPremiumPlugin','_configElement','insertImage','getSelectedElement','listenTo','conversion','upcast','extend','442293MkhPus','_initConfig','\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','remove','downcast','uploadcare','fromCharCode','href','closeMax'];_0x1d57=function(){return _0x33f839;};return _0x1d57();}function _0x4982(_0x34d4b5,_0x163bcc){const _0x1d5769=_0x1d57();return _0x4982=function(_0x4982e3,_0x5f32b5){_0x4982e3=_0x4982e3-0x18f;let _0x1ee0c9=_0x1d5769[_0x4982e3];return _0x1ee0c9;},_0x4982(_0x34d4b5,_0x163bcc);}import{UploadcareUploadAdapter as _0x3eb26f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x96a6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2fe919{[_0x4e6d73(0x1a5)]=null;[_0x4e6d73(0x1d0)]=null;static get[_0x4e6d73(0x1c4)](){const _0x2c7892=_0x4e6d73;return _0x2c7892(0x19e);}static get[_0x4e6d73(0x1c1)](){const _0x3790ce=_0x4e6d73;return[_0x3790ce(0x195),_0x3eb26f,_0x30ca94];}static get[_0x4e6d73(0x1cb)](){return!0x0;}static get[_0x4e6d73(0x1a4)](){return!0x0;}[_0x4e6d73(0x194)];get[_0x4e6d73(0x1cc)](){const _0x28b48a=_0x4e6d73;return this[_0x28b48a(0x1a5)];}get[_0x4e6d73(0x1da)](){const _0x5e51d8=_0x4e6d73;return this[_0x5e51d8(0x1d0)];}constructor(_0x4f0955){const _0xb6f170=_0x4e6d73;super(_0x4f0955),this[_0xb6f170(0x194)]=_0x7a00c4();}[_0x4e6d73(0x1d7)](){const _0x28deb4=_0x4e6d73,_0x3985ce=this[_0x28deb4(0x1dc)];_0x3985ce[_0x28deb4(0x19b)][_0x28deb4(0x1a1)](_0x28deb4(0x1b1),new _0x2b4e9a(_0x3985ce));}[_0x4e6d73(0x1be)](){const _0x585edf=_0x4e6d73;this[_0x585edf(0x1ca)](),this[_0x585edf(0x18f)](),this[_0x585edf(0x1ad)](),this[_0x585edf(0x1e4)](),this[_0x585edf(0x19d)](),this[_0x585edf(0x1a8)](this[_0x585edf(0x1dc)],_0x585edf(0x1bc),()=>{const _0x1fbc3c=_0x585edf;this[_0x1fbc3c(0x1a5)]&&(this[_0x1fbc3c(0x1a5)][_0x1fbc3c(0x1af)](),this[_0x1fbc3c(0x1a5)]=null),this[_0x1fbc3c(0x1d0)]&&(this[_0x1fbc3c(0x1d0)][_0x1fbc3c(0x1af)](),this[_0x1fbc3c(0x1d0)]=null);const _0x4214c4=_0x1e6d15[_0x1fbc3c(0x1c9)][_0x1fbc3c(0x1b9)](_0x1fbc3c(0x197));_0x4214c4&&_0x4214c4[_0x1fbc3c(0x1af)]();}),async function(_0x4f0fef){const _0x38293e=_0x2e350e([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x3fb2b4=0x3d8d0df,_0x5032af=0x3dfa4ef^_0x3fb2b4,_0x568205=window[_0x2e350e([0x44,0x61,0x74,0x65])][_0x2e350e([0x6e,0x6f,0x77])](),_0x4fd1aa=_0x4f0fef[_0x2e350e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x201f59=new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x205c95=>{_0x4fd1aa[_0x2e350e([0x6f,0x6e,0x63,0x65])](_0x2e350e([0x72,0x65,0x61,0x64,0x79]),_0x205c95);}),_0x4b5ad9={[_0x2e350e([0x6b,0x74,0x79])]:_0x2e350e([0x45,0x43]),[_0x2e350e([0x75,0x73,0x65])]:_0x2e350e([0x73,0x69,0x67]),[_0x2e350e([0x63,0x72,0x76])]:_0x2e350e([0x50,0x2d,0x32,0x35,0x36]),[_0x2e350e([0x78])]:_0x2e350e([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]),[_0x2e350e([0x79])]:_0x2e350e([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]),[_0x2e350e([0x61,0x6c,0x67])]:_0x2e350e([0x45,0x53,0x32,0x35,0x36])},_0x3ac842=_0x4fd1aa[_0x2e350e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e350e([0x67,0x65,0x74])](_0x2e350e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53635d(){let _0x2ed746,_0x3d6ff4=null,_0x5c68ab=null;try{if(_0x3ac842==_0x2e350e([0x47,0x50,0x4c]))return _0x2e350e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ed746=_0x1b1853(),!_0x2ed746)return _0x2e350e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ed746[_0x2e350e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c68ab=_0x499c3a(_0x2ed746[_0x2e350e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ed746[_0x2e350e([0x6a,0x74,0x69])])),await _0x518cef()?_0x8e2a5d()?_0x6f01b9()?_0x2e350e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b14b9()?(_0x2ed746[_0x2e350e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e350e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d6ff4=_0x4a9b6d(_0x2e350e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ed746[_0x2e350e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e350e([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d6ff4=_0x4a9b6d(_0x2e350e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ae6b1()):_0x2e350e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e350e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e350e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e350e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6f01b9(){const _0x3003d9=[_0x2e350e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e350e([0x74,0x72,0x69,0x61,0x6c])][_0x2e350e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ed746[_0x2e350e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x568205/0x3e8:0xe10*_0x5032af;return _0x2ed746[_0x2e350e([0x65,0x78,0x70])]<_0x3003d9;}function _0x8e2a5d(){const _0x55a9b3=_0x2ed746[_0x2e350e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55a9b3&&(!!_0x55a9b3[_0x2e350e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e350e([0x2a]))||!!_0x55a9b3[_0x2e350e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e350e([0x55,0x50,0x4c,0x43])));}function _0x5b14b9(){const _0x2c9d3a=_0x4982,_0x285879=_0x2ed746[_0x2e350e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x285879||0x0==_0x285879[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x389d85}=new URL(window[_0x2e350e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2c9d3a(0x1b3)]);if(_0x285879[_0x2e350e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x389d85))return!0x0;const _0x5adb0e=_0x389d85[_0x2e350e([0x73,0x70,0x6c,0x69,0x74])](_0x2e350e([0x2e]));return _0x285879[_0x2e350e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b0df=>_0x10b0df[_0x2e350e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e350e([0x2a])))[_0x2e350e([0x6d,0x61,0x70])](_0x4aeafa=>_0x4aeafa[_0x2e350e([0x73,0x70,0x6c,0x69,0x74])](_0x2e350e([0x2e])))[_0x2e350e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x409efc=>_0x409efc[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5adb0e[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e350e([0x6d,0x61,0x70])](_0x44b078=>Array(_0x5adb0e[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44b078[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e350e([0x66,0x69,0x6c,0x6c])](_0x44b078[0x0]===_0x2e350e([0x2a])?_0x2e350e([0x2a]):'')[_0x2e350e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44b078))[_0x2e350e([0x73,0x6f,0x6d,0x65])](_0x5831c7=>_0x5adb0e[_0x2e350e([0x65,0x76,0x65,0x72,0x79])]((_0x3cbb08,_0x5c25d7)=>_0x5831c7[_0x5c25d7]===_0x3cbb08||_0x5831c7[_0x5c25d7]===_0x2e350e([0x2a])));}function _0x3ae6b1(){return _0x3d6ff4&&_0x5c68ab?new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x450df2,_0xcf0c40)=>{_0x3d6ff4[_0x2e350e([0x74,0x68,0x65,0x6e])](_0x450df2,_0xcf0c40),_0x5c68ab[_0x2e350e([0x74,0x68,0x65,0x6e])](_0x55c051=>{_0x55c051!=_0x2e350e([0x56,0x61,0x6c,0x69,0x64])&&_0x450df2(_0x55c051);},_0xcf0c40);}):_0x3d6ff4||_0x5c68ab||_0x2e350e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x499c3a(_0x139333,_0x16e322){return new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6a8eaa=>{if(_0x29edcb())return _0x6a8eaa(_0x2e350e([0x56,0x61,0x6c,0x69,0x64]));_0x10911f(),_0x4fd1aa[_0x2e350e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e350e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd12f=!0x1;const _0x1e7f02=_0x7a00c4();function _0x271932(_0x2e51e0){return!!_0x2e51e0&&(typeof _0x2e51e0===_0x2e350e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e51e0===_0x2e350e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e51e0[_0x2e350e([0x74,0x68,0x65,0x6e])]===_0x2e350e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e51e0[_0x2e350e([0x63,0x61,0x74,0x63,0x68])]===_0x2e350e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x207220(_0x1c224d){_0x544f3e(_0x1c224d)[_0x2e350e([0x74,0x68,0x65,0x6e])](_0x44f6a5=>{if(!_0x44f6a5||_0x44f6a5[_0x2e350e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e350e([0x6f,0x6b]))return _0x2e350e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a8c94(_0x8f476b(_0x1e7f02+_0x16e322))!=_0x44f6a5[_0x2e350e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e350e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e350e([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e350e([0x74,0x68,0x65,0x6e])](_0xab859a=>(_0x1b887f(),_0xab859a),()=>{const _0x10069b=_0xe1f45a();return null==_0x10069b?(_0x1b887f(),_0x2e350e([0x56,0x61,0x6c,0x69,0x64])):_0x2e350e(_0x568205-_0x10069b>(0x27d454df^_0x3fb2b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e350e([0x74,0x68,0x65,0x6e])](_0x6a8eaa)[_0x2e350e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6a8eaa(_0x2e350e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf169fd=0x3ee3e5f^_0x3fb2b4;function _0x1b887f(){const _0x40d0f4=_0x2e350e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a8c94(_0x8f476b(_0x139333)),_0x5caeac=_0x1f8795(_0x2a8c94(window[_0x2e350e([0x4d,0x61,0x74,0x68])][_0x2e350e([0x63,0x65,0x69,0x6c])](_0x568205/_0xf169fd)));window[_0x2e350e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e350e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40d0f4,_0x5caeac);}function _0xe1f45a(){const _0x51be7d=_0x2e350e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a8c94(_0x8f476b(_0x139333)),_0x1b55bb=window[_0x2e350e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e350e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51be7d);return _0x1b55bb?window[_0x2e350e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8795(_0x1b55bb),0x10)*_0xf169fd:null;}function _0x544f3e(_0x300206){return new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x126acc,_0x49e4ac)=>{_0x300206[_0x2e350e([0x74,0x68,0x65,0x6e])](_0x126acc,_0x49e4ac),window[_0x2e350e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49e4ac,0x3d9041f^_0x3fb2b4);});}}_0x4fd1aa[_0x2e350e([0x6f,0x6e])](_0x2e350e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18bf29,_0x1e46e0)=>{if(_0x1e46e0[0x0]!=_0x139333)return _0x6a8eaa(_0x2e350e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e46e0[0x1]={..._0x1e46e0[0x1],[_0x2e350e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e7f02};},{[_0x2e350e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e350e([0x68,0x69,0x67,0x68])}),_0x4fd1aa[_0x2e350e([0x6f,0x6e])](_0x2e350e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ec28d=>{_0x271932(_0x1ec28d[_0x2e350e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd12f=!0x0,_0x207220(_0x1ec28d[_0x2e350e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e350e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e350e([0x6c,0x6f,0x77])}),_0x201f59[_0x2e350e([0x74,0x68,0x65,0x6e])](()=>{_0x3bd12f||_0x6a8eaa(_0x2e350e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29edcb(){return _0x4fd1aa[_0x2e350e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e350e([0x76,0x69,0x65,0x77])][_0x2e350e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e350e([0x61,0x75,0x74,0x6f]);}function _0x10911f(){_0x4fd1aa[_0x2e350e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e350e([0x76,0x69,0x65,0x77])][_0x2e350e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e350e([0x61,0x75,0x74,0x6f]);}}function _0x4a9b6d(_0x1b1a2d){const _0x46bab5=[new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49807f=>setTimeout(_0x49807f,0x3d1ee13^_0x3fb2b4)),_0x201f59[_0x2e350e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7322=>{let _0x44560e=0x0;_0x4fd1aa[_0x2e350e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e350e([0x6f,0x6e])](_0x2e350e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3dd567,_0x4656d2)=>{_0x4656d2[0x0][_0x2e350e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44560e++,_0x44560e==(0x3d8d127^_0x3fb2b4)&&(_0x3a7322(),_0x3dd567[_0x2e350e([0x6f,0x66,0x66])]());});}))];return window[_0x2e350e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e350e([0x72,0x61,0x63,0x65])](_0x46bab5)[_0x2e350e([0x74,0x68,0x65,0x6e])](()=>_0x1b1a2d);}async function _0x2f3ea1(){await _0x201f59,_0x4fd1aa[_0x2e350e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e350e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b7a87,_0x4fd1aa[_0x2e350e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e350e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b7a87,_0x4fd1aa[_0x2e350e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e350e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x146a50(_0xb5cdf3){const _0x2d9aca=_0x3e33be();_0x4fd1aa[_0x2d9aca]=_0x2e350e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb5cdf3,_0xb5cdf3!=_0x2e350e([0x56,0x61,0x6c,0x69,0x64])&&_0x2f3ea1();}function _0x3e33be(){const _0x11ab9c=window[_0x2e350e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e350e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e350e([0x6e,0x6f,0x77])]())[_0x2e350e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e350e([0x2e]),'');let _0x1255d9=_0x2e350e([0x52]);for(let _0x500827=0x0;_0x500827<_0x11ab9c[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x500827+=0x2){let _0x38b267=window[_0x2e350e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ab9c[_0x2e350e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x500827,_0x500827+0x2));_0x38b267>=_0x38293e[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38b267-=_0x38293e[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1255d9+=_0x38293e[_0x38b267];}return _0x1255d9;}function _0x1b1853(){const _0x1e5b17=_0x3ac842[_0x2e350e([0x73,0x70,0x6c,0x69,0x74])](_0x2e350e([0x2e]));if(0x3!=_0x1e5b17[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3addcc(_0x1e5b17[0x1]);function _0x3addcc(_0x51b87a){const _0x4c0d7c=_0x47ebd8(_0x51b87a);return _0x4c0d7c&&_0x4e5df8()?_0x4c0d7c:null;function _0x4e5df8(){const _0x2a65e0=_0x4c0d7c[_0x2e350e([0x6a,0x74,0x69])],_0x28b0ed=window[_0x2e350e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a65e0[_0x2e350e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a65e0[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x10f17e={..._0x4c0d7c,[_0x2e350e([0x6a,0x74,0x69])]:_0x2a65e0[_0x2e350e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a65e0[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x10f17e[_0x2e350e([0x76,0x63])],_0x8f476b(_0x10f17e)==_0x28b0ed;}}}async function _0x518cef(){let _0x108a35=!0x0;try{const _0x4c1511=_0x3ac842[_0x2e350e([0x73,0x70,0x6c,0x69,0x74])](_0x2e350e([0x2e])),[_0x3c1735,_0x746fb7,_0x49ccb0]=_0x4c1511;return _0x26f1f4(_0x3c1735),await _0x156a00(_0x3c1735,_0x746fb7,_0x49ccb0),_0x108a35;}catch{return!0x1;}function _0x26f1f4(_0x1b64e5){const _0x373e00=_0x47ebd8(_0x1b64e5);_0x373e00&&_0x373e00[_0x2e350e([0x61,0x6c,0x67])]==_0x2e350e([0x45,0x53,0x32,0x35,0x36])||(_0x108a35=!0x1);}async function _0x156a00(_0x19b030,_0x17f6fd,_0x5c1dad){const _0x2b35d6=window[_0x2e350e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e350e([0x66,0x72,0x6f,0x6d])](_0x390bd5(_0x5c1dad),_0x108ae0=>_0x108ae0[_0x2e350e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d6020=new window[(_0x2e350e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e350e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19b030+_0x2e350e([0x2e])+_0x17f6fd),_0x370bb2=window[_0x2e350e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e350e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x370bb2)return;const _0x4c04a1=await _0x370bb2[_0x2e350e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e350e([0x6a,0x77,0x6b]),_0x4b5ad9,{[_0x2e350e([0x6e,0x61,0x6d,0x65])]:_0x2e350e([0x45,0x43,0x44,0x53,0x41]),[_0x2e350e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e350e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e350e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x370bb2[_0x2e350e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e350e([0x6e,0x61,0x6d,0x65])]:_0x2e350e([0x45,0x43,0x44,0x53,0x41]),[_0x2e350e([0x68,0x61,0x73,0x68])]:{[_0x2e350e([0x6e,0x61,0x6d,0x65])]:_0x2e350e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c04a1,_0x2b35d6,_0x1d6020)||(_0x108a35=!0x1);}}function _0x47ebd8(_0xc1d5ae){return _0xc1d5ae[_0x2e350e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e350e([0x65,0x79]))?JSON[_0x2e350e([0x70,0x61,0x72,0x73,0x65])](_0x390bd5(_0xc1d5ae)):null;}function _0x390bd5(_0x443e66){return window[_0x2e350e([0x61,0x74,0x6f,0x62])](_0x443e66[_0x2e350e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e350e([0x2b]))[_0x2e350e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e350e([0x2f])));}function _0x8f476b(_0x2538fe){let _0x2cc886=0x1505;function _0x1af996(_0x158e10){for(let _0x5df9c0=0x0;_0x5df9c0<_0x158e10[_0x2e350e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5df9c0++){const _0x45bfaf=_0x158e10[_0x2e350e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5df9c0);_0x2cc886=(_0x2cc886<<0x5)+_0x2cc886+_0x45bfaf,_0x2cc886&=_0x2cc886;}}function _0xa29f2a(_0x53d2b8){Array[_0x2e350e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53d2b8)?_0x53d2b8[_0x2e350e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa29f2a):_0x53d2b8&&typeof _0x53d2b8==_0x2e350e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e350e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53d2b8)[_0x2e350e([0x73,0x6f,0x72,0x74])]()[_0x2e350e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x436b69,_0x331fe1])=>{_0x1af996(_0x436b69),_0xa29f2a(_0x331fe1);}):_0x1af996(window[_0x2e350e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53d2b8));}return _0xa29f2a(_0x2538fe),_0x2cc886>>>0x0;}function _0x2a8c94(_0x266fb0){return _0x266fb0[_0x2e350e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e350e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e350e([0x30]));}function _0x1f8795(_0x5d64e0){return _0x5d64e0[_0x2e350e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e350e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e350e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b7a87(){}function _0x2e350e(_0x398b7a){const _0x41c93=_0x4982;return _0x398b7a[_0x41c93(0x1bf)](_0x1fc6d9=>String[_0x41c93(0x1b2)](_0x1fc6d9))[_0x41c93(0x1ba)]('');}_0x146a50(await _0x53635d());}(this);}[_0x4e6d73(0x1ca)](){const _0x1d8b95=_0x4e6d73,_0x596230=this[_0x1d8b95(0x1dc)][_0x1d8b95(0x1b7)][_0x1d8b95(0x1c3)];_0x596230[_0x1d8b95(0x1d1)](_0x1d8b95(0x1b5))&&_0x596230[_0x1d8b95(0x1ab)](_0x1d8b95(0x1b5),{'allowAttributes':[_0x1d8b95(0x1c5)]}),_0x596230[_0x1d8b95(0x1d1)](_0x1d8b95(0x1a2))&&_0x596230[_0x1d8b95(0x1ab)](_0x1d8b95(0x1a2),{'allowAttributes':[_0x1d8b95(0x1c5)]});}[_0x4e6d73(0x18f)](){const _0x24375b=_0x4e6d73,_0x2a45be=this[_0x24375b(0x1dc)];_0x2a45be[_0x24375b(0x1a9)][_0x24375b(0x190)](_0x24375b(0x1b0))[_0x24375b(0x1de)]({'model':_0x24375b(0x1c5),'view':_0x24375b(0x1d6)}),_0x2a45be[_0x24375b(0x1a9)][_0x24375b(0x190)](_0x24375b(0x1aa))[_0x24375b(0x19c)]({'model':{'key':_0x24375b(0x1c5),'value':_0x15de22=>_0x15de22[_0x24375b(0x1db)](_0x24375b(0x1d6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x411f02=_0x2a45be[_0x24375b(0x19b)][_0x24375b(0x1e1)](_0x24375b(0x1d5));_0x411f02&&this[_0x24375b(0x1a8)](_0x411f02,_0x24375b(0x1d9),(_0x18de1e,[_0x11dab7,_0x3fc778])=>{const _0x35136b=_0x24375b;_0x11dab7[_0x35136b(0x1dd)](_0x35136b(0x1c5),_0x3fc778);});}[_0x4e6d73(0x1ad)](){const _0x15d7ff=_0x4e6d73,_0x181678=this[_0x15d7ff(0x1dc)][_0x15d7ff(0x1df)][_0x15d7ff(0x1e1)](_0x15d7ff(0x1d3))||{},_0x1cb0d7=this[_0x15d7ff(0x1dc)][_0x15d7ff(0x1df)][_0x15d7ff(0x1e1)](_0x15d7ff(0x198))||'';this[_0x15d7ff(0x1a5)]=_0x3bdefa(_0x1e6d15[_0x15d7ff(0x1c9)],_0x15d7ff(0x1d2),{..._0x181678,'pubkey':_0x1cb0d7,'ctx-name':_0x15d7ff(0x1b8)+this[_0x15d7ff(0x194)],'sourceList':'','imgOnly':_0x15d7ff(0x1cd),'removeCopyright':_0x15d7ff(0x1cd),'localeName':this[_0x15d7ff(0x1dc)][_0x15d7ff(0x1b6)][_0x15d7ff(0x1c7)],'externalSourcesEmbedCss':_0x15d7ff(0x1ae)}),this[_0x15d7ff(0x1a5)][_0x15d7ff(0x199)]=_0x1bb308=>{const _0x68b01c=_0x15d7ff;if(_0x68b01c(0x1b4)==_0x1bb308)return _0x68b01c(0x191);},_0x1e6d15[_0x15d7ff(0x1c9)][_0x15d7ff(0x1c2)][_0x15d7ff(0x1c6)](this[_0x15d7ff(0x1a5)]);}[_0x4e6d73(0x1e4)](){const _0x25f8ed=_0x4e6d73;this[_0x25f8ed(0x1d0)]=_0x3bdefa(_0x1e6d15[_0x25f8ed(0x1c9)],_0x25f8ed(0x1a0),{'ctx-name':_0x25f8ed(0x1b8)+this[_0x25f8ed(0x194)]}),_0x1e6d15[_0x25f8ed(0x1c9)][_0x25f8ed(0x1c2)][_0x25f8ed(0x1c6)](this[_0x25f8ed(0x1d0)]);}[_0x4e6d73(0x19d)](){const _0x3431b3=_0x4e6d73,_0x239f43=this[_0x3431b3(0x1dc)][_0x3431b3(0x19b)][_0x3431b3(0x1e1)](_0x3431b3(0x1a6));_0x239f43&&this[_0x3431b3(0x1a8)](_0x239f43,_0x3431b3(0x1bd),()=>{const _0x559972=_0x3431b3,_0x3f1d74=this[_0x559972(0x1dc)][_0x559972(0x1b7)][_0x559972(0x1c9)][_0x559972(0x19f)][_0x559972(0x1a7)]();_0x3f1d74&&_0x3f1d74[_0x559972(0x1db)](_0x559972(0x1c5))&&this[_0x559972(0x1dc)][_0x559972(0x1c0)][_0x559972(0x19a)][_0x559972(0x192)](_0x559972(0x196),()=>{const _0xb934c8=_0x559972;_0x96a6(this[_0xb934c8(0x1dc)],_0x3f1d74);});});const _0x555b74=this[_0x3431b3(0x1dc)][_0x3431b3(0x19b)][_0x3431b3(0x1e1)](_0x3431b3(0x1a3));_0x555b74&&this[_0x3431b3(0x1a8)](_0x555b74,_0x3431b3(0x1bd),()=>{const _0x47bc19=_0x3431b3,_0x21fc13=this[_0x47bc19(0x1dc)][_0x47bc19(0x1b7)][_0x47bc19(0x1c9)][_0x47bc19(0x19f)][_0x47bc19(0x1a7)]();_0x21fc13&&_0x21fc13[_0x47bc19(0x1db)](_0x47bc19(0x1c5))&&this[_0x47bc19(0x1dc)][_0x47bc19(0x1c0)][_0x47bc19(0x19a)][_0x47bc19(0x192)](_0x47bc19(0x196),()=>{const _0x6c8bcf=_0x47bc19;_0x96a6(this[_0x6c8bcf(0x1dc)],_0x21fc13);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x56daba,ObservableMixin as _0x47b8a1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x181fc3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4e778d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x394275}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x289dcc}from'../../utils/uploadutils.js';import{getImageUrls as _0x117fa3,getImageDimension as _0x26bdd8}from'../../utils/editingutils.js';import{isAncestor as _0x36c1d7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x47b8a1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x41670f,_0x450860,_0x4cebdb){super(),this['_editor']=_0x41670f,this['_dialog']=_0x450860,this['_imageElement']=_0x4cebdb,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 _0x5a2337=this['_imageElement'],_0x2ded00=_0x5a2337['getAttribute']('uploadcareImageId'),_0x2fa03d=_0x5a2337['getAttribute']('src');if(_0x2ded00)await this['_loadImageInfo'](_0x2ded00,_0x2fa03d);else{if(this['_imageCache']['has'](_0x2fa03d)){const _0x221eb7=this['_imageCache']['get'](_0x2fa03d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x221eb7['url'],this['imageDimension']=_0x221eb7['dimension'],this['imageId']=_0x221eb7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5009b8}=this['_editor'],t=_0x5009b8['t'],_0x110e4c=new _0x394275(_0x5009b8,this['imageStatus'],this['_attributes']);_0x110e4c['bind']('status')['to'](this,'imageStatus'),_0x110e4c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x110e4c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x110e4c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x110e4c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4e778d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x110e4c,'position':_0x181fc3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x110e4c['focus']();},'onHide':()=>{_0x110e4c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2935ec=>!_0x36c1d7(_0x2935ec,_0x110e4c['element'])}});}['_loadImageInfo'](_0x5bd983,_0x10e2c2){return _0x289dcc['getInfo'](_0x5bd983,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x38231a=>{const {width:_0xeaa01f,height:_0x1ad433}=_0x38231a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10e2c2,this['imageDimension']={'width':_0xeaa01f,'height':_0x1ad433},this['imageId']=_0x5bd983;})['catch'](_0x1ce3e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ce3e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1038f7,_0x136d47){return this['_getImageAsFile'](_0x1038f7)['then'](_0x824238=>_0x289dcc['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x136d47['signal'],'file':_0x824238,'onProgress':_0x3dcfc2=>{_0x3dcfc2&&_0x3dcfc2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3dcfc2['value']));}}))['then'](_0x4bb4da=>{const {width:_0x1d5e47,height:_0x1ab232}=_0x4bb4da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb4da['cdnUrl'],this['imageDimension']={'width':_0x1d5e47,'height':_0x1ab232},this['imageId']=_0x4bb4da['uuid'],this['imageUploadProgress']=null;const _0x5bbf95=_0x1038f7['getAttribute']('src');this['_imageCache']['set'](_0x5bbf95,{'id':_0x4bb4da['uuid'],'url':_0x4bb4da['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a3ab7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a3ab7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x71560e,_0x18fa6e){_0x71560e['on']('apply',(_0x33c4d5,_0x11f4cc)=>{this['_replaceImage'](_0x18fa6e,_0x11f4cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x71560e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x71560e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8f0e4a,_0x53998d,_0xfb3898){const _0x5c1521=this['_editor'],{width:_0x4d338b,height:_0x543743}=_0x26bdd8(_0x53998d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1ae720,imageSources:_0x20f447}=_0x117fa3(_0x53998d,_0x4d338b);_0x5c1521['model']['change'](_0x17ea5e=>{if('$graveyard'===_0x8f0e4a['root']['rootName']){_0x5c1521['execute']('insertImage',{'imageType':_0x8f0e4a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743}});const _0x4c8c65=_0x8f0e4a['getChildren']();_0x8f0e4a=_0x5c1521['model']['document']['selection']['getSelectedElement']();for(const _0x3dbf01 of _0x4c8c65)_0x17ea5e['append'](_0x17ea5e['cloneElement'](_0x3dbf01),_0x8f0e4a);}else _0x17ea5e['setSelection'](_0x8f0e4a,'on'),_0x5c1521['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743},_0x8f0e4a);_0x17ea5e['setSelection'](_0x8f0e4a,'on');});}async['_getImageAsFile'](_0x42525e){const _0x44a949=_0x56daba['window'],_0x157987=_0x56daba['document']['location']['href'],_0x1d01af=new _0x44a949['URL'](_0x42525e['getAttribute']('src'),_0x157987);if('data:'===_0x1d01af['protocol']){const _0x14d647=_0x1d01af['href']['split'](','),_0xc380b1=_0x14d647[0x0]['match'](/:(.*?);/)[0x1],_0x4f9dfd=_0xc380b1['split']('/')[0x1],_0x59d02f=_0x44a949['atob'](_0x14d647[_0x14d647['length']-0x1]);let _0x476c6f=_0x59d02f['length'];const _0xd2cfcc=new _0x44a949['Uint8Array'](_0x476c6f);for(;_0x476c6f--;)_0xd2cfcc[_0x476c6f]=_0x59d02f['charCodeAt'](_0x476c6f);return new _0x44a949['File']([_0xd2cfcc],'image.'+_0x4f9dfd,{'type':_0xc380b1});}const _0x3239ec=_0x1d01af['href']['split']('/'),_0x4c0c2f=_0x3239ec[_0x3239ec['length']-0x1],_0x573813=_0x4c0c2f['split']('.')[0x1];return _0x44a949['fetch'](_0x1d01af['href'])['then'](_0x39cb5a=>_0x39cb5a['clone']()['blob']())['then'](_0x50efbe=>new _0x44a949['File']([_0x50efbe],_0x4c0c2f,{'type':'image/'+_0x573813}));}}
23
+ import{global as _0x174dc3,ObservableMixin as _0x11179b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x9b1559}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x285f8d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x7d12c5}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2388c7}from'../../utils/uploadutils.js';import{getImageUrls as _0x424da2,getImageDimension as _0x4cc158}from'../../utils/editingutils.js';import{isAncestor as _0x427ea5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x11179b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3caa98,_0x3b9341,_0x482d12){super(),this['_editor']=_0x3caa98,this['_dialog']=_0x3b9341,this['_imageElement']=_0x482d12,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 _0x58b521=this['_imageElement'],_0x1b7f3a=_0x58b521['getAttribute']('uploadcareImageId'),_0x534164=_0x58b521['getAttribute']('src');if(_0x1b7f3a)await this['_loadImageInfo'](_0x1b7f3a,_0x534164);else{if(this['_imageCache']['has'](_0x534164)){const _0x26bce1=this['_imageCache']['get'](_0x534164);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26bce1['url'],this['imageDimension']=_0x26bce1['dimension'],this['imageId']=_0x26bce1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2d310e}=this['_editor'],t=_0x2d310e['t'],_0x14562b=new _0x7d12c5(_0x2d310e,this['imageStatus'],this['_attributes']);_0x14562b['bind']('status')['to'](this,'imageStatus'),_0x14562b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14562b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14562b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14562b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x285f8d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14562b,'position':_0x9b1559['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14562b['focus']();},'onHide':()=>{_0x14562b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a8c4e=>!_0x427ea5(_0x3a8c4e,_0x14562b['element'])}});}['_loadImageInfo'](_0x5b924a,_0x2cd1f8){return _0x2388c7['getInfo'](_0x5b924a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2fa2a7=>{const {width:_0x2066f2,height:_0xa89c30}=_0x2fa2a7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2cd1f8,this['imageDimension']={'width':_0x2066f2,'height':_0xa89c30},this['imageId']=_0x5b924a;})['catch'](_0x1497ca=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1497ca['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x201a4e,_0x35bf1c){return this['_getImageAsFile'](_0x201a4e)['then'](_0xd3879e=>_0x2388c7['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x35bf1c['signal'],'file':_0xd3879e,'onProgress':_0x2281b8=>{_0x2281b8&&_0x2281b8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2281b8['value']));}}))['then'](_0x3e58f5=>{const {width:_0x12f930,height:_0x1a01a8}=_0x3e58f5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e58f5['cdnUrl'],this['imageDimension']={'width':_0x12f930,'height':_0x1a01a8},this['imageId']=_0x3e58f5['uuid'],this['imageUploadProgress']=null;const _0x3f13f2=_0x201a4e['getAttribute']('src');this['_imageCache']['set'](_0x3f13f2,{'id':_0x3e58f5['uuid'],'url':_0x3e58f5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4d849c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d849c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2dc8d2,_0x2bcfc1){_0x2dc8d2['on']('apply',(_0x3a7f65,_0x29e1dc)=>{this['_replaceImage'](_0x2bcfc1,_0x29e1dc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2dc8d2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2dc8d2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9893,_0x5787c1,_0x43e7c3){const _0x2af0f4=this['_editor'],{width:_0x57ffe5,height:_0x5c5ba5}=_0x4cc158(_0x5787c1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xee29ad,imageSources:_0x3e43a8}=_0x424da2(_0x5787c1,_0x57ffe5);_0x2af0f4['model']['change'](_0xcd023f=>{if('$graveyard'===_0x9893['root']['rootName']){_0x2af0f4['execute']('insertImage',{'imageType':_0x9893['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9893['getAttributes']()),'uploadcareImageId':_0x43e7c3,'src':_0xee29ad,'sources':_0x3e43a8,'width':_0x57ffe5,'height':_0x5c5ba5}});const _0x542fa8=_0x9893['getChildren']();_0x9893=_0x2af0f4['model']['document']['selection']['getSelectedElement']();for(const _0x4f724b of _0x542fa8)_0xcd023f['append'](_0xcd023f['cloneElement'](_0x4f724b),_0x9893);}else _0xcd023f['setSelection'](_0x9893,'on'),_0x2af0f4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9893['getAttributes']()),'uploadcareImageId':_0x43e7c3,'src':_0xee29ad,'sources':_0x3e43a8,'width':_0x57ffe5,'height':_0x5c5ba5},_0x9893);_0xcd023f['setSelection'](_0x9893,'on');});}async['_getImageAsFile'](_0x36f056){const _0x3aeed2=_0x174dc3['window'],_0x16d3d1=_0x174dc3['document']['location']['href'],_0x14d61f=new _0x3aeed2['URL'](_0x36f056['getAttribute']('src'),_0x16d3d1);if('data:'===_0x14d61f['protocol']){const _0x6455d6=_0x14d61f['href']['split'](','),_0x6d591a=_0x6455d6[0x0]['match'](/:(.*?);/)[0x1],_0x5d9b64=_0x6d591a['split']('/')[0x1],_0x2e9443=_0x3aeed2['atob'](_0x6455d6[_0x6455d6['length']-0x1]);let _0x46ad1e=_0x2e9443['length'];const _0x4427b7=new _0x3aeed2['Uint8Array'](_0x46ad1e);for(;_0x46ad1e--;)_0x4427b7[_0x46ad1e]=_0x2e9443['charCodeAt'](_0x46ad1e);return new _0x3aeed2['File']([_0x4427b7],'image.'+_0x5d9b64,{'type':_0x6d591a});}const _0x28ded8=_0x14d61f['href']['split']('/'),_0x339aa2=_0x28ded8[_0x28ded8['length']-0x1],_0x507248=_0x339aa2['split']('.')[0x1];return _0x3aeed2['fetch'](_0x14d61f['href'])['then'](_0x3d11e8=>_0x3d11e8['clone']()['blob']())['then'](_0x274766=>new _0x3aeed2['File']([_0x274766],_0x339aa2,{'type':'image/'+_0x507248}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x20a959,_0x1121d3){const _0xa9bbbb=_0x3f43,_0x2e7ada=_0x20a959();while(!![]){try{const _0x3b5e0c=parseInt(_0xa9bbbb(0xf1))/0x1*(parseInt(_0xa9bbbb(0xeb))/0x2)+-parseInt(_0xa9bbbb(0xee))/0x3*(parseInt(_0xa9bbbb(0xea))/0x4)+parseInt(_0xa9bbbb(0xe7))/0x5+-parseInt(_0xa9bbbb(0xe5))/0x6+parseInt(_0xa9bbbb(0xf0))/0x7+-parseInt(_0xa9bbbb(0xe4))/0x8+parseInt(_0xa9bbbb(0xe9))/0x9;if(_0x3b5e0c===_0x1121d3)break;else _0x2e7ada['push'](_0x2e7ada['shift']());}catch(_0xf9f26c){_0x2e7ada['push'](_0x2e7ada['shift']());}}}(_0x1e4c,0xa61be));import{View as _0x44ec4f}from'ckeditor5/src/ui.js';function _0x3f43(_0x4b4870,_0x1e9095){const _0x1e4c4b=_0x1e4c();return _0x3f43=function(_0x3f4308,_0x5b80d8){_0x3f4308=_0x3f4308-0xe3;let _0x1edf75=_0x1e4c4b[_0x3f4308];return _0x1edf75;},_0x3f43(_0x4b4870,_0x1e9095);}function _0x1e4c(){const _0x21c757=['ck-uploadcare-theme','12319038vsoObP','72300QSwlvR','386OxOTGz','uc-light','uc-cloud-image-editor','63fbpQIG','imageSrc','276381DOnNUZ','4139jJdnRb','set','setTemplate','bindTemplate','4937608tWGYzB','3273084GQOkSJ','image-edit','77900sEpgRu'];_0x1e4c=function(){return _0x21c757;};return _0x1e4c();}export class UploadcareImageEditFormEditingView extends _0x44ec4f{constructor(_0x262d81,_0x43d61d){const _0x8fbfe9=_0x3f43;super(_0x262d81);const _0x59d556=this[_0x8fbfe9(0xe3)];this[_0x8fbfe9(0xf2)](_0x8fbfe9(0xef),''),this[_0x8fbfe9(0xf3)]({'tag':_0x8fbfe9(0xed),'attributes':{..._0x43d61d,'class':[_0x8fbfe9(0xec),_0x8fbfe9(0xe8)],'ctx-name':_0x8fbfe9(0xe6),'cdn-url':_0x59d556['to'](_0x8fbfe9(0xef))}});}}
23
+ function _0xee6d(_0xeaf9bf,_0x1f5d66){const _0x40b7fc=_0x40b7();return _0xee6d=function(_0xee6d4f,_0x395cb2){_0xee6d4f=_0xee6d4f-0x155;let _0xd66149=_0x40b7fc[_0xee6d4f];return _0xd66149;},_0xee6d(_0xeaf9bf,_0x1f5d66);}(function(_0x5a9628,_0xc8397d){const _0x780b66=_0xee6d,_0x28e37f=_0x5a9628();while(!![]){try{const _0x6d8c96=-parseInt(_0x780b66(0x159))/0x1+parseInt(_0x780b66(0x15b))/0x2*(parseInt(_0x780b66(0x15a))/0x3)+-parseInt(_0x780b66(0x15c))/0x4*(-parseInt(_0x780b66(0x15f))/0x5)+-parseInt(_0x780b66(0x157))/0x6+-parseInt(_0x780b66(0x158))/0x7*(parseInt(_0x780b66(0x165))/0x8)+-parseInt(_0x780b66(0x163))/0x9+parseInt(_0x780b66(0x15e))/0xa;if(_0x6d8c96===_0xc8397d)break;else _0x28e37f['push'](_0x28e37f['shift']());}catch(_0xf1f46b){_0x28e37f['push'](_0x28e37f['shift']());}}}(_0x40b7,0xf1dfe));import{View as _0xac1140}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xac1140{constructor(_0x5e914c,_0x28470a){const _0x4c3e32=_0xee6d;super(_0x5e914c);const _0x1c00bf=this[_0x4c3e32(0x160)];this[_0x4c3e32(0x15d)](_0x4c3e32(0x166),''),this[_0x4c3e32(0x161)]({'tag':_0x4c3e32(0x164),'attributes':{..._0x28470a,'class':[_0x4c3e32(0x155),_0x4c3e32(0x156)],'ctx-name':_0x4c3e32(0x162),'cdn-url':_0x1c00bf['to'](_0x4c3e32(0x166))}});}}function _0x40b7(){const _0x4ca710=['set','41219700aMHIHg','1199455nzAsQE','bindTemplate','setTemplate','image-edit','8078076zqofnC','uc-cloud-image-editor','24lkKdmY','imageSrc','uc-light','ck-uploadcare-theme','2276022GeVFvW','3223815QhTUZo','1856904lNppes','3CzIHWZ','849248vKDEOC','16DxoEKH'];_0x40b7=function(){return _0x4ca710;};return _0x40b7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3b4c95}from'ckeditor5/src/icons.js';import{ButtonView as _0x23148f,IconView as _0x8d92a1,View as _0xa3332}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xa3332{constructor(_0x246b96){super(_0x246b96);const t=_0x246b96['t'];this['set']('errorType',null);const _0x5c96dd=new _0x23148f(_0x246b96);_0x5c96dd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c96dd['withText']=!0x0,_0x5c96dd['class']='ck-button-action',_0x5c96dd['on']('execute',()=>{this['fire']('retry');}),_0x5c96dd['bind']('isVisible')['to'](this,'errorType',_0x149220=>'NotFound'!==_0x149220);const _0x510eac=new _0x8d92a1();_0x510eac['content']=_0x3b4c95,_0x510eac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x27353e=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':[_0x510eac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x27353e['to']('errorType',_0x4aff55=>t('NotFound'!==_0x4aff55?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c96dd]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x3512db}from'ckeditor5/src/icons.js';import{ButtonView as _0x53d92c,IconView as _0x21b2f0,View as _0x5d9599}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5d9599{constructor(_0x1d4be9){super(_0x1d4be9);const t=_0x1d4be9['t'];this['set']('errorType',null);const _0x21914e=new _0x53d92c(_0x1d4be9);_0x21914e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x21914e['withText']=!0x0,_0x21914e['class']='ck-button-action',_0x21914e['on']('execute',()=>{this['fire']('retry');}),_0x21914e['bind']('isVisible')['to'](this,'errorType',_0x2c45dd=>'NotFound'!==_0x2c45dd);const _0x2088c0=new _0x21b2f0();_0x2088c0['content']=_0x3512db,_0x2088c0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11a3c2=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':[_0x2088c0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11a3c2['to']('errorType',_0x5516fa=>t('NotFound'!==_0x5516fa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x21914e]},{'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 _0x16414b,View as _0x3b66c4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3b66c4{constructor(_0x1ba405){super(_0x1ba405);const t=_0x1ba405['t'],_0x3c0e0c=this['bindTemplate'],_0x3febdd=new _0x16414b();_0x3febdd['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':[_0x3febdd,{'text':_0x3c0e0c['to']('imageUploadProgress',_0x375a69=>t('Loading\x20image...')+'\x20('+(_0x375a69||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 _0x4f4594,View as _0x26ae84}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x26ae84{constructor(_0x4bb486){super(_0x4bb486);const t=_0x4bb486['t'],_0x214a3b=this['bindTemplate'],_0x281c01=new _0x4f4594();_0x281c01['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':[_0x281c01,{'text':_0x214a3b['to']('imageUploadProgress',_0x5c718d=>t('Loading\x20image...')+'\x20('+(_0x5c718d||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 _0xf1de93=_0x16dd;(function(_0x400354,_0x2ca23e){const _0x47f714=_0x16dd,_0x12a5a5=_0x400354();while(!![]){try{const _0x4bbf7c=-parseInt(_0x47f714(0x1eb))/0x1*(parseInt(_0x47f714(0x200))/0x2)+-parseInt(_0x47f714(0x1d5))/0x3*(parseInt(_0x47f714(0x1ff))/0x4)+parseInt(_0x47f714(0x203))/0x5*(parseInt(_0x47f714(0x1e7))/0x6)+-parseInt(_0x47f714(0x1d8))/0x7+parseInt(_0x47f714(0x1e3))/0x8*(-parseInt(_0x47f714(0x1cd))/0x9)+-parseInt(_0x47f714(0x1ed))/0xa*(-parseInt(_0x47f714(0x1e2))/0xb)+parseInt(_0x47f714(0x1fc))/0xc;if(_0x4bbf7c===_0x2ca23e)break;else _0x12a5a5['push'](_0x12a5a5['shift']());}catch(_0x304810){_0x12a5a5['push'](_0x12a5a5['shift']());}}}(_0x1331,0x19f4a));import{View as _0x11108e}from'ckeditor5/src/ui.js';function _0x16dd(_0x5ada5f,_0x2a5088){const _0x133167=_0x1331();return _0x16dd=function(_0x16dd2f,_0x281b02){_0x16dd2f=_0x16dd2f-0x1cc;let _0x5c08ad=_0x133167[_0x16dd2f];return _0x5c08ad;},_0x16dd(_0x5ada5f,_0x2a5088);}import{UploadcareImageEditFormLoadingView as _0x19a7af}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x312725}from'./uploadcareimageeditformerrorview.js';function _0x1331(){const _0x10ea98=['12gINTwI','setTemplate','focus','once','195639jeTqEH','target','3330RfPCRa','querySelector','_errorView','addEventListener','detail','set','length','fire','retry','_waitForImageEditorComponent','apply','render','status','element','ck-uploadcare-form','8396124wukNeD','_loadingView','_setView','4rBHkUS','2XmZPvS','addedNodes','_editingView','139280cGZDJP','cancel','filter','1845279xXvOjo','nodeName','clear','_addErrorViewListeners','ck-reset_all-excluded','cdnUrl','createCollection','change:status','536361mDzURS','add','addMany','648165rSevSL','uc-cloud-image-editor','error','div','_focusableView','disconnect','uploading','ready','observe','_items','759fykkEy','8zojpIq','getFocusableElement','toLowerCase','_addUploadcareImageEditorListeners'];_0x1331=function(){return _0x10ea98;};return _0x1331();}import{UploadcareImageEditFormEditingView as _0x224f66}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a576f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a576f{[_0xf1de93(0x1e1)];[_0xf1de93(0x1fd)];[_0xf1de93(0x1ef)];[_0xf1de93(0x202)];[_0xf1de93(0x1dc)];constructor(_0x30a162,_0x4593d2,_0x40fe06){const _0x7baaef=_0xf1de93;super(_0x30a162),this[_0x7baaef(0x1e1)]=this[_0x7baaef(0x1d3)](),this[_0x7baaef(0x1fd)]=new _0x19a7af(_0x30a162),this[_0x7baaef(0x1ef)]=new _0x312725(_0x30a162),this[_0x7baaef(0x202)]=new _0x224f66(_0x30a162,_0x40fe06),this[_0x7baaef(0x1dc)]=new _0x11108e(_0x30a162),this[_0x7baaef(0x1dc)][_0x7baaef(0x1e8)](this[_0x7baaef(0x1e4)]()),this[_0x7baaef(0x1f2)](_0x7baaef(0x1f9),_0x4593d2),this[_0x7baaef(0x1e8)]({'tag':_0x7baaef(0x1db),'attributes':{'class':['ck',_0x7baaef(0x1d1),_0x7baaef(0x1fb)],'tabindex':'-1'},'children':this[_0x7baaef(0x1e1)]}),this[_0x7baaef(0x1fe)](),this[_0x7baaef(0x1ea)](_0x7baaef(0x1f8),()=>{const _0x49d836=_0x7baaef;this[_0x49d836(0x1f6)](this[_0x49d836(0x1fa)],_0x5c2b25=>{const _0x1d22cc=_0x49d836;this[_0x1d22cc(0x1e6)](_0x5c2b25);});}),this['on'](_0x7baaef(0x1d4),()=>{const _0xfedc4=_0x7baaef;this[_0xfedc4(0x1fe)]();}),this[_0x7baaef(0x1d0)]();}[_0xf1de93(0x1e9)](){const _0x160f2f=_0xf1de93;this[_0x160f2f(0x1fa)][_0x160f2f(0x1e9)]();}[_0xf1de93(0x1fe)](){const _0x9fbcfc=_0xf1de93;switch(this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1cf)](),this[_0x9fbcfc(0x1f9)]){case _0x9fbcfc(0x1de):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1fd)]);break;case _0x9fbcfc(0x1da):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1ef)]);break;case _0x9fbcfc(0x1df):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d7)]([this[_0x9fbcfc(0x202)],this[_0x9fbcfc(0x1dc)]]);}}[_0xf1de93(0x1f6)](_0x1aad78,_0x41967f){const _0x4c7ecb=_0xf1de93,_0x307f20=_0x4c7ecb(0x1d9),_0x9863d0=_0x1aad78[_0x4c7ecb(0x1ee)](_0x307f20);if(_0x9863d0)return _0x41967f(_0x9863d0);const _0x4411c7=new MutationObserver(_0x5bb6a5=>{const _0x301233=_0x4c7ecb,_0x4df564=_0x5bb6a5[_0x301233(0x1cc)](_0x1ba9a8=>_0x1ba9a8[_0x301233(0x1ec)]===_0x1aad78&&_0x1ba9a8[_0x301233(0x201)][_0x301233(0x1f3)]>0x0&&_0x1ba9a8[_0x301233(0x201)][0x0][_0x301233(0x1ce)][_0x301233(0x1e5)]()===_0x307f20);_0x4df564[_0x301233(0x1f3)]&&(_0x4411c7[_0x301233(0x1dd)](),_0x41967f(_0x4df564[0x0][_0x301233(0x201)][0x0]));});_0x4411c7[_0x4c7ecb(0x1e0)](_0x1aad78,{'childList':!0x0,'subtree':!0x0});}[_0xf1de93(0x1e6)](_0x2db435){const _0x2a02a4=_0xf1de93;_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x1f7),_0x5cf0d6=>{const _0x31a7aa=_0x2a02a4;this[_0x31a7aa(0x1f4)](_0x31a7aa(0x1f7),{'imageSrc':_0x5cf0d6[_0x31a7aa(0x1f1)][_0x31a7aa(0x1d2)]});}),_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x204),()=>{const _0x4b9fef=_0x2a02a4;this[_0x4b9fef(0x1f4)](_0x4b9fef(0x204));});}[_0xf1de93(0x1d0)](){const _0x49fd14=_0xf1de93;this[_0x49fd14(0x1ef)]['on'](_0x49fd14(0x1f5),()=>{const _0xb76c01=_0x49fd14;this[_0xb76c01(0x1f4)](_0xb76c01(0x1f5));});}}
23
+ const _0x2d50a8=_0x4d89;function _0x57c2(){const _0x305c6d=['_addUploadcareImageEditorListeners','createCollection','ready','setTemplate','change:status','_addErrorViewListeners','addEventListener','render','_waitForImageEditorComponent','add','clear','52GDVntB','apply','_errorView','element','disconnect','status','cdnUrl','fire','querySelector','9FxMfqq','_focusableView','609258GsnZyN','ck-reset_all-excluded','detail','div','filter','2403470jmTPJx','1835592YoWmMG','24tMhFLU','set','addMany','retry','focus','27494sUqtKc','_editingView','length','_setView','uploading','nodeName','toLowerCase','observe','104015TCVcXe','cancel','28PUKPbZ','uc-cloud-image-editor','26680OCDCBT','2781284dafVhY','ck-uploadcare-form','_items','target','addedNodes','error','once','_loadingView','getFocusableElement'];_0x57c2=function(){return _0x305c6d;};return _0x57c2();}(function(_0x463a49,_0x541386){const _0x4ee6a8=_0x4d89,_0x3a86a2=_0x463a49();while(!![]){try{const _0x44d2a2=-parseInt(_0x4ee6a8(0x9a))/0x1+parseInt(_0x4ee6a8(0x8e))/0x2*(-parseInt(_0x4ee6a8(0x89))/0x3)+-parseInt(_0x4ee6a8(0x77))/0x4*(parseInt(_0x4ee6a8(0x96))/0x5)+parseInt(_0x4ee6a8(0x82))/0x6*(parseInt(_0x4ee6a8(0x98))/0x7)+parseInt(_0x4ee6a8(0x88))/0x8*(parseInt(_0x4ee6a8(0x80))/0x9)+parseInt(_0x4ee6a8(0x87))/0xa+-parseInt(_0x4ee6a8(0x9b))/0xb;if(_0x44d2a2===_0x541386)break;else _0x3a86a2['push'](_0x3a86a2['shift']());}catch(_0x1b5ba0){_0x3a86a2['push'](_0x3a86a2['shift']());}}}(_0x57c2,0x34bdd));import{View as _0x59213e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x390d5f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4c3afa}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2db188}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1885ab}from'../../utils/dialogfocusmanagerview.js';function _0x4d89(_0x4f7f65,_0x5d49c3){const _0x57c20b=_0x57c2();return _0x4d89=function(_0x4d8900,_0x55e694){_0x4d8900=_0x4d8900-0x6a;let _0x50b220=_0x57c20b[_0x4d8900];return _0x50b220;},_0x4d89(_0x4f7f65,_0x5d49c3);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1885ab{[_0x2d50a8(0x9d)];[_0x2d50a8(0x6a)];[_0x2d50a8(0x79)];[_0x2d50a8(0x8f)];[_0x2d50a8(0x81)];constructor(_0x46485e,_0x35082f,_0xbd4a59){const _0x5dae94=_0x2d50a8;super(_0x46485e),this[_0x5dae94(0x9d)]=this[_0x5dae94(0x6d)](),this[_0x5dae94(0x6a)]=new _0x390d5f(_0x46485e),this[_0x5dae94(0x79)]=new _0x4c3afa(_0x46485e),this[_0x5dae94(0x8f)]=new _0x2db188(_0x46485e,_0xbd4a59),this[_0x5dae94(0x81)]=new _0x59213e(_0x46485e),this[_0x5dae94(0x81)][_0x5dae94(0x6f)](this[_0x5dae94(0x6b)]()),this[_0x5dae94(0x8a)](_0x5dae94(0x7c),_0x35082f),this[_0x5dae94(0x6f)]({'tag':_0x5dae94(0x85),'attributes':{'class':['ck',_0x5dae94(0x83),_0x5dae94(0x9c)],'tabindex':'-1'},'children':this[_0x5dae94(0x9d)]}),this[_0x5dae94(0x91)](),this[_0x5dae94(0xa1)](_0x5dae94(0x73),()=>{const _0x18c136=_0x5dae94;this[_0x18c136(0x74)](this[_0x18c136(0x7a)],_0x211691=>{const _0x8dd8e2=_0x18c136;this[_0x8dd8e2(0x6c)](_0x211691);});}),this['on'](_0x5dae94(0x70),()=>{const _0x19e0a8=_0x5dae94;this[_0x19e0a8(0x91)]();}),this[_0x5dae94(0x71)]();}[_0x2d50a8(0x8d)](){const _0x335db6=_0x2d50a8;this[_0x335db6(0x7a)][_0x335db6(0x8d)]();}[_0x2d50a8(0x91)](){const _0x56915a=_0x2d50a8;switch(this[_0x56915a(0x9d)][_0x56915a(0x76)](),this[_0x56915a(0x7c)]){case _0x56915a(0x92):this[_0x56915a(0x9d)][_0x56915a(0x75)](this[_0x56915a(0x6a)]);break;case _0x56915a(0xa0):this[_0x56915a(0x9d)][_0x56915a(0x75)](this[_0x56915a(0x79)]);break;case _0x56915a(0x6e):this[_0x56915a(0x9d)][_0x56915a(0x8b)]([this[_0x56915a(0x8f)],this[_0x56915a(0x81)]]);}}[_0x2d50a8(0x74)](_0x2493c9,_0x80419a){const _0x59a322=_0x2d50a8,_0x5a762b=_0x59a322(0x99),_0x3d0eed=_0x2493c9[_0x59a322(0x7f)](_0x5a762b);if(_0x3d0eed)return _0x80419a(_0x3d0eed);const _0x4a00da=new MutationObserver(_0xd470d6=>{const _0x3a0e87=_0x59a322,_0x2ac624=_0xd470d6[_0x3a0e87(0x86)](_0x4a22ef=>_0x4a22ef[_0x3a0e87(0x9e)]===_0x2493c9&&_0x4a22ef[_0x3a0e87(0x9f)][_0x3a0e87(0x90)]>0x0&&_0x4a22ef[_0x3a0e87(0x9f)][0x0][_0x3a0e87(0x93)][_0x3a0e87(0x94)]()===_0x5a762b);_0x2ac624[_0x3a0e87(0x90)]&&(_0x4a00da[_0x3a0e87(0x7b)](),_0x80419a(_0x2ac624[0x0][_0x3a0e87(0x9f)][0x0]));});_0x4a00da[_0x59a322(0x95)](_0x2493c9,{'childList':!0x0,'subtree':!0x0});}[_0x2d50a8(0x6c)](_0x422575){const _0x3a598b=_0x2d50a8;_0x422575[_0x3a598b(0x72)](_0x3a598b(0x78),_0x3f93b4=>{const _0x871798=_0x3a598b;this[_0x871798(0x7e)](_0x871798(0x78),{'imageSrc':_0x3f93b4[_0x871798(0x84)][_0x871798(0x7d)]});}),_0x422575[_0x3a598b(0x72)](_0x3a598b(0x97),()=>{const _0x1d6f44=_0x3a598b;this[_0x1d6f44(0x7e)](_0x1d6f44(0x97));});}[_0x2d50a8(0x71)](){const _0x2885ea=_0x2d50a8;this[_0x2885ea(0x79)]['on'](_0x2885ea(0x8c),()=>{const _0x4fc562=_0x2885ea;this[_0x4fc562(0x7e)](_0x4fc562(0x8c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ce95=_0x4ef1;(function(_0x25db5e,_0x4a01f9){const _0x39beee=_0x4ef1,_0x5a4992=_0x25db5e();while(!![]){try{const _0x58b2db=parseInt(_0x39beee(0x115))/0x1*(parseInt(_0x39beee(0x12d))/0x2)+-parseInt(_0x39beee(0x125))/0x3+parseInt(_0x39beee(0x132))/0x4+parseInt(_0x39beee(0x116))/0x5*(-parseInt(_0x39beee(0x12a))/0x6)+parseInt(_0x39beee(0x12f))/0x7+-parseInt(_0x39beee(0x12b))/0x8+parseInt(_0x39beee(0x11c))/0x9;if(_0x58b2db===_0x4a01f9)break;else _0x5a4992['push'](_0x5a4992['shift']());}catch(_0x33a7a0){_0x5a4992['push'](_0x5a4992['shift']());}}}(_0x4190,0xc1e59));import{Command as _0x33b3fb}from'ckeditor5/src/core.js';import{Dialog as _0xfe30c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x44fcc7}from'./ui/uploadcareimageeditcontroller.js';function _0x4ef1(_0x307ae0,_0x44b9c6){const _0x419099=_0x4190();return _0x4ef1=function(_0x4ef1a7,_0x2ca461){_0x4ef1a7=_0x4ef1a7-0x114;let _0x384780=_0x419099[_0x4ef1a7];return _0x384780;},_0x4ef1(_0x307ae0,_0x44b9c6);}function _0x4190(){const _0x1d6b0b=['plugins','get','2783256ZopOKx','6032168tfyJBr','imageBlock','179534jQnFgM','imageEditController','4251989sziQlO','refresh','bind','3030516SSbPFP','model','7HSejfb','10yDWeFv','unbind','execute','element','editor','getSelectedElement','9447120ZuifYa','isActive','_isEditable','selection','requires','isEnabled','document','config','imageInline','1701393NrEZMa','set','uploadcare.allowExternalImagesEditing'];_0x4190=function(){return _0x1d6b0b;};return _0x4190();}import{createEditabilityChecker as _0x353bd4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x33b3fb{[_0x40ce95(0x12e)];static get[_0x40ce95(0x120)](){return[_0xfe30c5];}[_0x40ce95(0x11e)];constructor(_0xcbfff4){const _0x39af45=_0x40ce95;super(_0xcbfff4),this[_0x39af45(0x12e)]=void 0x0,this[_0x39af45(0x11e)]=_0x353bd4(_0xcbfff4[_0x39af45(0x123)][_0x39af45(0x129)](_0x39af45(0x127))||[]),this[_0x39af45(0x126)]({'isActive':!0x1});}[_0x40ce95(0x130)](){const _0x5cbff8=_0x40ce95,_0x4b63ce=this[_0x5cbff8(0x11a)][_0x5cbff8(0x114)][_0x5cbff8(0x122)][_0x5cbff8(0x11f)][_0x5cbff8(0x11b)]();this[_0x5cbff8(0x121)]=this[_0x5cbff8(0x11e)](_0x4b63ce);}[_0x40ce95(0x118)](){const _0x55b1e=_0x40ce95;this[_0x55b1e(0x12e)]&&(this[_0x55b1e(0x117)](_0x55b1e(0x11d)),this[_0x55b1e(0x12e)]=void 0x0);const _0x2c0e02=this[_0x55b1e(0x11a)][_0x55b1e(0x114)][_0x55b1e(0x122)][_0x55b1e(0x11f)][_0x55b1e(0x11b)]();_0x2c0e02&&(_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x12c))||_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x124)))&&(this[_0x55b1e(0x12e)]=new _0x44fcc7(this[_0x55b1e(0x11a)],this[_0x55b1e(0x11a)][_0x55b1e(0x128)][_0x55b1e(0x129)](_0xfe30c5),_0x2c0e02),this[_0x55b1e(0x131)](_0x55b1e(0x11d))['to'](this[_0x55b1e(0x12e)],_0x55b1e(0x11d)));}}
23
+ const _0x19a155=_0x5d2d;function _0x5d2d(_0x52ef0f,_0x39b127){const _0x42d234=_0x42d2();return _0x5d2d=function(_0x5d2d21,_0xb6f898){_0x5d2d21=_0x5d2d21-0x168;let _0x349693=_0x42d234[_0x5d2d21];return _0x349693;},_0x5d2d(_0x52ef0f,_0x39b127);}(function(_0xccf65a,_0x2a86f9){const _0x5f243a=_0x5d2d,_0x60826f=_0xccf65a();while(!![]){try{const _0x459fc5=parseInt(_0x5f243a(0x17f))/0x1*(-parseInt(_0x5f243a(0x179))/0x2)+-parseInt(_0x5f243a(0x17d))/0x3+parseInt(_0x5f243a(0x16f))/0x4+-parseInt(_0x5f243a(0x175))/0x5*(parseInt(_0x5f243a(0x180))/0x6)+parseInt(_0x5f243a(0x168))/0x7+-parseInt(_0x5f243a(0x187))/0x8*(parseInt(_0x5f243a(0x17c))/0x9)+-parseInt(_0x5f243a(0x16c))/0xa*(-parseInt(_0x5f243a(0x186))/0xb);if(_0x459fc5===_0x2a86f9)break;else _0x60826f['push'](_0x60826f['shift']());}catch(_0x641a13){_0x60826f['push'](_0x60826f['shift']());}}}(_0x42d2,0xbe61b));function _0x42d2(){const _0x35fa8b=['imageEditController','_isEditable','uploadcare.allowExternalImagesEditing','config','isEnabled','21329NpfPyh','5144tohSbl','plugins','9175488hAnxpN','editor','unbind','requires','2320YKCHbo','refresh','execute','5658324sxjSOT','set','element','imageInline','get','getSelectedElement','20bCeZSn','model','document','isActive','979314ZETqtH','bind','selection','15588iyvWyH','1976079XaykAX','imageBlock','1YAmAEv','200076mPLtwG'];_0x42d2=function(){return _0x35fa8b;};return _0x42d2();}import{Command as _0x22164a}from'ckeditor5/src/core.js';import{Dialog as _0x2d346d}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5b4b63}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x34f7c5}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x22164a{[_0x19a155(0x181)];static get[_0x19a155(0x16b)](){return[_0x2d346d];}[_0x19a155(0x182)];constructor(_0x31b8c6){const _0x29cbea=_0x19a155;super(_0x31b8c6),this[_0x29cbea(0x181)]=void 0x0,this[_0x29cbea(0x182)]=_0x34f7c5(_0x31b8c6[_0x29cbea(0x184)][_0x29cbea(0x173)](_0x29cbea(0x183))||[]),this[_0x29cbea(0x170)]({'isActive':!0x1});}[_0x19a155(0x16d)](){const _0x1b1f73=_0x19a155,_0x3abd39=this[_0x1b1f73(0x169)][_0x1b1f73(0x176)][_0x1b1f73(0x177)][_0x1b1f73(0x17b)][_0x1b1f73(0x174)]();this[_0x1b1f73(0x185)]=this[_0x1b1f73(0x182)](_0x3abd39);}[_0x19a155(0x16e)](){const _0x16ca90=_0x19a155;this[_0x16ca90(0x181)]&&(this[_0x16ca90(0x16a)](_0x16ca90(0x178)),this[_0x16ca90(0x181)]=void 0x0);const _0x379304=this[_0x16ca90(0x169)][_0x16ca90(0x176)][_0x16ca90(0x177)][_0x16ca90(0x17b)][_0x16ca90(0x174)]();_0x379304&&(_0x379304['is'](_0x16ca90(0x171),_0x16ca90(0x17e))||_0x379304['is'](_0x16ca90(0x171),_0x16ca90(0x172)))&&(this[_0x16ca90(0x181)]=new _0x5b4b63(this[_0x16ca90(0x169)],this[_0x16ca90(0x169)][_0x16ca90(0x188)][_0x16ca90(0x173)](_0x2d346d),_0x379304),this[_0x16ca90(0x17a)](_0x16ca90(0x178))['to'](this[_0x16ca90(0x181)],_0x16ca90(0x178)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1548e0=_0x6c9a;(function(_0x25c1bf,_0x198860){const _0x1d7326=_0x6c9a,_0xdb1d5d=_0x25c1bf();while(!![]){try{const _0x2ca8cd=parseInt(_0x1d7326(0xf1))/0x1+-parseInt(_0x1d7326(0xec))/0x2*(-parseInt(_0x1d7326(0xf0))/0x3)+-parseInt(_0x1d7326(0xeb))/0x4+-parseInt(_0x1d7326(0xe8))/0x5+-parseInt(_0x1d7326(0xe9))/0x6*(parseInt(_0x1d7326(0xe7))/0x7)+parseInt(_0x1d7326(0xf3))/0x8*(-parseInt(_0x1d7326(0xfa))/0x9)+parseInt(_0x1d7326(0xea))/0xa;if(_0x2ca8cd===_0x198860)break;else _0xdb1d5d['push'](_0xdb1d5d['shift']());}catch(_0x3e99b0){_0xdb1d5d['push'](_0xdb1d5d['shift']());}}}(_0x3960,0x94a9c));import{Plugin as _0x1d92e5}from'ckeditor5/src/core.js';function _0x3960(){const _0x4ddace=['ImageUtils','120jwANYm','uploadcareImageEdit','ImageEditing','isPremiumPlugin','uploadcareImageReplace','requires','add','423234vIrtbc','commands','isOfficialPlugin','1323aEhATj','5656250htLJIG','16866xBrJoG','31370210NFAqbR','4472612uPHAwk','494618peWNMd','init','pluginName','UploadcareImageEditEditing','6upogKq','463357Ivhhjl'];_0x3960=function(){return _0x4ddace;};return _0x3960();}import{Notification as _0x407dda}from'ckeditor5/src/ui.js';function _0x6c9a(_0x54e1ec,_0x2b335b){const _0x3960ba=_0x3960();return _0x6c9a=function(_0x6c9a0e,_0x5afc11){_0x6c9a0e=_0x6c9a0e-0xe5;let _0xff638b=_0x3960ba[_0x6c9a0e];return _0xff638b;},_0x6c9a(_0x54e1ec,_0x2b335b);}import{UploadcareImageEditCommand as _0x17505e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2174c1}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4ba001}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1d92e5{static get[_0x1548e0(0xee)](){const _0x2132e6=_0x1548e0;return _0x2132e6(0xef);}static get[_0x1548e0(0xf8)](){const _0x1a9f33=_0x1548e0;return[_0x4ba001,_0x407dda,_0x1a9f33(0xf2),_0x1a9f33(0xf5)];}static get[_0x1548e0(0xe6)](){return!0x0;}static get[_0x1548e0(0xf6)](){return!0x0;}[_0x1548e0(0xed)](){const _0x337501=_0x1548e0,{editor:_0x1060f9}=this;_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf4),new _0x17505e(_0x1060f9)),_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf7),new _0x2174c1(_0x1060f9));}}
23
+ const _0x2745cb=_0x220a;(function(_0xa7e9d4,_0x17541){const _0x3a8078=_0x220a,_0x38cfaf=_0xa7e9d4();while(!![]){try{const _0x243d4e=-parseInt(_0x3a8078(0x1c3))/0x1*(parseInt(_0x3a8078(0x1b5))/0x2)+parseInt(_0x3a8078(0x1c1))/0x3*(parseInt(_0x3a8078(0x1b7))/0x4)+parseInt(_0x3a8078(0x1bd))/0x5+-parseInt(_0x3a8078(0x1c2))/0x6*(-parseInt(_0x3a8078(0x1b9))/0x7)+parseInt(_0x3a8078(0x1b1))/0x8+parseInt(_0x3a8078(0x1bc))/0x9*(parseInt(_0x3a8078(0x1bf))/0xa)+-parseInt(_0x3a8078(0x1c7))/0xb;if(_0x243d4e===_0x17541)break;else _0x38cfaf['push'](_0x38cfaf['shift']());}catch(_0x28d192){_0x38cfaf['push'](_0x38cfaf['shift']());}}}(_0x22df,0x80a0a));import{Plugin as _0x109b84}from'ckeditor5/src/core.js';function _0x220a(_0x18417a,_0x25177e){const _0x22dfd5=_0x22df();return _0x220a=function(_0x220ad2,_0x32c376){_0x220ad2=_0x220ad2-0x1b1;let _0x4f1692=_0x22dfd5[_0x220ad2];return _0x4f1692;},_0x220a(_0x18417a,_0x25177e);}import{Notification as _0xc16e2c}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2ae121}from'./uploadcareimageeditcommand.js';function _0x22df(){const _0x18ea9c=['add','513518baMYDV','ImageUtils','4qyhMfE','uploadcareImageReplace','120477ZLdiXW','isOfficialPlugin','isPremiumPlugin','36yNgqsC','1395140bdkbys','pluginName','2356070JqPgQu','uploadcareImageEdit','2558364TqOydq','36pldhpX','1nvsVHN','requires','commands','UploadcareImageEditEditing','18837808hEiowQ','2549080RvTewD','ImageEditing','init'];_0x22df=function(){return _0x18ea9c;};return _0x22df();}import{UploadcareImageReplaceCommand as _0x464ac7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x444e8a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x109b84{static get[_0x2745cb(0x1be)](){const _0x49f342=_0x2745cb;return _0x49f342(0x1c6);}static get[_0x2745cb(0x1c4)](){const _0x5b8259=_0x2745cb;return[_0x444e8a,_0xc16e2c,_0x5b8259(0x1b6),_0x5b8259(0x1b2)];}static get[_0x2745cb(0x1ba)](){return!0x0;}static get[_0x2745cb(0x1bb)](){return!0x0;}[_0x2745cb(0x1b3)](){const _0x3fd7c3=_0x2745cb,{editor:_0x58b0fe}=this;_0x58b0fe[_0x3fd7c3(0x1c5)][_0x3fd7c3(0x1b4)](_0x3fd7c3(0x1c0),new _0x2ae121(_0x58b0fe)),_0x58b0fe[_0x3fd7c3(0x1c5)][_0x3fd7c3(0x1b4)](_0x3fd7c3(0x1b8),new _0x464ac7(_0x58b0fe));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x208323}from'ckeditor5/src/core.js';import{ButtonView as _0x1663a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x389dbc}from'ckeditor5/src/icons.js';import{createElement as _0x4727be}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x208323{['_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 _0x580734=this['editor'];_0x580734['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ac1fc=>{const _0x21ae7e=_0x580734['commands']['get']('uploadcareImageEdit'),_0x1a0726=new _0x1663a4(_0x5ac1fc),t=_0x5ac1fc['t'];return _0x1a0726['set']({'icon':_0x389dbc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1a0726['bind']('isEnabled')['to'](_0x21ae7e),_0x1a0726['bind']('isOn')['to'](_0x21ae7e,'isActive'),this['listenTo'](_0x1a0726,'execute',()=>{_0x580734['execute']('uploadcareImageEdit'),_0x580734['editing']['view']['focus']();}),_0x1a0726;}),this['_initConfig']();}['_initConfig'](){const _0x37cace=_0x4727be(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37cace),this['listenTo'](this['editor'],'destroy',()=>{_0x37cace['remove']();});}}
23
+ import{Plugin as _0x12111c}from'ckeditor5/src/core.js';import{ButtonView as _0x1a3200}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x532e1c}from'ckeditor5/src/icons.js';import{createElement as _0xb198dc}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x12111c{['_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 _0x2127b8=this['editor'];_0x2127b8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c7796=>{const _0x2d0180=_0x2127b8['commands']['get']('uploadcareImageEdit'),_0x5b79ff=new _0x1a3200(_0x3c7796),t=_0x3c7796['t'];return _0x5b79ff['set']({'icon':_0x532e1c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5b79ff['bind']('isEnabled')['to'](_0x2d0180),_0x5b79ff['bind']('isOn')['to'](_0x2d0180,'isActive'),this['listenTo'](_0x5b79ff,'execute',()=>{_0x2127b8['execute']('uploadcareImageEdit'),_0x2127b8['editing']['view']['focus']();}),_0x5b79ff;}),this['_initConfig']();}['_initConfig'](){const _0x83c1f0=_0xb198dc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x83c1f0),this['listenTo'](this['editor'],'destroy',()=>{_0x83c1f0['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47de(){const _0x48e20d=['231737RlufkU','6730LJCTbT','getSelectedElement','refresh','183AyhXWz','model','imageBlock','20788qPuZDn','496701XDGrGv','1116BSTWpV','change','530LAuhJM','imageInline','1224419kfihtG','document','575016vWyeAd','element','4chHVOP','setAttributes','execute','srcset','editor','removeAttribute','selection','40822JOSXYe','sizes','isEnabled'];_0x47de=function(){return _0x48e20d;};return _0x47de();}const _0x16c0f7=_0x9a8e;function _0x9a8e(_0x464b53,_0x36782d){const _0x47ded6=_0x47de();return _0x9a8e=function(_0x9a8e28,_0x289aca){_0x9a8e28=_0x9a8e28-0x7f;let _0x7c333=_0x47ded6[_0x9a8e28];return _0x7c333;},_0x9a8e(_0x464b53,_0x36782d);}(function(_0x4d5718,_0x42ff82){const _0x3bd049=_0x9a8e,_0x4ca56f=_0x4d5718();while(!![]){try{const _0x75a3c9=-parseInt(_0x3bd049(0x96))/0x1*(parseInt(_0x3bd049(0x8f))/0x2)+-parseInt(_0x3bd049(0x82))/0x3*(parseInt(_0x3bd049(0x85))/0x4)+parseInt(_0x3bd049(0x7f))/0x5*(-parseInt(_0x3bd049(0x87))/0x6)+-parseInt(_0x3bd049(0x8b))/0x7+-parseInt(_0x3bd049(0x8d))/0x8+-parseInt(_0x3bd049(0x86))/0x9+parseInt(_0x3bd049(0x89))/0xa*(parseInt(_0x3bd049(0x99))/0xb);if(_0x75a3c9===_0x42ff82)break;else _0x4ca56f['push'](_0x4ca56f['shift']());}catch(_0x409487){_0x4ca56f['push'](_0x4ca56f['shift']());}}}(_0x47de,0x286af));import{Command as _0x1e9757}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1e9757{[_0x16c0f7(0x81)](){const _0x5eef45=_0x16c0f7,_0x902fcc=this[_0x5eef45(0x93)][_0x5eef45(0x83)][_0x5eef45(0x8c)][_0x5eef45(0x95)][_0x5eef45(0x80)]();this[_0x5eef45(0x98)]=Boolean(_0x902fcc&&(_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x84))||_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x8a))));}[_0x16c0f7(0x91)](_0x3beec5){const _0x1011f0=_0x16c0f7,_0x505cb0=this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x8c)][_0x1011f0(0x95)][_0x1011f0(0x80)]();this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x88)](_0x17a3c7=>{const _0x2be440=_0x1011f0;_0x17a3c7[_0x2be440(0x90)](_0x3beec5,_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x92),_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x97),_0x505cb0);});}}
23
+ const _0x3d672b=_0x17ea;(function(_0x457ea2,_0x8e66c0){const _0x50cf33=_0x17ea,_0x32d17e=_0x457ea2();while(!![]){try{const _0x1daafa=-parseInt(_0x50cf33(0x156))/0x1*(parseInt(_0x50cf33(0x152))/0x2)+parseInt(_0x50cf33(0x15b))/0x3+-parseInt(_0x50cf33(0x15d))/0x4*(-parseInt(_0x50cf33(0x154))/0x5)+-parseInt(_0x50cf33(0x14f))/0x6+-parseInt(_0x50cf33(0x160))/0x7*(parseInt(_0x50cf33(0x163))/0x8)+-parseInt(_0x50cf33(0x159))/0x9*(parseInt(_0x50cf33(0x151))/0xa)+parseInt(_0x50cf33(0x164))/0xb;if(_0x1daafa===_0x8e66c0)break;else _0x32d17e['push'](_0x32d17e['shift']());}catch(_0x4b4fe9){_0x32d17e['push'](_0x32d17e['shift']());}}}(_0x1916,0xd86af));function _0x17ea(_0x556411,_0x359984){const _0x19160f=_0x1916();return _0x17ea=function(_0x17eacc,_0x1540c9){_0x17eacc=_0x17eacc-0x14b;let _0x589b77=_0x19160f[_0x17eacc];return _0x589b77;},_0x17ea(_0x556411,_0x359984);}function _0x1916(){const _0x2d0a2d=['5kpdOJn','document','1BGaoyQ','setAttributes','element','29124aclxJl','srcset','5262054ikvYxa','removeAttribute','1951832KerYTz','change','editor','14SUhlpc','sizes','isEnabled','4150472MPgGge','30169051DyJqHZ','imageInline','selection','refresh','imageBlock','execute','4608690VcfUld','getSelectedElement','2510byxGMa','2960402PGjCpi','model'];_0x1916=function(){return _0x2d0a2d;};return _0x1916();}import{Command as _0x2efcb7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2efcb7{[_0x3d672b(0x14c)](){const _0x5b09b2=_0x3d672b,_0x2e6078=this[_0x5b09b2(0x15f)][_0x5b09b2(0x153)][_0x5b09b2(0x155)][_0x5b09b2(0x14b)][_0x5b09b2(0x150)]();this[_0x5b09b2(0x162)]=Boolean(_0x2e6078&&(_0x2e6078['is'](_0x5b09b2(0x158),_0x5b09b2(0x14d))||_0x2e6078['is'](_0x5b09b2(0x158),_0x5b09b2(0x165))));}[_0x3d672b(0x14e)](_0x347e6b){const _0x42e2cf=_0x3d672b,_0x4e90fa=this[_0x42e2cf(0x15f)][_0x42e2cf(0x153)][_0x42e2cf(0x155)][_0x42e2cf(0x14b)][_0x42e2cf(0x150)]();this[_0x42e2cf(0x15f)][_0x42e2cf(0x153)][_0x42e2cf(0x15e)](_0x33f43f=>{const _0x11721a=_0x42e2cf;_0x33f43f[_0x11721a(0x157)](_0x347e6b,_0x4e90fa),_0x33f43f[_0x11721a(0x15c)](_0x11721a(0x15a),_0x4e90fa),_0x33f43f[_0x11721a(0x15c)](_0x11721a(0x161),_0x4e90fa);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17fc(_0x335506,_0x58fd81){var _0x5311ac=_0x5311();return _0x17fc=function(_0x17fc8c,_0x2f16f6){_0x17fc8c=_0x17fc8c-0x1a5;var _0x3dc2fa=_0x5311ac[_0x17fc8c];return _0x3dc2fa;},_0x17fc(_0x335506,_0x58fd81);}var _0x1e812c=_0x17fc;(function(_0xada257,_0x121940){var _0x3a19e7=_0x17fc,_0xd28171=_0xada257();while(!![]){try{var _0x4ee777=parseInt(_0x3a19e7(0x1b2))/0x1*(-parseInt(_0x3a19e7(0x1b0))/0x2)+parseInt(_0x3a19e7(0x1a5))/0x3*(-parseInt(_0x3a19e7(0x1a9))/0x4)+-parseInt(_0x3a19e7(0x1a7))/0x5*(-parseInt(_0x3a19e7(0x1a6))/0x6)+-parseInt(_0x3a19e7(0x1ae))/0x7*(parseInt(_0x3a19e7(0x1af))/0x8)+parseInt(_0x3a19e7(0x1ab))/0x9+-parseInt(_0x3a19e7(0x1b3))/0xa+parseInt(_0x3a19e7(0x1b4))/0xb;if(_0x4ee777===_0x121940)break;else _0xd28171['push'](_0xd28171['shift']());}catch(_0x52d2e7){_0xd28171['push'](_0xd28171['shift']());}}}(_0x5311,0xbda68));import{Plugin as _0x2599a6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3bc793}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2a7722}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2599a6{static get[_0x1e812c(0x1ad)](){var _0x426b7c=_0x1e812c;return _0x426b7c(0x1ac);}static get[_0x1e812c(0x1a8)](){return[_0x3bc793,_0x2a7722];}static get[_0x1e812c(0x1b1)](){return!0x0;}static get[_0x1e812c(0x1aa)](){return!0x0;}}function _0x5311(){var _0x1f3b52=['isOfficialPlugin','43949YzXyGo','6437110wZfPMd','26239477tLDwvt','44886MFDELV','6zDfPTK','4975135VUftyd','requires','360JVFGZh','isPremiumPlugin','6121836EZGNPN','UploadcareImageEdit','pluginName','28kbGmIP','565424AuMQCn','46oUnjhg'];_0x5311=function(){return _0x1f3b52;};return _0x5311();}
23
+ var _0x2dff49=_0x5dbe;(function(_0x367e7b,_0x5464b2){var _0x47a454=_0x5dbe,_0x15a428=_0x367e7b();while(!![]){try{var _0x232226=-parseInt(_0x47a454(0x11f))/0x1+parseInt(_0x47a454(0x125))/0x2+-parseInt(_0x47a454(0x128))/0x3+parseInt(_0x47a454(0x129))/0x4*(parseInt(_0x47a454(0x11e))/0x5)+parseInt(_0x47a454(0x120))/0x6+parseInt(_0x47a454(0x11d))/0x7+parseInt(_0x47a454(0x126))/0x8*(-parseInt(_0x47a454(0x121))/0x9);if(_0x232226===_0x5464b2)break;else _0x15a428['push'](_0x15a428['shift']());}catch(_0x4ab6b9){_0x15a428['push'](_0x15a428['shift']());}}}(_0x4f00,0x6781c));import{Plugin as _0x34b236}from'ckeditor5/src/core.js';function _0x4f00(){var _0x15342e=['5807165bYAKgn','4115llPkIo','335996vAJskM','2186226HVlJDH','9515979CgfwCs','pluginName','UploadcareImageEdit','requires','1529742kPlYRv','8rndTOM','isOfficialPlugin','792519atafmx','596RaunOu','isPremiumPlugin'];_0x4f00=function(){return _0x15342e;};return _0x4f00();}import{UploadcareImageEditEditing as _0x2881b5}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5dbe(_0x52dd43,_0x1964ce){var _0x4f0071=_0x4f00();return _0x5dbe=function(_0x5dbe6e,_0x58cdf8){_0x5dbe6e=_0x5dbe6e-0x11d;var _0x3a2134=_0x4f0071[_0x5dbe6e];return _0x3a2134;},_0x5dbe(_0x52dd43,_0x1964ce);}import{UploadcareImageEditUI as _0x2eaa71}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x34b236{static get[_0x2dff49(0x122)](){var _0x210b53=_0x2dff49;return _0x210b53(0x123);}static get[_0x2dff49(0x124)](){return[_0x2881b5,_0x2eaa71];}static get[_0x2dff49(0x127)](){return!0x0;}static get[_0x2dff49(0x12a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x244e6d=_0x4fac;(function(_0x311d3f,_0x39c754){const _0x5d3760=_0x4fac,_0x52735a=_0x311d3f();while(!![]){try{const _0x36113d=-parseInt(_0x5d3760(0xd7))/0x1+parseInt(_0x5d3760(0x113))/0x2+-parseInt(_0x5d3760(0xd3))/0x3*(parseInt(_0x5d3760(0x11d))/0x4)+-parseInt(_0x5d3760(0xd1))/0x5+parseInt(_0x5d3760(0xd0))/0x6+parseInt(_0x5d3760(0x109))/0x7*(-parseInt(_0x5d3760(0x106))/0x8)+-parseInt(_0x5d3760(0x118))/0x9*(parseInt(_0x5d3760(0xce))/0xa);if(_0x36113d===_0x39c754)break;else _0x52735a['push'](_0x52735a['shift']());}catch(_0x31b4bb){_0x52735a['push'](_0x52735a['shift']());}}}(_0x29ad,0x4a006));import{Plugin as _0x2e63b7}from'ckeditor5/src/core.js';function _0x4fac(_0x352bc1,_0x575556){const _0x29adf3=_0x29ad();return _0x4fac=function(_0x4fac36,_0x3d9a3b){_0x4fac36=_0x4fac36-0xcd;let _0x3c9745=_0x29adf3[_0x4fac36];return _0x3c9745;},_0x4fac(_0x352bc1,_0x575556);}import{IconDropbox as _0x5af18f,IconFacebook as _0x3ec053,IconGoogleDrive as _0x5bf747,IconGooglePhotos as _0x7490c1,IconUploadcareImageUpload as _0x24cd10,IconUploadcareLink as _0x2e59bb,IconOneDrive as _0x473d91}from'ckeditor5/src/icons.js';import{ButtonView as _0x565440,MenuBarMenuListItemButtonView as _0x31b4d0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2911c9}from'./uploadcareconfig.js';import{getTranslation as _0x12fdbf}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e63b7{[_0x244e6d(0xf8)];[_0x244e6d(0xf1)];static get[_0x244e6d(0x114)](){const _0x4f23a2=_0x244e6d;return _0x4f23a2(0xfa);}static get[_0x244e6d(0xdd)](){return!0x0;}static get[_0x244e6d(0xf2)](){return!0x0;}[_0x244e6d(0x10c)](){const _0x4c1ea5=_0x244e6d;this[_0x4c1ea5(0xf8)]=this[_0x4c1ea5(0xd6)][_0x4c1ea5(0x119)][_0x4c1ea5(0xea)](_0x4c1ea5(0xf8));const _0x5e12f4=this[_0x4c1ea5(0xd6)];this[_0x4c1ea5(0xf1)]=setInterval(()=>{const _0xac5f38=_0x4c1ea5;let _0x21e02e;for(const _0x2bcd2a in _0x5e12f4){const _0x4eb4bb=_0x2bcd2a,_0x165fff=_0x5e12f4[_0x4eb4bb];if(_0xac5f38(0xda)==_0x165fff||_0xac5f38(0xff)==_0x165fff||_0xac5f38(0xe5)==_0x165fff||_0xac5f38(0xdb)==_0x165fff||_0xac5f38(0x105)==_0x165fff||_0xac5f38(0x11b)==_0x165fff||_0xac5f38(0x116)==_0x165fff||_0xac5f38(0x10e)==_0x165fff){delete _0x5e12f4[_0x4eb4bb],_0x21e02e=_0x165fff,clearInterval(this[_0xac5f38(0xf1)]),this[_0xac5f38(0xf1)]=void 0x0;break;}}_0xac5f38(0xff)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0x112)),_0xac5f38(0xe5)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf9)),_0xac5f38(0xdb)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xcf)),_0xac5f38(0x105)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd5),_0xac5f38(0x104)),_0xac5f38(0x11b)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf5)),_0xac5f38(0x116)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xeb)),_0xac5f38(0x10e)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd8));},0x3e8);}[_0x244e6d(0xf6)](){const _0x2be524=_0x244e6d,{editor:_0x2bad81}=this,_0x122a3a=_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c));if(!_0x122a3a)return;const _0x1aa4d6=this[_0x2be524(0xe6)](_0x2bad81[_0x2be524(0x119)][_0x2be524(0xea)](_0x2be524(0xfd)))[_0x2be524(0xe0)]((_0xaef28c,_0x14e3f5)=>{const _0x185452=_0x2be524,_0x4c9731=this[_0x185452(0x10f)](_0x14e3f5[_0x185452(0x107)]);return _0xaef28c[_0x4c9731]||(_0xaef28c[_0x4c9731]=[]),_0xaef28c[_0x4c9731][_0x185452(0x101)](_0x14e3f5),_0xaef28c;},{});_0x2bad81[_0x2be524(0xe1)][_0x2be524(0xe3)](_0x2be524(0x103))&&_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c))&&Object[_0x2be524(0xfe)](_0x1aa4d6)[_0x2be524(0xfc)](([_0x15a0e7,_0x136b5f])=>{const _0x1fd69e=_0x2be524;_0x2bad81[_0x1fd69e(0xe1)][_0x1fd69e(0xea)](_0x1fd69e(0x103))[_0x1fd69e(0x102)]({'name':_0x15a0e7,'observable':()=>_0x122a3a,'buttonViewCreator':()=>this[_0x1fd69e(0xed)](_0x136b5f),'formViewCreator':()=>this[_0x1fd69e(0xdf)](_0x136b5f),'menuBarButtonViewCreator':()=>this[_0x1fd69e(0xf4)](_0x136b5f),'override':_0x1fd69e(0xd4)!==_0x15a0e7});});}[_0x244e6d(0x108)](){const _0x2bea8f=_0x244e6d;super[_0x2bea8f(0x108)](),this[_0x2bea8f(0xf1)]&&clearInterval(this[_0x2bea8f(0xf1)]);}[_0x244e6d(0xe6)](_0x12ac2c){const _0x19fff3=_0x244e6d,{locale:_0x245264}=this[_0x19fff3(0xd6)];return _0x12ac2c[_0x19fff3(0xdc)](_0x14e22e=>{const _0x1fc9e7=_0x19fff3,_0x1dd5c6=_0x12fdbf(_0x245264,_0x14e22e,_0x1fc9e7(0x115));switch(_0x14e22e){case _0x2911c9[_0x1fc9e7(0xd9)]:return{'icon':_0x24cd10,'type':_0x2911c9[_0x1fc9e7(0xd9)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xde)]:return{'icon':_0x2e59bb,'type':_0x2911c9[_0x1fc9e7(0xde)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xd2)]:return{'icon':_0x5af18f,'type':_0x2911c9[_0x1fc9e7(0xd2)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xf0)]:return{'icon':_0x3ec053,'type':_0x2911c9[_0x1fc9e7(0xf0)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xfb)]:return{'icon':_0x5bf747,'type':_0x2911c9[_0x1fc9e7(0xfb)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xec)]:return{'icon':_0x7490c1,'type':_0x2911c9[_0x1fc9e7(0xec)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xe9)]:return{'icon':_0x473d91,'type':_0x2911c9[_0x1fc9e7(0xe9)],..._0x1dd5c6};}});}[_0x244e6d(0x10f)](_0x198902){const _0x4441ae=_0x244e6d;switch(_0x198902){case _0x2911c9[_0x4441ae(0xd9)]:return _0x4441ae(0xf7);case _0x2911c9[_0x4441ae(0xde)]:return _0x4441ae(0x11a);default:return _0x4441ae(0xd4);}}[_0x244e6d(0xe2)](_0x5c1f42,_0x366e85){const _0x116eda=_0x244e6d,_0x4fa1e0=this[_0x116eda(0xd6)],_0x2e86ae=new _0x5c1f42(_0x4fa1e0[_0x116eda(0xef)]),_0x4f0cd1=_0x4fa1e0[_0x116eda(0x110)][_0x116eda(0xea)](_0x116eda(0x11c));return _0x2e86ae[_0x116eda(0x117)](_0x116eda(0x100))['to'](_0x4f0cd1),_0x2e86ae['on'](_0x116eda(0x10d),()=>{const _0x58dde9=_0x116eda;_0x4f0cd1[_0x58dde9(0x10d)](_0x366e85);}),_0x2e86ae;}[_0x244e6d(0xed)](_0x3608aa){const _0x2724eb=_0x244e6d,{locale:_0x3613b0}=this[_0x2724eb(0xd6)],_0x5a01ef=this[_0x2724eb(0xd6)][_0x2724eb(0xe1)][_0x2724eb(0xea)](_0x2724eb(0x103)),_0x1ab080=_0x3608aa[0x0],_0xfc6ba7=this[_0x2724eb(0xe2)](_0x565440,_0x1ab080[_0x2724eb(0x107)]);return _0xfc6ba7[_0x2724eb(0xcd)]=_0x1ab080[_0x2724eb(0xcd)],_0xfc6ba7[_0x2724eb(0x117)](_0x2724eb(0xe7))['to'](_0x5a01ef,_0x2724eb(0x10b),_0x7ba6f2=>_0x12fdbf(_0x3613b0,_0x1ab080[_0x2724eb(0x107)],_0x7ba6f2?_0x2724eb(0xf3):_0x2724eb(0x115))[_0x2724eb(0xe4)]),_0xfc6ba7[_0x2724eb(0xee)]=!0x0,_0xfc6ba7;}[_0x244e6d(0xdf)](_0x329af8){const _0x1f5d5e=_0x244e6d,{locale:_0x3e0c73}=this[_0x1f5d5e(0xd6)],_0x88a9eb=this[_0x1f5d5e(0xd6)][_0x1f5d5e(0xe1)][_0x1f5d5e(0xea)](_0x1f5d5e(0x103));return _0x329af8[_0x1f5d5e(0xdc)](_0x46a75=>{const _0x1f6ea2=_0x1f5d5e,_0x31b9e2=this[_0x1f6ea2(0xe2)](_0x565440,_0x46a75[_0x1f6ea2(0x107)]);return _0x31b9e2[_0x1f6ea2(0x10a)]=!0x0,_0x31b9e2[_0x1f6ea2(0xcd)]=_0x46a75[_0x1f6ea2(0xcd)],_0x31b9e2[_0x1f6ea2(0x117)](_0x1f6ea2(0xe7))['to'](_0x88a9eb,_0x1f6ea2(0x10b),_0x4c8b32=>_0x12fdbf(_0x3e0c73,_0x46a75[_0x1f6ea2(0x107)],_0x4c8b32?_0x1f6ea2(0xf3):_0x1f6ea2(0x115))[_0x1f6ea2(0xe4)]),_0x31b9e2;});}[_0x244e6d(0xf4)](_0x34e785){const _0xed3e93=_0x244e6d;return _0x34e785[_0xed3e93(0xdc)](_0x30f8bf=>{const _0x57fe14=_0xed3e93,_0x1068bb=this[_0x57fe14(0xe2)](_0x31b4d0,_0x30f8bf[_0x57fe14(0x107)]);return _0x1068bb[_0x57fe14(0xcd)]=_0x30f8bf[_0x57fe14(0xcd)],_0x1068bb[_0x57fe14(0xe7)]=_0x30f8bf[_0x57fe14(0x111)],_0x1068bb;});}}function _0x29ad(){const _0x5b1244=['24nWFhKt','type','destroy','222866yOCKnU','withText','isImageSelected','init','execute','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','commands','shortText','invalid','565508hvxmcW','pluginName','Insert','uploadcareLicenseKeyTrialLimit','bind','9KMmTIm','config','url','uploadcareLicenseKeyEvaluationLimit','uploadcare','56PKuUDf','icon','2510920vzDtDI','domainLimit','3171492jVDbay','422905AhvJHM','Dropbox','8307pGMiuH','assetManager','featureNotAllowed','editor','38273ChzBOL','usageLimit','Local','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','map','isOfficialPlugin','URL','_createDropdownButtons','reduce','plugins','_createButton','has','text','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','label','_showLicenseError','OneDrive','get','trialLimit','GPhotos','_createToolbarButton','tooltip','locale','Facebook','_licenseKeyCheckInterval','isPremiumPlugin','Replace','_createMenuBarButtons','evaluationLimit','afterInit','upload','licenseKey','expired','UploadcareUI','GDrive','forEach','uploadcare.uploader.sourceList','entries','uploadcareLicenseKeyInvalid','isEnabled','push','registerIntegration','ImageInsertUI','Uploadcare','uploadcareLicenseKeyNotAllowed'];_0x29ad=function(){return _0x5b1244;};return _0x29ad();}
23
+ const _0x4d597e=_0x2313;(function(_0x500bdb,_0x270a14){const _0x3b45fc=_0x2313,_0x3a7c01=_0x500bdb();while(!![]){try{const _0x17c6fc=parseInt(_0x3b45fc(0x165))/0x1+parseInt(_0x3b45fc(0x139))/0x2*(parseInt(_0x3b45fc(0x130))/0x3)+-parseInt(_0x3b45fc(0x13d))/0x4+-parseInt(_0x3b45fc(0x13b))/0x5+-parseInt(_0x3b45fc(0x176))/0x6+-parseInt(_0x3b45fc(0x166))/0x7*(-parseInt(_0x3b45fc(0x12f))/0x8)+parseInt(_0x3b45fc(0x151))/0x9*(parseInt(_0x3b45fc(0x169))/0xa);if(_0x17c6fc===_0x270a14)break;else _0x3a7c01['push'](_0x3a7c01['shift']());}catch(_0xfe7f8e){_0x3a7c01['push'](_0x3a7c01['shift']());}}}(_0xcf12,0x75109));import{Plugin as _0x2333dd}from'ckeditor5/src/core.js';import{IconDropbox as _0x1898f5,IconFacebook as _0x4e458e,IconGoogleDrive as _0x35e70b,IconGooglePhotos as _0x575b38,IconUploadcareImageUpload as _0x284cf5,IconUploadcareLink as _0x397f98,IconOneDrive as _0x899806}from'ckeditor5/src/icons.js';import{ButtonView as _0x5aed91,MenuBarMenuListItemButtonView as _0x35bd6e}from'ckeditor5/src/ui.js';function _0xcf12(){const _0x3fb866=['Uploadcare','uploadcareLicenseKeyUsageLimit','OneDrive','GDrive','509286lJuZRg','Local','usageLimit','isPremiumPlugin','invalid','uploadcareLicenseKeyValid','Dropbox','Facebook','UploadcareUI','uploadcareLicenseKeyDomainLimit','8ZJPQnA','3UjjGxu','afterInit','licenseKey','upload','featureNotAllowed','_createButton','push','pluginName','_createToolbarButton','491690vRMlAv','type','871855McwuXK','text','2803424tuWOxY','_showLicenseError','destroy','commands','expired','uploadcareLicenseKeyEvaluationLimit','isImageSelected','_getIntegrationKey','trialLimit','_createMenuBarButtons','init','entries','forEach','uploadcare','URL','uploadcareLicenseKeyExpired','uploadcareLicenseKeyTrialLimit','get','map','evaluationLimit','2628AGACaz','assetManager','has','label','reduce','locale','domainLimit','uploadcare.uploader.sourceList','plugins','url','config','uploadcareLicenseKeyNotAllowed','Replace','_createDropdownButtons','_normalizeConfigSourceList','isOfficialPlugin','registerIntegration','uploadcareLicenseKeyInvalid','execute','bind','226979HfGQIG','5444999mvuvJF','editor','_licenseKeyCheckInterval','6470oeZaTb','Insert','icon','withText','GPhotos','ImageInsertUI','shortText','isEnabled','tooltip'];_0xcf12=function(){return _0x3fb866;};return _0xcf12();}import{UploadcareSource as _0x2fbeef}from'./uploadcareconfig.js';import{getTranslation as _0x4ea37b}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2313(_0x13f427,_0x3c07b7){const _0xcf126a=_0xcf12();return _0x2313=function(_0x23135a,_0x5b4572){_0x23135a=_0x23135a-0x12d;let _0x26cfe8=_0xcf126a[_0x23135a];return _0x26cfe8;},_0x2313(_0x13f427,_0x3c07b7);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2333dd{[_0x4d597e(0x132)];[_0x4d597e(0x168)];static get[_0x4d597e(0x137)](){const _0x2d8de7=_0x4d597e;return _0x2d8de7(0x12d);}static get[_0x4d597e(0x160)](){return!0x0;}static get[_0x4d597e(0x179)](){return!0x0;}[_0x4d597e(0x147)](){const _0x190cfc=_0x4d597e;this[_0x190cfc(0x132)]=this[_0x190cfc(0x167)][_0x190cfc(0x15b)][_0x190cfc(0x14e)](_0x190cfc(0x132));const _0x5827c5=this[_0x190cfc(0x167)];this[_0x190cfc(0x168)]=setInterval(()=>{const _0x36c4e5=_0x190cfc;let _0x129ca2;for(const _0x26e8eb in _0x5827c5){const _0xfdf6cd=_0x26e8eb,_0x2c032c=_0x5827c5[_0xfdf6cd];if(_0x36c4e5(0x17b)==_0x2c032c||_0x36c4e5(0x162)==_0x2c032c||_0x36c4e5(0x14c)==_0x2c032c||_0x36c4e5(0x12e)==_0x2c032c||_0x36c4e5(0x15c)==_0x2c032c||_0x36c4e5(0x142)==_0x2c032c||_0x36c4e5(0x14d)==_0x2c032c||_0x36c4e5(0x173)==_0x2c032c){delete _0x5827c5[_0xfdf6cd],_0x129ca2=_0x2c032c,clearInterval(this[_0x36c4e5(0x168)]),this[_0x36c4e5(0x168)]=void 0x0;break;}}_0x36c4e5(0x162)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x17a)),_0x36c4e5(0x14c)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x141)),_0x36c4e5(0x12e)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x157)),_0x36c4e5(0x15c)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x134),_0x36c4e5(0x172)),_0x36c4e5(0x142)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x150)),_0x36c4e5(0x14d)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x145)),_0x36c4e5(0x173)==_0x129ca2&&_0x5827c5[_0x36c4e5(0x13e)](_0x36c4e5(0x178));},0x3e8);}[_0x4d597e(0x131)](){const _0x1e6846=_0x4d597e,{editor:_0x2f7dea}=this,_0x14cb81=_0x2f7dea[_0x1e6846(0x140)][_0x1e6846(0x14e)](_0x1e6846(0x14a));if(!_0x14cb81)return;const _0x5e0d02=this[_0x1e6846(0x15f)](_0x2f7dea[_0x1e6846(0x15b)][_0x1e6846(0x14e)](_0x1e6846(0x158)))[_0x1e6846(0x155)]((_0x3a8e34,_0x2c99f6)=>{const _0x4cb56b=_0x1e6846,_0x13991a=this[_0x4cb56b(0x144)](_0x2c99f6[_0x4cb56b(0x13a)]);return _0x3a8e34[_0x13991a]||(_0x3a8e34[_0x13991a]=[]),_0x3a8e34[_0x13991a][_0x4cb56b(0x136)](_0x2c99f6),_0x3a8e34;},{});_0x2f7dea[_0x1e6846(0x159)][_0x1e6846(0x153)](_0x1e6846(0x16e))&&_0x2f7dea[_0x1e6846(0x140)][_0x1e6846(0x14e)](_0x1e6846(0x14a))&&Object[_0x1e6846(0x148)](_0x5e0d02)[_0x1e6846(0x149)](([_0x30d8c7,_0x1c1e8b])=>{const _0x1ad357=_0x1e6846;_0x2f7dea[_0x1ad357(0x159)][_0x1ad357(0x14e)](_0x1ad357(0x16e))[_0x1ad357(0x161)]({'name':_0x30d8c7,'observable':()=>_0x14cb81,'buttonViewCreator':()=>this[_0x1ad357(0x138)](_0x1c1e8b),'formViewCreator':()=>this[_0x1ad357(0x15e)](_0x1c1e8b),'menuBarButtonViewCreator':()=>this[_0x1ad357(0x146)](_0x1c1e8b),'override':_0x1ad357(0x152)!==_0x30d8c7});});}[_0x4d597e(0x13f)](){const _0x56ae10=_0x4d597e;super[_0x56ae10(0x13f)](),this[_0x56ae10(0x168)]&&clearInterval(this[_0x56ae10(0x168)]);}[_0x4d597e(0x15f)](_0x59b964){const _0x1f21b3=_0x4d597e,{locale:_0x37eac8}=this[_0x1f21b3(0x167)];return _0x59b964[_0x1f21b3(0x14f)](_0x325c69=>{const _0x1213ff=_0x1f21b3,_0x496314=_0x4ea37b(_0x37eac8,_0x325c69,_0x1213ff(0x16a));switch(_0x325c69){case _0x2fbeef[_0x1213ff(0x177)]:return{'icon':_0x284cf5,'type':_0x2fbeef[_0x1213ff(0x177)],..._0x496314};case _0x2fbeef[_0x1213ff(0x14b)]:return{'icon':_0x397f98,'type':_0x2fbeef[_0x1213ff(0x14b)],..._0x496314};case _0x2fbeef[_0x1213ff(0x17c)]:return{'icon':_0x1898f5,'type':_0x2fbeef[_0x1213ff(0x17c)],..._0x496314};case _0x2fbeef[_0x1213ff(0x17d)]:return{'icon':_0x4e458e,'type':_0x2fbeef[_0x1213ff(0x17d)],..._0x496314};case _0x2fbeef[_0x1213ff(0x175)]:return{'icon':_0x35e70b,'type':_0x2fbeef[_0x1213ff(0x175)],..._0x496314};case _0x2fbeef[_0x1213ff(0x16d)]:return{'icon':_0x575b38,'type':_0x2fbeef[_0x1213ff(0x16d)],..._0x496314};case _0x2fbeef[_0x1213ff(0x174)]:return{'icon':_0x899806,'type':_0x2fbeef[_0x1213ff(0x174)],..._0x496314};}});}[_0x4d597e(0x144)](_0x182e51){const _0x51cc0f=_0x4d597e;switch(_0x182e51){case _0x2fbeef[_0x51cc0f(0x177)]:return _0x51cc0f(0x133);case _0x2fbeef[_0x51cc0f(0x14b)]:return _0x51cc0f(0x15a);default:return _0x51cc0f(0x152);}}[_0x4d597e(0x135)](_0x7fe77,_0xffc6af){const _0x4d1244=_0x4d597e,_0x1ac2f4=this[_0x4d1244(0x167)],_0x3a942a=new _0x7fe77(_0x1ac2f4[_0x4d1244(0x156)]),_0x4f0010=_0x1ac2f4[_0x4d1244(0x140)][_0x4d1244(0x14e)](_0x4d1244(0x14a));return _0x3a942a[_0x4d1244(0x164)](_0x4d1244(0x170))['to'](_0x4f0010),_0x3a942a['on'](_0x4d1244(0x163),()=>{const _0xee79f3=_0x4d1244;_0x4f0010[_0xee79f3(0x163)](_0xffc6af);}),_0x3a942a;}[_0x4d597e(0x138)](_0x382ec3){const _0x7d1eea=_0x4d597e,{locale:_0x4b8fe5}=this[_0x7d1eea(0x167)],_0x589206=this[_0x7d1eea(0x167)][_0x7d1eea(0x159)][_0x7d1eea(0x14e)](_0x7d1eea(0x16e)),_0x53538e=_0x382ec3[0x0],_0x137587=this[_0x7d1eea(0x135)](_0x5aed91,_0x53538e[_0x7d1eea(0x13a)]);return _0x137587[_0x7d1eea(0x16b)]=_0x53538e[_0x7d1eea(0x16b)],_0x137587[_0x7d1eea(0x164)](_0x7d1eea(0x154))['to'](_0x589206,_0x7d1eea(0x143),_0x398504=>_0x4ea37b(_0x4b8fe5,_0x53538e[_0x7d1eea(0x13a)],_0x398504?_0x7d1eea(0x15d):_0x7d1eea(0x16a))[_0x7d1eea(0x13c)]),_0x137587[_0x7d1eea(0x171)]=!0x0,_0x137587;}[_0x4d597e(0x15e)](_0x5dbc9d){const _0x2049ac=_0x4d597e,{locale:_0x48bdcb}=this[_0x2049ac(0x167)],_0x21ba87=this[_0x2049ac(0x167)][_0x2049ac(0x159)][_0x2049ac(0x14e)](_0x2049ac(0x16e));return _0x5dbc9d[_0x2049ac(0x14f)](_0x327887=>{const _0x526d3b=_0x2049ac,_0x1f85ef=this[_0x526d3b(0x135)](_0x5aed91,_0x327887[_0x526d3b(0x13a)]);return _0x1f85ef[_0x526d3b(0x16c)]=!0x0,_0x1f85ef[_0x526d3b(0x16b)]=_0x327887[_0x526d3b(0x16b)],_0x1f85ef[_0x526d3b(0x164)](_0x526d3b(0x154))['to'](_0x21ba87,_0x526d3b(0x143),_0x56d267=>_0x4ea37b(_0x48bdcb,_0x327887[_0x526d3b(0x13a)],_0x56d267?_0x526d3b(0x15d):_0x526d3b(0x16a))[_0x526d3b(0x13c)]),_0x1f85ef;});}[_0x4d597e(0x146)](_0x1fcd61){const _0x15fce8=_0x4d597e;return _0x1fcd61[_0x15fce8(0x14f)](_0x1b2282=>{const _0x467997=_0x15fce8,_0xc4f2dc=this[_0x467997(0x135)](_0x35bd6e,_0x1b2282[_0x467997(0x13a)]);return _0xc4f2dc[_0x467997(0x16b)]=_0x1b2282[_0x467997(0x16b)],_0xc4f2dc[_0x467997(0x154)]=_0x1b2282[_0x467997(0x16f)],_0xc4f2dc;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x56b100}from'ckeditor5/src/core.js';import{FileRepository as _0x46a3e7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x404664}from'./uploadcareediting.js';import{UploadUtils as _0x572f0b}from'./utils/uploadutils.js';import{getImageUrls as _0x4a50ef}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x56b100{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46a3e7,_0x404664];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5ba2ee=this['editor'];if(!!!_0x5ba2ee['config']['get']('uploadcare'))return;_0x5ba2ee['plugins']['get'](_0x46a3e7)['createUploadAdapter']=_0x2f804e=>new k(_0x2f804e,_0x5ba2ee),_0x5ba2ee['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40122d,{imageElement:_0x22cc71,data:_0x22998f})=>{_0x5ba2ee['model']['change'](_0x518b9e=>{_0x518b9e['setAttribute']('uploadcareImageId',_0x22998f['uploadcareImageId'],_0x22cc71);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1a7896,_0x13698d){this['loader']=_0x1a7896,this['editor']=_0x13698d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30070b=await this['loader']['file'];return _0x572f0b['upload']({'file':_0x30070b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x392058=>{_0x392058&&_0x392058['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x392058['value']);}})['then'](async _0x2aad58=>{const {imageFallbackUrl:_0x95c88f,imageSources:_0x344109}=_0x4a50ef(_0x2aad58['cdnUrl'],_0x2aad58['imageInfo']['width']);return{'uploadcareImageId':_0x2aad58['uuid'],'default':_0x95c88f,'sources':_0x344109};})['catch'](()=>{const _0x5a4582=t('Cannot\x20upload\x20file:')+('\x20'+_0x30070b['name']+'.');return Promise['reject'](_0x5a4582);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x191a34}from'ckeditor5/src/core.js';import{FileRepository as _0x23516a}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x11edd6}from'./uploadcareediting.js';import{UploadUtils as _0x4232d5}from'./utils/uploadutils.js';import{getImageUrls as _0x591c27}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x191a34{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x23516a,_0x11edd6];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x15ac68=this['editor'];if(!!!_0x15ac68['config']['get']('uploadcare'))return;_0x15ac68['plugins']['get'](_0x23516a)['createUploadAdapter']=_0x530b7a=>new k(_0x530b7a,_0x15ac68),_0x15ac68['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x567b69,{imageElement:_0x30116d,data:_0x21ee5c})=>{_0x15ac68['model']['change'](_0x4028cd=>{_0x4028cd['setAttribute']('uploadcareImageId',_0x21ee5c['uploadcareImageId'],_0x30116d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x15982d,_0x5b3a9e){this['loader']=_0x15982d,this['editor']=_0x5b3a9e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x57240f=await this['loader']['file'];return _0x4232d5['upload']({'file':_0x57240f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x43b042=>{_0x43b042&&_0x43b042['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x43b042['value']);}})['then'](async _0x1b6863=>{const {imageFallbackUrl:_0xfec828,imageSources:_0x595c61}=_0x591c27(_0x1b6863['cdnUrl'],_0x1b6863['imageInfo']['width']);return{'uploadcareImageId':_0x1b6863['uuid'],'default':_0xfec828,'sources':_0x595c61};})['catch'](()=>{const _0x3deb5d=t('Cannot\x20upload\x20file:')+('\x20'+_0x57240f['name']+'.');return Promise['reject'](_0x3deb5d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xc5a2aa}from'../uploadcareconfig.js';export function getTranslation(_0x1477ca,_0x5bb68c,_0x45f662){const t=_0x1477ca['t'],_0x4f6b4a=_0x1477ca['t'];switch(_0x5bb68c){case _0xc5a2aa['Local']:return{'text':_0x4f6b4a('Insert'===_0x45f662?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f6b4a('From\x20computer')};case _0xc5a2aa['URL']:return{'text':'Insert'===_0x45f662?_0x4f6b4a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f6b4a('Via\x20URL')};case _0xc5a2aa['Dropbox']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xc5a2aa['Facebook']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xc5a2aa['GDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xc5a2aa['GPhotos']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xc5a2aa['OneDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5bb68c;}}
23
+ import{UploadcareSource as _0x2a8f2e}from'../uploadcareconfig.js';export function getTranslation(_0x2fdbc4,_0x246dfa,_0x13b7bf){const t=_0x2fdbc4['t'],_0x3f4fc6=_0x2fdbc4['t'];switch(_0x246dfa){case _0x2a8f2e['Local']:return{'text':_0x3f4fc6('Insert'===_0x13b7bf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f4fc6('From\x20computer')};case _0x2a8f2e['URL']:return{'text':'Insert'===_0x13b7bf?_0x3f4fc6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f4fc6('Via\x20URL')};case _0x2a8f2e['Dropbox']:return{'text':t('Insert'===_0x13b7bf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2a8f2e['Facebook']:return{'text':t('Insert'===_0x13b7bf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2a8f2e['GDrive']:return{'text':t('Insert'===_0x13b7bf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2a8f2e['GPhotos']:return{'text':t('Insert'===_0x13b7bf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2a8f2e['OneDrive']:return{'text':t('Insert'===_0x13b7bf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x246dfa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d7fc0=_0x5edd;(function(_0xfa1634,_0x15aedb){var _0x592542=_0x5edd,_0x3362d4=_0xfa1634();while(!![]){try{var _0x889b70=-parseInt(_0x592542(0x197))/0x1*(parseInt(_0x592542(0x19e))/0x2)+-parseInt(_0x592542(0x1a0))/0x3*(-parseInt(_0x592542(0x196))/0x4)+-parseInt(_0x592542(0x194))/0x5+-parseInt(_0x592542(0x190))/0x6+parseInt(_0x592542(0x1a1))/0x7+parseInt(_0x592542(0x19d))/0x8+parseInt(_0x592542(0x199))/0x9;if(_0x889b70===_0x15aedb)break;else _0x3362d4['push'](_0x3362d4['shift']());}catch(_0x51c2c1){_0x3362d4['push'](_0x3362d4['shift']());}}}(_0x45a5,0xb9f9f));import{FocusTracker as _0x1e00f5}from'ckeditor5/src/utils.js';import{View as _0x15706b,FocusCycler as _0x2b5966}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x15706b{[_0x4d7fc0(0x198)];[_0x4d7fc0(0x193)];constructor(_0x16ce91){var _0x10d393=_0x4d7fc0;super(_0x16ce91),this[_0x10d393(0x198)]=new _0x1e00f5(),this[_0x10d393(0x193)]=new _0x2b5966({'focusables':this[_0x10d393(0x192)](),'focusTracker':this[_0x10d393(0x198)]});}[_0x4d7fc0(0x19f)](){var _0x1549ca=_0x4d7fc0;return{'tag':_0x1549ca(0x19a),'attributes':{'aria-hidden':_0x1549ca(0x19b),'tabindex':'0'},'on':{'focus':this[_0x1549ca(0x191)]['to'](()=>{var _0x53ea72=_0x1549ca;this[_0x53ea72(0x193)][_0x53ea72(0x195)](_0x53ea72(0x19c));})}};}}function _0x5edd(_0x5db993,_0x4a67b1){var _0x45a5a0=_0x45a5();return _0x5edd=function(_0x5edd51,_0xe55448){_0x5edd51=_0x5edd51-0x190;var _0x5e2333=_0x45a5a0[_0x5edd51];return _0x5e2333;},_0x5edd(_0x5db993,_0x4a67b1);}function _0x45a5(){var _0x565d1b=['getFocusableElement','15DKEUCn','6290585VeklnS','6221526FpwAaX','bindTemplate','createCollection','focusCycler','5838400xtkTHM','fire','236660fJcaWv','41722GVuQeI','focusTracker','27330363fdkjXE','div','true','forwardCycle','562216qVyBEa','64DRXUBR'];_0x45a5=function(){return _0x565d1b;};return _0x45a5();}
23
+ var _0x168c44=_0x2d51;(function(_0x3ddf64,_0x35f919){var _0xc43179=_0x2d51,_0x529fce=_0x3ddf64();while(!![]){try{var _0x30b59b=parseInt(_0xc43179(0x185))/0x1*(parseInt(_0xc43179(0x17c))/0x2)+-parseInt(_0xc43179(0x175))/0x3*(parseInt(_0xc43179(0x179))/0x4)+parseInt(_0xc43179(0x178))/0x5*(-parseInt(_0xc43179(0x172))/0x6)+-parseInt(_0xc43179(0x171))/0x7*(-parseInt(_0xc43179(0x17e))/0x8)+-parseInt(_0xc43179(0x176))/0x9*(parseInt(_0xc43179(0x183))/0xa)+parseInt(_0xc43179(0x174))/0xb+-parseInt(_0xc43179(0x184))/0xc*(-parseInt(_0xc43179(0x180))/0xd);if(_0x30b59b===_0x35f919)break;else _0x529fce['push'](_0x529fce['shift']());}catch(_0x9dd038){_0x529fce['push'](_0x529fce['shift']());}}}(_0x52a5,0xa2f7f));import{FocusTracker as _0x504e5f}from'ckeditor5/src/utils.js';import{View as _0xcbfb7e,FocusCycler as _0xe27d2a}from'ckeditor5/src/ui.js';function _0x2d51(_0x25898a,_0x5021b2){var _0x52a522=_0x52a5();return _0x2d51=function(_0x2d51b9,_0x48ddc1){_0x2d51b9=_0x2d51b9-0x170;var _0x54c8e2=_0x52a522[_0x2d51b9];return _0x54c8e2;},_0x2d51(_0x25898a,_0x5021b2);}function _0x52a5(){var _0x66b80d=['703364PgmOYs','bindTemplate','getFocusableElement','563240MQFHXf','true','1234192kxixTv','focusCycler','26fZscAm','focusTracker','createCollection','10YsyImK','1284636ihnFMW','1DikrmJ','forwardCycle','28mpjryJ','6qIlAfg','div','3641814aQdRWG','9MysiMT','1482129wlyViq','fire','420865eSmcEe'];_0x52a5=function(){return _0x66b80d;};return _0x52a5();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xcbfb7e{[_0x168c44(0x181)];[_0x168c44(0x17f)];constructor(_0x3ccb60){var _0xac043f=_0x168c44;super(_0x3ccb60),this[_0xac043f(0x181)]=new _0x504e5f(),this[_0xac043f(0x17f)]=new _0xe27d2a({'focusables':this[_0xac043f(0x182)](),'focusTracker':this[_0xac043f(0x181)]});}[_0x168c44(0x17b)](){var _0x5644c0=_0x168c44;return{'tag':_0x5644c0(0x173),'attributes':{'aria-hidden':_0x5644c0(0x17d),'tabindex':'0'},'on':{'focus':this[_0x5644c0(0x17a)]['to'](()=>{var _0x16766f=_0x5644c0;this[_0x16766f(0x17f)][_0x16766f(0x177)](_0x16766f(0x170));})}};}}