@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250424.0 → 0.0.0-nightly-20250426.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22300a=_0x4bad;(function(_0x500506,_0x44296b){const _0x26c06d=_0x4bad,_0x24d0cb=_0x500506();while(!![]){try{const _0x4a5b4b=-parseInt(_0x26c06d(0xb0))/0x1+parseInt(_0x26c06d(0xbb))/0x2+-parseInt(_0x26c06d(0x89))/0x3*(-parseInt(_0x26c06d(0xc3))/0x4)+-parseInt(_0x26c06d(0xca))/0x5+parseInt(_0x26c06d(0xcc))/0x6*(parseInt(_0x26c06d(0x8e))/0x7)+-parseInt(_0x26c06d(0xc0))/0x8*(parseInt(_0x26c06d(0xc5))/0x9)+parseInt(_0x26c06d(0xba))/0xa;if(_0x4a5b4b===_0x44296b)break;else _0x24d0cb['push'](_0x24d0cb['shift']());}catch(_0x297a7f){_0x24d0cb['push'](_0x24d0cb['shift']());}}}(_0x3936,0xba7c1));import{Plugin as _0x2b1e93}from'ckeditor5/src/core.js';import{Dialog as _0x2cb30d}from'ckeditor5/src/ui.js';import{createElement as _0x5b33cd,global as _0x57bd09,uid as _0xcc6eb9}from'ckeditor5/src/utils.js';import _0x508f95 from'./uploadcarecommand.js';function _0x4bad(_0xf033f3,_0x331ef4){const _0x393693=_0x3936();return _0x4bad=function(_0x4badbd,_0x53e8d1){_0x4badbd=_0x4badbd-0x81;let _0x4bef48=_0x393693[_0x4badbd];return _0x4bef48;},_0x4bad(_0xf033f3,_0x331ef4);}import _0x1a670b from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x298fed}from'./utils/editingutils.js';export default class i extends _0x2b1e93{[_0x22300a(0xc7)]=null;[_0x22300a(0x81)]=null;static get[_0x22300a(0x88)](){const _0x2b8116=_0x22300a;return _0x2b8116(0x82);}static get[_0x22300a(0xcd)](){const _0x26198b=_0x22300a;return[_0x26198b(0x8b),_0x1a670b,_0x2cb30d];}static get[_0x22300a(0xb5)](){return!0x0;}static get[_0x22300a(0x92)](){return!0x0;}get[_0x22300a(0xaa)](){const _0x43cb6b=_0x22300a;return this[_0x43cb6b(0xc7)];}get[_0x22300a(0xb3)](){const _0x2896e5=_0x22300a;return this[_0x2896e5(0x81)];}[_0x22300a(0xb8)](){const _0x5b55be=_0x22300a,_0x366af2=this[_0x5b55be(0x94)];_0x366af2[_0x5b55be(0xa5)][_0x5b55be(0xad)](_0x5b55be(0x9a),new _0x508f95(_0x366af2));}[_0x22300a(0x8d)](){const _0x66b147=_0x22300a;this[_0x66b147(0xac)](),this[_0x66b147(0xd0)](),this[_0x66b147(0xd1)](),this[_0x66b147(0xab)](),this[_0x66b147(0xb4)](),this[_0x66b147(0x98)](this[_0x66b147(0x94)],_0x66b147(0xa9),()=>{const _0x44d583=_0x66b147;this[_0x44d583(0xc7)]&&(this[_0x44d583(0xc7)][_0x44d583(0x91)](),this[_0x44d583(0xc7)]=null),this[_0x44d583(0x81)]&&(this[_0x44d583(0x81)][_0x44d583(0x91)](),this[_0x44d583(0x81)]=null);const _0x242caa=_0x57bd09[_0x44d583(0x93)][_0x44d583(0xa3)](_0x44d583(0xc4));_0x242caa&&_0x242caa[_0x44d583(0x91)]();}),async function(_0x11e0ef){const _0x4515ca=_0x2e06cb([0x42,0x49,0x38,0x77,0x37,0x7a,0x59,0x41,0x44,0x75,0x45,0x63,0x48,0x39,0x31,0x6d,0x4c,0x5a,0x6b,0x6a,0x71,0x47,0x78,0x4b,0x69,0x61,0x52,0x55,0x36,0x33,0x53,0x68,0x72,0x43,0x4e,0x74,0x30,0x66,0x4d,0x34,0x6e,0x76,0x35,0x56,0x4f,0x50,0x70,0x62,0x73,0x64,0x79,0x58,0x6f,0x65,0x6c,0x54,0x4a,0x67,0x51,0x57,0x32,0x46]),_0x4247fa=0x31a636de,_0x24d31e=0x31a1532e^_0x4247fa,_0x3545a4=window[_0x2e06cb([0x44,0x61,0x74,0x65])][_0x2e06cb([0x6e,0x6f,0x77])](),_0x270031=_0x11e0ef[_0x2e06cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a51ff=new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x550a0f=>{_0x270031[_0x2e06cb([0x6f,0x6e,0x63,0x65])](_0x2e06cb([0x72,0x65,0x61,0x64,0x79]),_0x550a0f);}),_0x7c1bfb={[_0x2e06cb([0x6b,0x74,0x79])]:_0x2e06cb([0x45,0x43]),[_0x2e06cb([0x75,0x73,0x65])]:_0x2e06cb([0x73,0x69,0x67]),[_0x2e06cb([0x63,0x72,0x76])]:_0x2e06cb([0x50,0x2d,0x32,0x35,0x36]),[_0x2e06cb([0x78])]:_0x2e06cb([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]),[_0x2e06cb([0x79])]:_0x2e06cb([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]),[_0x2e06cb([0x61,0x6c,0x67])]:_0x2e06cb([0x45,0x53,0x32,0x35,0x36])},_0x602cea=_0x270031[_0x2e06cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e06cb([0x67,0x65,0x74])](_0x2e06cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a7f93(){let _0x4123c5,_0x4a8f1f=null,_0x492c9b=null;try{if(_0x602cea==_0x2e06cb([0x47,0x50,0x4c]))return _0x2e06cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4123c5=_0x596bb6(),!_0x4123c5)return _0x2e06cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4123c5[_0x2e06cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x492c9b=_0x157efe(_0x4123c5[_0x2e06cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4123c5[_0x2e06cb([0x6a,0x74,0x69])])),await _0xa03bd5()?_0x394807()?_0x27390b()?_0x2e06cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d5742()?(_0x4123c5[_0x2e06cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e06cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a8f1f=_0x42bb22(_0x2e06cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4123c5[_0x2e06cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e06cb([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a8f1f=_0x42bb22(_0x2e06cb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28bf67()):_0x2e06cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e06cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e06cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x452dae){return _0x2e06cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27390b(){const _0x27f4e7=[_0x2e06cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e06cb([0x74,0x72,0x69,0x61,0x6c])][_0x2e06cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4123c5[_0x2e06cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3545a4/0x3e8:0xe10*_0x24d31e;return _0x4123c5[_0x2e06cb([0x65,0x78,0x70])]<_0x27f4e7;}function _0x394807(){const _0x57c1ae=_0x4123c5[_0x2e06cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57c1ae&&(!!_0x57c1ae[_0x2e06cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e06cb([0x2a]))||!!_0x57c1ae[_0x2e06cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e06cb([0x55,0x50,0x4c,0x43])));}function _0x4d5742(){const _0x186fd0=_0x4bad,_0x2da377=_0x4123c5[_0x2e06cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2da377||0x0==_0x2da377[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc5378d}=new URL(window[_0x2e06cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x186fd0(0xaf)]);if(_0x2da377[_0x2e06cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5378d))return!0x0;const _0x1e714f=_0xc5378d[_0x2e06cb([0x73,0x70,0x6c,0x69,0x74])](_0x2e06cb([0x2e]));return _0x2da377[_0x2e06cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5640d9=>_0x5640d9[_0x2e06cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e06cb([0x2a])))[_0x2e06cb([0x6d,0x61,0x70])](_0x345fc0=>_0x345fc0[_0x2e06cb([0x73,0x70,0x6c,0x69,0x74])](_0x2e06cb([0x2e])))[_0x2e06cb([0x73,0x6f,0x6d,0x65])](_0x109c86=>_0x1e714f[_0x2e06cb([0x65,0x76,0x65,0x72,0x79])]((_0x3e2190,_0x5cb74b)=>_0x109c86[_0x5cb74b]===_0x3e2190||_0x109c86[_0x5cb74b]===_0x2e06cb([0x2a])));}function _0x28bf67(){return _0x4a8f1f&&_0x492c9b?new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xca3f7d,_0x86b1f0)=>{_0x4a8f1f[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0xca3f7d,_0x86b1f0),_0x492c9b[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0x1a18fb=>{_0x1a18fb!=_0x2e06cb([0x56,0x61,0x6c,0x69,0x64])&&_0xca3f7d(_0x1a18fb);},_0x86b1f0);}):_0x4a8f1f||_0x492c9b||_0x2e06cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x157efe(_0x158061,_0x13175d){return new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15af1d=>{if(_0x25b333())return _0x15af1d(_0x2e06cb([0x56,0x61,0x6c,0x69,0x64]));_0x27fda8(),_0x270031[_0x2e06cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e06cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16e385=!0x1;const _0x47361d=_0xcc6eb9();function _0x31a60b(_0x2ee5df){return!!_0x2ee5df&&(typeof _0x2ee5df===_0x2e06cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ee5df===_0x2e06cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ee5df[_0x2e06cb([0x74,0x68,0x65,0x6e])]===_0x2e06cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ee5df[_0x2e06cb([0x63,0x61,0x74,0x63,0x68])]===_0x2e06cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x84f3af(_0x2274e6){_0x160eb1(_0x2274e6)[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0x519715=>{if(!_0x519715||_0x519715[_0x2e06cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e06cb([0x6f,0x6b]))return _0x2e06cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d9996(_0x288374(_0x47361d+_0x13175d))!=_0x519715[_0x2e06cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e06cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e06cb([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0x12c884=>(_0x3d843e(),_0x12c884),()=>{const _0x7e6495=_0x67c7f0();return null==_0x7e6495?(_0x3d843e(),_0x2e06cb([0x56,0x61,0x6c,0x69,0x64])):_0x2e06cb(_0x3545a4-_0x7e6495>(0x15aab2de^_0x4247fa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0x15af1d)[_0x2e06cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15af1d(_0x2e06cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3fadb9=0x3190d85e^_0x4247fa;function _0x3d843e(){const _0x26988a=_0x2e06cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9996(_0x288374(_0x158061)),_0x2bebb1=_0x571c3b(_0x2d9996(window[_0x2e06cb([0x4d,0x61,0x74,0x68])][_0x2e06cb([0x63,0x65,0x69,0x6c])](_0x3545a4/_0x3fadb9)));window[_0x2e06cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e06cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26988a,_0x2bebb1);}function _0x67c7f0(){const _0x4348e7=_0x2e06cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d9996(_0x288374(_0x158061)),_0x1ade66=window[_0x2e06cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e06cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4348e7);return _0x1ade66?window[_0x2e06cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x571c3b(_0x1ade66),0x10)*_0x3fadb9:null;}function _0x160eb1(_0x2b2b0c){return new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a9207,_0x3630fb)=>{_0x2b2b0c[_0x2e06cb([0x74,0x68,0x65,0x6e])](_0x1a9207,_0x3630fb),window[_0x2e06cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3630fb,0x31a7e21e^_0x4247fa);});}}_0x270031[_0x2e06cb([0x6f,0x6e])](_0x2e06cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47d804,_0x270e10)=>{if(_0x270e10[0x0]!=_0x158061)return _0x15af1d(_0x2e06cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x270e10[0x1]={..._0x270e10[0x1],[_0x2e06cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47361d};},{[_0x2e06cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e06cb([0x68,0x69,0x67,0x68])}),_0x270031[_0x2e06cb([0x6f,0x6e])](_0x2e06cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57a694=>{_0x31a60b(_0x57a694[_0x2e06cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16e385=!0x0,_0x84f3af(_0x57a694[_0x2e06cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e06cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e06cb([0x6c,0x6f,0x77])}),_0x4a51ff[_0x2e06cb([0x74,0x68,0x65,0x6e])](()=>{_0x16e385||_0x15af1d(_0x2e06cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25b333(){return _0x270031[_0x2e06cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e06cb([0x76,0x69,0x65,0x77])][_0x2e06cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e06cb([0x61,0x75,0x74,0x6f]);}function _0x27fda8(){_0x270031[_0x2e06cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e06cb([0x76,0x69,0x65,0x77])][_0x2e06cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e06cb([0x61,0x75,0x74,0x6f]);}}function _0x42bb22(_0x3ce6bd){const _0x49654b=[new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f6495=>setTimeout(_0x3f6495,0x31af0812^_0x4247fa)),_0x4a51ff[_0x2e06cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46013b=>{let _0x357315=0x0;_0x270031[_0x2e06cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e06cb([0x6f,0x6e])](_0x2e06cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1000f9,_0xab0c52)=>{_0xab0c52[0x0][_0x2e06cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x357315++,_0x357315==(0x31a63726^_0x4247fa)&&(_0x46013b(),_0x1000f9[_0x2e06cb([0x6f,0x66,0x66])]());});}))];return window[_0x2e06cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e06cb([0x72,0x61,0x63,0x65])](_0x49654b)[_0x2e06cb([0x74,0x68,0x65,0x6e])](()=>_0x3ce6bd);}async function _0x2fadc0(){await _0x4a51ff,_0x270031[_0x2e06cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e06cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7da400,_0x270031[_0x2e06cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e06cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7da400,_0x270031[_0x2e06cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e06cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2fbeff(_0x2f935b){const _0x4f83de=_0x5f36a8();_0x270031[_0x4f83de]=_0x2e06cb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f935b,_0x2f935b!=_0x2e06cb([0x56,0x61,0x6c,0x69,0x64])&&_0x2fadc0();}function _0x5f36a8(){const _0x1f6a02=window[_0x2e06cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e06cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e06cb([0x6e,0x6f,0x77])]())[_0x2e06cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e06cb([0x2e]),'');let _0x47e6e2=_0x2e06cb([0x42]);for(let _0x3f07b6=0x0;_0x3f07b6<_0x1f6a02[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f07b6+=0x2){let _0x2cdba1=window[_0x2e06cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f6a02[_0x2e06cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f07b6,_0x3f07b6+0x2));_0x2cdba1>=_0x4515ca[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cdba1-=_0x4515ca[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47e6e2+=_0x4515ca[_0x2cdba1];}return _0x47e6e2;}function _0x596bb6(){const _0x293ce6=_0x602cea[_0x2e06cb([0x73,0x70,0x6c,0x69,0x74])](_0x2e06cb([0x2e]));if(0x3!=_0x293ce6[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc6b0c5(_0x293ce6[0x1]);function _0xc6b0c5(_0x2e54f3){const _0x11e5e0=_0x5e5107(_0x2e54f3);return _0x11e5e0&&_0x400079()?_0x11e5e0:null;function _0x400079(){const _0x2e88d2=_0x11e5e0[_0x2e06cb([0x6a,0x74,0x69])],_0x11c5a2=window[_0x2e06cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e88d2[_0x2e06cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e88d2[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x126fd1={..._0x11e5e0,[_0x2e06cb([0x6a,0x74,0x69])]:_0x2e88d2[_0x2e06cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e88d2[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x126fd1[_0x2e06cb([0x76,0x63])],_0x288374(_0x126fd1)==_0x11c5a2;}}}async function _0xa03bd5(){let _0x526b24=!0x0;try{const _0x15f84f=_0x602cea[_0x2e06cb([0x73,0x70,0x6c,0x69,0x74])](_0x2e06cb([0x2e])),[_0x55c7a5,_0x307460,_0x104f85]=_0x15f84f;return _0x416ae5(_0x55c7a5),await _0x348839(_0x55c7a5,_0x307460,_0x104f85),_0x526b24;}catch(_0x43a805){return!0x1;}function _0x416ae5(_0x2a8a6b){const _0x150c14=_0x5e5107(_0x2a8a6b);_0x150c14&&_0x150c14[_0x2e06cb([0x61,0x6c,0x67])]==_0x2e06cb([0x45,0x53,0x32,0x35,0x36])||(_0x526b24=!0x1);}async function _0x348839(_0x2159ea,_0x54b5b2,_0x462bbf){const _0x1b098b=window[_0x2e06cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e06cb([0x66,0x72,0x6f,0x6d])](_0x23c7a4(_0x462bbf),_0x2f445e=>_0x2f445e[_0x2e06cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22e5c8=new window[(_0x2e06cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e06cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2159ea+_0x2e06cb([0x2e])+_0x54b5b2),_0xcf8365=window[_0x2e06cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e06cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xcf8365)return;const _0x5ac616=await _0xcf8365[_0x2e06cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e06cb([0x6a,0x77,0x6b]),_0x7c1bfb,{[_0x2e06cb([0x6e,0x61,0x6d,0x65])]:_0x2e06cb([0x45,0x43,0x44,0x53,0x41]),[_0x2e06cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e06cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e06cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xcf8365[_0x2e06cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e06cb([0x6e,0x61,0x6d,0x65])]:_0x2e06cb([0x45,0x43,0x44,0x53,0x41]),[_0x2e06cb([0x68,0x61,0x73,0x68])]:{[_0x2e06cb([0x6e,0x61,0x6d,0x65])]:_0x2e06cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac616,_0x1b098b,_0x22e5c8)||(_0x526b24=!0x1);}}function _0x5e5107(_0x3d9cd5){return _0x3d9cd5[_0x2e06cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e06cb([0x65,0x79]))?JSON[_0x2e06cb([0x70,0x61,0x72,0x73,0x65])](_0x23c7a4(_0x3d9cd5)):null;}function _0x23c7a4(_0x40dccc){return window[_0x2e06cb([0x61,0x74,0x6f,0x62])](_0x40dccc[_0x2e06cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e06cb([0x2b]))[_0x2e06cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e06cb([0x2f])));}function _0x288374(_0x5237ff){let _0x5b8d0e=0x1505;function _0x3f6b61(_0x3743ce){for(let _0x2878fa=0x0;_0x2878fa<_0x3743ce[_0x2e06cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2878fa++){const _0x264aa8=_0x3743ce[_0x2e06cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2878fa);_0x5b8d0e=(_0x5b8d0e<<0x5)+_0x5b8d0e+_0x264aa8,_0x5b8d0e&=_0x5b8d0e;}}function _0xf0209a(_0x176206){Array[_0x2e06cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x176206)?_0x176206[_0x2e06cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf0209a):_0x176206&&typeof _0x176206==_0x2e06cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e06cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x176206)[_0x2e06cb([0x73,0x6f,0x72,0x74])]()[_0x2e06cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ed14a,_0x497973])=>{_0x3f6b61(_0x1ed14a),_0xf0209a(_0x497973);}):_0x3f6b61(window[_0x2e06cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x176206));}return _0xf0209a(_0x5237ff),_0x5b8d0e>>>0x0;}function _0x2d9996(_0x431524){return _0x431524[_0x2e06cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e06cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e06cb([0x30]));}function _0x571c3b(_0x1cbdf7){return _0x1cbdf7[_0x2e06cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e06cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e06cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x7da400(){}function _0x2e06cb(_0xc5969d){const _0x1801d4=_0x4bad;return _0xc5969d[_0x1801d4(0xcf)](_0x3cdff1=>String[_0x1801d4(0x9d)](_0x3cdff1))[_0x1801d4(0x85)]('');}_0x2fbeff(await _0x2a7f93());}(this);}[_0x22300a(0xac)](){const _0x5af13c=_0x22300a,_0x389b3c=this[_0x5af13c(0x94)][_0x5af13c(0xc8)][_0x5af13c(0x86)];_0x389b3c[_0x5af13c(0xb2)](_0x5af13c(0xa8))&&_0x389b3c[_0x5af13c(0x97)](_0x5af13c(0xa8),{'allowAttributes':[_0x5af13c(0xb7)]}),_0x389b3c[_0x5af13c(0xb2)](_0x5af13c(0x8f))&&_0x389b3c[_0x5af13c(0x97)](_0x5af13c(0x8f),{'allowAttributes':[_0x5af13c(0xb7)]});}[_0x22300a(0xd0)](){const _0x49076d=_0x22300a,_0x288a16=this[_0x49076d(0x94)];_0x288a16[_0x49076d(0xd3)][_0x49076d(0x87)](_0x49076d(0x9b))[_0x49076d(0x8a)]({'model':_0x49076d(0xb7),'view':_0x49076d(0xbd)}),_0x288a16[_0x49076d(0xd3)][_0x49076d(0x87)](_0x49076d(0x95))[_0x49076d(0x90)]({'model':{'key':_0x49076d(0xb7),'value':_0x4bb6a5=>_0x4bb6a5[_0x49076d(0x9e)](_0x49076d(0xbd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14c9cc=_0x288a16[_0x49076d(0xa5)][_0x49076d(0x9f)](_0x49076d(0xb1));_0x14c9cc&&this[_0x49076d(0x98)](_0x14c9cc,_0x49076d(0xc9),(_0x22d842,[_0x47990a,_0x4eeaa2])=>{const _0x37dbeb=_0x49076d;_0x47990a[_0x37dbeb(0xb6)](_0x37dbeb(0xb7),_0x4eeaa2);});}[_0x22300a(0xd1)](){const _0x53a1ff=_0x22300a,_0x2298f0=this[_0x53a1ff(0x94)][_0x53a1ff(0x9c)][_0x53a1ff(0x9f)](_0x53a1ff(0xae))||{},_0x3bbfaf=this[_0x53a1ff(0x94)][_0x53a1ff(0x9c)][_0x53a1ff(0x9f)](_0x53a1ff(0x99))||'';this[_0x53a1ff(0xc7)]=_0x5b33cd(_0x57bd09[_0x53a1ff(0x93)],_0x53a1ff(0xd4),{..._0x2298f0,'pubkey':_0x3bbfaf,'ctx-name':_0x53a1ff(0xc1),'sourceList':'','imgOnly':_0x53a1ff(0xd2),'removeCopyright':_0x53a1ff(0xd2),'localeName':this[_0x53a1ff(0x94)][_0x53a1ff(0xa7)][_0x53a1ff(0xce)],'externalSourcesEmbedCss':_0x53a1ff(0xa2)}),this[_0x53a1ff(0xc7)][_0x53a1ff(0xa4)]=_0x1291cc=>{const _0xc85b6f=_0x53a1ff;if(_0xc85b6f(0xbe)==_0x1291cc)return _0xc85b6f(0xa0);},_0x57bd09[_0x53a1ff(0x93)][_0x53a1ff(0xb9)][_0x53a1ff(0xa6)](this[_0x53a1ff(0xc7)]);}[_0x22300a(0xab)](){const _0x2a0192=_0x22300a;this[_0x2a0192(0x81)]=_0x5b33cd(_0x57bd09[_0x2a0192(0x93)],_0x2a0192(0xcb),{'ctx-name':_0x2a0192(0xc1)}),_0x57bd09[_0x2a0192(0x93)][_0x2a0192(0xb9)][_0x2a0192(0xa6)](this[_0x2a0192(0x81)]);}[_0x22300a(0xb4)](){const _0xebf155=_0x22300a,_0x44eefd=this[_0xebf155(0x94)][_0xebf155(0xa5)][_0xebf155(0x9f)](_0xebf155(0x83));_0x44eefd&&this[_0xebf155(0x98)](_0x44eefd,_0xebf155(0x8c),()=>{const _0x471c7c=_0xebf155,_0x11644e=this[_0x471c7c(0x94)][_0x471c7c(0xc8)][_0x471c7c(0x93)][_0x471c7c(0xc2)][_0x471c7c(0x84)]();_0x11644e&&_0x11644e[_0x471c7c(0x9e)](_0x471c7c(0xb7))&&this[_0x471c7c(0x94)][_0x471c7c(0xc6)][_0x471c7c(0xbc)][_0x471c7c(0xa1)](_0x471c7c(0xbf),()=>{const _0x5ec6be=_0x471c7c;_0x298fed(this[_0x5ec6be(0x94)],_0x11644e);});});const _0x4ad7fc=this[_0xebf155(0x94)][_0xebf155(0xa5)][_0xebf155(0x9f)](_0xebf155(0x96));_0x4ad7fc&&this[_0xebf155(0x98)](_0x4ad7fc,_0xebf155(0x8c),()=>{const _0x3cb161=_0xebf155,_0x1ac4c6=this[_0x3cb161(0x94)][_0x3cb161(0xc8)][_0x3cb161(0x93)][_0x3cb161(0xc2)][_0x3cb161(0x84)]();_0x1ac4c6&&_0x1ac4c6[_0x3cb161(0x9e)](_0x3cb161(0xb7))&&this[_0x3cb161(0x94)][_0x3cb161(0xc6)][_0x3cb161(0xbc)][_0x3cb161(0xa1)](_0x3cb161(0xbf),()=>{const _0x497653=_0x3cb161;_0x298fed(this[_0x497653(0x94)],_0x1ac4c6);});});}}function _0x3936(){const _0x41104b=['upcast','uploadcareImageReplace','extend','listenTo','uploadcare.pubkey','uploadcare','downcast','config','fromCharCode','getAttribute','get','#uc-icon-arrow-down','once','\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','querySelector','iconHrefResolver','commands','appendChild','locale','imageBlock','destroy','configElement','_initCtx','_initSchema','add','uploadcare.uploader','href','1307500HjcRus','replaceImageSource','isRegistered','ctxElement','_initImageProcessingIndicator','isOfficialPlugin','removeAttribute','uploadcareImageId','init','body','16810360YbxGlF','2687364eJtieJ','view','data-uc-image-id','closeMax','render','1458888RfRkTg','uploader','selection','8692JdIakE','input[uploadcare-file-input]','45axqXFo','editing','_configElement','model','cleanupImage','6071100MCOKZO','uc-upload-ctx-provider','74694tjAVZI','requires','contentLanguage','map','_initConversion','_initConfig','true','conversion','uc-config','_ctxElement','UploadcareEditing','insertImage','getSelectedElement','join','schema','for','pluginName','1533vLsEJT','attributeToAttribute','PictureEditing','execute','afterInit','35qseZOP','imageInline','elementToAttribute','remove','isPremiumPlugin','document','editor'];_0x3936=function(){return _0x41104b;};return _0x3936();}
23
+ const _0xc042f5=_0x52d0;(function(_0x5b14c2,_0x5c22b8){const _0x436c52=_0x52d0,_0x350f60=_0x5b14c2();while(!![]){try{const _0x342747=parseInt(_0x436c52(0x192))/0x1*(-parseInt(_0x436c52(0x147))/0x2)+-parseInt(_0x436c52(0x190))/0x3*(-parseInt(_0x436c52(0x166))/0x4)+parseInt(_0x436c52(0x174))/0x5+-parseInt(_0x436c52(0x171))/0x6*(-parseInt(_0x436c52(0x169))/0x7)+-parseInt(_0x436c52(0x197))/0x8+parseInt(_0x436c52(0x159))/0x9+-parseInt(_0x436c52(0x164))/0xa;if(_0x342747===_0x5c22b8)break;else _0x350f60['push'](_0x350f60['shift']());}catch(_0x48fa14){_0x350f60['push'](_0x350f60['shift']());}}}(_0x5246,0x37b30));function _0x5246(){const _0x2cb4f9=['map','configElement','schema','true','uploadcareImageId','join','editing','3804720CiCwuk','isPremiumPlugin','7724lAgPGz','document','_initSchema','33453RePpXg','config','downcast','cleanupImage','remove','_initConfig','PictureEditing','imageInline','366qTYcCz','elementToAttribute','pluginName','1658510hxbSIH','_configElement','_initImageProcessingIndicator','UploadcareEditing','closeMax','input[uploadcare-file-input]','uploader','isOfficialPlugin','getSelectedElement','conversion','uploadcareImageReplace','contentLanguage','querySelector','_initConversion','fromCharCode','iconHrefResolver','href','locale','extend','requires','destroy','execute','_ctxElement','selection','attributeToAttribute','appendChild','render','model','417WiFuOS','add','5KvJQdk','getAttribute','afterInit','isRegistered','data-uc-image-id','2298648qEFmGF','for','\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','commands','19388bykIgu','_initCtx','uc-config','removeAttribute','imageBlock','replaceImageSource','uploadcare.pubkey','#uc-icon-arrow-down','get','ctxElement','view','uc-upload-ctx-provider','init','insertImage','body','editor','uploadcare','upcast','475083YQwxaQ','listenTo','uploadcare.uploader','once'];_0x5246=function(){return _0x2cb4f9;};return _0x5246();}import{Plugin as _0x28d09c}from'ckeditor5/src/core.js';import{Dialog as _0x2f03f7}from'ckeditor5/src/ui.js';import{createElement as _0x1adf8e,global as _0x19386e,uid as _0x33a6de}from'ckeditor5/src/utils.js';function _0x52d0(_0x23b3a5,_0x2911a5){const _0x52462a=_0x5246();return _0x52d0=function(_0x52d020,_0xc30a85){_0x52d020=_0x52d020-0x144;let _0xee4f4a=_0x52462a[_0x52d020];return _0xee4f4a;},_0x52d0(_0x23b3a5,_0x2911a5);}import _0x45be82 from'./uploadcarecommand.js';import _0x46cda6 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x45e451}from'./utils/editingutils.js';export default class i extends _0x28d09c{[_0xc042f5(0x175)]=null;[_0xc042f5(0x18a)]=null;static get[_0xc042f5(0x173)](){const _0x52cf49=_0xc042f5;return _0x52cf49(0x177);}static get[_0xc042f5(0x187)](){const _0x5c6860=_0xc042f5;return[_0x5c6860(0x16f),_0x46cda6,_0x2f03f7];}static get[_0xc042f5(0x17b)](){return!0x0;}static get[_0xc042f5(0x165)](){return!0x0;}get[_0xc042f5(0x15e)](){const _0x3f6f87=_0xc042f5;return this[_0x3f6f87(0x175)];}get[_0xc042f5(0x150)](){const _0x4bfcd1=_0xc042f5;return this[_0x4bfcd1(0x18a)];}[_0xc042f5(0x153)](){const _0x4c3c4a=_0xc042f5,_0x234557=this[_0x4c3c4a(0x156)];_0x234557[_0x4c3c4a(0x146)][_0x4c3c4a(0x191)](_0x4c3c4a(0x157),new _0x45be82(_0x234557));}[_0xc042f5(0x194)](){const _0x4d96b8=_0xc042f5;this[_0x4d96b8(0x168)](),this[_0x4d96b8(0x181)](),this[_0x4d96b8(0x16e)](),this[_0x4d96b8(0x148)](),this[_0x4d96b8(0x176)](),this[_0x4d96b8(0x15a)](this[_0x4d96b8(0x156)],_0x4d96b8(0x188),()=>{const _0x254517=_0x4d96b8;this[_0x254517(0x175)]&&(this[_0x254517(0x175)][_0x254517(0x16d)](),this[_0x254517(0x175)]=null),this[_0x254517(0x18a)]&&(this[_0x254517(0x18a)][_0x254517(0x16d)](),this[_0x254517(0x18a)]=null);const _0x346418=_0x19386e[_0x254517(0x167)][_0x254517(0x180)](_0x254517(0x179));_0x346418&&_0x346418[_0x254517(0x16d)]();}),async function(_0x30b94c){const _0x21cb30=_0x1f4ca4([0x72,0x36,0x7a,0x50,0x63,0x71,0x4f,0x75,0x51,0x6f,0x59,0x6e,0x52,0x48,0x4e,0x6b,0x49,0x55,0x74,0x30,0x35,0x34,0x64,0x43,0x65,0x69,0x47,0x45,0x61,0x73,0x79,0x6d,0x41,0x54,0x42,0x68,0x6a,0x62,0x4a,0x77,0x31,0x4b,0x37,0x46,0x66,0x5a,0x4d,0x53,0x39,0x70,0x78,0x33,0x76,0x32,0x58,0x56,0x6c,0x67,0x38,0x57,0x4c,0x44]),_0x2e9031=0x6b248b60,_0x5b620b=0x6b23ed40^_0x2e9031,_0x36c73d=window[_0x1f4ca4([0x44,0x61,0x74,0x65])][_0x1f4ca4([0x6e,0x6f,0x77])](),_0xe6d8d3=_0x30b94c[_0x1f4ca4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8a4d=new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19316a=>{_0xe6d8d3[_0x1f4ca4([0x6f,0x6e,0x63,0x65])](_0x1f4ca4([0x72,0x65,0x61,0x64,0x79]),_0x19316a);}),_0x5a831c={[_0x1f4ca4([0x6b,0x74,0x79])]:_0x1f4ca4([0x45,0x43]),[_0x1f4ca4([0x75,0x73,0x65])]:_0x1f4ca4([0x73,0x69,0x67]),[_0x1f4ca4([0x63,0x72,0x76])]:_0x1f4ca4([0x50,0x2d,0x32,0x35,0x36]),[_0x1f4ca4([0x78])]:_0x1f4ca4([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]),[_0x1f4ca4([0x79])]:_0x1f4ca4([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]),[_0x1f4ca4([0x61,0x6c,0x67])]:_0x1f4ca4([0x45,0x53,0x32,0x35,0x36])},_0x2d61bc=_0xe6d8d3[_0x1f4ca4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f4ca4([0x67,0x65,0x74])](_0x1f4ca4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e9882(){let _0x46e619,_0x341d5a=null,_0x560a36=null;try{if(_0x2d61bc==_0x1f4ca4([0x47,0x50,0x4c]))return _0x1f4ca4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46e619=_0x538915(),!_0x46e619)return _0x1f4ca4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46e619[_0x1f4ca4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x560a36=_0x332e9e(_0x46e619[_0x1f4ca4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46e619[_0x1f4ca4([0x6a,0x74,0x69])])),await _0x2294fd()?_0x5e2916()?_0x2d7c87()?_0x1f4ca4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2659c6()?(_0x46e619[_0x1f4ca4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4ca4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x341d5a=_0x458a74(_0x1f4ca4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46e619[_0x1f4ca4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f4ca4([0x74,0x72,0x69,0x61,0x6c])&&(_0x341d5a=_0x458a74(_0x1f4ca4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28b6a7()):_0x1f4ca4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4ca4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f4ca4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x58caed){return _0x1f4ca4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d7c87(){const _0x5d4f8e=[_0x1f4ca4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f4ca4([0x74,0x72,0x69,0x61,0x6c])][_0x1f4ca4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e619[_0x1f4ca4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36c73d/0x3e8:0xe10*_0x5b620b;return _0x46e619[_0x1f4ca4([0x65,0x78,0x70])]<_0x5d4f8e;}function _0x5e2916(){const _0x1e37f7=_0x46e619[_0x1f4ca4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e37f7&&(!!_0x1e37f7[_0x1f4ca4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4ca4([0x2a]))||!!_0x1e37f7[_0x1f4ca4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4ca4([0x55,0x50,0x4c,0x43])));}function _0x2659c6(){const _0x5d0164=_0x52d0,_0x416eb8=_0x46e619[_0x1f4ca4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x416eb8||0x0==_0x416eb8[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4020c3}=new URL(window[_0x1f4ca4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5d0164(0x184)]);if(_0x416eb8[_0x1f4ca4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4020c3))return!0x0;const _0x30de84=_0x4020c3[_0x1f4ca4([0x73,0x70,0x6c,0x69,0x74])](_0x1f4ca4([0x2e]));return _0x416eb8[_0x1f4ca4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13874d=>_0x13874d[_0x1f4ca4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4ca4([0x2a])))[_0x1f4ca4([0x6d,0x61,0x70])](_0x492833=>_0x492833[_0x1f4ca4([0x73,0x70,0x6c,0x69,0x74])](_0x1f4ca4([0x2e])))[_0x1f4ca4([0x73,0x6f,0x6d,0x65])](_0x4d681f=>_0x30de84[_0x1f4ca4([0x65,0x76,0x65,0x72,0x79])]((_0x19b93c,_0x5e5e91)=>_0x4d681f[_0x5e5e91]===_0x19b93c||_0x4d681f[_0x5e5e91]===_0x1f4ca4([0x2a])));}function _0x28b6a7(){return _0x341d5a&&_0x560a36?new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3334c7,_0x15b705)=>{_0x341d5a[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x3334c7,_0x15b705),_0x560a36[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x38c6a5=>{_0x38c6a5!=_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64])&&_0x3334c7(_0x38c6a5);},_0x15b705);}):_0x341d5a||_0x560a36||_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x332e9e(_0x4cca11,_0x2cdc6){return new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d2e2=>{if(_0x48ccf4())return _0x32d2e2(_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64]));_0x2db17f(),_0xe6d8d3[_0x1f4ca4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f4ca4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x514d92=!0x1;const _0x2cd537=_0x33a6de();function _0x176c0d(_0x548e6e){return!!_0x548e6e&&(typeof _0x548e6e===_0x1f4ca4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x548e6e===_0x1f4ca4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x548e6e[_0x1f4ca4([0x74,0x68,0x65,0x6e])]===_0x1f4ca4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x548e6e[_0x1f4ca4([0x63,0x61,0x74,0x63,0x68])]===_0x1f4ca4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22da55(_0x496f56){_0x4791e4(_0x496f56)[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x231b62=>{if(!_0x231b62||_0x231b62[_0x1f4ca4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f4ca4([0x6f,0x6b]))return _0x1f4ca4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22b9b1(_0x4f8237(_0x2cd537+_0x2cdc6))!=_0x231b62[_0x1f4ca4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f4ca4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x334a5a=>(_0x2713b4(),_0x334a5a),()=>{const _0x3f3f92=_0x5943cd();return null==_0x3f3f92?(_0x2713b4(),_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64])):_0x1f4ca4(_0x36c73d-_0x3f3f92>(0x4f280f60^_0x2e9031)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x32d2e2)[_0x1f4ca4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32d2e2(_0x1f4ca4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28bbd7=0x6b1265e0^_0x2e9031;function _0x2713b4(){const _0x1c71b0=_0x1f4ca4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22b9b1(_0x4f8237(_0x4cca11)),_0x487099=_0x37a0f0(_0x22b9b1(window[_0x1f4ca4([0x4d,0x61,0x74,0x68])][_0x1f4ca4([0x63,0x65,0x69,0x6c])](_0x36c73d/_0x28bbd7)));window[_0x1f4ca4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4ca4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c71b0,_0x487099);}function _0x5943cd(){const _0x5b3d2b=_0x1f4ca4([0x6c,0x6c,0x63,0x74,0x2d])+_0x22b9b1(_0x4f8237(_0x4cca11)),_0x12b0d5=window[_0x1f4ca4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f4ca4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b3d2b);return _0x12b0d5?window[_0x1f4ca4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37a0f0(_0x12b0d5),0x10)*_0x28bbd7:null;}function _0x4791e4(_0x24ad65){return new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59b455,_0x509c53)=>{_0x24ad65[_0x1f4ca4([0x74,0x68,0x65,0x6e])](_0x59b455,_0x509c53),window[_0x1f4ca4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x509c53,0x6b255fa0^_0x2e9031);});}}_0xe6d8d3[_0x1f4ca4([0x6f,0x6e])](_0x1f4ca4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51aad3,_0x3df17e)=>{if(_0x3df17e[0x0]!=_0x4cca11)return _0x32d2e2(_0x1f4ca4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3df17e[0x1]={..._0x3df17e[0x1],[_0x1f4ca4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cd537};},{[_0x1f4ca4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4ca4([0x68,0x69,0x67,0x68])}),_0xe6d8d3[_0x1f4ca4([0x6f,0x6e])](_0x1f4ca4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4afc5b=>{_0x176c0d(_0x4afc5b[_0x1f4ca4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x514d92=!0x0,_0x22da55(_0x4afc5b[_0x1f4ca4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f4ca4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f4ca4([0x6c,0x6f,0x77])}),_0x8a4d[_0x1f4ca4([0x74,0x68,0x65,0x6e])](()=>{_0x514d92||_0x32d2e2(_0x1f4ca4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48ccf4(){return _0xe6d8d3[_0x1f4ca4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4ca4([0x76,0x69,0x65,0x77])][_0x1f4ca4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f4ca4([0x61,0x75,0x74,0x6f]);}function _0x2db17f(){_0xe6d8d3[_0x1f4ca4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f4ca4([0x76,0x69,0x65,0x77])][_0x1f4ca4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f4ca4([0x61,0x75,0x74,0x6f]);}}function _0x458a74(_0x4c2f0f){const _0x251d6c=[new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed962=>setTimeout(_0x1ed962,0x6b2db5ac^_0x2e9031)),_0x8a4d[_0x1f4ca4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1781=>{let _0x4d2aa3=0x0;_0xe6d8d3[_0x1f4ca4([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4ca4([0x6f,0x6e])](_0x1f4ca4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xaba36e,_0x37344e)=>{_0x37344e[0x0][_0x1f4ca4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d2aa3++,_0x4d2aa3==(0x6b248a98^_0x2e9031)&&(_0x5d1781(),_0xaba36e[_0x1f4ca4([0x6f,0x66,0x66])]());});}))];return window[_0x1f4ca4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f4ca4([0x72,0x61,0x63,0x65])](_0x251d6c)[_0x1f4ca4([0x74,0x68,0x65,0x6e])](()=>_0x4c2f0f);}async function _0x3f9a95(){await _0x8a4d,_0xe6d8d3[_0x1f4ca4([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4ca4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8b7e,_0xe6d8d3[_0x1f4ca4([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f4ca4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c8b7e,_0xe6d8d3[_0x1f4ca4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f4ca4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f11b0(_0x29b3e7){const _0x29b119=_0x1a3cc6();_0xe6d8d3[_0x29b119]=_0x1f4ca4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29b3e7,_0x29b3e7!=_0x1f4ca4([0x56,0x61,0x6c,0x69,0x64])&&_0x3f9a95();}function _0x1a3cc6(){const _0x29781d=window[_0x1f4ca4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f4ca4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f4ca4([0x6e,0x6f,0x77])]())[_0x1f4ca4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f4ca4([0x2e]),'');let _0x282daa=_0x1f4ca4([0x72]);for(let _0x3d0329=0x0;_0x3d0329<_0x29781d[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d0329+=0x2){let _0xb1cefc=window[_0x1f4ca4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29781d[_0x1f4ca4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d0329,_0x3d0329+0x2));_0xb1cefc>=_0x21cb30[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb1cefc-=_0x21cb30[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x282daa+=_0x21cb30[_0xb1cefc];}return _0x282daa;}function _0x538915(){const _0x2eebf2=_0x2d61bc[_0x1f4ca4([0x73,0x70,0x6c,0x69,0x74])](_0x1f4ca4([0x2e]));if(0x3!=_0x2eebf2[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec4cd(_0x2eebf2[0x1]);function _0x4ec4cd(_0x3062f2){const _0x36f107=_0x1262e6(_0x3062f2);return _0x36f107&&_0x3c91cc()?_0x36f107:null;function _0x3c91cc(){const _0x259348=_0x36f107[_0x1f4ca4([0x6a,0x74,0x69])],_0x1fb9cb=window[_0x1f4ca4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x259348[_0x1f4ca4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x259348[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c4a9e={..._0x36f107,[_0x1f4ca4([0x6a,0x74,0x69])]:_0x259348[_0x1f4ca4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x259348[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c4a9e[_0x1f4ca4([0x76,0x63])],_0x4f8237(_0x3c4a9e)==_0x1fb9cb;}}}async function _0x2294fd(){let _0x118054=!0x0;try{const _0xb00738=_0x2d61bc[_0x1f4ca4([0x73,0x70,0x6c,0x69,0x74])](_0x1f4ca4([0x2e])),[_0x1d7fd1,_0x3e2d20,_0x4a1540]=_0xb00738;return _0x7b7eee(_0x1d7fd1),await _0x47e65f(_0x1d7fd1,_0x3e2d20,_0x4a1540),_0x118054;}catch(_0x2647c0){return!0x1;}function _0x7b7eee(_0x49fa52){const _0x9c24f3=_0x1262e6(_0x49fa52);_0x9c24f3&&_0x9c24f3[_0x1f4ca4([0x61,0x6c,0x67])]==_0x1f4ca4([0x45,0x53,0x32,0x35,0x36])||(_0x118054=!0x1);}async function _0x47e65f(_0x5b42e2,_0x44c9c0,_0x49b6d2){const _0x4f72ff=window[_0x1f4ca4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f4ca4([0x66,0x72,0x6f,0x6d])](_0x46e688(_0x49b6d2),_0x43ce57=>_0x43ce57[_0x1f4ca4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c23e5=new window[(_0x1f4ca4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f4ca4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b42e2+_0x1f4ca4([0x2e])+_0x44c9c0),_0x360b1e=window[_0x1f4ca4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f4ca4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x360b1e)return;const _0x1c9a6d=await _0x360b1e[_0x1f4ca4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f4ca4([0x6a,0x77,0x6b]),_0x5a831c,{[_0x1f4ca4([0x6e,0x61,0x6d,0x65])]:_0x1f4ca4([0x45,0x43,0x44,0x53,0x41]),[_0x1f4ca4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f4ca4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f4ca4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x360b1e[_0x1f4ca4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f4ca4([0x6e,0x61,0x6d,0x65])]:_0x1f4ca4([0x45,0x43,0x44,0x53,0x41]),[_0x1f4ca4([0x68,0x61,0x73,0x68])]:{[_0x1f4ca4([0x6e,0x61,0x6d,0x65])]:_0x1f4ca4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c9a6d,_0x4f72ff,_0x4c23e5)||(_0x118054=!0x1);}}function _0x1262e6(_0x32a674){return _0x32a674[_0x1f4ca4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f4ca4([0x65,0x79]))?JSON[_0x1f4ca4([0x70,0x61,0x72,0x73,0x65])](_0x46e688(_0x32a674)):null;}function _0x46e688(_0x2a2a64){return window[_0x1f4ca4([0x61,0x74,0x6f,0x62])](_0x2a2a64[_0x1f4ca4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f4ca4([0x2b]))[_0x1f4ca4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f4ca4([0x2f])));}function _0x4f8237(_0x227b5e){let _0xdd140=0x1505;function _0x41f3f2(_0x2bab45){for(let _0x2b7f15=0x0;_0x2b7f15<_0x2bab45[_0x1f4ca4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b7f15++){const _0x21bf8c=_0x2bab45[_0x1f4ca4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b7f15);_0xdd140=(_0xdd140<<0x5)+_0xdd140+_0x21bf8c,_0xdd140&=_0xdd140;}}function _0xafcf96(_0xee81a0){Array[_0x1f4ca4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xee81a0)?_0xee81a0[_0x1f4ca4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xafcf96):_0xee81a0&&typeof _0xee81a0==_0x1f4ca4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f4ca4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xee81a0)[_0x1f4ca4([0x73,0x6f,0x72,0x74])]()[_0x1f4ca4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x95db3a,_0x2dfa48])=>{_0x41f3f2(_0x95db3a),_0xafcf96(_0x2dfa48);}):_0x41f3f2(window[_0x1f4ca4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xee81a0));}return _0xafcf96(_0x227b5e),_0xdd140>>>0x0;}function _0x22b9b1(_0x448c9a){return _0x448c9a[_0x1f4ca4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f4ca4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f4ca4([0x30]));}function _0x37a0f0(_0x1d1385){return _0x1d1385[_0x1f4ca4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f4ca4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f4ca4([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c8b7e(){}function _0x1f4ca4(_0x56929d){const _0x2608e0=_0x52d0;return _0x56929d[_0x2608e0(0x15d)](_0xd98beb=>String[_0x2608e0(0x182)](_0xd98beb))[_0x2608e0(0x162)]('');}_0x2f11b0(await _0x5e9882());}(this);}[_0xc042f5(0x168)](){const _0xa20d4c=_0xc042f5,_0x15d132=this[_0xa20d4c(0x156)][_0xa20d4c(0x18f)][_0xa20d4c(0x15f)];_0x15d132[_0xa20d4c(0x195)](_0xa20d4c(0x14b))&&_0x15d132[_0xa20d4c(0x186)](_0xa20d4c(0x14b),{'allowAttributes':[_0xa20d4c(0x161)]}),_0x15d132[_0xa20d4c(0x195)](_0xa20d4c(0x170))&&_0x15d132[_0xa20d4c(0x186)](_0xa20d4c(0x170),{'allowAttributes':[_0xa20d4c(0x161)]});}[_0xc042f5(0x181)](){const _0x4ada9e=_0xc042f5,_0x49eba9=this[_0x4ada9e(0x156)];_0x49eba9[_0x4ada9e(0x17d)][_0x4ada9e(0x144)](_0x4ada9e(0x16b))[_0x4ada9e(0x18c)]({'model':_0x4ada9e(0x161),'view':_0x4ada9e(0x196)}),_0x49eba9[_0x4ada9e(0x17d)][_0x4ada9e(0x144)](_0x4ada9e(0x158))[_0x4ada9e(0x172)]({'model':{'key':_0x4ada9e(0x161),'value':_0x1ae091=>_0x1ae091[_0x4ada9e(0x193)](_0x4ada9e(0x196))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2961bd=_0x49eba9[_0x4ada9e(0x146)][_0x4ada9e(0x14f)](_0x4ada9e(0x14c));_0x2961bd&&this[_0x4ada9e(0x15a)](_0x2961bd,_0x4ada9e(0x16c),(_0x3b35d3,[_0x429352,_0x55eadb])=>{const _0x2f8df1=_0x4ada9e;_0x429352[_0x2f8df1(0x14a)](_0x2f8df1(0x161),_0x55eadb);});}[_0xc042f5(0x16e)](){const _0x2e657f=_0xc042f5,_0xfccd4b=this[_0x2e657f(0x156)][_0x2e657f(0x16a)][_0x2e657f(0x14f)](_0x2e657f(0x15b))||{},_0x5bfb81=this[_0x2e657f(0x156)][_0x2e657f(0x16a)][_0x2e657f(0x14f)](_0x2e657f(0x14d))||'';this[_0x2e657f(0x175)]=_0x1adf8e(_0x19386e[_0x2e657f(0x167)],_0x2e657f(0x149),{..._0xfccd4b,'pubkey':_0x5bfb81,'ctx-name':_0x2e657f(0x17a),'sourceList':'','imgOnly':_0x2e657f(0x160),'removeCopyright':_0x2e657f(0x160),'localeName':this[_0x2e657f(0x156)][_0x2e657f(0x185)][_0x2e657f(0x17f)],'externalSourcesEmbedCss':_0x2e657f(0x145)}),this[_0x2e657f(0x175)][_0x2e657f(0x183)]=_0x2dfd84=>{const _0x54453b=_0x2e657f;if(_0x54453b(0x178)==_0x2dfd84)return _0x54453b(0x14e);},_0x19386e[_0x2e657f(0x167)][_0x2e657f(0x155)][_0x2e657f(0x18d)](this[_0x2e657f(0x175)]);}[_0xc042f5(0x148)](){const _0x5684eb=_0xc042f5;this[_0x5684eb(0x18a)]=_0x1adf8e(_0x19386e[_0x5684eb(0x167)],_0x5684eb(0x152),{'ctx-name':_0x5684eb(0x17a)}),_0x19386e[_0x5684eb(0x167)][_0x5684eb(0x155)][_0x5684eb(0x18d)](this[_0x5684eb(0x18a)]);}[_0xc042f5(0x176)](){const _0x31ab5d=_0xc042f5,_0x3b6e07=this[_0x31ab5d(0x156)][_0x31ab5d(0x146)][_0x31ab5d(0x14f)](_0x31ab5d(0x154));_0x3b6e07&&this[_0x31ab5d(0x15a)](_0x3b6e07,_0x31ab5d(0x189),()=>{const _0x1113bd=_0x31ab5d,_0x41e0c9=this[_0x1113bd(0x156)][_0x1113bd(0x18f)][_0x1113bd(0x167)][_0x1113bd(0x18b)][_0x1113bd(0x17c)]();_0x41e0c9&&_0x41e0c9[_0x1113bd(0x193)](_0x1113bd(0x161))&&this[_0x1113bd(0x156)][_0x1113bd(0x163)][_0x1113bd(0x151)][_0x1113bd(0x15c)](_0x1113bd(0x18e),()=>{const _0x2e44c1=_0x1113bd;_0x45e451(this[_0x2e44c1(0x156)],_0x41e0c9);});});const _0xcd5a4a=this[_0x31ab5d(0x156)][_0x31ab5d(0x146)][_0x31ab5d(0x14f)](_0x31ab5d(0x17e));_0xcd5a4a&&this[_0x31ab5d(0x15a)](_0xcd5a4a,_0x31ab5d(0x189),()=>{const _0x11e5eb=_0x31ab5d,_0x493a81=this[_0x11e5eb(0x156)][_0x11e5eb(0x18f)][_0x11e5eb(0x167)][_0x11e5eb(0x18b)][_0x11e5eb(0x17c)]();_0x493a81&&_0x493a81[_0x11e5eb(0x193)](_0x11e5eb(0x161))&&this[_0x11e5eb(0x156)][_0x11e5eb(0x163)][_0x11e5eb(0x151)][_0x11e5eb(0x15c)](_0x11e5eb(0x18e),()=>{const _0x5d4abb=_0x11e5eb;_0x45e451(this[_0x5d4abb(0x156)],_0x493a81);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x36a3a5,ObservableMixin as _0x9a76a7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x362bb1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5507d5}from'ckeditor5/src/icons.js';import _0x56b3fc from'./uploadcareimageeditformview.js';import _0x571d5e from'../../utils/uploadutils.js';import{getImageUrls as _0x180e65,getImageDimension as _0x20715c}from'../../utils/editingutils.js';import{isAncestor as _0x48d853}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x9a76a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5da6aa,_0x2c0319,_0x2f8e75){super(),this['_editor']=_0x5da6aa,this['_dialog']=_0x2c0319,this['_imageElement']=_0x2f8e75,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 _0x29354b=this['_imageElement'],_0x397149=_0x29354b['getAttribute']('uploadcareImageId'),_0x1244d9=_0x29354b['getAttribute']('src');if(_0x397149)await this['_loadImageInfo'](_0x397149,_0x1244d9);else{if(this['_imageCache']['has'](_0x1244d9)){const _0x242346=this['_imageCache']['get'](_0x1244d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x242346['url'],this['imageDimension']=_0x242346['dimension'],this['imageId']=_0x242346['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3e999f}=this['_editor'],t=_0x3e999f['t'],_0x445f5e=new _0x56b3fc(_0x3e999f,this['imageStatus'],this['_attributes']);_0x445f5e['bind']('status')['to'](this,'imageStatus'),_0x445f5e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x445f5e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x445f5e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x445f5e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5507d5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x445f5e,'position':_0x362bb1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x445f5e['focus']();},'onHide':()=>{_0x445f5e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x155b1d=>!_0x48d853(_0x155b1d,_0x445f5e['element'])}});}['_loadImageInfo'](_0x35b9c9,_0x2b4efd){return _0x571d5e['getInfo'](_0x35b9c9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x12f6d0=>{const {width:_0x44b457,height:_0xf89f27}=_0x12f6d0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b4efd,this['imageDimension']={'width':_0x44b457,'height':_0xf89f27},this['imageId']=_0x35b9c9;})['catch'](_0x567cd1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x567cd1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4f25e1,_0x4b54ff){return this['_getImageAsFile'](_0x4f25e1)['then'](_0x57fc05=>_0x571d5e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4b54ff['signal'],'file':_0x57fc05,'onProgress':_0x4d397a=>{_0x4d397a&&_0x4d397a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4d397a['value']));}}))['then'](_0x3421e8=>{const {width:_0x5d4969,height:_0x17ddbe}=_0x3421e8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3421e8['cdnUrl'],this['imageDimension']={'width':_0x5d4969,'height':_0x17ddbe},this['imageId']=_0x3421e8['uuid'],this['imageUploadProgress']=null;const _0x4f1ace=_0x4f25e1['getAttribute']('src');this['_imageCache']['set'](_0x4f1ace,{'id':_0x3421e8['uuid'],'url':_0x3421e8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb9c55f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb9c55f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x403f0c,_0x1f5b40){_0x403f0c['on']('apply',(_0x30404c,_0x1092c9)=>{this['_replaceImage'](_0x1f5b40,_0x1092c9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x403f0c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x403f0c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4eb169,_0x2b9edd,_0x261135){const _0x26ae37=this['_editor'],{width:_0x1bf43b,height:_0x3dbfe9}=_0x20715c(_0x2b9edd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3769d6,imageSources:_0x3ddbe4}=_0x180e65(_0x2b9edd,_0x1bf43b);_0x26ae37['model']['change'](_0x1d406=>{if('$graveyard'===_0x4eb169['root']['rootName']){_0x26ae37['execute']('insertImage',{'imageType':_0x4eb169['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4eb169['getAttributes']()),'uploadcareImageId':_0x261135,'src':_0x3769d6,'sources':_0x3ddbe4,'width':_0x1bf43b,'height':_0x3dbfe9}});const _0xed5444=_0x4eb169['getChildren']();_0x4eb169=_0x26ae37['model']['document']['selection']['getSelectedElement']();for(const _0x525bcc of _0xed5444)_0x1d406['append'](_0x1d406['cloneElement'](_0x525bcc),_0x4eb169);}else _0x1d406['setSelection'](_0x4eb169,'on'),_0x26ae37['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4eb169['getAttributes']()),'uploadcareImageId':_0x261135,'src':_0x3769d6,'sources':_0x3ddbe4,'width':_0x1bf43b,'height':_0x3dbfe9},_0x4eb169);_0x1d406['setSelection'](_0x4eb169,'on');});}async['_getImageAsFile'](_0x54eb07){const _0x47f787=_0x36a3a5['window'],_0x2e7fcd=_0x36a3a5['document']['location']['href'],_0x197092=new _0x47f787['URL'](_0x54eb07['getAttribute']('src'),_0x2e7fcd);if('data:'===_0x197092['protocol']){const _0x4b4db7=_0x197092['href']['split'](','),_0x34a61a=_0x4b4db7[0x0]['match'](/:(.*?);/)[0x1],_0xd3f7f3=_0x34a61a['split']('/')[0x1],_0x2bb825=_0x47f787['atob'](_0x4b4db7[_0x4b4db7['length']-0x1]);let _0x57acdc=_0x2bb825['length'];const _0x5b94a4=new _0x47f787['Uint8Array'](_0x57acdc);for(;_0x57acdc--;)_0x5b94a4[_0x57acdc]=_0x2bb825['charCodeAt'](_0x57acdc);return new _0x47f787['File']([_0x5b94a4],'image.'+_0xd3f7f3,{'type':_0x34a61a});}const _0x503a64=_0x197092['href']['split']('/'),_0x36f3b5=_0x503a64[_0x503a64['length']-0x1],_0x4ab0db=_0x36f3b5['split']('.')[0x1];return _0x47f787['fetch'](_0x197092['href'])['then'](_0x3a31ed=>_0x3a31ed['clone']()['blob']())['then'](_0xd996b=>new _0x47f787['File']([_0xd996b],_0x36f3b5,{'type':'image/'+_0x4ab0db}));}}
23
+ import{global as _0x18b5fc,ObservableMixin as _0x1f1446}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2b96cf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4de86c}from'ckeditor5/src/icons.js';import _0x31fcd1 from'./uploadcareimageeditformview.js';import _0x1be8ec from'../../utils/uploadutils.js';import{getImageUrls as _0x39440f,getImageDimension as _0x46f0bd}from'../../utils/editingutils.js';import{isAncestor as _0x723366}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1f1446(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x30b71e,_0x31b0c1,_0x3e7aa6){super(),this['_editor']=_0x30b71e,this['_dialog']=_0x31b0c1,this['_imageElement']=_0x3e7aa6,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 _0x3a7fd0=this['_imageElement'],_0x36642d=_0x3a7fd0['getAttribute']('uploadcareImageId'),_0x3bf8dc=_0x3a7fd0['getAttribute']('src');if(_0x36642d)await this['_loadImageInfo'](_0x36642d,_0x3bf8dc);else{if(this['_imageCache']['has'](_0x3bf8dc)){const _0x10f85e=this['_imageCache']['get'](_0x3bf8dc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10f85e['url'],this['imageDimension']=_0x10f85e['dimension'],this['imageId']=_0x10f85e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4000c3}=this['_editor'],t=_0x4000c3['t'],_0x398720=new _0x31fcd1(_0x4000c3,this['imageStatus'],this['_attributes']);_0x398720['bind']('status')['to'](this,'imageStatus'),_0x398720['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x398720['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x398720['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x398720,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4de86c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x398720,'position':_0x2b96cf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x398720['focus']();},'onHide':()=>{_0x398720['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e2c26=>!_0x723366(_0x2e2c26,_0x398720['element'])}});}['_loadImageInfo'](_0x59b450,_0x26b3a5){return _0x1be8ec['getInfo'](_0x59b450,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x23d38a=>{const {width:_0x1e86a1,height:_0x4d01a1}=_0x23d38a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26b3a5,this['imageDimension']={'width':_0x1e86a1,'height':_0x4d01a1},this['imageId']=_0x59b450;})['catch'](_0x135a8e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x135a8e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x14111a,_0xb025d7){return this['_getImageAsFile'](_0x14111a)['then'](_0x312dff=>_0x1be8ec['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xb025d7['signal'],'file':_0x312dff,'onProgress':_0x37c0ef=>{_0x37c0ef&&_0x37c0ef['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37c0ef['value']));}}))['then'](_0x10a13a=>{const {width:_0x1af3bc,height:_0xe3124a}=_0x10a13a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10a13a['cdnUrl'],this['imageDimension']={'width':_0x1af3bc,'height':_0xe3124a},this['imageId']=_0x10a13a['uuid'],this['imageUploadProgress']=null;const _0x513fef=_0x14111a['getAttribute']('src');this['_imageCache']['set'](_0x513fef,{'id':_0x10a13a['uuid'],'url':_0x10a13a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x39833c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39833c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4640ac,_0x507c56){_0x4640ac['on']('apply',(_0x5524a9,_0x165c3c)=>{this['_replaceImage'](_0x507c56,_0x165c3c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4640ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4640ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26335f,_0x959ef1,_0x9f01d4){const _0xcda9c4=this['_editor'],{width:_0x49fcdc,height:_0x1529c1}=_0x46f0bd(_0x959ef1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5358cb,imageSources:_0x5657c3}=_0x39440f(_0x959ef1,_0x49fcdc);_0xcda9c4['model']['change'](_0xbb31be=>{if('$graveyard'===_0x26335f['root']['rootName']){_0xcda9c4['execute']('insertImage',{'imageType':_0x26335f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1}});const _0x261b13=_0x26335f['getChildren']();_0x26335f=_0xcda9c4['model']['document']['selection']['getSelectedElement']();for(const _0x3e991a of _0x261b13)_0xbb31be['append'](_0xbb31be['cloneElement'](_0x3e991a),_0x26335f);}else _0xbb31be['setSelection'](_0x26335f,'on'),_0xcda9c4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1},_0x26335f);_0xbb31be['setSelection'](_0x26335f,'on');});}async['_getImageAsFile'](_0x7b55bd){const _0x38a962=_0x18b5fc['window'],_0x535db3=_0x18b5fc['document']['location']['href'],_0x59e58f=new _0x38a962['URL'](_0x7b55bd['getAttribute']('src'),_0x535db3);if('data:'===_0x59e58f['protocol']){const _0x5740eb=_0x59e58f['href']['split'](','),_0x5c88a0=_0x5740eb[0x0]['match'](/:(.*?);/)[0x1],_0xd7c694=_0x5c88a0['split']('/')[0x1],_0x506dfb=_0x38a962['atob'](_0x5740eb[_0x5740eb['length']-0x1]);let _0x61a3b0=_0x506dfb['length'];const _0x3808f4=new _0x38a962['Uint8Array'](_0x61a3b0);for(;_0x61a3b0--;)_0x3808f4[_0x61a3b0]=_0x506dfb['charCodeAt'](_0x61a3b0);return new _0x38a962['File']([_0x3808f4],'image.'+_0xd7c694,{'type':_0x5c88a0});}const _0x2a6030=_0x59e58f['href']['split']('/'),_0x5ea92e=_0x2a6030[_0x2a6030['length']-0x1],_0x4421f3=_0x5ea92e['split']('.')[0x1];return _0x38a962['fetch'](_0x59e58f['href'])['then'](_0x87d888=>_0x87d888['clone']()['blob']())['then'](_0xe9c20d=>new _0x38a962['File']([_0xe9c20d],_0x5ea92e,{'type':'image/'+_0x4421f3}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1e52fb,_0x19778d){const _0x2267ed=_0x30e7,_0x9b69d5=_0x1e52fb();while(!![]){try{const _0x5db5dc=parseInt(_0x2267ed(0x171))/0x1+parseInt(_0x2267ed(0x164))/0x2+parseInt(_0x2267ed(0x16e))/0x3*(parseInt(_0x2267ed(0x162))/0x4)+parseInt(_0x2267ed(0x173))/0x5*(-parseInt(_0x2267ed(0x167))/0x6)+parseInt(_0x2267ed(0x168))/0x7*(-parseInt(_0x2267ed(0x16c))/0x8)+-parseInt(_0x2267ed(0x166))/0x9+-parseInt(_0x2267ed(0x163))/0xa;if(_0x5db5dc===_0x19778d)break;else _0x9b69d5['push'](_0x9b69d5['shift']());}catch(_0x564b2e){_0x9b69d5['push'](_0x9b69d5['shift']());}}}(_0x4ecf,0x198ad));function _0x30e7(_0x3ec970,_0x269d14){const _0x4ecf8b=_0x4ecf();return _0x30e7=function(_0x30e7e5,_0x1c785d){_0x30e7e5=_0x30e7e5-0x162;let _0xcf151e=_0x4ecf8b[_0x30e7e5];return _0xcf151e;},_0x30e7(_0x3ec970,_0x269d14);}import{View as _0x245bea}from'ckeditor5/src/ui.js';export default class tt extends _0x245bea{constructor(_0x4b13b5,_0xc6d99c){const _0x1c56ba=_0x30e7;super(_0x4b13b5);const _0x9a92a7=this[_0x1c56ba(0x165)];this[_0x1c56ba(0x16f)](_0x1c56ba(0x16d),''),this[_0x1c56ba(0x170)]({'tag':_0x1c56ba(0x16b),'attributes':{..._0xc6d99c,'class':[_0x1c56ba(0x16a),_0x1c56ba(0x172)],'ctx-name':_0x1c56ba(0x169),'cdn-url':_0x9a92a7['to'](_0x1c56ba(0x16d))}});}}function _0x4ecf(){const _0x435dba=['15988vFJKoc','image-edit','uc-light','uc-cloud-image-editor','232geVoWK','imageSrc','39AtSSeN','set','setTemplate','74027BAtVhi','ck-uploadcare-theme','335dOVcKL','43012SuXZIg','823090NGiPsa','408944Cwjdus','bindTemplate','649737BxfzVF','8322sBpypD'];_0x4ecf=function(){return _0x435dba;};return _0x4ecf();}
23
+ function _0x3543(_0x3bf77a,_0x2c61bd){const _0x2c005f=_0x2c00();return _0x3543=function(_0x35435d,_0x3bbdbb){_0x35435d=_0x35435d-0x1db;let _0x5dd8c1=_0x2c005f[_0x35435d];return _0x5dd8c1;},_0x3543(_0x3bf77a,_0x2c61bd);}(function(_0x3e4527,_0x3e10f6){const _0x33602d=_0x3543,_0x584229=_0x3e4527();while(!![]){try{const _0x300cd7=-parseInt(_0x33602d(0x1ec))/0x1+-parseInt(_0x33602d(0x1e8))/0x2+-parseInt(_0x33602d(0x1e6))/0x3*(-parseInt(_0x33602d(0x1dd))/0x4)+-parseInt(_0x33602d(0x1db))/0x5+parseInt(_0x33602d(0x1e3))/0x6*(-parseInt(_0x33602d(0x1ea))/0x7)+-parseInt(_0x33602d(0x1e4))/0x8*(parseInt(_0x33602d(0x1e1))/0x9)+parseInt(_0x33602d(0x1e7))/0xa;if(_0x300cd7===_0x3e10f6)break;else _0x584229['push'](_0x584229['shift']());}catch(_0x2f4158){_0x584229['push'](_0x584229['shift']());}}}(_0x2c00,0xaafd1));function _0x2c00(){const _0x24a73d=['3lBQqxl','24962170Usfdod','2219732FrOdLN','setTemplate','3127075bjzzuu','ck-uploadcare-theme','818611fKlyYA','73910UoQUBl','imageSrc','4862296hCIYhb','image-edit','uc-cloud-image-editor','uc-light','20421vWEFsA','set','12AXtTcq','616BsNgnC','bindTemplate'];_0x2c00=function(){return _0x24a73d;};return _0x2c00();}import{View as _0x5cb30e}from'ckeditor5/src/ui.js';export default class tt extends _0x5cb30e{constructor(_0x2be351,_0x44bd4e){const _0x457c17=_0x3543;super(_0x2be351);const _0x3b1d95=this[_0x457c17(0x1e5)];this[_0x457c17(0x1e2)](_0x457c17(0x1dc),''),this[_0x457c17(0x1e9)]({'tag':_0x457c17(0x1df),'attributes':{..._0x44bd4e,'class':[_0x457c17(0x1e0),_0x457c17(0x1eb)],'ctx-name':_0x457c17(0x1de),'cdn-url':_0x3b1d95['to'](_0x457c17(0x1dc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x401554,IconView as at,View as _0x17ec11}from'ckeditor5/src/ui.js';export default class rt extends _0x17ec11{constructor(_0x1526fa){super(_0x1526fa);const t=_0x1526fa['t'];this['set']('errorType',null);const _0x46b8f3=new _0x401554(_0x1526fa);_0x46b8f3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x46b8f3['withText']=!0x0,_0x46b8f3['class']='ck-button-action',_0x46b8f3['on']('execute',()=>{this['fire']('retry');}),_0x46b8f3['bind']('isVisible')['to'](this,'errorType',_0x1166c2=>'NotFound'!==_0x1166c2);const _0x1f03db=new at();_0x1f03db['content']=et,_0x1f03db['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x298a36=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':[_0x1f03db,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x298a36['to']('errorType',_0x59bf4f=>t('NotFound'!==_0x59bf4f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x46b8f3]},{'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 _0x6bf337,IconView as at,View as _0x23ce77}from'ckeditor5/src/ui.js';export default class rt extends _0x23ce77{constructor(_0x12e37c){super(_0x12e37c);const t=_0x12e37c['t'];this['set']('errorType',null);const _0x148fca=new _0x6bf337(_0x12e37c);_0x148fca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x148fca['withText']=!0x0,_0x148fca['class']='ck-button-action',_0x148fca['on']('execute',()=>{this['fire']('retry');}),_0x148fca['bind']('isVisible')['to'](this,'errorType',_0x5b3a1b=>'NotFound'!==_0x5b3a1b);const _0x14e196=new at();_0x14e196['content']=et,_0x14e196['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11c250=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':[_0x14e196,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11c250['to']('errorType',_0x57019b=>t('NotFound'!==_0x57019b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x148fca]},{'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 _0x521284,View as _0x28bc1a}from'ckeditor5/src/ui.js';export default class ta extends _0x28bc1a{constructor(_0x3e3170){super(_0x3e3170);const t=_0x3e3170['t'],_0x2e899f=this['bindTemplate'],_0x3be22e=new _0x521284();_0x3be22e['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':[_0x3be22e,{'text':_0x2e899f['to']('imageUploadProgress',_0x31554b=>t('Loading\x20image...')+'\x20('+(_0x31554b||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 _0x2f183b,View as _0x2a80b3}from'ckeditor5/src/ui.js';export default class ta extends _0x2a80b3{constructor(_0x367eec){super(_0x367eec);const t=_0x367eec['t'],_0x68658c=this['bindTemplate'],_0x146104=new _0x2f183b();_0x146104['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':[_0x146104,{'text':_0x68658c['to']('imageUploadProgress',_0x14df33=>t('Loading\x20image...')+'\x20('+(_0x14df33||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
- function _0x2256(){const _0xf6ea0e=['nodeName','3116823RAQFHk','_addUploadcareImageEditorListeners','ck-uploadcare-form','addMany','cdnUrl','set','4TnsKhT','length','getFocusableElement','disconnect','clear','createCollection','querySelector','1289KaHMCL','_setView','error','element','_focusableView','observe','addEventListener','render','status','div','focus','7433755KZKtBf','change:status','ck-reset_all-excluded','filter','2595802vFwFqx','addedNodes','toLowerCase','_editingView','cancel','once','uploading','_loadingView','target','apply','_waitForImageEditorComponent','50xvBgtn','retry','3553630mkabLY','add','_items','_errorView','99mDBgNM','5381400qRHPTE','_addErrorViewListeners','ready','388344ioAOKm','detail','setTemplate','uc-cloud-image-editor','fire','1598nSsvKW'];_0x2256=function(){return _0xf6ea0e;};return _0x2256();}function _0x2bef(_0x182737,_0x4df97e){const _0x22564c=_0x2256();return _0x2bef=function(_0x2befea,_0x33326d){_0x2befea=_0x2befea-0x1b8;let _0xd835d4=_0x22564c[_0x2befea];return _0xd835d4;},_0x2bef(_0x182737,_0x4df97e);}const _0x312fc0=_0x2bef;(function(_0x209ce1,_0x23637b){const _0x191082=_0x2bef,_0x7be19f=_0x209ce1();while(!![]){try{const _0x292a35=parseInt(_0x191082(0x1eb))/0x1*(parseInt(_0x191082(0x1dc))/0x2)+-parseInt(_0x191082(0x1de))/0x3*(-parseInt(_0x191082(0x1e4))/0x4)+-parseInt(_0x191082(0x1cf))/0x5+parseInt(_0x191082(0x1d4))/0x6+-parseInt(_0x191082(0x1be))/0x7+-parseInt(_0x191082(0x1d7))/0x8*(-parseInt(_0x191082(0x1d3))/0x9)+-parseInt(_0x191082(0x1cd))/0xa*(parseInt(_0x191082(0x1c2))/0xb);if(_0x292a35===_0x23637b)break;else _0x7be19f['push'](_0x7be19f['shift']());}catch(_0x5b4ab9){_0x7be19f['push'](_0x7be19f['shift']());}}}(_0x2256,0x85934));import{View as _0x592ced}from'ckeditor5/src/ui.js';import _0x4b5387 from'./uploadcareimageeditformloadingview.js';import _0x1c37f5 from'./uploadcareimageeditformerrorview.js';import _0x4b3bdc from'./uploadcareimageeditformeditingview.js';import _0x444833 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x444833{[_0x312fc0(0x1d1)];[_0x312fc0(0x1c9)];[_0x312fc0(0x1d2)];[_0x312fc0(0x1c5)];[_0x312fc0(0x1ef)];constructor(_0x4f8281,_0x2e7d7a,_0x40e42e){const _0x2d4906=_0x312fc0;super(_0x4f8281),this[_0x2d4906(0x1d1)]=this[_0x2d4906(0x1e9)](),this[_0x2d4906(0x1c9)]=new _0x4b5387(_0x4f8281),this[_0x2d4906(0x1d2)]=new _0x1c37f5(_0x4f8281),this[_0x2d4906(0x1c5)]=new _0x4b3bdc(_0x4f8281,_0x40e42e),this[_0x2d4906(0x1ef)]=new _0x592ced(_0x4f8281),this[_0x2d4906(0x1ef)][_0x2d4906(0x1d9)](this[_0x2d4906(0x1e6)]()),this[_0x2d4906(0x1e3)](_0x2d4906(0x1bb),_0x2e7d7a),this[_0x2d4906(0x1d9)]({'tag':_0x2d4906(0x1bc),'attributes':{'class':['ck',_0x2d4906(0x1c0),_0x2d4906(0x1e0)],'tabindex':'-1'},'children':this[_0x2d4906(0x1d1)]}),this[_0x2d4906(0x1ec)](),this[_0x2d4906(0x1c7)](_0x2d4906(0x1ba),()=>{const _0x74fe83=_0x2d4906;this[_0x74fe83(0x1cc)](this[_0x74fe83(0x1ee)],_0x5e4882=>{const _0x28b6ba=_0x74fe83;this[_0x28b6ba(0x1df)](_0x5e4882);});}),this['on'](_0x2d4906(0x1bf),()=>{const _0x4691ff=_0x2d4906;this[_0x4691ff(0x1ec)]();}),this[_0x2d4906(0x1d5)]();}[_0x312fc0(0x1bd)](){const _0x5907b9=_0x312fc0;this[_0x5907b9(0x1ee)][_0x5907b9(0x1bd)]();}[_0x312fc0(0x1ec)](){const _0x25bf78=_0x312fc0;switch(this[_0x25bf78(0x1d1)][_0x25bf78(0x1e8)](),this[_0x25bf78(0x1bb)]){case _0x25bf78(0x1c8):this[_0x25bf78(0x1d1)][_0x25bf78(0x1d0)](this[_0x25bf78(0x1c9)]);break;case _0x25bf78(0x1ed):this[_0x25bf78(0x1d1)][_0x25bf78(0x1d0)](this[_0x25bf78(0x1d2)]);break;case _0x25bf78(0x1d6):this[_0x25bf78(0x1d1)][_0x25bf78(0x1e1)]([this[_0x25bf78(0x1c5)],this[_0x25bf78(0x1ef)]]);}}[_0x312fc0(0x1cc)](_0x12430b,_0x1b71b7){const _0x47826f=_0x312fc0,_0x375307=_0x47826f(0x1da),_0x239fec=_0x12430b[_0x47826f(0x1ea)](_0x375307);if(_0x239fec)return _0x1b71b7(_0x239fec);const _0x16cfd9=new MutationObserver(_0x6bd652=>{const _0x26dc7c=_0x47826f,_0x28cb71=_0x6bd652[_0x26dc7c(0x1c1)](_0x1164f1=>_0x1164f1[_0x26dc7c(0x1ca)]===_0x12430b&&_0x1164f1[_0x26dc7c(0x1c3)][_0x26dc7c(0x1e5)]>0x0&&_0x1164f1[_0x26dc7c(0x1c3)][0x0][_0x26dc7c(0x1dd)][_0x26dc7c(0x1c4)]()===_0x375307);_0x28cb71[_0x26dc7c(0x1e5)]&&(_0x16cfd9[_0x26dc7c(0x1e7)](),_0x1b71b7(_0x28cb71[0x0][_0x26dc7c(0x1c3)][0x0]));});_0x16cfd9[_0x47826f(0x1b8)](_0x12430b,{'childList':!0x0,'subtree':!0x0});}[_0x312fc0(0x1df)](_0x4b3da1){const _0x3e94c2=_0x312fc0;_0x4b3da1[_0x3e94c2(0x1b9)](_0x3e94c2(0x1cb),_0x54e13c=>{const _0x2f4f46=_0x3e94c2;this[_0x2f4f46(0x1db)](_0x2f4f46(0x1cb),{'imageSrc':_0x54e13c[_0x2f4f46(0x1d8)][_0x2f4f46(0x1e2)]});}),_0x4b3da1[_0x3e94c2(0x1b9)](_0x3e94c2(0x1c6),()=>{const _0xd08a70=_0x3e94c2;this[_0xd08a70(0x1db)](_0xd08a70(0x1c6));});}[_0x312fc0(0x1d5)](){const _0x539a1f=_0x312fc0;this[_0x539a1f(0x1d2)]['on'](_0x539a1f(0x1ce),()=>{const _0x333e25=_0x539a1f;this[_0x333e25(0x1db)](_0x333e25(0x1ce));});}}
23
+ const _0x16512f=_0x538a;(function(_0xe04990,_0x10f7f2){const _0x22dd80=_0x538a,_0x17e856=_0xe04990();while(!![]){try{const _0x36fc59=parseInt(_0x22dd80(0x121))/0x1+parseInt(_0x22dd80(0x11d))/0x2+-parseInt(_0x22dd80(0x12d))/0x3*(parseInt(_0x22dd80(0x151))/0x4)+-parseInt(_0x22dd80(0x123))/0x5*(-parseInt(_0x22dd80(0x135))/0x6)+parseInt(_0x22dd80(0x12c))/0x7*(parseInt(_0x22dd80(0x126))/0x8)+-parseInt(_0x22dd80(0x14c))/0x9*(parseInt(_0x22dd80(0x13a))/0xa)+-parseInt(_0x22dd80(0x14a))/0xb;if(_0x36fc59===_0x10f7f2)break;else _0x17e856['push'](_0x17e856['shift']());}catch(_0x8e1867){_0x17e856['push'](_0x17e856['shift']());}}}(_0x4f99,0x5ec16));function _0x538a(_0x39d590,_0x27dbce){const _0x4f9911=_0x4f99();return _0x538a=function(_0x538a7a,_0x56fd85){_0x538a7a=_0x538a7a-0x11d;let _0x45d969=_0x4f9911[_0x538a7a];return _0x45d969;},_0x538a(_0x39d590,_0x27dbce);}import{View as _0x292f37}from'ckeditor5/src/ui.js';import _0x3e9512 from'./uploadcareimageeditformloadingview.js';import _0x3e4964 from'./uploadcareimageeditformerrorview.js';import _0x563b00 from'./uploadcareimageeditformeditingview.js';import _0xf368a4 from'../../utils/dialogfocusmanagerview.js';function _0x4f99(){const _0x2f59a5=['ready','status','cdnUrl','target','toLowerCase','ck-uploadcare-form','div','4535976GyBmRe','setTemplate','set','querySelector','_focusableView','10cFWpRl','observe','_loadingView','_setView','once','_errorView','getFocusableElement','retry','disconnect','render','clear','_editingView','add','element','_items','ck-reset_all-excluded','17806338wfFvun','createCollection','629307fInSfO','_waitForImageEditorComponent','cancel','detail','addedNodes','4atqBEj','uploading','_addUploadcareImageEditorListeners','focus','837458jCwcCc','_addErrorViewListeners','apply','error','639668frQCNE','fire','5CvReOs','nodeName','uc-cloud-image-editor','8xDwWZn','filter','length','change:status','addMany','addEventListener','3057565jiATOE','523167VWABfq'];_0x4f99=function(){return _0x2f59a5;};return _0x4f99();}import'../../../theme/uploadcare-form.css';export default class Z extends _0xf368a4{[_0x16512f(0x148)];[_0x16512f(0x13c)];[_0x16512f(0x13f)];[_0x16512f(0x145)];[_0x16512f(0x139)];constructor(_0x3983e7,_0x2ab82f,_0x21be4f){const _0x388554=_0x16512f;super(_0x3983e7),this[_0x388554(0x148)]=this[_0x388554(0x14b)](),this[_0x388554(0x13c)]=new _0x3e9512(_0x3983e7),this[_0x388554(0x13f)]=new _0x3e4964(_0x3983e7),this[_0x388554(0x145)]=new _0x563b00(_0x3983e7,_0x21be4f),this[_0x388554(0x139)]=new _0x292f37(_0x3983e7),this[_0x388554(0x139)][_0x388554(0x136)](this[_0x388554(0x140)]()),this[_0x388554(0x137)](_0x388554(0x12f),_0x2ab82f),this[_0x388554(0x136)]({'tag':_0x388554(0x134),'attributes':{'class':['ck',_0x388554(0x149),_0x388554(0x133)],'tabindex':'-1'},'children':this[_0x388554(0x148)]}),this[_0x388554(0x13d)](),this[_0x388554(0x13e)](_0x388554(0x143),()=>{const _0x3b2b75=_0x388554;this[_0x3b2b75(0x14d)](this[_0x3b2b75(0x147)],_0x112af8=>{const _0x451899=_0x3b2b75;this[_0x451899(0x153)](_0x112af8);});}),this['on'](_0x388554(0x129),()=>{const _0x47e022=_0x388554;this[_0x47e022(0x13d)]();}),this[_0x388554(0x11e)]();}[_0x16512f(0x154)](){const _0x1f35c8=_0x16512f;this[_0x1f35c8(0x147)][_0x1f35c8(0x154)]();}[_0x16512f(0x13d)](){const _0x3d98ee=_0x16512f;switch(this[_0x3d98ee(0x148)][_0x3d98ee(0x144)](),this[_0x3d98ee(0x12f)]){case _0x3d98ee(0x152):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13c)]);break;case _0x3d98ee(0x120):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13f)]);break;case _0x3d98ee(0x12e):this[_0x3d98ee(0x148)][_0x3d98ee(0x12a)]([this[_0x3d98ee(0x145)],this[_0x3d98ee(0x139)]]);}}[_0x16512f(0x14d)](_0xf700c3,_0x4810e6){const _0xdc561f=_0x16512f,_0x1c9783=_0xdc561f(0x125),_0x461b65=_0xf700c3[_0xdc561f(0x138)](_0x1c9783);if(_0x461b65)return _0x4810e6(_0x461b65);const _0x25d322=new MutationObserver(_0x4e03a0=>{const _0x3fc760=_0xdc561f,_0x4b7318=_0x4e03a0[_0x3fc760(0x127)](_0x189652=>_0x189652[_0x3fc760(0x131)]===_0xf700c3&&_0x189652[_0x3fc760(0x150)][_0x3fc760(0x128)]>0x0&&_0x189652[_0x3fc760(0x150)][0x0][_0x3fc760(0x124)][_0x3fc760(0x132)]()===_0x1c9783);_0x4b7318[_0x3fc760(0x128)]&&(_0x25d322[_0x3fc760(0x142)](),_0x4810e6(_0x4b7318[0x0][_0x3fc760(0x150)][0x0]));});_0x25d322[_0xdc561f(0x13b)](_0xf700c3,{'childList':!0x0,'subtree':!0x0});}[_0x16512f(0x153)](_0xd8a37a){const _0x507649=_0x16512f;_0xd8a37a[_0x507649(0x12b)](_0x507649(0x11f),_0xede5ac=>{const _0x45709d=_0x507649;this[_0x45709d(0x122)](_0x45709d(0x11f),{'imageSrc':_0xede5ac[_0x45709d(0x14f)][_0x45709d(0x130)]});}),_0xd8a37a[_0x507649(0x12b)](_0x507649(0x14e),()=>{const _0x3557b6=_0x507649;this[_0x3557b6(0x122)](_0x3557b6(0x14e));});}[_0x16512f(0x11e)](){const _0x3d0aa4=_0x16512f;this[_0x3d0aa4(0x13f)]['on'](_0x3d0aa4(0x141),()=>{const _0x4f0b89=_0x3d0aa4;this[_0x4f0b89(0x122)](_0x4f0b89(0x141));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f76fa=_0x234b;(function(_0x528051,_0x1e1992){const _0x200150=_0x234b,_0x3894b6=_0x528051();while(!![]){try{const _0x159137=parseInt(_0x200150(0x126))/0x1+parseInt(_0x200150(0x131))/0x2+parseInt(_0x200150(0x12a))/0x3+-parseInt(_0x200150(0x134))/0x4+-parseInt(_0x200150(0x144))/0x5*(parseInt(_0x200150(0x13d))/0x6)+-parseInt(_0x200150(0x136))/0x7*(-parseInt(_0x200150(0x12e))/0x8)+-parseInt(_0x200150(0x13e))/0x9;if(_0x159137===_0x1e1992)break;else _0x3894b6['push'](_0x3894b6['shift']());}catch(_0x4120b2){_0x3894b6['push'](_0x3894b6['shift']());}}}(_0x57a7,0x9cd52));import{Command as _0x25add2}from'ckeditor5/src/core.js';function _0x234b(_0x2e5853,_0x592ee0){const _0x57a7e6=_0x57a7();return _0x234b=function(_0x234b09,_0x147c26){_0x234b09=_0x234b09-0x126;let _0x316c6a=_0x57a7e6[_0x234b09];return _0x316c6a;},_0x234b(_0x2e5853,_0x592ee0);}import{Dialog as _0x596ba0}from'ckeditor5/src/ui.js';import _0x1ee561 from'./ui/uploadcareimageeditcontroller.js';function _0x57a7(){const _0xcca7a6=['48lKgtFD','5761674BcAxxV','document','plugins','editor','imageInline','getSelectedElement','624820XFvxin','744651BPekCP','isActive','refresh','_isEditable','1336209hqTsSi','element','imageBlock','isEnabled','92696LFRwsu','config','execute','2299992stgfHS','requires','set','4680472oAbtKq','selection','672nnCetv','bind','unbind','imageEditController','model','get','uploadcare.allowExternalImagesEditing'];_0x57a7=function(){return _0xcca7a6;};return _0x57a7();}import{createEditabilityChecker as _0x11e65b}from'../utils/editingutils.js';export default class J extends _0x25add2{[_0x2f76fa(0x139)];static get[_0x2f76fa(0x132)](){return[_0x596ba0];}[_0x2f76fa(0x129)];constructor(_0x2d8cb9){const _0x21a57b=_0x2f76fa;super(_0x2d8cb9),this[_0x21a57b(0x139)]=void 0x0,this[_0x21a57b(0x129)]=_0x11e65b(_0x2d8cb9[_0x21a57b(0x12f)][_0x21a57b(0x13b)](_0x21a57b(0x13c))||[]),this[_0x21a57b(0x133)]({'isActive':!0x1});}[_0x2f76fa(0x128)](){const _0x35addc=_0x2f76fa,_0x268f7e=this[_0x35addc(0x141)][_0x35addc(0x13a)][_0x35addc(0x13f)][_0x35addc(0x135)][_0x35addc(0x143)]();this[_0x35addc(0x12d)]=this[_0x35addc(0x129)](_0x268f7e);}[_0x2f76fa(0x130)](){const _0x2ca945=_0x2f76fa;this[_0x2ca945(0x139)]&&(this[_0x2ca945(0x138)](_0x2ca945(0x127)),this[_0x2ca945(0x139)]=void 0x0);const _0x4d7057=this[_0x2ca945(0x141)][_0x2ca945(0x13a)][_0x2ca945(0x13f)][_0x2ca945(0x135)][_0x2ca945(0x143)]();_0x4d7057&&(_0x4d7057['is'](_0x2ca945(0x12b),_0x2ca945(0x12c))||_0x4d7057['is'](_0x2ca945(0x12b),_0x2ca945(0x142)))&&(this[_0x2ca945(0x139)]=new _0x1ee561(this[_0x2ca945(0x141)],this[_0x2ca945(0x141)][_0x2ca945(0x140)][_0x2ca945(0x13b)](_0x596ba0),_0x4d7057),this[_0x2ca945(0x137)](_0x2ca945(0x127))['to'](this[_0x2ca945(0x139)],_0x2ca945(0x127)));}}
23
+ const _0x365e53=_0xad4f;(function(_0x286146,_0x1aa76b){const _0xb70200=_0xad4f,_0x1ee23b=_0x286146();while(!![]){try{const _0x507951=parseInt(_0xb70200(0xc3))/0x1*(-parseInt(_0xb70200(0xde))/0x2)+parseInt(_0xb70200(0xdb))/0x3+-parseInt(_0xb70200(0xdd))/0x4+parseInt(_0xb70200(0xdf))/0x5*(-parseInt(_0xb70200(0xc4))/0x6)+parseInt(_0xb70200(0xd4))/0x7+-parseInt(_0xb70200(0xd8))/0x8*(parseInt(_0xb70200(0xd0))/0x9)+parseInt(_0xb70200(0xdc))/0xa;if(_0x507951===_0x1aa76b)break;else _0x1ee23b['push'](_0x1ee23b['shift']());}catch(_0x3f9766){_0x1ee23b['push'](_0x1ee23b['shift']());}}}(_0x24b7,0x9f326));function _0xad4f(_0x54cd07,_0xbd15cb){const _0x24b7a0=_0x24b7();return _0xad4f=function(_0xad4f2,_0x53a018){_0xad4f2=_0xad4f2-0xc0;let _0x15b04d=_0x24b7a0[_0xad4f2];return _0x15b04d;},_0xad4f(_0x54cd07,_0xbd15cb);}import{Command as _0x2efdb5}from'ckeditor5/src/core.js';import{Dialog as _0x493500}from'ckeditor5/src/ui.js';import _0x1b07d6 from'./ui/uploadcareimageeditcontroller.js';function _0x24b7(){const _0x30fa97=['58436UKSyWP','getSelectedElement','element','document','8vYJnyq','execute','_isEditable','3323211VxFfbP','13415240YfQjVa','2587816ZppEYX','94ofcejg','243305nCvSTP','imageInline','imageEditController','model','16562XwwdNx','24ZBEdqn','selection','config','get','unbind','refresh','uploadcare.allowExternalImagesEditing','imageBlock','bind','requires','isActive','plugins','1669743wjRUoY','set','editor','isEnabled'];_0x24b7=function(){return _0x30fa97;};return _0x24b7();}import{createEditabilityChecker as _0x1532a8}from'../utils/editingutils.js';export default class J extends _0x2efdb5{[_0x365e53(0xc1)];static get[_0x365e53(0xcd)](){return[_0x493500];}[_0x365e53(0xda)];constructor(_0x111d2f){const _0x332361=_0x365e53;super(_0x111d2f),this[_0x332361(0xc1)]=void 0x0,this[_0x332361(0xda)]=_0x1532a8(_0x111d2f[_0x332361(0xc6)][_0x332361(0xc7)](_0x332361(0xca))||[]),this[_0x332361(0xd1)]({'isActive':!0x1});}[_0x365e53(0xc9)](){const _0x5582c4=_0x365e53,_0x464f9e=this[_0x5582c4(0xd2)][_0x5582c4(0xc2)][_0x5582c4(0xd7)][_0x5582c4(0xc5)][_0x5582c4(0xd5)]();this[_0x5582c4(0xd3)]=this[_0x5582c4(0xda)](_0x464f9e);}[_0x365e53(0xd9)](){const _0x5e5248=_0x365e53;this[_0x5e5248(0xc1)]&&(this[_0x5e5248(0xc8)](_0x5e5248(0xce)),this[_0x5e5248(0xc1)]=void 0x0);const _0x78b399=this[_0x5e5248(0xd2)][_0x5e5248(0xc2)][_0x5e5248(0xd7)][_0x5e5248(0xc5)][_0x5e5248(0xd5)]();_0x78b399&&(_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xcb))||_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xc0)))&&(this[_0x5e5248(0xc1)]=new _0x1b07d6(this[_0x5e5248(0xd2)],this[_0x5e5248(0xd2)][_0x5e5248(0xcf)][_0x5e5248(0xc7)](_0x493500),_0x78b399),this[_0x5e5248(0xcc)](_0x5e5248(0xce))['to'](this[_0x5e5248(0xc1)],_0x5e5248(0xce)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5655cd=_0x5ad1;(function(_0x952656,_0x1ceb36){const _0x3c92b0=_0x5ad1,_0x12aa61=_0x952656();while(!![]){try{const _0x426494=-parseInt(_0x3c92b0(0xea))/0x1+parseInt(_0x3c92b0(0xf0))/0x2+parseInt(_0x3c92b0(0xf5))/0x3*(-parseInt(_0x3c92b0(0xf2))/0x4)+parseInt(_0x3c92b0(0xf4))/0x5*(parseInt(_0x3c92b0(0xe8))/0x6)+parseInt(_0x3c92b0(0xe9))/0x7+parseInt(_0x3c92b0(0xe5))/0x8*(parseInt(_0x3c92b0(0xe3))/0x9)+parseInt(_0x3c92b0(0xec))/0xa*(-parseInt(_0x3c92b0(0xe7))/0xb);if(_0x426494===_0x1ceb36)break;else _0x12aa61['push'](_0x12aa61['shift']());}catch(_0x292092){_0x12aa61['push'](_0x12aa61['shift']());}}}(_0x49d2,0x8f442));import{Plugin as _0x3c7d6a}from'ckeditor5/src/core.js';import{Notification as _0x5265c6}from'ckeditor5/src/ui.js';import _0x5db96c from'./uploadcareimageeditcommand.js';function _0x49d2(){const _0x2e67b7=['27eNdKCk','requires','1594504UETbVk','commands','3377LKOgCt','4139346WxZOdg','2985437NDLcPw','544505aDTmMl','isPremiumPlugin','30890lBxxOh','ImageEditing','UploadcareImageEditEditing','uploadcareImageReplace','1630324gDTSKb','add','3196tOYwgz','uploadcareImageEdit','5wAmLFo','1689gdPVDm','pluginName','ImageUtils','isOfficialPlugin','init'];_0x49d2=function(){return _0x2e67b7;};return _0x49d2();}function _0x5ad1(_0xe34ef,_0x5400c5){const _0x49d220=_0x49d2();return _0x5ad1=function(_0x5ad10a,_0x18f29c){_0x5ad10a=_0x5ad10a-0xe1;let _0x949dbd=_0x49d220[_0x5ad10a];return _0x949dbd;},_0x5ad1(_0xe34ef,_0x5400c5);}import _0x5b9d18 from'./uploadcareimagereplacecommand.js';import _0x196398 from'../uploadcareediting.js';export default class g extends _0x3c7d6a{static get[_0x5655cd(0xf6)](){const _0xcb033d=_0x5655cd;return _0xcb033d(0xee);}static get[_0x5655cd(0xe4)](){const _0x552af7=_0x5655cd;return[_0x196398,_0x5265c6,_0x552af7(0xf7),_0x552af7(0xed)];}static get[_0x5655cd(0xe1)](){return!0x0;}static get[_0x5655cd(0xeb)](){return!0x0;}[_0x5655cd(0xe2)](){const _0x42a937=_0x5655cd,{editor:_0x5802c1}=this;_0x5802c1[_0x42a937(0xe6)][_0x42a937(0xf1)](_0x42a937(0xf3),new _0x5db96c(_0x5802c1)),_0x5802c1[_0x42a937(0xe6)][_0x42a937(0xf1)](_0x42a937(0xef),new _0x5b9d18(_0x5802c1));}}
23
+ const _0x3e5c40=_0x2457;(function(_0x2bef34,_0x7edd47){const _0x5b5577=_0x2457,_0x57ce53=_0x2bef34();while(!![]){try{const _0x38a8b8=parseInt(_0x5b5577(0x19f))/0x1*(-parseInt(_0x5b5577(0x1a2))/0x2)+-parseInt(_0x5b5577(0x1ab))/0x3+-parseInt(_0x5b5577(0x1ad))/0x4+-parseInt(_0x5b5577(0x1a4))/0x5+parseInt(_0x5b5577(0x1a1))/0x6+parseInt(_0x5b5577(0x1a3))/0x7+parseInt(_0x5b5577(0x1a6))/0x8;if(_0x38a8b8===_0x7edd47)break;else _0x57ce53['push'](_0x57ce53['shift']());}catch(_0x5d6fba){_0x57ce53['push'](_0x57ce53['shift']());}}}(_0x321e,0x7aa85));import{Plugin as _0x31c4d1}from'ckeditor5/src/core.js';import{Notification as _0x5ee3de}from'ckeditor5/src/ui.js';import _0x5d0883 from'./uploadcareimageeditcommand.js';import _0x3d25 from'./uploadcareimagereplacecommand.js';function _0x321e(){const _0x390c18=['3704152EXMVJu','pluginName','isPremiumPlugin','commands','ImageEditing','ImageUtils','1018XppqaO','isOfficialPlugin','1847322TiecEY','1348inuWxf','6636350rLbVVf','220785Wyzlgy','add','7699816DTKqZp','uploadcareImageReplace','init','uploadcareImageEdit','UploadcareImageEditEditing','179046nWIapP','requires'];_0x321e=function(){return _0x390c18;};return _0x321e();}import _0x5b1cb3 from'../uploadcareediting.js';function _0x2457(_0x588145,_0x7b9c92){const _0x321edf=_0x321e();return _0x2457=function(_0x245750,_0x28b5fa){_0x245750=_0x245750-0x19d;let _0x409868=_0x321edf[_0x245750];return _0x409868;},_0x2457(_0x588145,_0x7b9c92);}export default class g extends _0x31c4d1{static get[_0x3e5c40(0x1ae)](){const _0x18bf3d=_0x3e5c40;return _0x18bf3d(0x1aa);}static get[_0x3e5c40(0x1ac)](){const _0x4bca32=_0x3e5c40;return[_0x5b1cb3,_0x5ee3de,_0x4bca32(0x19e),_0x4bca32(0x19d)];}static get[_0x3e5c40(0x1a0)](){return!0x0;}static get[_0x3e5c40(0x1af)](){return!0x0;}[_0x3e5c40(0x1a8)](){const _0x5c404a=_0x3e5c40,{editor:_0x3cafca}=this;_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a9),new _0x5d0883(_0x3cafca)),_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a7),new _0x3d25(_0x3cafca));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3aee7b}from'ckeditor5/src/core.js';import{ButtonView as _0x19e6d8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xaf348c}from'ckeditor5/src/icons.js';import{createElement as _0xabfbde}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 _0x3aee7b{['_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 _0x3b26af=this['editor'];_0x3b26af['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b15e1=>{const _0x1dd2b1=_0x3b26af['commands']['get']('uploadcareImageEdit'),_0x763dcb=new _0x19e6d8(_0x2b15e1),t=_0x2b15e1['t'];return _0x763dcb['set']({'icon':_0xaf348c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x763dcb['bind']('isEnabled')['to'](_0x1dd2b1),_0x763dcb['bind']('isOn')['to'](_0x1dd2b1,'isActive'),this['listenTo'](_0x763dcb,'execute',()=>{_0x3b26af['execute']('uploadcareImageEdit'),_0x3b26af['editing']['view']['focus']();}),_0x763dcb;}),this['_initConfig']();}['_initConfig'](){const _0x4d02d9=_0xabfbde(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4d02d9),this['listenTo'](this['editor'],'destroy',()=>{_0x4d02d9['remove']();});}}
23
+ import{Plugin as _0x538139}from'ckeditor5/src/core.js';import{ButtonView as _0x56a89c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15b9c8}from'ckeditor5/src/icons.js';import{createElement as _0x489739}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 _0x538139{['_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 _0x3df390=this['editor'];_0x3df390['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d85da=>{const _0x131d8f=_0x3df390['commands']['get']('uploadcareImageEdit'),_0x5ee7a8=new _0x56a89c(_0x4d85da),t=_0x4d85da['t'];return _0x5ee7a8['set']({'icon':_0x15b9c8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5ee7a8['bind']('isEnabled')['to'](_0x131d8f),_0x5ee7a8['bind']('isOn')['to'](_0x131d8f,'isActive'),this['listenTo'](_0x5ee7a8,'execute',()=>{_0x3df390['execute']('uploadcareImageEdit'),_0x3df390['editing']['view']['focus']();}),_0x5ee7a8;}),this['_initConfig']();}['_initConfig'](){const _0x4829a3=_0x489739(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4829a3),this['listenTo'](this['editor'],'destroy',()=>{_0x4829a3['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x465d(_0x2da247,_0x27611d){const _0x5a58f8=_0x5a58();return _0x465d=function(_0x465d95,_0x197899){_0x465d95=_0x465d95-0x117;let _0x1db260=_0x5a58f8[_0x465d95];return _0x1db260;},_0x465d(_0x2da247,_0x27611d);}const _0x739563=_0x465d;(function(_0x2414b7,_0x14b14e){const _0x2c5dec=_0x465d,_0x5efd3b=_0x2414b7();while(!![]){try{const _0x35cb8d=-parseInt(_0x2c5dec(0x12c))/0x1+-parseInt(_0x2c5dec(0x118))/0x2*(parseInt(_0x2c5dec(0x125))/0x3)+parseInt(_0x2c5dec(0x121))/0x4+parseInt(_0x2c5dec(0x12b))/0x5*(-parseInt(_0x2c5dec(0x11f))/0x6)+parseInt(_0x2c5dec(0x11a))/0x7*(parseInt(_0x2c5dec(0x12a))/0x8)+-parseInt(_0x2c5dec(0x11c))/0x9*(-parseInt(_0x2c5dec(0x12d))/0xa)+-parseInt(_0x2c5dec(0x117))/0xb*(parseInt(_0x2c5dec(0x127))/0xc);if(_0x35cb8d===_0x14b14e)break;else _0x5efd3b['push'](_0x5efd3b['shift']());}catch(_0x313b80){_0x5efd3b['push'](_0x5efd3b['shift']());}}}(_0x5a58,0x43bcf));function _0x5a58(){const _0x468a87=['execute','1586068bNWqfb','change','element','document','421929ywiUNP','imageInline','10428thjbqF','sizes','removeAttribute','456VPRkcv','65pDSXKH','22776ntOfDi','2554340cUJjvI','getSelectedElement','refresh','setAttributes','editor','srcset','2343rwkNpx','2snUdDZ','isEnabled','9023FCrxwL','imageBlock','18iCmVfp','model','selection','163794yeZLAy'];_0x5a58=function(){return _0x468a87;};return _0x5a58();}import{Command as _0xe06af}from'ckeditor5/src/core.js';export default class O extends _0xe06af{[_0x739563(0x12f)](){const _0x457530=_0x739563,_0x4c8f62=this[_0x457530(0x131)][_0x457530(0x11d)][_0x457530(0x124)][_0x457530(0x11e)][_0x457530(0x12e)]();this[_0x457530(0x119)]=Boolean(_0x4c8f62&&(_0x4c8f62['is'](_0x457530(0x123),_0x457530(0x11b))||_0x4c8f62['is'](_0x457530(0x123),_0x457530(0x126))));}[_0x739563(0x120)](_0x270ea5){const _0x212b06=_0x739563,_0x471847=this[_0x212b06(0x131)][_0x212b06(0x11d)][_0x212b06(0x124)][_0x212b06(0x11e)][_0x212b06(0x12e)]();this[_0x212b06(0x131)][_0x212b06(0x11d)][_0x212b06(0x122)](_0x4424e9=>{const _0xc3f86a=_0x212b06;_0x4424e9[_0xc3f86a(0x130)](_0x270ea5,_0x471847),_0x4424e9[_0xc3f86a(0x129)](_0xc3f86a(0x132),_0x471847),_0x4424e9[_0xc3f86a(0x129)](_0xc3f86a(0x128),_0x471847);});}}
23
+ function _0x3c08(){const _0x2b70c8=['202218fsmydR','srcset','imageInline','7612404UgmouA','4RmYasl','imageBlock','element','document','99pgAAdj','80LSxpPn','editor','998772PsNiDO','removeAttribute','execute','663396hQJosk','change','15111790AKXxrw','selection','refresh','9NKjvCz','2152582QEJHCt','setAttributes','getSelectedElement','3704XOQVdb','model','26663NLkkRO','sizes','isEnabled'];_0x3c08=function(){return _0x2b70c8;};return _0x3c08();}const _0x2a16db=_0x4985;function _0x4985(_0x3f21e0,_0x4a9dcd){const _0x3c08e8=_0x3c08();return _0x4985=function(_0x498584,_0xb5018b){_0x498584=_0x498584-0xba;let _0x1608b2=_0x3c08e8[_0x498584];return _0x1608b2;},_0x4985(_0x3f21e0,_0x4a9dcd);}(function(_0x3df2c2,_0x529460){const _0x20636e=_0x4985,_0x5e6a19=_0x3df2c2();while(!![]){try{const _0x343976=-parseInt(_0x20636e(0xd5))/0x1+-parseInt(_0x20636e(0xbf))/0x2+-parseInt(_0x20636e(0xd2))/0x3*(parseInt(_0x20636e(0xcb))/0x4)+-parseInt(_0x20636e(0xd0))/0x5*(-parseInt(_0x20636e(0xc7))/0x6)+parseInt(_0x20636e(0xc4))/0x7*(-parseInt(_0x20636e(0xc2))/0x8)+-parseInt(_0x20636e(0xbe))/0x9*(parseInt(_0x20636e(0xbb))/0xa)+-parseInt(_0x20636e(0xcf))/0xb*(-parseInt(_0x20636e(0xca))/0xc);if(_0x343976===_0x529460)break;else _0x5e6a19['push'](_0x5e6a19['shift']());}catch(_0x5497ce){_0x5e6a19['push'](_0x5e6a19['shift']());}}}(_0x3c08,0xdc04a));import{Command as _0x5c716b}from'ckeditor5/src/core.js';export default class O extends _0x5c716b{[_0x2a16db(0xbd)](){const _0x558e0f=_0x2a16db,_0x3c5f9b=this[_0x558e0f(0xd1)][_0x558e0f(0xc3)][_0x558e0f(0xce)][_0x558e0f(0xbc)][_0x558e0f(0xc1)]();this[_0x558e0f(0xc6)]=Boolean(_0x3c5f9b&&(_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xcc))||_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xc9))));}[_0x2a16db(0xd4)](_0x23e4d9){const _0x465024=_0x2a16db,_0x36281b=this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xce)][_0x465024(0xbc)][_0x465024(0xc1)]();this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xba)](_0x326277=>{const _0x50e5e5=_0x465024;_0x326277[_0x50e5e5(0xc0)](_0x23e4d9,_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc8),_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc5),_0x36281b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x499653=_0x88d3;(function(_0xe90818,_0x20853d){var _0x575ff4=_0x88d3,_0x5c6866=_0xe90818();while(!![]){try{var _0x33fcd6=parseInt(_0x575ff4(0x14e))/0x1*(-parseInt(_0x575ff4(0x155))/0x2)+parseInt(_0x575ff4(0x154))/0x3+-parseInt(_0x575ff4(0x158))/0x4+parseInt(_0x575ff4(0x152))/0x5*(parseInt(_0x575ff4(0x151))/0x6)+-parseInt(_0x575ff4(0x14a))/0x7+-parseInt(_0x575ff4(0x14d))/0x8+parseInt(_0x575ff4(0x14c))/0x9*(parseInt(_0x575ff4(0x153))/0xa);if(_0x33fcd6===_0x20853d)break;else _0x5c6866['push'](_0x5c6866['shift']());}catch(_0x4ab3a1){_0x5c6866['push'](_0x5c6866['shift']());}}}(_0x12ff,0xa83ca));import{Plugin as _0x31a8a0}from'ckeditor5/src/core.js';import _0x43272a from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x2c5b0b from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x12ff(){var _0x248b7e=['requires','UploadcareImageEdit','90WAtaKC','229010lADJLy','10zHuPIA','1923216yeFpxd','2KjQbUf','isPremiumPlugin','isOfficialPlugin','1590904tmIquQ','3136392pGNNLD','pluginName','12083679ukvsmm','3933440RJScwA','644173BVBWgR'];_0x12ff=function(){return _0x248b7e;};return _0x12ff();}function _0x88d3(_0x351773,_0x416555){var _0x12ff19=_0x12ff();return _0x88d3=function(_0x88d3eb,_0x3e1005){_0x88d3eb=_0x88d3eb-0x14a;var _0x58738a=_0x12ff19[_0x88d3eb];return _0x58738a;},_0x88d3(_0x351773,_0x416555);}export default class P extends _0x31a8a0{static get[_0x499653(0x14b)](){var _0x4945e7=_0x499653;return _0x4945e7(0x150);}static get[_0x499653(0x14f)](){return[_0x43272a,_0x2c5b0b];}static get[_0x499653(0x157)](){return!0x0;}static get[_0x499653(0x156)](){return!0x0;}}
23
+ var _0x149daf=_0x3805;(function(_0x5ee56b,_0x247771){var _0x2790c4=_0x3805,_0x2ca5d3=_0x5ee56b();while(!![]){try{var _0x47ef28=parseInt(_0x2790c4(0x125))/0x1+-parseInt(_0x2790c4(0x126))/0x2*(-parseInt(_0x2790c4(0x118))/0x3)+-parseInt(_0x2790c4(0x119))/0x4+-parseInt(_0x2790c4(0x122))/0x5+-parseInt(_0x2790c4(0x121))/0x6*(-parseInt(_0x2790c4(0x117))/0x7)+-parseInt(_0x2790c4(0x11b))/0x8*(parseInt(_0x2790c4(0x120))/0x9)+parseInt(_0x2790c4(0x124))/0xa*(parseInt(_0x2790c4(0x11d))/0xb);if(_0x47ef28===_0x247771)break;else _0x2ca5d3['push'](_0x2ca5d3['shift']());}catch(_0x515111){_0x2ca5d3['push'](_0x2ca5d3['shift']());}}}(_0x4aaf,0x5cf4b));function _0x4aaf(){var _0xe08464=['24QNhssg','UploadcareImageEdit','12190453NwCOlO','isPremiumPlugin','requires','1280736egutWy','6396luYsaY','3112730FgVDGh','isOfficialPlugin','10eEecfs','655807LyhDlB','510mWIrIo','637NwAaES','2637eZDYFh','2619904mPTKzZ','pluginName'];_0x4aaf=function(){return _0xe08464;};return _0x4aaf();}import{Plugin as _0xf943c}from'ckeditor5/src/core.js';function _0x3805(_0x165ba6,_0x5682e2){var _0x4aaf3b=_0x4aaf();return _0x3805=function(_0x38053a,_0x52484d){_0x38053a=_0x38053a-0x117;var _0x4e96f8=_0x4aaf3b[_0x38053a];return _0x4e96f8;},_0x3805(_0x165ba6,_0x5682e2);}import _0x11950d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4ccb8c from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf943c{static get[_0x149daf(0x11a)](){var _0x4a34f5=_0x149daf;return _0x4a34f5(0x11c);}static get[_0x149daf(0x11f)](){return[_0x11950d,_0x4ccb8c];}static get[_0x149daf(0x123)](){return!0x0;}static get[_0x149daf(0x11e)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b908a=_0x5382;(function(_0x402938,_0x363c69){const _0xbf3076=_0x5382,_0x3d7848=_0x402938();while(!![]){try{const _0x4b340c=parseInt(_0xbf3076(0x20a))/0x1+parseInt(_0xbf3076(0x208))/0x2*(-parseInt(_0xbf3076(0x1f0))/0x3)+parseInt(_0xbf3076(0x223))/0x4*(parseInt(_0xbf3076(0x1ee))/0x5)+-parseInt(_0xbf3076(0x206))/0x6*(-parseInt(_0xbf3076(0x215))/0x7)+-parseInt(_0xbf3076(0x229))/0x8*(parseInt(_0xbf3076(0x231))/0x9)+-parseInt(_0xbf3076(0x218))/0xa+parseInt(_0xbf3076(0x1f5))/0xb;if(_0x4b340c===_0x363c69)break;else _0x3d7848['push'](_0x3d7848['shift']());}catch(_0xdf3a3f){_0x3d7848['push'](_0x3d7848['shift']());}}}(_0x5e8b,0x1cf1a));import{Plugin as _0x7e856f}from'ckeditor5/src/core.js';import{IconDropbox as _0x1f9079,IconFacebook as _0x353c68,IconGoogleDrive as _0x3534c3,IconGooglePhotos as _0xfde59b,IconUploadcareImageUpload as _0x2f5c30,IconUploadcareLink as _0x49a29b,IconOneDrive as _0x405753}from'ckeditor5/src/icons.js';import{ButtonView as _0x545d27,MenuBarMenuListItemButtonView as _0x4ab022}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4392cd}from'./uploadcareconfig.js';function _0x5382(_0x374cee,_0x46c1b5){const _0x5e8b3b=_0x5e8b();return _0x5382=function(_0x538278,_0x9e2157){_0x538278=_0x538278-0x1e0;let _0xc76c2a=_0x5e8b3b[_0x538278];return _0xc76c2a;},_0x5382(_0x374cee,_0x46c1b5);}import{getTranslation as _0x194d44}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x7e856f{[_0x2b908a(0x1fa)];[_0x2b908a(0x1ef)];static get[_0x2b908a(0x1fd)](){const _0x2acbe9=_0x2b908a;return _0x2acbe9(0x20d);}static get[_0x2b908a(0x204)](){return!0x0;}static get[_0x2b908a(0x1e7)](){return!0x0;}[_0x2b908a(0x1fe)](){const _0x496a2c=_0x2b908a;this[_0x496a2c(0x1fa)]=this[_0x496a2c(0x1ff)][_0x496a2c(0x1fb)][_0x496a2c(0x214)](_0x496a2c(0x1fa));const _0x42e148=this[_0x496a2c(0x1ff)];this[_0x496a2c(0x1ef)]=setInterval(()=>{const _0x5b54aa=_0x496a2c;let _0x1276b3;for(const _0x3d1ff8 in _0x42e148){const _0x23f88c=_0x3d1ff8,_0x5ab531=_0x42e148[_0x23f88c];if(_0x5b54aa(0x20b)==_0x5ab531||_0x5b54aa(0x21d)==_0x5ab531||_0x5b54aa(0x1f1)==_0x5ab531||_0x5b54aa(0x201)==_0x5ab531||_0x5b54aa(0x222)==_0x5ab531||_0x5b54aa(0x213)==_0x5ab531||_0x5b54aa(0x224)==_0x5ab531||_0x5b54aa(0x1f8)==_0x5ab531){delete _0x42e148[_0x23f88c],_0x1276b3=_0x5ab531,clearInterval(this[_0x5b54aa(0x1ef)]),this[_0x5b54aa(0x1ef)]=void 0x0;break;}}_0x5b54aa(0x21d)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x200)),_0x5b54aa(0x1f1)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x1ec)),_0x5b54aa(0x201)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x202)),_0x5b54aa(0x222)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x1f9),_0x5b54aa(0x1e8)),_0x5b54aa(0x213)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x21c)),_0x5b54aa(0x224)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x21f)),_0x5b54aa(0x1f8)==_0x1276b3&&_0x42e148[_0x5b54aa(0x207)](_0x5b54aa(0x1fc));},0x3e8);}[_0x2b908a(0x20f)](){const _0x14ca95=_0x2b908a,{editor:_0xe9eb6e}=this,_0x548d03=_0xe9eb6e[_0x14ca95(0x21a)][_0x14ca95(0x214)](_0x14ca95(0x22b));if(!_0x548d03)return;const _0x2188cc=this[_0x14ca95(0x220)](_0xe9eb6e[_0x14ca95(0x1fb)][_0x14ca95(0x214)](_0x14ca95(0x1f3)))[_0x14ca95(0x226)]((_0x12d188,_0x23aed9)=>{const _0x5d54ce=_0x14ca95,_0x887f8b=this[_0x5d54ce(0x22f)](_0x23aed9[_0x5d54ce(0x20c)]);return _0x12d188[_0x887f8b]||(_0x12d188[_0x887f8b]=[]),_0x12d188[_0x887f8b][_0x5d54ce(0x219)](_0x23aed9),_0x12d188;},{});_0xe9eb6e[_0x14ca95(0x209)][_0x14ca95(0x227)](_0x14ca95(0x1f4))&&_0xe9eb6e[_0x14ca95(0x21a)][_0x14ca95(0x214)](_0x14ca95(0x22b))&&Object[_0x14ca95(0x225)](_0x2188cc)[_0x14ca95(0x1e9)](([_0x601032,_0x11929f])=>{const _0x54be91=_0x14ca95;_0xe9eb6e[_0x54be91(0x209)][_0x54be91(0x214)](_0x54be91(0x1f4))[_0x54be91(0x1ea)]({'name':_0x601032,'observable':()=>_0x548d03,'buttonViewCreator':()=>this[_0x54be91(0x212)](_0x11929f),'formViewCreator':()=>this[_0x54be91(0x1e1)](_0x11929f),'menuBarButtonViewCreator':()=>this[_0x54be91(0x205)](_0x11929f),'override':_0x54be91(0x1f7)!==_0x601032});});}[_0x2b908a(0x211)](){const _0x381db3=_0x2b908a;super[_0x381db3(0x211)](),this[_0x381db3(0x1ef)]&&clearInterval(this[_0x381db3(0x1ef)]);}[_0x2b908a(0x220)](_0x558441){const _0x3680ef=_0x2b908a,{locale:_0x248bc8}=this[_0x3680ef(0x1ff)];return _0x558441[_0x3680ef(0x22d)](_0x238343=>{const _0x28aab3=_0x3680ef,_0x1a3486=_0x194d44(_0x248bc8,_0x238343,_0x28aab3(0x230));switch(_0x238343){case _0x4392cd[_0x28aab3(0x1eb)]:return{'icon':_0x2f5c30,'type':_0x4392cd[_0x28aab3(0x1eb)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x228)]:return{'icon':_0x49a29b,'type':_0x4392cd[_0x28aab3(0x228)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x216)]:return{'icon':_0x1f9079,'type':_0x4392cd[_0x28aab3(0x216)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x22e)]:return{'icon':_0x353c68,'type':_0x4392cd[_0x28aab3(0x22e)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x1e3)]:return{'icon':_0x3534c3,'type':_0x4392cd[_0x28aab3(0x1e3)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x1f6)]:return{'icon':_0xfde59b,'type':_0x4392cd[_0x28aab3(0x1f6)],..._0x1a3486};case _0x4392cd[_0x28aab3(0x21b)]:return{'icon':_0x405753,'type':_0x4392cd[_0x28aab3(0x21b)],..._0x1a3486};}});}[_0x2b908a(0x22f)](_0x226501){const _0xa0d21f=_0x2b908a;switch(_0x226501){case _0x4392cd[_0xa0d21f(0x1eb)]:return _0xa0d21f(0x21e);case _0x4392cd[_0xa0d21f(0x228)]:return _0xa0d21f(0x203);default:return _0xa0d21f(0x1f7);}}[_0x2b908a(0x217)](_0x564fa5,_0x2d71f7){const _0x42e280=_0x2b908a,_0x5f45f0=this[_0x42e280(0x1ff)],_0x5df382=new _0x564fa5(_0x5f45f0[_0x42e280(0x22a)]),_0x3026bb=_0x5f45f0[_0x42e280(0x21a)][_0x42e280(0x214)](_0x42e280(0x22b));return _0x5df382[_0x42e280(0x1ed)](_0x42e280(0x1e0))['to'](_0x3026bb),_0x5df382['on'](_0x42e280(0x20e),()=>{const _0x2a2a83=_0x42e280;_0x3026bb[_0x2a2a83(0x20e)](_0x2d71f7);}),_0x5df382;}[_0x2b908a(0x212)](_0x48488c){const _0xffacfb=_0x2b908a,{locale:_0x237e75}=this[_0xffacfb(0x1ff)],_0x36b2b8=this[_0xffacfb(0x1ff)][_0xffacfb(0x209)][_0xffacfb(0x214)](_0xffacfb(0x1f4)),_0x5bdbf9=_0x48488c[0x0],_0x43b196=this[_0xffacfb(0x217)](_0x545d27,_0x5bdbf9[_0xffacfb(0x20c)]);return _0x43b196[_0xffacfb(0x1f2)]=_0x5bdbf9[_0xffacfb(0x1f2)],_0x43b196[_0xffacfb(0x1ed)](_0xffacfb(0x221))['to'](_0x36b2b8,_0xffacfb(0x22c),_0x481a17=>_0x194d44(_0x237e75,_0x5bdbf9[_0xffacfb(0x20c)],_0x481a17?_0xffacfb(0x210):_0xffacfb(0x230))[_0xffacfb(0x1e2)]),_0x43b196[_0xffacfb(0x1e5)]=!0x0,_0x43b196;}[_0x2b908a(0x1e1)](_0x248b26){const _0x151302=_0x2b908a,{locale:_0x34ae4e}=this[_0x151302(0x1ff)],_0x4b7e19=this[_0x151302(0x1ff)][_0x151302(0x209)][_0x151302(0x214)](_0x151302(0x1f4));return _0x248b26[_0x151302(0x22d)](_0x15df02=>{const _0x3675c2=_0x151302,_0x380ae2=this[_0x3675c2(0x217)](_0x545d27,_0x15df02[_0x3675c2(0x20c)]);return _0x380ae2[_0x3675c2(0x1e4)]=!0x0,_0x380ae2[_0x3675c2(0x1f2)]=_0x15df02[_0x3675c2(0x1f2)],_0x380ae2[_0x3675c2(0x1ed)](_0x3675c2(0x221))['to'](_0x4b7e19,_0x3675c2(0x22c),_0x5cceea=>_0x194d44(_0x34ae4e,_0x15df02[_0x3675c2(0x20c)],_0x5cceea?_0x3675c2(0x210):_0x3675c2(0x230))[_0x3675c2(0x1e2)]),_0x380ae2;});}[_0x2b908a(0x205)](_0x31d775){const _0x7fce31=_0x2b908a;return _0x31d775[_0x7fce31(0x22d)](_0x435384=>{const _0x2e102b=_0x7fce31,_0x38de9b=this[_0x2e102b(0x217)](_0x4ab022,_0x435384[_0x2e102b(0x20c)]);return _0x38de9b[_0x2e102b(0x1f2)]=_0x435384[_0x2e102b(0x1f2)],_0x38de9b[_0x2e102b(0x221)]=_0x435384[_0x2e102b(0x1e6)],_0x38de9b;});}}function _0x5e8b(){const _0x98dbc8=['_createMenuBarButtons','78oiMkFd','_showLicenseError','2vDfaRQ','plugins','226909bIGuYv','uploadcareLicenseKeyValid','type','UploadcareUI','execute','afterInit','Replace','destroy','_createToolbarButton','uploadcareLicenseKeyEvaluationLimit','get','7609utJEBl','Dropbox','_createButton','1473130sZTESi','push','commands','OneDrive','evaluationLimit','uploadcareLicenseKeyInvalid','upload','trialLimit','_normalizeConfigSourceList','label','uploadcareLicenseKeyNotAllowed','161124KvqMQL','uploadcareLicenseKeyTrialLimit','entries','reduce','has','URL','856YiQcHb','locale','uploadcare','isImageSelected','map','Facebook','_getIntegrationKey','Insert','15021vngTzG','isEnabled','_createDropdownButtons','text','GDrive','withText','tooltip','shortText','isPremiumPlugin','Uploadcare','forEach','registerIntegration','Local','expired','bind','5wSPHHx','_licenseKeyCheckInterval','80151sultkF','uploadcareLicenseKeyExpired','icon','uploadcare.uploader.sourceList','ImageInsertUI','2088306lsrWQU','GPhotos','assetManager','uploadcareLicenseKeyUsageLimit','featureNotAllowed','licenseKey','config','usageLimit','pluginName','init','editor','invalid','uploadcareLicenseKeyDomainLimit','domainLimit','url','isOfficialPlugin'];_0x5e8b=function(){return _0x98dbc8;};return _0x5e8b();}
23
+ const _0x2de96a=_0x4871;(function(_0x59506e,_0x1a508c){const _0x1c0fd7=_0x4871,_0x14de28=_0x59506e();while(!![]){try{const _0x5052de=-parseInt(_0x1c0fd7(0x1bd))/0x1*(parseInt(_0x1c0fd7(0x186))/0x2)+parseInt(_0x1c0fd7(0x1b1))/0x3*(parseInt(_0x1c0fd7(0x185))/0x4)+-parseInt(_0x1c0fd7(0x18b))/0x5*(-parseInt(_0x1c0fd7(0x1a0))/0x6)+-parseInt(_0x1c0fd7(0x19f))/0x7*(parseInt(_0x1c0fd7(0x1b4))/0x8)+-parseInt(_0x1c0fd7(0x189))/0x9+parseInt(_0x1c0fd7(0x19b))/0xa*(-parseInt(_0x1c0fd7(0x196))/0xb)+parseInt(_0x1c0fd7(0x187))/0xc;if(_0x5052de===_0x1a508c)break;else _0x14de28['push'](_0x14de28['shift']());}catch(_0x3ce198){_0x14de28['push'](_0x14de28['shift']());}}}(_0x3899,0x7b5b3));function _0x3899(){const _0x3d144c=['GDrive','withText','uploadcare','_createMenuBarButtons','4055OmvdrE','push','uploadcareLicenseKeyNotAllowed','plugins','uploadcareLicenseKeyValid','entries','init','URL','destroy','evaluationLimit','Replace','expired','isPremiumPlugin','get','isImageSelected','uploadcareLicenseKeyExpired','Dropbox','registerIntegration','locale','_createToolbarButton','forEach','afterInit','_createButton','usageLimit','_getIntegrationKey','upload','uploadcareLicenseKeyEvaluationLimit','580wPregZ','394NoUeUD','28066200eAWbfd','OneDrive','6300279XHisMG','shortText','10mjRFRg','Insert','uploadcareLicenseKeyUsageLimit','bind','isOfficialPlugin','config','uploadcareLicenseKeyDomainLimit','reduce','map','assetManager','icon','22PBpzuR','text','execute','type','trialLimit','2431400FhAMVh','invalid','Local','_licenseKeyCheckInterval','10241vIQnwn','94302BqfLex','uploadcareLicenseKeyInvalid','commands','has','_normalizeConfigSourceList','_showLicenseError','featureNotAllowed','Facebook','url','ImageInsertUI','domainLimit','UploadcareUI','GPhotos','uploadcare.uploader.sourceList','licenseKey','editor','pluginName','7389EutSou','_createDropdownButtons','Uploadcare','1296XCPeIe','isEnabled','label','uploadcareLicenseKeyTrialLimit','tooltip'];_0x3899=function(){return _0x3d144c;};return _0x3899();}import{Plugin as _0x5c7986}from'ckeditor5/src/core.js';import{IconDropbox as _0x368670,IconFacebook as _0x2c6da4,IconGoogleDrive as _0x43a60c,IconGooglePhotos as _0x51209c,IconUploadcareImageUpload as _0x111fbb,IconUploadcareLink as _0x35f575,IconOneDrive as _0x2b889a}from'ckeditor5/src/icons.js';import{ButtonView as _0xee46f2,MenuBarMenuListItemButtonView as _0x1aa52f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd77947}from'./uploadcareconfig.js';function _0x4871(_0x563f38,_0xe41e3){const _0x389972=_0x3899();return _0x4871=function(_0x4871c9,_0x19bcda){_0x4871c9=_0x4871c9-0x17b;let _0x24bacd=_0x389972[_0x4871c9];return _0x24bacd;},_0x4871(_0x563f38,_0xe41e3);}import{getTranslation as _0x27bdd9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5c7986{[_0x2de96a(0x1ae)];[_0x2de96a(0x19e)];static get[_0x2de96a(0x1b0)](){const _0x4035aa=_0x2de96a;return _0x4035aa(0x1ab);}static get[_0x2de96a(0x18f)](){return!0x0;}static get[_0x2de96a(0x1c9)](){return!0x0;}[_0x2de96a(0x1c3)](){const _0x7fe462=_0x2de96a;this[_0x7fe462(0x1ae)]=this[_0x7fe462(0x1af)][_0x7fe462(0x190)][_0x7fe462(0x1ca)](_0x7fe462(0x1ae));const _0x367c1a=this[_0x7fe462(0x1af)];this[_0x7fe462(0x19e)]=setInterval(()=>{const _0x333dd0=_0x7fe462;let _0x38f58f;for(const _0x5c1a34 in _0x367c1a){const _0x406683=_0x5c1a34,_0xfd6221=_0x367c1a[_0x406683];if(_0x333dd0(0x1c1)==_0xfd6221||_0x333dd0(0x1a1)==_0xfd6221||_0x333dd0(0x1cc)==_0xfd6221||_0x333dd0(0x191)==_0xfd6221||_0x333dd0(0x1bf)==_0xfd6221||_0x333dd0(0x184)==_0xfd6221||_0x333dd0(0x1b7)==_0xfd6221||_0x333dd0(0x18d)==_0xfd6221){delete _0x367c1a[_0x406683],_0x38f58f=_0xfd6221,clearInterval(this[_0x333dd0(0x19e)]),this[_0x333dd0(0x19e)]=void 0x0;break;}}_0x333dd0(0x1a1)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19c)),_0x333dd0(0x1cc)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c8)),_0x333dd0(0x191)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1aa)),_0x333dd0(0x1bf)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1a6),_0x333dd0(0x1b3)),_0x333dd0(0x184)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c6)),_0x333dd0(0x1b7)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19a)),_0x333dd0(0x18d)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x181));},0x3e8);}[_0x2de96a(0x17f)](){const _0x97d7ff=_0x2de96a,{editor:_0x270e31}=this,_0x5b9679=_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb));if(!_0x5b9679)return;const _0x3d9dda=this[_0x97d7ff(0x1a4)](_0x270e31[_0x97d7ff(0x190)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1ad)))[_0x97d7ff(0x192)]((_0x4812c0,_0x57c105)=>{const _0x1ee136=_0x97d7ff,_0x5d9775=this[_0x1ee136(0x182)](_0x57c105[_0x1ee136(0x199)]);return _0x4812c0[_0x5d9775]||(_0x4812c0[_0x5d9775]=[]),_0x4812c0[_0x5d9775][_0x1ee136(0x1be)](_0x57c105),_0x4812c0;},{});_0x270e31[_0x97d7ff(0x1c0)][_0x97d7ff(0x1a3)](_0x97d7ff(0x1a9))&&_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb))&&Object[_0x97d7ff(0x1c2)](_0x3d9dda)[_0x97d7ff(0x17e)](([_0x1c7e3b,_0x48784b])=>{const _0x2f4c45=_0x97d7ff;_0x270e31[_0x2f4c45(0x1c0)][_0x2f4c45(0x1ca)](_0x2f4c45(0x1a9))[_0x2f4c45(0x17b)]({'name':_0x1c7e3b,'observable':()=>_0x5b9679,'buttonViewCreator':()=>this[_0x2f4c45(0x17d)](_0x48784b),'formViewCreator':()=>this[_0x2f4c45(0x1b2)](_0x48784b),'menuBarButtonViewCreator':()=>this[_0x2f4c45(0x1bc)](_0x48784b),'override':_0x2f4c45(0x194)!==_0x1c7e3b});});}[_0x2de96a(0x1c5)](){const _0x1ad355=_0x2de96a;super[_0x1ad355(0x1c5)](),this[_0x1ad355(0x19e)]&&clearInterval(this[_0x1ad355(0x19e)]);}[_0x2de96a(0x1a4)](_0x3849a3){const _0x402b46=_0x2de96a,{locale:_0x187d99}=this[_0x402b46(0x1af)];return _0x3849a3[_0x402b46(0x193)](_0x40578b=>{const _0x1e4401=_0x402b46,_0x29e126=_0x27bdd9(_0x187d99,_0x40578b,_0x1e4401(0x18c));switch(_0x40578b){case _0xd77947[_0x1e4401(0x19d)]:return{'icon':_0x111fbb,'type':_0xd77947[_0x1e4401(0x19d)],..._0x29e126};case _0xd77947[_0x1e4401(0x1c4)]:return{'icon':_0x35f575,'type':_0xd77947[_0x1e4401(0x1c4)],..._0x29e126};case _0xd77947[_0x1e4401(0x1cd)]:return{'icon':_0x368670,'type':_0xd77947[_0x1e4401(0x1cd)],..._0x29e126};case _0xd77947[_0x1e4401(0x1a7)]:return{'icon':_0x2c6da4,'type':_0xd77947[_0x1e4401(0x1a7)],..._0x29e126};case _0xd77947[_0x1e4401(0x1b9)]:return{'icon':_0x43a60c,'type':_0xd77947[_0x1e4401(0x1b9)],..._0x29e126};case _0xd77947[_0x1e4401(0x1ac)]:return{'icon':_0x51209c,'type':_0xd77947[_0x1e4401(0x1ac)],..._0x29e126};case _0xd77947[_0x1e4401(0x188)]:return{'icon':_0x2b889a,'type':_0xd77947[_0x1e4401(0x188)],..._0x29e126};}});}[_0x2de96a(0x182)](_0x1d8644){const _0x1583e5=_0x2de96a;switch(_0x1d8644){case _0xd77947[_0x1583e5(0x19d)]:return _0x1583e5(0x183);case _0xd77947[_0x1583e5(0x1c4)]:return _0x1583e5(0x1a8);default:return _0x1583e5(0x194);}}[_0x2de96a(0x180)](_0x4de52a,_0xb8a650){const _0x5d691a=_0x2de96a,_0x49adaf=this[_0x5d691a(0x1af)],_0x50bcda=new _0x4de52a(_0x49adaf[_0x5d691a(0x17c)]),_0xebafd4=_0x49adaf[_0x5d691a(0x1a2)][_0x5d691a(0x1ca)](_0x5d691a(0x1bb));return _0x50bcda[_0x5d691a(0x18e)](_0x5d691a(0x1b5))['to'](_0xebafd4),_0x50bcda['on'](_0x5d691a(0x198),()=>{const _0x43374f=_0x5d691a;_0xebafd4[_0x43374f(0x198)](_0xb8a650);}),_0x50bcda;}[_0x2de96a(0x17d)](_0x512907){const _0x4fb7b1=_0x2de96a,{locale:_0xb337c}=this[_0x4fb7b1(0x1af)],_0x20717b=this[_0x4fb7b1(0x1af)][_0x4fb7b1(0x1c0)][_0x4fb7b1(0x1ca)](_0x4fb7b1(0x1a9)),_0x435d8c=_0x512907[0x0],_0x7266e=this[_0x4fb7b1(0x180)](_0xee46f2,_0x435d8c[_0x4fb7b1(0x199)]);return _0x7266e[_0x4fb7b1(0x195)]=_0x435d8c[_0x4fb7b1(0x195)],_0x7266e[_0x4fb7b1(0x18e)](_0x4fb7b1(0x1b6))['to'](_0x20717b,_0x4fb7b1(0x1cb),_0x13976f=>_0x27bdd9(_0xb337c,_0x435d8c[_0x4fb7b1(0x199)],_0x13976f?_0x4fb7b1(0x1c7):_0x4fb7b1(0x18c))[_0x4fb7b1(0x197)]),_0x7266e[_0x4fb7b1(0x1b8)]=!0x0,_0x7266e;}[_0x2de96a(0x1b2)](_0x26ff65){const _0x408475=_0x2de96a,{locale:_0x55f5ec}=this[_0x408475(0x1af)],_0x319351=this[_0x408475(0x1af)][_0x408475(0x1c0)][_0x408475(0x1ca)](_0x408475(0x1a9));return _0x26ff65[_0x408475(0x193)](_0x3b6e6a=>{const _0x353006=_0x408475,_0x1c57f3=this[_0x353006(0x180)](_0xee46f2,_0x3b6e6a[_0x353006(0x199)]);return _0x1c57f3[_0x353006(0x1ba)]=!0x0,_0x1c57f3[_0x353006(0x195)]=_0x3b6e6a[_0x353006(0x195)],_0x1c57f3[_0x353006(0x18e)](_0x353006(0x1b6))['to'](_0x319351,_0x353006(0x1cb),_0x28eee0=>_0x27bdd9(_0x55f5ec,_0x3b6e6a[_0x353006(0x199)],_0x28eee0?_0x353006(0x1c7):_0x353006(0x18c))[_0x353006(0x197)]),_0x1c57f3;});}[_0x2de96a(0x1bc)](_0x5593bb){const _0x5dc027=_0x2de96a;return _0x5593bb[_0x5dc027(0x193)](_0x7e3a44=>{const _0x4b0fc2=_0x5dc027,_0xc20333=this[_0x4b0fc2(0x180)](_0x1aa52f,_0x7e3a44[_0x4b0fc2(0x199)]);return _0xc20333[_0x4b0fc2(0x195)]=_0x7e3a44[_0x4b0fc2(0x195)],_0xc20333[_0x4b0fc2(0x1b6)]=_0x7e3a44[_0x4b0fc2(0x18a)],_0xc20333;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1daf50}from'ckeditor5/src/core.js';import{FileRepository as _0x7deb1c}from'ckeditor5/src/upload.js';import _0x2a39f5 from'./uploadcareediting.js';import _0x452a3b from'./utils/uploadutils.js';import{getImageUrls as _0x41e756}from'./utils/editingutils.js';export default class p extends _0x1daf50{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x7deb1c,_0x2a39f5];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c69ea=this['editor'];if(!!!_0x4c69ea['config']['get']('uploadcare'))return;_0x4c69ea['plugins']['get'](_0x7deb1c)['createUploadAdapter']=_0x51f9c9=>new x(_0x51f9c9,_0x4c69ea),_0x4c69ea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1095ee,{imageElement:_0x2d42b3,data:_0x31364a})=>{_0x4c69ea['model']['change'](_0x4295e6=>{_0x4295e6['setAttribute']('uploadcareImageId',_0x31364a['uploadcareImageId'],_0x2d42b3);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x406058,_0x41ea12){this['loader']=_0x406058,this['editor']=_0x41ea12,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x328ea0=this['editor']['config']['get']('uploadcare.pubkey'),_0xe8a9ff=await this['loader']['file'];return _0x452a3b['upload']({'file':_0xe8a9ff,'publicKey':_0x328ea0,'signal':this['controller']['signal'],'onProgress':_0x116b41=>{_0x116b41&&_0x116b41['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x116b41['value']);}})['then'](async _0x273ac5=>{const {imageFallbackUrl:_0x1c481b,imageSources:_0x830cdb}=_0x41e756(_0x273ac5['cdnUrl'],_0x273ac5['imageInfo']['width']);return{'uploadcareImageId':_0x273ac5['uuid'],'default':_0x1c481b,'sources':_0x830cdb};})['catch'](()=>{const _0xadf29=t('Cannot\x20upload\x20file:')+('\x20'+_0xe8a9ff['name']+'.');return Promise['reject'](_0xadf29);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x167f87}from'ckeditor5/src/core.js';import{FileRepository as _0xe4d2e0}from'ckeditor5/src/upload.js';import _0x5d0a11 from'./uploadcareediting.js';import _0x4a5c3a from'./utils/uploadutils.js';import{getImageUrls as _0x143896}from'./utils/editingutils.js';export default class p extends _0x167f87{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe4d2e0,_0x5d0a11];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e90fb=this['editor'];if(!!!_0x3e90fb['config']['get']('uploadcare'))return;_0x3e90fb['plugins']['get'](_0xe4d2e0)['createUploadAdapter']=_0x5aad28=>new x(_0x5aad28,_0x3e90fb),_0x3e90fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1b7328,{imageElement:_0x2de262,data:_0x5285df})=>{_0x3e90fb['model']['change'](_0x42804f=>{_0x42804f['setAttribute']('uploadcareImageId',_0x5285df['uploadcareImageId'],_0x2de262);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4b4fce,_0x5cd460){this['loader']=_0x4b4fce,this['editor']=_0x5cd460,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x829cc5=this['editor']['config']['get']('uploadcare.pubkey'),_0x54be46=await this['loader']['file'];return _0x4a5c3a['upload']({'file':_0x54be46,'publicKey':_0x829cc5,'signal':this['controller']['signal'],'onProgress':_0x13d1a1=>{_0x13d1a1&&_0x13d1a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13d1a1['value']);}})['then'](async _0x5a3aca=>{const {imageFallbackUrl:_0x26a47e,imageSources:_0x3db913}=_0x143896(_0x5a3aca['cdnUrl'],_0x5a3aca['imageInfo']['width']);return{'uploadcareImageId':_0x5a3aca['uuid'],'default':_0x26a47e,'sources':_0x3db913};})['catch'](()=>{const _0x160a40=t('Cannot\x20upload\x20file:')+('\x20'+_0x54be46['name']+'.');return Promise['reject'](_0x160a40);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x358ad2}from'../uploadcareconfig.js';export function getTranslation(_0x3e6892,_0x3aabb0,_0x13dda0){const t=_0x3e6892['t'],_0x3947bb=_0x3e6892['t'];switch(_0x3aabb0){case _0x358ad2['Local']:return{'text':_0x3947bb('Insert'===_0x13dda0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3947bb('From\x20computer')};case _0x358ad2['URL']:return{'text':'Insert'===_0x13dda0?_0x3947bb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3947bb('Via\x20URL')};case _0x358ad2['Dropbox']:return{'text':t('Insert'===_0x13dda0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x358ad2['Facebook']:return{'text':t('Insert'===_0x13dda0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x358ad2['GDrive']:return{'text':t('Insert'===_0x13dda0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x358ad2['GPhotos']:return{'text':t('Insert'===_0x13dda0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x358ad2['OneDrive']:return{'text':t('Insert'===_0x13dda0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3aabb0;}}
23
+ import{UploadcareSource as _0x3a925a}from'../uploadcareconfig.js';export function getTranslation(_0x6175db,_0x31387f,_0x2a72a7){const t=_0x6175db['t'],_0x133a90=_0x6175db['t'];switch(_0x31387f){case _0x3a925a['Local']:return{'text':_0x133a90('Insert'===_0x2a72a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x133a90('From\x20computer')};case _0x3a925a['URL']:return{'text':'Insert'===_0x2a72a7?_0x133a90('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x133a90('Via\x20URL')};case _0x3a925a['Dropbox']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a925a['Facebook']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a925a['GDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a925a['GPhotos']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a925a['OneDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31387f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b3b02=_0x1850;(function(_0x1bac27,_0x5b0488){var _0x204f53=_0x1850,_0x4b144c=_0x1bac27();while(!![]){try{var _0x9fb7c4=parseInt(_0x204f53(0x1a7))/0x1*(parseInt(_0x204f53(0x1a8))/0x2)+parseInt(_0x204f53(0x1af))/0x3+-parseInt(_0x204f53(0x1aa))/0x4+-parseInt(_0x204f53(0x1b0))/0x5*(-parseInt(_0x204f53(0x1ae))/0x6)+parseInt(_0x204f53(0x1ab))/0x7*(-parseInt(_0x204f53(0x1b5))/0x8)+-parseInt(_0x204f53(0x1b6))/0x9*(-parseInt(_0x204f53(0x1ac))/0xa)+-parseInt(_0x204f53(0x1b8))/0xb;if(_0x9fb7c4===_0x5b0488)break;else _0x4b144c['push'](_0x4b144c['shift']());}catch(_0x910705){_0x4b144c['push'](_0x4b144c['shift']());}}}(_0x4abe,0x6affd));import{FocusTracker as _0x16de32}from'ckeditor5/src/utils.js';import{View as _0xa5c98d,FocusCycler as _0x5989a7}from'ckeditor5/src/ui.js';function _0x4abe(){var _0x212119=['focusCycler','createCollection','fire','424pyVJDl','62649phRpEE','true','5548081yCkTfl','forwardCycle','div','1zzXCsj','193148IqHZAs','focusTracker','1817560JHHtws','37744TkbThx','1150DSeIhe','bindTemplate','18ccWuXM','657105jqDlAr','944470NASFYW','getFocusableElement'];_0x4abe=function(){return _0x212119;};return _0x4abe();}import'../../theme/uploadcare-form.css';function _0x1850(_0x4574c9,_0x561875){var _0x4abebe=_0x4abe();return _0x1850=function(_0x1850c8,_0x2f08f7){_0x1850c8=_0x1850c8-0x1a6;var _0xb7dbcb=_0x4abebe[_0x1850c8];return _0xb7dbcb;},_0x1850(_0x4574c9,_0x561875);}export default class q extends _0xa5c98d{[_0x1b3b02(0x1a9)];[_0x1b3b02(0x1b2)];constructor(_0x33f290){var _0x4b745e=_0x1b3b02;super(_0x33f290),this[_0x4b745e(0x1a9)]=new _0x16de32(),this[_0x4b745e(0x1b2)]=new _0x5989a7({'focusables':this[_0x4b745e(0x1b3)](),'focusTracker':this[_0x4b745e(0x1a9)]});}[_0x1b3b02(0x1b1)](){var _0x56b9bc=_0x1b3b02;return{'tag':_0x56b9bc(0x1a6),'attributes':{'aria-hidden':_0x56b9bc(0x1b7),'tabindex':'0'},'on':{'focus':this[_0x56b9bc(0x1ad)]['to'](()=>{var _0x27bc59=_0x56b9bc;this[_0x27bc59(0x1b2)][_0x27bc59(0x1b4)](_0x27bc59(0x1b9));})}};}}
23
+ var _0x3b565c=_0x52d2;(function(_0x3cac99,_0x1845bd){var _0x57d81f=_0x52d2,_0x4b1dec=_0x3cac99();while(!![]){try{var _0x56c947=-parseInt(_0x57d81f(0xe0))/0x1*(-parseInt(_0x57d81f(0xdc))/0x2)+-parseInt(_0x57d81f(0xd8))/0x3+parseInt(_0x57d81f(0xdf))/0x4*(-parseInt(_0x57d81f(0xda))/0x5)+-parseInt(_0x57d81f(0xd9))/0x6+-parseInt(_0x57d81f(0xd1))/0x7*(parseInt(_0x57d81f(0xde))/0x8)+parseInt(_0x57d81f(0xdb))/0x9+parseInt(_0x57d81f(0xd7))/0xa;if(_0x56c947===_0x1845bd)break;else _0x4b1dec['push'](_0x4b1dec['shift']());}catch(_0x1152da){_0x4b1dec['push'](_0x4b1dec['shift']());}}}(_0x10a4,0x43f2b));import{FocusTracker as _0x22a91d}from'ckeditor5/src/utils.js';import{View as _0x5d378f,FocusCycler as _0x33973b}from'ckeditor5/src/ui.js';function _0x52d2(_0x57aeb3,_0x1c61d9){var _0x10a4dd=_0x10a4();return _0x52d2=function(_0x52d2bf,_0x58c929){_0x52d2bf=_0x52d2bf-0xce;var _0xf41dce=_0x10a4dd[_0x52d2bf];return _0xf41dce;},_0x52d2(_0x57aeb3,_0x1c61d9);}import'../../theme/uploadcare-form.css';export default class q extends _0x5d378f{[_0x3b565c(0xd6)];[_0x3b565c(0xce)];constructor(_0x1aa1e9){var _0x5bc904=_0x3b565c;super(_0x1aa1e9),this[_0x5bc904(0xd6)]=new _0x22a91d(),this[_0x5bc904(0xce)]=new _0x33973b({'focusables':this[_0x5bc904(0xd0)](),'focusTracker':this[_0x5bc904(0xd6)]});}[_0x3b565c(0xd4)](){var _0x397523=_0x3b565c;return{'tag':_0x397523(0xd3),'attributes':{'aria-hidden':_0x397523(0xcf),'tabindex':'0'},'on':{'focus':this[_0x397523(0xd5)]['to'](()=>{var _0x15b1f3=_0x397523;this[_0x15b1f3(0xce)][_0x15b1f3(0xdd)](_0x15b1f3(0xd2));})}};}}function _0x10a4(){var _0x3ce604=['190200ebCbUT','284KsOzrw','1hQmEQV','focusCycler','true','createCollection','140WTDyUB','forwardCycle','div','getFocusableElement','bindTemplate','focusTracker','11590590gQrHsI','365976zHwaWj','3066534CfuUdA','27655jVsfmD','2901510nThTaw','596296GHqliT','fire'];_0x10a4=function(){return _0x3ce604;};return _0x10a4();}