@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250210.0 → 0.0.0-nightly-20250211.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(_0x100740,_0x4165cf){var _0x2fed6d=_0x5c39,_0x15a70e=_0x100740();while(!![]){try{var _0x1d7beb=parseInt(_0x2fed6d(0xb2))/0x1+-parseInt(_0x2fed6d(0xb3))/0x2+-parseInt(_0x2fed6d(0xb9))/0x3*(parseInt(_0x2fed6d(0xb7))/0x4)+-parseInt(_0x2fed6d(0xae))/0x5+parseInt(_0x2fed6d(0xb1))/0x6+-parseInt(_0x2fed6d(0xb6))/0x7+parseInt(_0x2fed6d(0xa8))/0x8;if(_0x1d7beb===_0x4165cf)break;else _0x15a70e['push'](_0x15a70e['shift']());}catch(_0x477146){_0x15a70e['push'](_0x15a70e['shift']());}}}(_0xeed5,0x84461));function _0x5c39(_0x335c7a,_0x2934a4){var _0xeed5f4=_0xeed5();return _0x5c39=function(_0x5c39b2,_0x2781dc){_0x5c39b2=_0x5c39b2-0xa2;var _0xf688f2=_0xeed5f4[_0x5c39b2];return _0xf688f2;},_0x5c39(_0x335c7a,_0x2934a4);}export var UploadcareSource;function _0xeed5(){var _0x2e4be6=['Instagram','GDrive','url','2844390APoWUF','gphotos','URL','4354962vafsVd','133682LzExsR','631458LkNLlD','Facebook','gdrive','2462530BKNKKV','28kYYDnI','onedrive','354507MXmBDJ','facebook','dropbox','Dropbox','Local','GPhotos','instagram','13966912UAfzhp','local','OneDrive'];_0xeed5=function(){return _0x2e4be6;};return _0xeed5();}!function(_0x24f8d5){var _0x10b316=_0x5c39;_0x24f8d5[_0x10b316(0xa5)]=_0x10b316(0xa9),_0x24f8d5[_0x10b316(0xb0)]=_0x10b316(0xad),_0x24f8d5[_0x10b316(0xa4)]=_0x10b316(0xa3),_0x24f8d5[_0x10b316(0xac)]=_0x10b316(0xb5),_0x24f8d5[_0x10b316(0xb4)]=_0x10b316(0xa2),_0x24f8d5[_0x10b316(0xa6)]=_0x10b316(0xaf),_0x24f8d5[_0x10b316(0xab)]=_0x10b316(0xa7),_0x24f8d5[_0x10b316(0xaa)]=_0x10b316(0xb8);}(UploadcareSource||(UploadcareSource={}));
23
+ (function(_0x488ee5,_0x21b24e){var _0x22b00f=_0x4e69,_0x2a4855=_0x488ee5();while(!![]){try{var _0x12e6c9=parseInt(_0x22b00f(0x13f))/0x1+parseInt(_0x22b00f(0x147))/0x2+parseInt(_0x22b00f(0x144))/0x3+-parseInt(_0x22b00f(0x141))/0x4*(parseInt(_0x22b00f(0x135))/0x5)+parseInt(_0x22b00f(0x146))/0x6*(-parseInt(_0x22b00f(0x133))/0x7)+parseInt(_0x22b00f(0x145))/0x8*(-parseInt(_0x22b00f(0x132))/0x9)+parseInt(_0x22b00f(0x143))/0xa;if(_0x12e6c9===_0x21b24e)break;else _0x2a4855['push'](_0x2a4855['shift']());}catch(_0xcc0394){_0x2a4855['push'](_0x2a4855['shift']());}}}(_0x36d2,0x82c55));export var UploadcareSource;function _0x4e69(_0x4b4c4a,_0xe3c4fa){var _0x36d289=_0x36d2();return _0x4e69=function(_0x4e6916,_0x2059f1){_0x4e6916=_0x4e6916-0x130;var _0x36b190=_0x36d289[_0x4e6916];return _0x36b190;},_0x4e69(_0x4b4c4a,_0xe3c4fa);}!function(_0x5056e5){var _0x436c39=_0x4e69;_0x5056e5[_0x436c39(0x134)]=_0x436c39(0x142),_0x5056e5[_0x436c39(0x138)]=_0x436c39(0x13c),_0x5056e5[_0x436c39(0x139)]=_0x436c39(0x13a),_0x5056e5[_0x436c39(0x13b)]=_0x436c39(0x13d),_0x5056e5[_0x436c39(0x130)]=_0x436c39(0x13e),_0x5056e5[_0x436c39(0x137)]=_0x436c39(0x136),_0x5056e5[_0x436c39(0x140)]=_0x436c39(0x148),_0x5056e5[_0x436c39(0x131)]=_0x436c39(0x149);}(UploadcareSource||(UploadcareSource={}));function _0x36d2(){var _0x2c55ae=['737034PFHWsU','1760508TterRT','instagram','onedrive','Facebook','OneDrive','40842WiHpjj','21XZfeoI','Local','35965EUucwQ','gphotos','GPhotos','URL','Dropbox','dropbox','GDrive','url','gdrive','facebook','988215ZLrgPY','Instagram','580zONwRR','local','1061520PHvbyy','1973268GkVkAs','1208OACxAs'];_0x36d2=function(){return _0x2c55ae;};return _0x36d2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3851(){const _0x19a176=['listenTo','once','removeAttribute','imageInline','editor','_ctxElement','uploadcare','href','cleanupImage','selection','execute','conversion','pluginName','afterInit','29148174rDmcCY','isOfficialPlugin','view','UploadcareEditing','schema','config','document','uploadcare.pubkey','PictureEditing','insertImage','configElement','uploadcareImageReplace','appendChild','editing','isRegistered','add','20428twouWD','body','_configElement','locale','downcast','16434790RhaVAp','#uc-icon-arrow-down','imageBlock','querySelector','39744hXdngN','upcast','fromCharCode','_initConversion','uc-upload-ctx-provider','_initConfig','getSelectedElement','extend','closeMax','uc-config','isPremiumPlugin','remove','map','3139233XwdmCX','for','true','join','get','ctxElement','model','452ZJWNhd','commands','contentLanguage','render','_initSchema','init','iconHrefResolver','_initImageProcessingIndicator','requires','uploadcare.uploader','elementToAttribute','input[uploadcare-file-input]','replaceImageSource','\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','data-uc-image-id','getAttribute','40gZbsiS','928RfxnRT','47313uiSfxx','uploader','attributeToAttribute','3035WliQYr','654vMBJYo','uploadcareImageId','_initCtx','destroy'];_0x3851=function(){return _0x19a176;};return _0x3851();}const _0x37f78f=_0x5b36;(function(_0x5b888c,_0x24f1f4){const _0x3d08bc=_0x5b36,_0xb3f41b=_0x5b888c();while(!![]){try{const _0x40b6aa=-parseInt(_0x3d08bc(0xaf))/0x1*(-parseInt(_0x3d08bc(0x9a))/0x2)+-parseInt(_0x3d08bc(0x93))/0x3+parseInt(_0x3d08bc(0x7d))/0x4*(parseInt(_0x3d08bc(0xaa))/0x5)+-parseInt(_0x3d08bc(0xb0))/0x6*(-parseInt(_0x3d08bc(0xac))/0x7)+-parseInt(_0x3d08bc(0xab))/0x8*(parseInt(_0x3d08bc(0x86))/0x9)+-parseInt(_0x3d08bc(0x82))/0xa+parseInt(_0x3d08bc(0x6d))/0xb;if(_0x40b6aa===_0x24f1f4)break;else _0xb3f41b['push'](_0xb3f41b['shift']());}catch(_0x379cf8){_0xb3f41b['push'](_0xb3f41b['shift']());}}}(_0x3851,0xde751));import{Plugin as _0x50b7b8}from'ckeditor5/src/core.js';import{Dialog as _0x24dfa7}from'ckeditor5/src/ui.js';import{createElement as _0x313eff,global as _0x4a9e06,uid as _0x2f2d3a}from'ckeditor5/src/utils.js';import _0x395d88 from'./uploadcarecommand.js';import _0x589c6b from'./uploadcareuploadadapter.js';function _0x5b36(_0x446b51,_0x4ca318){const _0x385126=_0x3851();return _0x5b36=function(_0x5b367b,_0x19d2e4){_0x5b367b=_0x5b367b-0x68;let _0x1a92d9=_0x385126[_0x5b367b];return _0x1a92d9;},_0x5b36(_0x446b51,_0x4ca318);}import{showImageProcessingIndicator as _0x5e8d06}from'./utils/editingutils.js';export default class i extends _0x50b7b8{constructor(){const _0x17b27b=_0x5b36;super(...arguments),this[_0x17b27b(0x7f)]=null,this[_0x17b27b(0xb9)]=null;}static get[_0x37f78f(0x6b)](){const _0x366d66=_0x37f78f;return _0x366d66(0x70);}static get[_0x37f78f(0xa2)](){const _0x53f8a5=_0x37f78f;return[_0x53f8a5(0x75),_0x589c6b,_0x24dfa7];}static get[_0x37f78f(0x6e)](){return!0x0;}static get[_0x37f78f(0x90)](){return!0x0;}get[_0x37f78f(0x77)](){const _0x5925f2=_0x37f78f;return this[_0x5925f2(0x7f)];}get[_0x37f78f(0x98)](){const _0x40b370=_0x37f78f;return this[_0x40b370(0xb9)];}[_0x37f78f(0x9f)](){const _0x39fdf4=_0x37f78f,_0x30f08e=this[_0x39fdf4(0xb8)];_0x30f08e[_0x39fdf4(0x9b)][_0x39fdf4(0x7c)](_0x39fdf4(0xba),new _0x395d88(_0x30f08e));}[_0x37f78f(0x6c)](){const _0x599d03=_0x37f78f;this[_0x599d03(0x9e)](),this[_0x599d03(0x89)](),this[_0x599d03(0x8b)](),this[_0x599d03(0xb2)](),this[_0x599d03(0xa1)](),this[_0x599d03(0xb4)](this[_0x599d03(0xb8)],_0x599d03(0xb3),()=>{const _0x15aa3e=_0x599d03;this[_0x15aa3e(0x7f)]&&(this[_0x15aa3e(0x7f)][_0x15aa3e(0x91)](),this[_0x15aa3e(0x7f)]=null),this[_0x15aa3e(0xb9)]&&(this[_0x15aa3e(0xb9)][_0x15aa3e(0x91)](),this[_0x15aa3e(0xb9)]=null);const _0x1a41f5=_0x4a9e06[_0x15aa3e(0x73)][_0x15aa3e(0x85)](_0x15aa3e(0xa5));_0x1a41f5&&_0x1a41f5[_0x15aa3e(0x91)]();}),async function(_0x2eccfe){const _0x384583=_0x59f527([0x64,0x58,0x4e,0x6b,0x38,0x75,0x43,0x49,0x6f,0x67,0x53,0x66,0x48,0x4c,0x51,0x4a,0x35,0x6c,0x76,0x6e,0x41,0x74,0x69,0x73,0x54,0x56,0x4d,0x6a,0x70,0x65,0x79,0x47,0x68,0x62,0x72,0x45,0x37,0x50,0x33,0x55,0x30,0x6d,0x31,0x4b,0x32,0x34,0x71,0x44,0x4f,0x39,0x78,0x5a,0x57,0x46,0x7a,0x77,0x36,0x59,0x63,0x61,0x42,0x52]),_0x85016f=0x5af76878,_0x25cd56=0x5af03760^_0x85016f,_0x138cc9=window[_0x59f527([0x44,0x61,0x74,0x65])][_0x59f527([0x6e,0x6f,0x77])](),_0x2c6b28=_0x2eccfe[_0x59f527([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dab2d=new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48f0a3=>{_0x2c6b28[_0x59f527([0x6f,0x6e,0x63,0x65])](_0x59f527([0x72,0x65,0x61,0x64,0x79]),_0x48f0a3);}),_0x4d416f={[_0x59f527([0x6b,0x74,0x79])]:_0x59f527([0x45,0x43]),[_0x59f527([0x75,0x73,0x65])]:_0x59f527([0x73,0x69,0x67]),[_0x59f527([0x63,0x72,0x76])]:_0x59f527([0x50,0x2d,0x32,0x35,0x36]),[_0x59f527([0x78])]:_0x59f527([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]),[_0x59f527([0x79])]:_0x59f527([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]),[_0x59f527([0x61,0x6c,0x67])]:_0x59f527([0x45,0x53,0x32,0x35,0x36])},_0x1479a4=_0x2c6b28[_0x59f527([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59f527([0x67,0x65,0x74])](_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x335787(){let _0x3f47d6,_0x32fef1=null,_0x14fe28=null;try{if(_0x1479a4==_0x59f527([0x47,0x50,0x4c]))return _0x59f527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f47d6=_0x1bcdbb(),!_0x3f47d6)return _0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f47d6[_0x59f527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14fe28=_0x383420(_0x3f47d6[_0x59f527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f47d6[_0x59f527([0x6a,0x74,0x69])])),await _0x1bdda0()?_0x1d5b7e()?_0x1f9e0b()?_0x59f527([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50a2d7()?(_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59f527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32fef1=_0x36c8b(_0x59f527([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59f527([0x74,0x72,0x69,0x61,0x6c])&&(_0x32fef1=_0x36c8b(_0x59f527([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x226305()):_0x59f527([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59f527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x142423){return _0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f9e0b(){const _0x3d0a52=[_0x59f527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59f527([0x74,0x72,0x69,0x61,0x6c])][_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x138cc9/0x3e8:0xe10*_0x25cd56;return _0x3f47d6[_0x59f527([0x65,0x78,0x70])]<_0x3d0a52;}function _0x1d5b7e(){const _0x4f366f=_0x3f47d6[_0x59f527([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f366f&&(!!_0x4f366f[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x2a]))||!!_0x4f366f[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x55,0x50,0x4c,0x43])));}function _0x50a2d7(){const _0xaf879b=_0x5b36,_0x7dc1f4=_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7dc1f4||0x0==_0x7dc1f4[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49e232}=new URL(window[_0x59f527([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xaf879b(0xbb)]);if(_0x7dc1f4[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e232))return!0x0;const _0x2e4ad3=_0x49e232[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e]));return _0x7dc1f4[_0x59f527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a94f5=>_0x3a94f5[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x2a])))[_0x59f527([0x6d,0x61,0x70])](_0x1fc2f9=>_0x1fc2f9[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e])))[_0x59f527([0x73,0x6f,0x6d,0x65])](_0x3fcaf9=>_0x2e4ad3[_0x59f527([0x65,0x76,0x65,0x72,0x79])]((_0x5895af,_0x244caa)=>_0x3fcaf9[_0x244caa]===_0x5895af||_0x3fcaf9[_0x244caa]===_0x59f527([0x2a])));}function _0x226305(){return _0x32fef1&&_0x14fe28?new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48bbce,_0x83feef)=>{_0x32fef1[_0x59f527([0x74,0x68,0x65,0x6e])](_0x48bbce,_0x83feef),_0x14fe28[_0x59f527([0x74,0x68,0x65,0x6e])](_0x352f49=>{_0x352f49!=_0x59f527([0x56,0x61,0x6c,0x69,0x64])&&_0x48bbce(_0x352f49);},_0x83feef);}):_0x32fef1||_0x14fe28||_0x59f527([0x56,0x61,0x6c,0x69,0x64]);}}function _0x383420(_0x5b1428,_0x1b02bd){return new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22fe16=>{if(_0x59d859())return _0x22fe16(_0x59f527([0x56,0x61,0x6c,0x69,0x64]));_0x3332e8(),_0x2c6b28[_0x59f527([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c862c=!0x1;const _0x5d4906=_0x2f2d3a();function _0x536c03(_0x2c2fd5){return!!_0x2c2fd5&&(typeof _0x2c2fd5===_0x59f527([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c2fd5===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c2fd5[_0x59f527([0x74,0x68,0x65,0x6e])]===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c2fd5[_0x59f527([0x63,0x61,0x74,0x63,0x68])]===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b4b00(_0x2473aa){_0x5ed00d(_0x2473aa)[_0x59f527([0x74,0x68,0x65,0x6e])](_0x12fb79=>{if(!_0x12fb79||_0x12fb79[_0x59f527([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59f527([0x6f,0x6b]))return _0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27a444(_0x8df24d(_0x5d4906+_0x1b02bd))!=_0x12fb79[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59f527([0x56,0x61,0x6c,0x69,0x64]);})[_0x59f527([0x74,0x68,0x65,0x6e])](_0x2a4e66=>(_0xf5b9ef(),_0x2a4e66),()=>{const _0x44397c=_0x5267fa();return null==_0x44397c?(_0xf5b9ef(),_0x59f527([0x56,0x61,0x6c,0x69,0x64])):_0x59f527(_0x138cc9-_0x44397c>(0x7efbec78^_0x85016f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59f527([0x74,0x68,0x65,0x6e])](_0x22fe16)[_0x59f527([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5191fa=0x5ac186f8^_0x85016f;function _0xf5b9ef(){const _0x20c522=_0x59f527([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a444(_0x8df24d(_0x5b1428)),_0x5dae2a=_0x4264a9(_0x27a444(window[_0x59f527([0x4d,0x61,0x74,0x68])][_0x59f527([0x63,0x65,0x69,0x6c])](_0x138cc9/_0x5191fa)));window[_0x59f527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f527([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20c522,_0x5dae2a);}function _0x5267fa(){const _0x53ad02=_0x59f527([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a444(_0x8df24d(_0x5b1428)),_0x877459=window[_0x59f527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f527([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ad02);return _0x877459?window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4264a9(_0x877459),0x10)*_0x5191fa:null;}function _0x5ed00d(_0x3f49af){return new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362ef0,_0x20977d)=>{_0x3f49af[_0x59f527([0x74,0x68,0x65,0x6e])](_0x362ef0,_0x20977d),window[_0x59f527([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20977d,0x5af6bcb8^_0x85016f);});}}_0x2c6b28[_0x59f527([0x6f,0x6e])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29f0ec,_0x47642d)=>{if(_0x47642d[0x0]!=_0x5b1428)return _0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47642d[0x1]={..._0x47642d[0x1],[_0x59f527([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d4906};},{[_0x59f527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f527([0x68,0x69,0x67,0x68])}),_0x2c6b28[_0x59f527([0x6f,0x6e])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc270bd=>{_0x536c03(_0xc270bd[_0x59f527([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c862c=!0x0,_0x5b4b00(_0xc270bd[_0x59f527([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59f527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f527([0x6c,0x6f,0x77])}),_0x1dab2d[_0x59f527([0x74,0x68,0x65,0x6e])](()=>{_0x5c862c||_0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59d859(){return _0x2c6b28[_0x59f527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f527([0x76,0x69,0x65,0x77])][_0x59f527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59f527([0x61,0x75,0x74,0x6f]);}function _0x3332e8(){_0x2c6b28[_0x59f527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f527([0x76,0x69,0x65,0x77])][_0x59f527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59f527([0x61,0x75,0x74,0x6f]);}}function _0x36c8b(_0x2a5e06){const _0x12ae89=[new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11cb5d=>setTimeout(_0x11cb5d,0x5afe56b4^_0x85016f)),_0x1dab2d[_0x59f527([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x544a06=>{let _0xaed0d4=0x0;_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x6f,0x6e])](_0x59f527([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x303b45,_0x4b462c)=>{_0x4b462c[0x0][_0x59f527([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaed0d4++,_0xaed0d4==(0x5af76980^_0x85016f)&&(_0x544a06(),_0x303b45[_0x59f527([0x6f,0x66,0x66])]());});}))];return window[_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59f527([0x72,0x61,0x63,0x65])](_0x12ae89)[_0x59f527([0x74,0x68,0x65,0x6e])](()=>_0x2a5e06);}async function _0x1559e0(){await _0x1dab2d,_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x604006,_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x604006,_0x2c6b28[_0x59f527([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59f527([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53dc38(_0x523893){const _0x2a17ac=_0x3338b0();_0x2c6b28[_0x2a17ac]=_0x59f527([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x523893,_0x523893!=_0x59f527([0x56,0x61,0x6c,0x69,0x64])&&_0x1559e0();}function _0x3338b0(){const _0x1cd854=window[_0x59f527([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59f527([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59f527([0x6e,0x6f,0x77])]())[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59f527([0x2e]),'');let _0x545ee9=_0x59f527([0x64]);for(let _0x593ead=0x0;_0x593ead<_0x1cd854[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x593ead+=0x2){let _0x54b4b0=window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cd854[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593ead,_0x593ead+0x2));_0x54b4b0>=_0x384583[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54b4b0-=_0x384583[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x545ee9+=_0x384583[_0x54b4b0];}return _0x545ee9;}function _0x1bcdbb(){const _0x4cab1c=_0x1479a4[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e]));if(0x3!=_0x4cab1c[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfd3bc2(_0x4cab1c[0x1]);function _0xfd3bc2(_0x22141e){const _0x6506fa=_0x6b4fe6(_0x22141e);return _0x6506fa&&_0x20c5f3()?_0x6506fa:null;function _0x20c5f3(){const _0x506d40=_0x6506fa[_0x59f527([0x6a,0x74,0x69])],_0x6d4d5f=window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506d40[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x506d40[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27f507={..._0x6506fa,[_0x59f527([0x6a,0x74,0x69])]:_0x506d40[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x506d40[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27f507[_0x59f527([0x76,0x63])],_0x8df24d(_0x27f507)==_0x6d4d5f;}}}async function _0x1bdda0(){let _0x566211=!0x0;try{const _0x42d4a3=_0x1479a4[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e])),[_0x34317,_0x5a01d4,_0x2e7f9b]=_0x42d4a3;return _0x35030e(_0x34317),await _0x51e6d8(_0x34317,_0x5a01d4,_0x2e7f9b),_0x566211;}catch(_0x425517){return!0x1;}function _0x35030e(_0x2ee8c1){const _0x588717=_0x6b4fe6(_0x2ee8c1);_0x588717&&_0x588717[_0x59f527([0x61,0x6c,0x67])]==_0x59f527([0x45,0x53,0x32,0x35,0x36])||(_0x566211=!0x1);}async function _0x51e6d8(_0x2dbf41,_0x5da1c4,_0x499886){const _0x3ead85=window[_0x59f527([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59f527([0x66,0x72,0x6f,0x6d])](_0x34c47a(_0x499886),_0x1dc01d=>_0x1dc01d[_0x59f527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1552a3=new window[(_0x59f527([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59f527([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dbf41+_0x59f527([0x2e])+_0x5da1c4),_0xd6a428=window[_0x59f527([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59f527([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6a428)return;const _0x593b49=await _0xd6a428[_0x59f527([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59f527([0x6a,0x77,0x6b]),_0x4d416f,{[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x45,0x43,0x44,0x53,0x41]),[_0x59f527([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59f527([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6a428[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x45,0x43,0x44,0x53,0x41]),[_0x59f527([0x68,0x61,0x73,0x68])]:{[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x593b49,_0x3ead85,_0x1552a3)||(_0x566211=!0x1);}}function _0x6b4fe6(_0x5c4652){return _0x5c4652[_0x59f527([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59f527([0x65,0x79]))?JSON[_0x59f527([0x70,0x61,0x72,0x73,0x65])](_0x34c47a(_0x5c4652)):null;}function _0x34c47a(_0xe2f822){return window[_0x59f527([0x61,0x74,0x6f,0x62])](_0xe2f822[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59f527([0x2b]))[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59f527([0x2f])));}function _0x8df24d(_0x4f94c3){let _0x1d4295=0x1505;function _0x1a3902(_0x429716){for(let _0x416f3e=0x0;_0x416f3e<_0x429716[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x416f3e++){const _0x3de50f=_0x429716[_0x59f527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x416f3e);_0x1d4295=(_0x1d4295<<0x5)+_0x1d4295+_0x3de50f,_0x1d4295&=_0x1d4295;}}function _0x4779ca(_0xbd23e0){Array[_0x59f527([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbd23e0)?_0xbd23e0[_0x59f527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4779ca):_0xbd23e0&&typeof _0xbd23e0==_0x59f527([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59f527([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbd23e0)[_0x59f527([0x73,0x6f,0x72,0x74])]()[_0x59f527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x453f49,_0xa28ee6])=>{_0x1a3902(_0x453f49),_0x4779ca(_0xa28ee6);}):_0x1a3902(window[_0x59f527([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbd23e0));}return _0x4779ca(_0x4f94c3),_0x1d4295>>>0x0;}function _0x27a444(_0x2d24e8){return _0x2d24e8[_0x59f527([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59f527([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59f527([0x30]));}function _0x4264a9(_0x4cf73b){return _0x4cf73b[_0x59f527([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59f527([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59f527([0x6a,0x6f,0x69,0x6e])]('');}function _0x604006(){}function _0x59f527(_0x1b570e){const _0x378a5b=_0x5b36;return _0x1b570e[_0x378a5b(0x92)](_0x51ee2b=>String[_0x378a5b(0x88)](_0x51ee2b))[_0x378a5b(0x96)]('');}_0x53dc38(await _0x335787());}(this);}[_0x37f78f(0x9e)](){const _0x26213a=_0x37f78f,_0x3346f1=this[_0x26213a(0xb8)][_0x26213a(0x99)][_0x26213a(0x71)];_0x3346f1[_0x26213a(0x7b)](_0x26213a(0x84))&&_0x3346f1[_0x26213a(0x8d)](_0x26213a(0x84),{'allowAttributes':[_0x26213a(0xb1)]}),_0x3346f1[_0x26213a(0x7b)](_0x26213a(0xb7))&&_0x3346f1[_0x26213a(0x8d)](_0x26213a(0xb7),{'allowAttributes':[_0x26213a(0xb1)]});}[_0x37f78f(0x89)](){const _0x176693=_0x37f78f,_0x61bf36=this[_0x176693(0xb8)];_0x61bf36[_0x176693(0x6a)][_0x176693(0x94)](_0x176693(0x81))[_0x176693(0xae)]({'model':_0x176693(0xb1),'view':_0x176693(0xa8)}),_0x61bf36[_0x176693(0x6a)][_0x176693(0x94)](_0x176693(0x87))[_0x176693(0xa4)]({'model':{'key':_0x176693(0xb1),'value':_0x4d7d93=>_0x4d7d93[_0x176693(0xa9)](_0x176693(0xa8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5179d3=_0x61bf36[_0x176693(0x9b)][_0x176693(0x97)](_0x176693(0xa6));_0x5179d3&&this[_0x176693(0xb4)](_0x5179d3,_0x176693(0xbc),(_0x33c649,[_0x2d1b88,_0x4ea707])=>{const _0x7eee95=_0x176693;_0x2d1b88[_0x7eee95(0xb6)](_0x7eee95(0xb1),_0x4ea707);});}[_0x37f78f(0x8b)](){const _0x53bd8a=_0x37f78f,_0x304c7c=this[_0x53bd8a(0xb8)][_0x53bd8a(0x72)][_0x53bd8a(0x97)](_0x53bd8a(0xa3))||{},_0xaf662e=this[_0x53bd8a(0xb8)][_0x53bd8a(0x72)][_0x53bd8a(0x97)](_0x53bd8a(0x74))||'';this[_0x53bd8a(0x7f)]=_0x313eff(_0x4a9e06[_0x53bd8a(0x73)],_0x53bd8a(0x8f),{..._0x304c7c,'pubkey':_0xaf662e,'ctx-name':_0x53bd8a(0xad),'sourceList':'','imgOnly':_0x53bd8a(0x95),'removeCopyright':_0x53bd8a(0x95),'localeName':this[_0x53bd8a(0xb8)][_0x53bd8a(0x80)][_0x53bd8a(0x9c)],'externalSourcesEmbedCss':_0x53bd8a(0xa7)}),this[_0x53bd8a(0x7f)][_0x53bd8a(0xa0)]=_0x2ef0c5=>{const _0x365845=_0x53bd8a;if(_0x365845(0x8e)==_0x2ef0c5)return _0x365845(0x83);},_0x4a9e06[_0x53bd8a(0x73)][_0x53bd8a(0x7e)][_0x53bd8a(0x79)](this[_0x53bd8a(0x7f)]);}[_0x37f78f(0xb2)](){const _0x17f9ff=_0x37f78f;this[_0x17f9ff(0xb9)]=_0x313eff(_0x4a9e06[_0x17f9ff(0x73)],_0x17f9ff(0x8a),{'ctx-name':_0x17f9ff(0xad)}),_0x4a9e06[_0x17f9ff(0x73)][_0x17f9ff(0x7e)][_0x17f9ff(0x79)](this[_0x17f9ff(0xb9)]);}[_0x37f78f(0xa1)](){const _0x4ee460=_0x37f78f,_0x457115=this[_0x4ee460(0xb8)][_0x4ee460(0x9b)][_0x4ee460(0x97)](_0x4ee460(0x76));_0x457115&&this[_0x4ee460(0xb4)](_0x457115,_0x4ee460(0x69),()=>{const _0x4a0086=_0x4ee460,_0x2a815f=this[_0x4a0086(0xb8)][_0x4a0086(0x99)][_0x4a0086(0x73)][_0x4a0086(0x68)][_0x4a0086(0x8c)]();_0x2a815f&&_0x2a815f[_0x4a0086(0xa9)](_0x4a0086(0xb1))&&this[_0x4a0086(0xb8)][_0x4a0086(0x7a)][_0x4a0086(0x6f)][_0x4a0086(0xb5)](_0x4a0086(0x9d),()=>{const _0x39e22b=_0x4a0086;_0x5e8d06(this[_0x39e22b(0xb8)],_0x2a815f);});});const _0xb2b234=this[_0x4ee460(0xb8)][_0x4ee460(0x9b)][_0x4ee460(0x97)](_0x4ee460(0x78));_0xb2b234&&this[_0x4ee460(0xb4)](_0xb2b234,_0x4ee460(0x69),()=>{const _0x5e7ae7=_0x4ee460,_0x3bdae6=this[_0x5e7ae7(0xb8)][_0x5e7ae7(0x99)][_0x5e7ae7(0x73)][_0x5e7ae7(0x68)][_0x5e7ae7(0x8c)]();_0x3bdae6&&_0x3bdae6[_0x5e7ae7(0xa9)](_0x5e7ae7(0xb1))&&this[_0x5e7ae7(0xb8)][_0x5e7ae7(0x7a)][_0x5e7ae7(0x6f)][_0x5e7ae7(0xb5)](_0x5e7ae7(0x9d),()=>{const _0x399e9b=_0x5e7ae7;_0x5e8d06(this[_0x399e9b(0xb8)],_0x3bdae6);});});}}
23
+ const _0x2730c8=_0x3231;function _0x3231(_0x5b6bc6,_0x372d9a){const _0x5a1cba=_0x5a1c();return _0x3231=function(_0x323137,_0x26b715){_0x323137=_0x323137-0xbc;let _0x12ef6f=_0x5a1cba[_0x323137];return _0x12ef6f;},_0x3231(_0x5b6bc6,_0x372d9a);}function _0x5a1c(){const _0x4d51a4=['editor','replaceImageSource','PictureEditing','pluginName','closeMax','appendChild','input[uploadcare-file-input]','fromCharCode','extend','config','view','_initImageProcessingIndicator','listenTo','uc-config','uploader','_configElement','once','for','destroy','add','402882LeVtTj','removeAttribute','uploadcareImageReplace','imageBlock','1589CBVYLD','contentLanguage','_initSchema','data-uc-image-id','getAttribute','#uc-icon-arrow-down','remove','\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','init','cleanupImage','join','selection','execute','uploadcare','querySelector','commands','body','UploadcareEditing','elementToAttribute','uc-upload-ctx-provider','1358355DQToFn','iconHrefResolver','uploadcareImageId','_initCtx','21CWFuKa','_ctxElement','13166560xhEmLy','render','uploadcare.pubkey','isOfficialPlugin','get','ctxElement','imageInline','schema','insertImage','map','1868AHrqib','href','afterInit','upcast','locale','26724phUHje','9013824Metcah','_initConfig','configElement','_initConversion','model','requires','document','isPremiumPlugin','editing','isRegistered','true','conversion','downcast','uploadcare.uploader','attributeToAttribute','7997144PHKwHI','4235ceEApS','getSelectedElement'];_0x5a1c=function(){return _0x4d51a4;};return _0x5a1c();}(function(_0x4eb11c,_0x127b13){const _0x5c4910=_0x3231,_0x480f86=_0x4eb11c();while(!![]){try{const _0x5b7d25=-parseInt(_0x5c4910(0x108))/0x1+parseInt(_0x5c4910(0xf0))/0x2*(parseInt(_0x5c4910(0x10c))/0x3)+-parseInt(_0x5c4910(0xc4))/0x4*(-parseInt(_0x5c4910(0xda))/0x5)+-parseInt(_0x5c4910(0xc9))/0x6*(-parseInt(_0x5c4910(0xf4))/0x7)+-parseInt(_0x5c4910(0xd9))/0x8+-parseInt(_0x5c4910(0xca))/0x9+parseInt(_0x5c4910(0x10e))/0xa;if(_0x5b7d25===_0x127b13)break;else _0x480f86['push'](_0x480f86['shift']());}catch(_0x46832b){_0x480f86['push'](_0x480f86['shift']());}}}(_0x5a1c,0xbceb8));import{Plugin as _0x1fb71d}from'ckeditor5/src/core.js';import{Dialog as _0x513c38}from'ckeditor5/src/ui.js';import{createElement as _0x7e78ca,global as _0x413405,uid as _0x971b45}from'ckeditor5/src/utils.js';import _0x1f1544 from'./uploadcarecommand.js';import _0x570e80 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x27bfd4}from'./utils/editingutils.js';export default class i extends _0x1fb71d{constructor(){const _0x321485=_0x3231;super(...arguments),this[_0x321485(0xeb)]=null,this[_0x321485(0x10d)]=null;}static get[_0x2730c8(0xdf)](){const _0x2ca1fb=_0x2730c8;return _0x2ca1fb(0x105);}static get[_0x2730c8(0xcf)](){const _0x5bf817=_0x2730c8;return[_0x5bf817(0xde),_0x570e80,_0x513c38];}static get[_0x2730c8(0xbd)](){return!0x0;}static get[_0x2730c8(0xd1)](){return!0x0;}get[_0x2730c8(0xcc)](){const _0x41aae5=_0x2730c8;return this[_0x41aae5(0xeb)];}get[_0x2730c8(0xbf)](){const _0x2c6391=_0x2730c8;return this[_0x2c6391(0x10d)];}[_0x2730c8(0xfc)](){const _0x57aaeb=_0x2730c8,_0x42cfd7=this[_0x57aaeb(0xdc)];_0x42cfd7[_0x57aaeb(0x103)][_0x57aaeb(0xef)](_0x57aaeb(0x101),new _0x1f1544(_0x42cfd7));}[_0x2730c8(0xc6)](){const _0x1fe925=_0x2730c8;this[_0x1fe925(0xf6)](),this[_0x1fe925(0xcd)](),this[_0x1fe925(0xcb)](),this[_0x1fe925(0x10b)](),this[_0x1fe925(0xe7)](),this[_0x1fe925(0xe8)](this[_0x1fe925(0xdc)],_0x1fe925(0xee),()=>{const _0xee2f42=_0x1fe925;this[_0xee2f42(0xeb)]&&(this[_0xee2f42(0xeb)][_0xee2f42(0xfa)](),this[_0xee2f42(0xeb)]=null),this[_0xee2f42(0x10d)]&&(this[_0xee2f42(0x10d)][_0xee2f42(0xfa)](),this[_0xee2f42(0x10d)]=null);const _0x58c6b6=_0x413405[_0xee2f42(0xd0)][_0xee2f42(0x102)](_0xee2f42(0xe2));_0x58c6b6&&_0x58c6b6[_0xee2f42(0xfa)]();}),async function(_0x29a069){const _0xfc91a3=_0x17b669([0x39,0x30,0x76,0x35,0x70,0x50,0x4a,0x31,0x52,0x42,0x51,0x4f,0x63,0x69,0x6d,0x64,0x47,0x44,0x45,0x58,0x61,0x57,0x53,0x41,0x65,0x37,0x73,0x68,0x6e,0x6b,0x36,0x43,0x62,0x66,0x67,0x54,0x6a,0x4d,0x78,0x77,0x32,0x4c,0x55,0x74,0x49,0x48,0x79,0x6f,0x56,0x38,0x46,0x5a,0x34,0x4e,0x6c,0x59,0x4b,0x75,0x72,0x7a,0x71,0x33]),_0x1a7ada=0x46a5436f,_0x476913=0x46a21c5f^_0x1a7ada,_0x47314d=window[_0x17b669([0x44,0x61,0x74,0x65])][_0x17b669([0x6e,0x6f,0x77])](),_0x4b7478=_0x29a069[_0x17b669([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8a2516=new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22991a=>{_0x4b7478[_0x17b669([0x6f,0x6e,0x63,0x65])](_0x17b669([0x72,0x65,0x61,0x64,0x79]),_0x22991a);}),_0x6be273={[_0x17b669([0x6b,0x74,0x79])]:_0x17b669([0x45,0x43]),[_0x17b669([0x75,0x73,0x65])]:_0x17b669([0x73,0x69,0x67]),[_0x17b669([0x63,0x72,0x76])]:_0x17b669([0x50,0x2d,0x32,0x35,0x36]),[_0x17b669([0x78])]:_0x17b669([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]),[_0x17b669([0x79])]:_0x17b669([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]),[_0x17b669([0x61,0x6c,0x67])]:_0x17b669([0x45,0x53,0x32,0x35,0x36])},_0x3aca68=_0x4b7478[_0x17b669([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17b669([0x67,0x65,0x74])](_0x17b669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x291c09(){let _0x277923,_0x575628=null,_0x3e3867=null;try{if(_0x3aca68==_0x17b669([0x47,0x50,0x4c]))return _0x17b669([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x277923=_0xc4b07f(),!_0x277923)return _0x17b669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x277923[_0x17b669([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e3867=_0x561d3a(_0x277923[_0x17b669([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x277923[_0x17b669([0x6a,0x74,0x69])])),await _0x18a61c()?_0x45e269()?_0x37b806()?_0x17b669([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x390f72()?(_0x277923[_0x17b669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17b669([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x575628=_0x402c30(_0x17b669([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x277923[_0x17b669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17b669([0x74,0x72,0x69,0x61,0x6c])&&(_0x575628=_0x402c30(_0x17b669([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe7274f()):_0x17b669([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17b669([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17b669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c8ef0){return _0x17b669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37b806(){const _0x1bce8d=[_0x17b669([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17b669([0x74,0x72,0x69,0x61,0x6c])][_0x17b669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277923[_0x17b669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47314d/0x3e8:0xe10*_0x476913;return _0x277923[_0x17b669([0x65,0x78,0x70])]<_0x1bce8d;}function _0x45e269(){const _0x3ac988=_0x277923[_0x17b669([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ac988&&(!!_0x3ac988[_0x17b669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b669([0x2a]))||!!_0x3ac988[_0x17b669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b669([0x55,0x50,0x4c,0x43])));}function _0x390f72(){const _0x39f56a=_0x3231,_0x5b2459=_0x277923[_0x17b669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b2459||0x0==_0x5b2459[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc2ae3f}=new URL(window[_0x17b669([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39f56a(0xc5)]);if(_0x5b2459[_0x17b669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2ae3f))return!0x0;const _0x4a4ae4=_0xc2ae3f[_0x17b669([0x73,0x70,0x6c,0x69,0x74])](_0x17b669([0x2e]));return _0x5b2459[_0x17b669([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x363f24=>_0x363f24[_0x17b669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b669([0x2a])))[_0x17b669([0x6d,0x61,0x70])](_0x5a7ae3=>_0x5a7ae3[_0x17b669([0x73,0x70,0x6c,0x69,0x74])](_0x17b669([0x2e])))[_0x17b669([0x73,0x6f,0x6d,0x65])](_0x55784f=>_0x4a4ae4[_0x17b669([0x65,0x76,0x65,0x72,0x79])]((_0x1d2088,_0x327902)=>_0x55784f[_0x327902]===_0x1d2088||_0x55784f[_0x327902]===_0x17b669([0x2a])));}function _0xe7274f(){return _0x575628&&_0x3e3867?new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x132cce,_0x184988)=>{_0x575628[_0x17b669([0x74,0x68,0x65,0x6e])](_0x132cce,_0x184988),_0x3e3867[_0x17b669([0x74,0x68,0x65,0x6e])](_0x57d1a7=>{_0x57d1a7!=_0x17b669([0x56,0x61,0x6c,0x69,0x64])&&_0x132cce(_0x57d1a7);},_0x184988);}):_0x575628||_0x3e3867||_0x17b669([0x56,0x61,0x6c,0x69,0x64]);}}function _0x561d3a(_0x19756b,_0x28ff25){return new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cd845=>{if(_0x56dca2())return _0x5cd845(_0x17b669([0x56,0x61,0x6c,0x69,0x64]));_0x1d2d78(),_0x4b7478[_0x17b669([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17b669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29ab13=!0x1;const _0x510508=_0x971b45();function _0x4a97a9(_0x4afb4c){return!!_0x4afb4c&&(typeof _0x4afb4c===_0x17b669([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4afb4c===_0x17b669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4afb4c[_0x17b669([0x74,0x68,0x65,0x6e])]===_0x17b669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4afb4c[_0x17b669([0x63,0x61,0x74,0x63,0x68])]===_0x17b669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f18ef(_0x5aa33a){_0x438894(_0x5aa33a)[_0x17b669([0x74,0x68,0x65,0x6e])](_0x1c8976=>{if(!_0x1c8976||_0x1c8976[_0x17b669([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17b669([0x6f,0x6b]))return _0x17b669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b539b(_0x218469(_0x510508+_0x28ff25))!=_0x1c8976[_0x17b669([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17b669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17b669([0x56,0x61,0x6c,0x69,0x64]);})[_0x17b669([0x74,0x68,0x65,0x6e])](_0x414e12=>(_0x2e7f3d(),_0x414e12),()=>{const _0x35a85d=_0x3fe89a();return null==_0x35a85d?(_0x2e7f3d(),_0x17b669([0x56,0x61,0x6c,0x69,0x64])):_0x17b669(_0x47314d-_0x35a85d>(0x62a9c76f^_0x1a7ada)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17b669([0x74,0x68,0x65,0x6e])](_0x5cd845)[_0x17b669([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cd845(_0x17b669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55dddd=0x4693adef^_0x1a7ada;function _0x2e7f3d(){const _0x4c5b8d=_0x17b669([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b539b(_0x218469(_0x19756b)),_0x20642a=_0x22d398(_0x3b539b(window[_0x17b669([0x4d,0x61,0x74,0x68])][_0x17b669([0x63,0x65,0x69,0x6c])](_0x47314d/_0x55dddd)));window[_0x17b669([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17b669([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c5b8d,_0x20642a);}function _0x3fe89a(){const _0x1da7c5=_0x17b669([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b539b(_0x218469(_0x19756b)),_0x4e99a5=window[_0x17b669([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17b669([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1da7c5);return _0x4e99a5?window[_0x17b669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22d398(_0x4e99a5),0x10)*_0x55dddd:null;}function _0x438894(_0x2c8f3f){return new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xec652c,_0x37b7a2)=>{_0x2c8f3f[_0x17b669([0x74,0x68,0x65,0x6e])](_0xec652c,_0x37b7a2),window[_0x17b669([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37b7a2,0x46a497af^_0x1a7ada);});}}_0x4b7478[_0x17b669([0x6f,0x6e])](_0x17b669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fc1b4,_0x2a0fe8)=>{if(_0x2a0fe8[0x0]!=_0x19756b)return _0x5cd845(_0x17b669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a0fe8[0x1]={..._0x2a0fe8[0x1],[_0x17b669([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x510508};},{[_0x17b669([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17b669([0x68,0x69,0x67,0x68])}),_0x4b7478[_0x17b669([0x6f,0x6e])](_0x17b669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1839cd=>{_0x4a97a9(_0x1839cd[_0x17b669([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29ab13=!0x0,_0x4f18ef(_0x1839cd[_0x17b669([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17b669([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17b669([0x6c,0x6f,0x77])}),_0x8a2516[_0x17b669([0x74,0x68,0x65,0x6e])](()=>{_0x29ab13||_0x5cd845(_0x17b669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56dca2(){return _0x4b7478[_0x17b669([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17b669([0x76,0x69,0x65,0x77])][_0x17b669([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17b669([0x61,0x75,0x74,0x6f]);}function _0x1d2d78(){_0x4b7478[_0x17b669([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17b669([0x76,0x69,0x65,0x77])][_0x17b669([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17b669([0x61,0x75,0x74,0x6f]);}}function _0x402c30(_0x33de50){const _0xb71385=[new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cac9e=>setTimeout(_0x5cac9e,0x46ac7da3^_0x1a7ada)),_0x8a2516[_0x17b669([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c19e3=>{let _0x33ff49=0x0;_0x4b7478[_0x17b669([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b669([0x6f,0x6e])](_0x17b669([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d0997,_0x6adcf9)=>{_0x6adcf9[0x0][_0x17b669([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33ff49++,_0x33ff49==(0x46a54297^_0x1a7ada)&&(_0x3c19e3(),_0x3d0997[_0x17b669([0x6f,0x66,0x66])]());});}))];return window[_0x17b669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17b669([0x72,0x61,0x63,0x65])](_0xb71385)[_0x17b669([0x74,0x68,0x65,0x6e])](()=>_0x33de50);}async function _0x48f74a(){await _0x8a2516,_0x4b7478[_0x17b669([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b669([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2af67d,_0x4b7478[_0x17b669([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b669([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2af67d,_0x4b7478[_0x17b669([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17b669([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30c42c(_0x55f825){const _0x3abfb9=_0x2c74ec();_0x4b7478[_0x3abfb9]=_0x17b669([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55f825,_0x55f825!=_0x17b669([0x56,0x61,0x6c,0x69,0x64])&&_0x48f74a();}function _0x2c74ec(){const _0xb9172a=window[_0x17b669([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17b669([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17b669([0x6e,0x6f,0x77])]())[_0x17b669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17b669([0x2e]),'');let _0x11db40=_0x17b669([0x76]);for(let _0x4a5e20=0x0;_0x4a5e20<_0xb9172a[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a5e20+=0x2){let _0x1b2aaa=window[_0x17b669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb9172a[_0x17b669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5e20,_0x4a5e20+0x2));_0x1b2aaa>=_0xfc91a3[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b2aaa-=_0xfc91a3[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11db40+=_0xfc91a3[_0x1b2aaa];}return _0x11db40;}function _0xc4b07f(){const _0x11678e=_0x3aca68[_0x17b669([0x73,0x70,0x6c,0x69,0x74])](_0x17b669([0x2e]));if(0x3!=_0x11678e[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53988c(_0x11678e[0x1]);function _0x53988c(_0x32b17d){const _0x37a0b8=_0x5d79f5(_0x32b17d);return _0x37a0b8&&_0x13d38d()?_0x37a0b8:null;function _0x13d38d(){const _0x36111e=_0x37a0b8[_0x17b669([0x6a,0x74,0x69])],_0x343908=window[_0x17b669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36111e[_0x17b669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36111e[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e0c3f={..._0x37a0b8,[_0x17b669([0x6a,0x74,0x69])]:_0x36111e[_0x17b669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36111e[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e0c3f[_0x17b669([0x76,0x63])],_0x218469(_0x1e0c3f)==_0x343908;}}}async function _0x18a61c(){let _0x283565=!0x0;try{const _0x287f01=_0x3aca68[_0x17b669([0x73,0x70,0x6c,0x69,0x74])](_0x17b669([0x2e])),[_0x30a66a,_0x210906,_0x53634b]=_0x287f01;return _0x530476(_0x30a66a),await _0x1db4d7(_0x30a66a,_0x210906,_0x53634b),_0x283565;}catch(_0x4849a8){return!0x1;}function _0x530476(_0x29369){const _0x4e388d=_0x5d79f5(_0x29369);_0x4e388d&&_0x4e388d[_0x17b669([0x61,0x6c,0x67])]==_0x17b669([0x45,0x53,0x32,0x35,0x36])||(_0x283565=!0x1);}async function _0x1db4d7(_0x20a321,_0x266cf3,_0x1a4ae0){const _0x24f716=window[_0x17b669([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17b669([0x66,0x72,0x6f,0x6d])](_0x1e11e0(_0x1a4ae0),_0x378237=>_0x378237[_0x17b669([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18e4f5=new window[(_0x17b669([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17b669([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20a321+_0x17b669([0x2e])+_0x266cf3),_0x26fcce=window[_0x17b669([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17b669([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26fcce)return;const _0x5c6850=await _0x26fcce[_0x17b669([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17b669([0x6a,0x77,0x6b]),_0x6be273,{[_0x17b669([0x6e,0x61,0x6d,0x65])]:_0x17b669([0x45,0x43,0x44,0x53,0x41]),[_0x17b669([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17b669([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17b669([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26fcce[_0x17b669([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17b669([0x6e,0x61,0x6d,0x65])]:_0x17b669([0x45,0x43,0x44,0x53,0x41]),[_0x17b669([0x68,0x61,0x73,0x68])]:{[_0x17b669([0x6e,0x61,0x6d,0x65])]:_0x17b669([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c6850,_0x24f716,_0x18e4f5)||(_0x283565=!0x1);}}function _0x5d79f5(_0x3280e6){return _0x3280e6[_0x17b669([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17b669([0x65,0x79]))?JSON[_0x17b669([0x70,0x61,0x72,0x73,0x65])](_0x1e11e0(_0x3280e6)):null;}function _0x1e11e0(_0x2dbb28){return window[_0x17b669([0x61,0x74,0x6f,0x62])](_0x2dbb28[_0x17b669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17b669([0x2b]))[_0x17b669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17b669([0x2f])));}function _0x218469(_0x1d6a4c){let _0x24c7db=0x1505;function _0x339502(_0x46b4c7){for(let _0x66fb15=0x0;_0x66fb15<_0x46b4c7[_0x17b669([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x66fb15++){const _0x5bd077=_0x46b4c7[_0x17b669([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x66fb15);_0x24c7db=(_0x24c7db<<0x5)+_0x24c7db+_0x5bd077,_0x24c7db&=_0x24c7db;}}function _0x18e37d(_0x6973e4){Array[_0x17b669([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6973e4)?_0x6973e4[_0x17b669([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18e37d):_0x6973e4&&typeof _0x6973e4==_0x17b669([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17b669([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6973e4)[_0x17b669([0x73,0x6f,0x72,0x74])]()[_0x17b669([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d912e,_0x360c72])=>{_0x339502(_0x1d912e),_0x18e37d(_0x360c72);}):_0x339502(window[_0x17b669([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6973e4));}return _0x18e37d(_0x1d6a4c),_0x24c7db>>>0x0;}function _0x3b539b(_0x339b94){return _0x339b94[_0x17b669([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17b669([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17b669([0x30]));}function _0x22d398(_0x21f4b8){return _0x21f4b8[_0x17b669([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17b669([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17b669([0x6a,0x6f,0x69,0x6e])]('');}function _0x2af67d(){}function _0x17b669(_0x46fb4e){const _0x398dc0=_0x3231;return _0x46fb4e[_0x398dc0(0xc3)](_0xa8b475=>String[_0x398dc0(0xe3)](_0xa8b475))[_0x398dc0(0xfe)]('');}_0x30c42c(await _0x291c09());}(this);}[_0x2730c8(0xf6)](){const _0x5e92e6=_0x2730c8,_0x18cb64=this[_0x5e92e6(0xdc)][_0x5e92e6(0xce)][_0x5e92e6(0xc1)];_0x18cb64[_0x5e92e6(0xd3)](_0x5e92e6(0xf3))&&_0x18cb64[_0x5e92e6(0xe4)](_0x5e92e6(0xf3),{'allowAttributes':[_0x5e92e6(0x10a)]}),_0x18cb64[_0x5e92e6(0xd3)](_0x5e92e6(0xc0))&&_0x18cb64[_0x5e92e6(0xe4)](_0x5e92e6(0xc0),{'allowAttributes':[_0x5e92e6(0x10a)]});}[_0x2730c8(0xcd)](){const _0x228786=_0x2730c8,_0x2df77e=this[_0x228786(0xdc)];_0x2df77e[_0x228786(0xd5)][_0x228786(0xed)](_0x228786(0xd6))[_0x228786(0xd8)]({'model':_0x228786(0x10a),'view':_0x228786(0xf7)}),_0x2df77e[_0x228786(0xd5)][_0x228786(0xed)](_0x228786(0xc7))[_0x228786(0x106)]({'model':{'key':_0x228786(0x10a),'value':_0x3504d1=>_0x3504d1[_0x228786(0xf8)](_0x228786(0xf7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2de018=_0x2df77e[_0x228786(0x103)][_0x228786(0xbe)](_0x228786(0xdd));_0x2de018&&this[_0x228786(0xe8)](_0x2de018,_0x228786(0xfd),(_0x1d81ed,[_0x309463,_0x42e973])=>{const _0x39c004=_0x228786;_0x309463[_0x39c004(0xf1)](_0x39c004(0x10a),_0x42e973);});}[_0x2730c8(0xcb)](){const _0x4ee888=_0x2730c8,_0x407e4d=this[_0x4ee888(0xdc)][_0x4ee888(0xe5)][_0x4ee888(0xbe)](_0x4ee888(0xd7))||{},_0x2035f3=this[_0x4ee888(0xdc)][_0x4ee888(0xe5)][_0x4ee888(0xbe)](_0x4ee888(0xbc))||'';this[_0x4ee888(0xeb)]=_0x7e78ca(_0x413405[_0x4ee888(0xd0)],_0x4ee888(0xe9),{..._0x407e4d,'pubkey':_0x2035f3,'ctx-name':_0x4ee888(0xea),'sourceList':'','imgOnly':_0x4ee888(0xd4),'removeCopyright':_0x4ee888(0xd4),'localeName':this[_0x4ee888(0xdc)][_0x4ee888(0xc8)][_0x4ee888(0xf5)],'externalSourcesEmbedCss':_0x4ee888(0xfb)}),this[_0x4ee888(0xeb)][_0x4ee888(0x109)]=_0x5c45c1=>{const _0x452a05=_0x4ee888;if(_0x452a05(0xe0)==_0x5c45c1)return _0x452a05(0xf9);},_0x413405[_0x4ee888(0xd0)][_0x4ee888(0x104)][_0x4ee888(0xe1)](this[_0x4ee888(0xeb)]);}[_0x2730c8(0x10b)](){const _0xd9310c=_0x2730c8;this[_0xd9310c(0x10d)]=_0x7e78ca(_0x413405[_0xd9310c(0xd0)],_0xd9310c(0x107),{'ctx-name':_0xd9310c(0xea)}),_0x413405[_0xd9310c(0xd0)][_0xd9310c(0x104)][_0xd9310c(0xe1)](this[_0xd9310c(0x10d)]);}[_0x2730c8(0xe7)](){const _0x391ddb=_0x2730c8,_0x211040=this[_0x391ddb(0xdc)][_0x391ddb(0x103)][_0x391ddb(0xbe)](_0x391ddb(0xc2));_0x211040&&this[_0x391ddb(0xe8)](_0x211040,_0x391ddb(0x100),()=>{const _0x37d7eb=_0x391ddb,_0x552965=this[_0x37d7eb(0xdc)][_0x37d7eb(0xce)][_0x37d7eb(0xd0)][_0x37d7eb(0xff)][_0x37d7eb(0xdb)]();_0x552965&&_0x552965[_0x37d7eb(0xf8)](_0x37d7eb(0x10a))&&this[_0x37d7eb(0xdc)][_0x37d7eb(0xd2)][_0x37d7eb(0xe6)][_0x37d7eb(0xec)](_0x37d7eb(0x10f),()=>{const _0x40d322=_0x37d7eb;_0x27bfd4(this[_0x40d322(0xdc)],_0x552965);});});const _0x459138=this[_0x391ddb(0xdc)][_0x391ddb(0x103)][_0x391ddb(0xbe)](_0x391ddb(0xf2));_0x459138&&this[_0x391ddb(0xe8)](_0x459138,_0x391ddb(0x100),()=>{const _0x2b80fb=_0x391ddb,_0x3e01af=this[_0x2b80fb(0xdc)][_0x2b80fb(0xce)][_0x2b80fb(0xd0)][_0x2b80fb(0xff)][_0x2b80fb(0xdb)]();_0x3e01af&&_0x3e01af[_0x2b80fb(0xf8)](_0x2b80fb(0x10a))&&this[_0x2b80fb(0xdc)][_0x2b80fb(0xd2)][_0x2b80fb(0xe6)][_0x2b80fb(0xec)](_0x2b80fb(0x10f),()=>{const _0xc9b41e=_0x2b80fb;_0x27bfd4(this[_0xc9b41e(0xdc)],_0x3e01af);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x490785,ObservableMixin as _0x178dbd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x38b473}from'ckeditor5/src/ui.js';import _0x3c9ab5 from'./uploadcareimageeditformview.js';import _0x47990c from'../../utils/uploadutils.js';import _0x24bf97 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2e11cc,getImageDimension as _0x1905f0}from'../../utils/editingutils.js';import{isAncestor as _0x3b55af}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x178dbd(){constructor(_0x48549d,_0x283bda,_0x20814e){super(),this['_editor']=_0x48549d,this['_dialog']=_0x283bda,this['_imageElement']=_0x20814e,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 _0x26872c=this['_imageElement'],_0x3c07a8=_0x26872c['getAttribute']('uploadcareImageId'),_0x2faa3e=_0x26872c['getAttribute']('src');if(_0x3c07a8)await this['_loadImageInfo'](_0x3c07a8,_0x2faa3e);else{if(this['_imageCache']['has'](_0x2faa3e)){const _0x4cdb77=this['_imageCache']['get'](_0x2faa3e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cdb77['url'],this['imageDimension']=_0x4cdb77['dimension'],this['imageId']=_0x4cdb77['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dcb4f}=this['_editor'],t=_0x4dcb4f['t'],_0xb5aaa3=new _0x3c9ab5(_0x4dcb4f,this['imageStatus'],this['_attributes']);_0xb5aaa3['bind']('status')['to'](this,'imageStatus'),_0xb5aaa3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb5aaa3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb5aaa3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb5aaa3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24bf97,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb5aaa3,'position':_0x38b473['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb5aaa3['focus']();},'onHide':()=>{_0xb5aaa3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x414c5b=>!_0x3b55af(_0x414c5b,_0xb5aaa3['element'])}});}['_loadImageInfo'](_0x576cdf,_0x496779){return _0x47990c['getInfo'](_0x576cdf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ccf73=>{const {width:_0x59dced,height:_0x5d642b}=_0x4ccf73['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x496779,this['imageDimension']={'width':_0x59dced,'height':_0x5d642b},this['imageId']=_0x576cdf;})['catch'](_0x3a8e5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a8e5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7a8fd7,_0x1a2060){return this['_getImageAsFile'](_0x7a8fd7)['then'](_0x56d672=>_0x47990c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1a2060['signal'],'file':_0x56d672,'onProgress':_0xaea9b2=>{_0xaea9b2&&_0xaea9b2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xaea9b2['value']));}}))['then'](_0x5d267b=>{const {width:_0x3f4df4,height:_0xd76af8}=_0x5d267b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d267b['cdnUrl'],this['imageDimension']={'width':_0x3f4df4,'height':_0xd76af8},this['imageId']=_0x5d267b['uuid'],this['imageUploadProgress']=null;const _0x3bc743=_0x7a8fd7['getAttribute']('src');this['_imageCache']['set'](_0x3bc743,{'id':_0x5d267b['uuid'],'url':_0x5d267b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1f7e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1f7e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x35fb86,_0x26927c){_0x35fb86['on']('apply',(_0x347c38,_0x5d561d)=>{this['_replaceImage'](_0x26927c,_0x5d561d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35fb86['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35fb86['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x103730,_0x49140d,_0x475738){const _0x54a272=this['_editor'],{width:_0x4fe826,height:_0x3220e7}=_0x1905f0(_0x49140d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x36af80,imageSources:_0x2ab954}=_0x2e11cc(_0x49140d,_0x4fe826);_0x54a272['model']['change'](_0x28283c=>{if('$graveyard'===_0x103730['root']['rootName']){_0x54a272['execute']('insertImage',{'imageType':_0x103730['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7}});const _0x398e48=_0x103730['getChildren']();_0x103730=_0x54a272['model']['document']['selection']['getSelectedElement']();for(const _0x160cbf of _0x398e48)_0x28283c['append'](_0x28283c['cloneElement'](_0x160cbf),_0x103730);}else _0x28283c['setSelection'](_0x103730,'on'),_0x54a272['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7},_0x103730);_0x28283c['setSelection'](_0x103730,'on');});}async['_getImageAsFile'](_0x516cbe){const _0x28113d=_0x490785['window'],_0x256770=_0x490785['document']['location']['href'],_0x1e3c48=new _0x28113d['URL'](_0x516cbe['getAttribute']('src'),_0x256770);if('data:'===_0x1e3c48['protocol']){const _0x599edf=_0x1e3c48['href']['split'](','),_0x47bde5=_0x599edf[0x0]['match'](/:(.*?);/)[0x1],_0x3c9f6e=_0x47bde5['split']('/')[0x1],_0x370b65=_0x28113d['atob'](_0x599edf[_0x599edf['length']-0x1]);let _0x443118=_0x370b65['length'];const _0x20bf23=new _0x28113d['Uint8Array'](_0x443118);for(;_0x443118--;)_0x20bf23[_0x443118]=_0x370b65['charCodeAt'](_0x443118);return new _0x28113d['File']([_0x20bf23],'image.'+_0x3c9f6e,{'type':_0x47bde5});}const _0xc53da7=_0x1e3c48['href']['split']('/'),_0xf98672=_0xc53da7[_0xc53da7['length']-0x1],_0x4e169c=_0xf98672['split']('.')[0x1];return _0x28113d['fetch'](_0x1e3c48['href'])['then'](_0x3c5bc5=>_0x3c5bc5['clone']()['blob']())['then'](_0x33e9de=>new _0x28113d['File']([_0x33e9de],_0xf98672,{'type':'image/'+_0x4e169c}));}}
23
+ import{global as _0x516574,ObservableMixin as _0x256511}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x30340e}from'ckeditor5/src/ui.js';import _0x484ae4 from'./uploadcareimageeditformview.js';import _0x33add3 from'../../utils/uploadutils.js';import _0x4a579f from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x30d9dd,getImageDimension as _0x8b00f1}from'../../utils/editingutils.js';import{isAncestor as _0x5fd16e}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x256511(){constructor(_0x5b25b1,_0x23333f,_0x59d4d2){super(),this['_editor']=_0x5b25b1,this['_dialog']=_0x23333f,this['_imageElement']=_0x59d4d2,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 _0x5c0dd8=this['_imageElement'],_0x4492b9=_0x5c0dd8['getAttribute']('uploadcareImageId'),_0x571ea7=_0x5c0dd8['getAttribute']('src');if(_0x4492b9)await this['_loadImageInfo'](_0x4492b9,_0x571ea7);else{if(this['_imageCache']['has'](_0x571ea7)){const _0xf2dcf8=this['_imageCache']['get'](_0x571ea7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf2dcf8['url'],this['imageDimension']=_0xf2dcf8['dimension'],this['imageId']=_0xf2dcf8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e9ec4}=this['_editor'],t=_0x4e9ec4['t'],_0x4b6d12=new _0x484ae4(_0x4e9ec4,this['imageStatus'],this['_attributes']);_0x4b6d12['bind']('status')['to'](this,'imageStatus'),_0x4b6d12['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4b6d12['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4b6d12['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4b6d12,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a579f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4b6d12,'position':_0x30340e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4b6d12['focus']();},'onHide':()=>{_0x4b6d12['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53a34e=>!_0x5fd16e(_0x53a34e,_0x4b6d12['element'])}});}['_loadImageInfo'](_0x38305a,_0x17cd6e){return _0x33add3['getInfo'](_0x38305a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5a49be=>{const {width:_0x19e9e0,height:_0x5b8aa2}=_0x5a49be['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17cd6e,this['imageDimension']={'width':_0x19e9e0,'height':_0x5b8aa2},this['imageId']=_0x38305a;})['catch'](_0x423b7c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x423b7c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2064e8,_0x1116ac){return this['_getImageAsFile'](_0x2064e8)['then'](_0x460ffa=>_0x33add3['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1116ac['signal'],'file':_0x460ffa,'onProgress':_0x32256c=>{_0x32256c&&_0x32256c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x32256c['value']));}}))['then'](_0x5e3fef=>{const {width:_0x57b2c6,height:_0x32e313}=_0x5e3fef['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e3fef['cdnUrl'],this['imageDimension']={'width':_0x57b2c6,'height':_0x32e313},this['imageId']=_0x5e3fef['uuid'],this['imageUploadProgress']=null;const _0x51af45=_0x2064e8['getAttribute']('src');this['_imageCache']['set'](_0x51af45,{'id':_0x5e3fef['uuid'],'url':_0x5e3fef['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4a33ec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4a33ec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x457135,_0x4c7349){_0x457135['on']('apply',(_0x378c4f,_0x150500)=>{this['_replaceImage'](_0x4c7349,_0x150500['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x457135['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x457135['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xb2105e,_0x3a2e3b,_0x31cc75){const _0x27c124=this['_editor'],{width:_0x1401cd,height:_0x3d96a4}=_0x8b00f1(_0x3a2e3b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1fe590,imageSources:_0x27921e}=_0x30d9dd(_0x3a2e3b,_0x1401cd);_0x27c124['model']['change'](_0x121c91=>{if('$graveyard'===_0xb2105e['root']['rootName']){_0x27c124['execute']('insertImage',{'imageType':_0xb2105e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xb2105e['getAttributes']()),'uploadcareImageId':_0x31cc75,'src':_0x1fe590,'sources':_0x27921e,'width':_0x1401cd,'height':_0x3d96a4}});const _0x302033=_0xb2105e['getChildren']();_0xb2105e=_0x27c124['model']['document']['selection']['getSelectedElement']();for(const _0x6cd152 of _0x302033)_0x121c91['append'](_0x121c91['cloneElement'](_0x6cd152),_0xb2105e);}else _0x121c91['setSelection'](_0xb2105e,'on'),_0x27c124['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xb2105e['getAttributes']()),'uploadcareImageId':_0x31cc75,'src':_0x1fe590,'sources':_0x27921e,'width':_0x1401cd,'height':_0x3d96a4},_0xb2105e);_0x121c91['setSelection'](_0xb2105e,'on');});}async['_getImageAsFile'](_0x38c879){const _0x86762c=_0x516574['window'],_0x5021d9=_0x516574['document']['location']['href'],_0x5a4ed3=new _0x86762c['URL'](_0x38c879['getAttribute']('src'),_0x5021d9);if('data:'===_0x5a4ed3['protocol']){const _0x1cdd46=_0x5a4ed3['href']['split'](','),_0x5040a6=_0x1cdd46[0x0]['match'](/:(.*?);/)[0x1],_0x2d2652=_0x5040a6['split']('/')[0x1],_0x5b38f7=_0x86762c['atob'](_0x1cdd46[_0x1cdd46['length']-0x1]);let _0x4e639f=_0x5b38f7['length'];const _0x27c797=new _0x86762c['Uint8Array'](_0x4e639f);for(;_0x4e639f--;)_0x27c797[_0x4e639f]=_0x5b38f7['charCodeAt'](_0x4e639f);return new _0x86762c['File']([_0x27c797],'image.'+_0x2d2652,{'type':_0x5040a6});}const _0x4ee6fe=_0x5a4ed3['href']['split']('/'),_0x5ad8ba=_0x4ee6fe[_0x4ee6fe['length']-0x1],_0x154432=_0x5ad8ba['split']('.')[0x1];return _0x86762c['fetch'](_0x5a4ed3['href'])['then'](_0x22f2bc=>_0x22f2bc['clone']()['blob']())['then'](_0x502912=>new _0x86762c['File']([_0x502912],_0x5ad8ba,{'type':'image/'+_0x154432}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bed(_0xdb2450,_0x211f99){const _0x27e5a5=_0x27e5();return _0x3bed=function(_0x3bedfc,_0x32d2fd){_0x3bedfc=_0x3bedfc-0x18c;let _0x2ca47f=_0x27e5a5[_0x3bedfc];return _0x2ca47f;},_0x3bed(_0xdb2450,_0x211f99);}(function(_0x306267,_0x28d022){const _0x5228af=_0x3bed,_0x30d822=_0x306267();while(!![]){try{const _0x1c43cc=-parseInt(_0x5228af(0x196))/0x1*(parseInt(_0x5228af(0x199))/0x2)+parseInt(_0x5228af(0x195))/0x3+-parseInt(_0x5228af(0x198))/0x4*(parseInt(_0x5228af(0x197))/0x5)+parseInt(_0x5228af(0x18d))/0x6*(parseInt(_0x5228af(0x18c))/0x7)+parseInt(_0x5228af(0x190))/0x8+-parseInt(_0x5228af(0x18f))/0x9+-parseInt(_0x5228af(0x19a))/0xa;if(_0x1c43cc===_0x28d022)break;else _0x30d822['push'](_0x30d822['shift']());}catch(_0x1d3048){_0x30d822['push'](_0x30d822['shift']());}}}(_0x27e5,0x67797));import{View as _0x242310}from'ckeditor5/src/ui.js';function _0x27e5(){const _0x20a623=['5162832osDzkX','ck-uploadcare-theme','uc-cloud-image-editor','imageSrc','bindTemplate','1264209aMRFZU','1AwuYlY','8485ZBPZYU','600NCYUQE','1620006MMYkuQ','2584710rBcWZP','image-edit','uc-light','set','7aAxYMV','5034006IKUOha','setTemplate','1430127yujOfo'];_0x27e5=function(){return _0x20a623;};return _0x27e5();}export default class tt extends _0x242310{constructor(_0x137fad,_0x2dd416){const _0x1d5fa9=_0x3bed;super(_0x137fad);const _0x415a78=this[_0x1d5fa9(0x194)];this[_0x1d5fa9(0x19d)](_0x1d5fa9(0x193),''),this[_0x1d5fa9(0x18e)]({'tag':_0x1d5fa9(0x192),'attributes':{..._0x2dd416,'class':[_0x1d5fa9(0x19c),_0x1d5fa9(0x191)],'ctx-name':_0x1d5fa9(0x19b),'cdn-url':_0x415a78['to'](_0x1d5fa9(0x193))}});}}
23
+ (function(_0x2f2628,_0x5db83d){const _0xe9ce60=_0x2ee1,_0x1f7b34=_0x2f2628();while(!![]){try{const _0xa674f8=-parseInt(_0xe9ce60(0x10d))/0x1+parseInt(_0xe9ce60(0x113))/0x2*(-parseInt(_0xe9ce60(0x11b))/0x3)+parseInt(_0xe9ce60(0x114))/0x4*(parseInt(_0xe9ce60(0x11d))/0x5)+-parseInt(_0xe9ce60(0x11f))/0x6*(-parseInt(_0xe9ce60(0x119))/0x7)+-parseInt(_0xe9ce60(0x116))/0x8*(parseInt(_0xe9ce60(0x11a))/0x9)+-parseInt(_0xe9ce60(0x118))/0xa+parseInt(_0xe9ce60(0x10f))/0xb;if(_0xa674f8===_0x5db83d)break;else _0x1f7b34['push'](_0x1f7b34['shift']());}catch(_0x2b3ad6){_0x1f7b34['push'](_0x1f7b34['shift']());}}}(_0xd2c1,0x3cb87));function _0x2ee1(_0x5cbe06,_0x1ac93b){const _0xd2c1f3=_0xd2c1();return _0x2ee1=function(_0x2ee166,_0xe447d9){_0x2ee166=_0x2ee166-0x10d;let _0x1065eb=_0xd2c1f3[_0x2ee166];return _0x1065eb;},_0x2ee1(_0x5cbe06,_0x1ac93b);}function _0xd2c1(){const _0x22c43a=['ck-uploadcare-theme','10721667NSbdHu','uc-cloud-image-editor','set','bindTemplate','1028HcGnmm','114404GXcNuU','setTemplate','8LhqVyp','imageSrc','3624240wHryVu','148589MENaBy','3712077WvAQSy','1992sLhtiu','uc-light','20McRIto','image-edit','102TyOtxE','85076iJIpLe'];_0xd2c1=function(){return _0x22c43a;};return _0xd2c1();}import{View as _0x489fa2}from'ckeditor5/src/ui.js';export default class tt extends _0x489fa2{constructor(_0x1f1b39,_0x4ebfa6){const _0x7371c6=_0x2ee1;super(_0x1f1b39);const _0xa8ffd1=this[_0x7371c6(0x112)];this[_0x7371c6(0x111)](_0x7371c6(0x117),''),this[_0x7371c6(0x115)]({'tag':_0x7371c6(0x110),'attributes':{..._0x4ebfa6,'class':[_0x7371c6(0x11c),_0x7371c6(0x10e)],'ctx-name':_0x7371c6(0x11e),'cdn-url':_0xa8ffd1['to'](_0x7371c6(0x117))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x200d3c,IconView as et,View as _0x5ae5c0}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5ae5c0{constructor(_0x42b6be){super(_0x42b6be);const t=_0x42b6be['t'];this['set']('errorType',null);const _0x174af7=new _0x200d3c(_0x42b6be);_0x174af7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x174af7['withText']=!0x0,_0x174af7['class']='ck-button-action',_0x174af7['on']('execute',()=>{this['fire']('retry');}),_0x174af7['bind']('isVisible')['to'](this,'errorType',_0x1fe47f=>'NotFound'!==_0x1fe47f);const _0x265aea=new et();_0x265aea['content']=at,_0x265aea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59905d=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':[_0x265aea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59905d['to']('errorType',_0x257f4f=>t('NotFound'!==_0x257f4f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x174af7]},{'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 _0x1069ac,IconView as et,View as _0x1bcf7f}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x1bcf7f{constructor(_0xd6843c){super(_0xd6843c);const t=_0xd6843c['t'];this['set']('errorType',null);const _0x2a6b5e=new _0x1069ac(_0xd6843c);_0x2a6b5e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a6b5e['withText']=!0x0,_0x2a6b5e['class']='ck-button-action',_0x2a6b5e['on']('execute',()=>{this['fire']('retry');}),_0x2a6b5e['bind']('isVisible')['to'](this,'errorType',_0x301624=>'NotFound'!==_0x301624);const _0x49745=new et();_0x49745['content']=at,_0x49745['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x42fc45=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':[_0x49745,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x42fc45['to']('errorType',_0xf33d3f=>t('NotFound'!==_0xf33d3f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a6b5e]},{'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 _0x1fb90a,View as _0xc91530}from'ckeditor5/src/ui.js';export default class ta extends _0xc91530{constructor(_0x4689ac){super(_0x4689ac);const t=_0x4689ac['t'],_0x518bd9=this['bindTemplate'],_0x1893c5=new _0x1fb90a();_0x1893c5['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':[_0x1893c5,{'text':_0x518bd9['to']('imageUploadProgress',_0x1944e3=>t('Loading\x20image...')+'\x20('+(_0x1944e3||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 _0x4f5456,View as _0x4dbf34}from'ckeditor5/src/ui.js';export default class ta extends _0x4dbf34{constructor(_0xa79560){super(_0xa79560);const t=_0xa79560['t'],_0x25eb8c=this['bindTemplate'],_0x29f987=new _0x4f5456();_0x29f987['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':[_0x29f987,{'text':_0x25eb8c['to']('imageUploadProgress',_0x5d69a1=>t('Loading\x20image...')+'\x20('+(_0x5d69a1||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac238=_0x3001;(function(_0x4de030,_0x41a13d){const _0x209cd2=_0x3001,_0x34b38f=_0x4de030();while(!![]){try{const _0x14599b=-parseInt(_0x209cd2(0x19d))/0x1*(-parseInt(_0x209cd2(0x1a0))/0x2)+parseInt(_0x209cd2(0x173))/0x3*(-parseInt(_0x209cd2(0x17f))/0x4)+-parseInt(_0x209cd2(0x17b))/0x5+-parseInt(_0x209cd2(0x193))/0x6*(parseInt(_0x209cd2(0x18a))/0x7)+-parseInt(_0x209cd2(0x184))/0x8*(parseInt(_0x209cd2(0x18e))/0x9)+-parseInt(_0x209cd2(0x171))/0xa*(parseInt(_0x209cd2(0x195))/0xb)+-parseInt(_0x209cd2(0x188))/0xc*(-parseInt(_0x209cd2(0x18c))/0xd);if(_0x14599b===_0x41a13d)break;else _0x34b38f['push'](_0x34b38f['shift']());}catch(_0x454f5c){_0x34b38f['push'](_0x34b38f['shift']());}}}(_0x156a,0x4a277));function _0x3001(_0x27aa98,_0x2c6f76){const _0x156adf=_0x156a();return _0x3001=function(_0x3001ef,_0x25efa7){_0x3001ef=_0x3001ef-0x170;let _0x505cf6=_0x156adf[_0x3001ef];return _0x505cf6;},_0x3001(_0x27aa98,_0x2c6f76);}import{View as _0x420472}from'ckeditor5/src/ui.js';import _0x2e4d9e from'./uploadcareimageeditformloadingview.js';import _0x2e13db from'./uploadcareimageeditformerrorview.js';import _0x206b11 from'./uploadcareimageeditformeditingview.js';function _0x156a(){const _0x45e85d=['addMany','ck-uploadcare-form','disconnect','_items','filter','ck-reset_all-excluded','div','ready','40360xeGdUz','focus','529953EopcMi','nodeName','cancel','addEventListener','_waitForImageEditorComponent','error','fire','addedNodes','2611280gZhHnH','length','status','add','12ZhgGIE','retry','_addUploadcareImageEditorListeners','uploading','_errorView','789592VqUonu','render','clear','once','27479076KoVgHF','createCollection','7MvWcBM','target','13CAyMSE','_editingView','45eMQZzp','change:status','apply','element','observe','2228988RCUZfK','cdnUrl','242lDBYkw','_setView','setTemplate','set','getFocusableElement','_addErrorViewListeners','querySelector','toLowerCase','9903XLiuyb','_focusableView','detail','4MedLGT','uc-cloud-image-editor','_loadingView'];_0x156a=function(){return _0x45e85d;};return _0x156a();}import _0x40a5a3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x40a5a3{constructor(_0x24bd1c,_0x858f31,_0x380029){const _0x5462b5=_0x3001;super(_0x24bd1c),this[_0x5462b5(0x1a6)]=this[_0x5462b5(0x189)](),this[_0x5462b5(0x1a2)]=new _0x2e4d9e(_0x24bd1c),this[_0x5462b5(0x183)]=new _0x2e13db(_0x24bd1c),this[_0x5462b5(0x18d)]=new _0x206b11(_0x24bd1c,_0x380029),this[_0x5462b5(0x19e)]=new _0x420472(_0x24bd1c),this[_0x5462b5(0x19e)][_0x5462b5(0x197)](this[_0x5462b5(0x199)]()),this[_0x5462b5(0x198)](_0x5462b5(0x17d),_0x858f31),this[_0x5462b5(0x197)]({'tag':_0x5462b5(0x1a9),'attributes':{'class':['ck',_0x5462b5(0x1a8),_0x5462b5(0x1a4)],'tabindex':'-1'},'children':this[_0x5462b5(0x1a6)]}),this[_0x5462b5(0x196)](),this[_0x5462b5(0x187)](_0x5462b5(0x185),()=>{const _0xa623e4=_0x5462b5;this[_0xa623e4(0x177)](this[_0xa623e4(0x191)],_0x5af7ad=>{const _0x38eed6=_0xa623e4;this[_0x38eed6(0x181)](_0x5af7ad);});}),this['on'](_0x5462b5(0x18f),()=>{const _0x9a4b6c=_0x5462b5;this[_0x9a4b6c(0x196)]();}),this[_0x5462b5(0x19a)]();}[_0x1ac238(0x172)](){const _0x21a21b=_0x1ac238;this[_0x21a21b(0x191)][_0x21a21b(0x172)]();}[_0x1ac238(0x196)](){const _0x5bb101=_0x1ac238;switch(this[_0x5bb101(0x1a6)][_0x5bb101(0x186)](),this[_0x5bb101(0x17d)]){case _0x5bb101(0x182):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x1a2)]);break;case _0x5bb101(0x178):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x183)]);break;case _0x5bb101(0x170):this[_0x5bb101(0x1a6)][_0x5bb101(0x1a3)]([this[_0x5bb101(0x18d)],this[_0x5bb101(0x19e)]]);}}[_0x1ac238(0x177)](_0x1dcc69,_0x2f88b9){const _0x439547=_0x1ac238,_0x26b987=_0x439547(0x1a1),_0x43b933=_0x1dcc69[_0x439547(0x19b)](_0x26b987);if(_0x43b933)return _0x2f88b9(_0x43b933);const _0xd2c467=new MutationObserver(_0x3cced2=>{const _0x207d8e=_0x439547,_0x5daad7=_0x3cced2[_0x207d8e(0x1a7)](_0x322736=>_0x322736[_0x207d8e(0x18b)]===_0x1dcc69&&_0x322736[_0x207d8e(0x17a)][_0x207d8e(0x17c)]>0x0&&_0x322736[_0x207d8e(0x17a)][0x0][_0x207d8e(0x174)][_0x207d8e(0x19c)]()===_0x26b987);_0x5daad7[_0x207d8e(0x17c)]&&(_0xd2c467[_0x207d8e(0x1a5)](),_0x2f88b9(_0x5daad7[0x0][_0x207d8e(0x17a)][0x0]));});_0xd2c467[_0x439547(0x192)](_0x1dcc69,{'childList':!0x0,'subtree':!0x0});}[_0x1ac238(0x181)](_0xb9166f){const _0x228adb=_0x1ac238;_0xb9166f[_0x228adb(0x176)](_0x228adb(0x190),_0x3ec386=>{const _0x1a9ba5=_0x228adb;this[_0x1a9ba5(0x179)](_0x1a9ba5(0x190),{'imageSrc':_0x3ec386[_0x1a9ba5(0x19f)][_0x1a9ba5(0x194)]});}),_0xb9166f[_0x228adb(0x176)](_0x228adb(0x175),()=>{const _0x5424f4=_0x228adb;this[_0x5424f4(0x179)](_0x5424f4(0x175));});}[_0x1ac238(0x19a)](){const _0x65ecf2=_0x1ac238;this[_0x65ecf2(0x183)]['on'](_0x65ecf2(0x180),()=>{const _0x1a016f=_0x65ecf2;this[_0x1a016f(0x179)](_0x1a016f(0x180));});}}
23
+ const _0x43160b=_0x4f73;(function(_0x510ba5,_0x14e351){const _0x15bb75=_0x4f73,_0x6850a9=_0x510ba5();while(!![]){try{const _0x2db606=-parseInt(_0x15bb75(0x1e9))/0x1*(parseInt(_0x15bb75(0x1f3))/0x2)+parseInt(_0x15bb75(0x1ec))/0x3*(-parseInt(_0x15bb75(0x1d0))/0x4)+parseInt(_0x15bb75(0x1e1))/0x5*(-parseInt(_0x15bb75(0x1d8))/0x6)+-parseInt(_0x15bb75(0x1d1))/0x7*(parseInt(_0x15bb75(0x1d3))/0x8)+parseInt(_0x15bb75(0x1e6))/0x9+-parseInt(_0x15bb75(0x1c4))/0xa*(parseInt(_0x15bb75(0x1ef))/0xb)+-parseInt(_0x15bb75(0x1f9))/0xc*(-parseInt(_0x15bb75(0x1f6))/0xd);if(_0x2db606===_0x14e351)break;else _0x6850a9['push'](_0x6850a9['shift']());}catch(_0x32904c){_0x6850a9['push'](_0x6850a9['shift']());}}}(_0x29d0,0x4f8dc));import{View as _0x40a998}from'ckeditor5/src/ui.js';import _0x55c67e from'./uploadcareimageeditformloadingview.js';import _0x421c0a from'./uploadcareimageeditformerrorview.js';import _0x58cee0 from'./uploadcareimageeditformeditingview.js';function _0x29d0(){const _0x55b8f3=['7iThZav','_setView','1166304rLWRAA','once','addEventListener','addMany','ck-reset_all-excluded','6948QlGZBl','ck-uploadcare-form','target','setTemplate','change:status','_addUploadcareImageEditorListeners','div','addedNodes','retry','295YLtrzS','getFocusableElement','_errorView','_waitForImageEditorComponent','focus','887076jbzjUS','length','_editingView','765TTVKop','_items','clear','6297mvJpda','cdnUrl','_focusableView','286JFLtEE','disconnect','status','set','946wzjosB','ready','fire','25103ADxJJn','observe','render','9012oXIZwf','element','createCollection','_addErrorViewListeners','detail','48610CVVYjN','apply','cancel','querySelector','toLowerCase','nodeName','filter','error','uploading','_loadingView','uc-cloud-image-editor','add','992zlKAUR'];_0x29d0=function(){return _0x55b8f3;};return _0x29d0();}import _0x286329 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4f73(_0x104a1e,_0x2749ad){const _0x29d0e5=_0x29d0();return _0x4f73=function(_0x4f7329,_0x1855fa){_0x4f7329=_0x4f7329-0x1c4;let _0x2a7978=_0x29d0e5[_0x4f7329];return _0x2a7978;},_0x4f73(_0x104a1e,_0x2749ad);}export default class ii extends _0x286329{constructor(_0x5a3d5e,_0x20d3fd,_0x3eedf1){const _0x3b93b2=_0x4f73;super(_0x5a3d5e),this[_0x3b93b2(0x1ea)]=this[_0x3b93b2(0x1fb)](),this[_0x3b93b2(0x1cd)]=new _0x55c67e(_0x5a3d5e),this[_0x3b93b2(0x1e3)]=new _0x421c0a(_0x5a3d5e),this[_0x3b93b2(0x1e8)]=new _0x58cee0(_0x5a3d5e,_0x3eedf1),this[_0x3b93b2(0x1ee)]=new _0x40a998(_0x5a3d5e),this[_0x3b93b2(0x1ee)][_0x3b93b2(0x1db)](this[_0x3b93b2(0x1e2)]()),this[_0x3b93b2(0x1f2)](_0x3b93b2(0x1f1),_0x20d3fd),this[_0x3b93b2(0x1db)]({'tag':_0x3b93b2(0x1de),'attributes':{'class':['ck',_0x3b93b2(0x1d7),_0x3b93b2(0x1d9)],'tabindex':'-1'},'children':this[_0x3b93b2(0x1ea)]}),this[_0x3b93b2(0x1d2)](),this[_0x3b93b2(0x1d4)](_0x3b93b2(0x1f8),()=>{const _0x5bd272=_0x3b93b2;this[_0x5bd272(0x1e4)](this[_0x5bd272(0x1fa)],_0x42f622=>{const _0x55a0f7=_0x5bd272;this[_0x55a0f7(0x1dd)](_0x42f622);});}),this['on'](_0x3b93b2(0x1dc),()=>{const _0x40061c=_0x3b93b2;this[_0x40061c(0x1d2)]();}),this[_0x3b93b2(0x1fc)]();}[_0x43160b(0x1e5)](){const _0x5cc9ab=_0x43160b;this[_0x5cc9ab(0x1fa)][_0x5cc9ab(0x1e5)]();}[_0x43160b(0x1d2)](){const _0xa18e02=_0x43160b;switch(this[_0xa18e02(0x1ea)][_0xa18e02(0x1eb)](),this[_0xa18e02(0x1f1)]){case _0xa18e02(0x1cc):this[_0xa18e02(0x1ea)][_0xa18e02(0x1cf)](this[_0xa18e02(0x1cd)]);break;case _0xa18e02(0x1cb):this[_0xa18e02(0x1ea)][_0xa18e02(0x1cf)](this[_0xa18e02(0x1e3)]);break;case _0xa18e02(0x1f4):this[_0xa18e02(0x1ea)][_0xa18e02(0x1d6)]([this[_0xa18e02(0x1e8)],this[_0xa18e02(0x1ee)]]);}}[_0x43160b(0x1e4)](_0x5e7c07,_0x8e79e2){const _0x2ff349=_0x43160b,_0x43654c=_0x2ff349(0x1ce),_0x381e72=_0x5e7c07[_0x2ff349(0x1c7)](_0x43654c);if(_0x381e72)return _0x8e79e2(_0x381e72);const _0x3f8903=new MutationObserver(_0x1df547=>{const _0x3462f5=_0x2ff349,_0x599af1=_0x1df547[_0x3462f5(0x1ca)](_0x3d4779=>_0x3d4779[_0x3462f5(0x1da)]===_0x5e7c07&&_0x3d4779[_0x3462f5(0x1df)][_0x3462f5(0x1e7)]>0x0&&_0x3d4779[_0x3462f5(0x1df)][0x0][_0x3462f5(0x1c9)][_0x3462f5(0x1c8)]()===_0x43654c);_0x599af1[_0x3462f5(0x1e7)]&&(_0x3f8903[_0x3462f5(0x1f0)](),_0x8e79e2(_0x599af1[0x0][_0x3462f5(0x1df)][0x0]));});_0x3f8903[_0x2ff349(0x1f7)](_0x5e7c07,{'childList':!0x0,'subtree':!0x0});}[_0x43160b(0x1dd)](_0x471960){const _0x5cfb0a=_0x43160b;_0x471960[_0x5cfb0a(0x1d5)](_0x5cfb0a(0x1c5),_0x4c4b75=>{const _0x39cabd=_0x5cfb0a;this[_0x39cabd(0x1f5)](_0x39cabd(0x1c5),{'imageSrc':_0x4c4b75[_0x39cabd(0x1fd)][_0x39cabd(0x1ed)]});}),_0x471960[_0x5cfb0a(0x1d5)](_0x5cfb0a(0x1c6),()=>{const _0x51360b=_0x5cfb0a;this[_0x51360b(0x1f5)](_0x51360b(0x1c6));});}[_0x43160b(0x1fc)](){const _0x4aa154=_0x43160b;this[_0x4aa154(0x1e3)]['on'](_0x4aa154(0x1e0),()=>{const _0x4e9742=_0x4aa154;this[_0x4e9742(0x1f5)](_0x4e9742(0x1e0));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c7c(){const _0x54eaa8=['document','isActive','48YJpjPl','217698UNgelS','get','583767jdRRQF','3312036jUcQEs','uploadcare.allowExternalImagesEditing','500762xjKbfT','plugins','1149ElfaTK','4BUBWWZ','execute','editor','2878PijJbR','isEnabled','imageEditController','requires','refresh','bind','2426260sUnlDn','7008760ZyFiGj','getSelectedElement','imageBlock','imageInline','config','model','_isEditable','unbind','set','element','selection'];_0x2c7c=function(){return _0x54eaa8;};return _0x2c7c();}const _0x1ca993=_0xba8d;function _0xba8d(_0x357a34,_0x54fa1b){const _0x2c7c36=_0x2c7c();return _0xba8d=function(_0xba8db1,_0x98554e){_0xba8db1=_0xba8db1-0x6c;let _0x566ef9=_0x2c7c36[_0xba8db1];return _0x566ef9;},_0xba8d(_0x357a34,_0x54fa1b);}(function(_0x38496b,_0x3a3859){const _0xe79aea=_0xba8d,_0x1caab1=_0x38496b();while(!![]){try{const _0x543a93=-parseInt(_0xe79aea(0x78))/0x1+parseInt(_0xe79aea(0x7e))/0x2*(parseInt(_0xe79aea(0x7a))/0x3)+parseInt(_0xe79aea(0x7b))/0x4*(-parseInt(_0xe79aea(0x84))/0x5)+-parseInt(_0xe79aea(0x73))/0x6+parseInt(_0xe79aea(0x76))/0x7+-parseInt(_0xe79aea(0x72))/0x8*(parseInt(_0xe79aea(0x75))/0x9)+parseInt(_0xe79aea(0x85))/0xa;if(_0x543a93===_0x3a3859)break;else _0x1caab1['push'](_0x1caab1['shift']());}catch(_0x5f1271){_0x1caab1['push'](_0x1caab1['shift']());}}}(_0x2c7c,0x4c956));import{Command as _0x534adf}from'ckeditor5/src/core.js';import{Dialog as _0x47050a}from'ckeditor5/src/ui.js';import _0x195f9c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4668f3}from'../utils/editingutils.js';export default class J extends _0x534adf{static get[_0x1ca993(0x81)](){return[_0x47050a];}constructor(_0x127502){const _0x1da3b5=_0x1ca993;super(_0x127502),this[_0x1da3b5(0x80)]=void 0x0,this[_0x1da3b5(0x8b)]=_0x4668f3(_0x127502[_0x1da3b5(0x89)][_0x1da3b5(0x74)](_0x1da3b5(0x77))||[]),this[_0x1da3b5(0x6d)]({'isActive':!0x1});}[_0x1ca993(0x82)](){const _0x58557a=_0x1ca993,_0x5bdfa5=this[_0x58557a(0x7d)][_0x58557a(0x8a)][_0x58557a(0x70)][_0x58557a(0x6f)][_0x58557a(0x86)]();this[_0x58557a(0x7f)]=this[_0x58557a(0x8b)](_0x5bdfa5);}[_0x1ca993(0x7c)](){const _0x3647e5=_0x1ca993;this[_0x3647e5(0x80)]&&(this[_0x3647e5(0x6c)](_0x3647e5(0x71)),this[_0x3647e5(0x80)]=void 0x0);const _0x2608e3=this[_0x3647e5(0x7d)][_0x3647e5(0x8a)][_0x3647e5(0x70)][_0x3647e5(0x6f)][_0x3647e5(0x86)]();_0x2608e3&&(_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x87))||_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x88)))&&(this[_0x3647e5(0x80)]=new _0x195f9c(this[_0x3647e5(0x7d)],this[_0x3647e5(0x7d)][_0x3647e5(0x79)][_0x3647e5(0x74)](_0x47050a),_0x2608e3),this[_0x3647e5(0x83)](_0x3647e5(0x71))['to'](this[_0x3647e5(0x80)],_0x3647e5(0x71)));}}
23
+ const _0x43d559=_0x1ca5;(function(_0xdf283,_0x1c628d){const _0xc5394f=_0x1ca5,_0x23283a=_0xdf283();while(!![]){try{const _0xef8e4a=-parseInt(_0xc5394f(0x147))/0x1+-parseInt(_0xc5394f(0x14c))/0x2+parseInt(_0xc5394f(0x13e))/0x3+-parseInt(_0xc5394f(0x149))/0x4*(-parseInt(_0xc5394f(0x143))/0x5)+parseInt(_0xc5394f(0x146))/0x6+parseInt(_0xc5394f(0x14d))/0x7+-parseInt(_0xc5394f(0x15b))/0x8*(parseInt(_0xc5394f(0x13f))/0x9);if(_0xef8e4a===_0x1c628d)break;else _0x23283a['push'](_0x23283a['shift']());}catch(_0x10e15b){_0x23283a['push'](_0x23283a['shift']());}}}(_0x1833,0x61ac3));import{Command as _0x4e0455}from'ckeditor5/src/core.js';import{Dialog as _0x2f8203}from'ckeditor5/src/ui.js';function _0x1ca5(_0x534b6e,_0x47779d){const _0x183381=_0x1833();return _0x1ca5=function(_0x1ca58e,_0x4bb494){_0x1ca58e=_0x1ca58e-0x13d;let _0x5912d2=_0x183381[_0x1ca58e];return _0x5912d2;},_0x1ca5(_0x534b6e,_0x47779d);}import _0x29ae0d from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d8fe2}from'../utils/editingutils.js';function _0x1833(){const _0x8a46ee=['562674VgdxMz','selection','8noUljz','refresh','document','402872VGlqVj','4936008HsoSGc','isEnabled','imageEditController','set','execute','unbind','get','imageBlock','editor','element','model','requires','uploadcare.allowExternalImagesEditing','_isEditable','2803512oNNLrk','getSelectedElement','156465gTefhw','9tuLrfZ','config','plugins','imageInline','719205lHdsCH','isActive','bind','2817810QbnNWp'];_0x1833=function(){return _0x8a46ee;};return _0x1833();}export default class J extends _0x4e0455{static get[_0x43d559(0x158)](){return[_0x2f8203];}constructor(_0x3d1555){const _0x2f4d8f=_0x43d559;super(_0x3d1555),this[_0x2f4d8f(0x14f)]=void 0x0,this[_0x2f4d8f(0x15a)]=_0x5d8fe2(_0x3d1555[_0x2f4d8f(0x140)][_0x2f4d8f(0x153)](_0x2f4d8f(0x159))||[]),this[_0x2f4d8f(0x150)]({'isActive':!0x1});}[_0x43d559(0x14a)](){const _0x21348e=_0x43d559,_0x4febcc=this[_0x21348e(0x155)][_0x21348e(0x157)][_0x21348e(0x14b)][_0x21348e(0x148)][_0x21348e(0x13d)]();this[_0x21348e(0x14e)]=this[_0x21348e(0x15a)](_0x4febcc);}[_0x43d559(0x151)](){const _0x506ddb=_0x43d559;this[_0x506ddb(0x14f)]&&(this[_0x506ddb(0x152)](_0x506ddb(0x144)),this[_0x506ddb(0x14f)]=void 0x0);const _0x413388=this[_0x506ddb(0x155)][_0x506ddb(0x157)][_0x506ddb(0x14b)][_0x506ddb(0x148)][_0x506ddb(0x13d)]();_0x413388&&(_0x413388['is'](_0x506ddb(0x156),_0x506ddb(0x154))||_0x413388['is'](_0x506ddb(0x156),_0x506ddb(0x142)))&&(this[_0x506ddb(0x14f)]=new _0x29ae0d(this[_0x506ddb(0x155)],this[_0x506ddb(0x155)][_0x506ddb(0x141)][_0x506ddb(0x153)](_0x2f8203),_0x413388),this[_0x506ddb(0x145)](_0x506ddb(0x144))['to'](this[_0x506ddb(0x14f)],_0x506ddb(0x144)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x199d(_0x537d41,_0x10202b){const _0xbb7271=_0xbb72();return _0x199d=function(_0x199dfc,_0xc13bfa){_0x199dfc=_0x199dfc-0x106;let _0x5ee000=_0xbb7271[_0x199dfc];return _0x5ee000;},_0x199d(_0x537d41,_0x10202b);}const _0x3fdc08=_0x199d;(function(_0x24d2c7,_0x2b7f9a){const _0x2f394f=_0x199d,_0x5b5702=_0x24d2c7();while(!![]){try{const _0x49de0f=-parseInt(_0x2f394f(0x106))/0x1+-parseInt(_0x2f394f(0x109))/0x2*(parseInt(_0x2f394f(0x117))/0x3)+parseInt(_0x2f394f(0x110))/0x4+-parseInt(_0x2f394f(0x119))/0x5*(-parseInt(_0x2f394f(0x113))/0x6)+parseInt(_0x2f394f(0x107))/0x7+-parseInt(_0x2f394f(0x11b))/0x8*(parseInt(_0x2f394f(0x10f))/0x9)+parseInt(_0x2f394f(0x116))/0xa;if(_0x49de0f===_0x2b7f9a)break;else _0x5b5702['push'](_0x5b5702['shift']());}catch(_0x2fa5a4){_0x5b5702['push'](_0x5b5702['shift']());}}}(_0xbb72,0x95c9c));import{Plugin as _0x5d7098}from'ckeditor5/src/core.js';import{Notification as _0x568e2f}from'ckeditor5/src/ui.js';import _0x54a0cd from'./uploadcareimageeditcommand.js';import _0xa4f58f from'./uploadcareimagereplacecommand.js';import _0x40d7ab from'../uploadcareediting.js';function _0xbb72(){const _0x3abfe5=['21ZQbzNY','UploadcareImageEditEditing','35IMebSH','pluginName','207184ajAvSc','510414DdYUaa','5605488IBfNqR','ImageEditing','246034vajBUF','ImageUtils','isOfficialPlugin','requires','uploadcareImageReplace','init','198RHuuVv','531860BPjsAN','add','commands','751002EHSaOP','isPremiumPlugin','uploadcareImageEdit','7449030LpSQhW'];_0xbb72=function(){return _0x3abfe5;};return _0xbb72();}export default class m extends _0x5d7098{static get[_0x3fdc08(0x11a)](){const _0x34022d=_0x3fdc08;return _0x34022d(0x118);}static get[_0x3fdc08(0x10c)](){const _0x297870=_0x3fdc08;return[_0x40d7ab,_0x568e2f,_0x297870(0x10a),_0x297870(0x108)];}static get[_0x3fdc08(0x10b)](){return!0x0;}static get[_0x3fdc08(0x114)](){return!0x0;}[_0x3fdc08(0x10e)](){const _0x20ce86=_0x3fdc08,{editor:_0x273bab}=this;_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x115),new _0x54a0cd(_0x273bab)),_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x10d),new _0xa4f58f(_0x273bab));}}
23
+ const _0xed7f83=_0x33e3;(function(_0x3c884b,_0xcc7b45){const _0x5c2f68=_0x33e3,_0x529b9c=_0x3c884b();while(!![]){try{const _0x5d1205=parseInt(_0x5c2f68(0x135))/0x1*(-parseInt(_0x5c2f68(0x149))/0x2)+-parseInt(_0x5c2f68(0x141))/0x3*(parseInt(_0x5c2f68(0x139))/0x4)+parseInt(_0x5c2f68(0x142))/0x5*(-parseInt(_0x5c2f68(0x136))/0x6)+parseInt(_0x5c2f68(0x133))/0x7*(-parseInt(_0x5c2f68(0x13c))/0x8)+-parseInt(_0x5c2f68(0x148))/0x9*(parseInt(_0x5c2f68(0x143))/0xa)+-parseInt(_0x5c2f68(0x132))/0xb*(parseInt(_0x5c2f68(0x134))/0xc)+parseInt(_0x5c2f68(0x13b))/0xd;if(_0x5d1205===_0xcc7b45)break;else _0x529b9c['push'](_0x529b9c['shift']());}catch(_0x7b3953){_0x529b9c['push'](_0x529b9c['shift']());}}}(_0x5ac2,0xf2aee));import{Plugin as _0x1a94b9}from'ckeditor5/src/core.js';function _0x33e3(_0x35352f,_0xc5bdb8){const _0x5ac244=_0x5ac2();return _0x33e3=function(_0x33e331,_0x4f8c79){_0x33e331=_0x33e331-0x132;let _0x374cb1=_0x5ac244[_0x33e331];return _0x374cb1;},_0x33e3(_0x35352f,_0xc5bdb8);}import{Notification as _0x2a5f4f}from'ckeditor5/src/ui.js';function _0x5ac2(){const _0x4e6d8f=['pluginName','2043PjcpgF','2jBlIkK','uploadcareImageEdit','89243mIlWCe','6657042DTgmEi','2388rOXFsm','406586EQTSkn','6tYXwWi','ImageEditing','uploadcareImageReplace','8xTHTEf','ImageUtils','96389462HXPQuV','8VOmTtc','init','isOfficialPlugin','commands','add','1480749mFlTgH','3350210htvMAz','78910KCNhpQ','UploadcareImageEditEditing','isPremiumPlugin','requires'];_0x5ac2=function(){return _0x4e6d8f;};return _0x5ac2();}import _0x10372b from'./uploadcareimageeditcommand.js';import _0x46d887 from'./uploadcareimagereplacecommand.js';import _0x41a424 from'../uploadcareediting.js';export default class m extends _0x1a94b9{static get[_0xed7f83(0x147)](){const _0x228486=_0xed7f83;return _0x228486(0x144);}static get[_0xed7f83(0x146)](){const _0xd277a9=_0xed7f83;return[_0x41a424,_0x2a5f4f,_0xd277a9(0x13a),_0xd277a9(0x137)];}static get[_0xed7f83(0x13e)](){return!0x0;}static get[_0xed7f83(0x145)](){return!0x0;}[_0xed7f83(0x13d)](){const _0x238a8c=_0xed7f83,{editor:_0x5ba49a}=this;_0x5ba49a[_0x238a8c(0x13f)][_0x238a8c(0x140)](_0x238a8c(0x14a),new _0x10372b(_0x5ba49a)),_0x5ba49a[_0x238a8c(0x13f)][_0x238a8c(0x140)](_0x238a8c(0x138),new _0x46d887(_0x5ba49a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b1860}from'ckeditor5/src/core.js';import{ButtonView as _0x197419}from'ckeditor5/src/ui.js';import{createElement as _0x3f9523}from'ckeditor5/src/utils.js';import _0x296cae 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 _0x5b1860{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 _0x271655=this['editor'];_0x271655['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34bd=>{const _0x442a11=_0x271655['commands']['get']('uploadcareImageEdit'),_0x6986b1=new _0x197419(_0x34bd),t=_0x34bd['t'];return _0x6986b1['set']({'icon':_0x296cae,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x6986b1['bind']('isEnabled')['to'](_0x442a11),_0x6986b1['bind']('isOn')['to'](_0x442a11,'isActive'),this['listenTo'](_0x6986b1,'execute',()=>{_0x271655['execute']('uploadcareImageEdit'),_0x271655['editing']['view']['focus']();}),_0x6986b1;}),this['_initConfig']();}['_initConfig'](){const _0x2078a3=_0x3f9523(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2078a3),this['listenTo'](this['editor'],'destroy',()=>{_0x2078a3['remove']();});}}
23
+ import{Plugin as _0x503668}from'ckeditor5/src/core.js';import{ButtonView as _0x585d63}from'ckeditor5/src/ui.js';import{createElement as _0xd7347d}from'ckeditor5/src/utils.js';import _0x31d6fa 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 _0x503668{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 _0x1207bb=this['editor'];_0x1207bb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3855bb=>{const _0x28cb36=_0x1207bb['commands']['get']('uploadcareImageEdit'),_0x3f087e=new _0x585d63(_0x3855bb),t=_0x3855bb['t'];return _0x3f087e['set']({'icon':_0x31d6fa,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3f087e['bind']('isEnabled')['to'](_0x28cb36),_0x3f087e['bind']('isOn')['to'](_0x28cb36,'isActive'),this['listenTo'](_0x3f087e,'execute',()=>{_0x1207bb['execute']('uploadcareImageEdit'),_0x1207bb['editing']['view']['focus']();}),_0x3f087e;}),this['_initConfig']();}['_initConfig'](){const _0x4924de=_0xd7347d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4924de),this['listenTo'](this['editor'],'destroy',()=>{_0x4924de['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c92(_0x10cdd1,_0x5e5188){const _0x396044=_0x3960();return _0x5c92=function(_0x5c920f,_0x21c5bd){_0x5c920f=_0x5c920f-0xe8;let _0x585203=_0x396044[_0x5c920f];return _0x585203;},_0x5c92(_0x10cdd1,_0x5e5188);}function _0x3960(){const _0x414dcf=['isEnabled','getSelectedElement','264KLSDjd','2898200yOPWrP','3562866TYrTfc','sizes','change','27395UIMmiY','4126032EEjLEc','2341QWaDVk','document','editor','srcset','imageBlock','removeAttribute','refresh','334NPfdEH','114611gdyesj','296dZKsRW','270459SuQGzu','imageInline','execute','selection','model','element','setAttributes'];_0x3960=function(){return _0x414dcf;};return _0x3960();}const _0x3669be=_0x5c92;(function(_0x1c4394,_0x5b9cf4){const _0x47b483=_0x5c92,_0x538182=_0x1c4394();while(!![]){try{const _0x5c1a08=-parseInt(_0x47b483(0xe8))/0x1*(-parseInt(_0x47b483(0xef))/0x2)+-parseInt(_0x47b483(0xf2))/0x3+-parseInt(_0x47b483(0xf1))/0x4*(-parseInt(_0x47b483(0x100))/0x5)+-parseInt(_0x47b483(0x101))/0x6+-parseInt(_0x47b483(0xf0))/0x7*(-parseInt(_0x47b483(0xfb))/0x8)+-parseInt(_0x47b483(0xfd))/0x9+parseInt(_0x47b483(0xfc))/0xa;if(_0x5c1a08===_0x5b9cf4)break;else _0x538182['push'](_0x538182['shift']());}catch(_0x19795d){_0x538182['push'](_0x538182['shift']());}}}(_0x3960,0x6e8d7));import{Command as _0x2f930a}from'ckeditor5/src/core.js';export default class O extends _0x2f930a{[_0x3669be(0xee)](){const _0x41fc4c=_0x3669be,_0x181217=this[_0x41fc4c(0xea)][_0x41fc4c(0xf6)][_0x41fc4c(0xe9)][_0x41fc4c(0xf5)][_0x41fc4c(0xfa)]();this[_0x41fc4c(0xf9)]=Boolean(_0x181217&&(_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xec))||_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xf3))));}[_0x3669be(0xf4)](_0x27dd59){const _0xf96007=_0x3669be,_0x35ffef=this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xe9)][_0xf96007(0xf5)][_0xf96007(0xfa)]();this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xff)](_0x1744db=>{const _0x33b810=_0xf96007;_0x1744db[_0x33b810(0xf8)](_0x27dd59,_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xeb),_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xfe),_0x35ffef);});}}
23
+ function _0x1381(_0x2fdae9,_0x12a70d){const _0x3bdd22=_0x3bdd();return _0x1381=function(_0x138104,_0x5c87de){_0x138104=_0x138104-0x128;let _0x43d2f7=_0x3bdd22[_0x138104];return _0x43d2f7;},_0x1381(_0x2fdae9,_0x12a70d);}const _0x591267=_0x1381;function _0x3bdd(){const _0x529a9e=['element','3LeWldP','385BmdzZk','selection','change','2508545FBwZTj','execute','isEnabled','18VpTsYp','82744dkWMsO','editor','getSelectedElement','removeAttribute','srcset','4146708oFaMxw','model','105847KdxPLk','document','setAttributes','4398691YbLNGq','12ekKpkE','5601830XfJGJY','sizes','imageInline','refresh','11676564lKCxhl','imageBlock'];_0x3bdd=function(){return _0x529a9e;};return _0x3bdd();}(function(_0x2c4c59,_0x470799){const _0x3f51ca=_0x1381,_0x4cc31e=_0x2c4c59();while(!![]){try{const _0x48d0a9=parseInt(_0x3f51ca(0x134))/0x1*(-parseInt(_0x3f51ca(0x12c))/0x2)+parseInt(_0x3f51ca(0x140))/0x3*(-parseInt(_0x3f51ca(0x132))/0x4)+-parseInt(_0x3f51ca(0x129))/0x5*(-parseInt(_0x3f51ca(0x138))/0x6)+-parseInt(_0x3f51ca(0x141))/0x7*(parseInt(_0x3f51ca(0x12d))/0x8)+parseInt(_0x3f51ca(0x13d))/0x9+parseInt(_0x3f51ca(0x139))/0xa+parseInt(_0x3f51ca(0x137))/0xb;if(_0x48d0a9===_0x470799)break;else _0x4cc31e['push'](_0x4cc31e['shift']());}catch(_0x550c31){_0x4cc31e['push'](_0x4cc31e['shift']());}}}(_0x3bdd,0xab8f9));import{Command as _0x1e32e0}from'ckeditor5/src/core.js';export default class O extends _0x1e32e0{[_0x591267(0x13c)](){const _0x4e6245=_0x591267,_0x1c9344=this[_0x4e6245(0x12e)][_0x4e6245(0x133)][_0x4e6245(0x135)][_0x4e6245(0x142)][_0x4e6245(0x12f)]();this[_0x4e6245(0x12b)]=Boolean(_0x1c9344&&(_0x1c9344['is'](_0x4e6245(0x13f),_0x4e6245(0x13e))||_0x1c9344['is'](_0x4e6245(0x13f),_0x4e6245(0x13b))));}[_0x591267(0x12a)](_0x52c60d){const _0x4d4192=_0x591267,_0x2414f0=this[_0x4d4192(0x12e)][_0x4d4192(0x133)][_0x4d4192(0x135)][_0x4d4192(0x142)][_0x4d4192(0x12f)]();this[_0x4d4192(0x12e)][_0x4d4192(0x133)][_0x4d4192(0x128)](_0xfe6534=>{const _0x1740ff=_0x4d4192;_0xfe6534[_0x1740ff(0x136)](_0x52c60d,_0x2414f0),_0xfe6534[_0x1740ff(0x130)](_0x1740ff(0x131),_0x2414f0),_0xfe6534[_0x1740ff(0x130)](_0x1740ff(0x13a),_0x2414f0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x531d(){var _0x16f1f4=['768864xxMtXW','419001VnClcP','5PqvpLi','22wDTgPE','pluginName','isOfficialPlugin','UploadcareImageEdit','180736UleBDn','9WZHdGj','requires','1335929yJblEb','7904356WeNEnd','7993656WgAbEx','39374770TTyKII','isPremiumPlugin'];_0x531d=function(){return _0x16f1f4;};return _0x531d();}function _0x1cd6(_0x36a1f4,_0x954752){var _0x531d0a=_0x531d();return _0x1cd6=function(_0x1cd6e5,_0x438be3){_0x1cd6e5=_0x1cd6e5-0xd7;var _0x2d17ee=_0x531d0a[_0x1cd6e5];return _0x2d17ee;},_0x1cd6(_0x36a1f4,_0x954752);}var _0x12de14=_0x1cd6;(function(_0x499080,_0x2ca9a8){var _0x27fd48=_0x1cd6,_0x1ceff0=_0x499080();while(!![]){try{var _0xa5f368=parseInt(_0x27fd48(0xde))/0x1+parseInt(_0x27fd48(0xda))/0x2*(parseInt(_0x27fd48(0xd8))/0x3)+parseInt(_0x27fd48(0xe2))/0x4+-parseInt(_0x27fd48(0xd9))/0x5*(-parseInt(_0x27fd48(0xe3))/0x6)+-parseInt(_0x27fd48(0xe1))/0x7+-parseInt(_0x27fd48(0xd7))/0x8*(-parseInt(_0x27fd48(0xdf))/0x9)+-parseInt(_0x27fd48(0xe4))/0xa;if(_0xa5f368===_0x2ca9a8)break;else _0x1ceff0['push'](_0x1ceff0['shift']());}catch(_0x4fab9f){_0x1ceff0['push'](_0x1ceff0['shift']());}}}(_0x531d,0xf27c6));import{Plugin as _0x268373}from'ckeditor5/src/core.js';import _0x34066d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1d7b8b from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x268373{static get[_0x12de14(0xdb)](){var _0x1c163e=_0x12de14;return _0x1c163e(0xdd);}static get[_0x12de14(0xe0)](){return[_0x34066d,_0x1d7b8b];}static get[_0x12de14(0xdc)](){return!0x0;}static get[_0x12de14(0xe5)](){return!0x0;}}
23
+ function _0x1091(){var _0xc56d92=['isPremiumPlugin','13948656fnWrPb','2501401eVYsDx','isOfficialPlugin','pluginName','4220268JxdvND','1407867JGEcUA','1046288QmtJht','21BvqbGa','requires','67442sOiNfn','UploadcareImageEdit','4001275sjAsxo'];_0x1091=function(){return _0xc56d92;};return _0x1091();}var _0x5125f9=_0x43a6;(function(_0x180930,_0x1f743f){var _0x12d190=_0x43a6,_0x43bab7=_0x180930();while(!![]){try{var _0x95871f=parseInt(_0x12d190(0x1c4))/0x1*(-parseInt(_0x12d190(0x1c6))/0x2)+-parseInt(_0x12d190(0x1c2))/0x3+parseInt(_0x12d190(0x1c3))/0x4+parseInt(_0x12d190(0x1bb))/0x5+-parseInt(_0x12d190(0x1c1))/0x6+-parseInt(_0x12d190(0x1be))/0x7+parseInt(_0x12d190(0x1bd))/0x8;if(_0x95871f===_0x1f743f)break;else _0x43bab7['push'](_0x43bab7['shift']());}catch(_0x4e1e64){_0x43bab7['push'](_0x43bab7['shift']());}}}(_0x1091,0x8a7da));import{Plugin as _0x3bfd10}from'ckeditor5/src/core.js';import _0x4140a0 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x189c33 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x43a6(_0x3db45c,_0x178d51){var _0x109168=_0x1091();return _0x43a6=function(_0x43a642,_0x326840){_0x43a642=_0x43a642-0x1ba;var _0x33d24a=_0x109168[_0x43a642];return _0x33d24a;},_0x43a6(_0x3db45c,_0x178d51);}export default class j extends _0x3bfd10{static get[_0x5125f9(0x1c0)](){var _0x8990e9=_0x5125f9;return _0x8990e9(0x1ba);}static get[_0x5125f9(0x1c5)](){return[_0x4140a0,_0x189c33];}static get[_0x5125f9(0x1bf)](){return!0x0;}static get[_0x5125f9(0x1bc)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5656ef=_0x4d4e;function _0x4d4e(_0x5797b3,_0x4e54d4){const _0x492c15=_0x492c();return _0x4d4e=function(_0x4d4e30,_0x4ee208){_0x4d4e30=_0x4d4e30-0x1db;let _0xd50bbb=_0x492c15[_0x4d4e30];return _0xd50bbb;},_0x4d4e(_0x5797b3,_0x4e54d4);}(function(_0x4e2815,_0x3f04a5){const _0x57a69f=_0x4d4e,_0x482fcc=_0x4e2815();while(!![]){try{const _0x340520=parseInt(_0x57a69f(0x1fd))/0x1+-parseInt(_0x57a69f(0x21a))/0x2*(parseInt(_0x57a69f(0x214))/0x3)+parseInt(_0x57a69f(0x1f3))/0x4+-parseInt(_0x57a69f(0x1f6))/0x5+-parseInt(_0x57a69f(0x204))/0x6+parseInt(_0x57a69f(0x20e))/0x7+parseInt(_0x57a69f(0x206))/0x8;if(_0x340520===_0x3f04a5)break;else _0x482fcc['push'](_0x482fcc['shift']());}catch(_0xed645f){_0x482fcc['push'](_0x482fcc['shift']());}}}(_0x492c,0x77fe6));function _0x492c(){const _0x304664=['uploadcareLicenseKeyTrialLimit','domainLimit','bind','GDrive','upload','Insert','locale','OneDrive','isPremiumPlugin','label','uploadcareLicenseKeyEvaluationLimit','URL','Dropbox','url','commands','uploadcareLicenseKeyExpired','isImageSelected','trialLimit','init','map','isOfficialPlugin','icon','_licenseKeyCheckInterval','evaluationLimit','reduce','uploadcareLicenseKeyDomainLimit','Instagram','assetManager','uploadcare','ImageInsertUI','usageLimit','3567944dMClhC','destroy','featureNotAllowed','661040zpAkBq','_createToolbarButton','withText','execute','pluginName','uploadcareLicenseKeyValid','_createButton','339104LanUuB','uploadcareLicenseKeyUsageLimit','type','editor','push','_showLicenseError','text','5091030ogHdQk','forEach','817152SOCzoW','config','_createDropdownButtons','tooltip','has','plugins','expired','registerIntegration','3389981ojjNSQ','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','isEnabled','_createMenuBarButtons','uploadcare.uploader.sourceList','15VIwEcq','licenseKey','get','_normalizeConfigSourceList','afterInit','UploadcareUI','138124ckUIId','uploadcareLicenseKeyInvalid','shortText','entries','GPhotos','imageUpload','invalid','Local','Facebook','Replace','Uploadcare'];_0x492c=function(){return _0x304664;};return _0x492c();}import{Plugin as _0x460530,icons as _0x6e8290}from'ckeditor5/src/core.js';import{ButtonView as _0x44565a,MenuBarMenuListItemButtonView as _0x4e4f52}from'ckeditor5/src/ui.js';import _0x45b6a0 from'../theme/icons/dropbox.svg';import _0x4ead5b from'../theme/icons/facebook.svg';import _0x23c44e from'../theme/icons/google-drive.svg';import _0x4e6776 from'../theme/icons/google-photos.svg';import _0x152695 from'../theme/icons/instagram.svg';import _0x32bdbe from'../theme/icons/link.svg';import _0x4f70b3 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x63d424}from'./uploadcareconfig.js';import{getTranslation as _0x5883a4}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 _0x460530{static get[_0x5656ef(0x1fa)](){const _0x523a01=_0x5656ef;return _0x523a01(0x219);}static get[_0x5656ef(0x1e8)](){return!0x0;}static get[_0x5656ef(0x1dc)](){return!0x0;}[_0x5656ef(0x1e6)](){const _0x5a9df0=_0x5656ef;this[_0x5a9df0(0x215)]=this[_0x5a9df0(0x200)][_0x5a9df0(0x207)][_0x5a9df0(0x216)](_0x5a9df0(0x215));const _0x552545=this[_0x5a9df0(0x200)];this[_0x5a9df0(0x1ea)]=setInterval(()=>{const _0x35c040=_0x5a9df0;let _0x3f3951;for(const _0x8915cf in _0x552545){const _0x762b09=_0x8915cf,_0x90ecf7=_0x552545[_0x762b09];if(_0x35c040(0x1fb)==_0x90ecf7||_0x35c040(0x21b)==_0x90ecf7||_0x35c040(0x1e3)==_0x90ecf7||_0x35c040(0x1ed)==_0x90ecf7||_0x35c040(0x20f)==_0x90ecf7||_0x35c040(0x1de)==_0x90ecf7||_0x35c040(0x225)==_0x90ecf7||_0x35c040(0x1fe)==_0x90ecf7){delete _0x552545[_0x762b09],_0x3f3951=_0x90ecf7,clearInterval(this[_0x35c040(0x1ea)]),this[_0x35c040(0x1ea)]=void 0x0;break;}}_0x35c040(0x21b)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x220)),_0x35c040(0x1e3)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x20c)),_0x35c040(0x1ed)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x226)),_0x35c040(0x20f)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f5),_0x35c040(0x224)),_0x35c040(0x1de)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1eb)),_0x35c040(0x225)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1e5)),_0x35c040(0x1fe)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f2));},0x3e8);}[_0x5656ef(0x218)](){const _0x10ad8b=_0x5656ef,{editor:_0x467c9a}=this,_0x5be45a=_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0));if(!_0x5be45a)return;const _0x4a1762=this[_0x10ad8b(0x217)](_0x467c9a[_0x10ad8b(0x207)][_0x10ad8b(0x216)](_0x10ad8b(0x213)))[_0x10ad8b(0x1ec)]((_0x202994,_0x158039)=>{const _0x43d4bd=_0x10ad8b,_0xe2b0c=this[_0x43d4bd(0x210)](_0x158039[_0x43d4bd(0x1ff)]);return _0x202994[_0xe2b0c]||(_0x202994[_0xe2b0c]=[]),_0x202994[_0xe2b0c][_0x43d4bd(0x201)](_0x158039),_0x202994;},{});_0x467c9a[_0x10ad8b(0x20b)][_0x10ad8b(0x20a)](_0x10ad8b(0x1f1))&&_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0))&&Object[_0x10ad8b(0x21d)](_0x4a1762)[_0x10ad8b(0x205)](([_0x593b00,_0x3ba2ac])=>{const _0x58a082=_0x10ad8b;_0x467c9a[_0x58a082(0x20b)][_0x58a082(0x216)](_0x58a082(0x1f1))[_0x58a082(0x20d)]({'name':_0x593b00,'observable':()=>_0x5be45a,'buttonViewCreator':()=>this[_0x58a082(0x1f7)](_0x3ba2ac),'formViewCreator':()=>this[_0x58a082(0x208)](_0x3ba2ac),'menuBarButtonViewCreator':()=>this[_0x58a082(0x212)](_0x3ba2ac),'override':_0x58a082(0x1ef)!==_0x593b00});});}[_0x5656ef(0x1f4)](){const _0x513ba6=_0x5656ef;super[_0x513ba6(0x1f4)](),this[_0x513ba6(0x1ea)]&&clearInterval(this[_0x513ba6(0x1ea)]);}[_0x5656ef(0x217)](_0x150965){const _0x46345a=_0x5656ef,{locale:_0x1f8389}=this[_0x46345a(0x200)];return _0x150965[_0x46345a(0x1e7)](_0x1b96d7=>{const _0x53c94a=_0x46345a,_0x2a725e=_0x5883a4(_0x1f8389,_0x1b96d7,_0x53c94a(0x22a));switch(_0x1b96d7){case _0x63d424[_0x53c94a(0x221)]:return{'icon':_0x6e8290[_0x53c94a(0x21f)],'type':_0x63d424[_0x53c94a(0x221)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1df)]:return{'icon':_0x32bdbe,'type':_0x63d424[_0x53c94a(0x1df)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1e0)]:return{'icon':_0x45b6a0,'type':_0x63d424[_0x53c94a(0x1e0)],..._0x2a725e};case _0x63d424[_0x53c94a(0x222)]:return{'icon':_0x4ead5b,'type':_0x63d424[_0x53c94a(0x222)],..._0x2a725e};case _0x63d424[_0x53c94a(0x228)]:return{'icon':_0x23c44e,'type':_0x63d424[_0x53c94a(0x228)],..._0x2a725e};case _0x63d424[_0x53c94a(0x21e)]:return{'icon':_0x4e6776,'type':_0x63d424[_0x53c94a(0x21e)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1ee)]:return{'icon':_0x152695,'type':_0x63d424[_0x53c94a(0x1ee)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1db)]:return{'icon':_0x4f70b3,'type':_0x63d424[_0x53c94a(0x1db)],..._0x2a725e};}});}[_0x5656ef(0x210)](_0x12904d){const _0x258805=_0x5656ef;switch(_0x12904d){case _0x63d424[_0x258805(0x221)]:return _0x258805(0x229);case _0x63d424[_0x258805(0x1df)]:return _0x258805(0x1e1);default:return _0x258805(0x1ef);}}[_0x5656ef(0x1fc)](_0x10a056,_0xbeef6f){const _0x1e1b8f=_0x5656ef,_0x1dfec5=this[_0x1e1b8f(0x200)],_0x4d3d19=new _0x10a056(_0x1dfec5[_0x1e1b8f(0x22b)]),_0x39c50c=_0x1dfec5[_0x1e1b8f(0x1e2)][_0x1e1b8f(0x216)](_0x1e1b8f(0x1f0));return _0x4d3d19[_0x1e1b8f(0x227)](_0x1e1b8f(0x211))['to'](_0x39c50c),_0x4d3d19['on'](_0x1e1b8f(0x1f9),()=>{const _0x5a0d36=_0x1e1b8f;_0x39c50c[_0x5a0d36(0x1f9)](_0xbeef6f);}),_0x4d3d19;}[_0x5656ef(0x1f7)](_0x2ad65d){const _0x182993=_0x5656ef,{locale:_0x2eaabb}=this[_0x182993(0x200)],_0xc67c16=this[_0x182993(0x200)][_0x182993(0x20b)][_0x182993(0x216)](_0x182993(0x1f1)),_0x19666e=_0x2ad65d[0x0],_0x101656=this[_0x182993(0x1fc)](_0x44565a,_0x19666e[_0x182993(0x1ff)]);return _0x101656[_0x182993(0x1e9)]=_0x19666e[_0x182993(0x1e9)],_0x101656[_0x182993(0x227)](_0x182993(0x1dd))['to'](_0xc67c16,_0x182993(0x1e4),_0x5b2c96=>_0x5883a4(_0x2eaabb,_0x19666e[_0x182993(0x1ff)],_0x5b2c96?_0x182993(0x223):_0x182993(0x22a))[_0x182993(0x203)]),_0x101656[_0x182993(0x209)]=!0x0,_0x101656;}[_0x5656ef(0x208)](_0x29a2c1){const _0xe7b9a1=_0x5656ef,{locale:_0x491f17}=this[_0xe7b9a1(0x200)],_0x5f4a11=this[_0xe7b9a1(0x200)][_0xe7b9a1(0x20b)][_0xe7b9a1(0x216)](_0xe7b9a1(0x1f1));return _0x29a2c1[_0xe7b9a1(0x1e7)](_0x22d01d=>{const _0x475087=_0xe7b9a1,_0x39a2e8=this[_0x475087(0x1fc)](_0x44565a,_0x22d01d[_0x475087(0x1ff)]);return _0x39a2e8[_0x475087(0x1f8)]=!0x0,_0x39a2e8[_0x475087(0x1e9)]=_0x22d01d[_0x475087(0x1e9)],_0x39a2e8[_0x475087(0x227)](_0x475087(0x1dd))['to'](_0x5f4a11,_0x475087(0x1e4),_0x54233e=>_0x5883a4(_0x491f17,_0x22d01d[_0x475087(0x1ff)],_0x54233e?_0x475087(0x223):_0x475087(0x22a))[_0x475087(0x203)]),_0x39a2e8;});}[_0x5656ef(0x212)](_0x582a26){const _0x15aa81=_0x5656ef;return _0x582a26[_0x15aa81(0x1e7)](_0x499bc1=>{const _0x1690de=_0x15aa81,_0x57739f=this[_0x1690de(0x1fc)](_0x4e4f52,_0x499bc1[_0x1690de(0x1ff)]);return _0x57739f[_0x1690de(0x1e9)]=_0x499bc1[_0x1690de(0x1e9)],_0x57739f[_0x1690de(0x1dd)]=_0x499bc1[_0x1690de(0x21c)],_0x57739f;});}}
23
+ const _0x734c71=_0xd8aa;function _0xd8aa(_0x589e80,_0x52d410){const _0x1d693f=_0x1d69();return _0xd8aa=function(_0xd8aa6a,_0x62a58e){_0xd8aa6a=_0xd8aa6a-0x101;let _0x1b2de1=_0x1d693f[_0xd8aa6a];return _0x1b2de1;},_0xd8aa(_0x589e80,_0x52d410);}(function(_0x284251,_0x2b28b5){const _0x5da3fb=_0xd8aa,_0x105eb5=_0x284251();while(!![]){try{const _0x292fcc=parseInt(_0x5da3fb(0x133))/0x1*(-parseInt(_0x5da3fb(0x146))/0x2)+-parseInt(_0x5da3fb(0x107))/0x3*(-parseInt(_0x5da3fb(0x125))/0x4)+-parseInt(_0x5da3fb(0x120))/0x5+parseInt(_0x5da3fb(0x145))/0x6*(parseInt(_0x5da3fb(0x10b))/0x7)+-parseInt(_0x5da3fb(0x131))/0x8*(-parseInt(_0x5da3fb(0x11e))/0x9)+-parseInt(_0x5da3fb(0x14d))/0xa*(parseInt(_0x5da3fb(0x11c))/0xb)+-parseInt(_0x5da3fb(0x130))/0xc*(-parseInt(_0x5da3fb(0x105))/0xd);if(_0x292fcc===_0x2b28b5)break;else _0x105eb5['push'](_0x105eb5['shift']());}catch(_0x1f9f4d){_0x105eb5['push'](_0x105eb5['shift']());}}}(_0x1d69,0xc5ea1));import{Plugin as _0x5c2fcf,icons as _0x97578}from'ckeditor5/src/core.js';import{ButtonView as _0x198730,MenuBarMenuListItemButtonView as _0x58b528}from'ckeditor5/src/ui.js';import _0x133b84 from'../theme/icons/dropbox.svg';import _0x41266f from'../theme/icons/facebook.svg';import _0x8ccaf5 from'../theme/icons/google-drive.svg';import _0x1e78c0 from'../theme/icons/google-photos.svg';import _0x2e6af1 from'../theme/icons/instagram.svg';import _0x2b51fb from'../theme/icons/link.svg';import _0x279a56 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x34f963}from'./uploadcareconfig.js';import{getTranslation as _0x4b1095}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 _0x1d69(){const _0x5f1833=['evaluationLimit','licenseKey','label','forEach','uploadcareLicenseKeyUsageLimit','_createMenuBarButtons','invalid','map','has','_licenseKeyCheckInterval','expired','6GJrnOa','78266sTKGKC','_showLicenseError','Instagram','url','_createDropdownButtons','shortText','isOfficialPlugin','3198350mXRXPb','URL','ImageInsertUI','featureNotAllowed','domainLimit','imageUpload','usageLimit','uploadcareLicenseKeyInvalid','upload','bind','uploadcareLicenseKeyValid','uploadcareLicenseKeyExpired','commands','Dropbox','39luYUVh','pluginName','2423343hDzaRO','GPhotos','Replace','get','2906379mlPpzA','uploadcareLicenseKeyEvaluationLimit','afterInit','registerIntegration','push','trialLimit','_getIntegrationKey','uploadcare.uploader.sourceList','text','entries','isPremiumPlugin','uploadcareLicenseKeyDomainLimit','init','Uploadcare','config','UploadcareUI','withText','55BDHMCq','locale','90VuEhib','uploadcareLicenseKeyTrialLimit','8075580QjBOJw','_normalizeConfigSourceList','plugins','Facebook','assetManager','4YFyvOh','uploadcareLicenseKeyNotAllowed','_createToolbarButton','tooltip','Local','isEnabled','isImageSelected','destroy','type','OneDrive','reduce','13178436mvnPLk','12872ivTclh','uploadcare','13rNqOIp','_createButton','execute','GDrive','icon','editor','Insert'];_0x1d69=function(){return _0x5f1833;};return _0x1d69();}export default class e extends _0x5c2fcf{static get[_0x734c71(0x106)](){const _0xc670fe=_0x734c71;return _0xc670fe(0x11a);}static get[_0x734c71(0x14c)](){return!0x0;}static get[_0x734c71(0x115)](){return!0x0;}[_0x734c71(0x117)](){const _0x5cac35=_0x734c71;this[_0x5cac35(0x13b)]=this[_0x5cac35(0x138)][_0x5cac35(0x119)][_0x5cac35(0x10a)](_0x5cac35(0x13b));const _0x2192bd=this[_0x5cac35(0x138)];this[_0x5cac35(0x143)]=setInterval(()=>{const _0x48bcad=_0x5cac35;let _0x1af056;for(const _0x596490 in _0x2192bd){const _0x129c2d=_0x596490,_0x206933=_0x2192bd[_0x129c2d];if(_0x48bcad(0x101)==_0x206933||_0x48bcad(0x154)==_0x206933||_0x48bcad(0x102)==_0x206933||_0x48bcad(0x116)==_0x206933||_0x48bcad(0x126)==_0x206933||_0x48bcad(0x10c)==_0x206933||_0x48bcad(0x11f)==_0x206933||_0x48bcad(0x13e)==_0x206933){delete _0x2192bd[_0x129c2d],_0x1af056=_0x206933,clearInterval(this[_0x48bcad(0x143)]),this[_0x48bcad(0x143)]=void 0x0;break;}}_0x48bcad(0x154)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x140)),_0x48bcad(0x102)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x144)),_0x48bcad(0x116)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x151)),_0x48bcad(0x126)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x150),_0x48bcad(0x118)),_0x48bcad(0x10c)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x13a)),_0x48bcad(0x11f)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x110)),_0x48bcad(0x13e)==_0x1af056&&_0x2192bd[_0x48bcad(0x147)](_0x48bcad(0x153));},0x3e8);}[_0x734c71(0x10d)](){const _0x44b98c=_0x734c71,{editor:_0x595ed7}=this,_0x5e640f=_0x595ed7[_0x44b98c(0x103)][_0x44b98c(0x10a)](_0x44b98c(0x132));if(!_0x5e640f)return;const _0x534589=this[_0x44b98c(0x121)](_0x595ed7[_0x44b98c(0x119)][_0x44b98c(0x10a)](_0x44b98c(0x112)))[_0x44b98c(0x12f)]((_0x427801,_0x242a59)=>{const _0x36c868=_0x44b98c,_0x2d4c52=this[_0x36c868(0x111)](_0x242a59[_0x36c868(0x12d)]);return _0x427801[_0x2d4c52]||(_0x427801[_0x2d4c52]=[]),_0x427801[_0x2d4c52][_0x36c868(0x10f)](_0x242a59),_0x427801;},{});_0x595ed7[_0x44b98c(0x122)][_0x44b98c(0x142)](_0x44b98c(0x14f))&&_0x595ed7[_0x44b98c(0x103)][_0x44b98c(0x10a)](_0x44b98c(0x132))&&Object[_0x44b98c(0x114)](_0x534589)[_0x44b98c(0x13d)](([_0x52e859,_0x5e6ab3])=>{const _0x533d0f=_0x44b98c;_0x595ed7[_0x533d0f(0x122)][_0x533d0f(0x10a)](_0x533d0f(0x14f))[_0x533d0f(0x10e)]({'name':_0x52e859,'observable':()=>_0x5e640f,'buttonViewCreator':()=>this[_0x533d0f(0x127)](_0x5e6ab3),'formViewCreator':()=>this[_0x533d0f(0x14a)](_0x5e6ab3),'menuBarButtonViewCreator':()=>this[_0x533d0f(0x13f)](_0x5e6ab3),'override':_0x533d0f(0x124)!==_0x52e859});});}[_0x734c71(0x12c)](){const _0x466eff=_0x734c71;super[_0x466eff(0x12c)](),this[_0x466eff(0x143)]&&clearInterval(this[_0x466eff(0x143)]);}[_0x734c71(0x121)](_0x43448c){const _0x3d05fc=_0x734c71,{locale:_0x1f4bc5}=this[_0x3d05fc(0x138)];return _0x43448c[_0x3d05fc(0x141)](_0x463abf=>{const _0x41c604=_0x3d05fc,_0x390472=_0x4b1095(_0x1f4bc5,_0x463abf,_0x41c604(0x139));switch(_0x463abf){case _0x34f963[_0x41c604(0x129)]:return{'icon':_0x97578[_0x41c604(0x152)],'type':_0x34f963[_0x41c604(0x129)],..._0x390472};case _0x34f963[_0x41c604(0x14e)]:return{'icon':_0x2b51fb,'type':_0x34f963[_0x41c604(0x14e)],..._0x390472};case _0x34f963[_0x41c604(0x104)]:return{'icon':_0x133b84,'type':_0x34f963[_0x41c604(0x104)],..._0x390472};case _0x34f963[_0x41c604(0x123)]:return{'icon':_0x41266f,'type':_0x34f963[_0x41c604(0x123)],..._0x390472};case _0x34f963[_0x41c604(0x136)]:return{'icon':_0x8ccaf5,'type':_0x34f963[_0x41c604(0x136)],..._0x390472};case _0x34f963[_0x41c604(0x108)]:return{'icon':_0x1e78c0,'type':_0x34f963[_0x41c604(0x108)],..._0x390472};case _0x34f963[_0x41c604(0x148)]:return{'icon':_0x2e6af1,'type':_0x34f963[_0x41c604(0x148)],..._0x390472};case _0x34f963[_0x41c604(0x12e)]:return{'icon':_0x279a56,'type':_0x34f963[_0x41c604(0x12e)],..._0x390472};}});}[_0x734c71(0x111)](_0x3384b8){const _0x27af97=_0x734c71;switch(_0x3384b8){case _0x34f963[_0x27af97(0x129)]:return _0x27af97(0x155);case _0x34f963[_0x27af97(0x14e)]:return _0x27af97(0x149);default:return _0x27af97(0x124);}}[_0x734c71(0x134)](_0x292004,_0xc68682){const _0x3e9cae=_0x734c71,_0x27857e=this[_0x3e9cae(0x138)],_0x3d279e=new _0x292004(_0x27857e[_0x3e9cae(0x11d)]),_0x48e0ea=_0x27857e[_0x3e9cae(0x103)][_0x3e9cae(0x10a)](_0x3e9cae(0x132));return _0x3d279e[_0x3e9cae(0x156)](_0x3e9cae(0x12a))['to'](_0x48e0ea),_0x3d279e['on'](_0x3e9cae(0x135),()=>{const _0x5bc181=_0x3e9cae;_0x48e0ea[_0x5bc181(0x135)](_0xc68682);}),_0x3d279e;}[_0x734c71(0x127)](_0x15183a){const _0x4594b7=_0x734c71,{locale:_0x5be549}=this[_0x4594b7(0x138)],_0x3f9615=this[_0x4594b7(0x138)][_0x4594b7(0x122)][_0x4594b7(0x10a)](_0x4594b7(0x14f)),_0x10df0e=_0x15183a[0x0],_0x2b4031=this[_0x4594b7(0x134)](_0x198730,_0x10df0e[_0x4594b7(0x12d)]);return _0x2b4031[_0x4594b7(0x137)]=_0x10df0e[_0x4594b7(0x137)],_0x2b4031[_0x4594b7(0x156)](_0x4594b7(0x13c))['to'](_0x3f9615,_0x4594b7(0x12b),_0x178e8a=>_0x4b1095(_0x5be549,_0x10df0e[_0x4594b7(0x12d)],_0x178e8a?_0x4594b7(0x109):_0x4594b7(0x139))[_0x4594b7(0x113)]),_0x2b4031[_0x4594b7(0x128)]=!0x0,_0x2b4031;}[_0x734c71(0x14a)](_0x46525c){const _0x3b7e85=_0x734c71,{locale:_0x416bad}=this[_0x3b7e85(0x138)],_0x525323=this[_0x3b7e85(0x138)][_0x3b7e85(0x122)][_0x3b7e85(0x10a)](_0x3b7e85(0x14f));return _0x46525c[_0x3b7e85(0x141)](_0x50bcf9=>{const _0x2daa62=_0x3b7e85,_0x8e3457=this[_0x2daa62(0x134)](_0x198730,_0x50bcf9[_0x2daa62(0x12d)]);return _0x8e3457[_0x2daa62(0x11b)]=!0x0,_0x8e3457[_0x2daa62(0x137)]=_0x50bcf9[_0x2daa62(0x137)],_0x8e3457[_0x2daa62(0x156)](_0x2daa62(0x13c))['to'](_0x525323,_0x2daa62(0x12b),_0x1943c1=>_0x4b1095(_0x416bad,_0x50bcf9[_0x2daa62(0x12d)],_0x1943c1?_0x2daa62(0x109):_0x2daa62(0x139))[_0x2daa62(0x113)]),_0x8e3457;});}[_0x734c71(0x13f)](_0x1df3b7){const _0x3afe30=_0x734c71;return _0x1df3b7[_0x3afe30(0x141)](_0x1ce8c1=>{const _0x5cc702=_0x3afe30,_0x538b10=this[_0x5cc702(0x134)](_0x58b528,_0x1ce8c1[_0x5cc702(0x12d)]);return _0x538b10[_0x5cc702(0x137)]=_0x1ce8c1[_0x5cc702(0x137)],_0x538b10[_0x5cc702(0x13c)]=_0x1ce8c1[_0x5cc702(0x14b)],_0x538b10;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x184e68}from'ckeditor5/src/core.js';import{FileRepository as _0x4927c3}from'ckeditor5/src/upload.js';import _0x254226 from'./uploadcareediting.js';import _0x37dd15 from'./utils/uploadutils.js';import{getImageUrls as _0x569b95}from'./utils/editingutils.js';export default class f extends _0x184e68{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4927c3,_0x254226];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22d964=this['editor'];if(!!!_0x22d964['config']['get']('uploadcare'))return;_0x22d964['plugins']['get'](_0x4927c3)['createUploadAdapter']=_0x130d64=>new A(_0x130d64,_0x22d964),_0x22d964['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xb1f0cd,{imageElement:_0x46bd17,data:_0x5835f8})=>{_0x22d964['model']['change'](_0x195ccc=>{_0x195ccc['setAttribute']('uploadcareImageId',_0x5835f8['uploadcareImageId'],_0x46bd17);});});}}class A{constructor(_0x34575b,_0x4d5079){this['loader']=_0x34575b,this['editor']=_0x4d5079,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x67a58a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5db1ca=await this['loader']['file'];return _0x37dd15['upload']({'file':_0x5db1ca,'publicKey':_0x67a58a,'signal':this['controller']['signal'],'onProgress':_0x1978c3=>{_0x1978c3&&_0x1978c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1978c3['value']);}})['then'](async _0x20427d=>{const {imageFallbackUrl:_0x241a1e,imageSources:_0x4d1078}=_0x569b95(_0x20427d['cdnUrl'],_0x20427d['imageInfo']['width']);return{'uploadcareImageId':_0x20427d['uuid'],'default':_0x241a1e,'sources':_0x4d1078};})['catch'](()=>{const _0x31c802=t('Cannot\x20upload\x20file:')+('\x20'+_0x5db1ca['name']+'.');return Promise['reject'](_0x31c802);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x52cce6}from'ckeditor5/src/core.js';import{FileRepository as _0x593191}from'ckeditor5/src/upload.js';import _0x419f95 from'./uploadcareediting.js';import _0x3a67a2 from'./utils/uploadutils.js';import{getImageUrls as _0x359580}from'./utils/editingutils.js';export default class f extends _0x52cce6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x593191,_0x419f95];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x480d3e=this['editor'];if(!!!_0x480d3e['config']['get']('uploadcare'))return;_0x480d3e['plugins']['get'](_0x593191)['createUploadAdapter']=_0x5c1455=>new A(_0x5c1455,_0x480d3e),_0x480d3e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x279514,{imageElement:_0x111aaa,data:_0x3ececf})=>{_0x480d3e['model']['change'](_0x34d803=>{_0x34d803['setAttribute']('uploadcareImageId',_0x3ececf['uploadcareImageId'],_0x111aaa);});});}}class A{constructor(_0x5d7b8c,_0x31c2b2){this['loader']=_0x5d7b8c,this['editor']=_0x31c2b2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x59a092=this['editor']['config']['get']('uploadcare.pubkey'),_0x55b0de=await this['loader']['file'];return _0x3a67a2['upload']({'file':_0x55b0de,'publicKey':_0x59a092,'signal':this['controller']['signal'],'onProgress':_0x5bda3c=>{_0x5bda3c&&_0x5bda3c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5bda3c['value']);}})['then'](async _0x17228c=>{const {imageFallbackUrl:_0x6db9e6,imageSources:_0x145f73}=_0x359580(_0x17228c['cdnUrl'],_0x17228c['imageInfo']['width']);return{'uploadcareImageId':_0x17228c['uuid'],'default':_0x6db9e6,'sources':_0x145f73};})['catch'](()=>{const _0x3c253b=t('Cannot\x20upload\x20file:')+('\x20'+_0x55b0de['name']+'.');return Promise['reject'](_0x3c253b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3b921c}from'../uploadcareconfig.js';export function getTranslation(_0x3d940e,_0x1edcdf,_0x5dc171){const t=_0x3d940e['t'],_0x10fced=_0x3d940e['t'];switch(_0x1edcdf){case _0x3b921c['Local']:return{'text':_0x10fced('Insert'===_0x5dc171?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x10fced('From\x20computer')};case _0x3b921c['URL']:return{'text':'Insert'===_0x5dc171?_0x10fced('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x10fced('Via\x20URL')};case _0x3b921c['Dropbox']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3b921c['Facebook']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3b921c['GDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3b921c['GPhotos']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3b921c['Instagram']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x3b921c['OneDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1edcdf;}}
23
+ import{UploadcareSource as _0x4c2a51}from'../uploadcareconfig.js';export function getTranslation(_0x39bb41,_0x15df29,_0x3d5b74){const t=_0x39bb41['t'],_0x1c0c6e=_0x39bb41['t'];switch(_0x15df29){case _0x4c2a51['Local']:return{'text':_0x1c0c6e('Insert'===_0x3d5b74?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1c0c6e('From\x20computer')};case _0x4c2a51['URL']:return{'text':'Insert'===_0x3d5b74?_0x1c0c6e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1c0c6e('Via\x20URL')};case _0x4c2a51['Dropbox']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4c2a51['Facebook']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4c2a51['GDrive']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4c2a51['GPhotos']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4c2a51['Instagram']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x4c2a51['OneDrive']:return{'text':t('Insert'===_0x3d5b74?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15df29;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2cc9f2=_0x279e;(function(_0x35d7f2,_0x36653f){var _0xb8f0b9=_0x279e,_0x5020e1=_0x35d7f2();while(!![]){try{var _0x4528e8=parseInt(_0xb8f0b9(0x111))/0x1+parseInt(_0xb8f0b9(0x10f))/0x2+-parseInt(_0xb8f0b9(0x112))/0x3*(parseInt(_0xb8f0b9(0x118))/0x4)+parseInt(_0xb8f0b9(0x115))/0x5+parseInt(_0xb8f0b9(0x110))/0x6+parseInt(_0xb8f0b9(0x117))/0x7+parseInt(_0xb8f0b9(0x10d))/0x8*(-parseInt(_0xb8f0b9(0x119))/0x9);if(_0x4528e8===_0x36653f)break;else _0x5020e1['push'](_0x5020e1['shift']());}catch(_0x1b902b){_0x5020e1['push'](_0x5020e1['shift']());}}}(_0x7497,0xb0d5d));function _0x7497(){var _0x7a5404=['24ofZsnY','getFocusableElement','912510MySTGe','3252174MNQaiC','41893oNdDhp','28131tEQieA','true','createCollection','1423265kPwRje','focusCycler','6116747VZdlTF','496xfTNll','934758OmjIzs','fire','forwardCycle','div','focusTracker','bindTemplate'];_0x7497=function(){return _0x7a5404;};return _0x7497();}function _0x279e(_0x1877c9,_0x3b7d81){var _0x749752=_0x7497();return _0x279e=function(_0x279ee5,_0x5bc9fa){_0x279ee5=_0x279ee5-0x10b;var _0x284993=_0x749752[_0x279ee5];return _0x284993;},_0x279e(_0x1877c9,_0x3b7d81);}import{FocusTracker as _0x4ce974}from'ckeditor5/src/utils.js';import{View as _0x256591,FocusCycler as _0x53079b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x256591{constructor(_0x4135c8){var _0x15a039=_0x279e;super(_0x4135c8),this[_0x15a039(0x10b)]=new _0x4ce974(),this[_0x15a039(0x116)]=new _0x53079b({'focusables':this[_0x15a039(0x114)](),'focusTracker':this[_0x15a039(0x10b)]});}[_0x2cc9f2(0x10e)](){var _0x4e2668=_0x2cc9f2;return{'tag':_0x4e2668(0x11c),'attributes':{'aria-hidden':_0x4e2668(0x113),'tabindex':'0'},'on':{'focus':this[_0x4e2668(0x10c)]['to'](()=>{var _0x36eb1a=_0x4e2668;this[_0x36eb1a(0x116)][_0x36eb1a(0x11a)](_0x36eb1a(0x11b));})}};}}
23
+ function _0x3f39(_0x56d7a5,_0x1f7d6a){var _0xe70d1a=_0xe70d();return _0x3f39=function(_0x3f394a,_0x3e1c66){_0x3f394a=_0x3f394a-0x17a;var _0x246854=_0xe70d1a[_0x3f394a];return _0x246854;},_0x3f39(_0x56d7a5,_0x1f7d6a);}var _0xf05ae3=_0x3f39;(function(_0xf08fc2,_0x2f8f72){var _0x1c89a3=_0x3f39,_0x3b94ec=_0xf08fc2();while(!![]){try{var _0x517e35=-parseInt(_0x1c89a3(0x17b))/0x1+parseInt(_0x1c89a3(0x186))/0x2*(-parseInt(_0x1c89a3(0x17c))/0x3)+-parseInt(_0x1c89a3(0x17a))/0x4*(-parseInt(_0x1c89a3(0x17d))/0x5)+parseInt(_0x1c89a3(0x17f))/0x6*(-parseInt(_0x1c89a3(0x188))/0x7)+-parseInt(_0x1c89a3(0x17e))/0x8+parseInt(_0x1c89a3(0x180))/0x9*(parseInt(_0x1c89a3(0x184))/0xa)+parseInt(_0x1c89a3(0x18b))/0xb;if(_0x517e35===_0x2f8f72)break;else _0x3b94ec['push'](_0x3b94ec['shift']());}catch(_0x29e621){_0x3b94ec['push'](_0x3b94ec['shift']());}}}(_0xe70d,0x6f27d));function _0xe70d(){var _0x3e50ec=['focusTracker','focusCycler','29800452sibUfL','getFocusableElement','createCollection','26552JDUXEh','892373ACvQES','1446BQXfhx','5VEQDWy','5537344ErRQZj','578892DDjILE','3709656uYsioy','forwardCycle','bindTemplate','fire','10cwUdDm','div','3314btyzEd','true','21YvEGbW'];_0xe70d=function(){return _0x3e50ec;};return _0xe70d();}import{FocusTracker as _0x331651}from'ckeditor5/src/utils.js';import{View as _0x586c83,FocusCycler as _0x3e67bb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x586c83{constructor(_0x137521){var _0x44d361=_0x3f39;super(_0x137521),this[_0x44d361(0x189)]=new _0x331651(),this[_0x44d361(0x18a)]=new _0x3e67bb({'focusables':this[_0x44d361(0x18d)](),'focusTracker':this[_0x44d361(0x189)]});}[_0xf05ae3(0x18c)](){var _0x1985b1=_0xf05ae3;return{'tag':_0x1985b1(0x185),'attributes':{'aria-hidden':_0x1985b1(0x187),'tabindex':'0'},'on':{'focus':this[_0x1985b1(0x182)]['to'](()=>{var _0x4afcea=_0x1985b1;this[_0x4afcea(0x18a)][_0x4afcea(0x183)](_0x4afcea(0x181));})}};}}