@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.3 → 44.3.0-alpha.4

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.
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x340aeb,ObservableMixin as _0x4c05fb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56ab88}from'ckeditor5/src/ui.js';import _0x4c433e from'./uploadcareimageeditformview.js';import _0x4b1669 from'../../utils/uploadutils.js';import _0x171e57 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x5a3512,getImageDimension as _0x5f116d}from'../../utils/editingutils.js';import{isAncestor as _0x35042e}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x4c05fb(){constructor(_0x283ad5,_0x5192ff,_0x3808ad){super(),this['_editor']=_0x283ad5,this['_dialog']=_0x5192ff,this['_imageElement']=_0x3808ad,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 _0x2d6caa=this['_imageElement'],_0x3e75cb=_0x2d6caa['getAttribute']('uploadcareImageId'),_0x6d662f=_0x2d6caa['getAttribute']('src');if(_0x3e75cb)await this['_loadImageInfo'](_0x3e75cb,_0x6d662f);else{if(this['_imageCache']['has'](_0x6d662f)){const _0x4965bd=this['_imageCache']['get'](_0x6d662f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4965bd['url'],this['imageDimension']=_0x4965bd['dimension'],this['imageId']=_0x4965bd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3f3fc9}=this['_editor'],t=_0x3f3fc9['t'],_0x212b92=new _0x4c433e(_0x3f3fc9,this['imageStatus'],this['_attributes']);_0x212b92['bind']('status')['to'](this,'imageStatus'),_0x212b92['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x212b92['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x212b92['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x212b92,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x171e57,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x212b92,'position':_0x56ab88['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x212b92['focus']();},'onHide':()=>{_0x212b92['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ffc74=>!_0x35042e(_0x4ffc74,_0x212b92['element'])}});}['_loadImageInfo'](_0x57f4d2,_0x54d456){return _0x4b1669['getInfo'](_0x57f4d2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ebfd3=>{const {width:_0x58740b,height:_0x28adda}=_0x4ebfd3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54d456,this['imageDimension']={'width':_0x58740b,'height':_0x28adda},this['imageId']=_0x57f4d2;})['catch'](_0x52085a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52085a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1acec5,_0x3e28ed){return this['_getImageAsFile'](_0x1acec5)['then'](_0x3d47da=>_0x4b1669['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3e28ed['signal'],'file':_0x3d47da,'onProgress':_0x1ea509=>{_0x1ea509&&_0x1ea509['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ea509['value']));}}))['then'](_0x4e845b=>{const {width:_0x16ed4f,height:_0x21a76a}=_0x4e845b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e845b['cdnUrl'],this['imageDimension']={'width':_0x16ed4f,'height':_0x21a76a},this['imageId']=_0x4e845b['uuid'],this['imageUploadProgress']=null;const _0x24add4=_0x1acec5['getAttribute']('src');this['_imageCache']['set'](_0x24add4,{'id':_0x4e845b['uuid'],'url':_0x4e845b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4536cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4536cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x541cf7,_0xb2508e){_0x541cf7['on']('apply',(_0xc71b88,_0x4606fd)=>{this['_replaceImage'](_0xb2508e,_0x4606fd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x541cf7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x541cf7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4af928,_0xa8e624,_0x2ba350){const _0x10ffb4=this['_editor'],{width:_0x33b7bb,height:_0x2adb30}=_0x5f116d(_0xa8e624,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x569d00,imageSources:_0x27f335}=_0x5a3512(_0xa8e624,_0x33b7bb);_0x10ffb4['model']['change'](_0x4d7a25=>{if('$graveyard'===_0x4af928['root']['rootName']){_0x10ffb4['execute']('insertImage',{'imageType':_0x4af928['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4af928['getAttributes']()),'uploadcareImageId':_0x2ba350,'src':_0x569d00,'sources':_0x27f335,'width':_0x33b7bb,'height':_0x2adb30}});const _0x9c6638=_0x4af928['getChildren']();_0x4af928=_0x10ffb4['model']['document']['selection']['getSelectedElement']();for(const _0x2fb6d3 of _0x9c6638)_0x4d7a25['append'](_0x4d7a25['cloneElement'](_0x2fb6d3),_0x4af928);}else _0x4d7a25['setSelection'](_0x4af928,'on'),_0x10ffb4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4af928['getAttributes']()),'uploadcareImageId':_0x2ba350,'src':_0x569d00,'sources':_0x27f335,'width':_0x33b7bb,'height':_0x2adb30},_0x4af928);_0x4d7a25['setSelection'](_0x4af928,'on');});}async['_getImageAsFile'](_0x1c4558){const _0xf55115=_0x340aeb['window'],_0x2867fc=_0x340aeb['document']['location']['href'],_0x66e6aa=new _0xf55115['URL'](_0x1c4558['getAttribute']('src'),_0x2867fc);if('data:'===_0x66e6aa['protocol']){const _0x58bf85=_0x66e6aa['href']['split'](','),_0x1f731a=_0x58bf85[0x0]['match'](/:(.*?);/)[0x1],_0x252f4e=_0x1f731a['split']('/')[0x1],_0x4c6ca6=_0xf55115['atob'](_0x58bf85[_0x58bf85['length']-0x1]);let _0x308111=_0x4c6ca6['length'];const _0x4384af=new _0xf55115['Uint8Array'](_0x308111);for(;_0x308111--;)_0x4384af[_0x308111]=_0x4c6ca6['charCodeAt'](_0x308111);return new _0xf55115['File']([_0x4384af],'image.'+_0x252f4e,{'type':_0x1f731a});}const _0x381b06=_0x66e6aa['href']['split']('/'),_0xa7d35=_0x381b06[_0x381b06['length']-0x1],_0x4877fa=_0xa7d35['split']('.')[0x1];return _0xf55115['fetch'](_0x66e6aa['href'])['then'](_0x1ed15e=>_0x1ed15e['clone']()['blob']())['then'](_0x591885=>new _0xf55115['File']([_0x591885],_0xa7d35,{'type':'image/'+_0x4877fa}));}}
23
+ import{global as _0xab5082,ObservableMixin as _0x3d25ed}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e9b8c}from'ckeditor5/src/ui.js';import _0x4cc00f from'./uploadcareimageeditformview.js';import _0x92dbee from'../../utils/uploadutils.js';import _0x4aa02e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2a18c6,getImageDimension as _0x3ce6e3}from'../../utils/editingutils.js';import{isAncestor as _0x5eea67}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3d25ed(){constructor(_0x1f8d88,_0x2eea78,_0x1f261b){super(),this['_editor']=_0x1f8d88,this['_dialog']=_0x2eea78,this['_imageElement']=_0x1f261b,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 _0x5b089c=this['_imageElement'],_0x5f31b1=_0x5b089c['getAttribute']('uploadcareImageId'),_0x52e4c3=_0x5b089c['getAttribute']('src');if(_0x5f31b1)await this['_loadImageInfo'](_0x5f31b1,_0x52e4c3);else{if(this['_imageCache']['has'](_0x52e4c3)){const _0x4b0524=this['_imageCache']['get'](_0x52e4c3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b0524['url'],this['imageDimension']=_0x4b0524['dimension'],this['imageId']=_0x4b0524['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5acd47}=this['_editor'],t=_0x5acd47['t'],_0x1a27c7=new _0x4cc00f(_0x5acd47,this['imageStatus'],this['_attributes']);_0x1a27c7['bind']('status')['to'](this,'imageStatus'),_0x1a27c7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a27c7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a27c7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a27c7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4aa02e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a27c7,'position':_0x4e9b8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a27c7['focus']();},'onHide':()=>{_0x1a27c7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x45a9c0=>!_0x5eea67(_0x45a9c0,_0x1a27c7['element'])}});}['_loadImageInfo'](_0x552e68,_0x5ff95c){return _0x92dbee['getInfo'](_0x552e68,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x317c72=>{const {width:_0xb19ac6,height:_0x190a39}=_0x317c72['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ff95c,this['imageDimension']={'width':_0xb19ac6,'height':_0x190a39},this['imageId']=_0x552e68;})['catch'](_0x25c6d5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25c6d5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x422a26,_0x1839dd){return this['_getImageAsFile'](_0x422a26)['then'](_0x2f1c20=>_0x92dbee['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1839dd['signal'],'file':_0x2f1c20,'onProgress':_0x4e6f1d=>{_0x4e6f1d&&_0x4e6f1d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e6f1d['value']));}}))['then'](_0x297a7a=>{const {width:_0x2ad2e0,height:_0x1dedde}=_0x297a7a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x297a7a['cdnUrl'],this['imageDimension']={'width':_0x2ad2e0,'height':_0x1dedde},this['imageId']=_0x297a7a['uuid'],this['imageUploadProgress']=null;const _0x1531b3=_0x422a26['getAttribute']('src');this['_imageCache']['set'](_0x1531b3,{'id':_0x297a7a['uuid'],'url':_0x297a7a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb1aa96=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb1aa96['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1ed00e,_0x520a9b){_0x1ed00e['on']('apply',(_0x395605,_0x4f7f8f)=>{this['_replaceImage'](_0x520a9b,_0x4f7f8f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1ed00e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1ed00e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x46c08b,_0x4c41fa,_0x2faa73){const _0x213b26=this['_editor'],{width:_0x27ff5b,height:_0x43cdbe}=_0x3ce6e3(_0x4c41fa,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x183c3f,imageSources:_0x3368cc}=_0x2a18c6(_0x4c41fa,_0x27ff5b);_0x213b26['model']['change'](_0x15a81e=>{if('$graveyard'===_0x46c08b['root']['rootName']){_0x213b26['execute']('insertImage',{'imageType':_0x46c08b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x46c08b['getAttributes']()),'uploadcareImageId':_0x2faa73,'src':_0x183c3f,'sources':_0x3368cc,'width':_0x27ff5b,'height':_0x43cdbe}});const _0x1bb7c9=_0x46c08b['getChildren']();_0x46c08b=_0x213b26['model']['document']['selection']['getSelectedElement']();for(const _0x10377b of _0x1bb7c9)_0x15a81e['append'](_0x15a81e['cloneElement'](_0x10377b),_0x46c08b);}else _0x15a81e['setSelection'](_0x46c08b,'on'),_0x213b26['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x46c08b['getAttributes']()),'uploadcareImageId':_0x2faa73,'src':_0x183c3f,'sources':_0x3368cc,'width':_0x27ff5b,'height':_0x43cdbe},_0x46c08b);_0x15a81e['setSelection'](_0x46c08b,'on');});}async['_getImageAsFile'](_0x5bc417){const _0x4c28a3=_0xab5082['window'],_0x2480a5=_0xab5082['document']['location']['href'],_0x3f99e1=new _0x4c28a3['URL'](_0x5bc417['getAttribute']('src'),_0x2480a5);if('data:'===_0x3f99e1['protocol']){const _0x30ac3d=_0x3f99e1['href']['split'](','),_0x2cf642=_0x30ac3d[0x0]['match'](/:(.*?);/)[0x1],_0x15ce3e=_0x2cf642['split']('/')[0x1],_0x310499=_0x4c28a3['atob'](_0x30ac3d[_0x30ac3d['length']-0x1]);let _0xadf927=_0x310499['length'];const _0x5b4775=new _0x4c28a3['Uint8Array'](_0xadf927);for(;_0xadf927--;)_0x5b4775[_0xadf927]=_0x310499['charCodeAt'](_0xadf927);return new _0x4c28a3['File']([_0x5b4775],'image.'+_0x15ce3e,{'type':_0x2cf642});}const _0x4e16bc=_0x3f99e1['href']['split']('/'),_0x50b614=_0x4e16bc[_0x4e16bc['length']-0x1],_0x2c77c1=_0x50b614['split']('.')[0x1];return _0x4c28a3['fetch'](_0x3f99e1['href'])['then'](_0x1a0cc3=>_0x1a0cc3['clone']()['blob']())['then'](_0x35409d=>new _0x4c28a3['File']([_0x35409d],_0x50b614,{'type':'image/'+_0x2c77c1}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bee(_0xa431a0,_0x432bea){const _0x4503bd=_0x4503();return _0x1bee=function(_0x1bee5b,_0x1cea46){_0x1bee5b=_0x1bee5b-0x1a4;let _0x2db729=_0x4503bd[_0x1bee5b];return _0x2db729;},_0x1bee(_0xa431a0,_0x432bea);}(function(_0x445f4d,_0x3e3ebb){const _0x477c42=_0x1bee,_0xb23b58=_0x445f4d();while(!![]){try{const _0x4beb06=parseInt(_0x477c42(0x1aa))/0x1*(-parseInt(_0x477c42(0x1a5))/0x2)+-parseInt(_0x477c42(0x1b3))/0x3+-parseInt(_0x477c42(0x1a4))/0x4*(-parseInt(_0x477c42(0x1ab))/0x5)+-parseInt(_0x477c42(0x1af))/0x6+parseInt(_0x477c42(0x1a8))/0x7*(parseInt(_0x477c42(0x1a6))/0x8)+parseInt(_0x477c42(0x1b1))/0x9*(-parseInt(_0x477c42(0x1ae))/0xa)+parseInt(_0x477c42(0x1b2))/0xb;if(_0x4beb06===_0x3e3ebb)break;else _0xb23b58['push'](_0xb23b58['shift']());}catch(_0x33740d){_0xb23b58['push'](_0xb23b58['shift']());}}}(_0x4503,0x73db3));function _0x4503(){const _0x5b3084=['2685588ZsWVjS','bindTemplate','uc-cloud-image-editor','image-edit','73060yYGpNu','38018wpueYy','92632FUFsek','setTemplate','413otkFKH','ck-uploadcare-theme','3swGFCM','145ehIcuX','uc-light','imageSrc','354630CxODzP','4755420xSJyON','set','108kChQWN','15752550hakmWZ'];_0x4503=function(){return _0x5b3084;};return _0x4503();}import{View as _0x2dede7}from'ckeditor5/src/ui.js';export default class tt extends _0x2dede7{constructor(_0x36631e,_0x3f2ad0){const _0x5c4eeb=_0x1bee;super(_0x36631e);const _0x3e1742=this[_0x5c4eeb(0x1b4)];this[_0x5c4eeb(0x1b0)](_0x5c4eeb(0x1ad),''),this[_0x5c4eeb(0x1a7)]({'tag':_0x5c4eeb(0x1b5),'attributes':{..._0x3f2ad0,'class':[_0x5c4eeb(0x1ac),_0x5c4eeb(0x1a9)],'ctx-name':_0x5c4eeb(0x1b6),'cdn-url':_0x3e1742['to'](_0x5c4eeb(0x1ad))}});}}
23
+ function _0x1caf(_0x5788ca,_0xdb7f3f){const _0x30c20c=_0x30c2();return _0x1caf=function(_0x1cafd1,_0x2f7f24){_0x1cafd1=_0x1cafd1-0x1f4;let _0x4c9d51=_0x30c20c[_0x1cafd1];return _0x4c9d51;},_0x1caf(_0x5788ca,_0xdb7f3f);}(function(_0x527ce3,_0x558d39){const _0x26c8d3=_0x1caf,_0x2dfc01=_0x527ce3();while(!![]){try{const _0x2e81f5=-parseInt(_0x26c8d3(0x1f8))/0x1+-parseInt(_0x26c8d3(0x1fc))/0x2*(-parseInt(_0x26c8d3(0x1ff))/0x3)+parseInt(_0x26c8d3(0x1f9))/0x4+parseInt(_0x26c8d3(0x202))/0x5*(parseInt(_0x26c8d3(0x1f6))/0x6)+-parseInt(_0x26c8d3(0x1f7))/0x7*(-parseInt(_0x26c8d3(0x204))/0x8)+-parseInt(_0x26c8d3(0x203))/0x9+-parseInt(_0x26c8d3(0x1f4))/0xa;if(_0x2e81f5===_0x558d39)break;else _0x2dfc01['push'](_0x2dfc01['shift']());}catch(_0x3ce165){_0x2dfc01['push'](_0x2dfc01['shift']());}}}(_0x30c2,0x4cf5f));function _0x30c2(){const _0x22b540=['1790631PbFOuR','1760mvfdzG','imageSrc','1631170MZMpPs','bindTemplate','4668yrXGOH','2331YrTtfD','502498UHIfgu','963168huywfI','uc-cloud-image-editor','uc-light','2OqKlIg','ck-uploadcare-theme','setTemplate','1654323VPzvLh','set','image-edit','2020VsUrxf'];_0x30c2=function(){return _0x22b540;};return _0x30c2();}import{View as _0x348fa9}from'ckeditor5/src/ui.js';export default class tt extends _0x348fa9{constructor(_0x3f1813,_0x3fbdac){const _0x3d3959=_0x1caf;super(_0x3f1813);const _0x4f1e54=this[_0x3d3959(0x1f5)];this[_0x3d3959(0x200)](_0x3d3959(0x205),''),this[_0x3d3959(0x1fe)]({'tag':_0x3d3959(0x1fa),'attributes':{..._0x3fbdac,'class':[_0x3d3959(0x1fb),_0x3d3959(0x1fd)],'ctx-name':_0x3d3959(0x201),'cdn-url':_0x4f1e54['to'](_0x3d3959(0x205))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x190ea4,IconView as et,View as _0x23cb07}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x23cb07{constructor(_0x28a164){super(_0x28a164);const t=_0x28a164['t'];this['set']('errorType',null);const _0x98e764=new _0x190ea4(_0x28a164);_0x98e764['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x98e764['withText']=!0x0,_0x98e764['class']='ck-button-action',_0x98e764['on']('execute',()=>{this['fire']('retry');}),_0x98e764['bind']('isVisible')['to'](this,'errorType',_0xf6feed=>'NotFound'!==_0xf6feed);const _0x5a6095=new et();_0x5a6095['content']=at,_0x5a6095['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f4f5d=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':[_0x5a6095,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f4f5d['to']('errorType',_0x58cfb7=>t('NotFound'!==_0x58cfb7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x98e764]},{'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{ButtonView as _0x20d531,IconView as et,View as _0x4a4f24}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x4a4f24{constructor(_0x44eec6){super(_0x44eec6);const t=_0x44eec6['t'];this['set']('errorType',null);const _0x4d938e=new _0x20d531(_0x44eec6);_0x4d938e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d938e['withText']=!0x0,_0x4d938e['class']='ck-button-action',_0x4d938e['on']('execute',()=>{this['fire']('retry');}),_0x4d938e['bind']('isVisible')['to'](this,'errorType',_0x14e36a=>'NotFound'!==_0x14e36a);const _0xbe4e62=new et();_0xbe4e62['content']=at,_0xbe4e62['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5633c8=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':[_0xbe4e62,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5633c8['to']('errorType',_0x10bfd3=>t('NotFound'!==_0x10bfd3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d938e]},{'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 _0x3c9dce,View as _0x11d937}from'ckeditor5/src/ui.js';export default class ta extends _0x11d937{constructor(_0xe41a21){super(_0xe41a21);const t=_0xe41a21['t'],_0x2fb8bb=this['bindTemplate'],_0x5581b9=new _0x3c9dce();_0x5581b9['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':[_0x5581b9,{'text':_0x2fb8bb['to']('imageUploadProgress',_0x31002c=>t('Loading\x20image...')+'\x20('+(_0x31002c||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 _0x545b9f,View as _0x267838}from'ckeditor5/src/ui.js';export default class ta extends _0x267838{constructor(_0x1d809f){super(_0x1d809f);const t=_0x1d809f['t'],_0x443495=this['bindTemplate'],_0x28069d=new _0x545b9f();_0x28069d['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':[_0x28069d,{'text':_0x443495['to']('imageUploadProgress',_0x9cbb2b=>t('Loading\x20image...')+'\x20('+(_0x9cbb2b||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
- const _0x570ee0=_0x733e;(function(_0x3e6b5d,_0x22562d){const _0x57512c=_0x733e,_0x2baaa4=_0x3e6b5d();while(!![]){try{const _0xc93e8c=parseInt(_0x57512c(0x1a4))/0x1+parseInt(_0x57512c(0x190))/0x2*(parseInt(_0x57512c(0x193))/0x3)+parseInt(_0x57512c(0x197))/0x4+parseInt(_0x57512c(0x188))/0x5+parseInt(_0x57512c(0x181))/0x6*(-parseInt(_0x57512c(0x173))/0x7)+-parseInt(_0x57512c(0x1a0))/0x8+parseInt(_0x57512c(0x18a))/0x9*(-parseInt(_0x57512c(0x19e))/0xa);if(_0xc93e8c===_0x22562d)break;else _0x2baaa4['push'](_0x2baaa4['shift']());}catch(_0x21d506){_0x2baaa4['push'](_0x2baaa4['shift']());}}}(_0x3d20,0x45581));import{View as _0x402dff}from'ckeditor5/src/ui.js';import _0x32a3a8 from'./uploadcareimageeditformloadingview.js';import _0x13aad9 from'./uploadcareimageeditformerrorview.js';import _0x12c2f3 from'./uploadcareimageeditformeditingview.js';import _0x3be0d7 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x3d20(){const _0x597b93=['ck-reset_all-excluded','212460zMQueJ','div','error','nodeName','cancel','_items','filter','2520390cQRDOn','change:status','11223NYSZFT','_addErrorViewListeners','set','getFocusableElement','focus','uploading','526ZAfIwf','toLowerCase','createCollection','1566pHpvIX','_errorView','retry','detail','779340XfphdC','uc-cloud-image-editor','addEventListener','ready','add','fire','element','2370vnAoGS','_waitForImageEditorComponent','792696vxwOab','_focusableView','setTemplate','once','409020OYvIfB','_loadingView','status','cdnUrl','addedNodes','_setView','112HkXDsq','ck-uploadcare-form','render','length','observe','querySelector','clear','disconnect','addMany','_addUploadcareImageEditorListeners','target','apply','_editingView'];_0x3d20=function(){return _0x597b93;};return _0x3d20();}function _0x733e(_0x29d7dc,_0xad2a38){const _0x3d2013=_0x3d20();return _0x733e=function(_0x733e9,_0x5b2797){_0x733e9=_0x733e9-0x173;let _0x4b152c=_0x3d2013[_0x733e9];return _0x4b152c;},_0x733e(_0x29d7dc,_0xad2a38);}export default class Z extends _0x3be0d7{constructor(_0x292380,_0x759f30,_0x146538){const _0x49c7bb=_0x733e;super(_0x292380),this[_0x49c7bb(0x186)]=this[_0x49c7bb(0x192)](),this[_0x49c7bb(0x1a5)]=new _0x32a3a8(_0x292380),this[_0x49c7bb(0x194)]=new _0x13aad9(_0x292380),this[_0x49c7bb(0x17f)]=new _0x12c2f3(_0x292380,_0x146538),this[_0x49c7bb(0x1a1)]=new _0x402dff(_0x292380),this[_0x49c7bb(0x1a1)][_0x49c7bb(0x1a2)](this[_0x49c7bb(0x18d)]()),this[_0x49c7bb(0x18c)](_0x49c7bb(0x1a6),_0x759f30),this[_0x49c7bb(0x1a2)]({'tag':_0x49c7bb(0x182),'attributes':{'class':['ck',_0x49c7bb(0x180),_0x49c7bb(0x174)],'tabindex':'-1'},'children':this[_0x49c7bb(0x186)]}),this[_0x49c7bb(0x1a9)](),this[_0x49c7bb(0x1a3)](_0x49c7bb(0x175),()=>{const _0x469c99=_0x49c7bb;this[_0x469c99(0x19f)](this[_0x469c99(0x19d)],_0x22354c=>{const _0x334d80=_0x469c99;this[_0x334d80(0x17c)](_0x22354c);});}),this['on'](_0x49c7bb(0x189),()=>{const _0x4797f2=_0x49c7bb;this[_0x4797f2(0x1a9)]();}),this[_0x49c7bb(0x18b)]();}[_0x570ee0(0x18e)](){const _0xc5c59a=_0x570ee0;this[_0xc5c59a(0x19d)][_0xc5c59a(0x18e)]();}[_0x570ee0(0x1a9)](){const _0x5be751=_0x570ee0;switch(this[_0x5be751(0x186)][_0x5be751(0x179)](),this[_0x5be751(0x1a6)]){case _0x5be751(0x18f):this[_0x5be751(0x186)][_0x5be751(0x19b)](this[_0x5be751(0x1a5)]);break;case _0x5be751(0x183):this[_0x5be751(0x186)][_0x5be751(0x19b)](this[_0x5be751(0x194)]);break;case _0x5be751(0x19a):this[_0x5be751(0x186)][_0x5be751(0x17b)]([this[_0x5be751(0x17f)],this[_0x5be751(0x1a1)]]);}}[_0x570ee0(0x19f)](_0x17115e,_0x31794f){const _0x497be1=_0x570ee0,_0x12cb46=_0x497be1(0x198),_0x259676=_0x17115e[_0x497be1(0x178)](_0x12cb46);if(_0x259676)return _0x31794f(_0x259676);const _0x2e2451=new MutationObserver(_0x548cc4=>{const _0x4198e9=_0x497be1,_0x28c873=_0x548cc4[_0x4198e9(0x187)](_0x2a617b=>_0x2a617b[_0x4198e9(0x17d)]===_0x17115e&&_0x2a617b[_0x4198e9(0x1a8)][_0x4198e9(0x176)]>0x0&&_0x2a617b[_0x4198e9(0x1a8)][0x0][_0x4198e9(0x184)][_0x4198e9(0x191)]()===_0x12cb46);_0x28c873[_0x4198e9(0x176)]&&(_0x2e2451[_0x4198e9(0x17a)](),_0x31794f(_0x28c873[0x0][_0x4198e9(0x1a8)][0x0]));});_0x2e2451[_0x497be1(0x177)](_0x17115e,{'childList':!0x0,'subtree':!0x0});}[_0x570ee0(0x17c)](_0x4d05ea){const _0x581d93=_0x570ee0;_0x4d05ea[_0x581d93(0x199)](_0x581d93(0x17e),_0x57959e=>{const _0x130cd1=_0x581d93;this[_0x130cd1(0x19c)](_0x130cd1(0x17e),{'imageSrc':_0x57959e[_0x130cd1(0x196)][_0x130cd1(0x1a7)]});}),_0x4d05ea[_0x581d93(0x199)](_0x581d93(0x185),()=>{const _0x32a268=_0x581d93;this[_0x32a268(0x19c)](_0x32a268(0x185));});}[_0x570ee0(0x18b)](){const _0x2b7fa4=_0x570ee0;this[_0x2b7fa4(0x194)]['on'](_0x2b7fa4(0x195),()=>{const _0x21daf2=_0x2b7fa4;this[_0x21daf2(0x19c)](_0x21daf2(0x195));});}}
23
+ const _0x52fce=_0x16d9;(function(_0x3883fb,_0x3279bb){const _0x4ad822=_0x16d9,_0x217adb=_0x3883fb();while(!![]){try{const _0x1cb68f=parseInt(_0x4ad822(0xce))/0x1*(-parseInt(_0x4ad822(0xe9))/0x2)+-parseInt(_0x4ad822(0xe3))/0x3+-parseInt(_0x4ad822(0xc2))/0x4+-parseInt(_0x4ad822(0xe8))/0x5+parseInt(_0x4ad822(0xc8))/0x6*(parseInt(_0x4ad822(0xc1))/0x7)+parseInt(_0x4ad822(0xbf))/0x8*(parseInt(_0x4ad822(0xe4))/0x9)+parseInt(_0x4ad822(0xde))/0xa;if(_0x1cb68f===_0x3279bb)break;else _0x217adb['push'](_0x217adb['shift']());}catch(_0x51047b){_0x217adb['push'](_0x217adb['shift']());}}}(_0xb8e2,0x3a7e5));import{View as _0x45d09f}from'ckeditor5/src/ui.js';import _0x3b9aa9 from'./uploadcareimageeditformloadingview.js';import _0x4935d5 from'./uploadcareimageeditformerrorview.js';function _0xb8e2(){const _0x1b7912=['ck-uploadcare-form','addedNodes','uploading','cancel','uc-cloud-image-editor','status','clear','render','8YUNqXY','element','14bovCXH','172176PLflYE','_focusableView','_waitForImageEditorComponent','_addErrorViewListeners','getFocusableElement','length','566178TeTlqg','_items','apply','createCollection','_addUploadcareImageEditorListeners','change:status','5eNXgbe','target','_editingView','div','disconnect','focus','nodeName','detail','observe','_errorView','add','filter','setTemplate','addMany','_setView','fire','5842190HXXrzE','ck-reset_all-excluded','error','ready','cdnUrl','88713jBOrMm','1649187znbbZy','set','once','retry','1366695izZPVw','148258wPzIda','toLowerCase','querySelector','_loadingView','addEventListener'];_0xb8e2=function(){return _0x1b7912;};return _0xb8e2();}import _0x351bf0 from'./uploadcareimageeditformeditingview.js';function _0x16d9(_0x26484e,_0xacdb49){const _0xb8e21e=_0xb8e2();return _0x16d9=function(_0x16d9ba,_0x58f4ed){_0x16d9ba=_0x16d9ba-0xb9;let _0x5574e4=_0xb8e21e[_0x16d9ba];return _0x5574e4;},_0x16d9(_0x26484e,_0xacdb49);}import _0x58c861 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x58c861{constructor(_0x17f6aa,_0x5d0d69,_0x55ee1e){const _0x113cb7=_0x16d9;super(_0x17f6aa),this[_0x113cb7(0xc9)]=this[_0x113cb7(0xcb)](),this[_0x113cb7(0xec)]=new _0x3b9aa9(_0x17f6aa),this[_0x113cb7(0xd7)]=new _0x4935d5(_0x17f6aa),this[_0x113cb7(0xd0)]=new _0x351bf0(_0x17f6aa,_0x55ee1e),this[_0x113cb7(0xc3)]=new _0x45d09f(_0x17f6aa),this[_0x113cb7(0xc3)][_0x113cb7(0xda)](this[_0x113cb7(0xc6)]()),this[_0x113cb7(0xe5)](_0x113cb7(0xbc),_0x5d0d69),this[_0x113cb7(0xda)]({'tag':_0x113cb7(0xd1),'attributes':{'class':['ck',_0x113cb7(0xdf),_0x113cb7(0xee)],'tabindex':'-1'},'children':this[_0x113cb7(0xc9)]}),this[_0x113cb7(0xdc)](),this[_0x113cb7(0xe6)](_0x113cb7(0xbe),()=>{const _0x25248f=_0x113cb7;this[_0x25248f(0xc4)](this[_0x25248f(0xc0)],_0x1e8c9c=>{const _0x92a2bc=_0x25248f;this[_0x92a2bc(0xcc)](_0x1e8c9c);});}),this['on'](_0x113cb7(0xcd),()=>{const _0x4f03c9=_0x113cb7;this[_0x4f03c9(0xdc)]();}),this[_0x113cb7(0xc5)]();}[_0x52fce(0xd3)](){const _0x2fd06a=_0x52fce;this[_0x2fd06a(0xc0)][_0x2fd06a(0xd3)]();}[_0x52fce(0xdc)](){const _0x184c84=_0x52fce;switch(this[_0x184c84(0xc9)][_0x184c84(0xbd)](),this[_0x184c84(0xbc)]){case _0x184c84(0xb9):this[_0x184c84(0xc9)][_0x184c84(0xd8)](this[_0x184c84(0xec)]);break;case _0x184c84(0xe0):this[_0x184c84(0xc9)][_0x184c84(0xd8)](this[_0x184c84(0xd7)]);break;case _0x184c84(0xe1):this[_0x184c84(0xc9)][_0x184c84(0xdb)]([this[_0x184c84(0xd0)],this[_0x184c84(0xc3)]]);}}[_0x52fce(0xc4)](_0x56bd03,_0x49bc67){const _0x2a4682=_0x52fce,_0x18d7eb=_0x2a4682(0xbb),_0x25438c=_0x56bd03[_0x2a4682(0xeb)](_0x18d7eb);if(_0x25438c)return _0x49bc67(_0x25438c);const _0x40e6a7=new MutationObserver(_0xabf09e=>{const _0x280c35=_0x2a4682,_0x5cf462=_0xabf09e[_0x280c35(0xd9)](_0x4ee2db=>_0x4ee2db[_0x280c35(0xcf)]===_0x56bd03&&_0x4ee2db[_0x280c35(0xef)][_0x280c35(0xc7)]>0x0&&_0x4ee2db[_0x280c35(0xef)][0x0][_0x280c35(0xd4)][_0x280c35(0xea)]()===_0x18d7eb);_0x5cf462[_0x280c35(0xc7)]&&(_0x40e6a7[_0x280c35(0xd2)](),_0x49bc67(_0x5cf462[0x0][_0x280c35(0xef)][0x0]));});_0x40e6a7[_0x2a4682(0xd6)](_0x56bd03,{'childList':!0x0,'subtree':!0x0});}[_0x52fce(0xcc)](_0x3b07e5){const _0x1bf2e8=_0x52fce;_0x3b07e5[_0x1bf2e8(0xed)](_0x1bf2e8(0xca),_0x513879=>{const _0x39c9df=_0x1bf2e8;this[_0x39c9df(0xdd)](_0x39c9df(0xca),{'imageSrc':_0x513879[_0x39c9df(0xd5)][_0x39c9df(0xe2)]});}),_0x3b07e5[_0x1bf2e8(0xed)](_0x1bf2e8(0xba),()=>{const _0x39cfe7=_0x1bf2e8;this[_0x39cfe7(0xdd)](_0x39cfe7(0xba));});}[_0x52fce(0xc5)](){const _0x1b864e=_0x52fce;this[_0x1b864e(0xd7)]['on'](_0x1b864e(0xe7),()=>{const _0x4d480c=_0x1b864e;this[_0x4d480c(0xdd)](_0x4d480c(0xe7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196ccf=_0x4435;(function(_0x3aa3f3,_0x6727fd){const _0x7af9db=_0x4435,_0x168be8=_0x3aa3f3();while(!![]){try{const _0x5d387d=-parseInt(_0x7af9db(0x17e))/0x1*(-parseInt(_0x7af9db(0x16f))/0x2)+parseInt(_0x7af9db(0x178))/0x3*(-parseInt(_0x7af9db(0x174))/0x4)+-parseInt(_0x7af9db(0x17f))/0x5+-parseInt(_0x7af9db(0x175))/0x6+-parseInt(_0x7af9db(0x166))/0x7*(-parseInt(_0x7af9db(0x165))/0x8)+-parseInt(_0x7af9db(0x183))/0x9*(-parseInt(_0x7af9db(0x179))/0xa)+parseInt(_0x7af9db(0x16d))/0xb*(-parseInt(_0x7af9db(0x16c))/0xc);if(_0x5d387d===_0x6727fd)break;else _0x168be8['push'](_0x168be8['shift']());}catch(_0x34dc0d){_0x168be8['push'](_0x168be8['shift']());}}}(_0x1d52,0x708c3));import{Command as _0x359f92}from'ckeditor5/src/core.js';import{Dialog as _0xd25a96}from'ckeditor5/src/ui.js';function _0x4435(_0x4ac22b,_0x55a544){const _0x1d520f=_0x1d52();return _0x4435=function(_0x443579,_0x3e7a6b){_0x443579=_0x443579-0x165;let _0x43fe4a=_0x1d520f[_0x443579];return _0x43fe4a;},_0x4435(_0x4ac22b,_0x55a544);}function _0x1d52(){const _0x5acbc9=['config','imageEditController','imageBlock','9ZpWelT','model','element','get','16WWJfaE','1474396ZeWSTD','isEnabled','requires','set','unbind','isActive','12MCliqs','309551WoPfoS','document','2056dgSUWX','execute','uploadcare.allowExternalImagesEditing','bind','refresh','719624GSysEv','1115484Mfqoyq','editor','imageInline','6MPJHvr','2417410mkkvPx','_isEditable','plugins','selection','getSelectedElement','674FDKbLi','1605035moagvB'];_0x1d52=function(){return _0x5acbc9;};return _0x1d52();}import _0x34eea4 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x9b7a3a}from'../utils/editingutils.js';export default class V extends _0x359f92{static get[_0x196ccf(0x168)](){return[_0xd25a96];}constructor(_0x53da8c){const _0x3c8ee4=_0x196ccf;super(_0x53da8c),this[_0x3c8ee4(0x181)]=void 0x0,this[_0x3c8ee4(0x17a)]=_0x9b7a3a(_0x53da8c[_0x3c8ee4(0x180)][_0x3c8ee4(0x186)](_0x3c8ee4(0x171))||[]),this[_0x3c8ee4(0x169)]({'isActive':!0x1});}[_0x196ccf(0x173)](){const _0x5824d2=_0x196ccf,_0x1952a3=this[_0x5824d2(0x176)][_0x5824d2(0x184)][_0x5824d2(0x16e)][_0x5824d2(0x17c)][_0x5824d2(0x17d)]();this[_0x5824d2(0x167)]=this[_0x5824d2(0x17a)](_0x1952a3);}[_0x196ccf(0x170)](){const _0x42aae6=_0x196ccf;this[_0x42aae6(0x181)]&&(this[_0x42aae6(0x16a)](_0x42aae6(0x16b)),this[_0x42aae6(0x181)]=void 0x0);const _0x4969a8=this[_0x42aae6(0x176)][_0x42aae6(0x184)][_0x42aae6(0x16e)][_0x42aae6(0x17c)][_0x42aae6(0x17d)]();_0x4969a8&&(_0x4969a8['is'](_0x42aae6(0x185),_0x42aae6(0x182))||_0x4969a8['is'](_0x42aae6(0x185),_0x42aae6(0x177)))&&(this[_0x42aae6(0x181)]=new _0x34eea4(this[_0x42aae6(0x176)],this[_0x42aae6(0x176)][_0x42aae6(0x17b)][_0x42aae6(0x186)](_0xd25a96),_0x4969a8),this[_0x42aae6(0x172)](_0x42aae6(0x16b))['to'](this[_0x42aae6(0x181)],_0x42aae6(0x16b)));}}
23
+ const _0x58ee08=_0x33ec;(function(_0x5cb87f,_0x4e54d6){const _0x11be14=_0x33ec,_0x3f1c64=_0x5cb87f();while(!![]){try{const _0x3af808=parseInt(_0x11be14(0xed))/0x1+-parseInt(_0x11be14(0xeb))/0x2+parseInt(_0x11be14(0xd4))/0x3*(parseInt(_0x11be14(0xd8))/0x4)+-parseInt(_0x11be14(0xd1))/0x5*(parseInt(_0x11be14(0xde))/0x6)+-parseInt(_0x11be14(0xe3))/0x7+parseInt(_0x11be14(0xe6))/0x8*(parseInt(_0x11be14(0xe5))/0x9)+parseInt(_0x11be14(0xdd))/0xa;if(_0x3af808===_0x4e54d6)break;else _0x3f1c64['push'](_0x3f1c64['shift']());}catch(_0x5e363c){_0x3f1c64['push'](_0x3f1c64['shift']());}}}(_0x46f9,0xe4df6));import{Command as _0x38cf6a}from'ckeditor5/src/core.js';function _0x33ec(_0x446a18,_0x3d1a05){const _0x46f9c=_0x46f9();return _0x33ec=function(_0x33ec91,_0x2b0ae){_0x33ec91=_0x33ec91-0xcf;let _0x258eb6=_0x46f9c[_0x33ec91];return _0x258eb6;},_0x33ec(_0x446a18,_0x3d1a05);}import{Dialog as _0x506549}from'ckeditor5/src/ui.js';import _0x2c4289 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x502cef}from'../utils/editingutils.js';function _0x46f9(){const _0x579759=['521981hCblBj','element','_isEditable','model','65020xeJhFs','uploadcare.allowExternalImagesEditing','config','31284cmdvsd','get','imageBlock','plugins','52cqjoJh','selection','document','refresh','set','9131680eHWatt','42OpUXsT','isActive','execute','requires','bind','2046065PgzXkA','getSelectedElement','369zfXWdU','314536oAIYyp','unbind','imageEditController','editor','isEnabled','3723850MDvBlP','imageInline'];_0x46f9=function(){return _0x579759;};return _0x46f9();}export default class J extends _0x38cf6a{static get[_0x58ee08(0xe1)](){return[_0x506549];}constructor(_0x536be3){const _0x3b85d9=_0x58ee08;super(_0x536be3),this[_0x3b85d9(0xe8)]=void 0x0,this[_0x3b85d9(0xcf)]=_0x502cef(_0x536be3[_0x3b85d9(0xd3)][_0x3b85d9(0xd5)](_0x3b85d9(0xd2))||[]),this[_0x3b85d9(0xdc)]({'isActive':!0x1});}[_0x58ee08(0xdb)](){const _0x27a1c8=_0x58ee08,_0xcda302=this[_0x27a1c8(0xe9)][_0x27a1c8(0xd0)][_0x27a1c8(0xda)][_0x27a1c8(0xd9)][_0x27a1c8(0xe4)]();this[_0x27a1c8(0xea)]=this[_0x27a1c8(0xcf)](_0xcda302);}[_0x58ee08(0xe0)](){const _0x53846b=_0x58ee08;this[_0x53846b(0xe8)]&&(this[_0x53846b(0xe7)](_0x53846b(0xdf)),this[_0x53846b(0xe8)]=void 0x0);const _0xdfce87=this[_0x53846b(0xe9)][_0x53846b(0xd0)][_0x53846b(0xda)][_0x53846b(0xd9)][_0x53846b(0xe4)]();_0xdfce87&&(_0xdfce87['is'](_0x53846b(0xee),_0x53846b(0xd6))||_0xdfce87['is'](_0x53846b(0xee),_0x53846b(0xec)))&&(this[_0x53846b(0xe8)]=new _0x2c4289(this[_0x53846b(0xe9)],this[_0x53846b(0xe9)][_0x53846b(0xd7)][_0x53846b(0xd5)](_0x506549),_0xdfce87),this[_0x53846b(0xe2)](_0x53846b(0xdf))['to'](this[_0x53846b(0xe8)],_0x53846b(0xdf)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0e6e=_0x4e77;function _0x27d0(){const _0x4f45cd=['uploadcareImageEdit','415132utmkDr','commands','pluginName','ImageUtils','8lkHjpB','2IcdgBN','14808AxIXUi','34746rAIgrN','6631889DnVMnX','init','3845390UVyhjI','isOfficialPlugin','1414AjRhcz','671304MoNuCR','369aWKRuH','uploadcareImageReplace','UploadcareImageEditEditing','requires','ImageEditing','isPremiumPlugin','add','5130530BNlAdc'];_0x27d0=function(){return _0x4f45cd;};return _0x27d0();}(function(_0x13e61b,_0xeb29b4){const _0x3f3c24=_0x4e77,_0x5412d8=_0x13e61b();while(!![]){try{const _0x35b14c=-parseInt(_0x3f3c24(0x1f3))/0x1*(-parseInt(_0x3f3c24(0x1f8))/0x2)+parseInt(_0x3f3c24(0x200))/0x3*(-parseInt(_0x3f3c24(0x1f7))/0x4)+parseInt(_0x3f3c24(0x1fd))/0x5+parseInt(_0x3f3c24(0x1fa))/0x6*(-parseInt(_0x3f3c24(0x1ff))/0x7)+parseInt(_0x3f3c24(0x1f9))/0x8*(-parseInt(_0x3f3c24(0x201))/0x9)+parseInt(_0x3f3c24(0x1f1))/0xa+parseInt(_0x3f3c24(0x1fb))/0xb;if(_0x35b14c===_0xeb29b4)break;else _0x5412d8['push'](_0x5412d8['shift']());}catch(_0xb5a46){_0x5412d8['push'](_0x5412d8['shift']());}}}(_0x27d0,0x942e9));import{Plugin as _0x1477c4}from'ckeditor5/src/core.js';import{Notification as _0x3a6954}from'ckeditor5/src/ui.js';import _0xd044ca from'./uploadcareimageeditcommand.js';import _0x4b12af from'./uploadcareimagereplacecommand.js';function _0x4e77(_0x477ad7,_0x6defc){const _0x27d040=_0x27d0();return _0x4e77=function(_0x4e7779,_0x5f1517){_0x4e7779=_0x4e7779-0x1ec;let _0x2c30b6=_0x27d040[_0x4e7779];return _0x2c30b6;},_0x4e77(_0x477ad7,_0x6defc);}import _0x25a543 from'../uploadcareediting.js';export default class m extends _0x1477c4{static get[_0x2a0e6e(0x1f5)](){const _0x2ce12d=_0x2a0e6e;return _0x2ce12d(0x1ec);}static get[_0x2a0e6e(0x1ed)](){const _0x39ef3d=_0x2a0e6e;return[_0x25a543,_0x3a6954,_0x39ef3d(0x1f6),_0x39ef3d(0x1ee)];}static get[_0x2a0e6e(0x1fe)](){return!0x0;}static get[_0x2a0e6e(0x1ef)](){return!0x0;}[_0x2a0e6e(0x1fc)](){const _0x15e66d=_0x2a0e6e,{editor:_0x3e3acc}=this;_0x3e3acc[_0x15e66d(0x1f4)][_0x15e66d(0x1f0)](_0x15e66d(0x1f2),new _0xd044ca(_0x3e3acc)),_0x3e3acc[_0x15e66d(0x1f4)][_0x15e66d(0x1f0)](_0x15e66d(0x202),new _0x4b12af(_0x3e3acc));}}
23
+ const _0x415f15=_0x1dd7;(function(_0xb4838f,_0x48927e){const _0x254b36=_0x1dd7,_0x344922=_0xb4838f();while(!![]){try{const _0x2bea7f=parseInt(_0x254b36(0x75))/0x1+parseInt(_0x254b36(0x70))/0x2*(-parseInt(_0x254b36(0x77))/0x3)+parseInt(_0x254b36(0x7e))/0x4+-parseInt(_0x254b36(0x6d))/0x5+parseInt(_0x254b36(0x6c))/0x6+-parseInt(_0x254b36(0x6e))/0x7+-parseInt(_0x254b36(0x79))/0x8;if(_0x2bea7f===_0x48927e)break;else _0x344922['push'](_0x344922['shift']());}catch(_0x52f541){_0x344922['push'](_0x344922['shift']());}}}(_0x3fe1,0x19db0));import{Plugin as _0x4ee1b9}from'ckeditor5/src/core.js';function _0x1dd7(_0x7e81a7,_0xb20e75){const _0x3fe185=_0x3fe1();return _0x1dd7=function(_0x1dd70e,_0x24fc63){_0x1dd70e=_0x1dd70e-0x6b;let _0x285ac2=_0x3fe185[_0x1dd70e];return _0x285ac2;},_0x1dd7(_0x7e81a7,_0xb20e75);}import{Notification as _0x5bdc8d}from'ckeditor5/src/ui.js';import _0x179889 from'./uploadcareimageeditcommand.js';import _0x22118c from'./uploadcareimagereplacecommand.js';function _0x3fe1(){const _0x211fad=['isOfficialPlugin','isPremiumPlugin','ImageUtils','add','65335rwKOHu','pluginName','29535PCwFHW','uploadcareImageEdit','52992GbwQUV','UploadcareImageEditEditing','requires','init','uploadcareImageReplace','463116MljuWo','commands','1176972rWBrko','992640XescHM','50050yYsmui','ImageEditing','12OmHUdx'];_0x3fe1=function(){return _0x211fad;};return _0x3fe1();}import _0x1903fa from'../uploadcareediting.js';export default class m extends _0x4ee1b9{static get[_0x415f15(0x76)](){const _0x546a10=_0x415f15;return _0x546a10(0x7a);}static get[_0x415f15(0x7b)](){const _0x169e0f=_0x415f15;return[_0x1903fa,_0x5bdc8d,_0x169e0f(0x73),_0x169e0f(0x6f)];}static get[_0x415f15(0x71)](){return!0x0;}static get[_0x415f15(0x72)](){return!0x0;}[_0x415f15(0x7c)](){const _0x3291e4=_0x415f15,{editor:_0x466471}=this;_0x466471[_0x3291e4(0x6b)][_0x3291e4(0x74)](_0x3291e4(0x78),new _0x179889(_0x466471)),_0x466471[_0x3291e4(0x6b)][_0x3291e4(0x74)](_0x3291e4(0x7d),new _0x22118c(_0x466471));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1aea5b}from'ckeditor5/src/core.js';import{ButtonView as _0x30f7b4}from'ckeditor5/src/ui.js';import{createElement as _0x2d6489}from'ckeditor5/src/utils.js';import _0x103b2e from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x1aea5b{constructor(){super(...arguments),this['_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 _0x5a54b7=this['editor'];_0x5a54b7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f9790=>{const _0x495a32=_0x5a54b7['commands']['get']('uploadcareImageEdit'),_0x39fe16=new _0x30f7b4(_0x1f9790),t=_0x1f9790['t'];return _0x39fe16['set']({'icon':_0x103b2e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x39fe16['bind']('isEnabled')['to'](_0x495a32),_0x39fe16['bind']('isOn')['to'](_0x495a32,'isActive'),this['listenTo'](_0x39fe16,'execute',()=>{_0x5a54b7['execute']('uploadcareImageEdit'),_0x5a54b7['editing']['view']['focus']();}),_0x39fe16;}),this['_initConfig']();}['_initConfig'](){const _0x5142a5=_0x2d6489(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5142a5),this['listenTo'](this['editor'],'destroy',()=>{_0x5142a5['remove']();});}}
23
+ import{Plugin as _0x31e46d}from'ckeditor5/src/core.js';import{ButtonView as _0x4d280d}from'ckeditor5/src/ui.js';import{createElement as _0x378f12}from'ckeditor5/src/utils.js';import _0xe444e9 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x31e46d{constructor(){super(...arguments),this['_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 _0x474177=this['editor'];_0x474177['ui']['componentFactory']['add']('uploadcareImageEdit',_0x760b04=>{const _0x36192a=_0x474177['commands']['get']('uploadcareImageEdit'),_0x2f1db3=new _0x4d280d(_0x760b04),t=_0x760b04['t'];return _0x2f1db3['set']({'icon':_0xe444e9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f1db3['bind']('isEnabled')['to'](_0x36192a),_0x2f1db3['bind']('isOn')['to'](_0x36192a,'isActive'),this['listenTo'](_0x2f1db3,'execute',()=>{_0x474177['execute']('uploadcareImageEdit'),_0x474177['editing']['view']['focus']();}),_0x2f1db3;}),this['_initConfig']();}['_initConfig'](){const _0x3e91c5=_0x378f12(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3e91c5),this['listenTo'](this['editor'],'destroy',()=>{_0x3e91c5['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d6f82=_0x22a8;function _0x3939(){const _0x2a3a12=['selection','isEnabled','464045HKxAHd','change','model','imageInline','1448940cwfUAC','srcset','element','432dyhOvj','document','154196VQRCvL','removeAttribute','9XawaZY','imageBlock','10930161HLWAMs','133581ewnIlQ','getSelectedElement','10DzNPsA','sizes','refresh','42EZBAJy','execute','editor','396021zzmUjo','setAttributes','937000Fwxtde'];_0x3939=function(){return _0x2a3a12;};return _0x3939();}(function(_0x17ab69,_0x31454c){const _0x316f3e=_0x22a8,_0x265dcd=_0x17ab69();while(!![]){try{const _0x47059c=parseInt(_0x316f3e(0x19b))/0x1+parseInt(_0x316f3e(0x1a2))/0x2*(parseInt(_0x316f3e(0x1a8))/0x3)+parseInt(_0x316f3e(0x1b1))/0x4+parseInt(_0x316f3e(0x1ad))/0x5*(-parseInt(_0x316f3e(0x1a5))/0x6)+-parseInt(_0x316f3e(0x1a0))/0x7*(-parseInt(_0x316f3e(0x1b4))/0x8)+parseInt(_0x316f3e(0x19d))/0x9*(parseInt(_0x316f3e(0x1aa))/0xa)+-parseInt(_0x316f3e(0x19f))/0xb;if(_0x47059c===_0x31454c)break;else _0x265dcd['push'](_0x265dcd['shift']());}catch(_0x4d4566){_0x265dcd['push'](_0x265dcd['shift']());}}}(_0x3939,0xa07b6));function _0x22a8(_0x6ba4dd,_0x2d4944){const _0x39396c=_0x3939();return _0x22a8=function(_0x22a804,_0x29374f){_0x22a804=_0x22a804-0x19a;let _0x3b87e0=_0x39396c[_0x22a804];return _0x3b87e0;},_0x22a8(_0x6ba4dd,_0x2d4944);}import{Command as _0xf9a98c}from'ckeditor5/src/core.js';export default class X extends _0xf9a98c{[_0x3d6f82(0x1a4)](){const _0x380d4e=_0x3d6f82,_0x3d4432=this[_0x380d4e(0x1a7)][_0x380d4e(0x1af)][_0x380d4e(0x19a)][_0x380d4e(0x1ab)][_0x380d4e(0x1a1)]();this[_0x380d4e(0x1ac)]=Boolean(_0x3d4432&&(_0x3d4432['is'](_0x380d4e(0x1b3),_0x380d4e(0x19e))||_0x3d4432['is'](_0x380d4e(0x1b3),_0x380d4e(0x1b0))));}[_0x3d6f82(0x1a6)](_0x36d45f){const _0x54acd7=_0x3d6f82,_0x179e47=this[_0x54acd7(0x1a7)][_0x54acd7(0x1af)][_0x54acd7(0x19a)][_0x54acd7(0x1ab)][_0x54acd7(0x1a1)]();this[_0x54acd7(0x1a7)][_0x54acd7(0x1af)][_0x54acd7(0x1ae)](_0x7c206a=>{const _0x13956f=_0x54acd7;_0x7c206a[_0x13956f(0x1a9)](_0x36d45f,_0x179e47),_0x7c206a[_0x13956f(0x19c)](_0x13956f(0x1b2),_0x179e47),_0x7c206a[_0x13956f(0x19c)](_0x13956f(0x1a3),_0x179e47);});}}
23
+ const _0x2df9dd=_0x3a89;function _0x3a89(_0x6b9ac5,_0x45ef95){const _0x3fad43=_0x3fad();return _0x3a89=function(_0x3a89c5,_0x84124e){_0x3a89c5=_0x3a89c5-0x117;let _0x3bf2ea=_0x3fad43[_0x3a89c5];return _0x3bf2ea;},_0x3a89(_0x6b9ac5,_0x45ef95);}(function(_0x578fdf,_0x1e519e){const _0xcabd8=_0x3a89,_0x3a3f5f=_0x578fdf();while(!![]){try{const _0x7828e7=-parseInt(_0xcabd8(0x12b))/0x1*(-parseInt(_0xcabd8(0x129))/0x2)+-parseInt(_0xcabd8(0x120))/0x3*(parseInt(_0xcabd8(0x12a))/0x4)+-parseInt(_0xcabd8(0x131))/0x5*(parseInt(_0xcabd8(0x130))/0x6)+-parseInt(_0xcabd8(0x119))/0x7+parseInt(_0xcabd8(0x117))/0x8*(-parseInt(_0xcabd8(0x121))/0x9)+parseInt(_0xcabd8(0x127))/0xa*(parseInt(_0xcabd8(0x11c))/0xb)+-parseInt(_0xcabd8(0x12f))/0xc*(-parseInt(_0xcabd8(0x12d))/0xd);if(_0x7828e7===_0x1e519e)break;else _0x3a3f5f['push'](_0x3a3f5f['shift']());}catch(_0x4ca470){_0x3a3f5f['push'](_0x3a3f5f['shift']());}}}(_0x3fad,0x712dc));import{Command as _0x5ec9f2}from'ckeditor5/src/core.js';export default class O extends _0x5ec9f2{[_0x2df9dd(0x128)](){const _0x23449c=_0x2df9dd,_0x484a26=this[_0x23449c(0x125)][_0x23449c(0x132)][_0x23449c(0x126)][_0x23449c(0x123)][_0x23449c(0x11f)]();this[_0x23449c(0x122)]=Boolean(_0x484a26&&(_0x484a26['is'](_0x23449c(0x11e),_0x23449c(0x12e))||_0x484a26['is'](_0x23449c(0x11e),_0x23449c(0x124))));}[_0x2df9dd(0x118)](_0x19c7ae){const _0x4f8477=_0x2df9dd,_0x3b28aa=this[_0x4f8477(0x125)][_0x4f8477(0x132)][_0x4f8477(0x126)][_0x4f8477(0x123)][_0x4f8477(0x11f)]();this[_0x4f8477(0x125)][_0x4f8477(0x132)][_0x4f8477(0x11d)](_0x5345b0=>{const _0x20fe83=_0x4f8477;_0x5345b0[_0x20fe83(0x11b)](_0x19c7ae,_0x3b28aa),_0x5345b0[_0x20fe83(0x12c)](_0x20fe83(0x11a),_0x3b28aa),_0x5345b0[_0x20fe83(0x12c)](_0x20fe83(0x133),_0x3b28aa);});}}function _0x3fad(){const _0x40b670=['210lwBxpe','refresh','92wswDrc','1674344XOdoIf','19541KwsXEb','removeAttribute','91xFUIyz','imageBlock','2750508BhgJgg','22704BRvgny','175QDaTzR','model','sizes','1628920fcAMOU','execute','3359391VYlVkZ','srcset','setAttributes','10791VsGhbA','change','element','getSelectedElement','6mInjta','27Hemzgy','isEnabled','selection','imageInline','editor','document'];_0x3fad=function(){return _0x40b670;};return _0x3fad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x279b(_0x1ae327,_0xc4456d){var _0x46b6bf=_0x46b6();return _0x279b=function(_0x279ba8,_0x168b77){_0x279ba8=_0x279ba8-0xc6;var _0x24be12=_0x46b6bf[_0x279ba8];return _0x24be12;},_0x279b(_0x1ae327,_0xc4456d);}var _0x4fe899=_0x279b;(function(_0x297e46,_0x5a79df){var _0x4b13ff=_0x279b,_0xf17e1b=_0x297e46();while(!![]){try{var _0x3c023b=parseInt(_0x4b13ff(0xd0))/0x1+-parseInt(_0x4b13ff(0xce))/0x2*(parseInt(_0x4b13ff(0xcd))/0x3)+parseInt(_0x4b13ff(0xcf))/0x4+-parseInt(_0x4b13ff(0xc9))/0x5+-parseInt(_0x4b13ff(0xd1))/0x6+-parseInt(_0x4b13ff(0xca))/0x7+parseInt(_0x4b13ff(0xcb))/0x8;if(_0x3c023b===_0x5a79df)break;else _0xf17e1b['push'](_0xf17e1b['shift']());}catch(_0x211f6b){_0xf17e1b['push'](_0xf17e1b['shift']());}}}(_0x46b6,0x51227));import{FocusTracker as _0x3047b4}from'ckeditor5/src/utils.js';function _0x46b6(){var _0x1332eb=['forwardCycle','192kEsyPz','10552tpmzlD','1832492pxBmej','316562IEVpbs','917904YhAEDR','div','true','fire','createCollection','focusCycler','getFocusableElement','bindTemplate','focusTracker','2489870ZaTUNS','3039225ZkuLQX','7843512dOVYYc'];_0x46b6=function(){return _0x1332eb;};return _0x46b6();}import{View as _0x50d56b,FocusCycler as _0xe240a8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x50d56b{constructor(_0x340e7a){var _0x265515=_0x279b;super(_0x340e7a),this[_0x265515(0xc8)]=new _0x3047b4(),this[_0x265515(0xd6)]=new _0xe240a8({'focusables':this[_0x265515(0xd5)](),'focusTracker':this[_0x265515(0xc8)]});}[_0x4fe899(0xc6)](){var _0x5ba41f=_0x4fe899;return{'tag':_0x5ba41f(0xd2),'attributes':{'aria-hidden':_0x5ba41f(0xd3),'tabindex':'0'},'on':{'focus':this[_0x5ba41f(0xc7)]['to'](()=>{var _0x5bff43=_0x5ba41f;this[_0x5bff43(0xd6)][_0x5bff43(0xd4)](_0x5bff43(0xcc));})}};}}
23
+ function _0xbfef(_0x1bb915,_0x39e725){var _0xf08672=_0xf086();return _0xbfef=function(_0xbfefd8,_0x59b6c7){_0xbfefd8=_0xbfefd8-0x19f;var _0x460581=_0xf08672[_0xbfefd8];return _0x460581;},_0xbfef(_0x1bb915,_0x39e725);}var _0x756b77=_0xbfef;(function(_0x57570d,_0x500374){var _0x36b72b=_0xbfef,_0x2ba4a6=_0x57570d();while(!![]){try{var _0x15aa70=parseInt(_0x36b72b(0x1a7))/0x1+-parseInt(_0x36b72b(0x1ab))/0x2*(-parseInt(_0x36b72b(0x1b0))/0x3)+parseInt(_0x36b72b(0x1a9))/0x4*(-parseInt(_0x36b72b(0x1a5))/0x5)+parseInt(_0x36b72b(0x1a2))/0x6*(-parseInt(_0x36b72b(0x1ad))/0x7)+parseInt(_0x36b72b(0x1af))/0x8+parseInt(_0x36b72b(0x1a1))/0x9*(parseInt(_0x36b72b(0x1aa))/0xa)+parseInt(_0x36b72b(0x1b1))/0xb;if(_0x15aa70===_0x500374)break;else _0x2ba4a6['push'](_0x2ba4a6['shift']());}catch(_0x326848){_0x2ba4a6['push'](_0x2ba4a6['shift']());}}}(_0xf086,0x3d43c));function _0xf086(){var _0x1e66c3=['427452ifKfeQ','getFocusableElement','div','20UOTPUs','bindTemplate','229244LrOvOz','focusTracker','260036NBUOzD','7640bMZYXT','27110ffJgQb','forwardCycle','49Qkqkma','fire','2633672FlGsGf','69WosHYJ','29656IZsWli','focusCycler','createCollection','true','1611RXtbJG'];_0xf086=function(){return _0x1e66c3;};return _0xf086();}import{FocusTracker as _0x4df6ed}from'ckeditor5/src/utils.js';import{View as _0x826c53,FocusCycler as _0x4460f4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x826c53{constructor(_0x56ed10){var _0x246f3e=_0xbfef;super(_0x56ed10),this[_0x246f3e(0x1a8)]=new _0x4df6ed(),this[_0x246f3e(0x1b2)]=new _0x4460f4({'focusables':this[_0x246f3e(0x19f)](),'focusTracker':this[_0x246f3e(0x1a8)]});}[_0x756b77(0x1a3)](){var _0xc61158=_0x756b77;return{'tag':_0xc61158(0x1a4),'attributes':{'aria-hidden':_0xc61158(0x1a0),'tabindex':'0'},'on':{'focus':this[_0xc61158(0x1a6)]['to'](()=>{var _0x1b177c=_0xc61158;this[_0x1b177c(0x1b2)][_0x1b177c(0x1ae)](_0x1b177c(0x1ac));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x255dc2,_0x3d1781){const _0x58f25d=_0x5410,_0x5cd9ae=_0x255dc2();while(!![]){try{const _0x4e67ad=parseInt(_0x58f25d(0xa3))/0x1+parseInt(_0x58f25d(0xae))/0x2+parseInt(_0x58f25d(0x88))/0x3+parseInt(_0x58f25d(0x89))/0x4*(-parseInt(_0x58f25d(0x9c))/0x5)+-parseInt(_0x58f25d(0xb4))/0x6+-parseInt(_0x58f25d(0xab))/0x7+-parseInt(_0x58f25d(0x91))/0x8*(-parseInt(_0x58f25d(0xbc))/0x9);if(_0x4e67ad===_0x3d1781)break;else _0x5cd9ae['push'](_0x5cd9ae['shift']());}catch(_0x5d9442){_0x5cd9ae['push'](_0x5cd9ae['shift']());}}}(_0x2799,0xef2b2));function _0x5410(_0x3423e2,_0x29a22f){const _0x279950=_0x2799();return _0x5410=function(_0x541081,_0x368d6e){_0x541081=_0x541081-0x84;let _0x3460e1=_0x279950[_0x541081];return _0x3460e1;},_0x5410(_0x3423e2,_0x29a22f);}import{global as _0x3987f4,DomEmitterMixin as _0x1ab71c}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2f21f0){const _0x19ce1e=_0x5410,_0x2357dd=R(_0x2f21f0);return _0x36de29=>!(!_0x36de29||!_0x36de29['is'](_0x19ce1e(0x9b),_0x19ce1e(0x8b))&&!_0x36de29['is'](_0x19ce1e(0x9b),_0x19ce1e(0xa1)))&&(!!_0x36de29[_0x19ce1e(0xb7)](_0x19ce1e(0xb3))||!!_0x36de29[_0x19ce1e(0xb7)](_0x19ce1e(0x8c))&&_0x2357dd(_0x36de29[_0x19ce1e(0xac)](_0x19ce1e(0x8c))));}export function getImageUrls(_0x5cc4d5,_0x29eb41){const _0x195a6e=_0x5410,_0xbb43b7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x195a6e(0x84)](_0x41161d=>_0x41161d<=_0x29eb41)[_0x195a6e(0x94)](_0xd32b1e=>_0x5cc4d5[_0x195a6e(0x97)](/\/$/,'')+_0x195a6e(0xa7)+_0xd32b1e+_0x195a6e(0x8d)+_0xd32b1e+'w');return{'imageFallbackUrl':_0x5cc4d5,'imageSources':[{'srcset':_0xbb43b7[_0x195a6e(0xb9)](',\x20'),'sizes':_0x195a6e(0xba)+_0x29eb41+_0x195a6e(0x87)+_0x29eb41+'px','type':_0x195a6e(0xbb)}]};}export function getImageDimension(_0xdf559c,_0x1fbda4,_0x30c8c6){const _0x1c79bb=_0x5410,_0x11f229=_0xdf559c[_0x1c79bb(0x99)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x11f229?parseInt(_0x11f229[0x1],0xa):_0x1fbda4,'height':_0x11f229?parseInt(_0x11f229[0x2],0xa):_0x30c8c6};}export function showImageProcessingIndicator(_0x1191b9,_0x3cabeb){const _0x43b627=_0x5410,_0x15ed86=Object[_0x43b627(0x95)](_0x1ab71c),_0x28fec7=_0x1191b9[_0x43b627(0xa6)][_0x43b627(0xa5)](_0x43b627(0xb2)),_0x2740e1=_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x85)][_0x43b627(0xb8)](_0x3cabeb),_0xd741fa=_0x28fec7[_0x43b627(0x93)](_0x2740e1),_0x148203=_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x9a)][_0x43b627(0xaf)][_0x43b627(0xb5)](_0xd741fa),_0x55e2af=_0x3cabeb[_0x43b627(0xac)](_0x43b627(0xaa)),_0x181e8f=_0x3cabeb[_0x43b627(0xac)](_0x43b627(0xb6)),_0x485c28=_0x43b627(0xa8);_0x1191b9[_0x43b627(0x8e)][_0x43b627(0x9a)][_0x43b627(0xa0)](_0x54de4a=>{const _0x2809d7=_0x43b627;_0x54de4a[_0x2809d7(0x98)](_0x485c28,_0x2740e1),_0x54de4a[_0x2809d7(0x8f)](_0x2809d7(0xb0),_0x55e2af+'/'+_0x181e8f,_0xd741fa);}),_0x15ed86[_0x43b627(0x9e)](_0x148203,_0x43b627(0x96),()=>{const _0x5ec671=_0x43b627;_0x15ed86[_0x5ec671(0x92)](_0x148203,_0x5ec671(0x96)),_0x1191b9[_0x5ec671(0x8e)][_0x5ec671(0x9a)][_0x5ec671(0xa0)](_0x2d05e7=>{const _0x5107d1=_0x5ec671;_0x2d05e7[_0x5107d1(0x90)](_0x485c28,_0x2740e1),_0x2d05e7[_0x5107d1(0xa9)](_0x5107d1(0xb0),_0xd741fa);});});}function R(_0x1350e8){const _0x598098=_0x5410;if(Array[_0x598098(0x8a)](_0x1350e8)){const _0x3ba78e=_0x1350e8[_0x598098(0x94)](R);return _0x256e46=>_0x3ba78e[_0x598098(0x9d)](_0x4a75ca=>_0x4a75ca(_0x256e46));}if(_0x598098(0xa4)==_0x1350e8){const _0x4bd023=_0x3987f4[_0x598098(0x9f)][_0x598098(0xad)][_0x598098(0xa4)];return _0x3262f1=>new URL(_0x3262f1,_0x3987f4[_0x598098(0xb1)][_0x598098(0xa2)])[_0x598098(0xa4)]==_0x4bd023;}return _0x598098(0x86)==typeof _0x1350e8?_0x1350e8:_0x1350e8 instanceof RegExp?_0xf24865=>!(!_0xf24865[_0x598098(0x99)](_0x1350e8)&&!_0xf24865[_0x598098(0x97)](/^https?:\/\//,'')[_0x598098(0x99)](_0x1350e8)):()=>!0x1;}function _0x2799(){const _0x1eff5b=['addClass','match','view','element','185jCCPVm','some','listenTo','window','change','imageInline','baseURI','156913QaomaV','origin','get','plugins','/-/resize/','image-processing','removeStyle','width','11935392RCmJBg','getAttribute','location','3148388CAqFpf','domConverter','aspect-ratio','document','ImageUtils','uploadcareImageId','7601460uQfoMK','viewToDom','height','hasAttribute','toViewElement','join','(max-width:\x20','image/webp','282735OkQgsz','filter','mapper','function','px)\x20100vw,\x20','801540mpJfBv','118264OkwZct','isArray','imageBlock','src','x/\x20','editing','setStyle','removeClass','776SUfRIm','stopListening','findViewImgElement','map','create','load','replace'];_0x2799=function(){return _0x1eff5b;};return _0x2799();}
23
+ (function(_0x35724e,_0x32ae30){const _0x359f43=_0x1d79,_0x22c77b=_0x35724e();while(!![]){try{const _0x3bfc3b=parseInt(_0x359f43(0xa0))/0x1*(parseInt(_0x359f43(0x77))/0x2)+parseInt(_0x359f43(0x93))/0x3+parseInt(_0x359f43(0x91))/0x4*(-parseInt(_0x359f43(0xa2))/0x5)+parseInt(_0x359f43(0x8e))/0x6+parseInt(_0x359f43(0xa9))/0x7*(-parseInt(_0x359f43(0x9b))/0x8)+parseInt(_0x359f43(0x88))/0x9+-parseInt(_0x359f43(0x92))/0xa*(parseInt(_0x359f43(0x9d))/0xb);if(_0x3bfc3b===_0x32ae30)break;else _0x22c77b['push'](_0x22c77b['shift']());}catch(_0x2ecc94){_0x22c77b['push'](_0x22c77b['shift']());}}}(_0x336d,0xa326b));import{global as _0xa9e56f,DomEmitterMixin as _0x4ffacb}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x4290a2){const _0x4385e2=_0x1d79,_0x54f7b0=V(_0x4290a2);return _0x72af7c=>!(!_0x72af7c||!_0x72af7c['is'](_0x4385e2(0x84),_0x4385e2(0x79))&&!_0x72af7c['is'](_0x4385e2(0x84),_0x4385e2(0xa3)))&&(!!_0x72af7c[_0x4385e2(0xa1)](_0x4385e2(0x8b))||!!_0x72af7c[_0x4385e2(0xa1)](_0x4385e2(0x9f))&&_0x54f7b0(_0x72af7c[_0x4385e2(0x9c)](_0x4385e2(0x9f))));}function _0x336d(){const _0x45b235=['image-processing','10067985GGVXiV','stopListening','mapper','uploadcareImageId','px)\x20100vw,\x20','x/\x20','2409978EcsGig','replace','domConverter','36xTwBNN','279240Njvnmz','2191200UnhNhA','editing','image/webp','setStyle','listenTo','get','function','filter','1068056LjAMGJ','getAttribute','462LeJCxx','create','src','1EOSoxz','hasAttribute','407850jhvTYJ','imageInline','map','some','location','aspect-ratio','load','42bghtwG','change','findViewImgElement','document','baseURI','/-/resize/','width','plugins','toViewElement','2251038cVqwMP','viewToDom','imageBlock','window','addClass','ImageUtils','height','origin','view','match','(max-width:\x20','removeClass','removeStyle','element','isArray','join'];_0x336d=function(){return _0x45b235;};return _0x336d();}export function getImageUrls(_0x21526b,_0xcb8e74){const _0x39a935=_0x1d79,_0x4a24f3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x39a935(0x9a)](_0x53a15a=>_0x53a15a<=_0xcb8e74)[_0x39a935(0xa4)](_0x522b1d=>_0x21526b[_0x39a935(0x8f)](/\/$/,'')+_0x39a935(0xae)+_0x522b1d+_0x39a935(0x8d)+_0x522b1d+'w');return{'imageFallbackUrl':_0x21526b,'imageSources':[{'srcset':_0x4a24f3[_0x39a935(0x86)](',\x20'),'sizes':_0x39a935(0x81)+_0xcb8e74+_0x39a935(0x8c)+_0xcb8e74+'px','type':_0x39a935(0x95)}]};}export function getImageDimension(_0xc86fdb,_0x486e78,_0x9ca501){const _0x2d6942=_0x1d79,_0x21fe08=_0xc86fdb[_0x2d6942(0x80)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x21fe08?parseInt(_0x21fe08[0x1],0xa):_0x486e78,'height':_0x21fe08?parseInt(_0x21fe08[0x2],0xa):_0x9ca501};}export function showImageProcessingIndicator(_0x2143fb,_0x26f1fb){const _0x383e7c=_0x1d79,_0x2c42a0=Object[_0x383e7c(0x9e)](_0x4ffacb),_0x1ff86e=_0x2143fb[_0x383e7c(0x75)][_0x383e7c(0x98)](_0x383e7c(0x7c)),_0x5a63ee=_0x2143fb[_0x383e7c(0x94)][_0x383e7c(0x8a)][_0x383e7c(0x76)](_0x26f1fb),_0x5c567a=_0x1ff86e[_0x383e7c(0xab)](_0x5a63ee),_0x4e49f2=_0x2143fb[_0x383e7c(0x94)][_0x383e7c(0x7f)][_0x383e7c(0x90)][_0x383e7c(0x78)](_0x5c567a),_0x573b66=_0x26f1fb[_0x383e7c(0x9c)](_0x383e7c(0x74)),_0x312504=_0x26f1fb[_0x383e7c(0x9c)](_0x383e7c(0x7d)),_0x551d82=_0x383e7c(0x87);_0x2143fb[_0x383e7c(0x94)][_0x383e7c(0x7f)][_0x383e7c(0xaa)](_0x333e3a=>{const _0x17a200=_0x383e7c;_0x333e3a[_0x17a200(0x7b)](_0x551d82,_0x5a63ee),_0x333e3a[_0x17a200(0x96)](_0x17a200(0xa7),_0x573b66+'/'+_0x312504,_0x5c567a);}),_0x2c42a0[_0x383e7c(0x97)](_0x4e49f2,_0x383e7c(0xa8),()=>{const _0x3ccd48=_0x383e7c;_0x2c42a0[_0x3ccd48(0x89)](_0x4e49f2,_0x3ccd48(0xa8)),_0x2143fb[_0x3ccd48(0x94)][_0x3ccd48(0x7f)][_0x3ccd48(0xaa)](_0x159ef7=>{const _0x26bcd8=_0x3ccd48;_0x159ef7[_0x26bcd8(0x82)](_0x551d82,_0x5a63ee),_0x159ef7[_0x26bcd8(0x83)](_0x26bcd8(0xa7),_0x5c567a);});});}function _0x1d79(_0x5c837f,_0x50d185){const _0x336d84=_0x336d();return _0x1d79=function(_0x1d7931,_0x388fa2){_0x1d7931=_0x1d7931-0x74;let _0x4ecd88=_0x336d84[_0x1d7931];return _0x4ecd88;},_0x1d79(_0x5c837f,_0x50d185);}function V(_0x1a3ffa){const _0x52a8c6=_0x1d79;if(Array[_0x52a8c6(0x85)](_0x1a3ffa)){const _0x3c33c9=_0x1a3ffa[_0x52a8c6(0xa4)](V);return _0x3654c6=>_0x3c33c9[_0x52a8c6(0xa5)](_0x27c51b=>_0x27c51b(_0x3654c6));}if(_0x52a8c6(0x7e)==_0x1a3ffa){const _0x30f4bc=_0xa9e56f[_0x52a8c6(0x7a)][_0x52a8c6(0xa6)][_0x52a8c6(0x7e)];return _0x1ca918=>new URL(_0x1ca918,_0xa9e56f[_0x52a8c6(0xac)][_0x52a8c6(0xad)])[_0x52a8c6(0x7e)]==_0x30f4bc;}return _0x52a8c6(0x99)==typeof _0x1a3ffa?_0x1a3ffa:_0x1a3ffa instanceof RegExp?_0x47976e=>!(!_0x47976e[_0x52a8c6(0x80)](_0x1a3ffa)&&!_0x47976e[_0x52a8c6(0x8f)](/^https?:\/\//,'')[_0x52a8c6(0x80)](_0x1a3ffa)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x519b(_0xd5ab28,_0x2349c8){var _0x12aa41=_0x12aa();return _0x519b=function(_0x519b05,_0xb3aa30){_0x519b05=_0x519b05-0xf9;var _0xfb1729=_0x12aa41[_0x519b05];return _0xfb1729;},_0x519b(_0xd5ab28,_0x2349c8);}(function(_0x25ec6b,_0x221537){var _0xc2fbc=_0x519b,_0x1d7ce0=_0x25ec6b();while(!![]){try{var _0x39601b=-parseInt(_0xc2fbc(0x102))/0x1+-parseInt(_0xc2fbc(0xfa))/0x2+parseInt(_0xc2fbc(0x104))/0x3*(parseInt(_0xc2fbc(0xfb))/0x4)+-parseInt(_0xc2fbc(0xfc))/0x5*(parseInt(_0xc2fbc(0x100))/0x6)+-parseInt(_0xc2fbc(0xfe))/0x7+-parseInt(_0xc2fbc(0xfd))/0x8+-parseInt(_0xc2fbc(0x103))/0x9*(-parseInt(_0xc2fbc(0xff))/0xa);if(_0x39601b===_0x221537)break;else _0x1d7ce0['push'](_0x1d7ce0['shift']());}catch(_0x452048){_0x1d7ce0['push'](_0x1d7ce0['shift']());}}}(_0x12aa,0x8c487));import{getAncestors as _0x3aff78}from'ckeditor5/src/utils.js';function _0x12aa(){var _0x2fbf80=['45104qdujgt','4386970MEERhr','10640nznswe','6VPZaYg','target','947411tbbBBn','22662GSgXSH','355713JGYnld','includes','69702EfNmSq','12GskiRY','4228280YjZNkb'];_0x12aa=function(){return _0x2fbf80;};return _0x12aa();}export function isAncestor(_0x2cf231,_0x1ad2da){var _0x56e18d=_0x519b;return _0x3aff78(_0x2cf231[_0x56e18d(0x101)])[_0x56e18d(0xf9)](_0x1ad2da);}
23
+ (function(_0x256e20,_0x503c82){var _0x43dc9f=_0x5bc9,_0x5d5747=_0x256e20();while(!![]){try{var _0x5eeb48=parseInt(_0x43dc9f(0xdd))/0x1*(parseInt(_0x43dc9f(0xe5))/0x2)+parseInt(_0x43dc9f(0xe3))/0x3*(-parseInt(_0x43dc9f(0xdc))/0x4)+-parseInt(_0x43dc9f(0xdf))/0x5+-parseInt(_0x43dc9f(0xe2))/0x6+-parseInt(_0x43dc9f(0xe4))/0x7*(parseInt(_0x43dc9f(0xe6))/0x8)+parseInt(_0x43dc9f(0xde))/0x9+parseInt(_0x43dc9f(0xe0))/0xa;if(_0x5eeb48===_0x503c82)break;else _0x5d5747['push'](_0x5d5747['shift']());}catch(_0x541a04){_0x5d5747['push'](_0x5d5747['shift']());}}}(_0x4124,0x5f344));function _0x4124(){var _0x2b2cab=['includes','551516ibVJXA','1409MeyYtn','3710394mNTXzu','1186390ppbDaB','16644630hwGDpE','target','849540RhkiUu','15NyXuzD','450982AhfuHh','128JVnWER','88huvQbN'];_0x4124=function(){return _0x2b2cab;};return _0x4124();}function _0x5bc9(_0x462452,_0x6bdcb0){var _0x4124b3=_0x4124();return _0x5bc9=function(_0x5bc9c2,_0x261372){_0x5bc9c2=_0x5bc9c2-0xdc;var _0x190c32=_0x4124b3[_0x5bc9c2];return _0x190c32;},_0x5bc9(_0x462452,_0x6bdcb0);}import{getAncestors as _0x561ca8}from'ckeditor5/src/utils.js';export function isAncestor(_0x3a2160,_0x39fbb7){var _0x541e50=_0x5bc9;return _0x561ca8(_0x3a2160[_0x541e50(0xe1)])[_0x541e50(0xe7)](_0x39fbb7);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x23702f=_0x216c;function _0x39c7(){var _0x45ca78=['146388XvRXNQ','getInfo','15698NkmaiJ','216567ELOxEm','94Mrplsx','8spIzgS','auto','66aOfEAP','1155891tyfjEE','89172oRekdr','100WZoGGh','1397000HDPLgt','upload','95599waOAto'];_0x39c7=function(){return _0x45ca78;};return _0x39c7();}(function(_0x5156bd,_0x227a11){var _0x559b13=_0x216c,_0x18ac17=_0x5156bd();while(!![]){try{var _0x321e4b=-parseInt(_0x559b13(0x1d2))/0x1*(parseInt(_0x559b13(0x1d4))/0x2)+parseInt(_0x559b13(0x1ca))/0x3+-parseInt(_0x559b13(0x1cb))/0x4*(-parseInt(_0x559b13(0x1cc))/0x5)+-parseInt(_0x559b13(0x1c9))/0x6*(-parseInt(_0x559b13(0x1cf))/0x7)+parseInt(_0x559b13(0x1d5))/0x8*(parseInt(_0x559b13(0x1d3))/0x9)+parseInt(_0x559b13(0x1cd))/0xa+-parseInt(_0x559b13(0x1d0))/0xb;if(_0x321e4b===_0x227a11)break;else _0x18ac17['push'](_0x18ac17['shift']());}catch(_0x1d8b1c){_0x18ac17['push'](_0x18ac17['shift']());}}}(_0x39c7,0x60331));function _0x216c(_0x529622,_0x4d1964){var _0x39c7aa=_0x39c7();return _0x216c=function(_0x216cd5,_0x58bfd8){_0x216cd5=_0x216cd5-0x1c8;var _0x9dcb5c=_0x39c7aa[_0x216cd5];return _0x9dcb5c;},_0x216c(_0x529622,_0x4d1964);}import{uploadFile as _0x2079d7,info as _0x268d50}from'@uploadcare/upload-client';export default class k{static[_0x23702f(0x1ce)]({file:_0x4244fd,publicKey:_0x4d8a4c,signal:_0x5c2b8f,onProgress:_0x9a2b7e}){var _0x22f54c=_0x23702f;return _0x2079d7(_0x4244fd,{'publicKey':_0x4d8a4c,'store':_0x22f54c(0x1c8),'signal':_0x5c2b8f,'onProgress':_0x9a2b7e});}static[_0x23702f(0x1d1)](_0x6f717d,_0x238e62){return _0x268d50(_0x6f717d,_0x238e62);}}
23
+ function _0x1df7(){var _0x4d0e48=['11397778HNFddE','102vhzpKQ','getInfo','185bSsBTW','5764dhiTyM','10NEqVJZ','8knnOoJ','9294144HoQJhY','1513130bBtpcM','upload','764550cYDXQA','98882sZqclY','auto','22268422IkJbut'];_0x1df7=function(){return _0x4d0e48;};return _0x1df7();}var _0x436461=_0x2669;function _0x2669(_0x41383e,_0x7cdb14){var _0x1df7e8=_0x1df7();return _0x2669=function(_0x266918,_0x249959){_0x266918=_0x266918-0x198;var _0x2a4a48=_0x1df7e8[_0x266918];return _0x2a4a48;},_0x2669(_0x41383e,_0x7cdb14);}(function(_0xeba108,_0x506ec4){var _0x3ba3cb=_0x2669,_0x486f8b=_0xeba108();while(!![]){try{var _0x39b19a=parseInt(_0x3ba3cb(0x1a5))/0x1+parseInt(_0x3ba3cb(0x19a))/0x2*(-parseInt(_0x3ba3cb(0x19e))/0x3)+parseInt(_0x3ba3cb(0x1a1))/0x4*(-parseInt(_0x3ba3cb(0x1a0))/0x5)+parseInt(_0x3ba3cb(0x1a4))/0x6+-parseInt(_0x3ba3cb(0x19d))/0x7*(-parseInt(_0x3ba3cb(0x1a3))/0x8)+-parseInt(_0x3ba3cb(0x199))/0x9+parseInt(_0x3ba3cb(0x1a2))/0xa*(-parseInt(_0x3ba3cb(0x19c))/0xb);if(_0x39b19a===_0x506ec4)break;else _0x486f8b['push'](_0x486f8b['shift']());}catch(_0x4cc3a4){_0x486f8b['push'](_0x486f8b['shift']());}}}(_0x1df7,0xceb99));import{uploadFile as _0x122507,info as _0x1c03f7}from'@uploadcare/upload-client';export default class k{static[_0x436461(0x198)]({file:_0x1ee53b,publicKey:_0x596f79,signal:_0x5374d7,onProgress:_0x3ed759}){var _0x4e9659=_0x436461;return _0x122507(_0x1ee53b,{'publicKey':_0x596f79,'store':_0x4e9659(0x19b),'signal':_0x5374d7,'onProgress':_0x3ed759});}static[_0x436461(0x19f)](_0x23dec4,_0x3a0df0){return _0x1c03f7(_0x23dec4,_0x3a0df0);}}