@ckeditor/ckeditor5-uploadcare 47.2.0-alpha.3 → 47.2.0-alpha.4

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 _0x45e299,View as _0x27ffdd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x27ffdd{constructor(_0x113032){super(_0x113032);const t=_0x113032['t'],_0xfc1f0a=this['bindTemplate'],_0x143b22=new _0x45e299();_0x143b22['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':[_0x143b22,{'text':_0xfc1f0a['to']('imageUploadProgress',_0x473d22=>t('Loading\x20image...')+'\x20('+(_0x473d22||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 _0x323a81,View as _0x4bd617}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4bd617{constructor(_0xe6b8){super(_0xe6b8);const t=_0xe6b8['t'],_0x1ff2f0=this['bindTemplate'],_0x3794b7=new _0x323a81();_0x3794b7['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':[_0x3794b7,{'text':_0x1ff2f0['to']('imageUploadProgress',_0x1a659c=>t('Loading\x20image...')+'\x20('+(_0x1a659c||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 _0x14291c=_0x4fbe;(function(_0x203ab0,_0x58a530){const _0x174419=_0x4fbe,_0x44412c=_0x203ab0();while(!![]){try{const _0x59d838=parseInt(_0x174419(0xe8))/0x1*(parseInt(_0x174419(0xe4))/0x2)+parseInt(_0x174419(0xd9))/0x3*(-parseInt(_0x174419(0xdc))/0x4)+parseInt(_0x174419(0xe6))/0x5*(parseInt(_0x174419(0xd7))/0x6)+-parseInt(_0x174419(0xe2))/0x7+parseInt(_0x174419(0xb7))/0x8+-parseInt(_0x174419(0xc1))/0x9*(-parseInt(_0x174419(0xc9))/0xa)+-parseInt(_0x174419(0xbd))/0xb*(-parseInt(_0x174419(0xce))/0xc);if(_0x59d838===_0x58a530)break;else _0x44412c['push'](_0x44412c['shift']());}catch(_0x52b2f3){_0x44412c['push'](_0x44412c['shift']());}}}(_0x5057,0x77f47));function _0x5057(){const _0x9cf303=['addEventListener','detail','disconnect','_items','length','fire','element','134500euRygt','uploading','setTemplate','focus','retry','95532byBFOa','addMany','target','_addErrorViewListeners','apply','ck-uploadcare-form','cancel','ready','status','6xhuwmK','change:status','291210Rveurt','_loadingView','createCollection','40mktzoN','getFocusableElement','nodeName','ck-reset_all-excluded','_focusableView','cdnUrl','4985603PAmgEu','toLowerCase','2dFpSRo','clear','3548470IJCaQF','set','548971ZRboMR','_setView','add','once','_editingView','_waitForImageEditorComponent','uc-cloud-image-editor','observe','5302192JEAMnd','filter','_addUploadcareImageEditorListeners','querySelector','_errorView','render','275saRlQX','error','div','addedNodes','36zRiURd'];_0x5057=function(){return _0x9cf303;};return _0x5057();}import{View as _0x3356ac}from'ckeditor5/src/ui.js';function _0x4fbe(_0x1e7d71,_0xe7ae6c){const _0x505720=_0x5057();return _0x4fbe=function(_0x4fbe67,_0x98dbdc){_0x4fbe67=_0x4fbe67-0xb2;let _0x38cca3=_0x505720[_0x4fbe67];return _0x38cca3;},_0x4fbe(_0x1e7d71,_0xe7ae6c);}import{UploadcareImageEditFormLoadingView as _0x12642d}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x46f53a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa74dd5}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x28f39b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x28f39b{[_0x14291c(0xc5)];[_0x14291c(0xda)];[_0x14291c(0xbb)];[_0x14291c(0xb3)];[_0x14291c(0xe0)];constructor(_0x52d65f,_0x44c6ee,_0x50dc6a){const _0xce3a36=_0x14291c;super(_0x52d65f),this[_0xce3a36(0xc5)]=this[_0xce3a36(0xdb)](),this[_0xce3a36(0xda)]=new _0x12642d(_0x52d65f),this[_0xce3a36(0xbb)]=new _0x46f53a(_0x52d65f),this[_0xce3a36(0xb3)]=new _0xa74dd5(_0x52d65f,_0x50dc6a),this[_0xce3a36(0xe0)]=new _0x3356ac(_0x52d65f),this[_0xce3a36(0xe0)][_0xce3a36(0xcb)](this[_0xce3a36(0xdd)]()),this[_0xce3a36(0xe7)](_0xce3a36(0xd6),_0x44c6ee),this[_0xce3a36(0xcb)]({'tag':_0xce3a36(0xbf),'attributes':{'class':['ck',_0xce3a36(0xdf),_0xce3a36(0xd3)],'tabindex':'-1'},'children':this[_0xce3a36(0xc5)]}),this[_0xce3a36(0xe9)](),this[_0xce3a36(0xb2)](_0xce3a36(0xbc),()=>{const _0x26fdfb=_0xce3a36;this[_0x26fdfb(0xb4)](this[_0x26fdfb(0xc8)],_0xf60746=>{const _0x229571=_0x26fdfb;this[_0x229571(0xb9)](_0xf60746);});}),this['on'](_0xce3a36(0xd8),()=>{const _0x5ab500=_0xce3a36;this[_0x5ab500(0xe9)]();}),this[_0xce3a36(0xd1)]();}[_0x14291c(0xcc)](){const _0x44436f=_0x14291c;this[_0x44436f(0xc8)][_0x44436f(0xcc)]();}[_0x14291c(0xe9)](){const _0x1bb9d6=_0x14291c;switch(this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xe5)](),this[_0x1bb9d6(0xd6)]){case _0x1bb9d6(0xca):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xea)](this[_0x1bb9d6(0xda)]);break;case _0x1bb9d6(0xbe):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xea)](this[_0x1bb9d6(0xbb)]);break;case _0x1bb9d6(0xd5):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xcf)]([this[_0x1bb9d6(0xb3)],this[_0x1bb9d6(0xe0)]]);}}[_0x14291c(0xb4)](_0x174d42,_0x2dcfd2){const _0x181ec8=_0x14291c,_0x48b046=_0x181ec8(0xb5),_0x2b576a=_0x174d42[_0x181ec8(0xba)](_0x48b046);if(_0x2b576a)return _0x2dcfd2(_0x2b576a);const _0x586169=new MutationObserver(_0x2ecb80=>{const _0xca6a2e=_0x181ec8,_0x3cf0dc=_0x2ecb80[_0xca6a2e(0xb8)](_0x1f138d=>_0x1f138d[_0xca6a2e(0xd0)]===_0x174d42&&_0x1f138d[_0xca6a2e(0xc0)][_0xca6a2e(0xc6)]>0x0&&_0x1f138d[_0xca6a2e(0xc0)][0x0][_0xca6a2e(0xde)][_0xca6a2e(0xe3)]()===_0x48b046);_0x3cf0dc[_0xca6a2e(0xc6)]&&(_0x586169[_0xca6a2e(0xc4)](),_0x2dcfd2(_0x3cf0dc[0x0][_0xca6a2e(0xc0)][0x0]));});_0x586169[_0x181ec8(0xb6)](_0x174d42,{'childList':!0x0,'subtree':!0x0});}[_0x14291c(0xb9)](_0x367775){const _0x5a81b6=_0x14291c;_0x367775[_0x5a81b6(0xc2)](_0x5a81b6(0xd2),_0x3f6b1e=>{const _0x568ba4=_0x5a81b6;this[_0x568ba4(0xc7)](_0x568ba4(0xd2),{'imageSrc':_0x3f6b1e[_0x568ba4(0xc3)][_0x568ba4(0xe1)]});}),_0x367775[_0x5a81b6(0xc2)](_0x5a81b6(0xd4),()=>{const _0x88fb07=_0x5a81b6;this[_0x88fb07(0xc7)](_0x88fb07(0xd4));});}[_0x14291c(0xd1)](){const _0x297122=_0x14291c;this[_0x297122(0xbb)]['on'](_0x297122(0xcd),()=>{const _0x5e521c=_0x297122;this[_0x5e521c(0xc7)](_0x5e521c(0xcd));});}}
23
+ const _0xeb00f3=_0x557b;(function(_0x445868,_0x20faa6){const _0x4ad318=_0x557b,_0x1e43d6=_0x445868();while(!![]){try{const _0x496dc1=-parseInt(_0x4ad318(0x207))/0x1+-parseInt(_0x4ad318(0x1ff))/0x2+parseInt(_0x4ad318(0x1f9))/0x3*(parseInt(_0x4ad318(0x1eb))/0x4)+parseInt(_0x4ad318(0x1fb))/0x5+parseInt(_0x4ad318(0x203))/0x6+-parseInt(_0x4ad318(0x1e7))/0x7*(parseInt(_0x4ad318(0x1e8))/0x8)+parseInt(_0x4ad318(0x1ec))/0x9*(parseInt(_0x4ad318(0x206))/0xa);if(_0x496dc1===_0x20faa6)break;else _0x1e43d6['push'](_0x1e43d6['shift']());}catch(_0x3a2551){_0x1e43d6['push'](_0x1e43d6['shift']());}}}(_0x1bc6,0x68886));function _0x1bc6(){const _0x20e91f=['length','832766PKLaMm','nodeName','createCollection','_editingView','1488078TniOxp','retry','addedNodes','1345750LPHDym','499716OGbmQR','once','setTemplate','uploading','status','querySelector','ck-reset_all-excluded','toLowerCase','add','getFocusableElement','target','filter','ready','_focusableView','apply','detail','error','ck-uploadcare-form','div','addMany','_addErrorViewListeners','_waitForImageEditorComponent','_items','3678486PTgtWT','8rXZZIx','disconnect','element','260384GnYIEd','72gbTsSf','focus','observe','uc-cloud-image-editor','_loadingView','cancel','set','_addUploadcareImageEditorListeners','_errorView','render','addEventListener','clear','change:status','6PytuiR','_setView','2074790NYfjwH','fire','cdnUrl'];_0x1bc6=function(){return _0x20e91f;};return _0x1bc6();}import{View as _0x28eb50}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3b06aa}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4192a8}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x419783}from'./uploadcareimageeditformeditingview.js';function _0x557b(_0x2352ec,_0x1e9561){const _0x1bc6db=_0x1bc6();return _0x557b=function(_0x557b80,_0x11b0fc){_0x557b80=_0x557b80-0x1d2;let _0x44227a=_0x1bc6db[_0x557b80];return _0x44227a;},_0x557b(_0x2352ec,_0x1e9561);}import{DialogFocusManagerView as _0x4389df}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4389df{[_0xeb00f3(0x1e6)];[_0xeb00f3(0x1f0)];[_0xeb00f3(0x1f4)];[_0xeb00f3(0x202)];[_0xeb00f3(0x1dd)];constructor(_0x131430,_0x97e817,_0x3caa38){const _0x3bd5e1=_0xeb00f3;super(_0x131430),this[_0x3bd5e1(0x1e6)]=this[_0x3bd5e1(0x201)](),this[_0x3bd5e1(0x1f0)]=new _0x3b06aa(_0x131430),this[_0x3bd5e1(0x1f4)]=new _0x4192a8(_0x131430),this[_0x3bd5e1(0x202)]=new _0x419783(_0x131430,_0x3caa38),this[_0x3bd5e1(0x1dd)]=new _0x28eb50(_0x131430),this[_0x3bd5e1(0x1dd)][_0x3bd5e1(0x1d2)](this[_0x3bd5e1(0x1d9)]()),this[_0x3bd5e1(0x1f2)](_0x3bd5e1(0x1d4),_0x97e817),this[_0x3bd5e1(0x1d2)]({'tag':_0x3bd5e1(0x1e2),'attributes':{'class':['ck',_0x3bd5e1(0x1d6),_0x3bd5e1(0x1e1)],'tabindex':'-1'},'children':this[_0x3bd5e1(0x1e6)]}),this[_0x3bd5e1(0x1fa)](),this[_0x3bd5e1(0x208)](_0x3bd5e1(0x1f5),()=>{const _0x247b73=_0x3bd5e1;this[_0x247b73(0x1e5)](this[_0x247b73(0x1ea)],_0x24f6dc=>{const _0x261c5c=_0x247b73;this[_0x261c5c(0x1f3)](_0x24f6dc);});}),this['on'](_0x3bd5e1(0x1f8),()=>{const _0x35cdd2=_0x3bd5e1;this[_0x35cdd2(0x1fa)]();}),this[_0x3bd5e1(0x1e4)]();}[_0xeb00f3(0x1ed)](){const _0x119491=_0xeb00f3;this[_0x119491(0x1ea)][_0x119491(0x1ed)]();}[_0xeb00f3(0x1fa)](){const _0x4b7a45=_0xeb00f3;switch(this[_0x4b7a45(0x1e6)][_0x4b7a45(0x1f7)](),this[_0x4b7a45(0x1d4)]){case _0x4b7a45(0x1d3):this[_0x4b7a45(0x1e6)][_0x4b7a45(0x1d8)](this[_0x4b7a45(0x1f0)]);break;case _0x4b7a45(0x1e0):this[_0x4b7a45(0x1e6)][_0x4b7a45(0x1d8)](this[_0x4b7a45(0x1f4)]);break;case _0x4b7a45(0x1dc):this[_0x4b7a45(0x1e6)][_0x4b7a45(0x1e3)]([this[_0x4b7a45(0x202)],this[_0x4b7a45(0x1dd)]]);}}[_0xeb00f3(0x1e5)](_0x570666,_0x1adeae){const _0x15fce0=_0xeb00f3,_0x4e59f7=_0x15fce0(0x1ef),_0x5d8305=_0x570666[_0x15fce0(0x1d5)](_0x4e59f7);if(_0x5d8305)return _0x1adeae(_0x5d8305);const _0x582109=new MutationObserver(_0x2e8419=>{const _0x201019=_0x15fce0,_0x242a9b=_0x2e8419[_0x201019(0x1db)](_0x15d526=>_0x15d526[_0x201019(0x1da)]===_0x570666&&_0x15d526[_0x201019(0x205)][_0x201019(0x1fe)]>0x0&&_0x15d526[_0x201019(0x205)][0x0][_0x201019(0x200)][_0x201019(0x1d7)]()===_0x4e59f7);_0x242a9b[_0x201019(0x1fe)]&&(_0x582109[_0x201019(0x1e9)](),_0x1adeae(_0x242a9b[0x0][_0x201019(0x205)][0x0]));});_0x582109[_0x15fce0(0x1ee)](_0x570666,{'childList':!0x0,'subtree':!0x0});}[_0xeb00f3(0x1f3)](_0x5e2559){const _0x50b0ec=_0xeb00f3;_0x5e2559[_0x50b0ec(0x1f6)](_0x50b0ec(0x1de),_0x10261e=>{const _0x4dbe21=_0x50b0ec;this[_0x4dbe21(0x1fc)](_0x4dbe21(0x1de),{'imageSrc':_0x10261e[_0x4dbe21(0x1df)][_0x4dbe21(0x1fd)]});}),_0x5e2559[_0x50b0ec(0x1f6)](_0x50b0ec(0x1f1),()=>{const _0x1b8146=_0x50b0ec;this[_0x1b8146(0x1fc)](_0x1b8146(0x1f1));});}[_0xeb00f3(0x1e4)](){const _0x765fa=_0xeb00f3;this[_0x765fa(0x1f4)]['on'](_0x765fa(0x204),()=>{const _0x1d1900=_0x765fa;this[_0x1d1900(0x1fc)](_0x1d1900(0x204));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c5b51=_0x527c;(function(_0xdf8c08,_0x173f4e){const _0x4ee1bc=_0x527c,_0x261059=_0xdf8c08();while(!![]){try{const _0xfc2378=parseInt(_0x4ee1bc(0x9c))/0x1*(parseInt(_0x4ee1bc(0xa1))/0x2)+parseInt(_0x4ee1bc(0x93))/0x3*(parseInt(_0x4ee1bc(0x86))/0x4)+-parseInt(_0x4ee1bc(0x8d))/0x5+-parseInt(_0x4ee1bc(0x8b))/0x6*(-parseInt(_0x4ee1bc(0x8a))/0x7)+-parseInt(_0x4ee1bc(0xa0))/0x8+-parseInt(_0x4ee1bc(0x9a))/0x9*(parseInt(_0x4ee1bc(0x97))/0xa)+-parseInt(_0x4ee1bc(0x8e))/0xb*(parseInt(_0x4ee1bc(0x9d))/0xc);if(_0xfc2378===_0x173f4e)break;else _0x261059['push'](_0x261059['shift']());}catch(_0x2198d8){_0x261059['push'](_0x261059['shift']());}}}(_0x27ff,0x6e171));function _0x527c(_0x518f80,_0x44c646){const _0x27ff3f=_0x27ff();return _0x527c=function(_0x527cf6,_0x42fd71){_0x527cf6=_0x527cf6-0x82;let _0x4ed1ee=_0x27ff3f[_0x527cf6];return _0x4ed1ee;},_0x527c(_0x518f80,_0x44c646);}import{Command as _0x4d0afb}from'ckeditor5/src/core.js';import{Dialog as _0xedbe87}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x16a2e0}from'./ui/uploadcareimageeditcontroller.js';function _0x27ff(){const _0x4a9d72=['isEnabled','402745BHElEg','88DZOeYf','model','bind','plugins','element','9423wcgvUA','unbind','_isEditable','requires','4302390iqTskN','imageInline','set','9AGxcec','imageBlock','246481cuWWAz','30564ZzEbqI','document','refresh','3589512LIaYYM','4UboSaT','editor','imageEditController','isActive','selection','getSelectedElement','uploadcare.allowExternalImagesEditing','820BIdxwy','get','execute','config','70945MxyCTb','174jHbUCT'];_0x27ff=function(){return _0x4a9d72;};return _0x27ff();}import{createEditabilityChecker as _0x292346}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4d0afb{[_0x3c5b51(0xa3)];static get[_0x3c5b51(0x96)](){return[_0xedbe87];}[_0x3c5b51(0x95)];constructor(_0x11a1f8){const _0x1059a4=_0x3c5b51;super(_0x11a1f8),this[_0x1059a4(0xa3)]=void 0x0,this[_0x1059a4(0x95)]=_0x292346(_0x11a1f8[_0x1059a4(0x89)][_0x1059a4(0x87)](_0x1059a4(0x85))||[]),this[_0x1059a4(0x99)]({'isActive':!0x1});}[_0x3c5b51(0x9f)](){const _0x101f3b=_0x3c5b51,_0x4ded66=this[_0x101f3b(0xa2)][_0x101f3b(0x8f)][_0x101f3b(0x9e)][_0x101f3b(0x83)][_0x101f3b(0x84)]();this[_0x101f3b(0x8c)]=this[_0x101f3b(0x95)](_0x4ded66);}[_0x3c5b51(0x88)](){const _0x213429=_0x3c5b51;this[_0x213429(0xa3)]&&(this[_0x213429(0x94)](_0x213429(0x82)),this[_0x213429(0xa3)]=void 0x0);const _0x144157=this[_0x213429(0xa2)][_0x213429(0x8f)][_0x213429(0x9e)][_0x213429(0x83)][_0x213429(0x84)]();_0x144157&&(_0x144157['is'](_0x213429(0x92),_0x213429(0x9b))||_0x144157['is'](_0x213429(0x92),_0x213429(0x98)))&&(this[_0x213429(0xa3)]=new _0x16a2e0(this[_0x213429(0xa2)],this[_0x213429(0xa2)][_0x213429(0x91)][_0x213429(0x87)](_0xedbe87),_0x144157),this[_0x213429(0x90)](_0x213429(0x82))['to'](this[_0x213429(0xa3)],_0x213429(0x82)));}}
23
+ const _0x45d8e8=_0x2c26;function _0x2c26(_0x4032bb,_0x43961f){const _0x3f3e10=_0x3f3e();return _0x2c26=function(_0x2c264c,_0x1702da){_0x2c264c=_0x2c264c-0x79;let _0x5b5190=_0x3f3e10[_0x2c264c];return _0x5b5190;},_0x2c26(_0x4032bb,_0x43961f);}(function(_0x298077,_0x43ed45){const _0x5b36af=_0x2c26,_0x2c6ba0=_0x298077();while(!![]){try{const _0x5d186a=-parseInt(_0x5b36af(0x89))/0x1+-parseInt(_0x5b36af(0x8e))/0x2+-parseInt(_0x5b36af(0x91))/0x3+-parseInt(_0x5b36af(0x83))/0x4+parseInt(_0x5b36af(0x97))/0x5*(parseInt(_0x5b36af(0x95))/0x6)+-parseInt(_0x5b36af(0x8f))/0x7*(parseInt(_0x5b36af(0x80))/0x8)+parseInt(_0x5b36af(0x8d))/0x9*(parseInt(_0x5b36af(0x94))/0xa);if(_0x5d186a===_0x43ed45)break;else _0x2c6ba0['push'](_0x2c6ba0['shift']());}catch(_0x594030){_0x2c6ba0['push'](_0x2c6ba0['shift']());}}}(_0x3f3e,0xb3e10));import{Command as _0x3c15a8}from'ckeditor5/src/core.js';import{Dialog as _0x5a0735}from'ckeditor5/src/ui.js';function _0x3f3e(){const _0x5cb240=['910695pdxMFc','bind','model','set','117GltAwc','230792ZfvRbq','24423xrkZTS','getSelectedElement','2381361naBauq','uploadcare.allowExternalImagesEditing','imageEditController','3321170OtOSYF','3378byTirP','_isEditable','2815lmFPVd','get','requires','plugins','isEnabled','imageInline','editor','refresh','execute','1528eepreh','unbind','document','5645716hclwAF','config','isActive','selection','element','imageBlock'];_0x3f3e=function(){return _0x5cb240;};return _0x3f3e();}import{UploadcareImageEditController as _0x7d52c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1c67f9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3c15a8{[_0x45d8e8(0x93)];static get[_0x45d8e8(0x79)](){return[_0x5a0735];}[_0x45d8e8(0x96)];constructor(_0x58ecd6){const _0x5a0d73=_0x45d8e8;super(_0x58ecd6),this[_0x5a0d73(0x93)]=void 0x0,this[_0x5a0d73(0x96)]=_0x1c67f9(_0x58ecd6[_0x5a0d73(0x84)][_0x5a0d73(0x98)](_0x5a0d73(0x92))||[]),this[_0x5a0d73(0x8c)]({'isActive':!0x1});}[_0x45d8e8(0x7e)](){const _0x57211c=_0x45d8e8,_0x55aaf6=this[_0x57211c(0x7d)][_0x57211c(0x8b)][_0x57211c(0x82)][_0x57211c(0x86)][_0x57211c(0x90)]();this[_0x57211c(0x7b)]=this[_0x57211c(0x96)](_0x55aaf6);}[_0x45d8e8(0x7f)](){const _0x5c9950=_0x45d8e8;this[_0x5c9950(0x93)]&&(this[_0x5c9950(0x81)](_0x5c9950(0x85)),this[_0x5c9950(0x93)]=void 0x0);const _0x5eae14=this[_0x5c9950(0x7d)][_0x5c9950(0x8b)][_0x5c9950(0x82)][_0x5c9950(0x86)][_0x5c9950(0x90)]();_0x5eae14&&(_0x5eae14['is'](_0x5c9950(0x87),_0x5c9950(0x88))||_0x5eae14['is'](_0x5c9950(0x87),_0x5c9950(0x7c)))&&(this[_0x5c9950(0x93)]=new _0x7d52c(this[_0x5c9950(0x7d)],this[_0x5c9950(0x7d)][_0x5c9950(0x7a)][_0x5c9950(0x98)](_0x5a0735),_0x5eae14),this[_0x5c9950(0x8a)](_0x5c9950(0x85))['to'](this[_0x5c9950(0x93)],_0x5c9950(0x85)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3aa3(){const _0x24500b=['10456839iynNLh','pluginName','ImageUtils','uploadcareImageEdit','ImageEditing','commands','14mfIENh','59EwBFes','isOfficialPlugin','add','2804444riXZtt','uploadcareImageReplace','UploadcareImageEditEditing','11cvPfjs','3949990lbvUFB','340552fLnVoL','664782PjKlSQ','33526szjFqx','isPremiumPlugin','22513590lOafGC','requires','3AyCfdC','init'];_0x3aa3=function(){return _0x24500b;};return _0x3aa3();}const _0x69f7a5=_0x32c7;function _0x32c7(_0x5dc0b5,_0x41c2ca){const _0x3aa317=_0x3aa3();return _0x32c7=function(_0x32c79d,_0x14b0d4){_0x32c79d=_0x32c79d-0x125;let _0x1f2a56=_0x3aa317[_0x32c79d];return _0x1f2a56;},_0x32c7(_0x5dc0b5,_0x41c2ca);}(function(_0x9ad4d4,_0xc1c0ae){const _0x42d29d=_0x32c7,_0x470a54=_0x9ad4d4();while(!![]){try{const _0x2d7431=parseInt(_0x42d29d(0x12c))/0x1*(parseInt(_0x42d29d(0x136))/0x2)+parseInt(_0x42d29d(0x13a))/0x3*(-parseInt(_0x42d29d(0x12f))/0x4)+-parseInt(_0x42d29d(0x133))/0x5+parseInt(_0x42d29d(0x135))/0x6+parseInt(_0x42d29d(0x12b))/0x7*(parseInt(_0x42d29d(0x134))/0x8)+-parseInt(_0x42d29d(0x125))/0x9+-parseInt(_0x42d29d(0x138))/0xa*(-parseInt(_0x42d29d(0x132))/0xb);if(_0x2d7431===_0xc1c0ae)break;else _0x470a54['push'](_0x470a54['shift']());}catch(_0x3937e1){_0x470a54['push'](_0x470a54['shift']());}}}(_0x3aa3,0xbf3e3));import{Plugin as _0x6b9d8c}from'ckeditor5/src/core.js';import{Notification as _0x7733a4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x57dce0}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51b62e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x558b78}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x6b9d8c{static get[_0x69f7a5(0x126)](){const _0xf6df72=_0x69f7a5;return _0xf6df72(0x131);}static get[_0x69f7a5(0x139)](){const _0x12e247=_0x69f7a5;return[_0x558b78,_0x7733a4,_0x12e247(0x127),_0x12e247(0x129)];}static get[_0x69f7a5(0x12d)](){return!0x0;}static get[_0x69f7a5(0x137)](){return!0x0;}[_0x69f7a5(0x13b)](){const _0x126a93=_0x69f7a5,{editor:_0x5cc27f}=this;_0x5cc27f[_0x126a93(0x12a)][_0x126a93(0x12e)](_0x126a93(0x128),new _0x57dce0(_0x5cc27f)),_0x5cc27f[_0x126a93(0x12a)][_0x126a93(0x12e)](_0x126a93(0x130),new _0x51b62e(_0x5cc27f));}}
23
+ const _0x2db45a=_0x5173;function _0x5c7a(){const _0x27961d=['init','requires','50TqQegB','16YdHrkp','add','1374kOeaQh','5645UVDtIU','54379pnLdQz','isPremiumPlugin','uploadcareImageReplace','isOfficialPlugin','uploadcareImageEdit','ImageEditing','1339765XPgKXf','2frdKcC','228330BdpkbH','UploadcareImageEditEditing','276Knscrv','163339KJlztx','commands','17613dNibZY','36yAKyOV','pluginName','ImageUtils','60222SkgZbC'];_0x5c7a=function(){return _0x27961d;};return _0x5c7a();}(function(_0x2c1032,_0x4e3dda){const _0x353296=_0x5173,_0x210b61=_0x2c1032();while(!![]){try{const _0x198ecb=parseInt(_0x353296(0x1a8))/0x1*(-parseInt(_0x353296(0x199))/0x2)+-parseInt(_0x353296(0x1ae))/0x3*(-parseInt(_0x353296(0x1af))/0x4)+-parseInt(_0x353296(0x1a0))/0x5*(parseInt(_0x353296(0x19f))/0x6)+parseInt(_0x353296(0x1a7))/0x7+-parseInt(_0x353296(0x19d))/0x8*(-parseInt(_0x353296(0x1a9))/0x9)+parseInt(_0x353296(0x19c))/0xa*(parseInt(_0x353296(0x1ac))/0xb)+parseInt(_0x353296(0x1ab))/0xc*(parseInt(_0x353296(0x1a1))/0xd);if(_0x198ecb===_0x4e3dda)break;else _0x210b61['push'](_0x210b61['shift']());}catch(_0x336721){_0x210b61['push'](_0x210b61['shift']());}}}(_0x5c7a,0x23ce9));import{Plugin as _0x315764}from'ckeditor5/src/core.js';import{Notification as _0x48d99d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3a9f65}from'./uploadcareimageeditcommand.js';function _0x5173(_0x2d119c,_0x440dda){const _0x5c7afa=_0x5c7a();return _0x5173=function(_0x517309,_0x17fcc8){_0x517309=_0x517309-0x197;let _0x1a4cc0=_0x5c7afa[_0x517309];return _0x1a4cc0;},_0x5173(_0x2d119c,_0x440dda);}import{UploadcareImageReplaceCommand as _0x3e7761}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x389c38}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x315764{static get[_0x2db45a(0x197)](){const _0x1ee6a3=_0x2db45a;return _0x1ee6a3(0x1aa);}static get[_0x2db45a(0x19b)](){const _0x3deddb=_0x2db45a;return[_0x389c38,_0x48d99d,_0x3deddb(0x198),_0x3deddb(0x1a6)];}static get[_0x2db45a(0x1a4)](){return!0x0;}static get[_0x2db45a(0x1a2)](){return!0x0;}[_0x2db45a(0x19a)](){const _0x1818aa=_0x2db45a,{editor:_0x6ad844}=this;_0x6ad844[_0x1818aa(0x1ad)][_0x1818aa(0x19e)](_0x1818aa(0x1a5),new _0x3a9f65(_0x6ad844)),_0x6ad844[_0x1818aa(0x1ad)][_0x1818aa(0x19e)](_0x1818aa(0x1a3),new _0x3e7761(_0x6ad844));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d9b6f}from'ckeditor5/src/core.js';import{ButtonView as _0x323875}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4775c5}from'ckeditor5/src/icons.js';import{createElement as _0x913ddc}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 _0x2d9b6f{['_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 _0x3100e5=this['editor'];_0x3100e5['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc89c9c=>{const _0x3d0ac1=_0x3100e5['commands']['get']('uploadcareImageEdit'),_0x34ffc2=new _0x323875(_0xc89c9c),t=_0xc89c9c['t'];return _0x34ffc2['set']({'icon':_0x4775c5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x34ffc2['bind']('isEnabled')['to'](_0x3d0ac1),_0x34ffc2['bind']('isOn')['to'](_0x3d0ac1,'isActive'),this['listenTo'](_0x34ffc2,'execute',()=>{_0x3100e5['execute']('uploadcareImageEdit'),_0x3100e5['editing']['view']['focus']();}),_0x34ffc2;}),this['_initConfig']();}['_initConfig'](){const _0x313926=_0x913ddc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x313926),this['listenTo'](this['editor'],'destroy',()=>{_0x313926['remove']();});}}
23
+ import{Plugin as _0x519b42}from'ckeditor5/src/core.js';import{ButtonView as _0x48fdc1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x20f3ec}from'ckeditor5/src/icons.js';import{createElement as _0x4405bb}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 _0x519b42{['_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 _0x58078d=this['editor'];_0x58078d['ui']['componentFactory']['add']('uploadcareImageEdit',_0xe93170=>{const _0x432386=_0x58078d['commands']['get']('uploadcareImageEdit'),_0x3d9ebf=new _0x48fdc1(_0xe93170),t=_0xe93170['t'];return _0x3d9ebf['set']({'icon':_0x20f3ec,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3d9ebf['bind']('isEnabled')['to'](_0x432386),_0x3d9ebf['bind']('isOn')['to'](_0x432386,'isActive'),this['listenTo'](_0x3d9ebf,'execute',()=>{_0x58078d['execute']('uploadcareImageEdit'),_0x58078d['editing']['view']['focus']();}),_0x3d9ebf;}),this['_initConfig']();}['_initConfig'](){const _0x14f035=_0x4405bb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x14f035),this['listenTo'](this['editor'],'destroy',()=>{_0x14f035['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53f9e6=_0x3acf;function _0x3acf(_0x19cc69,_0x33a487){var _0x5a39d6=_0x5a39();return _0x3acf=function(_0x3acf81,_0x708bfd){_0x3acf81=_0x3acf81-0xa3;var _0x455c91=_0x5a39d6[_0x3acf81];return _0x455c91;},_0x3acf(_0x19cc69,_0x33a487);}(function(_0x5e8935,_0x2f9931){var _0x35dd35=_0x3acf,_0x1ebd28=_0x5e8935();while(!![]){try{var _0x49f61b=parseInt(_0x35dd35(0xa9))/0x1+parseInt(_0x35dd35(0xa5))/0x2+parseInt(_0x35dd35(0xb2))/0x3+-parseInt(_0x35dd35(0xaa))/0x4+-parseInt(_0x35dd35(0xab))/0x5*(-parseInt(_0x35dd35(0xae))/0x6)+-parseInt(_0x35dd35(0xb3))/0x7*(-parseInt(_0x35dd35(0xad))/0x8)+-parseInt(_0x35dd35(0xb5))/0x9*(parseInt(_0x35dd35(0xa8))/0xa);if(_0x49f61b===_0x2f9931)break;else _0x1ebd28['push'](_0x1ebd28['shift']());}catch(_0x505fed){_0x1ebd28['push'](_0x1ebd28['shift']());}}}(_0x5a39,0xb5c4f));import{FocusTracker as _0x12b36a}from'ckeditor5/src/utils.js';import{View as _0x6e3246,FocusCycler as _0x36df4a}from'ckeditor5/src/ui.js';function _0x5a39(){var _0x3f610e=['4645580xpkwxr','5ovITvo','getFocusableElement','16hvfUCY','2099148sUHvUr','true','focusCycler','createCollection','285891dzuOPy','3185252HBaEpH','focusTracker','108gGKVMv','forwardCycle','div','1723364lILsrv','bindTemplate','fire','1447610eybxAJ','1426145Hjusog'];_0x5a39=function(){return _0x3f610e;};return _0x5a39();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x6e3246{[_0x53f9e6(0xb4)];[_0x53f9e6(0xb0)];constructor(_0x2521e9){var _0x14db98=_0x53f9e6;super(_0x2521e9),this[_0x14db98(0xb4)]=new _0x12b36a(),this[_0x14db98(0xb0)]=new _0x36df4a({'focusables':this[_0x14db98(0xb1)](),'focusTracker':this[_0x14db98(0xb4)]});}[_0x53f9e6(0xac)](){var _0x5f0044=_0x53f9e6;return{'tag':_0x5f0044(0xa4),'attributes':{'aria-hidden':_0x5f0044(0xaf),'tabindex':'0'},'on':{'focus':this[_0x5f0044(0xa6)]['to'](()=>{var _0x1c0d14=_0x5f0044;this[_0x1c0d14(0xb0)][_0x1c0d14(0xa7)](_0x1c0d14(0xa3));})}};}}
23
+ var _0x812741=_0x47c9;(function(_0x2474f7,_0x39d300){var _0x4194e6=_0x47c9,_0x12db0d=_0x2474f7();while(!![]){try{var _0x170416=parseInt(_0x4194e6(0x1a1))/0x1*(-parseInt(_0x4194e6(0x199))/0x2)+parseInt(_0x4194e6(0x19c))/0x3*(parseInt(_0x4194e6(0x1a2))/0x4)+parseInt(_0x4194e6(0x190))/0x5+-parseInt(_0x4194e6(0x19d))/0x6*(parseInt(_0x4194e6(0x194))/0x7)+parseInt(_0x4194e6(0x195))/0x8+parseInt(_0x4194e6(0x19b))/0x9+-parseInt(_0x4194e6(0x198))/0xa*(parseInt(_0x4194e6(0x192))/0xb);if(_0x170416===_0x39d300)break;else _0x12db0d['push'](_0x12db0d['shift']());}catch(_0x113d66){_0x12db0d['push'](_0x12db0d['shift']());}}}(_0x578e,0xb9a85));import{FocusTracker as _0x2c0b83}from'ckeditor5/src/utils.js';import{View as _0x1934c1,FocusCycler as _0x34ae07}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1934c1{[_0x812741(0x19e)];[_0x812741(0x197)];constructor(_0x2ae3b3){var _0x4859e3=_0x812741;super(_0x2ae3b3),this[_0x4859e3(0x19e)]=new _0x2c0b83(),this[_0x4859e3(0x197)]=new _0x34ae07({'focusables':this[_0x4859e3(0x196)](),'focusTracker':this[_0x4859e3(0x19e)]});}[_0x812741(0x1a0)](){var _0x14d12e=_0x812741;return{'tag':_0x14d12e(0x19a),'attributes':{'aria-hidden':_0x14d12e(0x1a3),'tabindex':'0'},'on':{'focus':this[_0x14d12e(0x19f)]['to'](()=>{var _0x3d6e95=_0x14d12e;this[_0x3d6e95(0x197)][_0x3d6e95(0x193)](_0x3d6e95(0x191));})}};}}function _0x47c9(_0x292295,_0x2bb204){var _0x578e2c=_0x578e();return _0x47c9=function(_0x47c95,_0x3e9e0a){_0x47c95=_0x47c95-0x190;var _0x45176c=_0x578e2c[_0x47c95];return _0x45176c;},_0x47c9(_0x292295,_0x2bb204);}function _0x578e(){var _0x544410=['focusTracker','bindTemplate','getFocusableElement','34zcYTVS','416308yTqBmg','true','1206410nYBwhQ','forwardCycle','22xfZstu','fire','28sgXBdb','3369376kUyHSP','createCollection','focusCycler','413960xvdxTP','46286unodrv','div','7039764bbuSnW','27YnOiNH','1126854ubuJOb'];_0x578e=function(){return _0x544410;};return _0x578e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x452d(_0x15603d,_0x5a57f3){const _0x228f19=_0x228f();return _0x452d=function(_0x452d0f,_0x3ebded){_0x452d0f=_0x452d0f-0x85;let _0xe60dfc=_0x228f19[_0x452d0f];return _0xe60dfc;},_0x452d(_0x15603d,_0x5a57f3);}(function(_0x58079b,_0x3ee98c){const _0x26d718=_0x452d,_0x3708b8=_0x58079b();while(!![]){try{const _0x4c0c54=parseInt(_0x26d718(0x93))/0x1+parseInt(_0x26d718(0x9a))/0x2+parseInt(_0x26d718(0x91))/0x3+parseInt(_0x26d718(0xa0))/0x4*(parseInt(_0x26d718(0x9e))/0x5)+parseInt(_0x26d718(0xa3))/0x6*(parseInt(_0x26d718(0xaf))/0x7)+-parseInt(_0x26d718(0xaa))/0x8*(parseInt(_0x26d718(0xa2))/0x9)+-parseInt(_0x26d718(0xb3))/0xa;if(_0x4c0c54===_0x3ee98c)break;else _0x3708b8['push'](_0x3708b8['shift']());}catch(_0x2dad81){_0x3708b8['push'](_0x3708b8['shift']());}}}(_0x228f,0x9cad7));import{global as _0x22c37c,DomEmitterMixin as _0x2d96bd}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x1f914d){const _0x1ed415=_0x452d,_0x177c39=G(_0x1f914d);return _0x5ddda0=>!(!_0x5ddda0||!_0x5ddda0['is'](_0x1ed415(0xbb),_0x1ed415(0x9f))&&!_0x5ddda0['is'](_0x1ed415(0xbb),_0x1ed415(0xb9)))&&(!!_0x5ddda0[_0x1ed415(0x8e)](_0x1ed415(0xb2))||!!_0x5ddda0[_0x1ed415(0x8e)](_0x1ed415(0xb5))&&_0x177c39(_0x5ddda0[_0x1ed415(0x8b)](_0x1ed415(0xb5))));}function _0x228f(){const _0x438a0a=['function','domConverter','x/\x20','getAttribute','aspect-ratio','/-/resize/','hasAttribute','(max-width:\x20','findViewImgElement','3358428bujqPt','toViewElement','553926xnLMAd','match','some','join','plugins','replace','filter','2463268aFwkIj','ImageUtils','baseURI','width','15RRymSs','imageBlock','88364SXLtTl','window','9vHosEa','5590908KMIobj','map','origin','addClass','stopListening','setStyle','mapper','7637032Chdaxg','get','view','location','px)\x20100vw,\x20','7HlEWlT','image/webp','removeClass','uploadcareImageId','23067470iLloBI','removeStyle','src','load','height','image-processing','imageInline','isArray','element','change','listenTo','editing','document','viewToDom'];_0x228f=function(){return _0x438a0a;};return _0x228f();}export function getImageUrls(_0x46084b,_0x4e3215){const _0x1a6e37=_0x452d,_0x5d5de4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1a6e37(0x99)](_0xc9ee38=>_0xc9ee38<=_0x4e3215)[_0x1a6e37(0xa4)](_0x312264=>_0x46084b[_0x1a6e37(0x98)](/\/$/,'')+_0x1a6e37(0x8d)+_0x312264+_0x1a6e37(0x8a)+_0x312264+'w');return{'imageFallbackUrl':_0x46084b,'imageSources':[{'srcset':_0x5d5de4[_0x1a6e37(0x96)](',\x20'),'sizes':_0x1a6e37(0x8f)+_0x4e3215+_0x1a6e37(0xae)+_0x4e3215+'px','type':_0x1a6e37(0xb0)}]};}export function getImageDimension(_0x31bb54,_0x12a522,_0x5116e6){const _0x1cb37e=_0x452d,_0x4aae4e=_0x31bb54[_0x1cb37e(0x94)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4aae4e?parseInt(_0x4aae4e[0x1],0xa):_0x12a522,'height':_0x4aae4e?parseInt(_0x4aae4e[0x2],0xa):_0x5116e6};}export function showImageProcessingIndicator(_0x10b63d,_0x163e71){const _0x454f73=_0x452d,_0x425d13=new(_0x2d96bd())(),_0x66c1c1=_0x10b63d[_0x454f73(0x97)][_0x454f73(0xab)](_0x454f73(0x9b)),_0x103855=_0x10b63d[_0x454f73(0x85)][_0x454f73(0xa9)][_0x454f73(0x92)](_0x163e71),_0x45929a=_0x66c1c1[_0x454f73(0x90)](_0x103855),_0x1a6124=_0x10b63d[_0x454f73(0x85)][_0x454f73(0xac)][_0x454f73(0x89)][_0x454f73(0x87)](_0x45929a),_0x20ea00=_0x163e71[_0x454f73(0x8b)](_0x454f73(0x9d)),_0x9e943e=_0x163e71[_0x454f73(0x8b)](_0x454f73(0xb7)),_0x4cdf5a=_0x454f73(0xb8);_0x10b63d[_0x454f73(0x85)][_0x454f73(0xac)][_0x454f73(0xbc)](_0x22bcd9=>{const _0x504514=_0x454f73;_0x22bcd9[_0x504514(0xa6)](_0x4cdf5a,_0x103855),_0x22bcd9[_0x504514(0xa8)](_0x504514(0x8c),_0x20ea00+'/'+_0x9e943e,_0x45929a);}),_0x425d13[_0x454f73(0xbd)](_0x1a6124,_0x454f73(0xb6),()=>{const _0x442cf1=_0x454f73;_0x425d13[_0x442cf1(0xa7)](_0x1a6124,_0x442cf1(0xb6)),_0x10b63d[_0x442cf1(0x85)][_0x442cf1(0xac)][_0x442cf1(0xbc)](_0x22a6eb=>{const _0x3d2a2c=_0x442cf1;_0x22a6eb[_0x3d2a2c(0xb1)](_0x4cdf5a,_0x103855),_0x22a6eb[_0x3d2a2c(0xb4)](_0x3d2a2c(0x8c),_0x45929a);});});}function G(_0x5a10ee){const _0x37805c=_0x452d;if(Array[_0x37805c(0xba)](_0x5a10ee)){const _0x5310b0=_0x5a10ee[_0x37805c(0xa4)](G);return _0x17cc16=>_0x5310b0[_0x37805c(0x95)](_0x27dcc2=>_0x27dcc2(_0x17cc16));}if(_0x37805c(0xa5)==_0x5a10ee){const _0x34d4cc=_0x22c37c[_0x37805c(0xa1)][_0x37805c(0xad)][_0x37805c(0xa5)];return _0x5bc639=>new URL(_0x5bc639,_0x22c37c[_0x37805c(0x86)][_0x37805c(0x9c)])[_0x37805c(0xa5)]==_0x34d4cc;}return _0x37805c(0x88)==typeof _0x5a10ee?_0x5a10ee:_0x5a10ee instanceof RegExp?_0x2f8680=>!(!_0x2f8680[_0x37805c(0x94)](_0x5a10ee)&&!_0x2f8680[_0x37805c(0x98)](/^https?:\/\//,'')[_0x37805c(0x94)](_0x5a10ee)):()=>!0x1;}
23
+ (function(_0x5e75f6,_0x2651bd){const _0x5dedaf=_0x3982,_0x41360d=_0x5e75f6();while(!![]){try{const _0x21ccc6=-parseInt(_0x5dedaf(0xe5))/0x1+parseInt(_0x5dedaf(0xc6))/0x2+parseInt(_0x5dedaf(0xe0))/0x3*(parseInt(_0x5dedaf(0xc3))/0x4)+parseInt(_0x5dedaf(0xcf))/0x5+parseInt(_0x5dedaf(0xe7))/0x6*(parseInt(_0x5dedaf(0xcc))/0x7)+-parseInt(_0x5dedaf(0xb8))/0x8*(parseInt(_0x5dedaf(0xd7))/0x9)+-parseInt(_0x5dedaf(0xcd))/0xa;if(_0x21ccc6===_0x2651bd)break;else _0x41360d['push'](_0x41360d['shift']());}catch(_0xf879c6){_0x41360d['push'](_0x41360d['shift']());}}}(_0x11b0,0xe2ffc));function _0x11b0(){const _0x3ebc6c=['hasAttribute','getAttribute','change','px)\x20100vw,\x20','228Wilxxs','image-processing','viewToDom','2441286fnYUxR','setStyle','baseURI','removeClass','x/\x20','(max-width:\x20','7HCMCRu','10633500QeOAfG','editing','4903725MCfUNt','uploadcareImageId','toViewElement','window','location','plugins','imageBlock','src','9TGCUFY','aspect-ratio','filter','mapper','isArray','join','listenTo','replace','function','32754cYdORZ','element','some','image/webp','origin','387693ujLucT','ImageUtils','5616468NEFKxo','view','imageInline','stopListening','map','load','domConverter','get','document','width','11031688WcTxzy','/-/resize/','match','height','findViewImgElement','addClass','removeStyle'];_0x11b0=function(){return _0x3ebc6c;};return _0x11b0();}import{global as _0x457833,DomEmitterMixin as _0x29bc36}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0xe0f8fb){const _0x3626dd=_0x3982,_0x3fba70=z(_0xe0f8fb);return _0x278670=>!(!_0x278670||!_0x278670['is'](_0x3626dd(0xe1),_0x3626dd(0xd5))&&!_0x278670['is'](_0x3626dd(0xe1),_0x3626dd(0xb0)))&&(!!_0x278670[_0x3626dd(0xbf)](_0x3626dd(0xd0))||!!_0x278670[_0x3626dd(0xbf)](_0x3626dd(0xd6))&&_0x3fba70(_0x278670[_0x3626dd(0xc0)](_0x3626dd(0xd6))));}export function getImageUrls(_0x3438d5,_0x51b9a6){const _0x5efa5=_0x3982,_0x2d5ea1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5efa5(0xd9)](_0x43fcc4=>_0x43fcc4<=_0x51b9a6)[_0x5efa5(0xb2)](_0x3b675b=>_0x3438d5[_0x5efa5(0xde)](/\/$/,'')+_0x5efa5(0xb9)+_0x3b675b+_0x5efa5(0xca)+_0x3b675b+'w');return{'imageFallbackUrl':_0x3438d5,'imageSources':[{'srcset':_0x2d5ea1[_0x5efa5(0xdc)](',\x20'),'sizes':_0x5efa5(0xcb)+_0x51b9a6+_0x5efa5(0xc2)+_0x51b9a6+'px','type':_0x5efa5(0xe3)}]};}function _0x3982(_0x1e74c8,_0x20b324){const _0x11b034=_0x11b0();return _0x3982=function(_0x39823e,_0x280e9c){_0x39823e=_0x39823e-0xb0;let _0x5d1c5a=_0x11b034[_0x39823e];return _0x5d1c5a;},_0x3982(_0x1e74c8,_0x20b324);}export function getImageDimension(_0x1a9b8b,_0x21bedd,_0x380fde){const _0x31ea4a=_0x3982,_0x338c92=_0x1a9b8b[_0x31ea4a(0xba)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x338c92?parseInt(_0x338c92[0x1],0xa):_0x21bedd,'height':_0x338c92?parseInt(_0x338c92[0x2],0xa):_0x380fde};}export function showImageProcessingIndicator(_0xa64b08,_0x1131fe){const _0x13d63b=_0x3982,_0x2f2254=new(_0x29bc36())(),_0x32d19e=_0xa64b08[_0x13d63b(0xd4)][_0x13d63b(0xb5)](_0x13d63b(0xe6)),_0x532968=_0xa64b08[_0x13d63b(0xce)][_0x13d63b(0xda)][_0x13d63b(0xd1)](_0x1131fe),_0x5d3e9e=_0x32d19e[_0x13d63b(0xbc)](_0x532968),_0x5b05c5=_0xa64b08[_0x13d63b(0xce)][_0x13d63b(0xe8)][_0x13d63b(0xb4)][_0x13d63b(0xc5)](_0x5d3e9e),_0x350b11=_0x1131fe[_0x13d63b(0xc0)](_0x13d63b(0xb7)),_0x1bbda8=_0x1131fe[_0x13d63b(0xc0)](_0x13d63b(0xbb)),_0x433f9=_0x13d63b(0xc4);_0xa64b08[_0x13d63b(0xce)][_0x13d63b(0xe8)][_0x13d63b(0xc1)](_0x3c4a0f=>{const _0x162d9e=_0x13d63b;_0x3c4a0f[_0x162d9e(0xbd)](_0x433f9,_0x532968),_0x3c4a0f[_0x162d9e(0xc7)](_0x162d9e(0xd8),_0x350b11+'/'+_0x1bbda8,_0x5d3e9e);}),_0x2f2254[_0x13d63b(0xdd)](_0x5b05c5,_0x13d63b(0xb3),()=>{const _0x5ffed4=_0x13d63b;_0x2f2254[_0x5ffed4(0xb1)](_0x5b05c5,_0x5ffed4(0xb3)),_0xa64b08[_0x5ffed4(0xce)][_0x5ffed4(0xe8)][_0x5ffed4(0xc1)](_0x2ac8e9=>{const _0x43001b=_0x5ffed4;_0x2ac8e9[_0x43001b(0xc9)](_0x433f9,_0x532968),_0x2ac8e9[_0x43001b(0xbe)](_0x43001b(0xd8),_0x5d3e9e);});});}function z(_0x3dbe0e){const _0x5c17a8=_0x3982;if(Array[_0x5c17a8(0xdb)](_0x3dbe0e)){const _0x552e3c=_0x3dbe0e[_0x5c17a8(0xb2)](z);return _0x318dc8=>_0x552e3c[_0x5c17a8(0xe2)](_0x45c584=>_0x45c584(_0x318dc8));}if(_0x5c17a8(0xe4)==_0x3dbe0e){const _0x1fa2e2=_0x457833[_0x5c17a8(0xd2)][_0x5c17a8(0xd3)][_0x5c17a8(0xe4)];return _0x39941f=>new URL(_0x39941f,_0x457833[_0x5c17a8(0xb6)][_0x5c17a8(0xc8)])[_0x5c17a8(0xe4)]==_0x1fa2e2;}return _0x5c17a8(0xdf)==typeof _0x3dbe0e?_0x3dbe0e:_0x3dbe0e instanceof RegExp?_0x2b06ff=>!(!_0x2b06ff[_0x5c17a8(0xba)](_0x3dbe0e)&&!_0x2b06ff[_0x5c17a8(0xde)](/^https?:\/\//,'')[_0x5c17a8(0xba)](_0x3dbe0e)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4f1b58,_0x1ace85){var _0x1b9cf7=_0x37e4,_0x59052b=_0x4f1b58();while(!![]){try{var _0x2824e4=-parseInt(_0x1b9cf7(0x104))/0x1*(-parseInt(_0x1b9cf7(0x102))/0x2)+parseInt(_0x1b9cf7(0x106))/0x3*(parseInt(_0x1b9cf7(0xff))/0x4)+parseInt(_0x1b9cf7(0x103))/0x5+parseInt(_0x1b9cf7(0xfe))/0x6*(-parseInt(_0x1b9cf7(0xfb))/0x7)+-parseInt(_0x1b9cf7(0x101))/0x8+-parseInt(_0x1b9cf7(0xfc))/0x9+-parseInt(_0x1b9cf7(0x100))/0xa;if(_0x2824e4===_0x1ace85)break;else _0x59052b['push'](_0x59052b['shift']());}catch(_0x55fe50){_0x59052b['push'](_0x59052b['shift']());}}}(_0x5c52,0xcb7c0));import{getAncestors as _0x2a9d05}from'ckeditor5/src/utils.js';export function isAncestor(_0x3a1233,_0x44a477){var _0x4ac748=_0x37e4;return _0x2a9d05(_0x3a1233[_0x4ac748(0xfd)])[_0x4ac748(0x105)](_0x44a477);}function _0x37e4(_0x434996,_0x24168b){var _0x5c52b8=_0x5c52();return _0x37e4=function(_0x37e448,_0x46a013){_0x37e448=_0x37e448-0xfb;var _0x1d6cf6=_0x5c52b8[_0x37e448];return _0x1d6cf6;},_0x37e4(_0x434996,_0x24168b);}function _0x5c52(){var _0x5b6dcb=['7628230TCDiEZ','322148YfbqKp','includes','23571Nkrxjy','203bgwlFL','11078613efSBSi','target','71466KZyXij','512vTtzKd','514110nWlVPy','5715032qFOhPw','4byFHMK'];_0x5c52=function(){return _0x5b6dcb;};return _0x5c52();}
23
+ function _0x334c(_0x1c6415,_0x181ed5){var _0x3aaa66=_0x3aaa();return _0x334c=function(_0x334cc7,_0x134c79){_0x334cc7=_0x334cc7-0x1ce;var _0x308e32=_0x3aaa66[_0x334cc7];return _0x308e32;},_0x334c(_0x1c6415,_0x181ed5);}(function(_0x95292c,_0x3d9229){var _0x5271c0=_0x334c,_0x1674c2=_0x95292c();while(!![]){try{var _0x1a60f8=-parseInt(_0x5271c0(0x1d9))/0x1*(-parseInt(_0x5271c0(0x1d7))/0x2)+-parseInt(_0x5271c0(0x1cf))/0x3+parseInt(_0x5271c0(0x1d2))/0x4*(-parseInt(_0x5271c0(0x1d0))/0x5)+-parseInt(_0x5271c0(0x1d1))/0x6+-parseInt(_0x5271c0(0x1d3))/0x7*(-parseInt(_0x5271c0(0x1d4))/0x8)+-parseInt(_0x5271c0(0x1d8))/0x9*(-parseInt(_0x5271c0(0x1d6))/0xa)+parseInt(_0x5271c0(0x1d5))/0xb;if(_0x1a60f8===_0x3d9229)break;else _0x1674c2['push'](_0x1674c2['shift']());}catch(_0x3026bd){_0x1674c2['push'](_0x1674c2['shift']());}}}(_0x3aaa,0x7958b));import{getAncestors as _0x1755c7}from'ckeditor5/src/utils.js';function _0x3aaa(){var _0xa434dd=['includes','target','1977936meFwXd','2837245EtJfhA','1603332hWeznx','4zXhMRI','4963gdHhLE','7576dENqGR','5088941DzrjmJ','10DeIwdh','736240vxFWIE','1086516BmJdJm','2cYDWwr'];_0x3aaa=function(){return _0xa434dd;};return _0x3aaa();}export function isAncestor(_0x1c0b64,_0x2d6520){var _0x108f94=_0x334c;return _0x1755c7(_0x1c0b64[_0x108f94(0x1ce)])[_0x108f94(0x1da)](_0x2d6520);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x23c2(){var _0x131576=['8RmKHyz','12273246VWjJzq','4415943Tzuswo','24NOAZPE','792835UrLiII','upload','3178100ofmRkZ','7157276nGnuZs','8vSMYnP','2131695jKYjBP','152373ecSvoC','getInfo'];_0x23c2=function(){return _0x131576;};return _0x23c2();}function _0x396f(_0x502aa3,_0x48750f){var _0x23c261=_0x23c2();return _0x396f=function(_0x396f0e,_0x4d9813){_0x396f0e=_0x396f0e-0x1aa;var _0x15031b=_0x23c261[_0x396f0e];return _0x15031b;},_0x396f(_0x502aa3,_0x48750f);}var _0x8f6bdb=_0x396f;(function(_0x111c67,_0x690382){var _0x28c110=_0x396f,_0x544221=_0x111c67();while(!![]){try{var _0x45bc01=parseInt(_0x28c110(0x1b5))/0x1+parseInt(_0x28c110(0x1ad))/0x2*(-parseInt(_0x28c110(0x1af))/0x3)+-parseInt(_0x28c110(0x1ac))/0x4+parseInt(_0x28c110(0x1ae))/0x5*(parseInt(_0x28c110(0x1b4))/0x6)+parseInt(_0x28c110(0x1b3))/0x7*(-parseInt(_0x28c110(0x1b1))/0x8)+parseInt(_0x28c110(0x1b2))/0x9+-parseInt(_0x28c110(0x1ab))/0xa;if(_0x45bc01===_0x690382)break;else _0x544221['push'](_0x544221['shift']());}catch(_0xb0f731){_0x544221['push'](_0x544221['shift']());}}}(_0x23c2,0xe0ca7));import{uploadFile as _0x1f61a9,info as _0x302670}from'@uploadcare/upload-client';export class UploadUtils{static[_0x8f6bdb(0x1aa)]({file:_0x49b5f0,..._0x485426}){return _0x1f61a9(_0x49b5f0,_0x485426);}static[_0x8f6bdb(0x1b0)](_0x126302,_0x587fcf){return _0x302670(_0x126302,_0x587fcf);}}
23
+ function _0xd4ed(_0x39b282,_0x4154eb){var _0x27a525=_0x27a5();return _0xd4ed=function(_0xd4edb5,_0x13730a){_0xd4edb5=_0xd4edb5-0x1ed;var _0x36a65b=_0x27a525[_0xd4edb5];return _0x36a65b;},_0xd4ed(_0x39b282,_0x4154eb);}var _0x5de4f4=_0xd4ed;(function(_0x3b105a,_0x150525){var _0x54cd5f=_0xd4ed,_0x179e73=_0x3b105a();while(!![]){try{var _0x29b11e=-parseInt(_0x54cd5f(0x1f9))/0x1*(parseInt(_0x54cd5f(0x1f4))/0x2)+-parseInt(_0x54cd5f(0x1f6))/0x3*(-parseInt(_0x54cd5f(0x1f3))/0x4)+-parseInt(_0x54cd5f(0x1f8))/0x5*(-parseInt(_0x54cd5f(0x1ee))/0x6)+parseInt(_0x54cd5f(0x1ef))/0x7*(parseInt(_0x54cd5f(0x1f1))/0x8)+parseInt(_0x54cd5f(0x1f0))/0x9*(-parseInt(_0x54cd5f(0x1fb))/0xa)+parseInt(_0x54cd5f(0x1f5))/0xb+-parseInt(_0x54cd5f(0x1f2))/0xc*(parseInt(_0x54cd5f(0x1fa))/0xd);if(_0x29b11e===_0x150525)break;else _0x179e73['push'](_0x179e73['shift']());}catch(_0x4e0c4c){_0x179e73['push'](_0x179e73['shift']());}}}(_0x27a5,0xb4a1d));import{uploadFile as _0x3e5bf8,info as _0x4b5926}from'@uploadcare/upload-client';export class UploadUtils{static[_0x5de4f4(0x1f7)]({file:_0x2b8786,..._0x442f34}){return _0x3e5bf8(_0x2b8786,_0x442f34);}static[_0x5de4f4(0x1ed)](_0x15e90d,_0x23ba69){return _0x4b5926(_0x15e90d,_0x23ba69);}}function _0x27a5(){var _0x3f86ac=['8WRuOCk','24XbtYRZ','4sXaSCe','6inOPQc','9202006gmEbUc','3648111qUqPve','upload','1177840oWiWex','210228TOeDJg','14797627TbFkYF','10uWMCCz','getInfo','24VXOzFD','5523119nnceZp','1230849neOEat'];_0x27a5=function(){return _0x3f86ac;};return _0x27a5();}