@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.1 → 45.0.0-alpha.2
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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- 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
|
-
function _0x5d38(){const _0x252782=['uploadcare','commands','config','add','cleanupImage','render','25744266pfDOsh','data-uc-image-id','remove','fromCharCode','downcast','listenTo','isRegistered','uploadcare.uploader','input[uploadcare-file-input]','closeMax','_initImageProcessingIndicator','PictureEditing','_initConversion','224CdQMsV','body','1869984gpEzYI','imageBlock','79177Fgijmg','UploadcareEditing','_initSchema','imageInline','schema','model','60qqutCd','get','init','appendChild','configElement','isPremiumPlugin','removeAttribute','_configElement','uc-upload-ctx-provider','selection','uc-config','extend','uploadcare.pubkey','iconHrefResolver','replaceImageSource','map','isOfficialPlugin','view','272387cyTZUw','true','upcast','requires','document','#uc-icon-arrow-down','uploadcareImageReplace','\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','destroy','execute','uploader','afterInit','getSelectedElement','editing','6301392tUqHgu','_initCtx','locale','_initConfig','conversion','269884xWpOcE','uploadcareImageId','attributeToAttribute','ctxElement','pluginName','join','once','contentLanguage','querySelector','editor','elementToAttribute','_ctxElement','insertImage','for','getAttribute','href','1718872HVGKyy'];_0x5d38=function(){return _0x252782;};return _0x5d38();}const _0x44ddc7=_0x1987;(function(_0x24aef7,_0x140d86){const _0x1fe471=_0x1987,_0xcb2a03=_0x24aef7();while(!![]){try{const _0x3e12ae=-parseInt(_0x1fe471(0xa3))/0x1+parseInt(_0x1fe471(0xc6))/0x2+parseInt(_0x1fe471(0x89))/0x3+-parseInt(_0x1fe471(0xb6))/0x4*(-parseInt(_0x1fe471(0x91))/0x5)+parseInt(_0x1fe471(0xb1))/0x6+-parseInt(_0x1fe471(0x8b))/0x7*(-parseInt(_0x1fe471(0x87))/0x8)+-parseInt(_0x1fe471(0xcd))/0x9;if(_0x3e12ae===_0x140d86)break;else _0xcb2a03['push'](_0xcb2a03['shift']());}catch(_0xd7236d){_0xcb2a03['push'](_0xcb2a03['shift']());}}}(_0x5d38,0x8089f));function _0x1987(_0x1aad04,_0x3bbd44){const _0x5d38ba=_0x5d38();return _0x1987=function(_0x19875f,_0x35411f){_0x19875f=_0x19875f-0x7b;let _0x5dc2c7=_0x5d38ba[_0x19875f];return _0x5dc2c7;},_0x1987(_0x1aad04,_0x3bbd44);}import{Plugin as _0x4c10e3}from'ckeditor5/src/core.js';import{Dialog as _0x183cda}from'ckeditor5/src/ui.js';import{createElement as _0x22ea2b,global as _0x35a9b3,uid as _0x4834b4}from'ckeditor5/src/utils.js';import _0x1c413 from'./uploadcarecommand.js';import _0x455f42 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23c86e}from'./utils/editingutils.js';export default class i extends _0x4c10e3{[_0x44ddc7(0x98)]=null;[_0x44ddc7(0xc1)]=null;static get[_0x44ddc7(0xba)](){const _0x1f4d40=_0x44ddc7;return _0x1f4d40(0x8c);}static get[_0x44ddc7(0xa6)](){const _0x2696cf=_0x44ddc7;return[_0x2696cf(0x85),_0x455f42,_0x183cda];}static get[_0x44ddc7(0xa1)](){return!0x0;}static get[_0x44ddc7(0x96)](){return!0x0;}get[_0x44ddc7(0x95)](){const _0x90efac=_0x44ddc7;return this[_0x90efac(0x98)];}get[_0x44ddc7(0xb9)](){const _0x490cc0=_0x44ddc7;return this[_0x490cc0(0xc1)];}[_0x44ddc7(0x93)](){const _0x29c7a2=_0x44ddc7,_0x3c6f02=this[_0x29c7a2(0xbf)];_0x3c6f02[_0x29c7a2(0xc8)][_0x29c7a2(0xca)](_0x29c7a2(0xc7),new _0x1c413(_0x3c6f02));}[_0x44ddc7(0xae)](){const _0x58b35c=_0x44ddc7;this[_0x58b35c(0x8d)](),this[_0x58b35c(0x86)](),this[_0x58b35c(0xb4)](),this[_0x58b35c(0xb2)](),this[_0x58b35c(0x84)](),this[_0x58b35c(0x7f)](this[_0x58b35c(0xbf)],_0x58b35c(0xab),()=>{const _0x58e767=_0x58b35c;this[_0x58e767(0x98)]&&(this[_0x58e767(0x98)][_0x58e767(0x7c)](),this[_0x58e767(0x98)]=null),this[_0x58e767(0xc1)]&&(this[_0x58e767(0xc1)][_0x58e767(0x7c)](),this[_0x58e767(0xc1)]=null);const _0x52b001=_0x35a9b3[_0x58e767(0xa7)][_0x58e767(0xbe)](_0x58e767(0x82));_0x52b001&&_0x52b001[_0x58e767(0x7c)]();}),async function(_0x359289){const _0x2138b8=_0x38f610([0x68,0x6f,0x75,0x63,0x35,0x32,0x44,0x66,0x76,0x51,0x4e,0x58,0x55,0x62,0x65,0x4c,0x43,0x61,0x7a,0x72,0x73,0x69,0x4b,0x6c,0x49,0x56,0x6d,0x45,0x48,0x6e,0x53,0x41,0x4a,0x6b,0x47,0x67,0x33,0x54,0x78,0x36,0x30,0x5a,0x70,0x42,0x4f,0x38,0x37,0x34,0x74,0x46,0x64,0x4d,0x52,0x79,0x50,0x57,0x31,0x71,0x77,0x6a,0x39,0x59]),_0x4d0a0e=0x619ff3c8,_0x508cf7=0x61989098^_0x4d0a0e,_0x3df227=window[_0x38f610([0x44,0x61,0x74,0x65])][_0x38f610([0x6e,0x6f,0x77])](),_0x5e35ba=_0x359289[_0x38f610([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46f717=new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cfa9b=>{_0x5e35ba[_0x38f610([0x6f,0x6e,0x63,0x65])](_0x38f610([0x72,0x65,0x61,0x64,0x79]),_0x1cfa9b);}),_0x573847={[_0x38f610([0x6b,0x74,0x79])]:_0x38f610([0x45,0x43]),[_0x38f610([0x75,0x73,0x65])]:_0x38f610([0x73,0x69,0x67]),[_0x38f610([0x63,0x72,0x76])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36]),[_0x38f610([0x78])]:_0x38f610([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]),[_0x38f610([0x79])]:_0x38f610([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]),[_0x38f610([0x61,0x6c,0x67])]:_0x38f610([0x45,0x53,0x32,0x35,0x36])},_0x3bc7fe=_0x5e35ba[_0x38f610([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38f610([0x67,0x65,0x74])](_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x383770(){let _0x2b1777,_0x4f8d2c=null,_0x120b94=null;try{if(_0x3bc7fe==_0x38f610([0x47,0x50,0x4c]))return _0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1777=_0x4832a4(),!_0x2b1777)return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x120b94=_0x344778(_0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1777[_0x38f610([0x6a,0x74,0x69])])),await _0xc99bef()?_0x28caef()?_0x5c11f5()?_0x38f610([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39c443()?(_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x575735()):_0x38f610([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59fd4f){return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c11f5(){const _0x37109f=[_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38f610([0x74,0x72,0x69,0x61,0x6c])][_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3df227/0x3e8:0xe10*_0x508cf7;return _0x2b1777[_0x38f610([0x65,0x78,0x70])]<_0x37109f;}function _0x28caef(){const _0x665e66=_0x2b1777[_0x38f610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x665e66&&(!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a]))||!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x55,0x50,0x4c,0x43])));}function _0x39c443(){const _0x4509f2=_0x1987,_0x5308c8=_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5308c8||0x0==_0x5308c8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34dcb5}=new URL(window[_0x38f610([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4509f2(0xc5)]);if(_0x5308c8[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dcb5))return!0x0;const _0x2eb3e3=_0x34dcb5[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));return _0x5308c8[_0x38f610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8b8d=>_0x3e8b8d[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a])))[_0x38f610([0x6d,0x61,0x70])](_0x1b4c4d=>_0x1b4c4d[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])))[_0x38f610([0x73,0x6f,0x6d,0x65])](_0x9ca9d7=>_0x2eb3e3[_0x38f610([0x65,0x76,0x65,0x72,0x79])]((_0x27a503,_0x259b74)=>_0x9ca9d7[_0x259b74]===_0x27a503||_0x9ca9d7[_0x259b74]===_0x38f610([0x2a])));}function _0x575735(){return _0x4f8d2c&&_0x120b94?new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f585a,_0x413ac4)=>{_0x4f8d2c[_0x38f610([0x74,0x68,0x65,0x6e])](_0x2f585a,_0x413ac4),_0x120b94[_0x38f610([0x74,0x68,0x65,0x6e])](_0x50c73c=>{_0x50c73c!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x2f585a(_0x50c73c);},_0x413ac4);}):_0x4f8d2c||_0x120b94||_0x38f610([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344778(_0x427a5b,_0x45392b){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8d49=>{if(_0x478ba2())return _0x5e8d49(_0x38f610([0x56,0x61,0x6c,0x69,0x64]));_0x3f04f1(),_0x5e35ba[_0x38f610([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37f7c5=!0x1;const _0x49770f=_0x4834b4();function _0x480eca(_0x29eb93){return!!_0x29eb93&&(typeof _0x29eb93===_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29eb93===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29eb93[_0x38f610([0x74,0x68,0x65,0x6e])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29eb93[_0x38f610([0x63,0x61,0x74,0x63,0x68])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e4770(_0x224d06){_0x4a60fa(_0x224d06)[_0x38f610([0x74,0x68,0x65,0x6e])](_0x10149f=>{if(!_0x10149f||_0x10149f[_0x38f610([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38f610([0x6f,0x6b]))return _0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11882f(_0x3cf28a(_0x49770f+_0x45392b))!=_0x10149f[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0xb45559=>(_0x38d613(),_0xb45559),()=>{const _0x3fc7ae=_0x11728b();return null==_0x3fc7ae?(_0x38d613(),_0x38f610([0x56,0x61,0x6c,0x69,0x64])):_0x38f610(_0x3df227-_0x3fc7ae>(0x459377c8^_0x4d0a0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0x5e8d49)[_0x38f610([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44c978=0x61a91d48^_0x4d0a0e;function _0x38d613(){const _0x27cbb1=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x55128=_0x22f029(_0x11882f(window[_0x38f610([0x4d,0x61,0x74,0x68])][_0x38f610([0x63,0x65,0x69,0x6c])](_0x3df227/_0x44c978)));window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27cbb1,_0x55128);}function _0x11728b(){const _0x21bcb8=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x1a83dc=window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21bcb8);return _0x1a83dc?window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f029(_0x1a83dc),0x10)*_0x44c978:null;}function _0x4a60fa(_0x47a9b8){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c55d3,_0x3380c1)=>{_0x47a9b8[_0x38f610([0x74,0x68,0x65,0x6e])](_0x4c55d3,_0x3380c1),window[_0x38f610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3380c1,0x619e2708^_0x4d0a0e);});}}_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x93b8a8,_0x101bc8)=>{if(_0x101bc8[0x0]!=_0x427a5b)return _0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x101bc8[0x1]={..._0x101bc8[0x1],[_0x38f610([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49770f};},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x68,0x69,0x67,0x68])}),_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbbd6bb=>{_0x480eca(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37f7c5=!0x0,_0x4e4770(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x6c,0x6f,0x77])}),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>{_0x37f7c5||_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x478ba2(){return _0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38f610([0x61,0x75,0x74,0x6f]);}function _0x3f04f1(){_0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38f610([0x61,0x75,0x74,0x6f]);}}function _0x380ba6(_0x420922){const _0x29d104=[new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8187=>setTimeout(_0x1c8187,0x6196cd04^_0x4d0a0e)),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208ca3=>{let _0x40cb2a=0x0;_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x6f,0x6e])](_0x38f610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2054d0,_0xca8f18)=>{_0xca8f18[0x0][_0x38f610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40cb2a++,_0x40cb2a==(0x619ff230^_0x4d0a0e)&&(_0x208ca3(),_0x2054d0[_0x38f610([0x6f,0x66,0x66])]());});}))];return window[_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38f610([0x72,0x61,0x63,0x65])](_0x29d104)[_0x38f610([0x74,0x68,0x65,0x6e])](()=>_0x420922);}async function _0x3514e4(){await _0x46f717,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38f610([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aef16(_0x1334a6){const _0x3a51e3=_0x2dd4ce();_0x5e35ba[_0x3a51e3]=_0x38f610([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1334a6,_0x1334a6!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x3514e4();}function _0x2dd4ce(){const _0x1a1726=window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38f610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38f610([0x6e,0x6f,0x77])]())[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38f610([0x2e]),'');let _0x1611e4=_0x38f610([0x68]);for(let _0x30bc64=0x0;_0x30bc64<_0x1a1726[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bc64+=0x2){let _0x3299c4=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1726[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30bc64,_0x30bc64+0x2));_0x3299c4>=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3299c4-=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1611e4+=_0x2138b8[_0x3299c4];}return _0x1611e4;}function _0x4832a4(){const _0x297c23=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));if(0x3!=_0x297c23[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36c718(_0x297c23[0x1]);function _0x36c718(_0xe7c600){const _0x2fd007=_0x1c84fa(_0xe7c600);return _0x2fd007&&_0x10ffe8()?_0x2fd007:null;function _0x10ffe8(){const _0x201b9a=_0x2fd007[_0x38f610([0x6a,0x74,0x69])],_0x26f304=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160a8f={..._0x2fd007,[_0x38f610([0x6a,0x74,0x69])]:_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160a8f[_0x38f610([0x76,0x63])],_0x3cf28a(_0x160a8f)==_0x26f304;}}}async function _0xc99bef(){let _0x173faf=!0x0;try{const _0x4cb412=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])),[_0x3aa549,_0x486192,_0x3cb206]=_0x4cb412;return _0x1f055e(_0x3aa549),await _0x4a99b2(_0x3aa549,_0x486192,_0x3cb206),_0x173faf;}catch(_0x1df8f7){return!0x1;}function _0x1f055e(_0x2518d0){const _0x2f275e=_0x1c84fa(_0x2518d0);_0x2f275e&&_0x2f275e[_0x38f610([0x61,0x6c,0x67])]==_0x38f610([0x45,0x53,0x32,0x35,0x36])||(_0x173faf=!0x1);}async function _0x4a99b2(_0x20be0e,_0x46d371,_0x1d029b){const _0x3d9a13=window[_0x38f610([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38f610([0x66,0x72,0x6f,0x6d])](_0xee9f54(_0x1d029b),_0x317346=>_0x317346[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c76c6=new window[(_0x38f610([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38f610([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20be0e+_0x38f610([0x2e])+_0x46d371),_0x5bf7da=window[_0x38f610([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38f610([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf7da)return;const _0x2e12e9=await _0x5bf7da[_0x38f610([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38f610([0x6a,0x77,0x6b]),_0x573847,{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf7da[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x68,0x61,0x73,0x68])]:{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e12e9,_0x3d9a13,_0x4c76c6)||(_0x173faf=!0x1);}}function _0x1c84fa(_0x2dba30){return _0x2dba30[_0x38f610([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38f610([0x65,0x79]))?JSON[_0x38f610([0x70,0x61,0x72,0x73,0x65])](_0xee9f54(_0x2dba30)):null;}function _0xee9f54(_0xe30dad){return window[_0x38f610([0x61,0x74,0x6f,0x62])](_0xe30dad[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38f610([0x2b]))[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38f610([0x2f])));}function _0x3cf28a(_0x531609){let _0xfabfd9=0x1505;function _0x52853a(_0x236cf8){for(let _0xd20603=0x0;_0xd20603<_0x236cf8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd20603++){const _0x4a2c78=_0x236cf8[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd20603);_0xfabfd9=(_0xfabfd9<<0x5)+_0xfabfd9+_0x4a2c78,_0xfabfd9&=_0xfabfd9;}}function _0x719342(_0x48c08e){Array[_0x38f610([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c08e)?_0x48c08e[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x719342):_0x48c08e&&typeof _0x48c08e==_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38f610([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c08e)[_0x38f610([0x73,0x6f,0x72,0x74])]()[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d697a,_0x42c560])=>{_0x52853a(_0x2d697a),_0x719342(_0x42c560);}):_0x52853a(window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c08e));}return _0x719342(_0x531609),_0xfabfd9>>>0x0;}function _0x11882f(_0x1008f0){return _0x1008f0[_0x38f610([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38f610([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38f610([0x30]));}function _0x22f029(_0x10f2fa){return _0x10f2fa[_0x38f610([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38f610([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38f610([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ee120(){}function _0x38f610(_0x1ebd6b){const _0xdce773=_0x1987;return _0x1ebd6b[_0xdce773(0xa0)](_0x473eaf=>String[_0xdce773(0x7d)](_0x473eaf))[_0xdce773(0xbb)]('');}_0x4aef16(await _0x383770());}(this);}[_0x44ddc7(0x8d)](){const _0x439e19=_0x44ddc7,_0x4ec2b7=this[_0x439e19(0xbf)][_0x439e19(0x90)][_0x439e19(0x8f)];_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8a))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8a),{'allowAttributes':[_0x439e19(0xb7)]}),_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8e))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8e),{'allowAttributes':[_0x439e19(0xb7)]});}[_0x44ddc7(0x86)](){const _0x314073=_0x44ddc7,_0x5b3572=this[_0x314073(0xbf)];_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0x7e))[_0x314073(0xb8)]({'model':_0x314073(0xb7),'view':_0x314073(0x7b)}),_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0xa5))[_0x314073(0xc0)]({'model':{'key':_0x314073(0xb7),'value':_0x2165f1=>_0x2165f1[_0x314073(0xc4)](_0x314073(0x7b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x72663b=_0x5b3572[_0x314073(0xc8)][_0x314073(0x92)](_0x314073(0x9f));_0x72663b&&this[_0x314073(0x7f)](_0x72663b,_0x314073(0xcb),(_0x824f83,[_0x59044c,_0x37c2af])=>{const _0x756ce5=_0x314073;_0x59044c[_0x756ce5(0x97)](_0x756ce5(0xb7),_0x37c2af);});}[_0x44ddc7(0xb4)](){const _0x17e8ad=_0x44ddc7,_0x4d0d8f=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x81))||{},_0x6da933=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x9d))||'';this[_0x17e8ad(0x98)]=_0x22ea2b(_0x35a9b3[_0x17e8ad(0xa7)],_0x17e8ad(0x9b),{..._0x4d0d8f,'pubkey':_0x6da933,'ctx-name':_0x17e8ad(0xad),'sourceList':'','imgOnly':_0x17e8ad(0xa4),'removeCopyright':_0x17e8ad(0xa4),'localeName':this[_0x17e8ad(0xbf)][_0x17e8ad(0xb3)][_0x17e8ad(0xbd)],'externalSourcesEmbedCss':_0x17e8ad(0xaa)}),this[_0x17e8ad(0x98)][_0x17e8ad(0x9e)]=_0x5ec1e3=>{const _0x36f110=_0x17e8ad;if(_0x36f110(0x83)==_0x5ec1e3)return _0x36f110(0xa8);},_0x35a9b3[_0x17e8ad(0xa7)][_0x17e8ad(0x88)][_0x17e8ad(0x94)](this[_0x17e8ad(0x98)]);}[_0x44ddc7(0xb2)](){const _0x532dd0=_0x44ddc7;this[_0x532dd0(0xc1)]=_0x22ea2b(_0x35a9b3[_0x532dd0(0xa7)],_0x532dd0(0x99),{'ctx-name':_0x532dd0(0xad)}),_0x35a9b3[_0x532dd0(0xa7)][_0x532dd0(0x88)][_0x532dd0(0x94)](this[_0x532dd0(0xc1)]);}[_0x44ddc7(0x84)](){const _0x5665e9=_0x44ddc7,_0x22a764=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xc2));_0x22a764&&this[_0x5665e9(0x7f)](_0x22a764,_0x5665e9(0xac),()=>{const _0x2b8b19=_0x5665e9,_0x512902=this[_0x2b8b19(0xbf)][_0x2b8b19(0x90)][_0x2b8b19(0xa7)][_0x2b8b19(0x9a)][_0x2b8b19(0xaf)]();_0x512902&&_0x512902[_0x2b8b19(0xc4)](_0x2b8b19(0xb7))&&this[_0x2b8b19(0xbf)][_0x2b8b19(0xb0)][_0x2b8b19(0xa2)][_0x2b8b19(0xbc)](_0x2b8b19(0xcc),()=>{const _0x2b5904=_0x2b8b19;_0x23c86e(this[_0x2b5904(0xbf)],_0x512902);});});const _0x561fa9=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xa9));_0x561fa9&&this[_0x5665e9(0x7f)](_0x561fa9,_0x5665e9(0xac),()=>{const _0x3a2fe9=_0x5665e9,_0x1157f8=this[_0x3a2fe9(0xbf)][_0x3a2fe9(0x90)][_0x3a2fe9(0xa7)][_0x3a2fe9(0x9a)][_0x3a2fe9(0xaf)]();_0x1157f8&&_0x1157f8[_0x3a2fe9(0xc4)](_0x3a2fe9(0xb7))&&this[_0x3a2fe9(0xbf)][_0x3a2fe9(0xb0)][_0x3a2fe9(0xa2)][_0x3a2fe9(0xbc)](_0x3a2fe9(0xcc),()=>{const _0xfe23b3=_0x3a2fe9;_0x23c86e(this[_0xfe23b3(0xbf)],_0x1157f8);});});}}
|
|
23
|
+
const _0x4f9bb5=_0x331e;(function(_0xec59e9,_0x5ae11f){const _0xc714ae=_0x331e,_0x574558=_0xec59e9();while(!![]){try{const _0x42f895=parseInt(_0xc714ae(0x199))/0x1*(parseInt(_0xc714ae(0x1ba))/0x2)+-parseInt(_0xc714ae(0x1af))/0x3+-parseInt(_0xc714ae(0x187))/0x4+parseInt(_0xc714ae(0x1b2))/0x5*(parseInt(_0xc714ae(0x1a6))/0x6)+parseInt(_0xc714ae(0x1b5))/0x7*(-parseInt(_0xc714ae(0x1c9))/0x8)+-parseInt(_0xc714ae(0x18c))/0x9*(-parseInt(_0xc714ae(0x180))/0xa)+-parseInt(_0xc714ae(0x1c7))/0xb*(-parseInt(_0xc714ae(0x186))/0xc);if(_0x42f895===_0x5ae11f)break;else _0x574558['push'](_0x574558['shift']());}catch(_0x12d268){_0x574558['push'](_0x574558['shift']());}}}(_0x2dc8,0xe584e));import{Plugin as _0x5838bc}from'ckeditor5/src/core.js';function _0x331e(_0x12e287,_0x36301e){const _0x2dc89c=_0x2dc8();return _0x331e=function(_0x331e42,_0x2a6664){_0x331e42=_0x331e42-0x177;let _0x572ce0=_0x2dc89c[_0x331e42];return _0x572ce0;},_0x331e(_0x12e287,_0x36301e);}import{Dialog as _0x8fc631}from'ckeditor5/src/ui.js';function _0x2dc8(){const _0x3e4c1e=['insertImage','uploadcareImageReplace','once','142219UCWHFW','pluginName','34568yMUvZp','_initConfig','replaceImageSource','imageInline','imageBlock','editor','fromCharCode','UploadcareEditing','_initSchema','commands','config','extend','listenTo','3808260nvBvBp','true','uc-upload-ctx-provider','removeAttribute','view','for','2076GPQZEt','4968436LHYCgN','iconHrefResolver','body','map','ctxElement','27kACIev','uploadcare','appendChild','requires','_ctxElement','isOfficialPlugin','selection','_initCtx','destroy','getSelectedElement','elementToAttribute','document','remove','1GigVBu','downcast','afterInit','uploadcare.uploader','conversion','get','upcast','contentLanguage','\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','execute','configElement','href','render','654nDesxk','_configElement','input[uploadcare-file-input]','cleanupImage','model','getAttribute','init','isRegistered','data-uc-image-id','2259162QuPWzU','_initImageProcessingIndicator','attributeToAttribute','27235BNvVSi','schema','uploader','2590ZRdDzS','locale','closeMax','querySelector','add','1122250QSWMwa','uc-config','#uc-icon-arrow-down','uploadcareImageId','editing','join','_initConversion','PictureEditing','uploadcare.pubkey','isPremiumPlugin'];_0x2dc8=function(){return _0x3e4c1e;};return _0x2dc8();}import{createElement as _0x39433c,global as _0x5d3558,uid as _0x3b39dd}from'ckeditor5/src/utils.js';import _0x5192e1 from'./uploadcarecommand.js';import _0x3e72a9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2dca9a}from'./utils/editingutils.js';export default class i extends _0x5838bc{[_0x4f9bb5(0x1a7)]=null;[_0x4f9bb5(0x190)]=null;static get[_0x4f9bb5(0x1c8)](){const _0x584750=_0x4f9bb5;return _0x584750(0x17a);}static get[_0x4f9bb5(0x18f)](){const _0x435186=_0x4f9bb5;return[_0x435186(0x1c1),_0x3e72a9,_0x8fc631];}static get[_0x4f9bb5(0x191)](){return!0x0;}static get[_0x4f9bb5(0x1c3)](){return!0x0;}get[_0x4f9bb5(0x1a3)](){const _0x22f7c7=_0x4f9bb5;return this[_0x22f7c7(0x1a7)];}get[_0x4f9bb5(0x18b)](){const _0x43b623=_0x4f9bb5;return this[_0x43b623(0x190)];}[_0x4f9bb5(0x1ac)](){const _0xeaedcd=_0x4f9bb5,_0x2b6a6c=this[_0xeaedcd(0x178)];_0x2b6a6c[_0xeaedcd(0x17c)][_0xeaedcd(0x1b9)](_0xeaedcd(0x18d),new _0x5192e1(_0x2b6a6c));}[_0x4f9bb5(0x19b)](){const _0x5e121f=_0x4f9bb5;this[_0x5e121f(0x17b)](),this[_0x5e121f(0x1c0)](),this[_0x5e121f(0x1ca)](),this[_0x5e121f(0x193)](),this[_0x5e121f(0x1b0)](),this[_0x5e121f(0x17f)](this[_0x5e121f(0x178)],_0x5e121f(0x194),()=>{const _0x275fd7=_0x5e121f;this[_0x275fd7(0x1a7)]&&(this[_0x275fd7(0x1a7)][_0x275fd7(0x198)](),this[_0x275fd7(0x1a7)]=null),this[_0x275fd7(0x190)]&&(this[_0x275fd7(0x190)][_0x275fd7(0x198)](),this[_0x275fd7(0x190)]=null);const _0x20cc32=_0x5d3558[_0x275fd7(0x197)][_0x275fd7(0x1b8)](_0x275fd7(0x1a8));_0x20cc32&&_0x20cc32[_0x275fd7(0x198)]();}),async function(_0x485302){const _0x51f1b5=_0x4d890a([0x35,0x39,0x38,0x68,0x5a,0x73,0x56,0x76,0x7a,0x6b,0x63,0x62,0x48,0x44,0x55,0x71,0x47,0x6d,0x4a,0x4e,0x45,0x42,0x72,0x66,0x58,0x32,0x67,0x65,0x75,0x57,0x64,0x77,0x78,0x30,0x54,0x34,0x33,0x46,0x51,0x31,0x4c,0x43,0x59,0x4d,0x50,0x6e,0x53,0x79,0x4f,0x36,0x49,0x74,0x4b,0x37,0x6f,0x69,0x6c,0x52,0x6a,0x41,0x70,0x61]),_0x58a4fb=0x2ad0fb91,_0x46292b=0x2ad798f9^_0x58a4fb,_0xb8455c=window[_0x4d890a([0x44,0x61,0x74,0x65])][_0x4d890a([0x6e,0x6f,0x77])](),_0x15e7d7=_0x485302[_0x4d890a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46e710=new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x486ed0=>{_0x15e7d7[_0x4d890a([0x6f,0x6e,0x63,0x65])](_0x4d890a([0x72,0x65,0x61,0x64,0x79]),_0x486ed0);}),_0x21e2c3={[_0x4d890a([0x6b,0x74,0x79])]:_0x4d890a([0x45,0x43]),[_0x4d890a([0x75,0x73,0x65])]:_0x4d890a([0x73,0x69,0x67]),[_0x4d890a([0x63,0x72,0x76])]:_0x4d890a([0x50,0x2d,0x32,0x35,0x36]),[_0x4d890a([0x78])]:_0x4d890a([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]),[_0x4d890a([0x79])]:_0x4d890a([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]),[_0x4d890a([0x61,0x6c,0x67])]:_0x4d890a([0x45,0x53,0x32,0x35,0x36])},_0x1f23ac=_0x15e7d7[_0x4d890a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d890a([0x67,0x65,0x74])](_0x4d890a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2862f9(){let _0x162b63,_0x30ae8a=null,_0x396c42=null;try{if(_0x1f23ac==_0x4d890a([0x47,0x50,0x4c]))return _0x4d890a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x162b63=_0x5e0de1(),!_0x162b63)return _0x4d890a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x162b63[_0x4d890a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x396c42=_0x5c5eed(_0x162b63[_0x4d890a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x162b63[_0x4d890a([0x6a,0x74,0x69])])),await _0x168f77()?_0x44ee17()?_0x4d957d()?_0x4d890a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x335ac7()?(_0x162b63[_0x4d890a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d890a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30ae8a=_0x3a8621(_0x4d890a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x162b63[_0x4d890a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d890a([0x74,0x72,0x69,0x61,0x6c])&&(_0x30ae8a=_0x3a8621(_0x4d890a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5785e9()):_0x4d890a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d890a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d890a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x54fdb3){return _0x4d890a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d957d(){const _0x16bf68=[_0x4d890a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d890a([0x74,0x72,0x69,0x61,0x6c])][_0x4d890a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x162b63[_0x4d890a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb8455c/0x3e8:0xe10*_0x46292b;return _0x162b63[_0x4d890a([0x65,0x78,0x70])]<_0x16bf68;}function _0x44ee17(){const _0x56adb8=_0x162b63[_0x4d890a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56adb8&&(!!_0x56adb8[_0x4d890a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d890a([0x2a]))||!!_0x56adb8[_0x4d890a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d890a([0x55,0x50,0x4c,0x43])));}function _0x335ac7(){const _0x4ebb57=_0x331e,_0xca08e9=_0x162b63[_0x4d890a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xca08e9||0x0==_0xca08e9[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x535da2}=new URL(window[_0x4d890a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ebb57(0x1a4)]);if(_0xca08e9[_0x4d890a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535da2))return!0x0;const _0x41048f=_0x535da2[_0x4d890a([0x73,0x70,0x6c,0x69,0x74])](_0x4d890a([0x2e]));return _0xca08e9[_0x4d890a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2c31=>_0x4e2c31[_0x4d890a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d890a([0x2a])))[_0x4d890a([0x6d,0x61,0x70])](_0x3c8d3a=>_0x3c8d3a[_0x4d890a([0x73,0x70,0x6c,0x69,0x74])](_0x4d890a([0x2e])))[_0x4d890a([0x73,0x6f,0x6d,0x65])](_0x328763=>_0x41048f[_0x4d890a([0x65,0x76,0x65,0x72,0x79])]((_0x18a34f,_0x1b4e69)=>_0x328763[_0x1b4e69]===_0x18a34f||_0x328763[_0x1b4e69]===_0x4d890a([0x2a])));}function _0x5785e9(){return _0x30ae8a&&_0x396c42?new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa30732,_0x314bac)=>{_0x30ae8a[_0x4d890a([0x74,0x68,0x65,0x6e])](_0xa30732,_0x314bac),_0x396c42[_0x4d890a([0x74,0x68,0x65,0x6e])](_0x360609=>{_0x360609!=_0x4d890a([0x56,0x61,0x6c,0x69,0x64])&&_0xa30732(_0x360609);},_0x314bac);}):_0x30ae8a||_0x396c42||_0x4d890a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5eed(_0x5e1917,_0x459e9b){return new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf699e0=>{if(_0x2d11ff())return _0xf699e0(_0x4d890a([0x56,0x61,0x6c,0x69,0x64]));_0x955f75(),_0x15e7d7[_0x4d890a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d890a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11fd60=!0x1;const _0x5601dd=_0x3b39dd();function _0xd98a50(_0x364237){return!!_0x364237&&(typeof _0x364237===_0x4d890a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x364237===_0x4d890a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x364237[_0x4d890a([0x74,0x68,0x65,0x6e])]===_0x4d890a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x364237[_0x4d890a([0x63,0x61,0x74,0x63,0x68])]===_0x4d890a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x929366(_0x3b38ad){_0x363408(_0x3b38ad)[_0x4d890a([0x74,0x68,0x65,0x6e])](_0x52de94=>{if(!_0x52de94||_0x52de94[_0x4d890a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d890a([0x6f,0x6b]))return _0x4d890a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x158e4f(_0x17567b(_0x5601dd+_0x459e9b))!=_0x52de94[_0x4d890a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d890a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d890a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d890a([0x74,0x68,0x65,0x6e])](_0x1a64de=>(_0x1ebdf7(),_0x1a64de),()=>{const _0x65edb5=_0x461fe2();return null==_0x65edb5?(_0x1ebdf7(),_0x4d890a([0x56,0x61,0x6c,0x69,0x64])):_0x4d890a(_0xb8455c-_0x65edb5>(0xedc7f91^_0x58a4fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d890a([0x74,0x68,0x65,0x6e])](_0xf699e0)[_0x4d890a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf699e0(_0x4d890a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16b6f0=0x2ae61511^_0x58a4fb;function _0x1ebdf7(){const _0x30b792=_0x4d890a([0x6c,0x6c,0x63,0x74,0x2d])+_0x158e4f(_0x17567b(_0x5e1917)),_0x2e39a6=_0x427a3b(_0x158e4f(window[_0x4d890a([0x4d,0x61,0x74,0x68])][_0x4d890a([0x63,0x65,0x69,0x6c])](_0xb8455c/_0x16b6f0)));window[_0x4d890a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d890a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30b792,_0x2e39a6);}function _0x461fe2(){const _0x2819cc=_0x4d890a([0x6c,0x6c,0x63,0x74,0x2d])+_0x158e4f(_0x17567b(_0x5e1917)),_0x28daf4=window[_0x4d890a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d890a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2819cc);return _0x28daf4?window[_0x4d890a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x427a3b(_0x28daf4),0x10)*_0x16b6f0:null;}function _0x363408(_0x421513){return new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5473e1,_0x1b9da5)=>{_0x421513[_0x4d890a([0x74,0x68,0x65,0x6e])](_0x5473e1,_0x1b9da5),window[_0x4d890a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b9da5,0x2ad12f51^_0x58a4fb);});}}_0x15e7d7[_0x4d890a([0x6f,0x6e])](_0x4d890a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fd8a9,_0x3d3b61)=>{if(_0x3d3b61[0x0]!=_0x5e1917)return _0xf699e0(_0x4d890a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d3b61[0x1]={..._0x3d3b61[0x1],[_0x4d890a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5601dd};},{[_0x4d890a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d890a([0x68,0x69,0x67,0x68])}),_0x15e7d7[_0x4d890a([0x6f,0x6e])](_0x4d890a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3898a7=>{_0xd98a50(_0x3898a7[_0x4d890a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11fd60=!0x0,_0x929366(_0x3898a7[_0x4d890a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d890a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d890a([0x6c,0x6f,0x77])}),_0x46e710[_0x4d890a([0x74,0x68,0x65,0x6e])](()=>{_0x11fd60||_0xf699e0(_0x4d890a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d11ff(){return _0x15e7d7[_0x4d890a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d890a([0x76,0x69,0x65,0x77])][_0x4d890a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d890a([0x61,0x75,0x74,0x6f]);}function _0x955f75(){_0x15e7d7[_0x4d890a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d890a([0x76,0x69,0x65,0x77])][_0x4d890a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d890a([0x61,0x75,0x74,0x6f]);}}function _0x3a8621(_0x3dcaf0){const _0x550d34=[new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f694c=>setTimeout(_0x4f694c,0x2ad9c55d^_0x58a4fb)),_0x46e710[_0x4d890a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c0827=>{let _0x5ed74f=0x0;_0x15e7d7[_0x4d890a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d890a([0x6f,0x6e])](_0x4d890a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdb5876,_0x2c754b)=>{_0x2c754b[0x0][_0x4d890a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ed74f++,_0x5ed74f==(0x2ad0fa69^_0x58a4fb)&&(_0x1c0827(),_0xdb5876[_0x4d890a([0x6f,0x66,0x66])]());});}))];return window[_0x4d890a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d890a([0x72,0x61,0x63,0x65])](_0x550d34)[_0x4d890a([0x74,0x68,0x65,0x6e])](()=>_0x3dcaf0);}async function _0x28a2c0(){await _0x46e710,_0x15e7d7[_0x4d890a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d890a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51a6eb,_0x15e7d7[_0x4d890a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d890a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51a6eb,_0x15e7d7[_0x4d890a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d890a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ac5f2(_0x3e743b){const _0xfda2c4=_0x1daebd();_0x15e7d7[_0xfda2c4]=_0x4d890a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e743b,_0x3e743b!=_0x4d890a([0x56,0x61,0x6c,0x69,0x64])&&_0x28a2c0();}function _0x1daebd(){const _0x1918ff=window[_0x4d890a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d890a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d890a([0x6e,0x6f,0x77])]())[_0x4d890a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d890a([0x2e]),'');let _0x1d5917=_0x4d890a([0x68]);for(let _0x3e3197=0x0;_0x3e3197<_0x1918ff[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3197+=0x2){let _0x46cd5a=window[_0x4d890a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1918ff[_0x4d890a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e3197,_0x3e3197+0x2));_0x46cd5a>=_0x51f1b5[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46cd5a-=_0x51f1b5[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d5917+=_0x51f1b5[_0x46cd5a];}return _0x1d5917;}function _0x5e0de1(){const _0x3a8e8f=_0x1f23ac[_0x4d890a([0x73,0x70,0x6c,0x69,0x74])](_0x4d890a([0x2e]));if(0x3!=_0x3a8e8f[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x361cc4(_0x3a8e8f[0x1]);function _0x361cc4(_0x41da8a){const _0x3f6805=_0x3a5f2e(_0x41da8a);return _0x3f6805&&_0x117cbe()?_0x3f6805:null;function _0x117cbe(){const _0x4075e6=_0x3f6805[_0x4d890a([0x6a,0x74,0x69])],_0x2e1923=window[_0x4d890a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4075e6[_0x4d890a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4075e6[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ec7b5={..._0x3f6805,[_0x4d890a([0x6a,0x74,0x69])]:_0x4075e6[_0x4d890a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4075e6[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ec7b5[_0x4d890a([0x76,0x63])],_0x17567b(_0x4ec7b5)==_0x2e1923;}}}async function _0x168f77(){let _0x167128=!0x0;try{const _0x18f0ff=_0x1f23ac[_0x4d890a([0x73,0x70,0x6c,0x69,0x74])](_0x4d890a([0x2e])),[_0x294e43,_0x3766df,_0x25d188]=_0x18f0ff;return _0x47b691(_0x294e43),await _0x4d37dd(_0x294e43,_0x3766df,_0x25d188),_0x167128;}catch(_0x5819ab){return!0x1;}function _0x47b691(_0x1238ec){const _0x2c4724=_0x3a5f2e(_0x1238ec);_0x2c4724&&_0x2c4724[_0x4d890a([0x61,0x6c,0x67])]==_0x4d890a([0x45,0x53,0x32,0x35,0x36])||(_0x167128=!0x1);}async function _0x4d37dd(_0x4ab28f,_0x3cb494,_0x2ce802){const _0x594e12=window[_0x4d890a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d890a([0x66,0x72,0x6f,0x6d])](_0x42d9d5(_0x2ce802),_0x10f147=>_0x10f147[_0x4d890a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35fc0a=new window[(_0x4d890a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d890a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ab28f+_0x4d890a([0x2e])+_0x3cb494),_0x4aa9ad=window[_0x4d890a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d890a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4aa9ad)return;const _0x5de96a=await _0x4aa9ad[_0x4d890a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d890a([0x6a,0x77,0x6b]),_0x21e2c3,{[_0x4d890a([0x6e,0x61,0x6d,0x65])]:_0x4d890a([0x45,0x43,0x44,0x53,0x41]),[_0x4d890a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d890a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d890a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4aa9ad[_0x4d890a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d890a([0x6e,0x61,0x6d,0x65])]:_0x4d890a([0x45,0x43,0x44,0x53,0x41]),[_0x4d890a([0x68,0x61,0x73,0x68])]:{[_0x4d890a([0x6e,0x61,0x6d,0x65])]:_0x4d890a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5de96a,_0x594e12,_0x35fc0a)||(_0x167128=!0x1);}}function _0x3a5f2e(_0x38b416){return _0x38b416[_0x4d890a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d890a([0x65,0x79]))?JSON[_0x4d890a([0x70,0x61,0x72,0x73,0x65])](_0x42d9d5(_0x38b416)):null;}function _0x42d9d5(_0x2f291e){return window[_0x4d890a([0x61,0x74,0x6f,0x62])](_0x2f291e[_0x4d890a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d890a([0x2b]))[_0x4d890a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d890a([0x2f])));}function _0x17567b(_0x4b69e6){let _0x15f1fc=0x1505;function _0x53ec3c(_0x3c46b8){for(let _0xabe1ed=0x0;_0xabe1ed<_0x3c46b8[_0x4d890a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xabe1ed++){const _0x53b714=_0x3c46b8[_0x4d890a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xabe1ed);_0x15f1fc=(_0x15f1fc<<0x5)+_0x15f1fc+_0x53b714,_0x15f1fc&=_0x15f1fc;}}function _0x2ee597(_0x5aed51){Array[_0x4d890a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aed51)?_0x5aed51[_0x4d890a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee597):_0x5aed51&&typeof _0x5aed51==_0x4d890a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d890a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aed51)[_0x4d890a([0x73,0x6f,0x72,0x74])]()[_0x4d890a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x384f6b,_0x2610ce])=>{_0x53ec3c(_0x384f6b),_0x2ee597(_0x2610ce);}):_0x53ec3c(window[_0x4d890a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aed51));}return _0x2ee597(_0x4b69e6),_0x15f1fc>>>0x0;}function _0x158e4f(_0x549247){return _0x549247[_0x4d890a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d890a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d890a([0x30]));}function _0x427a3b(_0x3b522c){return _0x3b522c[_0x4d890a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d890a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d890a([0x6a,0x6f,0x69,0x6e])]('');}function _0x51a6eb(){}function _0x4d890a(_0xcabf33){const _0x3431ea=_0x331e;return _0xcabf33[_0x3431ea(0x18a)](_0x29c1fa=>String[_0x3431ea(0x179)](_0x29c1fa))[_0x3431ea(0x1bf)]('');}_0x2ac5f2(await _0x2862f9());}(this);}[_0x4f9bb5(0x17b)](){const _0x475281=_0x4f9bb5,_0x386587=this[_0x475281(0x178)][_0x475281(0x1aa)][_0x475281(0x1b3)];_0x386587[_0x475281(0x1ad)](_0x475281(0x177))&&_0x386587[_0x475281(0x17e)](_0x475281(0x177),{'allowAttributes':[_0x475281(0x1bd)]}),_0x386587[_0x475281(0x1ad)](_0x475281(0x1cc))&&_0x386587[_0x475281(0x17e)](_0x475281(0x1cc),{'allowAttributes':[_0x475281(0x1bd)]});}[_0x4f9bb5(0x1c0)](){const _0x16969a=_0x4f9bb5,_0x29472e=this[_0x16969a(0x178)];_0x29472e[_0x16969a(0x19d)][_0x16969a(0x185)](_0x16969a(0x19a))[_0x16969a(0x1b1)]({'model':_0x16969a(0x1bd),'view':_0x16969a(0x1ae)}),_0x29472e[_0x16969a(0x19d)][_0x16969a(0x185)](_0x16969a(0x19f))[_0x16969a(0x196)]({'model':{'key':_0x16969a(0x1bd),'value':_0xa6e14e=>_0xa6e14e[_0x16969a(0x1ab)](_0x16969a(0x1ae))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4527e1=_0x29472e[_0x16969a(0x17c)][_0x16969a(0x19e)](_0x16969a(0x1cb));_0x4527e1&&this[_0x16969a(0x17f)](_0x4527e1,_0x16969a(0x1a9),(_0x1fcb00,[_0x1d0b0d,_0x1729e2])=>{const _0x4fec06=_0x16969a;_0x1d0b0d[_0x4fec06(0x183)](_0x4fec06(0x1bd),_0x1729e2);});}[_0x4f9bb5(0x1ca)](){const _0x4ff3b9=_0x4f9bb5,_0x89c09c=this[_0x4ff3b9(0x178)][_0x4ff3b9(0x17d)][_0x4ff3b9(0x19e)](_0x4ff3b9(0x19c))||{},_0x2e2915=this[_0x4ff3b9(0x178)][_0x4ff3b9(0x17d)][_0x4ff3b9(0x19e)](_0x4ff3b9(0x1c2))||'';this[_0x4ff3b9(0x1a7)]=_0x39433c(_0x5d3558[_0x4ff3b9(0x197)],_0x4ff3b9(0x1bb),{..._0x89c09c,'pubkey':_0x2e2915,'ctx-name':_0x4ff3b9(0x1b4),'sourceList':'','imgOnly':_0x4ff3b9(0x181),'removeCopyright':_0x4ff3b9(0x181),'localeName':this[_0x4ff3b9(0x178)][_0x4ff3b9(0x1b6)][_0x4ff3b9(0x1a0)],'externalSourcesEmbedCss':_0x4ff3b9(0x1a1)}),this[_0x4ff3b9(0x1a7)][_0x4ff3b9(0x188)]=_0x572895=>{const _0x644355=_0x4ff3b9;if(_0x644355(0x1b7)==_0x572895)return _0x644355(0x1bc);},_0x5d3558[_0x4ff3b9(0x197)][_0x4ff3b9(0x189)][_0x4ff3b9(0x18e)](this[_0x4ff3b9(0x1a7)]);}[_0x4f9bb5(0x193)](){const _0x181722=_0x4f9bb5;this[_0x181722(0x190)]=_0x39433c(_0x5d3558[_0x181722(0x197)],_0x181722(0x182),{'ctx-name':_0x181722(0x1b4)}),_0x5d3558[_0x181722(0x197)][_0x181722(0x189)][_0x181722(0x18e)](this[_0x181722(0x190)]);}[_0x4f9bb5(0x1b0)](){const _0x3921e9=_0x4f9bb5,_0x46b77b=this[_0x3921e9(0x178)][_0x3921e9(0x17c)][_0x3921e9(0x19e)](_0x3921e9(0x1c4));_0x46b77b&&this[_0x3921e9(0x17f)](_0x46b77b,_0x3921e9(0x1a2),()=>{const _0x2c6f2e=_0x3921e9,_0xb60068=this[_0x2c6f2e(0x178)][_0x2c6f2e(0x1aa)][_0x2c6f2e(0x197)][_0x2c6f2e(0x192)][_0x2c6f2e(0x195)]();_0xb60068&&_0xb60068[_0x2c6f2e(0x1ab)](_0x2c6f2e(0x1bd))&&this[_0x2c6f2e(0x178)][_0x2c6f2e(0x1be)][_0x2c6f2e(0x184)][_0x2c6f2e(0x1c6)](_0x2c6f2e(0x1a5),()=>{const _0x171a1f=_0x2c6f2e;_0x2dca9a(this[_0x171a1f(0x178)],_0xb60068);});});const _0x2df471=this[_0x3921e9(0x178)][_0x3921e9(0x17c)][_0x3921e9(0x19e)](_0x3921e9(0x1c5));_0x2df471&&this[_0x3921e9(0x17f)](_0x2df471,_0x3921e9(0x1a2),()=>{const _0x2af1fc=_0x3921e9,_0x529b8c=this[_0x2af1fc(0x178)][_0x2af1fc(0x1aa)][_0x2af1fc(0x197)][_0x2af1fc(0x192)][_0x2af1fc(0x195)]();_0x529b8c&&_0x529b8c[_0x2af1fc(0x1ab)](_0x2af1fc(0x1bd))&&this[_0x2af1fc(0x178)][_0x2af1fc(0x1be)][_0x2af1fc(0x184)][_0x2af1fc(0x1c6)](_0x2af1fc(0x1a5),()=>{const _0x5419af=_0x2af1fc;_0x2dca9a(this[_0x5419af(0x178)],_0x529b8c);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4607b5,ObservableMixin as _0x259f70}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xc6a76a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x278529}from'ckeditor5/src/icons.js';import _0x57525c from'./uploadcareimageeditformview.js';import _0x137119 from'../../utils/uploadutils.js';import{getImageUrls as _0x2f3692,getImageDimension as _0x17cadd}from'../../utils/editingutils.js';import{isAncestor as _0x4f0f53}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x259f70(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x44a3c4,_0x5e85df,_0x55e373){super(),this['_editor']=_0x44a3c4,this['_dialog']=_0x5e85df,this['_imageElement']=_0x55e373,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 _0x452e74=this['_imageElement'],_0x548008=_0x452e74['getAttribute']('uploadcareImageId'),_0x135744=_0x452e74['getAttribute']('src');if(_0x548008)await this['_loadImageInfo'](_0x548008,_0x135744);else{if(this['_imageCache']['has'](_0x135744)){const _0x221e57=this['_imageCache']['get'](_0x135744);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x221e57['url'],this['imageDimension']=_0x221e57['dimension'],this['imageId']=_0x221e57['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5f4cfe}=this['_editor'],t=_0x5f4cfe['t'],_0x5d6509=new _0x57525c(_0x5f4cfe,this['imageStatus'],this['_attributes']);_0x5d6509['bind']('status')['to'](this,'imageStatus'),_0x5d6509['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5d6509['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5d6509['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5d6509,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x278529,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5d6509,'position':_0xc6a76a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5d6509['focus']();},'onHide':()=>{_0x5d6509['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2b9e37=>!_0x4f0f53(_0x2b9e37,_0x5d6509['element'])}});}['_loadImageInfo'](_0x24e91c,_0xcf1a89){return _0x137119['getInfo'](_0x24e91c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x558319=>{const {width:_0x1bcd26,height:_0x2d14c0}=_0x558319['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcf1a89,this['imageDimension']={'width':_0x1bcd26,'height':_0x2d14c0},this['imageId']=_0x24e91c;})['catch'](_0x41ad88=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x41ad88['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x478298,_0x57858e){return this['_getImageAsFile'](_0x478298)['then'](_0x3372e6=>_0x137119['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x57858e['signal'],'file':_0x3372e6,'onProgress':_0x40e9fb=>{_0x40e9fb&&_0x40e9fb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40e9fb['value']));}}))['then'](_0x5a9e19=>{const {width:_0xd3b9dd,height:_0x2ceab8}=_0x5a9e19['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a9e19['cdnUrl'],this['imageDimension']={'width':_0xd3b9dd,'height':_0x2ceab8},this['imageId']=_0x5a9e19['uuid'],this['imageUploadProgress']=null;const _0x3d7d4f=_0x478298['getAttribute']('src');this['_imageCache']['set'](_0x3d7d4f,{'id':_0x5a9e19['uuid'],'url':_0x5a9e19['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ba8a5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ba8a5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x49a053,_0x3f318f){_0x49a053['on']('apply',(_0x467ac5,_0xc8f1c4)=>{this['_replaceImage'](_0x3f318f,_0xc8f1c4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x49a053['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x49a053['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x13058d,_0xb20d8d,_0x5bdeab){const _0x484722=this['_editor'],{width:_0x3f37f8,height:_0x55fc87}=_0x17cadd(_0xb20d8d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44aa34,imageSources:_0x580574}=_0x2f3692(_0xb20d8d,_0x3f37f8);_0x484722['model']['change'](_0x2bf34b=>{if('$graveyard'===_0x13058d['root']['rootName']){_0x484722['execute']('insertImage',{'imageType':_0x13058d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x13058d['getAttributes']()),'uploadcareImageId':_0x5bdeab,'src':_0x44aa34,'sources':_0x580574,'width':_0x3f37f8,'height':_0x55fc87}});const _0x3b2d8a=_0x13058d['getChildren']();_0x13058d=_0x484722['model']['document']['selection']['getSelectedElement']();for(const _0x419501 of _0x3b2d8a)_0x2bf34b['append'](_0x2bf34b['cloneElement'](_0x419501),_0x13058d);}else _0x2bf34b['setSelection'](_0x13058d,'on'),_0x484722['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x13058d['getAttributes']()),'uploadcareImageId':_0x5bdeab,'src':_0x44aa34,'sources':_0x580574,'width':_0x3f37f8,'height':_0x55fc87},_0x13058d);_0x2bf34b['setSelection'](_0x13058d,'on');});}async['_getImageAsFile'](_0x23360c){const _0x3b7dfa=_0x4607b5['window'],_0x28261b=_0x4607b5['document']['location']['href'],_0x507450=new _0x3b7dfa['URL'](_0x23360c['getAttribute']('src'),_0x28261b);if('data:'===_0x507450['protocol']){const _0x443891=_0x507450['href']['split'](','),_0x1e3491=_0x443891[0x0]['match'](/:(.*?);/)[0x1],_0x5b31dd=_0x1e3491['split']('/')[0x1],_0x10d25f=_0x3b7dfa['atob'](_0x443891[_0x443891['length']-0x1]);let _0xa93848=_0x10d25f['length'];const _0xf8a2cd=new _0x3b7dfa['Uint8Array'](_0xa93848);for(;_0xa93848--;)_0xf8a2cd[_0xa93848]=_0x10d25f['charCodeAt'](_0xa93848);return new _0x3b7dfa['File']([_0xf8a2cd],'image.'+_0x5b31dd,{'type':_0x1e3491});}const _0x44e6c6=_0x507450['href']['split']('/'),_0x3c4e2a=_0x44e6c6[_0x44e6c6['length']-0x1],_0x37581b=_0x3c4e2a['split']('.')[0x1];return _0x3b7dfa['fetch'](_0x507450['href'])['then'](_0x356dad=>_0x356dad['clone']()['blob']())['then'](_0x52120b=>new _0x3b7dfa['File']([_0x52120b],_0x3c4e2a,{'type':'image/'+_0x37581b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x31258e,_0x3daf75){const _0x32bc0d=_0x4cab,_0xa2f6c4=_0x31258e();while(!![]){try{const _0x26c4f5=-parseInt(_0x32bc0d(0x1e9))/0x1*(parseInt(_0x32bc0d(0x1e0))/0x2)+parseInt(_0x32bc0d(0x1d7))/0x3*(parseInt(_0x32bc0d(0x1e8))/0x4)+-parseInt(_0x32bc0d(0x1d9))/0x5+parseInt(_0x32bc0d(0x1db))/0x6+-parseInt(_0x32bc0d(0x1e2))/0x7*(-parseInt(_0x32bc0d(0x1e4))/0x8)+parseInt(_0x32bc0d(0x1e5))/0x9*(-parseInt(_0x32bc0d(0x1e1))/0xa)+parseInt(_0x32bc0d(0x1e7))/0xb*(parseInt(_0x32bc0d(0x1d8))/0xc);if(_0x26c4f5===_0x3daf75)break;else _0xa2f6c4['push'](_0xa2f6c4['shift']());}catch(_0xf072f){_0xa2f6c4['push'](_0xa2f6c4['shift']());}}}(_0x4c10,0x6b5b4));function _0x4c10(){const _0x9f3308=['18251hLvYic','set','9ATlbYr','5791620kQhABN','2812475lMXMnj','ck-uploadcare-theme','1659744ibagih','image-edit','bindTemplate','imageSrc','uc-light','94WtkMiv','3890vdCzmQ','7zqFYMm','setTemplate','6575864QCvJpI','10917RmyATV','uc-cloud-image-editor','11NqBWRA','1000852ftmytR'];_0x4c10=function(){return _0x9f3308;};return _0x4c10();}import{View as _0x302440}from'ckeditor5/src/ui.js';function _0x4cab(_0x371fe1,_0x2ca242){const _0x4c10e3=_0x4c10();return _0x4cab=function(_0x4cabfd,_0x159633){_0x4cabfd=_0x4cabfd-0x1d6;let _0x2a06ef=_0x4c10e3[_0x4cabfd];return _0x2a06ef;},_0x4cab(_0x371fe1,_0x2ca242);}export default class tt extends _0x302440{constructor(_0x923bbe,_0x274400){const _0x1c3894=_0x4cab;super(_0x923bbe);const _0x328f87=this[_0x1c3894(0x1dd)];this[_0x1c3894(0x1d6)](_0x1c3894(0x1de),''),this[_0x1c3894(0x1e3)]({'tag':_0x1c3894(0x1e6),'attributes':{..._0x274400,'class':[_0x1c3894(0x1df),_0x1c3894(0x1da)],'ctx-name':_0x1c3894(0x1dc),'cdn-url':_0x328f87['to'](_0x1c3894(0x1de))}});}}
|
|
@@ -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 _0x1d5fdb,IconView as at,View as _0x5d0ed1}from'ckeditor5/src/ui.js';export default class rt extends _0x5d0ed1{constructor(_0xc512d9){super(_0xc512d9);const t=_0xc512d9['t'];this['set']('errorType',null);const _0x4b1537=new _0x1d5fdb(_0xc512d9);_0x4b1537['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4b1537['withText']=!0x0,_0x4b1537['class']='ck-button-action',_0x4b1537['on']('execute',()=>{this['fire']('retry');}),_0x4b1537['bind']('isVisible')['to'](this,'errorType',_0x162051=>'NotFound'!==_0x162051);const _0x165f37=new at();_0x165f37['content']=et,_0x165f37['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x47cbb6=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':[_0x165f37,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x47cbb6['to']('errorType',_0x3d2663=>t('NotFound'!==_0x3d2663?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4b1537]},{'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 _0x10f9fb,View as _0x3e8504}from'ckeditor5/src/ui.js';export default class ta extends _0x3e8504{constructor(_0x4f4a9c){super(_0x4f4a9c);const t=_0x4f4a9c['t'],_0x1947ff=this['bindTemplate'],_0x487ec8=new _0x10f9fb();_0x487ec8['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':[_0x487ec8,{'text':_0x1947ff['to']('imageUploadProgress',_0x5bd759=>t('Loading\x20image...')+'\x20('+(_0x5bd759||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x568a(){const _0x28068b=['237129ghMdhM','12NflarR','change:status','render','disconnect','2LieauR','cancel','883432fUjCJf','add','querySelector','ready','clear','uc-cloud-image-editor','_loadingView','element','_editingView','filter','div','ck-reset_all-excluded','68545rYApLP','7qgceXs','apply','269470IBaIWp','_items','_errorView','observe','addedNodes','detail','2014308BFwQJn','_setView','_addErrorViewListeners','cdnUrl','retry','_waitForImageEditorComponent','addEventListener','length','ck-uploadcare-form','target','createCollection','once','_focusableView','uploading','status','focus','toLowerCase','set','fire','nodeName','_addUploadcareImageEditorListeners','error','getFocusableElement','addMany','24359005pAAouZ','setTemplate','207TWrBQJ','684857geGMaV'];_0x568a=function(){return _0x28068b;};return _0x568a();}const _0x38daa4=_0x5293;(function(_0x2a679c,_0x31091b){const _0x409974=_0x5293,_0x314657=_0x2a679c();while(!![]){try{const _0x201a49=-parseInt(_0x409974(0xdc))/0x1+-parseInt(_0x409974(0xe2))/0x2*(-parseInt(_0x409974(0xdd))/0x3)+-parseInt(_0x409974(0xc1))/0x4+-parseInt(_0x409974(0xb8))/0x5*(parseInt(_0x409974(0xde))/0x6)+parseInt(_0x409974(0xb9))/0x7*(-parseInt(_0x409974(0xe4))/0x8)+-parseInt(_0x409974(0xdb))/0x9*(parseInt(_0x409974(0xbb))/0xa)+parseInt(_0x409974(0xd9))/0xb;if(_0x201a49===_0x31091b)break;else _0x314657['push'](_0x314657['shift']());}catch(_0x22cf69){_0x314657['push'](_0x314657['shift']());}}}(_0x568a,0x54d2c));function _0x5293(_0x4b5946,_0x4250ee){const _0x568ad0=_0x568a();return _0x5293=function(_0x52934e,_0x1fcf37){_0x52934e=_0x52934e-0xad;let _0x3caf6e=_0x568ad0[_0x52934e];return _0x3caf6e;},_0x5293(_0x4b5946,_0x4250ee);}import{View as _0x5eb3db}from'ckeditor5/src/ui.js';import _0x28339c from'./uploadcareimageeditformloadingview.js';import _0x28eb4c from'./uploadcareimageeditformerrorview.js';import _0x41c005 from'./uploadcareimageeditformeditingview.js';import _0x59efa5 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x59efa5{[_0x38daa4(0xbc)];[_0x38daa4(0xb2)];[_0x38daa4(0xbd)];[_0x38daa4(0xb4)];[_0x38daa4(0xcd)];constructor(_0x5e42de,_0x1a77bf,_0x3ce7ca){const _0x2d22a8=_0x38daa4;super(_0x5e42de),this[_0x2d22a8(0xbc)]=this[_0x2d22a8(0xcb)](),this[_0x2d22a8(0xb2)]=new _0x28339c(_0x5e42de),this[_0x2d22a8(0xbd)]=new _0x28eb4c(_0x5e42de),this[_0x2d22a8(0xb4)]=new _0x41c005(_0x5e42de,_0x3ce7ca),this[_0x2d22a8(0xcd)]=new _0x5eb3db(_0x5e42de),this[_0x2d22a8(0xcd)][_0x2d22a8(0xda)](this[_0x2d22a8(0xd7)]()),this[_0x2d22a8(0xd2)](_0x2d22a8(0xcf),_0x1a77bf),this[_0x2d22a8(0xda)]({'tag':_0x2d22a8(0xb6),'attributes':{'class':['ck',_0x2d22a8(0xb7),_0x2d22a8(0xc9)],'tabindex':'-1'},'children':this[_0x2d22a8(0xbc)]}),this[_0x2d22a8(0xc2)](),this[_0x2d22a8(0xcc)](_0x2d22a8(0xe0),()=>{const _0x50d3e8=_0x2d22a8;this[_0x50d3e8(0xc6)](this[_0x50d3e8(0xb3)],_0x4ebdd6=>{const _0x1f1a31=_0x50d3e8;this[_0x1f1a31(0xd5)](_0x4ebdd6);});}),this['on'](_0x2d22a8(0xdf),()=>{const _0x2ec677=_0x2d22a8;this[_0x2ec677(0xc2)]();}),this[_0x2d22a8(0xc3)]();}[_0x38daa4(0xd0)](){const _0x51f799=_0x38daa4;this[_0x51f799(0xb3)][_0x51f799(0xd0)]();}[_0x38daa4(0xc2)](){const _0x2bf1b3=_0x38daa4;switch(this[_0x2bf1b3(0xbc)][_0x2bf1b3(0xb0)](),this[_0x2bf1b3(0xcf)]){case _0x2bf1b3(0xce):this[_0x2bf1b3(0xbc)][_0x2bf1b3(0xad)](this[_0x2bf1b3(0xb2)]);break;case _0x2bf1b3(0xd6):this[_0x2bf1b3(0xbc)][_0x2bf1b3(0xad)](this[_0x2bf1b3(0xbd)]);break;case _0x2bf1b3(0xaf):this[_0x2bf1b3(0xbc)][_0x2bf1b3(0xd8)]([this[_0x2bf1b3(0xb4)],this[_0x2bf1b3(0xcd)]]);}}[_0x38daa4(0xc6)](_0xd0a876,_0xef3a64){const _0x385254=_0x38daa4,_0x4762ea=_0x385254(0xb1),_0x3e0773=_0xd0a876[_0x385254(0xae)](_0x4762ea);if(_0x3e0773)return _0xef3a64(_0x3e0773);const _0x358662=new MutationObserver(_0x271f48=>{const _0x1de030=_0x385254,_0x370784=_0x271f48[_0x1de030(0xb5)](_0x590386=>_0x590386[_0x1de030(0xca)]===_0xd0a876&&_0x590386[_0x1de030(0xbf)][_0x1de030(0xc8)]>0x0&&_0x590386[_0x1de030(0xbf)][0x0][_0x1de030(0xd4)][_0x1de030(0xd1)]()===_0x4762ea);_0x370784[_0x1de030(0xc8)]&&(_0x358662[_0x1de030(0xe1)](),_0xef3a64(_0x370784[0x0][_0x1de030(0xbf)][0x0]));});_0x358662[_0x385254(0xbe)](_0xd0a876,{'childList':!0x0,'subtree':!0x0});}[_0x38daa4(0xd5)](_0x3164d1){const _0x2b6cf4=_0x38daa4;_0x3164d1[_0x2b6cf4(0xc7)](_0x2b6cf4(0xba),_0x2df9c5=>{const _0x54a4c9=_0x2b6cf4;this[_0x54a4c9(0xd3)](_0x54a4c9(0xba),{'imageSrc':_0x2df9c5[_0x54a4c9(0xc0)][_0x54a4c9(0xc4)]});}),_0x3164d1[_0x2b6cf4(0xc7)](_0x2b6cf4(0xe3),()=>{const _0x5c37b3=_0x2b6cf4;this[_0x5c37b3(0xd3)](_0x5c37b3(0xe3));});}[_0x38daa4(0xc3)](){const _0x23d476=_0x38daa4;this[_0x23d476(0xbd)]['on'](_0x23d476(0xc5),()=>{const _0x50cbf3=_0x23d476;this[_0x50cbf3(0xd3)](_0x50cbf3(0xc5));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2623b1=_0x3397;(function(_0x93e784,_0x2b3e67){const _0x28b9bf=_0x3397,_0x57690a=_0x93e784();while(!![]){try{const _0x505b0d=-parseInt(_0x28b9bf(0x1c7))/0x1*(-parseInt(_0x28b9bf(0x1c9))/0x2)+parseInt(_0x28b9bf(0x1df))/0x3+-parseInt(_0x28b9bf(0x1cd))/0x4+-parseInt(_0x28b9bf(0x1db))/0x5+-parseInt(_0x28b9bf(0x1d6))/0x6+parseInt(_0x28b9bf(0x1d7))/0x7*(-parseInt(_0x28b9bf(0x1dd))/0x8)+parseInt(_0x28b9bf(0x1e4))/0x9;if(_0x505b0d===_0x2b3e67)break;else _0x57690a['push'](_0x57690a['shift']());}catch(_0x29ba1d){_0x57690a['push'](_0x57690a['shift']());}}}(_0x3ef3,0xd124d));import{Command as _0x2a18b8}from'ckeditor5/src/core.js';import{Dialog as _0x250edb}from'ckeditor5/src/ui.js';import _0x22b016 from'./ui/uploadcareimageeditcontroller.js';function _0x3397(_0x165ed1,_0x129fcd){const _0x3ef3c7=_0x3ef3();return _0x3397=function(_0x339756,_0x15024f){_0x339756=_0x339756-0x1c6;let _0x36b1d8=_0x3ef3c7[_0x339756];return _0x36b1d8;},_0x3397(_0x165ed1,_0x129fcd);}import{createEditabilityChecker as _0x1ed8e0}from'../utils/editingutils.js';function _0x3ef3(){const _0x156a99=['selection','2717040nRqzbQ','element','296PqMeuz','get','3415533uwhopm','isActive','imageBlock','uploadcare.allowExternalImagesEditing','getSelectedElement','26778402lEoVNM','model','1NRexiU','config','94538oMfOqb','editor','document','requires','3042792uTdPsT','imageEditController','unbind','_isEditable','refresh','imageInline','execute','set','isEnabled','5085096WywzVb','218113IUnArk','plugins','bind'];_0x3ef3=function(){return _0x156a99;};return _0x3ef3();}export default class J extends _0x2a18b8{[_0x2623b1(0x1ce)];static get[_0x2623b1(0x1cc)](){return[_0x250edb];}[_0x2623b1(0x1d0)];constructor(_0x146628){const _0x457c93=_0x2623b1;super(_0x146628),this[_0x457c93(0x1ce)]=void 0x0,this[_0x457c93(0x1d0)]=_0x1ed8e0(_0x146628[_0x457c93(0x1c8)][_0x457c93(0x1de)](_0x457c93(0x1e2))||[]),this[_0x457c93(0x1d4)]({'isActive':!0x1});}[_0x2623b1(0x1d1)](){const _0x19667b=_0x2623b1,_0xfb3b71=this[_0x19667b(0x1ca)][_0x19667b(0x1c6)][_0x19667b(0x1cb)][_0x19667b(0x1da)][_0x19667b(0x1e3)]();this[_0x19667b(0x1d5)]=this[_0x19667b(0x1d0)](_0xfb3b71);}[_0x2623b1(0x1d3)](){const _0x4e94cd=_0x2623b1;this[_0x4e94cd(0x1ce)]&&(this[_0x4e94cd(0x1cf)](_0x4e94cd(0x1e0)),this[_0x4e94cd(0x1ce)]=void 0x0);const _0x10429e=this[_0x4e94cd(0x1ca)][_0x4e94cd(0x1c6)][_0x4e94cd(0x1cb)][_0x4e94cd(0x1da)][_0x4e94cd(0x1e3)]();_0x10429e&&(_0x10429e['is'](_0x4e94cd(0x1dc),_0x4e94cd(0x1e1))||_0x10429e['is'](_0x4e94cd(0x1dc),_0x4e94cd(0x1d2)))&&(this[_0x4e94cd(0x1ce)]=new _0x22b016(this[_0x4e94cd(0x1ca)],this[_0x4e94cd(0x1ca)][_0x4e94cd(0x1d8)][_0x4e94cd(0x1de)](_0x250edb),_0x10429e),this[_0x4e94cd(0x1d9)](_0x4e94cd(0x1e0))['to'](this[_0x4e94cd(0x1ce)],_0x4e94cd(0x1e0)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x282dc5=_0x173b;(function(_0x58b706,_0x232e14){const _0x21c1ad=_0x173b,_0xf59186=_0x58b706();while(!![]){try{const _0x445c1f=parseInt(_0x21c1ad(0x7e))/0x1+-parseInt(_0x21c1ad(0x88))/0x2+parseInt(_0x21c1ad(0x8d))/0x3+parseInt(_0x21c1ad(0x91))/0x4+-parseInt(_0x21c1ad(0x87))/0x5*(parseInt(_0x21c1ad(0x82))/0x6)+parseInt(_0x21c1ad(0x7d))/0x7*(parseInt(_0x21c1ad(0x86))/0x8)+parseInt(_0x21c1ad(0x83))/0x9*(-parseInt(_0x21c1ad(0x89))/0xa);if(_0x445c1f===_0x232e14)break;else _0xf59186['push'](_0xf59186['shift']());}catch(_0x1757b5){_0xf59186['push'](_0xf59186['shift']());}}}(_0x390f,0xec0c8));import{Plugin as _0x30afe7}from'ckeditor5/src/core.js';function _0x390f(){const _0x4072ea=['uploadcareImageReplace','init','3934448pTEvfM','UploadcareImageEditEditing','7UqbWWd','312182BpoyUK','requires','uploadcareImageEdit','pluginName','6ikexGV','4799835RcwIqN','commands','add','8289496TJBXSZ','476485UriLvn','2786638JkoXeH','10fjrzOJ','isOfficialPlugin','isPremiumPlugin','ImageUtils','1970418kRLxxA','ImageEditing'];_0x390f=function(){return _0x4072ea;};return _0x390f();}function _0x173b(_0x2393e7,_0x10004c){const _0x390f76=_0x390f();return _0x173b=function(_0x173b77,_0x31a19a){_0x173b77=_0x173b77-0x7c;let _0x54befd=_0x390f76[_0x173b77];return _0x54befd;},_0x173b(_0x2393e7,_0x10004c);}import{Notification as _0xdefa8c}from'ckeditor5/src/ui.js';import _0x3acf29 from'./uploadcareimageeditcommand.js';import _0x4fea19 from'./uploadcareimagereplacecommand.js';import _0x18c18f from'../uploadcareediting.js';export default class g extends _0x30afe7{static get[_0x282dc5(0x81)](){const _0x59f3b5=_0x282dc5;return _0x59f3b5(0x7c);}static get[_0x282dc5(0x7f)](){const _0x3479e1=_0x282dc5;return[_0x18c18f,_0xdefa8c,_0x3479e1(0x8c),_0x3479e1(0x8e)];}static get[_0x282dc5(0x8a)](){return!0x0;}static get[_0x282dc5(0x8b)](){return!0x0;}[_0x282dc5(0x90)](){const _0x9e3e8c=_0x282dc5,{editor:_0x5d2a26}=this;_0x5d2a26[_0x9e3e8c(0x84)][_0x9e3e8c(0x85)](_0x9e3e8c(0x80),new _0x3acf29(_0x5d2a26)),_0x5d2a26[_0x9e3e8c(0x84)][_0x9e3e8c(0x85)](_0x9e3e8c(0x8f),new _0x4fea19(_0x5d2a26));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1cfa91}from'ckeditor5/src/core.js';import{ButtonView as _0x2a9cc6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e42c4}from'ckeditor5/src/icons.js';import{createElement as _0x8c8454}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 _0x1cfa91{['_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 _0x260350=this['editor'];_0x260350['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f4b21=>{const _0x2623b5=_0x260350['commands']['get']('uploadcareImageEdit'),_0x543040=new _0x2a9cc6(_0x2f4b21),t=_0x2f4b21['t'];return _0x543040['set']({'icon':_0x1e42c4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x543040['bind']('isEnabled')['to'](_0x2623b5),_0x543040['bind']('isOn')['to'](_0x2623b5,'isActive'),this['listenTo'](_0x543040,'execute',()=>{_0x260350['execute']('uploadcareImageEdit'),_0x260350['editing']['view']['focus']();}),_0x543040;}),this['_initConfig']();}['_initConfig'](){const _0x48c075=_0x8c8454(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x48c075),this['listenTo'](this['editor'],'destroy',()=>{_0x48c075['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x440403=_0x45f2;function _0x45f2(_0xa47dd2,_0x315977){const _0x16094d=_0x1609();return _0x45f2=function(_0x45f2c3,_0x2c2ffb){_0x45f2c3=_0x45f2c3-0x1d6;let _0x5d3a6e=_0x16094d[_0x45f2c3];return _0x5d3a6e;},_0x45f2(_0xa47dd2,_0x315977);}(function(_0x2700e9,_0x4ce234){const _0x208897=_0x45f2,_0x13b3cd=_0x2700e9();while(!![]){try{const _0x44b124=parseInt(_0x208897(0x1e4))/0x1*(-parseInt(_0x208897(0x1e6))/0x2)+-parseInt(_0x208897(0x1e7))/0x3+parseInt(_0x208897(0x1d9))/0x4+parseInt(_0x208897(0x1db))/0x5*(parseInt(_0x208897(0x1df))/0x6)+parseInt(_0x208897(0x1ed))/0x7*(parseInt(_0x208897(0x1dc))/0x8)+-parseInt(_0x208897(0x1e3))/0x9+parseInt(_0x208897(0x1da))/0xa;if(_0x44b124===_0x4ce234)break;else _0x13b3cd['push'](_0x13b3cd['shift']());}catch(_0x529752){_0x13b3cd['push'](_0x13b3cd['shift']());}}}(_0x1609,0xcce36));function _0x1609(){const _0xd54927=['1420344lQUnCs','35350610myCBLa','90pZLYPP','508280aorqPU','getSelectedElement','editor','54498RBMImv','model','execute','srcset','10417068SKLdKM','1446545APGqKi','setAttributes','2eygMLj','2784291kqrAnz','imageBlock','isEnabled','sizes','imageInline','element','35oDYmnK','document','change','refresh','selection','removeAttribute'];_0x1609=function(){return _0xd54927;};return _0x1609();}import{Command as _0x548668}from'ckeditor5/src/core.js';export default class O extends _0x548668{[_0x440403(0x1d6)](){const _0xc9d490=_0x440403,_0x51339c=this[_0xc9d490(0x1de)][_0xc9d490(0x1e0)][_0xc9d490(0x1ee)][_0xc9d490(0x1d7)][_0xc9d490(0x1dd)]();this[_0xc9d490(0x1e9)]=Boolean(_0x51339c&&(_0x51339c['is'](_0xc9d490(0x1ec),_0xc9d490(0x1e8))||_0x51339c['is'](_0xc9d490(0x1ec),_0xc9d490(0x1eb))));}[_0x440403(0x1e1)](_0x582a21){const _0x414e3d=_0x440403,_0x1b6e2a=this[_0x414e3d(0x1de)][_0x414e3d(0x1e0)][_0x414e3d(0x1ee)][_0x414e3d(0x1d7)][_0x414e3d(0x1dd)]();this[_0x414e3d(0x1de)][_0x414e3d(0x1e0)][_0x414e3d(0x1ef)](_0x37cd85=>{const _0x55fc11=_0x414e3d;_0x37cd85[_0x55fc11(0x1e5)](_0x582a21,_0x1b6e2a),_0x37cd85[_0x55fc11(0x1d8)](_0x55fc11(0x1e2),_0x1b6e2a),_0x37cd85[_0x55fc11(0x1d8)](_0x55fc11(0x1ea),_0x1b6e2a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x40a2ff=_0x284f;(function(_0x3b2895,_0x5a5724){var _0xb09020=_0x284f,_0x4c8e3b=_0x3b2895();while(!![]){try{var _0x4688d4=-parseInt(_0xb09020(0xeb))/0x1+parseInt(_0xb09020(0xec))/0x2*(-parseInt(_0xb09020(0xe6))/0x3)+parseInt(_0xb09020(0xf0))/0x4+parseInt(_0xb09020(0xf2))/0x5*(parseInt(_0xb09020(0xf3))/0x6)+parseInt(_0xb09020(0xe3))/0x7*(-parseInt(_0xb09020(0xe7))/0x8)+parseInt(_0xb09020(0xe5))/0x9*(-parseInt(_0xb09020(0xed))/0xa)+parseInt(_0xb09020(0xee))/0xb*(parseInt(_0xb09020(0xe9))/0xc);if(_0x4688d4===_0x5a5724)break;else _0x4c8e3b['push'](_0x4c8e3b['shift']());}catch(_0x541be0){_0x4c8e3b['push'](_0x4c8e3b['shift']());}}}(_0x5029,0x61dbd));import{Plugin as _0x19fb8f}from'ckeditor5/src/core.js';import _0x57d136 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x58749d from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5029(){var _0x41a539=['3924vfabZz','isPremiumPlugin','61571YYloau','37920uNNRuV','20XkCsqu','2123KxFFAo','isOfficialPlugin','2053368RBSgGl','pluginName','1601165dcFnrn','12aKmpcG','343fdzXfG','UploadcareImageEdit','2712114rgSjKI','24gRyZFq','24uUCzSI','requires'];_0x5029=function(){return _0x41a539;};return _0x5029();}function _0x284f(_0x7a05fb,_0x23e001){var _0x5029e3=_0x5029();return _0x284f=function(_0x284f2b,_0x53c18f){_0x284f2b=_0x284f2b-0xe3;var _0x349d32=_0x5029e3[_0x284f2b];return _0x349d32;},_0x284f(_0x7a05fb,_0x23e001);}export default class P extends _0x19fb8f{static get[_0x40a2ff(0xf1)](){var _0x285ca8=_0x40a2ff;return _0x285ca8(0xe4);}static get[_0x40a2ff(0xe8)](){return[_0x57d136,_0x58749d];}static get[_0x40a2ff(0xef)](){return!0x0;}static get[_0x40a2ff(0xea)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e6c87=_0x35ca;(function(_0x172900,_0x3d2549){const _0xb539e8=_0x35ca,_0x4d4dc6=_0x172900();while(!![]){try{const _0x1ef0ad=-parseInt(_0xb539e8(0x111))/0x1+-parseInt(_0xb539e8(0x13a))/0x2*(-parseInt(_0xb539e8(0x10e))/0x3)+-parseInt(_0xb539e8(0x12a))/0x4*(-parseInt(_0xb539e8(0x118))/0x5)+parseInt(_0xb539e8(0x123))/0x6*(-parseInt(_0xb539e8(0x126))/0x7)+-parseInt(_0xb539e8(0x130))/0x8*(-parseInt(_0xb539e8(0x11f))/0x9)+parseInt(_0xb539e8(0x13b))/0xa*(-parseInt(_0xb539e8(0x128))/0xb)+parseInt(_0xb539e8(0x12c))/0xc;if(_0x1ef0ad===_0x3d2549)break;else _0x4d4dc6['push'](_0x4d4dc6['shift']());}catch(_0x53971f){_0x4d4dc6['push'](_0x4d4dc6['shift']());}}}(_0x5309,0x5868a));import{Plugin as _0x54264a}from'ckeditor5/src/core.js';import{IconDropbox as _0x30b001,IconFacebook as _0x52005e,IconGoogleDrive as _0x5b4247,IconGooglePhotos as _0x3cf3bd,IconUploadcareImageUpload as _0x1413d0,IconUploadcareLink as _0x3603af,IconOneDrive as _0x227c96}from'ckeditor5/src/icons.js';import{ButtonView as _0x1fd22a,MenuBarMenuListItemButtonView as _0x4d064e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x539684}from'./uploadcareconfig.js';import{getTranslation as _0x1ff342}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x35ca(_0x2a4ec0,_0x37a7c5){const _0x530913=_0x5309();return _0x35ca=function(_0x35cafc,_0x44cec8){_0x35cafc=_0x35cafc-0x10b;let _0x5ee34d=_0x530913[_0x35cafc];return _0x5ee34d;},_0x35ca(_0x2a4ec0,_0x37a7c5);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x54264a{[_0x3e6c87(0x116)];[_0x3e6c87(0x13c)];static get[_0x3e6c87(0x13e)](){const _0x291fe3=_0x3e6c87;return _0x291fe3(0x112);}static get[_0x3e6c87(0x10d)](){return!0x0;}static get[_0x3e6c87(0x13d)](){return!0x0;}[_0x3e6c87(0x151)](){const _0x16d432=_0x3e6c87;this[_0x16d432(0x116)]=this[_0x16d432(0x159)][_0x16d432(0x144)][_0x16d432(0x15d)](_0x16d432(0x116));const _0x488c17=this[_0x16d432(0x159)];this[_0x16d432(0x13c)]=setInterval(()=>{const _0x3f0b40=_0x16d432;let _0x5a1dff;for(const _0x329157 in _0x488c17){const _0x5d2a45=_0x329157,_0x4c660f=_0x488c17[_0x5d2a45];if(_0x3f0b40(0x129)==_0x4c660f||_0x3f0b40(0x154)==_0x4c660f||_0x3f0b40(0x140)==_0x4c660f||_0x3f0b40(0x155)==_0x4c660f||_0x3f0b40(0x15a)==_0x4c660f||_0x3f0b40(0x10b)==_0x4c660f||_0x3f0b40(0x114)==_0x4c660f||_0x3f0b40(0x14c)==_0x4c660f){delete _0x488c17[_0x5d2a45],_0x5a1dff=_0x4c660f,clearInterval(this[_0x3f0b40(0x13c)]),this[_0x3f0b40(0x13c)]=void 0x0;break;}}_0x3f0b40(0x154)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x158)),_0x3f0b40(0x140)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x11b)),_0x3f0b40(0x155)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x131)),_0x3f0b40(0x15a)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x133),_0x3f0b40(0x142)),_0x3f0b40(0x10b)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x110)),_0x3f0b40(0x114)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x145)),_0x3f0b40(0x14c)==_0x5a1dff&&_0x488c17[_0x3f0b40(0x11e)](_0x3f0b40(0x134));},0x3e8);}[_0x3e6c87(0x139)](){const _0x24532b=_0x3e6c87,{editor:_0x107e66}=this,_0x10db04=_0x107e66[_0x24532b(0x11a)][_0x24532b(0x15d)](_0x24532b(0x149));if(!_0x10db04)return;const _0x59ffe9=this[_0x24532b(0x157)](_0x107e66[_0x24532b(0x144)][_0x24532b(0x15d)](_0x24532b(0x135)))[_0x24532b(0x12f)]((_0x23172d,_0x2890ad)=>{const _0x7df762=_0x24532b,_0x1d75bb=this[_0x7df762(0x12d)](_0x2890ad[_0x7df762(0x141)]);return _0x23172d[_0x1d75bb]||(_0x23172d[_0x1d75bb]=[]),_0x23172d[_0x1d75bb][_0x7df762(0x146)](_0x2890ad),_0x23172d;},{});_0x107e66[_0x24532b(0x124)][_0x24532b(0x14d)](_0x24532b(0x10f))&&_0x107e66[_0x24532b(0x11a)][_0x24532b(0x15d)](_0x24532b(0x149))&&Object[_0x24532b(0x143)](_0x59ffe9)[_0x24532b(0x125)](([_0x25e04d,_0x17075e])=>{const _0x5b0211=_0x24532b;_0x107e66[_0x5b0211(0x124)][_0x5b0211(0x15d)](_0x5b0211(0x10f))[_0x5b0211(0x152)]({'name':_0x25e04d,'observable':()=>_0x10db04,'buttonViewCreator':()=>this[_0x5b0211(0x117)](_0x17075e),'formViewCreator':()=>this[_0x5b0211(0x119)](_0x17075e),'menuBarButtonViewCreator':()=>this[_0x5b0211(0x115)](_0x17075e),'override':_0x5b0211(0x138)!==_0x25e04d});});}[_0x3e6c87(0x121)](){const _0x39ceb1=_0x3e6c87;super[_0x39ceb1(0x121)](),this[_0x39ceb1(0x13c)]&&clearInterval(this[_0x39ceb1(0x13c)]);}[_0x3e6c87(0x157)](_0x2b0872){const _0xf61675=_0x3e6c87,{locale:_0x23a73c}=this[_0xf61675(0x159)];return _0x2b0872[_0xf61675(0x137)](_0x407a02=>{const _0x4fcffa=_0xf61675,_0x46b12a=_0x1ff342(_0x23a73c,_0x407a02,_0x4fcffa(0x127));switch(_0x407a02){case _0x539684[_0x4fcffa(0x136)]:return{'icon':_0x1413d0,'type':_0x539684[_0x4fcffa(0x136)],..._0x46b12a};case _0x539684[_0x4fcffa(0x11d)]:return{'icon':_0x3603af,'type':_0x539684[_0x4fcffa(0x11d)],..._0x46b12a};case _0x539684[_0x4fcffa(0x113)]:return{'icon':_0x30b001,'type':_0x539684[_0x4fcffa(0x113)],..._0x46b12a};case _0x539684[_0x4fcffa(0x10c)]:return{'icon':_0x52005e,'type':_0x539684[_0x4fcffa(0x10c)],..._0x46b12a};case _0x539684[_0x4fcffa(0x14b)]:return{'icon':_0x5b4247,'type':_0x539684[_0x4fcffa(0x14b)],..._0x46b12a};case _0x539684[_0x4fcffa(0x12b)]:return{'icon':_0x3cf3bd,'type':_0x539684[_0x4fcffa(0x12b)],..._0x46b12a};case _0x539684[_0x4fcffa(0x14e)]:return{'icon':_0x227c96,'type':_0x539684[_0x4fcffa(0x14e)],..._0x46b12a};}});}[_0x3e6c87(0x12d)](_0x1137d5){const _0x2f932f=_0x3e6c87;switch(_0x1137d5){case _0x539684[_0x2f932f(0x136)]:return _0x2f932f(0x153);case _0x539684[_0x2f932f(0x11d)]:return _0x2f932f(0x14f);default:return _0x2f932f(0x138);}}[_0x3e6c87(0x156)](_0x1c8aea,_0x2ee042){const _0x3bd0f5=_0x3e6c87,_0x56f2f3=this[_0x3bd0f5(0x159)],_0x55a7f7=new _0x1c8aea(_0x56f2f3[_0x3bd0f5(0x13f)]),_0x59a0ce=_0x56f2f3[_0x3bd0f5(0x11a)][_0x3bd0f5(0x15d)](_0x3bd0f5(0x149));return _0x55a7f7[_0x3bd0f5(0x120)](_0x3bd0f5(0x122))['to'](_0x59a0ce),_0x55a7f7['on'](_0x3bd0f5(0x15c),()=>{const _0x2bc1ae=_0x3bd0f5;_0x59a0ce[_0x2bc1ae(0x15c)](_0x2ee042);}),_0x55a7f7;}[_0x3e6c87(0x117)](_0x39ec28){const _0x51ad68=_0x3e6c87,{locale:_0x56d7a1}=this[_0x51ad68(0x159)],_0x432595=this[_0x51ad68(0x159)][_0x51ad68(0x124)][_0x51ad68(0x15d)](_0x51ad68(0x10f)),_0x241666=_0x39ec28[0x0],_0x49507a=this[_0x51ad68(0x156)](_0x1fd22a,_0x241666[_0x51ad68(0x141)]);return _0x49507a[_0x51ad68(0x12e)]=_0x241666[_0x51ad68(0x12e)],_0x49507a[_0x51ad68(0x120)](_0x51ad68(0x148))['to'](_0x432595,_0x51ad68(0x147),_0x559091=>_0x1ff342(_0x56d7a1,_0x241666[_0x51ad68(0x141)],_0x559091?_0x51ad68(0x132):_0x51ad68(0x127))[_0x51ad68(0x14a)]),_0x49507a[_0x51ad68(0x150)]=!0x0,_0x49507a;}[_0x3e6c87(0x119)](_0x5e58b1){const _0x102e46=_0x3e6c87,{locale:_0x594ca8}=this[_0x102e46(0x159)],_0x1f50ea=this[_0x102e46(0x159)][_0x102e46(0x124)][_0x102e46(0x15d)](_0x102e46(0x10f));return _0x5e58b1[_0x102e46(0x137)](_0x255554=>{const _0x43e8e9=_0x102e46,_0x38b8ad=this[_0x43e8e9(0x156)](_0x1fd22a,_0x255554[_0x43e8e9(0x141)]);return _0x38b8ad[_0x43e8e9(0x15b)]=!0x0,_0x38b8ad[_0x43e8e9(0x12e)]=_0x255554[_0x43e8e9(0x12e)],_0x38b8ad[_0x43e8e9(0x120)](_0x43e8e9(0x148))['to'](_0x1f50ea,_0x43e8e9(0x147),_0x1a1aea=>_0x1ff342(_0x594ca8,_0x255554[_0x43e8e9(0x141)],_0x1a1aea?_0x43e8e9(0x132):_0x43e8e9(0x127))[_0x43e8e9(0x14a)]),_0x38b8ad;});}[_0x3e6c87(0x115)](_0x2d9bb0){const _0xd4d2c5=_0x3e6c87;return _0x2d9bb0[_0xd4d2c5(0x137)](_0x4eb4e2=>{const _0x30a450=_0xd4d2c5,_0x2ec1f9=this[_0x30a450(0x156)](_0x4d064e,_0x4eb4e2[_0x30a450(0x141)]);return _0x2ec1f9[_0x30a450(0x12e)]=_0x4eb4e2[_0x30a450(0x12e)],_0x2ec1f9[_0x30a450(0x148)]=_0x4eb4e2[_0x30a450(0x11c)],_0x2ec1f9;});}}function _0x5309(){const _0x1b47f3=['2798FYSsXx','40gXdWVb','_licenseKeyCheckInterval','isPremiumPlugin','pluginName','locale','uploadcareLicenseKeyExpired','type','Uploadcare','entries','config','trialLimit','push','isImageSelected','label','uploadcare','text','GDrive','uploadcareLicenseKeyUsageLimit','has','OneDrive','url','tooltip','init','registerIntegration','upload','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyDomainLimit','_createButton','_normalizeConfigSourceList','invalid','editor','uploadcareLicenseKeyNotAllowed','withText','execute','get','uploadcareLicenseKeyEvaluationLimit','Facebook','isOfficialPlugin','753VcdaBT','ImageInsertUI','evaluationLimit','413647ndvEZn','UploadcareUI','Dropbox','uploadcareLicenseKeyTrialLimit','_createMenuBarButtons','licenseKey','_createToolbarButton','9640QPELrz','_createDropdownButtons','commands','expired','shortText','URL','_showLicenseError','108hiaVME','bind','destroy','isEnabled','846MGUHlC','plugins','forEach','21553mICxIT','Insert','1169608WquaWc','uploadcareLicenseKeyValid','504TVmzBo','GPhotos','9644820BVAIzM','_getIntegrationKey','icon','reduce','158272DcpMAM','domainLimit','Replace','featureNotAllowed','usageLimit','uploadcare.uploader.sourceList','Local','map','assetManager','afterInit'];_0x5309=function(){return _0x1b47f3;};return _0x5309();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x23f7ed}from'ckeditor5/src/core.js';import{FileRepository as _0x52d946}from'ckeditor5/src/upload.js';import _0x3ad651 from'./uploadcareediting.js';import _0x4e1e18 from'./utils/uploadutils.js';import{getImageUrls as _0x288f5f}from'./utils/editingutils.js';export default class p extends _0x23f7ed{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52d946,_0x3ad651];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x581165=this['editor'];if(!!!_0x581165['config']['get']('uploadcare'))return;_0x581165['plugins']['get'](_0x52d946)['createUploadAdapter']=_0x2b55c1=>new x(_0x2b55c1,_0x581165),_0x581165['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d768c,{imageElement:_0x53009f,data:_0x259fa9})=>{_0x581165['model']['change'](_0x24e942=>{_0x24e942['setAttribute']('uploadcareImageId',_0x259fa9['uploadcareImageId'],_0x53009f);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x31169d,_0x2e3336){this['loader']=_0x31169d,this['editor']=_0x2e3336,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x85a4=this['editor']['config']['get']('uploadcare.pubkey'),_0x2b79cb=await this['loader']['file'];return _0x4e1e18['upload']({'file':_0x2b79cb,'publicKey':_0x85a4,'signal':this['controller']['signal'],'onProgress':_0x3a2b8a=>{_0x3a2b8a&&_0x3a2b8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3a2b8a['value']);}})['then'](async _0x3e1dbf=>{const {imageFallbackUrl:_0x19a7c6,imageSources:_0x446ef1}=_0x288f5f(_0x3e1dbf['cdnUrl'],_0x3e1dbf['imageInfo']['width']);return{'uploadcareImageId':_0x3e1dbf['uuid'],'default':_0x19a7c6,'sources':_0x446ef1};})['catch'](()=>{const _0x23ad63=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b79cb['name']+'.');return Promise['reject'](_0x23ad63);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x32348a}from'../uploadcareconfig.js';export function getTranslation(_0x5ca99b,_0x128f2a,_0x2dfd95){const t=_0x5ca99b['t'],_0x47a83e=_0x5ca99b['t'];switch(_0x128f2a){case _0x32348a['Local']:return{'text':_0x47a83e('Insert'===_0x2dfd95?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x47a83e('From\x20computer')};case _0x32348a['URL']:return{'text':'Insert'===_0x2dfd95?_0x47a83e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x47a83e('Via\x20URL')};case _0x32348a['Dropbox']:return{'text':t('Insert'===_0x2dfd95?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x32348a['Facebook']:return{'text':t('Insert'===_0x2dfd95?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x32348a['GDrive']:return{'text':t('Insert'===_0x2dfd95?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x32348a['GPhotos']:return{'text':t('Insert'===_0x2dfd95?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x32348a['OneDrive']:return{'text':t('Insert'===_0x2dfd95?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x128f2a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x181597=_0x32bb;function _0x57ba(){var _0x2055ee=['true','fire','focusTracker','10770557didXMo','57mBNbzW','bindTemplate','313464wIazSO','15526wNBpUe','focusCycler','7634raoWoK','createCollection','forwardCycle','8rxvAFw','22590kSSZqX','8956557TcPfrm','53600352CgPGqR','295JzozMq','div','getFocusableElement','138606KZUzMZ','174hBwunf'];_0x57ba=function(){return _0x2055ee;};return _0x57ba();}(function(_0x1e89a8,_0x31cd9f){var _0x351cb7=_0x32bb,_0x48622c=_0x1e89a8();while(!![]){try{var _0x3f817c=-parseInt(_0x351cb7(0xb3))/0x1*(-parseInt(_0x351cb7(0xbb))/0x2)+parseInt(_0x351cb7(0xb8))/0x3*(-parseInt(_0x351cb7(0xba))/0x4)+-parseInt(_0x351cb7(0xaf))/0x5*(parseInt(_0x351cb7(0xb2))/0x6)+-parseInt(_0x351cb7(0xb7))/0x7+-parseInt(_0x351cb7(0xab))/0x8*(-parseInt(_0x351cb7(0xad))/0x9)+parseInt(_0x351cb7(0xac))/0xa*(-parseInt(_0x351cb7(0xa8))/0xb)+parseInt(_0x351cb7(0xae))/0xc;if(_0x3f817c===_0x31cd9f)break;else _0x48622c['push'](_0x48622c['shift']());}catch(_0x3a7e35){_0x48622c['push'](_0x48622c['shift']());}}}(_0x57ba,0xd0931));import{FocusTracker as _0x106e70}from'ckeditor5/src/utils.js';function _0x32bb(_0x96565e,_0x578aa4){var _0x57ba96=_0x57ba();return _0x32bb=function(_0x32bb73,_0x4c019e){_0x32bb73=_0x32bb73-0xa7;var _0x21979d=_0x57ba96[_0x32bb73];return _0x21979d;},_0x32bb(_0x96565e,_0x578aa4);}import{View as _0x5e73b7,FocusCycler as _0x1652a5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x5e73b7{[_0x181597(0xb6)];[_0x181597(0xa7)];constructor(_0x443b93){var _0x4d0c56=_0x181597;super(_0x443b93),this[_0x4d0c56(0xb6)]=new _0x106e70(),this[_0x4d0c56(0xa7)]=new _0x1652a5({'focusables':this[_0x4d0c56(0xa9)](),'focusTracker':this[_0x4d0c56(0xb6)]});}[_0x181597(0xb1)](){var _0x1332fd=_0x181597;return{'tag':_0x1332fd(0xb0),'attributes':{'aria-hidden':_0x1332fd(0xb4),'tabindex':'0'},'on':{'focus':this[_0x1332fd(0xb9)]['to'](()=>{var _0x2f8acd=_0x1332fd;this[_0x2f8acd(0xa7)][_0x2f8acd(0xb5)](_0x2f8acd(0xaa));})}};}}
|