@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251210.0 → 0.0.0-internal-20251211.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 _0x4bf0b9=_0x390d;(function(_0xd4f335,_0x2428e5){const _0x1217bd=_0x390d,_0x56cfa7=_0xd4f335();while(!![]){try{const _0x30cbf1=parseInt(_0x1217bd(0x1b6))/0x1+parseInt(_0x1217bd(0x1c2))/0x2+-parseInt(_0x1217bd(0x1dd))/0x3*(-parseInt(_0x1217bd(0x1db))/0x4)+-parseInt(_0x1217bd(0x19c))/0x5+parseInt(_0x1217bd(0x19a))/0x6+-parseInt(_0x1217bd(0x1a9))/0x7+-parseInt(_0x1217bd(0x1d6))/0x8;if(_0x30cbf1===_0x2428e5)break;else _0x56cfa7['push'](_0x56cfa7['shift']());}catch(_0x47471e){_0x56cfa7['push'](_0x56cfa7['shift']());}}}(_0x3534,0x9863e));import{Plugin as _0x3156d1}from'ckeditor5/src/core.js';function _0x390d(_0x4b5fb9,_0x2d6d06){const _0x353408=_0x3534();return _0x390d=function(_0x390d1a,_0x2f0fe5){_0x390d1a=_0x390d1a-0x190;let _0x504603=_0x353408[_0x390d1a];return _0x504603;},_0x390d(_0x4b5fb9,_0x2d6d06);}import{Dialog as _0x421c6c}from'ckeditor5/src/ui.js';import{createElement as _0x4e32d4,global as _0x532bf9,uid as _0x1d7a55}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4af48a}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x55a946}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x83ee42}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3156d1{[_0x4bf0b9(0x1b3)]=null;[_0x4bf0b9(0x190)]=null;static get[_0x4bf0b9(0x1c8)](){const _0x50c723=_0x4bf0b9;return _0x50c723(0x1d7);}static get[_0x4bf0b9(0x1be)](){const _0x7d145a=_0x4bf0b9;return[_0x7d145a(0x1b5),_0x55a946,_0x421c6c];}static get[_0x4bf0b9(0x1aa)](){return!0x0;}static get[_0x4bf0b9(0x1de)](){return!0x0;}[_0x4bf0b9(0x195)];get[_0x4bf0b9(0x191)](){const _0x1da2c0=_0x4bf0b9;return this[_0x1da2c0(0x1b3)];}get[_0x4bf0b9(0x1c1)](){const _0x59e189=_0x4bf0b9;return this[_0x59e189(0x190)];}constructor(_0x107727){const _0x2c14af=_0x4bf0b9;super(_0x107727),this[_0x2c14af(0x195)]=_0x1d7a55();}[_0x4bf0b9(0x1a8)](){const _0xdedfea=_0x4bf0b9,_0x1cbc01=this[_0xdedfea(0x1ce)];_0x1cbc01[_0xdedfea(0x1e2)][_0xdedfea(0x1cc)](_0xdedfea(0x1a7),new _0x4af48a(_0x1cbc01));}[_0x4bf0b9(0x1c7)](){const _0x12f131=_0x4bf0b9;this[_0x12f131(0x19f)](),this[_0x12f131(0x1bd)](),this[_0x12f131(0x1c3)](),this[_0x12f131(0x1a1)](),this[_0x12f131(0x1bc)](),this[_0x12f131(0x1b8)](this[_0x12f131(0x1ce)],_0x12f131(0x1d3),()=>{const _0x2dddfb=_0x12f131;this[_0x2dddfb(0x1b3)]&&(this[_0x2dddfb(0x1b3)][_0x2dddfb(0x19b)](),this[_0x2dddfb(0x1b3)]=null),this[_0x2dddfb(0x190)]&&(this[_0x2dddfb(0x190)][_0x2dddfb(0x19b)](),this[_0x2dddfb(0x190)]=null);const _0xfa6933=_0x532bf9[_0x2dddfb(0x1b9)][_0x2dddfb(0x1d2)](_0x2dddfb(0x19d));_0xfa6933&&_0xfa6933[_0x2dddfb(0x19b)]();}),async function(_0x3d120b){const _0xf73744=_0x5ea345([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2884d9=0x535f8c3a,_0xeeea09=0x5358f7ba^_0x2884d9,_0x32ae47=window[_0x5ea345([0x44,0x61,0x74,0x65])][_0x5ea345([0x6e,0x6f,0x77])](),_0x25a1dd=_0x3d120b[_0x5ea345([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x126200=new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4f9a=>{_0x25a1dd[_0x5ea345([0x6f,0x6e,0x63,0x65])](_0x5ea345([0x72,0x65,0x61,0x64,0x79]),_0x5e4f9a);}),_0x1698dc={[_0x5ea345([0x6b,0x74,0x79])]:_0x5ea345([0x45,0x43]),[_0x5ea345([0x75,0x73,0x65])]:_0x5ea345([0x73,0x69,0x67]),[_0x5ea345([0x63,0x72,0x76])]:_0x5ea345([0x50,0x2d,0x32,0x35,0x36]),[_0x5ea345([0x78])]:_0x5ea345([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]),[_0x5ea345([0x79])]:_0x5ea345([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]),[_0x5ea345([0x61,0x6c,0x67])]:_0x5ea345([0x45,0x53,0x32,0x35,0x36])},_0x59744f=_0x25a1dd[_0x5ea345([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ea345([0x67,0x65,0x74])](_0x5ea345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x404f54(){let _0x21bced,_0x4d5188=null,_0x423009=null;try{if(_0x59744f==_0x5ea345([0x47,0x50,0x4c]))return _0x5ea345([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21bced=_0x1516e9(),!_0x21bced)return _0x5ea345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21bced[_0x5ea345([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x423009=_0x49790e(_0x21bced[_0x5ea345([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21bced[_0x5ea345([0x6a,0x74,0x69])])),await _0x31f5c8()?_0x3384e9()?_0x45b36a()?_0x5ea345([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x28e005()?(_0x21bced[_0x5ea345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ea345([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d5188=_0x1f1690(_0x5ea345([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21bced[_0x5ea345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ea345([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d5188=_0x1f1690(_0x5ea345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a7f9d()):_0x5ea345([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ea345([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ea345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ea345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45b36a(){const _0x169350=[_0x5ea345([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ea345([0x74,0x72,0x69,0x61,0x6c])][_0x5ea345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21bced[_0x5ea345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32ae47/0x3e8:0xe10*_0xeeea09;return _0x21bced[_0x5ea345([0x65,0x78,0x70])]<_0x169350;}function _0x3384e9(){const _0x4fb22a=_0x21bced[_0x5ea345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fb22a&&(!!_0x4fb22a[_0x5ea345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea345([0x2a]))||!!_0x4fb22a[_0x5ea345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea345([0x55,0x50,0x4c,0x43])));}function _0x28e005(){const _0x221905=_0x390d,_0x171b69=_0x21bced[_0x5ea345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x171b69||0x0==_0x171b69[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x406d8c}=new URL(window[_0x5ea345([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x221905(0x197)]);if(_0x171b69[_0x5ea345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406d8c))return!0x0;const _0x35a387=_0x406d8c[_0x5ea345([0x73,0x70,0x6c,0x69,0x74])](_0x5ea345([0x2e]));return _0x171b69[_0x5ea345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fa45b=>_0x1fa45b[_0x5ea345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea345([0x2a])))[_0x5ea345([0x6d,0x61,0x70])](_0x5549ed=>_0x5549ed[_0x5ea345([0x73,0x70,0x6c,0x69,0x74])](_0x5ea345([0x2e])))[_0x5ea345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bb625=>_0x4bb625[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35a387[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ea345([0x6d,0x61,0x70])](_0x56bc29=>Array(_0x35a387[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56bc29[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ea345([0x66,0x69,0x6c,0x6c])](_0x56bc29[0x0]===_0x5ea345([0x2a])?_0x5ea345([0x2a]):'')[_0x5ea345([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56bc29))[_0x5ea345([0x73,0x6f,0x6d,0x65])](_0x1003e0=>_0x35a387[_0x5ea345([0x65,0x76,0x65,0x72,0x79])]((_0x48ae74,_0x1d530f)=>_0x1003e0[_0x1d530f]===_0x48ae74||_0x1003e0[_0x1d530f]===_0x5ea345([0x2a])));}function _0x5a7f9d(){return _0x4d5188&&_0x423009?new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26e266,_0x59d7e9)=>{_0x4d5188[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x26e266,_0x59d7e9),_0x423009[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x2456cf=>{_0x2456cf!=_0x5ea345([0x56,0x61,0x6c,0x69,0x64])&&_0x26e266(_0x2456cf);},_0x59d7e9);}):_0x4d5188||_0x423009||_0x5ea345([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49790e(_0x2d7d9f,_0x13e6a4){return new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c8749=>{if(_0x1bd102())return _0x4c8749(_0x5ea345([0x56,0x61,0x6c,0x69,0x64]));_0x6f723f(),_0x25a1dd[_0x5ea345([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ea345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aba98=!0x1;const _0x5c9e6b=_0x1d7a55();function _0x4079e2(_0x19d875){return!!_0x19d875&&(typeof _0x19d875===_0x5ea345([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19d875===_0x5ea345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19d875[_0x5ea345([0x74,0x68,0x65,0x6e])]===_0x5ea345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19d875[_0x5ea345([0x63,0x61,0x74,0x63,0x68])]===_0x5ea345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x326fa2(_0x56c97a){_0x5a21e3(_0x56c97a)[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x48289b=>{if(!_0x48289b||_0x48289b[_0x5ea345([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ea345([0x6f,0x6b]))return _0x5ea345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19d997(_0x299765(_0x5c9e6b+_0x13e6a4))!=_0x48289b[_0x5ea345([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ea345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ea345([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x3159e4=>(_0x196a72(),_0x3159e4),()=>{const _0x67c9a0=_0x4859bb();return null==_0x67c9a0?(_0x196a72(),_0x5ea345([0x56,0x61,0x6c,0x69,0x64])):_0x5ea345(_0x32ae47-_0x67c9a0>(0x7753083a^_0x2884d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x4c8749)[_0x5ea345([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c8749(_0x5ea345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3879ff=0x536962ba^_0x2884d9;function _0x196a72(){const _0x48dac2=_0x5ea345([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d997(_0x299765(_0x2d7d9f)),_0x4900aa=_0x11510b(_0x19d997(window[_0x5ea345([0x4d,0x61,0x74,0x68])][_0x5ea345([0x63,0x65,0x69,0x6c])](_0x32ae47/_0x3879ff)));window[_0x5ea345([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ea345([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48dac2,_0x4900aa);}function _0x4859bb(){const _0x24000c=_0x5ea345([0x6c,0x6c,0x63,0x74,0x2d])+_0x19d997(_0x299765(_0x2d7d9f)),_0x3084dd=window[_0x5ea345([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ea345([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24000c);return _0x3084dd?window[_0x5ea345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11510b(_0x3084dd),0x10)*_0x3879ff:null;}function _0x5a21e3(_0x413c03){return new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f253f,_0x4f332c)=>{_0x413c03[_0x5ea345([0x74,0x68,0x65,0x6e])](_0x5f253f,_0x4f332c),window[_0x5ea345([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f332c,0x535e58fa^_0x2884d9);});}}_0x25a1dd[_0x5ea345([0x6f,0x6e])](_0x5ea345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35d041,_0xf8f786)=>{if(_0xf8f786[0x0]!=_0x2d7d9f)return _0x4c8749(_0x5ea345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf8f786[0x1]={..._0xf8f786[0x1],[_0x5ea345([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c9e6b};},{[_0x5ea345([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ea345([0x68,0x69,0x67,0x68])}),_0x25a1dd[_0x5ea345([0x6f,0x6e])](_0x5ea345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3beebb=>{_0x4079e2(_0x3beebb[_0x5ea345([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aba98=!0x0,_0x326fa2(_0x3beebb[_0x5ea345([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ea345([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ea345([0x6c,0x6f,0x77])}),_0x126200[_0x5ea345([0x74,0x68,0x65,0x6e])](()=>{_0x2aba98||_0x4c8749(_0x5ea345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bd102(){return _0x25a1dd[_0x5ea345([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ea345([0x76,0x69,0x65,0x77])][_0x5ea345([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ea345([0x61,0x75,0x74,0x6f]);}function _0x6f723f(){_0x25a1dd[_0x5ea345([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ea345([0x76,0x69,0x65,0x77])][_0x5ea345([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ea345([0x61,0x75,0x74,0x6f]);}}function _0x1f1690(_0x187545){const _0x25e15c=[new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x176060=>setTimeout(_0x176060,0x5356b2f6^_0x2884d9)),_0x126200[_0x5ea345([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9538f5=>{let _0x11630a=0x0;_0x25a1dd[_0x5ea345([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ea345([0x6f,0x6e])](_0x5ea345([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x275f9a,_0x54045a)=>{_0x54045a[0x0][_0x5ea345([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11630a++,_0x11630a==(0x535f8dc2^_0x2884d9)&&(_0x9538f5(),_0x275f9a[_0x5ea345([0x6f,0x66,0x66])]());});}))];return window[_0x5ea345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ea345([0x72,0x61,0x63,0x65])](_0x25e15c)[_0x5ea345([0x74,0x68,0x65,0x6e])](()=>_0x187545);}async function _0x62a20b(){await _0x126200,_0x25a1dd[_0x5ea345([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ea345([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25eab8,_0x25a1dd[_0x5ea345([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ea345([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25eab8,_0x25a1dd[_0x5ea345([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ea345([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5238d0(_0x37a084){const _0x328d42=_0x212ee0();_0x25a1dd[_0x328d42]=_0x5ea345([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37a084,_0x37a084!=_0x5ea345([0x56,0x61,0x6c,0x69,0x64])&&_0x62a20b();}function _0x212ee0(){const _0x325807=window[_0x5ea345([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ea345([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ea345([0x6e,0x6f,0x77])]())[_0x5ea345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ea345([0x2e]),'');let _0x1df07d=_0x5ea345([0x68]);for(let _0x3412b2=0x0;_0x3412b2<_0x325807[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3412b2+=0x2){let _0x332b95=window[_0x5ea345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x325807[_0x5ea345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3412b2,_0x3412b2+0x2));_0x332b95>=_0xf73744[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x332b95-=_0xf73744[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1df07d+=_0xf73744[_0x332b95];}return _0x1df07d;}function _0x1516e9(){const _0x3e2b08=_0x59744f[_0x5ea345([0x73,0x70,0x6c,0x69,0x74])](_0x5ea345([0x2e]));if(0x3!=_0x3e2b08[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b3d59(_0x3e2b08[0x1]);function _0x4b3d59(_0x526868){const _0x535405=_0x3b753e(_0x526868);return _0x535405&&_0x5528c7()?_0x535405:null;function _0x5528c7(){const _0x585de0=_0x535405[_0x5ea345([0x6a,0x74,0x69])],_0x448308=window[_0x5ea345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x585de0[_0x5ea345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x585de0[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b58f0={..._0x535405,[_0x5ea345([0x6a,0x74,0x69])]:_0x585de0[_0x5ea345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x585de0[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b58f0[_0x5ea345([0x76,0x63])],_0x299765(_0x1b58f0)==_0x448308;}}}async function _0x31f5c8(){let _0x5d7651=!0x0;try{const _0x5cce39=_0x59744f[_0x5ea345([0x73,0x70,0x6c,0x69,0x74])](_0x5ea345([0x2e])),[_0x1d4c06,_0x243d64,_0x2c759c]=_0x5cce39;return _0x48bede(_0x1d4c06),await _0x5af9fe(_0x1d4c06,_0x243d64,_0x2c759c),_0x5d7651;}catch{return!0x1;}function _0x48bede(_0x3efb43){const _0x4470e2=_0x3b753e(_0x3efb43);_0x4470e2&&_0x4470e2[_0x5ea345([0x61,0x6c,0x67])]==_0x5ea345([0x45,0x53,0x32,0x35,0x36])||(_0x5d7651=!0x1);}async function _0x5af9fe(_0x11350c,_0x3cf9d9,_0x557df0){const _0x3bbba3=window[_0x5ea345([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ea345([0x66,0x72,0x6f,0x6d])](_0x5c14e3(_0x557df0),_0x543aa2=>_0x543aa2[_0x5ea345([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1062b5=new window[(_0x5ea345([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ea345([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11350c+_0x5ea345([0x2e])+_0x3cf9d9),_0x1b48dc=window[_0x5ea345([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ea345([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b48dc)return;const _0x23baf2=await _0x1b48dc[_0x5ea345([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ea345([0x6a,0x77,0x6b]),_0x1698dc,{[_0x5ea345([0x6e,0x61,0x6d,0x65])]:_0x5ea345([0x45,0x43,0x44,0x53,0x41]),[_0x5ea345([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ea345([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ea345([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b48dc[_0x5ea345([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ea345([0x6e,0x61,0x6d,0x65])]:_0x5ea345([0x45,0x43,0x44,0x53,0x41]),[_0x5ea345([0x68,0x61,0x73,0x68])]:{[_0x5ea345([0x6e,0x61,0x6d,0x65])]:_0x5ea345([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23baf2,_0x3bbba3,_0x1062b5)||(_0x5d7651=!0x1);}}function _0x3b753e(_0x3b04a3){return _0x3b04a3[_0x5ea345([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ea345([0x65,0x79]))?JSON[_0x5ea345([0x70,0x61,0x72,0x73,0x65])](_0x5c14e3(_0x3b04a3)):null;}function _0x5c14e3(_0x45705d){return window[_0x5ea345([0x61,0x74,0x6f,0x62])](_0x45705d[_0x5ea345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ea345([0x2b]))[_0x5ea345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ea345([0x2f])));}function _0x299765(_0x159018){let _0x3c064f=0x1505;function _0x66f668(_0x762a82){for(let _0x1dba1e=0x0;_0x1dba1e<_0x762a82[_0x5ea345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dba1e++){const _0x17ce4d=_0x762a82[_0x5ea345([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1dba1e);_0x3c064f=(_0x3c064f<<0x5)+_0x3c064f+_0x17ce4d,_0x3c064f&=_0x3c064f;}}function _0x37f45d(_0x178708){Array[_0x5ea345([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x178708)?_0x178708[_0x5ea345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37f45d):_0x178708&&typeof _0x178708==_0x5ea345([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ea345([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x178708)[_0x5ea345([0x73,0x6f,0x72,0x74])]()[_0x5ea345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x205f66,_0x4d2b8a])=>{_0x66f668(_0x205f66),_0x37f45d(_0x4d2b8a);}):_0x66f668(window[_0x5ea345([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x178708));}return _0x37f45d(_0x159018),_0x3c064f>>>0x0;}function _0x19d997(_0x26ab8f){return _0x26ab8f[_0x5ea345([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ea345([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ea345([0x30]));}function _0x11510b(_0x238585){return _0x238585[_0x5ea345([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ea345([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ea345([0x6a,0x6f,0x69,0x6e])]('');}function _0x25eab8(){}function _0x5ea345(_0x7b2e01){const _0x19990a=_0x390d;return _0x7b2e01[_0x19990a(0x1ad)](_0x1301e0=>String[_0x19990a(0x196)](_0x1301e0))[_0x19990a(0x1dc)]('');}_0x5238d0(await _0x404f54());}(this);}[_0x4bf0b9(0x19f)](){const _0x54df29=_0x4bf0b9,_0x59e314=this[_0x54df29(0x1ce)][_0x54df29(0x1a4)][_0x54df29(0x194)];_0x59e314[_0x54df29(0x1b0)](_0x54df29(0x1a2))&&_0x59e314[_0x54df29(0x1cd)](_0x54df29(0x1a2),{'allowAttributes':[_0x54df29(0x1a3)]}),_0x59e314[_0x54df29(0x1b0)](_0x54df29(0x1c5))&&_0x59e314[_0x54df29(0x1cd)](_0x54df29(0x1c5),{'allowAttributes':[_0x54df29(0x1a3)]});}[_0x4bf0b9(0x1bd)](){const _0x135386=_0x4bf0b9,_0x36c92e=this[_0x135386(0x1ce)];_0x36c92e[_0x135386(0x1bf)][_0x135386(0x1ac)](_0x135386(0x1d0))[_0x135386(0x1e0)]({'model':_0x135386(0x1a3),'view':_0x135386(0x1a5)}),_0x36c92e[_0x135386(0x1bf)][_0x135386(0x1ac)](_0x135386(0x1d8))[_0x135386(0x1d4)]({'model':{'key':_0x135386(0x1a3),'value':_0x5edce7=>_0x5edce7[_0x135386(0x1c0)](_0x135386(0x1a5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x933e4=_0x36c92e[_0x135386(0x1e2)][_0x135386(0x1bb)](_0x135386(0x192));_0x933e4&&this[_0x135386(0x1b8)](_0x933e4,_0x135386(0x199),(_0x405ca0,[_0x99a668,_0x441909])=>{const _0xdbdf13=_0x135386;_0x99a668[_0xdbdf13(0x1d1)](_0xdbdf13(0x1a3),_0x441909);});}[_0x4bf0b9(0x1c3)](){const _0x3fb8fa=_0x4bf0b9,_0x3e0a00=this[_0x3fb8fa(0x1ce)][_0x3fb8fa(0x1cf)][_0x3fb8fa(0x1bb)](_0x3fb8fa(0x1b1))||{},_0x3b916b=this[_0x3fb8fa(0x1ce)][_0x3fb8fa(0x1cf)][_0x3fb8fa(0x1bb)](_0x3fb8fa(0x19e))||'';this[_0x3fb8fa(0x1b3)]=_0x4e32d4(_0x532bf9[_0x3fb8fa(0x1b9)],_0x3fb8fa(0x1ab),{..._0x3e0a00,'pubkey':_0x3b916b,'ctx-name':_0x3fb8fa(0x193)+this[_0x3fb8fa(0x195)],'sourceList':'','imgOnly':_0x3fb8fa(0x1e1),'removeCopyright':_0x3fb8fa(0x1e1),'localeName':this[_0x3fb8fa(0x1ce)][_0x3fb8fa(0x1da)][_0x3fb8fa(0x1b7)],'externalSourcesEmbedCss':_0x3fb8fa(0x1a6)}),this[_0x3fb8fa(0x1b3)][_0x3fb8fa(0x1ae)]=_0x65371c=>{const _0x498ffd=_0x3fb8fa;if(_0x498ffd(0x1d5)==_0x65371c)return _0x498ffd(0x1cb);},_0x532bf9[_0x3fb8fa(0x1b9)][_0x3fb8fa(0x1b2)][_0x3fb8fa(0x1c4)](this[_0x3fb8fa(0x1b3)]);}[_0x4bf0b9(0x1a1)](){const _0x5ef3c1=_0x4bf0b9;this[_0x5ef3c1(0x190)]=_0x4e32d4(_0x532bf9[_0x5ef3c1(0x1b9)],_0x5ef3c1(0x1c6),{'ctx-name':_0x5ef3c1(0x193)+this[_0x5ef3c1(0x195)]}),_0x532bf9[_0x5ef3c1(0x1b9)][_0x5ef3c1(0x1b2)][_0x5ef3c1(0x1c4)](this[_0x5ef3c1(0x190)]);}[_0x4bf0b9(0x1bc)](){const _0x2b356d=_0x4bf0b9,_0xf3ca32=this[_0x2b356d(0x1ce)][_0x2b356d(0x1e2)][_0x2b356d(0x1bb)](_0x2b356d(0x1df));_0xf3ca32&&this[_0x2b356d(0x1b8)](_0xf3ca32,_0x2b356d(0x198),()=>{const _0x1fc9ff=_0x2b356d,_0x531c11=this[_0x1fc9ff(0x1ce)][_0x1fc9ff(0x1a4)][_0x1fc9ff(0x1b9)][_0x1fc9ff(0x1ca)][_0x1fc9ff(0x1af)]();_0x531c11&&_0x531c11[_0x1fc9ff(0x1c0)](_0x1fc9ff(0x1a3))&&this[_0x1fc9ff(0x1ce)][_0x1fc9ff(0x1d9)][_0x1fc9ff(0x1ba)][_0x1fc9ff(0x1b4)](_0x1fc9ff(0x1a0),()=>{const _0x2bb08a=_0x1fc9ff;_0x83ee42(this[_0x2bb08a(0x1ce)],_0x531c11);});});const _0x1c3d92=this[_0x2b356d(0x1ce)][_0x2b356d(0x1e2)][_0x2b356d(0x1bb)](_0x2b356d(0x1c9));_0x1c3d92&&this[_0x2b356d(0x1b8)](_0x1c3d92,_0x2b356d(0x198),()=>{const _0x4824ea=_0x2b356d,_0x58d3dc=this[_0x4824ea(0x1ce)][_0x4824ea(0x1a4)][_0x4824ea(0x1b9)][_0x4824ea(0x1ca)][_0x4824ea(0x1af)]();_0x58d3dc&&_0x58d3dc[_0x4824ea(0x1c0)](_0x4824ea(0x1a3))&&this[_0x4824ea(0x1ce)][_0x4824ea(0x1d9)][_0x4824ea(0x1ba)][_0x4824ea(0x1b4)](_0x4824ea(0x1a0),()=>{const _0x311a97=_0x4824ea;_0x83ee42(this[_0x311a97(0x1ce)],_0x58d3dc);});});}}function _0x3534(){const _0xc026c3=['remove','1917565xBHoKr','input[uploadcare-file-input]','uploadcare.pubkey','_initSchema','render','_initCtx','imageBlock','uploadcareImageId','model','data-uc-image-id','\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','uploadcare','init','1836394xQtiJd','isOfficialPlugin','uc-config','for','map','iconHrefResolver','getSelectedElement','isRegistered','uploadcare.uploader','body','_configElement','once','PictureEditing','1129102KBDQFk','contentLanguage','listenTo','document','view','get','_initImageProcessingIndicator','_initConversion','requires','conversion','getAttribute','ctxElement','575600tVovbE','_initConfig','appendChild','imageInline','uc-upload-ctx-provider','afterInit','pluginName','uploadcareImageReplace','selection','#uc-icon-arrow-down','add','extend','editor','config','downcast','removeAttribute','querySelector','destroy','elementToAttribute','closeMax','15491752qLqasN','UploadcareEditing','upcast','editing','locale','4Ldgbfr','join','2147730RoMiKf','isPremiumPlugin','insertImage','attributeToAttribute','true','commands','_ctxElement','configElement','replaceImageSource','uploader-','schema','ucContextId','fromCharCode','href','execute','cleanupImage','6442212YCBQeB'];_0x3534=function(){return _0xc026c3;};return _0x3534();}
23
+ const _0x7246a1=_0xc614;function _0xc614(_0xe88b86,_0x442c67){const _0x58b022=_0x58b0();return _0xc614=function(_0xc614c4,_0x5d3966){_0xc614c4=_0xc614c4-0xaf;let _0x5dd73e=_0x58b022[_0xc614c4];return _0x5dd73e;},_0xc614(_0xe88b86,_0x442c67);}(function(_0x3d5082,_0x46db6e){const _0x435193=_0xc614,_0x68cff4=_0x3d5082();while(!![]){try{const _0x185732=-parseInt(_0x435193(0xdf))/0x1+-parseInt(_0x435193(0xb8))/0x2*(parseInt(_0x435193(0xf6))/0x3)+-parseInt(_0x435193(0xb2))/0x4*(parseInt(_0x435193(0xde))/0x5)+-parseInt(_0x435193(0xdb))/0x6+parseInt(_0x435193(0xd2))/0x7+parseInt(_0x435193(0xf0))/0x8+parseInt(_0x435193(0xb1))/0x9;if(_0x185732===_0x46db6e)break;else _0x68cff4['push'](_0x68cff4['shift']());}catch(_0x31bdb1){_0x68cff4['push'](_0x68cff4['shift']());}}}(_0x58b0,0xdf3ed));import{Plugin as _0x25df8b}from'ckeditor5/src/core.js';import{Dialog as _0x1c31b6}from'ckeditor5/src/ui.js';import{createElement as _0x1c201b,global as _0x490fe3,uid as _0xd153b6}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x275ced}from'./uploadcarecommand.js';function _0x58b0(){const _0x376dce=['14605xPSFkh','517003cfbjTV','editing','conversion','body','contentLanguage','href','iconHrefResolver','editor','render','imageInline','fromCharCode','PictureEditing','init','uc-config','once','document','cleanupImage','543800SQsOjn','_configElement','destroy','upcast','_initConfig','querySelector','6249fdWiSJ','for','pluginName','uploadcare.pubkey','add','isOfficialPlugin','\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','data-uc-image-id','extend','execute','afterInit','schema','uploadcareImageId','_initCtx','ctxElement','18359010HTkHWs','1252exmXjQ','true','selection','elementToAttribute','_initSchema','requires','192JUAAQo','replaceImageSource','isPremiumPlugin','uploadcare.uploader','imageBlock','uploadcareImageReplace','view','commands','getAttribute','join','getSelectedElement','isRegistered','downcast','model','closeMax','map','locale','insertImage','attributeToAttribute','get','_initImageProcessingIndicator','_ctxElement','UploadcareEditing','ucContextId','uploadcare','uc-upload-ctx-provider','10509443hiciyM','configElement','removeAttribute','#uc-icon-arrow-down','_initConversion','appendChild','config','uploader-','remove','6381342jiWjFZ','input[uploadcare-file-input]','listenTo'];_0x58b0=function(){return _0x376dce;};return _0x58b0();}import{UploadcareUploadAdapter as _0x3fb762}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x545154}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25df8b{[_0x7246a1(0xf1)]=null;[_0x7246a1(0xcd)]=null;static get[_0x7246a1(0xf8)](){const _0x2bc404=_0x7246a1;return _0x2bc404(0xce);}static get[_0x7246a1(0xb7)](){const _0x386c73=_0x7246a1;return[_0x386c73(0xea),_0x3fb762,_0x1c31b6];}static get[_0x7246a1(0xfb)](){return!0x0;}static get[_0x7246a1(0xba)](){return!0x0;}[_0x7246a1(0xcf)];get[_0x7246a1(0xd3)](){const _0x37166c=_0x7246a1;return this[_0x37166c(0xf1)];}get[_0x7246a1(0xb0)](){const _0x5754fa=_0x7246a1;return this[_0x5754fa(0xcd)];}constructor(_0x2089a9){const _0x36ab3d=_0x7246a1;super(_0x2089a9),this[_0x36ab3d(0xcf)]=_0xd153b6();}[_0x7246a1(0xeb)](){const _0x3dde5d=_0x7246a1,_0x2b7826=this[_0x3dde5d(0xe6)];_0x2b7826[_0x3dde5d(0xbf)][_0x3dde5d(0xfa)](_0x3dde5d(0xd0),new _0x275ced(_0x2b7826));}[_0x7246a1(0x100)](){const _0x5d22e0=_0x7246a1;this[_0x5d22e0(0xb6)](),this[_0x5d22e0(0xd6)](),this[_0x5d22e0(0xf4)](),this[_0x5d22e0(0xaf)](),this[_0x5d22e0(0xcc)](),this[_0x5d22e0(0xdd)](this[_0x5d22e0(0xe6)],_0x5d22e0(0xf2),()=>{const _0x41b459=_0x5d22e0;this[_0x41b459(0xf1)]&&(this[_0x41b459(0xf1)][_0x41b459(0xda)](),this[_0x41b459(0xf1)]=null),this[_0x41b459(0xcd)]&&(this[_0x41b459(0xcd)][_0x41b459(0xda)](),this[_0x41b459(0xcd)]=null);const _0x5a88e6=_0x490fe3[_0x41b459(0xee)][_0x41b459(0xf5)](_0x41b459(0xdc));_0x5a88e6&&_0x5a88e6[_0x41b459(0xda)]();}),async function(_0x1c1aef){const _0x52e55a=_0x3351b9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5ef953=0x535f8c3a,_0x5d6038=0x5358f7a2^_0x5ef953,_0x3a4b4e=window[_0x3351b9([0x44,0x61,0x74,0x65])][_0x3351b9([0x6e,0x6f,0x77])](),_0x550437=_0x1c1aef[_0x3351b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592695=new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x240af1=>{_0x550437[_0x3351b9([0x6f,0x6e,0x63,0x65])](_0x3351b9([0x72,0x65,0x61,0x64,0x79]),_0x240af1);}),_0x3252d1={[_0x3351b9([0x6b,0x74,0x79])]:_0x3351b9([0x45,0x43]),[_0x3351b9([0x75,0x73,0x65])]:_0x3351b9([0x73,0x69,0x67]),[_0x3351b9([0x63,0x72,0x76])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3351b9([0x78])]:_0x3351b9([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]),[_0x3351b9([0x79])]:_0x3351b9([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]),[_0x3351b9([0x61,0x6c,0x67])]:_0x3351b9([0x45,0x53,0x32,0x35,0x36])},_0x58c2a5=_0x550437[_0x3351b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3351b9([0x67,0x65,0x74])](_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bc78f(){let _0x34254a,_0x2a49b7=null,_0x12f02e=null;try{if(_0x58c2a5==_0x3351b9([0x47,0x50,0x4c]))return _0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34254a=_0x1878be(),!_0x34254a)return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12f02e=_0x1b0988(_0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34254a[_0x3351b9([0x6a,0x74,0x69])])),await _0x3f8cad()?_0x385964()?_0x13bc82()?_0x3351b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x293373()?(_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e58a8()):_0x3351b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13bc82(){const _0xc1b905=[_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3351b9([0x74,0x72,0x69,0x61,0x6c])][_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a4b4e/0x3e8:0xe10*_0x5d6038;return _0x34254a[_0x3351b9([0x65,0x78,0x70])]<_0xc1b905;}function _0x385964(){const _0x28f61e=_0x34254a[_0x3351b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f61e&&(!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a]))||!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x55,0x50,0x4c,0x43])));}function _0x293373(){const _0x30a5df=_0xc614,_0x5e67f5=_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e67f5||0x0==_0x5e67f5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x119360}=new URL(window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30a5df(0xe4)]);if(_0x5e67f5[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119360))return!0x0;const _0x5e9f00=_0x119360[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));return _0x5e67f5[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5236f8=>_0x5236f8[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a])))[_0x3351b9([0x6d,0x61,0x70])](_0x4500a7=>_0x4500a7[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])))[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104ced=>_0x104ced[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x6d,0x61,0x70])](_0x4959fa=>Array(_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4959fa[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x66,0x69,0x6c,0x6c])](_0x4959fa[0x0]===_0x3351b9([0x2a])?_0x3351b9([0x2a]):'')[_0x3351b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4959fa))[_0x3351b9([0x73,0x6f,0x6d,0x65])](_0x2123a3=>_0x5e9f00[_0x3351b9([0x65,0x76,0x65,0x72,0x79])]((_0x4f80fc,_0x43e67e)=>_0x2123a3[_0x43e67e]===_0x4f80fc||_0x2123a3[_0x43e67e]===_0x3351b9([0x2a])));}function _0x3e58a8(){return _0x2a49b7&&_0x12f02e?new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e29b1,_0x4d8a22)=>{_0x2a49b7[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x9e29b1,_0x4d8a22),_0x12f02e[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x164399=>{_0x164399!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x9e29b1(_0x164399);},_0x4d8a22);}):_0x2a49b7||_0x12f02e||_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b0988(_0x5ef2e3,_0x14b8b4){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b334=>{if(_0x39c36f())return _0x33b334(_0x3351b9([0x56,0x61,0x6c,0x69,0x64]));_0x1c8589(),_0x550437[_0x3351b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6d6dd6=!0x1;const _0x49abae=_0xd153b6();function _0x2177e8(_0x2ad1ab){return!!_0x2ad1ab&&(typeof _0x2ad1ab===_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad1ab===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad1ab[_0x3351b9([0x74,0x68,0x65,0x6e])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad1ab[_0x3351b9([0x63,0x61,0x74,0x63,0x68])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdb40(_0x3cf719){_0x2dd1f0(_0x3cf719)[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x504144=>{if(!_0x504144||_0x504144[_0x3351b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3351b9([0x6f,0x6b]))return _0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309061(_0x2e9e6f(_0x49abae+_0x14b8b4))!=_0x504144[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x404ced=>(_0x4f9b55(),_0x404ced),()=>{const _0x473395=_0x52d41f();return null==_0x473395?(_0x4f9b55(),_0x3351b9([0x56,0x61,0x6c,0x69,0x64])):_0x3351b9(_0x3a4b4e-_0x473395>(0x7753083a^_0x5ef953)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x33b334)[_0x3351b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf63ceb=0x536962ba^_0x5ef953;function _0x4f9b55(){const _0x33c063=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x59c981=_0x428f14(_0x309061(window[_0x3351b9([0x4d,0x61,0x74,0x68])][_0x3351b9([0x63,0x65,0x69,0x6c])](_0x3a4b4e/_0xf63ceb)));window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33c063,_0x59c981);}function _0x52d41f(){const _0x8d5beb=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x35e3d1=window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8d5beb);return _0x35e3d1?window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x428f14(_0x35e3d1),0x10)*_0xf63ceb:null;}function _0x2dd1f0(_0x37c67b){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22708a,_0x354825)=>{_0x37c67b[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x22708a,_0x354825),window[_0x3351b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354825,0x535e58fa^_0x5ef953);});}}_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x601ddf,_0x52138b)=>{if(_0x52138b[0x0]!=_0x5ef2e3)return _0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52138b[0x1]={..._0x52138b[0x1],[_0x3351b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49abae};},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x68,0x69,0x67,0x68])}),_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ff2ae=>{_0x2177e8(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6d6dd6=!0x0,_0x4bdb40(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x6c,0x6f,0x77])}),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>{_0x6d6dd6||_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39c36f(){return _0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3351b9([0x61,0x75,0x74,0x6f]);}function _0x1c8589(){_0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3351b9([0x61,0x75,0x74,0x6f]);}}function _0x19ea79(_0x52d8c7){const _0x5fbd40=[new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b54f6=>setTimeout(_0x3b54f6,0x5356b2f6^_0x5ef953)),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562406=>{let _0x28ccc0=0x0;_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x6f,0x6e])](_0x3351b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c67fd,_0x177110)=>{_0x177110[0x0][_0x3351b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ccc0++,_0x28ccc0==(0x535f8dc2^_0x5ef953)&&(_0x562406(),_0x2c67fd[_0x3351b9([0x6f,0x66,0x66])]());});}))];return window[_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3351b9([0x72,0x61,0x63,0x65])](_0x5fbd40)[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>_0x52d8c7);}async function _0x45770d(){await _0x592695,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c28bb(_0xa0e0df){const _0x8987f4=_0x331346();_0x550437[_0x8987f4]=_0x3351b9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0e0df,_0xa0e0df!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x45770d();}function _0x331346(){const _0x1a1a1d=window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3351b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3351b9([0x6e,0x6f,0x77])]())[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3351b9([0x2e]),'');let _0x864acf=_0x3351b9([0x68]);for(let _0x51948a=0x0;_0x51948a<_0x1a1a1d[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51948a+=0x2){let _0x2abdd9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1a1d[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51948a,_0x51948a+0x2));_0x2abdd9>=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2abdd9-=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x864acf+=_0x52e55a[_0x2abdd9];}return _0x864acf;}function _0x1878be(){const _0x4259c5=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));if(0x3!=_0x4259c5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b22bd(_0x4259c5[0x1]);function _0x2b22bd(_0x54cb06){const _0x5414f4=_0xd3471e(_0x54cb06);return _0x5414f4&&_0x484618()?_0x5414f4:null;function _0x484618(){const _0x27184f=_0x5414f4[_0x3351b9([0x6a,0x74,0x69])],_0x2c83e9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e7ae7={..._0x5414f4,[_0x3351b9([0x6a,0x74,0x69])]:_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e7ae7[_0x3351b9([0x76,0x63])],_0x2e9e6f(_0x2e7ae7)==_0x2c83e9;}}}async function _0x3f8cad(){let _0x2d1c84=!0x0;try{const _0x2152ea=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])),[_0x10c918,_0x13d4fe,_0x2f2f2d]=_0x2152ea;return _0x2e2a05(_0x10c918),await _0x44d5ae(_0x10c918,_0x13d4fe,_0x2f2f2d),_0x2d1c84;}catch{return!0x1;}function _0x2e2a05(_0x439394){const _0x5ed1ee=_0xd3471e(_0x439394);_0x5ed1ee&&_0x5ed1ee[_0x3351b9([0x61,0x6c,0x67])]==_0x3351b9([0x45,0x53,0x32,0x35,0x36])||(_0x2d1c84=!0x1);}async function _0x44d5ae(_0x3d5525,_0xcd2d2d,_0x4375f5){const _0x24c70a=window[_0x3351b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3351b9([0x66,0x72,0x6f,0x6d])](_0xb4cbe0(_0x4375f5),_0x30b516=>_0x30b516[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571584=new window[(_0x3351b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3351b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5525+_0x3351b9([0x2e])+_0xcd2d2d),_0x2e369c=window[_0x3351b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3351b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e369c)return;const _0x37548c=await _0x2e369c[_0x3351b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3351b9([0x6a,0x77,0x6b]),_0x3252d1,{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e369c[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x68,0x61,0x73,0x68])]:{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37548c,_0x24c70a,_0x571584)||(_0x2d1c84=!0x1);}}function _0xd3471e(_0x1db985){return _0x1db985[_0x3351b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3351b9([0x65,0x79]))?JSON[_0x3351b9([0x70,0x61,0x72,0x73,0x65])](_0xb4cbe0(_0x1db985)):null;}function _0xb4cbe0(_0x127819){return window[_0x3351b9([0x61,0x74,0x6f,0x62])](_0x127819[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3351b9([0x2b]))[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3351b9([0x2f])));}function _0x2e9e6f(_0x38058d){let _0x2e8d49=0x1505;function _0x5ef8ea(_0x5ca497){for(let _0x4f46d2=0x0;_0x4f46d2<_0x5ca497[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f46d2++){const _0x57bb53=_0x5ca497[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f46d2);_0x2e8d49=(_0x2e8d49<<0x5)+_0x2e8d49+_0x57bb53,_0x2e8d49&=_0x2e8d49;}}function _0x2ee8d4(_0x5a9cb8){Array[_0x3351b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a9cb8)?_0x5a9cb8[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee8d4):_0x5a9cb8&&typeof _0x5a9cb8==_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3351b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a9cb8)[_0x3351b9([0x73,0x6f,0x72,0x74])]()[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a7f8e,_0x29a42e])=>{_0x5ef8ea(_0x1a7f8e),_0x2ee8d4(_0x29a42e);}):_0x5ef8ea(window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a9cb8));}return _0x2ee8d4(_0x38058d),_0x2e8d49>>>0x0;}function _0x309061(_0xac8f23){return _0xac8f23[_0x3351b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3351b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3351b9([0x30]));}function _0x428f14(_0x5cdf93){return _0x5cdf93[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3351b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3351b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a7734(){}function _0x3351b9(_0x3e2ac0){const _0x5cd761=_0xc614;return _0x3e2ac0[_0x5cd761(0xc7)](_0x22947d=>String[_0x5cd761(0xe9)](_0x22947d))[_0x5cd761(0xc1)]('');}_0x3c28bb(await _0x4bc78f());}(this);}[_0x7246a1(0xb6)](){const _0xafd830=_0x7246a1,_0x2ea210=this[_0xafd830(0xe6)][_0xafd830(0xc5)][_0xafd830(0x101)];_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xbc))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xbc),{'allowAttributes':[_0xafd830(0x102)]}),_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xe8))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xe8),{'allowAttributes':[_0xafd830(0x102)]});}[_0x7246a1(0xd6)](){const _0x33256e=_0x7246a1,_0x43c8b3=this[_0x33256e(0xe6)];_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xc4))[_0x33256e(0xca)]({'model':_0x33256e(0x102),'view':_0x33256e(0xfd)}),_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xf3))[_0x33256e(0xb5)]({'model':{'key':_0x33256e(0x102),'value':_0x40489a=>_0x40489a[_0x33256e(0xc0)](_0x33256e(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2078f9=_0x43c8b3[_0x33256e(0xbf)][_0x33256e(0xcb)](_0x33256e(0xb9));_0x2078f9&&this[_0x33256e(0xdd)](_0x2078f9,_0x33256e(0xef),(_0x3b50ab,[_0x3caed7,_0xcca929])=>{const _0xfab00f=_0x33256e;_0x3caed7[_0xfab00f(0xd4)](_0xfab00f(0x102),_0xcca929);});}[_0x7246a1(0xf4)](){const _0x55d69f=_0x7246a1,_0x59c158=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xbb))||{},_0x5ed570=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xf9))||'';this[_0x55d69f(0xf1)]=_0x1c201b(_0x490fe3[_0x55d69f(0xee)],_0x55d69f(0xec),{..._0x59c158,'pubkey':_0x5ed570,'ctx-name':_0x55d69f(0xd9)+this[_0x55d69f(0xcf)],'sourceList':'','imgOnly':_0x55d69f(0xb3),'removeCopyright':_0x55d69f(0xb3),'localeName':this[_0x55d69f(0xe6)][_0x55d69f(0xc8)][_0x55d69f(0xe3)],'externalSourcesEmbedCss':_0x55d69f(0xfc)}),this[_0x55d69f(0xf1)][_0x55d69f(0xe5)]=_0x2309b7=>{const _0x32a380=_0x55d69f;if(_0x32a380(0xc6)==_0x2309b7)return _0x32a380(0xd5);},_0x490fe3[_0x55d69f(0xee)][_0x55d69f(0xe2)][_0x55d69f(0xd7)](this[_0x55d69f(0xf1)]);}[_0x7246a1(0xaf)](){const _0x17df0e=_0x7246a1;this[_0x17df0e(0xcd)]=_0x1c201b(_0x490fe3[_0x17df0e(0xee)],_0x17df0e(0xd1),{'ctx-name':_0x17df0e(0xd9)+this[_0x17df0e(0xcf)]}),_0x490fe3[_0x17df0e(0xee)][_0x17df0e(0xe2)][_0x17df0e(0xd7)](this[_0x17df0e(0xcd)]);}[_0x7246a1(0xcc)](){const _0x33ce41=_0x7246a1,_0x1b8183=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xc9));_0x1b8183&&this[_0x33ce41(0xdd)](_0x1b8183,_0x33ce41(0xff),()=>{const _0x507f11=_0x33ce41,_0x21284d=this[_0x507f11(0xe6)][_0x507f11(0xc5)][_0x507f11(0xee)][_0x507f11(0xb4)][_0x507f11(0xc2)]();_0x21284d&&_0x21284d[_0x507f11(0xc0)](_0x507f11(0x102))&&this[_0x507f11(0xe6)][_0x507f11(0xe0)][_0x507f11(0xbe)][_0x507f11(0xed)](_0x507f11(0xe7),()=>{const _0x39b9d8=_0x507f11;_0x545154(this[_0x39b9d8(0xe6)],_0x21284d);});});const _0x30e649=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xbd));_0x30e649&&this[_0x33ce41(0xdd)](_0x30e649,_0x33ce41(0xff),()=>{const _0xf82648=_0x33ce41,_0x88f6e4=this[_0xf82648(0xe6)][_0xf82648(0xc5)][_0xf82648(0xee)][_0xf82648(0xb4)][_0xf82648(0xc2)]();_0x88f6e4&&_0x88f6e4[_0xf82648(0xc0)](_0xf82648(0x102))&&this[_0xf82648(0xe6)][_0xf82648(0xe0)][_0xf82648(0xbe)][_0xf82648(0xed)](_0xf82648(0xe7),()=>{const _0x15a716=_0xf82648;_0x545154(this[_0x15a716(0xe6)],_0x88f6e4);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4d3358,ObservableMixin as _0x5710d2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3c678a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x19cd74}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2af57d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x27f3c1}from'../../utils/uploadutils.js';import{getImageUrls as _0x4ac3d0,getImageDimension as _0x41b8f6}from'../../utils/editingutils.js';import{isAncestor as _0x5e3362}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5710d2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x38042e,_0x40f14d,_0x22ab2b){super(),this['_editor']=_0x38042e,this['_dialog']=_0x40f14d,this['_imageElement']=_0x22ab2b,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 _0x499a33=this['_imageElement'],_0x5678bf=_0x499a33['getAttribute']('uploadcareImageId'),_0x417d11=_0x499a33['getAttribute']('src');if(_0x5678bf)await this['_loadImageInfo'](_0x5678bf,_0x417d11);else{if(this['_imageCache']['has'](_0x417d11)){const _0x48a86c=this['_imageCache']['get'](_0x417d11);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48a86c['url'],this['imageDimension']=_0x48a86c['dimension'],this['imageId']=_0x48a86c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x18dc88}=this['_editor'],t=_0x18dc88['t'],_0x3c8228=new _0x2af57d(_0x18dc88,this['imageStatus'],this['_attributes']);_0x3c8228['bind']('status')['to'](this,'imageStatus'),_0x3c8228['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c8228['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c8228['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c8228,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x19cd74,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c8228,'position':_0x3c678a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c8228['focus']();},'onHide':()=>{_0x3c8228['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49c2e8=>!_0x5e3362(_0x49c2e8,_0x3c8228['element'])}});}['_loadImageInfo'](_0xc5af2b,_0x82b9a){return _0x27f3c1['getInfo'](_0xc5af2b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x57ec2e=>{const {width:_0x2c5d3d,height:_0x318d5a}=_0x57ec2e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x82b9a,this['imageDimension']={'width':_0x2c5d3d,'height':_0x318d5a},this['imageId']=_0xc5af2b;})['catch'](_0x3712bd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3712bd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b9092,_0xa482ee){return this['_getImageAsFile'](_0x4b9092)['then'](_0xc31fad=>_0x27f3c1['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xa482ee['signal'],'file':_0xc31fad,'onProgress':_0x136fdb=>{_0x136fdb&&_0x136fdb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x136fdb['value']));}}))['then'](_0x5ced7a=>{const {width:_0x5d47ec,height:_0x41c0a1}=_0x5ced7a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ced7a['cdnUrl'],this['imageDimension']={'width':_0x5d47ec,'height':_0x41c0a1},this['imageId']=_0x5ced7a['uuid'],this['imageUploadProgress']=null;const _0x14baaf=_0x4b9092['getAttribute']('src');this['_imageCache']['set'](_0x14baaf,{'id':_0x5ced7a['uuid'],'url':_0x5ced7a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x43bb7a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x43bb7a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x408dad,_0x5b764f){_0x408dad['on']('apply',(_0x429d2b,_0x2a5dd0)=>{this['_replaceImage'](_0x5b764f,_0x2a5dd0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x408dad['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x408dad['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x7daba7,_0x223c7a,_0x1105b4){const _0x298bc0=this['_editor'],{width:_0x5edf4c,height:_0x5951af}=_0x41b8f6(_0x223c7a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x452d76,imageSources:_0x571316}=_0x4ac3d0(_0x223c7a,_0x5edf4c);_0x298bc0['model']['change'](_0x296969=>{if('$graveyard'===_0x7daba7['root']['rootName']){_0x298bc0['execute']('insertImage',{'imageType':_0x7daba7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x7daba7['getAttributes']()),'uploadcareImageId':_0x1105b4,'src':_0x452d76,'sources':_0x571316,'width':_0x5edf4c,'height':_0x5951af}});const _0x199cb2=_0x7daba7['getChildren']();_0x7daba7=_0x298bc0['model']['document']['selection']['getSelectedElement']();for(const _0x3a656c of _0x199cb2)_0x296969['append'](_0x296969['cloneElement'](_0x3a656c),_0x7daba7);}else _0x296969['setSelection'](_0x7daba7,'on'),_0x298bc0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x7daba7['getAttributes']()),'uploadcareImageId':_0x1105b4,'src':_0x452d76,'sources':_0x571316,'width':_0x5edf4c,'height':_0x5951af},_0x7daba7);_0x296969['setSelection'](_0x7daba7,'on');});}async['_getImageAsFile'](_0x45fe49){const _0x5ebb24=_0x4d3358['window'],_0x5ef8d2=_0x4d3358['document']['location']['href'],_0x1de2d2=new _0x5ebb24['URL'](_0x45fe49['getAttribute']('src'),_0x5ef8d2);if('data:'===_0x1de2d2['protocol']){const _0x40aad2=_0x1de2d2['href']['split'](','),_0x733c2a=_0x40aad2[0x0]['match'](/:(.*?);/)[0x1],_0x1f7f8b=_0x733c2a['split']('/')[0x1],_0x45d9be=_0x5ebb24['atob'](_0x40aad2[_0x40aad2['length']-0x1]);let _0x2fe89e=_0x45d9be['length'];const _0xa1eedf=new _0x5ebb24['Uint8Array'](_0x2fe89e);for(;_0x2fe89e--;)_0xa1eedf[_0x2fe89e]=_0x45d9be['charCodeAt'](_0x2fe89e);return new _0x5ebb24['File']([_0xa1eedf],'image.'+_0x1f7f8b,{'type':_0x733c2a});}const _0x5f5410=_0x1de2d2['href']['split']('/'),_0x557910=_0x5f5410[_0x5f5410['length']-0x1],_0x5820ef=_0x557910['split']('.')[0x1];return _0x5ebb24['fetch'](_0x1de2d2['href'])['then'](_0x1dd80a=>_0x1dd80a['clone']()['blob']())['then'](_0x37a848=>new _0x5ebb24['File']([_0x37a848],_0x557910,{'type':'image/'+_0x5820ef}));}}
23
+ import{global as _0x3c3a33,ObservableMixin as _0x484bca}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x52bd2a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf678a0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xbb7ad3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43fed5}from'../../utils/uploadutils.js';import{getImageUrls as _0x336392,getImageDimension as _0x346887}from'../../utils/editingutils.js';import{isAncestor as _0x10188f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x484bca(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x161b21,_0x116e07,_0x251537){super(),this['_editor']=_0x161b21,this['_dialog']=_0x116e07,this['_imageElement']=_0x251537,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 _0x3f7a1a=this['_imageElement'],_0x89d2d0=_0x3f7a1a['getAttribute']('uploadcareImageId'),_0x5967c8=_0x3f7a1a['getAttribute']('src');if(_0x89d2d0)await this['_loadImageInfo'](_0x89d2d0,_0x5967c8);else{if(this['_imageCache']['has'](_0x5967c8)){const _0x4a760c=this['_imageCache']['get'](_0x5967c8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a760c['url'],this['imageDimension']=_0x4a760c['dimension'],this['imageId']=_0x4a760c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51041e}=this['_editor'],t=_0x51041e['t'],_0x4ff086=new _0xbb7ad3(_0x51041e,this['imageStatus'],this['_attributes']);_0x4ff086['bind']('status')['to'](this,'imageStatus'),_0x4ff086['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ff086['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ff086['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ff086,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf678a0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ff086,'position':_0x52bd2a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ff086['focus']();},'onHide':()=>{_0x4ff086['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x328c50=>!_0x10188f(_0x328c50,_0x4ff086['element'])}});}['_loadImageInfo'](_0xc4c396,_0xd9f479){return _0x43fed5['getInfo'](_0xc4c396,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x44e642=>{const {width:_0x3fbd4f,height:_0x5bdb6d}=_0x44e642['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd9f479,this['imageDimension']={'width':_0x3fbd4f,'height':_0x5bdb6d},this['imageId']=_0xc4c396;})['catch'](_0x2b1814=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b1814['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x358b47,_0x2ec367){return this['_getImageAsFile'](_0x358b47)['then'](_0x17f2ef=>_0x43fed5['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2ec367['signal'],'file':_0x17f2ef,'onProgress':_0x50d810=>{_0x50d810&&_0x50d810['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x50d810['value']));}}))['then'](_0x285637=>{const {width:_0x1364ac,height:_0x1a0514}=_0x285637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x285637['cdnUrl'],this['imageDimension']={'width':_0x1364ac,'height':_0x1a0514},this['imageId']=_0x285637['uuid'],this['imageUploadProgress']=null;const _0x55bac8=_0x358b47['getAttribute']('src');this['_imageCache']['set'](_0x55bac8,{'id':_0x285637['uuid'],'url':_0x285637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ef364=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ef364['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x16c4e1,_0x176453){_0x16c4e1['on']('apply',(_0x3c0338,_0x449185)=>{this['_replaceImage'](_0x176453,_0x449185['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x16c4e1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x16c4e1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53d004,_0x2649dc,_0x57ce87){const _0x137f10=this['_editor'],{width:_0x3f4360,height:_0x115fd2}=_0x346887(_0x2649dc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf02222,imageSources:_0x5021ff}=_0x336392(_0x2649dc,_0x3f4360);_0x137f10['model']['change'](_0x32091f=>{if('$graveyard'===_0x53d004['root']['rootName']){_0x137f10['execute']('insertImage',{'imageType':_0x53d004['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2}});const _0x5751e5=_0x53d004['getChildren']();_0x53d004=_0x137f10['model']['document']['selection']['getSelectedElement']();for(const _0x2483d9 of _0x5751e5)_0x32091f['append'](_0x32091f['cloneElement'](_0x2483d9),_0x53d004);}else _0x32091f['setSelection'](_0x53d004,'on'),_0x137f10['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2},_0x53d004);_0x32091f['setSelection'](_0x53d004,'on');});}async['_getImageAsFile'](_0x3040a2){const _0x19a3b7=_0x3c3a33['window'],_0xf1d3d5=_0x3c3a33['document']['location']['href'],_0x44947e=new _0x19a3b7['URL'](_0x3040a2['getAttribute']('src'),_0xf1d3d5);if('data:'===_0x44947e['protocol']){const _0x50c236=_0x44947e['href']['split'](','),_0x4039b5=_0x50c236[0x0]['match'](/:(.*?);/)[0x1],_0xc44889=_0x4039b5['split']('/')[0x1],_0x170db9=_0x19a3b7['atob'](_0x50c236[_0x50c236['length']-0x1]);let _0x515a4e=_0x170db9['length'];const _0x2ed7e8=new _0x19a3b7['Uint8Array'](_0x515a4e);for(;_0x515a4e--;)_0x2ed7e8[_0x515a4e]=_0x170db9['charCodeAt'](_0x515a4e);return new _0x19a3b7['File']([_0x2ed7e8],'image.'+_0xc44889,{'type':_0x4039b5});}const _0x48afaa=_0x44947e['href']['split']('/'),_0x670f60=_0x48afaa[_0x48afaa['length']-0x1],_0x3a2a78=_0x670f60['split']('.')[0x1];return _0x19a3b7['fetch'](_0x44947e['href'])['then'](_0x12c36f=>_0x12c36f['clone']()['blob']())['then'](_0x136df1=>new _0x19a3b7['File']([_0x136df1],_0x670f60,{'type':'image/'+_0x3a2a78}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3602(_0x542033,_0xe2dbfa){const _0x210dae=_0x210d();return _0x3602=function(_0x3602e2,_0x106db3){_0x3602e2=_0x3602e2-0x7c;let _0x1ea845=_0x210dae[_0x3602e2];return _0x1ea845;},_0x3602(_0x542033,_0xe2dbfa);}(function(_0x2dd62b,_0x1e2459){const _0x48a9d2=_0x3602,_0x26c79e=_0x2dd62b();while(!![]){try{const _0x2fcf67=-parseInt(_0x48a9d2(0x7c))/0x1*(-parseInt(_0x48a9d2(0x8b))/0x2)+-parseInt(_0x48a9d2(0x82))/0x3*(-parseInt(_0x48a9d2(0x8d))/0x4)+-parseInt(_0x48a9d2(0x7d))/0x5+parseInt(_0x48a9d2(0x85))/0x6+-parseInt(_0x48a9d2(0x88))/0x7*(parseInt(_0x48a9d2(0x87))/0x8)+-parseInt(_0x48a9d2(0x84))/0x9*(-parseInt(_0x48a9d2(0x80))/0xa)+-parseInt(_0x48a9d2(0x8a))/0xb;if(_0x2fcf67===_0x1e2459)break;else _0x26c79e['push'](_0x26c79e['shift']());}catch(_0x55e6e3){_0x26c79e['push'](_0x26c79e['shift']());}}}(_0x210d,0xcde47));import{View as _0xaa4ee7}from'ckeditor5/src/ui.js';function _0x210d(){const _0xe5c57f=['885672KzivTr','98ewjqjS','set','7034027XkNXoB','1388xAeeNU','imageSrc','3344936JJJGLv','bindTemplate','2027ldlsYk','8214945fkSKNF','uc-cloud-image-editor','ck-uploadcare-theme','135730IOeawA','uc-light','3yqsrWQ','setTemplate','873ZlbbAR','6696924BXzPrl','image-edit'];_0x210d=function(){return _0xe5c57f;};return _0x210d();}export class UploadcareImageEditFormEditingView extends _0xaa4ee7{constructor(_0x4f5db8,_0x18eef5){const _0x470615=_0x3602;super(_0x4f5db8);const _0x12b341=this[_0x470615(0x8e)];this[_0x470615(0x89)](_0x470615(0x8c),''),this[_0x470615(0x83)]({'tag':_0x470615(0x7e),'attributes':{..._0x18eef5,'class':[_0x470615(0x81),_0x470615(0x7f)],'ctx-name':_0x470615(0x86),'cdn-url':_0x12b341['to'](_0x470615(0x8c))}});}}
23
+ (function(_0x2a3ade,_0x4525da){const _0x486c2d=_0xf674,_0x1d53bd=_0x2a3ade();while(!![]){try{const _0x1f2a63=parseInt(_0x486c2d(0x1ce))/0x1*(parseInt(_0x486c2d(0x1d0))/0x2)+-parseInt(_0x486c2d(0x1d8))/0x3*(parseInt(_0x486c2d(0x1d7))/0x4)+parseInt(_0x486c2d(0x1cf))/0x5+-parseInt(_0x486c2d(0x1d6))/0x6*(-parseInt(_0x486c2d(0x1db))/0x7)+parseInt(_0x486c2d(0x1d2))/0x8*(-parseInt(_0x486c2d(0x1d5))/0x9)+parseInt(_0x486c2d(0x1dc))/0xa+-parseInt(_0x486c2d(0x1cb))/0xb*(parseInt(_0x486c2d(0x1cd))/0xc);if(_0x1f2a63===_0x4525da)break;else _0x1d53bd['push'](_0x1d53bd['shift']());}catch(_0x125189){_0x1d53bd['push'](_0x1d53bd['shift']());}}}(_0x15bd,0x460f9));function _0xf674(_0x23767f,_0x27315e){const _0x15bd47=_0x15bd();return _0xf674=function(_0xf67440,_0x4b9f47){_0xf67440=_0xf67440-0x1ca;let _0x50456f=_0x15bd47[_0xf67440];return _0x50456f;},_0xf674(_0x23767f,_0x27315e);}import{View as _0x414ef9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x414ef9{constructor(_0x71a9f1,_0x56266a){const _0x346489=_0xf674;super(_0x71a9f1);const _0x4308b1=this[_0x346489(0x1d1)];this[_0x346489(0x1dd)](_0x346489(0x1ca),''),this[_0x346489(0x1d9)]({'tag':_0x346489(0x1d3),'attributes':{..._0x56266a,'class':[_0x346489(0x1cc),_0x346489(0x1da)],'ctx-name':_0x346489(0x1d4),'cdn-url':_0x4308b1['to'](_0x346489(0x1ca))}});}}function _0x15bd(){const _0x1b6eb7=['11862GBELxr','bindTemplate','40456RINfaQ','uc-cloud-image-editor','image-edit','333TpVyxk','384186wAhGPb','135776sChBGB','39Pfmhuq','setTemplate','ck-uploadcare-theme','56CVRYWN','1581540VDTcGX','set','imageSrc','720962cDOGyJ','uc-light','48TkeBGR','67jwvDmf','548695jeIIEd'];_0x15bd=function(){return _0x1b6eb7;};return _0x15bd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x8fe9a2}from'ckeditor5/src/icons.js';import{ButtonView as _0x946484,IconView as _0x402122,View as _0x1af2ee}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1af2ee{constructor(_0x2e247d){super(_0x2e247d);const t=_0x2e247d['t'];this['set']('errorType',null);const _0x3fa773=new _0x946484(_0x2e247d);_0x3fa773['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3fa773['withText']=!0x0,_0x3fa773['class']='ck-button-action',_0x3fa773['on']('execute',()=>{this['fire']('retry');}),_0x3fa773['bind']('isVisible')['to'](this,'errorType',_0x66ef98=>'NotFound'!==_0x66ef98);const _0x3aaa08=new _0x402122();_0x3aaa08['content']=_0x8fe9a2,_0x3aaa08['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x456a11=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':[_0x3aaa08,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x456a11['to']('errorType',_0x4c33c7=>t('NotFound'!==_0x4c33c7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3fa773]},{'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 _0x1cb5d6}from'ckeditor5/src/icons.js';import{ButtonView as _0x27a99e,IconView as _0x3dbf3e,View as _0x3ecba1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ecba1{constructor(_0x5a7735){super(_0x5a7735);const t=_0x5a7735['t'];this['set']('errorType',null);const _0xbf551e=new _0x27a99e(_0x5a7735);_0xbf551e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xbf551e['withText']=!0x0,_0xbf551e['class']='ck-button-action',_0xbf551e['on']('execute',()=>{this['fire']('retry');}),_0xbf551e['bind']('isVisible')['to'](this,'errorType',_0x363159=>'NotFound'!==_0x363159);const _0x4fd324=new _0x3dbf3e();_0x4fd324['content']=_0x1cb5d6,_0x4fd324['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x240709=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':[_0x4fd324,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x240709['to']('errorType',_0x42b90d=>t('NotFound'!==_0x42b90d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xbf551e]},{'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 _0x4421dc,View as _0x3cf0d8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3cf0d8{constructor(_0x3508a7){super(_0x3508a7);const t=_0x3508a7['t'],_0xbe50a2=this['bindTemplate'],_0xca0784=new _0x4421dc();_0xca0784['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':[_0xca0784,{'text':_0xbe50a2['to']('imageUploadProgress',_0x4f7f2c=>t('Loading\x20image...')+'\x20('+(_0x4f7f2c||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 _0x2aef7a,View as _0x1d5fbe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1d5fbe{constructor(_0x1ad67d){super(_0x1ad67d);const t=_0x1ad67d['t'],_0x2f2bf3=this['bindTemplate'],_0x5de93c=new _0x2aef7a();_0x5de93c['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':[_0x5de93c,{'text':_0x2f2bf3['to']('imageUploadProgress',_0x520c00=>t('Loading\x20image...')+'\x20('+(_0x520c00||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 _0x5b5d(_0x13cdb8,_0x4fc6c7){const _0x26ed57=_0x26ed();return _0x5b5d=function(_0x5b5d82,_0x49af84){_0x5b5d82=_0x5b5d82-0x1bf;let _0x1dbefe=_0x26ed57[_0x5b5d82];return _0x1dbefe;},_0x5b5d(_0x13cdb8,_0x4fc6c7);}function _0x26ed(){const _0x5d825a=['_loadingView','detail','disconnect','_setView','7BxvNRG','ck-uploadcare-form','_addUploadcareImageEditorListeners','3105352rpsPRH','addMany','element','353997CuWhYs','getFocusableElement','ck-reset_all-excluded','querySelector','uc-cloud-image-editor','once','52OSUqUT','addEventListener','10959400rSvmNi','clear','838968QlaJNY','addedNodes','_editingView','300yvFHap','retry','_waitForImageEditorComponent','fire','cdnUrl','createCollection','error','set','uploading','nodeName','target','div','toLowerCase','17212CMnAeY','add','_focusableView','10715XYMSsO','render','_addErrorViewListeners','1442166HXFFXS','observe','filter','setTemplate','_errorView','_items','cancel','apply','ready','length','change:status','focus','status'];_0x26ed=function(){return _0x5d825a;};return _0x26ed();}const _0x30fb4d=_0x5b5d;(function(_0x42019e,_0x37f136){const _0x30c42a=_0x5b5d,_0xb68dac=_0x42019e();while(!![]){try{const _0xdb2ac3=parseInt(_0x30c42a(0x1f0))/0x1*(parseInt(_0x30c42a(0x1dc))/0x2)+parseInt(_0x30c42a(0x1bf))/0x3+-parseInt(_0x30c42a(0x1e3))/0x4*(-parseInt(_0x30c42a(0x1f3))/0x5)+-parseInt(_0x30c42a(0x1e0))/0x6+parseInt(_0x30c42a(0x1d0))/0x7*(parseInt(_0x30c42a(0x1d3))/0x8)+parseInt(_0x30c42a(0x1d6))/0x9+-parseInt(_0x30c42a(0x1de))/0xa;if(_0xdb2ac3===_0x37f136)break;else _0xb68dac['push'](_0xb68dac['shift']());}catch(_0x4463db){_0xb68dac['push'](_0xb68dac['shift']());}}}(_0x26ed,0x44875));import{View as _0x583abd}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x46d900}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x266ff5}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x59054b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x524869}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x524869{[_0x30fb4d(0x1c4)];[_0x30fb4d(0x1cc)];[_0x30fb4d(0x1c3)];[_0x30fb4d(0x1e2)];[_0x30fb4d(0x1f2)];constructor(_0x5883c1,_0x12f9b9,_0x115879){const _0x5a0cab=_0x30fb4d;super(_0x5883c1),this[_0x5a0cab(0x1c4)]=this[_0x5a0cab(0x1e8)](),this[_0x5a0cab(0x1cc)]=new _0x46d900(_0x5883c1),this[_0x5a0cab(0x1c3)]=new _0x266ff5(_0x5883c1),this[_0x5a0cab(0x1e2)]=new _0x59054b(_0x5883c1,_0x115879),this[_0x5a0cab(0x1f2)]=new _0x583abd(_0x5883c1),this[_0x5a0cab(0x1f2)][_0x5a0cab(0x1c2)](this[_0x5a0cab(0x1d7)]()),this[_0x5a0cab(0x1ea)](_0x5a0cab(0x1cb),_0x12f9b9),this[_0x5a0cab(0x1c2)]({'tag':_0x5a0cab(0x1ee),'attributes':{'class':['ck',_0x5a0cab(0x1d8),_0x5a0cab(0x1d1)],'tabindex':'-1'},'children':this[_0x5a0cab(0x1c4)]}),this[_0x5a0cab(0x1cf)](),this[_0x5a0cab(0x1db)](_0x5a0cab(0x1f4),()=>{const _0x4d9f34=_0x5a0cab;this[_0x4d9f34(0x1e5)](this[_0x4d9f34(0x1d5)],_0x22c2e8=>{const _0x216071=_0x4d9f34;this[_0x216071(0x1d2)](_0x22c2e8);});}),this['on'](_0x5a0cab(0x1c9),()=>{const _0x5d40ed=_0x5a0cab;this[_0x5d40ed(0x1cf)]();}),this[_0x5a0cab(0x1f5)]();}[_0x30fb4d(0x1ca)](){const _0x2aec8a=_0x30fb4d;this[_0x2aec8a(0x1d5)][_0x2aec8a(0x1ca)]();}[_0x30fb4d(0x1cf)](){const _0x56f42a=_0x30fb4d;switch(this[_0x56f42a(0x1c4)][_0x56f42a(0x1df)](),this[_0x56f42a(0x1cb)]){case _0x56f42a(0x1eb):this[_0x56f42a(0x1c4)][_0x56f42a(0x1f1)](this[_0x56f42a(0x1cc)]);break;case _0x56f42a(0x1e9):this[_0x56f42a(0x1c4)][_0x56f42a(0x1f1)](this[_0x56f42a(0x1c3)]);break;case _0x56f42a(0x1c7):this[_0x56f42a(0x1c4)][_0x56f42a(0x1d4)]([this[_0x56f42a(0x1e2)],this[_0x56f42a(0x1f2)]]);}}[_0x30fb4d(0x1e5)](_0x5e4f38,_0x18ba41){const _0x359444=_0x30fb4d,_0xe49258=_0x359444(0x1da),_0x5ea182=_0x5e4f38[_0x359444(0x1d9)](_0xe49258);if(_0x5ea182)return _0x18ba41(_0x5ea182);const _0x1f96ee=new MutationObserver(_0x166e86=>{const _0x5ad9d6=_0x359444,_0x1a5e49=_0x166e86[_0x5ad9d6(0x1c1)](_0x29f3a3=>_0x29f3a3[_0x5ad9d6(0x1ed)]===_0x5e4f38&&_0x29f3a3[_0x5ad9d6(0x1e1)][_0x5ad9d6(0x1c8)]>0x0&&_0x29f3a3[_0x5ad9d6(0x1e1)][0x0][_0x5ad9d6(0x1ec)][_0x5ad9d6(0x1ef)]()===_0xe49258);_0x1a5e49[_0x5ad9d6(0x1c8)]&&(_0x1f96ee[_0x5ad9d6(0x1ce)](),_0x18ba41(_0x1a5e49[0x0][_0x5ad9d6(0x1e1)][0x0]));});_0x1f96ee[_0x359444(0x1c0)](_0x5e4f38,{'childList':!0x0,'subtree':!0x0});}[_0x30fb4d(0x1d2)](_0x3637d3){const _0x34ecbe=_0x30fb4d;_0x3637d3[_0x34ecbe(0x1dd)](_0x34ecbe(0x1c6),_0x74bcc2=>{const _0x5c443d=_0x34ecbe;this[_0x5c443d(0x1e6)](_0x5c443d(0x1c6),{'imageSrc':_0x74bcc2[_0x5c443d(0x1cd)][_0x5c443d(0x1e7)]});}),_0x3637d3[_0x34ecbe(0x1dd)](_0x34ecbe(0x1c5),()=>{const _0x5e0d23=_0x34ecbe;this[_0x5e0d23(0x1e6)](_0x5e0d23(0x1c5));});}[_0x30fb4d(0x1f5)](){const _0x2defd7=_0x30fb4d;this[_0x2defd7(0x1c3)]['on'](_0x2defd7(0x1e4),()=>{const _0x31b43b=_0x2defd7;this[_0x31b43b(0x1e6)](_0x31b43b(0x1e4));});}}
23
+ const _0x527893=_0x2c3f;function _0xeec5(){const _0x563ca2=['getFocusableElement','54rDDpQE','change:status','_focusableView','_setView','ready','set','setTemplate','add','focus','addMany','retry','609380dcilXo','apply','render','clear','_editingView','toLowerCase','_addUploadcareImageEditorListeners','disconnect','once','length','uploading','error','10zFXyDL','_items','div','_loadingView','uc-cloud-image-editor','ck-uploadcare-form','status','cancel','309306XqcNoz','addEventListener','10248326XDvgYk','ck-reset_all-excluded','observe','688136qvOzAq','_errorView','detail','addedNodes','214109HwjcHO','_waitForImageEditorComponent','cdnUrl','fire','filter','468600BbCCMh','target','28QYHgFn','createCollection','9054phYdIH','querySelector','1570seUpKw','nodeName','element','_addErrorViewListeners'];_0xeec5=function(){return _0x563ca2;};return _0xeec5();}(function(_0x321628,_0x585d50){const _0x312dee=_0x2c3f,_0x28ab89=_0x321628();while(!![]){try{const _0x512bba=parseInt(_0x312dee(0x139))/0x1+parseInt(_0x312dee(0x160))/0x2*(-parseInt(_0x312dee(0x130))/0x3)+parseInt(_0x312dee(0x13e))/0x4+-parseInt(_0x312dee(0x144))/0x5*(parseInt(_0x312dee(0x142))/0x6)+parseInt(_0x312dee(0x140))/0x7*(-parseInt(_0x312dee(0x135))/0x8)+-parseInt(_0x312dee(0x149))/0x9*(-parseInt(_0x312dee(0x154))/0xa)+parseInt(_0x312dee(0x132))/0xb;if(_0x512bba===_0x585d50)break;else _0x28ab89['push'](_0x28ab89['shift']());}catch(_0xd4981){_0x28ab89['push'](_0x28ab89['shift']());}}}(_0xeec5,0x480ed));import{View as _0x5fa42}from'ckeditor5/src/ui.js';function _0x2c3f(_0x3481b6,_0x14e1f){const _0xeec585=_0xeec5();return _0x2c3f=function(_0x2c3f52,_0x2c81c5){_0x2c3f52=_0x2c3f52-0x12c;let _0x3de008=_0xeec585[_0x2c3f52];return _0x3de008;},_0x2c3f(_0x3481b6,_0x14e1f);}import{UploadcareImageEditFormLoadingView as _0x2bb2e8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x566ff9}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5a2f9a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x295a73}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x295a73{[_0x527893(0x161)];[_0x527893(0x163)];[_0x527893(0x136)];[_0x527893(0x158)];[_0x527893(0x14b)];constructor(_0x365f65,_0x1bacfd,_0x25ea59){const _0x3b41e8=_0x527893;super(_0x365f65),this[_0x3b41e8(0x161)]=this[_0x3b41e8(0x141)](),this[_0x3b41e8(0x163)]=new _0x2bb2e8(_0x365f65),this[_0x3b41e8(0x136)]=new _0x566ff9(_0x365f65),this[_0x3b41e8(0x158)]=new _0x5a2f9a(_0x365f65,_0x25ea59),this[_0x3b41e8(0x14b)]=new _0x5fa42(_0x365f65),this[_0x3b41e8(0x14b)][_0x3b41e8(0x14f)](this[_0x3b41e8(0x148)]()),this[_0x3b41e8(0x14e)](_0x3b41e8(0x12e),_0x1bacfd),this[_0x3b41e8(0x14f)]({'tag':_0x3b41e8(0x162),'attributes':{'class':['ck',_0x3b41e8(0x133),_0x3b41e8(0x12d)],'tabindex':'-1'},'children':this[_0x3b41e8(0x161)]}),this[_0x3b41e8(0x14c)](),this[_0x3b41e8(0x15c)](_0x3b41e8(0x156),()=>{const _0x3ed125=_0x3b41e8;this[_0x3ed125(0x13a)](this[_0x3ed125(0x146)],_0x5b7e31=>{const _0x3b4199=_0x3ed125;this[_0x3b4199(0x15a)](_0x5b7e31);});}),this['on'](_0x3b41e8(0x14a),()=>{const _0x490724=_0x3b41e8;this[_0x490724(0x14c)]();}),this[_0x3b41e8(0x147)]();}[_0x527893(0x151)](){const _0x3de8c3=_0x527893;this[_0x3de8c3(0x146)][_0x3de8c3(0x151)]();}[_0x527893(0x14c)](){const _0x1c2044=_0x527893;switch(this[_0x1c2044(0x161)][_0x1c2044(0x157)](),this[_0x1c2044(0x12e)]){case _0x1c2044(0x15e):this[_0x1c2044(0x161)][_0x1c2044(0x150)](this[_0x1c2044(0x163)]);break;case _0x1c2044(0x15f):this[_0x1c2044(0x161)][_0x1c2044(0x150)](this[_0x1c2044(0x136)]);break;case _0x1c2044(0x14d):this[_0x1c2044(0x161)][_0x1c2044(0x152)]([this[_0x1c2044(0x158)],this[_0x1c2044(0x14b)]]);}}[_0x527893(0x13a)](_0x222712,_0x694e96){const _0x30b442=_0x527893,_0x2c0516=_0x30b442(0x12c),_0x36df58=_0x222712[_0x30b442(0x143)](_0x2c0516);if(_0x36df58)return _0x694e96(_0x36df58);const _0x4ae4d7=new MutationObserver(_0x597f5a=>{const _0x14cb43=_0x30b442,_0x2f3e01=_0x597f5a[_0x14cb43(0x13d)](_0xed4bb3=>_0xed4bb3[_0x14cb43(0x13f)]===_0x222712&&_0xed4bb3[_0x14cb43(0x138)][_0x14cb43(0x15d)]>0x0&&_0xed4bb3[_0x14cb43(0x138)][0x0][_0x14cb43(0x145)][_0x14cb43(0x159)]()===_0x2c0516);_0x2f3e01[_0x14cb43(0x15d)]&&(_0x4ae4d7[_0x14cb43(0x15b)](),_0x694e96(_0x2f3e01[0x0][_0x14cb43(0x138)][0x0]));});_0x4ae4d7[_0x30b442(0x134)](_0x222712,{'childList':!0x0,'subtree':!0x0});}[_0x527893(0x15a)](_0x572c3d){const _0x52068c=_0x527893;_0x572c3d[_0x52068c(0x131)](_0x52068c(0x155),_0x1593a8=>{const _0x48d60a=_0x52068c;this[_0x48d60a(0x13c)](_0x48d60a(0x155),{'imageSrc':_0x1593a8[_0x48d60a(0x137)][_0x48d60a(0x13b)]});}),_0x572c3d[_0x52068c(0x131)](_0x52068c(0x12f),()=>{const _0xd0a421=_0x52068c;this[_0xd0a421(0x13c)](_0xd0a421(0x12f));});}[_0x527893(0x147)](){const _0x319085=_0x527893;this[_0x319085(0x136)]['on'](_0x319085(0x153),()=>{const _0x33679b=_0x319085;this[_0x33679b(0x13c)](_0x33679b(0x153));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56ba18=_0x1343;(function(_0x363f03,_0x240e1e){const _0xf6d66a=_0x1343,_0x3961dd=_0x363f03();while(!![]){try{const _0x1b3e65=parseInt(_0xf6d66a(0x1fa))/0x1+-parseInt(_0xf6d66a(0x1f8))/0x2*(-parseInt(_0xf6d66a(0x1da))/0x3)+-parseInt(_0xf6d66a(0x1e9))/0x4*(-parseInt(_0xf6d66a(0x1db))/0x5)+-parseInt(_0xf6d66a(0x1e4))/0x6+-parseInt(_0xf6d66a(0x1ed))/0x7+-parseInt(_0xf6d66a(0x1f7))/0x8*(-parseInt(_0xf6d66a(0x1dc))/0x9)+-parseInt(_0xf6d66a(0x1e5))/0xa*(parseInt(_0xf6d66a(0x1f5))/0xb);if(_0x1b3e65===_0x240e1e)break;else _0x3961dd['push'](_0x3961dd['shift']());}catch(_0x2aaf98){_0x3961dd['push'](_0x3961dd['shift']());}}}(_0x3e11,0xe6f7b));import{Command as _0x40551e}from'ckeditor5/src/core.js';import{Dialog as _0x3a7bc5}from'ckeditor5/src/ui.js';function _0x1343(_0x47f030,_0x61f3c1){const _0x3e113d=_0x3e11();return _0x1343=function(_0x1343ef,_0x25509d){_0x1343ef=_0x1343ef-0x1da;let _0x411a05=_0x3e113d[_0x1343ef];return _0x411a05;},_0x1343(_0x47f030,_0x61f3c1);}import{UploadcareImageEditController as _0x75232}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x454b92}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x40551e{[_0x56ba18(0x1f2)];static get[_0x56ba18(0x1dd)](){return[_0x3a7bc5];}[_0x56ba18(0x1e1)];constructor(_0x1811d2){const _0x1253cc=_0x56ba18;super(_0x1811d2),this[_0x1253cc(0x1f2)]=void 0x0,this[_0x1253cc(0x1e1)]=_0x454b92(_0x1811d2[_0x1253cc(0x1ee)][_0x1253cc(0x1df)](_0x1253cc(0x1eb))||[]),this[_0x1253cc(0x1f0)]({'isActive':!0x1});}[_0x56ba18(0x1f6)](){const _0x1bd4af=_0x56ba18,_0x436d2b=this[_0x1bd4af(0x1e2)][_0x1bd4af(0x1ec)][_0x1bd4af(0x1e7)][_0x1bd4af(0x1f3)][_0x1bd4af(0x1e6)]();this[_0x1bd4af(0x1f9)]=this[_0x1bd4af(0x1e1)](_0x436d2b);}[_0x56ba18(0x1ea)](){const _0x1fb081=_0x56ba18;this[_0x1fb081(0x1f2)]&&(this[_0x1fb081(0x1de)](_0x1fb081(0x1ef)),this[_0x1fb081(0x1f2)]=void 0x0);const _0x63b77e=this[_0x1fb081(0x1e2)][_0x1fb081(0x1ec)][_0x1fb081(0x1e7)][_0x1fb081(0x1f3)][_0x1fb081(0x1e6)]();_0x63b77e&&(_0x63b77e['is'](_0x1fb081(0x1e8),_0x1fb081(0x1f1))||_0x63b77e['is'](_0x1fb081(0x1e8),_0x1fb081(0x1e0)))&&(this[_0x1fb081(0x1f2)]=new _0x75232(this[_0x1fb081(0x1e2)],this[_0x1fb081(0x1e2)][_0x1fb081(0x1e3)][_0x1fb081(0x1df)](_0x3a7bc5),_0x63b77e),this[_0x1fb081(0x1f4)](_0x1fb081(0x1ef))['to'](this[_0x1fb081(0x1f2)],_0x1fb081(0x1ef)));}}function _0x3e11(){const _0x27db02=['set','imageBlock','imageEditController','selection','bind','8453489bWrEQF','refresh','3540248wGHWyl','1140274QOoMkk','isEnabled','40844dOkaFy','9jVbRRa','274180bzLDQg','27zYpUrx','requires','unbind','get','imageInline','_isEditable','editor','plugins','2507010KCoNVB','10HlFGVp','getSelectedElement','document','element','56AzKUNJ','execute','uploadcare.allowExternalImagesEditing','model','11999225KYeLjr','config','isActive'];_0x3e11=function(){return _0x27db02;};return _0x3e11();}
23
+ const _0x2bd9df=_0x5ba6;(function(_0xae86ef,_0x66e547){const _0xc69bc6=_0x5ba6,_0x126cb9=_0xae86ef();while(!![]){try{const _0x2ed4a0=-parseInt(_0xc69bc6(0xfd))/0x1+-parseInt(_0xc69bc6(0xe4))/0x2*(parseInt(_0xc69bc6(0xf8))/0x3)+-parseInt(_0xc69bc6(0x102))/0x4*(parseInt(_0xc69bc6(0xe1))/0x5)+-parseInt(_0xc69bc6(0xe8))/0x6*(parseInt(_0xc69bc6(0xff))/0x7)+parseInt(_0xc69bc6(0xe3))/0x8*(parseInt(_0xc69bc6(0xf0))/0x9)+parseInt(_0xc69bc6(0xea))/0xa*(parseInt(_0xc69bc6(0xf1))/0xb)+-parseInt(_0xc69bc6(0xf4))/0xc*(-parseInt(_0xc69bc6(0xeb))/0xd);if(_0x2ed4a0===_0x66e547)break;else _0x126cb9['push'](_0x126cb9['shift']());}catch(_0x50b261){_0x126cb9['push'](_0x126cb9['shift']());}}}(_0x5aef,0x97d3f));import{Command as _0x35834f}from'ckeditor5/src/core.js';import{Dialog as _0x457372}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1f4431}from'./ui/uploadcareimageeditcontroller.js';function _0x5aef(){const _0x148de6=['4308tYMFqd','set','model','unbind','9gRlAVP','bind','getSelectedElement','get','requires','1051624jATfkd','document','133ikeXKf','refresh','plugins','92McrvGQ','uploadcare.allowExternalImagesEditing','145570wDeBrI','config','5024heNZQp','330886qgqhtt','isEnabled','element','isActive','130044YRyLrQ','execute','10QZAOIq','56251zPsYJs','imageInline','editor','selection','imageEditController','15948TPbSUv','6435649mYoBIt','_isEditable','imageBlock'];_0x5aef=function(){return _0x148de6;};return _0x5aef();}function _0x5ba6(_0x1420ff,_0x5a9573){const _0x5aef55=_0x5aef();return _0x5ba6=function(_0x5ba64d,_0x507347){_0x5ba64d=_0x5ba64d-0xe0;let _0x4bad81=_0x5aef55[_0x5ba64d];return _0x4bad81;},_0x5ba6(_0x1420ff,_0x5a9573);}import{createEditabilityChecker as _0xb519e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x35834f{[_0x2bd9df(0xef)];static get[_0x2bd9df(0xfc)](){return[_0x457372];}[_0x2bd9df(0xf2)];constructor(_0x32163f){const _0x635b0e=_0x2bd9df;super(_0x32163f),this[_0x635b0e(0xef)]=void 0x0,this[_0x635b0e(0xf2)]=_0xb519e(_0x32163f[_0x635b0e(0xe2)][_0x635b0e(0xfb)](_0x635b0e(0xe0))||[]),this[_0x635b0e(0xf5)]({'isActive':!0x1});}[_0x2bd9df(0x100)](){const _0x17c20c=_0x2bd9df,_0x340064=this[_0x17c20c(0xed)][_0x17c20c(0xf6)][_0x17c20c(0xfe)][_0x17c20c(0xee)][_0x17c20c(0xfa)]();this[_0x17c20c(0xe5)]=this[_0x17c20c(0xf2)](_0x340064);}[_0x2bd9df(0xe9)](){const _0x541308=_0x2bd9df;this[_0x541308(0xef)]&&(this[_0x541308(0xf7)](_0x541308(0xe7)),this[_0x541308(0xef)]=void 0x0);const _0xa27306=this[_0x541308(0xed)][_0x541308(0xf6)][_0x541308(0xfe)][_0x541308(0xee)][_0x541308(0xfa)]();_0xa27306&&(_0xa27306['is'](_0x541308(0xe6),_0x541308(0xf3))||_0xa27306['is'](_0x541308(0xe6),_0x541308(0xec)))&&(this[_0x541308(0xef)]=new _0x1f4431(this[_0x541308(0xed)],this[_0x541308(0xed)][_0x541308(0x101)][_0x541308(0xfb)](_0x457372),_0xa27306),this[_0x541308(0xf9)](_0x541308(0xe7))['to'](this[_0x541308(0xef)],_0x541308(0xe7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x352cbc=_0x370b;function _0x5bba(){const _0x1510d7=['829939nixhIf','uploadcareImageEdit','uploadcareImageReplace','886494ptlvwy','commands','1540401iksNGB','requires','348768IUzYXI','5994064RgjNvm','22ryPNsr','init','ImageEditing','ImageUtils','2287990kvtNXF','pluginName','3578920MUsrQm','isOfficialPlugin','UploadcareImageEditEditing','6JQSgaw','4IqNpAm','2YajigR','add','isPremiumPlugin'];_0x5bba=function(){return _0x1510d7;};return _0x5bba();}(function(_0x4af4ef,_0x3f32e8){const _0x2d9b59=_0x370b,_0x55fa40=_0x4af4ef();while(!![]){try{const _0x7f2112=-parseInt(_0x2d9b59(0x1cc))/0x1*(-parseInt(_0x2d9b59(0x1c9))/0x2)+parseInt(_0x2d9b59(0x1d1))/0x3*(parseInt(_0x2d9b59(0x1c8))/0x4)+parseInt(_0x2d9b59(0x1d9))/0x5*(parseInt(_0x2d9b59(0x1c7))/0x6)+parseInt(_0x2d9b59(0x1cf))/0x7+-parseInt(_0x2d9b59(0x1d4))/0x8+-parseInt(_0x2d9b59(0x1d3))/0x9+-parseInt(_0x2d9b59(0x1c4))/0xa*(parseInt(_0x2d9b59(0x1d5))/0xb);if(_0x7f2112===_0x3f32e8)break;else _0x55fa40['push'](_0x55fa40['shift']());}catch(_0x1ff988){_0x55fa40['push'](_0x55fa40['shift']());}}}(_0x5bba,0x677ac));import{Plugin as _0x2720cd}from'ckeditor5/src/core.js';import{Notification as _0x4fa280}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x57e52f}from'./uploadcareimageeditcommand.js';function _0x370b(_0x25c7b0,_0x51348b){const _0x5bba6e=_0x5bba();return _0x370b=function(_0x370b07,_0x2eb119){_0x370b07=_0x370b07-0x1c4;let _0x379bed=_0x5bba6e[_0x370b07];return _0x379bed;},_0x370b(_0x25c7b0,_0x51348b);}import{UploadcareImageReplaceCommand as _0x33ed5e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x10bf4c}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2720cd{static get[_0x352cbc(0x1da)](){const _0x4f4452=_0x352cbc;return _0x4f4452(0x1c6);}static get[_0x352cbc(0x1d2)](){const _0x410f25=_0x352cbc;return[_0x10bf4c,_0x4fa280,_0x410f25(0x1d8),_0x410f25(0x1d7)];}static get[_0x352cbc(0x1c5)](){return!0x0;}static get[_0x352cbc(0x1cb)](){return!0x0;}[_0x352cbc(0x1d6)](){const _0x31fc96=_0x352cbc,{editor:_0x1069eb}=this;_0x1069eb[_0x31fc96(0x1d0)][_0x31fc96(0x1ca)](_0x31fc96(0x1cd),new _0x57e52f(_0x1069eb)),_0x1069eb[_0x31fc96(0x1d0)][_0x31fc96(0x1ca)](_0x31fc96(0x1ce),new _0x33ed5e(_0x1069eb));}}
23
+ const _0x8d9cd=_0x14a6;(function(_0x428291,_0x5e01ee){const _0x1741b1=_0x14a6,_0x5de85e=_0x428291();while(!![]){try{const _0x24f3b9=-parseInt(_0x1741b1(0x7e))/0x1+parseInt(_0x1741b1(0x8d))/0x2+parseInt(_0x1741b1(0x79))/0x3*(parseInt(_0x1741b1(0x86))/0x4)+-parseInt(_0x1741b1(0x82))/0x5+parseInt(_0x1741b1(0x8e))/0x6*(-parseInt(_0x1741b1(0x7c))/0x7)+-parseInt(_0x1741b1(0x88))/0x8+parseInt(_0x1741b1(0x7a))/0x9*(parseInt(_0x1741b1(0x7b))/0xa);if(_0x24f3b9===_0x5e01ee)break;else _0x5de85e['push'](_0x5de85e['shift']());}catch(_0x4c9073){_0x5de85e['push'](_0x5de85e['shift']());}}}(_0x5072,0x774a9));import{Plugin as _0x42ba05}from'ckeditor5/src/core.js';import{Notification as _0x1ace12}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x972bf}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x43e9fa}from'./uploadcareimagereplacecommand.js';function _0x5072(){const _0x9ec8ee=['2723166hwfWrX','42CkxxXe','28647UXXeMQ','5490DUDBlg','7TZsWeK','pluginName','598921digLJL','init','requires','isOfficialPlugin','991645GpYnPk','add','uploadcareImageEdit','ImageUtils','38536CCShZL','uploadcareImageReplace','1686832IapvgC','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','commands','136478JDhfoh'];_0x5072=function(){return _0x9ec8ee;};return _0x5072();}import{UploadcareEditing as _0x1836b1}from'../uploadcareediting.js';function _0x14a6(_0x10eb1a,_0x1c8673){const _0x5072c1=_0x5072();return _0x14a6=function(_0x14a6a6,_0x3aa4){_0x14a6a6=_0x14a6a6-0x79;let _0x192196=_0x5072c1[_0x14a6a6];return _0x192196;},_0x14a6(_0x10eb1a,_0x1c8673);}export class UploadcareImageEditEditing extends _0x42ba05{static get[_0x8d9cd(0x7d)](){const _0x269443=_0x8d9cd;return _0x269443(0x89);}static get[_0x8d9cd(0x80)](){const _0x305174=_0x8d9cd;return[_0x1836b1,_0x1ace12,_0x305174(0x85),_0x305174(0x8b)];}static get[_0x8d9cd(0x81)](){return!0x0;}static get[_0x8d9cd(0x8a)](){return!0x0;}[_0x8d9cd(0x7f)](){const _0x1046aa=_0x8d9cd,{editor:_0x5b6907}=this;_0x5b6907[_0x1046aa(0x8c)][_0x1046aa(0x83)](_0x1046aa(0x84),new _0x972bf(_0x5b6907)),_0x5b6907[_0x1046aa(0x8c)][_0x1046aa(0x83)](_0x1046aa(0x87),new _0x43e9fa(_0x5b6907));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3305d5}from'ckeditor5/src/core.js';import{ButtonView as _0x164312}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xb3f3fc}from'ckeditor5/src/icons.js';import{createElement as _0x51fedf}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3305d5{['_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 _0xd4aa54=this['editor'];_0xd4aa54['ui']['componentFactory']['add']('uploadcareImageEdit',_0x30ace3=>{const _0x4fa7c5=_0xd4aa54['commands']['get']('uploadcareImageEdit'),_0x5e99fd=new _0x164312(_0x30ace3),t=_0x30ace3['t'];return _0x5e99fd['set']({'icon':_0xb3f3fc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5e99fd['bind']('isEnabled')['to'](_0x4fa7c5),_0x5e99fd['bind']('isOn')['to'](_0x4fa7c5,'isActive'),this['listenTo'](_0x5e99fd,'execute',()=>{_0xd4aa54['execute']('uploadcareImageEdit'),_0xd4aa54['editing']['view']['focus']();}),_0x5e99fd;}),this['_initConfig']();}['_initConfig'](){const _0x2f59f1=_0x51fedf(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2f59f1),this['listenTo'](this['editor'],'destroy',()=>{_0x2f59f1['remove']();});}}
23
+ import{Plugin as _0x2cadf3}from'ckeditor5/src/core.js';import{ButtonView as _0x5b85e7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x111eab}from'ckeditor5/src/icons.js';import{createElement as _0x4c5d6f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x2cadf3{['_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 _0x2fa903=this['editor'];_0x2fa903['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47a307=>{const _0x1e0e8d=_0x2fa903['commands']['get']('uploadcareImageEdit'),_0x1b5535=new _0x5b85e7(_0x47a307),t=_0x47a307['t'];return _0x1b5535['set']({'icon':_0x111eab,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b5535['bind']('isEnabled')['to'](_0x1e0e8d),_0x1b5535['bind']('isOn')['to'](_0x1e0e8d,'isActive'),this['listenTo'](_0x1b5535,'execute',()=>{_0x2fa903['execute']('uploadcareImageEdit'),_0x2fa903['editing']['view']['focus']();}),_0x1b5535;}),this['_initConfig']();}['_initConfig'](){const _0x478008=_0x4c5d6f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x478008),this['listenTo'](this['editor'],'destroy',()=>{_0x478008['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5cda(_0x3c9d90,_0x133440){const _0x162f0e=_0x162f();return _0x5cda=function(_0x5cda40,_0x3e5a1d){_0x5cda40=_0x5cda40-0x159;let _0x251bca=_0x162f0e[_0x5cda40];return _0x251bca;},_0x5cda(_0x3c9d90,_0x133440);}const _0xf9dca9=_0x5cda;(function(_0x513341,_0x221f4e){const _0x2b7d24=_0x5cda,_0xfc8068=_0x513341();while(!![]){try{const _0x2fe150=parseInt(_0x2b7d24(0x15d))/0x1*(-parseInt(_0x2b7d24(0x16c))/0x2)+parseInt(_0x2b7d24(0x164))/0x3*(-parseInt(_0x2b7d24(0x162))/0x4)+-parseInt(_0x2b7d24(0x165))/0x5*(parseInt(_0x2b7d24(0x166))/0x6)+-parseInt(_0x2b7d24(0x169))/0x7+-parseInt(_0x2b7d24(0x167))/0x8+-parseInt(_0x2b7d24(0x15a))/0x9+parseInt(_0x2b7d24(0x16b))/0xa;if(_0x2fe150===_0x221f4e)break;else _0xfc8068['push'](_0xfc8068['shift']());}catch(_0x36805b){_0xfc8068['push'](_0xfc8068['shift']());}}}(_0x162f,0x642fd));import{Command as _0x4f4cb7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4f4cb7{[_0xf9dca9(0x16e)](){const _0x5f0c5f=_0xf9dca9,_0x34412b=this[_0x5f0c5f(0x171)][_0x5f0c5f(0x16d)][_0x5f0c5f(0x163)][_0x5f0c5f(0x170)][_0x5f0c5f(0x16a)]();this[_0x5f0c5f(0x15c)]=Boolean(_0x34412b&&(_0x34412b['is'](_0x5f0c5f(0x172),_0x5f0c5f(0x161))||_0x34412b['is'](_0x5f0c5f(0x172),_0x5f0c5f(0x168))));}[_0xf9dca9(0x16f)](_0x1e547d){const _0x48e467=_0xf9dca9,_0x38f8dc=this[_0x48e467(0x171)][_0x48e467(0x16d)][_0x48e467(0x163)][_0x48e467(0x170)][_0x48e467(0x16a)]();this[_0x48e467(0x171)][_0x48e467(0x16d)][_0x48e467(0x159)](_0x28ce9a=>{const _0x32aed6=_0x48e467;_0x28ce9a[_0x32aed6(0x15e)](_0x1e547d,_0x38f8dc),_0x28ce9a[_0x32aed6(0x15b)](_0x32aed6(0x160),_0x38f8dc),_0x28ce9a[_0x32aed6(0x15b)](_0x32aed6(0x15f),_0x38f8dc);});}}function _0x162f(){const _0x5906e2=['element','change','2585151rlVgBx','removeAttribute','isEnabled','151745eGbXxO','setAttributes','sizes','srcset','imageBlock','76fonKfu','document','118029oCFYGZ','785860bkwPpI','6UrgZOZ','3402056yxtbfJ','imageInline','901516npOydx','getSelectedElement','23080830OZTBwY','2oHdRYe','model','refresh','execute','selection','editor'];_0x162f=function(){return _0x5906e2;};return _0x162f();}
23
+ function _0x215b(_0x3258e9,_0x31214d){const _0x484ff8=_0x484f();return _0x215b=function(_0x215bc7,_0x1a7ccd){_0x215bc7=_0x215bc7-0x1bd;let _0x3967f5=_0x484ff8[_0x215bc7];return _0x3967f5;},_0x215b(_0x3258e9,_0x31214d);}const _0x59b861=_0x215b;(function(_0x39c409,_0xf82442){const _0x595365=_0x215b,_0x14721f=_0x39c409();while(!![]){try{const _0x42863d=parseInt(_0x595365(0x1d0))/0x1*(-parseInt(_0x595365(0x1cf))/0x2)+parseInt(_0x595365(0x1c9))/0x3*(-parseInt(_0x595365(0x1d5))/0x4)+parseInt(_0x595365(0x1d7))/0x5*(parseInt(_0x595365(0x1d2))/0x6)+-parseInt(_0x595365(0x1c0))/0x7*(-parseInt(_0x595365(0x1d4))/0x8)+-parseInt(_0x595365(0x1c5))/0x9*(parseInt(_0x595365(0x1cb))/0xa)+-parseInt(_0x595365(0x1bd))/0xb+-parseInt(_0x595365(0x1c4))/0xc*(-parseInt(_0x595365(0x1d8))/0xd);if(_0x42863d===_0xf82442)break;else _0x14721f['push'](_0x14721f['shift']());}catch(_0x142844){_0x14721f['push'](_0x14721f['shift']());}}}(_0x484f,0x1e20d));function _0x484f(){const _0x252642=['sizes','537220lKnzKA','1157tkNdPN','getSelectedElement','129745SBJoda','change','execute','7oGCNJk','selection','document','removeAttribute','49848oDkLse','64899sRGxfE','imageInline','model','editor','3iluhhC','setAttributes','260mcDgVb','element','isEnabled','refresh','99054QhFdsk','4OxWHFb','imageBlock','6TLsdRn','srcset','460744UCnpoG','55796BDoAcM'];_0x484f=function(){return _0x252642;};return _0x484f();}import{Command as _0x2c6ca2}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2c6ca2{[_0x59b861(0x1ce)](){const _0x5a7c56=_0x59b861,_0x41073c=this[_0x5a7c56(0x1c8)][_0x5a7c56(0x1c7)][_0x5a7c56(0x1c2)][_0x5a7c56(0x1c1)][_0x5a7c56(0x1d9)]();this[_0x5a7c56(0x1cd)]=Boolean(_0x41073c&&(_0x41073c['is'](_0x5a7c56(0x1cc),_0x5a7c56(0x1d1))||_0x41073c['is'](_0x5a7c56(0x1cc),_0x5a7c56(0x1c6))));}[_0x59b861(0x1bf)](_0x58efd6){const _0x581186=_0x59b861,_0x121423=this[_0x581186(0x1c8)][_0x581186(0x1c7)][_0x581186(0x1c2)][_0x581186(0x1c1)][_0x581186(0x1d9)]();this[_0x581186(0x1c8)][_0x581186(0x1c7)][_0x581186(0x1be)](_0x1e400b=>{const _0x518798=_0x581186;_0x1e400b[_0x518798(0x1ca)](_0x58efd6,_0x121423),_0x1e400b[_0x518798(0x1c3)](_0x518798(0x1d3),_0x121423),_0x1e400b[_0x518798(0x1c3)](_0x518798(0x1d6),_0x121423);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf6a000=_0x65f1;function _0x3bc8(){var _0xe01ae3=['4799452ekYfUk','74BgkDsH','UploadcareImageEdit','808686TmjapA','requires','1637550OtcmFj','isPremiumPlugin','2248570YdglZp','11441LxNtoN','6708210iSKMrL','4jKmGcD','pluginName','1217364MJrFJf','isOfficialPlugin','8NtYWtn'];_0x3bc8=function(){return _0xe01ae3;};return _0x3bc8();}(function(_0xf6c8ba,_0x1976d7){var _0x4b3cd2=_0x65f1,_0x40b29e=_0xf6c8ba();while(!![]){try{var _0x953d5=parseInt(_0x4b3cd2(0x87))/0x1*(parseInt(_0x4b3cd2(0x80))/0x2)+parseInt(_0x4b3cd2(0x8b))/0x3+parseInt(_0x4b3cd2(0x89))/0x4*(-parseInt(_0x4b3cd2(0x86))/0x5)+parseInt(_0x4b3cd2(0x82))/0x6+parseInt(_0x4b3cd2(0x7f))/0x7+-parseInt(_0x4b3cd2(0x8d))/0x8*(parseInt(_0x4b3cd2(0x84))/0x9)+-parseInt(_0x4b3cd2(0x88))/0xa;if(_0x953d5===_0x1976d7)break;else _0x40b29e['push'](_0x40b29e['shift']());}catch(_0x491e51){_0x40b29e['push'](_0x40b29e['shift']());}}}(_0x3bc8,0x54b9d));import{Plugin as _0x37e5a1}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4d9016}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x65f1(_0x5dda5b,_0x43ac51){var _0x3bc8d7=_0x3bc8();return _0x65f1=function(_0x65f17d,_0x5c57b2){_0x65f17d=_0x65f17d-0x7f;var _0x1e0376=_0x3bc8d7[_0x65f17d];return _0x1e0376;},_0x65f1(_0x5dda5b,_0x43ac51);}import{UploadcareImageEditUI as _0x27cce9}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x37e5a1{static get[_0xf6a000(0x8a)](){var _0x583c81=_0xf6a000;return _0x583c81(0x81);}static get[_0xf6a000(0x83)](){return[_0x4d9016,_0x27cce9];}static get[_0xf6a000(0x8c)](){return!0x0;}static get[_0xf6a000(0x85)](){return!0x0;}}
23
+ function _0x12f4(){var _0x5bc3fe=['1526628nCgzwU','2748136ItaOCb','4bMdbhl','9956844VjHqiD','UploadcareImageEdit','7PHQyAT','10ssnetS','requires','26176854yVKBZL','isOfficialPlugin','5gvOGGH','2214136BnaoKM','1958511xNhKqS','isPremiumPlugin','pluginName','1317396ouOxgo'];_0x12f4=function(){return _0x5bc3fe;};return _0x12f4();}function _0x40e9(_0x254b70,_0x3ea761){var _0x12f402=_0x12f4();return _0x40e9=function(_0x40e97b,_0x2b5fdb){_0x40e97b=_0x40e97b-0x1c0;var _0x261e12=_0x12f402[_0x40e97b];return _0x261e12;},_0x40e9(_0x254b70,_0x3ea761);}var _0x358779=_0x40e9;(function(_0x3924ca,_0x4cd972){var _0x4b796c=_0x40e9,_0x58edd7=_0x3924ca();while(!![]){try{var _0x34b2c0=-parseInt(_0x4b796c(0x1ce))/0x1+-parseInt(_0x4b796c(0x1c9))/0x2+-parseInt(_0x4b796c(0x1ca))/0x3*(-parseInt(_0x4b796c(0x1c0))/0x4)+parseInt(_0x4b796c(0x1c8))/0x5*(-parseInt(_0x4b796c(0x1cd))/0x6)+parseInt(_0x4b796c(0x1c3))/0x7*(-parseInt(_0x4b796c(0x1cf))/0x8)+parseInt(_0x4b796c(0x1c1))/0x9+parseInt(_0x4b796c(0x1c4))/0xa*(parseInt(_0x4b796c(0x1c6))/0xb);if(_0x34b2c0===_0x4cd972)break;else _0x58edd7['push'](_0x58edd7['shift']());}catch(_0xd1d9d5){_0x58edd7['push'](_0x58edd7['shift']());}}}(_0x12f4,0xe6008));import{Plugin as _0x2a4737}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x54c74b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x11bb72}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2a4737{static get[_0x358779(0x1cc)](){var _0x40c163=_0x358779;return _0x40c163(0x1c2);}static get[_0x358779(0x1c5)](){return[_0x54c74b,_0x11bb72];}static get[_0x358779(0x1c7)](){return!0x0;}static get[_0x358779(0x1cb)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59b0(){const _0x17e311=['isImageSelected','Dropbox','uploadcareLicenseKeyExpired','1967NEWkAp','tooltip','commands','uploadcare','upload','_createButton','locale','evaluationLimit','editor','invalid','3299660TUVkwT','afterInit','1114658oJYpKN','destroy','assetManager','get','3IzxXGn','_createMenuBarButtons','reduce','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','type','35961497iCUsXG','OneDrive','uploadcareLicenseKeyEvaluationLimit','icon','execute','forEach','_createDropdownButtons','plugins','isEnabled','trialLimit','URL','licenseKey','3310nRKuQP','_getIntegrationKey','url','push','isPremiumPlugin','expired','uploadcareLicenseKeyUsageLimit','usageLimit','domainLimit','uploadcare.uploader.sourceList','isOfficialPlugin','Facebook','label','uploadcareLicenseKeyNotAllowed','Insert','GDrive','map','entries','bind','shortText','699184yQACVP','registerIntegration','_licenseKeyCheckInterval','withText','Uploadcare','ImageInsertUI','_showLicenseError','UploadcareUI','_createToolbarButton','init','has','27654HiaGJH','uploadcareLicenseKeyTrialLimit','Local','uploadcareLicenseKeyInvalid','text','_normalizeConfigSourceList','Replace','pluginName','1114964cAFQuO','featureNotAllowed','config','4388iAMtzg','9rfzQCK','GPhotos'];_0x59b0=function(){return _0x17e311;};return _0x59b0();}function _0x18e6(_0x3c60eb,_0x3ee4a0){const _0x59b00e=_0x59b0();return _0x18e6=function(_0x18e607,_0x260dab){_0x18e607=_0x18e607-0xdb;let _0x3f4b42=_0x59b00e[_0x18e607];return _0x3f4b42;},_0x18e6(_0x3c60eb,_0x3ee4a0);}const _0x498285=_0x18e6;(function(_0x4a557d,_0x1889e1){const _0x18ddd0=_0x18e6,_0x13ec9b=_0x4a557d();while(!![]){try{const _0x396cc3=-parseInt(_0x18ddd0(0x107))/0x1+parseInt(_0x18ddd0(0x11c))/0x2*(parseInt(_0x18ddd0(0x120))/0x3)+-parseInt(_0x18ddd0(0x10a))/0x4*(parseInt(_0x18ddd0(0xe0))/0x5)+parseInt(_0x18ddd0(0xff))/0x6*(-parseInt(_0x18ddd0(0x110))/0x7)+-parseInt(_0x18ddd0(0xf4))/0x8+-parseInt(_0x18ddd0(0x10b))/0x9*(-parseInt(_0x18ddd0(0x11a))/0xa)+parseInt(_0x18ddd0(0x126))/0xb;if(_0x396cc3===_0x1889e1)break;else _0x13ec9b['push'](_0x13ec9b['shift']());}catch(_0x511efc){_0x13ec9b['push'](_0x13ec9b['shift']());}}}(_0x59b0,0xe3bd1));import{Plugin as _0x171386}from'ckeditor5/src/core.js';import{IconDropbox as _0x18bea4,IconFacebook as _0x2abaa4,IconGoogleDrive as _0x4d1620,IconGooglePhotos as _0x293c3c,IconUploadcareImageUpload as _0x304451,IconUploadcareLink as _0x500230,IconOneDrive as _0x3aaea2}from'ckeditor5/src/icons.js';import{ButtonView as _0x51d846,MenuBarMenuListItemButtonView as _0x3b6556}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3fb9d7}from'./uploadcareconfig.js';import{getTranslation as _0x9d175f}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x171386{[_0x498285(0xdf)];[_0x498285(0xf6)];static get[_0x498285(0x106)](){const _0x337192=_0x498285;return _0x337192(0xfb);}static get[_0x498285(0xea)](){return!0x0;}static get[_0x498285(0xe4)](){return!0x0;}[_0x498285(0xfd)](){const _0x5d88aa=_0x498285;this[_0x5d88aa(0xdf)]=this[_0x5d88aa(0x118)][_0x5d88aa(0x109)][_0x5d88aa(0x11f)](_0x5d88aa(0xdf));const _0x37c153=this[_0x5d88aa(0x118)];this[_0x5d88aa(0xf6)]=setInterval(()=>{const _0x48c174=_0x5d88aa;let _0x5759b6;for(const _0x5235c0 in _0x37c153){const _0x5859b9=_0x5235c0,_0x15b13a=_0x37c153[_0x5859b9];if(_0x48c174(0x123)==_0x15b13a||_0x48c174(0x102)==_0x15b13a||_0x48c174(0x10f)==_0x15b13a||_0x48c174(0x124)==_0x15b13a||_0x48c174(0xed)==_0x15b13a||_0x48c174(0x128)==_0x15b13a||_0x48c174(0x100)==_0x15b13a||_0x48c174(0xe6)==_0x15b13a){delete _0x37c153[_0x5859b9],_0x5759b6=_0x15b13a,clearInterval(this[_0x48c174(0xf6)]),this[_0x48c174(0xf6)]=void 0x0;break;}}_0x48c174(0x102)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0x119)),_0x48c174(0x10f)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0xe5)),_0x48c174(0x124)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0xe8)),_0x48c174(0xed)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0x108),_0x48c174(0xf8)),_0x48c174(0x128)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0x117)),_0x48c174(0x100)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0xdd)),_0x48c174(0xe6)==_0x5759b6&&_0x37c153[_0x48c174(0xfa)](_0x48c174(0xe7));},0x3e8);}[_0x498285(0x11b)](){const _0x1d396a=_0x498285,{editor:_0x8cd980}=this,_0x38e0a2=_0x8cd980[_0x1d396a(0x112)][_0x1d396a(0x11f)](_0x1d396a(0x113));if(!_0x38e0a2)return;const _0x5817d6=this[_0x1d396a(0x104)](_0x8cd980[_0x1d396a(0x109)][_0x1d396a(0x11f)](_0x1d396a(0xe9)))[_0x1d396a(0x122)]((_0x45004e,_0x7a6d8c)=>{const _0x22e6ec=_0x1d396a,_0x1abee8=this[_0x22e6ec(0xe1)](_0x7a6d8c[_0x22e6ec(0x125)]);return _0x45004e[_0x1abee8]||(_0x45004e[_0x1abee8]=[]),_0x45004e[_0x1abee8][_0x22e6ec(0xe3)](_0x7a6d8c),_0x45004e;},{});_0x8cd980[_0x1d396a(0xdb)][_0x1d396a(0xfe)](_0x1d396a(0xf9))&&_0x8cd980[_0x1d396a(0x112)][_0x1d396a(0x11f)](_0x1d396a(0x113))&&Object[_0x1d396a(0xf1)](_0x5817d6)[_0x1d396a(0x12b)](([_0xde21a3,_0x551d55])=>{const _0x217d41=_0x1d396a;_0x8cd980[_0x217d41(0xdb)][_0x217d41(0x11f)](_0x217d41(0xf9))[_0x217d41(0xf5)]({'name':_0xde21a3,'observable':()=>_0x38e0a2,'buttonViewCreator':()=>this[_0x217d41(0xfc)](_0x551d55),'formViewCreator':()=>this[_0x217d41(0x12c)](_0x551d55),'menuBarButtonViewCreator':()=>this[_0x217d41(0x121)](_0x551d55),'override':_0x217d41(0x11e)!==_0xde21a3});});}[_0x498285(0x11d)](){const _0x38ba36=_0x498285;super[_0x38ba36(0x11d)](),this[_0x38ba36(0xf6)]&&clearInterval(this[_0x38ba36(0xf6)]);}[_0x498285(0x104)](_0xbf8bb6){const _0x39aadb=_0x498285,{locale:_0x5058c3}=this[_0x39aadb(0x118)];return _0xbf8bb6[_0x39aadb(0xf0)](_0x4b0198=>{const _0x3b2e60=_0x39aadb,_0x361588=_0x9d175f(_0x5058c3,_0x4b0198,_0x3b2e60(0xee));switch(_0x4b0198){case _0x3fb9d7[_0x3b2e60(0x101)]:return{'icon':_0x304451,'type':_0x3fb9d7[_0x3b2e60(0x101)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0xde)]:return{'icon':_0x500230,'type':_0x3fb9d7[_0x3b2e60(0xde)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0x10e)]:return{'icon':_0x18bea4,'type':_0x3fb9d7[_0x3b2e60(0x10e)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0xeb)]:return{'icon':_0x2abaa4,'type':_0x3fb9d7[_0x3b2e60(0xeb)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0xef)]:return{'icon':_0x4d1620,'type':_0x3fb9d7[_0x3b2e60(0xef)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0x10c)]:return{'icon':_0x293c3c,'type':_0x3fb9d7[_0x3b2e60(0x10c)],..._0x361588};case _0x3fb9d7[_0x3b2e60(0x127)]:return{'icon':_0x3aaea2,'type':_0x3fb9d7[_0x3b2e60(0x127)],..._0x361588};}});}[_0x498285(0xe1)](_0x4d9b3f){const _0x4396d7=_0x498285;switch(_0x4d9b3f){case _0x3fb9d7[_0x4396d7(0x101)]:return _0x4396d7(0x114);case _0x3fb9d7[_0x4396d7(0xde)]:return _0x4396d7(0xe2);default:return _0x4396d7(0x11e);}}[_0x498285(0x115)](_0x120957,_0xb8e6e1){const _0x4c9c9d=_0x498285,_0x4dc264=this[_0x4c9c9d(0x118)],_0x5d760e=new _0x120957(_0x4dc264[_0x4c9c9d(0x116)]),_0x327b4d=_0x4dc264[_0x4c9c9d(0x112)][_0x4c9c9d(0x11f)](_0x4c9c9d(0x113));return _0x5d760e[_0x4c9c9d(0xf2)](_0x4c9c9d(0xdc))['to'](_0x327b4d),_0x5d760e['on'](_0x4c9c9d(0x12a),()=>{const _0x4afe0d=_0x4c9c9d;_0x327b4d[_0x4afe0d(0x12a)](_0xb8e6e1);}),_0x5d760e;}[_0x498285(0xfc)](_0xe62fba){const _0x37fe6b=_0x498285,{locale:_0x1b5b05}=this[_0x37fe6b(0x118)],_0x221935=this[_0x37fe6b(0x118)][_0x37fe6b(0xdb)][_0x37fe6b(0x11f)](_0x37fe6b(0xf9)),_0x42a821=_0xe62fba[0x0],_0xe80b7c=this[_0x37fe6b(0x115)](_0x51d846,_0x42a821[_0x37fe6b(0x125)]);return _0xe80b7c[_0x37fe6b(0x129)]=_0x42a821[_0x37fe6b(0x129)],_0xe80b7c[_0x37fe6b(0xf2)](_0x37fe6b(0xec))['to'](_0x221935,_0x37fe6b(0x10d),_0x557bbc=>_0x9d175f(_0x1b5b05,_0x42a821[_0x37fe6b(0x125)],_0x557bbc?_0x37fe6b(0x105):_0x37fe6b(0xee))[_0x37fe6b(0x103)]),_0xe80b7c[_0x37fe6b(0x111)]=!0x0,_0xe80b7c;}[_0x498285(0x12c)](_0x1cda99){const _0x302536=_0x498285,{locale:_0x27ff72}=this[_0x302536(0x118)],_0x2f352c=this[_0x302536(0x118)][_0x302536(0xdb)][_0x302536(0x11f)](_0x302536(0xf9));return _0x1cda99[_0x302536(0xf0)](_0x4ed4b2=>{const _0x4e950a=_0x302536,_0x4422e0=this[_0x4e950a(0x115)](_0x51d846,_0x4ed4b2[_0x4e950a(0x125)]);return _0x4422e0[_0x4e950a(0xf7)]=!0x0,_0x4422e0[_0x4e950a(0x129)]=_0x4ed4b2[_0x4e950a(0x129)],_0x4422e0[_0x4e950a(0xf2)](_0x4e950a(0xec))['to'](_0x2f352c,_0x4e950a(0x10d),_0x3142dc=>_0x9d175f(_0x27ff72,_0x4ed4b2[_0x4e950a(0x125)],_0x3142dc?_0x4e950a(0x105):_0x4e950a(0xee))[_0x4e950a(0x103)]),_0x4422e0;});}[_0x498285(0x121)](_0x1922dc){const _0x5aff89=_0x498285;return _0x1922dc[_0x5aff89(0xf0)](_0x1c7ee5=>{const _0x5b6daf=_0x5aff89,_0x63c651=this[_0x5b6daf(0x115)](_0x3b6556,_0x1c7ee5[_0x5b6daf(0x125)]);return _0x63c651[_0x5b6daf(0x129)]=_0x1c7ee5[_0x5b6daf(0x129)],_0x63c651[_0x5b6daf(0xec)]=_0x1c7ee5[_0x5b6daf(0xf3)],_0x63c651;});}}
23
+ const _0x15f0f7=_0x33d6;(function(_0x581604,_0x54b3c3){const _0x3cf3f7=_0x33d6,_0x58aea0=_0x581604();while(!![]){try{const _0x1534fc=parseInt(_0x3cf3f7(0xf7))/0x1+-parseInt(_0x3cf3f7(0x11c))/0x2*(-parseInt(_0x3cf3f7(0xf5))/0x3)+parseInt(_0x3cf3f7(0xfb))/0x4*(-parseInt(_0x3cf3f7(0xfc))/0x5)+parseInt(_0x3cf3f7(0x102))/0x6+parseInt(_0x3cf3f7(0x132))/0x7+-parseInt(_0x3cf3f7(0x10b))/0x8+parseInt(_0x3cf3f7(0x118))/0x9*(-parseInt(_0x3cf3f7(0x100))/0xa);if(_0x1534fc===_0x54b3c3)break;else _0x58aea0['push'](_0x58aea0['shift']());}catch(_0x592786){_0x58aea0['push'](_0x58aea0['shift']());}}}(_0x24e1,0x6585a));import{Plugin as _0x35c097}from'ckeditor5/src/core.js';function _0x33d6(_0x2c03ac,_0x47e2d8){const _0x24e1b4=_0x24e1();return _0x33d6=function(_0x33d6c8,_0x4fb807){_0x33d6c8=_0x33d6c8-0xf2;let _0x39afcc=_0x24e1b4[_0x33d6c8];return _0x39afcc;},_0x33d6(_0x2c03ac,_0x47e2d8);}import{IconDropbox as _0x338f44,IconFacebook as _0x6b610a,IconGoogleDrive as _0x650c13,IconGooglePhotos as _0x4b414d,IconUploadcareImageUpload as _0x58f314,IconUploadcareLink as _0x232ebe,IconOneDrive as _0x4ad03}from'ckeditor5/src/icons.js';import{ButtonView as _0x20d70d,MenuBarMenuListItemButtonView as _0x50e607}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x59dc91}from'./uploadcareconfig.js';import{getTranslation as _0x275015}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x24e1(){const _0x16f286=['Local','assetManager','expired','licenseKey','uploadcareLicenseKeyInvalid','GPhotos','uploadcare','forEach','init','text','_createButton','editor','216570mfdNpd','pluginName','496002zsTIVJ','_showLicenseError','push','commands','2926480qHMmsb','5VWDztB','uploadcareLicenseKeyValid','invalid','ImageInsertUI','100efiTdX','map','806478FBpdoM','_createToolbarButton','evaluationLimit','Uploadcare','uploadcare.uploader.sourceList','label','has','plugins','_createDropdownButtons','1631736ZiMrHp','get','Facebook','uploadcareLicenseKeyTrialLimit','bind','domainLimit','config','Insert','reduce','OneDrive','uploadcareLicenseKeyUsageLimit','GDrive','registerIntegration','572211pUvpfD','execute','isImageSelected','tooltip','16MrsEnZ','uploadcareLicenseKeyDomainLimit','_createMenuBarButtons','Replace','_licenseKeyCheckInterval','upload','isEnabled','featureNotAllowed','isPremiumPlugin','destroy','URL','url','uploadcareLicenseKeyExpired','_getIntegrationKey','UploadcareUI','afterInit','isOfficialPlugin','locale','uploadcareLicenseKeyEvaluationLimit','Dropbox','icon','shortText','5454932ZmnkPa','uploadcareLicenseKeyNotAllowed','type','usageLimit','entries','withText','_normalizeConfigSourceList','trialLimit'];_0x24e1=function(){return _0x16f286;};return _0x24e1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x35c097{[_0x15f0f7(0x13d)];[_0x15f0f7(0x120)];static get[_0x15f0f7(0xf6)](){const _0x3210b0=_0x15f0f7;return _0x3210b0(0x12a);}static get[_0x15f0f7(0x12c)](){return!0x0;}static get[_0x15f0f7(0x124)](){return!0x0;}[_0x15f0f7(0x142)](){const _0x4a42b0=_0x15f0f7;this[_0x4a42b0(0x13d)]=this[_0x4a42b0(0xf4)][_0x4a42b0(0x111)][_0x4a42b0(0x10c)](_0x4a42b0(0x13d));const _0x101c7e=this[_0x4a42b0(0xf4)];this[_0x4a42b0(0x120)]=setInterval(()=>{const _0x136433=_0x4a42b0;let _0x5d799c;for(const _0x2c81b7 in _0x101c7e){const _0x364ac4=_0x2c81b7,_0x32ce60=_0x101c7e[_0x364ac4];if(_0x136433(0xfd)==_0x32ce60||_0x136433(0x13e)==_0x32ce60||_0x136433(0x128)==_0x32ce60||_0x136433(0x11d)==_0x32ce60||_0x136433(0x133)==_0x32ce60||_0x136433(0x12e)==_0x32ce60||_0x136433(0x10e)==_0x32ce60||_0x136433(0x115)==_0x32ce60){delete _0x101c7e[_0x364ac4],_0x5d799c=_0x32ce60,clearInterval(this[_0x136433(0x120)]),this[_0x136433(0x120)]=void 0x0;break;}}_0x136433(0x13e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0xfe)),_0x136433(0x128)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x13c)),_0x136433(0x11d)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x110)),_0x136433(0x133)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x123),_0x136433(0x105)),_0x136433(0x12e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x104)),_0x136433(0x10e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x139)),_0x136433(0x115)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x135));},0x3e8);}[_0x15f0f7(0x12b)](){const _0x120bdd=_0x15f0f7,{editor:_0x4efc3c}=this,_0x44b99e=_0x4efc3c[_0x120bdd(0xfa)][_0x120bdd(0x10c)](_0x120bdd(0x140));if(!_0x44b99e)return;const _0x48fe3b=this[_0x120bdd(0x138)](_0x4efc3c[_0x120bdd(0x111)][_0x120bdd(0x10c)](_0x120bdd(0x106)))[_0x120bdd(0x113)]((_0x2da01a,_0x1520f)=>{const _0x36bdf2=_0x120bdd,_0x3d6c1f=this[_0x36bdf2(0x129)](_0x1520f[_0x36bdf2(0x134)]);return _0x2da01a[_0x3d6c1f]||(_0x2da01a[_0x3d6c1f]=[]),_0x2da01a[_0x3d6c1f][_0x36bdf2(0xf9)](_0x1520f),_0x2da01a;},{});_0x4efc3c[_0x120bdd(0x109)][_0x120bdd(0x108)](_0x120bdd(0xff))&&_0x4efc3c[_0x120bdd(0xfa)][_0x120bdd(0x10c)](_0x120bdd(0x140))&&Object[_0x120bdd(0x136)](_0x48fe3b)[_0x120bdd(0x141)](([_0x2f40e5,_0x3b8a3f])=>{const _0x56bfda=_0x120bdd;_0x4efc3c[_0x56bfda(0x109)][_0x56bfda(0x10c)](_0x56bfda(0xff))[_0x56bfda(0x117)]({'name':_0x2f40e5,'observable':()=>_0x44b99e,'buttonViewCreator':()=>this[_0x56bfda(0x103)](_0x3b8a3f),'formViewCreator':()=>this[_0x56bfda(0x10a)](_0x3b8a3f),'menuBarButtonViewCreator':()=>this[_0x56bfda(0x11e)](_0x3b8a3f),'override':_0x56bfda(0x13b)!==_0x2f40e5});});}[_0x15f0f7(0x125)](){const _0xd902d3=_0x15f0f7;super[_0xd902d3(0x125)](),this[_0xd902d3(0x120)]&&clearInterval(this[_0xd902d3(0x120)]);}[_0x15f0f7(0x138)](_0x37c44e){const _0x1a54ef=_0x15f0f7,{locale:_0x59ec0b}=this[_0x1a54ef(0xf4)];return _0x37c44e[_0x1a54ef(0x101)](_0x197990=>{const _0x357bdb=_0x1a54ef,_0xe476fd=_0x275015(_0x59ec0b,_0x197990,_0x357bdb(0x112));switch(_0x197990){case _0x59dc91[_0x357bdb(0x13a)]:return{'icon':_0x58f314,'type':_0x59dc91[_0x357bdb(0x13a)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x126)]:return{'icon':_0x232ebe,'type':_0x59dc91[_0x357bdb(0x126)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x12f)]:return{'icon':_0x338f44,'type':_0x59dc91[_0x357bdb(0x12f)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x10d)]:return{'icon':_0x6b610a,'type':_0x59dc91[_0x357bdb(0x10d)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x116)]:return{'icon':_0x650c13,'type':_0x59dc91[_0x357bdb(0x116)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x13f)]:return{'icon':_0x4b414d,'type':_0x59dc91[_0x357bdb(0x13f)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x114)]:return{'icon':_0x4ad03,'type':_0x59dc91[_0x357bdb(0x114)],..._0xe476fd};}});}[_0x15f0f7(0x129)](_0x124091){const _0x5aee7c=_0x15f0f7;switch(_0x124091){case _0x59dc91[_0x5aee7c(0x13a)]:return _0x5aee7c(0x121);case _0x59dc91[_0x5aee7c(0x126)]:return _0x5aee7c(0x127);default:return _0x5aee7c(0x13b);}}[_0x15f0f7(0xf3)](_0x2ebce2,_0x26092b){const _0x4a6a7b=_0x15f0f7,_0x339922=this[_0x4a6a7b(0xf4)],_0x648970=new _0x2ebce2(_0x339922[_0x4a6a7b(0x12d)]),_0x4722cc=_0x339922[_0x4a6a7b(0xfa)][_0x4a6a7b(0x10c)](_0x4a6a7b(0x140));return _0x648970[_0x4a6a7b(0x10f)](_0x4a6a7b(0x122))['to'](_0x4722cc),_0x648970['on'](_0x4a6a7b(0x119),()=>{const _0x4ed03d=_0x4a6a7b;_0x4722cc[_0x4ed03d(0x119)](_0x26092b);}),_0x648970;}[_0x15f0f7(0x103)](_0x372505){const _0x32ea47=_0x15f0f7,{locale:_0x32d661}=this[_0x32ea47(0xf4)],_0x16d129=this[_0x32ea47(0xf4)][_0x32ea47(0x109)][_0x32ea47(0x10c)](_0x32ea47(0xff)),_0xaf279a=_0x372505[0x0],_0xb28c1d=this[_0x32ea47(0xf3)](_0x20d70d,_0xaf279a[_0x32ea47(0x134)]);return _0xb28c1d[_0x32ea47(0x130)]=_0xaf279a[_0x32ea47(0x130)],_0xb28c1d[_0x32ea47(0x10f)](_0x32ea47(0x107))['to'](_0x16d129,_0x32ea47(0x11a),_0x55ba5d=>_0x275015(_0x32d661,_0xaf279a[_0x32ea47(0x134)],_0x55ba5d?_0x32ea47(0x11f):_0x32ea47(0x112))[_0x32ea47(0xf2)]),_0xb28c1d[_0x32ea47(0x11b)]=!0x0,_0xb28c1d;}[_0x15f0f7(0x10a)](_0x68c2af){const _0x258458=_0x15f0f7,{locale:_0x24aca2}=this[_0x258458(0xf4)],_0x3e4451=this[_0x258458(0xf4)][_0x258458(0x109)][_0x258458(0x10c)](_0x258458(0xff));return _0x68c2af[_0x258458(0x101)](_0x17b5ec=>{const _0x593eba=_0x258458,_0x5513e3=this[_0x593eba(0xf3)](_0x20d70d,_0x17b5ec[_0x593eba(0x134)]);return _0x5513e3[_0x593eba(0x137)]=!0x0,_0x5513e3[_0x593eba(0x130)]=_0x17b5ec[_0x593eba(0x130)],_0x5513e3[_0x593eba(0x10f)](_0x593eba(0x107))['to'](_0x3e4451,_0x593eba(0x11a),_0x565691=>_0x275015(_0x24aca2,_0x17b5ec[_0x593eba(0x134)],_0x565691?_0x593eba(0x11f):_0x593eba(0x112))[_0x593eba(0xf2)]),_0x5513e3;});}[_0x15f0f7(0x11e)](_0x1d835a){const _0x2b6542=_0x15f0f7;return _0x1d835a[_0x2b6542(0x101)](_0x13640c=>{const _0x33ddad=_0x2b6542,_0x5baf53=this[_0x33ddad(0xf3)](_0x50e607,_0x13640c[_0x33ddad(0x134)]);return _0x5baf53[_0x33ddad(0x130)]=_0x13640c[_0x33ddad(0x130)],_0x5baf53[_0x33ddad(0x107)]=_0x13640c[_0x33ddad(0x131)],_0x5baf53;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5c70a2}from'ckeditor5/src/core.js';import{FileRepository as _0x1a9f4e}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x428613}from'./uploadcareediting.js';import{UploadUtils as _0x2bff1d}from'./utils/uploadutils.js';import{getImageUrls as _0x310efe}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5c70a2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a9f4e,_0x428613];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x349d62=this['editor'];if(!!!_0x349d62['config']['get']('uploadcare'))return;_0x349d62['plugins']['get'](_0x1a9f4e)['createUploadAdapter']=_0x10ee7b=>new k(_0x10ee7b,_0x349d62),_0x349d62['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x454610,{imageElement:_0x418fb9,data:_0x46395f})=>{_0x349d62['model']['change'](_0x2ec170=>{_0x2ec170['setAttribute']('uploadcareImageId',_0x46395f['uploadcareImageId'],_0x418fb9);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x35c8b7,_0x150066){this['loader']=_0x35c8b7,this['editor']=_0x150066,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1dd291=await this['loader']['file'];return _0x2bff1d['upload']({'file':_0x1dd291,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4107fa=>{_0x4107fa&&_0x4107fa['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4107fa['value']);}})['then'](async _0xb973e7=>{const {imageFallbackUrl:_0x4406d8,imageSources:_0xebe408}=_0x310efe(_0xb973e7['cdnUrl'],_0xb973e7['imageInfo']['width']);return{'uploadcareImageId':_0xb973e7['uuid'],'default':_0x4406d8,'sources':_0xebe408};})['catch'](()=>{const _0x373ef2=t('Cannot\x20upload\x20file:')+('\x20'+_0x1dd291['name']+'.');return Promise['reject'](_0x373ef2);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xcbc18c}from'ckeditor5/src/core.js';import{FileRepository as _0x16f005}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2c5da8}from'./uploadcareediting.js';import{UploadUtils as _0x1ae357}from'./utils/uploadutils.js';import{getImageUrls as _0x72167d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xcbc18c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x16f005,_0x2c5da8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x109515=this['editor'];if(!!!_0x109515['config']['get']('uploadcare'))return;_0x109515['plugins']['get'](_0x16f005)['createUploadAdapter']=_0x433950=>new k(_0x433950,_0x109515),_0x109515['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31bd3a,{imageElement:_0x9ceb4a,data:_0xd112dd})=>{_0x109515['model']['change'](_0x56871c=>{_0x56871c['setAttribute']('uploadcareImageId',_0xd112dd['uploadcareImageId'],_0x9ceb4a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x343a30,_0x15950a){this['loader']=_0x343a30,this['editor']=_0x15950a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a2967=await this['loader']['file'];return _0x1ae357['upload']({'file':_0x3a2967,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x498571=>{_0x498571&&_0x498571['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x498571['value']);}})['then'](async _0x58c6a7=>{const {imageFallbackUrl:_0x3306c4,imageSources:_0x1beee0}=_0x72167d(_0x58c6a7['cdnUrl'],_0x58c6a7['imageInfo']['width']);return{'uploadcareImageId':_0x58c6a7['uuid'],'default':_0x3306c4,'sources':_0x1beee0};})['catch'](()=>{const _0x4f3e15=t('Cannot\x20upload\x20file:')+('\x20'+_0x3a2967['name']+'.');return Promise['reject'](_0x4f3e15);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x45addd}from'../uploadcareconfig.js';export function getTranslation(_0x25ae0b,_0x12a9c9,_0x46dc6d){const t=_0x25ae0b['t'],_0x58953b=_0x25ae0b['t'];switch(_0x12a9c9){case _0x45addd['Local']:return{'text':_0x58953b('Insert'===_0x46dc6d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x58953b('From\x20computer')};case _0x45addd['URL']:return{'text':'Insert'===_0x46dc6d?_0x58953b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x58953b('Via\x20URL')};case _0x45addd['Dropbox']:return{'text':t('Insert'===_0x46dc6d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x45addd['Facebook']:return{'text':t('Insert'===_0x46dc6d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x45addd['GDrive']:return{'text':t('Insert'===_0x46dc6d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x45addd['GPhotos']:return{'text':t('Insert'===_0x46dc6d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x45addd['OneDrive']:return{'text':t('Insert'===_0x46dc6d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12a9c9;}}
23
+ import{UploadcareSource as _0x143696}from'../uploadcareconfig.js';export function getTranslation(_0x3e39c6,_0x4785dc,_0x14fdcd){const t=_0x3e39c6['t'],_0x4089c1=_0x3e39c6['t'];switch(_0x4785dc){case _0x143696['Local']:return{'text':_0x4089c1('Insert'===_0x14fdcd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4089c1('From\x20computer')};case _0x143696['URL']:return{'text':'Insert'===_0x14fdcd?_0x4089c1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4089c1('Via\x20URL')};case _0x143696['Dropbox']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x143696['Facebook']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x143696['GDrive']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x143696['GPhotos']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x143696['OneDrive']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4785dc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5a6cc0=_0x5a05;(function(_0x4b548f,_0x42d5b6){var _0x3af68e=_0x5a05,_0x43c03c=_0x4b548f();while(!![]){try{var _0x3562be=-parseInt(_0x3af68e(0x8d))/0x1*(-parseInt(_0x3af68e(0x8c))/0x2)+-parseInt(_0x3af68e(0x8f))/0x3*(parseInt(_0x3af68e(0x88))/0x4)+-parseInt(_0x3af68e(0x91))/0x5*(parseInt(_0x3af68e(0x8e))/0x6)+-parseInt(_0x3af68e(0x93))/0x7*(parseInt(_0x3af68e(0x87))/0x8)+-parseInt(_0x3af68e(0x96))/0x9+-parseInt(_0x3af68e(0x92))/0xa+parseInt(_0x3af68e(0x8b))/0xb;if(_0x3562be===_0x42d5b6)break;else _0x43c03c['push'](_0x43c03c['shift']());}catch(_0xd149aa){_0x43c03c['push'](_0x43c03c['shift']());}}}(_0x202d,0xb4f4b));function _0x202d(){var _0x3018de=['bindTemplate','fire','60815799jAmPdA','2urlQJW','186441rSXweN','2292IvRQrX','2082315NgoKny','true','16495jbYBvQ','14788050KEtmVL','9372153JQnTQJ','focusCycler','div','1817532YhYOUR','createCollection','getFocusableElement','forwardCycle','focusTracker','8uayMPu','4SNwPRc'];_0x202d=function(){return _0x3018de;};return _0x202d();}import{FocusTracker as _0x51e12a}from'ckeditor5/src/utils.js';import{View as _0x291a10,FocusCycler as _0xf28c85}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5a05(_0x36c7e4,_0x323979){var _0x202d74=_0x202d();return _0x5a05=function(_0x5a05fc,_0x32b289){_0x5a05fc=_0x5a05fc-0x87;var _0x2f43c6=_0x202d74[_0x5a05fc];return _0x2f43c6;},_0x5a05(_0x36c7e4,_0x323979);}export class DialogFocusManagerView extends _0x291a10{[_0x5a6cc0(0x9a)];[_0x5a6cc0(0x94)];constructor(_0x40c23f){var _0x2e5f94=_0x5a6cc0;super(_0x40c23f),this[_0x2e5f94(0x9a)]=new _0x51e12a(),this[_0x2e5f94(0x94)]=new _0xf28c85({'focusables':this[_0x2e5f94(0x97)](),'focusTracker':this[_0x2e5f94(0x9a)]});}[_0x5a6cc0(0x98)](){var _0x19cc28=_0x5a6cc0;return{'tag':_0x19cc28(0x95),'attributes':{'aria-hidden':_0x19cc28(0x90),'tabindex':'0'},'on':{'focus':this[_0x19cc28(0x89)]['to'](()=>{var _0x476f6d=_0x19cc28;this[_0x476f6d(0x94)][_0x476f6d(0x8a)](_0x476f6d(0x99));})}};}}
23
+ function _0x27a9(_0x3a4e4f,_0x1fad7e){var _0x5bbbdb=_0x5bbb();return _0x27a9=function(_0x27a972,_0x4f07c2){_0x27a972=_0x27a972-0x16a;var _0xdde421=_0x5bbbdb[_0x27a972];return _0xdde421;},_0x27a9(_0x3a4e4f,_0x1fad7e);}var _0x4aef8e=_0x27a9;function _0x5bbb(){var _0x577cdf=['1981420yYySRp','forwardCycle','focusCycler','14732SWWHJA','true','createCollection','4529815HoZWBr','21mfLpuM','2176232NtEyIg','bindTemplate','div','116gICELl','393132nwkhMu','14665662UXCYHo','797481onPrDJ','fire','getFocusableElement','focusTracker'];_0x5bbb=function(){return _0x577cdf;};return _0x5bbb();}(function(_0x5e86f1,_0x352284){var _0x48d4b2=_0x27a9,_0x531fbd=_0x5e86f1();while(!![]){try{var _0x3d72b8=parseInt(_0x48d4b2(0x170))/0x1*(parseInt(_0x48d4b2(0x178))/0x2)+parseInt(_0x48d4b2(0x17b))/0x3+-parseInt(_0x48d4b2(0x16d))/0x4+-parseInt(_0x48d4b2(0x173))/0x5+-parseInt(_0x48d4b2(0x179))/0x6+-parseInt(_0x48d4b2(0x174))/0x7*(parseInt(_0x48d4b2(0x175))/0x8)+parseInt(_0x48d4b2(0x17a))/0x9;if(_0x3d72b8===_0x352284)break;else _0x531fbd['push'](_0x531fbd['shift']());}catch(_0x63277){_0x531fbd['push'](_0x531fbd['shift']());}}}(_0x5bbb,0x71fba));import{FocusTracker as _0x47fda3}from'ckeditor5/src/utils.js';import{View as _0x4dba4b,FocusCycler as _0xf20ecb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4dba4b{[_0x4aef8e(0x16c)];[_0x4aef8e(0x16f)];constructor(_0x4108b0){var _0x3b091f=_0x4aef8e;super(_0x4108b0),this[_0x3b091f(0x16c)]=new _0x47fda3(),this[_0x3b091f(0x16f)]=new _0xf20ecb({'focusables':this[_0x3b091f(0x172)](),'focusTracker':this[_0x3b091f(0x16c)]});}[_0x4aef8e(0x16b)](){var _0x2a7555=_0x4aef8e;return{'tag':_0x2a7555(0x177),'attributes':{'aria-hidden':_0x2a7555(0x171),'tabindex':'0'},'on':{'focus':this[_0x2a7555(0x176)]['to'](()=>{var _0xf252ff=_0x2a7555;this[_0xf252ff(0x16f)][_0xf252ff(0x16a)](_0xf252ff(0x16e));})}};}}