@ckeditor/ckeditor5-uploadcare 47.7.0-alpha.4 → 47.7.0

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 _0x5c4c3a,View as _0x49fec4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x49fec4{constructor(_0x2aeb08){super(_0x2aeb08);const t=_0x2aeb08['t'],_0x4f3e21=this['bindTemplate'],_0x58b3e6=new _0x5c4c3a();_0x58b3e6['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':[_0x58b3e6,{'text':_0x4f3e21['to']('imageUploadProgress',_0x3b1c77=>t('Loading\x20image...')+'\x20('+(_0x3b1c77||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 _0x5a0893,View as _0x10dd90}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x10dd90{constructor(_0x352c2b){super(_0x352c2b);const t=_0x352c2b['t'],_0x5c4dca=this['bindTemplate'],_0x355d20=new _0x5a0893();_0x355d20['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':[_0x355d20,{'text':_0x5c4dca['to']('imageUploadProgress',_0x419d15=>t('Loading\x20image...')+'\x20('+(_0x419d15||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 _0xbd67a0=_0x4f93;(function(_0x177622,_0x3bbd52){const _0x3fbea8=_0x4f93,_0xf87666=_0x177622();while(!![]){try{const _0x44b6cc=parseInt(_0x3fbea8(0x118))/0x1+-parseInt(_0x3fbea8(0x117))/0x2*(-parseInt(_0x3fbea8(0x130))/0x3)+-parseInt(_0x3fbea8(0x12d))/0x4+parseInt(_0x3fbea8(0x146))/0x5+-parseInt(_0x3fbea8(0x13c))/0x6*(-parseInt(_0x3fbea8(0x12e))/0x7)+parseInt(_0x3fbea8(0x12b))/0x8+parseInt(_0x3fbea8(0x119))/0x9*(-parseInt(_0x3fbea8(0x143))/0xa);if(_0x44b6cc===_0x3bbd52)break;else _0xf87666['push'](_0xf87666['shift']());}catch(_0xf5ec9b){_0xf87666['push'](_0xf87666['shift']());}}}(_0xe752,0x54fa2));import{View as _0x3cdbfd}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x369f23}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3eb06e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x421890}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3b7d7c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4f93(_0x29410d,_0x329f9f){const _0xe75256=_0xe752();return _0x4f93=function(_0x4f9365,_0x3632bd){_0x4f9365=_0x4f9365-0x113;let _0x2bac70=_0xe75256[_0x4f9365];return _0x2bac70;},_0x4f93(_0x29410d,_0x329f9f);}export class UploadcareImageEditFormView extends _0x3b7d7c{[_0xbd67a0(0x134)];[_0xbd67a0(0x11b)];[_0xbd67a0(0x147)];[_0xbd67a0(0x11e)];[_0xbd67a0(0x13f)];constructor(_0x11a785,_0x6abd29,_0x58286f){const _0x9c32ec=_0xbd67a0;super(_0x11a785),this[_0x9c32ec(0x134)]=this[_0x9c32ec(0x135)](),this[_0x9c32ec(0x11b)]=new _0x369f23(_0x11a785),this[_0x9c32ec(0x147)]=new _0x3eb06e(_0x11a785),this[_0x9c32ec(0x11e)]=new _0x421890(_0x11a785,_0x58286f),this[_0x9c32ec(0x13f)]=new _0x3cdbfd(_0x11a785),this[_0x9c32ec(0x13f)][_0x9c32ec(0x127)](this[_0x9c32ec(0x124)]()),this[_0x9c32ec(0x137)](_0x9c32ec(0x148),_0x6abd29),this[_0x9c32ec(0x127)]({'tag':_0x9c32ec(0x11d),'attributes':{'class':['ck',_0x9c32ec(0x13b),_0x9c32ec(0x13a)],'tabindex':'-1'},'children':this[_0x9c32ec(0x134)]}),this[_0x9c32ec(0x129)](),this[_0x9c32ec(0x13e)](_0x9c32ec(0x141),()=>{const _0x59a450=_0x9c32ec;this[_0x59a450(0x125)](this[_0x59a450(0x139)],_0x2722c8=>{const _0x1d1529=_0x59a450;this[_0x1d1529(0x116)](_0x2722c8);});}),this['on'](_0x9c32ec(0x12a),()=>{const _0x57876c=_0x9c32ec;this[_0x57876c(0x129)]();}),this[_0x9c32ec(0x131)]();}[_0xbd67a0(0x136)](){const _0x24e265=_0xbd67a0;this[_0x24e265(0x139)][_0x24e265(0x136)]();}[_0xbd67a0(0x129)](){const _0x1fb741=_0xbd67a0;switch(this[_0x1fb741(0x134)][_0x1fb741(0x12c)](),this[_0x1fb741(0x148)]){case _0x1fb741(0x144):this[_0x1fb741(0x134)][_0x1fb741(0x114)](this[_0x1fb741(0x11b)]);break;case _0x1fb741(0x142):this[_0x1fb741(0x134)][_0x1fb741(0x114)](this[_0x1fb741(0x147)]);break;case _0x1fb741(0x11f):this[_0x1fb741(0x134)][_0x1fb741(0x149)]([this[_0x1fb741(0x11e)],this[_0x1fb741(0x13f)]]);}}[_0xbd67a0(0x125)](_0x5530d4,_0x47af83){const _0x4f127c=_0xbd67a0,_0x20d5f2=_0x4f127c(0x113),_0x324c49=_0x5530d4[_0x4f127c(0x133)](_0x20d5f2);if(_0x324c49)return _0x47af83(_0x324c49);const _0x14d44d=new MutationObserver(_0x37672f=>{const _0x27dfdb=_0x4f127c,_0x18d68b=_0x37672f[_0x27dfdb(0x126)](_0x3c9d1d=>_0x3c9d1d[_0x27dfdb(0x11a)]===_0x5530d4&&_0x3c9d1d[_0x27dfdb(0x115)][_0x27dfdb(0x12f)]>0x0&&_0x3c9d1d[_0x27dfdb(0x115)][0x0][_0x27dfdb(0x11c)][_0x27dfdb(0x121)]()===_0x20d5f2);_0x18d68b[_0x27dfdb(0x12f)]&&(_0x14d44d[_0x27dfdb(0x128)](),_0x47af83(_0x18d68b[0x0][_0x27dfdb(0x115)][0x0]));});_0x14d44d[_0x4f127c(0x123)](_0x5530d4,{'childList':!0x0,'subtree':!0x0});}[_0xbd67a0(0x116)](_0x20a6b4){const _0x192a10=_0xbd67a0;_0x20a6b4[_0x192a10(0x120)](_0x192a10(0x145),_0x447919=>{const _0x519092=_0x192a10;this[_0x519092(0x132)](_0x519092(0x145),{'imageSrc':_0x447919[_0x519092(0x13d)][_0x519092(0x140)]});}),_0x20a6b4[_0x192a10(0x120)](_0x192a10(0x122),()=>{const _0xf39c31=_0x192a10;this[_0xf39c31(0x132)](_0xf39c31(0x122));});}[_0xbd67a0(0x131)](){const _0x326ca5=_0xbd67a0;this[_0x326ca5(0x147)]['on'](_0x326ca5(0x138),()=>{const _0x4ade19=_0x326ca5;this[_0x4ade19(0x132)](_0x4ade19(0x138));});}}function _0xe752(){const _0x36a91b=['48727yFJKig','length','60TAVMxo','_addErrorViewListeners','fire','querySelector','_items','createCollection','focus','set','retry','element','ck-uploadcare-form','ck-reset_all-excluded','84uuAfdh','detail','once','_focusableView','cdnUrl','render','error','7690iaPWyl','uploading','apply','1237330LKNpsY','_errorView','status','addMany','uc-cloud-image-editor','add','addedNodes','_addUploadcareImageEditorListeners','27856VlTCQi','364644XCJDlB','8469wXUfCA','target','_loadingView','nodeName','div','_editingView','ready','addEventListener','toLowerCase','cancel','observe','getFocusableElement','_waitForImageEditorComponent','filter','setTemplate','disconnect','_setView','change:status','5340264WiBwug','clear','2335848MwhEFl'];_0xe752=function(){return _0x36a91b;};return _0xe752();}
23
+ const _0xae13e0=_0x66ce;function _0x66ce(_0x11ba4b,_0x1469c3){const _0x5b0a99=_0x5b0a();return _0x66ce=function(_0x66ce32,_0x251ee4){_0x66ce32=_0x66ce32-0x178;let _0x5beabe=_0x5b0a99[_0x66ce32];return _0x5beabe;},_0x66ce(_0x11ba4b,_0x1469c3);}(function(_0x3f1adc,_0x2f4213){const _0x5edc00=_0x66ce,_0x47cc65=_0x3f1adc();while(!![]){try{const _0x1a008f=-parseInt(_0x5edc00(0x179))/0x1*(-parseInt(_0x5edc00(0x17c))/0x2)+parseInt(_0x5edc00(0x185))/0x3+parseInt(_0x5edc00(0x178))/0x4+parseInt(_0x5edc00(0x1a4))/0x5*(parseInt(_0x5edc00(0x18e))/0x6)+-parseInt(_0x5edc00(0x19b))/0x7*(parseInt(_0x5edc00(0x1a8))/0x8)+parseInt(_0x5edc00(0x193))/0x9+-parseInt(_0x5edc00(0x18d))/0xa*(parseInt(_0x5edc00(0x183))/0xb);if(_0x1a008f===_0x2f4213)break;else _0x47cc65['push'](_0x47cc65['shift']());}catch(_0x56efdf){_0x47cc65['push'](_0x47cc65['shift']());}}}(_0x5b0a,0x24221));import{View as _0x52c7e1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3fc0ad}from'./uploadcareimageeditformloadingview.js';function _0x5b0a(){const _0x239610=['42qlnmsD','length','set','error','querySelector','fire','cdnUrl','ready','addMany','109230FiXhRQ','observe','change:status','cancel','298808NvFVfp','status','clear','setTemplate','target','add','_editingView','_items','803464dJItFZ','45665oozRzj','ck-uploadcare-form','div','10TGeHvR','nodeName','toLowerCase','getFocusableElement','ck-reset_all-excluded','disconnect','_waitForImageEditorComponent','2303653HlzwLd','createCollection','542514UXiMPi','uc-cloud-image-editor','_focusableView','filter','_loadingView','detail','once','render','30NrhLYl','78ObuoKI','addedNodes','uploading','retry','_setView','957141tKdYFO','element','_addUploadcareImageEditorListeners','_addErrorViewListeners','apply','focus','_errorView','addEventListener'];_0x5b0a=function(){return _0x239610;};return _0x5b0a();}import{UploadcareImageEditFormErrorView as _0x170931}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x8e0536}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x302125}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x302125{[_0xae13e0(0x1af)];[_0xae13e0(0x189)];[_0xae13e0(0x199)];[_0xae13e0(0x1ae)];[_0xae13e0(0x187)];constructor(_0x587eef,_0x3c66f4,_0xe48bb8){const _0x5f43c9=_0xae13e0;super(_0x587eef),this[_0x5f43c9(0x1af)]=this[_0x5f43c9(0x184)](),this[_0x5f43c9(0x189)]=new _0x3fc0ad(_0x587eef),this[_0x5f43c9(0x199)]=new _0x170931(_0x587eef),this[_0x5f43c9(0x1ae)]=new _0x8e0536(_0x587eef,_0xe48bb8),this[_0x5f43c9(0x187)]=new _0x52c7e1(_0x587eef),this[_0x5f43c9(0x187)][_0x5f43c9(0x1ab)](this[_0x5f43c9(0x17f)]()),this[_0x5f43c9(0x19d)](_0x5f43c9(0x1a9),_0x3c66f4),this[_0x5f43c9(0x1ab)]({'tag':_0x5f43c9(0x17b),'attributes':{'class':['ck',_0x5f43c9(0x180),_0x5f43c9(0x17a)],'tabindex':'-1'},'children':this[_0x5f43c9(0x1af)]}),this[_0x5f43c9(0x192)](),this[_0x5f43c9(0x18b)](_0x5f43c9(0x18c),()=>{const _0x1d4928=_0x5f43c9;this[_0x1d4928(0x182)](this[_0x1d4928(0x194)],_0x397858=>{const _0xdf927c=_0x1d4928;this[_0xdf927c(0x195)](_0x397858);});}),this['on'](_0x5f43c9(0x1a6),()=>{const _0x202185=_0x5f43c9;this[_0x202185(0x192)]();}),this[_0x5f43c9(0x196)]();}[_0xae13e0(0x198)](){const _0x103c10=_0xae13e0;this[_0x103c10(0x194)][_0x103c10(0x198)]();}[_0xae13e0(0x192)](){const _0x18f12c=_0xae13e0;switch(this[_0x18f12c(0x1af)][_0x18f12c(0x1aa)](),this[_0x18f12c(0x1a9)]){case _0x18f12c(0x190):this[_0x18f12c(0x1af)][_0x18f12c(0x1ad)](this[_0x18f12c(0x189)]);break;case _0x18f12c(0x19e):this[_0x18f12c(0x1af)][_0x18f12c(0x1ad)](this[_0x18f12c(0x199)]);break;case _0x18f12c(0x1a2):this[_0x18f12c(0x1af)][_0x18f12c(0x1a3)]([this[_0x18f12c(0x1ae)],this[_0x18f12c(0x187)]]);}}[_0xae13e0(0x182)](_0x46bb6d,_0x579ce2){const _0x5a28f8=_0xae13e0,_0xc72b0f=_0x5a28f8(0x186),_0x355f76=_0x46bb6d[_0x5a28f8(0x19f)](_0xc72b0f);if(_0x355f76)return _0x579ce2(_0x355f76);const _0x78a854=new MutationObserver(_0x4934bf=>{const _0x4a3add=_0x5a28f8,_0x549d2f=_0x4934bf[_0x4a3add(0x188)](_0x99d5c8=>_0x99d5c8[_0x4a3add(0x1ac)]===_0x46bb6d&&_0x99d5c8[_0x4a3add(0x18f)][_0x4a3add(0x19c)]>0x0&&_0x99d5c8[_0x4a3add(0x18f)][0x0][_0x4a3add(0x17d)][_0x4a3add(0x17e)]()===_0xc72b0f);_0x549d2f[_0x4a3add(0x19c)]&&(_0x78a854[_0x4a3add(0x181)](),_0x579ce2(_0x549d2f[0x0][_0x4a3add(0x18f)][0x0]));});_0x78a854[_0x5a28f8(0x1a5)](_0x46bb6d,{'childList':!0x0,'subtree':!0x0});}[_0xae13e0(0x195)](_0xa7eb68){const _0x1e3e01=_0xae13e0;_0xa7eb68[_0x1e3e01(0x19a)](_0x1e3e01(0x197),_0x287b6b=>{const _0x46b246=_0x1e3e01;this[_0x46b246(0x1a0)](_0x46b246(0x197),{'imageSrc':_0x287b6b[_0x46b246(0x18a)][_0x46b246(0x1a1)]});}),_0xa7eb68[_0x1e3e01(0x19a)](_0x1e3e01(0x1a7),()=>{const _0x4dd5d3=_0x1e3e01;this[_0x4dd5d3(0x1a0)](_0x4dd5d3(0x1a7));});}[_0xae13e0(0x196)](){const _0x1fc929=_0xae13e0;this[_0x1fc929(0x199)]['on'](_0x1fc929(0x191),()=>{const _0x2244ba=_0x1fc929;this[_0x2244ba(0x1a0)](_0x2244ba(0x191));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f0b(){const _0x4873d7=['600360BLwMqJ','_isEditable','120692YBGtOR','document','18XIkcly','275541OxnzWV','2236YgfqNw','unbind','getSelectedElement','300sdmDFP','refresh','imageBlock','217YKltlk','set','selection','get','plugins','bind','editor','3370NSenIa','9654nHNvuF','execute','model','isActive','imageEditController','72OdQRom','8503vjcgeV','17983008TdZlbq','config','imageInline','uploadcare.allowExternalImagesEditing','requires','element','isEnabled'];_0x3f0b=function(){return _0x4873d7;};return _0x3f0b();}const _0x30dc75=_0x876d;(function(_0x173b15,_0x3ec937){const _0x430f57=_0x876d,_0x57ae06=_0x173b15();while(!![]){try{const _0x50647e=parseInt(_0x430f57(0x9d))/0x1*(-parseInt(_0x430f57(0x9c))/0x2)+-parseInt(_0x430f57(0x88))/0x3+parseInt(_0x430f57(0x89))/0x4*(-parseInt(_0x430f57(0x96))/0x5)+parseInt(_0x430f57(0x97))/0x6*(-parseInt(_0x430f57(0x8f))/0x7)+-parseInt(_0x430f57(0xa5))/0x8*(parseInt(_0x430f57(0x87))/0x9)+parseInt(_0x430f57(0x8c))/0xa*(-parseInt(_0x430f57(0xa7))/0xb)+parseInt(_0x430f57(0x9e))/0xc;if(_0x50647e===_0x3ec937)break;else _0x57ae06['push'](_0x57ae06['shift']());}catch(_0x409d33){_0x57ae06['push'](_0x57ae06['shift']());}}}(_0x3f0b,0x2f8ae));import{Command as _0x13f122}from'ckeditor5/src/core.js';import{Dialog as _0x37a981}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3e6c25}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x47fe7f}from'../utils/editingutils.js';function _0x876d(_0x14e583,_0x2c5078){const _0x3f0bbc=_0x3f0b();return _0x876d=function(_0x876d93,_0x40da3d){_0x876d93=_0x876d93-0x87;let _0xb8ba9a=_0x3f0bbc[_0x876d93];return _0xb8ba9a;},_0x876d(_0x14e583,_0x2c5078);}export class UploadcareImageEditCommand extends _0x13f122{[_0x30dc75(0x9b)];static get[_0x30dc75(0xa2)](){return[_0x37a981];}[_0x30dc75(0xa6)];constructor(_0x355da4){const _0x3a57c8=_0x30dc75;super(_0x355da4),this[_0x3a57c8(0x9b)]=void 0x0,this[_0x3a57c8(0xa6)]=_0x47fe7f(_0x355da4[_0x3a57c8(0x9f)][_0x3a57c8(0x92)](_0x3a57c8(0xa1))||[]),this[_0x3a57c8(0x90)]({'isActive':!0x1});}[_0x30dc75(0x8d)](){const _0x4e3f6e=_0x30dc75,_0x286fa6=this[_0x4e3f6e(0x95)][_0x4e3f6e(0x99)][_0x4e3f6e(0xa8)][_0x4e3f6e(0x91)][_0x4e3f6e(0x8b)]();this[_0x4e3f6e(0xa4)]=this[_0x4e3f6e(0xa6)](_0x286fa6);}[_0x30dc75(0x98)](){const _0x4c77b0=_0x30dc75;this[_0x4c77b0(0x9b)]&&(this[_0x4c77b0(0x8a)](_0x4c77b0(0x9a)),this[_0x4c77b0(0x9b)]=void 0x0);const _0x28bd6b=this[_0x4c77b0(0x95)][_0x4c77b0(0x99)][_0x4c77b0(0xa8)][_0x4c77b0(0x91)][_0x4c77b0(0x8b)]();_0x28bd6b&&(_0x28bd6b['is'](_0x4c77b0(0xa3),_0x4c77b0(0x8e))||_0x28bd6b['is'](_0x4c77b0(0xa3),_0x4c77b0(0xa0)))&&(this[_0x4c77b0(0x9b)]=new _0x3e6c25(this[_0x4c77b0(0x95)],this[_0x4c77b0(0x95)][_0x4c77b0(0x93)][_0x4c77b0(0x92)](_0x37a981),_0x28bd6b),this[_0x4c77b0(0x94)](_0x4c77b0(0x9a))['to'](this[_0x4c77b0(0x9b)],_0x4c77b0(0x9a)));}}
23
+ const _0x329fac=_0x2dce;(function(_0x28405d,_0x1f1382){const _0xf8a1aa=_0x2dce,_0x2185f0=_0x28405d();while(!![]){try{const _0x4b67f9=parseInt(_0xf8a1aa(0xa8))/0x1*(parseInt(_0xf8a1aa(0xb6))/0x2)+parseInt(_0xf8a1aa(0xaf))/0x3*(parseInt(_0xf8a1aa(0xbb))/0x4)+-parseInt(_0xf8a1aa(0xb7))/0x5*(-parseInt(_0xf8a1aa(0xab))/0x6)+parseInt(_0xf8a1aa(0xb1))/0x7+-parseInt(_0xf8a1aa(0xaa))/0x8+-parseInt(_0xf8a1aa(0xbd))/0x9*(-parseInt(_0xf8a1aa(0xae))/0xa)+-parseInt(_0xf8a1aa(0xb9))/0xb*(-parseInt(_0xf8a1aa(0xb2))/0xc);if(_0x4b67f9===_0x1f1382)break;else _0x2185f0['push'](_0x2185f0['shift']());}catch(_0x366c87){_0x2185f0['push'](_0x2185f0['shift']());}}}(_0x2cc3,0x7a900));function _0x2dce(_0x1bc9be,_0x3ded38){const _0x2cc300=_0x2cc3();return _0x2dce=function(_0x2dce15,_0x36e986){_0x2dce15=_0x2dce15-0xa2;let _0x572c76=_0x2cc300[_0x2dce15];return _0x572c76;},_0x2dce(_0x1bc9be,_0x3ded38);}import{Command as _0x51970f}from'ckeditor5/src/core.js';import{Dialog as _0x382c12}from'ckeditor5/src/ui.js';function _0x2cc3(){const _0x309634=['2hUVLkj','5dWxeCJ','bind','318043hVRDGC','get','8jpAJCC','set','424638BYgfEu','element','document','selection','uploadcare.allowExternalImagesEditing','isActive','refresh','imageBlock','config','getSelectedElement','model','editor','unbind','60667EnjLrX','_isEditable','5151112byOEej','1557276pBCggp','isEnabled','requires','20fUwRju','429102mYoIsM','imageInline','688128YDfjLF','144FPJVWO','plugins','execute','imageEditController'];_0x2cc3=function(){return _0x309634;};return _0x2cc3();}import{UploadcareImageEditController as _0x3b3818}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2572ae}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x51970f{[_0x329fac(0xb5)];static get[_0x329fac(0xad)](){return[_0x382c12];}[_0x329fac(0xa9)];constructor(_0xe1ec23){const _0x508665=_0x329fac;super(_0xe1ec23),this[_0x508665(0xb5)]=void 0x0,this[_0x508665(0xa9)]=_0x2572ae(_0xe1ec23[_0x508665(0xa3)][_0x508665(0xba)](_0x508665(0xc1))||[]),this[_0x508665(0xbc)]({'isActive':!0x1});}[_0x329fac(0xc3)](){const _0x230acc=_0x329fac,_0x39099e=this[_0x230acc(0xa6)][_0x230acc(0xa5)][_0x230acc(0xbf)][_0x230acc(0xc0)][_0x230acc(0xa4)]();this[_0x230acc(0xac)]=this[_0x230acc(0xa9)](_0x39099e);}[_0x329fac(0xb4)](){const _0x4fbd7c=_0x329fac;this[_0x4fbd7c(0xb5)]&&(this[_0x4fbd7c(0xa7)](_0x4fbd7c(0xc2)),this[_0x4fbd7c(0xb5)]=void 0x0);const _0x3bca8d=this[_0x4fbd7c(0xa6)][_0x4fbd7c(0xa5)][_0x4fbd7c(0xbf)][_0x4fbd7c(0xc0)][_0x4fbd7c(0xa4)]();_0x3bca8d&&(_0x3bca8d['is'](_0x4fbd7c(0xbe),_0x4fbd7c(0xa2))||_0x3bca8d['is'](_0x4fbd7c(0xbe),_0x4fbd7c(0xb0)))&&(this[_0x4fbd7c(0xb5)]=new _0x3b3818(this[_0x4fbd7c(0xa6)],this[_0x4fbd7c(0xa6)][_0x4fbd7c(0xb3)][_0x4fbd7c(0xba)](_0x382c12),_0x3bca8d),this[_0x4fbd7c(0xb8)](_0x4fbd7c(0xc2))['to'](this[_0x4fbd7c(0xb5)],_0x4fbd7c(0xc2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x170c4b=_0x29fe;(function(_0x53edf1,_0x30cbb7){const _0x440e48=_0x29fe,_0x54509c=_0x53edf1();while(!![]){try{const _0x1a0667=parseInt(_0x440e48(0x9d))/0x1*(-parseInt(_0x440e48(0x8e))/0x2)+-parseInt(_0x440e48(0x98))/0x3*(parseInt(_0x440e48(0x94))/0x4)+parseInt(_0x440e48(0x95))/0x5*(parseInt(_0x440e48(0x8b))/0x6)+-parseInt(_0x440e48(0x8f))/0x7*(parseInt(_0x440e48(0x99))/0x8)+parseInt(_0x440e48(0x9a))/0x9+-parseInt(_0x440e48(0x9e))/0xa+-parseInt(_0x440e48(0x9f))/0xb;if(_0x1a0667===_0x30cbb7)break;else _0x54509c['push'](_0x54509c['shift']());}catch(_0x3d2a78){_0x54509c['push'](_0x54509c['shift']());}}}(_0x4dd9,0x31b3a));function _0x4dd9(){const _0x4fb76e=['52166pAPRcy','21xezCVf','pluginName','isPremiumPlugin','init','add','4RsCWmp','1869470VdOKhx','uploadcareImageReplace','uploadcareImageEdit','333075nydmia','354824IhDfVl','3226635wGiFCT','commands','requires','3fzcalb','186560AiKJhD','2066262lyCfUk','ImageEditing','isOfficialPlugin','6AynnPM','ImageUtils','UploadcareImageEditEditing'];_0x4dd9=function(){return _0x4fb76e;};return _0x4dd9();}import{Plugin as _0x4f5e28}from'ckeditor5/src/core.js';import{Notification as _0x3fa8cc}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1d7406}from'./uploadcareimageeditcommand.js';function _0x29fe(_0x587cdb,_0x4961d5){const _0x4dd9d5=_0x4dd9();return _0x29fe=function(_0x29fee2,_0x12b7c6){_0x29fee2=_0x29fee2-0x89;let _0x353d85=_0x4dd9d5[_0x29fee2];return _0x353d85;},_0x29fe(_0x587cdb,_0x4961d5);}import{UploadcareImageReplaceCommand as _0x2a074c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1d8c53}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4f5e28{static get[_0x170c4b(0x90)](){const _0xf08fae=_0x170c4b;return _0xf08fae(0x8d);}static get[_0x170c4b(0x9c)](){const _0x25568a=_0x170c4b;return[_0x1d8c53,_0x3fa8cc,_0x25568a(0x8c),_0x25568a(0x89)];}static get[_0x170c4b(0x8a)](){return!0x0;}static get[_0x170c4b(0x91)](){return!0x0;}[_0x170c4b(0x92)](){const _0x350269=_0x170c4b,{editor:_0x4879c3}=this;_0x4879c3[_0x350269(0x9b)][_0x350269(0x93)](_0x350269(0x97),new _0x1d7406(_0x4879c3)),_0x4879c3[_0x350269(0x9b)][_0x350269(0x93)](_0x350269(0x96),new _0x2a074c(_0x4879c3));}}
23
+ const _0x4095e4=_0x41de;(function(_0x354365,_0x35877e){const _0x25cbe8=_0x41de,_0x2fcde8=_0x354365();while(!![]){try{const _0x5ef38b=parseInt(_0x25cbe8(0x1ac))/0x1*(parseInt(_0x25cbe8(0x1b5))/0x2)+parseInt(_0x25cbe8(0x1bf))/0x3+-parseInt(_0x25cbe8(0x1b9))/0x4+-parseInt(_0x25cbe8(0x1bd))/0x5*(-parseInt(_0x25cbe8(0x1b7))/0x6)+-parseInt(_0x25cbe8(0x1ba))/0x7+-parseInt(_0x25cbe8(0x1b3))/0x8+parseInt(_0x25cbe8(0x1c0))/0x9*(parseInt(_0x25cbe8(0x1b0))/0xa);if(_0x5ef38b===_0x35877e)break;else _0x2fcde8['push'](_0x2fcde8['shift']());}catch(_0x1ddd48){_0x2fcde8['push'](_0x2fcde8['shift']());}}}(_0x9653,0x8d859));import{Plugin as _0x5b9e23}from'ckeditor5/src/core.js';import{Notification as _0x3b145d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x42d627}from'./uploadcareimageeditcommand.js';function _0x41de(_0x5533a2,_0x3d076a){const _0x965302=_0x9653();return _0x41de=function(_0x41dee8,_0x3b5fa8){_0x41dee8=_0x41dee8-0x1ac;let _0x9ec048=_0x965302[_0x41dee8];return _0x9ec048;},_0x41de(_0x5533a2,_0x3d076a);}import{UploadcareImageReplaceCommand as _0x22fef2}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xfc39dc}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5b9e23{static get[_0x4095e4(0x1ae)](){const _0x12c694=_0x4095e4;return _0x12c694(0x1b8);}static get[_0x4095e4(0x1b2)](){const _0x4cf32e=_0x4095e4;return[_0xfc39dc,_0x3b145d,_0x4cf32e(0x1ad),_0x4cf32e(0x1bc)];}static get[_0x4095e4(0x1b1)](){return!0x0;}static get[_0x4095e4(0x1af)](){return!0x0;}[_0x4095e4(0x1c1)](){const _0x17100e=_0x4095e4,{editor:_0x10fafc}=this;_0x10fafc[_0x17100e(0x1bb)][_0x17100e(0x1b4)](_0x17100e(0x1b6),new _0x42d627(_0x10fafc)),_0x10fafc[_0x17100e(0x1bb)][_0x17100e(0x1b4)](_0x17100e(0x1be),new _0x22fef2(_0x10fafc));}}function _0x9653(){const _0x19018f=['5035026JRYimw','UploadcareImageEditEditing','86788byLXKq','6820562vqoTIM','commands','ImageEditing','5vdrSkq','uploadcareImageReplace','453993hGjkWE','2772bnGgPj','init','4TsaWFh','ImageUtils','pluginName','isPremiumPlugin','6640DbnBDd','isOfficialPlugin','requires','2250320CSrWHb','add','331006wwjTJV','uploadcareImageEdit'];_0x9653=function(){return _0x19018f;};return _0x9653();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3fae4d}from'ckeditor5/src/core.js';import{ButtonView as _0xa775f3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x191260}from'ckeditor5/src/icons.js';import{createElement as _0x4fc856}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 _0x3fae4d{['_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 _0x39a755=this['editor'];_0x39a755['ui']['componentFactory']['add']('uploadcareImageEdit',_0x39ae46=>{const _0x4ed4e4=_0x39a755['commands']['get']('uploadcareImageEdit'),_0x26f89f=new _0xa775f3(_0x39ae46),t=_0x39ae46['t'];return _0x26f89f['set']({'icon':_0x191260,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26f89f['bind']('isEnabled')['to'](_0x4ed4e4),_0x26f89f['bind']('isOn')['to'](_0x4ed4e4,'isActive'),this['listenTo'](_0x26f89f,'execute',()=>{_0x39a755['execute']('uploadcareImageEdit'),_0x39a755['editing']['view']['focus']();}),_0x26f89f;}),this['_initConfig']();}['_initConfig'](){const _0x1c2fef=_0x4fc856(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1c2fef),this['listenTo'](this['editor'],'destroy',()=>{_0x1c2fef['remove']();});}}
23
+ import{Plugin as _0x347ee3}from'ckeditor5/src/core.js';import{ButtonView as _0x578d79}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x678f0e}from'ckeditor5/src/icons.js';import{createElement as _0x383f34}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 _0x347ee3{['_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 _0x42d684=this['editor'];_0x42d684['ui']['componentFactory']['add']('uploadcareImageEdit',_0x358637=>{const _0x4f2af6=_0x42d684['commands']['get']('uploadcareImageEdit'),_0xf619f6=new _0x578d79(_0x358637),t=_0x358637['t'];return _0xf619f6['set']({'icon':_0x678f0e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xf619f6['bind']('isEnabled')['to'](_0x4f2af6),_0xf619f6['bind']('isOn')['to'](_0x4f2af6,'isActive'),this['listenTo'](_0xf619f6,'execute',()=>{_0x42d684['execute']('uploadcareImageEdit'),_0x42d684['editing']['view']['focus']();}),_0xf619f6;}),this['_initConfig']();}['_initConfig'](){const _0x1e8dc2=_0x383f34(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e8dc2),this['listenTo'](this['editor'],'destroy',()=>{_0x1e8dc2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20ba(_0x496d0b,_0x775486){var _0x1f293c=_0x1f29();return _0x20ba=function(_0x20ba53,_0x42a552){_0x20ba53=_0x20ba53-0x1af;var _0x1af18c=_0x1f293c[_0x20ba53];return _0x1af18c;},_0x20ba(_0x496d0b,_0x775486);}var _0x2ae6f6=_0x20ba;(function(_0x5936eb,_0x2d4d8){var _0x3635c7=_0x20ba,_0xe8d56e=_0x5936eb();while(!![]){try{var _0x4f4a62=-parseInt(_0x3635c7(0x1b2))/0x1*(parseInt(_0x3635c7(0x1bb))/0x2)+-parseInt(_0x3635c7(0x1af))/0x3+parseInt(_0x3635c7(0x1b4))/0x4*(parseInt(_0x3635c7(0x1bd))/0x5)+parseInt(_0x3635c7(0x1ba))/0x6*(-parseInt(_0x3635c7(0x1b8))/0x7)+-parseInt(_0x3635c7(0x1b6))/0x8+parseInt(_0x3635c7(0x1bf))/0x9+parseInt(_0x3635c7(0x1b9))/0xa;if(_0x4f4a62===_0x2d4d8)break;else _0xe8d56e['push'](_0xe8d56e['shift']());}catch(_0xeab61c){_0xe8d56e['push'](_0xe8d56e['shift']());}}}(_0x1f29,0x676b9));import{FocusTracker as _0x4dc858}from'ckeditor5/src/utils.js';import{View as _0x1276b1,FocusCycler as _0x598b1f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1f29(){var _0x24f760=['fire','5357565lnQEbO','div','focusTracker','2041875ZzhIxi','forwardCycle','createCollection','314zXCpdv','getFocusableElement','2112416mpgpWx','bindTemplate','4921664kejuoo','focusCycler','147HXiIfT','15563370QUGfdN','117636WMagsQ','3494HDKNTu','true','5YNqqGp'];_0x1f29=function(){return _0x24f760;};return _0x1f29();}export class DialogFocusManagerView extends _0x1276b1{[_0x2ae6f6(0x1c1)];[_0x2ae6f6(0x1b7)];constructor(_0x439aa4){var _0x5e95c7=_0x2ae6f6;super(_0x439aa4),this[_0x5e95c7(0x1c1)]=new _0x4dc858(),this[_0x5e95c7(0x1b7)]=new _0x598b1f({'focusables':this[_0x5e95c7(0x1b1)](),'focusTracker':this[_0x5e95c7(0x1c1)]});}[_0x2ae6f6(0x1b3)](){var _0x16c3e4=_0x2ae6f6;return{'tag':_0x16c3e4(0x1c0),'attributes':{'aria-hidden':_0x16c3e4(0x1bc),'tabindex':'0'},'on':{'focus':this[_0x16c3e4(0x1b5)]['to'](()=>{var _0x58a117=_0x16c3e4;this[_0x58a117(0x1b7)][_0x58a117(0x1be)](_0x58a117(0x1b0));})}};}}
23
+ var _0x175155=_0x1545;function _0x1545(_0x105922,_0x422922){var _0x2e72c2=_0x2e72();return _0x1545=function(_0x15458a,_0x51505f){_0x15458a=_0x15458a-0x1d0;var _0x5d32b8=_0x2e72c2[_0x15458a];return _0x5d32b8;},_0x1545(_0x105922,_0x422922);}(function(_0x4d3b0f,_0x547b5b){var _0x4d471e=_0x1545,_0x3b0e3a=_0x4d3b0f();while(!![]){try{var _0x33429d=parseInt(_0x4d471e(0x1e2))/0x1*(-parseInt(_0x4d471e(0x1e0))/0x2)+parseInt(_0x4d471e(0x1d4))/0x3*(-parseInt(_0x4d471e(0x1d7))/0x4)+-parseInt(_0x4d471e(0x1de))/0x5+parseInt(_0x4d471e(0x1dc))/0x6+-parseInt(_0x4d471e(0x1e1))/0x7+parseInt(_0x4d471e(0x1d8))/0x8*(parseInt(_0x4d471e(0x1d5))/0x9)+parseInt(_0x4d471e(0x1d3))/0xa;if(_0x33429d===_0x547b5b)break;else _0x3b0e3a['push'](_0x3b0e3a['shift']());}catch(_0x1e8e38){_0x3b0e3a['push'](_0x3b0e3a['shift']());}}}(_0x2e72,0x82ad4));import{FocusTracker as _0x3dc317}from'ckeditor5/src/utils.js';import{View as _0x5528f2,FocusCycler as _0x4a1d61}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5528f2{[_0x175155(0x1d0)];[_0x175155(0x1d1)];constructor(_0x543a98){var _0x329a4c=_0x175155;super(_0x543a98),this[_0x329a4c(0x1d0)]=new _0x3dc317(),this[_0x329a4c(0x1d1)]=new _0x4a1d61({'focusables':this[_0x329a4c(0x1dd)](),'focusTracker':this[_0x329a4c(0x1d0)]});}[_0x175155(0x1d2)](){var _0x2a1aa9=_0x175155;return{'tag':_0x2a1aa9(0x1d9),'attributes':{'aria-hidden':_0x2a1aa9(0x1df),'tabindex':'0'},'on':{'focus':this[_0x2a1aa9(0x1db)]['to'](()=>{var _0x2ef5b9=_0x2a1aa9;this[_0x2ef5b9(0x1d1)][_0x2ef5b9(0x1d6)](_0x2ef5b9(0x1da));})}};}}function _0x2e72(){var _0x180912=['focusCycler','getFocusableElement','19217350CDzbdr','38844osTaaR','446697rYUcLO','fire','268eCsZaQ','104KNFBdG','div','forwardCycle','bindTemplate','5836248sckPfn','createCollection','5348520hXIOMc','true','2VrCelr','4341449mYtlEL','446993fjpaQn','focusTracker'];_0x2e72=function(){return _0x180912;};return _0x2e72();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x51a3db,_0x10c4c5){const _0x2efe9d=_0x46d7,_0x1ddea8=_0x51a3db();while(!![]){try{const _0x2a0cbe=-parseInt(_0x2efe9d(0x9a))/0x1+-parseInt(_0x2efe9d(0x8d))/0x2+-parseInt(_0x2efe9d(0xae))/0x3*(parseInt(_0x2efe9d(0x88))/0x4)+-parseInt(_0x2efe9d(0x7b))/0x5+-parseInt(_0x2efe9d(0xa7))/0x6+-parseInt(_0x2efe9d(0xa8))/0x7+-parseInt(_0x2efe9d(0x97))/0x8*(-parseInt(_0x2efe9d(0xaa))/0x9);if(_0x2a0cbe===_0x10c4c5)break;else _0x1ddea8['push'](_0x1ddea8['shift']());}catch(_0x26d72){_0x1ddea8['push'](_0x1ddea8['shift']());}}}(_0x2b15,0xb82c8));import{global as _0xc12320,DomEmitterMixin as _0x592949}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x583493){const _0x200dd4=_0x46d7,_0x318361=z(_0x583493);return _0x18bb7f=>!(!_0x18bb7f||!_0x18bb7f['is'](_0x200dd4(0x9e),_0x200dd4(0x84))&&!_0x18bb7f['is'](_0x200dd4(0x9e),_0x200dd4(0x81)))&&(!!_0x18bb7f[_0x200dd4(0x82)](_0x200dd4(0x79))||!!_0x18bb7f[_0x200dd4(0x82)](_0x200dd4(0xac))&&_0x318361(_0x18bb7f[_0x200dd4(0x98)](_0x200dd4(0xac))));}export function getImageUrls(_0x2bdb26,_0x46f5dd){const _0xcf53d4=_0x46d7,_0x50edae=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0xcf53d4(0x83)](_0x398794=>_0x398794<=_0x46f5dd)[_0xcf53d4(0x8c)](_0x546508=>_0x2bdb26[_0xcf53d4(0x93)](/\/$/,'')+_0xcf53d4(0xaf)+_0x546508+_0xcf53d4(0x89)+_0x546508+'w');return{'imageFallbackUrl':_0x2bdb26,'imageSources':[{'srcset':_0x50edae[_0xcf53d4(0x9f)](',\x20'),'sizes':_0xcf53d4(0x92)+_0x46f5dd+_0xcf53d4(0x91)+_0x46f5dd+'px','type':_0xcf53d4(0xa1)}]};}export function getImageDimension(_0x2c1414,_0x28bede,_0x2059b6){const _0x1c6e58=_0x46d7,_0x1d1308=_0x2c1414[_0x1c6e58(0x90)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d1308?parseInt(_0x1d1308[0x1],0xa):_0x28bede,'height':_0x1d1308?parseInt(_0x1d1308[0x2],0xa):_0x2059b6};}export function showImageProcessingIndicator(_0x9e3df0,_0x4e0f0b){const _0x5274eb=_0x46d7,_0x39cdbc=new(_0x592949())(),_0x1db463=_0x9e3df0[_0x5274eb(0xa4)][_0x5274eb(0x8f)](_0x5274eb(0x7f)),_0x1d496f=_0x9e3df0[_0x5274eb(0xa6)][_0x5274eb(0x8e)][_0x5274eb(0x94)](_0x4e0f0b),_0x3afc90=_0x1db463[_0x5274eb(0x7e)](_0x1d496f),_0x40234b=_0x9e3df0[_0x5274eb(0xa6)][_0x5274eb(0x86)][_0x5274eb(0xa0)][_0x5274eb(0xad)](_0x3afc90),_0x446fef=_0x4e0f0b[_0x5274eb(0x98)](_0x5274eb(0x85)),_0x589107=_0x4e0f0b[_0x5274eb(0x98)](_0x5274eb(0x9c)),_0x46b2d3=_0x5274eb(0xab);_0x9e3df0[_0x5274eb(0xa6)][_0x5274eb(0x86)][_0x5274eb(0x7a)](_0x55cdbd=>{const _0x400560=_0x5274eb;_0x55cdbd[_0x400560(0x7d)](_0x46b2d3,_0x1d496f),_0x55cdbd[_0x400560(0x99)](_0x400560(0x95),_0x446fef+'/'+_0x589107,_0x3afc90);}),_0x39cdbc[_0x5274eb(0xa2)](_0x40234b,_0x5274eb(0x87),()=>{const _0x4c8d1a=_0x5274eb;_0x39cdbc[_0x4c8d1a(0x9d)](_0x40234b,_0x4c8d1a(0x87)),_0x9e3df0[_0x4c8d1a(0xa6)][_0x4c8d1a(0x86)][_0x4c8d1a(0x7a)](_0x404714=>{const _0x5eb2cb=_0x4c8d1a;_0x404714[_0x5eb2cb(0x8b)](_0x46b2d3,_0x1d496f),_0x404714[_0x5eb2cb(0xa9)](_0x5eb2cb(0x95),_0x3afc90);});});}function _0x46d7(_0xda7861,_0x3eb0f5){const _0x2b15ae=_0x2b15();return _0x46d7=function(_0x46d765,_0xbaca0f){_0x46d765=_0x46d765-0x79;let _0x544932=_0x2b15ae[_0x46d765];return _0x544932;},_0x46d7(_0xda7861,_0x3eb0f5);}function z(_0x11969a){const _0x3739be=_0x46d7;if(Array[_0x3739be(0x80)](_0x11969a)){const _0x100438=_0x11969a[_0x3739be(0x8c)](z);return _0x177eda=>_0x100438[_0x3739be(0xa3)](_0x3ff98d=>_0x3ff98d(_0x177eda));}if(_0x3739be(0xa5)==_0x11969a){const _0x5b38ae=_0xc12320[_0x3739be(0x7c)][_0x3739be(0xb0)][_0x3739be(0xa5)];return _0x2865de=>new URL(_0x2865de,_0xc12320[_0x3739be(0x9b)][_0x3739be(0x8a)])[_0x3739be(0xa5)]==_0x5b38ae;}return _0x3739be(0x96)==typeof _0x11969a?_0x11969a:_0x11969a instanceof RegExp?_0x5641ab=>!(!_0x5641ab[_0x3739be(0x90)](_0x11969a)&&!_0x5641ab[_0x3739be(0x93)](/^https?:\/\//,'')[_0x3739be(0x90)](_0x11969a)):()=>!0x1;}function _0x2b15(){const _0x57f7af=['plugins','origin','editing','8361600JFTwdF','311213svNoWn','removeStyle','48665259SHgnGa','image-processing','src','viewToDom','9xknHpU','/-/resize/','location','uploadcareImageId','change','5962805IxZBYU','window','addClass','findViewImgElement','ImageUtils','isArray','imageInline','hasAttribute','filter','imageBlock','width','view','load','730684UYhLKB','x/\x20','baseURI','removeClass','map','2914284xpMEDA','mapper','get','match','px)\x20100vw,\x20','(max-width:\x20','replace','toViewElement','aspect-ratio','function','8aqRNTv','getAttribute','setStyle','17100sbUShw','document','height','stopListening','element','join','domConverter','image/webp','listenTo','some'];_0x2b15=function(){return _0x57f7af;};return _0x2b15();}
23
+ (function(_0x569211,_0x213d3d){const _0x408827=_0x106d,_0x20635f=_0x569211();while(!![]){try{const _0x2197ef=parseInt(_0x408827(0xd0))/0x1*(parseInt(_0x408827(0xd1))/0x2)+parseInt(_0x408827(0xbe))/0x3+-parseInt(_0x408827(0xbc))/0x4*(-parseInt(_0x408827(0xab))/0x5)+-parseInt(_0x408827(0xcd))/0x6+-parseInt(_0x408827(0xb4))/0x7+-parseInt(_0x408827(0xac))/0x8+-parseInt(_0x408827(0xcb))/0x9*(-parseInt(_0x408827(0xaa))/0xa);if(_0x2197ef===_0x213d3d)break;else _0x20635f['push'](_0x20635f['shift']());}catch(_0x406517){_0x20635f['push'](_0x20635f['shift']());}}}(_0x3729,0xadca4));function _0x106d(_0x15a40a,_0x225a0d){const _0x3729a9=_0x3729();return _0x106d=function(_0x106dd8,_0x2b16fb){_0x106dd8=_0x106dd8-0xa2;let _0x5c0958=_0x3729a9[_0x106dd8];return _0x5c0958;},_0x106d(_0x15a40a,_0x225a0d);}import{global as _0x17e346,DomEmitterMixin as _0x17507c}from'ckeditor5/src/utils.js';function _0x3729(){const _0x5de489=['editing','879961kQueYX','2SOIoCx','domConverter','function','map','document','hasAttribute','change','px)\x20100vw,\x20','src','join','filter','height','imageInline','get','getAttribute','image-processing','x/\x20','/-/resize/','4900KliRtF','56060YWTdnd','3523232fJUpbV','imageBlock','origin','image/webp','some','addClass','mapper','plugins','1688946RqZZWm','findViewImgElement','width','listenTo','location','isArray','uploadcareImageId','baseURI','20qgnhkC','removeClass','1286352JqmxtE','toViewElement','window','ImageUtils','removeStyle','element','(max-width:\x20','view','match','aspect-ratio','replace','load','setStyle','2169vtboAA','viewToDom','536214vLEzdx','stopListening'];_0x3729=function(){return _0x5de489;};return _0x3729();}export function createEditabilityChecker(_0x3d77e3){const _0x13a734=_0x106d,_0x22e60f=G(_0x3d77e3);return _0x5a1f2f=>!(!_0x5a1f2f||!_0x5a1f2f['is'](_0x13a734(0xc3),_0x13a734(0xad))&&!_0x5a1f2f['is'](_0x13a734(0xc3),_0x13a734(0xa4)))&&(!!_0x5a1f2f[_0x13a734(0xd6)](_0x13a734(0xba))||!!_0x5a1f2f[_0x13a734(0xd6)](_0x13a734(0xd9))&&_0x22e60f(_0x5a1f2f[_0x13a734(0xa6)](_0x13a734(0xd9))));}export function getImageUrls(_0x1fd28b,_0x188527){const _0x1b7f9f=_0x106d,_0x322bfd=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1b7f9f(0xa2)](_0x3c83f6=>_0x3c83f6<=_0x188527)[_0x1b7f9f(0xd4)](_0x128636=>_0x1fd28b[_0x1b7f9f(0xc8)](/\/$/,'')+_0x1b7f9f(0xa9)+_0x128636+_0x1b7f9f(0xa8)+_0x128636+'w');return{'imageFallbackUrl':_0x1fd28b,'imageSources':[{'srcset':_0x322bfd[_0x1b7f9f(0xda)](',\x20'),'sizes':_0x1b7f9f(0xc4)+_0x188527+_0x1b7f9f(0xd8)+_0x188527+'px','type':_0x1b7f9f(0xaf)}]};}export function getImageDimension(_0x3a3ec9,_0x2b70ca,_0x4748a5){const _0x407d45=_0x106d,_0x1d8f66=_0x3a3ec9[_0x407d45(0xc6)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d8f66?parseInt(_0x1d8f66[0x1],0xa):_0x2b70ca,'height':_0x1d8f66?parseInt(_0x1d8f66[0x2],0xa):_0x4748a5};}export function showImageProcessingIndicator(_0x386f00,_0x4ee93c){const _0x56face=_0x106d,_0x1e071a=new(_0x17507c())(),_0x473728=_0x386f00[_0x56face(0xb3)][_0x56face(0xa5)](_0x56face(0xc1)),_0x3b5571=_0x386f00[_0x56face(0xcf)][_0x56face(0xb2)][_0x56face(0xbf)](_0x4ee93c),_0xb38250=_0x473728[_0x56face(0xb5)](_0x3b5571),_0x15d5d0=_0x386f00[_0x56face(0xcf)][_0x56face(0xc5)][_0x56face(0xd2)][_0x56face(0xcc)](_0xb38250),_0x3d3213=_0x4ee93c[_0x56face(0xa6)](_0x56face(0xb6)),_0x5d25a9=_0x4ee93c[_0x56face(0xa6)](_0x56face(0xa3)),_0x4b9f20=_0x56face(0xa7);_0x386f00[_0x56face(0xcf)][_0x56face(0xc5)][_0x56face(0xd7)](_0x4a67c1=>{const _0x72bd2c=_0x56face;_0x4a67c1[_0x72bd2c(0xb1)](_0x4b9f20,_0x3b5571),_0x4a67c1[_0x72bd2c(0xca)](_0x72bd2c(0xc7),_0x3d3213+'/'+_0x5d25a9,_0xb38250);}),_0x1e071a[_0x56face(0xb7)](_0x15d5d0,_0x56face(0xc9),()=>{const _0x233b60=_0x56face;_0x1e071a[_0x233b60(0xce)](_0x15d5d0,_0x233b60(0xc9)),_0x386f00[_0x233b60(0xcf)][_0x233b60(0xc5)][_0x233b60(0xd7)](_0x5c66b0=>{const _0x509af5=_0x233b60;_0x5c66b0[_0x509af5(0xbd)](_0x4b9f20,_0x3b5571),_0x5c66b0[_0x509af5(0xc2)](_0x509af5(0xc7),_0xb38250);});});}function G(_0x53249e){const _0x125de2=_0x106d;if(Array[_0x125de2(0xb9)](_0x53249e)){const _0x1e6636=_0x53249e[_0x125de2(0xd4)](G);return _0x13f84f=>_0x1e6636[_0x125de2(0xb0)](_0x2ab9c4=>_0x2ab9c4(_0x13f84f));}if(_0x125de2(0xae)==_0x53249e){const _0x13ece5=_0x17e346[_0x125de2(0xc0)][_0x125de2(0xb8)][_0x125de2(0xae)];return _0x296f94=>new URL(_0x296f94,_0x17e346[_0x125de2(0xd5)][_0x125de2(0xbb)])[_0x125de2(0xae)]==_0x13ece5;}return _0x125de2(0xd3)==typeof _0x53249e?_0x53249e:_0x53249e instanceof RegExp?_0x40d796=>!(!_0x40d796[_0x125de2(0xc6)](_0x53249e)&&!_0x40d796[_0x125de2(0xc8)](/^https?:\/\//,'')[_0x125de2(0xc6)](_0x53249e)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x496f(_0x84e79c,_0x2a634c){var _0x5623ec=_0x5623();return _0x496f=function(_0x496f64,_0x507216){_0x496f64=_0x496f64-0x118;var _0x5c2be3=_0x5623ec[_0x496f64];return _0x5c2be3;},_0x496f(_0x84e79c,_0x2a634c);}(function(_0x4266af,_0x430074){var _0x2da63d=_0x496f,_0x297f88=_0x4266af();while(!![]){try{var _0x43f226=parseInt(_0x2da63d(0x123))/0x1*(parseInt(_0x2da63d(0x124))/0x2)+parseInt(_0x2da63d(0x11b))/0x3*(parseInt(_0x2da63d(0x122))/0x4)+parseInt(_0x2da63d(0x120))/0x5+-parseInt(_0x2da63d(0x11a))/0x6*(parseInt(_0x2da63d(0x11c))/0x7)+parseInt(_0x2da63d(0x121))/0x8+parseInt(_0x2da63d(0x11d))/0x9+-parseInt(_0x2da63d(0x11e))/0xa*(parseInt(_0x2da63d(0x119))/0xb);if(_0x43f226===_0x430074)break;else _0x297f88['push'](_0x297f88['shift']());}catch(_0x23ff0e){_0x297f88['push'](_0x297f88['shift']());}}}(_0x5623,0x5eb01));import{getAncestors as _0x42d620}from'ckeditor5/src/utils.js';export function isAncestor(_0x1db3a1,_0x5a2305){var _0xfdb8e2=_0x496f;return _0x42d620(_0x1db3a1[_0xfdb8e2(0x11f)])[_0xfdb8e2(0x118)](_0x5a2305);}function _0x5623(){var _0x2dbcdf=['3485175sSLRSM','1092312CLWKBz','14488LfhpmR','69MCiBCv','2408YXCToS','includes','9522799QNskTU','6hhnIVT','141wFFlrw','1492421ceqHJE','3418821WvnVoc','10Qlqzqa','target'];_0x5623=function(){return _0x2dbcdf;};return _0x5623();}
23
+ (function(_0x21bbe3,_0x38433b){var _0x3d3898=_0x45d4,_0x35134b=_0x21bbe3();while(!![]){try{var _0x147c7f=parseInt(_0x3d3898(0x119))/0x1+parseInt(_0x3d3898(0x11a))/0x2+parseInt(_0x3d3898(0x11f))/0x3+-parseInt(_0x3d3898(0x11e))/0x4+parseInt(_0x3d3898(0x122))/0x5*(parseInt(_0x3d3898(0x118))/0x6)+parseInt(_0x3d3898(0x11b))/0x7*(-parseInt(_0x3d3898(0x121))/0x8)+-parseInt(_0x3d3898(0x11c))/0x9;if(_0x147c7f===_0x38433b)break;else _0x35134b['push'](_0x35134b['shift']());}catch(_0x257b5b){_0x35134b['push'](_0x35134b['shift']());}}}(_0x369f,0xa7314));import{getAncestors as _0x256c42}from'ckeditor5/src/utils.js';function _0x369f(){var _0x174ee4=['target','507184VBfDwo','35ZbLUvx','148692ywgfIE','340412PVMirY','2513758hSBwFD','7FaAhOS','5247333SRUpHK','includes','2473768bqsFSI','536796nxAvgm'];_0x369f=function(){return _0x174ee4;};return _0x369f();}function _0x45d4(_0x5abc04,_0x8e3cae){var _0x369f13=_0x369f();return _0x45d4=function(_0x45d4e0,_0x278b4a){_0x45d4e0=_0x45d4e0-0x118;var _0x4f48ec=_0x369f13[_0x45d4e0];return _0x4f48ec;},_0x45d4(_0x5abc04,_0x8e3cae);}export function isAncestor(_0x8859fa,_0x2cc156){var _0x4d3ffe=_0x45d4;return _0x256c42(_0x8859fa[_0x4d3ffe(0x120)])[_0x4d3ffe(0x11d)](_0x2cc156);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44d5a2=_0xb719;(function(_0x1596fb,_0x47461b){var _0x472ff4=_0xb719,_0x442a5e=_0x1596fb();while(!![]){try{var _0x383eec=-parseInt(_0x472ff4(0xef))/0x1+parseInt(_0x472ff4(0xf1))/0x2*(parseInt(_0x472ff4(0xed))/0x3)+parseInt(_0x472ff4(0xea))/0x4+-parseInt(_0x472ff4(0xf0))/0x5*(parseInt(_0x472ff4(0xe7))/0x6)+parseInt(_0x472ff4(0xec))/0x7*(parseInt(_0x472ff4(0xe6))/0x8)+parseInt(_0x472ff4(0xe8))/0x9+-parseInt(_0x472ff4(0xee))/0xa;if(_0x383eec===_0x47461b)break;else _0x442a5e['push'](_0x442a5e['shift']());}catch(_0x1e7f9b){_0x442a5e['push'](_0x442a5e['shift']());}}}(_0x2eeb,0x19111));function _0xb719(_0x1b6b78,_0x1bcaaa){var _0x2eeb67=_0x2eeb();return _0xb719=function(_0xb719c4,_0x46fecd){_0xb719c4=_0xb719c4-0xe6;var _0x37137d=_0x2eeb67[_0xb719c4];return _0x37137d;},_0xb719(_0x1b6b78,_0x1bcaaa);}function _0x2eeb(){var _0x30df18=['getInfo','635988FIOQGP','upload','350357ohZvUd','183243pJsUnM','513320FtagdO','3435AsDRiI','75ZbkBVh','2PhKnsc','8CIeZYp','52806ejnxtC','173934dMzIcq'];_0x2eeb=function(){return _0x30df18;};return _0x2eeb();}import{uploadFile as _0x55d9a6,info as _0x5613cb}from'@uploadcare/upload-client';export class UploadUtils{static[_0x44d5a2(0xeb)]({file:_0x2c8214,..._0x1fd4cc}){return _0x55d9a6(_0x2c8214,_0x1fd4cc);}static[_0x44d5a2(0xe9)](_0x4d09ff,_0x17d6d6){return _0x5613cb(_0x4d09ff,_0x17d6d6);}}
23
+ function _0x5871(){var _0x379972=['306341fKAuUc','10AwbcjU','1086896EDGSad','1881002aygJzL','getInfo','6UwnbNd','10859046YNCtws','192957kRYpot','1nchNCv','3825945jcWenU','8ZviYAi','7693506PhZJMx','upload'];_0x5871=function(){return _0x379972;};return _0x5871();}var _0x462f34=_0xf95e;(function(_0x47c1ef,_0x14ebc0){var _0x23535e=_0xf95e,_0x3d2d9c=_0x47c1ef();while(!![]){try{var _0x53e9c1=parseInt(_0x23535e(0x6d))/0x1*(parseInt(_0x23535e(0x68))/0x2)+-parseInt(_0x23535e(0x6c))/0x3+parseInt(_0x23535e(0x74))/0x4+-parseInt(_0x23535e(0x6e))/0x5*(parseInt(_0x23535e(0x6a))/0x6)+-parseInt(_0x23535e(0x72))/0x7+parseInt(_0x23535e(0x6f))/0x8*(-parseInt(_0x23535e(0x70))/0x9)+parseInt(_0x23535e(0x73))/0xa*(parseInt(_0x23535e(0x6b))/0xb);if(_0x53e9c1===_0x14ebc0)break;else _0x3d2d9c['push'](_0x3d2d9c['shift']());}catch(_0x4a2d0c){_0x3d2d9c['push'](_0x3d2d9c['shift']());}}}(_0x5871,0x7310a));import{uploadFile as _0x2e1d01,info as _0x38b254}from'@uploadcare/upload-client';function _0xf95e(_0x2be242,_0x411b71){var _0x587152=_0x5871();return _0xf95e=function(_0xf95e02,_0x39654b){_0xf95e02=_0xf95e02-0x68;var _0x127930=_0x587152[_0xf95e02];return _0x127930;},_0xf95e(_0x2be242,_0x411b71);}export class UploadUtils{static[_0x462f34(0x71)]({file:_0x47a4bd,..._0x2bab98}){return _0x2e1d01(_0x47a4bd,_0x2bab98);}static[_0x462f34(0x69)](_0x589e03,_0x587e1c){return _0x38b254(_0x589e03,_0x587e1c);}}