@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.13 → 46.0.1-alpha.14

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 _0x269e45,View as _0x106849}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x106849{constructor(_0x9602c6){super(_0x9602c6);const t=_0x9602c6['t'],_0x3ba06f=this['bindTemplate'],_0x397af5=new _0x269e45();_0x397af5['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':[_0x397af5,{'text':_0x3ba06f['to']('imageUploadProgress',_0x354ea6=>t('Loading\x20image...')+'\x20('+(_0x354ea6||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 _0x4bf9a9,View as _0x361743}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x361743{constructor(_0x3c040b){super(_0x3c040b);const t=_0x3c040b['t'],_0x42be68=this['bindTemplate'],_0xfa93bb=new _0x4bf9a9();_0xfa93bb['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':[_0xfa93bb,{'text':_0x42be68['to']('imageUploadProgress',_0x250fc6=>t('Loading\x20image...')+'\x20('+(_0x250fc6||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 _0x1c1bb0=_0x2931;(function(_0x12226d,_0x13a133){const _0x4cdd30=_0x2931,_0x3c7be1=_0x12226d();while(!![]){try{const _0x9e0144=parseInt(_0x4cdd30(0x116))/0x1*(-parseInt(_0x4cdd30(0x115))/0x2)+parseInt(_0x4cdd30(0x120))/0x3+parseInt(_0x4cdd30(0x113))/0x4*(-parseInt(_0x4cdd30(0x121))/0x5)+-parseInt(_0x4cdd30(0xef))/0x6+-parseInt(_0x4cdd30(0xf9))/0x7*(parseInt(_0x4cdd30(0x11d))/0x8)+parseInt(_0x4cdd30(0x125))/0x9+parseInt(_0x4cdd30(0x11a))/0xa;if(_0x9e0144===_0x13a133)break;else _0x3c7be1['push'](_0x3c7be1['shift']());}catch(_0x5a00fa){_0x3c7be1['push'](_0x3c7be1['shift']());}}}(_0x2c67,0x655cb));import{View as _0x3de458}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x541aba}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x11dc80}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5570c9}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5dc667}from'../../utils/dialogfocusmanagerview.js';function _0x2931(_0x33a6d7,_0x142d59){const _0x2c678a=_0x2c67();return _0x2931=function(_0x29314c,_0x5e9482){_0x29314c=_0x29314c-0xef;let _0x2b949a=_0x2c678a[_0x29314c];return _0x2b949a;},_0x2931(_0x33a6d7,_0x142d59);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5dc667{[_0x1c1bb0(0x107)];[_0x1c1bb0(0x123)];[_0x1c1bb0(0xf7)];[_0x1c1bb0(0x102)];[_0x1c1bb0(0x111)];constructor(_0x3c3dbe,_0xf0dcf0,_0x36b82a){const _0x43eae2=_0x1c1bb0;super(_0x3c3dbe),this[_0x43eae2(0x107)]=this[_0x43eae2(0xfe)](),this[_0x43eae2(0x123)]=new _0x541aba(_0x3c3dbe),this[_0x43eae2(0xf7)]=new _0x11dc80(_0x3c3dbe),this[_0x43eae2(0x102)]=new _0x5570c9(_0x3c3dbe,_0x36b82a),this[_0x43eae2(0x111)]=new _0x3de458(_0x3c3dbe),this[_0x43eae2(0x111)][_0x43eae2(0x10d)](this[_0x43eae2(0x101)]()),this[_0x43eae2(0xfb)](_0x43eae2(0xf4),_0xf0dcf0),this[_0x43eae2(0x10d)]({'tag':_0x43eae2(0xf0),'attributes':{'class':['ck',_0x43eae2(0x10f),_0x43eae2(0x112)],'tabindex':'-1'},'children':this[_0x43eae2(0x107)]}),this[_0x43eae2(0xfc)](),this[_0x43eae2(0x10b)](_0x43eae2(0x117),()=>{const _0x1eb788=_0x43eae2;this[_0x1eb788(0xf6)](this[_0x1eb788(0x119)],_0x470174=>{const _0x832e52=_0x1eb788;this[_0x832e52(0x11f)](_0x470174);});}),this['on'](_0x43eae2(0x118),()=>{const _0x15e0a8=_0x43eae2;this[_0x15e0a8(0xfc)]();}),this[_0x43eae2(0x105)]();}[_0x1c1bb0(0x124)](){const _0x23ab33=_0x1c1bb0;this[_0x23ab33(0x119)][_0x23ab33(0x124)]();}[_0x1c1bb0(0xfc)](){const _0x151a9c=_0x1c1bb0;switch(this[_0x151a9c(0x107)][_0x151a9c(0xff)](),this[_0x151a9c(0xf4)]){case _0x151a9c(0x100):this[_0x151a9c(0x107)][_0x151a9c(0x10c)](this[_0x151a9c(0x123)]);break;case _0x151a9c(0x122):this[_0x151a9c(0x107)][_0x151a9c(0x10c)](this[_0x151a9c(0xf7)]);break;case _0x151a9c(0xf8):this[_0x151a9c(0x107)][_0x151a9c(0x108)]([this[_0x151a9c(0x102)],this[_0x151a9c(0x111)]]);}}[_0x1c1bb0(0xf6)](_0x96167,_0x5d5e58){const _0x2f7fd3=_0x1c1bb0,_0xfce16b=_0x2f7fd3(0xf5),_0x1d7120=_0x96167[_0x2f7fd3(0x10a)](_0xfce16b);if(_0x1d7120)return _0x5d5e58(_0x1d7120);const _0x280ff4=new MutationObserver(_0x1599e7=>{const _0x4853d5=_0x2f7fd3,_0x5ab445=_0x1599e7[_0x4853d5(0x104)](_0x21bf32=>_0x21bf32[_0x4853d5(0xf1)]===_0x96167&&_0x21bf32[_0x4853d5(0x10e)][_0x4853d5(0x11e)]>0x0&&_0x21bf32[_0x4853d5(0x10e)][0x0][_0x4853d5(0x109)][_0x4853d5(0x103)]()===_0xfce16b);_0x5ab445[_0x4853d5(0x11e)]&&(_0x280ff4[_0x4853d5(0x110)](),_0x5d5e58(_0x5ab445[0x0][_0x4853d5(0x10e)][0x0]));});_0x280ff4[_0x2f7fd3(0xf2)](_0x96167,{'childList':!0x0,'subtree':!0x0});}[_0x1c1bb0(0x11f)](_0x2454a4){const _0x1a6e4c=_0x1c1bb0;_0x2454a4[_0x1a6e4c(0x11c)](_0x1a6e4c(0xf3),_0x4ebfa1=>{const _0x37d3e1=_0x1a6e4c;this[_0x37d3e1(0xfd)](_0x37d3e1(0xf3),{'imageSrc':_0x4ebfa1[_0x37d3e1(0x114)][_0x37d3e1(0xfa)]});}),_0x2454a4[_0x1a6e4c(0x11c)](_0x1a6e4c(0x106),()=>{const _0x20b8ec=_0x1a6e4c;this[_0x20b8ec(0xfd)](_0x20b8ec(0x106));});}[_0x1c1bb0(0x105)](){const _0x3620d3=_0x1c1bb0;this[_0x3620d3(0xf7)]['on'](_0x3620d3(0x11b),()=>{const _0x28d1b6=_0x3620d3;this[_0x28d1b6(0xfd)](_0x28d1b6(0x11b));});}}function _0x2c67(){const _0x44ea00=['getFocusableElement','_editingView','toLowerCase','filter','_addErrorViewListeners','cancel','_items','addMany','nodeName','querySelector','once','add','setTemplate','addedNodes','ck-reset_all-excluded','disconnect','_focusableView','ck-uploadcare-form','13692BzvZBM','detail','276494AAkRGd','4qeHzOZ','render','change:status','element','13199310IGhqWt','retry','addEventListener','1744FniKrI','length','_addUploadcareImageEditorListeners','1167873MwCHpC','155muXwIR','error','_loadingView','focus','3837735lSWNqN','4781538OmatVC','div','target','observe','apply','status','uc-cloud-image-editor','_waitForImageEditorComponent','_errorView','ready','8491IixGFJ','cdnUrl','set','_setView','fire','createCollection','clear','uploading'];_0x2c67=function(){return _0x44ea00;};return _0x2c67();}
23
+ function _0x4530(_0x512446,_0x2cd2b2){const _0x451c3c=_0x451c();return _0x4530=function(_0x453002,_0x367f88){_0x453002=_0x453002-0x1a4;let _0xc19d6d=_0x451c3c[_0x453002];return _0xc19d6d;},_0x4530(_0x512446,_0x2cd2b2);}const _0x30848f=_0x4530;(function(_0x25ab74,_0x3ec1aa){const _0x38a01c=_0x4530,_0x42a922=_0x25ab74();while(!![]){try{const _0x18cb30=-parseInt(_0x38a01c(0x1af))/0x1+-parseInt(_0x38a01c(0x1d7))/0x2+-parseInt(_0x38a01c(0x1c4))/0x3*(-parseInt(_0x38a01c(0x1ca))/0x4)+parseInt(_0x38a01c(0x1b8))/0x5*(-parseInt(_0x38a01c(0x1a9))/0x6)+parseInt(_0x38a01c(0x1c5))/0x7*(-parseInt(_0x38a01c(0x1d3))/0x8)+parseInt(_0x38a01c(0x1c3))/0x9*(-parseInt(_0x38a01c(0x1ae))/0xa)+parseInt(_0x38a01c(0x1bf))/0xb;if(_0x18cb30===_0x3ec1aa)break;else _0x42a922['push'](_0x42a922['shift']());}catch(_0x343dc8){_0x42a922['push'](_0x42a922['shift']());}}}(_0x451c,0xae83b));function _0x451c(){const _0x5ccfa0=['getFocusableElement','set','9807660eMwftr','6GUCBfj','1499771vrYIUl','observe','element','ready','createCollection','1755476bYcOSw','fire','_focusableView','detail','focus','_addErrorViewListeners','setTemplate','addMany','change:status','24TKGjGh','disconnect','_setView','cdnUrl','985642adiRaf','addedNodes','ck-reset_all-excluded','retry','render','target','error','toLowerCase','querySelector','filter','970848WEVKaP','status','_waitForImageEditorComponent','ck-uploadcare-form','length','10KyrKbD','1375544jOUBdg','once','apply','clear','uc-cloud-image-editor','_items','_addUploadcareImageEditorListeners','nodeName','cancel','15ToRtZi','add','_editingView','_errorView','uploading','div','addEventListener','43156971njTQIh','_loadingView'];_0x451c=function(){return _0x5ccfa0;};return _0x451c();}import{View as _0x1c25d8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5f412b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x547cfb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2d23d5}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4ae379}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4ae379{[_0x30848f(0x1b4)];[_0x30848f(0x1c0)];[_0x30848f(0x1bb)];[_0x30848f(0x1ba)];[_0x30848f(0x1cc)];constructor(_0x1d1b1d,_0x4ad48e,_0x56198c){const _0x18dabe=_0x30848f;super(_0x1d1b1d),this[_0x18dabe(0x1b4)]=this[_0x18dabe(0x1c9)](),this[_0x18dabe(0x1c0)]=new _0x5f412b(_0x1d1b1d),this[_0x18dabe(0x1bb)]=new _0x547cfb(_0x1d1b1d),this[_0x18dabe(0x1ba)]=new _0x2d23d5(_0x1d1b1d,_0x56198c),this[_0x18dabe(0x1cc)]=new _0x1c25d8(_0x1d1b1d),this[_0x18dabe(0x1cc)][_0x18dabe(0x1d0)](this[_0x18dabe(0x1c1)]()),this[_0x18dabe(0x1c2)](_0x18dabe(0x1aa),_0x4ad48e),this[_0x18dabe(0x1d0)]({'tag':_0x18dabe(0x1bd),'attributes':{'class':['ck',_0x18dabe(0x1d9),_0x18dabe(0x1ac)],'tabindex':'-1'},'children':this[_0x18dabe(0x1b4)]}),this[_0x18dabe(0x1d5)](),this[_0x18dabe(0x1b0)](_0x18dabe(0x1db),()=>{const _0x3367e0=_0x18dabe;this[_0x3367e0(0x1ab)](this[_0x3367e0(0x1c7)],_0xd1e32e=>{const _0x46bf50=_0x3367e0;this[_0x46bf50(0x1b5)](_0xd1e32e);});}),this['on'](_0x18dabe(0x1d2),()=>{const _0x2396f6=_0x18dabe;this[_0x2396f6(0x1d5)]();}),this[_0x18dabe(0x1cf)]();}[_0x30848f(0x1ce)](){const _0x379555=_0x30848f;this[_0x379555(0x1c7)][_0x379555(0x1ce)]();}[_0x30848f(0x1d5)](){const _0x34cec9=_0x30848f;switch(this[_0x34cec9(0x1b4)][_0x34cec9(0x1b2)](),this[_0x34cec9(0x1aa)]){case _0x34cec9(0x1bc):this[_0x34cec9(0x1b4)][_0x34cec9(0x1b9)](this[_0x34cec9(0x1c0)]);break;case _0x34cec9(0x1a5):this[_0x34cec9(0x1b4)][_0x34cec9(0x1b9)](this[_0x34cec9(0x1bb)]);break;case _0x34cec9(0x1c8):this[_0x34cec9(0x1b4)][_0x34cec9(0x1d1)]([this[_0x34cec9(0x1ba)],this[_0x34cec9(0x1cc)]]);}}[_0x30848f(0x1ab)](_0x5f1b5a,_0x57609a){const _0x4e1c8f=_0x30848f,_0x17ff36=_0x4e1c8f(0x1b3),_0x26546a=_0x5f1b5a[_0x4e1c8f(0x1a7)](_0x17ff36);if(_0x26546a)return _0x57609a(_0x26546a);const _0x5581cf=new MutationObserver(_0x2a8059=>{const _0x2e3a2a=_0x4e1c8f,_0x2c1bbc=_0x2a8059[_0x2e3a2a(0x1a8)](_0x24f383=>_0x24f383[_0x2e3a2a(0x1a4)]===_0x5f1b5a&&_0x24f383[_0x2e3a2a(0x1d8)][_0x2e3a2a(0x1ad)]>0x0&&_0x24f383[_0x2e3a2a(0x1d8)][0x0][_0x2e3a2a(0x1b6)][_0x2e3a2a(0x1a6)]()===_0x17ff36);_0x2c1bbc[_0x2e3a2a(0x1ad)]&&(_0x5581cf[_0x2e3a2a(0x1d4)](),_0x57609a(_0x2c1bbc[0x0][_0x2e3a2a(0x1d8)][0x0]));});_0x5581cf[_0x4e1c8f(0x1c6)](_0x5f1b5a,{'childList':!0x0,'subtree':!0x0});}[_0x30848f(0x1b5)](_0x31579a){const _0x3a56b3=_0x30848f;_0x31579a[_0x3a56b3(0x1be)](_0x3a56b3(0x1b1),_0x538233=>{const _0x2aaf10=_0x3a56b3;this[_0x2aaf10(0x1cb)](_0x2aaf10(0x1b1),{'imageSrc':_0x538233[_0x2aaf10(0x1cd)][_0x2aaf10(0x1d6)]});}),_0x31579a[_0x3a56b3(0x1be)](_0x3a56b3(0x1b7),()=>{const _0xdd9492=_0x3a56b3;this[_0xdd9492(0x1cb)](_0xdd9492(0x1b7));});}[_0x30848f(0x1cf)](){const _0x43f1c5=_0x30848f;this[_0x43f1c5(0x1bb)]['on'](_0x43f1c5(0x1da),()=>{const _0x579b8d=_0x43f1c5;this[_0x579b8d(0x1cb)](_0x579b8d(0x1da));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x128c(){const _0x1ca16a=['config','3280417uiBoHv','4147938DLfoWh','1174508MOadCh','editor','imageEditController','model','1XfijzI','171KrkqWT','imageBlock','isActive','unbind','634360mgfumW','1321354iCXuse','document','_isEditable','isEnabled','element','plugins','requires','selection','662104CRsIlJ','imageInline','uploadcare.allowExternalImagesEditing','set','get','getSelectedElement','refresh','2276244DBNqVf','execute','bind'];_0x128c=function(){return _0x1ca16a;};return _0x128c();}function _0x443e(_0x54d08e,_0x1630de){const _0x128c3e=_0x128c();return _0x443e=function(_0x443e2b,_0x58daae){_0x443e2b=_0x443e2b-0x1f4;let _0x2e647f=_0x128c3e[_0x443e2b];return _0x2e647f;},_0x443e(_0x54d08e,_0x1630de);}const _0x38821b=_0x443e;(function(_0x3674cf,_0x1d2049){const _0x39a4bd=_0x443e,_0x57c5ea=_0x3674cf();while(!![]){try{const _0x2f8098=-parseInt(_0x39a4bd(0x211))/0x1*(-parseInt(_0x39a4bd(0x1f8))/0x2)+parseInt(_0x39a4bd(0x207))/0x3+parseInt(_0x39a4bd(0x20d))/0x4+parseInt(_0x39a4bd(0x1f7))/0x5+parseInt(_0x39a4bd(0x20c))/0x6+-parseInt(_0x39a4bd(0x20b))/0x7+-parseInt(_0x39a4bd(0x200))/0x8*(parseInt(_0x39a4bd(0x212))/0x9);if(_0x2f8098===_0x1d2049)break;else _0x57c5ea['push'](_0x57c5ea['shift']());}catch(_0x2b7909){_0x57c5ea['push'](_0x57c5ea['shift']());}}}(_0x128c,0x77a87));import{Command as _0x513f9e}from'ckeditor5/src/core.js';import{Dialog as _0x11a718}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1a4f3f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x451867}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x513f9e{[_0x38821b(0x20f)];static get[_0x38821b(0x1fe)](){return[_0x11a718];}[_0x38821b(0x1fa)];constructor(_0x290172){const _0xe989da=_0x38821b;super(_0x290172),this[_0xe989da(0x20f)]=void 0x0,this[_0xe989da(0x1fa)]=_0x451867(_0x290172[_0xe989da(0x20a)][_0xe989da(0x204)](_0xe989da(0x202))||[]),this[_0xe989da(0x203)]({'isActive':!0x1});}[_0x38821b(0x206)](){const _0x1ec468=_0x38821b,_0x5c6ea6=this[_0x1ec468(0x20e)][_0x1ec468(0x210)][_0x1ec468(0x1f9)][_0x1ec468(0x1ff)][_0x1ec468(0x205)]();this[_0x1ec468(0x1fb)]=this[_0x1ec468(0x1fa)](_0x5c6ea6);}[_0x38821b(0x208)](){const _0x1264d8=_0x38821b;this[_0x1264d8(0x20f)]&&(this[_0x1264d8(0x1f6)](_0x1264d8(0x1f5)),this[_0x1264d8(0x20f)]=void 0x0);const _0x4c6d8a=this[_0x1264d8(0x20e)][_0x1264d8(0x210)][_0x1264d8(0x1f9)][_0x1264d8(0x1ff)][_0x1264d8(0x205)]();_0x4c6d8a&&(_0x4c6d8a['is'](_0x1264d8(0x1fc),_0x1264d8(0x1f4))||_0x4c6d8a['is'](_0x1264d8(0x1fc),_0x1264d8(0x201)))&&(this[_0x1264d8(0x20f)]=new _0x1a4f3f(this[_0x1264d8(0x20e)],this[_0x1264d8(0x20e)][_0x1264d8(0x1fd)][_0x1264d8(0x204)](_0x11a718),_0x4c6d8a),this[_0x1264d8(0x209)](_0x1264d8(0x1f5))['to'](this[_0x1264d8(0x20f)],_0x1264d8(0x1f5)));}}
23
+ const _0x17a2f9=_0x3017;(function(_0x31dc7f,_0x30296e){const _0x3afe88=_0x3017,_0x340223=_0x31dc7f();while(!![]){try{const _0x25a8b1=parseInt(_0x3afe88(0x12e))/0x1+-parseInt(_0x3afe88(0x12a))/0x2*(-parseInt(_0x3afe88(0x133))/0x3)+parseInt(_0x3afe88(0x12c))/0x4+-parseInt(_0x3afe88(0x131))/0x5*(parseInt(_0x3afe88(0x130))/0x6)+-parseInt(_0x3afe88(0x13c))/0x7*(-parseInt(_0x3afe88(0x136))/0x8)+-parseInt(_0x3afe88(0x129))/0x9+-parseInt(_0x3afe88(0x12d))/0xa;if(_0x25a8b1===_0x30296e)break;else _0x340223['push'](_0x340223['shift']());}catch(_0x34aff9){_0x340223['push'](_0x340223['shift']());}}}(_0x6877,0x2642c));function _0x3017(_0x3c151e,_0x1fecc1){const _0x68779e=_0x6877();return _0x3017=function(_0x3017e1,_0x22d7cc){_0x3017e1=_0x3017e1-0x127;let _0x567974=_0x68779e[_0x3017e1];return _0x567974;},_0x3017(_0x3c151e,_0x1fecc1);}import{Command as _0x2f4ca0}from'ckeditor5/src/core.js';import{Dialog as _0x1119d3}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1b447d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5b52af}from'../utils/editingutils.js';function _0x6877(){const _0xdb2fc2=['185270ICgqhD','uploadcare.allowExternalImagesEditing','1758TojStK','1910oFbLEG','model','1530obcyTF','selection','bind','3544KqGRpR','execute','_isEditable','refresh','plugins','isEnabled','763YlOWFM','editor','unbind','document','isActive','getSelectedElement','imageInline','set','imageEditController','requires','element','get','imageBlock','325665HhRHex','514oyvNzq','config','85580eKGnII','811950anubhS'];_0x6877=function(){return _0xdb2fc2;};return _0x6877();}export class UploadcareImageEditCommand extends _0x2f4ca0{[_0x17a2f9(0x144)];static get[_0x17a2f9(0x145)](){return[_0x1119d3];}[_0x17a2f9(0x138)];constructor(_0x51f194){const _0x44a28c=_0x17a2f9;super(_0x51f194),this[_0x44a28c(0x144)]=void 0x0,this[_0x44a28c(0x138)]=_0x5b52af(_0x51f194[_0x44a28c(0x12b)][_0x44a28c(0x127)](_0x44a28c(0x12f))||[]),this[_0x44a28c(0x143)]({'isActive':!0x1});}[_0x17a2f9(0x139)](){const _0x18f8d7=_0x17a2f9,_0x228ffd=this[_0x18f8d7(0x13d)][_0x18f8d7(0x132)][_0x18f8d7(0x13f)][_0x18f8d7(0x134)][_0x18f8d7(0x141)]();this[_0x18f8d7(0x13b)]=this[_0x18f8d7(0x138)](_0x228ffd);}[_0x17a2f9(0x137)](){const _0x4704b8=_0x17a2f9;this[_0x4704b8(0x144)]&&(this[_0x4704b8(0x13e)](_0x4704b8(0x140)),this[_0x4704b8(0x144)]=void 0x0);const _0x84f2d0=this[_0x4704b8(0x13d)][_0x4704b8(0x132)][_0x4704b8(0x13f)][_0x4704b8(0x134)][_0x4704b8(0x141)]();_0x84f2d0&&(_0x84f2d0['is'](_0x4704b8(0x146),_0x4704b8(0x128))||_0x84f2d0['is'](_0x4704b8(0x146),_0x4704b8(0x142)))&&(this[_0x4704b8(0x144)]=new _0x1b447d(this[_0x4704b8(0x13d)],this[_0x4704b8(0x13d)][_0x4704b8(0x13a)][_0x4704b8(0x127)](_0x1119d3),_0x84f2d0),this[_0x4704b8(0x135)](_0x4704b8(0x140))['to'](this[_0x4704b8(0x144)],_0x4704b8(0x140)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e48(){const _0x2eb1b6=['4484nsmLEL','uploadcareImageReplace','add','requires','isOfficialPlugin','2991bbNybZ','isPremiumPlugin','pluginName','ImageUtils','312PELkNL','646735KYjBri','49aXSdAW','ImageEditing','95110xJxzCH','init','5107240LAdcxF','uploadcareImageEdit','1032344oykOVI','18efYfCy','37000898NPDegc','UploadcareImageEditEditing','1465802bZJoLo','commands'];_0x1e48=function(){return _0x2eb1b6;};return _0x1e48();}const _0x507c73=_0xe413;(function(_0x5e2042,_0x4206cb){const _0x2689ec=_0xe413,_0x453742=_0x5e2042();while(!![]){try{const _0x1f4d89=parseInt(_0x2689ec(0x6f))/0x1+-parseInt(_0x2689ec(0x7a))/0x2+-parseInt(_0x2689ec(0x81))/0x3*(-parseInt(_0x2689ec(0x7c))/0x4)+-parseInt(_0x2689ec(0x72))/0x5*(-parseInt(_0x2689ec(0x6e))/0x6)+parseInt(_0x2689ec(0x70))/0x7*(parseInt(_0x2689ec(0x76))/0x8)+-parseInt(_0x2689ec(0x77))/0x9*(-parseInt(_0x2689ec(0x74))/0xa)+-parseInt(_0x2689ec(0x78))/0xb;if(_0x1f4d89===_0x4206cb)break;else _0x453742['push'](_0x453742['shift']());}catch(_0x5acf2d){_0x453742['push'](_0x453742['shift']());}}}(_0x1e48,0x8e00e));import{Plugin as _0x410800}from'ckeditor5/src/core.js';import{Notification as _0x29ee4f}from'ckeditor5/src/ui.js';function _0xe413(_0x10f1ff,_0x2cc248){const _0x1e486b=_0x1e48();return _0xe413=function(_0xe413fd,_0x4e9888){_0xe413fd=_0xe413fd-0x6b;let _0x15f382=_0x1e486b[_0xe413fd];return _0x15f382;},_0xe413(_0x10f1ff,_0x2cc248);}import{UploadcareImageEditCommand as _0x1b84f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xb18e1a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x12daf3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x410800{static get[_0x507c73(0x6c)](){const _0x573058=_0x507c73;return _0x573058(0x79);}static get[_0x507c73(0x7f)](){const _0x51b24e=_0x507c73;return[_0x12daf3,_0x29ee4f,_0x51b24e(0x6d),_0x51b24e(0x71)];}static get[_0x507c73(0x80)](){return!0x0;}static get[_0x507c73(0x6b)](){return!0x0;}[_0x507c73(0x73)](){const _0x214e84=_0x507c73,{editor:_0x1f00bc}=this;_0x1f00bc[_0x214e84(0x7b)][_0x214e84(0x7e)](_0x214e84(0x75),new _0x1b84f(_0x1f00bc)),_0x1f00bc[_0x214e84(0x7b)][_0x214e84(0x7e)](_0x214e84(0x7d),new _0xb18e1a(_0x1f00bc));}}
23
+ const _0x358ede=_0x4d72;(function(_0x2809cf,_0x256d23){const _0x1a47bb=_0x4d72,_0x4bfb5c=_0x2809cf();while(!![]){try{const _0x51010a=-parseInt(_0x1a47bb(0x1e8))/0x1*(parseInt(_0x1a47bb(0x1e0))/0x2)+-parseInt(_0x1a47bb(0x1de))/0x3*(-parseInt(_0x1a47bb(0x1eb))/0x4)+-parseInt(_0x1a47bb(0x1ec))/0x5+parseInt(_0x1a47bb(0x1f1))/0x6+-parseInt(_0x1a47bb(0x1ef))/0x7+parseInt(_0x1a47bb(0x1e4))/0x8*(-parseInt(_0x1a47bb(0x1e6))/0x9)+parseInt(_0x1a47bb(0x1e7))/0xa*(parseInt(_0x1a47bb(0x1ea))/0xb);if(_0x51010a===_0x256d23)break;else _0x4bfb5c['push'](_0x4bfb5c['shift']());}catch(_0x5e66fd){_0x4bfb5c['push'](_0x4bfb5c['shift']());}}}(_0x3d69,0xcdec2));function _0x4d72(_0x137ff7,_0x1e6488){const _0x3d69c0=_0x3d69();return _0x4d72=function(_0x4d7296,_0xcd7b2d){_0x4d7296=_0x4d7296-0x1dc;let _0xd24814=_0x3d69c0[_0x4d7296];return _0xd24814;},_0x4d72(_0x137ff7,_0x1e6488);}import{Plugin as _0x71a4e}from'ckeditor5/src/core.js';import{Notification as _0x1c64d3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2afbdc}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x243559}from'./uploadcareimagereplacecommand.js';function _0x3d69(){const _0x23adbd=['2680902ElrUbg','70hEqMDq','977749aRBgBE','isPremiumPlugin','3977215pWmcKr','56qFObEZ','6966340glIBOr','pluginName','requires','9460773KsRxQX','uploadcareImageEdit','7040070mtggwm','ImageEditing','UploadcareImageEditEditing','add','248484cVTdTo','init','2laIEtA','uploadcareImageReplace','commands','ImageUtils','8gIaLwM','isOfficialPlugin'];_0x3d69=function(){return _0x23adbd;};return _0x3d69();}import{UploadcareEditing as _0x6647a9}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x71a4e{static get[_0x358ede(0x1ed)](){const _0xcc0e51=_0x358ede;return _0xcc0e51(0x1dc);}static get[_0x358ede(0x1ee)](){const _0x3cdf14=_0x358ede;return[_0x6647a9,_0x1c64d3,_0x3cdf14(0x1e3),_0x3cdf14(0x1f2)];}static get[_0x358ede(0x1e5)](){return!0x0;}static get[_0x358ede(0x1e9)](){return!0x0;}[_0x358ede(0x1df)](){const _0x5d8826=_0x358ede,{editor:_0x2b7607}=this;_0x2b7607[_0x5d8826(0x1e2)][_0x5d8826(0x1dd)](_0x5d8826(0x1f0),new _0x2afbdc(_0x2b7607)),_0x2b7607[_0x5d8826(0x1e2)][_0x5d8826(0x1dd)](_0x5d8826(0x1e1),new _0x243559(_0x2b7607));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x42c293}from'ckeditor5/src/core.js';import{ButtonView as _0x2bf53d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x187518}from'ckeditor5/src/icons.js';import{createElement as _0x1367e8}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 _0x42c293{['_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 _0x58df79=this['editor'];_0x58df79['ui']['componentFactory']['add']('uploadcareImageEdit',_0x323d1c=>{const _0x41f749=_0x58df79['commands']['get']('uploadcareImageEdit'),_0x22535d=new _0x2bf53d(_0x323d1c),t=_0x323d1c['t'];return _0x22535d['set']({'icon':_0x187518,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x22535d['bind']('isEnabled')['to'](_0x41f749),_0x22535d['bind']('isOn')['to'](_0x41f749,'isActive'),this['listenTo'](_0x22535d,'execute',()=>{_0x58df79['execute']('uploadcareImageEdit'),_0x58df79['editing']['view']['focus']();}),_0x22535d;}),this['_initConfig']();}['_initConfig'](){const _0x50ea13=_0x1367e8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x50ea13),this['listenTo'](this['editor'],'destroy',()=>{_0x50ea13['remove']();});}}
23
+ import{Plugin as _0x2ee881}from'ckeditor5/src/core.js';import{ButtonView as _0x7c86d9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xdf90df}from'ckeditor5/src/icons.js';import{createElement as _0x2535f7}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 _0x2ee881{['_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 _0x2b3966=this['editor'];_0x2b3966['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f6b23=>{const _0x250c1a=_0x2b3966['commands']['get']('uploadcareImageEdit'),_0x28a931=new _0x7c86d9(_0x2f6b23),t=_0x2f6b23['t'];return _0x28a931['set']({'icon':_0xdf90df,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x28a931['bind']('isEnabled')['to'](_0x250c1a),_0x28a931['bind']('isOn')['to'](_0x250c1a,'isActive'),this['listenTo'](_0x28a931,'execute',()=>{_0x2b3966['execute']('uploadcareImageEdit'),_0x2b3966['editing']['view']['focus']();}),_0x28a931;}),this['_initConfig']();}['_initConfig'](){const _0x3a6d80=_0x2535f7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a6d80),this['listenTo'](this['editor'],'destroy',()=>{_0x3a6d80['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5530a7=_0x3caa;(function(_0x40672b,_0x5d05ec){var _0x5b1d91=_0x3caa,_0x419fb8=_0x40672b();while(!![]){try{var _0x2b0cd7=-parseInt(_0x5b1d91(0x16c))/0x1+parseInt(_0x5b1d91(0x163))/0x2+parseInt(_0x5b1d91(0x16e))/0x3+parseInt(_0x5b1d91(0x170))/0x4*(-parseInt(_0x5b1d91(0x172))/0x5)+parseInt(_0x5b1d91(0x166))/0x6+-parseInt(_0x5b1d91(0x16b))/0x7+-parseInt(_0x5b1d91(0x167))/0x8*(parseInt(_0x5b1d91(0x16f))/0x9);if(_0x2b0cd7===_0x5d05ec)break;else _0x419fb8['push'](_0x419fb8['shift']());}catch(_0x5112de){_0x419fb8['push'](_0x419fb8['shift']());}}}(_0xd211,0xad18a));import{FocusTracker as _0x356a20}from'ckeditor5/src/utils.js';function _0xd211(){var _0x40d9db=['3377814WcdkHI','297JqCEZl','32FxHykJ','createCollection','600790KvOVIp','focusCycler','focusTracker','2509738SIpYsV','getFocusableElement','div','4467702iNoxDx','131128kAWsnZ','fire','bindTemplate','true','963557wwIzlp','776604gCMMpZ','forwardCycle'];_0xd211=function(){return _0x40d9db;};return _0xd211();}function _0x3caa(_0x3b820f,_0x30abcd){var _0xd211b=_0xd211();return _0x3caa=function(_0x3caa90,_0x4a3a57){_0x3caa90=_0x3caa90-0x162;var _0x33962c=_0xd211b[_0x3caa90];return _0x33962c;},_0x3caa(_0x3b820f,_0x30abcd);}import{View as _0x1ab7e2,FocusCycler as _0x229efa}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1ab7e2{[_0x5530a7(0x162)];[_0x5530a7(0x173)];constructor(_0x2c0304){var _0x9cd920=_0x5530a7;super(_0x2c0304),this[_0x9cd920(0x162)]=new _0x356a20(),this[_0x9cd920(0x173)]=new _0x229efa({'focusables':this[_0x9cd920(0x171)](),'focusTracker':this[_0x9cd920(0x162)]});}[_0x5530a7(0x164)](){var _0x4a683c=_0x5530a7;return{'tag':_0x4a683c(0x165),'attributes':{'aria-hidden':_0x4a683c(0x16a),'tabindex':'0'},'on':{'focus':this[_0x4a683c(0x169)]['to'](()=>{var _0x49b57a=_0x4a683c;this[_0x49b57a(0x173)][_0x49b57a(0x168)](_0x49b57a(0x16d));})}};}}
23
+ var _0x4f2670=_0x33fb;(function(_0x4035f5,_0x2637f7){var _0x1200d=_0x33fb,_0x51f0ab=_0x4035f5();while(!![]){try{var _0x3e4d51=-parseInt(_0x1200d(0x1dc))/0x1*(parseInt(_0x1200d(0x1e1))/0x2)+parseInt(_0x1200d(0x1da))/0x3*(parseInt(_0x1200d(0x1e5))/0x4)+parseInt(_0x1200d(0x1d9))/0x5+parseInt(_0x1200d(0x1e8))/0x6+-parseInt(_0x1200d(0x1db))/0x7+-parseInt(_0x1200d(0x1e3))/0x8+-parseInt(_0x1200d(0x1e0))/0x9;if(_0x3e4d51===_0x2637f7)break;else _0x51f0ab['push'](_0x51f0ab['shift']());}catch(_0x4597aa){_0x51f0ab['push'](_0x51f0ab['shift']());}}}(_0x339e,0xf0a8b));import{FocusTracker as _0x1392db}from'ckeditor5/src/utils.js';import{View as _0x8e47f8,FocusCycler as _0x474369}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x33fb(_0x348603,_0xa9d925){var _0x339e27=_0x339e();return _0x33fb=function(_0x33fb5f,_0x54cc1a){_0x33fb5f=_0x33fb5f-0x1d8;var _0x2bad71=_0x339e27[_0x33fb5f];return _0x2bad71;},_0x33fb(_0x348603,_0xa9d925);}export class DialogFocusManagerView extends _0x8e47f8{[_0x4f2670(0x1d8)];[_0x4f2670(0x1e7)];constructor(_0x46f820){var _0xfcc3c7=_0x4f2670;super(_0x46f820),this[_0xfcc3c7(0x1d8)]=new _0x1392db(),this[_0xfcc3c7(0x1e7)]=new _0x474369({'focusables':this[_0xfcc3c7(0x1de)](),'focusTracker':this[_0xfcc3c7(0x1d8)]});}[_0x4f2670(0x1df)](){var _0x62feb7=_0x4f2670;return{'tag':_0x62feb7(0x1e9),'attributes':{'aria-hidden':_0x62feb7(0x1e6),'tabindex':'0'},'on':{'focus':this[_0x62feb7(0x1e4)]['to'](()=>{var _0x3dfe13=_0x62feb7;this[_0x3dfe13(0x1e7)][_0x3dfe13(0x1dd)](_0x3dfe13(0x1e2));})}};}}function _0x339e(){var _0x2e829f=['5476TdIgcl','true','focusCycler','3347844SZYsdN','div','focusTracker','7689305sWToRg','3417TcXRVI','3193911zmTwxC','1320703SltQsz','fire','createCollection','getFocusableElement','2959938IeNwRD','2unOCLY','forwardCycle','4508232hUZGEJ','bindTemplate'];_0x339e=function(){return _0x2e829f;};return _0x339e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x14e1(){const _0x5d25c0=['ImageUtils','9005GvDMbs','1228JCprxB','removeClass','origin','filter','mapper','toViewElement','listenTo','window','setStyle','imageInline','5172390OXlLes','document','domConverter','uploadcareImageId','32EoxmZc','3072222SpSURZ','stopListening','hasAttribute','1057938TfHkdC','px)\x20100vw,\x20','get','84OZUhJI','location','removeStyle','replace','src','findViewImgElement','3522726ySfeUn','getAttribute','492087loCESK','imageBlock','image-processing','x/\x20','width','plugins','map','isArray','match','function','view','height','join','aspect-ratio','editing','(max-width:\x20','image/webp','viewToDom','addClass','15573uNNxrq','/-/resize/','element','some','load','baseURI','change'];_0x14e1=function(){return _0x5d25c0;};return _0x14e1();}(function(_0x38694a,_0x726e54){const _0x1aa3e2=_0xf643,_0x259a76=_0x38694a();while(!![]){try{const _0x2be08d=-parseInt(_0x1aa3e2(0x177))/0x1+-parseInt(_0x1aa3e2(0x16f))/0x2*(-parseInt(_0x1aa3e2(0x151))/0x3)+parseInt(_0x1aa3e2(0x15a))/0x4*(-parseInt(_0x1aa3e2(0x159))/0x5)+parseInt(_0x1aa3e2(0x169))/0x6+parseInt(_0x1aa3e2(0x16c))/0x7*(parseInt(_0x1aa3e2(0x168))/0x8)+-parseInt(_0x1aa3e2(0x175))/0x9+parseInt(_0x1aa3e2(0x164))/0xa;if(_0x2be08d===_0x726e54)break;else _0x259a76['push'](_0x259a76['shift']());}catch(_0x2c8995){_0x259a76['push'](_0x259a76['shift']());}}}(_0x14e1,0x656c2));import{global as _0x4dc698,DomEmitterMixin as _0x45f163}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5b6400){const _0x5f5937=_0xf643,_0x502d06=G(_0x5b6400);return _0xd0baa9=>!(!_0xd0baa9||!_0xd0baa9['is'](_0x5f5937(0x153),_0x5f5937(0x178))&&!_0xd0baa9['is'](_0x5f5937(0x153),_0x5f5937(0x163)))&&(!!_0xd0baa9[_0x5f5937(0x16b)](_0x5f5937(0x167))||!!_0xd0baa9[_0x5f5937(0x16b)](_0x5f5937(0x173))&&_0x502d06(_0xd0baa9[_0x5f5937(0x176)](_0x5f5937(0x173))));}function _0xf643(_0x2d6cce,_0x569369){const _0x14e182=_0x14e1();return _0xf643=function(_0xf6430a,_0x5bdea9){_0xf6430a=_0xf6430a-0x142;let _0x3db1e3=_0x14e182[_0xf6430a];return _0x3db1e3;},_0xf643(_0x2d6cce,_0x569369);}export function getImageUrls(_0x3f875a,_0x2c73bd){const _0x158d66=_0xf643,_0x15485b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x158d66(0x15d)](_0x4e80f9=>_0x4e80f9<=_0x2c73bd)[_0x158d66(0x144)](_0x3effaa=>_0x3f875a[_0x158d66(0x172)](/\/$/,'')+_0x158d66(0x152)+_0x3effaa+_0x158d66(0x17a)+_0x3effaa+'w');return{'imageFallbackUrl':_0x3f875a,'imageSources':[{'srcset':_0x15485b[_0x158d66(0x14a)](',\x20'),'sizes':_0x158d66(0x14d)+_0x2c73bd+_0x158d66(0x16d)+_0x2c73bd+'px','type':_0x158d66(0x14e)}]};}export function getImageDimension(_0x49488c,_0x52db79,_0x30f3dd){const _0x470db1=_0xf643,_0x361d41=_0x49488c[_0x470db1(0x146)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x361d41?parseInt(_0x361d41[0x1],0xa):_0x52db79,'height':_0x361d41?parseInt(_0x361d41[0x2],0xa):_0x30f3dd};}export function showImageProcessingIndicator(_0x172a9c,_0x21da77){const _0x4b158b=_0xf643,_0x450eb7=new(_0x45f163())(),_0x360c8d=_0x172a9c[_0x4b158b(0x143)][_0x4b158b(0x16e)](_0x4b158b(0x158)),_0x2b3979=_0x172a9c[_0x4b158b(0x14c)][_0x4b158b(0x15e)][_0x4b158b(0x15f)](_0x21da77),_0x36a67e=_0x360c8d[_0x4b158b(0x174)](_0x2b3979),_0x27cf70=_0x172a9c[_0x4b158b(0x14c)][_0x4b158b(0x148)][_0x4b158b(0x166)][_0x4b158b(0x14f)](_0x36a67e),_0x1c7e02=_0x21da77[_0x4b158b(0x176)](_0x4b158b(0x142)),_0x3ec2f4=_0x21da77[_0x4b158b(0x176)](_0x4b158b(0x149)),_0x5e544e=_0x4b158b(0x179);_0x172a9c[_0x4b158b(0x14c)][_0x4b158b(0x148)][_0x4b158b(0x157)](_0x2ab799=>{const _0x247821=_0x4b158b;_0x2ab799[_0x247821(0x150)](_0x5e544e,_0x2b3979),_0x2ab799[_0x247821(0x162)](_0x247821(0x14b),_0x1c7e02+'/'+_0x3ec2f4,_0x36a67e);}),_0x450eb7[_0x4b158b(0x160)](_0x27cf70,_0x4b158b(0x155),()=>{const _0x15e5c9=_0x4b158b;_0x450eb7[_0x15e5c9(0x16a)](_0x27cf70,_0x15e5c9(0x155)),_0x172a9c[_0x15e5c9(0x14c)][_0x15e5c9(0x148)][_0x15e5c9(0x157)](_0x336e27=>{const _0x1419a3=_0x15e5c9;_0x336e27[_0x1419a3(0x15b)](_0x5e544e,_0x2b3979),_0x336e27[_0x1419a3(0x171)](_0x1419a3(0x14b),_0x36a67e);});});}function G(_0x4163c9){const _0x3d864c=_0xf643;if(Array[_0x3d864c(0x145)](_0x4163c9)){const _0x5153cc=_0x4163c9[_0x3d864c(0x144)](G);return _0x3bfe12=>_0x5153cc[_0x3d864c(0x154)](_0x2219a7=>_0x2219a7(_0x3bfe12));}if(_0x3d864c(0x15c)==_0x4163c9){const _0x2ed47c=_0x4dc698[_0x3d864c(0x161)][_0x3d864c(0x170)][_0x3d864c(0x15c)];return _0x3f398f=>new URL(_0x3f398f,_0x4dc698[_0x3d864c(0x165)][_0x3d864c(0x156)])[_0x3d864c(0x15c)]==_0x2ed47c;}return _0x3d864c(0x147)==typeof _0x4163c9?_0x4163c9:_0x4163c9 instanceof RegExp?_0x2f7e8b=>!(!_0x2f7e8b[_0x3d864c(0x146)](_0x4163c9)&&!_0x2f7e8b[_0x3d864c(0x172)](/^https?:\/\//,'')[_0x3d864c(0x146)](_0x4163c9)):()=>!0x1;}
23
+ (function(_0x289f0d,_0x252733){const _0x2948a8=_0x2f68,_0xd094cd=_0x289f0d();while(!![]){try{const _0x43ca25=-parseInt(_0x2948a8(0x12f))/0x1*(-parseInt(_0x2948a8(0x123))/0x2)+parseInt(_0x2948a8(0x122))/0x3+-parseInt(_0x2948a8(0x13d))/0x4+-parseInt(_0x2948a8(0x120))/0x5*(-parseInt(_0x2948a8(0x125))/0x6)+-parseInt(_0x2948a8(0x11d))/0x7+parseInt(_0x2948a8(0x132))/0x8*(-parseInt(_0x2948a8(0x133))/0x9)+parseInt(_0x2948a8(0x12c))/0xa;if(_0x43ca25===_0x252733)break;else _0xd094cd['push'](_0xd094cd['shift']());}catch(_0x1f8435){_0xd094cd['push'](_0xd094cd['shift']());}}}(_0x413a,0x40553));function _0x413a(){const _0x14fb7f=['328rVzlqh','96435dNRlzJ','setStyle','ImageUtils','(max-width:\x20','removeClass','toViewElement','location','map','baseURI','px)\x20100vw,\x20','1847340nvPENU','uploadcareImageId','findViewImgElement','viewToDom','filter','match','imageBlock','origin','imageInline','removeStyle','change','join','document','/-/resize/','plugins','some','get','editing','aspect-ratio','stopListening','load','isArray','height','element','window','134876QPxpXJ','image-processing','addClass','5Jddrnv','hasAttribute','472755IEEeez','58qORxHW','mapper','2827686NsIUNG','view','getAttribute','listenTo','width','function','x/\x20','1813940YckVpn','replace','src','12885pOsqKd','domConverter','image/webp'];_0x413a=function(){return _0x14fb7f;};return _0x413a();}import{global as _0x2db1a9,DomEmitterMixin as _0x32ad8c}from'ckeditor5/src/utils.js';function _0x2f68(_0x141fd5,_0x590638){const _0x413a2b=_0x413a();return _0x2f68=function(_0x2f68c1,_0x231389){_0x2f68c1=_0x2f68c1-0x11b;let _0xe04eb9=_0x413a2b[_0x2f68c1];return _0xe04eb9;},_0x2f68(_0x141fd5,_0x590638);}export function createEditabilityChecker(_0x4439d7){const _0x5e80ad=_0x2f68,_0x311968=z(_0x4439d7);return _0x2cfc59=>!(!_0x2cfc59||!_0x2cfc59['is'](_0x5e80ad(0x11b),_0x5e80ad(0x143))&&!_0x2cfc59['is'](_0x5e80ad(0x11b),_0x5e80ad(0x145)))&&(!!_0x2cfc59[_0x5e80ad(0x121)](_0x5e80ad(0x13e))||!!_0x2cfc59[_0x5e80ad(0x121)](_0x5e80ad(0x12e))&&_0x311968(_0x2cfc59[_0x5e80ad(0x127)](_0x5e80ad(0x12e))));}export function getImageUrls(_0x252ba6,_0x2d35bb){const _0x213943=_0x2f68,_0x2255c7=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x213943(0x141)](_0x32636c=>_0x32636c<=_0x2d35bb)[_0x213943(0x13a)](_0x389df4=>_0x252ba6[_0x213943(0x12d)](/\/$/,'')+_0x213943(0x14a)+_0x389df4+_0x213943(0x12b)+_0x389df4+'w');return{'imageFallbackUrl':_0x252ba6,'imageSources':[{'srcset':_0x2255c7[_0x213943(0x148)](',\x20'),'sizes':_0x213943(0x136)+_0x2d35bb+_0x213943(0x13c)+_0x2d35bb+'px','type':_0x213943(0x131)}]};}export function getImageDimension(_0x1bdee3,_0x3bd83c,_0x109598){const _0xf02f73=_0x2f68,_0xba77ce=_0x1bdee3[_0xf02f73(0x142)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xba77ce?parseInt(_0xba77ce[0x1],0xa):_0x3bd83c,'height':_0xba77ce?parseInt(_0xba77ce[0x2],0xa):_0x109598};}export function showImageProcessingIndicator(_0x30a065,_0x15ddbb){const _0x1bb466=_0x2f68,_0x1177fc=new(_0x32ad8c())(),_0x432ef4=_0x30a065[_0x1bb466(0x14b)][_0x1bb466(0x14d)](_0x1bb466(0x135)),_0xbeb0c2=_0x30a065[_0x1bb466(0x14e)][_0x1bb466(0x124)][_0x1bb466(0x138)](_0x15ddbb),_0x2fde47=_0x432ef4[_0x1bb466(0x13f)](_0xbeb0c2),_0x34d44e=_0x30a065[_0x1bb466(0x14e)][_0x1bb466(0x126)][_0x1bb466(0x130)][_0x1bb466(0x140)](_0x2fde47),_0x21d21a=_0x15ddbb[_0x1bb466(0x127)](_0x1bb466(0x129)),_0x541ef6=_0x15ddbb[_0x1bb466(0x127)](_0x1bb466(0x153)),_0x9dfd75=_0x1bb466(0x11e);_0x30a065[_0x1bb466(0x14e)][_0x1bb466(0x126)][_0x1bb466(0x147)](_0x4be78e=>{const _0x8495a6=_0x1bb466;_0x4be78e[_0x8495a6(0x11f)](_0x9dfd75,_0xbeb0c2),_0x4be78e[_0x8495a6(0x134)](_0x8495a6(0x14f),_0x21d21a+'/'+_0x541ef6,_0x2fde47);}),_0x1177fc[_0x1bb466(0x128)](_0x34d44e,_0x1bb466(0x151),()=>{const _0xee5a95=_0x1bb466;_0x1177fc[_0xee5a95(0x150)](_0x34d44e,_0xee5a95(0x151)),_0x30a065[_0xee5a95(0x14e)][_0xee5a95(0x126)][_0xee5a95(0x147)](_0x5f255a=>{const _0x1273cd=_0xee5a95;_0x5f255a[_0x1273cd(0x137)](_0x9dfd75,_0xbeb0c2),_0x5f255a[_0x1273cd(0x146)](_0x1273cd(0x14f),_0x2fde47);});});}function z(_0x368b56){const _0x1544c4=_0x2f68;if(Array[_0x1544c4(0x152)](_0x368b56)){const _0x4eed0f=_0x368b56[_0x1544c4(0x13a)](z);return _0x202ccd=>_0x4eed0f[_0x1544c4(0x14c)](_0x41b21a=>_0x41b21a(_0x202ccd));}if(_0x1544c4(0x144)==_0x368b56){const _0x136390=_0x2db1a9[_0x1544c4(0x11c)][_0x1544c4(0x139)][_0x1544c4(0x144)];return _0x22d275=>new URL(_0x22d275,_0x2db1a9[_0x1544c4(0x149)][_0x1544c4(0x13b)])[_0x1544c4(0x144)]==_0x136390;}return _0x1544c4(0x12a)==typeof _0x368b56?_0x368b56:_0x368b56 instanceof RegExp?_0x291cc2=>!(!_0x291cc2[_0x1544c4(0x142)](_0x368b56)&&!_0x291cc2[_0x1544c4(0x12d)](/^https?:\/\//,'')[_0x1544c4(0x142)](_0x368b56)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a55(){var _0xd68ce=['3383238gUISzQ','20OfGfQT','1271568esSHas','target','494636mtlSOn','198728UQVSMd','2292LAjHFN','includes','273pogQRU','16204364ZlPiBy','50HALcFs','477CfhctE','432549vXPxpf'];_0x5a55=function(){return _0xd68ce;};return _0x5a55();}function _0x1a0e(_0x577fcc,_0x476c9e){var _0x5a558c=_0x5a55();return _0x1a0e=function(_0x1a0ec1,_0x45bcef){_0x1a0ec1=_0x1a0ec1-0x19f;var _0x67a32e=_0x5a558c[_0x1a0ec1];return _0x67a32e;},_0x1a0e(_0x577fcc,_0x476c9e);}(function(_0x4b5c7c,_0x43077f){var _0x868dde=_0x1a0e,_0x48bb8a=_0x4b5c7c();while(!![]){try{var _0x563828=-parseInt(_0x868dde(0x1a4))/0x1*(-parseInt(_0x868dde(0x19f))/0x2)+parseInt(_0x868dde(0x1a8))/0x3+-parseInt(_0x868dde(0x1aa))/0x4*(parseInt(_0x868dde(0x1a7))/0x5)+-parseInt(_0x868dde(0x1a6))/0x6+parseInt(_0x868dde(0x1a1))/0x7*(-parseInt(_0x868dde(0x1ab))/0x8)+parseInt(_0x868dde(0x1a5))/0x9*(parseInt(_0x868dde(0x1a3))/0xa)+parseInt(_0x868dde(0x1a2))/0xb;if(_0x563828===_0x43077f)break;else _0x48bb8a['push'](_0x48bb8a['shift']());}catch(_0x510294){_0x48bb8a['push'](_0x48bb8a['shift']());}}}(_0x5a55,0xa04eb));import{getAncestors as _0x205ec7}from'ckeditor5/src/utils.js';export function isAncestor(_0x194fb7,_0x1196d2){var _0x5b9c3=_0x1a0e;return _0x205ec7(_0x194fb7[_0x5b9c3(0x1a9)])[_0x5b9c3(0x1a0)](_0x1196d2);}
23
+ function _0x5960(){var _0x4dbe36=['3575484PsAtob','45ngeMew','374032EVSOCP','3425210vgBBSN','11gItdcY','56HgNJpy','1624557BkPNAo','target','includes','155648LEgUck','624834VAEceY','4788528yNxISG','6AqVbJv'];_0x5960=function(){return _0x4dbe36;};return _0x5960();}function _0x32ca(_0x35ba2c,_0x4d46f0){var _0x5960a6=_0x5960();return _0x32ca=function(_0x32ca41,_0x187981){_0x32ca41=_0x32ca41-0x119;var _0x771a20=_0x5960a6[_0x32ca41];return _0x771a20;},_0x32ca(_0x35ba2c,_0x4d46f0);}(function(_0x49ae6a,_0xf99cc4){var _0x18a87d=_0x32ca,_0x29d5d0=_0x49ae6a();while(!![]){try{var _0x16df66=parseInt(_0x18a87d(0x122))/0x1*(-parseInt(_0x18a87d(0x11f))/0x2)+parseInt(_0x18a87d(0x119))/0x3+parseInt(_0x18a87d(0x11e))/0x4+parseInt(_0x18a87d(0x121))/0x5*(parseInt(_0x18a87d(0x11d))/0x6)+parseInt(_0x18a87d(0x125))/0x7*(-parseInt(_0x18a87d(0x11c))/0x8)+-parseInt(_0x18a87d(0x120))/0x9+parseInt(_0x18a87d(0x123))/0xa*(-parseInt(_0x18a87d(0x124))/0xb);if(_0x16df66===_0xf99cc4)break;else _0x29d5d0['push'](_0x29d5d0['shift']());}catch(_0x4a5a98){_0x29d5d0['push'](_0x29d5d0['shift']());}}}(_0x5960,0xa0bb9));import{getAncestors as _0x1d83f3}from'ckeditor5/src/utils.js';export function isAncestor(_0x7ce2d5,_0x24df12){var _0x308098=_0x32ca;return _0x1d83f3(_0x7ce2d5[_0x308098(0x11a)])[_0x308098(0x11b)](_0x24df12);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13614e=_0x4c5c;(function(_0x3eb8e5,_0x9e7f62){var _0x16d3cd=_0x4c5c,_0x358378=_0x3eb8e5();while(!![]){try{var _0x14be49=-parseInt(_0x16d3cd(0x113))/0x1*(parseInt(_0x16d3cd(0x10d))/0x2)+parseInt(_0x16d3cd(0x110))/0x3+parseInt(_0x16d3cd(0x114))/0x4+-parseInt(_0x16d3cd(0x112))/0x5*(parseInt(_0x16d3cd(0x108))/0x6)+parseInt(_0x16d3cd(0x10c))/0x7+parseInt(_0x16d3cd(0x10e))/0x8+-parseInt(_0x16d3cd(0x10f))/0x9*(parseInt(_0x16d3cd(0x111))/0xa);if(_0x14be49===_0x9e7f62)break;else _0x358378['push'](_0x358378['shift']());}catch(_0x134a46){_0x358378['push'](_0x358378['shift']());}}}(_0x4288,0xc2314));function _0x4c5c(_0x43e43d,_0x4f191a){var _0x4288d6=_0x4288();return _0x4c5c=function(_0x4c5c19,_0x166d13){_0x4c5c19=_0x4c5c19-0x108;var _0x53c0db=_0x4288d6[_0x4c5c19];return _0x53c0db;},_0x4c5c(_0x43e43d,_0x4f191a);}import{uploadFile as _0x5af1b3,info as _0xef1854}from'@uploadcare/upload-client';export class UploadUtils{static[_0x13614e(0x109)]({file:_0x4fb08a,publicKey:_0x15e999,signal:_0xde31d,onProgress:_0x4e0d82}){var _0x1adba1=_0x13614e;return _0x5af1b3(_0x4fb08a,{'publicKey':_0x15e999,'store':_0x1adba1(0x10b),'signal':_0xde31d,'onProgress':_0x4e0d82});}static[_0x13614e(0x10a)](_0x26ca6a,_0x255b7b){return _0xef1854(_0x26ca6a,_0x255b7b);}}function _0x4288(){var _0x299c99=['upload','getInfo','auto','10505614VgaOaT','32476zgdPdP','73856IXtlEk','99VGyKvF','1723068dzVZFT','105010JwEeaP','95sRqDRC','2cQxTqM','493076JvfFWk','399240ZYhsIk'];_0x4288=function(){return _0x299c99;};return _0x4288();}
23
+ var _0x336a29=_0x3031;(function(_0x409384,_0x29d831){var _0x2095cf=_0x3031,_0x5ba328=_0x409384();while(!![]){try{var _0x27cc8b=parseInt(_0x2095cf(0x176))/0x1*(-parseInt(_0x2095cf(0x174))/0x2)+parseInt(_0x2095cf(0x179))/0x3*(-parseInt(_0x2095cf(0x17a))/0x4)+parseInt(_0x2095cf(0x173))/0x5+-parseInt(_0x2095cf(0x17f))/0x6*(parseInt(_0x2095cf(0x17d))/0x7)+-parseInt(_0x2095cf(0x177))/0x8+-parseInt(_0x2095cf(0x17b))/0x9+parseInt(_0x2095cf(0x175))/0xa;if(_0x27cc8b===_0x29d831)break;else _0x5ba328['push'](_0x5ba328['shift']());}catch(_0xb72b1d){_0x5ba328['push'](_0x5ba328['shift']());}}}(_0x10e0,0x91e4d));function _0x3031(_0x5d7493,_0x3d12b1){var _0x10e0f6=_0x10e0();return _0x3031=function(_0x30312d,_0x3c54b0){_0x30312d=_0x30312d-0x173;var _0x53e887=_0x10e0f6[_0x30312d];return _0x53e887;},_0x3031(_0x5d7493,_0x3d12b1);}import{uploadFile as _0xc85b1f,info as _0x3572c4}from'@uploadcare/upload-client';export class UploadUtils{static[_0x336a29(0x178)]({file:_0x453be0,publicKey:_0xecf9d1,signal:_0xe82ff,onProgress:_0xe8b6c4}){var _0x4524b6=_0x336a29;return _0xc85b1f(_0x453be0,{'publicKey':_0xecf9d1,'store':_0x4524b6(0x17e),'signal':_0xe82ff,'onProgress':_0xe8b6c4});}static[_0x336a29(0x17c)](_0x1d131f,_0x36cbf6){return _0x3572c4(_0x1d131f,_0x36cbf6);}}function _0x10e0(){var _0x2cadfb=['upload','17109VcEdBk','28SBAKfG','4732848TBgyiw','getInfo','14USxqrs','auto','1124742wpAIav','1147360PkfWss','1928wkgHrS','24442640PrmOyU','863yemyRq','2428128ZllslF'];_0x10e0=function(){return _0x2cadfb;};return _0x10e0();}