@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.3 → 47.3.0-alpha.5

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 _0x15cf21,View as _0x1f55f8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1f55f8{constructor(_0x455b1b){super(_0x455b1b);const t=_0x455b1b['t'],_0x9adc64=this['bindTemplate'],_0x38425b=new _0x15cf21();_0x38425b['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':[_0x38425b,{'text':_0x9adc64['to']('imageUploadProgress',_0x4c3e40=>t('Loading\x20image...')+'\x20('+(_0x4c3e40||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 _0x12cee7,View as _0x269307}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x269307{constructor(_0x38826e){super(_0x38826e);const t=_0x38826e['t'],_0x229345=this['bindTemplate'],_0x5412d5=new _0x12cee7();_0x5412d5['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':[_0x5412d5,{'text':_0x229345['to']('imageUploadProgress',_0x178b27=>t('Loading\x20image...')+'\x20('+(_0x178b27||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 _0xd87be5=_0x901c;(function(_0x11ce10,_0x5aa312){const _0x4f4d2d=_0x901c,_0x298bf7=_0x11ce10();while(!![]){try{const _0x549381=-parseInt(_0x4f4d2d(0xf0))/0x1*(-parseInt(_0x4f4d2d(0xdb))/0x2)+-parseInt(_0x4f4d2d(0xdc))/0x3*(parseInt(_0x4f4d2d(0xd7))/0x4)+parseInt(_0x4f4d2d(0x105))/0x5*(parseInt(_0x4f4d2d(0xf3))/0x6)+parseInt(_0x4f4d2d(0xee))/0x7+-parseInt(_0x4f4d2d(0xe2))/0x8+-parseInt(_0x4f4d2d(0xdf))/0x9+parseInt(_0x4f4d2d(0xf2))/0xa;if(_0x549381===_0x5aa312)break;else _0x298bf7['push'](_0x298bf7['shift']());}catch(_0x538f32){_0x298bf7['push'](_0x298bf7['shift']());}}}(_0x5a47,0xcd352));import{View as _0x337004}from'ckeditor5/src/ui.js';function _0x5a47(){const _0x58dffc=['change:status','_errorView','_setView','nodeName','cdnUrl','once','status','focus','ck-uploadcare-form','set','_focusableView','addMany','add','retry','80TcBYhY','div','ck-reset_all-excluded','_loadingView','error','disconnect','setTemplate','createCollection','_waitForImageEditorComponent','4850364HXJoXg','_addErrorViewListeners','querySelector','apply','36vsDjhN','3HCehRh','fire','element','3238515FaoWuG','_items','ready','3558352NoFxrT','clear','observe','target','filter','uc-cloud-image-editor','_editingView','addEventListener','getFocusableElement','addedNodes','length','uploading','1755740TqLepU','toLowerCase','31126Kliixj','render','13129980ZaowYN','275124lpOFJx','cancel','_addUploadcareImageEditorListeners','detail'];_0x5a47=function(){return _0x58dffc;};return _0x5a47();}function _0x901c(_0x2e71d4,_0x1b148f){const _0x5a47a0=_0x5a47();return _0x901c=function(_0x901c7d,_0x21dc9e){_0x901c7d=_0x901c7d-0xd6;let _0x2789bd=_0x5a47a0[_0x901c7d];return _0x2789bd;},_0x901c(_0x2e71d4,_0x1b148f);}import{UploadcareImageEditFormLoadingView as _0x502d58}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4553b4}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x20067c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x47a84a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x47a84a{[_0xd87be5(0xe0)];[_0xd87be5(0x108)];[_0xd87be5(0xf8)];[_0xd87be5(0xe8)];[_0xd87be5(0x101)];constructor(_0x1a5532,_0x14cb4e,_0x5640ca){const _0x10f75c=_0xd87be5;super(_0x1a5532),this[_0x10f75c(0xe0)]=this[_0x10f75c(0x10c)](),this[_0x10f75c(0x108)]=new _0x502d58(_0x1a5532),this[_0x10f75c(0xf8)]=new _0x4553b4(_0x1a5532),this[_0x10f75c(0xe8)]=new _0x20067c(_0x1a5532,_0x5640ca),this[_0x10f75c(0x101)]=new _0x337004(_0x1a5532),this[_0x10f75c(0x101)][_0x10f75c(0x10b)](this[_0x10f75c(0xea)]()),this[_0x10f75c(0x100)](_0x10f75c(0xfd),_0x14cb4e),this[_0x10f75c(0x10b)]({'tag':_0x10f75c(0x106),'attributes':{'class':['ck',_0x10f75c(0x107),_0x10f75c(0xff)],'tabindex':'-1'},'children':this[_0x10f75c(0xe0)]}),this[_0x10f75c(0xf9)](),this[_0x10f75c(0xfc)](_0x10f75c(0xf1),()=>{const _0x169d37=_0x10f75c;this[_0x169d37(0xd6)](this[_0x169d37(0xde)],_0x2e2f0c=>{const _0x30ecb8=_0x169d37;this[_0x30ecb8(0xf5)](_0x2e2f0c);});}),this['on'](_0x10f75c(0xf7),()=>{const _0x94f877=_0x10f75c;this[_0x94f877(0xf9)]();}),this[_0x10f75c(0xd8)]();}[_0xd87be5(0xfe)](){const _0x3bd6ae=_0xd87be5;this[_0x3bd6ae(0xde)][_0x3bd6ae(0xfe)]();}[_0xd87be5(0xf9)](){const _0x4524f0=_0xd87be5;switch(this[_0x4524f0(0xe0)][_0x4524f0(0xe3)](),this[_0x4524f0(0xfd)]){case _0x4524f0(0xed):this[_0x4524f0(0xe0)][_0x4524f0(0x103)](this[_0x4524f0(0x108)]);break;case _0x4524f0(0x109):this[_0x4524f0(0xe0)][_0x4524f0(0x103)](this[_0x4524f0(0xf8)]);break;case _0x4524f0(0xe1):this[_0x4524f0(0xe0)][_0x4524f0(0x102)]([this[_0x4524f0(0xe8)],this[_0x4524f0(0x101)]]);}}[_0xd87be5(0xd6)](_0x19d7e5,_0x5571ff){const _0x451414=_0xd87be5,_0x572069=_0x451414(0xe7),_0x564343=_0x19d7e5[_0x451414(0xd9)](_0x572069);if(_0x564343)return _0x5571ff(_0x564343);const _0x1c2f3b=new MutationObserver(_0x5ac476=>{const _0x32fd58=_0x451414,_0x16e386=_0x5ac476[_0x32fd58(0xe6)](_0x51a70=>_0x51a70[_0x32fd58(0xe5)]===_0x19d7e5&&_0x51a70[_0x32fd58(0xeb)][_0x32fd58(0xec)]>0x0&&_0x51a70[_0x32fd58(0xeb)][0x0][_0x32fd58(0xfa)][_0x32fd58(0xef)]()===_0x572069);_0x16e386[_0x32fd58(0xec)]&&(_0x1c2f3b[_0x32fd58(0x10a)](),_0x5571ff(_0x16e386[0x0][_0x32fd58(0xeb)][0x0]));});_0x1c2f3b[_0x451414(0xe4)](_0x19d7e5,{'childList':!0x0,'subtree':!0x0});}[_0xd87be5(0xf5)](_0x32d3da){const _0x2c03b3=_0xd87be5;_0x32d3da[_0x2c03b3(0xe9)](_0x2c03b3(0xda),_0x58f5b6=>{const _0x17e0a7=_0x2c03b3;this[_0x17e0a7(0xdd)](_0x17e0a7(0xda),{'imageSrc':_0x58f5b6[_0x17e0a7(0xf6)][_0x17e0a7(0xfb)]});}),_0x32d3da[_0x2c03b3(0xe9)](_0x2c03b3(0xf4),()=>{const _0x2c3396=_0x2c03b3;this[_0x2c3396(0xdd)](_0x2c3396(0xf4));});}[_0xd87be5(0xd8)](){const _0x3b43fc=_0xd87be5;this[_0x3b43fc(0xf8)]['on'](_0x3b43fc(0x104),()=>{const _0xabbe75=_0x3b43fc;this[_0xabbe75(0xdd)](_0xabbe75(0x104));});}}
23
+ const _0x248d1f=_0x34c2;(function(_0x33628c,_0x54e0eb){const _0x143e07=_0x34c2,_0x93f1df=_0x33628c();while(!![]){try{const _0x1ef3a5=parseInt(_0x143e07(0x16d))/0x1*(-parseInt(_0x143e07(0x185))/0x2)+parseInt(_0x143e07(0x174))/0x3*(parseInt(_0x143e07(0x18b))/0x4)+-parseInt(_0x143e07(0x168))/0x5*(-parseInt(_0x143e07(0x16c))/0x6)+parseInt(_0x143e07(0x186))/0x7*(parseInt(_0x143e07(0x18f))/0x8)+-parseInt(_0x143e07(0x17a))/0x9*(-parseInt(_0x143e07(0x190))/0xa)+parseInt(_0x143e07(0x160))/0xb*(-parseInt(_0x143e07(0x163))/0xc)+parseInt(_0x143e07(0x178))/0xd;if(_0x1ef3a5===_0x54e0eb)break;else _0x93f1df['push'](_0x93f1df['shift']());}catch(_0x25cdb4){_0x93f1df['push'](_0x93f1df['shift']());}}}(_0x1b16,0xaf4f6));import{View as _0x25376f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1e9f61}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x753c7f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2c800e}from'./uploadcareimageeditformeditingview.js';function _0x1b16(){const _0x2bafca=['div','_focusableView','_errorView','getFocusableElement','toLowerCase','ready','132654uyenIE','84889KUMDqq','addMany','querySelector','cancel','detail','21116jxEDzR','add','cdnUrl','addedNodes','544krkMXk','6515390IZOOnY','_setView','_items','_loadingView','status','set','_editingView','uploading','_waitForImageEditorComponent','setTemplate','984467eRnECw','target','ck-reset_all-excluded','84jAYrxS','length','once','_addErrorViewListeners','focus','435TlUPOL','nodeName','element','createCollection','24834XRTqCL','17ckKEyE','uc-cloud-image-editor','fire','addEventListener','change:status','_addUploadcareImageEditorListeners','filter','135YZZOth','disconnect','apply','render','5177705zykuQy','ck-uploadcare-form','9zhYEox','clear','retry','observe','error'];_0x1b16=function(){return _0x2bafca;};return _0x1b16();}function _0x34c2(_0x45b09b,_0x4f8f95){const _0x1b1641=_0x1b16();return _0x34c2=function(_0x34c27e,_0x140ddc){_0x34c27e=_0x34c27e-0x15f;let _0x575323=_0x1b1641[_0x34c27e];return _0x575323;},_0x34c2(_0x45b09b,_0x4f8f95);}import{DialogFocusManagerView as _0x58c1cd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x58c1cd{[_0x248d1f(0x192)];[_0x248d1f(0x193)];[_0x248d1f(0x181)];[_0x248d1f(0x196)];[_0x248d1f(0x180)];constructor(_0x51ad6a,_0x2682a5,_0x23891f){const _0xfee8b=_0x248d1f;super(_0x51ad6a),this[_0xfee8b(0x192)]=this[_0xfee8b(0x16b)](),this[_0xfee8b(0x193)]=new _0x1e9f61(_0x51ad6a),this[_0xfee8b(0x181)]=new _0x753c7f(_0x51ad6a),this[_0xfee8b(0x196)]=new _0x2c800e(_0x51ad6a,_0x23891f),this[_0xfee8b(0x180)]=new _0x25376f(_0x51ad6a),this[_0xfee8b(0x180)][_0xfee8b(0x15f)](this[_0xfee8b(0x182)]()),this[_0xfee8b(0x195)](_0xfee8b(0x194),_0x2682a5),this[_0xfee8b(0x15f)]({'tag':_0xfee8b(0x17f),'attributes':{'class':['ck',_0xfee8b(0x162),_0xfee8b(0x179)],'tabindex':'-1'},'children':this[_0xfee8b(0x192)]}),this[_0xfee8b(0x191)](),this[_0xfee8b(0x165)](_0xfee8b(0x177),()=>{const _0x1f7442=_0xfee8b;this[_0x1f7442(0x198)](this[_0x1f7442(0x16a)],_0x175aed=>{const _0x5dec8=_0x1f7442;this[_0x5dec8(0x172)](_0x175aed);});}),this['on'](_0xfee8b(0x171),()=>{const _0x5362bc=_0xfee8b;this[_0x5362bc(0x191)]();}),this[_0xfee8b(0x166)]();}[_0x248d1f(0x167)](){const _0x173638=_0x248d1f;this[_0x173638(0x16a)][_0x173638(0x167)]();}[_0x248d1f(0x191)](){const _0x2387d9=_0x248d1f;switch(this[_0x2387d9(0x192)][_0x2387d9(0x17b)](),this[_0x2387d9(0x194)]){case _0x2387d9(0x197):this[_0x2387d9(0x192)][_0x2387d9(0x18c)](this[_0x2387d9(0x193)]);break;case _0x2387d9(0x17e):this[_0x2387d9(0x192)][_0x2387d9(0x18c)](this[_0x2387d9(0x181)]);break;case _0x2387d9(0x184):this[_0x2387d9(0x192)][_0x2387d9(0x187)]([this[_0x2387d9(0x196)],this[_0x2387d9(0x180)]]);}}[_0x248d1f(0x198)](_0x82edfa,_0x243c90){const _0x4c5e34=_0x248d1f,_0x3505da=_0x4c5e34(0x16e),_0x2d8b58=_0x82edfa[_0x4c5e34(0x188)](_0x3505da);if(_0x2d8b58)return _0x243c90(_0x2d8b58);const _0x36d6f6=new MutationObserver(_0x312b39=>{const _0xc13d2f=_0x4c5e34,_0x3c975c=_0x312b39[_0xc13d2f(0x173)](_0x48d95b=>_0x48d95b[_0xc13d2f(0x161)]===_0x82edfa&&_0x48d95b[_0xc13d2f(0x18e)][_0xc13d2f(0x164)]>0x0&&_0x48d95b[_0xc13d2f(0x18e)][0x0][_0xc13d2f(0x169)][_0xc13d2f(0x183)]()===_0x3505da);_0x3c975c[_0xc13d2f(0x164)]&&(_0x36d6f6[_0xc13d2f(0x175)](),_0x243c90(_0x3c975c[0x0][_0xc13d2f(0x18e)][0x0]));});_0x36d6f6[_0x4c5e34(0x17d)](_0x82edfa,{'childList':!0x0,'subtree':!0x0});}[_0x248d1f(0x172)](_0x38f254){const _0x4f0db7=_0x248d1f;_0x38f254[_0x4f0db7(0x170)](_0x4f0db7(0x176),_0x542041=>{const _0x4fb27f=_0x4f0db7;this[_0x4fb27f(0x16f)](_0x4fb27f(0x176),{'imageSrc':_0x542041[_0x4fb27f(0x18a)][_0x4fb27f(0x18d)]});}),_0x38f254[_0x4f0db7(0x170)](_0x4f0db7(0x189),()=>{const _0xc023d4=_0x4f0db7;this[_0xc023d4(0x16f)](_0xc023d4(0x189));});}[_0x248d1f(0x166)](){const _0x44ce35=_0x248d1f;this[_0x44ce35(0x181)]['on'](_0x44ce35(0x17c),()=>{const _0x8a978c=_0x44ce35;this[_0x8a978c(0x16f)](_0x8a978c(0x17c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b04ac=_0xc389;(function(_0x2aef43,_0xd52036){const _0x6244d5=_0xc389,_0x504d95=_0x2aef43();while(!![]){try{const _0xeb8283=parseInt(_0x6244d5(0x1a2))/0x1*(-parseInt(_0x6244d5(0x1b5))/0x2)+parseInt(_0x6244d5(0x1a8))/0x3+-parseInt(_0x6244d5(0x1a0))/0x4*(-parseInt(_0x6244d5(0x1b8))/0x5)+-parseInt(_0x6244d5(0x1b0))/0x6+parseInt(_0x6244d5(0x19d))/0x7+parseInt(_0x6244d5(0x19b))/0x8+parseInt(_0x6244d5(0x19a))/0x9;if(_0xeb8283===_0xd52036)break;else _0x504d95['push'](_0x504d95['shift']());}catch(_0x30e30e){_0x504d95['push'](_0x504d95['shift']());}}}(_0x3cf7,0x1c021));import{Command as _0x356434}from'ckeditor5/src/core.js';import{Dialog as _0x55fe77}from'ckeditor5/src/ui.js';function _0xc389(_0x29ae41,_0x511b56){const _0x3cf75d=_0x3cf7();return _0xc389=function(_0xc3893a,_0x3b1038){_0xc3893a=_0xc3893a-0x19a;let _0x48ab4a=_0x3cf75d[_0xc3893a];return _0x48ab4a;},_0xc389(_0x29ae41,_0x511b56);}import{UploadcareImageEditController as _0x2e030e}from'./ui/uploadcareimageeditcontroller.js';function _0x3cf7(){const _0x286540=['element','20945EyoWkR','924759VTqYkw','19944oqfJaG','set','1417101virdgT','imageBlock','selection','100UbOmNb','document','9298fIwcyQ','isEnabled','unbind','refresh','requires','uploadcare.allowExternalImagesEditing','588paijHd','plugins','_isEditable','imageEditController','getSelectedElement','config','editor','model','1285230KLalbf','get','bind','imageInline','isActive','18VKosZh','execute'];_0x3cf7=function(){return _0x286540;};return _0x3cf7();}import{createEditabilityChecker as _0x5310a6}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x356434{[_0x5b04ac(0x1ab)];static get[_0x5b04ac(0x1a6)](){return[_0x55fe77];}[_0x5b04ac(0x1aa)];constructor(_0x16a848){const _0xa93cfb=_0x5b04ac;super(_0x16a848),this[_0xa93cfb(0x1ab)]=void 0x0,this[_0xa93cfb(0x1aa)]=_0x5310a6(_0x16a848[_0xa93cfb(0x1ad)][_0xa93cfb(0x1b1)](_0xa93cfb(0x1a7))||[]),this[_0xa93cfb(0x19c)]({'isActive':!0x1});}[_0x5b04ac(0x1a5)](){const _0x4e93d7=_0x5b04ac,_0x36c93b=this[_0x4e93d7(0x1ae)][_0x4e93d7(0x1af)][_0x4e93d7(0x1a1)][_0x4e93d7(0x19f)][_0x4e93d7(0x1ac)]();this[_0x4e93d7(0x1a3)]=this[_0x4e93d7(0x1aa)](_0x36c93b);}[_0x5b04ac(0x1b6)](){const _0x502bbc=_0x5b04ac;this[_0x502bbc(0x1ab)]&&(this[_0x502bbc(0x1a4)](_0x502bbc(0x1b4)),this[_0x502bbc(0x1ab)]=void 0x0);const _0x5b4cea=this[_0x502bbc(0x1ae)][_0x502bbc(0x1af)][_0x502bbc(0x1a1)][_0x502bbc(0x19f)][_0x502bbc(0x1ac)]();_0x5b4cea&&(_0x5b4cea['is'](_0x502bbc(0x1b7),_0x502bbc(0x19e))||_0x5b4cea['is'](_0x502bbc(0x1b7),_0x502bbc(0x1b3)))&&(this[_0x502bbc(0x1ab)]=new _0x2e030e(this[_0x502bbc(0x1ae)],this[_0x502bbc(0x1ae)][_0x502bbc(0x1a9)][_0x502bbc(0x1b1)](_0x55fe77),_0x5b4cea),this[_0x502bbc(0x1b2)](_0x502bbc(0x1b4))['to'](this[_0x502bbc(0x1ab)],_0x502bbc(0x1b4)));}}
23
+ const _0x2f175a=_0x1773;(function(_0x37386c,_0x5a5069){const _0x2226e2=_0x1773,_0x34f62f=_0x37386c();while(!![]){try{const _0x3cea20=-parseInt(_0x2226e2(0x9a))/0x1*(-parseInt(_0x2226e2(0xa2))/0x2)+parseInt(_0x2226e2(0x98))/0x3*(-parseInt(_0x2226e2(0x9f))/0x4)+-parseInt(_0x2226e2(0x97))/0x5*(parseInt(_0x2226e2(0xa7))/0x6)+-parseInt(_0x2226e2(0x9b))/0x7*(-parseInt(_0x2226e2(0xa3))/0x8)+-parseInt(_0x2226e2(0x8a))/0x9+parseInt(_0x2226e2(0xa0))/0xa+parseInt(_0x2226e2(0x96))/0xb;if(_0x3cea20===_0x5a5069)break;else _0x34f62f['push'](_0x34f62f['shift']());}catch(_0x37d2e6){_0x34f62f['push'](_0x34f62f['shift']());}}}(_0x26c3,0xdeb76));import{Command as _0x13c991}from'ckeditor5/src/core.js';import{Dialog as _0x3d45d0}from'ckeditor5/src/ui.js';function _0x26c3(){const _0x1d602a=['isEnabled','plugins','execute','isActive','selection','32680120eNaxYt','443545MniexW','4023483qEiHBF','uploadcare.allowExternalImagesEditing','96905DElsNk','71666DgMBaM','element','set','bind','4qMIaZb','3101340fxyLlO','config','4mKsfIr','800teqNMG','imageInline','requires','model','84jhxcSe','getSelectedElement','document','editor','9029979WogPpr','unbind','get','_isEditable','refresh','imageBlock','imageEditController'];_0x26c3=function(){return _0x1d602a;};return _0x26c3();}import{UploadcareImageEditController as _0x2ebeca}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x387d90}from'../utils/editingutils.js';function _0x1773(_0x1cb071,_0x127464){const _0x26c3e2=_0x26c3();return _0x1773=function(_0x1773fb,_0x6bad90){_0x1773fb=_0x1773fb-0x87;let _0x20a822=_0x26c3e2[_0x1773fb];return _0x20a822;},_0x1773(_0x1cb071,_0x127464);}export class UploadcareImageEditCommand extends _0x13c991{[_0x2f175a(0x90)];static get[_0x2f175a(0xa5)](){return[_0x3d45d0];}[_0x2f175a(0x8d)];constructor(_0x5bc4f6){const _0x57bfc1=_0x2f175a;super(_0x5bc4f6),this[_0x57bfc1(0x90)]=void 0x0,this[_0x57bfc1(0x8d)]=_0x387d90(_0x5bc4f6[_0x57bfc1(0xa1)][_0x57bfc1(0x8c)](_0x57bfc1(0x99))||[]),this[_0x57bfc1(0x9d)]({'isActive':!0x1});}[_0x2f175a(0x8e)](){const _0x3a54f4=_0x2f175a,_0x401181=this[_0x3a54f4(0x89)][_0x3a54f4(0xa6)][_0x3a54f4(0x88)][_0x3a54f4(0x95)][_0x3a54f4(0x87)]();this[_0x3a54f4(0x91)]=this[_0x3a54f4(0x8d)](_0x401181);}[_0x2f175a(0x93)](){const _0x43f624=_0x2f175a;this[_0x43f624(0x90)]&&(this[_0x43f624(0x8b)](_0x43f624(0x94)),this[_0x43f624(0x90)]=void 0x0);const _0xb4daee=this[_0x43f624(0x89)][_0x43f624(0xa6)][_0x43f624(0x88)][_0x43f624(0x95)][_0x43f624(0x87)]();_0xb4daee&&(_0xb4daee['is'](_0x43f624(0x9c),_0x43f624(0x8f))||_0xb4daee['is'](_0x43f624(0x9c),_0x43f624(0xa4)))&&(this[_0x43f624(0x90)]=new _0x2ebeca(this[_0x43f624(0x89)],this[_0x43f624(0x89)][_0x43f624(0x92)][_0x43f624(0x8c)](_0x3d45d0),_0xb4daee),this[_0x43f624(0x9e)](_0x43f624(0x94))['to'](this[_0x43f624(0x90)],_0x43f624(0x94)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f50c1=_0xef26;(function(_0xdacb22,_0x343f32){const _0x49fd52=_0xef26,_0x4c43dd=_0xdacb22();while(!![]){try{const _0x58772e=-parseInt(_0x49fd52(0x86))/0x1+-parseInt(_0x49fd52(0x89))/0x2*(parseInt(_0x49fd52(0x8d))/0x3)+parseInt(_0x49fd52(0x8a))/0x4+parseInt(_0x49fd52(0x93))/0x5+-parseInt(_0x49fd52(0x8f))/0x6*(-parseInt(_0x49fd52(0x87))/0x7)+parseInt(_0x49fd52(0x83))/0x8*(parseInt(_0x49fd52(0x8c))/0x9)+-parseInt(_0x49fd52(0x80))/0xa*(parseInt(_0x49fd52(0x81))/0xb);if(_0x58772e===_0x343f32)break;else _0x4c43dd['push'](_0x4c43dd['shift']());}catch(_0x3cd4a4){_0x4c43dd['push'](_0x4c43dd['shift']());}}}(_0x3ae2,0xefd91));function _0x3ae2(){const _0x5ccdcd=['uploadcareImageReplace','2XCEjzM','4348144dTSnJv','ImageEditing','261OMeasr','2956275sWTwdY','requires','6HGmEaz','uploadcareImageEdit','UploadcareImageEditEditing','isPremiumPlugin','4845930FKhDeF','isOfficialPlugin','add','pluginName','20gZnvRp','1099109Wkryzl','init','296024UMqiTj','ImageUtils','commands','1216822xQqNPs','1786351OasloQ'];_0x3ae2=function(){return _0x5ccdcd;};return _0x3ae2();}import{Plugin as _0x2c9a6a}from'ckeditor5/src/core.js';function _0xef26(_0x1fc638,_0x28643a){const _0x3ae2f1=_0x3ae2();return _0xef26=function(_0xef265c,_0x1c4258){_0xef265c=_0xef265c-0x80;let _0x232ca5=_0x3ae2f1[_0xef265c];return _0x232ca5;},_0xef26(_0x1fc638,_0x28643a);}import{Notification as _0x58a939}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x162e5b}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2a8788}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x932ae3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2c9a6a{static get[_0x4f50c1(0x96)](){const _0x16eb09=_0x4f50c1;return _0x16eb09(0x91);}static get[_0x4f50c1(0x8e)](){const _0x12d3c8=_0x4f50c1;return[_0x932ae3,_0x58a939,_0x12d3c8(0x84),_0x12d3c8(0x8b)];}static get[_0x4f50c1(0x94)](){return!0x0;}static get[_0x4f50c1(0x92)](){return!0x0;}[_0x4f50c1(0x82)](){const _0x4935a3=_0x4f50c1,{editor:_0x2daaf6}=this;_0x2daaf6[_0x4935a3(0x85)][_0x4935a3(0x95)](_0x4935a3(0x90),new _0x162e5b(_0x2daaf6)),_0x2daaf6[_0x4935a3(0x85)][_0x4935a3(0x95)](_0x4935a3(0x88),new _0x2a8788(_0x2daaf6));}}
23
+ const _0x4b5c5a=_0x64c3;function _0x3753(){const _0xe1d832=['uploadcareImageReplace','isOfficialPlugin','requires','UploadcareImageEditEditing','147970ElvwrK','22EJOuQh','13453tlWdxq','ImageUtils','ImageEditing','168288VUQEyA','add','pluginName','isPremiumPlugin','74080xzTIyG','init','commands','1507833EQHWjQ','1245024kRixYL','2232874KkPkMx','30dbVXZq','32LHkDyJ','1045wtdeGX','uploadcareImageEdit'];_0x3753=function(){return _0xe1d832;};return _0x3753();}(function(_0x26771d,_0x332e02){const _0x3675d3=_0x64c3,_0x26d1c7=_0x26771d();while(!![]){try{const _0x3167f6=parseInt(_0x3675d3(0x7d))/0x1*(-parseInt(_0x3675d3(0x7c))/0x2)+parseInt(_0x3675d3(0x88))/0x3+-parseInt(_0x3675d3(0x84))/0x4+parseInt(_0x3675d3(0x73))/0x5*(-parseInt(_0x3675d3(0x80))/0x6)+-parseInt(_0x3675d3(0x72))/0x7+parseInt(_0x3675d3(0x74))/0x8*(-parseInt(_0x3675d3(0x87))/0x9)+parseInt(_0x3675d3(0x7b))/0xa*(parseInt(_0x3675d3(0x75))/0xb);if(_0x3167f6===_0x332e02)break;else _0x26d1c7['push'](_0x26d1c7['shift']());}catch(_0x10a17b){_0x26d1c7['push'](_0x26d1c7['shift']());}}}(_0x3753,0x794a2));import{Plugin as _0x3afdc0}from'ckeditor5/src/core.js';function _0x64c3(_0x2a9580,_0x8a5dfa){const _0x3753af=_0x3753();return _0x64c3=function(_0x64c3e8,_0x134d96){_0x64c3e8=_0x64c3e8-0x72;let _0x26d643=_0x3753af[_0x64c3e8];return _0x26d643;},_0x64c3(_0x2a9580,_0x8a5dfa);}import{Notification as _0x4981e4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x109eb3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4899ae}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x474dff}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3afdc0{static get[_0x4b5c5a(0x82)](){const _0x2c3c79=_0x4b5c5a;return _0x2c3c79(0x7a);}static get[_0x4b5c5a(0x79)](){const _0x2df7e7=_0x4b5c5a;return[_0x474dff,_0x4981e4,_0x2df7e7(0x7e),_0x2df7e7(0x7f)];}static get[_0x4b5c5a(0x78)](){return!0x0;}static get[_0x4b5c5a(0x83)](){return!0x0;}[_0x4b5c5a(0x85)](){const _0x16af88=_0x4b5c5a,{editor:_0x15be92}=this;_0x15be92[_0x16af88(0x86)][_0x16af88(0x81)](_0x16af88(0x76),new _0x109eb3(_0x15be92)),_0x15be92[_0x16af88(0x86)][_0x16af88(0x81)](_0x16af88(0x77),new _0x4899ae(_0x15be92));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x39001a}from'ckeditor5/src/core.js';import{ButtonView as _0x22dbe7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15e562}from'ckeditor5/src/icons.js';import{createElement as _0x7f99e4}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 _0x39001a{['_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 _0x2f6af7=this['editor'];_0x2f6af7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d2499=>{const _0x55390e=_0x2f6af7['commands']['get']('uploadcareImageEdit'),_0x387884=new _0x22dbe7(_0x4d2499),t=_0x4d2499['t'];return _0x387884['set']({'icon':_0x15e562,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x387884['bind']('isEnabled')['to'](_0x55390e),_0x387884['bind']('isOn')['to'](_0x55390e,'isActive'),this['listenTo'](_0x387884,'execute',()=>{_0x2f6af7['execute']('uploadcareImageEdit'),_0x2f6af7['editing']['view']['focus']();}),_0x387884;}),this['_initConfig']();}['_initConfig'](){const _0x1c470a=_0x7f99e4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1c470a),this['listenTo'](this['editor'],'destroy',()=>{_0x1c470a['remove']();});}}
23
+ import{Plugin as _0x537106}from'ckeditor5/src/core.js';import{ButtonView as _0xf4a7bd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d1612}from'ckeditor5/src/icons.js';import{createElement as _0x3e2038}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 _0x537106{['_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 _0x1505b4=this['editor'];_0x1505b4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34ef29=>{const _0x36d8b6=_0x1505b4['commands']['get']('uploadcareImageEdit'),_0x341569=new _0xf4a7bd(_0x34ef29),t=_0x34ef29['t'];return _0x341569['set']({'icon':_0x4d1612,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x341569['bind']('isEnabled')['to'](_0x36d8b6),_0x341569['bind']('isOn')['to'](_0x36d8b6,'isActive'),this['listenTo'](_0x341569,'execute',()=>{_0x1505b4['execute']('uploadcareImageEdit'),_0x1505b4['editing']['view']['focus']();}),_0x341569;}),this['_initConfig']();}['_initConfig'](){const _0xf707bc=_0x3e2038(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf707bc),this['listenTo'](this['editor'],'destroy',()=>{_0xf707bc['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x332f(){var _0x1f1e29=['48uVmzBJ','focusCycler','1550605KezcHi','190656KxDOOM','2QHdSHc','173923dCqGQZ','div','getFocusableElement','forwardCycle','8jwvUst','20765ThMorr','bindTemplate','createCollection','442580oHCRVX','fire','true','2727cdrLZq','focusTracker','1761246XDCICT'];_0x332f=function(){return _0x1f1e29;};return _0x332f();}var _0x2ac150=_0x230f;(function(_0x29c830,_0x160e48){var _0x2d5056=_0x230f,_0x47f1e6=_0x29c830();while(!![]){try{var _0x30edf8=-parseInt(_0x2d5056(0x1ae))/0x1*(-parseInt(_0x2d5056(0x1ad))/0x2)+parseInt(_0x2d5056(0x1b9))/0x3+parseInt(_0x2d5056(0x1a9))/0x4*(-parseInt(_0x2d5056(0x1b3))/0x5)+parseInt(_0x2d5056(0x1ac))/0x6+parseInt(_0x2d5056(0x1ab))/0x7+parseInt(_0x2d5056(0x1b2))/0x8*(-parseInt(_0x2d5056(0x1a8))/0x9)+parseInt(_0x2d5056(0x1b6))/0xa;if(_0x30edf8===_0x160e48)break;else _0x47f1e6['push'](_0x47f1e6['shift']());}catch(_0x3a86b4){_0x47f1e6['push'](_0x47f1e6['shift']());}}}(_0x332f,0x37623));import{FocusTracker as _0x1cdf70}from'ckeditor5/src/utils.js';import{View as _0x5110c7,FocusCycler as _0x122dc8}from'ckeditor5/src/ui.js';function _0x230f(_0x416fb5,_0x3eb9f8){var _0x332fa0=_0x332f();return _0x230f=function(_0x230f35,_0x5a4eb4){_0x230f35=_0x230f35-0x1a8;var _0x4ecc3c=_0x332fa0[_0x230f35];return _0x4ecc3c;},_0x230f(_0x416fb5,_0x3eb9f8);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5110c7{[_0x2ac150(0x1ba)];[_0x2ac150(0x1aa)];constructor(_0x524e94){var _0x4d14d6=_0x2ac150;super(_0x524e94),this[_0x4d14d6(0x1ba)]=new _0x1cdf70(),this[_0x4d14d6(0x1aa)]=new _0x122dc8({'focusables':this[_0x4d14d6(0x1b5)](),'focusTracker':this[_0x4d14d6(0x1ba)]});}[_0x2ac150(0x1b0)](){var _0x218fea=_0x2ac150;return{'tag':_0x218fea(0x1af),'attributes':{'aria-hidden':_0x218fea(0x1b8),'tabindex':'0'},'on':{'focus':this[_0x218fea(0x1b4)]['to'](()=>{var _0x2e6765=_0x218fea;this[_0x2e6765(0x1aa)][_0x2e6765(0x1b7)](_0x2e6765(0x1b1));})}};}}
23
+ var _0x58af82=_0x5066;(function(_0x397c52,_0x45ddd6){var _0x49d455=_0x5066,_0x382ecf=_0x397c52();while(!![]){try{var _0x387181=-parseInt(_0x49d455(0xdf))/0x1*(parseInt(_0x49d455(0xe1))/0x2)+-parseInt(_0x49d455(0xd9))/0x3+parseInt(_0x49d455(0xe4))/0x4+-parseInt(_0x49d455(0xd7))/0x5*(-parseInt(_0x49d455(0xd4))/0x6)+parseInt(_0x49d455(0xe3))/0x7*(parseInt(_0x49d455(0xda))/0x8)+-parseInt(_0x49d455(0xd6))/0x9*(parseInt(_0x49d455(0xdc))/0xa)+parseInt(_0x49d455(0xd2))/0xb;if(_0x387181===_0x45ddd6)break;else _0x382ecf['push'](_0x382ecf['shift']());}catch(_0x495d8d){_0x382ecf['push'](_0x382ecf['shift']());}}}(_0x4d69,0x58c00));import{FocusTracker as _0x10dc9b}from'ckeditor5/src/utils.js';import{View as _0x3fc517,FocusCycler as _0x123ae9}from'ckeditor5/src/ui.js';function _0x5066(_0x4f2eb9,_0x68c22f){var _0x4d6983=_0x4d69();return _0x5066=function(_0x5066fb,_0x1713bc){_0x5066fb=_0x5066fb-0xd2;var _0x3f2c0c=_0x4d6983[_0x5066fb];return _0x3f2c0c;},_0x5066(_0x4f2eb9,_0x68c22f);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3fc517{[_0x58af82(0xe2)];[_0x58af82(0xe0)];constructor(_0x14786b){var _0xe95059=_0x58af82;super(_0x14786b),this[_0xe95059(0xe2)]=new _0x10dc9b(),this[_0xe95059(0xe0)]=new _0x123ae9({'focusables':this[_0xe95059(0xd8)](),'focusTracker':this[_0xe95059(0xe2)]});}[_0x58af82(0xde)](){var _0x2990e8=_0x58af82;return{'tag':_0x2990e8(0xdd),'attributes':{'aria-hidden':_0x2990e8(0xd3),'tabindex':'0'},'on':{'focus':this[_0x2990e8(0xd5)]['to'](()=>{var _0x3672fa=_0x2990e8;this[_0x3672fa(0xe0)][_0x3672fa(0xe5)](_0x3672fa(0xdb));})}};}}function _0x4d69(){var _0x2afb38=['444916kDDAAE','fire','7578175yTNFZh','true','6IReBPa','bindTemplate','6093UsTOPm','2006555sqivMb','createCollection','2043738MyXFLz','115120vyazOa','forwardCycle','1480AteVTk','div','getFocusableElement','1SDEEqf','focusCycler','1321766TNBNlV','focusTracker','294dONhAV'];_0x4d69=function(){return _0x2afb38;};return _0x4d69();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x325ff1,_0x45c94e){const _0x387fae=_0x3781,_0x4dbdd3=_0x325ff1();while(!![]){try{const _0x4837af=parseInt(_0x387fae(0xa0))/0x1*(parseInt(_0x387fae(0x73))/0x2)+-parseInt(_0x387fae(0x76))/0x3*(-parseInt(_0x387fae(0x8d))/0x4)+parseInt(_0x387fae(0x7a))/0x5*(-parseInt(_0x387fae(0x84))/0x6)+-parseInt(_0x387fae(0x8b))/0x7+parseInt(_0x387fae(0x71))/0x8+parseInt(_0x387fae(0x7f))/0x9+parseInt(_0x387fae(0x72))/0xa*(parseInt(_0x387fae(0x9b))/0xb);if(_0x4837af===_0x45c94e)break;else _0x4dbdd3['push'](_0x4dbdd3['shift']());}catch(_0x506321){_0x4dbdd3['push'](_0x4dbdd3['shift']());}}}(_0x45d5,0x3f147));import{global as _0x1fd5eb,DomEmitterMixin as _0x257030}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x245464){const _0x438ca9=_0x3781,_0x5f43a7=z(_0x245464);return _0xef831c=>!(!_0xef831c||!_0xef831c['is'](_0x438ca9(0x9e),_0x438ca9(0x90))&&!_0xef831c['is'](_0x438ca9(0x9e),_0x438ca9(0x7e)))&&(!!_0xef831c[_0x438ca9(0x96)](_0x438ca9(0xa5))||!!_0xef831c[_0x438ca9(0x96)](_0x438ca9(0x93))&&_0x5f43a7(_0xef831c[_0x438ca9(0x8f)](_0x438ca9(0x93))));}function _0x3781(_0xfb4397,_0x360631){const _0x45d563=_0x45d5();return _0x3781=function(_0x3781d1,_0x43463c){_0x3781d1=_0x3781d1-0x6d;let _0x1a1ad1=_0x45d563[_0x3781d1];return _0x1a1ad1;},_0x3781(_0xfb4397,_0x360631);}function _0x45d5(){const _0x5870ce=['some','get','removeStyle','window','11OKWdhJ','isArray','view','element','mapper','36ysnKzz','image-processing','findViewImgElement','ImageUtils','removeClass','uploadcareImageId','height','origin','(max-width:\x20','/-/resize/','image/webp','1028640RYRMJg','5281670LzZMgW','5696aINHUM','addClass','filter','56559MlXtJZ','location','stopListening','x/\x20','1381005soIuUo','viewToDom','function','domConverter','imageInline','1583577csrKmc','aspect-ratio','listenTo','plugins','match','6RmePiC','baseURI','px)\x20100vw,\x20','replace','document','toViewElement','join','2936535GfZiGc','width','4RDItpP','change','getAttribute','imageBlock','editing','load','src','setStyle','map','hasAttribute'];_0x45d5=function(){return _0x5870ce;};return _0x45d5();}export function getImageUrls(_0x47ae54,_0x425195){const _0x5ad9a0=_0x3781,_0x3a0958=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5ad9a0(0x75)](_0x1731f1=>_0x1731f1<=_0x425195)[_0x5ad9a0(0x95)](_0x509823=>_0x47ae54[_0x5ad9a0(0x87)](/\/$/,'')+_0x5ad9a0(0x6f)+_0x509823+_0x5ad9a0(0x79)+_0x509823+'w');return{'imageFallbackUrl':_0x47ae54,'imageSources':[{'srcset':_0x3a0958[_0x5ad9a0(0x8a)](',\x20'),'sizes':_0x5ad9a0(0x6e)+_0x425195+_0x5ad9a0(0x86)+_0x425195+'px','type':_0x5ad9a0(0x70)}]};}export function getImageDimension(_0x263fe6,_0x547180,_0x521933){const _0xe1c1a4=_0x3781,_0x1eb4c2=_0x263fe6[_0xe1c1a4(0x83)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1eb4c2?parseInt(_0x1eb4c2[0x1],0xa):_0x547180,'height':_0x1eb4c2?parseInt(_0x1eb4c2[0x2],0xa):_0x521933};}export function showImageProcessingIndicator(_0x570ae5,_0x55d591){const _0x40b846=_0x3781,_0x54d585=new(_0x257030())(),_0xac1f7d=_0x570ae5[_0x40b846(0x82)][_0x40b846(0x98)](_0x40b846(0xa3)),_0x47c509=_0x570ae5[_0x40b846(0x91)][_0x40b846(0x9f)][_0x40b846(0x89)](_0x55d591),_0x330106=_0xac1f7d[_0x40b846(0xa2)](_0x47c509),_0x589624=_0x570ae5[_0x40b846(0x91)][_0x40b846(0x9d)][_0x40b846(0x7d)][_0x40b846(0x7b)](_0x330106),_0xae8a2=_0x55d591[_0x40b846(0x8f)](_0x40b846(0x8c)),_0x39bf29=_0x55d591[_0x40b846(0x8f)](_0x40b846(0xa6)),_0x106447=_0x40b846(0xa1);_0x570ae5[_0x40b846(0x91)][_0x40b846(0x9d)][_0x40b846(0x8e)](_0x3404de=>{const _0x346c10=_0x40b846;_0x3404de[_0x346c10(0x74)](_0x106447,_0x47c509),_0x3404de[_0x346c10(0x94)](_0x346c10(0x80),_0xae8a2+'/'+_0x39bf29,_0x330106);}),_0x54d585[_0x40b846(0x81)](_0x589624,_0x40b846(0x92),()=>{const _0x1c86d3=_0x40b846;_0x54d585[_0x1c86d3(0x78)](_0x589624,_0x1c86d3(0x92)),_0x570ae5[_0x1c86d3(0x91)][_0x1c86d3(0x9d)][_0x1c86d3(0x8e)](_0x198cfc=>{const _0x1066c4=_0x1c86d3;_0x198cfc[_0x1066c4(0xa4)](_0x106447,_0x47c509),_0x198cfc[_0x1066c4(0x99)](_0x1066c4(0x80),_0x330106);});});}function z(_0x44e8fc){const _0x1a5cd6=_0x3781;if(Array[_0x1a5cd6(0x9c)](_0x44e8fc)){const _0x1e53da=_0x44e8fc[_0x1a5cd6(0x95)](z);return _0x1d274d=>_0x1e53da[_0x1a5cd6(0x97)](_0x2735f9=>_0x2735f9(_0x1d274d));}if(_0x1a5cd6(0x6d)==_0x44e8fc){const _0x2f919e=_0x1fd5eb[_0x1a5cd6(0x9a)][_0x1a5cd6(0x77)][_0x1a5cd6(0x6d)];return _0x1e9680=>new URL(_0x1e9680,_0x1fd5eb[_0x1a5cd6(0x88)][_0x1a5cd6(0x85)])[_0x1a5cd6(0x6d)]==_0x2f919e;}return _0x1a5cd6(0x7c)==typeof _0x44e8fc?_0x44e8fc:_0x44e8fc instanceof RegExp?_0x2b6a9c=>!(!_0x2b6a9c[_0x1a5cd6(0x83)](_0x44e8fc)&&!_0x2b6a9c[_0x1a5cd6(0x87)](/^https?:\/\//,'')[_0x1a5cd6(0x83)](_0x44e8fc)):()=>!0x1;}
23
+ function _0x186a(){const _0x5e6632=['findViewImgElement','addClass','replace','mapper','match','1170390vRpZQs','ImageUtils','src','origin','px)\x20100vw,\x20','848312cRozLX','imageInline','listenTo','uploadcareImageId','get','image-processing','domConverter','(max-width:\x20','some','viewToDom','plugins','view','30EKxMfE','aspect-ratio','248297irPcqL','join','144588wLvoCa','toViewElement','78SQYXDi','imageBlock','removeClass','window','2688824OcBrKQ','image/webp','x/\x20','map','stopListening','990664SBgXRG','change','document','element','setStyle','baseURI','editing','getAttribute','load','isArray','width','location','942106aqcNpG','height','hasAttribute','removeStyle','filter','150kWuHwy','function','/-/resize/','9WYXUog'];_0x186a=function(){return _0x5e6632;};return _0x186a();}(function(_0x3a263d,_0x125ac5){const _0x376696=_0xccfa,_0x19b36b=_0x3a263d();while(!![]){try{const _0x48526d=parseInt(_0x376696(0xd1))/0x1+-parseInt(_0x376696(0xd7))/0x2+-parseInt(_0x376696(0xbc))/0x3+-parseInt(_0x376696(0xdc))/0x4*(-parseInt(_0x376696(0xcd))/0x5)+parseInt(_0x376696(0xd3))/0x6*(-parseInt(_0x376696(0xcf))/0x7)+-parseInt(_0x376696(0xc1))/0x8*(-parseInt(_0x376696(0xf0))/0x9)+parseInt(_0x376696(0xed))/0xa*(parseInt(_0x376696(0xe8))/0xb);if(_0x48526d===_0x125ac5)break;else _0x19b36b['push'](_0x19b36b['shift']());}catch(_0x2e866a){_0x19b36b['push'](_0x19b36b['shift']());}}}(_0x186a,0xc9930));import{global as _0x205fa3,DomEmitterMixin as _0x3eb869}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5d0430){const _0x1c443f=_0xccfa,_0x515ff4=G(_0x5d0430);return _0x5b9d6b=>!(!_0x5b9d6b||!_0x5b9d6b['is'](_0x1c443f(0xdf),_0x1c443f(0xd4))&&!_0x5b9d6b['is'](_0x1c443f(0xdf),_0x1c443f(0xc2)))&&(!!_0x5b9d6b[_0x1c443f(0xea)](_0x1c443f(0xc4))||!!_0x5b9d6b[_0x1c443f(0xea)](_0x1c443f(0xbe))&&_0x515ff4(_0x5b9d6b[_0x1c443f(0xe3)](_0x1c443f(0xbe))));}export function getImageUrls(_0x47b362,_0x1d33c5){const _0x13a850=_0xccfa,_0x472979=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x13a850(0xec)](_0x4a0ebf=>_0x4a0ebf<=_0x1d33c5)[_0x13a850(0xda)](_0x5d93d8=>_0x47b362[_0x13a850(0xf3)](/\/$/,'')+_0x13a850(0xef)+_0x5d93d8+_0x13a850(0xd9)+_0x5d93d8+'w');return{'imageFallbackUrl':_0x47b362,'imageSources':[{'srcset':_0x472979[_0x13a850(0xd0)](',\x20'),'sizes':_0x13a850(0xc8)+_0x1d33c5+_0x13a850(0xc0)+_0x1d33c5+'px','type':_0x13a850(0xd8)}]};}function _0xccfa(_0x35dcf2,_0x51c89d){const _0x186ac5=_0x186a();return _0xccfa=function(_0xccfa9,_0x56b241){_0xccfa9=_0xccfa9-0xbb;let _0x1b3d44=_0x186ac5[_0xccfa9];return _0x1b3d44;},_0xccfa(_0x35dcf2,_0x51c89d);}export function getImageDimension(_0x1173ba,_0x248b61,_0xb79900){const _0x482782=_0xccfa,_0x37a928=_0x1173ba[_0x482782(0xbb)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x37a928?parseInt(_0x37a928[0x1],0xa):_0x248b61,'height':_0x37a928?parseInt(_0x37a928[0x2],0xa):_0xb79900};}export function showImageProcessingIndicator(_0x38deed,_0x1295ef){const _0x5bbad8=_0xccfa,_0x88fcc5=new(_0x3eb869())(),_0x37eec5=_0x38deed[_0x5bbad8(0xcb)][_0x5bbad8(0xc5)](_0x5bbad8(0xbd)),_0x53d3f5=_0x38deed[_0x5bbad8(0xe2)][_0x5bbad8(0xf4)][_0x5bbad8(0xd2)](_0x1295ef),_0x20ce9d=_0x37eec5[_0x5bbad8(0xf1)](_0x53d3f5),_0x5977e6=_0x38deed[_0x5bbad8(0xe2)][_0x5bbad8(0xcc)][_0x5bbad8(0xc7)][_0x5bbad8(0xca)](_0x20ce9d),_0xdf6405=_0x1295ef[_0x5bbad8(0xe3)](_0x5bbad8(0xe6)),_0x38c47b=_0x1295ef[_0x5bbad8(0xe3)](_0x5bbad8(0xe9)),_0xcf84fb=_0x5bbad8(0xc6);_0x38deed[_0x5bbad8(0xe2)][_0x5bbad8(0xcc)][_0x5bbad8(0xdd)](_0x509436=>{const _0x2a8338=_0x5bbad8;_0x509436[_0x2a8338(0xf2)](_0xcf84fb,_0x53d3f5),_0x509436[_0x2a8338(0xe0)](_0x2a8338(0xce),_0xdf6405+'/'+_0x38c47b,_0x20ce9d);}),_0x88fcc5[_0x5bbad8(0xc3)](_0x5977e6,_0x5bbad8(0xe4),()=>{const _0x20eec0=_0x5bbad8;_0x88fcc5[_0x20eec0(0xdb)](_0x5977e6,_0x20eec0(0xe4)),_0x38deed[_0x20eec0(0xe2)][_0x20eec0(0xcc)][_0x20eec0(0xdd)](_0x344f33=>{const _0x4454bb=_0x20eec0;_0x344f33[_0x4454bb(0xd5)](_0xcf84fb,_0x53d3f5),_0x344f33[_0x4454bb(0xeb)](_0x4454bb(0xce),_0x20ce9d);});});}function G(_0xef9fbd){const _0x280098=_0xccfa;if(Array[_0x280098(0xe5)](_0xef9fbd)){const _0x4f83eb=_0xef9fbd[_0x280098(0xda)](G);return _0x557ae7=>_0x4f83eb[_0x280098(0xc9)](_0x94c970=>_0x94c970(_0x557ae7));}if(_0x280098(0xbf)==_0xef9fbd){const _0x3e1c98=_0x205fa3[_0x280098(0xd6)][_0x280098(0xe7)][_0x280098(0xbf)];return _0x1f9b4b=>new URL(_0x1f9b4b,_0x205fa3[_0x280098(0xde)][_0x280098(0xe1)])[_0x280098(0xbf)]==_0x3e1c98;}return _0x280098(0xee)==typeof _0xef9fbd?_0xef9fbd:_0xef9fbd instanceof RegExp?_0x188f5b=>!(!_0x188f5b[_0x280098(0xbb)](_0xef9fbd)&&!_0x188f5b[_0x280098(0xf3)](/^https?:\/\//,'')[_0x280098(0xbb)](_0xef9fbd)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x483bd9,_0x361a0b){var _0xe17763=_0x5c1f,_0x1a5631=_0x483bd9();while(!![]){try{var _0x1d18b5=-parseInt(_0xe17763(0xf0))/0x1+parseInt(_0xe17763(0xfb))/0x2*(-parseInt(_0xe17763(0xef))/0x3)+-parseInt(_0xe17763(0xf9))/0x4+-parseInt(_0xe17763(0xf3))/0x5*(-parseInt(_0xe17763(0xf6))/0x6)+parseInt(_0xe17763(0xf2))/0x7*(parseInt(_0xe17763(0xf8))/0x8)+parseInt(_0xe17763(0xf1))/0x9*(-parseInt(_0xe17763(0xfa))/0xa)+parseInt(_0xe17763(0xf5))/0xb;if(_0x1d18b5===_0x361a0b)break;else _0x1a5631['push'](_0x1a5631['shift']());}catch(_0x292bb2){_0x1a5631['push'](_0x1a5631['shift']());}}}(_0x5c70,0xabbf6));import{getAncestors as _0x5ae31f}from'ckeditor5/src/utils.js';export function isAncestor(_0x42c388,_0x331114){var _0x2245a2=_0x5c1f;return _0x5ae31f(_0x42c388[_0x2245a2(0xf4)])[_0x2245a2(0xf7)](_0x331114);}function _0x5c1f(_0xe8fdac,_0x4625bd){var _0x5c7039=_0x5c70();return _0x5c1f=function(_0x5c1f38,_0x1b1768){_0x5c1f38=_0x5c1f38-0xef;var _0x92e3e=_0x5c7039[_0x5c1f38];return _0x92e3e;},_0x5c1f(_0xe8fdac,_0x4625bd);}function _0x5c70(){var _0x811e83=['2903592dtYEed','70aIkJez','1195646xQagra','6mECShk','1322554IWsgia','709839BKYTYt','7QXEDWM','1806595mFdDJA','target','34943854qiNSRI','18BnaRSF','includes','1912016qFVhdb'];_0x5c70=function(){return _0x811e83;};return _0x5c70();}
23
+ (function(_0x14f264,_0x5003ec){var _0x4c684c=_0x2335,_0x2fcec0=_0x14f264();while(!![]){try{var _0x19fe19=parseInt(_0x4c684c(0x81))/0x1*(-parseInt(_0x4c684c(0x86))/0x2)+parseInt(_0x4c684c(0x8c))/0x3*(-parseInt(_0x4c684c(0x88))/0x4)+-parseInt(_0x4c684c(0x87))/0x5+-parseInt(_0x4c684c(0x8a))/0x6+parseInt(_0x4c684c(0x8b))/0x7*(parseInt(_0x4c684c(0x84))/0x8)+-parseInt(_0x4c684c(0x89))/0x9*(parseInt(_0x4c684c(0x85))/0xa)+-parseInt(_0x4c684c(0x83))/0xb*(-parseInt(_0x4c684c(0x82))/0xc);if(_0x19fe19===_0x5003ec)break;else _0x2fcec0['push'](_0x2fcec0['shift']());}catch(_0x19f2a9){_0x2fcec0['push'](_0x2fcec0['shift']());}}}(_0x19fd,0x19f63));import{getAncestors as _0x30ad21}from'ckeditor5/src/utils.js';function _0x2335(_0x48bac8,_0x3be245){var _0x19fd51=_0x19fd();return _0x2335=function(_0x233591,_0x69e4d5){_0x233591=_0x233591-0x81;var _0x47b363=_0x19fd51[_0x233591];return _0x47b363;},_0x2335(_0x48bac8,_0x3be245);}export function isAncestor(_0x4ca64b,_0x188f12){var _0xadcec9=_0x2335;return _0x30ad21(_0x4ca64b[_0xadcec9(0x8d)])[_0xadcec9(0x8e)](_0x188f12);}function _0x19fd(){var _0x2ed393=['32azuxat','3290ULweEN','62PVHzJf','551840XPZjZu','31292QUctKF','3087uiiJis','1206306scufRZ','209489sZMuGM','75XkmaFG','target','includes','6648acRjXk','121884xDxqci','880PsnYyr'];_0x19fd=function(){return _0x2ed393;};return _0x19fd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ea179=_0xf258;(function(_0x77abeb,_0x101ec3){var _0x410f39=_0xf258,_0x357222=_0x77abeb();while(!![]){try{var _0x4dce3d=-parseInt(_0x410f39(0x1b4))/0x1+-parseInt(_0x410f39(0x1b9))/0x2*(parseInt(_0x410f39(0x1ba))/0x3)+-parseInt(_0x410f39(0x1b3))/0x4+parseInt(_0x410f39(0x1b5))/0x5*(parseInt(_0x410f39(0x1b7))/0x6)+-parseInt(_0x410f39(0x1bd))/0x7*(-parseInt(_0x410f39(0x1b8))/0x8)+parseInt(_0x410f39(0x1bc))/0x9+parseInt(_0x410f39(0x1bf))/0xa*(parseInt(_0x410f39(0x1bb))/0xb);if(_0x4dce3d===_0x101ec3)break;else _0x357222['push'](_0x357222['shift']());}catch(_0x937840){_0x357222['push'](_0x357222['shift']());}}}(_0x418b,0x63c25));function _0xf258(_0x1b6e29,_0x55e7cb){var _0x418b76=_0x418b();return _0xf258=function(_0xf2580e,_0x31ca24){_0xf2580e=_0xf2580e-0x1b3;var _0x26c199=_0x418b76[_0xf2580e];return _0x26c199;},_0xf258(_0x1b6e29,_0x55e7cb);}function _0x418b(){var _0x18a24e=['1976584hVXick','566avlVsl','3075GkYhUe','16285049MXvWWg','1609515vAJIfZ','7ZjMLgR','upload','10nlCSRb','2564424nkusTQ','729313NtQlLF','40685fmbGoQ','getInfo','120ffRyXs'];_0x418b=function(){return _0x18a24e;};return _0x418b();}import{uploadFile as _0x391b2d,info as _0x89c10d}from'@uploadcare/upload-client';export class UploadUtils{static[_0x5ea179(0x1be)]({file:_0x1071e3,..._0xac821f}){return _0x391b2d(_0x1071e3,_0xac821f);}static[_0x5ea179(0x1b6)](_0x24feca,_0x525469){return _0x89c10d(_0x24feca,_0x525469);}}
23
+ var _0x1f2e1f=_0x3686;(function(_0x17da3,_0x56596b){var _0x3da29f=_0x3686,_0x1ee4ca=_0x17da3();while(!![]){try{var _0x367d29=-parseInt(_0x3da29f(0x190))/0x1*(parseInt(_0x3da29f(0x187))/0x2)+parseInt(_0x3da29f(0x18b))/0x3+parseInt(_0x3da29f(0x18a))/0x4+parseInt(_0x3da29f(0x188))/0x5+parseInt(_0x3da29f(0x186))/0x6+parseInt(_0x3da29f(0x189))/0x7*(-parseInt(_0x3da29f(0x18f))/0x8)+parseInt(_0x3da29f(0x18d))/0x9;if(_0x367d29===_0x56596b)break;else _0x1ee4ca['push'](_0x1ee4ca['shift']());}catch(_0x38b236){_0x1ee4ca['push'](_0x1ee4ca['shift']());}}}(_0x302b,0xe16e5));function _0x302b(){var _0x54c294=['3515570aqPYac','7sGPebA','1624808BuZKfm','78558LERocf','getInfo','7600887ZPVKPN','upload','6014104XIWXsX','1dHuGQk','4238988RNfLKH','2022830zsTjMy'];_0x302b=function(){return _0x54c294;};return _0x302b();}function _0x3686(_0x15b3cf,_0x5c1af2){var _0x302b39=_0x302b();return _0x3686=function(_0x3686fe,_0x546ec){_0x3686fe=_0x3686fe-0x186;var _0x31f31c=_0x302b39[_0x3686fe];return _0x31f31c;},_0x3686(_0x15b3cf,_0x5c1af2);}import{uploadFile as _0x566f5e,info as _0x4079e0}from'@uploadcare/upload-client';export class UploadUtils{static[_0x1f2e1f(0x18e)]({file:_0x3c8131,..._0x37609a}){return _0x566f5e(_0x3c8131,_0x37609a);}static[_0x1f2e1f(0x18c)](_0x486a52,_0x4d7e69){return _0x4079e0(_0x486a52,_0x4d7e69);}}