@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250213.0 → 0.0.0-nightly-next-20250214.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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x449627=_0xe3d1;(function(_0x3814ec,_0x2f2d4a){const _0x5efab1=_0xe3d1,_0x3e84ba=_0x3814ec();while(!![]){try{const _0x581ed1=parseInt(_0x5efab1(0x1c9))/0x1*(-parseInt(_0x5efab1(0x1cb))/0x2)+parseInt(_0x5efab1(0x190))/0x3*(-parseInt(_0x5efab1(0x1b5))/0x4)+parseInt(_0x5efab1(0x1b6))/0x5*(parseInt(_0x5efab1(0x1ae))/0x6)+parseInt(_0x5efab1(0x1bf))/0x7*(-parseInt(_0x5efab1(0x1b2))/0x8)+parseInt(_0x5efab1(0x1ac))/0x9+parseInt(_0x5efab1(0x1d5))/0xa+parseInt(_0x5efab1(0x1a8))/0xb;if(_0x581ed1===_0x2f2d4a)break;else _0x3e84ba['push'](_0x3e84ba['shift']());}catch(_0x1b6de0){_0x3e84ba['push'](_0x3e84ba['shift']());}}}(_0x526c,0xdc3b7));import{Plugin as _0x1da70a}from'ckeditor5/src/core.js';import{Dialog as _0x56bafd}from'ckeditor5/src/ui.js';function _0xe3d1(_0x1a5ced,_0x43894d){const _0x526c67=_0x526c();return _0xe3d1=function(_0xe3d1b,_0x590414){_0xe3d1b=_0xe3d1b-0x184;let _0x464569=_0x526c67[_0xe3d1b];return _0x464569;},_0xe3d1(_0x1a5ced,_0x43894d);}function _0x526c(){const _0x5827fb=['insertImage','32599809bBAnhX','_ctxElement','execute','href','6067836UYAsDf','uploadcareImageReplace','180kjAJBC','#uc-icon-arrow-down','input[uploadcare-file-input]','upcast','56lQtRtV','\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','replaceImageSource','1688WYxGUR','36565sfNpfM','attributeToAttribute','extend','remove','listenTo','appendChild','PictureEditing','document','getAttribute','1545243JqnjmY','schema','uploadcare','contentLanguage','editor','true','imageBlock','isOfficialPlugin','map','_initConversion','2PhCHEq','destroy','1485522yinNey','imageInline','uploadcare.uploader','_initImageProcessingIndicator','isPremiumPlugin','removeAttribute','add','iconHrefResolver','once','UploadcareEditing','3853710kJoakV','uploadcare.pubkey','afterInit','render','_initCtx','fromCharCode','for','downcast','isRegistered','getSelectedElement','uc-config','view','uc-upload-ctx-provider','join','uploader','locale','2202sQnsKq','conversion','ctxElement','_configElement','init','selection','uploadcareImageId','commands','cleanupImage','model','_initConfig','requires','closeMax','config','editing','querySelector','elementToAttribute','pluginName','_initSchema','body','get','configElement','data-uc-image-id'];_0x526c=function(){return _0x5827fb;};return _0x526c();}import{createElement as _0x5291f8,global as _0x31697c,uid as _0x45ffa7}from'ckeditor5/src/utils.js';import _0x3f33de from'./uploadcarecommand.js';import _0x52f778 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2510a8}from'./utils/editingutils.js';export default class i extends _0x1da70a{[_0x449627(0x193)]=null;[_0x449627(0x1a9)]=null;static get[_0x449627(0x1a1)](){const _0x313d72=_0x449627;return _0x313d72(0x1d4);}static get[_0x449627(0x19b)](){const _0x1abee9=_0x449627;return[_0x1abee9(0x1bc),_0x52f778,_0x56bafd];}static get[_0x449627(0x1c6)](){return!0x0;}static get[_0x449627(0x1cf)](){return!0x0;}get[_0x449627(0x1a5)](){const _0x28ff1b=_0x449627;return this[_0x28ff1b(0x193)];}get[_0x449627(0x192)](){const _0x4fc8e1=_0x449627;return this[_0x4fc8e1(0x1a9)];}[_0x449627(0x194)](){const _0x4f3f37=_0x449627,_0x572dd6=this[_0x4f3f37(0x1c3)];_0x572dd6[_0x4f3f37(0x197)][_0x4f3f37(0x1d1)](_0x4f3f37(0x1c1),new _0x3f33de(_0x572dd6));}[_0x449627(0x1d7)](){const _0x481d59=_0x449627;this[_0x481d59(0x1a2)](),this[_0x481d59(0x1c8)](),this[_0x481d59(0x19a)](),this[_0x481d59(0x184)](),this[_0x481d59(0x1ce)](),this[_0x481d59(0x1ba)](this[_0x481d59(0x1c3)],_0x481d59(0x1ca),()=>{const _0x5f2bd5=_0x481d59;this[_0x5f2bd5(0x193)]&&(this[_0x5f2bd5(0x193)][_0x5f2bd5(0x1b9)](),this[_0x5f2bd5(0x193)]=null),this[_0x5f2bd5(0x1a9)]&&(this[_0x5f2bd5(0x1a9)][_0x5f2bd5(0x1b9)](),this[_0x5f2bd5(0x1a9)]=null);const _0x36779a=_0x31697c[_0x5f2bd5(0x1bd)][_0x5f2bd5(0x19f)](_0x5f2bd5(0x1b0));_0x36779a&&_0x36779a[_0x5f2bd5(0x1b9)]();}),async function(_0x502335){const _0x3e42ba=_0xd1bd98([0x6f,0x72,0x46,0x79,0x57,0x5a,0x69,0x38,0x43,0x37,0x70,0x62,0x4f,0x75,0x4a,0x44,0x41,0x49,0x78,0x4e,0x42,0x76,0x61,0x63,0x6e,0x34,0x47,0x33,0x30,0x77,0x35,0x53,0x6b,0x52,0x65,0x71,0x4c,0x4d,0x59,0x51,0x36,0x6a,0x6d,0x55,0x64,0x74,0x48,0x39,0x66,0x58,0x73,0x56,0x31,0x45,0x32,0x67,0x68,0x6c,0x50,0x4b,0x54,0x7a]),_0x50b685=0x475be8b1,_0x489709=0x475cb7d1^_0x50b685,_0x571533=window[_0xd1bd98([0x44,0x61,0x74,0x65])][_0xd1bd98([0x6e,0x6f,0x77])](),_0xa0cf7d=_0x502335[_0xd1bd98([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2120e6=new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471a02=>{_0xa0cf7d[_0xd1bd98([0x6f,0x6e,0x63,0x65])](_0xd1bd98([0x72,0x65,0x61,0x64,0x79]),_0x471a02);}),_0x92cbc0={[_0xd1bd98([0x6b,0x74,0x79])]:_0xd1bd98([0x45,0x43]),[_0xd1bd98([0x75,0x73,0x65])]:_0xd1bd98([0x73,0x69,0x67]),[_0xd1bd98([0x63,0x72,0x76])]:_0xd1bd98([0x50,0x2d,0x32,0x35,0x36]),[_0xd1bd98([0x78])]:_0xd1bd98([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]),[_0xd1bd98([0x79])]:_0xd1bd98([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]),[_0xd1bd98([0x61,0x6c,0x67])]:_0xd1bd98([0x45,0x53,0x32,0x35,0x36])},_0x56f25d=_0xa0cf7d[_0xd1bd98([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd1bd98([0x67,0x65,0x74])](_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5721f8(){let _0x17c61a,_0xabc484=null,_0x4ccacb=null;try{if(_0x56f25d==_0xd1bd98([0x47,0x50,0x4c]))return _0xd1bd98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17c61a=_0x336660(),!_0x17c61a)return _0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17c61a[_0xd1bd98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ccacb=_0xa35695(_0x17c61a[_0xd1bd98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17c61a[_0xd1bd98([0x6a,0x74,0x69])])),await _0x3b9bf6()?_0x4b5a32()?_0xe510c5()?_0xd1bd98([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39fdb5()?(_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd1bd98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xabc484=_0x30913c(_0xd1bd98([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd1bd98([0x74,0x72,0x69,0x61,0x6c])&&(_0xabc484=_0x30913c(_0xd1bd98([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22fea8()):_0xd1bd98([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd1bd98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27d26f){return _0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe510c5(){const _0x297922=[_0xd1bd98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd1bd98([0x74,0x72,0x69,0x61,0x6c])][_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x571533/0x3e8:0xe10*_0x489709;return _0x17c61a[_0xd1bd98([0x65,0x78,0x70])]<_0x297922;}function _0x4b5a32(){const _0x16db0a=_0x17c61a[_0xd1bd98([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16db0a&&(!!_0x16db0a[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x2a]))||!!_0x16db0a[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x55,0x50,0x4c,0x43])));}function _0x39fdb5(){const _0x59d6de=_0xe3d1,_0x555e3b=_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555e3b||0x0==_0x555e3b[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x463912}=new URL(window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59d6de(0x1ab)]);if(_0x555e3b[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463912))return!0x0;const _0x28cdf1=_0x463912[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e]));return _0x555e3b[_0xd1bd98([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d6aec=>_0x5d6aec[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x2a])))[_0xd1bd98([0x6d,0x61,0x70])](_0xffc543=>_0xffc543[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e])))[_0xd1bd98([0x73,0x6f,0x6d,0x65])](_0x321c69=>_0x28cdf1[_0xd1bd98([0x65,0x76,0x65,0x72,0x79])]((_0x178312,_0x5efd43)=>_0x321c69[_0x5efd43]===_0x178312||_0x321c69[_0x5efd43]===_0xd1bd98([0x2a])));}function _0x22fea8(){return _0xabc484&&_0x4ccacb?new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f936,_0xf709db)=>{_0xabc484[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x37f936,_0xf709db),_0x4ccacb[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x5c33f5=>{_0x5c33f5!=_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])&&_0x37f936(_0x5c33f5);},_0xf709db);}):_0xabc484||_0x4ccacb||_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa35695(_0x93e49f,_0x30920e){return new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55eacc=>{if(_0x8bffe0())return _0x55eacc(_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]));_0xd149a4(),_0xa0cf7d[_0xd1bd98([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f4680=!0x1;const _0x52dd06=_0x45ffa7();function _0x28c0e1(_0x5699a7){return!!_0x5699a7&&(typeof _0x5699a7===_0xd1bd98([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5699a7===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5699a7[_0xd1bd98([0x74,0x68,0x65,0x6e])]===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5699a7[_0xd1bd98([0x63,0x61,0x74,0x63,0x68])]===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e3b54(_0x745c61){_0x51f771(_0x745c61)[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x49a7b9=>{if(!_0x49a7b9||_0x49a7b9[_0xd1bd98([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd1bd98([0x6f,0x6b]))return _0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d20b5(_0x1fb512(_0x52dd06+_0x30920e))!=_0x49a7b9[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]);})[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x1c7ca5=>(_0x450001(),_0x1c7ca5),()=>{const _0x12ca3b=_0x3a4155();return null==_0x12ca3b?(_0x450001(),_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])):_0xd1bd98(_0x571533-_0x12ca3b>(0x63576cb1^_0x50b685)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x55eacc)[_0xd1bd98([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ea34d=0x476d0631^_0x50b685;function _0x450001(){const _0x29962a=_0xd1bd98([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d20b5(_0x1fb512(_0x93e49f)),_0x3e42ef=_0xc4ce26(_0x3d20b5(window[_0xd1bd98([0x4d,0x61,0x74,0x68])][_0xd1bd98([0x63,0x65,0x69,0x6c])](_0x571533/_0x3ea34d)));window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd1bd98([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29962a,_0x3e42ef);}function _0x3a4155(){const _0x34e3d1=_0xd1bd98([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d20b5(_0x1fb512(_0x93e49f)),_0x33bbb2=window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd1bd98([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34e3d1);return _0x33bbb2?window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4ce26(_0x33bbb2),0x10)*_0x3ea34d:null;}function _0x51f771(_0x3b1132){return new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3659ef,_0x55f024)=>{_0x3b1132[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x3659ef,_0x55f024),window[_0xd1bd98([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55f024,0x475a3c71^_0x50b685);});}}_0xa0cf7d[_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f72e5,_0x2bed6d)=>{if(_0x2bed6d[0x0]!=_0x93e49f)return _0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bed6d[0x1]={..._0x2bed6d[0x1],[_0xd1bd98([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52dd06};},{[_0xd1bd98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd1bd98([0x68,0x69,0x67,0x68])}),_0xa0cf7d[_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b1305=>{_0x28c0e1(_0x1b1305[_0xd1bd98([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f4680=!0x0,_0x1e3b54(_0x1b1305[_0xd1bd98([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd1bd98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd1bd98([0x6c,0x6f,0x77])}),_0x2120e6[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>{_0x5f4680||_0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8bffe0(){return _0xa0cf7d[_0xd1bd98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd1bd98([0x76,0x69,0x65,0x77])][_0xd1bd98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd1bd98([0x61,0x75,0x74,0x6f]);}function _0xd149a4(){_0xa0cf7d[_0xd1bd98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd1bd98([0x76,0x69,0x65,0x77])][_0xd1bd98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd1bd98([0x61,0x75,0x74,0x6f]);}}function _0x30913c(_0x4d1a6d){const _0x43f523=[new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107b17=>setTimeout(_0x107b17,0x4752d67d^_0x50b685)),_0x2120e6[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466343=>{let _0xa9b64f=0x0;_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5529,_0x54587c)=>{_0x54587c[0x0][_0xd1bd98([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa9b64f++,_0xa9b64f==(0x475be949^_0x50b685)&&(_0x466343(),_0x4b5529[_0xd1bd98([0x6f,0x66,0x66])]());});}))];return window[_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd1bd98([0x72,0x61,0x63,0x65])](_0x43f523)[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>_0x4d1a6d);}async function _0x12c471(){await _0x2120e6,_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3867a4,_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3867a4,_0xa0cf7d[_0xd1bd98([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d65ff(_0x5d1f78){const _0x4ce0d1=_0x210c23();_0xa0cf7d[_0x4ce0d1]=_0xd1bd98([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d1f78,_0x5d1f78!=_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])&&_0x12c471();}function _0x210c23(){const _0x820674=window[_0xd1bd98([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd1bd98([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd1bd98([0x6e,0x6f,0x77])]())[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd1bd98([0x2e]),'');let _0x335620=_0xd1bd98([0x6f]);for(let _0x40eb41=0x0;_0x40eb41<_0x820674[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40eb41+=0x2){let _0x2d0491=window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x820674[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40eb41,_0x40eb41+0x2));_0x2d0491>=_0x3e42ba[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d0491-=_0x3e42ba[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x335620+=_0x3e42ba[_0x2d0491];}return _0x335620;}function _0x336660(){const _0x26dff4=_0x56f25d[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e]));if(0x3!=_0x26dff4[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x69853d(_0x26dff4[0x1]);function _0x69853d(_0x246b12){const _0x5d28e5=_0x4dd8f0(_0x246b12);return _0x5d28e5&&_0x2491b1()?_0x5d28e5:null;function _0x2491b1(){const _0x505ffc=_0x5d28e5[_0xd1bd98([0x6a,0x74,0x69])],_0x5eb808=window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x505ffc[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505ffc[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x218847={..._0x5d28e5,[_0xd1bd98([0x6a,0x74,0x69])]:_0x505ffc[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x505ffc[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x218847[_0xd1bd98([0x76,0x63])],_0x1fb512(_0x218847)==_0x5eb808;}}}async function _0x3b9bf6(){let _0x128d25=!0x0;try{const _0x27fd7b=_0x56f25d[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e])),[_0x4f3355,_0x2430dd,_0x515d01]=_0x27fd7b;return _0x3d5d4b(_0x4f3355),await _0x189cdc(_0x4f3355,_0x2430dd,_0x515d01),_0x128d25;}catch(_0xa6ed7d){return!0x1;}function _0x3d5d4b(_0x1a096f){const _0x520e4c=_0x4dd8f0(_0x1a096f);_0x520e4c&&_0x520e4c[_0xd1bd98([0x61,0x6c,0x67])]==_0xd1bd98([0x45,0x53,0x32,0x35,0x36])||(_0x128d25=!0x1);}async function _0x189cdc(_0x24472f,_0x1dea8c,_0x24d4b4){const _0xf6663f=window[_0xd1bd98([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd1bd98([0x66,0x72,0x6f,0x6d])](_0xc2b58d(_0x24d4b4),_0x129425=>_0x129425[_0xd1bd98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f08ad=new window[(_0xd1bd98([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd1bd98([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24472f+_0xd1bd98([0x2e])+_0x1dea8c),_0x40d5fb=window[_0xd1bd98([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd1bd98([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40d5fb)return;const _0x4942e4=await _0x40d5fb[_0xd1bd98([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd1bd98([0x6a,0x77,0x6b]),_0x92cbc0,{[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x45,0x43,0x44,0x53,0x41]),[_0xd1bd98([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd1bd98([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40d5fb[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x45,0x43,0x44,0x53,0x41]),[_0xd1bd98([0x68,0x61,0x73,0x68])]:{[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4942e4,_0xf6663f,_0x5f08ad)||(_0x128d25=!0x1);}}function _0x4dd8f0(_0x552d51){return _0x552d51[_0xd1bd98([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd1bd98([0x65,0x79]))?JSON[_0xd1bd98([0x70,0x61,0x72,0x73,0x65])](_0xc2b58d(_0x552d51)):null;}function _0xc2b58d(_0x5705fe){return window[_0xd1bd98([0x61,0x74,0x6f,0x62])](_0x5705fe[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd1bd98([0x2b]))[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd1bd98([0x2f])));}function _0x1fb512(_0x447b01){let _0x296d05=0x1505;function _0x1982c2(_0x2fa0e3){for(let _0x352efa=0x0;_0x352efa<_0x2fa0e3[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x352efa++){const _0x13bc05=_0x2fa0e3[_0xd1bd98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x352efa);_0x296d05=(_0x296d05<<0x5)+_0x296d05+_0x13bc05,_0x296d05&=_0x296d05;}}function _0x9635f2(_0x961c94){Array[_0xd1bd98([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x961c94)?_0x961c94[_0xd1bd98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9635f2):_0x961c94&&typeof _0x961c94==_0xd1bd98([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd1bd98([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x961c94)[_0xd1bd98([0x73,0x6f,0x72,0x74])]()[_0xd1bd98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55f34a,_0x396305])=>{_0x1982c2(_0x55f34a),_0x9635f2(_0x396305);}):_0x1982c2(window[_0xd1bd98([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x961c94));}return _0x9635f2(_0x447b01),_0x296d05>>>0x0;}function _0x3d20b5(_0x355f8c){return _0x355f8c[_0xd1bd98([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd1bd98([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd1bd98([0x30]));}function _0xc4ce26(_0x5c24bd){return _0x5c24bd[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd1bd98([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd1bd98([0x6a,0x6f,0x69,0x6e])]('');}function _0x3867a4(){}function _0xd1bd98(_0x53d693){const _0x35f7e3=_0xe3d1;return _0x53d693[_0x35f7e3(0x1c7)](_0x2d04e6=>String[_0x35f7e3(0x185)](_0x2d04e6))[_0x35f7e3(0x18d)]('');}_0x2d65ff(await _0x5721f8());}(this);}[_0x449627(0x1a2)](){const _0x1fc05b=_0x449627,_0x5a98b6=this[_0x1fc05b(0x1c3)][_0x1fc05b(0x199)][_0x1fc05b(0x1c0)];_0x5a98b6[_0x1fc05b(0x188)](_0x1fc05b(0x1c5))&&_0x5a98b6[_0x1fc05b(0x1b8)](_0x1fc05b(0x1c5),{'allowAttributes':[_0x1fc05b(0x196)]}),_0x5a98b6[_0x1fc05b(0x188)](_0x1fc05b(0x1cc))&&_0x5a98b6[_0x1fc05b(0x1b8)](_0x1fc05b(0x1cc),{'allowAttributes':[_0x1fc05b(0x196)]});}[_0x449627(0x1c8)](){const _0x4f27df=_0x449627,_0x1b923b=this[_0x4f27df(0x1c3)];_0x1b923b[_0x4f27df(0x191)][_0x4f27df(0x186)](_0x4f27df(0x187))[_0x4f27df(0x1b7)]({'model':_0x4f27df(0x196),'view':_0x4f27df(0x1a6)}),_0x1b923b[_0x4f27df(0x191)][_0x4f27df(0x186)](_0x4f27df(0x1b1))[_0x4f27df(0x1a0)]({'model':{'key':_0x4f27df(0x196),'value':_0xf5443f=>_0xf5443f[_0x4f27df(0x1be)](_0x4f27df(0x1a6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1cac47=_0x1b923b[_0x4f27df(0x197)][_0x4f27df(0x1a4)](_0x4f27df(0x1b4));_0x1cac47&&this[_0x4f27df(0x1ba)](_0x1cac47,_0x4f27df(0x198),(_0x1eda5f,[_0xbb6b2e,_0x114bae])=>{const _0x2336b5=_0x4f27df;_0xbb6b2e[_0x2336b5(0x1d0)](_0x2336b5(0x196),_0x114bae);});}[_0x449627(0x19a)](){const _0xa1dcc1=_0x449627,_0x2212b9=this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x19d)][_0xa1dcc1(0x1a4)](_0xa1dcc1(0x1cd))||{},_0x26cd1=this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x19d)][_0xa1dcc1(0x1a4)](_0xa1dcc1(0x1d6))||'';this[_0xa1dcc1(0x193)]=_0x5291f8(_0x31697c[_0xa1dcc1(0x1bd)],_0xa1dcc1(0x18a),{..._0x2212b9,'pubkey':_0x26cd1,'ctx-name':_0xa1dcc1(0x18e),'sourceList':'','imgOnly':_0xa1dcc1(0x1c4),'removeCopyright':_0xa1dcc1(0x1c4),'localeName':this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x18f)][_0xa1dcc1(0x1c2)],'externalSourcesEmbedCss':_0xa1dcc1(0x1b3)}),this[_0xa1dcc1(0x193)][_0xa1dcc1(0x1d2)]=_0x39ae7c=>{const _0x4bba4f=_0xa1dcc1;if(_0x4bba4f(0x19c)==_0x39ae7c)return _0x4bba4f(0x1af);},_0x31697c[_0xa1dcc1(0x1bd)][_0xa1dcc1(0x1a3)][_0xa1dcc1(0x1bb)](this[_0xa1dcc1(0x193)]);}[_0x449627(0x184)](){const _0x569ed1=_0x449627;this[_0x569ed1(0x1a9)]=_0x5291f8(_0x31697c[_0x569ed1(0x1bd)],_0x569ed1(0x18c),{'ctx-name':_0x569ed1(0x18e)}),_0x31697c[_0x569ed1(0x1bd)][_0x569ed1(0x1a3)][_0x569ed1(0x1bb)](this[_0x569ed1(0x1a9)]);}[_0x449627(0x1ce)](){const _0x4ff6fb=_0x449627,_0x3d618a=this[_0x4ff6fb(0x1c3)][_0x4ff6fb(0x197)][_0x4ff6fb(0x1a4)](_0x4ff6fb(0x1a7));_0x3d618a&&this[_0x4ff6fb(0x1ba)](_0x3d618a,_0x4ff6fb(0x1aa),()=>{const _0x262655=_0x4ff6fb,_0x26ff9f=this[_0x262655(0x1c3)][_0x262655(0x199)][_0x262655(0x1bd)][_0x262655(0x195)][_0x262655(0x189)]();_0x26ff9f&&_0x26ff9f[_0x262655(0x1be)](_0x262655(0x196))&&this[_0x262655(0x1c3)][_0x262655(0x19e)][_0x262655(0x18b)][_0x262655(0x1d3)](_0x262655(0x1d8),()=>{const _0x1bd1c9=_0x262655;_0x2510a8(this[_0x1bd1c9(0x1c3)],_0x26ff9f);});});const _0x43027c=this[_0x4ff6fb(0x1c3)][_0x4ff6fb(0x197)][_0x4ff6fb(0x1a4)](_0x4ff6fb(0x1ad));_0x43027c&&this[_0x4ff6fb(0x1ba)](_0x43027c,_0x4ff6fb(0x1aa),()=>{const _0x784e30=_0x4ff6fb,_0x25278a=this[_0x784e30(0x1c3)][_0x784e30(0x199)][_0x784e30(0x1bd)][_0x784e30(0x195)][_0x784e30(0x189)]();_0x25278a&&_0x25278a[_0x784e30(0x1be)](_0x784e30(0x196))&&this[_0x784e30(0x1c3)][_0x784e30(0x19e)][_0x784e30(0x18b)][_0x784e30(0x1d3)](_0x784e30(0x1d8),()=>{const _0x46146c=_0x784e30;_0x2510a8(this[_0x46146c(0x1c3)],_0x25278a);});});}}
|
|
23
|
+
const _0x2d8e21=_0x4637;(function(_0x44f5ba,_0x30f4e0){const _0x46ec1b=_0x4637,_0x408e01=_0x44f5ba();while(!![]){try{const _0xc6dfd=-parseInt(_0x46ec1b(0x199))/0x1*(-parseInt(_0x46ec1b(0x1ab))/0x2)+-parseInt(_0x46ec1b(0x1b0))/0x3+parseInt(_0x46ec1b(0x1c5))/0x4+-parseInt(_0x46ec1b(0x1ce))/0x5+-parseInt(_0x46ec1b(0x191))/0x6+parseInt(_0x46ec1b(0x186))/0x7+parseInt(_0x46ec1b(0x1ca))/0x8;if(_0xc6dfd===_0x30f4e0)break;else _0x408e01['push'](_0x408e01['shift']());}catch(_0x3e9643){_0x408e01['push'](_0x408e01['shift']());}}}(_0x524e,0x57547));import{Plugin as _0x5b3283}from'ckeditor5/src/core.js';import{Dialog as _0x96f37a}from'ckeditor5/src/ui.js';function _0x4637(_0x1e9bf0,_0x231771){const _0x524e09=_0x524e();return _0x4637=function(_0x463795,_0x1742c9){_0x463795=_0x463795-0x180;let _0x58397e=_0x524e09[_0x463795];return _0x58397e;},_0x4637(_0x1e9bf0,_0x231771);}import{createElement as _0x459276,global as _0x55a3e7,uid as _0x3d506e}from'ckeditor5/src/utils.js';import _0x5c278c from'./uploadcarecommand.js';import _0x8044c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d84b3}from'./utils/editingutils.js';function _0x524e(){const _0x7c9788=['commands','_initCtx','uploadcare.pubkey','1997397cGpcBq','contentLanguage','downcast','pluginName','href','uploadcareImageReplace','_initImageProcessingIndicator','insertImage','PictureEditing','locale','render','uc-config','afterInit','uploadcare','imageBlock','init','elementToAttribute','_initConfig','data-uc-image-id','uploadcare.uploader','get','93828HJCHbd','selection','execute','getAttribute','join','5487664cNnoZQ','_configElement','closeMax','body','1707305OFAkhG','replaceImageSource','editing','ctxElement','_ctxElement','true','iconHrefResolver','requires','once','_initSchema','2556771mzUFTh','map','config','isRegistered','querySelector','\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','cleanupImage','fromCharCode','conversion','schema','imageInline','1342464YQMETR','UploadcareEditing','listenTo','_initConversion','removeAttribute','editor','attributeToAttribute','#uc-icon-arrow-down','10937ztyvxK','uploader','model','extend','remove','add','getSelectedElement','isOfficialPlugin','destroy','input[uploadcare-file-input]','uploadcareImageId','uc-upload-ctx-provider','document','isPremiumPlugin','upcast','view','appendChild','for','94qekjIX','configElement'];_0x524e=function(){return _0x7c9788;};return _0x524e();}export default class i extends _0x5b3283{[_0x2d8e21(0x1cb)]=null;[_0x2d8e21(0x180)]=null;static get[_0x2d8e21(0x1b3)](){const _0x3d5f1c=_0x2d8e21;return _0x3d5f1c(0x192);}static get[_0x2d8e21(0x183)](){const _0x145715=_0x2d8e21;return[_0x145715(0x1b8),_0x8044c9,_0x96f37a];}static get[_0x2d8e21(0x1a0)](){return!0x0;}static get[_0x2d8e21(0x1a6)](){return!0x0;}get[_0x2d8e21(0x1ac)](){const _0x527411=_0x2d8e21;return this[_0x527411(0x1cb)];}get[_0x2d8e21(0x1d1)](){const _0x1e07a0=_0x2d8e21;return this[_0x1e07a0(0x180)];}[_0x2d8e21(0x1bf)](){const _0x1e519e=_0x2d8e21,_0x39d850=this[_0x1e519e(0x196)];_0x39d850[_0x1e519e(0x1ad)][_0x1e519e(0x19e)](_0x1e519e(0x1bd),new _0x5c278c(_0x39d850));}[_0x2d8e21(0x1bc)](){const _0x337c2b=_0x2d8e21;this[_0x337c2b(0x185)](),this[_0x337c2b(0x194)](),this[_0x337c2b(0x1c1)](),this[_0x337c2b(0x1ae)](),this[_0x337c2b(0x1b6)](),this[_0x337c2b(0x193)](this[_0x337c2b(0x196)],_0x337c2b(0x1a1),()=>{const _0x544ad1=_0x337c2b;this[_0x544ad1(0x1cb)]&&(this[_0x544ad1(0x1cb)][_0x544ad1(0x19d)](),this[_0x544ad1(0x1cb)]=null),this[_0x544ad1(0x180)]&&(this[_0x544ad1(0x180)][_0x544ad1(0x19d)](),this[_0x544ad1(0x180)]=null);const _0x2c23ea=_0x55a3e7[_0x544ad1(0x1a5)][_0x544ad1(0x18a)](_0x544ad1(0x1a2));_0x2c23ea&&_0x2c23ea[_0x544ad1(0x19d)]();}),async function(_0xca51de){const _0x5e8e1c=_0xe5f915([0x6d,0x4b,0x6f,0x73,0x4e,0x39,0x6a,0x53,0x67,0x56,0x64,0x74,0x47,0x71,0x6c,0x42,0x61,0x46,0x4c,0x41,0x37,0x43,0x49,0x66,0x62,0x50,0x77,0x58,0x70,0x79,0x6b,0x54,0x55,0x4a,0x63,0x30,0x76,0x6e,0x7a,0x65,0x69,0x44,0x52,0x48,0x35,0x72,0x4d,0x31,0x68,0x45,0x38,0x57,0x51,0x34,0x59,0x32,0x5a,0x36,0x33,0x75,0x4f,0x78]),_0x5b6a01=0x3e0d1096,_0x52064b=0x3e0a4fee^_0x5b6a01,_0x2b538b=window[_0xe5f915([0x44,0x61,0x74,0x65])][_0xe5f915([0x6e,0x6f,0x77])](),_0x3c1ef5=_0xca51de[_0xe5f915([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25a577=new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bd18=>{_0x3c1ef5[_0xe5f915([0x6f,0x6e,0x63,0x65])](_0xe5f915([0x72,0x65,0x61,0x64,0x79]),_0x29bd18);}),_0x350700={[_0xe5f915([0x6b,0x74,0x79])]:_0xe5f915([0x45,0x43]),[_0xe5f915([0x75,0x73,0x65])]:_0xe5f915([0x73,0x69,0x67]),[_0xe5f915([0x63,0x72,0x76])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36]),[_0xe5f915([0x78])]:_0xe5f915([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]),[_0xe5f915([0x79])]:_0xe5f915([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]),[_0xe5f915([0x61,0x6c,0x67])]:_0xe5f915([0x45,0x53,0x32,0x35,0x36])},_0x2e300d=_0x3c1ef5[_0xe5f915([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5f915([0x67,0x65,0x74])](_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4aaf(){let _0x199ba8,_0x2b206f=null,_0x3885ad=null;try{if(_0x2e300d==_0xe5f915([0x47,0x50,0x4c]))return _0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199ba8=_0x3cb28a(),!_0x199ba8)return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3885ad=_0x2fb617(_0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199ba8[_0xe5f915([0x6a,0x74,0x69])])),await _0x534bb0()?_0x2cb2aa()?_0x50281b()?_0xe5f915([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442d63()?(_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd77e44()):_0xe5f915([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d1ef4){return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50281b(){const _0x1cc479=[_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5f915([0x74,0x72,0x69,0x61,0x6c])][_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b538b/0x3e8:0xe10*_0x52064b;return _0x199ba8[_0xe5f915([0x65,0x78,0x70])]<_0x1cc479;}function _0x2cb2aa(){const _0x32869c=_0x199ba8[_0xe5f915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32869c&&(!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a]))||!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x55,0x50,0x4c,0x43])));}function _0x442d63(){const _0x1ec73f=_0x4637,_0x45cfd7=_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45cfd7||0x0==_0x45cfd7[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378eef}=new URL(window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ec73f(0x1b4)]);if(_0x45cfd7[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378eef))return!0x0;const _0x3d9a86=_0x378eef[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));return _0x45cfd7[_0xe5f915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25f288=>_0x25f288[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a])))[_0xe5f915([0x6d,0x61,0x70])](_0x254f12=>_0x254f12[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])))[_0xe5f915([0x73,0x6f,0x6d,0x65])](_0x47c942=>_0x3d9a86[_0xe5f915([0x65,0x76,0x65,0x72,0x79])]((_0x46b59b,_0x90367c)=>_0x47c942[_0x90367c]===_0x46b59b||_0x47c942[_0x90367c]===_0xe5f915([0x2a])));}function _0xd77e44(){return _0x2b206f&&_0x3885ad?new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fea29,_0x29cb5a)=>{_0x2b206f[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x1fea29,_0x29cb5a),_0x3885ad[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x541c18=>{_0x541c18!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x1fea29(_0x541c18);},_0x29cb5a);}):_0x2b206f||_0x3885ad||_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fb617(_0x5ac486,_0x725f2d){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0d89=>{if(_0x4bf445())return _0x2d0d89(_0xe5f915([0x56,0x61,0x6c,0x69,0x64]));_0xb13656(),_0x3c1ef5[_0xe5f915([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xab86e9=!0x1;const _0x517dd6=_0x3d506e();function _0x23078b(_0xe3959f){return!!_0xe3959f&&(typeof _0xe3959f===_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3959f===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3959f[_0xe5f915([0x74,0x68,0x65,0x6e])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3959f[_0xe5f915([0x63,0x61,0x74,0x63,0x68])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d3d5f(_0x34c7e2){_0x4745c5(_0x34c7e2)[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x15138c=>{if(!_0x15138c||_0x15138c[_0xe5f915([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5f915([0x6f,0x6b]))return _0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf94b8a(_0x5a2154(_0x517dd6+_0x725f2d))!=_0x15138c[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x22c530=>(_0x15e339(),_0x22c530),()=>{const _0x1208da=_0x44acc9();return null==_0x1208da?(_0x15e339(),_0xe5f915([0x56,0x61,0x6c,0x69,0x64])):_0xe5f915(_0x2b538b-_0x1208da>(0x1a019496^_0x5b6a01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2d0d89)[_0xe5f915([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x963c48=0x3e3bfe16^_0x5b6a01;function _0x15e339(){const _0xa01cbb=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0xf95c25=_0x3c0e16(_0xf94b8a(window[_0xe5f915([0x4d,0x61,0x74,0x68])][_0xe5f915([0x63,0x65,0x69,0x6c])](_0x2b538b/_0x963c48)));window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa01cbb,_0xf95c25);}function _0x44acc9(){const _0x41cc7e=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0x4ca43d=window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41cc7e);return _0x4ca43d?window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0e16(_0x4ca43d),0x10)*_0x963c48:null;}function _0x4745c5(_0xf928d6){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b608b,_0x271485)=>{_0xf928d6[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2b608b,_0x271485),window[_0xe5f915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271485,0x3e0cc456^_0x5b6a01);});}}_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34aab1,_0x240e5a)=>{if(_0x240e5a[0x0]!=_0x5ac486)return _0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x240e5a[0x1]={..._0x240e5a[0x1],[_0xe5f915([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517dd6};},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x68,0x69,0x67,0x68])}),_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789c3=>{_0x23078b(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xab86e9=!0x0,_0x3d3d5f(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x6c,0x6f,0x77])}),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>{_0xab86e9||_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bf445(){return _0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5f915([0x61,0x75,0x74,0x6f]);}function _0xb13656(){_0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5f915([0x61,0x75,0x74,0x6f]);}}function _0x5ac896(_0x364971){const _0x18d2ab=[new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199f1b=>setTimeout(_0x199f1b,0x3e042e5a^_0x5b6a01)),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f23a=>{let _0x3703e4=0x0;_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x6f,0x6e])](_0xe5f915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ecf69,_0x4167e9)=>{_0x4167e9[0x0][_0xe5f915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3703e4++,_0x3703e4==(0x3e0d116e^_0x5b6a01)&&(_0x33f23a(),_0x1ecf69[_0xe5f915([0x6f,0x66,0x66])]());});}))];return window[_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5f915([0x72,0x61,0x63,0x65])](_0x18d2ab)[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>_0x364971);}async function _0x100101(){await _0x25a577,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41dfdf(_0x318ae9){const _0x592156=_0x1620f0();_0x3c1ef5[_0x592156]=_0xe5f915([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318ae9,_0x318ae9!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x100101();}function _0x1620f0(){const _0x2ce980=window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5f915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5f915([0x6e,0x6f,0x77])]())[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5f915([0x2e]),'');let _0x1b4409=_0xe5f915([0x6d]);for(let _0x347672=0x0;_0x347672<_0x2ce980[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347672+=0x2){let _0x48867f=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce980[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347672,_0x347672+0x2));_0x48867f>=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48867f-=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4409+=_0x5e8e1c[_0x48867f];}return _0x1b4409;}function _0x3cb28a(){const _0x529d2e=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));if(0x3!=_0x529d2e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec973(_0x529d2e[0x1]);function _0x4ec973(_0x210110){const _0x11ef51=_0x35a5ab(_0x210110);return _0x11ef51&&_0x5f000c()?_0x11ef51:null;function _0x5f000c(){const _0x3f2d9e=_0x11ef51[_0xe5f915([0x6a,0x74,0x69])],_0x225222=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c53c={..._0x11ef51,[_0xe5f915([0x6a,0x74,0x69])]:_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c53c[_0xe5f915([0x76,0x63])],_0x5a2154(_0x48c53c)==_0x225222;}}}async function _0x534bb0(){let _0x130ddb=!0x0;try{const _0x3c255d=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])),[_0x1f4c7d,_0x2cd8a8,_0x59d006]=_0x3c255d;return _0x4a2724(_0x1f4c7d),await _0x216aef(_0x1f4c7d,_0x2cd8a8,_0x59d006),_0x130ddb;}catch(_0x520ac9){return!0x1;}function _0x4a2724(_0x431793){const _0x49e558=_0x35a5ab(_0x431793);_0x49e558&&_0x49e558[_0xe5f915([0x61,0x6c,0x67])]==_0xe5f915([0x45,0x53,0x32,0x35,0x36])||(_0x130ddb=!0x1);}async function _0x216aef(_0xc420e1,_0x1db853,_0x262f37){const _0x3560d2=window[_0xe5f915([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5f915([0x66,0x72,0x6f,0x6d])](_0x49e065(_0x262f37),_0xf299f7=>_0xf299f7[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495694=new window[(_0xe5f915([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5f915([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc420e1+_0xe5f915([0x2e])+_0x1db853),_0x54d295=window[_0xe5f915([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5f915([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d295)return;const _0x5a20d4=await _0x54d295[_0xe5f915([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5f915([0x6a,0x77,0x6b]),_0x350700,{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d295[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x68,0x61,0x73,0x68])]:{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a20d4,_0x3560d2,_0x495694)||(_0x130ddb=!0x1);}}function _0x35a5ab(_0x4dfee5){return _0x4dfee5[_0xe5f915([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5f915([0x65,0x79]))?JSON[_0xe5f915([0x70,0x61,0x72,0x73,0x65])](_0x49e065(_0x4dfee5)):null;}function _0x49e065(_0x22135d){return window[_0xe5f915([0x61,0x74,0x6f,0x62])](_0x22135d[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5f915([0x2b]))[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5f915([0x2f])));}function _0x5a2154(_0x41d1e){let _0x401e73=0x1505;function _0x5778b9(_0x48e3a5){for(let _0x136c56=0x0;_0x136c56<_0x48e3a5[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x136c56++){const _0x421c2c=_0x48e3a5[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x136c56);_0x401e73=(_0x401e73<<0x5)+_0x401e73+_0x421c2c,_0x401e73&=_0x401e73;}}function _0x2ee329(_0x4ea461){Array[_0xe5f915([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea461)?_0x4ea461[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee329):_0x4ea461&&typeof _0x4ea461==_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5f915([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea461)[_0xe5f915([0x73,0x6f,0x72,0x74])]()[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eb015,_0x4f6a89])=>{_0x5778b9(_0x2eb015),_0x2ee329(_0x4f6a89);}):_0x5778b9(window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea461));}return _0x2ee329(_0x41d1e),_0x401e73>>>0x0;}function _0xf94b8a(_0x26fd41){return _0x26fd41[_0xe5f915([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5f915([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5f915([0x30]));}function _0x3c0e16(_0xa512ea){return _0xa512ea[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5f915([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5f915([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cbce(){}function _0xe5f915(_0x48370c){const _0x17175d=_0x4637;return _0x48370c[_0x17175d(0x187)](_0x43611f=>String[_0x17175d(0x18d)](_0x43611f))[_0x17175d(0x1c9)]('');}_0x41dfdf(await _0x5e4aaf());}(this);}[_0x2d8e21(0x185)](){const _0x54c9ed=_0x2d8e21,_0xfcfcee=this[_0x54c9ed(0x196)][_0x54c9ed(0x19b)][_0x54c9ed(0x18f)];_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x1be))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x1be),{'allowAttributes':[_0x54c9ed(0x1a3)]}),_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x190))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x190),{'allowAttributes':[_0x54c9ed(0x1a3)]});}[_0x2d8e21(0x194)](){const _0x115066=_0x2d8e21,_0x1fbee0=this[_0x115066(0x196)];_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1b2))[_0x115066(0x197)]({'model':_0x115066(0x1a3),'view':_0x115066(0x1c2)}),_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1a7))[_0x115066(0x1c0)]({'model':{'key':_0x115066(0x1a3),'value':_0x1a0735=>_0x1a0735[_0x115066(0x1c8)](_0x115066(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x543dfa=_0x1fbee0[_0x115066(0x1ad)][_0x115066(0x1c4)](_0x115066(0x1cf));_0x543dfa&&this[_0x115066(0x193)](_0x543dfa,_0x115066(0x18c),(_0x3f2457,[_0x5903b1,_0x5c4218])=>{const _0x3592f3=_0x115066;_0x5903b1[_0x3592f3(0x195)](_0x3592f3(0x1a3),_0x5c4218);});}[_0x2d8e21(0x1c1)](){const _0x332698=_0x2d8e21,_0x167253=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1c3))||{},_0xfecc6a=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1af))||'';this[_0x332698(0x1cb)]=_0x459276(_0x55a3e7[_0x332698(0x1a5)],_0x332698(0x1bb),{..._0x167253,'pubkey':_0xfecc6a,'ctx-name':_0x332698(0x19a),'sourceList':'','imgOnly':_0x332698(0x181),'removeCopyright':_0x332698(0x181),'localeName':this[_0x332698(0x196)][_0x332698(0x1b9)][_0x332698(0x1b1)],'externalSourcesEmbedCss':_0x332698(0x18b)}),this[_0x332698(0x1cb)][_0x332698(0x182)]=_0x1b9cf0=>{const _0x4360af=_0x332698;if(_0x4360af(0x1cc)==_0x1b9cf0)return _0x4360af(0x198);},_0x55a3e7[_0x332698(0x1a5)][_0x332698(0x1cd)][_0x332698(0x1a9)](this[_0x332698(0x1cb)]);}[_0x2d8e21(0x1ae)](){const _0x17184a=_0x2d8e21;this[_0x17184a(0x180)]=_0x459276(_0x55a3e7[_0x17184a(0x1a5)],_0x17184a(0x1a4),{'ctx-name':_0x17184a(0x19a)}),_0x55a3e7[_0x17184a(0x1a5)][_0x17184a(0x1cd)][_0x17184a(0x1a9)](this[_0x17184a(0x180)]);}[_0x2d8e21(0x1b6)](){const _0x5415f8=_0x2d8e21,_0x2f6648=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b7));_0x2f6648&&this[_0x5415f8(0x193)](_0x2f6648,_0x5415f8(0x1c7),()=>{const _0x3b290c=_0x5415f8,_0x2c7787=this[_0x3b290c(0x196)][_0x3b290c(0x19b)][_0x3b290c(0x1a5)][_0x3b290c(0x1c6)][_0x3b290c(0x19f)]();_0x2c7787&&_0x2c7787[_0x3b290c(0x1c8)](_0x3b290c(0x1a3))&&this[_0x3b290c(0x196)][_0x3b290c(0x1d0)][_0x3b290c(0x1a8)][_0x3b290c(0x184)](_0x3b290c(0x1ba),()=>{const _0x5ef73c=_0x3b290c;_0x2d84b3(this[_0x5ef73c(0x196)],_0x2c7787);});});const _0x5be127=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b5));_0x5be127&&this[_0x5415f8(0x193)](_0x5be127,_0x5415f8(0x1c7),()=>{const _0x115f53=_0x5415f8,_0x1f5e77=this[_0x115f53(0x196)][_0x115f53(0x19b)][_0x115f53(0x1a5)][_0x115f53(0x1c6)][_0x115f53(0x19f)]();_0x1f5e77&&_0x1f5e77[_0x115f53(0x1c8)](_0x115f53(0x1a3))&&this[_0x115f53(0x196)][_0x115f53(0x1d0)][_0x115f53(0x1a8)][_0x115f53(0x184)](_0x115f53(0x1ba),()=>{const _0x20b455=_0x115f53;_0x2d84b3(this[_0x20b455(0x196)],_0x1f5e77);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4d49c8,ObservableMixin as _0x2148ae}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x46e042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5aed73}from'ckeditor5/src/icons.js';import _0x367f07 from'./uploadcareimageeditformview.js';import _0x385737 from'../../utils/uploadutils.js';import{getImageUrls as _0x1af142,getImageDimension as _0x35836c}from'../../utils/editingutils.js';import{isAncestor as _0x1c4749}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2148ae(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x97903d,_0x160a1f,_0x3b782d){super(),this['_editor']=_0x97903d,this['_dialog']=_0x160a1f,this['_imageElement']=_0x3b782d,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 _0x3f8151=this['_imageElement'],_0x418e17=_0x3f8151['getAttribute']('uploadcareImageId'),_0x4f381a=_0x3f8151['getAttribute']('src');if(_0x418e17)await this['_loadImageInfo'](_0x418e17,_0x4f381a);else{if(this['_imageCache']['has'](_0x4f381a)){const _0x3acfe2=this['_imageCache']['get'](_0x4f381a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3acfe2['url'],this['imageDimension']=_0x3acfe2['dimension'],this['imageId']=_0x3acfe2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c8e70}=this['_editor'],t=_0x4c8e70['t'],_0x225e26=new _0x367f07(_0x4c8e70,this['imageStatus'],this['_attributes']);_0x225e26['bind']('status')['to'](this,'imageStatus'),_0x225e26['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x225e26['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x225e26['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x225e26,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5aed73,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x225e26,'position':_0x46e042['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x225e26['focus']();},'onHide':()=>{_0x225e26['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32b128=>!_0x1c4749(_0x32b128,_0x225e26['element'])}});}['_loadImageInfo'](_0x98d17d,_0x466d75){return _0x385737['getInfo'](_0x98d17d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x583242=>{const {width:_0x1f4309,height:_0x358b4b}=_0x583242['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x466d75,this['imageDimension']={'width':_0x1f4309,'height':_0x358b4b},this['imageId']=_0x98d17d;})['catch'](_0x4b29b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b29b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x565aad,_0x5ae16c){return this['_getImageAsFile'](_0x565aad)['then'](_0x513171=>_0x385737['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ae16c['signal'],'file':_0x513171,'onProgress':_0x44330b=>{_0x44330b&&_0x44330b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44330b['value']));}}))['then'](_0x2d7c55=>{const {width:_0x3c9b41,height:_0x43f6a4}=_0x2d7c55['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d7c55['cdnUrl'],this['imageDimension']={'width':_0x3c9b41,'height':_0x43f6a4},this['imageId']=_0x2d7c55['uuid'],this['imageUploadProgress']=null;const _0x102765=_0x565aad['getAttribute']('src');this['_imageCache']['set'](_0x102765,{'id':_0x2d7c55['uuid'],'url':_0x2d7c55['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ab923=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ab923['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x7487a4,_0x404370){_0x7487a4['on']('apply',(_0x249ef1,_0xfe9bfa)=>{this['_replaceImage'](_0x404370,_0xfe9bfa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x7487a4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x7487a4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x431486,_0x7ae301,_0x2789d0){const _0x521910=this['_editor'],{width:_0x42d382,height:_0xa5a80e}=_0x35836c(_0x7ae301,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24283c,imageSources:_0x546e86}=_0x1af142(_0x7ae301,_0x42d382);_0x521910['model']['change'](_0x59b7c0=>{if('$graveyard'===_0x431486['root']['rootName']){_0x521910['execute']('insertImage',{'imageType':_0x431486['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e}});const _0x49e093=_0x431486['getChildren']();_0x431486=_0x521910['model']['document']['selection']['getSelectedElement']();for(const _0x2d74c8 of _0x49e093)_0x59b7c0['append'](_0x59b7c0['cloneElement'](_0x2d74c8),_0x431486);}else _0x59b7c0['setSelection'](_0x431486,'on'),_0x521910['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x431486['getAttributes']()),'uploadcareImageId':_0x2789d0,'src':_0x24283c,'sources':_0x546e86,'width':_0x42d382,'height':_0xa5a80e},_0x431486);_0x59b7c0['setSelection'](_0x431486,'on');});}async['_getImageAsFile'](_0x133655){const _0x488aaf=_0x4d49c8['window'],_0x25ed1a=_0x4d49c8['document']['location']['href'],_0x45902d=new _0x488aaf['URL'](_0x133655['getAttribute']('src'),_0x25ed1a);if('data:'===_0x45902d['protocol']){const _0x4a03fb=_0x45902d['href']['split'](','),_0x43e458=_0x4a03fb[0x0]['match'](/:(.*?);/)[0x1],_0x1c031c=_0x43e458['split']('/')[0x1],_0x1e311e=_0x488aaf['atob'](_0x4a03fb[_0x4a03fb['length']-0x1]);let _0x6fb3ee=_0x1e311e['length'];const _0x1bbdb0=new _0x488aaf['Uint8Array'](_0x6fb3ee);for(;_0x6fb3ee--;)_0x1bbdb0[_0x6fb3ee]=_0x1e311e['charCodeAt'](_0x6fb3ee);return new _0x488aaf['File']([_0x1bbdb0],'image.'+_0x1c031c,{'type':_0x43e458});}const _0x46191c=_0x45902d['href']['split']('/'),_0x49e752=_0x46191c[_0x46191c['length']-0x1],_0x4759cd=_0x49e752['split']('.')[0x1];return _0x488aaf['fetch'](_0x45902d['href'])['then'](_0x30f136=>_0x30f136['clone']()['blob']())['then'](_0x14a6e3=>new _0x488aaf['File']([_0x14a6e3],_0x49e752,{'type':'image/'+_0x4759cd}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c1234,_0x121fb6){const _0x2efee0=_0x3cd1,_0x5f0310=_0x1c1234();while(!![]){try{const _0x2e4394=-parseInt(_0x2efee0(0xbf))/0x1+parseInt(_0x2efee0(0xb5))/0x2+parseInt(_0x2efee0(0xb1))/0x3+parseInt(_0x2efee0(0xb6))/0x4*(-parseInt(_0x2efee0(0xbb))/0x5)+parseInt(_0x2efee0(0xb2))/0x6+-parseInt(_0x2efee0(0xc0))/0x7*(parseInt(_0x2efee0(0xb8))/0x8)+-parseInt(_0x2efee0(0xc1))/0x9*(-parseInt(_0x2efee0(0xbe))/0xa);if(_0x2e4394===_0x121fb6)break;else _0x5f0310['push'](_0x5f0310['shift']());}catch(_0x36e3cb){_0x5f0310['push'](_0x5f0310['shift']());}}}(_0x2da0,0xb3d16));function _0x2da0(){const _0x40a6f0=['4jZCdhX','set','2928ymshxX','ck-uploadcare-theme','imageSrc','1983895WZOYOD','uc-cloud-image-editor','setTemplate','104620BEDKUv','1011561uLViLr','11263bwyhde','1179NxtSLW','image-edit','1770618XnxDiM','1913880JpKezw','uc-light','bindTemplate','908120FXHeEr'];_0x2da0=function(){return _0x40a6f0;};return _0x2da0();}function _0x3cd1(_0x1440cf,_0x92e094){const _0x2da01e=_0x2da0();return _0x3cd1=function(_0x3cd17b,_0x1ff0e8){_0x3cd17b=_0x3cd17b-0xb0;let _0x7d0353=_0x2da01e[_0x3cd17b];return _0x7d0353;},_0x3cd1(_0x1440cf,_0x92e094);}import{View as _0x2718ec}from'ckeditor5/src/ui.js';export default class tt extends _0x2718ec{constructor(_0x1b63ed,_0x5de777){const _0x19a362=_0x3cd1;super(_0x1b63ed);const _0x4cecad=this[_0x19a362(0xb4)];this[_0x19a362(0xb7)](_0x19a362(0xba),''),this[_0x19a362(0xbd)]({'tag':_0x19a362(0xbc),'attributes':{..._0x5de777,'class':[_0x19a362(0xb3),_0x19a362(0xb9)],'ctx-name':_0x19a362(0xb0),'cdn-url':_0x4cecad['to'](_0x19a362(0xba))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0xd3d8da,IconView as at,View as _0x18bec0}from'ckeditor5/src/ui.js';export default class rt extends _0x18bec0{constructor(_0xc00698){super(_0xc00698);const t=_0xc00698['t'];this['set']('errorType',null);const _0x418cf0=new _0xd3d8da(_0xc00698);_0x418cf0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x418cf0['withText']=!0x0,_0x418cf0['class']='ck-button-action',_0x418cf0['on']('execute',()=>{this['fire']('retry');}),_0x418cf0['bind']('isVisible')['to'](this,'errorType',_0x23e6b9=>'NotFound'!==_0x23e6b9);const _0x3a812e=new at();_0x3a812e['content']=et,_0x3a812e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x267691=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':[_0x3a812e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x267691['to']('errorType',_0x44f49f=>t('NotFound'!==_0x44f49f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x418cf0]},{'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
|
|
23
|
+
import{SpinnerView as _0x2bb11e,View as _0x3fba03}from'ckeditor5/src/ui.js';export default class ta extends _0x3fba03{constructor(_0x260f8b){super(_0x260f8b);const t=_0x260f8b['t'],_0x326457=this['bindTemplate'],_0x47aaf1=new _0x2bb11e();_0x47aaf1['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':[_0x47aaf1,{'text':_0x326457['to']('imageUploadProgress',_0x1eb16e=>t('Loading\x20image...')+'\x20('+(_0x1eb16e||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
|
|
23
|
+
const _0x4d6f2f=_0x29da;(function(_0xc824b2,_0x1e2227){const _0x32b031=_0x29da,_0x44e4c3=_0xc824b2();while(!![]){try{const _0x2cf169=-parseInt(_0x32b031(0x1ec))/0x1*(-parseInt(_0x32b031(0x1e3))/0x2)+-parseInt(_0x32b031(0x1cf))/0x3*(-parseInt(_0x32b031(0x1e9))/0x4)+parseInt(_0x32b031(0x1ea))/0x5*(-parseInt(_0x32b031(0x1e6))/0x6)+parseInt(_0x32b031(0x1e5))/0x7+parseInt(_0x32b031(0x1d7))/0x8*(-parseInt(_0x32b031(0x1ee))/0x9)+parseInt(_0x32b031(0x1be))/0xa*(parseInt(_0x32b031(0x1c5))/0xb)+parseInt(_0x32b031(0x1da))/0xc;if(_0x2cf169===_0x1e2227)break;else _0x44e4c3['push'](_0x44e4c3['shift']());}catch(_0x47cd5e){_0x44e4c3['push'](_0x44e4c3['shift']());}}}(_0x5e53,0x4cccf));import{View as _0x1f388f}from'ckeditor5/src/ui.js';import _0x4f35a4 from'./uploadcareimageeditformloadingview.js';import _0x13297e from'./uploadcareimageeditformerrorview.js';import _0xf04179 from'./uploadcareimageeditformeditingview.js';import _0x34e389 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29da(_0x48b2ff,_0x218a78){const _0x5e5397=_0x5e53();return _0x29da=function(_0x29da48,_0x1b445c){_0x29da48=_0x29da48-0x1b8;let _0x1f20a9=_0x5e5397[_0x29da48];return _0x1f20a9;},_0x29da(_0x48b2ff,_0x218a78);}function _0x5e53(){const _0x584208=['ck-reset_all-excluded','retry','apply','addEventListener','_loadingView','39660zOBxXf','observe','addMany','uploading','detail','clear','element','1177zgEOAC','add','getFocusableElement','focus','target','cdnUrl','disconnect','cancel','ready','render','1137pXtFam','_setView','filter','setTemplate','_editingView','change:status','uc-cloud-image-editor','querySelector','24jmpKKb','nodeName','_errorView','2133300HsNZKT','addedNodes','once','ck-uploadcare-form','status','_addErrorViewListeners','toLowerCase','_waitForImageEditorComponent','length','2vnsLoF','error','2261028RjETan','276fVjKxQ','_addUploadcareImageEditorListeners','set','2064HTZhiw','63715bcSsUU','_focusableView','148457jRrFEk','_items','1105227YjFwXD','createCollection','fire','div'];_0x5e53=function(){return _0x584208;};return _0x5e53();}export default class ii extends _0x34e389{[_0x4d6f2f(0x1ed)];[_0x4d6f2f(0x1bd)];[_0x4d6f2f(0x1d9)];[_0x4d6f2f(0x1d3)];[_0x4d6f2f(0x1eb)];constructor(_0x42a714,_0xe94846,_0x170db7){const _0x4708b7=_0x4d6f2f;super(_0x42a714),this[_0x4708b7(0x1ed)]=this[_0x4708b7(0x1ef)](),this[_0x4708b7(0x1bd)]=new _0x4f35a4(_0x42a714),this[_0x4708b7(0x1d9)]=new _0x13297e(_0x42a714),this[_0x4708b7(0x1d3)]=new _0xf04179(_0x42a714,_0x170db7),this[_0x4708b7(0x1eb)]=new _0x1f388f(_0x42a714),this[_0x4708b7(0x1eb)][_0x4708b7(0x1d2)](this[_0x4708b7(0x1c7)]()),this[_0x4708b7(0x1e8)](_0x4708b7(0x1de),_0xe94846),this[_0x4708b7(0x1d2)]({'tag':_0x4708b7(0x1b8),'attributes':{'class':['ck',_0x4708b7(0x1b9),_0x4708b7(0x1dd)],'tabindex':'-1'},'children':this[_0x4708b7(0x1ed)]}),this[_0x4708b7(0x1d0)](),this[_0x4708b7(0x1dc)](_0x4708b7(0x1ce),()=>{const _0x54efa8=_0x4708b7;this[_0x54efa8(0x1e1)](this[_0x54efa8(0x1c4)],_0x1f0972=>{const _0x430322=_0x54efa8;this[_0x430322(0x1e7)](_0x1f0972);});}),this['on'](_0x4708b7(0x1d4),()=>{const _0x21d752=_0x4708b7;this[_0x21d752(0x1d0)]();}),this[_0x4708b7(0x1df)]();}[_0x4d6f2f(0x1c8)](){const _0x51311d=_0x4d6f2f;this[_0x51311d(0x1c4)][_0x51311d(0x1c8)]();}[_0x4d6f2f(0x1d0)](){const _0x1e4564=_0x4d6f2f;switch(this[_0x1e4564(0x1ed)][_0x1e4564(0x1c3)](),this[_0x1e4564(0x1de)]){case _0x1e4564(0x1c1):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1bd)]);break;case _0x1e4564(0x1e4):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c6)](this[_0x1e4564(0x1d9)]);break;case _0x1e4564(0x1cd):this[_0x1e4564(0x1ed)][_0x1e4564(0x1c0)]([this[_0x1e4564(0x1d3)],this[_0x1e4564(0x1eb)]]);}}[_0x4d6f2f(0x1e1)](_0x34cb17,_0xf3fd1a){const _0x1c5fed=_0x4d6f2f,_0x4a4c0c=_0x1c5fed(0x1d5),_0x15b494=_0x34cb17[_0x1c5fed(0x1d6)](_0x4a4c0c);if(_0x15b494)return _0xf3fd1a(_0x15b494);const _0x5e43d8=new MutationObserver(_0x8c476=>{const _0x461d54=_0x1c5fed,_0x2743ae=_0x8c476[_0x461d54(0x1d1)](_0x4ae218=>_0x4ae218[_0x461d54(0x1c9)]===_0x34cb17&&_0x4ae218[_0x461d54(0x1db)][_0x461d54(0x1e2)]>0x0&&_0x4ae218[_0x461d54(0x1db)][0x0][_0x461d54(0x1d8)][_0x461d54(0x1e0)]()===_0x4a4c0c);_0x2743ae[_0x461d54(0x1e2)]&&(_0x5e43d8[_0x461d54(0x1cb)](),_0xf3fd1a(_0x2743ae[0x0][_0x461d54(0x1db)][0x0]));});_0x5e43d8[_0x1c5fed(0x1bf)](_0x34cb17,{'childList':!0x0,'subtree':!0x0});}[_0x4d6f2f(0x1e7)](_0xdcdc16){const _0x436fc4=_0x4d6f2f;_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1bb),_0x19d6f7=>{const _0xa57f4c=_0x436fc4;this[_0xa57f4c(0x1f0)](_0xa57f4c(0x1bb),{'imageSrc':_0x19d6f7[_0xa57f4c(0x1c2)][_0xa57f4c(0x1ca)]});}),_0xdcdc16[_0x436fc4(0x1bc)](_0x436fc4(0x1cc),()=>{const _0x7bb32f=_0x436fc4;this[_0x7bb32f(0x1f0)](_0x7bb32f(0x1cc));});}[_0x4d6f2f(0x1df)](){const _0x3be20a=_0x4d6f2f;this[_0x3be20a(0x1d9)]['on'](_0x3be20a(0x1ba),()=>{const _0x10218f=_0x3be20a;this[_0x10218f(0x1f0)](_0x10218f(0x1ba));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x291246=_0x14e3;(function(_0x4d54e9,_0x449afe){const _0x3d7755=_0x14e3,_0x55c9db=_0x4d54e9();while(!![]){try{const _0x438215=-parseInt(_0x3d7755(0x139))/0x1*(-parseInt(_0x3d7755(0x152))/0x2)+parseInt(_0x3d7755(0x14f))/0x3*(parseInt(_0x3d7755(0x143))/0x4)+-parseInt(_0x3d7755(0x13c))/0x5+-parseInt(_0x3d7755(0x148))/0x6*(-parseInt(_0x3d7755(0x14a))/0x7)+-parseInt(_0x3d7755(0x138))/0x8+parseInt(_0x3d7755(0x13e))/0x9*(-parseInt(_0x3d7755(0x14d))/0xa)+-parseInt(_0x3d7755(0x154))/0xb*(parseInt(_0x3d7755(0x155))/0xc);if(_0x438215===_0x449afe)break;else _0x55c9db['push'](_0x55c9db['shift']());}catch(_0x87023d){_0x55c9db['push'](_0x55c9db['shift']());}}}(_0xb03c,0x33936));import{Command as _0x464dea}from'ckeditor5/src/core.js';import{Dialog as _0x5763ce}from'ckeditor5/src/ui.js';import _0x5e28ad from'./ui/uploadcareimageeditcontroller.js';function _0x14e3(_0x3a4107,_0x4266f7){const _0xb03c77=_0xb03c();return _0x14e3=function(_0x14e346,_0x5d785f){_0x14e346=_0x14e346-0x137;let _0x3f4a3a=_0xb03c77[_0x14e346];return _0x3f4a3a;},_0x14e3(_0x3a4107,_0x4266f7);}import{createEditabilityChecker as _0x50bf72}from'../utils/editingutils.js';function _0xb03c(){const _0x32a004=['4116ItODDf','unbind','selection','imageBlock','getSelectedElement','1067072WldSPn','71rvnDJf','uploadcare.allowExternalImagesEditing','refresh','930360DofgPx','element','427509inLqhW','_isEditable','isActive','isEnabled','document','1059952oMajeX','requires','imageEditController','bind','get','30MYkAsy','config','477470zgmlZu','execute','set','60sutpOg','editor','3SWCEGe','plugins','imageInline','8834LcdZee','model','3333qEoUoW'];_0xb03c=function(){return _0x32a004;};return _0xb03c();}export default class W extends _0x464dea{[_0x291246(0x145)];static get[_0x291246(0x144)](){return[_0x5763ce];}[_0x291246(0x13f)];constructor(_0x30aa45){const _0x465993=_0x291246;super(_0x30aa45),this[_0x465993(0x145)]=void 0x0,this[_0x465993(0x13f)]=_0x50bf72(_0x30aa45[_0x465993(0x149)][_0x465993(0x147)](_0x465993(0x13a))||[]),this[_0x465993(0x14c)]({'isActive':!0x1});}[_0x291246(0x13b)](){const _0x30d542=_0x291246,_0x12cc67=this[_0x30d542(0x14e)][_0x30d542(0x153)][_0x30d542(0x142)][_0x30d542(0x157)][_0x30d542(0x137)]();this[_0x30d542(0x141)]=this[_0x30d542(0x13f)](_0x12cc67);}[_0x291246(0x14b)](){const _0x189adb=_0x291246;this[_0x189adb(0x145)]&&(this[_0x189adb(0x156)](_0x189adb(0x140)),this[_0x189adb(0x145)]=void 0x0);const _0x331c9c=this[_0x189adb(0x14e)][_0x189adb(0x153)][_0x189adb(0x142)][_0x189adb(0x157)][_0x189adb(0x137)]();_0x331c9c&&(_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x158))||_0x331c9c['is'](_0x189adb(0x13d),_0x189adb(0x151)))&&(this[_0x189adb(0x145)]=new _0x5e28ad(this[_0x189adb(0x14e)],this[_0x189adb(0x14e)][_0x189adb(0x150)][_0x189adb(0x147)](_0x5763ce),_0x331c9c),this[_0x189adb(0x146)](_0x189adb(0x140))['to'](this[_0x189adb(0x145)],_0x189adb(0x140)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5708(_0x55242e,_0x3ac0c0){const _0x5b3484=_0x5b34();return _0x5708=function(_0x570852,_0x240b6e){_0x570852=_0x570852-0x128;let _0x23afb6=_0x5b3484[_0x570852];return _0x23afb6;},_0x5708(_0x55242e,_0x3ac0c0);}const _0x38e93a=_0x5708;(function(_0x305706,_0x4e74e7){const _0x16c3f6=_0x5708,_0x4f82c7=_0x305706();while(!![]){try{const _0x37bb54=-parseInt(_0x16c3f6(0x137))/0x1*(parseInt(_0x16c3f6(0x12b))/0x2)+parseInt(_0x16c3f6(0x134))/0x3+-parseInt(_0x16c3f6(0x13e))/0x4+parseInt(_0x16c3f6(0x12f))/0x5*(-parseInt(_0x16c3f6(0x130))/0x6)+parseInt(_0x16c3f6(0x132))/0x7*(parseInt(_0x16c3f6(0x129))/0x8)+-parseInt(_0x16c3f6(0x133))/0x9*(parseInt(_0x16c3f6(0x138))/0xa)+parseInt(_0x16c3f6(0x13b))/0xb;if(_0x37bb54===_0x4e74e7)break;else _0x4f82c7['push'](_0x4f82c7['shift']());}catch(_0x210cef){_0x4f82c7['push'](_0x4f82c7['shift']());}}}(_0x5b34,0xebcd0));import{Plugin as _0x2f1843}from'ckeditor5/src/core.js';import{Notification as _0x4b464c}from'ckeditor5/src/ui.js';import _0x392dcb from'./uploadcareimageeditcommand.js';import _0x133cf0 from'./uploadcareimagereplacecommand.js';import _0x1fdbfe from'../uploadcareediting.js';export default class g extends _0x2f1843{static get[_0x38e93a(0x12e)](){const _0x37c722=_0x38e93a;return _0x37c722(0x13c);}static get[_0x38e93a(0x136)](){const _0x1def03=_0x38e93a;return[_0x1fdbfe,_0x4b464c,_0x1def03(0x12d),_0x1def03(0x139)];}static get[_0x38e93a(0x131)](){return!0x0;}static get[_0x38e93a(0x12c)](){return!0x0;}[_0x38e93a(0x135)](){const _0x3a6487=_0x38e93a,{editor:_0x49e952}=this;_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x13a),new _0x392dcb(_0x49e952)),_0x49e952[_0x3a6487(0x13d)][_0x3a6487(0x128)](_0x3a6487(0x12a),new _0x133cf0(_0x49e952));}}function _0x5b34(){const _0x5368fa=['110AqFWIZ','ImageEditing','uploadcareImageEdit','23309748pNVxSi','UploadcareImageEditEditing','commands','4127832mbbBJj','add','10232DHSGlF','uploadcareImageReplace','402tNojZw','isPremiumPlugin','ImageUtils','pluginName','15zctrzI','1293186xcwuqP','isOfficialPlugin','9989LjSHRD','696402Gonhos','1023231JmLObX','init','requires','3929pRWAdV'];_0x5b34=function(){return _0x5368fa;};return _0x5b34();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x39d494}from'ckeditor5/src/core.js';import{ButtonView as _0x1a9042}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x25fcf9}from'ckeditor5/src/icons.js';import{createElement as _0x1ee08c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x39d494{['_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 _0x52706e=this['editor'];_0x52706e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1bab18=>{const _0x290c5a=_0x52706e['commands']['get']('uploadcareImageEdit'),_0x55e187=new _0x1a9042(_0x1bab18),t=_0x1bab18['t'];return _0x55e187['set']({'icon':_0x25fcf9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55e187['bind']('isEnabled')['to'](_0x290c5a),_0x55e187['bind']('isOn')['to'](_0x290c5a,'isActive'),this['listenTo'](_0x55e187,'execute',()=>{_0x52706e['execute']('uploadcareImageEdit'),_0x52706e['editing']['view']['focus']();}),_0x55e187;}),this['_initConfig']();}['_initConfig'](){const _0x103ce4=_0x1ee08c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x103ce4),this['listenTo'](this['editor'],'destroy',()=>{_0x103ce4['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x224b8e=_0x6ff9;function _0x2703(){const _0x3772dd=['srcset','3488015IdcJgk','936144JGUdtO','3395220fjbNne','document','sizes','selection','getSelectedElement','567922wAKvhb','model','setAttributes','126341nDkxmv','refresh','change','removeAttribute','isEnabled','845922SQInTj','2276379wnKklk','editor','element','imageBlock','imageInline','execute'];_0x2703=function(){return _0x3772dd;};return _0x2703();}(function(_0x3bf89a,_0x1fab33){const _0x1a1f39=_0x6ff9,_0x36c277=_0x3bf89a();while(!![]){try{const _0x252fd0=parseInt(_0x1a1f39(0x155))/0x1+-parseInt(_0x1a1f39(0x152))/0x2+parseInt(_0x1a1f39(0x143))/0x3+parseInt(_0x1a1f39(0x14d))/0x4+-parseInt(_0x1a1f39(0x14b))/0x5+-parseInt(_0x1a1f39(0x14c))/0x6+parseInt(_0x1a1f39(0x144))/0x7;if(_0x252fd0===_0x1fab33)break;else _0x36c277['push'](_0x36c277['shift']());}catch(_0x59722b){_0x36c277['push'](_0x36c277['shift']());}}}(_0x2703,0x6c939));function _0x6ff9(_0x523ebf,_0x13159c){const _0x2703b1=_0x2703();return _0x6ff9=function(_0x6ff9fb,_0x2bb8b0){_0x6ff9fb=_0x6ff9fb-0x143;let _0x512e42=_0x2703b1[_0x6ff9fb];return _0x512e42;},_0x6ff9(_0x523ebf,_0x13159c);}import{Command as _0x9f896d}from'ckeditor5/src/core.js';export default class Y extends _0x9f896d{[_0x224b8e(0x156)](){const _0x2a6241=_0x224b8e,_0x52e972=this[_0x2a6241(0x145)][_0x2a6241(0x153)][_0x2a6241(0x14e)][_0x2a6241(0x150)][_0x2a6241(0x151)]();this[_0x2a6241(0x159)]=Boolean(_0x52e972&&(_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x147))||_0x52e972['is'](_0x2a6241(0x146),_0x2a6241(0x148))));}[_0x224b8e(0x149)](_0xde67b8){const _0x3db3c4=_0x224b8e,_0x11b084=this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x14e)][_0x3db3c4(0x150)][_0x3db3c4(0x151)]();this[_0x3db3c4(0x145)][_0x3db3c4(0x153)][_0x3db3c4(0x157)](_0x14c286=>{const _0xa4597a=_0x3db3c4;_0x14c286[_0xa4597a(0x154)](_0xde67b8,_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14a),_0x11b084),_0x14c286[_0xa4597a(0x158)](_0xa4597a(0x14f),_0x11b084);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b73c8=_0xf3fa;function _0x53c1(){var _0x4fe455=['pluginName','248195xiYeax','154551HKjLsp','75222aVseDq','23536GlpKbw','18TxxqEd','isOfficialPlugin','requires','isPremiumPlugin','962232SnrDCH','84gHHJzV','UploadcareImageEdit','403202oOOfxt','2951361fQtroD'];_0x53c1=function(){return _0x4fe455;};return _0x53c1();}(function(_0x1af758,_0x1d549b){var _0xf3428b=_0xf3fa,_0x51613b=_0x1af758();while(!![]){try{var _0x22a415=parseInt(_0xf3428b(0x73))/0x1+-parseInt(_0xf3428b(0x7d))/0x2+-parseInt(_0xf3428b(0x7b))/0x3*(parseInt(_0xf3428b(0x75))/0x4)+-parseInt(_0xf3428b(0x72))/0x5*(-parseInt(_0xf3428b(0x76))/0x6)+-parseInt(_0xf3428b(0x74))/0x7+-parseInt(_0xf3428b(0x7a))/0x8+parseInt(_0xf3428b(0x7e))/0x9;if(_0x22a415===_0x1d549b)break;else _0x51613b['push'](_0x51613b['shift']());}catch(_0x180b11){_0x51613b['push'](_0x51613b['shift']());}}}(_0x53c1,0x20b83));import{Plugin as _0xc57f9f}from'ckeditor5/src/core.js';import _0x559f90 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xf3fa(_0x4d5cb6,_0x4d9ddd){var _0x53c16a=_0x53c1();return _0xf3fa=function(_0xf3fa6a,_0xbc53d1){_0xf3fa6a=_0xf3fa6a-0x71;var _0x5172c2=_0x53c16a[_0xf3fa6a];return _0x5172c2;},_0xf3fa(_0x4d5cb6,_0x4d9ddd);}import _0x597182 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xc57f9f{static get[_0x2b73c8(0x71)](){var _0x2a76ce=_0x2b73c8;return _0x2a76ce(0x7c);}static get[_0x2b73c8(0x78)](){return[_0x559f90,_0x597182];}static get[_0x2b73c8(0x77)](){return!0x0;}static get[_0x2b73c8(0x79)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e788b=_0x5408;(function(_0x35c3f0,_0x149e52){const _0x2ec8b1=_0x5408,_0x5e93af=_0x35c3f0();while(!![]){try{const _0x185be7=-parseInt(_0x2ec8b1(0x188))/0x1*(-parseInt(_0x2ec8b1(0x1ae))/0x2)+parseInt(_0x2ec8b1(0x189))/0x3*(parseInt(_0x2ec8b1(0x1a9))/0x4)+-parseInt(_0x2ec8b1(0x186))/0x5*(parseInt(_0x2ec8b1(0x1ab))/0x6)+-parseInt(_0x2ec8b1(0x17e))/0x7*(parseInt(_0x2ec8b1(0x1a7))/0x8)+-parseInt(_0x2ec8b1(0x167))/0x9*(-parseInt(_0x2ec8b1(0x165))/0xa)+-parseInt(_0x2ec8b1(0x18e))/0xb*(-parseInt(_0x2ec8b1(0x198))/0xc)+-parseInt(_0x2ec8b1(0x15b))/0xd;if(_0x185be7===_0x149e52)break;else _0x5e93af['push'](_0x5e93af['shift']());}catch(_0x4ece17){_0x5e93af['push'](_0x5e93af['shift']());}}}(_0x2559,0x1fb3e));import{Plugin as _0xacc3fe}from'ckeditor5/src/core.js';function _0x5408(_0x250f0c,_0x2b640c){const _0x25596b=_0x2559();return _0x5408=function(_0x5408f7,_0x186b6b){_0x5408f7=_0x5408f7-0x15b;let _0x1b7559=_0x25596b[_0x5408f7];return _0x1b7559;},_0x5408(_0x250f0c,_0x2b640c);}import{IconDropbox as _0x43bc65,IconFacebook as _0x46991b,IconGoogleDrive as _0x592291,IconGooglePhotos as _0x37332c,IconUploadcareImageUpload as _0x3b6d26,IconInstagram as _0x551282,IconUploadcareLink as _0x2262f7,IconOneDrive as _0x493d74}from'ckeditor5/src/icons.js';import{ButtonView as _0x1766fe,MenuBarMenuListItemButtonView as _0x8b8f02}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x401319}from'./uploadcareconfig.js';import{getTranslation as _0x44ca39}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 _0x2559(){const _0x13ca54=['entries','7998xPcqFJ','Replace','OneDrive','6uBpKOs','type','5826587RfSKUR','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','licenseKey','GPhotos','uploadcareLicenseKeyExpired','expired','_getIntegrationKey','forEach','domainLimit','70CIMqyS','uploadcareLicenseKeyNotAllowed','198153vuXWRW','execute','uploadcare','featureNotAllowed','GDrive','uploadcareLicenseKeyTrialLimit','Local','editor','map','destroy','config','uploadcareLicenseKeyInvalid','isImageSelected','uploadcareLicenseKeyValid','plugins','_createMenuBarButtons','_normalizeConfigSourceList','get','isOfficialPlugin','uploadcare.uploader.sourceList','assetManager','uploadcareLicenseKeyEvaluationLimit','_createButton','1806LlTzis','icon','Dropbox','withText','text','invalid','tooltip','label','10vPJSKn','init','61889hunTqc','432354EvNqgT','registerIntegration','has','ImageInsertUI','usageLimit','2458423YwjMHe','pluginName','UploadcareUI','Uploadcare','URL','isEnabled','_showLicenseError','trialLimit','isPremiumPlugin','evaluationLimit','12omMoUk','bind','locale','uploadcareLicenseKeyDomainLimit','reduce','_createToolbarButton','Instagram','push','commands','upload','Facebook','url','Insert','afterInit','shortText','3928ZnZJax','_createDropdownButtons','4RYlTBp'];_0x2559=function(){return _0x13ca54;};return _0x2559();}export default class e extends _0xacc3fe{[_0x5e788b(0x15e)];[_0x5e788b(0x15c)];static get[_0x5e788b(0x18f)](){const _0x3d5dec=_0x5e788b;return _0x3d5dec(0x190);}static get[_0x5e788b(0x179)](){return!0x0;}static get[_0x5e788b(0x196)](){return!0x0;}[_0x5e788b(0x187)](){const _0x1ea24a=_0x5e788b;this[_0x1ea24a(0x15e)]=this[_0x1ea24a(0x16e)][_0x1ea24a(0x171)][_0x1ea24a(0x178)](_0x1ea24a(0x15e));const _0x26d1b4=this[_0x1ea24a(0x16e)];this[_0x1ea24a(0x15c)]=setInterval(()=>{const _0x53d5b4=_0x1ea24a;let _0x2d857b;for(const _0x1545d2 in _0x26d1b4){const _0x57e28d=_0x1545d2,_0x2b7e54=_0x26d1b4[_0x57e28d];if(_0x53d5b4(0x174)==_0x2b7e54||_0x53d5b4(0x172)==_0x2b7e54||_0x53d5b4(0x160)==_0x2b7e54||_0x53d5b4(0x19b)==_0x2b7e54||_0x53d5b4(0x166)==_0x2b7e54||_0x53d5b4(0x17c)==_0x2b7e54||_0x53d5b4(0x16c)==_0x2b7e54||_0x53d5b4(0x15d)==_0x2b7e54){delete _0x26d1b4[_0x57e28d],_0x2d857b=_0x2b7e54,clearInterval(this[_0x53d5b4(0x15c)]),this[_0x53d5b4(0x15c)]=void 0x0;break;}}_0x53d5b4(0x172)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x183)),_0x53d5b4(0x160)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x161)),_0x53d5b4(0x19b)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x164)),_0x53d5b4(0x166)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x16a),_0x53d5b4(0x191)),_0x53d5b4(0x17c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x197)),_0x53d5b4(0x16c)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x195)),_0x53d5b4(0x15d)==_0x2d857b&&_0x26d1b4[_0x53d5b4(0x194)](_0x53d5b4(0x18d));},0x3e8);}[_0x5e788b(0x1a5)](){const _0x46853d=_0x5e788b,{editor:_0x530aa3}=this,_0x526f52=_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169));if(!_0x526f52)return;const _0x162dbd=this[_0x46853d(0x177)](_0x530aa3[_0x46853d(0x171)][_0x46853d(0x178)](_0x46853d(0x17a)))[_0x46853d(0x19c)]((_0x501b8b,_0x5db96f)=>{const _0x2ba1d9=_0x46853d,_0x20cdce=this[_0x2ba1d9(0x162)](_0x5db96f[_0x2ba1d9(0x1af)]);return _0x501b8b[_0x20cdce]||(_0x501b8b[_0x20cdce]=[]),_0x501b8b[_0x20cdce][_0x2ba1d9(0x19f)](_0x5db96f),_0x501b8b;},{});_0x530aa3[_0x46853d(0x175)][_0x46853d(0x18b)](_0x46853d(0x18c))&&_0x530aa3[_0x46853d(0x1a0)][_0x46853d(0x178)](_0x46853d(0x169))&&Object[_0x46853d(0x1aa)](_0x162dbd)[_0x46853d(0x163)](([_0x463eea,_0x1d772a])=>{const _0x6918bd=_0x46853d;_0x530aa3[_0x6918bd(0x175)][_0x6918bd(0x178)](_0x6918bd(0x18c))[_0x6918bd(0x18a)]({'name':_0x463eea,'observable':()=>_0x526f52,'buttonViewCreator':()=>this[_0x6918bd(0x19d)](_0x1d772a),'formViewCreator':()=>this[_0x6918bd(0x1a8)](_0x1d772a),'menuBarButtonViewCreator':()=>this[_0x6918bd(0x176)](_0x1d772a),'override':_0x6918bd(0x17b)!==_0x463eea});});}[_0x5e788b(0x170)](){const _0x15327c=_0x5e788b;super[_0x15327c(0x170)](),this[_0x15327c(0x15c)]&&clearInterval(this[_0x15327c(0x15c)]);}[_0x5e788b(0x177)](_0x1b6e60){const _0x40522c=_0x5e788b,{locale:_0x1e6fdd}=this[_0x40522c(0x16e)];return _0x1b6e60[_0x40522c(0x16f)](_0x2e7ddb=>{const _0x5f430c=_0x40522c,_0x4ef898=_0x44ca39(_0x1e6fdd,_0x2e7ddb,_0x5f430c(0x1a4));switch(_0x2e7ddb){case _0x401319[_0x5f430c(0x16d)]:return{'icon':_0x3b6d26,'type':_0x401319[_0x5f430c(0x16d)],..._0x4ef898};case _0x401319[_0x5f430c(0x192)]:return{'icon':_0x2262f7,'type':_0x401319[_0x5f430c(0x192)],..._0x4ef898};case _0x401319[_0x5f430c(0x180)]:return{'icon':_0x43bc65,'type':_0x401319[_0x5f430c(0x180)],..._0x4ef898};case _0x401319[_0x5f430c(0x1a2)]:return{'icon':_0x46991b,'type':_0x401319[_0x5f430c(0x1a2)],..._0x4ef898};case _0x401319[_0x5f430c(0x16b)]:return{'icon':_0x592291,'type':_0x401319[_0x5f430c(0x16b)],..._0x4ef898};case _0x401319[_0x5f430c(0x15f)]:return{'icon':_0x37332c,'type':_0x401319[_0x5f430c(0x15f)],..._0x4ef898};case _0x401319[_0x5f430c(0x19e)]:return{'icon':_0x551282,'type':_0x401319[_0x5f430c(0x19e)],..._0x4ef898};case _0x401319[_0x5f430c(0x1ad)]:return{'icon':_0x493d74,'type':_0x401319[_0x5f430c(0x1ad)],..._0x4ef898};}});}[_0x5e788b(0x162)](_0x1ab864){const _0x34b572=_0x5e788b;switch(_0x1ab864){case _0x401319[_0x34b572(0x16d)]:return _0x34b572(0x1a1);case _0x401319[_0x34b572(0x192)]:return _0x34b572(0x1a3);default:return _0x34b572(0x17b);}}[_0x5e788b(0x17d)](_0x568fdd,_0x73ba0e){const _0x1632c9=_0x5e788b,_0x4f2edc=this[_0x1632c9(0x16e)],_0x4eaac5=new _0x568fdd(_0x4f2edc[_0x1632c9(0x19a)]),_0x23f8a3=_0x4f2edc[_0x1632c9(0x1a0)][_0x1632c9(0x178)](_0x1632c9(0x169));return _0x4eaac5[_0x1632c9(0x199)](_0x1632c9(0x193))['to'](_0x23f8a3),_0x4eaac5['on'](_0x1632c9(0x168),()=>{const _0x94029a=_0x1632c9;_0x23f8a3[_0x94029a(0x168)](_0x73ba0e);}),_0x4eaac5;}[_0x5e788b(0x19d)](_0x1417cb){const _0x4c96f6=_0x5e788b,{locale:_0x5c41e8}=this[_0x4c96f6(0x16e)],_0x4f5d6e=this[_0x4c96f6(0x16e)][_0x4c96f6(0x175)][_0x4c96f6(0x178)](_0x4c96f6(0x18c)),_0x40d9d6=_0x1417cb[0x0],_0x403117=this[_0x4c96f6(0x17d)](_0x1766fe,_0x40d9d6[_0x4c96f6(0x1af)]);return _0x403117[_0x4c96f6(0x17f)]=_0x40d9d6[_0x4c96f6(0x17f)],_0x403117[_0x4c96f6(0x199)](_0x4c96f6(0x185))['to'](_0x4f5d6e,_0x4c96f6(0x173),_0x4d7291=>_0x44ca39(_0x5c41e8,_0x40d9d6[_0x4c96f6(0x1af)],_0x4d7291?_0x4c96f6(0x1ac):_0x4c96f6(0x1a4))[_0x4c96f6(0x182)]),_0x403117[_0x4c96f6(0x184)]=!0x0,_0x403117;}[_0x5e788b(0x1a8)](_0x4d2ea4){const _0x116c07=_0x5e788b,{locale:_0x467db7}=this[_0x116c07(0x16e)],_0x575cb3=this[_0x116c07(0x16e)][_0x116c07(0x175)][_0x116c07(0x178)](_0x116c07(0x18c));return _0x4d2ea4[_0x116c07(0x16f)](_0x466970=>{const _0x3ad910=_0x116c07,_0x3bbfcc=this[_0x3ad910(0x17d)](_0x1766fe,_0x466970[_0x3ad910(0x1af)]);return _0x3bbfcc[_0x3ad910(0x181)]=!0x0,_0x3bbfcc[_0x3ad910(0x17f)]=_0x466970[_0x3ad910(0x17f)],_0x3bbfcc[_0x3ad910(0x199)](_0x3ad910(0x185))['to'](_0x575cb3,_0x3ad910(0x173),_0x4c6f1e=>_0x44ca39(_0x467db7,_0x466970[_0x3ad910(0x1af)],_0x4c6f1e?_0x3ad910(0x1ac):_0x3ad910(0x1a4))[_0x3ad910(0x182)]),_0x3bbfcc;});}[_0x5e788b(0x176)](_0x5c4cd2){const _0x660af7=_0x5e788b;return _0x5c4cd2[_0x660af7(0x16f)](_0x13ebc8=>{const _0x128013=_0x660af7,_0x4c91f3=this[_0x128013(0x17d)](_0x8b8f02,_0x13ebc8[_0x128013(0x1af)]);return _0x4c91f3[_0x128013(0x17f)]=_0x13ebc8[_0x128013(0x17f)],_0x4c91f3[_0x128013(0x185)]=_0x13ebc8[_0x128013(0x1a6)],_0x4c91f3;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x511815}from'ckeditor5/src/core.js';import{FileRepository as _0x4de13e}from'ckeditor5/src/upload.js';import _0x16070d from'./uploadcareediting.js';import _0x1a1fcd from'./utils/uploadutils.js';import{getImageUrls as _0x139c0c}from'./utils/editingutils.js';export default class p extends _0x511815{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4de13e,_0x16070d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5cfbc9=this['editor'];if(!!!_0x5cfbc9['config']['get']('uploadcare'))return;_0x5cfbc9['plugins']['get'](_0x4de13e)['createUploadAdapter']=_0x2401aa=>new A(_0x2401aa,_0x5cfbc9),_0x5cfbc9['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4a7285,{imageElement:_0x415552,data:_0x571e91})=>{_0x5cfbc9['model']['change'](_0x591297=>{_0x591297['setAttribute']('uploadcareImageId',_0x571e91['uploadcareImageId'],_0x415552);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x4e0692,_0x23982d){this['loader']=_0x4e0692,this['editor']=_0x23982d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x7bf807=this['editor']['config']['get']('uploadcare.pubkey'),_0x5ca888=await this['loader']['file'];return _0x1a1fcd['upload']({'file':_0x5ca888,'publicKey':_0x7bf807,'signal':this['controller']['signal'],'onProgress':_0x46e5da=>{_0x46e5da&&_0x46e5da['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x46e5da['value']);}})['then'](async _0x4876be=>{const {imageFallbackUrl:_0x57fed0,imageSources:_0x30fce3}=_0x139c0c(_0x4876be['cdnUrl'],_0x4876be['imageInfo']['width']);return{'uploadcareImageId':_0x4876be['uuid'],'default':_0x57fed0,'sources':_0x30fce3};})['catch'](()=>{const _0x23eb09=t('Cannot\x20upload\x20file:')+('\x20'+_0x5ca888['name']+'.');return Promise['reject'](_0x23eb09);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x13933f}from'../uploadcareconfig.js';export function getTranslation(_0x28cf26,_0x14292c,_0x423a7b){const t=_0x28cf26['t'],_0x3a0046=_0x28cf26['t'];switch(_0x14292c){case _0x13933f['Local']:return{'text':_0x3a0046('Insert'===_0x423a7b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a0046('From\x20computer')};case _0x13933f['URL']:return{'text':'Insert'===_0x423a7b?_0x3a0046('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a0046('Via\x20URL')};case _0x13933f['Dropbox']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x13933f['Facebook']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x13933f['GDrive']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x13933f['GPhotos']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x13933f['Instagram']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x13933f['OneDrive']:return{'text':t('Insert'===_0x423a7b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x14292c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x49e585=_0x94e7;function _0x94e7(_0x3cd694,_0x128162){var _0x11e702=_0x11e7();return _0x94e7=function(_0x94e760,_0x3c7414){_0x94e760=_0x94e760-0x1ec;var _0x244481=_0x11e702[_0x94e760];return _0x244481;},_0x94e7(_0x3cd694,_0x128162);}function _0x11e7(){var _0x36b645=['166724wmPWfr','132300NzcmuS','1209768EOCkNo','div','getFocusableElement','6gJdOas','createCollection','focusTracker','13638rzuxhp','forwardCycle','128568CibusH','1152295cXiekA','true','fire','bindTemplate','4375016rmHEsy','focusCycler'];_0x11e7=function(){return _0x36b645;};return _0x11e7();}(function(_0x325031,_0x4e27f8){var _0x30a21b=_0x94e7,_0xc88be6=_0x325031();while(!![]){try{var _0x434939=parseInt(_0x30a21b(0x1f4))/0x1+-parseInt(_0x30a21b(0x1f6))/0x2*(-parseInt(_0x30a21b(0x1f1))/0x3)+-parseInt(_0x30a21b(0x1ec))/0x4+-parseInt(_0x30a21b(0x1f7))/0x5+parseInt(_0x30a21b(0x1ed))/0x6+-parseInt(_0x30a21b(0x1ee))/0x7+parseInt(_0x30a21b(0x1fb))/0x8;if(_0x434939===_0x4e27f8)break;else _0xc88be6['push'](_0xc88be6['shift']());}catch(_0x570623){_0xc88be6['push'](_0xc88be6['shift']());}}}(_0x11e7,0x40fb9));import{FocusTracker as _0x21fa1b}from'ckeditor5/src/utils.js';import{View as _0xed7d43,FocusCycler as _0x510641}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xed7d43{[_0x49e585(0x1f3)];[_0x49e585(0x1fc)];constructor(_0xa116b1){var _0x23735d=_0x49e585;super(_0xa116b1),this[_0x23735d(0x1f3)]=new _0x21fa1b(),this[_0x23735d(0x1fc)]=new _0x510641({'focusables':this[_0x23735d(0x1f2)](),'focusTracker':this[_0x23735d(0x1f3)]});}[_0x49e585(0x1f0)](){var _0x2f10ac=_0x49e585;return{'tag':_0x2f10ac(0x1ef),'attributes':{'aria-hidden':_0x2f10ac(0x1f8),'tabindex':'0'},'on':{'focus':this[_0x2f10ac(0x1fa)]['to'](()=>{var _0x1f3bf6=_0x2f10ac;this[_0x1f3bf6(0x1fc)][_0x1f3bf6(0x1f9)](_0x1f3bf6(0x1f5));})}};}}
|