@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.9 → 46.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x4cdcda=_0x25ab;(function(_0x473368,_0x3d54da){const _0xc2883a=_0x25ab,_0x33193b=_0x473368();while(!![]){try{const _0x3203d7=-parseInt(_0xc2883a(0x1b2))/0x1*(-parseInt(_0xc2883a(0x1d7))/0x2)+-parseInt(_0xc2883a(0x1fb))/0x3*(parseInt(_0xc2883a(0x1ac))/0x4)+-parseInt(_0xc2883a(0x1c8))/0x5+parseInt(_0xc2883a(0x1b0))/0x6*(parseInt(_0xc2883a(0x1e1))/0x7)+parseInt(_0xc2883a(0x1fe))/0x8*(-parseInt(_0xc2883a(0x1ee))/0x9)+parseInt(_0xc2883a(0x1c6))/0xa+parseInt(_0xc2883a(0x1ea))/0xb;if(_0x3203d7===_0x3d54da)break;else _0x33193b['push'](_0x33193b['shift']());}catch(_0x3177b3){_0x33193b['push'](_0x33193b['shift']());}}}(_0x85b7,0xbc386));function _0x25ab(_0x436c77,_0x3a772a){const _0x85b753=_0x85b7();return _0x25ab=function(_0x25abd2,_0x4a8f91){_0x25abd2=_0x25abd2-0x1ab;let _0x2ba266=_0x85b753[_0x25abd2];return _0x2ba266;},_0x25ab(_0x436c77,_0x3a772a);}import{Plugin as _0x2c29f4}from'ckeditor5/src/core.js';import{Dialog as _0x49a108}from'ckeditor5/src/ui.js';import{createElement as _0x31443c,global as _0x5f2b4f,uid as _0x173b96}from'ckeditor5/src/utils.js';function _0x85b7(){const _0x6febc7=['insertImage','for','appendChild','4522johdIP','uc-config','imageInline','contentLanguage','UploadcareEditing','init','once','_initConversion','editing','30796568TvlyCd','data-uc-image-id','join','destroy','23481kiByIZ','replaceImageSource','_initConfig','body','render','uploadcareImageId','input[uploadcare-file-input]','schema','\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','_initSchema','extend','uploadcare.uploader','#uc-icon-arrow-down','4253241qDDYUS','config','downcast','3944wuINab','listenTo','href','view','4bblaJc','removeAttribute','isPremiumPlugin','commands','294TcIfHQ','getAttribute','775dOYKnp','uploader-','map','_initCtx','_configElement','ctxElement','closeMax','requires','uploadcareImageReplace','selection','PictureEditing','isRegistered','add','configElement','imageBlock','pluginName','iconHrefResolver','document','conversion','uploadcare','11370700uIyBed','afterInit','4207265AECtLc','uc-upload-ctx-provider','upcast','remove','_initImageProcessingIndicator','elementToAttribute','fromCharCode','uploadcare.pubkey','execute','querySelector','editor','getSelectedElement','get','isOfficialPlugin','ucContextId','898MUtAHH','true','locale','cleanupImage','model','attributeToAttribute','_ctxElement'];_0x85b7=function(){return _0x6febc7;};return _0x85b7();}import{UploadcareCommand as _0x2d97a9}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xf2d8bd}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5ac45d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2c29f4{[_0x4cdcda(0x1b6)]=null;[_0x4cdcda(0x1dd)]=null;static get[_0x4cdcda(0x1c1)](){const _0x196a00=_0x4cdcda;return _0x196a00(0x1e5);}static get[_0x4cdcda(0x1b9)](){const _0x4bcf8f=_0x4cdcda;return[_0x4bcf8f(0x1bc),_0xf2d8bd,_0x49a108];}static get[_0x4cdcda(0x1d5)](){return!0x0;}static get[_0x4cdcda(0x1ae)](){return!0x0;}[_0x4cdcda(0x1d6)];get[_0x4cdcda(0x1bf)](){const _0x33a09a=_0x4cdcda;return this[_0x33a09a(0x1b6)];}get[_0x4cdcda(0x1b7)](){const _0xe1d706=_0x4cdcda;return this[_0xe1d706(0x1dd)];}constructor(_0x14efeb){const _0x1d7d63=_0x4cdcda;super(_0x14efeb),this[_0x1d7d63(0x1d6)]=_0x173b96();}[_0x4cdcda(0x1e6)](){const _0x2785bb=_0x4cdcda,_0x50f7ec=this[_0x2785bb(0x1d2)];_0x50f7ec[_0x2785bb(0x1af)][_0x2785bb(0x1be)](_0x2785bb(0x1c5),new _0x2d97a9(_0x50f7ec));}[_0x4cdcda(0x1c7)](){const _0x3a9937=_0x4cdcda;this[_0x3a9937(0x1f7)](),this[_0x3a9937(0x1e8)](),this[_0x3a9937(0x1f0)](),this[_0x3a9937(0x1b5)](),this[_0x3a9937(0x1cc)](),this[_0x3a9937(0x1ff)](this[_0x3a9937(0x1d2)],_0x3a9937(0x1ed),()=>{const _0x5f106b=_0x3a9937;this[_0x5f106b(0x1b6)]&&(this[_0x5f106b(0x1b6)][_0x5f106b(0x1cb)](),this[_0x5f106b(0x1b6)]=null),this[_0x5f106b(0x1dd)]&&(this[_0x5f106b(0x1dd)][_0x5f106b(0x1cb)](),this[_0x5f106b(0x1dd)]=null);const _0x1ecb1d=_0x5f2b4f[_0x5f106b(0x1c3)][_0x5f106b(0x1d1)](_0x5f106b(0x1f4));_0x1ecb1d&&_0x1ecb1d[_0x5f106b(0x1cb)]();}),async function(_0x49a17f){const _0x56a740=_0x4c601a([0x76,0x6e,0x37,0x67,0x45,0x4c,0x6c,0x52,0x6f,0x50,0x4e,0x51,0x4f,0x56,0x64,0x68,0x55,0x78,0x74,0x66,0x44,0x62,0x54,0x75,0x49,0x47,0x4b,0x6a,0x53,0x42,0x31,0x30,0x5a,0x6d,0x46,0x69,0x4a,0x48,0x39,0x72,0x63,0x33,0x70,0x36,0x61,0x58,0x71,0x79,0x77,0x4d,0x32,0x7a,0x57,0x41,0x59,0x6b,0x35,0x73,0x65,0x43,0x34,0x38]),_0x469637=0x1bf295e6,_0x294836=0x1bf5fa2e^_0x469637,_0x55aba6=window[_0x4c601a([0x44,0x61,0x74,0x65])][_0x4c601a([0x6e,0x6f,0x77])](),_0x7f2132=_0x49a17f[_0x4c601a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f493e=new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301912=>{_0x7f2132[_0x4c601a([0x6f,0x6e,0x63,0x65])](_0x4c601a([0x72,0x65,0x61,0x64,0x79]),_0x301912);}),_0x25286e={[_0x4c601a([0x6b,0x74,0x79])]:_0x4c601a([0x45,0x43]),[_0x4c601a([0x75,0x73,0x65])]:_0x4c601a([0x73,0x69,0x67]),[_0x4c601a([0x63,0x72,0x76])]:_0x4c601a([0x50,0x2d,0x32,0x35,0x36]),[_0x4c601a([0x78])]:_0x4c601a([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]),[_0x4c601a([0x79])]:_0x4c601a([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]),[_0x4c601a([0x61,0x6c,0x67])]:_0x4c601a([0x45,0x53,0x32,0x35,0x36])},_0x41a510=_0x7f2132[_0x4c601a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c601a([0x67,0x65,0x74])](_0x4c601a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34f027(){let _0x25c47c,_0x2b1056=null,_0x57d9ab=null;try{if(_0x41a510==_0x4c601a([0x47,0x50,0x4c]))return _0x4c601a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25c47c=_0x225b20(),!_0x25c47c)return _0x4c601a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25c47c[_0x4c601a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57d9ab=_0x4f3352(_0x25c47c[_0x4c601a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25c47c[_0x4c601a([0x6a,0x74,0x69])])),await _0x292b08()?_0x2e07d5()?_0x54abd9()?_0x4c601a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x472de0()?(_0x25c47c[_0x4c601a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c601a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b1056=_0xb6096(_0x4c601a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25c47c[_0x4c601a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c601a([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b1056=_0xb6096(_0x4c601a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe083d0()):_0x4c601a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c601a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c601a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c601a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54abd9(){const _0x4db6d4=[_0x4c601a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c601a([0x74,0x72,0x69,0x61,0x6c])][_0x4c601a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25c47c[_0x4c601a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55aba6/0x3e8:0xe10*_0x294836;return _0x25c47c[_0x4c601a([0x65,0x78,0x70])]<_0x4db6d4;}function _0x2e07d5(){const _0x553816=_0x25c47c[_0x4c601a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x553816&&(!!_0x553816[_0x4c601a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c601a([0x2a]))||!!_0x553816[_0x4c601a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c601a([0x55,0x50,0x4c,0x43])));}function _0x472de0(){const _0x38bde6=_0x25ab,_0x1c9d37=_0x25c47c[_0x4c601a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c9d37||0x0==_0x1c9d37[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d4e47}=new URL(window[_0x4c601a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x38bde6(0x200)]);if(_0x1c9d37[_0x4c601a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4e47))return!0x0;const _0x4679f0=_0x3d4e47[_0x4c601a([0x73,0x70,0x6c,0x69,0x74])](_0x4c601a([0x2e]));return _0x1c9d37[_0x4c601a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52200d=>_0x52200d[_0x4c601a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c601a([0x2a])))[_0x4c601a([0x6d,0x61,0x70])](_0x2a0624=>_0x2a0624[_0x4c601a([0x73,0x70,0x6c,0x69,0x74])](_0x4c601a([0x2e])))[_0x4c601a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x65fb55=>_0x65fb55[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4679f0[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c601a([0x6d,0x61,0x70])](_0xcfbcc7=>Array(_0x4679f0[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcfbcc7[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c601a([0x66,0x69,0x6c,0x6c])](_0xcfbcc7[0x0]===_0x4c601a([0x2a])?_0x4c601a([0x2a]):'')[_0x4c601a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcfbcc7))[_0x4c601a([0x73,0x6f,0x6d,0x65])](_0x13200f=>_0x4679f0[_0x4c601a([0x65,0x76,0x65,0x72,0x79])]((_0x33e16a,_0x428a81)=>_0x13200f[_0x428a81]===_0x33e16a||_0x13200f[_0x428a81]===_0x4c601a([0x2a])));}function _0xe083d0(){return _0x2b1056&&_0x57d9ab?new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a7fee,_0xa05a6c)=>{_0x2b1056[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x3a7fee,_0xa05a6c),_0x57d9ab[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x37d5cf=>{_0x37d5cf!=_0x4c601a([0x56,0x61,0x6c,0x69,0x64])&&_0x3a7fee(_0x37d5cf);},_0xa05a6c);}):_0x2b1056||_0x57d9ab||_0x4c601a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f3352(_0x4499ab,_0x1b031c){return new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f09ee=>{if(_0x52e85e())return _0x1f09ee(_0x4c601a([0x56,0x61,0x6c,0x69,0x64]));_0x52ed1b(),_0x7f2132[_0x4c601a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c601a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27be94=!0x1;const _0x46b682=_0x173b96();function _0x4c401c(_0x1b2f01){return!!_0x1b2f01&&(typeof _0x1b2f01===_0x4c601a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b2f01===_0x4c601a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b2f01[_0x4c601a([0x74,0x68,0x65,0x6e])]===_0x4c601a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b2f01[_0x4c601a([0x63,0x61,0x74,0x63,0x68])]===_0x4c601a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28c9ab(_0x1179e3){_0x26d577(_0x1179e3)[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x9adfd9=>{if(!_0x9adfd9||_0x9adfd9[_0x4c601a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c601a([0x6f,0x6b]))return _0x4c601a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x553184(_0x13e50a(_0x46b682+_0x1b031c))!=_0x9adfd9[_0x4c601a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c601a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c601a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x27dc24=>(_0x4a1e85(),_0x27dc24),()=>{const _0x2b20c7=_0x5ad333();return null==_0x2b20c7?(_0x4a1e85(),_0x4c601a([0x56,0x61,0x6c,0x69,0x64])):_0x4c601a(_0x55aba6-_0x2b20c7>(0x3ffe11e6^_0x469637)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x1f09ee)[_0x4c601a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f09ee(_0x4c601a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d9883=0x1bc47b66^_0x469637;function _0x4a1e85(){const _0x2b2f91=_0x4c601a([0x6c,0x6c,0x63,0x74,0x2d])+_0x553184(_0x13e50a(_0x4499ab)),_0x494029=_0xd46edf(_0x553184(window[_0x4c601a([0x4d,0x61,0x74,0x68])][_0x4c601a([0x63,0x65,0x69,0x6c])](_0x55aba6/_0x2d9883)));window[_0x4c601a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c601a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b2f91,_0x494029);}function _0x5ad333(){const _0x459e11=_0x4c601a([0x6c,0x6c,0x63,0x74,0x2d])+_0x553184(_0x13e50a(_0x4499ab)),_0x5f26cd=window[_0x4c601a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c601a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x459e11);return _0x5f26cd?window[_0x4c601a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd46edf(_0x5f26cd),0x10)*_0x2d9883:null;}function _0x26d577(_0x42488e){return new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f228f,_0x20b787)=>{_0x42488e[_0x4c601a([0x74,0x68,0x65,0x6e])](_0x4f228f,_0x20b787),window[_0x4c601a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20b787,0x1bf34126^_0x469637);});}}_0x7f2132[_0x4c601a([0x6f,0x6e])](_0x4c601a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29114,_0x1c269e)=>{if(_0x1c269e[0x0]!=_0x4499ab)return _0x1f09ee(_0x4c601a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c269e[0x1]={..._0x1c269e[0x1],[_0x4c601a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b682};},{[_0x4c601a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c601a([0x68,0x69,0x67,0x68])}),_0x7f2132[_0x4c601a([0x6f,0x6e])](_0x4c601a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x482211=>{_0x4c401c(_0x482211[_0x4c601a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27be94=!0x0,_0x28c9ab(_0x482211[_0x4c601a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c601a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c601a([0x6c,0x6f,0x77])}),_0x5f493e[_0x4c601a([0x74,0x68,0x65,0x6e])](()=>{_0x27be94||_0x1f09ee(_0x4c601a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52e85e(){return _0x7f2132[_0x4c601a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c601a([0x76,0x69,0x65,0x77])][_0x4c601a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c601a([0x61,0x75,0x74,0x6f]);}function _0x52ed1b(){_0x7f2132[_0x4c601a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c601a([0x76,0x69,0x65,0x77])][_0x4c601a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c601a([0x61,0x75,0x74,0x6f]);}}function _0xb6096(_0x53294d){const _0x245846=[new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff05b=>setTimeout(_0x4ff05b,0x1bfbab2a^_0x469637)),_0x5f493e[_0x4c601a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e139=>{let _0x183719=0x0;_0x7f2132[_0x4c601a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c601a([0x6f,0x6e])](_0x4c601a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3aed70,_0x3f5868)=>{_0x3f5868[0x0][_0x4c601a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x183719++,_0x183719==(0x1bf2941e^_0x469637)&&(_0x41e139(),_0x3aed70[_0x4c601a([0x6f,0x66,0x66])]());});}))];return window[_0x4c601a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c601a([0x72,0x61,0x63,0x65])](_0x245846)[_0x4c601a([0x74,0x68,0x65,0x6e])](()=>_0x53294d);}async function _0x558981(){await _0x5f493e,_0x7f2132[_0x4c601a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c601a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e71cd,_0x7f2132[_0x4c601a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c601a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e71cd,_0x7f2132[_0x4c601a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c601a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17f58f(_0x395191){const _0x6f886f=_0x384331();_0x7f2132[_0x6f886f]=_0x4c601a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x395191,_0x395191!=_0x4c601a([0x56,0x61,0x6c,0x69,0x64])&&_0x558981();}function _0x384331(){const _0x4e0470=window[_0x4c601a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c601a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c601a([0x6e,0x6f,0x77])]())[_0x4c601a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c601a([0x2e]),'');let _0x2c0e26=_0x4c601a([0x76]);for(let _0x244eeb=0x0;_0x244eeb<_0x4e0470[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244eeb+=0x2){let _0x5ba2b7=window[_0x4c601a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e0470[_0x4c601a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244eeb,_0x244eeb+0x2));_0x5ba2b7>=_0x56a740[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ba2b7-=_0x56a740[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c0e26+=_0x56a740[_0x5ba2b7];}return _0x2c0e26;}function _0x225b20(){const _0x21b74e=_0x41a510[_0x4c601a([0x73,0x70,0x6c,0x69,0x74])](_0x4c601a([0x2e]));if(0x3!=_0x21b74e[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3cd31f(_0x21b74e[0x1]);function _0x3cd31f(_0x2d83e8){const _0x57999f=_0x335b95(_0x2d83e8);return _0x57999f&&_0x1b5a58()?_0x57999f:null;function _0x1b5a58(){const _0x86543a=_0x57999f[_0x4c601a([0x6a,0x74,0x69])],_0x487629=window[_0x4c601a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x86543a[_0x4c601a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x86543a[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xde45d1={..._0x57999f,[_0x4c601a([0x6a,0x74,0x69])]:_0x86543a[_0x4c601a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x86543a[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xde45d1[_0x4c601a([0x76,0x63])],_0x13e50a(_0xde45d1)==_0x487629;}}}async function _0x292b08(){let _0xfcd085=!0x0;try{const _0x4bf4f9=_0x41a510[_0x4c601a([0x73,0x70,0x6c,0x69,0x74])](_0x4c601a([0x2e])),[_0xf1fa62,_0x555438,_0x5793e8]=_0x4bf4f9;return _0x5be036(_0xf1fa62),await _0x59ac8d(_0xf1fa62,_0x555438,_0x5793e8),_0xfcd085;}catch{return!0x1;}function _0x5be036(_0x4aa387){const _0x42f3be=_0x335b95(_0x4aa387);_0x42f3be&&_0x42f3be[_0x4c601a([0x61,0x6c,0x67])]==_0x4c601a([0x45,0x53,0x32,0x35,0x36])||(_0xfcd085=!0x1);}async function _0x59ac8d(_0x350192,_0x1bb1ad,_0x3e3f79){const _0x52c229=window[_0x4c601a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c601a([0x66,0x72,0x6f,0x6d])](_0xdd369d(_0x3e3f79),_0xd7be2c=>_0xd7be2c[_0x4c601a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17ce6c=new window[(_0x4c601a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c601a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x350192+_0x4c601a([0x2e])+_0x1bb1ad),_0x7c8bb9=window[_0x4c601a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c601a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7c8bb9)return;const _0x995d8a=await _0x7c8bb9[_0x4c601a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c601a([0x6a,0x77,0x6b]),_0x25286e,{[_0x4c601a([0x6e,0x61,0x6d,0x65])]:_0x4c601a([0x45,0x43,0x44,0x53,0x41]),[_0x4c601a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c601a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c601a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7c8bb9[_0x4c601a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c601a([0x6e,0x61,0x6d,0x65])]:_0x4c601a([0x45,0x43,0x44,0x53,0x41]),[_0x4c601a([0x68,0x61,0x73,0x68])]:{[_0x4c601a([0x6e,0x61,0x6d,0x65])]:_0x4c601a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x995d8a,_0x52c229,_0x17ce6c)||(_0xfcd085=!0x1);}}function _0x335b95(_0x25ca77){return _0x25ca77[_0x4c601a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c601a([0x65,0x79]))?JSON[_0x4c601a([0x70,0x61,0x72,0x73,0x65])](_0xdd369d(_0x25ca77)):null;}function _0xdd369d(_0x9e7849){return window[_0x4c601a([0x61,0x74,0x6f,0x62])](_0x9e7849[_0x4c601a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c601a([0x2b]))[_0x4c601a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c601a([0x2f])));}function _0x13e50a(_0x6d64ed){let _0x1b13b5=0x1505;function _0x441ec2(_0x15edf2){for(let _0x53e092=0x0;_0x53e092<_0x15edf2[_0x4c601a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53e092++){const _0x5b219f=_0x15edf2[_0x4c601a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53e092);_0x1b13b5=(_0x1b13b5<<0x5)+_0x1b13b5+_0x5b219f,_0x1b13b5&=_0x1b13b5;}}function _0x4469ac(_0x518545){Array[_0x4c601a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x518545)?_0x518545[_0x4c601a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4469ac):_0x518545&&typeof _0x518545==_0x4c601a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c601a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x518545)[_0x4c601a([0x73,0x6f,0x72,0x74])]()[_0x4c601a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53f340,_0x269e87])=>{_0x441ec2(_0x53f340),_0x4469ac(_0x269e87);}):_0x441ec2(window[_0x4c601a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x518545));}return _0x4469ac(_0x6d64ed),_0x1b13b5>>>0x0;}function _0x553184(_0x33db0a){return _0x33db0a[_0x4c601a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c601a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c601a([0x30]));}function _0xd46edf(_0x3486ae){return _0x3486ae[_0x4c601a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c601a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c601a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e71cd(){}function _0x4c601a(_0x121be1){const _0xbe8efb=_0x25ab;return _0x121be1[_0xbe8efb(0x1b4)](_0x22ed56=>String[_0xbe8efb(0x1ce)](_0x22ed56))[_0xbe8efb(0x1ec)]('');}_0x17f58f(await _0x34f027());}(this);}[_0x4cdcda(0x1f7)](){const _0x29eee4=_0x4cdcda,_0x54531f=this[_0x29eee4(0x1d2)][_0x29eee4(0x1db)][_0x29eee4(0x1f5)];_0x54531f[_0x29eee4(0x1bd)](_0x29eee4(0x1c0))&&_0x54531f[_0x29eee4(0x1f8)](_0x29eee4(0x1c0),{'allowAttributes':[_0x29eee4(0x1f3)]}),_0x54531f[_0x29eee4(0x1bd)](_0x29eee4(0x1e3))&&_0x54531f[_0x29eee4(0x1f8)](_0x29eee4(0x1e3),{'allowAttributes':[_0x29eee4(0x1f3)]});}[_0x4cdcda(0x1e8)](){const _0x393d8d=_0x4cdcda,_0x5a0014=this[_0x393d8d(0x1d2)];_0x5a0014[_0x393d8d(0x1c4)][_0x393d8d(0x1df)](_0x393d8d(0x1fd))[_0x393d8d(0x1dc)]({'model':_0x393d8d(0x1f3),'view':_0x393d8d(0x1eb)}),_0x5a0014[_0x393d8d(0x1c4)][_0x393d8d(0x1df)](_0x393d8d(0x1ca))[_0x393d8d(0x1cd)]({'model':{'key':_0x393d8d(0x1f3),'value':_0x582404=>_0x582404[_0x393d8d(0x1b1)](_0x393d8d(0x1eb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d973f=_0x5a0014[_0x393d8d(0x1af)][_0x393d8d(0x1d4)](_0x393d8d(0x1ef));_0x4d973f&&this[_0x393d8d(0x1ff)](_0x4d973f,_0x393d8d(0x1da),(_0x13f55d,[_0x3c8870,_0x50529b])=>{const _0xa2ddd9=_0x393d8d;_0x3c8870[_0xa2ddd9(0x1ad)](_0xa2ddd9(0x1f3),_0x50529b);});}[_0x4cdcda(0x1f0)](){const _0x278442=_0x4cdcda,_0x549f29=this[_0x278442(0x1d2)][_0x278442(0x1fc)][_0x278442(0x1d4)](_0x278442(0x1f9))||{},_0x583395=this[_0x278442(0x1d2)][_0x278442(0x1fc)][_0x278442(0x1d4)](_0x278442(0x1cf))||'';this[_0x278442(0x1b6)]=_0x31443c(_0x5f2b4f[_0x278442(0x1c3)],_0x278442(0x1e2),{..._0x549f29,'pubkey':_0x583395,'ctx-name':_0x278442(0x1b3)+this[_0x278442(0x1d6)],'sourceList':'','imgOnly':_0x278442(0x1d8),'removeCopyright':_0x278442(0x1d8),'localeName':this[_0x278442(0x1d2)][_0x278442(0x1d9)][_0x278442(0x1e4)],'externalSourcesEmbedCss':_0x278442(0x1f6)}),this[_0x278442(0x1b6)][_0x278442(0x1c2)]=_0x2ff787=>{const _0x3854f6=_0x278442;if(_0x3854f6(0x1b8)==_0x2ff787)return _0x3854f6(0x1fa);},_0x5f2b4f[_0x278442(0x1c3)][_0x278442(0x1f1)][_0x278442(0x1e0)](this[_0x278442(0x1b6)]);}[_0x4cdcda(0x1b5)](){const _0x181f8e=_0x4cdcda;this[_0x181f8e(0x1dd)]=_0x31443c(_0x5f2b4f[_0x181f8e(0x1c3)],_0x181f8e(0x1c9),{'ctx-name':_0x181f8e(0x1b3)+this[_0x181f8e(0x1d6)]}),_0x5f2b4f[_0x181f8e(0x1c3)][_0x181f8e(0x1f1)][_0x181f8e(0x1e0)](this[_0x181f8e(0x1dd)]);}[_0x4cdcda(0x1cc)](){const _0x40be1d=_0x4cdcda,_0xf748bc=this[_0x40be1d(0x1d2)][_0x40be1d(0x1af)][_0x40be1d(0x1d4)](_0x40be1d(0x1de));_0xf748bc&&this[_0x40be1d(0x1ff)](_0xf748bc,_0x40be1d(0x1d0),()=>{const _0x36dbbe=_0x40be1d,_0x3cc8cd=this[_0x36dbbe(0x1d2)][_0x36dbbe(0x1db)][_0x36dbbe(0x1c3)][_0x36dbbe(0x1bb)][_0x36dbbe(0x1d3)]();_0x3cc8cd&&_0x3cc8cd[_0x36dbbe(0x1b1)](_0x36dbbe(0x1f3))&&this[_0x36dbbe(0x1d2)][_0x36dbbe(0x1e9)][_0x36dbbe(0x1ab)][_0x36dbbe(0x1e7)](_0x36dbbe(0x1f2),()=>{const _0x51f5f2=_0x36dbbe;_0x5ac45d(this[_0x51f5f2(0x1d2)],_0x3cc8cd);});});const _0xe4890a=this[_0x40be1d(0x1d2)][_0x40be1d(0x1af)][_0x40be1d(0x1d4)](_0x40be1d(0x1ba));_0xe4890a&&this[_0x40be1d(0x1ff)](_0xe4890a,_0x40be1d(0x1d0),()=>{const _0x46f90e=_0x40be1d,_0x412f7d=this[_0x46f90e(0x1d2)][_0x46f90e(0x1db)][_0x46f90e(0x1c3)][_0x46f90e(0x1bb)][_0x46f90e(0x1d3)]();_0x412f7d&&_0x412f7d[_0x46f90e(0x1b1)](_0x46f90e(0x1f3))&&this[_0x46f90e(0x1d2)][_0x46f90e(0x1e9)][_0x46f90e(0x1ab)][_0x46f90e(0x1e7)](_0x46f90e(0x1f2),()=>{const _0xbc8533=_0x46f90e;_0x5ac45d(this[_0xbc8533(0x1d2)],_0x412f7d);});});}}
23
+ const _0x2def88=_0x295a;(function(_0x2657fa,_0x1a6073){const _0x16cdd0=_0x295a,_0x389a60=_0x2657fa();while(!![]){try{const _0x4f4c94=parseInt(_0x16cdd0(0x139))/0x1*(-parseInt(_0x16cdd0(0xf8))/0x2)+parseInt(_0x16cdd0(0xf4))/0x3*(parseInt(_0x16cdd0(0x106))/0x4)+parseInt(_0x16cdd0(0x115))/0x5+-parseInt(_0x16cdd0(0x104))/0x6+-parseInt(_0x16cdd0(0xff))/0x7*(-parseInt(_0x16cdd0(0x13d))/0x8)+-parseInt(_0x16cdd0(0xf1))/0x9*(parseInt(_0x16cdd0(0x125))/0xa)+-parseInt(_0x16cdd0(0x129))/0xb*(-parseInt(_0x16cdd0(0x138))/0xc);if(_0x4f4c94===_0x1a6073)break;else _0x389a60['push'](_0x389a60['shift']());}catch(_0x5e7068){_0x389a60['push'](_0x389a60['shift']());}}}(_0x2934,0x4776c));function _0x2934(){const _0x54eed1=['fromCharCode','editor','uploadcareImageReplace','document','config','_initCtx','isOfficialPlugin','1913680vHJmZo','data-uc-image-id','uploadcare','uploadcare.uploader','#uc-icon-arrow-down','isPremiumPlugin','uc-upload-ctx-provider','uploadcare.pubkey','ucContextId','body','listenTo','UploadcareEditing','uploadcareImageId','init','href','_initConversion','10pkhwib','map','getSelectedElement','add','7629787CVzLSP','contentLanguage','uc-config','join','schema','conversion','getAttribute','isRegistered','iconHrefResolver','locale','_initImageProcessingIndicator','\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','removeAttribute','true','attributeToAttribute','12pAXyVi','1naWEGB','extend','input[uploadcare-file-input]','requires','3208752bzEasq','_initSchema','upcast','model','appendChild','once','configElement','get','elementToAttribute','closeMax','imageInline','4607019ipGfBD','_ctxElement','for','519aeOYVA','pluginName','destroy','ctxElement','1073734tTvmaA','uploader-','cleanupImage','PictureEditing','view','remove','selection','7YqhRsM','downcast','afterInit','execute','imageBlock','1628592JoQIhW','editing','3132HJhWTH','render','insertImage','_configElement','querySelector','commands','replaceImageSource','_initConfig'];_0x2934=function(){return _0x54eed1;};return _0x2934();}function _0x295a(_0x5deae9,_0x5bf2df){const _0x2934bf=_0x2934();return _0x295a=function(_0x295a50,_0x4f067f){_0x295a50=_0x295a50-0xee;let _0x559fe9=_0x2934bf[_0x295a50];return _0x559fe9;},_0x295a(_0x5deae9,_0x5bf2df);}import{Plugin as _0x51f84b}from'ckeditor5/src/core.js';import{Dialog as _0x310ac4}from'ckeditor5/src/ui.js';import{createElement as _0x2ccc00,global as _0x5b2410,uid as _0x338718}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x19d31e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x451a85}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2fd419}from'./utils/editingutils.js';export class UploadcareEditing extends _0x51f84b{[_0x2def88(0x109)]=null;[_0x2def88(0xf2)]=null;static get[_0x2def88(0xf5)](){const _0x4449cd=_0x2def88;return _0x4449cd(0x120);}static get[_0x2def88(0x13c)](){const _0x46cd45=_0x2def88;return[_0x46cd45(0xfb),_0x451a85,_0x310ac4];}static get[_0x2def88(0x114)](){return!0x0;}static get[_0x2def88(0x11a)](){return!0x0;}[_0x2def88(0x11d)];get[_0x2def88(0x143)](){const _0x5bcf9d=_0x2def88;return this[_0x5bcf9d(0x109)];}get[_0x2def88(0xf7)](){const _0x165409=_0x2def88;return this[_0x165409(0xf2)];}constructor(_0x21a0e9){const _0x1ca661=_0x2def88;super(_0x21a0e9),this[_0x1ca661(0x11d)]=_0x338718();}[_0x2def88(0x122)](){const _0x70e6c1=_0x2def88,_0x4410b8=this[_0x70e6c1(0x10f)];_0x4410b8[_0x70e6c1(0x10b)][_0x70e6c1(0x128)](_0x70e6c1(0x117),new _0x19d31e(_0x4410b8));}[_0x2def88(0x101)](){const _0x5c63b7=_0x2def88;this[_0x5c63b7(0x13e)](),this[_0x5c63b7(0x124)](),this[_0x5c63b7(0x10d)](),this[_0x5c63b7(0x113)](),this[_0x5c63b7(0x133)](),this[_0x5c63b7(0x11f)](this[_0x5c63b7(0x10f)],_0x5c63b7(0xf6),()=>{const _0x20791b=_0x5c63b7;this[_0x20791b(0x109)]&&(this[_0x20791b(0x109)][_0x20791b(0xfd)](),this[_0x20791b(0x109)]=null),this[_0x20791b(0xf2)]&&(this[_0x20791b(0xf2)][_0x20791b(0xfd)](),this[_0x20791b(0xf2)]=null);const _0x45d9b0=_0x5b2410[_0x20791b(0x111)][_0x20791b(0x10a)](_0x20791b(0x13b));_0x45d9b0&&_0x45d9b0[_0x20791b(0xfd)]();}),async function(_0x6f0690){const _0x2f97e2=_0x408dad([0x77,0x57,0x79,0x6a,0x53,0x33,0x73,0x71,0x46,0x31,0x34,0x72,0x4a,0x62,0x6d,0x52,0x47,0x6e,0x76,0x69,0x32,0x61,0x4b,0x74,0x38,0x45,0x6c,0x6b,0x75,0x68,0x49,0x59,0x35,0x48,0x54,0x6f,0x70,0x5a,0x42,0x37,0x4e,0x36,0x4f,0x50,0x51,0x30,0x65,0x66,0x63,0x56,0x44,0x39,0x41,0x67,0x43,0x7a,0x78,0x4c,0x58,0x55,0x64,0x4d]),_0x4997c7=0x5c191c6f,_0x15867f=0x5c1e6cbf^_0x4997c7,_0x354fbe=window[_0x408dad([0x44,0x61,0x74,0x65])][_0x408dad([0x6e,0x6f,0x77])](),_0x42a741=_0x6f0690[_0x408dad([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x109b5c=new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fc5a9=>{_0x42a741[_0x408dad([0x6f,0x6e,0x63,0x65])](_0x408dad([0x72,0x65,0x61,0x64,0x79]),_0x3fc5a9);}),_0x3db537={[_0x408dad([0x6b,0x74,0x79])]:_0x408dad([0x45,0x43]),[_0x408dad([0x75,0x73,0x65])]:_0x408dad([0x73,0x69,0x67]),[_0x408dad([0x63,0x72,0x76])]:_0x408dad([0x50,0x2d,0x32,0x35,0x36]),[_0x408dad([0x78])]:_0x408dad([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]),[_0x408dad([0x79])]:_0x408dad([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]),[_0x408dad([0x61,0x6c,0x67])]:_0x408dad([0x45,0x53,0x32,0x35,0x36])},_0x26b988=_0x42a741[_0x408dad([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408dad([0x67,0x65,0x74])](_0x408dad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa242ef(){let _0x338a83,_0x222699=null,_0xbfe6e2=null;try{if(_0x26b988==_0x408dad([0x47,0x50,0x4c]))return _0x408dad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x338a83=_0x2cd234(),!_0x338a83)return _0x408dad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x338a83[_0x408dad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xbfe6e2=_0x25762a(_0x338a83[_0x408dad([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x338a83[_0x408dad([0x6a,0x74,0x69])])),await _0x4f53c6()?_0x42e017()?_0x10a7d0()?_0x408dad([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x581d8a()?(_0x338a83[_0x408dad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408dad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x222699=_0x3141f6(_0x408dad([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x338a83[_0x408dad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408dad([0x74,0x72,0x69,0x61,0x6c])&&(_0x222699=_0x3141f6(_0x408dad([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc25767()):_0x408dad([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408dad([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408dad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x408dad([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10a7d0(){const _0x4d7bd9=[_0x408dad([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408dad([0x74,0x72,0x69,0x61,0x6c])][_0x408dad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338a83[_0x408dad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x354fbe/0x3e8:0xe10*_0x15867f;return _0x338a83[_0x408dad([0x65,0x78,0x70])]<_0x4d7bd9;}function _0x42e017(){const _0x4661ed=_0x338a83[_0x408dad([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4661ed&&(!!_0x4661ed[_0x408dad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408dad([0x2a]))||!!_0x4661ed[_0x408dad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408dad([0x55,0x50,0x4c,0x43])));}function _0x581d8a(){const _0x2d6d4f=_0x295a,_0x204f4b=_0x338a83[_0x408dad([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x204f4b||0x0==_0x204f4b[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f3d21}=new URL(window[_0x408dad([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d6d4f(0x123)]);if(_0x204f4b[_0x408dad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f3d21))return!0x0;const _0x4a00e1=_0x4f3d21[_0x408dad([0x73,0x70,0x6c,0x69,0x74])](_0x408dad([0x2e]));return _0x204f4b[_0x408dad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1285c0=>_0x1285c0[_0x408dad([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408dad([0x2a])))[_0x408dad([0x6d,0x61,0x70])](_0x3816a2=>_0x3816a2[_0x408dad([0x73,0x70,0x6c,0x69,0x74])](_0x408dad([0x2e])))[_0x408dad([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1828b3=>_0x1828b3[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a00e1[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408dad([0x6d,0x61,0x70])](_0xbccdf7=>Array(_0x4a00e1[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xbccdf7[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408dad([0x66,0x69,0x6c,0x6c])](_0xbccdf7[0x0]===_0x408dad([0x2a])?_0x408dad([0x2a]):'')[_0x408dad([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xbccdf7))[_0x408dad([0x73,0x6f,0x6d,0x65])](_0x3cc521=>_0x4a00e1[_0x408dad([0x65,0x76,0x65,0x72,0x79])]((_0x2e22aa,_0x443032)=>_0x3cc521[_0x443032]===_0x2e22aa||_0x3cc521[_0x443032]===_0x408dad([0x2a])));}function _0xc25767(){return _0x222699&&_0xbfe6e2?new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x546108,_0xcff37)=>{_0x222699[_0x408dad([0x74,0x68,0x65,0x6e])](_0x546108,_0xcff37),_0xbfe6e2[_0x408dad([0x74,0x68,0x65,0x6e])](_0x456e50=>{_0x456e50!=_0x408dad([0x56,0x61,0x6c,0x69,0x64])&&_0x546108(_0x456e50);},_0xcff37);}):_0x222699||_0xbfe6e2||_0x408dad([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25762a(_0x248a49,_0x651e51){return new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aa866=>{if(_0x2b3ad6())return _0x3aa866(_0x408dad([0x56,0x61,0x6c,0x69,0x64]));_0x26c0d8(),_0x42a741[_0x408dad([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408dad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2994b2=!0x1;const _0x2fa291=_0x338718();function _0x36fa63(_0x2a61d0){return!!_0x2a61d0&&(typeof _0x2a61d0===_0x408dad([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a61d0===_0x408dad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a61d0[_0x408dad([0x74,0x68,0x65,0x6e])]===_0x408dad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a61d0[_0x408dad([0x63,0x61,0x74,0x63,0x68])]===_0x408dad([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18f7e2(_0x36567b){_0x2973d0(_0x36567b)[_0x408dad([0x74,0x68,0x65,0x6e])](_0x7bb550=>{if(!_0x7bb550||_0x7bb550[_0x408dad([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408dad([0x6f,0x6b]))return _0x408dad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5793bb(_0x2479ae(_0x2fa291+_0x651e51))!=_0x7bb550[_0x408dad([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408dad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408dad([0x56,0x61,0x6c,0x69,0x64]);})[_0x408dad([0x74,0x68,0x65,0x6e])](_0x22f245=>(_0x9601f1(),_0x22f245),()=>{const _0x51d8ca=_0x399a81();return null==_0x51d8ca?(_0x9601f1(),_0x408dad([0x56,0x61,0x6c,0x69,0x64])):_0x408dad(_0x354fbe-_0x51d8ca>(0x7815986f^_0x4997c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408dad([0x74,0x68,0x65,0x6e])](_0x3aa866)[_0x408dad([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3aa866(_0x408dad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x459f3f=0x5c2ff2ef^_0x4997c7;function _0x9601f1(){const _0x1b5fbb=_0x408dad([0x6c,0x6c,0x63,0x74,0x2d])+_0x5793bb(_0x2479ae(_0x248a49)),_0x2212ac=_0x52a856(_0x5793bb(window[_0x408dad([0x4d,0x61,0x74,0x68])][_0x408dad([0x63,0x65,0x69,0x6c])](_0x354fbe/_0x459f3f)));window[_0x408dad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408dad([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b5fbb,_0x2212ac);}function _0x399a81(){const _0x492e48=_0x408dad([0x6c,0x6c,0x63,0x74,0x2d])+_0x5793bb(_0x2479ae(_0x248a49)),_0x3e1dae=window[_0x408dad([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408dad([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x492e48);return _0x3e1dae?window[_0x408dad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a856(_0x3e1dae),0x10)*_0x459f3f:null;}function _0x2973d0(_0x29e9f0){return new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd7a261,_0x844006)=>{_0x29e9f0[_0x408dad([0x74,0x68,0x65,0x6e])](_0xd7a261,_0x844006),window[_0x408dad([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x844006,0x5c18c8af^_0x4997c7);});}}_0x42a741[_0x408dad([0x6f,0x6e])](_0x408dad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55459d,_0x1b9ac7)=>{if(_0x1b9ac7[0x0]!=_0x248a49)return _0x3aa866(_0x408dad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b9ac7[0x1]={..._0x1b9ac7[0x1],[_0x408dad([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fa291};},{[_0x408dad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408dad([0x68,0x69,0x67,0x68])}),_0x42a741[_0x408dad([0x6f,0x6e])](_0x408dad([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30d3ed=>{_0x36fa63(_0x30d3ed[_0x408dad([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2994b2=!0x0,_0x18f7e2(_0x30d3ed[_0x408dad([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408dad([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408dad([0x6c,0x6f,0x77])}),_0x109b5c[_0x408dad([0x74,0x68,0x65,0x6e])](()=>{_0x2994b2||_0x3aa866(_0x408dad([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b3ad6(){return _0x42a741[_0x408dad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408dad([0x76,0x69,0x65,0x77])][_0x408dad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408dad([0x61,0x75,0x74,0x6f]);}function _0x26c0d8(){_0x42a741[_0x408dad([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408dad([0x76,0x69,0x65,0x77])][_0x408dad([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408dad([0x61,0x75,0x74,0x6f]);}}function _0x3141f6(_0x25e4be){const _0x6c3d41=[new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x567348=>setTimeout(_0x567348,0x5c1022a3^_0x4997c7)),_0x109b5c[_0x408dad([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fdf00=>{let _0x48e147=0x0;_0x42a741[_0x408dad([0x6d,0x6f,0x64,0x65,0x6c])][_0x408dad([0x6f,0x6e])](_0x408dad([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5177a4,_0xe0e9ea)=>{_0xe0e9ea[0x0][_0x408dad([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48e147++,_0x48e147==(0x5c191d97^_0x4997c7)&&(_0x3fdf00(),_0x5177a4[_0x408dad([0x6f,0x66,0x66])]());});}))];return window[_0x408dad([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408dad([0x72,0x61,0x63,0x65])](_0x6c3d41)[_0x408dad([0x74,0x68,0x65,0x6e])](()=>_0x25e4be);}async function _0x11eb50(){await _0x109b5c,_0x42a741[_0x408dad([0x6d,0x6f,0x64,0x65,0x6c])][_0x408dad([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe9e99c,_0x42a741[_0x408dad([0x6d,0x6f,0x64,0x65,0x6c])][_0x408dad([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe9e99c,_0x42a741[_0x408dad([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408dad([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ecded(_0x41b892){const _0x4a701c=_0x35a272();_0x42a741[_0x4a701c]=_0x408dad([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x41b892,_0x41b892!=_0x408dad([0x56,0x61,0x6c,0x69,0x64])&&_0x11eb50();}function _0x35a272(){const _0x32113b=window[_0x408dad([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408dad([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408dad([0x6e,0x6f,0x77])]())[_0x408dad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408dad([0x2e]),'');let _0x251145=_0x408dad([0x77]);for(let _0x46e48a=0x0;_0x46e48a<_0x32113b[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46e48a+=0x2){let _0x25617a=window[_0x408dad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32113b[_0x408dad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46e48a,_0x46e48a+0x2));_0x25617a>=_0x2f97e2[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25617a-=_0x2f97e2[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x251145+=_0x2f97e2[_0x25617a];}return _0x251145;}function _0x2cd234(){const _0x1d4dd8=_0x26b988[_0x408dad([0x73,0x70,0x6c,0x69,0x74])](_0x408dad([0x2e]));if(0x3!=_0x1d4dd8[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x268c01(_0x1d4dd8[0x1]);function _0x268c01(_0x10a4c6){const _0x4c49e2=_0x3a817c(_0x10a4c6);return _0x4c49e2&&_0x5f4752()?_0x4c49e2:null;function _0x5f4752(){const _0x2e88d6=_0x4c49e2[_0x408dad([0x6a,0x74,0x69])],_0x589af8=window[_0x408dad([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88d6[_0x408dad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e88d6[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19c547={..._0x4c49e2,[_0x408dad([0x6a,0x74,0x69])]:_0x2e88d6[_0x408dad([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e88d6[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19c547[_0x408dad([0x76,0x63])],_0x2479ae(_0x19c547)==_0x589af8;}}}async function _0x4f53c6(){let _0x57797e=!0x0;try{const _0x524d0a=_0x26b988[_0x408dad([0x73,0x70,0x6c,0x69,0x74])](_0x408dad([0x2e])),[_0x30ad64,_0x2f7325,_0x51b3e3]=_0x524d0a;return _0x5a0793(_0x30ad64),await _0x3fbaf4(_0x30ad64,_0x2f7325,_0x51b3e3),_0x57797e;}catch{return!0x1;}function _0x5a0793(_0x22d392){const _0x2eb98b=_0x3a817c(_0x22d392);_0x2eb98b&&_0x2eb98b[_0x408dad([0x61,0x6c,0x67])]==_0x408dad([0x45,0x53,0x32,0x35,0x36])||(_0x57797e=!0x1);}async function _0x3fbaf4(_0x491fd1,_0x1f25c0,_0x2ae7cc){const _0x59bd50=window[_0x408dad([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408dad([0x66,0x72,0x6f,0x6d])](_0x304611(_0x2ae7cc),_0x1a37df=>_0x1a37df[_0x408dad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35cd03=new window[(_0x408dad([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408dad([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x491fd1+_0x408dad([0x2e])+_0x1f25c0),_0x30c62f=window[_0x408dad([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408dad([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30c62f)return;const _0x1f707b=await _0x30c62f[_0x408dad([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408dad([0x6a,0x77,0x6b]),_0x3db537,{[_0x408dad([0x6e,0x61,0x6d,0x65])]:_0x408dad([0x45,0x43,0x44,0x53,0x41]),[_0x408dad([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408dad([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408dad([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30c62f[_0x408dad([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408dad([0x6e,0x61,0x6d,0x65])]:_0x408dad([0x45,0x43,0x44,0x53,0x41]),[_0x408dad([0x68,0x61,0x73,0x68])]:{[_0x408dad([0x6e,0x61,0x6d,0x65])]:_0x408dad([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f707b,_0x59bd50,_0x35cd03)||(_0x57797e=!0x1);}}function _0x3a817c(_0x1f253c){return _0x1f253c[_0x408dad([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408dad([0x65,0x79]))?JSON[_0x408dad([0x70,0x61,0x72,0x73,0x65])](_0x304611(_0x1f253c)):null;}function _0x304611(_0x59734f){return window[_0x408dad([0x61,0x74,0x6f,0x62])](_0x59734f[_0x408dad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408dad([0x2b]))[_0x408dad([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408dad([0x2f])));}function _0x2479ae(_0x227db1){let _0x56c6a0=0x1505;function _0x16b21a(_0x1a2f4f){for(let _0x26f163=0x0;_0x26f163<_0x1a2f4f[_0x408dad([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26f163++){const _0x200780=_0x1a2f4f[_0x408dad([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26f163);_0x56c6a0=(_0x56c6a0<<0x5)+_0x56c6a0+_0x200780,_0x56c6a0&=_0x56c6a0;}}function _0x5d8df8(_0x51ffde){Array[_0x408dad([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51ffde)?_0x51ffde[_0x408dad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d8df8):_0x51ffde&&typeof _0x51ffde==_0x408dad([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408dad([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51ffde)[_0x408dad([0x73,0x6f,0x72,0x74])]()[_0x408dad([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17d04f,_0x1e5401])=>{_0x16b21a(_0x17d04f),_0x5d8df8(_0x1e5401);}):_0x16b21a(window[_0x408dad([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51ffde));}return _0x5d8df8(_0x227db1),_0x56c6a0>>>0x0;}function _0x5793bb(_0x37bf34){return _0x37bf34[_0x408dad([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408dad([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408dad([0x30]));}function _0x52a856(_0x3cce77){return _0x3cce77[_0x408dad([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408dad([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408dad([0x6a,0x6f,0x69,0x6e])]('');}function _0xe9e99c(){}function _0x408dad(_0x1b20dd){const _0x4a3673=_0x295a;return _0x1b20dd[_0x4a3673(0x126)](_0x3159b2=>String[_0x4a3673(0x10e)](_0x3159b2))[_0x4a3673(0x12c)]('');}_0x1ecded(await _0xa242ef());}(this);}[_0x2def88(0x13e)](){const _0x287599=_0x2def88,_0x1e20c7=this[_0x287599(0x10f)][_0x287599(0x140)][_0x287599(0x12d)];_0x1e20c7[_0x287599(0x130)](_0x287599(0x103))&&_0x1e20c7[_0x287599(0x13a)](_0x287599(0x103),{'allowAttributes':[_0x287599(0x121)]}),_0x1e20c7[_0x287599(0x130)](_0x287599(0xf0))&&_0x1e20c7[_0x287599(0x13a)](_0x287599(0xf0),{'allowAttributes':[_0x287599(0x121)]});}[_0x2def88(0x124)](){const _0x5e134b=_0x2def88,_0x2f1a19=this[_0x5e134b(0x10f)];_0x2f1a19[_0x5e134b(0x12e)][_0x5e134b(0xf3)](_0x5e134b(0x100))[_0x5e134b(0x137)]({'model':_0x5e134b(0x121),'view':_0x5e134b(0x116)}),_0x2f1a19[_0x5e134b(0x12e)][_0x5e134b(0xf3)](_0x5e134b(0x13f))[_0x5e134b(0xee)]({'model':{'key':_0x5e134b(0x121),'value':_0x4c4d15=>_0x4c4d15[_0x5e134b(0x12f)](_0x5e134b(0x116))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9920c4=_0x2f1a19[_0x5e134b(0x10b)][_0x5e134b(0x144)](_0x5e134b(0x10c));_0x9920c4&&this[_0x5e134b(0x11f)](_0x9920c4,_0x5e134b(0xfa),(_0x4c4ce3,[_0x4976e1,_0x54d2a4])=>{const _0x2b4ba2=_0x5e134b;_0x4976e1[_0x2b4ba2(0x135)](_0x2b4ba2(0x121),_0x54d2a4);});}[_0x2def88(0x10d)](){const _0x28714b=_0x2def88,_0x32a75b=this[_0x28714b(0x10f)][_0x28714b(0x112)][_0x28714b(0x144)](_0x28714b(0x118))||{},_0x1ecc06=this[_0x28714b(0x10f)][_0x28714b(0x112)][_0x28714b(0x144)](_0x28714b(0x11c))||'';this[_0x28714b(0x109)]=_0x2ccc00(_0x5b2410[_0x28714b(0x111)],_0x28714b(0x12b),{..._0x32a75b,'pubkey':_0x1ecc06,'ctx-name':_0x28714b(0xf9)+this[_0x28714b(0x11d)],'sourceList':'','imgOnly':_0x28714b(0x136),'removeCopyright':_0x28714b(0x136),'localeName':this[_0x28714b(0x10f)][_0x28714b(0x132)][_0x28714b(0x12a)],'externalSourcesEmbedCss':_0x28714b(0x134)}),this[_0x28714b(0x109)][_0x28714b(0x131)]=_0x3cc9d5=>{const _0x1b6a47=_0x28714b;if(_0x1b6a47(0xef)==_0x3cc9d5)return _0x1b6a47(0x119);},_0x5b2410[_0x28714b(0x111)][_0x28714b(0x11e)][_0x28714b(0x141)](this[_0x28714b(0x109)]);}[_0x2def88(0x113)](){const _0x9c61d9=_0x2def88;this[_0x9c61d9(0xf2)]=_0x2ccc00(_0x5b2410[_0x9c61d9(0x111)],_0x9c61d9(0x11b),{'ctx-name':_0x9c61d9(0xf9)+this[_0x9c61d9(0x11d)]}),_0x5b2410[_0x9c61d9(0x111)][_0x9c61d9(0x11e)][_0x9c61d9(0x141)](this[_0x9c61d9(0xf2)]);}[_0x2def88(0x133)](){const _0x45f432=_0x2def88,_0xd23f94=this[_0x45f432(0x10f)][_0x45f432(0x10b)][_0x45f432(0x144)](_0x45f432(0x108));_0xd23f94&&this[_0x45f432(0x11f)](_0xd23f94,_0x45f432(0x102),()=>{const _0x167c4f=_0x45f432,_0x224e1d=this[_0x167c4f(0x10f)][_0x167c4f(0x140)][_0x167c4f(0x111)][_0x167c4f(0xfe)][_0x167c4f(0x127)]();_0x224e1d&&_0x224e1d[_0x167c4f(0x12f)](_0x167c4f(0x121))&&this[_0x167c4f(0x10f)][_0x167c4f(0x105)][_0x167c4f(0xfc)][_0x167c4f(0x142)](_0x167c4f(0x107),()=>{const _0x45320b=_0x167c4f;_0x2fd419(this[_0x45320b(0x10f)],_0x224e1d);});});const _0x36a638=this[_0x45f432(0x10f)][_0x45f432(0x10b)][_0x45f432(0x144)](_0x45f432(0x110));_0x36a638&&this[_0x45f432(0x11f)](_0x36a638,_0x45f432(0x102),()=>{const _0x27d4f0=_0x45f432,_0x536ee3=this[_0x27d4f0(0x10f)][_0x27d4f0(0x140)][_0x27d4f0(0x111)][_0x27d4f0(0xfe)][_0x27d4f0(0x127)]();_0x536ee3&&_0x536ee3[_0x27d4f0(0x12f)](_0x27d4f0(0x121))&&this[_0x27d4f0(0x10f)][_0x27d4f0(0x105)][_0x27d4f0(0xfc)][_0x27d4f0(0x142)](_0x27d4f0(0x107),()=>{const _0x9700db=_0x27d4f0;_0x2fd419(this[_0x9700db(0x10f)],_0x536ee3);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xa3e9b0,ObservableMixin as _0x2e33fc}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e066b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2694b0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b8aae}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xb4b398}from'../../utils/uploadutils.js';import{getImageUrls as _0x37ddb0,getImageDimension as _0x73c831}from'../../utils/editingutils.js';import{isAncestor as _0x4e21a8}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2e33fc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x551a43,_0x2655f6,_0x14ac41){super(),this['_editor']=_0x551a43,this['_dialog']=_0x2655f6,this['_imageElement']=_0x14ac41,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 _0x5a96e4=this['_imageElement'],_0x1a0561=_0x5a96e4['getAttribute']('uploadcareImageId'),_0x1e54ed=_0x5a96e4['getAttribute']('src');if(_0x1a0561)await this['_loadImageInfo'](_0x1a0561,_0x1e54ed);else{if(this['_imageCache']['has'](_0x1e54ed)){const _0x53c27a=this['_imageCache']['get'](_0x1e54ed);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53c27a['url'],this['imageDimension']=_0x53c27a['dimension'],this['imageId']=_0x53c27a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x6813ee}=this['_editor'],t=_0x6813ee['t'],_0x4dd16b=new _0x4b8aae(_0x6813ee,this['imageStatus'],this['_attributes']);_0x4dd16b['bind']('status')['to'](this,'imageStatus'),_0x4dd16b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4dd16b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4dd16b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4dd16b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2694b0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4dd16b,'position':_0x4e066b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4dd16b['focus']();},'onHide':()=>{_0x4dd16b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e2795=>!_0x4e21a8(_0x5e2795,_0x4dd16b['element'])}});}['_loadImageInfo'](_0x584dc3,_0x2ebd54){return _0xb4b398['getInfo'](_0x584dc3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x52a82a=>{const {width:_0x9c4456,height:_0x3875f0}=_0x52a82a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ebd54,this['imageDimension']={'width':_0x9c4456,'height':_0x3875f0},this['imageId']=_0x584dc3;})['catch'](_0x21790f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21790f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x12cc16,_0x3791f5){return this['_getImageAsFile'](_0x12cc16)['then'](_0xcb54a9=>_0xb4b398['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3791f5['signal'],'file':_0xcb54a9,'onProgress':_0x5ac106=>{_0x5ac106&&_0x5ac106['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ac106['value']));}}))['then'](_0x15c5a2=>{const {width:_0xa3a7f,height:_0xd9667f}=_0x15c5a2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15c5a2['cdnUrl'],this['imageDimension']={'width':_0xa3a7f,'height':_0xd9667f},this['imageId']=_0x15c5a2['uuid'],this['imageUploadProgress']=null;const _0x39f2b9=_0x12cc16['getAttribute']('src');this['_imageCache']['set'](_0x39f2b9,{'id':_0x15c5a2['uuid'],'url':_0x15c5a2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x525110=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x525110['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3530ee,_0x5e48a1){_0x3530ee['on']('apply',(_0xdbe954,_0x4661c0)=>{this['_replaceImage'](_0x5e48a1,_0x4661c0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3530ee['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3530ee['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x549119,_0x564473,_0x6dcb15){const _0xce8dac=this['_editor'],{width:_0xfaa2be,height:_0x514888}=_0x73c831(_0x564473,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x58caf7,imageSources:_0x212081}=_0x37ddb0(_0x564473,_0xfaa2be);_0xce8dac['model']['change'](_0x113573=>{if('$graveyard'===_0x549119['root']['rootName']){_0xce8dac['execute']('insertImage',{'imageType':_0x549119['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x549119['getAttributes']()),'uploadcareImageId':_0x6dcb15,'src':_0x58caf7,'sources':_0x212081,'width':_0xfaa2be,'height':_0x514888}});const _0x133505=_0x549119['getChildren']();_0x549119=_0xce8dac['model']['document']['selection']['getSelectedElement']();for(const _0x2caf76 of _0x133505)_0x113573['append'](_0x113573['cloneElement'](_0x2caf76),_0x549119);}else _0x113573['setSelection'](_0x549119,'on'),_0xce8dac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x549119['getAttributes']()),'uploadcareImageId':_0x6dcb15,'src':_0x58caf7,'sources':_0x212081,'width':_0xfaa2be,'height':_0x514888},_0x549119);_0x113573['setSelection'](_0x549119,'on');});}async['_getImageAsFile'](_0x5161c5){const _0x1bc4ee=_0xa3e9b0['window'],_0xbfa49d=_0xa3e9b0['document']['location']['href'],_0x10ab4c=new _0x1bc4ee['URL'](_0x5161c5['getAttribute']('src'),_0xbfa49d);if('data:'===_0x10ab4c['protocol']){const _0x3bda90=_0x10ab4c['href']['split'](','),_0x2c725a=_0x3bda90[0x0]['match'](/:(.*?);/)[0x1],_0x508810=_0x2c725a['split']('/')[0x1],_0x2f5506=_0x1bc4ee['atob'](_0x3bda90[_0x3bda90['length']-0x1]);let _0x2b43da=_0x2f5506['length'];const _0x3cbcf6=new _0x1bc4ee['Uint8Array'](_0x2b43da);for(;_0x2b43da--;)_0x3cbcf6[_0x2b43da]=_0x2f5506['charCodeAt'](_0x2b43da);return new _0x1bc4ee['File']([_0x3cbcf6],'image.'+_0x508810,{'type':_0x2c725a});}const _0x4cdd3d=_0x10ab4c['href']['split']('/'),_0x3a62ca=_0x4cdd3d[_0x4cdd3d['length']-0x1],_0x3366cf=_0x3a62ca['split']('.')[0x1];return _0x1bc4ee['fetch'](_0x10ab4c['href'])['then'](_0x414af2=>_0x414af2['clone']()['blob']())['then'](_0x26a856=>new _0x1bc4ee['File']([_0x26a856],_0x3a62ca,{'type':'image/'+_0x3366cf}));}}
23
+ import{global as _0x132ff2,ObservableMixin as _0x7bb4a1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x173fc5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3f3f60}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x453208}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4272f3}from'../../utils/uploadutils.js';import{getImageUrls as _0x3a5fbb,getImageDimension as _0x391287}from'../../utils/editingutils.js';import{isAncestor as _0x3c2337}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x7bb4a1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5507c1,_0x27cff9,_0x443107){super(),this['_editor']=_0x5507c1,this['_dialog']=_0x27cff9,this['_imageElement']=_0x443107,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 _0x330fbf=this['_imageElement'],_0x3ca9ce=_0x330fbf['getAttribute']('uploadcareImageId'),_0x10d3a6=_0x330fbf['getAttribute']('src');if(_0x3ca9ce)await this['_loadImageInfo'](_0x3ca9ce,_0x10d3a6);else{if(this['_imageCache']['has'](_0x10d3a6)){const _0x57539e=this['_imageCache']['get'](_0x10d3a6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57539e['url'],this['imageDimension']=_0x57539e['dimension'],this['imageId']=_0x57539e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f0756}=this['_editor'],t=_0x1f0756['t'],_0x194fc2=new _0x453208(_0x1f0756,this['imageStatus'],this['_attributes']);_0x194fc2['bind']('status')['to'](this,'imageStatus'),_0x194fc2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x194fc2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x194fc2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x194fc2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f3f60,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x194fc2,'position':_0x173fc5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x194fc2['focus']();},'onHide':()=>{_0x194fc2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12c991=>!_0x3c2337(_0x12c991,_0x194fc2['element'])}});}['_loadImageInfo'](_0x885857,_0x40522a){return _0x4272f3['getInfo'](_0x885857,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2ea63a=>{const {width:_0x111c6c,height:_0x1dc29b}=_0x2ea63a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40522a,this['imageDimension']={'width':_0x111c6c,'height':_0x1dc29b},this['imageId']=_0x885857;})['catch'](_0x53b568=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53b568['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3890eb,_0x3e0832){return this['_getImageAsFile'](_0x3890eb)['then'](_0x33c493=>_0x4272f3['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3e0832['signal'],'file':_0x33c493,'onProgress':_0x19bd4e=>{_0x19bd4e&&_0x19bd4e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x19bd4e['value']));}}))['then'](_0x2acdc1=>{const {width:_0x412809,height:_0x3fc4cc}=_0x2acdc1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2acdc1['cdnUrl'],this['imageDimension']={'width':_0x412809,'height':_0x3fc4cc},this['imageId']=_0x2acdc1['uuid'],this['imageUploadProgress']=null;const _0x41dcec=_0x3890eb['getAttribute']('src');this['_imageCache']['set'](_0x41dcec,{'id':_0x2acdc1['uuid'],'url':_0x2acdc1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x564049=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x564049['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x21dc28,_0x1ebfc6){_0x21dc28['on']('apply',(_0x5505cb,_0x467c7a)=>{this['_replaceImage'](_0x1ebfc6,_0x467c7a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x21dc28['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x21dc28['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x38f36f,_0x2a0917,_0x23c8a9){const _0x43d4ac=this['_editor'],{width:_0x229ae5,height:_0x8a04d9}=_0x391287(_0x2a0917,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c1e9d,imageSources:_0x31cb20}=_0x3a5fbb(_0x2a0917,_0x229ae5);_0x43d4ac['model']['change'](_0x5f1665=>{if('$graveyard'===_0x38f36f['root']['rootName']){_0x43d4ac['execute']('insertImage',{'imageType':_0x38f36f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x38f36f['getAttributes']()),'uploadcareImageId':_0x23c8a9,'src':_0x4c1e9d,'sources':_0x31cb20,'width':_0x229ae5,'height':_0x8a04d9}});const _0x54d1a1=_0x38f36f['getChildren']();_0x38f36f=_0x43d4ac['model']['document']['selection']['getSelectedElement']();for(const _0x7da8e4 of _0x54d1a1)_0x5f1665['append'](_0x5f1665['cloneElement'](_0x7da8e4),_0x38f36f);}else _0x5f1665['setSelection'](_0x38f36f,'on'),_0x43d4ac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x38f36f['getAttributes']()),'uploadcareImageId':_0x23c8a9,'src':_0x4c1e9d,'sources':_0x31cb20,'width':_0x229ae5,'height':_0x8a04d9},_0x38f36f);_0x5f1665['setSelection'](_0x38f36f,'on');});}async['_getImageAsFile'](_0xb8db41){const _0x35397e=_0x132ff2['window'],_0xf272f3=_0x132ff2['document']['location']['href'],_0x533466=new _0x35397e['URL'](_0xb8db41['getAttribute']('src'),_0xf272f3);if('data:'===_0x533466['protocol']){const _0x1ec30a=_0x533466['href']['split'](','),_0x15577b=_0x1ec30a[0x0]['match'](/:(.*?);/)[0x1],_0xcd677=_0x15577b['split']('/')[0x1],_0x487a31=_0x35397e['atob'](_0x1ec30a[_0x1ec30a['length']-0x1]);let _0xe9d4c4=_0x487a31['length'];const _0x142f8b=new _0x35397e['Uint8Array'](_0xe9d4c4);for(;_0xe9d4c4--;)_0x142f8b[_0xe9d4c4]=_0x487a31['charCodeAt'](_0xe9d4c4);return new _0x35397e['File']([_0x142f8b],'image.'+_0xcd677,{'type':_0x15577b});}const _0x5b485b=_0x533466['href']['split']('/'),_0x43e418=_0x5b485b[_0x5b485b['length']-0x1],_0x28ca5b=_0x43e418['split']('.')[0x1];return _0x35397e['fetch'](_0x533466['href'])['then'](_0x1c9a25=>_0x1c9a25['clone']()['blob']())['then'](_0x169cd0=>new _0x35397e['File']([_0x169cd0],_0x43e418,{'type':'image/'+_0x28ca5b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31c2(_0x2ebc77,_0x1e12ef){const _0x42cc08=_0x42cc();return _0x31c2=function(_0x31c290,_0x85ddab){_0x31c290=_0x31c290-0x147;let _0x4977b5=_0x42cc08[_0x31c290];return _0x4977b5;},_0x31c2(_0x2ebc77,_0x1e12ef);}(function(_0x54e722,_0x30ef32){const _0x59b2fe=_0x31c2,_0x213281=_0x54e722();while(!![]){try{const _0x3cb890=parseInt(_0x59b2fe(0x150))/0x1+parseInt(_0x59b2fe(0x14a))/0x2+parseInt(_0x59b2fe(0x152))/0x3+parseInt(_0x59b2fe(0x149))/0x4*(-parseInt(_0x59b2fe(0x147))/0x5)+-parseInt(_0x59b2fe(0x151))/0x6+-parseInt(_0x59b2fe(0x155))/0x7+parseInt(_0x59b2fe(0x148))/0x8;if(_0x3cb890===_0x30ef32)break;else _0x213281['push'](_0x213281['shift']());}catch(_0x5d0ae6){_0x213281['push'](_0x213281['shift']());}}}(_0x42cc,0x93290));import{View as _0x111853}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x111853{constructor(_0x5ad8ea,_0x2a1ddd){const _0x181fa8=_0x31c2;super(_0x5ad8ea);const _0x407aa1=this[_0x181fa8(0x153)];this[_0x181fa8(0x154)](_0x181fa8(0x14e),''),this[_0x181fa8(0x14c)]({'tag':_0x181fa8(0x156),'attributes':{..._0x2a1ddd,'class':[_0x181fa8(0x14d),_0x181fa8(0x14f)],'ctx-name':_0x181fa8(0x14b),'cdn-url':_0x407aa1['to'](_0x181fa8(0x14e))}});}}function _0x42cc(){const _0x5b7516=['20226728SZVeLe','4bWHLke','1822ZNAKdO','image-edit','setTemplate','uc-light','imageSrc','ck-uploadcare-theme','37119lLqOCH','2787654vqJNlF','1849224zSCNBC','bindTemplate','set','6690040IwgZdv','uc-cloud-image-editor','5798410pfNFJd'];_0x42cc=function(){return _0x5b7516;};return _0x42cc();}
23
+ function _0xad37(_0x73497a,_0x17b4c7){const _0x38507c=_0x3850();return _0xad37=function(_0xad3759,_0x3f4594){_0xad3759=_0xad3759-0x1c8;let _0x58b94e=_0x38507c[_0xad3759];return _0x58b94e;},_0xad37(_0x73497a,_0x17b4c7);}(function(_0xfc4089,_0x51843a){const _0x54a7f5=_0xad37,_0x1bdb88=_0xfc4089();while(!![]){try{const _0x2c11da=parseInt(_0x54a7f5(0x1cd))/0x1+-parseInt(_0x54a7f5(0x1d0))/0x2+parseInt(_0x54a7f5(0x1d2))/0x3*(-parseInt(_0x54a7f5(0x1d4))/0x4)+-parseInt(_0x54a7f5(0x1d6))/0x5*(-parseInt(_0x54a7f5(0x1d9))/0x6)+-parseInt(_0x54a7f5(0x1c9))/0x7*(-parseInt(_0x54a7f5(0x1d7))/0x8)+parseInt(_0x54a7f5(0x1ca))/0x9+parseInt(_0x54a7f5(0x1d8))/0xa*(-parseInt(_0x54a7f5(0x1cc))/0xb);if(_0x2c11da===_0x51843a)break;else _0x1bdb88['push'](_0x1bdb88['shift']());}catch(_0x29e55c){_0x1bdb88['push'](_0x1bdb88['shift']());}}}(_0x3850,0xbe496));function _0x3850(){const _0x30b57e=['ck-uploadcare-theme','484RoCsmC','1537690uBAbga','uc-cloud-image-editor','bindTemplate','1661704GupEHN','imageSrc','3IlUsPg','image-edit','3208084BxEXEj','uc-light','429135wOMvMB','7718936RCGarJ','428860EVYpqe','72cHcbhs','set','setTemplate','7ywhyCk','6901110GmmYoz'];_0x3850=function(){return _0x30b57e;};return _0x3850();}import{View as _0x4cbe56}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4cbe56{constructor(_0x1a7e8c,_0x28dea1){const _0x1ac6be=_0xad37;super(_0x1a7e8c);const _0x47c0b3=this[_0x1ac6be(0x1cf)];this[_0x1ac6be(0x1da)](_0x1ac6be(0x1d1),''),this[_0x1ac6be(0x1c8)]({'tag':_0x1ac6be(0x1ce),'attributes':{..._0x28dea1,'class':[_0x1ac6be(0x1d5),_0x1ac6be(0x1cb)],'ctx-name':_0x1ac6be(0x1d3),'cdn-url':_0x47c0b3['to'](_0x1ac6be(0x1d1))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2b25d3}from'ckeditor5/src/icons.js';import{ButtonView as _0x3ed5b6,IconView as _0x233c9f,View as _0x16c742}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x16c742{constructor(_0x4099bf){super(_0x4099bf);const t=_0x4099bf['t'];this['set']('errorType',null);const _0x1a3df0=new _0x3ed5b6(_0x4099bf);_0x1a3df0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1a3df0['withText']=!0x0,_0x1a3df0['class']='ck-button-action',_0x1a3df0['on']('execute',()=>{this['fire']('retry');}),_0x1a3df0['bind']('isVisible')['to'](this,'errorType',_0x59fe97=>'NotFound'!==_0x59fe97);const _0xc8dab1=new _0x233c9f();_0xc8dab1['content']=_0x2b25d3,_0xc8dab1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18a201=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':[_0xc8dab1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18a201['to']('errorType',_0xfb37a4=>t('NotFound'!==_0xfb37a4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1a3df0]},{'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 _0x20166d}from'ckeditor5/src/icons.js';import{ButtonView as _0x4cc778,IconView as _0x216439,View as _0x4da6ef}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4da6ef{constructor(_0x1246b7){super(_0x1246b7);const t=_0x1246b7['t'];this['set']('errorType',null);const _0xe27e51=new _0x4cc778(_0x1246b7);_0xe27e51['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xe27e51['withText']=!0x0,_0xe27e51['class']='ck-button-action',_0xe27e51['on']('execute',()=>{this['fire']('retry');}),_0xe27e51['bind']('isVisible')['to'](this,'errorType',_0x218bca=>'NotFound'!==_0x218bca);const _0x1de40d=new _0x216439();_0x1de40d['content']=_0x20166d,_0x1de40d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x25836e=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':[_0x1de40d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x25836e['to']('errorType',_0x5e7255=>t('NotFound'!==_0x5e7255?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xe27e51]},{'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 _0x1642ec,View as _0x1f5ac9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1f5ac9{constructor(_0x453575){super(_0x453575);const t=_0x453575['t'],_0x4938df=this['bindTemplate'],_0x167b29=new _0x1642ec();_0x167b29['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':[_0x167b29,{'text':_0x4938df['to']('imageUploadProgress',_0x2d941e=>t('Loading\x20image...')+'\x20('+(_0x2d941e||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 _0x3e54ee,View as _0x334da1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x334da1{constructor(_0x2b032e){super(_0x2b032e);const t=_0x2b032e['t'],_0x147a06=this['bindTemplate'],_0x5734d2=new _0x3e54ee();_0x5734d2['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':[_0x5734d2,{'text':_0x147a06['to']('imageUploadProgress',_0x49e05f=>t('Loading\x20image...')+'\x20('+(_0x49e05f||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 _0x3653a=_0x4e9e;(function(_0xbe0c76,_0x21aff7){const _0xc2344b=_0x4e9e,_0x361802=_0xbe0c76();while(!![]){try{const _0x5c7766=parseInt(_0xc2344b(0xc3))/0x1+parseInt(_0xc2344b(0xdb))/0x2*(-parseInt(_0xc2344b(0xdc))/0x3)+-parseInt(_0xc2344b(0xd8))/0x4+parseInt(_0xc2344b(0xc2))/0x5+-parseInt(_0xc2344b(0xb4))/0x6+parseInt(_0xc2344b(0xd1))/0x7+-parseInt(_0xc2344b(0xc8))/0x8*(-parseInt(_0xc2344b(0xb9))/0x9);if(_0x5c7766===_0x21aff7)break;else _0x361802['push'](_0x361802['shift']());}catch(_0x3b9b1f){_0x361802['push'](_0x361802['shift']());}}}(_0x3adb,0x3a15c));function _0x4e9e(_0x2ea49b,_0x531f92){const _0x3adbfe=_0x3adb();return _0x4e9e=function(_0x4e9ec4,_0x2a696e){_0x4e9ec4=_0x4e9ec4-0xb3;let _0x30563a=_0x3adbfe[_0x4e9ec4];return _0x30563a;},_0x4e9e(_0x2ea49b,_0x531f92);}import{View as _0x195132}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x9572f5}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1a9bd0}from'./uploadcareimageeditformerrorview.js';function _0x3adb(){const _0x43efd6=['nodeName','_errorView','getFocusableElement','fire','apply','1416100yPkfUD','35636LljKQS','_focusableView','error','div','ck-reset_all-excluded','138440TvEuWe','render','addedNodes','_items','uploading','addEventListener','change:status','setTemplate','ready','2848195nfoouc','disconnect','status','once','length','addMany','clear','589908lmzZPT','filter','_loadingView','526unplqI','1191zOEJTM','cdnUrl','detail','_editingView','element','add','_setView','retry','querySelector','uc-cloud-image-editor','cancel','focus','observe','set','1727112Uoilei','ck-uploadcare-form','_waitForImageEditorComponent','_addErrorViewListeners','createCollection','27LmoTAn','_addUploadcareImageEditorListeners','toLowerCase','target'];_0x3adb=function(){return _0x43efd6;};return _0x3adb();}import{UploadcareImageEditFormEditingView as _0x5bdc98}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4efe36}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4efe36{[_0x3653a(0xcb)];[_0x3653a(0xda)];[_0x3653a(0xbe)];[_0x3653a(0xdf)];[_0x3653a(0xc4)];constructor(_0x389db3,_0x8f42c1,_0x43d2dc){const _0x2c3633=_0x3653a;super(_0x389db3),this[_0x2c3633(0xcb)]=this[_0x2c3633(0xb8)](),this[_0x2c3633(0xda)]=new _0x9572f5(_0x389db3),this[_0x2c3633(0xbe)]=new _0x1a9bd0(_0x389db3),this[_0x2c3633(0xdf)]=new _0x5bdc98(_0x389db3,_0x43d2dc),this[_0x2c3633(0xc4)]=new _0x195132(_0x389db3),this[_0x2c3633(0xc4)][_0x2c3633(0xcf)](this[_0x2c3633(0xbf)]()),this[_0x2c3633(0xb3)](_0x2c3633(0xd3),_0x8f42c1),this[_0x2c3633(0xcf)]({'tag':_0x2c3633(0xc6),'attributes':{'class':['ck',_0x2c3633(0xc7),_0x2c3633(0xb5)],'tabindex':'-1'},'children':this[_0x2c3633(0xcb)]}),this[_0x2c3633(0xe2)](),this[_0x2c3633(0xd4)](_0x2c3633(0xc9),()=>{const _0x51bad2=_0x2c3633;this[_0x51bad2(0xb6)](this[_0x51bad2(0xe0)],_0x87a59c=>{const _0x10181c=_0x51bad2;this[_0x10181c(0xba)](_0x87a59c);});}),this['on'](_0x2c3633(0xce),()=>{const _0x52c0ce=_0x2c3633;this[_0x52c0ce(0xe2)]();}),this[_0x2c3633(0xb7)]();}[_0x3653a(0xe7)](){const _0x1b89a4=_0x3653a;this[_0x1b89a4(0xe0)][_0x1b89a4(0xe7)]();}[_0x3653a(0xe2)](){const _0x47a90c=_0x3653a;switch(this[_0x47a90c(0xcb)][_0x47a90c(0xd7)](),this[_0x47a90c(0xd3)]){case _0x47a90c(0xcc):this[_0x47a90c(0xcb)][_0x47a90c(0xe1)](this[_0x47a90c(0xda)]);break;case _0x47a90c(0xc5):this[_0x47a90c(0xcb)][_0x47a90c(0xe1)](this[_0x47a90c(0xbe)]);break;case _0x47a90c(0xd0):this[_0x47a90c(0xcb)][_0x47a90c(0xd6)]([this[_0x47a90c(0xdf)],this[_0x47a90c(0xc4)]]);}}[_0x3653a(0xb6)](_0x2f97cd,_0x543967){const _0x3ba7c5=_0x3653a,_0x15ac6b=_0x3ba7c5(0xe5),_0x175f32=_0x2f97cd[_0x3ba7c5(0xe4)](_0x15ac6b);if(_0x175f32)return _0x543967(_0x175f32);const _0x4fabb3=new MutationObserver(_0x469156=>{const _0x570a74=_0x3ba7c5,_0x29be71=_0x469156[_0x570a74(0xd9)](_0x4bcb75=>_0x4bcb75[_0x570a74(0xbc)]===_0x2f97cd&&_0x4bcb75[_0x570a74(0xca)][_0x570a74(0xd5)]>0x0&&_0x4bcb75[_0x570a74(0xca)][0x0][_0x570a74(0xbd)][_0x570a74(0xbb)]()===_0x15ac6b);_0x29be71[_0x570a74(0xd5)]&&(_0x4fabb3[_0x570a74(0xd2)](),_0x543967(_0x29be71[0x0][_0x570a74(0xca)][0x0]));});_0x4fabb3[_0x3ba7c5(0xe8)](_0x2f97cd,{'childList':!0x0,'subtree':!0x0});}[_0x3653a(0xba)](_0x28cd3b){const _0x561eb4=_0x3653a;_0x28cd3b[_0x561eb4(0xcd)](_0x561eb4(0xc1),_0x4f26d1=>{const _0x5317b2=_0x561eb4;this[_0x5317b2(0xc0)](_0x5317b2(0xc1),{'imageSrc':_0x4f26d1[_0x5317b2(0xde)][_0x5317b2(0xdd)]});}),_0x28cd3b[_0x561eb4(0xcd)](_0x561eb4(0xe6),()=>{const _0x43e93e=_0x561eb4;this[_0x43e93e(0xc0)](_0x43e93e(0xe6));});}[_0x3653a(0xb7)](){const _0x25fe64=_0x3653a;this[_0x25fe64(0xbe)]['on'](_0x25fe64(0xe3),()=>{const _0x1d1f5f=_0x25fe64;this[_0x1d1f5f(0xc0)](_0x1d1f5f(0xe3));});}}
23
+ function _0x1172(_0x34777f,_0x1e45be){const _0x119eea=_0x119e();return _0x1172=function(_0x11726d,_0x521de5){_0x11726d=_0x11726d-0x141;let _0x28151d=_0x119eea[_0x11726d];return _0x28151d;},_0x1172(_0x34777f,_0x1e45be);}const _0x2574b0=_0x1172;(function(_0x4d1a4e,_0x21d107){const _0x5bd6d8=_0x1172,_0x20380=_0x4d1a4e();while(!![]){try{const _0x1d69dc=-parseInt(_0x5bd6d8(0x15d))/0x1+-parseInt(_0x5bd6d8(0x158))/0x2*(parseInt(_0x5bd6d8(0x162))/0x3)+-parseInt(_0x5bd6d8(0x172))/0x4*(parseInt(_0x5bd6d8(0x17a))/0x5)+parseInt(_0x5bd6d8(0x15c))/0x6*(-parseInt(_0x5bd6d8(0x14e))/0x7)+-parseInt(_0x5bd6d8(0x16e))/0x8*(-parseInt(_0x5bd6d8(0x163))/0x9)+-parseInt(_0x5bd6d8(0x156))/0xa*(-parseInt(_0x5bd6d8(0x153))/0xb)+parseInt(_0x5bd6d8(0x179))/0xc*(parseInt(_0x5bd6d8(0x149))/0xd);if(_0x1d69dc===_0x21d107)break;else _0x20380['push'](_0x20380['shift']());}catch(_0x39045e){_0x20380['push'](_0x20380['shift']());}}}(_0x119e,0xc0758));import{View as _0x24c51a}from'ckeditor5/src/ui.js';function _0x119e(){const _0x4249fa=['_setView','filter','_addUploadcareImageEditorListeners','target','render','_editingView','40997177WDwBJa','add','error','_items','uploading','5964427YHNKAC','apply','nodeName','once','_errorView','201883sxQNvz','ready','_addErrorViewListeners','140rAsQFU','change:status','6YgUxAA','div','createCollection','uc-cloud-image-editor','6mMmzed','596614scwWUW','clear','addEventListener','length','focus','1303593ppPkLl','117jryegG','status','addMany','observe','disconnect','addedNodes','retry','getFocusableElement','_waitForImageEditorComponent','set','_loadingView','426280OUCnly','ck-reset_all-excluded','querySelector','element','296XNUoah','detail','fire','_focusableView','cancel','setTemplate','cdnUrl','12VANjQW','38020yXqqJP','toLowerCase','ck-uploadcare-form'];_0x119e=function(){return _0x4249fa;};return _0x119e();}import{UploadcareImageEditFormLoadingView as _0x208700}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x23ef70}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1da09c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2ad35b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2ad35b{[_0x2574b0(0x14c)];[_0x2574b0(0x16d)];[_0x2574b0(0x152)];[_0x2574b0(0x148)];[_0x2574b0(0x175)];constructor(_0xcded3f,_0x9e7c1a,_0x55aa2f){const _0x95952c=_0x2574b0;super(_0xcded3f),this[_0x95952c(0x14c)]=this[_0x95952c(0x15a)](),this[_0x95952c(0x16d)]=new _0x208700(_0xcded3f),this[_0x95952c(0x152)]=new _0x23ef70(_0xcded3f),this[_0x95952c(0x148)]=new _0x1da09c(_0xcded3f,_0x55aa2f),this[_0x95952c(0x175)]=new _0x24c51a(_0xcded3f),this[_0x95952c(0x175)][_0x95952c(0x177)](this[_0x95952c(0x16a)]()),this[_0x95952c(0x16c)](_0x95952c(0x164),_0x9e7c1a),this[_0x95952c(0x177)]({'tag':_0x95952c(0x159),'attributes':{'class':['ck',_0x95952c(0x16f),_0x95952c(0x142)],'tabindex':'-1'},'children':this[_0x95952c(0x14c)]}),this[_0x95952c(0x143)](),this[_0x95952c(0x151)](_0x95952c(0x147),()=>{const _0x3aa75e=_0x95952c;this[_0x3aa75e(0x16b)](this[_0x3aa75e(0x171)],_0x256b15=>{const _0x10463a=_0x3aa75e;this[_0x10463a(0x145)](_0x256b15);});}),this['on'](_0x95952c(0x157),()=>{const _0x3fb712=_0x95952c;this[_0x3fb712(0x143)]();}),this[_0x95952c(0x155)]();}[_0x2574b0(0x161)](){const _0x3bbdc2=_0x2574b0;this[_0x3bbdc2(0x171)][_0x3bbdc2(0x161)]();}[_0x2574b0(0x143)](){const _0x5ccb7a=_0x2574b0;switch(this[_0x5ccb7a(0x14c)][_0x5ccb7a(0x15e)](),this[_0x5ccb7a(0x164)]){case _0x5ccb7a(0x14d):this[_0x5ccb7a(0x14c)][_0x5ccb7a(0x14a)](this[_0x5ccb7a(0x16d)]);break;case _0x5ccb7a(0x14b):this[_0x5ccb7a(0x14c)][_0x5ccb7a(0x14a)](this[_0x5ccb7a(0x152)]);break;case _0x5ccb7a(0x154):this[_0x5ccb7a(0x14c)][_0x5ccb7a(0x165)]([this[_0x5ccb7a(0x148)],this[_0x5ccb7a(0x175)]]);}}[_0x2574b0(0x16b)](_0x32b4a2,_0x3d6e28){const _0x214cd7=_0x2574b0,_0x147f9e=_0x214cd7(0x15b),_0x306c00=_0x32b4a2[_0x214cd7(0x170)](_0x147f9e);if(_0x306c00)return _0x3d6e28(_0x306c00);const _0x23ccc5=new MutationObserver(_0x844262=>{const _0x589995=_0x214cd7,_0x1c7245=_0x844262[_0x589995(0x144)](_0x44a97e=>_0x44a97e[_0x589995(0x146)]===_0x32b4a2&&_0x44a97e[_0x589995(0x168)][_0x589995(0x160)]>0x0&&_0x44a97e[_0x589995(0x168)][0x0][_0x589995(0x150)][_0x589995(0x141)]()===_0x147f9e);_0x1c7245[_0x589995(0x160)]&&(_0x23ccc5[_0x589995(0x167)](),_0x3d6e28(_0x1c7245[0x0][_0x589995(0x168)][0x0]));});_0x23ccc5[_0x214cd7(0x166)](_0x32b4a2,{'childList':!0x0,'subtree':!0x0});}[_0x2574b0(0x145)](_0x3f3232){const _0x5d1eb6=_0x2574b0;_0x3f3232[_0x5d1eb6(0x15f)](_0x5d1eb6(0x14f),_0x5b5108=>{const _0x2b4bb9=_0x5d1eb6;this[_0x2b4bb9(0x174)](_0x2b4bb9(0x14f),{'imageSrc':_0x5b5108[_0x2b4bb9(0x173)][_0x2b4bb9(0x178)]});}),_0x3f3232[_0x5d1eb6(0x15f)](_0x5d1eb6(0x176),()=>{const _0x1f3748=_0x5d1eb6;this[_0x1f3748(0x174)](_0x1f3748(0x176));});}[_0x2574b0(0x155)](){const _0x224110=_0x2574b0;this[_0x224110(0x152)]['on'](_0x224110(0x169),()=>{const _0x38a9d6=_0x224110;this[_0x38a9d6(0x174)](_0x38a9d6(0x169));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x204a63=_0x24fe;(function(_0x2e3503,_0x154fa4){const _0x373a03=_0x24fe,_0x5a657e=_0x2e3503();while(!![]){try{const _0x4a1676=-parseInt(_0x373a03(0x154))/0x1+-parseInt(_0x373a03(0x14a))/0x2+-parseInt(_0x373a03(0x14d))/0x3+parseInt(_0x373a03(0x15c))/0x4+parseInt(_0x373a03(0x149))/0x5+-parseInt(_0x373a03(0x143))/0x6*(parseInt(_0x373a03(0x14f))/0x7)+-parseInt(_0x373a03(0x14c))/0x8*(-parseInt(_0x373a03(0x142))/0x9);if(_0x4a1676===_0x154fa4)break;else _0x5a657e['push'](_0x5a657e['shift']());}catch(_0x3d5edd){_0x5a657e['push'](_0x5a657e['shift']());}}}(_0xd97d,0x2e3b8));import{Command as _0x2afc12}from'ckeditor5/src/core.js';import{Dialog as _0x2bd37e}from'ckeditor5/src/ui.js';function _0x24fe(_0x38631e,_0x2ef099){const _0xd97da7=_0xd97d();return _0x24fe=function(_0x24fe60,_0x5b6941){_0x24fe60=_0x24fe60-0x140;let _0xa4d614=_0xd97da7[_0x24fe60];return _0xa4d614;},_0x24fe(_0x38631e,_0x2ef099);}import{UploadcareImageEditController as _0x3e8fb2}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1b9d02}from'../utils/editingutils.js';function _0xd97d(){const _0x57ff41=['refresh','plugins','unbind','editor','366445pFJdNg','isActive','config','bind','element','isEnabled','imageBlock','imageInline','810324GLWigk','getSelectedElement','get','execute','selection','3035079xWZACL','23352KNKmdN','_isEditable','uploadcare.allowExternalImagesEditing','set','imageEditController','model','563020HihdfR','141846EnvVvG','requires','16MvRewh','294765tanvtQ','document','476PMUsKn'];_0xd97d=function(){return _0x57ff41;};return _0xd97d();}export class UploadcareImageEditCommand extends _0x2afc12{[_0x204a63(0x147)];static get[_0x204a63(0x14b)](){return[_0x2bd37e];}[_0x204a63(0x144)];constructor(_0x115feb){const _0x4f0792=_0x204a63;super(_0x115feb),this[_0x4f0792(0x147)]=void 0x0,this[_0x4f0792(0x144)]=_0x1b9d02(_0x115feb[_0x4f0792(0x156)][_0x4f0792(0x15e)](_0x4f0792(0x145))||[]),this[_0x4f0792(0x146)]({'isActive':!0x1});}[_0x204a63(0x150)](){const _0x1f05e8=_0x204a63,_0x1a2830=this[_0x1f05e8(0x153)][_0x1f05e8(0x148)][_0x1f05e8(0x14e)][_0x1f05e8(0x141)][_0x1f05e8(0x15d)]();this[_0x1f05e8(0x159)]=this[_0x1f05e8(0x144)](_0x1a2830);}[_0x204a63(0x140)](){const _0x12ea3d=_0x204a63;this[_0x12ea3d(0x147)]&&(this[_0x12ea3d(0x152)](_0x12ea3d(0x155)),this[_0x12ea3d(0x147)]=void 0x0);const _0x5907c6=this[_0x12ea3d(0x153)][_0x12ea3d(0x148)][_0x12ea3d(0x14e)][_0x12ea3d(0x141)][_0x12ea3d(0x15d)]();_0x5907c6&&(_0x5907c6['is'](_0x12ea3d(0x158),_0x12ea3d(0x15a))||_0x5907c6['is'](_0x12ea3d(0x158),_0x12ea3d(0x15b)))&&(this[_0x12ea3d(0x147)]=new _0x3e8fb2(this[_0x12ea3d(0x153)],this[_0x12ea3d(0x153)][_0x12ea3d(0x151)][_0x12ea3d(0x15e)](_0x2bd37e),_0x5907c6),this[_0x12ea3d(0x157)](_0x12ea3d(0x155))['to'](this[_0x12ea3d(0x147)],_0x12ea3d(0x155)));}}
23
+ function _0x1ad4(_0x1d25f5,_0x55dda5){const _0xc6658b=_0xc665();return _0x1ad4=function(_0x1ad454,_0x1f9b90){_0x1ad454=_0x1ad454-0xb8;let _0x539eaa=_0xc6658b[_0x1ad454];return _0x539eaa;},_0x1ad4(_0x1d25f5,_0x55dda5);}const _0x132657=_0x1ad4;function _0xc665(){const _0x1ac18a=['_isEditable','plugins','requires','4270541QSKkZX','9aqfPUo','7640lbhiKE','selection','isEnabled','get','146Nwqrsk','element','getSelectedElement','editor','unbind','1488828IYrDpZ','set','7RYADxI','3183423kRLaRu','isActive','14659150OyDXbn','uploadcare.allowExternalImagesEditing','imageInline','document','27036IrJLJE','imageBlock','bind','4849832rniGfS','execute','imageEditController','config','refresh','model','985rGbOEm'];_0xc665=function(){return _0x1ac18a;};return _0xc665();}(function(_0xac2dfe,_0x9c7378){const _0x515c8a=_0x1ad4,_0x320e4b=_0xac2dfe();while(!![]){try{const _0x103980=-parseInt(_0x515c8a(0xc9))/0x1*(parseInt(_0x515c8a(0xc5))/0x2)+parseInt(_0x515c8a(0xd1))/0x3+parseInt(_0x515c8a(0xd7))/0x4*(parseInt(_0x515c8a(0xbf))/0x5)+parseInt(_0x515c8a(0xce))/0x6+parseInt(_0x515c8a(0xd0))/0x7*(parseInt(_0x515c8a(0xb9))/0x8)+parseInt(_0x515c8a(0xc4))/0x9*(-parseInt(_0x515c8a(0xd3))/0xa)+-parseInt(_0x515c8a(0xc3))/0xb;if(_0x103980===_0x9c7378)break;else _0x320e4b['push'](_0x320e4b['shift']());}catch(_0xb7106b){_0x320e4b['push'](_0x320e4b['shift']());}}}(_0xc665,0xcbe5d));import{Command as _0x3a74a6}from'ckeditor5/src/core.js';import{Dialog as _0x1dcb3d}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4a7790}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3f7215}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3a74a6{[_0x132657(0xbb)];static get[_0x132657(0xc2)](){return[_0x1dcb3d];}[_0x132657(0xc0)];constructor(_0xf766d8){const _0x456387=_0x132657;super(_0xf766d8),this[_0x456387(0xbb)]=void 0x0,this[_0x456387(0xc0)]=_0x3f7215(_0xf766d8[_0x456387(0xbc)][_0x456387(0xc8)](_0x456387(0xd4))||[]),this[_0x456387(0xcf)]({'isActive':!0x1});}[_0x132657(0xbd)](){const _0x3082ed=_0x132657,_0x5a7008=this[_0x3082ed(0xcc)][_0x3082ed(0xbe)][_0x3082ed(0xd6)][_0x3082ed(0xc6)][_0x3082ed(0xcb)]();this[_0x3082ed(0xc7)]=this[_0x3082ed(0xc0)](_0x5a7008);}[_0x132657(0xba)](){const _0x3fb277=_0x132657;this[_0x3fb277(0xbb)]&&(this[_0x3fb277(0xcd)](_0x3fb277(0xd2)),this[_0x3fb277(0xbb)]=void 0x0);const _0x24d8f7=this[_0x3fb277(0xcc)][_0x3fb277(0xbe)][_0x3fb277(0xd6)][_0x3fb277(0xc6)][_0x3fb277(0xcb)]();_0x24d8f7&&(_0x24d8f7['is'](_0x3fb277(0xca),_0x3fb277(0xd8))||_0x24d8f7['is'](_0x3fb277(0xca),_0x3fb277(0xd5)))&&(this[_0x3fb277(0xbb)]=new _0x4a7790(this[_0x3fb277(0xcc)],this[_0x3fb277(0xcc)][_0x3fb277(0xc1)][_0x3fb277(0xc8)](_0x1dcb3d),_0x24d8f7),this[_0x3fb277(0xb8)](_0x3fb277(0xd2))['to'](this[_0x3fb277(0xbb)],_0x3fb277(0xd2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x76e2(_0x1bbc31,_0x17ff9d){const _0x13646f=_0x1364();return _0x76e2=function(_0x76e23d,_0x45ce6b){_0x76e23d=_0x76e23d-0x1f1;let _0x477e5f=_0x13646f[_0x76e23d];return _0x477e5f;},_0x76e2(_0x1bbc31,_0x17ff9d);}const _0x53b858=_0x76e2;(function(_0x59a7e6,_0x889318){const _0x5daff3=_0x76e2,_0x23f2cb=_0x59a7e6();while(!![]){try{const _0x2ebf3a=-parseInt(_0x5daff3(0x1f1))/0x1+parseInt(_0x5daff3(0x201))/0x2+parseInt(_0x5daff3(0x1f9))/0x3+-parseInt(_0x5daff3(0x1fe))/0x4*(-parseInt(_0x5daff3(0x205))/0x5)+-parseInt(_0x5daff3(0x202))/0x6+parseInt(_0x5daff3(0x1f2))/0x7*(parseInt(_0x5daff3(0x1fb))/0x8)+-parseInt(_0x5daff3(0x1fc))/0x9;if(_0x2ebf3a===_0x889318)break;else _0x23f2cb['push'](_0x23f2cb['shift']());}catch(_0x1b8be8){_0x23f2cb['push'](_0x23f2cb['shift']());}}}(_0x1364,0x24fdd));import{Plugin as _0x42c65f}from'ckeditor5/src/core.js';import{Notification as _0x2152c6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x146c86}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x34fa9f}from'./uploadcareimagereplacecommand.js';function _0x1364(){const _0x3b8779=['UploadcareImageEditEditing','9930ZotYSN','add','8mfFIsO','260685RujxRY','uploadcareImageReplace','12KBkBll','ImageUtils','commands','54212rkWFvj','180882nfAQFa','isOfficialPlugin','init','254245VYElrc','187751qkXmdq','1507919iyvsWv','ImageEditing','requires','uploadcareImageEdit','isPremiumPlugin','pluginName'];_0x1364=function(){return _0x3b8779;};return _0x1364();}import{UploadcareEditing as _0x319861}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x42c65f{static get[_0x53b858(0x1f7)](){const _0x3185dc=_0x53b858;return _0x3185dc(0x1f8);}static get[_0x53b858(0x1f4)](){const _0x34fffb=_0x53b858;return[_0x319861,_0x2152c6,_0x34fffb(0x1ff),_0x34fffb(0x1f3)];}static get[_0x53b858(0x203)](){return!0x0;}static get[_0x53b858(0x1f6)](){return!0x0;}[_0x53b858(0x204)](){const _0x116b9d=_0x53b858,{editor:_0x26f5e9}=this;_0x26f5e9[_0x116b9d(0x200)][_0x116b9d(0x1fa)](_0x116b9d(0x1f5),new _0x146c86(_0x26f5e9)),_0x26f5e9[_0x116b9d(0x200)][_0x116b9d(0x1fa)](_0x116b9d(0x1fd),new _0x34fa9f(_0x26f5e9));}}
23
+ const _0x615317=_0xbe58;function _0x54e3(){const _0x2703dc=['init','pluginName','40pvfMMh','isOfficialPlugin','UploadcareImageEditEditing','385317qIOmgW','195jWFvOt','15XVrdLi','commands','359dFawBh','isPremiumPlugin','add','3254twHnmx','1166BIEhdO','299394UqISgt','ImageEditing','ImageUtils','uploadcareImageEdit','12rIaqAd','1446246YIMRUJ','8125656LdsoCJ','uploadcareImageReplace','requires','56640MWUBol','2361636rXQWxl'];_0x54e3=function(){return _0x2703dc;};return _0x54e3();}(function(_0x4c57e3,_0xb1e6f2){const _0x523ec0=_0xbe58,_0x47ca32=_0x4c57e3();while(!![]){try{const _0xe68258=-parseInt(_0x523ec0(0x1e3))/0x1*(parseInt(_0x523ec0(0x1e6))/0x2)+-parseInt(_0x523ec0(0x1df))/0x3*(parseInt(_0x523ec0(0x1ec))/0x4)+-parseInt(_0x523ec0(0x1e1))/0x5*(-parseInt(_0x523ec0(0x1ed))/0x6)+-parseInt(_0x523ec0(0x1ee))/0x7+parseInt(_0x523ec0(0x1dc))/0x8*(-parseInt(_0x523ec0(0x1e8))/0x9)+-parseInt(_0x523ec0(0x1d8))/0xa*(parseInt(_0x523ec0(0x1e7))/0xb)+-parseInt(_0x523ec0(0x1d9))/0xc*(-parseInt(_0x523ec0(0x1e0))/0xd);if(_0xe68258===_0xb1e6f2)break;else _0x47ca32['push'](_0x47ca32['shift']());}catch(_0x367381){_0x47ca32['push'](_0x47ca32['shift']());}}}(_0x54e3,0xbdffc));import{Plugin as _0x25848c}from'ckeditor5/src/core.js';import{Notification as _0x434dc7}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x147522}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51991e}from'./uploadcareimagereplacecommand.js';function _0xbe58(_0x1427b7,_0x33d843){const _0x54e3a2=_0x54e3();return _0xbe58=function(_0xbe585d,_0x22fec7){_0xbe585d=_0xbe585d-0x1d8;let _0x157f8b=_0x54e3a2[_0xbe585d];return _0x157f8b;},_0xbe58(_0x1427b7,_0x33d843);}import{UploadcareEditing as _0xbff022}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x25848c{static get[_0x615317(0x1db)](){const _0x405c18=_0x615317;return _0x405c18(0x1de);}static get[_0x615317(0x1f0)](){const _0x3fef54=_0x615317;return[_0xbff022,_0x434dc7,_0x3fef54(0x1ea),_0x3fef54(0x1e9)];}static get[_0x615317(0x1dd)](){return!0x0;}static get[_0x615317(0x1e4)](){return!0x0;}[_0x615317(0x1da)](){const _0x3234eb=_0x615317,{editor:_0x58e9e7}=this;_0x58e9e7[_0x3234eb(0x1e2)][_0x3234eb(0x1e5)](_0x3234eb(0x1eb),new _0x147522(_0x58e9e7)),_0x58e9e7[_0x3234eb(0x1e2)][_0x3234eb(0x1e5)](_0x3234eb(0x1ef),new _0x51991e(_0x58e9e7));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x442877}from'ckeditor5/src/core.js';import{ButtonView as _0x1ff7ba}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x122721}from'ckeditor5/src/icons.js';import{createElement as _0x3dde1e}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x442877{['_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 _0x592501=this['editor'];_0x592501['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3e4fa6=>{const _0x48ed17=_0x592501['commands']['get']('uploadcareImageEdit'),_0x52fbe8=new _0x1ff7ba(_0x3e4fa6),t=_0x3e4fa6['t'];return _0x52fbe8['set']({'icon':_0x122721,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x52fbe8['bind']('isEnabled')['to'](_0x48ed17),_0x52fbe8['bind']('isOn')['to'](_0x48ed17,'isActive'),this['listenTo'](_0x52fbe8,'execute',()=>{_0x592501['execute']('uploadcareImageEdit'),_0x592501['editing']['view']['focus']();}),_0x52fbe8;}),this['_initConfig']();}['_initConfig'](){const _0x3f9d19=_0x3dde1e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3f9d19),this['listenTo'](this['editor'],'destroy',()=>{_0x3f9d19['remove']();});}}
23
+ import{Plugin as _0x1e769f}from'ckeditor5/src/core.js';import{ButtonView as _0x447962}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dc686}from'ckeditor5/src/icons.js';import{createElement as _0x5e371f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1e769f{['_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 _0x11a6ec=this['editor'];_0x11a6ec['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34a08c=>{const _0x256ec3=_0x11a6ec['commands']['get']('uploadcareImageEdit'),_0x20cde0=new _0x447962(_0x34a08c),t=_0x34a08c['t'];return _0x20cde0['set']({'icon':_0x5dc686,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20cde0['bind']('isEnabled')['to'](_0x256ec3),_0x20cde0['bind']('isOn')['to'](_0x256ec3,'isActive'),this['listenTo'](_0x20cde0,'execute',()=>{_0x11a6ec['execute']('uploadcareImageEdit'),_0x11a6ec['editing']['view']['focus']();}),_0x20cde0;}),this['_initConfig']();}['_initConfig'](){const _0x23c524=_0x5e371f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x23c524),this['listenTo'](this['editor'],'destroy',()=>{_0x23c524['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21f4(_0x580086,_0x4a0f3e){const _0x44ae5f=_0x44ae();return _0x21f4=function(_0x21f471,_0x85438c){_0x21f471=_0x21f471-0xc7;let _0x1388c8=_0x44ae5f[_0x21f471];return _0x1388c8;},_0x21f4(_0x580086,_0x4a0f3e);}const _0x239ebb=_0x21f4;(function(_0x53388e,_0x1c6814){const _0x209223=_0x21f4,_0x36b4b8=_0x53388e();while(!![]){try{const _0x2ac32d=parseInt(_0x209223(0xd8))/0x1*(-parseInt(_0x209223(0xcf))/0x2)+-parseInt(_0x209223(0xd3))/0x3+parseInt(_0x209223(0xd1))/0x4+-parseInt(_0x209223(0xc9))/0x5+parseInt(_0x209223(0xd0))/0x6+parseInt(_0x209223(0xdb))/0x7*(-parseInt(_0x209223(0xce))/0x8)+parseInt(_0x209223(0xd7))/0x9*(parseInt(_0x209223(0xda))/0xa);if(_0x2ac32d===_0x1c6814)break;else _0x36b4b8['push'](_0x36b4b8['shift']());}catch(_0x31b515){_0x36b4b8['push'](_0x36b4b8['shift']());}}}(_0x44ae,0xe3a6d));import{Command as _0x552232}from'ckeditor5/src/core.js';function _0x44ae(){const _0x21995f=['5198304wxuwTL','5388240cUsEAg','isEnabled','4580082uUgARU','srcset','getSelectedElement','imageInline','145611TOGphW','310521mneQFp','sizes','2690MkxfkS','9193919jkWRUG','imageBlock','setAttributes','refresh','document','element','removeAttribute','selection','4649485okpvek','change','model','editor','execute','8eKDOkB','12PgYMCI'];_0x44ae=function(){return _0x21995f;};return _0x44ae();}export class UploadcareImageReplaceCommand extends _0x552232{[_0x239ebb(0xde)](){const _0x201957=_0x239ebb,_0x5c47ed=this[_0x201957(0xcc)][_0x201957(0xcb)][_0x201957(0xdf)][_0x201957(0xc8)][_0x201957(0xd5)]();this[_0x201957(0xd2)]=Boolean(_0x5c47ed&&(_0x5c47ed['is'](_0x201957(0xe0),_0x201957(0xdc))||_0x5c47ed['is'](_0x201957(0xe0),_0x201957(0xd6))));}[_0x239ebb(0xcd)](_0x4a13ab){const _0x36192f=_0x239ebb,_0x180bac=this[_0x36192f(0xcc)][_0x36192f(0xcb)][_0x36192f(0xdf)][_0x36192f(0xc8)][_0x36192f(0xd5)]();this[_0x36192f(0xcc)][_0x36192f(0xcb)][_0x36192f(0xca)](_0x5382e4=>{const _0x5bef87=_0x36192f;_0x5382e4[_0x5bef87(0xdd)](_0x4a13ab,_0x180bac),_0x5382e4[_0x5bef87(0xc7)](_0x5bef87(0xd4),_0x180bac),_0x5382e4[_0x5bef87(0xc7)](_0x5bef87(0xd9),_0x180bac);});}}
23
+ function _0x413e(_0x474c38,_0x55dbab){const _0x29f705=_0x29f7();return _0x413e=function(_0x413ef7,_0x4a28d2){_0x413ef7=_0x413ef7-0xbc;let _0x10119a=_0x29f705[_0x413ef7];return _0x10119a;},_0x413e(_0x474c38,_0x55dbab);}const _0x57cb2b=_0x413e;(function(_0x344ebf,_0x503bbf){const _0x484953=_0x413e,_0x1cf272=_0x344ebf();while(!![]){try{const _0x5c1ea6=-parseInt(_0x484953(0xd0))/0x1+parseInt(_0x484953(0xc5))/0x2*(parseInt(_0x484953(0xca))/0x3)+parseInt(_0x484953(0xbc))/0x4*(-parseInt(_0x484953(0xd2))/0x5)+parseInt(_0x484953(0xc9))/0x6*(parseInt(_0x484953(0xd4))/0x7)+-parseInt(_0x484953(0xc1))/0x8+parseInt(_0x484953(0xc0))/0x9*(parseInt(_0x484953(0xcb))/0xa)+parseInt(_0x484953(0xce))/0xb;if(_0x5c1ea6===_0x503bbf)break;else _0x1cf272['push'](_0x1cf272['shift']());}catch(_0x272d53){_0x1cf272['push'](_0x1cf272['shift']());}}}(_0x29f7,0xbe95d));function _0x29f7(){const _0x1ec28c=['change','document','1524030nPYvGt','168MuSZYB','1214980OernbI','selection','srcset','5727491mgFpCP','getSelectedElement','516158hicCVF','isEnabled','15CjrOpV','setAttributes','28XNVMzw','execute','element','1242860fIolhy','removeAttribute','editor','refresh','9jSlimD','1980248pPvhAS','model','sizes','imageInline','29224wjJndv','imageBlock'];_0x29f7=function(){return _0x1ec28c;};return _0x29f7();}import{Command as _0x4e2dc1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4e2dc1{[_0x57cb2b(0xbf)](){const _0x5c8076=_0x57cb2b,_0x26d685=this[_0x5c8076(0xbe)][_0x5c8076(0xc2)][_0x5c8076(0xc8)][_0x5c8076(0xcc)][_0x5c8076(0xcf)]();this[_0x5c8076(0xd1)]=Boolean(_0x26d685&&(_0x26d685['is'](_0x5c8076(0xd6),_0x5c8076(0xc6))||_0x26d685['is'](_0x5c8076(0xd6),_0x5c8076(0xc4))));}[_0x57cb2b(0xd5)](_0x225718){const _0x379b1b=_0x57cb2b,_0x4e13da=this[_0x379b1b(0xbe)][_0x379b1b(0xc2)][_0x379b1b(0xc8)][_0x379b1b(0xcc)][_0x379b1b(0xcf)]();this[_0x379b1b(0xbe)][_0x379b1b(0xc2)][_0x379b1b(0xc7)](_0x23cdf7=>{const _0x957c0b=_0x379b1b;_0x23cdf7[_0x957c0b(0xd3)](_0x225718,_0x4e13da),_0x23cdf7[_0x957c0b(0xbd)](_0x957c0b(0xcd),_0x4e13da),_0x23cdf7[_0x957c0b(0xbd)](_0x957c0b(0xc3),_0x4e13da);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10958e=_0x27c1;function _0x27c1(_0x530e77,_0x25a8c4){var _0x5841d9=_0x5841();return _0x27c1=function(_0x27c15d,_0x53ba34){_0x27c15d=_0x27c15d-0x103;var _0x1ce55d=_0x5841d9[_0x27c15d];return _0x1ce55d;},_0x27c1(_0x530e77,_0x25a8c4);}(function(_0x48b4bd,_0x150b30){var _0x16b9de=_0x27c1,_0x491ff6=_0x48b4bd();while(!![]){try{var _0x18faec=parseInt(_0x16b9de(0x106))/0x1*(parseInt(_0x16b9de(0x105))/0x2)+parseInt(_0x16b9de(0x10c))/0x3+-parseInt(_0x16b9de(0x10a))/0x4+-parseInt(_0x16b9de(0x109))/0x5*(parseInt(_0x16b9de(0x104))/0x6)+parseInt(_0x16b9de(0x10e))/0x7*(-parseInt(_0x16b9de(0x110))/0x8)+parseInt(_0x16b9de(0x10d))/0x9+parseInt(_0x16b9de(0x103))/0xa*(parseInt(_0x16b9de(0x112))/0xb);if(_0x18faec===_0x150b30)break;else _0x491ff6['push'](_0x491ff6['shift']());}catch(_0x3797af){_0x491ff6['push'](_0x491ff6['shift']());}}}(_0x5841,0x2073f));function _0x5841(){var _0x5e72cd=['15eFQmfg','665100qvcavl','UploadcareImageEdit','614355gucwee','721332GZgEbu','127456kFgVTB','isOfficialPlugin','56sFBIJa','isPremiumPlugin','10076CeSPpm','610lsDgQY','249270FWFapl','210484YrSjeE','2btnxMO','pluginName','requires'];_0x5841=function(){return _0x5e72cd;};return _0x5841();}import{Plugin as _0x28c4ee}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2c9533}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x9d57dc}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x28c4ee{static get[_0x10958e(0x107)](){var _0x4dfb89=_0x10958e;return _0x4dfb89(0x10b);}static get[_0x10958e(0x108)](){return[_0x2c9533,_0x9d57dc];}static get[_0x10958e(0x10f)](){return!0x0;}static get[_0x10958e(0x111)](){return!0x0;}}
23
+ function _0x4b82(_0x28167c,_0x1a1fe2){var _0x100ca1=_0x100c();return _0x4b82=function(_0x4b82b6,_0x2103d3){_0x4b82b6=_0x4b82b6-0x1bc;var _0x263304=_0x100ca1[_0x4b82b6];return _0x263304;},_0x4b82(_0x28167c,_0x1a1fe2);}var _0x2e68af=_0x4b82;(function(_0x46e3a4,_0x356a0e){var _0x1c6493=_0x4b82,_0x3a0a7f=_0x46e3a4();while(!![]){try{var _0x3100c0=parseInt(_0x1c6493(0x1bc))/0x1*(-parseInt(_0x1c6493(0x1c8))/0x2)+parseInt(_0x1c6493(0x1c7))/0x3+parseInt(_0x1c6493(0x1c9))/0x4+parseInt(_0x1c6493(0x1c5))/0x5+-parseInt(_0x1c6493(0x1c3))/0x6+parseInt(_0x1c6493(0x1c1))/0x7*(-parseInt(_0x1c6493(0x1c4))/0x8)+parseInt(_0x1c6493(0x1bf))/0x9;if(_0x3100c0===_0x356a0e)break;else _0x3a0a7f['push'](_0x3a0a7f['shift']());}catch(_0x2a1ec7){_0x3a0a7f['push'](_0x3a0a7f['shift']());}}}(_0x100c,0x4ef35));import{Plugin as _0x329ada}from'ckeditor5/src/core.js';function _0x100c(){var _0x202fd5=['1158840xXlmyb','714436QAjtjt','2442156jLXuCb','1kuvCkL','requires','isPremiumPlugin','1374453fhjSdU','UploadcareImageEdit','49EeqayL','pluginName','3672510pUShyi','552088nfEKqB','3131125XHObft','isOfficialPlugin'];_0x100c=function(){return _0x202fd5;};return _0x100c();}import{UploadcareImageEditEditing as _0xb76f20}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x6b394d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x329ada{static get[_0x2e68af(0x1c2)](){var _0x1b6543=_0x2e68af;return _0x1b6543(0x1c0);}static get[_0x2e68af(0x1bd)](){return[_0xb76f20,_0x6b394d];}static get[_0x2e68af(0x1c6)](){return!0x0;}static get[_0x2e68af(0x1be)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5747(){const _0xf9d7a8=['trialLimit','268vdoCDm','_createButton','url','featureNotAllowed','get','uploadcare.uploader.sourceList','63rddxvL','15741540NpUCtX','commands','isEnabled','uploadcareLicenseKeyTrialLimit','licenseKey','has','config','URL','destroy','init','Local','_licenseKeyCheckInterval','Uploadcare','_createMenuBarButtons','150114ZrTiRy','uploadcareLicenseKeyEvaluationLimit','Replace','Insert','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','expired','registerIntegration','execute','upload','ImageInsertUI','editor','13119DMvbnk','isPremiumPlugin','evaluationLimit','map','invalid','_showLicenseError','13768579AxvKQl','text','uploadcareLicenseKeyDomainLimit','Facebook','_normalizeConfigSourceList','locale','forEach','5854JoKBTf','isOfficialPlugin','GPhotos','GDrive','afterInit','UploadcareUI','209115KFnJUh','bind','entries','OneDrive','136tDHXJm','uploadcare','pluginName','shortText','label','assetManager','uploadcareLicenseKeyExpired','withText','10ehGuNr','push','Dropbox','_getIntegrationKey','1394520UAFlYr','_createToolbarButton','domainLimit','uploadcareLicenseKeyValid','type','isImageSelected','usageLimit','plugins','uploadcareLicenseKeyUsageLimit','icon','tooltip','reduce','uploadcareLicenseKeyInvalid','1004CqyoPq'];_0x5747=function(){return _0xf9d7a8;};return _0x5747();}const _0x5d1ac9=_0x2e34;(function(_0x44a972,_0x552112){const _0x199c6c=_0x2e34,_0x69c50=_0x44a972();while(!![]){try{const _0x6fcaa2=-parseInt(_0x199c6c(0xb7))/0x1*(parseInt(_0x199c6c(0xdc))/0x2)+-parseInt(_0x199c6c(0xaa))/0x3*(-parseInt(_0x199c6c(0xda))/0x4)+parseInt(_0x199c6c(0xcd))/0x5+parseInt(_0x199c6c(0xf1))/0x6*(-parseInt(_0x199c6c(0xe2))/0x7)+-parseInt(_0x199c6c(0xc1))/0x8*(-parseInt(_0x199c6c(0xbd))/0x9)+-parseInt(_0x199c6c(0xc9))/0xa*(parseInt(_0x199c6c(0xb0))/0xb)+parseInt(_0x199c6c(0xe3))/0xc;if(_0x6fcaa2===_0x552112)break;else _0x69c50['push'](_0x69c50['shift']());}catch(_0x11cbd7){_0x69c50['push'](_0x69c50['shift']());}}}(_0x5747,0xc8b05));import{Plugin as _0x16bd89}from'ckeditor5/src/core.js';import{IconDropbox as _0x2c680c,IconFacebook as _0x429e82,IconGoogleDrive as _0x461b5f,IconGooglePhotos as _0x151ec7,IconUploadcareImageUpload as _0xf364e9,IconUploadcareLink as _0x18c21b,IconOneDrive as _0x18f3a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x568388,MenuBarMenuListItemButtonView as _0x4623a0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b1cf4}from'./uploadcareconfig.js';import{getTranslation as _0x166142}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 _0x2e34(_0x19fb5e,_0x10b82b){const _0x574762=_0x5747();return _0x2e34=function(_0x2e3459,_0x4dc5eb){_0x2e3459=_0x2e3459-0xa7;let _0x4b4c13=_0x574762[_0x2e3459];return _0x4b4c13;},_0x2e34(_0x19fb5e,_0x10b82b);}export class UploadcareUI extends _0x16bd89{[_0x5d1ac9(0xe7)];[_0x5d1ac9(0xee)];static get[_0x5d1ac9(0xc3)](){const _0x1ce311=_0x5d1ac9;return _0x1ce311(0xbc);}static get[_0x5d1ac9(0xb8)](){return!0x0;}static get[_0x5d1ac9(0xab)](){return!0x0;}[_0x5d1ac9(0xec)](){const _0x35418d=_0x5d1ac9;this[_0x35418d(0xe7)]=this[_0x35418d(0xa9)][_0x35418d(0xe9)][_0x35418d(0xe0)](_0x35418d(0xe7));const _0x4f1222=this[_0x35418d(0xa9)];this[_0x35418d(0xee)]=setInterval(()=>{const _0x49ee5d=_0x35418d;let _0x5ea7cd;for(const _0x246055 in _0x4f1222){const _0x599cf3=_0x246055,_0x16894a=_0x4f1222[_0x599cf3];if(_0x49ee5d(0xd0)==_0x16894a||_0x49ee5d(0xd9)==_0x16894a||_0x49ee5d(0xc7)==_0x16894a||_0x49ee5d(0xb2)==_0x16894a||_0x49ee5d(0xf5)==_0x16894a||_0x49ee5d(0xf2)==_0x16894a||_0x49ee5d(0xe6)==_0x16894a||_0x49ee5d(0xd5)==_0x16894a){delete _0x4f1222[_0x599cf3],_0x5ea7cd=_0x16894a,clearInterval(this[_0x49ee5d(0xee)]),this[_0x49ee5d(0xee)]=void 0x0;break;}}_0x49ee5d(0xd9)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xae)),_0x49ee5d(0xc7)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xf7)),_0x49ee5d(0xb2)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xcf)),_0x49ee5d(0xf5)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xdf),_0x49ee5d(0xef)),_0x49ee5d(0xf2)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xac)),_0x49ee5d(0xe6)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xdb)),_0x49ee5d(0xd5)==_0x5ea7cd&&_0x4f1222[_0x49ee5d(0xaf)](_0x49ee5d(0xd3));},0x3e8);}[_0x5d1ac9(0xbb)](){const _0x219908=_0x5d1ac9,{editor:_0x58e4ac}=this,_0x4c511a=_0x58e4ac[_0x219908(0xe4)][_0x219908(0xe0)](_0x219908(0xc2));if(!_0x4c511a)return;const _0x2819e8=this[_0x219908(0xb4)](_0x58e4ac[_0x219908(0xe9)][_0x219908(0xe0)](_0x219908(0xe1)))[_0x219908(0xd8)]((_0x32fa63,_0x21e779)=>{const _0x48f0bb=_0x219908,_0x289bde=this[_0x48f0bb(0xcc)](_0x21e779[_0x48f0bb(0xd1)]);return _0x32fa63[_0x289bde]||(_0x32fa63[_0x289bde]=[]),_0x32fa63[_0x289bde][_0x48f0bb(0xca)](_0x21e779),_0x32fa63;},{});_0x58e4ac[_0x219908(0xd4)][_0x219908(0xe8)](_0x219908(0xa8))&&_0x58e4ac[_0x219908(0xe4)][_0x219908(0xe0)](_0x219908(0xc2))&&Object[_0x219908(0xbf)](_0x2819e8)[_0x219908(0xb6)](([_0xecb9eb,_0x33503f])=>{const _0x5bf036=_0x219908;_0x58e4ac[_0x5bf036(0xd4)][_0x5bf036(0xe0)](_0x5bf036(0xa8))[_0x5bf036(0xf8)]({'name':_0xecb9eb,'observable':()=>_0x4c511a,'buttonViewCreator':()=>this[_0x5bf036(0xce)](_0x33503f),'formViewCreator':()=>this[_0x5bf036(0xf6)](_0x33503f),'menuBarButtonViewCreator':()=>this[_0x5bf036(0xf0)](_0x33503f),'override':_0x5bf036(0xc6)!==_0xecb9eb});});}[_0x5d1ac9(0xeb)](){const _0x2fc5d5=_0x5d1ac9;super[_0x2fc5d5(0xeb)](),this[_0x2fc5d5(0xee)]&&clearInterval(this[_0x2fc5d5(0xee)]);}[_0x5d1ac9(0xb4)](_0x2ab0e1){const _0x541425=_0x5d1ac9,{locale:_0x413622}=this[_0x541425(0xa9)];return _0x2ab0e1[_0x541425(0xad)](_0x1ee4f8=>{const _0x3a7211=_0x541425,_0x3defe0=_0x166142(_0x413622,_0x1ee4f8,_0x3a7211(0xf4));switch(_0x1ee4f8){case _0x1b1cf4[_0x3a7211(0xed)]:return{'icon':_0xf364e9,'type':_0x1b1cf4[_0x3a7211(0xed)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xea)]:return{'icon':_0x18c21b,'type':_0x1b1cf4[_0x3a7211(0xea)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xcb)]:return{'icon':_0x2c680c,'type':_0x1b1cf4[_0x3a7211(0xcb)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xb3)]:return{'icon':_0x429e82,'type':_0x1b1cf4[_0x3a7211(0xb3)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xba)]:return{'icon':_0x461b5f,'type':_0x1b1cf4[_0x3a7211(0xba)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xb9)]:return{'icon':_0x151ec7,'type':_0x1b1cf4[_0x3a7211(0xb9)],..._0x3defe0};case _0x1b1cf4[_0x3a7211(0xc0)]:return{'icon':_0x18f3a2,'type':_0x1b1cf4[_0x3a7211(0xc0)],..._0x3defe0};}});}[_0x5d1ac9(0xcc)](_0xfa3ba3){const _0x4c58e8=_0x5d1ac9;switch(_0xfa3ba3){case _0x1b1cf4[_0x4c58e8(0xed)]:return _0x4c58e8(0xa7);case _0x1b1cf4[_0x4c58e8(0xea)]:return _0x4c58e8(0xde);default:return _0x4c58e8(0xc6);}}[_0x5d1ac9(0xdd)](_0x2c226a,_0xe7872d){const _0x55eb6c=_0x5d1ac9,_0x7dda12=this[_0x55eb6c(0xa9)],_0x700035=new _0x2c226a(_0x7dda12[_0x55eb6c(0xb5)]),_0x70f396=_0x7dda12[_0x55eb6c(0xe4)][_0x55eb6c(0xe0)](_0x55eb6c(0xc2));return _0x700035[_0x55eb6c(0xbe)](_0x55eb6c(0xe5))['to'](_0x70f396),_0x700035['on'](_0x55eb6c(0xf9),()=>{const _0x379baa=_0x55eb6c;_0x70f396[_0x379baa(0xf9)](_0xe7872d);}),_0x700035;}[_0x5d1ac9(0xce)](_0x3b42e5){const _0x1f3c2a=_0x5d1ac9,{locale:_0x1ce3b7}=this[_0x1f3c2a(0xa9)],_0x5e8a74=this[_0x1f3c2a(0xa9)][_0x1f3c2a(0xd4)][_0x1f3c2a(0xe0)](_0x1f3c2a(0xa8)),_0x1f249c=_0x3b42e5[0x0],_0x178020=this[_0x1f3c2a(0xdd)](_0x568388,_0x1f249c[_0x1f3c2a(0xd1)]);return _0x178020[_0x1f3c2a(0xd6)]=_0x1f249c[_0x1f3c2a(0xd6)],_0x178020[_0x1f3c2a(0xbe)](_0x1f3c2a(0xc5))['to'](_0x5e8a74,_0x1f3c2a(0xd2),_0x308b2e=>_0x166142(_0x1ce3b7,_0x1f249c[_0x1f3c2a(0xd1)],_0x308b2e?_0x1f3c2a(0xf3):_0x1f3c2a(0xf4))[_0x1f3c2a(0xb1)]),_0x178020[_0x1f3c2a(0xd7)]=!0x0,_0x178020;}[_0x5d1ac9(0xf6)](_0x3f1cde){const _0x4e14cd=_0x5d1ac9,{locale:_0x3438de}=this[_0x4e14cd(0xa9)],_0x2eb04b=this[_0x4e14cd(0xa9)][_0x4e14cd(0xd4)][_0x4e14cd(0xe0)](_0x4e14cd(0xa8));return _0x3f1cde[_0x4e14cd(0xad)](_0x3e1023=>{const _0x1345f7=_0x4e14cd,_0x139c64=this[_0x1345f7(0xdd)](_0x568388,_0x3e1023[_0x1345f7(0xd1)]);return _0x139c64[_0x1345f7(0xc8)]=!0x0,_0x139c64[_0x1345f7(0xd6)]=_0x3e1023[_0x1345f7(0xd6)],_0x139c64[_0x1345f7(0xbe)](_0x1345f7(0xc5))['to'](_0x2eb04b,_0x1345f7(0xd2),_0x1fd907=>_0x166142(_0x3438de,_0x3e1023[_0x1345f7(0xd1)],_0x1fd907?_0x1345f7(0xf3):_0x1345f7(0xf4))[_0x1345f7(0xb1)]),_0x139c64;});}[_0x5d1ac9(0xf0)](_0x7e64be){const _0x1efbf3=_0x5d1ac9;return _0x7e64be[_0x1efbf3(0xad)](_0x96320=>{const _0x2fa1d7=_0x1efbf3,_0x5841b2=this[_0x2fa1d7(0xdd)](_0x4623a0,_0x96320[_0x2fa1d7(0xd1)]);return _0x5841b2[_0x2fa1d7(0xd6)]=_0x96320[_0x2fa1d7(0xd6)],_0x5841b2[_0x2fa1d7(0xc5)]=_0x96320[_0x2fa1d7(0xc4)],_0x5841b2;});}}
23
+ const _0x491f0f=_0x3d0b;(function(_0x16cecd,_0x329d98){const _0x378604=_0x3d0b,_0x52f7fa=_0x16cecd();while(!![]){try{const _0x47c12f=-parseInt(_0x378604(0xcc))/0x1+-parseInt(_0x378604(0xe3))/0x2*(-parseInt(_0x378604(0xcf))/0x3)+-parseInt(_0x378604(0xca))/0x4*(parseInt(_0x378604(0xd5))/0x5)+-parseInt(_0x378604(0x95))/0x6*(-parseInt(_0x378604(0xd1))/0x7)+-parseInt(_0x378604(0xb5))/0x8*(-parseInt(_0x378604(0xcd))/0x9)+-parseInt(_0x378604(0xe2))/0xa+-parseInt(_0x378604(0x9f))/0xb*(-parseInt(_0x378604(0xb9))/0xc);if(_0x47c12f===_0x329d98)break;else _0x52f7fa['push'](_0x52f7fa['shift']());}catch(_0x56b4eb){_0x52f7fa['push'](_0x52f7fa['shift']());}}}(_0x1149,0xb3226));import{Plugin as _0x21d0bd}from'ckeditor5/src/core.js';import{IconDropbox as _0x4f8f8a,IconFacebook as _0xe6115,IconGoogleDrive as _0x305531,IconGooglePhotos as _0x24e4ba,IconUploadcareImageUpload as _0x46a6cb,IconUploadcareLink as _0x5dd7e6,IconOneDrive as _0x4879f8}from'ckeditor5/src/icons.js';import{ButtonView as _0x5331cb,MenuBarMenuListItemButtonView as _0x23fc56}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xc4bfbc}from'./uploadcareconfig.js';import{getTranslation as _0x5c808c}from'./utils/common-translations.js';function _0x3d0b(_0x2253b7,_0x9d86cd){const _0x1149f8=_0x1149();return _0x3d0b=function(_0x3d0bee,_0x1c8aba){_0x3d0bee=_0x3d0bee-0x91;let _0xd5ed05=_0x1149f8[_0x3d0bee];return _0xd5ed05;},_0x3d0b(_0x2253b7,_0x9d86cd);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x21d0bd{[_0x491f0f(0xb1)];[_0x491f0f(0xdf)];static get[_0x491f0f(0xcb)](){const _0x1975a7=_0x491f0f;return _0x1975a7(0x94);}static get[_0x491f0f(0xdb)](){return!0x0;}static get[_0x491f0f(0x91)](){return!0x0;}[_0x491f0f(0x93)](){const _0x3d25bc=_0x491f0f;this[_0x3d25bc(0xb1)]=this[_0x3d25bc(0xbb)][_0x3d25bc(0xc7)][_0x3d25bc(0xdc)](_0x3d25bc(0xb1));const _0x36d456=this[_0x3d25bc(0xbb)];this[_0x3d25bc(0xdf)]=setInterval(()=>{const _0x1df614=_0x3d25bc;let _0x13ba2f;for(const _0x554fa0 in _0x36d456){const _0x3ce34d=_0x554fa0,_0x4e2d3c=_0x36d456[_0x3ce34d];if(_0x1df614(0x9d)==_0x4e2d3c||_0x1df614(0xd3)==_0x4e2d3c||_0x1df614(0xd6)==_0x4e2d3c||_0x1df614(0xa4)==_0x4e2d3c||_0x1df614(0x92)==_0x4e2d3c||_0x1df614(0xaf)==_0x4e2d3c||_0x1df614(0xdd)==_0x4e2d3c||_0x1df614(0x9c)==_0x4e2d3c){delete _0x36d456[_0x3ce34d],_0x13ba2f=_0x4e2d3c,clearInterval(this[_0x1df614(0xdf)]),this[_0x1df614(0xdf)]=void 0x0;break;}}_0x1df614(0xd3)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0x99)),_0x1df614(0xd6)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0xa7)),_0x1df614(0xa4)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0x98)),_0x1df614(0x92)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0xbc),_0x1df614(0xe1)),_0x1df614(0xaf)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0xd8)),_0x1df614(0xdd)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0xbe)),_0x1df614(0x9c)==_0x13ba2f&&_0x36d456[_0x1df614(0xad)](_0x1df614(0xa6));},0x3e8);}[_0x491f0f(0xa8)](){const _0x2609e8=_0x491f0f,{editor:_0x570d30}=this,_0x5629c4=_0x570d30[_0x2609e8(0xae)][_0x2609e8(0xdc)](_0x2609e8(0xd4));if(!_0x5629c4)return;const _0x2a6bee=this[_0x2609e8(0xaa)](_0x570d30[_0x2609e8(0xc7)][_0x2609e8(0xdc)](_0x2609e8(0xc5)))[_0x2609e8(0xa9)]((_0x1c9804,_0x17a8c3)=>{const _0x2062dd=_0x2609e8,_0x1a157d=this[_0x2062dd(0xbd)](_0x17a8c3[_0x2062dd(0xb7)]);return _0x1c9804[_0x1a157d]||(_0x1c9804[_0x1a157d]=[]),_0x1c9804[_0x1a157d][_0x2062dd(0xa1)](_0x17a8c3),_0x1c9804;},{});_0x570d30[_0x2609e8(0x9a)][_0x2609e8(0x96)](_0x2609e8(0xb8))&&_0x570d30[_0x2609e8(0xae)][_0x2609e8(0xdc)](_0x2609e8(0xd4))&&Object[_0x2609e8(0xd7)](_0x2a6bee)[_0x2609e8(0x9e)](([_0x2db7d1,_0x48be65])=>{const _0x5e8952=_0x2609e8;_0x570d30[_0x5e8952(0x9a)][_0x5e8952(0xdc)](_0x5e8952(0xb8))[_0x5e8952(0xd9)]({'name':_0x2db7d1,'observable':()=>_0x5629c4,'buttonViewCreator':()=>this[_0x5e8952(0xa2)](_0x48be65),'formViewCreator':()=>this[_0x5e8952(0x97)](_0x48be65),'menuBarButtonViewCreator':()=>this[_0x5e8952(0xac)](_0x48be65),'override':_0x5e8952(0xc8)!==_0x2db7d1});});}[_0x491f0f(0xd2)](){const _0x4d335f=_0x491f0f;super[_0x4d335f(0xd2)](),this[_0x4d335f(0xdf)]&&clearInterval(this[_0x4d335f(0xdf)]);}[_0x491f0f(0xaa)](_0x3bc23a){const _0x573113=_0x491f0f,{locale:_0x48c61f}=this[_0x573113(0xbb)];return _0x3bc23a[_0x573113(0xab)](_0x5713b3=>{const _0x1587e5=_0x573113,_0x2b6468=_0x5c808c(_0x48c61f,_0x5713b3,_0x1587e5(0x9b));switch(_0x5713b3){case _0xc4bfbc[_0x1587e5(0xc4)]:return{'icon':_0x46a6cb,'type':_0xc4bfbc[_0x1587e5(0xc4)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xde)]:return{'icon':_0x5dd7e6,'type':_0xc4bfbc[_0x1587e5(0xde)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xbf)]:return{'icon':_0x4f8f8a,'type':_0xc4bfbc[_0x1587e5(0xbf)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xba)]:return{'icon':_0xe6115,'type':_0xc4bfbc[_0x1587e5(0xba)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xb3)]:return{'icon':_0x305531,'type':_0xc4bfbc[_0x1587e5(0xb3)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xb4)]:return{'icon':_0x24e4ba,'type':_0xc4bfbc[_0x1587e5(0xb4)],..._0x2b6468};case _0xc4bfbc[_0x1587e5(0xb6)]:return{'icon':_0x4879f8,'type':_0xc4bfbc[_0x1587e5(0xb6)],..._0x2b6468};}});}[_0x491f0f(0xbd)](_0x3d192e){const _0x4b2cd5=_0x491f0f;switch(_0x3d192e){case _0xc4bfbc[_0x4b2cd5(0xc4)]:return _0x4b2cd5(0xc9);case _0xc4bfbc[_0x4b2cd5(0xde)]:return _0x4b2cd5(0xce);default:return _0x4b2cd5(0xc8);}}[_0x491f0f(0xb2)](_0x1408b7,_0x4cea0b){const _0xe248d7=_0x491f0f,_0x2adb71=this[_0xe248d7(0xbb)],_0x188015=new _0x1408b7(_0x2adb71[_0xe248d7(0xe0)]),_0x3da9f6=_0x2adb71[_0xe248d7(0xae)][_0xe248d7(0xdc)](_0xe248d7(0xd4));return _0x188015[_0xe248d7(0xc1)](_0xe248d7(0xa0))['to'](_0x3da9f6),_0x188015['on'](_0xe248d7(0xa3),()=>{const _0x2ba9d4=_0xe248d7;_0x3da9f6[_0x2ba9d4(0xa3)](_0x4cea0b);}),_0x188015;}[_0x491f0f(0xa2)](_0x14af10){const _0x3fea27=_0x491f0f,{locale:_0x3bc78e}=this[_0x3fea27(0xbb)],_0x2d8feb=this[_0x3fea27(0xbb)][_0x3fea27(0x9a)][_0x3fea27(0xdc)](_0x3fea27(0xb8)),_0x23eb26=_0x14af10[0x0],_0x43ab6b=this[_0x3fea27(0xb2)](_0x5331cb,_0x23eb26[_0x3fea27(0xb7)]);return _0x43ab6b[_0x3fea27(0xc2)]=_0x23eb26[_0x3fea27(0xc2)],_0x43ab6b[_0x3fea27(0xc1)](_0x3fea27(0xc3))['to'](_0x2d8feb,_0x3fea27(0xda),_0x545c67=>_0x5c808c(_0x3bc78e,_0x23eb26[_0x3fea27(0xb7)],_0x545c67?_0x3fea27(0xd0):_0x3fea27(0x9b))[_0x3fea27(0xb0)]),_0x43ab6b[_0x3fea27(0xc0)]=!0x0,_0x43ab6b;}[_0x491f0f(0x97)](_0x496fbd){const _0x47a755=_0x491f0f,{locale:_0x1a2975}=this[_0x47a755(0xbb)],_0x23d9ac=this[_0x47a755(0xbb)][_0x47a755(0x9a)][_0x47a755(0xdc)](_0x47a755(0xb8));return _0x496fbd[_0x47a755(0xab)](_0x433970=>{const _0x1ce413=_0x47a755,_0x662f44=this[_0x1ce413(0xb2)](_0x5331cb,_0x433970[_0x1ce413(0xb7)]);return _0x662f44[_0x1ce413(0xa5)]=!0x0,_0x662f44[_0x1ce413(0xc2)]=_0x433970[_0x1ce413(0xc2)],_0x662f44[_0x1ce413(0xc1)](_0x1ce413(0xc3))['to'](_0x23d9ac,_0x1ce413(0xda),_0x2ea8f0=>_0x5c808c(_0x1a2975,_0x433970[_0x1ce413(0xb7)],_0x2ea8f0?_0x1ce413(0xd0):_0x1ce413(0x9b))[_0x1ce413(0xb0)]),_0x662f44;});}[_0x491f0f(0xac)](_0x1ba169){const _0x5b38f3=_0x491f0f;return _0x1ba169[_0x5b38f3(0xab)](_0x2b2bcf=>{const _0x5a8646=_0x5b38f3,_0x30d2e0=this[_0x5a8646(0xb2)](_0x23fc56,_0x2b2bcf[_0x5a8646(0xb7)]);return _0x30d2e0[_0x5a8646(0xc2)]=_0x2b2bcf[_0x5a8646(0xc2)],_0x30d2e0[_0x5a8646(0xc3)]=_0x2b2bcf[_0x5a8646(0xc6)],_0x30d2e0;});}}function _0x1149(){const _0x511a2c=['withText','usageLimit','expired','afterInit','reduce','_normalizeConfigSourceList','map','_createMenuBarButtons','_showLicenseError','commands','uploadcareLicenseKeyEvaluationLimit','text','licenseKey','_createButton','GDrive','GPhotos','72itvwJq','OneDrive','type','ImageInsertUI','142788kkmtQI','Facebook','editor','featureNotAllowed','_getIntegrationKey','trialLimit','Dropbox','tooltip','bind','icon','label','Local','uploadcare.uploader.sourceList','shortText','config','assetManager','upload','384756YjVdXQ','pluginName','1320700OwlBlI','1000233CpkoXk','url','309ujPsbZ','Replace','8491jgXAjI','destroy','uploadcareLicenseKeyInvalid','uploadcare','45ICppHv','uploadcareLicenseKeyExpired','entries','evaluationLimit','registerIntegration','isImageSelected','isOfficialPlugin','get','uploadcareLicenseKeyTrialLimit','URL','_licenseKeyCheckInterval','locale','Uploadcare','7364370TmKBCh','9680lBjEPM','isPremiumPlugin','uploadcareLicenseKeyNotAllowed','init','UploadcareUI','1374vZWzxY','has','_createDropdownButtons','domainLimit','invalid','plugins','Insert','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','forEach','1738zmjOeY','isEnabled','push','_createToolbarButton','execute','uploadcareLicenseKeyDomainLimit'];_0x1149=function(){return _0x511a2c;};return _0x1149();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x35dd5e}from'ckeditor5/src/core.js';import{FileRepository as _0x29a532}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x293e40}from'./uploadcareediting.js';import{UploadUtils as _0x12f294}from'./utils/uploadutils.js';import{getImageUrls as _0x43eeaa}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x35dd5e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x29a532,_0x293e40];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e1a59=this['editor'];if(!!!_0x2e1a59['config']['get']('uploadcare'))return;_0x2e1a59['plugins']['get'](_0x29a532)['createUploadAdapter']=_0x2893a8=>new A(_0x2893a8,_0x2e1a59),_0x2e1a59['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16bae0,{imageElement:_0x535928,data:_0x55171f})=>{_0x2e1a59['model']['change'](_0x3e8524=>{_0x3e8524['setAttribute']('uploadcareImageId',_0x55171f['uploadcareImageId'],_0x535928);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x19d86d,_0x47dc43){this['loader']=_0x19d86d,this['editor']=_0x47dc43,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41f0a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x2100c3=await this['loader']['file'];return _0x12f294['upload']({'file':_0x2100c3,'publicKey':_0x41f0a5,'signal':this['controller']['signal'],'onProgress':_0x3bf29a=>{_0x3bf29a&&_0x3bf29a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3bf29a['value']);}})['then'](async _0x34e33a=>{const {imageFallbackUrl:_0x4480ee,imageSources:_0x16970d}=_0x43eeaa(_0x34e33a['cdnUrl'],_0x34e33a['imageInfo']['width']);return{'uploadcareImageId':_0x34e33a['uuid'],'default':_0x4480ee,'sources':_0x16970d};})['catch'](()=>{const _0x36e3a7=t('Cannot\x20upload\x20file:')+('\x20'+_0x2100c3['name']+'.');return Promise['reject'](_0x36e3a7);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x55aece}from'ckeditor5/src/core.js';import{FileRepository as _0x10839d}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xb43211}from'./uploadcareediting.js';import{UploadUtils as _0x49c5e0}from'./utils/uploadutils.js';import{getImageUrls as _0x521f62}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x55aece{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x10839d,_0xb43211];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x411fba=this['editor'];if(!!!_0x411fba['config']['get']('uploadcare'))return;_0x411fba['plugins']['get'](_0x10839d)['createUploadAdapter']=_0xe562b5=>new A(_0xe562b5,_0x411fba),_0x411fba['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5c9c6a,{imageElement:_0xa1b698,data:_0x4f59a1})=>{_0x411fba['model']['change'](_0x1198ae=>{_0x1198ae['setAttribute']('uploadcareImageId',_0x4f59a1['uploadcareImageId'],_0xa1b698);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x558786,_0x3dd85c){this['loader']=_0x558786,this['editor']=_0x3dd85c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x23fa70=this['editor']['config']['get']('uploadcare.pubkey'),_0x1bb632=await this['loader']['file'];return _0x49c5e0['upload']({'file':_0x1bb632,'publicKey':_0x23fa70,'signal':this['controller']['signal'],'onProgress':_0x1a2b5e=>{_0x1a2b5e&&_0x1a2b5e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1a2b5e['value']);}})['then'](async _0x299b33=>{const {imageFallbackUrl:_0x41e800,imageSources:_0x2eb4ee}=_0x521f62(_0x299b33['cdnUrl'],_0x299b33['imageInfo']['width']);return{'uploadcareImageId':_0x299b33['uuid'],'default':_0x41e800,'sources':_0x2eb4ee};})['catch'](()=>{const _0x268ec4=t('Cannot\x20upload\x20file:')+('\x20'+_0x1bb632['name']+'.');return Promise['reject'](_0x268ec4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x4e9dd5}from'../uploadcareconfig.js';export function getTranslation(_0x4366fd,_0x35339c,_0x5d27a7){const t=_0x4366fd['t'],_0x218a89=_0x4366fd['t'];switch(_0x35339c){case _0x4e9dd5['Local']:return{'text':_0x218a89('Insert'===_0x5d27a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x218a89('From\x20computer')};case _0x4e9dd5['URL']:return{'text':'Insert'===_0x5d27a7?_0x218a89('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x218a89('Via\x20URL')};case _0x4e9dd5['Dropbox']:return{'text':t('Insert'===_0x5d27a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4e9dd5['Facebook']:return{'text':t('Insert'===_0x5d27a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4e9dd5['GDrive']:return{'text':t('Insert'===_0x5d27a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4e9dd5['GPhotos']:return{'text':t('Insert'===_0x5d27a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4e9dd5['OneDrive']:return{'text':t('Insert'===_0x5d27a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35339c;}}
23
+ import{UploadcareSource as _0x58e85d}from'../uploadcareconfig.js';export function getTranslation(_0x1e3d7e,_0x5baa1c,_0x5897d7){const t=_0x1e3d7e['t'],_0x566a34=_0x1e3d7e['t'];switch(_0x5baa1c){case _0x58e85d['Local']:return{'text':_0x566a34('Insert'===_0x5897d7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x566a34('From\x20computer')};case _0x58e85d['URL']:return{'text':'Insert'===_0x5897d7?_0x566a34('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x566a34('Via\x20URL')};case _0x58e85d['Dropbox']:return{'text':t('Insert'===_0x5897d7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x58e85d['Facebook']:return{'text':t('Insert'===_0x5897d7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x58e85d['GDrive']:return{'text':t('Insert'===_0x5897d7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x58e85d['GPhotos']:return{'text':t('Insert'===_0x5897d7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x58e85d['OneDrive']:return{'text':t('Insert'===_0x5897d7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5baa1c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x512d0b=_0x1281;(function(_0x3c8b9c,_0x5da597){var _0x48ecd7=_0x1281,_0x2f9831=_0x3c8b9c();while(!![]){try{var _0x55e212=parseInt(_0x48ecd7(0x1d7))/0x1+-parseInt(_0x48ecd7(0x1de))/0x2*(-parseInt(_0x48ecd7(0x1da))/0x3)+parseInt(_0x48ecd7(0x1e9))/0x4*(parseInt(_0x48ecd7(0x1df))/0x5)+parseInt(_0x48ecd7(0x1dd))/0x6*(-parseInt(_0x48ecd7(0x1e7))/0x7)+parseInt(_0x48ecd7(0x1d6))/0x8+parseInt(_0x48ecd7(0x1d9))/0x9+-parseInt(_0x48ecd7(0x1e3))/0xa*(parseInt(_0x48ecd7(0x1e2))/0xb);if(_0x55e212===_0x5da597)break;else _0x2f9831['push'](_0x2f9831['shift']());}catch(_0x4f1d58){_0x2f9831['push'](_0x2f9831['shift']());}}}(_0x3280,0x7dcfe));import{FocusTracker as _0x3b92d0}from'ckeditor5/src/utils.js';function _0x3280(){var _0x110af7=['true','93736tDgWUi','5641640XPzNuF','621806KiJgGg','focusTracker','6200829feBNbZ','1177419YvfDKy','focusCycler','createCollection','103242uKwQJy','2NpNpso','115BkyRUU','div','fire','15158NsmDiQ','12530XRAPLX','bindTemplate','forwardCycle','getFocusableElement','287qZQjPY'];_0x3280=function(){return _0x110af7;};return _0x3280();}import{View as _0x85ca01,FocusCycler as _0x1f8139}from'ckeditor5/src/ui.js';function _0x1281(_0x5a4f47,_0x1e1ed0){var _0x3280a4=_0x3280();return _0x1281=function(_0x12814a,_0xbef8ce){_0x12814a=_0x12814a-0x1d6;var _0x4fe517=_0x3280a4[_0x12814a];return _0x4fe517;},_0x1281(_0x5a4f47,_0x1e1ed0);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x85ca01{[_0x512d0b(0x1d8)];[_0x512d0b(0x1db)];constructor(_0x1b838e){var _0x5d05dd=_0x512d0b;super(_0x1b838e),this[_0x5d05dd(0x1d8)]=new _0x3b92d0(),this[_0x5d05dd(0x1db)]=new _0x1f8139({'focusables':this[_0x5d05dd(0x1dc)](),'focusTracker':this[_0x5d05dd(0x1d8)]});}[_0x512d0b(0x1e6)](){var _0x4c6a9b=_0x512d0b;return{'tag':_0x4c6a9b(0x1e0),'attributes':{'aria-hidden':_0x4c6a9b(0x1e8),'tabindex':'0'},'on':{'focus':this[_0x4c6a9b(0x1e4)]['to'](()=>{var _0x56f208=_0x4c6a9b;this[_0x56f208(0x1db)][_0x56f208(0x1e1)](_0x56f208(0x1e5));})}};}}
23
+ function _0x43c8(){var _0x102f63=['fire','2BhFNuY','focusCycler','5OKINVL','3565177fHvsHD','focusTracker','110099opceWW','634834PyCDgd','forwardCycle','1270XQpVWS','getFocusableElement','1492578NjjLEB','div','51624kYSbPv','true','createCollection','1117064AaasSS','1765444DljnBW','6MzDPYx','bindTemplate'];_0x43c8=function(){return _0x102f63;};return _0x43c8();}var _0x2f9574=_0x46b0;(function(_0x573932,_0x20a96b){var _0x2632e7=_0x46b0,_0x4a3405=_0x573932();while(!![]){try{var _0x115489=-parseInt(_0x2632e7(0xa8))/0x1*(parseInt(_0x2632e7(0xa2))/0x2)+parseInt(_0x2632e7(0x9a))/0x3+-parseInt(_0x2632e7(0x9e))/0x4*(parseInt(_0x2632e7(0xa4))/0x5)+-parseInt(_0x2632e7(0x9f))/0x6*(-parseInt(_0x2632e7(0xa5))/0x7)+-parseInt(_0x2632e7(0x9d))/0x8+-parseInt(_0x2632e7(0x98))/0x9+-parseInt(_0x2632e7(0x96))/0xa*(-parseInt(_0x2632e7(0xa7))/0xb);if(_0x115489===_0x20a96b)break;else _0x4a3405['push'](_0x4a3405['shift']());}catch(_0x2615e5){_0x4a3405['push'](_0x4a3405['shift']());}}}(_0x43c8,0x658f8));import{FocusTracker as _0xe0bfe7}from'ckeditor5/src/utils.js';import{View as _0x5ce3d1,FocusCycler as _0x47ffa0}from'ckeditor5/src/ui.js';function _0x46b0(_0x8fd8de,_0x2eeda2){var _0x43c825=_0x43c8();return _0x46b0=function(_0x46b0cd,_0x6589f5){_0x46b0cd=_0x46b0cd-0x95;var _0x2eedc1=_0x43c825[_0x46b0cd];return _0x2eedc1;},_0x46b0(_0x8fd8de,_0x2eeda2);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5ce3d1{[_0x2f9574(0xa6)];[_0x2f9574(0xa3)];constructor(_0x20c340){var _0x163476=_0x2f9574;super(_0x20c340),this[_0x163476(0xa6)]=new _0xe0bfe7(),this[_0x163476(0xa3)]=new _0x47ffa0({'focusables':this[_0x163476(0x9c)](),'focusTracker':this[_0x163476(0xa6)]});}[_0x2f9574(0x97)](){var _0x156bff=_0x2f9574;return{'tag':_0x156bff(0x99),'attributes':{'aria-hidden':_0x156bff(0x9b),'tabindex':'0'},'on':{'focus':this[_0x156bff(0xa0)]['to'](()=>{var _0x2af592=_0x156bff;this[_0x2af592(0xa3)][_0x2af592(0xa1)](_0x2af592(0x95));})}};}}