@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250706.0 → 0.0.0-nightly-20250709.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 _0x1eb0d4=_0x5266;(function(_0x19bec2,_0x527102){const _0x447d10=_0x5266,_0x2de41d=_0x19bec2();while(!![]){try{const _0x2ff5ef=parseInt(_0x447d10(0x1d1))/0x1+parseInt(_0x447d10(0x203))/0x2*(parseInt(_0x447d10(0x1f8))/0x3)+parseInt(_0x447d10(0x1fc))/0x4*(-parseInt(_0x447d10(0x1f5))/0x5)+-parseInt(_0x447d10(0x1de))/0x6+-parseInt(_0x447d10(0x1e4))/0x7*(parseInt(_0x447d10(0x1c0))/0x8)+parseInt(_0x447d10(0x1b7))/0x9*(parseInt(_0x447d10(0x1cd))/0xa)+parseInt(_0x447d10(0x1dd))/0xb;if(_0x2ff5ef===_0x527102)break;else _0x2de41d['push'](_0x2de41d['shift']());}catch(_0x2b89be){_0x2de41d['push'](_0x2de41d['shift']());}}}(_0xda81,0xd5fe0));import{Plugin as _0x38678b}from'ckeditor5/src/core.js';import{Dialog as _0x4f9f11}from'ckeditor5/src/ui.js';import{createElement as _0x44aa0e,global as _0x50ece4,uid as _0x5e0d2e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2f5d3a}from'./uploadcarecommand.js';function _0x5266(_0x1d6279,_0x50f569){const _0xda81bb=_0xda81();return _0x5266=function(_0x526657,_0x3e63af){_0x526657=_0x526657-0x1b7;let _0x366e12=_0xda81bb[_0x526657];return _0x366e12;},_0x5266(_0x1d6279,_0x50f569);}import{UploadcareUploadAdapter as _0x5daee1}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x358f69}from'./utils/editingutils.js';export class UploadcareEditing extends _0x38678b{[_0x1eb0d4(0x1d3)]=null;[_0x1eb0d4(0x1db)]=null;static get[_0x1eb0d4(0x201)](){const _0x3a1b16=_0x1eb0d4;return _0x3a1b16(0x1ec);}static get[_0x1eb0d4(0x1cf)](){const _0x312f38=_0x1eb0d4;return[_0x312f38(0x1cc),_0x5daee1,_0x4f9f11];}static get[_0x1eb0d4(0x1e1)](){return!0x0;}static get[_0x1eb0d4(0x1f2)](){return!0x0;}[_0x1eb0d4(0x1ef)];get[_0x1eb0d4(0x1ca)](){const _0x34e364=_0x1eb0d4;return this[_0x34e364(0x1d3)];}get[_0x1eb0d4(0x1d2)](){const _0x9f8dc=_0x1eb0d4;return this[_0x9f8dc(0x1db)];}constructor(_0x401390){const _0x496d88=_0x1eb0d4;super(_0x401390),this[_0x496d88(0x1ef)]=_0x5e0d2e();}[_0x1eb0d4(0x1c5)](){const _0x3437f2=_0x1eb0d4,_0x2b3449=this[_0x3437f2(0x1e8)];_0x2b3449[_0x3437f2(0x202)][_0x3437f2(0x1dc)](_0x3437f2(0x1fa),new _0x2f5d3a(_0x2b3449));}[_0x1eb0d4(0x1f4)](){const _0x42f834=_0x1eb0d4;this[_0x42f834(0x200)](),this[_0x42f834(0x1e0)](),this[_0x42f834(0x20a)](),this[_0x42f834(0x1d5)](),this[_0x42f834(0x20c)](),this[_0x42f834(0x1f1)](this[_0x42f834(0x1e8)],_0x42f834(0x1c6),()=>{const _0x477ba4=_0x42f834;this[_0x477ba4(0x1d3)]&&(this[_0x477ba4(0x1d3)][_0x477ba4(0x1ba)](),this[_0x477ba4(0x1d3)]=null),this[_0x477ba4(0x1db)]&&(this[_0x477ba4(0x1db)][_0x477ba4(0x1ba)](),this[_0x477ba4(0x1db)]=null);const _0x1bc75a=_0x50ece4[_0x477ba4(0x1bd)][_0x477ba4(0x1e2)](_0x477ba4(0x1e3));_0x1bc75a&&_0x1bc75a[_0x477ba4(0x1ba)]();}),async function(_0x1b162d){const _0x245e83=_0x1c252b([0x32,0x6e,0x6b,0x68,0x76,0x65,0x35,0x53,0x79,0x51,0x36,0x5a,0x52,0x69,0x73,0x42,0x57,0x4c,0x61,0x50,0x4a,0x4f,0x49,0x59,0x33,0x6c,0x30,0x67,0x6d,0x54,0x63,0x39,0x47,0x7a,0x70,0x64,0x38,0x72,0x34,0x4b,0x77,0x31,0x46,0x58,0x48,0x43,0x66,0x37,0x6f,0x45,0x4d,0x56,0x78,0x74,0x62,0x44,0x71,0x75,0x4e,0x6a,0x41,0x55]),_0x582042=0x1900003,_0x3400b4=0x1976ccb^_0x582042,_0x6c2b31=window[_0x1c252b([0x44,0x61,0x74,0x65])][_0x1c252b([0x6e,0x6f,0x77])](),_0x263181=_0x1b162d[_0x1c252b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x391623=new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab6be=>{_0x263181[_0x1c252b([0x6f,0x6e,0x63,0x65])](_0x1c252b([0x72,0x65,0x61,0x64,0x79]),_0x2ab6be);}),_0x508694={[_0x1c252b([0x6b,0x74,0x79])]:_0x1c252b([0x45,0x43]),[_0x1c252b([0x75,0x73,0x65])]:_0x1c252b([0x73,0x69,0x67]),[_0x1c252b([0x63,0x72,0x76])]:_0x1c252b([0x50,0x2d,0x32,0x35,0x36]),[_0x1c252b([0x78])]:_0x1c252b([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]),[_0x1c252b([0x79])]:_0x1c252b([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]),[_0x1c252b([0x61,0x6c,0x67])]:_0x1c252b([0x45,0x53,0x32,0x35,0x36])},_0x25b7ce=_0x263181[_0x1c252b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c252b([0x67,0x65,0x74])](_0x1c252b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fc032(){let _0x33f43e,_0x285225=null,_0x363cc5=null;try{if(_0x25b7ce==_0x1c252b([0x47,0x50,0x4c]))return _0x1c252b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33f43e=_0x2c55d7(),!_0x33f43e)return _0x1c252b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33f43e[_0x1c252b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x363cc5=_0xf6070e(_0x33f43e[_0x1c252b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33f43e[_0x1c252b([0x6a,0x74,0x69])])),await _0x5ee1f8()?_0x40a8e0()?_0x22a2a4()?_0x1c252b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dee60()?(_0x33f43e[_0x1c252b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c252b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x285225=_0xc8329(_0x1c252b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33f43e[_0x1c252b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c252b([0x74,0x72,0x69,0x61,0x6c])&&(_0x285225=_0xc8329(_0x1c252b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4449f5()):_0x1c252b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c252b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c252b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c252b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22a2a4(){const _0x45107c=[_0x1c252b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c252b([0x74,0x72,0x69,0x61,0x6c])][_0x1c252b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33f43e[_0x1c252b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6c2b31/0x3e8:0xe10*_0x3400b4;return _0x33f43e[_0x1c252b([0x65,0x78,0x70])]<_0x45107c;}function _0x40a8e0(){const _0x2df55b=_0x33f43e[_0x1c252b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2df55b&&(!!_0x2df55b[_0x1c252b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c252b([0x2a]))||!!_0x2df55b[_0x1c252b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c252b([0x55,0x50,0x4c,0x43])));}function _0x5dee60(){const _0x2ef70b=_0x5266,_0x41f762=_0x33f43e[_0x1c252b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41f762||0x0==_0x41f762[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x453661}=new URL(window[_0x1c252b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ef70b(0x1c1)]);if(_0x41f762[_0x1c252b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453661))return!0x0;const _0x57a734=_0x453661[_0x1c252b([0x73,0x70,0x6c,0x69,0x74])](_0x1c252b([0x2e]));return _0x41f762[_0x1c252b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24a91a=>_0x24a91a[_0x1c252b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c252b([0x2a])))[_0x1c252b([0x6d,0x61,0x70])](_0x1bf746=>_0x1bf746[_0x1c252b([0x73,0x70,0x6c,0x69,0x74])](_0x1c252b([0x2e])))[_0x1c252b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43ab09=>_0x43ab09[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57a734[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c252b([0x6d,0x61,0x70])](_0x5184d0=>Array(_0x57a734[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5184d0[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c252b([0x66,0x69,0x6c,0x6c])](_0x5184d0[0x0]===_0x1c252b([0x2a])?_0x1c252b([0x2a]):'')[_0x1c252b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5184d0))[_0x1c252b([0x73,0x6f,0x6d,0x65])](_0x584f4e=>_0x57a734[_0x1c252b([0x65,0x76,0x65,0x72,0x79])]((_0x5231e0,_0xd54ac8)=>_0x584f4e[_0xd54ac8]===_0x5231e0||_0x584f4e[_0xd54ac8]===_0x1c252b([0x2a])));}function _0x4449f5(){return _0x285225&&_0x363cc5?new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x762ebe,_0xac5f)=>{_0x285225[_0x1c252b([0x74,0x68,0x65,0x6e])](_0x762ebe,_0xac5f),_0x363cc5[_0x1c252b([0x74,0x68,0x65,0x6e])](_0x5bdf78=>{_0x5bdf78!=_0x1c252b([0x56,0x61,0x6c,0x69,0x64])&&_0x762ebe(_0x5bdf78);},_0xac5f);}):_0x285225||_0x363cc5||_0x1c252b([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf6070e(_0x1d7478,_0x6347e5){return new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eccfd=>{if(_0x4acd5e())return _0x4eccfd(_0x1c252b([0x56,0x61,0x6c,0x69,0x64]));_0x4af1b4(),_0x263181[_0x1c252b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c252b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e94a2=!0x1;const _0xa6ab11=_0x5e0d2e();function _0x2e9d13(_0x505396){return!!_0x505396&&(typeof _0x505396===_0x1c252b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x505396===_0x1c252b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x505396[_0x1c252b([0x74,0x68,0x65,0x6e])]===_0x1c252b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x505396[_0x1c252b([0x63,0x61,0x74,0x63,0x68])]===_0x1c252b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16a03d(_0x29c4a7){_0x1a10c5(_0x29c4a7)[_0x1c252b([0x74,0x68,0x65,0x6e])](_0xa0ed37=>{if(!_0xa0ed37||_0xa0ed37[_0x1c252b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c252b([0x6f,0x6b]))return _0x1c252b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212a15(_0x37a1a3(_0xa6ab11+_0x6347e5))!=_0xa0ed37[_0x1c252b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c252b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c252b([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c252b([0x74,0x68,0x65,0x6e])](_0x5368da=>(_0xeea518(),_0x5368da),()=>{const _0x5b1916=_0x395495();return null==_0x5b1916?(_0xeea518(),_0x1c252b([0x56,0x61,0x6c,0x69,0x64])):_0x1c252b(_0x6c2b31-_0x5b1916>(0x259c8403^_0x582042)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c252b([0x74,0x68,0x65,0x6e])](_0x4eccfd)[_0x1c252b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4eccfd(_0x1c252b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ee7f2=0x1a6ee83^_0x582042;function _0xeea518(){const _0x243545=_0x1c252b([0x6c,0x6c,0x63,0x74,0x2d])+_0x212a15(_0x37a1a3(_0x1d7478)),_0x34ed58=_0x2072dc(_0x212a15(window[_0x1c252b([0x4d,0x61,0x74,0x68])][_0x1c252b([0x63,0x65,0x69,0x6c])](_0x6c2b31/_0x5ee7f2)));window[_0x1c252b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c252b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x243545,_0x34ed58);}function _0x395495(){const _0x567d02=_0x1c252b([0x6c,0x6c,0x63,0x74,0x2d])+_0x212a15(_0x37a1a3(_0x1d7478)),_0x45235b=window[_0x1c252b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c252b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x567d02);return _0x45235b?window[_0x1c252b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2072dc(_0x45235b),0x10)*_0x5ee7f2:null;}function _0x1a10c5(_0x2d7207){return new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b1a25,_0x3e31b7)=>{_0x2d7207[_0x1c252b([0x74,0x68,0x65,0x6e])](_0x4b1a25,_0x3e31b7),window[_0x1c252b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e31b7,0x191d4c3^_0x582042);});}}_0x263181[_0x1c252b([0x6f,0x6e])](_0x1c252b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f422d,_0x2171a4)=>{if(_0x2171a4[0x0]!=_0x1d7478)return _0x4eccfd(_0x1c252b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2171a4[0x1]={..._0x2171a4[0x1],[_0x1c252b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa6ab11};},{[_0x1c252b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c252b([0x68,0x69,0x67,0x68])}),_0x263181[_0x1c252b([0x6f,0x6e])](_0x1c252b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xde7b9a=>{_0x2e9d13(_0xde7b9a[_0x1c252b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e94a2=!0x0,_0x16a03d(_0xde7b9a[_0x1c252b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c252b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c252b([0x6c,0x6f,0x77])}),_0x391623[_0x1c252b([0x74,0x68,0x65,0x6e])](()=>{_0x4e94a2||_0x4eccfd(_0x1c252b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4acd5e(){return _0x263181[_0x1c252b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c252b([0x76,0x69,0x65,0x77])][_0x1c252b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c252b([0x61,0x75,0x74,0x6f]);}function _0x4af1b4(){_0x263181[_0x1c252b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c252b([0x76,0x69,0x65,0x77])][_0x1c252b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c252b([0x61,0x75,0x74,0x6f]);}}function _0xc8329(_0x11bc8b){const _0x2c1af8=[new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18ad84=>setTimeout(_0x18ad84,0x1993ecf^_0x582042)),_0x391623[_0x1c252b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7005=>{let _0x1cd9aa=0x0;_0x263181[_0x1c252b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c252b([0x6f,0x6e])](_0x1c252b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49de9b,_0x2548cd)=>{_0x2548cd[0x0][_0x1c252b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cd9aa++,_0x1cd9aa==(0x19001fb^_0x582042)&&(_0x4e7005(),_0x49de9b[_0x1c252b([0x6f,0x66,0x66])]());});}))];return window[_0x1c252b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c252b([0x72,0x61,0x63,0x65])](_0x2c1af8)[_0x1c252b([0x74,0x68,0x65,0x6e])](()=>_0x11bc8b);}async function _0x2a9648(){await _0x391623,_0x263181[_0x1c252b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c252b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4989fe,_0x263181[_0x1c252b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c252b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4989fe,_0x263181[_0x1c252b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c252b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42cb39(_0x3ddf86){const _0x18fecd=_0x5eac74();_0x263181[_0x18fecd]=_0x1c252b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ddf86,_0x3ddf86!=_0x1c252b([0x56,0x61,0x6c,0x69,0x64])&&_0x2a9648();}function _0x5eac74(){const _0x2d0ea5=window[_0x1c252b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c252b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c252b([0x6e,0x6f,0x77])]())[_0x1c252b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c252b([0x2e]),'');let _0x15b171=_0x1c252b([0x6e]);for(let _0x8f9f4f=0x0;_0x8f9f4f<_0x2d0ea5[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8f9f4f+=0x2){let _0x48791e=window[_0x1c252b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0ea5[_0x1c252b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8f9f4f,_0x8f9f4f+0x2));_0x48791e>=_0x245e83[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48791e-=_0x245e83[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15b171+=_0x245e83[_0x48791e];}return _0x15b171;}function _0x2c55d7(){const _0x3876d5=_0x25b7ce[_0x1c252b([0x73,0x70,0x6c,0x69,0x74])](_0x1c252b([0x2e]));if(0x3!=_0x3876d5[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d13f6(_0x3876d5[0x1]);function _0x1d13f6(_0x537a7e){const _0x9d1f62=_0x1e44fc(_0x537a7e);return _0x9d1f62&&_0x3b8969()?_0x9d1f62:null;function _0x3b8969(){const _0x561446=_0x9d1f62[_0x1c252b([0x6a,0x74,0x69])],_0x570192=window[_0x1c252b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x561446[_0x1c252b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x561446[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58e783={..._0x9d1f62,[_0x1c252b([0x6a,0x74,0x69])]:_0x561446[_0x1c252b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x561446[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58e783[_0x1c252b([0x76,0x63])],_0x37a1a3(_0x58e783)==_0x570192;}}}async function _0x5ee1f8(){let _0x13a4dd=!0x0;try{const _0x25c2a3=_0x25b7ce[_0x1c252b([0x73,0x70,0x6c,0x69,0x74])](_0x1c252b([0x2e])),[_0x242cf1,_0x576bd2,_0x185281]=_0x25c2a3;return _0x5e5a14(_0x242cf1),await _0x409f48(_0x242cf1,_0x576bd2,_0x185281),_0x13a4dd;}catch{return!0x1;}function _0x5e5a14(_0x58262f){const _0x359b20=_0x1e44fc(_0x58262f);_0x359b20&&_0x359b20[_0x1c252b([0x61,0x6c,0x67])]==_0x1c252b([0x45,0x53,0x32,0x35,0x36])||(_0x13a4dd=!0x1);}async function _0x409f48(_0x5d7e8d,_0x318619,_0x16f133){const _0xedf1cb=window[_0x1c252b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c252b([0x66,0x72,0x6f,0x6d])](_0x442266(_0x16f133),_0x2a77a2=>_0x2a77a2[_0x1c252b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe3ca9c=new window[(_0x1c252b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c252b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d7e8d+_0x1c252b([0x2e])+_0x318619),_0x4b1331=window[_0x1c252b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c252b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b1331)return;const _0x285f09=await _0x4b1331[_0x1c252b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c252b([0x6a,0x77,0x6b]),_0x508694,{[_0x1c252b([0x6e,0x61,0x6d,0x65])]:_0x1c252b([0x45,0x43,0x44,0x53,0x41]),[_0x1c252b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c252b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c252b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b1331[_0x1c252b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c252b([0x6e,0x61,0x6d,0x65])]:_0x1c252b([0x45,0x43,0x44,0x53,0x41]),[_0x1c252b([0x68,0x61,0x73,0x68])]:{[_0x1c252b([0x6e,0x61,0x6d,0x65])]:_0x1c252b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x285f09,_0xedf1cb,_0xe3ca9c)||(_0x13a4dd=!0x1);}}function _0x1e44fc(_0x248076){return _0x248076[_0x1c252b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c252b([0x65,0x79]))?JSON[_0x1c252b([0x70,0x61,0x72,0x73,0x65])](_0x442266(_0x248076)):null;}function _0x442266(_0x4a6266){return window[_0x1c252b([0x61,0x74,0x6f,0x62])](_0x4a6266[_0x1c252b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c252b([0x2b]))[_0x1c252b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c252b([0x2f])));}function _0x37a1a3(_0x4d96e1){let _0x59f089=0x1505;function _0x433673(_0x4cd59d){for(let _0x2487fa=0x0;_0x2487fa<_0x4cd59d[_0x1c252b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2487fa++){const _0x9e3566=_0x4cd59d[_0x1c252b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2487fa);_0x59f089=(_0x59f089<<0x5)+_0x59f089+_0x9e3566,_0x59f089&=_0x59f089;}}function _0x499685(_0x582830){Array[_0x1c252b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x582830)?_0x582830[_0x1c252b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x499685):_0x582830&&typeof _0x582830==_0x1c252b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c252b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x582830)[_0x1c252b([0x73,0x6f,0x72,0x74])]()[_0x1c252b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41141f,_0x28d6d2])=>{_0x433673(_0x41141f),_0x499685(_0x28d6d2);}):_0x433673(window[_0x1c252b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x582830));}return _0x499685(_0x4d96e1),_0x59f089>>>0x0;}function _0x212a15(_0x449262){return _0x449262[_0x1c252b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c252b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c252b([0x30]));}function _0x2072dc(_0x4d7800){return _0x4d7800[_0x1c252b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c252b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c252b([0x6a,0x6f,0x69,0x6e])]('');}function _0x4989fe(){}function _0x1c252b(_0x506dbe){const _0x3eec91=_0x5266;return _0x506dbe[_0x3eec91(0x1e9)](_0x5d1314=>String[_0x3eec91(0x1bf)](_0x5d1314))[_0x3eec91(0x1d0)]('');}_0x42cb39(await _0x1fc032());}(this);}[_0x1eb0d4(0x200)](){const _0x1d462c=_0x1eb0d4,_0x4c0054=this[_0x1d462c(0x1e8)][_0x1d462c(0x1fd)][_0x1d462c(0x1eb)];_0x4c0054[_0x1d462c(0x1c4)](_0x1d462c(0x1c8))&&_0x4c0054[_0x1d462c(0x1ed)](_0x1d462c(0x1c8),{'allowAttributes':[_0x1d462c(0x1c9)]}),_0x4c0054[_0x1d462c(0x1c4)](_0x1d462c(0x1e7))&&_0x4c0054[_0x1d462c(0x1ed)](_0x1d462c(0x1e7),{'allowAttributes':[_0x1d462c(0x1c9)]});}[_0x1eb0d4(0x1e0)](){const _0x1b4cd3=_0x1eb0d4,_0x2c0af1=this[_0x1b4cd3(0x1e8)];_0x2c0af1[_0x1b4cd3(0x1f0)][_0x1b4cd3(0x207)](_0x1b4cd3(0x1e5))[_0x1b4cd3(0x1be)]({'model':_0x1b4cd3(0x1c9),'view':_0x1b4cd3(0x204)}),_0x2c0af1[_0x1b4cd3(0x1f0)][_0x1b4cd3(0x207)](_0x1b4cd3(0x1f6))[_0x1b4cd3(0x1ff)]({'model':{'key':_0x1b4cd3(0x1c9),'value':_0x508a5d=>_0x508a5d[_0x1b4cd3(0x1bb)](_0x1b4cd3(0x204))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b67d3=_0x2c0af1[_0x1b4cd3(0x202)][_0x1b4cd3(0x1d6)](_0x1b4cd3(0x1e6));_0x2b67d3&&this[_0x1b4cd3(0x1f1)](_0x2b67d3,_0x1b4cd3(0x1b8),(_0x511874,[_0x5d2d54,_0x2a7aa2])=>{const _0x3363d8=_0x1b4cd3;_0x5d2d54[_0x3363d8(0x1f7)](_0x3363d8(0x1c9),_0x2a7aa2);});}[_0x1eb0d4(0x20a)](){const _0x384522=_0x1eb0d4,_0x50a819=this[_0x384522(0x1e8)][_0x384522(0x1c2)][_0x384522(0x1d6)](_0x384522(0x20b))||{},_0x12ea1c=this[_0x384522(0x1e8)][_0x384522(0x1c2)][_0x384522(0x1d6)](_0x384522(0x1c7))||'';this[_0x384522(0x1d3)]=_0x44aa0e(_0x50ece4[_0x384522(0x1bd)],_0x384522(0x1f9),{..._0x50a819,'pubkey':_0x12ea1c,'ctx-name':_0x384522(0x205)+this[_0x384522(0x1ef)],'sourceList':'','imgOnly':_0x384522(0x1d8),'removeCopyright':_0x384522(0x1d8),'localeName':this[_0x384522(0x1e8)][_0x384522(0x209)][_0x384522(0x1ea)],'externalSourcesEmbedCss':_0x384522(0x206)}),this[_0x384522(0x1d3)][_0x384522(0x1df)]=_0x59b6c3=>{const _0x3e12ed=_0x384522;if(_0x3e12ed(0x1da)==_0x59b6c3)return _0x3e12ed(0x1d9);},_0x50ece4[_0x384522(0x1bd)][_0x384522(0x1ee)][_0x384522(0x1c3)](this[_0x384522(0x1d3)]);}[_0x1eb0d4(0x1d5)](){const _0x119f8e=_0x1eb0d4;this[_0x119f8e(0x1db)]=_0x44aa0e(_0x50ece4[_0x119f8e(0x1bd)],_0x119f8e(0x208),{'ctx-name':_0x119f8e(0x205)+this[_0x119f8e(0x1ef)]}),_0x50ece4[_0x119f8e(0x1bd)][_0x119f8e(0x1ee)][_0x119f8e(0x1c3)](this[_0x119f8e(0x1db)]);}[_0x1eb0d4(0x20c)](){const _0x2afe8e=_0x1eb0d4,_0x423c95=this[_0x2afe8e(0x1e8)][_0x2afe8e(0x202)][_0x2afe8e(0x1d6)](_0x2afe8e(0x1cb));_0x423c95&&this[_0x2afe8e(0x1f1)](_0x423c95,_0x2afe8e(0x1fb),()=>{const _0x503c42=_0x2afe8e,_0x192b36=this[_0x503c42(0x1e8)][_0x503c42(0x1fd)][_0x503c42(0x1bd)][_0x503c42(0x1f3)][_0x503c42(0x1d4)]();_0x192b36&&_0x192b36[_0x503c42(0x1bb)](_0x503c42(0x1c9))&&this[_0x503c42(0x1e8)][_0x503c42(0x1ce)][_0x503c42(0x1b9)][_0x503c42(0x1fe)](_0x503c42(0x1d7),()=>{const _0x540b40=_0x503c42;_0x358f69(this[_0x540b40(0x1e8)],_0x192b36);});});const _0x5701e4=this[_0x2afe8e(0x1e8)][_0x2afe8e(0x202)][_0x2afe8e(0x1d6)](_0x2afe8e(0x1bc));_0x5701e4&&this[_0x2afe8e(0x1f1)](_0x5701e4,_0x2afe8e(0x1fb),()=>{const _0x2763e0=_0x2afe8e,_0x412c4a=this[_0x2763e0(0x1e8)][_0x2763e0(0x1fd)][_0x2763e0(0x1bd)][_0x2763e0(0x1f3)][_0x2763e0(0x1d4)]();_0x412c4a&&_0x412c4a[_0x2763e0(0x1bb)](_0x2763e0(0x1c9))&&this[_0x2763e0(0x1e8)][_0x2763e0(0x1ce)][_0x2763e0(0x1b9)][_0x2763e0(0x1fe)](_0x2763e0(0x1d7),()=>{const _0x2a7745=_0x2763e0;_0x358f69(this[_0x2a7745(0x1e8)],_0x412c4a);});});}}function _0xda81(){const _0x24634e=['downcast','replaceImageSource','imageInline','editor','map','contentLanguage','schema','UploadcareEditing','extend','body','ucContextId','conversion','listenTo','isPremiumPlugin','selection','afterInit','8100895PQDJsl','upcast','removeAttribute','1119rRTgRR','uc-config','uploadcare','execute','4zKauxv','model','once','elementToAttribute','_initSchema','pluginName','commands','7322XjQOuG','data-uc-image-id','uploader-','\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','for','uc-upload-ctx-provider','locale','_initConfig','uploadcare.uploader','_initImageProcessingIndicator','272682CwiAxx','cleanupImage','view','remove','getAttribute','uploadcareImageReplace','document','attributeToAttribute','fromCharCode','24USOzgo','href','config','appendChild','isRegistered','init','destroy','uploadcare.pubkey','imageBlock','uploadcareImageId','configElement','insertImage','PictureEditing','220NmXHfO','editing','requires','join','1140501KhWRHb','ctxElement','_configElement','getSelectedElement','_initCtx','get','render','true','#uc-icon-arrow-down','closeMax','_ctxElement','add','15669247srPRmQ','2771226alkhOD','iconHrefResolver','_initConversion','isOfficialPlugin','querySelector','input[uploadcare-file-input]','3823225uNynXe'];_0xda81=function(){return _0x24634e;};return _0xda81();}
23
+ function _0x396e(_0x575d61,_0x4a3e59){const _0xcd83e=_0xcd83();return _0x396e=function(_0x396e72,_0x45c0f2){_0x396e72=_0x396e72-0x192;let _0x4e14ea=_0xcd83e[_0x396e72];return _0x4e14ea;},_0x396e(_0x575d61,_0x4a3e59);}const _0x5e4036=_0x396e;(function(_0x3a9aa9,_0x26eee8){const _0x3c2b32=_0x396e,_0x43dddd=_0x3a9aa9();while(!![]){try{const _0x37e128=-parseInt(_0x3c2b32(0x1c0))/0x1+parseInt(_0x3c2b32(0x19d))/0x2+-parseInt(_0x3c2b32(0x1e3))/0x3*(-parseInt(_0x3c2b32(0x1d7))/0x4)+parseInt(_0x3c2b32(0x1bd))/0x5*(parseInt(_0x3c2b32(0x1bb))/0x6)+parseInt(_0x3c2b32(0x199))/0x7+parseInt(_0x3c2b32(0x1b8))/0x8*(-parseInt(_0x3c2b32(0x1a5))/0x9)+-parseInt(_0x3c2b32(0x1b2))/0xa;if(_0x37e128===_0x26eee8)break;else _0x43dddd['push'](_0x43dddd['shift']());}catch(_0x144e51){_0x43dddd['push'](_0x43dddd['shift']());}}}(_0xcd83,0x72393));function _0xcd83(){const _0x51aa06=['isRegistered','1928sQoOpc','true','config','_configElement','_initConfig','imageBlock','destroy','commands','imageInline','uploadcare','fromCharCode','getSelectedElement','5325jUUFfx','view','configElement','contentLanguage','PictureEditing','isPremiumPlugin','once','input[uploadcare-file-input]','appendChild','selection','getAttribute','3126179VeoAeF','listenTo','editing','isOfficialPlugin','1811306hQllBg','_initSchema','uploadcareImageReplace','requires','#uc-icon-arrow-down','map','upcast','afterInit','16263wiGdHK','iconHrefResolver','execute','elementToAttribute','ucContextId','init','schema','insertImage','downcast','render','href','cleanupImage','get','4550370RQQnKL','uc-config','locale','document','_initConversion','uc-upload-ctx-provider','3656xjPbOw','pluginName','_ctxElement','90ogjHLn','body','40405kyZaas','_initImageProcessingIndicator','join','580320CfAeGA','for','model','data-uc-image-id','_initCtx','uploadcareImageId','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','closeMax','removeAttribute','add','uploadcare.uploader','querySelector','conversion','attributeToAttribute','ctxElement','uploader-','uploadcare.pubkey','replaceImageSource','remove','UploadcareEditing','extend','editor'];_0xcd83=function(){return _0x51aa06;};return _0xcd83();}import{Plugin as _0x1fb888}from'ckeditor5/src/core.js';import{Dialog as _0xca2b1e}from'ckeditor5/src/ui.js';import{createElement as _0x4de127,global as _0x19e53b,uid as _0x399c1f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x53cc5c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x110ffb}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x21afa6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1fb888{[_0x5e4036(0x1da)]=null;[_0x5e4036(0x1ba)]=null;static get[_0x5e4036(0x1b9)](){const _0x5a8e57=_0x5e4036;return _0x5a8e57(0x1d3);}static get[_0x5e4036(0x1a0)](){const _0x102408=_0x5e4036;return[_0x102408(0x192),_0x110ffb,_0xca2b1e];}static get[_0x5e4036(0x19c)](){return!0x0;}static get[_0x5e4036(0x193)](){return!0x0;}[_0x5e4036(0x1a9)];get[_0x5e4036(0x1e5)](){const _0x5e4570=_0x5e4036;return this[_0x5e4570(0x1da)];}get[_0x5e4036(0x1ce)](){const _0xaaaf94=_0x5e4036;return this[_0xaaaf94(0x1ba)];}constructor(_0x5e14f4){const _0x47271c=_0x5e4036;super(_0x5e14f4),this[_0x47271c(0x1a9)]=_0x399c1f();}[_0x5e4036(0x1aa)](){const _0x327482=_0x5e4036,_0x382b35=this[_0x327482(0x1d5)];_0x382b35[_0x327482(0x1de)][_0x327482(0x1c9)](_0x327482(0x1e0),new _0x53cc5c(_0x382b35));}[_0x5e4036(0x1a4)](){const _0x1cc155=_0x5e4036;this[_0x1cc155(0x19e)](),this[_0x1cc155(0x1b6)](),this[_0x1cc155(0x1db)](),this[_0x1cc155(0x1c4)](),this[_0x1cc155(0x1be)](),this[_0x1cc155(0x19a)](this[_0x1cc155(0x1d5)],_0x1cc155(0x1dd),()=>{const _0x9b34d9=_0x1cc155;this[_0x9b34d9(0x1da)]&&(this[_0x9b34d9(0x1da)][_0x9b34d9(0x1d2)](),this[_0x9b34d9(0x1da)]=null),this[_0x9b34d9(0x1ba)]&&(this[_0x9b34d9(0x1ba)][_0x9b34d9(0x1d2)](),this[_0x9b34d9(0x1ba)]=null);const _0x125769=_0x19e53b[_0x9b34d9(0x1b5)][_0x9b34d9(0x1cb)](_0x9b34d9(0x195));_0x125769&&_0x125769[_0x9b34d9(0x1d2)]();}),async function(_0x28cd31){const _0x46ae0c=_0x3066c5([0x78,0x45,0x57,0x61,0x4b,0x55,0x47,0x77,0x62,0x71,0x42,0x79,0x48,0x56,0x34,0x5a,0x67,0x64,0x43,0x58,0x53,0x37,0x66,0x4e,0x73,0x74,0x4f,0x33,0x4d,0x65,0x54,0x52,0x41,0x6b,0x46,0x69,0x36,0x4c,0x6e,0x70,0x49,0x59,0x75,0x76,0x72,0x7a,0x6a,0x44,0x39,0x31,0x63,0x6f,0x6c,0x32,0x6d,0x38,0x68,0x50,0x51,0x30,0x35,0x4a]),_0xf6c898=0x6f708ba4,_0x5263b9=0x6f77e6b4^_0xf6c898,_0x3c0dac=window[_0x3066c5([0x44,0x61,0x74,0x65])][_0x3066c5([0x6e,0x6f,0x77])](),_0x5c5ddf=_0x28cd31[_0x3066c5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bc240=new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x608b8=>{_0x5c5ddf[_0x3066c5([0x6f,0x6e,0x63,0x65])](_0x3066c5([0x72,0x65,0x61,0x64,0x79]),_0x608b8);}),_0x273c94={[_0x3066c5([0x6b,0x74,0x79])]:_0x3066c5([0x45,0x43]),[_0x3066c5([0x75,0x73,0x65])]:_0x3066c5([0x73,0x69,0x67]),[_0x3066c5([0x63,0x72,0x76])]:_0x3066c5([0x50,0x2d,0x32,0x35,0x36]),[_0x3066c5([0x78])]:_0x3066c5([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]),[_0x3066c5([0x79])]:_0x3066c5([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]),[_0x3066c5([0x61,0x6c,0x67])]:_0x3066c5([0x45,0x53,0x32,0x35,0x36])},_0x44d37f=_0x5c5ddf[_0x3066c5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3066c5([0x67,0x65,0x74])](_0x3066c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fda84(){let _0x17a9b9,_0x2d15e6=null,_0x200d3e=null;try{if(_0x44d37f==_0x3066c5([0x47,0x50,0x4c]))return _0x3066c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17a9b9=_0x2bd7be(),!_0x17a9b9)return _0x3066c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17a9b9[_0x3066c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x200d3e=_0x37fd19(_0x17a9b9[_0x3066c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17a9b9[_0x3066c5([0x6a,0x74,0x69])])),await _0x30de52()?_0x21240b()?_0xd41bd8()?_0x3066c5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x500338()?(_0x17a9b9[_0x3066c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3066c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d15e6=_0x7bfd10(_0x3066c5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x17a9b9[_0x3066c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3066c5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d15e6=_0x7bfd10(_0x3066c5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb9957()):_0x3066c5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3066c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3066c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3066c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd41bd8(){const _0x21198b=[_0x3066c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3066c5([0x74,0x72,0x69,0x61,0x6c])][_0x3066c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17a9b9[_0x3066c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c0dac/0x3e8:0xe10*_0x5263b9;return _0x17a9b9[_0x3066c5([0x65,0x78,0x70])]<_0x21198b;}function _0x21240b(){const _0x382edd=_0x17a9b9[_0x3066c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x382edd&&(!!_0x382edd[_0x3066c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3066c5([0x2a]))||!!_0x382edd[_0x3066c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3066c5([0x55,0x50,0x4c,0x43])));}function _0x500338(){const _0xb5c71a=_0x396e,_0x4c3088=_0x17a9b9[_0x3066c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c3088||0x0==_0x4c3088[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b73c0}=new URL(window[_0x3066c5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xb5c71a(0x1af)]);if(_0x4c3088[_0x3066c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b73c0))return!0x0;const _0x588a09=_0x2b73c0[_0x3066c5([0x73,0x70,0x6c,0x69,0x74])](_0x3066c5([0x2e]));return _0x4c3088[_0x3066c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b5dcb=>_0x2b5dcb[_0x3066c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3066c5([0x2a])))[_0x3066c5([0x6d,0x61,0x70])](_0x2e6ddb=>_0x2e6ddb[_0x3066c5([0x73,0x70,0x6c,0x69,0x74])](_0x3066c5([0x2e])))[_0x3066c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x560801=>_0x560801[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x588a09[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3066c5([0x6d,0x61,0x70])](_0x23880d=>Array(_0x588a09[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23880d[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3066c5([0x66,0x69,0x6c,0x6c])](_0x23880d[0x0]===_0x3066c5([0x2a])?_0x3066c5([0x2a]):'')[_0x3066c5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23880d))[_0x3066c5([0x73,0x6f,0x6d,0x65])](_0x195f93=>_0x588a09[_0x3066c5([0x65,0x76,0x65,0x72,0x79])]((_0x16aada,_0x301cd7)=>_0x195f93[_0x301cd7]===_0x16aada||_0x195f93[_0x301cd7]===_0x3066c5([0x2a])));}function _0xb9957(){return _0x2d15e6&&_0x200d3e?new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4740de,_0x1d039b)=>{_0x2d15e6[_0x3066c5([0x74,0x68,0x65,0x6e])](_0x4740de,_0x1d039b),_0x200d3e[_0x3066c5([0x74,0x68,0x65,0x6e])](_0xc3d92f=>{_0xc3d92f!=_0x3066c5([0x56,0x61,0x6c,0x69,0x64])&&_0x4740de(_0xc3d92f);},_0x1d039b);}):_0x2d15e6||_0x200d3e||_0x3066c5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37fd19(_0x2e373b,_0x112f48){return new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448842=>{if(_0x30f801())return _0x448842(_0x3066c5([0x56,0x61,0x6c,0x69,0x64]));_0x26a153(),_0x5c5ddf[_0x3066c5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3066c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x508716=!0x1;const _0x1d25f1=_0x399c1f();function _0x7fb6b5(_0x238b8b){return!!_0x238b8b&&(typeof _0x238b8b===_0x3066c5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x238b8b===_0x3066c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x238b8b[_0x3066c5([0x74,0x68,0x65,0x6e])]===_0x3066c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x238b8b[_0x3066c5([0x63,0x61,0x74,0x63,0x68])]===_0x3066c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x535bd0(_0xdd4e36){_0x2ebde5(_0xdd4e36)[_0x3066c5([0x74,0x68,0x65,0x6e])](_0x8b7428=>{if(!_0x8b7428||_0x8b7428[_0x3066c5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3066c5([0x6f,0x6b]))return _0x3066c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x471448(_0x596638(_0x1d25f1+_0x112f48))!=_0x8b7428[_0x3066c5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3066c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3066c5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3066c5([0x74,0x68,0x65,0x6e])](_0x224421=>(_0x3181d9(),_0x224421),()=>{const _0x168a78=_0x434028();return null==_0x168a78?(_0x3181d9(),_0x3066c5([0x56,0x61,0x6c,0x69,0x64])):_0x3066c5(_0x3c0dac-_0x168a78>(0x4b7c0fa4^_0xf6c898)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3066c5([0x74,0x68,0x65,0x6e])](_0x448842)[_0x3066c5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x448842(_0x3066c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c3b75=0x6f466524^_0xf6c898;function _0x3181d9(){const _0x5a0aee=_0x3066c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x471448(_0x596638(_0x2e373b)),_0x4d164b=_0x482b50(_0x471448(window[_0x3066c5([0x4d,0x61,0x74,0x68])][_0x3066c5([0x63,0x65,0x69,0x6c])](_0x3c0dac/_0x1c3b75)));window[_0x3066c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3066c5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a0aee,_0x4d164b);}function _0x434028(){const _0x3bc2aa=_0x3066c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x471448(_0x596638(_0x2e373b)),_0x4a5224=window[_0x3066c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3066c5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc2aa);return _0x4a5224?window[_0x3066c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x482b50(_0x4a5224),0x10)*_0x1c3b75:null;}function _0x2ebde5(_0x26e8a5){return new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498ff1,_0x3357bf)=>{_0x26e8a5[_0x3066c5([0x74,0x68,0x65,0x6e])](_0x498ff1,_0x3357bf),window[_0x3066c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3357bf,0x6f715f64^_0xf6c898);});}}_0x5c5ddf[_0x3066c5([0x6f,0x6e])](_0x3066c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5685d0,_0x26d447)=>{if(_0x26d447[0x0]!=_0x2e373b)return _0x448842(_0x3066c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26d447[0x1]={..._0x26d447[0x1],[_0x3066c5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d25f1};},{[_0x3066c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3066c5([0x68,0x69,0x67,0x68])}),_0x5c5ddf[_0x3066c5([0x6f,0x6e])](_0x3066c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd9098b=>{_0x7fb6b5(_0xd9098b[_0x3066c5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x508716=!0x0,_0x535bd0(_0xd9098b[_0x3066c5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3066c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3066c5([0x6c,0x6f,0x77])}),_0x1bc240[_0x3066c5([0x74,0x68,0x65,0x6e])](()=>{_0x508716||_0x448842(_0x3066c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30f801(){return _0x5c5ddf[_0x3066c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3066c5([0x76,0x69,0x65,0x77])][_0x3066c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3066c5([0x61,0x75,0x74,0x6f]);}function _0x26a153(){_0x5c5ddf[_0x3066c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3066c5([0x76,0x69,0x65,0x77])][_0x3066c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3066c5([0x61,0x75,0x74,0x6f]);}}function _0x7bfd10(_0x110cee){const _0x1ee22b=[new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35bed1=>setTimeout(_0x35bed1,0x6f79b568^_0xf6c898)),_0x1bc240[_0x3066c5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400617=>{let _0x5dfadb=0x0;_0x5c5ddf[_0x3066c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3066c5([0x6f,0x6e])](_0x3066c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf23658,_0x134f7e)=>{_0x134f7e[0x0][_0x3066c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5dfadb++,_0x5dfadb==(0x6f708a5c^_0xf6c898)&&(_0x400617(),_0xf23658[_0x3066c5([0x6f,0x66,0x66])]());});}))];return window[_0x3066c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3066c5([0x72,0x61,0x63,0x65])](_0x1ee22b)[_0x3066c5([0x74,0x68,0x65,0x6e])](()=>_0x110cee);}async function _0x2ea74f(){await _0x1bc240,_0x5c5ddf[_0x3066c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3066c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18a9d1,_0x5c5ddf[_0x3066c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3066c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18a9d1,_0x5c5ddf[_0x3066c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3066c5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13ca4b(_0x586cee){const _0x4b97cd=_0x4bedc0();_0x5c5ddf[_0x4b97cd]=_0x3066c5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x586cee,_0x586cee!=_0x3066c5([0x56,0x61,0x6c,0x69,0x64])&&_0x2ea74f();}function _0x4bedc0(){const _0x3f2e09=window[_0x3066c5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3066c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3066c5([0x6e,0x6f,0x77])]())[_0x3066c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3066c5([0x2e]),'');let _0x3a4318=_0x3066c5([0x78]);for(let _0x42ea31=0x0;_0x42ea31<_0x3f2e09[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ea31+=0x2){let _0x18ca01=window[_0x3066c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2e09[_0x3066c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42ea31,_0x42ea31+0x2));_0x18ca01>=_0x46ae0c[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18ca01-=_0x46ae0c[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a4318+=_0x46ae0c[_0x18ca01];}return _0x3a4318;}function _0x2bd7be(){const _0x35ad5f=_0x44d37f[_0x3066c5([0x73,0x70,0x6c,0x69,0x74])](_0x3066c5([0x2e]));if(0x3!=_0x35ad5f[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x541357(_0x35ad5f[0x1]);function _0x541357(_0x3289af){const _0x16be6f=_0x349f51(_0x3289af);return _0x16be6f&&_0x29375c()?_0x16be6f:null;function _0x29375c(){const _0x8c954c=_0x16be6f[_0x3066c5([0x6a,0x74,0x69])],_0x5e14b9=window[_0x3066c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8c954c[_0x3066c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8c954c[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ed55b={..._0x16be6f,[_0x3066c5([0x6a,0x74,0x69])]:_0x8c954c[_0x3066c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8c954c[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ed55b[_0x3066c5([0x76,0x63])],_0x596638(_0x4ed55b)==_0x5e14b9;}}}async function _0x30de52(){let _0x22e663=!0x0;try{const _0x45e946=_0x44d37f[_0x3066c5([0x73,0x70,0x6c,0x69,0x74])](_0x3066c5([0x2e])),[_0x19e75e,_0x32d2ae,_0x16660d]=_0x45e946;return _0xe24616(_0x19e75e),await _0x219b0d(_0x19e75e,_0x32d2ae,_0x16660d),_0x22e663;}catch{return!0x1;}function _0xe24616(_0x4963bc){const _0x36274d=_0x349f51(_0x4963bc);_0x36274d&&_0x36274d[_0x3066c5([0x61,0x6c,0x67])]==_0x3066c5([0x45,0x53,0x32,0x35,0x36])||(_0x22e663=!0x1);}async function _0x219b0d(_0x3e9f0f,_0x1d4e67,_0x221e45){const _0x280571=window[_0x3066c5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3066c5([0x66,0x72,0x6f,0x6d])](_0x5ee1c2(_0x221e45),_0x37da37=>_0x37da37[_0x3066c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x306408=new window[(_0x3066c5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3066c5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e9f0f+_0x3066c5([0x2e])+_0x1d4e67),_0x377bd9=window[_0x3066c5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3066c5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377bd9)return;const _0x194800=await _0x377bd9[_0x3066c5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3066c5([0x6a,0x77,0x6b]),_0x273c94,{[_0x3066c5([0x6e,0x61,0x6d,0x65])]:_0x3066c5([0x45,0x43,0x44,0x53,0x41]),[_0x3066c5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3066c5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3066c5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377bd9[_0x3066c5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3066c5([0x6e,0x61,0x6d,0x65])]:_0x3066c5([0x45,0x43,0x44,0x53,0x41]),[_0x3066c5([0x68,0x61,0x73,0x68])]:{[_0x3066c5([0x6e,0x61,0x6d,0x65])]:_0x3066c5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x194800,_0x280571,_0x306408)||(_0x22e663=!0x1);}}function _0x349f51(_0x22ae12){return _0x22ae12[_0x3066c5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3066c5([0x65,0x79]))?JSON[_0x3066c5([0x70,0x61,0x72,0x73,0x65])](_0x5ee1c2(_0x22ae12)):null;}function _0x5ee1c2(_0x449c5f){return window[_0x3066c5([0x61,0x74,0x6f,0x62])](_0x449c5f[_0x3066c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3066c5([0x2b]))[_0x3066c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3066c5([0x2f])));}function _0x596638(_0xe3e739){let _0x9d1a34=0x1505;function _0x154b50(_0x20aa0a){for(let _0x4cfd52=0x0;_0x4cfd52<_0x20aa0a[_0x3066c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cfd52++){const _0x2d213f=_0x20aa0a[_0x3066c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cfd52);_0x9d1a34=(_0x9d1a34<<0x5)+_0x9d1a34+_0x2d213f,_0x9d1a34&=_0x9d1a34;}}function _0x383ab7(_0x5cfda7){Array[_0x3066c5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cfda7)?_0x5cfda7[_0x3066c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x383ab7):_0x5cfda7&&typeof _0x5cfda7==_0x3066c5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3066c5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cfda7)[_0x3066c5([0x73,0x6f,0x72,0x74])]()[_0x3066c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f179b,_0x4b907d])=>{_0x154b50(_0x3f179b),_0x383ab7(_0x4b907d);}):_0x154b50(window[_0x3066c5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cfda7));}return _0x383ab7(_0xe3e739),_0x9d1a34>>>0x0;}function _0x471448(_0x7fb967){return _0x7fb967[_0x3066c5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3066c5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3066c5([0x30]));}function _0x482b50(_0x5bb519){return _0x5bb519[_0x3066c5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3066c5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3066c5([0x6a,0x6f,0x69,0x6e])]('');}function _0x18a9d1(){}function _0x3066c5(_0x7bbfd7){const _0x52ca73=_0x396e;return _0x7bbfd7[_0x52ca73(0x1a2)](_0x5d9302=>String[_0x52ca73(0x1e1)](_0x5d9302))[_0x52ca73(0x1bf)]('');}_0x13ca4b(await _0x2fda84());}(this);}[_0x5e4036(0x19e)](){const _0x4827a4=_0x5e4036,_0x1b643b=this[_0x4827a4(0x1d5)][_0x4827a4(0x1c2)][_0x4827a4(0x1ab)];_0x1b643b[_0x4827a4(0x1d6)](_0x4827a4(0x1dc))&&_0x1b643b[_0x4827a4(0x1d4)](_0x4827a4(0x1dc),{'allowAttributes':[_0x4827a4(0x1c5)]}),_0x1b643b[_0x4827a4(0x1d6)](_0x4827a4(0x1df))&&_0x1b643b[_0x4827a4(0x1d4)](_0x4827a4(0x1df),{'allowAttributes':[_0x4827a4(0x1c5)]});}[_0x5e4036(0x1b6)](){const _0x341acc=_0x5e4036,_0x5af621=this[_0x341acc(0x1d5)];_0x5af621[_0x341acc(0x1cc)][_0x341acc(0x1c1)](_0x341acc(0x1ad))[_0x341acc(0x1cd)]({'model':_0x341acc(0x1c5),'view':_0x341acc(0x1c3)}),_0x5af621[_0x341acc(0x1cc)][_0x341acc(0x1c1)](_0x341acc(0x1a3))[_0x341acc(0x1a8)]({'model':{'key':_0x341acc(0x1c5),'value':_0x10c696=>_0x10c696[_0x341acc(0x198)](_0x341acc(0x1c3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x379008=_0x5af621[_0x341acc(0x1de)][_0x341acc(0x1b1)](_0x341acc(0x1d1));_0x379008&&this[_0x341acc(0x19a)](_0x379008,_0x341acc(0x1b0),(_0xee0537,[_0x27d3df,_0x104872])=>{const _0x5d4b76=_0x341acc;_0x27d3df[_0x5d4b76(0x1c8)](_0x5d4b76(0x1c5),_0x104872);});}[_0x5e4036(0x1db)](){const _0x41e40a=_0x5e4036,_0xc3a50a=this[_0x41e40a(0x1d5)][_0x41e40a(0x1d9)][_0x41e40a(0x1b1)](_0x41e40a(0x1ca))||{},_0x3400fb=this[_0x41e40a(0x1d5)][_0x41e40a(0x1d9)][_0x41e40a(0x1b1)](_0x41e40a(0x1d0))||'';this[_0x41e40a(0x1da)]=_0x4de127(_0x19e53b[_0x41e40a(0x1b5)],_0x41e40a(0x1b3),{..._0xc3a50a,'pubkey':_0x3400fb,'ctx-name':_0x41e40a(0x1cf)+this[_0x41e40a(0x1a9)],'sourceList':'','imgOnly':_0x41e40a(0x1d8),'removeCopyright':_0x41e40a(0x1d8),'localeName':this[_0x41e40a(0x1d5)][_0x41e40a(0x1b4)][_0x41e40a(0x1e6)],'externalSourcesEmbedCss':_0x41e40a(0x1c6)}),this[_0x41e40a(0x1da)][_0x41e40a(0x1a6)]=_0x2dfa3a=>{const _0x33bd5d=_0x41e40a;if(_0x33bd5d(0x1c7)==_0x2dfa3a)return _0x33bd5d(0x1a1);},_0x19e53b[_0x41e40a(0x1b5)][_0x41e40a(0x1bc)][_0x41e40a(0x196)](this[_0x41e40a(0x1da)]);}[_0x5e4036(0x1c4)](){const _0x22099a=_0x5e4036;this[_0x22099a(0x1ba)]=_0x4de127(_0x19e53b[_0x22099a(0x1b5)],_0x22099a(0x1b7),{'ctx-name':_0x22099a(0x1cf)+this[_0x22099a(0x1a9)]}),_0x19e53b[_0x22099a(0x1b5)][_0x22099a(0x1bc)][_0x22099a(0x196)](this[_0x22099a(0x1ba)]);}[_0x5e4036(0x1be)](){const _0x5507c4=_0x5e4036,_0x4cd505=this[_0x5507c4(0x1d5)][_0x5507c4(0x1de)][_0x5507c4(0x1b1)](_0x5507c4(0x1ac));_0x4cd505&&this[_0x5507c4(0x19a)](_0x4cd505,_0x5507c4(0x1a7),()=>{const _0x15fbad=_0x5507c4,_0x2bedac=this[_0x15fbad(0x1d5)][_0x15fbad(0x1c2)][_0x15fbad(0x1b5)][_0x15fbad(0x197)][_0x15fbad(0x1e2)]();_0x2bedac&&_0x2bedac[_0x15fbad(0x198)](_0x15fbad(0x1c5))&&this[_0x15fbad(0x1d5)][_0x15fbad(0x19b)][_0x15fbad(0x1e4)][_0x15fbad(0x194)](_0x15fbad(0x1ae),()=>{const _0x1e7392=_0x15fbad;_0x21afa6(this[_0x1e7392(0x1d5)],_0x2bedac);});});const _0x2544b3=this[_0x5507c4(0x1d5)][_0x5507c4(0x1de)][_0x5507c4(0x1b1)](_0x5507c4(0x19f));_0x2544b3&&this[_0x5507c4(0x19a)](_0x2544b3,_0x5507c4(0x1a7),()=>{const _0x2017e4=_0x5507c4,_0x7d1f77=this[_0x2017e4(0x1d5)][_0x2017e4(0x1c2)][_0x2017e4(0x1b5)][_0x2017e4(0x197)][_0x2017e4(0x1e2)]();_0x7d1f77&&_0x7d1f77[_0x2017e4(0x198)](_0x2017e4(0x1c5))&&this[_0x2017e4(0x1d5)][_0x2017e4(0x19b)][_0x2017e4(0x1e4)][_0x2017e4(0x194)](_0x2017e4(0x1ae),()=>{const _0x141bc8=_0x2017e4;_0x21afa6(this[_0x141bc8(0x1d5)],_0x7d1f77);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x51fda7,ObservableMixin as _0x461020}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xc7078f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xc2a7b7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x365cfd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x416f4a}from'../../utils/uploadutils.js';import{getImageUrls as _0x435843,getImageDimension as _0x1f5ccb}from'../../utils/editingutils.js';import{isAncestor as _0xceb415}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x461020(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1149a1,_0x436924,_0x4964ec){super(),this['_editor']=_0x1149a1,this['_dialog']=_0x436924,this['_imageElement']=_0x4964ec,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 _0x41a8ee=this['_imageElement'],_0x469030=_0x41a8ee['getAttribute']('uploadcareImageId'),_0x529986=_0x41a8ee['getAttribute']('src');if(_0x469030)await this['_loadImageInfo'](_0x469030,_0x529986);else{if(this['_imageCache']['has'](_0x529986)){const _0x16fb8c=this['_imageCache']['get'](_0x529986);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16fb8c['url'],this['imageDimension']=_0x16fb8c['dimension'],this['imageId']=_0x16fb8c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xee8b1c}=this['_editor'],t=_0xee8b1c['t'],_0x4330f2=new _0x365cfd(_0xee8b1c,this['imageStatus'],this['_attributes']);_0x4330f2['bind']('status')['to'](this,'imageStatus'),_0x4330f2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4330f2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4330f2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4330f2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc2a7b7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4330f2,'position':_0xc7078f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4330f2['focus']();},'onHide':()=>{_0x4330f2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x268573=>!_0xceb415(_0x268573,_0x4330f2['element'])}});}['_loadImageInfo'](_0x5caa77,_0x593cc1){return _0x416f4a['getInfo'](_0x5caa77,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x472d44=>{const {width:_0x34bf74,height:_0x1f90f5}=_0x472d44['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x593cc1,this['imageDimension']={'width':_0x34bf74,'height':_0x1f90f5},this['imageId']=_0x5caa77;})['catch'](_0x55382c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x55382c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf79d17,_0x5a8e1b){return this['_getImageAsFile'](_0xf79d17)['then'](_0x1ac4ee=>_0x416f4a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5a8e1b['signal'],'file':_0x1ac4ee,'onProgress':_0x533334=>{_0x533334&&_0x533334['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x533334['value']));}}))['then'](_0x1722c1=>{const {width:_0x19fc30,height:_0x384ced}=_0x1722c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1722c1['cdnUrl'],this['imageDimension']={'width':_0x19fc30,'height':_0x384ced},this['imageId']=_0x1722c1['uuid'],this['imageUploadProgress']=null;const _0x1029c3=_0xf79d17['getAttribute']('src');this['_imageCache']['set'](_0x1029c3,{'id':_0x1722c1['uuid'],'url':_0x1722c1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4d0517=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d0517['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4766ce,_0x331b54){_0x4766ce['on']('apply',(_0x1ee5dd,_0x2e4253)=>{this['_replaceImage'](_0x331b54,_0x2e4253['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4766ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4766ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23d4b2,_0x2feea2,_0x226b20){const _0x2e05c4=this['_editor'],{width:_0x453e3d,height:_0x418c53}=_0x1f5ccb(_0x2feea2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x54cd74,imageSources:_0x4b77c5}=_0x435843(_0x2feea2,_0x453e3d);_0x2e05c4['model']['change'](_0x48ee41=>{if('$graveyard'===_0x23d4b2['root']['rootName']){_0x2e05c4['execute']('insertImage',{'imageType':_0x23d4b2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23d4b2['getAttributes']()),'uploadcareImageId':_0x226b20,'src':_0x54cd74,'sources':_0x4b77c5,'width':_0x453e3d,'height':_0x418c53}});const _0x4db39a=_0x23d4b2['getChildren']();_0x23d4b2=_0x2e05c4['model']['document']['selection']['getSelectedElement']();for(const _0x114d47 of _0x4db39a)_0x48ee41['append'](_0x48ee41['cloneElement'](_0x114d47),_0x23d4b2);}else _0x48ee41['setSelection'](_0x23d4b2,'on'),_0x2e05c4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23d4b2['getAttributes']()),'uploadcareImageId':_0x226b20,'src':_0x54cd74,'sources':_0x4b77c5,'width':_0x453e3d,'height':_0x418c53},_0x23d4b2);_0x48ee41['setSelection'](_0x23d4b2,'on');});}async['_getImageAsFile'](_0x5801e3){const _0x2e4f8b=_0x51fda7['window'],_0x162dc8=_0x51fda7['document']['location']['href'],_0xf4ec83=new _0x2e4f8b['URL'](_0x5801e3['getAttribute']('src'),_0x162dc8);if('data:'===_0xf4ec83['protocol']){const _0x2786d9=_0xf4ec83['href']['split'](','),_0x556d66=_0x2786d9[0x0]['match'](/:(.*?);/)[0x1],_0x52fb50=_0x556d66['split']('/')[0x1],_0x2df3c0=_0x2e4f8b['atob'](_0x2786d9[_0x2786d9['length']-0x1]);let _0x1d3abd=_0x2df3c0['length'];const _0x154c45=new _0x2e4f8b['Uint8Array'](_0x1d3abd);for(;_0x1d3abd--;)_0x154c45[_0x1d3abd]=_0x2df3c0['charCodeAt'](_0x1d3abd);return new _0x2e4f8b['File']([_0x154c45],'image.'+_0x52fb50,{'type':_0x556d66});}const _0x487a6d=_0xf4ec83['href']['split']('/'),_0x5e4ce5=_0x487a6d[_0x487a6d['length']-0x1],_0x13873c=_0x5e4ce5['split']('.')[0x1];return _0x2e4f8b['fetch'](_0xf4ec83['href'])['then'](_0x26792b=>_0x26792b['clone']()['blob']())['then'](_0x30a741=>new _0x2e4f8b['File']([_0x30a741],_0x5e4ce5,{'type':'image/'+_0x13873c}));}}
23
+ import{global as _0x3c7950,ObservableMixin as _0x411091}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3ca5e7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dea89}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4eaba1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x155d23}from'../../utils/uploadutils.js';import{getImageUrls as _0x34c797,getImageDimension as _0x4ce978}from'../../utils/editingutils.js';import{isAncestor as _0x547131}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x411091(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x48578e,_0x45080c,_0x365350){super(),this['_editor']=_0x48578e,this['_dialog']=_0x45080c,this['_imageElement']=_0x365350,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 _0x3f4c2f=this['_imageElement'],_0x540fea=_0x3f4c2f['getAttribute']('uploadcareImageId'),_0x6c08a1=_0x3f4c2f['getAttribute']('src');if(_0x540fea)await this['_loadImageInfo'](_0x540fea,_0x6c08a1);else{if(this['_imageCache']['has'](_0x6c08a1)){const _0x4dc417=this['_imageCache']['get'](_0x6c08a1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4dc417['url'],this['imageDimension']=_0x4dc417['dimension'],this['imageId']=_0x4dc417['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x123b07}=this['_editor'],t=_0x123b07['t'],_0x6a03d3=new _0x4eaba1(_0x123b07,this['imageStatus'],this['_attributes']);_0x6a03d3['bind']('status')['to'](this,'imageStatus'),_0x6a03d3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x6a03d3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x6a03d3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x6a03d3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5dea89,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x6a03d3,'position':_0x3ca5e7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x6a03d3['focus']();},'onHide':()=>{_0x6a03d3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x124445=>!_0x547131(_0x124445,_0x6a03d3['element'])}});}['_loadImageInfo'](_0x206a7a,_0x2d3232){return _0x155d23['getInfo'](_0x206a7a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5418c7=>{const {width:_0x54037e,height:_0x58ba56}=_0x5418c7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d3232,this['imageDimension']={'width':_0x54037e,'height':_0x58ba56},this['imageId']=_0x206a7a;})['catch'](_0x3b3443=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b3443['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4393cd,_0x1a19c0){return this['_getImageAsFile'](_0x4393cd)['then'](_0x27baed=>_0x155d23['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1a19c0['signal'],'file':_0x27baed,'onProgress':_0x3baeca=>{_0x3baeca&&_0x3baeca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3baeca['value']));}}))['then'](_0x45b8d5=>{const {width:_0x5c263e,height:_0x203939}=_0x45b8d5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45b8d5['cdnUrl'],this['imageDimension']={'width':_0x5c263e,'height':_0x203939},this['imageId']=_0x45b8d5['uuid'],this['imageUploadProgress']=null;const _0x16b1be=_0x4393cd['getAttribute']('src');this['_imageCache']['set'](_0x16b1be,{'id':_0x45b8d5['uuid'],'url':_0x45b8d5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b0f66=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b0f66['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x27a9b5,_0x2bdb7e){_0x27a9b5['on']('apply',(_0x5d3bd1,_0x5df528)=>{this['_replaceImage'](_0x2bdb7e,_0x5df528['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x27a9b5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x27a9b5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1098c6,_0x528ed5,_0x1386cb){const _0x5aa2d6=this['_editor'],{width:_0x20a016,height:_0x160d49}=_0x4ce978(_0x528ed5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x55c9fd,imageSources:_0x3b374d}=_0x34c797(_0x528ed5,_0x20a016);_0x5aa2d6['model']['change'](_0x3d057c=>{if('$graveyard'===_0x1098c6['root']['rootName']){_0x5aa2d6['execute']('insertImage',{'imageType':_0x1098c6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1098c6['getAttributes']()),'uploadcareImageId':_0x1386cb,'src':_0x55c9fd,'sources':_0x3b374d,'width':_0x20a016,'height':_0x160d49}});const _0x316622=_0x1098c6['getChildren']();_0x1098c6=_0x5aa2d6['model']['document']['selection']['getSelectedElement']();for(const _0x2b6e10 of _0x316622)_0x3d057c['append'](_0x3d057c['cloneElement'](_0x2b6e10),_0x1098c6);}else _0x3d057c['setSelection'](_0x1098c6,'on'),_0x5aa2d6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1098c6['getAttributes']()),'uploadcareImageId':_0x1386cb,'src':_0x55c9fd,'sources':_0x3b374d,'width':_0x20a016,'height':_0x160d49},_0x1098c6);_0x3d057c['setSelection'](_0x1098c6,'on');});}async['_getImageAsFile'](_0x2d1f18){const _0x43a21d=_0x3c7950['window'],_0x27871c=_0x3c7950['document']['location']['href'],_0x25eb92=new _0x43a21d['URL'](_0x2d1f18['getAttribute']('src'),_0x27871c);if('data:'===_0x25eb92['protocol']){const _0xda1ff4=_0x25eb92['href']['split'](','),_0x41cb5c=_0xda1ff4[0x0]['match'](/:(.*?);/)[0x1],_0x65f17c=_0x41cb5c['split']('/')[0x1],_0x4075ec=_0x43a21d['atob'](_0xda1ff4[_0xda1ff4['length']-0x1]);let _0x7bf4ab=_0x4075ec['length'];const _0x4a7af8=new _0x43a21d['Uint8Array'](_0x7bf4ab);for(;_0x7bf4ab--;)_0x4a7af8[_0x7bf4ab]=_0x4075ec['charCodeAt'](_0x7bf4ab);return new _0x43a21d['File']([_0x4a7af8],'image.'+_0x65f17c,{'type':_0x41cb5c});}const _0x13d7c1=_0x25eb92['href']['split']('/'),_0x1f933e=_0x13d7c1[_0x13d7c1['length']-0x1],_0x4d5bbf=_0x1f933e['split']('.')[0x1];return _0x43a21d['fetch'](_0x25eb92['href'])['then'](_0x4834cb=>_0x4834cb['clone']()['blob']())['then'](_0x322724=>new _0x43a21d['File']([_0x322724],_0x1f933e,{'type':'image/'+_0x4d5bbf}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x468e04,_0x19b15e){const _0x1d3bc3=_0x152c,_0x238d02=_0x468e04();while(!![]){try{const _0x13e1a8=-parseInt(_0x1d3bc3(0x1c4))/0x1*(-parseInt(_0x1d3bc3(0x1c1))/0x2)+-parseInt(_0x1d3bc3(0x1c3))/0x3+-parseInt(_0x1d3bc3(0x1bd))/0x4*(parseInt(_0x1d3bc3(0x1b6))/0x5)+-parseInt(_0x1d3bc3(0x1ba))/0x6*(parseInt(_0x1d3bc3(0x1c7))/0x7)+-parseInt(_0x1d3bc3(0x1b9))/0x8+parseInt(_0x1d3bc3(0x1c0))/0x9+-parseInt(_0x1d3bc3(0x1c5))/0xa;if(_0x13e1a8===_0x19b15e)break;else _0x238d02['push'](_0x238d02['shift']());}catch(_0xe1402a){_0x238d02['push'](_0x238d02['shift']());}}}(_0xe3f0,0x78e01));import{View as _0x1efb49}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1efb49{constructor(_0x23193b,_0x1099df){const _0x34cd0f=_0x152c;super(_0x23193b);const _0x3de766=this[_0x34cd0f(0x1b7)];this[_0x34cd0f(0x1bf)](_0x34cd0f(0x1bb),''),this[_0x34cd0f(0x1c2)]({'tag':_0x34cd0f(0x1b8),'attributes':{..._0x1099df,'class':[_0x34cd0f(0x1be),_0x34cd0f(0x1c6)],'ctx-name':_0x34cd0f(0x1bc),'cdn-url':_0x3de766['to'](_0x34cd0f(0x1bb))}});}}function _0x152c(_0x29379b,_0x38bdbd){const _0xe3f0f1=_0xe3f0();return _0x152c=function(_0x152c76,_0x17d86a){_0x152c76=_0x152c76-0x1b6;let _0x5ee7be=_0xe3f0f1[_0x152c76];return _0x5ee7be;},_0x152c(_0x29379b,_0x38bdbd);}function _0xe3f0(){const _0x40797d=['imageSrc','image-edit','28JHvaMZ','uc-light','set','7442703psTQCC','2eDQhHx','setTemplate','58491CBSkwv','926923XAGZmx','1232110NRMdbd','ck-uploadcare-theme','583772wdSdHz','75eDNYXv','bindTemplate','uc-cloud-image-editor','3590432fUdVJP','48KVubLk'];_0xe3f0=function(){return _0x40797d;};return _0xe3f0();}
23
+ function _0x3815(){const _0x85cc48=['bindTemplate','image-edit','ck-uploadcare-theme','12260wWvVrr','2107ZTjunD','1599clOoZA','2692XNgtIk','3411023urbDxt','uc-cloud-image-editor','imageSrc','85210mXyhDu','2160XUjUyw','set','2MvQoMV','21496bFOjVO','28105680iIJHvB','uc-light','261qaKTGp','setTemplate','907501fAAwJD'];_0x3815=function(){return _0x85cc48;};return _0x3815();}(function(_0x356d3e,_0x31e2df){const _0x431298=_0x3997,_0x5c2eea=_0x356d3e();while(!![]){try{const _0x2b1c1a=parseInt(_0x431298(0x1b1))/0x1*(-parseInt(_0x431298(0x1ab))/0x2)+-parseInt(_0x431298(0x1a3))/0x3*(-parseInt(_0x431298(0x1a4))/0x4)+parseInt(_0x431298(0x1a1))/0x5*(-parseInt(_0x431298(0x1a9))/0x6)+-parseInt(_0x431298(0x1a2))/0x7*(parseInt(_0x431298(0x1ac))/0x8)+-parseInt(_0x431298(0x1af))/0x9*(-parseInt(_0x431298(0x1a8))/0xa)+parseInt(_0x431298(0x1a5))/0xb+parseInt(_0x431298(0x1ad))/0xc;if(_0x2b1c1a===_0x31e2df)break;else _0x5c2eea['push'](_0x5c2eea['shift']());}catch(_0x1c2277){_0x5c2eea['push'](_0x5c2eea['shift']());}}}(_0x3815,0xa0e63));function _0x3997(_0x285ebc,_0xf01ba){const _0x38156a=_0x3815();return _0x3997=function(_0x3997d8,_0x4b56dc){_0x3997d8=_0x3997d8-0x19f;let _0x4336ee=_0x38156a[_0x3997d8];return _0x4336ee;},_0x3997(_0x285ebc,_0xf01ba);}import{View as _0x109131}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x109131{constructor(_0x5ec13d,_0x3c9b4e){const _0x464e6c=_0x3997;super(_0x5ec13d);const _0x28d6e4=this[_0x464e6c(0x1b2)];this[_0x464e6c(0x1aa)](_0x464e6c(0x1a7),''),this[_0x464e6c(0x1b0)]({'tag':_0x464e6c(0x1a6),'attributes':{..._0x3c9b4e,'class':[_0x464e6c(0x1ae),_0x464e6c(0x1a0)],'ctx-name':_0x464e6c(0x19f),'cdn-url':_0x28d6e4['to'](_0x464e6c(0x1a7))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2ae1f3}from'ckeditor5/src/icons.js';import{ButtonView as _0x168f3a,IconView as _0x578c27,View as _0x3c75aa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3c75aa{constructor(_0x4a70a5){super(_0x4a70a5);const t=_0x4a70a5['t'];this['set']('errorType',null);const _0x28c6c0=new _0x168f3a(_0x4a70a5);_0x28c6c0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x28c6c0['withText']=!0x0,_0x28c6c0['class']='ck-button-action',_0x28c6c0['on']('execute',()=>{this['fire']('retry');}),_0x28c6c0['bind']('isVisible')['to'](this,'errorType',_0x4d8743=>'NotFound'!==_0x4d8743);const _0x1989ed=new _0x578c27();_0x1989ed['content']=_0x2ae1f3,_0x1989ed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4a8128=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':[_0x1989ed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4a8128['to']('errorType',_0x3d13a9=>t('NotFound'!==_0x3d13a9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x28c6c0]},{'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 _0x5eebb6}from'ckeditor5/src/icons.js';import{ButtonView as _0x3cfe4e,IconView as _0x28dad4,View as _0x9044d9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x9044d9{constructor(_0x4a1c11){super(_0x4a1c11);const t=_0x4a1c11['t'];this['set']('errorType',null);const _0x1aafb4=new _0x3cfe4e(_0x4a1c11);_0x1aafb4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1aafb4['withText']=!0x0,_0x1aafb4['class']='ck-button-action',_0x1aafb4['on']('execute',()=>{this['fire']('retry');}),_0x1aafb4['bind']('isVisible')['to'](this,'errorType',_0x32efab=>'NotFound'!==_0x32efab);const _0x2a990b=new _0x28dad4();_0x2a990b['content']=_0x5eebb6,_0x2a990b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5747a0=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':[_0x2a990b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5747a0['to']('errorType',_0x1b6f3d=>t('NotFound'!==_0x1b6f3d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1aafb4]},{'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 _0x4ac543,View as _0x19ec57}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x19ec57{constructor(_0xa51eda){super(_0xa51eda);const t=_0xa51eda['t'],_0x36b15c=this['bindTemplate'],_0x2eca16=new _0x4ac543();_0x2eca16['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':[_0x2eca16,{'text':_0x36b15c['to']('imageUploadProgress',_0x63ee79=>t('Loading\x20image...')+'\x20('+(_0x63ee79||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 _0xbc0eda,View as _0x4dfe9e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4dfe9e{constructor(_0x53295b){super(_0x53295b);const t=_0x53295b['t'],_0x166e61=this['bindTemplate'],_0x12378b=new _0xbc0eda();_0x12378b['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':[_0x12378b,{'text':_0x166e61['to']('imageUploadProgress',_0x56fc8b=>t('Loading\x20image...')+'\x20('+(_0x56fc8b||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 _0x1b58e2=_0x5442;(function(_0x115507,_0x5a04d7){const _0x7c6b9e=_0x5442,_0xffeb77=_0x115507();while(!![]){try{const _0x111015=parseInt(_0x7c6b9e(0x214))/0x1+-parseInt(_0x7c6b9e(0x216))/0x2+parseInt(_0x7c6b9e(0x22a))/0x3*(parseInt(_0x7c6b9e(0x20e))/0x4)+parseInt(_0x7c6b9e(0x227))/0x5+-parseInt(_0x7c6b9e(0x203))/0x6*(-parseInt(_0x7c6b9e(0x21e))/0x7)+parseInt(_0x7c6b9e(0x21f))/0x8+parseInt(_0x7c6b9e(0x20a))/0x9*(-parseInt(_0x7c6b9e(0x202))/0xa);if(_0x111015===_0x5a04d7)break;else _0xffeb77['push'](_0xffeb77['shift']());}catch(_0x10006b){_0xffeb77['push'](_0xffeb77['shift']());}}}(_0x3865,0x6c5a3));import{View as _0xe179a2}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ca67}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x37b785}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x12b070}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4a542c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4a542c{[_0x1b58e2(0x21c)];[_0x1b58e2(0x206)];[_0x1b58e2(0x1fd)];[_0x1b58e2(0x1fa)];[_0x1b58e2(0x21a)];constructor(_0x2ee01a,_0x1baca8,_0x2a4755){const _0x4a050b=_0x1b58e2;super(_0x2ee01a),this[_0x4a050b(0x21c)]=this[_0x4a050b(0x215)](),this[_0x4a050b(0x206)]=new _0x3ca67(_0x2ee01a),this[_0x4a050b(0x1fd)]=new _0x37b785(_0x2ee01a),this[_0x4a050b(0x1fa)]=new _0x12b070(_0x2ee01a,_0x2a4755),this[_0x4a050b(0x21a)]=new _0xe179a2(_0x2ee01a),this[_0x4a050b(0x21a)][_0x4a050b(0x20f)](this[_0x4a050b(0x20b)]()),this[_0x4a050b(0x221)](_0x4a050b(0x223),_0x1baca8),this[_0x4a050b(0x20f)]({'tag':_0x4a050b(0x1f7),'attributes':{'class':['ck',_0x4a050b(0x210),_0x4a050b(0x1f8)],'tabindex':'-1'},'children':this[_0x4a050b(0x21c)]}),this[_0x4a050b(0x226)](),this[_0x4a050b(0x205)](_0x4a050b(0x1f4),()=>{const _0x11f329=_0x4a050b;this[_0x11f329(0x1fb)](this[_0x11f329(0x220)],_0x5273c7=>{const _0x4cf721=_0x11f329;this[_0x4cf721(0x20d)](_0x5273c7);});}),this['on'](_0x4a050b(0x1f9),()=>{const _0x3aa053=_0x4a050b;this[_0x3aa053(0x226)]();}),this[_0x4a050b(0x211)]();}[_0x1b58e2(0x225)](){const _0x53f62e=_0x1b58e2;this[_0x53f62e(0x220)][_0x53f62e(0x225)]();}[_0x1b58e2(0x226)](){const _0x3a2752=_0x1b58e2;switch(this[_0x3a2752(0x21c)][_0x3a2752(0x208)](),this[_0x3a2752(0x223)]){case _0x3a2752(0x1fc):this[_0x3a2752(0x21c)][_0x3a2752(0x21d)](this[_0x3a2752(0x206)]);break;case _0x3a2752(0x209):this[_0x3a2752(0x21c)][_0x3a2752(0x21d)](this[_0x3a2752(0x1fd)]);break;case _0x3a2752(0x201):this[_0x3a2752(0x21c)][_0x3a2752(0x219)]([this[_0x3a2752(0x1fa)],this[_0x3a2752(0x21a)]]);}}[_0x1b58e2(0x1fb)](_0x2fb1f5,_0x4126e4){const _0x517781=_0x1b58e2,_0x260ccf=_0x517781(0x212),_0x53e394=_0x2fb1f5[_0x517781(0x1ff)](_0x260ccf);if(_0x53e394)return _0x4126e4(_0x53e394);const _0x372daf=new MutationObserver(_0x186a63=>{const _0x160f83=_0x517781,_0x3c48bd=_0x186a63[_0x160f83(0x1fe)](_0x3b0f18=>_0x3b0f18[_0x160f83(0x229)]===_0x2fb1f5&&_0x3b0f18[_0x160f83(0x213)][_0x160f83(0x218)]>0x0&&_0x3b0f18[_0x160f83(0x213)][0x0][_0x160f83(0x21b)][_0x160f83(0x222)]()===_0x260ccf);_0x3c48bd[_0x160f83(0x218)]&&(_0x372daf[_0x160f83(0x204)](),_0x4126e4(_0x3c48bd[0x0][_0x160f83(0x213)][0x0]));});_0x372daf[_0x517781(0x228)](_0x2fb1f5,{'childList':!0x0,'subtree':!0x0});}[_0x1b58e2(0x20d)](_0x4e4ffc){const _0x92b0d7=_0x1b58e2;_0x4e4ffc[_0x92b0d7(0x1f5)](_0x92b0d7(0x20c),_0x2b1dca=>{const _0x47a270=_0x92b0d7;this[_0x47a270(0x224)](_0x47a270(0x20c),{'imageSrc':_0x2b1dca[_0x47a270(0x1f6)][_0x47a270(0x217)]});}),_0x4e4ffc[_0x92b0d7(0x1f5)](_0x92b0d7(0x207),()=>{const _0x27d92a=_0x92b0d7;this[_0x27d92a(0x224)](_0x27d92a(0x207));});}[_0x1b58e2(0x211)](){const _0x2d0000=_0x1b58e2;this[_0x2d0000(0x1fd)]['on'](_0x2d0000(0x200),()=>{const _0x327796=_0x2d0000;this[_0x327796(0x224)](_0x327796(0x200));});}}function _0x5442(_0x4091c9,_0x157bcf){const _0x38650b=_0x3865();return _0x5442=function(_0x54425b,_0xc972b0){_0x54425b=_0x54425b-0x1f4;let _0x432fd9=_0x38650b[_0x54425b];return _0x432fd9;},_0x5442(_0x4091c9,_0x157bcf);}function _0x3865(){const _0x5bfd2f=['detail','div','ck-uploadcare-form','change:status','_editingView','_waitForImageEditorComponent','uploading','_errorView','filter','querySelector','retry','ready','1123580ZigqdC','12VSUIMh','disconnect','once','_loadingView','cancel','clear','error','144bexkUi','getFocusableElement','apply','_addUploadcareImageEditorListeners','1712512RKRSXM','setTemplate','ck-reset_all-excluded','_addErrorViewListeners','uc-cloud-image-editor','addedNodes','696819XMuihf','createCollection','1616604fWlQkp','cdnUrl','length','addMany','_focusableView','nodeName','_items','add','1138487lsgpAU','2843096IAREfF','element','set','toLowerCase','status','fire','focus','_setView','4080485JQdsTD','observe','target','6YPDSRa','render','addEventListener'];_0x3865=function(){return _0x5bfd2f;};return _0x3865();}
23
+ const _0x4a1475=_0x3ef0;(function(_0x5f0a0a,_0x73d730){const _0x4bdea3=_0x3ef0,_0xd770b2=_0x5f0a0a();while(!![]){try{const _0x52b761=-parseInt(_0x4bdea3(0x15d))/0x1+-parseInt(_0x4bdea3(0x16e))/0x2+parseInt(_0x4bdea3(0x16c))/0x3*(-parseInt(_0x4bdea3(0x154))/0x4)+-parseInt(_0x4bdea3(0x15e))/0x5+-parseInt(_0x4bdea3(0x160))/0x6+parseInt(_0x4bdea3(0x158))/0x7+parseInt(_0x4bdea3(0x143))/0x8;if(_0x52b761===_0x73d730)break;else _0xd770b2['push'](_0xd770b2['shift']());}catch(_0x4a16b3){_0xd770b2['push'](_0xd770b2['shift']());}}}(_0x5aa2,0x66956));function _0x5aa2(){const _0x55e0d9=['once','disconnect','add','88437LanlOt','1143380aAjJcQ','status','2905608rHhpCo','toLowerCase','_loadingView','ready','target','observe','filter','error','_editingView','querySelector','addedNodes','ck-reset_all-excluded','6HiGegS','_setView','844158kSnarT','retry','getFocusableElement','fire','_waitForImageEditorComponent','addEventListener','createCollection','cdnUrl','_addUploadcareImageEditorListeners','ck-uploadcare-form','10970320qbrAKV','_items','_focusableView','focus','_errorView','uc-cloud-image-editor','length','nodeName','set','render','change:status','clear','apply','_addErrorViewListeners','cancel','detail','div','733808HMxVic','element','addMany','uploading','4474792eRCRKW','setTemplate'];_0x5aa2=function(){return _0x55e0d9;};return _0x5aa2();}import{View as _0x2bd9fe}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x955fda}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x30de97}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3983b6}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x53ad0e}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x3ef0(_0x38d87b,_0x26c1da){const _0x5aa27f=_0x5aa2();return _0x3ef0=function(_0x3ef09e,_0x12f7a1){_0x3ef09e=_0x3ef09e-0x13e;let _0x36da57=_0x5aa27f[_0x3ef09e];return _0x36da57;},_0x3ef0(_0x38d87b,_0x26c1da);}export class UploadcareImageEditFormView extends _0x53ad0e{[_0x4a1475(0x144)];[_0x4a1475(0x162)];[_0x4a1475(0x147)];[_0x4a1475(0x168)];[_0x4a1475(0x145)];constructor(_0x19ed50,_0x5eb5f5,_0x41a56a){const _0x55762a=_0x4a1475;super(_0x19ed50),this[_0x55762a(0x144)]=this[_0x55762a(0x13f)](),this[_0x55762a(0x162)]=new _0x955fda(_0x19ed50),this[_0x55762a(0x147)]=new _0x30de97(_0x19ed50),this[_0x55762a(0x168)]=new _0x3983b6(_0x19ed50,_0x41a56a),this[_0x55762a(0x145)]=new _0x2bd9fe(_0x19ed50),this[_0x55762a(0x145)][_0x55762a(0x159)](this[_0x55762a(0x170)]()),this[_0x55762a(0x14b)](_0x55762a(0x15f),_0x5eb5f5),this[_0x55762a(0x159)]({'tag':_0x55762a(0x153),'attributes':{'class':['ck',_0x55762a(0x16b),_0x55762a(0x142)],'tabindex':'-1'},'children':this[_0x55762a(0x144)]}),this[_0x55762a(0x16d)](),this[_0x55762a(0x15a)](_0x55762a(0x14c),()=>{const _0x12701f=_0x55762a;this[_0x12701f(0x172)](this[_0x12701f(0x155)],_0x364125=>{const _0x46476c=_0x12701f;this[_0x46476c(0x141)](_0x364125);});}),this['on'](_0x55762a(0x14d),()=>{const _0x2ec892=_0x55762a;this[_0x2ec892(0x16d)]();}),this[_0x55762a(0x150)]();}[_0x4a1475(0x146)](){const _0x57638c=_0x4a1475;this[_0x57638c(0x155)][_0x57638c(0x146)]();}[_0x4a1475(0x16d)](){const _0x6efe6b=_0x4a1475;switch(this[_0x6efe6b(0x144)][_0x6efe6b(0x14e)](),this[_0x6efe6b(0x15f)]){case _0x6efe6b(0x157):this[_0x6efe6b(0x144)][_0x6efe6b(0x15c)](this[_0x6efe6b(0x162)]);break;case _0x6efe6b(0x167):this[_0x6efe6b(0x144)][_0x6efe6b(0x15c)](this[_0x6efe6b(0x147)]);break;case _0x6efe6b(0x163):this[_0x6efe6b(0x144)][_0x6efe6b(0x156)]([this[_0x6efe6b(0x168)],this[_0x6efe6b(0x145)]]);}}[_0x4a1475(0x172)](_0x187765,_0x505c99){const _0x442d7c=_0x4a1475,_0x4d2467=_0x442d7c(0x148),_0x330d74=_0x187765[_0x442d7c(0x169)](_0x4d2467);if(_0x330d74)return _0x505c99(_0x330d74);const _0xaee2dd=new MutationObserver(_0xffb617=>{const _0x28f1be=_0x442d7c,_0x5b2c79=_0xffb617[_0x28f1be(0x166)](_0x3b60d2=>_0x3b60d2[_0x28f1be(0x164)]===_0x187765&&_0x3b60d2[_0x28f1be(0x16a)][_0x28f1be(0x149)]>0x0&&_0x3b60d2[_0x28f1be(0x16a)][0x0][_0x28f1be(0x14a)][_0x28f1be(0x161)]()===_0x4d2467);_0x5b2c79[_0x28f1be(0x149)]&&(_0xaee2dd[_0x28f1be(0x15b)](),_0x505c99(_0x5b2c79[0x0][_0x28f1be(0x16a)][0x0]));});_0xaee2dd[_0x442d7c(0x165)](_0x187765,{'childList':!0x0,'subtree':!0x0});}[_0x4a1475(0x141)](_0x3a9826){const _0x29b4f0=_0x4a1475;_0x3a9826[_0x29b4f0(0x13e)](_0x29b4f0(0x14f),_0x1ec46e=>{const _0x295bae=_0x29b4f0;this[_0x295bae(0x171)](_0x295bae(0x14f),{'imageSrc':_0x1ec46e[_0x295bae(0x152)][_0x295bae(0x140)]});}),_0x3a9826[_0x29b4f0(0x13e)](_0x29b4f0(0x151),()=>{const _0x38f108=_0x29b4f0;this[_0x38f108(0x171)](_0x38f108(0x151));});}[_0x4a1475(0x150)](){const _0x213622=_0x4a1475;this[_0x213622(0x147)]['on'](_0x213622(0x16f),()=>{const _0x589fbd=_0x213622;this[_0x589fbd(0x171)](_0x589fbd(0x16f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x277a95=_0xde3e;(function(_0x2a1d5e,_0x3eb701){const _0x7dc674=_0xde3e,_0x2a2508=_0x2a1d5e();while(!![]){try{const _0x4646dc=parseInt(_0x7dc674(0x1b5))/0x1+-parseInt(_0x7dc674(0x1bf))/0x2*(parseInt(_0x7dc674(0x1c0))/0x3)+parseInt(_0x7dc674(0x1c6))/0x4*(parseInt(_0x7dc674(0x1a8))/0x5)+-parseInt(_0x7dc674(0x1c1))/0x6+-parseInt(_0x7dc674(0x1ae))/0x7+parseInt(_0x7dc674(0x1b2))/0x8*(parseInt(_0x7dc674(0x1c2))/0x9)+-parseInt(_0x7dc674(0x1b4))/0xa*(-parseInt(_0x7dc674(0x1a9))/0xb);if(_0x4646dc===_0x3eb701)break;else _0x2a2508['push'](_0x2a2508['shift']());}catch(_0x26bb3a){_0x2a2508['push'](_0x2a2508['shift']());}}}(_0x4aa8,0xe5f66));import{Command as _0x43e17f}from'ckeditor5/src/core.js';function _0x4aa8(){const _0x37f93e=['unbind','execute','12734472dklonw','config','245810AZDIhq','567263fDJNWQ','imageBlock','bind','getSelectedElement','get','editor','imageEditController','document','set','refresh','2CTUriH','4384053fWkyqa','4846374faYhTg','9MEQWJn','isEnabled','model','imageInline','1668AwCPZE','isActive','_isEditable','5750FkWYYQ','583bLsRkR','element','plugins','requires','selection','5112863BIpiFK','uploadcare.allowExternalImagesEditing'];_0x4aa8=function(){return _0x37f93e;};return _0x4aa8();}import{Dialog as _0x2d0d2f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xb27320}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5e9f68}from'../utils/editingutils.js';function _0xde3e(_0x5e0531,_0x3c64e3){const _0x4aa831=_0x4aa8();return _0xde3e=function(_0xde3e7c,_0x51b4e1){_0xde3e7c=_0xde3e7c-0x1a8;let _0x196b7d=_0x4aa831[_0xde3e7c];return _0x196b7d;},_0xde3e(_0x5e0531,_0x3c64e3);}export class UploadcareImageEditCommand extends _0x43e17f{[_0x277a95(0x1bb)];static get[_0x277a95(0x1ac)](){return[_0x2d0d2f];}[_0x277a95(0x1c8)];constructor(_0x3357b3){const _0x3a67d6=_0x277a95;super(_0x3357b3),this[_0x3a67d6(0x1bb)]=void 0x0,this[_0x3a67d6(0x1c8)]=_0x5e9f68(_0x3357b3[_0x3a67d6(0x1b3)][_0x3a67d6(0x1b9)](_0x3a67d6(0x1af))||[]),this[_0x3a67d6(0x1bd)]({'isActive':!0x1});}[_0x277a95(0x1be)](){const _0x4006c3=_0x277a95,_0x54668f=this[_0x4006c3(0x1ba)][_0x4006c3(0x1c4)][_0x4006c3(0x1bc)][_0x4006c3(0x1ad)][_0x4006c3(0x1b8)]();this[_0x4006c3(0x1c3)]=this[_0x4006c3(0x1c8)](_0x54668f);}[_0x277a95(0x1b1)](){const _0x38d7c5=_0x277a95;this[_0x38d7c5(0x1bb)]&&(this[_0x38d7c5(0x1b0)](_0x38d7c5(0x1c7)),this[_0x38d7c5(0x1bb)]=void 0x0);const _0x5f3882=this[_0x38d7c5(0x1ba)][_0x38d7c5(0x1c4)][_0x38d7c5(0x1bc)][_0x38d7c5(0x1ad)][_0x38d7c5(0x1b8)]();_0x5f3882&&(_0x5f3882['is'](_0x38d7c5(0x1aa),_0x38d7c5(0x1b6))||_0x5f3882['is'](_0x38d7c5(0x1aa),_0x38d7c5(0x1c5)))&&(this[_0x38d7c5(0x1bb)]=new _0xb27320(this[_0x38d7c5(0x1ba)],this[_0x38d7c5(0x1ba)][_0x38d7c5(0x1ab)][_0x38d7c5(0x1b9)](_0x2d0d2f),_0x5f3882),this[_0x38d7c5(0x1b7)](_0x38d7c5(0x1c7))['to'](this[_0x38d7c5(0x1bb)],_0x38d7c5(0x1c7)));}}
23
+ const _0x38ef6=_0x4d7f;function _0x4d7f(_0x5cf1a1,_0x1bba89){const _0xa5c76d=_0xa5c7();return _0x4d7f=function(_0x4d7f2d,_0x21f2fc){_0x4d7f2d=_0x4d7f2d-0x90;let _0x51ee60=_0xa5c76d[_0x4d7f2d];return _0x51ee60;},_0x4d7f(_0x5cf1a1,_0x1bba89);}(function(_0x31a5e6,_0x24839f){const _0x2a4147=_0x4d7f,_0x2bfa45=_0x31a5e6();while(!![]){try{const _0x45e49c=-parseInt(_0x2a4147(0x9a))/0x1+parseInt(_0x2a4147(0x9b))/0x2+-parseInt(_0x2a4147(0xa1))/0x3+-parseInt(_0x2a4147(0x90))/0x4+parseInt(_0x2a4147(0x92))/0x5*(parseInt(_0x2a4147(0xa8))/0x6)+parseInt(_0x2a4147(0xad))/0x7+-parseInt(_0x2a4147(0xac))/0x8*(-parseInt(_0x2a4147(0xa3))/0x9);if(_0x45e49c===_0x24839f)break;else _0x2bfa45['push'](_0x2bfa45['shift']());}catch(_0x158729){_0x2bfa45['push'](_0x2bfa45['shift']());}}}(_0xa5c7,0xe19f9));import{Command as _0x43d15c}from'ckeditor5/src/core.js';function _0xa5c7(){const _0x2442c8=['execute','document','getSelectedElement','imageInline','imageBlock','110007FPHVSM','bind','78381bmLetZ','element','set','isEnabled','model','21024uwAoLA','plugins','_isEditable','selection','280XnjFJK','1669682FDIQrX','config','367892nksGob','isActive','1735haMkXf','uploadcare.allowExternalImagesEditing','get','editor','refresh','requires','imageEditController','unbind','1016507QSPQMz','620146DelcsS'];_0xa5c7=function(){return _0x2442c8;};return _0xa5c7();}import{Dialog as _0x3cf585}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1ce40b}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x256c65}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x43d15c{[_0x38ef6(0x98)];static get[_0x38ef6(0x97)](){return[_0x3cf585];}[_0x38ef6(0xaa)];constructor(_0x2e6d11){const _0x3a81be=_0x38ef6;super(_0x2e6d11),this[_0x3a81be(0x98)]=void 0x0,this[_0x3a81be(0xaa)]=_0x256c65(_0x2e6d11[_0x3a81be(0xae)][_0x3a81be(0x94)](_0x3a81be(0x93))||[]),this[_0x3a81be(0xa5)]({'isActive':!0x1});}[_0x38ef6(0x96)](){const _0x409e52=_0x38ef6,_0x5314e2=this[_0x409e52(0x95)][_0x409e52(0xa7)][_0x409e52(0x9d)][_0x409e52(0xab)][_0x409e52(0x9e)]();this[_0x409e52(0xa6)]=this[_0x409e52(0xaa)](_0x5314e2);}[_0x38ef6(0x9c)](){const _0x5eb3f8=_0x38ef6;this[_0x5eb3f8(0x98)]&&(this[_0x5eb3f8(0x99)](_0x5eb3f8(0x91)),this[_0x5eb3f8(0x98)]=void 0x0);const _0x298658=this[_0x5eb3f8(0x95)][_0x5eb3f8(0xa7)][_0x5eb3f8(0x9d)][_0x5eb3f8(0xab)][_0x5eb3f8(0x9e)]();_0x298658&&(_0x298658['is'](_0x5eb3f8(0xa4),_0x5eb3f8(0xa0))||_0x298658['is'](_0x5eb3f8(0xa4),_0x5eb3f8(0x9f)))&&(this[_0x5eb3f8(0x98)]=new _0x1ce40b(this[_0x5eb3f8(0x95)],this[_0x5eb3f8(0x95)][_0x5eb3f8(0xa9)][_0x5eb3f8(0x94)](_0x3cf585),_0x298658),this[_0x5eb3f8(0xa2)](_0x5eb3f8(0x91))['to'](this[_0x5eb3f8(0x98)],_0x5eb3f8(0x91)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4402be=_0x3924;function _0x5421(){const _0x27c611=['requires','7856jKsVJa','9455873wPNsEd','13563LHENuS','73438030WjRNnp','add','init','commands','5942785kuGdOv','uploadcareImageReplace','uploadcareImageEdit','4MrmeBb','ImageUtils','pluginName','isPremiumPlugin','667873VVUhtT','ImageEditing','11GOkPYV','525232ebFowm','isOfficialPlugin','6fKEtcT','3949140FUBGdJ','UploadcareImageEditEditing'];_0x5421=function(){return _0x27c611;};return _0x5421();}(function(_0x4e6cc4,_0x392a88){const _0x5d3616=_0x3924,_0x1c660c=_0x4e6cc4();while(!![]){try{const _0x273ec2=parseInt(_0x5d3616(0xa7))/0x1*(-parseInt(_0x5d3616(0xa3))/0x2)+-parseInt(_0x5d3616(0xad))/0x3+parseInt(_0x5d3616(0xaa))/0x4+-parseInt(_0x5d3616(0xa0))/0x5*(parseInt(_0x5d3616(0xac))/0x6)+-parseInt(_0x5d3616(0xb1))/0x7+parseInt(_0x5d3616(0xb0))/0x8*(-parseInt(_0x5d3616(0xb2))/0x9)+-parseInt(_0x5d3616(0xb3))/0xa*(-parseInt(_0x5d3616(0xa9))/0xb);if(_0x273ec2===_0x392a88)break;else _0x1c660c['push'](_0x1c660c['shift']());}catch(_0x749147){_0x1c660c['push'](_0x1c660c['shift']());}}}(_0x5421,0xc4383));import{Plugin as _0x34d804}from'ckeditor5/src/core.js';import{Notification as _0x10d063}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x38b53f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x250b8d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x30eaa4}from'../uploadcareediting.js';function _0x3924(_0x30669c,_0x1a9307){const _0x54212f=_0x5421();return _0x3924=function(_0x3924dc,_0x56508d){_0x3924dc=_0x3924dc-0x9d;let _0x34193d=_0x54212f[_0x3924dc];return _0x34193d;},_0x3924(_0x30669c,_0x1a9307);}export class UploadcareImageEditEditing extends _0x34d804{static get[_0x4402be(0xa5)](){const _0x3fd45c=_0x4402be;return _0x3fd45c(0xae);}static get[_0x4402be(0xaf)](){const _0x49d276=_0x4402be;return[_0x30eaa4,_0x10d063,_0x49d276(0xa4),_0x49d276(0xa8)];}static get[_0x4402be(0xab)](){return!0x0;}static get[_0x4402be(0xa6)](){return!0x0;}[_0x4402be(0x9e)](){const _0x745203=_0x4402be,{editor:_0x207392}=this;_0x207392[_0x745203(0x9f)][_0x745203(0x9d)](_0x745203(0xa2),new _0x38b53f(_0x207392)),_0x207392[_0x745203(0x9f)][_0x745203(0x9d)](_0x745203(0xa1),new _0x250b8d(_0x207392));}}
23
+ const _0x1ad8f6=_0x488b;function _0x488b(_0x2a3059,_0x1f5560){const _0x3734b3=_0x3734();return _0x488b=function(_0x488b6e,_0x1ea6ff){_0x488b6e=_0x488b6e-0xf3;let _0x42bc84=_0x3734b3[_0x488b6e];return _0x42bc84;},_0x488b(_0x2a3059,_0x1f5560);}(function(_0x566528,_0x55dfe8){const _0x34a9cf=_0x488b,_0x3f2509=_0x566528();while(!![]){try{const _0x5a5865=parseInt(_0x34a9cf(0x107))/0x1+-parseInt(_0x34a9cf(0x108))/0x2*(-parseInt(_0x34a9cf(0xf3))/0x3)+parseInt(_0x34a9cf(0x102))/0x4+parseInt(_0x34a9cf(0x105))/0x5*(parseInt(_0x34a9cf(0xf4))/0x6)+parseInt(_0x34a9cf(0x109))/0x7*(-parseInt(_0x34a9cf(0xfc))/0x8)+parseInt(_0x34a9cf(0x103))/0x9*(parseInt(_0x34a9cf(0x101))/0xa)+-parseInt(_0x34a9cf(0x104))/0xb;if(_0x5a5865===_0x55dfe8)break;else _0x3f2509['push'](_0x3f2509['shift']());}catch(_0x5cce7c){_0x3f2509['push'](_0x3f2509['shift']());}}}(_0x3734,0x5b958));import{Plugin as _0xe2ab41}from'ckeditor5/src/core.js';import{Notification as _0x2f1b21}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3e919e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3e2a05}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4cc953}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xe2ab41{static get[_0x1ad8f6(0xfa)](){const _0x5ae4b8=_0x1ad8f6;return _0x5ae4b8(0xf9);}static get[_0x1ad8f6(0xf6)](){const _0x4a2f45=_0x1ad8f6;return[_0x4cc953,_0x2f1b21,_0x4a2f45(0xf5),_0x4a2f45(0xfe)];}static get[_0x1ad8f6(0x100)](){return!0x0;}static get[_0x1ad8f6(0xff)](){return!0x0;}[_0x1ad8f6(0xf8)](){const _0x37db6f=_0x1ad8f6,{editor:_0xe2ac4a}=this;_0xe2ac4a[_0x37db6f(0x106)][_0x37db6f(0xf7)](_0x37db6f(0xfb),new _0x3e919e(_0xe2ac4a)),_0xe2ac4a[_0x37db6f(0x106)][_0x37db6f(0xf7)](_0x37db6f(0xfd),new _0x3e2a05(_0xe2ac4a));}}function _0x3734(){const _0x19ef79=['requires','add','init','UploadcareImageEditEditing','pluginName','uploadcareImageEdit','16bYsDDy','uploadcareImageReplace','ImageEditing','isPremiumPlugin','isOfficialPlugin','20mnEQcp','857816yKczVK','2759742UPjzaC','11250426tDULSa','18845AnqCld','commands','39235IGUVyd','164OtJFUs','1555463FYtQsj','14862wjreOI','906BfPkxx','ImageUtils'];_0x3734=function(){return _0x19ef79;};return _0x3734();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e9935}from'ckeditor5/src/core.js';import{ButtonView as _0x5343af}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x40674f}from'ckeditor5/src/icons.js';import{createElement as _0x42565c}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 _0x1e9935{['_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 _0x1fac94=this['editor'];_0x1fac94['ui']['componentFactory']['add']('uploadcareImageEdit',_0x305a46=>{const _0x2cfa1=_0x1fac94['commands']['get']('uploadcareImageEdit'),_0x21eccd=new _0x5343af(_0x305a46),t=_0x305a46['t'];return _0x21eccd['set']({'icon':_0x40674f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x21eccd['bind']('isEnabled')['to'](_0x2cfa1),_0x21eccd['bind']('isOn')['to'](_0x2cfa1,'isActive'),this['listenTo'](_0x21eccd,'execute',()=>{_0x1fac94['execute']('uploadcareImageEdit'),_0x1fac94['editing']['view']['focus']();}),_0x21eccd;}),this['_initConfig']();}['_initConfig'](){const _0x1ce083=_0x42565c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ce083),this['listenTo'](this['editor'],'destroy',()=>{_0x1ce083['remove']();});}}
23
+ import{Plugin as _0x549c67}from'ckeditor5/src/core.js';import{ButtonView as _0x108791}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1345c9}from'ckeditor5/src/icons.js';import{createElement as _0x54529f}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 _0x549c67{['_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 _0x4cee4c=this['editor'];_0x4cee4c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2dc30d=>{const _0x1ff37c=_0x4cee4c['commands']['get']('uploadcareImageEdit'),_0x32312f=new _0x108791(_0x2dc30d),t=_0x2dc30d['t'];return _0x32312f['set']({'icon':_0x1345c9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x32312f['bind']('isEnabled')['to'](_0x1ff37c),_0x32312f['bind']('isOn')['to'](_0x1ff37c,'isActive'),this['listenTo'](_0x32312f,'execute',()=>{_0x4cee4c['execute']('uploadcareImageEdit'),_0x4cee4c['editing']['view']['focus']();}),_0x32312f;}),this['_initConfig']();}['_initConfig'](){const _0x7d437b=_0x54529f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x7d437b),this['listenTo'](this['editor'],'destroy',()=>{_0x7d437b['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ebb(_0x593af9,_0x255499){const _0x4a9a04=_0x4a9a();return _0x3ebb=function(_0x3ebb2e,_0x16f101){_0x3ebb2e=_0x3ebb2e-0x19c;let _0x4749c9=_0x4a9a04[_0x3ebb2e];return _0x4749c9;},_0x3ebb(_0x593af9,_0x255499);}const _0x3154a4=_0x3ebb;(function(_0x51c361,_0x4dc6ab){const _0x8b6403=_0x3ebb,_0x273c1f=_0x51c361();while(!![]){try{const _0x4d2355=-parseInt(_0x8b6403(0x1a6))/0x1+parseInt(_0x8b6403(0x1ac))/0x2+parseInt(_0x8b6403(0x1aa))/0x3+parseInt(_0x8b6403(0x1a7))/0x4*(-parseInt(_0x8b6403(0x1a3))/0x5)+parseInt(_0x8b6403(0x1a4))/0x6*(-parseInt(_0x8b6403(0x19f))/0x7)+-parseInt(_0x8b6403(0x1a8))/0x8*(-parseInt(_0x8b6403(0x1b2))/0x9)+parseInt(_0x8b6403(0x1a2))/0xa;if(_0x4d2355===_0x4dc6ab)break;else _0x273c1f['push'](_0x273c1f['shift']());}catch(_0x55e6f7){_0x273c1f['push'](_0x273c1f['shift']());}}}(_0x4a9a,0x4dd6d));import{Command as _0x2b6681}from'ckeditor5/src/core.js';function _0x4a9a(){const _0x21031a=['207IsTIIw','removeAttribute','document','editor','model','selection','imageInline','3642527WFIeuy','change','isEnabled','9090670iHQTAL','23635WVaIOW','6DrBaIp','getSelectedElement','165003cJAsGH','244PoxeYt','11904LwUTtp','imageBlock','366285VvQrsq','execute','454308Mdzzpr','srcset','setAttributes','sizes','refresh','element'];_0x4a9a=function(){return _0x21031a;};return _0x4a9a();}export class UploadcareImageReplaceCommand extends _0x2b6681{[_0x3154a4(0x1b0)](){const _0x539124=_0x3154a4,_0x23d2b3=this[_0x539124(0x1b5)][_0x539124(0x19c)][_0x539124(0x1b4)][_0x539124(0x19d)][_0x539124(0x1a5)]();this[_0x539124(0x1a1)]=Boolean(_0x23d2b3&&(_0x23d2b3['is'](_0x539124(0x1b1),_0x539124(0x1a9))||_0x23d2b3['is'](_0x539124(0x1b1),_0x539124(0x19e))));}[_0x3154a4(0x1ab)](_0x3f804c){const _0x485121=_0x3154a4,_0xb8e72e=this[_0x485121(0x1b5)][_0x485121(0x19c)][_0x485121(0x1b4)][_0x485121(0x19d)][_0x485121(0x1a5)]();this[_0x485121(0x1b5)][_0x485121(0x19c)][_0x485121(0x1a0)](_0x1b4cae=>{const _0x104dfe=_0x485121;_0x1b4cae[_0x104dfe(0x1ae)](_0x3f804c,_0xb8e72e),_0x1b4cae[_0x104dfe(0x1b3)](_0x104dfe(0x1ad),_0xb8e72e),_0x1b4cae[_0x104dfe(0x1b3)](_0x104dfe(0x1af),_0xb8e72e);});}}
23
+ const _0x36f171=_0x2e20;function _0x2e20(_0x401183,_0x522b31){const _0x2c948d=_0x2c94();return _0x2e20=function(_0x2e2019,_0x5f206a){_0x2e2019=_0x2e2019-0x157;let _0x153cb4=_0x2c948d[_0x2e2019];return _0x153cb4;},_0x2e20(_0x401183,_0x522b31);}(function(_0xe90b4f,_0x387f20){const _0x4325fd=_0x2e20,_0x4f3068=_0xe90b4f();while(!![]){try{const _0x38eb13=-parseInt(_0x4325fd(0x170))/0x1*(parseInt(_0x4325fd(0x15b))/0x2)+parseInt(_0x4325fd(0x16d))/0x3+parseInt(_0x4325fd(0x159))/0x4*(-parseInt(_0x4325fd(0x16b))/0x5)+-parseInt(_0x4325fd(0x16c))/0x6*(-parseInt(_0x4325fd(0x157))/0x7)+parseInt(_0x4325fd(0x15c))/0x8+parseInt(_0x4325fd(0x158))/0x9+-parseInt(_0x4325fd(0x16a))/0xa*(parseInt(_0x4325fd(0x16f))/0xb);if(_0x38eb13===_0x387f20)break;else _0x4f3068['push'](_0x4f3068['shift']());}catch(_0x13d5bf){_0x4f3068['push'](_0x4f3068['shift']());}}}(_0x2c94,0x8d454));function _0x2c94(){const _0x58e1fe=['document','14GSkwhc','6189255CipUtP','716FDrVMX','removeAttribute','129878zrSeyx','6117360IZOlnM','refresh','execute','model','change','getSelectedElement','imageInline','element','srcset','editor','sizes','isEnabled','setAttributes','selection','30360RVzBZE','25225kNptGM','2016570BSpAJe','3363777CnooDA','imageBlock','3333nlAORq','13PBQVff'];_0x2c94=function(){return _0x58e1fe;};return _0x2c94();}import{Command as _0x5c543d}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5c543d{[_0x36f171(0x15d)](){const _0xe84fe3=_0x36f171,_0xcce27b=this[_0xe84fe3(0x165)][_0xe84fe3(0x15f)][_0xe84fe3(0x171)][_0xe84fe3(0x169)][_0xe84fe3(0x161)]();this[_0xe84fe3(0x167)]=Boolean(_0xcce27b&&(_0xcce27b['is'](_0xe84fe3(0x163),_0xe84fe3(0x16e))||_0xcce27b['is'](_0xe84fe3(0x163),_0xe84fe3(0x162))));}[_0x36f171(0x15e)](_0x2ec3ee){const _0x15f126=_0x36f171,_0x2afdfc=this[_0x15f126(0x165)][_0x15f126(0x15f)][_0x15f126(0x171)][_0x15f126(0x169)][_0x15f126(0x161)]();this[_0x15f126(0x165)][_0x15f126(0x15f)][_0x15f126(0x160)](_0x58b4fa=>{const _0xedb1e5=_0x15f126;_0x58b4fa[_0xedb1e5(0x168)](_0x2ec3ee,_0x2afdfc),_0x58b4fa[_0xedb1e5(0x15a)](_0xedb1e5(0x164),_0x2afdfc),_0x58b4fa[_0xedb1e5(0x15a)](_0xedb1e5(0x166),_0x2afdfc);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x212a62=_0x374c;function _0x26a2(){var _0x428155=['requires','1071090oqvrLw','isOfficialPlugin','pluginName','1231135uCjMPI','isPremiumPlugin','233653yeJAED','UploadcareImageEdit','12zGZNvS','604398YRmeqR','6527925mksRKi','28ZlSFBP','928172sgXCzF','367976nqeCMo'];_0x26a2=function(){return _0x428155;};return _0x26a2();}(function(_0x46755b,_0x4fedea){var _0x3dc12c=_0x374c,_0x58f9cb=_0x46755b();while(!![]){try{var _0x2d4f08=parseInt(_0x3dc12c(0x191))/0x1+parseInt(_0x3dc12c(0x194))/0x2+-parseInt(_0x3dc12c(0x18c))/0x3+-parseInt(_0x3dc12c(0x189))/0x4+parseInt(_0x3dc12c(0x18f))/0x5*(-parseInt(_0x3dc12c(0x193))/0x6)+parseInt(_0x3dc12c(0x188))/0x7*(parseInt(_0x3dc12c(0x18a))/0x8)+parseInt(_0x3dc12c(0x187))/0x9;if(_0x2d4f08===_0x4fedea)break;else _0x58f9cb['push'](_0x58f9cb['shift']());}catch(_0x162070){_0x58f9cb['push'](_0x58f9cb['shift']());}}}(_0x26a2,0x58c76));import{Plugin as _0xeb7d6a}from'ckeditor5/src/core.js';function _0x374c(_0x46baad,_0x41f15c){var _0x26a29e=_0x26a2();return _0x374c=function(_0x374c76,_0x19414c){_0x374c76=_0x374c76-0x187;var _0x32c155=_0x26a29e[_0x374c76];return _0x32c155;},_0x374c(_0x46baad,_0x41f15c);}import{UploadcareImageEditEditing as _0x31cec3}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x35ad42}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xeb7d6a{static get[_0x212a62(0x18e)](){var _0x1558cf=_0x212a62;return _0x1558cf(0x192);}static get[_0x212a62(0x18b)](){return[_0x31cec3,_0x35ad42];}static get[_0x212a62(0x18d)](){return!0x0;}static get[_0x212a62(0x190)](){return!0x0;}}
23
+ function _0x418a(_0x4a388b,_0x2446ef){var _0x319921=_0x3199();return _0x418a=function(_0x418a54,_0x9fc8a){_0x418a54=_0x418a54-0x143;var _0x265f75=_0x319921[_0x418a54];return _0x265f75;},_0x418a(_0x4a388b,_0x2446ef);}var _0x1c83bf=_0x418a;(function(_0x1006a4,_0x4de595){var _0x32bd54=_0x418a,_0x43c0c0=_0x1006a4();while(!![]){try{var _0x390e75=parseInt(_0x32bd54(0x14e))/0x1*(parseInt(_0x32bd54(0x148))/0x2)+-parseInt(_0x32bd54(0x146))/0x3+parseInt(_0x32bd54(0x14d))/0x4+-parseInt(_0x32bd54(0x14a))/0x5+parseInt(_0x32bd54(0x145))/0x6+parseInt(_0x32bd54(0x14c))/0x7*(parseInt(_0x32bd54(0x14b))/0x8)+-parseInt(_0x32bd54(0x144))/0x9;if(_0x390e75===_0x4de595)break;else _0x43c0c0['push'](_0x43c0c0['shift']());}catch(_0x5b902e){_0x43c0c0['push'](_0x43c0c0['shift']());}}}(_0x3199,0xdf4fc));function _0x3199(){var _0x42d315=['pluginName','7388yDajyI','requires','3978965VBAqlI','120VrFwCZ','770119vkWgGT','6319744ioYQIW','482bGXklA','UploadcareImageEdit','isPremiumPlugin','isOfficialPlugin','32612895cHPsBY','2570190jwFeKz','314796dCcgTk'];_0x3199=function(){return _0x42d315;};return _0x3199();}import{Plugin as _0x438e2e}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x31d71d}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3dbde3}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x438e2e{static get[_0x1c83bf(0x147)](){var _0x4f664b=_0x1c83bf;return _0x4f664b(0x14f);}static get[_0x1c83bf(0x149)](){return[_0x31d71d,_0x3dbde3];}static get[_0x1c83bf(0x143)](){return!0x0;}static get[_0x1c83bf(0x150)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f00(_0x21bd6b,_0x1dcce9){const _0x496c39=_0x496c();return _0x4f00=function(_0x4f0065,_0x4acb4a){_0x4f0065=_0x4f0065-0xe5;let _0x395af8=_0x496c39[_0x4f0065];return _0x395af8;},_0x4f00(_0x21bd6b,_0x1dcce9);}const _0xc00db9=_0x4f00;(function(_0xd769d8,_0xdfc0d1){const _0x3b28be=_0x4f00,_0x2e8639=_0xd769d8();while(!![]){try{const _0xb60fc7=-parseInt(_0x3b28be(0xfe))/0x1+parseInt(_0x3b28be(0xf0))/0x2*(-parseInt(_0x3b28be(0x108))/0x3)+-parseInt(_0x3b28be(0x130))/0x4*(-parseInt(_0x3b28be(0x12d))/0x5)+-parseInt(_0x3b28be(0x11e))/0x6+-parseInt(_0x3b28be(0xfa))/0x7*(parseInt(_0x3b28be(0x10a))/0x8)+-parseInt(_0x3b28be(0x123))/0x9+parseInt(_0x3b28be(0xe7))/0xa*(parseInt(_0x3b28be(0x102))/0xb);if(_0xb60fc7===_0xdfc0d1)break;else _0x2e8639['push'](_0x2e8639['shift']());}catch(_0x1ea346){_0x2e8639['push'](_0x2e8639['shift']());}}}(_0x496c,0x9e935));function _0x496c(){const _0x151802=['trialLimit','_getIntegrationKey','uploadcareLicenseKeyInvalid','invalid','icon','Facebook','forEach','2IpXsgN','licenseKey','_normalizeConfigSourceList','expired','Insert','uploadcareLicenseKeyDomainLimit','bind','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','Local','126245isLHxI','push','Uploadcare','_showLicenseError','91014aXJDoq','_createMenuBarButtons','text','featureNotAllowed','24838RTgjMB','afterInit','url','destroy','evaluationLimit','plugins','384444qcjuGd','isPremiumPlugin','88gngVmM','entries','assetManager','_createDropdownButtons','isImageSelected','pluginName','withText','commands','type','URL','UploadcareUI','usageLimit','GPhotos','label','_createButton','has','editor','upload','_licenseKeyCheckInterval','Dropbox','4381344wNtaHT','uploadcareLicenseKeyExpired','shortText','uploadcareLicenseKeyValid','map','3761451vGRvnU','execute','locale','reduce','ImageInsertUI','isEnabled','get','uploadcare','_createToolbarButton','OneDrive','5vRfnaL','config','uploadcareLicenseKeyNotAllowed','5013308qVALFy','domainLimit','tooltip','uploadcare.uploader.sourceList','init','Replace','GDrive','uploadcareLicenseKeyEvaluationLimit','registerIntegration','4260LLUOqG','isOfficialPlugin'];_0x496c=function(){return _0x151802;};return _0x496c();}import{Plugin as _0x19f7aa}from'ckeditor5/src/core.js';import{IconDropbox as _0x33f04a,IconFacebook as _0x16923d,IconGoogleDrive as _0x5c7c49,IconGooglePhotos as _0xbce05,IconUploadcareImageUpload as _0x15c3b6,IconUploadcareLink as _0x3a28f6,IconOneDrive as _0x18e063}from'ckeditor5/src/icons.js';import{ButtonView as _0x398e68,MenuBarMenuListItemButtonView as _0x3f18f8}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xfe8edf}from'./uploadcareconfig.js';import{getTranslation as _0x4ce17e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x19f7aa{[_0xc00db9(0xf1)];[_0xc00db9(0x11c)];static get[_0xc00db9(0x10f)](){const _0xa399f8=_0xc00db9;return _0xa399f8(0x114);}static get[_0xc00db9(0xe8)](){return!0x0;}static get[_0xc00db9(0x109)](){return!0x0;}[_0xc00db9(0x134)](){const _0x82c503=_0xc00db9;this[_0x82c503(0xf1)]=this[_0x82c503(0x11a)][_0x82c503(0x12e)][_0x82c503(0x129)](_0x82c503(0xf1));const _0x1e7b4f=this[_0x82c503(0x11a)];this[_0x82c503(0x11c)]=setInterval(()=>{const _0x52d055=_0x82c503;let _0x19be75;for(const _0x3be026 in _0x1e7b4f){const _0x46b130=_0x3be026,_0x67120a=_0x1e7b4f[_0x46b130];if(_0x52d055(0x121)==_0x67120a||_0x52d055(0xeb)==_0x67120a||_0x52d055(0x11f)==_0x67120a||_0x52d055(0xf5)==_0x67120a||_0x52d055(0x12f)==_0x67120a||_0x52d055(0xe5)==_0x67120a||_0x52d055(0xf8)==_0x67120a||_0x52d055(0xf7)==_0x67120a){delete _0x1e7b4f[_0x46b130],_0x19be75=_0x67120a,clearInterval(this[_0x52d055(0x11c)]),this[_0x52d055(0x11c)]=void 0x0;break;}}_0x52d055(0xeb)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xec)),_0x52d055(0x11f)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xf3)),_0x52d055(0xf5)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x131)),_0x52d055(0x12f)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x101),_0x52d055(0xfc)),_0x52d055(0xe5)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x106)),_0x52d055(0xf8)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0xe9)),_0x52d055(0xf7)==_0x19be75&&_0x1e7b4f[_0x52d055(0xfd)](_0x52d055(0x115));},0x3e8);}[_0xc00db9(0x103)](){const _0x5ce0c6=_0xc00db9,{editor:_0x1c2cb8}=this,_0x16eb54=_0x1c2cb8[_0x5ce0c6(0x111)][_0x5ce0c6(0x129)](_0x5ce0c6(0x12a));if(!_0x16eb54)return;const _0x2ea678=this[_0x5ce0c6(0xf2)](_0x1c2cb8[_0x5ce0c6(0x12e)][_0x5ce0c6(0x129)](_0x5ce0c6(0x133)))[_0x5ce0c6(0x126)]((_0x3e0dc6,_0x24ba3c)=>{const _0x8c8471=_0x5ce0c6,_0x405306=this[_0x8c8471(0xea)](_0x24ba3c[_0x8c8471(0x112)]);return _0x3e0dc6[_0x405306]||(_0x3e0dc6[_0x405306]=[]),_0x3e0dc6[_0x405306][_0x8c8471(0xfb)](_0x24ba3c),_0x3e0dc6;},{});_0x1c2cb8[_0x5ce0c6(0x107)][_0x5ce0c6(0x119)](_0x5ce0c6(0x127))&&_0x1c2cb8[_0x5ce0c6(0x111)][_0x5ce0c6(0x129)](_0x5ce0c6(0x12a))&&Object[_0x5ce0c6(0x10b)](_0x2ea678)[_0x5ce0c6(0xef)](([_0x2d3ae6,_0x37f9a2])=>{const _0x210743=_0x5ce0c6;_0x1c2cb8[_0x210743(0x107)][_0x210743(0x129)](_0x210743(0x127))[_0x210743(0xe6)]({'name':_0x2d3ae6,'observable':()=>_0x16eb54,'buttonViewCreator':()=>this[_0x210743(0x12b)](_0x37f9a2),'formViewCreator':()=>this[_0x210743(0x10d)](_0x37f9a2),'menuBarButtonViewCreator':()=>this[_0x210743(0xff)](_0x37f9a2),'override':_0x210743(0x10c)!==_0x2d3ae6});});}[_0xc00db9(0x105)](){const _0x555ff4=_0xc00db9;super[_0x555ff4(0x105)](),this[_0x555ff4(0x11c)]&&clearInterval(this[_0x555ff4(0x11c)]);}[_0xc00db9(0xf2)](_0xaa6384){const _0x564f64=_0xc00db9,{locale:_0x1e7dca}=this[_0x564f64(0x11a)];return _0xaa6384[_0x564f64(0x122)](_0x4e151b=>{const _0x154dc9=_0x564f64,_0x2c9cf7=_0x4ce17e(_0x1e7dca,_0x4e151b,_0x154dc9(0xf4));switch(_0x4e151b){case _0xfe8edf[_0x154dc9(0xf9)]:return{'icon':_0x15c3b6,'type':_0xfe8edf[_0x154dc9(0xf9)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x113)]:return{'icon':_0x3a28f6,'type':_0xfe8edf[_0x154dc9(0x113)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x11d)]:return{'icon':_0x33f04a,'type':_0xfe8edf[_0x154dc9(0x11d)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0xee)]:return{'icon':_0x16923d,'type':_0xfe8edf[_0x154dc9(0xee)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x136)]:return{'icon':_0x5c7c49,'type':_0xfe8edf[_0x154dc9(0x136)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x116)]:return{'icon':_0xbce05,'type':_0xfe8edf[_0x154dc9(0x116)],..._0x2c9cf7};case _0xfe8edf[_0x154dc9(0x12c)]:return{'icon':_0x18e063,'type':_0xfe8edf[_0x154dc9(0x12c)],..._0x2c9cf7};}});}[_0xc00db9(0xea)](_0x4c2b6b){const _0x45f57e=_0xc00db9;switch(_0x4c2b6b){case _0xfe8edf[_0x45f57e(0xf9)]:return _0x45f57e(0x11b);case _0xfe8edf[_0x45f57e(0x113)]:return _0x45f57e(0x104);default:return _0x45f57e(0x10c);}}[_0xc00db9(0x118)](_0xe117d8,_0x36c015){const _0x499d06=_0xc00db9,_0x59187d=this[_0x499d06(0x11a)],_0x515dd8=new _0xe117d8(_0x59187d[_0x499d06(0x125)]),_0x58c8f6=_0x59187d[_0x499d06(0x111)][_0x499d06(0x129)](_0x499d06(0x12a));return _0x515dd8[_0x499d06(0xf6)](_0x499d06(0x128))['to'](_0x58c8f6),_0x515dd8['on'](_0x499d06(0x124),()=>{const _0x5d29b3=_0x499d06;_0x58c8f6[_0x5d29b3(0x124)](_0x36c015);}),_0x515dd8;}[_0xc00db9(0x12b)](_0x47173e){const _0x4863c3=_0xc00db9,{locale:_0x2ab71c}=this[_0x4863c3(0x11a)],_0x5d4d29=this[_0x4863c3(0x11a)][_0x4863c3(0x107)][_0x4863c3(0x129)](_0x4863c3(0x127)),_0x3c76ba=_0x47173e[0x0],_0x5e60f6=this[_0x4863c3(0x118)](_0x398e68,_0x3c76ba[_0x4863c3(0x112)]);return _0x5e60f6[_0x4863c3(0xed)]=_0x3c76ba[_0x4863c3(0xed)],_0x5e60f6[_0x4863c3(0xf6)](_0x4863c3(0x117))['to'](_0x5d4d29,_0x4863c3(0x10e),_0x232d29=>_0x4ce17e(_0x2ab71c,_0x3c76ba[_0x4863c3(0x112)],_0x232d29?_0x4863c3(0x135):_0x4863c3(0xf4))[_0x4863c3(0x100)]),_0x5e60f6[_0x4863c3(0x132)]=!0x0,_0x5e60f6;}[_0xc00db9(0x10d)](_0x746a4e){const _0xbb1041=_0xc00db9,{locale:_0x3f82e4}=this[_0xbb1041(0x11a)],_0xb3c28e=this[_0xbb1041(0x11a)][_0xbb1041(0x107)][_0xbb1041(0x129)](_0xbb1041(0x127));return _0x746a4e[_0xbb1041(0x122)](_0x1d9acb=>{const _0x1d89a1=_0xbb1041,_0x13b3e1=this[_0x1d89a1(0x118)](_0x398e68,_0x1d9acb[_0x1d89a1(0x112)]);return _0x13b3e1[_0x1d89a1(0x110)]=!0x0,_0x13b3e1[_0x1d89a1(0xed)]=_0x1d9acb[_0x1d89a1(0xed)],_0x13b3e1[_0x1d89a1(0xf6)](_0x1d89a1(0x117))['to'](_0xb3c28e,_0x1d89a1(0x10e),_0x550eb8=>_0x4ce17e(_0x3f82e4,_0x1d9acb[_0x1d89a1(0x112)],_0x550eb8?_0x1d89a1(0x135):_0x1d89a1(0xf4))[_0x1d89a1(0x100)]),_0x13b3e1;});}[_0xc00db9(0xff)](_0x293490){const _0x4b3064=_0xc00db9;return _0x293490[_0x4b3064(0x122)](_0xa5f62c=>{const _0x356087=_0x4b3064,_0x5398ca=this[_0x356087(0x118)](_0x3f18f8,_0xa5f62c[_0x356087(0x112)]);return _0x5398ca[_0x356087(0xed)]=_0xa5f62c[_0x356087(0xed)],_0x5398ca[_0x356087(0x117)]=_0xa5f62c[_0x356087(0x120)],_0x5398ca;});}}
23
+ const _0x837385=_0x4e4c;(function(_0x7e5fa7,_0x395fbe){const _0x583541=_0x4e4c,_0x3b1a99=_0x7e5fa7();while(!![]){try{const _0x65b411=parseInt(_0x583541(0x174))/0x1+parseInt(_0x583541(0x15d))/0x2+parseInt(_0x583541(0x152))/0x3*(-parseInt(_0x583541(0x14b))/0x4)+parseInt(_0x583541(0x143))/0x5*(-parseInt(_0x583541(0x173))/0x6)+parseInt(_0x583541(0x130))/0x7+parseInt(_0x583541(0x180))/0x8*(-parseInt(_0x583541(0x176))/0x9)+parseInt(_0x583541(0x151))/0xa*(parseInt(_0x583541(0x15a))/0xb);if(_0x65b411===_0x395fbe)break;else _0x3b1a99['push'](_0x3b1a99['shift']());}catch(_0x72676c){_0x3b1a99['push'](_0x3b1a99['shift']());}}}(_0xe65d,0x89ac0));import{Plugin as _0x6ea437}from'ckeditor5/src/core.js';import{IconDropbox as _0x250725,IconFacebook as _0x35b4ee,IconGoogleDrive as _0x4cb006,IconGooglePhotos as _0x40ab5f,IconUploadcareImageUpload as _0x163655,IconUploadcareLink as _0xa871c4,IconOneDrive as _0xe9a827}from'ckeditor5/src/icons.js';import{ButtonView as _0x4898dd,MenuBarMenuListItemButtonView as _0x29d1e0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x36dda2}from'./uploadcareconfig.js';import{getTranslation as _0x13aa59}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4e4c(_0x271a68,_0x456646){const _0xe65d70=_0xe65d();return _0x4e4c=function(_0x4e4c5e,_0x4b2301){_0x4e4c5e=_0x4e4c5e-0x130;let _0x569297=_0xe65d70[_0x4e4c5e];return _0x569297;},_0x4e4c(_0x271a68,_0x456646);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x6ea437{[_0x837385(0x134)];[_0x837385(0x165)];static get[_0x837385(0x17d)](){const _0x48ef93=_0x837385;return _0x48ef93(0x154);}static get[_0x837385(0x158)](){return!0x0;}static get[_0x837385(0x148)](){return!0x0;}[_0x837385(0x167)](){const _0x404f73=_0x837385;this[_0x404f73(0x134)]=this[_0x404f73(0x132)][_0x404f73(0x138)][_0x404f73(0x14a)](_0x404f73(0x134));const _0x296a3a=this[_0x404f73(0x132)];this[_0x404f73(0x165)]=setInterval(()=>{const _0x37c8af=_0x404f73;let _0x32cb1f;for(const _0x4a18a7 in _0x296a3a){const _0xad282c=_0x4a18a7,_0x322ebc=_0x296a3a[_0xad282c];if(_0x37c8af(0x153)==_0x322ebc||_0x37c8af(0x13b)==_0x322ebc||_0x37c8af(0x13f)==_0x322ebc||_0x37c8af(0x147)==_0x322ebc||_0x37c8af(0x15f)==_0x322ebc||_0x37c8af(0x156)==_0x322ebc||_0x37c8af(0x160)==_0x322ebc||_0x37c8af(0x146)==_0x322ebc){delete _0x296a3a[_0xad282c],_0x32cb1f=_0x322ebc,clearInterval(this[_0x37c8af(0x165)]),this[_0x37c8af(0x165)]=void 0x0;break;}}_0x37c8af(0x13b)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x14c)),_0x37c8af(0x13f)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x16f)),_0x37c8af(0x147)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x137)),_0x37c8af(0x15f)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x179),_0x37c8af(0x17c)),_0x37c8af(0x156)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x16d)),_0x37c8af(0x160)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x13a)),_0x37c8af(0x146)==_0x32cb1f&&_0x296a3a[_0x37c8af(0x161)](_0x37c8af(0x13d));},0x3e8);}[_0x837385(0x142)](){const _0x61c166=_0x837385,{editor:_0x1fd901}=this,_0x389017=_0x1fd901[_0x61c166(0x178)][_0x61c166(0x14a)](_0x61c166(0x168));if(!_0x389017)return;const _0x5720dd=this[_0x61c166(0x169)](_0x1fd901[_0x61c166(0x138)][_0x61c166(0x14a)](_0x61c166(0x170)))[_0x61c166(0x171)]((_0x17ee6e,_0x518944)=>{const _0x32b29c=_0x61c166,_0xf0a555=this[_0x32b29c(0x157)](_0x518944[_0x32b29c(0x150)]);return _0x17ee6e[_0xf0a555]||(_0x17ee6e[_0xf0a555]=[]),_0x17ee6e[_0xf0a555][_0x32b29c(0x17a)](_0x518944),_0x17ee6e;},{});_0x1fd901[_0x61c166(0x139)][_0x61c166(0x17e)](_0x61c166(0x13c))&&_0x1fd901[_0x61c166(0x178)][_0x61c166(0x14a)](_0x61c166(0x168))&&Object[_0x61c166(0x163)](_0x5720dd)[_0x61c166(0x177)](([_0x9260ff,_0x1e7be2])=>{const _0x3542ca=_0x61c166;_0x1fd901[_0x3542ca(0x139)][_0x3542ca(0x14a)](_0x3542ca(0x13c))[_0x3542ca(0x175)]({'name':_0x9260ff,'observable':()=>_0x389017,'buttonViewCreator':()=>this[_0x3542ca(0x172)](_0x1e7be2),'formViewCreator':()=>this[_0x3542ca(0x140)](_0x1e7be2),'menuBarButtonViewCreator':()=>this[_0x3542ca(0x15c)](_0x1e7be2),'override':_0x3542ca(0x14d)!==_0x9260ff});});}[_0x837385(0x14f)](){const _0x55b41a=_0x837385;super[_0x55b41a(0x14f)](),this[_0x55b41a(0x165)]&&clearInterval(this[_0x55b41a(0x165)]);}[_0x837385(0x169)](_0x35a5f6){const _0x5e368e=_0x837385,{locale:_0x5e12ec}=this[_0x5e368e(0x132)];return _0x35a5f6[_0x5e368e(0x162)](_0x53016a=>{const _0x2559ac=_0x5e368e,_0x1f3633=_0x13aa59(_0x5e12ec,_0x53016a,_0x2559ac(0x145));switch(_0x53016a){case _0x36dda2[_0x2559ac(0x16b)]:return{'icon':_0x163655,'type':_0x36dda2[_0x2559ac(0x16b)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x16a)]:return{'icon':_0xa871c4,'type':_0x36dda2[_0x2559ac(0x16a)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x136)]:return{'icon':_0x250725,'type':_0x36dda2[_0x2559ac(0x136)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x135)]:return{'icon':_0x35b4ee,'type':_0x36dda2[_0x2559ac(0x135)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x144)]:return{'icon':_0x4cb006,'type':_0x36dda2[_0x2559ac(0x144)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x133)]:return{'icon':_0x40ab5f,'type':_0x36dda2[_0x2559ac(0x133)],..._0x1f3633};case _0x36dda2[_0x2559ac(0x15b)]:return{'icon':_0xe9a827,'type':_0x36dda2[_0x2559ac(0x15b)],..._0x1f3633};}});}[_0x837385(0x157)](_0x51f112){const _0x20a8fa=_0x837385;switch(_0x51f112){case _0x36dda2[_0x20a8fa(0x16b)]:return _0x20a8fa(0x155);case _0x36dda2[_0x20a8fa(0x16a)]:return _0x20a8fa(0x13e);default:return _0x20a8fa(0x14d);}}[_0x837385(0x16c)](_0x1d77f3,_0xc7175b){const _0x21453d=_0x837385,_0x156551=this[_0x21453d(0x132)],_0x20e708=new _0x1d77f3(_0x156551[_0x21453d(0x166)]),_0x165b2b=_0x156551[_0x21453d(0x178)][_0x21453d(0x14a)](_0x21453d(0x168));return _0x20e708[_0x21453d(0x16e)](_0x21453d(0x17f))['to'](_0x165b2b),_0x20e708['on'](_0x21453d(0x141),()=>{const _0x2d948e=_0x21453d;_0x165b2b[_0x2d948e(0x141)](_0xc7175b);}),_0x20e708;}[_0x837385(0x172)](_0x320f7c){const _0x4c26a3=_0x837385,{locale:_0x185166}=this[_0x4c26a3(0x132)],_0x2211a4=this[_0x4c26a3(0x132)][_0x4c26a3(0x139)][_0x4c26a3(0x14a)](_0x4c26a3(0x13c)),_0x1bfc44=_0x320f7c[0x0],_0x35af5e=this[_0x4c26a3(0x16c)](_0x4898dd,_0x1bfc44[_0x4c26a3(0x150)]);return _0x35af5e[_0x4c26a3(0x159)]=_0x1bfc44[_0x4c26a3(0x159)],_0x35af5e[_0x4c26a3(0x16e)](_0x4c26a3(0x131))['to'](_0x2211a4,_0x4c26a3(0x14e),_0xa9c324=>_0x13aa59(_0x185166,_0x1bfc44[_0x4c26a3(0x150)],_0xa9c324?_0x4c26a3(0x15e):_0x4c26a3(0x145))[_0x4c26a3(0x181)]),_0x35af5e[_0x4c26a3(0x17b)]=!0x0,_0x35af5e;}[_0x837385(0x140)](_0x49ce41){const _0x239632=_0x837385,{locale:_0x376450}=this[_0x239632(0x132)],_0x2e111b=this[_0x239632(0x132)][_0x239632(0x139)][_0x239632(0x14a)](_0x239632(0x13c));return _0x49ce41[_0x239632(0x162)](_0x636b3e=>{const _0x259689=_0x239632,_0x5e5dd9=this[_0x259689(0x16c)](_0x4898dd,_0x636b3e[_0x259689(0x150)]);return _0x5e5dd9[_0x259689(0x164)]=!0x0,_0x5e5dd9[_0x259689(0x159)]=_0x636b3e[_0x259689(0x159)],_0x5e5dd9[_0x259689(0x16e)](_0x259689(0x131))['to'](_0x2e111b,_0x259689(0x14e),_0x2eb801=>_0x13aa59(_0x376450,_0x636b3e[_0x259689(0x150)],_0x2eb801?_0x259689(0x15e):_0x259689(0x145))[_0x259689(0x181)]),_0x5e5dd9;});}[_0x837385(0x15c)](_0x20aaf2){const _0x4001db=_0x837385;return _0x20aaf2[_0x4001db(0x162)](_0x5461cb=>{const _0x49f7d5=_0x4001db,_0x25e0f9=this[_0x49f7d5(0x16c)](_0x29d1e0,_0x5461cb[_0x49f7d5(0x150)]);return _0x25e0f9[_0x49f7d5(0x159)]=_0x5461cb[_0x49f7d5(0x159)],_0x25e0f9[_0x49f7d5(0x131)]=_0x5461cb[_0x49f7d5(0x149)],_0x25e0f9;});}}function _0xe65d(){const _0x16d4ee=['16602ymzTQb','uploadcareLicenseKeyValid','UploadcareUI','upload','uploadcareLicenseKeyEvaluationLimit','_getIntegrationKey','isOfficialPlugin','icon','44maJYhe','OneDrive','_createMenuBarButtons','90892syQfUJ','Replace','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyTrialLimit','_showLicenseError','map','entries','withText','_licenseKeyCheckInterval','locale','init','uploadcare','_normalizeConfigSourceList','URL','Local','_createButton','evaluationLimit','bind','expired','uploadcare.uploader.sourceList','reduce','_createToolbarButton','318ypFXcu','780141JqJYIm','registerIntegration','2042802wbOOoI','forEach','commands','featureNotAllowed','push','tooltip','Uploadcare','pluginName','has','isEnabled','24fFwdEt','text','3483067GIHbQb','label','editor','GPhotos','licenseKey','Facebook','Dropbox','domainLimit','config','plugins','trialLimit','uploadcareLicenseKeyInvalid','ImageInsertUI','usageLimit','url','uploadcareLicenseKeyExpired','_createDropdownButtons','execute','afterInit','58620wqdalP','GDrive','Insert','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyDomainLimit','isPremiumPlugin','shortText','get','196egWNwt','invalid','assetManager','isImageSelected','destroy','type','2035520oGyKYq'];_0xe65d=function(){return _0x16d4ee;};return _0xe65d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3ece3f}from'ckeditor5/src/core.js';import{FileRepository as _0x375589}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xdced77}from'./uploadcareediting.js';import{UploadUtils as _0x5ec036}from'./utils/uploadutils.js';import{getImageUrls as _0x43ff20}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3ece3f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x375589,_0xdced77];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6016e9=this['editor'];if(!!!_0x6016e9['config']['get']('uploadcare'))return;_0x6016e9['plugins']['get'](_0x375589)['createUploadAdapter']=_0x1792c2=>new A(_0x1792c2,_0x6016e9),_0x6016e9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x53e15d,{imageElement:_0x1f8bdb,data:_0x6a5db0})=>{_0x6016e9['model']['change'](_0x26d60d=>{_0x26d60d['setAttribute']('uploadcareImageId',_0x6a5db0['uploadcareImageId'],_0x1f8bdb);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2cadec,_0xb0b615){this['loader']=_0x2cadec,this['editor']=_0xb0b615,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5b79f9=this['editor']['config']['get']('uploadcare.pubkey'),_0x305493=await this['loader']['file'];return _0x5ec036['upload']({'file':_0x305493,'publicKey':_0x5b79f9,'signal':this['controller']['signal'],'onProgress':_0x1bd941=>{_0x1bd941&&_0x1bd941['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1bd941['value']);}})['then'](async _0x143c0a=>{const {imageFallbackUrl:_0x22e4db,imageSources:_0x58952}=_0x43ff20(_0x143c0a['cdnUrl'],_0x143c0a['imageInfo']['width']);return{'uploadcareImageId':_0x143c0a['uuid'],'default':_0x22e4db,'sources':_0x58952};})['catch'](()=>{const _0x3256f7=t('Cannot\x20upload\x20file:')+('\x20'+_0x305493['name']+'.');return Promise['reject'](_0x3256f7);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1ed0fb}from'ckeditor5/src/core.js';import{FileRepository as _0x3fd127}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x230505}from'./uploadcareediting.js';import{UploadUtils as _0x3e3d7d}from'./utils/uploadutils.js';import{getImageUrls as _0x5c9b79}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1ed0fb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3fd127,_0x230505];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2eb431=this['editor'];if(!!!_0x2eb431['config']['get']('uploadcare'))return;_0x2eb431['plugins']['get'](_0x3fd127)['createUploadAdapter']=_0x4967eb=>new A(_0x4967eb,_0x2eb431),_0x2eb431['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5587db,{imageElement:_0x1c0545,data:_0x12170a})=>{_0x2eb431['model']['change'](_0x14e342=>{_0x14e342['setAttribute']('uploadcareImageId',_0x12170a['uploadcareImageId'],_0x1c0545);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x34776f,_0x3adb01){this['loader']=_0x34776f,this['editor']=_0x3adb01,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb08eee=this['editor']['config']['get']('uploadcare.pubkey'),_0x186306=await this['loader']['file'];return _0x3e3d7d['upload']({'file':_0x186306,'publicKey':_0xb08eee,'signal':this['controller']['signal'],'onProgress':_0x51a90b=>{_0x51a90b&&_0x51a90b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x51a90b['value']);}})['then'](async _0x10d987=>{const {imageFallbackUrl:_0x444dcc,imageSources:_0x1cee9c}=_0x5c9b79(_0x10d987['cdnUrl'],_0x10d987['imageInfo']['width']);return{'uploadcareImageId':_0x10d987['uuid'],'default':_0x444dcc,'sources':_0x1cee9c};})['catch'](()=>{const _0x316cb2=t('Cannot\x20upload\x20file:')+('\x20'+_0x186306['name']+'.');return Promise['reject'](_0x316cb2);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3d51f2}from'../uploadcareconfig.js';export function getTranslation(_0x126d7d,_0x114476,_0x40b424){const t=_0x126d7d['t'],_0x554676=_0x126d7d['t'];switch(_0x114476){case _0x3d51f2['Local']:return{'text':_0x554676('Insert'===_0x40b424?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x554676('From\x20computer')};case _0x3d51f2['URL']:return{'text':'Insert'===_0x40b424?_0x554676('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x554676('Via\x20URL')};case _0x3d51f2['Dropbox']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d51f2['Facebook']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d51f2['GDrive']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d51f2['GPhotos']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d51f2['OneDrive']:return{'text':t('Insert'===_0x40b424?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x114476;}}
23
+ import{UploadcareSource as _0x9ae760}from'../uploadcareconfig.js';export function getTranslation(_0x59e98f,_0x3a5a4c,_0x5e7262){const t=_0x59e98f['t'],_0x2fc0ab=_0x59e98f['t'];switch(_0x3a5a4c){case _0x9ae760['Local']:return{'text':_0x2fc0ab('Insert'===_0x5e7262?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2fc0ab('From\x20computer')};case _0x9ae760['URL']:return{'text':'Insert'===_0x5e7262?_0x2fc0ab('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2fc0ab('Via\x20URL')};case _0x9ae760['Dropbox']:return{'text':t('Insert'===_0x5e7262?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x9ae760['Facebook']:return{'text':t('Insert'===_0x5e7262?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x9ae760['GDrive']:return{'text':t('Insert'===_0x5e7262?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x9ae760['GPhotos']:return{'text':t('Insert'===_0x5e7262?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x9ae760['OneDrive']:return{'text':t('Insert'===_0x5e7262?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a5a4c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x488c(){var _0x35b0b1=['3923829zUoCcB','createCollection','focusCycler','77fKEKpE','329202Frujxg','true','1870186WxTzZY','824895FFYjTX','getFocusableElement','bindTemplate','22321856BgfUCo','forwardCycle','1919468XHKQMY','2142180txxgoO','focusTracker','fire','div'];_0x488c=function(){return _0x35b0b1;};return _0x488c();}var _0x50ef04=_0x2165;(function(_0x5a6d5a,_0x3be94f){var _0x3fc408=_0x2165,_0x27c05f=_0x5a6d5a();while(!![]){try{var _0x4757d4=-parseInt(_0x3fc408(0x13c))/0x1+-parseInt(_0x3fc408(0x13b))/0x2+parseInt(_0x3fc408(0x135))/0x3+-parseInt(_0x3fc408(0x130))/0x4+-parseInt(_0x3fc408(0x131))/0x5+parseInt(_0x3fc408(0x139))/0x6*(-parseInt(_0x3fc408(0x138))/0x7)+parseInt(_0x3fc408(0x12e))/0x8;if(_0x4757d4===_0x3be94f)break;else _0x27c05f['push'](_0x27c05f['shift']());}catch(_0x352df5){_0x27c05f['push'](_0x27c05f['shift']());}}}(_0x488c,0xc9beb));function _0x2165(_0x14230f,_0x184d82){var _0x488c95=_0x488c();return _0x2165=function(_0x21654d,_0x2d0cd2){_0x21654d=_0x21654d-0x12e;var _0x4a77d4=_0x488c95[_0x21654d];return _0x4a77d4;},_0x2165(_0x14230f,_0x184d82);}import{FocusTracker as _0x3db83c}from'ckeditor5/src/utils.js';import{View as _0x2f5f00,FocusCycler as _0x46365f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2f5f00{[_0x50ef04(0x132)];[_0x50ef04(0x137)];constructor(_0x11bac2){var _0x434799=_0x50ef04;super(_0x11bac2),this[_0x434799(0x132)]=new _0x3db83c(),this[_0x434799(0x137)]=new _0x46365f({'focusables':this[_0x434799(0x136)](),'focusTracker':this[_0x434799(0x132)]});}[_0x50ef04(0x13d)](){var _0x2eb466=_0x50ef04;return{'tag':_0x2eb466(0x134),'attributes':{'aria-hidden':_0x2eb466(0x13a),'tabindex':'0'},'on':{'focus':this[_0x2eb466(0x13e)]['to'](()=>{var _0x386e3b=_0x2eb466;this[_0x386e3b(0x137)][_0x386e3b(0x133)](_0x386e3b(0x12f));})}};}}
23
+ var _0x564bc4=_0x40e8;function _0x40e8(_0x709803,_0x14a02f){var _0x2c2810=_0x2c28();return _0x40e8=function(_0x40e82f,_0x27278b){_0x40e82f=_0x40e82f-0x16c;var _0x2d2065=_0x2c2810[_0x40e82f];return _0x2d2065;},_0x40e8(_0x709803,_0x14a02f);}(function(_0x486402,_0x108032){var _0x1e8c4f=_0x40e8,_0x3d60b2=_0x486402();while(!![]){try{var _0x1ce889=parseInt(_0x1e8c4f(0x173))/0x1+parseInt(_0x1e8c4f(0x16c))/0x2+parseInt(_0x1e8c4f(0x178))/0x3+-parseInt(_0x1e8c4f(0x174))/0x4*(parseInt(_0x1e8c4f(0x176))/0x5)+parseInt(_0x1e8c4f(0x170))/0x6*(parseInt(_0x1e8c4f(0x16e))/0x7)+parseInt(_0x1e8c4f(0x17c))/0x8*(-parseInt(_0x1e8c4f(0x16f))/0x9)+-parseInt(_0x1e8c4f(0x17e))/0xa;if(_0x1ce889===_0x108032)break;else _0x3d60b2['push'](_0x3d60b2['shift']());}catch(_0x29e7ed){_0x3d60b2['push'](_0x3d60b2['shift']());}}}(_0x2c28,0x630ae));import{FocusTracker as _0x3f0725}from'ckeditor5/src/utils.js';import{View as _0x957826,FocusCycler as _0x4547c0}from'ckeditor5/src/ui.js';function _0x2c28(){var _0x4d756c=['374192jhltrd','forwardCycle','5SzDSaU','createCollection','306510elOAoj','true','focusTracker','div','1153136YUziUb','getFocusableElement','774710iYUbcf','199894WUFAmj','fire','371Cgdbjx','27YNqNiv','18204FNzgRQ','bindTemplate','focusCycler','646204GZliZn'];_0x2c28=function(){return _0x4d756c;};return _0x2c28();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x957826{[_0x564bc4(0x17a)];[_0x564bc4(0x172)];constructor(_0x18052e){var _0x5b2bf1=_0x564bc4;super(_0x18052e),this[_0x5b2bf1(0x17a)]=new _0x3f0725(),this[_0x5b2bf1(0x172)]=new _0x4547c0({'focusables':this[_0x5b2bf1(0x177)](),'focusTracker':this[_0x5b2bf1(0x17a)]});}[_0x564bc4(0x17d)](){var _0x37fc4d=_0x564bc4;return{'tag':_0x37fc4d(0x17b),'attributes':{'aria-hidden':_0x37fc4d(0x179),'tabindex':'0'},'on':{'focus':this[_0x37fc4d(0x171)]['to'](()=>{var _0x17f0c7=_0x37fc4d;this[_0x17f0c7(0x172)][_0x17f0c7(0x16d)](_0x17f0c7(0x175));})}};}}