@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.3 → 46.0.1-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,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x1f191e,View as _0x421f12}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x421f12{constructor(_0x13f72b){super(_0x13f72b);const t=_0x13f72b['t'],_0x42a1f9=this['bindTemplate'],_0x494c34=new _0x1f191e();_0x494c34['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':[_0x494c34,{'text':_0x42a1f9['to']('imageUploadProgress',_0x28a29b=>t('Loading\x20image...')+'\x20('+(_0x28a29b||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 _0xe5dc5c,View as _0x4b56d1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4b56d1{constructor(_0x4a91cf){super(_0x4a91cf);const t=_0x4a91cf['t'],_0x57623b=this['bindTemplate'],_0x415c82=new _0xe5dc5c();_0x415c82['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':[_0x415c82,{'text':_0x57623b['to']('imageUploadProgress',_0x16d81f=>t('Loading\x20image...')+'\x20('+(_0x16d81f||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 _0x5c9a(){const _0x43ee41=['add','12YTNVoZ','_errorView','7356601Iijuoz','10HfzxSO','uc-cloud-image-editor','_addErrorViewListeners','createCollection','26918eDExhR','once','detail','1422936Gcpisz','div','target','_setView','_focusableView','observe','6JaIYhP','error','addedNodes','toLowerCase','_editingView','render','disconnect','clear','ck-reset_all-excluded','31474916PDPWKd','retry','fire','_waitForImageEditorComponent','_items','ready','addMany','length','addEventListener','2941630xCLOYR','element','set','change:status','246oTsqCl','querySelector','status','setTemplate','cdnUrl','uploading','_loadingView','getFocusableElement','nodeName','filter','cancel','ck-uploadcare-form','focus','_addUploadcareImageEditorListeners','1606860IFrYas','50171QzCGfd','apply','40yuRSVG'];_0x5c9a=function(){return _0x43ee41;};return _0x5c9a();}const _0x274215=_0x1cae;(function(_0xc4ca66,_0xcb8feb){const _0x1ba7ca=_0x1cae,_0x5bed17=_0xc4ca66();while(!![]){try{const _0xaba381=parseInt(_0x1ba7ca(0xa8))/0x1+-parseInt(_0x1ba7ca(0xb3))/0x2*(parseInt(_0x1ba7ca(0x99))/0x3)+parseInt(_0x1ba7ca(0xb6))/0x4*(-parseInt(_0x1ba7ca(0xaf))/0x5)+-parseInt(_0x1ba7ca(0xbc))/0x6*(parseInt(_0x1ba7ca(0xae))/0x7)+-parseInt(_0x1ba7ca(0xaa))/0x8*(-parseInt(_0x1ba7ca(0xa7))/0x9)+-parseInt(_0x1ba7ca(0x95))/0xa+parseInt(_0x1ba7ca(0x8c))/0xb*(parseInt(_0x1ba7ca(0xac))/0xc);if(_0xaba381===_0xcb8feb)break;else _0x5bed17['push'](_0x5bed17['shift']());}catch(_0x2edab2){_0x5bed17['push'](_0x5bed17['shift']());}}}(_0x5c9a,0x9d3af));import{View as _0x20260f}from'ckeditor5/src/ui.js';function _0x1cae(_0x1b48f5,_0x8e78a1){const _0x5c9ac8=_0x5c9a();return _0x1cae=function(_0x1cae88,_0x2d4d3f){_0x1cae88=_0x1cae88-0x88;let _0x46c681=_0x5c9ac8[_0x1cae88];return _0x46c681;},_0x1cae(_0x1b48f5,_0x8e78a1);}import{UploadcareImageEditFormLoadingView as _0x8d64be}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2cced3}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x19b3a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xab609}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xab609{[_0x274215(0x90)];[_0x274215(0x9f)];[_0x274215(0xad)];[_0x274215(0xc0)];[_0x274215(0xba)];constructor(_0x3384a8,_0x33bbe6,_0x34ed80){const _0x4717af=_0x274215;super(_0x3384a8),this[_0x4717af(0x90)]=this[_0x4717af(0xb2)](),this[_0x4717af(0x9f)]=new _0x8d64be(_0x3384a8),this[_0x4717af(0xad)]=new _0x2cced3(_0x3384a8),this[_0x4717af(0xc0)]=new _0x19b3a(_0x3384a8,_0x34ed80),this[_0x4717af(0xba)]=new _0x20260f(_0x3384a8),this[_0x4717af(0xba)][_0x4717af(0x9c)](this[_0x4717af(0xa0)]()),this[_0x4717af(0x97)](_0x4717af(0x9b),_0x33bbe6),this[_0x4717af(0x9c)]({'tag':_0x4717af(0xb7),'attributes':{'class':['ck',_0x4717af(0x8b),_0x4717af(0xa4)],'tabindex':'-1'},'children':this[_0x4717af(0x90)]}),this[_0x4717af(0xb9)](),this[_0x4717af(0xb4)](_0x4717af(0x88),()=>{const _0x4acc8d=_0x4717af;this[_0x4acc8d(0x8f)](this[_0x4acc8d(0x96)],_0x5251e1=>{const _0x3f6466=_0x4acc8d;this[_0x3f6466(0xa6)](_0x5251e1);});}),this['on'](_0x4717af(0x98),()=>{const _0x103147=_0x4717af;this[_0x103147(0xb9)]();}),this[_0x4717af(0xb1)]();}[_0x274215(0xa5)](){const _0x2f97a1=_0x274215;this[_0x2f97a1(0x96)][_0x2f97a1(0xa5)]();}[_0x274215(0xb9)](){const _0x141ae5=_0x274215;switch(this[_0x141ae5(0x90)][_0x141ae5(0x8a)](),this[_0x141ae5(0x9b)]){case _0x141ae5(0x9e):this[_0x141ae5(0x90)][_0x141ae5(0xab)](this[_0x141ae5(0x9f)]);break;case _0x141ae5(0xbd):this[_0x141ae5(0x90)][_0x141ae5(0xab)](this[_0x141ae5(0xad)]);break;case _0x141ae5(0x91):this[_0x141ae5(0x90)][_0x141ae5(0x92)]([this[_0x141ae5(0xc0)],this[_0x141ae5(0xba)]]);}}[_0x274215(0x8f)](_0x2a1706,_0x1fa3d2){const _0x24a0c4=_0x274215,_0x59ed24=_0x24a0c4(0xb0),_0x187d23=_0x2a1706[_0x24a0c4(0x9a)](_0x59ed24);if(_0x187d23)return _0x1fa3d2(_0x187d23);const _0xe31302=new MutationObserver(_0x29425f=>{const _0x586a0f=_0x24a0c4,_0x4d6b92=_0x29425f[_0x586a0f(0xa2)](_0x1cb7ba=>_0x1cb7ba[_0x586a0f(0xb8)]===_0x2a1706&&_0x1cb7ba[_0x586a0f(0xbe)][_0x586a0f(0x93)]>0x0&&_0x1cb7ba[_0x586a0f(0xbe)][0x0][_0x586a0f(0xa1)][_0x586a0f(0xbf)]()===_0x59ed24);_0x4d6b92[_0x586a0f(0x93)]&&(_0xe31302[_0x586a0f(0x89)](),_0x1fa3d2(_0x4d6b92[0x0][_0x586a0f(0xbe)][0x0]));});_0xe31302[_0x24a0c4(0xbb)](_0x2a1706,{'childList':!0x0,'subtree':!0x0});}[_0x274215(0xa6)](_0x154c26){const _0x5749dd=_0x274215;_0x154c26[_0x5749dd(0x94)](_0x5749dd(0xa9),_0x5e4643=>{const _0x2729ac=_0x5749dd;this[_0x2729ac(0x8e)](_0x2729ac(0xa9),{'imageSrc':_0x5e4643[_0x2729ac(0xb5)][_0x2729ac(0x9d)]});}),_0x154c26[_0x5749dd(0x94)](_0x5749dd(0xa3),()=>{const _0x317934=_0x5749dd;this[_0x317934(0x8e)](_0x317934(0xa3));});}[_0x274215(0xb1)](){const _0x25bdde=_0x274215;this[_0x25bdde(0xad)]['on'](_0x25bdde(0x8d),()=>{const _0x2e2314=_0x25bdde;this[_0x2e2314(0x8e)](_0x2e2314(0x8d));});}}
23
+ function _0x40cf(_0x5b516e,_0x155378){const _0x39a152=_0x39a1();return _0x40cf=function(_0x40cff4,_0x401dec){_0x40cff4=_0x40cff4-0x1b9;let _0x74f69d=_0x39a152[_0x40cff4];return _0x74f69d;},_0x40cf(_0x5b516e,_0x155378);}const _0x4b04dd=_0x40cf;(function(_0x50f725,_0x445f3d){const _0x36437e=_0x40cf,_0x5b1750=_0x50f725();while(!![]){try{const _0x44397e=parseInt(_0x36437e(0x1e0))/0x1*(parseInt(_0x36437e(0x1db))/0x2)+parseInt(_0x36437e(0x1d3))/0x3+parseInt(_0x36437e(0x1e2))/0x4+-parseInt(_0x36437e(0x1c5))/0x5*(parseInt(_0x36437e(0x1ea))/0x6)+-parseInt(_0x36437e(0x1d1))/0x7+parseInt(_0x36437e(0x1ce))/0x8+-parseInt(_0x36437e(0x1df))/0x9;if(_0x44397e===_0x445f3d)break;else _0x5b1750['push'](_0x5b1750['shift']());}catch(_0x564f1e){_0x5b1750['push'](_0x5b1750['shift']());}}}(_0x39a1,0x1a898));import{View as _0x573967}from'ckeditor5/src/ui.js';function _0x39a1(){const _0x30a3a6=['330792CLSgdz','addEventListener','_addUploadcareImageEditorListeners','observe','_setView','once','fire','_errorView','271426HDCLgB','setTemplate','add','change:status','1704033HkXhyd','1cVdqVB','toLowerCase','710840ALCukq','ck-reset_all-excluded','_focusableView','disconnect','length','addedNodes','querySelector','clear','12iGBPqT','ready','element','error','_addErrorViewListeners','focus','getFocusableElement','createCollection','filter','addMany','div','uploading','_items','cancel','set','_loadingView','target','322030SMKHhe','retry','detail','nodeName','ck-uploadcare-form','status','render','apply','_editingView','485248rMfjqI','_waitForImageEditorComponent','uc-cloud-image-editor','402486Dqswby','cdnUrl'];_0x39a1=function(){return _0x30a3a6;};return _0x39a1();}import{UploadcareImageEditFormLoadingView as _0x423c33}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2911a6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2a6051}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3fd3e4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3fd3e4{[_0x4b04dd(0x1c0)];[_0x4b04dd(0x1c3)];[_0x4b04dd(0x1da)];[_0x4b04dd(0x1cd)];[_0x4b04dd(0x1e4)];constructor(_0x2863cf,_0x267322,_0x372ab2){const _0x3699cf=_0x4b04dd;super(_0x2863cf),this[_0x3699cf(0x1c0)]=this[_0x3699cf(0x1bb)](),this[_0x3699cf(0x1c3)]=new _0x423c33(_0x2863cf),this[_0x3699cf(0x1da)]=new _0x2911a6(_0x2863cf),this[_0x3699cf(0x1cd)]=new _0x2a6051(_0x2863cf,_0x372ab2),this[_0x3699cf(0x1e4)]=new _0x573967(_0x2863cf),this[_0x3699cf(0x1e4)][_0x3699cf(0x1dc)](this[_0x3699cf(0x1ba)]()),this[_0x3699cf(0x1c2)](_0x3699cf(0x1ca),_0x267322),this[_0x3699cf(0x1dc)]({'tag':_0x3699cf(0x1be),'attributes':{'class':['ck',_0x3699cf(0x1e3),_0x3699cf(0x1c9)],'tabindex':'-1'},'children':this[_0x3699cf(0x1c0)]}),this[_0x3699cf(0x1d7)](),this[_0x3699cf(0x1d8)](_0x3699cf(0x1cb),()=>{const _0x5084ea=_0x3699cf;this[_0x5084ea(0x1cf)](this[_0x5084ea(0x1ec)],_0x409294=>{const _0x93967a=_0x5084ea;this[_0x93967a(0x1d5)](_0x409294);});}),this['on'](_0x3699cf(0x1de),()=>{const _0x280976=_0x3699cf;this[_0x280976(0x1d7)]();}),this[_0x3699cf(0x1ee)]();}[_0x4b04dd(0x1b9)](){const _0x249b0f=_0x4b04dd;this[_0x249b0f(0x1ec)][_0x249b0f(0x1b9)]();}[_0x4b04dd(0x1d7)](){const _0x3b2aac=_0x4b04dd;switch(this[_0x3b2aac(0x1c0)][_0x3b2aac(0x1e9)](),this[_0x3b2aac(0x1ca)]){case _0x3b2aac(0x1bf):this[_0x3b2aac(0x1c0)][_0x3b2aac(0x1dd)](this[_0x3b2aac(0x1c3)]);break;case _0x3b2aac(0x1ed):this[_0x3b2aac(0x1c0)][_0x3b2aac(0x1dd)](this[_0x3b2aac(0x1da)]);break;case _0x3b2aac(0x1eb):this[_0x3b2aac(0x1c0)][_0x3b2aac(0x1bd)]([this[_0x3b2aac(0x1cd)],this[_0x3b2aac(0x1e4)]]);}}[_0x4b04dd(0x1cf)](_0x2005dc,_0x254442){const _0x2b6624=_0x4b04dd,_0x3aca6a=_0x2b6624(0x1d0),_0xbf2033=_0x2005dc[_0x2b6624(0x1e8)](_0x3aca6a);if(_0xbf2033)return _0x254442(_0xbf2033);const _0x2575bb=new MutationObserver(_0x1914ea=>{const _0x52d321=_0x2b6624,_0x53e076=_0x1914ea[_0x52d321(0x1bc)](_0x193b2d=>_0x193b2d[_0x52d321(0x1c4)]===_0x2005dc&&_0x193b2d[_0x52d321(0x1e7)][_0x52d321(0x1e6)]>0x0&&_0x193b2d[_0x52d321(0x1e7)][0x0][_0x52d321(0x1c8)][_0x52d321(0x1e1)]()===_0x3aca6a);_0x53e076[_0x52d321(0x1e6)]&&(_0x2575bb[_0x52d321(0x1e5)](),_0x254442(_0x53e076[0x0][_0x52d321(0x1e7)][0x0]));});_0x2575bb[_0x2b6624(0x1d6)](_0x2005dc,{'childList':!0x0,'subtree':!0x0});}[_0x4b04dd(0x1d5)](_0x131d8d){const _0xec9f98=_0x4b04dd;_0x131d8d[_0xec9f98(0x1d4)](_0xec9f98(0x1cc),_0x196c02=>{const _0x2d067c=_0xec9f98;this[_0x2d067c(0x1d9)](_0x2d067c(0x1cc),{'imageSrc':_0x196c02[_0x2d067c(0x1c7)][_0x2d067c(0x1d2)]});}),_0x131d8d[_0xec9f98(0x1d4)](_0xec9f98(0x1c1),()=>{const _0x286651=_0xec9f98;this[_0x286651(0x1d9)](_0x286651(0x1c1));});}[_0x4b04dd(0x1ee)](){const _0x443ae7=_0x4b04dd;this[_0x443ae7(0x1da)]['on'](_0x443ae7(0x1c6),()=>{const _0xec3d44=_0x443ae7;this[_0xec3d44(0x1d9)](_0xec3d44(0x1c6));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf3a676=_0x4014;function _0x285f(){const _0x2d1638=['isActive','20EaWKMa','bind','_isEditable','uploadcare.allowExternalImagesEditing','6853264CbPPcS','imageEditController','imageBlock','611496KBNWJY','4pDKPTJ','unbind','getSelectedElement','model','editor','235037TcWyds','820186Ftazik','get','refresh','imageInline','2078655oLCEoZ','isEnabled','document','23429iPdSlA','2747916kAZZEs','set','element','342qBmRCL','selection','requires','execute','plugins','3yZCGij','config'];_0x285f=function(){return _0x2d1638;};return _0x285f();}function _0x4014(_0x120e9b,_0x56a2c9){const _0x285f2a=_0x285f();return _0x4014=function(_0x4014ab,_0x1d959b){_0x4014ab=_0x4014ab-0xbc;let _0x32d8bc=_0x285f2a[_0x4014ab];return _0x32d8bc;},_0x4014(_0x120e9b,_0x56a2c9);}(function(_0x21a7f9,_0x3f84bd){const _0x6905f=_0x4014,_0x537efe=_0x21a7f9();while(!![]){try{const _0x312599=parseInt(_0x6905f(0xce))/0x1+-parseInt(_0x6905f(0xcf))/0x2*(parseInt(_0x6905f(0xbe))/0x3)+-parseInt(_0x6905f(0xc9))/0x4*(parseInt(_0x6905f(0xd3))/0x5)+-parseInt(_0x6905f(0xda))/0x6*(parseInt(_0x6905f(0xd6))/0x7)+parseInt(_0x6905f(0xc8))/0x8+-parseInt(_0x6905f(0xd7))/0x9+-parseInt(_0x6905f(0xc1))/0xa*(-parseInt(_0x6905f(0xc5))/0xb);if(_0x312599===_0x3f84bd)break;else _0x537efe['push'](_0x537efe['shift']());}catch(_0x588263){_0x537efe['push'](_0x537efe['shift']());}}}(_0x285f,0x3984b));import{Command as _0x2a0414}from'ckeditor5/src/core.js';import{Dialog as _0x4a8120}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x477620}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x12429b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2a0414{[_0xf3a676(0xc6)];static get[_0xf3a676(0xdc)](){return[_0x4a8120];}[_0xf3a676(0xc3)];constructor(_0x26e34f){const _0x7a7751=_0xf3a676;super(_0x26e34f),this[_0x7a7751(0xc6)]=void 0x0,this[_0x7a7751(0xc3)]=_0x12429b(_0x26e34f[_0x7a7751(0xbf)][_0x7a7751(0xd0)](_0x7a7751(0xc4))||[]),this[_0x7a7751(0xd8)]({'isActive':!0x1});}[_0xf3a676(0xd1)](){const _0x28a3b9=_0xf3a676,_0x261423=this[_0x28a3b9(0xcd)][_0x28a3b9(0xcc)][_0x28a3b9(0xd5)][_0x28a3b9(0xdb)][_0x28a3b9(0xcb)]();this[_0x28a3b9(0xd4)]=this[_0x28a3b9(0xc3)](_0x261423);}[_0xf3a676(0xbc)](){const _0x748e6d=_0xf3a676;this[_0x748e6d(0xc6)]&&(this[_0x748e6d(0xca)](_0x748e6d(0xc0)),this[_0x748e6d(0xc6)]=void 0x0);const _0x50ca8b=this[_0x748e6d(0xcd)][_0x748e6d(0xcc)][_0x748e6d(0xd5)][_0x748e6d(0xdb)][_0x748e6d(0xcb)]();_0x50ca8b&&(_0x50ca8b['is'](_0x748e6d(0xd9),_0x748e6d(0xc7))||_0x50ca8b['is'](_0x748e6d(0xd9),_0x748e6d(0xd2)))&&(this[_0x748e6d(0xc6)]=new _0x477620(this[_0x748e6d(0xcd)],this[_0x748e6d(0xcd)][_0x748e6d(0xbd)][_0x748e6d(0xd0)](_0x4a8120),_0x50ca8b),this[_0x748e6d(0xc2)](_0x748e6d(0xc0))['to'](this[_0x748e6d(0xc6)],_0x748e6d(0xc0)));}}
23
+ const _0x147937=_0x3b75;function _0x3b75(_0x23e71d,_0x5a7584){const _0x55a621=_0x55a6();return _0x3b75=function(_0x3b7557,_0xb939fc){_0x3b7557=_0x3b7557-0xc9;let _0x5d9245=_0x55a621[_0x3b7557];return _0x5d9245;},_0x3b75(_0x23e71d,_0x5a7584);}(function(_0x1a4e6e,_0x4365dc){const _0x3ccefd=_0x3b75,_0x29e876=_0x1a4e6e();while(!![]){try{const _0x5d23c2=parseInt(_0x3ccefd(0xcc))/0x1*(-parseInt(_0x3ccefd(0xd1))/0x2)+-parseInt(_0x3ccefd(0xe0))/0x3*(parseInt(_0x3ccefd(0xe9))/0x4)+-parseInt(_0x3ccefd(0xd7))/0x5+parseInt(_0x3ccefd(0xe2))/0x6*(parseInt(_0x3ccefd(0xdf))/0x7)+-parseInt(_0x3ccefd(0xcb))/0x8*(parseInt(_0x3ccefd(0xe8))/0x9)+-parseInt(_0x3ccefd(0xcd))/0xa+parseInt(_0x3ccefd(0xe5))/0xb;if(_0x5d23c2===_0x4365dc)break;else _0x29e876['push'](_0x29e876['shift']());}catch(_0x2bc4bd){_0x29e876['push'](_0x29e876['shift']());}}}(_0x55a6,0x2d9b3));function _0x55a6(){const _0x397565=['uploadcare.allowExternalImagesEditing','element','1024104BuRTeh','188wuzOQJ','2283470ixrQis','get','set','plugins','2116vrJhSL','config','refresh','isActive','isEnabled','getSelectedElement','1309180lPPMdo','unbind','selection','model','imageBlock','execute','document','requires','140zzVyCn','3hUMHLF','imageEditController','56232jlYGOU','imageInline','editor','9914542oekMdj','bind','_isEditable','9FJCCqt','339436hQFjca'];_0x55a6=function(){return _0x397565;};return _0x55a6();}import{Command as _0x707432}from'ckeditor5/src/core.js';import{Dialog as _0x3a83a0}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x542576}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5a4b42}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x707432{[_0x147937(0xe1)];static get[_0x147937(0xde)](){return[_0x3a83a0];}[_0x147937(0xe7)];constructor(_0x4f587b){const _0x3a69dd=_0x147937;super(_0x4f587b),this[_0x3a69dd(0xe1)]=void 0x0,this[_0x3a69dd(0xe7)]=_0x5a4b42(_0x4f587b[_0x3a69dd(0xd2)][_0x3a69dd(0xce)](_0x3a69dd(0xc9))||[]),this[_0x3a69dd(0xcf)]({'isActive':!0x1});}[_0x147937(0xd3)](){const _0x235b18=_0x147937,_0x27832b=this[_0x235b18(0xe4)][_0x235b18(0xda)][_0x235b18(0xdd)][_0x235b18(0xd9)][_0x235b18(0xd6)]();this[_0x235b18(0xd5)]=this[_0x235b18(0xe7)](_0x27832b);}[_0x147937(0xdc)](){const _0xdfb54e=_0x147937;this[_0xdfb54e(0xe1)]&&(this[_0xdfb54e(0xd8)](_0xdfb54e(0xd4)),this[_0xdfb54e(0xe1)]=void 0x0);const _0x1dccce=this[_0xdfb54e(0xe4)][_0xdfb54e(0xda)][_0xdfb54e(0xdd)][_0xdfb54e(0xd9)][_0xdfb54e(0xd6)]();_0x1dccce&&(_0x1dccce['is'](_0xdfb54e(0xca),_0xdfb54e(0xdb))||_0x1dccce['is'](_0xdfb54e(0xca),_0xdfb54e(0xe3)))&&(this[_0xdfb54e(0xe1)]=new _0x542576(this[_0xdfb54e(0xe4)],this[_0xdfb54e(0xe4)][_0xdfb54e(0xd0)][_0xdfb54e(0xce)](_0x3a83a0),_0x1dccce),this[_0xdfb54e(0xe6)](_0xdfb54e(0xd4))['to'](this[_0xdfb54e(0xe1)],_0xdfb54e(0xd4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c5a35=_0xd3d7;(function(_0x3db5a7,_0x3ac5cc){const _0xc0759c=_0xd3d7,_0x4eb18b=_0x3db5a7();while(!![]){try{const _0x1641e4=parseInt(_0xc0759c(0x1c2))/0x1*(-parseInt(_0xc0759c(0x1c5))/0x2)+-parseInt(_0xc0759c(0x1cd))/0x3+parseInt(_0xc0759c(0x1c6))/0x4+parseInt(_0xc0759c(0x1c1))/0x5+parseInt(_0xc0759c(0x1ca))/0x6+parseInt(_0xc0759c(0x1d0))/0x7*(parseInt(_0xc0759c(0x1d2))/0x8)+-parseInt(_0xc0759c(0x1c8))/0x9*(parseInt(_0xc0759c(0x1c9))/0xa);if(_0x1641e4===_0x3ac5cc)break;else _0x4eb18b['push'](_0x4eb18b['shift']());}catch(_0x48b5f8){_0x4eb18b['push'](_0x4eb18b['shift']());}}}(_0x336b,0x558c2));import{Plugin as _0x377ac}from'ckeditor5/src/core.js';import{Notification as _0x3e9ac0}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xf40d8f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5b093a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x239317}from'../uploadcareediting.js';function _0xd3d7(_0x3b2459,_0x769206){const _0x336bae=_0x336b();return _0xd3d7=function(_0xd3d7d6,_0x4219b4){_0xd3d7d6=_0xd3d7d6-0x1bd;let _0x101d7c=_0x336bae[_0xd3d7d6];return _0x101d7c;},_0xd3d7(_0x3b2459,_0x769206);}function _0x336b(){const _0x33733c=['uploadcareImageReplace','49EsXSJg','commands','398048rLhkzq','add','init','isOfficialPlugin','uploadcareImageEdit','3261320wWjtfx','39677SPlPbS','ImageUtils','ImageEditing','18HIAfnD','2345304bsLHml','pluginName','11133xbSCGO','5430PlIpnG','1547922RsEJZi','requires','isPremiumPlugin','1397049wSREhU','UploadcareImageEditEditing'];_0x336b=function(){return _0x33733c;};return _0x336b();}export class UploadcareImageEditEditing extends _0x377ac{static get[_0x1c5a35(0x1c7)](){const _0x274120=_0x1c5a35;return _0x274120(0x1ce);}static get[_0x1c5a35(0x1cb)](){const _0x4c7413=_0x1c5a35;return[_0x239317,_0x3e9ac0,_0x4c7413(0x1c3),_0x4c7413(0x1c4)];}static get[_0x1c5a35(0x1bf)](){return!0x0;}static get[_0x1c5a35(0x1cc)](){return!0x0;}[_0x1c5a35(0x1be)](){const _0x38d1ce=_0x1c5a35,{editor:_0x1ba010}=this;_0x1ba010[_0x38d1ce(0x1d1)][_0x38d1ce(0x1bd)](_0x38d1ce(0x1c0),new _0xf40d8f(_0x1ba010)),_0x1ba010[_0x38d1ce(0x1d1)][_0x38d1ce(0x1bd)](_0x38d1ce(0x1cf),new _0x5b093a(_0x1ba010));}}
23
+ const _0xaef6d5=_0x58eb;(function(_0x4be969,_0x4a21b8){const _0x2e6dd2=_0x58eb,_0x518829=_0x4be969();while(!![]){try{const _0x2670a9=-parseInt(_0x2e6dd2(0x152))/0x1*(-parseInt(_0x2e6dd2(0x154))/0x2)+parseInt(_0x2e6dd2(0x14e))/0x3*(parseInt(_0x2e6dd2(0x142))/0x4)+parseInt(_0x2e6dd2(0x146))/0x5*(-parseInt(_0x2e6dd2(0x144))/0x6)+-parseInt(_0x2e6dd2(0x153))/0x7+-parseInt(_0x2e6dd2(0x150))/0x8+parseInt(_0x2e6dd2(0x13f))/0x9*(parseInt(_0x2e6dd2(0x13e))/0xa)+parseInt(_0x2e6dd2(0x145))/0xb*(parseInt(_0x2e6dd2(0x14c))/0xc);if(_0x2670a9===_0x4a21b8)break;else _0x518829['push'](_0x518829['shift']());}catch(_0x4de6bc){_0x518829['push'](_0x518829['shift']());}}}(_0x518e,0x55203));import{Plugin as _0x2aa6fa}from'ckeditor5/src/core.js';import{Notification as _0x1b677c}from'ckeditor5/src/ui.js';function _0x518e(){const _0x34b99b=['137368RhgXjX','10RJCWxv','ImageEditing','pluginName','isPremiumPlugin','add','init','12rjWUjb','uploadcareImageEdit','289209xcrHXB','requires','271176fOjQIc','ImageUtils','383VMauDI','3541216pBcJLo','2898aeLrUT','isOfficialPlugin','9660IFyCwv','4167dawOmC','commands','uploadcareImageReplace','12TGJZTk','UploadcareImageEditEditing','1246386PMzqDs'];_0x518e=function(){return _0x34b99b;};return _0x518e();}import{UploadcareImageEditCommand as _0x2bf72e}from'./uploadcareimageeditcommand.js';function _0x58eb(_0x29c06e,_0x5d19a3){const _0x518e00=_0x518e();return _0x58eb=function(_0x58ebb0,_0x475b26){_0x58ebb0=_0x58ebb0-0x13d;let _0x3e9fbe=_0x518e00[_0x58ebb0];return _0x3e9fbe;},_0x58eb(_0x29c06e,_0x5d19a3);}import{UploadcareImageReplaceCommand as _0x1a44c9}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x44b909}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2aa6fa{static get[_0xaef6d5(0x148)](){const _0x142675=_0xaef6d5;return _0x142675(0x143);}static get[_0xaef6d5(0x14f)](){const _0x4184ae=_0xaef6d5;return[_0x44b909,_0x1b677c,_0x4184ae(0x151),_0x4184ae(0x147)];}static get[_0xaef6d5(0x13d)](){return!0x0;}static get[_0xaef6d5(0x149)](){return!0x0;}[_0xaef6d5(0x14b)](){const _0x321eb7=_0xaef6d5,{editor:_0x28f348}=this;_0x28f348[_0x321eb7(0x140)][_0x321eb7(0x14a)](_0x321eb7(0x14d),new _0x2bf72e(_0x28f348)),_0x28f348[_0x321eb7(0x140)][_0x321eb7(0x14a)](_0x321eb7(0x141),new _0x1a44c9(_0x28f348));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57a006}from'ckeditor5/src/core.js';import{ButtonView as _0x41e258}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x21a5e1}from'ckeditor5/src/icons.js';import{createElement as _0x56f889}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 _0x57a006{['_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 _0x4361fd=this['editor'];_0x4361fd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x221143=>{const _0x2eb134=_0x4361fd['commands']['get']('uploadcareImageEdit'),_0x567046=new _0x41e258(_0x221143),t=_0x221143['t'];return _0x567046['set']({'icon':_0x21a5e1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x567046['bind']('isEnabled')['to'](_0x2eb134),_0x567046['bind']('isOn')['to'](_0x2eb134,'isActive'),this['listenTo'](_0x567046,'execute',()=>{_0x4361fd['execute']('uploadcareImageEdit'),_0x4361fd['editing']['view']['focus']();}),_0x567046;}),this['_initConfig']();}['_initConfig'](){const _0x3b09a6=_0x56f889(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3b09a6),this['listenTo'](this['editor'],'destroy',()=>{_0x3b09a6['remove']();});}}
23
+ import{Plugin as _0x3bee1f}from'ckeditor5/src/core.js';import{ButtonView as _0x3fc178}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe84642}from'ckeditor5/src/icons.js';import{createElement as _0x24fc7b}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 _0x3bee1f{['_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 _0x22d237=this['editor'];_0x22d237['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ea116=>{const _0x562eee=_0x22d237['commands']['get']('uploadcareImageEdit'),_0x8d84f7=new _0x3fc178(_0x5ea116),t=_0x5ea116['t'];return _0x8d84f7['set']({'icon':_0xe84642,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x8d84f7['bind']('isEnabled')['to'](_0x562eee),_0x8d84f7['bind']('isOn')['to'](_0x562eee,'isActive'),this['listenTo'](_0x8d84f7,'execute',()=>{_0x22d237['execute']('uploadcareImageEdit'),_0x22d237['editing']['view']['focus']();}),_0x8d84f7;}),this['_initConfig']();}['_initConfig'](){const _0x28b523=_0x24fc7b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x28b523),this['listenTo'](this['editor'],'destroy',()=>{_0x28b523['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43e6(_0x1c6e55,_0x4611b0){var _0x2b70c7=_0x2b70();return _0x43e6=function(_0x43e683,_0x5bca11){_0x43e683=_0x43e683-0x1ca;var _0x10f86d=_0x2b70c7[_0x43e683];return _0x10f86d;},_0x43e6(_0x1c6e55,_0x4611b0);}var _0x418485=_0x43e6;function _0x2b70(){var _0x112ec3=['44496hanKio','focusCycler','true','3342LqBmKl','2642250wdwATw','focusTracker','4lMtuEW','891vHrpkg','div','7806270WqxWtD','8605zrFXWs','fire','forwardCycle','createCollection','603Aeqagk','getFocusableElement','bindTemplate','1698025YALjHr','12717VuanUR','76ruvoXb','35688Mlxnux'];_0x2b70=function(){return _0x112ec3;};return _0x2b70();}(function(_0x1f91f6,_0x11fd9e){var _0x3e8b13=_0x43e6,_0x4a3f5d=_0x1f91f6();while(!![]){try{var _0x41b992=-parseInt(_0x3e8b13(0x1d8))/0x1*(-parseInt(_0x3e8b13(0x1d9))/0x2)+parseInt(_0x3e8b13(0x1ca))/0x3*(-parseInt(_0x3e8b13(0x1cc))/0x4)+-parseInt(_0x3e8b13(0x1d0))/0x5*(-parseInt(_0x3e8b13(0x1de))/0x6)+-parseInt(_0x3e8b13(0x1d7))/0x7+-parseInt(_0x3e8b13(0x1da))/0x8*(parseInt(_0x3e8b13(0x1d4))/0x9)+parseInt(_0x3e8b13(0x1cf))/0xa+-parseInt(_0x3e8b13(0x1cd))/0xb*(parseInt(_0x3e8b13(0x1db))/0xc);if(_0x41b992===_0x11fd9e)break;else _0x4a3f5d['push'](_0x4a3f5d['shift']());}catch(_0x3bb0ce){_0x4a3f5d['push'](_0x4a3f5d['shift']());}}}(_0x2b70,0x7a0c6));import{FocusTracker as _0x19b73e}from'ckeditor5/src/utils.js';import{View as _0x56783b,FocusCycler as _0x2a2e76}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x56783b{[_0x418485(0x1cb)];[_0x418485(0x1dc)];constructor(_0x4b02e1){var _0x452e7c=_0x418485;super(_0x4b02e1),this[_0x452e7c(0x1cb)]=new _0x19b73e(),this[_0x452e7c(0x1dc)]=new _0x2a2e76({'focusables':this[_0x452e7c(0x1d3)](),'focusTracker':this[_0x452e7c(0x1cb)]});}[_0x418485(0x1d5)](){var _0xa68f92=_0x418485;return{'tag':_0xa68f92(0x1ce),'attributes':{'aria-hidden':_0xa68f92(0x1dd),'tabindex':'0'},'on':{'focus':this[_0xa68f92(0x1d6)]['to'](()=>{var _0x1b3182=_0xa68f92;this[_0x1b3182(0x1dc)][_0x1b3182(0x1d1)](_0x1b3182(0x1d2));})}};}}
23
+ var _0xc0ad6a=_0xa9f9;function _0xa9f9(_0x4110f2,_0x182060){var _0x2817e7=_0x2817();return _0xa9f9=function(_0xa9f960,_0x57cd1){_0xa9f960=_0xa9f960-0x15b;var _0x1ddaf0=_0x2817e7[_0xa9f960];return _0x1ddaf0;},_0xa9f9(_0x4110f2,_0x182060);}(function(_0x130b58,_0x2a1afa){var _0x455f5f=_0xa9f9,_0x1be6c1=_0x130b58();while(!![]){try{var _0x2c1088=-parseInt(_0x455f5f(0x15b))/0x1*(-parseInt(_0x455f5f(0x16d))/0x2)+parseInt(_0x455f5f(0x169))/0x3+parseInt(_0x455f5f(0x168))/0x4+parseInt(_0x455f5f(0x161))/0x5+parseInt(_0x455f5f(0x15d))/0x6*(parseInt(_0x455f5f(0x15f))/0x7)+-parseInt(_0x455f5f(0x16a))/0x8*(parseInt(_0x455f5f(0x16b))/0x9)+parseInt(_0x455f5f(0x167))/0xa*(-parseInt(_0x455f5f(0x163))/0xb);if(_0x2c1088===_0x2a1afa)break;else _0x1be6c1['push'](_0x1be6c1['shift']());}catch(_0x3cf480){_0x1be6c1['push'](_0x1be6c1['shift']());}}}(_0x2817,0x54ee0));function _0x2817(){var _0x23b0b0=['focusCycler','true','42290XhAfBO','1510404nCOPue','1514649dASXAe','4792iqyeLG','5571lkgeLX','forwardCycle','298AVMDXB','fire','1169hUFxkg','div','522UuYGvo','focusTracker','49329hsgmIw','bindTemplate','2243490UlNGCr','createCollection','3641NOnstG','getFocusableElement'];_0x2817=function(){return _0x23b0b0;};return _0x2817();}import{FocusTracker as _0x58d4e6}from'ckeditor5/src/utils.js';import{View as _0xa05ef5,FocusCycler as _0x46e04b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xa05ef5{[_0xc0ad6a(0x15e)];[_0xc0ad6a(0x165)];constructor(_0x5a2581){var _0x2fadda=_0xc0ad6a;super(_0x5a2581),this[_0x2fadda(0x15e)]=new _0x58d4e6(),this[_0x2fadda(0x165)]=new _0x46e04b({'focusables':this[_0x2fadda(0x162)](),'focusTracker':this[_0x2fadda(0x15e)]});}[_0xc0ad6a(0x164)](){var _0xbae7ae=_0xc0ad6a;return{'tag':_0xbae7ae(0x15c),'attributes':{'aria-hidden':_0xbae7ae(0x166),'tabindex':'0'},'on':{'focus':this[_0xbae7ae(0x160)]['to'](()=>{var _0x4fdb5f=_0xbae7ae;this[_0x4fdb5f(0x165)][_0x4fdb5f(0x16e)](_0x4fdb5f(0x16c));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x12b8d1,_0x5e9e51){const _0x51abf5=_0x1a4f,_0x47eb37=_0x12b8d1();while(!![]){try{const _0x4a30bc=parseInt(_0x51abf5(0x77))/0x1+-parseInt(_0x51abf5(0x81))/0x2*(-parseInt(_0x51abf5(0xa6))/0x3)+parseInt(_0x51abf5(0xa9))/0x4+-parseInt(_0x51abf5(0x76))/0x5+-parseInt(_0x51abf5(0xa5))/0x6*(parseInt(_0x51abf5(0xab))/0x7)+parseInt(_0x51abf5(0x7b))/0x8*(parseInt(_0x51abf5(0x8a))/0x9)+-parseInt(_0x51abf5(0xa7))/0xa;if(_0x4a30bc===_0x5e9e51)break;else _0x47eb37['push'](_0x47eb37['shift']());}catch(_0x545f68){_0x47eb37['push'](_0x47eb37['shift']());}}}(_0x5d6d,0xa85b5));function _0x1a4f(_0x455a9c,_0x2d1807){const _0x5d6de3=_0x5d6d();return _0x1a4f=function(_0x1a4f21,_0x4d72d7){_0x1a4f21=_0x1a4f21-0x76;let _0x5e1b12=_0x5d6de3[_0x1a4f21];return _0x5e1b12;},_0x1a4f(_0x455a9c,_0x2d1807);}function _0x5d6d(){const _0x4ed3c8=['171xiVQwj','setStyle','image-processing','element','isArray','window','/-/resize/','document','px)\x20100vw,\x20','view','uploadcareImageId','toViewElement','imageInline','getAttribute','get','ImageUtils','mapper','plugins','imageBlock','domConverter','height','src','map','hasAttribute','replace','editing','filter','6036FTMzId','33fwvrvq','12953290oGDgRm','location','4791460dkYlNR','load','3388RlUYtW','removeClass','findViewImgElement','some','1353680NOroKh','1089247KeHwHH','function','viewToDom','listenTo','64616EpmqdL','(max-width:\x20','change','join','stopListening','addClass','54906KEqBwl','width','baseURI','origin','x/\x20','aspect-ratio','match','image/webp','removeStyle'];_0x5d6d=function(){return _0x4ed3c8;};return _0x5d6d();}import{global as _0x206e3d,DomEmitterMixin as _0x545912}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x502a14){const _0x5b3fdd=_0x1a4f,_0x1e3ba4=G(_0x502a14);return _0x2a7195=>!(!_0x2a7195||!_0x2a7195['is'](_0x5b3fdd(0x8d),_0x5b3fdd(0x9c))&&!_0x2a7195['is'](_0x5b3fdd(0x8d),_0x5b3fdd(0x96)))&&(!!_0x2a7195[_0x5b3fdd(0xa1)](_0x5b3fdd(0x94))||!!_0x2a7195[_0x5b3fdd(0xa1)](_0x5b3fdd(0x9f))&&_0x1e3ba4(_0x2a7195[_0x5b3fdd(0x97)](_0x5b3fdd(0x9f))));}export function getImageUrls(_0x4d33ae,_0x5ee446){const _0x1bd49c=_0x1a4f,_0x443a6a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1bd49c(0xa4)](_0x42c19b=>_0x42c19b<=_0x5ee446)[_0x1bd49c(0xa0)](_0x56110c=>_0x4d33ae[_0x1bd49c(0xa2)](/\/$/,'')+_0x1bd49c(0x90)+_0x56110c+_0x1bd49c(0x85)+_0x56110c+'w');return{'imageFallbackUrl':_0x4d33ae,'imageSources':[{'srcset':_0x443a6a[_0x1bd49c(0x7e)](',\x20'),'sizes':_0x1bd49c(0x7c)+_0x5ee446+_0x1bd49c(0x92)+_0x5ee446+'px','type':_0x1bd49c(0x88)}]};}export function getImageDimension(_0x5b9897,_0x197ce0,_0x8661df){const _0x3ebe75=_0x1a4f,_0x2f6ff3=_0x5b9897[_0x3ebe75(0x87)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2f6ff3?parseInt(_0x2f6ff3[0x1],0xa):_0x197ce0,'height':_0x2f6ff3?parseInt(_0x2f6ff3[0x2],0xa):_0x8661df};}export function showImageProcessingIndicator(_0x2ae34d,_0x47ecc){const _0x18bb20=_0x1a4f,_0x3756ed=new(_0x545912())(),_0x2d2550=_0x2ae34d[_0x18bb20(0x9b)][_0x18bb20(0x98)](_0x18bb20(0x99)),_0x305cd7=_0x2ae34d[_0x18bb20(0xa3)][_0x18bb20(0x9a)][_0x18bb20(0x95)](_0x47ecc),_0x3de225=_0x2d2550[_0x18bb20(0xad)](_0x305cd7),_0x3b2183=_0x2ae34d[_0x18bb20(0xa3)][_0x18bb20(0x93)][_0x18bb20(0x9d)][_0x18bb20(0x79)](_0x3de225),_0x4e23d9=_0x47ecc[_0x18bb20(0x97)](_0x18bb20(0x82)),_0x18ce1e=_0x47ecc[_0x18bb20(0x97)](_0x18bb20(0x9e)),_0x38e31f=_0x18bb20(0x8c);_0x2ae34d[_0x18bb20(0xa3)][_0x18bb20(0x93)][_0x18bb20(0x7d)](_0x22c2e8=>{const _0x2a0f49=_0x18bb20;_0x22c2e8[_0x2a0f49(0x80)](_0x38e31f,_0x305cd7),_0x22c2e8[_0x2a0f49(0x8b)](_0x2a0f49(0x86),_0x4e23d9+'/'+_0x18ce1e,_0x3de225);}),_0x3756ed[_0x18bb20(0x7a)](_0x3b2183,_0x18bb20(0xaa),()=>{const _0x190e14=_0x18bb20;_0x3756ed[_0x190e14(0x7f)](_0x3b2183,_0x190e14(0xaa)),_0x2ae34d[_0x190e14(0xa3)][_0x190e14(0x93)][_0x190e14(0x7d)](_0x331d8a=>{const _0x544a5f=_0x190e14;_0x331d8a[_0x544a5f(0xac)](_0x38e31f,_0x305cd7),_0x331d8a[_0x544a5f(0x89)](_0x544a5f(0x86),_0x3de225);});});}function G(_0x1880fd){const _0x14ca93=_0x1a4f;if(Array[_0x14ca93(0x8e)](_0x1880fd)){const _0x437d06=_0x1880fd[_0x14ca93(0xa0)](G);return _0x49c16c=>_0x437d06[_0x14ca93(0xae)](_0x4ddac7=>_0x4ddac7(_0x49c16c));}if(_0x14ca93(0x84)==_0x1880fd){const _0x1060b5=_0x206e3d[_0x14ca93(0x8f)][_0x14ca93(0xa8)][_0x14ca93(0x84)];return _0x1e0a7d=>new URL(_0x1e0a7d,_0x206e3d[_0x14ca93(0x91)][_0x14ca93(0x83)])[_0x14ca93(0x84)]==_0x1060b5;}return _0x14ca93(0x78)==typeof _0x1880fd?_0x1880fd:_0x1880fd instanceof RegExp?_0x4e9dc2=>!(!_0x4e9dc2[_0x14ca93(0x87)](_0x1880fd)&&!_0x4e9dc2[_0x14ca93(0xa2)](/^https?:\/\//,'')[_0x14ca93(0x87)](_0x1880fd)):()=>!0x1;}
23
+ (function(_0x3140a5,_0x43eaba){const _0x17bea3=_0x2ab4,_0x703881=_0x3140a5();while(!![]){try{const _0x19f36b=parseInt(_0x17bea3(0xcf))/0x1*(-parseInt(_0x17bea3(0xe4))/0x2)+-parseInt(_0x17bea3(0xd8))/0x3*(parseInt(_0x17bea3(0xc2))/0x4)+parseInt(_0x17bea3(0xd9))/0x5*(parseInt(_0x17bea3(0xbb))/0x6)+-parseInt(_0x17bea3(0xc9))/0x7*(-parseInt(_0x17bea3(0xc8))/0x8)+parseInt(_0x17bea3(0xe6))/0x9+-parseInt(_0x17bea3(0xd2))/0xa+parseInt(_0x17bea3(0xbf))/0xb*(-parseInt(_0x17bea3(0xdb))/0xc);if(_0x19f36b===_0x43eaba)break;else _0x703881['push'](_0x703881['shift']());}catch(_0x59fbe5){_0x703881['push'](_0x703881['shift']());}}}(_0x5e9f,0x186a0));function _0x5e9f(){const _0x2891be=['change','837PvrCoC','34735NYoxWt','element','15780RaSAmz','location','window','filter','document','ImageUtils','removeStyle','listenTo','replace','2lTKUWT','map','1657971NbaIYj','view','mapper','editing','baseURI','(max-width:\x20','function','uploadcareImageId','image-processing','aspect-ratio','image/webp','width','getAttribute','x/\x20','join','height','90JTfjyu','load','setStyle','plugins','319GOjjdr','/-/resize/','hasAttribute','84snabdQ','some','imageInline','domConverter','stopListening','get','40xtFgaX','245357qdjvVo','isArray','toViewElement','removeClass','match','findViewImgElement','125963ajAXXY','viewToDom','origin','1937220SltYGx','addClass','src','imageBlock','px)\x20100vw,\x20'];_0x5e9f=function(){return _0x2891be;};return _0x5e9f();}function _0x2ab4(_0x58121f,_0xf8b839){const _0x5e9f51=_0x5e9f();return _0x2ab4=function(_0x2ab47e,_0x568e16){_0x2ab47e=_0x2ab47e-0xb5;let _0x15b76e=_0x5e9f51[_0x2ab47e];return _0x15b76e;},_0x2ab4(_0x58121f,_0xf8b839);}import{global as _0x20d58e,DomEmitterMixin as _0x4a6b66}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x1ebfe1){const _0x203fdb=_0x2ab4,_0x554f03=z(_0x1ebfe1);return _0x5be6e7=>!(!_0x5be6e7||!_0x5be6e7['is'](_0x203fdb(0xda),_0x203fdb(0xd5))&&!_0x5be6e7['is'](_0x203fdb(0xda),_0x203fdb(0xc4)))&&(!!_0x5be6e7[_0x203fdb(0xc1)](_0x203fdb(0xed))||!!_0x5be6e7[_0x203fdb(0xc1)](_0x203fdb(0xd4))&&_0x554f03(_0x5be6e7[_0x203fdb(0xb7)](_0x203fdb(0xd4))));}export function getImageUrls(_0x475c64,_0x51376d){const _0x4b920e=_0x2ab4,_0x9cad1a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4b920e(0xde)](_0xbb0ed7=>_0xbb0ed7<=_0x51376d)[_0x4b920e(0xe5)](_0x567e29=>_0x475c64[_0x4b920e(0xe3)](/\/$/,'')+_0x4b920e(0xc0)+_0x567e29+_0x4b920e(0xb8)+_0x567e29+'w');return{'imageFallbackUrl':_0x475c64,'imageSources':[{'srcset':_0x9cad1a[_0x4b920e(0xb9)](',\x20'),'sizes':_0x4b920e(0xeb)+_0x51376d+_0x4b920e(0xd6)+_0x51376d+'px','type':_0x4b920e(0xb5)}]};}export function getImageDimension(_0x3dc9fd,_0x57acb4,_0x40bb23){const _0x31ddeb=_0x2ab4,_0x46dee5=_0x3dc9fd[_0x31ddeb(0xcd)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x46dee5?parseInt(_0x46dee5[0x1],0xa):_0x57acb4,'height':_0x46dee5?parseInt(_0x46dee5[0x2],0xa):_0x40bb23};}export function showImageProcessingIndicator(_0x52b459,_0x2f67c9){const _0x235602=_0x2ab4,_0x277e31=new(_0x4a6b66())(),_0xaa17ca=_0x52b459[_0x235602(0xbe)][_0x235602(0xc7)](_0x235602(0xe0)),_0x43e5b8=_0x52b459[_0x235602(0xe9)][_0x235602(0xe8)][_0x235602(0xcb)](_0x2f67c9),_0x23d75f=_0xaa17ca[_0x235602(0xce)](_0x43e5b8),_0xf2873a=_0x52b459[_0x235602(0xe9)][_0x235602(0xe7)][_0x235602(0xc5)][_0x235602(0xd0)](_0x23d75f),_0x25e424=_0x2f67c9[_0x235602(0xb7)](_0x235602(0xb6)),_0x45c625=_0x2f67c9[_0x235602(0xb7)](_0x235602(0xba)),_0x2b31e5=_0x235602(0xee);_0x52b459[_0x235602(0xe9)][_0x235602(0xe7)][_0x235602(0xd7)](_0x2317dd=>{const _0x500717=_0x235602;_0x2317dd[_0x500717(0xd3)](_0x2b31e5,_0x43e5b8),_0x2317dd[_0x500717(0xbd)](_0x500717(0xef),_0x25e424+'/'+_0x45c625,_0x23d75f);}),_0x277e31[_0x235602(0xe2)](_0xf2873a,_0x235602(0xbc),()=>{const _0x5515a2=_0x235602;_0x277e31[_0x5515a2(0xc6)](_0xf2873a,_0x5515a2(0xbc)),_0x52b459[_0x5515a2(0xe9)][_0x5515a2(0xe7)][_0x5515a2(0xd7)](_0x54d96a=>{const _0x38e72a=_0x5515a2;_0x54d96a[_0x38e72a(0xcc)](_0x2b31e5,_0x43e5b8),_0x54d96a[_0x38e72a(0xe1)](_0x38e72a(0xef),_0x23d75f);});});}function z(_0x283396){const _0x3271d9=_0x2ab4;if(Array[_0x3271d9(0xca)](_0x283396)){const _0x4be2af=_0x283396[_0x3271d9(0xe5)](z);return _0x71968e=>_0x4be2af[_0x3271d9(0xc3)](_0x1116ed=>_0x1116ed(_0x71968e));}if(_0x3271d9(0xd1)==_0x283396){const _0x21f413=_0x20d58e[_0x3271d9(0xdd)][_0x3271d9(0xdc)][_0x3271d9(0xd1)];return _0x3e6e29=>new URL(_0x3e6e29,_0x20d58e[_0x3271d9(0xdf)][_0x3271d9(0xea)])[_0x3271d9(0xd1)]==_0x21f413;}return _0x3271d9(0xec)==typeof _0x283396?_0x283396:_0x283396 instanceof RegExp?_0x1f573f=>!(!_0x1f573f[_0x3271d9(0xcd)](_0x283396)&&!_0x1f573f[_0x3271d9(0xe3)](/^https?:\/\//,'')[_0x3271d9(0xcd)](_0x283396)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1305(_0x54afcb,_0x116280){var _0x23f293=_0x23f2();return _0x1305=function(_0x130520,_0x448d0a){_0x130520=_0x130520-0x18f;var _0x25c808=_0x23f293[_0x130520];return _0x25c808;},_0x1305(_0x54afcb,_0x116280);}function _0x23f2(){var _0x4486e1=['8781670wrNORA','target','35903CgzoVV','includes','47860LOpJuO','220MMEgLJ','6604032KeKzaQ','7907994UUesVz','408oFzxSN','3nLuetX','1383486imUnjt','941496AytsMq'];_0x23f2=function(){return _0x4486e1;};return _0x23f2();}(function(_0x4271cf,_0x1ac816){var _0x30939e=_0x1305,_0x1d07ae=_0x4271cf();while(!![]){try{var _0x6bbfb6=parseInt(_0x30939e(0x194))/0x1+parseInt(_0x30939e(0x193))/0x2*(parseInt(_0x30939e(0x192))/0x3)+parseInt(_0x30939e(0x19a))/0x4*(-parseInt(_0x30939e(0x199))/0x5)+-parseInt(_0x30939e(0x191))/0x6*(-parseInt(_0x30939e(0x197))/0x7)+-parseInt(_0x30939e(0x18f))/0x8+parseInt(_0x30939e(0x190))/0x9+-parseInt(_0x30939e(0x195))/0xa;if(_0x6bbfb6===_0x1ac816)break;else _0x1d07ae['push'](_0x1d07ae['shift']());}catch(_0x3c1a63){_0x1d07ae['push'](_0x1d07ae['shift']());}}}(_0x23f2,0x99f12));import{getAncestors as _0x3dcbf4}from'ckeditor5/src/utils.js';export function isAncestor(_0xb0eb44,_0x577147){var _0x170670=_0x1305;return _0x3dcbf4(_0xb0eb44[_0x170670(0x196)])[_0x170670(0x198)](_0x577147);}
23
+ (function(_0x14f4e1,_0xc1342c){var _0x59a680=_0x41b8,_0x8f5bda=_0x14f4e1();while(!![]){try{var _0x3cd46d=parseInt(_0x59a680(0xd7))/0x1*(-parseInt(_0x59a680(0xd9))/0x2)+-parseInt(_0x59a680(0xd8))/0x3*(-parseInt(_0x59a680(0xd6))/0x4)+-parseInt(_0x59a680(0xda))/0x5*(-parseInt(_0x59a680(0xdd))/0x6)+-parseInt(_0x59a680(0xdf))/0x7+-parseInt(_0x59a680(0xd5))/0x8+-parseInt(_0x59a680(0xdc))/0x9*(-parseInt(_0x59a680(0xd3))/0xa)+-parseInt(_0x59a680(0xde))/0xb;if(_0x3cd46d===_0xc1342c)break;else _0x8f5bda['push'](_0x8f5bda['shift']());}catch(_0x4199c7){_0x8f5bda['push'](_0x8f5bda['shift']());}}}(_0x459a,0xa9677));function _0x459a(){var _0x705c9f=['1718aYJNfl','255DJfUoy','includes','9LYwqyN','79284MONCkN','3385338mtAmKR','5739195WWQVzZ','13411430EcFjuC','target','3571536LqhVaM','232828VosOms','722mbxPSR','45SQLUZO'];_0x459a=function(){return _0x705c9f;};return _0x459a();}import{getAncestors as _0xb0fe4a}from'ckeditor5/src/utils.js';function _0x41b8(_0x5f4e04,_0x17dea6){var _0x459a1f=_0x459a();return _0x41b8=function(_0x41b806,_0x27296d){_0x41b806=_0x41b806-0xd3;var _0x5e2218=_0x459a1f[_0x41b806];return _0x5e2218;},_0x41b8(_0x5f4e04,_0x17dea6);}export function isAncestor(_0x541da3,_0x3af311){var _0x411510=_0x41b8;return _0xb0fe4a(_0x541da3[_0x411510(0xd4)])[_0x411510(0xdb)](_0x3af311);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ca83e=_0x1d4f;(function(_0x59f0c8,_0x158c8a){var _0x4b515c=_0x1d4f,_0x257049=_0x59f0c8();while(!![]){try{var _0x484176=-parseInt(_0x4b515c(0x1e8))/0x1*(-parseInt(_0x4b515c(0x1f1))/0x2)+-parseInt(_0x4b515c(0x1e7))/0x3+-parseInt(_0x4b515c(0x1f3))/0x4+parseInt(_0x4b515c(0x1ea))/0x5*(parseInt(_0x4b515c(0x1f0))/0x6)+parseInt(_0x4b515c(0x1ef))/0x7+parseInt(_0x4b515c(0x1ee))/0x8*(parseInt(_0x4b515c(0x1ec))/0x9)+-parseInt(_0x4b515c(0x1ed))/0xa;if(_0x484176===_0x158c8a)break;else _0x257049['push'](_0x257049['shift']());}catch(_0xf762b7){_0x257049['push'](_0x257049['shift']());}}}(_0x4d8e,0x8c404));import{uploadFile as _0x52a504,info as _0x14fc01}from'@uploadcare/upload-client';function _0x4d8e(){var _0x4e55fa=['1199600kEVxDH','24VeIhie','7071890aXRgyj','6xRYwGi','22aVoSWC','getInfo','4207004IbhrFj','2805762xqLjcz','50044zGZgPw','auto','2131030zyJaGl','upload','2083419xYrGqh'];_0x4d8e=function(){return _0x4e55fa;};return _0x4d8e();}function _0x1d4f(_0x34caf2,_0x2e072c){var _0x4d8e86=_0x4d8e();return _0x1d4f=function(_0x1d4f74,_0x5b7ef4){_0x1d4f74=_0x1d4f74-0x1e7;var _0x18a0bd=_0x4d8e86[_0x1d4f74];return _0x18a0bd;},_0x1d4f(_0x34caf2,_0x2e072c);}export class UploadUtils{static[_0x5ca83e(0x1eb)]({file:_0x1eabf4,publicKey:_0x3c2b48,signal:_0x287d0f,onProgress:_0x353aa8}){var _0x323196=_0x5ca83e;return _0x52a504(_0x1eabf4,{'publicKey':_0x3c2b48,'store':_0x323196(0x1e9),'signal':_0x287d0f,'onProgress':_0x353aa8});}static[_0x5ca83e(0x1f2)](_0x1c586b,_0x41cd7b){return _0x14fc01(_0x1c586b,_0x41cd7b);}}
23
+ var _0x270552=_0x128d;(function(_0x4a75f2,_0xc6c4bc){var _0x3c85c4=_0x128d,_0x3c030a=_0x4a75f2();while(!![]){try{var _0x4f2a06=-parseInt(_0x3c85c4(0x1aa))/0x1+-parseInt(_0x3c85c4(0x1a1))/0x2+-parseInt(_0x3c85c4(0x1a7))/0x3*(-parseInt(_0x3c85c4(0x1a6))/0x4)+parseInt(_0x3c85c4(0x1a5))/0x5*(parseInt(_0x3c85c4(0x1a8))/0x6)+-parseInt(_0x3c85c4(0x1a9))/0x7+parseInt(_0x3c85c4(0x1a3))/0x8+-parseInt(_0x3c85c4(0x1a4))/0x9;if(_0x4f2a06===_0xc6c4bc)break;else _0x3c030a['push'](_0x3c030a['shift']());}catch(_0x24a121){_0x3c030a['push'](_0x3c030a['shift']());}}}(_0x6f70,0x30fcc));import{uploadFile as _0x1cd111,info as _0x4705b2}from'@uploadcare/upload-client';function _0x128d(_0xd1225,_0x3e3148){var _0x6f70c7=_0x6f70();return _0x128d=function(_0x128d45,_0x1b5daf){_0x128d45=_0x128d45-0x19f;var _0x1737e5=_0x6f70c7[_0x128d45];return _0x1737e5;},_0x128d(_0xd1225,_0x3e3148);}function _0x6f70(){var _0x1ab432=['29136tnigeO','6FGngQp','98007HkyahP','144710JMvoWC','getInfo','upload','364mMYUKD','auto','1454312yGbAPA','3780153BdMevd','1677745Xlokyv','108jiMJnE'];_0x6f70=function(){return _0x1ab432;};return _0x6f70();}export class UploadUtils{static[_0x270552(0x1a0)]({file:_0x3c2b0c,publicKey:_0x1e3c47,signal:_0x2d5a8f,onProgress:_0x1eface}){var _0x3ce46b=_0x270552;return _0x1cd111(_0x3c2b0c,{'publicKey':_0x1e3c47,'store':_0x3ce46b(0x1a2),'signal':_0x2d5a8f,'onProgress':_0x1eface});}static[_0x270552(0x19f)](_0x3779dd,_0x1c0267){return _0x4705b2(_0x3779dd,_0x1c0267);}}