@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251210.0 → 0.0.0-internal-20251218.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 _0x2facc1=_0xef37;function _0xef37(_0xab9f2,_0x3718cf){const _0x26f9a5=_0x26f9();return _0xef37=function(_0xef37be,_0x427662){_0xef37be=_0xef37be-0xca;let _0x552b81=_0x26f9a5[_0xef37be];return _0x552b81;},_0xef37(_0xab9f2,_0x3718cf);}(function(_0x3b27b0,_0xa12c39){const _0x51b0f1=_0xef37,_0x30c66b=_0x3b27b0();while(!![]){try{const _0x1e16a8=parseInt(_0x51b0f1(0xcb))/0x1+parseInt(_0x51b0f1(0xfa))/0x2*(parseInt(_0x51b0f1(0x11a))/0x3)+parseInt(_0x51b0f1(0x117))/0x4+-parseInt(_0x51b0f1(0xd7))/0x5*(-parseInt(_0x51b0f1(0xff))/0x6)+-parseInt(_0x51b0f1(0x11c))/0x7*(-parseInt(_0x51b0f1(0xcf))/0x8)+parseInt(_0x51b0f1(0xdc))/0x9*(parseInt(_0x51b0f1(0x103))/0xa)+-parseInt(_0x51b0f1(0xd6))/0xb*(parseInt(_0x51b0f1(0x111))/0xc);if(_0x1e16a8===_0xa12c39)break;else _0x30c66b['push'](_0x30c66b['shift']());}catch(_0x177d26){_0x30c66b['push'](_0x30c66b['shift']());}}}(_0x26f9,0xb7747));import{Plugin as _0x133b75}from'ckeditor5/src/core.js';import{Dialog as _0x7ec3fb}from'ckeditor5/src/ui.js';import{createElement as _0x28a8e3,global as _0x11608a,uid as _0x241b4a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4f68c2}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4c7a84}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b9eca}from'./utils/editingutils.js';export class UploadcareEditing extends _0x133b75{[_0x2facc1(0xf9)]=null;[_0x2facc1(0x118)]=null;static get[_0x2facc1(0x11d)](){const _0x21c87d=_0x2facc1;return _0x21c87d(0x110);}static get[_0x2facc1(0x100)](){const _0x19e841=_0x2facc1;return[_0x19e841(0xda),_0x4c7a84,_0x7ec3fb];}static get[_0x2facc1(0xe2)](){return!0x0;}static get[_0x2facc1(0x106)](){return!0x0;}[_0x2facc1(0x10f)];get[_0x2facc1(0xf4)](){const _0x409c6f=_0x2facc1;return this[_0x409c6f(0xf9)];}get[_0x2facc1(0x11f)](){const _0x177f72=_0x2facc1;return this[_0x177f72(0x118)];}constructor(_0xdd6f7a){const _0x25c64e=_0x2facc1;super(_0xdd6f7a),this[_0x25c64e(0x10f)]=_0x241b4a();}[_0x2facc1(0xf6)](){const _0x4d28fa=_0x2facc1,_0x3c6c89=this[_0x4d28fa(0xd3)];_0x3c6c89[_0x4d28fa(0xec)][_0x4d28fa(0xe4)](_0x4d28fa(0xe8),new _0x4f68c2(_0x3c6c89));}[_0x2facc1(0xf3)](){const _0x23c9f0=_0x2facc1;this[_0x23c9f0(0xd4)](),this[_0x23c9f0(0xdd)](),this[_0x23c9f0(0xef)](),this[_0x23c9f0(0x11e)](),this[_0x23c9f0(0x112)](),this[_0x23c9f0(0xf7)](this[_0x23c9f0(0xd3)],_0x23c9f0(0xcd),()=>{const _0x56d9f0=_0x23c9f0;this[_0x56d9f0(0xf9)]&&(this[_0x56d9f0(0xf9)][_0x56d9f0(0xde)](),this[_0x56d9f0(0xf9)]=null),this[_0x56d9f0(0x118)]&&(this[_0x56d9f0(0x118)][_0x56d9f0(0xde)](),this[_0x56d9f0(0x118)]=null);const _0x250673=_0x11608a[_0x56d9f0(0xf2)][_0x56d9f0(0xe3)](_0x56d9f0(0xca));_0x250673&&_0x250673[_0x56d9f0(0xde)]();}),async function(_0x58554c){const _0x3249c5=_0x22ba93([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]),_0x4a8d81=0x535f8c3a,_0x7e6ce4=0x5358f07a^_0x4a8d81,_0x28f9da=window[_0x22ba93([0x44,0x61,0x74,0x65])][_0x22ba93([0x6e,0x6f,0x77])](),_0x5068eb=_0x58554c[_0x22ba93([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f40a5=new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7b10d3=>{_0x5068eb[_0x22ba93([0x6f,0x6e,0x63,0x65])](_0x22ba93([0x72,0x65,0x61,0x64,0x79]),_0x7b10d3);}),_0x4045b8={[_0x22ba93([0x6b,0x74,0x79])]:_0x22ba93([0x45,0x43]),[_0x22ba93([0x75,0x73,0x65])]:_0x22ba93([0x73,0x69,0x67]),[_0x22ba93([0x63,0x72,0x76])]:_0x22ba93([0x50,0x2d,0x32,0x35,0x36]),[_0x22ba93([0x78])]:_0x22ba93([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]),[_0x22ba93([0x79])]:_0x22ba93([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]),[_0x22ba93([0x61,0x6c,0x67])]:_0x22ba93([0x45,0x53,0x32,0x35,0x36])},_0x304f00=_0x5068eb[_0x22ba93([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22ba93([0x67,0x65,0x74])](_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x474a24(){let _0x2293ac,_0x4cf09a=null,_0x1b4419=null;try{if(_0x304f00==_0x22ba93([0x47,0x50,0x4c]))return _0x22ba93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2293ac=_0x229477(),!_0x2293ac)return _0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2293ac[_0x22ba93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b4419=_0x263433(_0x2293ac[_0x22ba93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2293ac[_0x22ba93([0x6a,0x74,0x69])])),await _0x5f4f53()?_0x3668cf()?_0x1639ec()?_0x22ba93([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4567b2()?(_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22ba93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cf09a=_0x139c18(_0x22ba93([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22ba93([0x74,0x72,0x69,0x61,0x6c])&&(_0x4cf09a=_0x139c18(_0x22ba93([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2190d7()):_0x22ba93([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22ba93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1639ec(){const _0x149cd4=[_0x22ba93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22ba93([0x74,0x72,0x69,0x61,0x6c])][_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28f9da/0x3e8:0xe10*_0x7e6ce4;return _0x2293ac[_0x22ba93([0x65,0x78,0x70])]<_0x149cd4;}function _0x3668cf(){const _0xa4e59e=_0x2293ac[_0x22ba93([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa4e59e&&(!!_0xa4e59e[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x2a]))||!!_0xa4e59e[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x55,0x50,0x4c,0x43])));}function _0x4567b2(){const _0x4ae88e=_0xef37,_0x3ff934=_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ff934||0x0==_0x3ff934[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33dad5}=new URL(window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ae88e(0x107)]);if(_0x3ff934[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33dad5))return!0x0;const _0x2b12c0=_0x33dad5[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e]));return _0x3ff934[_0x22ba93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588caa=>_0x588caa[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x2a])))[_0x22ba93([0x6d,0x61,0x70])](_0x19eb25=>_0x19eb25[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e])))[_0x22ba93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27bd9e=>_0x27bd9e[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b12c0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22ba93([0x6d,0x61,0x70])](_0x306dbb=>Array(_0x2b12c0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x306dbb[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22ba93([0x66,0x69,0x6c,0x6c])](_0x306dbb[0x0]===_0x22ba93([0x2a])?_0x22ba93([0x2a]):'')[_0x22ba93([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x306dbb))[_0x22ba93([0x73,0x6f,0x6d,0x65])](_0x15c674=>_0x2b12c0[_0x22ba93([0x65,0x76,0x65,0x72,0x79])]((_0x59ef78,_0x4c5df2)=>_0x15c674[_0x4c5df2]===_0x59ef78||_0x15c674[_0x4c5df2]===_0x22ba93([0x2a])));}function _0x2190d7(){return _0x4cf09a&&_0x1b4419?new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20a6b0,_0x4da3c9)=>{_0x4cf09a[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x20a6b0,_0x4da3c9),_0x1b4419[_0x22ba93([0x74,0x68,0x65,0x6e])](_0xedba8d=>{_0xedba8d!=_0x22ba93([0x56,0x61,0x6c,0x69,0x64])&&_0x20a6b0(_0xedba8d);},_0x4da3c9);}):_0x4cf09a||_0x1b4419||_0x22ba93([0x56,0x61,0x6c,0x69,0x64]);}}function _0x263433(_0x48a1da,_0x293426){return new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523fdf=>{if(_0x286a7e())return _0x523fdf(_0x22ba93([0x56,0x61,0x6c,0x69,0x64]));_0x8dea14(),_0x5068eb[_0x22ba93([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bbc85=!0x1;const _0x3cdd0c=_0x241b4a();function _0x6be000(_0x30a85b){return!!_0x30a85b&&(typeof _0x30a85b===_0x22ba93([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30a85b===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30a85b[_0x22ba93([0x74,0x68,0x65,0x6e])]===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30a85b[_0x22ba93([0x63,0x61,0x74,0x63,0x68])]===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2aaab4(_0xdcf3df){_0x36507e(_0xdcf3df)[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x36c16c=>{if(!_0x36c16c||_0x36c16c[_0x22ba93([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22ba93([0x6f,0x6b]))return _0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x596184(_0xd17ac3(_0x3cdd0c+_0x293426))!=_0x36c16c[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22ba93([0x56,0x61,0x6c,0x69,0x64]);})[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x2042b0=>(_0x1ca91d(),_0x2042b0),()=>{const _0x36e4fa=_0x512cf2();return null==_0x36e4fa?(_0x1ca91d(),_0x22ba93([0x56,0x61,0x6c,0x69,0x64])):_0x22ba93(_0x28f9da-_0x36e4fa>(0x7753083a^_0x4a8d81)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x523fdf)[_0x22ba93([0x63,0x61,0x74,0x63,0x68])](()=>{_0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x533e35=0x536962ba^_0x4a8d81;function _0x1ca91d(){const _0x20d9dd=_0x22ba93([0x6c,0x6c,0x63,0x74,0x2d])+_0x596184(_0xd17ac3(_0x48a1da)),_0x47ab86=_0x24275e(_0x596184(window[_0x22ba93([0x4d,0x61,0x74,0x68])][_0x22ba93([0x63,0x65,0x69,0x6c])](_0x28f9da/_0x533e35)));window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22ba93([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20d9dd,_0x47ab86);}function _0x512cf2(){const _0x305209=_0x22ba93([0x6c,0x6c,0x63,0x74,0x2d])+_0x596184(_0xd17ac3(_0x48a1da)),_0x3357e9=window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22ba93([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x305209);return _0x3357e9?window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24275e(_0x3357e9),0x10)*_0x533e35:null;}function _0x36507e(_0xb82c51){return new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x343e90,_0x466e16)=>{_0xb82c51[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x343e90,_0x466e16),window[_0x22ba93([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x466e16,0x535e58fa^_0x4a8d81);});}}_0x5068eb[_0x22ba93([0x6f,0x6e])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x63e6c4,_0x17c0ac)=>{if(_0x17c0ac[0x0]!=_0x48a1da)return _0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17c0ac[0x1]={..._0x17c0ac[0x1],[_0x22ba93([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cdd0c};},{[_0x22ba93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22ba93([0x68,0x69,0x67,0x68])}),_0x5068eb[_0x22ba93([0x6f,0x6e])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3da989=>{_0x6be000(_0x3da989[_0x22ba93([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bbc85=!0x0,_0x2aaab4(_0x3da989[_0x22ba93([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22ba93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22ba93([0x6c,0x6f,0x77])}),_0x1f40a5[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>{_0x5bbc85||_0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x286a7e(){return _0x5068eb[_0x22ba93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22ba93([0x76,0x69,0x65,0x77])][_0x22ba93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22ba93([0x61,0x75,0x74,0x6f]);}function _0x8dea14(){_0x5068eb[_0x22ba93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22ba93([0x76,0x69,0x65,0x77])][_0x22ba93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22ba93([0x61,0x75,0x74,0x6f]);}}function _0x139c18(_0x1b6096){const _0x4ef508=[new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f804f=>setTimeout(_0x2f804f,0x5356b2f6^_0x4a8d81)),_0x1f40a5[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2193ca=>{let _0x55a967=0x0;_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x6f,0x6e])](_0x22ba93([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd2fa8d,_0x4f74f1)=>{_0x4f74f1[0x0][_0x22ba93([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55a967++,_0x55a967==(0x535f8dc2^_0x4a8d81)&&(_0x2193ca(),_0xd2fa8d[_0x22ba93([0x6f,0x66,0x66])]());});}))];return window[_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22ba93([0x72,0x61,0x63,0x65])](_0x4ef508)[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>_0x1b6096);}async function _0x4c0e48(){await _0x1f40a5,_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4750b1,_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4750b1,_0x5068eb[_0x22ba93([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e81de(_0x58b0ce){const _0x1a62a8=_0x12e190();_0x5068eb[_0x1a62a8]=_0x22ba93([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58b0ce,_0x58b0ce!=_0x22ba93([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0e48();}function _0x12e190(){const _0x4ce364=window[_0x22ba93([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22ba93([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22ba93([0x6e,0x6f,0x77])]())[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22ba93([0x2e]),'');let _0xef9f48=_0x22ba93([0x68]);for(let _0x578409=0x0;_0x578409<_0x4ce364[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x578409+=0x2){let _0x56e14d=window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ce364[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x578409,_0x578409+0x2));_0x56e14d>=_0x3249c5[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56e14d-=_0x3249c5[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xef9f48+=_0x3249c5[_0x56e14d];}return _0xef9f48;}function _0x229477(){const _0x356ff1=_0x304f00[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e]));if(0x3!=_0x356ff1[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x329fb9(_0x356ff1[0x1]);function _0x329fb9(_0x2d57ba){const _0x4451a3=_0x3c232f(_0x2d57ba);return _0x4451a3&&_0x1981ec()?_0x4451a3:null;function _0x1981ec(){const _0x3f16f0=_0x4451a3[_0x22ba93([0x6a,0x74,0x69])],_0x294018=window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f16f0[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f16f0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160fc0={..._0x4451a3,[_0x22ba93([0x6a,0x74,0x69])]:_0x3f16f0[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f16f0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160fc0[_0x22ba93([0x76,0x63])],_0xd17ac3(_0x160fc0)==_0x294018;}}}async function _0x5f4f53(){let _0x21500e=!0x0;try{const _0x5174d8=_0x304f00[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e])),[_0x55ece6,_0x14a9b9,_0x4c1d25]=_0x5174d8;return _0x217957(_0x55ece6),await _0x18f235(_0x55ece6,_0x14a9b9,_0x4c1d25),_0x21500e;}catch{return!0x1;}function _0x217957(_0x1b15b5){const _0x3b5fe4=_0x3c232f(_0x1b15b5);_0x3b5fe4&&_0x3b5fe4[_0x22ba93([0x61,0x6c,0x67])]==_0x22ba93([0x45,0x53,0x32,0x35,0x36])||(_0x21500e=!0x1);}async function _0x18f235(_0x5da952,_0x1eb6f2,_0x5f45e6){const _0x28eabc=window[_0x22ba93([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22ba93([0x66,0x72,0x6f,0x6d])](_0x1156cd(_0x5f45e6),_0x2797bc=>_0x2797bc[_0x22ba93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x24803e=new window[(_0x22ba93([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22ba93([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da952+_0x22ba93([0x2e])+_0x1eb6f2),_0x482495=window[_0x22ba93([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22ba93([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x482495)return;const _0x1aa941=await _0x482495[_0x22ba93([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22ba93([0x6a,0x77,0x6b]),_0x4045b8,{[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x45,0x43,0x44,0x53,0x41]),[_0x22ba93([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22ba93([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x482495[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x45,0x43,0x44,0x53,0x41]),[_0x22ba93([0x68,0x61,0x73,0x68])]:{[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1aa941,_0x28eabc,_0x24803e)||(_0x21500e=!0x1);}}function _0x3c232f(_0x40fc5d){return _0x40fc5d[_0x22ba93([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22ba93([0x65,0x79]))?JSON[_0x22ba93([0x70,0x61,0x72,0x73,0x65])](_0x1156cd(_0x40fc5d)):null;}function _0x1156cd(_0x41b388){return window[_0x22ba93([0x61,0x74,0x6f,0x62])](_0x41b388[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22ba93([0x2b]))[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22ba93([0x2f])));}function _0xd17ac3(_0x30ccb6){let _0x634515=0x1505;function _0x3b015d(_0x15bc7a){for(let _0x12c0d9=0x0;_0x12c0d9<_0x15bc7a[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12c0d9++){const _0x421586=_0x15bc7a[_0x22ba93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12c0d9);_0x634515=(_0x634515<<0x5)+_0x634515+_0x421586,_0x634515&=_0x634515;}}function _0x204500(_0x4f27bc){Array[_0x22ba93([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f27bc)?_0x4f27bc[_0x22ba93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x204500):_0x4f27bc&&typeof _0x4f27bc==_0x22ba93([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22ba93([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f27bc)[_0x22ba93([0x73,0x6f,0x72,0x74])]()[_0x22ba93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d8b42,_0x164f54])=>{_0x3b015d(_0x2d8b42),_0x204500(_0x164f54);}):_0x3b015d(window[_0x22ba93([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f27bc));}return _0x204500(_0x30ccb6),_0x634515>>>0x0;}function _0x596184(_0x321907){return _0x321907[_0x22ba93([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22ba93([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22ba93([0x30]));}function _0x24275e(_0x192b19){return _0x192b19[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22ba93([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22ba93([0x6a,0x6f,0x69,0x6e])]('');}function _0x4750b1(){}function _0x22ba93(_0x577ff3){const _0x39ec6=_0xef37;return _0x577ff3[_0x39ec6(0xd8)](_0x3de6ef=>String[_0x39ec6(0xd9)](_0x3de6ef))[_0x39ec6(0x119)]('');}_0x2e81de(await _0x474a24());}(this);}[_0x2facc1(0xd4)](){const _0x35573f=_0x2facc1,_0x3a7f33=this[_0x35573f(0xd3)][_0x35573f(0x101)][_0x35573f(0xdb)];_0x3a7f33[_0x35573f(0x116)](_0x35573f(0xcc))&&_0x3a7f33[_0x35573f(0x115)](_0x35573f(0xcc),{'allowAttributes':[_0x35573f(0x113)]}),_0x3a7f33[_0x35573f(0x116)](_0x35573f(0x109))&&_0x3a7f33[_0x35573f(0x115)](_0x35573f(0x109),{'allowAttributes':[_0x35573f(0x113)]});}[_0x2facc1(0xdd)](){const _0x5b00a2=_0x2facc1,_0x543e9d=this[_0x5b00a2(0xd3)];_0x543e9d[_0x5b00a2(0xf8)][_0x5b00a2(0xd0)](_0x5b00a2(0xea))[_0x5b00a2(0xd5)]({'model':_0x5b00a2(0x113),'view':_0x5b00a2(0xd1)}),_0x543e9d[_0x5b00a2(0xf8)][_0x5b00a2(0xd0)](_0x5b00a2(0xfd))[_0x5b00a2(0xeb)]({'model':{'key':_0x5b00a2(0x113),'value':_0x158f27=>_0x158f27[_0x5b00a2(0xfe)](_0x5b00a2(0xd1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x215d25=_0x543e9d[_0x5b00a2(0xec)][_0x5b00a2(0xed)](_0x5b00a2(0x10c));_0x215d25&&this[_0x5b00a2(0xf7)](_0x215d25,_0x5b00a2(0x105),(_0x52324d,[_0x33421c,_0x1f276f])=>{const _0x1b6f19=_0x5b00a2;_0x33421c[_0x1b6f19(0xf5)](_0x1b6f19(0x113),_0x1f276f);});}[_0x2facc1(0xef)](){const _0x735b97=_0x2facc1,_0x5c27e8=this[_0x735b97(0xd3)][_0x735b97(0xee)][_0x735b97(0xed)](_0x735b97(0xdf))||{},_0x391a70=this[_0x735b97(0xd3)][_0x735b97(0xee)][_0x735b97(0xed)](_0x735b97(0xe0))||'';this[_0x735b97(0xf9)]=_0x28a8e3(_0x11608a[_0x735b97(0xf2)],_0x735b97(0xe1),{..._0x5c27e8,'pubkey':_0x391a70,'ctx-name':_0x735b97(0xf0)+this[_0x735b97(0x10f)],'sourceList':'','imgOnly':_0x735b97(0x104),'removeCopyright':_0x735b97(0x104),'localeName':this[_0x735b97(0xd3)][_0x735b97(0xd2)][_0x735b97(0x10a)],'externalSourcesEmbedCss':_0x735b97(0xfb)}),this[_0x735b97(0xf9)][_0x735b97(0xe7)]=_0x3b7728=>{const _0x3206ac=_0x735b97;if(_0x3206ac(0xfc)==_0x3b7728)return _0x3206ac(0x10e);},_0x11608a[_0x735b97(0xf2)][_0x735b97(0x120)][_0x735b97(0xe6)](this[_0x735b97(0xf9)]);}[_0x2facc1(0x11e)](){const _0x293d36=_0x2facc1;this[_0x293d36(0x118)]=_0x28a8e3(_0x11608a[_0x293d36(0xf2)],_0x293d36(0x10b),{'ctx-name':_0x293d36(0xf0)+this[_0x293d36(0x10f)]}),_0x11608a[_0x293d36(0xf2)][_0x293d36(0x120)][_0x293d36(0xe6)](this[_0x293d36(0x118)]);}[_0x2facc1(0x112)](){const _0x4cf8b4=_0x2facc1,_0x214a96=this[_0x4cf8b4(0xd3)][_0x4cf8b4(0xec)][_0x4cf8b4(0xed)](_0x4cf8b4(0x10d));_0x214a96&&this[_0x4cf8b4(0xf7)](_0x214a96,_0x4cf8b4(0xf1),()=>{const _0x1928f4=_0x4cf8b4,_0x43ecb6=this[_0x1928f4(0xd3)][_0x1928f4(0x101)][_0x1928f4(0xf2)][_0x1928f4(0x114)][_0x1928f4(0xce)]();_0x43ecb6&&_0x43ecb6[_0x1928f4(0xfe)](_0x1928f4(0x113))&&this[_0x1928f4(0xd3)][_0x1928f4(0xe5)][_0x1928f4(0xe9)][_0x1928f4(0x11b)](_0x1928f4(0x108),()=>{const _0x201de8=_0x1928f4;_0x2b9eca(this[_0x201de8(0xd3)],_0x43ecb6);});});const _0x2cb690=this[_0x4cf8b4(0xd3)][_0x4cf8b4(0xec)][_0x4cf8b4(0xed)](_0x4cf8b4(0x102));_0x2cb690&&this[_0x4cf8b4(0xf7)](_0x2cb690,_0x4cf8b4(0xf1),()=>{const _0x141ec0=_0x4cf8b4,_0x334151=this[_0x141ec0(0xd3)][_0x141ec0(0x101)][_0x141ec0(0xf2)][_0x141ec0(0x114)][_0x141ec0(0xce)]();_0x334151&&_0x334151[_0x141ec0(0xfe)](_0x141ec0(0x113))&&this[_0x141ec0(0xd3)][_0x141ec0(0xe5)][_0x141ec0(0xe9)][_0x141ec0(0x11b)](_0x141ec0(0x108),()=>{const _0x39595a=_0x141ec0;_0x2b9eca(this[_0x39595a(0xd3)],_0x334151);});});}}function _0x26f9(){const _0x5700c8=['\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','closeMax','upcast','getAttribute','3232842UeTNyO','requires','model','uploadcareImageReplace','29450MbPMkH','true','cleanupImage','isPremiumPlugin','href','render','imageInline','contentLanguage','uc-upload-ctx-provider','replaceImageSource','insertImage','#uc-icon-arrow-down','ucContextId','UploadcareEditing','12HijhUw','_initImageProcessingIndicator','uploadcareImageId','selection','extend','isRegistered','3261896VyOCVe','_ctxElement','join','1027641YnhUjF','once','65233SmmJmN','pluginName','_initCtx','ctxElement','body','input[uploadcare-file-input]','466594iYHuZo','imageBlock','destroy','getSelectedElement','344rUwFBZ','for','data-uc-image-id','locale','editor','_initSchema','attributeToAttribute','21721513NkbhHV','5UmlrIy','map','fromCharCode','PictureEditing','schema','495Zajrew','_initConversion','remove','uploadcare.uploader','uploadcare.pubkey','uc-config','isOfficialPlugin','querySelector','add','editing','appendChild','iconHrefResolver','uploadcare','view','downcast','elementToAttribute','commands','get','config','_initConfig','uploader-','execute','document','afterInit','configElement','removeAttribute','init','listenTo','conversion','_configElement','2eOlNWH'];_0x26f9=function(){return _0x5700c8;};return _0x26f9();}
@@ -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 _0x2aceda,ObservableMixin as _0x29c71f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2accc2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2020c3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x480a5c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23778e}from'../../utils/uploadutils.js';import{getImageUrls as _0x3ae8,getImageDimension as _0x546a37}from'../../utils/editingutils.js';import{isAncestor as _0x3d98dd}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x29c71f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x10c157,_0x4cf1fc,_0x28395b){super(),this['_editor']=_0x10c157,this['_dialog']=_0x4cf1fc,this['_imageElement']=_0x28395b,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 _0x17d200=this['_imageElement'],_0x1d17ff=_0x17d200['getAttribute']('uploadcareImageId'),_0x1ca5f5=_0x17d200['getAttribute']('src');if(_0x1d17ff)await this['_loadImageInfo'](_0x1d17ff,_0x1ca5f5);else{if(this['_imageCache']['has'](_0x1ca5f5)){const _0x23b865=this['_imageCache']['get'](_0x1ca5f5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23b865['url'],this['imageDimension']=_0x23b865['dimension'],this['imageId']=_0x23b865['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x58abea}=this['_editor'],t=_0x58abea['t'],_0x82388=new _0x480a5c(_0x58abea,this['imageStatus'],this['_attributes']);_0x82388['bind']('status')['to'](this,'imageStatus'),_0x82388['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x82388['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x82388['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x82388,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2020c3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x82388,'position':_0x2accc2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x82388['focus']();},'onHide':()=>{_0x82388['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b2c92=>!_0x3d98dd(_0x4b2c92,_0x82388['element'])}});}['_loadImageInfo'](_0x1a643e,_0x34cfc8){return _0x23778e['getInfo'](_0x1a643e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xca599a=>{const {width:_0x486764,height:_0x400406}=_0xca599a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34cfc8,this['imageDimension']={'width':_0x486764,'height':_0x400406},this['imageId']=_0x1a643e;})['catch'](_0x30d8a9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30d8a9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x499c14,_0x2f11b0){return this['_getImageAsFile'](_0x499c14)['then'](_0xe69b10=>_0x23778e['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':_0x2f11b0['signal'],'file':_0xe69b10,'onProgress':_0x13438f=>{_0x13438f&&_0x13438f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x13438f['value']));}}))['then'](_0x3c694f=>{const {width:_0x324344,height:_0xa3dbbf}=_0x3c694f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c694f['cdnUrl'],this['imageDimension']={'width':_0x324344,'height':_0xa3dbbf},this['imageId']=_0x3c694f['uuid'],this['imageUploadProgress']=null;const _0xca8803=_0x499c14['getAttribute']('src');this['_imageCache']['set'](_0xca8803,{'id':_0x3c694f['uuid'],'url':_0x3c694f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1552=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1552['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x508fea,_0x30097c){_0x508fea['on']('apply',(_0xace622,_0x256dae)=>{this['_replaceImage'](_0x30097c,_0x256dae['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x508fea['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x508fea['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d9413,_0x10f233,_0x5c29ed){const _0x3b092f=this['_editor'],{width:_0x44d5f2,height:_0x5f224b}=_0x546a37(_0x10f233,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1b78d7,imageSources:_0x2a281a}=_0x3ae8(_0x10f233,_0x44d5f2);_0x3b092f['model']['change'](_0x1ebd60=>{if('$graveyard'===_0x5d9413['root']['rootName']){_0x3b092f['execute']('insertImage',{'imageType':_0x5d9413['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d9413['getAttributes']()),'uploadcareImageId':_0x5c29ed,'src':_0x1b78d7,'sources':_0x2a281a,'width':_0x44d5f2,'height':_0x5f224b}});const _0xcc44ef=_0x5d9413['getChildren']();_0x5d9413=_0x3b092f['model']['document']['selection']['getSelectedElement']();for(const _0x295bec of _0xcc44ef)_0x1ebd60['append'](_0x1ebd60['cloneElement'](_0x295bec),_0x5d9413);}else _0x1ebd60['setSelection'](_0x5d9413,'on'),_0x3b092f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d9413['getAttributes']()),'uploadcareImageId':_0x5c29ed,'src':_0x1b78d7,'sources':_0x2a281a,'width':_0x44d5f2,'height':_0x5f224b},_0x5d9413);_0x1ebd60['setSelection'](_0x5d9413,'on');});}async['_getImageAsFile'](_0x861fe0){const _0x8484a8=_0x2aceda['window'],_0x411a29=_0x2aceda['document']['location']['href'],_0x3f027e=new _0x8484a8['URL'](_0x861fe0['getAttribute']('src'),_0x411a29);if('data:'===_0x3f027e['protocol']){const _0x4a2f41=_0x3f027e['href']['split'](','),_0x4ad2b2=_0x4a2f41[0x0]['match'](/:(.*?);/)[0x1],_0x4e4c90=_0x4ad2b2['split']('/')[0x1],_0x240d5a=_0x8484a8['atob'](_0x4a2f41[_0x4a2f41['length']-0x1]);let _0xa7b90d=_0x240d5a['length'];const _0xe907fe=new _0x8484a8['Uint8Array'](_0xa7b90d);for(;_0xa7b90d--;)_0xe907fe[_0xa7b90d]=_0x240d5a['charCodeAt'](_0xa7b90d);return new _0x8484a8['File']([_0xe907fe],'image.'+_0x4e4c90,{'type':_0x4ad2b2});}const _0x21bf82=_0x3f027e['href']['split']('/'),_0x1f79e9=_0x21bf82[_0x21bf82['length']-0x1],_0x3de85f=_0x1f79e9['split']('.')[0x1];return _0x8484a8['fetch'](_0x3f027e['href'])['then'](_0x4bdf95=>_0x4bdf95['clone']()['blob']())['then'](_0x5095da=>new _0x8484a8['File']([_0x5095da],_0x1f79e9,{'type':'image/'+_0x3de85f}));}}
@@ -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(_0x6b2e60,_0xc6fb5d){const _0x3c3bc1=_0x22f2,_0xac1e53=_0x6b2e60();while(!![]){try{const _0x4d5116=-parseInt(_0x3c3bc1(0x1d9))/0x1+parseInt(_0x3c3bc1(0x1e9))/0x2+-parseInt(_0x3c3bc1(0x1d8))/0x3*(parseInt(_0x3c3bc1(0x1de))/0x4)+parseInt(_0x3c3bc1(0x1db))/0x5*(-parseInt(_0x3c3bc1(0x1e2))/0x6)+parseInt(_0x3c3bc1(0x1dd))/0x7+-parseInt(_0x3c3bc1(0x1df))/0x8*(-parseInt(_0x3c3bc1(0x1e4))/0x9)+parseInt(_0x3c3bc1(0x1d7))/0xa*(parseInt(_0x3c3bc1(0x1e3))/0xb);if(_0x4d5116===_0xc6fb5d)break;else _0xac1e53['push'](_0xac1e53['shift']());}catch(_0x399aa1){_0xac1e53['push'](_0xac1e53['shift']());}}}(_0x2958,0x9a3b7));import{View as _0x50bafe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x50bafe{constructor(_0x23e690,_0x423ffd){const _0x3a1262=_0x22f2;super(_0x23e690);const _0x32a273=this[_0x3a1262(0x1e7)];this[_0x3a1262(0x1da)](_0x3a1262(0x1e6),''),this[_0x3a1262(0x1e8)]({'tag':_0x3a1262(0x1dc),'attributes':{..._0x423ffd,'class':[_0x3a1262(0x1e1),_0x3a1262(0x1e0)],'ctx-name':_0x3a1262(0x1e5),'cdn-url':_0x32a273['to'](_0x3a1262(0x1e6))}});}}function _0x22f2(_0x319ea4,_0x57bd68){const _0x29581c=_0x2958();return _0x22f2=function(_0x22f2bb,_0x54438e){_0x22f2bb=_0x22f2bb-0x1d7;let _0xf7a2e2=_0x29581c[_0x22f2bb];return _0xf7a2e2;},_0x22f2(_0x319ea4,_0x57bd68);}function _0x2958(){const _0x5c236f=['8766KBJaed','image-edit','imageSrc','bindTemplate','setTemplate','1117120ZtdTTn','10ZzaeSZ','120cBQDKQ','489987YOqFdQ','set','18015rcodYT','uc-cloud-image-editor','3831100sMaWUh','92408YkJAaT','2104ihvxUA','ck-uploadcare-theme','uc-light','390Eufqij','10097725LFsfbQ'];_0x2958=function(){return _0x5c236f;};return _0x2958();}
@@ -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 _0x1cdb53}from'ckeditor5/src/icons.js';import{ButtonView as _0x329153,IconView as _0x471ba6,View as _0x506661}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x506661{constructor(_0x4570d8){super(_0x4570d8);const t=_0x4570d8['t'];this['set']('errorType',null);const _0x3a2feb=new _0x329153(_0x4570d8);_0x3a2feb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a2feb['withText']=!0x0,_0x3a2feb['class']='ck-button-action',_0x3a2feb['on']('execute',()=>{this['fire']('retry');}),_0x3a2feb['bind']('isVisible')['to'](this,'errorType',_0x1cd1d0=>'NotFound'!==_0x1cd1d0);const _0xc63331=new _0x471ba6();_0xc63331['content']=_0x1cdb53,_0xc63331['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d602e=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':[_0xc63331,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d602e['to']('errorType',_0x1f2587=>t('NotFound'!==_0x1f2587?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a2feb]},{'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 _0x761494,View as _0x3f4727}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f4727{constructor(_0xcd5ce8){super(_0xcd5ce8);const t=_0xcd5ce8['t'],_0x162ede=this['bindTemplate'],_0x14562d=new _0x761494();_0x14562d['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':[_0x14562d,{'text':_0x162ede['to']('imageUploadProgress',_0x11483a=>t('Loading\x20image...')+'\x20('+(_0x11483a||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 _0x16f370=_0x478f;(function(_0x1e64f3,_0x582097){const _0x51062c=_0x478f,_0x27b988=_0x1e64f3();while(!![]){try{const _0x4b7436=parseInt(_0x51062c(0xbe))/0x1+parseInt(_0x51062c(0xef))/0x2*(parseInt(_0x51062c(0xe6))/0x3)+-parseInt(_0x51062c(0xeb))/0x4+-parseInt(_0x51062c(0xee))/0x5*(parseInt(_0x51062c(0xc8))/0x6)+parseInt(_0x51062c(0xbf))/0x7*(parseInt(_0x51062c(0xe7))/0x8)+parseInt(_0x51062c(0xc0))/0x9*(-parseInt(_0x51062c(0xdb))/0xa)+-parseInt(_0x51062c(0xd2))/0xb*(parseInt(_0x51062c(0xd1))/0xc);if(_0x4b7436===_0x582097)break;else _0x27b988['push'](_0x27b988['shift']());}catch(_0x490f25){_0x27b988['push'](_0x27b988['shift']());}}}(_0x5e1c,0x3fad3));import{View as _0x13dd73}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1056a8}from'./uploadcareimageeditformloadingview.js';function _0x5e1c(){const _0x573a2d=['error','_errorView','setTemplate','_editingView','48DdxXpj','781561lstIwl','ready','change:status','toLowerCase','once','div','_addErrorViewListeners','_addUploadcareImageEditorListeners','element','540PJqiZw','disconnect','uploading','observe','_waitForImageEditorComponent','_setView','set','addEventListener','cancel','uc-cloud-image-editor','status','18219VbeiGR','1935256TuSnAc','_focusableView','filter','addMany','170988KciCKi','_loadingView','_items','20795qlEmIr','114XXTuak','querySelector','cdnUrl','apply','retry','length','render','fire','510829xIASnv','14COexhU','47871weDfqA','ck-reset_all-excluded','createCollection','detail','target','ck-uploadcare-form','nodeName','add','672hlvJGR','getFocusableElement','clear','focus','addedNodes'];_0x5e1c=function(){return _0x573a2d;};return _0x5e1c();}import{UploadcareImageEditFormErrorView as _0x4b6605}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x13f5ee}from'./uploadcareimageeditformeditingview.js';function _0x478f(_0x3ee427,_0x1bc7be){const _0x5e1cfe=_0x5e1c();return _0x478f=function(_0x478f3b,_0x2c7c8c){_0x478f3b=_0x478f3b-0xbd;let _0x4be883=_0x5e1cfe[_0x478f3b];return _0x4be883;},_0x478f(_0x3ee427,_0x1bc7be);}import{DialogFocusManagerView as _0x23c7aa}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x23c7aa{[_0x16f370(0xed)];[_0x16f370(0xec)];[_0x16f370(0xce)];[_0x16f370(0xd0)];[_0x16f370(0xe8)];constructor(_0x13d1e0,_0x502e70,_0x496bc4){const _0x1e60f8=_0x16f370;super(_0x13d1e0),this[_0x1e60f8(0xed)]=this[_0x1e60f8(0xc2)](),this[_0x1e60f8(0xec)]=new _0x1056a8(_0x13d1e0),this[_0x1e60f8(0xce)]=new _0x4b6605(_0x13d1e0),this[_0x1e60f8(0xd0)]=new _0x13f5ee(_0x13d1e0,_0x496bc4),this[_0x1e60f8(0xe8)]=new _0x13dd73(_0x13d1e0),this[_0x1e60f8(0xe8)][_0x1e60f8(0xcf)](this[_0x1e60f8(0xc9)]()),this[_0x1e60f8(0xe1)](_0x1e60f8(0xe5),_0x502e70),this[_0x1e60f8(0xcf)]({'tag':_0x1e60f8(0xd7),'attributes':{'class':['ck',_0x1e60f8(0xc1),_0x1e60f8(0xc5)],'tabindex':'-1'},'children':this[_0x1e60f8(0xed)]}),this[_0x1e60f8(0xe0)](),this[_0x1e60f8(0xd6)](_0x1e60f8(0xf5),()=>{const _0x3dd0d3=_0x1e60f8;this[_0x3dd0d3(0xdf)](this[_0x3dd0d3(0xda)],_0xa8ec6f=>{const _0x39ab43=_0x3dd0d3;this[_0x39ab43(0xd9)](_0xa8ec6f);});}),this['on'](_0x1e60f8(0xd4),()=>{const _0x206229=_0x1e60f8;this[_0x206229(0xe0)]();}),this[_0x1e60f8(0xd8)]();}[_0x16f370(0xcb)](){const _0x418482=_0x16f370;this[_0x418482(0xda)][_0x418482(0xcb)]();}[_0x16f370(0xe0)](){const _0x400f77=_0x16f370;switch(this[_0x400f77(0xed)][_0x400f77(0xca)](),this[_0x400f77(0xe5)]){case _0x400f77(0xdd):this[_0x400f77(0xed)][_0x400f77(0xc7)](this[_0x400f77(0xec)]);break;case _0x400f77(0xcd):this[_0x400f77(0xed)][_0x400f77(0xc7)](this[_0x400f77(0xce)]);break;case _0x400f77(0xd3):this[_0x400f77(0xed)][_0x400f77(0xea)]([this[_0x400f77(0xd0)],this[_0x400f77(0xe8)]]);}}[_0x16f370(0xdf)](_0x2a2cfe,_0x56f232){const _0x6d7534=_0x16f370,_0x3a3a68=_0x6d7534(0xe4),_0x4f76c6=_0x2a2cfe[_0x6d7534(0xf0)](_0x3a3a68);if(_0x4f76c6)return _0x56f232(_0x4f76c6);const _0x5c4acb=new MutationObserver(_0x33a1fb=>{const _0x4ae7a4=_0x6d7534,_0xa17f51=_0x33a1fb[_0x4ae7a4(0xe9)](_0x33fffd=>_0x33fffd[_0x4ae7a4(0xc4)]===_0x2a2cfe&&_0x33fffd[_0x4ae7a4(0xcc)][_0x4ae7a4(0xf4)]>0x0&&_0x33fffd[_0x4ae7a4(0xcc)][0x0][_0x4ae7a4(0xc6)][_0x4ae7a4(0xd5)]()===_0x3a3a68);_0xa17f51[_0x4ae7a4(0xf4)]&&(_0x5c4acb[_0x4ae7a4(0xdc)](),_0x56f232(_0xa17f51[0x0][_0x4ae7a4(0xcc)][0x0]));});_0x5c4acb[_0x6d7534(0xde)](_0x2a2cfe,{'childList':!0x0,'subtree':!0x0});}[_0x16f370(0xd9)](_0x22d5f9){const _0x13aa8a=_0x16f370;_0x22d5f9[_0x13aa8a(0xe2)](_0x13aa8a(0xf2),_0x32658d=>{const _0x27ccac=_0x13aa8a;this[_0x27ccac(0xbd)](_0x27ccac(0xf2),{'imageSrc':_0x32658d[_0x27ccac(0xc3)][_0x27ccac(0xf1)]});}),_0x22d5f9[_0x13aa8a(0xe2)](_0x13aa8a(0xe3),()=>{const _0x14401f=_0x13aa8a;this[_0x14401f(0xbd)](_0x14401f(0xe3));});}[_0x16f370(0xd8)](){const _0x20bc37=_0x16f370;this[_0x20bc37(0xce)]['on'](_0x20bc37(0xf3),()=>{const _0x3fc493=_0x20bc37;this[_0x3fc493(0xbd)](_0x3fc493(0xf3));});}}
@@ -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 _0x20f0e4=_0x1f04;(function(_0xc07b96,_0x4397e2){const _0x296f7a=_0x1f04,_0x80193c=_0xc07b96();while(!![]){try{const _0x5639fc=-parseInt(_0x296f7a(0x1c5))/0x1+parseInt(_0x296f7a(0x1b5))/0x2*(-parseInt(_0x296f7a(0x1b4))/0x3)+parseInt(_0x296f7a(0x1af))/0x4*(parseInt(_0x296f7a(0x1c0))/0x5)+-parseInt(_0x296f7a(0x1bd))/0x6+-parseInt(_0x296f7a(0x1b2))/0x7*(-parseInt(_0x296f7a(0x1a5))/0x8)+-parseInt(_0x296f7a(0x1b3))/0x9*(parseInt(_0x296f7a(0x1ad))/0xa)+-parseInt(_0x296f7a(0x1a4))/0xb*(-parseInt(_0x296f7a(0x1c2))/0xc);if(_0x5639fc===_0x4397e2)break;else _0x80193c['push'](_0x80193c['shift']());}catch(_0x24c05a){_0x80193c['push'](_0x80193c['shift']());}}}(_0x482e,0x25ab4));import{Command as _0x1b5ed9}from'ckeditor5/src/core.js';function _0x482e(){const _0x36c717=['get','element','bind','execute','imageEditController','786816KDUElT','getSelectedElement','isEnabled','105XriGpI','set','302364DbPPqA','refresh','editor','10560qxqUeU','198TfaQmu','7248yFLxzX','document','config','selection','_isEditable','uploadcare.allowExternalImagesEditing','model','unbind','1640qdMQkO','imageBlock','33316busAhO','imageInline','requires','973QsDDCM','15165ljJPDX','297ZqYDzz','3678XXmcxg','plugins','isActive'];_0x482e=function(){return _0x36c717;};return _0x482e();}function _0x1f04(_0x10e014,_0x8cb329){const _0x482e73=_0x482e();return _0x1f04=function(_0x1f0438,_0x15495b){_0x1f0438=_0x1f0438-0x1a4;let _0xa93cb6=_0x482e73[_0x1f0438];return _0xa93cb6;},_0x1f04(_0x10e014,_0x8cb329);}import{Dialog as _0x49beea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1e8a18}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4250f2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1b5ed9{[_0x20f0e4(0x1bc)];static get[_0x20f0e4(0x1b1)](){return[_0x49beea];}[_0x20f0e4(0x1a9)];constructor(_0x5d0176){const _0x32540a=_0x20f0e4;super(_0x5d0176),this[_0x32540a(0x1bc)]=void 0x0,this[_0x32540a(0x1a9)]=_0x4250f2(_0x5d0176[_0x32540a(0x1a7)][_0x32540a(0x1b8)](_0x32540a(0x1aa))||[]),this[_0x32540a(0x1c1)]({'isActive':!0x1});}[_0x20f0e4(0x1c3)](){const _0x3de548=_0x20f0e4,_0x304660=this[_0x3de548(0x1c4)][_0x3de548(0x1ab)][_0x3de548(0x1a6)][_0x3de548(0x1a8)][_0x3de548(0x1be)]();this[_0x3de548(0x1bf)]=this[_0x3de548(0x1a9)](_0x304660);}[_0x20f0e4(0x1bb)](){const _0x31922a=_0x20f0e4;this[_0x31922a(0x1bc)]&&(this[_0x31922a(0x1ac)](_0x31922a(0x1b7)),this[_0x31922a(0x1bc)]=void 0x0);const _0x443bfa=this[_0x31922a(0x1c4)][_0x31922a(0x1ab)][_0x31922a(0x1a6)][_0x31922a(0x1a8)][_0x31922a(0x1be)]();_0x443bfa&&(_0x443bfa['is'](_0x31922a(0x1b9),_0x31922a(0x1ae))||_0x443bfa['is'](_0x31922a(0x1b9),_0x31922a(0x1b0)))&&(this[_0x31922a(0x1bc)]=new _0x1e8a18(this[_0x31922a(0x1c4)],this[_0x31922a(0x1c4)][_0x31922a(0x1b6)][_0x31922a(0x1b8)](_0x49beea),_0x443bfa),this[_0x31922a(0x1ba)](_0x31922a(0x1b7))['to'](this[_0x31922a(0x1bc)],_0x31922a(0x1b7)));}}
@@ -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 _0x4e00d0=_0x1a91;(function(_0x22613f,_0x111447){const _0x5a7c98=_0x1a91,_0x3a3335=_0x22613f();while(!![]){try{const _0x44dca6=-parseInt(_0x5a7c98(0x86))/0x1+parseInt(_0x5a7c98(0x79))/0x2*(-parseInt(_0x5a7c98(0x7b))/0x3)+-parseInt(_0x5a7c98(0x7c))/0x4+parseInt(_0x5a7c98(0x87))/0x5*(-parseInt(_0x5a7c98(0x7a))/0x6)+-parseInt(_0x5a7c98(0x82))/0x7+-parseInt(_0x5a7c98(0x8d))/0x8*(-parseInt(_0x5a7c98(0x80))/0x9)+parseInt(_0x5a7c98(0x7e))/0xa;if(_0x44dca6===_0x111447)break;else _0x3a3335['push'](_0x3a3335['shift']());}catch(_0x2ae5b4){_0x3a3335['push'](_0x3a3335['shift']());}}}(_0x38b6,0x9c782));function _0x38b6(){const _0x48ab27=['isPremiumPlugin','add','215504ijqhkL','uploadcareImageReplace','4yGaPVs','2778822EighBY','203886AZvydm','525672NjUTXZ','UploadcareImageEditEditing','25183060CFAbeL','uploadcareImageEdit','63KRXMEy','ImageEditing','2988846luAGzK','requires','isOfficialPlugin','init','908517VOmwuk','5TSgMJP','commands','pluginName','ImageUtils'];_0x38b6=function(){return _0x48ab27;};return _0x38b6();}import{Plugin as _0xc6b7ae}from'ckeditor5/src/core.js';function _0x1a91(_0x1a7649,_0x155dca){const _0x38b6db=_0x38b6();return _0x1a91=function(_0x1a91ed,_0x503938){_0x1a91ed=_0x1a91ed-0x78;let _0x2e7ef6=_0x38b6db[_0x1a91ed];return _0x2e7ef6;},_0x1a91(_0x1a7649,_0x155dca);}import{Notification as _0x38a190}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x51a72a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2fc096}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x45b918}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xc6b7ae{static get[_0x4e00d0(0x89)](){const _0x28b4be=_0x4e00d0;return _0x28b4be(0x7d);}static get[_0x4e00d0(0x83)](){const _0x38862d=_0x4e00d0;return[_0x45b918,_0x38a190,_0x38862d(0x8a),_0x38862d(0x81)];}static get[_0x4e00d0(0x84)](){return!0x0;}static get[_0x4e00d0(0x8b)](){return!0x0;}[_0x4e00d0(0x85)](){const _0x855de=_0x4e00d0,{editor:_0x17026a}=this;_0x17026a[_0x855de(0x88)][_0x855de(0x8c)](_0x855de(0x7f),new _0x51a72a(_0x17026a)),_0x17026a[_0x855de(0x88)][_0x855de(0x8c)](_0x855de(0x78),new _0x2fc096(_0x17026a));}}
@@ -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 _0x449192}from'ckeditor5/src/core.js';import{ButtonView as _0x3e48f1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23ada6}from'ckeditor5/src/icons.js';import{createElement as _0x40fd14}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 _0x449192{['_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 _0x5279c1=this['editor'];_0x5279c1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40ebde=>{const _0x299647=_0x5279c1['commands']['get']('uploadcareImageEdit'),_0x323a04=new _0x3e48f1(_0x40ebde),t=_0x40ebde['t'];return _0x323a04['set']({'icon':_0x23ada6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x323a04['bind']('isEnabled')['to'](_0x299647),_0x323a04['bind']('isOn')['to'](_0x299647,'isActive'),this['listenTo'](_0x323a04,'execute',()=>{_0x5279c1['execute']('uploadcareImageEdit'),_0x5279c1['editing']['view']['focus']();}),_0x323a04;}),this['_initConfig']();}['_initConfig'](){const _0x4e7a42=_0x40fd14(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e7a42),this['listenTo'](this['editor'],'destroy',()=>{_0x4e7a42['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
+ const _0x5d6ecb=_0x3ecb;(function(_0x1a9aa0,_0x9cc976){const _0x1cb950=_0x3ecb,_0x274840=_0x1a9aa0();while(!![]){try{const _0x13a068=parseInt(_0x1cb950(0xfd))/0x1+parseInt(_0x1cb950(0x111))/0x2*(-parseInt(_0x1cb950(0x10b))/0x3)+parseInt(_0x1cb950(0x10f))/0x4+-parseInt(_0x1cb950(0x10c))/0x5*(-parseInt(_0x1cb950(0x103))/0x6)+-parseInt(_0x1cb950(0x116))/0x7*(parseInt(_0x1cb950(0xfe))/0x8)+-parseInt(_0x1cb950(0x114))/0x9*(-parseInt(_0x1cb950(0x102))/0xa)+-parseInt(_0x1cb950(0x104))/0xb;if(_0x13a068===_0x9cc976)break;else _0x274840['push'](_0x274840['shift']());}catch(_0x2daa4f){_0x274840['push'](_0x274840['shift']());}}}(_0x3801,0x5cce3));import{Command as _0x5e257e}from'ckeditor5/src/core.js';function _0x3ecb(_0x30540d,_0x478b94){const _0x380105=_0x3801();return _0x3ecb=function(_0x3ecbea,_0xdee7c){_0x3ecbea=_0x3ecbea-0xfd;let _0xc1f2b=_0x380105[_0x3ecbea];return _0xc1f2b;},_0x3ecb(_0x30540d,_0x478b94);}export class UploadcareImageReplaceCommand extends _0x5e257e{[_0x5d6ecb(0x105)](){const _0x35d52d=_0x5d6ecb,_0x57bde2=this[_0x35d52d(0x101)][_0x35d52d(0x109)][_0x35d52d(0x112)][_0x35d52d(0x108)][_0x35d52d(0x10a)]();this[_0x35d52d(0xff)]=Boolean(_0x57bde2&&(_0x57bde2['is'](_0x35d52d(0x10d),_0x35d52d(0x100))||_0x57bde2['is'](_0x35d52d(0x10d),_0x35d52d(0x117))));}[_0x5d6ecb(0x113)](_0x585532){const _0x23df2b=_0x5d6ecb,_0x2f3bf8=this[_0x23df2b(0x101)][_0x23df2b(0x109)][_0x23df2b(0x112)][_0x23df2b(0x108)][_0x23df2b(0x10a)]();this[_0x23df2b(0x101)][_0x23df2b(0x109)][_0x23df2b(0x107)](_0x6df430=>{const _0x2a7fcf=_0x23df2b;_0x6df430[_0x2a7fcf(0x115)](_0x585532,_0x2f3bf8),_0x6df430[_0x2a7fcf(0x110)](_0x2a7fcf(0x106),_0x2f3bf8),_0x6df430[_0x2a7fcf(0x110)](_0x2a7fcf(0x10e),_0x2f3bf8);});}}function _0x3801(){const _0x1f2048=['14lHUObU','document','execute','252WqEEvg','setAttributes','7IYwCWf','imageInline','534233gdYfMb','4792296TFRCgZ','isEnabled','imageBlock','editor','256970AUXYqH','5454qoDZLU','12427822zRWEpN','refresh','srcset','change','selection','model','getSelectedElement','125199iNBqRy','3310qaTxhn','element','sizes','2182376EproHU','removeAttribute'];_0x3801=function(){return _0x1f2048;};return _0x3801();}
@@ -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 _0x11c6(_0x2d6032,_0x38c705){var _0x14d1f1=_0x14d1();return _0x11c6=function(_0x11c60a,_0x3b9b15){_0x11c60a=_0x11c60a-0x182;var _0x424375=_0x14d1f1[_0x11c60a];return _0x424375;},_0x11c6(_0x2d6032,_0x38c705);}var _0x28ab32=_0x11c6;(function(_0x5acd6a,_0x2c36e6){var _0x133186=_0x11c6,_0x4fbfae=_0x5acd6a();while(!![]){try{var _0x16d8fb=parseInt(_0x133186(0x184))/0x1*(-parseInt(_0x133186(0x190))/0x2)+parseInt(_0x133186(0x18a))/0x3*(-parseInt(_0x133186(0x188))/0x4)+parseInt(_0x133186(0x182))/0x5+-parseInt(_0x133186(0x186))/0x6*(-parseInt(_0x133186(0x185))/0x7)+parseInt(_0x133186(0x183))/0x8+parseInt(_0x133186(0x18d))/0x9+-parseInt(_0x133186(0x18b))/0xa;if(_0x16d8fb===_0x2c36e6)break;else _0x4fbfae['push'](_0x4fbfae['shift']());}catch(_0x38ac98){_0x4fbfae['push'](_0x4fbfae['shift']());}}}(_0x14d1,0xe8d76));import{Plugin as _0xc4862}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x543091}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x14d1(){var _0x26bd4b=['2388jzyXnB','isPremiumPlugin','68XfYRyZ','requires','78498vJjdsl','17589360hDAEsq','pluginName','4311549IlTruL','UploadcareImageEdit','isOfficialPlugin','202hnKTHv','9027850eTOiFv','5641440QuHvEA','9149xvyEIT','19201PeZdzF'];_0x14d1=function(){return _0x26bd4b;};return _0x14d1();}import{UploadcareImageEditUI as _0x7ccbc3}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xc4862{static get[_0x28ab32(0x18c)](){var _0x50720a=_0x28ab32;return _0x50720a(0x18e);}static get[_0x28ab32(0x189)](){return[_0x543091,_0x7ccbc3];}static get[_0x28ab32(0x18f)](){return!0x0;}static get[_0x28ab32(0x187)](){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 _0x536e59=_0x3a03;(function(_0x23b141,_0x335c19){const _0x4f3a07=_0x3a03,_0x253ac6=_0x23b141();while(!![]){try{const _0xea053b=parseInt(_0x4f3a07(0x168))/0x1*(-parseInt(_0x4f3a07(0x152))/0x2)+-parseInt(_0x4f3a07(0x17d))/0x3*(-parseInt(_0x4f3a07(0x179))/0x4)+parseInt(_0x4f3a07(0x14a))/0x5+parseInt(_0x4f3a07(0x16f))/0x6*(-parseInt(_0x4f3a07(0x151))/0x7)+-parseInt(_0x4f3a07(0x144))/0x8+-parseInt(_0x4f3a07(0x159))/0x9*(parseInt(_0x4f3a07(0x15b))/0xa)+parseInt(_0x4f3a07(0x158))/0xb;if(_0xea053b===_0x335c19)break;else _0x253ac6['push'](_0x253ac6['shift']());}catch(_0x29f842){_0x253ac6['push'](_0x253ac6['shift']());}}}(_0x1cc5,0x6fbd7));import{Plugin as _0x37a29e}from'ckeditor5/src/core.js';function _0x3a03(_0x5462c1,_0x3fe212){const _0x1cc57d=_0x1cc5();return _0x3a03=function(_0x3a034f,_0x4be51c){_0x3a034f=_0x3a034f-0x131;let _0x3dbecf=_0x1cc57d[_0x3a034f];return _0x3dbecf;},_0x3a03(_0x5462c1,_0x3fe212);}import{IconDropbox as _0x342c35,IconFacebook as _0x4251a5,IconGoogleDrive as _0x521194,IconGooglePhotos as _0x12ceaf,IconUploadcareImageUpload as _0x25f38b,IconUploadcareLink as _0x3c682d,IconOneDrive as _0x2bbe83}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ab57e,MenuBarMenuListItemButtonView as _0x1d957d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4b60a8}from'./uploadcareconfig.js';import{getTranslation as _0x50648c}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';function _0x1cc5(){const _0x50945a=['1191738PZjNCc','ImageInsertUI','entries','url','registerIntegration','upload','_getIntegrationKey','uploadcareLicenseKeyValid','Replace','destroy','assetManager','_createButton','isEnabled','uploadcareLicenseKeyDomainLimit','GPhotos','uploadcareLicenseKeyInvalid','text','execute','UploadcareUI','licenseKey','uploadcareLicenseKeyUsageLimit','featureNotAllowed','isOfficialPlugin','withText','forEach','2040152cQuipd','uploadcareLicenseKeyTrialLimit','_createToolbarButton','_createMenuBarButtons','commands','GDrive','3055605HkPTNI','trialLimit','URL','Dropbox','has','_licenseKeyCheckInterval','_createDropdownButtons','7cbmPBh','2AbUFsk','label','Local','invalid','isImageSelected','usageLimit','12297923bHIwqW','18IpUFAi','type','4301300owziKF','uploadcare.uploader.sourceList','uploadcareLicenseKeyEvaluationLimit','plugins','push','config','Insert','_showLicenseError','domainLimit','locale','expired','icon','init','47759Dhvmvb','get','OneDrive','reduce','evaluationLimit','afterInit','pluginName','5417286TWzlhI','map','uploadcareLicenseKeyExpired','shortText','Uploadcare','uploadcare','_normalizeConfigSourceList','Facebook','editor','isPremiumPlugin','8bchrSB','bind','uploadcareLicenseKeyNotAllowed','tooltip'];_0x1cc5=function(){return _0x50945a;};return _0x1cc5();}export class UploadcareUI extends _0x37a29e{[_0x536e59(0x13e)];[_0x536e59(0x14f)];static get[_0x536e59(0x16e)](){const _0x543b75=_0x536e59;return _0x543b75(0x13d);}static get[_0x536e59(0x141)](){return!0x0;}static get[_0x536e59(0x178)](){return!0x0;}[_0x536e59(0x167)](){const _0xd6e89f=_0x536e59;this[_0xd6e89f(0x13e)]=this[_0xd6e89f(0x177)][_0xd6e89f(0x160)][_0xd6e89f(0x169)](_0xd6e89f(0x13e));const _0x1bbdf2=this[_0xd6e89f(0x177)];this[_0xd6e89f(0x14f)]=setInterval(()=>{const _0x4f88ad=_0xd6e89f;let _0x49be95;for(const _0xec3c28 in _0x1bbdf2){const _0x3bf38b=_0xec3c28,_0x4eb76d=_0x1bbdf2[_0x3bf38b];if(_0x4f88ad(0x132)==_0x4eb76d||_0x4f88ad(0x13a)==_0x4eb76d||_0x4f88ad(0x171)==_0x4eb76d||_0x4f88ad(0x138)==_0x4eb76d||_0x4f88ad(0x17b)==_0x4eb76d||_0x4f88ad(0x15d)==_0x4eb76d||_0x4f88ad(0x145)==_0x4eb76d||_0x4f88ad(0x13f)==_0x4eb76d){delete _0x1bbdf2[_0x3bf38b],_0x49be95=_0x4eb76d,clearInterval(this[_0x4f88ad(0x14f)]),this[_0x4f88ad(0x14f)]=void 0x0;break;}}_0x4f88ad(0x13a)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x155)),_0x4f88ad(0x171)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x165)),_0x4f88ad(0x138)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x163)),_0x4f88ad(0x17b)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x140),_0x4f88ad(0x173)),_0x4f88ad(0x15d)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x16c)),_0x4f88ad(0x145)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x14b)),_0x4f88ad(0x13f)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x157));},0x3e8);}[_0x536e59(0x16d)](){const _0x9bfd00=_0x536e59,{editor:_0x2c3214}=this,_0x1b15b6=_0x2c3214[_0x9bfd00(0x148)][_0x9bfd00(0x169)](_0x9bfd00(0x174));if(!_0x1b15b6)return;const _0x98fe36=this[_0x9bfd00(0x175)](_0x2c3214[_0x9bfd00(0x160)][_0x9bfd00(0x169)](_0x9bfd00(0x15c)))[_0x9bfd00(0x16b)]((_0xab5eef,_0x2baae3)=>{const _0x1ee8c1=_0x9bfd00,_0x1014e3=this[_0x1ee8c1(0x131)](_0x2baae3[_0x1ee8c1(0x15a)]);return _0xab5eef[_0x1014e3]||(_0xab5eef[_0x1014e3]=[]),_0xab5eef[_0x1014e3][_0x1ee8c1(0x15f)](_0x2baae3),_0xab5eef;},{});_0x2c3214[_0x9bfd00(0x15e)][_0x9bfd00(0x14e)](_0x9bfd00(0x17e))&&_0x2c3214[_0x9bfd00(0x148)][_0x9bfd00(0x169)](_0x9bfd00(0x174))&&Object[_0x9bfd00(0x17f)](_0x98fe36)[_0x9bfd00(0x143)](([_0x33fa04,_0x2ec776])=>{const _0x5ad551=_0x9bfd00;_0x2c3214[_0x5ad551(0x15e)][_0x5ad551(0x169)](_0x5ad551(0x17e))[_0x5ad551(0x181)]({'name':_0x33fa04,'observable':()=>_0x1b15b6,'buttonViewCreator':()=>this[_0x5ad551(0x146)](_0x2ec776),'formViewCreator':()=>this[_0x5ad551(0x150)](_0x2ec776),'menuBarButtonViewCreator':()=>this[_0x5ad551(0x147)](_0x2ec776),'override':_0x5ad551(0x135)!==_0x33fa04});});}[_0x536e59(0x134)](){const _0x3aaf23=_0x536e59;super[_0x3aaf23(0x134)](),this[_0x3aaf23(0x14f)]&&clearInterval(this[_0x3aaf23(0x14f)]);}[_0x536e59(0x175)](_0x8b721d){const _0x46cab7=_0x536e59,{locale:_0x37cb85}=this[_0x46cab7(0x177)];return _0x8b721d[_0x46cab7(0x170)](_0x183081=>{const _0x5873c8=_0x46cab7,_0x46a063=_0x50648c(_0x37cb85,_0x183081,_0x5873c8(0x161));switch(_0x183081){case _0x4b60a8[_0x5873c8(0x154)]:return{'icon':_0x25f38b,'type':_0x4b60a8[_0x5873c8(0x154)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x14c)]:return{'icon':_0x3c682d,'type':_0x4b60a8[_0x5873c8(0x14c)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x14d)]:return{'icon':_0x342c35,'type':_0x4b60a8[_0x5873c8(0x14d)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x176)]:return{'icon':_0x4251a5,'type':_0x4b60a8[_0x5873c8(0x176)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x149)]:return{'icon':_0x521194,'type':_0x4b60a8[_0x5873c8(0x149)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x139)]:return{'icon':_0x12ceaf,'type':_0x4b60a8[_0x5873c8(0x139)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x16a)]:return{'icon':_0x2bbe83,'type':_0x4b60a8[_0x5873c8(0x16a)],..._0x46a063};}});}[_0x536e59(0x131)](_0x2a9633){const _0x5cb25a=_0x536e59;switch(_0x2a9633){case _0x4b60a8[_0x5cb25a(0x154)]:return _0x5cb25a(0x182);case _0x4b60a8[_0x5cb25a(0x14c)]:return _0x5cb25a(0x180);default:return _0x5cb25a(0x135);}}[_0x536e59(0x136)](_0x540cd4,_0x519245){const _0x445628=_0x536e59,_0x369b8f=this[_0x445628(0x177)],_0x415216=new _0x540cd4(_0x369b8f[_0x445628(0x164)]),_0x125114=_0x369b8f[_0x445628(0x148)][_0x445628(0x169)](_0x445628(0x174));return _0x415216[_0x445628(0x17a)](_0x445628(0x137))['to'](_0x125114),_0x415216['on'](_0x445628(0x13c),()=>{const _0x5b824b=_0x445628;_0x125114[_0x5b824b(0x13c)](_0x519245);}),_0x415216;}[_0x536e59(0x146)](_0x7e3268){const _0x599e9b=_0x536e59,{locale:_0xab8ece}=this[_0x599e9b(0x177)],_0x350e96=this[_0x599e9b(0x177)][_0x599e9b(0x15e)][_0x599e9b(0x169)](_0x599e9b(0x17e)),_0x170d8b=_0x7e3268[0x0],_0xb317b1=this[_0x599e9b(0x136)](_0x1ab57e,_0x170d8b[_0x599e9b(0x15a)]);return _0xb317b1[_0x599e9b(0x166)]=_0x170d8b[_0x599e9b(0x166)],_0xb317b1[_0x599e9b(0x17a)](_0x599e9b(0x153))['to'](_0x350e96,_0x599e9b(0x156),_0x2fcbf5=>_0x50648c(_0xab8ece,_0x170d8b[_0x599e9b(0x15a)],_0x2fcbf5?_0x599e9b(0x133):_0x599e9b(0x161))[_0x599e9b(0x13b)]),_0xb317b1[_0x599e9b(0x17c)]=!0x0,_0xb317b1;}[_0x536e59(0x150)](_0x307dad){const _0x38a071=_0x536e59,{locale:_0x1e28b4}=this[_0x38a071(0x177)],_0x26b660=this[_0x38a071(0x177)][_0x38a071(0x15e)][_0x38a071(0x169)](_0x38a071(0x17e));return _0x307dad[_0x38a071(0x170)](_0x29f270=>{const _0x269708=_0x38a071,_0x576d07=this[_0x269708(0x136)](_0x1ab57e,_0x29f270[_0x269708(0x15a)]);return _0x576d07[_0x269708(0x142)]=!0x0,_0x576d07[_0x269708(0x166)]=_0x29f270[_0x269708(0x166)],_0x576d07[_0x269708(0x17a)](_0x269708(0x153))['to'](_0x26b660,_0x269708(0x156),_0x14ba61=>_0x50648c(_0x1e28b4,_0x29f270[_0x269708(0x15a)],_0x14ba61?_0x269708(0x133):_0x269708(0x161))[_0x269708(0x13b)]),_0x576d07;});}[_0x536e59(0x147)](_0x24cb73){const _0x22bd82=_0x536e59;return _0x24cb73[_0x22bd82(0x170)](_0x2f3abf=>{const _0x50aa10=_0x22bd82,_0x405039=this[_0x50aa10(0x136)](_0x1d957d,_0x2f3abf[_0x50aa10(0x15a)]);return _0x405039[_0x50aa10(0x166)]=_0x2f3abf[_0x50aa10(0x166)],_0x405039[_0x50aa10(0x153)]=_0x2f3abf[_0x50aa10(0x172)],_0x405039;});}}
@@ -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 _0xab9dff}from'ckeditor5/src/core.js';import{FileRepository as _0x1a3d5b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xf26181}from'./uploadcareediting.js';import{UploadUtils as _0x231e36}from'./utils/uploadutils.js';import{getImageUrls as _0x20806a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xab9dff{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a3d5b,_0xf26181];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1bfbd5=this['editor'];if(!!!_0x1bfbd5['config']['get']('uploadcare'))return;_0x1bfbd5['plugins']['get'](_0x1a3d5b)['createUploadAdapter']=_0xbef4c3=>new k(_0xbef4c3,_0x1bfbd5),_0x1bfbd5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fb6d7,{imageElement:_0x99d481,data:_0x4dccdc})=>{_0x1bfbd5['model']['change'](_0x33e3a8=>{_0x33e3a8['setAttribute']('uploadcareImageId',_0x4dccdc['uploadcareImageId'],_0x99d481);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xbab936,_0x33b282){this['loader']=_0xbab936,this['editor']=_0x33b282,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2774dd=await this['loader']['file'];return _0x231e36['upload']({'file':_0x2774dd,'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':_0x212e1d=>{_0x212e1d&&_0x212e1d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x212e1d['value']);}})['then'](async _0x4419a8=>{const {imageFallbackUrl:_0x49b4f8,imageSources:_0xf7240}=_0x20806a(_0x4419a8['cdnUrl'],_0x4419a8['imageInfo']['width']);return{'uploadcareImageId':_0x4419a8['uuid'],'default':_0x49b4f8,'sources':_0xf7240};})['catch'](()=>{const _0x5dacd1=t('Cannot\x20upload\x20file:')+('\x20'+_0x2774dd['name']+'.');return Promise['reject'](_0x5dacd1);});}['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 _0x5d4c92}from'../uploadcareconfig.js';export function getTranslation(_0x5c520a,_0x3f671e,_0x1abdf5){const t=_0x5c520a['t'],_0x1181b6=_0x5c520a['t'];switch(_0x3f671e){case _0x5d4c92['Local']:return{'text':_0x1181b6('Insert'===_0x1abdf5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1181b6('From\x20computer')};case _0x5d4c92['URL']:return{'text':'Insert'===_0x1abdf5?_0x1181b6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1181b6('Via\x20URL')};case _0x5d4c92['Dropbox']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d4c92['Facebook']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d4c92['GDrive']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d4c92['GPhotos']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d4c92['OneDrive']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f671e;}}
@@ -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
+ var _0x48b916=_0xedf3;(function(_0x382ba4,_0x1ded55){var _0x580b48=_0xedf3,_0x536c4b=_0x382ba4();while(!![]){try{var _0x481915=parseInt(_0x580b48(0xbc))/0x1+parseInt(_0x580b48(0xc2))/0x2+parseInt(_0x580b48(0xb4))/0x3+parseInt(_0x580b48(0xb9))/0x4*(parseInt(_0x580b48(0xb5))/0x5)+parseInt(_0x580b48(0xbe))/0x6+parseInt(_0x580b48(0xb7))/0x7*(-parseInt(_0x580b48(0xbb))/0x8)+-parseInt(_0x580b48(0xb6))/0x9*(parseInt(_0x580b48(0xc3))/0xa);if(_0x481915===_0x1ded55)break;else _0x536c4b['push'](_0x536c4b['shift']());}catch(_0x1842d3){_0x536c4b['push'](_0x536c4b['shift']());}}}(_0x168c,0xa0e5b));function _0x168c(){var _0xaa7811=['1276983egxGQO','491165zFKsHT','206883ptpAeD','6011971QaWRBt','true','36rpxLPE','createCollection','8ukUkQu','536245PTtuCY','forwardCycle','1169718IAvvGa','getFocusableElement','bindTemplate','div','2218018uiYzQd','710LUqYWd','fire','focusTracker','focusCycler'];_0x168c=function(){return _0xaa7811;};return _0x168c();}function _0xedf3(_0x5b9cec,_0x71da62){var _0x168c1f=_0x168c();return _0xedf3=function(_0xedf371,_0x25d236){_0xedf371=_0xedf371-0xb2;var _0x366c08=_0x168c1f[_0xedf371];return _0x366c08;},_0xedf3(_0x5b9cec,_0x71da62);}import{FocusTracker as _0x225b0c}from'ckeditor5/src/utils.js';import{View as _0x1f4236,FocusCycler as _0x17706d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1f4236{[_0x48b916(0xb2)];[_0x48b916(0xb3)];constructor(_0x1efb36){var _0x1b3717=_0x48b916;super(_0x1efb36),this[_0x1b3717(0xb2)]=new _0x225b0c(),this[_0x1b3717(0xb3)]=new _0x17706d({'focusables':this[_0x1b3717(0xba)](),'focusTracker':this[_0x1b3717(0xb2)]});}[_0x48b916(0xbf)](){var _0x2892b1=_0x48b916;return{'tag':_0x2892b1(0xc1),'attributes':{'aria-hidden':_0x2892b1(0xb8),'tabindex':'0'},'on':{'focus':this[_0x2892b1(0xc0)]['to'](()=>{var _0x420499=_0x2892b1;this[_0x420499(0xb3)][_0x420499(0xc4)](_0x420499(0xbd));})}};}}