@ckeditor/ckeditor5-uploadcare 47.6.1-alpha.0 → 47.6.1

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 _0x53aa88=_0x4b6b;(function(_0x3364d8,_0x4183f3){const _0x287c14=_0x4b6b,_0x357740=_0x3364d8();while(!![]){try{const _0x4d6b8a=-parseInt(_0x287c14(0x1ba))/0x1*(parseInt(_0x287c14(0x203))/0x2)+parseInt(_0x287c14(0x209))/0x3+parseInt(_0x287c14(0x1c1))/0x4+-parseInt(_0x287c14(0x1ea))/0x5*(-parseInt(_0x287c14(0x1db))/0x6)+parseInt(_0x287c14(0x1dd))/0x7+parseInt(_0x287c14(0x1f3))/0x8+-parseInt(_0x287c14(0x1ec))/0x9;if(_0x4d6b8a===_0x4183f3)break;else _0x357740['push'](_0x357740['shift']());}catch(_0x27f1a4){_0x357740['push'](_0x357740['shift']());}}}(_0x12fe,0xadda7));import{Plugin as _0x5f180f}from'ckeditor5/src/core.js';function _0x4b6b(_0x1e1cc6,_0x2706df){const _0x12fe58=_0x12fe();return _0x4b6b=function(_0x4b6bd3,_0xb578dc){_0x4b6bd3=_0x4b6bd3-0x1b8;let _0x12f388=_0x12fe58[_0x4b6bd3];return _0x12f388;},_0x4b6b(_0x1e1cc6,_0x2706df);}import{Dialog as _0x207ae7}from'ckeditor5/src/ui.js';import{createElement as _0x383e89,global as _0x2eca5b,uid as _0x110510}from'ckeditor5/src/utils.js';function _0x12fe(){const _0x1201b3=['get','pluginName','elementToAttribute','_configElement','uploadcareImageId','isPremiumPlugin','href','uploadcare','schema','getAttribute','config','configElement','101502NRPhZk','init','ctxElement','destroy','uc-upload-ctx-provider','uploader-','3853743kDIglt','removeAttribute','conversion','imageInline','model','7ZIAljb','uc-config','extend','true','body','add','imageBlock','2051344kSeMDT','_ctxElement','#uc-icon-arrow-down','appendChild','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','data-uc-image-id','editing','isRegistered','join','afterInit','listenTo','fromCharCode','document','UploadcareEditing','replaceImageSource','once','_initConversion','attributeToAttribute','remove','for','closeMax','uploadcare.uploader','contentLanguage','requires','ucContextId','_initImageProcessingIndicator','24kOIAVx','view','2656864zaPqZq','uploadcareImageReplace','getSelectedElement','commands','execute','isOfficialPlugin','locale','selection','render','PictureEditing','editor','cleanupImage','_initConfig','713855xCVXip','iconHrefResolver','15682797puhzOx','_initSchema','input[uploadcare-file-input]','_initCtx','querySelector','downcast','insertImage','494720aZtjAI','uploadcare.pubkey','map','upcast'];_0x12fe=function(){return _0x1201b3;};return _0x12fe();}import{UploadcareCommand as _0x1ec311}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x343404}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4fcf85}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5f180f{[_0x53aa88(0x1fa)]=null;[_0x53aa88(0x1c2)]=null;static get[_0x53aa88(0x1f8)](){const _0x225d79=_0x53aa88;return _0x225d79(0x1ce);}static get[_0x53aa88(0x1d8)](){const _0x1fee60=_0x53aa88;return[_0x1fee60(0x1e6),_0x343404,_0x207ae7];}static get[_0x53aa88(0x1e2)](){return!0x0;}static get[_0x53aa88(0x1fc)](){return!0x0;}[_0x53aa88(0x1d9)];get[_0x53aa88(0x202)](){const _0x4e6dcd=_0x53aa88;return this[_0x4e6dcd(0x1fa)];}get[_0x53aa88(0x205)](){const _0xd853d0=_0x53aa88;return this[_0xd853d0(0x1c2)];}constructor(_0x36dfae){const _0xd46136=_0x53aa88;super(_0x36dfae),this[_0xd46136(0x1d9)]=_0x110510();}[_0x53aa88(0x204)](){const _0x263933=_0x53aa88,_0x1a5bbb=this[_0x263933(0x1e7)];_0x1a5bbb[_0x263933(0x1e0)][_0x263933(0x1bf)](_0x263933(0x1fe),new _0x1ec311(_0x1a5bbb));}[_0x53aa88(0x1ca)](){const _0x8dea34=_0x53aa88;this[_0x8dea34(0x1ed)](),this[_0x8dea34(0x1d1)](),this[_0x8dea34(0x1e9)](),this[_0x8dea34(0x1ef)](),this[_0x8dea34(0x1da)](),this[_0x8dea34(0x1cb)](this[_0x8dea34(0x1e7)],_0x8dea34(0x206),()=>{const _0x4e5e25=_0x8dea34;this[_0x4e5e25(0x1fa)]&&(this[_0x4e5e25(0x1fa)][_0x4e5e25(0x1d3)](),this[_0x4e5e25(0x1fa)]=null),this[_0x4e5e25(0x1c2)]&&(this[_0x4e5e25(0x1c2)][_0x4e5e25(0x1d3)](),this[_0x4e5e25(0x1c2)]=null);const _0xdedef7=_0x2eca5b[_0x4e5e25(0x1cd)][_0x4e5e25(0x1f0)](_0x4e5e25(0x1ee));_0xdedef7&&_0xdedef7[_0x4e5e25(0x1d3)]();}),async function(_0xa3de9d){const _0x5e434a=_0x2e28de([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x28c979=0x535f8c3a,_0x438adc=0x53580fca^_0x28c979,_0x44fced=window[_0x2e28de([0x44,0x61,0x74,0x65])][_0x2e28de([0x6e,0x6f,0x77])](),_0x20e4ab=_0xa3de9d[_0x2e28de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e8147=new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x381a32=>{_0x20e4ab[_0x2e28de([0x6f,0x6e,0x63,0x65])](_0x2e28de([0x72,0x65,0x61,0x64,0x79]),_0x381a32);}),_0x2c9dd5={[_0x2e28de([0x6b,0x74,0x79])]:_0x2e28de([0x45,0x43]),[_0x2e28de([0x75,0x73,0x65])]:_0x2e28de([0x73,0x69,0x67]),[_0x2e28de([0x63,0x72,0x76])]:_0x2e28de([0x50,0x2d,0x32,0x35,0x36]),[_0x2e28de([0x78])]:_0x2e28de([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]),[_0x2e28de([0x79])]:_0x2e28de([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]),[_0x2e28de([0x61,0x6c,0x67])]:_0x2e28de([0x45,0x53,0x32,0x35,0x36])},_0x5b3bc9=_0x20e4ab[_0x2e28de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e28de([0x67,0x65,0x74])](_0x2e28de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa9131b(){let _0x4afbeb,_0x507047=null,_0x15c3f0=null;try{if(_0x5b3bc9==_0x2e28de([0x47,0x50,0x4c]))return _0x2e28de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4afbeb=_0x1682c3(),!_0x4afbeb)return _0x2e28de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4afbeb[_0x2e28de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15c3f0=_0x2041c3(_0x4afbeb[_0x2e28de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4afbeb[_0x2e28de([0x6a,0x74,0x69])])),await _0x492a26()?_0xf9ec46()?_0x143b29()?_0x2e28de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44f6a9()?(_0x4afbeb[_0x2e28de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e28de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x507047=_0x3efb2c(_0x2e28de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x144fe0()):_0x2e28de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e28de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e28de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e28de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x143b29(){const _0x15727c=[_0x2e28de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e28de([0x74,0x72,0x69,0x61,0x6c])][_0x2e28de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4afbeb[_0x2e28de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44fced/0x3e8:0xe10*_0x438adc;return _0x4afbeb[_0x2e28de([0x65,0x78,0x70])]<_0x15727c;}function _0xf9ec46(){const _0x3d0606=_0x4afbeb[_0x2e28de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d0606&&(!!_0x3d0606[_0x2e28de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e28de([0x2a]))||!!_0x3d0606[_0x2e28de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e28de([0x55,0x50,0x4c,0x43])));}function _0x44f6a9(){const _0x2fbccd=_0x4b6b,_0x3d9025=_0x4afbeb[_0x2e28de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d9025||0x0==_0x3d9025[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5df076}=new URL(window[_0x2e28de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2fbccd(0x1fd)]);if(_0x3d9025[_0x2e28de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5df076))return!0x0;const _0x4a53fd=_0x5df076[_0x2e28de([0x73,0x70,0x6c,0x69,0x74])](_0x2e28de([0x2e]));return _0x3d9025[_0x2e28de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24cff9=>_0x24cff9[_0x2e28de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e28de([0x2a])))[_0x2e28de([0x6d,0x61,0x70])](_0x336e03=>_0x336e03[_0x2e28de([0x73,0x70,0x6c,0x69,0x74])](_0x2e28de([0x2e])))[_0x2e28de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2929bf=>_0x2929bf[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a53fd[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e28de([0x6d,0x61,0x70])](_0x3f44cd=>Array(_0x4a53fd[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f44cd[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e28de([0x66,0x69,0x6c,0x6c])](_0x3f44cd[0x0]===_0x2e28de([0x2a])?_0x2e28de([0x2a]):'')[_0x2e28de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f44cd))[_0x2e28de([0x73,0x6f,0x6d,0x65])](_0x541195=>_0x4a53fd[_0x2e28de([0x65,0x76,0x65,0x72,0x79])]((_0x4db1c5,_0x55f50a)=>_0x541195[_0x55f50a]===_0x4db1c5||_0x541195[_0x55f50a]===_0x2e28de([0x2a])));}function _0x144fe0(){return _0x507047&&_0x15c3f0?new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6aaa34,_0x442813)=>{_0x507047[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x6aaa34,_0x442813),_0x15c3f0[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x39ff31=>{_0x39ff31!=_0x2e28de([0x56,0x61,0x6c,0x69,0x64])&&_0x6aaa34(_0x39ff31);},_0x442813);}):_0x507047||_0x15c3f0||_0x2e28de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2041c3(_0x36e1a5,_0x11b5bb){return new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x814f2c=>{if(_0x2d5524())return _0x814f2c(_0x2e28de([0x56,0x61,0x6c,0x69,0x64]));_0x3b785e(),_0x20e4ab[_0x2e28de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e28de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1fcf0c=!0x1;const _0x54077e=_0x110510();function _0x30ee54(_0x394809){return!!_0x394809&&(typeof _0x394809===_0x2e28de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x394809===_0x2e28de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x394809[_0x2e28de([0x74,0x68,0x65,0x6e])]===_0x2e28de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x394809[_0x2e28de([0x63,0x61,0x74,0x63,0x68])]===_0x2e28de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d4b36(_0x317600){_0x4999d0(_0x317600)[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x19550b=>{if(!_0x19550b||_0x19550b[_0x2e28de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e28de([0x6f,0x6b]))return _0x2e28de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33df8a(_0x4cd138(_0x54077e+_0x11b5bb))!=_0x19550b[_0x2e28de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e28de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e28de([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x194b8c=>(_0x3c542d(),_0x194b8c),()=>{const _0x5c962a=_0x48e579();return null==_0x5c962a?(_0x3c542d(),_0x2e28de([0x56,0x61,0x6c,0x69,0x64])):_0x2e28de(_0x44fced-_0x5c962a>(0x7753083a^_0x28c979)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x814f2c)[_0x2e28de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x814f2c(_0x2e28de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x782ffd=0x536962ba^_0x28c979;function _0x3c542d(){const _0x402295=_0x2e28de([0x6c,0x6c,0x63,0x74,0x2d])+_0x33df8a(_0x4cd138(_0x36e1a5)),_0x175d4c=_0x459f92(_0x33df8a(window[_0x2e28de([0x4d,0x61,0x74,0x68])][_0x2e28de([0x63,0x65,0x69,0x6c])](_0x44fced/_0x782ffd)));window[_0x2e28de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e28de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x402295,_0x175d4c);}function _0x48e579(){const _0x5585c4=_0x2e28de([0x6c,0x6c,0x63,0x74,0x2d])+_0x33df8a(_0x4cd138(_0x36e1a5)),_0x54c389=window[_0x2e28de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e28de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5585c4);return _0x54c389?window[_0x2e28de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x459f92(_0x54c389),0x10)*_0x782ffd:null;}function _0x4999d0(_0xeba94){return new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9f8b7c,_0x1bca2e)=>{_0xeba94[_0x2e28de([0x74,0x68,0x65,0x6e])](_0x9f8b7c,_0x1bca2e),window[_0x2e28de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bca2e,0x535e58fa^_0x28c979);});}}_0x20e4ab[_0x2e28de([0x6f,0x6e])](_0x2e28de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x557c9b,_0x189532)=>{if(_0x189532[0x0]!=_0x36e1a5)return _0x814f2c(_0x2e28de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x189532[0x1]={..._0x189532[0x1],[_0x2e28de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54077e};},{[_0x2e28de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e28de([0x68,0x69,0x67,0x68])}),_0x20e4ab[_0x2e28de([0x6f,0x6e])](_0x2e28de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x669560=>{_0x30ee54(_0x669560[_0x2e28de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1fcf0c=!0x0,_0x4d4b36(_0x669560[_0x2e28de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e28de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e28de([0x6c,0x6f,0x77])}),_0x5e8147[_0x2e28de([0x74,0x68,0x65,0x6e])](()=>{_0x1fcf0c||_0x814f2c(_0x2e28de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d5524(){return _0x20e4ab[_0x2e28de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e28de([0x76,0x69,0x65,0x77])][_0x2e28de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e28de([0x61,0x75,0x74,0x6f]);}function _0x3b785e(){_0x20e4ab[_0x2e28de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e28de([0x76,0x69,0x65,0x77])][_0x2e28de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e28de([0x61,0x75,0x74,0x6f]);}}function _0x3efb2c(_0x13012d){const _0x1f0f4e=[new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d6ab6=>setTimeout(_0x5d6ab6,0x5356b2f6^_0x28c979)),_0x5e8147[_0x2e28de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52c2a6=>{let _0x3d74b=0x0;_0x20e4ab[_0x2e28de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e28de([0x6f,0x6e])](_0x2e28de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f633f,_0x1fb24a)=>{_0x1fb24a[0x0][_0x2e28de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d74b++,_0x3d74b==(0x535f89d2^_0x28c979)&&(_0x52c2a6(),_0x3f633f[_0x2e28de([0x6f,0x66,0x66])]());});}))];return window[_0x2e28de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e28de([0x72,0x61,0x63,0x65])](_0x1f0f4e)[_0x2e28de([0x74,0x68,0x65,0x6e])](()=>_0x13012d);}async function _0x40d3e3(){await _0x5e8147,_0x20e4ab[_0x2e28de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e28de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a5210,_0x20e4ab[_0x2e28de([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e28de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a5210,_0x20e4ab[_0x2e28de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e28de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x425c3f(_0x4a9f1d){const _0x405694=_0x249b33();_0x20e4ab[_0x405694]=_0x2e28de([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a9f1d,_0x4a9f1d!=_0x2e28de([0x56,0x61,0x6c,0x69,0x64])&&_0x40d3e3();}function _0x249b33(){const _0x2ed3e8=window[_0x2e28de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e28de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e28de([0x6e,0x6f,0x77])]())[_0x2e28de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e28de([0x2e]),'');let _0x5e388b=_0x2e28de([0x68]);for(let _0x2e3b8b=0x0;_0x2e3b8b<_0x2ed3e8[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e3b8b+=0x2){let _0x4de2e4=window[_0x2e28de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed3e8[_0x2e28de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e3b8b,_0x2e3b8b+0x2));_0x4de2e4>=_0x5e434a[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4de2e4-=_0x5e434a[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e388b+=_0x5e434a[_0x4de2e4];}return _0x5e388b;}function _0x1682c3(){const _0x465f0f=_0x5b3bc9[_0x2e28de([0x73,0x70,0x6c,0x69,0x74])](_0x2e28de([0x2e]));if(0x3!=_0x465f0f[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59f4d8(_0x465f0f[0x1]);function _0x59f4d8(_0x34859d){const _0x47b035=_0x5651ba(_0x34859d);return _0x47b035&&_0x24100f()?_0x47b035:null;function _0x24100f(){const _0x5386e9=_0x47b035[_0x2e28de([0x6a,0x74,0x69])],_0x3e36c8=window[_0x2e28de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5386e9[_0x2e28de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5386e9[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x575da9={..._0x47b035,[_0x2e28de([0x6a,0x74,0x69])]:_0x5386e9[_0x2e28de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5386e9[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x575da9[_0x2e28de([0x76,0x63])],_0x4cd138(_0x575da9)==_0x3e36c8;}}}async function _0x492a26(){let _0x1cee48=!0x0;try{const _0x197587=_0x5b3bc9[_0x2e28de([0x73,0x70,0x6c,0x69,0x74])](_0x2e28de([0x2e])),[_0xef0fab,_0x73c44c,_0x20e310]=_0x197587;return _0x30adad(_0xef0fab),await _0xdf0416(_0xef0fab,_0x73c44c,_0x20e310),_0x1cee48;}catch{return!0x1;}function _0x30adad(_0x42baab){const _0x496b53=_0x5651ba(_0x42baab);_0x496b53&&_0x496b53[_0x2e28de([0x61,0x6c,0x67])]==_0x2e28de([0x45,0x53,0x32,0x35,0x36])||(_0x1cee48=!0x1);}async function _0xdf0416(_0x2cc76a,_0x2775b7,_0x2353ab){const _0x1ca415=window[_0x2e28de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e28de([0x66,0x72,0x6f,0x6d])](_0xcff40c(_0x2353ab),_0x325fdb=>_0x325fdb[_0x2e28de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e874d=new window[(_0x2e28de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e28de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cc76a+_0x2e28de([0x2e])+_0x2775b7),_0xa0ed48=window[_0x2e28de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e28de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa0ed48)return;const _0xa67fef=await _0xa0ed48[_0x2e28de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e28de([0x6a,0x77,0x6b]),_0x2c9dd5,{[_0x2e28de([0x6e,0x61,0x6d,0x65])]:_0x2e28de([0x45,0x43,0x44,0x53,0x41]),[_0x2e28de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e28de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e28de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa0ed48[_0x2e28de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e28de([0x6e,0x61,0x6d,0x65])]:_0x2e28de([0x45,0x43,0x44,0x53,0x41]),[_0x2e28de([0x68,0x61,0x73,0x68])]:{[_0x2e28de([0x6e,0x61,0x6d,0x65])]:_0x2e28de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa67fef,_0x1ca415,_0x3e874d)||(_0x1cee48=!0x1);}}function _0x5651ba(_0x7b1d57){return _0x7b1d57[_0x2e28de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e28de([0x65,0x79]))?JSON[_0x2e28de([0x70,0x61,0x72,0x73,0x65])](_0xcff40c(_0x7b1d57)):null;}function _0xcff40c(_0x9257fa){return window[_0x2e28de([0x61,0x74,0x6f,0x62])](_0x9257fa[_0x2e28de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e28de([0x2b]))[_0x2e28de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e28de([0x2f])));}function _0x4cd138(_0x221454){let _0x1d9590=0x1505;function _0x363920(_0x3e88ee){for(let _0x1ac331=0x0;_0x1ac331<_0x3e88ee[_0x2e28de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ac331++){const _0x4a8d82=_0x3e88ee[_0x2e28de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ac331);_0x1d9590=(_0x1d9590<<0x5)+_0x1d9590+_0x4a8d82,_0x1d9590&=_0x1d9590;}}function _0x127ac8(_0x53ebd5){Array[_0x2e28de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53ebd5)?_0x53ebd5[_0x2e28de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127ac8):_0x53ebd5&&typeof _0x53ebd5==_0x2e28de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e28de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53ebd5)[_0x2e28de([0x73,0x6f,0x72,0x74])]()[_0x2e28de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54efaa,_0x3ce8a1])=>{_0x363920(_0x54efaa),_0x127ac8(_0x3ce8a1);}):_0x363920(window[_0x2e28de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53ebd5));}return _0x127ac8(_0x221454),_0x1d9590>>>0x0;}function _0x33df8a(_0x2493fc){return _0x2493fc[_0x2e28de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e28de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e28de([0x30]));}function _0x459f92(_0x319f60){return _0x319f60[_0x2e28de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e28de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e28de([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a5210(){}function _0x2e28de(_0x450811){const _0x9d1c0a=_0x4b6b;return _0x450811[_0x9d1c0a(0x1f5)](_0x36dc67=>String[_0x9d1c0a(0x1cc)](_0x36dc67))[_0x9d1c0a(0x1c9)]('');}_0x425c3f(await _0xa9131b());}(this);}[_0x53aa88(0x1ed)](){const _0x5ec614=_0x53aa88,_0x1c74c3=this[_0x5ec614(0x1e7)][_0x5ec614(0x1b9)][_0x5ec614(0x1ff)];_0x1c74c3[_0x5ec614(0x1c8)](_0x5ec614(0x1c0))&&_0x1c74c3[_0x5ec614(0x1bc)](_0x5ec614(0x1c0),{'allowAttributes':[_0x5ec614(0x1fb)]}),_0x1c74c3[_0x5ec614(0x1c8)](_0x5ec614(0x1b8))&&_0x1c74c3[_0x5ec614(0x1bc)](_0x5ec614(0x1b8),{'allowAttributes':[_0x5ec614(0x1fb)]});}[_0x53aa88(0x1d1)](){const _0xac9591=_0x53aa88,_0x2be9ab=this[_0xac9591(0x1e7)];_0x2be9ab[_0xac9591(0x20b)][_0xac9591(0x1d4)](_0xac9591(0x1f1))[_0xac9591(0x1d2)]({'model':_0xac9591(0x1fb),'view':_0xac9591(0x1c6)}),_0x2be9ab[_0xac9591(0x20b)][_0xac9591(0x1d4)](_0xac9591(0x1f6))[_0xac9591(0x1f9)]({'model':{'key':_0xac9591(0x1fb),'value':_0x36152a=>_0x36152a[_0xac9591(0x200)](_0xac9591(0x1c6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5aa401=_0x2be9ab[_0xac9591(0x1e0)][_0xac9591(0x1f7)](_0xac9591(0x1cf));_0x5aa401&&this[_0xac9591(0x1cb)](_0x5aa401,_0xac9591(0x1e8),(_0xe9b8ae,[_0x32a658,_0x4dee09])=>{const _0x49837a=_0xac9591;_0x32a658[_0x49837a(0x20a)](_0x49837a(0x1fb),_0x4dee09);});}[_0x53aa88(0x1e9)](){const _0x3f4dff=_0x53aa88,_0x481a21=this[_0x3f4dff(0x1e7)][_0x3f4dff(0x201)][_0x3f4dff(0x1f7)](_0x3f4dff(0x1d6))||{},_0x2ea6fb=this[_0x3f4dff(0x1e7)][_0x3f4dff(0x201)][_0x3f4dff(0x1f7)](_0x3f4dff(0x1f4))||'';this[_0x3f4dff(0x1fa)]=_0x383e89(_0x2eca5b[_0x3f4dff(0x1cd)],_0x3f4dff(0x1bb),{..._0x481a21,'pubkey':_0x2ea6fb,'ctx-name':_0x3f4dff(0x208)+this[_0x3f4dff(0x1d9)],'sourceList':'','imgOnly':_0x3f4dff(0x1bd),'removeCopyright':_0x3f4dff(0x1bd),'localeName':this[_0x3f4dff(0x1e7)][_0x3f4dff(0x1e3)][_0x3f4dff(0x1d7)],'externalSourcesEmbedCss':_0x3f4dff(0x1c5)}),this[_0x3f4dff(0x1fa)][_0x3f4dff(0x1eb)]=_0x471b32=>{const _0x295115=_0x3f4dff;if(_0x295115(0x1d5)==_0x471b32)return _0x295115(0x1c3);},_0x2eca5b[_0x3f4dff(0x1cd)][_0x3f4dff(0x1be)][_0x3f4dff(0x1c4)](this[_0x3f4dff(0x1fa)]);}[_0x53aa88(0x1ef)](){const _0x479274=_0x53aa88;this[_0x479274(0x1c2)]=_0x383e89(_0x2eca5b[_0x479274(0x1cd)],_0x479274(0x207),{'ctx-name':_0x479274(0x208)+this[_0x479274(0x1d9)]}),_0x2eca5b[_0x479274(0x1cd)][_0x479274(0x1be)][_0x479274(0x1c4)](this[_0x479274(0x1c2)]);}[_0x53aa88(0x1da)](){const _0x2da998=_0x53aa88,_0x1cfb12=this[_0x2da998(0x1e7)][_0x2da998(0x1e0)][_0x2da998(0x1f7)](_0x2da998(0x1f2));_0x1cfb12&&this[_0x2da998(0x1cb)](_0x1cfb12,_0x2da998(0x1e1),()=>{const _0x35ab8=_0x2da998,_0x488e6b=this[_0x35ab8(0x1e7)][_0x35ab8(0x1b9)][_0x35ab8(0x1cd)][_0x35ab8(0x1e4)][_0x35ab8(0x1df)]();_0x488e6b&&_0x488e6b[_0x35ab8(0x200)](_0x35ab8(0x1fb))&&this[_0x35ab8(0x1e7)][_0x35ab8(0x1c7)][_0x35ab8(0x1dc)][_0x35ab8(0x1d0)](_0x35ab8(0x1e5),()=>{const _0x463b25=_0x35ab8;_0x4fcf85(this[_0x463b25(0x1e7)],_0x488e6b);});});const _0x5df119=this[_0x2da998(0x1e7)][_0x2da998(0x1e0)][_0x2da998(0x1f7)](_0x2da998(0x1de));_0x5df119&&this[_0x2da998(0x1cb)](_0x5df119,_0x2da998(0x1e1),()=>{const _0x1af5a5=_0x2da998,_0x403e40=this[_0x1af5a5(0x1e7)][_0x1af5a5(0x1b9)][_0x1af5a5(0x1cd)][_0x1af5a5(0x1e4)][_0x1af5a5(0x1df)]();_0x403e40&&_0x403e40[_0x1af5a5(0x200)](_0x1af5a5(0x1fb))&&this[_0x1af5a5(0x1e7)][_0x1af5a5(0x1c7)][_0x1af5a5(0x1dc)][_0x1af5a5(0x1d0)](_0x1af5a5(0x1e5),()=>{const _0x525b41=_0x1af5a5;_0x4fcf85(this[_0x525b41(0x1e7)],_0x403e40);});});}}
23
+ function _0x373f(){const _0x109fd9=['add','join','remove','cleanupImage','uploadcareImageReplace','UploadcareEditing','closeMax','attributeToAttribute','commands','contentLanguage','requires','appendChild','editor','imageBlock','_initSchema','editing','config','conversion','78kUvJEy','removeAttribute','init','for','782128iRAdsI','1281996mWQszV','extend','fromCharCode','pluginName','uc-upload-ctx-provider','afterInit','isOfficialPlugin','querySelector','_initImageProcessingIndicator','_initConfig','render','_initCtx','replaceImageSource','isRegistered','241790kfUPAE','ctxElement','execute','uploader-','3212153gWBLQb','downcast','schema','uploadcareImageId','_configElement','once','213912uJVjHh','ucContextId','imageInline','selection','uploadcare.uploader','\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','destroy','uploadcare.pubkey','uploadcare','getSelectedElement','get','uc-config','configElement','117322IcFZNc','input[uploadcare-file-input]','elementToAttribute','#uc-icon-arrow-down','_initConversion','model','href','insertImage','isPremiumPlugin','locale','map','_ctxElement','listenTo','iconHrefResolver','data-uc-image-id','upcast','document','getAttribute','view','body','PictureEditing','986432zKKNXR','true'];_0x373f=function(){return _0x109fd9;};return _0x373f();}const _0x531908=_0x4b03;(function(_0x23d67b,_0x53ae31){const _0x465023=_0x4b03,_0x3e56f2=_0x23d67b();while(!![]){try{const _0x5e63a1=-parseInt(_0x465023(0x9c))/0x1+parseInt(_0x465023(0xe2))/0x2+-parseInt(_0x465023(0xca))/0x3+-parseInt(_0x465023(0xc9))/0x4+parseInt(_0x465023(0xd8))/0x5*(parseInt(_0x465023(0xc5))/0x6)+parseInt(_0x465023(0xdc))/0x7+-parseInt(_0x465023(0xb1))/0x8;if(_0x5e63a1===_0x53ae31)break;else _0x3e56f2['push'](_0x3e56f2['shift']());}catch(_0x5da7a8){_0x3e56f2['push'](_0x3e56f2['shift']());}}}(_0x373f,0x50cf7));import{Plugin as _0x356f50}from'ckeditor5/src/core.js';function _0x4b03(_0x2c644f,_0x1d65a4){const _0x373ff0=_0x373f();return _0x4b03=function(_0x4b0390,_0x41b978){_0x4b0390=_0x4b0390-0x95;let _0x25b518=_0x373ff0[_0x4b0390];return _0x25b518;},_0x4b03(_0x2c644f,_0x1d65a4);}import{Dialog as _0x454200}from'ckeditor5/src/ui.js';import{createElement as _0x4653d6,global as _0x287720,uid as _0x26bf0f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a1a9f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1c4450}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e6e5d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x356f50{[_0x531908(0xe0)]=null;[_0x531908(0xa7)]=null;static get[_0x531908(0xcd)](){const _0x13fd8d=_0x531908;return _0x13fd8d(0xb8);}static get[_0x531908(0xbd)](){const _0x17d22b=_0x531908;return[_0x17d22b(0xb0),_0x1c4450,_0x454200];}static get[_0x531908(0xd0)](){return!0x0;}static get[_0x531908(0xa4)](){return!0x0;}[_0x531908(0xe3)];get[_0x531908(0x9b)](){const _0x575e2e=_0x531908;return this[_0x575e2e(0xe0)];}get[_0x531908(0xd9)](){const _0x177350=_0x531908;return this[_0x177350(0xa7)];}constructor(_0x90f73c){const _0x2fc3a4=_0x531908;super(_0x90f73c),this[_0x2fc3a4(0xe3)]=_0x26bf0f();}[_0x531908(0xc7)](){const _0x31f4e4=_0x531908,_0x263429=this[_0x31f4e4(0xbf)];_0x263429[_0x31f4e4(0xbb)][_0x31f4e4(0xb3)](_0x31f4e4(0x97),new _0x2a1a9f(_0x263429));}[_0x531908(0xcf)](){const _0x5a2db3=_0x531908;this[_0x5a2db3(0xc1)](),this[_0x5a2db3(0xa0)](),this[_0x5a2db3(0xd3)](),this[_0x5a2db3(0xd5)](),this[_0x5a2db3(0xd2)](),this[_0x5a2db3(0xa8)](this[_0x5a2db3(0xbf)],_0x5a2db3(0x95),()=>{const _0x3d2387=_0x5a2db3;this[_0x3d2387(0xe0)]&&(this[_0x3d2387(0xe0)][_0x3d2387(0xb5)](),this[_0x3d2387(0xe0)]=null),this[_0x3d2387(0xa7)]&&(this[_0x3d2387(0xa7)][_0x3d2387(0xb5)](),this[_0x3d2387(0xa7)]=null);const _0x2caefb=_0x287720[_0x3d2387(0xac)][_0x3d2387(0xd1)](_0x3d2387(0x9d));_0x2caefb&&_0x2caefb[_0x3d2387(0xb5)]();}),async function(_0x4d7e0d){const _0x44845d=_0x29c9fd([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x170a0b=0x535f8c3a,_0x3dc28d=0x53580832^_0x170a0b,_0x41ba1d=window[_0x29c9fd([0x44,0x61,0x74,0x65])][_0x29c9fd([0x6e,0x6f,0x77])](),_0x5897c3=_0x4d7e0d[_0x29c9fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17c753=new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25bd5b=>{_0x5897c3[_0x29c9fd([0x6f,0x6e,0x63,0x65])](_0x29c9fd([0x72,0x65,0x61,0x64,0x79]),_0x25bd5b);}),_0x3e8d77={[_0x29c9fd([0x6b,0x74,0x79])]:_0x29c9fd([0x45,0x43]),[_0x29c9fd([0x75,0x73,0x65])]:_0x29c9fd([0x73,0x69,0x67]),[_0x29c9fd([0x63,0x72,0x76])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36]),[_0x29c9fd([0x78])]:_0x29c9fd([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]),[_0x29c9fd([0x79])]:_0x29c9fd([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]),[_0x29c9fd([0x61,0x6c,0x67])]:_0x29c9fd([0x45,0x53,0x32,0x35,0x36])},_0x2264ad=_0x5897c3[_0x29c9fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29c9fd([0x67,0x65,0x74])](_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5967e(){let _0x50e405,_0x2ee408=null,_0x59ad52=null;try{if(_0x2264ad==_0x29c9fd([0x47,0x50,0x4c]))return _0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e405=_0x15fddf(),!_0x50e405)return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ad52=_0xb89980(_0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e405[_0x29c9fd([0x6a,0x74,0x69])])),await _0x58c191()?_0x2f0712()?_0x286fea()?_0x29c9fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c608f()?(_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ee408=_0x12f9d0(_0x29c9fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e04df()):_0x29c9fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x286fea(){const _0x303432=[_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29c9fd([0x74,0x72,0x69,0x61,0x6c])][_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41ba1d/0x3e8:0xe10*_0x3dc28d;return _0x50e405[_0x29c9fd([0x65,0x78,0x70])]<_0x303432;}function _0x2f0712(){const _0x4be829=_0x50e405[_0x29c9fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4be829&&(!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a]))||!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x55,0x50,0x4c,0x43])));}function _0x3c608f(){const _0x606c88=_0x4b03,_0x2a0d14=_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a0d14||0x0==_0x2a0d14[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x206f35}=new URL(window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x606c88(0xa2)]);if(_0x2a0d14[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x206f35))return!0x0;const _0xdeed7e=_0x206f35[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));return _0x2a0d14[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cdb53=>_0x4cdb53[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a])))[_0x29c9fd([0x6d,0x61,0x70])](_0x2d93b0=>_0x2d93b0[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])))[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8137=>_0x5e8137[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x6d,0x61,0x70])](_0x55272a=>Array(_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55272a[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x66,0x69,0x6c,0x6c])](_0x55272a[0x0]===_0x29c9fd([0x2a])?_0x29c9fd([0x2a]):'')[_0x29c9fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55272a))[_0x29c9fd([0x73,0x6f,0x6d,0x65])](_0x597acc=>_0xdeed7e[_0x29c9fd([0x65,0x76,0x65,0x72,0x79])]((_0x3a8355,_0x394333)=>_0x597acc[_0x394333]===_0x3a8355||_0x597acc[_0x394333]===_0x29c9fd([0x2a])));}function _0x2e04df(){return _0x2ee408&&_0x59ad52?new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44aeec,_0x339030)=>{_0x2ee408[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x44aeec,_0x339030),_0x59ad52[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x306745=>{_0x306745!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0x44aeec(_0x306745);},_0x339030);}):_0x2ee408||_0x59ad52||_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb89980(_0x1304de,_0x129ac8){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5569ed=>{if(_0x26b584())return _0x5569ed(_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]));_0x788262(),_0x5897c3[_0x29c9fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ce2c0=!0x1;const _0x49203b=_0x26bf0f();function _0x4c707a(_0x32f428){return!!_0x32f428&&(typeof _0x32f428===_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32f428===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32f428[_0x29c9fd([0x74,0x68,0x65,0x6e])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32f428[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0a92(_0x1a25ea){_0x555d99(_0x1a25ea)[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0xa27b5a=>{if(!_0xa27b5a||_0xa27b5a[_0x29c9fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29c9fd([0x6f,0x6b]))return _0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138538(_0x12d98d(_0x49203b+_0x129ac8))!=_0xa27b5a[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x134f53=>(_0x230122(),_0x134f53),()=>{const _0x5640c1=_0x5e44fd();return null==_0x5640c1?(_0x230122(),_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])):_0x29c9fd(_0x41ba1d-_0x5640c1>(0x7753083a^_0x170a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x5569ed)[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e690=0x536962ba^_0x170a0b;function _0x230122(){const _0x448ca6=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x32dcd6=_0x5d2186(_0x138538(window[_0x29c9fd([0x4d,0x61,0x74,0x68])][_0x29c9fd([0x63,0x65,0x69,0x6c])](_0x41ba1d/_0x33e690)));window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448ca6,_0x32dcd6);}function _0x5e44fd(){const _0x112cae=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x1acc44=window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112cae);return _0x1acc44?window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d2186(_0x1acc44),0x10)*_0x33e690:null;}function _0x555d99(_0x364743){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2be377,_0x104b4a)=>{_0x364743[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x2be377,_0x104b4a),window[_0x29c9fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104b4a,0x535e58fa^_0x170a0b);});}}_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x85a7fe,_0x596509)=>{if(_0x596509[0x0]!=_0x1304de)return _0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x596509[0x1]={..._0x596509[0x1],[_0x29c9fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49203b};},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x68,0x69,0x67,0x68])}),_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x210ec1=>{_0x4c707a(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ce2c0=!0x0,_0x4a0a92(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x6c,0x6f,0x77])}),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>{_0x5ce2c0||_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b584(){return _0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29c9fd([0x61,0x75,0x74,0x6f]);}function _0x788262(){_0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29c9fd([0x61,0x75,0x74,0x6f]);}}function _0x12f9d0(_0x19e9bb){const _0x2844a1=[new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3519=>setTimeout(_0x5f3519,0x5356b2f6^_0x170a0b)),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9d61=>{let _0x12018d=0x0;_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7b1185,_0x4347f4)=>{_0x4347f4[0x0][_0x29c9fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12018d++,_0x12018d==(0x535f89d2^_0x170a0b)&&(_0x4c9d61(),_0x7b1185[_0x29c9fd([0x6f,0x66,0x66])]());});}))];return window[_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29c9fd([0x72,0x61,0x63,0x65])](_0x2844a1)[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>_0x19e9bb);}async function _0xd66db(){await _0x17c753,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a408d(_0x3ec2ba){const _0x3c716e=_0x1810ff();_0x5897c3[_0x3c716e]=_0x29c9fd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ec2ba,_0x3ec2ba!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0xd66db();}function _0x1810ff(){const _0x8a3ba8=window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29c9fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29c9fd([0x6e,0x6f,0x77])]())[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29c9fd([0x2e]),'');let _0x58c743=_0x29c9fd([0x68]);for(let _0x1d0ebd=0x0;_0x1d0ebd<_0x8a3ba8[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0ebd+=0x2){let _0x5004c7=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a3ba8[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0ebd,_0x1d0ebd+0x2));_0x5004c7>=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5004c7-=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58c743+=_0x44845d[_0x5004c7];}return _0x58c743;}function _0x15fddf(){const _0x44fae5=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));if(0x3!=_0x44fae5[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x164ca3(_0x44fae5[0x1]);function _0x164ca3(_0x4e6109){const _0x2e8614=_0x54514e(_0x4e6109);return _0x2e8614&&_0xb0ad12()?_0x2e8614:null;function _0xb0ad12(){const _0x3377c9=_0x2e8614[_0x29c9fd([0x6a,0x74,0x69])],_0x4b0c17=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d0523={..._0x2e8614,[_0x29c9fd([0x6a,0x74,0x69])]:_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d0523[_0x29c9fd([0x76,0x63])],_0x12d98d(_0x5d0523)==_0x4b0c17;}}}async function _0x58c191(){let _0x2b6d6b=!0x0;try{const _0x28b48d=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])),[_0x2edacb,_0x4fbfff,_0x28da46]=_0x28b48d;return _0x25ff15(_0x2edacb),await _0x34afe8(_0x2edacb,_0x4fbfff,_0x28da46),_0x2b6d6b;}catch{return!0x1;}function _0x25ff15(_0x4122f1){const _0xc37de1=_0x54514e(_0x4122f1);_0xc37de1&&_0xc37de1[_0x29c9fd([0x61,0x6c,0x67])]==_0x29c9fd([0x45,0x53,0x32,0x35,0x36])||(_0x2b6d6b=!0x1);}async function _0x34afe8(_0x36085f,_0x5b4789,_0x406eb5){const _0x375c5a=window[_0x29c9fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29c9fd([0x66,0x72,0x6f,0x6d])](_0x4d508b(_0x406eb5),_0x4cdff0=>_0x4cdff0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47884c=new window[(_0x29c9fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29c9fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36085f+_0x29c9fd([0x2e])+_0x5b4789),_0x3c1453=window[_0x29c9fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29c9fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c1453)return;const _0x4879e5=await _0x3c1453[_0x29c9fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29c9fd([0x6a,0x77,0x6b]),_0x3e8d77,{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c1453[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x68,0x61,0x73,0x68])]:{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4879e5,_0x375c5a,_0x47884c)||(_0x2b6d6b=!0x1);}}function _0x54514e(_0x1b9211){return _0x1b9211[_0x29c9fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29c9fd([0x65,0x79]))?JSON[_0x29c9fd([0x70,0x61,0x72,0x73,0x65])](_0x4d508b(_0x1b9211)):null;}function _0x4d508b(_0x2d78d0){return window[_0x29c9fd([0x61,0x74,0x6f,0x62])](_0x2d78d0[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29c9fd([0x2b]))[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29c9fd([0x2f])));}function _0x12d98d(_0x5be3c9){let _0x3d93db=0x1505;function _0x4ccac3(_0x4671f0){for(let _0x801abe=0x0;_0x801abe<_0x4671f0[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x801abe++){const _0x5f4314=_0x4671f0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x801abe);_0x3d93db=(_0x3d93db<<0x5)+_0x3d93db+_0x5f4314,_0x3d93db&=_0x3d93db;}}function _0x15c45b(_0x24d03b){Array[_0x29c9fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24d03b)?_0x24d03b[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c45b):_0x24d03b&&typeof _0x24d03b==_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29c9fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24d03b)[_0x29c9fd([0x73,0x6f,0x72,0x74])]()[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5da2a1,_0x4f76bd])=>{_0x4ccac3(_0x5da2a1),_0x15c45b(_0x4f76bd);}):_0x4ccac3(window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24d03b));}return _0x15c45b(_0x5be3c9),_0x3d93db>>>0x0;}function _0x138538(_0x513458){return _0x513458[_0x29c9fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29c9fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29c9fd([0x30]));}function _0x5d2186(_0x5314c6){return _0x5314c6[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29c9fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29c9fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x201587(){}function _0x29c9fd(_0x223414){const _0x73e6f8=_0x4b03;return _0x223414[_0x73e6f8(0xa6)](_0x30d2d0=>String[_0x73e6f8(0xcc)](_0x30d2d0))[_0x73e6f8(0xb4)]('');}_0x3a408d(await _0xd5967e());}(this);}[_0x531908(0xc1)](){const _0x1b2cb7=_0x531908,_0x699a31=this[_0x1b2cb7(0xbf)][_0x1b2cb7(0xa1)][_0x1b2cb7(0xde)];_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xc0))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xc0),{'allowAttributes':[_0x1b2cb7(0xdf)]}),_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xe4))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xe4),{'allowAttributes':[_0x1b2cb7(0xdf)]});}[_0x531908(0xa0)](){const _0x49ecc6=_0x531908,_0x5a4d5f=this[_0x49ecc6(0xbf)];_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xdd))[_0x49ecc6(0xba)]({'model':_0x49ecc6(0xdf),'view':_0x49ecc6(0xaa)}),_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xab))[_0x49ecc6(0x9e)]({'model':{'key':_0x49ecc6(0xdf),'value':_0x2663be=>_0x2663be[_0x49ecc6(0xad)](_0x49ecc6(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f0707=_0x5a4d5f[_0x49ecc6(0xbb)][_0x49ecc6(0x99)](_0x49ecc6(0xd6));_0x2f0707&&this[_0x49ecc6(0xa8)](_0x2f0707,_0x49ecc6(0xb6),(_0x5bda37,[_0x404d7e,_0x4f87df])=>{const _0x274cc4=_0x49ecc6;_0x404d7e[_0x274cc4(0xc6)](_0x274cc4(0xdf),_0x4f87df);});}[_0x531908(0xd3)](){const _0x528ccb=_0x531908,_0x3fcc76=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0xe6))||{},_0x3e3aee=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0x96))||'';this[_0x528ccb(0xe0)]=_0x4653d6(_0x287720[_0x528ccb(0xac)],_0x528ccb(0x9a),{..._0x3fcc76,'pubkey':_0x3e3aee,'ctx-name':_0x528ccb(0xdb)+this[_0x528ccb(0xe3)],'sourceList':'','imgOnly':_0x528ccb(0xb2),'removeCopyright':_0x528ccb(0xb2),'localeName':this[_0x528ccb(0xbf)][_0x528ccb(0xa5)][_0x528ccb(0xbc)],'externalSourcesEmbedCss':_0x528ccb(0xe7)}),this[_0x528ccb(0xe0)][_0x528ccb(0xa9)]=_0x325e5b=>{const _0x38d1b3=_0x528ccb;if(_0x38d1b3(0xb9)==_0x325e5b)return _0x38d1b3(0x9f);},_0x287720[_0x528ccb(0xac)][_0x528ccb(0xaf)][_0x528ccb(0xbe)](this[_0x528ccb(0xe0)]);}[_0x531908(0xd5)](){const _0x35a9c8=_0x531908;this[_0x35a9c8(0xa7)]=_0x4653d6(_0x287720[_0x35a9c8(0xac)],_0x35a9c8(0xce),{'ctx-name':_0x35a9c8(0xdb)+this[_0x35a9c8(0xe3)]}),_0x287720[_0x35a9c8(0xac)][_0x35a9c8(0xaf)][_0x35a9c8(0xbe)](this[_0x35a9c8(0xa7)]);}[_0x531908(0xd2)](){const _0x5b3247=_0x531908,_0x10c474=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xa3));_0x10c474&&this[_0x5b3247(0xa8)](_0x10c474,_0x5b3247(0xda),()=>{const _0x53d74f=_0x5b3247,_0x46e7a3=this[_0x53d74f(0xbf)][_0x53d74f(0xa1)][_0x53d74f(0xac)][_0x53d74f(0xe5)][_0x53d74f(0x98)]();_0x46e7a3&&_0x46e7a3[_0x53d74f(0xad)](_0x53d74f(0xdf))&&this[_0x53d74f(0xbf)][_0x53d74f(0xc2)][_0x53d74f(0xae)][_0x53d74f(0xe1)](_0x53d74f(0xd4),()=>{const _0x1eeaea=_0x53d74f;_0x2e6e5d(this[_0x1eeaea(0xbf)],_0x46e7a3);});});const _0x3c58ff=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xb7));_0x3c58ff&&this[_0x5b3247(0xa8)](_0x3c58ff,_0x5b3247(0xda),()=>{const _0x72b1af=_0x5b3247,_0x173a3d=this[_0x72b1af(0xbf)][_0x72b1af(0xa1)][_0x72b1af(0xac)][_0x72b1af(0xe5)][_0x72b1af(0x98)]();_0x173a3d&&_0x173a3d[_0x72b1af(0xad)](_0x72b1af(0xdf))&&this[_0x72b1af(0xbf)][_0x72b1af(0xc2)][_0x72b1af(0xae)][_0x72b1af(0xe1)](_0x72b1af(0xd4),()=>{const _0xb3c977=_0x72b1af;_0x2e6e5d(this[_0xb3c977(0xbf)],_0x173a3d);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x58318f,ObservableMixin as _0x19a88f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x503e3d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x25135f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x109544}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x30f425}from'../../utils/uploadutils.js';import{getImageUrls as _0x49d6b2,getImageDimension as _0x2fe0fc}from'../../utils/editingutils.js';import{isAncestor as _0x415f52}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x19a88f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4620c2,_0x45b20b,_0x1b4da9){super(),this['_editor']=_0x4620c2,this['_dialog']=_0x45b20b,this['_imageElement']=_0x1b4da9,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 _0x331659=this['_imageElement'],_0x118907=_0x331659['getAttribute']('uploadcareImageId'),_0x2fee63=_0x331659['getAttribute']('src');if(_0x118907)await this['_loadImageInfo'](_0x118907,_0x2fee63);else{if(this['_imageCache']['has'](_0x2fee63)){const _0x2aa9f9=this['_imageCache']['get'](_0x2fee63);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aa9f9['url'],this['imageDimension']=_0x2aa9f9['dimension'],this['imageId']=_0x2aa9f9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xfeb7c}=this['_editor'],t=_0xfeb7c['t'],_0x511398=new _0x109544(_0xfeb7c,this['imageStatus'],this['_attributes']);_0x511398['bind']('status')['to'](this,'imageStatus'),_0x511398['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x511398['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x511398['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x511398,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x25135f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x511398,'position':_0x503e3d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x511398['focus']();},'onHide':()=>{_0x511398['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1783e5=>!_0x415f52(_0x1783e5,_0x511398['element'])}});}['_loadImageInfo'](_0x30566b,_0x2df9ff){return _0x30f425['getInfo'](_0x30566b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xb2a1cd=>{const {width:_0x37799b,height:_0x5ecdf1}=_0xb2a1cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2df9ff,this['imageDimension']={'width':_0x37799b,'height':_0x5ecdf1},this['imageId']=_0x30566b;})['catch'](_0xdca936=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xdca936['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x205d91,_0x2eb53b){return this['_getImageAsFile'](_0x205d91)['then'](_0x1d718e=>_0x30f425['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2eb53b['signal'],'file':_0x1d718e,'onProgress':_0x2b9980=>{_0x2b9980&&_0x2b9980['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b9980['value']));}}))['then'](_0x29d142=>{const {width:_0x4cfae9,height:_0x16c768}=_0x29d142['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29d142['cdnUrl'],this['imageDimension']={'width':_0x4cfae9,'height':_0x16c768},this['imageId']=_0x29d142['uuid'],this['imageUploadProgress']=null;const _0x2f0a03=_0x205d91['getAttribute']('src');this['_imageCache']['set'](_0x2f0a03,{'id':_0x29d142['uuid'],'url':_0x29d142['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x185db3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x185db3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x247f6c,_0x1a3bd9){_0x247f6c['on']('apply',(_0x713945,_0x2d693f)=>{this['_replaceImage'](_0x1a3bd9,_0x2d693f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x247f6c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x247f6c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xc5b1cc,_0x1f9cb8,_0x115172){const _0x4299c9=this['_editor'],{width:_0x1f60e0,height:_0x36b4b6}=_0x2fe0fc(_0x1f9cb8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5a7eed,imageSources:_0x1da1f8}=_0x49d6b2(_0x1f9cb8,_0x1f60e0);_0x4299c9['model']['change'](_0x48196e=>{if('$graveyard'===_0xc5b1cc['root']['rootName']){_0x4299c9['execute']('insertImage',{'imageType':_0xc5b1cc['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xc5b1cc['getAttributes']()),'uploadcareImageId':_0x115172,'src':_0x5a7eed,'sources':_0x1da1f8,'width':_0x1f60e0,'height':_0x36b4b6}});const _0x19484f=_0xc5b1cc['getChildren']();_0xc5b1cc=_0x4299c9['model']['document']['selection']['getSelectedElement']();for(const _0x3cf731 of _0x19484f)_0x48196e['append'](_0x48196e['cloneElement'](_0x3cf731),_0xc5b1cc);}else _0x48196e['setSelection'](_0xc5b1cc,'on'),_0x4299c9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xc5b1cc['getAttributes']()),'uploadcareImageId':_0x115172,'src':_0x5a7eed,'sources':_0x1da1f8,'width':_0x1f60e0,'height':_0x36b4b6},_0xc5b1cc);_0x48196e['setSelection'](_0xc5b1cc,'on');});}async['_getImageAsFile'](_0x321f53){const _0x527d6b=_0x58318f['window'],_0x56e148=_0x58318f['document']['location']['href'],_0x2e2e98=new _0x527d6b['URL'](_0x321f53['getAttribute']('src'),_0x56e148);if('data:'===_0x2e2e98['protocol']){const _0x31b281=_0x2e2e98['href']['split'](','),_0x146a66=_0x31b281[0x0]['match'](/:(.*?);/)[0x1],_0xc61bd0=_0x146a66['split']('/')[0x1],_0x305513=_0x527d6b['atob'](_0x31b281[_0x31b281['length']-0x1]);let _0x3c2c8c=_0x305513['length'];const _0x526b73=new _0x527d6b['Uint8Array'](_0x3c2c8c);for(;_0x3c2c8c--;)_0x526b73[_0x3c2c8c]=_0x305513['charCodeAt'](_0x3c2c8c);return new _0x527d6b['File']([_0x526b73],'image.'+_0xc61bd0,{'type':_0x146a66});}const _0x2a4df6=_0x2e2e98['href']['split']('/'),_0x3582e6=_0x2a4df6[_0x2a4df6['length']-0x1],_0x548b4f=_0x3582e6['split']('.')[0x1];return _0x527d6b['fetch'](_0x2e2e98['href'])['then'](_0x84f94d=>_0x84f94d['clone']()['blob']())['then'](_0x42dc89=>new _0x527d6b['File']([_0x42dc89],_0x3582e6,{'type':'image/'+_0x548b4f}));}}
23
+ import{global as _0x3f6bda,ObservableMixin as _0x55e871}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3a8a6b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1509d8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3beb4d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5d195d}from'../../utils/uploadutils.js';import{getImageUrls as _0x5ca186,getImageDimension as _0x3cdb0c}from'../../utils/editingutils.js';import{isAncestor as _0x19d834}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x55e871(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c7b9a,_0xc943f9,_0x210533){super(),this['_editor']=_0x2c7b9a,this['_dialog']=_0xc943f9,this['_imageElement']=_0x210533,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 _0x587c02=this['_imageElement'],_0x9b729e=_0x587c02['getAttribute']('uploadcareImageId'),_0x21c1ee=_0x587c02['getAttribute']('src');if(_0x9b729e)await this['_loadImageInfo'](_0x9b729e,_0x21c1ee);else{if(this['_imageCache']['has'](_0x21c1ee)){const _0x55c987=this['_imageCache']['get'](_0x21c1ee);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55c987['url'],this['imageDimension']=_0x55c987['dimension'],this['imageId']=_0x55c987['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x152cdb}=this['_editor'],t=_0x152cdb['t'],_0x3056ca=new _0x3beb4d(_0x152cdb,this['imageStatus'],this['_attributes']);_0x3056ca['bind']('status')['to'](this,'imageStatus'),_0x3056ca['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3056ca['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3056ca['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3056ca,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1509d8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3056ca,'position':_0x3a8a6b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3056ca['focus']();},'onHide':()=>{_0x3056ca['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ee9c7=>!_0x19d834(_0x3ee9c7,_0x3056ca['element'])}});}['_loadImageInfo'](_0x9c3afa,_0x1bd058){return _0x5d195d['getInfo'](_0x9c3afa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xab6012=>{const {width:_0x222c71,height:_0x2ad3b9}=_0xab6012['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bd058,this['imageDimension']={'width':_0x222c71,'height':_0x2ad3b9},this['imageId']=_0x9c3afa;})['catch'](_0x28dad6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28dad6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x432b8f,_0x327127){return this['_getImageAsFile'](_0x432b8f)['then'](_0x40726a=>_0x5d195d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x327127['signal'],'file':_0x40726a,'onProgress':_0x870a2b=>{_0x870a2b&&_0x870a2b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x870a2b['value']));}}))['then'](_0x23c637=>{const {width:_0x58ad36,height:_0x152b4c}=_0x23c637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23c637['cdnUrl'],this['imageDimension']={'width':_0x58ad36,'height':_0x152b4c},this['imageId']=_0x23c637['uuid'],this['imageUploadProgress']=null;const _0x5ddaf6=_0x432b8f['getAttribute']('src');this['_imageCache']['set'](_0x5ddaf6,{'id':_0x23c637['uuid'],'url':_0x23c637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51411b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51411b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18576b,_0x49718e){_0x18576b['on']('apply',(_0x505596,_0x45b578)=>{this['_replaceImage'](_0x49718e,_0x45b578['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18576b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18576b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d65e2,_0x3718ac,_0x25633f){const _0x36ae80=this['_editor'],{width:_0x33af6a,height:_0x544c73}=_0x3cdb0c(_0x3718ac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e1f75,imageSources:_0x4debb2}=_0x5ca186(_0x3718ac,_0x33af6a);_0x36ae80['model']['change'](_0x1c6e15=>{if('$graveyard'===_0x3d65e2['root']['rootName']){_0x36ae80['execute']('insertImage',{'imageType':_0x3d65e2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73}});const _0x227af7=_0x3d65e2['getChildren']();_0x3d65e2=_0x36ae80['model']['document']['selection']['getSelectedElement']();for(const _0xdf630 of _0x227af7)_0x1c6e15['append'](_0x1c6e15['cloneElement'](_0xdf630),_0x3d65e2);}else _0x1c6e15['setSelection'](_0x3d65e2,'on'),_0x36ae80['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73},_0x3d65e2);_0x1c6e15['setSelection'](_0x3d65e2,'on');});}async['_getImageAsFile'](_0xb6d153){const _0x46e057=_0x3f6bda['window'],_0x51bd50=_0x3f6bda['document']['location']['href'],_0x145800=new _0x46e057['URL'](_0xb6d153['getAttribute']('src'),_0x51bd50);if('data:'===_0x145800['protocol']){const _0x46c04d=_0x145800['href']['split'](','),_0x21452d=_0x46c04d[0x0]['match'](/:(.*?);/)[0x1],_0x387fcb=_0x21452d['split']('/')[0x1],_0x3e2f13=_0x46e057['atob'](_0x46c04d[_0x46c04d['length']-0x1]);let _0x1b10fe=_0x3e2f13['length'];const _0x51a7ab=new _0x46e057['Uint8Array'](_0x1b10fe);for(;_0x1b10fe--;)_0x51a7ab[_0x1b10fe]=_0x3e2f13['charCodeAt'](_0x1b10fe);return new _0x46e057['File']([_0x51a7ab],'image.'+_0x387fcb,{'type':_0x21452d});}const _0x3c18c1=_0x145800['href']['split']('/'),_0x5c6c73=_0x3c18c1[_0x3c18c1['length']-0x1],_0x2b8243=_0x5c6c73['split']('.')[0x1];return _0x46e057['fetch'](_0x145800['href'])['then'](_0x165c5b=>_0x165c5b['clone']()['blob']())['then'](_0x44b6f6=>new _0x46e057['File']([_0x44b6f6],_0x5c6c73,{'type':'image/'+_0x2b8243}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5c590,_0x359813){const _0x5866f1=_0x4708,_0x55717a=_0x5c590();while(!![]){try{const _0x43d987=parseInt(_0x5866f1(0x139))/0x1+-parseInt(_0x5866f1(0x134))/0x2+-parseInt(_0x5866f1(0x13c))/0x3*(-parseInt(_0x5866f1(0x13e))/0x4)+parseInt(_0x5866f1(0x130))/0x5+parseInt(_0x5866f1(0x12e))/0x6+parseInt(_0x5866f1(0x133))/0x7+parseInt(_0x5866f1(0x136))/0x8*(-parseInt(_0x5866f1(0x131))/0x9);if(_0x43d987===_0x359813)break;else _0x55717a['push'](_0x55717a['shift']());}catch(_0x24112c){_0x55717a['push'](_0x55717a['shift']());}}}(_0x35d3,0x72082));import{View as _0x102844}from'ckeditor5/src/ui.js';function _0x4708(_0x522ac5,_0x3f80c6){const _0x35d3b5=_0x35d3();return _0x4708=function(_0x4708de,_0x20dba9){_0x4708de=_0x4708de-0x12e;let _0x3f0521=_0x35d3b5[_0x4708de];return _0x3f0521;},_0x4708(_0x522ac5,_0x3f80c6);}function _0x35d3(){const _0xede055=['1366170jfleND','33174TGSSEw','setTemplate','1672370JXjfyj','1358476phgdmO','image-edit','904yKlpbi','imageSrc','bindTemplate','128284XJziWH','set','uc-cloud-image-editor','9wiRFgq','ck-uploadcare-theme','92764lCnbqr','5116974huuxZM','uc-light'];_0x35d3=function(){return _0xede055;};return _0x35d3();}export class UploadcareImageEditFormEditingView extends _0x102844{constructor(_0x35c454,_0xed2d8e){const _0x46d82a=_0x4708;super(_0x35c454);const _0x4ef04a=this[_0x46d82a(0x138)];this[_0x46d82a(0x13a)](_0x46d82a(0x137),''),this[_0x46d82a(0x132)]({'tag':_0x46d82a(0x13b),'attributes':{..._0xed2d8e,'class':[_0x46d82a(0x12f),_0x46d82a(0x13d)],'ctx-name':_0x46d82a(0x135),'cdn-url':_0x4ef04a['to'](_0x46d82a(0x137))}});}}
23
+ (function(_0x13c022,_0xb09df5){const _0x4aca55=_0x4b9a,_0x5ccedb=_0x13c022();while(!![]){try{const _0x3d40b0=parseInt(_0x4aca55(0x129))/0x1+-parseInt(_0x4aca55(0x12f))/0x2+-parseInt(_0x4aca55(0x131))/0x3*(parseInt(_0x4aca55(0x130))/0x4)+parseInt(_0x4aca55(0x123))/0x5+parseInt(_0x4aca55(0x125))/0x6+-parseInt(_0x4aca55(0x127))/0x7+parseInt(_0x4aca55(0x12b))/0x8*(-parseInt(_0x4aca55(0x12e))/0x9);if(_0x3d40b0===_0xb09df5)break;else _0x5ccedb['push'](_0x5ccedb['shift']());}catch(_0xcda1ce){_0x5ccedb['push'](_0x5ccedb['shift']());}}}(_0xa5a2,0xacbf6));import{View as _0x37edd6}from'ckeditor5/src/ui.js';function _0xa5a2(){const _0x4c3c0d=['1076974iYbMxu','48312gcUDsC','81SPNPri','bindTemplate','set','1811820vZgPnK','uc-light','2674962NrpzCR','imageSrc','611331aeujkd','setTemplate','1407073zfGEeg','ck-uploadcare-theme','23776VBzPHy','uc-cloud-image-editor','image-edit','1683VgxKRK'];_0xa5a2=function(){return _0x4c3c0d;};return _0xa5a2();}function _0x4b9a(_0x5a404f,_0x4abfbd){const _0xa5a226=_0xa5a2();return _0x4b9a=function(_0x4b9a05,_0x2079ac){_0x4b9a05=_0x4b9a05-0x123;let _0x506939=_0xa5a226[_0x4b9a05];return _0x506939;},_0x4b9a(_0x5a404f,_0x4abfbd);}export class UploadcareImageEditFormEditingView extends _0x37edd6{constructor(_0x1c4f17,_0x1079bb){const _0x1833e1=_0x4b9a;super(_0x1c4f17);const _0x31f197=this[_0x1833e1(0x132)];this[_0x1833e1(0x133)](_0x1833e1(0x126),''),this[_0x1833e1(0x128)]({'tag':_0x1833e1(0x12c),'attributes':{..._0x1079bb,'class':[_0x1833e1(0x124),_0x1833e1(0x12a)],'ctx-name':_0x1833e1(0x12d),'cdn-url':_0x31f197['to'](_0x1833e1(0x126))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3c278c}from'ckeditor5/src/icons.js';import{ButtonView as _0x454a5d,IconView as _0x1b20d5,View as _0x4d04a1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4d04a1{constructor(_0x198735){super(_0x198735);const t=_0x198735['t'];this['set']('errorType',null);const _0x109326=new _0x454a5d(_0x198735);_0x109326['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x109326['withText']=!0x0,_0x109326['class']='ck-button-action',_0x109326['on']('execute',()=>{this['fire']('retry');}),_0x109326['bind']('isVisible')['to'](this,'errorType',_0x25458b=>'NotFound'!==_0x25458b);const _0x27d461=new _0x1b20d5();_0x27d461['content']=_0x3c278c,_0x27d461['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a99ee=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':[_0x27d461,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a99ee['to']('errorType',_0x1442ff=>t('NotFound'!==_0x1442ff?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x109326]},{'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 _0x1ffc60}from'ckeditor5/src/icons.js';import{ButtonView as _0x317303,IconView as _0x1b041a,View as _0x8aadc2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x8aadc2{constructor(_0x354df8){super(_0x354df8);const t=_0x354df8['t'];this['set']('errorType',null);const _0x3252bb=new _0x317303(_0x354df8);_0x3252bb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3252bb['withText']=!0x0,_0x3252bb['class']='ck-button-action',_0x3252bb['on']('execute',()=>{this['fire']('retry');}),_0x3252bb['bind']('isVisible')['to'](this,'errorType',_0x3efd5f=>'NotFound'!==_0x3efd5f);const _0x33c5bd=new _0x1b041a();_0x33c5bd['content']=_0x1ffc60,_0x33c5bd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52192d=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':[_0x33c5bd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52192d['to']('errorType',_0x451033=>t('NotFound'!==_0x451033?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3252bb]},{'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 _0x6a95dd,View as _0x40a3c7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x40a3c7{constructor(_0x23a943){super(_0x23a943);const t=_0x23a943['t'],_0xe0c0f8=this['bindTemplate'],_0x120716=new _0x6a95dd();_0x120716['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':[_0x120716,{'text':_0xe0c0f8['to']('imageUploadProgress',_0x5bb07d=>t('Loading\x20image...')+'\x20('+(_0x5bb07d||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 _0x10f515,View as _0x1905e8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1905e8{constructor(_0x4ba87f){super(_0x4ba87f);const t=_0x4ba87f['t'],_0x4dd74=this['bindTemplate'],_0x52f01d=new _0x10f515();_0x52f01d['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':[_0x52f01d,{'text':_0x4dd74['to']('imageUploadProgress',_0x1ee9c0=>t('Loading\x20image...')+'\x20('+(_0x1ee9c0||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 _0x509f(_0x334777,_0x5e26a0){const _0x55e4a9=_0x55e4();return _0x509f=function(_0x509f49,_0x37c991){_0x509f49=_0x509f49-0xd9;let _0x54d8bb=_0x55e4a9[_0x509f49];return _0x54d8bb;},_0x509f(_0x334777,_0x5e26a0);}const _0x27fe5e=_0x509f;(function(_0x980acb,_0x58aa9d){const _0x362411=_0x509f,_0x5ea40a=_0x980acb();while(!![]){try{const _0x5f55c6=-parseInt(_0x362411(0xfe))/0x1*(parseInt(_0x362411(0xdf))/0x2)+parseInt(_0x362411(0xf0))/0x3*(-parseInt(_0x362411(0xfc))/0x4)+-parseInt(_0x362411(0x104))/0x5+-parseInt(_0x362411(0xec))/0x6+-parseInt(_0x362411(0x10b))/0x7+-parseInt(_0x362411(0xf8))/0x8+parseInt(_0x362411(0xdc))/0x9;if(_0x5f55c6===_0x58aa9d)break;else _0x5ea40a['push'](_0x5ea40a['shift']());}catch(_0x3d6303){_0x5ea40a['push'](_0x5ea40a['shift']());}}}(_0x55e4,0x584dd));import{View as _0x4bd0fd}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1a1d7b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x910dec}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x27c434}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3c9fb5}from'../../utils/dialogfocusmanagerview.js';function _0x55e4(){const _0x7e3d6=['_items','ready','addedNodes','6wmenxV','_loadingView','detail','_waitForImageEditorComponent','addMany','uc-cloud-image-editor','div','_addUploadcareImageEditorListeners','1227576DtrVhc','addEventListener','setTemplate','uploading','1130996FgWMpT','_errorView','14783SnIJVn','change:status','_addErrorViewListeners','length','focus','target','1819860pdfAiK','disconnect','nodeName','querySelector','add','ck-reset_all-excluded','fire','2251578nxthEp','_editingView','observe','createCollection','status','filter','retry','24570864wmyzlB','set','once','74PUmeSg','element','render','cancel','getFocusableElement','error','apply','toLowerCase','_setView','_focusableView','ck-uploadcare-form','clear','cdnUrl','2501166PsznNV'];_0x55e4=function(){return _0x7e3d6;};return _0x55e4();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3c9fb5{[_0x27fe5e(0xed)];[_0x27fe5e(0xf1)];[_0x27fe5e(0xfd)];[_0x27fe5e(0x10c)];[_0x27fe5e(0xe8)];constructor(_0x4a8bd1,_0x1a3005,_0x4f40e0){const _0x1e817c=_0x27fe5e;super(_0x4a8bd1),this[_0x1e817c(0xed)]=this[_0x1e817c(0x10e)](),this[_0x1e817c(0xf1)]=new _0x1a1d7b(_0x4a8bd1),this[_0x1e817c(0xfd)]=new _0x910dec(_0x4a8bd1),this[_0x1e817c(0x10c)]=new _0x27c434(_0x4a8bd1,_0x4f40e0),this[_0x1e817c(0xe8)]=new _0x4bd0fd(_0x4a8bd1),this[_0x1e817c(0xe8)][_0x1e817c(0xfa)](this[_0x1e817c(0xe3)]()),this[_0x1e817c(0xdd)](_0x1e817c(0xd9),_0x1a3005),this[_0x1e817c(0xfa)]({'tag':_0x1e817c(0xf6),'attributes':{'class':['ck',_0x1e817c(0x109),_0x1e817c(0xe9)],'tabindex':'-1'},'children':this[_0x1e817c(0xed)]}),this[_0x1e817c(0xe7)](),this[_0x1e817c(0xde)](_0x1e817c(0xe1),()=>{const _0x40605a=_0x1e817c;this[_0x40605a(0xf3)](this[_0x40605a(0xe0)],_0x3c1f8b=>{const _0x5d938b=_0x40605a;this[_0x5d938b(0xf7)](_0x3c1f8b);});}),this['on'](_0x1e817c(0xff),()=>{const _0x2bcf76=_0x1e817c;this[_0x2bcf76(0xe7)]();}),this[_0x1e817c(0x100)]();}[_0x27fe5e(0x102)](){const _0x495a56=_0x27fe5e;this[_0x495a56(0xe0)][_0x495a56(0x102)]();}[_0x27fe5e(0xe7)](){const _0x153c07=_0x27fe5e;switch(this[_0x153c07(0xed)][_0x153c07(0xea)](),this[_0x153c07(0xd9)]){case _0x153c07(0xfb):this[_0x153c07(0xed)][_0x153c07(0x108)](this[_0x153c07(0xf1)]);break;case _0x153c07(0xe4):this[_0x153c07(0xed)][_0x153c07(0x108)](this[_0x153c07(0xfd)]);break;case _0x153c07(0xee):this[_0x153c07(0xed)][_0x153c07(0xf4)]([this[_0x153c07(0x10c)],this[_0x153c07(0xe8)]]);}}[_0x27fe5e(0xf3)](_0xbfa2e3,_0x394266){const _0x351b58=_0x27fe5e,_0x45aa10=_0x351b58(0xf5),_0x53d587=_0xbfa2e3[_0x351b58(0x107)](_0x45aa10);if(_0x53d587)return _0x394266(_0x53d587);const _0x1d5841=new MutationObserver(_0x35900e=>{const _0x2ef2c2=_0x351b58,_0x3de76b=_0x35900e[_0x2ef2c2(0xda)](_0x46b6ce=>_0x46b6ce[_0x2ef2c2(0x103)]===_0xbfa2e3&&_0x46b6ce[_0x2ef2c2(0xef)][_0x2ef2c2(0x101)]>0x0&&_0x46b6ce[_0x2ef2c2(0xef)][0x0][_0x2ef2c2(0x106)][_0x2ef2c2(0xe6)]()===_0x45aa10);_0x3de76b[_0x2ef2c2(0x101)]&&(_0x1d5841[_0x2ef2c2(0x105)](),_0x394266(_0x3de76b[0x0][_0x2ef2c2(0xef)][0x0]));});_0x1d5841[_0x351b58(0x10d)](_0xbfa2e3,{'childList':!0x0,'subtree':!0x0});}[_0x27fe5e(0xf7)](_0x36cfd9){const _0x4ec1a5=_0x27fe5e;_0x36cfd9[_0x4ec1a5(0xf9)](_0x4ec1a5(0xe5),_0x55d878=>{const _0x561065=_0x4ec1a5;this[_0x561065(0x10a)](_0x561065(0xe5),{'imageSrc':_0x55d878[_0x561065(0xf2)][_0x561065(0xeb)]});}),_0x36cfd9[_0x4ec1a5(0xf9)](_0x4ec1a5(0xe2),()=>{const _0x1587b7=_0x4ec1a5;this[_0x1587b7(0x10a)](_0x1587b7(0xe2));});}[_0x27fe5e(0x100)](){const _0x5cb439=_0x27fe5e;this[_0x5cb439(0xfd)]['on'](_0x5cb439(0xdb),()=>{const _0x1848a0=_0x5cb439;this[_0x1848a0(0x10a)](_0x1848a0(0xdb));});}}
23
+ function _0x2c1c(_0x1417df,_0x58238c){const _0x537035=_0x5370();return _0x2c1c=function(_0x2c1c96,_0x44c172){_0x2c1c96=_0x2c1c96-0x111;let _0x389afa=_0x537035[_0x2c1c96];return _0x389afa;},_0x2c1c(_0x1417df,_0x58238c);}const _0x56c889=_0x2c1c;(function(_0x452717,_0x458359){const _0x5f72bc=_0x2c1c,_0x5e4759=_0x452717();while(!![]){try{const _0x593784=parseInt(_0x5f72bc(0x114))/0x1*(parseInt(_0x5f72bc(0x134))/0x2)+-parseInt(_0x5f72bc(0x11e))/0x3+parseInt(_0x5f72bc(0x133))/0x4*(-parseInt(_0x5f72bc(0x132))/0x5)+-parseInt(_0x5f72bc(0x13e))/0x6+-parseInt(_0x5f72bc(0x141))/0x7+parseInt(_0x5f72bc(0x12f))/0x8+parseInt(_0x5f72bc(0x131))/0x9;if(_0x593784===_0x458359)break;else _0x5e4759['push'](_0x5e4759['shift']());}catch(_0x48900d){_0x5e4759['push'](_0x5e4759['shift']());}}}(_0x5370,0xba6dd));function _0x5370(){const _0x2db79b=['8279736sXcvor','length','observe','5356526iHMxZb','_errorView','error','cdnUrl','setTemplate','element','filter','addedNodes','_editingView','82963fCTfyD','_addUploadcareImageEditorListeners','div','focus','disconnect','uc-cloud-image-editor','uploading','querySelector','change:status','_addErrorViewListeners','482670wJaHiJ','_items','set','nodeName','render','getFocusableElement','fire','detail','addEventListener','ck-uploadcare-form','createCollection','status','toLowerCase','_loadingView','_setView','retry','once','1577576gfYuPv','apply','28866816wijxei','6237685TsTSAX','4HhfvRu','22xmQdRo','target','ck-reset_all-excluded','add','ready','addMany','clear','_waitForImageEditorComponent','_focusableView','cancel'];_0x5370=function(){return _0x2db79b;};return _0x5370();}import{View as _0x1f12b6}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e67b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x11a4e6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2ae15a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x24f6b9}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x24f6b9{[_0x56c889(0x11f)];[_0x56c889(0x12b)];[_0x56c889(0x142)];[_0x56c889(0x113)];[_0x56c889(0x13c)];constructor(_0x93ca0b,_0x52e400,_0x4332b4){const _0x2136db=_0x56c889;super(_0x93ca0b),this[_0x2136db(0x11f)]=this[_0x2136db(0x128)](),this[_0x2136db(0x12b)]=new _0x5e67b7(_0x93ca0b),this[_0x2136db(0x142)]=new _0x11a4e6(_0x93ca0b),this[_0x2136db(0x113)]=new _0x2ae15a(_0x93ca0b,_0x4332b4),this[_0x2136db(0x13c)]=new _0x1f12b6(_0x93ca0b),this[_0x2136db(0x13c)][_0x2136db(0x145)](this[_0x2136db(0x123)]()),this[_0x2136db(0x120)](_0x2136db(0x129),_0x52e400),this[_0x2136db(0x145)]({'tag':_0x2136db(0x116),'attributes':{'class':['ck',_0x2136db(0x136),_0x2136db(0x127)],'tabindex':'-1'},'children':this[_0x2136db(0x11f)]}),this[_0x2136db(0x12c)](),this[_0x2136db(0x12e)](_0x2136db(0x122),()=>{const _0x1136fd=_0x2136db;this[_0x1136fd(0x13b)](this[_0x1136fd(0x146)],_0x4f3782=>{const _0x30ff1d=_0x1136fd;this[_0x30ff1d(0x115)](_0x4f3782);});}),this['on'](_0x2136db(0x11c),()=>{const _0x206167=_0x2136db;this[_0x206167(0x12c)]();}),this[_0x2136db(0x11d)]();}[_0x56c889(0x117)](){const _0x539e58=_0x56c889;this[_0x539e58(0x146)][_0x539e58(0x117)]();}[_0x56c889(0x12c)](){const _0x55d1e0=_0x56c889;switch(this[_0x55d1e0(0x11f)][_0x55d1e0(0x13a)](),this[_0x55d1e0(0x129)]){case _0x55d1e0(0x11a):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x12b)]);break;case _0x55d1e0(0x143):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x142)]);break;case _0x55d1e0(0x138):this[_0x55d1e0(0x11f)][_0x55d1e0(0x139)]([this[_0x55d1e0(0x113)],this[_0x55d1e0(0x13c)]]);}}[_0x56c889(0x13b)](_0x214aa1,_0x5627d1){const _0x34d455=_0x56c889,_0x1c782b=_0x34d455(0x119),_0x34b312=_0x214aa1[_0x34d455(0x11b)](_0x1c782b);if(_0x34b312)return _0x5627d1(_0x34b312);const _0x48eab7=new MutationObserver(_0x8dbbef=>{const _0x54c1ef=_0x34d455,_0x19da21=_0x8dbbef[_0x54c1ef(0x111)](_0x30e075=>_0x30e075[_0x54c1ef(0x135)]===_0x214aa1&&_0x30e075[_0x54c1ef(0x112)][_0x54c1ef(0x13f)]>0x0&&_0x30e075[_0x54c1ef(0x112)][0x0][_0x54c1ef(0x121)][_0x54c1ef(0x12a)]()===_0x1c782b);_0x19da21[_0x54c1ef(0x13f)]&&(_0x48eab7[_0x54c1ef(0x118)](),_0x5627d1(_0x19da21[0x0][_0x54c1ef(0x112)][0x0]));});_0x48eab7[_0x34d455(0x140)](_0x214aa1,{'childList':!0x0,'subtree':!0x0});}[_0x56c889(0x115)](_0x5bedbc){const _0x5bf151=_0x56c889;_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x130),_0x46bd91=>{const _0x3e7d3d=_0x5bf151;this[_0x3e7d3d(0x124)](_0x3e7d3d(0x130),{'imageSrc':_0x46bd91[_0x3e7d3d(0x125)][_0x3e7d3d(0x144)]});}),_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x13d),()=>{const _0x4039d0=_0x5bf151;this[_0x4039d0(0x124)](_0x4039d0(0x13d));});}[_0x56c889(0x11d)](){const _0x11ae11=_0x56c889;this[_0x11ae11(0x142)]['on'](_0x11ae11(0x12d),()=>{const _0x4d20b9=_0x11ae11;this[_0x4d20b9(0x124)](_0x4d20b9(0x12d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x570a8b=_0xde07;(function(_0x1a22d2,_0x1f3fa6){const _0x4445d1=_0xde07,_0x2c45d7=_0x1a22d2();while(!![]){try{const _0x46a83c=parseInt(_0x4445d1(0x1e5))/0x1*(parseInt(_0x4445d1(0x1e9))/0x2)+parseInt(_0x4445d1(0x1d0))/0x3+parseInt(_0x4445d1(0x1e0))/0x4+parseInt(_0x4445d1(0x1d4))/0x5*(-parseInt(_0x4445d1(0x1cd))/0x6)+-parseInt(_0x4445d1(0x1e3))/0x7*(-parseInt(_0x4445d1(0x1d9))/0x8)+parseInt(_0x4445d1(0x1dc))/0x9+-parseInt(_0x4445d1(0x1e7))/0xa;if(_0x46a83c===_0x1f3fa6)break;else _0x2c45d7['push'](_0x2c45d7['shift']());}catch(_0x420b73){_0x2c45d7['push'](_0x2c45d7['shift']());}}}(_0x2a35,0xbb880));import{Command as _0x185a87}from'ckeditor5/src/core.js';import{Dialog as _0x1b2916}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4f7c80}from'./ui/uploadcareimageeditcontroller.js';function _0x2a35(){const _0x474745=['model','4285BlUwJm','get','refresh','plugins','selection','72456WonzYT','execute','element','13288095HEaqLM','requires','isActive','imageInline','331864RefaJl','getSelectedElement','bind','126XkVFxv','set','41IXkJPp','document','24584530ruOwQx','imageBlock','72128pXfWsA','imageEditController','unbind','config','1842EDvMBz','isEnabled','_isEditable','865827OaYRes','uploadcare.allowExternalImagesEditing','editor'];_0x2a35=function(){return _0x474745;};return _0x2a35();}function _0xde07(_0x424ed7,_0x1a1b42){const _0x2a3560=_0x2a35();return _0xde07=function(_0xde0790,_0x2a0a89){_0xde0790=_0xde0790-0x1cc;let _0x5cea21=_0x2a3560[_0xde0790];return _0x5cea21;},_0xde07(_0x424ed7,_0x1a1b42);}import{createEditabilityChecker as _0x17af73}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x185a87{[_0x570a8b(0x1ea)];static get[_0x570a8b(0x1dd)](){return[_0x1b2916];}[_0x570a8b(0x1cf)];constructor(_0x139fe2){const _0x153854=_0x570a8b;super(_0x139fe2),this[_0x153854(0x1ea)]=void 0x0,this[_0x153854(0x1cf)]=_0x17af73(_0x139fe2[_0x153854(0x1cc)][_0x153854(0x1d5)](_0x153854(0x1d1))||[]),this[_0x153854(0x1e4)]({'isActive':!0x1});}[_0x570a8b(0x1d6)](){const _0x502f3c=_0x570a8b,_0x23948c=this[_0x502f3c(0x1d2)][_0x502f3c(0x1d3)][_0x502f3c(0x1e6)][_0x502f3c(0x1d8)][_0x502f3c(0x1e1)]();this[_0x502f3c(0x1ce)]=this[_0x502f3c(0x1cf)](_0x23948c);}[_0x570a8b(0x1da)](){const _0xe1d1b5=_0x570a8b;this[_0xe1d1b5(0x1ea)]&&(this[_0xe1d1b5(0x1eb)](_0xe1d1b5(0x1de)),this[_0xe1d1b5(0x1ea)]=void 0x0);const _0x27a877=this[_0xe1d1b5(0x1d2)][_0xe1d1b5(0x1d3)][_0xe1d1b5(0x1e6)][_0xe1d1b5(0x1d8)][_0xe1d1b5(0x1e1)]();_0x27a877&&(_0x27a877['is'](_0xe1d1b5(0x1db),_0xe1d1b5(0x1e8))||_0x27a877['is'](_0xe1d1b5(0x1db),_0xe1d1b5(0x1df)))&&(this[_0xe1d1b5(0x1ea)]=new _0x4f7c80(this[_0xe1d1b5(0x1d2)],this[_0xe1d1b5(0x1d2)][_0xe1d1b5(0x1d7)][_0xe1d1b5(0x1d5)](_0x1b2916),_0x27a877),this[_0xe1d1b5(0x1e2)](_0xe1d1b5(0x1de))['to'](this[_0xe1d1b5(0x1ea)],_0xe1d1b5(0x1de)));}}
23
+ const _0x2d5985=_0x5b91;(function(_0x3c6f09,_0x4f9565){const _0x5dce41=_0x5b91,_0x3f28e4=_0x3c6f09();while(!![]){try{const _0x18d20b=-parseInt(_0x5dce41(0xe9))/0x1*(parseInt(_0x5dce41(0x102))/0x2)+parseInt(_0x5dce41(0xef))/0x3*(parseInt(_0x5dce41(0x105))/0x4)+parseInt(_0x5dce41(0xff))/0x5+parseInt(_0x5dce41(0x106))/0x6+parseInt(_0x5dce41(0xf2))/0x7*(-parseInt(_0x5dce41(0x100))/0x8)+parseInt(_0x5dce41(0xfa))/0x9*(parseInt(_0x5dce41(0xfc))/0xa)+-parseInt(_0x5dce41(0xed))/0xb*(parseInt(_0x5dce41(0xea))/0xc);if(_0x18d20b===_0x4f9565)break;else _0x3f28e4['push'](_0x3f28e4['shift']());}catch(_0x283c3e){_0x3f28e4['push'](_0x3f28e4['shift']());}}}(_0x5e8f,0x71fab));import{Command as _0x11a942}from'ckeditor5/src/core.js';import{Dialog as _0x171251}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x43bf7a}from'./ui/uploadcareimageeditcontroller.js';function _0x5b91(_0x4ebc58,_0x323a59){const _0x5e8f6a=_0x5e8f();return _0x5b91=function(_0x5b910f,_0x212636){_0x5b910f=_0x5b910f-0xe6;let _0x2e85e=_0x5e8f6a[_0x5b910f];return _0x2e85e;},_0x5b91(_0x4ebc58,_0x323a59);}import{createEditabilityChecker as _0x284fd3}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x11a942{[_0x2d5985(0xf9)];static get[_0x2d5985(0xfd)](){return[_0x171251];}[_0x2d5985(0xf1)];constructor(_0x4fa5ab){const _0x4dfc47=_0x2d5985;super(_0x4fa5ab),this[_0x4dfc47(0xf9)]=void 0x0,this[_0x4dfc47(0xf1)]=_0x284fd3(_0x4fa5ab[_0x4dfc47(0xfb)][_0x4dfc47(0x107)](_0x4dfc47(0x103))||[]),this[_0x4dfc47(0xf8)]({'isActive':!0x1});}[_0x2d5985(0xf3)](){const _0x253d9c=_0x2d5985,_0x556294=this[_0x253d9c(0xee)][_0x253d9c(0xf6)][_0x253d9c(0x101)][_0x253d9c(0xf5)][_0x253d9c(0xe6)]();this[_0x253d9c(0xe7)]=this[_0x253d9c(0xf1)](_0x556294);}[_0x2d5985(0xf0)](){const _0x1d55e2=_0x2d5985;this[_0x1d55e2(0xf9)]&&(this[_0x1d55e2(0xf7)](_0x1d55e2(0xeb)),this[_0x1d55e2(0xf9)]=void 0x0);const _0x59244a=this[_0x1d55e2(0xee)][_0x1d55e2(0xf6)][_0x1d55e2(0x101)][_0x1d55e2(0xf5)][_0x1d55e2(0xe6)]();_0x59244a&&(_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xe8))||_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xfe)))&&(this[_0x1d55e2(0xf9)]=new _0x43bf7a(this[_0x1d55e2(0xee)],this[_0x1d55e2(0xee)][_0x1d55e2(0xec)][_0x1d55e2(0x107)](_0x171251),_0x59244a),this[_0x1d55e2(0xf4)](_0x1d55e2(0xeb))['to'](this[_0x1d55e2(0xf9)],_0x1d55e2(0xeb)));}}function _0x5e8f(){const _0x58cb7e=['document','198CaOlpj','uploadcare.allowExternalImagesEditing','element','114640jdlTaB','1660668iCfjVx','get','getSelectedElement','isEnabled','imageBlock','1423rrmggb','72dDPEhK','isActive','plugins','722557LbBkfq','editor','75MbsrRm','execute','_isEditable','1559117ZAECAC','refresh','bind','selection','model','unbind','set','imageEditController','5391fDUfhJ','config','2030RYoPWt','requires','imageInline','1662225ismPNo','16zgEnMG'];_0x5e8f=function(){return _0x58cb7e;};return _0x5e8f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20e987=_0x3eb7;(function(_0x4391c5,_0x1870d5){const _0xa0b701=_0x3eb7,_0x102b54=_0x4391c5();while(!![]){try{const _0x5711c7=-parseInt(_0xa0b701(0x134))/0x1*(parseInt(_0xa0b701(0x131))/0x2)+-parseInt(_0xa0b701(0x128))/0x3*(parseInt(_0xa0b701(0x12d))/0x4)+-parseInt(_0xa0b701(0x11d))/0x5+parseInt(_0xa0b701(0x120))/0x6*(-parseInt(_0xa0b701(0x123))/0x7)+parseInt(_0xa0b701(0x121))/0x8*(parseInt(_0xa0b701(0x125))/0x9)+-parseInt(_0xa0b701(0x130))/0xa*(-parseInt(_0xa0b701(0x12a))/0xb)+parseInt(_0xa0b701(0x132))/0xc;if(_0x5711c7===_0x1870d5)break;else _0x102b54['push'](_0x102b54['shift']());}catch(_0x194b06){_0x102b54['push'](_0x102b54['shift']());}}}(_0x3a8f,0x972ce));import{Plugin as _0x1df64d}from'ckeditor5/src/core.js';import{Notification as _0x24aabf}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x23a00c}from'./uploadcareimageeditcommand.js';function _0x3a8f(){const _0x562421=['pluginName','1050363oXWioe','ImageUtils','init','3009732tnHEii','isPremiumPlugin','121DAUDAo','commands','isOfficialPlugin','4cJRMFA','ImageEditing','requires','806370LnAhWN','2TDUxqC','5666172yRdfZB','add','323674vNsaqv','1560345Tunkxi','UploadcareImageEditEditing','uploadcareImageReplace','302700VvIJDU','72JAvUAX','uploadcareImageEdit','21WSrkKO'];_0x3a8f=function(){return _0x562421;};return _0x3a8f();}import{UploadcareImageReplaceCommand as _0x40bbab}from'./uploadcareimagereplacecommand.js';function _0x3eb7(_0x2d64ba,_0xb530fd){const _0x3a8fb7=_0x3a8f();return _0x3eb7=function(_0x3eb77b,_0x54f7a0){_0x3eb77b=_0x3eb77b-0x11d;let _0x3884ab=_0x3a8fb7[_0x3eb77b];return _0x3884ab;},_0x3eb7(_0x2d64ba,_0xb530fd);}import{UploadcareEditing as _0x34d86c}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1df64d{static get[_0x20e987(0x124)](){const _0x5d5845=_0x20e987;return _0x5d5845(0x11e);}static get[_0x20e987(0x12f)](){const _0x512499=_0x20e987;return[_0x34d86c,_0x24aabf,_0x512499(0x126),_0x512499(0x12e)];}static get[_0x20e987(0x12c)](){return!0x0;}static get[_0x20e987(0x129)](){return!0x0;}[_0x20e987(0x127)](){const _0xd8a983=_0x20e987,{editor:_0x2c30e8}=this;_0x2c30e8[_0xd8a983(0x12b)][_0xd8a983(0x133)](_0xd8a983(0x122),new _0x23a00c(_0x2c30e8)),_0x2c30e8[_0xd8a983(0x12b)][_0xd8a983(0x133)](_0xd8a983(0x11f),new _0x40bbab(_0x2c30e8));}}
23
+ const _0x192114=_0xc3a2;(function(_0x2b55b3,_0x492bfc){const _0x4922ac=_0xc3a2,_0x4ab30d=_0x2b55b3();while(!![]){try{const _0x47f4f9=parseInt(_0x4922ac(0xee))/0x1*(-parseInt(_0x4922ac(0xe5))/0x2)+-parseInt(_0x4922ac(0xec))/0x3*(parseInt(_0x4922ac(0xdf))/0x4)+-parseInt(_0x4922ac(0xf1))/0x5*(-parseInt(_0x4922ac(0xe8))/0x6)+-parseInt(_0x4922ac(0xdc))/0x7*(parseInt(_0x4922ac(0xda))/0x8)+parseInt(_0x4922ac(0xef))/0x9+parseInt(_0x4922ac(0xeb))/0xa*(parseInt(_0x4922ac(0xe1))/0xb)+-parseInt(_0x4922ac(0xe0))/0xc*(-parseInt(_0x4922ac(0xdb))/0xd);if(_0x47f4f9===_0x492bfc)break;else _0x4ab30d['push'](_0x4ab30d['shift']());}catch(_0x6c2c4c){_0x4ab30d['push'](_0x4ab30d['shift']());}}}(_0x360b,0x53270));import{Plugin as _0x4fa8a7}from'ckeditor5/src/core.js';import{Notification as _0x1487ab}from'ckeditor5/src/ui.js';function _0x360b(){const _0x5c5200=['pluginName','add','16GbKhCM','984612zDXbWd','44DEWbyD','uploadcareImageEdit','init','UploadcareImageEditEditing','230LpkUhx','requires','ImageUtils','36CpJmnX','isOfficialPlugin','ImageEditing','143630fwsqeu','197160oJsSWE','commands','4931NPaInV','5657481vwsncn','uploadcareImageReplace','104565vyCYKW','isPremiumPlugin','1722872tCDQyc','91adgPoi','7jtWaQh'];_0x360b=function(){return _0x5c5200;};return _0x360b();}import{UploadcareImageEditCommand as _0x3fea0a}from'./uploadcareimageeditcommand.js';function _0xc3a2(_0x677037,_0x512aaf){const _0x360b52=_0x360b();return _0xc3a2=function(_0xc3a2ad,_0x1e0cd5){_0xc3a2ad=_0xc3a2ad-0xd9;let _0x9cea47=_0x360b52[_0xc3a2ad];return _0x9cea47;},_0xc3a2(_0x677037,_0x512aaf);}import{UploadcareImageReplaceCommand as _0x569615}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x14c648}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4fa8a7{static get[_0x192114(0xdd)](){const _0x53a5e5=_0x192114;return _0x53a5e5(0xe4);}static get[_0x192114(0xe6)](){const _0x215085=_0x192114;return[_0x14c648,_0x1487ab,_0x215085(0xe7),_0x215085(0xea)];}static get[_0x192114(0xe9)](){return!0x0;}static get[_0x192114(0xd9)](){return!0x0;}[_0x192114(0xe3)](){const _0x4e9b0c=_0x192114,{editor:_0x3a1a1e}=this;_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xe2),new _0x3fea0a(_0x3a1a1e)),_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xf0),new _0x569615(_0x3a1a1e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1944b4}from'ckeditor5/src/core.js';import{ButtonView as _0x550769}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x234946}from'ckeditor5/src/icons.js';import{createElement as _0x51ee3d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1944b4{['_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 _0x2a300b=this['editor'];_0x2a300b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x33db06=>{const _0x1c4fd0=_0x2a300b['commands']['get']('uploadcareImageEdit'),_0x1b35a8=new _0x550769(_0x33db06),t=_0x33db06['t'];return _0x1b35a8['set']({'icon':_0x234946,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b35a8['bind']('isEnabled')['to'](_0x1c4fd0),_0x1b35a8['bind']('isOn')['to'](_0x1c4fd0,'isActive'),this['listenTo'](_0x1b35a8,'execute',()=>{_0x2a300b['execute']('uploadcareImageEdit'),_0x2a300b['editing']['view']['focus']();}),_0x1b35a8;}),this['_initConfig']();}['_initConfig'](){const _0x385b88=_0x51ee3d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x385b88),this['listenTo'](this['editor'],'destroy',()=>{_0x385b88['remove']();});}}
23
+ import{Plugin as _0x107d5b}from'ckeditor5/src/core.js';import{ButtonView as _0x268dee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2e7462}from'ckeditor5/src/icons.js';import{createElement as _0x3432ba}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x107d5b{['_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 _0x137869=this['editor'];_0x137869['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d7fdd=>{const _0x5c6a4b=_0x137869['commands']['get']('uploadcareImageEdit'),_0x2a5bd1=new _0x268dee(_0x5d7fdd),t=_0x5d7fdd['t'];return _0x2a5bd1['set']({'icon':_0x2e7462,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a5bd1['bind']('isEnabled')['to'](_0x5c6a4b),_0x2a5bd1['bind']('isOn')['to'](_0x5c6a4b,'isActive'),this['listenTo'](_0x2a5bd1,'execute',()=>{_0x137869['execute']('uploadcareImageEdit'),_0x137869['editing']['view']['focus']();}),_0x2a5bd1;}),this['_initConfig']();}['_initConfig'](){const _0x56c193=_0x3432ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56c193),this['listenTo'](this['editor'],'destroy',()=>{_0x56c193['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b2f7f=_0x21cb;function _0x21cb(_0x70e779,_0x3f9f4b){const _0xdc9032=_0xdc90();return _0x21cb=function(_0x21cbb6,_0x5f338e){_0x21cbb6=_0x21cbb6-0x19e;let _0x34804c=_0xdc9032[_0x21cbb6];return _0x34804c;},_0x21cb(_0x70e779,_0x3f9f4b);}(function(_0x555f11,_0x51d6ee){const _0x4f64e7=_0x21cb,_0x20cee4=_0x555f11();while(!![]){try{const _0x4757a2=-parseInt(_0x4f64e7(0x1ac))/0x1+parseInt(_0x4f64e7(0x1af))/0x2*(parseInt(_0x4f64e7(0x1ad))/0x3)+-parseInt(_0x4f64e7(0x1a9))/0x4*(parseInt(_0x4f64e7(0x1ae))/0x5)+parseInt(_0x4f64e7(0x1ab))/0x6+parseInt(_0x4f64e7(0x1b5))/0x7*(-parseInt(_0x4f64e7(0x1b8))/0x8)+parseInt(_0x4f64e7(0x1a6))/0x9*(-parseInt(_0x4f64e7(0x1b2))/0xa)+parseInt(_0x4f64e7(0x19e))/0xb;if(_0x4757a2===_0x51d6ee)break;else _0x20cee4['push'](_0x20cee4['shift']());}catch(_0x5285c2){_0x20cee4['push'](_0x20cee4['shift']());}}}(_0xdc90,0xc972b));import{Command as _0x2ca6f1}from'ckeditor5/src/core.js';function _0xdc90(){const _0x204e2d=['381105dbjrvI','977031oxxFdi','3495JMzHwt','4Fqeise','removeAttribute','setAttributes','124120utFyge','element','srcset','161ltnbKR','sizes','getSelectedElement','246728JEHZqZ','36675793Ebnaus','change','imageInline','editor','refresh','model','imageBlock','selection','648ZCxWGu','isEnabled','execute','7148TuMhaW','document','437034hLSAeI'];_0xdc90=function(){return _0x204e2d;};return _0xdc90();}export class UploadcareImageReplaceCommand extends _0x2ca6f1{[_0x5b2f7f(0x1a2)](){const _0x243b80=_0x5b2f7f,_0x26b2c9=this[_0x243b80(0x1a1)][_0x243b80(0x1a3)][_0x243b80(0x1aa)][_0x243b80(0x1a5)][_0x243b80(0x1b7)]();this[_0x243b80(0x1a7)]=Boolean(_0x26b2c9&&(_0x26b2c9['is'](_0x243b80(0x1b3),_0x243b80(0x1a4))||_0x26b2c9['is'](_0x243b80(0x1b3),_0x243b80(0x1a0))));}[_0x5b2f7f(0x1a8)](_0x31b69d){const _0x1126ce=_0x5b2f7f,_0xdb36c0=this[_0x1126ce(0x1a1)][_0x1126ce(0x1a3)][_0x1126ce(0x1aa)][_0x1126ce(0x1a5)][_0x1126ce(0x1b7)]();this[_0x1126ce(0x1a1)][_0x1126ce(0x1a3)][_0x1126ce(0x19f)](_0x115452=>{const _0x4e1128=_0x1126ce;_0x115452[_0x4e1128(0x1b1)](_0x31b69d,_0xdb36c0),_0x115452[_0x4e1128(0x1b0)](_0x4e1128(0x1b4),_0xdb36c0),_0x115452[_0x4e1128(0x1b0)](_0x4e1128(0x1b6),_0xdb36c0);});}}
23
+ function _0x1158(_0x1df9b3,_0x59af88){const _0x394e0a=_0x394e();return _0x1158=function(_0x11586e,_0x141f5c){_0x11586e=_0x11586e-0x1bd;let _0x38f063=_0x394e0a[_0x11586e];return _0x38f063;},_0x1158(_0x1df9b3,_0x59af88);}const _0x2f6c9b=_0x1158;(function(_0x2c99f4,_0xeba576){const _0x5d6eeb=_0x1158,_0x5ed4c6=_0x2c99f4();while(!![]){try{const _0x27ca50=parseInt(_0x5d6eeb(0x1ce))/0x1+-parseInt(_0x5d6eeb(0x1cc))/0x2+parseInt(_0x5d6eeb(0x1bd))/0x3*(-parseInt(_0x5d6eeb(0x1bf))/0x4)+parseInt(_0x5d6eeb(0x1cd))/0x5+-parseInt(_0x5d6eeb(0x1d0))/0x6+-parseInt(_0x5d6eeb(0x1c2))/0x7*(parseInt(_0x5d6eeb(0x1d1))/0x8)+parseInt(_0x5d6eeb(0x1be))/0x9;if(_0x27ca50===_0xeba576)break;else _0x5ed4c6['push'](_0x5ed4c6['shift']());}catch(_0x3d26db){_0x5ed4c6['push'](_0x5ed4c6['shift']());}}}(_0x394e,0x26c3f));function _0x394e(){const _0x5b4ab6=['model','editor','579dwiaml','1473075pjnWtb','428zxLbOU','imageBlock','document','2275EMMoBY','isEnabled','removeAttribute','change','element','selection','sizes','execute','getSelectedElement','srcset','196232gSRaYR','1088140xVFofs','152560HHONPi','refresh','1188828pmCmAq','1432ixwYSu','setAttributes','imageInline'];_0x394e=function(){return _0x5b4ab6;};return _0x394e();}import{Command as _0x4d1f20}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4d1f20{[_0x2f6c9b(0x1cf)](){const _0x45e50b=_0x2f6c9b,_0x3b18b1=this[_0x45e50b(0x1d5)][_0x45e50b(0x1d4)][_0x45e50b(0x1c1)][_0x45e50b(0x1c7)][_0x45e50b(0x1ca)]();this[_0x45e50b(0x1c3)]=Boolean(_0x3b18b1&&(_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1c0))||_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1d3))));}[_0x2f6c9b(0x1c9)](_0x3049f6){const _0x22152d=_0x2f6c9b,_0x423442=this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c1)][_0x22152d(0x1c7)][_0x22152d(0x1ca)]();this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c5)](_0x413ce9=>{const _0x33c67d=_0x22152d;_0x413ce9[_0x33c67d(0x1d2)](_0x3049f6,_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1cb),_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1c8),_0x423442);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x298e76=_0x5f2a;(function(_0x5bc8c4,_0x14e545){var _0x27ff56=_0x5f2a,_0x2138a6=_0x5bc8c4();while(!![]){try{var _0x61a473=-parseInt(_0x27ff56(0x137))/0x1+parseInt(_0x27ff56(0x12a))/0x2+-parseInt(_0x27ff56(0x130))/0x3*(-parseInt(_0x27ff56(0x135))/0x4)+-parseInt(_0x27ff56(0x131))/0x5+parseInt(_0x27ff56(0x132))/0x6+-parseInt(_0x27ff56(0x12c))/0x7*(parseInt(_0x27ff56(0x12d))/0x8)+parseInt(_0x27ff56(0x138))/0x9*(parseInt(_0x27ff56(0x133))/0xa);if(_0x61a473===_0x14e545)break;else _0x2138a6['push'](_0x2138a6['shift']());}catch(_0x455acc){_0x2138a6['push'](_0x2138a6['shift']());}}}(_0xdd86,0xac4ea));import{Plugin as _0x3a80fd}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3c562f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5f2a(_0x1c8f9f,_0x59dacb){var _0xdd863d=_0xdd86();return _0x5f2a=function(_0x5f2a4e,_0x55f89c){_0x5f2a4e=_0x5f2a4e-0x12a;var _0x1aa2a6=_0xdd863d[_0x5f2a4e];return _0x1aa2a6;},_0x5f2a(_0x1c8f9f,_0x59dacb);}import{UploadcareImageEditUI as _0x2d557c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3a80fd{static get[_0x298e76(0x12e)](){var _0x4f0cab=_0x298e76;return _0x4f0cab(0x136);}static get[_0x298e76(0x12f)](){return[_0x3c562f,_0x2d557c];}static get[_0x298e76(0x12b)](){return!0x0;}static get[_0x298e76(0x134)](){return!0x0;}}function _0xdd86(){var _0x40a535=['6181doBTRF','3544KQzoUk','pluginName','requires','45TZkawD','3953120VUneQW','3513048vkDFtb','10UuFyJZ','isPremiumPlugin','256684sITeFw','UploadcareImageEdit','1410169uZiWlP','10407960dgsVeo','1186438GbgaJr','isOfficialPlugin'];_0xdd86=function(){return _0x40a535;};return _0xdd86();}
23
+ function _0x1bf0(_0x434b02,_0x19cb88){var _0x45a24a=_0x45a2();return _0x1bf0=function(_0x1bf0b5,_0x58225b){_0x1bf0b5=_0x1bf0b5-0x1ed;var _0x3b45aa=_0x45a24a[_0x1bf0b5];return _0x3b45aa;},_0x1bf0(_0x434b02,_0x19cb88);}var _0x5d7a56=_0x1bf0;(function(_0x364348,_0x5129c9){var _0x1e6e10=_0x1bf0,_0x293509=_0x364348();while(!![]){try{var _0x517346=-parseInt(_0x1e6e10(0x1f5))/0x1+-parseInt(_0x1e6e10(0x1fc))/0x2*(parseInt(_0x1e6e10(0x1fd))/0x3)+-parseInt(_0x1e6e10(0x1f3))/0x4*(-parseInt(_0x1e6e10(0x1f1))/0x5)+parseInt(_0x1e6e10(0x1ed))/0x6*(-parseInt(_0x1e6e10(0x1f4))/0x7)+-parseInt(_0x1e6e10(0x1f7))/0x8*(parseInt(_0x1e6e10(0x1fa))/0x9)+-parseInt(_0x1e6e10(0x1f6))/0xa*(-parseInt(_0x1e6e10(0x1f0))/0xb)+parseInt(_0x1e6e10(0x1f8))/0xc;if(_0x517346===_0x5129c9)break;else _0x293509['push'](_0x293509['shift']());}catch(_0x26f532){_0x293509['push'](_0x293509['shift']());}}}(_0x45a2,0xea237));import{Plugin as _0x2ade88}from'ckeditor5/src/core.js';function _0x45a2(){var _0x275837=['24SmESZI','67805088JTLtDj','UploadcareImageEdit','3362598XrMlvm','pluginName','1302514fJGFhp','3fyXZjx','2139774BrfoTt','requires','isOfficialPlugin','176qCtuzN','451795EsAdvz','isPremiumPlugin','16eqpJEZ','35MIYvzF','1802553bFXlvU','190620WhmBZJ'];_0x45a2=function(){return _0x275837;};return _0x45a2();}import{UploadcareImageEditEditing as _0x4fb9f0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e5073}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2ade88{static get[_0x5d7a56(0x1fb)](){var _0x2cc5bf=_0x5d7a56;return _0x2cc5bf(0x1f9);}static get[_0x5d7a56(0x1ee)](){return[_0x4fb9f0,_0x2e5073];}static get[_0x5d7a56(0x1ef)](){return!0x0;}static get[_0x5d7a56(0x1f2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a824b=_0x43f8;(function(_0x5ab026,_0x4eccdd){const _0x5966a0=_0x43f8,_0x363778=_0x5ab026();while(!![]){try{const _0x5c3262=-parseInt(_0x5966a0(0x20f))/0x1*(parseInt(_0x5966a0(0x210))/0x2)+-parseInt(_0x5966a0(0x1fb))/0x3+parseInt(_0x5966a0(0x1ed))/0x4*(-parseInt(_0x5966a0(0x22f))/0x5)+-parseInt(_0x5966a0(0x228))/0x6+-parseInt(_0x5966a0(0x227))/0x7*(-parseInt(_0x5966a0(0x224))/0x8)+parseInt(_0x5966a0(0x225))/0x9+-parseInt(_0x5966a0(0x217))/0xa*(-parseInt(_0x5966a0(0x231))/0xb);if(_0x5c3262===_0x4eccdd)break;else _0x363778['push'](_0x363778['shift']());}catch(_0x188ff3){_0x363778['push'](_0x363778['shift']());}}}(_0x4481,0x8bf61));import{Plugin as _0x2b4d94}from'ckeditor5/src/core.js';import{IconDropbox as _0x5c176d,IconFacebook as _0x43c973,IconGoogleDrive as _0x8b0cd8,IconGooglePhotos as _0x283e37,IconUploadcareImageUpload as _0x128c08,IconUploadcareLink as _0x3ac9bd,IconOneDrive as _0x14d14c}from'ckeditor5/src/icons.js';function _0x43f8(_0x1167f1,_0x5eda25){const _0x448147=_0x4481();return _0x43f8=function(_0x43f8d9,_0x5e9292){_0x43f8d9=_0x43f8d9-0x1e5;let _0x5d1dc7=_0x448147[_0x43f8d9];return _0x5d1dc7;},_0x43f8(_0x1167f1,_0x5eda25);}import{ButtonView as _0x5783e5,MenuBarMenuListItemButtonView as _0x31d3bb}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2610aa}from'./uploadcareconfig.js';function _0x4481(){const _0x66a32f=['execute','UploadcareUI','licenseKey','map','URL','assetManager','forEach','uploadcareLicenseKeyEvaluationLimit','322411YCfEDZ','2pSQuum','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','isPremiumPlugin','expired','url','uploadcareLicenseKeyExpired','20iRnzNq','upload','evaluationLimit','locale','_getIntegrationKey','invalid','_createButton','featureNotAllowed','label','icon','Dropbox','Replace','isEnabled','1564008UUtoyN','8006121pHmKwd','reduce','21sFMTkR','4948752yeAIfs','entries','bind','OneDrive','registerIntegration','ImageInsertUI','type','175OZhcTo','commands','5663603yqHzdH','domainLimit','Facebook','_createDropdownButtons','isOfficialPlugin','config','plugins','init','editor','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyDomainLimit','destroy','55372bqaNLS','shortText','afterInit','_createToolbarButton','push','withText','tooltip','Insert','_showLicenseError','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','has','pluginName','GPhotos','902487WKoeDc','text','GDrive','isImageSelected','_createMenuBarButtons','usageLimit','Uploadcare','_licenseKeyCheckInterval','Local','uploadcare','get','_normalizeConfigSourceList'];_0x4481=function(){return _0x66a32f;};return _0x4481();}import{getTranslation as _0x2379b7}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2b4d94{[_0x5a824b(0x209)];[_0x5a824b(0x202)];static get[_0x5a824b(0x1f9)](){const _0x227775=_0x5a824b;return _0x227775(0x208);}static get[_0x5a824b(0x1e5)](){return!0x0;}static get[_0x5a824b(0x213)](){return!0x0;}[_0x5a824b(0x1e8)](){const _0x123269=_0x5a824b;this[_0x123269(0x209)]=this[_0x123269(0x1e9)][_0x123269(0x1e6)][_0x123269(0x205)](_0x123269(0x209));const _0x4b8c4f=this[_0x123269(0x1e9)];this[_0x123269(0x202)]=setInterval(()=>{const _0x2524e5=_0x123269;let _0x464bcd;for(const _0x5ac5fd in _0x4b8c4f){const _0x558094=_0x5ac5fd,_0x1e1297=_0x4b8c4f[_0x558094];if(_0x2524e5(0x212)==_0x1e1297||_0x2524e5(0x1ea)==_0x1e1297||_0x2524e5(0x216)==_0x1e1297||_0x2524e5(0x1eb)==_0x1e1297||_0x2524e5(0x1f6)==_0x1e1297||_0x2524e5(0x20e)==_0x1e1297||_0x2524e5(0x211)==_0x1e1297){delete _0x4b8c4f[_0x558094],_0x464bcd=_0x1e1297,clearInterval(this[_0x2524e5(0x202)]),this[_0x2524e5(0x202)]=void 0x0;break;}}_0x2524e5(0x1ea)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x21c)),_0x2524e5(0x216)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x214)),_0x2524e5(0x1eb)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x232)),_0x2524e5(0x1f6)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x21e),_0x2524e5(0x201)),_0x2524e5(0x20e)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x219)),_0x2524e5(0x211)==_0x464bcd&&_0x4b8c4f[_0x2524e5(0x1f5)](_0x2524e5(0x200));},0x3e8);}[_0x5a824b(0x1ef)](){const _0x18f85d=_0x5a824b,{editor:_0x40ca8e}=this,_0x5790e0=_0x40ca8e[_0x18f85d(0x230)][_0x18f85d(0x205)](_0x18f85d(0x204));if(!_0x5790e0)return;const _0x18704d=this[_0x18f85d(0x206)](_0x40ca8e[_0x18f85d(0x1e6)][_0x18f85d(0x205)](_0x18f85d(0x1f7)))[_0x18f85d(0x226)]((_0x5687b6,_0x3eeecd)=>{const _0x4ef1cc=_0x18f85d,_0x1c6f28=this[_0x4ef1cc(0x21b)](_0x3eeecd[_0x4ef1cc(0x22e)]);return _0x5687b6[_0x1c6f28]||(_0x5687b6[_0x1c6f28]=[]),_0x5687b6[_0x1c6f28][_0x4ef1cc(0x1f1)](_0x3eeecd),_0x5687b6;},{});_0x40ca8e[_0x18f85d(0x1e7)][_0x18f85d(0x1f8)](_0x18f85d(0x22d))&&_0x40ca8e[_0x18f85d(0x230)][_0x18f85d(0x205)](_0x18f85d(0x204))&&Object[_0x18f85d(0x229)](_0x18704d)[_0x18f85d(0x20d)](([_0x16ad9f,_0x2f3b06])=>{const _0x2eae22=_0x18f85d;_0x40ca8e[_0x2eae22(0x1e7)][_0x2eae22(0x205)](_0x2eae22(0x22d))[_0x2eae22(0x22c)]({'name':_0x16ad9f,'observable':()=>_0x5790e0,'buttonViewCreator':()=>this[_0x2eae22(0x1f0)](_0x2f3b06),'formViewCreator':()=>this[_0x2eae22(0x234)](_0x2f3b06),'menuBarButtonViewCreator':()=>this[_0x2eae22(0x1ff)](_0x2f3b06),'override':_0x2eae22(0x20c)!==_0x16ad9f});});}[_0x5a824b(0x1ec)](){const _0xeb81f0=_0x5a824b;super[_0xeb81f0(0x1ec)](),this[_0xeb81f0(0x202)]&&clearInterval(this[_0xeb81f0(0x202)]);}[_0x5a824b(0x206)](_0x1f4788){const _0x468f20=_0x5a824b,{locale:_0x6f5ecc}=this[_0x468f20(0x1e9)];return _0x1f4788[_0x468f20(0x20a)](_0x62dec2=>{const _0x143fab=_0x468f20,_0x3150a3=_0x2379b7(_0x6f5ecc,_0x62dec2,_0x143fab(0x1f4));switch(_0x62dec2){case _0x2610aa[_0x143fab(0x203)]:return{'icon':_0x128c08,'type':_0x2610aa[_0x143fab(0x203)],..._0x3150a3};case _0x2610aa[_0x143fab(0x20b)]:return{'icon':_0x3ac9bd,'type':_0x2610aa[_0x143fab(0x20b)],..._0x3150a3};case _0x2610aa[_0x143fab(0x221)]:return{'icon':_0x5c176d,'type':_0x2610aa[_0x143fab(0x221)],..._0x3150a3};case _0x2610aa[_0x143fab(0x233)]:return{'icon':_0x43c973,'type':_0x2610aa[_0x143fab(0x233)],..._0x3150a3};case _0x2610aa[_0x143fab(0x1fd)]:return{'icon':_0x8b0cd8,'type':_0x2610aa[_0x143fab(0x1fd)],..._0x3150a3};case _0x2610aa[_0x143fab(0x1fa)]:return{'icon':_0x283e37,'type':_0x2610aa[_0x143fab(0x1fa)],..._0x3150a3};case _0x2610aa[_0x143fab(0x22b)]:return{'icon':_0x14d14c,'type':_0x2610aa[_0x143fab(0x22b)],..._0x3150a3};}});}[_0x5a824b(0x21b)](_0x359b87){const _0x3684ea=_0x5a824b;switch(_0x359b87){case _0x2610aa[_0x3684ea(0x203)]:return _0x3684ea(0x218);case _0x2610aa[_0x3684ea(0x20b)]:return _0x3684ea(0x215);default:return _0x3684ea(0x20c);}}[_0x5a824b(0x21d)](_0x4d21d1,_0x42ea26){const _0x14aba3=_0x5a824b,_0x5d9300=this[_0x14aba3(0x1e9)],_0x26f55a=new _0x4d21d1(_0x5d9300[_0x14aba3(0x21a)]),_0x314a85=_0x5d9300[_0x14aba3(0x230)][_0x14aba3(0x205)](_0x14aba3(0x204));return _0x26f55a[_0x14aba3(0x22a)](_0x14aba3(0x223))['to'](_0x314a85),_0x26f55a['on'](_0x14aba3(0x207),()=>{const _0x421989=_0x14aba3;_0x314a85[_0x421989(0x207)](_0x42ea26);}),_0x26f55a;}[_0x5a824b(0x1f0)](_0x3e2fc7){const _0x2e5472=_0x5a824b,{locale:_0x17dcbf}=this[_0x2e5472(0x1e9)],_0x104412=this[_0x2e5472(0x1e9)][_0x2e5472(0x1e7)][_0x2e5472(0x205)](_0x2e5472(0x22d)),_0x2d8416=_0x3e2fc7[0x0],_0x517550=this[_0x2e5472(0x21d)](_0x5783e5,_0x2d8416[_0x2e5472(0x22e)]);return _0x517550[_0x2e5472(0x220)]=_0x2d8416[_0x2e5472(0x220)],_0x517550[_0x2e5472(0x22a)](_0x2e5472(0x21f))['to'](_0x104412,_0x2e5472(0x1fe),_0x58317c=>_0x2379b7(_0x17dcbf,_0x2d8416[_0x2e5472(0x22e)],_0x58317c?_0x2e5472(0x222):_0x2e5472(0x1f4))[_0x2e5472(0x1fc)]),_0x517550[_0x2e5472(0x1f3)]=!0x0,_0x517550;}[_0x5a824b(0x234)](_0x176e5a){const _0x4f6f70=_0x5a824b,{locale:_0x13b8e}=this[_0x4f6f70(0x1e9)],_0x1656d5=this[_0x4f6f70(0x1e9)][_0x4f6f70(0x1e7)][_0x4f6f70(0x205)](_0x4f6f70(0x22d));return _0x176e5a[_0x4f6f70(0x20a)](_0x28cd8d=>{const _0x20630a=_0x4f6f70,_0x105724=this[_0x20630a(0x21d)](_0x5783e5,_0x28cd8d[_0x20630a(0x22e)]);return _0x105724[_0x20630a(0x1f2)]=!0x0,_0x105724[_0x20630a(0x220)]=_0x28cd8d[_0x20630a(0x220)],_0x105724[_0x20630a(0x22a)](_0x20630a(0x21f))['to'](_0x1656d5,_0x20630a(0x1fe),_0x98679c=>_0x2379b7(_0x13b8e,_0x28cd8d[_0x20630a(0x22e)],_0x98679c?_0x20630a(0x222):_0x20630a(0x1f4))[_0x20630a(0x1fc)]),_0x105724;});}[_0x5a824b(0x1ff)](_0x4a2274){const _0x49c217=_0x5a824b;return _0x4a2274[_0x49c217(0x20a)](_0x582520=>{const _0xfb64f2=_0x49c217,_0x40f6ca=this[_0xfb64f2(0x21d)](_0x31d3bb,_0x582520[_0xfb64f2(0x22e)]);return _0x40f6ca[_0xfb64f2(0x220)]=_0x582520[_0xfb64f2(0x220)],_0x40f6ca[_0xfb64f2(0x21f)]=_0x582520[_0xfb64f2(0x1ee)],_0x40f6ca;});}}
23
+ const _0x34eaab=_0x14e9;function _0x14e9(_0x40f203,_0x5ae9e0){const _0x5423de=_0x5423();return _0x14e9=function(_0x14e92e,_0x277457){_0x14e92e=_0x14e92e-0x18c;let _0x2604e0=_0x5423de[_0x14e92e];return _0x2604e0;},_0x14e9(_0x40f203,_0x5ae9e0);}(function(_0xc2c2ec,_0x48d804){const _0x3ed6e6=_0x14e9,_0x4cd8f8=_0xc2c2ec();while(!![]){try{const _0x57b0a4=parseInt(_0x3ed6e6(0x1a5))/0x1+parseInt(_0x3ed6e6(0x1c9))/0x2*(-parseInt(_0x3ed6e6(0x1d6))/0x3)+parseInt(_0x3ed6e6(0x19e))/0x4*(parseInt(_0x3ed6e6(0x18d))/0x5)+-parseInt(_0x3ed6e6(0x1b2))/0x6*(parseInt(_0x3ed6e6(0x1cc))/0x7)+parseInt(_0x3ed6e6(0x197))/0x8*(-parseInt(_0x3ed6e6(0x1d1))/0x9)+-parseInt(_0x3ed6e6(0x1d2))/0xa*(-parseInt(_0x3ed6e6(0x1b1))/0xb)+parseInt(_0x3ed6e6(0x1a8))/0xc*(parseInt(_0x3ed6e6(0x19d))/0xd);if(_0x57b0a4===_0x48d804)break;else _0x4cd8f8['push'](_0x4cd8f8['shift']());}catch(_0x3f684a){_0x4cd8f8['push'](_0x4cd8f8['shift']());}}}(_0x5423,0xaae42));function _0x5423(){const _0x1f6a80=['evaluationLimit','reduce','uploadcareLicenseKeyInvalid','registerIntegration','UploadcareUI','ImageInsertUI','_licenseKeyCheckInterval','bind','_createMenuBarButtons','pluginName','Replace','2Gjuwqc','_createToolbarButton','uploadcareLicenseKeyValid','3290HeWCFn','url','_getIntegrationKey','uploadcareLicenseKeyUsageLimit','shortText','9ANnmJw','90OnPwov','map','execute','_showLicenseError','2510409usqKhA','forEach','_createButton','config','entries','uploadcare','push','GDrive','text','35ltovFG','usageLimit','init','tooltip','domainLimit','afterInit','uploadcareLicenseKeyNotAllowed','isEnabled','Facebook','upload','7454584CInccC','plugins','uploadcareLicenseKeyEvaluationLimit','Insert','commands','isPremiumPlugin','1937eQeqVd','241876BgeHSR','editor','locale','type','has','get','destroy','910279bUOBVj','Uploadcare','Dropbox','77076vsSDUH','OneDrive','isOfficialPlugin','uploadcare.uploader.sourceList','withText','GPhotos','invalid','isImageSelected','Local','441023qAoaVY','2334lJfAMD','expired','uploadcareLicenseKeyDomainLimit','licenseKey','icon','URL','_createDropdownButtons','label','_normalizeConfigSourceList','assetManager','uploadcareLicenseKeyExpired','featureNotAllowed'];_0x5423=function(){return _0x1f6a80;};return _0x5423();}import{Plugin as _0x5b5fc6}from'ckeditor5/src/core.js';import{IconDropbox as _0x519923,IconFacebook as _0x416ae3,IconGoogleDrive as _0x50a966,IconGooglePhotos as _0x5b9657,IconUploadcareImageUpload as _0x204f33,IconUploadcareLink as _0x540f18,IconOneDrive as _0x218def}from'ckeditor5/src/icons.js';import{ButtonView as _0x57a467,MenuBarMenuListItemButtonView as _0x132c51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2d6c8b}from'./uploadcareconfig.js';import{getTranslation as _0x20d536}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5b5fc6{[_0x34eaab(0x1b5)];[_0x34eaab(0x1c4)];static get[_0x34eaab(0x1c7)](){const _0x286ade=_0x34eaab;return _0x286ade(0x1c2);}static get[_0x34eaab(0x1aa)](){return!0x0;}static get[_0x34eaab(0x19c)](){return!0x0;}[_0x34eaab(0x18f)](){const _0x4cb87d=_0x34eaab;this[_0x4cb87d(0x1b5)]=this[_0x4cb87d(0x19f)][_0x4cb87d(0x1d9)][_0x4cb87d(0x1a3)](_0x4cb87d(0x1b5));const _0x503480=this[_0x4cb87d(0x19f)];this[_0x4cb87d(0x1c4)]=setInterval(()=>{const _0x57a975=_0x4cb87d;let _0x36046c;for(const _0x2dcaa6 in _0x503480){const _0x188460=_0x2dcaa6,_0x34eaa4=_0x503480[_0x188460];if(_0x57a975(0x1cb)==_0x34eaa4||_0x57a975(0x1c0)==_0x34eaa4||_0x57a975(0x1bc)==_0x34eaa4||_0x57a975(0x1b4)==_0x34eaa4||_0x57a975(0x193)==_0x34eaa4||_0x57a975(0x199)==_0x34eaa4||_0x57a975(0x1cf)==_0x34eaa4){delete _0x503480[_0x188460],_0x36046c=_0x34eaa4,clearInterval(this[_0x57a975(0x1c4)]),this[_0x57a975(0x1c4)]=void 0x0;break;}}_0x57a975(0x1c0)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1ae)),_0x57a975(0x1bc)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1b3)),_0x57a975(0x1b4)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x191)),_0x57a975(0x193)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1bd),_0x57a975(0x1a6)),_0x57a975(0x199)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1be)),_0x57a975(0x1cf)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x18e));},0x3e8);}[_0x34eaab(0x192)](){const _0x297969=_0x34eaab,{editor:_0xb2489d}=this,_0x40ff88=_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db));if(!_0x40ff88)return;const _0x1c426a=this[_0x297969(0x1ba)](_0xb2489d[_0x297969(0x1d9)][_0x297969(0x1a3)](_0x297969(0x1ab)))[_0x297969(0x1bf)]((_0x5d795e,_0x2ee85f)=>{const _0x55a8c4=_0x297969,_0x2a156f=this[_0x55a8c4(0x1ce)](_0x2ee85f[_0x55a8c4(0x1a1)]);return _0x5d795e[_0x2a156f]||(_0x5d795e[_0x2a156f]=[]),_0x5d795e[_0x2a156f][_0x55a8c4(0x1dc)](_0x2ee85f),_0x5d795e;},{});_0xb2489d[_0x297969(0x198)][_0x297969(0x1a2)](_0x297969(0x1c3))&&_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db))&&Object[_0x297969(0x1da)](_0x1c426a)[_0x297969(0x1d7)](([_0x2982a9,_0x315865])=>{const _0x1ebb43=_0x297969;_0xb2489d[_0x1ebb43(0x198)][_0x1ebb43(0x1a3)](_0x1ebb43(0x1c3))[_0x1ebb43(0x1c1)]({'name':_0x2982a9,'observable':()=>_0x40ff88,'buttonViewCreator':()=>this[_0x1ebb43(0x1ca)](_0x315865),'formViewCreator':()=>this[_0x1ebb43(0x1b8)](_0x315865),'menuBarButtonViewCreator':()=>this[_0x1ebb43(0x1c6)](_0x315865),'override':_0x1ebb43(0x1bb)!==_0x2982a9});});}[_0x34eaab(0x1a4)](){const _0x4a1966=_0x34eaab;super[_0x4a1966(0x1a4)](),this[_0x4a1966(0x1c4)]&&clearInterval(this[_0x4a1966(0x1c4)]);}[_0x34eaab(0x1ba)](_0x494e32){const _0x2817f2=_0x34eaab,{locale:_0xa1b3cd}=this[_0x2817f2(0x19f)];return _0x494e32[_0x2817f2(0x1d3)](_0xa6eb6e=>{const _0x4edf26=_0x2817f2,_0x21363c=_0x20d536(_0xa1b3cd,_0xa6eb6e,_0x4edf26(0x19a));switch(_0xa6eb6e){case _0x2d6c8b[_0x4edf26(0x1b0)]:return{'icon':_0x204f33,'type':_0x2d6c8b[_0x4edf26(0x1b0)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1b7)]:return{'icon':_0x540f18,'type':_0x2d6c8b[_0x4edf26(0x1b7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a7)]:return{'icon':_0x519923,'type':_0x2d6c8b[_0x4edf26(0x1a7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x195)]:return{'icon':_0x416ae3,'type':_0x2d6c8b[_0x4edf26(0x195)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1dd)]:return{'icon':_0x50a966,'type':_0x2d6c8b[_0x4edf26(0x1dd)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1ad)]:return{'icon':_0x5b9657,'type':_0x2d6c8b[_0x4edf26(0x1ad)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a9)]:return{'icon':_0x218def,'type':_0x2d6c8b[_0x4edf26(0x1a9)],..._0x21363c};}});}[_0x34eaab(0x1ce)](_0x4d77fd){const _0x3bfe9c=_0x34eaab;switch(_0x4d77fd){case _0x2d6c8b[_0x3bfe9c(0x1b0)]:return _0x3bfe9c(0x196);case _0x2d6c8b[_0x3bfe9c(0x1b7)]:return _0x3bfe9c(0x1cd);default:return _0x3bfe9c(0x1bb);}}[_0x34eaab(0x1d8)](_0x368334,_0x207c66){const _0x3af681=_0x34eaab,_0x3d9f64=this[_0x3af681(0x19f)],_0x24bbc0=new _0x368334(_0x3d9f64[_0x3af681(0x1a0)]),_0x411ed7=_0x3d9f64[_0x3af681(0x19b)][_0x3af681(0x1a3)](_0x3af681(0x1db));return _0x24bbc0[_0x3af681(0x1c5)](_0x3af681(0x194))['to'](_0x411ed7),_0x24bbc0['on'](_0x3af681(0x1d4),()=>{const _0x4447d2=_0x3af681;_0x411ed7[_0x4447d2(0x1d4)](_0x207c66);}),_0x24bbc0;}[_0x34eaab(0x1ca)](_0x122a29){const _0x3d6f7e=_0x34eaab,{locale:_0x5d9342}=this[_0x3d6f7e(0x19f)],_0xeed83b=this[_0x3d6f7e(0x19f)][_0x3d6f7e(0x198)][_0x3d6f7e(0x1a3)](_0x3d6f7e(0x1c3)),_0x9525c9=_0x122a29[0x0],_0x943570=this[_0x3d6f7e(0x1d8)](_0x57a467,_0x9525c9[_0x3d6f7e(0x1a1)]);return _0x943570[_0x3d6f7e(0x1b6)]=_0x9525c9[_0x3d6f7e(0x1b6)],_0x943570[_0x3d6f7e(0x1c5)](_0x3d6f7e(0x1b9))['to'](_0xeed83b,_0x3d6f7e(0x1af),_0x4c2f49=>_0x20d536(_0x5d9342,_0x9525c9[_0x3d6f7e(0x1a1)],_0x4c2f49?_0x3d6f7e(0x1c8):_0x3d6f7e(0x19a))[_0x3d6f7e(0x18c)]),_0x943570[_0x3d6f7e(0x190)]=!0x0,_0x943570;}[_0x34eaab(0x1b8)](_0xa98cfb){const _0x333188=_0x34eaab,{locale:_0x75880f}=this[_0x333188(0x19f)],_0x34065e=this[_0x333188(0x19f)][_0x333188(0x198)][_0x333188(0x1a3)](_0x333188(0x1c3));return _0xa98cfb[_0x333188(0x1d3)](_0x1d823b=>{const _0x5d6e98=_0x333188,_0x49354c=this[_0x5d6e98(0x1d8)](_0x57a467,_0x1d823b[_0x5d6e98(0x1a1)]);return _0x49354c[_0x5d6e98(0x1ac)]=!0x0,_0x49354c[_0x5d6e98(0x1b6)]=_0x1d823b[_0x5d6e98(0x1b6)],_0x49354c[_0x5d6e98(0x1c5)](_0x5d6e98(0x1b9))['to'](_0x34065e,_0x5d6e98(0x1af),_0x595328=>_0x20d536(_0x75880f,_0x1d823b[_0x5d6e98(0x1a1)],_0x595328?_0x5d6e98(0x1c8):_0x5d6e98(0x19a))[_0x5d6e98(0x18c)]),_0x49354c;});}[_0x34eaab(0x1c6)](_0x1b4edf){const _0x82f671=_0x34eaab;return _0x1b4edf[_0x82f671(0x1d3)](_0x59128d=>{const _0x21ec6f=_0x82f671,_0x2cfadf=this[_0x21ec6f(0x1d8)](_0x132c51,_0x59128d[_0x21ec6f(0x1a1)]);return _0x2cfadf[_0x21ec6f(0x1b6)]=_0x59128d[_0x21ec6f(0x1b6)],_0x2cfadf[_0x21ec6f(0x1b9)]=_0x59128d[_0x21ec6f(0x1d0)],_0x2cfadf;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4fa6d3}from'ckeditor5/src/core.js';import{FileRepository as _0xb21525}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x386549}from'./uploadcareediting.js';import{UploadUtils as _0x3698fe}from'./utils/uploadutils.js';import{getImageUrls as _0x4ce67f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4fa6d3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xb21525,_0x386549];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x57e97d=this['editor'];if(!!!_0x57e97d['config']['get']('uploadcare'))return;_0x57e97d['plugins']['get'](_0xb21525)['createUploadAdapter']=_0x3a098a=>new k(_0x3a098a,_0x57e97d),_0x57e97d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3cf8aa,{imageElement:_0x42d15c,data:_0x36052e})=>{_0x57e97d['model']['change'](_0xb5abfd=>{_0xb5abfd['setAttribute']('uploadcareImageId',_0x36052e['uploadcareImageId'],_0x42d15c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xc6832a,_0x43330f){this['loader']=_0xc6832a,this['editor']=_0x43330f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x233727=await this['loader']['file'];return _0x3698fe['upload']({'file':_0x233727,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x48b272=>{_0x48b272&&_0x48b272['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48b272['value']);}})['then'](async _0x2d999c=>{const {imageFallbackUrl:_0x1ebc43,imageSources:_0x5139f8}=_0x4ce67f(_0x2d999c['cdnUrl'],_0x2d999c['imageInfo']['width']);return{'uploadcareImageId':_0x2d999c['uuid'],'default':_0x1ebc43,'sources':_0x5139f8};})['catch'](()=>{const _0x3c8cd8=t('Cannot\x20upload\x20file:')+('\x20'+_0x233727['name']+'.');return Promise['reject'](_0x3c8cd8);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x53086d}from'ckeditor5/src/core.js';import{FileRepository as _0x309592}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4558ba}from'./uploadcareediting.js';import{UploadUtils as _0x3c7c4d}from'./utils/uploadutils.js';import{getImageUrls as _0x576466}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x53086d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x309592,_0x4558ba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a9cfe=this['editor'];if(!!!_0x2a9cfe['config']['get']('uploadcare'))return;_0x2a9cfe['plugins']['get'](_0x309592)['createUploadAdapter']=_0x28c22d=>new k(_0x28c22d,_0x2a9cfe),_0x2a9cfe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x168333,{imageElement:_0x2d2fed,data:_0x120de7})=>{_0x2a9cfe['model']['change'](_0x11c7e4=>{_0x11c7e4['setAttribute']('uploadcareImageId',_0x120de7['uploadcareImageId'],_0x2d2fed);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x427617,_0x56895f){this['loader']=_0x427617,this['editor']=_0x56895f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e236e=await this['loader']['file'];return _0x3c7c4d['upload']({'file':_0x3e236e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1e4a8a=>{_0x1e4a8a&&_0x1e4a8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e4a8a['value']);}})['then'](async _0x45a99=>{const {imageFallbackUrl:_0x30349e,imageSources:_0x140e6d}=_0x576466(_0x45a99['cdnUrl'],_0x45a99['imageInfo']['width']);return{'uploadcareImageId':_0x45a99['uuid'],'default':_0x30349e,'sources':_0x140e6d};})['catch'](()=>{const _0x59c379=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e236e['name']+'.');return Promise['reject'](_0x59c379);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1d3181}from'../uploadcareconfig.js';export function getTranslation(_0x4b30db,_0x445357,_0x4d5e39){const t=_0x4b30db['t'],_0x56c2fb=_0x4b30db['t'];switch(_0x445357){case _0x1d3181['Local']:return{'text':_0x56c2fb('Insert'===_0x4d5e39?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x56c2fb('From\x20computer')};case _0x1d3181['URL']:return{'text':'Insert'===_0x4d5e39?_0x56c2fb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x56c2fb('Via\x20URL')};case _0x1d3181['Dropbox']:return{'text':t('Insert'===_0x4d5e39?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1d3181['Facebook']:return{'text':t('Insert'===_0x4d5e39?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1d3181['GDrive']:return{'text':t('Insert'===_0x4d5e39?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1d3181['GPhotos']:return{'text':t('Insert'===_0x4d5e39?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1d3181['OneDrive']:return{'text':t('Insert'===_0x4d5e39?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x445357;}}
23
+ import{UploadcareSource as _0x56d556}from'../uploadcareconfig.js';export function getTranslation(_0x154087,_0x1f1eb1,_0x5ef426){const t=_0x154087['t'],_0x485405=_0x154087['t'];switch(_0x1f1eb1){case _0x56d556['Local']:return{'text':_0x485405('Insert'===_0x5ef426?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x485405('From\x20computer')};case _0x56d556['URL']:return{'text':'Insert'===_0x5ef426?_0x485405('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x485405('Via\x20URL')};case _0x56d556['Dropbox']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56d556['Facebook']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56d556['GDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56d556['GPhotos']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56d556['OneDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f1eb1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38f4(_0x42a7ec,_0x553649){var _0x2716c7=_0x2716();return _0x38f4=function(_0x38f4fd,_0x5d3b2e){_0x38f4fd=_0x38f4fd-0x191;var _0x1d362b=_0x2716c7[_0x38f4fd];return _0x1d362b;},_0x38f4(_0x42a7ec,_0x553649);}var _0x5a4548=_0x38f4;(function(_0x2e7099,_0x5691e6){var _0x6f8cf5=_0x38f4,_0x53bc70=_0x2e7099();while(!![]){try{var _0x183975=parseInt(_0x6f8cf5(0x191))/0x1+-parseInt(_0x6f8cf5(0x196))/0x2+parseInt(_0x6f8cf5(0x195))/0x3+-parseInt(_0x6f8cf5(0x197))/0x4+-parseInt(_0x6f8cf5(0x19b))/0x5+parseInt(_0x6f8cf5(0x19d))/0x6*(-parseInt(_0x6f8cf5(0x199))/0x7)+parseInt(_0x6f8cf5(0x193))/0x8;if(_0x183975===_0x5691e6)break;else _0x53bc70['push'](_0x53bc70['shift']());}catch(_0x3c1ef7){_0x53bc70['push'](_0x53bc70['shift']());}}}(_0x2716,0xc443f));import{FocusTracker as _0xac15d6}from'ckeditor5/src/utils.js';function _0x2716(){var _0x515b16=['div','623408iowrMS','focusTracker','17560712mmuUZM','focusCycler','543126jtkYKT','556786clbchT','1699940adkadI','forwardCycle','133aLjAnK','fire','2071845NchkkL','getFocusableElement','340386bAqium','createCollection','true','bindTemplate'];_0x2716=function(){return _0x515b16;};return _0x2716();}import{View as _0x376811,FocusCycler as _0x16794d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x376811{[_0x5a4548(0x192)];[_0x5a4548(0x194)];constructor(_0x65c3b3){var _0x2ab891=_0x5a4548;super(_0x65c3b3),this[_0x2ab891(0x192)]=new _0xac15d6(),this[_0x2ab891(0x194)]=new _0x16794d({'focusables':this[_0x2ab891(0x19e)](),'focusTracker':this[_0x2ab891(0x192)]});}[_0x5a4548(0x19c)](){var _0x31d20a=_0x5a4548;return{'tag':_0x31d20a(0x1a1),'attributes':{'aria-hidden':_0x31d20a(0x19f),'tabindex':'0'},'on':{'focus':this[_0x31d20a(0x1a0)]['to'](()=>{var _0x4dba42=_0x31d20a;this[_0x4dba42(0x194)][_0x4dba42(0x19a)](_0x4dba42(0x198));})}};}}
23
+ var _0x49c577=_0x1e4b;(function(_0x32c578,_0x1632ee){var _0xca7101=_0x1e4b,_0x4b6deb=_0x32c578();while(!![]){try{var _0x161c0f=parseInt(_0xca7101(0xee))/0x1*(parseInt(_0xca7101(0xf0))/0x2)+parseInt(_0xca7101(0xed))/0x3+parseInt(_0xca7101(0xe9))/0x4+parseInt(_0xca7101(0xf4))/0x5+-parseInt(_0xca7101(0xef))/0x6+-parseInt(_0xca7101(0xea))/0x7+parseInt(_0xca7101(0xf1))/0x8;if(_0x161c0f===_0x1632ee)break;else _0x4b6deb['push'](_0x4b6deb['shift']());}catch(_0x3df1bd){_0x4b6deb['push'](_0x4b6deb['shift']());}}}(_0x5d37,0x3b8e2));import{FocusTracker as _0x50dc71}from'ckeditor5/src/utils.js';import{View as _0x4aad7a,FocusCycler as _0x58c2c8}from'ckeditor5/src/ui.js';function _0x1e4b(_0x166140,_0x4ddce5){var _0x5d371a=_0x5d37();return _0x1e4b=function(_0x1e4b49,_0x316ef1){_0x1e4b49=_0x1e4b49-0xe7;var _0x5b107c=_0x5d371a[_0x1e4b49];return _0x5b107c;},_0x1e4b(_0x166140,_0x4ddce5);}function _0x5d37(){var _0x2b0f8f=['98810LJkeTI','focusCycler','true','div','fire','focusTracker','884436rwQxga','1876287aiiIqp','forwardCycle','bindTemplate','796050pkkFNc','1YyzOPA','2836242DjEUxP','190006oBaVta','3067696TlzTJn','getFocusableElement','createCollection'];_0x5d37=function(){return _0x2b0f8f;};return _0x5d37();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4aad7a{[_0x49c577(0xe8)];[_0x49c577(0xf5)];constructor(_0x51e230){var _0x5bf78e=_0x49c577;super(_0x51e230),this[_0x5bf78e(0xe8)]=new _0x50dc71(),this[_0x5bf78e(0xf5)]=new _0x58c2c8({'focusables':this[_0x5bf78e(0xf3)](),'focusTracker':this[_0x5bf78e(0xe8)]});}[_0x49c577(0xf2)](){var _0x3a68e1=_0x49c577;return{'tag':_0x3a68e1(0xf7),'attributes':{'aria-hidden':_0x3a68e1(0xf6),'tabindex':'0'},'on':{'focus':this[_0x3a68e1(0xec)]['to'](()=>{var _0x3d0971=_0x3a68e1;this[_0x3d0971(0xf5)][_0x3d0971(0xe7)](_0x3d0971(0xeb));})}};}}