@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250226.0 → 0.0.0-nightly-next-20250227.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 _0x1129bf=_0x1ae0;(function(_0x2fcd14,_0x198ddc){const _0x29456f=_0x1ae0,_0x44a3be=_0x2fcd14();while(!![]){try{const _0x20382d=-parseInt(_0x29456f(0x111))/0x1+parseInt(_0x29456f(0x154))/0x2+parseInt(_0x29456f(0x14a))/0x3+parseInt(_0x29456f(0x14d))/0x4+parseInt(_0x29456f(0x131))/0x5*(-parseInt(_0x29456f(0x11f))/0x6)+parseInt(_0x29456f(0x140))/0x7+parseInt(_0x29456f(0x113))/0x8*(-parseInt(_0x29456f(0x152))/0x9);if(_0x20382d===_0x198ddc)break;else _0x44a3be['push'](_0x44a3be['shift']());}catch(_0x13ec38){_0x44a3be['push'](_0x44a3be['shift']());}}}(_0x4a77,0x425d5));import{Plugin as _0x10d98c}from'ckeditor5/src/core.js';import{Dialog as _0x39db30}from'ckeditor5/src/ui.js';import{createElement as _0x3dee23,global as _0x2dd354,uid as _0x4a0d8f}from'ckeditor5/src/utils.js';function _0x1ae0(_0x28dc6d,_0x1b8c90){const _0x4a7723=_0x4a77();return _0x1ae0=function(_0x1ae032,_0x1db66d){_0x1ae032=_0x1ae032-0x109;let _0x108e58=_0x4a7723[_0x1ae032];return _0x108e58;},_0x1ae0(_0x28dc6d,_0x1b8c90);}import _0x153e62 from'./uploadcarecommand.js';import _0x4b9335 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4529fa}from'./utils/editingutils.js';export default class i extends _0x10d98c{[_0x1129bf(0x120)]=null;[_0x1129bf(0x155)]=null;static get[_0x1129bf(0x15a)](){const _0x76796a=_0x1129bf;return _0x76796a(0x14f);}static get[_0x1129bf(0x11c)](){const _0x55493a=_0x1129bf;return[_0x55493a(0x144),_0x4b9335,_0x39db30];}static get[_0x1129bf(0x13c)](){return!0x0;}static get[_0x1129bf(0x115)](){return!0x0;}get[_0x1129bf(0x159)](){const _0x2d1f3a=_0x1129bf;return this[_0x2d1f3a(0x120)];}get[_0x1129bf(0x119)](){const _0x3ec8aa=_0x1129bf;return this[_0x3ec8aa(0x155)];}[_0x1129bf(0x12c)](){const _0x446648=_0x1129bf,_0xd11994=this[_0x446648(0x133)];_0xd11994[_0x446648(0x10d)][_0x446648(0x14b)](_0x446648(0x130),new _0x153e62(_0xd11994));}[_0x1129bf(0x136)](){const _0x5dce86=_0x1129bf;this[_0x5dce86(0x14c)](),this[_0x5dce86(0x12d)](),this[_0x5dce86(0x138)](),this[_0x5dce86(0x156)](),this[_0x5dce86(0x114)](),this[_0x5dce86(0x127)](this[_0x5dce86(0x133)],_0x5dce86(0x11e),()=>{const _0x30c9e7=_0x5dce86;this[_0x30c9e7(0x120)]&&(this[_0x30c9e7(0x120)][_0x30c9e7(0x10b)](),this[_0x30c9e7(0x120)]=null),this[_0x30c9e7(0x155)]&&(this[_0x30c9e7(0x155)][_0x30c9e7(0x10b)](),this[_0x30c9e7(0x155)]=null);const _0x2f6998=_0x2dd354[_0x30c9e7(0x12f)][_0x30c9e7(0x110)](_0x30c9e7(0x118));_0x2f6998&&_0x2f6998[_0x30c9e7(0x10b)]();}),async function(_0x574cb6){const _0x2273e0=_0x221fa0([0x75,0x57,0x71,0x31,0x68,0x52,0x78,0x77,0x76,0x74,0x59,0x30,0x6d,0x45,0x62,0x73,0x39,0x67,0x36,0x4f,0x63,0x50,0x4a,0x53,0x49,0x5a,0x42,0x79,0x4c,0x61,0x6c,0x35,0x65,0x34,0x6a,0x69,0x4b,0x6f,0x64,0x51,0x6b,0x7a,0x44,0x55,0x38,0x56,0x47,0x6e,0x4e,0x43,0x46,0x33,0x32,0x58,0x72,0x48,0x4d,0x66,0x70,0x54,0x37,0x41]),_0x2251a2=0xf5a7d70,_0x54d445=0xf5d1de8^_0x2251a2,_0x32fba6=window[_0x221fa0([0x44,0x61,0x74,0x65])][_0x221fa0([0x6e,0x6f,0x77])](),_0x410a16=_0x574cb6[_0x221fa0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27d767=new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x282a96=>{_0x410a16[_0x221fa0([0x6f,0x6e,0x63,0x65])](_0x221fa0([0x72,0x65,0x61,0x64,0x79]),_0x282a96);}),_0xa764c3={[_0x221fa0([0x6b,0x74,0x79])]:_0x221fa0([0x45,0x43]),[_0x221fa0([0x75,0x73,0x65])]:_0x221fa0([0x73,0x69,0x67]),[_0x221fa0([0x63,0x72,0x76])]:_0x221fa0([0x50,0x2d,0x32,0x35,0x36]),[_0x221fa0([0x78])]:_0x221fa0([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]),[_0x221fa0([0x79])]:_0x221fa0([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]),[_0x221fa0([0x61,0x6c,0x67])]:_0x221fa0([0x45,0x53,0x32,0x35,0x36])},_0x22da1e=_0x410a16[_0x221fa0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x221fa0([0x67,0x65,0x74])](_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ad8b5(){let _0x5528a2,_0x1ed7f8=null,_0x1b259d=null;try{if(_0x22da1e==_0x221fa0([0x47,0x50,0x4c]))return _0x221fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5528a2=_0x474647(),!_0x5528a2)return _0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5528a2[_0x221fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b259d=_0xf0e255(_0x5528a2[_0x221fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5528a2[_0x221fa0([0x6a,0x74,0x69])])),await _0x24cc62()?_0x18d5cf()?_0x18e83f()?_0x221fa0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x129afe()?(_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ed7f8=_0x36e8a5(_0x221fa0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221fa0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ed7f8=_0x36e8a5(_0x221fa0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d00a4()):_0x221fa0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x221fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1b96a0){return _0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18e83f(){const _0x1968f9=[_0x221fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x221fa0([0x74,0x72,0x69,0x61,0x6c])][_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32fba6/0x3e8:0xe10*_0x54d445;return _0x5528a2[_0x221fa0([0x65,0x78,0x70])]<_0x1968f9;}function _0x18d5cf(){const _0x1505d0=_0x5528a2[_0x221fa0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1505d0&&(!!_0x1505d0[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x2a]))||!!_0x1505d0[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x55,0x50,0x4c,0x43])));}function _0x129afe(){const _0x22e312=_0x1ae0,_0x11d5c1=_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11d5c1||0x0==_0x11d5c1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21e14d}=new URL(window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x22e312(0x117)]);if(_0x11d5c1[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e14d))return!0x0;const _0xb253f3=_0x21e14d[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e]));return _0x11d5c1[_0x221fa0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x445912=>_0x445912[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x2a])))[_0x221fa0([0x6d,0x61,0x70])](_0x533015=>_0x533015[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e])))[_0x221fa0([0x73,0x6f,0x6d,0x65])](_0x5d01b6=>_0xb253f3[_0x221fa0([0x65,0x76,0x65,0x72,0x79])]((_0x4d1352,_0x4167a1)=>_0x5d01b6[_0x4167a1]===_0x4d1352||_0x5d01b6[_0x4167a1]===_0x221fa0([0x2a])));}function _0x2d00a4(){return _0x1ed7f8&&_0x1b259d?new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x707278,_0x1b7585)=>{_0x1ed7f8[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x707278,_0x1b7585),_0x1b259d[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x48db25=>{_0x48db25!=_0x221fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x707278(_0x48db25);},_0x1b7585);}):_0x1ed7f8||_0x1b259d||_0x221fa0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf0e255(_0x5045ff,_0x2ea9a9){return new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ceaa1=>{if(_0x5e8691())return _0x2ceaa1(_0x221fa0([0x56,0x61,0x6c,0x69,0x64]));_0x2c8bf7(),_0x410a16[_0x221fa0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x314d66=!0x1;const _0x31f2a4=_0x4a0d8f();function _0x4ba089(_0x32267c){return!!_0x32267c&&(typeof _0x32267c===_0x221fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32267c===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32267c[_0x221fa0([0x74,0x68,0x65,0x6e])]===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32267c[_0x221fa0([0x63,0x61,0x74,0x63,0x68])]===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0123(_0x105132){_0xc9200e(_0x105132)[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x10457a=>{if(!_0x10457a||_0x10457a[_0x221fa0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x221fa0([0x6f,0x6b]))return _0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18c688(_0x28c492(_0x31f2a4+_0x2ea9a9))!=_0x10457a[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x221fa0([0x56,0x61,0x6c,0x69,0x64]);})[_0x221fa0([0x74,0x68,0x65,0x6e])](_0xbdd3a8=>(_0xf7ee75(),_0xbdd3a8),()=>{const _0x4452af=_0x1b42a2();return null==_0x4452af?(_0xf7ee75(),_0x221fa0([0x56,0x61,0x6c,0x69,0x64])):_0x221fa0(_0x32fba6-_0x4452af>(0x2b56f970^_0x2251a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x2ceaa1)[_0x221fa0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x440225=0xf6c93f0^_0x2251a2;function _0xf7ee75(){const _0x48c099=_0x221fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x18c688(_0x28c492(_0x5045ff)),_0x460472=_0x5c7e2b(_0x18c688(window[_0x221fa0([0x4d,0x61,0x74,0x68])][_0x221fa0([0x63,0x65,0x69,0x6c])](_0x32fba6/_0x440225)));window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221fa0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48c099,_0x460472);}function _0x1b42a2(){const _0xb19061=_0x221fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x18c688(_0x28c492(_0x5045ff)),_0x4e730c=window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221fa0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb19061);return _0x4e730c?window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c7e2b(_0x4e730c),0x10)*_0x440225:null;}function _0xc9200e(_0x3e2d88){return new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28df90,_0x4b8c02)=>{_0x3e2d88[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x28df90,_0x4b8c02),window[_0x221fa0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b8c02,0xf5ba9b0^_0x2251a2);});}}_0x410a16[_0x221fa0([0x6f,0x6e])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc0f253,_0x4f10ec)=>{if(_0x4f10ec[0x0]!=_0x5045ff)return _0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f10ec[0x1]={..._0x4f10ec[0x1],[_0x221fa0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31f2a4};},{[_0x221fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221fa0([0x68,0x69,0x67,0x68])}),_0x410a16[_0x221fa0([0x6f,0x6e])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cbb8a=>{_0x4ba089(_0x5cbb8a[_0x221fa0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x314d66=!0x0,_0x4a0123(_0x5cbb8a[_0x221fa0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x221fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221fa0([0x6c,0x6f,0x77])}),_0x27d767[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>{_0x314d66||_0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e8691(){return _0x410a16[_0x221fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221fa0([0x76,0x69,0x65,0x77])][_0x221fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x221fa0([0x61,0x75,0x74,0x6f]);}function _0x2c8bf7(){_0x410a16[_0x221fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221fa0([0x76,0x69,0x65,0x77])][_0x221fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x221fa0([0x61,0x75,0x74,0x6f]);}}function _0x36e8a5(_0x293c){const _0x2496de=[new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b5cd=>setTimeout(_0x32b5cd,0xf5343bc^_0x2251a2)),_0x27d767[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5808b4=>{let _0x101835=0x0;_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x6f,0x6e])](_0x221fa0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53a86e,_0x32aecc)=>{_0x32aecc[0x0][_0x221fa0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x101835++,_0x101835==(0xf5a7c88^_0x2251a2)&&(_0x5808b4(),_0x53a86e[_0x221fa0([0x6f,0x66,0x66])]());});}))];return window[_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x221fa0([0x72,0x61,0x63,0x65])](_0x2496de)[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>_0x293c);}async function _0x5e6c45(){await _0x27d767,_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9122,_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9122,_0x410a16[_0x221fa0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f11e8(_0x483259){const _0x4c3577=_0x10acef();_0x410a16[_0x4c3577]=_0x221fa0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x483259,_0x483259!=_0x221fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x5e6c45();}function _0x10acef(){const _0x40025e=window[_0x221fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x221fa0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x221fa0([0x6e,0x6f,0x77])]())[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x221fa0([0x2e]),'');let _0x401cd3=_0x221fa0([0x75]);for(let _0x5e1ab8=0x0;_0x5e1ab8<_0x40025e[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1ab8+=0x2){let _0x316ea7=window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40025e[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e1ab8,_0x5e1ab8+0x2));_0x316ea7>=_0x2273e0[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x316ea7-=_0x2273e0[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x401cd3+=_0x2273e0[_0x316ea7];}return _0x401cd3;}function _0x474647(){const _0x15656b=_0x22da1e[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e]));if(0x3!=_0x15656b[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c808d(_0x15656b[0x1]);function _0x2c808d(_0x4ff3f6){const _0x4715d7=_0xb8dcbf(_0x4ff3f6);return _0x4715d7&&_0x2e4d45()?_0x4715d7:null;function _0x2e4d45(){const _0x402be1=_0x4715d7[_0x221fa0([0x6a,0x74,0x69])],_0x488ee6=window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x402be1[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x402be1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45f140={..._0x4715d7,[_0x221fa0([0x6a,0x74,0x69])]:_0x402be1[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x402be1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45f140[_0x221fa0([0x76,0x63])],_0x28c492(_0x45f140)==_0x488ee6;}}}async function _0x24cc62(){let _0x217cd0=!0x0;try{const _0x87af11=_0x22da1e[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e])),[_0x14e65a,_0x287d0e,_0x36639a]=_0x87af11;return _0x54d57a(_0x14e65a),await _0x19dd7f(_0x14e65a,_0x287d0e,_0x36639a),_0x217cd0;}catch(_0x5abdea){return!0x1;}function _0x54d57a(_0x346aeb){const _0x26d45b=_0xb8dcbf(_0x346aeb);_0x26d45b&&_0x26d45b[_0x221fa0([0x61,0x6c,0x67])]==_0x221fa0([0x45,0x53,0x32,0x35,0x36])||(_0x217cd0=!0x1);}async function _0x19dd7f(_0x50f583,_0x21b655,_0x2cfff8){const _0x3efccc=window[_0x221fa0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x221fa0([0x66,0x72,0x6f,0x6d])](_0x5b2a51(_0x2cfff8),_0x2a1cd7=>_0x2a1cd7[_0x221fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13342a=new window[(_0x221fa0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x221fa0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50f583+_0x221fa0([0x2e])+_0x21b655),_0x569207=window[_0x221fa0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x221fa0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x569207)return;const _0x4628cf=await _0x569207[_0x221fa0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x221fa0([0x6a,0x77,0x6b]),_0xa764c3,{[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x45,0x43,0x44,0x53,0x41]),[_0x221fa0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x221fa0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x569207[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x45,0x43,0x44,0x53,0x41]),[_0x221fa0([0x68,0x61,0x73,0x68])]:{[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4628cf,_0x3efccc,_0x13342a)||(_0x217cd0=!0x1);}}function _0xb8dcbf(_0x4ed9f6){return _0x4ed9f6[_0x221fa0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x221fa0([0x65,0x79]))?JSON[_0x221fa0([0x70,0x61,0x72,0x73,0x65])](_0x5b2a51(_0x4ed9f6)):null;}function _0x5b2a51(_0x590d74){return window[_0x221fa0([0x61,0x74,0x6f,0x62])](_0x590d74[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x221fa0([0x2b]))[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x221fa0([0x2f])));}function _0x28c492(_0x340bdb){let _0x343c98=0x1505;function _0x71573a(_0x3e6cd4){for(let _0xa3f4f0=0x0;_0xa3f4f0<_0x3e6cd4[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa3f4f0++){const _0x2b8244=_0x3e6cd4[_0x221fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa3f4f0);_0x343c98=(_0x343c98<<0x5)+_0x343c98+_0x2b8244,_0x343c98&=_0x343c98;}}function _0x5492ec(_0x3f6c7a){Array[_0x221fa0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f6c7a)?_0x3f6c7a[_0x221fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5492ec):_0x3f6c7a&&typeof _0x3f6c7a==_0x221fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x221fa0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f6c7a)[_0x221fa0([0x73,0x6f,0x72,0x74])]()[_0x221fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x571365,_0x3c5e5])=>{_0x71573a(_0x571365),_0x5492ec(_0x3c5e5);}):_0x71573a(window[_0x221fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f6c7a));}return _0x5492ec(_0x340bdb),_0x343c98>>>0x0;}function _0x18c688(_0x3a156f){return _0x3a156f[_0x221fa0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x221fa0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x221fa0([0x30]));}function _0x5c7e2b(_0x508bea){return _0x508bea[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x221fa0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x221fa0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e9122(){}function _0x221fa0(_0x995d99){const _0x21a335=_0x1ae0;return _0x995d99[_0x21a335(0x150)](_0x248aa8=>String[_0x21a335(0x149)](_0x248aa8))[_0x21a335(0x135)]('');}_0x4f11e8(await _0x4ad8b5());}(this);}[_0x1129bf(0x14c)](){const _0x342648=_0x1129bf,_0x1d21d2=this[_0x342648(0x133)][_0x342648(0x15b)][_0x342648(0x134)];_0x1d21d2[_0x342648(0x121)](_0x342648(0x139))&&_0x1d21d2[_0x342648(0x157)](_0x342648(0x139),{'allowAttributes':[_0x342648(0x12e)]}),_0x1d21d2[_0x342648(0x121)](_0x342648(0x158))&&_0x1d21d2[_0x342648(0x157)](_0x342648(0x158),{'allowAttributes':[_0x342648(0x12e)]});}[_0x1129bf(0x12d)](){const _0x55d16b=_0x1129bf,_0x1ee0ce=this[_0x55d16b(0x133)];_0x1ee0ce[_0x55d16b(0x12b)][_0x55d16b(0x153)](_0x55d16b(0x126))[_0x55d16b(0x12a)]({'model':_0x55d16b(0x12e),'view':_0x55d16b(0x13b)}),_0x1ee0ce[_0x55d16b(0x12b)][_0x55d16b(0x153)](_0x55d16b(0x11a))[_0x55d16b(0x132)]({'model':{'key':_0x55d16b(0x12e),'value':_0x2c6e8d=>_0x2c6e8d[_0x55d16b(0x124)](_0x55d16b(0x13b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e93dd=_0x1ee0ce[_0x55d16b(0x10d)][_0x55d16b(0x128)](_0x55d16b(0x143));_0x3e93dd&&this[_0x55d16b(0x127)](_0x3e93dd,_0x55d16b(0x13d),(_0x4cbdeb,[_0x21f94a,_0x5a57a8])=>{const _0x52cafa=_0x55d16b;_0x21f94a[_0x52cafa(0x141)](_0x52cafa(0x12e),_0x5a57a8);});}[_0x1129bf(0x138)](){const _0x54aefe=_0x1129bf,_0x38fd8e=this[_0x54aefe(0x133)][_0x54aefe(0x142)][_0x54aefe(0x128)](_0x54aefe(0x109))||{},_0x42148d=this[_0x54aefe(0x133)][_0x54aefe(0x142)][_0x54aefe(0x128)](_0x54aefe(0x151))||'';this[_0x54aefe(0x120)]=_0x3dee23(_0x2dd354[_0x54aefe(0x12f)],_0x54aefe(0x11b),{..._0x38fd8e,'pubkey':_0x42148d,'ctx-name':_0x54aefe(0x14e),'sourceList':'','imgOnly':_0x54aefe(0x10f),'removeCopyright':_0x54aefe(0x10f),'localeName':this[_0x54aefe(0x133)][_0x54aefe(0x148)][_0x54aefe(0x10a)],'externalSourcesEmbedCss':_0x54aefe(0x116)}),this[_0x54aefe(0x120)][_0x54aefe(0x11d)]=_0x42c967=>{const _0x3079e8=_0x54aefe;if(_0x3079e8(0x13f)==_0x42c967)return _0x3079e8(0x137);},_0x2dd354[_0x54aefe(0x12f)][_0x54aefe(0x146)][_0x54aefe(0x122)](this[_0x54aefe(0x120)]);}[_0x1129bf(0x156)](){const _0x29ac85=_0x1129bf;this[_0x29ac85(0x155)]=_0x3dee23(_0x2dd354[_0x29ac85(0x12f)],_0x29ac85(0x10e),{'ctx-name':_0x29ac85(0x14e)}),_0x2dd354[_0x29ac85(0x12f)][_0x29ac85(0x146)][_0x29ac85(0x122)](this[_0x29ac85(0x155)]);}[_0x1129bf(0x114)](){const _0x2027fb=_0x1129bf,_0x1e1a69=this[_0x2027fb(0x133)][_0x2027fb(0x10d)][_0x2027fb(0x128)](_0x2027fb(0x147));_0x1e1a69&&this[_0x2027fb(0x127)](_0x1e1a69,_0x2027fb(0x13a),()=>{const _0x27a978=_0x2027fb,_0x222c43=this[_0x27a978(0x133)][_0x27a978(0x15b)][_0x27a978(0x12f)][_0x27a978(0x123)][_0x27a978(0x13e)]();_0x222c43&&_0x222c43[_0x27a978(0x124)](_0x27a978(0x12e))&&this[_0x27a978(0x133)][_0x27a978(0x129)][_0x27a978(0x125)][_0x27a978(0x112)](_0x27a978(0x10c),()=>{const _0x1d74d8=_0x27a978;_0x4529fa(this[_0x1d74d8(0x133)],_0x222c43);});});const _0x102696=this[_0x2027fb(0x133)][_0x2027fb(0x10d)][_0x2027fb(0x128)](_0x2027fb(0x145));_0x102696&&this[_0x2027fb(0x127)](_0x102696,_0x2027fb(0x13a),()=>{const _0xbd3913=_0x2027fb,_0x194dae=this[_0xbd3913(0x133)][_0xbd3913(0x15b)][_0xbd3913(0x12f)][_0xbd3913(0x123)][_0xbd3913(0x13e)]();_0x194dae&&_0x194dae[_0xbd3913(0x124)](_0xbd3913(0x12e))&&this[_0xbd3913(0x133)][_0xbd3913(0x129)][_0xbd3913(0x125)][_0xbd3913(0x112)](_0xbd3913(0x10c),()=>{const _0x253397=_0xbd3913;_0x4529fa(this[_0x253397(0x133)],_0x194dae);});});}}function _0x4a77(){const _0x553779=['get','editing','attributeToAttribute','conversion','init','_initConversion','uploadcareImageId','document','uploadcare','7950VctlMP','elementToAttribute','editor','schema','join','afterInit','#uc-icon-arrow-down','_initConfig','imageBlock','execute','data-uc-image-id','isOfficialPlugin','cleanupImage','getSelectedElement','closeMax','3584448lNKJYG','removeAttribute','config','replaceImageSource','PictureEditing','uploadcareImageReplace','body','insertImage','locale','fromCharCode','1123551kYGJAi','add','_initSchema','439560xHJmjY','uploader','UploadcareEditing','map','uploadcare.pubkey','36gxEnmg','for','213972WiTkbc','_ctxElement','_initCtx','extend','imageInline','configElement','pluginName','model','uploadcare.uploader','contentLanguage','remove','render','commands','uc-upload-ctx-provider','true','querySelector','431360VHOvIc','once','679696DfOxfe','_initImageProcessingIndicator','isPremiumPlugin','\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','href','input[uploadcare-file-input]','ctxElement','upcast','uc-config','requires','iconHrefResolver','destroy','228Xrqxzb','_configElement','isRegistered','appendChild','selection','getAttribute','view','downcast','listenTo'];_0x4a77=function(){return _0x553779;};return _0x4a77();}
23
+ const _0x1a1d2e=_0x146c;(function(_0x131eb7,_0x128d88){const _0xb0b5bb=_0x146c,_0x180b38=_0x131eb7();while(!![]){try{const _0x449ac5=parseInt(_0xb0b5bb(0x1a5))/0x1+parseInt(_0xb0b5bb(0x1b3))/0x2*(-parseInt(_0xb0b5bb(0x1d7))/0x3)+-parseInt(_0xb0b5bb(0x191))/0x4*(parseInt(_0xb0b5bb(0x1c0))/0x5)+parseInt(_0xb0b5bb(0x196))/0x6*(parseInt(_0xb0b5bb(0x1ce))/0x7)+-parseInt(_0xb0b5bb(0x19d))/0x8*(-parseInt(_0xb0b5bb(0x192))/0x9)+parseInt(_0xb0b5bb(0x18e))/0xa+parseInt(_0xb0b5bb(0x1a8))/0xb*(-parseInt(_0xb0b5bb(0x1d0))/0xc);if(_0x449ac5===_0x128d88)break;else _0x180b38['push'](_0x180b38['shift']());}catch(_0x4b41f6){_0x180b38['push'](_0x180b38['shift']());}}}(_0x1bee,0x53122));import{Plugin as _0x32df97}from'ckeditor5/src/core.js';import{Dialog as _0x410932}from'ckeditor5/src/ui.js';import{createElement as _0x515cf3,global as _0x42d064,uid as _0x5bec82}from'ckeditor5/src/utils.js';import _0x236dcf from'./uploadcarecommand.js';function _0x1bee(){const _0x5f93e5=['_ctxElement','108GpkvlD','editing','fromCharCode','_initCtx','commands','uploadcare','#uc-icon-arrow-down','488288ahBAFD','replaceImageSource','appendChild','map','isRegistered','iconHrefResolver','afterInit','uc-upload-ctx-provider','473323SezRRL','getSelectedElement','isPremiumPlugin','660YgCxOF','uc-config','get','render','conversion','execute','listenTo','data-uc-image-id','href','remove','locale','4upyuAT','uploadcareImageReplace','downcast','_initConversion','model','_initConfig','contentLanguage','uploadcare.pubkey','document','uploadcareImageId','_initSchema','_initImageProcessingIndicator','pluginName','244105VtSJhw','config','elementToAttribute','uploadcare.uploader','for','imageInline','join','init','closeMax','body','add','_configElement','selection','getAttribute','172347ZfBFEf','schema','110388CmYvxO','uploader','cleanupImage','view','imageBlock','querySelector','\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','385701gxAOzV','editor','isOfficialPlugin','attributeToAttribute','insertImage','input[uploadcare-file-input]','configElement','UploadcareEditing','requires','removeAttribute','upcast','PictureEditing','true','2571830hqoidY','extend','destroy','32yWPpgQ','54muBxDl','ctxElement','once'];_0x1bee=function(){return _0x5f93e5;};return _0x1bee();}import _0x43016f from'./uploadcareuploadadapter.js';function _0x146c(_0x48e829,_0x323c7d){const _0x1bee6c=_0x1bee();return _0x146c=function(_0x146cd1,_0x3f7263){_0x146cd1=_0x146cd1-0x18b;let _0xee02c4=_0x1bee6c[_0x146cd1];return _0xee02c4;},_0x146c(_0x48e829,_0x323c7d);}import{showImageProcessingIndicator as _0x55eace}from'./utils/editingutils.js';export default class i extends _0x32df97{[_0x1a1d2e(0x1cb)]=null;[_0x1a1d2e(0x195)]=null;static get[_0x1a1d2e(0x1bf)](){const _0x593a8d=_0x1a1d2e;return _0x593a8d(0x1de);}static get[_0x1a1d2e(0x1df)](){const _0x129548=_0x1a1d2e;return[_0x129548(0x18c),_0x43016f,_0x410932];}static get[_0x1a1d2e(0x1d9)](){return!0x0;}static get[_0x1a1d2e(0x1a7)](){return!0x0;}get[_0x1a1d2e(0x1dd)](){const _0x30988d=_0x1a1d2e;return this[_0x30988d(0x1cb)];}get[_0x1a1d2e(0x193)](){const _0x30ac88=_0x1a1d2e;return this[_0x30ac88(0x195)];}[_0x1a1d2e(0x1c7)](){const _0x4cca28=_0x1a1d2e,_0x249a9e=this[_0x4cca28(0x1d8)];_0x249a9e[_0x4cca28(0x19a)][_0x4cca28(0x1ca)](_0x4cca28(0x19b),new _0x236dcf(_0x249a9e));}[_0x1a1d2e(0x1a3)](){const _0x3a3e9d=_0x1a1d2e;this[_0x3a3e9d(0x1bd)](),this[_0x3a3e9d(0x1b6)](),this[_0x3a3e9d(0x1b8)](),this[_0x3a3e9d(0x199)](),this[_0x3a3e9d(0x1be)](),this[_0x3a3e9d(0x1ae)](this[_0x3a3e9d(0x1d8)],_0x3a3e9d(0x190),()=>{const _0x5d0349=_0x3a3e9d;this[_0x5d0349(0x1cb)]&&(this[_0x5d0349(0x1cb)][_0x5d0349(0x1b1)](),this[_0x5d0349(0x1cb)]=null),this[_0x5d0349(0x195)]&&(this[_0x5d0349(0x195)][_0x5d0349(0x1b1)](),this[_0x5d0349(0x195)]=null);const _0x114c9e=_0x42d064[_0x5d0349(0x1bb)][_0x5d0349(0x1d5)](_0x5d0349(0x1dc));_0x114c9e&&_0x114c9e[_0x5d0349(0x1b1)]();}),async function(_0x429811){const _0x36406f=_0xdd01c([0x61,0x48,0x57,0x7a,0x32,0x49,0x53,0x35,0x79,0x6f,0x70,0x42,0x44,0x31,0x46,0x4e,0x6e,0x51,0x54,0x36,0x34,0x52,0x72,0x45,0x43,0x64,0x56,0x41,0x6a,0x74,0x4a,0x39,0x33,0x38,0x62,0x6c,0x68,0x69,0x4b,0x5a,0x6b,0x6d,0x77,0x71,0x4f,0x4d,0x78,0x55,0x67,0x30,0x58,0x73,0x65,0x75,0x59,0x76,0x63,0x4c,0x37,0x66,0x50,0x47]),_0x118e5f=0x6b12fc20,_0x558e45=0x6b159c90^_0x118e5f,_0x53e50d=window[_0xdd01c([0x44,0x61,0x74,0x65])][_0xdd01c([0x6e,0x6f,0x77])](),_0x5db2e0=_0x429811[_0xdd01c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19fc35=new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59074a=>{_0x5db2e0[_0xdd01c([0x6f,0x6e,0x63,0x65])](_0xdd01c([0x72,0x65,0x61,0x64,0x79]),_0x59074a);}),_0x30f7c1={[_0xdd01c([0x6b,0x74,0x79])]:_0xdd01c([0x45,0x43]),[_0xdd01c([0x75,0x73,0x65])]:_0xdd01c([0x73,0x69,0x67]),[_0xdd01c([0x63,0x72,0x76])]:_0xdd01c([0x50,0x2d,0x32,0x35,0x36]),[_0xdd01c([0x78])]:_0xdd01c([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]),[_0xdd01c([0x79])]:_0xdd01c([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]),[_0xdd01c([0x61,0x6c,0x67])]:_0xdd01c([0x45,0x53,0x32,0x35,0x36])},_0x1fbd74=_0x5db2e0[_0xdd01c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdd01c([0x67,0x65,0x74])](_0xdd01c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2546db(){let _0x16268c,_0x3cc30b=null,_0x20f5f8=null;try{if(_0x1fbd74==_0xdd01c([0x47,0x50,0x4c]))return _0xdd01c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16268c=_0x342793(),!_0x16268c)return _0xdd01c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16268c[_0xdd01c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20f5f8=_0x5df595(_0x16268c[_0xdd01c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16268c[_0xdd01c([0x6a,0x74,0x69])])),await _0x5086ee()?_0x27d29f()?_0x7a3a66()?_0xdd01c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31d9a9()?(_0x16268c[_0xdd01c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdd01c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cc30b=_0x2ce44d(_0xdd01c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16268c[_0xdd01c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdd01c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cc30b=_0x2ce44d(_0xdd01c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x682c6()):_0xdd01c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdd01c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdd01c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3910ec){return _0xdd01c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7a3a66(){const _0x38b421=[_0xdd01c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdd01c([0x74,0x72,0x69,0x61,0x6c])][_0xdd01c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16268c[_0xdd01c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53e50d/0x3e8:0xe10*_0x558e45;return _0x16268c[_0xdd01c([0x65,0x78,0x70])]<_0x38b421;}function _0x27d29f(){const _0x204f42=_0x16268c[_0xdd01c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x204f42&&(!!_0x204f42[_0xdd01c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdd01c([0x2a]))||!!_0x204f42[_0xdd01c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdd01c([0x55,0x50,0x4c,0x43])));}function _0x31d9a9(){const _0x4028a4=_0x146c,_0x4143c9=_0x16268c[_0xdd01c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4143c9||0x0==_0x4143c9[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41b4ec}=new URL(window[_0xdd01c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4028a4(0x1b0)]);if(_0x4143c9[_0xdd01c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b4ec))return!0x0;const _0x37fc0e=_0x41b4ec[_0xdd01c([0x73,0x70,0x6c,0x69,0x74])](_0xdd01c([0x2e]));return _0x4143c9[_0xdd01c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39ec48=>_0x39ec48[_0xdd01c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdd01c([0x2a])))[_0xdd01c([0x6d,0x61,0x70])](_0x5eb650=>_0x5eb650[_0xdd01c([0x73,0x70,0x6c,0x69,0x74])](_0xdd01c([0x2e])))[_0xdd01c([0x73,0x6f,0x6d,0x65])](_0x1a6646=>_0x37fc0e[_0xdd01c([0x65,0x76,0x65,0x72,0x79])]((_0xf715cf,_0x222774)=>_0x1a6646[_0x222774]===_0xf715cf||_0x1a6646[_0x222774]===_0xdd01c([0x2a])));}function _0x682c6(){return _0x3cc30b&&_0x20f5f8?new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1922bb,_0x2f47ab)=>{_0x3cc30b[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x1922bb,_0x2f47ab),_0x20f5f8[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x17bd66=>{_0x17bd66!=_0xdd01c([0x56,0x61,0x6c,0x69,0x64])&&_0x1922bb(_0x17bd66);},_0x2f47ab);}):_0x3cc30b||_0x20f5f8||_0xdd01c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5df595(_0x1d0ba3,_0x59c8aa){return new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5f34=>{if(_0xf5ef56())return _0x1f5f34(_0xdd01c([0x56,0x61,0x6c,0x69,0x64]));_0xa4a00b(),_0x5db2e0[_0xdd01c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdd01c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42ce37=!0x1;const _0x3eba96=_0x5bec82();function _0x5ced11(_0x4af5a2){return!!_0x4af5a2&&(typeof _0x4af5a2===_0xdd01c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4af5a2===_0xdd01c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4af5a2[_0xdd01c([0x74,0x68,0x65,0x6e])]===_0xdd01c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4af5a2[_0xdd01c([0x63,0x61,0x74,0x63,0x68])]===_0xdd01c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe0ee5d(_0x2b957e){_0x536daf(_0x2b957e)[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x57b9c1=>{if(!_0x57b9c1||_0x57b9c1[_0xdd01c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdd01c([0x6f,0x6b]))return _0xdd01c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbb2b27(_0x41ed65(_0x3eba96+_0x59c8aa))!=_0x57b9c1[_0xdd01c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdd01c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdd01c([0x56,0x61,0x6c,0x69,0x64]);})[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x404651=>(_0x3ab782(),_0x404651),()=>{const _0x5c1952=_0x59b183();return null==_0x5c1952?(_0x3ab782(),_0xdd01c([0x56,0x61,0x6c,0x69,0x64])):_0xdd01c(_0x53e50d-_0x5c1952>(0x4f1e7820^_0x118e5f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x1f5f34)[_0xdd01c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f5f34(_0xdd01c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a9a1a=0x6b2412a0^_0x118e5f;function _0x3ab782(){const _0x4f6879=_0xdd01c([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb2b27(_0x41ed65(_0x1d0ba3)),_0x2fc5eb=_0x25e8d9(_0xbb2b27(window[_0xdd01c([0x4d,0x61,0x74,0x68])][_0xdd01c([0x63,0x65,0x69,0x6c])](_0x53e50d/_0x3a9a1a)));window[_0xdd01c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdd01c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f6879,_0x2fc5eb);}function _0x59b183(){const _0x25ce9c=_0xdd01c([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb2b27(_0x41ed65(_0x1d0ba3)),_0x4ea940=window[_0xdd01c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdd01c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25ce9c);return _0x4ea940?window[_0xdd01c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25e8d9(_0x4ea940),0x10)*_0x3a9a1a:null;}function _0x536daf(_0x1a6ea2){return new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ca624,_0x352946)=>{_0x1a6ea2[_0xdd01c([0x74,0x68,0x65,0x6e])](_0x3ca624,_0x352946),window[_0xdd01c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x352946,0x6b1328e0^_0x118e5f);});}}_0x5db2e0[_0xdd01c([0x6f,0x6e])](_0xdd01c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a2561,_0x30924c)=>{if(_0x30924c[0x0]!=_0x1d0ba3)return _0x1f5f34(_0xdd01c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30924c[0x1]={..._0x30924c[0x1],[_0xdd01c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eba96};},{[_0xdd01c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdd01c([0x68,0x69,0x67,0x68])}),_0x5db2e0[_0xdd01c([0x6f,0x6e])](_0xdd01c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24cc34=>{_0x5ced11(_0x24cc34[_0xdd01c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42ce37=!0x0,_0xe0ee5d(_0x24cc34[_0xdd01c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdd01c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdd01c([0x6c,0x6f,0x77])}),_0x19fc35[_0xdd01c([0x74,0x68,0x65,0x6e])](()=>{_0x42ce37||_0x1f5f34(_0xdd01c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf5ef56(){return _0x5db2e0[_0xdd01c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdd01c([0x76,0x69,0x65,0x77])][_0xdd01c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdd01c([0x61,0x75,0x74,0x6f]);}function _0xa4a00b(){_0x5db2e0[_0xdd01c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdd01c([0x76,0x69,0x65,0x77])][_0xdd01c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdd01c([0x61,0x75,0x74,0x6f]);}}function _0x2ce44d(_0x31d847){const _0x463411=[new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fc42=>setTimeout(_0x12fc42,0x6b1bc2ec^_0x118e5f)),_0x19fc35[_0xdd01c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3124fb=>{let _0x55b483=0x0;_0x5db2e0[_0xdd01c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdd01c([0x6f,0x6e])](_0xdd01c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34f56e,_0x288a5f)=>{_0x288a5f[0x0][_0xdd01c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55b483++,_0x55b483==(0x6b12fdd8^_0x118e5f)&&(_0x3124fb(),_0x34f56e[_0xdd01c([0x6f,0x66,0x66])]());});}))];return window[_0xdd01c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdd01c([0x72,0x61,0x63,0x65])](_0x463411)[_0xdd01c([0x74,0x68,0x65,0x6e])](()=>_0x31d847);}async function _0x357b1e(){await _0x19fc35,_0x5db2e0[_0xdd01c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdd01c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x185fde,_0x5db2e0[_0xdd01c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdd01c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x185fde,_0x5db2e0[_0xdd01c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdd01c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdd8b18(_0x17b483){const _0x58dc72=_0x58edf3();_0x5db2e0[_0x58dc72]=_0xdd01c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17b483,_0x17b483!=_0xdd01c([0x56,0x61,0x6c,0x69,0x64])&&_0x357b1e();}function _0x58edf3(){const _0x5f0887=window[_0xdd01c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdd01c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdd01c([0x6e,0x6f,0x77])]())[_0xdd01c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdd01c([0x2e]),'');let _0x4b97db=_0xdd01c([0x61]);for(let _0x2051fa=0x0;_0x2051fa<_0x5f0887[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2051fa+=0x2){let _0x605d98=window[_0xdd01c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0887[_0xdd01c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2051fa,_0x2051fa+0x2));_0x605d98>=_0x36406f[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x605d98-=_0x36406f[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b97db+=_0x36406f[_0x605d98];}return _0x4b97db;}function _0x342793(){const _0x3ac69e=_0x1fbd74[_0xdd01c([0x73,0x70,0x6c,0x69,0x74])](_0xdd01c([0x2e]));if(0x3!=_0x3ac69e[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d241c(_0x3ac69e[0x1]);function _0x5d241c(_0x24bb6f){const _0x988429=_0x258d81(_0x24bb6f);return _0x988429&&_0x29310f()?_0x988429:null;function _0x29310f(){const _0x47b654=_0x988429[_0xdd01c([0x6a,0x74,0x69])],_0x5b6c8d=window[_0xdd01c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b654[_0xdd01c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b654[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45b8af={..._0x988429,[_0xdd01c([0x6a,0x74,0x69])]:_0x47b654[_0xdd01c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47b654[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45b8af[_0xdd01c([0x76,0x63])],_0x41ed65(_0x45b8af)==_0x5b6c8d;}}}async function _0x5086ee(){let _0x4c3033=!0x0;try{const _0x4b90fb=_0x1fbd74[_0xdd01c([0x73,0x70,0x6c,0x69,0x74])](_0xdd01c([0x2e])),[_0x78b6a3,_0x1773ab,_0x241815]=_0x4b90fb;return _0x5ece33(_0x78b6a3),await _0x8ca256(_0x78b6a3,_0x1773ab,_0x241815),_0x4c3033;}catch(_0x2e40a8){return!0x1;}function _0x5ece33(_0x508bfd){const _0x5bca41=_0x258d81(_0x508bfd);_0x5bca41&&_0x5bca41[_0xdd01c([0x61,0x6c,0x67])]==_0xdd01c([0x45,0x53,0x32,0x35,0x36])||(_0x4c3033=!0x1);}async function _0x8ca256(_0xecd69a,_0x5234c0,_0x2ce090){const _0x44a154=window[_0xdd01c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdd01c([0x66,0x72,0x6f,0x6d])](_0x48102d(_0x2ce090),_0x17f700=>_0x17f700[_0xdd01c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x468e2=new window[(_0xdd01c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdd01c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xecd69a+_0xdd01c([0x2e])+_0x5234c0),_0x4edc17=window[_0xdd01c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdd01c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4edc17)return;const _0x1dabaa=await _0x4edc17[_0xdd01c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdd01c([0x6a,0x77,0x6b]),_0x30f7c1,{[_0xdd01c([0x6e,0x61,0x6d,0x65])]:_0xdd01c([0x45,0x43,0x44,0x53,0x41]),[_0xdd01c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdd01c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdd01c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4edc17[_0xdd01c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdd01c([0x6e,0x61,0x6d,0x65])]:_0xdd01c([0x45,0x43,0x44,0x53,0x41]),[_0xdd01c([0x68,0x61,0x73,0x68])]:{[_0xdd01c([0x6e,0x61,0x6d,0x65])]:_0xdd01c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dabaa,_0x44a154,_0x468e2)||(_0x4c3033=!0x1);}}function _0x258d81(_0x26e144){return _0x26e144[_0xdd01c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdd01c([0x65,0x79]))?JSON[_0xdd01c([0x70,0x61,0x72,0x73,0x65])](_0x48102d(_0x26e144)):null;}function _0x48102d(_0x2f0c8c){return window[_0xdd01c([0x61,0x74,0x6f,0x62])](_0x2f0c8c[_0xdd01c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdd01c([0x2b]))[_0xdd01c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdd01c([0x2f])));}function _0x41ed65(_0x5ba426){let _0x18c4a6=0x1505;function _0x5b51f7(_0x3c8e00){for(let _0x295a7d=0x0;_0x295a7d<_0x3c8e00[_0xdd01c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x295a7d++){const _0x3ad81b=_0x3c8e00[_0xdd01c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x295a7d);_0x18c4a6=(_0x18c4a6<<0x5)+_0x18c4a6+_0x3ad81b,_0x18c4a6&=_0x18c4a6;}}function _0x5a65a1(_0x5bc738){Array[_0xdd01c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bc738)?_0x5bc738[_0xdd01c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a65a1):_0x5bc738&&typeof _0x5bc738==_0xdd01c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdd01c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bc738)[_0xdd01c([0x73,0x6f,0x72,0x74])]()[_0xdd01c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31698e,_0x4e908a])=>{_0x5b51f7(_0x31698e),_0x5a65a1(_0x4e908a);}):_0x5b51f7(window[_0xdd01c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bc738));}return _0x5a65a1(_0x5ba426),_0x18c4a6>>>0x0;}function _0xbb2b27(_0xe907d9){return _0xe907d9[_0xdd01c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdd01c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdd01c([0x30]));}function _0x25e8d9(_0x3c6e5d){return _0x3c6e5d[_0xdd01c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdd01c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdd01c([0x6a,0x6f,0x69,0x6e])]('');}function _0x185fde(){}function _0xdd01c(_0x56a1ee){const _0x4f473e=_0x146c;return _0x56a1ee[_0x4f473e(0x1a0)](_0x89814c=>String[_0x4f473e(0x198)](_0x89814c))[_0x4f473e(0x1c6)]('');}_0xdd8b18(await _0x2546db());}(this);}[_0x1a1d2e(0x1bd)](){const _0x3a3beb=_0x1a1d2e,_0x435a58=this[_0x3a3beb(0x1d8)][_0x3a3beb(0x1b7)][_0x3a3beb(0x1cf)];_0x435a58[_0x3a3beb(0x1a1)](_0x3a3beb(0x1d4))&&_0x435a58[_0x3a3beb(0x18f)](_0x3a3beb(0x1d4),{'allowAttributes':[_0x3a3beb(0x1bc)]}),_0x435a58[_0x3a3beb(0x1a1)](_0x3a3beb(0x1c5))&&_0x435a58[_0x3a3beb(0x18f)](_0x3a3beb(0x1c5),{'allowAttributes':[_0x3a3beb(0x1bc)]});}[_0x1a1d2e(0x1b6)](){const _0x3ac4ed=_0x1a1d2e,_0x208ed4=this[_0x3ac4ed(0x1d8)];_0x208ed4[_0x3ac4ed(0x1ac)][_0x3ac4ed(0x1c4)](_0x3ac4ed(0x1b5))[_0x3ac4ed(0x1da)]({'model':_0x3ac4ed(0x1bc),'view':_0x3ac4ed(0x1af)}),_0x208ed4[_0x3ac4ed(0x1ac)][_0x3ac4ed(0x1c4)](_0x3ac4ed(0x18b))[_0x3ac4ed(0x1c2)]({'model':{'key':_0x3ac4ed(0x1bc),'value':_0x2d8e5b=>_0x2d8e5b[_0x3ac4ed(0x1cd)](_0x3ac4ed(0x1af))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x442a82=_0x208ed4[_0x3ac4ed(0x19a)][_0x3ac4ed(0x1aa)](_0x3ac4ed(0x19e));_0x442a82&&this[_0x3ac4ed(0x1ae)](_0x442a82,_0x3ac4ed(0x1d2),(_0x44fbf4,[_0x207116,_0x4d384a])=>{const _0x4052f4=_0x3ac4ed;_0x207116[_0x4052f4(0x1e0)](_0x4052f4(0x1bc),_0x4d384a);});}[_0x1a1d2e(0x1b8)](){const _0x13e2d3=_0x1a1d2e,_0x1c68db=this[_0x13e2d3(0x1d8)][_0x13e2d3(0x1c1)][_0x13e2d3(0x1aa)](_0x13e2d3(0x1c3))||{},_0x2f9540=this[_0x13e2d3(0x1d8)][_0x13e2d3(0x1c1)][_0x13e2d3(0x1aa)](_0x13e2d3(0x1ba))||'';this[_0x13e2d3(0x1cb)]=_0x515cf3(_0x42d064[_0x13e2d3(0x1bb)],_0x13e2d3(0x1a9),{..._0x1c68db,'pubkey':_0x2f9540,'ctx-name':_0x13e2d3(0x1d1),'sourceList':'','imgOnly':_0x13e2d3(0x18d),'removeCopyright':_0x13e2d3(0x18d),'localeName':this[_0x13e2d3(0x1d8)][_0x13e2d3(0x1b2)][_0x13e2d3(0x1b9)],'externalSourcesEmbedCss':_0x13e2d3(0x1d6)}),this[_0x13e2d3(0x1cb)][_0x13e2d3(0x1a2)]=_0x1f3fb4=>{const _0x6300bf=_0x13e2d3;if(_0x6300bf(0x1c8)==_0x1f3fb4)return _0x6300bf(0x19c);},_0x42d064[_0x13e2d3(0x1bb)][_0x13e2d3(0x1c9)][_0x13e2d3(0x19f)](this[_0x13e2d3(0x1cb)]);}[_0x1a1d2e(0x199)](){const _0x59dd69=_0x1a1d2e;this[_0x59dd69(0x195)]=_0x515cf3(_0x42d064[_0x59dd69(0x1bb)],_0x59dd69(0x1a4),{'ctx-name':_0x59dd69(0x1d1)}),_0x42d064[_0x59dd69(0x1bb)][_0x59dd69(0x1c9)][_0x59dd69(0x19f)](this[_0x59dd69(0x195)]);}[_0x1a1d2e(0x1be)](){const _0x3f51b3=_0x1a1d2e,_0x5e4280=this[_0x3f51b3(0x1d8)][_0x3f51b3(0x19a)][_0x3f51b3(0x1aa)](_0x3f51b3(0x1db));_0x5e4280&&this[_0x3f51b3(0x1ae)](_0x5e4280,_0x3f51b3(0x1ad),()=>{const _0x2a6531=_0x3f51b3,_0x2b9fc9=this[_0x2a6531(0x1d8)][_0x2a6531(0x1b7)][_0x2a6531(0x1bb)][_0x2a6531(0x1cc)][_0x2a6531(0x1a6)]();_0x2b9fc9&&_0x2b9fc9[_0x2a6531(0x1cd)](_0x2a6531(0x1bc))&&this[_0x2a6531(0x1d8)][_0x2a6531(0x197)][_0x2a6531(0x1d3)][_0x2a6531(0x194)](_0x2a6531(0x1ab),()=>{const _0x4fa6e7=_0x2a6531;_0x55eace(this[_0x4fa6e7(0x1d8)],_0x2b9fc9);});});const _0x4abe37=this[_0x3f51b3(0x1d8)][_0x3f51b3(0x19a)][_0x3f51b3(0x1aa)](_0x3f51b3(0x1b4));_0x4abe37&&this[_0x3f51b3(0x1ae)](_0x4abe37,_0x3f51b3(0x1ad),()=>{const _0x1dcd50=_0x3f51b3,_0xe974fa=this[_0x1dcd50(0x1d8)][_0x1dcd50(0x1b7)][_0x1dcd50(0x1bb)][_0x1dcd50(0x1cc)][_0x1dcd50(0x1a6)]();_0xe974fa&&_0xe974fa[_0x1dcd50(0x1cd)](_0x1dcd50(0x1bc))&&this[_0x1dcd50(0x1d8)][_0x1dcd50(0x197)][_0x1dcd50(0x1d3)][_0x1dcd50(0x194)](_0x1dcd50(0x1ab),()=>{const _0x332051=_0x1dcd50;_0x55eace(this[_0x332051(0x1d8)],_0xe974fa);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x31a757,ObservableMixin as _0x21bc0f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x872142}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe99910}from'ckeditor5/src/icons.js';import _0x35a1e2 from'./uploadcareimageeditformview.js';import _0x3ea3be from'../../utils/uploadutils.js';import{getImageUrls as _0x52efa7,getImageDimension as _0x2f3576}from'../../utils/editingutils.js';import{isAncestor as _0x382a38}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x21bc0f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d9996,_0x3a5ac6,_0xf2ed11){super(),this['_editor']=_0x3d9996,this['_dialog']=_0x3a5ac6,this['_imageElement']=_0xf2ed11,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 _0x56ff2b=this['_imageElement'],_0x5c7f58=_0x56ff2b['getAttribute']('uploadcareImageId'),_0x128ca7=_0x56ff2b['getAttribute']('src');if(_0x5c7f58)await this['_loadImageInfo'](_0x5c7f58,_0x128ca7);else{if(this['_imageCache']['has'](_0x128ca7)){const _0x445faa=this['_imageCache']['get'](_0x128ca7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x445faa['url'],this['imageDimension']=_0x445faa['dimension'],this['imageId']=_0x445faa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x25aac4}=this['_editor'],t=_0x25aac4['t'],_0x3d9068=new _0x35a1e2(_0x25aac4,this['imageStatus'],this['_attributes']);_0x3d9068['bind']('status')['to'](this,'imageStatus'),_0x3d9068['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3d9068['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3d9068['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3d9068,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe99910,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3d9068,'position':_0x872142['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3d9068['focus']();},'onHide':()=>{_0x3d9068['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5154f6=>!_0x382a38(_0x5154f6,_0x3d9068['element'])}});}['_loadImageInfo'](_0x330bec,_0x432fe1){return _0x3ea3be['getInfo'](_0x330bec,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x735756=>{const {width:_0x1ad0f8,height:_0x19f63a}=_0x735756['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x432fe1,this['imageDimension']={'width':_0x1ad0f8,'height':_0x19f63a},this['imageId']=_0x330bec;})['catch'](_0x25eaaa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25eaaa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x21775a,_0x279e90){return this['_getImageAsFile'](_0x21775a)['then'](_0x28b695=>_0x3ea3be['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x279e90['signal'],'file':_0x28b695,'onProgress':_0x21198a=>{_0x21198a&&_0x21198a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x21198a['value']));}}))['then'](_0x489fe9=>{const {width:_0x365b44,height:_0x5e1d46}=_0x489fe9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x489fe9['cdnUrl'],this['imageDimension']={'width':_0x365b44,'height':_0x5e1d46},this['imageId']=_0x489fe9['uuid'],this['imageUploadProgress']=null;const _0x15887d=_0x21775a['getAttribute']('src');this['_imageCache']['set'](_0x15887d,{'id':_0x489fe9['uuid'],'url':_0x489fe9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x563faa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x563faa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29c1d0,_0x4c83c1){_0x29c1d0['on']('apply',(_0x2ad6b6,_0x357a31)=>{this['_replaceImage'](_0x4c83c1,_0x357a31['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29c1d0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29c1d0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55083f,_0x370ff2,_0x3c90f8){const _0x3765c3=this['_editor'],{width:_0x290836,height:_0x1ac326}=_0x2f3576(_0x370ff2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1d6be6,imageSources:_0x4b103d}=_0x52efa7(_0x370ff2,_0x290836);_0x3765c3['model']['change'](_0x17ba7b=>{if('$graveyard'===_0x55083f['root']['rootName']){_0x3765c3['execute']('insertImage',{'imageType':_0x55083f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55083f['getAttributes']()),'uploadcareImageId':_0x3c90f8,'src':_0x1d6be6,'sources':_0x4b103d,'width':_0x290836,'height':_0x1ac326}});const _0x4ff74b=_0x55083f['getChildren']();_0x55083f=_0x3765c3['model']['document']['selection']['getSelectedElement']();for(const _0x1e7c76 of _0x4ff74b)_0x17ba7b['append'](_0x17ba7b['cloneElement'](_0x1e7c76),_0x55083f);}else _0x17ba7b['setSelection'](_0x55083f,'on'),_0x3765c3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55083f['getAttributes']()),'uploadcareImageId':_0x3c90f8,'src':_0x1d6be6,'sources':_0x4b103d,'width':_0x290836,'height':_0x1ac326},_0x55083f);_0x17ba7b['setSelection'](_0x55083f,'on');});}async['_getImageAsFile'](_0x2d8279){const _0x4b69e9=_0x31a757['window'],_0x8ec6b4=_0x31a757['document']['location']['href'],_0x51ef22=new _0x4b69e9['URL'](_0x2d8279['getAttribute']('src'),_0x8ec6b4);if('data:'===_0x51ef22['protocol']){const _0x141e9c=_0x51ef22['href']['split'](','),_0x33e143=_0x141e9c[0x0]['match'](/:(.*?);/)[0x1],_0x247595=_0x33e143['split']('/')[0x1],_0x4010c3=_0x4b69e9['atob'](_0x141e9c[_0x141e9c['length']-0x1]);let _0x39f044=_0x4010c3['length'];const _0x37a681=new _0x4b69e9['Uint8Array'](_0x39f044);for(;_0x39f044--;)_0x37a681[_0x39f044]=_0x4010c3['charCodeAt'](_0x39f044);return new _0x4b69e9['File']([_0x37a681],'image.'+_0x247595,{'type':_0x33e143});}const _0x18d2f7=_0x51ef22['href']['split']('/'),_0x419b01=_0x18d2f7[_0x18d2f7['length']-0x1],_0x37d244=_0x419b01['split']('.')[0x1];return _0x4b69e9['fetch'](_0x51ef22['href'])['then'](_0x4776d2=>_0x4776d2['clone']()['blob']())['then'](_0x198edb=>new _0x4b69e9['File']([_0x198edb],_0x419b01,{'type':'image/'+_0x37d244}));}}
23
+ import{global as _0x30652b,ObservableMixin as _0x129ddc}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x24c100}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x24a76b}from'ckeditor5/src/icons.js';import _0x4d39e2 from'./uploadcareimageeditformview.js';import _0x312137 from'../../utils/uploadutils.js';import{getImageUrls as _0x146b83,getImageDimension as _0x59bf8a}from'../../utils/editingutils.js';import{isAncestor as _0x43c35a}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x129ddc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f42ea,_0xdb8cbd,_0x52572e){super(),this['_editor']=_0x1f42ea,this['_dialog']=_0xdb8cbd,this['_imageElement']=_0x52572e,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 _0x283c3d=this['_imageElement'],_0x384fc4=_0x283c3d['getAttribute']('uploadcareImageId'),_0x110d74=_0x283c3d['getAttribute']('src');if(_0x384fc4)await this['_loadImageInfo'](_0x384fc4,_0x110d74);else{if(this['_imageCache']['has'](_0x110d74)){const _0x4f79b5=this['_imageCache']['get'](_0x110d74);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f79b5['url'],this['imageDimension']=_0x4f79b5['dimension'],this['imageId']=_0x4f79b5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xcb82ae}=this['_editor'],t=_0xcb82ae['t'],_0x5baa2c=new _0x4d39e2(_0xcb82ae,this['imageStatus'],this['_attributes']);_0x5baa2c['bind']('status')['to'](this,'imageStatus'),_0x5baa2c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5baa2c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5baa2c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5baa2c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24a76b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5baa2c,'position':_0x24c100['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5baa2c['focus']();},'onHide':()=>{_0x5baa2c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c4a39=>!_0x43c35a(_0x4c4a39,_0x5baa2c['element'])}});}['_loadImageInfo'](_0xf08f48,_0x208e51){return _0x312137['getInfo'](_0xf08f48,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x26df52=>{const {width:_0x43959a,height:_0x1e12f1}=_0x26df52['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x208e51,this['imageDimension']={'width':_0x43959a,'height':_0x1e12f1},this['imageId']=_0xf08f48;})['catch'](_0x15e1e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15e1e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x54c8d3,_0x229052){return this['_getImageAsFile'](_0x54c8d3)['then'](_0x152b3a=>_0x312137['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x229052['signal'],'file':_0x152b3a,'onProgress':_0x3274bc=>{_0x3274bc&&_0x3274bc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3274bc['value']));}}))['then'](_0x5e3de5=>{const {width:_0x1e228f,height:_0x345f65}=_0x5e3de5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e3de5['cdnUrl'],this['imageDimension']={'width':_0x1e228f,'height':_0x345f65},this['imageId']=_0x5e3de5['uuid'],this['imageUploadProgress']=null;const _0x436b96=_0x54c8d3['getAttribute']('src');this['_imageCache']['set'](_0x436b96,{'id':_0x5e3de5['uuid'],'url':_0x5e3de5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x15a5d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15a5d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x30b23e,_0x34e7df){_0x30b23e['on']('apply',(_0x25705f,_0x567acf)=>{this['_replaceImage'](_0x34e7df,_0x567acf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x30b23e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x30b23e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3bf687,_0xc3bf1c,_0x75b18c){const _0x35298d=this['_editor'],{width:_0x57f138,height:_0x50e876}=_0x59bf8a(_0xc3bf1c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6145b3,imageSources:_0x5817a7}=_0x146b83(_0xc3bf1c,_0x57f138);_0x35298d['model']['change'](_0xed7922=>{if('$graveyard'===_0x3bf687['root']['rootName']){_0x35298d['execute']('insertImage',{'imageType':_0x3bf687['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3bf687['getAttributes']()),'uploadcareImageId':_0x75b18c,'src':_0x6145b3,'sources':_0x5817a7,'width':_0x57f138,'height':_0x50e876}});const _0x118f4e=_0x3bf687['getChildren']();_0x3bf687=_0x35298d['model']['document']['selection']['getSelectedElement']();for(const _0xe7e247 of _0x118f4e)_0xed7922['append'](_0xed7922['cloneElement'](_0xe7e247),_0x3bf687);}else _0xed7922['setSelection'](_0x3bf687,'on'),_0x35298d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3bf687['getAttributes']()),'uploadcareImageId':_0x75b18c,'src':_0x6145b3,'sources':_0x5817a7,'width':_0x57f138,'height':_0x50e876},_0x3bf687);_0xed7922['setSelection'](_0x3bf687,'on');});}async['_getImageAsFile'](_0x509952){const _0x5c6d7a=_0x30652b['window'],_0x57a829=_0x30652b['document']['location']['href'],_0x3d49a2=new _0x5c6d7a['URL'](_0x509952['getAttribute']('src'),_0x57a829);if('data:'===_0x3d49a2['protocol']){const _0xbae0d1=_0x3d49a2['href']['split'](','),_0x1cd769=_0xbae0d1[0x0]['match'](/:(.*?);/)[0x1],_0x122f5e=_0x1cd769['split']('/')[0x1],_0x29b72a=_0x5c6d7a['atob'](_0xbae0d1[_0xbae0d1['length']-0x1]);let _0x6210c9=_0x29b72a['length'];const _0x54da6f=new _0x5c6d7a['Uint8Array'](_0x6210c9);for(;_0x6210c9--;)_0x54da6f[_0x6210c9]=_0x29b72a['charCodeAt'](_0x6210c9);return new _0x5c6d7a['File']([_0x54da6f],'image.'+_0x122f5e,{'type':_0x1cd769});}const _0x366b82=_0x3d49a2['href']['split']('/'),_0x5b6819=_0x366b82[_0x366b82['length']-0x1],_0x1a2899=_0x5b6819['split']('.')[0x1];return _0x5c6d7a['fetch'](_0x3d49a2['href'])['then'](_0x2536ba=>_0x2536ba['clone']()['blob']())['then'](_0x51bccb=>new _0x5c6d7a['File']([_0x51bccb],_0x5b6819,{'type':'image/'+_0x1a2899}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2101(){const _0x5845f5=['10Uyinvt','imageSrc','setTemplate','ck-uploadcare-theme','6fMqspF','bindTemplate','75151mlDuqE','uc-cloud-image-editor','586360LNDOuh','set','image-edit','447452WWrWCN','1711116eVmAYB','491288djrFXv','uc-light','1006520CfVldq','167472hJQhRo'];_0x2101=function(){return _0x5845f5;};return _0x2101();}(function(_0x2f9745,_0x5a822e){const _0x24781b=_0x1b31,_0x337cdf=_0x2f9745();while(!![]){try{const _0x93c0=-parseInt(_0x24781b(0x8b))/0x1*(-parseInt(_0x24781b(0x96))/0x2)+-parseInt(_0x24781b(0x95))/0x3+-parseInt(_0x24781b(0x90))/0x4+-parseInt(_0x24781b(0x94))/0x5*(parseInt(_0x24781b(0x89))/0x6)+-parseInt(_0x24781b(0x92))/0x7+parseInt(_0x24781b(0x8d))/0x8+parseInt(_0x24781b(0x91))/0x9;if(_0x93c0===_0x5a822e)break;else _0x337cdf['push'](_0x337cdf['shift']());}catch(_0x28f90d){_0x337cdf['push'](_0x337cdf['shift']());}}}(_0x2101,0x30d3f));function _0x1b31(_0x35fa5a,_0x2247e6){const _0x21013a=_0x2101();return _0x1b31=function(_0x1b319d,_0xca173d){_0x1b319d=_0x1b319d-0x87;let _0x182042=_0x21013a[_0x1b319d];return _0x182042;},_0x1b31(_0x35fa5a,_0x2247e6);}import{View as _0x266588}from'ckeditor5/src/ui.js';export default class tt extends _0x266588{constructor(_0x29de99,_0x15fa58){const _0x39fa41=_0x1b31;super(_0x29de99);const _0x1b4e47=this[_0x39fa41(0x8a)];this[_0x39fa41(0x8e)](_0x39fa41(0x97),''),this[_0x39fa41(0x87)]({'tag':_0x39fa41(0x8c),'attributes':{..._0x15fa58,'class':[_0x39fa41(0x93),_0x39fa41(0x88)],'ctx-name':_0x39fa41(0x8f),'cdn-url':_0x1b4e47['to'](_0x39fa41(0x97))}});}}
23
+ function _0x2806(_0x4b556e,_0xf81034){const _0x1913b0=_0x1913();return _0x2806=function(_0x2806da,_0xb6575f){_0x2806da=_0x2806da-0x157;let _0x2ea8eb=_0x1913b0[_0x2806da];return _0x2ea8eb;},_0x2806(_0x4b556e,_0xf81034);}function _0x1913(){const _0xae3730=['ck-uploadcare-theme','40geueqi','8166033MjJEKz','uc-cloud-image-editor','8emGrTs','93270xOXpUi','imageSrc','28726951IhreyZ','uc-light','5171292VcLlYW','149IiIuid','bindTemplate','image-edit','10821156OiRRMI','10brVlti','3166800edBZVE','11330wpIOxo','setTemplate','set'];_0x1913=function(){return _0xae3730;};return _0x1913();}(function(_0x21aae4,_0x2689d5){const _0x124aca=_0x2806,_0x11802c=_0x21aae4();while(!![]){try{const _0x16bba8=parseInt(_0x124aca(0x158))/0x1*(parseInt(_0x124aca(0x15e))/0x2)+parseInt(_0x124aca(0x166))/0x3*(parseInt(_0x124aca(0x162))/0x4)+parseInt(_0x124aca(0x15d))/0x5+-parseInt(_0x124aca(0x15b))/0x6+-parseInt(_0x124aca(0x157))/0x7+-parseInt(_0x124aca(0x165))/0x8*(parseInt(_0x124aca(0x163))/0x9)+parseInt(_0x124aca(0x15c))/0xa*(parseInt(_0x124aca(0x168))/0xb);if(_0x16bba8===_0x2689d5)break;else _0x11802c['push'](_0x11802c['shift']());}catch(_0x27b4e2){_0x11802c['push'](_0x11802c['shift']());}}}(_0x1913,0xe7ffb));import{View as _0x493504}from'ckeditor5/src/ui.js';export default class tt extends _0x493504{constructor(_0x504ec9,_0x4502c8){const _0xa21d7b=_0x2806;super(_0x504ec9);const _0x30528f=this[_0xa21d7b(0x159)];this[_0xa21d7b(0x160)](_0xa21d7b(0x167),''),this[_0xa21d7b(0x15f)]({'tag':_0xa21d7b(0x164),'attributes':{..._0x4502c8,'class':[_0xa21d7b(0x169),_0xa21d7b(0x161)],'ctx-name':_0xa21d7b(0x15a),'cdn-url':_0x30528f['to'](_0xa21d7b(0x167))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x8bcff0,IconView as at,View as _0x5b7547}from'ckeditor5/src/ui.js';export default class rt extends _0x5b7547{constructor(_0x2cf2c3){super(_0x2cf2c3);const t=_0x2cf2c3['t'];this['set']('errorType',null);const _0x56ca69=new _0x8bcff0(_0x2cf2c3);_0x56ca69['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x56ca69['withText']=!0x0,_0x56ca69['class']='ck-button-action',_0x56ca69['on']('execute',()=>{this['fire']('retry');}),_0x56ca69['bind']('isVisible')['to'](this,'errorType',_0x1597c0=>'NotFound'!==_0x1597c0);const _0x45bdb9=new at();_0x45bdb9['content']=et,_0x45bdb9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x324570=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':[_0x45bdb9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x324570['to']('errorType',_0xfa2d28=>t('NotFound'!==_0xfa2d28?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x56ca69]},{'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 _0xe2c891,IconView as at,View as _0x53b406}from'ckeditor5/src/ui.js';export default class rt extends _0x53b406{constructor(_0x170ff3){super(_0x170ff3);const t=_0x170ff3['t'];this['set']('errorType',null);const _0x2295c3=new _0xe2c891(_0x170ff3);_0x2295c3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2295c3['withText']=!0x0,_0x2295c3['class']='ck-button-action',_0x2295c3['on']('execute',()=>{this['fire']('retry');}),_0x2295c3['bind']('isVisible')['to'](this,'errorType',_0x136880=>'NotFound'!==_0x136880);const _0x243ef2=new at();_0x243ef2['content']=et,_0x243ef2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57ddf5=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':[_0x243ef2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57ddf5['to']('errorType',_0x4a0305=>t('NotFound'!==_0x4a0305?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2295c3]},{'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 _0x3bfbe3,View as _0x1176cd}from'ckeditor5/src/ui.js';export default class ta extends _0x1176cd{constructor(_0x339950){super(_0x339950);const t=_0x339950['t'],_0x29ea55=this['bindTemplate'],_0x1ecc02=new _0x3bfbe3();_0x1ecc02['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':[_0x1ecc02,{'text':_0x29ea55['to']('imageUploadProgress',_0x4faaab=>t('Loading\x20image...')+'\x20('+(_0x4faaab||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 _0x1137fe,View as _0x1235bc}from'ckeditor5/src/ui.js';export default class ta extends _0x1235bc{constructor(_0x826c04){super(_0x826c04);const t=_0x826c04['t'],_0x52f2c4=this['bindTemplate'],_0x2cf6ba=new _0x1137fe();_0x2cf6ba['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':[_0x2cf6ba,{'text':_0x52f2c4['to']('imageUploadProgress',_0x5d718a=>t('Loading\x20image...')+'\x20('+(_0x5d718a||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 _0x62da4c=_0x4184;(function(_0x40b756,_0x372a24){const _0x165542=_0x4184,_0x2bd3d1=_0x40b756();while(!![]){try{const _0x40421c=-parseInt(_0x165542(0x1fa))/0x1+parseInt(_0x165542(0x1eb))/0x2*(parseInt(_0x165542(0x1e9))/0x3)+parseInt(_0x165542(0x1da))/0x4*(-parseInt(_0x165542(0x1d7))/0x5)+parseInt(_0x165542(0x1e6))/0x6*(-parseInt(_0x165542(0x1cc))/0x7)+-parseInt(_0x165542(0x1ea))/0x8*(parseInt(_0x165542(0x1ff))/0x9)+-parseInt(_0x165542(0x1d5))/0xa+parseInt(_0x165542(0x1df))/0xb;if(_0x40421c===_0x372a24)break;else _0x2bd3d1['push'](_0x2bd3d1['shift']());}catch(_0x2c8a69){_0x2bd3d1['push'](_0x2bd3d1['shift']());}}}(_0x779d,0xcaa82));function _0x779d(){const _0x235ab8=['1459060gRUHTI','once','retry','_items','addMany','1746EUIKlw','element','_waitForImageEditorComponent','_setView','clear','3794erJSVW','addEventListener','fire','length','nodeName','disconnect','target','error','set','14882380DFWqfK','cancel','11395ikRhLy','ck-reset_all-excluded','status','4xooztu','apply','add','uc-cloud-image-editor','querySelector','59017585uhdPEn','detail','focus','cdnUrl','_loadingView','addedNodes','_errorView','3018oUERmJ','uploading','_addErrorViewListeners','59382HWfpYn','59856yhmJxt','14cLHHBg','_addUploadcareImageEditorListeners','_editingView','ck-uploadcare-form','setTemplate','_focusableView','toLowerCase','ready','observe','render','change:status','filter','createCollection','getFocusableElement','div'];_0x779d=function(){return _0x235ab8;};return _0x779d();}import{View as _0x69111c}from'ckeditor5/src/ui.js';import _0x2630ae from'./uploadcareimageeditformloadingview.js';import _0x4c2d3b from'./uploadcareimageeditformerrorview.js';import _0x3d3abd from'./uploadcareimageeditformeditingview.js';import _0x5d9bd8 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4184(_0x158bc9,_0x5d66e4){const _0x779d5d=_0x779d();return _0x4184=function(_0x4184e4,_0x44eb7f){_0x4184e4=_0x4184e4-0x1c8;let _0x1f5b78=_0x779d5d[_0x4184e4];return _0x1f5b78;},_0x4184(_0x158bc9,_0x5d66e4);}export default class Z extends _0x5d9bd8{[_0x62da4c(0x1fd)];[_0x62da4c(0x1e3)];[_0x62da4c(0x1e5)];[_0x62da4c(0x1ed)];[_0x62da4c(0x1f0)];constructor(_0x1fe61a,_0x4fda29,_0x3412ee){const _0x5c1e01=_0x62da4c;super(_0x1fe61a),this[_0x5c1e01(0x1fd)]=this[_0x5c1e01(0x1f7)](),this[_0x5c1e01(0x1e3)]=new _0x2630ae(_0x1fe61a),this[_0x5c1e01(0x1e5)]=new _0x4c2d3b(_0x1fe61a),this[_0x5c1e01(0x1ed)]=new _0x3d3abd(_0x1fe61a,_0x3412ee),this[_0x5c1e01(0x1f0)]=new _0x69111c(_0x1fe61a),this[_0x5c1e01(0x1f0)][_0x5c1e01(0x1ef)](this[_0x5c1e01(0x1f8)]()),this[_0x5c1e01(0x1d4)](_0x5c1e01(0x1d9),_0x4fda29),this[_0x5c1e01(0x1ef)]({'tag':_0x5c1e01(0x1f9),'attributes':{'class':['ck',_0x5c1e01(0x1d8),_0x5c1e01(0x1ee)],'tabindex':'-1'},'children':this[_0x5c1e01(0x1fd)]}),this[_0x5c1e01(0x1ca)](),this[_0x5c1e01(0x1fb)](_0x5c1e01(0x1f4),()=>{const _0x3322d6=_0x5c1e01;this[_0x3322d6(0x1c9)](this[_0x3322d6(0x1c8)],_0x473129=>{const _0x119777=_0x3322d6;this[_0x119777(0x1ec)](_0x473129);});}),this['on'](_0x5c1e01(0x1f5),()=>{const _0x389ed2=_0x5c1e01;this[_0x389ed2(0x1ca)]();}),this[_0x5c1e01(0x1e8)]();}[_0x62da4c(0x1e1)](){const _0x5ec0f0=_0x62da4c;this[_0x5ec0f0(0x1c8)][_0x5ec0f0(0x1e1)]();}[_0x62da4c(0x1ca)](){const _0x190c27=_0x62da4c;switch(this[_0x190c27(0x1fd)][_0x190c27(0x1cb)](),this[_0x190c27(0x1d9)]){case _0x190c27(0x1e7):this[_0x190c27(0x1fd)][_0x190c27(0x1dc)](this[_0x190c27(0x1e3)]);break;case _0x190c27(0x1d3):this[_0x190c27(0x1fd)][_0x190c27(0x1dc)](this[_0x190c27(0x1e5)]);break;case _0x190c27(0x1f2):this[_0x190c27(0x1fd)][_0x190c27(0x1fe)]([this[_0x190c27(0x1ed)],this[_0x190c27(0x1f0)]]);}}[_0x62da4c(0x1c9)](_0x1baf86,_0x506d43){const _0x148b3b=_0x62da4c,_0x3f0476=_0x148b3b(0x1dd),_0x2420e0=_0x1baf86[_0x148b3b(0x1de)](_0x3f0476);if(_0x2420e0)return _0x506d43(_0x2420e0);const _0x24cd81=new MutationObserver(_0x260271=>{const _0x3a264e=_0x148b3b,_0x2fea5c=_0x260271[_0x3a264e(0x1f6)](_0x3010ce=>_0x3010ce[_0x3a264e(0x1d2)]===_0x1baf86&&_0x3010ce[_0x3a264e(0x1e4)][_0x3a264e(0x1cf)]>0x0&&_0x3010ce[_0x3a264e(0x1e4)][0x0][_0x3a264e(0x1d0)][_0x3a264e(0x1f1)]()===_0x3f0476);_0x2fea5c[_0x3a264e(0x1cf)]&&(_0x24cd81[_0x3a264e(0x1d1)](),_0x506d43(_0x2fea5c[0x0][_0x3a264e(0x1e4)][0x0]));});_0x24cd81[_0x148b3b(0x1f3)](_0x1baf86,{'childList':!0x0,'subtree':!0x0});}[_0x62da4c(0x1ec)](_0x13acef){const _0x4aca2c=_0x62da4c;_0x13acef[_0x4aca2c(0x1cd)](_0x4aca2c(0x1db),_0x4105cb=>{const _0x12e3a6=_0x4aca2c;this[_0x12e3a6(0x1ce)](_0x12e3a6(0x1db),{'imageSrc':_0x4105cb[_0x12e3a6(0x1e0)][_0x12e3a6(0x1e2)]});}),_0x13acef[_0x4aca2c(0x1cd)](_0x4aca2c(0x1d6),()=>{const _0x309465=_0x4aca2c;this[_0x309465(0x1ce)](_0x309465(0x1d6));});}[_0x62da4c(0x1e8)](){const _0x151ec4=_0x62da4c;this[_0x151ec4(0x1e5)]['on'](_0x151ec4(0x1fc),()=>{const _0x498529=_0x151ec4;this[_0x498529(0x1ce)](_0x498529(0x1fc));});}}
23
+ const _0x2acfd8=_0x3669;(function(_0x5f22e6,_0x36f634){const _0xbfbc2c=_0x3669,_0x36bf16=_0x5f22e6();while(!![]){try{const _0x5c4a3e=parseInt(_0xbfbc2c(0xcf))/0x1*(parseInt(_0xbfbc2c(0xc4))/0x2)+-parseInt(_0xbfbc2c(0xbc))/0x3+parseInt(_0xbfbc2c(0xb4))/0x4+parseInt(_0xbfbc2c(0xbd))/0x5+-parseInt(_0xbfbc2c(0xb9))/0x6+parseInt(_0xbfbc2c(0xd0))/0x7*(parseInt(_0xbfbc2c(0xd9))/0x8)+parseInt(_0xbfbc2c(0xb5))/0x9;if(_0x5c4a3e===_0x36f634)break;else _0x36bf16['push'](_0x36bf16['shift']());}catch(_0x123a45){_0x36bf16['push'](_0x36bf16['shift']());}}}(_0x1f5c,0x263a3));import{View as _0x12e8ce}from'ckeditor5/src/ui.js';import _0x303508 from'./uploadcareimageeditformloadingview.js';function _0x3669(_0x574fa3,_0x3c7d54){const _0x1f5c48=_0x1f5c();return _0x3669=function(_0x3669b3,_0x520eaa){_0x3669b3=_0x3669b3-0xb4;let _0x4ce354=_0x1f5c48[_0x3669b3];return _0x4ce354;},_0x3669(_0x574fa3,_0x3c7d54);}function _0x1f5c(){const _0x484530=['_errorView','fire','617376QbNAjS','target','apply','800529JCyrKI','991490doLCib','_items','change:status','disconnect','querySelector','_waitForImageEditorComponent','observe','2hhvobO','ready','render','_addErrorViewListeners','add','retry','cdnUrl','_loadingView','detail','_editingView','filter','46617agbZfb','127603kkRRhx','toLowerCase','_addUploadcareImageEditorListeners','ck-uploadcare-form','clear','_setView','createCollection','getFocusableElement','error','16UrIMnl','nodeName','_focusableView','set','uploading','focus','setTemplate','ck-reset_all-excluded','addEventListener','addedNodes','once','addMany','div','element','cancel','status','length','596976suFnDc','861309ezRMOF','uc-cloud-image-editor'];_0x1f5c=function(){return _0x484530;};return _0x1f5c();}import _0x19d456 from'./uploadcareimageeditformerrorview.js';import _0x3bbc67 from'./uploadcareimageeditformeditingview.js';import _0x1f5b88 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x1f5b88{[_0x2acfd8(0xbe)];[_0x2acfd8(0xcb)];[_0x2acfd8(0xb7)];[_0x2acfd8(0xcd)];[_0x2acfd8(0xdb)];constructor(_0xc5f76,_0x5c0724,_0x4c3618){const _0x211d31=_0x2acfd8;super(_0xc5f76),this[_0x211d31(0xbe)]=this[_0x211d31(0xd6)](),this[_0x211d31(0xcb)]=new _0x303508(_0xc5f76),this[_0x211d31(0xb7)]=new _0x19d456(_0xc5f76),this[_0x211d31(0xcd)]=new _0x3bbc67(_0xc5f76,_0x4c3618),this[_0x211d31(0xdb)]=new _0x12e8ce(_0xc5f76),this[_0x211d31(0xdb)][_0x211d31(0xdf)](this[_0x211d31(0xd7)]()),this[_0x211d31(0xdc)](_0x211d31(0xe8),_0x5c0724),this[_0x211d31(0xdf)]({'tag':_0x211d31(0xe5),'attributes':{'class':['ck',_0x211d31(0xe0),_0x211d31(0xd3)],'tabindex':'-1'},'children':this[_0x211d31(0xbe)]}),this[_0x211d31(0xd5)](),this[_0x211d31(0xe3)](_0x211d31(0xc6),()=>{const _0x341e04=_0x211d31;this[_0x341e04(0xc2)](this[_0x341e04(0xe6)],_0x4aab08=>{const _0x10f175=_0x341e04;this[_0x10f175(0xd2)](_0x4aab08);});}),this['on'](_0x211d31(0xbf),()=>{const _0xf4075c=_0x211d31;this[_0xf4075c(0xd5)]();}),this[_0x211d31(0xc7)]();}[_0x2acfd8(0xde)](){const _0x36aff5=_0x2acfd8;this[_0x36aff5(0xe6)][_0x36aff5(0xde)]();}[_0x2acfd8(0xd5)](){const _0x9b30f=_0x2acfd8;switch(this[_0x9b30f(0xbe)][_0x9b30f(0xd4)](),this[_0x9b30f(0xe8)]){case _0x9b30f(0xdd):this[_0x9b30f(0xbe)][_0x9b30f(0xc8)](this[_0x9b30f(0xcb)]);break;case _0x9b30f(0xd8):this[_0x9b30f(0xbe)][_0x9b30f(0xc8)](this[_0x9b30f(0xb7)]);break;case _0x9b30f(0xc5):this[_0x9b30f(0xbe)][_0x9b30f(0xe4)]([this[_0x9b30f(0xcd)],this[_0x9b30f(0xdb)]]);}}[_0x2acfd8(0xc2)](_0x1b5ab4,_0x21a126){const _0x58b80d=_0x2acfd8,_0x52a644=_0x58b80d(0xb6),_0x39365c=_0x1b5ab4[_0x58b80d(0xc1)](_0x52a644);if(_0x39365c)return _0x21a126(_0x39365c);const _0x5dde5b=new MutationObserver(_0x328114=>{const _0x335936=_0x58b80d,_0x263efe=_0x328114[_0x335936(0xce)](_0x45b918=>_0x45b918[_0x335936(0xba)]===_0x1b5ab4&&_0x45b918[_0x335936(0xe2)][_0x335936(0xe9)]>0x0&&_0x45b918[_0x335936(0xe2)][0x0][_0x335936(0xda)][_0x335936(0xd1)]()===_0x52a644);_0x263efe[_0x335936(0xe9)]&&(_0x5dde5b[_0x335936(0xc0)](),_0x21a126(_0x263efe[0x0][_0x335936(0xe2)][0x0]));});_0x5dde5b[_0x58b80d(0xc3)](_0x1b5ab4,{'childList':!0x0,'subtree':!0x0});}[_0x2acfd8(0xd2)](_0x4c0228){const _0x5ede0f=_0x2acfd8;_0x4c0228[_0x5ede0f(0xe1)](_0x5ede0f(0xbb),_0x4cd851=>{const _0x3a84d0=_0x5ede0f;this[_0x3a84d0(0xb8)](_0x3a84d0(0xbb),{'imageSrc':_0x4cd851[_0x3a84d0(0xcc)][_0x3a84d0(0xca)]});}),_0x4c0228[_0x5ede0f(0xe1)](_0x5ede0f(0xe7),()=>{const _0x3297f1=_0x5ede0f;this[_0x3297f1(0xb8)](_0x3297f1(0xe7));});}[_0x2acfd8(0xc7)](){const _0x43599f=_0x2acfd8;this[_0x43599f(0xb7)]['on'](_0x43599f(0xc9),()=>{const _0x4e3478=_0x43599f;this[_0x4e3478(0xb8)](_0x4e3478(0xc9));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x521b2e=_0x4f6b;(function(_0x1a65a1,_0x2333eb){const _0x3c5482=_0x4f6b,_0x5ba57b=_0x1a65a1();while(!![]){try{const _0x41abbb=-parseInt(_0x3c5482(0x1ab))/0x1*(-parseInt(_0x3c5482(0x19f))/0x2)+-parseInt(_0x3c5482(0x19a))/0x3+parseInt(_0x3c5482(0x193))/0x4*(-parseInt(_0x3c5482(0x1b1))/0x5)+-parseInt(_0x3c5482(0x1a2))/0x6+parseInt(_0x3c5482(0x19e))/0x7+-parseInt(_0x3c5482(0x1a7))/0x8*(parseInt(_0x3c5482(0x196))/0x9)+parseInt(_0x3c5482(0x1a3))/0xa*(parseInt(_0x3c5482(0x191))/0xb);if(_0x41abbb===_0x2333eb)break;else _0x5ba57b['push'](_0x5ba57b['shift']());}catch(_0x3ac740){_0x5ba57b['push'](_0x5ba57b['shift']());}}}(_0x140f,0x4e219));import{Command as _0x391cb3}from'ckeditor5/src/core.js';function _0x4f6b(_0x4c1864,_0x881f21){const _0x140fb8=_0x140f();return _0x4f6b=function(_0x4f6b0e,_0x576e4e){_0x4f6b0e=_0x4f6b0e-0x191;let _0x41cee3=_0x140fb8[_0x4f6b0e];return _0x41cee3;},_0x4f6b(_0x4c1864,_0x881f21);}import{Dialog as _0x5d3821}from'ckeditor5/src/ui.js';import _0x290476 from'./ui/uploadcareimageeditcontroller.js';function _0x140f(){const _0x11d281=['get','imageBlock','refresh','234834yLoKmk','editor','uploadcare.allowExternalImagesEditing','set','1671138gSTBZm','1614tmrwmo','imageEditController','document','993792PTNmEk','6370990iuzjBW','getSelectedElement','isActive','selection','48ftmqcR','model','execute','_isEditable','473bUHaJX','imageInline','plugins','isEnabled','element','unbind','363505irWOEY','11Yuzrfp','bind','12PCzckJ','requires','config','713259cnjmFm'];_0x140f=function(){return _0x11d281;};return _0x140f();}import{createEditabilityChecker as _0x40c4d0}from'../utils/editingutils.js';export default class V extends _0x391cb3{[_0x521b2e(0x1a0)];static get[_0x521b2e(0x194)](){return[_0x5d3821];}[_0x521b2e(0x1aa)];constructor(_0x330c0c){const _0xf3c435=_0x521b2e;super(_0x330c0c),this[_0xf3c435(0x1a0)]=void 0x0,this[_0xf3c435(0x1aa)]=_0x40c4d0(_0x330c0c[_0xf3c435(0x195)][_0xf3c435(0x197)](_0xf3c435(0x19c))||[]),this[_0xf3c435(0x19d)]({'isActive':!0x1});}[_0x521b2e(0x199)](){const _0x2a9b9a=_0x521b2e,_0x303935=this[_0x2a9b9a(0x19b)][_0x2a9b9a(0x1a8)][_0x2a9b9a(0x1a1)][_0x2a9b9a(0x1a6)][_0x2a9b9a(0x1a4)]();this[_0x2a9b9a(0x1ae)]=this[_0x2a9b9a(0x1aa)](_0x303935);}[_0x521b2e(0x1a9)](){const _0x569147=_0x521b2e;this[_0x569147(0x1a0)]&&(this[_0x569147(0x1b0)](_0x569147(0x1a5)),this[_0x569147(0x1a0)]=void 0x0);const _0x4cbb41=this[_0x569147(0x19b)][_0x569147(0x1a8)][_0x569147(0x1a1)][_0x569147(0x1a6)][_0x569147(0x1a4)]();_0x4cbb41&&(_0x4cbb41['is'](_0x569147(0x1af),_0x569147(0x198))||_0x4cbb41['is'](_0x569147(0x1af),_0x569147(0x1ac)))&&(this[_0x569147(0x1a0)]=new _0x290476(this[_0x569147(0x19b)],this[_0x569147(0x19b)][_0x569147(0x1ad)][_0x569147(0x197)](_0x5d3821),_0x4cbb41),this[_0x569147(0x192)](_0x569147(0x1a5))['to'](this[_0x569147(0x1a0)],_0x569147(0x1a5)));}}
23
+ const _0x174044=_0x326a;(function(_0x31ea54,_0x1ea430){const _0x1561a7=_0x326a,_0x273226=_0x31ea54();while(!![]){try{const _0x1a2d14=-parseInt(_0x1561a7(0x1a9))/0x1*(parseInt(_0x1561a7(0x19c))/0x2)+-parseInt(_0x1561a7(0x1aa))/0x3*(parseInt(_0x1561a7(0x1ae))/0x4)+-parseInt(_0x1561a7(0x1a2))/0x5+parseInt(_0x1561a7(0x1a1))/0x6+parseInt(_0x1561a7(0x1a3))/0x7*(parseInt(_0x1561a7(0x1b0))/0x8)+-parseInt(_0x1561a7(0x1af))/0x9+-parseInt(_0x1561a7(0x19a))/0xa*(-parseInt(_0x1561a7(0x1ac))/0xb);if(_0x1a2d14===_0x1ea430)break;else _0x273226['push'](_0x273226['shift']());}catch(_0x573439){_0x273226['push'](_0x273226['shift']());}}}(_0x3a80,0x9a436));import{Command as _0x3147f1}from'ckeditor5/src/core.js';import{Dialog as _0x467725}from'ckeditor5/src/ui.js';function _0x3a80(){const _0x20d2e2=['81252ZtjQHb','837882WpIoXU','8nQExEt','set','plugins','element','execute','editor','model','unbind','get','bind','getSelectedElement','391910vsySrr','document','396692gTHzcI','isActive','uploadcare.allowExternalImagesEditing','_isEditable','imageInline','4705680GoxoPO','6047955LugLiS','1839229bnDloM','refresh','isEnabled','requires','selection','config','4LInfed','18tbzswl','imageEditController','506DyRzqM','imageBlock'];_0x3a80=function(){return _0x20d2e2;};return _0x3a80();}import _0x49615e from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1b14e9}from'../utils/editingutils.js';function _0x326a(_0x212fbe,_0xe5930){const _0x3a804c=_0x3a80();return _0x326a=function(_0x326a59,_0x410139){_0x326a59=_0x326a59-0x193;let _0x122017=_0x3a804c[_0x326a59];return _0x122017;},_0x326a(_0x212fbe,_0xe5930);}export default class J extends _0x3147f1{[_0x174044(0x1ab)];static get[_0x174044(0x1a6)](){return[_0x467725];}[_0x174044(0x19f)];constructor(_0xd564a6){const _0x1472c2=_0x174044;super(_0xd564a6),this[_0x1472c2(0x1ab)]=void 0x0,this[_0x1472c2(0x19f)]=_0x1b14e9(_0xd564a6[_0x1472c2(0x1a8)][_0x1472c2(0x197)](_0x1472c2(0x19e))||[]),this[_0x1472c2(0x1b1)]({'isActive':!0x1});}[_0x174044(0x1a4)](){const _0x246e71=_0x174044,_0x4cc8fd=this[_0x246e71(0x194)][_0x246e71(0x195)][_0x246e71(0x19b)][_0x246e71(0x1a7)][_0x246e71(0x199)]();this[_0x246e71(0x1a5)]=this[_0x246e71(0x19f)](_0x4cc8fd);}[_0x174044(0x193)](){const _0x4eac82=_0x174044;this[_0x4eac82(0x1ab)]&&(this[_0x4eac82(0x196)](_0x4eac82(0x19d)),this[_0x4eac82(0x1ab)]=void 0x0);const _0x496d53=this[_0x4eac82(0x194)][_0x4eac82(0x195)][_0x4eac82(0x19b)][_0x4eac82(0x1a7)][_0x4eac82(0x199)]();_0x496d53&&(_0x496d53['is'](_0x4eac82(0x1b3),_0x4eac82(0x1ad))||_0x496d53['is'](_0x4eac82(0x1b3),_0x4eac82(0x1a0)))&&(this[_0x4eac82(0x1ab)]=new _0x49615e(this[_0x4eac82(0x194)],this[_0x4eac82(0x194)][_0x4eac82(0x1b2)][_0x4eac82(0x197)](_0x467725),_0x496d53),this[_0x4eac82(0x198)](_0x4eac82(0x19d))['to'](this[_0x4eac82(0x1ab)],_0x4eac82(0x19d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f9531=_0x3349;(function(_0x50144c,_0x26fb6d){const _0x248830=_0x3349,_0x5a13d5=_0x50144c();while(!![]){try{const _0x320f85=-parseInt(_0x248830(0x17a))/0x1+-parseInt(_0x248830(0x17b))/0x2*(-parseInt(_0x248830(0x18a))/0x3)+parseInt(_0x248830(0x190))/0x4*(parseInt(_0x248830(0x17f))/0x5)+parseInt(_0x248830(0x18d))/0x6+-parseInt(_0x248830(0x180))/0x7+-parseInt(_0x248830(0x187))/0x8*(parseInt(_0x248830(0x17e))/0x9)+parseInt(_0x248830(0x17d))/0xa*(-parseInt(_0x248830(0x189))/0xb);if(_0x320f85===_0x26fb6d)break;else _0x5a13d5['push'](_0x5a13d5['shift']());}catch(_0x1a5674){_0x5a13d5['push'](_0x5a13d5['shift']());}}}(_0x1924,0x831e6));import{Plugin as _0x57e350}from'ckeditor5/src/core.js';import{Notification as _0x4a7345}from'ckeditor5/src/ui.js';function _0x3349(_0x1fec24,_0x1464b7){const _0x1924b4=_0x1924();return _0x3349=function(_0x334901,_0x556db2){_0x334901=_0x334901-0x17a;let _0x165be2=_0x1924b4[_0x334901];return _0x165be2;},_0x3349(_0x1fec24,_0x1464b7);}import _0x56400e from'./uploadcareimageeditcommand.js';function _0x1924(){const _0x3953b1=['uploadcareImageReplace','add','8vSZAOy','ImageEditing','11xnxawA','20976rxWwDm','init','ImageUtils','5011446HvcJLT','isPremiumPlugin','isOfficialPlugin','127240LtNjLK','88360rTjhrW','302cGkoMy','requires','8141390Dnbfkk','1279899yvuqMk','65yfsVPg','5059537GIcrXp','UploadcareImageEditEditing','commands','uploadcareImageEdit','pluginName'];_0x1924=function(){return _0x3953b1;};return _0x1924();}import _0x3fa896 from'./uploadcareimagereplacecommand.js';import _0x38d24a from'../uploadcareediting.js';export default class g extends _0x57e350{static get[_0x2f9531(0x184)](){const _0x4832cf=_0x2f9531;return _0x4832cf(0x181);}static get[_0x2f9531(0x17c)](){const _0x36feed=_0x2f9531;return[_0x38d24a,_0x4a7345,_0x36feed(0x18c),_0x36feed(0x188)];}static get[_0x2f9531(0x18f)](){return!0x0;}static get[_0x2f9531(0x18e)](){return!0x0;}[_0x2f9531(0x18b)](){const _0x3eda48=_0x2f9531,{editor:_0x4d02dc}=this;_0x4d02dc[_0x3eda48(0x182)][_0x3eda48(0x186)](_0x3eda48(0x183),new _0x56400e(_0x4d02dc)),_0x4d02dc[_0x3eda48(0x182)][_0x3eda48(0x186)](_0x3eda48(0x185),new _0x3fa896(_0x4d02dc));}}
23
+ const _0x1eec6c=_0x2277;function _0x2277(_0x374645,_0x3ffa2f){const _0x221d9e=_0x221d();return _0x2277=function(_0x2277e1,_0x2d7331){_0x2277e1=_0x2277e1-0x160;let _0x32030b=_0x221d9e[_0x2277e1];return _0x32030b;},_0x2277(_0x374645,_0x3ffa2f);}(function(_0x4a39a7,_0x39165a){const _0x18a030=_0x2277,_0x4004ba=_0x4a39a7();while(!![]){try{const _0x5a38de=-parseInt(_0x18a030(0x16f))/0x1*(parseInt(_0x18a030(0x175))/0x2)+parseInt(_0x18a030(0x164))/0x3*(-parseInt(_0x18a030(0x16b))/0x4)+parseInt(_0x18a030(0x16a))/0x5*(-parseInt(_0x18a030(0x16c))/0x6)+parseInt(_0x18a030(0x179))/0x7*(parseInt(_0x18a030(0x166))/0x8)+parseInt(_0x18a030(0x178))/0x9*(-parseInt(_0x18a030(0x161))/0xa)+parseInt(_0x18a030(0x176))/0xb*(-parseInt(_0x18a030(0x160))/0xc)+-parseInt(_0x18a030(0x174))/0xd*(-parseInt(_0x18a030(0x165))/0xe);if(_0x5a38de===_0x39165a)break;else _0x4004ba['push'](_0x4004ba['shift']());}catch(_0x4b64c8){_0x4004ba['push'](_0x4004ba['shift']());}}}(_0x221d,0x61707));function _0x221d(){const _0x462c57=['isPremiumPlugin','init','ImageUtils','117VBaEPv','446GqluNg','584881UoVgfr','UploadcareImageEditEditing','1344321sYLYdU','7TUwjZP','12akLPcF','10qtHGoW','add','uploadcareImageEdit','3HJnQGf','2303518kLqtAG','1091072MnOwUA','uploadcareImageReplace','pluginName','requires','2961925pRXtno','302096gVSXiB','6dAztKv','isOfficialPlugin','commands','1559GryXsL','ImageEditing'];_0x221d=function(){return _0x462c57;};return _0x221d();}import{Plugin as _0x4af499}from'ckeditor5/src/core.js';import{Notification as _0x371e7f}from'ckeditor5/src/ui.js';import _0x4bb0f7 from'./uploadcareimageeditcommand.js';import _0xc13a1a from'./uploadcareimagereplacecommand.js';import _0x37dcd5 from'../uploadcareediting.js';export default class g extends _0x4af499{static get[_0x1eec6c(0x168)](){const _0x4b835f=_0x1eec6c;return _0x4b835f(0x177);}static get[_0x1eec6c(0x169)](){const _0x1b1998=_0x1eec6c;return[_0x37dcd5,_0x371e7f,_0x1b1998(0x173),_0x1b1998(0x170)];}static get[_0x1eec6c(0x16d)](){return!0x0;}static get[_0x1eec6c(0x171)](){return!0x0;}[_0x1eec6c(0x172)](){const _0x234f82=_0x1eec6c,{editor:_0x37c7d0}=this;_0x37c7d0[_0x234f82(0x16e)][_0x234f82(0x162)](_0x234f82(0x163),new _0x4bb0f7(_0x37c7d0)),_0x37c7d0[_0x234f82(0x16e)][_0x234f82(0x162)](_0x234f82(0x167),new _0xc13a1a(_0x37c7d0));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4b7e03}from'ckeditor5/src/core.js';import{ButtonView as _0x25f324}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x35681c}from'ckeditor5/src/icons.js';import{createElement as _0x1fde5c}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 _0x4b7e03{['_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 _0x2bfd51=this['editor'];_0x2bfd51['ui']['componentFactory']['add']('uploadcareImageEdit',_0x28ddc8=>{const _0x492d3e=_0x2bfd51['commands']['get']('uploadcareImageEdit'),_0x2f008a=new _0x25f324(_0x28ddc8),t=_0x28ddc8['t'];return _0x2f008a['set']({'icon':_0x35681c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f008a['bind']('isEnabled')['to'](_0x492d3e),_0x2f008a['bind']('isOn')['to'](_0x492d3e,'isActive'),this['listenTo'](_0x2f008a,'execute',()=>{_0x2bfd51['execute']('uploadcareImageEdit'),_0x2bfd51['editing']['view']['focus']();}),_0x2f008a;}),this['_initConfig']();}['_initConfig'](){const _0x52f2f9=_0x1fde5c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x52f2f9),this['listenTo'](this['editor'],'destroy',()=>{_0x52f2f9['remove']();});}}
23
+ import{Plugin as _0x221c6b}from'ckeditor5/src/core.js';import{ButtonView as _0x4d1c8c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x245e2a}from'ckeditor5/src/icons.js';import{createElement as _0x55ef93}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 _0x221c6b{['_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 _0x112ab2=this['editor'];_0x112ab2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x457256=>{const _0x237884=_0x112ab2['commands']['get']('uploadcareImageEdit'),_0x158ac2=new _0x4d1c8c(_0x457256),t=_0x457256['t'];return _0x158ac2['set']({'icon':_0x245e2a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x158ac2['bind']('isEnabled')['to'](_0x237884),_0x158ac2['bind']('isOn')['to'](_0x237884,'isActive'),this['listenTo'](_0x158ac2,'execute',()=>{_0x112ab2['execute']('uploadcareImageEdit'),_0x112ab2['editing']['view']['focus']();}),_0x158ac2;}),this['_initConfig']();}['_initConfig'](){const _0x3c1da0=_0x55ef93(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c1da0),this['listenTo'](this['editor'],'destroy',()=>{_0x3c1da0['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e48(){const _0x3ac3ef=['imageBlock','215652amDcez','editor','sizes','11dBOhpP','8GBjlBC','selection','document','refresh','imageInline','removeAttribute','55sKyqqk','change','12916390hiVdcx','6516824IjWqhc','getSelectedElement','2088615xzTpuk','6605858rNiFap','316548FBOlNU','model','setAttributes','8TvgvRy','isEnabled','execute','25442868eVdZvE','srcset','9zQkjwM','element'];_0x5e48=function(){return _0x3ac3ef;};return _0x5e48();}const _0x3d6b12=_0x3fd6;function _0x3fd6(_0x223e48,_0x37fc6b){const _0x5e48e4=_0x5e48();return _0x3fd6=function(_0x3fd60f,_0x6fba01){_0x3fd60f=_0x3fd60f-0x14a;let _0x452e80=_0x5e48e4[_0x3fd60f];return _0x452e80;},_0x3fd6(_0x223e48,_0x37fc6b);}(function(_0x2a32f2,_0x3c8949){const _0x49e93f=_0x3fd6,_0x339805=_0x2a32f2();while(!![]){try{const _0x426fb3=parseInt(_0x49e93f(0x14b))/0x1*(parseInt(_0x49e93f(0x15f))/0x2)+parseInt(_0x49e93f(0x15a))/0x3*(parseInt(_0x49e93f(0x14f))/0x4)+parseInt(_0x49e93f(0x155))/0x5*(-parseInt(_0x49e93f(0x15c))/0x6)+-parseInt(_0x49e93f(0x15b))/0x7+parseInt(_0x49e93f(0x158))/0x8*(-parseInt(_0x49e93f(0x164))/0x9)+-parseInt(_0x49e93f(0x157))/0xa+parseInt(_0x49e93f(0x14e))/0xb*(parseInt(_0x49e93f(0x162))/0xc);if(_0x426fb3===_0x3c8949)break;else _0x339805['push'](_0x339805['shift']());}catch(_0xa02fff){_0x339805['push'](_0x339805['shift']());}}}(_0x5e48,0xb5e17));import{Command as _0x4f5990}from'ckeditor5/src/core.js';export default class X extends _0x4f5990{[_0x3d6b12(0x152)](){const _0x4a2fc6=_0x3d6b12,_0x158e09=this[_0x4a2fc6(0x14c)][_0x4a2fc6(0x15d)][_0x4a2fc6(0x151)][_0x4a2fc6(0x150)][_0x4a2fc6(0x159)]();this[_0x4a2fc6(0x160)]=Boolean(_0x158e09&&(_0x158e09['is'](_0x4a2fc6(0x165),_0x4a2fc6(0x14a))||_0x158e09['is'](_0x4a2fc6(0x165),_0x4a2fc6(0x153))));}[_0x3d6b12(0x161)](_0x32de32){const _0x13f70d=_0x3d6b12,_0x5e571e=this[_0x13f70d(0x14c)][_0x13f70d(0x15d)][_0x13f70d(0x151)][_0x13f70d(0x150)][_0x13f70d(0x159)]();this[_0x13f70d(0x14c)][_0x13f70d(0x15d)][_0x13f70d(0x156)](_0x1319c0=>{const _0x196b9f=_0x13f70d;_0x1319c0[_0x196b9f(0x15e)](_0x32de32,_0x5e571e),_0x1319c0[_0x196b9f(0x154)](_0x196b9f(0x163),_0x5e571e),_0x1319c0[_0x196b9f(0x154)](_0x196b9f(0x14d),_0x5e571e);});}}
23
+ const _0x44747b=_0x3811;(function(_0x2d8dbc,_0x38212e){const _0x1d83e5=_0x3811,_0x33fe8a=_0x2d8dbc();while(!![]){try{const _0x47d882=-parseInt(_0x1d83e5(0x1eb))/0x1+parseInt(_0x1d83e5(0x1f1))/0x2+parseInt(_0x1d83e5(0x1f5))/0x3+-parseInt(_0x1d83e5(0x1ed))/0x4+parseInt(_0x1d83e5(0x1f3))/0x5*(-parseInt(_0x1d83e5(0x1f6))/0x6)+parseInt(_0x1d83e5(0x1e5))/0x7*(-parseInt(_0x1d83e5(0x1ee))/0x8)+parseInt(_0x1d83e5(0x1f4))/0x9*(parseInt(_0x1d83e5(0x1e2))/0xa);if(_0x47d882===_0x38212e)break;else _0x33fe8a['push'](_0x33fe8a['shift']());}catch(_0x56dacb){_0x33fe8a['push'](_0x33fe8a['shift']());}}}(_0x4de8,0x826c4));import{Command as _0x3fcf52}from'ckeditor5/src/core.js';function _0x3811(_0x3c8b25,_0x30c082){const _0x4de85f=_0x4de8();return _0x3811=function(_0x381107,_0x343d00){_0x381107=_0x381107-0x1de;let _0xffca5c=_0x4de85f[_0x381107];return _0xffca5c;},_0x3811(_0x3c8b25,_0x30c082);}export default class O extends _0x3fcf52{[_0x44747b(0x1de)](){const _0x393239=_0x44747b,_0x306bb9=this[_0x393239(0x1ea)][_0x393239(0x1e8)][_0x393239(0x1e4)][_0x393239(0x1ef)][_0x393239(0x1e3)]();this[_0x393239(0x1e9)]=Boolean(_0x306bb9&&(_0x306bb9['is'](_0x393239(0x1df),_0x393239(0x1f2))||_0x306bb9['is'](_0x393239(0x1df),_0x393239(0x1e0))));}[_0x44747b(0x1ec)](_0x214c22){const _0x30e202=_0x44747b,_0x5cf8f5=this[_0x30e202(0x1ea)][_0x30e202(0x1e8)][_0x30e202(0x1e4)][_0x30e202(0x1ef)][_0x30e202(0x1e3)]();this[_0x30e202(0x1ea)][_0x30e202(0x1e8)][_0x30e202(0x1f7)](_0xecddf1=>{const _0x3d4d52=_0x30e202;_0xecddf1[_0x3d4d52(0x1e6)](_0x214c22,_0x5cf8f5),_0xecddf1[_0x3d4d52(0x1e7)](_0x3d4d52(0x1e1),_0x5cf8f5),_0xecddf1[_0x3d4d52(0x1e7)](_0x3d4d52(0x1f0),_0x5cf8f5);});}}function _0x4de8(){const _0x41d5e2=['change','refresh','element','imageInline','srcset','1290JqoBYP','getSelectedElement','document','3591mvoVIT','setAttributes','removeAttribute','model','isEnabled','editor','708481OOQUHG','execute','1276080JtVrrY','4696LcDYkQ','selection','sizes','917716GgMPsM','imageBlock','5480GeuMoN','118602HmTxFp','828408mRgAfs','3132aCSTaE'];_0x4de8=function(){return _0x41d5e2;};return _0x4de8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x29c78d=_0x56c3;function _0x56c3(_0x3ead33,_0x3c1956){var _0x24cfa5=_0x24cf();return _0x56c3=function(_0x56c3cc,_0x122e88){_0x56c3cc=_0x56c3cc-0x18c;var _0x197b20=_0x24cfa5[_0x56c3cc];return _0x197b20;},_0x56c3(_0x3ead33,_0x3c1956);}(function(_0x14b899,_0x19a195){var _0x37cebb=_0x56c3,_0x40b091=_0x14b899();while(!![]){try{var _0x51fd36=-parseInt(_0x37cebb(0x18e))/0x1*(parseInt(_0x37cebb(0x195))/0x2)+parseInt(_0x37cebb(0x19b))/0x3*(-parseInt(_0x37cebb(0x19c))/0x4)+parseInt(_0x37cebb(0x19a))/0x5+parseInt(_0x37cebb(0x18c))/0x6*(parseInt(_0x37cebb(0x194))/0x7)+parseInt(_0x37cebb(0x199))/0x8*(-parseInt(_0x37cebb(0x196))/0x9)+parseInt(_0x37cebb(0x190))/0xa*(-parseInt(_0x37cebb(0x193))/0xb)+parseInt(_0x37cebb(0x18d))/0xc;if(_0x51fd36===_0x19a195)break;else _0x40b091['push'](_0x40b091['shift']());}catch(_0x40b5de){_0x40b091['push'](_0x40b091['shift']());}}}(_0x24cf,0xe6d36));import{Plugin as _0x5b77d3}from'ckeditor5/src/core.js';import _0x52be04 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x433d99 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x24cf(){var _0x5dccd3=['738448OoKrYF','7825230Sjsdzb','1208793CjhQPt','12OdYwsD','24JymRwI','35620944uDQMRs','40RmSBFS','UploadcareImageEdit','9821830LsrTQz','isOfficialPlugin','isPremiumPlugin','11rjsPeX','1932413jdixyu','51218doYXIL','144ClgGMr','pluginName','requires'];_0x24cf=function(){return _0x5dccd3;};return _0x24cf();}export default class P extends _0x5b77d3{static get[_0x29c78d(0x197)](){var _0x2b624c=_0x29c78d;return _0x2b624c(0x18f);}static get[_0x29c78d(0x198)](){return[_0x52be04,_0x433d99];}static get[_0x29c78d(0x191)](){return!0x0;}static get[_0x29c78d(0x192)](){return!0x0;}}
23
+ var _0x114cd2=_0x38fa;(function(_0x15d629,_0xacbaa2){var _0x2b6650=_0x38fa,_0x42a9c8=_0x15d629();while(!![]){try{var _0x759067=-parseInt(_0x2b6650(0x1f2))/0x1*(-parseInt(_0x2b6650(0x1ef))/0x2)+-parseInt(_0x2b6650(0x1f4))/0x3*(-parseInt(_0x2b6650(0x1fd))/0x4)+parseInt(_0x2b6650(0x1f1))/0x5+-parseInt(_0x2b6650(0x1f0))/0x6+-parseInt(_0x2b6650(0x1fb))/0x7+-parseInt(_0x2b6650(0x1f6))/0x8+-parseInt(_0x2b6650(0x1f7))/0x9*(-parseInt(_0x2b6650(0x1fc))/0xa);if(_0x759067===_0xacbaa2)break;else _0x42a9c8['push'](_0x42a9c8['shift']());}catch(_0x145a60){_0x42a9c8['push'](_0x42a9c8['shift']());}}}(_0x33bb,0x779dc));function _0x33bb(){var _0x1f123a=['isPremiumPlugin','pluginName','6758689axaSBk','1587190RcDDju','28hArSvl','363608EJKLlx','170364mQetYU','1352910zjZYIo','4VujWmp','requires','317886yqvmvK','UploadcareImageEdit','7124312IVnOPV','36VoOZEY','isOfficialPlugin'];_0x33bb=function(){return _0x1f123a;};return _0x33bb();}import{Plugin as _0x4bc4d7}from'ckeditor5/src/core.js';import _0x9563bb from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x40ccf3 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x38fa(_0x1e962e,_0x4c9302){var _0x33bb68=_0x33bb();return _0x38fa=function(_0x38fad0,_0x3c8f4f){_0x38fad0=_0x38fad0-0x1ef;var _0x12ed86=_0x33bb68[_0x38fad0];return _0x12ed86;},_0x38fa(_0x1e962e,_0x4c9302);}export default class P extends _0x4bc4d7{static get[_0x114cd2(0x1fa)](){var _0xff46d4=_0x114cd2;return _0xff46d4(0x1f5);}static get[_0x114cd2(0x1f3)](){return[_0x9563bb,_0x40ccf3];}static get[_0x114cd2(0x1f8)](){return!0x0;}static get[_0x114cd2(0x1f9)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f7cfa=_0x2bde;(function(_0x47361d,_0x2c48b6){const _0x547b10=_0x2bde,_0x43aaf1=_0x47361d();while(!![]){try{const _0x6e06e0=-parseInt(_0x547b10(0x187))/0x1*(-parseInt(_0x547b10(0x173))/0x2)+parseInt(_0x547b10(0x197))/0x3+-parseInt(_0x547b10(0x171))/0x4+-parseInt(_0x547b10(0x181))/0x5+-parseInt(_0x547b10(0x184))/0x6+parseInt(_0x547b10(0x1a6))/0x7+-parseInt(_0x547b10(0x18d))/0x8*(-parseInt(_0x547b10(0x190))/0x9);if(_0x6e06e0===_0x2c48b6)break;else _0x43aaf1['push'](_0x43aaf1['shift']());}catch(_0x18099c){_0x43aaf1['push'](_0x43aaf1['shift']());}}}(_0x4a12,0xa642e));import{Plugin as _0x43f3d6}from'ckeditor5/src/core.js';import{IconDropbox as _0xf1fc67,IconFacebook as _0x77b77a,IconGoogleDrive as _0x308178,IconGooglePhotos as _0xfa4909,IconUploadcareImageUpload as _0x33a961,IconUploadcareLink as _0x35ad11,IconOneDrive as _0x2957ac}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ae73f,MenuBarMenuListItemButtonView as _0x216c99}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x407b22}from'./uploadcareconfig.js';import{getTranslation as _0x2976e5}from'./utils/common-translations.js';function _0x4a12(){const _0x434d60=['execute','afterInit','OneDrive','GDrive','reduce','uploadcareLicenseKeyNotAllowed','pluginName','_getIntegrationKey','trialLimit','GPhotos','5700250DBiEiu','expired','push','8149182ClwCkc','init','uploadcareLicenseKeyEvaluationLimit','2579yVUjDW','map','upload','shortText','assetManager','Dropbox','568UnKWOP','label','uploadcareLicenseKeyUsageLimit','310599ZOAiVF','isOfficialPlugin','featureNotAllowed','_createMenuBarButtons','get','locale','entries','3265779RIiJjl','URL','Uploadcare','text','isPremiumPlugin','destroy','uploadcare.uploader.sourceList','_createButton','forEach','uploadcare','domainLimit','icon','tooltip','_normalizeConfigSourceList','commands','862855KZIhHb','editor','Replace','ImageInsertUI','config','withText','url','_showLicenseError','plugins','type','uploadcareLicenseKeyExpired','evaluationLimit','uploadcareLicenseKeyValid','registerIntegration','UploadcareUI','Local','bind','Insert','licenseKey','invalid','isEnabled','Facebook','uploadcareLicenseKeyInvalid','usageLimit','_createToolbarButton','_createDropdownButtons','_licenseKeyCheckInterval','2055336ODwfyl','uploadcareLicenseKeyDomainLimit','24bwpPyq','has','isImageSelected','uploadcareLicenseKeyTrialLimit'];_0x4a12=function(){return _0x434d60;};return _0x4a12();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x2bde(_0x445057,_0x3b7107){const _0x4a1278=_0x4a12();return _0x2bde=function(_0x2bdec1,_0x37384e){_0x2bdec1=_0x2bdec1-0x162;let _0x48c247=_0x4a1278[_0x2bdec1];return _0x48c247;},_0x2bde(_0x445057,_0x3b7107);}export default class e extends _0x43f3d6{[_0x4f7cfa(0x168)];[_0x4f7cfa(0x170)];static get[_0x4f7cfa(0x17d)](){const _0x18a780=_0x4f7cfa;return _0x18a780(0x164);}static get[_0x4f7cfa(0x191)](){return!0x0;}static get[_0x4f7cfa(0x19b)](){return!0x0;}[_0x4f7cfa(0x185)](){const _0x105617=_0x4f7cfa;this[_0x105617(0x168)]=this[_0x105617(0x1a7)][_0x105617(0x1aa)][_0x105617(0x194)](_0x105617(0x168));const _0xbc01b3=this[_0x105617(0x1a7)];this[_0x105617(0x170)]=setInterval(()=>{const _0x2b16e5=_0x105617;let _0x1c0ce2;for(const _0x43aaa6 in _0xbc01b3){const _0x583c09=_0x43aaa6,_0x454d85=_0xbc01b3[_0x583c09];if(_0x2b16e5(0x162)==_0x454d85||_0x2b16e5(0x16c)==_0x454d85||_0x2b16e5(0x1b0)==_0x454d85||_0x2b16e5(0x172)==_0x454d85||_0x2b16e5(0x17c)==_0x454d85||_0x2b16e5(0x186)==_0x454d85||_0x2b16e5(0x176)==_0x454d85||_0x2b16e5(0x18f)==_0x454d85){delete _0xbc01b3[_0x583c09],_0x1c0ce2=_0x454d85,clearInterval(this[_0x2b16e5(0x170)]),this[_0x2b16e5(0x170)]=void 0x0;break;}}_0x2b16e5(0x16c)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x169)),_0x2b16e5(0x1b0)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x182)),_0x2b16e5(0x172)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x1a1)),_0x2b16e5(0x17c)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x192),_0x2b16e5(0x199)),_0x2b16e5(0x186)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x1b1)),_0x2b16e5(0x176)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x17f)),_0x2b16e5(0x18f)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x16d));},0x3e8);}[_0x4f7cfa(0x178)](){const _0x361cd3=_0x4f7cfa,{editor:_0x28b769}=this,_0x45d75b=_0x28b769[_0x361cd3(0x1a5)][_0x361cd3(0x194)](_0x361cd3(0x1a0));if(!_0x45d75b)return;const _0x349146=this[_0x361cd3(0x1a4)](_0x28b769[_0x361cd3(0x1aa)][_0x361cd3(0x194)](_0x361cd3(0x19d)))[_0x361cd3(0x17b)]((_0x267290,_0x4b7d79)=>{const _0x595451=_0x361cd3,_0x2e3b82=this[_0x595451(0x17e)](_0x4b7d79[_0x595451(0x1af)]);return _0x267290[_0x2e3b82]||(_0x267290[_0x2e3b82]=[]),_0x267290[_0x2e3b82][_0x595451(0x183)](_0x4b7d79),_0x267290;},{});_0x28b769[_0x361cd3(0x1ae)][_0x361cd3(0x174)](_0x361cd3(0x1a9))&&_0x28b769[_0x361cd3(0x1a5)][_0x361cd3(0x194)](_0x361cd3(0x1a0))&&Object[_0x361cd3(0x196)](_0x349146)[_0x361cd3(0x19f)](([_0x2ca7dc,_0x1839d1])=>{const _0xe0658e=_0x361cd3;_0x28b769[_0xe0658e(0x1ae)][_0xe0658e(0x194)](_0xe0658e(0x1a9))[_0xe0658e(0x163)]({'name':_0x2ca7dc,'observable':()=>_0x45d75b,'buttonViewCreator':()=>this[_0xe0658e(0x16e)](_0x1839d1),'formViewCreator':()=>this[_0xe0658e(0x16f)](_0x1839d1),'menuBarButtonViewCreator':()=>this[_0xe0658e(0x193)](_0x1839d1),'override':_0xe0658e(0x18b)!==_0x2ca7dc});});}[_0x4f7cfa(0x19c)](){const _0xe0b774=_0x4f7cfa;super[_0xe0b774(0x19c)](),this[_0xe0b774(0x170)]&&clearInterval(this[_0xe0b774(0x170)]);}[_0x4f7cfa(0x1a4)](_0x4675c3){const _0x15549a=_0x4f7cfa,{locale:_0x32d62a}=this[_0x15549a(0x1a7)];return _0x4675c3[_0x15549a(0x188)](_0x3b900c=>{const _0x5145b5=_0x15549a,_0x44c0b5=_0x2976e5(_0x32d62a,_0x3b900c,_0x5145b5(0x167));switch(_0x3b900c){case _0x407b22[_0x5145b5(0x165)]:return{'icon':_0x33a961,'type':_0x407b22[_0x5145b5(0x165)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x198)]:return{'icon':_0x35ad11,'type':_0x407b22[_0x5145b5(0x198)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x18c)]:return{'icon':_0xf1fc67,'type':_0x407b22[_0x5145b5(0x18c)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x16b)]:return{'icon':_0x77b77a,'type':_0x407b22[_0x5145b5(0x16b)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x17a)]:return{'icon':_0x308178,'type':_0x407b22[_0x5145b5(0x17a)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x180)]:return{'icon':_0xfa4909,'type':_0x407b22[_0x5145b5(0x180)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x179)]:return{'icon':_0x2957ac,'type':_0x407b22[_0x5145b5(0x179)],..._0x44c0b5};}});}[_0x4f7cfa(0x17e)](_0x4d9f11){const _0x211d90=_0x4f7cfa;switch(_0x4d9f11){case _0x407b22[_0x211d90(0x165)]:return _0x211d90(0x189);case _0x407b22[_0x211d90(0x198)]:return _0x211d90(0x1ac);default:return _0x211d90(0x18b);}}[_0x4f7cfa(0x19e)](_0x3eac4d,_0x28d481){const _0x5d8366=_0x4f7cfa,_0x21971b=this[_0x5d8366(0x1a7)],_0x2d9350=new _0x3eac4d(_0x21971b[_0x5d8366(0x195)]),_0x241805=_0x21971b[_0x5d8366(0x1a5)][_0x5d8366(0x194)](_0x5d8366(0x1a0));return _0x2d9350[_0x5d8366(0x166)](_0x5d8366(0x16a))['to'](_0x241805),_0x2d9350['on'](_0x5d8366(0x177),()=>{const _0x21be22=_0x5d8366;_0x241805[_0x21be22(0x177)](_0x28d481);}),_0x2d9350;}[_0x4f7cfa(0x16e)](_0x400d70){const _0x35349b=_0x4f7cfa,{locale:_0x5b1a16}=this[_0x35349b(0x1a7)],_0x47caa6=this[_0x35349b(0x1a7)][_0x35349b(0x1ae)][_0x35349b(0x194)](_0x35349b(0x1a9)),_0x30686e=_0x400d70[0x0],_0x2cff08=this[_0x35349b(0x19e)](_0x1ae73f,_0x30686e[_0x35349b(0x1af)]);return _0x2cff08[_0x35349b(0x1a2)]=_0x30686e[_0x35349b(0x1a2)],_0x2cff08[_0x35349b(0x166)](_0x35349b(0x18e))['to'](_0x47caa6,_0x35349b(0x175),_0x44bf1d=>_0x2976e5(_0x5b1a16,_0x30686e[_0x35349b(0x1af)],_0x44bf1d?_0x35349b(0x1a8):_0x35349b(0x167))[_0x35349b(0x19a)]),_0x2cff08[_0x35349b(0x1a3)]=!0x0,_0x2cff08;}[_0x4f7cfa(0x16f)](_0x26c53f){const _0xc2f0a=_0x4f7cfa,{locale:_0x361d63}=this[_0xc2f0a(0x1a7)],_0x557f93=this[_0xc2f0a(0x1a7)][_0xc2f0a(0x1ae)][_0xc2f0a(0x194)](_0xc2f0a(0x1a9));return _0x26c53f[_0xc2f0a(0x188)](_0xc8a1e4=>{const _0x3acc7e=_0xc2f0a,_0x1c06f6=this[_0x3acc7e(0x19e)](_0x1ae73f,_0xc8a1e4[_0x3acc7e(0x1af)]);return _0x1c06f6[_0x3acc7e(0x1ab)]=!0x0,_0x1c06f6[_0x3acc7e(0x1a2)]=_0xc8a1e4[_0x3acc7e(0x1a2)],_0x1c06f6[_0x3acc7e(0x166)](_0x3acc7e(0x18e))['to'](_0x557f93,_0x3acc7e(0x175),_0x4e3ec0=>_0x2976e5(_0x361d63,_0xc8a1e4[_0x3acc7e(0x1af)],_0x4e3ec0?_0x3acc7e(0x1a8):_0x3acc7e(0x167))[_0x3acc7e(0x19a)]),_0x1c06f6;});}[_0x4f7cfa(0x193)](_0x2fceb5){const _0x8f4178=_0x4f7cfa;return _0x2fceb5[_0x8f4178(0x188)](_0x12327b=>{const _0x2514ce=_0x8f4178,_0x4d5c67=this[_0x2514ce(0x19e)](_0x216c99,_0x12327b[_0x2514ce(0x1af)]);return _0x4d5c67[_0x2514ce(0x1a2)]=_0x12327b[_0x2514ce(0x1a2)],_0x4d5c67[_0x2514ce(0x18e)]=_0x12327b[_0x2514ce(0x18a)],_0x4d5c67;});}}
23
+ const _0x38d380=_0x1e76;(function(_0x4da363,_0x33a600){const _0x4b2296=_0x1e76,_0xa94293=_0x4da363();while(!![]){try{const _0x4886da=parseInt(_0x4b2296(0x12d))/0x1*(-parseInt(_0x4b2296(0x137))/0x2)+-parseInt(_0x4b2296(0xfa))/0x3*(parseInt(_0x4b2296(0x105))/0x4)+parseInt(_0x4b2296(0x121))/0x5+-parseInt(_0x4b2296(0x11e))/0x6+parseInt(_0x4b2296(0x133))/0x7+parseInt(_0x4b2296(0x101))/0x8*(parseInt(_0x4b2296(0x109))/0x9)+-parseInt(_0x4b2296(0x123))/0xa;if(_0x4886da===_0x33a600)break;else _0xa94293['push'](_0xa94293['shift']());}catch(_0x4ae22f){_0xa94293['push'](_0xa94293['shift']());}}}(_0x1a79,0x57ab0));import{Plugin as _0x4f5f04}from'ckeditor5/src/core.js';import{IconDropbox as _0x1f2921,IconFacebook as _0xf355af,IconGoogleDrive as _0x1e1ae1,IconGooglePhotos as _0x39c9d0,IconUploadcareImageUpload as _0x106772,IconUploadcareLink as _0x55ce31,IconOneDrive as _0x4aa2a9}from'ckeditor5/src/icons.js';import{ButtonView as _0x44873b,MenuBarMenuListItemButtonView as _0x330254}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3acd75}from'./uploadcareconfig.js';import{getTranslation as _0x29e6d2}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1e76(_0x363432,_0x3bb54e){const _0x1a793e=_0x1a79();return _0x1e76=function(_0x1e7603,_0x4f3cfc){_0x1e7603=_0x1e7603-0xf2;let _0x34a272=_0x1a793e[_0x1e7603];return _0x34a272;},_0x1e76(_0x363432,_0x3bb54e);}function _0x1a79(){const _0x50d814=['uploadcare','commands','entries','uploadcareLicenseKeyUsageLimit','162144SVChMX','map','has','3168315JPfKzN','isEnabled','7726580mAwJXg','_normalizeConfigSourceList','get','UploadcareUI','reduce','icon','url','expired','_createToolbarButton','push','366gPnRGU','licenseKey','ImageInsertUI','invalid','destroy','trialLimit','4643681MAGGOh','forEach','editor','featureNotAllowed','394TLwKER','_createMenuBarButtons','Dropbox','URL','isOfficialPlugin','Facebook','label','uploadcareLicenseKeyDomainLimit','evaluationLimit','_getIntegrationKey','Insert','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','_createDropdownButtons','text','uploadcareLicenseKeyNotAllowed','tooltip','OneDrive','config','123JPFDpG','uploadcare.uploader.sourceList','assetManager','GPhotos','_createButton','GDrive','afterInit','54376OCUxmu','uploadcareLicenseKeyValid','execute','pluginName','33644Adkhkg','locale','upload','_showLicenseError','369GfqeRF','init','withText','uploadcareLicenseKeyTrialLimit','type','uploadcareLicenseKeyExpired','registerIntegration','bind','isImageSelected','_licenseKeyCheckInterval','Replace','Uploadcare','plugins','usageLimit','Local','shortText','domainLimit'];_0x1a79=function(){return _0x50d814;};return _0x1a79();}import'../theme/uploadcareimageedit.css';export default class e extends _0x4f5f04{[_0x38d380(0x12e)];[_0x38d380(0x112)];static get[_0x38d380(0x104)](){const _0x249cc7=_0x38d380;return _0x249cc7(0x126);}static get[_0x38d380(0x13b)](){return!0x0;}static get[_0x38d380(0xf3)](){return!0x0;}[_0x38d380(0x10a)](){const _0x4c8391=_0x38d380;this[_0x4c8391(0x12e)]=this[_0x4c8391(0x135)][_0x4c8391(0xf9)][_0x4c8391(0x125)](_0x4c8391(0x12e));const _0x228502=this[_0x4c8391(0x135)];this[_0x4c8391(0x112)]=setInterval(()=>{const _0x286ba=_0x4c8391;let _0x1de05c;for(const _0x5569df in _0x228502){const _0x5aacf7=_0x5569df,_0x526e0e=_0x228502[_0x5aacf7];if(_0x286ba(0x102)==_0x526e0e||_0x286ba(0x142)==_0x526e0e||_0x286ba(0x10e)==_0x526e0e||_0x286ba(0x13e)==_0x526e0e||_0x286ba(0xf6)==_0x526e0e||_0x286ba(0xf2)==_0x526e0e||_0x286ba(0x10c)==_0x526e0e||_0x286ba(0x11d)==_0x526e0e){delete _0x228502[_0x5aacf7],_0x1de05c=_0x526e0e,clearInterval(this[_0x286ba(0x112)]),this[_0x286ba(0x112)]=void 0x0;break;}}_0x286ba(0x142)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x130)),_0x286ba(0x10e)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x12a)),_0x286ba(0x13e)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x119)),_0x286ba(0xf6)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x136),_0x286ba(0x114)),_0x286ba(0xf2)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x13f)),_0x286ba(0x10c)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x132)),_0x286ba(0x11d)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x116));},0x3e8);}[_0x38d380(0x100)](){const _0x3d2a63=_0x38d380,{editor:_0x1a6c88}=this,_0xc60559=_0x1a6c88[_0x3d2a63(0x11b)][_0x3d2a63(0x125)](_0x3d2a63(0x11a));if(!_0xc60559)return;const _0x43a464=this[_0x3d2a63(0x124)](_0x1a6c88[_0x3d2a63(0xf9)][_0x3d2a63(0x125)](_0x3d2a63(0xfb)))[_0x3d2a63(0x127)]((_0x5d9e41,_0x295e6c)=>{const _0x43fcb9=_0x3d2a63,_0x48890e=this[_0x43fcb9(0x140)](_0x295e6c[_0x43fcb9(0x10d)]);return _0x5d9e41[_0x48890e]||(_0x5d9e41[_0x48890e]=[]),_0x5d9e41[_0x48890e][_0x43fcb9(0x12c)](_0x295e6c),_0x5d9e41;},{});_0x1a6c88[_0x3d2a63(0x115)][_0x3d2a63(0x120)](_0x3d2a63(0x12f))&&_0x1a6c88[_0x3d2a63(0x11b)][_0x3d2a63(0x125)](_0x3d2a63(0x11a))&&Object[_0x3d2a63(0x11c)](_0x43a464)[_0x3d2a63(0x134)](([_0x345b7b,_0xd27979])=>{const _0x284c34=_0x3d2a63;_0x1a6c88[_0x284c34(0x115)][_0x284c34(0x125)](_0x284c34(0x12f))[_0x284c34(0x10f)]({'name':_0x345b7b,'observable':()=>_0xc60559,'buttonViewCreator':()=>this[_0x284c34(0x12b)](_0xd27979),'formViewCreator':()=>this[_0x284c34(0xf4)](_0xd27979),'menuBarButtonViewCreator':()=>this[_0x284c34(0x138)](_0xd27979),'override':_0x284c34(0xfc)!==_0x345b7b});});}[_0x38d380(0x131)](){const _0x42ff8f=_0x38d380;super[_0x42ff8f(0x131)](),this[_0x42ff8f(0x112)]&&clearInterval(this[_0x42ff8f(0x112)]);}[_0x38d380(0x124)](_0x273ecb){const _0x10a2b7=_0x38d380,{locale:_0x5f2756}=this[_0x10a2b7(0x135)];return _0x273ecb[_0x10a2b7(0x11f)](_0x4f8e01=>{const _0x10bcb2=_0x10a2b7,_0x4471e0=_0x29e6d2(_0x5f2756,_0x4f8e01,_0x10bcb2(0x141));switch(_0x4f8e01){case _0x3acd75[_0x10bcb2(0x117)]:return{'icon':_0x106772,'type':_0x3acd75[_0x10bcb2(0x117)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x13a)]:return{'icon':_0x55ce31,'type':_0x3acd75[_0x10bcb2(0x13a)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x139)]:return{'icon':_0x1f2921,'type':_0x3acd75[_0x10bcb2(0x139)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x13c)]:return{'icon':_0xf355af,'type':_0x3acd75[_0x10bcb2(0x13c)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xff)]:return{'icon':_0x1e1ae1,'type':_0x3acd75[_0x10bcb2(0xff)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xfd)]:return{'icon':_0x39c9d0,'type':_0x3acd75[_0x10bcb2(0xfd)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xf8)]:return{'icon':_0x4aa2a9,'type':_0x3acd75[_0x10bcb2(0xf8)],..._0x4471e0};}});}[_0x38d380(0x140)](_0x5cd380){const _0x1c9e80=_0x38d380;switch(_0x5cd380){case _0x3acd75[_0x1c9e80(0x117)]:return _0x1c9e80(0x107);case _0x3acd75[_0x1c9e80(0x13a)]:return _0x1c9e80(0x129);default:return _0x1c9e80(0xfc);}}[_0x38d380(0xfe)](_0x3dd5ad,_0x5f499a){const _0x1dae53=_0x38d380,_0x5bba21=this[_0x1dae53(0x135)],_0xb5efd=new _0x3dd5ad(_0x5bba21[_0x1dae53(0x106)]),_0x17fbd7=_0x5bba21[_0x1dae53(0x11b)][_0x1dae53(0x125)](_0x1dae53(0x11a));return _0xb5efd[_0x1dae53(0x110)](_0x1dae53(0x122))['to'](_0x17fbd7),_0xb5efd['on'](_0x1dae53(0x103),()=>{const _0x12eb91=_0x1dae53;_0x17fbd7[_0x12eb91(0x103)](_0x5f499a);}),_0xb5efd;}[_0x38d380(0x12b)](_0x465b5d){const _0x1c8dc0=_0x38d380,{locale:_0x530935}=this[_0x1c8dc0(0x135)],_0x45b918=this[_0x1c8dc0(0x135)][_0x1c8dc0(0x115)][_0x1c8dc0(0x125)](_0x1c8dc0(0x12f)),_0x5c608d=_0x465b5d[0x0],_0x505f59=this[_0x1c8dc0(0xfe)](_0x44873b,_0x5c608d[_0x1c8dc0(0x10d)]);return _0x505f59[_0x1c8dc0(0x128)]=_0x5c608d[_0x1c8dc0(0x128)],_0x505f59[_0x1c8dc0(0x110)](_0x1c8dc0(0x13d))['to'](_0x45b918,_0x1c8dc0(0x111),_0x442fef=>_0x29e6d2(_0x530935,_0x5c608d[_0x1c8dc0(0x10d)],_0x442fef?_0x1c8dc0(0x113):_0x1c8dc0(0x141))[_0x1c8dc0(0xf5)]),_0x505f59[_0x1c8dc0(0xf7)]=!0x0,_0x505f59;}[_0x38d380(0xf4)](_0x18208c){const _0x268862=_0x38d380,{locale:_0x315db7}=this[_0x268862(0x135)],_0xfd4b3e=this[_0x268862(0x135)][_0x268862(0x115)][_0x268862(0x125)](_0x268862(0x12f));return _0x18208c[_0x268862(0x11f)](_0x2c5c42=>{const _0x5dbb3f=_0x268862,_0x302971=this[_0x5dbb3f(0xfe)](_0x44873b,_0x2c5c42[_0x5dbb3f(0x10d)]);return _0x302971[_0x5dbb3f(0x10b)]=!0x0,_0x302971[_0x5dbb3f(0x128)]=_0x2c5c42[_0x5dbb3f(0x128)],_0x302971[_0x5dbb3f(0x110)](_0x5dbb3f(0x13d))['to'](_0xfd4b3e,_0x5dbb3f(0x111),_0x4cecbc=>_0x29e6d2(_0x315db7,_0x2c5c42[_0x5dbb3f(0x10d)],_0x4cecbc?_0x5dbb3f(0x113):_0x5dbb3f(0x141))[_0x5dbb3f(0xf5)]),_0x302971;});}[_0x38d380(0x138)](_0x2b6ec3){const _0x497c96=_0x38d380;return _0x2b6ec3[_0x497c96(0x11f)](_0x4458b8=>{const _0x4af8ef=_0x497c96,_0x1e878f=this[_0x4af8ef(0xfe)](_0x330254,_0x4458b8[_0x4af8ef(0x10d)]);return _0x1e878f[_0x4af8ef(0x128)]=_0x4458b8[_0x4af8ef(0x128)],_0x1e878f[_0x4af8ef(0x13d)]=_0x4458b8[_0x4af8ef(0x118)],_0x1e878f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x574d8c}from'ckeditor5/src/core.js';import{FileRepository as _0x197ac9}from'ckeditor5/src/upload.js';import _0x6f3a8b from'./uploadcareediting.js';import _0x42add1 from'./utils/uploadutils.js';import{getImageUrls as _0x57999e}from'./utils/editingutils.js';export default class p extends _0x574d8c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x197ac9,_0x6f3a8b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x8de053=this['editor'];if(!!!_0x8de053['config']['get']('uploadcare'))return;_0x8de053['plugins']['get'](_0x197ac9)['createUploadAdapter']=_0x4baf62=>new x(_0x4baf62,_0x8de053),_0x8de053['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x183223,{imageElement:_0x3b5484,data:_0x116e85})=>{_0x8de053['model']['change'](_0x5b76da=>{_0x5b76da['setAttribute']('uploadcareImageId',_0x116e85['uploadcareImageId'],_0x3b5484);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2a8bfd,_0xb9e9f5){this['loader']=_0x2a8bfd,this['editor']=_0xb9e9f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c73a9=this['editor']['config']['get']('uploadcare.pubkey'),_0x18612a=await this['loader']['file'];return _0x42add1['upload']({'file':_0x18612a,'publicKey':_0x1c73a9,'signal':this['controller']['signal'],'onProgress':_0x29448c=>{_0x29448c&&_0x29448c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x29448c['value']);}})['then'](async _0xda60c7=>{const {imageFallbackUrl:_0x28b9b2,imageSources:_0x3a6d23}=_0x57999e(_0xda60c7['cdnUrl'],_0xda60c7['imageInfo']['width']);return{'uploadcareImageId':_0xda60c7['uuid'],'default':_0x28b9b2,'sources':_0x3a6d23};})['catch'](()=>{const _0x1dba8e=t('Cannot\x20upload\x20file:')+('\x20'+_0x18612a['name']+'.');return Promise['reject'](_0x1dba8e);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x128ad2}from'ckeditor5/src/core.js';import{FileRepository as _0x36395f}from'ckeditor5/src/upload.js';import _0x48c961 from'./uploadcareediting.js';import _0x3791bf from'./utils/uploadutils.js';import{getImageUrls as _0x3dbd16}from'./utils/editingutils.js';export default class p extends _0x128ad2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36395f,_0x48c961];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ddd4c=this['editor'];if(!!!_0x1ddd4c['config']['get']('uploadcare'))return;_0x1ddd4c['plugins']['get'](_0x36395f)['createUploadAdapter']=_0x56b3e7=>new x(_0x56b3e7,_0x1ddd4c),_0x1ddd4c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x34c1bb,{imageElement:_0x224305,data:_0x36c41b})=>{_0x1ddd4c['model']['change'](_0x5f4b22=>{_0x5f4b22['setAttribute']('uploadcareImageId',_0x36c41b['uploadcareImageId'],_0x224305);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1f62c0,_0x572cc0){this['loader']=_0x1f62c0,this['editor']=_0x572cc0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4efc68=this['editor']['config']['get']('uploadcare.pubkey'),_0x31bda9=await this['loader']['file'];return _0x3791bf['upload']({'file':_0x31bda9,'publicKey':_0x4efc68,'signal':this['controller']['signal'],'onProgress':_0x569e1e=>{_0x569e1e&&_0x569e1e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x569e1e['value']);}})['then'](async _0x7353ee=>{const {imageFallbackUrl:_0x387f13,imageSources:_0x1513ff}=_0x3dbd16(_0x7353ee['cdnUrl'],_0x7353ee['imageInfo']['width']);return{'uploadcareImageId':_0x7353ee['uuid'],'default':_0x387f13,'sources':_0x1513ff};})['catch'](()=>{const _0x24280a=t('Cannot\x20upload\x20file:')+('\x20'+_0x31bda9['name']+'.');return Promise['reject'](_0x24280a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1cbf7b}from'../uploadcareconfig.js';export function getTranslation(_0x364a7c,_0x281149,_0xdbf3c6){const t=_0x364a7c['t'],_0x2d5751=_0x364a7c['t'];switch(_0x281149){case _0x1cbf7b['Local']:return{'text':_0x2d5751('Insert'===_0xdbf3c6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2d5751('From\x20computer')};case _0x1cbf7b['URL']:return{'text':'Insert'===_0xdbf3c6?_0x2d5751('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2d5751('Via\x20URL')};case _0x1cbf7b['Dropbox']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1cbf7b['Facebook']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1cbf7b['GDrive']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1cbf7b['GPhotos']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1cbf7b['OneDrive']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x281149;}}
23
+ import{UploadcareSource as _0x4bf4e9}from'../uploadcareconfig.js';export function getTranslation(_0x235335,_0x510987,_0x506f2c){const t=_0x235335['t'],_0x17a2a2=_0x235335['t'];switch(_0x510987){case _0x4bf4e9['Local']:return{'text':_0x17a2a2('Insert'===_0x506f2c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x17a2a2('From\x20computer')};case _0x4bf4e9['URL']:return{'text':'Insert'===_0x506f2c?_0x17a2a2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x17a2a2('Via\x20URL')};case _0x4bf4e9['Dropbox']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4bf4e9['Facebook']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4bf4e9['GDrive']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4bf4e9['GPhotos']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4bf4e9['OneDrive']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x510987;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d794f=_0x1c4d;(function(_0x49b9cf,_0x261d4d){var _0x275665=_0x1c4d,_0x45e8f1=_0x49b9cf();while(!![]){try{var _0x3ea0a3=-parseInt(_0x275665(0x13d))/0x1+-parseInt(_0x275665(0x13b))/0x2*(parseInt(_0x275665(0x135))/0x3)+-parseInt(_0x275665(0x13a))/0x4+parseInt(_0x275665(0x134))/0x5*(parseInt(_0x275665(0x13c))/0x6)+-parseInt(_0x275665(0x12f))/0x7+parseInt(_0x275665(0x136))/0x8*(-parseInt(_0x275665(0x130))/0x9)+-parseInt(_0x275665(0x138))/0xa*(-parseInt(_0x275665(0x139))/0xb);if(_0x3ea0a3===_0x261d4d)break;else _0x45e8f1['push'](_0x45e8f1['shift']());}catch(_0x3fb0fc){_0x45e8f1['push'](_0x45e8f1['shift']());}}}(_0x197f,0x2de9d));import{FocusTracker as _0x3e4d44}from'ckeditor5/src/utils.js';function _0x1c4d(_0x331f6f,_0x4a8df6){var _0x197f06=_0x197f();return _0x1c4d=function(_0x1c4d39,_0x346d78){_0x1c4d39=_0x1c4d39-0x12b;var _0x15489a=_0x197f06[_0x1c4d39];return _0x15489a;},_0x1c4d(_0x331f6f,_0x4a8df6);}function _0x197f(){var _0x2216f3=['true','focusTracker','div','351897NBzjWP','1424232gkzEFX','fire','bindTemplate','forwardCycle','6390sCtMXB','3AZNlUN','8QJqXTr','getFocusableElement','80tXIEjd','505670dGOTSJ','815896Yszuyq','172366NRmLDb','1710iyOkKz','45253vQABkp','createCollection','focusCycler'];_0x197f=function(){return _0x2216f3;};return _0x197f();}import{View as _0x1f7d9f,FocusCycler as _0x377a9b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x1f7d9f{[_0x1d794f(0x12d)];[_0x1d794f(0x12b)];constructor(_0x1ec602){var _0x5f0de7=_0x1d794f;super(_0x1ec602),this[_0x5f0de7(0x12d)]=new _0x3e4d44(),this[_0x5f0de7(0x12b)]=new _0x377a9b({'focusables':this[_0x5f0de7(0x13e)](),'focusTracker':this[_0x5f0de7(0x12d)]});}[_0x1d794f(0x137)](){var _0x15e2f1=_0x1d794f;return{'tag':_0x15e2f1(0x12e),'attributes':{'aria-hidden':_0x15e2f1(0x12c),'tabindex':'0'},'on':{'focus':this[_0x15e2f1(0x132)]['to'](()=>{var _0x45cd72=_0x15e2f1;this[_0x45cd72(0x12b)][_0x45cd72(0x131)](_0x45cd72(0x133));})}};}}
23
+ var _0xe349ef=_0x2b61;function _0x2b61(_0x228186,_0x2d82c2){var _0x2053b7=_0x2053();return _0x2b61=function(_0x2b6180,_0xde5bae){_0x2b6180=_0x2b6180-0xa9;var _0xdbee2a=_0x2053b7[_0x2b6180];return _0xdbee2a;},_0x2b61(_0x228186,_0x2d82c2);}(function(_0x1709d7,_0x254231){var _0x2d1618=_0x2b61,_0x493758=_0x1709d7();while(!![]){try{var _0x4bdcf0=parseInt(_0x2d1618(0xb3))/0x1*(-parseInt(_0x2d1618(0xb5))/0x2)+parseInt(_0x2d1618(0xb4))/0x3+parseInt(_0x2d1618(0xae))/0x4+-parseInt(_0x2d1618(0xb9))/0x5+-parseInt(_0x2d1618(0xb7))/0x6*(-parseInt(_0x2d1618(0xb6))/0x7)+parseInt(_0x2d1618(0xaf))/0x8+-parseInt(_0x2d1618(0xac))/0x9*(-parseInt(_0x2d1618(0xa9))/0xa);if(_0x4bdcf0===_0x254231)break;else _0x493758['push'](_0x493758['shift']());}catch(_0x21e565){_0x493758['push'](_0x493758['shift']());}}}(_0x2053,0x9d265));function _0x2053(){var _0x41c4d4=['36344VqPTGZ','403417pNHJQT','18dzcInk','getFocusableElement','1170425gIYepr','bindTemplate','fire','623240VEzZsX','createCollection','forwardCycle','9OEpFFo','focusTracker','2268328FhrRvJ','954152mGtDyB','div','true','focusCycler','33bfWpjy','1667634EvhDmH'];_0x2053=function(){return _0x41c4d4;};return _0x2053();}import{FocusTracker as _0x1ac176}from'ckeditor5/src/utils.js';import{View as _0x13952f,FocusCycler as _0x1893b8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x13952f{[_0xe349ef(0xad)];[_0xe349ef(0xb2)];constructor(_0x1da2d3){var _0x1ff9d6=_0xe349ef;super(_0x1da2d3),this[_0x1ff9d6(0xad)]=new _0x1ac176(),this[_0x1ff9d6(0xb2)]=new _0x1893b8({'focusables':this[_0x1ff9d6(0xaa)](),'focusTracker':this[_0x1ff9d6(0xad)]});}[_0xe349ef(0xb8)](){var _0x461d71=_0xe349ef;return{'tag':_0x461d71(0xb0),'attributes':{'aria-hidden':_0x461d71(0xb1),'tabindex':'0'},'on':{'focus':this[_0x461d71(0xba)]['to'](()=>{var _0x5cf6fd=_0x461d71;this[_0x5cf6fd(0xb2)][_0x5cf6fd(0xbb)](_0x5cf6fd(0xab));})}};}}