@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.0 → 46.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0xb8e17a,View as _0x31574a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x31574a{constructor(_0x4229af){super(_0x4229af);const t=_0x4229af['t'],_0x4cc466=this['bindTemplate'],_0x48c100=new _0xb8e17a();_0x48c100['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':[_0x48c100,{'text':_0x4cc466['to']('imageUploadProgress',_0x25b1bf=>t('Loading\x20image...')+'\x20('+(_0x25b1bf||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 _0x9e786,View as _0x215e63}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x215e63{constructor(_0x43cfc4){super(_0x43cfc4);const t=_0x43cfc4['t'],_0x3dc3db=this['bindTemplate'],_0x323146=new _0x9e786();_0x323146['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':[_0x323146,{'text':_0x3dc3db['to']('imageUploadProgress',_0x550333=>t('Loading\x20image...')+'\x20('+(_0x550333||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 _0x1fec23=_0x38ec;(function(_0x10acee,_0x2c7f0c){const _0x15f92d=_0x38ec,_0x4ddf61=_0x10acee();while(!![]){try{const _0x36de8e=-parseInt(_0x15f92d(0x179))/0x1+parseInt(_0x15f92d(0x192))/0x2*(-parseInt(_0x15f92d(0x17e))/0x3)+-parseInt(_0x15f92d(0x19b))/0x4*(-parseInt(_0x15f92d(0x194))/0x5)+-parseInt(_0x15f92d(0x176))/0x6+-parseInt(_0x15f92d(0x172))/0x7+parseInt(_0x15f92d(0x17d))/0x8+parseInt(_0x15f92d(0x18d))/0x9;if(_0x36de8e===_0x2c7f0c)break;else _0x4ddf61['push'](_0x4ddf61['shift']());}catch(_0x316fe8){_0x4ddf61['push'](_0x4ddf61['shift']());}}}(_0x4a20,0x87a1b));import{View as _0x3ce3ae}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e27ea}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2abbf9}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x401a36}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3235f6}from'../../utils/dialogfocusmanagerview.js';function _0x38ec(_0x2903e2,_0x3c92db){const _0x4a2009=_0x4a20();return _0x38ec=function(_0x38ec12,_0x2dc78c){_0x38ec12=_0x38ec12-0x16b;let _0x47ab50=_0x4a2009[_0x38ec12];return _0x47ab50;},_0x38ec(_0x2903e2,_0x3c92db);}function _0x4a20(){const _0x69bad1=['1519544gHgSpx','3ahvLLt','ready','observe','error','length','uploading','uc-cloud-image-editor','cancel','once','render','target','createCollection','querySelector','_addErrorViewListeners','_errorView','24402483MPuOCX','_editingView','_waitForImageEditorComponent','fire','addMany','1987976aKtMUy','addEventListener','10PYOlRn','addedNodes','focus','change:status','div','setTemplate','_items','105012oywdrn','nodeName','cdnUrl','ck-uploadcare-form','_addUploadcareImageEditorListeners','detail','element','status','add','_setView','_loadingView','filter','retry','4469192GSovXS','ck-reset_all-excluded','disconnect','set','680412GmeBJM','clear','toLowerCase','652443QuRKJY','apply','getFocusableElement','_focusableView'];_0x4a20=function(){return _0x69bad1;};return _0x4a20();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3235f6{[_0x1fec23(0x19a)];[_0x1fec23(0x16f)];[_0x1fec23(0x18c)];[_0x1fec23(0x18e)];[_0x1fec23(0x17c)];constructor(_0x35525e,_0x15a9a3,_0x24a78a){const _0x1e3b24=_0x1fec23;super(_0x35525e),this[_0x1e3b24(0x19a)]=this[_0x1e3b24(0x189)](),this[_0x1e3b24(0x16f)]=new _0x5e27ea(_0x35525e),this[_0x1e3b24(0x18c)]=new _0x2abbf9(_0x35525e),this[_0x1e3b24(0x18e)]=new _0x401a36(_0x35525e,_0x24a78a),this[_0x1e3b24(0x17c)]=new _0x3ce3ae(_0x35525e),this[_0x1e3b24(0x17c)][_0x1e3b24(0x199)](this[_0x1e3b24(0x17b)]()),this[_0x1e3b24(0x175)](_0x1e3b24(0x16c),_0x15a9a3),this[_0x1e3b24(0x199)]({'tag':_0x1e3b24(0x198),'attributes':{'class':['ck',_0x1e3b24(0x173),_0x1e3b24(0x19e)],'tabindex':'-1'},'children':this[_0x1e3b24(0x19a)]}),this[_0x1e3b24(0x16e)](),this[_0x1e3b24(0x186)](_0x1e3b24(0x187),()=>{const _0x19074e=_0x1e3b24;this[_0x19074e(0x18f)](this[_0x19074e(0x16b)],_0x26fd98=>{const _0x44151d=_0x19074e;this[_0x44151d(0x19f)](_0x26fd98);});}),this['on'](_0x1e3b24(0x197),()=>{const _0x1de5bd=_0x1e3b24;this[_0x1de5bd(0x16e)]();}),this[_0x1e3b24(0x18b)]();}[_0x1fec23(0x196)](){const _0x52999a=_0x1fec23;this[_0x52999a(0x16b)][_0x52999a(0x196)]();}[_0x1fec23(0x16e)](){const _0x29f772=_0x1fec23;switch(this[_0x29f772(0x19a)][_0x29f772(0x177)](),this[_0x29f772(0x16c)]){case _0x29f772(0x183):this[_0x29f772(0x19a)][_0x29f772(0x16d)](this[_0x29f772(0x16f)]);break;case _0x29f772(0x181):this[_0x29f772(0x19a)][_0x29f772(0x16d)](this[_0x29f772(0x18c)]);break;case _0x29f772(0x17f):this[_0x29f772(0x19a)][_0x29f772(0x191)]([this[_0x29f772(0x18e)],this[_0x29f772(0x17c)]]);}}[_0x1fec23(0x18f)](_0x2e1bb4,_0x23f354){const _0x140870=_0x1fec23,_0x25aa7a=_0x140870(0x184),_0x352cf5=_0x2e1bb4[_0x140870(0x18a)](_0x25aa7a);if(_0x352cf5)return _0x23f354(_0x352cf5);const _0x48f7f5=new MutationObserver(_0x59344b=>{const _0xb7c6=_0x140870,_0xdd18c6=_0x59344b[_0xb7c6(0x170)](_0xc78bc0=>_0xc78bc0[_0xb7c6(0x188)]===_0x2e1bb4&&_0xc78bc0[_0xb7c6(0x195)][_0xb7c6(0x182)]>0x0&&_0xc78bc0[_0xb7c6(0x195)][0x0][_0xb7c6(0x19c)][_0xb7c6(0x178)]()===_0x25aa7a);_0xdd18c6[_0xb7c6(0x182)]&&(_0x48f7f5[_0xb7c6(0x174)](),_0x23f354(_0xdd18c6[0x0][_0xb7c6(0x195)][0x0]));});_0x48f7f5[_0x140870(0x180)](_0x2e1bb4,{'childList':!0x0,'subtree':!0x0});}[_0x1fec23(0x19f)](_0x19d9d7){const _0x331053=_0x1fec23;_0x19d9d7[_0x331053(0x193)](_0x331053(0x17a),_0x5b405c=>{const _0x176c97=_0x331053;this[_0x176c97(0x190)](_0x176c97(0x17a),{'imageSrc':_0x5b405c[_0x176c97(0x1a0)][_0x176c97(0x19d)]});}),_0x19d9d7[_0x331053(0x193)](_0x331053(0x185),()=>{const _0x2f2b93=_0x331053;this[_0x2f2b93(0x190)](_0x2f2b93(0x185));});}[_0x1fec23(0x18b)](){const _0x11b8f2=_0x1fec23;this[_0x11b8f2(0x18c)]['on'](_0x11b8f2(0x171),()=>{const _0x110b60=_0x11b8f2;this[_0x110b60(0x190)](_0x110b60(0x171));});}}
23
+ const _0x59a6fc=_0x52f3;(function(_0x7edc9a,_0x1d7ed5){const _0x40cd6d=_0x52f3,_0x49d185=_0x7edc9a();while(!![]){try{const _0x229b36=parseInt(_0x40cd6d(0x131))/0x1+parseInt(_0x40cd6d(0x135))/0x2+-parseInt(_0x40cd6d(0x120))/0x3+parseInt(_0x40cd6d(0x124))/0x4+-parseInt(_0x40cd6d(0x12c))/0x5+-parseInt(_0x40cd6d(0x14b))/0x6*(parseInt(_0x40cd6d(0x143))/0x7)+parseInt(_0x40cd6d(0x125))/0x8;if(_0x229b36===_0x1d7ed5)break;else _0x49d185['push'](_0x49d185['shift']());}catch(_0x30d9ed){_0x49d185['push'](_0x49d185['shift']());}}}(_0x42e0,0x4172d));function _0x52f3(_0x326242,_0x55c888){const _0x42e04d=_0x42e0();return _0x52f3=function(_0x52f365,_0x194d76){_0x52f365=_0x52f365-0x11d;let _0x1dfb5d=_0x42e04d[_0x52f365];return _0x1dfb5d;},_0x52f3(_0x326242,_0x55c888);}import{View as _0x679a8a}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x7d78ed}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x28963c}from'./uploadcareimageeditformerrorview.js';function _0x42e0(){const _0x5c999b=['ck-uploadcare-form','_setView','getFocusableElement','_waitForImageEditorComponent','_focusableView','detail','setTemplate','_errorView','once','448566vCrCvT','render','clear','focus','136012TUNJRJ','6396760QUEHKA','status','nodeName','_editingView','querySelector','ready','filter','2463250PYMkTw','_items','target','length','cancel','299594sgKcdv','set','createCollection','_addUploadcareImageEditorListeners','600478wweqcl','apply','_addErrorViewListeners','change:status','addedNodes','error','addMany','disconnect','element','fire','uc-cloud-image-editor','addEventListener','observe','uploading','110978hvQEKJ','add','ck-reset_all-excluded','cdnUrl','div','_loadingView','retry','toLowerCase','198edhmOp'];_0x42e0=function(){return _0x5c999b;};return _0x42e0();}import{UploadcareImageEditFormEditingView as _0xf2be65}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2d658d}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2d658d{[_0x59a6fc(0x12d)];[_0x59a6fc(0x148)];[_0x59a6fc(0x11e)];[_0x59a6fc(0x128)];[_0x59a6fc(0x150)];constructor(_0x10f9a9,_0x1384a0,_0x4a8b97){const _0x413b87=_0x59a6fc;super(_0x10f9a9),this[_0x413b87(0x12d)]=this[_0x413b87(0x133)](),this[_0x413b87(0x148)]=new _0x7d78ed(_0x10f9a9),this[_0x413b87(0x11e)]=new _0x28963c(_0x10f9a9),this[_0x413b87(0x128)]=new _0xf2be65(_0x10f9a9,_0x4a8b97),this[_0x413b87(0x150)]=new _0x679a8a(_0x10f9a9),this[_0x413b87(0x150)][_0x413b87(0x11d)](this[_0x413b87(0x14e)]()),this[_0x413b87(0x132)](_0x413b87(0x126),_0x1384a0),this[_0x413b87(0x11d)]({'tag':_0x413b87(0x147),'attributes':{'class':['ck',_0x413b87(0x145),_0x413b87(0x14c)],'tabindex':'-1'},'children':this[_0x413b87(0x12d)]}),this[_0x413b87(0x14d)](),this[_0x413b87(0x11f)](_0x413b87(0x121),()=>{const _0x3d3714=_0x413b87;this[_0x3d3714(0x14f)](this[_0x3d3714(0x13d)],_0x43c4bf=>{const _0x2a2a23=_0x3d3714;this[_0x2a2a23(0x134)](_0x43c4bf);});}),this['on'](_0x413b87(0x138),()=>{const _0x330250=_0x413b87;this[_0x330250(0x14d)]();}),this[_0x413b87(0x137)]();}[_0x59a6fc(0x123)](){const _0x9d7244=_0x59a6fc;this[_0x9d7244(0x13d)][_0x9d7244(0x123)]();}[_0x59a6fc(0x14d)](){const _0x3dc901=_0x59a6fc;switch(this[_0x3dc901(0x12d)][_0x3dc901(0x122)](),this[_0x3dc901(0x126)]){case _0x3dc901(0x142):this[_0x3dc901(0x12d)][_0x3dc901(0x144)](this[_0x3dc901(0x148)]);break;case _0x3dc901(0x13a):this[_0x3dc901(0x12d)][_0x3dc901(0x144)](this[_0x3dc901(0x11e)]);break;case _0x3dc901(0x12a):this[_0x3dc901(0x12d)][_0x3dc901(0x13b)]([this[_0x3dc901(0x128)],this[_0x3dc901(0x150)]]);}}[_0x59a6fc(0x14f)](_0x134465,_0x43c299){const _0x4070cc=_0x59a6fc,_0x506d04=_0x4070cc(0x13f),_0x87a986=_0x134465[_0x4070cc(0x129)](_0x506d04);if(_0x87a986)return _0x43c299(_0x87a986);const _0x292e59=new MutationObserver(_0xbbb66c=>{const _0x20ecc3=_0x4070cc,_0x424e0c=_0xbbb66c[_0x20ecc3(0x12b)](_0x199aae=>_0x199aae[_0x20ecc3(0x12e)]===_0x134465&&_0x199aae[_0x20ecc3(0x139)][_0x20ecc3(0x12f)]>0x0&&_0x199aae[_0x20ecc3(0x139)][0x0][_0x20ecc3(0x127)][_0x20ecc3(0x14a)]()===_0x506d04);_0x424e0c[_0x20ecc3(0x12f)]&&(_0x292e59[_0x20ecc3(0x13c)](),_0x43c299(_0x424e0c[0x0][_0x20ecc3(0x139)][0x0]));});_0x292e59[_0x4070cc(0x141)](_0x134465,{'childList':!0x0,'subtree':!0x0});}[_0x59a6fc(0x134)](_0x52148c){const _0x1fc033=_0x59a6fc;_0x52148c[_0x1fc033(0x140)](_0x1fc033(0x136),_0x241891=>{const _0x59432d=_0x1fc033;this[_0x59432d(0x13e)](_0x59432d(0x136),{'imageSrc':_0x241891[_0x59432d(0x151)][_0x59432d(0x146)]});}),_0x52148c[_0x1fc033(0x140)](_0x1fc033(0x130),()=>{const _0x5cf331=_0x1fc033;this[_0x5cf331(0x13e)](_0x5cf331(0x130));});}[_0x59a6fc(0x137)](){const _0x4f7bd9=_0x59a6fc;this[_0x4f7bd9(0x11e)]['on'](_0x4f7bd9(0x149),()=>{const _0x3f5847=_0x4f7bd9;this[_0x3f5847(0x13e)](_0x3f5847(0x149));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b93e=_0x14bd;(function(_0x26ff6a,_0x147285){const _0xa7f427=_0x14bd,_0x3b6b92=_0x26ff6a();while(!![]){try{const _0x1a4fd7=-parseInt(_0xa7f427(0x1b5))/0x1*(-parseInt(_0xa7f427(0x1c5))/0x2)+parseInt(_0xa7f427(0x1c7))/0x3+-parseInt(_0xa7f427(0x1d0))/0x4+-parseInt(_0xa7f427(0x1bd))/0x5+-parseInt(_0xa7f427(0x1c4))/0x6+parseInt(_0xa7f427(0x1ca))/0x7*(-parseInt(_0xa7f427(0x1d2))/0x8)+-parseInt(_0xa7f427(0x1b9))/0x9*(-parseInt(_0xa7f427(0x1c9))/0xa);if(_0x1a4fd7===_0x147285)break;else _0x3b6b92['push'](_0x3b6b92['shift']());}catch(_0x7b9b34){_0x3b6b92['push'](_0x3b6b92['shift']());}}}(_0xf33c,0xc05c8));import{Command as _0x27f73f}from'ckeditor5/src/core.js';function _0x14bd(_0x95302a,_0x4a48e9){const _0xf33c2f=_0xf33c();return _0x14bd=function(_0x14bd72,_0x8eee5f){_0x14bd72=_0x14bd72-0x1b3;let _0x314b8f=_0xf33c2f[_0x14bd72];return _0x314b8f;},_0x14bd(_0x95302a,_0x4a48e9);}import{Dialog as _0x7d8796}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xbbd170}from'./ui/uploadcareimageeditcontroller.js';function _0xf33c(){const _0x3d95ab=['plugins','108LSTAAc','unbind','element','execute','812090zZqhZj','getSelectedElement','document','bind','set','isActive','model','1591686ePlovG','3998iUurIC','_isEditable','4043511ZVjOEs','imageBlock','1037870acxAeI','16772rAXDfN','requires','uploadcare.allowExternalImagesEditing','imageEditController','get','refresh','1978516gStyiB','config','4904lNiLbA','imageInline','selection','293raYdEM','editor','isEnabled'];_0xf33c=function(){return _0x3d95ab;};return _0xf33c();}import{createEditabilityChecker as _0x496b20}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x27f73f{[_0x49b93e(0x1cd)];static get[_0x49b93e(0x1cb)](){return[_0x7d8796];}[_0x49b93e(0x1c6)];constructor(_0x2b9f15){const _0xa34413=_0x49b93e;super(_0x2b9f15),this[_0xa34413(0x1cd)]=void 0x0,this[_0xa34413(0x1c6)]=_0x496b20(_0x2b9f15[_0xa34413(0x1d1)][_0xa34413(0x1ce)](_0xa34413(0x1cc))||[]),this[_0xa34413(0x1c1)]({'isActive':!0x1});}[_0x49b93e(0x1cf)](){const _0x5c1477=_0x49b93e,_0x11449b=this[_0x5c1477(0x1b6)][_0x5c1477(0x1c3)][_0x5c1477(0x1bf)][_0x5c1477(0x1b4)][_0x5c1477(0x1be)]();this[_0x5c1477(0x1b7)]=this[_0x5c1477(0x1c6)](_0x11449b);}[_0x49b93e(0x1bc)](){const _0xa0fe50=_0x49b93e;this[_0xa0fe50(0x1cd)]&&(this[_0xa0fe50(0x1ba)](_0xa0fe50(0x1c2)),this[_0xa0fe50(0x1cd)]=void 0x0);const _0x662723=this[_0xa0fe50(0x1b6)][_0xa0fe50(0x1c3)][_0xa0fe50(0x1bf)][_0xa0fe50(0x1b4)][_0xa0fe50(0x1be)]();_0x662723&&(_0x662723['is'](_0xa0fe50(0x1bb),_0xa0fe50(0x1c8))||_0x662723['is'](_0xa0fe50(0x1bb),_0xa0fe50(0x1b3)))&&(this[_0xa0fe50(0x1cd)]=new _0xbbd170(this[_0xa0fe50(0x1b6)],this[_0xa0fe50(0x1b6)][_0xa0fe50(0x1b8)][_0xa0fe50(0x1ce)](_0x7d8796),_0x662723),this[_0xa0fe50(0x1c0)](_0xa0fe50(0x1c2))['to'](this[_0xa0fe50(0x1cd)],_0xa0fe50(0x1c2)));}}
23
+ const _0x96f480=_0x3bde;function _0x3bde(_0x36a94a,_0x3684b4){const _0x4f8611=_0x4f86();return _0x3bde=function(_0x3bde36,_0x57c2c8){_0x3bde36=_0x3bde36-0x167;let _0x8bbb5f=_0x4f8611[_0x3bde36];return _0x8bbb5f;},_0x3bde(_0x36a94a,_0x3684b4);}(function(_0x496442,_0x12b38d){const _0x929b37=_0x3bde,_0x5c44a1=_0x496442();while(!![]){try{const _0x23d5af=-parseInt(_0x929b37(0x167))/0x1*(-parseInt(_0x929b37(0x172))/0x2)+parseInt(_0x929b37(0x178))/0x3*(parseInt(_0x929b37(0x184))/0x4)+-parseInt(_0x929b37(0x176))/0x5*(parseInt(_0x929b37(0x177))/0x6)+-parseInt(_0x929b37(0x16d))/0x7*(-parseInt(_0x929b37(0x179))/0x8)+-parseInt(_0x929b37(0x17d))/0x9*(parseInt(_0x929b37(0x16a))/0xa)+-parseInt(_0x929b37(0x182))/0xb*(-parseInt(_0x929b37(0x17b))/0xc)+-parseInt(_0x929b37(0x16f))/0xd;if(_0x23d5af===_0x12b38d)break;else _0x5c44a1['push'](_0x5c44a1['shift']());}catch(_0x307414){_0x5c44a1['push'](_0x5c44a1['shift']());}}}(_0x4f86,0x685f6));function _0x4f86(){const _0x3f2f15=['1090tlAFdN','uploadcare.allowExternalImagesEditing','element','195503iJpXso','set','8299811XIKjLO','execute','imageBlock','6866HRjPmK','plugins','refresh','isEnabled','800245pNsNIC','6CDHopp','3MAbnPl','96LgDazJ','imageInline','2196XLrrya','model','35289sTQysx','editor','getSelectedElement','isActive','requires','24299yjhcrg','document','950796PCXcay','selection','_isEditable','get','unbind','imageEditController','197jgfUcs','config','bind'];_0x4f86=function(){return _0x3f2f15;};return _0x4f86();}import{Command as _0x5d33a2}from'ckeditor5/src/core.js';import{Dialog as _0x2456e9}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1f0231}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x370009}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5d33a2{[_0x96f480(0x189)];static get[_0x96f480(0x181)](){return[_0x2456e9];}[_0x96f480(0x186)];constructor(_0x5640cf){const _0x46969b=_0x96f480;super(_0x5640cf),this[_0x46969b(0x189)]=void 0x0,this[_0x46969b(0x186)]=_0x370009(_0x5640cf[_0x46969b(0x168)][_0x46969b(0x187)](_0x46969b(0x16b))||[]),this[_0x46969b(0x16e)]({'isActive':!0x1});}[_0x96f480(0x174)](){const _0x32caef=_0x96f480,_0x24c0a=this[_0x32caef(0x17e)][_0x32caef(0x17c)][_0x32caef(0x183)][_0x32caef(0x185)][_0x32caef(0x17f)]();this[_0x32caef(0x175)]=this[_0x32caef(0x186)](_0x24c0a);}[_0x96f480(0x170)](){const _0x1974b4=_0x96f480;this[_0x1974b4(0x189)]&&(this[_0x1974b4(0x188)](_0x1974b4(0x180)),this[_0x1974b4(0x189)]=void 0x0);const _0x2eec5c=this[_0x1974b4(0x17e)][_0x1974b4(0x17c)][_0x1974b4(0x183)][_0x1974b4(0x185)][_0x1974b4(0x17f)]();_0x2eec5c&&(_0x2eec5c['is'](_0x1974b4(0x16c),_0x1974b4(0x171))||_0x2eec5c['is'](_0x1974b4(0x16c),_0x1974b4(0x17a)))&&(this[_0x1974b4(0x189)]=new _0x1f0231(this[_0x1974b4(0x17e)],this[_0x1974b4(0x17e)][_0x1974b4(0x173)][_0x1974b4(0x187)](_0x2456e9),_0x2eec5c),this[_0x1974b4(0x169)](_0x1974b4(0x180))['to'](this[_0x1974b4(0x189)],_0x1974b4(0x180)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d8ac1=_0x5613;function _0x4d3c(){const _0x42ece4=['UploadcareImageEditEditing','requires','9686411GVJwVq','6BIphwJ','ImageUtils','uploadcareImageEdit','5985204UNUwhq','add','1511520QabDqo','commands','2183375bWwlzD','461628ecLnbj','pluginName','init','isOfficialPlugin','434808ZQdFJR','uploadcareImageReplace','3680622xKZdNB','isPremiumPlugin','ImageEditing'];_0x4d3c=function(){return _0x42ece4;};return _0x4d3c();}(function(_0x186a22,_0x33b26f){const _0x53c7d5=_0x5613,_0x7df8e7=_0x186a22();while(!![]){try{const _0x49466e=-parseInt(_0x53c7d5(0x70))/0x1+-parseInt(_0x53c7d5(0x6d))/0x2*(parseInt(_0x53c7d5(0x68))/0x3)+parseInt(_0x53c7d5(0x6b))/0x4+parseInt(_0x53c7d5(0x6f))/0x5+-parseInt(_0x53c7d5(0x76))/0x6+parseInt(_0x53c7d5(0x67))/0x7+parseInt(_0x53c7d5(0x74))/0x8;if(_0x49466e===_0x33b26f)break;else _0x7df8e7['push'](_0x7df8e7['shift']());}catch(_0x24b0fa){_0x7df8e7['push'](_0x7df8e7['shift']());}}}(_0x4d3c,0xbf883));function _0x5613(_0x62dbd4,_0x33accc){const _0x4d3cb9=_0x4d3c();return _0x5613=function(_0x561399,_0x214d4a){_0x561399=_0x561399-0x67;let _0x2da05d=_0x4d3cb9[_0x561399];return _0x2da05d;},_0x5613(_0x62dbd4,_0x33accc);}import{Plugin as _0x57f3d1}from'ckeditor5/src/core.js';import{Notification as _0x58e647}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29c9a7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x40c884}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x445cb3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x57f3d1{static get[_0x2d8ac1(0x71)](){const _0xc2403f=_0x2d8ac1;return _0xc2403f(0x79);}static get[_0x2d8ac1(0x7a)](){const _0x45e1b6=_0x2d8ac1;return[_0x445cb3,_0x58e647,_0x45e1b6(0x69),_0x45e1b6(0x78)];}static get[_0x2d8ac1(0x73)](){return!0x0;}static get[_0x2d8ac1(0x77)](){return!0x0;}[_0x2d8ac1(0x72)](){const _0x36a06a=_0x2d8ac1,{editor:_0x6ff7b6}=this;_0x6ff7b6[_0x36a06a(0x6e)][_0x36a06a(0x6c)](_0x36a06a(0x6a),new _0x29c9a7(_0x6ff7b6)),_0x6ff7b6[_0x36a06a(0x6e)][_0x36a06a(0x6c)](_0x36a06a(0x75),new _0x40c884(_0x6ff7b6));}}
23
+ function _0x1117(_0x50e7b1,_0x387aa0){const _0xd4a88d=_0xd4a8();return _0x1117=function(_0x1117f0,_0x525776){_0x1117f0=_0x1117f0-0x91;let _0x72a325=_0xd4a88d[_0x1117f0];return _0x72a325;},_0x1117(_0x50e7b1,_0x387aa0);}function _0xd4a8(){const _0x396f18=['ImageEditing','isPremiumPlugin','ImageUtils','1318980YXsLrC','8WhHfiT','2048080MmELTG','isOfficialPlugin','9881662nFfkbt','commands','uploadcareImageEdit','requires','pluginName','457920ReTjXR','init','UploadcareImageEditEditing','uploadcareImageReplace','add','2346124TtQchz','3347130nvHkcf','842991fOkZrw'];_0xd4a8=function(){return _0x396f18;};return _0xd4a8();}const _0x175ea0=_0x1117;(function(_0x31c622,_0xbf93ec){const _0x1dc59c=_0x1117,_0x59b16a=_0x31c622();while(!![]){try{const _0x3e91fb=-parseInt(_0x1dc59c(0x9a))/0x1+parseInt(_0x1dc59c(0x91))/0x2+parseInt(_0x1dc59c(0xa1))/0x3+-parseInt(_0x1dc59c(0x9f))/0x4+-parseInt(_0x1dc59c(0x93))/0x5+-parseInt(_0x1dc59c(0xa0))/0x6+-parseInt(_0x1dc59c(0x95))/0x7*(-parseInt(_0x1dc59c(0x92))/0x8);if(_0x3e91fb===_0xbf93ec)break;else _0x59b16a['push'](_0x59b16a['shift']());}catch(_0x2c1056){_0x59b16a['push'](_0x59b16a['shift']());}}}(_0xd4a8,0x53107));import{Plugin as _0x45ba1d}from'ckeditor5/src/core.js';import{Notification as _0x50b0f6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4d4f3e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2a148a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2e27ba}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x45ba1d{static get[_0x175ea0(0x99)](){const _0x45dfbb=_0x175ea0;return _0x45dfbb(0x9c);}static get[_0x175ea0(0x98)](){const _0x56eda2=_0x175ea0;return[_0x2e27ba,_0x50b0f6,_0x56eda2(0xa4),_0x56eda2(0xa2)];}static get[_0x175ea0(0x94)](){return!0x0;}static get[_0x175ea0(0xa3)](){return!0x0;}[_0x175ea0(0x9b)](){const _0x3ea663=_0x175ea0,{editor:_0x53c7bd}=this;_0x53c7bd[_0x3ea663(0x96)][_0x3ea663(0x9e)](_0x3ea663(0x97),new _0x4d4f3e(_0x53c7bd)),_0x53c7bd[_0x3ea663(0x96)][_0x3ea663(0x9e)](_0x3ea663(0x9d),new _0x2a148a(_0x53c7bd));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57baf0}from'ckeditor5/src/core.js';import{ButtonView as _0x1ed3c4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x34b0af}from'ckeditor5/src/icons.js';import{createElement as _0xe79a77}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 _0x57baf0{['_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 _0x4c1b2c=this['editor'];_0x4c1b2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1eec14=>{const _0x3e37bb=_0x4c1b2c['commands']['get']('uploadcareImageEdit'),_0x3b4576=new _0x1ed3c4(_0x1eec14),t=_0x1eec14['t'];return _0x3b4576['set']({'icon':_0x34b0af,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b4576['bind']('isEnabled')['to'](_0x3e37bb),_0x3b4576['bind']('isOn')['to'](_0x3e37bb,'isActive'),this['listenTo'](_0x3b4576,'execute',()=>{_0x4c1b2c['execute']('uploadcareImageEdit'),_0x4c1b2c['editing']['view']['focus']();}),_0x3b4576;}),this['_initConfig']();}['_initConfig'](){const _0x5944cc=_0xe79a77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5944cc),this['listenTo'](this['editor'],'destroy',()=>{_0x5944cc['remove']();});}}
23
+ import{Plugin as _0x46a924}from'ckeditor5/src/core.js';import{ButtonView as _0x3c730b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2aa462}from'ckeditor5/src/icons.js';import{createElement as _0x24adab}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 _0x46a924{['_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 _0x3f93cc=this['editor'];_0x3f93cc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x406139=>{const _0x241bf7=_0x3f93cc['commands']['get']('uploadcareImageEdit'),_0x3c6a66=new _0x3c730b(_0x406139),t=_0x406139['t'];return _0x3c6a66['set']({'icon':_0x2aa462,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3c6a66['bind']('isEnabled')['to'](_0x241bf7),_0x3c6a66['bind']('isOn')['to'](_0x241bf7,'isActive'),this['listenTo'](_0x3c6a66,'execute',()=>{_0x3f93cc['execute']('uploadcareImageEdit'),_0x3f93cc['editing']['view']['focus']();}),_0x3c6a66;}),this['_initConfig']();}['_initConfig'](){const _0x423c00=_0x24adab(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x423c00),this['listenTo'](this['editor'],'destroy',()=>{_0x423c00['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c2533=_0x2e5b;(function(_0x433951,_0x1e86b1){var _0x3f07de=_0x2e5b,_0x1e3eb6=_0x433951();while(!![]){try{var _0x547394=-parseInt(_0x3f07de(0x194))/0x1+-parseInt(_0x3f07de(0x198))/0x2*(parseInt(_0x3f07de(0x19a))/0x3)+-parseInt(_0x3f07de(0x192))/0x4+-parseInt(_0x3f07de(0x193))/0x5+-parseInt(_0x3f07de(0x19b))/0x6+-parseInt(_0x3f07de(0x191))/0x7+parseInt(_0x3f07de(0x19e))/0x8;if(_0x547394===_0x1e86b1)break;else _0x1e3eb6['push'](_0x1e3eb6['shift']());}catch(_0x130e49){_0x1e3eb6['push'](_0x1e3eb6['shift']());}}}(_0x1baa,0x33138));import{FocusTracker as _0x45d2ab}from'ckeditor5/src/utils.js';import{View as _0x44ff10,FocusCycler as _0xb1c2b2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2e5b(_0x4bb8c1,_0x1b9ce8){var _0x1baa96=_0x1baa();return _0x2e5b=function(_0x2e5b8b,_0x19679e){_0x2e5b8b=_0x2e5b8b-0x18e;var _0x5f35e0=_0x1baa96[_0x2e5b8b];return _0x5f35e0;},_0x2e5b(_0x4bb8c1,_0x1b9ce8);}export class DialogFocusManagerView extends _0x44ff10{[_0x2c2533(0x19d)];[_0x2c2533(0x19c)];constructor(_0x2224c6){var _0x58e266=_0x2c2533;super(_0x2224c6),this[_0x58e266(0x19d)]=new _0x45d2ab(),this[_0x58e266(0x19c)]=new _0xb1c2b2({'focusables':this[_0x58e266(0x195)](),'focusTracker':this[_0x58e266(0x19d)]});}[_0x2c2533(0x190)](){var _0x3ebc8f=_0x2c2533;return{'tag':_0x3ebc8f(0x18f),'attributes':{'aria-hidden':_0x3ebc8f(0x18e),'tabindex':'0'},'on':{'focus':this[_0x3ebc8f(0x197)]['to'](()=>{var _0x5e63b7=_0x3ebc8f;this[_0x5e63b7(0x19c)][_0x5e63b7(0x199)](_0x5e63b7(0x196));})}};}}function _0x1baa(){var _0x5a529a=['createCollection','forwardCycle','bindTemplate','3636Sadfpt','fire','123CCNBgj','1085178xBmLhF','focusCycler','focusTracker','10712840azdGvV','true','div','getFocusableElement','2117892iINtTT','706636OaBQdW','649150NVJowu','265451NITbUg'];_0x1baa=function(){return _0x5a529a;};return _0x1baa();}
23
+ var _0x2edbee=_0x517c;function _0x517c(_0x198a05,_0xf12362){var _0x57174a=_0x5717();return _0x517c=function(_0x517c40,_0x5647c1){_0x517c40=_0x517c40-0x1ae;var _0x19d142=_0x57174a[_0x517c40];return _0x19d142;},_0x517c(_0x198a05,_0xf12362);}(function(_0x36f461,_0x4a0292){var _0x32589b=_0x517c,_0x5592aa=_0x36f461();while(!![]){try{var _0x5756ef=-parseInt(_0x32589b(0x1bc))/0x1+-parseInt(_0x32589b(0x1b6))/0x2+parseInt(_0x32589b(0x1b8))/0x3+-parseInt(_0x32589b(0x1b0))/0x4+-parseInt(_0x32589b(0x1b4))/0x5*(-parseInt(_0x32589b(0x1bd))/0x6)+-parseInt(_0x32589b(0x1be))/0x7+parseInt(_0x32589b(0x1b1))/0x8;if(_0x5756ef===_0x4a0292)break;else _0x5592aa['push'](_0x5592aa['shift']());}catch(_0x5c2a24){_0x5592aa['push'](_0x5592aa['shift']());}}}(_0x5717,0x1f557));import{FocusTracker as _0x2c8690}from'ckeditor5/src/utils.js';import{View as _0x1845f7,FocusCycler as _0x40b8fa}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x5717(){var _0x4285ed=['true','forwardCycle','159402wgxEJj','6pcZNeH','1448174fAwwBo','focusCycler','bindTemplate','1014876wPeeVZ','3901904Syovtz','fire','div','625385odgCma','focusTracker','33250tPqgLi','createCollection','456468XAvYMO','getFocusableElement'];_0x5717=function(){return _0x4285ed;};return _0x5717();}export class DialogFocusManagerView extends _0x1845f7{[_0x2edbee(0x1b5)];[_0x2edbee(0x1ae)];constructor(_0x16c8e6){var _0x37780f=_0x2edbee;super(_0x16c8e6),this[_0x37780f(0x1b5)]=new _0x2c8690(),this[_0x37780f(0x1ae)]=new _0x40b8fa({'focusables':this[_0x37780f(0x1b7)](),'focusTracker':this[_0x37780f(0x1b5)]});}[_0x2edbee(0x1b9)](){var _0x3834b4=_0x2edbee;return{'tag':_0x3834b4(0x1b3),'attributes':{'aria-hidden':_0x3834b4(0x1ba),'tabindex':'0'},'on':{'focus':this[_0x3834b4(0x1af)]['to'](()=>{var _0x30305c=_0x3834b4;this[_0x30305c(0x1ae)][_0x30305c(0x1b2)](_0x30305c(0x1bb));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1cea(_0x2fc823,_0x32111a){const _0x31cad1=_0x31ca();return _0x1cea=function(_0x1cea60,_0x30ff36){_0x1cea60=_0x1cea60-0x1a2;let _0x584ee3=_0x31cad1[_0x1cea60];return _0x584ee3;},_0x1cea(_0x2fc823,_0x32111a);}(function(_0x254381,_0x5b7dba){const _0x594fe0=_0x1cea,_0x745f07=_0x254381();while(!![]){try{const _0x406db9=parseInt(_0x594fe0(0x1b7))/0x1+parseInt(_0x594fe0(0x1cb))/0x2*(parseInt(_0x594fe0(0x1ae))/0x3)+-parseInt(_0x594fe0(0x1ba))/0x4*(-parseInt(_0x594fe0(0x1c5))/0x5)+-parseInt(_0x594fe0(0x1b5))/0x6*(parseInt(_0x594fe0(0x1b4))/0x7)+parseInt(_0x594fe0(0x1cd))/0x8*(-parseInt(_0x594fe0(0x1d4))/0x9)+-parseInt(_0x594fe0(0x1c2))/0xa+parseInt(_0x594fe0(0x1d2))/0xb;if(_0x406db9===_0x5b7dba)break;else _0x745f07['push'](_0x745f07['shift']());}catch(_0x90d93e){_0x745f07['push'](_0x745f07['shift']());}}}(_0x31ca,0x41d61));function _0x31ca(){const _0x2679d9=['listenTo','view','isArray','plugins','toViewElement','filter','width','mapper','origin','addClass','removeStyle','hasAttribute','window','get','406647hCYNYP','editing','domConverter','map','setStyle','aspect-ratio','150962uRQuIE','12tUexjV','image/webp','276830XmBdTS','match','/-/resize/','80toGTjl','load','change','src','baseURI','imageInline','image-processing','findViewImgElement','3794950wBUFch','imageBlock','ImageUtils','87545NFcuyS','height','join','x/\x20','some','viewToDom','2QjuvgU','(max-width:\x20','464tSFdEG','location','replace','element','function','4777663FDMRfc','stopListening','78300FkVGiq','document','removeClass','px)\x20100vw,\x20','uploadcareImageId','getAttribute'];_0x31ca=function(){return _0x2679d9;};return _0x31ca();}import{global as _0x4c03f0,DomEmitterMixin as _0xc3ad2a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5577cd){const _0xd809c6=_0x1cea,_0x4830d8=G(_0x5577cd);return _0x17cd8f=>!(!_0x17cd8f||!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1c3))&&!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1bf)))&&(!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1d8))||!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1bd))&&_0x4830d8(_0x17cd8f[_0xd809c6(0x1d9)](_0xd809c6(0x1bd))));}export function getImageUrls(_0xe7c13e,_0x3bdc12){const _0x355b23=_0x1cea,_0x213b24=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x355b23(0x1a5)](_0x1d60ce=>_0x1d60ce<=_0x3bdc12)[_0x355b23(0x1b1)](_0x835026=>_0xe7c13e[_0x355b23(0x1cf)](/\/$/,'')+_0x355b23(0x1b9)+_0x835026+_0x355b23(0x1c8)+_0x835026+'w');return{'imageFallbackUrl':_0xe7c13e,'imageSources':[{'srcset':_0x213b24[_0x355b23(0x1c7)](',\x20'),'sizes':_0x355b23(0x1cc)+_0x3bdc12+_0x355b23(0x1d7)+_0x3bdc12+'px','type':_0x355b23(0x1b6)}]};}export function getImageDimension(_0xccedec,_0x3af59d,_0xf91315){const _0x298ed3=_0x1cea,_0x48a998=_0xccedec[_0x298ed3(0x1b8)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48a998?parseInt(_0x48a998[0x1],0xa):_0x3af59d,'height':_0x48a998?parseInt(_0x48a998[0x2],0xa):_0xf91315};}export function showImageProcessingIndicator(_0x280b4b,_0x4b99c3){const _0x372cc7=_0x1cea,_0x4613c0=new(_0xc3ad2a())(),_0x4d5b59=_0x280b4b[_0x372cc7(0x1a3)][_0x372cc7(0x1ad)](_0x372cc7(0x1c4)),_0xcca20d=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1a7)][_0x372cc7(0x1a4)](_0x4b99c3),_0x812091=_0x4d5b59[_0x372cc7(0x1c1)](_0xcca20d),_0x536fd1=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1b0)][_0x372cc7(0x1ca)](_0x812091),_0x3d47ef=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1a6)),_0x17a3da=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1c6)),_0x2c7269=_0x372cc7(0x1c0);_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1bc)](_0x520142=>{const _0x3eaec4=_0x372cc7;_0x520142[_0x3eaec4(0x1a9)](_0x2c7269,_0xcca20d),_0x520142[_0x3eaec4(0x1b2)](_0x3eaec4(0x1b3),_0x3d47ef+'/'+_0x17a3da,_0x812091);}),_0x4613c0[_0x372cc7(0x1da)](_0x536fd1,_0x372cc7(0x1bb),()=>{const _0x5dab97=_0x372cc7;_0x4613c0[_0x5dab97(0x1d3)](_0x536fd1,_0x5dab97(0x1bb)),_0x280b4b[_0x5dab97(0x1af)][_0x5dab97(0x1db)][_0x5dab97(0x1bc)](_0xbc3765=>{const _0x38d077=_0x5dab97;_0xbc3765[_0x38d077(0x1d6)](_0x2c7269,_0xcca20d),_0xbc3765[_0x38d077(0x1aa)](_0x38d077(0x1b3),_0x812091);});});}function G(_0x56bc47){const _0x413aa6=_0x1cea;if(Array[_0x413aa6(0x1a2)](_0x56bc47)){const _0x3a9381=_0x56bc47[_0x413aa6(0x1b1)](G);return _0x281a5f=>_0x3a9381[_0x413aa6(0x1c9)](_0x4fcaa3=>_0x4fcaa3(_0x281a5f));}if(_0x413aa6(0x1a8)==_0x56bc47){const _0x5b912e=_0x4c03f0[_0x413aa6(0x1ac)][_0x413aa6(0x1ce)][_0x413aa6(0x1a8)];return _0x3e5271=>new URL(_0x3e5271,_0x4c03f0[_0x413aa6(0x1d5)][_0x413aa6(0x1be)])[_0x413aa6(0x1a8)]==_0x5b912e;}return _0x413aa6(0x1d1)==typeof _0x56bc47?_0x56bc47:_0x56bc47 instanceof RegExp?_0x3980a8=>!(!_0x3980a8[_0x413aa6(0x1b8)](_0x56bc47)&&!_0x3980a8[_0x413aa6(0x1cf)](/^https?:\/\//,'')[_0x413aa6(0x1b8)](_0x56bc47)):()=>!0x1;}
23
+ (function(_0x7189ed,_0x228f24){const _0x5df2dd=_0x175f,_0x6256fa=_0x7189ed();while(!![]){try{const _0x4d1924=-parseInt(_0x5df2dd(0xb3))/0x1*(-parseInt(_0x5df2dd(0x90))/0x2)+parseInt(_0x5df2dd(0xb2))/0x3+-parseInt(_0x5df2dd(0x83))/0x4*(-parseInt(_0x5df2dd(0x95))/0x5)+-parseInt(_0x5df2dd(0x97))/0x6*(parseInt(_0x5df2dd(0x87))/0x7)+-parseInt(_0x5df2dd(0x82))/0x8*(parseInt(_0x5df2dd(0xad))/0x9)+-parseInt(_0x5df2dd(0x8b))/0xa*(-parseInt(_0x5df2dd(0x85))/0xb)+-parseInt(_0x5df2dd(0xa4))/0xc*(parseInt(_0x5df2dd(0x88))/0xd);if(_0x4d1924===_0x228f24)break;else _0x6256fa['push'](_0x6256fa['shift']());}catch(_0x2849d3){_0x6256fa['push'](_0x6256fa['shift']());}}}(_0x5376,0xcb650));function _0x5376(){const _0x40c642=['height','viewToDom','baseURI','9wfqBZb','removeStyle','filter','mapper','removeClass','3400974XpqaDo','51061QarxCw','imageInline','/-/resize/','getAttribute','get','isArray','hasAttribute','document','some','map','x/\x20','8390296xPpirg','1436CoGUcj','uploadcareImageId','918159ZZwWwI','ImageUtils','49ftYWHv','3784456JNIVfc','addClass','origin','90BmmnML','function','replace','width','location','26fmEnoU','src','(max-width:\x20','image/webp','editing','8835pBOJty','window','366684EsxCxk','px)\x20100vw,\x20','image-processing','match','domConverter','stopListening','listenTo','toViewElement','change','join','view','findViewImgElement','plugins','36ypcvoX','element','setStyle','load','aspect-ratio','imageBlock'];_0x5376=function(){return _0x40c642;};return _0x5376();}import{global as _0x17f638,DomEmitterMixin as _0x4bcf7d}from'ckeditor5/src/utils.js';function _0x175f(_0x5c45b5,_0xed2b5){const _0x5376e6=_0x5376();return _0x175f=function(_0x175f36,_0x54aba1){_0x175f36=_0x175f36-0x7d;let _0x20b984=_0x5376e6[_0x175f36];return _0x20b984;},_0x175f(_0x5c45b5,_0xed2b5);}export function createEditabilityChecker(_0x2fe4c0){const _0x10aa5a=_0x175f,_0xa98c9d=z(_0x2fe4c0);return _0x8b3d0c=>!(!_0x8b3d0c||!_0x8b3d0c['is'](_0x10aa5a(0xa5),_0x10aa5a(0xa9))&&!_0x8b3d0c['is'](_0x10aa5a(0xa5),_0x10aa5a(0xb4)))&&(!!_0x8b3d0c[_0x10aa5a(0x7d)](_0x10aa5a(0x84))||!!_0x8b3d0c[_0x10aa5a(0x7d)](_0x10aa5a(0x91))&&_0xa98c9d(_0x8b3d0c[_0x10aa5a(0xb6)](_0x10aa5a(0x91))));}export function getImageUrls(_0x595430,_0x40900e){const _0x61780e=_0x175f,_0x99b720=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x61780e(0xaf)](_0x292ac6=>_0x292ac6<=_0x40900e)[_0x61780e(0x80)](_0x15f10b=>_0x595430[_0x61780e(0x8d)](/\/$/,'')+_0x61780e(0xb5)+_0x15f10b+_0x61780e(0x81)+_0x15f10b+'w');return{'imageFallbackUrl':_0x595430,'imageSources':[{'srcset':_0x99b720[_0x61780e(0xa0)](',\x20'),'sizes':_0x61780e(0x92)+_0x40900e+_0x61780e(0x98)+_0x40900e+'px','type':_0x61780e(0x93)}]};}export function getImageDimension(_0x162d82,_0x51d2bc,_0x3efb34){const _0x360be9=_0x175f,_0xcc571d=_0x162d82[_0x360be9(0x9a)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xcc571d?parseInt(_0xcc571d[0x1],0xa):_0x51d2bc,'height':_0xcc571d?parseInt(_0xcc571d[0x2],0xa):_0x3efb34};}export function showImageProcessingIndicator(_0x37ef2c,_0x5244e7){const _0x5abc38=_0x175f,_0x4081a1=new(_0x4bcf7d())(),_0x5217ba=_0x37ef2c[_0x5abc38(0xa3)][_0x5abc38(0xb7)](_0x5abc38(0x86)),_0x5b4f6c=_0x37ef2c[_0x5abc38(0x94)][_0x5abc38(0xb0)][_0x5abc38(0x9e)](_0x5244e7),_0x4be1dc=_0x5217ba[_0x5abc38(0xa2)](_0x5b4f6c),_0x8630ee=_0x37ef2c[_0x5abc38(0x94)][_0x5abc38(0xa1)][_0x5abc38(0x9b)][_0x5abc38(0xab)](_0x4be1dc),_0x3ab015=_0x5244e7[_0x5abc38(0xb6)](_0x5abc38(0x8e)),_0x437068=_0x5244e7[_0x5abc38(0xb6)](_0x5abc38(0xaa)),_0x47d3cd=_0x5abc38(0x99);_0x37ef2c[_0x5abc38(0x94)][_0x5abc38(0xa1)][_0x5abc38(0x9f)](_0x458467=>{const _0x1ab7da=_0x5abc38;_0x458467[_0x1ab7da(0x89)](_0x47d3cd,_0x5b4f6c),_0x458467[_0x1ab7da(0xa6)](_0x1ab7da(0xa8),_0x3ab015+'/'+_0x437068,_0x4be1dc);}),_0x4081a1[_0x5abc38(0x9d)](_0x8630ee,_0x5abc38(0xa7),()=>{const _0x5902ba=_0x5abc38;_0x4081a1[_0x5902ba(0x9c)](_0x8630ee,_0x5902ba(0xa7)),_0x37ef2c[_0x5902ba(0x94)][_0x5902ba(0xa1)][_0x5902ba(0x9f)](_0x191dd0=>{const _0x3c5eb3=_0x5902ba;_0x191dd0[_0x3c5eb3(0xb1)](_0x47d3cd,_0x5b4f6c),_0x191dd0[_0x3c5eb3(0xae)](_0x3c5eb3(0xa8),_0x4be1dc);});});}function z(_0x558f2d){const _0x3dee75=_0x175f;if(Array[_0x3dee75(0xb8)](_0x558f2d)){const _0x32051d=_0x558f2d[_0x3dee75(0x80)](z);return _0x265a23=>_0x32051d[_0x3dee75(0x7f)](_0x44a1b4=>_0x44a1b4(_0x265a23));}if(_0x3dee75(0x8a)==_0x558f2d){const _0x3e5e89=_0x17f638[_0x3dee75(0x96)][_0x3dee75(0x8f)][_0x3dee75(0x8a)];return _0x37a9e6=>new URL(_0x37a9e6,_0x17f638[_0x3dee75(0x7e)][_0x3dee75(0xac)])[_0x3dee75(0x8a)]==_0x3e5e89;}return _0x3dee75(0x8c)==typeof _0x558f2d?_0x558f2d:_0x558f2d instanceof RegExp?_0x67784b=>!(!_0x67784b[_0x3dee75(0x9a)](_0x558f2d)&&!_0x67784b[_0x3dee75(0x8d)](/^https?:\/\//,'')[_0x3dee75(0x9a)](_0x558f2d)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5276(){var _0x4c48b0=['11HxHIzn','7xEQbSs','23972mUTHPW','2721805sYRpLk','1113198ODvzoF','target','8PlmLeH','1860273HbDbXa','includes','322182JdIztq','1629410ZDYASq','135576OGBJBu','177bOpeho'];_0x5276=function(){return _0x4c48b0;};return _0x5276();}(function(_0x2ee07e,_0x460d84){var _0x2ad749=_0x386d,_0x2f59da=_0x2ee07e();while(!![]){try{var _0x1615bb=-parseInt(_0x2ad749(0x117))/0x1+-parseInt(_0x2ad749(0x119))/0x2+parseInt(_0x2ad749(0x11a))/0x3*(-parseInt(_0x2ad749(0x11d))/0x4)+parseInt(_0x2ad749(0x111))/0x5+parseInt(_0x2ad749(0x112))/0x6*(parseInt(_0x2ad749(0x11c))/0x7)+-parseInt(_0x2ad749(0x114))/0x8*(-parseInt(_0x2ad749(0x115))/0x9)+-parseInt(_0x2ad749(0x118))/0xa*(-parseInt(_0x2ad749(0x11b))/0xb);if(_0x1615bb===_0x460d84)break;else _0x2f59da['push'](_0x2f59da['shift']());}catch(_0x338d7f){_0x2f59da['push'](_0x2f59da['shift']());}}}(_0x5276,0x56e87));import{getAncestors as _0x252f6f}from'ckeditor5/src/utils.js';function _0x386d(_0x39dae6,_0x359ddc){var _0x527680=_0x5276();return _0x386d=function(_0x386da2,_0x3a694f){_0x386da2=_0x386da2-0x111;var _0x39dff0=_0x527680[_0x386da2];return _0x39dff0;},_0x386d(_0x39dae6,_0x359ddc);}export function isAncestor(_0xeafb15,_0x32b526){var _0x2dfce4=_0x386d;return _0x252f6f(_0xeafb15[_0x2dfce4(0x113)])[_0x2dfce4(0x116)](_0x32b526);}
23
+ (function(_0x55c782,_0x44f59b){var _0x334727=_0x2238,_0x80046=_0x55c782();while(!![]){try{var _0x4096ee=-parseInt(_0x334727(0x1db))/0x1*(-parseInt(_0x334727(0x1d2))/0x2)+-parseInt(_0x334727(0x1da))/0x3*(-parseInt(_0x334727(0x1d9))/0x4)+-parseInt(_0x334727(0x1d8))/0x5*(parseInt(_0x334727(0x1d4))/0x6)+-parseInt(_0x334727(0x1d5))/0x7+-parseInt(_0x334727(0x1d7))/0x8+parseInt(_0x334727(0x1dc))/0x9+-parseInt(_0x334727(0x1d3))/0xa;if(_0x4096ee===_0x44f59b)break;else _0x80046['push'](_0x80046['shift']());}catch(_0x56b2f7){_0x80046['push'](_0x80046['shift']());}}}(_0x2d7e,0x77a69));import{getAncestors as _0x37a35a}from'ckeditor5/src/utils.js';function _0x2238(_0xe3e51d,_0x2d816f){var _0x2d7e12=_0x2d7e();return _0x2238=function(_0x223883,_0xa234db){_0x223883=_0x223883-0x1d1;var _0x3e3dd2=_0x2d7e12[_0x223883];return _0x3e3dd2;},_0x2238(_0xe3e51d,_0x2d816f);}export function isAncestor(_0x71c3d8,_0x418e53){var _0x31c995=_0x2238;return _0x37a35a(_0x71c3d8[_0x31c995(0x1d6)])[_0x31c995(0x1d1)](_0x418e53);}function _0x2d7e(){var _0x1360f5=['includes','704AlBHwk','574870WgkYtK','4082220FKgTfC','4153884pTOVJa','target','1109512nZyDVL','5IjzsgL','908CZFcfo','12582mEeZTo','2670PLUyyW','613521pRjWTK'];_0x2d7e=function(){return _0x1360f5;};return _0x2d7e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x124987=_0x23b6;function _0x2740(){var _0x33d5ed=['3837792AVGwYh','5MfFPnB','upload','getInfo','71931XiaBXO','16BySRqz','6500515DALGtn','1772690LUfFYD','8642416wSwNzr','42224963mmcxSD','27565TlnMiB','auto','9OLjnHK','96tHUZiJ'];_0x2740=function(){return _0x33d5ed;};return _0x2740();}(function(_0x2d4812,_0x2b30cd){var _0x1b129a=_0x23b6,_0x5484d6=_0x2d4812();while(!![]){try{var _0x12e0cb=-parseInt(_0x1b129a(0xc2))/0x1*(-parseInt(_0x1b129a(0xcb))/0x2)+-parseInt(_0x1b129a(0xca))/0x3*(parseInt(_0x1b129a(0xc5))/0x4)+-parseInt(_0x1b129a(0xc7))/0x5*(parseInt(_0x1b129a(0xc6))/0x6)+-parseInt(_0x1b129a(0xcc))/0x7+-parseInt(_0x1b129a(0xce))/0x8+parseInt(_0x1b129a(0xc4))/0x9*(-parseInt(_0x1b129a(0xcd))/0xa)+parseInt(_0x1b129a(0xc1))/0xb;if(_0x12e0cb===_0x2b30cd)break;else _0x5484d6['push'](_0x5484d6['shift']());}catch(_0x369b9c){_0x5484d6['push'](_0x5484d6['shift']());}}}(_0x2740,0xa09c1));function _0x23b6(_0xe8d27,_0x57344a){var _0x2740a7=_0x2740();return _0x23b6=function(_0x23b68b,_0x3f5f6d){_0x23b68b=_0x23b68b-0xc1;var _0x6a2071=_0x2740a7[_0x23b68b];return _0x6a2071;},_0x23b6(_0xe8d27,_0x57344a);}import{uploadFile as _0xa127da,info as _0x26cfb3}from'@uploadcare/upload-client';export class UploadUtils{static[_0x124987(0xc8)]({file:_0xbd269,publicKey:_0x3ba219,signal:_0x5e4598,onProgress:_0x4618ce}){var _0x4f5bec=_0x124987;return _0xa127da(_0xbd269,{'publicKey':_0x3ba219,'store':_0x4f5bec(0xc3),'signal':_0x5e4598,'onProgress':_0x4618ce});}static[_0x124987(0xc9)](_0x35fea8,_0xb27c2d){return _0x26cfb3(_0x35fea8,_0xb27c2d);}}
23
+ var _0x35c140=_0x5aab;(function(_0x4af775,_0x4c400e){var _0x25c1e7=_0x5aab,_0xe6c70c=_0x4af775();while(!![]){try{var _0x556933=-parseInt(_0x25c1e7(0xb9))/0x1+-parseInt(_0x25c1e7(0xb6))/0x2*(-parseInt(_0x25c1e7(0xbd))/0x3)+-parseInt(_0x25c1e7(0xb8))/0x4+parseInt(_0x25c1e7(0xb7))/0x5*(-parseInt(_0x25c1e7(0xba))/0x6)+parseInt(_0x25c1e7(0xbc))/0x7+parseInt(_0x25c1e7(0xb3))/0x8+parseInt(_0x25c1e7(0xb5))/0x9;if(_0x556933===_0x4c400e)break;else _0xe6c70c['push'](_0xe6c70c['shift']());}catch(_0x3dd7e8){_0xe6c70c['push'](_0xe6c70c['shift']());}}}(_0x3642,0x9054f));import{uploadFile as _0x37a0af,info as _0x455fad}from'@uploadcare/upload-client';function _0x5aab(_0x3e2ca3,_0x564e6e){var _0x364222=_0x3642();return _0x5aab=function(_0x5aab98,_0x9d634f){_0x5aab98=_0x5aab98-0xb3;var _0x2bad9f=_0x364222[_0x5aab98];return _0x2bad9f;},_0x5aab(_0x3e2ca3,_0x564e6e);}function _0x3642(){var _0x3816e2=['249586SYbZeH','1173045zmNDQt','4493924MnIynw','207209xfPFem','18Afwrng','getInfo','8146243xiubGX','15hVXSmy','upload','5951536mgawsp','auto','846396AkSFHD'];_0x3642=function(){return _0x3816e2;};return _0x3642();}export class UploadUtils{static[_0x35c140(0xbe)]({file:_0x2577f8,publicKey:_0x4ba35c,signal:_0x2c54ed,onProgress:_0x379a88}){var _0x335da8=_0x35c140;return _0x37a0af(_0x2577f8,{'publicKey':_0x4ba35c,'store':_0x335da8(0xb4),'signal':_0x2c54ed,'onProgress':_0x379a88});}static[_0x35c140(0xbb)](_0x49e5fd,_0x5822ce){return _0x455fad(_0x49e5fd,_0x5822ce);}}