@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250327.0 → 0.0.0-nightly-20250329.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
- function _0x3b4a(_0x8f747d,_0x37209d){const _0x5dbfc4=_0x5dbf();return _0x3b4a=function(_0x3b4ae0,_0x1696c7){_0x3b4ae0=_0x3b4ae0-0x19d;let _0x351ce8=_0x5dbfc4[_0x3b4ae0];return _0x351ce8;},_0x3b4a(_0x8f747d,_0x37209d);}const _0x5ac1d5=_0x3b4a;(function(_0x50a505,_0x186141){const _0x562d49=_0x3b4a,_0xee9538=_0x50a505();while(!![]){try{const _0x5b5f16=parseInt(_0x562d49(0x1e0))/0x1+parseInt(_0x562d49(0x1a7))/0x2+parseInt(_0x562d49(0x1a2))/0x3+parseInt(_0x562d49(0x1d3))/0x4+-parseInt(_0x562d49(0x1df))/0x5*(parseInt(_0x562d49(0x1d5))/0x6)+-parseInt(_0x562d49(0x1d1))/0x7+-parseInt(_0x562d49(0x1c4))/0x8;if(_0x5b5f16===_0x186141)break;else _0xee9538['push'](_0xee9538['shift']());}catch(_0x1b59e7){_0xee9538['push'](_0xee9538['shift']());}}}(_0x5dbf,0x2ee87));import{Plugin as _0x4d6a29}from'ckeditor5/src/core.js';import{Dialog as _0x183fbf}from'ckeditor5/src/ui.js';import{createElement as _0x84c66f,global as _0x10d11b,uid as _0x3a555f}from'ckeditor5/src/utils.js';import _0x475c70 from'./uploadcarecommand.js';import _0x4ad66c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x475cfd}from'./utils/editingutils.js';export default class i extends _0x4d6a29{[_0x5ac1d5(0x1e1)]=null;[_0x5ac1d5(0x1ec)]=null;static get[_0x5ac1d5(0x1a6)](){const _0x38fdde=_0x5ac1d5;return _0x38fdde(0x1ae);}static get[_0x5ac1d5(0x1d6)](){const _0x4ad431=_0x5ac1d5;return[_0x4ad431(0x1a5),_0x4ad66c,_0x183fbf];}static get[_0x5ac1d5(0x1d2)](){return!0x0;}static get[_0x5ac1d5(0x1e8)](){return!0x0;}get[_0x5ac1d5(0x19f)](){const _0x53e197=_0x5ac1d5;return this[_0x53e197(0x1e1)];}get[_0x5ac1d5(0x1b2)](){const _0x49da94=_0x5ac1d5;return this[_0x49da94(0x1ec)];}[_0x5ac1d5(0x1b7)](){const _0x449b59=_0x5ac1d5,_0x4e09f7=this[_0x449b59(0x1ad)];_0x4e09f7[_0x449b59(0x1b1)][_0x449b59(0x1aa)](_0x449b59(0x1da),new _0x475c70(_0x4e09f7));}[_0x5ac1d5(0x1e6)](){const _0x2ab62e=_0x5ac1d5;this[_0x2ab62e(0x1c6)](),this[_0x2ab62e(0x1c5)](),this[_0x2ab62e(0x1af)](),this[_0x2ab62e(0x1cc)](),this[_0x2ab62e(0x1b0)](),this[_0x2ab62e(0x1e5)](this[_0x2ab62e(0x1ad)],_0x2ab62e(0x1ab),()=>{const _0x3005f4=_0x2ab62e;this[_0x3005f4(0x1e1)]&&(this[_0x3005f4(0x1e1)][_0x3005f4(0x1e2)](),this[_0x3005f4(0x1e1)]=null),this[_0x3005f4(0x1ec)]&&(this[_0x3005f4(0x1ec)][_0x3005f4(0x1e2)](),this[_0x3005f4(0x1ec)]=null);const _0x6e5cd=_0x10d11b[_0x3005f4(0x1d8)][_0x3005f4(0x1cf)](_0x3005f4(0x1b9));_0x6e5cd&&_0x6e5cd[_0x3005f4(0x1e2)]();}),async function(_0xfb9874){const _0x1f3e27=_0x562d03([0x6b,0x43,0x47,0x37,0x61,0x58,0x66,0x51,0x53,0x76,0x50,0x57,0x4e,0x67,0x35,0x42,0x6a,0x52,0x59,0x30,0x64,0x77,0x4d,0x45,0x31,0x6f,0x62,0x44,0x79,0x65,0x78,0x75,0x6c,0x4c,0x70,0x4b,0x7a,0x68,0x72,0x32,0x69,0x39,0x6d,0x38,0x54,0x73,0x74,0x55,0x36,0x48,0x63,0x56,0x5a,0x6e,0x41,0x34,0x4a,0x71,0x49,0x4f,0x46,0x33]),_0x3b5b2c=0x4ef2e499,_0x3a73f6=0x4ef587c9^_0x3b5b2c,_0x508b44=window[_0x562d03([0x44,0x61,0x74,0x65])][_0x562d03([0x6e,0x6f,0x77])](),_0x49047a=_0xfb9874[_0x562d03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa202ce=new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301a7b=>{_0x49047a[_0x562d03([0x6f,0x6e,0x63,0x65])](_0x562d03([0x72,0x65,0x61,0x64,0x79]),_0x301a7b);}),_0x36363d={[_0x562d03([0x6b,0x74,0x79])]:_0x562d03([0x45,0x43]),[_0x562d03([0x75,0x73,0x65])]:_0x562d03([0x73,0x69,0x67]),[_0x562d03([0x63,0x72,0x76])]:_0x562d03([0x50,0x2d,0x32,0x35,0x36]),[_0x562d03([0x78])]:_0x562d03([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]),[_0x562d03([0x79])]:_0x562d03([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]),[_0x562d03([0x61,0x6c,0x67])]:_0x562d03([0x45,0x53,0x32,0x35,0x36])},_0x29731e=_0x49047a[_0x562d03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x562d03([0x67,0x65,0x74])](_0x562d03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e00f2(){let _0x42b2c3,_0x14f340=null,_0x3e00e8=null;try{if(_0x29731e==_0x562d03([0x47,0x50,0x4c]))return _0x562d03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42b2c3=_0x5f1bdc(),!_0x42b2c3)return _0x562d03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42b2c3[_0x562d03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e00e8=_0x555c39(_0x42b2c3[_0x562d03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42b2c3[_0x562d03([0x6a,0x74,0x69])])),await _0x28e7aa()?_0x69efbd()?_0x4e835a()?_0x562d03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51fb83()?(_0x42b2c3[_0x562d03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x562d03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14f340=_0x4c1cf0(_0x562d03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42b2c3[_0x562d03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x562d03([0x74,0x72,0x69,0x61,0x6c])&&(_0x14f340=_0x4c1cf0(_0x562d03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21bbe6()):_0x562d03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x562d03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x562d03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x72d19){return _0x562d03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e835a(){const _0x58765c=[_0x562d03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x562d03([0x74,0x72,0x69,0x61,0x6c])][_0x562d03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42b2c3[_0x562d03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x508b44/0x3e8:0xe10*_0x3a73f6;return _0x42b2c3[_0x562d03([0x65,0x78,0x70])]<_0x58765c;}function _0x69efbd(){const _0x90f4d2=_0x42b2c3[_0x562d03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x90f4d2&&(!!_0x90f4d2[_0x562d03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x562d03([0x2a]))||!!_0x90f4d2[_0x562d03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x562d03([0x55,0x50,0x4c,0x43])));}function _0x51fb83(){const _0x9c9dfc=_0x3b4a,_0x29b184=_0x42b2c3[_0x562d03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29b184||0x0==_0x29b184[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e0e67}=new URL(window[_0x562d03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9c9dfc(0x1bb)]);if(_0x29b184[_0x562d03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e0e67))return!0x0;const _0x18a120=_0x1e0e67[_0x562d03([0x73,0x70,0x6c,0x69,0x74])](_0x562d03([0x2e]));return _0x29b184[_0x562d03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbc3e92=>_0xbc3e92[_0x562d03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x562d03([0x2a])))[_0x562d03([0x6d,0x61,0x70])](_0x597e64=>_0x597e64[_0x562d03([0x73,0x70,0x6c,0x69,0x74])](_0x562d03([0x2e])))[_0x562d03([0x73,0x6f,0x6d,0x65])](_0x4d84e1=>_0x18a120[_0x562d03([0x65,0x76,0x65,0x72,0x79])]((_0x24e80c,_0xca6629)=>_0x4d84e1[_0xca6629]===_0x24e80c||_0x4d84e1[_0xca6629]===_0x562d03([0x2a])));}function _0x21bbe6(){return _0x14f340&&_0x3e00e8?new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51491f,_0x645f22)=>{_0x14f340[_0x562d03([0x74,0x68,0x65,0x6e])](_0x51491f,_0x645f22),_0x3e00e8[_0x562d03([0x74,0x68,0x65,0x6e])](_0x3b289b=>{_0x3b289b!=_0x562d03([0x56,0x61,0x6c,0x69,0x64])&&_0x51491f(_0x3b289b);},_0x645f22);}):_0x14f340||_0x3e00e8||_0x562d03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x555c39(_0x8b581c,_0xd88f7d){return new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24d190=>{if(_0x228192())return _0x24d190(_0x562d03([0x56,0x61,0x6c,0x69,0x64]));_0x460fe5(),_0x49047a[_0x562d03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x562d03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb3b3f3=!0x1;const _0x5f9133=_0x3a555f();function _0x47de57(_0x339f90){return!!_0x339f90&&(typeof _0x339f90===_0x562d03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x339f90===_0x562d03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x339f90[_0x562d03([0x74,0x68,0x65,0x6e])]===_0x562d03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x339f90[_0x562d03([0x63,0x61,0x74,0x63,0x68])]===_0x562d03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a6caa(_0x5e557f){_0x9451de(_0x5e557f)[_0x562d03([0x74,0x68,0x65,0x6e])](_0x115644=>{if(!_0x115644||_0x115644[_0x562d03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x562d03([0x6f,0x6b]))return _0x562d03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3dc0fa(_0x5769ed(_0x5f9133+_0xd88f7d))!=_0x115644[_0x562d03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x562d03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x562d03([0x56,0x61,0x6c,0x69,0x64]);})[_0x562d03([0x74,0x68,0x65,0x6e])](_0x19719f=>(_0x4d99d8(),_0x19719f),()=>{const _0x5a54c7=_0x4398a7();return null==_0x5a54c7?(_0x4d99d8(),_0x562d03([0x56,0x61,0x6c,0x69,0x64])):_0x562d03(_0x508b44-_0x5a54c7>(0x6afe6099^_0x3b5b2c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x562d03([0x74,0x68,0x65,0x6e])](_0x24d190)[_0x562d03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24d190(_0x562d03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3add71=0x4ec40a19^_0x3b5b2c;function _0x4d99d8(){const _0x2b439a=_0x562d03([0x6c,0x6c,0x63,0x74,0x2d])+_0x3dc0fa(_0x5769ed(_0x8b581c)),_0x56c221=_0x5b64fe(_0x3dc0fa(window[_0x562d03([0x4d,0x61,0x74,0x68])][_0x562d03([0x63,0x65,0x69,0x6c])](_0x508b44/_0x3add71)));window[_0x562d03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x562d03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b439a,_0x56c221);}function _0x4398a7(){const _0x2e4cc9=_0x562d03([0x6c,0x6c,0x63,0x74,0x2d])+_0x3dc0fa(_0x5769ed(_0x8b581c)),_0xfd91d1=window[_0x562d03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x562d03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e4cc9);return _0xfd91d1?window[_0x562d03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b64fe(_0xfd91d1),0x10)*_0x3add71:null;}function _0x9451de(_0x55b85f){return new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e5b67,_0x5f1988)=>{_0x55b85f[_0x562d03([0x74,0x68,0x65,0x6e])](_0x2e5b67,_0x5f1988),window[_0x562d03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f1988,0x4ef33059^_0x3b5b2c);});}}_0x49047a[_0x562d03([0x6f,0x6e])](_0x562d03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x869460,_0x4d62cf)=>{if(_0x4d62cf[0x0]!=_0x8b581c)return _0x24d190(_0x562d03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d62cf[0x1]={..._0x4d62cf[0x1],[_0x562d03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f9133};},{[_0x562d03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x562d03([0x68,0x69,0x67,0x68])}),_0x49047a[_0x562d03([0x6f,0x6e])](_0x562d03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cd008=>{_0x47de57(_0x5cd008[_0x562d03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb3b3f3=!0x0,_0x1a6caa(_0x5cd008[_0x562d03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x562d03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x562d03([0x6c,0x6f,0x77])}),_0xa202ce[_0x562d03([0x74,0x68,0x65,0x6e])](()=>{_0xb3b3f3||_0x24d190(_0x562d03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x228192(){return _0x49047a[_0x562d03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x562d03([0x76,0x69,0x65,0x77])][_0x562d03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x562d03([0x61,0x75,0x74,0x6f]);}function _0x460fe5(){_0x49047a[_0x562d03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x562d03([0x76,0x69,0x65,0x77])][_0x562d03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x562d03([0x61,0x75,0x74,0x6f]);}}function _0x4c1cf0(_0x4513e6){const _0x50a02f=[new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13f045=>setTimeout(_0x13f045,0x4efbda55^_0x3b5b2c)),_0xa202ce[_0x562d03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52f3c4=>{let _0x1c259c=0x0;_0x49047a[_0x562d03([0x6d,0x6f,0x64,0x65,0x6c])][_0x562d03([0x6f,0x6e])](_0x562d03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42dfed,_0x4bde4f)=>{_0x4bde4f[0x0][_0x562d03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c259c++,_0x1c259c==(0x4ef2e561^_0x3b5b2c)&&(_0x52f3c4(),_0x42dfed[_0x562d03([0x6f,0x66,0x66])]());});}))];return window[_0x562d03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x562d03([0x72,0x61,0x63,0x65])](_0x50a02f)[_0x562d03([0x74,0x68,0x65,0x6e])](()=>_0x4513e6);}async function _0x2a3644(){await _0xa202ce,_0x49047a[_0x562d03([0x6d,0x6f,0x64,0x65,0x6c])][_0x562d03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50766e,_0x49047a[_0x562d03([0x6d,0x6f,0x64,0x65,0x6c])][_0x562d03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50766e,_0x49047a[_0x562d03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x562d03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc4e3af(_0x483d2c){const _0x1f35ff=_0x556cc4();_0x49047a[_0x1f35ff]=_0x562d03([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x483d2c,_0x483d2c!=_0x562d03([0x56,0x61,0x6c,0x69,0x64])&&_0x2a3644();}function _0x556cc4(){const _0xd940c3=window[_0x562d03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x562d03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x562d03([0x6e,0x6f,0x77])]())[_0x562d03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x562d03([0x2e]),'');let _0x22d1d2=_0x562d03([0x6b]);for(let _0x593c53=0x0;_0x593c53<_0xd940c3[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x593c53+=0x2){let _0x3f3ec2=window[_0x562d03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd940c3[_0x562d03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593c53,_0x593c53+0x2));_0x3f3ec2>=_0x1f3e27[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f3ec2-=_0x1f3e27[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22d1d2+=_0x1f3e27[_0x3f3ec2];}return _0x22d1d2;}function _0x5f1bdc(){const _0x25f780=_0x29731e[_0x562d03([0x73,0x70,0x6c,0x69,0x74])](_0x562d03([0x2e]));if(0x3!=_0x25f780[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb62178(_0x25f780[0x1]);function _0xb62178(_0x52ae58){const _0x389943=_0x57a478(_0x52ae58);return _0x389943&&_0x268ee3()?_0x389943:null;function _0x268ee3(){const _0x1e1649=_0x389943[_0x562d03([0x6a,0x74,0x69])],_0x25c50b=window[_0x562d03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e1649[_0x562d03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e1649[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b7403={..._0x389943,[_0x562d03([0x6a,0x74,0x69])]:_0x1e1649[_0x562d03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e1649[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b7403[_0x562d03([0x76,0x63])],_0x5769ed(_0x3b7403)==_0x25c50b;}}}async function _0x28e7aa(){let _0x3ceb5b=!0x0;try{const _0x5d37fb=_0x29731e[_0x562d03([0x73,0x70,0x6c,0x69,0x74])](_0x562d03([0x2e])),[_0x4613f8,_0x5f1be6,_0x511333]=_0x5d37fb;return _0x8f7dbd(_0x4613f8),await _0x1d4356(_0x4613f8,_0x5f1be6,_0x511333),_0x3ceb5b;}catch(_0x45b7b0){return!0x1;}function _0x8f7dbd(_0x4bf364){const _0x2e8fe2=_0x57a478(_0x4bf364);_0x2e8fe2&&_0x2e8fe2[_0x562d03([0x61,0x6c,0x67])]==_0x562d03([0x45,0x53,0x32,0x35,0x36])||(_0x3ceb5b=!0x1);}async function _0x1d4356(_0x3a265f,_0xbfae42,_0x40c7e6){const _0x2b6ddb=window[_0x562d03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x562d03([0x66,0x72,0x6f,0x6d])](_0x106a50(_0x40c7e6),_0x15c737=>_0x15c737[_0x562d03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ec2aa=new window[(_0x562d03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x562d03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a265f+_0x562d03([0x2e])+_0xbfae42),_0x279f00=window[_0x562d03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x562d03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x279f00)return;const _0xf68465=await _0x279f00[_0x562d03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x562d03([0x6a,0x77,0x6b]),_0x36363d,{[_0x562d03([0x6e,0x61,0x6d,0x65])]:_0x562d03([0x45,0x43,0x44,0x53,0x41]),[_0x562d03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x562d03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x562d03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x279f00[_0x562d03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x562d03([0x6e,0x61,0x6d,0x65])]:_0x562d03([0x45,0x43,0x44,0x53,0x41]),[_0x562d03([0x68,0x61,0x73,0x68])]:{[_0x562d03([0x6e,0x61,0x6d,0x65])]:_0x562d03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf68465,_0x2b6ddb,_0x2ec2aa)||(_0x3ceb5b=!0x1);}}function _0x57a478(_0x432a38){return _0x432a38[_0x562d03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x562d03([0x65,0x79]))?JSON[_0x562d03([0x70,0x61,0x72,0x73,0x65])](_0x106a50(_0x432a38)):null;}function _0x106a50(_0x376831){return window[_0x562d03([0x61,0x74,0x6f,0x62])](_0x376831[_0x562d03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x562d03([0x2b]))[_0x562d03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x562d03([0x2f])));}function _0x5769ed(_0x5a2281){let _0x501d8f=0x1505;function _0x2a7107(_0x485f46){for(let _0x44bcef=0x0;_0x44bcef<_0x485f46[_0x562d03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44bcef++){const _0x46f2d8=_0x485f46[_0x562d03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44bcef);_0x501d8f=(_0x501d8f<<0x5)+_0x501d8f+_0x46f2d8,_0x501d8f&=_0x501d8f;}}function _0x5c3dbe(_0x2c82f0){Array[_0x562d03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c82f0)?_0x2c82f0[_0x562d03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c3dbe):_0x2c82f0&&typeof _0x2c82f0==_0x562d03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x562d03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c82f0)[_0x562d03([0x73,0x6f,0x72,0x74])]()[_0x562d03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2625e7,_0x4171d9])=>{_0x2a7107(_0x2625e7),_0x5c3dbe(_0x4171d9);}):_0x2a7107(window[_0x562d03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c82f0));}return _0x5c3dbe(_0x5a2281),_0x501d8f>>>0x0;}function _0x3dc0fa(_0x4ec4e9){return _0x4ec4e9[_0x562d03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x562d03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x562d03([0x30]));}function _0x5b64fe(_0x5ac6df){return _0x5ac6df[_0x562d03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x562d03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x562d03([0x6a,0x6f,0x69,0x6e])]('');}function _0x50766e(){}function _0x562d03(_0x4ea3fe){const _0x1c3007=_0x3b4a;return _0x4ea3fe[_0x1c3007(0x1dd)](_0x2dbc72=>String[_0x1c3007(0x1a3)](_0x2dbc72))[_0x1c3007(0x1c8)]('');}_0xc4e3af(await _0x5e00f2());}(this);}[_0x5ac1d5(0x1c6)](){const _0x68c98d=_0x5ac1d5,_0x1723ae=this[_0x68c98d(0x1ad)][_0x68c98d(0x1b8)][_0x68c98d(0x1bd)];_0x1723ae[_0x68c98d(0x1c3)](_0x68c98d(0x1d9))&&_0x1723ae[_0x68c98d(0x1b6)](_0x68c98d(0x1d9),{'allowAttributes':[_0x68c98d(0x1ba)]}),_0x1723ae[_0x68c98d(0x1c3)](_0x68c98d(0x1a8))&&_0x1723ae[_0x68c98d(0x1b6)](_0x68c98d(0x1a8),{'allowAttributes':[_0x68c98d(0x1ba)]});}[_0x5ac1d5(0x1c5)](){const _0x2a3603=_0x5ac1d5,_0x205ac6=this[_0x2a3603(0x1ad)];_0x205ac6[_0x2a3603(0x1e3)][_0x2a3603(0x1bf)](_0x2a3603(0x1c2))[_0x2a3603(0x1e9)]({'model':_0x2a3603(0x1ba),'view':_0x2a3603(0x1d0)}),_0x205ac6[_0x2a3603(0x1e3)][_0x2a3603(0x1bf)](_0x2a3603(0x1ca))[_0x2a3603(0x1e7)]({'model':{'key':_0x2a3603(0x1ba),'value':_0x53658a=>_0x53658a[_0x2a3603(0x1ac)](_0x2a3603(0x1d0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e9d52=_0x205ac6[_0x2a3603(0x1b1)][_0x2a3603(0x1b4)](_0x2a3603(0x1a1));_0x1e9d52&&this[_0x2a3603(0x1e5)](_0x1e9d52,_0x2a3603(0x1eb),(_0xc404b0,[_0x13518f,_0x5c803c])=>{const _0x46ff6b=_0x2a3603;_0x13518f[_0x46ff6b(0x1d4)](_0x46ff6b(0x1ba),_0x5c803c);});}[_0x5ac1d5(0x1af)](){const _0x43384b=_0x5ac1d5,_0x43530f=this[_0x43384b(0x1ad)][_0x43384b(0x1c0)][_0x43384b(0x1b4)](_0x43384b(0x1b3))||{},_0x478db9=this[_0x43384b(0x1ad)][_0x43384b(0x1c0)][_0x43384b(0x1b4)](_0x43384b(0x1b5))||'';this[_0x43384b(0x1e1)]=_0x84c66f(_0x10d11b[_0x43384b(0x1d8)],_0x43384b(0x1ed),{..._0x43530f,'pubkey':_0x478db9,'ctx-name':_0x43384b(0x1c9),'sourceList':'','imgOnly':_0x43384b(0x1a4),'removeCopyright':_0x43384b(0x1a4),'localeName':this[_0x43384b(0x1ad)][_0x43384b(0x1c1)][_0x43384b(0x1de)],'externalSourcesEmbedCss':_0x43384b(0x19e)}),this[_0x43384b(0x1e1)][_0x43384b(0x1db)]=_0x43403d=>{const _0x223da8=_0x43384b;if(_0x223da8(0x1c7)==_0x43403d)return _0x223da8(0x1bc);},_0x10d11b[_0x43384b(0x1d8)][_0x43384b(0x1cb)][_0x43384b(0x19d)](this[_0x43384b(0x1e1)]);}[_0x5ac1d5(0x1cc)](){const _0x767634=_0x5ac1d5;this[_0x767634(0x1ec)]=_0x84c66f(_0x10d11b[_0x767634(0x1d8)],_0x767634(0x1be),{'ctx-name':_0x767634(0x1c9)}),_0x10d11b[_0x767634(0x1d8)][_0x767634(0x1cb)][_0x767634(0x19d)](this[_0x767634(0x1ec)]);}[_0x5ac1d5(0x1b0)](){const _0x4e3daf=_0x5ac1d5,_0x3da5a7=this[_0x4e3daf(0x1ad)][_0x4e3daf(0x1b1)][_0x4e3daf(0x1b4)](_0x4e3daf(0x1e4));_0x3da5a7&&this[_0x4e3daf(0x1e5)](_0x3da5a7,_0x4e3daf(0x1ce),()=>{const _0x47fdb6=_0x4e3daf,_0x426ca1=this[_0x47fdb6(0x1ad)][_0x47fdb6(0x1b8)][_0x47fdb6(0x1d8)][_0x47fdb6(0x1a9)][_0x47fdb6(0x1ee)]();_0x426ca1&&_0x426ca1[_0x47fdb6(0x1ac)](_0x47fdb6(0x1ba))&&this[_0x47fdb6(0x1ad)][_0x47fdb6(0x1d7)][_0x47fdb6(0x1cd)][_0x47fdb6(0x1ea)](_0x47fdb6(0x1dc),()=>{const _0x3ac946=_0x47fdb6;_0x475cfd(this[_0x3ac946(0x1ad)],_0x426ca1);});});const _0x631b4e=this[_0x4e3daf(0x1ad)][_0x4e3daf(0x1b1)][_0x4e3daf(0x1b4)](_0x4e3daf(0x1a0));_0x631b4e&&this[_0x4e3daf(0x1e5)](_0x631b4e,_0x4e3daf(0x1ce),()=>{const _0x862edb=_0x4e3daf,_0x203f79=this[_0x862edb(0x1ad)][_0x862edb(0x1b8)][_0x862edb(0x1d8)][_0x862edb(0x1a9)][_0x862edb(0x1ee)]();_0x203f79&&_0x203f79[_0x862edb(0x1ac)](_0x862edb(0x1ba))&&this[_0x862edb(0x1ad)][_0x862edb(0x1d7)][_0x862edb(0x1cd)][_0x862edb(0x1ea)](_0x862edb(0x1dc),()=>{const _0x41df90=_0x862edb;_0x475cfd(this[_0x41df90(0x1ad)],_0x203f79);});});}}function _0x5dbf(){const _0x331661=['elementToAttribute','isPremiumPlugin','attributeToAttribute','once','cleanupImage','_ctxElement','uc-config','getSelectedElement','appendChild','\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','configElement','uploadcareImageReplace','replaceImageSource','1037913nkaReT','fromCharCode','true','PictureEditing','pluginName','307684KgXKRD','imageInline','selection','add','destroy','getAttribute','editor','UploadcareEditing','_initConfig','_initImageProcessingIndicator','commands','ctxElement','uploadcare.uploader','get','uploadcare.pubkey','extend','init','model','input[uploadcare-file-input]','uploadcareImageId','href','#uc-icon-arrow-down','schema','uc-upload-ctx-provider','for','config','locale','downcast','isRegistered','777544QWLbam','_initConversion','_initSchema','closeMax','join','uploader','upcast','body','_initCtx','view','execute','querySelector','data-uc-image-id','1230348yNOWll','isOfficialPlugin','810360HfyyJc','removeAttribute','549246tffsJu','requires','editing','document','imageBlock','uploadcare','iconHrefResolver','render','map','contentLanguage','15MPCIuY','37312sTmqax','_configElement','remove','conversion','insertImage','listenTo','afterInit'];_0x5dbf=function(){return _0x331661;};return _0x5dbf();}
23
+ function _0x4d9f(_0x2c5d38,_0x5dc34a){const _0x545aab=_0x545a();return _0x4d9f=function(_0x4d9ffb,_0x51f695){_0x4d9ffb=_0x4d9ffb-0x6e;let _0x498382=_0x545aab[_0x4d9ffb];return _0x498382;},_0x4d9f(_0x2c5d38,_0x5dc34a);}const _0x5aeb5a=_0x4d9f;(function(_0x5d0b32,_0x439017){const _0x57ae4d=_0x4d9f,_0x4feeb8=_0x5d0b32();while(!![]){try{const _0x112ceb=-parseInt(_0x57ae4d(0xb1))/0x1*(-parseInt(_0x57ae4d(0x77))/0x2)+parseInt(_0x57ae4d(0x6f))/0x3*(-parseInt(_0x57ae4d(0x75))/0x4)+-parseInt(_0x57ae4d(0x6e))/0x5+parseInt(_0x57ae4d(0x7d))/0x6*(parseInt(_0x57ae4d(0xc2))/0x7)+parseInt(_0x57ae4d(0xbd))/0x8*(-parseInt(_0x57ae4d(0xc0))/0x9)+-parseInt(_0x57ae4d(0xb2))/0xa+parseInt(_0x57ae4d(0xa2))/0xb*(parseInt(_0x57ae4d(0x71))/0xc);if(_0x112ceb===_0x439017)break;else _0x4feeb8['push'](_0x4feeb8['shift']());}catch(_0x567616){_0x4feeb8['push'](_0x4feeb8['shift']());}}}(_0x545a,0x61537));import{Plugin as _0x1d1598}from'ckeditor5/src/core.js';function _0x545a(){const _0x5e1544=['href','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','editor','_configElement','isRegistered','selection','destroy','UploadcareEditing','replaceImageSource','elementToAttribute','13106RPKsJg','4454530mkpMGz','uc-upload-ctx-provider','editing','data-uc-image-id','input[uploadcare-file-input]','removeAttribute','locale','pluginName','fromCharCode','body','uploadcare','700728EBkoAG','_initConfig','config','63VlfALL','uc-config','7bWscxe','conversion','2171670vidOvg','39YVSFJp','getSelectedElement','476616hbyDxE','isOfficialPlugin','appendChild','join','225580FAAkzZ','uploadcare.uploader','28lECRyg','imageInline','_initSchema','init','_initCtx','extend','3208548pVtcgO','uploader','imageBlock','schema','getAttribute','insertImage','isPremiumPlugin','view','model','uploadcare.pubkey','true','upcast','commands','querySelector','contentLanguage','requires','remove','attributeToAttribute','render','iconHrefResolver','get','map','uploadcareImageReplace','closeMax','uploadcareImageId','once','listenTo','#uc-icon-arrow-down','_ctxElement','afterInit','_initConversion','execute','downcast','ctxElement','cleanupImage','configElement','for','528FgcwuM','PictureEditing','_initImageProcessingIndicator','add','document'];_0x545a=function(){return _0x5e1544;};return _0x545a();}import{Dialog as _0x4093c3}from'ckeditor5/src/ui.js';import{createElement as _0x4fc617,global as _0x408251,uid as _0x31bd66}from'ckeditor5/src/utils.js';import _0x3657e0 from'./uploadcarecommand.js';import _0x2d942f from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x28b985}from'./utils/editingutils.js';export default class i extends _0x1d1598{[_0x5aeb5a(0xaa)]=null;[_0x5aeb5a(0x99)]=null;static get[_0x5aeb5a(0xb9)](){const _0x32f401=_0x5aeb5a;return _0x32f401(0xae);}static get[_0x5aeb5a(0x8c)](){const _0x4fb285=_0x5aeb5a;return[_0x4fb285(0xa3),_0x2d942f,_0x4093c3];}static get[_0x5aeb5a(0x72)](){return!0x0;}static get[_0x5aeb5a(0x83)](){return!0x0;}get[_0x5aeb5a(0xa0)](){const _0x17f2d4=_0x5aeb5a;return this[_0x17f2d4(0xaa)];}get[_0x5aeb5a(0x9e)](){const _0x47b535=_0x5aeb5a;return this[_0x47b535(0x99)];}[_0x5aeb5a(0x7a)](){const _0x187f72=_0x5aeb5a,_0x362ded=this[_0x187f72(0xa9)];_0x362ded[_0x187f72(0x89)][_0x187f72(0xa5)](_0x187f72(0xbc),new _0x3657e0(_0x362ded));}[_0x5aeb5a(0x9a)](){const _0x39b0d7=_0x5aeb5a;this[_0x39b0d7(0x79)](),this[_0x39b0d7(0x9b)](),this[_0x39b0d7(0xbe)](),this[_0x39b0d7(0x7b)](),this[_0x39b0d7(0xa4)](),this[_0x39b0d7(0x97)](this[_0x39b0d7(0xa9)],_0x39b0d7(0xad),()=>{const _0xa61980=_0x39b0d7;this[_0xa61980(0xaa)]&&(this[_0xa61980(0xaa)][_0xa61980(0x8d)](),this[_0xa61980(0xaa)]=null),this[_0xa61980(0x99)]&&(this[_0xa61980(0x99)][_0xa61980(0x8d)](),this[_0xa61980(0x99)]=null);const _0x5c9a80=_0x408251[_0xa61980(0xa6)][_0xa61980(0x8a)](_0xa61980(0xb6));_0x5c9a80&&_0x5c9a80[_0xa61980(0x8d)]();}),async function(_0x1187e7){const _0x4e8314=_0x4bcb74([0x47,0x6d,0x45,0x68,0x4b,0x72,0x74,0x54,0x46,0x34,0x30,0x59,0x78,0x66,0x51,0x61,0x7a,0x52,0x69,0x4c,0x6a,0x5a,0x37,0x76,0x79,0x33,0x62,0x75,0x49,0x39,0x4e,0x6c,0x48,0x77,0x6e,0x65,0x71,0x44,0x50,0x4d,0x35,0x56,0x42,0x41,0x36,0x6f,0x63,0x67,0x53,0x4f,0x38,0x64,0x32,0x55,0x31,0x6b,0x70,0x58,0x4a,0x73,0x43,0x57]),_0x9ae6af=0x22527a8e,_0x508039=0x2255190e^_0x9ae6af,_0x2ae567=window[_0x4bcb74([0x44,0x61,0x74,0x65])][_0x4bcb74([0x6e,0x6f,0x77])](),_0x5ab4ad=_0x1187e7[_0x4bcb74([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c45ec=new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aba93=>{_0x5ab4ad[_0x4bcb74([0x6f,0x6e,0x63,0x65])](_0x4bcb74([0x72,0x65,0x61,0x64,0x79]),_0x3aba93);}),_0x50ccc3={[_0x4bcb74([0x6b,0x74,0x79])]:_0x4bcb74([0x45,0x43]),[_0x4bcb74([0x75,0x73,0x65])]:_0x4bcb74([0x73,0x69,0x67]),[_0x4bcb74([0x63,0x72,0x76])]:_0x4bcb74([0x50,0x2d,0x32,0x35,0x36]),[_0x4bcb74([0x78])]:_0x4bcb74([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]),[_0x4bcb74([0x79])]:_0x4bcb74([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]),[_0x4bcb74([0x61,0x6c,0x67])]:_0x4bcb74([0x45,0x53,0x32,0x35,0x36])},_0x1b61f7=_0x5ab4ad[_0x4bcb74([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4bcb74([0x67,0x65,0x74])](_0x4bcb74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d55e9(){let _0x3c4b5a,_0x4893f7=null,_0x48db31=null;try{if(_0x1b61f7==_0x4bcb74([0x47,0x50,0x4c]))return _0x4bcb74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c4b5a=_0x1c6a65(),!_0x3c4b5a)return _0x4bcb74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c4b5a[_0x4bcb74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48db31=_0x520fbe(_0x3c4b5a[_0x4bcb74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c4b5a[_0x4bcb74([0x6a,0x74,0x69])])),await _0x402536()?_0x3a3a65()?_0x58388c()?_0x4bcb74([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23138f()?(_0x3c4b5a[_0x4bcb74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bcb74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4893f7=_0x710581(_0x4bcb74([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c4b5a[_0x4bcb74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bcb74([0x74,0x72,0x69,0x61,0x6c])&&(_0x4893f7=_0x710581(_0x4bcb74([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dfd35()):_0x4bcb74([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4bcb74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4bcb74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x377d96){return _0x4bcb74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58388c(){const _0x2bb0ce=[_0x4bcb74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4bcb74([0x74,0x72,0x69,0x61,0x6c])][_0x4bcb74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c4b5a[_0x4bcb74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ae567/0x3e8:0xe10*_0x508039;return _0x3c4b5a[_0x4bcb74([0x65,0x78,0x70])]<_0x2bb0ce;}function _0x3a3a65(){const _0x821c4c=_0x3c4b5a[_0x4bcb74([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x821c4c&&(!!_0x821c4c[_0x4bcb74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bcb74([0x2a]))||!!_0x821c4c[_0x4bcb74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bcb74([0x55,0x50,0x4c,0x43])));}function _0x23138f(){const _0x4dbeca=_0x4d9f,_0x46bd61=_0x3c4b5a[_0x4bcb74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46bd61||0x0==_0x46bd61[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c8156}=new URL(window[_0x4bcb74([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4dbeca(0xa7)]);if(_0x46bd61[_0x4bcb74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8156))return!0x0;const _0x940e94=_0x4c8156[_0x4bcb74([0x73,0x70,0x6c,0x69,0x74])](_0x4bcb74([0x2e]));return _0x46bd61[_0x4bcb74([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54ca18=>_0x54ca18[_0x4bcb74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bcb74([0x2a])))[_0x4bcb74([0x6d,0x61,0x70])](_0x52f6d0=>_0x52f6d0[_0x4bcb74([0x73,0x70,0x6c,0x69,0x74])](_0x4bcb74([0x2e])))[_0x4bcb74([0x73,0x6f,0x6d,0x65])](_0x10f4f4=>_0x940e94[_0x4bcb74([0x65,0x76,0x65,0x72,0x79])]((_0x48240c,_0x59149c)=>_0x10f4f4[_0x59149c]===_0x48240c||_0x10f4f4[_0x59149c]===_0x4bcb74([0x2a])));}function _0x1dfd35(){return _0x4893f7&&_0x48db31?new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf5cf41,_0x2bacb1)=>{_0x4893f7[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0xf5cf41,_0x2bacb1),_0x48db31[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0x1fff9b=>{_0x1fff9b!=_0x4bcb74([0x56,0x61,0x6c,0x69,0x64])&&_0xf5cf41(_0x1fff9b);},_0x2bacb1);}):_0x4893f7||_0x48db31||_0x4bcb74([0x56,0x61,0x6c,0x69,0x64]);}}function _0x520fbe(_0xba75bc,_0x10eb7a){return new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aeb36=>{if(_0x2c1833())return _0x3aeb36(_0x4bcb74([0x56,0x61,0x6c,0x69,0x64]));_0x5864b2(),_0x5ab4ad[_0x4bcb74([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4bcb74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13eecc=!0x1;const _0x1628ad=_0x31bd66();function _0x206c0c(_0x2beae7){return!!_0x2beae7&&(typeof _0x2beae7===_0x4bcb74([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2beae7===_0x4bcb74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2beae7[_0x4bcb74([0x74,0x68,0x65,0x6e])]===_0x4bcb74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2beae7[_0x4bcb74([0x63,0x61,0x74,0x63,0x68])]===_0x4bcb74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14e5ab(_0x44809d){_0x2f2406(_0x44809d)[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0x781d3e=>{if(!_0x781d3e||_0x781d3e[_0x4bcb74([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4bcb74([0x6f,0x6b]))return _0x4bcb74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15ba17(_0x5cb608(_0x1628ad+_0x10eb7a))!=_0x781d3e[_0x4bcb74([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4bcb74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4bcb74([0x56,0x61,0x6c,0x69,0x64]);})[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0x571fe5=>(_0x41fe2b(),_0x571fe5),()=>{const _0xc3bb96=_0x4d0d8b();return null==_0xc3bb96?(_0x41fe2b(),_0x4bcb74([0x56,0x61,0x6c,0x69,0x64])):_0x4bcb74(_0x2ae567-_0xc3bb96>(0x65efe8e^_0x9ae6af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0x3aeb36)[_0x4bcb74([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3aeb36(_0x4bcb74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19fda1=0x2264940e^_0x9ae6af;function _0x41fe2b(){const _0x2592b5=_0x4bcb74([0x6c,0x6c,0x63,0x74,0x2d])+_0x15ba17(_0x5cb608(_0xba75bc)),_0x68b40f=_0x3d826e(_0x15ba17(window[_0x4bcb74([0x4d,0x61,0x74,0x68])][_0x4bcb74([0x63,0x65,0x69,0x6c])](_0x2ae567/_0x19fda1)));window[_0x4bcb74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bcb74([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2592b5,_0x68b40f);}function _0x4d0d8b(){const _0x4be2c0=_0x4bcb74([0x6c,0x6c,0x63,0x74,0x2d])+_0x15ba17(_0x5cb608(_0xba75bc)),_0x3bd838=window[_0x4bcb74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bcb74([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4be2c0);return _0x3bd838?window[_0x4bcb74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d826e(_0x3bd838),0x10)*_0x19fda1:null;}function _0x2f2406(_0x230c1f){return new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44c545,_0xddfc6c)=>{_0x230c1f[_0x4bcb74([0x74,0x68,0x65,0x6e])](_0x44c545,_0xddfc6c),window[_0x4bcb74([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xddfc6c,0x2253ae4e^_0x9ae6af);});}}_0x5ab4ad[_0x4bcb74([0x6f,0x6e])](_0x4bcb74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29304a,_0x4784cf)=>{if(_0x4784cf[0x0]!=_0xba75bc)return _0x3aeb36(_0x4bcb74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4784cf[0x1]={..._0x4784cf[0x1],[_0x4bcb74([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1628ad};},{[_0x4bcb74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bcb74([0x68,0x69,0x67,0x68])}),_0x5ab4ad[_0x4bcb74([0x6f,0x6e])](_0x4bcb74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c3b0=>{_0x206c0c(_0x40c3b0[_0x4bcb74([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13eecc=!0x0,_0x14e5ab(_0x40c3b0[_0x4bcb74([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4bcb74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bcb74([0x6c,0x6f,0x77])}),_0x1c45ec[_0x4bcb74([0x74,0x68,0x65,0x6e])](()=>{_0x13eecc||_0x3aeb36(_0x4bcb74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c1833(){return _0x5ab4ad[_0x4bcb74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bcb74([0x76,0x69,0x65,0x77])][_0x4bcb74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4bcb74([0x61,0x75,0x74,0x6f]);}function _0x5864b2(){_0x5ab4ad[_0x4bcb74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bcb74([0x76,0x69,0x65,0x77])][_0x4bcb74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4bcb74([0x61,0x75,0x74,0x6f]);}}function _0x710581(_0x4758fb){const _0x3b2eab=[new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf8c1=>setTimeout(_0x4bf8c1,0x225b4442^_0x9ae6af)),_0x1c45ec[_0x4bcb74([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x117def=>{let _0x58b7a0=0x0;_0x5ab4ad[_0x4bcb74([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bcb74([0x6f,0x6e])](_0x4bcb74([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2fe908,_0x25d17e)=>{_0x25d17e[0x0][_0x4bcb74([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58b7a0++,_0x58b7a0==(0x22527b76^_0x9ae6af)&&(_0x117def(),_0x2fe908[_0x4bcb74([0x6f,0x66,0x66])]());});}))];return window[_0x4bcb74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4bcb74([0x72,0x61,0x63,0x65])](_0x3b2eab)[_0x4bcb74([0x74,0x68,0x65,0x6e])](()=>_0x4758fb);}async function _0x50a7e2(){await _0x1c45ec,_0x5ab4ad[_0x4bcb74([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bcb74([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c9054,_0x5ab4ad[_0x4bcb74([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bcb74([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c9054,_0x5ab4ad[_0x4bcb74([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bcb74([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a337a(_0x572e5e){const _0x4829a6=_0x3d6d97();_0x5ab4ad[_0x4829a6]=_0x4bcb74([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x572e5e,_0x572e5e!=_0x4bcb74([0x56,0x61,0x6c,0x69,0x64])&&_0x50a7e2();}function _0x3d6d97(){const _0x28ed81=window[_0x4bcb74([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4bcb74([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bcb74([0x6e,0x6f,0x77])]())[_0x4bcb74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bcb74([0x2e]),'');let _0x4f0a31=_0x4bcb74([0x47]);for(let _0x1c163c=0x0;_0x1c163c<_0x28ed81[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c163c+=0x2){let _0x18b1b5=window[_0x4bcb74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28ed81[_0x4bcb74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c163c,_0x1c163c+0x2));_0x18b1b5>=_0x4e8314[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18b1b5-=_0x4e8314[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f0a31+=_0x4e8314[_0x18b1b5];}return _0x4f0a31;}function _0x1c6a65(){const _0x4b7cae=_0x1b61f7[_0x4bcb74([0x73,0x70,0x6c,0x69,0x74])](_0x4bcb74([0x2e]));if(0x3!=_0x4b7cae[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8dea2b(_0x4b7cae[0x1]);function _0x8dea2b(_0x4087b5){const _0x10337b=_0x41c7f8(_0x4087b5);return _0x10337b&&_0x286c27()?_0x10337b:null;function _0x286c27(){const _0x521b59=_0x10337b[_0x4bcb74([0x6a,0x74,0x69])],_0x58d955=window[_0x4bcb74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x521b59[_0x4bcb74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x521b59[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c9170={..._0x10337b,[_0x4bcb74([0x6a,0x74,0x69])]:_0x521b59[_0x4bcb74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x521b59[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c9170[_0x4bcb74([0x76,0x63])],_0x5cb608(_0x2c9170)==_0x58d955;}}}async function _0x402536(){let _0x4bb86c=!0x0;try{const _0x4e309a=_0x1b61f7[_0x4bcb74([0x73,0x70,0x6c,0x69,0x74])](_0x4bcb74([0x2e])),[_0x34b0ff,_0x572df8,_0x224df4]=_0x4e309a;return _0x5f278c(_0x34b0ff),await _0xef17d0(_0x34b0ff,_0x572df8,_0x224df4),_0x4bb86c;}catch(_0x19e161){return!0x1;}function _0x5f278c(_0x4de32c){const _0xf6ddca=_0x41c7f8(_0x4de32c);_0xf6ddca&&_0xf6ddca[_0x4bcb74([0x61,0x6c,0x67])]==_0x4bcb74([0x45,0x53,0x32,0x35,0x36])||(_0x4bb86c=!0x1);}async function _0xef17d0(_0x1bb483,_0x57814a,_0x2cb13c){const _0xecd5f9=window[_0x4bcb74([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4bcb74([0x66,0x72,0x6f,0x6d])](_0x1640f7(_0x2cb13c),_0x30b2f2=>_0x30b2f2[_0x4bcb74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1389fd=new window[(_0x4bcb74([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4bcb74([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bb483+_0x4bcb74([0x2e])+_0x57814a),_0x137ea7=window[_0x4bcb74([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4bcb74([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x137ea7)return;const _0x2fa6e1=await _0x137ea7[_0x4bcb74([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4bcb74([0x6a,0x77,0x6b]),_0x50ccc3,{[_0x4bcb74([0x6e,0x61,0x6d,0x65])]:_0x4bcb74([0x45,0x43,0x44,0x53,0x41]),[_0x4bcb74([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4bcb74([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4bcb74([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x137ea7[_0x4bcb74([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4bcb74([0x6e,0x61,0x6d,0x65])]:_0x4bcb74([0x45,0x43,0x44,0x53,0x41]),[_0x4bcb74([0x68,0x61,0x73,0x68])]:{[_0x4bcb74([0x6e,0x61,0x6d,0x65])]:_0x4bcb74([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fa6e1,_0xecd5f9,_0x1389fd)||(_0x4bb86c=!0x1);}}function _0x41c7f8(_0x9e0e4a){return _0x9e0e4a[_0x4bcb74([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4bcb74([0x65,0x79]))?JSON[_0x4bcb74([0x70,0x61,0x72,0x73,0x65])](_0x1640f7(_0x9e0e4a)):null;}function _0x1640f7(_0x33ab05){return window[_0x4bcb74([0x61,0x74,0x6f,0x62])](_0x33ab05[_0x4bcb74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4bcb74([0x2b]))[_0x4bcb74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4bcb74([0x2f])));}function _0x5cb608(_0x31d7c4){let _0x567fa5=0x1505;function _0x270699(_0x1fadb1){for(let _0x5183b3=0x0;_0x5183b3<_0x1fadb1[_0x4bcb74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5183b3++){const _0x463391=_0x1fadb1[_0x4bcb74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5183b3);_0x567fa5=(_0x567fa5<<0x5)+_0x567fa5+_0x463391,_0x567fa5&=_0x567fa5;}}function _0x2abcc7(_0x513c8b){Array[_0x4bcb74([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x513c8b)?_0x513c8b[_0x4bcb74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2abcc7):_0x513c8b&&typeof _0x513c8b==_0x4bcb74([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4bcb74([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x513c8b)[_0x4bcb74([0x73,0x6f,0x72,0x74])]()[_0x4bcb74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ac2d8,_0x5b3935])=>{_0x270699(_0x4ac2d8),_0x2abcc7(_0x5b3935);}):_0x270699(window[_0x4bcb74([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x513c8b));}return _0x2abcc7(_0x31d7c4),_0x567fa5>>>0x0;}function _0x15ba17(_0x44cfa4){return _0x44cfa4[_0x4bcb74([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4bcb74([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4bcb74([0x30]));}function _0x3d826e(_0x61a90d){return _0x61a90d[_0x4bcb74([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4bcb74([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4bcb74([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c9054(){}function _0x4bcb74(_0x371ddc){const _0x43d1d9=_0x4d9f;return _0x371ddc[_0x43d1d9(0x92)](_0x46c066=>String[_0x43d1d9(0xba)](_0x46c066))[_0x43d1d9(0x74)]('');}_0x4a337a(await _0x5d55e9());}(this);}[_0x5aeb5a(0x79)](){const _0x49fbab=_0x5aeb5a,_0x5668c9=this[_0x49fbab(0xa9)][_0x49fbab(0x85)][_0x49fbab(0x80)];_0x5668c9[_0x49fbab(0xab)](_0x49fbab(0x7f))&&_0x5668c9[_0x49fbab(0x7c)](_0x49fbab(0x7f),{'allowAttributes':[_0x49fbab(0x95)]}),_0x5668c9[_0x49fbab(0xab)](_0x49fbab(0x78))&&_0x5668c9[_0x49fbab(0x7c)](_0x49fbab(0x78),{'allowAttributes':[_0x49fbab(0x95)]});}[_0x5aeb5a(0x9b)](){const _0x5b7ca3=_0x5aeb5a,_0x446fcb=this[_0x5b7ca3(0xa9)];_0x446fcb[_0x5b7ca3(0xc3)][_0x5b7ca3(0xa1)](_0x5b7ca3(0x9d))[_0x5b7ca3(0x8e)]({'model':_0x5b7ca3(0x95),'view':_0x5b7ca3(0xb5)}),_0x446fcb[_0x5b7ca3(0xc3)][_0x5b7ca3(0xa1)](_0x5b7ca3(0x88))[_0x5b7ca3(0xb0)]({'model':{'key':_0x5b7ca3(0x95),'value':_0x446ddc=>_0x446ddc[_0x5b7ca3(0x81)](_0x5b7ca3(0xb5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x23cc17=_0x446fcb[_0x5b7ca3(0x89)][_0x5b7ca3(0x91)](_0x5b7ca3(0xaf));_0x23cc17&&this[_0x5b7ca3(0x97)](_0x23cc17,_0x5b7ca3(0x9f),(_0xcf40d9,[_0x39178c,_0xd852a1])=>{const _0x563a27=_0x5b7ca3;_0x39178c[_0x563a27(0xb7)](_0x563a27(0x95),_0xd852a1);});}[_0x5aeb5a(0xbe)](){const _0x182a19=_0x5aeb5a,_0x1f9230=this[_0x182a19(0xa9)][_0x182a19(0xbf)][_0x182a19(0x91)](_0x182a19(0x76))||{},_0x27e833=this[_0x182a19(0xa9)][_0x182a19(0xbf)][_0x182a19(0x91)](_0x182a19(0x86))||'';this[_0x182a19(0xaa)]=_0x4fc617(_0x408251[_0x182a19(0xa6)],_0x182a19(0xc1),{..._0x1f9230,'pubkey':_0x27e833,'ctx-name':_0x182a19(0x7e),'sourceList':'','imgOnly':_0x182a19(0x87),'removeCopyright':_0x182a19(0x87),'localeName':this[_0x182a19(0xa9)][_0x182a19(0xb8)][_0x182a19(0x8b)],'externalSourcesEmbedCss':_0x182a19(0xa8)}),this[_0x182a19(0xaa)][_0x182a19(0x90)]=_0x21d069=>{const _0x4b3aa7=_0x182a19;if(_0x4b3aa7(0x94)==_0x21d069)return _0x4b3aa7(0x98);},_0x408251[_0x182a19(0xa6)][_0x182a19(0xbb)][_0x182a19(0x73)](this[_0x182a19(0xaa)]);}[_0x5aeb5a(0x7b)](){const _0x479338=_0x5aeb5a;this[_0x479338(0x99)]=_0x4fc617(_0x408251[_0x479338(0xa6)],_0x479338(0xb3),{'ctx-name':_0x479338(0x7e)}),_0x408251[_0x479338(0xa6)][_0x479338(0xbb)][_0x479338(0x73)](this[_0x479338(0x99)]);}[_0x5aeb5a(0xa4)](){const _0x321835=_0x5aeb5a,_0x1d813c=this[_0x321835(0xa9)][_0x321835(0x89)][_0x321835(0x91)](_0x321835(0x82));_0x1d813c&&this[_0x321835(0x97)](_0x1d813c,_0x321835(0x9c),()=>{const _0x3cb769=_0x321835,_0x430cda=this[_0x3cb769(0xa9)][_0x3cb769(0x85)][_0x3cb769(0xa6)][_0x3cb769(0xac)][_0x3cb769(0x70)]();_0x430cda&&_0x430cda[_0x3cb769(0x81)](_0x3cb769(0x95))&&this[_0x3cb769(0xa9)][_0x3cb769(0xb4)][_0x3cb769(0x84)][_0x3cb769(0x96)](_0x3cb769(0x8f),()=>{const _0x4ea64b=_0x3cb769;_0x28b985(this[_0x4ea64b(0xa9)],_0x430cda);});});const _0x308f21=this[_0x321835(0xa9)][_0x321835(0x89)][_0x321835(0x91)](_0x321835(0x93));_0x308f21&&this[_0x321835(0x97)](_0x308f21,_0x321835(0x9c),()=>{const _0x4eb937=_0x321835,_0xc853d1=this[_0x4eb937(0xa9)][_0x4eb937(0x85)][_0x4eb937(0xa6)][_0x4eb937(0xac)][_0x4eb937(0x70)]();_0xc853d1&&_0xc853d1[_0x4eb937(0x81)](_0x4eb937(0x95))&&this[_0x4eb937(0xa9)][_0x4eb937(0xb4)][_0x4eb937(0x84)][_0x4eb937(0x96)](_0x4eb937(0x8f),()=>{const _0x55bed3=_0x4eb937;_0x28b985(this[_0x55bed3(0xa9)],_0xc853d1);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x122a8f,ObservableMixin as _0x18bf99}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x47fa1d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b0bb2}from'ckeditor5/src/icons.js';import _0x11512f from'./uploadcareimageeditformview.js';import _0x12100c from'../../utils/uploadutils.js';import{getImageUrls as _0x363d25,getImageDimension as _0x18d03a}from'../../utils/editingutils.js';import{isAncestor as _0x5147af}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
- _0x18bf99(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2dde92,_0x5aadf6,_0x528571){super(),this['_editor']=_0x2dde92,this['_dialog']=_0x5aadf6,this['_imageElement']=_0x528571,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 _0x4af56d=this['_imageElement'],_0x3f8396=_0x4af56d['getAttribute']('uploadcareImageId'),_0x7f88b5=_0x4af56d['getAttribute']('src');if(_0x3f8396)await this['_loadImageInfo'](_0x3f8396,_0x7f88b5);else{if(this['_imageCache']['has'](_0x7f88b5)){const _0x2365ab=this['_imageCache']['get'](_0x7f88b5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2365ab['url'],this['imageDimension']=_0x2365ab['dimension'],this['imageId']=_0x2365ab['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5cae14}=this['_editor'],t=_0x5cae14['t'],_0xae06b6=new _0x11512f(_0x5cae14,this['imageStatus'],this['_attributes']);_0xae06b6['bind']('status')['to'](this,'imageStatus'),_0xae06b6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xae06b6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xae06b6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xae06b6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4b0bb2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xae06b6,'position':_0x47fa1d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xae06b6['focus']();},'onHide':()=>{_0xae06b6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53fbeb=>!_0x5147af(_0x53fbeb,_0xae06b6['element'])}});}['_loadImageInfo'](_0x5d18c3,_0x4e6554){return _0x12100c['getInfo'](_0x5d18c3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x767897=>{const {width:_0x5f2090,height:_0x3dd5f4}=_0x767897['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e6554,this['imageDimension']={'width':_0x5f2090,'height':_0x3dd5f4},this['imageId']=_0x5d18c3;})['catch'](_0x29a0e2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29a0e2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3d122d,_0x246c1d){return this['_getImageAsFile'](_0x3d122d)['then'](_0x1d428a=>_0x12100c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x246c1d['signal'],'file':_0x1d428a,'onProgress':_0x5679d5=>{_0x5679d5&&_0x5679d5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5679d5['value']));}}))['then'](_0x5933fd=>{const {width:_0x36d218,height:_0x1375f7}=_0x5933fd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5933fd['cdnUrl'],this['imageDimension']={'width':_0x36d218,'height':_0x1375f7},this['imageId']=_0x5933fd['uuid'],this['imageUploadProgress']=null;const _0x4d7cb3=_0x3d122d['getAttribute']('src');this['_imageCache']['set'](_0x4d7cb3,{'id':_0x5933fd['uuid'],'url':_0x5933fd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x186aa4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x186aa4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x34979d,_0x4418b7){_0x34979d['on']('apply',(_0x2c0639,_0x3a4290)=>{this['_replaceImage'](_0x4418b7,_0x3a4290['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x34979d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x34979d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x37bf61,_0x1b1d83,_0x4425f6){const _0x3ce0f2=this['_editor'],{width:_0x3a9330,height:_0x2c26b7}=_0x18d03a(_0x1b1d83,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x14694f,imageSources:_0x4fa81c}=_0x363d25(_0x1b1d83,_0x3a9330);_0x3ce0f2['model']['change'](_0x14cb09=>{if('$graveyard'===_0x37bf61['root']['rootName']){_0x3ce0f2['execute']('insertImage',{'imageType':_0x37bf61['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x37bf61['getAttributes']()),'uploadcareImageId':_0x4425f6,'src':_0x14694f,'sources':_0x4fa81c,'width':_0x3a9330,'height':_0x2c26b7}});const _0x3f757f=_0x37bf61['getChildren']();_0x37bf61=_0x3ce0f2['model']['document']['selection']['getSelectedElement']();for(const _0x311af4 of _0x3f757f)_0x14cb09['append'](_0x14cb09['cloneElement'](_0x311af4),_0x37bf61);}else _0x14cb09['setSelection'](_0x37bf61,'on'),_0x3ce0f2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x37bf61['getAttributes']()),'uploadcareImageId':_0x4425f6,'src':_0x14694f,'sources':_0x4fa81c,'width':_0x3a9330,'height':_0x2c26b7},_0x37bf61);_0x14cb09['setSelection'](_0x37bf61,'on');});}async['_getImageAsFile'](_0x4a69a8){const _0x40a6bb=_0x122a8f['window'],_0x15b379=_0x122a8f['document']['location']['href'],_0x44e326=new _0x40a6bb['URL'](_0x4a69a8['getAttribute']('src'),_0x15b379);if('data:'===_0x44e326['protocol']){const _0x49d1ca=_0x44e326['href']['split'](','),_0x5ee702=_0x49d1ca[0x0]['match'](/:(.*?);/)[0x1],_0x4c585d=_0x5ee702['split']('/')[0x1],_0x42459d=_0x40a6bb['atob'](_0x49d1ca[_0x49d1ca['length']-0x1]);let _0x538ddd=_0x42459d['length'];const _0x121d7e=new _0x40a6bb['Uint8Array'](_0x538ddd);for(;_0x538ddd--;)_0x121d7e[_0x538ddd]=_0x42459d['charCodeAt'](_0x538ddd);return new _0x40a6bb['File']([_0x121d7e],'image.'+_0x4c585d,{'type':_0x5ee702});}const _0x2ca1c1=_0x44e326['href']['split']('/'),_0x1ad92d=_0x2ca1c1[_0x2ca1c1['length']-0x1],_0x2e9bdb=_0x1ad92d['split']('.')[0x1];return _0x40a6bb['fetch'](_0x44e326['href'])['then'](_0x4b0c66=>_0x4b0c66['clone']()['blob']())['then'](_0x2ebf36=>new _0x40a6bb['File']([_0x2ebf36],_0x1ad92d,{'type':'image/'+_0x2e9bdb}));}}
23
+ import{global as _0x242ad0,ObservableMixin as _0x383eec}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x54c1a8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1cc6e6}from'ckeditor5/src/icons.js';import _0x113fda from'./uploadcareimageeditformview.js';import _0x58d192 from'../../utils/uploadutils.js';import{getImageUrls as _0x5de600,getImageDimension as _0x2206ff}from'../../utils/editingutils.js';import{isAncestor as _0x3dfdb2}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x383eec(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4bae56,_0x3324e7,_0x319167){super(),this['_editor']=_0x4bae56,this['_dialog']=_0x3324e7,this['_imageElement']=_0x319167,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 _0x477d4c=this['_imageElement'],_0x33342d=_0x477d4c['getAttribute']('uploadcareImageId'),_0x3d7c44=_0x477d4c['getAttribute']('src');if(_0x33342d)await this['_loadImageInfo'](_0x33342d,_0x3d7c44);else{if(this['_imageCache']['has'](_0x3d7c44)){const _0x213198=this['_imageCache']['get'](_0x3d7c44);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x213198['url'],this['imageDimension']=_0x213198['dimension'],this['imageId']=_0x213198['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xe6c5f1}=this['_editor'],t=_0xe6c5f1['t'],_0x4e7fd4=new _0x113fda(_0xe6c5f1,this['imageStatus'],this['_attributes']);_0x4e7fd4['bind']('status')['to'](this,'imageStatus'),_0x4e7fd4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4e7fd4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4e7fd4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4e7fd4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1cc6e6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4e7fd4,'position':_0x54c1a8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4e7fd4['focus']();},'onHide':()=>{_0x4e7fd4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4a611b=>!_0x3dfdb2(_0x4a611b,_0x4e7fd4['element'])}});}['_loadImageInfo'](_0xbe0aad,_0x428da2){return _0x58d192['getInfo'](_0xbe0aad,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5d2559=>{const {width:_0x3d1be4,height:_0x1bc9b1}=_0x5d2559['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x428da2,this['imageDimension']={'width':_0x3d1be4,'height':_0x1bc9b1},this['imageId']=_0xbe0aad;})['catch'](_0x2b883f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b883f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4150c0,_0x16895f){return this['_getImageAsFile'](_0x4150c0)['then'](_0x348374=>_0x58d192['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x16895f['signal'],'file':_0x348374,'onProgress':_0x298a4b=>{_0x298a4b&&_0x298a4b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x298a4b['value']));}}))['then'](_0x4951d8=>{const {width:_0x47a5c4,height:_0xc50bee}=_0x4951d8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4951d8['cdnUrl'],this['imageDimension']={'width':_0x47a5c4,'height':_0xc50bee},this['imageId']=_0x4951d8['uuid'],this['imageUploadProgress']=null;const _0x1c4f68=_0x4150c0['getAttribute']('src');this['_imageCache']['set'](_0x1c4f68,{'id':_0x4951d8['uuid'],'url':_0x4951d8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5231a1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5231a1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x96c8bd,_0x57a178){_0x96c8bd['on']('apply',(_0x46681d,_0x3b1cdd)=>{this['_replaceImage'](_0x57a178,_0x3b1cdd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x96c8bd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x96c8bd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x264e15,_0x270faf,_0x2df896){const _0x144c55=this['_editor'],{width:_0xc3bff2,height:_0x3ebc4c}=_0x2206ff(_0x270faf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x40bb5b,imageSources:_0x246716}=_0x5de600(_0x270faf,_0xc3bff2);_0x144c55['model']['change'](_0x565f63=>{if('$graveyard'===_0x264e15['root']['rootName']){_0x144c55['execute']('insertImage',{'imageType':_0x264e15['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x264e15['getAttributes']()),'uploadcareImageId':_0x2df896,'src':_0x40bb5b,'sources':_0x246716,'width':_0xc3bff2,'height':_0x3ebc4c}});const _0x4afbc4=_0x264e15['getChildren']();_0x264e15=_0x144c55['model']['document']['selection']['getSelectedElement']();for(const _0x5ca3fa of _0x4afbc4)_0x565f63['append'](_0x565f63['cloneElement'](_0x5ca3fa),_0x264e15);}else _0x565f63['setSelection'](_0x264e15,'on'),_0x144c55['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x264e15['getAttributes']()),'uploadcareImageId':_0x2df896,'src':_0x40bb5b,'sources':_0x246716,'width':_0xc3bff2,'height':_0x3ebc4c},_0x264e15);_0x565f63['setSelection'](_0x264e15,'on');});}async['_getImageAsFile'](_0x43a83c){const _0x124c0f=_0x242ad0['window'],_0x4e673e=_0x242ad0['document']['location']['href'],_0x49a1fd=new _0x124c0f['URL'](_0x43a83c['getAttribute']('src'),_0x4e673e);if('data:'===_0x49a1fd['protocol']){const _0x12eb3a=_0x49a1fd['href']['split'](','),_0x173687=_0x12eb3a[0x0]['match'](/:(.*?);/)[0x1],_0x1b3311=_0x173687['split']('/')[0x1],_0xf9ccca=_0x124c0f['atob'](_0x12eb3a[_0x12eb3a['length']-0x1]);let _0x4c2a81=_0xf9ccca['length'];const _0x35fb2b=new _0x124c0f['Uint8Array'](_0x4c2a81);for(;_0x4c2a81--;)_0x35fb2b[_0x4c2a81]=_0xf9ccca['charCodeAt'](_0x4c2a81);return new _0x124c0f['File']([_0x35fb2b],'image.'+_0x1b3311,{'type':_0x173687});}const _0x4daef0=_0x49a1fd['href']['split']('/'),_0x598f0f=_0x4daef0[_0x4daef0['length']-0x1],_0x3a5484=_0x598f0f['split']('.')[0x1];return _0x124c0f['fetch'](_0x49a1fd['href'])['then'](_0x2a21de=>_0x2a21de['clone']()['blob']())['then'](_0x149e65=>new _0x124c0f['File']([_0x149e65],_0x598f0f,{'type':'image/'+_0x3a5484}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x301c59,_0xa4b6de){const _0xe15f5f=_0x2978,_0x246213=_0x301c59();while(!![]){try{const _0x1b4cda=-parseInt(_0xe15f5f(0x194))/0x1*(-parseInt(_0xe15f5f(0x191))/0x2)+-parseInt(_0xe15f5f(0x193))/0x3*(parseInt(_0xe15f5f(0x185))/0x4)+parseInt(_0xe15f5f(0x195))/0x5+-parseInt(_0xe15f5f(0x18c))/0x6*(-parseInt(_0xe15f5f(0x196))/0x7)+-parseInt(_0xe15f5f(0x197))/0x8+-parseInt(_0xe15f5f(0x186))/0x9+parseInt(_0xe15f5f(0x18a))/0xa*(parseInt(_0xe15f5f(0x18f))/0xb);if(_0x1b4cda===_0xa4b6de)break;else _0x246213['push'](_0x246213['shift']());}catch(_0x23ebbc){_0x246213['push'](_0x246213['shift']());}}}(_0x7564,0xa726b));function _0x2978(_0x8565cd,_0x556cdb){const _0x756412=_0x7564();return _0x2978=function(_0x29783d,_0x51c5b3){_0x29783d=_0x29783d-0x185;let _0x5edd83=_0x756412[_0x29783d];return _0x5edd83;},_0x2978(_0x8565cd,_0x556cdb);}import{View as _0xd80cb}from'ckeditor5/src/ui.js';function _0x7564(){const _0x395d85=['6428560TXzKKj','3524FGCxbp','11988306DSebTM','set','imageSrc','bindTemplate','19307950Lnncbg','ck-uploadcare-theme','4214706xfhyPP','uc-light','uc-cloud-image-editor','11QjsfbW','image-edit','1392998GJbuAG','setTemplate','2985QAkiSV','1NasZvU','1835525ZzYENx','7CzHpUj'];_0x7564=function(){return _0x395d85;};return _0x7564();}export default class tt extends _0xd80cb{constructor(_0x13a3fe,_0x100b59){const _0x1bf4df=_0x2978;super(_0x13a3fe);const _0x4c3abe=this[_0x1bf4df(0x189)];this[_0x1bf4df(0x187)](_0x1bf4df(0x188),''),this[_0x1bf4df(0x192)]({'tag':_0x1bf4df(0x18e),'attributes':{..._0x100b59,'class':[_0x1bf4df(0x18d),_0x1bf4df(0x18b)],'ctx-name':_0x1bf4df(0x190),'cdn-url':_0x4c3abe['to'](_0x1bf4df(0x188))}});}}
23
+ function _0x3818(){const _0x3e3804=['imageSrc','6580120XTKNSD','2594394uoZoiM','87wkNCxX','uc-cloud-image-editor','setTemplate','bindTemplate','2908QzNjJO','ck-uploadcare-theme','uc-light','332036eEYiEQ','176nJmOnY','116347JXkUTy','409435OoEeoM','925356CspgWR','set','15LiwRXs','image-edit'];_0x3818=function(){return _0x3e3804;};return _0x3818();}(function(_0x70f864,_0x463269){const _0x2a9795=_0x2266,_0x1207d8=_0x70f864();while(!![]){try{const _0x57a2cd=-parseInt(_0x2a9795(0x163))/0x1*(-parseInt(_0x2a9795(0x167))/0x2)+parseInt(_0x2a9795(0x15e))/0x3*(-parseInt(_0x2a9795(0x16a))/0x4)+-parseInt(_0x2a9795(0x15b))/0x5+-parseInt(_0x2a9795(0x15c))/0x6+parseInt(_0x2a9795(0x15a))/0x7*(parseInt(_0x2a9795(0x16b))/0x8)+-parseInt(_0x2a9795(0x162))/0x9+parseInt(_0x2a9795(0x161))/0xa;if(_0x57a2cd===_0x463269)break;else _0x1207d8['push'](_0x1207d8['shift']());}catch(_0x4c242e){_0x1207d8['push'](_0x1207d8['shift']());}}}(_0x3818,0x3373c));function _0x2266(_0x123a3e,_0xd052b3){const _0x381812=_0x3818();return _0x2266=function(_0x226665,_0x4ab083){_0x226665=_0x226665-0x15a;let _0x24b035=_0x381812[_0x226665];return _0x24b035;},_0x2266(_0x123a3e,_0xd052b3);}import{View as _0x4a079f}from'ckeditor5/src/ui.js';export default class tt extends _0x4a079f{constructor(_0x154f8e,_0x5a4939){const _0x51bf7b=_0x2266;super(_0x154f8e);const _0x282d1f=this[_0x51bf7b(0x166)];this[_0x51bf7b(0x15d)](_0x51bf7b(0x160),''),this[_0x51bf7b(0x165)]({'tag':_0x51bf7b(0x164),'attributes':{..._0x5a4939,'class':[_0x51bf7b(0x169),_0x51bf7b(0x168)],'ctx-name':_0x51bf7b(0x15f),'cdn-url':_0x282d1f['to'](_0x51bf7b(0x160))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c620a,IconView as at,View as _0x36dc82}from'ckeditor5/src/ui.js';export default class rt extends _0x36dc82{constructor(_0x310591){super(_0x310591);const t=_0x310591['t'];this['set']('errorType',null);const _0x5088a6=new _0x3c620a(_0x310591);_0x5088a6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5088a6['withText']=!0x0,_0x5088a6['class']='ck-button-action',_0x5088a6['on']('execute',()=>{this['fire']('retry');}),_0x5088a6['bind']('isVisible')['to'](this,'errorType',_0x388190=>'NotFound'!==_0x388190);const _0x456061=new at();_0x456061['content']=et,_0x456061['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2aa95b=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':[_0x456061,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2aa95b['to']('errorType',_0x2c72e6=>t('NotFound'!==_0x2c72e6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5088a6]},{'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 _0x2e16d7,IconView as at,View as _0x30ab44}from'ckeditor5/src/ui.js';export default class rt extends _0x30ab44{constructor(_0x477631){super(_0x477631);const t=_0x477631['t'];this['set']('errorType',null);const _0x2b4906=new _0x2e16d7(_0x477631);_0x2b4906['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2b4906['withText']=!0x0,_0x2b4906['class']='ck-button-action',_0x2b4906['on']('execute',()=>{this['fire']('retry');}),_0x2b4906['bind']('isVisible')['to'](this,'errorType',_0x13361e=>'NotFound'!==_0x13361e);const _0x5c9ba6=new at();_0x5c9ba6['content']=et,_0x5c9ba6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x14beb7=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':[_0x5c9ba6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x14beb7['to']('errorType',_0x42c08d=>t('NotFound'!==_0x42c08d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2b4906]},{'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 _0x5377d1,View as _0x38734b}from'ckeditor5/src/ui.js';export default class ta extends _0x38734b{constructor(_0x397b7b){super(_0x397b7b);const t=_0x397b7b['t'],_0x53419e=this['bindTemplate'],_0x345077=new _0x5377d1();_0x345077['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':[_0x345077,{'text':_0x53419e['to']('imageUploadProgress',_0x59538c=>t('Loading\x20image...')+'\x20('+(_0x59538c||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 _0x1973d4,View as _0x24dfbc}from'ckeditor5/src/ui.js';export default class ta extends _0x24dfbc{constructor(_0x58b1eb){super(_0x58b1eb);const t=_0x58b1eb['t'],_0x49cac8=this['bindTemplate'],_0x573e70=new _0x1973d4();_0x573e70['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':[_0x573e70,{'text':_0x49cac8['to']('imageUploadProgress',_0x228446=>t('Loading\x20image...')+'\x20('+(_0x228446||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 _0x17e8ef=_0x1dc2;function _0x21b3(){const _0x5917ed=['_focusableView','disconnect','set','_editingView','29562Gnqjfy','add','122724fmepuq','ck-reset_all-excluded','_items','length','filter','uploading','change:status','detail','retry','apply','render','addMany','element','clear','5999076oXTJLK','addedNodes','focus','_waitForImageEditorComponent','status','279aFyKFK','_errorView','error','151389DCwjcB','observe','18Yhwheg','ck-uploadcare-form','174TVYZaX','_addErrorViewListeners','cancel','nodeName','div','95624oDcvND','cdnUrl','addEventListener','once','target','fire','uc-cloud-image-editor','2671915CMRfMY','44mBPlMN','toLowerCase','setTemplate','2060460WCSsKO','querySelector','_loadingView','22kPRwCf','_setView','createCollection','_addUploadcareImageEditorListeners','getFocusableElement','ready'];_0x21b3=function(){return _0x5917ed;};return _0x21b3();}function _0x1dc2(_0x3cc677,_0x5afcee){const _0x21b337=_0x21b3();return _0x1dc2=function(_0x1dc2a3,_0x523547){_0x1dc2a3=_0x1dc2a3-0x66;let _0x3ed47e=_0x21b337[_0x1dc2a3];return _0x3ed47e;},_0x1dc2(_0x3cc677,_0x5afcee);}(function(_0x13f441,_0x56f06f){const _0x56f11c=_0x1dc2,_0x4c499e=_0x13f441();while(!![]){try{const _0xf60081=-parseInt(_0x56f11c(0x70))/0x1*(parseInt(_0x56f11c(0x80))/0x2)+parseInt(_0x56f11c(0x9a))/0x3*(-parseInt(_0x56f11c(0x82))/0x4)+parseInt(_0x56f11c(0x6f))/0x5+parseInt(_0x56f11c(0x9c))/0x6*(-parseInt(_0x56f11c(0x98))/0x7)+-parseInt(_0x56f11c(0x68))/0x8*(-parseInt(_0x56f11c(0x95))/0x9)+parseInt(_0x56f11c(0x73))/0xa*(parseInt(_0x56f11c(0x76))/0xb)+parseInt(_0x56f11c(0x90))/0xc;if(_0xf60081===_0x56f06f)break;else _0x4c499e['push'](_0x4c499e['shift']());}catch(_0xce70f7){_0x4c499e['push'](_0x4c499e['shift']());}}}(_0x21b3,0x56bec));import{View as _0x451009}from'ckeditor5/src/ui.js';import _0x26ac67 from'./uploadcareimageeditformloadingview.js';import _0x11da70 from'./uploadcareimageeditformerrorview.js';import _0x14e0ef from'./uploadcareimageeditformeditingview.js';import _0x445100 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x445100{[_0x17e8ef(0x84)];[_0x17e8ef(0x75)];[_0x17e8ef(0x96)];[_0x17e8ef(0x7f)];[_0x17e8ef(0x7c)];constructor(_0x561e1e,_0x5a9674,_0x1fd59a){const _0x3ba694=_0x17e8ef;super(_0x561e1e),this[_0x3ba694(0x84)]=this[_0x3ba694(0x78)](),this[_0x3ba694(0x75)]=new _0x26ac67(_0x561e1e),this[_0x3ba694(0x96)]=new _0x11da70(_0x561e1e),this[_0x3ba694(0x7f)]=new _0x14e0ef(_0x561e1e,_0x1fd59a),this[_0x3ba694(0x7c)]=new _0x451009(_0x561e1e),this[_0x3ba694(0x7c)][_0x3ba694(0x72)](this[_0x3ba694(0x7a)]()),this[_0x3ba694(0x7e)](_0x3ba694(0x94),_0x5a9674),this[_0x3ba694(0x72)]({'tag':_0x3ba694(0x67),'attributes':{'class':['ck',_0x3ba694(0x83),_0x3ba694(0x9b)],'tabindex':'-1'},'children':this[_0x3ba694(0x84)]}),this[_0x3ba694(0x77)](),this[_0x3ba694(0x6b)](_0x3ba694(0x8c),()=>{const _0xc6c881=_0x3ba694;this[_0xc6c881(0x93)](this[_0xc6c881(0x8e)],_0x4f8175=>{const _0x1961e6=_0xc6c881;this[_0x1961e6(0x79)](_0x4f8175);});}),this['on'](_0x3ba694(0x88),()=>{const _0x2ae94d=_0x3ba694;this[_0x2ae94d(0x77)]();}),this[_0x3ba694(0x9d)]();}[_0x17e8ef(0x92)](){const _0xc90549=_0x17e8ef;this[_0xc90549(0x8e)][_0xc90549(0x92)]();}[_0x17e8ef(0x77)](){const _0x2d95a9=_0x17e8ef;switch(this[_0x2d95a9(0x84)][_0x2d95a9(0x8f)](),this[_0x2d95a9(0x94)]){case _0x2d95a9(0x87):this[_0x2d95a9(0x84)][_0x2d95a9(0x81)](this[_0x2d95a9(0x75)]);break;case _0x2d95a9(0x97):this[_0x2d95a9(0x84)][_0x2d95a9(0x81)](this[_0x2d95a9(0x96)]);break;case _0x2d95a9(0x7b):this[_0x2d95a9(0x84)][_0x2d95a9(0x8d)]([this[_0x2d95a9(0x7f)],this[_0x2d95a9(0x7c)]]);}}[_0x17e8ef(0x93)](_0x5257b5,_0x1892dc){const _0x5361fd=_0x17e8ef,_0x1741c1=_0x5361fd(0x6e),_0x3518de=_0x5257b5[_0x5361fd(0x74)](_0x1741c1);if(_0x3518de)return _0x1892dc(_0x3518de);const _0x5afab0=new MutationObserver(_0x5e07bd=>{const _0x5849a6=_0x5361fd,_0xf21d64=_0x5e07bd[_0x5849a6(0x86)](_0x5bf0e3=>_0x5bf0e3[_0x5849a6(0x6c)]===_0x5257b5&&_0x5bf0e3[_0x5849a6(0x91)][_0x5849a6(0x85)]>0x0&&_0x5bf0e3[_0x5849a6(0x91)][0x0][_0x5849a6(0x66)][_0x5849a6(0x71)]()===_0x1741c1);_0xf21d64[_0x5849a6(0x85)]&&(_0x5afab0[_0x5849a6(0x7d)](),_0x1892dc(_0xf21d64[0x0][_0x5849a6(0x91)][0x0]));});_0x5afab0[_0x5361fd(0x99)](_0x5257b5,{'childList':!0x0,'subtree':!0x0});}[_0x17e8ef(0x79)](_0x1ca581){const _0x2d14e7=_0x17e8ef;_0x1ca581[_0x2d14e7(0x6a)](_0x2d14e7(0x8b),_0x53b02c=>{const _0x2ae28a=_0x2d14e7;this[_0x2ae28a(0x6d)](_0x2ae28a(0x8b),{'imageSrc':_0x53b02c[_0x2ae28a(0x89)][_0x2ae28a(0x69)]});}),_0x1ca581[_0x2d14e7(0x6a)](_0x2d14e7(0x9e),()=>{const _0xa78444=_0x2d14e7;this[_0xa78444(0x6d)](_0xa78444(0x9e));});}[_0x17e8ef(0x9d)](){const _0x3ef99d=_0x17e8ef;this[_0x3ef99d(0x96)]['on'](_0x3ef99d(0x8a),()=>{const _0x4e2cd8=_0x3ef99d;this[_0x4e2cd8(0x6d)](_0x4e2cd8(0x8a));});}}
23
+ const _0x1b160a=_0x28d9;(function(_0x259a68,_0x13a228){const _0x2b224a=_0x28d9,_0x4124ec=_0x259a68();while(!![]){try{const _0x81d7c=parseInt(_0x2b224a(0xd7))/0x1*(-parseInt(_0x2b224a(0xc6))/0x2)+-parseInt(_0x2b224a(0xea))/0x3*(parseInt(_0x2b224a(0xc3))/0x4)+parseInt(_0x2b224a(0xd3))/0x5*(-parseInt(_0x2b224a(0xc7))/0x6)+parseInt(_0x2b224a(0xca))/0x7+-parseInt(_0x2b224a(0xbc))/0x8+parseInt(_0x2b224a(0xd5))/0x9+parseInt(_0x2b224a(0xdc))/0xa;if(_0x81d7c===_0x13a228)break;else _0x4124ec['push'](_0x4124ec['shift']());}catch(_0x52c1e2){_0x4124ec['push'](_0x4124ec['shift']());}}}(_0x372c,0xa486a));import{View as _0x2baa1d}from'ckeditor5/src/ui.js';import _0x37575d from'./uploadcareimageeditformloadingview.js';function _0x372c(){const _0x2de230=['toLowerCase','once','addEventListener','change:status','_items','nodeName','4adOSLR','fire','_setView','870282PtORFJ','46218bsgksh','detail','addedNodes','6540513lYOsRA','_errorView','uploading','retry','ck-reset_all-excluded','getFocusableElement','length','addMany','uc-cloud-image-editor','730ICBNAn','render','1344798VgxtKZ','_addUploadcareImageEditorListeners','1SdXjTg','_editingView','error','createCollection','disconnect','25712370GTMyUQ','clear','ready','observe','add','ck-uploadcare-form','apply','_loadingView','target','_addErrorViewListeners','_focusableView','set','_waitForImageEditorComponent','filter','2546871sNCUtj','div','element','querySelector','setTemplate','cancel','focus','cdnUrl','status','4579072giWlyK'];_0x372c=function(){return _0x2de230;};return _0x372c();}import _0x3b7f94 from'./uploadcareimageeditformerrorview.js';import _0x3d5e02 from'./uploadcareimageeditformeditingview.js';function _0x28d9(_0x21aecf,_0x342812){const _0x372c0b=_0x372c();return _0x28d9=function(_0x28d91f,_0x50d58e){_0x28d91f=_0x28d91f-0xb5;let _0x55c8b4=_0x372c0b[_0x28d91f];return _0x55c8b4;},_0x28d9(_0x21aecf,_0x342812);}import _0x12abd3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x12abd3{[_0x1b160a(0xc1)];[_0x1b160a(0xe3)];[_0x1b160a(0xcb)];[_0x1b160a(0xd8)];[_0x1b160a(0xe6)];constructor(_0x1db571,_0x293aab,_0x40b569){const _0x4bb128=_0x1b160a;super(_0x1db571),this[_0x4bb128(0xc1)]=this[_0x4bb128(0xda)](),this[_0x4bb128(0xe3)]=new _0x37575d(_0x1db571),this[_0x4bb128(0xcb)]=new _0x3b7f94(_0x1db571),this[_0x4bb128(0xd8)]=new _0x3d5e02(_0x1db571,_0x40b569),this[_0x4bb128(0xe6)]=new _0x2baa1d(_0x1db571),this[_0x4bb128(0xe6)][_0x4bb128(0xb7)](this[_0x4bb128(0xcf)]()),this[_0x4bb128(0xe7)](_0x4bb128(0xbb),_0x293aab),this[_0x4bb128(0xb7)]({'tag':_0x4bb128(0xeb),'attributes':{'class':['ck',_0x4bb128(0xce),_0x4bb128(0xe1)],'tabindex':'-1'},'children':this[_0x4bb128(0xc1)]}),this[_0x4bb128(0xc5)](),this[_0x4bb128(0xbe)](_0x4bb128(0xd4),()=>{const _0x10d09f=_0x4bb128;this[_0x10d09f(0xe8)](this[_0x10d09f(0xb5)],_0x22eab6=>{const _0x34b470=_0x10d09f;this[_0x34b470(0xd6)](_0x22eab6);});}),this['on'](_0x4bb128(0xc0),()=>{const _0x312899=_0x4bb128;this[_0x312899(0xc5)]();}),this[_0x4bb128(0xe5)]();}[_0x1b160a(0xb9)](){const _0x28f832=_0x1b160a;this[_0x28f832(0xb5)][_0x28f832(0xb9)]();}[_0x1b160a(0xc5)](){const _0x49022d=_0x1b160a;switch(this[_0x49022d(0xc1)][_0x49022d(0xdd)](),this[_0x49022d(0xbb)]){case _0x49022d(0xcc):this[_0x49022d(0xc1)][_0x49022d(0xe0)](this[_0x49022d(0xe3)]);break;case _0x49022d(0xd9):this[_0x49022d(0xc1)][_0x49022d(0xe0)](this[_0x49022d(0xcb)]);break;case _0x49022d(0xde):this[_0x49022d(0xc1)][_0x49022d(0xd1)]([this[_0x49022d(0xd8)],this[_0x49022d(0xe6)]]);}}[_0x1b160a(0xe8)](_0x5a7f73,_0x3240ce){const _0x3dce69=_0x1b160a,_0x499a89=_0x3dce69(0xd2),_0x2bc6fa=_0x5a7f73[_0x3dce69(0xb6)](_0x499a89);if(_0x2bc6fa)return _0x3240ce(_0x2bc6fa);const _0x1410ee=new MutationObserver(_0x34f0df=>{const _0x43a4ab=_0x3dce69,_0x17bfac=_0x34f0df[_0x43a4ab(0xe9)](_0x3a322a=>_0x3a322a[_0x43a4ab(0xe4)]===_0x5a7f73&&_0x3a322a[_0x43a4ab(0xc9)][_0x43a4ab(0xd0)]>0x0&&_0x3a322a[_0x43a4ab(0xc9)][0x0][_0x43a4ab(0xc2)][_0x43a4ab(0xbd)]()===_0x499a89);_0x17bfac[_0x43a4ab(0xd0)]&&(_0x1410ee[_0x43a4ab(0xdb)](),_0x3240ce(_0x17bfac[0x0][_0x43a4ab(0xc9)][0x0]));});_0x1410ee[_0x3dce69(0xdf)](_0x5a7f73,{'childList':!0x0,'subtree':!0x0});}[_0x1b160a(0xd6)](_0x505a1a){const _0x19cd37=_0x1b160a;_0x505a1a[_0x19cd37(0xbf)](_0x19cd37(0xe2),_0x2f0af1=>{const _0x14dbe5=_0x19cd37;this[_0x14dbe5(0xc4)](_0x14dbe5(0xe2),{'imageSrc':_0x2f0af1[_0x14dbe5(0xc8)][_0x14dbe5(0xba)]});}),_0x505a1a[_0x19cd37(0xbf)](_0x19cd37(0xb8),()=>{const _0x406d51=_0x19cd37;this[_0x406d51(0xc4)](_0x406d51(0xb8));});}[_0x1b160a(0xe5)](){const _0x60c8fb=_0x1b160a;this[_0x60c8fb(0xcb)]['on'](_0x60c8fb(0xcd),()=>{const _0x500472=_0x60c8fb;this[_0x500472(0xc4)](_0x500472(0xcd));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fdc57=_0x5dae;(function(_0x58f485,_0x33f412){const _0x7e1162=_0x5dae,_0x3ec019=_0x58f485();while(!![]){try{const _0x559e8a=parseInt(_0x7e1162(0x1bd))/0x1+parseInt(_0x7e1162(0x1d2))/0x2+-parseInt(_0x7e1162(0x1cc))/0x3+-parseInt(_0x7e1162(0x1c4))/0x4*(-parseInt(_0x7e1162(0x1c0))/0x5)+-parseInt(_0x7e1162(0x1c6))/0x6+-parseInt(_0x7e1162(0x1c7))/0x7+parseInt(_0x7e1162(0x1bb))/0x8;if(_0x559e8a===_0x33f412)break;else _0x3ec019['push'](_0x3ec019['shift']());}catch(_0x533734){_0x3ec019['push'](_0x3ec019['shift']());}}}(_0x5740,0x633e3));import{Command as _0x2f15d6}from'ckeditor5/src/core.js';import{Dialog as _0x11532b}from'ckeditor5/src/ui.js';import _0x40bc46 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2bf1ca}from'../utils/editingutils.js';function _0x5dae(_0x1ebf9e,_0x157019){const _0x57403b=_0x5740();return _0x5dae=function(_0x5daef4,_0x3b9cb8){_0x5daef4=_0x5daef4-0x1b8;let _0x286df0=_0x57403b[_0x5daef4];return _0x286df0;},_0x5dae(_0x1ebf9e,_0x157019);}export default class z extends _0x2f15d6{[_0x4fdc57(0x1cd)];static get[_0x4fdc57(0x1d5)](){return[_0x11532b];}[_0x4fdc57(0x1c5)];constructor(_0x57fe0b){const _0x56a123=_0x4fdc57;super(_0x57fe0b),this[_0x56a123(0x1cd)]=void 0x0,this[_0x56a123(0x1c5)]=_0x2bf1ca(_0x57fe0b[_0x56a123(0x1c3)][_0x56a123(0x1b8)](_0x56a123(0x1d3))||[]),this[_0x56a123(0x1cb)]({'isActive':!0x1});}[_0x4fdc57(0x1ce)](){const _0x7d848f=_0x4fdc57,_0x3dfe4a=this[_0x7d848f(0x1b9)][_0x7d848f(0x1d4)][_0x7d848f(0x1ba)][_0x7d848f(0x1bc)][_0x7d848f(0x1c9)]();this[_0x7d848f(0x1d1)]=this[_0x7d848f(0x1c5)](_0x3dfe4a);}[_0x4fdc57(0x1bf)](){const _0x1e2cee=_0x4fdc57;this[_0x1e2cee(0x1cd)]&&(this[_0x1e2cee(0x1d0)](_0x1e2cee(0x1ca)),this[_0x1e2cee(0x1cd)]=void 0x0);const _0x2c55a7=this[_0x1e2cee(0x1b9)][_0x1e2cee(0x1d4)][_0x1e2cee(0x1ba)][_0x1e2cee(0x1bc)][_0x1e2cee(0x1c9)]();_0x2c55a7&&(_0x2c55a7['is'](_0x1e2cee(0x1be),_0x1e2cee(0x1cf))||_0x2c55a7['is'](_0x1e2cee(0x1be),_0x1e2cee(0x1c2)))&&(this[_0x1e2cee(0x1cd)]=new _0x40bc46(this[_0x1e2cee(0x1b9)],this[_0x1e2cee(0x1b9)][_0x1e2cee(0x1c1)][_0x1e2cee(0x1b8)](_0x11532b),_0x2c55a7),this[_0x1e2cee(0x1c8)](_0x1e2cee(0x1ca))['to'](this[_0x1e2cee(0x1cd)],_0x1e2cee(0x1ca)));}}function _0x5740(){const _0x21a387=['getSelectedElement','isActive','set','1861377vAVtnT','imageEditController','refresh','imageBlock','unbind','isEnabled','1312922ohEPad','uploadcare.allowExternalImagesEditing','model','requires','get','editor','document','7118736yEDhhv','selection','264293sFmCCo','element','execute','4835AQVzto','plugins','imageInline','config','820qejwLg','_isEditable','2049420aVLjBb','4482121iiFNNX','bind'];_0x5740=function(){return _0x21a387;};return _0x5740();}
23
+ const _0x3a9127=_0x1f40;(function(_0x5ca383,_0x4f0867){const _0x28cd1e=_0x1f40,_0x29f3b9=_0x5ca383();while(!![]){try{const _0x21d24f=parseInt(_0x28cd1e(0x100))/0x1+-parseInt(_0x28cd1e(0x104))/0x2*(parseInt(_0x28cd1e(0xfc))/0x3)+parseInt(_0x28cd1e(0xf8))/0x4*(parseInt(_0x28cd1e(0xf3))/0x5)+parseInt(_0x28cd1e(0xfb))/0x6+-parseInt(_0x28cd1e(0x101))/0x7+-parseInt(_0x28cd1e(0xf4))/0x8+-parseInt(_0x28cd1e(0x10e))/0x9*(-parseInt(_0x28cd1e(0xf6))/0xa);if(_0x21d24f===_0x4f0867)break;else _0x29f3b9['push'](_0x29f3b9['shift']());}catch(_0x102ef2){_0x29f3b9['push'](_0x29f3b9['shift']());}}}(_0x3464,0x886f4));import{Command as _0x44d87d}from'ckeditor5/src/core.js';import{Dialog as _0x1166ca}from'ckeditor5/src/ui.js';import _0x20ef89 from'./ui/uploadcareimageeditcontroller.js';function _0x1f40(_0x558e9e,_0x478974){const _0x346497=_0x3464();return _0x1f40=function(_0x1f404f,_0x568b7){_0x1f404f=_0x1f404f-0xef;let _0x199f4f=_0x346497[_0x1f404f];return _0x199f4f;},_0x1f40(_0x558e9e,_0x478974);}function _0x3464(){const _0x333125=['imageEditController','602251IvbckV','1736315JIVMZz','get','plugins','4ZtYgXE','refresh','bind','element','getSelectedElement','requires','config','_isEditable','execute','selection','12609ROsIpz','document','editor','imageBlock','uploadcare.allowExternalImagesEditing','515AAnKSK','3911840iLguGE','unbind','660dOCIHA','isEnabled','8696MpIZhB','model','isActive','5996928BjdYPn','933399sJuKIi','set','imageInline'];_0x3464=function(){return _0x333125;};return _0x3464();}import{createEditabilityChecker as _0x2bd212}from'../utils/editingutils.js';export default class J extends _0x44d87d{[_0x3a9127(0xff)];static get[_0x3a9127(0x109)](){return[_0x1166ca];}[_0x3a9127(0x10b)];constructor(_0x43b0b1){const _0x2f8f43=_0x3a9127;super(_0x43b0b1),this[_0x2f8f43(0xff)]=void 0x0,this[_0x2f8f43(0x10b)]=_0x2bd212(_0x43b0b1[_0x2f8f43(0x10a)][_0x2f8f43(0x102)](_0x2f8f43(0xf2))||[]),this[_0x2f8f43(0xfd)]({'isActive':!0x1});}[_0x3a9127(0x105)](){const _0x3873ed=_0x3a9127,_0x53625c=this[_0x3873ed(0xf0)][_0x3873ed(0xf9)][_0x3873ed(0xef)][_0x3873ed(0x10d)][_0x3873ed(0x108)]();this[_0x3873ed(0xf7)]=this[_0x3873ed(0x10b)](_0x53625c);}[_0x3a9127(0x10c)](){const _0x139341=_0x3a9127;this[_0x139341(0xff)]&&(this[_0x139341(0xf5)](_0x139341(0xfa)),this[_0x139341(0xff)]=void 0x0);const _0x51cb8c=this[_0x139341(0xf0)][_0x139341(0xf9)][_0x139341(0xef)][_0x139341(0x10d)][_0x139341(0x108)]();_0x51cb8c&&(_0x51cb8c['is'](_0x139341(0x107),_0x139341(0xf1))||_0x51cb8c['is'](_0x139341(0x107),_0x139341(0xfe)))&&(this[_0x139341(0xff)]=new _0x20ef89(this[_0x139341(0xf0)],this[_0x139341(0xf0)][_0x139341(0x103)][_0x139341(0x102)](_0x1166ca),_0x51cb8c),this[_0x139341(0x106)](_0x139341(0xfa))['to'](this[_0x139341(0xff)],_0x139341(0xfa)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc0a00f=_0x2fa8;function _0x2fa8(_0x34c851,_0x2fae83){const _0x191763=_0x1917();return _0x2fa8=function(_0x2fa81d,_0x5888d5){_0x2fa81d=_0x2fa81d-0x18d;let _0x321b00=_0x191763[_0x2fa81d];return _0x321b00;},_0x2fa8(_0x34c851,_0x2fae83);}(function(_0x557b98,_0x586eed){const _0x28f96e=_0x2fa8,_0x1bc460=_0x557b98();while(!![]){try{const _0x404ee7=-parseInt(_0x28f96e(0x190))/0x1+parseInt(_0x28f96e(0x1a1))/0x2+parseInt(_0x28f96e(0x19d))/0x3+-parseInt(_0x28f96e(0x194))/0x4*(-parseInt(_0x28f96e(0x18e))/0x5)+parseInt(_0x28f96e(0x19f))/0x6*(parseInt(_0x28f96e(0x1a2))/0x7)+-parseInt(_0x28f96e(0x196))/0x8*(parseInt(_0x28f96e(0x19c))/0x9)+-parseInt(_0x28f96e(0x199))/0xa;if(_0x404ee7===_0x586eed)break;else _0x1bc460['push'](_0x1bc460['shift']());}catch(_0x2b349a){_0x1bc460['push'](_0x1bc460['shift']());}}}(_0x1917,0xc345c));import{Plugin as _0x58da82}from'ckeditor5/src/core.js';import{Notification as _0x49dab6}from'ckeditor5/src/ui.js';function _0x1917(){const _0x21b249=['init','uploadcareImageReplace','9XfPZUS','2423064IStOSh','UploadcareImageEditEditing','6NOtOKy','pluginName','3089880kjhAnF','7433279pOChMS','commands','141755qwcXkE','add','314336gRsZJV','ImageEditing','requires','isPremiumPlugin','220NMOKBZ','isOfficialPlugin','5673488ldqNJK','ImageUtils','uploadcareImageEdit','31504720sznjQl'];_0x1917=function(){return _0x21b249;};return _0x1917();}import _0x575abd from'./uploadcareimageeditcommand.js';import _0x21bf11 from'./uploadcareimagereplacecommand.js';import _0x5648ca from'../uploadcareediting.js';export default class g extends _0x58da82{static get[_0xc0a00f(0x1a0)](){const _0x3974fb=_0xc0a00f;return _0x3974fb(0x19e);}static get[_0xc0a00f(0x192)](){const _0x5a883e=_0xc0a00f;return[_0x5648ca,_0x49dab6,_0x5a883e(0x197),_0x5a883e(0x191)];}static get[_0xc0a00f(0x195)](){return!0x0;}static get[_0xc0a00f(0x193)](){return!0x0;}[_0xc0a00f(0x19a)](){const _0xb54c73=_0xc0a00f,{editor:_0x587153}=this;_0x587153[_0xb54c73(0x18d)][_0xb54c73(0x18f)](_0xb54c73(0x198),new _0x575abd(_0x587153)),_0x587153[_0xb54c73(0x18d)][_0xb54c73(0x18f)](_0xb54c73(0x19b),new _0x21bf11(_0x587153));}}
23
+ const _0x525bf6=_0x2e0e;(function(_0x4d1e99,_0x29ebdc){const _0x18c1da=_0x2e0e,_0x248884=_0x4d1e99();while(!![]){try{const _0x27552b=parseInt(_0x18c1da(0x78))/0x1+-parseInt(_0x18c1da(0x7b))/0x2+parseInt(_0x18c1da(0x79))/0x3+-parseInt(_0x18c1da(0x71))/0x4+parseInt(_0x18c1da(0x72))/0x5*(parseInt(_0x18c1da(0x7c))/0x6)+-parseInt(_0x18c1da(0x77))/0x7+parseInt(_0x18c1da(0x7a))/0x8*(parseInt(_0x18c1da(0x76))/0x9);if(_0x27552b===_0x29ebdc)break;else _0x248884['push'](_0x248884['shift']());}catch(_0x106a46){_0x248884['push'](_0x248884['shift']());}}}(_0xc09d,0x6beaf));import{Plugin as _0x1bdfc8}from'ckeditor5/src/core.js';import{Notification as _0x797d32}from'ckeditor5/src/ui.js';import _0x12d61b from'./uploadcareimageeditcommand.js';function _0x2e0e(_0x24a49e,_0x8d839e){const _0xc09da8=_0xc09d();return _0x2e0e=function(_0x2e0e42,_0x5b3b8a){_0x2e0e42=_0x2e0e42-0x6b;let _0x5741e9=_0xc09da8[_0x2e0e42];return _0x5741e9;},_0x2e0e(_0x24a49e,_0x8d839e);}function _0xc09d(){const _0x4bd2db=['4419MnGhLa','1992333isJdNm','880770uusbsi','1457043yBRsKp','5776WIfEos','1685432VBnAHj','108FmbUhp','isPremiumPlugin','isOfficialPlugin','pluginName','commands','init','UploadcareImageEditEditing','ImageEditing','uploadcareImageEdit','add','1296756yuacAV','47945DtXwOK','ImageUtils','requires','uploadcareImageReplace'];_0xc09d=function(){return _0x4bd2db;};return _0xc09d();}import _0x589514 from'./uploadcareimagereplacecommand.js';import _0x15f6ef from'../uploadcareediting.js';export default class g extends _0x1bdfc8{static get[_0x525bf6(0x7f)](){const _0x2fa607=_0x525bf6;return _0x2fa607(0x6d);}static get[_0x525bf6(0x74)](){const _0x48e40d=_0x525bf6;return[_0x15f6ef,_0x797d32,_0x48e40d(0x73),_0x48e40d(0x6e)];}static get[_0x525bf6(0x7e)](){return!0x0;}static get[_0x525bf6(0x7d)](){return!0x0;}[_0x525bf6(0x6c)](){const _0x4e58ef=_0x525bf6,{editor:_0x2fe2ac}=this;_0x2fe2ac[_0x4e58ef(0x6b)][_0x4e58ef(0x70)](_0x4e58ef(0x6f),new _0x12d61b(_0x2fe2ac)),_0x2fe2ac[_0x4e58ef(0x6b)][_0x4e58ef(0x70)](_0x4e58ef(0x75),new _0x589514(_0x2fe2ac));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x537b24}from'ckeditor5/src/core.js';import{ButtonView as _0x1f2bf4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dfa2d}from'ckeditor5/src/icons.js';import{createElement as _0x22996e}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 _0x537b24{['_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 _0x1ff779=this['editor'];_0x1ff779['ui']['componentFactory']['add']('uploadcareImageEdit',_0x666043=>{const _0x2dbc8f=_0x1ff779['commands']['get']('uploadcareImageEdit'),_0x3312b2=new _0x1f2bf4(_0x666043),t=_0x666043['t'];return _0x3312b2['set']({'icon':_0x5dfa2d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3312b2['bind']('isEnabled')['to'](_0x2dbc8f),_0x3312b2['bind']('isOn')['to'](_0x2dbc8f,'isActive'),this['listenTo'](_0x3312b2,'execute',()=>{_0x1ff779['execute']('uploadcareImageEdit'),_0x1ff779['editing']['view']['focus']();}),_0x3312b2;}),this['_initConfig']();}['_initConfig'](){const _0x47aa89=_0x22996e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x47aa89),this['listenTo'](this['editor'],'destroy',()=>{_0x47aa89['remove']();});}}
23
+ import{Plugin as _0x43ced5}from'ckeditor5/src/core.js';import{ButtonView as _0x1bc53d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3c4945}from'ckeditor5/src/icons.js';import{createElement as _0x3773f5}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 _0x43ced5{['_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 _0x1f8a3c=this['editor'];_0x1f8a3c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2de3a2=>{const _0x739973=_0x1f8a3c['commands']['get']('uploadcareImageEdit'),_0x4650af=new _0x1bc53d(_0x2de3a2),t=_0x2de3a2['t'];return _0x4650af['set']({'icon':_0x3c4945,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4650af['bind']('isEnabled')['to'](_0x739973),_0x4650af['bind']('isOn')['to'](_0x739973,'isActive'),this['listenTo'](_0x4650af,'execute',()=>{_0x1f8a3c['execute']('uploadcareImageEdit'),_0x1f8a3c['editing']['view']['focus']();}),_0x4650af;}),this['_initConfig']();}['_initConfig'](){const _0x1e6c27=_0x3773f5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e6c27),this['listenTo'](this['editor'],'destroy',()=>{_0x1e6c27['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c7ad1=_0x3056;(function(_0x5731bc,_0xf28ba2){const _0xd6a566=_0x3056,_0x113a5e=_0x5731bc();while(!![]){try{const _0x293e44=parseInt(_0xd6a566(0xe3))/0x1+parseInt(_0xd6a566(0xed))/0x2*(-parseInt(_0xd6a566(0xef))/0x3)+parseInt(_0xd6a566(0xe4))/0x4*(-parseInt(_0xd6a566(0xe1))/0x5)+parseInt(_0xd6a566(0xf7))/0x6*(parseInt(_0xd6a566(0xe0))/0x7)+-parseInt(_0xd6a566(0xe7))/0x8*(-parseInt(_0xd6a566(0xeb))/0x9)+parseInt(_0xd6a566(0xf3))/0xa+-parseInt(_0xd6a566(0xe9))/0xb;if(_0x293e44===_0xf28ba2)break;else _0x113a5e['push'](_0x113a5e['shift']());}catch(_0x34d224){_0x113a5e['push'](_0x113a5e['shift']());}}}(_0xc491,0x580f0));function _0x3056(_0x5df839,_0xec3c22){const _0xc491a7=_0xc491();return _0x3056=function(_0x305664,_0x4c0aa8){_0x305664=_0x305664-0xe0;let _0x64a3d0=_0xc491a7[_0x305664];return _0x64a3d0;},_0x3056(_0x5df839,_0xec3c22);}import{Command as _0x5424eb}from'ckeditor5/src/core.js';export default class O extends _0x5424eb{[_0x2c7ad1(0xee)](){const _0x1ea38a=_0x2c7ad1,_0x232cc9=this[_0x1ea38a(0xe8)][_0x1ea38a(0xf9)][_0x1ea38a(0xe2)][_0x1ea38a(0xf8)][_0x1ea38a(0xf1)]();this[_0x1ea38a(0xea)]=Boolean(_0x232cc9&&(_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xec))||_0x232cc9['is'](_0x1ea38a(0xe5),_0x1ea38a(0xf2))));}[_0x2c7ad1(0xf4)](_0x343b62){const _0x5b9d91=_0x2c7ad1,_0x3f20c8=this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xe2)][_0x5b9d91(0xf8)][_0x5b9d91(0xf1)]();this[_0x5b9d91(0xe8)][_0x5b9d91(0xf9)][_0x5b9d91(0xfa)](_0x3b037e=>{const _0x3ffc04=_0x5b9d91;_0x3b037e[_0x3ffc04(0xf0)](_0x343b62,_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf6),_0x3f20c8),_0x3b037e[_0x3ffc04(0xe6)](_0x3ffc04(0xf5),_0x3f20c8);});}}function _0xc491(){const _0x4a782e=['imageInline','5437330rapoCM','execute','sizes','srcset','6STzssc','selection','model','change','3866233zHhlGB','5JaReLm','document','405163NnVwho','121612BpScjS','element','removeAttribute','448bvcFip','editor','10288014zGxZNx','isEnabled','53424tQyHHg','imageBlock','1014532VHbwuf','refresh','3AHXNuc','setAttributes','getSelectedElement'];_0xc491=function(){return _0x4a782e;};return _0xc491();}
23
+ function _0x4b82(_0x44f5c9,_0xe72120){const _0x165b14=_0x165b();return _0x4b82=function(_0x4b82c8,_0x562dd7){_0x4b82c8=_0x4b82c8-0x15b;let _0xa9b6d0=_0x165b14[_0x4b82c8];return _0xa9b6d0;},_0x4b82(_0x44f5c9,_0xe72120);}const _0x3c9a78=_0x4b82;(function(_0x5c01a2,_0x51362e){const _0x3d00c9=_0x4b82,_0x173724=_0x5c01a2();while(!![]){try{const _0x3d3779=parseInt(_0x3d00c9(0x16d))/0x1*(parseInt(_0x3d00c9(0x160))/0x2)+parseInt(_0x3d00c9(0x16f))/0x3+parseInt(_0x3d00c9(0x167))/0x4*(-parseInt(_0x3d00c9(0x16a))/0x5)+-parseInt(_0x3d00c9(0x15c))/0x6+parseInt(_0x3d00c9(0x16b))/0x7+-parseInt(_0x3d00c9(0x166))/0x8*(parseInt(_0x3d00c9(0x165))/0x9)+parseInt(_0x3d00c9(0x163))/0xa;if(_0x3d3779===_0x51362e)break;else _0x173724['push'](_0x173724['shift']());}catch(_0x9a56e7){_0x173724['push'](_0x173724['shift']());}}}(_0x165b,0xed0ba));import{Command as _0x1c2013}from'ckeditor5/src/core.js';function _0x165b(){const _0x26f6c8=['setAttributes','editor','selection','8dcGvBx','change','removeAttribute','2293790eJbuTy','execute','747HVhMnB','103760potyTD','4XvFaQw','getSelectedElement','srcset','2877155ufgIOq','13064625kWVrcw','imageInline','289722oqKdXo','model','1653855GlFwbb','document','isEnabled','imageBlock','sizes','element','refresh','7098288OGrdPF'];_0x165b=function(){return _0x26f6c8;};return _0x165b();}export default class O extends _0x1c2013{[_0x3c9a78(0x15b)](){const _0x2da057=_0x3c9a78,_0x336629=this[_0x2da057(0x15e)][_0x2da057(0x16e)][_0x2da057(0x170)][_0x2da057(0x15f)][_0x2da057(0x168)]();this[_0x2da057(0x171)]=Boolean(_0x336629&&(_0x336629['is'](_0x2da057(0x174),_0x2da057(0x172))||_0x336629['is'](_0x2da057(0x174),_0x2da057(0x16c))));}[_0x3c9a78(0x164)](_0x18e84b){const _0x2727ac=_0x3c9a78,_0x43fedd=this[_0x2727ac(0x15e)][_0x2727ac(0x16e)][_0x2727ac(0x170)][_0x2727ac(0x15f)][_0x2727ac(0x168)]();this[_0x2727ac(0x15e)][_0x2727ac(0x16e)][_0x2727ac(0x161)](_0x194052=>{const _0x153787=_0x2727ac;_0x194052[_0x153787(0x15d)](_0x18e84b,_0x43fedd),_0x194052[_0x153787(0x162)](_0x153787(0x169),_0x43fedd),_0x194052[_0x153787(0x162)](_0x153787(0x173),_0x43fedd);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xfc0f5f=_0x3897;(function(_0x25a269,_0x1210c0){var _0x25e5fa=_0x3897,_0x11e55c=_0x25a269();while(!![]){try{var _0x38af4b=parseInt(_0x25e5fa(0x11c))/0x1+-parseInt(_0x25e5fa(0x117))/0x2*(parseInt(_0x25e5fa(0x114))/0x3)+parseInt(_0x25e5fa(0x119))/0x4+-parseInt(_0x25e5fa(0x11b))/0x5+parseInt(_0x25e5fa(0x116))/0x6+parseInt(_0x25e5fa(0x118))/0x7*(parseInt(_0x25e5fa(0x115))/0x8)+-parseInt(_0x25e5fa(0x111))/0x9;if(_0x38af4b===_0x1210c0)break;else _0x11e55c['push'](_0x11e55c['shift']());}catch(_0x2d46a8){_0x11e55c['push'](_0x11e55c['shift']());}}}(_0x30b9,0xccef9));import{Plugin as _0xec41c9}from'ckeditor5/src/core.js';function _0x3897(_0x112e21,_0x397d3f){var _0x30b9fb=_0x30b9();return _0x3897=function(_0x389785,_0x41f8f0){_0x389785=_0x389785-0x111;var _0x21a400=_0x30b9fb[_0x389785];return _0x21a400;},_0x3897(_0x112e21,_0x397d3f);}function _0x30b9(){var _0x4fde03=['7oYQEzJ','5195008lpMSpi','UploadcareImageEdit','401165KBSkdp','1146590kVQVEe','pluginName','requires','24714486nxulsN','isPremiumPlugin','isOfficialPlugin','733071lkDEXs','6481712gfKhYF','3927030fzvYcA','2Lrhcir'];_0x30b9=function(){return _0x4fde03;};return _0x30b9();}import _0x1c783d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x40b403 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xec41c9{static get[_0xfc0f5f(0x11d)](){var _0x405d20=_0xfc0f5f;return _0x405d20(0x11a);}static get[_0xfc0f5f(0x11e)](){return[_0x1c783d,_0x40b403];}static get[_0xfc0f5f(0x113)](){return!0x0;}static get[_0xfc0f5f(0x112)](){return!0x0;}}
23
+ var _0x4c6595=_0x31e8;(function(_0x2e8edc,_0x57553f){var _0x37aa02=_0x31e8,_0x331c33=_0x2e8edc();while(!![]){try{var _0x513451=parseInt(_0x37aa02(0x171))/0x1+parseInt(_0x37aa02(0x16c))/0x2*(-parseInt(_0x37aa02(0x16a))/0x3)+parseInt(_0x37aa02(0x164))/0x4+-parseInt(_0x37aa02(0x170))/0x5+parseInt(_0x37aa02(0x167))/0x6*(parseInt(_0x37aa02(0x16e))/0x7)+parseInt(_0x37aa02(0x16f))/0x8+parseInt(_0x37aa02(0x165))/0x9*(-parseInt(_0x37aa02(0x169))/0xa);if(_0x513451===_0x57553f)break;else _0x331c33['push'](_0x331c33['shift']());}catch(_0x16806d){_0x331c33['push'](_0x331c33['shift']());}}}(_0x260f,0xadb73));import{Plugin as _0x5f27be}from'ckeditor5/src/core.js';function _0x31e8(_0x553cbd,_0x1105bd){var _0x260fe6=_0x260f();return _0x31e8=function(_0x31e802,_0x128d0d){_0x31e802=_0x31e802-0x164;var _0x45a334=_0x260fe6[_0x31e802];return _0x45a334;},_0x31e8(_0x553cbd,_0x1105bd);}import _0x259eb4 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x260f(){var _0x3063a6=['417nlbnrW','isPremiumPlugin','11558EHiiKm','UploadcareImageEdit','28LoucUX','7893144VKGNDp','6046875RDQqNO','1234368KcFYSz','pluginName','651772pcweaZ','71523quDEio','requires','2048106bIczoK','isOfficialPlugin','1290noLAjA'];_0x260f=function(){return _0x3063a6;};return _0x260f();}import _0x4cc616 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5f27be{static get[_0x4c6595(0x172)](){var _0x344b3a=_0x4c6595;return _0x344b3a(0x16d);}static get[_0x4c6595(0x166)](){return[_0x259eb4,_0x4cc616];}static get[_0x4c6595(0x168)](){return!0x0;}static get[_0x4c6595(0x16b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b99(){const _0x20822c=['913090LlAclk','uploadcare','uploadcare.uploader.sourceList','9598544XDsheu','36837060quLTgH','isPremiumPlugin','_createToolbarButton','map','assetManager','bind','uploadcareLicenseKeyValid','text','_getIntegrationKey','pluginName','has','_showLicenseError','entries','url','_createMenuBarButtons','forEach','reduce','4AjkAAh','commands','trialLimit','shortText','locale','isEnabled','editor','execute','afterInit','58915bGGiIg','UploadcareUI','Facebook','destroy','ImageInsertUI','Uploadcare','36949XUeZKy','186UJoKYN','uploadcareLicenseKeyUsageLimit','push','plugins','withText','_licenseKeyCheckInterval','isImageSelected','evaluationLimit','20022rRFvco','OneDrive','2796RrBGRA','config','uploadcareLicenseKeyEvaluationLimit','Insert','isOfficialPlugin','uploadcareLicenseKeyInvalid','GPhotos','licenseKey','uploadcareLicenseKeyNotAllowed','domainLimit','upload','init','uploadcareLicenseKeyDomainLimit','expired','get','featureNotAllowed','117bkAmSZ','registerIntegration','uploadcareLicenseKeyExpired','URL','invalid','_normalizeConfigSourceList','3192393EXSBUn','GDrive','Replace','_createDropdownButtons','usageLimit','tooltip','icon','Local','Dropbox','7AXkCnN','label','21LSiPtw','uploadcareLicenseKeyTrialLimit','_createButton','type'];_0x2b99=function(){return _0x20822c;};return _0x2b99();}const _0x5d3d57=_0x1a8f;(function(_0x6378e5,_0x28754f){const _0x4b51a7=_0x1a8f,_0x50374f=_0x6378e5();while(!![]){try{const _0x200e68=parseInt(_0x4b51a7(0xaa))/0x1*(parseInt(_0x4b51a7(0xdb))/0x2)+-parseInt(_0x4b51a7(0xf3))/0x3*(parseInt(_0x4b51a7(0xc3))/0x4)+-parseInt(_0x4b51a7(0xcc))/0x5*(-parseInt(_0x4b51a7(0xd3))/0x6)+-parseInt(_0x4b51a7(0xfc))/0x7*(parseInt(_0x4b51a7(0xb1))/0x8)+-parseInt(_0x4b51a7(0xed))/0x9*(parseInt(_0x4b51a7(0xae))/0xa)+parseInt(_0x4b51a7(0xd2))/0xb*(parseInt(_0x4b51a7(0xdd))/0xc)+parseInt(_0x4b51a7(0xb2))/0xd;if(_0x200e68===_0x28754f)break;else _0x50374f['push'](_0x50374f['shift']());}catch(_0x1a6a2c){_0x50374f['push'](_0x50374f['shift']());}}}(_0x2b99,0xb4dc5));import{Plugin as _0x1b6e47}from'ckeditor5/src/core.js';import{IconDropbox as _0x1d437e,IconFacebook as _0x5efb70,IconGoogleDrive as _0x469c87,IconGooglePhotos as _0x21da56,IconUploadcareImageUpload as _0x4ab804,IconUploadcareLink as _0x1ff59c,IconOneDrive as _0x3eb07a}from'ckeditor5/src/icons.js';import{ButtonView as _0x487aad,MenuBarMenuListItemButtonView as _0x4cfc49}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x41835d}from'./uploadcareconfig.js';import{getTranslation as _0x24a45e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1a8f(_0x278a5b,_0x23cd52){const _0x2b9945=_0x2b99();return _0x1a8f=function(_0x1a8f2e,_0x2ed445){_0x1a8f2e=_0x1a8f2e-0xaa;let _0x110f40=_0x2b9945[_0x1a8f2e];return _0x110f40;},_0x1a8f(_0x278a5b,_0x23cd52);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1b6e47{[_0x5d3d57(0xe4)];[_0x5d3d57(0xd8)];static get[_0x5d3d57(0xbb)](){const _0x134430=_0x5d3d57;return _0x134430(0xcd);}static get[_0x5d3d57(0xe1)](){return!0x0;}static get[_0x5d3d57(0xb3)](){return!0x0;}[_0x5d3d57(0xe8)](){const _0x4f9f80=_0x5d3d57;this[_0x4f9f80(0xe4)]=this[_0x4f9f80(0xc9)][_0x4f9f80(0xde)][_0x4f9f80(0xeb)](_0x4f9f80(0xe4));const _0x8120e4=this[_0x4f9f80(0xc9)];this[_0x4f9f80(0xd8)]=setInterval(()=>{const _0x36ba5d=_0x4f9f80;let _0x9cb4f6;for(const _0xcfadd0 in _0x8120e4){const _0x4c2671=_0xcfadd0,_0x3a4219=_0x8120e4[_0x4c2671];if(_0x36ba5d(0xb8)==_0x3a4219||_0x36ba5d(0xe2)==_0x3a4219||_0x36ba5d(0xef)==_0x3a4219||_0x36ba5d(0xe9)==_0x3a4219||_0x36ba5d(0xe5)==_0x3a4219||_0x36ba5d(0xdf)==_0x3a4219||_0x36ba5d(0xab)==_0x3a4219||_0x36ba5d(0xd4)==_0x3a4219){delete _0x8120e4[_0x4c2671],_0x9cb4f6=_0x3a4219,clearInterval(this[_0x36ba5d(0xd8)]),this[_0x36ba5d(0xd8)]=void 0x0;break;}}_0x36ba5d(0xe2)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf1)),_0x36ba5d(0xef)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xea)),_0x36ba5d(0xe9)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xe6)),_0x36ba5d(0xe5)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xec),_0x36ba5d(0xd1)),_0x36ba5d(0xdf)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xda)),_0x36ba5d(0xab)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xc5)),_0x36ba5d(0xd4)==_0x9cb4f6&&_0x8120e4[_0x36ba5d(0xbd)](_0x36ba5d(0xf7));},0x3e8);}[_0x5d3d57(0xcb)](){const _0x51c2b1=_0x5d3d57,{editor:_0x3283d9}=this,_0x52774d=_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf));if(!_0x52774d)return;const _0x420a4b=this[_0x51c2b1(0xf2)](_0x3283d9[_0x51c2b1(0xde)][_0x51c2b1(0xeb)](_0x51c2b1(0xb0)))[_0x51c2b1(0xc2)]((_0x1004a1,_0x51192f)=>{const _0x4d7d20=_0x51c2b1,_0x3dd8b6=this[_0x4d7d20(0xba)](_0x51192f[_0x4d7d20(0xad)]);return _0x1004a1[_0x3dd8b6]||(_0x1004a1[_0x3dd8b6]=[]),_0x1004a1[_0x3dd8b6][_0x4d7d20(0xd5)](_0x51192f),_0x1004a1;},{});_0x3283d9[_0x51c2b1(0xd6)][_0x51c2b1(0xbc)](_0x51c2b1(0xd0))&&_0x3283d9[_0x51c2b1(0xc4)][_0x51c2b1(0xeb)](_0x51c2b1(0xaf))&&Object[_0x51c2b1(0xbe)](_0x420a4b)[_0x51c2b1(0xc1)](([_0x3029a7,_0x38d09e])=>{const _0x5acbde=_0x51c2b1;_0x3283d9[_0x5acbde(0xd6)][_0x5acbde(0xeb)](_0x5acbde(0xd0))[_0x5acbde(0xee)]({'name':_0x3029a7,'observable':()=>_0x52774d,'buttonViewCreator':()=>this[_0x5acbde(0xb4)](_0x38d09e),'formViewCreator':()=>this[_0x5acbde(0xf6)](_0x38d09e),'menuBarButtonViewCreator':()=>this[_0x5acbde(0xc0)](_0x38d09e),'override':_0x5acbde(0xb6)!==_0x3029a7});});}[_0x5d3d57(0xcf)](){const _0x5d1379=_0x5d3d57;super[_0x5d1379(0xcf)](),this[_0x5d1379(0xd8)]&&clearInterval(this[_0x5d1379(0xd8)]);}[_0x5d3d57(0xf2)](_0x58d7d9){const _0x414512=_0x5d3d57,{locale:_0x5a7d05}=this[_0x414512(0xc9)];return _0x58d7d9[_0x414512(0xb5)](_0x522d3f=>{const _0x4230ac=_0x414512,_0x5199d5=_0x24a45e(_0x5a7d05,_0x522d3f,_0x4230ac(0xe0));switch(_0x522d3f){case _0x41835d[_0x4230ac(0xfa)]:return{'icon':_0x4ab804,'type':_0x41835d[_0x4230ac(0xfa)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf0)]:return{'icon':_0x1ff59c,'type':_0x41835d[_0x4230ac(0xf0)],..._0x5199d5};case _0x41835d[_0x4230ac(0xfb)]:return{'icon':_0x1d437e,'type':_0x41835d[_0x4230ac(0xfb)],..._0x5199d5};case _0x41835d[_0x4230ac(0xce)]:return{'icon':_0x5efb70,'type':_0x41835d[_0x4230ac(0xce)],..._0x5199d5};case _0x41835d[_0x4230ac(0xf4)]:return{'icon':_0x469c87,'type':_0x41835d[_0x4230ac(0xf4)],..._0x5199d5};case _0x41835d[_0x4230ac(0xe3)]:return{'icon':_0x21da56,'type':_0x41835d[_0x4230ac(0xe3)],..._0x5199d5};case _0x41835d[_0x4230ac(0xdc)]:return{'icon':_0x3eb07a,'type':_0x41835d[_0x4230ac(0xdc)],..._0x5199d5};}});}[_0x5d3d57(0xba)](_0x565bd1){const _0x2c9eed=_0x5d3d57;switch(_0x565bd1){case _0x41835d[_0x2c9eed(0xfa)]:return _0x2c9eed(0xe7);case _0x41835d[_0x2c9eed(0xf0)]:return _0x2c9eed(0xbf);default:return _0x2c9eed(0xb6);}}[_0x5d3d57(0xac)](_0x2e32af,_0x5b40bb){const _0x4b47d6=_0x5d3d57,_0x7c1aa3=this[_0x4b47d6(0xc9)],_0xda97b0=new _0x2e32af(_0x7c1aa3[_0x4b47d6(0xc7)]),_0x1a03ca=_0x7c1aa3[_0x4b47d6(0xc4)][_0x4b47d6(0xeb)](_0x4b47d6(0xaf));return _0xda97b0[_0x4b47d6(0xb7)](_0x4b47d6(0xc8))['to'](_0x1a03ca),_0xda97b0['on'](_0x4b47d6(0xca),()=>{const _0x29519f=_0x4b47d6;_0x1a03ca[_0x29519f(0xca)](_0x5b40bb);}),_0xda97b0;}[_0x5d3d57(0xb4)](_0x317113){const _0x4b62a6=_0x5d3d57,{locale:_0xada459}=this[_0x4b62a6(0xc9)],_0x346eeb=this[_0x4b62a6(0xc9)][_0x4b62a6(0xd6)][_0x4b62a6(0xeb)](_0x4b62a6(0xd0)),_0x35a04d=_0x317113[0x0],_0x2bf00f=this[_0x4b62a6(0xac)](_0x487aad,_0x35a04d[_0x4b62a6(0xad)]);return _0x2bf00f[_0x4b62a6(0xf9)]=_0x35a04d[_0x4b62a6(0xf9)],_0x2bf00f[_0x4b62a6(0xb7)](_0x4b62a6(0xfd))['to'](_0x346eeb,_0x4b62a6(0xd9),_0x20a3e8=>_0x24a45e(_0xada459,_0x35a04d[_0x4b62a6(0xad)],_0x20a3e8?_0x4b62a6(0xf5):_0x4b62a6(0xe0))[_0x4b62a6(0xb9)]),_0x2bf00f[_0x4b62a6(0xf8)]=!0x0,_0x2bf00f;}[_0x5d3d57(0xf6)](_0xa9ec7){const _0x48f75e=_0x5d3d57,{locale:_0x5e908d}=this[_0x48f75e(0xc9)],_0x31027f=this[_0x48f75e(0xc9)][_0x48f75e(0xd6)][_0x48f75e(0xeb)](_0x48f75e(0xd0));return _0xa9ec7[_0x48f75e(0xb5)](_0x633f2=>{const _0xbfb006=_0x48f75e,_0x378c3c=this[_0xbfb006(0xac)](_0x487aad,_0x633f2[_0xbfb006(0xad)]);return _0x378c3c[_0xbfb006(0xd7)]=!0x0,_0x378c3c[_0xbfb006(0xf9)]=_0x633f2[_0xbfb006(0xf9)],_0x378c3c[_0xbfb006(0xb7)](_0xbfb006(0xfd))['to'](_0x31027f,_0xbfb006(0xd9),_0x468fcf=>_0x24a45e(_0x5e908d,_0x633f2[_0xbfb006(0xad)],_0x468fcf?_0xbfb006(0xf5):_0xbfb006(0xe0))[_0xbfb006(0xb9)]),_0x378c3c;});}[_0x5d3d57(0xc0)](_0x390c39){const _0x58edeb=_0x5d3d57;return _0x390c39[_0x58edeb(0xb5)](_0x525907=>{const _0x8c8697=_0x58edeb,_0x1030b1=this[_0x8c8697(0xac)](_0x4cfc49,_0x525907[_0x8c8697(0xad)]);return _0x1030b1[_0x8c8697(0xf9)]=_0x525907[_0x8c8697(0xf9)],_0x1030b1[_0x8c8697(0xfd)]=_0x525907[_0x8c8697(0xc6)],_0x1030b1;});}}
23
+ const _0x47e0f3=_0x3b77;(function(_0x182164,_0x51e42a){const _0x3323e6=_0x3b77,_0x174661=_0x182164();while(!![]){try{const _0x1f5e2e=parseInt(_0x3323e6(0x16c))/0x1+-parseInt(_0x3323e6(0x162))/0x2*(parseInt(_0x3323e6(0x178))/0x3)+parseInt(_0x3323e6(0x195))/0x4+parseInt(_0x3323e6(0x160))/0x5+-parseInt(_0x3323e6(0x19f))/0x6*(-parseInt(_0x3323e6(0x15d))/0x7)+-parseInt(_0x3323e6(0x15b))/0x8*(-parseInt(_0x3323e6(0x161))/0x9)+-parseInt(_0x3323e6(0x167))/0xa;if(_0x1f5e2e===_0x51e42a)break;else _0x174661['push'](_0x174661['shift']());}catch(_0x138789){_0x174661['push'](_0x174661['shift']());}}}(_0x536d,0x92617));import{Plugin as _0x29736f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a8592,IconFacebook as _0x275bf7,IconGoogleDrive as _0x52b025,IconGooglePhotos as _0x20d99b,IconUploadcareImageUpload as _0x13c59e,IconUploadcareLink as _0x57cba4,IconOneDrive as _0x116408}from'ckeditor5/src/icons.js';import{ButtonView as _0x1795f1,MenuBarMenuListItemButtonView as _0x1f8577}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x44f414}from'./uploadcareconfig.js';import{getTranslation as _0x5868dd}from'./utils/common-translations.js';function _0x3b77(_0x13c120,_0x3c2047){const _0x536de6=_0x536d();return _0x3b77=function(_0x3b7774,_0x45d644){_0x3b7774=_0x3b7774-0x156;let _0x1c737d=_0x536de6[_0x3b7774];return _0x1c737d;},_0x3b77(_0x13c120,_0x3c2047);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x536d(){const _0x1ff420=['upload','URL','UploadcareUI','Replace','14500940tdwtdt','locale','config','invalid','destroy','64396RRXSkA','plugins','evaluationLimit','OneDrive','tooltip','push','entries','bind','label','pluginName','usageLimit','GPhotos','11526HuqqTF','featureNotAllowed','domainLimit','GDrive','Insert','get','isEnabled','_createDropdownButtons','Uploadcare','withText','Local','url','Facebook','icon','expired','init','isImageSelected','registerIntegration','execute','licenseKey','_licenseKeyCheckInterval','type','assetManager','_getIntegrationKey','editor','commands','trialLimit','isOfficialPlugin','afterInit','575780cjxpdb','forEach','_createToolbarButton','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','uploadcare','map','_createMenuBarButtons','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyDomainLimit','102eWFiTS','uploadcareLicenseKeyUsageLimit','_createButton','has','text','ImageInsertUI','isPremiumPlugin','_showLicenseError','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','shortText','uploadcareLicenseKeyValid','Dropbox','56oclmhu','reduce','122143WZzWTW','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyTrialLimit','3169100aTmplS','1413171MCjikl','98TXbLDR'];_0x536d=function(){return _0x1ff420;};return _0x536d();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x29736f{[_0x47e0f3(0x18b)];[_0x47e0f3(0x18c)];static get[_0x47e0f3(0x175)](){const _0x506b26=_0x47e0f3;return _0x506b26(0x165);}static get[_0x47e0f3(0x193)](){return!0x0;}static get[_0x47e0f3(0x1a5)](){return!0x0;}[_0x47e0f3(0x187)](){const _0x5611bb=_0x47e0f3;this[_0x5611bb(0x18b)]=this[_0x5611bb(0x190)][_0x5611bb(0x169)][_0x5611bb(0x17d)](_0x5611bb(0x18b));const _0xf44874=this[_0x5611bb(0x190)];this[_0x5611bb(0x18c)]=setInterval(()=>{const _0x491be7=_0x5611bb;let _0x3dee1f;for(const _0x5550f1 in _0xf44874){const _0x6ba79c=_0x5550f1,_0xc4a46a=_0xf44874[_0x6ba79c];if(_0x491be7(0x159)==_0xc4a46a||_0x491be7(0x19d)==_0xc4a46a||_0x491be7(0x198)==_0xc4a46a||_0x491be7(0x19e)==_0xc4a46a||_0x491be7(0x157)==_0xc4a46a||_0x491be7(0x15e)==_0xc4a46a||_0x491be7(0x15f)==_0xc4a46a||_0x491be7(0x1a0)==_0xc4a46a){delete _0xf44874[_0x6ba79c],_0x3dee1f=_0xc4a46a,clearInterval(this[_0x491be7(0x18c)]),this[_0x491be7(0x18c)]=void 0x0;break;}}_0x491be7(0x19d)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x16a)),_0x491be7(0x198)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x186)),_0x491be7(0x19e)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x17a)),_0x491be7(0x157)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x179),_0x491be7(0x180)),_0x491be7(0x15e)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x16e)),_0x491be7(0x15f)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x192)),_0x491be7(0x1a0)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x176));},0x3e8);}[_0x47e0f3(0x194)](){const _0x3c6b3a=_0x47e0f3,{editor:_0x4df896}=this,_0x4cc6d1=_0x4df896[_0x3c6b3a(0x191)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x19a));if(!_0x4cc6d1)return;const _0x480bb4=this[_0x3c6b3a(0x199)](_0x4df896[_0x3c6b3a(0x169)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x156)))[_0x3c6b3a(0x15c)]((_0x3995ec,_0x12ff7f)=>{const _0x3b4a63=_0x3c6b3a,_0x59f274=this[_0x3b4a63(0x18f)](_0x12ff7f[_0x3b4a63(0x18d)]);return _0x3995ec[_0x59f274]||(_0x3995ec[_0x59f274]=[]),_0x3995ec[_0x59f274][_0x3b4a63(0x171)](_0x12ff7f),_0x3995ec;},{});_0x4df896[_0x3c6b3a(0x16d)][_0x3c6b3a(0x1a2)](_0x3c6b3a(0x1a4))&&_0x4df896[_0x3c6b3a(0x191)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x19a))&&Object[_0x3c6b3a(0x172)](_0x480bb4)[_0x3c6b3a(0x196)](([_0x502228,_0x4531b5])=>{const _0x532460=_0x3c6b3a;_0x4df896[_0x532460(0x16d)][_0x532460(0x17d)](_0x532460(0x1a4))[_0x532460(0x189)]({'name':_0x502228,'observable':()=>_0x4cc6d1,'buttonViewCreator':()=>this[_0x532460(0x197)](_0x4531b5),'formViewCreator':()=>this[_0x532460(0x17f)](_0x4531b5),'menuBarButtonViewCreator':()=>this[_0x532460(0x19c)](_0x4531b5),'override':_0x532460(0x18e)!==_0x502228});});}[_0x47e0f3(0x16b)](){const _0x4cfd05=_0x47e0f3;super[_0x4cfd05(0x16b)](),this[_0x4cfd05(0x18c)]&&clearInterval(this[_0x4cfd05(0x18c)]);}[_0x47e0f3(0x199)](_0x501e52){const _0x3c7144=_0x47e0f3,{locale:_0x60d285}=this[_0x3c7144(0x190)];return _0x501e52[_0x3c7144(0x19b)](_0x4fd52e=>{const _0x43921c=_0x3c7144,_0x5ea0c0=_0x5868dd(_0x60d285,_0x4fd52e,_0x43921c(0x17c));switch(_0x4fd52e){case _0x44f414[_0x43921c(0x182)]:return{'icon':_0x13c59e,'type':_0x44f414[_0x43921c(0x182)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x164)]:return{'icon':_0x57cba4,'type':_0x44f414[_0x43921c(0x164)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x15a)]:return{'icon':_0x2a8592,'type':_0x44f414[_0x43921c(0x15a)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x184)]:return{'icon':_0x275bf7,'type':_0x44f414[_0x43921c(0x184)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x17b)]:return{'icon':_0x52b025,'type':_0x44f414[_0x43921c(0x17b)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x177)]:return{'icon':_0x20d99b,'type':_0x44f414[_0x43921c(0x177)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x16f)]:return{'icon':_0x116408,'type':_0x44f414[_0x43921c(0x16f)],..._0x5ea0c0};}});}[_0x47e0f3(0x18f)](_0xd99eb8){const _0x1e41cc=_0x47e0f3;switch(_0xd99eb8){case _0x44f414[_0x1e41cc(0x182)]:return _0x1e41cc(0x163);case _0x44f414[_0x1e41cc(0x164)]:return _0x1e41cc(0x183);default:return _0x1e41cc(0x18e);}}[_0x47e0f3(0x1a1)](_0x45a4c3,_0x4df41e){const _0x29866b=_0x47e0f3,_0x3467ff=this[_0x29866b(0x190)],_0x393bc0=new _0x45a4c3(_0x3467ff[_0x29866b(0x168)]),_0x307c8d=_0x3467ff[_0x29866b(0x191)][_0x29866b(0x17d)](_0x29866b(0x19a));return _0x393bc0[_0x29866b(0x173)](_0x29866b(0x17e))['to'](_0x307c8d),_0x393bc0['on'](_0x29866b(0x18a),()=>{const _0x241d1c=_0x29866b;_0x307c8d[_0x241d1c(0x18a)](_0x4df41e);}),_0x393bc0;}[_0x47e0f3(0x197)](_0x223e3f){const _0x39f733=_0x47e0f3,{locale:_0x4f9200}=this[_0x39f733(0x190)],_0x5a94cd=this[_0x39f733(0x190)][_0x39f733(0x16d)][_0x39f733(0x17d)](_0x39f733(0x1a4)),_0x25dc2c=_0x223e3f[0x0],_0x5457a6=this[_0x39f733(0x1a1)](_0x1795f1,_0x25dc2c[_0x39f733(0x18d)]);return _0x5457a6[_0x39f733(0x185)]=_0x25dc2c[_0x39f733(0x185)],_0x5457a6[_0x39f733(0x173)](_0x39f733(0x174))['to'](_0x5a94cd,_0x39f733(0x188),_0x490b77=>_0x5868dd(_0x4f9200,_0x25dc2c[_0x39f733(0x18d)],_0x490b77?_0x39f733(0x166):_0x39f733(0x17c))[_0x39f733(0x1a3)]),_0x5457a6[_0x39f733(0x170)]=!0x0,_0x5457a6;}[_0x47e0f3(0x17f)](_0x47d7d2){const _0x7c503e=_0x47e0f3,{locale:_0x79e781}=this[_0x7c503e(0x190)],_0x1219bb=this[_0x7c503e(0x190)][_0x7c503e(0x16d)][_0x7c503e(0x17d)](_0x7c503e(0x1a4));return _0x47d7d2[_0x7c503e(0x19b)](_0x5ae95e=>{const _0x4549b6=_0x7c503e,_0x7d07f7=this[_0x4549b6(0x1a1)](_0x1795f1,_0x5ae95e[_0x4549b6(0x18d)]);return _0x7d07f7[_0x4549b6(0x181)]=!0x0,_0x7d07f7[_0x4549b6(0x185)]=_0x5ae95e[_0x4549b6(0x185)],_0x7d07f7[_0x4549b6(0x173)](_0x4549b6(0x174))['to'](_0x1219bb,_0x4549b6(0x188),_0x41cb11=>_0x5868dd(_0x79e781,_0x5ae95e[_0x4549b6(0x18d)],_0x41cb11?_0x4549b6(0x166):_0x4549b6(0x17c))[_0x4549b6(0x1a3)]),_0x7d07f7;});}[_0x47e0f3(0x19c)](_0x312f3a){const _0x1f9621=_0x47e0f3;return _0x312f3a[_0x1f9621(0x19b)](_0x37744c=>{const _0x535bef=_0x1f9621,_0x4c5360=this[_0x535bef(0x1a1)](_0x1f8577,_0x37744c[_0x535bef(0x18d)]);return _0x4c5360[_0x535bef(0x185)]=_0x37744c[_0x535bef(0x185)],_0x4c5360[_0x535bef(0x174)]=_0x37744c[_0x535bef(0x158)],_0x4c5360;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4df9ac}from'ckeditor5/src/core.js';import{FileRepository as _0x52b057}from'ckeditor5/src/upload.js';import _0x59b4e2 from'./uploadcareediting.js';import _0x492442 from'./utils/uploadutils.js';import{getImageUrls as _0x5869a7}from'./utils/editingutils.js';export default class p extends _0x4df9ac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52b057,_0x59b4e2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54b913=this['editor'];if(!!!_0x54b913['config']['get']('uploadcare'))return;_0x54b913['plugins']['get'](_0x52b057)['createUploadAdapter']=_0x5120e9=>new x(_0x5120e9,_0x54b913),_0x54b913['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x420500,{imageElement:_0x358e60,data:_0x3da7bd})=>{_0x54b913['model']['change'](_0x48282d=>{_0x48282d['setAttribute']('uploadcareImageId',_0x3da7bd['uploadcareImageId'],_0x358e60);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1b578a,_0x5145ab){this['loader']=_0x1b578a,this['editor']=_0x5145ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x880743=this['editor']['config']['get']('uploadcare.pubkey'),_0x48e4bb=await this['loader']['file'];return _0x492442['upload']({'file':_0x48e4bb,'publicKey':_0x880743,'signal':this['controller']['signal'],'onProgress':_0x2f0f62=>{_0x2f0f62&&_0x2f0f62['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2f0f62['value']);}})['then'](async _0x2a6cd3=>{const {imageFallbackUrl:_0x1b25e6,imageSources:_0x376d74}=_0x5869a7(_0x2a6cd3['cdnUrl'],_0x2a6cd3['imageInfo']['width']);return{'uploadcareImageId':_0x2a6cd3['uuid'],'default':_0x1b25e6,'sources':_0x376d74};})['catch'](()=>{const _0x297bf5=t('Cannot\x20upload\x20file:')+('\x20'+_0x48e4bb['name']+'.');return Promise['reject'](_0x297bf5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x568576}from'ckeditor5/src/core.js';import{FileRepository as _0x49ef16}from'ckeditor5/src/upload.js';import _0x428db2 from'./uploadcareediting.js';import _0x2adb96 from'./utils/uploadutils.js';import{getImageUrls as _0x8b0034}from'./utils/editingutils.js';export default class p extends _0x568576{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x49ef16,_0x428db2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x11e37d=this['editor'];if(!!!_0x11e37d['config']['get']('uploadcare'))return;_0x11e37d['plugins']['get'](_0x49ef16)['createUploadAdapter']=_0xa52697=>new x(_0xa52697,_0x11e37d),_0x11e37d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x9f041,{imageElement:_0x33df86,data:_0x2fc56b})=>{_0x11e37d['model']['change'](_0x863852=>{_0x863852['setAttribute']('uploadcareImageId',_0x2fc56b['uploadcareImageId'],_0x33df86);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x47db7e,_0x4229cc){this['loader']=_0x47db7e,this['editor']=_0x4229cc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x375767=this['editor']['config']['get']('uploadcare.pubkey'),_0x3cd441=await this['loader']['file'];return _0x2adb96['upload']({'file':_0x3cd441,'publicKey':_0x375767,'signal':this['controller']['signal'],'onProgress':_0x11fca7=>{_0x11fca7&&_0x11fca7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11fca7['value']);}})['then'](async _0x5aa9ed=>{const {imageFallbackUrl:_0x4f1b30,imageSources:_0x1cc0eb}=_0x8b0034(_0x5aa9ed['cdnUrl'],_0x5aa9ed['imageInfo']['width']);return{'uploadcareImageId':_0x5aa9ed['uuid'],'default':_0x4f1b30,'sources':_0x1cc0eb};})['catch'](()=>{const _0x42abae=t('Cannot\x20upload\x20file:')+('\x20'+_0x3cd441['name']+'.');return Promise['reject'](_0x42abae);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x30dd6d}from'../uploadcareconfig.js';export function getTranslation(_0x2a3cb5,_0x4f9c25,_0x3ea0a1){const t=_0x2a3cb5['t'],_0x318657=_0x2a3cb5['t'];switch(_0x4f9c25){case _0x30dd6d['Local']:return{'text':_0x318657('Insert'===_0x3ea0a1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x318657('From\x20computer')};case _0x30dd6d['URL']:return{'text':'Insert'===_0x3ea0a1?_0x318657('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x318657('Via\x20URL')};case _0x30dd6d['Dropbox']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x30dd6d['Facebook']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x30dd6d['GDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x30dd6d['GPhotos']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x30dd6d['OneDrive']:return{'text':t('Insert'===_0x3ea0a1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f9c25;}}
23
+ import{UploadcareSource as _0x3e6d42}from'../uploadcareconfig.js';export function getTranslation(_0x12e321,_0x4cead4,_0x3d5d76){const t=_0x12e321['t'],_0x158173=_0x12e321['t'];switch(_0x4cead4){case _0x3e6d42['Local']:return{'text':_0x158173('Insert'===_0x3d5d76?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x158173('From\x20computer')};case _0x3e6d42['URL']:return{'text':'Insert'===_0x3d5d76?_0x158173('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x158173('Via\x20URL')};case _0x3e6d42['Dropbox']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3e6d42['Facebook']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3e6d42['GDrive']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3e6d42['GPhotos']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3e6d42['OneDrive']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4cead4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b299d=_0x26fe;(function(_0x32ae51,_0x45398e){var _0x1878aa=_0x26fe,_0x1d07dc=_0x32ae51();while(!![]){try{var _0x30b31d=-parseInt(_0x1878aa(0xfa))/0x1+parseInt(_0x1878aa(0xfb))/0x2*(-parseInt(_0x1878aa(0xf9))/0x3)+parseInt(_0x1878aa(0xfc))/0x4*(-parseInt(_0x1878aa(0x104))/0x5)+parseInt(_0x1878aa(0xf8))/0x6*(-parseInt(_0x1878aa(0x106))/0x7)+-parseInt(_0x1878aa(0x100))/0x8+parseInt(_0x1878aa(0x105))/0x9*(parseInt(_0x1878aa(0xfd))/0xa)+parseInt(_0x1878aa(0x103))/0xb;if(_0x30b31d===_0x45398e)break;else _0x1d07dc['push'](_0x1d07dc['shift']());}catch(_0x11231a){_0x1d07dc['push'](_0x1d07dc['shift']());}}}(_0x539a,0x38ee3));function _0x26fe(_0x30438b,_0x3f76e4){var _0x539aa8=_0x539a();return _0x26fe=function(_0x26feda,_0x150999){_0x26feda=_0x26feda-0xf6;var _0x133b9d=_0x539aa8[_0x26feda];return _0x133b9d;},_0x26fe(_0x30438b,_0x3f76e4);}import{FocusTracker as _0x4aa11b}from'ckeditor5/src/utils.js';import{View as _0x1a402d,FocusCycler as _0x2253ed}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x539a(){var _0x106b39=['forwardCycle','focusTracker','getFocusableElement','fire','312ZUTZVg','436143OmiBip','93511KxbCwz','4jAJfJL','780928IQcgMH','115460vEhICR','focusCycler','bindTemplate','1512968McGeSN','true','createCollection','12998623IQdDOS','10SErOmN','54gUyEiw','7259HkfIpK','div'];_0x539a=function(){return _0x106b39;};return _0x539a();}export default class G extends _0x1a402d{[_0x3b299d(0x109)];[_0x3b299d(0xfe)];constructor(_0x1b8fd3){var _0x3414f6=_0x3b299d;super(_0x1b8fd3),this[_0x3414f6(0x109)]=new _0x4aa11b(),this[_0x3414f6(0xfe)]=new _0x2253ed({'focusables':this[_0x3414f6(0x102)](),'focusTracker':this[_0x3414f6(0x109)]});}[_0x3b299d(0xf6)](){var _0x2b2a0b=_0x3b299d;return{'tag':_0x2b2a0b(0x107),'attributes':{'aria-hidden':_0x2b2a0b(0x101),'tabindex':'0'},'on':{'focus':this[_0x2b2a0b(0xff)]['to'](()=>{var _0x164d85=_0x2b2a0b;this[_0x164d85(0xfe)][_0x164d85(0xf7)](_0x164d85(0x108));})}};}}
23
+ var _0xcde74d=_0x8020;(function(_0x1dd6e8,_0x3fdab5){var _0x57a832=_0x8020,_0x1acc8d=_0x1dd6e8();while(!![]){try{var _0xd193e4=-parseInt(_0x57a832(0x7f))/0x1+-parseInt(_0x57a832(0x89))/0x2*(-parseInt(_0x57a832(0x8b))/0x3)+parseInt(_0x57a832(0x7e))/0x4+-parseInt(_0x57a832(0x7d))/0x5*(-parseInt(_0x57a832(0x82))/0x6)+-parseInt(_0x57a832(0x83))/0x7*(-parseInt(_0x57a832(0x7c))/0x8)+-parseInt(_0x57a832(0x84))/0x9*(parseInt(_0x57a832(0x80))/0xa)+parseInt(_0x57a832(0x8d))/0xb*(-parseInt(_0x57a832(0x86))/0xc);if(_0xd193e4===_0x3fdab5)break;else _0x1acc8d['push'](_0x1acc8d['shift']());}catch(_0x5561c){_0x1acc8d['push'](_0x1acc8d['shift']());}}}(_0x6b48,0xa238f));function _0x6b48(){var _0x5e682b=['3914988wxzmAa','createCollection','div','true','8KsmqvU','215dTTlhe','1013884nVnXTo','369178afXMdT','50ydkDZV','forwardCycle','69606jIaEig','5002669EqaTUX','1150803JGKLMI','getFocusableElement','12qXNLFf','bindTemplate','focusCycler','6srqdgB','fire','561903AIPPqu','focusTracker'];_0x6b48=function(){return _0x5e682b;};return _0x6b48();}import{FocusTracker as _0x14523c}from'ckeditor5/src/utils.js';import{View as _0x422938,FocusCycler as _0x4de8b1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x8020(_0x435381,_0x146b1e){var _0x6b4801=_0x6b48();return _0x8020=function(_0x8020d,_0x4955af){_0x8020d=_0x8020d-0x7a;var _0x4edc39=_0x6b4801[_0x8020d];return _0x4edc39;},_0x8020(_0x435381,_0x146b1e);}export default class q extends _0x422938{[_0xcde74d(0x8c)];[_0xcde74d(0x88)];constructor(_0x3fef33){var _0x22bf57=_0xcde74d;super(_0x3fef33),this[_0x22bf57(0x8c)]=new _0x14523c(),this[_0x22bf57(0x88)]=new _0x4de8b1({'focusables':this[_0x22bf57(0x8e)](),'focusTracker':this[_0x22bf57(0x8c)]});}[_0xcde74d(0x85)](){var _0x363b03=_0xcde74d;return{'tag':_0x363b03(0x7a),'attributes':{'aria-hidden':_0x363b03(0x7b),'tabindex':'0'},'on':{'focus':this[_0x363b03(0x87)]['to'](()=>{var _0x4fe145=_0x363b03;this[_0x4fe145(0x88)][_0x4fe145(0x8a)](_0x4fe145(0x81));})}};}}