@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.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
- function _0x499d(_0x161e6f,_0x55aff6){var _0x25d943=_0x25d9();return _0x499d=function(_0x499d98,_0x768b41){_0x499d98=_0x499d98-0x1e0;var _0x5cc2b1=_0x25d943[_0x499d98];return _0x5cc2b1;},_0x499d(_0x161e6f,_0x55aff6);}function _0x25d9(){var _0x384e40=['gdrive','1420062XIqMiq','3403863bfcZQF','567qLOUyT','OneDrive','Dropbox','facebook','local','475210fwFIxW','instagram','Local','Instagram','URL','GPhotos','2VYWyMB','30bmrGsn','GDrive','Facebook','url','213572EeeBXf','gphotos','122330IQjkdp','174110zLkPsj','dropbox','onedrive','7608vAKPGC'];_0x25d9=function(){return _0x384e40;};return _0x25d9();}(function(_0x63f47b,_0xd6eacc){var _0x328494=_0x499d,_0x44f5aa=_0x63f47b();while(!![]){try{var _0x1cb8f6=-parseInt(_0x328494(0x1f4))/0x1+-parseInt(_0x328494(0x1ec))/0x2*(-parseInt(_0x328494(0x1f9))/0x3)+-parseInt(_0x328494(0x1f1))/0x4+parseInt(_0x328494(0x1e6))/0x5*(-parseInt(_0x328494(0x1ed))/0x6)+parseInt(_0x328494(0x1e1))/0x7*(parseInt(_0x328494(0x1f7))/0x8)+parseInt(_0x328494(0x1e0))/0x9+parseInt(_0x328494(0x1f3))/0xa;if(_0x1cb8f6===_0xd6eacc)break;else _0x44f5aa['push'](_0x44f5aa['shift']());}catch(_0x4fefb4){_0x44f5aa['push'](_0x44f5aa['shift']());}}}(_0x25d9,0x3a220));export var UploadcareSource;!function(_0x50be31){var _0x1ce9da=_0x499d;_0x50be31[_0x1ce9da(0x1e8)]=_0x1ce9da(0x1e5),_0x50be31[_0x1ce9da(0x1ea)]=_0x1ce9da(0x1f0),_0x50be31[_0x1ce9da(0x1e3)]=_0x1ce9da(0x1f5),_0x50be31[_0x1ce9da(0x1ee)]=_0x1ce9da(0x1f8),_0x50be31[_0x1ce9da(0x1ef)]=_0x1ce9da(0x1e4),_0x50be31[_0x1ce9da(0x1eb)]=_0x1ce9da(0x1f2),_0x50be31[_0x1ce9da(0x1e9)]=_0x1ce9da(0x1e7),_0x50be31[_0x1ce9da(0x1e2)]=_0x1ce9da(0x1f6);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x1087(_0x5b40ec,_0x209abd){var _0x1b8bdb=_0x1b8b();return _0x1087=function(_0x1087d8,_0x3ec870){_0x1087d8=_0x1087d8-0x1e7;var _0x521065=_0x1b8bdb[_0x1087d8];return _0x521065;},_0x1087(_0x5b40ec,_0x209abd);}(function(_0x3c1739,_0x33bf14){var _0x591bf5=_0x1087,_0x585f84=_0x3c1739();while(!![]){try{var _0x3f104c=parseInt(_0x591bf5(0x1f1))/0x1+parseInt(_0x591bf5(0x1f8))/0x2+parseInt(_0x591bf5(0x1e8))/0x3+parseInt(_0x591bf5(0x1ee))/0x4*(-parseInt(_0x591bf5(0x1fa))/0x5)+-parseInt(_0x591bf5(0x1fb))/0x6+parseInt(_0x591bf5(0x1fd))/0x7+parseInt(_0x591bf5(0x1f2))/0x8*(-parseInt(_0x591bf5(0x1f0))/0x9);if(_0x3f104c===_0x33bf14)break;else _0x585f84['push'](_0x585f84['shift']());}catch(_0x1fdc26){_0x585f84['push'](_0x585f84['shift']());}}}(_0x1b8b,0x1ad36));function _0x1b8b(){var _0x3ffb60=['664MBZJga','Dropbox','instagram','gdrive','local','url','157010KiYJQb','gphotos','5SFQTGj','986502AQsaON','dropbox','1309315aeShhL','Instagram','onedrive','GDrive','4779zCbgoq','Local','GPhotos','Facebook','facebook','URL','519952UUlKjI','OneDrive','3006RalolJ','164862KShODe'];_0x1b8b=function(){return _0x3ffb60;};return _0x1b8b();}export var UploadcareSource;!function(_0x39fbd6){var _0x33f310=_0x1087;_0x39fbd6[_0x33f310(0x1e9)]=_0x33f310(0x1f6),_0x39fbd6[_0x33f310(0x1ed)]=_0x33f310(0x1f7),_0x39fbd6[_0x33f310(0x1f3)]=_0x33f310(0x1fc),_0x39fbd6[_0x33f310(0x1e7)]=_0x33f310(0x1f5),_0x39fbd6[_0x33f310(0x1eb)]=_0x33f310(0x1ec),_0x39fbd6[_0x33f310(0x1ea)]=_0x33f310(0x1f9),_0x39fbd6[_0x33f310(0x1fe)]=_0x33f310(0x1f4),_0x39fbd6[_0x33f310(0x1ef)]=_0x33f310(0x1ff);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x217759=_0x5006;(function(_0x8a8d53,_0x3c5c04){const _0x3b8aad=_0x5006,_0x3e0403=_0x8a8d53();while(!![]){try{const _0x11e69f=-parseInt(_0x3b8aad(0x1ac))/0x1*(-parseInt(_0x3b8aad(0x199))/0x2)+parseInt(_0x3b8aad(0x193))/0x3*(-parseInt(_0x3b8aad(0x195))/0x4)+parseInt(_0x3b8aad(0x176))/0x5*(parseInt(_0x3b8aad(0x1a1))/0x6)+parseInt(_0x3b8aad(0x169))/0x7+parseInt(_0x3b8aad(0x19e))/0x8*(-parseInt(_0x3b8aad(0x1b3))/0x9)+-parseInt(_0x3b8aad(0x182))/0xa+-parseInt(_0x3b8aad(0x175))/0xb*(parseInt(_0x3b8aad(0x17f))/0xc);if(_0x11e69f===_0x3c5c04)break;else _0x3e0403['push'](_0x3e0403['shift']());}catch(_0x5a1d06){_0x3e0403['push'](_0x3e0403['shift']());}}}(_0x4b30,0xb04ca));function _0x4b30(){const _0x5deff2=['appendChild','editing','_ctxElement','input[uploadcare-file-input]','_initImageProcessingIndicator','listenTo','_initConfig','_initConversion','ctxElement','locale','9880849LUiWRl','65eNCFyn','requires','href','afterInit','selection','destroy','isOfficialPlugin','uploadcare','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','12iHiZzS','querySelector','removeAttribute','1131250WggOky','commands','uploadcare.pubkey','attributeToAttribute','_configElement','replaceImageSource','upcast','view','uploadcareImageId','iconHrefResolver','map','pluginName','isRegistered','isPremiumPlugin','closeMax','model','true','12sxaLbO','fromCharCode','992436YEJTSy','cleanupImage','UploadcareEditing','uc-config','38bqarxg','getSelectedElement','imageInline','init','execute','4519120wskgYM','document','join','388722qBqbVn','uploadcareImageReplace','conversion','data-uc-image-id','downcast','contentLanguage','_initSchema','config','#uc-icon-arrow-down','for','insertImage','68437xrUoBM','add','getAttribute','once','render','uploader','elementToAttribute','9tjPuhb','extend','body','editor','uc-upload-ctx-provider','get','remove','_initCtx','imageBlock','uploadcare.uploader','PictureEditing','configElement','8038086QGZJXO','schema'];_0x4b30=function(){return _0x5deff2;};return _0x4b30();}import{Plugin as _0x43b43d}from'ckeditor5/src/core.js';import{Dialog as _0x1e35f9}from'ckeditor5/src/ui.js';import{createElement as _0x27b946,global as _0x173bea,uid as _0x485001}from'ckeditor5/src/utils.js';import _0x15b3d9 from'./uploadcarecommand.js';import _0x17fa67 from'./uploadcareuploadadapter.js';function _0x5006(_0x43ce53,_0x43c222){const _0x4b30e5=_0x4b30();return _0x5006=function(_0x50064c,_0x30495e){_0x50064c=_0x50064c-0x165;let _0x260a7b=_0x4b30e5[_0x50064c];return _0x260a7b;},_0x5006(_0x43ce53,_0x43c222);}import{showImageProcessingIndicator as _0x3cd812}from'./utils/editingutils.js';export default class i extends _0x43b43d{constructor(){const _0x19c8cd=_0x5006;super(...arguments),this[_0x19c8cd(0x186)]=null,this[_0x19c8cd(0x16d)]=null;}static get[_0x217759(0x18d)](){const _0xed973=_0x217759;return _0xed973(0x197);}static get[_0x217759(0x177)](){const _0x39fbbb=_0x217759;return[_0x39fbbb(0x167),_0x17fa67,_0x1e35f9];}static get[_0x217759(0x17c)](){return!0x0;}static get[_0x217759(0x18f)](){return!0x0;}get[_0x217759(0x168)](){const _0x299f19=_0x217759;return this[_0x299f19(0x186)];}get[_0x217759(0x173)](){const _0xc8a5e3=_0x217759;return this[_0xc8a5e3(0x16d)];}[_0x217759(0x19c)](){const _0x15572d=_0x217759,_0x1a307e=this[_0x15572d(0x1b6)];_0x1a307e[_0x15572d(0x183)][_0x15572d(0x1ad)](_0x15572d(0x17d),new _0x15b3d9(_0x1a307e));}[_0x217759(0x179)](){const _0x439ac6=_0x217759;this[_0x439ac6(0x1a7)](),this[_0x439ac6(0x172)](),this[_0x439ac6(0x171)](),this[_0x439ac6(0x1ba)](),this[_0x439ac6(0x16f)](),this[_0x439ac6(0x170)](this[_0x439ac6(0x1b6)],_0x439ac6(0x17b),()=>{const _0xc486e6=_0x439ac6;this[_0xc486e6(0x186)]&&(this[_0xc486e6(0x186)][_0xc486e6(0x1b9)](),this[_0xc486e6(0x186)]=null),this[_0xc486e6(0x16d)]&&(this[_0xc486e6(0x16d)][_0xc486e6(0x1b9)](),this[_0xc486e6(0x16d)]=null);const _0x5ee1ba=_0x173bea[_0xc486e6(0x19f)][_0xc486e6(0x180)](_0xc486e6(0x16e));_0x5ee1ba&&_0x5ee1ba[_0xc486e6(0x1b9)]();}),async function(_0x4dab66){const _0x75a560=_0x391540([0x32,0x64,0x43,0x78,0x50,0x68,0x73,0x52,0x5a,0x48,0x6a,0x4e,0x6c,0x35,0x38,0x71,0x67,0x69,0x72,0x47,0x55,0x56,0x76,0x6b,0x36,0x30,0x6f,0x4d,0x61,0x34,0x4a,0x6e,0x66,0x59,0x49,0x42,0x58,0x6d,0x57,0x41,0x74,0x53,0x70,0x62,0x45,0x37,0x39,0x46,0x44,0x4b,0x63,0x75,0x4f,0x7a,0x31,0x4c,0x54,0x51,0x65,0x77,0x79,0x33]),_0xdd2b2b=0x65f91acc,_0x17a599=0x65fe44e4^_0xdd2b2b,_0x46bf23=window[_0x391540([0x44,0x61,0x74,0x65])][_0x391540([0x6e,0x6f,0x77])](),_0x5885b3=_0x4dab66[_0x391540([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ed446=new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349abf=>{_0x5885b3[_0x391540([0x6f,0x6e,0x63,0x65])](_0x391540([0x72,0x65,0x61,0x64,0x79]),_0x349abf);}),_0x3a9a7a={[_0x391540([0x6b,0x74,0x79])]:_0x391540([0x45,0x43]),[_0x391540([0x75,0x73,0x65])]:_0x391540([0x73,0x69,0x67]),[_0x391540([0x63,0x72,0x76])]:_0x391540([0x50,0x2d,0x32,0x35,0x36]),[_0x391540([0x78])]:_0x391540([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x391540([0x79])]:_0x391540([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x391540([0x61,0x6c,0x67])]:_0x391540([0x45,0x53,0x32,0x35,0x36])},_0x28658c=_0x5885b3[_0x391540([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x391540([0x67,0x65,0x74])](_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ec2b9(){let _0x1b000c,_0x4e95b9=null,_0xb71273=null;try{if(_0x28658c==_0x391540([0x47,0x50,0x4c]))return _0x391540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b000c=_0x3e4bd0(),!_0x1b000c)return _0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b000c[_0x391540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb71273=_0x301977(_0x1b000c[_0x391540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b000c[_0x391540([0x6a,0x74,0x69])])),await _0x42405a()?_0x33ba4a()?_0x2b1ffd()?_0x391540([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa565c9()?(_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e95b9=_0x53fef9(_0x391540([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391540([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e95b9=_0x53fef9(_0x391540([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534379()):_0x391540([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x391540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x42320b){return _0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b1ffd(){const _0x37978=[_0x391540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x391540([0x74,0x72,0x69,0x61,0x6c])][_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46bf23/0x3e8:0xe10*_0x17a599;return _0x1b000c[_0x391540([0x65,0x78,0x70])]<_0x37978;}function _0x33ba4a(){const _0x111fd3=_0x1b000c[_0x391540([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x111fd3&&(!!_0x111fd3[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x2a]))||!!_0x111fd3[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x55,0x50,0x4c,0x43])));}function _0xa565c9(){const _0x40f80d=_0x5006,_0x13af64=_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13af64||0x0==_0x13af64[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e115e}=new URL(window[_0x391540([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40f80d(0x178)]);if(_0x13af64[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e115e))return!0x0;const _0x5810fe=_0x2e115e[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e]));return _0x13af64[_0x391540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f5081=>_0x5f5081[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x2a])))[_0x391540([0x6d,0x61,0x70])](_0x3866a2=>_0x3866a2[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e])))[_0x391540([0x73,0x6f,0x6d,0x65])](_0x4f0150=>_0x5810fe[_0x391540([0x65,0x76,0x65,0x72,0x79])]((_0x505263,_0x34b694)=>_0x4f0150[_0x34b694]===_0x505263||_0x4f0150[_0x34b694]===_0x391540([0x2a])));}function _0x534379(){return _0x4e95b9&&_0xb71273?new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ff88a,_0x31a67a)=>{_0x4e95b9[_0x391540([0x74,0x68,0x65,0x6e])](_0x2ff88a,_0x31a67a),_0xb71273[_0x391540([0x74,0x68,0x65,0x6e])](_0x39b700=>{_0x39b700!=_0x391540([0x56,0x61,0x6c,0x69,0x64])&&_0x2ff88a(_0x39b700);},_0x31a67a);}):_0x4e95b9||_0xb71273||_0x391540([0x56,0x61,0x6c,0x69,0x64]);}}function _0x301977(_0x282044,_0x3c04d8){return new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3fc4e=>{if(_0x1d1a1d())return _0xf3fc4e(_0x391540([0x56,0x61,0x6c,0x69,0x64]));_0x11ed7a(),_0x5885b3[_0x391540([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x120d83=!0x1;const _0x45c93e=_0x485001();function _0x47f650(_0x151f72){return!!_0x151f72&&(typeof _0x151f72===_0x391540([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x151f72===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x151f72[_0x391540([0x74,0x68,0x65,0x6e])]===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x151f72[_0x391540([0x63,0x61,0x74,0x63,0x68])]===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a7fda(_0x3e03b5){_0x34603f(_0x3e03b5)[_0x391540([0x74,0x68,0x65,0x6e])](_0x92fe78=>{if(!_0x92fe78||_0x92fe78[_0x391540([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x391540([0x6f,0x6b]))return _0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f973b(_0x5b1b0f(_0x45c93e+_0x3c04d8))!=_0x92fe78[_0x391540([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x391540([0x56,0x61,0x6c,0x69,0x64]);})[_0x391540([0x74,0x68,0x65,0x6e])](_0x37dfcd=>(_0x4a23a8(),_0x37dfcd),()=>{const _0x2d091a=_0x27d2c5();return null==_0x2d091a?(_0x4a23a8(),_0x391540([0x56,0x61,0x6c,0x69,0x64])):_0x391540(_0x46bf23-_0x2d091a>(0x41f59ecc^_0xdd2b2b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x391540([0x74,0x68,0x65,0x6e])](_0xf3fc4e)[_0x391540([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f5cae=0x65cff44c^_0xdd2b2b;function _0x4a23a8(){const _0x37fa62=_0x391540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f973b(_0x5b1b0f(_0x282044)),_0x19995b=_0x504d5b(_0x3f973b(window[_0x391540([0x4d,0x61,0x74,0x68])][_0x391540([0x63,0x65,0x69,0x6c])](_0x46bf23/_0x3f5cae)));window[_0x391540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391540([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37fa62,_0x19995b);}function _0x27d2c5(){const _0x11be91=_0x391540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f973b(_0x5b1b0f(_0x282044)),_0x4f6c61=window[_0x391540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391540([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11be91);return _0x4f6c61?window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504d5b(_0x4f6c61),0x10)*_0x3f5cae:null;}function _0x34603f(_0x9fbb95){return new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2eae8a,_0x17a57b)=>{_0x9fbb95[_0x391540([0x74,0x68,0x65,0x6e])](_0x2eae8a,_0x17a57b),window[_0x391540([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17a57b,0x65f8ce0c^_0xdd2b2b);});}}_0x5885b3[_0x391540([0x6f,0x6e])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x398b95,_0x425fa8)=>{if(_0x425fa8[0x0]!=_0x282044)return _0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x425fa8[0x1]={..._0x425fa8[0x1],[_0x391540([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45c93e};},{[_0x391540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391540([0x68,0x69,0x67,0x68])}),_0x5885b3[_0x391540([0x6f,0x6e])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b8fa6=>{_0x47f650(_0x5b8fa6[_0x391540([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x120d83=!0x0,_0x3a7fda(_0x5b8fa6[_0x391540([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x391540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391540([0x6c,0x6f,0x77])}),_0x5ed446[_0x391540([0x74,0x68,0x65,0x6e])](()=>{_0x120d83||_0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d1a1d(){return _0x5885b3[_0x391540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391540([0x76,0x69,0x65,0x77])][_0x391540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x391540([0x61,0x75,0x74,0x6f]);}function _0x11ed7a(){_0x5885b3[_0x391540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391540([0x76,0x69,0x65,0x77])][_0x391540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x391540([0x61,0x75,0x74,0x6f]);}}function _0x53fef9(_0x3462a6){const _0x4a3275=[new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x131f63=>setTimeout(_0x131f63,0x65f02400^_0xdd2b2b)),_0x5ed446[_0x391540([0x74,0x68,0x65,0x6e])](()=>new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ff4e0=>{let _0x5d0c33=0x0;_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x6f,0x6e])](_0x391540([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47aba5,_0x38460e)=>{_0x38460e[0x0][_0x391540([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0c33++,_0x5d0c33==(0x65f91b34^_0xdd2b2b)&&(_0x1ff4e0(),_0x47aba5[_0x391540([0x6f,0x66,0x66])]());});}))];return window[_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x391540([0x72,0x61,0x63,0x65])](_0x4a3275)[_0x391540([0x74,0x68,0x65,0x6e])](()=>_0x3462a6);}async function _0x5bf765(){await _0x5ed446,_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28b463,_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28b463,_0x5885b3[_0x391540([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x391540([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x347819(_0x40233a){const _0x53dcf6=_0x433783();_0x5885b3[_0x53dcf6]=_0x391540([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40233a,_0x40233a!=_0x391540([0x56,0x61,0x6c,0x69,0x64])&&_0x5bf765();}function _0x433783(){const _0x4d7d9a=window[_0x391540([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x391540([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x391540([0x6e,0x6f,0x77])]())[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x391540([0x2e]),'');let _0x141955=_0x391540([0x64]);for(let _0x4a5c2b=0x0;_0x4a5c2b<_0x4d7d9a[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a5c2b+=0x2){let _0x19a571=window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d7d9a[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5c2b,_0x4a5c2b+0x2));_0x19a571>=_0x75a560[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19a571-=_0x75a560[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x141955+=_0x75a560[_0x19a571];}return _0x141955;}function _0x3e4bd0(){const _0x50be87=_0x28658c[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e]));if(0x3!=_0x50be87[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b9e8f(_0x50be87[0x1]);function _0x2b9e8f(_0x31c4b6){const _0x3788fc=_0x22a850(_0x31c4b6);return _0x3788fc&&_0x537f6c()?_0x3788fc:null;function _0x537f6c(){const _0x533462=_0x3788fc[_0x391540([0x6a,0x74,0x69])],_0x1f50c9=window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x533462[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x533462[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ddf2f={..._0x3788fc,[_0x391540([0x6a,0x74,0x69])]:_0x533462[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x533462[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ddf2f[_0x391540([0x76,0x63])],_0x5b1b0f(_0x4ddf2f)==_0x1f50c9;}}}async function _0x42405a(){let _0x5a9e3f=!0x0;try{const _0x590102=_0x28658c[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e])),[_0x59f3a0,_0x4b88cc,_0x3f4858]=_0x590102;return _0x19a76d(_0x59f3a0),await _0x1ad771(_0x59f3a0,_0x4b88cc,_0x3f4858),_0x5a9e3f;}catch(_0x15cda0){return!0x1;}function _0x19a76d(_0x10c781){const _0x2aa7bd=_0x22a850(_0x10c781);_0x2aa7bd&&_0x2aa7bd[_0x391540([0x61,0x6c,0x67])]==_0x391540([0x45,0x53,0x32,0x35,0x36])||(_0x5a9e3f=!0x1);}async function _0x1ad771(_0x341560,_0x14d3dc,_0x2f191a){const _0x4ffc93=window[_0x391540([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x391540([0x66,0x72,0x6f,0x6d])](_0x582599(_0x2f191a),_0x2ef873=>_0x2ef873[_0x391540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x530581=new window[(_0x391540([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x391540([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341560+_0x391540([0x2e])+_0x14d3dc),_0x193771=window[_0x391540([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x391540([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x193771)return;const _0x485022=await _0x193771[_0x391540([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x391540([0x6a,0x77,0x6b]),_0x3a9a7a,{[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x45,0x43,0x44,0x53,0x41]),[_0x391540([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x391540([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x391540([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x193771[_0x391540([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x45,0x43,0x44,0x53,0x41]),[_0x391540([0x68,0x61,0x73,0x68])]:{[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485022,_0x4ffc93,_0x530581)||(_0x5a9e3f=!0x1);}}function _0x22a850(_0x53f98c){return _0x53f98c[_0x391540([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x391540([0x65,0x79]))?JSON[_0x391540([0x70,0x61,0x72,0x73,0x65])](_0x582599(_0x53f98c)):null;}function _0x582599(_0x11fc6f){return window[_0x391540([0x61,0x74,0x6f,0x62])](_0x11fc6f[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x391540([0x2b]))[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x391540([0x2f])));}function _0x5b1b0f(_0x5b33d7){let _0x50a609=0x1505;function _0x51ac44(_0x1252ff){for(let _0x14e6b3=0x0;_0x14e6b3<_0x1252ff[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14e6b3++){const _0x20648e=_0x1252ff[_0x391540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14e6b3);_0x50a609=(_0x50a609<<0x5)+_0x50a609+_0x20648e,_0x50a609&=_0x50a609;}}function _0x7bdfd3(_0x4769a3){Array[_0x391540([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4769a3)?_0x4769a3[_0x391540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7bdfd3):_0x4769a3&&typeof _0x4769a3==_0x391540([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x391540([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4769a3)[_0x391540([0x73,0x6f,0x72,0x74])]()[_0x391540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11d4ce,_0x1ecc13])=>{_0x51ac44(_0x11d4ce),_0x7bdfd3(_0x1ecc13);}):_0x51ac44(window[_0x391540([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4769a3));}return _0x7bdfd3(_0x5b33d7),_0x50a609>>>0x0;}function _0x3f973b(_0x2787f1){return _0x2787f1[_0x391540([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x391540([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x391540([0x30]));}function _0x504d5b(_0x18ba5b){return _0x18ba5b[_0x391540([0x73,0x70,0x6c,0x69,0x74])]('')[_0x391540([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x391540([0x6a,0x6f,0x69,0x6e])]('');}function _0x28b463(){}function _0x391540(_0x41feee){const _0x24d3ff=_0x5006;return _0x41feee[_0x24d3ff(0x18c)](_0x26ea0b=>String[_0x24d3ff(0x194)](_0x26ea0b))[_0x24d3ff(0x1a0)]('');}_0x347819(await _0x1ec2b9());}(this);}[_0x217759(0x1a7)](){const _0x403114=_0x217759,_0x2720c3=this[_0x403114(0x1b6)][_0x403114(0x191)][_0x403114(0x16a)];_0x2720c3[_0x403114(0x18e)](_0x403114(0x165))&&_0x2720c3[_0x403114(0x1b4)](_0x403114(0x165),{'allowAttributes':[_0x403114(0x18a)]}),_0x2720c3[_0x403114(0x18e)](_0x403114(0x19b))&&_0x2720c3[_0x403114(0x1b4)](_0x403114(0x19b),{'allowAttributes':[_0x403114(0x18a)]});}[_0x217759(0x172)](){const _0x1eefe5=_0x217759,_0x9c253d=this[_0x1eefe5(0x1b6)];_0x9c253d[_0x1eefe5(0x1a3)][_0x1eefe5(0x1aa)](_0x1eefe5(0x1a5))[_0x1eefe5(0x185)]({'model':_0x1eefe5(0x18a),'view':_0x1eefe5(0x1a4)}),_0x9c253d[_0x1eefe5(0x1a3)][_0x1eefe5(0x1aa)](_0x1eefe5(0x188))[_0x1eefe5(0x1b2)]({'model':{'key':_0x1eefe5(0x18a),'value':_0x231c0f=>_0x231c0f[_0x1eefe5(0x1ae)](_0x1eefe5(0x1a4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x487fc1=_0x9c253d[_0x1eefe5(0x183)][_0x1eefe5(0x1b8)](_0x1eefe5(0x187));_0x487fc1&&this[_0x1eefe5(0x170)](_0x487fc1,_0x1eefe5(0x196),(_0x52c9d5,[_0x324c25,_0x4be3e5])=>{const _0x59f028=_0x1eefe5;_0x324c25[_0x59f028(0x181)](_0x59f028(0x18a),_0x4be3e5);});}[_0x217759(0x171)](){const _0x416ead=_0x217759,_0x3e3dce=this[_0x416ead(0x1b6)][_0x416ead(0x1a8)][_0x416ead(0x1b8)](_0x416ead(0x166))||{},_0x404ef8=this[_0x416ead(0x1b6)][_0x416ead(0x1a8)][_0x416ead(0x1b8)](_0x416ead(0x184))||'';this[_0x416ead(0x186)]=_0x27b946(_0x173bea[_0x416ead(0x19f)],_0x416ead(0x198),{..._0x3e3dce,'pubkey':_0x404ef8,'ctx-name':_0x416ead(0x1b1),'sourceList':'','imgOnly':_0x416ead(0x192),'removeCopyright':_0x416ead(0x192),'localeName':this[_0x416ead(0x1b6)][_0x416ead(0x174)][_0x416ead(0x1a6)],'externalSourcesEmbedCss':_0x416ead(0x17e)}),this[_0x416ead(0x186)][_0x416ead(0x18b)]=_0x3cdb93=>{const _0x54ce48=_0x416ead;if(_0x54ce48(0x190)==_0x3cdb93)return _0x54ce48(0x1a9);},_0x173bea[_0x416ead(0x19f)][_0x416ead(0x1b5)][_0x416ead(0x16b)](this[_0x416ead(0x186)]);}[_0x217759(0x1ba)](){const _0xb00d09=_0x217759;this[_0xb00d09(0x16d)]=_0x27b946(_0x173bea[_0xb00d09(0x19f)],_0xb00d09(0x1b7),{'ctx-name':_0xb00d09(0x1b1)}),_0x173bea[_0xb00d09(0x19f)][_0xb00d09(0x1b5)][_0xb00d09(0x16b)](this[_0xb00d09(0x16d)]);}[_0x217759(0x16f)](){const _0x3c4bf5=_0x217759,_0x27de68=this[_0x3c4bf5(0x1b6)][_0x3c4bf5(0x183)][_0x3c4bf5(0x1b8)](_0x3c4bf5(0x1ab));_0x27de68&&this[_0x3c4bf5(0x170)](_0x27de68,_0x3c4bf5(0x19d),()=>{const _0x34b193=_0x3c4bf5,_0x15b042=this[_0x34b193(0x1b6)][_0x34b193(0x191)][_0x34b193(0x19f)][_0x34b193(0x17a)][_0x34b193(0x19a)]();_0x15b042&&_0x15b042[_0x34b193(0x1ae)](_0x34b193(0x18a))&&this[_0x34b193(0x1b6)][_0x34b193(0x16c)][_0x34b193(0x189)][_0x34b193(0x1af)](_0x34b193(0x1b0),()=>{const _0x54b004=_0x34b193;_0x3cd812(this[_0x54b004(0x1b6)],_0x15b042);});});const _0x4eab8f=this[_0x3c4bf5(0x1b6)][_0x3c4bf5(0x183)][_0x3c4bf5(0x1b8)](_0x3c4bf5(0x1a2));_0x4eab8f&&this[_0x3c4bf5(0x170)](_0x4eab8f,_0x3c4bf5(0x19d),()=>{const _0x46dd82=_0x3c4bf5,_0x3b9c7a=this[_0x46dd82(0x1b6)][_0x46dd82(0x191)][_0x46dd82(0x19f)][_0x46dd82(0x17a)][_0x46dd82(0x19a)]();_0x3b9c7a&&_0x3b9c7a[_0x46dd82(0x1ae)](_0x46dd82(0x18a))&&this[_0x46dd82(0x1b6)][_0x46dd82(0x16c)][_0x46dd82(0x189)][_0x46dd82(0x1af)](_0x46dd82(0x1b0),()=>{const _0x17e08c=_0x46dd82;_0x3cd812(this[_0x17e08c(0x1b6)],_0x3b9c7a);});});}}
23
+ const _0xfbe644=_0x5200;(function(_0x515e6b,_0x32362b){const _0x24b08d=_0x5200,_0x264381=_0x515e6b();while(!![]){try{const _0x4194a1=parseInt(_0x24b08d(0x18a))/0x1*(parseInt(_0x24b08d(0x17b))/0x2)+parseInt(_0x24b08d(0x16b))/0x3*(parseInt(_0x24b08d(0x178))/0x4)+-parseInt(_0x24b08d(0x189))/0x5*(-parseInt(_0x24b08d(0x162))/0x6)+-parseInt(_0x24b08d(0x16f))/0x7+-parseInt(_0x24b08d(0x1a9))/0x8+-parseInt(_0x24b08d(0x163))/0x9*(parseInt(_0x24b08d(0x164))/0xa)+parseInt(_0x24b08d(0x199))/0xb*(parseInt(_0x24b08d(0x1af))/0xc);if(_0x4194a1===_0x32362b)break;else _0x264381['push'](_0x264381['shift']());}catch(_0x360230){_0x264381['push'](_0x264381['shift']());}}}(_0x56c3,0xf1dd4));import{Plugin as _0xa558c6}from'ckeditor5/src/core.js';function _0x56c3(){const _0x4c065c=['remove','_ctxElement','879378URQTvN','25722auTPpB','4630mRnCMX','commands','locale','init','elementToAttribute','true','contentLanguage','61020fptTBe','uc-upload-ctx-provider','pluginName','afterInit','11792935IIGEzb','once','imageBlock','querySelector','downcast','replaceImageSource','uploadcare','join','closeMax','156oKboRW','uploadcareImageId','config','62392lDYqrQ','getAttribute','ctxElement','#uc-icon-arrow-down','upcast','uploader','destroy','attributeToAttribute','isPremiumPlugin','_initSchema','iconHrefResolver','extend','uploadcare.pubkey','body','5RQuUve','57oGNfkT','_initImageProcessingIndicator','document','view','schema','editing','editor','appendChild','uploadcare.uploader','input[uploadcare-file-input]','_initConfig','cleanupImage','_initCtx','get','_configElement','11AdyvLh','fromCharCode','getSelectedElement','add','imageInline','selection','requires','configElement','execute','removeAttribute','PictureEditing','uc-config','_initConversion','for','render','map','11543480xuPTDS','insertImage','listenTo','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','href','uploadcareImageReplace','32682900PltQmd','UploadcareEditing','model','conversion','isRegistered','isOfficialPlugin','data-uc-image-id'];_0x56c3=function(){return _0x4c065c;};return _0x56c3();}import{Dialog as _0xf7a888}from'ckeditor5/src/ui.js';import{createElement as _0x1cc2ce,global as _0x4cb2d9,uid as _0x460c5f}from'ckeditor5/src/utils.js';function _0x5200(_0x121174,_0x3cdea6){const _0x56c377=_0x56c3();return _0x5200=function(_0x520094,_0x5de50f){_0x520094=_0x520094-0x15f;let _0x5c1692=_0x56c377[_0x520094];return _0x5c1692;},_0x5200(_0x121174,_0x3cdea6);}import _0x44b690 from'./uploadcarecommand.js';import _0x145ee from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x49539b}from'./utils/editingutils.js';export default class i extends _0xa558c6{constructor(){const _0x2b5e1d=_0x5200;super(...arguments),this[_0x2b5e1d(0x198)]=null,this[_0x2b5e1d(0x161)]=null;}static get[_0xfbe644(0x16d)](){const _0x351824=_0xfbe644;return _0x351824(0x1b0);}static get[_0xfbe644(0x19f)](){const _0x121450=_0xfbe644;return[_0x121450(0x1a3),_0x145ee,_0xf7a888];}static get[_0xfbe644(0x1b4)](){return!0x0;}static get[_0xfbe644(0x183)](){return!0x0;}get[_0xfbe644(0x1a0)](){const _0x481c26=_0xfbe644;return this[_0x481c26(0x198)];}get[_0xfbe644(0x17d)](){const _0x184159=_0xfbe644;return this[_0x184159(0x161)];}[_0xfbe644(0x167)](){const _0x1439c9=_0xfbe644,_0x241cff=this[_0x1439c9(0x190)];_0x241cff[_0x1439c9(0x165)][_0x1439c9(0x19c)](_0x1439c9(0x175),new _0x44b690(_0x241cff));}[_0xfbe644(0x16e)](){const _0x2bd72a=_0xfbe644;this[_0x2bd72a(0x184)](),this[_0x2bd72a(0x1a5)](),this[_0x2bd72a(0x194)](),this[_0x2bd72a(0x196)](),this[_0x2bd72a(0x18b)](),this[_0x2bd72a(0x1ab)](this[_0x2bd72a(0x190)],_0x2bd72a(0x181),()=>{const _0x22b86a=_0x2bd72a;this[_0x22b86a(0x198)]&&(this[_0x22b86a(0x198)][_0x22b86a(0x160)](),this[_0x22b86a(0x198)]=null),this[_0x22b86a(0x161)]&&(this[_0x22b86a(0x161)][_0x22b86a(0x160)](),this[_0x22b86a(0x161)]=null);const _0x3f8033=_0x4cb2d9[_0x22b86a(0x18c)][_0x22b86a(0x172)](_0x22b86a(0x193));_0x3f8033&&_0x3f8033[_0x22b86a(0x160)]();}),async function(_0xeb4d2b){const _0x47416f=_0x4f98c9([0x63,0x31,0x39,0x72,0x4a,0x77,0x53,0x6e,0x57,0x7a,0x65,0x66,0x37,0x33,0x71,0x6c,0x56,0x45,0x30,0x41,0x78,0x35,0x4f,0x46,0x42,0x6f,0x55,0x6b,0x76,0x44,0x43,0x4d,0x38,0x51,0x52,0x67,0x49,0x69,0x75,0x4e,0x73,0x79,0x74,0x59,0x47,0x62,0x4b,0x6a,0x4c,0x61,0x70,0x36,0x64,0x6d,0x5a,0x50,0x58,0x34,0x68,0x48,0x32,0x54]),_0x270f9b=0x2bae127d,_0x308e12=0x2ba94c3d^_0x270f9b,_0xf7d394=window[_0x4f98c9([0x44,0x61,0x74,0x65])][_0x4f98c9([0x6e,0x6f,0x77])](),_0xa438b6=_0xeb4d2b[_0x4f98c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25edb7=new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a0641=>{_0xa438b6[_0x4f98c9([0x6f,0x6e,0x63,0x65])](_0x4f98c9([0x72,0x65,0x61,0x64,0x79]),_0x4a0641);}),_0xa4a9e1={[_0x4f98c9([0x6b,0x74,0x79])]:_0x4f98c9([0x45,0x43]),[_0x4f98c9([0x75,0x73,0x65])]:_0x4f98c9([0x73,0x69,0x67]),[_0x4f98c9([0x63,0x72,0x76])]:_0x4f98c9([0x50,0x2d,0x32,0x35,0x36]),[_0x4f98c9([0x78])]:_0x4f98c9([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4f98c9([0x79])]:_0x4f98c9([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4f98c9([0x61,0x6c,0x67])]:_0x4f98c9([0x45,0x53,0x32,0x35,0x36])},_0x15fc5d=_0xa438b6[_0x4f98c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f98c9([0x67,0x65,0x74])](_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x106eee(){let _0x23c968,_0x1b1ade=null,_0x260590=null;try{if(_0x15fc5d==_0x4f98c9([0x47,0x50,0x4c]))return _0x4f98c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23c968=_0x56bd74(),!_0x23c968)return _0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23c968[_0x4f98c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x260590=_0x3cfe98(_0x23c968[_0x4f98c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23c968[_0x4f98c9([0x6a,0x74,0x69])])),await _0x3523bd()?_0x21d30b()?_0x29bcb3()?_0x4f98c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e4965()?(_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f98c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b1ade=_0x4eb4b1(_0x4f98c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f98c9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b1ade=_0x4eb4b1(_0x4f98c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37716a()):_0x4f98c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f98c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x7e0c70){return _0x4f98c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29bcb3(){const _0x4b9953=[_0x4f98c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f98c9([0x74,0x72,0x69,0x61,0x6c])][_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf7d394/0x3e8:0xe10*_0x308e12;return _0x23c968[_0x4f98c9([0x65,0x78,0x70])]<_0x4b9953;}function _0x21d30b(){const _0x144194=_0x23c968[_0x4f98c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x144194&&(!!_0x144194[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x2a]))||!!_0x144194[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x55,0x50,0x4c,0x43])));}function _0x4e4965(){const _0x3102e8=_0x5200,_0x58ab06=_0x23c968[_0x4f98c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58ab06||0x0==_0x58ab06[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48685c}=new URL(window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3102e8(0x1ad)]);if(_0x58ab06[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48685c))return!0x0;const _0x423b69=_0x48685c[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e]));return _0x58ab06[_0x4f98c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x569a34=>_0x569a34[_0x4f98c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f98c9([0x2a])))[_0x4f98c9([0x6d,0x61,0x70])](_0xb9aded=>_0xb9aded[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e])))[_0x4f98c9([0x73,0x6f,0x6d,0x65])](_0x325a23=>_0x423b69[_0x4f98c9([0x65,0x76,0x65,0x72,0x79])]((_0x3305f4,_0x5b2933)=>_0x325a23[_0x5b2933]===_0x3305f4||_0x325a23[_0x5b2933]===_0x4f98c9([0x2a])));}function _0x37716a(){return _0x1b1ade&&_0x260590?new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a5c80,_0x10625a)=>{_0x1b1ade[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x3a5c80,_0x10625a),_0x260590[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x1858c8=>{_0x1858c8!=_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])&&_0x3a5c80(_0x1858c8);},_0x10625a);}):_0x1b1ade||_0x260590||_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cfe98(_0x447b59,_0x1564f9){return new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11071e=>{if(_0x4eee9f())return _0x11071e(_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]));_0x51f8a0(),_0xa438b6[_0x4f98c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x479bf7=!0x1;const _0x4d743e=_0x460c5f();function _0x189df9(_0xcc01e6){return!!_0xcc01e6&&(typeof _0xcc01e6===_0x4f98c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcc01e6===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcc01e6[_0x4f98c9([0x74,0x68,0x65,0x6e])]===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcc01e6[_0x4f98c9([0x63,0x61,0x74,0x63,0x68])]===_0x4f98c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e123a(_0x39dc3f){_0x12a498(_0x39dc3f)[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x1036bd=>{if(!_0x1036bd||_0x1036bd[_0x4f98c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f98c9([0x6f,0x6b]))return _0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3805fe(_0x45f136(_0x4d743e+_0x1564f9))!=_0x1036bd[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f98c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x4d89bd=>(_0x2716fc(),_0x4d89bd),()=>{const _0x26ae77=_0x41af4b();return null==_0x26ae77?(_0x2716fc(),_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])):_0x4f98c9(_0xf7d394-_0x26ae77>(0xfa2967d^_0x270f9b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x11071e)[_0x4f98c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e0663=0x2b98fcfd^_0x270f9b;function _0x2716fc(){const _0x1a1762=_0x4f98c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3805fe(_0x45f136(_0x447b59)),_0x19a7e5=_0x28349e(_0x3805fe(window[_0x4f98c9([0x4d,0x61,0x74,0x68])][_0x4f98c9([0x63,0x65,0x69,0x6c])](_0xf7d394/_0x2e0663)));window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f98c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a1762,_0x19a7e5);}function _0x41af4b(){const _0x563fb0=_0x4f98c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3805fe(_0x45f136(_0x447b59)),_0x9e91ee=window[_0x4f98c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f98c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x563fb0);return _0x9e91ee?window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28349e(_0x9e91ee),0x10)*_0x2e0663:null;}function _0x12a498(_0x5009f8){return new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x298ff3,_0x22b89a)=>{_0x5009f8[_0x4f98c9([0x74,0x68,0x65,0x6e])](_0x298ff3,_0x22b89a),window[_0x4f98c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22b89a,0x2bafc6bd^_0x270f9b);});}}_0xa438b6[_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52d11f,_0x92410)=>{if(_0x92410[0x0]!=_0x447b59)return _0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x92410[0x1]={..._0x92410[0x1],[_0x4f98c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d743e};},{[_0x4f98c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f98c9([0x68,0x69,0x67,0x68])}),_0xa438b6[_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56338c=>{_0x189df9(_0x56338c[_0x4f98c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x479bf7=!0x0,_0x1e123a(_0x56338c[_0x4f98c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f98c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f98c9([0x6c,0x6f,0x77])}),_0x25edb7[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>{_0x479bf7||_0x11071e(_0x4f98c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eee9f(){return _0xa438b6[_0x4f98c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f98c9([0x76,0x69,0x65,0x77])][_0x4f98c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f98c9([0x61,0x75,0x74,0x6f]);}function _0x51f8a0(){_0xa438b6[_0x4f98c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f98c9([0x76,0x69,0x65,0x77])][_0x4f98c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f98c9([0x61,0x75,0x74,0x6f]);}}function _0x4eb4b1(_0x31706b){const _0x50d5d3=[new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x231337=>setTimeout(_0x231337,0x2ba72cb1^_0x270f9b)),_0x25edb7[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cddb8=>{let _0x4c3a26=0x0;_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x6f,0x6e])](_0x4f98c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b786c,_0x4cfc58)=>{_0x4cfc58[0x0][_0x4f98c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c3a26++,_0x4c3a26==(0x2bae1385^_0x270f9b)&&(_0x3cddb8(),_0x4b786c[_0x4f98c9([0x6f,0x66,0x66])]());});}))];return window[_0x4f98c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f98c9([0x72,0x61,0x63,0x65])](_0x50d5d3)[_0x4f98c9([0x74,0x68,0x65,0x6e])](()=>_0x31706b);}async function _0x375e9a(){await _0x25edb7,_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b545d,_0xa438b6[_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f98c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b545d,_0xa438b6[_0x4f98c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f98c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a91fa(_0x3e71b1){const _0x5ac78e=_0x41c376();_0xa438b6[_0x5ac78e]=_0x4f98c9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e71b1,_0x3e71b1!=_0x4f98c9([0x56,0x61,0x6c,0x69,0x64])&&_0x375e9a();}function _0x41c376(){const _0x27132b=window[_0x4f98c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f98c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f98c9([0x6e,0x6f,0x77])]())[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f98c9([0x2e]),'');let _0x5524fc=_0x4f98c9([0x63]);for(let _0x4d33ee=0x0;_0x4d33ee<_0x27132b[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d33ee+=0x2){let _0x763160=window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27132b[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d33ee,_0x4d33ee+0x2));_0x763160>=_0x47416f[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x763160-=_0x47416f[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5524fc+=_0x47416f[_0x763160];}return _0x5524fc;}function _0x56bd74(){const _0x1ca296=_0x15fc5d[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e]));if(0x3!=_0x1ca296[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c8aae(_0x1ca296[0x1]);function _0x3c8aae(_0x4b90b6){const _0x1d671c=_0x3ee7f9(_0x4b90b6);return _0x1d671c&&_0xae4aba()?_0x1d671c:null;function _0xae4aba(){const _0x58add6=_0x1d671c[_0x4f98c9([0x6a,0x74,0x69])],_0x51a9f3=window[_0x4f98c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58add6[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58add6[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2231b3={..._0x1d671c,[_0x4f98c9([0x6a,0x74,0x69])]:_0x58add6[_0x4f98c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58add6[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2231b3[_0x4f98c9([0x76,0x63])],_0x45f136(_0x2231b3)==_0x51a9f3;}}}async function _0x3523bd(){let _0x4c1ba1=!0x0;try{const _0x12f524=_0x15fc5d[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])](_0x4f98c9([0x2e])),[_0x332af1,_0x38b358,_0x593c13]=_0x12f524;return _0x513527(_0x332af1),await _0xecf45b(_0x332af1,_0x38b358,_0x593c13),_0x4c1ba1;}catch(_0x566e0b){return!0x1;}function _0x513527(_0x5924a9){const _0xeb72fc=_0x3ee7f9(_0x5924a9);_0xeb72fc&&_0xeb72fc[_0x4f98c9([0x61,0x6c,0x67])]==_0x4f98c9([0x45,0x53,0x32,0x35,0x36])||(_0x4c1ba1=!0x1);}async function _0xecf45b(_0x53e652,_0x256db3,_0x51eda6){const _0x5bb536=window[_0x4f98c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f98c9([0x66,0x72,0x6f,0x6d])](_0x2ca2b8(_0x51eda6),_0x2faf0f=>_0x2faf0f[_0x4f98c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x102726=new window[(_0x4f98c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f98c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e652+_0x4f98c9([0x2e])+_0x256db3),_0x21388b=window[_0x4f98c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f98c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21388b)return;const _0x2f9b81=await _0x21388b[_0x4f98c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f98c9([0x6a,0x77,0x6b]),_0xa4a9e1,{[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x45,0x43,0x44,0x53,0x41]),[_0x4f98c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f98c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21388b[_0x4f98c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x45,0x43,0x44,0x53,0x41]),[_0x4f98c9([0x68,0x61,0x73,0x68])]:{[_0x4f98c9([0x6e,0x61,0x6d,0x65])]:_0x4f98c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f9b81,_0x5bb536,_0x102726)||(_0x4c1ba1=!0x1);}}function _0x3ee7f9(_0x24da51){return _0x24da51[_0x4f98c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f98c9([0x65,0x79]))?JSON[_0x4f98c9([0x70,0x61,0x72,0x73,0x65])](_0x2ca2b8(_0x24da51)):null;}function _0x2ca2b8(_0x226170){return window[_0x4f98c9([0x61,0x74,0x6f,0x62])](_0x226170[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f98c9([0x2b]))[_0x4f98c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f98c9([0x2f])));}function _0x45f136(_0x38c316){let _0x1b9c4d=0x1505;function _0x592e9f(_0x42e47c){for(let _0x46c6c8=0x0;_0x46c6c8<_0x42e47c[_0x4f98c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46c6c8++){const _0x10b51a=_0x42e47c[_0x4f98c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x46c6c8);_0x1b9c4d=(_0x1b9c4d<<0x5)+_0x1b9c4d+_0x10b51a,_0x1b9c4d&=_0x1b9c4d;}}function _0x256520(_0x2178c4){Array[_0x4f98c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2178c4)?_0x2178c4[_0x4f98c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x256520):_0x2178c4&&typeof _0x2178c4==_0x4f98c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f98c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2178c4)[_0x4f98c9([0x73,0x6f,0x72,0x74])]()[_0x4f98c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40dc42,_0x13d244])=>{_0x592e9f(_0x40dc42),_0x256520(_0x13d244);}):_0x592e9f(window[_0x4f98c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2178c4));}return _0x256520(_0x38c316),_0x1b9c4d>>>0x0;}function _0x3805fe(_0x58e343){return _0x58e343[_0x4f98c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f98c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f98c9([0x30]));}function _0x28349e(_0x32ac91){return _0x32ac91[_0x4f98c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f98c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f98c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b545d(){}function _0x4f98c9(_0x2fa1f0){const _0x6a8f72=_0x5200;return _0x2fa1f0[_0x6a8f72(0x1a8)](_0x30d0f1=>String[_0x6a8f72(0x19a)](_0x30d0f1))[_0x6a8f72(0x176)]('');}_0x1a91fa(await _0x106eee());}(this);}[_0xfbe644(0x184)](){const _0x3e0f16=_0xfbe644,_0x9c1096=this[_0x3e0f16(0x190)][_0x3e0f16(0x1b1)][_0x3e0f16(0x18e)];_0x9c1096[_0x3e0f16(0x1b3)](_0x3e0f16(0x171))&&_0x9c1096[_0x3e0f16(0x186)](_0x3e0f16(0x171),{'allowAttributes':[_0x3e0f16(0x179)]}),_0x9c1096[_0x3e0f16(0x1b3)](_0x3e0f16(0x19d))&&_0x9c1096[_0x3e0f16(0x186)](_0x3e0f16(0x19d),{'allowAttributes':[_0x3e0f16(0x179)]});}[_0xfbe644(0x1a5)](){const _0x5517d0=_0xfbe644,_0x5508b3=this[_0x5517d0(0x190)];_0x5508b3[_0x5517d0(0x1b2)][_0x5517d0(0x1a6)](_0x5517d0(0x173))[_0x5517d0(0x182)]({'model':_0x5517d0(0x179),'view':_0x5517d0(0x15f)}),_0x5508b3[_0x5517d0(0x1b2)][_0x5517d0(0x1a6)](_0x5517d0(0x17f))[_0x5517d0(0x168)]({'model':{'key':_0x5517d0(0x179),'value':_0x30e53c=>_0x30e53c[_0x5517d0(0x17c)](_0x5517d0(0x15f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5718c8=_0x5508b3[_0x5517d0(0x165)][_0x5517d0(0x197)](_0x5517d0(0x174));_0x5718c8&&this[_0x5517d0(0x1ab)](_0x5718c8,_0x5517d0(0x195),(_0x549cf5,[_0x31643,_0x2ecc7e])=>{const _0xeb287c=_0x5517d0;_0x31643[_0xeb287c(0x1a2)](_0xeb287c(0x179),_0x2ecc7e);});}[_0xfbe644(0x194)](){const _0x53b74b=_0xfbe644,_0x31f172=this[_0x53b74b(0x190)][_0x53b74b(0x17a)][_0x53b74b(0x197)](_0x53b74b(0x192))||{},_0x2aaaf3=this[_0x53b74b(0x190)][_0x53b74b(0x17a)][_0x53b74b(0x197)](_0x53b74b(0x187))||'';this[_0x53b74b(0x198)]=_0x1cc2ce(_0x4cb2d9[_0x53b74b(0x18c)],_0x53b74b(0x1a4),{..._0x31f172,'pubkey':_0x2aaaf3,'ctx-name':_0x53b74b(0x180),'sourceList':'','imgOnly':_0x53b74b(0x169),'removeCopyright':_0x53b74b(0x169),'localeName':this[_0x53b74b(0x190)][_0x53b74b(0x166)][_0x53b74b(0x16a)],'externalSourcesEmbedCss':_0x53b74b(0x1ac)}),this[_0x53b74b(0x198)][_0x53b74b(0x185)]=_0x2c81f5=>{const _0x122604=_0x53b74b;if(_0x122604(0x177)==_0x2c81f5)return _0x122604(0x17e);},_0x4cb2d9[_0x53b74b(0x18c)][_0x53b74b(0x188)][_0x53b74b(0x191)](this[_0x53b74b(0x198)]);}[_0xfbe644(0x196)](){const _0x196b03=_0xfbe644;this[_0x196b03(0x161)]=_0x1cc2ce(_0x4cb2d9[_0x196b03(0x18c)],_0x196b03(0x16c),{'ctx-name':_0x196b03(0x180)}),_0x4cb2d9[_0x196b03(0x18c)][_0x196b03(0x188)][_0x196b03(0x191)](this[_0x196b03(0x161)]);}[_0xfbe644(0x18b)](){const _0x5dcb56=_0xfbe644,_0x1e6d77=this[_0x5dcb56(0x190)][_0x5dcb56(0x165)][_0x5dcb56(0x197)](_0x5dcb56(0x1aa));_0x1e6d77&&this[_0x5dcb56(0x1ab)](_0x1e6d77,_0x5dcb56(0x1a1),()=>{const _0x305231=_0x5dcb56,_0x166bdb=this[_0x305231(0x190)][_0x305231(0x1b1)][_0x305231(0x18c)][_0x305231(0x19e)][_0x305231(0x19b)]();_0x166bdb&&_0x166bdb[_0x305231(0x17c)](_0x305231(0x179))&&this[_0x305231(0x190)][_0x305231(0x18f)][_0x305231(0x18d)][_0x305231(0x170)](_0x305231(0x1a7),()=>{const _0x49de9b=_0x305231;_0x49539b(this[_0x49de9b(0x190)],_0x166bdb);});});const _0x5196b6=this[_0x5dcb56(0x190)][_0x5dcb56(0x165)][_0x5dcb56(0x197)](_0x5dcb56(0x1ae));_0x5196b6&&this[_0x5dcb56(0x1ab)](_0x5196b6,_0x5dcb56(0x1a1),()=>{const _0x2b362a=_0x5dcb56,_0xbe6160=this[_0x2b362a(0x190)][_0x2b362a(0x1b1)][_0x2b362a(0x18c)][_0x2b362a(0x19e)][_0x2b362a(0x19b)]();_0xbe6160&&_0xbe6160[_0x2b362a(0x17c)](_0x2b362a(0x179))&&this[_0x2b362a(0x190)][_0x2b362a(0x18f)][_0x2b362a(0x18d)][_0x2b362a(0x170)](_0x2b362a(0x1a7),()=>{const _0x3a43d7=_0x2b362a;_0x49539b(this[_0x3a43d7(0x190)],_0xbe6160);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x206ffd,ObservableMixin as _0x12e069}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2aa5c3}from'ckeditor5/src/ui.js';import _0x3f9b25 from'./uploadcareimageeditformview.js';import _0x5d9092 from'../../utils/uploadutils.js';import _0x45ee31 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x21e294,getImageDimension as _0x2c2f50}from'../../utils/editingutils.js';import{isAncestor as _0x246936}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x12e069(){constructor(_0x22d332,_0x3b18e4,_0x2914f9){super(),this['_editor']=_0x22d332,this['_dialog']=_0x3b18e4,this['_imageElement']=_0x2914f9,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5a0978=this['_imageElement'],_0x2789f9=_0x5a0978['getAttribute']('uploadcareImageId'),_0x29c8d9=_0x5a0978['getAttribute']('src');if(_0x2789f9)await this['_loadImageInfo'](_0x2789f9,_0x29c8d9);else{if(this['_imageCache']['has'](_0x29c8d9)){const _0x2fbd0f=this['_imageCache']['get'](_0x29c8d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2fbd0f['url'],this['imageDimension']=_0x2fbd0f['dimension'],this['imageId']=_0x2fbd0f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x53c925}=this['_editor'],t=_0x53c925['t'],_0x1d7105=new _0x3f9b25(_0x53c925,this['imageStatus'],this['_attributes']);_0x1d7105['bind']('status')['to'](this,'imageStatus'),_0x1d7105['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d7105['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d7105['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d7105,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x45ee31,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d7105,'position':_0x2aa5c3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d7105['focus']();},'onHide':()=>{_0x1d7105['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3db9da=>!_0x246936(_0x3db9da,_0x1d7105['element'])}});}['_loadImageInfo'](_0x10b7e7,_0x5de18a){return _0x5d9092['getInfo'](_0x10b7e7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x59857f=>{const {width:_0x5a6dad,height:_0x3fcc5e}=_0x59857f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5de18a,this['imageDimension']={'width':_0x5a6dad,'height':_0x3fcc5e},this['imageId']=_0x10b7e7;})['catch'](_0x19eb98=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19eb98['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x34d254,_0x37ebc1){return this['_getImageAsFile'](_0x34d254)['then'](_0x34bbbe=>_0x5d9092['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x37ebc1['signal'],'file':_0x34bbbe,'onProgress':_0x584325=>{_0x584325&&_0x584325['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x584325['value']));}}))['then'](_0x5f3a39=>{const {width:_0x9e9b5,height:_0x7a0eb9}=_0x5f3a39['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f3a39['cdnUrl'],this['imageDimension']={'width':_0x9e9b5,'height':_0x7a0eb9},this['imageId']=_0x5f3a39['uuid'],this['imageUploadProgress']=null;const _0x1ebaee=_0x34d254['getAttribute']('src');this['_imageCache']['set'](_0x1ebaee,{'id':_0x5f3a39['uuid'],'url':_0x5f3a39['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2bc4c3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bc4c3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x25b214,_0x1b095b){_0x25b214['on']('apply',(_0x2c1af8,_0x450f0d)=>{this['_replaceImage'](_0x1b095b,_0x450f0d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x25b214['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x25b214['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x561672,_0x4deb63,_0x371933){const _0x1449fa=this['_editor'],{width:_0x4a9ae9,height:_0x5839cf}=_0x2c2f50(_0x4deb63,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f5ba0,imageSources:_0x288dc4}=_0x21e294(_0x4deb63,_0x4a9ae9);_0x1449fa['model']['change'](_0x4280ee=>{if('$graveyard'===_0x561672['root']['rootName']){_0x1449fa['execute']('insertImage',{'imageType':_0x561672['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x561672['getAttributes']()),'uploadcareImageId':_0x371933,'src':_0x4f5ba0,'sources':_0x288dc4,'width':_0x4a9ae9,'height':_0x5839cf}});const _0x2de328=_0x561672['getChildren']();_0x561672=_0x1449fa['model']['document']['selection']['getSelectedElement']();for(const _0x1f123a of _0x2de328)_0x4280ee['append'](_0x4280ee['cloneElement'](_0x1f123a),_0x561672);}else _0x4280ee['setSelection'](_0x561672,'on'),_0x1449fa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x561672['getAttributes']()),'uploadcareImageId':_0x371933,'src':_0x4f5ba0,'sources':_0x288dc4,'width':_0x4a9ae9,'height':_0x5839cf},_0x561672);_0x4280ee['setSelection'](_0x561672,'on');});}async['_getImageAsFile'](_0x5bd8bf){const _0x265ade=_0x206ffd['window'],_0x40e7b7=_0x206ffd['document']['location']['href'],_0x320103=new _0x265ade['URL'](_0x5bd8bf['getAttribute']('src'),_0x40e7b7);if('data:'===_0x320103['protocol']){const _0x5a1c8c=_0x320103['href']['split'](','),_0x3fc81d=_0x5a1c8c[0x0]['match'](/:(.*?);/)[0x1],_0xd534ca=_0x3fc81d['split']('/')[0x1],_0x43fa78=_0x265ade['atob'](_0x5a1c8c[_0x5a1c8c['length']-0x1]);let _0x3de42f=_0x43fa78['length'];const _0x2e8b5e=new _0x265ade['Uint8Array'](_0x3de42f);for(;_0x3de42f--;)_0x2e8b5e[_0x3de42f]=_0x43fa78['charCodeAt'](_0x3de42f);return new _0x265ade['File']([_0x2e8b5e],'image.'+_0xd534ca,{'type':_0x3fc81d});}const _0x319b51=_0x320103['href']['split']('/'),_0x5e77bd=_0x319b51[_0x319b51['length']-0x1],_0x4a8a07=_0x5e77bd['split']('.')[0x1];return _0x265ade['fetch'](_0x320103['href'])['then'](_0x46de52=>_0x46de52['clone']()['blob']())['then'](_0x4d8650=>new _0x265ade['File']([_0x4d8650],_0x5e77bd,{'type':'image/'+_0x4a8a07}));}}
23
+ import{global as _0x5bb027,ObservableMixin as _0xb113a3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3c4c7e}from'ckeditor5/src/ui.js';import _0x18e432 from'./uploadcareimageeditformview.js';import _0x159ce8 from'../../utils/uploadutils.js';import _0x7b3c3e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xbafbd1,getImageDimension as _0x10442c}from'../../utils/editingutils.js';import{isAncestor as _0x262b82}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0xb113a3(){constructor(_0x397375,_0x36340d,_0xa279bf){super(),this['_editor']=_0x397375,this['_dialog']=_0x36340d,this['_imageElement']=_0xa279bf,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x133adb=this['_imageElement'],_0x10f810=_0x133adb['getAttribute']('uploadcareImageId'),_0x4c78b4=_0x133adb['getAttribute']('src');if(_0x10f810)await this['_loadImageInfo'](_0x10f810,_0x4c78b4);else{if(this['_imageCache']['has'](_0x4c78b4)){const _0x2ad927=this['_imageCache']['get'](_0x4c78b4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ad927['url'],this['imageDimension']=_0x2ad927['dimension'],this['imageId']=_0x2ad927['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f94a8}=this['_editor'],t=_0x1f94a8['t'],_0x49e318=new _0x18e432(_0x1f94a8,this['imageStatus'],this['_attributes']);_0x49e318['bind']('status')['to'](this,'imageStatus'),_0x49e318['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x49e318['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x49e318['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x49e318,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7b3c3e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x49e318,'position':_0x3c4c7e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x49e318['focus']();},'onHide':()=>{_0x49e318['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x327c32=>!_0x262b82(_0x327c32,_0x49e318['element'])}});}['_loadImageInfo'](_0x37712a,_0x32dfaf){return _0x159ce8['getInfo'](_0x37712a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5af0ee=>{const {width:_0x4b656c,height:_0x9b2288}=_0x5af0ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32dfaf,this['imageDimension']={'width':_0x4b656c,'height':_0x9b2288},this['imageId']=_0x37712a;})['catch'](_0x172724=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x172724['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bf4e8,_0x21a90e){return this['_getImageAsFile'](_0x5bf4e8)['then'](_0x28e3a2=>_0x159ce8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x21a90e['signal'],'file':_0x28e3a2,'onProgress':_0x3b3a50=>{_0x3b3a50&&_0x3b3a50['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b3a50['value']));}}))['then'](_0x207e88=>{const {width:_0x3418bd,height:_0x37e0b1}=_0x207e88['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x207e88['cdnUrl'],this['imageDimension']={'width':_0x3418bd,'height':_0x37e0b1},this['imageId']=_0x207e88['uuid'],this['imageUploadProgress']=null;const _0x396cc9=_0x5bf4e8['getAttribute']('src');this['_imageCache']['set'](_0x396cc9,{'id':_0x207e88['uuid'],'url':_0x207e88['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xf7c04=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xf7c04['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45a4b2,_0x46d7f5){_0x45a4b2['on']('apply',(_0x297b97,_0xc8f67b)=>{this['_replaceImage'](_0x46d7f5,_0xc8f67b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45a4b2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45a4b2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x38a831,_0x2f43fd,_0x263f33){const _0x5a4046=this['_editor'],{width:_0x25acd1,height:_0x1892c0}=_0x10442c(_0x2f43fd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6975e0,imageSources:_0xaeabcd}=_0xbafbd1(_0x2f43fd,_0x25acd1);_0x5a4046['model']['change'](_0x328c2e=>{if('$graveyard'===_0x38a831['root']['rootName']){_0x5a4046['execute']('insertImage',{'imageType':_0x38a831['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0}});const _0x4b04d1=_0x38a831['getChildren']();_0x38a831=_0x5a4046['model']['document']['selection']['getSelectedElement']();for(const _0x13031f of _0x4b04d1)_0x328c2e['append'](_0x328c2e['cloneElement'](_0x13031f),_0x38a831);}else _0x328c2e['setSelection'](_0x38a831,'on'),_0x5a4046['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x38a831['getAttributes']()),'uploadcareImageId':_0x263f33,'src':_0x6975e0,'sources':_0xaeabcd,'width':_0x25acd1,'height':_0x1892c0},_0x38a831);_0x328c2e['setSelection'](_0x38a831,'on');});}async['_getImageAsFile'](_0x154c72){const _0x2a0dc0=_0x5bb027['window'],_0x5d7a27=_0x5bb027['document']['location']['href'],_0x11cced=new _0x2a0dc0['URL'](_0x154c72['getAttribute']('src'),_0x5d7a27);if('data:'===_0x11cced['protocol']){const _0x5f0ad7=_0x11cced['href']['split'](','),_0x594ace=_0x5f0ad7[0x0]['match'](/:(.*?);/)[0x1],_0x567b7c=_0x594ace['split']('/')[0x1],_0x2c81fb=_0x2a0dc0['atob'](_0x5f0ad7[_0x5f0ad7['length']-0x1]);let _0x2a8d29=_0x2c81fb['length'];const _0x350a43=new _0x2a0dc0['Uint8Array'](_0x2a8d29);for(;_0x2a8d29--;)_0x350a43[_0x2a8d29]=_0x2c81fb['charCodeAt'](_0x2a8d29);return new _0x2a0dc0['File']([_0x350a43],'image.'+_0x567b7c,{'type':_0x594ace});}const _0x26a508=_0x11cced['href']['split']('/'),_0x53318e=_0x26a508[_0x26a508['length']-0x1],_0x417d08=_0x53318e['split']('.')[0x1];return _0x2a0dc0['fetch'](_0x11cced['href'])['then'](_0x20ad7d=>_0x20ad7d['clone']()['blob']())['then'](_0xe8cde2=>new _0x2a0dc0['File']([_0xe8cde2],_0x53318e,{'type':'image/'+_0x417d08}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x62ac4c,_0x2588f3){const _0x3c75c9=_0xf651,_0x11b041=_0x62ac4c();while(!![]){try{const _0x376bb0=parseInt(_0x3c75c9(0x7d))/0x1+-parseInt(_0x3c75c9(0x89))/0x2+parseInt(_0x3c75c9(0x87))/0x3+-parseInt(_0x3c75c9(0x82))/0x4*(-parseInt(_0x3c75c9(0x7e))/0x5)+parseInt(_0x3c75c9(0x83))/0x6+parseInt(_0x3c75c9(0x84))/0x7*(-parseInt(_0x3c75c9(0x7f))/0x8)+-parseInt(_0x3c75c9(0x8e))/0x9*(parseInt(_0x3c75c9(0x80))/0xa);if(_0x376bb0===_0x2588f3)break;else _0x11b041['push'](_0x11b041['shift']());}catch(_0xbb5394){_0x11b041['push'](_0x11b041['shift']());}}}(_0x5868,0xa5858));function _0x5868(){const _0x3cc9d6=['image-edit','ck-uploadcare-theme','setTemplate','imageSrc','9gUPHne','1069840TomSQo','30ZrhgjI','1600728JRpfru','18400990sMCjWb','bindTemplate','411496eyXkPw','5431788HooglQ','21KBxNGy','uc-light','set','3524454bOTSYG','uc-cloud-image-editor','1297704Jorhbo'];_0x5868=function(){return _0x3cc9d6;};return _0x5868();}import{View as _0x438e55}from'ckeditor5/src/ui.js';function _0xf651(_0x5487a0,_0x13f4a4){const _0x5868d9=_0x5868();return _0xf651=function(_0xf6514f,_0xc7a028){_0xf6514f=_0xf6514f-0x7d;let _0x108cdc=_0x5868d9[_0xf6514f];return _0x108cdc;},_0xf651(_0x5487a0,_0x13f4a4);}export default class tt extends _0x438e55{constructor(_0x34e775,_0x220fb3){const _0x467d1d=_0xf651;super(_0x34e775);const _0xe8167f=this[_0x467d1d(0x81)];this[_0x467d1d(0x86)](_0x467d1d(0x8d),''),this[_0x467d1d(0x8c)]({'tag':_0x467d1d(0x88),'attributes':{..._0x220fb3,'class':[_0x467d1d(0x85),_0x467d1d(0x8b)],'ctx-name':_0x467d1d(0x8a),'cdn-url':_0xe8167f['to'](_0x467d1d(0x8d))}});}}
23
+ function _0x5ce7(_0x1ba6fe,_0x516caf){const _0x2bf816=_0x2bf8();return _0x5ce7=function(_0x5ce73d,_0x387934){_0x5ce73d=_0x5ce73d-0x1c1;let _0x1d1158=_0x2bf816[_0x5ce73d];return _0x1d1158;},_0x5ce7(_0x1ba6fe,_0x516caf);}(function(_0x2612d0,_0x5ec2cb){const _0x26e0b9=_0x5ce7,_0x3e14a0=_0x2612d0();while(!![]){try{const _0x479a42=-parseInt(_0x26e0b9(0x1c9))/0x1*(-parseInt(_0x26e0b9(0x1c5))/0x2)+-parseInt(_0x26e0b9(0x1c7))/0x3+-parseInt(_0x26e0b9(0x1c1))/0x4*(parseInt(_0x26e0b9(0x1ce))/0x5)+parseInt(_0x26e0b9(0x1cf))/0x6*(parseInt(_0x26e0b9(0x1c3))/0x7)+-parseInt(_0x26e0b9(0x1d4))/0x8+-parseInt(_0x26e0b9(0x1cc))/0x9*(parseInt(_0x26e0b9(0x1d1))/0xa)+-parseInt(_0x26e0b9(0x1c4))/0xb*(-parseInt(_0x26e0b9(0x1c6))/0xc);if(_0x479a42===_0x5ec2cb)break;else _0x3e14a0['push'](_0x3e14a0['shift']());}catch(_0x1e1ac2){_0x3e14a0['push'](_0x3e14a0['shift']());}}}(_0x2bf8,0x5e11d));import{View as _0x49a317}from'ckeditor5/src/ui.js';function _0x2bf8(){const _0x44c76b=['151362JxGRxR','bindTemplate','119435ONKHrt','6hxSHez','set','130BEwgLm','imageSrc','ck-uploadcare-theme','324672FfgmUA','20XNidKY','image-edit','3166611ylDGyW','2498485XYUnDn','484xolKEL','36wfIJHE','1971936smFboS','setTemplate','1188THdHUr','uc-cloud-image-editor','uc-light'];_0x2bf8=function(){return _0x44c76b;};return _0x2bf8();}export default class tt extends _0x49a317{constructor(_0x214933,_0xf10937){const _0x47839c=_0x5ce7;super(_0x214933);const _0xdf0dc1=this[_0x47839c(0x1cd)];this[_0x47839c(0x1d0)](_0x47839c(0x1d2),''),this[_0x47839c(0x1c8)]({'tag':_0x47839c(0x1ca),'attributes':{..._0xf10937,'class':[_0x47839c(0x1cb),_0x47839c(0x1d3)],'ctx-name':_0x47839c(0x1c2),'cdn-url':_0xdf0dc1['to'](_0x47839c(0x1d2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1ec506,IconView as et,View as _0x191c8e}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x191c8e{constructor(_0x3309d6){super(_0x3309d6);const t=_0x3309d6['t'];this['set']('errorType',null);const _0x18c12f=new _0x1ec506(_0x3309d6);_0x18c12f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x18c12f['withText']=!0x0,_0x18c12f['class']='ck-button-action',_0x18c12f['on']('execute',()=>{this['fire']('retry');}),_0x18c12f['bind']('isVisible')['to'](this,'errorType',_0x5dd5a6=>'NotFound'!==_0x5dd5a6);const _0x2125d4=new et();_0x2125d4['content']=at,_0x2125d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x246b5d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2125d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x246b5d['to']('errorType',_0x29067c=>t('NotFound'!==_0x29067c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x18c12f]},{'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{ButtonView as _0xc3b65c,IconView as et,View as _0x1c56da}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x1c56da{constructor(_0x44a081){super(_0x44a081);const t=_0x44a081['t'];this['set']('errorType',null);const _0x4a08f7=new _0xc3b65c(_0x44a081);_0x4a08f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4a08f7['withText']=!0x0,_0x4a08f7['class']='ck-button-action',_0x4a08f7['on']('execute',()=>{this['fire']('retry');}),_0x4a08f7['bind']('isVisible')['to'](this,'errorType',_0x1dcb42=>'NotFound'!==_0x1dcb42);const _0x2a304c=new et();_0x2a304c['content']=at,_0x2a304c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2acfe2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2a304c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2acfe2['to']('errorType',_0x524b18=>t('NotFound'!==_0x524b18?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4a08f7]},{'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
- import{SpinnerView as _0x41ee6e,View as _0x48096d}from'ckeditor5/src/ui.js';export default class ta extends _0x48096d{constructor(_0xdc2336){super(_0xdc2336);const t=_0xdc2336['t'],_0x52140a=this['bindTemplate'],_0x44aefc=new _0x41ee6e();_0x44aefc['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':[_0x44aefc,{'text':_0x52140a['to']('imageUploadProgress',_0x459753=>t('Loading\x20image...')+'\x20('+(_0x459753||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 _0x575bb8,View as _0x55ce8c}from'ckeditor5/src/ui.js';export default class ta extends _0x55ce8c{constructor(_0x25d591){super(_0x25d591);const t=_0x25d591['t'],_0x496743=this['bindTemplate'],_0xf16d23=new _0x575bb8();_0xf16d23['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':[_0xf16d23,{'text':_0x496743['to']('imageUploadProgress',_0x5e467d=>t('Loading\x20image...')+'\x20('+(_0x5e467d||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
- function _0x496f(_0x49cfd2,_0x23c208){const _0x148675=_0x1486();return _0x496f=function(_0x496f34,_0x370d19){_0x496f34=_0x496f34-0x170;let _0x62205=_0x148675[_0x496f34];return _0x62205;},_0x496f(_0x49cfd2,_0x23c208);}const _0x2e447b=_0x496f;(function(_0x69f9f2,_0xf936d5){const _0x2d57ae=_0x496f,_0x48b997=_0x69f9f2();while(!![]){try{const _0x9ec26b=parseInt(_0x2d57ae(0x19b))/0x1*(-parseInt(_0x2d57ae(0x170))/0x2)+-parseInt(_0x2d57ae(0x1a4))/0x3*(parseInt(_0x2d57ae(0x198))/0x4)+parseInt(_0x2d57ae(0x184))/0x5*(parseInt(_0x2d57ae(0x173))/0x6)+-parseInt(_0x2d57ae(0x1a8))/0x7*(-parseInt(_0x2d57ae(0x17c))/0x8)+-parseInt(_0x2d57ae(0x196))/0x9+-parseInt(_0x2d57ae(0x1a2))/0xa+-parseInt(_0x2d57ae(0x188))/0xb*(-parseInt(_0x2d57ae(0x182))/0xc);if(_0x9ec26b===_0xf936d5)break;else _0x48b997['push'](_0x48b997['shift']());}catch(_0xe7cb38){_0x48b997['push'](_0x48b997['shift']());}}}(_0x1486,0x48b7e));import{View as _0x18db15}from'ckeditor5/src/ui.js';import _0x3a4f86 from'./uploadcareimageeditformloadingview.js';import _0x4f5d4c from'./uploadcareimageeditformerrorview.js';import _0x3fe0b9 from'./uploadcareimageeditformeditingview.js';import _0x10ce66 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x1486(){const _0x126f74=['element','toLowerCase','cancel','4372910nyyKOg','querySelector','1510794zxoDOD','cdnUrl','ready','fire','35veFXhg','2KVJlWS','addEventListener','_addErrorViewListeners','3108qHXqJg','_addUploadcareImageEditorListeners','disconnect','length','ck-uploadcare-form','target','render','createCollection','_loadingView','610520ClEbUb','change:status','clear','set','_setView','error','41604wcuyNg','add','3985ighPjQ','uc-cloud-image-editor','filter','once','3718XyoKOy','apply','detail','nodeName','_waitForImageEditorComponent','_editingView','addedNodes','focus','setTemplate','_items','addMany','ck-reset_all-excluded','_focusableView','uploading','1953297OuoLoy','retry','4wDgNSL','_errorView','status','510491SJIwJB','observe','getFocusableElement','div'];_0x1486=function(){return _0x126f74;};return _0x1486();}export default class ii extends _0x10ce66{constructor(_0x5dbc0c,_0x3040cb,_0x4a6df7){const _0x55364c=_0x496f;super(_0x5dbc0c),this[_0x55364c(0x191)]=this[_0x55364c(0x17a)](),this[_0x55364c(0x17b)]=new _0x3a4f86(_0x5dbc0c),this[_0x55364c(0x199)]=new _0x4f5d4c(_0x5dbc0c),this[_0x55364c(0x18d)]=new _0x3fe0b9(_0x5dbc0c,_0x4a6df7),this[_0x55364c(0x194)]=new _0x18db15(_0x5dbc0c),this[_0x55364c(0x194)][_0x55364c(0x190)](this[_0x55364c(0x19d)]()),this[_0x55364c(0x17f)](_0x55364c(0x19a),_0x3040cb),this[_0x55364c(0x190)]({'tag':_0x55364c(0x19e),'attributes':{'class':['ck',_0x55364c(0x193),_0x55364c(0x177)],'tabindex':'-1'},'children':this[_0x55364c(0x191)]}),this[_0x55364c(0x180)](),this[_0x55364c(0x187)](_0x55364c(0x179),()=>{const _0x46b7d1=_0x55364c;this[_0x46b7d1(0x18c)](this[_0x46b7d1(0x19f)],_0x3109ea=>{const _0x292bd2=_0x46b7d1;this[_0x292bd2(0x174)](_0x3109ea);});}),this['on'](_0x55364c(0x17d),()=>{const _0x5b7725=_0x55364c;this[_0x5b7725(0x180)]();}),this[_0x55364c(0x172)]();}[_0x2e447b(0x18f)](){const _0x365181=_0x2e447b;this[_0x365181(0x19f)][_0x365181(0x18f)]();}[_0x2e447b(0x180)](){const _0x2a18d9=_0x2e447b;switch(this[_0x2a18d9(0x191)][_0x2a18d9(0x17e)](),this[_0x2a18d9(0x19a)]){case _0x2a18d9(0x195):this[_0x2a18d9(0x191)][_0x2a18d9(0x183)](this[_0x2a18d9(0x17b)]);break;case _0x2a18d9(0x181):this[_0x2a18d9(0x191)][_0x2a18d9(0x183)](this[_0x2a18d9(0x199)]);break;case _0x2a18d9(0x1a6):this[_0x2a18d9(0x191)][_0x2a18d9(0x192)]([this[_0x2a18d9(0x18d)],this[_0x2a18d9(0x194)]]);}}[_0x2e447b(0x18c)](_0x2a7923,_0x32e19b){const _0x4d6308=_0x2e447b,_0x530ad3=_0x4d6308(0x185),_0x28d98d=_0x2a7923[_0x4d6308(0x1a3)](_0x530ad3);if(_0x28d98d)return _0x32e19b(_0x28d98d);const _0x447bb0=new MutationObserver(_0x406867=>{const _0x15e022=_0x4d6308,_0xb1d2e8=_0x406867[_0x15e022(0x186)](_0x59dbcb=>_0x59dbcb[_0x15e022(0x178)]===_0x2a7923&&_0x59dbcb[_0x15e022(0x18e)][_0x15e022(0x176)]>0x0&&_0x59dbcb[_0x15e022(0x18e)][0x0][_0x15e022(0x18b)][_0x15e022(0x1a0)]()===_0x530ad3);_0xb1d2e8[_0x15e022(0x176)]&&(_0x447bb0[_0x15e022(0x175)](),_0x32e19b(_0xb1d2e8[0x0][_0x15e022(0x18e)][0x0]));});_0x447bb0[_0x4d6308(0x19c)](_0x2a7923,{'childList':!0x0,'subtree':!0x0});}[_0x2e447b(0x174)](_0x3ffa87){const _0x5c2d9d=_0x2e447b;_0x3ffa87[_0x5c2d9d(0x171)](_0x5c2d9d(0x189),_0x5259f7=>{const _0x56761c=_0x5c2d9d;this[_0x56761c(0x1a7)](_0x56761c(0x189),{'imageSrc':_0x5259f7[_0x56761c(0x18a)][_0x56761c(0x1a5)]});}),_0x3ffa87[_0x5c2d9d(0x171)](_0x5c2d9d(0x1a1),()=>{const _0x3ad3c1=_0x5c2d9d;this[_0x3ad3c1(0x1a7)](_0x3ad3c1(0x1a1));});}[_0x2e447b(0x172)](){const _0x145bf8=_0x2e447b;this[_0x145bf8(0x199)]['on'](_0x145bf8(0x197),()=>{const _0x2f9307=_0x145bf8;this[_0x2f9307(0x1a7)](_0x2f9307(0x197));});}}
23
+ const _0x182c78=_0x1dc4;(function(_0x5ac02f,_0x12002c){const _0xa1db4d=_0x1dc4,_0x3dee0b=_0x5ac02f();while(!![]){try{const _0x151cce=-parseInt(_0xa1db4d(0x137))/0x1+parseInt(_0xa1db4d(0x118))/0x2+parseInt(_0xa1db4d(0x139))/0x3*(parseInt(_0xa1db4d(0x13d))/0x4)+parseInt(_0xa1db4d(0x13c))/0x5*(parseInt(_0xa1db4d(0x11d))/0x6)+parseInt(_0xa1db4d(0x134))/0x7*(-parseInt(_0xa1db4d(0x125))/0x8)+parseInt(_0xa1db4d(0x12e))/0x9*(parseInt(_0xa1db4d(0x141))/0xa)+-parseInt(_0xa1db4d(0x121))/0xb*(-parseInt(_0xa1db4d(0x120))/0xc);if(_0x151cce===_0x12002c)break;else _0x3dee0b['push'](_0x3dee0b['shift']());}catch(_0x5d82a8){_0x3dee0b['push'](_0x3dee0b['shift']());}}}(_0x5987,0x3b936));function _0x1dc4(_0x1f7014,_0x5579de){const _0x598789=_0x5987();return _0x1dc4=function(_0x1dc472,_0x2e41f3){_0x1dc472=_0x1dc472-0x10d;let _0x2e62ab=_0x598789[_0x1dc472];return _0x2e62ab;},_0x1dc4(_0x1f7014,_0x5579de);}import{View as _0x104ad5}from'ckeditor5/src/ui.js';import _0x1c5b69 from'./uploadcareimageeditformloadingview.js';import _0x25e4fa from'./uploadcareimageeditformerrorview.js';import _0x21a7a2 from'./uploadcareimageeditformeditingview.js';function _0x5987(){const _0x41c105=['10iMgPtb','disconnect','addEventListener','add','length','retry','ready','fire','status','clear','ck-uploadcare-form','uploading','set','_errorView','filter','detail','99052QDmDui','_editingView','_focusableView','apply','createCollection','6LuCwOn','nodeName','change:status','708564PibstZ','88PQhKTi','error','cancel','setTemplate','1208eYkYEu','once','render','toLowerCase','div','querySelector','_setView','observe','ck-reset_all-excluded','1848213ssqsVJ','cdnUrl','uc-cloud-image-editor','_loadingView','addedNodes','_waitForImageEditorComponent','20741dcKgwO','getFocusableElement','addMany','440700jFhXJX','_addErrorViewListeners','501QwmgTs','target','_items','837845jaDPOE','5684TVjvkc','_addUploadcareImageEditorListeners','focus','element'];_0x5987=function(){return _0x41c105;};return _0x5987();}import _0x2a9f0e from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x2a9f0e{constructor(_0x5bbf82,_0x2e8b7d,_0x2a8753){const _0x53f43e=_0x1dc4;super(_0x5bbf82),this[_0x53f43e(0x13b)]=this[_0x53f43e(0x11c)](),this[_0x53f43e(0x131)]=new _0x1c5b69(_0x5bbf82),this[_0x53f43e(0x115)]=new _0x25e4fa(_0x5bbf82),this[_0x53f43e(0x119)]=new _0x21a7a2(_0x5bbf82,_0x2a8753),this[_0x53f43e(0x11a)]=new _0x104ad5(_0x5bbf82),this[_0x53f43e(0x11a)][_0x53f43e(0x124)](this[_0x53f43e(0x135)]()),this[_0x53f43e(0x114)](_0x53f43e(0x110),_0x2e8b7d),this[_0x53f43e(0x124)]({'tag':_0x53f43e(0x129),'attributes':{'class':['ck',_0x53f43e(0x12d),_0x53f43e(0x112)],'tabindex':'-1'},'children':this[_0x53f43e(0x13b)]}),this[_0x53f43e(0x12b)](),this[_0x53f43e(0x126)](_0x53f43e(0x127),()=>{const _0x222fae=_0x53f43e;this[_0x222fae(0x133)](this[_0x222fae(0x140)],_0x44ad1a=>{const _0x32355b=_0x222fae;this[_0x32355b(0x13e)](_0x44ad1a);});}),this['on'](_0x53f43e(0x11f),()=>{const _0x2984d2=_0x53f43e;this[_0x2984d2(0x12b)]();}),this[_0x53f43e(0x138)]();}[_0x182c78(0x13f)](){const _0x2b3afe=_0x182c78;this[_0x2b3afe(0x140)][_0x2b3afe(0x13f)]();}[_0x182c78(0x12b)](){const _0x1708bd=_0x182c78;switch(this[_0x1708bd(0x13b)][_0x1708bd(0x111)](),this[_0x1708bd(0x110)]){case _0x1708bd(0x113):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x131)]);break;case _0x1708bd(0x122):this[_0x1708bd(0x13b)][_0x1708bd(0x144)](this[_0x1708bd(0x115)]);break;case _0x1708bd(0x10e):this[_0x1708bd(0x13b)][_0x1708bd(0x136)]([this[_0x1708bd(0x119)],this[_0x1708bd(0x11a)]]);}}[_0x182c78(0x133)](_0x13cd45,_0x278b7a){const _0x7f9bee=_0x182c78,_0x504c18=_0x7f9bee(0x130),_0x3b302c=_0x13cd45[_0x7f9bee(0x12a)](_0x504c18);if(_0x3b302c)return _0x278b7a(_0x3b302c);const _0x552f6b=new MutationObserver(_0xb3827b=>{const _0x5843c6=_0x7f9bee,_0x4e1c2a=_0xb3827b[_0x5843c6(0x116)](_0x33a8ed=>_0x33a8ed[_0x5843c6(0x13a)]===_0x13cd45&&_0x33a8ed[_0x5843c6(0x132)][_0x5843c6(0x145)]>0x0&&_0x33a8ed[_0x5843c6(0x132)][0x0][_0x5843c6(0x11e)][_0x5843c6(0x128)]()===_0x504c18);_0x4e1c2a[_0x5843c6(0x145)]&&(_0x552f6b[_0x5843c6(0x142)](),_0x278b7a(_0x4e1c2a[0x0][_0x5843c6(0x132)][0x0]));});_0x552f6b[_0x7f9bee(0x12c)](_0x13cd45,{'childList':!0x0,'subtree':!0x0});}[_0x182c78(0x13e)](_0x1b524a){const _0x17d5d1=_0x182c78;_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x11b),_0x1011b1=>{const _0x486db8=_0x17d5d1;this[_0x486db8(0x10f)](_0x486db8(0x11b),{'imageSrc':_0x1011b1[_0x486db8(0x117)][_0x486db8(0x12f)]});}),_0x1b524a[_0x17d5d1(0x143)](_0x17d5d1(0x123),()=>{const _0x284137=_0x17d5d1;this[_0x284137(0x10f)](_0x284137(0x123));});}[_0x182c78(0x138)](){const _0x2450ce=_0x182c78;this[_0x2450ce(0x115)]['on'](_0x2450ce(0x10d),()=>{const _0x29750d=_0x2450ce;this[_0x29750d(0x10f)](_0x29750d(0x10d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11eb(){const _0x210d87=['29728170uGwzUo','imageInline','get','config','editor','element','90oDKtyq','document','10136217RFCEpp','imageBlock','221320MPSvCb','imageEditController','isEnabled','selection','model','requires','unbind','2123518bIngXK','isActive','getSelectedElement','set','execute','_isEditable','refresh','245CgYukV','bind','uploadcare.allowExternalImagesEditing','859200aEIEwP','1284dNZxRM','502727AsMJwk','plugins'];_0x11eb=function(){return _0x210d87;};return _0x11eb();}const _0x39694c=_0xa442;(function(_0x3a4489,_0x5b25a8){const _0x457ae2=_0xa442,_0x1cc33b=_0x3a4489();while(!![]){try{const _0x421f18=-parseInt(_0x457ae2(0x151))/0x1+parseInt(_0x457ae2(0x164))/0x2+parseInt(_0x457ae2(0x159))/0x3*(-parseInt(_0x457ae2(0x15d))/0x4)+-parseInt(_0x457ae2(0x14c))/0x5*(-parseInt(_0x457ae2(0x150))/0x6)+-parseInt(_0x457ae2(0x15b))/0x7+parseInt(_0x457ae2(0x14f))/0x8+parseInt(_0x457ae2(0x153))/0x9;if(_0x421f18===_0x5b25a8)break;else _0x1cc33b['push'](_0x1cc33b['shift']());}catch(_0xac5454){_0x1cc33b['push'](_0x1cc33b['shift']());}}}(_0x11eb,0xd4eb5));import{Command as _0x387b10}from'ckeditor5/src/core.js';import{Dialog as _0x98aade}from'ckeditor5/src/ui.js';import _0x4c6355 from'./ui/uploadcareimageeditcontroller.js';function _0xa442(_0x2c2b87,_0x4c2211){const _0x11eb83=_0x11eb();return _0xa442=function(_0xa44289,_0x385a24){_0xa44289=_0xa44289-0x14a;let _0x1ffa84=_0x11eb83[_0xa44289];return _0x1ffa84;},_0xa442(_0x2c2b87,_0x4c2211);}import{createEditabilityChecker as _0x6a8e25}from'../utils/editingutils.js';export default class J extends _0x387b10{static get[_0x39694c(0x162)](){return[_0x98aade];}constructor(_0x5b831c){const _0x222d17=_0x39694c;super(_0x5b831c),this[_0x222d17(0x15e)]=void 0x0,this[_0x222d17(0x14a)]=_0x6a8e25(_0x5b831c[_0x222d17(0x156)][_0x222d17(0x155)](_0x222d17(0x14e))||[]),this[_0x222d17(0x167)]({'isActive':!0x1});}[_0x39694c(0x14b)](){const _0x4d5dfe=_0x39694c,_0x3d447e=this[_0x4d5dfe(0x157)][_0x4d5dfe(0x161)][_0x4d5dfe(0x15a)][_0x4d5dfe(0x160)][_0x4d5dfe(0x166)]();this[_0x4d5dfe(0x15f)]=this[_0x4d5dfe(0x14a)](_0x3d447e);}[_0x39694c(0x168)](){const _0x4d59d0=_0x39694c;this[_0x4d59d0(0x15e)]&&(this[_0x4d59d0(0x163)](_0x4d59d0(0x165)),this[_0x4d59d0(0x15e)]=void 0x0);const _0x2737c6=this[_0x4d59d0(0x157)][_0x4d59d0(0x161)][_0x4d59d0(0x15a)][_0x4d59d0(0x160)][_0x4d59d0(0x166)]();_0x2737c6&&(_0x2737c6['is'](_0x4d59d0(0x158),_0x4d59d0(0x15c))||_0x2737c6['is'](_0x4d59d0(0x158),_0x4d59d0(0x154)))&&(this[_0x4d59d0(0x15e)]=new _0x4c6355(this[_0x4d59d0(0x157)],this[_0x4d59d0(0x157)][_0x4d59d0(0x152)][_0x4d59d0(0x155)](_0x98aade),_0x2737c6),this[_0x4d59d0(0x14d)](_0x4d59d0(0x165))['to'](this[_0x4d59d0(0x15e)],_0x4d59d0(0x165)));}}
23
+ function _0x2728(_0x57b4f2,_0x186181){const _0x5205d0=_0x5205();return _0x2728=function(_0x272807,_0x2b1cdc){_0x272807=_0x272807-0x8e;let _0x5a3db4=_0x5205d0[_0x272807];return _0x5a3db4;},_0x2728(_0x57b4f2,_0x186181);}const _0x492478=_0x2728;(function(_0x3421fc,_0x15a3b4){const _0x3317b9=_0x2728,_0x2d5c11=_0x3421fc();while(!![]){try{const _0xd1d119=-parseInt(_0x3317b9(0xae))/0x1*(parseInt(_0x3317b9(0x93))/0x2)+parseInt(_0x3317b9(0xa8))/0x3*(parseInt(_0x3317b9(0x9f))/0x4)+-parseInt(_0x3317b9(0x91))/0x5+-parseInt(_0x3317b9(0x95))/0x6+-parseInt(_0x3317b9(0x97))/0x7*(parseInt(_0x3317b9(0x9b))/0x8)+parseInt(_0x3317b9(0x94))/0x9*(parseInt(_0x3317b9(0xa1))/0xa)+parseInt(_0x3317b9(0x92))/0xb;if(_0xd1d119===_0x15a3b4)break;else _0x2d5c11['push'](_0x2d5c11['shift']());}catch(_0xebe7a8){_0x2d5c11['push'](_0x2d5c11['shift']());}}}(_0x5205,0x196de));import{Command as _0x1121e3}from'ckeditor5/src/core.js';import{Dialog as _0x4d3813}from'ckeditor5/src/ui.js';function _0x5205(){const _0xa0773c=['223773GDjWFv','element','imageInline','set','uploadcare.allowExternalImagesEditing','refresh','183649mmKWlf','getSelectedElement','isActive','get','516305pKPDkt','5120753HGTkKv','2QMnZRi','1241784lxycip','1203924XjsPoB','selection','37786LMvqyv','execute','editor','imageBlock','128KHuXwP','imageEditController','document','model','4KQsYdT','requires','10ugvILE','isEnabled','config','plugins','_isEditable','bind','unbind'];_0x5205=function(){return _0xa0773c;};return _0x5205();}import _0x1804bc from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2b0bc1}from'../utils/editingutils.js';export default class J extends _0x1121e3{static get[_0x492478(0xa0)](){return[_0x4d3813];}constructor(_0x13f2c8){const _0x3418c1=_0x492478;super(_0x13f2c8),this[_0x3418c1(0x9c)]=void 0x0,this[_0x3418c1(0xa5)]=_0x2b0bc1(_0x13f2c8[_0x3418c1(0xa3)][_0x3418c1(0x90)](_0x3418c1(0xac))||[]),this[_0x3418c1(0xab)]({'isActive':!0x1});}[_0x492478(0xad)](){const _0x5936e4=_0x492478,_0x1ac954=this[_0x5936e4(0x99)][_0x5936e4(0x9e)][_0x5936e4(0x9d)][_0x5936e4(0x96)][_0x5936e4(0x8e)]();this[_0x5936e4(0xa2)]=this[_0x5936e4(0xa5)](_0x1ac954);}[_0x492478(0x98)](){const _0x42c3e3=_0x492478;this[_0x42c3e3(0x9c)]&&(this[_0x42c3e3(0xa7)](_0x42c3e3(0x8f)),this[_0x42c3e3(0x9c)]=void 0x0);const _0x54bc11=this[_0x42c3e3(0x99)][_0x42c3e3(0x9e)][_0x42c3e3(0x9d)][_0x42c3e3(0x96)][_0x42c3e3(0x8e)]();_0x54bc11&&(_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0x9a))||_0x54bc11['is'](_0x42c3e3(0xa9),_0x42c3e3(0xaa)))&&(this[_0x42c3e3(0x9c)]=new _0x1804bc(this[_0x42c3e3(0x99)],this[_0x42c3e3(0x99)][_0x42c3e3(0xa4)][_0x42c3e3(0x90)](_0x4d3813),_0x54bc11),this[_0x42c3e3(0xa6)](_0x42c3e3(0x8f))['to'](this[_0x42c3e3(0x9c)],_0x42c3e3(0x8f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eb836=_0x320e;(function(_0x305df5,_0x519804){const _0x2d2729=_0x320e,_0x318fb5=_0x305df5();while(!![]){try{const _0x4f1759=parseInt(_0x2d2729(0x16e))/0x1*(parseInt(_0x2d2729(0x16b))/0x2)+-parseInt(_0x2d2729(0x167))/0x3+-parseInt(_0x2d2729(0x178))/0x4*(parseInt(_0x2d2729(0x17b))/0x5)+-parseInt(_0x2d2729(0x17d))/0x6*(-parseInt(_0x2d2729(0x17a))/0x7)+-parseInt(_0x2d2729(0x17c))/0x8+parseInt(_0x2d2729(0x172))/0x9+-parseInt(_0x2d2729(0x170))/0xa*(-parseInt(_0x2d2729(0x16d))/0xb);if(_0x4f1759===_0x519804)break;else _0x318fb5['push'](_0x318fb5['shift']());}catch(_0x44bc11){_0x318fb5['push'](_0x318fb5['shift']());}}}(_0x3a0f,0x40e45));import{Plugin as _0x4d866f}from'ckeditor5/src/core.js';import{Notification as _0x29c7eb}from'ckeditor5/src/ui.js';function _0x3a0f(){const _0x49aa02=['uploadcareImageReplace','isOfficialPlugin','uploadcareImageEdit','2152Iayisk','init','4676YENkgV','1640jjXbLg','3125720aqxvaz','3048XRiGDq','1485120Mbcekr','UploadcareImageEditEditing','ImageEditing','commands','42BFkVRd','add','44zfsWiQ','39pGZVyQ','ImageUtils','1253830CxfUhn','isPremiumPlugin','4376889dQHONT','requires','pluginName'];_0x3a0f=function(){return _0x49aa02;};return _0x3a0f();}import _0x4c3767 from'./uploadcareimageeditcommand.js';import _0x3133b5 from'./uploadcareimagereplacecommand.js';import _0x50655c from'../uploadcareediting.js';function _0x320e(_0x361c21,_0x216a1b){const _0x3a0f11=_0x3a0f();return _0x320e=function(_0x320e49,_0xe1d349){_0x320e49=_0x320e49-0x167;let _0x26cd0c=_0x3a0f11[_0x320e49];return _0x26cd0c;},_0x320e(_0x361c21,_0x216a1b);}export default class m extends _0x4d866f{static get[_0x1eb836(0x174)](){const _0x9f9298=_0x1eb836;return _0x9f9298(0x168);}static get[_0x1eb836(0x173)](){const _0xa8df34=_0x1eb836;return[_0x50655c,_0x29c7eb,_0xa8df34(0x16f),_0xa8df34(0x169)];}static get[_0x1eb836(0x176)](){return!0x0;}static get[_0x1eb836(0x171)](){return!0x0;}[_0x1eb836(0x179)](){const _0x30994b=_0x1eb836,{editor:_0x2a470f}=this;_0x2a470f[_0x30994b(0x16a)][_0x30994b(0x16c)](_0x30994b(0x177),new _0x4c3767(_0x2a470f)),_0x2a470f[_0x30994b(0x16a)][_0x30994b(0x16c)](_0x30994b(0x175),new _0x3133b5(_0x2a470f));}}
23
+ const _0x339642=_0x6705;(function(_0x370889,_0x3a46e5){const _0x1d0ba5=_0x6705,_0x20b917=_0x370889();while(!![]){try{const _0x39d00c=parseInt(_0x1d0ba5(0x85))/0x1*(parseInt(_0x1d0ba5(0x7e))/0x2)+parseInt(_0x1d0ba5(0x92))/0x3*(-parseInt(_0x1d0ba5(0x89))/0x4)+-parseInt(_0x1d0ba5(0x81))/0x5+-parseInt(_0x1d0ba5(0x7d))/0x6+-parseInt(_0x1d0ba5(0x8b))/0x7*(parseInt(_0x1d0ba5(0x8e))/0x8)+parseInt(_0x1d0ba5(0x83))/0x9+parseInt(_0x1d0ba5(0x90))/0xa;if(_0x39d00c===_0x3a46e5)break;else _0x20b917['push'](_0x20b917['shift']());}catch(_0x312c0b){_0x20b917['push'](_0x20b917['shift']());}}}(_0x5f6b,0x93760));import{Plugin as _0x4e0578}from'ckeditor5/src/core.js';import{Notification as _0x53f68c}from'ckeditor5/src/ui.js';function _0x5f6b(){const _0x4ecb3c=['ImageEditing','128zRgkNS','uploadcareImageReplace','35DBMLWR','ImageUtils','pluginName','691112DnXKDz','init','13762970aGuSrn','isOfficialPlugin','34761wCCZcw','3403296cSbGro','16862qAnuJH','requires','add','1399765mpxoop','uploadcareImageEdit','4939128mDiTpR','isPremiumPlugin','39IyvpRv','UploadcareImageEditEditing','commands'];_0x5f6b=function(){return _0x4ecb3c;};return _0x5f6b();}function _0x6705(_0x1ed5fc,_0x2a7b47){const _0x5f6b9c=_0x5f6b();return _0x6705=function(_0x67055b,_0x527fbb){_0x67055b=_0x67055b-0x7d;let _0x29f717=_0x5f6b9c[_0x67055b];return _0x29f717;},_0x6705(_0x1ed5fc,_0x2a7b47);}import _0x4b07e3 from'./uploadcareimageeditcommand.js';import _0x2ce26c from'./uploadcareimagereplacecommand.js';import _0x37178b from'../uploadcareediting.js';export default class m extends _0x4e0578{static get[_0x339642(0x8d)](){const _0x5a2d81=_0x339642;return _0x5a2d81(0x86);}static get[_0x339642(0x7f)](){const _0x4b979b=_0x339642;return[_0x37178b,_0x53f68c,_0x4b979b(0x8c),_0x4b979b(0x88)];}static get[_0x339642(0x91)](){return!0x0;}static get[_0x339642(0x84)](){return!0x0;}[_0x339642(0x8f)](){const _0x850e90=_0x339642,{editor:_0x438f3c}=this;_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x82),new _0x4b07e3(_0x438f3c)),_0x438f3c[_0x850e90(0x87)][_0x850e90(0x80)](_0x850e90(0x8a),new _0x2ce26c(_0x438f3c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3a0f15}from'ckeditor5/src/core.js';import{ButtonView as _0x3b80d2}from'ckeditor5/src/ui.js';import{createElement as _0x56dbec}from'ckeditor5/src/utils.js';import _0x330b72 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x3a0f15{constructor(){super(...arguments),this['_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 _0x1adde4=this['editor'];_0x1adde4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x161a1f=>{const _0x32e259=_0x1adde4['commands']['get']('uploadcareImageEdit'),_0x59e40e=new _0x3b80d2(_0x161a1f),t=_0x161a1f['t'];return _0x59e40e['set']({'icon':_0x330b72,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x59e40e['bind']('isEnabled')['to'](_0x32e259),_0x59e40e['bind']('isOn')['to'](_0x32e259,'isActive'),this['listenTo'](_0x59e40e,'execute',()=>{_0x1adde4['execute']('uploadcareImageEdit'),_0x1adde4['editing']['view']['focus']();}),_0x59e40e;}),this['_initConfig']();}['_initConfig'](){const _0x2b23f7=_0x56dbec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2b23f7),this['listenTo'](this['editor'],'destroy',()=>{_0x2b23f7['remove']();});}}
23
+ import{Plugin as _0x31ca02}from'ckeditor5/src/core.js';import{ButtonView as _0x31c09a}from'ckeditor5/src/ui.js';import{createElement as _0x261254}from'ckeditor5/src/utils.js';import _0x41f4ee from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x31ca02{constructor(){super(...arguments),this['_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 _0x58b749=this['editor'];_0x58b749['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2762ee=>{const _0x183677=_0x58b749['commands']['get']('uploadcareImageEdit'),_0x60cdd6=new _0x31c09a(_0x2762ee),t=_0x2762ee['t'];return _0x60cdd6['set']({'icon':_0x41f4ee,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x60cdd6['bind']('isEnabled')['to'](_0x183677),_0x60cdd6['bind']('isOn')['to'](_0x183677,'isActive'),this['listenTo'](_0x60cdd6,'execute',()=>{_0x58b749['execute']('uploadcareImageEdit'),_0x58b749['editing']['view']['focus']();}),_0x60cdd6;}),this['_initConfig']();}['_initConfig'](){const _0x346efb=_0x261254(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x346efb),this['listenTo'](this['editor'],'destroy',()=>{_0x346efb['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7d7c6a=_0x4471;(function(_0x272385,_0x42ebc6){const _0x28539b=_0x4471,_0x214d5e=_0x272385();while(!![]){try{const _0x13fde2=parseInt(_0x28539b(0x18c))/0x1*(parseInt(_0x28539b(0x199))/0x2)+-parseInt(_0x28539b(0x186))/0x3*(parseInt(_0x28539b(0x198))/0x4)+parseInt(_0x28539b(0x181))/0x5*(-parseInt(_0x28539b(0x185))/0x6)+-parseInt(_0x28539b(0x190))/0x7*(parseInt(_0x28539b(0x183))/0x8)+-parseInt(_0x28539b(0x184))/0x9*(-parseInt(_0x28539b(0x196))/0xa)+parseInt(_0x28539b(0x18a))/0xb+-parseInt(_0x28539b(0x19c))/0xc*(parseInt(_0x28539b(0x180))/0xd);if(_0x13fde2===_0x42ebc6)break;else _0x214d5e['push'](_0x214d5e['shift']());}catch(_0x526ce2){_0x214d5e['push'](_0x214d5e['shift']());}}}(_0x1c70,0x2ac18));import{Command as _0x45c6f4}from'ckeditor5/src/core.js';export default class O extends _0x45c6f4{[_0x7d7c6a(0x18f)](){const _0x18432b=_0x7d7c6a,_0x41f708=this[_0x18432b(0x18d)][_0x18432b(0x18e)][_0x18432b(0x194)][_0x18432b(0x189)][_0x18432b(0x182)]();this[_0x18432b(0x193)]=Boolean(_0x41f708&&(_0x41f708['is'](_0x18432b(0x195),_0x18432b(0x191))||_0x41f708['is'](_0x18432b(0x195),_0x18432b(0x18b))));}[_0x7d7c6a(0x187)](_0x51ded6){const _0x371c3c=_0x7d7c6a,_0x4874f7=this[_0x371c3c(0x18d)][_0x371c3c(0x18e)][_0x371c3c(0x194)][_0x371c3c(0x189)][_0x371c3c(0x182)]();this[_0x371c3c(0x18d)][_0x371c3c(0x18e)][_0x371c3c(0x19a)](_0x112b37=>{const _0x3d2db0=_0x371c3c;_0x112b37[_0x3d2db0(0x19b)](_0x51ded6,_0x4874f7),_0x112b37[_0x3d2db0(0x188)](_0x3d2db0(0x197),_0x4874f7),_0x112b37[_0x3d2db0(0x188)](_0x3d2db0(0x192),_0x4874f7);});}}function _0x4471(_0x5aae75,_0x3c9b1f){const _0x1c70bc=_0x1c70();return _0x4471=function(_0x447146,_0x32ec0e){_0x447146=_0x447146-0x180;let _0x698632=_0x1c70bc[_0x447146];return _0x698632;},_0x4471(_0x5aae75,_0x3c9b1f);}function _0x1c70(){const _0x320983=['removeAttribute','selection','2289749KsohyH','imageInline','1vUZBsZ','editor','model','refresh','35bpxMkG','imageBlock','sizes','isEnabled','document','element','370EspMhP','srcset','34288UOpeUu','541074hTvHgT','change','setAttributes','516ftluyr','14261OtubmK','5imPZvX','getSelectedElement','77752fnknwl','26469ojfHQb','1488258YboqDt','24lMdVag','execute'];_0x1c70=function(){return _0x320983;};return _0x1c70();}
23
+ const _0xd30f52=_0x1d6e;function _0x239e(){const _0x25f042=['model','change','612GXpKBh','isEnabled','12XCFTIw','217bkxEdj','228745RujKQM','execute','2966uBEsWl','2710500CZWAVD','editor','getSelectedElement','element','selection','document','4812054CQEABo','srcset','setAttributes','345380OLxjmn','imageInline','248337OVvPnx','sizes','171KNSunt','8dFaZzV','1736441fFjLNC','refresh','imageBlock','removeAttribute'];_0x239e=function(){return _0x25f042;};return _0x239e();}(function(_0x229239,_0x36fe58){const _0x72623a=_0x1d6e,_0x496155=_0x229239();while(!![]){try{const _0x334a43=-parseInt(_0x72623a(0x122))/0x1*(-parseInt(_0x72623a(0x125))/0x2)+parseInt(_0x72623a(0x131))/0x3*(-parseInt(_0x72623a(0x121))/0x4)+parseInt(_0x72623a(0x126))/0x5+-parseInt(_0x72623a(0x12c))/0x6+-parseInt(_0x72623a(0x119))/0x7*(-parseInt(_0x72623a(0x118))/0x8)+-parseInt(_0x72623a(0x133))/0x9*(parseInt(_0x72623a(0x12f))/0xa)+parseInt(_0x72623a(0x123))/0xb*(parseInt(_0x72623a(0x11f))/0xc);if(_0x334a43===_0x36fe58)break;else _0x496155['push'](_0x496155['shift']());}catch(_0x56b09f){_0x496155['push'](_0x496155['shift']());}}}(_0x239e,0x71c1f));import{Command as _0x219382}from'ckeditor5/src/core.js';function _0x1d6e(_0x297a60,_0x3f42ca){const _0x239e4f=_0x239e();return _0x1d6e=function(_0x1d6e5e,_0xb3c4bc){_0x1d6e5e=_0x1d6e5e-0x118;let _0x4d1779=_0x239e4f[_0x1d6e5e];return _0x4d1779;},_0x1d6e(_0x297a60,_0x3f42ca);}export default class O extends _0x219382{[_0xd30f52(0x11a)](){const _0x4f7333=_0xd30f52,_0x56792e=this[_0x4f7333(0x127)][_0x4f7333(0x11d)][_0x4f7333(0x12b)][_0x4f7333(0x12a)][_0x4f7333(0x128)]();this[_0x4f7333(0x120)]=Boolean(_0x56792e&&(_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x11b))||_0x56792e['is'](_0x4f7333(0x129),_0x4f7333(0x130))));}[_0xd30f52(0x124)](_0x3ba0e9){const _0xf5e4fc=_0xd30f52,_0x2df4e8=this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x12b)][_0xf5e4fc(0x12a)][_0xf5e4fc(0x128)]();this[_0xf5e4fc(0x127)][_0xf5e4fc(0x11d)][_0xf5e4fc(0x11e)](_0x53cf57=>{const _0x217dee=_0xf5e4fc;_0x53cf57[_0x217dee(0x12e)](_0x3ba0e9,_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x12d),_0x2df4e8),_0x53cf57[_0x217dee(0x11c)](_0x217dee(0x132),_0x2df4e8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e367d=_0x421f;function _0x1e9c(){var _0x54cf2e=['isOfficialPlugin','isPremiumPlugin','requires','5pjCsEF','2453088ThmCmg','401162EiGDiN','520684sHZRed','202317VfgUnd','pluginName','3388378ulNKGe','UploadcareImageEdit','5553457ZXGSww','15689448kfgyRF'];_0x1e9c=function(){return _0x54cf2e;};return _0x1e9c();}(function(_0x3b1bfd,_0x17f71e){var _0x20a05f=_0x421f,_0xe13b44=_0x3b1bfd();while(!![]){try{var _0x3a223a=-parseInt(_0x20a05f(0x18f))/0x1+-parseInt(_0x20a05f(0x186))/0x2+-parseInt(_0x20a05f(0x191))/0x3+-parseInt(_0x20a05f(0x190))/0x4*(parseInt(_0x20a05f(0x18d))/0x5)+parseInt(_0x20a05f(0x18e))/0x6+parseInt(_0x20a05f(0x188))/0x7+parseInt(_0x20a05f(0x189))/0x8;if(_0x3a223a===_0x17f71e)break;else _0xe13b44['push'](_0xe13b44['shift']());}catch(_0x351348){_0xe13b44['push'](_0xe13b44['shift']());}}}(_0x1e9c,0xd4813));import{Plugin as _0x2b8d42}from'ckeditor5/src/core.js';function _0x421f(_0x161854,_0x41b394){var _0x1e9ca0=_0x1e9c();return _0x421f=function(_0x421fca,_0x24d1e5){_0x421fca=_0x421fca-0x185;var _0x462202=_0x1e9ca0[_0x421fca];return _0x462202;},_0x421f(_0x161854,_0x41b394);}import _0x200d31 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x346a81 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x2b8d42{static get[_0x1e367d(0x185)](){var _0x264937=_0x1e367d;return _0x264937(0x187);}static get[_0x1e367d(0x18c)](){return[_0x200d31,_0x346a81];}static get[_0x1e367d(0x18a)](){return!0x0;}static get[_0x1e367d(0x18b)](){return!0x0;}}
23
+ var _0x3e1ff4=_0x1a44;function _0x1a44(_0x1c5d74,_0x285c02){var _0x3df708=_0x3df7();return _0x1a44=function(_0x1a44fd,_0x4991e8){_0x1a44fd=_0x1a44fd-0x6d;var _0xda537=_0x3df708[_0x1a44fd];return _0xda537;},_0x1a44(_0x1c5d74,_0x285c02);}(function(_0x58b78d,_0x23c800){var _0x291418=_0x1a44,_0x504cf9=_0x58b78d();while(!![]){try{var _0x850cef=parseInt(_0x291418(0x6d))/0x1*(-parseInt(_0x291418(0x77))/0x2)+parseInt(_0x291418(0x79))/0x3*(parseInt(_0x291418(0x7a))/0x4)+-parseInt(_0x291418(0x70))/0x5*(-parseInt(_0x291418(0x7c))/0x6)+-parseInt(_0x291418(0x75))/0x7*(parseInt(_0x291418(0x6e))/0x8)+parseInt(_0x291418(0x72))/0x9*(-parseInt(_0x291418(0x76))/0xa)+-parseInt(_0x291418(0x6f))/0xb+parseInt(_0x291418(0x7b))/0xc;if(_0x850cef===_0x23c800)break;else _0x504cf9['push'](_0x504cf9['shift']());}catch(_0x5ada79){_0x504cf9['push'](_0x504cf9['shift']());}}}(_0x3df7,0x2398c));import{Plugin as _0x385f97}from'ckeditor5/src/core.js';import _0x59bc6c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x5473c4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3df7(){var _0x5726c2=['pluginName','110886XdkwBb','8PKXbny','7175472YKRBRi','6LRAaIb','isPremiumPlugin','1XiSEyf','22536mQUAam','3122317qPpkNM','295535YxydqK','isOfficialPlugin','378HcxnTz','UploadcareImageEdit','requires','553KxOinz','14810ZyTQYn','33182gDzsOW'];_0x3df7=function(){return _0x5726c2;};return _0x3df7();}export default class j extends _0x385f97{static get[_0x3e1ff4(0x78)](){var _0x3abbdf=_0x3e1ff4;return _0x3abbdf(0x73);}static get[_0x3e1ff4(0x74)](){return[_0x59bc6c,_0x5473c4];}static get[_0x3e1ff4(0x71)](){return!0x0;}static get[_0x3e1ff4(0x7d)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x540957=_0x480a;(function(_0x59c125,_0x5121e6){const _0x3dec94=_0x480a,_0x5620a3=_0x59c125();while(!![]){try{const _0x47ee0c=-parseInt(_0x3dec94(0xd5))/0x1+-parseInt(_0x3dec94(0xf0))/0x2*(-parseInt(_0x3dec94(0xea))/0x3)+-parseInt(_0x3dec94(0x106))/0x4+parseInt(_0x3dec94(0xe7))/0x5+parseInt(_0x3dec94(0xfe))/0x6*(parseInt(_0x3dec94(0x100))/0x7)+parseInt(_0x3dec94(0x108))/0x8+-parseInt(_0x3dec94(0xdb))/0x9;if(_0x47ee0c===_0x5121e6)break;else _0x5620a3['push'](_0x5620a3['shift']());}catch(_0x41cc85){_0x5620a3['push'](_0x5620a3['shift']());}}}(_0x4bb1,0xf2761));import{Plugin as _0x5ec070,icons as _0x43262e}from'ckeditor5/src/core.js';function _0x480a(_0x17edce,_0x5698b0){const _0x4bb137=_0x4bb1();return _0x480a=function(_0x480a1b,_0x33c7eb){_0x480a1b=_0x480a1b-0xc3;let _0x570d8c=_0x4bb137[_0x480a1b];return _0x570d8c;},_0x480a(_0x17edce,_0x5698b0);}import{ButtonView as _0x142b03,MenuBarMenuListItemButtonView as _0x2a0d41}from'ckeditor5/src/ui.js';import _0x546f8b from'../theme/icons/dropbox.svg';import _0x1782b5 from'../theme/icons/facebook.svg';import _0x669451 from'../theme/icons/google-drive.svg';import _0x54cddb from'../theme/icons/google-photos.svg';import _0x290ee7 from'../theme/icons/instagram.svg';import _0x3c2cf6 from'../theme/icons/link.svg';import _0x48fdda from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b9ef7}from'./uploadcareconfig.js';import{getTranslation as _0x4f0dad}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4bb1(){const _0x1c147e=['UploadcareUI','5004904ZznWpo','Facebook','15530784HEongy','entries','evaluationLimit','expired','Uploadcare','_createButton','isImageSelected','shortText','_showLicenseError','config','registerIntegration','type','GDrive','tooltip','execute','uploadcareLicenseKeyDomainLimit','URL','_licenseKeyCheckInterval','_getIntegrationKey','plugins','usageLimit','icon','destroy','_normalizeConfigSourceList','OneDrive','forEach','GPhotos','uploadcare','upload','map','trialLimit','73492wZksGZ','Insert','featureNotAllowed','uploadcareLicenseKeyExpired','Dropbox','isEnabled','31111542gCIdUv','push','uploadcareLicenseKeyUsageLimit','get','init','text','url','isPremiumPlugin','Replace','pluginName','bind','uploadcare.uploader.sourceList','7353405GKHrBF','label','reduce','548241mmzCPP','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','licenseKey','assetManager','domainLimit','14biiBkK','uploadcareLicenseKeyValid','uploadcareLicenseKeyTrialLimit','ImageInsertUI','editor','_createToolbarButton','withText','_createDropdownButtons','_createMenuBarButtons','invalid','Local','commands','has','afterInit','186uUqERb','uploadcareLicenseKeyEvaluationLimit','244643UKejOG','locale','imageUpload','isOfficialPlugin','Instagram'];_0x4bb1=function(){return _0x1c147e;};return _0x4bb1();}export default class e extends _0x5ec070{static get[_0x540957(0xe4)](){const _0x1523b7=_0x540957;return _0x1523b7(0x105);}static get[_0x540957(0x103)](){return!0x0;}static get[_0x540957(0xe2)](){return!0x0;}[_0x540957(0xdf)](){const _0x2637da=_0x540957;this[_0x2637da(0xed)]=this[_0x2637da(0xf4)][_0x2637da(0x111)][_0x2637da(0xde)](_0x2637da(0xed));const _0x3f03f4=this[_0x2637da(0xf4)];this[_0x2637da(0xc7)]=setInterval(()=>{const _0x4b6854=_0x2637da;let _0x3826b4;for(const _0xec424f in _0x3f03f4){const _0x5a56a7=_0xec424f,_0x243ffc=_0x3f03f4[_0x5a56a7];if(_0x4b6854(0xf1)==_0x243ffc||_0x4b6854(0xeb)==_0x243ffc||_0x4b6854(0xd8)==_0x243ffc||_0x4b6854(0xc5)==_0x243ffc||_0x4b6854(0xec)==_0x243ffc||_0x4b6854(0xff)==_0x243ffc||_0x4b6854(0xf2)==_0x243ffc||_0x4b6854(0xdd)==_0x243ffc){delete _0x3f03f4[_0x5a56a7],_0x3826b4=_0x243ffc,clearInterval(this[_0x4b6854(0xc7)]),this[_0x4b6854(0xc7)]=void 0x0;break;}}_0x4b6854(0xeb)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xf9)),_0x4b6854(0xd8)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0x10b)),_0x4b6854(0xc5)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xef)),_0x4b6854(0xec)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xd7),_0x4b6854(0x10c)),_0x4b6854(0xff)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0x10a)),_0x4b6854(0xf2)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xd4)),_0x4b6854(0xdd)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xca));},0x3e8);}[_0x540957(0xfd)](){const _0x3feacd=_0x540957,{editor:_0x21c0bd}=this,_0x43f3d5=_0x21c0bd[_0x3feacd(0xfb)][_0x3feacd(0xde)](_0x3feacd(0xd1));if(!_0x43f3d5)return;const _0x482399=this[_0x3feacd(0xcd)](_0x21c0bd[_0x3feacd(0x111)][_0x3feacd(0xde)](_0x3feacd(0xe6)))[_0x3feacd(0xe9)]((_0x5dc33d,_0x1c9f09)=>{const _0x4f30dc=_0x3feacd,_0x50695d=this[_0x4f30dc(0xc8)](_0x1c9f09[_0x4f30dc(0x113)]);return _0x5dc33d[_0x50695d]||(_0x5dc33d[_0x50695d]=[]),_0x5dc33d[_0x50695d][_0x4f30dc(0xdc)](_0x1c9f09),_0x5dc33d;},{});_0x21c0bd[_0x3feacd(0xc9)][_0x3feacd(0xfc)](_0x3feacd(0xf3))&&_0x21c0bd[_0x3feacd(0xfb)][_0x3feacd(0xde)](_0x3feacd(0xd1))&&Object[_0x3feacd(0x109)](_0x482399)[_0x3feacd(0xcf)](([_0x4ddaee,_0xca0a16])=>{const _0x19e364=_0x3feacd;_0x21c0bd[_0x19e364(0xc9)][_0x19e364(0xde)](_0x19e364(0xf3))[_0x19e364(0x112)]({'name':_0x4ddaee,'observable':()=>_0x43f3d5,'buttonViewCreator':()=>this[_0x19e364(0xf5)](_0xca0a16),'formViewCreator':()=>this[_0x19e364(0xf7)](_0xca0a16),'menuBarButtonViewCreator':()=>this[_0x19e364(0xf8)](_0xca0a16),'override':_0x19e364(0xee)!==_0x4ddaee});});}[_0x540957(0xcc)](){const _0x36efd2=_0x540957;super[_0x36efd2(0xcc)](),this[_0x36efd2(0xc7)]&&clearInterval(this[_0x36efd2(0xc7)]);}[_0x540957(0xcd)](_0xa73299){const _0x1e4cc2=_0x540957,{locale:_0x33b17e}=this[_0x1e4cc2(0xf4)];return _0xa73299[_0x1e4cc2(0xd3)](_0x1a1853=>{const _0x1a4026=_0x1e4cc2,_0x2bf846=_0x4f0dad(_0x33b17e,_0x1a1853,_0x1a4026(0xd6));switch(_0x1a1853){case _0x4b9ef7[_0x1a4026(0xfa)]:return{'icon':_0x43262e[_0x1a4026(0x102)],'type':_0x4b9ef7[_0x1a4026(0xfa)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xc6)]:return{'icon':_0x3c2cf6,'type':_0x4b9ef7[_0x1a4026(0xc6)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xd9)]:return{'icon':_0x546f8b,'type':_0x4b9ef7[_0x1a4026(0xd9)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x107)]:return{'icon':_0x1782b5,'type':_0x4b9ef7[_0x1a4026(0x107)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x114)]:return{'icon':_0x669451,'type':_0x4b9ef7[_0x1a4026(0x114)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xd0)]:return{'icon':_0x54cddb,'type':_0x4b9ef7[_0x1a4026(0xd0)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x104)]:return{'icon':_0x290ee7,'type':_0x4b9ef7[_0x1a4026(0x104)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xce)]:return{'icon':_0x48fdda,'type':_0x4b9ef7[_0x1a4026(0xce)],..._0x2bf846};}});}[_0x540957(0xc8)](_0x15c2f2){const _0x80d9f8=_0x540957;switch(_0x15c2f2){case _0x4b9ef7[_0x80d9f8(0xfa)]:return _0x80d9f8(0xd2);case _0x4b9ef7[_0x80d9f8(0xc6)]:return _0x80d9f8(0xe1);default:return _0x80d9f8(0xee);}}[_0x540957(0x10d)](_0x3a1d2c,_0x50d413){const _0x4cf870=_0x540957,_0xb0b463=this[_0x4cf870(0xf4)],_0x111eb7=new _0x3a1d2c(_0xb0b463[_0x4cf870(0x101)]),_0x15c045=_0xb0b463[_0x4cf870(0xfb)][_0x4cf870(0xde)](_0x4cf870(0xd1));return _0x111eb7[_0x4cf870(0xe5)](_0x4cf870(0xda))['to'](_0x15c045),_0x111eb7['on'](_0x4cf870(0xc4),()=>{const _0x1d313a=_0x4cf870;_0x15c045[_0x1d313a(0xc4)](_0x50d413);}),_0x111eb7;}[_0x540957(0xf5)](_0x22ba81){const _0x447f88=_0x540957,{locale:_0x279cb3}=this[_0x447f88(0xf4)],_0x5d8127=this[_0x447f88(0xf4)][_0x447f88(0xc9)][_0x447f88(0xde)](_0x447f88(0xf3)),_0x34602f=_0x22ba81[0x0],_0x4bec39=this[_0x447f88(0x10d)](_0x142b03,_0x34602f[_0x447f88(0x113)]);return _0x4bec39[_0x447f88(0xcb)]=_0x34602f[_0x447f88(0xcb)],_0x4bec39[_0x447f88(0xe5)](_0x447f88(0xe8))['to'](_0x5d8127,_0x447f88(0x10e),_0x1c6919=>_0x4f0dad(_0x279cb3,_0x34602f[_0x447f88(0x113)],_0x1c6919?_0x447f88(0xe3):_0x447f88(0xd6))[_0x447f88(0xe0)]),_0x4bec39[_0x447f88(0xc3)]=!0x0,_0x4bec39;}[_0x540957(0xf7)](_0x1a29b4){const _0x3474be=_0x540957,{locale:_0x1edf8c}=this[_0x3474be(0xf4)],_0x807afd=this[_0x3474be(0xf4)][_0x3474be(0xc9)][_0x3474be(0xde)](_0x3474be(0xf3));return _0x1a29b4[_0x3474be(0xd3)](_0x218c28=>{const _0x52f16d=_0x3474be,_0x5ed99c=this[_0x52f16d(0x10d)](_0x142b03,_0x218c28[_0x52f16d(0x113)]);return _0x5ed99c[_0x52f16d(0xf6)]=!0x0,_0x5ed99c[_0x52f16d(0xcb)]=_0x218c28[_0x52f16d(0xcb)],_0x5ed99c[_0x52f16d(0xe5)](_0x52f16d(0xe8))['to'](_0x807afd,_0x52f16d(0x10e),_0xb2b24e=>_0x4f0dad(_0x1edf8c,_0x218c28[_0x52f16d(0x113)],_0xb2b24e?_0x52f16d(0xe3):_0x52f16d(0xd6))[_0x52f16d(0xe0)]),_0x5ed99c;});}[_0x540957(0xf8)](_0x265c7e){const _0x3b83ff=_0x540957;return _0x265c7e[_0x3b83ff(0xd3)](_0x101985=>{const _0x14abdf=_0x3b83ff,_0x1486be=this[_0x14abdf(0x10d)](_0x2a0d41,_0x101985[_0x14abdf(0x113)]);return _0x1486be[_0x14abdf(0xcb)]=_0x101985[_0x14abdf(0xcb)],_0x1486be[_0x14abdf(0xe8)]=_0x101985[_0x14abdf(0x10f)],_0x1486be;});}}
23
+ const _0x44ad74=_0x305e;(function(_0x3a22d7,_0x4e2e88){const _0x4caa98=_0x305e,_0xad5081=_0x3a22d7();while(!![]){try{const _0x11049a=parseInt(_0x4caa98(0xb6))/0x1+parseInt(_0x4caa98(0xee))/0x2*(parseInt(_0x4caa98(0xf0))/0x3)+parseInt(_0x4caa98(0xdb))/0x4*(parseInt(_0x4caa98(0xfc))/0x5)+parseInt(_0x4caa98(0xb1))/0x6*(parseInt(_0x4caa98(0xe3))/0x7)+parseInt(_0x4caa98(0xbd))/0x8+parseInt(_0x4caa98(0xeb))/0x9+parseInt(_0x4caa98(0xdd))/0xa*(-parseInt(_0x4caa98(0xc6))/0xb);if(_0x11049a===_0x4e2e88)break;else _0xad5081['push'](_0xad5081['shift']());}catch(_0x17a20e){_0xad5081['push'](_0xad5081['shift']());}}}(_0x150c,0x66e01));import{Plugin as _0x2b8721,icons as _0x304bee}from'ckeditor5/src/core.js';function _0x305e(_0x1f8658,_0x151f0e){const _0x150c53=_0x150c();return _0x305e=function(_0x305e9a,_0x13a63d){_0x305e9a=_0x305e9a-0xad;let _0x3611e9=_0x150c53[_0x305e9a];return _0x3611e9;},_0x305e(_0x1f8658,_0x151f0e);}import{ButtonView as _0x4525bd,MenuBarMenuListItemButtonView as _0x2b0586}from'ckeditor5/src/ui.js';import _0x1d2520 from'../theme/icons/dropbox.svg';import _0xe113f7 from'../theme/icons/facebook.svg';import _0x3fc7dd from'../theme/icons/google-drive.svg';import _0x35bb68 from'../theme/icons/google-photos.svg';import _0x3e00ef from'../theme/icons/instagram.svg';import _0x357609 from'../theme/icons/link.svg';function _0x150c(){const _0x15a896=['reduce','entries','isPremiumPlugin','uploadcareLicenseKeyTrialLimit','assetManager','uploadcare.uploader.sourceList','551565XCRXMo','destroy','url','Dropbox','GPhotos','config','bind','uploadcareLicenseKeyExpired','licenseKey','6NdHBPh','afterInit','execute','_licenseKeyCheckInterval','_createToolbarButton','631270ZazaDG','withText','domainLimit','GDrive','uploadcareLicenseKeyValid','has','expired','4740208NMEQJf','pluginName','locale','Local','Instagram','label','trialLimit','URL','uploadcareLicenseKeyEvaluationLimit','30434393znjvdJ','_createButton','imageUpload','_normalizeConfigSourceList','get','Facebook','forEach','upload','tooltip','Uploadcare','_createDropdownButtons','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyNotAllowed','init','map','evaluationLimit','type','_showLicenseError','plugins','uploadcareLicenseKeyDomainLimit','20VgLsHv','commands','10QUNXZk','push','isOfficialPlugin','uploadcareLicenseKeyInvalid','ImageInsertUI','text','5210422ZYaNCW','isImageSelected','OneDrive','invalid','featureNotAllowed','_getIntegrationKey','registerIntegration','uploadcare','457362IigcLP','isEnabled','editor','202cmGQXv','UploadcareUI','18345Xbxevd','Replace','usageLimit','Insert','icon','shortText'];_0x150c=function(){return _0x15a896;};return _0x150c();}import _0x13d4d5 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b9789}from'./uploadcareconfig.js';import{getTranslation as _0x3ac993}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2b8721{static get[_0x44ad74(0xbe)](){const _0x4ad782=_0x44ad74;return _0x4ad782(0xef);}static get[_0x44ad74(0xdf)](){return!0x0;}static get[_0x44ad74(0xf8)](){return!0x0;}[_0x44ad74(0xd4)](){const _0x29f61c=_0x44ad74;this[_0x29f61c(0xb0)]=this[_0x29f61c(0xed)][_0x29f61c(0xad)][_0x29f61c(0xca)](_0x29f61c(0xb0));const _0x5cf78b=this[_0x29f61c(0xed)];this[_0x29f61c(0xb4)]=setInterval(()=>{const _0x187d2c=_0x29f61c;let _0x55dec3;for(const _0x271149 in _0x5cf78b){const _0x3e982e=_0x271149,_0x175587=_0x5cf78b[_0x3e982e];if(_0x187d2c(0xba)==_0x175587||_0x187d2c(0xe0)==_0x175587||_0x187d2c(0xaf)==_0x175587||_0x187d2c(0xda)==_0x175587||_0x187d2c(0xd3)==_0x175587||_0x187d2c(0xc5)==_0x175587||_0x187d2c(0xf9)==_0x175587||_0x187d2c(0xd2)==_0x175587){delete _0x5cf78b[_0x3e982e],_0x55dec3=_0x175587,clearInterval(this[_0x187d2c(0xb4)]),this[_0x187d2c(0xb4)]=void 0x0;break;}}_0x187d2c(0xe0)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe6)),_0x187d2c(0xaf)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xbc)),_0x187d2c(0xda)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xb8)),_0x187d2c(0xd3)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xe7),_0x187d2c(0xcf)),_0x187d2c(0xc5)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xd6)),_0x187d2c(0xf9)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xc3)),_0x187d2c(0xd2)==_0x55dec3&&_0x5cf78b[_0x187d2c(0xd8)](_0x187d2c(0xf2));},0x3e8);}[_0x44ad74(0xb2)](){const _0x4512f9=_0x44ad74,{editor:_0x5b46f3}=this,_0x350364=_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea));if(!_0x350364)return;const _0x38a2ec=this[_0x4512f9(0xc9)](_0x5b46f3[_0x4512f9(0xad)][_0x4512f9(0xca)](_0x4512f9(0xfb)))[_0x4512f9(0xf6)]((_0x298f0e,_0x339a1f)=>{const _0x25c925=_0x4512f9,_0x538bec=this[_0x25c925(0xe8)](_0x339a1f[_0x25c925(0xd7)]);return _0x298f0e[_0x538bec]||(_0x298f0e[_0x538bec]=[]),_0x298f0e[_0x538bec][_0x25c925(0xde)](_0x339a1f),_0x298f0e;},{});_0x5b46f3[_0x4512f9(0xd9)][_0x4512f9(0xbb)](_0x4512f9(0xe1))&&_0x5b46f3[_0x4512f9(0xdc)][_0x4512f9(0xca)](_0x4512f9(0xea))&&Object[_0x4512f9(0xf7)](_0x38a2ec)[_0x4512f9(0xcc)](([_0x5dc3fd,_0x446de0])=>{const _0x2d42dd=_0x4512f9;_0x5b46f3[_0x2d42dd(0xd9)][_0x2d42dd(0xca)](_0x2d42dd(0xe1))[_0x2d42dd(0xe9)]({'name':_0x5dc3fd,'observable':()=>_0x350364,'buttonViewCreator':()=>this[_0x2d42dd(0xb5)](_0x446de0),'formViewCreator':()=>this[_0x2d42dd(0xd0)](_0x446de0),'menuBarButtonViewCreator':()=>this[_0x2d42dd(0xd1)](_0x446de0),'override':_0x2d42dd(0xfa)!==_0x5dc3fd});});}[_0x44ad74(0xfd)](){const _0x2a1483=_0x44ad74;super[_0x2a1483(0xfd)](),this[_0x2a1483(0xb4)]&&clearInterval(this[_0x2a1483(0xb4)]);}[_0x44ad74(0xc9)](_0x2e9723){const _0x3a49ce=_0x44ad74,{locale:_0x30e1c9}=this[_0x3a49ce(0xed)];return _0x2e9723[_0x3a49ce(0xd5)](_0x3eb4e7=>{const _0x4720f8=_0x3a49ce,_0x182c69=_0x3ac993(_0x30e1c9,_0x3eb4e7,_0x4720f8(0xf3));switch(_0x3eb4e7){case _0x4b9789[_0x4720f8(0xc0)]:return{'icon':_0x304bee[_0x4720f8(0xc8)],'type':_0x4b9789[_0x4720f8(0xc0)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc4)]:return{'icon':_0x357609,'type':_0x4b9789[_0x4720f8(0xc4)],..._0x182c69};case _0x4b9789[_0x4720f8(0xff)]:return{'icon':_0x1d2520,'type':_0x4b9789[_0x4720f8(0xff)],..._0x182c69};case _0x4b9789[_0x4720f8(0xcb)]:return{'icon':_0xe113f7,'type':_0x4b9789[_0x4720f8(0xcb)],..._0x182c69};case _0x4b9789[_0x4720f8(0xb9)]:return{'icon':_0x3fc7dd,'type':_0x4b9789[_0x4720f8(0xb9)],..._0x182c69};case _0x4b9789[_0x4720f8(0x100)]:return{'icon':_0x35bb68,'type':_0x4b9789[_0x4720f8(0x100)],..._0x182c69};case _0x4b9789[_0x4720f8(0xc1)]:return{'icon':_0x3e00ef,'type':_0x4b9789[_0x4720f8(0xc1)],..._0x182c69};case _0x4b9789[_0x4720f8(0xe5)]:return{'icon':_0x13d4d5,'type':_0x4b9789[_0x4720f8(0xe5)],..._0x182c69};}});}[_0x44ad74(0xe8)](_0x55eb40){const _0x134eb0=_0x44ad74;switch(_0x55eb40){case _0x4b9789[_0x134eb0(0xc0)]:return _0x134eb0(0xcd);case _0x4b9789[_0x134eb0(0xc4)]:return _0x134eb0(0xfe);default:return _0x134eb0(0xfa);}}[_0x44ad74(0xc7)](_0x36e5e6,_0x1fc9bf){const _0x4c7f5e=_0x44ad74,_0x491c17=this[_0x4c7f5e(0xed)],_0x27aebd=new _0x36e5e6(_0x491c17[_0x4c7f5e(0xbf)]),_0x428bbf=_0x491c17[_0x4c7f5e(0xdc)][_0x4c7f5e(0xca)](_0x4c7f5e(0xea));return _0x27aebd[_0x4c7f5e(0xae)](_0x4c7f5e(0xec))['to'](_0x428bbf),_0x27aebd['on'](_0x4c7f5e(0xb3),()=>{const _0x19e9e2=_0x4c7f5e;_0x428bbf[_0x19e9e2(0xb3)](_0x1fc9bf);}),_0x27aebd;}[_0x44ad74(0xb5)](_0x2ec3bf){const _0x5d9fa5=_0x44ad74,{locale:_0x3f4cbe}=this[_0x5d9fa5(0xed)],_0x225359=this[_0x5d9fa5(0xed)][_0x5d9fa5(0xd9)][_0x5d9fa5(0xca)](_0x5d9fa5(0xe1)),_0x498dc5=_0x2ec3bf[0x0],_0x1f991b=this[_0x5d9fa5(0xc7)](_0x4525bd,_0x498dc5[_0x5d9fa5(0xd7)]);return _0x1f991b[_0x5d9fa5(0xf4)]=_0x498dc5[_0x5d9fa5(0xf4)],_0x1f991b[_0x5d9fa5(0xae)](_0x5d9fa5(0xc2))['to'](_0x225359,_0x5d9fa5(0xe4),_0x2890ed=>_0x3ac993(_0x3f4cbe,_0x498dc5[_0x5d9fa5(0xd7)],_0x2890ed?_0x5d9fa5(0xf1):_0x5d9fa5(0xf3))[_0x5d9fa5(0xe2)]),_0x1f991b[_0x5d9fa5(0xce)]=!0x0,_0x1f991b;}[_0x44ad74(0xd0)](_0x35745e){const _0x256371=_0x44ad74,{locale:_0x326042}=this[_0x256371(0xed)],_0x4389a5=this[_0x256371(0xed)][_0x256371(0xd9)][_0x256371(0xca)](_0x256371(0xe1));return _0x35745e[_0x256371(0xd5)](_0x1e69bc=>{const _0x29fa66=_0x256371,_0x1761f0=this[_0x29fa66(0xc7)](_0x4525bd,_0x1e69bc[_0x29fa66(0xd7)]);return _0x1761f0[_0x29fa66(0xb7)]=!0x0,_0x1761f0[_0x29fa66(0xf4)]=_0x1e69bc[_0x29fa66(0xf4)],_0x1761f0[_0x29fa66(0xae)](_0x29fa66(0xc2))['to'](_0x4389a5,_0x29fa66(0xe4),_0x3d62b3=>_0x3ac993(_0x326042,_0x1e69bc[_0x29fa66(0xd7)],_0x3d62b3?_0x29fa66(0xf1):_0x29fa66(0xf3))[_0x29fa66(0xe2)]),_0x1761f0;});}[_0x44ad74(0xd1)](_0x385634){const _0x1451dc=_0x44ad74;return _0x385634[_0x1451dc(0xd5)](_0x5cb47c=>{const _0x2c6ad5=_0x1451dc,_0x218c3e=this[_0x2c6ad5(0xc7)](_0x2b0586,_0x5cb47c[_0x2c6ad5(0xd7)]);return _0x218c3e[_0x2c6ad5(0xf4)]=_0x5cb47c[_0x2c6ad5(0xf4)],_0x218c3e[_0x2c6ad5(0xc2)]=_0x5cb47c[_0x2c6ad5(0xf5)],_0x218c3e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4d0e7f}from'ckeditor5/src/core.js';import{FileRepository as _0x543c1c}from'ckeditor5/src/upload.js';import _0x3e2075 from'./uploadcareediting.js';import _0x5a960b from'./utils/uploadutils.js';import{getImageUrls as _0x50b9c9}from'./utils/editingutils.js';export default class f extends _0x4d0e7f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x543c1c,_0x3e2075];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x56918d=this['editor'];if(!!!_0x56918d['config']['get']('uploadcare'))return;_0x56918d['plugins']['get'](_0x543c1c)['createUploadAdapter']=_0x441e88=>new A(_0x441e88,_0x56918d),_0x56918d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5915fa,{imageElement:_0x3fb2dc,data:_0xf31aa4})=>{_0x56918d['model']['change'](_0x2116ef=>{_0x2116ef['setAttribute']('uploadcareImageId',_0xf31aa4['uploadcareImageId'],_0x3fb2dc);});});}}class A{constructor(_0x109258,_0x17da8b){this['loader']=_0x109258,this['editor']=_0x17da8b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4805a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x38ff7b=await this['loader']['file'];return _0x5a960b['upload']({'file':_0x38ff7b,'publicKey':_0x4805a5,'signal':this['controller']['signal'],'onProgress':_0x48842b=>{_0x48842b&&_0x48842b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48842b['value']);}})['then'](async _0x387a44=>{const {imageFallbackUrl:_0x184beb,imageSources:_0x5221c6}=_0x50b9c9(_0x387a44['cdnUrl'],_0x387a44['imageInfo']['width']);return{'uploadcareImageId':_0x387a44['uuid'],'default':_0x184beb,'sources':_0x5221c6};})['catch'](()=>{const _0x47cbc4=t('Cannot\x20upload\x20file:')+('\x20'+_0x38ff7b['name']+'.');return Promise['reject'](_0x47cbc4);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x477744}from'ckeditor5/src/core.js';import{FileRepository as _0x3ec207}from'ckeditor5/src/upload.js';import _0x559ffd from'./uploadcareediting.js';import _0x3f85f2 from'./utils/uploadutils.js';import{getImageUrls as _0x1639b3}from'./utils/editingutils.js';export default class f extends _0x477744{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ec207,_0x559ffd];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5a3c75=this['editor'];if(!!!_0x5a3c75['config']['get']('uploadcare'))return;_0x5a3c75['plugins']['get'](_0x3ec207)['createUploadAdapter']=_0x412591=>new A(_0x412591,_0x5a3c75),_0x5a3c75['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd9c4d2,{imageElement:_0x11f0a5,data:_0x26d653})=>{_0x5a3c75['model']['change'](_0x434717=>{_0x434717['setAttribute']('uploadcareImageId',_0x26d653['uploadcareImageId'],_0x11f0a5);});});}}class A{constructor(_0x1f79fc,_0x3e5410){this['loader']=_0x1f79fc,this['editor']=_0x3e5410,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x43bc6a=this['editor']['config']['get']('uploadcare.pubkey'),_0x2b68a0=await this['loader']['file'];return _0x3f85f2['upload']({'file':_0x2b68a0,'publicKey':_0x43bc6a,'signal':this['controller']['signal'],'onProgress':_0x33917e=>{_0x33917e&&_0x33917e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x33917e['value']);}})['then'](async _0xc6a078=>{const {imageFallbackUrl:_0x470652,imageSources:_0x4425dd}=_0x1639b3(_0xc6a078['cdnUrl'],_0xc6a078['imageInfo']['width']);return{'uploadcareImageId':_0xc6a078['uuid'],'default':_0x470652,'sources':_0x4425dd};})['catch'](()=>{const _0x5bb96e=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b68a0['name']+'.');return Promise['reject'](_0x5bb96e);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x487c69}from'../uploadcareconfig.js';export function getTranslation(_0x26e175,_0x2419d1,_0x302ace){const t=_0x26e175['t'],_0x52589b=_0x26e175['t'];switch(_0x2419d1){case _0x487c69['Local']:return{'text':_0x52589b('Insert'===_0x302ace?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x52589b('From\x20computer')};case _0x487c69['URL']:return{'text':'Insert'===_0x302ace?_0x52589b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x52589b('Via\x20URL')};case _0x487c69['Dropbox']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x487c69['Facebook']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x487c69['GDrive']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x487c69['GPhotos']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x487c69['Instagram']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x487c69['OneDrive']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2419d1;}}
23
+ import{UploadcareSource as _0xbde20b}from'../uploadcareconfig.js';export function getTranslation(_0x6a929c,_0xf09b8f,_0x53e2e3){const t=_0x6a929c['t'],_0x3f4160=_0x6a929c['t'];switch(_0xf09b8f){case _0xbde20b['Local']:return{'text':_0x3f4160('Insert'===_0x53e2e3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f4160('From\x20computer')};case _0xbde20b['URL']:return{'text':'Insert'===_0x53e2e3?_0x3f4160('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f4160('Via\x20URL')};case _0xbde20b['Dropbox']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xbde20b['Facebook']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xbde20b['GDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xbde20b['GPhotos']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xbde20b['Instagram']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0xbde20b['OneDrive']:return{'text':t('Insert'===_0x53e2e3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xf09b8f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54e9bc=_0x6211;(function(_0x24c766,_0x1635e2){var _0x48c1ce=_0x6211,_0x244168=_0x24c766();while(!![]){try{var _0x1ac7ec=parseInt(_0x48c1ce(0x1bb))/0x1+-parseInt(_0x48c1ce(0x1c3))/0x2+-parseInt(_0x48c1ce(0x1b7))/0x3+parseInt(_0x48c1ce(0x1bd))/0x4+-parseInt(_0x48c1ce(0x1c4))/0x5+-parseInt(_0x48c1ce(0x1c6))/0x6+parseInt(_0x48c1ce(0x1c2))/0x7;if(_0x1ac7ec===_0x1635e2)break;else _0x244168['push'](_0x244168['shift']());}catch(_0x2379b3){_0x244168['push'](_0x244168['shift']());}}}(_0x4dc7,0xa998b));function _0x6211(_0x58ebdb,_0x35960f){var _0x4dc71f=_0x4dc7();return _0x6211=function(_0x62115a,_0x474c79){_0x62115a=_0x62115a-0x1b7;var _0x4ce617=_0x4dc71f[_0x62115a];return _0x4ce617;},_0x6211(_0x58ebdb,_0x35960f);}import{FocusTracker as _0x5662d1}from'ckeditor5/src/utils.js';import{View as _0x1383a8,FocusCycler as _0x5be5a2}from'ckeditor5/src/ui.js';function _0x4dc7(){var _0x1eec30=['true','div','17788kDfRCI','fire','1342488mKEBeL','getFocusableElement','focusCycler','bindTemplate','focusTracker','29846047VkFYGD','2022104ugTUcm','6404270clxaXs','forwardCycle','1723158sPDZuF','4030095qazPQy','createCollection'];_0x4dc7=function(){return _0x1eec30;};return _0x4dc7();}import'../../theme/uploadcare-form.css';export default class q extends _0x1383a8{constructor(_0x2f99d0){var _0x2ccfa0=_0x6211;super(_0x2f99d0),this[_0x2ccfa0(0x1c1)]=new _0x5662d1(),this[_0x2ccfa0(0x1bf)]=new _0x5be5a2({'focusables':this[_0x2ccfa0(0x1b8)](),'focusTracker':this[_0x2ccfa0(0x1c1)]});}[_0x54e9bc(0x1be)](){var _0x3bcbd1=_0x54e9bc;return{'tag':_0x3bcbd1(0x1ba),'attributes':{'aria-hidden':_0x3bcbd1(0x1b9),'tabindex':'0'},'on':{'focus':this[_0x3bcbd1(0x1c0)]['to'](()=>{var _0x219eec=_0x3bcbd1;this[_0x219eec(0x1bf)][_0x219eec(0x1bc)](_0x219eec(0x1c5));})}};}}
23
+ var _0x121e97=_0x1b29;(function(_0x33b410,_0x231f50){var _0x332194=_0x1b29,_0x501a78=_0x33b410();while(!![]){try{var _0x571663=parseInt(_0x332194(0x17b))/0x1+-parseInt(_0x332194(0x177))/0x2*(-parseInt(_0x332194(0x17f))/0x3)+parseInt(_0x332194(0x17d))/0x4+parseInt(_0x332194(0x176))/0x5+parseInt(_0x332194(0x17c))/0x6*(parseInt(_0x332194(0x185))/0x7)+parseInt(_0x332194(0x178))/0x8+-parseInt(_0x332194(0x17a))/0x9;if(_0x571663===_0x231f50)break;else _0x501a78['push'](_0x501a78['shift']());}catch(_0x43e09f){_0x501a78['push'](_0x501a78['shift']());}}}(_0x51df,0x1f8a9));import{FocusTracker as _0x3e083d}from'ckeditor5/src/utils.js';function _0x51df(){var _0x316307=['true','286740TZQRHa','22PoFhTe','1543048VzPcJJ','focusTracker','7600905xjqfFM','186305UMSjXg','82638vKMGmS','801016uMsfMk','fire','58089gvHvsW','createCollection','div','forwardCycle','getFocusableElement','bindTemplate','63aeDdxG','focusCycler'];_0x51df=function(){return _0x316307;};return _0x51df();}import{View as _0x369eef,FocusCycler as _0x725644}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1b29(_0x3ef949,_0x1c965a){var _0x51df36=_0x51df();return _0x1b29=function(_0x1b2904,_0xff84fc){_0x1b2904=_0x1b2904-0x175;var _0x13b9f4=_0x51df36[_0x1b2904];return _0x13b9f4;},_0x1b29(_0x3ef949,_0x1c965a);}export default class q extends _0x369eef{constructor(_0x252729){var _0x451490=_0x1b29;super(_0x252729),this[_0x451490(0x179)]=new _0x3e083d(),this[_0x451490(0x186)]=new _0x725644({'focusables':this[_0x451490(0x180)](),'focusTracker':this[_0x451490(0x179)]});}[_0x121e97(0x183)](){var _0x3d293c=_0x121e97;return{'tag':_0x3d293c(0x181),'attributes':{'aria-hidden':_0x3d293c(0x175),'tabindex':'0'},'on':{'focus':this[_0x3d293c(0x184)]['to'](()=>{var _0x1b896=_0x3d293c;this[_0x1b896(0x186)][_0x1b896(0x17e)](_0x1b896(0x182));})}};}}