@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250414.0 → 0.0.0-nightly-20250417.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 _0x3a4a41=_0x8772;(function(_0xf89987,_0x187815){const _0x853cc0=_0x8772,_0xaffcac=_0xf89987();while(!![]){try{const _0x247503=parseInt(_0x853cc0(0x107))/0x1*(-parseInt(_0x853cc0(0xed))/0x2)+parseInt(_0x853cc0(0xf1))/0x3*(parseInt(_0x853cc0(0xfb))/0x4)+parseInt(_0x853cc0(0xeb))/0x5*(parseInt(_0x853cc0(0xf6))/0x6)+parseInt(_0x853cc0(0x11e))/0x7+-parseInt(_0x853cc0(0x104))/0x8*(-parseInt(_0x853cc0(0x108))/0x9)+parseInt(_0x853cc0(0x113))/0xa+parseInt(_0x853cc0(0x106))/0xb*(-parseInt(_0x853cc0(0x12f))/0xc);if(_0x247503===_0x187815)break;else _0xaffcac['push'](_0xaffcac['shift']());}catch(_0x35f848){_0xaffcac['push'](_0xaffcac['shift']());}}}(_0xbed5,0xd8492));import{Plugin as _0x332fda}from'ckeditor5/src/core.js';import{Dialog as _0x23901d}from'ckeditor5/src/ui.js';import{createElement as _0x45a64a,global as _0x548ef1,uid as _0x539dd5}from'ckeditor5/src/utils.js';import _0x2c23c3 from'./uploadcarecommand.js';function _0x8772(_0x2f5384,_0x331a0f){const _0xbed5d6=_0xbed5();return _0x8772=function(_0x87720d,_0x1fa735){_0x87720d=_0x87720d-0xea;let _0x15302b=_0xbed5d6[_0x87720d];return _0x15302b;},_0x8772(_0x2f5384,_0x331a0f);}import _0x3efdee from'./uploadcareuploadadapter.js';function _0xbed5(){const _0x178d95=['45gwmLMi','uploadcareImageId','selection','ctxElement','replaceImageSource','258BewTrh','attributeToAttribute','editor','closeMax','add','261204ipfcHl','view','removeAttribute','downcast','_initImageProcessingIndicator','remove','locale','listenTo','schema','5192wiGFcr','execute','11sdnKYJ','13093uyBpkv','23049uLKOle','iconHrefResolver','uploadcareImageReplace','uploader','href','_ctxElement','afterInit','true','elementToAttribute','join','_initCtx','10708960HpZLZt','once','extend','uploadcare.pubkey','#uc-icon-arrow-down','input[uploadcare-file-input]','document','editing','isOfficialPlugin','config','model','832104shoyvE','fromCharCode','pluginName','imageInline','UploadcareEditing','imageBlock','requires','get','_initConversion','_initConfig','cleanupImage','render','_initSchema','commands','\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','init','uploadcare','40755036ewQhjU','contentLanguage','configElement','conversion','uploadcare.uploader','querySelector','appendChild','upcast','isRegistered','isPremiumPlugin','insertImage','for','getSelectedElement','uc-upload-ctx-provider','uc-config','getAttribute','_configElement','data-uc-image-id','172690ukMgHJ','map','158yCJWJh','body','PictureEditing','destroy'];_0xbed5=function(){return _0x178d95;};return _0xbed5();}import{showImageProcessingIndicator as _0xf54f31}from'./utils/editingutils.js';export default class i extends _0x332fda{[_0x3a4a41(0x13f)]=null;[_0x3a4a41(0x10d)]=null;static get[_0x3a4a41(0x120)](){const _0x1b700f=_0x3a4a41;return _0x1b700f(0x122);}static get[_0x3a4a41(0x124)](){const _0x39ff12=_0x3a4a41;return[_0x39ff12(0xef),_0x3efdee,_0x23901d];}static get[_0x3a4a41(0x11b)](){return!0x0;}static get[_0x3a4a41(0x138)](){return!0x0;}get[_0x3a4a41(0x131)](){const _0x2a0b9c=_0x3a4a41;return this[_0x2a0b9c(0x13f)];}get[_0x3a4a41(0xf4)](){const _0x263386=_0x3a4a41;return this[_0x263386(0x10d)];}[_0x3a4a41(0x12d)](){const _0xbe765b=_0x3a4a41,_0x47b14a=this[_0xbe765b(0xf8)];_0x47b14a[_0xbe765b(0x12b)][_0xbe765b(0xfa)](_0xbe765b(0x12e),new _0x2c23c3(_0x47b14a));}[_0x3a4a41(0x10e)](){const _0xfe4ec7=_0x3a4a41;this[_0xfe4ec7(0x12a)](),this[_0xfe4ec7(0x126)](),this[_0xfe4ec7(0x127)](),this[_0xfe4ec7(0x112)](),this[_0xfe4ec7(0xff)](),this[_0xfe4ec7(0x102)](this[_0xfe4ec7(0xf8)],_0xfe4ec7(0xf0),()=>{const _0x5a7765=_0xfe4ec7;this[_0x5a7765(0x13f)]&&(this[_0x5a7765(0x13f)][_0x5a7765(0x100)](),this[_0x5a7765(0x13f)]=null),this[_0x5a7765(0x10d)]&&(this[_0x5a7765(0x10d)][_0x5a7765(0x100)](),this[_0x5a7765(0x10d)]=null);const _0x4e45e4=_0x548ef1[_0x5a7765(0x119)][_0x5a7765(0x134)](_0x5a7765(0x118));_0x4e45e4&&_0x4e45e4[_0x5a7765(0x100)]();}),async function(_0xa8c7f5){const _0x32950d=_0x47ba7f([0x36,0x62,0x6c,0x31,0x33,0x7a,0x69,0x53,0x65,0x63,0x30,0x37,0x71,0x32,0x6b,0x58,0x5a,0x51,0x34,0x77,0x75,0x70,0x79,0x46,0x41,0x72,0x6e,0x38,0x74,0x67,0x4c,0x35,0x64,0x55,0x44,0x56,0x66,0x78,0x49,0x54,0x47,0x4e,0x61,0x6d,0x39,0x4f,0x68,0x42,0x4d,0x45,0x50,0x52,0x6f,0x59,0x48,0x76,0x57,0x43,0x73,0x4b,0x4a,0x6a]),_0x137bac=0x5f1a9ec5,_0x22ce12=0x5f1dfbc5^_0x137bac,_0x37d105=window[_0x47ba7f([0x44,0x61,0x74,0x65])][_0x47ba7f([0x6e,0x6f,0x77])](),_0xe00d77=_0xa8c7f5[_0x47ba7f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11e30c=new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41a0a5=>{_0xe00d77[_0x47ba7f([0x6f,0x6e,0x63,0x65])](_0x47ba7f([0x72,0x65,0x61,0x64,0x79]),_0x41a0a5);}),_0xf05aca={[_0x47ba7f([0x6b,0x74,0x79])]:_0x47ba7f([0x45,0x43]),[_0x47ba7f([0x75,0x73,0x65])]:_0x47ba7f([0x73,0x69,0x67]),[_0x47ba7f([0x63,0x72,0x76])]:_0x47ba7f([0x50,0x2d,0x32,0x35,0x36]),[_0x47ba7f([0x78])]:_0x47ba7f([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]),[_0x47ba7f([0x79])]:_0x47ba7f([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]),[_0x47ba7f([0x61,0x6c,0x67])]:_0x47ba7f([0x45,0x53,0x32,0x35,0x36])},_0x571adf=_0xe00d77[_0x47ba7f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x47ba7f([0x67,0x65,0x74])](_0x47ba7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x499eb8(){let _0x5dc36b,_0x283cb9=null,_0x2c4f67=null;try{if(_0x571adf==_0x47ba7f([0x47,0x50,0x4c]))return _0x47ba7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dc36b=_0x426858(),!_0x5dc36b)return _0x47ba7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dc36b[_0x47ba7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c4f67=_0x53df55(_0x5dc36b[_0x47ba7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dc36b[_0x47ba7f([0x6a,0x74,0x69])])),await _0x192366()?_0x35d0de()?_0x32545e()?_0x47ba7f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7ee6a6()?(_0x5dc36b[_0x47ba7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47ba7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x283cb9=_0x126624(_0x47ba7f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dc36b[_0x47ba7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47ba7f([0x74,0x72,0x69,0x61,0x6c])&&(_0x283cb9=_0x126624(_0x47ba7f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13b21b()):_0x47ba7f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x47ba7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x47ba7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x126ac1){return _0x47ba7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32545e(){const _0x268b7b=[_0x47ba7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x47ba7f([0x74,0x72,0x69,0x61,0x6c])][_0x47ba7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc36b[_0x47ba7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37d105/0x3e8:0xe10*_0x22ce12;return _0x5dc36b[_0x47ba7f([0x65,0x78,0x70])]<_0x268b7b;}function _0x35d0de(){const _0x5c03d8=_0x5dc36b[_0x47ba7f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c03d8&&(!!_0x5c03d8[_0x47ba7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ba7f([0x2a]))||!!_0x5c03d8[_0x47ba7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ba7f([0x55,0x50,0x4c,0x43])));}function _0x7ee6a6(){const _0x187790=_0x8772,_0x69e809=_0x5dc36b[_0x47ba7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x69e809||0x0==_0x69e809[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x477104}=new URL(window[_0x47ba7f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x187790(0x10c)]);if(_0x69e809[_0x47ba7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477104))return!0x0;const _0xb6e0bc=_0x477104[_0x47ba7f([0x73,0x70,0x6c,0x69,0x74])](_0x47ba7f([0x2e]));return _0x69e809[_0x47ba7f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3afedb=>_0x3afedb[_0x47ba7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ba7f([0x2a])))[_0x47ba7f([0x6d,0x61,0x70])](_0x19658c=>_0x19658c[_0x47ba7f([0x73,0x70,0x6c,0x69,0x74])](_0x47ba7f([0x2e])))[_0x47ba7f([0x73,0x6f,0x6d,0x65])](_0x3c1f58=>_0xb6e0bc[_0x47ba7f([0x65,0x76,0x65,0x72,0x79])]((_0x25addd,_0x2c5ace)=>_0x3c1f58[_0x2c5ace]===_0x25addd||_0x3c1f58[_0x2c5ace]===_0x47ba7f([0x2a])));}function _0x13b21b(){return _0x283cb9&&_0x2c4f67?new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b2d15,_0x3cf947)=>{_0x283cb9[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0x4b2d15,_0x3cf947),_0x2c4f67[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0x23fa96=>{_0x23fa96!=_0x47ba7f([0x56,0x61,0x6c,0x69,0x64])&&_0x4b2d15(_0x23fa96);},_0x3cf947);}):_0x283cb9||_0x2c4f67||_0x47ba7f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53df55(_0x3ac80c,_0x28d6fe){return new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4508ce=>{if(_0x57ba9b())return _0x4508ce(_0x47ba7f([0x56,0x61,0x6c,0x69,0x64]));_0xd3efaa(),_0xe00d77[_0x47ba7f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x47ba7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a4003=!0x1;const _0x4182c1=_0x539dd5();function _0x40c1ef(_0x351840){return!!_0x351840&&(typeof _0x351840===_0x47ba7f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x351840===_0x47ba7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x351840[_0x47ba7f([0x74,0x68,0x65,0x6e])]===_0x47ba7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x351840[_0x47ba7f([0x63,0x61,0x74,0x63,0x68])]===_0x47ba7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e3fed(_0x51c00c){_0x16c463(_0x51c00c)[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0x27de7b=>{if(!_0x27de7b||_0x27de7b[_0x47ba7f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x47ba7f([0x6f,0x6b]))return _0x47ba7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa9b004(_0x5f505e(_0x4182c1+_0x28d6fe))!=_0x27de7b[_0x47ba7f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x47ba7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x47ba7f([0x56,0x61,0x6c,0x69,0x64]);})[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0x9bfdc8=>(_0x19de70(),_0x9bfdc8),()=>{const _0x3db3a4=_0x3a8a6a();return null==_0x3db3a4?(_0x19de70(),_0x47ba7f([0x56,0x61,0x6c,0x69,0x64])):_0x47ba7f(_0x37d105-_0x3db3a4>(0x7b161ac5^_0x137bac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0x4508ce)[_0x47ba7f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4508ce(_0x47ba7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4bf3a0=0x5f2c7045^_0x137bac;function _0x19de70(){const _0x37ad73=_0x47ba7f([0x6c,0x6c,0x63,0x74,0x2d])+_0xa9b004(_0x5f505e(_0x3ac80c)),_0x1745ba=_0x503dc7(_0xa9b004(window[_0x47ba7f([0x4d,0x61,0x74,0x68])][_0x47ba7f([0x63,0x65,0x69,0x6c])](_0x37d105/_0x4bf3a0)));window[_0x47ba7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47ba7f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37ad73,_0x1745ba);}function _0x3a8a6a(){const _0x443e73=_0x47ba7f([0x6c,0x6c,0x63,0x74,0x2d])+_0xa9b004(_0x5f505e(_0x3ac80c)),_0x31e6fc=window[_0x47ba7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47ba7f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x443e73);return _0x31e6fc?window[_0x47ba7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x503dc7(_0x31e6fc),0x10)*_0x4bf3a0:null;}function _0x16c463(_0x3ee75c){return new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd657e6,_0x48e50b)=>{_0x3ee75c[_0x47ba7f([0x74,0x68,0x65,0x6e])](_0xd657e6,_0x48e50b),window[_0x47ba7f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48e50b,0x5f1b4a05^_0x137bac);});}}_0xe00d77[_0x47ba7f([0x6f,0x6e])](_0x47ba7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fb3ec,_0x267749)=>{if(_0x267749[0x0]!=_0x3ac80c)return _0x4508ce(_0x47ba7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x267749[0x1]={..._0x267749[0x1],[_0x47ba7f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4182c1};},{[_0x47ba7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47ba7f([0x68,0x69,0x67,0x68])}),_0xe00d77[_0x47ba7f([0x6f,0x6e])](_0x47ba7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ef42a=>{_0x40c1ef(_0x3ef42a[_0x47ba7f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a4003=!0x0,_0x3e3fed(_0x3ef42a[_0x47ba7f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x47ba7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47ba7f([0x6c,0x6f,0x77])}),_0x11e30c[_0x47ba7f([0x74,0x68,0x65,0x6e])](()=>{_0x4a4003||_0x4508ce(_0x47ba7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57ba9b(){return _0xe00d77[_0x47ba7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47ba7f([0x76,0x69,0x65,0x77])][_0x47ba7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x47ba7f([0x61,0x75,0x74,0x6f]);}function _0xd3efaa(){_0xe00d77[_0x47ba7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47ba7f([0x76,0x69,0x65,0x77])][_0x47ba7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x47ba7f([0x61,0x75,0x74,0x6f]);}}function _0x126624(_0x17e2c4){const _0x583d96=[new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x578c61=>setTimeout(_0x578c61,0x5f13a009^_0x137bac)),_0x11e30c[_0x47ba7f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x302738=>{let _0x182865=0x0;_0xe00d77[_0x47ba7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x47ba7f([0x6f,0x6e])](_0x47ba7f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a738b,_0x1d6149)=>{_0x1d6149[0x0][_0x47ba7f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x182865++,_0x182865==(0x5f1a9f3d^_0x137bac)&&(_0x302738(),_0x2a738b[_0x47ba7f([0x6f,0x66,0x66])]());});}))];return window[_0x47ba7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x47ba7f([0x72,0x61,0x63,0x65])](_0x583d96)[_0x47ba7f([0x74,0x68,0x65,0x6e])](()=>_0x17e2c4);}async function _0x119dc5(){await _0x11e30c,_0xe00d77[_0x47ba7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x47ba7f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fdaf9,_0xe00d77[_0x47ba7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x47ba7f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fdaf9,_0xe00d77[_0x47ba7f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x47ba7f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7af3f0(_0x4a481f){const _0x237ad5=_0xd1b788();_0xe00d77[_0x237ad5]=_0x47ba7f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a481f,_0x4a481f!=_0x47ba7f([0x56,0x61,0x6c,0x69,0x64])&&_0x119dc5();}function _0xd1b788(){const _0x25e9e2=window[_0x47ba7f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x47ba7f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x47ba7f([0x6e,0x6f,0x77])]())[_0x47ba7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x47ba7f([0x2e]),'');let _0x598d15=_0x47ba7f([0x62]);for(let _0xf30f52=0x0;_0xf30f52<_0x25e9e2[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf30f52+=0x2){let _0x2c251e=window[_0x47ba7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25e9e2[_0x47ba7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf30f52,_0xf30f52+0x2));_0x2c251e>=_0x32950d[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c251e-=_0x32950d[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x598d15+=_0x32950d[_0x2c251e];}return _0x598d15;}function _0x426858(){const _0x252d70=_0x571adf[_0x47ba7f([0x73,0x70,0x6c,0x69,0x74])](_0x47ba7f([0x2e]));if(0x3!=_0x252d70[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x517fc7(_0x252d70[0x1]);function _0x517fc7(_0x1a89c9){const _0x1dfaa8=_0x47b96a(_0x1a89c9);return _0x1dfaa8&&_0x161163()?_0x1dfaa8:null;function _0x161163(){const _0xab95ca=_0x1dfaa8[_0x47ba7f([0x6a,0x74,0x69])],_0x5f2b4c=window[_0x47ba7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xab95ca[_0x47ba7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xab95ca[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2019fc={..._0x1dfaa8,[_0x47ba7f([0x6a,0x74,0x69])]:_0xab95ca[_0x47ba7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xab95ca[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2019fc[_0x47ba7f([0x76,0x63])],_0x5f505e(_0x2019fc)==_0x5f2b4c;}}}async function _0x192366(){let _0x403121=!0x0;try{const _0x2f2ca2=_0x571adf[_0x47ba7f([0x73,0x70,0x6c,0x69,0x74])](_0x47ba7f([0x2e])),[_0x3157d2,_0x4079d3,_0x1d14de]=_0x2f2ca2;return _0x3189c4(_0x3157d2),await _0x355360(_0x3157d2,_0x4079d3,_0x1d14de),_0x403121;}catch(_0x549f75){return!0x1;}function _0x3189c4(_0x1a3ed7){const _0x4bbb52=_0x47b96a(_0x1a3ed7);_0x4bbb52&&_0x4bbb52[_0x47ba7f([0x61,0x6c,0x67])]==_0x47ba7f([0x45,0x53,0x32,0x35,0x36])||(_0x403121=!0x1);}async function _0x355360(_0x4793a7,_0x54fc37,_0x327c9f){const _0x20704b=window[_0x47ba7f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x47ba7f([0x66,0x72,0x6f,0x6d])](_0x5ccf6f(_0x327c9f),_0x1cf582=>_0x1cf582[_0x47ba7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15015e=new window[(_0x47ba7f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x47ba7f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4793a7+_0x47ba7f([0x2e])+_0x54fc37),_0x225521=window[_0x47ba7f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x47ba7f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x225521)return;const _0x18dcab=await _0x225521[_0x47ba7f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x47ba7f([0x6a,0x77,0x6b]),_0xf05aca,{[_0x47ba7f([0x6e,0x61,0x6d,0x65])]:_0x47ba7f([0x45,0x43,0x44,0x53,0x41]),[_0x47ba7f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x47ba7f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x47ba7f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x225521[_0x47ba7f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x47ba7f([0x6e,0x61,0x6d,0x65])]:_0x47ba7f([0x45,0x43,0x44,0x53,0x41]),[_0x47ba7f([0x68,0x61,0x73,0x68])]:{[_0x47ba7f([0x6e,0x61,0x6d,0x65])]:_0x47ba7f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18dcab,_0x20704b,_0x15015e)||(_0x403121=!0x1);}}function _0x47b96a(_0x3377c8){return _0x3377c8[_0x47ba7f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x47ba7f([0x65,0x79]))?JSON[_0x47ba7f([0x70,0x61,0x72,0x73,0x65])](_0x5ccf6f(_0x3377c8)):null;}function _0x5ccf6f(_0x5cb65b){return window[_0x47ba7f([0x61,0x74,0x6f,0x62])](_0x5cb65b[_0x47ba7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x47ba7f([0x2b]))[_0x47ba7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x47ba7f([0x2f])));}function _0x5f505e(_0x27abc6){let _0x388158=0x1505;function _0x2cc8a4(_0x23a05c){for(let _0x33d6a1=0x0;_0x33d6a1<_0x23a05c[_0x47ba7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d6a1++){const _0x2d68e2=_0x23a05c[_0x47ba7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33d6a1);_0x388158=(_0x388158<<0x5)+_0x388158+_0x2d68e2,_0x388158&=_0x388158;}}function _0x4a8633(_0x280e4c){Array[_0x47ba7f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x280e4c)?_0x280e4c[_0x47ba7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a8633):_0x280e4c&&typeof _0x280e4c==_0x47ba7f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x47ba7f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x280e4c)[_0x47ba7f([0x73,0x6f,0x72,0x74])]()[_0x47ba7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d3be4,_0x1cdbde])=>{_0x2cc8a4(_0x1d3be4),_0x4a8633(_0x1cdbde);}):_0x2cc8a4(window[_0x47ba7f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x280e4c));}return _0x4a8633(_0x27abc6),_0x388158>>>0x0;}function _0xa9b004(_0x3630c9){return _0x3630c9[_0x47ba7f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x47ba7f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x47ba7f([0x30]));}function _0x503dc7(_0x32eaed){return _0x32eaed[_0x47ba7f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x47ba7f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x47ba7f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fdaf9(){}function _0x47ba7f(_0x538f3f){const _0x46d0c3=_0x8772;return _0x538f3f[_0x46d0c3(0xec)](_0x18cf6f=>String[_0x46d0c3(0x11f)](_0x18cf6f))[_0x46d0c3(0x111)]('');}_0x7af3f0(await _0x499eb8());}(this);}[_0x3a4a41(0x12a)](){const _0x42b199=_0x3a4a41,_0x50dd85=this[_0x42b199(0xf8)][_0x42b199(0x11d)][_0x42b199(0x103)];_0x50dd85[_0x42b199(0x137)](_0x42b199(0x123))&&_0x50dd85[_0x42b199(0x115)](_0x42b199(0x123),{'allowAttributes':[_0x42b199(0xf2)]}),_0x50dd85[_0x42b199(0x137)](_0x42b199(0x121))&&_0x50dd85[_0x42b199(0x115)](_0x42b199(0x121),{'allowAttributes':[_0x42b199(0xf2)]});}[_0x3a4a41(0x126)](){const _0x48577a=_0x3a4a41,_0x874760=this[_0x48577a(0xf8)];_0x874760[_0x48577a(0x132)][_0x48577a(0x13a)](_0x48577a(0xfe))[_0x48577a(0xf7)]({'model':_0x48577a(0xf2),'view':_0x48577a(0xea)}),_0x874760[_0x48577a(0x132)][_0x48577a(0x13a)](_0x48577a(0x136))[_0x48577a(0x110)]({'model':{'key':_0x48577a(0xf2),'value':_0x5acca1=>_0x5acca1[_0x48577a(0x13e)](_0x48577a(0xea))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x384e08=_0x874760[_0x48577a(0x12b)][_0x48577a(0x125)](_0x48577a(0xf5));_0x384e08&&this[_0x48577a(0x102)](_0x384e08,_0x48577a(0x128),(_0x29c217,[_0x30a3f6,_0x29c351])=>{const _0x5f0135=_0x48577a;_0x30a3f6[_0x5f0135(0xfd)](_0x5f0135(0xf2),_0x29c351);});}[_0x3a4a41(0x127)](){const _0x4d5b91=_0x3a4a41,_0x1e83e1=this[_0x4d5b91(0xf8)][_0x4d5b91(0x11c)][_0x4d5b91(0x125)](_0x4d5b91(0x133))||{},_0x9e92c5=this[_0x4d5b91(0xf8)][_0x4d5b91(0x11c)][_0x4d5b91(0x125)](_0x4d5b91(0x116))||'';this[_0x4d5b91(0x13f)]=_0x45a64a(_0x548ef1[_0x4d5b91(0x119)],_0x4d5b91(0x13d),{..._0x1e83e1,'pubkey':_0x9e92c5,'ctx-name':_0x4d5b91(0x10b),'sourceList':'','imgOnly':_0x4d5b91(0x10f),'removeCopyright':_0x4d5b91(0x10f),'localeName':this[_0x4d5b91(0xf8)][_0x4d5b91(0x101)][_0x4d5b91(0x130)],'externalSourcesEmbedCss':_0x4d5b91(0x12c)}),this[_0x4d5b91(0x13f)][_0x4d5b91(0x109)]=_0xf8e80=>{const _0x3eddc9=_0x4d5b91;if(_0x3eddc9(0xf9)==_0xf8e80)return _0x3eddc9(0x117);},_0x548ef1[_0x4d5b91(0x119)][_0x4d5b91(0xee)][_0x4d5b91(0x135)](this[_0x4d5b91(0x13f)]);}[_0x3a4a41(0x112)](){const _0x15514b=_0x3a4a41;this[_0x15514b(0x10d)]=_0x45a64a(_0x548ef1[_0x15514b(0x119)],_0x15514b(0x13c),{'ctx-name':_0x15514b(0x10b)}),_0x548ef1[_0x15514b(0x119)][_0x15514b(0xee)][_0x15514b(0x135)](this[_0x15514b(0x10d)]);}[_0x3a4a41(0xff)](){const _0x22b0a7=_0x3a4a41,_0x1cd224=this[_0x22b0a7(0xf8)][_0x22b0a7(0x12b)][_0x22b0a7(0x125)](_0x22b0a7(0x139));_0x1cd224&&this[_0x22b0a7(0x102)](_0x1cd224,_0x22b0a7(0x105),()=>{const _0xab8e=_0x22b0a7,_0x4140b8=this[_0xab8e(0xf8)][_0xab8e(0x11d)][_0xab8e(0x119)][_0xab8e(0xf3)][_0xab8e(0x13b)]();_0x4140b8&&_0x4140b8[_0xab8e(0x13e)](_0xab8e(0xf2))&&this[_0xab8e(0xf8)][_0xab8e(0x11a)][_0xab8e(0xfc)][_0xab8e(0x114)](_0xab8e(0x129),()=>{const _0x42600a=_0xab8e;_0xf54f31(this[_0x42600a(0xf8)],_0x4140b8);});});const _0xd1c75=this[_0x22b0a7(0xf8)][_0x22b0a7(0x12b)][_0x22b0a7(0x125)](_0x22b0a7(0x10a));_0xd1c75&&this[_0x22b0a7(0x102)](_0xd1c75,_0x22b0a7(0x105),()=>{const _0x5674bc=_0x22b0a7,_0x3e5291=this[_0x5674bc(0xf8)][_0x5674bc(0x11d)][_0x5674bc(0x119)][_0x5674bc(0xf3)][_0x5674bc(0x13b)]();_0x3e5291&&_0x3e5291[_0x5674bc(0x13e)](_0x5674bc(0xf2))&&this[_0x5674bc(0xf8)][_0x5674bc(0x11a)][_0x5674bc(0xfc)][_0x5674bc(0x114)](_0x5674bc(0x129),()=>{const _0x4bd5c9=_0x5674bc;_0xf54f31(this[_0x4bd5c9(0xf8)],_0x3e5291);});});}}
23
+ const _0x419139=_0x2041;(function(_0x2d28b2,_0x324a89){const _0x23a189=_0x2041,_0x49759b=_0x2d28b2();while(!![]){try{const _0x46d654=parseInt(_0x23a189(0x1b2))/0x1+-parseInt(_0x23a189(0x1b5))/0x2*(parseInt(_0x23a189(0x183))/0x3)+-parseInt(_0x23a189(0x1cb))/0x4+parseInt(_0x23a189(0x18f))/0x5+-parseInt(_0x23a189(0x19e))/0x6*(-parseInt(_0x23a189(0x1b3))/0x7)+parseInt(_0x23a189(0x1bb))/0x8+-parseInt(_0x23a189(0x1cc))/0x9;if(_0x46d654===_0x324a89)break;else _0x49759b['push'](_0x49759b['shift']());}catch(_0x420a2a){_0x49759b['push'](_0x49759b['shift']());}}}(_0xa4c8,0x30d76));import{Plugin as _0x1c7456}from'ckeditor5/src/core.js';import{Dialog as _0x4c0452}from'ckeditor5/src/ui.js';import{createElement as _0x471b78,global as _0x458571,uid as _0x5c8206}from'ckeditor5/src/utils.js';import _0x4c27f9 from'./uploadcarecommand.js';function _0x2041(_0x15aee9,_0x32d886){const _0xa4c85c=_0xa4c8();return _0x2041=function(_0x2041ea,_0x39fccf){_0x2041ea=_0x2041ea-0x17b;let _0x49e98e=_0xa4c85c[_0x2041ea];return _0x49e98e;},_0x2041(_0x15aee9,_0x32d886);}import _0x4aba2c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xdfd925}from'./utils/editingutils.js';function _0xa4c8(){const _0x3fe275=['once','body','true','uploader','config','model','iconHrefResolver','appendChild','UploadcareEditing','view','editor','cleanupImage','558UGMUnh','configElement','init','destroy','getAttribute','map','get','join','closeMax','fromCharCode','requires','insertImage','editing','ctxElement','execute','conversion','add','uploadcareImageId','data-uc-image-id','downcast','164893DuTOQw','19733SXmhsC','commands','2Itzizg','listenTo','_ctxElement','render','for','uploadcareImageReplace','2182184QMLpYq','replaceImageSource','uc-upload-ctx-provider','uploadcare.pubkey','contentLanguage','\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','locale','pluginName','uploadcare.uploader','isOfficialPlugin','_initImageProcessingIndicator','schema','input[uploadcare-file-input]','afterInit','imageInline','imageBlock','569436AAidgg','2412216SmbXzP','uploadcare','href','_initConfig','isRegistered','document','upcast','_initSchema','removeAttribute','#uc-icon-arrow-down','329847GcmBuX','elementToAttribute','remove','querySelector','extend','_configElement','PictureEditing','getSelectedElement','selection','uc-config','attributeToAttribute','isPremiumPlugin','102765eUjzYZ','_initCtx','_initConversion'];_0xa4c8=function(){return _0x3fe275;};return _0xa4c8();}export default class i extends _0x1c7456{[_0x419139(0x188)]=null;[_0x419139(0x1b7)]=null;static get[_0x419139(0x1c2)](){const _0x25081b=_0x419139;return _0x25081b(0x19a);}static get[_0x419139(0x1a8)](){const _0x39df93=_0x419139;return[_0x39df93(0x189),_0x4aba2c,_0x4c0452];}static get[_0x419139(0x1c4)](){return!0x0;}static get[_0x419139(0x18e)](){return!0x0;}get[_0x419139(0x19f)](){const _0x14bc5f=_0x419139;return this[_0x14bc5f(0x188)];}get[_0x419139(0x1ab)](){const _0x50ac07=_0x419139;return this[_0x50ac07(0x1b7)];}[_0x419139(0x1a0)](){const _0x2227b8=_0x419139,_0x3d0ea4=this[_0x2227b8(0x19c)];_0x3d0ea4[_0x2227b8(0x1b4)][_0x2227b8(0x1ae)](_0x2227b8(0x1cd),new _0x4c27f9(_0x3d0ea4));}[_0x419139(0x1c8)](){const _0x3e322b=_0x419139;this[_0x3e322b(0x180)](),this[_0x3e322b(0x191)](),this[_0x3e322b(0x17c)](),this[_0x3e322b(0x190)](),this[_0x3e322b(0x1c5)](),this[_0x3e322b(0x1b6)](this[_0x3e322b(0x19c)],_0x3e322b(0x1a1),()=>{const _0x1abe58=_0x3e322b;this[_0x1abe58(0x188)]&&(this[_0x1abe58(0x188)][_0x1abe58(0x185)](),this[_0x1abe58(0x188)]=null),this[_0x1abe58(0x1b7)]&&(this[_0x1abe58(0x1b7)][_0x1abe58(0x185)](),this[_0x1abe58(0x1b7)]=null);const _0x1ec619=_0x458571[_0x1abe58(0x17e)][_0x1abe58(0x186)](_0x1abe58(0x1c7));_0x1ec619&&_0x1ec619[_0x1abe58(0x185)]();}),async function(_0x1a4013){const _0x193daa=_0x4488f9([0x44,0x53,0x67,0x31,0x70,0x59,0x5a,0x6c,0x58,0x69,0x65,0x6b,0x6d,0x75,0x43,0x61,0x6f,0x79,0x52,0x42,0x57,0x6a,0x62,0x76,0x68,0x4a,0x54,0x45,0x46,0x74,0x33,0x4f,0x49,0x41,0x63,0x77,0x32,0x38,0x48,0x4e,0x39,0x64,0x7a,0x37,0x30,0x73,0x50,0x4c,0x78,0x66,0x56,0x47,0x55,0x34,0x4d,0x51,0x6e,0x71,0x35,0x72,0x4b,0x36]),_0x12652e=0x2cbc5c5e,_0x5b4e97=0x2cbb3916^_0x12652e,_0x40c9bc=window[_0x4488f9([0x44,0x61,0x74,0x65])][_0x4488f9([0x6e,0x6f,0x77])](),_0x26b9d9=_0x1a4013[_0x4488f9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb031e3=new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15f106=>{_0x26b9d9[_0x4488f9([0x6f,0x6e,0x63,0x65])](_0x4488f9([0x72,0x65,0x61,0x64,0x79]),_0x15f106);}),_0x55777c={[_0x4488f9([0x6b,0x74,0x79])]:_0x4488f9([0x45,0x43]),[_0x4488f9([0x75,0x73,0x65])]:_0x4488f9([0x73,0x69,0x67]),[_0x4488f9([0x63,0x72,0x76])]:_0x4488f9([0x50,0x2d,0x32,0x35,0x36]),[_0x4488f9([0x78])]:_0x4488f9([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]),[_0x4488f9([0x79])]:_0x4488f9([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]),[_0x4488f9([0x61,0x6c,0x67])]:_0x4488f9([0x45,0x53,0x32,0x35,0x36])},_0x1253e9=_0x26b9d9[_0x4488f9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4488f9([0x67,0x65,0x74])](_0x4488f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12ce80(){let _0x3706df,_0x71609=null,_0x4d405a=null;try{if(_0x1253e9==_0x4488f9([0x47,0x50,0x4c]))return _0x4488f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3706df=_0x14ec6e(),!_0x3706df)return _0x4488f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3706df[_0x4488f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d405a=_0x458b37(_0x3706df[_0x4488f9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3706df[_0x4488f9([0x6a,0x74,0x69])])),await _0xdff0c4()?_0x528c64()?_0x1d0e18()?_0x4488f9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b7621()?(_0x3706df[_0x4488f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4488f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x71609=_0x4a1fef(_0x4488f9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3706df[_0x4488f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4488f9([0x74,0x72,0x69,0x61,0x6c])&&(_0x71609=_0x4a1fef(_0x4488f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bac37()):_0x4488f9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4488f9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4488f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d10e0){return _0x4488f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d0e18(){const _0x16155d=[_0x4488f9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4488f9([0x74,0x72,0x69,0x61,0x6c])][_0x4488f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3706df[_0x4488f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40c9bc/0x3e8:0xe10*_0x5b4e97;return _0x3706df[_0x4488f9([0x65,0x78,0x70])]<_0x16155d;}function _0x528c64(){const _0x584412=_0x3706df[_0x4488f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x584412&&(!!_0x584412[_0x4488f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4488f9([0x2a]))||!!_0x584412[_0x4488f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4488f9([0x55,0x50,0x4c,0x43])));}function _0x5b7621(){const _0xf94d4d=_0x2041,_0x2fc4ca=_0x3706df[_0x4488f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fc4ca||0x0==_0x2fc4ca[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d710e}=new URL(window[_0x4488f9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf94d4d(0x17b)]);if(_0x2fc4ca[_0x4488f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d710e))return!0x0;const _0x3a1295=_0x2d710e[_0x4488f9([0x73,0x70,0x6c,0x69,0x74])](_0x4488f9([0x2e]));return _0x2fc4ca[_0x4488f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bfc11=>_0x5bfc11[_0x4488f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4488f9([0x2a])))[_0x4488f9([0x6d,0x61,0x70])](_0x1583bc=>_0x1583bc[_0x4488f9([0x73,0x70,0x6c,0x69,0x74])](_0x4488f9([0x2e])))[_0x4488f9([0x73,0x6f,0x6d,0x65])](_0x5df9a2=>_0x3a1295[_0x4488f9([0x65,0x76,0x65,0x72,0x79])]((_0x432550,_0xe0f76)=>_0x5df9a2[_0xe0f76]===_0x432550||_0x5df9a2[_0xe0f76]===_0x4488f9([0x2a])));}function _0x5bac37(){return _0x71609&&_0x4d405a?new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x509612,_0x5c8237)=>{_0x71609[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x509612,_0x5c8237),_0x4d405a[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x1629a8=>{_0x1629a8!=_0x4488f9([0x56,0x61,0x6c,0x69,0x64])&&_0x509612(_0x1629a8);},_0x5c8237);}):_0x71609||_0x4d405a||_0x4488f9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x458b37(_0x226fa0,_0x22fed3){return new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db817=>{if(_0x49e133())return _0x5db817(_0x4488f9([0x56,0x61,0x6c,0x69,0x64]));_0x434a72(),_0x26b9d9[_0x4488f9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4488f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56e956=!0x1;const _0x348c1b=_0x5c8206();function _0x41a2cb(_0x1a2794){return!!_0x1a2794&&(typeof _0x1a2794===_0x4488f9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a2794===_0x4488f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a2794[_0x4488f9([0x74,0x68,0x65,0x6e])]===_0x4488f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a2794[_0x4488f9([0x63,0x61,0x74,0x63,0x68])]===_0x4488f9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a7f5d(_0x2a257d){_0x121e97(_0x2a257d)[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x2d6ea2=>{if(!_0x2d6ea2||_0x2d6ea2[_0x4488f9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4488f9([0x6f,0x6b]))return _0x4488f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3816a1(_0x302619(_0x348c1b+_0x22fed3))!=_0x2d6ea2[_0x4488f9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4488f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4488f9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x182cf6=>(_0x592cae(),_0x182cf6),()=>{const _0x5d8d52=_0x2d424c();return null==_0x5d8d52?(_0x592cae(),_0x4488f9([0x56,0x61,0x6c,0x69,0x64])):_0x4488f9(_0x40c9bc-_0x5d8d52>(0x8b0d85e^_0x12652e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x5db817)[_0x4488f9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5db817(_0x4488f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19801f=0x2c8ab2de^_0x12652e;function _0x592cae(){const _0x1f4d65=_0x4488f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3816a1(_0x302619(_0x226fa0)),_0x24d295=_0x4ccd42(_0x3816a1(window[_0x4488f9([0x4d,0x61,0x74,0x68])][_0x4488f9([0x63,0x65,0x69,0x6c])](_0x40c9bc/_0x19801f)));window[_0x4488f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4488f9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f4d65,_0x24d295);}function _0x2d424c(){const _0xbd62e2=_0x4488f9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3816a1(_0x302619(_0x226fa0)),_0xabaa3d=window[_0x4488f9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4488f9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbd62e2);return _0xabaa3d?window[_0x4488f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ccd42(_0xabaa3d),0x10)*_0x19801f:null;}function _0x121e97(_0x12ebfc){return new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d9b82,_0x219f52)=>{_0x12ebfc[_0x4488f9([0x74,0x68,0x65,0x6e])](_0x3d9b82,_0x219f52),window[_0x4488f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x219f52,0x2cbd889e^_0x12652e);});}}_0x26b9d9[_0x4488f9([0x6f,0x6e])](_0x4488f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3286f6,_0x102336)=>{if(_0x102336[0x0]!=_0x226fa0)return _0x5db817(_0x4488f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x102336[0x1]={..._0x102336[0x1],[_0x4488f9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x348c1b};},{[_0x4488f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4488f9([0x68,0x69,0x67,0x68])}),_0x26b9d9[_0x4488f9([0x6f,0x6e])](_0x4488f9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4848a7=>{_0x41a2cb(_0x4848a7[_0x4488f9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56e956=!0x0,_0x4a7f5d(_0x4848a7[_0x4488f9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4488f9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4488f9([0x6c,0x6f,0x77])}),_0xb031e3[_0x4488f9([0x74,0x68,0x65,0x6e])](()=>{_0x56e956||_0x5db817(_0x4488f9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49e133(){return _0x26b9d9[_0x4488f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4488f9([0x76,0x69,0x65,0x77])][_0x4488f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4488f9([0x61,0x75,0x74,0x6f]);}function _0x434a72(){_0x26b9d9[_0x4488f9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4488f9([0x76,0x69,0x65,0x77])][_0x4488f9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4488f9([0x61,0x75,0x74,0x6f]);}}function _0x4a1fef(_0x246c12){const _0x1462d5=[new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53b92d=>setTimeout(_0x53b92d,0x2cb56292^_0x12652e)),_0xb031e3[_0x4488f9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b8ad=>{let _0x22335f=0x0;_0x26b9d9[_0x4488f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4488f9([0x6f,0x6e])](_0x4488f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xebeae7,_0x2adce8)=>{_0x2adce8[0x0][_0x4488f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22335f++,_0x22335f==(0x2cbc5da6^_0x12652e)&&(_0x21b8ad(),_0xebeae7[_0x4488f9([0x6f,0x66,0x66])]());});}))];return window[_0x4488f9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4488f9([0x72,0x61,0x63,0x65])](_0x1462d5)[_0x4488f9([0x74,0x68,0x65,0x6e])](()=>_0x246c12);}async function _0x207ce3(){await _0xb031e3,_0x26b9d9[_0x4488f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4488f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16ec26,_0x26b9d9[_0x4488f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4488f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16ec26,_0x26b9d9[_0x4488f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4488f9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x115bae(_0x30f563){const _0x5b6fd2=_0xcd17ad();_0x26b9d9[_0x5b6fd2]=_0x4488f9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30f563,_0x30f563!=_0x4488f9([0x56,0x61,0x6c,0x69,0x64])&&_0x207ce3();}function _0xcd17ad(){const _0x58534b=window[_0x4488f9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4488f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4488f9([0x6e,0x6f,0x77])]())[_0x4488f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4488f9([0x2e]),'');let _0x3d87cf=_0x4488f9([0x44]);for(let _0x5c9d78=0x0;_0x5c9d78<_0x58534b[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c9d78+=0x2){let _0x71a4f1=window[_0x4488f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58534b[_0x4488f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c9d78,_0x5c9d78+0x2));_0x71a4f1>=_0x193daa[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x71a4f1-=_0x193daa[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d87cf+=_0x193daa[_0x71a4f1];}return _0x3d87cf;}function _0x14ec6e(){const _0x5d0271=_0x1253e9[_0x4488f9([0x73,0x70,0x6c,0x69,0x74])](_0x4488f9([0x2e]));if(0x3!=_0x5d0271[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3feb7b(_0x5d0271[0x1]);function _0x3feb7b(_0x58a1ac){const _0x3a58af=_0x90ca08(_0x58a1ac);return _0x3a58af&&_0xa6cd86()?_0x3a58af:null;function _0xa6cd86(){const _0x38d0f1=_0x3a58af[_0x4488f9([0x6a,0x74,0x69])],_0x102d39=window[_0x4488f9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d0f1[_0x4488f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d0f1[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19616e={..._0x3a58af,[_0x4488f9([0x6a,0x74,0x69])]:_0x38d0f1[_0x4488f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38d0f1[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19616e[_0x4488f9([0x76,0x63])],_0x302619(_0x19616e)==_0x102d39;}}}async function _0xdff0c4(){let _0x2e5981=!0x0;try{const _0x201baf=_0x1253e9[_0x4488f9([0x73,0x70,0x6c,0x69,0x74])](_0x4488f9([0x2e])),[_0x5ed7c3,_0x5a8d78,_0x1d0d81]=_0x201baf;return _0x464ef9(_0x5ed7c3),await _0x16d37c(_0x5ed7c3,_0x5a8d78,_0x1d0d81),_0x2e5981;}catch(_0x260386){return!0x1;}function _0x464ef9(_0x33c288){const _0x4a58ec=_0x90ca08(_0x33c288);_0x4a58ec&&_0x4a58ec[_0x4488f9([0x61,0x6c,0x67])]==_0x4488f9([0x45,0x53,0x32,0x35,0x36])||(_0x2e5981=!0x1);}async function _0x16d37c(_0x23d4d1,_0x339d10,_0x334c53){const _0x3569d3=window[_0x4488f9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4488f9([0x66,0x72,0x6f,0x6d])](_0x385e30(_0x334c53),_0x115077=>_0x115077[_0x4488f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x410c3f=new window[(_0x4488f9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4488f9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23d4d1+_0x4488f9([0x2e])+_0x339d10),_0x5d53ec=window[_0x4488f9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4488f9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d53ec)return;const _0x4b816c=await _0x5d53ec[_0x4488f9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4488f9([0x6a,0x77,0x6b]),_0x55777c,{[_0x4488f9([0x6e,0x61,0x6d,0x65])]:_0x4488f9([0x45,0x43,0x44,0x53,0x41]),[_0x4488f9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4488f9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4488f9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d53ec[_0x4488f9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4488f9([0x6e,0x61,0x6d,0x65])]:_0x4488f9([0x45,0x43,0x44,0x53,0x41]),[_0x4488f9([0x68,0x61,0x73,0x68])]:{[_0x4488f9([0x6e,0x61,0x6d,0x65])]:_0x4488f9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b816c,_0x3569d3,_0x410c3f)||(_0x2e5981=!0x1);}}function _0x90ca08(_0x423c5c){return _0x423c5c[_0x4488f9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4488f9([0x65,0x79]))?JSON[_0x4488f9([0x70,0x61,0x72,0x73,0x65])](_0x385e30(_0x423c5c)):null;}function _0x385e30(_0x5011f5){return window[_0x4488f9([0x61,0x74,0x6f,0x62])](_0x5011f5[_0x4488f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4488f9([0x2b]))[_0x4488f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4488f9([0x2f])));}function _0x302619(_0xeba36f){let _0xfbf74e=0x1505;function _0x5056f7(_0x2798f2){for(let _0x5222e8=0x0;_0x5222e8<_0x2798f2[_0x4488f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5222e8++){const _0x22ba61=_0x2798f2[_0x4488f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5222e8);_0xfbf74e=(_0xfbf74e<<0x5)+_0xfbf74e+_0x22ba61,_0xfbf74e&=_0xfbf74e;}}function _0x5f20ed(_0x22dba2){Array[_0x4488f9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22dba2)?_0x22dba2[_0x4488f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f20ed):_0x22dba2&&typeof _0x22dba2==_0x4488f9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4488f9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22dba2)[_0x4488f9([0x73,0x6f,0x72,0x74])]()[_0x4488f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29987c,_0x530b8d])=>{_0x5056f7(_0x29987c),_0x5f20ed(_0x530b8d);}):_0x5056f7(window[_0x4488f9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22dba2));}return _0x5f20ed(_0xeba36f),_0xfbf74e>>>0x0;}function _0x3816a1(_0x42ddeb){return _0x42ddeb[_0x4488f9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4488f9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4488f9([0x30]));}function _0x4ccd42(_0x7c039c){return _0x7c039c[_0x4488f9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4488f9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4488f9([0x6a,0x6f,0x69,0x6e])]('');}function _0x16ec26(){}function _0x4488f9(_0x4b77fc){const _0x2cbc08=_0x2041;return _0x4b77fc[_0x2cbc08(0x1a3)](_0x23e12e=>String[_0x2cbc08(0x1a7)](_0x23e12e))[_0x2cbc08(0x1a5)]('');}_0x115bae(await _0x12ce80());}(this);}[_0x419139(0x180)](){const _0x2af098=_0x419139,_0x5ac4c5=this[_0x2af098(0x19c)][_0x2af098(0x197)][_0x2af098(0x1c6)];_0x5ac4c5[_0x2af098(0x17d)](_0x2af098(0x1ca))&&_0x5ac4c5[_0x2af098(0x187)](_0x2af098(0x1ca),{'allowAttributes':[_0x2af098(0x1af)]}),_0x5ac4c5[_0x2af098(0x17d)](_0x2af098(0x1c9))&&_0x5ac4c5[_0x2af098(0x187)](_0x2af098(0x1c9),{'allowAttributes':[_0x2af098(0x1af)]});}[_0x419139(0x191)](){const _0x4d8b68=_0x419139,_0x21d86b=this[_0x4d8b68(0x19c)];_0x21d86b[_0x4d8b68(0x1ad)][_0x4d8b68(0x1b9)](_0x4d8b68(0x1b1))[_0x4d8b68(0x18d)]({'model':_0x4d8b68(0x1af),'view':_0x4d8b68(0x1b0)}),_0x21d86b[_0x4d8b68(0x1ad)][_0x4d8b68(0x1b9)](_0x4d8b68(0x17f))[_0x4d8b68(0x184)]({'model':{'key':_0x4d8b68(0x1af),'value':_0x56ad0e=>_0x56ad0e[_0x4d8b68(0x1a2)](_0x4d8b68(0x1b0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33fa60=_0x21d86b[_0x4d8b68(0x1b4)][_0x4d8b68(0x1a4)](_0x4d8b68(0x1bc));_0x33fa60&&this[_0x4d8b68(0x1b6)](_0x33fa60,_0x4d8b68(0x19d),(_0x20f445,[_0x487c2c,_0x218355])=>{const _0x34b5e1=_0x4d8b68;_0x487c2c[_0x34b5e1(0x181)](_0x34b5e1(0x1af),_0x218355);});}[_0x419139(0x17c)](){const _0x101af4=_0x419139,_0x435027=this[_0x101af4(0x19c)][_0x101af4(0x196)][_0x101af4(0x1a4)](_0x101af4(0x1c3))||{},_0x4e7c45=this[_0x101af4(0x19c)][_0x101af4(0x196)][_0x101af4(0x1a4)](_0x101af4(0x1be))||'';this[_0x101af4(0x188)]=_0x471b78(_0x458571[_0x101af4(0x17e)],_0x101af4(0x18c),{..._0x435027,'pubkey':_0x4e7c45,'ctx-name':_0x101af4(0x195),'sourceList':'','imgOnly':_0x101af4(0x194),'removeCopyright':_0x101af4(0x194),'localeName':this[_0x101af4(0x19c)][_0x101af4(0x1c1)][_0x101af4(0x1bf)],'externalSourcesEmbedCss':_0x101af4(0x1c0)}),this[_0x101af4(0x188)][_0x101af4(0x198)]=_0x117424=>{const _0x36f1ce=_0x101af4;if(_0x36f1ce(0x1a6)==_0x117424)return _0x36f1ce(0x182);},_0x458571[_0x101af4(0x17e)][_0x101af4(0x193)][_0x101af4(0x199)](this[_0x101af4(0x188)]);}[_0x419139(0x190)](){const _0x599a5a=_0x419139;this[_0x599a5a(0x1b7)]=_0x471b78(_0x458571[_0x599a5a(0x17e)],_0x599a5a(0x1bd),{'ctx-name':_0x599a5a(0x195)}),_0x458571[_0x599a5a(0x17e)][_0x599a5a(0x193)][_0x599a5a(0x199)](this[_0x599a5a(0x1b7)]);}[_0x419139(0x1c5)](){const _0x5c98fb=_0x419139,_0x4da204=this[_0x5c98fb(0x19c)][_0x5c98fb(0x1b4)][_0x5c98fb(0x1a4)](_0x5c98fb(0x1a9));_0x4da204&&this[_0x5c98fb(0x1b6)](_0x4da204,_0x5c98fb(0x1ac),()=>{const _0x2ea530=_0x5c98fb,_0x2ec6e8=this[_0x2ea530(0x19c)][_0x2ea530(0x197)][_0x2ea530(0x17e)][_0x2ea530(0x18b)][_0x2ea530(0x18a)]();_0x2ec6e8&&_0x2ec6e8[_0x2ea530(0x1a2)](_0x2ea530(0x1af))&&this[_0x2ea530(0x19c)][_0x2ea530(0x1aa)][_0x2ea530(0x19b)][_0x2ea530(0x192)](_0x2ea530(0x1b8),()=>{const _0x4b6c18=_0x2ea530;_0xdfd925(this[_0x4b6c18(0x19c)],_0x2ec6e8);});});const _0x3dcd70=this[_0x5c98fb(0x19c)][_0x5c98fb(0x1b4)][_0x5c98fb(0x1a4)](_0x5c98fb(0x1ba));_0x3dcd70&&this[_0x5c98fb(0x1b6)](_0x3dcd70,_0x5c98fb(0x1ac),()=>{const _0xee59d3=_0x5c98fb,_0x25d040=this[_0xee59d3(0x19c)][_0xee59d3(0x197)][_0xee59d3(0x17e)][_0xee59d3(0x18b)][_0xee59d3(0x18a)]();_0x25d040&&_0x25d040[_0xee59d3(0x1a2)](_0xee59d3(0x1af))&&this[_0xee59d3(0x19c)][_0xee59d3(0x1aa)][_0xee59d3(0x19b)][_0xee59d3(0x192)](_0xee59d3(0x1b8),()=>{const _0x5757b2=_0xee59d3;_0xdfd925(this[_0x5757b2(0x19c)],_0x25d040);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x155e99,ObservableMixin as _0xb055e8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5a7bba}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a5358}from'ckeditor5/src/icons.js';import _0x4c7cea from'./uploadcareimageeditformview.js';import _0xa084f6 from'../../utils/uploadutils.js';import{getImageUrls as _0xfe3e8d,getImageDimension as _0xaf33dc}from'../../utils/editingutils.js';import{isAncestor as _0x1cd496}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0xb055e8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a2c4b,_0x108b30,_0x3f08bb){super(),this['_editor']=_0x2a2c4b,this['_dialog']=_0x108b30,this['_imageElement']=_0x3f08bb,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 _0x2b7649=this['_imageElement'],_0x49f617=_0x2b7649['getAttribute']('uploadcareImageId'),_0x185999=_0x2b7649['getAttribute']('src');if(_0x49f617)await this['_loadImageInfo'](_0x49f617,_0x185999);else{if(this['_imageCache']['has'](_0x185999)){const _0x3dce8e=this['_imageCache']['get'](_0x185999);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3dce8e['url'],this['imageDimension']=_0x3dce8e['dimension'],this['imageId']=_0x3dce8e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1df16e}=this['_editor'],t=_0x1df16e['t'],_0x4192a9=new _0x4c7cea(_0x1df16e,this['imageStatus'],this['_attributes']);_0x4192a9['bind']('status')['to'](this,'imageStatus'),_0x4192a9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4192a9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4192a9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4192a9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a5358,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4192a9,'position':_0x5a7bba['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4192a9['focus']();},'onHide':()=>{_0x4192a9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x40828f=>!_0x1cd496(_0x40828f,_0x4192a9['element'])}});}['_loadImageInfo'](_0xc5741b,_0x2b36a5){return _0xa084f6['getInfo'](_0xc5741b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c04e0=>{const {width:_0x4944e8,height:_0x1d381f}=_0x4c04e0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b36a5,this['imageDimension']={'width':_0x4944e8,'height':_0x1d381f},this['imageId']=_0xc5741b;})['catch'](_0x1d6435=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d6435['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f1c1d,_0x5ee087){return this['_getImageAsFile'](_0x3f1c1d)['then'](_0x1df860=>_0xa084f6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ee087['signal'],'file':_0x1df860,'onProgress':_0x1e09a4=>{_0x1e09a4&&_0x1e09a4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1e09a4['value']));}}))['then'](_0x580360=>{const {width:_0x370a36,height:_0x344a99}=_0x580360['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x580360['cdnUrl'],this['imageDimension']={'width':_0x370a36,'height':_0x344a99},this['imageId']=_0x580360['uuid'],this['imageUploadProgress']=null;const _0x531239=_0x3f1c1d['getAttribute']('src');this['_imageCache']['set'](_0x531239,{'id':_0x580360['uuid'],'url':_0x580360['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4976f1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4976f1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48df67,_0x81818b){_0x48df67['on']('apply',(_0x461294,_0x2169c4)=>{this['_replaceImage'](_0x81818b,_0x2169c4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48df67['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48df67['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ba871,_0xc247ed,_0x4e16be){const _0x4124a2=this['_editor'],{width:_0x4932e8,height:_0x3c4df4}=_0xaf33dc(_0xc247ed,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1572f1,imageSources:_0x3797a6}=_0xfe3e8d(_0xc247ed,_0x4932e8);_0x4124a2['model']['change'](_0x1aa4b0=>{if('$graveyard'===_0x5ba871['root']['rootName']){_0x4124a2['execute']('insertImage',{'imageType':_0x5ba871['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ba871['getAttributes']()),'uploadcareImageId':_0x4e16be,'src':_0x1572f1,'sources':_0x3797a6,'width':_0x4932e8,'height':_0x3c4df4}});const _0x52727b=_0x5ba871['getChildren']();_0x5ba871=_0x4124a2['model']['document']['selection']['getSelectedElement']();for(const _0x150f0f of _0x52727b)_0x1aa4b0['append'](_0x1aa4b0['cloneElement'](_0x150f0f),_0x5ba871);}else _0x1aa4b0['setSelection'](_0x5ba871,'on'),_0x4124a2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ba871['getAttributes']()),'uploadcareImageId':_0x4e16be,'src':_0x1572f1,'sources':_0x3797a6,'width':_0x4932e8,'height':_0x3c4df4},_0x5ba871);_0x1aa4b0['setSelection'](_0x5ba871,'on');});}async['_getImageAsFile'](_0xe6682c){const _0x4044e0=_0x155e99['window'],_0x110cc5=_0x155e99['document']['location']['href'],_0x226f16=new _0x4044e0['URL'](_0xe6682c['getAttribute']('src'),_0x110cc5);if('data:'===_0x226f16['protocol']){const _0x36939d=_0x226f16['href']['split'](','),_0x5829a8=_0x36939d[0x0]['match'](/:(.*?);/)[0x1],_0x5cdab4=_0x5829a8['split']('/')[0x1],_0x27a1da=_0x4044e0['atob'](_0x36939d[_0x36939d['length']-0x1]);let _0x228a1d=_0x27a1da['length'];const _0x706d7c=new _0x4044e0['Uint8Array'](_0x228a1d);for(;_0x228a1d--;)_0x706d7c[_0x228a1d]=_0x27a1da['charCodeAt'](_0x228a1d);return new _0x4044e0['File']([_0x706d7c],'image.'+_0x5cdab4,{'type':_0x5829a8});}const _0x5e8995=_0x226f16['href']['split']('/'),_0x1af9af=_0x5e8995[_0x5e8995['length']-0x1],_0x56d14a=_0x1af9af['split']('.')[0x1];return _0x4044e0['fetch'](_0x226f16['href'])['then'](_0x5415cf=>_0x5415cf['clone']()['blob']())['then'](_0x2108cf=>new _0x4044e0['File']([_0x2108cf],_0x1af9af,{'type':'image/'+_0x56d14a}));}}
23
+ import{global as _0x2caf03,ObservableMixin as _0x137e03}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x131e8a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5e7bf1}from'ckeditor5/src/icons.js';import _0x58852e from'./uploadcareimageeditformview.js';import _0x1427b6 from'../../utils/uploadutils.js';import{getImageUrls as _0x3a62bc,getImageDimension as _0x417d34}from'../../utils/editingutils.js';import{isAncestor as _0x2b9b29}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x137e03(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x212ed6,_0x26b656,_0x353ccb){super(),this['_editor']=_0x212ed6,this['_dialog']=_0x26b656,this['_imageElement']=_0x353ccb,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 _0x4acc33=this['_imageElement'],_0x21227d=_0x4acc33['getAttribute']('uploadcareImageId'),_0x5e2c70=_0x4acc33['getAttribute']('src');if(_0x21227d)await this['_loadImageInfo'](_0x21227d,_0x5e2c70);else{if(this['_imageCache']['has'](_0x5e2c70)){const _0xc9485c=this['_imageCache']['get'](_0x5e2c70);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc9485c['url'],this['imageDimension']=_0xc9485c['dimension'],this['imageId']=_0xc9485c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52c3eb}=this['_editor'],t=_0x52c3eb['t'],_0x3497cb=new _0x58852e(_0x52c3eb,this['imageStatus'],this['_attributes']);_0x3497cb['bind']('status')['to'](this,'imageStatus'),_0x3497cb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3497cb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3497cb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3497cb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5e7bf1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3497cb,'position':_0x131e8a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3497cb['focus']();},'onHide':()=>{_0x3497cb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5098c0=>!_0x2b9b29(_0x5098c0,_0x3497cb['element'])}});}['_loadImageInfo'](_0x5ff944,_0x1fbfb0){return _0x1427b6['getInfo'](_0x5ff944,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x46df8c=>{const {width:_0x4829db,height:_0x2fbb2e}=_0x46df8c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fbfb0,this['imageDimension']={'width':_0x4829db,'height':_0x2fbb2e},this['imageId']=_0x5ff944;})['catch'](_0x3afc2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3afc2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x443242,_0x531341){return this['_getImageAsFile'](_0x443242)['then'](_0x27835a=>_0x1427b6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x531341['signal'],'file':_0x27835a,'onProgress':_0x491ebb=>{_0x491ebb&&_0x491ebb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x491ebb['value']));}}))['then'](_0x5d5691=>{const {width:_0x418aa2,height:_0x35a118}=_0x5d5691['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d5691['cdnUrl'],this['imageDimension']={'width':_0x418aa2,'height':_0x35a118},this['imageId']=_0x5d5691['uuid'],this['imageUploadProgress']=null;const _0x41e7d2=_0x443242['getAttribute']('src');this['_imageCache']['set'](_0x41e7d2,{'id':_0x5d5691['uuid'],'url':_0x5d5691['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a43a0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a43a0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x175262,_0xd5147e){_0x175262['on']('apply',(_0x4ca021,_0x374d52)=>{this['_replaceImage'](_0xd5147e,_0x374d52['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x175262['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x175262['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xa20cfd,_0x26c881,_0x156382){const _0x52fdb9=this['_editor'],{width:_0x49250d,height:_0x46f746}=_0x417d34(_0x26c881,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2ebb5f,imageSources:_0x3a5ee3}=_0x3a62bc(_0x26c881,_0x49250d);_0x52fdb9['model']['change'](_0x505c01=>{if('$graveyard'===_0xa20cfd['root']['rootName']){_0x52fdb9['execute']('insertImage',{'imageType':_0xa20cfd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xa20cfd['getAttributes']()),'uploadcareImageId':_0x156382,'src':_0x2ebb5f,'sources':_0x3a5ee3,'width':_0x49250d,'height':_0x46f746}});const _0x52b671=_0xa20cfd['getChildren']();_0xa20cfd=_0x52fdb9['model']['document']['selection']['getSelectedElement']();for(const _0x350fe1 of _0x52b671)_0x505c01['append'](_0x505c01['cloneElement'](_0x350fe1),_0xa20cfd);}else _0x505c01['setSelection'](_0xa20cfd,'on'),_0x52fdb9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xa20cfd['getAttributes']()),'uploadcareImageId':_0x156382,'src':_0x2ebb5f,'sources':_0x3a5ee3,'width':_0x49250d,'height':_0x46f746},_0xa20cfd);_0x505c01['setSelection'](_0xa20cfd,'on');});}async['_getImageAsFile'](_0x26485c){const _0x3e41d2=_0x2caf03['window'],_0x2b2194=_0x2caf03['document']['location']['href'],_0x3f89bc=new _0x3e41d2['URL'](_0x26485c['getAttribute']('src'),_0x2b2194);if('data:'===_0x3f89bc['protocol']){const _0x221251=_0x3f89bc['href']['split'](','),_0x494073=_0x221251[0x0]['match'](/:(.*?);/)[0x1],_0x15784b=_0x494073['split']('/')[0x1],_0x1bf305=_0x3e41d2['atob'](_0x221251[_0x221251['length']-0x1]);let _0x520a9b=_0x1bf305['length'];const _0x59eba3=new _0x3e41d2['Uint8Array'](_0x520a9b);for(;_0x520a9b--;)_0x59eba3[_0x520a9b]=_0x1bf305['charCodeAt'](_0x520a9b);return new _0x3e41d2['File']([_0x59eba3],'image.'+_0x15784b,{'type':_0x494073});}const _0x5b5d50=_0x3f89bc['href']['split']('/'),_0x269795=_0x5b5d50[_0x5b5d50['length']-0x1],_0x5503c8=_0x269795['split']('.')[0x1];return _0x3e41d2['fetch'](_0x3f89bc['href'])['then'](_0x35dc08=>_0x35dc08['clone']()['blob']())['then'](_0x5b8206=>new _0x3e41d2['File']([_0x5b8206],_0x269795,{'type':'image/'+_0x5503c8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ab902,_0x246138){const _0x346597=_0x5485,_0x4bae38=_0x5ab902();while(!![]){try{const _0x43f69b=parseInt(_0x346597(0x1b2))/0x1*(-parseInt(_0x346597(0x1bc))/0x2)+-parseInt(_0x346597(0x1b0))/0x3+-parseInt(_0x346597(0x1ae))/0x4*(parseInt(_0x346597(0x1af))/0x5)+parseInt(_0x346597(0x1b8))/0x6+parseInt(_0x346597(0x1b4))/0x7*(parseInt(_0x346597(0x1ab))/0x8)+-parseInt(_0x346597(0x1ac))/0x9*(parseInt(_0x346597(0x1b1))/0xa)+parseInt(_0x346597(0x1bd))/0xb;if(_0x43f69b===_0x246138)break;else _0x4bae38['push'](_0x4bae38['shift']());}catch(_0x5458e1){_0x4bae38['push'](_0x4bae38['shift']());}}}(_0x5504,0x794ad));function _0x5485(_0x428d3f,_0x51d278){const _0x55042c=_0x5504();return _0x5485=function(_0x5485f3,_0x179918){_0x5485f3=_0x5485f3-0x1ab;let _0x208978=_0x55042c[_0x5485f3];return _0x208978;},_0x5485(_0x428d3f,_0x51d278);}import{View as _0x28cebb}from'ckeditor5/src/ui.js';function _0x5504(){const _0x5202fb=['ck-uploadcare-theme','uc-cloud-image-editor','720432DYtpaP','imageSrc','set','image-edit','100844VMBVBK','21623657PlydzI','2675608NDmuOy','1796571tDDLnD','setTemplate','352408sVHACS','10DHkeGU','2525298uNtRFy','10eugzzL','14ZTzMBU','bindTemplate','7yjYrcq','uc-light'];_0x5504=function(){return _0x5202fb;};return _0x5504();}export default class tt extends _0x28cebb{constructor(_0x2c0f11,_0x2f9150){const _0x1982a5=_0x5485;super(_0x2c0f11);const _0x27e25b=this[_0x1982a5(0x1b3)];this[_0x1982a5(0x1ba)](_0x1982a5(0x1b9),''),this[_0x1982a5(0x1ad)]({'tag':_0x1982a5(0x1b7),'attributes':{..._0x2f9150,'class':[_0x1982a5(0x1b5),_0x1982a5(0x1b6)],'ctx-name':_0x1982a5(0x1bb),'cdn-url':_0x27e25b['to'](_0x1982a5(0x1b9))}});}}
23
+ function _0x36c7(_0x41fc54,_0x3cd26b){const _0x450ad7=_0x450a();return _0x36c7=function(_0x36c76f,_0x5c6c93){_0x36c76f=_0x36c76f-0x171;let _0x1ef06d=_0x450ad7[_0x36c76f];return _0x1ef06d;},_0x36c7(_0x41fc54,_0x3cd26b);}(function(_0x3505fe,_0x4db315){const _0x21dc46=_0x36c7,_0x4d7bb5=_0x3505fe();while(!![]){try{const _0x44fb96=parseInt(_0x21dc46(0x178))/0x1*(parseInt(_0x21dc46(0x174))/0x2)+parseInt(_0x21dc46(0x181))/0x3*(-parseInt(_0x21dc46(0x176))/0x4)+parseInt(_0x21dc46(0x17e))/0x5+-parseInt(_0x21dc46(0x17a))/0x6*(-parseInt(_0x21dc46(0x177))/0x7)+parseInt(_0x21dc46(0x171))/0x8*(-parseInt(_0x21dc46(0x180))/0x9)+-parseInt(_0x21dc46(0x179))/0xa+parseInt(_0x21dc46(0x175))/0xb;if(_0x44fb96===_0x4db315)break;else _0x4d7bb5['push'](_0x4d7bb5['shift']());}catch(_0x3ca63c){_0x4d7bb5['push'](_0x4d7bb5['shift']());}}}(_0x450a,0xbbacd));import{View as _0x1d4ce0}from'ckeditor5/src/ui.js';export default class tt extends _0x1d4ce0{constructor(_0x159834,_0x2aee83){const _0x54f908=_0x36c7;super(_0x159834);const _0x2ce633=this[_0x54f908(0x173)];this[_0x54f908(0x17d)](_0x54f908(0x183),''),this[_0x54f908(0x17b)]({'tag':_0x54f908(0x17c),'attributes':{..._0x2aee83,'class':[_0x54f908(0x182),_0x54f908(0x17f)],'ctx-name':_0x54f908(0x172),'cdn-url':_0x2ce633['to'](_0x54f908(0x183))}});}}function _0x450a(){const _0x3bb5ba=['2097zbUEoL','76620QJzkFX','uc-light','imageSrc','43912IOAxId','image-edit','bindTemplate','1638892LFTYFp','11743050YuOeFz','80PaUZjL','8793855TISllb','1mpwTRw','10891940zbVzGs','6RUWohX','setTemplate','uc-cloud-image-editor','set','2521935CeglkK','ck-uploadcare-theme'];_0x450a=function(){return _0x3bb5ba;};return _0x450a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x242c27,IconView as at,View as _0x110a5a}from'ckeditor5/src/ui.js';export default class rt extends _0x110a5a{constructor(_0x4cf93b){super(_0x4cf93b);const t=_0x4cf93b['t'];this['set']('errorType',null);const _0x1bc85a=new _0x242c27(_0x4cf93b);_0x1bc85a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bc85a['withText']=!0x0,_0x1bc85a['class']='ck-button-action',_0x1bc85a['on']('execute',()=>{this['fire']('retry');}),_0x1bc85a['bind']('isVisible')['to'](this,'errorType',_0x4fa6a5=>'NotFound'!==_0x4fa6a5);const _0x105f1f=new at();_0x105f1f['content']=et,_0x105f1f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x12fe3b=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':[_0x105f1f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x12fe3b['to']('errorType',_0x3d2f41=>t('NotFound'!==_0x3d2f41?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bc85a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2dbe3f,IconView as at,View as _0x4e6adc}from'ckeditor5/src/ui.js';export default class rt extends _0x4e6adc{constructor(_0x4b828c){super(_0x4b828c);const t=_0x4b828c['t'];this['set']('errorType',null);const _0x4956f6=new _0x2dbe3f(_0x4b828c);_0x4956f6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4956f6['withText']=!0x0,_0x4956f6['class']='ck-button-action',_0x4956f6['on']('execute',()=>{this['fire']('retry');}),_0x4956f6['bind']('isVisible')['to'](this,'errorType',_0x419461=>'NotFound'!==_0x419461);const _0x398400=new at();_0x398400['content']=et,_0x398400['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13f7b5=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':[_0x398400,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13f7b5['to']('errorType',_0x5caef2=>t('NotFound'!==_0x5caef2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4956f6]},{'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 _0x5a44ca,View as _0x25c6fb}from'ckeditor5/src/ui.js';export default class ta extends _0x25c6fb{constructor(_0x4a29c9){super(_0x4a29c9);const t=_0x4a29c9['t'],_0x5b49d0=this['bindTemplate'],_0x18b463=new _0x5a44ca();_0x18b463['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':[_0x18b463,{'text':_0x5b49d0['to']('imageUploadProgress',_0x1a24e2=>t('Loading\x20image...')+'\x20('+(_0x1a24e2||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 _0x1a7478,View as _0x2d4a55}from'ckeditor5/src/ui.js';export default class ta extends _0x2d4a55{constructor(_0x42a84a){super(_0x42a84a);const t=_0x42a84a['t'],_0x5b90bb=this['bindTemplate'],_0x1e58a1=new _0x1a7478();_0x1e58a1['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':[_0x1e58a1,{'text':_0x5b90bb['to']('imageUploadProgress',_0x5a972b=>t('Loading\x20image...')+'\x20('+(_0x5a972b||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 _0x5ea0(){const _0x9693ea=['element','disconnect','_addUploadcareImageEditorListeners','uploading','error','1760830YdhUAr','render','getFocusableElement','addedNodes','_setView','31128spCwZQ','ready','change:status','target','apply','addMany','add','detail','filter','clear','3247795YLwPsW','fire','once','_loadingView','32290tUXNud','toLowerCase','ck-reset_all-excluded','14RuyiEi','uc-cloud-image-editor','_editingView','createCollection','length','status','retry','querySelector','set','15719XeyNWO','2106rKtBSG','ck-uploadcare-form','cancel','6HBgDmd','1123562nnmAca','observe','cdnUrl','_focusableView','div','1522088rgQSZd','focus','setTemplate','addEventListener','2823PQuczf','nodeName','_waitForImageEditorComponent','472fVZpXX','_addErrorViewListeners','_errorView','_items'];_0x5ea0=function(){return _0x9693ea;};return _0x5ea0();}const _0x2907c9=_0x42ef;(function(_0x40b5db,_0xfa968b){const _0x2efc7e=_0x42ef,_0x181648=_0x40b5db();while(!![]){try{const _0x3d9cc5=-parseInt(_0x2efc7e(0x1e7))/0x1+-parseInt(_0x2efc7e(0x1fc))/0x2+-parseInt(_0x2efc7e(0x1f0))/0x3*(parseInt(_0x2efc7e(0x1f3))/0x4)+parseInt(_0x2efc7e(0x1d2))/0x5*(-parseInt(_0x2efc7e(0x1e6))/0x6)+-parseInt(_0x2efc7e(0x1d9))/0x7*(-parseInt(_0x2efc7e(0x1ec))/0x8)+-parseInt(_0x2efc7e(0x1e3))/0x9*(parseInt(_0x2efc7e(0x1d6))/0xa)+parseInt(_0x2efc7e(0x1e2))/0xb*(parseInt(_0x2efc7e(0x201))/0xc);if(_0x3d9cc5===_0xfa968b)break;else _0x181648['push'](_0x181648['shift']());}catch(_0x35b503){_0x181648['push'](_0x181648['shift']());}}}(_0x5ea0,0x8a794));import{View as _0x3ffc5a}from'ckeditor5/src/ui.js';import _0x4e05d8 from'./uploadcareimageeditformloadingview.js';import _0x39a7c8 from'./uploadcareimageeditformerrorview.js';import _0x3672ef from'./uploadcareimageeditformeditingview.js';function _0x42ef(_0x17f462,_0x2c73ea){const _0x5ea034=_0x5ea0();return _0x42ef=function(_0x42ef6b,_0x2587e2){_0x42ef6b=_0x42ef6b-0x1cb;let _0x401d8f=_0x5ea034[_0x42ef6b];return _0x401d8f;},_0x42ef(_0x17f462,_0x2c73ea);}import _0xcba42b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xcba42b{[_0x2907c9(0x1f6)];[_0x2907c9(0x1d5)];[_0x2907c9(0x1f5)];[_0x2907c9(0x1db)];[_0x2907c9(0x1ea)];constructor(_0x5314e6,_0xa97911,_0x5b610b){const _0x213538=_0x2907c9;super(_0x5314e6),this[_0x213538(0x1f6)]=this[_0x213538(0x1dc)](),this[_0x213538(0x1d5)]=new _0x4e05d8(_0x5314e6),this[_0x213538(0x1f5)]=new _0x39a7c8(_0x5314e6),this[_0x213538(0x1db)]=new _0x3672ef(_0x5314e6,_0x5b610b),this[_0x213538(0x1ea)]=new _0x3ffc5a(_0x5314e6),this[_0x213538(0x1ea)][_0x213538(0x1ee)](this[_0x213538(0x1fe)]()),this[_0x213538(0x1e1)](_0x213538(0x1de),_0xa97911),this[_0x213538(0x1ee)]({'tag':_0x213538(0x1eb),'attributes':{'class':['ck',_0x213538(0x1d8),_0x213538(0x1e4)],'tabindex':'-1'},'children':this[_0x213538(0x1f6)]}),this[_0x213538(0x200)](),this[_0x213538(0x1d4)](_0x213538(0x1fd),()=>{const _0x42c37e=_0x213538;this[_0x42c37e(0x1f2)](this[_0x42c37e(0x1f7)],_0x181258=>{const _0x3a962b=_0x42c37e;this[_0x3a962b(0x1f9)](_0x181258);});}),this['on'](_0x213538(0x203),()=>{const _0x4a3423=_0x213538;this[_0x4a3423(0x200)]();}),this[_0x213538(0x1f4)]();}[_0x2907c9(0x1ed)](){const _0x5c09ab=_0x2907c9;this[_0x5c09ab(0x1f7)][_0x5c09ab(0x1ed)]();}[_0x2907c9(0x200)](){const _0x2a4ab1=_0x2907c9;switch(this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1d1)](),this[_0x2a4ab1(0x1de)]){case _0x2a4ab1(0x1fa):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1ce)](this[_0x2a4ab1(0x1d5)]);break;case _0x2a4ab1(0x1fb):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1ce)](this[_0x2a4ab1(0x1f5)]);break;case _0x2a4ab1(0x202):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1cd)]([this[_0x2a4ab1(0x1db)],this[_0x2a4ab1(0x1ea)]]);}}[_0x2907c9(0x1f2)](_0x5d81af,_0x4bcaf7){const _0x23467e=_0x2907c9,_0x5d4b83=_0x23467e(0x1da),_0x4414cc=_0x5d81af[_0x23467e(0x1e0)](_0x5d4b83);if(_0x4414cc)return _0x4bcaf7(_0x4414cc);const _0x5ae2e9=new MutationObserver(_0xa06c5d=>{const _0x50e809=_0x23467e,_0x190ae1=_0xa06c5d[_0x50e809(0x1d0)](_0x484d6b=>_0x484d6b[_0x50e809(0x1cb)]===_0x5d81af&&_0x484d6b[_0x50e809(0x1ff)][_0x50e809(0x1dd)]>0x0&&_0x484d6b[_0x50e809(0x1ff)][0x0][_0x50e809(0x1f1)][_0x50e809(0x1d7)]()===_0x5d4b83);_0x190ae1[_0x50e809(0x1dd)]&&(_0x5ae2e9[_0x50e809(0x1f8)](),_0x4bcaf7(_0x190ae1[0x0][_0x50e809(0x1ff)][0x0]));});_0x5ae2e9[_0x23467e(0x1e8)](_0x5d81af,{'childList':!0x0,'subtree':!0x0});}[_0x2907c9(0x1f9)](_0x2f29f5){const _0x5a6ca6=_0x2907c9;_0x2f29f5[_0x5a6ca6(0x1ef)](_0x5a6ca6(0x1cc),_0x1529e2=>{const _0x4382c4=_0x5a6ca6;this[_0x4382c4(0x1d3)](_0x4382c4(0x1cc),{'imageSrc':_0x1529e2[_0x4382c4(0x1cf)][_0x4382c4(0x1e9)]});}),_0x2f29f5[_0x5a6ca6(0x1ef)](_0x5a6ca6(0x1e5),()=>{const _0x3a0219=_0x5a6ca6;this[_0x3a0219(0x1d3)](_0x3a0219(0x1e5));});}[_0x2907c9(0x1f4)](){const _0x142443=_0x2907c9;this[_0x142443(0x1f5)]['on'](_0x142443(0x1df),()=>{const _0x28e3fa=_0x142443;this[_0x28e3fa(0x1d3)](_0x28e3fa(0x1df));});}}
23
+ function _0x5546(){const _0x38ddf6=['add','226312gPOmdM','10qwrPRj','addEventListener','1549750ZzPjjV','_editingView','change:status','getFocusableElement','_loadingView','apply','status','target','ck-reset_all-excluded','_addErrorViewListeners','createCollection','_errorView','_waitForImageEditorComponent','24FUwraM','260403LXdLBh','setTemplate','addMany','261YpVQAD','ck-uploadcare-form','28icKooY','_focusableView','clear','toLowerCase','length','querySelector','once','_addUploadcareImageEditorListeners','2436WqddZE','focus','fire','div','detail','uploading','addedNodes','7043443ujEuEw','set','disconnect','_items','retry','6348vzDlLN','filter','render','ready','error','uc-cloud-image-editor','observe','1742685VIAqFP','element','cdnUrl','1oyQryZ','nodeName','_setView','cancel','3592173xwfxur'];_0x5546=function(){return _0x38ddf6;};return _0x5546();}const _0x285e1b=_0x242a;(function(_0x4ea3a0,_0x18a377){const _0x25797a=_0x242a,_0x22af52=_0x4ea3a0();while(!![]){try{const _0x3cc5bb=-parseInt(_0x25797a(0x1d6))/0x1*(-parseInt(_0x25797a(0x1df))/0x2)+parseInt(_0x25797a(0x1ed))/0x3*(parseInt(_0x25797a(0x1f2))/0x4)+-parseInt(_0x25797a(0x1d3))/0x5+-parseInt(_0x25797a(0x1cc))/0x6*(-parseInt(_0x25797a(0x1fa))/0x7)+parseInt(_0x25797a(0x1dc))/0x8*(-parseInt(_0x25797a(0x1f0))/0x9)+parseInt(_0x25797a(0x1dd))/0xa*(parseInt(_0x25797a(0x201))/0xb)+parseInt(_0x25797a(0x1ec))/0xc*(-parseInt(_0x25797a(0x1da))/0xd);if(_0x3cc5bb===_0x18a377)break;else _0x22af52['push'](_0x22af52['shift']());}catch(_0x57eee8){_0x22af52['push'](_0x22af52['shift']());}}}(_0x5546,0xa36eb));function _0x242a(_0x25d91f,_0x4a153b){const _0x554665=_0x5546();return _0x242a=function(_0x242a52,_0x543a59){_0x242a52=_0x242a52-0x1ca;let _0x2cfd8c=_0x554665[_0x242a52];return _0x2cfd8c;},_0x242a(_0x25d91f,_0x4a153b);}import{View as _0xfa6f31}from'ckeditor5/src/ui.js';import _0x1d6e40 from'./uploadcareimageeditformloadingview.js';import _0x9e6c3e from'./uploadcareimageeditformerrorview.js';import _0x1808c8 from'./uploadcareimageeditformeditingview.js';import _0x16e81d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x16e81d{[_0x285e1b(0x1ca)];[_0x285e1b(0x1e3)];[_0x285e1b(0x1ea)];[_0x285e1b(0x1e0)];[_0x285e1b(0x1f3)];constructor(_0x28bfe7,_0x4a9ab0,_0xa72a53){const _0x1cc880=_0x285e1b;super(_0x28bfe7),this[_0x1cc880(0x1ca)]=this[_0x1cc880(0x1e9)](),this[_0x1cc880(0x1e3)]=new _0x1d6e40(_0x28bfe7),this[_0x1cc880(0x1ea)]=new _0x9e6c3e(_0x28bfe7),this[_0x1cc880(0x1e0)]=new _0x1808c8(_0x28bfe7,_0xa72a53),this[_0x1cc880(0x1f3)]=new _0xfa6f31(_0x28bfe7),this[_0x1cc880(0x1f3)][_0x1cc880(0x1ee)](this[_0x1cc880(0x1e2)]()),this[_0x1cc880(0x202)](_0x1cc880(0x1e5),_0x4a9ab0),this[_0x1cc880(0x1ee)]({'tag':_0x1cc880(0x1fd),'attributes':{'class':['ck',_0x1cc880(0x1e7),_0x1cc880(0x1f1)],'tabindex':'-1'},'children':this[_0x1cc880(0x1ca)]}),this[_0x1cc880(0x1d8)](),this[_0x1cc880(0x1f8)](_0x1cc880(0x1ce),()=>{const _0x1d80fb=_0x1cc880;this[_0x1d80fb(0x1eb)](this[_0x1d80fb(0x1d4)],_0x476cb1=>{const _0x4acd2e=_0x1d80fb;this[_0x4acd2e(0x1f9)](_0x476cb1);});}),this['on'](_0x1cc880(0x1e1),()=>{const _0x59f4b4=_0x1cc880;this[_0x59f4b4(0x1d8)]();}),this[_0x1cc880(0x1e8)]();}[_0x285e1b(0x1fb)](){const _0x1b340e=_0x285e1b;this[_0x1b340e(0x1d4)][_0x1b340e(0x1fb)]();}[_0x285e1b(0x1d8)](){const _0x36c2a7=_0x285e1b;switch(this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1f4)](),this[_0x36c2a7(0x1e5)]){case _0x36c2a7(0x1ff):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1db)](this[_0x36c2a7(0x1e3)]);break;case _0x36c2a7(0x1d0):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1db)](this[_0x36c2a7(0x1ea)]);break;case _0x36c2a7(0x1cf):this[_0x36c2a7(0x1ca)][_0x36c2a7(0x1ef)]([this[_0x36c2a7(0x1e0)],this[_0x36c2a7(0x1f3)]]);}}[_0x285e1b(0x1eb)](_0x2cbecb,_0x4b2e46){const _0x2b211f=_0x285e1b,_0x15bfb6=_0x2b211f(0x1d1),_0x1fb740=_0x2cbecb[_0x2b211f(0x1f7)](_0x15bfb6);if(_0x1fb740)return _0x4b2e46(_0x1fb740);const _0x415c18=new MutationObserver(_0x2c7752=>{const _0x22e925=_0x2b211f,_0x5fbfc2=_0x2c7752[_0x22e925(0x1cd)](_0xe695fe=>_0xe695fe[_0x22e925(0x1e6)]===_0x2cbecb&&_0xe695fe[_0x22e925(0x200)][_0x22e925(0x1f6)]>0x0&&_0xe695fe[_0x22e925(0x200)][0x0][_0x22e925(0x1d7)][_0x22e925(0x1f5)]()===_0x15bfb6);_0x5fbfc2[_0x22e925(0x1f6)]&&(_0x415c18[_0x22e925(0x203)](),_0x4b2e46(_0x5fbfc2[0x0][_0x22e925(0x200)][0x0]));});_0x415c18[_0x2b211f(0x1d2)](_0x2cbecb,{'childList':!0x0,'subtree':!0x0});}[_0x285e1b(0x1f9)](_0x128692){const _0x393ca5=_0x285e1b;_0x128692[_0x393ca5(0x1de)](_0x393ca5(0x1e4),_0x5f25c0=>{const _0x3434e9=_0x393ca5;this[_0x3434e9(0x1fc)](_0x3434e9(0x1e4),{'imageSrc':_0x5f25c0[_0x3434e9(0x1fe)][_0x3434e9(0x1d5)]});}),_0x128692[_0x393ca5(0x1de)](_0x393ca5(0x1d9),()=>{const _0x5c5aab=_0x393ca5;this[_0x5c5aab(0x1fc)](_0x5c5aab(0x1d9));});}[_0x285e1b(0x1e8)](){const _0x1a1245=_0x285e1b;this[_0x1a1245(0x1ea)]['on'](_0x1a1245(0x1cb),()=>{const _0x5efbe6=_0x1a1245;this[_0x5efbe6(0x1fc)](_0x5efbe6(0x1cb));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4494(_0x39dbad,_0x23a799){const _0x3ab414=_0x3ab4();return _0x4494=function(_0x44946c,_0x1ec512){_0x44946c=_0x44946c-0x196;let _0x309a92=_0x3ab414[_0x44946c];return _0x309a92;},_0x4494(_0x39dbad,_0x23a799);}const _0x5890a9=_0x4494;(function(_0x21681d,_0xaab87){const _0x54f4b5=_0x4494,_0x18d46b=_0x21681d();while(!![]){try{const _0x36929a=parseInt(_0x54f4b5(0x1b3))/0x1*(parseInt(_0x54f4b5(0x1aa))/0x2)+-parseInt(_0x54f4b5(0x19e))/0x3*(parseInt(_0x54f4b5(0x1ac))/0x4)+-parseInt(_0x54f4b5(0x1b7))/0x5+-parseInt(_0x54f4b5(0x1a9))/0x6*(-parseInt(_0x54f4b5(0x1a1))/0x7)+parseInt(_0x54f4b5(0x1ab))/0x8*(-parseInt(_0x54f4b5(0x1b0))/0x9)+-parseInt(_0x54f4b5(0x196))/0xa*(-parseInt(_0x54f4b5(0x1a8))/0xb)+-parseInt(_0x54f4b5(0x1a5))/0xc*(parseInt(_0x54f4b5(0x19f))/0xd);if(_0x36929a===_0xaab87)break;else _0x18d46b['push'](_0x18d46b['shift']());}catch(_0x1b6071){_0x18d46b['push'](_0x18d46b['shift']());}}}(_0x3ab4,0x1a1d5));function _0x3ab4(){const _0x33652e=['isActive','selection','imageInline','set','_isEditable','unbind','document','265935TdPLRt','3055qFtkfu','plugins','101157okJfiv','isEnabled','imageEditController','refresh','5676gRcnTw','requires','imageBlock','185075PujHEZ','72VXxtnf','48YtHdty','8nKVwfO','8DRNXwT','execute','model','get','195813vCzDHH','getSelectedElement','editor','2691qZjpYr','bind','uploadcare.allowExternalImagesEditing','config','113645JjIvPh','element','120nkoYlB'];_0x3ab4=function(){return _0x33652e;};return _0x3ab4();}import{Command as _0x226bc3}from'ckeditor5/src/core.js';import{Dialog as _0x1d2286}from'ckeditor5/src/ui.js';import _0x448069 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x25f833}from'../utils/editingutils.js';export default class J extends _0x226bc3{[_0x5890a9(0x1a3)];static get[_0x5890a9(0x1a6)](){return[_0x1d2286];}[_0x5890a9(0x19b)];constructor(_0x265c31){const _0x4b93af=_0x5890a9;super(_0x265c31),this[_0x4b93af(0x1a3)]=void 0x0,this[_0x4b93af(0x19b)]=_0x25f833(_0x265c31[_0x4b93af(0x1b6)][_0x4b93af(0x1af)](_0x4b93af(0x1b5))||[]),this[_0x4b93af(0x19a)]({'isActive':!0x1});}[_0x5890a9(0x1a4)](){const _0x4b5962=_0x5890a9,_0x384bbf=this[_0x4b5962(0x1b2)][_0x4b5962(0x1ae)][_0x4b5962(0x19d)][_0x4b5962(0x198)][_0x4b5962(0x1b1)]();this[_0x4b5962(0x1a2)]=this[_0x4b5962(0x19b)](_0x384bbf);}[_0x5890a9(0x1ad)](){const _0x4acca5=_0x5890a9;this[_0x4acca5(0x1a3)]&&(this[_0x4acca5(0x19c)](_0x4acca5(0x197)),this[_0x4acca5(0x1a3)]=void 0x0);const _0x59856a=this[_0x4acca5(0x1b2)][_0x4acca5(0x1ae)][_0x4acca5(0x19d)][_0x4acca5(0x198)][_0x4acca5(0x1b1)]();_0x59856a&&(_0x59856a['is'](_0x4acca5(0x1b8),_0x4acca5(0x1a7))||_0x59856a['is'](_0x4acca5(0x1b8),_0x4acca5(0x199)))&&(this[_0x4acca5(0x1a3)]=new _0x448069(this[_0x4acca5(0x1b2)],this[_0x4acca5(0x1b2)][_0x4acca5(0x1a0)][_0x4acca5(0x1af)](_0x1d2286),_0x59856a),this[_0x4acca5(0x1b4)](_0x4acca5(0x197))['to'](this[_0x4acca5(0x1a3)],_0x4acca5(0x197)));}}
23
+ const _0x204629=_0x402f;function _0x1551(){const _0x13d155=['config','bind','12PJztmI','isActive','isEnabled','editor','execute','_isEditable','20AYkMLU','176376TUpZPG','document','imageEditController','model','444692ANRNGv','16EbGoYZ','get','refresh','4074870oAFgeD','4KOmDyZ','requires','1429572ERfUMl','499941QjJShs','imageInline','selection','114107kfxxhb','790735lPcWCg','getSelectedElement','1606hheeHL','element','plugins','set','uploadcare.allowExternalImagesEditing','imageBlock','unbind'];_0x1551=function(){return _0x13d155;};return _0x1551();}(function(_0x37cf2e,_0x367927){const _0x2bec29=_0x402f,_0xd24eae=_0x37cf2e();while(!![]){try{const _0x4b2496=parseInt(_0x2bec29(0x86))/0x1+parseInt(_0x2bec29(0x8b))/0x2*(-parseInt(_0x2bec29(0x8d))/0x3)+parseInt(_0x2bec29(0x81))/0x4*(-parseInt(_0x2bec29(0x92))/0x5)+-parseInt(_0x2bec29(0x7b))/0x6*(parseInt(_0x2bec29(0x91))/0x7)+-parseInt(_0x2bec29(0x87))/0x8*(-parseInt(_0x2bec29(0x8e))/0x9)+-parseInt(_0x2bec29(0x8a))/0xa+-parseInt(_0x2bec29(0x94))/0xb*(-parseInt(_0x2bec29(0x82))/0xc);if(_0x4b2496===_0x367927)break;else _0xd24eae['push'](_0xd24eae['shift']());}catch(_0x323e1f){_0xd24eae['push'](_0xd24eae['shift']());}}}(_0x1551,0x7e6c2));import{Command as _0x4b6cef}from'ckeditor5/src/core.js';import{Dialog as _0x5aedaf}from'ckeditor5/src/ui.js';function _0x402f(_0x444440,_0x288048){const _0x155199=_0x1551();return _0x402f=function(_0x402f0b,_0x13ed1a){_0x402f0b=_0x402f0b-0x79;let _0x354cc1=_0x155199[_0x402f0b];return _0x354cc1;},_0x402f(_0x444440,_0x288048);}import _0x56f4bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x542921}from'../utils/editingutils.js';export default class J extends _0x4b6cef{[_0x204629(0x84)];static get[_0x204629(0x8c)](){return[_0x5aedaf];}[_0x204629(0x80)];constructor(_0x271838){const _0x468221=_0x204629;super(_0x271838),this[_0x468221(0x84)]=void 0x0,this[_0x468221(0x80)]=_0x542921(_0x271838[_0x468221(0x79)][_0x468221(0x88)](_0x468221(0x98))||[]),this[_0x468221(0x97)]({'isActive':!0x1});}[_0x204629(0x89)](){const _0x3505a7=_0x204629,_0x18508f=this[_0x3505a7(0x7e)][_0x3505a7(0x85)][_0x3505a7(0x83)][_0x3505a7(0x90)][_0x3505a7(0x93)]();this[_0x3505a7(0x7d)]=this[_0x3505a7(0x80)](_0x18508f);}[_0x204629(0x7f)](){const _0x3bebaa=_0x204629;this[_0x3bebaa(0x84)]&&(this[_0x3bebaa(0x9a)](_0x3bebaa(0x7c)),this[_0x3bebaa(0x84)]=void 0x0);const _0x2441f0=this[_0x3bebaa(0x7e)][_0x3bebaa(0x85)][_0x3bebaa(0x83)][_0x3bebaa(0x90)][_0x3bebaa(0x93)]();_0x2441f0&&(_0x2441f0['is'](_0x3bebaa(0x95),_0x3bebaa(0x99))||_0x2441f0['is'](_0x3bebaa(0x95),_0x3bebaa(0x8f)))&&(this[_0x3bebaa(0x84)]=new _0x56f4bc(this[_0x3bebaa(0x7e)],this[_0x3bebaa(0x7e)][_0x3bebaa(0x96)][_0x3bebaa(0x88)](_0x5aedaf),_0x2441f0),this[_0x3bebaa(0x7a)](_0x3bebaa(0x7c))['to'](this[_0x3bebaa(0x84)],_0x3bebaa(0x7c)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x226d80=_0x5f45;function _0x4dc7(){const _0x430647=['80116MdYokP','add','ImageEditing','247221zfepuM','isPremiumPlugin','commands','476COXnuZ','init','539073GwoFlC','8877YOLlRl','pluginName','uploadcareImageReplace','uploadcareImageEdit','363582ZjpoKP','6420IcxRxU','isOfficialPlugin','21RyDeqa','ImageUtils','40mAgQUB','requires','6354560mpTNBN','UploadcareImageEditEditing','17514GLCRAw'];_0x4dc7=function(){return _0x430647;};return _0x4dc7();}(function(_0x406046,_0x137b7e){const _0x272ad5=_0x5f45,_0x574ddc=_0x406046();while(!![]){try{const _0x532cdc=-parseInt(_0x272ad5(0x11a))/0x1+parseInt(_0x272ad5(0x10d))/0x2+parseInt(_0x272ad5(0x110))/0x3*(parseInt(_0x272ad5(0x117))/0x4)+parseInt(_0x272ad5(0x114))/0x5+parseInt(_0x272ad5(0x116))/0x6*(parseInt(_0x272ad5(0x11d))/0x7)+-parseInt(_0x272ad5(0x112))/0x8*(parseInt(_0x272ad5(0x11f))/0x9)+-parseInt(_0x272ad5(0x10e))/0xa*(parseInt(_0x272ad5(0x120))/0xb);if(_0x532cdc===_0x137b7e)break;else _0x574ddc['push'](_0x574ddc['shift']());}catch(_0x16d21f){_0x574ddc['push'](_0x574ddc['shift']());}}}(_0x4dc7,0xb1646));import{Plugin as _0x5195ca}from'ckeditor5/src/core.js';import{Notification as _0x24bbe5}from'ckeditor5/src/ui.js';import _0x479efd from'./uploadcareimageeditcommand.js';import _0x28e0ad from'./uploadcareimagereplacecommand.js';function _0x5f45(_0x5ece21,_0x5c3830){const _0x4dc784=_0x4dc7();return _0x5f45=function(_0x5f45ea,_0x3e6f18){_0x5f45ea=_0x5f45ea-0x10d;let _0x4b5cbc=_0x4dc784[_0x5f45ea];return _0x4b5cbc;},_0x5f45(_0x5ece21,_0x5c3830);}import _0x312639 from'../uploadcareediting.js';export default class g extends _0x5195ca{static get[_0x226d80(0x121)](){const _0x5b274e=_0x226d80;return _0x5b274e(0x115);}static get[_0x226d80(0x113)](){const _0x345b0f=_0x226d80;return[_0x312639,_0x24bbe5,_0x345b0f(0x111),_0x345b0f(0x119)];}static get[_0x226d80(0x10f)](){return!0x0;}static get[_0x226d80(0x11b)](){return!0x0;}[_0x226d80(0x11e)](){const _0x247eeb=_0x226d80,{editor:_0x37e40d}=this;_0x37e40d[_0x247eeb(0x11c)][_0x247eeb(0x118)](_0x247eeb(0x123),new _0x479efd(_0x37e40d)),_0x37e40d[_0x247eeb(0x11c)][_0x247eeb(0x118)](_0x247eeb(0x122),new _0x28e0ad(_0x37e40d));}}
23
+ const _0x513dbc=_0x5c61;function _0x5c61(_0x466034,_0xe63cb8){const _0x1da4bc=_0x1da4();return _0x5c61=function(_0x5c61cc,_0x1ae1b1){_0x5c61cc=_0x5c61cc-0xa5;let _0x49962a=_0x1da4bc[_0x5c61cc];return _0x49962a;},_0x5c61(_0x466034,_0xe63cb8);}(function(_0x5d7cc3,_0x3425a2){const _0x305802=_0x5c61,_0x5e2f35=_0x5d7cc3();while(!![]){try{const _0x4953bc=-parseInt(_0x305802(0xb3))/0x1*(parseInt(_0x305802(0xba))/0x2)+-parseInt(_0x305802(0xab))/0x3*(-parseInt(_0x305802(0xb4))/0x4)+-parseInt(_0x305802(0xb7))/0x5+-parseInt(_0x305802(0xb6))/0x6+parseInt(_0x305802(0xa8))/0x7+parseInt(_0x305802(0xb8))/0x8*(-parseInt(_0x305802(0xac))/0x9)+-parseInt(_0x305802(0xa5))/0xa*(-parseInt(_0x305802(0xbb))/0xb);if(_0x4953bc===_0x3425a2)break;else _0x5e2f35['push'](_0x5e2f35['shift']());}catch(_0x50dbf9){_0x5e2f35['push'](_0x5e2f35['shift']());}}}(_0x1da4,0x6e57b));import{Plugin as _0x2567ce}from'ckeditor5/src/core.js';import{Notification as _0xb85978}from'ckeditor5/src/ui.js';function _0x1da4(){const _0x28a96c=['5nLTtuI','3299748alBgVV','add','1231770FxNbAl','2650520dRfqie','1372592yPPQGr','init','243766kTMivT','3546257jFgYXh','10vHCTEt','requires','isPremiumPlugin','5747189tCUvhz','ImageEditing','isOfficialPlugin','3SdZzFO','9UmmSqF','UploadcareImageEditEditing','pluginName','commands','ImageUtils','uploadcareImageReplace','uploadcareImageEdit'];_0x1da4=function(){return _0x28a96c;};return _0x1da4();}import _0x1e7b91 from'./uploadcareimageeditcommand.js';import _0x976ba from'./uploadcareimagereplacecommand.js';import _0x24ac26 from'../uploadcareediting.js';export default class g extends _0x2567ce{static get[_0x513dbc(0xae)](){const _0x1410cd=_0x513dbc;return _0x1410cd(0xad);}static get[_0x513dbc(0xa6)](){const _0x2df34c=_0x513dbc;return[_0x24ac26,_0xb85978,_0x2df34c(0xb0),_0x2df34c(0xa9)];}static get[_0x513dbc(0xaa)](){return!0x0;}static get[_0x513dbc(0xa7)](){return!0x0;}[_0x513dbc(0xb9)](){const _0x3e3bba=_0x513dbc,{editor:_0x2f5dc8}=this;_0x2f5dc8[_0x3e3bba(0xaf)][_0x3e3bba(0xb5)](_0x3e3bba(0xb2),new _0x1e7b91(_0x2f5dc8)),_0x2f5dc8[_0x3e3bba(0xaf)][_0x3e3bba(0xb5)](_0x3e3bba(0xb1),new _0x976ba(_0x2f5dc8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x19bd3c}from'ckeditor5/src/core.js';import{ButtonView as _0x5322cf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d5d43}from'ckeditor5/src/icons.js';import{createElement as _0x274123}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x19bd3c{['_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 _0x31cefe=this['editor'];_0x31cefe['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2991f7=>{const _0x4d5aa9=_0x31cefe['commands']['get']('uploadcareImageEdit'),_0x2ba973=new _0x5322cf(_0x2991f7),t=_0x2991f7['t'];return _0x2ba973['set']({'icon':_0x4d5d43,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2ba973['bind']('isEnabled')['to'](_0x4d5aa9),_0x2ba973['bind']('isOn')['to'](_0x4d5aa9,'isActive'),this['listenTo'](_0x2ba973,'execute',()=>{_0x31cefe['execute']('uploadcareImageEdit'),_0x31cefe['editing']['view']['focus']();}),_0x2ba973;}),this['_initConfig']();}['_initConfig'](){const _0x3c6363=_0x274123(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c6363),this['listenTo'](this['editor'],'destroy',()=>{_0x3c6363['remove']();});}}
23
+ import{Plugin as _0x1a1101}from'ckeditor5/src/core.js';import{ButtonView as _0x5ed3cb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x175300}from'ckeditor5/src/icons.js';import{createElement as _0x59fc36}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1a1101{['_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 _0x2435ac=this['editor'];_0x2435ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x36b372=>{const _0x1f3c30=_0x2435ac['commands']['get']('uploadcareImageEdit'),_0x492c43=new _0x5ed3cb(_0x36b372),t=_0x36b372['t'];return _0x492c43['set']({'icon':_0x175300,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x492c43['bind']('isEnabled')['to'](_0x1f3c30),_0x492c43['bind']('isOn')['to'](_0x1f3c30,'isActive'),this['listenTo'](_0x492c43,'execute',()=>{_0x2435ac['execute']('uploadcareImageEdit'),_0x2435ac['editing']['view']['focus']();}),_0x492c43;}),this['_initConfig']();}['_initConfig'](){const _0x5e1b8e=_0x59fc36(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e1b8e),this['listenTo'](this['editor'],'destroy',()=>{_0x5e1b8e['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x173c10=_0x3a2a;(function(_0x1bdb8e,_0x30372a){const _0x3efab=_0x3a2a,_0x144b65=_0x1bdb8e();while(!![]){try{const _0x57fc8c=-parseInt(_0x3efab(0x84))/0x1+parseInt(_0x3efab(0x94))/0x2*(parseInt(_0x3efab(0x80))/0x3)+-parseInt(_0x3efab(0x98))/0x4+parseInt(_0x3efab(0x8e))/0x5*(-parseInt(_0x3efab(0x85))/0x6)+-parseInt(_0x3efab(0x8c))/0x7+-parseInt(_0x3efab(0x91))/0x8*(-parseInt(_0x3efab(0x86))/0x9)+parseInt(_0x3efab(0x89))/0xa;if(_0x57fc8c===_0x30372a)break;else _0x144b65['push'](_0x144b65['shift']());}catch(_0x229bf4){_0x144b65['push'](_0x144b65['shift']());}}}(_0x4672,0xd8e80));function _0x3a2a(_0x3f340c,_0x299023){const _0x4672a2=_0x4672();return _0x3a2a=function(_0x3a2ae1,_0x5c3df4){_0x3a2ae1=_0x3a2ae1-0x80;let _0x4e269b=_0x4672a2[_0x3a2ae1];return _0x4e269b;},_0x3a2a(_0x3f340c,_0x299023);}import{Command as _0x189baa}from'ckeditor5/src/core.js';function _0x4672(){const _0x296a09=['refresh','change','1747113DkZxvN','6FCSiql','1462743ilVXNK','model','setAttributes','56475210OXfYpE','getSelectedElement','imageBlock','12381236GedBGA','removeAttribute','6299735XqxYol','srcset','selection','56nmFDhp','imageInline','sizes','10CmdTwb','isEnabled','document','execute','5946936OhHDGL','editor','219468oMXaxd','element'];_0x4672=function(){return _0x296a09;};return _0x4672();}export default class O extends _0x189baa{[_0x173c10(0x82)](){const _0x49f187=_0x173c10,_0x245d47=this[_0x49f187(0x99)][_0x49f187(0x87)][_0x49f187(0x96)][_0x49f187(0x90)][_0x49f187(0x8a)]();this[_0x49f187(0x95)]=Boolean(_0x245d47&&(_0x245d47['is'](_0x49f187(0x81),_0x49f187(0x8b))||_0x245d47['is'](_0x49f187(0x81),_0x49f187(0x92))));}[_0x173c10(0x97)](_0x3ded5a){const _0xbb59ce=_0x173c10,_0x5e2f0f=this[_0xbb59ce(0x99)][_0xbb59ce(0x87)][_0xbb59ce(0x96)][_0xbb59ce(0x90)][_0xbb59ce(0x8a)]();this[_0xbb59ce(0x99)][_0xbb59ce(0x87)][_0xbb59ce(0x83)](_0x19225a=>{const _0x1d2684=_0xbb59ce;_0x19225a[_0x1d2684(0x88)](_0x3ded5a,_0x5e2f0f),_0x19225a[_0x1d2684(0x8d)](_0x1d2684(0x8f),_0x5e2f0f),_0x19225a[_0x1d2684(0x8d)](_0x1d2684(0x93),_0x5e2f0f);});}}
23
+ const _0x513634=_0x5a89;(function(_0x1552df,_0x19fb4d){const _0x404b0a=_0x5a89,_0x44b73e=_0x1552df();while(!![]){try{const _0x39225d=parseInt(_0x404b0a(0x171))/0x1*(parseInt(_0x404b0a(0x172))/0x2)+parseInt(_0x404b0a(0x17b))/0x3+parseInt(_0x404b0a(0x181))/0x4*(-parseInt(_0x404b0a(0x178))/0x5)+-parseInt(_0x404b0a(0x17f))/0x6*(-parseInt(_0x404b0a(0x179))/0x7)+parseInt(_0x404b0a(0x174))/0x8*(-parseInt(_0x404b0a(0x183))/0x9)+-parseInt(_0x404b0a(0x176))/0xa+parseInt(_0x404b0a(0x16d))/0xb;if(_0x39225d===_0x19fb4d)break;else _0x44b73e['push'](_0x44b73e['shift']());}catch(_0x206766){_0x44b73e['push'](_0x44b73e['shift']());}}}(_0x59cd,0x2919f));import{Command as _0x3ee697}from'ckeditor5/src/core.js';function _0x5a89(_0x55e5de,_0x1518ad){const _0x59cdd3=_0x59cd();return _0x5a89=function(_0x5a89f2,_0x89aa22){_0x5a89f2=_0x5a89f2-0x16c;let _0x458549=_0x59cdd3[_0x5a89f2];return _0x458549;},_0x5a89(_0x55e5de,_0x1518ad);}function _0x59cd(){const _0x3da042=['49qAvmWa','refresh','260313XCSoFU','editor','isEnabled','document','116634avZgZR','model','16gqLNYH','setAttributes','252fBapdE','selection','change','removeAttribute','imageBlock','2148399hbsHPd','imageInline','element','execute','4PewXBG','131624jpaFFl','srcset','83888kvpMpX','sizes','528540ceIzaM','getSelectedElement','208235mVzzAm'];_0x59cd=function(){return _0x3da042;};return _0x59cd();}export default class O extends _0x3ee697{[_0x513634(0x17a)](){const _0x3d3118=_0x513634,_0x15901a=this[_0x3d3118(0x17c)][_0x3d3118(0x180)][_0x3d3118(0x17e)][_0x3d3118(0x184)][_0x3d3118(0x177)]();this[_0x3d3118(0x17d)]=Boolean(_0x15901a&&(_0x15901a['is'](_0x3d3118(0x16f),_0x3d3118(0x16c))||_0x15901a['is'](_0x3d3118(0x16f),_0x3d3118(0x16e))));}[_0x513634(0x170)](_0x4f15ee){const _0x2e6468=_0x513634,_0x3bba53=this[_0x2e6468(0x17c)][_0x2e6468(0x180)][_0x2e6468(0x17e)][_0x2e6468(0x184)][_0x2e6468(0x177)]();this[_0x2e6468(0x17c)][_0x2e6468(0x180)][_0x2e6468(0x185)](_0x5ceeb4=>{const _0x3aef36=_0x2e6468;_0x5ceeb4[_0x3aef36(0x182)](_0x4f15ee,_0x3bba53),_0x5ceeb4[_0x3aef36(0x186)](_0x3aef36(0x173),_0x3bba53),_0x5ceeb4[_0x3aef36(0x186)](_0x3aef36(0x175),_0x3bba53);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x436f(){var _0x352d11=['6156040cXVmkk','4189255puvvIr','1570mycLji','2QSZYGq','1812DaxEfL','21yctpBl','isOfficialPlugin','pluginName','isPremiumPlugin','8xsSZpQ','605558ObwMQG','5046FGzUBA','254512ernLKD','UploadcareImageEdit','requires','102993cIijmw','5600295MyDvUE'];_0x436f=function(){return _0x352d11;};return _0x436f();}var _0x10bf3d=_0x1937;(function(_0x275425,_0x18e046){var _0x22e8d3=_0x1937,_0xfefa7d=_0x275425();while(!![]){try{var _0x50ea26=-parseInt(_0x22e8d3(0x1b6))/0x1*(parseInt(_0x22e8d3(0x1af))/0x2)+parseInt(_0x22e8d3(0x1b1))/0x3*(parseInt(_0x22e8d3(0x1b8))/0x4)+-parseInt(_0x22e8d3(0x1ae))/0x5*(parseInt(_0x22e8d3(0x1b7))/0x6)+parseInt(_0x22e8d3(0x1ad))/0x7*(-parseInt(_0x22e8d3(0x1b5))/0x8)+-parseInt(_0x22e8d3(0x1ab))/0x9+parseInt(_0x22e8d3(0x1ac))/0xa+parseInt(_0x22e8d3(0x1bb))/0xb*(parseInt(_0x22e8d3(0x1b0))/0xc);if(_0x50ea26===_0x18e046)break;else _0xfefa7d['push'](_0xfefa7d['shift']());}catch(_0x18b1e0){_0xfefa7d['push'](_0xfefa7d['shift']());}}}(_0x436f,0x5ddcd));function _0x1937(_0x2b0586,_0x4106e9){var _0x436f9c=_0x436f();return _0x1937=function(_0x19378d,_0x49ff24){_0x19378d=_0x19378d-0x1ab;var _0x2eece5=_0x436f9c[_0x19378d];return _0x2eece5;},_0x1937(_0x2b0586,_0x4106e9);}import{Plugin as _0x4af325}from'ckeditor5/src/core.js';import _0x3503ec from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x117e1f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x4af325{static get[_0x10bf3d(0x1b3)](){var _0x544384=_0x10bf3d;return _0x544384(0x1b9);}static get[_0x10bf3d(0x1ba)](){return[_0x3503ec,_0x117e1f];}static get[_0x10bf3d(0x1b2)](){return!0x0;}static get[_0x10bf3d(0x1b4)](){return!0x0;}}
23
+ var _0x4c8067=_0x3e2f;(function(_0x4b9084,_0x48605e){var _0x5b42d7=_0x3e2f,_0x3e46cd=_0x4b9084();while(!![]){try{var _0x4a2a73=-parseInt(_0x5b42d7(0x104))/0x1+parseInt(_0x5b42d7(0x100))/0x2*(-parseInt(_0x5b42d7(0x103))/0x3)+-parseInt(_0x5b42d7(0x105))/0x4*(parseInt(_0x5b42d7(0x10d))/0x5)+-parseInt(_0x5b42d7(0x101))/0x6*(parseInt(_0x5b42d7(0x107))/0x7)+-parseInt(_0x5b42d7(0x10e))/0x8*(parseInt(_0x5b42d7(0xfe))/0x9)+-parseInt(_0x5b42d7(0x10a))/0xa*(parseInt(_0x5b42d7(0x102))/0xb)+parseInt(_0x5b42d7(0x109))/0xc;if(_0x4a2a73===_0x48605e)break;else _0x3e46cd['push'](_0x3e46cd['shift']());}catch(_0x5c5c9f){_0x3e46cd['push'](_0x3e46cd['shift']());}}}(_0x5b83,0xdaa98));function _0x5b83(){var _0x578908=['806668gpDdWR','requires','98AvGuMK','isOfficialPlugin','73025376EfEVxl','91400jApYVZ','pluginName','isPremiumPlugin','5bkEMwq','8jscWbP','6471018oNgvQO','UploadcareImageEdit','8958bCufkk','425112RcybCh','407ZutsZU','1149VcDtYV','1223574NWISep'];_0x5b83=function(){return _0x578908;};return _0x5b83();}import{Plugin as _0xb8836d}from'ckeditor5/src/core.js';import _0x515e0a from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x59ed5e from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3e2f(_0xa2c070,_0x2aa895){var _0x5b8318=_0x5b83();return _0x3e2f=function(_0x3e2f03,_0x1d9b89){_0x3e2f03=_0x3e2f03-0xfe;var _0x4c50e5=_0x5b8318[_0x3e2f03];return _0x4c50e5;},_0x3e2f(_0xa2c070,_0x2aa895);}export default class P extends _0xb8836d{static get[_0x4c8067(0x10b)](){var _0x409908=_0x4c8067;return _0x409908(0xff);}static get[_0x4c8067(0x106)](){return[_0x515e0a,_0x59ed5e];}static get[_0x4c8067(0x108)](){return!0x0;}static get[_0x4c8067(0x10c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ab68=_0x2fe6;(function(_0x488bfe,_0x237fc5){const _0x14400e=_0x2fe6,_0x5e0711=_0x488bfe();while(!![]){try{const _0x55f61f=-parseInt(_0x14400e(0x116))/0x1+-parseInt(_0x14400e(0x149))/0x2+parseInt(_0x14400e(0x140))/0x3+parseInt(_0x14400e(0x148))/0x4+parseInt(_0x14400e(0x130))/0x5+-parseInt(_0x14400e(0x132))/0x6*(-parseInt(_0x14400e(0x135))/0x7)+parseInt(_0x14400e(0x10b))/0x8;if(_0x55f61f===_0x237fc5)break;else _0x5e0711['push'](_0x5e0711['shift']());}catch(_0x387bc5){_0x5e0711['push'](_0x5e0711['shift']());}}}(_0x4e1e,0xafc7c));import{Plugin as _0x47ec31}from'ckeditor5/src/core.js';import{IconDropbox as _0xcb343f,IconFacebook as _0x29a461,IconGoogleDrive as _0x3b25e6,IconGooglePhotos as _0x245c31,IconUploadcareImageUpload as _0x1c5e28,IconUploadcareLink as _0x54962c,IconOneDrive as _0x2bec9c}from'ckeditor5/src/icons.js';function _0x2fe6(_0xb405b7,_0x22fd52){const _0x4e1eb9=_0x4e1e();return _0x2fe6=function(_0x2fe688,_0x14354e){_0x2fe688=_0x2fe688-0xfb;let _0x1ad92d=_0x4e1eb9[_0x2fe688];return _0x1ad92d;},_0x2fe6(_0xb405b7,_0x22fd52);}import{ButtonView as _0x2b692b,MenuBarMenuListItemButtonView as _0x4c7fb7}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x561c2d}from'./uploadcareconfig.js';import{getTranslation as _0x562cdd}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4e1e(){const _0x40a911=['uploadcareLicenseKeyExpired','registerIntegration','_createToolbarButton','_createButton','tooltip','uploadcareLicenseKeyNotAllowed','2082310egQqDm','assetManager','12MxkyPa','Insert','editor','2659972mXrvQF','uploadcareLicenseKeyEvaluationLimit','_getIntegrationKey','get','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','shortText','featureNotAllowed','url','isOfficialPlugin','Facebook','287565EokEsl','uploadcare.uploader.sourceList','Local','init','usageLimit','config','entries','uploadcareLicenseKeyUsageLimit','2698428ZBMGJQ','2514824DLDJCS','type','UploadcareUI','locale','isEnabled','domainLimit','text','icon','_showLicenseError','Dropbox','afterInit','invalid','GPhotos','map','_licenseKeyCheckInterval','withText','isImageSelected','2079296RJkimt','destroy','ImageInsertUI','commands','uploadcareLicenseKeyTrialLimit','_createDropdownButtons','uploadcare','trialLimit','has','plugins','upload','229420cIPNIn','bind','uploadcareLicenseKeyInvalid','execute','forEach','push','label','pluginName','reduce','uploadcareLicenseKeyValid','expired','URL','licenseKey','Uploadcare','evaluationLimit','GDrive','_createMenuBarButtons','Replace','isPremiumPlugin','OneDrive'];_0x4e1e=function(){return _0x40a911;};return _0x4e1e();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x47ec31{[_0x22ab68(0x122)];[_0x22ab68(0x108)];static get[_0x22ab68(0x11d)](){const _0x1ede9c=_0x22ab68;return _0x1ede9c(0xfc);}static get[_0x22ab68(0x13e)](){return!0x0;}static get[_0x22ab68(0x128)](){return!0x0;}[_0x22ab68(0x143)](){const _0x335f9b=_0x22ab68;this[_0x335f9b(0x122)]=this[_0x335f9b(0x134)][_0x335f9b(0x145)][_0x335f9b(0x138)](_0x335f9b(0x122));const _0x1bf935=this[_0x335f9b(0x134)];this[_0x335f9b(0x108)]=setInterval(()=>{const _0x30c3f7=_0x335f9b;let _0x1d996e;for(const _0x1dff39 in _0x1bf935){const _0x110618=_0x1dff39,_0x1736ff=_0x1bf935[_0x110618];if(_0x30c3f7(0x11f)==_0x1736ff||_0x30c3f7(0x118)==_0x1736ff||_0x30c3f7(0x12a)==_0x1736ff||_0x30c3f7(0x139)==_0x1736ff||_0x30c3f7(0x12f)==_0x1736ff||_0x30c3f7(0x136)==_0x1736ff||_0x30c3f7(0x10f)==_0x1736ff||_0x30c3f7(0x147)==_0x1736ff){delete _0x1bf935[_0x110618],_0x1d996e=_0x1736ff,clearInterval(this[_0x30c3f7(0x108)]),this[_0x30c3f7(0x108)]=void 0x0;break;}}_0x30c3f7(0x118)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x105)),_0x30c3f7(0x12a)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x120)),_0x30c3f7(0x139)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0xff)),_0x30c3f7(0x12f)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x13c),_0x30c3f7(0x123)),_0x30c3f7(0x136)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x124)),_0x30c3f7(0x10f)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x112)),_0x30c3f7(0x147)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x144));},0x3e8);}[_0x22ab68(0x104)](){const _0x5990a0=_0x22ab68,{editor:_0x5048db}=this,_0x3f39e2=_0x5048db[_0x5990a0(0x10e)][_0x5990a0(0x138)](_0x5990a0(0x111));if(!_0x3f39e2)return;const _0x92c95c=this[_0x5990a0(0x13a)](_0x5048db[_0x5990a0(0x145)][_0x5990a0(0x138)](_0x5990a0(0x141)))[_0x5990a0(0x11e)]((_0x2e1354,_0xefbcce)=>{const _0x6b2044=_0x5990a0,_0xaa48fd=this[_0x6b2044(0x137)](_0xefbcce[_0x6b2044(0xfb)]);return _0x2e1354[_0xaa48fd]||(_0x2e1354[_0xaa48fd]=[]),_0x2e1354[_0xaa48fd][_0x6b2044(0x11b)](_0xefbcce),_0x2e1354;},{});_0x5048db[_0x5990a0(0x114)][_0x5990a0(0x113)](_0x5990a0(0x10d))&&_0x5048db[_0x5990a0(0x10e)][_0x5990a0(0x138)](_0x5990a0(0x111))&&Object[_0x5990a0(0x146)](_0x92c95c)[_0x5990a0(0x11a)](([_0x4426da,_0x240377])=>{const _0xf6035=_0x5990a0;_0x5048db[_0xf6035(0x114)][_0xf6035(0x138)](_0xf6035(0x10d))[_0xf6035(0x12b)]({'name':_0x4426da,'observable':()=>_0x3f39e2,'buttonViewCreator':()=>this[_0xf6035(0x12c)](_0x240377),'formViewCreator':()=>this[_0xf6035(0x110)](_0x240377),'menuBarButtonViewCreator':()=>this[_0xf6035(0x126)](_0x240377),'override':_0xf6035(0x131)!==_0x4426da});});}[_0x22ab68(0x10c)](){const _0x1f4080=_0x22ab68;super[_0x1f4080(0x10c)](),this[_0x1f4080(0x108)]&&clearInterval(this[_0x1f4080(0x108)]);}[_0x22ab68(0x13a)](_0x146a73){const _0x5792a7=_0x22ab68,{locale:_0xf2c540}=this[_0x5792a7(0x134)];return _0x146a73[_0x5792a7(0x107)](_0x28f07f=>{const _0x4b04c0=_0x5792a7,_0x525562=_0x562cdd(_0xf2c540,_0x28f07f,_0x4b04c0(0x133));switch(_0x28f07f){case _0x561c2d[_0x4b04c0(0x142)]:return{'icon':_0x1c5e28,'type':_0x561c2d[_0x4b04c0(0x142)],..._0x525562};case _0x561c2d[_0x4b04c0(0x121)]:return{'icon':_0x54962c,'type':_0x561c2d[_0x4b04c0(0x121)],..._0x525562};case _0x561c2d[_0x4b04c0(0x103)]:return{'icon':_0xcb343f,'type':_0x561c2d[_0x4b04c0(0x103)],..._0x525562};case _0x561c2d[_0x4b04c0(0x13f)]:return{'icon':_0x29a461,'type':_0x561c2d[_0x4b04c0(0x13f)],..._0x525562};case _0x561c2d[_0x4b04c0(0x125)]:return{'icon':_0x3b25e6,'type':_0x561c2d[_0x4b04c0(0x125)],..._0x525562};case _0x561c2d[_0x4b04c0(0x106)]:return{'icon':_0x245c31,'type':_0x561c2d[_0x4b04c0(0x106)],..._0x525562};case _0x561c2d[_0x4b04c0(0x129)]:return{'icon':_0x2bec9c,'type':_0x561c2d[_0x4b04c0(0x129)],..._0x525562};}});}[_0x22ab68(0x137)](_0x392a34){const _0x2e0694=_0x22ab68;switch(_0x392a34){case _0x561c2d[_0x2e0694(0x142)]:return _0x2e0694(0x115);case _0x561c2d[_0x2e0694(0x121)]:return _0x2e0694(0x13d);default:return _0x2e0694(0x131);}}[_0x22ab68(0x12d)](_0xa4f1dc,_0x32f5af){const _0x2ab85d=_0x22ab68,_0x3972f1=this[_0x2ab85d(0x134)],_0x556f8b=new _0xa4f1dc(_0x3972f1[_0x2ab85d(0xfd)]),_0x5eb287=_0x3972f1[_0x2ab85d(0x10e)][_0x2ab85d(0x138)](_0x2ab85d(0x111));return _0x556f8b[_0x2ab85d(0x117)](_0x2ab85d(0xfe))['to'](_0x5eb287),_0x556f8b['on'](_0x2ab85d(0x119),()=>{const _0x5f3a1e=_0x2ab85d;_0x5eb287[_0x5f3a1e(0x119)](_0x32f5af);}),_0x556f8b;}[_0x22ab68(0x12c)](_0x4402e2){const _0x52db09=_0x22ab68,{locale:_0x5d5e7d}=this[_0x52db09(0x134)],_0x70d637=this[_0x52db09(0x134)][_0x52db09(0x114)][_0x52db09(0x138)](_0x52db09(0x10d)),_0x482b79=_0x4402e2[0x0],_0x3b732c=this[_0x52db09(0x12d)](_0x2b692b,_0x482b79[_0x52db09(0xfb)]);return _0x3b732c[_0x52db09(0x101)]=_0x482b79[_0x52db09(0x101)],_0x3b732c[_0x52db09(0x117)](_0x52db09(0x11c))['to'](_0x70d637,_0x52db09(0x10a),_0x547e30=>_0x562cdd(_0x5d5e7d,_0x482b79[_0x52db09(0xfb)],_0x547e30?_0x52db09(0x127):_0x52db09(0x133))[_0x52db09(0x100)]),_0x3b732c[_0x52db09(0x12e)]=!0x0,_0x3b732c;}[_0x22ab68(0x110)](_0x1b5a01){const _0x5c5c8e=_0x22ab68,{locale:_0x19d017}=this[_0x5c5c8e(0x134)],_0x118c2f=this[_0x5c5c8e(0x134)][_0x5c5c8e(0x114)][_0x5c5c8e(0x138)](_0x5c5c8e(0x10d));return _0x1b5a01[_0x5c5c8e(0x107)](_0x3b4ab0=>{const _0x428a1f=_0x5c5c8e,_0xcd345d=this[_0x428a1f(0x12d)](_0x2b692b,_0x3b4ab0[_0x428a1f(0xfb)]);return _0xcd345d[_0x428a1f(0x109)]=!0x0,_0xcd345d[_0x428a1f(0x101)]=_0x3b4ab0[_0x428a1f(0x101)],_0xcd345d[_0x428a1f(0x117)](_0x428a1f(0x11c))['to'](_0x118c2f,_0x428a1f(0x10a),_0x5601e0=>_0x562cdd(_0x19d017,_0x3b4ab0[_0x428a1f(0xfb)],_0x5601e0?_0x428a1f(0x127):_0x428a1f(0x133))[_0x428a1f(0x100)]),_0xcd345d;});}[_0x22ab68(0x126)](_0x3841d3){const _0x2b8aaa=_0x22ab68;return _0x3841d3[_0x2b8aaa(0x107)](_0x5000f8=>{const _0x1845b0=_0x2b8aaa,_0x283e7c=this[_0x1845b0(0x12d)](_0x4c7fb7,_0x5000f8[_0x1845b0(0xfb)]);return _0x283e7c[_0x1845b0(0x101)]=_0x5000f8[_0x1845b0(0x101)],_0x283e7c[_0x1845b0(0x11c)]=_0x5000f8[_0x1845b0(0x13b)],_0x283e7c;});}}
23
+ const _0x4447c9=_0x10a4;(function(_0xe719d9,_0x51e88d){const _0x51b622=_0x10a4,_0x44ae17=_0xe719d9();while(!![]){try{const _0xdf236d=parseInt(_0x51b622(0x198))/0x1*(parseInt(_0x51b622(0x174))/0x2)+-parseInt(_0x51b622(0x1a3))/0x3*(-parseInt(_0x51b622(0x16d))/0x4)+-parseInt(_0x51b622(0x160))/0x5+parseInt(_0x51b622(0x185))/0x6*(-parseInt(_0x51b622(0x195))/0x7)+-parseInt(_0x51b622(0x17a))/0x8*(parseInt(_0x51b622(0x169))/0x9)+-parseInt(_0x51b622(0x19b))/0xa*(-parseInt(_0x51b622(0x15b))/0xb)+parseInt(_0x51b622(0x19c))/0xc;if(_0xdf236d===_0x51e88d)break;else _0x44ae17['push'](_0x44ae17['shift']());}catch(_0x538478){_0x44ae17['push'](_0x44ae17['shift']());}}}(_0x56be,0x6bf65));import{Plugin as _0x3e085c}from'ckeditor5/src/core.js';function _0x10a4(_0x40956f,_0x13bc9d){const _0x56be6f=_0x56be();return _0x10a4=function(_0x10a422,_0x46eb73){_0x10a422=_0x10a422-0x152;let _0x45201b=_0x56be6f[_0x10a422];return _0x45201b;},_0x10a4(_0x40956f,_0x13bc9d);}function _0x56be(){const _0x222e50=['afterInit','reduce','_createButton','uploadcareLicenseKeyDomainLimit','Facebook','GPhotos','evaluationLimit','ImageInsertUI','_showLicenseError','bind','Insert','icon','UploadcareUI','777ocMewP','pluginName','uploadcareLicenseKeyUsageLimit','53FhoSqu','registerIntegration','label','10gDqCJE','11097108nJIrCV','uploadcareLicenseKeyNotAllowed','locale','expired','init','type','featureNotAllowed','6zyYGgE','_createDropdownButtons','trialLimit','Uploadcare','OneDrive','Replace','has','assetManager','forEach','uploadcareLicenseKeyExpired','shortText','2861276DiCJpy','GDrive','usageLimit','plugins','url','213790RtfoDO','text','config','entries','commands','uploadcareLicenseKeyEvaluationLimit','get','destroy','uploadcare.uploader.sourceList','520794hwNBas','isImageSelected','uploadcareLicenseKeyValid','withText','625836mQsNfW','_createMenuBarButtons','uploadcareLicenseKeyTrialLimit','_createToolbarButton','_licenseKeyCheckInterval','_getIntegrationKey','upload','2998POxByN','_normalizeConfigSourceList','execute','isOfficialPlugin','isEnabled','Dropbox','32ujVXkt','domainLimit','uploadcare','map','invalid','URL','editor','uploadcareLicenseKeyInvalid','Local','tooltip','isPremiumPlugin','46530psqCho','licenseKey','push'];_0x56be=function(){return _0x222e50;};return _0x56be();}import{IconDropbox as _0x56cb41,IconFacebook as _0x667ec2,IconGoogleDrive as _0x3325d4,IconGooglePhotos as _0x4be0d6,IconUploadcareImageUpload as _0x2e6cf5,IconUploadcareLink as _0xac0701,IconOneDrive as _0x258afe}from'ckeditor5/src/icons.js';import{ButtonView as _0xcc2019,MenuBarMenuListItemButtonView as _0x5c6a74}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x270dd5}from'./uploadcareconfig.js';import{getTranslation as _0x21d1f5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3e085c{[_0x4447c9(0x186)];[_0x4447c9(0x171)];static get[_0x4447c9(0x196)](){const _0x281a36=_0x4447c9;return _0x281a36(0x194);}static get[_0x4447c9(0x177)](){return!0x0;}static get[_0x4447c9(0x184)](){return!0x0;}[_0x4447c9(0x1a0)](){const _0x3691c4=_0x4447c9;this[_0x3691c4(0x186)]=this[_0x3691c4(0x180)][_0x3691c4(0x162)][_0x3691c4(0x166)](_0x3691c4(0x186));const _0x1b48cc=this[_0x3691c4(0x180)];this[_0x3691c4(0x171)]=setInterval(()=>{const _0x5b65a6=_0x3691c4;let _0x2e6d24;for(const _0xc2f8f6 in _0x1b48cc){const _0x415f70=_0xc2f8f6,_0x145f95=_0x1b48cc[_0x415f70];if(_0x5b65a6(0x16b)==_0x145f95||_0x5b65a6(0x181)==_0x145f95||_0x5b65a6(0x159)==_0x145f95||_0x5b65a6(0x18b)==_0x145f95||_0x5b65a6(0x19d)==_0x145f95||_0x5b65a6(0x165)==_0x145f95||_0x5b65a6(0x16f)==_0x145f95||_0x5b65a6(0x197)==_0x145f95){delete _0x1b48cc[_0x415f70],_0x2e6d24=_0x145f95,clearInterval(this[_0x5b65a6(0x171)]),this[_0x5b65a6(0x171)]=void 0x0;break;}}_0x5b65a6(0x181)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x17e)),_0x5b65a6(0x159)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x19f)),_0x5b65a6(0x18b)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x17b)),_0x5b65a6(0x19d)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x1a2),_0x5b65a6(0x153)),_0x5b65a6(0x165)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x18e)),_0x5b65a6(0x16f)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x152)),_0x5b65a6(0x197)==_0x2e6d24&&_0x1b48cc[_0x5b65a6(0x190)](_0x5b65a6(0x15d));},0x3e8);}[_0x4447c9(0x188)](){const _0x5357e9=_0x4447c9,{editor:_0xeebb10}=this,_0xa52e21=_0xeebb10[_0x5357e9(0x164)][_0x5357e9(0x166)](_0x5357e9(0x17c));if(!_0xa52e21)return;const _0x26147b=this[_0x5357e9(0x175)](_0xeebb10[_0x5357e9(0x162)][_0x5357e9(0x166)](_0x5357e9(0x168)))[_0x5357e9(0x189)]((_0x2f4e27,_0x780795)=>{const _0x435a2f=_0x5357e9,_0x4c1f6c=this[_0x435a2f(0x172)](_0x780795[_0x435a2f(0x1a1)]);return _0x2f4e27[_0x4c1f6c]||(_0x2f4e27[_0x4c1f6c]=[]),_0x2f4e27[_0x4c1f6c][_0x435a2f(0x187)](_0x780795),_0x2f4e27;},{});_0xeebb10[_0x5357e9(0x15e)][_0x5357e9(0x156)](_0x5357e9(0x18f))&&_0xeebb10[_0x5357e9(0x164)][_0x5357e9(0x166)](_0x5357e9(0x17c))&&Object[_0x5357e9(0x163)](_0x26147b)[_0x5357e9(0x158)](([_0x2f2886,_0x100d65])=>{const _0x3d11fb=_0x5357e9;_0xeebb10[_0x3d11fb(0x15e)][_0x3d11fb(0x166)](_0x3d11fb(0x18f))[_0x3d11fb(0x199)]({'name':_0x2f2886,'observable':()=>_0xa52e21,'buttonViewCreator':()=>this[_0x3d11fb(0x170)](_0x100d65),'formViewCreator':()=>this[_0x3d11fb(0x1a4)](_0x100d65),'menuBarButtonViewCreator':()=>this[_0x3d11fb(0x16e)](_0x100d65),'override':_0x3d11fb(0x157)!==_0x2f2886});});}[_0x4447c9(0x167)](){const _0x5dfa8f=_0x4447c9;super[_0x5dfa8f(0x167)](),this[_0x5dfa8f(0x171)]&&clearInterval(this[_0x5dfa8f(0x171)]);}[_0x4447c9(0x175)](_0x3d9ddb){const _0x1e3b48=_0x4447c9,{locale:_0x118db2}=this[_0x1e3b48(0x180)];return _0x3d9ddb[_0x1e3b48(0x17d)](_0x33c525=>{const _0x43d6ca=_0x1e3b48,_0x1b0226=_0x21d1f5(_0x118db2,_0x33c525,_0x43d6ca(0x192));switch(_0x33c525){case _0x270dd5[_0x43d6ca(0x182)]:return{'icon':_0x2e6cf5,'type':_0x270dd5[_0x43d6ca(0x182)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x17f)]:return{'icon':_0xac0701,'type':_0x270dd5[_0x43d6ca(0x17f)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x179)]:return{'icon':_0x56cb41,'type':_0x270dd5[_0x43d6ca(0x179)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x18c)]:return{'icon':_0x667ec2,'type':_0x270dd5[_0x43d6ca(0x18c)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x15c)]:return{'icon':_0x3325d4,'type':_0x270dd5[_0x43d6ca(0x15c)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x18d)]:return{'icon':_0x4be0d6,'type':_0x270dd5[_0x43d6ca(0x18d)],..._0x1b0226};case _0x270dd5[_0x43d6ca(0x154)]:return{'icon':_0x258afe,'type':_0x270dd5[_0x43d6ca(0x154)],..._0x1b0226};}});}[_0x4447c9(0x172)](_0x63deb8){const _0x555368=_0x4447c9;switch(_0x63deb8){case _0x270dd5[_0x555368(0x182)]:return _0x555368(0x173);case _0x270dd5[_0x555368(0x17f)]:return _0x555368(0x15f);default:return _0x555368(0x157);}}[_0x4447c9(0x18a)](_0x12ff8e,_0x34056a){const _0x555257=_0x4447c9,_0xf231d9=this[_0x555257(0x180)],_0x296405=new _0x12ff8e(_0xf231d9[_0x555257(0x19e)]),_0x1dfda5=_0xf231d9[_0x555257(0x164)][_0x555257(0x166)](_0x555257(0x17c));return _0x296405[_0x555257(0x191)](_0x555257(0x178))['to'](_0x1dfda5),_0x296405['on'](_0x555257(0x176),()=>{const _0x4abf04=_0x555257;_0x1dfda5[_0x4abf04(0x176)](_0x34056a);}),_0x296405;}[_0x4447c9(0x170)](_0x2779c2){const _0x4578d8=_0x4447c9,{locale:_0x28ea4e}=this[_0x4578d8(0x180)],_0x51d0bc=this[_0x4578d8(0x180)][_0x4578d8(0x15e)][_0x4578d8(0x166)](_0x4578d8(0x18f)),_0x50c283=_0x2779c2[0x0],_0x954f00=this[_0x4578d8(0x18a)](_0xcc2019,_0x50c283[_0x4578d8(0x1a1)]);return _0x954f00[_0x4578d8(0x193)]=_0x50c283[_0x4578d8(0x193)],_0x954f00[_0x4578d8(0x191)](_0x4578d8(0x19a))['to'](_0x51d0bc,_0x4578d8(0x16a),_0x11e8ed=>_0x21d1f5(_0x28ea4e,_0x50c283[_0x4578d8(0x1a1)],_0x11e8ed?_0x4578d8(0x155):_0x4578d8(0x192))[_0x4578d8(0x161)]),_0x954f00[_0x4578d8(0x183)]=!0x0,_0x954f00;}[_0x4447c9(0x1a4)](_0x220965){const _0x34f1ea=_0x4447c9,{locale:_0x3cabfc}=this[_0x34f1ea(0x180)],_0x4df4eb=this[_0x34f1ea(0x180)][_0x34f1ea(0x15e)][_0x34f1ea(0x166)](_0x34f1ea(0x18f));return _0x220965[_0x34f1ea(0x17d)](_0x5f167b=>{const _0x58ab33=_0x34f1ea,_0xf6a348=this[_0x58ab33(0x18a)](_0xcc2019,_0x5f167b[_0x58ab33(0x1a1)]);return _0xf6a348[_0x58ab33(0x16c)]=!0x0,_0xf6a348[_0x58ab33(0x193)]=_0x5f167b[_0x58ab33(0x193)],_0xf6a348[_0x58ab33(0x191)](_0x58ab33(0x19a))['to'](_0x4df4eb,_0x58ab33(0x16a),_0x161ef1=>_0x21d1f5(_0x3cabfc,_0x5f167b[_0x58ab33(0x1a1)],_0x161ef1?_0x58ab33(0x155):_0x58ab33(0x192))[_0x58ab33(0x161)]),_0xf6a348;});}[_0x4447c9(0x16e)](_0xce6ba9){const _0x2760a6=_0x4447c9;return _0xce6ba9[_0x2760a6(0x17d)](_0x27f414=>{const _0x1a393d=_0x2760a6,_0x5d58dc=this[_0x1a393d(0x18a)](_0x5c6a74,_0x27f414[_0x1a393d(0x1a1)]);return _0x5d58dc[_0x1a393d(0x193)]=_0x27f414[_0x1a393d(0x193)],_0x5d58dc[_0x1a393d(0x19a)]=_0x27f414[_0x1a393d(0x15a)],_0x5d58dc;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x25e8e9}from'ckeditor5/src/core.js';import{FileRepository as _0x39ff37}from'ckeditor5/src/upload.js';import _0x4fda30 from'./uploadcareediting.js';import _0x33411e from'./utils/uploadutils.js';import{getImageUrls as _0x2fd6a0}from'./utils/editingutils.js';export default class p extends _0x25e8e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39ff37,_0x4fda30];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xa6a7ad=this['editor'];if(!!!_0xa6a7ad['config']['get']('uploadcare'))return;_0xa6a7ad['plugins']['get'](_0x39ff37)['createUploadAdapter']=_0x12b80d=>new x(_0x12b80d,_0xa6a7ad),_0xa6a7ad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1571ce,{imageElement:_0x43f123,data:_0x1347fb})=>{_0xa6a7ad['model']['change'](_0x13910d=>{_0x13910d['setAttribute']('uploadcareImageId',_0x1347fb['uploadcareImageId'],_0x43f123);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1091e6,_0x12924e){this['loader']=_0x1091e6,this['editor']=_0x12924e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2ff964=this['editor']['config']['get']('uploadcare.pubkey'),_0xebe6d0=await this['loader']['file'];return _0x33411e['upload']({'file':_0xebe6d0,'publicKey':_0x2ff964,'signal':this['controller']['signal'],'onProgress':_0x2c08c7=>{_0x2c08c7&&_0x2c08c7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2c08c7['value']);}})['then'](async _0x5a1ec4=>{const {imageFallbackUrl:_0x2c28ef,imageSources:_0x2c1074}=_0x2fd6a0(_0x5a1ec4['cdnUrl'],_0x5a1ec4['imageInfo']['width']);return{'uploadcareImageId':_0x5a1ec4['uuid'],'default':_0x2c28ef,'sources':_0x2c1074};})['catch'](()=>{const _0x21e815=t('Cannot\x20upload\x20file:')+('\x20'+_0xebe6d0['name']+'.');return Promise['reject'](_0x21e815);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x590e28}from'ckeditor5/src/core.js';import{FileRepository as _0x1bdc8f}from'ckeditor5/src/upload.js';import _0x55a9de from'./uploadcareediting.js';import _0x4c6b24 from'./utils/uploadutils.js';import{getImageUrls as _0x2aed57}from'./utils/editingutils.js';export default class p extends _0x590e28{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1bdc8f,_0x55a9de];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x284a95=this['editor'];if(!!!_0x284a95['config']['get']('uploadcare'))return;_0x284a95['plugins']['get'](_0x1bdc8f)['createUploadAdapter']=_0x37d7b8=>new x(_0x37d7b8,_0x284a95),_0x284a95['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3efd83,{imageElement:_0x505b0b,data:_0x189f7f})=>{_0x284a95['model']['change'](_0x37f738=>{_0x37f738['setAttribute']('uploadcareImageId',_0x189f7f['uploadcareImageId'],_0x505b0b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xbe9ff6,_0x579dd1){this['loader']=_0xbe9ff6,this['editor']=_0x579dd1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x234a1e=this['editor']['config']['get']('uploadcare.pubkey'),_0x37aaf7=await this['loader']['file'];return _0x4c6b24['upload']({'file':_0x37aaf7,'publicKey':_0x234a1e,'signal':this['controller']['signal'],'onProgress':_0x330b86=>{_0x330b86&&_0x330b86['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x330b86['value']);}})['then'](async _0x288b47=>{const {imageFallbackUrl:_0x3d7fe6,imageSources:_0x2c0d3a}=_0x2aed57(_0x288b47['cdnUrl'],_0x288b47['imageInfo']['width']);return{'uploadcareImageId':_0x288b47['uuid'],'default':_0x3d7fe6,'sources':_0x2c0d3a};})['catch'](()=>{const _0x30befd=t('Cannot\x20upload\x20file:')+('\x20'+_0x37aaf7['name']+'.');return Promise['reject'](_0x30befd);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xdf141b}from'../uploadcareconfig.js';export function getTranslation(_0x5015a0,_0x237389,_0x3e17e9){const t=_0x5015a0['t'],_0x16736b=_0x5015a0['t'];switch(_0x237389){case _0xdf141b['Local']:return{'text':_0x16736b('Insert'===_0x3e17e9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16736b('From\x20computer')};case _0xdf141b['URL']:return{'text':'Insert'===_0x3e17e9?_0x16736b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16736b('Via\x20URL')};case _0xdf141b['Dropbox']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xdf141b['Facebook']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xdf141b['GDrive']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xdf141b['GPhotos']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xdf141b['OneDrive']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x237389;}}
23
+ import{UploadcareSource as _0x551bb2}from'../uploadcareconfig.js';export function getTranslation(_0x411252,_0x49b2a2,_0x1d3c0e){const t=_0x411252['t'],_0xc35f7c=_0x411252['t'];switch(_0x49b2a2){case _0x551bb2['Local']:return{'text':_0xc35f7c('Insert'===_0x1d3c0e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc35f7c('From\x20computer')};case _0x551bb2['URL']:return{'text':'Insert'===_0x1d3c0e?_0xc35f7c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc35f7c('Via\x20URL')};case _0x551bb2['Dropbox']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x551bb2['Facebook']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x551bb2['GDrive']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x551bb2['GPhotos']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x551bb2['OneDrive']:return{'text':t('Insert'===_0x1d3c0e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49b2a2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3af3(){var _0x5d9f9c=['fire','div','forwardCycle','createCollection','2952425mRWwuN','583510zujQJl','true','bindTemplate','focusTracker','681000dhsMyb','21tzGwGc','1408056pGzrCU','focusCycler','1973262mBhLOX','716952BMkeNu','553216ziolTA','getFocusableElement'];_0x3af3=function(){return _0x5d9f9c;};return _0x3af3();}var _0x2a991e=_0xe8eb;(function(_0x4cf1f1,_0x4f456e){var _0x3ec66b=_0xe8eb,_0x5467de=_0x4cf1f1();while(!![]){try{var _0x504ea8=-parseInt(_0x3ec66b(0x153))/0x1+-parseInt(_0x3ec66b(0x15a))/0x2+parseInt(_0x3ec66b(0x151))/0x3+parseInt(_0x3ec66b(0x14f))/0x4+parseInt(_0x3ec66b(0x159))/0x5+-parseInt(_0x3ec66b(0x14d))/0x6+parseInt(_0x3ec66b(0x14e))/0x7*(-parseInt(_0x3ec66b(0x152))/0x8);if(_0x504ea8===_0x4f456e)break;else _0x5467de['push'](_0x5467de['shift']());}catch(_0x5a58e6){_0x5467de['push'](_0x5467de['shift']());}}}(_0x3af3,0x5b0bd));import{FocusTracker as _0x364c49}from'ckeditor5/src/utils.js';import{View as _0x18b547,FocusCycler as _0x39645a}from'ckeditor5/src/ui.js';function _0xe8eb(_0x5c9b71,_0x5c1f67){var _0x3af3ae=_0x3af3();return _0xe8eb=function(_0xe8eb7c,_0xb381d6){_0xe8eb7c=_0xe8eb7c-0x14b;var _0xf47e8d=_0x3af3ae[_0xe8eb7c];return _0xf47e8d;},_0xe8eb(_0x5c9b71,_0x5c1f67);}import'../../theme/uploadcare-form.css';export default class q extends _0x18b547{[_0x2a991e(0x14c)];[_0x2a991e(0x150)];constructor(_0x4b8d96){var _0x274c10=_0x2a991e;super(_0x4b8d96),this[_0x274c10(0x14c)]=new _0x364c49(),this[_0x274c10(0x150)]=new _0x39645a({'focusables':this[_0x274c10(0x158)](),'focusTracker':this[_0x274c10(0x14c)]});}[_0x2a991e(0x154)](){var _0x20d860=_0x2a991e;return{'tag':_0x20d860(0x156),'attributes':{'aria-hidden':_0x20d860(0x15b),'tabindex':'0'},'on':{'focus':this[_0x20d860(0x14b)]['to'](()=>{var _0x279555=_0x20d860;this[_0x279555(0x150)][_0x279555(0x155)](_0x279555(0x157));})}};}}
23
+ function _0xea0f(_0xf30478,_0x1bd06b){var _0x64fc49=_0x64fc();return _0xea0f=function(_0xea0fd,_0x6d7963){_0xea0fd=_0xea0fd-0x1d3;var _0x120991=_0x64fc49[_0xea0fd];return _0x120991;},_0xea0f(_0xf30478,_0x1bd06b);}var _0x4b0129=_0xea0f;(function(_0x4b381a,_0x21bc95){var _0xf8aabc=_0xea0f,_0x248208=_0x4b381a();while(!![]){try{var _0x4854fb=-parseInt(_0xf8aabc(0x1d4))/0x1*(parseInt(_0xf8aabc(0x1e1))/0x2)+-parseInt(_0xf8aabc(0x1e5))/0x3+-parseInt(_0xf8aabc(0x1d7))/0x4*(parseInt(_0xf8aabc(0x1df))/0x5)+parseInt(_0xf8aabc(0x1dd))/0x6*(parseInt(_0xf8aabc(0x1d9))/0x7)+-parseInt(_0xf8aabc(0x1d5))/0x8+-parseInt(_0xf8aabc(0x1d8))/0x9+parseInt(_0xf8aabc(0x1db))/0xa;if(_0x4854fb===_0x21bc95)break;else _0x248208['push'](_0x248208['shift']());}catch(_0x5ba6c8){_0x248208['push'](_0x248208['shift']());}}}(_0x64fc,0x261a8));import{FocusTracker as _0xad6e9c}from'ckeditor5/src/utils.js';import{View as _0x1d22b9,FocusCycler as _0x2aadbf}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x64fc(){var _0x1c4fd5=['2OIeNtl','getFocusableElement','focusCycler','focusTracker','853866DCQWEc','fire','142124oMOMhX','168280EUUIPh','bindTemplate','208652CLZudS','363267lZVSwB','101318FQLejW','createCollection','5691210jhKtvi','true','96RTqJzt','div','15XlasOf','forwardCycle'];_0x64fc=function(){return _0x1c4fd5;};return _0x64fc();}export default class q extends _0x1d22b9{[_0x4b0129(0x1e4)];[_0x4b0129(0x1e3)];constructor(_0x108ad7){var _0x42f870=_0x4b0129;super(_0x108ad7),this[_0x42f870(0x1e4)]=new _0xad6e9c(),this[_0x42f870(0x1e3)]=new _0x2aadbf({'focusables':this[_0x42f870(0x1da)](),'focusTracker':this[_0x42f870(0x1e4)]});}[_0x4b0129(0x1e2)](){var _0x3df4ae=_0x4b0129;return{'tag':_0x3df4ae(0x1de),'attributes':{'aria-hidden':_0x3df4ae(0x1dc),'tabindex':'0'},'on':{'focus':this[_0x3df4ae(0x1d6)]['to'](()=>{var _0x1b63ae=_0x3df4ae;this[_0x1b63ae(0x1e3)][_0x1b63ae(0x1d3)](_0x1b63ae(0x1e0));})}};}}