@ckeditor/ckeditor5-uploadcare 46.0.2-alpha.1 → 46.0.2

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 _0x563111,View as _0x4c1a73}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4c1a73{constructor(_0x47f49c){super(_0x47f49c);const t=_0x47f49c['t'],_0x196759=this['bindTemplate'],_0x419bcb=new _0x563111();_0x419bcb['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':[_0x419bcb,{'text':_0x196759['to']('imageUploadProgress',_0x2c1533=>t('Loading\x20image...')+'\x20('+(_0x2c1533||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 _0x239e47,View as _0x6bf995}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x6bf995{constructor(_0x450ddf){super(_0x450ddf);const t=_0x450ddf['t'],_0x2b7a75=this['bindTemplate'],_0x3947f3=new _0x239e47();_0x3947f3['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':[_0x3947f3,{'text':_0x2b7a75['to']('imageUploadProgress',_0x217294=>t('Loading\x20image...')+'\x20('+(_0x217294||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 _0x1dd186=_0x41ce;(function(_0x64fd47,_0xafc879){const _0x4e3bd2=_0x41ce,_0x14c466=_0x64fd47();while(!![]){try{const _0x10ba76=parseInt(_0x4e3bd2(0x16b))/0x1*(parseInt(_0x4e3bd2(0x17e))/0x2)+-parseInt(_0x4e3bd2(0x163))/0x3+-parseInt(_0x4e3bd2(0x172))/0x4*(parseInt(_0x4e3bd2(0x17c))/0x5)+parseInt(_0x4e3bd2(0x178))/0x6*(parseInt(_0x4e3bd2(0x173))/0x7)+-parseInt(_0x4e3bd2(0x175))/0x8*(parseInt(_0x4e3bd2(0x187))/0x9)+-parseInt(_0x4e3bd2(0x17b))/0xa*(parseInt(_0x4e3bd2(0x165))/0xb)+parseInt(_0x4e3bd2(0x15f))/0xc;if(_0x10ba76===_0xafc879)break;else _0x14c466['push'](_0x14c466['shift']());}catch(_0x2f15b5){_0x14c466['push'](_0x14c466['shift']());}}}(_0xdd8d,0xcb2a8));import{View as _0x3ac5a1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x20081b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x114104}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x66a4a}from'./uploadcareimageeditformeditingview.js';function _0xdd8d(){const _0x19614b=['747bNxjFB','_addErrorViewListeners','set','target','addedNodes','status','_loadingView','_setView','cdnUrl','_items','apply','fire','retry','disconnect','_editingView','render','ck-uploadcare-form','26531136irbOgm','addEventListener','add','element','3935466okBicG','change:status','11sFMSnp','_addUploadcareImageEditorListeners','addMany','createCollection','uc-cloud-image-editor','_waitForImageEditorComponent','50AyTxKw','uploading','focus','_focusableView','setTemplate','clear','filter','398876dxthax','259MEjkEW','detail','42936cIfVuT','cancel','once','104406Jbphib','querySelector','nodeName','4439170jPKPvX','65TXVYIE','ready','58998bTkuJG','toLowerCase','getFocusableElement','length','error','observe','div','_errorView','ck-reset_all-excluded'];_0xdd8d=function(){return _0x19614b;};return _0xdd8d();}function _0x41ce(_0x2cbd54,_0x3ea738){const _0xdd8dbc=_0xdd8d();return _0x41ce=function(_0x41ce6c,_0x11c25f){_0x41ce6c=_0x41ce6c-0x14f;let _0x491152=_0xdd8dbc[_0x41ce6c];return _0x491152;},_0x41ce(_0x2cbd54,_0x3ea738);}import{DialogFocusManagerView as _0x210e07}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x210e07{[_0x1dd186(0x157)];[_0x1dd186(0x154)];[_0x1dd186(0x185)];[_0x1dd186(0x15c)];[_0x1dd186(0x16e)];constructor(_0x152567,_0x4ce9a6,_0x52eb9d){const _0x210cde=_0x1dd186;super(_0x152567),this[_0x210cde(0x157)]=this[_0x210cde(0x168)](),this[_0x210cde(0x154)]=new _0x20081b(_0x152567),this[_0x210cde(0x185)]=new _0x114104(_0x152567),this[_0x210cde(0x15c)]=new _0x66a4a(_0x152567,_0x52eb9d),this[_0x210cde(0x16e)]=new _0x3ac5a1(_0x152567),this[_0x210cde(0x16e)][_0x210cde(0x16f)](this[_0x210cde(0x180)]()),this[_0x210cde(0x150)](_0x210cde(0x153),_0x4ce9a6),this[_0x210cde(0x16f)]({'tag':_0x210cde(0x184),'attributes':{'class':['ck',_0x210cde(0x186),_0x210cde(0x15e)],'tabindex':'-1'},'children':this[_0x210cde(0x157)]}),this[_0x210cde(0x155)](),this[_0x210cde(0x177)](_0x210cde(0x15d),()=>{const _0x18b0c8=_0x210cde;this[_0x18b0c8(0x16a)](this[_0x18b0c8(0x162)],_0x1a1ceb=>{const _0x2f2a05=_0x18b0c8;this[_0x2f2a05(0x166)](_0x1a1ceb);});}),this['on'](_0x210cde(0x164),()=>{const _0x436999=_0x210cde;this[_0x436999(0x155)]();}),this[_0x210cde(0x14f)]();}[_0x1dd186(0x16d)](){const _0xa42a19=_0x1dd186;this[_0xa42a19(0x162)][_0xa42a19(0x16d)]();}[_0x1dd186(0x155)](){const _0x2e3f79=_0x1dd186;switch(this[_0x2e3f79(0x157)][_0x2e3f79(0x170)](),this[_0x2e3f79(0x153)]){case _0x2e3f79(0x16c):this[_0x2e3f79(0x157)][_0x2e3f79(0x161)](this[_0x2e3f79(0x154)]);break;case _0x2e3f79(0x182):this[_0x2e3f79(0x157)][_0x2e3f79(0x161)](this[_0x2e3f79(0x185)]);break;case _0x2e3f79(0x17d):this[_0x2e3f79(0x157)][_0x2e3f79(0x167)]([this[_0x2e3f79(0x15c)],this[_0x2e3f79(0x16e)]]);}}[_0x1dd186(0x16a)](_0x176396,_0x391b48){const _0x384aea=_0x1dd186,_0x44819b=_0x384aea(0x169),_0x383297=_0x176396[_0x384aea(0x179)](_0x44819b);if(_0x383297)return _0x391b48(_0x383297);const _0x178e68=new MutationObserver(_0x54b1fb=>{const _0x2c608b=_0x384aea,_0x3ad75b=_0x54b1fb[_0x2c608b(0x171)](_0x4d6891=>_0x4d6891[_0x2c608b(0x151)]===_0x176396&&_0x4d6891[_0x2c608b(0x152)][_0x2c608b(0x181)]>0x0&&_0x4d6891[_0x2c608b(0x152)][0x0][_0x2c608b(0x17a)][_0x2c608b(0x17f)]()===_0x44819b);_0x3ad75b[_0x2c608b(0x181)]&&(_0x178e68[_0x2c608b(0x15b)](),_0x391b48(_0x3ad75b[0x0][_0x2c608b(0x152)][0x0]));});_0x178e68[_0x384aea(0x183)](_0x176396,{'childList':!0x0,'subtree':!0x0});}[_0x1dd186(0x166)](_0x5eee7c){const _0x40bf0a=_0x1dd186;_0x5eee7c[_0x40bf0a(0x160)](_0x40bf0a(0x158),_0x63f9ec=>{const _0x41f650=_0x40bf0a;this[_0x41f650(0x159)](_0x41f650(0x158),{'imageSrc':_0x63f9ec[_0x41f650(0x174)][_0x41f650(0x156)]});}),_0x5eee7c[_0x40bf0a(0x160)](_0x40bf0a(0x176),()=>{const _0x3585e9=_0x40bf0a;this[_0x3585e9(0x159)](_0x3585e9(0x176));});}[_0x1dd186(0x14f)](){const _0x27350d=_0x1dd186;this[_0x27350d(0x185)]['on'](_0x27350d(0x15a),()=>{const _0x3201c7=_0x27350d;this[_0x3201c7(0x159)](_0x3201c7(0x15a));});}}
23
+ const _0xec2c0b=_0xe42c;(function(_0x27975b,_0x490108){const _0x1574b9=_0xe42c,_0x3d75cb=_0x27975b();while(!![]){try{const _0x45634a=-parseInt(_0x1574b9(0x200))/0x1+parseInt(_0x1574b9(0x1f1))/0x2*(-parseInt(_0x1574b9(0x1fa))/0x3)+parseInt(_0x1574b9(0x1ee))/0x4*(parseInt(_0x1574b9(0x1f9))/0x5)+-parseInt(_0x1574b9(0x1e5))/0x6*(-parseInt(_0x1574b9(0x201))/0x7)+parseInt(_0x1574b9(0x1f2))/0x8*(-parseInt(_0x1574b9(0x1ef))/0x9)+parseInt(_0x1574b9(0x208))/0xa+parseInt(_0x1574b9(0x1fc))/0xb*(parseInt(_0x1574b9(0x1f3))/0xc);if(_0x45634a===_0x490108)break;else _0x3d75cb['push'](_0x3d75cb['shift']());}catch(_0x2aadc4){_0x3d75cb['push'](_0x3d75cb['shift']());}}}(_0x4d0a,0x85898));function _0xe42c(_0x31cccb,_0x4707d5){const _0x4d0a12=_0x4d0a();return _0xe42c=function(_0xe42cdd,_0x1b37a3){_0xe42cdd=_0xe42cdd-0x1e4;let _0x2d48af=_0x4d0a12[_0xe42cdd];return _0x2d48af;},_0xe42c(_0x31cccb,_0x4707d5);}import{View as _0x5b1fe1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x515472}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x93080c}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x44f690}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xac70dd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4d0a(){const _0x263f98=['cancel','_loadingView','_editingView','ck-uploadcare-form','_addErrorViewListeners','set','_waitForImageEditorComponent','2945346hoDHxi','element','render','addedNodes','once','change:status','status','div','ck-reset_all-excluded','668hYpUCN','213606nAPefZ','uploading','15220yklpfD','336xHNEHK','25472208wLpsSp','cdnUrl','uc-cloud-image-editor','_focusableView','retry','createCollection','10995MQFoWY','351eYlHDp','focus','11EBjPyL','_addUploadcareImageEditorListeners','_items','querySelector','890326dphinE','7nastaw','addMany','length','setTemplate','detail','fire','_setView','3436840UpSjAQ','disconnect','filter','addEventListener','add','getFocusableElement','error','observe','clear','apply','ready','nodeName','toLowerCase','target','_errorView'];_0x4d0a=function(){return _0x263f98;};return _0x4d0a();}export class UploadcareImageEditFormView extends _0xac70dd{[_0xec2c0b(0x1fe)];[_0xec2c0b(0x218)];[_0xec2c0b(0x216)];[_0xec2c0b(0x219)];[_0xec2c0b(0x1f6)];constructor(_0x4036ee,_0x5c406c,_0x43cada){const _0x4069c1=_0xec2c0b;super(_0x4036ee),this[_0x4069c1(0x1fe)]=this[_0x4069c1(0x1f8)](),this[_0x4069c1(0x218)]=new _0x515472(_0x4036ee),this[_0x4069c1(0x216)]=new _0x93080c(_0x4036ee),this[_0x4069c1(0x219)]=new _0x44f690(_0x4036ee,_0x43cada),this[_0x4069c1(0x1f6)]=new _0x5b1fe1(_0x4036ee),this[_0x4069c1(0x1f6)][_0x4069c1(0x204)](this[_0x4069c1(0x20d)]()),this[_0x4069c1(0x21c)](_0x4069c1(0x1eb),_0x5c406c),this[_0x4069c1(0x204)]({'tag':_0x4069c1(0x1ec),'attributes':{'class':['ck',_0x4069c1(0x1ed),_0x4069c1(0x21a)],'tabindex':'-1'},'children':this[_0x4069c1(0x1fe)]}),this[_0x4069c1(0x207)](),this[_0x4069c1(0x1e9)](_0x4069c1(0x1e7),()=>{const _0x430822=_0x4069c1;this[_0x430822(0x1e4)](this[_0x430822(0x1e6)],_0x2b0279=>{const _0x2135dc=_0x430822;this[_0x2135dc(0x1fd)](_0x2b0279);});}),this['on'](_0x4069c1(0x1ea),()=>{const _0x1211f2=_0x4069c1;this[_0x1211f2(0x207)]();}),this[_0x4069c1(0x21b)]();}[_0xec2c0b(0x1fb)](){const _0x4b9bc8=_0xec2c0b;this[_0x4b9bc8(0x1e6)][_0x4b9bc8(0x1fb)]();}[_0xec2c0b(0x207)](){const _0x149342=_0xec2c0b;switch(this[_0x149342(0x1fe)][_0x149342(0x210)](),this[_0x149342(0x1eb)]){case _0x149342(0x1f0):this[_0x149342(0x1fe)][_0x149342(0x20c)](this[_0x149342(0x218)]);break;case _0x149342(0x20e):this[_0x149342(0x1fe)][_0x149342(0x20c)](this[_0x149342(0x216)]);break;case _0x149342(0x212):this[_0x149342(0x1fe)][_0x149342(0x202)]([this[_0x149342(0x219)],this[_0x149342(0x1f6)]]);}}[_0xec2c0b(0x1e4)](_0x5a505d,_0x59e78c){const _0x119740=_0xec2c0b,_0x2333f6=_0x119740(0x1f5),_0x42dcae=_0x5a505d[_0x119740(0x1ff)](_0x2333f6);if(_0x42dcae)return _0x59e78c(_0x42dcae);const _0x88f366=new MutationObserver(_0x471cdb=>{const _0x49332a=_0x119740,_0xc2d8a8=_0x471cdb[_0x49332a(0x20a)](_0x2665da=>_0x2665da[_0x49332a(0x215)]===_0x5a505d&&_0x2665da[_0x49332a(0x1e8)][_0x49332a(0x203)]>0x0&&_0x2665da[_0x49332a(0x1e8)][0x0][_0x49332a(0x213)][_0x49332a(0x214)]()===_0x2333f6);_0xc2d8a8[_0x49332a(0x203)]&&(_0x88f366[_0x49332a(0x209)](),_0x59e78c(_0xc2d8a8[0x0][_0x49332a(0x1e8)][0x0]));});_0x88f366[_0x119740(0x20f)](_0x5a505d,{'childList':!0x0,'subtree':!0x0});}[_0xec2c0b(0x1fd)](_0x112a12){const _0x214309=_0xec2c0b;_0x112a12[_0x214309(0x20b)](_0x214309(0x211),_0x277a98=>{const _0x1d6fd5=_0x214309;this[_0x1d6fd5(0x206)](_0x1d6fd5(0x211),{'imageSrc':_0x277a98[_0x1d6fd5(0x205)][_0x1d6fd5(0x1f4)]});}),_0x112a12[_0x214309(0x20b)](_0x214309(0x217),()=>{const _0x4aa9ff=_0x214309;this[_0x4aa9ff(0x206)](_0x4aa9ff(0x217));});}[_0xec2c0b(0x21b)](){const _0x213e8d=_0xec2c0b;this[_0x213e8d(0x216)]['on'](_0x213e8d(0x1f7),()=>{const _0x1b2d44=_0x213e8d;this[_0x1b2d44(0x206)](_0x1b2d44(0x1f7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d61c0=_0x4e52;function _0x14eb(){const _0x59e211=['46701dtxXFg','isActive','refresh','441885UDiQlP','124202CGeRTj','getSelectedElement','config','4530798pjxJZg','bind','get','set','model','2088zgvAah','_isEditable','2325124myqLFy','selection','imageEditController','imageBlock','document','editor','3swRjsu','uploadcare.allowExternalImagesEditing','imageInline','2334990QaZBhG','isEnabled','2280760OtCxXq','requires','unbind','element','plugins','execute'];_0x14eb=function(){return _0x59e211;};return _0x14eb();}(function(_0x595e3e,_0x4f9a80){const _0x3e40d1=_0x4e52,_0x5bc399=_0x595e3e();while(!![]){try{const _0x204c44=-parseInt(_0x3e40d1(0xbc))/0x1+parseInt(_0x3e40d1(0xbd))/0x2+-parseInt(_0x3e40d1(0xcd))/0x3*(-parseInt(_0x3e40d1(0xc7))/0x4)+parseInt(_0x3e40d1(0xd2))/0x5+parseInt(_0x3e40d1(0xc0))/0x6+parseInt(_0x3e40d1(0xd0))/0x7+-parseInt(_0x3e40d1(0xc5))/0x8*(parseInt(_0x3e40d1(0xb9))/0x9);if(_0x204c44===_0x4f9a80)break;else _0x5bc399['push'](_0x5bc399['shift']());}catch(_0x4110c2){_0x5bc399['push'](_0x5bc399['shift']());}}}(_0x14eb,0x5fb57));import{Command as _0x3299b1}from'ckeditor5/src/core.js';import{Dialog as _0x88497f}from'ckeditor5/src/ui.js';function _0x4e52(_0x2c9a9d,_0x3fa88b){const _0x14eb15=_0x14eb();return _0x4e52=function(_0x4e52aa,_0x14717e){_0x4e52aa=_0x4e52aa-0xb9;let _0x471a7b=_0x14eb15[_0x4e52aa];return _0x471a7b;},_0x4e52(_0x2c9a9d,_0x3fa88b);}import{UploadcareImageEditController as _0x1ab6b6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x15913b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3299b1{[_0x1d61c0(0xc9)];static get[_0x1d61c0(0xd3)](){return[_0x88497f];}[_0x1d61c0(0xc6)];constructor(_0x2ac57d){const _0x24d547=_0x1d61c0;super(_0x2ac57d),this[_0x24d547(0xc9)]=void 0x0,this[_0x24d547(0xc6)]=_0x15913b(_0x2ac57d[_0x24d547(0xbf)][_0x24d547(0xc2)](_0x24d547(0xce))||[]),this[_0x24d547(0xc3)]({'isActive':!0x1});}[_0x1d61c0(0xbb)](){const _0x5826e0=_0x1d61c0,_0x40f466=this[_0x5826e0(0xcc)][_0x5826e0(0xc4)][_0x5826e0(0xcb)][_0x5826e0(0xc8)][_0x5826e0(0xbe)]();this[_0x5826e0(0xd1)]=this[_0x5826e0(0xc6)](_0x40f466);}[_0x1d61c0(0xd7)](){const _0x29a161=_0x1d61c0;this[_0x29a161(0xc9)]&&(this[_0x29a161(0xd4)](_0x29a161(0xba)),this[_0x29a161(0xc9)]=void 0x0);const _0x259b5e=this[_0x29a161(0xcc)][_0x29a161(0xc4)][_0x29a161(0xcb)][_0x29a161(0xc8)][_0x29a161(0xbe)]();_0x259b5e&&(_0x259b5e['is'](_0x29a161(0xd5),_0x29a161(0xca))||_0x259b5e['is'](_0x29a161(0xd5),_0x29a161(0xcf)))&&(this[_0x29a161(0xc9)]=new _0x1ab6b6(this[_0x29a161(0xcc)],this[_0x29a161(0xcc)][_0x29a161(0xd6)][_0x29a161(0xc2)](_0x88497f),_0x259b5e),this[_0x29a161(0xc1)](_0x29a161(0xba))['to'](this[_0x29a161(0xc9)],_0x29a161(0xba)));}}
23
+ const _0xcaf2cb=_0x5695;function _0x5906(){const _0x2d1ec3=['requires','refresh','isActive','156959NfXSga','get','2168776DUNitm','imageInline','config','getSelectedElement','46VeXQVj','7EWODhe','imageEditController','68mAkrFG','218745IwGxsA','element','139551DGcNgC','unbind','5577813YgelqJ','bind','selection','970aAcLka','set','plugins','uploadcare.allowExternalImagesEditing','model','_isEditable','1148914pBoEwO','13128FTefmc','editor','document','isEnabled','execute','imageBlock'];_0x5906=function(){return _0x2d1ec3;};return _0x5906();}function _0x5695(_0x3be3c8,_0x662dfa){const _0x5906a6=_0x5906();return _0x5695=function(_0x569576,_0x2d84a2){_0x569576=_0x569576-0x151;let _0xed2b81=_0x5906a6[_0x569576];return _0xed2b81;},_0x5695(_0x3be3c8,_0x662dfa);}(function(_0x33a052,_0x1b643d){const _0x34c7f6=_0x5695,_0x1f0503=_0x33a052();while(!![]){try{const _0x36b073=parseInt(_0x34c7f6(0x16e))/0x1+-parseInt(_0x34c7f6(0x15d))/0x2*(-parseInt(_0x34c7f6(0x163))/0x3)+parseInt(_0x34c7f6(0x160))/0x4*(parseInt(_0x34c7f6(0x161))/0x5)+parseInt(_0x34c7f6(0x16f))/0x6+parseInt(_0x34c7f6(0x15e))/0x7*(-parseInt(_0x34c7f6(0x159))/0x8)+-parseInt(_0x34c7f6(0x165))/0x9+parseInt(_0x34c7f6(0x168))/0xa*(-parseInt(_0x34c7f6(0x157))/0xb);if(_0x36b073===_0x1b643d)break;else _0x1f0503['push'](_0x1f0503['shift']());}catch(_0x54de70){_0x1f0503['push'](_0x1f0503['shift']());}}}(_0x5906,0xa8673));import{Command as _0x113b66}from'ckeditor5/src/core.js';import{Dialog as _0x475356}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x50d3fe}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2c7a5d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x113b66{[_0xcaf2cb(0x15f)];static get[_0xcaf2cb(0x154)](){return[_0x475356];}[_0xcaf2cb(0x16d)];constructor(_0xb0009c){const _0x2138b8=_0xcaf2cb;super(_0xb0009c),this[_0x2138b8(0x15f)]=void 0x0,this[_0x2138b8(0x16d)]=_0x2c7a5d(_0xb0009c[_0x2138b8(0x15b)][_0x2138b8(0x158)](_0x2138b8(0x16b))||[]),this[_0x2138b8(0x169)]({'isActive':!0x1});}[_0xcaf2cb(0x155)](){const _0x4528c1=_0xcaf2cb,_0x13a46e=this[_0x4528c1(0x170)][_0x4528c1(0x16c)][_0x4528c1(0x171)][_0x4528c1(0x167)][_0x4528c1(0x15c)]();this[_0x4528c1(0x151)]=this[_0x4528c1(0x16d)](_0x13a46e);}[_0xcaf2cb(0x152)](){const _0x30101b=_0xcaf2cb;this[_0x30101b(0x15f)]&&(this[_0x30101b(0x164)](_0x30101b(0x156)),this[_0x30101b(0x15f)]=void 0x0);const _0xd8c79e=this[_0x30101b(0x170)][_0x30101b(0x16c)][_0x30101b(0x171)][_0x30101b(0x167)][_0x30101b(0x15c)]();_0xd8c79e&&(_0xd8c79e['is'](_0x30101b(0x162),_0x30101b(0x153))||_0xd8c79e['is'](_0x30101b(0x162),_0x30101b(0x15a)))&&(this[_0x30101b(0x15f)]=new _0x50d3fe(this[_0x30101b(0x170)],this[_0x30101b(0x170)][_0x30101b(0x16a)][_0x30101b(0x158)](_0x475356),_0xd8c79e),this[_0x30101b(0x166)](_0x30101b(0x156))['to'](this[_0x30101b(0x15f)],_0x30101b(0x156)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9c19fd=_0x2daa;(function(_0x235f19,_0x54f4f0){const _0x78863e=_0x2daa,_0x4b9d89=_0x235f19();while(!![]){try{const _0x4f3cd9=parseInt(_0x78863e(0x18c))/0x1*(-parseInt(_0x78863e(0x197))/0x2)+-parseInt(_0x78863e(0x192))/0x3*(parseInt(_0x78863e(0x193))/0x4)+-parseInt(_0x78863e(0x18a))/0x5+parseInt(_0x78863e(0x19b))/0x6*(parseInt(_0x78863e(0x18d))/0x7)+parseInt(_0x78863e(0x194))/0x8+-parseInt(_0x78863e(0x196))/0x9+parseInt(_0x78863e(0x18b))/0xa;if(_0x4f3cd9===_0x54f4f0)break;else _0x4b9d89['push'](_0x4b9d89['shift']());}catch(_0x1717be){_0x4b9d89['push'](_0x4b9d89['shift']());}}}(_0x5993,0xb691f));function _0x2daa(_0x1d5277,_0x20330e){const _0x599353=_0x5993();return _0x2daa=function(_0x2daa4c,_0x1cb864){_0x2daa4c=_0x2daa4c-0x189;let _0x55e351=_0x599353[_0x2daa4c];return _0x55e351;},_0x2daa(_0x1d5277,_0x20330e);}import{Plugin as _0x4c0bc7}from'ckeditor5/src/core.js';import{Notification as _0x1fe357}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4ec248}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xf73d98}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x164bb1}from'../uploadcareediting.js';function _0x5993(){const _0x2df9fc=['3203CwNnvn','784119nyAECH','ImageUtils','commands','uploadcareImageReplace','ImageEditing','88947iHjHEQ','68JadYqj','2322976pRvnXT','init','5647725ayMPhK','216RvczOx','uploadcareImageEdit','pluginName','isPremiumPlugin','6iyhHAS','add','requires','isOfficialPlugin','UploadcareImageEditEditing','2835540UJKBQD','23900080FgLFET'];_0x5993=function(){return _0x2df9fc;};return _0x5993();}export class UploadcareImageEditEditing extends _0x4c0bc7{static get[_0x9c19fd(0x199)](){const _0x1d68be=_0x9c19fd;return _0x1d68be(0x189);}static get[_0x9c19fd(0x19d)](){const _0x2bca2d=_0x9c19fd;return[_0x164bb1,_0x1fe357,_0x2bca2d(0x18e),_0x2bca2d(0x191)];}static get[_0x9c19fd(0x19e)](){return!0x0;}static get[_0x9c19fd(0x19a)](){return!0x0;}[_0x9c19fd(0x195)](){const _0x5f31d7=_0x9c19fd,{editor:_0x3e807e}=this;_0x3e807e[_0x5f31d7(0x18f)][_0x5f31d7(0x19c)](_0x5f31d7(0x198),new _0x4ec248(_0x3e807e)),_0x3e807e[_0x5f31d7(0x18f)][_0x5f31d7(0x19c)](_0x5f31d7(0x190),new _0xf73d98(_0x3e807e));}}
23
+ const _0x3e1887=_0x451c;(function(_0x178347,_0x3ff239){const _0x4ef634=_0x451c,_0x480a26=_0x178347();while(!![]){try{const _0x371038=-parseInt(_0x4ef634(0x1ad))/0x1+-parseInt(_0x4ef634(0x1af))/0x2*(parseInt(_0x4ef634(0x1ac))/0x3)+parseInt(_0x4ef634(0x1c0))/0x4*(parseInt(_0x4ef634(0x1aa))/0x5)+-parseInt(_0x4ef634(0x1b0))/0x6*(parseInt(_0x4ef634(0x1ae))/0x7)+-parseInt(_0x4ef634(0x1b2))/0x8*(parseInt(_0x4ef634(0x1b8))/0x9)+-parseInt(_0x4ef634(0x1b5))/0xa+-parseInt(_0x4ef634(0x1b9))/0xb*(-parseInt(_0x4ef634(0x1b3))/0xc);if(_0x371038===_0x3ff239)break;else _0x480a26['push'](_0x480a26['shift']());}catch(_0x1999f5){_0x480a26['push'](_0x480a26['shift']());}}}(_0x1876,0x5bd03));import{Plugin as _0x329d79}from'ckeditor5/src/core.js';import{Notification as _0x2500f6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x31d3cb}from'./uploadcareimageeditcommand.js';function _0x451c(_0x56869c,_0x58bc35){const _0x18764f=_0x1876();return _0x451c=function(_0x451c1d,_0x18ed70){_0x451c1d=_0x451c1d-0x1aa;let _0x2632cd=_0x18764f[_0x451c1d];return _0x2632cd;},_0x451c(_0x56869c,_0x58bc35);}import{UploadcareImageReplaceCommand as _0x8e79fe}from'./uploadcareimagereplacecommand.js';function _0x1876(){const _0x26a60f=['540750SfPugd','isOfficialPlugin','uploadcareImageReplace','767691cMydwp','3938dyRRhz','add','requires','pluginName','commands','UploadcareImageEditEditing','isPremiumPlugin','1090984jhAtLB','ImageEditing','5xoYysU','ImageUtils','18yyHAXO','56422rVDzHw','13881GgzQDd','84606uWguqP','1686KeIVFq','uploadcareImageEdit','8kPOUqj','37212TTiEDd','init'];_0x1876=function(){return _0x26a60f;};return _0x1876();}import{UploadcareEditing as _0x5be62f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x329d79{static get[_0x3e1887(0x1bc)](){const _0x10384a=_0x3e1887;return _0x10384a(0x1be);}static get[_0x3e1887(0x1bb)](){const _0x44995f=_0x3e1887;return[_0x5be62f,_0x2500f6,_0x44995f(0x1ab),_0x44995f(0x1c1)];}static get[_0x3e1887(0x1b6)](){return!0x0;}static get[_0x3e1887(0x1bf)](){return!0x0;}[_0x3e1887(0x1b4)](){const _0x61c0e5=_0x3e1887,{editor:_0x198327}=this;_0x198327[_0x61c0e5(0x1bd)][_0x61c0e5(0x1ba)](_0x61c0e5(0x1b1),new _0x31d3cb(_0x198327)),_0x198327[_0x61c0e5(0x1bd)][_0x61c0e5(0x1ba)](_0x61c0e5(0x1b7),new _0x8e79fe(_0x198327));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x22cad8}from'ckeditor5/src/core.js';import{ButtonView as _0x4d1e11}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3c89e6}from'ckeditor5/src/icons.js';import{createElement as _0xa42de8}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 _0x22cad8{['_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 _0x5ee574=this['editor'];_0x5ee574['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4df2e0=>{const _0x348671=_0x5ee574['commands']['get']('uploadcareImageEdit'),_0x160a3e=new _0x4d1e11(_0x4df2e0),t=_0x4df2e0['t'];return _0x160a3e['set']({'icon':_0x3c89e6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x160a3e['bind']('isEnabled')['to'](_0x348671),_0x160a3e['bind']('isOn')['to'](_0x348671,'isActive'),this['listenTo'](_0x160a3e,'execute',()=>{_0x5ee574['execute']('uploadcareImageEdit'),_0x5ee574['editing']['view']['focus']();}),_0x160a3e;}),this['_initConfig']();}['_initConfig'](){const _0x2e5c61=_0xa42de8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2e5c61),this['listenTo'](this['editor'],'destroy',()=>{_0x2e5c61['remove']();});}}
23
+ import{Plugin as _0x4ebb93}from'ckeditor5/src/core.js';import{ButtonView as _0x40bd50}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x254323}from'ckeditor5/src/icons.js';import{createElement as _0x4aa470}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 _0x4ebb93{['_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 _0x341353=this['editor'];_0x341353['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b4b0f=>{const _0x32018e=_0x341353['commands']['get']('uploadcareImageEdit'),_0x2e0237=new _0x40bd50(_0x5b4b0f),t=_0x5b4b0f['t'];return _0x2e0237['set']({'icon':_0x254323,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2e0237['bind']('isEnabled')['to'](_0x32018e),_0x2e0237['bind']('isOn')['to'](_0x32018e,'isActive'),this['listenTo'](_0x2e0237,'execute',()=>{_0x341353['execute']('uploadcareImageEdit'),_0x341353['editing']['view']['focus']();}),_0x2e0237;}),this['_initConfig']();}['_initConfig'](){const _0x99ae7d=_0x4aa470(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x99ae7d),this['listenTo'](this['editor'],'destroy',()=>{_0x99ae7d['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x29e24d=_0x43e3;(function(_0x1f2928,_0x2b637a){var _0x2a0163=_0x43e3,_0x1818e4=_0x1f2928();while(!![]){try{var _0x5a457f=parseInt(_0x2a0163(0x1a6))/0x1*(-parseInt(_0x2a0163(0x1ac))/0x2)+-parseInt(_0x2a0163(0x1ab))/0x3+-parseInt(_0x2a0163(0x19d))/0x4+-parseInt(_0x2a0163(0x19f))/0x5+parseInt(_0x2a0163(0x1a9))/0x6*(-parseInt(_0x2a0163(0x1a4))/0x7)+-parseInt(_0x2a0163(0x1a8))/0x8+parseInt(_0x2a0163(0x19b))/0x9;if(_0x5a457f===_0x2b637a)break;else _0x1818e4['push'](_0x1818e4['shift']());}catch(_0x46a373){_0x1818e4['push'](_0x1818e4['shift']());}}}(_0x1f2c,0x9d668));function _0x1f2c(){var _0x3ccdcd=['56989287TxTngl','forwardCycle','756612xLcRHN','fire','6058260tEpPiQ','bindTemplate','createCollection','focusTracker','div','299467IUwPSH','getFocusableElement','1083625tBQdVt','focusCycler','6342344jheyKd','174sDsBBj','true','3508677UhApiQ','2KBhNlq'];_0x1f2c=function(){return _0x3ccdcd;};return _0x1f2c();}import{FocusTracker as _0x2dea64}from'ckeditor5/src/utils.js';import{View as _0x39ec93,FocusCycler as _0x5d2354}from'ckeditor5/src/ui.js';function _0x43e3(_0x437f02,_0x3d2897){var _0x1f2c59=_0x1f2c();return _0x43e3=function(_0x43e3cc,_0x6fac70){_0x43e3cc=_0x43e3cc-0x19b;var _0x230e69=_0x1f2c59[_0x43e3cc];return _0x230e69;},_0x43e3(_0x437f02,_0x3d2897);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x39ec93{[_0x29e24d(0x1a2)];[_0x29e24d(0x1a7)];constructor(_0x2a8338){var _0x4c19fb=_0x29e24d;super(_0x2a8338),this[_0x4c19fb(0x1a2)]=new _0x2dea64(),this[_0x4c19fb(0x1a7)]=new _0x5d2354({'focusables':this[_0x4c19fb(0x1a1)](),'focusTracker':this[_0x4c19fb(0x1a2)]});}[_0x29e24d(0x1a5)](){var _0x5c5224=_0x29e24d;return{'tag':_0x5c5224(0x1a3),'attributes':{'aria-hidden':_0x5c5224(0x1aa),'tabindex':'0'},'on':{'focus':this[_0x5c5224(0x1a0)]['to'](()=>{var _0x22cfa7=_0x5c5224;this[_0x22cfa7(0x1a7)][_0x22cfa7(0x19e)](_0x22cfa7(0x19c));})}};}}
23
+ function _0x34e5(_0x31d617,_0x474577){var _0x28f570=_0x28f5();return _0x34e5=function(_0x34e540,_0xdeb99e){_0x34e540=_0x34e540-0xfe;var _0x34fa69=_0x28f570[_0x34e540];return _0x34fa69;},_0x34e5(_0x31d617,_0x474577);}function _0x28f5(){var _0x3ca2f1=['bindTemplate','true','88SBAdCR','689432siQubZ','110152ANFxIb','forwardCycle','263586LyAOVV','2490954ZoqMCc','1197035icTTPc','251736sqBTVA','fire','2551470EbZDHs','createCollection','div','16AGUPCR','getFocusableElement','9GEHIXZ','focusCycler','focusTracker'];_0x28f5=function(){return _0x3ca2f1;};return _0x28f5();}var _0xf2d160=_0x34e5;(function(_0x4a85d7,_0x146d99){var _0x14ca80=_0x34e5,_0x33b3a2=_0x4a85d7();while(!![]){try{var _0x592138=-parseInt(_0x14ca80(0x10a))/0x1+-parseInt(_0x14ca80(0x107))/0x2+parseInt(_0x14ca80(0x10d))/0x3*(parseInt(_0x14ca80(0xff))/0x4)+-parseInt(_0x14ca80(0x10c))/0x5+parseInt(_0x14ca80(0x10b))/0x6+parseInt(_0x14ca80(0x108))/0x7*(parseInt(_0x14ca80(0x106))/0x8)+-parseInt(_0x14ca80(0x101))/0x9*(-parseInt(_0x14ca80(0x10f))/0xa);if(_0x592138===_0x146d99)break;else _0x33b3a2['push'](_0x33b3a2['shift']());}catch(_0x5dde13){_0x33b3a2['push'](_0x33b3a2['shift']());}}}(_0x28f5,0x50e4d));import{FocusTracker as _0x20db43}from'ckeditor5/src/utils.js';import{View as _0x3ff48c,FocusCycler as _0xf79350}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3ff48c{[_0xf2d160(0x103)];[_0xf2d160(0x102)];constructor(_0x36a27c){var _0x3087db=_0xf2d160;super(_0x36a27c),this[_0x3087db(0x103)]=new _0x20db43(),this[_0x3087db(0x102)]=new _0xf79350({'focusables':this[_0x3087db(0x110)](),'focusTracker':this[_0x3087db(0x103)]});}[_0xf2d160(0x100)](){var _0x4e78fd=_0xf2d160;return{'tag':_0x4e78fd(0xfe),'attributes':{'aria-hidden':_0x4e78fd(0x105),'tabindex':'0'},'on':{'focus':this[_0x4e78fd(0x104)]['to'](()=>{var _0x5e6632=_0x4e78fd;this[_0x5e6632(0x102)][_0x5e6632(0x10e)](_0x5e6632(0x109));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x398096,_0x124a59){const _0x766876=_0x1e1a,_0x1c9e69=_0x398096();while(!![]){try{const _0x10a71e=parseInt(_0x766876(0x168))/0x1*(-parseInt(_0x766876(0x14f))/0x2)+-parseInt(_0x766876(0x13c))/0x3*(parseInt(_0x766876(0x139))/0x4)+-parseInt(_0x766876(0x159))/0x5+parseInt(_0x766876(0x16c))/0x6+-parseInt(_0x766876(0x146))/0x7*(parseInt(_0x766876(0x162))/0x8)+-parseInt(_0x766876(0x155))/0x9*(-parseInt(_0x766876(0x140))/0xa)+-parseInt(_0x766876(0x145))/0xb*(-parseInt(_0x766876(0x13a))/0xc);if(_0x10a71e===_0x124a59)break;else _0x1c9e69['push'](_0x1c9e69['shift']());}catch(_0x5a5c67){_0x1c9e69['push'](_0x1c9e69['shift']());}}}(_0x4d1b,0x1d5bd));function _0x4d1b(){const _0x150732=['baseURI','viewToDom','image-processing','change','stopListening','map','height','290072WbqeHH','1036836rFVfUT','location','6yyPLFY','origin','filter','domConverter','10ELOlvH','editing','toViewElement','element','mapper','22mmQwRf','43379hCIcLX','setStyle','ImageUtils','replace','imageInline','addClass','x/\x20','join','src','11822MjCFpv','plugins','uploadcareImageId','px)\x20100vw,\x20','match','hasAttribute','1279566CuWzAM','findViewImgElement','(max-width:\x20','function','126315ODqcAP','listenTo','removeStyle','window','width','aspect-ratio','getAttribute','removeClass','get','128EgfWwJ','load','image/webp','isArray','imageBlock','some','7ccaIoW','document','view','/-/resize/','696606JZIkKF'];_0x4d1b=function(){return _0x150732;};return _0x4d1b();}import{global as _0x1a67f0,DomEmitterMixin as _0x5d8c43}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x14495c){const _0xd3a17b=_0x1e1a,_0x3e0f20=G(_0x14495c);return _0x5209b9=>!(!_0x5209b9||!_0x5209b9['is'](_0xd3a17b(0x143),_0xd3a17b(0x166))&&!_0x5209b9['is'](_0xd3a17b(0x143),_0xd3a17b(0x14a)))&&(!!_0x5209b9[_0xd3a17b(0x154)](_0xd3a17b(0x151))||!!_0x5209b9[_0xd3a17b(0x154)](_0xd3a17b(0x14e))&&_0x3e0f20(_0x5209b9[_0xd3a17b(0x15f)](_0xd3a17b(0x14e))));}function _0x1e1a(_0x62f9e7,_0x7f557c){const _0x4d1bde=_0x4d1b();return _0x1e1a=function(_0x1e1a01,_0x2abcf3){_0x1e1a01=_0x1e1a01-0x137;let _0x34426f=_0x4d1bde[_0x1e1a01];return _0x34426f;},_0x1e1a(_0x62f9e7,_0x7f557c);}export function getImageUrls(_0x5ef89e,_0x15a70f){const _0x5b7142=_0x1e1a,_0x335594=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5b7142(0x13e)](_0x298044=>_0x298044<=_0x15a70f)[_0x5b7142(0x137)](_0x8a5e02=>_0x5ef89e[_0x5b7142(0x149)](/\/$/,'')+_0x5b7142(0x16b)+_0x8a5e02+_0x5b7142(0x14c)+_0x8a5e02+'w');return{'imageFallbackUrl':_0x5ef89e,'imageSources':[{'srcset':_0x335594[_0x5b7142(0x14d)](',\x20'),'sizes':_0x5b7142(0x157)+_0x15a70f+_0x5b7142(0x152)+_0x15a70f+'px','type':_0x5b7142(0x164)}]};}export function getImageDimension(_0x136185,_0x5d87ad,_0x45a7d4){const _0x5d9831=_0x1e1a,_0x951dd9=_0x136185[_0x5d9831(0x153)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x951dd9?parseInt(_0x951dd9[0x1],0xa):_0x5d87ad,'height':_0x951dd9?parseInt(_0x951dd9[0x2],0xa):_0x45a7d4};}export function showImageProcessingIndicator(_0x58faf0,_0x455ffb){const _0x5bb568=_0x1e1a,_0x5cdf8d=new(_0x5d8c43())(),_0x12c95d=_0x58faf0[_0x5bb568(0x150)][_0x5bb568(0x161)](_0x5bb568(0x148)),_0x3e499a=_0x58faf0[_0x5bb568(0x141)][_0x5bb568(0x144)][_0x5bb568(0x142)](_0x455ffb),_0x5dcc2b=_0x12c95d[_0x5bb568(0x156)](_0x3e499a),_0x2aafd7=_0x58faf0[_0x5bb568(0x141)][_0x5bb568(0x16a)][_0x5bb568(0x13f)][_0x5bb568(0x16e)](_0x5dcc2b),_0x4eb1a3=_0x455ffb[_0x5bb568(0x15f)](_0x5bb568(0x15d)),_0x227f64=_0x455ffb[_0x5bb568(0x15f)](_0x5bb568(0x138)),_0x24e5b3=_0x5bb568(0x16f);_0x58faf0[_0x5bb568(0x141)][_0x5bb568(0x16a)][_0x5bb568(0x170)](_0x508734=>{const _0x4f1e9c=_0x5bb568;_0x508734[_0x4f1e9c(0x14b)](_0x24e5b3,_0x3e499a),_0x508734[_0x4f1e9c(0x147)](_0x4f1e9c(0x15e),_0x4eb1a3+'/'+_0x227f64,_0x5dcc2b);}),_0x5cdf8d[_0x5bb568(0x15a)](_0x2aafd7,_0x5bb568(0x163),()=>{const _0x373720=_0x5bb568;_0x5cdf8d[_0x373720(0x171)](_0x2aafd7,_0x373720(0x163)),_0x58faf0[_0x373720(0x141)][_0x373720(0x16a)][_0x373720(0x170)](_0x3a0ad1=>{const _0x44c625=_0x373720;_0x3a0ad1[_0x44c625(0x160)](_0x24e5b3,_0x3e499a),_0x3a0ad1[_0x44c625(0x15b)](_0x44c625(0x15e),_0x5dcc2b);});});}function G(_0x2e603c){const _0x4d05c7=_0x1e1a;if(Array[_0x4d05c7(0x165)](_0x2e603c)){const _0x19970e=_0x2e603c[_0x4d05c7(0x137)](G);return _0x2044f4=>_0x19970e[_0x4d05c7(0x167)](_0x2044bf=>_0x2044bf(_0x2044f4));}if(_0x4d05c7(0x13d)==_0x2e603c){const _0x5ceee0=_0x1a67f0[_0x4d05c7(0x15c)][_0x4d05c7(0x13b)][_0x4d05c7(0x13d)];return _0x108e73=>new URL(_0x108e73,_0x1a67f0[_0x4d05c7(0x169)][_0x4d05c7(0x16d)])[_0x4d05c7(0x13d)]==_0x5ceee0;}return _0x4d05c7(0x158)==typeof _0x2e603c?_0x2e603c:_0x2e603c instanceof RegExp?_0x3607fe=>!(!_0x3607fe[_0x4d05c7(0x153)](_0x2e603c)&&!_0x3607fe[_0x4d05c7(0x149)](/^https?:\/\//,'')[_0x4d05c7(0x153)](_0x2e603c)):()=>!0x1;}
23
+ (function(_0x5abd87,_0x2210eb){const _0x4b55b2=_0x4be2,_0xd7b34c=_0x5abd87();while(!![]){try{const _0x118b68=parseInt(_0x4b55b2(0xd1))/0x1*(parseInt(_0x4b55b2(0xdc))/0x2)+-parseInt(_0x4b55b2(0xfe))/0x3+parseInt(_0x4b55b2(0xe4))/0x4+-parseInt(_0x4b55b2(0xdf))/0x5*(-parseInt(_0x4b55b2(0xe9))/0x6)+-parseInt(_0x4b55b2(0xd9))/0x7+-parseInt(_0x4b55b2(0xe0))/0x8+-parseInt(_0x4b55b2(0xd4))/0x9*(-parseInt(_0x4b55b2(0xfd))/0xa);if(_0x118b68===_0x2210eb)break;else _0xd7b34c['push'](_0xd7b34c['shift']());}catch(_0x5c20b0){_0xd7b34c['push'](_0xd7b34c['shift']());}}}(_0x15fd,0x46aa2));import{global as _0x53dcb6,DomEmitterMixin as _0x2f0dc4}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x51560c){const _0x237005=_0x4be2,_0x31d909=z(_0x51560c);return _0x3a7d08=>!(!_0x3a7d08||!_0x3a7d08['is'](_0x237005(0xf8),_0x237005(0xf0))&&!_0x3a7d08['is'](_0x237005(0xf8),_0x237005(0xeb)))&&(!!_0x3a7d08[_0x237005(0xda)](_0x237005(0xfb))||!!_0x3a7d08[_0x237005(0xda)](_0x237005(0xec))&&_0x31d909(_0x3a7d08[_0x237005(0xed)](_0x237005(0xec))));}export function getImageUrls(_0x518816,_0x45ca53){const _0x214351=_0x4be2,_0x5bc022=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x214351(0xea)](_0x5b2a4f=>_0x5b2a4f<=_0x45ca53)[_0x214351(0xe6)](_0x47d7c5=>_0x518816[_0x214351(0xc7)](/\/$/,'')+_0x214351(0xee)+_0x47d7c5+_0x214351(0xdd)+_0x47d7c5+'w');return{'imageFallbackUrl':_0x518816,'imageSources':[{'srcset':_0x5bc022[_0x214351(0xd5)](',\x20'),'sizes':_0x214351(0xd0)+_0x45ca53+_0x214351(0xdb)+_0x45ca53+'px','type':_0x214351(0xe5)}]};}function _0x4be2(_0x474770,_0x3741cb){const _0x15fd10=_0x15fd();return _0x4be2=function(_0x4be211,_0x6bcd27){_0x4be211=_0x4be211-0xc6;let _0x44be86=_0x15fd10[_0x4be211];return _0x44be86;},_0x4be2(_0x474770,_0x3741cb);}export function getImageDimension(_0xdeedf8,_0x9fe947,_0x52e257){const _0x1ae97d=_0x4be2,_0x2d0df2=_0xdeedf8[_0x1ae97d(0xf6)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2d0df2?parseInt(_0x2d0df2[0x1],0xa):_0x9fe947,'height':_0x2d0df2?parseInt(_0x2d0df2[0x2],0xa):_0x52e257};}export function showImageProcessingIndicator(_0x2a52f2,_0x2be1a8){const _0x2ea2cb=_0x4be2,_0xbb3185=new(_0x2f0dc4())(),_0x2a5961=_0x2a52f2[_0x2ea2cb(0xcb)][_0x2ea2cb(0xfa)](_0x2ea2cb(0xd8)),_0x3a6728=_0x2a52f2[_0x2ea2cb(0xce)][_0x2ea2cb(0xe1)][_0x2ea2cb(0xc9)](_0x2be1a8),_0x58dba9=_0x2a5961[_0x2ea2cb(0xcf)](_0x3a6728),_0x3b658d=_0x2a52f2[_0x2ea2cb(0xce)][_0x2ea2cb(0xd3)][_0x2ea2cb(0xfc)][_0x2ea2cb(0xf4)](_0x58dba9),_0x39921f=_0x2be1a8[_0x2ea2cb(0xed)](_0x2ea2cb(0xc8)),_0x3eeb1a=_0x2be1a8[_0x2ea2cb(0xed)](_0x2ea2cb(0xef)),_0x3b4560=_0x2ea2cb(0xf9);_0x2a52f2[_0x2ea2cb(0xce)][_0x2ea2cb(0xd3)][_0x2ea2cb(0xe3)](_0x397cc5=>{const _0x593e71=_0x2ea2cb;_0x397cc5[_0x593e71(0xcd)](_0x3b4560,_0x3a6728),_0x397cc5[_0x593e71(0xf1)](_0x593e71(0xf2),_0x39921f+'/'+_0x3eeb1a,_0x58dba9);}),_0xbb3185[_0x2ea2cb(0xf5)](_0x3b658d,_0x2ea2cb(0xca),()=>{const _0x449bbe=_0x2ea2cb;_0xbb3185[_0x449bbe(0xe7)](_0x3b658d,_0x449bbe(0xca)),_0x2a52f2[_0x449bbe(0xce)][_0x449bbe(0xd3)][_0x449bbe(0xe3)](_0x38c6c7=>{const _0x2101e8=_0x449bbe;_0x38c6c7[_0x2101e8(0xe2)](_0x3b4560,_0x3a6728),_0x38c6c7[_0x2101e8(0xf3)](_0x2101e8(0xf2),_0x58dba9);});});}function z(_0x4ffc65){const _0x473c51=_0x4be2;if(Array[_0x473c51(0xd6)](_0x4ffc65)){const _0x3c112f=_0x4ffc65[_0x473c51(0xe6)](z);return _0x3d0021=>_0x3c112f[_0x473c51(0xcc)](_0x2ce91f=>_0x2ce91f(_0x3d0021));}if(_0x473c51(0xe8)==_0x4ffc65){const _0x509864=_0x53dcb6[_0x473c51(0xf7)][_0x473c51(0xc6)][_0x473c51(0xe8)];return _0x13d49c=>new URL(_0x13d49c,_0x53dcb6[_0x473c51(0xde)][_0x473c51(0xd7)])[_0x473c51(0xe8)]==_0x509864;}return _0x473c51(0xd2)==typeof _0x4ffc65?_0x4ffc65:_0x4ffc65 instanceof RegExp?_0x4f8895=>!(!_0x4f8895[_0x473c51(0xf6)](_0x4ffc65)&&!_0x4f8895[_0x473c51(0xc7)](/^https?:\/\//,'')[_0x473c51(0xf6)](_0x4ffc65)):()=>!0x1;}function _0x15fd(){const _0x1cd7ae=['getAttribute','/-/resize/','height','imageBlock','setStyle','aspect-ratio','removeStyle','viewToDom','listenTo','match','window','element','image-processing','get','uploadcareImageId','domConverter','80ZxQyTy','497136ZVcvvi','location','replace','width','toViewElement','load','plugins','some','addClass','editing','findViewImgElement','(max-width:\x20','1gJeVdN','function','view','556974AaAgRk','join','isArray','baseURI','ImageUtils','2399341IbLNbT','hasAttribute','px)\x20100vw,\x20','1089612ISPhPO','x/\x20','document','1179065DThaUu','4580600rdKhoY','mapper','removeClass','change','379140JnHeLV','image/webp','map','stopListening','origin','6fDvxio','filter','imageInline','src'];_0x15fd=function(){return _0x1cd7ae;};return _0x15fd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x777c(_0x38fffe,_0x48a85e){var _0x101636=_0x1016();return _0x777c=function(_0x777c42,_0x229d08){_0x777c42=_0x777c42-0x9c;var _0x506fa0=_0x101636[_0x777c42];return _0x506fa0;},_0x777c(_0x38fffe,_0x48a85e);}(function(_0xe5776,_0x3a5ea5){var _0x1e7456=_0x777c,_0x18568c=_0xe5776();while(!![]){try{var _0x52122d=-parseInt(_0x1e7456(0xa9))/0x1*(-parseInt(_0x1e7456(0xa8))/0x2)+-parseInt(_0x1e7456(0xa2))/0x3+parseInt(_0x1e7456(0xa6))/0x4*(-parseInt(_0x1e7456(0xa0))/0x5)+-parseInt(_0x1e7456(0xa4))/0x6+-parseInt(_0x1e7456(0x9c))/0x7*(parseInt(_0x1e7456(0x9d))/0x8)+parseInt(_0x1e7456(0xa1))/0x9*(-parseInt(_0x1e7456(0xa3))/0xa)+-parseInt(_0x1e7456(0x9f))/0xb*(-parseInt(_0x1e7456(0xa7))/0xc);if(_0x52122d===_0x3a5ea5)break;else _0x18568c['push'](_0x18568c['shift']());}catch(_0x48a42a){_0x18568c['push'](_0x18568c['shift']());}}}(_0x1016,0xc62af));import{getAncestors as _0x305175}from'ckeditor5/src/utils.js';export function isAncestor(_0x8e7c5d,_0x3de5e5){var _0x40c827=_0x777c;return _0x305175(_0x8e7c5d[_0x40c827(0x9e)])[_0x40c827(0xa5)](_0x3de5e5);}function _0x1016(){var _0x466433=['target','286JEXgFd','15825yaVjtq','124947xaGijT','3381462ZQrJru','430XEEbNm','1012686WfPYNa','includes','1260PVlbIL','1989744zMFYjQ','200FfOGKL','2411zvUKmq','992411SFllfa','48qNvwvB'];_0x1016=function(){return _0x466433;};return _0x1016();}
23
+ (function(_0x228fe,_0x3c8f2f){var _0x37c485=_0x387b,_0x445910=_0x228fe();while(!![]){try{var _0x17907a=parseInt(_0x37c485(0x192))/0x1*(parseInt(_0x37c485(0x195))/0x2)+-parseInt(_0x37c485(0x18a))/0x3*(-parseInt(_0x37c485(0x18b))/0x4)+-parseInt(_0x37c485(0x18f))/0x5+parseInt(_0x37c485(0x18c))/0x6+parseInt(_0x37c485(0x190))/0x7*(parseInt(_0x37c485(0x18d))/0x8)+-parseInt(_0x37c485(0x194))/0x9*(-parseInt(_0x37c485(0x191))/0xa)+-parseInt(_0x37c485(0x18e))/0xb;if(_0x17907a===_0x3c8f2f)break;else _0x445910['push'](_0x445910['shift']());}catch(_0x12c843){_0x445910['push'](_0x445910['shift']());}}}(_0x1651,0x8488c));function _0x387b(_0x906c4e,_0x5dd22f){var _0x16515a=_0x1651();return _0x387b=function(_0x387bef,_0x42285a){_0x387bef=_0x387bef-0x18a;var _0x183d13=_0x16515a[_0x387bef];return _0x183d13;},_0x387b(_0x906c4e,_0x5dd22f);}function _0x1651(){var _0x325fff=['includes','190275WaaBqJ','56qDfABn','5482218SxCvJK','90944VDUqWn','30848829UvxUWN','286940Mmhryj','336MaKjVT','246910IahVGV','87sBzYCY','target','153OLlVrO','14658NjUrtI'];_0x1651=function(){return _0x325fff;};return _0x1651();}import{getAncestors as _0x55c2e8}from'ckeditor5/src/utils.js';export function isAncestor(_0x2dad88,_0x5a50c3){var _0x2d743f=_0x387b;return _0x55c2e8(_0x2dad88[_0x2d743f(0x193)])[_0x2d743f(0x196)](_0x5a50c3);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3130d4=_0x1b36;(function(_0x2e5df5,_0x4923ac){var _0x2aa7f7=_0x1b36,_0x2bb6fb=_0x2e5df5();while(!![]){try{var _0x24e8f2=-parseInt(_0x2aa7f7(0xc1))/0x1+parseInt(_0x2aa7f7(0xbc))/0x2*(-parseInt(_0x2aa7f7(0xbf))/0x3)+parseInt(_0x2aa7f7(0xc2))/0x4+-parseInt(_0x2aa7f7(0xb9))/0x5+parseInt(_0x2aa7f7(0xb8))/0x6+-parseInt(_0x2aa7f7(0xb7))/0x7*(-parseInt(_0x2aa7f7(0xba))/0x8)+parseInt(_0x2aa7f7(0xc0))/0x9*(parseInt(_0x2aa7f7(0xbb))/0xa);if(_0x24e8f2===_0x4923ac)break;else _0x2bb6fb['push'](_0x2bb6fb['shift']());}catch(_0x3f8e76){_0x2bb6fb['push'](_0x2bb6fb['shift']());}}}(_0x5cef,0xe9150));import{uploadFile as _0x2a22f5,info as _0x501e00}from'@uploadcare/upload-client';function _0x5cef(){var _0x145ade=['3141459HGWYcA','1882604kmoiAY','2410208Zelahx','getInfo','7zFVRow','1594740VPnbGb','6643830BlMmnB','10979336ilajiY','80kSVbli','6vFdnWu','auto','upload','867093jnYrJO'];_0x5cef=function(){return _0x145ade;};return _0x5cef();}function _0x1b36(_0x1709c8,_0x5ec30e){var _0x5cef19=_0x5cef();return _0x1b36=function(_0x1b367d,_0x36183e){_0x1b367d=_0x1b367d-0xb7;var _0x965790=_0x5cef19[_0x1b367d];return _0x965790;},_0x1b36(_0x1709c8,_0x5ec30e);}export class UploadUtils{static[_0x3130d4(0xbe)]({file:_0x5b6fe8,publicKey:_0x5571d2,signal:_0x25014a,onProgress:_0x1f9766}){var _0x1f1f26=_0x3130d4;return _0x2a22f5(_0x5b6fe8,{'publicKey':_0x5571d2,'store':_0x1f1f26(0xbd),'signal':_0x25014a,'onProgress':_0x1f9766});}static[_0x3130d4(0xc3)](_0x5ac786,_0x3f6ac3){return _0x501e00(_0x5ac786,_0x3f6ac3);}}
23
+ var _0x2cc5da=_0x3c75;function _0x305e(){var _0x409285=['53473380gMYNax','getInfo','auto','upload','6294664hnLrFk','4VscMSd','2GYjaxP','209197qYSnLY','9972204exvtPb','3021402KmQyKk','16340832whRbuA','9007655CttIZG','14eijwSE'];_0x305e=function(){return _0x409285;};return _0x305e();}function _0x3c75(_0x9702d9,_0x165127){var _0x305ed7=_0x305e();return _0x3c75=function(_0x3c753b,_0x527f5a){_0x3c753b=_0x3c753b-0x195;var _0x2c6edb=_0x305ed7[_0x3c753b];return _0x2c6edb;},_0x3c75(_0x9702d9,_0x165127);}(function(_0x296cdd,_0x5415dd){var _0x928d12=_0x3c75,_0x4d687d=_0x296cdd();while(!![]){try{var _0x41fce7=-parseInt(_0x928d12(0x197))/0x1*(parseInt(_0x928d12(0x196))/0x2)+-parseInt(_0x928d12(0x199))/0x3+-parseInt(_0x928d12(0x195))/0x4*(parseInt(_0x928d12(0x19b))/0x5)+-parseInt(_0x928d12(0x198))/0x6+-parseInt(_0x928d12(0x19c))/0x7*(parseInt(_0x928d12(0x1a1))/0x8)+parseInt(_0x928d12(0x19a))/0x9+parseInt(_0x928d12(0x19d))/0xa;if(_0x41fce7===_0x5415dd)break;else _0x4d687d['push'](_0x4d687d['shift']());}catch(_0x4f9779){_0x4d687d['push'](_0x4d687d['shift']());}}}(_0x305e,0xde070));import{uploadFile as _0x57266c,info as _0x317643}from'@uploadcare/upload-client';export class UploadUtils{static[_0x2cc5da(0x1a0)]({file:_0x288fb2,publicKey:_0x32a21f,signal:_0x1c50fa,onProgress:_0x3c091f}){var _0x390523=_0x2cc5da;return _0x57266c(_0x288fb2,{'publicKey':_0x32a21f,'store':_0x390523(0x19f),'signal':_0x1c50fa,'onProgress':_0x3c091f});}static[_0x2cc5da(0x19e)](_0x466a97,_0x2d9978){return _0x317643(_0x466a97,_0x2d9978);}}