@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250306.0 → 0.0.0-nightly-20250308.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 (171) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x609de9=_0x503e;(function(_0x4a76ad,_0x1dd22d){const _0x12fb58=_0x503e,_0x45713a=_0x4a76ad();while(!![]){try{const _0x3eb0e5=-parseInt(_0x12fb58(0x155))/0x1+parseInt(_0x12fb58(0x14c))/0x2+-parseInt(_0x12fb58(0x153))/0x3*(parseInt(_0x12fb58(0x14a))/0x4)+parseInt(_0x12fb58(0x120))/0x5+-parseInt(_0x12fb58(0x154))/0x6*(parseInt(_0x12fb58(0x12e))/0x7)+parseInt(_0x12fb58(0x145))/0x8*(parseInt(_0x12fb58(0x13d))/0x9)+-parseInt(_0x12fb58(0x134))/0xa*(-parseInt(_0x12fb58(0x10c))/0xb);if(_0x3eb0e5===_0x1dd22d)break;else _0x45713a['push'](_0x45713a['shift']());}catch(_0x31957f){_0x45713a['push'](_0x45713a['shift']());}}}(_0x5a17,0x4e3ac));import{Plugin as _0x24673d}from'ckeditor5/src/core.js';import{Dialog as _0x550d3b}from'ckeditor5/src/ui.js';import{createElement as _0x247c6a,global as _0x66a62a,uid as _0x295f31}from'ckeditor5/src/utils.js';import _0x58ba62 from'./uploadcarecommand.js';import _0x1775ad from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x45b94e}from'./utils/editingutils.js';function _0x503e(_0x254f69,_0xdfb7a9){const _0x5a1762=_0x5a17();return _0x503e=function(_0x503e43,_0x3d54c4){_0x503e43=_0x503e43-0x105;let _0x1888b9=_0x5a1762[_0x503e43];return _0x1888b9;},_0x503e(_0x254f69,_0xdfb7a9);}export default class i extends _0x24673d{[_0x609de9(0x11f)]=null;[_0x609de9(0x137)]=null;static get[_0x609de9(0x13e)](){const _0x3faa13=_0x609de9;return _0x3faa13(0x121);}static get[_0x609de9(0x12b)](){const _0x39f828=_0x609de9;return[_0x39f828(0x14b),_0x1775ad,_0x550d3b];}static get[_0x609de9(0x116)](){return!0x0;}static get[_0x609de9(0x122)](){return!0x0;}get[_0x609de9(0x108)](){const _0x19cb3b=_0x609de9;return this[_0x19cb3b(0x11f)];}get[_0x609de9(0x151)](){const _0x544ac7=_0x609de9;return this[_0x544ac7(0x137)];}[_0x609de9(0x114)](){const _0xf2937f=_0x609de9,_0x3f7bbc=this[_0xf2937f(0x152)];_0x3f7bbc[_0xf2937f(0x10f)][_0xf2937f(0x123)](_0xf2937f(0x141),new _0x58ba62(_0x3f7bbc));}[_0x609de9(0x144)](){const _0x53981a=_0x609de9;this[_0x53981a(0x138)](),this[_0x53981a(0x13b)](),this[_0x53981a(0x135)](),this[_0x53981a(0x125)](),this[_0x53981a(0x13f)](),this[_0x53981a(0x11c)](this[_0x53981a(0x152)],_0x53981a(0x132),()=>{const _0xf50303=_0x53981a;this[_0xf50303(0x11f)]&&(this[_0xf50303(0x11f)][_0xf50303(0x156)](),this[_0xf50303(0x11f)]=null),this[_0xf50303(0x137)]&&(this[_0xf50303(0x137)][_0xf50303(0x156)](),this[_0xf50303(0x137)]=null);const _0x371d6e=_0x66a62a[_0xf50303(0x126)][_0xf50303(0x159)](_0xf50303(0x12f));_0x371d6e&&_0x371d6e[_0xf50303(0x156)]();}),async function(_0x5a1e53){const _0x1cdf56=_0x2fe2a0([0x6d,0x64,0x49,0x52,0x4b,0x46,0x38,0x73,0x5a,0x42,0x72,0x66,0x50,0x4a,0x79,0x77,0x30,0x47,0x4c,0x63,0x68,0x76,0x6a,0x61,0x39,0x59,0x45,0x65,0x78,0x56,0x62,0x32,0x44,0x58,0x74,0x43,0x71,0x36,0x35,0x70,0x69,0x6b,0x6c,0x53,0x57,0x4d,0x7a,0x6e,0x55,0x54,0x4f,0x67,0x4e,0x48,0x31,0x6f,0x75,0x37,0x51,0x33,0x41,0x34]),_0x38893c=0x16a33eb0,_0x5827d6=0x16a45fe8^_0x38893c,_0x44e670=window[_0x2fe2a0([0x44,0x61,0x74,0x65])][_0x2fe2a0([0x6e,0x6f,0x77])](),_0x164f44=_0x5a1e53[_0x2fe2a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b982f=new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19701f=>{_0x164f44[_0x2fe2a0([0x6f,0x6e,0x63,0x65])](_0x2fe2a0([0x72,0x65,0x61,0x64,0x79]),_0x19701f);}),_0x4acda1={[_0x2fe2a0([0x6b,0x74,0x79])]:_0x2fe2a0([0x45,0x43]),[_0x2fe2a0([0x75,0x73,0x65])]:_0x2fe2a0([0x73,0x69,0x67]),[_0x2fe2a0([0x63,0x72,0x76])]:_0x2fe2a0([0x50,0x2d,0x32,0x35,0x36]),[_0x2fe2a0([0x78])]:_0x2fe2a0([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]),[_0x2fe2a0([0x79])]:_0x2fe2a0([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]),[_0x2fe2a0([0x61,0x6c,0x67])]:_0x2fe2a0([0x45,0x53,0x32,0x35,0x36])},_0x4eb723=_0x164f44[_0x2fe2a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fe2a0([0x67,0x65,0x74])](_0x2fe2a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c6227(){let _0xae618d,_0x359af4=null,_0x35f0dc=null;try{if(_0x4eb723==_0x2fe2a0([0x47,0x50,0x4c]))return _0x2fe2a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xae618d=_0x321e64(),!_0xae618d)return _0x2fe2a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xae618d[_0x2fe2a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35f0dc=_0x4d3dc3(_0xae618d[_0x2fe2a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xae618d[_0x2fe2a0([0x6a,0x74,0x69])])),await _0x18e999()?_0x5d8609()?_0x4b6e84()?_0x2fe2a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xab64b4()?(_0xae618d[_0x2fe2a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fe2a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x359af4=_0x512602(_0x2fe2a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xae618d[_0x2fe2a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fe2a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x359af4=_0x512602(_0x2fe2a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c8b92()):_0x2fe2a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe2a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fe2a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4666ce){return _0x2fe2a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b6e84(){const _0x3f0675=[_0x2fe2a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fe2a0([0x74,0x72,0x69,0x61,0x6c])][_0x2fe2a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xae618d[_0x2fe2a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44e670/0x3e8:0xe10*_0x5827d6;return _0xae618d[_0x2fe2a0([0x65,0x78,0x70])]<_0x3f0675;}function _0x5d8609(){const _0x234653=_0xae618d[_0x2fe2a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x234653&&(!!_0x234653[_0x2fe2a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe2a0([0x2a]))||!!_0x234653[_0x2fe2a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe2a0([0x55,0x50,0x4c,0x43])));}function _0xab64b4(){const _0x133c8e=_0x503e,_0x396976=_0xae618d[_0x2fe2a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x396976||0x0==_0x396976[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c9780}=new URL(window[_0x2fe2a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x133c8e(0x130)]);if(_0x396976[_0x2fe2a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9780))return!0x0;const _0x3858cb=_0x2c9780[_0x2fe2a0([0x73,0x70,0x6c,0x69,0x74])](_0x2fe2a0([0x2e]));return _0x396976[_0x2fe2a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d64d9=>_0x3d64d9[_0x2fe2a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe2a0([0x2a])))[_0x2fe2a0([0x6d,0x61,0x70])](_0x24dc84=>_0x24dc84[_0x2fe2a0([0x73,0x70,0x6c,0x69,0x74])](_0x2fe2a0([0x2e])))[_0x2fe2a0([0x73,0x6f,0x6d,0x65])](_0x54c944=>_0x3858cb[_0x2fe2a0([0x65,0x76,0x65,0x72,0x79])]((_0x18da91,_0x5b189f)=>_0x54c944[_0x5b189f]===_0x18da91||_0x54c944[_0x5b189f]===_0x2fe2a0([0x2a])));}function _0x1c8b92(){return _0x359af4&&_0x35f0dc?new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x486305,_0x5488fe)=>{_0x359af4[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x486305,_0x5488fe),_0x35f0dc[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x582963=>{_0x582963!=_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64])&&_0x486305(_0x582963);},_0x5488fe);}):_0x359af4||_0x35f0dc||_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d3dc3(_0x2ed826,_0x239b49){return new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1a5b=>{if(_0x56e3bd())return _0x5d1a5b(_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64]));_0x1896c2(),_0x164f44[_0x2fe2a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fe2a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15f006=!0x1;const _0x5be37d=_0x295f31();function _0x32e96f(_0x4972e7){return!!_0x4972e7&&(typeof _0x4972e7===_0x2fe2a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4972e7===_0x2fe2a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4972e7[_0x2fe2a0([0x74,0x68,0x65,0x6e])]===_0x2fe2a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4972e7[_0x2fe2a0([0x63,0x61,0x74,0x63,0x68])]===_0x2fe2a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55b9c3(_0xcf2e46){_0x29430f(_0xcf2e46)[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x535fcc=>{if(!_0x535fcc||_0x535fcc[_0x2fe2a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fe2a0([0x6f,0x6b]))return _0x2fe2a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bd629(_0x40b808(_0x5be37d+_0x239b49))!=_0x535fcc[_0x2fe2a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fe2a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x4728d4=>(_0x43e9f9(),_0x4728d4),()=>{const _0x4a1045=_0x857e9e();return null==_0x4a1045?(_0x43e9f9(),_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64])):_0x2fe2a0(_0x44e670-_0x4a1045>(0x32afbab0^_0x38893c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x5d1a5b)[_0x2fe2a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d1a5b(_0x2fe2a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fe967=0x1695d030^_0x38893c;function _0x43e9f9(){const _0x930603=_0x2fe2a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bd629(_0x40b808(_0x2ed826)),_0xcb0a65=_0x1d759c(_0x1bd629(window[_0x2fe2a0([0x4d,0x61,0x74,0x68])][_0x2fe2a0([0x63,0x65,0x69,0x6c])](_0x44e670/_0x4fe967)));window[_0x2fe2a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe2a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x930603,_0xcb0a65);}function _0x857e9e(){const _0xb31e6c=_0x2fe2a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bd629(_0x40b808(_0x2ed826)),_0x1b127a=window[_0x2fe2a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe2a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb31e6c);return _0x1b127a?window[_0x2fe2a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d759c(_0x1b127a),0x10)*_0x4fe967:null;}function _0x29430f(_0x1e4a48){return new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49c669,_0x3203b9)=>{_0x1e4a48[_0x2fe2a0([0x74,0x68,0x65,0x6e])](_0x49c669,_0x3203b9),window[_0x2fe2a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3203b9,0x16a2ea70^_0x38893c);});}}_0x164f44[_0x2fe2a0([0x6f,0x6e])](_0x2fe2a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28e36c,_0xd11918)=>{if(_0xd11918[0x0]!=_0x2ed826)return _0x5d1a5b(_0x2fe2a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd11918[0x1]={..._0xd11918[0x1],[_0x2fe2a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5be37d};},{[_0x2fe2a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe2a0([0x68,0x69,0x67,0x68])}),_0x164f44[_0x2fe2a0([0x6f,0x6e])](_0x2fe2a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5562bc=>{_0x32e96f(_0x5562bc[_0x2fe2a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15f006=!0x0,_0x55b9c3(_0x5562bc[_0x2fe2a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fe2a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe2a0([0x6c,0x6f,0x77])}),_0x5b982f[_0x2fe2a0([0x74,0x68,0x65,0x6e])](()=>{_0x15f006||_0x5d1a5b(_0x2fe2a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56e3bd(){return _0x164f44[_0x2fe2a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe2a0([0x76,0x69,0x65,0x77])][_0x2fe2a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fe2a0([0x61,0x75,0x74,0x6f]);}function _0x1896c2(){_0x164f44[_0x2fe2a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe2a0([0x76,0x69,0x65,0x77])][_0x2fe2a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fe2a0([0x61,0x75,0x74,0x6f]);}}function _0x512602(_0x200ae7){const _0x1beccf=[new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f664a=>setTimeout(_0x1f664a,0x16aa007c^_0x38893c)),_0x5b982f[_0x2fe2a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a870e=>{let _0x1a0f26=0x0;_0x164f44[_0x2fe2a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe2a0([0x6f,0x6e])](_0x2fe2a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d5274,_0x9ab43e)=>{_0x9ab43e[0x0][_0x2fe2a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a0f26++,_0x1a0f26==(0x16a33f48^_0x38893c)&&(_0x2a870e(),_0x5d5274[_0x2fe2a0([0x6f,0x66,0x66])]());});}))];return window[_0x2fe2a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fe2a0([0x72,0x61,0x63,0x65])](_0x1beccf)[_0x2fe2a0([0x74,0x68,0x65,0x6e])](()=>_0x200ae7);}async function _0x45217e(){await _0x5b982f,_0x164f44[_0x2fe2a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe2a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x343eea,_0x164f44[_0x2fe2a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe2a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x343eea,_0x164f44[_0x2fe2a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fe2a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x487a8c(_0x1cdf98){const _0x27b8a2=_0x4b6791();_0x164f44[_0x27b8a2]=_0x2fe2a0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1cdf98,_0x1cdf98!=_0x2fe2a0([0x56,0x61,0x6c,0x69,0x64])&&_0x45217e();}function _0x4b6791(){const _0x2dd49c=window[_0x2fe2a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fe2a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fe2a0([0x6e,0x6f,0x77])]())[_0x2fe2a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fe2a0([0x2e]),'');let _0xafcabb=_0x2fe2a0([0x6d]);for(let _0x4112cf=0x0;_0x4112cf<_0x2dd49c[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4112cf+=0x2){let _0x1796d6=window[_0x2fe2a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dd49c[_0x2fe2a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4112cf,_0x4112cf+0x2));_0x1796d6>=_0x1cdf56[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1796d6-=_0x1cdf56[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xafcabb+=_0x1cdf56[_0x1796d6];}return _0xafcabb;}function _0x321e64(){const _0x5c600c=_0x4eb723[_0x2fe2a0([0x73,0x70,0x6c,0x69,0x74])](_0x2fe2a0([0x2e]));if(0x3!=_0x5c600c[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f0fcb(_0x5c600c[0x1]);function _0x4f0fcb(_0x268f04){const _0x24e9b7=_0x2ea9f4(_0x268f04);return _0x24e9b7&&_0x56dcf3()?_0x24e9b7:null;function _0x56dcf3(){const _0x5b1d65=_0x24e9b7[_0x2fe2a0([0x6a,0x74,0x69])],_0x18e3e4=window[_0x2fe2a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b1d65[_0x2fe2a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b1d65[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x364562={..._0x24e9b7,[_0x2fe2a0([0x6a,0x74,0x69])]:_0x5b1d65[_0x2fe2a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b1d65[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x364562[_0x2fe2a0([0x76,0x63])],_0x40b808(_0x364562)==_0x18e3e4;}}}async function _0x18e999(){let _0x3d0a8a=!0x0;try{const _0x2ccc46=_0x4eb723[_0x2fe2a0([0x73,0x70,0x6c,0x69,0x74])](_0x2fe2a0([0x2e])),[_0x1a5036,_0x2e41d1,_0xff2b]=_0x2ccc46;return _0x382bd0(_0x1a5036),await _0x5cd17a(_0x1a5036,_0x2e41d1,_0xff2b),_0x3d0a8a;}catch(_0x329331){return!0x1;}function _0x382bd0(_0xfdd186){const _0xd104cb=_0x2ea9f4(_0xfdd186);_0xd104cb&&_0xd104cb[_0x2fe2a0([0x61,0x6c,0x67])]==_0x2fe2a0([0x45,0x53,0x32,0x35,0x36])||(_0x3d0a8a=!0x1);}async function _0x5cd17a(_0x140903,_0x3d6dea,_0x12adde){const _0x266c63=window[_0x2fe2a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fe2a0([0x66,0x72,0x6f,0x6d])](_0x1e7b7f(_0x12adde),_0x2586af=>_0x2586af[_0x2fe2a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a5eb5=new window[(_0x2fe2a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fe2a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x140903+_0x2fe2a0([0x2e])+_0x3d6dea),_0x4d8b02=window[_0x2fe2a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fe2a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d8b02)return;const _0x5d73b5=await _0x4d8b02[_0x2fe2a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fe2a0([0x6a,0x77,0x6b]),_0x4acda1,{[_0x2fe2a0([0x6e,0x61,0x6d,0x65])]:_0x2fe2a0([0x45,0x43,0x44,0x53,0x41]),[_0x2fe2a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fe2a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fe2a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d8b02[_0x2fe2a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fe2a0([0x6e,0x61,0x6d,0x65])]:_0x2fe2a0([0x45,0x43,0x44,0x53,0x41]),[_0x2fe2a0([0x68,0x61,0x73,0x68])]:{[_0x2fe2a0([0x6e,0x61,0x6d,0x65])]:_0x2fe2a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d73b5,_0x266c63,_0x5a5eb5)||(_0x3d0a8a=!0x1);}}function _0x2ea9f4(_0x2b5e58){return _0x2b5e58[_0x2fe2a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fe2a0([0x65,0x79]))?JSON[_0x2fe2a0([0x70,0x61,0x72,0x73,0x65])](_0x1e7b7f(_0x2b5e58)):null;}function _0x1e7b7f(_0xbc6c60){return window[_0x2fe2a0([0x61,0x74,0x6f,0x62])](_0xbc6c60[_0x2fe2a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fe2a0([0x2b]))[_0x2fe2a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fe2a0([0x2f])));}function _0x40b808(_0x12d165){let _0x35bcea=0x1505;function _0x58c2bd(_0x203d2c){for(let _0x5718d1=0x0;_0x5718d1<_0x203d2c[_0x2fe2a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5718d1++){const _0x101e4a=_0x203d2c[_0x2fe2a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5718d1);_0x35bcea=(_0x35bcea<<0x5)+_0x35bcea+_0x101e4a,_0x35bcea&=_0x35bcea;}}function _0x319018(_0x144643){Array[_0x2fe2a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x144643)?_0x144643[_0x2fe2a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x319018):_0x144643&&typeof _0x144643==_0x2fe2a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fe2a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x144643)[_0x2fe2a0([0x73,0x6f,0x72,0x74])]()[_0x2fe2a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31ed08,_0xa318ce])=>{_0x58c2bd(_0x31ed08),_0x319018(_0xa318ce);}):_0x58c2bd(window[_0x2fe2a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x144643));}return _0x319018(_0x12d165),_0x35bcea>>>0x0;}function _0x1bd629(_0x442002){return _0x442002[_0x2fe2a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fe2a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fe2a0([0x30]));}function _0x1d759c(_0x2c322f){return _0x2c322f[_0x2fe2a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fe2a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fe2a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x343eea(){}function _0x2fe2a0(_0x2821bb){const _0x28fd72=_0x503e;return _0x2821bb[_0x28fd72(0x115)](_0x231e0e=>String[_0x28fd72(0x11e)](_0x231e0e))[_0x28fd72(0x12c)]('');}_0x487a8c(await _0x2c6227());}(this);}[_0x609de9(0x138)](){const _0x4949bd=_0x609de9,_0x329d11=this[_0x4949bd(0x152)][_0x4949bd(0x128)][_0x4949bd(0x106)];_0x329d11[_0x4949bd(0x111)](_0x4949bd(0x14d))&&_0x329d11[_0x4949bd(0x119)](_0x4949bd(0x14d),{'allowAttributes':[_0x4949bd(0x139)]}),_0x329d11[_0x4949bd(0x111)](_0x4949bd(0x10e))&&_0x329d11[_0x4949bd(0x119)](_0x4949bd(0x10e),{'allowAttributes':[_0x4949bd(0x139)]});}[_0x609de9(0x13b)](){const _0x524415=_0x609de9,_0x58444e=this[_0x524415(0x152)];_0x58444e[_0x524415(0x107)][_0x524415(0x150)](_0x524415(0x148))[_0x524415(0x14e)]({'model':_0x524415(0x139),'view':_0x524415(0x146)}),_0x58444e[_0x524415(0x107)][_0x524415(0x150)](_0x524415(0x13c))[_0x524415(0x113)]({'model':{'key':_0x524415(0x139),'value':_0x4f7543=>_0x4f7543[_0x524415(0x112)](_0x524415(0x146))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x362375=_0x58444e[_0x524415(0x10f)][_0x524415(0x149)](_0x524415(0x157));_0x362375&&this[_0x524415(0x11c)](_0x362375,_0x524415(0x136),(_0x35c219,[_0xa327cf,_0x3d45ac])=>{const _0x25931c=_0x524415;_0xa327cf[_0x25931c(0x10d)](_0x25931c(0x139),_0x3d45ac);});}[_0x609de9(0x135)](){const _0x6ae01a=_0x609de9,_0x97a28a=this[_0x6ae01a(0x152)][_0x6ae01a(0x12a)][_0x6ae01a(0x149)](_0x6ae01a(0x143))||{},_0x4653f5=this[_0x6ae01a(0x152)][_0x6ae01a(0x12a)][_0x6ae01a(0x149)](_0x6ae01a(0x14f))||'';this[_0x6ae01a(0x11f)]=_0x247c6a(_0x66a62a[_0x6ae01a(0x126)],_0x6ae01a(0x117),{..._0x97a28a,'pubkey':_0x4653f5,'ctx-name':_0x6ae01a(0x11b),'sourceList':'','imgOnly':_0x6ae01a(0x10a),'removeCopyright':_0x6ae01a(0x10a),'localeName':this[_0x6ae01a(0x152)][_0x6ae01a(0x124)][_0x6ae01a(0x147)],'externalSourcesEmbedCss':_0x6ae01a(0x131)}),this[_0x6ae01a(0x11f)][_0x6ae01a(0x127)]=_0x1a5f56=>{const _0x5bd5cb=_0x6ae01a;if(_0x5bd5cb(0x158)==_0x1a5f56)return _0x5bd5cb(0x11a);},_0x66a62a[_0x6ae01a(0x126)][_0x6ae01a(0x133)][_0x6ae01a(0x13a)](this[_0x6ae01a(0x11f)]);}[_0x609de9(0x125)](){const _0x589eb7=_0x609de9;this[_0x589eb7(0x137)]=_0x247c6a(_0x66a62a[_0x589eb7(0x126)],_0x589eb7(0x10b),{'ctx-name':_0x589eb7(0x11b)}),_0x66a62a[_0x589eb7(0x126)][_0x589eb7(0x133)][_0x589eb7(0x13a)](this[_0x589eb7(0x137)]);}[_0x609de9(0x13f)](){const _0x471127=_0x609de9,_0x2141df=this[_0x471127(0x152)][_0x471127(0x10f)][_0x471127(0x149)](_0x471127(0x110));_0x2141df&&this[_0x471127(0x11c)](_0x2141df,_0x471127(0x142),()=>{const _0xa42790=_0x471127,_0xcc0dcc=this[_0xa42790(0x152)][_0xa42790(0x128)][_0xa42790(0x126)][_0xa42790(0x118)][_0xa42790(0x105)]();_0xcc0dcc&&_0xcc0dcc[_0xa42790(0x112)](_0xa42790(0x139))&&this[_0xa42790(0x152)][_0xa42790(0x11d)][_0xa42790(0x140)][_0xa42790(0x129)](_0xa42790(0x109),()=>{const _0x57fe5a=_0xa42790;_0x45b94e(this[_0x57fe5a(0x152)],_0xcc0dcc);});});const _0x2efd38=this[_0x471127(0x152)][_0x471127(0x10f)][_0x471127(0x149)](_0x471127(0x12d));_0x2efd38&&this[_0x471127(0x11c)](_0x2efd38,_0x471127(0x142),()=>{const _0x494adc=_0x471127,_0x58250d=this[_0x494adc(0x152)][_0x494adc(0x128)][_0x494adc(0x126)][_0x494adc(0x118)][_0x494adc(0x105)]();_0x58250d&&_0x58250d[_0x494adc(0x112)](_0x494adc(0x139))&&this[_0x494adc(0x152)][_0x494adc(0x11d)][_0x494adc(0x140)][_0x494adc(0x129)](_0x494adc(0x109),()=>{const _0x349cb3=_0x494adc;_0x45b94e(this[_0x349cb3(0x152)],_0x58250d);});});}}function _0x5a17(){const _0x32ee6f=['uploadcareImageId','appendChild','_initConversion','upcast','1372968KePIti','pluginName','_initImageProcessingIndicator','view','uploadcare','execute','uploadcare.uploader','afterInit','16loBrHq','data-uc-image-id','contentLanguage','downcast','get','2435144wIxtPo','PictureEditing','688364vswRYp','imageBlock','attributeToAttribute','uploadcare.pubkey','for','ctxElement','editor','3zICIcV','12YhiBgO','597429EEZSYz','remove','replaceImageSource','closeMax','querySelector','getSelectedElement','schema','conversion','configElement','render','true','uc-upload-ctx-provider','11KhtXKo','removeAttribute','imageInline','commands','insertImage','isRegistered','getAttribute','elementToAttribute','init','map','isOfficialPlugin','uc-config','selection','extend','#uc-icon-arrow-down','uploader','listenTo','editing','fromCharCode','_configElement','2210560qVoyPp','UploadcareEditing','isPremiumPlugin','add','locale','_initCtx','document','iconHrefResolver','model','once','config','requires','join','uploadcareImageReplace','255941HCeTYV','input[uploadcare-file-input]','href','\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','destroy','body','5083710NzLgyy','_initConfig','cleanupImage','_ctxElement','_initSchema'];_0x5a17=function(){return _0x32ee6f;};return _0x5a17();}
23
+ const _0x27d297=_0x2602;function _0x2602(_0x5e10bd,_0x169327){const _0x5e1052=_0x5e10();return _0x2602=function(_0x260246,_0x277a60){_0x260246=_0x260246-0xfb;let _0x4ed01e=_0x5e1052[_0x260246];return _0x4ed01e;},_0x2602(_0x5e10bd,_0x169327);}(function(_0x5d1ade,_0x427916){const _0x2ec551=_0x2602,_0x3dd788=_0x5d1ade();while(!![]){try{const _0x373c76=-parseInt(_0x2ec551(0x14d))/0x1+parseInt(_0x2ec551(0x135))/0x2+parseInt(_0x2ec551(0x140))/0x3*(-parseInt(_0x2ec551(0x10e))/0x4)+parseInt(_0x2ec551(0x13c))/0x5+parseInt(_0x2ec551(0x12a))/0x6+parseInt(_0x2ec551(0x147))/0x7+-parseInt(_0x2ec551(0x144))/0x8*(parseInt(_0x2ec551(0x123))/0x9);if(_0x373c76===_0x427916)break;else _0x3dd788['push'](_0x3dd788['shift']());}catch(_0x5aac13){_0x3dd788['push'](_0x3dd788['shift']());}}}(_0x5e10,0x50ebf));import{Plugin as _0x2f59cf}from'ckeditor5/src/core.js';import{Dialog as _0x3ddc25}from'ckeditor5/src/ui.js';import{createElement as _0x2b3f02,global as _0x3a49da,uid as _0x30767a}from'ckeditor5/src/utils.js';import _0x51d642 from'./uploadcarecommand.js';import _0x29d348 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4928a5}from'./utils/editingutils.js';function _0x5e10(){const _0x33c5f4=['querySelector','uc-upload-ctx-provider','_ctxElement','conversion','get','cleanupImage','uploadcareImageReplace','view','editing','init','add','downcast','imageBlock','5922LfdjlM','fromCharCode','upcast','isPremiumPlugin','pluginName','map','commands','2612706TmSZKB','replaceImageSource','PictureEditing','true','getSelectedElement','data-uc-image-id','uc-config','listenTo','for','extend','render','1215752qgGSoh','uploadcare','attributeToAttribute','document','config','destroy','imageInline','2346375rOWkXG','uploadcare.pubkey','_configElement','model','177yuQtdq','_initConfig','_initCtx','removeAttribute','16480PZUOYJ','uploader','editor','3468612BFrwVJ','once','closeMax','UploadcareEditing','ctxElement','uploadcare.uploader','131734jeQoKr','afterInit','selection','appendChild','_initConversion','requires','execute','isOfficialPlugin','getAttribute','isRegistered','configElement','remove','join','uploadcareImageId','href','\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','insertImage','body','_initImageProcessingIndicator','locale','12844ZUtghS','_initSchema','#uc-icon-arrow-down','contentLanguage','input[uploadcare-file-input]','iconHrefResolver','schema','elementToAttribute'];_0x5e10=function(){return _0x33c5f4;};return _0x5e10();}export default class i extends _0x2f59cf{[_0x27d297(0x13e)]=null;[_0x27d297(0x118)]=null;static get[_0x27d297(0x127)](){const _0x4da875=_0x27d297;return _0x4da875(0x14a);}static get[_0x27d297(0xff)](){const _0x490d45=_0x27d297;return[_0x490d45(0x12c),_0x29d348,_0x3ddc25];}static get[_0x27d297(0x101)](){return!0x0;}static get[_0x27d297(0x126)](){return!0x0;}get[_0x27d297(0x104)](){const _0x367296=_0x27d297;return this[_0x367296(0x13e)];}get[_0x27d297(0x14b)](){const _0x183d62=_0x27d297;return this[_0x183d62(0x118)];}[_0x27d297(0x11f)](){const _0x15a6d5=_0x27d297,_0x1b7409=this[_0x15a6d5(0x146)];_0x1b7409[_0x15a6d5(0x129)][_0x15a6d5(0x120)](_0x15a6d5(0x136),new _0x51d642(_0x1b7409));}[_0x27d297(0xfb)](){const _0x1e3a43=_0x27d297;this[_0x1e3a43(0x10f)](),this[_0x1e3a43(0xfe)](),this[_0x1e3a43(0x141)](),this[_0x1e3a43(0x142)](),this[_0x1e3a43(0x10c)](),this[_0x1e3a43(0x131)](this[_0x1e3a43(0x146)],_0x1e3a43(0x13a),()=>{const _0x2d2d02=_0x1e3a43;this[_0x2d2d02(0x13e)]&&(this[_0x2d2d02(0x13e)][_0x2d2d02(0x105)](),this[_0x2d2d02(0x13e)]=null),this[_0x2d2d02(0x118)]&&(this[_0x2d2d02(0x118)][_0x2d2d02(0x105)](),this[_0x2d2d02(0x118)]=null);const _0x13aaf5=_0x3a49da[_0x2d2d02(0x138)][_0x2d2d02(0x116)](_0x2d2d02(0x112));_0x13aaf5&&_0x13aaf5[_0x2d2d02(0x105)]();}),async function(_0x24553f){const _0x4457df=_0x52850f([0x33,0x66,0x6f,0x4e,0x63,0x6d,0x5a,0x58,0x46,0x37,0x4f,0x64,0x76,0x42,0x31,0x34,0x4b,0x79,0x49,0x59,0x54,0x4d,0x75,0x67,0x30,0x4a,0x56,0x69,0x4c,0x55,0x72,0x6e,0x6c,0x44,0x70,0x52,0x6b,0x51,0x71,0x7a,0x45,0x73,0x41,0x78,0x6a,0x53,0x32,0x36,0x68,0x38,0x50,0x57,0x77,0x61,0x43,0x65,0x47,0x48,0x39,0x74,0x35,0x62]),_0x5098a5=0x3aa37f3f,_0xd002e6=0x3aa41eb7^_0x5098a5,_0x58decd=window[_0x52850f([0x44,0x61,0x74,0x65])][_0x52850f([0x6e,0x6f,0x77])](),_0x373e75=_0x24553f[_0x52850f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12ca4e=new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36d915=>{_0x373e75[_0x52850f([0x6f,0x6e,0x63,0x65])](_0x52850f([0x72,0x65,0x61,0x64,0x79]),_0x36d915);}),_0x7c1f54={[_0x52850f([0x6b,0x74,0x79])]:_0x52850f([0x45,0x43]),[_0x52850f([0x75,0x73,0x65])]:_0x52850f([0x73,0x69,0x67]),[_0x52850f([0x63,0x72,0x76])]:_0x52850f([0x50,0x2d,0x32,0x35,0x36]),[_0x52850f([0x78])]:_0x52850f([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]),[_0x52850f([0x79])]:_0x52850f([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]),[_0x52850f([0x61,0x6c,0x67])]:_0x52850f([0x45,0x53,0x32,0x35,0x36])},_0x16bd7a=_0x373e75[_0x52850f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52850f([0x67,0x65,0x74])](_0x52850f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x101738(){let _0x2d2d85,_0x5ce12a=null,_0x3f086f=null;try{if(_0x16bd7a==_0x52850f([0x47,0x50,0x4c]))return _0x52850f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d2d85=_0x4d7570(),!_0x2d2d85)return _0x52850f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d2d85[_0x52850f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f086f=_0x394fbe(_0x2d2d85[_0x52850f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d2d85[_0x52850f([0x6a,0x74,0x69])])),await _0xeea0cc()?_0x196c3b()?_0x2a289c()?_0x52850f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22f2ab()?(_0x2d2d85[_0x52850f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52850f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ce12a=_0x1a3012(_0x52850f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d2d85[_0x52850f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52850f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ce12a=_0x1a3012(_0x52850f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a6d07()):_0x52850f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52850f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52850f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1754f3){return _0x52850f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a289c(){const _0x4ea04b=[_0x52850f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52850f([0x74,0x72,0x69,0x61,0x6c])][_0x52850f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d2d85[_0x52850f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58decd/0x3e8:0xe10*_0xd002e6;return _0x2d2d85[_0x52850f([0x65,0x78,0x70])]<_0x4ea04b;}function _0x196c3b(){const _0x1c971f=_0x2d2d85[_0x52850f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c971f&&(!!_0x1c971f[_0x52850f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52850f([0x2a]))||!!_0x1c971f[_0x52850f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52850f([0x55,0x50,0x4c,0x43])));}function _0x22f2ab(){const _0x15eadb=_0x2602,_0x54181d=_0x2d2d85[_0x52850f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54181d||0x0==_0x54181d[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ea0eb}=new URL(window[_0x52850f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15eadb(0x108)]);if(_0x54181d[_0x52850f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ea0eb))return!0x0;const _0x57e9cd=_0x1ea0eb[_0x52850f([0x73,0x70,0x6c,0x69,0x74])](_0x52850f([0x2e]));return _0x54181d[_0x52850f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282d82=>_0x282d82[_0x52850f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52850f([0x2a])))[_0x52850f([0x6d,0x61,0x70])](_0xce9c22=>_0xce9c22[_0x52850f([0x73,0x70,0x6c,0x69,0x74])](_0x52850f([0x2e])))[_0x52850f([0x73,0x6f,0x6d,0x65])](_0x3d943c=>_0x57e9cd[_0x52850f([0x65,0x76,0x65,0x72,0x79])]((_0x193405,_0x55a101)=>_0x3d943c[_0x55a101]===_0x193405||_0x3d943c[_0x55a101]===_0x52850f([0x2a])));}function _0x2a6d07(){return _0x5ce12a&&_0x3f086f?new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362057,_0xbe9448)=>{_0x5ce12a[_0x52850f([0x74,0x68,0x65,0x6e])](_0x362057,_0xbe9448),_0x3f086f[_0x52850f([0x74,0x68,0x65,0x6e])](_0x2281a9=>{_0x2281a9!=_0x52850f([0x56,0x61,0x6c,0x69,0x64])&&_0x362057(_0x2281a9);},_0xbe9448);}):_0x5ce12a||_0x3f086f||_0x52850f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x394fbe(_0x2743a0,_0x288215){return new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20fac3=>{if(_0x71beb2())return _0x20fac3(_0x52850f([0x56,0x61,0x6c,0x69,0x64]));_0x4eddad(),_0x373e75[_0x52850f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52850f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a6a30=!0x1;const _0x255539=_0x30767a();function _0x18ee3b(_0xfbe04c){return!!_0xfbe04c&&(typeof _0xfbe04c===_0x52850f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfbe04c===_0x52850f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfbe04c[_0x52850f([0x74,0x68,0x65,0x6e])]===_0x52850f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfbe04c[_0x52850f([0x63,0x61,0x74,0x63,0x68])]===_0x52850f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27b8df(_0x248b85){_0x468774(_0x248b85)[_0x52850f([0x74,0x68,0x65,0x6e])](_0x5eabd7=>{if(!_0x5eabd7||_0x5eabd7[_0x52850f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52850f([0x6f,0x6b]))return _0x52850f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1945c1(_0x3ccf45(_0x255539+_0x288215))!=_0x5eabd7[_0x52850f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52850f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52850f([0x56,0x61,0x6c,0x69,0x64]);})[_0x52850f([0x74,0x68,0x65,0x6e])](_0x4abdc0=>(_0x11f2a4(),_0x4abdc0),()=>{const _0x841df8=_0x130437();return null==_0x841df8?(_0x11f2a4(),_0x52850f([0x56,0x61,0x6c,0x69,0x64])):_0x52850f(_0x58decd-_0x841df8>(0x1eaffb3f^_0x5098a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52850f([0x74,0x68,0x65,0x6e])](_0x20fac3)[_0x52850f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20fac3(_0x52850f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3646eb=0x3a9591bf^_0x5098a5;function _0x11f2a4(){const _0x15b99c=_0x52850f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1945c1(_0x3ccf45(_0x2743a0)),_0x9f2cdc=_0x5e3460(_0x1945c1(window[_0x52850f([0x4d,0x61,0x74,0x68])][_0x52850f([0x63,0x65,0x69,0x6c])](_0x58decd/_0x3646eb)));window[_0x52850f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52850f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b99c,_0x9f2cdc);}function _0x130437(){const _0x451468=_0x52850f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1945c1(_0x3ccf45(_0x2743a0)),_0x548609=window[_0x52850f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52850f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x451468);return _0x548609?window[_0x52850f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e3460(_0x548609),0x10)*_0x3646eb:null;}function _0x468774(_0x4ba066){return new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b0c2,_0x186ea8)=>{_0x4ba066[_0x52850f([0x74,0x68,0x65,0x6e])](_0x49b0c2,_0x186ea8),window[_0x52850f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x186ea8,0x3aa2abff^_0x5098a5);});}}_0x373e75[_0x52850f([0x6f,0x6e])](_0x52850f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ead47,_0x490c44)=>{if(_0x490c44[0x0]!=_0x2743a0)return _0x20fac3(_0x52850f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x490c44[0x1]={..._0x490c44[0x1],[_0x52850f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x255539};},{[_0x52850f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52850f([0x68,0x69,0x67,0x68])}),_0x373e75[_0x52850f([0x6f,0x6e])](_0x52850f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x351df9=>{_0x18ee3b(_0x351df9[_0x52850f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a6a30=!0x0,_0x27b8df(_0x351df9[_0x52850f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52850f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52850f([0x6c,0x6f,0x77])}),_0x12ca4e[_0x52850f([0x74,0x68,0x65,0x6e])](()=>{_0x2a6a30||_0x20fac3(_0x52850f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x71beb2(){return _0x373e75[_0x52850f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52850f([0x76,0x69,0x65,0x77])][_0x52850f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52850f([0x61,0x75,0x74,0x6f]);}function _0x4eddad(){_0x373e75[_0x52850f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52850f([0x76,0x69,0x65,0x77])][_0x52850f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52850f([0x61,0x75,0x74,0x6f]);}}function _0x1a3012(_0x4d35ad){const _0x4ad196=[new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4551b4=>setTimeout(_0x4551b4,0x3aaa41f3^_0x5098a5)),_0x12ca4e[_0x52850f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1718d8=>{let _0x147ab4=0x0;_0x373e75[_0x52850f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52850f([0x6f,0x6e])](_0x52850f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x307880,_0x1bd212)=>{_0x1bd212[0x0][_0x52850f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x147ab4++,_0x147ab4==(0x3aa37ec7^_0x5098a5)&&(_0x1718d8(),_0x307880[_0x52850f([0x6f,0x66,0x66])]());});}))];return window[_0x52850f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52850f([0x72,0x61,0x63,0x65])](_0x4ad196)[_0x52850f([0x74,0x68,0x65,0x6e])](()=>_0x4d35ad);}async function _0x800dfb(){await _0x12ca4e,_0x373e75[_0x52850f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52850f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58ccf4,_0x373e75[_0x52850f([0x6d,0x6f,0x64,0x65,0x6c])][_0x52850f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58ccf4,_0x373e75[_0x52850f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52850f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b3e2c(_0x1dc7ee){const _0x495c2d=_0x16d3d0();_0x373e75[_0x495c2d]=_0x52850f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1dc7ee,_0x1dc7ee!=_0x52850f([0x56,0x61,0x6c,0x69,0x64])&&_0x800dfb();}function _0x16d3d0(){const _0x53e8c9=window[_0x52850f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52850f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52850f([0x6e,0x6f,0x77])]())[_0x52850f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52850f([0x2e]),'');let _0x2bc8dc=_0x52850f([0x66]);for(let _0xa04f60=0x0;_0xa04f60<_0x53e8c9[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa04f60+=0x2){let _0x27abd0=window[_0x52850f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53e8c9[_0x52850f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa04f60,_0xa04f60+0x2));_0x27abd0>=_0x4457df[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27abd0-=_0x4457df[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bc8dc+=_0x4457df[_0x27abd0];}return _0x2bc8dc;}function _0x4d7570(){const _0x14a83c=_0x16bd7a[_0x52850f([0x73,0x70,0x6c,0x69,0x74])](_0x52850f([0x2e]));if(0x3!=_0x14a83c[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5719d1(_0x14a83c[0x1]);function _0x5719d1(_0x43c0d8){const _0x3d1a69=_0x3a7584(_0x43c0d8);return _0x3d1a69&&_0xf99985()?_0x3d1a69:null;function _0xf99985(){const _0x4b9312=_0x3d1a69[_0x52850f([0x6a,0x74,0x69])],_0x157364=window[_0x52850f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b9312[_0x52850f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b9312[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7c5204={..._0x3d1a69,[_0x52850f([0x6a,0x74,0x69])]:_0x4b9312[_0x52850f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b9312[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7c5204[_0x52850f([0x76,0x63])],_0x3ccf45(_0x7c5204)==_0x157364;}}}async function _0xeea0cc(){let _0x3aac35=!0x0;try{const _0x189190=_0x16bd7a[_0x52850f([0x73,0x70,0x6c,0x69,0x74])](_0x52850f([0x2e])),[_0x11e311,_0x21eb1f,_0x638139]=_0x189190;return _0x69c6a4(_0x11e311),await _0x5bcadf(_0x11e311,_0x21eb1f,_0x638139),_0x3aac35;}catch(_0x2813fd){return!0x1;}function _0x69c6a4(_0x14fe9d){const _0x542812=_0x3a7584(_0x14fe9d);_0x542812&&_0x542812[_0x52850f([0x61,0x6c,0x67])]==_0x52850f([0x45,0x53,0x32,0x35,0x36])||(_0x3aac35=!0x1);}async function _0x5bcadf(_0x2dcd32,_0x265e8f,_0x1bbacb){const _0x124719=window[_0x52850f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52850f([0x66,0x72,0x6f,0x6d])](_0x4009e(_0x1bbacb),_0x924b43=>_0x924b43[_0x52850f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dd5a8=new window[(_0x52850f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52850f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dcd32+_0x52850f([0x2e])+_0x265e8f),_0x36c65a=window[_0x52850f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52850f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36c65a)return;const _0x1a5c49=await _0x36c65a[_0x52850f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52850f([0x6a,0x77,0x6b]),_0x7c1f54,{[_0x52850f([0x6e,0x61,0x6d,0x65])]:_0x52850f([0x45,0x43,0x44,0x53,0x41]),[_0x52850f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52850f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52850f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36c65a[_0x52850f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52850f([0x6e,0x61,0x6d,0x65])]:_0x52850f([0x45,0x43,0x44,0x53,0x41]),[_0x52850f([0x68,0x61,0x73,0x68])]:{[_0x52850f([0x6e,0x61,0x6d,0x65])]:_0x52850f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a5c49,_0x124719,_0x4dd5a8)||(_0x3aac35=!0x1);}}function _0x3a7584(_0x484ecb){return _0x484ecb[_0x52850f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52850f([0x65,0x79]))?JSON[_0x52850f([0x70,0x61,0x72,0x73,0x65])](_0x4009e(_0x484ecb)):null;}function _0x4009e(_0xad7514){return window[_0x52850f([0x61,0x74,0x6f,0x62])](_0xad7514[_0x52850f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52850f([0x2b]))[_0x52850f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52850f([0x2f])));}function _0x3ccf45(_0x354700){let _0x22c845=0x1505;function _0x4a250d(_0x40991b){for(let _0x300329=0x0;_0x300329<_0x40991b[_0x52850f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300329++){const _0x73f202=_0x40991b[_0x52850f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300329);_0x22c845=(_0x22c845<<0x5)+_0x22c845+_0x73f202,_0x22c845&=_0x22c845;}}function _0x40b53b(_0x416ea9){Array[_0x52850f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x416ea9)?_0x416ea9[_0x52850f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40b53b):_0x416ea9&&typeof _0x416ea9==_0x52850f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52850f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x416ea9)[_0x52850f([0x73,0x6f,0x72,0x74])]()[_0x52850f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x386189,_0xfe18fb])=>{_0x4a250d(_0x386189),_0x40b53b(_0xfe18fb);}):_0x4a250d(window[_0x52850f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x416ea9));}return _0x40b53b(_0x354700),_0x22c845>>>0x0;}function _0x1945c1(_0x508802){return _0x508802[_0x52850f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52850f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52850f([0x30]));}function _0x5e3460(_0xf928bf){return _0xf928bf[_0x52850f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52850f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52850f([0x6a,0x6f,0x69,0x6e])]('');}function _0x58ccf4(){}function _0x52850f(_0x16c000){const _0x276f56=_0x2602;return _0x16c000[_0x276f56(0x128)](_0x9fab96=>String[_0x276f56(0x124)](_0x9fab96))[_0x276f56(0x106)]('');}_0x3b3e2c(await _0x101738());}(this);}[_0x27d297(0x10f)](){const _0x34c061=_0x27d297,_0x468865=this[_0x34c061(0x146)][_0x34c061(0x13f)][_0x34c061(0x114)];_0x468865[_0x34c061(0x103)](_0x34c061(0x122))&&_0x468865[_0x34c061(0x133)](_0x34c061(0x122),{'allowAttributes':[_0x34c061(0x107)]}),_0x468865[_0x34c061(0x103)](_0x34c061(0x13b))&&_0x468865[_0x34c061(0x133)](_0x34c061(0x13b),{'allowAttributes':[_0x34c061(0x107)]});}[_0x27d297(0xfe)](){const _0x57a908=_0x27d297,_0x1f555a=this[_0x57a908(0x146)];_0x1f555a[_0x57a908(0x119)][_0x57a908(0x132)](_0x57a908(0x121))[_0x57a908(0x137)]({'model':_0x57a908(0x107),'view':_0x57a908(0x12f)}),_0x1f555a[_0x57a908(0x119)][_0x57a908(0x132)](_0x57a908(0x125))[_0x57a908(0x115)]({'model':{'key':_0x57a908(0x107),'value':_0x55cbd9=>_0x55cbd9[_0x57a908(0x102)](_0x57a908(0x12f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4732de=_0x1f555a[_0x57a908(0x129)][_0x57a908(0x11a)](_0x57a908(0x12b));_0x4732de&&this[_0x57a908(0x131)](_0x4732de,_0x57a908(0x11b),(_0x39bb5b,[_0x4d32bb,_0x59360e])=>{const _0x4f8395=_0x57a908;_0x4d32bb[_0x4f8395(0x143)](_0x4f8395(0x107),_0x59360e);});}[_0x27d297(0x141)](){const _0x289c88=_0x27d297,_0x215a21=this[_0x289c88(0x146)][_0x289c88(0x139)][_0x289c88(0x11a)](_0x289c88(0x14c))||{},_0x44cdde=this[_0x289c88(0x146)][_0x289c88(0x139)][_0x289c88(0x11a)](_0x289c88(0x13d))||'';this[_0x289c88(0x13e)]=_0x2b3f02(_0x3a49da[_0x289c88(0x138)],_0x289c88(0x130),{..._0x215a21,'pubkey':_0x44cdde,'ctx-name':_0x289c88(0x145),'sourceList':'','imgOnly':_0x289c88(0x12d),'removeCopyright':_0x289c88(0x12d),'localeName':this[_0x289c88(0x146)][_0x289c88(0x10d)][_0x289c88(0x111)],'externalSourcesEmbedCss':_0x289c88(0x109)}),this[_0x289c88(0x13e)][_0x289c88(0x113)]=_0x15978b=>{const _0x3a66e6=_0x289c88;if(_0x3a66e6(0x149)==_0x15978b)return _0x3a66e6(0x110);},_0x3a49da[_0x289c88(0x138)][_0x289c88(0x10b)][_0x289c88(0xfd)](this[_0x289c88(0x13e)]);}[_0x27d297(0x142)](){const _0x20267f=_0x27d297;this[_0x20267f(0x118)]=_0x2b3f02(_0x3a49da[_0x20267f(0x138)],_0x20267f(0x117),{'ctx-name':_0x20267f(0x145)}),_0x3a49da[_0x20267f(0x138)][_0x20267f(0x10b)][_0x20267f(0xfd)](this[_0x20267f(0x118)]);}[_0x27d297(0x10c)](){const _0x43ce2e=_0x27d297,_0x5a15d9=this[_0x43ce2e(0x146)][_0x43ce2e(0x129)][_0x43ce2e(0x11a)](_0x43ce2e(0x10a));_0x5a15d9&&this[_0x43ce2e(0x131)](_0x5a15d9,_0x43ce2e(0x100),()=>{const _0x44a524=_0x43ce2e,_0x1a8132=this[_0x44a524(0x146)][_0x44a524(0x13f)][_0x44a524(0x138)][_0x44a524(0xfc)][_0x44a524(0x12e)]();_0x1a8132&&_0x1a8132[_0x44a524(0x102)](_0x44a524(0x107))&&this[_0x44a524(0x146)][_0x44a524(0x11e)][_0x44a524(0x11d)][_0x44a524(0x148)](_0x44a524(0x134),()=>{const _0x5c7d25=_0x44a524;_0x4928a5(this[_0x5c7d25(0x146)],_0x1a8132);});});const _0x45a0f2=this[_0x43ce2e(0x146)][_0x43ce2e(0x129)][_0x43ce2e(0x11a)](_0x43ce2e(0x11c));_0x45a0f2&&this[_0x43ce2e(0x131)](_0x45a0f2,_0x43ce2e(0x100),()=>{const _0x178aa9=_0x43ce2e,_0x39a867=this[_0x178aa9(0x146)][_0x178aa9(0x13f)][_0x178aa9(0x138)][_0x178aa9(0xfc)][_0x178aa9(0x12e)]();_0x39a867&&_0x39a867[_0x178aa9(0x102)](_0x178aa9(0x107))&&this[_0x178aa9(0x146)][_0x178aa9(0x11e)][_0x178aa9(0x11d)][_0x178aa9(0x148)](_0x178aa9(0x134),()=>{const _0x5e9a34=_0x178aa9;_0x4928a5(this[_0x5e9a34(0x146)],_0x39a867);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2b6dcb,ObservableMixin as _0x3f8244}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x39ba32}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1753ef}from'ckeditor5/src/icons.js';import _0x1bf698 from'./uploadcareimageeditformview.js';import _0x184ca2 from'../../utils/uploadutils.js';import{getImageUrls as _0x2b88d8,getImageDimension as _0x30f650}from'../../utils/editingutils.js';import{isAncestor as _0x151335}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3f8244(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3766ce,_0x3e2a47,_0x216cf7){super(),this['_editor']=_0x3766ce,this['_dialog']=_0x3e2a47,this['_imageElement']=_0x216cf7,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 _0x495f3d=this['_imageElement'],_0x3dbbab=_0x495f3d['getAttribute']('uploadcareImageId'),_0xd1b67c=_0x495f3d['getAttribute']('src');if(_0x3dbbab)await this['_loadImageInfo'](_0x3dbbab,_0xd1b67c);else{if(this['_imageCache']['has'](_0xd1b67c)){const _0x5f165a=this['_imageCache']['get'](_0xd1b67c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f165a['url'],this['imageDimension']=_0x5f165a['dimension'],this['imageId']=_0x5f165a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2475ac}=this['_editor'],t=_0x2475ac['t'],_0x43ba34=new _0x1bf698(_0x2475ac,this['imageStatus'],this['_attributes']);_0x43ba34['bind']('status')['to'](this,'imageStatus'),_0x43ba34['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43ba34['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43ba34['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43ba34,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1753ef,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43ba34,'position':_0x39ba32['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43ba34['focus']();},'onHide':()=>{_0x43ba34['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15c747=>!_0x151335(_0x15c747,_0x43ba34['element'])}});}['_loadImageInfo'](_0x606147,_0x518757){return _0x184ca2['getInfo'](_0x606147,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x448cef=>{const {width:_0x68096a,height:_0xfa92c3}=_0x448cef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x518757,this['imageDimension']={'width':_0x68096a,'height':_0xfa92c3},this['imageId']=_0x606147;})['catch'](_0x35fcd6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35fcd6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3a4948,_0x555f66){return this['_getImageAsFile'](_0x3a4948)['then'](_0x5a6aa9=>_0x184ca2['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x555f66['signal'],'file':_0x5a6aa9,'onProgress':_0x3bca36=>{_0x3bca36&&_0x3bca36['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3bca36['value']));}}))['then'](_0x3f8223=>{const {width:_0x824eb4,height:_0x5b5787}=_0x3f8223['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f8223['cdnUrl'],this['imageDimension']={'width':_0x824eb4,'height':_0x5b5787},this['imageId']=_0x3f8223['uuid'],this['imageUploadProgress']=null;const _0x74f22=_0x3a4948['getAttribute']('src');this['_imageCache']['set'](_0x74f22,{'id':_0x3f8223['uuid'],'url':_0x3f8223['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f43b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f43b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x443fa9,_0x2cb1a0){_0x443fa9['on']('apply',(_0x1deb2d,_0x5c8c84)=>{this['_replaceImage'](_0x2cb1a0,_0x5c8c84['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x443fa9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x443fa9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x11b83b,_0x5626cb,_0x5c867b){const _0xd71f58=this['_editor'],{width:_0x17a68b,height:_0x64f3d}=_0x30f650(_0x5626cb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x146ce9,imageSources:_0x3656ad}=_0x2b88d8(_0x5626cb,_0x17a68b);_0xd71f58['model']['change'](_0x7db84b=>{if('$graveyard'===_0x11b83b['root']['rootName']){_0xd71f58['execute']('insertImage',{'imageType':_0x11b83b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x11b83b['getAttributes']()),'uploadcareImageId':_0x5c867b,'src':_0x146ce9,'sources':_0x3656ad,'width':_0x17a68b,'height':_0x64f3d}});const _0xa67c37=_0x11b83b['getChildren']();_0x11b83b=_0xd71f58['model']['document']['selection']['getSelectedElement']();for(const _0x17c205 of _0xa67c37)_0x7db84b['append'](_0x7db84b['cloneElement'](_0x17c205),_0x11b83b);}else _0x7db84b['setSelection'](_0x11b83b,'on'),_0xd71f58['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x11b83b['getAttributes']()),'uploadcareImageId':_0x5c867b,'src':_0x146ce9,'sources':_0x3656ad,'width':_0x17a68b,'height':_0x64f3d},_0x11b83b);_0x7db84b['setSelection'](_0x11b83b,'on');});}async['_getImageAsFile'](_0x461a03){const _0x5cbb90=_0x2b6dcb['window'],_0x31d798=_0x2b6dcb['document']['location']['href'],_0x23fd2e=new _0x5cbb90['URL'](_0x461a03['getAttribute']('src'),_0x31d798);if('data:'===_0x23fd2e['protocol']){const _0x4db4e4=_0x23fd2e['href']['split'](','),_0x305877=_0x4db4e4[0x0]['match'](/:(.*?);/)[0x1],_0xa66fb2=_0x305877['split']('/')[0x1],_0x303d2b=_0x5cbb90['atob'](_0x4db4e4[_0x4db4e4['length']-0x1]);let _0x418e36=_0x303d2b['length'];const _0x27890f=new _0x5cbb90['Uint8Array'](_0x418e36);for(;_0x418e36--;)_0x27890f[_0x418e36]=_0x303d2b['charCodeAt'](_0x418e36);return new _0x5cbb90['File']([_0x27890f],'image.'+_0xa66fb2,{'type':_0x305877});}const _0x2fe6c6=_0x23fd2e['href']['split']('/'),_0x1ffec9=_0x2fe6c6[_0x2fe6c6['length']-0x1],_0x1a469e=_0x1ffec9['split']('.')[0x1];return _0x5cbb90['fetch'](_0x23fd2e['href'])['then'](_0x1ec013=>_0x1ec013['clone']()['blob']())['then'](_0x11dedb=>new _0x5cbb90['File']([_0x11dedb],_0x1ffec9,{'type':'image/'+_0x1a469e}));}}
23
+ import{global as _0x16bc90,ObservableMixin as _0x1eeec3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56dd29}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x141219}from'ckeditor5/src/icons.js';import _0x593eac from'./uploadcareimageeditformview.js';import _0x26016d from'../../utils/uploadutils.js';import{getImageUrls as _0x4cc3ae,getImageDimension as _0xc51ede}from'../../utils/editingutils.js';import{isAncestor as _0x420b6c}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1eeec3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x529307,_0x171b83,_0x39bd50){super(),this['_editor']=_0x529307,this['_dialog']=_0x171b83,this['_imageElement']=_0x39bd50,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 _0x1967d9=this['_imageElement'],_0x51c6ac=_0x1967d9['getAttribute']('uploadcareImageId'),_0x719851=_0x1967d9['getAttribute']('src');if(_0x51c6ac)await this['_loadImageInfo'](_0x51c6ac,_0x719851);else{if(this['_imageCache']['has'](_0x719851)){const _0x31a532=this['_imageCache']['get'](_0x719851);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x31a532['url'],this['imageDimension']=_0x31a532['dimension'],this['imageId']=_0x31a532['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3e0fe9}=this['_editor'],t=_0x3e0fe9['t'],_0x117090=new _0x593eac(_0x3e0fe9,this['imageStatus'],this['_attributes']);_0x117090['bind']('status')['to'](this,'imageStatus'),_0x117090['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x117090['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x117090['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x117090,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x141219,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x117090,'position':_0x56dd29['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x117090['focus']();},'onHide':()=>{_0x117090['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x21be69=>!_0x420b6c(_0x21be69,_0x117090['element'])}});}['_loadImageInfo'](_0x2bb1f2,_0x2894fe){return _0x26016d['getInfo'](_0x2bb1f2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x433e6c=>{const {width:_0x1d632d,height:_0x58899b}=_0x433e6c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2894fe,this['imageDimension']={'width':_0x1d632d,'height':_0x58899b},this['imageId']=_0x2bb1f2;})['catch'](_0x4c0cad=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c0cad['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x299bb8,_0x11154){return this['_getImageAsFile'](_0x299bb8)['then'](_0x466122=>_0x26016d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x11154['signal'],'file':_0x466122,'onProgress':_0x40964a=>{_0x40964a&&_0x40964a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40964a['value']));}}))['then'](_0xe24aa6=>{const {width:_0x734774,height:_0xdea7ec}=_0xe24aa6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe24aa6['cdnUrl'],this['imageDimension']={'width':_0x734774,'height':_0xdea7ec},this['imageId']=_0xe24aa6['uuid'],this['imageUploadProgress']=null;const _0x42b9aa=_0x299bb8['getAttribute']('src');this['_imageCache']['set'](_0x42b9aa,{'id':_0xe24aa6['uuid'],'url':_0xe24aa6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1af4cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1af4cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x16ed4a,_0x40c8ab){_0x16ed4a['on']('apply',(_0x35604a,_0x2b5d14)=>{this['_replaceImage'](_0x40c8ab,_0x2b5d14['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x16ed4a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x16ed4a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1797f0,_0x3faa6b,_0x17475c){const _0x46773c=this['_editor'],{width:_0x434d55,height:_0x363c40}=_0xc51ede(_0x3faa6b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e0b3a,imageSources:_0x5ca186}=_0x4cc3ae(_0x3faa6b,_0x434d55);_0x46773c['model']['change'](_0x327185=>{if('$graveyard'===_0x1797f0['root']['rootName']){_0x46773c['execute']('insertImage',{'imageType':_0x1797f0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1797f0['getAttributes']()),'uploadcareImageId':_0x17475c,'src':_0x1e0b3a,'sources':_0x5ca186,'width':_0x434d55,'height':_0x363c40}});const _0x14ea52=_0x1797f0['getChildren']();_0x1797f0=_0x46773c['model']['document']['selection']['getSelectedElement']();for(const _0x387783 of _0x14ea52)_0x327185['append'](_0x327185['cloneElement'](_0x387783),_0x1797f0);}else _0x327185['setSelection'](_0x1797f0,'on'),_0x46773c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1797f0['getAttributes']()),'uploadcareImageId':_0x17475c,'src':_0x1e0b3a,'sources':_0x5ca186,'width':_0x434d55,'height':_0x363c40},_0x1797f0);_0x327185['setSelection'](_0x1797f0,'on');});}async['_getImageAsFile'](_0x5e5e79){const _0x3027f3=_0x16bc90['window'],_0x285b0f=_0x16bc90['document']['location']['href'],_0x247d6e=new _0x3027f3['URL'](_0x5e5e79['getAttribute']('src'),_0x285b0f);if('data:'===_0x247d6e['protocol']){const _0x21627e=_0x247d6e['href']['split'](','),_0x36caa2=_0x21627e[0x0]['match'](/:(.*?);/)[0x1],_0x4c2f3d=_0x36caa2['split']('/')[0x1],_0x28e45d=_0x3027f3['atob'](_0x21627e[_0x21627e['length']-0x1]);let _0xbec365=_0x28e45d['length'];const _0x4142e5=new _0x3027f3['Uint8Array'](_0xbec365);for(;_0xbec365--;)_0x4142e5[_0xbec365]=_0x28e45d['charCodeAt'](_0xbec365);return new _0x3027f3['File']([_0x4142e5],'image.'+_0x4c2f3d,{'type':_0x36caa2});}const _0x1ca246=_0x247d6e['href']['split']('/'),_0x2d6b1f=_0x1ca246[_0x1ca246['length']-0x1],_0x1c8038=_0x2d6b1f['split']('.')[0x1];return _0x3027f3['fetch'](_0x247d6e['href'])['then'](_0x1d3b87=>_0x1d3b87['clone']()['blob']())['then'](_0x153a8f=>new _0x3027f3['File']([_0x153a8f],_0x2d6b1f,{'type':'image/'+_0x1c8038}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b06(){const _0x12c3a5=['10saBxRu','147198aibzbN','ck-uploadcare-theme','imageSrc','uc-cloud-image-editor','set','5994208eJiZkD','image-edit','377796Izsgrl','11SInikg','9qZnNwi','15473710rdJtYK','uc-light','21Bhzhpq','setTemplate','2431210cboHmk','2044530uvzuOr','6832035ucffRf','bindTemplate'];_0x2b06=function(){return _0x12c3a5;};return _0x2b06();}(function(_0x3dc2fc,_0x1f674d){const _0x23ede2=_0x12b8,_0x55cc3e=_0x3dc2fc();while(!![]){try{const _0x5a1406=-parseInt(_0x23ede2(0x1b3))/0x1*(parseInt(_0x23ede2(0x1b4))/0x2)+parseInt(_0x23ede2(0x1bd))/0x3*(-parseInt(_0x23ede2(0x1bb))/0x4)+parseInt(_0x23ede2(0x1af))/0x5+parseInt(_0x23ede2(0x1b0))/0x6*(parseInt(_0x23ede2(0x1ad))/0x7)+-parseInt(_0x23ede2(0x1b9))/0x8+-parseInt(_0x23ede2(0x1b1))/0x9+parseInt(_0x23ede2(0x1be))/0xa*(parseInt(_0x23ede2(0x1bc))/0xb);if(_0x5a1406===_0x1f674d)break;else _0x55cc3e['push'](_0x55cc3e['shift']());}catch(_0x3310e6){_0x55cc3e['push'](_0x55cc3e['shift']());}}}(_0x2b06,0x80f16));import{View as _0x103382}from'ckeditor5/src/ui.js';function _0x12b8(_0x323af0,_0x47a7ba){const _0x2b06fc=_0x2b06();return _0x12b8=function(_0x12b8cf,_0x9a2e29){_0x12b8cf=_0x12b8cf-0x1ad;let _0x1eb5aa=_0x2b06fc[_0x12b8cf];return _0x1eb5aa;},_0x12b8(_0x323af0,_0x47a7ba);}export default class tt extends _0x103382{constructor(_0x201002,_0xc36840){const _0x2e03bf=_0x12b8;super(_0x201002);const _0x1c0b67=this[_0x2e03bf(0x1b2)];this[_0x2e03bf(0x1b8)](_0x2e03bf(0x1b6),''),this[_0x2e03bf(0x1ae)]({'tag':_0x2e03bf(0x1b7),'attributes':{..._0xc36840,'class':[_0x2e03bf(0x1bf),_0x2e03bf(0x1b5)],'ctx-name':_0x2e03bf(0x1ba),'cdn-url':_0x1c0b67['to'](_0x2e03bf(0x1b6))}});}}
23
+ (function(_0x30a5f7,_0x5edb9c){const _0x594668=_0x34bd,_0xa7ba9=_0x30a5f7();while(!![]){try{const _0x12b2ed=-parseInt(_0x594668(0xe4))/0x1+-parseInt(_0x594668(0xda))/0x2*(parseInt(_0x594668(0xe3))/0x3)+-parseInt(_0x594668(0xe0))/0x4+-parseInt(_0x594668(0xdd))/0x5+parseInt(_0x594668(0xe1))/0x6*(parseInt(_0x594668(0xde))/0x7)+parseInt(_0x594668(0xd7))/0x8*(parseInt(_0x594668(0xdf))/0x9)+parseInt(_0x594668(0xdb))/0xa;if(_0x12b2ed===_0x5edb9c)break;else _0xa7ba9['push'](_0xa7ba9['shift']());}catch(_0x491e0d){_0xa7ba9['push'](_0xa7ba9['shift']());}}}(_0x377b,0x323dd));function _0x34bd(_0x1fa687,_0x296557){const _0x377bd3=_0x377b();return _0x34bd=function(_0x34bd81,_0x5a24d0){_0x34bd81=_0x34bd81-0xd5;let _0x5af82e=_0x377bd3[_0x34bd81];return _0x5af82e;},_0x34bd(_0x1fa687,_0x296557);}import{View as _0x1e69dc}from'ckeditor5/src/ui.js';export default class tt extends _0x1e69dc{constructor(_0x379720,_0x35ca47){const _0x42bde2=_0x34bd;super(_0x379720);const _0x213912=this[_0x42bde2(0xd9)];this[_0x42bde2(0xe6)](_0x42bde2(0xd8),''),this[_0x42bde2(0xd5)]({'tag':_0x42bde2(0xdc),'attributes':{..._0x35ca47,'class':[_0x42bde2(0xd6),_0x42bde2(0xe2)],'ctx-name':_0x42bde2(0xe5),'cdn-url':_0x213912['to'](_0x42bde2(0xd8))}});}}function _0x377b(){const _0x6fbf82=['imageSrc','bindTemplate','233358bIauSP','6727230aXyuaV','uc-cloud-image-editor','706345VcjKaR','77GJcetA','41661gooIuy','757404QxDLFY','10974UpasCG','ck-uploadcare-theme','3EOIRjQ','211027meTtal','image-edit','set','setTemplate','uc-light','296EQceKB'];_0x377b=function(){return _0x6fbf82;};return _0x377b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x22fa0f,IconView as at,View as _0x423905}from'ckeditor5/src/ui.js';export default class rt extends _0x423905{constructor(_0x45143d){super(_0x45143d);const t=_0x45143d['t'];this['set']('errorType',null);const _0x2ec401=new _0x22fa0f(_0x45143d);_0x2ec401['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2ec401['withText']=!0x0,_0x2ec401['class']='ck-button-action',_0x2ec401['on']('execute',()=>{this['fire']('retry');}),_0x2ec401['bind']('isVisible')['to'](this,'errorType',_0x4f1172=>'NotFound'!==_0x4f1172);const _0x240099=new at();_0x240099['content']=et,_0x240099['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x575c5d=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':[_0x240099,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x575c5d['to']('errorType',_0x2bfcd0=>t('NotFound'!==_0x2bfcd0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2ec401]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x14ccc9,IconView as at,View as _0x552e96}from'ckeditor5/src/ui.js';export default class rt extends _0x552e96{constructor(_0x16c3b3){super(_0x16c3b3);const t=_0x16c3b3['t'];this['set']('errorType',null);const _0x572790=new _0x14ccc9(_0x16c3b3);_0x572790['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x572790['withText']=!0x0,_0x572790['class']='ck-button-action',_0x572790['on']('execute',()=>{this['fire']('retry');}),_0x572790['bind']('isVisible')['to'](this,'errorType',_0x257397=>'NotFound'!==_0x257397);const _0x4b1048=new at();_0x4b1048['content']=et,_0x4b1048['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f717b=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':[_0x4b1048,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f717b['to']('errorType',_0x5bebf6=>t('NotFound'!==_0x5bebf6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x572790]},{'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 _0x158e2b,View as _0x2eb6b}from'ckeditor5/src/ui.js';export default class ta extends _0x2eb6b{constructor(_0x4452f9){super(_0x4452f9);const t=_0x4452f9['t'],_0x35bab1=this['bindTemplate'],_0xd52ea5=new _0x158e2b();_0xd52ea5['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':[_0xd52ea5,{'text':_0x35bab1['to']('imageUploadProgress',_0x1a6509=>t('Loading\x20image...')+'\x20('+(_0x1a6509||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 _0x5a464,View as _0x2e0822}from'ckeditor5/src/ui.js';export default class ta extends _0x2e0822{constructor(_0x4184d3){super(_0x4184d3);const t=_0x4184d3['t'],_0x23cd60=this['bindTemplate'],_0xb3aafe=new _0x5a464();_0xb3aafe['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':[_0xb3aafe,{'text':_0x23cd60['to']('imageUploadProgress',_0x8ea971=>t('Loading\x20image...')+'\x20('+(_0x8ea971||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 _0x377d7a=_0x4882;(function(_0x19d01a,_0x2b0b19){const _0x25516e=_0x4882,_0x52dc1e=_0x19d01a();while(!![]){try{const _0x6529a6=-parseInt(_0x25516e(0x129))/0x1+parseInt(_0x25516e(0x124))/0x2+parseInt(_0x25516e(0x138))/0x3*(-parseInt(_0x25516e(0x120))/0x4)+parseInt(_0x25516e(0x14d))/0x5+-parseInt(_0x25516e(0x139))/0x6*(parseInt(_0x25516e(0x14f))/0x7)+-parseInt(_0x25516e(0x132))/0x8*(parseInt(_0x25516e(0x13e))/0x9)+-parseInt(_0x25516e(0x14e))/0xa*(-parseInt(_0x25516e(0x154))/0xb);if(_0x6529a6===_0x2b0b19)break;else _0x52dc1e['push'](_0x52dc1e['shift']());}catch(_0x9d329b){_0x52dc1e['push'](_0x52dc1e['shift']());}}}(_0x21e1,0x5683a));import{View as _0x6133a}from'ckeditor5/src/ui.js';import _0x3a5797 from'./uploadcareimageeditformloadingview.js';function _0x4882(_0x5edca4,_0x246db9){const _0x21e144=_0x21e1();return _0x4882=function(_0x488202,_0x547069){_0x488202=_0x488202-0x11d;let _0x172219=_0x21e144[_0x488202];return _0x172219;},_0x4882(_0x5edca4,_0x246db9);}import _0x58c325 from'./uploadcareimageeditformerrorview.js';import _0x51bd76 from'./uploadcareimageeditformeditingview.js';import _0x35e773 from'../../utils/dialogfocusmanagerview.js';function _0x21e1(){const _0x372e21=['_errorView','toLowerCase','740390ucnqrv','apply','disconnect','render','_waitForImageEditorComponent','192558MUfUya','getFocusableElement','querySelector','cancel','_loadingView','element','div','nodeName','focus','416aFallN','_focusableView','fire','once','_addUploadcareImageEditorListeners','target','3ltbEPu','1304046boxhOU','_editingView','_setView','observe','cdnUrl','8424OHCKxB','addedNodes','ready','detail','uc-cloud-image-editor','retry','uploading','_items','clear','set','status','addEventListener','change:status','add','_addErrorViewListeners','3473120pzGDgo','33260GlhCdK','7hXPRJO','createCollection','addMany','ck-uploadcare-form','setTemplate','363ghtjZX','ck-reset_all-excluded','filter','length','1446576uUsiic','error'];_0x21e1=function(){return _0x372e21;};return _0x21e1();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x35e773{[_0x377d7a(0x145)];[_0x377d7a(0x12d)];[_0x377d7a(0x122)];[_0x377d7a(0x13a)];[_0x377d7a(0x133)];constructor(_0x1c52df,_0xce7fb0,_0x1c863a){const _0x57503f=_0x377d7a;super(_0x1c52df),this[_0x57503f(0x145)]=this[_0x57503f(0x150)](),this[_0x57503f(0x12d)]=new _0x3a5797(_0x1c52df),this[_0x57503f(0x122)]=new _0x58c325(_0x1c52df),this[_0x57503f(0x13a)]=new _0x51bd76(_0x1c52df,_0x1c863a),this[_0x57503f(0x133)]=new _0x6133a(_0x1c52df),this[_0x57503f(0x133)][_0x57503f(0x153)](this[_0x57503f(0x12a)]()),this[_0x57503f(0x147)](_0x57503f(0x148),_0xce7fb0),this[_0x57503f(0x153)]({'tag':_0x57503f(0x12f),'attributes':{'class':['ck',_0x57503f(0x11d),_0x57503f(0x152)],'tabindex':'-1'},'children':this[_0x57503f(0x145)]}),this[_0x57503f(0x13b)](),this[_0x57503f(0x135)](_0x57503f(0x127),()=>{const _0xfc5559=_0x57503f;this[_0xfc5559(0x128)](this[_0xfc5559(0x12e)],_0x319e60=>{const _0x24799e=_0xfc5559;this[_0x24799e(0x136)](_0x319e60);});}),this['on'](_0x57503f(0x14a),()=>{const _0x26e5f0=_0x57503f;this[_0x26e5f0(0x13b)]();}),this[_0x57503f(0x14c)]();}[_0x377d7a(0x131)](){const _0x47e591=_0x377d7a;this[_0x47e591(0x12e)][_0x47e591(0x131)]();}[_0x377d7a(0x13b)](){const _0x5cc32f=_0x377d7a;switch(this[_0x5cc32f(0x145)][_0x5cc32f(0x146)](),this[_0x5cc32f(0x148)]){case _0x5cc32f(0x144):this[_0x5cc32f(0x145)][_0x5cc32f(0x14b)](this[_0x5cc32f(0x12d)]);break;case _0x5cc32f(0x121):this[_0x5cc32f(0x145)][_0x5cc32f(0x14b)](this[_0x5cc32f(0x122)]);break;case _0x5cc32f(0x140):this[_0x5cc32f(0x145)][_0x5cc32f(0x151)]([this[_0x5cc32f(0x13a)],this[_0x5cc32f(0x133)]]);}}[_0x377d7a(0x128)](_0x3eecf3,_0x4f6626){const _0x54ffdf=_0x377d7a,_0x4de0a4=_0x54ffdf(0x142),_0x548524=_0x3eecf3[_0x54ffdf(0x12b)](_0x4de0a4);if(_0x548524)return _0x4f6626(_0x548524);const _0x31d946=new MutationObserver(_0x5dd51d=>{const _0x3f6e5a=_0x54ffdf,_0x21a98f=_0x5dd51d[_0x3f6e5a(0x11e)](_0x195683=>_0x195683[_0x3f6e5a(0x137)]===_0x3eecf3&&_0x195683[_0x3f6e5a(0x13f)][_0x3f6e5a(0x11f)]>0x0&&_0x195683[_0x3f6e5a(0x13f)][0x0][_0x3f6e5a(0x130)][_0x3f6e5a(0x123)]()===_0x4de0a4);_0x21a98f[_0x3f6e5a(0x11f)]&&(_0x31d946[_0x3f6e5a(0x126)](),_0x4f6626(_0x21a98f[0x0][_0x3f6e5a(0x13f)][0x0]));});_0x31d946[_0x54ffdf(0x13c)](_0x3eecf3,{'childList':!0x0,'subtree':!0x0});}[_0x377d7a(0x136)](_0x54021a){const _0x6e662c=_0x377d7a;_0x54021a[_0x6e662c(0x149)](_0x6e662c(0x125),_0x2d8ee2=>{const _0x10552c=_0x6e662c;this[_0x10552c(0x134)](_0x10552c(0x125),{'imageSrc':_0x2d8ee2[_0x10552c(0x141)][_0x10552c(0x13d)]});}),_0x54021a[_0x6e662c(0x149)](_0x6e662c(0x12c),()=>{const _0x4bbded=_0x6e662c;this[_0x4bbded(0x134)](_0x4bbded(0x12c));});}[_0x377d7a(0x14c)](){const _0x170b16=_0x377d7a;this[_0x170b16(0x122)]['on'](_0x170b16(0x143),()=>{const _0x4e191a=_0x170b16;this[_0x4e191a(0x134)](_0x4e191a(0x143));});}}
23
+ function _0x41cd(_0xee6f9f,_0x4d3a48){const _0x2ef462=_0x2ef4();return _0x41cd=function(_0x41cdd1,_0x323504){_0x41cdd1=_0x41cdd1-0x1c9;let _0x1aa0eb=_0x2ef462[_0x41cdd1];return _0x1aa0eb;},_0x41cd(_0xee6f9f,_0x4d3a48);}const _0x696914=_0x41cd;(function(_0x42fb8a,_0x1bdae9){const _0x45064b=_0x41cd,_0x1ab083=_0x42fb8a();while(!![]){try{const _0x1c21a8=parseInt(_0x45064b(0x1db))/0x1*(parseInt(_0x45064b(0x1e0))/0x2)+parseInt(_0x45064b(0x1df))/0x3*(-parseInt(_0x45064b(0x1d7))/0x4)+parseInt(_0x45064b(0x1fe))/0x5+-parseInt(_0x45064b(0x1ca))/0x6+-parseInt(_0x45064b(0x1d6))/0x7*(-parseInt(_0x45064b(0x1dc))/0x8)+-parseInt(_0x45064b(0x1d4))/0x9+parseInt(_0x45064b(0x1cf))/0xa;if(_0x1c21a8===_0x1bdae9)break;else _0x1ab083['push'](_0x1ab083['shift']());}catch(_0x5a94de){_0x1ab083['push'](_0x1ab083['shift']());}}}(_0x2ef4,0xb360b));import{View as _0xef37a6}from'ckeditor5/src/ui.js';import _0x53280d from'./uploadcareimageeditformloadingview.js';import _0x48f0b7 from'./uploadcareimageeditformerrorview.js';import _0x396802 from'./uploadcareimageeditformeditingview.js';import _0x2b8723 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2b8723{[_0x696914(0x1ef)];[_0x696914(0x1e4)];[_0x696914(0x1ce)];[_0x696914(0x1cc)];[_0x696914(0x1f4)];constructor(_0x1ab21b,_0x3fc026,_0x58dad1){const _0x335708=_0x696914;super(_0x1ab21b),this[_0x335708(0x1ef)]=this[_0x335708(0x1de)](),this[_0x335708(0x1e4)]=new _0x53280d(_0x1ab21b),this[_0x335708(0x1ce)]=new _0x48f0b7(_0x1ab21b),this[_0x335708(0x1cc)]=new _0x396802(_0x1ab21b,_0x58dad1),this[_0x335708(0x1f4)]=new _0xef37a6(_0x1ab21b),this[_0x335708(0x1f4)][_0x335708(0x1d2)](this[_0x335708(0x1f6)]()),this[_0x335708(0x1d3)](_0x335708(0x1f9),_0x3fc026),this[_0x335708(0x1d2)]({'tag':_0x335708(0x1e3),'attributes':{'class':['ck',_0x335708(0x1f1),_0x335708(0x1e6)],'tabindex':'-1'},'children':this[_0x335708(0x1ef)]}),this[_0x335708(0x1da)](),this[_0x335708(0x1e5)](_0x335708(0x1d1),()=>{const _0x3089ae=_0x335708;this[_0x3089ae(0x1cb)](this[_0x3089ae(0x1ec)],_0x408b4d=>{const _0xb3a49a=_0x3089ae;this[_0xb3a49a(0x1f7)](_0x408b4d);});}),this['on'](_0x335708(0x1fc),()=>{const _0xacfcb=_0x335708;this[_0xacfcb(0x1da)]();}),this[_0x335708(0x1c9)]();}[_0x696914(0x1d0)](){const _0x4421af=_0x696914;this[_0x4421af(0x1ec)][_0x4421af(0x1d0)]();}[_0x696914(0x1da)](){const _0xabef9f=_0x696914;switch(this[_0xabef9f(0x1ef)][_0xabef9f(0x1f2)](),this[_0xabef9f(0x1f9)]){case _0xabef9f(0x1e7):this[_0xabef9f(0x1ef)][_0xabef9f(0x1e8)](this[_0xabef9f(0x1e4)]);break;case _0xabef9f(0x1d8):this[_0xabef9f(0x1ef)][_0xabef9f(0x1e8)](this[_0xabef9f(0x1ce)]);break;case _0xabef9f(0x1e9):this[_0xabef9f(0x1ef)][_0xabef9f(0x1ee)]([this[_0xabef9f(0x1cc)],this[_0xabef9f(0x1f4)]]);}}[_0x696914(0x1cb)](_0x31a9a8,_0x5a5da1){const _0x35c145=_0x696914,_0x288870=_0x35c145(0x1d5),_0x242c3a=_0x31a9a8[_0x35c145(0x1ed)](_0x288870);if(_0x242c3a)return _0x5a5da1(_0x242c3a);const _0x44abe7=new MutationObserver(_0x5482a1=>{const _0x41d4da=_0x35c145,_0x416906=_0x5482a1[_0x41d4da(0x1d9)](_0x4b4c66=>_0x4b4c66[_0x41d4da(0x1fa)]===_0x31a9a8&&_0x4b4c66[_0x41d4da(0x1cd)][_0x41d4da(0x1fb)]>0x0&&_0x4b4c66[_0x41d4da(0x1cd)][0x0][_0x41d4da(0x1f3)][_0x41d4da(0x1e1)]()===_0x288870);_0x416906[_0x41d4da(0x1fb)]&&(_0x44abe7[_0x41d4da(0x1f0)](),_0x5a5da1(_0x416906[0x0][_0x41d4da(0x1cd)][0x0]));});_0x44abe7[_0x35c145(0x1ea)](_0x31a9a8,{'childList':!0x0,'subtree':!0x0});}[_0x696914(0x1f7)](_0x2df36a){const _0x4e327a=_0x696914;_0x2df36a[_0x4e327a(0x1dd)](_0x4e327a(0x1f5),_0x73306=>{const _0x59ee1d=_0x4e327a;this[_0x59ee1d(0x1fd)](_0x59ee1d(0x1f5),{'imageSrc':_0x73306[_0x59ee1d(0x1eb)][_0x59ee1d(0x1ff)]});}),_0x2df36a[_0x4e327a(0x1dd)](_0x4e327a(0x1e2),()=>{const _0x504f12=_0x4e327a;this[_0x504f12(0x1fd)](_0x504f12(0x1e2));});}[_0x696914(0x1c9)](){const _0x5de2f3=_0x696914;this[_0x5de2f3(0x1ce)]['on'](_0x5de2f3(0x1f8),()=>{const _0x396513=_0x5de2f3;this[_0x396513(0x1fd)](_0x396513(0x1f8));});}}function _0x2ef4(){const _0x57ead4=['_waitForImageEditorComponent','_editingView','addedNodes','_errorView','14943880PbqUQS','focus','render','setTemplate','set','12399570McQxyW','uc-cloud-image-editor','7jFFprg','2921852UtEGwn','error','filter','_setView','9mpekgw','8312648QZSGbq','addEventListener','createCollection','3OQEPNZ','11922dzIrlh','toLowerCase','cancel','div','_loadingView','once','ck-uploadcare-form','uploading','add','ready','observe','detail','element','querySelector','addMany','_items','disconnect','ck-reset_all-excluded','clear','nodeName','_focusableView','apply','getFocusableElement','_addUploadcareImageEditorListeners','retry','status','target','length','change:status','fire','2142605BYdUvH','cdnUrl','_addErrorViewListeners','1036290WlTiWh'];_0x2ef4=function(){return _0x57ead4;};return _0x2ef4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b507=_0x44c0;(function(_0x4ad3ef,_0x4ba487){const _0x157274=_0x44c0,_0x12c745=_0x4ad3ef();while(!![]){try{const _0x56c051=-parseInt(_0x157274(0xab))/0x1+-parseInt(_0x157274(0xbc))/0x2*(-parseInt(_0x157274(0xb7))/0x3)+-parseInt(_0x157274(0xbf))/0x4+-parseInt(_0x157274(0xb3))/0x5+-parseInt(_0x157274(0xb9))/0x6*(parseInt(_0x157274(0xa5))/0x7)+parseInt(_0x157274(0xaf))/0x8+parseInt(_0x157274(0xc1))/0x9;if(_0x56c051===_0x4ba487)break;else _0x12c745['push'](_0x12c745['shift']());}catch(_0x5a4c6c){_0x12c745['push'](_0x12c745['shift']());}}}(_0x4bc0,0xcac65));import{Command as _0x26275e}from'ckeditor5/src/core.js';import{Dialog as _0x10b4d3}from'ckeditor5/src/ui.js';function _0x44c0(_0x45fcae,_0x584580){const _0x4bc0d9=_0x4bc0();return _0x44c0=function(_0x44c081,_0x21f2dc){_0x44c081=_0x44c081-0xa3;let _0x5cd74e=_0x4bc0d9[_0x44c081];return _0x5cd74e;},_0x44c0(_0x45fcae,_0x584580);}function _0x4bc0(){const _0x3e20b2=['13080177kfWXoC','plugins','imageEditController','3905335JnHPQH','refresh','unbind','isActive','imageBlock','set','5855ANBlOS','get','bind','element','3788488xetAKe','model','imageInline','editor','5847265NGlKpk','execute','getSelectedElement','document','2280021gDDwCG','_isEditable','6BLjGSy','uploadcare.allowExternalImagesEditing','requires','4tdAlKx','isEnabled','config','3532600orBAaR','selection'];_0x4bc0=function(){return _0x3e20b2;};return _0x4bc0();}import _0x45f3c8 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x514c94}from'../utils/editingutils.js';export default class J extends _0x26275e{[_0x13b507(0xa4)];static get[_0x13b507(0xbb)](){return[_0x10b4d3];}[_0x13b507(0xb8)];constructor(_0x29efe1){const _0x40b1d3=_0x13b507;super(_0x29efe1),this[_0x40b1d3(0xa4)]=void 0x0,this[_0x40b1d3(0xb8)]=_0x514c94(_0x29efe1[_0x40b1d3(0xbe)][_0x40b1d3(0xac)](_0x40b1d3(0xba))||[]),this[_0x40b1d3(0xaa)]({'isActive':!0x1});}[_0x13b507(0xa6)](){const _0x402dd8=_0x13b507,_0x127bb2=this[_0x402dd8(0xb2)][_0x402dd8(0xb0)][_0x402dd8(0xb6)][_0x402dd8(0xc0)][_0x402dd8(0xb5)]();this[_0x402dd8(0xbd)]=this[_0x402dd8(0xb8)](_0x127bb2);}[_0x13b507(0xb4)](){const _0x3c8d54=_0x13b507;this[_0x3c8d54(0xa4)]&&(this[_0x3c8d54(0xa7)](_0x3c8d54(0xa8)),this[_0x3c8d54(0xa4)]=void 0x0);const _0x545991=this[_0x3c8d54(0xb2)][_0x3c8d54(0xb0)][_0x3c8d54(0xb6)][_0x3c8d54(0xc0)][_0x3c8d54(0xb5)]();_0x545991&&(_0x545991['is'](_0x3c8d54(0xae),_0x3c8d54(0xa9))||_0x545991['is'](_0x3c8d54(0xae),_0x3c8d54(0xb1)))&&(this[_0x3c8d54(0xa4)]=new _0x45f3c8(this[_0x3c8d54(0xb2)],this[_0x3c8d54(0xb2)][_0x3c8d54(0xa3)][_0x3c8d54(0xac)](_0x10b4d3),_0x545991),this[_0x3c8d54(0xad)](_0x3c8d54(0xa8))['to'](this[_0x3c8d54(0xa4)],_0x3c8d54(0xa8)));}}
23
+ function _0x1c37(_0x2864b7,_0x52466a){const _0x3fa599=_0x3fa5();return _0x1c37=function(_0x1c3727,_0x3ec3ff){_0x1c3727=_0x1c3727-0x1bc;let _0x464dfd=_0x3fa599[_0x1c3727];return _0x464dfd;},_0x1c37(_0x2864b7,_0x52466a);}const _0x5ceb16=_0x1c37;(function(_0x42fa29,_0x40c857){const _0x560aec=_0x1c37,_0x4c1743=_0x42fa29();while(!![]){try{const _0x47406d=-parseInt(_0x560aec(0x1ce))/0x1*(-parseInt(_0x560aec(0x1cd))/0x2)+-parseInt(_0x560aec(0x1c1))/0x3+parseInt(_0x560aec(0x1d2))/0x4+parseInt(_0x560aec(0x1cf))/0x5*(-parseInt(_0x560aec(0x1c3))/0x6)+parseInt(_0x560aec(0x1bc))/0x7+-parseInt(_0x560aec(0x1d0))/0x8*(-parseInt(_0x560aec(0x1d5))/0x9)+parseInt(_0x560aec(0x1d9))/0xa;if(_0x47406d===_0x40c857)break;else _0x4c1743['push'](_0x4c1743['shift']());}catch(_0x48b4fe){_0x4c1743['push'](_0x4c1743['shift']());}}}(_0x3fa5,0xb45d7));import{Command as _0x4349b2}from'ckeditor5/src/core.js';import{Dialog as _0x184d08}from'ckeditor5/src/ui.js';function _0x3fa5(){const _0x50ea09=['plugins','imageBlock','1225644riCMmz','element','imageInline','selection','execute','3502590vHziJQ','_isEditable','149514cGcvQi','isActive','requires','bind','config','editor','isEnabled','document','uploadcare.allowExternalImagesEditing','imageEditController','1826QNQrzm','794KQcWcd','55GUIKBA','1845232cXreCZ','unbind','2730552FKvNAy','model','refresh','18JQkgSg','get','getSelectedElement','set','1364540YeWspC'];_0x3fa5=function(){return _0x50ea09;};return _0x3fa5();}import _0x4ae9ca from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4f4a1b}from'../utils/editingutils.js';export default class J extends _0x4349b2{[_0x5ceb16(0x1cc)];static get[_0x5ceb16(0x1c5)](){return[_0x184d08];}[_0x5ceb16(0x1c2)];constructor(_0x1712ee){const _0x27a12f=_0x5ceb16;super(_0x1712ee),this[_0x27a12f(0x1cc)]=void 0x0,this[_0x27a12f(0x1c2)]=_0x4f4a1b(_0x1712ee[_0x27a12f(0x1c7)][_0x27a12f(0x1d6)](_0x27a12f(0x1cb))||[]),this[_0x27a12f(0x1d8)]({'isActive':!0x1});}[_0x5ceb16(0x1d4)](){const _0x5c5532=_0x5ceb16,_0x715f60=this[_0x5c5532(0x1c8)][_0x5c5532(0x1d3)][_0x5c5532(0x1ca)][_0x5c5532(0x1bf)][_0x5c5532(0x1d7)]();this[_0x5c5532(0x1c9)]=this[_0x5c5532(0x1c2)](_0x715f60);}[_0x5ceb16(0x1c0)](){const _0x247d7d=_0x5ceb16;this[_0x247d7d(0x1cc)]&&(this[_0x247d7d(0x1d1)](_0x247d7d(0x1c4)),this[_0x247d7d(0x1cc)]=void 0x0);const _0x1b2787=this[_0x247d7d(0x1c8)][_0x247d7d(0x1d3)][_0x247d7d(0x1ca)][_0x247d7d(0x1bf)][_0x247d7d(0x1d7)]();_0x1b2787&&(_0x1b2787['is'](_0x247d7d(0x1bd),_0x247d7d(0x1db))||_0x1b2787['is'](_0x247d7d(0x1bd),_0x247d7d(0x1be)))&&(this[_0x247d7d(0x1cc)]=new _0x4ae9ca(this[_0x247d7d(0x1c8)],this[_0x247d7d(0x1c8)][_0x247d7d(0x1da)][_0x247d7d(0x1d6)](_0x184d08),_0x1b2787),this[_0x247d7d(0x1c6)](_0x247d7d(0x1c4))['to'](this[_0x247d7d(0x1cc)],_0x247d7d(0x1c4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x431003=_0x5ac5;(function(_0xda0ad6,_0x4b96d2){const _0x521d2c=_0x5ac5,_0x115734=_0xda0ad6();while(!![]){try{const _0x155b32=parseInt(_0x521d2c(0xfc))/0x1+parseInt(_0x521d2c(0xf6))/0x2+-parseInt(_0x521d2c(0xf0))/0x3+parseInt(_0x521d2c(0xef))/0x4*(parseInt(_0x521d2c(0xf4))/0x5)+parseInt(_0x521d2c(0xfb))/0x6*(-parseInt(_0x521d2c(0xf1))/0x7)+parseInt(_0x521d2c(0xf5))/0x8*(-parseInt(_0x521d2c(0xeb))/0x9)+parseInt(_0x521d2c(0xec))/0xa*(parseInt(_0x521d2c(0xfd))/0xb);if(_0x155b32===_0x4b96d2)break;else _0x115734['push'](_0x115734['shift']());}catch(_0x4e5717){_0x115734['push'](_0x115734['shift']());}}}(_0x164e,0x75258));import{Plugin as _0x3dd52d}from'ckeditor5/src/core.js';function _0x164e(){const _0x12210e=['55376YSOLSX','2171352AxMrLg','2976806OAfOGq','requires','pluginName','15VTskZr','32216MNugdB','1715138fUmjOd','commands','add','ImageUtils','isOfficialPlugin','12fJOlaJ','168313ftgvWe','11784135SCShou','UploadcareImageEditEditing','ImageEditing','init','isPremiumPlugin','189DmdrTq','10QkNHqU','uploadcareImageEdit','uploadcareImageReplace'];_0x164e=function(){return _0x12210e;};return _0x164e();}import{Notification as _0x4f1f0e}from'ckeditor5/src/ui.js';import _0x3ee105 from'./uploadcareimageeditcommand.js';import _0x27eed5 from'./uploadcareimagereplacecommand.js';function _0x5ac5(_0x33df54,_0xcd7ee2){const _0x164eb7=_0x164e();return _0x5ac5=function(_0x5ac59c,_0x5235b1){_0x5ac59c=_0x5ac59c-0xea;let _0x15ee3e=_0x164eb7[_0x5ac59c];return _0x15ee3e;},_0x5ac5(_0x33df54,_0xcd7ee2);}import _0x52d622 from'../uploadcareediting.js';export default class g extends _0x3dd52d{static get[_0x431003(0xf3)](){const _0x2dc285=_0x431003;return _0x2dc285(0xfe);}static get[_0x431003(0xf2)](){const _0x5b413e=_0x431003;return[_0x52d622,_0x4f1f0e,_0x5b413e(0xf9),_0x5b413e(0xff)];}static get[_0x431003(0xfa)](){return!0x0;}static get[_0x431003(0xea)](){return!0x0;}[_0x431003(0x100)](){const _0x18b556=_0x431003,{editor:_0x6a05d0}=this;_0x6a05d0[_0x18b556(0xf7)][_0x18b556(0xf8)](_0x18b556(0xed),new _0x3ee105(_0x6a05d0)),_0x6a05d0[_0x18b556(0xf7)][_0x18b556(0xf8)](_0x18b556(0xee),new _0x27eed5(_0x6a05d0));}}
23
+ const _0x44d0b6=_0x4a14;function _0x4a14(_0x5c7030,_0x251b8f){const _0x506b05=_0x506b();return _0x4a14=function(_0x4a1478,_0x10c811){_0x4a1478=_0x4a1478-0x1cc;let _0x55becf=_0x506b05[_0x4a1478];return _0x55becf;},_0x4a14(_0x5c7030,_0x251b8f);}(function(_0x2459ad,_0x4db2ce){const _0x232286=_0x4a14,_0x2d475a=_0x2459ad();while(!![]){try{const _0x22f0e7=-parseInt(_0x232286(0x1d2))/0x1+parseInt(_0x232286(0x1cd))/0x2*(parseInt(_0x232286(0x1d6))/0x3)+parseInt(_0x232286(0x1dc))/0x4+parseInt(_0x232286(0x1d8))/0x5*(-parseInt(_0x232286(0x1e0))/0x6)+-parseInt(_0x232286(0x1db))/0x7+-parseInt(_0x232286(0x1d3))/0x8+parseInt(_0x232286(0x1d1))/0x9;if(_0x22f0e7===_0x4db2ce)break;else _0x2d475a['push'](_0x2d475a['shift']());}catch(_0x3251e1){_0x2d475a['push'](_0x2d475a['shift']());}}}(_0x506b,0xb01fd));import{Plugin as _0x2aed5d}from'ckeditor5/src/core.js';function _0x506b(){const _0x28e4a5=['966XvHqVC','commands','184PiMoUT','isOfficialPlugin','add','init','13410783TaYHpN','973673rZozAn','6261536VJhcGV','pluginName','requires','32379qFSTnL','uploadcareImageEdit','755TeotcC','isPremiumPlugin','UploadcareImageEditEditing','4634903AEpfxI','2724668aVcxdt','ImageUtils','ImageEditing','uploadcareImageReplace'];_0x506b=function(){return _0x28e4a5;};return _0x506b();}import{Notification as _0x4cd6fa}from'ckeditor5/src/ui.js';import _0x3a93ce from'./uploadcareimageeditcommand.js';import _0x3a1a2d from'./uploadcareimagereplacecommand.js';import _0x2bc7ac from'../uploadcareediting.js';export default class g extends _0x2aed5d{static get[_0x44d0b6(0x1d4)](){const _0x5144c5=_0x44d0b6;return _0x5144c5(0x1da);}static get[_0x44d0b6(0x1d5)](){const _0x4e6036=_0x44d0b6;return[_0x2bc7ac,_0x4cd6fa,_0x4e6036(0x1dd),_0x4e6036(0x1de)];}static get[_0x44d0b6(0x1ce)](){return!0x0;}static get[_0x44d0b6(0x1d9)](){return!0x0;}[_0x44d0b6(0x1d0)](){const _0x434868=_0x44d0b6,{editor:_0x5c68d2}=this;_0x5c68d2[_0x434868(0x1cc)][_0x434868(0x1cf)](_0x434868(0x1d7),new _0x3a93ce(_0x5c68d2)),_0x5c68d2[_0x434868(0x1cc)][_0x434868(0x1cf)](_0x434868(0x1df),new _0x3a1a2d(_0x5c68d2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5db7de}from'ckeditor5/src/core.js';import{ButtonView as _0x137f51}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x50b3a1}from'ckeditor5/src/icons.js';import{createElement as _0x1f9d23}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x5db7de{['_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 _0x459adf=this['editor'];_0x459adf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x261762=>{const _0x17012a=_0x459adf['commands']['get']('uploadcareImageEdit'),_0xa7f9a1=new _0x137f51(_0x261762),t=_0x261762['t'];return _0xa7f9a1['set']({'icon':_0x50b3a1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa7f9a1['bind']('isEnabled')['to'](_0x17012a),_0xa7f9a1['bind']('isOn')['to'](_0x17012a,'isActive'),this['listenTo'](_0xa7f9a1,'execute',()=>{_0x459adf['execute']('uploadcareImageEdit'),_0x459adf['editing']['view']['focus']();}),_0xa7f9a1;}),this['_initConfig']();}['_initConfig'](){const _0x29bd7d=_0x1f9d23(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x29bd7d),this['listenTo'](this['editor'],'destroy',()=>{_0x29bd7d['remove']();});}}
23
+ import{Plugin as _0x425a30}from'ckeditor5/src/core.js';import{ButtonView as _0x1fc900}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbca93}from'ckeditor5/src/icons.js';import{createElement as _0x4cbae6}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x425a30{['_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 _0x1ce501=this['editor'];_0x1ce501['ui']['componentFactory']['add']('uploadcareImageEdit',_0x62c46d=>{const _0x2d4912=_0x1ce501['commands']['get']('uploadcareImageEdit'),_0x49b7e5=new _0x1fc900(_0x62c46d),t=_0x62c46d['t'];return _0x49b7e5['set']({'icon':_0xbca93,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x49b7e5['bind']('isEnabled')['to'](_0x2d4912),_0x49b7e5['bind']('isOn')['to'](_0x2d4912,'isActive'),this['listenTo'](_0x49b7e5,'execute',()=>{_0x1ce501['execute']('uploadcareImageEdit'),_0x1ce501['editing']['view']['focus']();}),_0x49b7e5;}),this['_initConfig']();}['_initConfig'](){const _0x11d908=_0x4cbae6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x11d908),this['listenTo'](this['editor'],'destroy',()=>{_0x11d908['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x26c8(){const _0x437707=['462891nKOqiN','983165vlmdDw','selection','imageInline','execute','1509424cjJFbt','609580OLZgJl','sizes','srcset','1027915Vtmkyc','element','getSelectedElement','change','3UTRpFi','editor','document','model','isEnabled','imageBlock','refresh','29454NtqrfP','removeAttribute','237742XQgLqv','setAttributes'];_0x26c8=function(){return _0x437707;};return _0x26c8();}const _0x2bda90=_0x2fe8;(function(_0x3692c2,_0x563296){const _0x1ec269=_0x2fe8,_0x11cafb=_0x3692c2();while(!![]){try{const _0x608680=-parseInt(_0x1ec269(0x1a5))/0x1*(parseInt(_0x1ec269(0x1ae))/0x2)+parseInt(_0x1ec269(0x1b0))/0x3+-parseInt(_0x1ec269(0x19e))/0x4+parseInt(_0x1ec269(0x1b1))/0x5+parseInt(_0x1ec269(0x1ac))/0x6+parseInt(_0x1ec269(0x1a1))/0x7+parseInt(_0x1ec269(0x19d))/0x8;if(_0x608680===_0x563296)break;else _0x11cafb['push'](_0x11cafb['shift']());}catch(_0x2adb59){_0x11cafb['push'](_0x11cafb['shift']());}}}(_0x26c8,0x2c852));import{Command as _0x4480dd}from'ckeditor5/src/core.js';function _0x2fe8(_0x4205cc,_0x1f3442){const _0x26c8f4=_0x26c8();return _0x2fe8=function(_0x2fe895,_0x78659c){_0x2fe895=_0x2fe895-0x19d;let _0xca4709=_0x26c8f4[_0x2fe895];return _0xca4709;},_0x2fe8(_0x4205cc,_0x1f3442);}export default class O extends _0x4480dd{[_0x2bda90(0x1ab)](){const _0x21dffd=_0x2bda90,_0x2d8e3c=this[_0x21dffd(0x1a6)][_0x21dffd(0x1a8)][_0x21dffd(0x1a7)][_0x21dffd(0x1b2)][_0x21dffd(0x1a3)]();this[_0x21dffd(0x1a9)]=Boolean(_0x2d8e3c&&(_0x2d8e3c['is'](_0x21dffd(0x1a2),_0x21dffd(0x1aa))||_0x2d8e3c['is'](_0x21dffd(0x1a2),_0x21dffd(0x1b3))));}[_0x2bda90(0x1b4)](_0x14c594){const _0x18f930=_0x2bda90,_0x175fbf=this[_0x18f930(0x1a6)][_0x18f930(0x1a8)][_0x18f930(0x1a7)][_0x18f930(0x1b2)][_0x18f930(0x1a3)]();this[_0x18f930(0x1a6)][_0x18f930(0x1a8)][_0x18f930(0x1a4)](_0x32b9ea=>{const _0x6346f7=_0x18f930;_0x32b9ea[_0x6346f7(0x1af)](_0x14c594,_0x175fbf),_0x32b9ea[_0x6346f7(0x1ad)](_0x6346f7(0x1a0),_0x175fbf),_0x32b9ea[_0x6346f7(0x1ad)](_0x6346f7(0x19f),_0x175fbf);});}}
23
+ const _0x5868d4=_0x3087;(function(_0x2aaa64,_0x42d6d5){const _0xcbed88=_0x3087,_0x243a48=_0x2aaa64();while(!![]){try{const _0x5656dd=parseInt(_0xcbed88(0x124))/0x1+parseInt(_0xcbed88(0x121))/0x2+parseInt(_0xcbed88(0x127))/0x3*(parseInt(_0xcbed88(0x132))/0x4)+parseInt(_0xcbed88(0x11f))/0x5+-parseInt(_0xcbed88(0x135))/0x6*(-parseInt(_0xcbed88(0x11c))/0x7)+-parseInt(_0xcbed88(0x126))/0x8+-parseInt(_0xcbed88(0x12e))/0x9*(parseInt(_0xcbed88(0x129))/0xa);if(_0x5656dd===_0x42d6d5)break;else _0x243a48['push'](_0x243a48['shift']());}catch(_0x444532){_0x243a48['push'](_0x243a48['shift']());}}}(_0x1bda,0x9dd2f));function _0x1bda(){const _0x55aec1=['isEnabled','52398mxhhxi','setAttributes','model','refresh','4iPWVBk','imageBlock','change','18OIpHuo','1600277pldVvx','srcset','editor','6029245gArCUn','document','897822YywdwF','execute','selection','665664wpUBdD','imageInline','2905760HVMNWG','1538076TjuWzx','removeAttribute','4310mRYtSu','sizes','element','getSelectedElement'];_0x1bda=function(){return _0x55aec1;};return _0x1bda();}import{Command as _0x35c228}from'ckeditor5/src/core.js';function _0x3087(_0x2b9450,_0x594904){const _0x1bda18=_0x1bda();return _0x3087=function(_0x3087ff,_0xe01255){_0x3087ff=_0x3087ff-0x11c;let _0x25c8d3=_0x1bda18[_0x3087ff];return _0x25c8d3;},_0x3087(_0x2b9450,_0x594904);}export default class O extends _0x35c228{[_0x5868d4(0x131)](){const _0xe6f052=_0x5868d4,_0x3e1054=this[_0xe6f052(0x11e)][_0xe6f052(0x130)][_0xe6f052(0x120)][_0xe6f052(0x123)][_0xe6f052(0x12c)]();this[_0xe6f052(0x12d)]=Boolean(_0x3e1054&&(_0x3e1054['is'](_0xe6f052(0x12b),_0xe6f052(0x133))||_0x3e1054['is'](_0xe6f052(0x12b),_0xe6f052(0x125))));}[_0x5868d4(0x122)](_0x481565){const _0x3d3014=_0x5868d4,_0x2a5668=this[_0x3d3014(0x11e)][_0x3d3014(0x130)][_0x3d3014(0x120)][_0x3d3014(0x123)][_0x3d3014(0x12c)]();this[_0x3d3014(0x11e)][_0x3d3014(0x130)][_0x3d3014(0x134)](_0x56fc65=>{const _0x56f7d4=_0x3d3014;_0x56fc65[_0x56f7d4(0x12f)](_0x481565,_0x2a5668),_0x56fc65[_0x56f7d4(0x128)](_0x56f7d4(0x11d),_0x2a5668),_0x56fc65[_0x56f7d4(0x128)](_0x56f7d4(0x12a),_0x2a5668);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a39(){var _0x353856=['14BGLzwA','requires','2299220ZSnIwk','7677126NpSkvM','pluginName','UploadcareImageEdit','285293gYfUaI','627219wEDoBW','3421048KICtYx','1052772rjUEYk','6HrnNSQ','2211290pLBdCd','isOfficialPlugin','isPremiumPlugin'];_0x4a39=function(){return _0x353856;};return _0x4a39();}var _0x42a02d=_0x4ff5;(function(_0x1628cd,_0x154007){var _0x2b3ffb=_0x4ff5,_0x1ed979=_0x1628cd();while(!![]){try{var _0x43d886=parseInt(_0x2b3ffb(0x17c))/0x1+parseInt(_0x2b3ffb(0x180))/0x2*(-parseInt(_0x2b3ffb(0x17d))/0x3)+-parseInt(_0x2b3ffb(0x178))/0x4+parseInt(_0x2b3ffb(0x181))/0x5+-parseInt(_0x2b3ffb(0x17f))/0x6*(parseInt(_0x2b3ffb(0x176))/0x7)+parseInt(_0x2b3ffb(0x17e))/0x8+parseInt(_0x2b3ffb(0x179))/0x9;if(_0x43d886===_0x154007)break;else _0x1ed979['push'](_0x1ed979['shift']());}catch(_0x1f9dcf){_0x1ed979['push'](_0x1ed979['shift']());}}}(_0x4a39,0x6f250));import{Plugin as _0x532a35}from'ckeditor5/src/core.js';import _0x3cff79 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x55db71 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4ff5(_0x2fe7c0,_0x12cdfa){var _0x4a39ea=_0x4a39();return _0x4ff5=function(_0x4ff5a9,_0x273be1){_0x4ff5a9=_0x4ff5a9-0x174;var _0x495f8c=_0x4a39ea[_0x4ff5a9];return _0x495f8c;},_0x4ff5(_0x2fe7c0,_0x12cdfa);}export default class P extends _0x532a35{static get[_0x42a02d(0x17a)](){var _0x15927d=_0x42a02d;return _0x15927d(0x17b);}static get[_0x42a02d(0x177)](){return[_0x3cff79,_0x55db71];}static get[_0x42a02d(0x174)](){return!0x0;}static get[_0x42a02d(0x175)](){return!0x0;}}
23
+ var _0x5e85ba=_0x2ff1;function _0x3243(){var _0x404f8b=['pluginName','1716888stAHqI','requires','12110133oWphrA','2mXmpwN','5974638oWYugm','4611360AchmMF','UploadcareImageEdit','1845366gajmjK','40168816tWUeDR','isOfficialPlugin','isPremiumPlugin','656195nUjjwC'];_0x3243=function(){return _0x404f8b;};return _0x3243();}(function(_0x4c83fc,_0x11f50c){var _0x4bcaf9=_0x2ff1,_0x4e35ba=_0x4c83fc();while(!![]){try{var _0x238675=parseInt(_0x4bcaf9(0x105))/0x1*(-parseInt(_0x4bcaf9(0x10a))/0x2)+parseInt(_0x4bcaf9(0x10e))/0x3+-parseInt(_0x4bcaf9(0x107))/0x4+-parseInt(_0x4bcaf9(0x10c))/0x5+-parseInt(_0x4bcaf9(0x10b))/0x6+-parseInt(_0x4bcaf9(0x109))/0x7+parseInt(_0x4bcaf9(0x10f))/0x8;if(_0x238675===_0x11f50c)break;else _0x4e35ba['push'](_0x4e35ba['shift']());}catch(_0x216060){_0x4e35ba['push'](_0x4e35ba['shift']());}}}(_0x3243,0xdc657));import{Plugin as _0x2b3dc6}from'ckeditor5/src/core.js';import _0x4e07ed from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x252869 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2ff1(_0x34be15,_0x1e4a2b){var _0x32438a=_0x3243();return _0x2ff1=function(_0x2ff110,_0x4e59c1){_0x2ff110=_0x2ff110-0x104;var _0x4113f5=_0x32438a[_0x2ff110];return _0x4113f5;},_0x2ff1(_0x34be15,_0x1e4a2b);}export default class P extends _0x2b3dc6{static get[_0x5e85ba(0x106)](){var _0x5a20df=_0x5e85ba;return _0x5a20df(0x10d);}static get[_0x5e85ba(0x108)](){return[_0x4e07ed,_0x252869];}static get[_0x5e85ba(0x110)](){return!0x0;}static get[_0x5e85ba(0x104)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x463f11=_0xae7c;(function(_0x126712,_0x216548){const _0x2fbbfe=_0xae7c,_0x23aa38=_0x126712();while(!![]){try{const _0x888e5e=-parseInt(_0x2fbbfe(0x1ac))/0x1*(-parseInt(_0x2fbbfe(0x1b0))/0x2)+parseInt(_0x2fbbfe(0x1c3))/0x3+parseInt(_0x2fbbfe(0x1e2))/0x4*(parseInt(_0x2fbbfe(0x1e7))/0x5)+parseInt(_0x2fbbfe(0x1d9))/0x6*(-parseInt(_0x2fbbfe(0x1ea))/0x7)+-parseInt(_0x2fbbfe(0x1a8))/0x8+parseInt(_0x2fbbfe(0x1ed))/0x9*(-parseInt(_0x2fbbfe(0x1af))/0xa)+parseInt(_0x2fbbfe(0x1d7))/0xb;if(_0x888e5e===_0x216548)break;else _0x23aa38['push'](_0x23aa38['shift']());}catch(_0x14e5ef){_0x23aa38['push'](_0x23aa38['shift']());}}}(_0x4882,0x9dd92));import{Plugin as _0x3f93a9}from'ckeditor5/src/core.js';import{IconDropbox as _0x349351,IconFacebook as _0x31370e,IconGoogleDrive as _0x15d31b,IconGooglePhotos as _0x22fb32,IconUploadcareImageUpload as _0x489579,IconUploadcareLink as _0x8d023c,IconOneDrive as _0x3adfe7}from'ckeditor5/src/icons.js';import{ButtonView as _0x26fb81,MenuBarMenuListItemButtonView as _0x37b573}from'ckeditor5/src/ui.js';function _0x4882(){const _0x25bb6c=['_normalizeConfigSourceList','_licenseKeyCheckInterval','text','852632NgnMWF','Insert','678eJayXq','config','Local','uploadcareLicenseKeyExpired','isImageSelected','Uploadcare','withText','GPhotos','trialLimit','4tycoGf','uploadcareLicenseKeyUsageLimit','Facebook','uploadcareLicenseKeyValid','isPremiumPlugin','1943365JtNndn','_showLicenseError','afterInit','13433hQSwkA','isOfficialPlugin','featureNotAllowed','1773aEBeKt','GDrive','pluginName','Replace','tooltip','isEnabled','_getIntegrationKey','_createToolbarButton','map','registerIntegration','uploadcareLicenseKeyInvalid','icon','commands','2621576PlciEW','uploadcare.uploader.sourceList','type','usageLimit','841AaUPMj','licenseKey','init','50550fHKDCR','2876IxFDfx','UploadcareUI','uploadcareLicenseKeyNotAllowed','url','destroy','_createButton','shortText','entries','reduce','label','push','Dropbox','upload','execute','assetManager','has','_createMenuBarButtons','editor','plugins','1534146UhhntM','OneDrive','get','uploadcareLicenseKeyEvaluationLimit','invalid','URL','uploadcareLicenseKeyDomainLimit','uploadcare','locale','bind','expired','forEach','ImageInsertUI','evaluationLimit','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','domainLimit'];_0x4882=function(){return _0x25bb6c;};return _0x4882();}import{UploadcareSource as _0x4d4575}from'./uploadcareconfig.js';import{getTranslation as _0xfc8ebc}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0xae7c(_0x30da9f,_0x2a5f31){const _0x4882c5=_0x4882();return _0xae7c=function(_0xae7c01,_0x3a7605){_0xae7c01=_0xae7c01-0x1a6;let _0x2b767d=_0x4882c5[_0xae7c01];return _0x2b767d;},_0xae7c(_0x30da9f,_0x2a5f31);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3f93a9{[_0x463f11(0x1ad)];[_0x463f11(0x1d5)];static get[_0x463f11(0x1ef)](){const _0x132173=_0x463f11;return _0x132173(0x1b1);}static get[_0x463f11(0x1eb)](){return!0x0;}static get[_0x463f11(0x1e6)](){return!0x0;}[_0x463f11(0x1ae)](){const _0x48c6b0=_0x463f11;this[_0x48c6b0(0x1ad)]=this[_0x48c6b0(0x1c1)][_0x48c6b0(0x1da)][_0x48c6b0(0x1c5)](_0x48c6b0(0x1ad));const _0x59ba11=this[_0x48c6b0(0x1c1)];this[_0x48c6b0(0x1d5)]=setInterval(()=>{const _0x1016d9=_0x48c6b0;let _0x54b72e;for(const _0xa9f437 in _0x59ba11){const _0x133c1e=_0xa9f437,_0x252908=_0x59ba11[_0x133c1e];if(_0x1016d9(0x1e5)==_0x252908||_0x1016d9(0x1f7)==_0x252908||_0x1016d9(0x1dc)==_0x252908||_0x1016d9(0x1c9)==_0x252908||_0x1016d9(0x1b2)==_0x252908||_0x1016d9(0x1c6)==_0x252908||_0x1016d9(0x1d2)==_0x252908||_0x1016d9(0x1e3)==_0x252908){delete _0x59ba11[_0x133c1e],_0x54b72e=_0x252908,clearInterval(this[_0x1016d9(0x1d5)]),this[_0x1016d9(0x1d5)]=void 0x0;break;}}_0x1016d9(0x1f7)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1c7)),_0x1016d9(0x1dc)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1cd)),_0x1016d9(0x1c9)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1d3)),_0x1016d9(0x1b2)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1ec),_0x1016d9(0x1de)),_0x1016d9(0x1c6)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1d0)),_0x1016d9(0x1d2)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1e1)),_0x1016d9(0x1e3)==_0x54b72e&&_0x59ba11[_0x1016d9(0x1e8)](_0x1016d9(0x1ab));},0x3e8);}[_0x463f11(0x1e9)](){const _0x1b7e6c=_0x463f11,{editor:_0x36cf4c}=this,_0x5a785b=_0x36cf4c[_0x1b7e6c(0x1a7)][_0x1b7e6c(0x1c5)](_0x1b7e6c(0x1ca));if(!_0x5a785b)return;const _0x276055=this[_0x1b7e6c(0x1d4)](_0x36cf4c[_0x1b7e6c(0x1da)][_0x1b7e6c(0x1c5)](_0x1b7e6c(0x1a9)))[_0x1b7e6c(0x1b8)]((_0x4e55d5,_0x53d7a0)=>{const _0x287e7d=_0x1b7e6c,_0x545b84=this[_0x287e7d(0x1f3)](_0x53d7a0[_0x287e7d(0x1aa)]);return _0x4e55d5[_0x545b84]||(_0x4e55d5[_0x545b84]=[]),_0x4e55d5[_0x545b84][_0x287e7d(0x1ba)](_0x53d7a0),_0x4e55d5;},{});_0x36cf4c[_0x1b7e6c(0x1c2)][_0x1b7e6c(0x1bf)](_0x1b7e6c(0x1cf))&&_0x36cf4c[_0x1b7e6c(0x1a7)][_0x1b7e6c(0x1c5)](_0x1b7e6c(0x1ca))&&Object[_0x1b7e6c(0x1b7)](_0x276055)[_0x1b7e6c(0x1ce)](([_0x3e95e4,_0x47c28b])=>{const _0x14544b=_0x1b7e6c;_0x36cf4c[_0x14544b(0x1c2)][_0x14544b(0x1c5)](_0x14544b(0x1cf))[_0x14544b(0x1f6)]({'name':_0x3e95e4,'observable':()=>_0x5a785b,'buttonViewCreator':()=>this[_0x14544b(0x1f4)](_0x47c28b),'formViewCreator':()=>this[_0x14544b(0x1d1)](_0x47c28b),'menuBarButtonViewCreator':()=>this[_0x14544b(0x1c0)](_0x47c28b),'override':_0x14544b(0x1be)!==_0x3e95e4});});}[_0x463f11(0x1b4)](){const _0x3ef45a=_0x463f11;super[_0x3ef45a(0x1b4)](),this[_0x3ef45a(0x1d5)]&&clearInterval(this[_0x3ef45a(0x1d5)]);}[_0x463f11(0x1d4)](_0x32cfd6){const _0x1d6578=_0x463f11,{locale:_0x26acc2}=this[_0x1d6578(0x1c1)];return _0x32cfd6[_0x1d6578(0x1f5)](_0x579ed4=>{const _0x329b36=_0x1d6578,_0x520556=_0xfc8ebc(_0x26acc2,_0x579ed4,_0x329b36(0x1d8));switch(_0x579ed4){case _0x4d4575[_0x329b36(0x1db)]:return{'icon':_0x489579,'type':_0x4d4575[_0x329b36(0x1db)],..._0x520556};case _0x4d4575[_0x329b36(0x1c8)]:return{'icon':_0x8d023c,'type':_0x4d4575[_0x329b36(0x1c8)],..._0x520556};case _0x4d4575[_0x329b36(0x1bb)]:return{'icon':_0x349351,'type':_0x4d4575[_0x329b36(0x1bb)],..._0x520556};case _0x4d4575[_0x329b36(0x1e4)]:return{'icon':_0x31370e,'type':_0x4d4575[_0x329b36(0x1e4)],..._0x520556};case _0x4d4575[_0x329b36(0x1ee)]:return{'icon':_0x15d31b,'type':_0x4d4575[_0x329b36(0x1ee)],..._0x520556};case _0x4d4575[_0x329b36(0x1e0)]:return{'icon':_0x22fb32,'type':_0x4d4575[_0x329b36(0x1e0)],..._0x520556};case _0x4d4575[_0x329b36(0x1c4)]:return{'icon':_0x3adfe7,'type':_0x4d4575[_0x329b36(0x1c4)],..._0x520556};}});}[_0x463f11(0x1f3)](_0x5b4373){const _0x348490=_0x463f11;switch(_0x5b4373){case _0x4d4575[_0x348490(0x1db)]:return _0x348490(0x1bc);case _0x4d4575[_0x348490(0x1c8)]:return _0x348490(0x1b3);default:return _0x348490(0x1be);}}[_0x463f11(0x1b5)](_0x2c6b78,_0x260dd2){const _0x5a6bca=_0x463f11,_0x5d7d7c=this[_0x5a6bca(0x1c1)],_0x15f4e9=new _0x2c6b78(_0x5d7d7c[_0x5a6bca(0x1cb)]),_0x59cfe1=_0x5d7d7c[_0x5a6bca(0x1a7)][_0x5a6bca(0x1c5)](_0x5a6bca(0x1ca));return _0x15f4e9[_0x5a6bca(0x1cc)](_0x5a6bca(0x1f2))['to'](_0x59cfe1),_0x15f4e9['on'](_0x5a6bca(0x1bd),()=>{const _0x194e01=_0x5a6bca;_0x59cfe1[_0x194e01(0x1bd)](_0x260dd2);}),_0x15f4e9;}[_0x463f11(0x1f4)](_0x2d653f){const _0x58b546=_0x463f11,{locale:_0x16763c}=this[_0x58b546(0x1c1)],_0x236777=this[_0x58b546(0x1c1)][_0x58b546(0x1c2)][_0x58b546(0x1c5)](_0x58b546(0x1cf)),_0x29041b=_0x2d653f[0x0],_0x1089e0=this[_0x58b546(0x1b5)](_0x26fb81,_0x29041b[_0x58b546(0x1aa)]);return _0x1089e0[_0x58b546(0x1a6)]=_0x29041b[_0x58b546(0x1a6)],_0x1089e0[_0x58b546(0x1cc)](_0x58b546(0x1b9))['to'](_0x236777,_0x58b546(0x1dd),_0x5395e3=>_0xfc8ebc(_0x16763c,_0x29041b[_0x58b546(0x1aa)],_0x5395e3?_0x58b546(0x1f0):_0x58b546(0x1d8))[_0x58b546(0x1d6)]),_0x1089e0[_0x58b546(0x1f1)]=!0x0,_0x1089e0;}[_0x463f11(0x1d1)](_0x9c5d5c){const _0x591547=_0x463f11,{locale:_0x1052b9}=this[_0x591547(0x1c1)],_0x59f5b8=this[_0x591547(0x1c1)][_0x591547(0x1c2)][_0x591547(0x1c5)](_0x591547(0x1cf));return _0x9c5d5c[_0x591547(0x1f5)](_0x4394e0=>{const _0x398f7c=_0x591547,_0x52b8d0=this[_0x398f7c(0x1b5)](_0x26fb81,_0x4394e0[_0x398f7c(0x1aa)]);return _0x52b8d0[_0x398f7c(0x1df)]=!0x0,_0x52b8d0[_0x398f7c(0x1a6)]=_0x4394e0[_0x398f7c(0x1a6)],_0x52b8d0[_0x398f7c(0x1cc)](_0x398f7c(0x1b9))['to'](_0x59f5b8,_0x398f7c(0x1dd),_0x53e8e9=>_0xfc8ebc(_0x1052b9,_0x4394e0[_0x398f7c(0x1aa)],_0x53e8e9?_0x398f7c(0x1f0):_0x398f7c(0x1d8))[_0x398f7c(0x1d6)]),_0x52b8d0;});}[_0x463f11(0x1c0)](_0x45e833){const _0x210036=_0x463f11;return _0x45e833[_0x210036(0x1f5)](_0x527340=>{const _0x2970a4=_0x210036,_0x4c04d6=this[_0x2970a4(0x1b5)](_0x37b573,_0x527340[_0x2970a4(0x1aa)]);return _0x4c04d6[_0x2970a4(0x1a6)]=_0x527340[_0x2970a4(0x1a6)],_0x4c04d6[_0x2970a4(0x1b9)]=_0x527340[_0x2970a4(0x1b6)],_0x4c04d6;});}}
23
+ const _0x411460=_0x440f;(function(_0x5df1f4,_0x52d50a){const _0x562437=_0x440f,_0x77e487=_0x5df1f4();while(!![]){try{const _0x3dc16d=parseInt(_0x562437(0x101))/0x1*(-parseInt(_0x562437(0xea))/0x2)+parseInt(_0x562437(0xe7))/0x3*(parseInt(_0x562437(0xed))/0x4)+-parseInt(_0x562437(0xc6))/0x5*(-parseInt(_0x562437(0xe3))/0x6)+parseInt(_0x562437(0xf0))/0x7+parseInt(_0x562437(0xdb))/0x8*(parseInt(_0x562437(0xe6))/0x9)+parseInt(_0x562437(0xb7))/0xa+-parseInt(_0x562437(0xdd))/0xb;if(_0x3dc16d===_0x52d50a)break;else _0x77e487['push'](_0x77e487['shift']());}catch(_0x3e6eb9){_0x77e487['push'](_0x77e487['shift']());}}}(_0x40d8,0x47563));import{Plugin as _0x9772c4}from'ckeditor5/src/core.js';import{IconDropbox as _0x404b51,IconFacebook as _0x4064e8,IconGoogleDrive as _0x4a0de1,IconGooglePhotos as _0x549074,IconUploadcareImageUpload as _0x8e551c,IconUploadcareLink as _0x4b7a3d,IconOneDrive as _0x278e2d}from'ckeditor5/src/icons.js';import{ButtonView as _0x11e0ec,MenuBarMenuListItemButtonView as _0x1d8220}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5eb22b}from'./uploadcareconfig.js';import{getTranslation as _0x2fe883}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x440f(_0x5b7693,_0x36f940){const _0x40d84c=_0x40d8();return _0x440f=function(_0x440fd1,_0x304c07){_0x440fd1=_0x440fd1-0xb1;let _0x30aee8=_0x40d84c[_0x440fd1];return _0x30aee8;},_0x440f(_0x5b7693,_0x36f940);}function _0x40d8(){const _0x3a4d2a=['trialLimit','Facebook','URL','uploadcareLicenseKeyEvaluationLimit','ImageInsertUI','pluginName','GPhotos','OneDrive','uploadcareLicenseKeyExpired','get','config','type','afterInit','url','GDrive','16tMhUrL','icon','3564704XDaeFr','_createDropdownButtons','evaluationLimit','Uploadcare','isEnabled','registerIntegration','5298ICOOHX','assetManager','uploadcareLicenseKeyUsageLimit','161307TReuMH','3ZSDDxn','licenseKey','map','2NKxSek','expired','forEach','710592tfULAV','init','_createToolbarButton','1124690HDQdAG','UploadcareUI','execute','uploadcareLicenseKeyInvalid','plugins','locale','isImageSelected','uploadcare','uploadcare.uploader.sourceList','_licenseKeyCheckInterval','push','Dropbox','shortText','_showLicenseError','Replace','reduce','isPremiumPlugin','363962IqDvEf','_createMenuBarButtons','commands','has','_getIntegrationKey','destroy','usageLimit','withText','4956820vdTqzp','Local','invalid','bind','editor','_createButton','domainLimit','isOfficialPlugin','Insert','label','featureNotAllowed','upload','text','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','625XbhcoM','entries','tooltip','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyTrialLimit'];_0x40d8=function(){return _0x3a4d2a;};return _0x40d8();}import'../theme/uploadcareimageedit.css';export default class e extends _0x9772c4{[_0x411460(0xe8)];[_0x411460(0xf9)];static get[_0x411460(0xd1)](){const _0x58161c=_0x411460;return _0x58161c(0xf1);}static get[_0x411460(0xbe)](){return!0x0;}static get[_0x411460(0x100)](){return!0x0;}[_0x411460(0xee)](){const _0x4a7419=_0x411460;this[_0x4a7419(0xe8)]=this[_0x4a7419(0xbb)][_0x4a7419(0xd6)][_0x4a7419(0xd5)](_0x4a7419(0xe8));const _0x566b03=this[_0x4a7419(0xbb)];this[_0x4a7419(0xf9)]=setInterval(()=>{const _0x5db54d=_0x4a7419;let _0x9b0424;for(const _0x473781 in _0x566b03){const _0x5853ad=_0x473781,_0x34e9bc=_0x566b03[_0x5853ad];if(_0x5db54d(0xca)==_0x34e9bc||_0x5db54d(0xf3)==_0x34e9bc||_0x5db54d(0xd4)==_0x34e9bc||_0x5db54d(0xc9)==_0x34e9bc||_0x5db54d(0xc5)==_0x34e9bc||_0x5db54d(0xcf)==_0x34e9bc||_0x5db54d(0xcb)==_0x34e9bc||_0x5db54d(0xe5)==_0x34e9bc){delete _0x566b03[_0x5853ad],_0x9b0424=_0x34e9bc,clearInterval(this[_0x5db54d(0xf9)]),this[_0x5db54d(0xf9)]=void 0x0;break;}}_0x5db54d(0xf3)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xb9)),_0x5db54d(0xd4)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xeb)),_0x5db54d(0xc9)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xbd)),_0x5db54d(0xc5)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xc1),_0x5db54d(0xe0)),_0x5db54d(0xcf)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xdf)),_0x5db54d(0xcb)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xcc)),_0x5db54d(0xe5)==_0x9b0424&&_0x566b03[_0x5db54d(0xfd)](_0x5db54d(0xb5));},0x3e8);}[_0x411460(0xd8)](){const _0x3636c2=_0x411460,{editor:_0x5c1517}=this,_0x2f5f6b=_0x5c1517[_0x3636c2(0xb1)][_0x3636c2(0xd5)](_0x3636c2(0xf7));if(!_0x2f5f6b)return;const _0x86b2ab=this[_0x3636c2(0xc4)](_0x5c1517[_0x3636c2(0xd6)][_0x3636c2(0xd5)](_0x3636c2(0xf8)))[_0x3636c2(0xff)]((_0x4ad650,_0x2f812e)=>{const _0x4d6b14=_0x3636c2,_0x4e7c15=this[_0x4d6b14(0xb3)](_0x2f812e[_0x4d6b14(0xd7)]);return _0x4ad650[_0x4e7c15]||(_0x4ad650[_0x4e7c15]=[]),_0x4ad650[_0x4e7c15][_0x4d6b14(0xfa)](_0x2f812e),_0x4ad650;},{});_0x5c1517[_0x3636c2(0xf4)][_0x3636c2(0xb2)](_0x3636c2(0xd0))&&_0x5c1517[_0x3636c2(0xb1)][_0x3636c2(0xd5)](_0x3636c2(0xf7))&&Object[_0x3636c2(0xc7)](_0x86b2ab)[_0x3636c2(0xec)](([_0x252c96,_0x2e7371])=>{const _0x10a7db=_0x3636c2;_0x5c1517[_0x10a7db(0xf4)][_0x10a7db(0xd5)](_0x10a7db(0xd0))[_0x10a7db(0xe2)]({'name':_0x252c96,'observable':()=>_0x2f5f6b,'buttonViewCreator':()=>this[_0x10a7db(0xef)](_0x2e7371),'formViewCreator':()=>this[_0x10a7db(0xde)](_0x2e7371),'menuBarButtonViewCreator':()=>this[_0x10a7db(0x102)](_0x2e7371),'override':_0x10a7db(0xe4)!==_0x252c96});});}[_0x411460(0xb4)](){const _0x22b6b1=_0x411460;super[_0x22b6b1(0xb4)](),this[_0x22b6b1(0xf9)]&&clearInterval(this[_0x22b6b1(0xf9)]);}[_0x411460(0xc4)](_0x390ac1){const _0x2ef49b=_0x411460,{locale:_0x2b2c54}=this[_0x2ef49b(0xbb)];return _0x390ac1[_0x2ef49b(0xe9)](_0x3ea823=>{const _0xafe68e=_0x2ef49b,_0x104aed=_0x2fe883(_0x2b2c54,_0x3ea823,_0xafe68e(0xbf));switch(_0x3ea823){case _0x5eb22b[_0xafe68e(0xb8)]:return{'icon':_0x8e551c,'type':_0x5eb22b[_0xafe68e(0xb8)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xce)]:return{'icon':_0x4b7a3d,'type':_0x5eb22b[_0xafe68e(0xce)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xfb)]:return{'icon':_0x404b51,'type':_0x5eb22b[_0xafe68e(0xfb)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xcd)]:return{'icon':_0x4064e8,'type':_0x5eb22b[_0xafe68e(0xcd)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xda)]:return{'icon':_0x4a0de1,'type':_0x5eb22b[_0xafe68e(0xda)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xd2)]:return{'icon':_0x549074,'type':_0x5eb22b[_0xafe68e(0xd2)],..._0x104aed};case _0x5eb22b[_0xafe68e(0xd3)]:return{'icon':_0x278e2d,'type':_0x5eb22b[_0xafe68e(0xd3)],..._0x104aed};}});}[_0x411460(0xb3)](_0x1f0442){const _0x221c10=_0x411460;switch(_0x1f0442){case _0x5eb22b[_0x221c10(0xb8)]:return _0x221c10(0xc2);case _0x5eb22b[_0x221c10(0xce)]:return _0x221c10(0xd9);default:return _0x221c10(0xe4);}}[_0x411460(0xbc)](_0x5b778e,_0x36cb03){const _0x38ea8a=_0x411460,_0xcb6678=this[_0x38ea8a(0xbb)],_0x3a3fbd=new _0x5b778e(_0xcb6678[_0x38ea8a(0xf5)]),_0x4b44d3=_0xcb6678[_0x38ea8a(0xb1)][_0x38ea8a(0xd5)](_0x38ea8a(0xf7));return _0x3a3fbd[_0x38ea8a(0xba)](_0x38ea8a(0xe1))['to'](_0x4b44d3),_0x3a3fbd['on'](_0x38ea8a(0xf2),()=>{const _0x48602e=_0x38ea8a;_0x4b44d3[_0x48602e(0xf2)](_0x36cb03);}),_0x3a3fbd;}[_0x411460(0xef)](_0x8cc764){const _0x56f775=_0x411460,{locale:_0x120083}=this[_0x56f775(0xbb)],_0x2b6dcb=this[_0x56f775(0xbb)][_0x56f775(0xf4)][_0x56f775(0xd5)](_0x56f775(0xd0)),_0x2288da=_0x8cc764[0x0],_0x580a92=this[_0x56f775(0xbc)](_0x11e0ec,_0x2288da[_0x56f775(0xd7)]);return _0x580a92[_0x56f775(0xdc)]=_0x2288da[_0x56f775(0xdc)],_0x580a92[_0x56f775(0xba)](_0x56f775(0xc0))['to'](_0x2b6dcb,_0x56f775(0xf6),_0x401a8c=>_0x2fe883(_0x120083,_0x2288da[_0x56f775(0xd7)],_0x401a8c?_0x56f775(0xfe):_0x56f775(0xbf))[_0x56f775(0xc3)]),_0x580a92[_0x56f775(0xc8)]=!0x0,_0x580a92;}[_0x411460(0xde)](_0x52c849){const _0xbc144a=_0x411460,{locale:_0x2a1945}=this[_0xbc144a(0xbb)],_0x1c780e=this[_0xbc144a(0xbb)][_0xbc144a(0xf4)][_0xbc144a(0xd5)](_0xbc144a(0xd0));return _0x52c849[_0xbc144a(0xe9)](_0x5810e4=>{const _0x1be5d1=_0xbc144a,_0x5c15eb=this[_0x1be5d1(0xbc)](_0x11e0ec,_0x5810e4[_0x1be5d1(0xd7)]);return _0x5c15eb[_0x1be5d1(0xb6)]=!0x0,_0x5c15eb[_0x1be5d1(0xdc)]=_0x5810e4[_0x1be5d1(0xdc)],_0x5c15eb[_0x1be5d1(0xba)](_0x1be5d1(0xc0))['to'](_0x1c780e,_0x1be5d1(0xf6),_0xb020fa=>_0x2fe883(_0x2a1945,_0x5810e4[_0x1be5d1(0xd7)],_0xb020fa?_0x1be5d1(0xfe):_0x1be5d1(0xbf))[_0x1be5d1(0xc3)]),_0x5c15eb;});}[_0x411460(0x102)](_0x4994ea){const _0x5c6bc7=_0x411460;return _0x4994ea[_0x5c6bc7(0xe9)](_0x1ff011=>{const _0x6faa3e=_0x5c6bc7,_0x35dc6f=this[_0x6faa3e(0xbc)](_0x1d8220,_0x1ff011[_0x6faa3e(0xd7)]);return _0x35dc6f[_0x6faa3e(0xdc)]=_0x1ff011[_0x6faa3e(0xdc)],_0x35dc6f[_0x6faa3e(0xc0)]=_0x1ff011[_0x6faa3e(0xfc)],_0x35dc6f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x31df86}from'ckeditor5/src/core.js';import{FileRepository as _0x47d3a4}from'ckeditor5/src/upload.js';import _0x3e4416 from'./uploadcareediting.js';import _0x22f3c3 from'./utils/uploadutils.js';import{getImageUrls as _0x47dd17}from'./utils/editingutils.js';export default class p extends _0x31df86{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x47d3a4,_0x3e4416];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x58daad=this['editor'];if(!!!_0x58daad['config']['get']('uploadcare'))return;_0x58daad['plugins']['get'](_0x47d3a4)['createUploadAdapter']=_0x243dd0=>new x(_0x243dd0,_0x58daad),_0x58daad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x24cf25,{imageElement:_0x528e7a,data:_0x238736})=>{_0x58daad['model']['change'](_0x28a6ce=>{_0x28a6ce['setAttribute']('uploadcareImageId',_0x238736['uploadcareImageId'],_0x528e7a);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x57edbe,_0x54d8f5){this['loader']=_0x57edbe,this['editor']=_0x54d8f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2a4f76=this['editor']['config']['get']('uploadcare.pubkey'),_0x4e4533=await this['loader']['file'];return _0x22f3c3['upload']({'file':_0x4e4533,'publicKey':_0x2a4f76,'signal':this['controller']['signal'],'onProgress':_0x1e0024=>{_0x1e0024&&_0x1e0024['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e0024['value']);}})['then'](async _0x5e8345=>{const {imageFallbackUrl:_0x203bbe,imageSources:_0x51342f}=_0x47dd17(_0x5e8345['cdnUrl'],_0x5e8345['imageInfo']['width']);return{'uploadcareImageId':_0x5e8345['uuid'],'default':_0x203bbe,'sources':_0x51342f};})['catch'](()=>{const _0x35fb4c=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e4533['name']+'.');return Promise['reject'](_0x35fb4c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4121c4}from'ckeditor5/src/core.js';import{FileRepository as _0x2f1e82}from'ckeditor5/src/upload.js';import _0x495e5a from'./uploadcareediting.js';import _0x549013 from'./utils/uploadutils.js';import{getImageUrls as _0x33d108}from'./utils/editingutils.js';export default class p extends _0x4121c4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2f1e82,_0x495e5a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x369dcc=this['editor'];if(!!!_0x369dcc['config']['get']('uploadcare'))return;_0x369dcc['plugins']['get'](_0x2f1e82)['createUploadAdapter']=_0x5a8ae4=>new x(_0x5a8ae4,_0x369dcc),_0x369dcc['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5969c3,{imageElement:_0x54a329,data:_0x8f2172})=>{_0x369dcc['model']['change'](_0x542e0c=>{_0x542e0c['setAttribute']('uploadcareImageId',_0x8f2172['uploadcareImageId'],_0x54a329);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2e1d12,_0x3cb1fe){this['loader']=_0x2e1d12,this['editor']=_0x3cb1fe,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c840c=this['editor']['config']['get']('uploadcare.pubkey'),_0x21ad5d=await this['loader']['file'];return _0x549013['upload']({'file':_0x21ad5d,'publicKey':_0x1c840c,'signal':this['controller']['signal'],'onProgress':_0x1c3244=>{_0x1c3244&&_0x1c3244['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1c3244['value']);}})['then'](async _0x469c78=>{const {imageFallbackUrl:_0x3df88c,imageSources:_0x59a3e5}=_0x33d108(_0x469c78['cdnUrl'],_0x469c78['imageInfo']['width']);return{'uploadcareImageId':_0x469c78['uuid'],'default':_0x3df88c,'sources':_0x59a3e5};})['catch'](()=>{const _0x465418=t('Cannot\x20upload\x20file:')+('\x20'+_0x21ad5d['name']+'.');return Promise['reject'](_0x465418);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5d989f}from'../uploadcareconfig.js';export function getTranslation(_0x2e82c9,_0x40c559,_0x211a2a){const t=_0x2e82c9['t'],_0x4f4cb1=_0x2e82c9['t'];switch(_0x40c559){case _0x5d989f['Local']:return{'text':_0x4f4cb1('Insert'===_0x211a2a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f4cb1('From\x20computer')};case _0x5d989f['URL']:return{'text':'Insert'===_0x211a2a?_0x4f4cb1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f4cb1('Via\x20URL')};case _0x5d989f['Dropbox']:return{'text':t('Insert'===_0x211a2a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d989f['Facebook']:return{'text':t('Insert'===_0x211a2a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d989f['GDrive']:return{'text':t('Insert'===_0x211a2a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d989f['GPhotos']:return{'text':t('Insert'===_0x211a2a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d989f['OneDrive']:return{'text':t('Insert'===_0x211a2a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40c559;}}
23
+ import{UploadcareSource as _0x368fc4}from'../uploadcareconfig.js';export function getTranslation(_0x2a1ebc,_0x1a0c85,_0x4144f4){const t=_0x2a1ebc['t'],_0x5c746d=_0x2a1ebc['t'];switch(_0x1a0c85){case _0x368fc4['Local']:return{'text':_0x5c746d('Insert'===_0x4144f4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5c746d('From\x20computer')};case _0x368fc4['URL']:return{'text':'Insert'===_0x4144f4?_0x5c746d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5c746d('Via\x20URL')};case _0x368fc4['Dropbox']:return{'text':t('Insert'===_0x4144f4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x368fc4['Facebook']:return{'text':t('Insert'===_0x4144f4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x368fc4['GDrive']:return{'text':t('Insert'===_0x4144f4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x368fc4['GPhotos']:return{'text':t('Insert'===_0x4144f4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x368fc4['OneDrive']:return{'text':t('Insert'===_0x4144f4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1a0c85;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e9f(_0x263a9b,_0x1ecb87){var _0x189ad1=_0x189a();return _0x2e9f=function(_0x2e9ff5,_0x448bc9){_0x2e9ff5=_0x2e9ff5-0xd0;var _0x20fe0c=_0x189ad1[_0x2e9ff5];return _0x20fe0c;},_0x2e9f(_0x263a9b,_0x1ecb87);}var _0x1d608a=_0x2e9f;(function(_0xc3e032,_0x1b041d){var _0x5cf870=_0x2e9f,_0x55c097=_0xc3e032();while(!![]){try{var _0x109a74=parseInt(_0x5cf870(0xd5))/0x1+parseInt(_0x5cf870(0xdb))/0x2*(-parseInt(_0x5cf870(0xd1))/0x3)+parseInt(_0x5cf870(0xd3))/0x4*(parseInt(_0x5cf870(0xd9))/0x5)+-parseInt(_0x5cf870(0xdc))/0x6*(-parseInt(_0x5cf870(0xdf))/0x7)+parseInt(_0x5cf870(0xe3))/0x8*(-parseInt(_0x5cf870(0xe2))/0x9)+parseInt(_0x5cf870(0xd8))/0xa+-parseInt(_0x5cf870(0xd6))/0xb;if(_0x109a74===_0x1b041d)break;else _0x55c097['push'](_0x55c097['shift']());}catch(_0x44a793){_0x55c097['push'](_0x55c097['shift']());}}}(_0x189a,0x914fd));import{FocusTracker as _0x4fbeab}from'ckeditor5/src/utils.js';import{View as _0x59e497,FocusCycler as _0x14d9a8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x59e497{[_0x1d608a(0xd7)];[_0x1d608a(0xdd)];constructor(_0x5dd370){var _0x43f933=_0x1d608a;super(_0x5dd370),this[_0x43f933(0xd7)]=new _0x4fbeab(),this[_0x43f933(0xdd)]=new _0x14d9a8({'focusables':this[_0x43f933(0xe1)](),'focusTracker':this[_0x43f933(0xd7)]});}[_0x1d608a(0xd4)](){var _0x2abf8c=_0x1d608a;return{'tag':_0x2abf8c(0xe0),'attributes':{'aria-hidden':_0x2abf8c(0xd2),'tabindex':'0'},'on':{'focus':this[_0x2abf8c(0xd0)]['to'](()=>{var _0x4297c4=_0x2abf8c;this[_0x4297c4(0xdd)][_0x4297c4(0xda)](_0x4297c4(0xde));})}};}}function _0x189a(){var _0x31a993=['forwardCycle','199710yCKzDs','div','createCollection','9zdsflK','348136fjzTzt','bindTemplate','3087idNYmg','true','2704476NGXKyP','getFocusableElement','801910gULexk','10751763NOiIYL','focusTracker','2319010NGwwXd','5VbGaGT','fire','2234aHfjGI','222oVYDyd','focusCycler'];_0x189a=function(){return _0x31a993;};return _0x189a();}
23
+ var _0x4f1541=_0x4dcd;function _0x4dcd(_0x551e48,_0x2075c1){var _0x4c61e4=_0x4c61();return _0x4dcd=function(_0x4dcdb4,_0x186655){_0x4dcdb4=_0x4dcdb4-0xd8;var _0x279beb=_0x4c61e4[_0x4dcdb4];return _0x279beb;},_0x4dcd(_0x551e48,_0x2075c1);}(function(_0x59018a,_0x4c6c76){var _0x379a66=_0x4dcd,_0x207edc=_0x59018a();while(!![]){try{var _0x36ea99=-parseInt(_0x379a66(0xe9))/0x1*(-parseInt(_0x379a66(0xe8))/0x2)+-parseInt(_0x379a66(0xe5))/0x3*(-parseInt(_0x379a66(0xea))/0x4)+-parseInt(_0x379a66(0xe2))/0x5+-parseInt(_0x379a66(0xe4))/0x6+-parseInt(_0x379a66(0xde))/0x7*(parseInt(_0x379a66(0xe1))/0x8)+parseInt(_0x379a66(0xd8))/0x9+parseInt(_0x379a66(0xe0))/0xa;if(_0x36ea99===_0x4c6c76)break;else _0x207edc['push'](_0x207edc['shift']());}catch(_0x398981){_0x207edc['push'](_0x207edc['shift']());}}}(_0x4c61,0x1dfeb));import{FocusTracker as _0x1e7eed}from'ckeditor5/src/utils.js';function _0x4c61(){var _0x1e6a79=['2874760gsNowq','39768xCQPRZ','1106445ojZIgj','div','1247142wbHgvf','3LANeRs','fire','createCollection','97618KhkERY','5zSOWMx','219720DnzobR','1792719GOMpTN','forwardCycle','bindTemplate','focusCycler','focusTracker','true','329bTmHAw','getFocusableElement'];_0x4c61=function(){return _0x1e6a79;};return _0x4c61();}import{View as _0x5034af,FocusCycler as _0x2d8fb6}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x5034af{[_0x4f1541(0xdc)];[_0x4f1541(0xdb)];constructor(_0x1d26ae){var _0x17c3dc=_0x4f1541;super(_0x1d26ae),this[_0x17c3dc(0xdc)]=new _0x1e7eed(),this[_0x17c3dc(0xdb)]=new _0x2d8fb6({'focusables':this[_0x17c3dc(0xe7)](),'focusTracker':this[_0x17c3dc(0xdc)]});}[_0x4f1541(0xdf)](){var _0x3e45c2=_0x4f1541;return{'tag':_0x3e45c2(0xe3),'attributes':{'aria-hidden':_0x3e45c2(0xdd),'tabindex':'0'},'on':{'focus':this[_0x3e45c2(0xda)]['to'](()=>{var _0x39aaa8=_0x3e45c2;this[_0x39aaa8(0xdb)][_0x39aaa8(0xe6)](_0x39aaa8(0xd9));})}};}}