@ckeditor/ckeditor5-uploadcare 45.2.1 → 45.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bfd6b=_0x11a5;(function(_0x4e4a2e,_0x4b9840){const _0x3e9765=_0x11a5,_0x2081ce=_0x4e4a2e();while(!![]){try{const _0x587c6d=-parseInt(_0x3e9765(0x1be))/0x1*(parseInt(_0x3e9765(0x1b8))/0x2)+-parseInt(_0x3e9765(0x173))/0x3+parseInt(_0x3e9765(0x17e))/0x4+-parseInt(_0x3e9765(0x1b5))/0x5+parseInt(_0x3e9765(0x176))/0x6+parseInt(_0x3e9765(0x1b2))/0x7*(-parseInt(_0x3e9765(0x1a7))/0x8)+-parseInt(_0x3e9765(0x1ab))/0x9*(-parseInt(_0x3e9765(0x1a2))/0xa);if(_0x587c6d===_0x4b9840)break;else _0x2081ce['push'](_0x2081ce['shift']());}catch(_0x19acb3){_0x2081ce['push'](_0x2081ce['shift']());}}}(_0x3d4f,0x4b83d));function _0x11a5(_0x538b29,_0x25f3da){const _0x3d4fe1=_0x3d4f();return _0x11a5=function(_0x11a580,_0x5360d4){_0x11a580=_0x11a580-0x173;let _0x5e9065=_0x3d4fe1[_0x11a580];return _0x5e9065;},_0x11a5(_0x538b29,_0x25f3da);}import{Plugin as _0x5f4777}from'ckeditor5/src/core.js';import{Dialog as _0x4e28ec}from'ckeditor5/src/ui.js';import{createElement as _0x54e12a,global as _0xfb71fa,uid as _0x568d30}from'ckeditor5/src/utils.js';import _0x35c950 from'./uploadcarecommand.js';import _0x6f3e93 from'./uploadcareuploadadapter.js';function _0x3d4f(){const _0x3fcc57=['add','uploadcare.uploader','map','PictureEditing','_initCtx','once','get','insertImage','data-uc-image-id','selection','view','uploadcareImageId','isOfficialPlugin','uploader','getAttribute','_initConfig','pluginName','isRegistered','uploadcare','listenTo','uc-config','editing','_ctxElement','execute','locale','attributeToAttribute','elementToAttribute','removeAttribute','remove','contentLanguage','642310amwmRB','body','imageBlock','querySelector','_configElement','144wAnCvB','schema','destroy','_initImageProcessingIndicator','207gnynYY','requires','href','true','uc-upload-ctx-provider','_initConversion','conversion','152705ofgmRq','uploadcareImageReplace','uploadcare.pubkey','1860860PcrdHI','for','ctxElement','50HliJnz','getSelectedElement','document','appendChild','downcast','fromCharCode','24415WscsVn','extend','commands','cleanupImage','editor','UploadcareEditing','join','afterInit','\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','1291239EbPEof','config','_initSchema','2418948CMUFvR','#uc-icon-arrow-down','upcast','replaceImageSource','imageInline','input[uploadcare-file-input]','render','iconHrefResolver','937872QZIKkx','init','isPremiumPlugin','configElement','closeMax','model'];_0x3d4f=function(){return _0x3fcc57;};return _0x3d4f();}import{showImageProcessingIndicator as _0x3428e6}from'./utils/editingutils.js';export default class i extends _0x5f4777{[_0x2bfd6b(0x1a6)]=null;[_0x2bfd6b(0x19a)]=null;static get[_0x2bfd6b(0x194)](){const _0x44f329=_0x2bfd6b;return _0x44f329(0x1c3);}static get[_0x2bfd6b(0x1ac)](){const _0x3d1e7c=_0x2bfd6b;return[_0x3d1e7c(0x187),_0x6f3e93,_0x4e28ec];}static get[_0x2bfd6b(0x190)](){return!0x0;}static get[_0x2bfd6b(0x180)](){return!0x0;}get[_0x2bfd6b(0x181)](){const _0x1561b4=_0x2bfd6b;return this[_0x1561b4(0x1a6)];}get[_0x2bfd6b(0x1b7)](){const _0xa7eef1=_0x2bfd6b;return this[_0xa7eef1(0x19a)];}[_0x2bfd6b(0x17f)](){const _0x1be466=_0x2bfd6b,_0x19a5ae=this[_0x1be466(0x1c2)];_0x19a5ae[_0x1be466(0x1c0)][_0x1be466(0x184)](_0x1be466(0x196),new _0x35c950(_0x19a5ae));}[_0x2bfd6b(0x1c5)](){const _0x269ee5=_0x2bfd6b;this[_0x269ee5(0x175)](),this[_0x269ee5(0x1b0)](),this[_0x269ee5(0x193)](),this[_0x269ee5(0x188)](),this[_0x269ee5(0x1aa)](),this[_0x269ee5(0x197)](this[_0x269ee5(0x1c2)],_0x269ee5(0x1a9),()=>{const _0x225f32=_0x269ee5;this[_0x225f32(0x1a6)]&&(this[_0x225f32(0x1a6)][_0x225f32(0x1a0)](),this[_0x225f32(0x1a6)]=null),this[_0x225f32(0x19a)]&&(this[_0x225f32(0x19a)][_0x225f32(0x1a0)](),this[_0x225f32(0x19a)]=null);const _0x997d28=_0xfb71fa[_0x225f32(0x1ba)][_0x225f32(0x1a5)](_0x225f32(0x17b));_0x997d28&&_0x997d28[_0x225f32(0x1a0)]();}),async function(_0x3bc2ec){const _0x43d4e0=_0x28888a([0x66,0x33,0x71,0x67,0x68,0x61,0x36,0x4c,0x49,0x6b,0x37,0x4e,0x78,0x44,0x70,0x6a,0x55,0x73,0x30,0x77,0x6d,0x75,0x64,0x6f,0x31,0x4f,0x32,0x57,0x79,0x6e,0x6c,0x45,0x56,0x42,0x34,0x4d,0x53,0x4a,0x47,0x7a,0x72,0x59,0x69,0x58,0x5a,0x65,0x38,0x4b,0x48,0x50,0x62,0x52,0x46,0x63,0x39,0x76,0x35,0x51,0x74,0x54,0x41,0x43]),_0x317afa=0x6eda3144,_0x2af27d=0x6edd5aec^_0x317afa,_0x51c641=window[_0x28888a([0x44,0x61,0x74,0x65])][_0x28888a([0x6e,0x6f,0x77])](),_0x3c497f=_0x3bc2ec[_0x28888a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5454e0=new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x554328=>{_0x3c497f[_0x28888a([0x6f,0x6e,0x63,0x65])](_0x28888a([0x72,0x65,0x61,0x64,0x79]),_0x554328);}),_0x11795a={[_0x28888a([0x6b,0x74,0x79])]:_0x28888a([0x45,0x43]),[_0x28888a([0x75,0x73,0x65])]:_0x28888a([0x73,0x69,0x67]),[_0x28888a([0x63,0x72,0x76])]:_0x28888a([0x50,0x2d,0x32,0x35,0x36]),[_0x28888a([0x78])]:_0x28888a([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]),[_0x28888a([0x79])]:_0x28888a([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]),[_0x28888a([0x61,0x6c,0x67])]:_0x28888a([0x45,0x53,0x32,0x35,0x36])},_0x4713a0=_0x3c497f[_0x28888a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28888a([0x67,0x65,0x74])](_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b513a(){let _0x4d49df,_0xa0548d=null,_0x40214a=null;try{if(_0x4713a0==_0x28888a([0x47,0x50,0x4c]))return _0x28888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d49df=_0x485d02(),!_0x4d49df)return _0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d49df[_0x28888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x40214a=_0x1f823f(_0x4d49df[_0x28888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d49df[_0x28888a([0x6a,0x74,0x69])])),await _0x40b97e()?_0x34e8bf()?_0x55d99e()?_0x28888a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2832e3()?(_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa0548d=_0x420582(_0x28888a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28888a([0x74,0x72,0x69,0x61,0x6c])&&(_0xa0548d=_0x420582(_0x28888a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ec28d()):_0x28888a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55d99e(){const _0x39d947=[_0x28888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28888a([0x74,0x72,0x69,0x61,0x6c])][_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51c641/0x3e8:0xe10*_0x2af27d;return _0x4d49df[_0x28888a([0x65,0x78,0x70])]<_0x39d947;}function _0x34e8bf(){const _0x3c314f=_0x4d49df[_0x28888a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c314f&&(!!_0x3c314f[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x2a]))||!!_0x3c314f[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x55,0x50,0x4c,0x43])));}function _0x2832e3(){const _0x520276=_0x11a5,_0x5b1ab9=_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b1ab9||0x0==_0x5b1ab9[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d0dc}=new URL(window[_0x28888a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x520276(0x1ad)]);if(_0x5b1ab9[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d0dc))return!0x0;const _0x19a82c=_0x57d0dc[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e]));return _0x5b1ab9[_0x28888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38aa1a=>_0x38aa1a[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x2a])))[_0x28888a([0x6d,0x61,0x70])](_0x1206db=>_0x1206db[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e])))[_0x28888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11d686=>_0x11d686[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19a82c[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28888a([0x6d,0x61,0x70])](_0x4286be=>Array(_0x19a82c[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4286be[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28888a([0x66,0x69,0x6c,0x6c])](_0x4286be[0x0]===_0x28888a([0x2a])?_0x28888a([0x2a]):'')[_0x28888a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4286be))[_0x28888a([0x73,0x6f,0x6d,0x65])](_0x5399c1=>_0x19a82c[_0x28888a([0x65,0x76,0x65,0x72,0x79])]((_0x6df013,_0x4e808d)=>_0x5399c1[_0x4e808d]===_0x6df013||_0x5399c1[_0x4e808d]===_0x28888a([0x2a])));}function _0x5ec28d(){return _0xa0548d&&_0x40214a?new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x702e32,_0x46a173)=>{_0xa0548d[_0x28888a([0x74,0x68,0x65,0x6e])](_0x702e32,_0x46a173),_0x40214a[_0x28888a([0x74,0x68,0x65,0x6e])](_0x15c14b=>{_0x15c14b!=_0x28888a([0x56,0x61,0x6c,0x69,0x64])&&_0x702e32(_0x15c14b);},_0x46a173);}):_0xa0548d||_0x40214a||_0x28888a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f823f(_0x2dde52,_0x267adc){return new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2058a7=>{if(_0x2dc615())return _0x2058a7(_0x28888a([0x56,0x61,0x6c,0x69,0x64]));_0x3a728a(),_0x3c497f[_0x28888a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5caa09=!0x1;const _0xa2bdc6=_0x568d30();function _0x1a3d6c(_0x6435e8){return!!_0x6435e8&&(typeof _0x6435e8===_0x28888a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6435e8===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6435e8[_0x28888a([0x74,0x68,0x65,0x6e])]===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6435e8[_0x28888a([0x63,0x61,0x74,0x63,0x68])]===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5679d3(_0x159eab){_0x5a6bb5(_0x159eab)[_0x28888a([0x74,0x68,0x65,0x6e])](_0x227ada=>{if(!_0x227ada||_0x227ada[_0x28888a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28888a([0x6f,0x6b]))return _0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ee240(_0x5943c5(_0xa2bdc6+_0x267adc))!=_0x227ada[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28888a([0x56,0x61,0x6c,0x69,0x64]);})[_0x28888a([0x74,0x68,0x65,0x6e])](_0x228ac7=>(_0x1ecdf3(),_0x228ac7),()=>{const _0x29edd9=_0x32b982();return null==_0x29edd9?(_0x1ecdf3(),_0x28888a([0x56,0x61,0x6c,0x69,0x64])):_0x28888a(_0x51c641-_0x29edd9>(0x4ad6b544^_0x317afa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28888a([0x74,0x68,0x65,0x6e])](_0x2058a7)[_0x28888a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38be1a=0x6eecdfc4^_0x317afa;function _0x1ecdf3(){const _0x4dc3e7=_0x28888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee240(_0x5943c5(_0x2dde52)),_0x2092d4=_0x4b68dd(_0x5ee240(window[_0x28888a([0x4d,0x61,0x74,0x68])][_0x28888a([0x63,0x65,0x69,0x6c])](_0x51c641/_0x38be1a)));window[_0x28888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28888a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dc3e7,_0x2092d4);}function _0x32b982(){const _0x5611c3=_0x28888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee240(_0x5943c5(_0x2dde52)),_0x262ec9=window[_0x28888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28888a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5611c3);return _0x262ec9?window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b68dd(_0x262ec9),0x10)*_0x38be1a:null;}function _0x5a6bb5(_0x43a20c){return new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44ad58,_0x435053)=>{_0x43a20c[_0x28888a([0x74,0x68,0x65,0x6e])](_0x44ad58,_0x435053),window[_0x28888a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x435053,0x6edbe584^_0x317afa);});}}_0x3c497f[_0x28888a([0x6f,0x6e])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4234f4,_0x14887c)=>{if(_0x14887c[0x0]!=_0x2dde52)return _0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14887c[0x1]={..._0x14887c[0x1],[_0x28888a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa2bdc6};},{[_0x28888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28888a([0x68,0x69,0x67,0x68])}),_0x3c497f[_0x28888a([0x6f,0x6e])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13c76e=>{_0x1a3d6c(_0x13c76e[_0x28888a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5caa09=!0x0,_0x5679d3(_0x13c76e[_0x28888a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28888a([0x6c,0x6f,0x77])}),_0x5454e0[_0x28888a([0x74,0x68,0x65,0x6e])](()=>{_0x5caa09||_0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2dc615(){return _0x3c497f[_0x28888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28888a([0x76,0x69,0x65,0x77])][_0x28888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28888a([0x61,0x75,0x74,0x6f]);}function _0x3a728a(){_0x3c497f[_0x28888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28888a([0x76,0x69,0x65,0x77])][_0x28888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28888a([0x61,0x75,0x74,0x6f]);}}function _0x420582(_0x53e06f){const _0x4e69c9=[new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467220=>setTimeout(_0x467220,0x6ed30f88^_0x317afa)),_0x5454e0[_0x28888a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc9aa3c=>{let _0x4aa4a7=0x0;_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x6f,0x6e])](_0x28888a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b1ac6,_0x4f2fde)=>{_0x4f2fde[0x0][_0x28888a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4aa4a7++,_0x4aa4a7==(0x6eda30bc^_0x317afa)&&(_0xc9aa3c(),_0x2b1ac6[_0x28888a([0x6f,0x66,0x66])]());});}))];return window[_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28888a([0x72,0x61,0x63,0x65])](_0x4e69c9)[_0x28888a([0x74,0x68,0x65,0x6e])](()=>_0x53e06f);}async function _0x2b5754(){await _0x5454e0,_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41f6e5,_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41f6e5,_0x3c497f[_0x28888a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28888a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x417e00(_0x5b1092){const _0x19a317=_0x3d1565();_0x3c497f[_0x19a317]=_0x28888a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b1092,_0x5b1092!=_0x28888a([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5754();}function _0x3d1565(){const _0x3b0d20=window[_0x28888a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28888a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28888a([0x6e,0x6f,0x77])]())[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28888a([0x2e]),'');let _0x25c486=_0x28888a([0x66]);for(let _0x515912=0x0;_0x515912<_0x3b0d20[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x515912+=0x2){let _0x36126e=window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0d20[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x515912,_0x515912+0x2));_0x36126e>=_0x43d4e0[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36126e-=_0x43d4e0[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25c486+=_0x43d4e0[_0x36126e];}return _0x25c486;}function _0x485d02(){const _0x1e0624=_0x4713a0[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e]));if(0x3!=_0x1e0624[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x531f2e(_0x1e0624[0x1]);function _0x531f2e(_0x4cb5c1){const _0x3c694f=_0x281c30(_0x4cb5c1);return _0x3c694f&&_0x74b386()?_0x3c694f:null;function _0x74b386(){const _0x173a5e=_0x3c694f[_0x28888a([0x6a,0x74,0x69])],_0x133a9e=window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x173a5e[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x173a5e[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x259da6={..._0x3c694f,[_0x28888a([0x6a,0x74,0x69])]:_0x173a5e[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x173a5e[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x259da6[_0x28888a([0x76,0x63])],_0x5943c5(_0x259da6)==_0x133a9e;}}}async function _0x40b97e(){let _0x2925da=!0x0;try{const _0x5d3701=_0x4713a0[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e])),[_0x2e260c,_0x171741,_0x139c22]=_0x5d3701;return _0x3a2f10(_0x2e260c),await _0x467950(_0x2e260c,_0x171741,_0x139c22),_0x2925da;}catch{return!0x1;}function _0x3a2f10(_0x58a02d){const _0x3dd774=_0x281c30(_0x58a02d);_0x3dd774&&_0x3dd774[_0x28888a([0x61,0x6c,0x67])]==_0x28888a([0x45,0x53,0x32,0x35,0x36])||(_0x2925da=!0x1);}async function _0x467950(_0x1578ae,_0x32dfa7,_0x4f4dbf){const _0x40ac4a=window[_0x28888a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28888a([0x66,0x72,0x6f,0x6d])](_0x22c0c4(_0x4f4dbf),_0x4a5e3c=>_0x4a5e3c[_0x28888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50ad0c=new window[(_0x28888a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28888a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1578ae+_0x28888a([0x2e])+_0x32dfa7),_0x14e556=window[_0x28888a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28888a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14e556)return;const _0x21ff3e=await _0x14e556[_0x28888a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28888a([0x6a,0x77,0x6b]),_0x11795a,{[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x45,0x43,0x44,0x53,0x41]),[_0x28888a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28888a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14e556[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x45,0x43,0x44,0x53,0x41]),[_0x28888a([0x68,0x61,0x73,0x68])]:{[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21ff3e,_0x40ac4a,_0x50ad0c)||(_0x2925da=!0x1);}}function _0x281c30(_0x2bd14b){return _0x2bd14b[_0x28888a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28888a([0x65,0x79]))?JSON[_0x28888a([0x70,0x61,0x72,0x73,0x65])](_0x22c0c4(_0x2bd14b)):null;}function _0x22c0c4(_0x40d071){return window[_0x28888a([0x61,0x74,0x6f,0x62])](_0x40d071[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28888a([0x2b]))[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28888a([0x2f])));}function _0x5943c5(_0x2ee5f1){let _0x560044=0x1505;function _0x39521d(_0x31f246){for(let _0x4f63ae=0x0;_0x4f63ae<_0x31f246[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f63ae++){const _0x498963=_0x31f246[_0x28888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f63ae);_0x560044=(_0x560044<<0x5)+_0x560044+_0x498963,_0x560044&=_0x560044;}}function _0x7c3cb7(_0xbc78d){Array[_0x28888a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbc78d)?_0xbc78d[_0x28888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7c3cb7):_0xbc78d&&typeof _0xbc78d==_0x28888a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28888a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbc78d)[_0x28888a([0x73,0x6f,0x72,0x74])]()[_0x28888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42b474,_0x4087a1])=>{_0x39521d(_0x42b474),_0x7c3cb7(_0x4087a1);}):_0x39521d(window[_0x28888a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbc78d));}return _0x7c3cb7(_0x2ee5f1),_0x560044>>>0x0;}function _0x5ee240(_0x503ca5){return _0x503ca5[_0x28888a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28888a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28888a([0x30]));}function _0x4b68dd(_0x18a31f){return _0x18a31f[_0x28888a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28888a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28888a([0x6a,0x6f,0x69,0x6e])]('');}function _0x41f6e5(){}function _0x28888a(_0x21762a){const _0x1ee132=_0x11a5;return _0x21762a[_0x1ee132(0x186)](_0x270e95=>String[_0x1ee132(0x1bd)](_0x270e95))[_0x1ee132(0x1c4)]('');}_0x417e00(await _0x3b513a());}(this);}[_0x2bfd6b(0x175)](){const _0x17b747=_0x2bfd6b,_0x983c87=this[_0x17b747(0x1c2)][_0x17b747(0x183)][_0x17b747(0x1a8)];_0x983c87[_0x17b747(0x195)](_0x17b747(0x1a4))&&_0x983c87[_0x17b747(0x1bf)](_0x17b747(0x1a4),{'allowAttributes':[_0x17b747(0x18f)]}),_0x983c87[_0x17b747(0x195)](_0x17b747(0x17a))&&_0x983c87[_0x17b747(0x1bf)](_0x17b747(0x17a),{'allowAttributes':[_0x17b747(0x18f)]});}[_0x2bfd6b(0x1b0)](){const _0x5a9f61=_0x2bfd6b,_0x63a913=this[_0x5a9f61(0x1c2)];_0x63a913[_0x5a9f61(0x1b1)][_0x5a9f61(0x1b6)](_0x5a9f61(0x1bc))[_0x5a9f61(0x19d)]({'model':_0x5a9f61(0x18f),'view':_0x5a9f61(0x18c)}),_0x63a913[_0x5a9f61(0x1b1)][_0x5a9f61(0x1b6)](_0x5a9f61(0x178))[_0x5a9f61(0x19e)]({'model':{'key':_0x5a9f61(0x18f),'value':_0x4bda45=>_0x4bda45[_0x5a9f61(0x192)](_0x5a9f61(0x18c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x163899=_0x63a913[_0x5a9f61(0x1c0)][_0x5a9f61(0x18a)](_0x5a9f61(0x179));_0x163899&&this[_0x5a9f61(0x197)](_0x163899,_0x5a9f61(0x1c1),(_0x89eac5,[_0x2e060e,_0x326314])=>{const _0xaff74e=_0x5a9f61;_0x2e060e[_0xaff74e(0x19f)](_0xaff74e(0x18f),_0x326314);});}[_0x2bfd6b(0x193)](){const _0xe89564=_0x2bfd6b,_0x4686c7=this[_0xe89564(0x1c2)][_0xe89564(0x174)][_0xe89564(0x18a)](_0xe89564(0x185))||{},_0x2325de=this[_0xe89564(0x1c2)][_0xe89564(0x174)][_0xe89564(0x18a)](_0xe89564(0x1b4))||'';this[_0xe89564(0x1a6)]=_0x54e12a(_0xfb71fa[_0xe89564(0x1ba)],_0xe89564(0x198),{..._0x4686c7,'pubkey':_0x2325de,'ctx-name':_0xe89564(0x191),'sourceList':'','imgOnly':_0xe89564(0x1ae),'removeCopyright':_0xe89564(0x1ae),'localeName':this[_0xe89564(0x1c2)][_0xe89564(0x19c)][_0xe89564(0x1a1)],'externalSourcesEmbedCss':_0xe89564(0x1c6)}),this[_0xe89564(0x1a6)][_0xe89564(0x17d)]=_0x33da96=>{const _0x1b38a4=_0xe89564;if(_0x1b38a4(0x182)==_0x33da96)return _0x1b38a4(0x177);},_0xfb71fa[_0xe89564(0x1ba)][_0xe89564(0x1a3)][_0xe89564(0x1bb)](this[_0xe89564(0x1a6)]);}[_0x2bfd6b(0x188)](){const _0x15e9b8=_0x2bfd6b;this[_0x15e9b8(0x19a)]=_0x54e12a(_0xfb71fa[_0x15e9b8(0x1ba)],_0x15e9b8(0x1af),{'ctx-name':_0x15e9b8(0x191)}),_0xfb71fa[_0x15e9b8(0x1ba)][_0x15e9b8(0x1a3)][_0x15e9b8(0x1bb)](this[_0x15e9b8(0x19a)]);}[_0x2bfd6b(0x1aa)](){const _0x4f312e=_0x2bfd6b,_0x844971=this[_0x4f312e(0x1c2)][_0x4f312e(0x1c0)][_0x4f312e(0x18a)](_0x4f312e(0x18b));_0x844971&&this[_0x4f312e(0x197)](_0x844971,_0x4f312e(0x19b),()=>{const _0x4ee586=_0x4f312e,_0x4a0be4=this[_0x4ee586(0x1c2)][_0x4ee586(0x183)][_0x4ee586(0x1ba)][_0x4ee586(0x18d)][_0x4ee586(0x1b9)]();_0x4a0be4&&_0x4a0be4[_0x4ee586(0x192)](_0x4ee586(0x18f))&&this[_0x4ee586(0x1c2)][_0x4ee586(0x199)][_0x4ee586(0x18e)][_0x4ee586(0x189)](_0x4ee586(0x17c),()=>{const _0x5ed043=_0x4ee586;_0x3428e6(this[_0x5ed043(0x1c2)],_0x4a0be4);});});const _0x12afaa=this[_0x4f312e(0x1c2)][_0x4f312e(0x1c0)][_0x4f312e(0x18a)](_0x4f312e(0x1b3));_0x12afaa&&this[_0x4f312e(0x197)](_0x12afaa,_0x4f312e(0x19b),()=>{const _0x26edad=_0x4f312e,_0x1d93a4=this[_0x26edad(0x1c2)][_0x26edad(0x183)][_0x26edad(0x1ba)][_0x26edad(0x18d)][_0x26edad(0x1b9)]();_0x1d93a4&&_0x1d93a4[_0x26edad(0x192)](_0x26edad(0x18f))&&this[_0x26edad(0x1c2)][_0x26edad(0x199)][_0x26edad(0x18e)][_0x26edad(0x189)](_0x26edad(0x17c),()=>{const _0x86ec77=_0x26edad;_0x3428e6(this[_0x86ec77(0x1c2)],_0x1d93a4);});});}}
23
+ const _0x37af0e=_0x546d;(function(_0x398ce2,_0x1dbe3f){const _0x1cb6f3=_0x546d,_0x2c5557=_0x398ce2();while(!![]){try{const _0x4f2d50=-parseInt(_0x1cb6f3(0x15c))/0x1+-parseInt(_0x1cb6f3(0x153))/0x2+-parseInt(_0x1cb6f3(0x126))/0x3*(-parseInt(_0x1cb6f3(0x163))/0x4)+parseInt(_0x1cb6f3(0x147))/0x5+-parseInt(_0x1cb6f3(0x14c))/0x6*(parseInt(_0x1cb6f3(0x12a))/0x7)+-parseInt(_0x1cb6f3(0x128))/0x8+parseInt(_0x1cb6f3(0x162))/0x9;if(_0x4f2d50===_0x1dbe3f)break;else _0x2c5557['push'](_0x2c5557['shift']());}catch(_0x678c9){_0x2c5557['push'](_0x2c5557['shift']());}}}(_0x1bff,0xba038));import{Plugin as _0x3229f9}from'ckeditor5/src/core.js';import{Dialog as _0x4b55d2}from'ckeditor5/src/ui.js';import{createElement as _0x1dffb4,global as _0x5437ec,uid as _0x231b46}from'ckeditor5/src/utils.js';import _0x2fcd93 from'./uploadcarecommand.js';import _0x196de4 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4e161c}from'./utils/editingutils.js';function _0x546d(_0x24bbf6,_0xe38ff){const _0x1bff3b=_0x1bff();return _0x546d=function(_0x546d43,_0x27d80a){_0x546d43=_0x546d43-0x116;let _0x2d1cc0=_0x1bff3b[_0x546d43];return _0x2d1cc0;},_0x546d(_0x24bbf6,_0xe38ff);}export default class i extends _0x3229f9{[_0x37af0e(0x12d)]=null;[_0x37af0e(0x15e)]=null;static get[_0x37af0e(0x149)](){const _0x5d8fd8=_0x37af0e;return _0x5d8fd8(0x145);}static get[_0x37af0e(0x168)](){const _0x2d25b7=_0x37af0e;return[_0x2d25b7(0x13c),_0x196de4,_0x4b55d2];}static get[_0x37af0e(0x146)](){return!0x0;}static get[_0x37af0e(0x155)](){return!0x0;}get[_0x37af0e(0x12b)](){const _0x576403=_0x37af0e;return this[_0x576403(0x12d)];}get[_0x37af0e(0x156)](){const _0x140bf0=_0x37af0e;return this[_0x140bf0(0x15e)];}[_0x37af0e(0x122)](){const _0x4cc691=_0x37af0e,_0x1ea6dc=this[_0x4cc691(0x165)];_0x1ea6dc[_0x4cc691(0x139)][_0x4cc691(0x167)](_0x4cc691(0x152),new _0x2fcd93(_0x1ea6dc));}[_0x37af0e(0x140)](){const _0x3cfab2=_0x37af0e;this[_0x3cfab2(0x123)](),this[_0x3cfab2(0x116)](),this[_0x3cfab2(0x121)](),this[_0x3cfab2(0x166)](),this[_0x3cfab2(0x144)](),this[_0x3cfab2(0x14d)](this[_0x3cfab2(0x165)],_0x3cfab2(0x14a),()=>{const _0x253164=_0x3cfab2;this[_0x253164(0x12d)]&&(this[_0x253164(0x12d)][_0x253164(0x151)](),this[_0x253164(0x12d)]=null),this[_0x253164(0x15e)]&&(this[_0x253164(0x15e)][_0x253164(0x151)](),this[_0x253164(0x15e)]=null);const _0x14b978=_0x5437ec[_0x253164(0x118)][_0x253164(0x143)](_0x253164(0x142));_0x14b978&&_0x14b978[_0x253164(0x151)]();}),async function(_0x5d8df9){const _0x4b6497=_0xf7ec4b([0x49,0x6f,0x79,0x6b,0x41,0x4b,0x72,0x53,0x30,0x46,0x5a,0x39,0x38,0x35,0x6a,0x4a,0x66,0x78,0x44,0x7a,0x62,0x43,0x33,0x6c,0x65,0x64,0x57,0x32,0x77,0x50,0x4d,0x63,0x74,0x37,0x55,0x69,0x4c,0x59,0x51,0x4f,0x70,0x31,0x48,0x73,0x54,0x34,0x71,0x61,0x68,0x47,0x42,0x45,0x6d,0x75,0x6e,0x56,0x36,0x4e,0x76,0x67,0x58,0x52]),_0x19d9af=0x5d5422a1,_0x1c3057=0x5d5350f1^_0x19d9af,_0x49e0cd=window[_0xf7ec4b([0x44,0x61,0x74,0x65])][_0xf7ec4b([0x6e,0x6f,0x77])](),_0x3b464f=_0x5d8df9[_0xf7ec4b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a9ecb=new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ecfdf=>{_0x3b464f[_0xf7ec4b([0x6f,0x6e,0x63,0x65])](_0xf7ec4b([0x72,0x65,0x61,0x64,0x79]),_0x3ecfdf);}),_0x16c829={[_0xf7ec4b([0x6b,0x74,0x79])]:_0xf7ec4b([0x45,0x43]),[_0xf7ec4b([0x75,0x73,0x65])]:_0xf7ec4b([0x73,0x69,0x67]),[_0xf7ec4b([0x63,0x72,0x76])]:_0xf7ec4b([0x50,0x2d,0x32,0x35,0x36]),[_0xf7ec4b([0x78])]:_0xf7ec4b([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]),[_0xf7ec4b([0x79])]:_0xf7ec4b([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]),[_0xf7ec4b([0x61,0x6c,0x67])]:_0xf7ec4b([0x45,0x53,0x32,0x35,0x36])},_0x5ea926=_0x3b464f[_0xf7ec4b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf7ec4b([0x67,0x65,0x74])](_0xf7ec4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f0e41(){let _0x4b655d,_0x1c332e=null,_0x37de7b=null;try{if(_0x5ea926==_0xf7ec4b([0x47,0x50,0x4c]))return _0xf7ec4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b655d=_0x136d44(),!_0x4b655d)return _0xf7ec4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b655d[_0xf7ec4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x37de7b=_0x297c3f(_0x4b655d[_0xf7ec4b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b655d[_0xf7ec4b([0x6a,0x74,0x69])])),await _0x4004c8()?_0x35b86d()?_0x4a322f()?_0xf7ec4b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3df33c()?(_0x4b655d[_0xf7ec4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf7ec4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c332e=_0xf6dd87(_0xf7ec4b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b655d[_0xf7ec4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf7ec4b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c332e=_0xf6dd87(_0xf7ec4b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d5d3c()):_0xf7ec4b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf7ec4b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf7ec4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf7ec4b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a322f(){const _0x194d23=[_0xf7ec4b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf7ec4b([0x74,0x72,0x69,0x61,0x6c])][_0xf7ec4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b655d[_0xf7ec4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49e0cd/0x3e8:0xe10*_0x1c3057;return _0x4b655d[_0xf7ec4b([0x65,0x78,0x70])]<_0x194d23;}function _0x35b86d(){const _0x4b7ec2=_0x4b655d[_0xf7ec4b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b7ec2&&(!!_0x4b7ec2[_0xf7ec4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf7ec4b([0x2a]))||!!_0x4b7ec2[_0xf7ec4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf7ec4b([0x55,0x50,0x4c,0x43])));}function _0x3df33c(){const _0x2ba075=_0x546d,_0x2e5431=_0x4b655d[_0xf7ec4b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e5431||0x0==_0x2e5431[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ca31b}=new URL(window[_0xf7ec4b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ba075(0x117)]);if(_0x2e5431[_0xf7ec4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca31b))return!0x0;const _0x4e8dc9=_0x3ca31b[_0xf7ec4b([0x73,0x70,0x6c,0x69,0x74])](_0xf7ec4b([0x2e]));return _0x2e5431[_0xf7ec4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c2162=>_0x5c2162[_0xf7ec4b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf7ec4b([0x2a])))[_0xf7ec4b([0x6d,0x61,0x70])](_0x135083=>_0x135083[_0xf7ec4b([0x73,0x70,0x6c,0x69,0x74])](_0xf7ec4b([0x2e])))[_0xf7ec4b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1556da=>_0x1556da[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e8dc9[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf7ec4b([0x6d,0x61,0x70])](_0x533250=>Array(_0x4e8dc9[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x533250[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf7ec4b([0x66,0x69,0x6c,0x6c])](_0x533250[0x0]===_0xf7ec4b([0x2a])?_0xf7ec4b([0x2a]):'')[_0xf7ec4b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x533250))[_0xf7ec4b([0x73,0x6f,0x6d,0x65])](_0x1e0103=>_0x4e8dc9[_0xf7ec4b([0x65,0x76,0x65,0x72,0x79])]((_0x49cfc6,_0xc33e2a)=>_0x1e0103[_0xc33e2a]===_0x49cfc6||_0x1e0103[_0xc33e2a]===_0xf7ec4b([0x2a])));}function _0x5d5d3c(){return _0x1c332e&&_0x37de7b?new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ad51f,_0x52d22b)=>{_0x1c332e[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x3ad51f,_0x52d22b),_0x37de7b[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x16ed8b=>{_0x16ed8b!=_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64])&&_0x3ad51f(_0x16ed8b);},_0x52d22b);}):_0x1c332e||_0x37de7b||_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x297c3f(_0x5bd538,_0x221bec){return new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10a355=>{if(_0x4bee5b())return _0x10a355(_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64]));_0x2dd064(),_0x3b464f[_0xf7ec4b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf7ec4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27cb0e=!0x1;const _0x30e4ad=_0x231b46();function _0x191778(_0xee9cf5){return!!_0xee9cf5&&(typeof _0xee9cf5===_0xf7ec4b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xee9cf5===_0xf7ec4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xee9cf5[_0xf7ec4b([0x74,0x68,0x65,0x6e])]===_0xf7ec4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xee9cf5[_0xf7ec4b([0x63,0x61,0x74,0x63,0x68])]===_0xf7ec4b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xde1177(_0x55eb45){_0x3e6aed(_0x55eb45)[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x9cef3=>{if(!_0x9cef3||_0x9cef3[_0xf7ec4b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf7ec4b([0x6f,0x6b]))return _0xf7ec4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e144b(_0x3e32aa(_0x30e4ad+_0x221bec))!=_0x9cef3[_0xf7ec4b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf7ec4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64]);})[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x465007=>(_0x59c794(),_0x465007),()=>{const _0x5c7062=_0x34a031();return null==_0x5c7062?(_0x59c794(),_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64])):_0xf7ec4b(_0x49e0cd-_0x5c7062>(0x7958a6a1^_0x19d9af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x10a355)[_0xf7ec4b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10a355(_0xf7ec4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4644ab=0x5d62cc21^_0x19d9af;function _0x59c794(){const _0x1704d9=_0xf7ec4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e144b(_0x3e32aa(_0x5bd538)),_0x5f36a3=_0x2b49e6(_0x3e144b(window[_0xf7ec4b([0x4d,0x61,0x74,0x68])][_0xf7ec4b([0x63,0x65,0x69,0x6c])](_0x49e0cd/_0x4644ab)));window[_0xf7ec4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf7ec4b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1704d9,_0x5f36a3);}function _0x34a031(){const _0x2640ef=_0xf7ec4b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e144b(_0x3e32aa(_0x5bd538)),_0x14c49d=window[_0xf7ec4b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf7ec4b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2640ef);return _0x14c49d?window[_0xf7ec4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b49e6(_0x14c49d),0x10)*_0x4644ab:null;}function _0x3e6aed(_0x27be6c){return new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a3392,_0x14291a)=>{_0x27be6c[_0xf7ec4b([0x74,0x68,0x65,0x6e])](_0x1a3392,_0x14291a),window[_0xf7ec4b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14291a,0x5d55f661^_0x19d9af);});}}_0x3b464f[_0xf7ec4b([0x6f,0x6e])](_0xf7ec4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x391cbb,_0x32b56c)=>{if(_0x32b56c[0x0]!=_0x5bd538)return _0x10a355(_0xf7ec4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32b56c[0x1]={..._0x32b56c[0x1],[_0xf7ec4b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30e4ad};},{[_0xf7ec4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf7ec4b([0x68,0x69,0x67,0x68])}),_0x3b464f[_0xf7ec4b([0x6f,0x6e])](_0xf7ec4b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15bc3c=>{_0x191778(_0x15bc3c[_0xf7ec4b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27cb0e=!0x0,_0xde1177(_0x15bc3c[_0xf7ec4b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf7ec4b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf7ec4b([0x6c,0x6f,0x77])}),_0x3a9ecb[_0xf7ec4b([0x74,0x68,0x65,0x6e])](()=>{_0x27cb0e||_0x10a355(_0xf7ec4b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bee5b(){return _0x3b464f[_0xf7ec4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf7ec4b([0x76,0x69,0x65,0x77])][_0xf7ec4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf7ec4b([0x61,0x75,0x74,0x6f]);}function _0x2dd064(){_0x3b464f[_0xf7ec4b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf7ec4b([0x76,0x69,0x65,0x77])][_0xf7ec4b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf7ec4b([0x61,0x75,0x74,0x6f]);}}function _0xf6dd87(_0x17f22a){const _0x3d2fa2=[new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x543fb0=>setTimeout(_0x543fb0,0x5d5d1c6d^_0x19d9af)),_0x3a9ecb[_0xf7ec4b([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b6aa=>{let _0xcc0028=0x0;_0x3b464f[_0xf7ec4b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf7ec4b([0x6f,0x6e])](_0xf7ec4b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x562775,_0x758dd)=>{_0x758dd[0x0][_0xf7ec4b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcc0028++,_0xcc0028==(0x5d542359^_0x19d9af)&&(_0x25b6aa(),_0x562775[_0xf7ec4b([0x6f,0x66,0x66])]());});}))];return window[_0xf7ec4b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf7ec4b([0x72,0x61,0x63,0x65])](_0x3d2fa2)[_0xf7ec4b([0x74,0x68,0x65,0x6e])](()=>_0x17f22a);}async function _0x2f793f(){await _0x3a9ecb,_0x3b464f[_0xf7ec4b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf7ec4b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x571b7,_0x3b464f[_0xf7ec4b([0x6d,0x6f,0x64,0x65,0x6c])][_0xf7ec4b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x571b7,_0x3b464f[_0xf7ec4b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf7ec4b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x354068(_0x312c5d){const _0x14dd47=_0x30cf6d();_0x3b464f[_0x14dd47]=_0xf7ec4b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x312c5d,_0x312c5d!=_0xf7ec4b([0x56,0x61,0x6c,0x69,0x64])&&_0x2f793f();}function _0x30cf6d(){const _0x26b5d2=window[_0xf7ec4b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf7ec4b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf7ec4b([0x6e,0x6f,0x77])]())[_0xf7ec4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf7ec4b([0x2e]),'');let _0x49cf20=_0xf7ec4b([0x49]);for(let _0x37bca1=0x0;_0x37bca1<_0x26b5d2[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37bca1+=0x2){let _0x26b73d=window[_0xf7ec4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26b5d2[_0xf7ec4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37bca1,_0x37bca1+0x2));_0x26b73d>=_0x4b6497[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26b73d-=_0x4b6497[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49cf20+=_0x4b6497[_0x26b73d];}return _0x49cf20;}function _0x136d44(){const _0x3030b9=_0x5ea926[_0xf7ec4b([0x73,0x70,0x6c,0x69,0x74])](_0xf7ec4b([0x2e]));if(0x3!=_0x3030b9[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59afbb(_0x3030b9[0x1]);function _0x59afbb(_0x4a65e4){const _0x2fe8d3=_0x493ccb(_0x4a65e4);return _0x2fe8d3&&_0x2cb549()?_0x2fe8d3:null;function _0x2cb549(){const _0x3f5878=_0x2fe8d3[_0xf7ec4b([0x6a,0x74,0x69])],_0x1d802a=window[_0xf7ec4b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f5878[_0xf7ec4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f5878[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23c0f0={..._0x2fe8d3,[_0xf7ec4b([0x6a,0x74,0x69])]:_0x3f5878[_0xf7ec4b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f5878[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23c0f0[_0xf7ec4b([0x76,0x63])],_0x3e32aa(_0x23c0f0)==_0x1d802a;}}}async function _0x4004c8(){let _0x4797d8=!0x0;try{const _0x55a797=_0x5ea926[_0xf7ec4b([0x73,0x70,0x6c,0x69,0x74])](_0xf7ec4b([0x2e])),[_0x2ef6cd,_0x10c304,_0x37d5f7]=_0x55a797;return _0x53c0b0(_0x2ef6cd),await _0x378545(_0x2ef6cd,_0x10c304,_0x37d5f7),_0x4797d8;}catch{return!0x1;}function _0x53c0b0(_0xe0978d){const _0xc23747=_0x493ccb(_0xe0978d);_0xc23747&&_0xc23747[_0xf7ec4b([0x61,0x6c,0x67])]==_0xf7ec4b([0x45,0x53,0x32,0x35,0x36])||(_0x4797d8=!0x1);}async function _0x378545(_0xe44e32,_0x1e34ea,_0x3e7945){const _0x3eb931=window[_0xf7ec4b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf7ec4b([0x66,0x72,0x6f,0x6d])](_0x1bde06(_0x3e7945),_0x1930e4=>_0x1930e4[_0xf7ec4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2efb1b=new window[(_0xf7ec4b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf7ec4b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe44e32+_0xf7ec4b([0x2e])+_0x1e34ea),_0x266d2d=window[_0xf7ec4b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf7ec4b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x266d2d)return;const _0x2ad82b=await _0x266d2d[_0xf7ec4b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf7ec4b([0x6a,0x77,0x6b]),_0x16c829,{[_0xf7ec4b([0x6e,0x61,0x6d,0x65])]:_0xf7ec4b([0x45,0x43,0x44,0x53,0x41]),[_0xf7ec4b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf7ec4b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf7ec4b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x266d2d[_0xf7ec4b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf7ec4b([0x6e,0x61,0x6d,0x65])]:_0xf7ec4b([0x45,0x43,0x44,0x53,0x41]),[_0xf7ec4b([0x68,0x61,0x73,0x68])]:{[_0xf7ec4b([0x6e,0x61,0x6d,0x65])]:_0xf7ec4b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ad82b,_0x3eb931,_0x2efb1b)||(_0x4797d8=!0x1);}}function _0x493ccb(_0x622d3f){return _0x622d3f[_0xf7ec4b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf7ec4b([0x65,0x79]))?JSON[_0xf7ec4b([0x70,0x61,0x72,0x73,0x65])](_0x1bde06(_0x622d3f)):null;}function _0x1bde06(_0x5500c2){return window[_0xf7ec4b([0x61,0x74,0x6f,0x62])](_0x5500c2[_0xf7ec4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf7ec4b([0x2b]))[_0xf7ec4b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf7ec4b([0x2f])));}function _0x3e32aa(_0x504dfb){let _0x5926b5=0x1505;function _0x541396(_0xab6261){for(let _0x285fc4=0x0;_0x285fc4<_0xab6261[_0xf7ec4b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x285fc4++){const _0x2839d9=_0xab6261[_0xf7ec4b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x285fc4);_0x5926b5=(_0x5926b5<<0x5)+_0x5926b5+_0x2839d9,_0x5926b5&=_0x5926b5;}}function _0x1aae55(_0x1cadcf){Array[_0xf7ec4b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cadcf)?_0x1cadcf[_0xf7ec4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1aae55):_0x1cadcf&&typeof _0x1cadcf==_0xf7ec4b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf7ec4b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cadcf)[_0xf7ec4b([0x73,0x6f,0x72,0x74])]()[_0xf7ec4b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x157f33,_0x3f184f])=>{_0x541396(_0x157f33),_0x1aae55(_0x3f184f);}):_0x541396(window[_0xf7ec4b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cadcf));}return _0x1aae55(_0x504dfb),_0x5926b5>>>0x0;}function _0x3e144b(_0x514eb6){return _0x514eb6[_0xf7ec4b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf7ec4b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf7ec4b([0x30]));}function _0x2b49e6(_0x3bebeb){return _0x3bebeb[_0xf7ec4b([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf7ec4b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf7ec4b([0x6a,0x6f,0x69,0x6e])]('');}function _0x571b7(){}function _0xf7ec4b(_0x249a64){const _0x2e14b4=_0x546d;return _0x249a64[_0x2e14b4(0x13e)](_0x17225c=>String[_0x2e14b4(0x135)](_0x17225c))[_0x2e14b4(0x132)]('');}_0x354068(await _0x3f0e41());}(this);}[_0x37af0e(0x123)](){const _0x3d2a37=_0x37af0e,_0x11baf6=this[_0x3d2a37(0x165)][_0x3d2a37(0x159)][_0x3d2a37(0x154)];_0x11baf6[_0x3d2a37(0x136)](_0x3d2a37(0x157))&&_0x11baf6[_0x3d2a37(0x15b)](_0x3d2a37(0x157),{'allowAttributes':[_0x3d2a37(0x127)]}),_0x11baf6[_0x3d2a37(0x136)](_0x3d2a37(0x130))&&_0x11baf6[_0x3d2a37(0x15b)](_0x3d2a37(0x130),{'allowAttributes':[_0x3d2a37(0x127)]});}[_0x37af0e(0x116)](){const _0x1e15fa=_0x37af0e,_0x479c7e=this[_0x1e15fa(0x165)];_0x479c7e[_0x1e15fa(0x161)][_0x1e15fa(0x158)](_0x1e15fa(0x13d))[_0x1e15fa(0x15a)]({'model':_0x1e15fa(0x127),'view':_0x1e15fa(0x141)}),_0x479c7e[_0x1e15fa(0x161)][_0x1e15fa(0x158)](_0x1e15fa(0x11f))[_0x1e15fa(0x119)]({'model':{'key':_0x1e15fa(0x127),'value':_0x1cdb39=>_0x1cdb39[_0x1e15fa(0x148)](_0x1e15fa(0x141))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd58a72=_0x479c7e[_0x1e15fa(0x139)][_0x1e15fa(0x164)](_0x1e15fa(0x14f));_0xd58a72&&this[_0x1e15fa(0x14d)](_0xd58a72,_0x1e15fa(0x160),(_0x51376f,[_0x1c017f,_0x3df654])=>{const _0x2b2acf=_0x1e15fa;_0x1c017f[_0x2b2acf(0x11e)](_0x2b2acf(0x127),_0x3df654);});}[_0x37af0e(0x121)](){const _0x12bc87=_0x37af0e,_0x58c7ab=this[_0x12bc87(0x165)][_0x12bc87(0x129)][_0x12bc87(0x164)](_0x12bc87(0x138))||{},_0x28d95e=this[_0x12bc87(0x165)][_0x12bc87(0x129)][_0x12bc87(0x164)](_0x12bc87(0x137))||'';this[_0x12bc87(0x12d)]=_0x1dffb4(_0x5437ec[_0x12bc87(0x118)],_0x12bc87(0x11b),{..._0x58c7ab,'pubkey':_0x28d95e,'ctx-name':_0x12bc87(0x11d),'sourceList':'','imgOnly':_0x12bc87(0x14e),'removeCopyright':_0x12bc87(0x14e),'localeName':this[_0x12bc87(0x165)][_0x12bc87(0x120)][_0x12bc87(0x13a)],'externalSourcesEmbedCss':_0x12bc87(0x124)}),this[_0x12bc87(0x12d)][_0x12bc87(0x131)]=_0x102171=>{const _0x2e7e18=_0x12bc87;if(_0x2e7e18(0x125)==_0x102171)return _0x2e7e18(0x12f);},_0x5437ec[_0x12bc87(0x118)][_0x12bc87(0x150)][_0x12bc87(0x13b)](this[_0x12bc87(0x12d)]);}[_0x37af0e(0x166)](){const _0x2b61bb=_0x37af0e;this[_0x2b61bb(0x15e)]=_0x1dffb4(_0x5437ec[_0x2b61bb(0x118)],_0x2b61bb(0x13f),{'ctx-name':_0x2b61bb(0x11d)}),_0x5437ec[_0x2b61bb(0x118)][_0x2b61bb(0x150)][_0x2b61bb(0x13b)](this[_0x2b61bb(0x15e)]);}[_0x37af0e(0x144)](){const _0x53eb48=_0x37af0e,_0x4cb53e=this[_0x53eb48(0x165)][_0x53eb48(0x139)][_0x53eb48(0x164)](_0x53eb48(0x11a));_0x4cb53e&&this[_0x53eb48(0x14d)](_0x4cb53e,_0x53eb48(0x12e),()=>{const _0x14a698=_0x53eb48,_0x25b849=this[_0x14a698(0x165)][_0x14a698(0x159)][_0x14a698(0x118)][_0x14a698(0x14b)][_0x14a698(0x15d)]();_0x25b849&&_0x25b849[_0x14a698(0x148)](_0x14a698(0x127))&&this[_0x14a698(0x165)][_0x14a698(0x15f)][_0x14a698(0x12c)][_0x14a698(0x133)](_0x14a698(0x11c),()=>{const _0x43e37a=_0x14a698;_0x4e161c(this[_0x43e37a(0x165)],_0x25b849);});});const _0x2f6706=this[_0x53eb48(0x165)][_0x53eb48(0x139)][_0x53eb48(0x164)](_0x53eb48(0x134));_0x2f6706&&this[_0x53eb48(0x14d)](_0x2f6706,_0x53eb48(0x12e),()=>{const _0x550b35=_0x53eb48,_0x2aef75=this[_0x550b35(0x165)][_0x550b35(0x159)][_0x550b35(0x118)][_0x550b35(0x14b)][_0x550b35(0x15d)]();_0x2aef75&&_0x2aef75[_0x550b35(0x148)](_0x550b35(0x127))&&this[_0x550b35(0x165)][_0x550b35(0x15f)][_0x550b35(0x12c)][_0x550b35(0x133)](_0x550b35(0x11c),()=>{const _0x1bb1b4=_0x550b35;_0x4e161c(this[_0x1bb1b4(0x165)],_0x2aef75);});});}}function _0x1bff(){const _0x37c367=['destroy','selection','2694kgrBtB','listenTo','true','replaceImageSource','body','remove','uploadcare','2182214gRKDaY','schema','isPremiumPlugin','ctxElement','imageBlock','for','model','attributeToAttribute','extend','311514LGEPAT','getSelectedElement','_ctxElement','editing','cleanupImage','conversion','14638257DDtQRi','5053276drTkMz','get','editor','_initCtx','add','requires','_initConversion','href','document','elementToAttribute','insertImage','uc-config','render','uploader','removeAttribute','upcast','locale','_initConfig','init','_initSchema','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','closeMax','3HgfQen','uploadcareImageId','4426792kQDyHc','config','22918ePyLQH','configElement','view','_configElement','execute','#uc-icon-arrow-down','imageInline','iconHrefResolver','join','once','uploadcareImageReplace','fromCharCode','isRegistered','uploadcare.pubkey','uploadcare.uploader','commands','contentLanguage','appendChild','PictureEditing','downcast','map','uc-upload-ctx-provider','afterInit','data-uc-image-id','input[uploadcare-file-input]','querySelector','_initImageProcessingIndicator','UploadcareEditing','isOfficialPlugin','6490580uHfDJM','getAttribute','pluginName'];_0x1bff=function(){return _0x37c367;};return _0x1bff();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2601db,ObservableMixin as _0x2c5ab2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56c49e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x506f4d}from'ckeditor5/src/icons.js';import _0x192992 from'./uploadcareimageeditformview.js';import _0x27df8c from'../../utils/uploadutils.js';import{getImageUrls as _0x77e28b,getImageDimension as _0x54dd09}from'../../utils/editingutils.js';import{isAncestor as _0x2e84d6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x2c5ab2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e6893,_0x404c24,_0x318e91){super(),this['_editor']=_0x1e6893,this['_dialog']=_0x404c24,this['_imageElement']=_0x318e91,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 _0x453bea=this['_imageElement'],_0x14c347=_0x453bea['getAttribute']('uploadcareImageId'),_0x557e54=_0x453bea['getAttribute']('src');if(_0x14c347)await this['_loadImageInfo'](_0x14c347,_0x557e54);else{if(this['_imageCache']['has'](_0x557e54)){const _0x36dc73=this['_imageCache']['get'](_0x557e54);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36dc73['url'],this['imageDimension']=_0x36dc73['dimension'],this['imageId']=_0x36dc73['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa8e0b}=this['_editor'],t=_0xa8e0b['t'],_0x51b483=new _0x192992(_0xa8e0b,this['imageStatus'],this['_attributes']);_0x51b483['bind']('status')['to'](this,'imageStatus'),_0x51b483['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x51b483['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x51b483['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x51b483,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x506f4d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x51b483,'position':_0x56c49e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x51b483['focus']();},'onHide':()=>{_0x51b483['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46ad81=>!_0x2e84d6(_0x46ad81,_0x51b483['element'])}});}['_loadImageInfo'](_0x2b11b8,_0xe92c4){return _0x27df8c['getInfo'](_0x2b11b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ef9b8=>{const {width:_0x44f6e9,height:_0x3c8189}=_0x4ef9b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe92c4,this['imageDimension']={'width':_0x44f6e9,'height':_0x3c8189},this['imageId']=_0x2b11b8;})['catch'](_0x97ea3c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x97ea3c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3dff53,_0x503cf9){return this['_getImageAsFile'](_0x3dff53)['then'](_0x5f539f=>_0x27df8c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x503cf9['signal'],'file':_0x5f539f,'onProgress':_0x5bd72a=>{_0x5bd72a&&_0x5bd72a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5bd72a['value']));}}))['then'](_0x2496ae=>{const {width:_0x23db42,height:_0x2fd6fc}=_0x2496ae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2496ae['cdnUrl'],this['imageDimension']={'width':_0x23db42,'height':_0x2fd6fc},this['imageId']=_0x2496ae['uuid'],this['imageUploadProgress']=null;const _0x9130b0=_0x3dff53['getAttribute']('src');this['_imageCache']['set'](_0x9130b0,{'id':_0x2496ae['uuid'],'url':_0x2496ae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26cb47=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26cb47['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3e8600,_0x4341d1){_0x3e8600['on']('apply',(_0x3c2403,_0x2b494a)=>{this['_replaceImage'](_0x4341d1,_0x2b494a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3e8600['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3e8600['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x336376,_0x12d4df,_0x43d9ec){const _0xe57b02=this['_editor'],{width:_0x1a2825,height:_0x25d9d5}=_0x54dd09(_0x12d4df,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x295acd,imageSources:_0x148f04}=_0x77e28b(_0x12d4df,_0x1a2825);_0xe57b02['model']['change'](_0x481df9=>{if('$graveyard'===_0x336376['root']['rootName']){_0xe57b02['execute']('insertImage',{'imageType':_0x336376['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x336376['getAttributes']()),'uploadcareImageId':_0x43d9ec,'src':_0x295acd,'sources':_0x148f04,'width':_0x1a2825,'height':_0x25d9d5}});const _0x230000=_0x336376['getChildren']();_0x336376=_0xe57b02['model']['document']['selection']['getSelectedElement']();for(const _0x2809fa of _0x230000)_0x481df9['append'](_0x481df9['cloneElement'](_0x2809fa),_0x336376);}else _0x481df9['setSelection'](_0x336376,'on'),_0xe57b02['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x336376['getAttributes']()),'uploadcareImageId':_0x43d9ec,'src':_0x295acd,'sources':_0x148f04,'width':_0x1a2825,'height':_0x25d9d5},_0x336376);_0x481df9['setSelection'](_0x336376,'on');});}async['_getImageAsFile'](_0x26a329){const _0xe9f692=_0x2601db['window'],_0x407762=_0x2601db['document']['location']['href'],_0x3ba2de=new _0xe9f692['URL'](_0x26a329['getAttribute']('src'),_0x407762);if('data:'===_0x3ba2de['protocol']){const _0x9810ea=_0x3ba2de['href']['split'](','),_0x5b0e4f=_0x9810ea[0x0]['match'](/:(.*?);/)[0x1],_0x3bb9b2=_0x5b0e4f['split']('/')[0x1],_0x80d84b=_0xe9f692['atob'](_0x9810ea[_0x9810ea['length']-0x1]);let _0x51ee97=_0x80d84b['length'];const _0x3b70be=new _0xe9f692['Uint8Array'](_0x51ee97);for(;_0x51ee97--;)_0x3b70be[_0x51ee97]=_0x80d84b['charCodeAt'](_0x51ee97);return new _0xe9f692['File']([_0x3b70be],'image.'+_0x3bb9b2,{'type':_0x5b0e4f});}const _0x41afe0=_0x3ba2de['href']['split']('/'),_0x264869=_0x41afe0[_0x41afe0['length']-0x1],_0x1d22d4=_0x264869['split']('.')[0x1];return _0xe9f692['fetch'](_0x3ba2de['href'])['then'](_0x344e54=>_0x344e54['clone']()['blob']())['then'](_0x4df0a3=>new _0xe9f692['File']([_0x4df0a3],_0x264869,{'type':'image/'+_0x1d22d4}));}}
23
+ import{global as _0x54f38a,ObservableMixin as _0x379aef}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x57f573}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b1763}from'ckeditor5/src/icons.js';import _0x17efa8 from'./uploadcareimageeditformview.js';import _0x402e55 from'../../utils/uploadutils.js';import{getImageUrls as _0x54cd26,getImageDimension as _0x5ee1fe}from'../../utils/editingutils.js';import{isAncestor as _0x37d51a}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x379aef(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x57a26d,_0x43690e,_0x3107e3){super(),this['_editor']=_0x57a26d,this['_dialog']=_0x43690e,this['_imageElement']=_0x3107e3,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 _0x1f6cea=this['_imageElement'],_0x301936=_0x1f6cea['getAttribute']('uploadcareImageId'),_0x17e063=_0x1f6cea['getAttribute']('src');if(_0x301936)await this['_loadImageInfo'](_0x301936,_0x17e063);else{if(this['_imageCache']['has'](_0x17e063)){const _0x220eee=this['_imageCache']['get'](_0x17e063);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x220eee['url'],this['imageDimension']=_0x220eee['dimension'],this['imageId']=_0x220eee['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x636a41}=this['_editor'],t=_0x636a41['t'],_0x162ae1=new _0x17efa8(_0x636a41,this['imageStatus'],this['_attributes']);_0x162ae1['bind']('status')['to'](this,'imageStatus'),_0x162ae1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x162ae1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x162ae1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x162ae1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4b1763,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x162ae1,'position':_0x57f573['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x162ae1['focus']();},'onHide':()=>{_0x162ae1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x145689=>!_0x37d51a(_0x145689,_0x162ae1['element'])}});}['_loadImageInfo'](_0x1a09c7,_0x3d7e1c){return _0x402e55['getInfo'](_0x1a09c7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x114390=>{const {width:_0x56010a,height:_0x3848f4}=_0x114390['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d7e1c,this['imageDimension']={'width':_0x56010a,'height':_0x3848f4},this['imageId']=_0x1a09c7;})['catch'](_0x28bfaf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28bfaf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e4564,_0xe2ba3e){return this['_getImageAsFile'](_0x4e4564)['then'](_0x27785a=>_0x402e55['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xe2ba3e['signal'],'file':_0x27785a,'onProgress':_0x1dc3ac=>{_0x1dc3ac&&_0x1dc3ac['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1dc3ac['value']));}}))['then'](_0x92e6e6=>{const {width:_0x26e576,height:_0x5eea1c}=_0x92e6e6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x92e6e6['cdnUrl'],this['imageDimension']={'width':_0x26e576,'height':_0x5eea1c},this['imageId']=_0x92e6e6['uuid'],this['imageUploadProgress']=null;const _0x369445=_0x4e4564['getAttribute']('src');this['_imageCache']['set'](_0x369445,{'id':_0x92e6e6['uuid'],'url':_0x92e6e6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5dc3d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dc3d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1226c1,_0x2dc6a1){_0x1226c1['on']('apply',(_0x501d68,_0x48eb4d)=>{this['_replaceImage'](_0x2dc6a1,_0x48eb4d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1226c1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1226c1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x454d7d,_0x48f408,_0x2fb774){const _0x380d1d=this['_editor'],{width:_0x79b451,height:_0x28dc87}=_0x5ee1fe(_0x48f408,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b92e4,imageSources:_0x20b02b}=_0x54cd26(_0x48f408,_0x79b451);_0x380d1d['model']['change'](_0xd5fc3e=>{if('$graveyard'===_0x454d7d['root']['rootName']){_0x380d1d['execute']('insertImage',{'imageType':_0x454d7d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x454d7d['getAttributes']()),'uploadcareImageId':_0x2fb774,'src':_0x2b92e4,'sources':_0x20b02b,'width':_0x79b451,'height':_0x28dc87}});const _0x32dca5=_0x454d7d['getChildren']();_0x454d7d=_0x380d1d['model']['document']['selection']['getSelectedElement']();for(const _0x3370fa of _0x32dca5)_0xd5fc3e['append'](_0xd5fc3e['cloneElement'](_0x3370fa),_0x454d7d);}else _0xd5fc3e['setSelection'](_0x454d7d,'on'),_0x380d1d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x454d7d['getAttributes']()),'uploadcareImageId':_0x2fb774,'src':_0x2b92e4,'sources':_0x20b02b,'width':_0x79b451,'height':_0x28dc87},_0x454d7d);_0xd5fc3e['setSelection'](_0x454d7d,'on');});}async['_getImageAsFile'](_0x308302){const _0x50c5e0=_0x54f38a['window'],_0x1e4f95=_0x54f38a['document']['location']['href'],_0x9da8a7=new _0x50c5e0['URL'](_0x308302['getAttribute']('src'),_0x1e4f95);if('data:'===_0x9da8a7['protocol']){const _0x1e0233=_0x9da8a7['href']['split'](','),_0x630620=_0x1e0233[0x0]['match'](/:(.*?);/)[0x1],_0x48008e=_0x630620['split']('/')[0x1],_0x18ff48=_0x50c5e0['atob'](_0x1e0233[_0x1e0233['length']-0x1]);let _0x45653f=_0x18ff48['length'];const _0x406e4f=new _0x50c5e0['Uint8Array'](_0x45653f);for(;_0x45653f--;)_0x406e4f[_0x45653f]=_0x18ff48['charCodeAt'](_0x45653f);return new _0x50c5e0['File']([_0x406e4f],'image.'+_0x48008e,{'type':_0x630620});}const _0x58ac33=_0x9da8a7['href']['split']('/'),_0x223cad=_0x58ac33[_0x58ac33['length']-0x1],_0x1bac00=_0x223cad['split']('.')[0x1];return _0x50c5e0['fetch'](_0x9da8a7['href'])['then'](_0x4407c1=>_0x4407c1['clone']()['blob']())['then'](_0x5cc8ad=>new _0x50c5e0['File']([_0x5cc8ad],_0x223cad,{'type':'image/'+_0x1bac00}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf733(_0x8a7a38,_0x3f538){const _0x2cacc9=_0x2cac();return _0xf733=function(_0xf7335f,_0x31ffb4){_0xf7335f=_0xf7335f-0x98;let _0x5bebee=_0x2cacc9[_0xf7335f];return _0x5bebee;},_0xf733(_0x8a7a38,_0x3f538);}function _0x2cac(){const _0x44c24e=['249pXCWdO','2042181jkvWLx','uc-cloud-image-editor','image-edit','718795MfREki','39948dTrgwW','ck-uploadcare-theme','255438VYoOix','set','setTemplate','imageSrc','bindTemplate','uc-light','505352eFJdAg','761200napgKy','80aSncvR','15jiEijW','5114MXrLHK','8hqwdCD'];_0x2cac=function(){return _0x44c24e;};return _0x2cac();}(function(_0x4de92d,_0x3ce5d5){const _0x24f441=_0xf733,_0x9cce52=_0x4de92d();while(!![]){try{const _0x312397=parseInt(_0x24f441(0xa6))/0x1+parseInt(_0x24f441(0x9d))/0x2*(parseInt(_0x24f441(0x9f))/0x3)+parseInt(_0x24f441(0x99))/0x4+-parseInt(_0x24f441(0x9c))/0x5*(parseInt(_0x24f441(0xa4))/0x6)+-parseInt(_0x24f441(0xa3))/0x7+-parseInt(_0x24f441(0x9e))/0x8*(-parseInt(_0x24f441(0xa0))/0x9)+parseInt(_0x24f441(0x9b))/0xa*(-parseInt(_0x24f441(0x9a))/0xb);if(_0x312397===_0x3ce5d5)break;else _0x9cce52['push'](_0x9cce52['shift']());}catch(_0x1ed535){_0x9cce52['push'](_0x9cce52['shift']());}}}(_0x2cac,0x23511));import{View as _0x33448b}from'ckeditor5/src/ui.js';export default class tt extends _0x33448b{constructor(_0x47b226,_0x1de777){const _0x8a30fc=_0xf733;super(_0x47b226);const _0x26a8e2=this[_0x8a30fc(0xaa)];this[_0x8a30fc(0xa7)](_0x8a30fc(0xa9),''),this[_0x8a30fc(0xa8)]({'tag':_0x8a30fc(0xa1),'attributes':{..._0x1de777,'class':[_0x8a30fc(0x98),_0x8a30fc(0xa5)],'ctx-name':_0x8a30fc(0xa2),'cdn-url':_0x26a8e2['to'](_0x8a30fc(0xa9))}});}}
23
+ function _0x4357(_0x2c5742,_0x260d87){const _0x2e6376=_0x2e63();return _0x4357=function(_0x435764,_0x36672c){_0x435764=_0x435764-0xd7;let _0x5d4179=_0x2e6376[_0x435764];return _0x5d4179;},_0x4357(_0x2c5742,_0x260d87);}(function(_0x32cdad,_0xf8b388){const _0x1d25b6=_0x4357,_0x325195=_0x32cdad();while(!![]){try{const _0x2d05d1=parseInt(_0x1d25b6(0xd8))/0x1*(parseInt(_0x1d25b6(0xe6))/0x2)+-parseInt(_0x1d25b6(0xe5))/0x3*(-parseInt(_0x1d25b6(0xe4))/0x4)+-parseInt(_0x1d25b6(0xe0))/0x5+parseInt(_0x1d25b6(0xe1))/0x6+-parseInt(_0x1d25b6(0xe2))/0x7*(-parseInt(_0x1d25b6(0xdf))/0x8)+parseInt(_0x1d25b6(0xe3))/0x9+parseInt(_0x1d25b6(0xe7))/0xa*(-parseInt(_0x1d25b6(0xda))/0xb);if(_0x2d05d1===_0xf8b388)break;else _0x325195['push'](_0x325195['shift']());}catch(_0x4843ef){_0x325195['push'](_0x325195['shift']());}}}(_0x2e63,0xe53c6));import{View as _0x6aaaf6}from'ckeditor5/src/ui.js';function _0x2e63(){const _0x43c856=['10939788ZiQHzi','1057lwWCmX','10277766gkCCFh','532444LmdeIo','39WPpuRY','174jzKUjL','10MokIcU','bindTemplate','uc-cloud-image-editor','setTemplate','10907LgaGpq','ck-uploadcare-theme','63817171gatEMl','set','imageSrc','image-edit','uc-light','64744gNaajo','630780eSkMvY'];_0x2e63=function(){return _0x43c856;};return _0x2e63();}export default class tt extends _0x6aaaf6{constructor(_0x2d1b7c,_0x3c9b61){const _0x266047=_0x4357;super(_0x2d1b7c);const _0x456045=this[_0x266047(0xe8)];this[_0x266047(0xdb)](_0x266047(0xdc),''),this[_0x266047(0xd7)]({'tag':_0x266047(0xe9),'attributes':{..._0x3c9b61,'class':[_0x266047(0xde),_0x266047(0xd9)],'ctx-name':_0x266047(0xdd),'cdn-url':_0x456045['to'](_0x266047(0xdc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2fc7ff,IconView as at,View as _0x313e60}from'ckeditor5/src/ui.js';export default class rt extends _0x313e60{constructor(_0x305a70){super(_0x305a70);const t=_0x305a70['t'];this['set']('errorType',null);const _0x48903e=new _0x2fc7ff(_0x305a70);_0x48903e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48903e['withText']=!0x0,_0x48903e['class']='ck-button-action',_0x48903e['on']('execute',()=>{this['fire']('retry');}),_0x48903e['bind']('isVisible')['to'](this,'errorType',_0x487660=>'NotFound'!==_0x487660);const _0x2c67ee=new at();_0x2c67ee['content']=et,_0x2c67ee['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59b86e=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':[_0x2c67ee,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59b86e['to']('errorType',_0x274893=>t('NotFound'!==_0x274893?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48903e]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x382daa,IconView as at,View as _0x3b20a6}from'ckeditor5/src/ui.js';export default class rt extends _0x3b20a6{constructor(_0xf682c2){super(_0xf682c2);const t=_0xf682c2['t'];this['set']('errorType',null);const _0x3100c7=new _0x382daa(_0xf682c2);_0x3100c7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3100c7['withText']=!0x0,_0x3100c7['class']='ck-button-action',_0x3100c7['on']('execute',()=>{this['fire']('retry');}),_0x3100c7['bind']('isVisible')['to'](this,'errorType',_0x2101bb=>'NotFound'!==_0x2101bb);const _0x4d44d6=new at();_0x4d44d6['content']=et,_0x4d44d6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x298fd1=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':[_0x4d44d6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x298fd1['to']('errorType',_0x3a4272=>t('NotFound'!==_0x3a4272?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3100c7]},{'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 _0x570bce,View as _0x3a6a3d}from'ckeditor5/src/ui.js';export default class ta extends _0x3a6a3d{constructor(_0x57de0e){super(_0x57de0e);const t=_0x57de0e['t'],_0x376a71=this['bindTemplate'],_0x34a678=new _0x570bce();_0x34a678['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':[_0x34a678,{'text':_0x376a71['to']('imageUploadProgress',_0x1ae215=>t('Loading\x20image...')+'\x20('+(_0x1ae215||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 _0x312beb,View as _0x2ddf73}from'ckeditor5/src/ui.js';export default class ta extends _0x2ddf73{constructor(_0x4fa8c4){super(_0x4fa8c4);const t=_0x4fa8c4['t'],_0x1a4d5d=this['bindTemplate'],_0x182a0e=new _0x312beb();_0x182a0e['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':[_0x182a0e,{'text':_0x1a4d5d['to']('imageUploadProgress',_0x3e0cfa=>t('Loading\x20image...')+'\x20('+(_0x3e0cfa||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 _0x35d8b6=_0x4cf1;function _0x471b(){const _0x2d697c=['5107928qNAqdM','_editingView','3189610AXKfsq','add','nodeName','1935052uudsJA','status','fire','_addErrorViewListeners','getFocusableElement','detail','querySelector','toLowerCase','uc-cloud-image-editor','target','4956637QRKqRg','focus','div','_waitForImageEditorComponent','cancel','uploading','disconnect','693252Dpfygo','filter','ck-uploadcare-form','addMany','error','once','clear','cdnUrl','change:status','1yWEnml','_errorView','observe','setTemplate','element','454413aViQKV','ck-reset_all-excluded','_focusableView','_loadingView','_items','addedNodes','ready','229202KalTBj','_addUploadcareImageEditorListeners','set','_setView','length','addEventListener','retry','createCollection','apply','render'];_0x471b=function(){return _0x2d697c;};return _0x471b();}(function(_0x2401b5,_0x202207){const _0x8143f6=_0x4cf1,_0x32da15=_0x2401b5();while(!![]){try{const _0x16d896=-parseInt(_0x8143f6(0x17b))/0x1*(parseInt(_0x8143f6(0x152))/0x2)+parseInt(_0x8143f6(0x180))/0x3+-parseInt(_0x8143f6(0x161))/0x4+-parseInt(_0x8143f6(0x15e))/0x5+parseInt(_0x8143f6(0x172))/0x6+parseInt(_0x8143f6(0x16b))/0x7+parseInt(_0x8143f6(0x15c))/0x8;if(_0x16d896===_0x202207)break;else _0x32da15['push'](_0x32da15['shift']());}catch(_0x1aed71){_0x32da15['push'](_0x32da15['shift']());}}}(_0x471b,0x5c1dd));import{View as _0x585519}from'ckeditor5/src/ui.js';import _0x57260e from'./uploadcareimageeditformloadingview.js';import _0x47b3b0 from'./uploadcareimageeditformerrorview.js';import _0x1ea2e2 from'./uploadcareimageeditformeditingview.js';import _0x1bc3ad from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4cf1(_0x187f10,_0x1da811){const _0x471bce=_0x471b();return _0x4cf1=function(_0x4cf124,_0x2e86c4){_0x4cf124=_0x4cf124-0x151;let _0x2f5308=_0x471bce[_0x4cf124];return _0x2f5308;},_0x4cf1(_0x187f10,_0x1da811);}export default class Z extends _0x1bc3ad{[_0x35d8b6(0x184)];[_0x35d8b6(0x183)];[_0x35d8b6(0x17c)];[_0x35d8b6(0x15d)];[_0x35d8b6(0x182)];constructor(_0x3397c3,_0x2e7c35,_0x1b22e){const _0x300a67=_0x35d8b6;super(_0x3397c3),this[_0x300a67(0x184)]=this[_0x300a67(0x159)](),this[_0x300a67(0x183)]=new _0x57260e(_0x3397c3),this[_0x300a67(0x17c)]=new _0x47b3b0(_0x3397c3),this[_0x300a67(0x15d)]=new _0x1ea2e2(_0x3397c3,_0x1b22e),this[_0x300a67(0x182)]=new _0x585519(_0x3397c3),this[_0x300a67(0x182)][_0x300a67(0x17e)](this[_0x300a67(0x165)]()),this[_0x300a67(0x154)](_0x300a67(0x162),_0x2e7c35),this[_0x300a67(0x17e)]({'tag':_0x300a67(0x16d),'attributes':{'class':['ck',_0x300a67(0x181),_0x300a67(0x174)],'tabindex':'-1'},'children':this[_0x300a67(0x184)]}),this[_0x300a67(0x155)](),this[_0x300a67(0x177)](_0x300a67(0x15b),()=>{const _0x345f3a=_0x300a67;this[_0x345f3a(0x16e)](this[_0x345f3a(0x17f)],_0x10dc8f=>{const _0x1c5981=_0x345f3a;this[_0x1c5981(0x153)](_0x10dc8f);});}),this['on'](_0x300a67(0x17a),()=>{const _0x4c4a96=_0x300a67;this[_0x4c4a96(0x155)]();}),this[_0x300a67(0x164)]();}[_0x35d8b6(0x16c)](){const _0x4a0321=_0x35d8b6;this[_0x4a0321(0x17f)][_0x4a0321(0x16c)]();}[_0x35d8b6(0x155)](){const _0x6cb142=_0x35d8b6;switch(this[_0x6cb142(0x184)][_0x6cb142(0x178)](),this[_0x6cb142(0x162)]){case _0x6cb142(0x170):this[_0x6cb142(0x184)][_0x6cb142(0x15f)](this[_0x6cb142(0x183)]);break;case _0x6cb142(0x176):this[_0x6cb142(0x184)][_0x6cb142(0x15f)](this[_0x6cb142(0x17c)]);break;case _0x6cb142(0x151):this[_0x6cb142(0x184)][_0x6cb142(0x175)]([this[_0x6cb142(0x15d)],this[_0x6cb142(0x182)]]);}}[_0x35d8b6(0x16e)](_0x75626e,_0x3a1089){const _0x48baaa=_0x35d8b6,_0x4eb2ea=_0x48baaa(0x169),_0x1a83a1=_0x75626e[_0x48baaa(0x167)](_0x4eb2ea);if(_0x1a83a1)return _0x3a1089(_0x1a83a1);const _0x196f7b=new MutationObserver(_0x29eb8d=>{const _0x3b119e=_0x48baaa,_0x2b9713=_0x29eb8d[_0x3b119e(0x173)](_0x4e1090=>_0x4e1090[_0x3b119e(0x16a)]===_0x75626e&&_0x4e1090[_0x3b119e(0x185)][_0x3b119e(0x156)]>0x0&&_0x4e1090[_0x3b119e(0x185)][0x0][_0x3b119e(0x160)][_0x3b119e(0x168)]()===_0x4eb2ea);_0x2b9713[_0x3b119e(0x156)]&&(_0x196f7b[_0x3b119e(0x171)](),_0x3a1089(_0x2b9713[0x0][_0x3b119e(0x185)][0x0]));});_0x196f7b[_0x48baaa(0x17d)](_0x75626e,{'childList':!0x0,'subtree':!0x0});}[_0x35d8b6(0x153)](_0x519e68){const _0x49a210=_0x35d8b6;_0x519e68[_0x49a210(0x157)](_0x49a210(0x15a),_0x3aa602=>{const _0x5e447a=_0x49a210;this[_0x5e447a(0x163)](_0x5e447a(0x15a),{'imageSrc':_0x3aa602[_0x5e447a(0x166)][_0x5e447a(0x179)]});}),_0x519e68[_0x49a210(0x157)](_0x49a210(0x16f),()=>{const _0x302cd6=_0x49a210;this[_0x302cd6(0x163)](_0x302cd6(0x16f));});}[_0x35d8b6(0x164)](){const _0x32f465=_0x35d8b6;this[_0x32f465(0x17c)]['on'](_0x32f465(0x158),()=>{const _0x5e9cee=_0x32f465;this[_0x5e9cee(0x163)](_0x5e9cee(0x158));});}}
23
+ const _0x1bc129=_0x5db5;(function(_0x303f4d,_0x52cf47){const _0x558436=_0x5db5,_0x5aa967=_0x303f4d();while(!![]){try{const _0x1b0e5b=-parseInt(_0x558436(0xc5))/0x1*(parseInt(_0x558436(0xc4))/0x2)+-parseInt(_0x558436(0xcb))/0x3+parseInt(_0x558436(0xdb))/0x4+parseInt(_0x558436(0xdc))/0x5+parseInt(_0x558436(0xb2))/0x6*(parseInt(_0x558436(0xaa))/0x7)+parseInt(_0x558436(0xd3))/0x8*(-parseInt(_0x558436(0xd1))/0x9)+-parseInt(_0x558436(0xb4))/0xa*(-parseInt(_0x558436(0xbe))/0xb);if(_0x1b0e5b===_0x52cf47)break;else _0x5aa967['push'](_0x5aa967['shift']());}catch(_0x4136df){_0x5aa967['push'](_0x5aa967['shift']());}}}(_0x2289,0x9393e));import{View as _0x43cee5}from'ckeditor5/src/ui.js';import _0x7154f8 from'./uploadcareimageeditformloadingview.js';function _0x5db5(_0x329026,_0x3911e1){const _0x228914=_0x2289();return _0x5db5=function(_0x5db56b,_0x5dcafa){_0x5db56b=_0x5db56b-0xa5;let _0x12ddc7=_0x228914[_0x5db56b];return _0x12ddc7;},_0x5db5(_0x329026,_0x3911e1);}import _0x55baa2 from'./uploadcareimageeditformerrorview.js';import _0x288098 from'./uploadcareimageeditformeditingview.js';import _0xe5bf02 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2289(){const _0xdb959f=['target','ck-uploadcare-form','_setView','disconnect','addEventListener','observe','4222559hRgqxF','element','uploading','focus','ready','_items','413778CoyWKU','5UyTZDb','retry','_addUploadcareImageEditorListeners','render','change:status','error','803802vJvdif','_loadingView','querySelector','_errorView','setTemplate','_focusableView','36vIbGFC','createCollection','552584SJmtbl','length','addedNodes','addMany','ck-reset_all-excluded','once','detail','fire','2183208skPSXc','2023280udTeSG','status','_editingView','uc-cloud-image-editor','nodeName','cancel','609IkYqvF','_waitForImageEditorComponent','div','getFocusableElement','set','_addErrorViewListeners','apply','cdnUrl','5592pEEzUR','filter','30ONWhdk','add','toLowerCase','clear'];_0x2289=function(){return _0xdb959f;};return _0x2289();}export default class Z extends _0xe5bf02{[_0x1bc129(0xc3)];[_0x1bc129(0xcc)];[_0x1bc129(0xce)];[_0x1bc129(0xa6)];[_0x1bc129(0xd0)];constructor(_0x29d14d,_0x37c781,_0x3e10ad){const _0x202fd9=_0x1bc129;super(_0x29d14d),this[_0x202fd9(0xc3)]=this[_0x202fd9(0xd2)](),this[_0x202fd9(0xcc)]=new _0x7154f8(_0x29d14d),this[_0x202fd9(0xce)]=new _0x55baa2(_0x29d14d),this[_0x202fd9(0xa6)]=new _0x288098(_0x29d14d,_0x3e10ad),this[_0x202fd9(0xd0)]=new _0x43cee5(_0x29d14d),this[_0x202fd9(0xd0)][_0x202fd9(0xcf)](this[_0x202fd9(0xad)]()),this[_0x202fd9(0xae)](_0x202fd9(0xa5),_0x37c781),this[_0x202fd9(0xcf)]({'tag':_0x202fd9(0xac),'attributes':{'class':['ck',_0x202fd9(0xd7),_0x202fd9(0xb9)],'tabindex':'-1'},'children':this[_0x202fd9(0xc3)]}),this[_0x202fd9(0xba)](),this[_0x202fd9(0xd8)](_0x202fd9(0xc8),()=>{const _0x428cb9=_0x202fd9;this[_0x428cb9(0xab)](this[_0x428cb9(0xbf)],_0x36f33c=>{const _0x5e43bb=_0x428cb9;this[_0x5e43bb(0xc7)](_0x36f33c);});}),this['on'](_0x202fd9(0xc9),()=>{const _0x40581a=_0x202fd9;this[_0x40581a(0xba)]();}),this[_0x202fd9(0xaf)]();}[_0x1bc129(0xc1)](){const _0x1e9c9d=_0x1bc129;this[_0x1e9c9d(0xbf)][_0x1e9c9d(0xc1)]();}[_0x1bc129(0xba)](){const _0x49fdaa=_0x1bc129;switch(this[_0x49fdaa(0xc3)][_0x49fdaa(0xb7)](),this[_0x49fdaa(0xa5)]){case _0x49fdaa(0xc0):this[_0x49fdaa(0xc3)][_0x49fdaa(0xb5)](this[_0x49fdaa(0xcc)]);break;case _0x49fdaa(0xca):this[_0x49fdaa(0xc3)][_0x49fdaa(0xb5)](this[_0x49fdaa(0xce)]);break;case _0x49fdaa(0xc2):this[_0x49fdaa(0xc3)][_0x49fdaa(0xd6)]([this[_0x49fdaa(0xa6)],this[_0x49fdaa(0xd0)]]);}}[_0x1bc129(0xab)](_0x15a795,_0x4577bd){const _0x53b2bb=_0x1bc129,_0x54260a=_0x53b2bb(0xa7),_0x46ac75=_0x15a795[_0x53b2bb(0xcd)](_0x54260a);if(_0x46ac75)return _0x4577bd(_0x46ac75);const _0x4b47f7=new MutationObserver(_0x212bbb=>{const _0x2dbf4b=_0x53b2bb,_0x16f88b=_0x212bbb[_0x2dbf4b(0xb3)](_0x1939de=>_0x1939de[_0x2dbf4b(0xb8)]===_0x15a795&&_0x1939de[_0x2dbf4b(0xd5)][_0x2dbf4b(0xd4)]>0x0&&_0x1939de[_0x2dbf4b(0xd5)][0x0][_0x2dbf4b(0xa8)][_0x2dbf4b(0xb6)]()===_0x54260a);_0x16f88b[_0x2dbf4b(0xd4)]&&(_0x4b47f7[_0x2dbf4b(0xbb)](),_0x4577bd(_0x16f88b[0x0][_0x2dbf4b(0xd5)][0x0]));});_0x4b47f7[_0x53b2bb(0xbd)](_0x15a795,{'childList':!0x0,'subtree':!0x0});}[_0x1bc129(0xc7)](_0x3a328f){const _0x3a0991=_0x1bc129;_0x3a328f[_0x3a0991(0xbc)](_0x3a0991(0xb0),_0x5e4159=>{const _0xcccce8=_0x3a0991;this[_0xcccce8(0xda)](_0xcccce8(0xb0),{'imageSrc':_0x5e4159[_0xcccce8(0xd9)][_0xcccce8(0xb1)]});}),_0x3a328f[_0x3a0991(0xbc)](_0x3a0991(0xa9),()=>{const _0x36eaa5=_0x3a0991;this[_0x36eaa5(0xda)](_0x36eaa5(0xa9));});}[_0x1bc129(0xaf)](){const _0x32a1fd=_0x1bc129;this[_0x32a1fd(0xce)]['on'](_0x32a1fd(0xc6),()=>{const _0x2beb53=_0x32a1fd;this[_0x2beb53(0xda)](_0x2beb53(0xc6));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x128991=_0x11a1;(function(_0xd3f7c2,_0x457452){const _0x7da2f8=_0x11a1,_0x42477d=_0xd3f7c2();while(!![]){try{const _0x20e290=parseInt(_0x7da2f8(0xb5))/0x1+parseInt(_0x7da2f8(0xb6))/0x2+parseInt(_0x7da2f8(0xa8))/0x3*(-parseInt(_0x7da2f8(0xa9))/0x4)+-parseInt(_0x7da2f8(0xbe))/0x5+parseInt(_0x7da2f8(0xb3))/0x6+parseInt(_0x7da2f8(0xa2))/0x7+-parseInt(_0x7da2f8(0xb2))/0x8*(-parseInt(_0x7da2f8(0xbc))/0x9);if(_0x20e290===_0x457452)break;else _0x42477d['push'](_0x42477d['shift']());}catch(_0x172cc0){_0x42477d['push'](_0x42477d['shift']());}}}(_0x4383,0xb0605));import{Command as _0xb991c4}from'ckeditor5/src/core.js';function _0x11a1(_0x1aed54,_0x4c191c){const _0x43830d=_0x4383();return _0x11a1=function(_0x11a11c,_0x4c6c37){_0x11a11c=_0x11a11c-0xa2;let _0x79dd51=_0x43830d[_0x11a11c];return _0x79dd51;},_0x11a1(_0x1aed54,_0x4c191c);}import{Dialog as _0x54d3d2}from'ckeditor5/src/ui.js';import _0x44ad55 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4d5377}from'../utils/editingutils.js';export default class J extends _0xb991c4{[_0x128991(0xad)];static get[_0x128991(0xa7)](){return[_0x54d3d2];}[_0x128991(0xba)];constructor(_0x2455ca){const _0x982803=_0x128991;super(_0x2455ca),this[_0x982803(0xad)]=void 0x0,this[_0x982803(0xba)]=_0x4d5377(_0x2455ca[_0x982803(0xb7)][_0x982803(0xa4)](_0x982803(0xab))||[]),this[_0x982803(0xac)]({'isActive':!0x1});}[_0x128991(0xbb)](){const _0x1d0e4f=_0x128991,_0x5d8eea=this[_0x1d0e4f(0xb9)][_0x1d0e4f(0xaa)][_0x1d0e4f(0xbd)][_0x1d0e4f(0xb0)][_0x1d0e4f(0xae)]();this[_0x1d0e4f(0xaf)]=this[_0x1d0e4f(0xba)](_0x5d8eea);}[_0x128991(0xa6)](){const _0x42c1ce=_0x128991;this[_0x42c1ce(0xad)]&&(this[_0x42c1ce(0xa3)](_0x42c1ce(0xbf)),this[_0x42c1ce(0xad)]=void 0x0);const _0x4aa209=this[_0x42c1ce(0xb9)][_0x42c1ce(0xaa)][_0x42c1ce(0xbd)][_0x42c1ce(0xb0)][_0x42c1ce(0xae)]();_0x4aa209&&(_0x4aa209['is'](_0x42c1ce(0xb4),_0x42c1ce(0xa5))||_0x4aa209['is'](_0x42c1ce(0xb4),_0x42c1ce(0xb8)))&&(this[_0x42c1ce(0xad)]=new _0x44ad55(this[_0x42c1ce(0xb9)],this[_0x42c1ce(0xb9)][_0x42c1ce(0xb1)][_0x42c1ce(0xa4)](_0x54d3d2),_0x4aa209),this[_0x42c1ce(0xc0)](_0x42c1ce(0xbf))['to'](this[_0x42c1ce(0xad)],_0x42c1ce(0xbf)));}}function _0x4383(){const _0x5d1ca3=['6124517IDtPRk','unbind','get','imageBlock','execute','requires','3bWGgDo','3947448XrnmVZ','model','uploadcare.allowExternalImagesEditing','set','imageEditController','getSelectedElement','isEnabled','selection','plugins','56608OXUvyD','2545500JePQmQ','element','397687DTtNNU','2451138Lrbmze','config','imageInline','editor','_isEditable','refresh','72NfaVwT','document','6348730IJvvYV','isActive','bind'];_0x4383=function(){return _0x5d1ca3;};return _0x4383();}
23
+ function _0x5350(_0xc78a74,_0x2766fa){const _0x42c012=_0x42c0();return _0x5350=function(_0x53506c,_0x470a01){_0x53506c=_0x53506c-0x13a;let _0x17e9a1=_0x42c012[_0x53506c];return _0x17e9a1;},_0x5350(_0xc78a74,_0x2766fa);}function _0x42c0(){const _0x54afb9=['6300445ztwdFv','model','document','imageEditController','uploadcare.allowExternalImagesEditing','isActive','editor','refresh','isEnabled','4PqonPF','getSelectedElement','plugins','2793405RJvdnO','element','346254lZSmIL','8JMPaDY','_isEditable','unbind','execute','get','config','7IesjEn','3645930UlHyoq','3840363BFtJGb','requires','imageBlock','selection','bind','2YhPYJA','set','imageInline','3764695JQjVyl','459219VgrUlk'];_0x42c0=function(){return _0x54afb9;};return _0x42c0();}const _0x55af3b=_0x5350;(function(_0x310f69,_0x2625e5){const _0x43b19f=_0x5350,_0x47908d=_0x310f69();while(!![]){try{const _0x4dd64a=-parseInt(_0x43b19f(0x145))/0x1*(-parseInt(_0x43b19f(0x141))/0x2)+-parseInt(_0x43b19f(0x152))/0x3*(-parseInt(_0x43b19f(0x14f))/0x4)+-parseInt(_0x43b19f(0x146))/0x5+parseInt(_0x43b19f(0x154))/0x6*(parseInt(_0x43b19f(0x13a))/0x7)+parseInt(_0x43b19f(0x155))/0x8*(parseInt(_0x43b19f(0x13c))/0x9)+parseInt(_0x43b19f(0x13b))/0xa+-parseInt(_0x43b19f(0x144))/0xb;if(_0x4dd64a===_0x2625e5)break;else _0x47908d['push'](_0x47908d['shift']());}catch(_0x169461){_0x47908d['push'](_0x47908d['shift']());}}}(_0x42c0,0x9b865));import{Command as _0x1f6420}from'ckeditor5/src/core.js';import{Dialog as _0x1d4a59}from'ckeditor5/src/ui.js';import _0x1a5d25 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x406376}from'../utils/editingutils.js';export default class J extends _0x1f6420{[_0x55af3b(0x149)];static get[_0x55af3b(0x13d)](){return[_0x1d4a59];}[_0x55af3b(0x156)];constructor(_0x54bb93){const _0x2251ce=_0x55af3b;super(_0x54bb93),this[_0x2251ce(0x149)]=void 0x0,this[_0x2251ce(0x156)]=_0x406376(_0x54bb93[_0x2251ce(0x15a)][_0x2251ce(0x159)](_0x2251ce(0x14a))||[]),this[_0x2251ce(0x142)]({'isActive':!0x1});}[_0x55af3b(0x14d)](){const _0x1fb26f=_0x55af3b,_0x434416=this[_0x1fb26f(0x14c)][_0x1fb26f(0x147)][_0x1fb26f(0x148)][_0x1fb26f(0x13f)][_0x1fb26f(0x150)]();this[_0x1fb26f(0x14e)]=this[_0x1fb26f(0x156)](_0x434416);}[_0x55af3b(0x158)](){const _0x35eb6f=_0x55af3b;this[_0x35eb6f(0x149)]&&(this[_0x35eb6f(0x157)](_0x35eb6f(0x14b)),this[_0x35eb6f(0x149)]=void 0x0);const _0x54bb7b=this[_0x35eb6f(0x14c)][_0x35eb6f(0x147)][_0x35eb6f(0x148)][_0x35eb6f(0x13f)][_0x35eb6f(0x150)]();_0x54bb7b&&(_0x54bb7b['is'](_0x35eb6f(0x153),_0x35eb6f(0x13e))||_0x54bb7b['is'](_0x35eb6f(0x153),_0x35eb6f(0x143)))&&(this[_0x35eb6f(0x149)]=new _0x1a5d25(this[_0x35eb6f(0x14c)],this[_0x35eb6f(0x14c)][_0x35eb6f(0x151)][_0x35eb6f(0x159)](_0x1d4a59),_0x54bb7b),this[_0x35eb6f(0x140)](_0x35eb6f(0x14b))['to'](this[_0x35eb6f(0x149)],_0x35eb6f(0x14b)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1033b8=_0x4898;(function(_0x3aae6f,_0x401ca2){const _0x2a1cd7=_0x4898,_0xe87ce4=_0x3aae6f();while(!![]){try{const _0x3b9d0d=-parseInt(_0x2a1cd7(0x185))/0x1*(parseInt(_0x2a1cd7(0x18c))/0x2)+parseInt(_0x2a1cd7(0x186))/0x3+parseInt(_0x2a1cd7(0x193))/0x4*(-parseInt(_0x2a1cd7(0x191))/0x5)+parseInt(_0x2a1cd7(0x188))/0x6*(-parseInt(_0x2a1cd7(0x18d))/0x7)+-parseInt(_0x2a1cd7(0x17b))/0x8*(-parseInt(_0x2a1cd7(0x18b))/0x9)+parseInt(_0x2a1cd7(0x189))/0xa*(-parseInt(_0x2a1cd7(0x17d))/0xb)+-parseInt(_0x2a1cd7(0x18e))/0xc*(-parseInt(_0x2a1cd7(0x182))/0xd);if(_0x3b9d0d===_0x401ca2)break;else _0xe87ce4['push'](_0xe87ce4['shift']());}catch(_0x47380a){_0xe87ce4['push'](_0xe87ce4['shift']());}}}(_0x3489,0x51234));import{Plugin as _0x294cd6}from'ckeditor5/src/core.js';function _0x4898(_0x529328,_0x4850d7){const _0x3489cd=_0x3489();return _0x4898=function(_0x489889,_0xed1c0c){_0x489889=_0x489889-0x17b;let _0x4d6a75=_0x3489cd[_0x489889];return _0x4d6a75;},_0x4898(_0x529328,_0x4850d7);}import{Notification as _0x2b8725}from'ckeditor5/src/ui.js';import _0x3b487f from'./uploadcareimageeditcommand.js';function _0x3489(){const _0x100676=['uploadcareImageReplace','ImageUtils','91bLIjPH','ImageEditing','pluginName','3ngFnLv','364539wgxMjy','isPremiumPlugin','241782yvmRVs','770FvoTeX','requires','3586104bOVeZD','234008bfirzj','63wRCHic','1911264vAnLwb','isOfficialPlugin','UploadcareImageEditEditing','9195afRKnj','init','1048swqweg','8IdXpWy','uploadcareImageEdit','15290SPxTpJ','add','commands'];_0x3489=function(){return _0x100676;};return _0x3489();}import _0x2b0834 from'./uploadcareimagereplacecommand.js';import _0xcacfc1 from'../uploadcareediting.js';export default class g extends _0x294cd6{static get[_0x1033b8(0x184)](){const _0x90435=_0x1033b8;return _0x90435(0x190);}static get[_0x1033b8(0x18a)](){const _0x3ad054=_0x1033b8;return[_0xcacfc1,_0x2b8725,_0x3ad054(0x181),_0x3ad054(0x183)];}static get[_0x1033b8(0x18f)](){return!0x0;}static get[_0x1033b8(0x187)](){return!0x0;}[_0x1033b8(0x192)](){const _0x39ab9f=_0x1033b8,{editor:_0x4ffc05}=this;_0x4ffc05[_0x39ab9f(0x17f)][_0x39ab9f(0x17e)](_0x39ab9f(0x17c),new _0x3b487f(_0x4ffc05)),_0x4ffc05[_0x39ab9f(0x17f)][_0x39ab9f(0x17e)](_0x39ab9f(0x180),new _0x2b0834(_0x4ffc05));}}
23
+ const _0x42b8f4=_0x1fdf;(function(_0x306bd1,_0x1c2dd9){const _0x4a0f86=_0x1fdf,_0x5a8b01=_0x306bd1();while(!![]){try{const _0x31b3ee=-parseInt(_0x4a0f86(0xe3))/0x1+parseInt(_0x4a0f86(0xe1))/0x2*(parseInt(_0x4a0f86(0xef))/0x3)+parseInt(_0x4a0f86(0xe2))/0x4*(parseInt(_0x4a0f86(0xdf))/0x5)+-parseInt(_0x4a0f86(0xed))/0x6+-parseInt(_0x4a0f86(0xe7))/0x7*(-parseInt(_0x4a0f86(0xe5))/0x8)+-parseInt(_0x4a0f86(0xf0))/0x9+parseInt(_0x4a0f86(0xea))/0xa*(parseInt(_0x4a0f86(0xeb))/0xb);if(_0x31b3ee===_0x1c2dd9)break;else _0x5a8b01['push'](_0x5a8b01['shift']());}catch(_0x107d9c){_0x5a8b01['push'](_0x5a8b01['shift']());}}}(_0x48c6,0xa829f));import{Plugin as _0x4d2771}from'ckeditor5/src/core.js';import{Notification as _0x572977}from'ckeditor5/src/ui.js';import _0x3ba2dc from'./uploadcareimageeditcommand.js';function _0x48c6(){const _0xd74806=['init','12910AYXVTK','116692svSSwj','996388KjRSfl','requires','8ykRZXE','ImageUtils','1612163lYzvbE','ImageEditing','UploadcareImageEditEditing','10IXlyok','6433735KEkIkM','commands','346728tVJzor','pluginName','132qwmMrX','244962tayAFO','add','isPremiumPlugin','uploadcareImageReplace','uploadcareImageEdit','isOfficialPlugin','115GfWMDB'];_0x48c6=function(){return _0xd74806;};return _0x48c6();}import _0x3a7c07 from'./uploadcareimagereplacecommand.js';import _0x538bdf from'../uploadcareediting.js';function _0x1fdf(_0x2a7423,_0x491fb7){const _0x48c689=_0x48c6();return _0x1fdf=function(_0x1fdf92,_0x4390ad){_0x1fdf92=_0x1fdf92-0xda;let _0x44dc70=_0x48c689[_0x1fdf92];return _0x44dc70;},_0x1fdf(_0x2a7423,_0x491fb7);}export default class g extends _0x4d2771{static get[_0x42b8f4(0xee)](){const _0x51a069=_0x42b8f4;return _0x51a069(0xe9);}static get[_0x42b8f4(0xe4)](){const _0x1edafa=_0x42b8f4;return[_0x538bdf,_0x572977,_0x1edafa(0xe6),_0x1edafa(0xe8)];}static get[_0x42b8f4(0xde)](){return!0x0;}static get[_0x42b8f4(0xdb)](){return!0x0;}[_0x42b8f4(0xe0)](){const _0x33115f=_0x42b8f4,{editor:_0x37d35d}=this;_0x37d35d[_0x33115f(0xec)][_0x33115f(0xda)](_0x33115f(0xdd),new _0x3ba2dc(_0x37d35d)),_0x37d35d[_0x33115f(0xec)][_0x33115f(0xda)](_0x33115f(0xdc),new _0x3a7c07(_0x37d35d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x239025}from'ckeditor5/src/core.js';import{ButtonView as _0x49dc07}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23d35f}from'ckeditor5/src/icons.js';import{createElement as _0x112b95}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x239025{['_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 _0x1b233d=this['editor'];_0x1b233d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dfc2c=>{const _0x3d619b=_0x1b233d['commands']['get']('uploadcareImageEdit'),_0x1204d8=new _0x49dc07(_0x4dfc2c),t=_0x4dfc2c['t'];return _0x1204d8['set']({'icon':_0x23d35f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1204d8['bind']('isEnabled')['to'](_0x3d619b),_0x1204d8['bind']('isOn')['to'](_0x3d619b,'isActive'),this['listenTo'](_0x1204d8,'execute',()=>{_0x1b233d['execute']('uploadcareImageEdit'),_0x1b233d['editing']['view']['focus']();}),_0x1204d8;}),this['_initConfig']();}['_initConfig'](){const _0x5d3440=_0x112b95(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d3440),this['listenTo'](this['editor'],'destroy',()=>{_0x5d3440['remove']();});}}
23
+ import{Plugin as _0x522241}from'ckeditor5/src/core.js';import{ButtonView as _0x21770b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x49c9f7}from'ckeditor5/src/icons.js';import{createElement as _0x2cca9c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x522241{['_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 _0x4ca6e3=this['editor'];_0x4ca6e3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x550af0=>{const _0x1c83d4=_0x4ca6e3['commands']['get']('uploadcareImageEdit'),_0x1f734f=new _0x21770b(_0x550af0),t=_0x550af0['t'];return _0x1f734f['set']({'icon':_0x49c9f7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f734f['bind']('isEnabled')['to'](_0x1c83d4),_0x1f734f['bind']('isOn')['to'](_0x1c83d4,'isActive'),this['listenTo'](_0x1f734f,'execute',()=>{_0x4ca6e3['execute']('uploadcareImageEdit'),_0x4ca6e3['editing']['view']['focus']();}),_0x1f734f;}),this['_initConfig']();}['_initConfig'](){const _0x2afddf=_0x2cca9c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2afddf),this['listenTo'](this['editor'],'destroy',()=>{_0x2afddf['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf769c4=_0x4d46;function _0x4d46(_0x1035a9,_0x4c154b){const _0x119188=_0x1191();return _0x4d46=function(_0x4d46c9,_0x3c1d80){_0x4d46c9=_0x4d46c9-0x152;let _0x163f97=_0x119188[_0x4d46c9];return _0x163f97;},_0x4d46(_0x1035a9,_0x4c154b);}function _0x1191(){const _0x376688=['9EKXBKP','3677656tutuaZ','editor','execute','isEnabled','220EWpMKX','element','133jvFgWd','84PgcRRS','removeAttribute','imageInline','refresh','model','7732350HPNnVF','216744punyHG','imageBlock','srcset','190WcmBqQ','sizes','179028ioYohZ','setAttributes','document','3426WvnonU','change','10533mnuKKI','getSelectedElement','1019190zGGcJU','selection'];_0x1191=function(){return _0x376688;};return _0x1191();}(function(_0x35b423,_0x59f868){const _0x496096=_0x4d46,_0x21ce07=_0x35b423();while(!![]){try{const _0x4fba72=parseInt(_0x496096(0x16b))/0x1*(-parseInt(_0x496096(0x166))/0x2)+parseInt(_0x496096(0x16d))/0x3*(parseInt(_0x496096(0x15a))/0x4)+-parseInt(_0x496096(0x153))/0x5+-parseInt(_0x496096(0x168))/0x6*(-parseInt(_0x496096(0x15c))/0x7)+parseInt(_0x496096(0x156))/0x8*(-parseInt(_0x496096(0x155))/0x9)+parseInt(_0x496096(0x162))/0xa+parseInt(_0x496096(0x163))/0xb*(-parseInt(_0x496096(0x15d))/0xc);if(_0x4fba72===_0x59f868)break;else _0x21ce07['push'](_0x21ce07['shift']());}catch(_0xb1203c){_0x21ce07['push'](_0x21ce07['shift']());}}}(_0x1191,0x6332f));import{Command as _0x4aa7da}from'ckeditor5/src/core.js';export default class O extends _0x4aa7da{[_0xf769c4(0x160)](){const _0x2275b2=_0xf769c4,_0x1ec970=this[_0x2275b2(0x157)][_0x2275b2(0x161)][_0x2275b2(0x16a)][_0x2275b2(0x154)][_0x2275b2(0x152)]();this[_0x2275b2(0x159)]=Boolean(_0x1ec970&&(_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x164))||_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x15f))));}[_0xf769c4(0x158)](_0x55c1e1){const _0x1f0a14=_0xf769c4,_0x525fd3=this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16a)][_0x1f0a14(0x154)][_0x1f0a14(0x152)]();this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16c)](_0x225993=>{const _0x577d1a=_0x1f0a14;_0x225993[_0x577d1a(0x169)](_0x55c1e1,_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x165),_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x167),_0x525fd3);});}}
23
+ const _0x522e91=_0x5817;function _0x5817(_0x361be0,_0x870e3b){const _0x3dd6f2=_0x3dd6();return _0x5817=function(_0x581768,_0x3f3f35){_0x581768=_0x581768-0x7c;let _0x5efd66=_0x3dd6f2[_0x581768];return _0x5efd66;},_0x5817(_0x361be0,_0x870e3b);}function _0x3dd6(){const _0x32d1aa=['1259040ywDHNO','23896wRjqls','setAttributes','model','refresh','imageInline','element','307137UsmpMd','2544549NfsGBl','637726drCFfU','srcset','isEnabled','sizes','selection','execute','change','imageBlock','getSelectedElement','removeAttribute','606580aYYhlQ','editor','690275Cybnhl','document'];_0x3dd6=function(){return _0x32d1aa;};return _0x3dd6();}(function(_0x2aed48,_0x5630bc){const _0x57fb6a=_0x5817,_0x276a6f=_0x2aed48();while(!![]){try{const _0x4afeed=parseInt(_0x57fb6a(0x86))/0x1+-parseInt(_0x57fb6a(0x8e))/0x2+-parseInt(_0x57fb6a(0x8c))/0x3+-parseInt(_0x57fb6a(0x81))/0x4+parseInt(_0x57fb6a(0x83))/0x5+parseInt(_0x57fb6a(0x85))/0x6+parseInt(_0x57fb6a(0x8d))/0x7;if(_0x4afeed===_0x5630bc)break;else _0x276a6f['push'](_0x276a6f['shift']());}catch(_0x250171){_0x276a6f['push'](_0x276a6f['shift']());}}}(_0x3dd6,0x27a6b));import{Command as _0x148717}from'ckeditor5/src/core.js';export default class O extends _0x148717{[_0x522e91(0x89)](){const _0x5f4d56=_0x522e91,_0x4a977b=this[_0x5f4d56(0x82)][_0x5f4d56(0x88)][_0x5f4d56(0x84)][_0x5f4d56(0x92)][_0x5f4d56(0x7f)]();this[_0x5f4d56(0x90)]=Boolean(_0x4a977b&&(_0x4a977b['is'](_0x5f4d56(0x8b),_0x5f4d56(0x7e))||_0x4a977b['is'](_0x5f4d56(0x8b),_0x5f4d56(0x8a))));}[_0x522e91(0x7c)](_0x1d1eb8){const _0x1f519a=_0x522e91,_0x1347f8=this[_0x1f519a(0x82)][_0x1f519a(0x88)][_0x1f519a(0x84)][_0x1f519a(0x92)][_0x1f519a(0x7f)]();this[_0x1f519a(0x82)][_0x1f519a(0x88)][_0x1f519a(0x7d)](_0x233c8d=>{const _0x3499fc=_0x1f519a;_0x233c8d[_0x3499fc(0x87)](_0x1d1eb8,_0x1347f8),_0x233c8d[_0x3499fc(0x80)](_0x3499fc(0x8f),_0x1347f8),_0x233c8d[_0x3499fc(0x80)](_0x3499fc(0x91),_0x1347f8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1203e7=_0x3ba3;(function(_0x1e9e33,_0x24b0f2){var _0x21ad13=_0x3ba3,_0x19695f=_0x1e9e33();while(!![]){try{var _0x4fa57f=parseInt(_0x21ad13(0xf7))/0x1+parseInt(_0x21ad13(0xee))/0x2*(parseInt(_0x21ad13(0xf3))/0x3)+-parseInt(_0x21ad13(0xf5))/0x4+parseInt(_0x21ad13(0xf1))/0x5*(parseInt(_0x21ad13(0xf9))/0x6)+parseInt(_0x21ad13(0xef))/0x7*(-parseInt(_0x21ad13(0xf2))/0x8)+-parseInt(_0x21ad13(0xf4))/0x9+parseInt(_0x21ad13(0xf8))/0xa;if(_0x4fa57f===_0x24b0f2)break;else _0x19695f['push'](_0x19695f['shift']());}catch(_0x5a7ca9){_0x19695f['push'](_0x19695f['shift']());}}}(_0x5307,0xdb63a));import{Plugin as _0x9f3ec}from'ckeditor5/src/core.js';function _0x5307(){var _0x1cd88f=['5021668rDyoce','requires','546764RYIkUA','16783660drfSLA','666060CQYNzW','pluginName','isPremiumPlugin','UploadcareImageEdit','2TVnMxa','287tGbAYW','isOfficialPlugin','15pTotrz','221032sHkPcq','4598928JYWcjU','7238808PbZeZz'];_0x5307=function(){return _0x1cd88f;};return _0x5307();}function _0x3ba3(_0x3cefb6,_0x50eb04){var _0x53079a=_0x5307();return _0x3ba3=function(_0x3ba384,_0x3cec5f){_0x3ba384=_0x3ba384-0xee;var _0xd75973=_0x53079a[_0x3ba384];return _0xd75973;},_0x3ba3(_0x3cefb6,_0x50eb04);}import _0x4f5427 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xbfd27a from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x9f3ec{static get[_0x1203e7(0xfa)](){var _0x3848c0=_0x1203e7;return _0x3848c0(0xfc);}static get[_0x1203e7(0xf6)](){return[_0x4f5427,_0xbfd27a];}static get[_0x1203e7(0xf0)](){return!0x0;}static get[_0x1203e7(0xfb)](){return!0x0;}}
23
+ var _0xe10326=_0x4d37;(function(_0x4f4bcf,_0x3c563d){var _0xba1fb2=_0x4d37,_0x30f907=_0x4f4bcf();while(!![]){try{var _0x35372e=-parseInt(_0xba1fb2(0x15e))/0x1+-parseInt(_0xba1fb2(0x168))/0x2*(parseInt(_0xba1fb2(0x163))/0x3)+parseInt(_0xba1fb2(0x166))/0x4+parseInt(_0xba1fb2(0x162))/0x5*(-parseInt(_0xba1fb2(0x161))/0x6)+parseInt(_0xba1fb2(0x16a))/0x7*(-parseInt(_0xba1fb2(0x169))/0x8)+parseInt(_0xba1fb2(0x167))/0x9+-parseInt(_0xba1fb2(0x16d))/0xa*(-parseInt(_0xba1fb2(0x160))/0xb);if(_0x35372e===_0x3c563d)break;else _0x30f907['push'](_0x30f907['shift']());}catch(_0x3475a1){_0x30f907['push'](_0x30f907['shift']());}}}(_0x2ba7,0x91f9c));import{Plugin as _0x43d8cc}from'ckeditor5/src/core.js';import _0x541a4f from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4d37(_0x1944a7,_0x39a861){var _0x2ba729=_0x2ba7();return _0x4d37=function(_0x4d3768,_0x1f858a){_0x4d3768=_0x4d3768-0x15e;var _0x438de4=_0x2ba729[_0x4d3768];return _0x438de4;},_0x4d37(_0x1944a7,_0x39a861);}import _0x158b0b from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2ba7(){var _0x1329cc=['300368iYupUJ','21HPKMaw','pluginName','UploadcareImageEdit','10SusGJS','768740tcsXCQ','isPremiumPlugin','17420403MivCDE','12336HidKWa','395pYpsEo','22140YrQEhR','requires','isOfficialPlugin','66772YtaSIi','8475408OevatU','244VLQWIf'];_0x2ba7=function(){return _0x1329cc;};return _0x2ba7();}export default class P extends _0x43d8cc{static get[_0xe10326(0x16b)](){var _0x4681ed=_0xe10326;return _0x4681ed(0x16c);}static get[_0xe10326(0x164)](){return[_0x541a4f,_0x158b0b];}static get[_0xe10326(0x165)](){return!0x0;}static get[_0xe10326(0x15f)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b288d=_0x1158;(function(_0x3189b3,_0xf1f9fa){const _0x222276=_0x1158,_0x6acc9d=_0x3189b3();while(!![]){try{const _0x5d4622=parseInt(_0x222276(0xae))/0x1*(parseInt(_0x222276(0x94))/0x2)+parseInt(_0x222276(0x80))/0x3+-parseInt(_0x222276(0x9b))/0x4+parseInt(_0x222276(0x9d))/0x5+parseInt(_0x222276(0x91))/0x6*(parseInt(_0x222276(0x86))/0x7)+-parseInt(_0x222276(0x8f))/0x8+parseInt(_0x222276(0xb3))/0x9*(-parseInt(_0x222276(0x89))/0xa);if(_0x5d4622===_0xf1f9fa)break;else _0x6acc9d['push'](_0x6acc9d['shift']());}catch(_0x5b6673){_0x6acc9d['push'](_0x6acc9d['shift']());}}}(_0x4440,0x6a208));import{Plugin as _0x335036}from'ckeditor5/src/core.js';import{IconDropbox as _0x2b3600,IconFacebook as _0x26be96,IconGoogleDrive as _0x18066f,IconGooglePhotos as _0x23b112,IconUploadcareImageUpload as _0x323611,IconUploadcareLink as _0x4b5abc,IconOneDrive as _0x49436d}from'ckeditor5/src/icons.js';import{ButtonView as _0x213871,MenuBarMenuListItemButtonView as _0x1b3ee3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x466890}from'./uploadcareconfig.js';function _0x4440(){const _0x24ab50=['UploadcareUI','upload','_createMenuBarButtons','forEach','_licenseKeyCheckInterval','_showLicenseError','invalid','uploadcareLicenseKeyUsageLimit','featureNotAllowed','_normalizeConfigSourceList','bind','destroy','Replace','text','isOfficialPlugin','Facebook','entries','pluginName','_createToolbarButton','domainLimit','licenseKey','2181096wBfDOn','plugins','config','assetManager','uploadcareLicenseKeyExpired','get','21eEyENs','_getIntegrationKey','afterInit','10lVoSiU','label','editor','uploadcareLicenseKeyDomainLimit','locale','init','538992ABQVRb','Uploadcare','654294Xmxthv','_createButton','GPhotos','2YoYBmH','has','isEnabled','URL','uploadcare.uploader.sourceList','usageLimit','Insert','2624324aLdJoS','Local','15480bFzieu','map','icon','expired','shortText','isPremiumPlugin','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyValid','OneDrive','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','commands','trialLimit','ImageInsertUI','execute','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','526253KnISVu','push','evaluationLimit','reduce','tooltip','3828393EAfyTy','uploadcare','registerIntegration','url','type','GDrive','Dropbox','withText','isImageSelected'];_0x4440=function(){return _0x24ab50;};return _0x4440();}import{getTranslation as _0x403fe9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x1158(_0xe13b60,_0x429879){const _0x4440c2=_0x4440();return _0x1158=function(_0x1158ed,_0x235508){_0x1158ed=_0x1158ed-0x74;let _0xe78e42=_0x4440c2[_0x1158ed];return _0xe78e42;},_0x1158(_0xe13b60,_0x429879);}export default class e extends _0x335036{[_0x1b288d(0x7f)];[_0x1b288d(0xc0)];static get[_0x1b288d(0x7c)](){const _0x3b23ac=_0x1b288d;return _0x3b23ac(0xbc);}static get[_0x1b288d(0x79)](){return!0x0;}static get[_0x1b288d(0xa2)](){return!0x0;}[_0x1b288d(0x8e)](){const _0xba2922=_0x1b288d;this[_0xba2922(0x7f)]=this[_0xba2922(0x8b)][_0xba2922(0x82)][_0xba2922(0x85)](_0xba2922(0x7f));const _0x537943=this[_0xba2922(0x8b)];this[_0xba2922(0xc0)]=setInterval(()=>{const _0x16cf74=_0xba2922;let _0x2f17c0;for(const _0x47200e in _0x537943){const _0x3e77dc=_0x47200e,_0x4b2417=_0x537943[_0x3e77dc];if(_0x16cf74(0xa4)==_0x4b2417||_0x16cf74(0xa6)==_0x4b2417||_0x16cf74(0x84)==_0x4b2417||_0x16cf74(0x8c)==_0x4b2417||_0x16cf74(0xa3)==_0x4b2417||_0x16cf74(0xa7)==_0x4b2417||_0x16cf74(0xad)==_0x4b2417||_0x16cf74(0xc3)==_0x4b2417){delete _0x537943[_0x3e77dc],_0x2f17c0=_0x4b2417,clearInterval(this[_0x16cf74(0xc0)]),this[_0x16cf74(0xc0)]=void 0x0;break;}}_0x16cf74(0xa6)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc2)),_0x16cf74(0x84)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa0)),_0x16cf74(0x8c)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x7e)),_0x16cf74(0xa3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc4),_0x16cf74(0x90)),_0x16cf74(0xa7)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xb0)),_0x16cf74(0xad)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa9)),_0x16cf74(0xc3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x99));},0x3e8);}[_0x1b288d(0x88)](){const _0x139340=_0x1b288d,{editor:_0x14314e}=this,_0x1adbb1=_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4));if(!_0x1adbb1)return;const _0x2542cb=this[_0x139340(0x74)](_0x14314e[_0x139340(0x82)][_0x139340(0x85)](_0x139340(0x98)))[_0x139340(0xb1)]((_0x1a17f6,_0xaf327e)=>{const _0x25e6ee=_0x139340,_0x3fba52=this[_0x25e6ee(0x87)](_0xaf327e[_0x25e6ee(0xb7)]);return _0x1a17f6[_0x3fba52]||(_0x1a17f6[_0x3fba52]=[]),_0x1a17f6[_0x3fba52][_0x25e6ee(0xaf)](_0xaf327e),_0x1a17f6;},{});_0x14314e[_0x139340(0x81)][_0x139340(0x95)](_0x139340(0xaa))&&_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4))&&Object[_0x139340(0x7b)](_0x2542cb)[_0x139340(0xbf)](([_0xf52922,_0x641f0e])=>{const _0x1c4bf5=_0x139340;_0x14314e[_0x1c4bf5(0x81)][_0x1c4bf5(0x85)](_0x1c4bf5(0xaa))[_0x1c4bf5(0xb5)]({'name':_0xf52922,'observable':()=>_0x1adbb1,'buttonViewCreator':()=>this[_0x1c4bf5(0x7d)](_0x641f0e),'formViewCreator':()=>this[_0x1c4bf5(0xac)](_0x641f0e),'menuBarButtonViewCreator':()=>this[_0x1c4bf5(0xbe)](_0x641f0e),'override':_0x1c4bf5(0x83)!==_0xf52922});});}[_0x1b288d(0x76)](){const _0x2d2630=_0x1b288d;super[_0x2d2630(0x76)](),this[_0x2d2630(0xc0)]&&clearInterval(this[_0x2d2630(0xc0)]);}[_0x1b288d(0x74)](_0x5408db){const _0x4f5624=_0x1b288d,{locale:_0x50d5a6}=this[_0x4f5624(0x8b)];return _0x5408db[_0x4f5624(0x9e)](_0x3c0263=>{const _0x10b602=_0x4f5624,_0x5158a8=_0x403fe9(_0x50d5a6,_0x3c0263,_0x10b602(0x9a));switch(_0x3c0263){case _0x466890[_0x10b602(0x9c)]:return{'icon':_0x323611,'type':_0x466890[_0x10b602(0x9c)],..._0x5158a8};case _0x466890[_0x10b602(0x97)]:return{'icon':_0x4b5abc,'type':_0x466890[_0x10b602(0x97)],..._0x5158a8};case _0x466890[_0x10b602(0xb9)]:return{'icon':_0x2b3600,'type':_0x466890[_0x10b602(0xb9)],..._0x5158a8};case _0x466890[_0x10b602(0x7a)]:return{'icon':_0x26be96,'type':_0x466890[_0x10b602(0x7a)],..._0x5158a8};case _0x466890[_0x10b602(0xb8)]:return{'icon':_0x18066f,'type':_0x466890[_0x10b602(0xb8)],..._0x5158a8};case _0x466890[_0x10b602(0x93)]:return{'icon':_0x23b112,'type':_0x466890[_0x10b602(0x93)],..._0x5158a8};case _0x466890[_0x10b602(0xa5)]:return{'icon':_0x49436d,'type':_0x466890[_0x10b602(0xa5)],..._0x5158a8};}});}[_0x1b288d(0x87)](_0xa0ae9c){const _0xe21303=_0x1b288d;switch(_0xa0ae9c){case _0x466890[_0xe21303(0x9c)]:return _0xe21303(0xbd);case _0x466890[_0xe21303(0x97)]:return _0xe21303(0xb6);default:return _0xe21303(0x83);}}[_0x1b288d(0x92)](_0x6691ed,_0x28dff4){const _0x294963=_0x1b288d,_0x15dfab=this[_0x294963(0x8b)],_0xd01e90=new _0x6691ed(_0x15dfab[_0x294963(0x8d)]),_0x13e131=_0x15dfab[_0x294963(0xa8)][_0x294963(0x85)](_0x294963(0xb4));return _0xd01e90[_0x294963(0x75)](_0x294963(0x96))['to'](_0x13e131),_0xd01e90['on'](_0x294963(0xab),()=>{const _0x4da665=_0x294963;_0x13e131[_0x4da665(0xab)](_0x28dff4);}),_0xd01e90;}[_0x1b288d(0x7d)](_0x506df9){const _0x39c87c=_0x1b288d,{locale:_0x8cf9bc}=this[_0x39c87c(0x8b)],_0x20b6fa=this[_0x39c87c(0x8b)][_0x39c87c(0x81)][_0x39c87c(0x85)](_0x39c87c(0xaa)),_0x54479f=_0x506df9[0x0],_0x15f7d1=this[_0x39c87c(0x92)](_0x213871,_0x54479f[_0x39c87c(0xb7)]);return _0x15f7d1[_0x39c87c(0x9f)]=_0x54479f[_0x39c87c(0x9f)],_0x15f7d1[_0x39c87c(0x75)](_0x39c87c(0x8a))['to'](_0x20b6fa,_0x39c87c(0xbb),_0x3a4741=>_0x403fe9(_0x8cf9bc,_0x54479f[_0x39c87c(0xb7)],_0x3a4741?_0x39c87c(0x77):_0x39c87c(0x9a))[_0x39c87c(0x78)]),_0x15f7d1[_0x39c87c(0xb2)]=!0x0,_0x15f7d1;}[_0x1b288d(0xac)](_0x2672c1){const _0x542c5c=_0x1b288d,{locale:_0xf32d3c}=this[_0x542c5c(0x8b)],_0x58571d=this[_0x542c5c(0x8b)][_0x542c5c(0x81)][_0x542c5c(0x85)](_0x542c5c(0xaa));return _0x2672c1[_0x542c5c(0x9e)](_0x525fa9=>{const _0x17c8e6=_0x542c5c,_0x49f7f6=this[_0x17c8e6(0x92)](_0x213871,_0x525fa9[_0x17c8e6(0xb7)]);return _0x49f7f6[_0x17c8e6(0xba)]=!0x0,_0x49f7f6[_0x17c8e6(0x9f)]=_0x525fa9[_0x17c8e6(0x9f)],_0x49f7f6[_0x17c8e6(0x75)](_0x17c8e6(0x8a))['to'](_0x58571d,_0x17c8e6(0xbb),_0x32cccd=>_0x403fe9(_0xf32d3c,_0x525fa9[_0x17c8e6(0xb7)],_0x32cccd?_0x17c8e6(0x77):_0x17c8e6(0x9a))[_0x17c8e6(0x78)]),_0x49f7f6;});}[_0x1b288d(0xbe)](_0xe00bc6){const _0x306a4f=_0x1b288d;return _0xe00bc6[_0x306a4f(0x9e)](_0x866adb=>{const _0x121303=_0x306a4f,_0x5dafea=this[_0x121303(0x92)](_0x1b3ee3,_0x866adb[_0x121303(0xb7)]);return _0x5dafea[_0x121303(0x9f)]=_0x866adb[_0x121303(0x9f)],_0x5dafea[_0x121303(0x8a)]=_0x866adb[_0x121303(0xa1)],_0x5dafea;});}}
23
+ const _0x488f0f=_0x2478;(function(_0x4eefd6,_0x4fd10e){const _0x53e5ab=_0x2478,_0x15424a=_0x4eefd6();while(!![]){try{const _0x556a57=-parseInt(_0x53e5ab(0xf1))/0x1*(parseInt(_0x53e5ab(0x108))/0x2)+parseInt(_0x53e5ab(0x12b))/0x3*(parseInt(_0x53e5ab(0x121))/0x4)+-parseInt(_0x53e5ab(0xff))/0x5*(parseInt(_0x53e5ab(0x11b))/0x6)+parseInt(_0x53e5ab(0x106))/0x7*(-parseInt(_0x53e5ab(0xdb))/0x8)+parseInt(_0x53e5ab(0x11f))/0x9+parseInt(_0x53e5ab(0xfa))/0xa+parseInt(_0x53e5ab(0xe2))/0xb*(parseInt(_0x53e5ab(0x10d))/0xc);if(_0x556a57===_0x4fd10e)break;else _0x15424a['push'](_0x15424a['shift']());}catch(_0x2057c2){_0x15424a['push'](_0x15424a['shift']());}}}(_0x14a6,0x53f03));function _0x2478(_0x42d928,_0x4b06e5){const _0x14a6f5=_0x14a6();return _0x2478=function(_0x24780d,_0x5dba25){_0x24780d=_0x24780d-0xdb;let _0x19f4c9=_0x14a6f5[_0x24780d];return _0x19f4c9;},_0x2478(_0x42d928,_0x4b06e5);}import{Plugin as _0x401ac9}from'ckeditor5/src/core.js';import{IconDropbox as _0x5c75ae,IconFacebook as _0x27d81a,IconGoogleDrive as _0x52ecc1,IconGooglePhotos as _0x35acb7,IconUploadcareImageUpload as _0x32561d,IconUploadcareLink as _0x2a89b0,IconOneDrive as _0xbc23ba}from'ckeditor5/src/icons.js';import{ButtonView as _0x967075,MenuBarMenuListItemButtonView as _0x21882f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd71354}from'./uploadcareconfig.js';function _0x14a6(){const _0x2f95dc=['_createToolbarButton','uploadcareLicenseKeyInvalid','7RSuIiI','afterInit','6DPzUMn','reduce','GDrive','icon','commands','12VTEdGg','uploadcare','domainLimit','bind','locale','_showLicenseError','ImageInsertUI','_createMenuBarButtons','invalid','execute','push','Uploadcare','registerIntegration','uploadcareLicenseKeyTrialLimit','12MSQCrk','uploadcareLicenseKeyExpired','plugins','_licenseKeyCheckInterval','265275zejLlr','usageLimit','47636yjPmpR','UploadcareUI','uploadcareLicenseKeyUsageLimit','entries','featureNotAllowed','withText','Dropbox','uploadcare.uploader.sourceList','isEnabled','pluginName','105eYWVsd','map','GPhotos','2003208GvxyoS','trialLimit','url','get','_normalizeConfigSourceList','config','has','3800819eVaTGU','tooltip','expired','label','URL','isPremiumPlugin','Insert','_createButton','Facebook','uploadcareLicenseKeyValid','forEach','destroy','assetManager','OneDrive','Local','39631IPDhXA','uploadcareLicenseKeyNotAllowed','editor','licenseKey','shortText','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','upload','uploadcareLicenseKeyEvaluationLimit','4050500nifbcU','_createDropdownButtons','_getIntegrationKey','type','text','1209410Miomye','evaluationLimit','Replace','isImageSelected','init'];_0x14a6=function(){return _0x2f95dc;};return _0x14a6();}import{getTranslation as _0x50675d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x401ac9{[_0x488f0f(0xf4)];[_0x488f0f(0x11e)];static get[_0x488f0f(0x12a)](){const _0x44fa7e=_0x488f0f;return _0x44fa7e(0x122);}static get[_0x488f0f(0xf7)](){return!0x0;}static get[_0x488f0f(0xe7)](){return!0x0;}[_0x488f0f(0x103)](){const _0x96c818=_0x488f0f;this[_0x96c818(0xf4)]=this[_0x96c818(0xf3)][_0x96c818(0xe0)][_0x96c818(0xde)](_0x96c818(0xf4));const _0x19e8eb=this[_0x96c818(0xf3)];this[_0x96c818(0x11e)]=setInterval(()=>{const _0x3acc87=_0x96c818;let _0x300a6c;for(const _0x25a6c1 in _0x19e8eb){const _0x1f455a=_0x25a6c1,_0x5c4db8=_0x19e8eb[_0x1f455a];if(_0x3acc87(0xeb)==_0x5c4db8||_0x3acc87(0x105)==_0x5c4db8||_0x3acc87(0x11c)==_0x5c4db8||_0x3acc87(0xf6)==_0x5c4db8||_0x3acc87(0xf2)==_0x5c4db8||_0x3acc87(0xf9)==_0x5c4db8||_0x3acc87(0x11a)==_0x5c4db8||_0x3acc87(0x123)==_0x5c4db8){delete _0x19e8eb[_0x1f455a],_0x300a6c=_0x5c4db8,clearInterval(this[_0x3acc87(0x11e)]),this[_0x3acc87(0x11e)]=void 0x0;break;}}_0x3acc87(0x105)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0x115)),_0x3acc87(0x11c)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0xe4)),_0x3acc87(0xf6)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0x10f)),_0x3acc87(0xf2)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0x125),_0x3acc87(0x118)),_0x3acc87(0xf9)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0x100)),_0x3acc87(0x11a)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0xdc)),_0x3acc87(0x123)==_0x300a6c&&_0x19e8eb[_0x3acc87(0x112)](_0x3acc87(0x120));},0x3e8);}[_0x488f0f(0x107)](){const _0x1ba75c=_0x488f0f,{editor:_0x404e29}=this,_0x4e0caf=_0x404e29[_0x1ba75c(0x10c)][_0x1ba75c(0xde)](_0x1ba75c(0x10e));if(!_0x4e0caf)return;const _0x5b3198=this[_0x1ba75c(0xdf)](_0x404e29[_0x1ba75c(0xe0)][_0x1ba75c(0xde)](_0x1ba75c(0x128)))[_0x1ba75c(0x109)]((_0x4dfb2e,_0x87c81d)=>{const _0x4eef62=_0x1ba75c,_0x390dba=this[_0x4eef62(0xfc)](_0x87c81d[_0x4eef62(0xfd)]);return _0x4dfb2e[_0x390dba]||(_0x4dfb2e[_0x390dba]=[]),_0x4dfb2e[_0x390dba][_0x4eef62(0x117)](_0x87c81d),_0x4dfb2e;},{});_0x404e29[_0x1ba75c(0x11d)][_0x1ba75c(0xe1)](_0x1ba75c(0x113))&&_0x404e29[_0x1ba75c(0x10c)][_0x1ba75c(0xde)](_0x1ba75c(0x10e))&&Object[_0x1ba75c(0x124)](_0x5b3198)[_0x1ba75c(0xec)](([_0x1d641d,_0x444f28])=>{const _0x36ca97=_0x1ba75c;_0x404e29[_0x36ca97(0x11d)][_0x36ca97(0xde)](_0x36ca97(0x113))[_0x36ca97(0x119)]({'name':_0x1d641d,'observable':()=>_0x4e0caf,'buttonViewCreator':()=>this[_0x36ca97(0x104)](_0x444f28),'formViewCreator':()=>this[_0x36ca97(0xfb)](_0x444f28),'menuBarButtonViewCreator':()=>this[_0x36ca97(0x114)](_0x444f28),'override':_0x36ca97(0xee)!==_0x1d641d});});}[_0x488f0f(0xed)](){const _0x32026b=_0x488f0f;super[_0x32026b(0xed)](),this[_0x32026b(0x11e)]&&clearInterval(this[_0x32026b(0x11e)]);}[_0x488f0f(0xdf)](_0xb37072){const _0x95bc39=_0x488f0f,{locale:_0x5c507e}=this[_0x95bc39(0xf3)];return _0xb37072[_0x95bc39(0x12c)](_0x568eca=>{const _0x76e58c=_0x95bc39,_0x302263=_0x50675d(_0x5c507e,_0x568eca,_0x76e58c(0xe8));switch(_0x568eca){case _0xd71354[_0x76e58c(0xf0)]:return{'icon':_0x32561d,'type':_0xd71354[_0x76e58c(0xf0)],..._0x302263};case _0xd71354[_0x76e58c(0xe6)]:return{'icon':_0x2a89b0,'type':_0xd71354[_0x76e58c(0xe6)],..._0x302263};case _0xd71354[_0x76e58c(0x127)]:return{'icon':_0x5c75ae,'type':_0xd71354[_0x76e58c(0x127)],..._0x302263};case _0xd71354[_0x76e58c(0xea)]:return{'icon':_0x27d81a,'type':_0xd71354[_0x76e58c(0xea)],..._0x302263};case _0xd71354[_0x76e58c(0x10a)]:return{'icon':_0x52ecc1,'type':_0xd71354[_0x76e58c(0x10a)],..._0x302263};case _0xd71354[_0x76e58c(0x12d)]:return{'icon':_0x35acb7,'type':_0xd71354[_0x76e58c(0x12d)],..._0x302263};case _0xd71354[_0x76e58c(0xef)]:return{'icon':_0xbc23ba,'type':_0xd71354[_0x76e58c(0xef)],..._0x302263};}});}[_0x488f0f(0xfc)](_0xd8739b){const _0x53818c=_0x488f0f;switch(_0xd8739b){case _0xd71354[_0x53818c(0xf0)]:return _0x53818c(0xf8);case _0xd71354[_0x53818c(0xe6)]:return _0x53818c(0xdd);default:return _0x53818c(0xee);}}[_0x488f0f(0xe9)](_0x43331c,_0x23f68c){const _0x2ea67f=_0x488f0f,_0x1e390b=this[_0x2ea67f(0xf3)],_0x743572=new _0x43331c(_0x1e390b[_0x2ea67f(0x111)]),_0x4aed2f=_0x1e390b[_0x2ea67f(0x10c)][_0x2ea67f(0xde)](_0x2ea67f(0x10e));return _0x743572[_0x2ea67f(0x110)](_0x2ea67f(0x129))['to'](_0x4aed2f),_0x743572['on'](_0x2ea67f(0x116),()=>{const _0x2f6cec=_0x2ea67f;_0x4aed2f[_0x2f6cec(0x116)](_0x23f68c);}),_0x743572;}[_0x488f0f(0x104)](_0xf90bce){const _0x50089a=_0x488f0f,{locale:_0x4fe5ad}=this[_0x50089a(0xf3)],_0x143b94=this[_0x50089a(0xf3)][_0x50089a(0x11d)][_0x50089a(0xde)](_0x50089a(0x113)),_0x2fdfbe=_0xf90bce[0x0],_0xfe013a=this[_0x50089a(0xe9)](_0x967075,_0x2fdfbe[_0x50089a(0xfd)]);return _0xfe013a[_0x50089a(0x10b)]=_0x2fdfbe[_0x50089a(0x10b)],_0xfe013a[_0x50089a(0x110)](_0x50089a(0xe5))['to'](_0x143b94,_0x50089a(0x102),_0x5c1bc4=>_0x50675d(_0x4fe5ad,_0x2fdfbe[_0x50089a(0xfd)],_0x5c1bc4?_0x50089a(0x101):_0x50089a(0xe8))[_0x50089a(0xfe)]),_0xfe013a[_0x50089a(0xe3)]=!0x0,_0xfe013a;}[_0x488f0f(0xfb)](_0x3e1ff4){const _0x2de848=_0x488f0f,{locale:_0x138b0d}=this[_0x2de848(0xf3)],_0xed0d19=this[_0x2de848(0xf3)][_0x2de848(0x11d)][_0x2de848(0xde)](_0x2de848(0x113));return _0x3e1ff4[_0x2de848(0x12c)](_0x7036b7=>{const _0x47e2fd=_0x2de848,_0x4a86cc=this[_0x47e2fd(0xe9)](_0x967075,_0x7036b7[_0x47e2fd(0xfd)]);return _0x4a86cc[_0x47e2fd(0x126)]=!0x0,_0x4a86cc[_0x47e2fd(0x10b)]=_0x7036b7[_0x47e2fd(0x10b)],_0x4a86cc[_0x47e2fd(0x110)](_0x47e2fd(0xe5))['to'](_0xed0d19,_0x47e2fd(0x102),_0x29d132=>_0x50675d(_0x138b0d,_0x7036b7[_0x47e2fd(0xfd)],_0x29d132?_0x47e2fd(0x101):_0x47e2fd(0xe8))[_0x47e2fd(0xfe)]),_0x4a86cc;});}[_0x488f0f(0x114)](_0x2f8694){const _0x5c02af=_0x488f0f;return _0x2f8694[_0x5c02af(0x12c)](_0x1da0d9=>{const _0x576a3f=_0x5c02af,_0x2b4601=this[_0x576a3f(0xe9)](_0x21882f,_0x1da0d9[_0x576a3f(0xfd)]);return _0x2b4601[_0x576a3f(0x10b)]=_0x1da0d9[_0x576a3f(0x10b)],_0x2b4601[_0x576a3f(0xe5)]=_0x1da0d9[_0x576a3f(0xf5)],_0x2b4601;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x6b1237}from'ckeditor5/src/core.js';import{FileRepository as _0x43a7ae}from'ckeditor5/src/upload.js';import _0xc5b8fc from'./uploadcareediting.js';import _0x24034c from'./utils/uploadutils.js';import{getImageUrls as _0x17c53a}from'./utils/editingutils.js';export default class p extends _0x6b1237{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x43a7ae,_0xc5b8fc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x82a341=this['editor'];if(!!!_0x82a341['config']['get']('uploadcare'))return;_0x82a341['plugins']['get'](_0x43a7ae)['createUploadAdapter']=_0xa89098=>new x(_0xa89098,_0x82a341),_0x82a341['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1958e9,{imageElement:_0x3e50b1,data:_0x3505})=>{_0x82a341['model']['change'](_0x1f536c=>{_0x1f536c['setAttribute']('uploadcareImageId',_0x3505['uploadcareImageId'],_0x3e50b1);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x34f367,_0x521b38){this['loader']=_0x34f367,this['editor']=_0x521b38,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x110073=this['editor']['config']['get']('uploadcare.pubkey'),_0x2eab6e=await this['loader']['file'];return _0x24034c['upload']({'file':_0x2eab6e,'publicKey':_0x110073,'signal':this['controller']['signal'],'onProgress':_0x21f1db=>{_0x21f1db&&_0x21f1db['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x21f1db['value']);}})['then'](async _0x40d9aa=>{const {imageFallbackUrl:_0x5d34c7,imageSources:_0x1a410c}=_0x17c53a(_0x40d9aa['cdnUrl'],_0x40d9aa['imageInfo']['width']);return{'uploadcareImageId':_0x40d9aa['uuid'],'default':_0x5d34c7,'sources':_0x1a410c};})['catch'](()=>{const _0x3cb85f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2eab6e['name']+'.');return Promise['reject'](_0x3cb85f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3f2adc}from'ckeditor5/src/core.js';import{FileRepository as _0x1709b1}from'ckeditor5/src/upload.js';import _0x305618 from'./uploadcareediting.js';import _0x2b6f8e from'./utils/uploadutils.js';import{getImageUrls as _0x3a37de}from'./utils/editingutils.js';export default class p extends _0x3f2adc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1709b1,_0x305618];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x9ac2cc=this['editor'];if(!!!_0x9ac2cc['config']['get']('uploadcare'))return;_0x9ac2cc['plugins']['get'](_0x1709b1)['createUploadAdapter']=_0x2c984b=>new x(_0x2c984b,_0x9ac2cc),_0x9ac2cc['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xf91b99,{imageElement:_0x4caeb3,data:_0x7f9bc0})=>{_0x9ac2cc['model']['change'](_0x10f9eb=>{_0x10f9eb['setAttribute']('uploadcareImageId',_0x7f9bc0['uploadcareImageId'],_0x4caeb3);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xb0cab5,_0x296737){this['loader']=_0xb0cab5,this['editor']=_0x296737,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1b5fc5=this['editor']['config']['get']('uploadcare.pubkey'),_0x4a344e=await this['loader']['file'];return _0x2b6f8e['upload']({'file':_0x4a344e,'publicKey':_0x1b5fc5,'signal':this['controller']['signal'],'onProgress':_0x352ebf=>{_0x352ebf&&_0x352ebf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x352ebf['value']);}})['then'](async _0x47a637=>{const {imageFallbackUrl:_0x5919ce,imageSources:_0x1b13cc}=_0x3a37de(_0x47a637['cdnUrl'],_0x47a637['imageInfo']['width']);return{'uploadcareImageId':_0x47a637['uuid'],'default':_0x5919ce,'sources':_0x1b13cc};})['catch'](()=>{const _0xbf179e=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a344e['name']+'.');return Promise['reject'](_0xbf179e);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x9c8c52}from'../uploadcareconfig.js';export function getTranslation(_0x4bf178,_0x4767f5,_0x50284b){const t=_0x4bf178['t'],_0x3f08e6=_0x4bf178['t'];switch(_0x4767f5){case _0x9c8c52['Local']:return{'text':_0x3f08e6('Insert'===_0x50284b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f08e6('From\x20computer')};case _0x9c8c52['URL']:return{'text':'Insert'===_0x50284b?_0x3f08e6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f08e6('Via\x20URL')};case _0x9c8c52['Dropbox']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x9c8c52['Facebook']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x9c8c52['GDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x9c8c52['GPhotos']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x9c8c52['OneDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4767f5;}}
23
+ import{UploadcareSource as _0x5aac3f}from'../uploadcareconfig.js';export function getTranslation(_0x8320fa,_0x19ae46,_0x53643f){const t=_0x8320fa['t'],_0x4e7142=_0x8320fa['t'];switch(_0x19ae46){case _0x5aac3f['Local']:return{'text':_0x4e7142('Insert'===_0x53643f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4e7142('From\x20computer')};case _0x5aac3f['URL']:return{'text':'Insert'===_0x53643f?_0x4e7142('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4e7142('Via\x20URL')};case _0x5aac3f['Dropbox']:return{'text':t('Insert'===_0x53643f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5aac3f['Facebook']:return{'text':t('Insert'===_0x53643f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5aac3f['GDrive']:return{'text':t('Insert'===_0x53643f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5aac3f['GPhotos']:return{'text':t('Insert'===_0x53643f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5aac3f['OneDrive']:return{'text':t('Insert'===_0x53643f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x19ae46;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa37c94=_0x1007;(function(_0x91b593,_0x2681d0){var _0x3f7435=_0x1007,_0x4f689a=_0x91b593();while(!![]){try{var _0x265df5=-parseInt(_0x3f7435(0x164))/0x1*(parseInt(_0x3f7435(0x15d))/0x2)+parseInt(_0x3f7435(0x157))/0x3+parseInt(_0x3f7435(0x167))/0x4*(-parseInt(_0x3f7435(0x158))/0x5)+parseInt(_0x3f7435(0x162))/0x6*(-parseInt(_0x3f7435(0x163))/0x7)+-parseInt(_0x3f7435(0x159))/0x8+-parseInt(_0x3f7435(0x15e))/0x9+parseInt(_0x3f7435(0x15b))/0xa;if(_0x265df5===_0x2681d0)break;else _0x4f689a['push'](_0x4f689a['shift']());}catch(_0x19b58d){_0x4f689a['push'](_0x4f689a['shift']());}}}(_0x2d0d,0x94d21));function _0x2d0d(){var _0x547218=['bindTemplate','12QfCAYR','767669jRrVUn','1jriAjX','createCollection','focusTracker','4377572RUrUll','fire','focusCycler','1531317JMyFyM','5Dczqjy','4264304WtgLwo','true','34587820JftXjl','getFocusableElement','1722590bYejGM','5864328gVIRgY','forwardCycle','div'];_0x2d0d=function(){return _0x547218;};return _0x2d0d();}import{FocusTracker as _0x1b03f8}from'ckeditor5/src/utils.js';import{View as _0x57b703,FocusCycler as _0x1077a7}from'ckeditor5/src/ui.js';function _0x1007(_0x1e2094,_0x4c4fb3){var _0x2d0d3f=_0x2d0d();return _0x1007=function(_0x10070f,_0x29cb6d){_0x10070f=_0x10070f-0x157;var _0x25e5ba=_0x2d0d3f[_0x10070f];return _0x25e5ba;},_0x1007(_0x1e2094,_0x4c4fb3);}import'../../theme/uploadcare-form.css';export default class q extends _0x57b703{[_0xa37c94(0x166)];[_0xa37c94(0x169)];constructor(_0x4c8592){var _0x126310=_0xa37c94;super(_0x4c8592),this[_0x126310(0x166)]=new _0x1b03f8(),this[_0x126310(0x169)]=new _0x1077a7({'focusables':this[_0x126310(0x165)](),'focusTracker':this[_0x126310(0x166)]});}[_0xa37c94(0x15c)](){var _0x231254=_0xa37c94;return{'tag':_0x231254(0x160),'attributes':{'aria-hidden':_0x231254(0x15a),'tabindex':'0'},'on':{'focus':this[_0x231254(0x161)]['to'](()=>{var _0x19c341=_0x231254;this[_0x19c341(0x169)][_0x19c341(0x168)](_0x19c341(0x15f));})}};}}
23
+ var _0x58ccbf=_0x4357;(function(_0x55d0cd,_0xd14662){var _0x37a8d5=_0x4357,_0x5e4dba=_0x55d0cd();while(!![]){try{var _0x4dbda5=-parseInt(_0x37a8d5(0x160))/0x1*(parseInt(_0x37a8d5(0x159))/0x2)+parseInt(_0x37a8d5(0x158))/0x3*(-parseInt(_0x37a8d5(0x15f))/0x4)+-parseInt(_0x37a8d5(0x15a))/0x5+-parseInt(_0x37a8d5(0x152))/0x6+-parseInt(_0x37a8d5(0x161))/0x7+parseInt(_0x37a8d5(0x15e))/0x8*(-parseInt(_0x37a8d5(0x155))/0x9)+parseInt(_0x37a8d5(0x157))/0xa;if(_0x4dbda5===_0xd14662)break;else _0x5e4dba['push'](_0x5e4dba['shift']());}catch(_0x58abcf){_0x5e4dba['push'](_0x5e4dba['shift']());}}}(_0x297f,0xe1643));import{FocusTracker as _0x253f87}from'ckeditor5/src/utils.js';function _0x297f(){var _0x2a4c74=['fire','274832wpQeQG','404nycwuh','35317fGvUZH','961142NvClfX','true','div','createCollection','3459078fiFtcE','focusCycler','focusTracker','144hIYjsB','getFocusableElement','64019300TvjNJl','51333eZeqyD','58SmkbNd','7314200ZtoAII','bindTemplate','forwardCycle'];_0x297f=function(){return _0x2a4c74;};return _0x297f();}function _0x4357(_0xebf5b7,_0x519707){var _0x297f99=_0x297f();return _0x4357=function(_0x43573c,_0x2fad38){_0x43573c=_0x43573c-0x14f;var _0x104dc8=_0x297f99[_0x43573c];return _0x104dc8;},_0x4357(_0xebf5b7,_0x519707);}import{View as _0x576adb,FocusCycler as _0xd14b26}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x576adb{[_0x58ccbf(0x154)];[_0x58ccbf(0x153)];constructor(_0x936373){var _0xbc6ed=_0x58ccbf;super(_0x936373),this[_0xbc6ed(0x154)]=new _0x253f87(),this[_0xbc6ed(0x153)]=new _0xd14b26({'focusables':this[_0xbc6ed(0x151)](),'focusTracker':this[_0xbc6ed(0x154)]});}[_0x58ccbf(0x156)](){var _0x11e0e3=_0x58ccbf;return{'tag':_0x11e0e3(0x150),'attributes':{'aria-hidden':_0x11e0e3(0x14f),'tabindex':'0'},'on':{'focus':this[_0x11e0e3(0x15b)]['to'](()=>{var _0xbaea27=_0x11e0e3;this[_0xbaea27(0x153)][_0xbaea27(0x15d)](_0xbaea27(0x15c));})}};}}