@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250129.1 → 0.0.0-nightly-20250131.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 _0x5b7a(){var _0x12de08=['Local','25650SQWYXO','facebook','GPhotos','6419305OFlMul','dropbox','OneDrive','7024266ogGywQ','local','url','instagram','18705nqDUZd','1912gVlSXQ','42170292eXvHOM','Instagram','URL','22631dXUJRx','gphotos','onedrive','198wlgMut','gdrive','5456460xqwZim','GDrive','Facebook','Dropbox'];_0x5b7a=function(){return _0x12de08;};return _0x5b7a();}(function(_0x44d7e7,_0x4c521c){var _0x5ba6c5=_0x5d9d,_0x4a69ac=_0x44d7e7();while(!![]){try{var _0x19c6e4=parseInt(_0x5ba6c5(0xa8))/0x1+-parseInt(_0x5ba6c5(0x97))/0x2*(parseInt(_0x5ba6c5(0x9e))/0x3)+-parseInt(_0x5ba6c5(0x99))/0x4+-parseInt(_0x5ba6c5(0xa1))/0x5+-parseInt(_0x5ba6c5(0xa4))/0x6+parseInt(_0x5ba6c5(0x94))/0x7*(parseInt(_0x5ba6c5(0xa9))/0x8)+parseInt(_0x5ba6c5(0xaa))/0x9;if(_0x19c6e4===_0x4c521c)break;else _0x4a69ac['push'](_0x4a69ac['shift']());}catch(_0x561bec){_0x4a69ac['push'](_0x4a69ac['shift']());}}}(_0x5b7a,0xc6343));export var UploadcareSource;function _0x5d9d(_0x389095,_0x59365f){var _0x5b7a0d=_0x5b7a();return _0x5d9d=function(_0x5d9dbc,_0x20de64){_0x5d9dbc=_0x5d9dbc-0x92;var _0x1ff351=_0x5b7a0d[_0x5d9dbc];return _0x1ff351;},_0x5d9d(_0x389095,_0x59365f);}!function(_0x2efe53){var _0x403ab1=_0x5d9d;_0x2efe53[_0x403ab1(0x9d)]=_0x403ab1(0xa5),_0x2efe53[_0x403ab1(0x93)]=_0x403ab1(0xa6),_0x2efe53[_0x403ab1(0x9c)]=_0x403ab1(0xa2),_0x2efe53[_0x403ab1(0x9a)]=_0x403ab1(0x98),_0x2efe53[_0x403ab1(0x9b)]=_0x403ab1(0x9f),_0x2efe53[_0x403ab1(0xa0)]=_0x403ab1(0x95),_0x2efe53[_0x403ab1(0x92)]=_0x403ab1(0xa7),_0x2efe53[_0x403ab1(0xa3)]=_0x403ab1(0x96);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x499d(_0x161e6f,_0x55aff6){var _0x25d943=_0x25d9();return _0x499d=function(_0x499d98,_0x768b41){_0x499d98=_0x499d98-0x1e0;var _0x5cc2b1=_0x25d943[_0x499d98];return _0x5cc2b1;},_0x499d(_0x161e6f,_0x55aff6);}function _0x25d9(){var _0x384e40=['gdrive','1420062XIqMiq','3403863bfcZQF','567qLOUyT','OneDrive','Dropbox','facebook','local','475210fwFIxW','instagram','Local','Instagram','URL','GPhotos','2VYWyMB','30bmrGsn','GDrive','Facebook','url','213572EeeBXf','gphotos','122330IQjkdp','174110zLkPsj','dropbox','onedrive','7608vAKPGC'];_0x25d9=function(){return _0x384e40;};return _0x25d9();}(function(_0x63f47b,_0xd6eacc){var _0x328494=_0x499d,_0x44f5aa=_0x63f47b();while(!![]){try{var _0x1cb8f6=-parseInt(_0x328494(0x1f4))/0x1+-parseInt(_0x328494(0x1ec))/0x2*(-parseInt(_0x328494(0x1f9))/0x3)+-parseInt(_0x328494(0x1f1))/0x4+parseInt(_0x328494(0x1e6))/0x5*(-parseInt(_0x328494(0x1ed))/0x6)+parseInt(_0x328494(0x1e1))/0x7*(parseInt(_0x328494(0x1f7))/0x8)+parseInt(_0x328494(0x1e0))/0x9+parseInt(_0x328494(0x1f3))/0xa;if(_0x1cb8f6===_0xd6eacc)break;else _0x44f5aa['push'](_0x44f5aa['shift']());}catch(_0x4fefb4){_0x44f5aa['push'](_0x44f5aa['shift']());}}}(_0x25d9,0x3a220));export var UploadcareSource;!function(_0x50be31){var _0x1ce9da=_0x499d;_0x50be31[_0x1ce9da(0x1e8)]=_0x1ce9da(0x1e5),_0x50be31[_0x1ce9da(0x1ea)]=_0x1ce9da(0x1f0),_0x50be31[_0x1ce9da(0x1e3)]=_0x1ce9da(0x1f5),_0x50be31[_0x1ce9da(0x1ee)]=_0x1ce9da(0x1f8),_0x50be31[_0x1ce9da(0x1ef)]=_0x1ce9da(0x1e4),_0x50be31[_0x1ce9da(0x1eb)]=_0x1ce9da(0x1f2),_0x50be31[_0x1ce9da(0x1e9)]=_0x1ce9da(0x1e7),_0x50be31[_0x1ce9da(0x1e2)]=_0x1ce9da(0x1f6);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24705a=_0x432f;(function(_0x1556fb,_0x5f2f39){const _0x3d1e15=_0x432f,_0x4b6228=_0x1556fb();while(!![]){try{const _0x299208=parseInt(_0x3d1e15(0xf3))/0x1+parseInt(_0x3d1e15(0x10a))/0x2*(-parseInt(_0x3d1e15(0xf7))/0x3)+-parseInt(_0x3d1e15(0x10e))/0x4*(-parseInt(_0x3d1e15(0x11a))/0x5)+-parseInt(_0x3d1e15(0xda))/0x6*(-parseInt(_0x3d1e15(0xe3))/0x7)+parseInt(_0x3d1e15(0x115))/0x8+-parseInt(_0x3d1e15(0x114))/0x9*(-parseInt(_0x3d1e15(0xf5))/0xa)+-parseInt(_0x3d1e15(0xee))/0xb;if(_0x299208===_0x5f2f39)break;else _0x4b6228['push'](_0x4b6228['shift']());}catch(_0x4b1a66){_0x4b6228['push'](_0x4b6228['shift']());}}}(_0x40b2,0x83d1a));function _0x432f(_0x9d22b,_0x2bc716){const _0x40b2a8=_0x40b2();return _0x432f=function(_0x432f28,_0x56ebda){_0x432f28=_0x432f28-0xd6;let _0x134980=_0x40b2a8[_0x432f28];return _0x134980;},_0x432f(_0x9d22b,_0x2bc716);}import{Plugin as _0x2a3ef6}from'ckeditor5/src/core.js';import{Dialog as _0x30b370}from'ckeditor5/src/ui.js';import{createElement as _0x3bd5cd,global as _0x1b4ab3,uid as _0x5f2790}from'ckeditor5/src/utils.js';import _0xa0f55b from'./uploadcarecommand.js';import _0x900a4 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5ef355}from'./utils/editingutils.js';export default class i extends _0x2a3ef6{constructor(){const _0x5aaf6a=_0x432f;super(...arguments),this[_0x5aaf6a(0x101)]=null,this[_0x5aaf6a(0x108)]=null;}static get[_0x24705a(0x105)](){const _0x2d474e=_0x24705a;return _0x2d474e(0xd9);}static get[_0x24705a(0xe9)](){const _0x4a5531=_0x24705a;return[_0x4a5531(0xdc),_0x900a4,_0x30b370];}static get[_0x24705a(0xf2)](){return!0x0;}static get[_0x24705a(0x103)](){return!0x0;}get[_0x24705a(0x116)](){const _0x11e7ce=_0x24705a;return this[_0x11e7ce(0x101)];}get[_0x24705a(0x11e)](){const _0x109184=_0x24705a;return this[_0x109184(0x108)];}[_0x24705a(0x124)](){const _0x347b95=_0x24705a,_0x103ab1=this[_0x347b95(0xe4)];_0x103ab1[_0x347b95(0xf9)][_0x347b95(0xe1)](_0x347b95(0xdb),new _0xa0f55b(_0x103ab1));}[_0x24705a(0xf6)](){const _0x4decb3=_0x24705a;this[_0x4decb3(0x111)](),this[_0x4decb3(0x11f)](),this[_0x4decb3(0xff)](),this[_0x4decb3(0xfa)](),this[_0x4decb3(0x129)](),this[_0x4decb3(0xe8)](this[_0x4decb3(0xe4)],_0x4decb3(0xf4),()=>{const _0x5c0260=_0x4decb3;this[_0x5c0260(0x101)]&&(this[_0x5c0260(0x101)][_0x5c0260(0xd8)](),this[_0x5c0260(0x101)]=null),this[_0x5c0260(0x108)]&&(this[_0x5c0260(0x108)][_0x5c0260(0xd8)](),this[_0x5c0260(0x108)]=null);const _0x50d61f=_0x1b4ab3[_0x5c0260(0x102)][_0x5c0260(0x110)](_0x5c0260(0x112));_0x50d61f&&_0x50d61f[_0x5c0260(0xd8)]();}),async function(_0x1e8779){const _0x15a29d=_0x2414a2([0x4a,0x35,0x64,0x49,0x72,0x48,0x7a,0x79,0x78,0x70,0x43,0x37,0x59,0x41,0x38,0x75,0x6d,0x36,0x74,0x46,0x44,0x66,0x55,0x4d,0x50,0x51,0x67,0x6c,0x61,0x4c,0x77,0x52,0x65,0x58,0x34,0x33,0x6b,0x68,0x6e,0x5a,0x69,0x31,0x53,0x45,0x71,0x42,0x4e,0x32,0x47,0x73,0x57,0x62,0x76,0x56,0x4b,0x6a,0x63,0x54,0x4f,0x30,0x6f,0x39]),_0xfce425=0x2a995340,_0x16b849=0x2a9e0eb8^_0xfce425,_0x3abcae=window[_0x2414a2([0x44,0x61,0x74,0x65])][_0x2414a2([0x6e,0x6f,0x77])](),_0x55b1d5=_0x1e8779[_0x2414a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x58a079=new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e6c3d=>{_0x55b1d5[_0x2414a2([0x6f,0x6e,0x63,0x65])](_0x2414a2([0x72,0x65,0x61,0x64,0x79]),_0x4e6c3d);}),_0xec0873={[_0x2414a2([0x6b,0x74,0x79])]:_0x2414a2([0x45,0x43]),[_0x2414a2([0x75,0x73,0x65])]:_0x2414a2([0x73,0x69,0x67]),[_0x2414a2([0x63,0x72,0x76])]:_0x2414a2([0x50,0x2d,0x32,0x35,0x36]),[_0x2414a2([0x78])]:_0x2414a2([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]),[_0x2414a2([0x79])]:_0x2414a2([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]),[_0x2414a2([0x61,0x6c,0x67])]:_0x2414a2([0x45,0x53,0x32,0x35,0x36])},_0x400c0c=_0x55b1d5[_0x2414a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2414a2([0x67,0x65,0x74])](_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bca95(){let _0x203f87,_0x58124c=null,_0x2ab4b1=null;try{if(_0x400c0c==_0x2414a2([0x47,0x50,0x4c]))return _0x2414a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x203f87=_0x2001bd(),!_0x203f87)return _0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x203f87[_0x2414a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ab4b1=_0xd75b79(_0x203f87[_0x2414a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x203f87[_0x2414a2([0x6a,0x74,0x69])])),await _0x25ded1()?_0x5c18a9()?_0x2986f7()?_0x2414a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a3217()?(_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2414a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58124c=_0xd70799(_0x2414a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2414a2([0x74,0x72,0x69,0x61,0x6c])&&(_0x58124c=_0xd70799(_0x2414a2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42fc5d()):_0x2414a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2414a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x281fec){return _0x2414a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2986f7(){const _0x37dc63=[_0x2414a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2414a2([0x74,0x72,0x69,0x61,0x6c])][_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3abcae/0x3e8:0xe10*_0x16b849;return _0x203f87[_0x2414a2([0x65,0x78,0x70])]<_0x37dc63;}function _0x5c18a9(){const _0x729444=_0x203f87[_0x2414a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x729444&&(!!_0x729444[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x2a]))||!!_0x729444[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x55,0x50,0x4c,0x43])));}function _0x2a3217(){const _0x4b310d=_0x432f,_0x3a81d6=_0x203f87[_0x2414a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a81d6||0x0==_0x3a81d6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x430972}=new URL(window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b310d(0xfd)]);if(_0x3a81d6[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430972))return!0x0;const _0x269ffd=_0x430972[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e]));return _0x3a81d6[_0x2414a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d6a4=>_0x18d6a4[_0x2414a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2414a2([0x2a])))[_0x2414a2([0x6d,0x61,0x70])](_0xe31646=>_0xe31646[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e])))[_0x2414a2([0x73,0x6f,0x6d,0x65])](_0x3803ad=>_0x269ffd[_0x2414a2([0x65,0x76,0x65,0x72,0x79])]((_0x1d9d0b,_0x33b653)=>_0x3803ad[_0x33b653]===_0x1d9d0b||_0x3803ad[_0x33b653]===_0x2414a2([0x2a])));}function _0x42fc5d(){return _0x58124c&&_0x2ab4b1?new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfca690,_0x1590d7)=>{_0x58124c[_0x2414a2([0x74,0x68,0x65,0x6e])](_0xfca690,_0x1590d7),_0x2ab4b1[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x5a5c60=>{_0x5a5c60!=_0x2414a2([0x56,0x61,0x6c,0x69,0x64])&&_0xfca690(_0x5a5c60);},_0x1590d7);}):_0x58124c||_0x2ab4b1||_0x2414a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd75b79(_0x1262a2,_0x110988){return new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3afcaf=>{if(_0x59b454())return _0x3afcaf(_0x2414a2([0x56,0x61,0x6c,0x69,0x64]));_0x2a02e1(),_0x55b1d5[_0x2414a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x341b5d=!0x1;const _0x3e4abb=_0x5f2790();function _0x3b0268(_0x2b3308){return!!_0x2b3308&&(typeof _0x2b3308===_0x2414a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b3308===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b3308[_0x2414a2([0x74,0x68,0x65,0x6e])]===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b3308[_0x2414a2([0x63,0x61,0x74,0x63,0x68])]===_0x2414a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x491e15(_0x4e87a2){_0x3e7414(_0x4e87a2)[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x51c74c=>{if(!_0x51c74c||_0x51c74c[_0x2414a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2414a2([0x6f,0x6b]))return _0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cd3a4(_0x4c5944(_0x3e4abb+_0x110988))!=_0x51c74c[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2414a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x7ea5d5=>(_0x3372c8(),_0x7ea5d5),()=>{const _0x5a5e19=_0x5a712a();return null==_0x5a5e19?(_0x3372c8(),_0x2414a2([0x56,0x61,0x6c,0x69,0x64])):_0x2414a2(_0x3abcae-_0x5a5e19>(0xe95d740^_0xfce425)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x3afcaf)[_0x2414a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e1cf0=0x2aafbdc0^_0xfce425;function _0x3372c8(){const _0xf346cd=_0x2414a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd3a4(_0x4c5944(_0x1262a2)),_0x309fda=_0x55e6dd(_0x2cd3a4(window[_0x2414a2([0x4d,0x61,0x74,0x68])][_0x2414a2([0x63,0x65,0x69,0x6c])](_0x3abcae/_0x2e1cf0)));window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2414a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf346cd,_0x309fda);}function _0x5a712a(){const _0x144398=_0x2414a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd3a4(_0x4c5944(_0x1262a2)),_0x1786ce=window[_0x2414a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2414a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144398);return _0x1786ce?window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55e6dd(_0x1786ce),0x10)*_0x2e1cf0:null;}function _0x3e7414(_0x3787ce){return new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x337379,_0x159b1e)=>{_0x3787ce[_0x2414a2([0x74,0x68,0x65,0x6e])](_0x337379,_0x159b1e),window[_0x2414a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x159b1e,0x2a988780^_0xfce425);});}}_0x55b1d5[_0x2414a2([0x6f,0x6e])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f3665,_0x36cd2c)=>{if(_0x36cd2c[0x0]!=_0x1262a2)return _0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36cd2c[0x1]={..._0x36cd2c[0x1],[_0x2414a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e4abb};},{[_0x2414a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2414a2([0x68,0x69,0x67,0x68])}),_0x55b1d5[_0x2414a2([0x6f,0x6e])](_0x2414a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3353a7=>{_0x3b0268(_0x3353a7[_0x2414a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x341b5d=!0x0,_0x491e15(_0x3353a7[_0x2414a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2414a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2414a2([0x6c,0x6f,0x77])}),_0x58a079[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>{_0x341b5d||_0x3afcaf(_0x2414a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59b454(){return _0x55b1d5[_0x2414a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2414a2([0x76,0x69,0x65,0x77])][_0x2414a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2414a2([0x61,0x75,0x74,0x6f]);}function _0x2a02e1(){_0x55b1d5[_0x2414a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2414a2([0x76,0x69,0x65,0x77])][_0x2414a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2414a2([0x61,0x75,0x74,0x6f]);}}function _0xd70799(_0x2c1734){const _0x53adde=[new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429015=>setTimeout(_0x429015,0x2a906d8c^_0xfce425)),_0x58a079[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e758f=>{let _0x1fd704=0x0;_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x6f,0x6e])](_0x2414a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2347ad,_0x4d8ece)=>{_0x4d8ece[0x0][_0x2414a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd704++,_0x1fd704==(0x2a9952b8^_0xfce425)&&(_0x4e758f(),_0x2347ad[_0x2414a2([0x6f,0x66,0x66])]());});}))];return window[_0x2414a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2414a2([0x72,0x61,0x63,0x65])](_0x53adde)[_0x2414a2([0x74,0x68,0x65,0x6e])](()=>_0x2c1734);}async function _0x22bf01(){await _0x58a079,_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x418f3b,_0x55b1d5[_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x2414a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x418f3b,_0x55b1d5[_0x2414a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2414a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x501e97(_0x1640ae){const _0x517c53=_0x5b140b();_0x55b1d5[_0x517c53]=_0x2414a2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1640ae,_0x1640ae!=_0x2414a2([0x56,0x61,0x6c,0x69,0x64])&&_0x22bf01();}function _0x5b140b(){const _0x280b9b=window[_0x2414a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2414a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2414a2([0x6e,0x6f,0x77])]())[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2414a2([0x2e]),'');let _0x43cd50=_0x2414a2([0x4a]);for(let _0x2c95db=0x0;_0x2c95db<_0x280b9b[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c95db+=0x2){let _0x2064ee=window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x280b9b[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c95db,_0x2c95db+0x2));_0x2064ee>=_0x15a29d[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2064ee-=_0x15a29d[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43cd50+=_0x15a29d[_0x2064ee];}return _0x43cd50;}function _0x2001bd(){const _0x54559a=_0x400c0c[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e]));if(0x3!=_0x54559a[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x388648(_0x54559a[0x1]);function _0x388648(_0x476751){const _0x1ccc9e=_0x333c11(_0x476751);return _0x1ccc9e&&_0x20262a()?_0x1ccc9e:null;function _0x20262a(){const _0x2def6=_0x1ccc9e[_0x2414a2([0x6a,0x74,0x69])],_0x54d4f6=window[_0x2414a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2def6[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2def6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57d3ef={..._0x1ccc9e,[_0x2414a2([0x6a,0x74,0x69])]:_0x2def6[_0x2414a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2def6[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57d3ef[_0x2414a2([0x76,0x63])],_0x4c5944(_0x57d3ef)==_0x54d4f6;}}}async function _0x25ded1(){let _0x15c390=!0x0;try{const _0x2170d0=_0x400c0c[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])](_0x2414a2([0x2e])),[_0x643865,_0x12f7d8,_0x3725f5]=_0x2170d0;return _0x3cb150(_0x643865),await _0x5dff9c(_0x643865,_0x12f7d8,_0x3725f5),_0x15c390;}catch(_0x8e3f80){return!0x1;}function _0x3cb150(_0x1d3e52){const _0xb19b00=_0x333c11(_0x1d3e52);_0xb19b00&&_0xb19b00[_0x2414a2([0x61,0x6c,0x67])]==_0x2414a2([0x45,0x53,0x32,0x35,0x36])||(_0x15c390=!0x1);}async function _0x5dff9c(_0x5ccb41,_0x3904b7,_0x55c962){const _0x1f253d=window[_0x2414a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2414a2([0x66,0x72,0x6f,0x6d])](_0x222f42(_0x55c962),_0x32e3a6=>_0x32e3a6[_0x2414a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6e0fe9=new window[(_0x2414a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2414a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ccb41+_0x2414a2([0x2e])+_0x3904b7),_0x928845=window[_0x2414a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2414a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x928845)return;const _0x5ad86e=await _0x928845[_0x2414a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2414a2([0x6a,0x77,0x6b]),_0xec0873,{[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x45,0x43,0x44,0x53,0x41]),[_0x2414a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2414a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x928845[_0x2414a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x45,0x43,0x44,0x53,0x41]),[_0x2414a2([0x68,0x61,0x73,0x68])]:{[_0x2414a2([0x6e,0x61,0x6d,0x65])]:_0x2414a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ad86e,_0x1f253d,_0x6e0fe9)||(_0x15c390=!0x1);}}function _0x333c11(_0x1acbc2){return _0x1acbc2[_0x2414a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2414a2([0x65,0x79]))?JSON[_0x2414a2([0x70,0x61,0x72,0x73,0x65])](_0x222f42(_0x1acbc2)):null;}function _0x222f42(_0x56ede8){return window[_0x2414a2([0x61,0x74,0x6f,0x62])](_0x56ede8[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2414a2([0x2b]))[_0x2414a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2414a2([0x2f])));}function _0x4c5944(_0x5ed118){let _0x141939=0x1505;function _0x320194(_0x2f1a6b){for(let _0x3a4023=0x0;_0x3a4023<_0x2f1a6b[_0x2414a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a4023++){const _0x23e659=_0x2f1a6b[_0x2414a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a4023);_0x141939=(_0x141939<<0x5)+_0x141939+_0x23e659,_0x141939&=_0x141939;}}function _0x54f534(_0x5b1591){Array[_0x2414a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b1591)?_0x5b1591[_0x2414a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f534):_0x5b1591&&typeof _0x5b1591==_0x2414a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2414a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b1591)[_0x2414a2([0x73,0x6f,0x72,0x74])]()[_0x2414a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46df33,_0x23e0ac])=>{_0x320194(_0x46df33),_0x54f534(_0x23e0ac);}):_0x320194(window[_0x2414a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b1591));}return _0x54f534(_0x5ed118),_0x141939>>>0x0;}function _0x2cd3a4(_0x3b95d2){return _0x3b95d2[_0x2414a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2414a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2414a2([0x30]));}function _0x55e6dd(_0x32d637){return _0x32d637[_0x2414a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2414a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2414a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x418f3b(){}function _0x2414a2(_0x5683fe){const _0x35d37c=_0x432f;return _0x5683fe[_0x35d37c(0x10c)](_0x2914d4=>String[_0x35d37c(0xf8)](_0x2914d4))[_0x35d37c(0x121)]('');}_0x501e97(await _0x3bca95());}(this);}[_0x24705a(0x111)](){const _0x496a75=_0x24705a,_0x5bc6a6=this[_0x496a75(0xe4)][_0x496a75(0x117)][_0x496a75(0x109)];_0x5bc6a6[_0x496a75(0xe6)](_0x496a75(0x122))&&_0x5bc6a6[_0x496a75(0xd6)](_0x496a75(0x122),{'allowAttributes':[_0x496a75(0x127)]}),_0x5bc6a6[_0x496a75(0xe6)](_0x496a75(0xfc))&&_0x5bc6a6[_0x496a75(0xd6)](_0x496a75(0xfc),{'allowAttributes':[_0x496a75(0x127)]});}[_0x24705a(0x11f)](){const _0x55d2ac=_0x24705a,_0x14c1a4=this[_0x55d2ac(0xe4)];_0x14c1a4[_0x55d2ac(0x10f)][_0x55d2ac(0x10b)](_0x55d2ac(0xdd))[_0x55d2ac(0x10d)]({'model':_0x55d2ac(0x127),'view':_0x55d2ac(0x107)}),_0x14c1a4[_0x55d2ac(0x10f)][_0x55d2ac(0x10b)](_0x55d2ac(0x12a))[_0x55d2ac(0xdf)]({'model':{'key':_0x55d2ac(0x127),'value':_0x1e7608=>_0x1e7608[_0x55d2ac(0x125)](_0x55d2ac(0x107))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2de1da=_0x14c1a4[_0x55d2ac(0xf9)][_0x55d2ac(0x119)](_0x55d2ac(0x104));_0x2de1da&&this[_0x55d2ac(0xe8)](_0x2de1da,_0x55d2ac(0xeb),(_0x1f752f,[_0x556a65,_0x46174e])=>{const _0x4f5488=_0x55d2ac;_0x556a65[_0x4f5488(0x113)](_0x4f5488(0x127),_0x46174e);});}[_0x24705a(0xff)](){const _0x12e818=_0x24705a,_0x3f7bda=this[_0x12e818(0xe4)][_0x12e818(0xfe)][_0x12e818(0x119)](_0x12e818(0x120))||{},_0x3da908=this[_0x12e818(0xe4)][_0x12e818(0xfe)][_0x12e818(0x119)](_0x12e818(0xe0))||'';this[_0x12e818(0x101)]=_0x3bd5cd(_0x1b4ab3[_0x12e818(0x102)],_0x12e818(0xe2),{..._0x3f7bda,'pubkey':_0x3da908,'ctx-name':_0x12e818(0x126),'sourceList':'','imgOnly':_0x12e818(0xf0),'removeCopyright':_0x12e818(0xf0),'localeName':this[_0x12e818(0xe4)][_0x12e818(0xea)][_0x12e818(0xe5)],'externalSourcesEmbedCss':_0x12e818(0xfb)}),this[_0x12e818(0x101)][_0x12e818(0x11b)]=_0x1c0eaf=>{const _0x166e8a=_0x12e818;if(_0x166e8a(0xe7)==_0x1c0eaf)return _0x166e8a(0x118);},_0x1b4ab3[_0x12e818(0x102)][_0x12e818(0xed)][_0x12e818(0xef)](this[_0x12e818(0x101)]);}[_0x24705a(0xfa)](){const _0x153098=_0x24705a;this[_0x153098(0x108)]=_0x3bd5cd(_0x1b4ab3[_0x153098(0x102)],_0x153098(0xec),{'ctx-name':_0x153098(0x126)}),_0x1b4ab3[_0x153098(0x102)][_0x153098(0xed)][_0x153098(0xef)](this[_0x153098(0x108)]);}[_0x24705a(0x129)](){const _0x4f0270=_0x24705a,_0x2fd0ed=this[_0x4f0270(0xe4)][_0x4f0270(0xf9)][_0x4f0270(0x119)](_0x4f0270(0xf1));_0x2fd0ed&&this[_0x4f0270(0xe8)](_0x2fd0ed,_0x4f0270(0x128),()=>{const _0x1c9d8f=_0x4f0270,_0x2450c3=this[_0x1c9d8f(0xe4)][_0x1c9d8f(0x117)][_0x1c9d8f(0x102)][_0x1c9d8f(0xde)][_0x1c9d8f(0x123)]();_0x2450c3&&_0x2450c3[_0x1c9d8f(0x125)](_0x1c9d8f(0x127))&&this[_0x1c9d8f(0xe4)][_0x1c9d8f(0x11d)][_0x1c9d8f(0x106)][_0x1c9d8f(0x11c)](_0x1c9d8f(0xd7),()=>{const _0xb26e7e=_0x1c9d8f;_0x5ef355(this[_0xb26e7e(0xe4)],_0x2450c3);});});const _0x53af63=this[_0x4f0270(0xe4)][_0x4f0270(0xf9)][_0x4f0270(0x119)](_0x4f0270(0x100));_0x53af63&&this[_0x4f0270(0xe8)](_0x53af63,_0x4f0270(0x128),()=>{const _0x54321e=_0x4f0270,_0x470b4d=this[_0x54321e(0xe4)][_0x54321e(0x117)][_0x54321e(0x102)][_0x54321e(0xde)][_0x54321e(0x123)]();_0x470b4d&&_0x470b4d[_0x54321e(0x125)](_0x54321e(0x127))&&this[_0x54321e(0xe4)][_0x54321e(0x11d)][_0x54321e(0x106)][_0x54321e(0x11c)](_0x54321e(0xd7),()=>{const _0x3eb4d3=_0x54321e;_0x5ef355(this[_0x3eb4d3(0xe4)],_0x470b4d);});});}}function _0x40b2(){const _0x1c8cf5=['getSelectedElement','init','getAttribute','uploader','uploadcareImageId','execute','_initImageProcessingIndicator','upcast','extend','render','remove','UploadcareEditing','28602kEYAgZ','uploadcare','PictureEditing','downcast','selection','elementToAttribute','uploadcare.pubkey','add','uc-config','1337bOdClU','editor','contentLanguage','isRegistered','closeMax','listenTo','requires','locale','cleanupImage','uc-upload-ctx-provider','body','28655803zcRUKk','appendChild','true','insertImage','isOfficialPlugin','1050547FKrkDI','destroy','905210Peanmn','afterInit','4002PMrhIu','fromCharCode','commands','_initCtx','\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','imageInline','href','config','_initConfig','uploadcareImageReplace','_configElement','document','isPremiumPlugin','replaceImageSource','pluginName','view','data-uc-image-id','_ctxElement','schema','166bKuIkt','for','map','attributeToAttribute','2428DQsyrw','conversion','querySelector','_initSchema','input[uploadcare-file-input]','removeAttribute','27vNOqKj','6499912USdvMj','configElement','model','#uc-icon-arrow-down','get','1735kLXfmw','iconHrefResolver','once','editing','ctxElement','_initConversion','uploadcare.uploader','join','imageBlock'];_0x40b2=function(){return _0x1c8cf5;};return _0x40b2();}
23
+ const _0x217759=_0x5006;(function(_0x8a8d53,_0x3c5c04){const _0x3b8aad=_0x5006,_0x3e0403=_0x8a8d53();while(!![]){try{const _0x11e69f=-parseInt(_0x3b8aad(0x1ac))/0x1*(-parseInt(_0x3b8aad(0x199))/0x2)+parseInt(_0x3b8aad(0x193))/0x3*(-parseInt(_0x3b8aad(0x195))/0x4)+parseInt(_0x3b8aad(0x176))/0x5*(parseInt(_0x3b8aad(0x1a1))/0x6)+parseInt(_0x3b8aad(0x169))/0x7+parseInt(_0x3b8aad(0x19e))/0x8*(-parseInt(_0x3b8aad(0x1b3))/0x9)+-parseInt(_0x3b8aad(0x182))/0xa+-parseInt(_0x3b8aad(0x175))/0xb*(parseInt(_0x3b8aad(0x17f))/0xc);if(_0x11e69f===_0x3c5c04)break;else _0x3e0403['push'](_0x3e0403['shift']());}catch(_0x5a1d06){_0x3e0403['push'](_0x3e0403['shift']());}}}(_0x4b30,0xb04ca));function _0x4b30(){const _0x5deff2=['appendChild','editing','_ctxElement','input[uploadcare-file-input]','_initImageProcessingIndicator','listenTo','_initConfig','_initConversion','ctxElement','locale','9880849LUiWRl','65eNCFyn','requires','href','afterInit','selection','destroy','isOfficialPlugin','uploadcare','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','12iHiZzS','querySelector','removeAttribute','1131250WggOky','commands','uploadcare.pubkey','attributeToAttribute','_configElement','replaceImageSource','upcast','view','uploadcareImageId','iconHrefResolver','map','pluginName','isRegistered','isPremiumPlugin','closeMax','model','true','12sxaLbO','fromCharCode','992436YEJTSy','cleanupImage','UploadcareEditing','uc-config','38bqarxg','getSelectedElement','imageInline','init','execute','4519120wskgYM','document','join','388722qBqbVn','uploadcareImageReplace','conversion','data-uc-image-id','downcast','contentLanguage','_initSchema','config','#uc-icon-arrow-down','for','insertImage','68437xrUoBM','add','getAttribute','once','render','uploader','elementToAttribute','9tjPuhb','extend','body','editor','uc-upload-ctx-provider','get','remove','_initCtx','imageBlock','uploadcare.uploader','PictureEditing','configElement','8038086QGZJXO','schema'];_0x4b30=function(){return _0x5deff2;};return _0x4b30();}import{Plugin as _0x43b43d}from'ckeditor5/src/core.js';import{Dialog as _0x1e35f9}from'ckeditor5/src/ui.js';import{createElement as _0x27b946,global as _0x173bea,uid as _0x485001}from'ckeditor5/src/utils.js';import _0x15b3d9 from'./uploadcarecommand.js';import _0x17fa67 from'./uploadcareuploadadapter.js';function _0x5006(_0x43ce53,_0x43c222){const _0x4b30e5=_0x4b30();return _0x5006=function(_0x50064c,_0x30495e){_0x50064c=_0x50064c-0x165;let _0x260a7b=_0x4b30e5[_0x50064c];return _0x260a7b;},_0x5006(_0x43ce53,_0x43c222);}import{showImageProcessingIndicator as _0x3cd812}from'./utils/editingutils.js';export default class i extends _0x43b43d{constructor(){const _0x19c8cd=_0x5006;super(...arguments),this[_0x19c8cd(0x186)]=null,this[_0x19c8cd(0x16d)]=null;}static get[_0x217759(0x18d)](){const _0xed973=_0x217759;return _0xed973(0x197);}static get[_0x217759(0x177)](){const _0x39fbbb=_0x217759;return[_0x39fbbb(0x167),_0x17fa67,_0x1e35f9];}static get[_0x217759(0x17c)](){return!0x0;}static get[_0x217759(0x18f)](){return!0x0;}get[_0x217759(0x168)](){const _0x299f19=_0x217759;return this[_0x299f19(0x186)];}get[_0x217759(0x173)](){const _0xc8a5e3=_0x217759;return this[_0xc8a5e3(0x16d)];}[_0x217759(0x19c)](){const _0x15572d=_0x217759,_0x1a307e=this[_0x15572d(0x1b6)];_0x1a307e[_0x15572d(0x183)][_0x15572d(0x1ad)](_0x15572d(0x17d),new _0x15b3d9(_0x1a307e));}[_0x217759(0x179)](){const _0x439ac6=_0x217759;this[_0x439ac6(0x1a7)](),this[_0x439ac6(0x172)](),this[_0x439ac6(0x171)](),this[_0x439ac6(0x1ba)](),this[_0x439ac6(0x16f)](),this[_0x439ac6(0x170)](this[_0x439ac6(0x1b6)],_0x439ac6(0x17b),()=>{const _0xc486e6=_0x439ac6;this[_0xc486e6(0x186)]&&(this[_0xc486e6(0x186)][_0xc486e6(0x1b9)](),this[_0xc486e6(0x186)]=null),this[_0xc486e6(0x16d)]&&(this[_0xc486e6(0x16d)][_0xc486e6(0x1b9)](),this[_0xc486e6(0x16d)]=null);const _0x5ee1ba=_0x173bea[_0xc486e6(0x19f)][_0xc486e6(0x180)](_0xc486e6(0x16e));_0x5ee1ba&&_0x5ee1ba[_0xc486e6(0x1b9)]();}),async function(_0x4dab66){const _0x75a560=_0x391540([0x32,0x64,0x43,0x78,0x50,0x68,0x73,0x52,0x5a,0x48,0x6a,0x4e,0x6c,0x35,0x38,0x71,0x67,0x69,0x72,0x47,0x55,0x56,0x76,0x6b,0x36,0x30,0x6f,0x4d,0x61,0x34,0x4a,0x6e,0x66,0x59,0x49,0x42,0x58,0x6d,0x57,0x41,0x74,0x53,0x70,0x62,0x45,0x37,0x39,0x46,0x44,0x4b,0x63,0x75,0x4f,0x7a,0x31,0x4c,0x54,0x51,0x65,0x77,0x79,0x33]),_0xdd2b2b=0x65f91acc,_0x17a599=0x65fe44e4^_0xdd2b2b,_0x46bf23=window[_0x391540([0x44,0x61,0x74,0x65])][_0x391540([0x6e,0x6f,0x77])](),_0x5885b3=_0x4dab66[_0x391540([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ed446=new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349abf=>{_0x5885b3[_0x391540([0x6f,0x6e,0x63,0x65])](_0x391540([0x72,0x65,0x61,0x64,0x79]),_0x349abf);}),_0x3a9a7a={[_0x391540([0x6b,0x74,0x79])]:_0x391540([0x45,0x43]),[_0x391540([0x75,0x73,0x65])]:_0x391540([0x73,0x69,0x67]),[_0x391540([0x63,0x72,0x76])]:_0x391540([0x50,0x2d,0x32,0x35,0x36]),[_0x391540([0x78])]:_0x391540([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x391540([0x79])]:_0x391540([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x391540([0x61,0x6c,0x67])]:_0x391540([0x45,0x53,0x32,0x35,0x36])},_0x28658c=_0x5885b3[_0x391540([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x391540([0x67,0x65,0x74])](_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ec2b9(){let _0x1b000c,_0x4e95b9=null,_0xb71273=null;try{if(_0x28658c==_0x391540([0x47,0x50,0x4c]))return _0x391540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b000c=_0x3e4bd0(),!_0x1b000c)return _0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b000c[_0x391540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb71273=_0x301977(_0x1b000c[_0x391540([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b000c[_0x391540([0x6a,0x74,0x69])])),await _0x42405a()?_0x33ba4a()?_0x2b1ffd()?_0x391540([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa565c9()?(_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e95b9=_0x53fef9(_0x391540([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x391540([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e95b9=_0x53fef9(_0x391540([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534379()):_0x391540([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x391540([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x42320b){return _0x391540([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b1ffd(){const _0x37978=[_0x391540([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x391540([0x74,0x72,0x69,0x61,0x6c])][_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46bf23/0x3e8:0xe10*_0x17a599;return _0x1b000c[_0x391540([0x65,0x78,0x70])]<_0x37978;}function _0x33ba4a(){const _0x111fd3=_0x1b000c[_0x391540([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x111fd3&&(!!_0x111fd3[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x2a]))||!!_0x111fd3[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x55,0x50,0x4c,0x43])));}function _0xa565c9(){const _0x40f80d=_0x5006,_0x13af64=_0x1b000c[_0x391540([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13af64||0x0==_0x13af64[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e115e}=new URL(window[_0x391540([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40f80d(0x178)]);if(_0x13af64[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e115e))return!0x0;const _0x5810fe=_0x2e115e[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e]));return _0x13af64[_0x391540([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f5081=>_0x5f5081[_0x391540([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391540([0x2a])))[_0x391540([0x6d,0x61,0x70])](_0x3866a2=>_0x3866a2[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e])))[_0x391540([0x73,0x6f,0x6d,0x65])](_0x4f0150=>_0x5810fe[_0x391540([0x65,0x76,0x65,0x72,0x79])]((_0x505263,_0x34b694)=>_0x4f0150[_0x34b694]===_0x505263||_0x4f0150[_0x34b694]===_0x391540([0x2a])));}function _0x534379(){return _0x4e95b9&&_0xb71273?new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ff88a,_0x31a67a)=>{_0x4e95b9[_0x391540([0x74,0x68,0x65,0x6e])](_0x2ff88a,_0x31a67a),_0xb71273[_0x391540([0x74,0x68,0x65,0x6e])](_0x39b700=>{_0x39b700!=_0x391540([0x56,0x61,0x6c,0x69,0x64])&&_0x2ff88a(_0x39b700);},_0x31a67a);}):_0x4e95b9||_0xb71273||_0x391540([0x56,0x61,0x6c,0x69,0x64]);}}function _0x301977(_0x282044,_0x3c04d8){return new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3fc4e=>{if(_0x1d1a1d())return _0xf3fc4e(_0x391540([0x56,0x61,0x6c,0x69,0x64]));_0x11ed7a(),_0x5885b3[_0x391540([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x120d83=!0x1;const _0x45c93e=_0x485001();function _0x47f650(_0x151f72){return!!_0x151f72&&(typeof _0x151f72===_0x391540([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x151f72===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x151f72[_0x391540([0x74,0x68,0x65,0x6e])]===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x151f72[_0x391540([0x63,0x61,0x74,0x63,0x68])]===_0x391540([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a7fda(_0x3e03b5){_0x34603f(_0x3e03b5)[_0x391540([0x74,0x68,0x65,0x6e])](_0x92fe78=>{if(!_0x92fe78||_0x92fe78[_0x391540([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x391540([0x6f,0x6b]))return _0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f973b(_0x5b1b0f(_0x45c93e+_0x3c04d8))!=_0x92fe78[_0x391540([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x391540([0x56,0x61,0x6c,0x69,0x64]);})[_0x391540([0x74,0x68,0x65,0x6e])](_0x37dfcd=>(_0x4a23a8(),_0x37dfcd),()=>{const _0x2d091a=_0x27d2c5();return null==_0x2d091a?(_0x4a23a8(),_0x391540([0x56,0x61,0x6c,0x69,0x64])):_0x391540(_0x46bf23-_0x2d091a>(0x41f59ecc^_0xdd2b2b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x391540([0x74,0x68,0x65,0x6e])](_0xf3fc4e)[_0x391540([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f5cae=0x65cff44c^_0xdd2b2b;function _0x4a23a8(){const _0x37fa62=_0x391540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f973b(_0x5b1b0f(_0x282044)),_0x19995b=_0x504d5b(_0x3f973b(window[_0x391540([0x4d,0x61,0x74,0x68])][_0x391540([0x63,0x65,0x69,0x6c])](_0x46bf23/_0x3f5cae)));window[_0x391540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391540([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37fa62,_0x19995b);}function _0x27d2c5(){const _0x11be91=_0x391540([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f973b(_0x5b1b0f(_0x282044)),_0x4f6c61=window[_0x391540([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x391540([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11be91);return _0x4f6c61?window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504d5b(_0x4f6c61),0x10)*_0x3f5cae:null;}function _0x34603f(_0x9fbb95){return new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2eae8a,_0x17a57b)=>{_0x9fbb95[_0x391540([0x74,0x68,0x65,0x6e])](_0x2eae8a,_0x17a57b),window[_0x391540([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17a57b,0x65f8ce0c^_0xdd2b2b);});}}_0x5885b3[_0x391540([0x6f,0x6e])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x398b95,_0x425fa8)=>{if(_0x425fa8[0x0]!=_0x282044)return _0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x425fa8[0x1]={..._0x425fa8[0x1],[_0x391540([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45c93e};},{[_0x391540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391540([0x68,0x69,0x67,0x68])}),_0x5885b3[_0x391540([0x6f,0x6e])](_0x391540([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b8fa6=>{_0x47f650(_0x5b8fa6[_0x391540([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x120d83=!0x0,_0x3a7fda(_0x5b8fa6[_0x391540([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x391540([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x391540([0x6c,0x6f,0x77])}),_0x5ed446[_0x391540([0x74,0x68,0x65,0x6e])](()=>{_0x120d83||_0xf3fc4e(_0x391540([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d1a1d(){return _0x5885b3[_0x391540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391540([0x76,0x69,0x65,0x77])][_0x391540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x391540([0x61,0x75,0x74,0x6f]);}function _0x11ed7a(){_0x5885b3[_0x391540([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x391540([0x76,0x69,0x65,0x77])][_0x391540([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x391540([0x61,0x75,0x74,0x6f]);}}function _0x53fef9(_0x3462a6){const _0x4a3275=[new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x131f63=>setTimeout(_0x131f63,0x65f02400^_0xdd2b2b)),_0x5ed446[_0x391540([0x74,0x68,0x65,0x6e])](()=>new window[(_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ff4e0=>{let _0x5d0c33=0x0;_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x6f,0x6e])](_0x391540([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47aba5,_0x38460e)=>{_0x38460e[0x0][_0x391540([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0c33++,_0x5d0c33==(0x65f91b34^_0xdd2b2b)&&(_0x1ff4e0(),_0x47aba5[_0x391540([0x6f,0x66,0x66])]());});}))];return window[_0x391540([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x391540([0x72,0x61,0x63,0x65])](_0x4a3275)[_0x391540([0x74,0x68,0x65,0x6e])](()=>_0x3462a6);}async function _0x5bf765(){await _0x5ed446,_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28b463,_0x5885b3[_0x391540([0x6d,0x6f,0x64,0x65,0x6c])][_0x391540([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28b463,_0x5885b3[_0x391540([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x391540([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x347819(_0x40233a){const _0x53dcf6=_0x433783();_0x5885b3[_0x53dcf6]=_0x391540([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40233a,_0x40233a!=_0x391540([0x56,0x61,0x6c,0x69,0x64])&&_0x5bf765();}function _0x433783(){const _0x4d7d9a=window[_0x391540([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x391540([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x391540([0x6e,0x6f,0x77])]())[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x391540([0x2e]),'');let _0x141955=_0x391540([0x64]);for(let _0x4a5c2b=0x0;_0x4a5c2b<_0x4d7d9a[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a5c2b+=0x2){let _0x19a571=window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d7d9a[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5c2b,_0x4a5c2b+0x2));_0x19a571>=_0x75a560[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19a571-=_0x75a560[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x141955+=_0x75a560[_0x19a571];}return _0x141955;}function _0x3e4bd0(){const _0x50be87=_0x28658c[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e]));if(0x3!=_0x50be87[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b9e8f(_0x50be87[0x1]);function _0x2b9e8f(_0x31c4b6){const _0x3788fc=_0x22a850(_0x31c4b6);return _0x3788fc&&_0x537f6c()?_0x3788fc:null;function _0x537f6c(){const _0x533462=_0x3788fc[_0x391540([0x6a,0x74,0x69])],_0x1f50c9=window[_0x391540([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x533462[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x533462[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ddf2f={..._0x3788fc,[_0x391540([0x6a,0x74,0x69])]:_0x533462[_0x391540([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x533462[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ddf2f[_0x391540([0x76,0x63])],_0x5b1b0f(_0x4ddf2f)==_0x1f50c9;}}}async function _0x42405a(){let _0x5a9e3f=!0x0;try{const _0x590102=_0x28658c[_0x391540([0x73,0x70,0x6c,0x69,0x74])](_0x391540([0x2e])),[_0x59f3a0,_0x4b88cc,_0x3f4858]=_0x590102;return _0x19a76d(_0x59f3a0),await _0x1ad771(_0x59f3a0,_0x4b88cc,_0x3f4858),_0x5a9e3f;}catch(_0x15cda0){return!0x1;}function _0x19a76d(_0x10c781){const _0x2aa7bd=_0x22a850(_0x10c781);_0x2aa7bd&&_0x2aa7bd[_0x391540([0x61,0x6c,0x67])]==_0x391540([0x45,0x53,0x32,0x35,0x36])||(_0x5a9e3f=!0x1);}async function _0x1ad771(_0x341560,_0x14d3dc,_0x2f191a){const _0x4ffc93=window[_0x391540([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x391540([0x66,0x72,0x6f,0x6d])](_0x582599(_0x2f191a),_0x2ef873=>_0x2ef873[_0x391540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x530581=new window[(_0x391540([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x391540([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341560+_0x391540([0x2e])+_0x14d3dc),_0x193771=window[_0x391540([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x391540([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x193771)return;const _0x485022=await _0x193771[_0x391540([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x391540([0x6a,0x77,0x6b]),_0x3a9a7a,{[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x45,0x43,0x44,0x53,0x41]),[_0x391540([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x391540([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x391540([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x193771[_0x391540([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x45,0x43,0x44,0x53,0x41]),[_0x391540([0x68,0x61,0x73,0x68])]:{[_0x391540([0x6e,0x61,0x6d,0x65])]:_0x391540([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485022,_0x4ffc93,_0x530581)||(_0x5a9e3f=!0x1);}}function _0x22a850(_0x53f98c){return _0x53f98c[_0x391540([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x391540([0x65,0x79]))?JSON[_0x391540([0x70,0x61,0x72,0x73,0x65])](_0x582599(_0x53f98c)):null;}function _0x582599(_0x11fc6f){return window[_0x391540([0x61,0x74,0x6f,0x62])](_0x11fc6f[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x391540([0x2b]))[_0x391540([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x391540([0x2f])));}function _0x5b1b0f(_0x5b33d7){let _0x50a609=0x1505;function _0x51ac44(_0x1252ff){for(let _0x14e6b3=0x0;_0x14e6b3<_0x1252ff[_0x391540([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14e6b3++){const _0x20648e=_0x1252ff[_0x391540([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14e6b3);_0x50a609=(_0x50a609<<0x5)+_0x50a609+_0x20648e,_0x50a609&=_0x50a609;}}function _0x7bdfd3(_0x4769a3){Array[_0x391540([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4769a3)?_0x4769a3[_0x391540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7bdfd3):_0x4769a3&&typeof _0x4769a3==_0x391540([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x391540([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4769a3)[_0x391540([0x73,0x6f,0x72,0x74])]()[_0x391540([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11d4ce,_0x1ecc13])=>{_0x51ac44(_0x11d4ce),_0x7bdfd3(_0x1ecc13);}):_0x51ac44(window[_0x391540([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4769a3));}return _0x7bdfd3(_0x5b33d7),_0x50a609>>>0x0;}function _0x3f973b(_0x2787f1){return _0x2787f1[_0x391540([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x391540([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x391540([0x30]));}function _0x504d5b(_0x18ba5b){return _0x18ba5b[_0x391540([0x73,0x70,0x6c,0x69,0x74])]('')[_0x391540([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x391540([0x6a,0x6f,0x69,0x6e])]('');}function _0x28b463(){}function _0x391540(_0x41feee){const _0x24d3ff=_0x5006;return _0x41feee[_0x24d3ff(0x18c)](_0x26ea0b=>String[_0x24d3ff(0x194)](_0x26ea0b))[_0x24d3ff(0x1a0)]('');}_0x347819(await _0x1ec2b9());}(this);}[_0x217759(0x1a7)](){const _0x403114=_0x217759,_0x2720c3=this[_0x403114(0x1b6)][_0x403114(0x191)][_0x403114(0x16a)];_0x2720c3[_0x403114(0x18e)](_0x403114(0x165))&&_0x2720c3[_0x403114(0x1b4)](_0x403114(0x165),{'allowAttributes':[_0x403114(0x18a)]}),_0x2720c3[_0x403114(0x18e)](_0x403114(0x19b))&&_0x2720c3[_0x403114(0x1b4)](_0x403114(0x19b),{'allowAttributes':[_0x403114(0x18a)]});}[_0x217759(0x172)](){const _0x1eefe5=_0x217759,_0x9c253d=this[_0x1eefe5(0x1b6)];_0x9c253d[_0x1eefe5(0x1a3)][_0x1eefe5(0x1aa)](_0x1eefe5(0x1a5))[_0x1eefe5(0x185)]({'model':_0x1eefe5(0x18a),'view':_0x1eefe5(0x1a4)}),_0x9c253d[_0x1eefe5(0x1a3)][_0x1eefe5(0x1aa)](_0x1eefe5(0x188))[_0x1eefe5(0x1b2)]({'model':{'key':_0x1eefe5(0x18a),'value':_0x231c0f=>_0x231c0f[_0x1eefe5(0x1ae)](_0x1eefe5(0x1a4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x487fc1=_0x9c253d[_0x1eefe5(0x183)][_0x1eefe5(0x1b8)](_0x1eefe5(0x187));_0x487fc1&&this[_0x1eefe5(0x170)](_0x487fc1,_0x1eefe5(0x196),(_0x52c9d5,[_0x324c25,_0x4be3e5])=>{const _0x59f028=_0x1eefe5;_0x324c25[_0x59f028(0x181)](_0x59f028(0x18a),_0x4be3e5);});}[_0x217759(0x171)](){const _0x416ead=_0x217759,_0x3e3dce=this[_0x416ead(0x1b6)][_0x416ead(0x1a8)][_0x416ead(0x1b8)](_0x416ead(0x166))||{},_0x404ef8=this[_0x416ead(0x1b6)][_0x416ead(0x1a8)][_0x416ead(0x1b8)](_0x416ead(0x184))||'';this[_0x416ead(0x186)]=_0x27b946(_0x173bea[_0x416ead(0x19f)],_0x416ead(0x198),{..._0x3e3dce,'pubkey':_0x404ef8,'ctx-name':_0x416ead(0x1b1),'sourceList':'','imgOnly':_0x416ead(0x192),'removeCopyright':_0x416ead(0x192),'localeName':this[_0x416ead(0x1b6)][_0x416ead(0x174)][_0x416ead(0x1a6)],'externalSourcesEmbedCss':_0x416ead(0x17e)}),this[_0x416ead(0x186)][_0x416ead(0x18b)]=_0x3cdb93=>{const _0x54ce48=_0x416ead;if(_0x54ce48(0x190)==_0x3cdb93)return _0x54ce48(0x1a9);},_0x173bea[_0x416ead(0x19f)][_0x416ead(0x1b5)][_0x416ead(0x16b)](this[_0x416ead(0x186)]);}[_0x217759(0x1ba)](){const _0xb00d09=_0x217759;this[_0xb00d09(0x16d)]=_0x27b946(_0x173bea[_0xb00d09(0x19f)],_0xb00d09(0x1b7),{'ctx-name':_0xb00d09(0x1b1)}),_0x173bea[_0xb00d09(0x19f)][_0xb00d09(0x1b5)][_0xb00d09(0x16b)](this[_0xb00d09(0x16d)]);}[_0x217759(0x16f)](){const _0x3c4bf5=_0x217759,_0x27de68=this[_0x3c4bf5(0x1b6)][_0x3c4bf5(0x183)][_0x3c4bf5(0x1b8)](_0x3c4bf5(0x1ab));_0x27de68&&this[_0x3c4bf5(0x170)](_0x27de68,_0x3c4bf5(0x19d),()=>{const _0x34b193=_0x3c4bf5,_0x15b042=this[_0x34b193(0x1b6)][_0x34b193(0x191)][_0x34b193(0x19f)][_0x34b193(0x17a)][_0x34b193(0x19a)]();_0x15b042&&_0x15b042[_0x34b193(0x1ae)](_0x34b193(0x18a))&&this[_0x34b193(0x1b6)][_0x34b193(0x16c)][_0x34b193(0x189)][_0x34b193(0x1af)](_0x34b193(0x1b0),()=>{const _0x54b004=_0x34b193;_0x3cd812(this[_0x54b004(0x1b6)],_0x15b042);});});const _0x4eab8f=this[_0x3c4bf5(0x1b6)][_0x3c4bf5(0x183)][_0x3c4bf5(0x1b8)](_0x3c4bf5(0x1a2));_0x4eab8f&&this[_0x3c4bf5(0x170)](_0x4eab8f,_0x3c4bf5(0x19d),()=>{const _0x46dd82=_0x3c4bf5,_0x3b9c7a=this[_0x46dd82(0x1b6)][_0x46dd82(0x191)][_0x46dd82(0x19f)][_0x46dd82(0x17a)][_0x46dd82(0x19a)]();_0x3b9c7a&&_0x3b9c7a[_0x46dd82(0x1ae)](_0x46dd82(0x18a))&&this[_0x46dd82(0x1b6)][_0x46dd82(0x16c)][_0x46dd82(0x189)][_0x46dd82(0x1af)](_0x46dd82(0x1b0),()=>{const _0x17e08c=_0x46dd82;_0x3cd812(this[_0x17e08c(0x1b6)],_0x3b9c7a);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4df267,ObservableMixin as _0x2d8f25}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x485fbd}from'ckeditor5/src/ui.js';import _0x4878e7 from'./uploadcareimageeditformview.js';import _0x314534 from'../../utils/uploadutils.js';import _0x300689 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x4a0113,getImageDimension as _0x576caf}from'../../utils/editingutils.js';import{isAncestor as _0x5b2f62}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
- _0x2d8f25(){constructor(_0x55ac14,_0x13b3ef,_0x2ccc8a){super(),this['_editor']=_0x55ac14,this['_dialog']=_0x13b3ef,this['_imageElement']=_0x2ccc8a,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 _0x39d8ba=this['_imageElement'],_0x3465d1=_0x39d8ba['getAttribute']('uploadcareImageId'),_0x169036=_0x39d8ba['getAttribute']('src');if(_0x3465d1)await this['_loadImageInfo'](_0x3465d1,_0x169036);else{if(this['_imageCache']['has'](_0x169036)){const _0x583eb2=this['_imageCache']['get'](_0x169036);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x583eb2['url'],this['imageDimension']=_0x583eb2['dimension'],this['imageId']=_0x583eb2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x482eaa}=this['_editor'],t=_0x482eaa['t'],_0x26f0dd=new _0x4878e7(_0x482eaa,this['imageStatus'],this['_attributes']);_0x26f0dd['bind']('status')['to'](this,'imageStatus'),_0x26f0dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26f0dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26f0dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26f0dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x300689,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26f0dd,'position':_0x485fbd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26f0dd['focus']();},'onHide':()=>{_0x26f0dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d0e9e=>!_0x5b2f62(_0x1d0e9e,_0x26f0dd['element'])}});}['_loadImageInfo'](_0x645e94,_0x3b45da){return _0x314534['getInfo'](_0x645e94,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x48ae4e=>{const {width:_0x40ec64,height:_0x4a8b96}=_0x48ae4e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b45da,this['imageDimension']={'width':_0x40ec64,'height':_0x4a8b96},this['imageId']=_0x645e94;})['catch'](_0x584c1e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x584c1e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e98f4,_0x83846){return this['_getImageAsFile'](_0x1e98f4)['then'](_0x129d2b=>_0x314534['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x83846['signal'],'file':_0x129d2b,'onProgress':_0x488395=>{_0x488395&&_0x488395['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x488395['value']));}}))['then'](_0xd2f07a=>{const {width:_0x189de0,height:_0x2ef0f9}=_0xd2f07a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd2f07a['cdnUrl'],this['imageDimension']={'width':_0x189de0,'height':_0x2ef0f9},this['imageId']=_0xd2f07a['uuid'],this['imageUploadProgress']=null;const _0xcde6c9=_0x1e98f4['getAttribute']('src');this['_imageCache']['set'](_0xcde6c9,{'id':_0xd2f07a['uuid'],'url':_0xd2f07a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9e1024=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9e1024['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4a379e,_0x25bfba){_0x4a379e['on']('apply',(_0x118509,_0x54b231)=>{this['_replaceImage'](_0x25bfba,_0x54b231['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4a379e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4a379e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x58ded3,_0x92a608,_0x1a9e2a){const _0x43c3c6=this['_editor'],{width:_0x1a11dd,height:_0x4c6401}=_0x576caf(_0x92a608,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x72a13,imageSources:_0x2db513}=_0x4a0113(_0x92a608,_0x1a11dd);_0x43c3c6['model']['change'](_0x3bb595=>{if('$graveyard'===_0x58ded3['root']['rootName']){_0x43c3c6['execute']('insertImage',{'imageType':_0x58ded3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x58ded3['getAttributes']()),'uploadcareImageId':_0x1a9e2a,'src':_0x72a13,'sources':_0x2db513,'width':_0x1a11dd,'height':_0x4c6401}});const _0x34d733=_0x58ded3['getChildren']();_0x58ded3=_0x43c3c6['model']['document']['selection']['getSelectedElement']();for(const _0x4605e8 of _0x34d733)_0x3bb595['append'](_0x3bb595['cloneElement'](_0x4605e8),_0x58ded3);}else _0x3bb595['setSelection'](_0x58ded3,'on'),_0x43c3c6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x58ded3['getAttributes']()),'uploadcareImageId':_0x1a9e2a,'src':_0x72a13,'sources':_0x2db513,'width':_0x1a11dd,'height':_0x4c6401},_0x58ded3);_0x3bb595['setSelection'](_0x58ded3,'on');});}async['_getImageAsFile'](_0x3fcdc8){const _0x3ca0c5=_0x4df267['window'],_0x12b1eb=_0x4df267['document']['location']['href'],_0x24a462=new _0x3ca0c5['URL'](_0x3fcdc8['getAttribute']('src'),_0x12b1eb);if('data:'===_0x24a462['protocol']){const _0x2f7420=_0x24a462['href']['split'](','),_0x55944a=_0x2f7420[0x0]['match'](/:(.*?);/)[0x1],_0x47dba6=_0x55944a['split']('/')[0x1],_0x17c69f=_0x3ca0c5['atob'](_0x2f7420[_0x2f7420['length']-0x1]);let _0x4dd15f=_0x17c69f['length'];const _0x23f459=new _0x3ca0c5['Uint8Array'](_0x4dd15f);for(;_0x4dd15f--;)_0x23f459[_0x4dd15f]=_0x17c69f['charCodeAt'](_0x4dd15f);return new _0x3ca0c5['File']([_0x23f459],'image.'+_0x47dba6,{'type':_0x55944a});}const _0x173df0=_0x24a462['href']['split']('/'),_0x2c66a5=_0x173df0[_0x173df0['length']-0x1],_0x4d1b30=_0x2c66a5['split']('.')[0x1];return _0x3ca0c5['fetch'](_0x24a462['href'])['then'](_0x19af07=>_0x19af07['clone']()['blob']())['then'](_0x3066ac=>new _0x3ca0c5['File']([_0x3066ac],_0x2c66a5,{'type':'image/'+_0x4d1b30}));}}
23
+ import{global as _0x206ffd,ObservableMixin as _0x12e069}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2aa5c3}from'ckeditor5/src/ui.js';import _0x3f9b25 from'./uploadcareimageeditformview.js';import _0x5d9092 from'../../utils/uploadutils.js';import _0x45ee31 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x21e294,getImageDimension as _0x2c2f50}from'../../utils/editingutils.js';import{isAncestor as _0x246936}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x12e069(){constructor(_0x22d332,_0x3b18e4,_0x2914f9){super(),this['_editor']=_0x22d332,this['_dialog']=_0x3b18e4,this['_imageElement']=_0x2914f9,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x5a0978=this['_imageElement'],_0x2789f9=_0x5a0978['getAttribute']('uploadcareImageId'),_0x29c8d9=_0x5a0978['getAttribute']('src');if(_0x2789f9)await this['_loadImageInfo'](_0x2789f9,_0x29c8d9);else{if(this['_imageCache']['has'](_0x29c8d9)){const _0x2fbd0f=this['_imageCache']['get'](_0x29c8d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2fbd0f['url'],this['imageDimension']=_0x2fbd0f['dimension'],this['imageId']=_0x2fbd0f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x53c925}=this['_editor'],t=_0x53c925['t'],_0x1d7105=new _0x3f9b25(_0x53c925,this['imageStatus'],this['_attributes']);_0x1d7105['bind']('status')['to'](this,'imageStatus'),_0x1d7105['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d7105['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d7105['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d7105,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x45ee31,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d7105,'position':_0x2aa5c3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d7105['focus']();},'onHide':()=>{_0x1d7105['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3db9da=>!_0x246936(_0x3db9da,_0x1d7105['element'])}});}['_loadImageInfo'](_0x10b7e7,_0x5de18a){return _0x5d9092['getInfo'](_0x10b7e7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x59857f=>{const {width:_0x5a6dad,height:_0x3fcc5e}=_0x59857f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5de18a,this['imageDimension']={'width':_0x5a6dad,'height':_0x3fcc5e},this['imageId']=_0x10b7e7;})['catch'](_0x19eb98=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19eb98['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x34d254,_0x37ebc1){return this['_getImageAsFile'](_0x34d254)['then'](_0x34bbbe=>_0x5d9092['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x37ebc1['signal'],'file':_0x34bbbe,'onProgress':_0x584325=>{_0x584325&&_0x584325['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x584325['value']));}}))['then'](_0x5f3a39=>{const {width:_0x9e9b5,height:_0x7a0eb9}=_0x5f3a39['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f3a39['cdnUrl'],this['imageDimension']={'width':_0x9e9b5,'height':_0x7a0eb9},this['imageId']=_0x5f3a39['uuid'],this['imageUploadProgress']=null;const _0x1ebaee=_0x34d254['getAttribute']('src');this['_imageCache']['set'](_0x1ebaee,{'id':_0x5f3a39['uuid'],'url':_0x5f3a39['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2bc4c3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bc4c3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x25b214,_0x1b095b){_0x25b214['on']('apply',(_0x2c1af8,_0x450f0d)=>{this['_replaceImage'](_0x1b095b,_0x450f0d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x25b214['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x25b214['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x561672,_0x4deb63,_0x371933){const _0x1449fa=this['_editor'],{width:_0x4a9ae9,height:_0x5839cf}=_0x2c2f50(_0x4deb63,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f5ba0,imageSources:_0x288dc4}=_0x21e294(_0x4deb63,_0x4a9ae9);_0x1449fa['model']['change'](_0x4280ee=>{if('$graveyard'===_0x561672['root']['rootName']){_0x1449fa['execute']('insertImage',{'imageType':_0x561672['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x561672['getAttributes']()),'uploadcareImageId':_0x371933,'src':_0x4f5ba0,'sources':_0x288dc4,'width':_0x4a9ae9,'height':_0x5839cf}});const _0x2de328=_0x561672['getChildren']();_0x561672=_0x1449fa['model']['document']['selection']['getSelectedElement']();for(const _0x1f123a of _0x2de328)_0x4280ee['append'](_0x4280ee['cloneElement'](_0x1f123a),_0x561672);}else _0x4280ee['setSelection'](_0x561672,'on'),_0x1449fa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x561672['getAttributes']()),'uploadcareImageId':_0x371933,'src':_0x4f5ba0,'sources':_0x288dc4,'width':_0x4a9ae9,'height':_0x5839cf},_0x561672);_0x4280ee['setSelection'](_0x561672,'on');});}async['_getImageAsFile'](_0x5bd8bf){const _0x265ade=_0x206ffd['window'],_0x40e7b7=_0x206ffd['document']['location']['href'],_0x320103=new _0x265ade['URL'](_0x5bd8bf['getAttribute']('src'),_0x40e7b7);if('data:'===_0x320103['protocol']){const _0x5a1c8c=_0x320103['href']['split'](','),_0x3fc81d=_0x5a1c8c[0x0]['match'](/:(.*?);/)[0x1],_0xd534ca=_0x3fc81d['split']('/')[0x1],_0x43fa78=_0x265ade['atob'](_0x5a1c8c[_0x5a1c8c['length']-0x1]);let _0x3de42f=_0x43fa78['length'];const _0x2e8b5e=new _0x265ade['Uint8Array'](_0x3de42f);for(;_0x3de42f--;)_0x2e8b5e[_0x3de42f]=_0x43fa78['charCodeAt'](_0x3de42f);return new _0x265ade['File']([_0x2e8b5e],'image.'+_0xd534ca,{'type':_0x3fc81d});}const _0x319b51=_0x320103['href']['split']('/'),_0x5e77bd=_0x319b51[_0x319b51['length']-0x1],_0x4a8a07=_0x5e77bd['split']('.')[0x1];return _0x265ade['fetch'](_0x320103['href'])['then'](_0x46de52=>_0x46de52['clone']()['blob']())['then'](_0x4d8650=>new _0x265ade['File']([_0x4d8650],_0x5e77bd,{'type':'image/'+_0x4a8a07}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2b8794,_0x296044){const _0x3e0169=_0x5a1c,_0x45eca0=_0x2b8794();while(!![]){try{const _0x4b26e4=parseInt(_0x3e0169(0x1f7))/0x1*(parseInt(_0x3e0169(0x1f4))/0x2)+-parseInt(_0x3e0169(0x1ed))/0x3+-parseInt(_0x3e0169(0x1ec))/0x4+parseInt(_0x3e0169(0x1f6))/0x5*(-parseInt(_0x3e0169(0x1f0))/0x6)+parseInt(_0x3e0169(0x1f8))/0x7*(-parseInt(_0x3e0169(0x1f9))/0x8)+parseInt(_0x3e0169(0x1fb))/0x9*(-parseInt(_0x3e0169(0x1f1))/0xa)+parseInt(_0x3e0169(0x1ee))/0xb;if(_0x4b26e4===_0x296044)break;else _0x45eca0['push'](_0x45eca0['shift']());}catch(_0x24c4cd){_0x45eca0['push'](_0x45eca0['shift']());}}}(_0xa49d,0x4fbcc));import{View as _0x1de79c}from'ckeditor5/src/ui.js';function _0x5a1c(_0x1663cf,_0x30ac73){const _0xa49dbd=_0xa49d();return _0x5a1c=function(_0x5a1c72,_0xbccf36){_0x5a1c72=_0x5a1c72-0x1eb;let _0x4c4f1d=_0xa49dbd[_0x5a1c72];return _0x4c4f1d;},_0x5a1c(_0x1663cf,_0x30ac73);}export default class tt extends _0x1de79c{constructor(_0x2534f2,_0x7ce046){const _0x40cd8e=_0x5a1c;super(_0x2534f2);const _0xb0c621=this[_0x40cd8e(0x1eb)];this[_0x40cd8e(0x1f5)](_0x40cd8e(0x1ef),''),this[_0x40cd8e(0x1fa)]({'tag':_0x40cd8e(0x1f2),'attributes':{..._0x7ce046,'class':[_0x40cd8e(0x1f3),_0x40cd8e(0x1fd)],'ctx-name':_0x40cd8e(0x1fc),'cdn-url':_0xb0c621['to'](_0x40cd8e(0x1ef))}});}}function _0xa49d(){const _0x23919d=['18mPxlUs','image-edit','ck-uploadcare-theme','bindTemplate','160464hhNESn','396525McwRXF','14979074ojvmzD','imageSrc','418686otrkzO','162050JsdVQy','uc-cloud-image-editor','uc-light','10uLeQQp','set','35RofgOU','10895onpREh','2775059VWTjcX','8dKJWbE','setTemplate'];_0xa49d=function(){return _0x23919d;};return _0xa49d();}
23
+ (function(_0x62ac4c,_0x2588f3){const _0x3c75c9=_0xf651,_0x11b041=_0x62ac4c();while(!![]){try{const _0x376bb0=parseInt(_0x3c75c9(0x7d))/0x1+-parseInt(_0x3c75c9(0x89))/0x2+parseInt(_0x3c75c9(0x87))/0x3+-parseInt(_0x3c75c9(0x82))/0x4*(-parseInt(_0x3c75c9(0x7e))/0x5)+parseInt(_0x3c75c9(0x83))/0x6+parseInt(_0x3c75c9(0x84))/0x7*(-parseInt(_0x3c75c9(0x7f))/0x8)+-parseInt(_0x3c75c9(0x8e))/0x9*(parseInt(_0x3c75c9(0x80))/0xa);if(_0x376bb0===_0x2588f3)break;else _0x11b041['push'](_0x11b041['shift']());}catch(_0xbb5394){_0x11b041['push'](_0x11b041['shift']());}}}(_0x5868,0xa5858));function _0x5868(){const _0x3cc9d6=['image-edit','ck-uploadcare-theme','setTemplate','imageSrc','9gUPHne','1069840TomSQo','30ZrhgjI','1600728JRpfru','18400990sMCjWb','bindTemplate','411496eyXkPw','5431788HooglQ','21KBxNGy','uc-light','set','3524454bOTSYG','uc-cloud-image-editor','1297704Jorhbo'];_0x5868=function(){return _0x3cc9d6;};return _0x5868();}import{View as _0x438e55}from'ckeditor5/src/ui.js';function _0xf651(_0x5487a0,_0x13f4a4){const _0x5868d9=_0x5868();return _0xf651=function(_0xf6514f,_0xc7a028){_0xf6514f=_0xf6514f-0x7d;let _0x108cdc=_0x5868d9[_0xf6514f];return _0x108cdc;},_0xf651(_0x5487a0,_0x13f4a4);}export default class tt extends _0x438e55{constructor(_0x34e775,_0x220fb3){const _0x467d1d=_0xf651;super(_0x34e775);const _0xe8167f=this[_0x467d1d(0x81)];this[_0x467d1d(0x86)](_0x467d1d(0x8d),''),this[_0x467d1d(0x8c)]({'tag':_0x467d1d(0x88),'attributes':{..._0x220fb3,'class':[_0x467d1d(0x85),_0x467d1d(0x8b)],'ctx-name':_0x467d1d(0x8a),'cdn-url':_0xe8167f['to'](_0x467d1d(0x8d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4741a7,IconView as et,View as _0xa6ccb4}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0xa6ccb4{constructor(_0x800603){super(_0x800603);const t=_0x800603['t'];this['set']('errorType',null);const _0x10f8d8=new _0x4741a7(_0x800603);_0x10f8d8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x10f8d8['withText']=!0x0,_0x10f8d8['class']='ck-button-action',_0x10f8d8['on']('execute',()=>{this['fire']('retry');}),_0x10f8d8['bind']('isVisible')['to'](this,'errorType',_0x577e00=>'NotFound'!==_0x577e00);const _0x58813c=new et();_0x58813c['content']=at,_0x58813c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a6dce=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':[_0x58813c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a6dce['to']('errorType',_0xdc8eda=>t('NotFound'!==_0xdc8eda?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x10f8d8]},{'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 _0x1ec506,IconView as et,View as _0x191c8e}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x191c8e{constructor(_0x3309d6){super(_0x3309d6);const t=_0x3309d6['t'];this['set']('errorType',null);const _0x18c12f=new _0x1ec506(_0x3309d6);_0x18c12f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x18c12f['withText']=!0x0,_0x18c12f['class']='ck-button-action',_0x18c12f['on']('execute',()=>{this['fire']('retry');}),_0x18c12f['bind']('isVisible')['to'](this,'errorType',_0x5dd5a6=>'NotFound'!==_0x5dd5a6);const _0x2125d4=new et();_0x2125d4['content']=at,_0x2125d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x246b5d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2125d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x246b5d['to']('errorType',_0x29067c=>t('NotFound'!==_0x29067c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x18c12f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x41d656,View as _0x553b29}from'ckeditor5/src/ui.js';export default class ta extends _0x553b29{constructor(_0x22c732){super(_0x22c732);const t=_0x22c732['t'],_0x144c21=this['bindTemplate'],_0x1d83a5=new _0x41d656();_0x1d83a5['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':[_0x1d83a5,{'text':_0x144c21['to']('imageUploadProgress',_0x2cdf21=>t('Loading\x20image...')+'\x20('+(_0x2cdf21||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 _0x41ee6e,View as _0x48096d}from'ckeditor5/src/ui.js';export default class ta extends _0x48096d{constructor(_0xdc2336){super(_0xdc2336);const t=_0xdc2336['t'],_0x52140a=this['bindTemplate'],_0x44aefc=new _0x41ee6e();_0x44aefc['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x44aefc,{'text':_0x52140a['to']('imageUploadProgress',_0x459753=>t('Loading\x20image...')+'\x20('+(_0x459753||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa9d4f=_0x568d;(function(_0xc6874,_0x5d6a87){const _0x86272a=_0x568d,_0x41998d=_0xc6874();while(!![]){try{const _0x45df38=-parseInt(_0x86272a(0x1ce))/0x1*(parseInt(_0x86272a(0x1cc))/0x2)+parseInt(_0x86272a(0x1a1))/0x3+-parseInt(_0x86272a(0x1a5))/0x4+-parseInt(_0x86272a(0x1b0))/0x5*(-parseInt(_0x86272a(0x1a0))/0x6)+parseInt(_0x86272a(0x1c9))/0x7*(parseInt(_0x86272a(0x1b7))/0x8)+parseInt(_0x86272a(0x1bb))/0x9*(parseInt(_0x86272a(0x1a2))/0xa)+-parseInt(_0x86272a(0x1d5))/0xb;if(_0x45df38===_0x5d6a87)break;else _0x41998d['push'](_0x41998d['shift']());}catch(_0x44c849){_0x41998d['push'](_0x41998d['shift']());}}}(_0x2ee0,0xdce4f));import{View as _0x4e06d1}from'ckeditor5/src/ui.js';import _0x2517f0 from'./uploadcareimageeditformloadingview.js';import _0x364d28 from'./uploadcareimageeditformerrorview.js';import _0x47dc28 from'./uploadcareimageeditformeditingview.js';import _0x1672aa from'../../utils/dialogfocusmanagerview.js';function _0x2ee0(){const _0x27556f=['_waitForImageEditorComponent','render','_setView','cdnUrl','450EYzmCJ','div','addEventListener','detail','target','uc-cloud-image-editor','add','1784clsimn','_items','clear','once','9RHUFFH','observe','addedNodes','setTemplate','element','nodeName','_loadingView','uploading','length','toLowerCase','getFocusableElement','filter','retry','apply','35063FzotFx','focus','error','1205258aUhvtK','ck-reset_all-excluded','1PyCXXV','_editingView','change:status','_addErrorViewListeners','status','cancel','ck-uploadcare-form','36399638wWnuxD','createCollection','_addUploadcareImageEditorListeners','63324xvQbUP','5092941GVWkjI','17638340suxgpd','querySelector','_focusableView','2847512RcCGYi','_errorView','fire','ready','disconnect','addMany','set'];_0x2ee0=function(){return _0x27556f;};return _0x2ee0();}function _0x568d(_0x207226,_0x54505b){const _0x2ee0bf=_0x2ee0();return _0x568d=function(_0x568d65,_0x789bcb){_0x568d65=_0x568d65-0x19e;let _0x18d839=_0x2ee0bf[_0x568d65];return _0x18d839;},_0x568d(_0x207226,_0x54505b);}import'../../../theme/uploadcare-form.css';export default class ii extends _0x1672aa{constructor(_0x47166e,_0x1a9456,_0x457482){const _0x26a0cc=_0x568d;super(_0x47166e),this[_0x26a0cc(0x1b8)]=this[_0x26a0cc(0x19e)](),this[_0x26a0cc(0x1c1)]=new _0x2517f0(_0x47166e),this[_0x26a0cc(0x1a6)]=new _0x364d28(_0x47166e),this[_0x26a0cc(0x1cf)]=new _0x47dc28(_0x47166e,_0x457482),this[_0x26a0cc(0x1a4)]=new _0x4e06d1(_0x47166e),this[_0x26a0cc(0x1a4)][_0x26a0cc(0x1be)](this[_0x26a0cc(0x1c5)]()),this[_0x26a0cc(0x1ab)](_0x26a0cc(0x1d2),_0x1a9456),this[_0x26a0cc(0x1be)]({'tag':_0x26a0cc(0x1b1),'attributes':{'class':['ck',_0x26a0cc(0x1cd),_0x26a0cc(0x1d4)],'tabindex':'-1'},'children':this[_0x26a0cc(0x1b8)]}),this[_0x26a0cc(0x1ae)](),this[_0x26a0cc(0x1ba)](_0x26a0cc(0x1ad),()=>{const _0x30240b=_0x26a0cc;this[_0x30240b(0x1ac)](this[_0x30240b(0x1bf)],_0x356034=>{const _0x2e6aa6=_0x30240b;this[_0x2e6aa6(0x19f)](_0x356034);});}),this['on'](_0x26a0cc(0x1d0),()=>{const _0x150535=_0x26a0cc;this[_0x150535(0x1ae)]();}),this[_0x26a0cc(0x1d1)]();}[_0xa9d4f(0x1ca)](){const _0x1d4b4a=_0xa9d4f;this[_0x1d4b4a(0x1bf)][_0x1d4b4a(0x1ca)]();}[_0xa9d4f(0x1ae)](){const _0x21ac6e=_0xa9d4f;switch(this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b9)](),this[_0x21ac6e(0x1d2)]){case _0x21ac6e(0x1c2):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b6)](this[_0x21ac6e(0x1c1)]);break;case _0x21ac6e(0x1cb):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1b6)](this[_0x21ac6e(0x1a6)]);break;case _0x21ac6e(0x1a8):this[_0x21ac6e(0x1b8)][_0x21ac6e(0x1aa)]([this[_0x21ac6e(0x1cf)],this[_0x21ac6e(0x1a4)]]);}}[_0xa9d4f(0x1ac)](_0x2ad590,_0x44cf7c){const _0x1aaa1b=_0xa9d4f,_0x237640=_0x1aaa1b(0x1b5),_0x5a4748=_0x2ad590[_0x1aaa1b(0x1a3)](_0x237640);if(_0x5a4748)return _0x44cf7c(_0x5a4748);const _0x647fb=new MutationObserver(_0x191188=>{const _0x320cd6=_0x1aaa1b,_0x24c989=_0x191188[_0x320cd6(0x1c6)](_0x47f96f=>_0x47f96f[_0x320cd6(0x1b4)]===_0x2ad590&&_0x47f96f[_0x320cd6(0x1bd)][_0x320cd6(0x1c3)]>0x0&&_0x47f96f[_0x320cd6(0x1bd)][0x0][_0x320cd6(0x1c0)][_0x320cd6(0x1c4)]()===_0x237640);_0x24c989[_0x320cd6(0x1c3)]&&(_0x647fb[_0x320cd6(0x1a9)](),_0x44cf7c(_0x24c989[0x0][_0x320cd6(0x1bd)][0x0]));});_0x647fb[_0x1aaa1b(0x1bc)](_0x2ad590,{'childList':!0x0,'subtree':!0x0});}[_0xa9d4f(0x19f)](_0x3c990a){const _0x2963b3=_0xa9d4f;_0x3c990a[_0x2963b3(0x1b2)](_0x2963b3(0x1c8),_0x37a3c3=>{const _0xb4ec82=_0x2963b3;this[_0xb4ec82(0x1a7)](_0xb4ec82(0x1c8),{'imageSrc':_0x37a3c3[_0xb4ec82(0x1b3)][_0xb4ec82(0x1af)]});}),_0x3c990a[_0x2963b3(0x1b2)](_0x2963b3(0x1d3),()=>{const _0x2b1ad6=_0x2963b3;this[_0x2b1ad6(0x1a7)](_0x2b1ad6(0x1d3));});}[_0xa9d4f(0x1d1)](){const _0x275334=_0xa9d4f;this[_0x275334(0x1a6)]['on'](_0x275334(0x1c7),()=>{const _0x4f4b78=_0x275334;this[_0x4f4b78(0x1a7)](_0x4f4b78(0x1c7));});}}
23
+ function _0x496f(_0x49cfd2,_0x23c208){const _0x148675=_0x1486();return _0x496f=function(_0x496f34,_0x370d19){_0x496f34=_0x496f34-0x170;let _0x62205=_0x148675[_0x496f34];return _0x62205;},_0x496f(_0x49cfd2,_0x23c208);}const _0x2e447b=_0x496f;(function(_0x69f9f2,_0xf936d5){const _0x2d57ae=_0x496f,_0x48b997=_0x69f9f2();while(!![]){try{const _0x9ec26b=parseInt(_0x2d57ae(0x19b))/0x1*(-parseInt(_0x2d57ae(0x170))/0x2)+-parseInt(_0x2d57ae(0x1a4))/0x3*(parseInt(_0x2d57ae(0x198))/0x4)+parseInt(_0x2d57ae(0x184))/0x5*(parseInt(_0x2d57ae(0x173))/0x6)+-parseInt(_0x2d57ae(0x1a8))/0x7*(-parseInt(_0x2d57ae(0x17c))/0x8)+-parseInt(_0x2d57ae(0x196))/0x9+-parseInt(_0x2d57ae(0x1a2))/0xa+-parseInt(_0x2d57ae(0x188))/0xb*(-parseInt(_0x2d57ae(0x182))/0xc);if(_0x9ec26b===_0xf936d5)break;else _0x48b997['push'](_0x48b997['shift']());}catch(_0xe7cb38){_0x48b997['push'](_0x48b997['shift']());}}}(_0x1486,0x48b7e));import{View as _0x18db15}from'ckeditor5/src/ui.js';import _0x3a4f86 from'./uploadcareimageeditformloadingview.js';import _0x4f5d4c from'./uploadcareimageeditformerrorview.js';import _0x3fe0b9 from'./uploadcareimageeditformeditingview.js';import _0x10ce66 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x1486(){const _0x126f74=['element','toLowerCase','cancel','4372910nyyKOg','querySelector','1510794zxoDOD','cdnUrl','ready','fire','35veFXhg','2KVJlWS','addEventListener','_addErrorViewListeners','3108qHXqJg','_addUploadcareImageEditorListeners','disconnect','length','ck-uploadcare-form','target','render','createCollection','_loadingView','610520ClEbUb','change:status','clear','set','_setView','error','41604wcuyNg','add','3985ighPjQ','uc-cloud-image-editor','filter','once','3718XyoKOy','apply','detail','nodeName','_waitForImageEditorComponent','_editingView','addedNodes','focus','setTemplate','_items','addMany','ck-reset_all-excluded','_focusableView','uploading','1953297OuoLoy','retry','4wDgNSL','_errorView','status','510491SJIwJB','observe','getFocusableElement','div'];_0x1486=function(){return _0x126f74;};return _0x1486();}export default class ii extends _0x10ce66{constructor(_0x5dbc0c,_0x3040cb,_0x4a6df7){const _0x55364c=_0x496f;super(_0x5dbc0c),this[_0x55364c(0x191)]=this[_0x55364c(0x17a)](),this[_0x55364c(0x17b)]=new _0x3a4f86(_0x5dbc0c),this[_0x55364c(0x199)]=new _0x4f5d4c(_0x5dbc0c),this[_0x55364c(0x18d)]=new _0x3fe0b9(_0x5dbc0c,_0x4a6df7),this[_0x55364c(0x194)]=new _0x18db15(_0x5dbc0c),this[_0x55364c(0x194)][_0x55364c(0x190)](this[_0x55364c(0x19d)]()),this[_0x55364c(0x17f)](_0x55364c(0x19a),_0x3040cb),this[_0x55364c(0x190)]({'tag':_0x55364c(0x19e),'attributes':{'class':['ck',_0x55364c(0x193),_0x55364c(0x177)],'tabindex':'-1'},'children':this[_0x55364c(0x191)]}),this[_0x55364c(0x180)](),this[_0x55364c(0x187)](_0x55364c(0x179),()=>{const _0x46b7d1=_0x55364c;this[_0x46b7d1(0x18c)](this[_0x46b7d1(0x19f)],_0x3109ea=>{const _0x292bd2=_0x46b7d1;this[_0x292bd2(0x174)](_0x3109ea);});}),this['on'](_0x55364c(0x17d),()=>{const _0x5b7725=_0x55364c;this[_0x5b7725(0x180)]();}),this[_0x55364c(0x172)]();}[_0x2e447b(0x18f)](){const _0x365181=_0x2e447b;this[_0x365181(0x19f)][_0x365181(0x18f)]();}[_0x2e447b(0x180)](){const _0x2a18d9=_0x2e447b;switch(this[_0x2a18d9(0x191)][_0x2a18d9(0x17e)](),this[_0x2a18d9(0x19a)]){case _0x2a18d9(0x195):this[_0x2a18d9(0x191)][_0x2a18d9(0x183)](this[_0x2a18d9(0x17b)]);break;case _0x2a18d9(0x181):this[_0x2a18d9(0x191)][_0x2a18d9(0x183)](this[_0x2a18d9(0x199)]);break;case _0x2a18d9(0x1a6):this[_0x2a18d9(0x191)][_0x2a18d9(0x192)]([this[_0x2a18d9(0x18d)],this[_0x2a18d9(0x194)]]);}}[_0x2e447b(0x18c)](_0x2a7923,_0x32e19b){const _0x4d6308=_0x2e447b,_0x530ad3=_0x4d6308(0x185),_0x28d98d=_0x2a7923[_0x4d6308(0x1a3)](_0x530ad3);if(_0x28d98d)return _0x32e19b(_0x28d98d);const _0x447bb0=new MutationObserver(_0x406867=>{const _0x15e022=_0x4d6308,_0xb1d2e8=_0x406867[_0x15e022(0x186)](_0x59dbcb=>_0x59dbcb[_0x15e022(0x178)]===_0x2a7923&&_0x59dbcb[_0x15e022(0x18e)][_0x15e022(0x176)]>0x0&&_0x59dbcb[_0x15e022(0x18e)][0x0][_0x15e022(0x18b)][_0x15e022(0x1a0)]()===_0x530ad3);_0xb1d2e8[_0x15e022(0x176)]&&(_0x447bb0[_0x15e022(0x175)](),_0x32e19b(_0xb1d2e8[0x0][_0x15e022(0x18e)][0x0]));});_0x447bb0[_0x4d6308(0x19c)](_0x2a7923,{'childList':!0x0,'subtree':!0x0});}[_0x2e447b(0x174)](_0x3ffa87){const _0x5c2d9d=_0x2e447b;_0x3ffa87[_0x5c2d9d(0x171)](_0x5c2d9d(0x189),_0x5259f7=>{const _0x56761c=_0x5c2d9d;this[_0x56761c(0x1a7)](_0x56761c(0x189),{'imageSrc':_0x5259f7[_0x56761c(0x18a)][_0x56761c(0x1a5)]});}),_0x3ffa87[_0x5c2d9d(0x171)](_0x5c2d9d(0x1a1),()=>{const _0x3ad3c1=_0x5c2d9d;this[_0x3ad3c1(0x1a7)](_0x3ad3c1(0x1a1));});}[_0x2e447b(0x172)](){const _0x145bf8=_0x2e447b;this[_0x145bf8(0x199)]['on'](_0x145bf8(0x197),()=>{const _0x2f9307=_0x145bf8;this[_0x2f9307(0x1a7)](_0x2f9307(0x197));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x572796=_0x59ef;(function(_0x5d03b1,_0x28286e){const _0x5e3d29=_0x59ef,_0x40ac1a=_0x5d03b1();while(!![]){try{const _0x14a36c=-parseInt(_0x5e3d29(0x16c))/0x1*(-parseInt(_0x5e3d29(0x169))/0x2)+-parseInt(_0x5e3d29(0x172))/0x3+parseInt(_0x5e3d29(0x170))/0x4*(-parseInt(_0x5e3d29(0x16a))/0x5)+-parseInt(_0x5e3d29(0x156))/0x6+-parseInt(_0x5e3d29(0x15a))/0x7+-parseInt(_0x5e3d29(0x162))/0x8+parseInt(_0x5e3d29(0x15f))/0x9*(parseInt(_0x5e3d29(0x16e))/0xa);if(_0x14a36c===_0x28286e)break;else _0x40ac1a['push'](_0x40ac1a['shift']());}catch(_0x459e01){_0x40ac1a['push'](_0x40ac1a['shift']());}}}(_0x3d4e,0xee8e4));import{Command as _0x24b58a}from'ckeditor5/src/core.js';import{Dialog as _0x3568e4}from'ckeditor5/src/ui.js';import _0x556ed0 from'./ui/uploadcareimageeditcontroller.js';function _0x59ef(_0x1df0ba,_0xd69370){const _0x3d4e2b=_0x3d4e();return _0x59ef=function(_0x59ef08,_0x4ccd05){_0x59ef08=_0x59ef08-0x155;let _0x3d5d84=_0x3d4e2b[_0x59ef08];return _0x3d5d84;},_0x59ef(_0x1df0ba,_0xd69370);}function _0x3d4e(){const _0x38c069=['_isEditable','execute','document','9CcTpNP','getSelectedElement','selection','2034928cbWRBz','refresh','imageEditController','requires','element','bind','imageBlock','2568290hdeTEc','5BGiakZ','isEnabled','1XZwqaH','editor','26266510LnwNXR','uploadcare.allowExternalImagesEditing','6343556yQVuYQ','set','446658NStHxb','config','unbind','isActive','1447674LkAinu','model','get','plugins','4922764yofRVK','imageInline'];_0x3d4e=function(){return _0x38c069;};return _0x3d4e();}import{createEditabilityChecker as _0x4728f7}from'../utils/editingutils.js';export default class W extends _0x24b58a{static get[_0x572796(0x165)](){return[_0x3568e4];}constructor(_0x559380){const _0x7f356c=_0x572796;super(_0x559380),this[_0x7f356c(0x164)]=void 0x0,this[_0x7f356c(0x15c)]=_0x4728f7(_0x559380[_0x7f356c(0x173)][_0x7f356c(0x158)](_0x7f356c(0x16f))||[]),this[_0x7f356c(0x171)]({'isActive':!0x1});}[_0x572796(0x163)](){const _0x5461cd=_0x572796,_0x23c986=this[_0x5461cd(0x16d)][_0x5461cd(0x157)][_0x5461cd(0x15e)][_0x5461cd(0x161)][_0x5461cd(0x160)]();this[_0x5461cd(0x16b)]=this[_0x5461cd(0x15c)](_0x23c986);}[_0x572796(0x15d)](){const _0x12b2fb=_0x572796;this[_0x12b2fb(0x164)]&&(this[_0x12b2fb(0x174)](_0x12b2fb(0x155)),this[_0x12b2fb(0x164)]=void 0x0);const _0x1dcbbd=this[_0x12b2fb(0x16d)][_0x12b2fb(0x157)][_0x12b2fb(0x15e)][_0x12b2fb(0x161)][_0x12b2fb(0x160)]();_0x1dcbbd&&(_0x1dcbbd['is'](_0x12b2fb(0x166),_0x12b2fb(0x168))||_0x1dcbbd['is'](_0x12b2fb(0x166),_0x12b2fb(0x15b)))&&(this[_0x12b2fb(0x164)]=new _0x556ed0(this[_0x12b2fb(0x16d)],this[_0x12b2fb(0x16d)][_0x12b2fb(0x159)][_0x12b2fb(0x158)](_0x3568e4),_0x1dcbbd),this[_0x12b2fb(0x167)](_0x12b2fb(0x155))['to'](this[_0x12b2fb(0x164)],_0x12b2fb(0x155)));}}
23
+ function _0x11eb(){const _0x210d87=['29728170uGwzUo','imageInline','get','config','editor','element','90oDKtyq','document','10136217RFCEpp','imageBlock','221320MPSvCb','imageEditController','isEnabled','selection','model','requires','unbind','2123518bIngXK','isActive','getSelectedElement','set','execute','_isEditable','refresh','245CgYukV','bind','uploadcare.allowExternalImagesEditing','859200aEIEwP','1284dNZxRM','502727AsMJwk','plugins'];_0x11eb=function(){return _0x210d87;};return _0x11eb();}const _0x39694c=_0xa442;(function(_0x3a4489,_0x5b25a8){const _0x457ae2=_0xa442,_0x1cc33b=_0x3a4489();while(!![]){try{const _0x421f18=-parseInt(_0x457ae2(0x151))/0x1+parseInt(_0x457ae2(0x164))/0x2+parseInt(_0x457ae2(0x159))/0x3*(-parseInt(_0x457ae2(0x15d))/0x4)+-parseInt(_0x457ae2(0x14c))/0x5*(-parseInt(_0x457ae2(0x150))/0x6)+-parseInt(_0x457ae2(0x15b))/0x7+parseInt(_0x457ae2(0x14f))/0x8+parseInt(_0x457ae2(0x153))/0x9;if(_0x421f18===_0x5b25a8)break;else _0x1cc33b['push'](_0x1cc33b['shift']());}catch(_0xac5454){_0x1cc33b['push'](_0x1cc33b['shift']());}}}(_0x11eb,0xd4eb5));import{Command as _0x387b10}from'ckeditor5/src/core.js';import{Dialog as _0x98aade}from'ckeditor5/src/ui.js';import _0x4c6355 from'./ui/uploadcareimageeditcontroller.js';function _0xa442(_0x2c2b87,_0x4c2211){const _0x11eb83=_0x11eb();return _0xa442=function(_0xa44289,_0x385a24){_0xa44289=_0xa44289-0x14a;let _0x1ffa84=_0x11eb83[_0xa44289];return _0x1ffa84;},_0xa442(_0x2c2b87,_0x4c2211);}import{createEditabilityChecker as _0x6a8e25}from'../utils/editingutils.js';export default class J extends _0x387b10{static get[_0x39694c(0x162)](){return[_0x98aade];}constructor(_0x5b831c){const _0x222d17=_0x39694c;super(_0x5b831c),this[_0x222d17(0x15e)]=void 0x0,this[_0x222d17(0x14a)]=_0x6a8e25(_0x5b831c[_0x222d17(0x156)][_0x222d17(0x155)](_0x222d17(0x14e))||[]),this[_0x222d17(0x167)]({'isActive':!0x1});}[_0x39694c(0x14b)](){const _0x4d5dfe=_0x39694c,_0x3d447e=this[_0x4d5dfe(0x157)][_0x4d5dfe(0x161)][_0x4d5dfe(0x15a)][_0x4d5dfe(0x160)][_0x4d5dfe(0x166)]();this[_0x4d5dfe(0x15f)]=this[_0x4d5dfe(0x14a)](_0x3d447e);}[_0x39694c(0x168)](){const _0x4d59d0=_0x39694c;this[_0x4d59d0(0x15e)]&&(this[_0x4d59d0(0x163)](_0x4d59d0(0x165)),this[_0x4d59d0(0x15e)]=void 0x0);const _0x2737c6=this[_0x4d59d0(0x157)][_0x4d59d0(0x161)][_0x4d59d0(0x15a)][_0x4d59d0(0x160)][_0x4d59d0(0x166)]();_0x2737c6&&(_0x2737c6['is'](_0x4d59d0(0x158),_0x4d59d0(0x15c))||_0x2737c6['is'](_0x4d59d0(0x158),_0x4d59d0(0x154)))&&(this[_0x4d59d0(0x15e)]=new _0x4c6355(this[_0x4d59d0(0x157)],this[_0x4d59d0(0x157)][_0x4d59d0(0x152)][_0x4d59d0(0x155)](_0x98aade),_0x2737c6),this[_0x4d59d0(0x14d)](_0x4d59d0(0x165))['to'](this[_0x4d59d0(0x15e)],_0x4d59d0(0x165)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd97643=_0x57e3;(function(_0x567219,_0x3f2112){const _0x415f2c=_0x57e3,_0x1b4ac6=_0x567219();while(!![]){try{const _0xeb5158=-parseInt(_0x415f2c(0x1e9))/0x1+-parseInt(_0x415f2c(0x1e0))/0x2*(parseInt(_0x415f2c(0x1da))/0x3)+-parseInt(_0x415f2c(0x1e4))/0x4+parseInt(_0x415f2c(0x1ed))/0x5*(-parseInt(_0x415f2c(0x1ee))/0x6)+parseInt(_0x415f2c(0x1dc))/0x7+parseInt(_0x415f2c(0x1e6))/0x8*(-parseInt(_0x415f2c(0x1dd))/0x9)+parseInt(_0x415f2c(0x1db))/0xa;if(_0xeb5158===_0x3f2112)break;else _0x1b4ac6['push'](_0x1b4ac6['shift']());}catch(_0x45ef87){_0x1b4ac6['push'](_0x1b4ac6['shift']());}}}(_0x5e60,0x28381));import{Plugin as _0x25503c}from'ckeditor5/src/core.js';import{Notification as _0x16aacb}from'ckeditor5/src/ui.js';import _0x1c02b8 from'./uploadcareimageeditcommand.js';function _0x57e3(_0x49b906,_0x4509d5){const _0x5e603f=_0x5e60();return _0x57e3=function(_0x57e391,_0x286b9e){_0x57e391=_0x57e391-0x1d9;let _0x1f06d7=_0x5e603f[_0x57e391];return _0x1f06d7;},_0x57e3(_0x49b906,_0x4509d5);}import _0x36f50f from'./uploadcareimagereplacecommand.js';import _0x3264ac from'../uploadcareediting.js';function _0x5e60(){const _0x516f59=['ImageUtils','254nRUabx','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','617196WvuoKp','uploadcareImageEdit','512WdSPiS','requires','commands','241624zSwfKr','pluginName','isOfficialPlugin','init','85865QMsInb','84MbIZeT','uploadcareImageReplace','4449HBvurM','11983760uDjPjh','289457JAYeTs','35199lJPHqv','add'];_0x5e60=function(){return _0x516f59;};return _0x5e60();}export default class m extends _0x25503c{static get[_0xd97643(0x1ea)](){const _0x8b4e7e=_0xd97643;return _0x8b4e7e(0x1e1);}static get[_0xd97643(0x1e7)](){const _0x211498=_0xd97643;return[_0x3264ac,_0x16aacb,_0x211498(0x1df),_0x211498(0x1e3)];}static get[_0xd97643(0x1eb)](){return!0x0;}static get[_0xd97643(0x1e2)](){return!0x0;}[_0xd97643(0x1ec)](){const _0x31d8c7=_0xd97643,{editor:_0x24d4af}=this;_0x24d4af[_0x31d8c7(0x1e8)][_0x31d8c7(0x1de)](_0x31d8c7(0x1e5),new _0x1c02b8(_0x24d4af)),_0x24d4af[_0x31d8c7(0x1e8)][_0x31d8c7(0x1de)](_0x31d8c7(0x1d9),new _0x36f50f(_0x24d4af));}}
23
+ const _0x1eb836=_0x320e;(function(_0x305df5,_0x519804){const _0x2d2729=_0x320e,_0x318fb5=_0x305df5();while(!![]){try{const _0x4f1759=parseInt(_0x2d2729(0x16e))/0x1*(parseInt(_0x2d2729(0x16b))/0x2)+-parseInt(_0x2d2729(0x167))/0x3+-parseInt(_0x2d2729(0x178))/0x4*(parseInt(_0x2d2729(0x17b))/0x5)+-parseInt(_0x2d2729(0x17d))/0x6*(-parseInt(_0x2d2729(0x17a))/0x7)+-parseInt(_0x2d2729(0x17c))/0x8+parseInt(_0x2d2729(0x172))/0x9+-parseInt(_0x2d2729(0x170))/0xa*(-parseInt(_0x2d2729(0x16d))/0xb);if(_0x4f1759===_0x519804)break;else _0x318fb5['push'](_0x318fb5['shift']());}catch(_0x44bc11){_0x318fb5['push'](_0x318fb5['shift']());}}}(_0x3a0f,0x40e45));import{Plugin as _0x4d866f}from'ckeditor5/src/core.js';import{Notification as _0x29c7eb}from'ckeditor5/src/ui.js';function _0x3a0f(){const _0x49aa02=['uploadcareImageReplace','isOfficialPlugin','uploadcareImageEdit','2152Iayisk','init','4676YENkgV','1640jjXbLg','3125720aqxvaz','3048XRiGDq','1485120Mbcekr','UploadcareImageEditEditing','ImageEditing','commands','42BFkVRd','add','44zfsWiQ','39pGZVyQ','ImageUtils','1253830CxfUhn','isPremiumPlugin','4376889dQHONT','requires','pluginName'];_0x3a0f=function(){return _0x49aa02;};return _0x3a0f();}import _0x4c3767 from'./uploadcareimageeditcommand.js';import _0x3133b5 from'./uploadcareimagereplacecommand.js';import _0x50655c from'../uploadcareediting.js';function _0x320e(_0x361c21,_0x216a1b){const _0x3a0f11=_0x3a0f();return _0x320e=function(_0x320e49,_0xe1d349){_0x320e49=_0x320e49-0x167;let _0x26cd0c=_0x3a0f11[_0x320e49];return _0x26cd0c;},_0x320e(_0x361c21,_0x216a1b);}export default class m extends _0x4d866f{static get[_0x1eb836(0x174)](){const _0x9f9298=_0x1eb836;return _0x9f9298(0x168);}static get[_0x1eb836(0x173)](){const _0xa8df34=_0x1eb836;return[_0x50655c,_0x29c7eb,_0xa8df34(0x16f),_0xa8df34(0x169)];}static get[_0x1eb836(0x176)](){return!0x0;}static get[_0x1eb836(0x171)](){return!0x0;}[_0x1eb836(0x179)](){const _0x30994b=_0x1eb836,{editor:_0x2a470f}=this;_0x2a470f[_0x30994b(0x16a)][_0x30994b(0x16c)](_0x30994b(0x177),new _0x4c3767(_0x2a470f)),_0x2a470f[_0x30994b(0x16a)][_0x30994b(0x16c)](_0x30994b(0x175),new _0x3133b5(_0x2a470f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3e75b9}from'ckeditor5/src/core.js';import{ButtonView as _0x3628b5}from'ckeditor5/src/ui.js';import{createElement as _0x5719b6}from'ckeditor5/src/utils.js';import _0x107249 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 _0x3e75b9{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 _0x5f255d=this['editor'];_0x5f255d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15e7d2=>{const _0x9a6830=_0x5f255d['commands']['get']('uploadcareImageEdit'),_0x1b06e3=new _0x3628b5(_0x15e7d2),t=_0x15e7d2['t'];return _0x1b06e3['set']({'icon':_0x107249,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b06e3['bind']('isEnabled')['to'](_0x9a6830),_0x1b06e3['bind']('isOn')['to'](_0x9a6830,'isActive'),this['listenTo'](_0x1b06e3,'execute',()=>{_0x5f255d['execute']('uploadcareImageEdit'),_0x5f255d['editing']['view']['focus']();}),_0x1b06e3;}),this['_initConfig']();}['_initConfig'](){const _0x5f1ce0=_0x5719b6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5f1ce0),this['listenTo'](this['editor'],'destroy',()=>{_0x5f1ce0['remove']();});}}
23
+ import{Plugin as _0x3a0f15}from'ckeditor5/src/core.js';import{ButtonView as _0x3b80d2}from'ckeditor5/src/ui.js';import{createElement as _0x56dbec}from'ckeditor5/src/utils.js';import _0x330b72 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x3a0f15{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x1adde4=this['editor'];_0x1adde4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x161a1f=>{const _0x32e259=_0x1adde4['commands']['get']('uploadcareImageEdit'),_0x59e40e=new _0x3b80d2(_0x161a1f),t=_0x161a1f['t'];return _0x59e40e['set']({'icon':_0x330b72,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x59e40e['bind']('isEnabled')['to'](_0x32e259),_0x59e40e['bind']('isOn')['to'](_0x32e259,'isActive'),this['listenTo'](_0x59e40e,'execute',()=>{_0x1adde4['execute']('uploadcareImageEdit'),_0x1adde4['editing']['view']['focus']();}),_0x59e40e;}),this['_initConfig']();}['_initConfig'](){const _0x2b23f7=_0x56dbec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2b23f7),this['listenTo'](this['editor'],'destroy',()=>{_0x2b23f7['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fdc46=_0x568e;(function(_0x445c78,_0x1a9773){const _0x2c4dcb=_0x568e,_0x2b5141=_0x445c78();while(!![]){try{const _0xfdc080=parseInt(_0x2c4dcb(0x114))/0x1+-parseInt(_0x2c4dcb(0x11c))/0x2*(parseInt(_0x2c4dcb(0x127))/0x3)+parseInt(_0x2c4dcb(0x125))/0x4*(parseInt(_0x2c4dcb(0x117))/0x5)+parseInt(_0x2c4dcb(0x121))/0x6+-parseInt(_0x2c4dcb(0x11a))/0x7*(parseInt(_0x2c4dcb(0x11d))/0x8)+-parseInt(_0x2c4dcb(0x123))/0x9*(parseInt(_0x2c4dcb(0x12b))/0xa)+parseInt(_0x2c4dcb(0x11e))/0xb;if(_0xfdc080===_0x1a9773)break;else _0x2b5141['push'](_0x2b5141['shift']());}catch(_0x1a5828){_0x2b5141['push'](_0x2b5141['shift']());}}}(_0x12f0,0xb4927));function _0x568e(_0x2cef93,_0x25ff36){const _0x12f0b6=_0x12f0();return _0x568e=function(_0x568ed8,_0xebe327){_0x568ed8=_0x568ed8-0x111;let _0xc4692d=_0x12f0b6[_0x568ed8];return _0xc4692d;},_0x568e(_0x2cef93,_0x25ff36);}import{Command as _0x308ea0}from'ckeditor5/src/core.js';function _0x12f0(){const _0x39f10f=['isEnabled','54mXIlKU','removeAttribute','423148IikikE','setAttributes','93XxHKwN','model','imageBlock','getSelectedElement','103810dtDAyX','imageInline','document','sizes','918963oOXbqh','change','execute','20lbOXgD','editor','selection','7wITdnk','element','76094btnHqE','1762736ugZKgG','1826550XJdjgZ','srcset','refresh','4161282bUdRXP'];_0x12f0=function(){return _0x39f10f;};return _0x12f0();}export default class Y extends _0x308ea0{[_0x1fdc46(0x120)](){const _0x41d61e=_0x1fdc46,_0x160feb=this[_0x41d61e(0x118)][_0x41d61e(0x128)][_0x41d61e(0x112)][_0x41d61e(0x119)][_0x41d61e(0x12a)]();this[_0x41d61e(0x122)]=Boolean(_0x160feb&&(_0x160feb['is'](_0x41d61e(0x11b),_0x41d61e(0x129))||_0x160feb['is'](_0x41d61e(0x11b),_0x41d61e(0x111))));}[_0x1fdc46(0x116)](_0x4a707e){const _0x45eb64=_0x1fdc46,_0x14ee07=this[_0x45eb64(0x118)][_0x45eb64(0x128)][_0x45eb64(0x112)][_0x45eb64(0x119)][_0x45eb64(0x12a)]();this[_0x45eb64(0x118)][_0x45eb64(0x128)][_0x45eb64(0x115)](_0x123a76=>{const _0xc3087c=_0x45eb64;_0x123a76[_0xc3087c(0x126)](_0x4a707e,_0x14ee07),_0x123a76[_0xc3087c(0x124)](_0xc3087c(0x11f),_0x14ee07),_0x123a76[_0xc3087c(0x124)](_0xc3087c(0x113),_0x14ee07);});}}
23
+ const _0x7d7c6a=_0x4471;(function(_0x272385,_0x42ebc6){const _0x28539b=_0x4471,_0x214d5e=_0x272385();while(!![]){try{const _0x13fde2=parseInt(_0x28539b(0x18c))/0x1*(parseInt(_0x28539b(0x199))/0x2)+-parseInt(_0x28539b(0x186))/0x3*(parseInt(_0x28539b(0x198))/0x4)+parseInt(_0x28539b(0x181))/0x5*(-parseInt(_0x28539b(0x185))/0x6)+-parseInt(_0x28539b(0x190))/0x7*(parseInt(_0x28539b(0x183))/0x8)+-parseInt(_0x28539b(0x184))/0x9*(-parseInt(_0x28539b(0x196))/0xa)+parseInt(_0x28539b(0x18a))/0xb+-parseInt(_0x28539b(0x19c))/0xc*(parseInt(_0x28539b(0x180))/0xd);if(_0x13fde2===_0x42ebc6)break;else _0x214d5e['push'](_0x214d5e['shift']());}catch(_0x526ce2){_0x214d5e['push'](_0x214d5e['shift']());}}}(_0x1c70,0x2ac18));import{Command as _0x45c6f4}from'ckeditor5/src/core.js';export default class O extends _0x45c6f4{[_0x7d7c6a(0x18f)](){const _0x18432b=_0x7d7c6a,_0x41f708=this[_0x18432b(0x18d)][_0x18432b(0x18e)][_0x18432b(0x194)][_0x18432b(0x189)][_0x18432b(0x182)]();this[_0x18432b(0x193)]=Boolean(_0x41f708&&(_0x41f708['is'](_0x18432b(0x195),_0x18432b(0x191))||_0x41f708['is'](_0x18432b(0x195),_0x18432b(0x18b))));}[_0x7d7c6a(0x187)](_0x51ded6){const _0x371c3c=_0x7d7c6a,_0x4874f7=this[_0x371c3c(0x18d)][_0x371c3c(0x18e)][_0x371c3c(0x194)][_0x371c3c(0x189)][_0x371c3c(0x182)]();this[_0x371c3c(0x18d)][_0x371c3c(0x18e)][_0x371c3c(0x19a)](_0x112b37=>{const _0x3d2db0=_0x371c3c;_0x112b37[_0x3d2db0(0x19b)](_0x51ded6,_0x4874f7),_0x112b37[_0x3d2db0(0x188)](_0x3d2db0(0x197),_0x4874f7),_0x112b37[_0x3d2db0(0x188)](_0x3d2db0(0x192),_0x4874f7);});}}function _0x4471(_0x5aae75,_0x3c9b1f){const _0x1c70bc=_0x1c70();return _0x4471=function(_0x447146,_0x32ec0e){_0x447146=_0x447146-0x180;let _0x698632=_0x1c70bc[_0x447146];return _0x698632;},_0x4471(_0x5aae75,_0x3c9b1f);}function _0x1c70(){const _0x320983=['removeAttribute','selection','2289749KsohyH','imageInline','1vUZBsZ','editor','model','refresh','35bpxMkG','imageBlock','sizes','isEnabled','document','element','370EspMhP','srcset','34288UOpeUu','541074hTvHgT','change','setAttributes','516ftluyr','14261OtubmK','5imPZvX','getSelectedElement','77752fnknwl','26469ojfHQb','1488258YboqDt','24lMdVag','execute'];_0x1c70=function(){return _0x320983;};return _0x1c70();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa25b(_0x21a447,_0x3c01b2){var _0xa8293c=_0xa829();return _0xa25b=function(_0xa25b66,_0x27b476){_0xa25b66=_0xa25b66-0xc3;var _0x4c317d=_0xa8293c[_0xa25b66];return _0x4c317d;},_0xa25b(_0x21a447,_0x3c01b2);}var _0x16a2b5=_0xa25b;(function(_0x3d4350,_0x1c6d25){var _0x425e43=_0xa25b,_0x3178b6=_0x3d4350();while(!![]){try{var _0x121377=parseInt(_0x425e43(0xc3))/0x1+parseInt(_0x425e43(0xcd))/0x2+-parseInt(_0x425e43(0xca))/0x3+-parseInt(_0x425e43(0xc7))/0x4+-parseInt(_0x425e43(0xc8))/0x5*(-parseInt(_0x425e43(0xc4))/0x6)+-parseInt(_0x425e43(0xc9))/0x7+-parseInt(_0x425e43(0xcb))/0x8;if(_0x121377===_0x1c6d25)break;else _0x3178b6['push'](_0x3178b6['shift']());}catch(_0x41ca14){_0x3178b6['push'](_0x3178b6['shift']());}}}(_0xa829,0x46d0d));import{Plugin as _0x34d2ca}from'ckeditor5/src/core.js';function _0xa829(){var _0x26bd7d=['1763536PggrQX','15tQtYvg','985208BpKCGA','232521tzkqlz','2682544RjsGfm','requires','905620hmGFXi','isOfficialPlugin','UploadcareImageEdit','528149NFdFQN','607110LGlkrG','pluginName','isPremiumPlugin'];_0xa829=function(){return _0x26bd7d;};return _0xa829();}import _0x1ce2ac from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4bd0e0 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x34d2ca{static get[_0x16a2b5(0xc5)](){var _0x26d398=_0x16a2b5;return _0x26d398(0xcf);}static get[_0x16a2b5(0xcc)](){return[_0x1ce2ac,_0x4bd0e0];}static get[_0x16a2b5(0xce)](){return!0x0;}static get[_0x16a2b5(0xc6)](){return!0x0;}}
23
+ var _0x1e367d=_0x421f;function _0x1e9c(){var _0x54cf2e=['isOfficialPlugin','isPremiumPlugin','requires','5pjCsEF','2453088ThmCmg','401162EiGDiN','520684sHZRed','202317VfgUnd','pluginName','3388378ulNKGe','UploadcareImageEdit','5553457ZXGSww','15689448kfgyRF'];_0x1e9c=function(){return _0x54cf2e;};return _0x1e9c();}(function(_0x3b1bfd,_0x17f71e){var _0x20a05f=_0x421f,_0xe13b44=_0x3b1bfd();while(!![]){try{var _0x3a223a=-parseInt(_0x20a05f(0x18f))/0x1+-parseInt(_0x20a05f(0x186))/0x2+-parseInt(_0x20a05f(0x191))/0x3+-parseInt(_0x20a05f(0x190))/0x4*(parseInt(_0x20a05f(0x18d))/0x5)+parseInt(_0x20a05f(0x18e))/0x6+parseInt(_0x20a05f(0x188))/0x7+parseInt(_0x20a05f(0x189))/0x8;if(_0x3a223a===_0x17f71e)break;else _0xe13b44['push'](_0xe13b44['shift']());}catch(_0x351348){_0xe13b44['push'](_0xe13b44['shift']());}}}(_0x1e9c,0xd4813));import{Plugin as _0x2b8d42}from'ckeditor5/src/core.js';function _0x421f(_0x161854,_0x41b394){var _0x1e9ca0=_0x1e9c();return _0x421f=function(_0x421fca,_0x24d1e5){_0x421fca=_0x421fca-0x185;var _0x462202=_0x1e9ca0[_0x421fca];return _0x462202;},_0x421f(_0x161854,_0x41b394);}import _0x200d31 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x346a81 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x2b8d42{static get[_0x1e367d(0x185)](){var _0x264937=_0x1e367d;return _0x264937(0x187);}static get[_0x1e367d(0x18c)](){return[_0x200d31,_0x346a81];}static get[_0x1e367d(0x18a)](){return!0x0;}static get[_0x1e367d(0x18b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21f6(_0x88b34,_0x2aa86d){const _0x3a5430=_0x3a54();return _0x21f6=function(_0x21f660,_0x42d811){_0x21f660=_0x21f660-0x133;let _0x563c17=_0x3a5430[_0x21f660];return _0x563c17;},_0x21f6(_0x88b34,_0x2aa86d);}const _0x4f0934=_0x21f6;(function(_0x57e75a,_0x1e14e7){const _0x46e8bf=_0x21f6,_0x5b056f=_0x57e75a();while(!![]){try{const _0xda9631=-parseInt(_0x46e8bf(0x15a))/0x1*(-parseInt(_0x46e8bf(0x14a))/0x2)+parseInt(_0x46e8bf(0x174))/0x3+-parseInt(_0x46e8bf(0x152))/0x4+-parseInt(_0x46e8bf(0x13d))/0x5+parseInt(_0x46e8bf(0x15c))/0x6+-parseInt(_0x46e8bf(0x154))/0x7*(parseInt(_0x46e8bf(0x182))/0x8)+parseInt(_0x46e8bf(0x156))/0x9;if(_0xda9631===_0x1e14e7)break;else _0x5b056f['push'](_0x5b056f['shift']());}catch(_0x41f5b5){_0x5b056f['push'](_0x5b056f['shift']());}}}(_0x3a54,0xeaf02));import{Plugin as _0x21ed00,icons as _0x8084b0}from'ckeditor5/src/core.js';import{ButtonView as _0x2980d5,MenuBarMenuListItemButtonView as _0x3a2613}from'ckeditor5/src/ui.js';import _0x195bef from'../theme/icons/dropbox.svg';import _0xeb8ee6 from'../theme/icons/facebook.svg';import _0x3e6deb from'../theme/icons/google-drive.svg';import _0x518616 from'../theme/icons/google-photos.svg';import _0xdb414 from'../theme/icons/instagram.svg';import _0x8ac728 from'../theme/icons/link.svg';function _0x3a54(){const _0x1f3f8b=['licenseKey','reduce','OneDrive','Uploadcare','upload','locale','Dropbox','_licenseKeyCheckInterval','init','isImageSelected','plugins','328544rjxcLE','editor','ImageInsertUI','has','uploadcareLicenseKeyDomainLimit','_createToolbarButton','afterInit','Replace','4740288mxUhUM','UploadcareUI','2723CFckUe','uploadcareLicenseKeyValid','23659983AYeHoE','usageLimit','_createMenuBarButtons','config','3CzttUE','uploadcareLicenseKeyExpired','4675296ecjCSv','Insert','uploadcare','bind','_normalizeConfigSourceList','uploadcareLicenseKeyTrialLimit','pluginName','uploadcareLicenseKeyEvaluationLimit','_createButton','Instagram','uploadcareLicenseKeyInvalid','_getIntegrationKey','featureNotAllowed','Facebook','registerIntegration','_showLicenseError','map','commands','text','isPremiumPlugin','invalid','URL','forEach','withText','470391KiILNj','domainLimit','GPhotos','execute','Local','push','label','uploadcareLicenseKeyNotAllowed','expired','imageUpload','type','isOfficialPlugin','destroy','tooltip','6736wmScVd','uploadcare.uploader.sourceList','GDrive','isEnabled','trialLimit','uploadcareLicenseKeyUsageLimit','entries','icon','assetManager','evaluationLimit','shortText','get','url','7914000sHCSGX','_createDropdownButtons'];_0x3a54=function(){return _0x1f3f8b;};return _0x3a54();}import _0x14f85d from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x1c0d7a}from'./uploadcareconfig.js';import{getTranslation as _0x117f17}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 _0x21ed00{static get[_0x4f0934(0x162)](){const _0x322b69=_0x4f0934;return _0x322b69(0x153);}static get[_0x4f0934(0x17f)](){return!0x0;}static get[_0x4f0934(0x16f)](){return!0x0;}[_0x4f0934(0x147)](){const _0x55f6b5=_0x4f0934;this[_0x55f6b5(0x13f)]=this[_0x55f6b5(0x14b)][_0x55f6b5(0x159)][_0x55f6b5(0x13b)](_0x55f6b5(0x13f));const _0x4dddfa=this[_0x55f6b5(0x14b)];this[_0x55f6b5(0x146)]=setInterval(()=>{const _0x5b2469=_0x55f6b5;let _0x11beab;for(const _0x1f1f04 in _0x4dddfa){const _0x482618=_0x1f1f04,_0x59c538=_0x4dddfa[_0x482618];if(_0x5b2469(0x155)==_0x59c538||_0x5b2469(0x166)==_0x59c538||_0x5b2469(0x15b)==_0x59c538||_0x5b2469(0x14e)==_0x59c538||_0x5b2469(0x17b)==_0x59c538||_0x5b2469(0x163)==_0x59c538||_0x5b2469(0x161)==_0x59c538||_0x5b2469(0x135)==_0x59c538){delete _0x4dddfa[_0x482618],_0x11beab=_0x59c538,clearInterval(this[_0x5b2469(0x146)]),this[_0x5b2469(0x146)]=void 0x0;break;}}_0x5b2469(0x166)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x170)),_0x5b2469(0x15b)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x17c)),_0x5b2469(0x14e)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x175)),_0x5b2469(0x17b)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x168),_0x5b2469(0x142)),_0x5b2469(0x163)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x139)),_0x5b2469(0x161)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x134)),_0x5b2469(0x135)==_0x11beab&&_0x4dddfa[_0x5b2469(0x16b)](_0x5b2469(0x157));},0x3e8);}[_0x4f0934(0x150)](){const _0x5c8ed9=_0x4f0934,{editor:_0x3ea0c7}=this,_0x14363b=_0x3ea0c7[_0x5c8ed9(0x16d)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x15e));if(!_0x14363b)return;const _0x337868=this[_0x5c8ed9(0x160)](_0x3ea0c7[_0x5c8ed9(0x159)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x183)))[_0x5c8ed9(0x140)]((_0x2e0a70,_0x522b29)=>{const _0x5c7ef9=_0x5c8ed9,_0x2c9ab7=this[_0x5c7ef9(0x167)](_0x522b29[_0x5c7ef9(0x17e)]);return _0x2e0a70[_0x2c9ab7]||(_0x2e0a70[_0x2c9ab7]=[]),_0x2e0a70[_0x2c9ab7][_0x5c7ef9(0x179)](_0x522b29),_0x2e0a70;},{});_0x3ea0c7[_0x5c8ed9(0x149)][_0x5c8ed9(0x14d)](_0x5c8ed9(0x14c))&&_0x3ea0c7[_0x5c8ed9(0x16d)][_0x5c8ed9(0x13b)](_0x5c8ed9(0x15e))&&Object[_0x5c8ed9(0x136)](_0x337868)[_0x5c8ed9(0x172)](([_0x4634f8,_0xe78a6b])=>{const _0x4ce95a=_0x5c8ed9;_0x3ea0c7[_0x4ce95a(0x149)][_0x4ce95a(0x13b)](_0x4ce95a(0x14c))[_0x4ce95a(0x16a)]({'name':_0x4634f8,'observable':()=>_0x14363b,'buttonViewCreator':()=>this[_0x4ce95a(0x14f)](_0xe78a6b),'formViewCreator':()=>this[_0x4ce95a(0x13e)](_0xe78a6b),'menuBarButtonViewCreator':()=>this[_0x4ce95a(0x158)](_0xe78a6b),'override':_0x4ce95a(0x138)!==_0x4634f8});});}[_0x4f0934(0x180)](){const _0x44f4df=_0x4f0934;super[_0x44f4df(0x180)](),this[_0x44f4df(0x146)]&&clearInterval(this[_0x44f4df(0x146)]);}[_0x4f0934(0x160)](_0x488419){const _0x1a1b64=_0x4f0934,{locale:_0x35bd73}=this[_0x1a1b64(0x14b)];return _0x488419[_0x1a1b64(0x16c)](_0x360c80=>{const _0x303d24=_0x1a1b64,_0x4a7890=_0x117f17(_0x35bd73,_0x360c80,_0x303d24(0x15d));switch(_0x360c80){case _0x1c0d7a[_0x303d24(0x178)]:return{'icon':_0x8084b0[_0x303d24(0x17d)],'type':_0x1c0d7a[_0x303d24(0x178)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x171)]:return{'icon':_0x8ac728,'type':_0x1c0d7a[_0x303d24(0x171)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x145)]:return{'icon':_0x195bef,'type':_0x1c0d7a[_0x303d24(0x145)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x169)]:return{'icon':_0xeb8ee6,'type':_0x1c0d7a[_0x303d24(0x169)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x184)]:return{'icon':_0x3e6deb,'type':_0x1c0d7a[_0x303d24(0x184)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x176)]:return{'icon':_0x518616,'type':_0x1c0d7a[_0x303d24(0x176)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x165)]:return{'icon':_0xdb414,'type':_0x1c0d7a[_0x303d24(0x165)],..._0x4a7890};case _0x1c0d7a[_0x303d24(0x141)]:return{'icon':_0x14f85d,'type':_0x1c0d7a[_0x303d24(0x141)],..._0x4a7890};}});}[_0x4f0934(0x167)](_0x4a4150){const _0xcc45a8=_0x4f0934;switch(_0x4a4150){case _0x1c0d7a[_0xcc45a8(0x178)]:return _0xcc45a8(0x143);case _0x1c0d7a[_0xcc45a8(0x171)]:return _0xcc45a8(0x13c);default:return _0xcc45a8(0x138);}}[_0x4f0934(0x164)](_0x296d79,_0x516acc){const _0x754459=_0x4f0934,_0x4ece29=this[_0x754459(0x14b)],_0x5c3621=new _0x296d79(_0x4ece29[_0x754459(0x144)]),_0x3df174=_0x4ece29[_0x754459(0x16d)][_0x754459(0x13b)](_0x754459(0x15e));return _0x5c3621[_0x754459(0x15f)](_0x754459(0x133))['to'](_0x3df174),_0x5c3621['on'](_0x754459(0x177),()=>{const _0x283e93=_0x754459;_0x3df174[_0x283e93(0x177)](_0x516acc);}),_0x5c3621;}[_0x4f0934(0x14f)](_0x4a9eb0){const _0x3a14ce=_0x4f0934,{locale:_0x14fbd8}=this[_0x3a14ce(0x14b)],_0x42c822=this[_0x3a14ce(0x14b)][_0x3a14ce(0x149)][_0x3a14ce(0x13b)](_0x3a14ce(0x14c)),_0x127069=_0x4a9eb0[0x0],_0x58479e=this[_0x3a14ce(0x164)](_0x2980d5,_0x127069[_0x3a14ce(0x17e)]);return _0x58479e[_0x3a14ce(0x137)]=_0x127069[_0x3a14ce(0x137)],_0x58479e[_0x3a14ce(0x15f)](_0x3a14ce(0x17a))['to'](_0x42c822,_0x3a14ce(0x148),_0x330859=>_0x117f17(_0x14fbd8,_0x127069[_0x3a14ce(0x17e)],_0x330859?_0x3a14ce(0x151):_0x3a14ce(0x15d))[_0x3a14ce(0x16e)]),_0x58479e[_0x3a14ce(0x181)]=!0x0,_0x58479e;}[_0x4f0934(0x13e)](_0x3ba147){const _0x11176e=_0x4f0934,{locale:_0x5c57d5}=this[_0x11176e(0x14b)],_0x5dd7bb=this[_0x11176e(0x14b)][_0x11176e(0x149)][_0x11176e(0x13b)](_0x11176e(0x14c));return _0x3ba147[_0x11176e(0x16c)](_0x22f7a8=>{const _0x160839=_0x11176e,_0x3bb690=this[_0x160839(0x164)](_0x2980d5,_0x22f7a8[_0x160839(0x17e)]);return _0x3bb690[_0x160839(0x173)]=!0x0,_0x3bb690[_0x160839(0x137)]=_0x22f7a8[_0x160839(0x137)],_0x3bb690[_0x160839(0x15f)](_0x160839(0x17a))['to'](_0x5dd7bb,_0x160839(0x148),_0x2f0659=>_0x117f17(_0x5c57d5,_0x22f7a8[_0x160839(0x17e)],_0x2f0659?_0x160839(0x151):_0x160839(0x15d))[_0x160839(0x16e)]),_0x3bb690;});}[_0x4f0934(0x158)](_0x52448b){const _0xda3dc6=_0x4f0934;return _0x52448b[_0xda3dc6(0x16c)](_0x180add=>{const _0x364e6b=_0xda3dc6,_0x4ab6de=this[_0x364e6b(0x164)](_0x3a2613,_0x180add[_0x364e6b(0x17e)]);return _0x4ab6de[_0x364e6b(0x137)]=_0x180add[_0x364e6b(0x137)],_0x4ab6de[_0x364e6b(0x17a)]=_0x180add[_0x364e6b(0x13a)],_0x4ab6de;});}}
23
+ const _0x540957=_0x480a;(function(_0x59c125,_0x5121e6){const _0x3dec94=_0x480a,_0x5620a3=_0x59c125();while(!![]){try{const _0x47ee0c=-parseInt(_0x3dec94(0xd5))/0x1+-parseInt(_0x3dec94(0xf0))/0x2*(-parseInt(_0x3dec94(0xea))/0x3)+-parseInt(_0x3dec94(0x106))/0x4+parseInt(_0x3dec94(0xe7))/0x5+parseInt(_0x3dec94(0xfe))/0x6*(parseInt(_0x3dec94(0x100))/0x7)+parseInt(_0x3dec94(0x108))/0x8+-parseInt(_0x3dec94(0xdb))/0x9;if(_0x47ee0c===_0x5121e6)break;else _0x5620a3['push'](_0x5620a3['shift']());}catch(_0x41cc85){_0x5620a3['push'](_0x5620a3['shift']());}}}(_0x4bb1,0xf2761));import{Plugin as _0x5ec070,icons as _0x43262e}from'ckeditor5/src/core.js';function _0x480a(_0x17edce,_0x5698b0){const _0x4bb137=_0x4bb1();return _0x480a=function(_0x480a1b,_0x33c7eb){_0x480a1b=_0x480a1b-0xc3;let _0x570d8c=_0x4bb137[_0x480a1b];return _0x570d8c;},_0x480a(_0x17edce,_0x5698b0);}import{ButtonView as _0x142b03,MenuBarMenuListItemButtonView as _0x2a0d41}from'ckeditor5/src/ui.js';import _0x546f8b from'../theme/icons/dropbox.svg';import _0x1782b5 from'../theme/icons/facebook.svg';import _0x669451 from'../theme/icons/google-drive.svg';import _0x54cddb from'../theme/icons/google-photos.svg';import _0x290ee7 from'../theme/icons/instagram.svg';import _0x3c2cf6 from'../theme/icons/link.svg';import _0x48fdda from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b9ef7}from'./uploadcareconfig.js';import{getTranslation as _0x4f0dad}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4bb1(){const _0x1c147e=['UploadcareUI','5004904ZznWpo','Facebook','15530784HEongy','entries','evaluationLimit','expired','Uploadcare','_createButton','isImageSelected','shortText','_showLicenseError','config','registerIntegration','type','GDrive','tooltip','execute','uploadcareLicenseKeyDomainLimit','URL','_licenseKeyCheckInterval','_getIntegrationKey','plugins','usageLimit','icon','destroy','_normalizeConfigSourceList','OneDrive','forEach','GPhotos','uploadcare','upload','map','trialLimit','73492wZksGZ','Insert','featureNotAllowed','uploadcareLicenseKeyExpired','Dropbox','isEnabled','31111542gCIdUv','push','uploadcareLicenseKeyUsageLimit','get','init','text','url','isPremiumPlugin','Replace','pluginName','bind','uploadcare.uploader.sourceList','7353405GKHrBF','label','reduce','548241mmzCPP','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','licenseKey','assetManager','domainLimit','14biiBkK','uploadcareLicenseKeyValid','uploadcareLicenseKeyTrialLimit','ImageInsertUI','editor','_createToolbarButton','withText','_createDropdownButtons','_createMenuBarButtons','invalid','Local','commands','has','afterInit','186uUqERb','uploadcareLicenseKeyEvaluationLimit','244643UKejOG','locale','imageUpload','isOfficialPlugin','Instagram'];_0x4bb1=function(){return _0x1c147e;};return _0x4bb1();}export default class e extends _0x5ec070{static get[_0x540957(0xe4)](){const _0x1523b7=_0x540957;return _0x1523b7(0x105);}static get[_0x540957(0x103)](){return!0x0;}static get[_0x540957(0xe2)](){return!0x0;}[_0x540957(0xdf)](){const _0x2637da=_0x540957;this[_0x2637da(0xed)]=this[_0x2637da(0xf4)][_0x2637da(0x111)][_0x2637da(0xde)](_0x2637da(0xed));const _0x3f03f4=this[_0x2637da(0xf4)];this[_0x2637da(0xc7)]=setInterval(()=>{const _0x4b6854=_0x2637da;let _0x3826b4;for(const _0xec424f in _0x3f03f4){const _0x5a56a7=_0xec424f,_0x243ffc=_0x3f03f4[_0x5a56a7];if(_0x4b6854(0xf1)==_0x243ffc||_0x4b6854(0xeb)==_0x243ffc||_0x4b6854(0xd8)==_0x243ffc||_0x4b6854(0xc5)==_0x243ffc||_0x4b6854(0xec)==_0x243ffc||_0x4b6854(0xff)==_0x243ffc||_0x4b6854(0xf2)==_0x243ffc||_0x4b6854(0xdd)==_0x243ffc){delete _0x3f03f4[_0x5a56a7],_0x3826b4=_0x243ffc,clearInterval(this[_0x4b6854(0xc7)]),this[_0x4b6854(0xc7)]=void 0x0;break;}}_0x4b6854(0xeb)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xf9)),_0x4b6854(0xd8)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0x10b)),_0x4b6854(0xc5)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xef)),_0x4b6854(0xec)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xd7),_0x4b6854(0x10c)),_0x4b6854(0xff)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0x10a)),_0x4b6854(0xf2)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xd4)),_0x4b6854(0xdd)==_0x3826b4&&_0x3f03f4[_0x4b6854(0x110)](_0x4b6854(0xca));},0x3e8);}[_0x540957(0xfd)](){const _0x3feacd=_0x540957,{editor:_0x21c0bd}=this,_0x43f3d5=_0x21c0bd[_0x3feacd(0xfb)][_0x3feacd(0xde)](_0x3feacd(0xd1));if(!_0x43f3d5)return;const _0x482399=this[_0x3feacd(0xcd)](_0x21c0bd[_0x3feacd(0x111)][_0x3feacd(0xde)](_0x3feacd(0xe6)))[_0x3feacd(0xe9)]((_0x5dc33d,_0x1c9f09)=>{const _0x4f30dc=_0x3feacd,_0x50695d=this[_0x4f30dc(0xc8)](_0x1c9f09[_0x4f30dc(0x113)]);return _0x5dc33d[_0x50695d]||(_0x5dc33d[_0x50695d]=[]),_0x5dc33d[_0x50695d][_0x4f30dc(0xdc)](_0x1c9f09),_0x5dc33d;},{});_0x21c0bd[_0x3feacd(0xc9)][_0x3feacd(0xfc)](_0x3feacd(0xf3))&&_0x21c0bd[_0x3feacd(0xfb)][_0x3feacd(0xde)](_0x3feacd(0xd1))&&Object[_0x3feacd(0x109)](_0x482399)[_0x3feacd(0xcf)](([_0x4ddaee,_0xca0a16])=>{const _0x19e364=_0x3feacd;_0x21c0bd[_0x19e364(0xc9)][_0x19e364(0xde)](_0x19e364(0xf3))[_0x19e364(0x112)]({'name':_0x4ddaee,'observable':()=>_0x43f3d5,'buttonViewCreator':()=>this[_0x19e364(0xf5)](_0xca0a16),'formViewCreator':()=>this[_0x19e364(0xf7)](_0xca0a16),'menuBarButtonViewCreator':()=>this[_0x19e364(0xf8)](_0xca0a16),'override':_0x19e364(0xee)!==_0x4ddaee});});}[_0x540957(0xcc)](){const _0x36efd2=_0x540957;super[_0x36efd2(0xcc)](),this[_0x36efd2(0xc7)]&&clearInterval(this[_0x36efd2(0xc7)]);}[_0x540957(0xcd)](_0xa73299){const _0x1e4cc2=_0x540957,{locale:_0x33b17e}=this[_0x1e4cc2(0xf4)];return _0xa73299[_0x1e4cc2(0xd3)](_0x1a1853=>{const _0x1a4026=_0x1e4cc2,_0x2bf846=_0x4f0dad(_0x33b17e,_0x1a1853,_0x1a4026(0xd6));switch(_0x1a1853){case _0x4b9ef7[_0x1a4026(0xfa)]:return{'icon':_0x43262e[_0x1a4026(0x102)],'type':_0x4b9ef7[_0x1a4026(0xfa)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xc6)]:return{'icon':_0x3c2cf6,'type':_0x4b9ef7[_0x1a4026(0xc6)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xd9)]:return{'icon':_0x546f8b,'type':_0x4b9ef7[_0x1a4026(0xd9)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x107)]:return{'icon':_0x1782b5,'type':_0x4b9ef7[_0x1a4026(0x107)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x114)]:return{'icon':_0x669451,'type':_0x4b9ef7[_0x1a4026(0x114)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xd0)]:return{'icon':_0x54cddb,'type':_0x4b9ef7[_0x1a4026(0xd0)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0x104)]:return{'icon':_0x290ee7,'type':_0x4b9ef7[_0x1a4026(0x104)],..._0x2bf846};case _0x4b9ef7[_0x1a4026(0xce)]:return{'icon':_0x48fdda,'type':_0x4b9ef7[_0x1a4026(0xce)],..._0x2bf846};}});}[_0x540957(0xc8)](_0x15c2f2){const _0x80d9f8=_0x540957;switch(_0x15c2f2){case _0x4b9ef7[_0x80d9f8(0xfa)]:return _0x80d9f8(0xd2);case _0x4b9ef7[_0x80d9f8(0xc6)]:return _0x80d9f8(0xe1);default:return _0x80d9f8(0xee);}}[_0x540957(0x10d)](_0x3a1d2c,_0x50d413){const _0x4cf870=_0x540957,_0xb0b463=this[_0x4cf870(0xf4)],_0x111eb7=new _0x3a1d2c(_0xb0b463[_0x4cf870(0x101)]),_0x15c045=_0xb0b463[_0x4cf870(0xfb)][_0x4cf870(0xde)](_0x4cf870(0xd1));return _0x111eb7[_0x4cf870(0xe5)](_0x4cf870(0xda))['to'](_0x15c045),_0x111eb7['on'](_0x4cf870(0xc4),()=>{const _0x1d313a=_0x4cf870;_0x15c045[_0x1d313a(0xc4)](_0x50d413);}),_0x111eb7;}[_0x540957(0xf5)](_0x22ba81){const _0x447f88=_0x540957,{locale:_0x279cb3}=this[_0x447f88(0xf4)],_0x5d8127=this[_0x447f88(0xf4)][_0x447f88(0xc9)][_0x447f88(0xde)](_0x447f88(0xf3)),_0x34602f=_0x22ba81[0x0],_0x4bec39=this[_0x447f88(0x10d)](_0x142b03,_0x34602f[_0x447f88(0x113)]);return _0x4bec39[_0x447f88(0xcb)]=_0x34602f[_0x447f88(0xcb)],_0x4bec39[_0x447f88(0xe5)](_0x447f88(0xe8))['to'](_0x5d8127,_0x447f88(0x10e),_0x1c6919=>_0x4f0dad(_0x279cb3,_0x34602f[_0x447f88(0x113)],_0x1c6919?_0x447f88(0xe3):_0x447f88(0xd6))[_0x447f88(0xe0)]),_0x4bec39[_0x447f88(0xc3)]=!0x0,_0x4bec39;}[_0x540957(0xf7)](_0x1a29b4){const _0x3474be=_0x540957,{locale:_0x1edf8c}=this[_0x3474be(0xf4)],_0x807afd=this[_0x3474be(0xf4)][_0x3474be(0xc9)][_0x3474be(0xde)](_0x3474be(0xf3));return _0x1a29b4[_0x3474be(0xd3)](_0x218c28=>{const _0x52f16d=_0x3474be,_0x5ed99c=this[_0x52f16d(0x10d)](_0x142b03,_0x218c28[_0x52f16d(0x113)]);return _0x5ed99c[_0x52f16d(0xf6)]=!0x0,_0x5ed99c[_0x52f16d(0xcb)]=_0x218c28[_0x52f16d(0xcb)],_0x5ed99c[_0x52f16d(0xe5)](_0x52f16d(0xe8))['to'](_0x807afd,_0x52f16d(0x10e),_0xb2b24e=>_0x4f0dad(_0x1edf8c,_0x218c28[_0x52f16d(0x113)],_0xb2b24e?_0x52f16d(0xe3):_0x52f16d(0xd6))[_0x52f16d(0xe0)]),_0x5ed99c;});}[_0x540957(0xf8)](_0x265c7e){const _0x3b83ff=_0x540957;return _0x265c7e[_0x3b83ff(0xd3)](_0x101985=>{const _0x14abdf=_0x3b83ff,_0x1486be=this[_0x14abdf(0x10d)](_0x2a0d41,_0x101985[_0x14abdf(0x113)]);return _0x1486be[_0x14abdf(0xcb)]=_0x101985[_0x14abdf(0xcb)],_0x1486be[_0x14abdf(0xe8)]=_0x101985[_0x14abdf(0x10f)],_0x1486be;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1f49bd}from'ckeditor5/src/core.js';import{FileRepository as _0xa5ecbc}from'ckeditor5/src/upload.js';import _0x5388f9 from'./uploadcareediting.js';import _0x1c8be4 from'./utils/uploadutils.js';import{getImageUrls as _0x4f30b8}from'./utils/editingutils.js';export default class f extends _0x1f49bd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xa5ecbc,_0x5388f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1135b8=this['editor'];if(!!!_0x1135b8['config']['get']('uploadcare'))return;_0x1135b8['plugins']['get'](_0xa5ecbc)['createUploadAdapter']=_0x253b07=>new A(_0x253b07,_0x1135b8),_0x1135b8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x517e95,{imageElement:_0x5934ca,data:_0xc07bbb})=>{_0x1135b8['model']['change'](_0x270f73=>{_0x270f73['setAttribute']('uploadcareImageId',_0xc07bbb['uploadcareImageId'],_0x5934ca);});});}}class A{constructor(_0x11eeaf,_0x2da8e4){this['loader']=_0x11eeaf,this['editor']=_0x2da8e4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56a167=this['editor']['config']['get']('uploadcare.pubkey'),_0xedf645=await this['loader']['file'];return _0x1c8be4['upload']({'file':_0xedf645,'publicKey':_0x56a167,'signal':this['controller']['signal'],'onProgress':_0x574b9a=>{_0x574b9a&&_0x574b9a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x574b9a['value']);}})['then'](async _0x1a30f2=>{const {imageFallbackUrl:_0x287542,imageSources:_0x3a3626}=_0x4f30b8(_0x1a30f2['cdnUrl'],_0x1a30f2['imageInfo']['width']);return{'uploadcareImageId':_0x1a30f2['uuid'],'default':_0x287542,'sources':_0x3a3626};})['catch'](()=>{const _0x5e782f=t('Cannot\x20upload\x20file:')+('\x20'+_0xedf645['name']+'.');return Promise['reject'](_0x5e782f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4d0e7f}from'ckeditor5/src/core.js';import{FileRepository as _0x543c1c}from'ckeditor5/src/upload.js';import _0x3e2075 from'./uploadcareediting.js';import _0x5a960b from'./utils/uploadutils.js';import{getImageUrls as _0x50b9c9}from'./utils/editingutils.js';export default class f extends _0x4d0e7f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x543c1c,_0x3e2075];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x56918d=this['editor'];if(!!!_0x56918d['config']['get']('uploadcare'))return;_0x56918d['plugins']['get'](_0x543c1c)['createUploadAdapter']=_0x441e88=>new A(_0x441e88,_0x56918d),_0x56918d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5915fa,{imageElement:_0x3fb2dc,data:_0xf31aa4})=>{_0x56918d['model']['change'](_0x2116ef=>{_0x2116ef['setAttribute']('uploadcareImageId',_0xf31aa4['uploadcareImageId'],_0x3fb2dc);});});}}class A{constructor(_0x109258,_0x17da8b){this['loader']=_0x109258,this['editor']=_0x17da8b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4805a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x38ff7b=await this['loader']['file'];return _0x5a960b['upload']({'file':_0x38ff7b,'publicKey':_0x4805a5,'signal':this['controller']['signal'],'onProgress':_0x48842b=>{_0x48842b&&_0x48842b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48842b['value']);}})['then'](async _0x387a44=>{const {imageFallbackUrl:_0x184beb,imageSources:_0x5221c6}=_0x50b9c9(_0x387a44['cdnUrl'],_0x387a44['imageInfo']['width']);return{'uploadcareImageId':_0x387a44['uuid'],'default':_0x184beb,'sources':_0x5221c6};})['catch'](()=>{const _0x47cbc4=t('Cannot\x20upload\x20file:')+('\x20'+_0x38ff7b['name']+'.');return Promise['reject'](_0x47cbc4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x221a81}from'../uploadcareconfig.js';export function getTranslation(_0x532c0a,_0x35f478,_0x44429c){const t=_0x532c0a['t'],_0x5d14be=_0x532c0a['t'];switch(_0x35f478){case _0x221a81['Local']:return{'text':_0x5d14be('Insert'===_0x44429c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5d14be('From\x20computer')};case _0x221a81['URL']:return{'text':'Insert'===_0x44429c?_0x5d14be('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5d14be('Via\x20URL')};case _0x221a81['Dropbox']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x221a81['Facebook']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x221a81['GDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x221a81['GPhotos']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x221a81['Instagram']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x221a81['OneDrive']:return{'text':t('Insert'===_0x44429c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x35f478;}}
23
+ import{UploadcareSource as _0x487c69}from'../uploadcareconfig.js';export function getTranslation(_0x26e175,_0x2419d1,_0x302ace){const t=_0x26e175['t'],_0x52589b=_0x26e175['t'];switch(_0x2419d1){case _0x487c69['Local']:return{'text':_0x52589b('Insert'===_0x302ace?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x52589b('From\x20computer')};case _0x487c69['URL']:return{'text':'Insert'===_0x302ace?_0x52589b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x52589b('Via\x20URL')};case _0x487c69['Dropbox']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x487c69['Facebook']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x487c69['GDrive']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x487c69['GPhotos']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x487c69['Instagram']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x487c69['OneDrive']:return{'text':t('Insert'===_0x302ace?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2419d1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b9a(){var _0x529107=['6399382JZAtRn','createCollection','5762890eQRxJG','1461054bboQXB','3518382vnwFsW','47DAPDyS','3717qMuOep','focusCycler','16UpYXAM','true','div','getFocusableElement','fire','342110XaNGBZ','focusTracker','9176qOBLHe','bindTemplate','7uReYaJ','forwardCycle','1298jQicgl'];_0x2b9a=function(){return _0x529107;};return _0x2b9a();}var _0x3f8e00=_0x3e62;(function(_0x484ee1,_0xf22753){var _0x1b577f=_0x3e62,_0x3e1a63=_0x484ee1();while(!![]){try{var _0x580f80=-parseInt(_0x1b577f(0x102))/0x1*(-parseInt(_0x1b577f(0xfc))/0x2)+-parseInt(_0x1b577f(0x100))/0x3+-parseInt(_0x1b577f(0xf1))/0x4*(parseInt(_0x1b577f(0xf6))/0x5)+-parseInt(_0x1b577f(0x101))/0x6*(-parseInt(_0x1b577f(0xfa))/0x7)+-parseInt(_0x1b577f(0xf8))/0x8*(-parseInt(_0x1b577f(0x103))/0x9)+parseInt(_0x1b577f(0xff))/0xa+-parseInt(_0x1b577f(0xfd))/0xb;if(_0x580f80===_0xf22753)break;else _0x3e1a63['push'](_0x3e1a63['shift']());}catch(_0x130e28){_0x3e1a63['push'](_0x3e1a63['shift']());}}}(_0x2b9a,0x4f350));function _0x3e62(_0x1a2ddf,_0x12b5c9){var _0x2b9a03=_0x2b9a();return _0x3e62=function(_0x3e6263,_0x2018ab){_0x3e6263=_0x3e6263-0xf1;var _0x2c9357=_0x2b9a03[_0x3e6263];return _0x2c9357;},_0x3e62(_0x1a2ddf,_0x12b5c9);}import{FocusTracker as _0x2df653}from'ckeditor5/src/utils.js';import{View as _0xc3e23f,FocusCycler as _0x438b88}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xc3e23f{constructor(_0x2e9709){var _0x530419=_0x3e62;super(_0x2e9709),this[_0x530419(0xf7)]=new _0x2df653(),this[_0x530419(0x104)]=new _0x438b88({'focusables':this[_0x530419(0xfe)](),'focusTracker':this[_0x530419(0xf7)]});}[_0x3f8e00(0xf4)](){var _0x5505c7=_0x3f8e00;return{'tag':_0x5505c7(0xf3),'attributes':{'aria-hidden':_0x5505c7(0xf2),'tabindex':'0'},'on':{'focus':this[_0x5505c7(0xf9)]['to'](()=>{var _0x542a8d=_0x5505c7;this[_0x542a8d(0x104)][_0x542a8d(0xf5)](_0x542a8d(0xfb));})}};}}
23
+ var _0x54e9bc=_0x6211;(function(_0x24c766,_0x1635e2){var _0x48c1ce=_0x6211,_0x244168=_0x24c766();while(!![]){try{var _0x1ac7ec=parseInt(_0x48c1ce(0x1bb))/0x1+-parseInt(_0x48c1ce(0x1c3))/0x2+-parseInt(_0x48c1ce(0x1b7))/0x3+parseInt(_0x48c1ce(0x1bd))/0x4+-parseInt(_0x48c1ce(0x1c4))/0x5+-parseInt(_0x48c1ce(0x1c6))/0x6+parseInt(_0x48c1ce(0x1c2))/0x7;if(_0x1ac7ec===_0x1635e2)break;else _0x244168['push'](_0x244168['shift']());}catch(_0x2379b3){_0x244168['push'](_0x244168['shift']());}}}(_0x4dc7,0xa998b));function _0x6211(_0x58ebdb,_0x35960f){var _0x4dc71f=_0x4dc7();return _0x6211=function(_0x62115a,_0x474c79){_0x62115a=_0x62115a-0x1b7;var _0x4ce617=_0x4dc71f[_0x62115a];return _0x4ce617;},_0x6211(_0x58ebdb,_0x35960f);}import{FocusTracker as _0x5662d1}from'ckeditor5/src/utils.js';import{View as _0x1383a8,FocusCycler as _0x5be5a2}from'ckeditor5/src/ui.js';function _0x4dc7(){var _0x1eec30=['true','div','17788kDfRCI','fire','1342488mKEBeL','getFocusableElement','focusCycler','bindTemplate','focusTracker','29846047VkFYGD','2022104ugTUcm','6404270clxaXs','forwardCycle','1723158sPDZuF','4030095qazPQy','createCollection'];_0x4dc7=function(){return _0x1eec30;};return _0x4dc7();}import'../../theme/uploadcare-form.css';export default class q extends _0x1383a8{constructor(_0x2f99d0){var _0x2ccfa0=_0x6211;super(_0x2f99d0),this[_0x2ccfa0(0x1c1)]=new _0x5662d1(),this[_0x2ccfa0(0x1bf)]=new _0x5be5a2({'focusables':this[_0x2ccfa0(0x1b8)](),'focusTracker':this[_0x2ccfa0(0x1c1)]});}[_0x54e9bc(0x1be)](){var _0x3bcbd1=_0x54e9bc;return{'tag':_0x3bcbd1(0x1ba),'attributes':{'aria-hidden':_0x3bcbd1(0x1b9),'tabindex':'0'},'on':{'focus':this[_0x3bcbd1(0x1c0)]['to'](()=>{var _0x219eec=_0x3bcbd1;this[_0x219eec(0x1bf)][_0x219eec(0x1bc)](_0x219eec(0x1c5));})}};}}