@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250505.0 → 0.0.0-nightly-20250506.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/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 _0x5374(){const _0x32104f=['pluginName','_initImageProcessingIndicator','join','uploadcare','remove','getSelectedElement','5676220YtOMkg','upcast','map','requires','add','isPremiumPlugin','uploader','imageBlock','6145444CnVVPw','fromCharCode','_initConversion','isRegistered','closeMax','locale','afterInit','6crNdfj','_initSchema','cleanupImage','4823448wxvuTH','once','href','selection','928VNnzrE','downcast','replaceImageSource','document','_initCtx','_ctxElement','for','elementToAttribute','model','uploadcareImageId','uploadcareImageReplace','insertImage','imageInline','render','50834AzQkBd','contentLanguage','attributeToAttribute','conversion','_initConfig','body','querySelector','view','uploadcare.uploader','ctxElement','input[uploadcare-file-input]','extend','_configElement','removeAttribute','#uc-icon-arrow-down','commands','execute','listenTo','configElement','PictureEditing','UploadcareEditing','data-uc-image-id','\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','isOfficialPlugin','407714XVFZMt','config','uploadcare.pubkey','getAttribute','uc-config','schema','uc-upload-ctx-provider','iconHrefResolver','editing','465328XaGuxs','appendChild','true','destroy','init','editor','get','4397859dAMuDh'];_0x5374=function(){return _0x32104f;};return _0x5374();}const _0x4306e9=_0x3342;(function(_0x42bd0c,_0x157305){const _0x4b1b98=_0x3342,_0x3680ff=_0x42bd0c();while(!![]){try{const _0x1082b9=parseInt(_0x4b1b98(0xdc))/0x1+parseInt(_0x4b1b98(0x126))/0x2*(-parseInt(_0x4b1b98(0xf9))/0x3)+parseInt(_0x4b1b98(0xf2))/0x4+-parseInt(_0x4b1b98(0xea))/0x5+parseInt(_0x4b1b98(0xfc))/0x6+parseInt(_0x4b1b98(0x10e))/0x7*(-parseInt(_0x4b1b98(0x100))/0x8)+parseInt(_0x4b1b98(0xe3))/0x9;if(_0x1082b9===_0x157305)break;else _0x3680ff['push'](_0x3680ff['shift']());}catch(_0x15a72c){_0x3680ff['push'](_0x3680ff['shift']());}}}(_0x5374,0xdde62));import{Plugin as _0x525b70}from'ckeditor5/src/core.js';function _0x3342(_0x324b42,_0x238fd4){const _0x5374b4=_0x5374();return _0x3342=function(_0x3342a9,_0x4a6d2d){_0x3342a9=_0x3342a9-0xda;let _0x467ad8=_0x5374b4[_0x3342a9];return _0x467ad8;},_0x3342(_0x324b42,_0x238fd4);}import{Dialog as _0x187084}from'ckeditor5/src/ui.js';import{createElement as _0x4fd228,global as _0x4a1166,uid as _0x24ec02}from'ckeditor5/src/utils.js';import _0x76097c from'./uploadcarecommand.js';import _0x1cf840 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x43222c}from'./utils/editingutils.js';export default class i extends _0x525b70{[_0x4306e9(0x11a)]=null;[_0x4306e9(0x105)]=null;static get[_0x4306e9(0xe4)](){const _0x124202=_0x4306e9;return _0x124202(0x122);}static get[_0x4306e9(0xed)](){const _0xd04bb3=_0x4306e9;return[_0xd04bb3(0x121),_0x1cf840,_0x187084];}static get[_0x4306e9(0x125)](){return!0x0;}static get[_0x4306e9(0xef)](){return!0x0;}get[_0x4306e9(0x120)](){const _0x51b696=_0x4306e9;return this[_0x51b696(0x11a)];}get[_0x4306e9(0x117)](){const _0x364156=_0x4306e9;return this[_0x364156(0x105)];}[_0x4306e9(0xe0)](){const _0x559d8a=_0x4306e9,_0x5c8e84=this[_0x559d8a(0xe1)];_0x5c8e84[_0x559d8a(0x11d)][_0x559d8a(0xee)](_0x559d8a(0xe7),new _0x76097c(_0x5c8e84));}[_0x4306e9(0xf8)](){const _0xca500e=_0x4306e9;this[_0xca500e(0xfa)](),this[_0xca500e(0xf4)](),this[_0xca500e(0x112)](),this[_0xca500e(0x104)](),this[_0xca500e(0xe5)](),this[_0xca500e(0x11f)](this[_0xca500e(0xe1)],_0xca500e(0xdf),()=>{const _0x4d2239=_0xca500e;this[_0x4d2239(0x11a)]&&(this[_0x4d2239(0x11a)][_0x4d2239(0xe8)](),this[_0x4d2239(0x11a)]=null),this[_0x4d2239(0x105)]&&(this[_0x4d2239(0x105)][_0x4d2239(0xe8)](),this[_0x4d2239(0x105)]=null);const _0x37b881=_0x4a1166[_0x4d2239(0x103)][_0x4d2239(0x114)](_0x4d2239(0x118));_0x37b881&&_0x37b881[_0x4d2239(0xe8)]();}),async function(_0xd5ee6f){const _0x36cd5e=_0xee49db([0x72,0x41,0x46,0x50,0x65,0x32,0x6e,0x61,0x54,0x43,0x69,0x70,0x44,0x6b,0x64,0x5a,0x52,0x38,0x42,0x7a,0x79,0x39,0x30,0x31,0x77,0x6a,0x6c,0x78,0x4c,0x4b,0x47,0x51,0x71,0x55,0x36,0x74,0x4a,0x58,0x59,0x53,0x33,0x56,0x34,0x37,0x4f,0x76,0x66,0x6f,0x75,0x4e,0x62,0x48,0x63,0x35,0x68,0x73,0x67,0x4d,0x45,0x6d,0x57,0x49]),_0x1a323f=0x7e4e0e51,_0x13c68b=0x7e4968a9^_0x1a323f,_0xdd2a23=window[_0xee49db([0x44,0x61,0x74,0x65])][_0xee49db([0x6e,0x6f,0x77])](),_0x42882d=_0xd5ee6f[_0xee49db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9ccc=new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4c51=>{_0x42882d[_0xee49db([0x6f,0x6e,0x63,0x65])](_0xee49db([0x72,0x65,0x61,0x64,0x79]),_0x5e4c51);}),_0x380616={[_0xee49db([0x6b,0x74,0x79])]:_0xee49db([0x45,0x43]),[_0xee49db([0x75,0x73,0x65])]:_0xee49db([0x73,0x69,0x67]),[_0xee49db([0x63,0x72,0x76])]:_0xee49db([0x50,0x2d,0x32,0x35,0x36]),[_0xee49db([0x78])]:_0xee49db([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]),[_0xee49db([0x79])]:_0xee49db([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]),[_0xee49db([0x61,0x6c,0x67])]:_0xee49db([0x45,0x53,0x32,0x35,0x36])},_0x389fd1=_0x42882d[_0xee49db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xee49db([0x67,0x65,0x74])](_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x299904(){let _0x350292,_0x1eb64a=null,_0x564b59=null;try{if(_0x389fd1==_0xee49db([0x47,0x50,0x4c]))return _0xee49db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x350292=_0x57850d(),!_0x350292)return _0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x350292[_0xee49db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x564b59=_0x36ee61(_0x350292[_0xee49db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x350292[_0xee49db([0x6a,0x74,0x69])])),await _0x1d93e8()?_0x29ce2b()?_0x3ce46a()?_0xee49db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dbf41()?(_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee49db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eb64a=_0x2092c7(_0xee49db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xee49db([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eb64a=_0x2092c7(_0xee49db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x235f14()):_0xee49db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xee49db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xd748cc){return _0xee49db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ce46a(){const _0x4bdb5a=[_0xee49db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xee49db([0x74,0x72,0x69,0x61,0x6c])][_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdd2a23/0x3e8:0xe10*_0x13c68b;return _0x350292[_0xee49db([0x65,0x78,0x70])]<_0x4bdb5a;}function _0x29ce2b(){const _0x465901=_0x350292[_0xee49db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x465901&&(!!_0x465901[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x2a]))||!!_0x465901[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x55,0x50,0x4c,0x43])));}function _0x4dbf41(){const _0x4fcf01=_0x3342,_0x3e7a2d=_0x350292[_0xee49db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e7a2d||0x0==_0x3e7a2d[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x291c65}=new URL(window[_0xee49db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fcf01(0xfe)]);if(_0x3e7a2d[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x291c65))return!0x0;const _0x443648=_0x291c65[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e]));return _0x3e7a2d[_0xee49db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34dcfb=>_0x34dcfb[_0xee49db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xee49db([0x2a])))[_0xee49db([0x6d,0x61,0x70])](_0x4c3a48=>_0x4c3a48[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e])))[_0xee49db([0x73,0x6f,0x6d,0x65])](_0x227ecd=>_0x443648[_0xee49db([0x65,0x76,0x65,0x72,0x79])]((_0x1d5dae,_0x3b5f4b)=>_0x227ecd[_0x3b5f4b]===_0x1d5dae||_0x227ecd[_0x3b5f4b]===_0xee49db([0x2a])));}function _0x235f14(){return _0x1eb64a&&_0x564b59?new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10141e,_0x1eb3f5)=>{_0x1eb64a[_0xee49db([0x74,0x68,0x65,0x6e])](_0x10141e,_0x1eb3f5),_0x564b59[_0xee49db([0x74,0x68,0x65,0x6e])](_0x4ec779=>{_0x4ec779!=_0xee49db([0x56,0x61,0x6c,0x69,0x64])&&_0x10141e(_0x4ec779);},_0x1eb3f5);}):_0x1eb64a||_0x564b59||_0xee49db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36ee61(_0xb369b6,_0x195135){return new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf4a1cb=>{if(_0x333c5f())return _0xf4a1cb(_0xee49db([0x56,0x61,0x6c,0x69,0x64]));_0x322b34(),_0x42882d[_0xee49db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x573b15=!0x1;const _0x3d01da=_0x24ec02();function _0x4e1cc7(_0xed450d){return!!_0xed450d&&(typeof _0xed450d===_0xee49db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xed450d===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xed450d[_0xee49db([0x74,0x68,0x65,0x6e])]===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xed450d[_0xee49db([0x63,0x61,0x74,0x63,0x68])]===_0xee49db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x234fa0(_0x2fee9e){_0x260552(_0x2fee9e)[_0xee49db([0x74,0x68,0x65,0x6e])](_0x51cb7e=>{if(!_0x51cb7e||_0x51cb7e[_0xee49db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xee49db([0x6f,0x6b]))return _0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57cf09(_0x4da4e0(_0x3d01da+_0x195135))!=_0x51cb7e[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xee49db([0x56,0x61,0x6c,0x69,0x64]);})[_0xee49db([0x74,0x68,0x65,0x6e])](_0x4e9a5b=>(_0x52ed05(),_0x4e9a5b),()=>{const _0x88eac9=_0x307d58();return null==_0x88eac9?(_0x52ed05(),_0xee49db([0x56,0x61,0x6c,0x69,0x64])):_0xee49db(_0xdd2a23-_0x88eac9>(0x5a428a51^_0x1a323f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xee49db([0x74,0x68,0x65,0x6e])](_0xf4a1cb)[_0xee49db([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b9dec=0x7e78e0d1^_0x1a323f;function _0x52ed05(){const _0x1544f8=_0xee49db([0x6c,0x6c,0x63,0x74,0x2d])+_0x57cf09(_0x4da4e0(_0xb369b6)),_0x45e053=_0x2463d1(_0x57cf09(window[_0xee49db([0x4d,0x61,0x74,0x68])][_0xee49db([0x63,0x65,0x69,0x6c])](_0xdd2a23/_0x1b9dec)));window[_0xee49db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee49db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1544f8,_0x45e053);}function _0x307d58(){const _0x564893=_0xee49db([0x6c,0x6c,0x63,0x74,0x2d])+_0x57cf09(_0x4da4e0(_0xb369b6)),_0x97424a=window[_0xee49db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xee49db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x564893);return _0x97424a?window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2463d1(_0x97424a),0x10)*_0x1b9dec:null;}function _0x260552(_0x3fcf31){return new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469e28,_0x12f266)=>{_0x3fcf31[_0xee49db([0x74,0x68,0x65,0x6e])](_0x469e28,_0x12f266),window[_0xee49db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12f266,0x7e4fda91^_0x1a323f);});}}_0x42882d[_0xee49db([0x6f,0x6e])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40434a,_0x59abd7)=>{if(_0x59abd7[0x0]!=_0xb369b6)return _0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59abd7[0x1]={..._0x59abd7[0x1],[_0xee49db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d01da};},{[_0xee49db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee49db([0x68,0x69,0x67,0x68])}),_0x42882d[_0xee49db([0x6f,0x6e])](_0xee49db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f64b1=>{_0x4e1cc7(_0x4f64b1[_0xee49db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x573b15=!0x0,_0x234fa0(_0x4f64b1[_0xee49db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xee49db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xee49db([0x6c,0x6f,0x77])}),_0x2e9ccc[_0xee49db([0x74,0x68,0x65,0x6e])](()=>{_0x573b15||_0xf4a1cb(_0xee49db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x333c5f(){return _0x42882d[_0xee49db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee49db([0x76,0x69,0x65,0x77])][_0xee49db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xee49db([0x61,0x75,0x74,0x6f]);}function _0x322b34(){_0x42882d[_0xee49db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xee49db([0x76,0x69,0x65,0x77])][_0xee49db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xee49db([0x61,0x75,0x74,0x6f]);}}function _0x2092c7(_0x54f621){const _0x516291=[new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1abced=>setTimeout(_0x1abced,0x7e47309d^_0x1a323f)),_0x2e9ccc[_0xee49db([0x74,0x68,0x65,0x6e])](()=>new window[(_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4715e0=>{let _0x482ba9=0x0;_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x6f,0x6e])](_0xee49db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8be0,_0x5e7fba)=>{_0x5e7fba[0x0][_0xee49db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x482ba9++,_0x482ba9==(0x7e4e0fa9^_0x1a323f)&&(_0x4715e0(),_0x2e8be0[_0xee49db([0x6f,0x66,0x66])]());});}))];return window[_0xee49db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xee49db([0x72,0x61,0x63,0x65])](_0x516291)[_0xee49db([0x74,0x68,0x65,0x6e])](()=>_0x54f621);}async function _0x227211(){await _0x2e9ccc,_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd1a94b,_0x42882d[_0xee49db([0x6d,0x6f,0x64,0x65,0x6c])][_0xee49db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd1a94b,_0x42882d[_0xee49db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xee49db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20cbdd(_0x3dddad){const _0xf9d78a=_0x2053ba();_0x42882d[_0xf9d78a]=_0xee49db([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3dddad,_0x3dddad!=_0xee49db([0x56,0x61,0x6c,0x69,0x64])&&_0x227211();}function _0x2053ba(){const _0x376fc3=window[_0xee49db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xee49db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xee49db([0x6e,0x6f,0x77])]())[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xee49db([0x2e]),'');let _0xb02098=_0xee49db([0x72]);for(let _0x33d00a=0x0;_0x33d00a<_0x376fc3[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d00a+=0x2){let _0x153bcf=window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x376fc3[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33d00a,_0x33d00a+0x2));_0x153bcf>=_0x36cd5e[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x153bcf-=_0x36cd5e[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb02098+=_0x36cd5e[_0x153bcf];}return _0xb02098;}function _0x57850d(){const _0x291d22=_0x389fd1[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e]));if(0x3!=_0x291d22[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x85d992(_0x291d22[0x1]);function _0x85d992(_0x3e33b4){const _0x20990f=_0x4b4567(_0x3e33b4);return _0x20990f&&_0x140d17()?_0x20990f:null;function _0x140d17(){const _0x2f1b6f=_0x20990f[_0xee49db([0x6a,0x74,0x69])],_0x1ab1f=window[_0xee49db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f1b6f[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f1b6f[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3bb575={..._0x20990f,[_0xee49db([0x6a,0x74,0x69])]:_0x2f1b6f[_0xee49db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f1b6f[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3bb575[_0xee49db([0x76,0x63])],_0x4da4e0(_0x3bb575)==_0x1ab1f;}}}async function _0x1d93e8(){let _0x36e3f2=!0x0;try{const _0x5ed39d=_0x389fd1[_0xee49db([0x73,0x70,0x6c,0x69,0x74])](_0xee49db([0x2e])),[_0x5e0c93,_0x55e2e7,_0x546212]=_0x5ed39d;return _0x1bef25(_0x5e0c93),await _0x4524c0(_0x5e0c93,_0x55e2e7,_0x546212),_0x36e3f2;}catch(_0x366143){return!0x1;}function _0x1bef25(_0xc50bb2){const _0x487a30=_0x4b4567(_0xc50bb2);_0x487a30&&_0x487a30[_0xee49db([0x61,0x6c,0x67])]==_0xee49db([0x45,0x53,0x32,0x35,0x36])||(_0x36e3f2=!0x1);}async function _0x4524c0(_0x4a5579,_0x2a5874,_0x10e09a){const _0x40fee1=window[_0xee49db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xee49db([0x66,0x72,0x6f,0x6d])](_0x54e074(_0x10e09a),_0x59c2a6=>_0x59c2a6[_0xee49db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x245d0b=new window[(_0xee49db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xee49db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a5579+_0xee49db([0x2e])+_0x2a5874),_0x59665c=window[_0xee49db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xee49db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59665c)return;const _0x5223cf=await _0x59665c[_0xee49db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xee49db([0x6a,0x77,0x6b]),_0x380616,{[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x45,0x43,0x44,0x53,0x41]),[_0xee49db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xee49db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59665c[_0xee49db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x45,0x43,0x44,0x53,0x41]),[_0xee49db([0x68,0x61,0x73,0x68])]:{[_0xee49db([0x6e,0x61,0x6d,0x65])]:_0xee49db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5223cf,_0x40fee1,_0x245d0b)||(_0x36e3f2=!0x1);}}function _0x4b4567(_0x16642e){return _0x16642e[_0xee49db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xee49db([0x65,0x79]))?JSON[_0xee49db([0x70,0x61,0x72,0x73,0x65])](_0x54e074(_0x16642e)):null;}function _0x54e074(_0x2b9175){return window[_0xee49db([0x61,0x74,0x6f,0x62])](_0x2b9175[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xee49db([0x2b]))[_0xee49db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xee49db([0x2f])));}function _0x4da4e0(_0x55ca35){let _0x54952b=0x1505;function _0x1a949b(_0x5f42c7){for(let _0x5a3b7b=0x0;_0x5a3b7b<_0x5f42c7[_0xee49db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3b7b++){const _0x4e1ee2=_0x5f42c7[_0xee49db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a3b7b);_0x54952b=(_0x54952b<<0x5)+_0x54952b+_0x4e1ee2,_0x54952b&=_0x54952b;}}function _0x37389e(_0x14803a){Array[_0xee49db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14803a)?_0x14803a[_0xee49db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37389e):_0x14803a&&typeof _0x14803a==_0xee49db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xee49db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14803a)[_0xee49db([0x73,0x6f,0x72,0x74])]()[_0xee49db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d66b0,_0x20372b])=>{_0x1a949b(_0x3d66b0),_0x37389e(_0x20372b);}):_0x1a949b(window[_0xee49db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14803a));}return _0x37389e(_0x55ca35),_0x54952b>>>0x0;}function _0x57cf09(_0x18cfe9){return _0x18cfe9[_0xee49db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xee49db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xee49db([0x30]));}function _0x2463d1(_0x510bc6){return _0x510bc6[_0xee49db([0x73,0x70,0x6c,0x69,0x74])]('')[_0xee49db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xee49db([0x6a,0x6f,0x69,0x6e])]('');}function _0xd1a94b(){}function _0xee49db(_0xe5743){const _0x4f3c06=_0x3342;return _0xe5743[_0x4f3c06(0xec)](_0xdbf15a=>String[_0x4f3c06(0xf3)](_0xdbf15a))[_0x4f3c06(0xe6)]('');}_0x20cbdd(await _0x299904());}(this);}[_0x4306e9(0xfa)](){const _0x2e0b80=_0x4306e9,_0x559a89=this[_0x2e0b80(0xe1)][_0x2e0b80(0x108)][_0x2e0b80(0x12b)];_0x559a89[_0x2e0b80(0xf5)](_0x2e0b80(0xf1))&&_0x559a89[_0x2e0b80(0x119)](_0x2e0b80(0xf1),{'allowAttributes':[_0x2e0b80(0x109)]}),_0x559a89[_0x2e0b80(0xf5)](_0x2e0b80(0x10c))&&_0x559a89[_0x2e0b80(0x119)](_0x2e0b80(0x10c),{'allowAttributes':[_0x2e0b80(0x109)]});}[_0x4306e9(0xf4)](){const _0x4df295=_0x4306e9,_0x30aac8=this[_0x4df295(0xe1)];_0x30aac8[_0x4df295(0x111)][_0x4df295(0x106)](_0x4df295(0x101))[_0x4df295(0x110)]({'model':_0x4df295(0x109),'view':_0x4df295(0x123)}),_0x30aac8[_0x4df295(0x111)][_0x4df295(0x106)](_0x4df295(0xeb))[_0x4df295(0x107)]({'model':{'key':_0x4df295(0x109),'value':_0x3fe8d2=>_0x3fe8d2[_0x4df295(0x129)](_0x4df295(0x123))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x404b81=_0x30aac8[_0x4df295(0x11d)][_0x4df295(0xe2)](_0x4df295(0x102));_0x404b81&&this[_0x4df295(0x11f)](_0x404b81,_0x4df295(0xfb),(_0x39f5dd,[_0xe91725,_0x243cc2])=>{const _0x43a939=_0x4df295;_0xe91725[_0x43a939(0x11b)](_0x43a939(0x109),_0x243cc2);});}[_0x4306e9(0x112)](){const _0x2812c1=_0x4306e9,_0x221c4f=this[_0x2812c1(0xe1)][_0x2812c1(0x127)][_0x2812c1(0xe2)](_0x2812c1(0x116))||{},_0x5e2cf5=this[_0x2812c1(0xe1)][_0x2812c1(0x127)][_0x2812c1(0xe2)](_0x2812c1(0x128))||'';this[_0x2812c1(0x11a)]=_0x4fd228(_0x4a1166[_0x2812c1(0x103)],_0x2812c1(0x12a),{..._0x221c4f,'pubkey':_0x5e2cf5,'ctx-name':_0x2812c1(0xf0),'sourceList':'','imgOnly':_0x2812c1(0xde),'removeCopyright':_0x2812c1(0xde),'localeName':this[_0x2812c1(0xe1)][_0x2812c1(0xf7)][_0x2812c1(0x10f)],'externalSourcesEmbedCss':_0x2812c1(0x124)}),this[_0x2812c1(0x11a)][_0x2812c1(0xda)]=_0x10e0e8=>{const _0x35706d=_0x2812c1;if(_0x35706d(0xf6)==_0x10e0e8)return _0x35706d(0x11c);},_0x4a1166[_0x2812c1(0x103)][_0x2812c1(0x113)][_0x2812c1(0xdd)](this[_0x2812c1(0x11a)]);}[_0x4306e9(0x104)](){const _0x39441d=_0x4306e9;this[_0x39441d(0x105)]=_0x4fd228(_0x4a1166[_0x39441d(0x103)],_0x39441d(0x12c),{'ctx-name':_0x39441d(0xf0)}),_0x4a1166[_0x39441d(0x103)][_0x39441d(0x113)][_0x39441d(0xdd)](this[_0x39441d(0x105)]);}[_0x4306e9(0xe5)](){const _0xea3e91=_0x4306e9,_0x4c0674=this[_0xea3e91(0xe1)][_0xea3e91(0x11d)][_0xea3e91(0xe2)](_0xea3e91(0x10b));_0x4c0674&&this[_0xea3e91(0x11f)](_0x4c0674,_0xea3e91(0x11e),()=>{const _0x194bfd=_0xea3e91,_0x181792=this[_0x194bfd(0xe1)][_0x194bfd(0x108)][_0x194bfd(0x103)][_0x194bfd(0xff)][_0x194bfd(0xe9)]();_0x181792&&_0x181792[_0x194bfd(0x129)](_0x194bfd(0x109))&&this[_0x194bfd(0xe1)][_0x194bfd(0xdb)][_0x194bfd(0x115)][_0x194bfd(0xfd)](_0x194bfd(0x10d),()=>{const _0x2a6674=_0x194bfd;_0x43222c(this[_0x2a6674(0xe1)],_0x181792);});});const _0x131ec4=this[_0xea3e91(0xe1)][_0xea3e91(0x11d)][_0xea3e91(0xe2)](_0xea3e91(0x10a));_0x131ec4&&this[_0xea3e91(0x11f)](_0x131ec4,_0xea3e91(0x11e),()=>{const _0x2681d4=_0xea3e91,_0x53bd34=this[_0x2681d4(0xe1)][_0x2681d4(0x108)][_0x2681d4(0x103)][_0x2681d4(0xff)][_0x2681d4(0xe9)]();_0x53bd34&&_0x53bd34[_0x2681d4(0x129)](_0x2681d4(0x109))&&this[_0x2681d4(0xe1)][_0x2681d4(0xdb)][_0x2681d4(0x115)][_0x2681d4(0xfd)](_0x2681d4(0x10d),()=>{const _0x5e329a=_0x2681d4;_0x43222c(this[_0x5e329a(0xe1)],_0x53bd34);});});}}
|
|
23
|
+
const _0x2f6c3c=_0x99a3;(function(_0x3ca938,_0x192cd3){const _0x5250ee=_0x99a3,_0x5f22de=_0x3ca938();while(!![]){try{const _0x47f374=parseInt(_0x5250ee(0x166))/0x1*(-parseInt(_0x5250ee(0x162))/0x2)+parseInt(_0x5250ee(0x185))/0x3*(parseInt(_0x5250ee(0x190))/0x4)+-parseInt(_0x5250ee(0x160))/0x5*(-parseInt(_0x5250ee(0x157))/0x6)+-parseInt(_0x5250ee(0x161))/0x7+parseInt(_0x5250ee(0x18a))/0x8*(parseInt(_0x5250ee(0x17e))/0x9)+parseInt(_0x5250ee(0x153))/0xa*(-parseInt(_0x5250ee(0x17c))/0xb)+-parseInt(_0x5250ee(0x196))/0xc;if(_0x47f374===_0x192cd3)break;else _0x5f22de['push'](_0x5f22de['shift']());}catch(_0x4471f5){_0x5f22de['push'](_0x5f22de['shift']());}}}(_0x1cda,0x1b9a1));import{Plugin as _0x15f003}from'ckeditor5/src/core.js';import{Dialog as _0x4c5651}from'ckeditor5/src/ui.js';import{createElement as _0x21ddd9,global as _0x555c39,uid as _0x4144cc}from'ckeditor5/src/utils.js';import _0x1b7c6a from'./uploadcarecommand.js';function _0x99a3(_0x5c08af,_0x5d3470){const _0x1cdaf0=_0x1cda();return _0x99a3=function(_0x99a333,_0x57db48){_0x99a333=_0x99a333-0x152;let _0x5c6896=_0x1cdaf0[_0x99a333];return _0x5c6896;},_0x99a3(_0x5c08af,_0x5d3470);}import _0x3ab228 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x45b405}from'./utils/editingutils.js';function _0x1cda(){const _0x21c07e=['afterInit','schema','commands','_initConfig','listenTo','2517636wutDHk','pluginName','map','requires','data-uc-image-id','editor','uc-config','for','closeMax','uc-upload-ctx-provider','cleanupImage','_configElement','_initImageProcessingIndicator','destroy','config','iconHrefResolver','uploadcareImageReplace','uploadcare.pubkey','querySelector','11170LRiQXs','configElement','selection','elementToAttribute','6GaZcmA','href','replaceImageSource','locale','_initSchema','isRegistered','\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','render','downcast','1075340kGgCZH','353836sGrTJV','4kjixNR','uploadcareImageId','once','model','77109fcYIlS','uploadcare.uploader','document','input[uploadcare-file-input]','uploader','_initCtx','get','getAttribute','#uc-icon-arrow-down','imageBlock','imageInline','getSelectedElement','UploadcareEditing','editing','true','attributeToAttribute','removeAttribute','join','_ctxElement','isPremiumPlugin','uploadcare','execute','473yeShgN','appendChild','9zRTfTp','extend','remove','insertImage','isOfficialPlugin','ctxElement','contentLanguage','6ZvRQav','init','PictureEditing','fromCharCode','upcast','1804312zJCzGy','body','_initConversion','conversion','add','view','270100PIuyqk'];_0x1cda=function(){return _0x21c07e;};return _0x1cda();}export default class i extends _0x15f003{[_0x2f6c3c(0x1a1)]=null;[_0x2f6c3c(0x178)]=null;static get[_0x2f6c3c(0x197)](){const _0x2852d7=_0x2f6c3c;return _0x2852d7(0x172);}static get[_0x2f6c3c(0x199)](){const _0x41995e=_0x2f6c3c;return[_0x41995e(0x187),_0x3ab228,_0x4c5651];}static get[_0x2f6c3c(0x182)](){return!0x0;}static get[_0x2f6c3c(0x179)](){return!0x0;}get[_0x2f6c3c(0x154)](){const _0x417c5a=_0x2f6c3c;return this[_0x417c5a(0x1a1)];}get[_0x2f6c3c(0x183)](){const _0x2d5b68=_0x2f6c3c;return this[_0x2d5b68(0x178)];}[_0x2f6c3c(0x186)](){const _0x438a42=_0x2f6c3c,_0x5b9c44=this[_0x438a42(0x19b)];_0x5b9c44[_0x438a42(0x193)][_0x438a42(0x18e)](_0x438a42(0x17a),new _0x1b7c6a(_0x5b9c44));}[_0x2f6c3c(0x191)](){const _0xe4f17e=_0x2f6c3c;this[_0xe4f17e(0x15b)](),this[_0xe4f17e(0x18c)](),this[_0xe4f17e(0x194)](),this[_0xe4f17e(0x16b)](),this[_0xe4f17e(0x1a2)](),this[_0xe4f17e(0x195)](this[_0xe4f17e(0x19b)],_0xe4f17e(0x1a3),()=>{const _0x256d48=_0xe4f17e;this[_0x256d48(0x1a1)]&&(this[_0x256d48(0x1a1)][_0x256d48(0x180)](),this[_0x256d48(0x1a1)]=null),this[_0x256d48(0x178)]&&(this[_0x256d48(0x178)][_0x256d48(0x180)](),this[_0x256d48(0x178)]=null);const _0x3a470d=_0x555c39[_0x256d48(0x168)][_0x256d48(0x152)](_0x256d48(0x169));_0x3a470d&&_0x3a470d[_0x256d48(0x180)]();}),async function(_0x1addd3){const _0x59f9fe=_0x1e0e5f([0x4f,0x79,0x71,0x46,0x6d,0x30,0x65,0x38,0x6c,0x70,0x64,0x6f,0x75,0x72,0x61,0x55,0x68,0x4a,0x35,0x53,0x36,0x5a,0x69,0x54,0x6a,0x6e,0x59,0x33,0x51,0x44,0x42,0x4d,0x32,0x78,0x49,0x47,0x58,0x77,0x4c,0x57,0x76,0x34,0x56,0x31,0x39,0x66,0x67,0x41,0x45,0x63,0x48,0x50,0x4b,0x74,0x37,0x6b,0x73,0x4e,0x43,0x52,0x7a,0x62]),_0x3de39e=0x600340b6,_0x3880d8=0x600427a6^_0x3de39e,_0x3dbb0f=window[_0x1e0e5f([0x44,0x61,0x74,0x65])][_0x1e0e5f([0x6e,0x6f,0x77])](),_0x1418d8=_0x1addd3[_0x1e0e5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a08da=new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa54b4d=>{_0x1418d8[_0x1e0e5f([0x6f,0x6e,0x63,0x65])](_0x1e0e5f([0x72,0x65,0x61,0x64,0x79]),_0xa54b4d);}),_0x523e8c={[_0x1e0e5f([0x6b,0x74,0x79])]:_0x1e0e5f([0x45,0x43]),[_0x1e0e5f([0x75,0x73,0x65])]:_0x1e0e5f([0x73,0x69,0x67]),[_0x1e0e5f([0x63,0x72,0x76])]:_0x1e0e5f([0x50,0x2d,0x32,0x35,0x36]),[_0x1e0e5f([0x78])]:_0x1e0e5f([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]),[_0x1e0e5f([0x79])]:_0x1e0e5f([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]),[_0x1e0e5f([0x61,0x6c,0x67])]:_0x1e0e5f([0x45,0x53,0x32,0x35,0x36])},_0x12cf89=_0x1418d8[_0x1e0e5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e0e5f([0x67,0x65,0x74])](_0x1e0e5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31811b(){let _0x38aaee,_0x2957a7=null,_0x278539=null;try{if(_0x12cf89==_0x1e0e5f([0x47,0x50,0x4c]))return _0x1e0e5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38aaee=_0x149f2b(),!_0x38aaee)return _0x1e0e5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38aaee[_0x1e0e5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x278539=_0x3aa70f(_0x38aaee[_0x1e0e5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38aaee[_0x1e0e5f([0x6a,0x74,0x69])])),await _0x5ac16f()?_0xddd7f0()?_0x119bb3()?_0x1e0e5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x539b63()?(_0x38aaee[_0x1e0e5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e0e5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2957a7=_0x1b1bae(_0x1e0e5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38aaee[_0x1e0e5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e0e5f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2957a7=_0x1b1bae(_0x1e0e5f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x608d1a()):_0x1e0e5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e0e5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e0e5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5e51ea){return _0x1e0e5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x119bb3(){const _0x2b42b3=[_0x1e0e5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e0e5f([0x74,0x72,0x69,0x61,0x6c])][_0x1e0e5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38aaee[_0x1e0e5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dbb0f/0x3e8:0xe10*_0x3880d8;return _0x38aaee[_0x1e0e5f([0x65,0x78,0x70])]<_0x2b42b3;}function _0xddd7f0(){const _0x5dbc50=_0x38aaee[_0x1e0e5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5dbc50&&(!!_0x5dbc50[_0x1e0e5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e0e5f([0x2a]))||!!_0x5dbc50[_0x1e0e5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e0e5f([0x55,0x50,0x4c,0x43])));}function _0x539b63(){const _0x417619=_0x99a3,_0x3375a6=_0x38aaee[_0x1e0e5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3375a6||0x0==_0x3375a6[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x507a9e}=new URL(window[_0x1e0e5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x417619(0x158)]);if(_0x3375a6[_0x1e0e5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507a9e))return!0x0;const _0x318645=_0x507a9e[_0x1e0e5f([0x73,0x70,0x6c,0x69,0x74])](_0x1e0e5f([0x2e]));return _0x3375a6[_0x1e0e5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35fd8c=>_0x35fd8c[_0x1e0e5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e0e5f([0x2a])))[_0x1e0e5f([0x6d,0x61,0x70])](_0x20a357=>_0x20a357[_0x1e0e5f([0x73,0x70,0x6c,0x69,0x74])](_0x1e0e5f([0x2e])))[_0x1e0e5f([0x73,0x6f,0x6d,0x65])](_0x29dac9=>_0x318645[_0x1e0e5f([0x65,0x76,0x65,0x72,0x79])]((_0x6e9a47,_0x5c61fe)=>_0x29dac9[_0x5c61fe]===_0x6e9a47||_0x29dac9[_0x5c61fe]===_0x1e0e5f([0x2a])));}function _0x608d1a(){return _0x2957a7&&_0x278539?new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a6bda,_0x28eb6e)=>{_0x2957a7[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x5a6bda,_0x28eb6e),_0x278539[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x7bcca7=>{_0x7bcca7!=_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64])&&_0x5a6bda(_0x7bcca7);},_0x28eb6e);}):_0x2957a7||_0x278539||_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3aa70f(_0x5431af,_0x17f718){return new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c980=>{if(_0x17a946())return _0x38c980(_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64]));_0x492f95(),_0x1418d8[_0x1e0e5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e0e5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4beaba=!0x1;const _0x3edb7d=_0x4144cc();function _0x2b9a40(_0x220067){return!!_0x220067&&(typeof _0x220067===_0x1e0e5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x220067===_0x1e0e5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x220067[_0x1e0e5f([0x74,0x68,0x65,0x6e])]===_0x1e0e5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x220067[_0x1e0e5f([0x63,0x61,0x74,0x63,0x68])]===_0x1e0e5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e6994(_0x485f58){_0x418353(_0x485f58)[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x388f52=>{if(!_0x388f52||_0x388f52[_0x1e0e5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e0e5f([0x6f,0x6b]))return _0x1e0e5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17d9b7(_0x1eb086(_0x3edb7d+_0x17f718))!=_0x388f52[_0x1e0e5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e0e5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x1a5894=>(_0x68f942(),_0x1a5894),()=>{const _0x405f69=_0x2509e2();return null==_0x405f69?(_0x68f942(),_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64])):_0x1e0e5f(_0x3dbb0f-_0x405f69>(0x440fc4b6^_0x3de39e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x38c980)[_0x1e0e5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38c980(_0x1e0e5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b9c5b=0x6035ae36^_0x3de39e;function _0x68f942(){const _0x26e3c0=_0x1e0e5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x17d9b7(_0x1eb086(_0x5431af)),_0x28c971=_0x4b11f3(_0x17d9b7(window[_0x1e0e5f([0x4d,0x61,0x74,0x68])][_0x1e0e5f([0x63,0x65,0x69,0x6c])](_0x3dbb0f/_0x5b9c5b)));window[_0x1e0e5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e0e5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26e3c0,_0x28c971);}function _0x2509e2(){const _0x2796cb=_0x1e0e5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x17d9b7(_0x1eb086(_0x5431af)),_0x185b4b=window[_0x1e0e5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e0e5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2796cb);return _0x185b4b?window[_0x1e0e5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b11f3(_0x185b4b),0x10)*_0x5b9c5b:null;}function _0x418353(_0x5e477e){return new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31681b,_0x467105)=>{_0x5e477e[_0x1e0e5f([0x74,0x68,0x65,0x6e])](_0x31681b,_0x467105),window[_0x1e0e5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x467105,0x60029476^_0x3de39e);});}}_0x1418d8[_0x1e0e5f([0x6f,0x6e])](_0x1e0e5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38071a,_0xfafa7e)=>{if(_0xfafa7e[0x0]!=_0x5431af)return _0x38c980(_0x1e0e5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfafa7e[0x1]={..._0xfafa7e[0x1],[_0x1e0e5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3edb7d};},{[_0x1e0e5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e0e5f([0x68,0x69,0x67,0x68])}),_0x1418d8[_0x1e0e5f([0x6f,0x6e])](_0x1e0e5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x81d1d1=>{_0x2b9a40(_0x81d1d1[_0x1e0e5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4beaba=!0x0,_0x1e6994(_0x81d1d1[_0x1e0e5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e0e5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e0e5f([0x6c,0x6f,0x77])}),_0x5a08da[_0x1e0e5f([0x74,0x68,0x65,0x6e])](()=>{_0x4beaba||_0x38c980(_0x1e0e5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17a946(){return _0x1418d8[_0x1e0e5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e0e5f([0x76,0x69,0x65,0x77])][_0x1e0e5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e0e5f([0x61,0x75,0x74,0x6f]);}function _0x492f95(){_0x1418d8[_0x1e0e5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e0e5f([0x76,0x69,0x65,0x77])][_0x1e0e5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e0e5f([0x61,0x75,0x74,0x6f]);}}function _0x1b1bae(_0xf0d03c){const _0x15b903=[new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9c71c3=>setTimeout(_0x9c71c3,0x600a7e7a^_0x3de39e)),_0x5a08da[_0x1e0e5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534b2f=>{let _0x212e77=0x0;_0x1418d8[_0x1e0e5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e0e5f([0x6f,0x6e])](_0x1e0e5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x909568,_0x1c782c)=>{_0x1c782c[0x0][_0x1e0e5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x212e77++,_0x212e77==(0x6003414e^_0x3de39e)&&(_0x534b2f(),_0x909568[_0x1e0e5f([0x6f,0x66,0x66])]());});}))];return window[_0x1e0e5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e0e5f([0x72,0x61,0x63,0x65])](_0x15b903)[_0x1e0e5f([0x74,0x68,0x65,0x6e])](()=>_0xf0d03c);}async function _0x3c2135(){await _0x5a08da,_0x1418d8[_0x1e0e5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e0e5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x62a1c3,_0x1418d8[_0x1e0e5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e0e5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x62a1c3,_0x1418d8[_0x1e0e5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e0e5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x252114(_0x16c864){const _0x27f2dd=_0x3823bd();_0x1418d8[_0x27f2dd]=_0x1e0e5f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x16c864,_0x16c864!=_0x1e0e5f([0x56,0x61,0x6c,0x69,0x64])&&_0x3c2135();}function _0x3823bd(){const _0x48ce64=window[_0x1e0e5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e0e5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e0e5f([0x6e,0x6f,0x77])]())[_0x1e0e5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e0e5f([0x2e]),'');let _0x4a713e=_0x1e0e5f([0x4f]);for(let _0x43d1ba=0x0;_0x43d1ba<_0x48ce64[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43d1ba+=0x2){let _0x3ae94a=window[_0x1e0e5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48ce64[_0x1e0e5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d1ba,_0x43d1ba+0x2));_0x3ae94a>=_0x59f9fe[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ae94a-=_0x59f9fe[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a713e+=_0x59f9fe[_0x3ae94a];}return _0x4a713e;}function _0x149f2b(){const _0xc68d9d=_0x12cf89[_0x1e0e5f([0x73,0x70,0x6c,0x69,0x74])](_0x1e0e5f([0x2e]));if(0x3!=_0xc68d9d[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15c53b(_0xc68d9d[0x1]);function _0x15c53b(_0x5204bd){const _0x2af4ce=_0x46c48e(_0x5204bd);return _0x2af4ce&&_0x1030b1()?_0x2af4ce:null;function _0x1030b1(){const _0xf69fbb=_0x2af4ce[_0x1e0e5f([0x6a,0x74,0x69])],_0x5eea97=window[_0x1e0e5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf69fbb[_0x1e0e5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf69fbb[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7b414e={..._0x2af4ce,[_0x1e0e5f([0x6a,0x74,0x69])]:_0xf69fbb[_0x1e0e5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf69fbb[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7b414e[_0x1e0e5f([0x76,0x63])],_0x1eb086(_0x7b414e)==_0x5eea97;}}}async function _0x5ac16f(){let _0x182201=!0x0;try{const _0x36a39e=_0x12cf89[_0x1e0e5f([0x73,0x70,0x6c,0x69,0x74])](_0x1e0e5f([0x2e])),[_0x3b408a,_0x17d1b7,_0x513db2]=_0x36a39e;return _0xb752a7(_0x3b408a),await _0x3d2bbf(_0x3b408a,_0x17d1b7,_0x513db2),_0x182201;}catch(_0x57ab3c){return!0x1;}function _0xb752a7(_0x1ef523){const _0x1905f2=_0x46c48e(_0x1ef523);_0x1905f2&&_0x1905f2[_0x1e0e5f([0x61,0x6c,0x67])]==_0x1e0e5f([0x45,0x53,0x32,0x35,0x36])||(_0x182201=!0x1);}async function _0x3d2bbf(_0x25b4cf,_0x103190,_0x5f14fb){const _0x2f94d0=window[_0x1e0e5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e0e5f([0x66,0x72,0x6f,0x6d])](_0x47d00a(_0x5f14fb),_0x6d7b2e=>_0x6d7b2e[_0x1e0e5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4cd916=new window[(_0x1e0e5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e0e5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25b4cf+_0x1e0e5f([0x2e])+_0x103190),_0x58c1c3=window[_0x1e0e5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e0e5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58c1c3)return;const _0x26c521=await _0x58c1c3[_0x1e0e5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e0e5f([0x6a,0x77,0x6b]),_0x523e8c,{[_0x1e0e5f([0x6e,0x61,0x6d,0x65])]:_0x1e0e5f([0x45,0x43,0x44,0x53,0x41]),[_0x1e0e5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e0e5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e0e5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58c1c3[_0x1e0e5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e0e5f([0x6e,0x61,0x6d,0x65])]:_0x1e0e5f([0x45,0x43,0x44,0x53,0x41]),[_0x1e0e5f([0x68,0x61,0x73,0x68])]:{[_0x1e0e5f([0x6e,0x61,0x6d,0x65])]:_0x1e0e5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26c521,_0x2f94d0,_0x4cd916)||(_0x182201=!0x1);}}function _0x46c48e(_0x527579){return _0x527579[_0x1e0e5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e0e5f([0x65,0x79]))?JSON[_0x1e0e5f([0x70,0x61,0x72,0x73,0x65])](_0x47d00a(_0x527579)):null;}function _0x47d00a(_0x5c4a05){return window[_0x1e0e5f([0x61,0x74,0x6f,0x62])](_0x5c4a05[_0x1e0e5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e0e5f([0x2b]))[_0x1e0e5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e0e5f([0x2f])));}function _0x1eb086(_0x3acb35){let _0x1ddbdb=0x1505;function _0xc455ff(_0x5e5229){for(let _0x475c4f=0x0;_0x475c4f<_0x5e5229[_0x1e0e5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x475c4f++){const _0xa9e5ee=_0x5e5229[_0x1e0e5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x475c4f);_0x1ddbdb=(_0x1ddbdb<<0x5)+_0x1ddbdb+_0xa9e5ee,_0x1ddbdb&=_0x1ddbdb;}}function _0x13ab9c(_0x3f233c){Array[_0x1e0e5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f233c)?_0x3f233c[_0x1e0e5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13ab9c):_0x3f233c&&typeof _0x3f233c==_0x1e0e5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e0e5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f233c)[_0x1e0e5f([0x73,0x6f,0x72,0x74])]()[_0x1e0e5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47c85b,_0x3b9246])=>{_0xc455ff(_0x47c85b),_0x13ab9c(_0x3b9246);}):_0xc455ff(window[_0x1e0e5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f233c));}return _0x13ab9c(_0x3acb35),_0x1ddbdb>>>0x0;}function _0x17d9b7(_0x49edff){return _0x49edff[_0x1e0e5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e0e5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e0e5f([0x30]));}function _0x4b11f3(_0x2bb513){return _0x2bb513[_0x1e0e5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e0e5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e0e5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x62a1c3(){}function _0x1e0e5f(_0x4f9e1b){const _0x301724=_0x99a3;return _0x4f9e1b[_0x301724(0x198)](_0x272ab1=>String[_0x301724(0x188)](_0x272ab1))[_0x301724(0x177)]('');}_0x252114(await _0x31811b());}(this);}[_0x2f6c3c(0x15b)](){const _0xa7f98f=_0x2f6c3c,_0x26ac22=this[_0xa7f98f(0x19b)][_0xa7f98f(0x165)][_0xa7f98f(0x192)];_0x26ac22[_0xa7f98f(0x15c)](_0xa7f98f(0x16f))&&_0x26ac22[_0xa7f98f(0x17f)](_0xa7f98f(0x16f),{'allowAttributes':[_0xa7f98f(0x163)]}),_0x26ac22[_0xa7f98f(0x15c)](_0xa7f98f(0x170))&&_0x26ac22[_0xa7f98f(0x17f)](_0xa7f98f(0x170),{'allowAttributes':[_0xa7f98f(0x163)]});}[_0x2f6c3c(0x18c)](){const _0x50912b=_0x2f6c3c,_0xb33abd=this[_0x50912b(0x19b)];_0xb33abd[_0x50912b(0x18d)][_0x50912b(0x19d)](_0x50912b(0x15f))[_0x50912b(0x175)]({'model':_0x50912b(0x163),'view':_0x50912b(0x19a)}),_0xb33abd[_0x50912b(0x18d)][_0x50912b(0x19d)](_0x50912b(0x189))[_0x50912b(0x156)]({'model':{'key':_0x50912b(0x163),'value':_0x362cee=>_0x362cee[_0x50912b(0x16d)](_0x50912b(0x19a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xb781a5=_0xb33abd[_0x50912b(0x193)][_0x50912b(0x16c)](_0x50912b(0x159));_0xb781a5&&this[_0x50912b(0x195)](_0xb781a5,_0x50912b(0x1a0),(_0xfdc2ec,[_0x55bb03,_0x24ad57])=>{const _0x543059=_0x50912b;_0x55bb03[_0x543059(0x176)](_0x543059(0x163),_0x24ad57);});}[_0x2f6c3c(0x194)](){const _0x49a817=_0x2f6c3c,_0x47bbbd=this[_0x49a817(0x19b)][_0x49a817(0x1a4)][_0x49a817(0x16c)](_0x49a817(0x167))||{},_0x2c3b9a=this[_0x49a817(0x19b)][_0x49a817(0x1a4)][_0x49a817(0x16c)](_0x49a817(0x1a7))||'';this[_0x49a817(0x1a1)]=_0x21ddd9(_0x555c39[_0x49a817(0x168)],_0x49a817(0x19c),{..._0x47bbbd,'pubkey':_0x2c3b9a,'ctx-name':_0x49a817(0x16a),'sourceList':'','imgOnly':_0x49a817(0x174),'removeCopyright':_0x49a817(0x174),'localeName':this[_0x49a817(0x19b)][_0x49a817(0x15a)][_0x49a817(0x184)],'externalSourcesEmbedCss':_0x49a817(0x15d)}),this[_0x49a817(0x1a1)][_0x49a817(0x1a5)]=_0x362d9b=>{const _0x137897=_0x49a817;if(_0x137897(0x19e)==_0x362d9b)return _0x137897(0x16e);},_0x555c39[_0x49a817(0x168)][_0x49a817(0x18b)][_0x49a817(0x17d)](this[_0x49a817(0x1a1)]);}[_0x2f6c3c(0x16b)](){const _0x1c9e5e=_0x2f6c3c;this[_0x1c9e5e(0x178)]=_0x21ddd9(_0x555c39[_0x1c9e5e(0x168)],_0x1c9e5e(0x19f),{'ctx-name':_0x1c9e5e(0x16a)}),_0x555c39[_0x1c9e5e(0x168)][_0x1c9e5e(0x18b)][_0x1c9e5e(0x17d)](this[_0x1c9e5e(0x178)]);}[_0x2f6c3c(0x1a2)](){const _0x7e993b=_0x2f6c3c,_0x2140da=this[_0x7e993b(0x19b)][_0x7e993b(0x193)][_0x7e993b(0x16c)](_0x7e993b(0x181));_0x2140da&&this[_0x7e993b(0x195)](_0x2140da,_0x7e993b(0x17b),()=>{const _0x37ea41=_0x7e993b,_0x36e1ba=this[_0x37ea41(0x19b)][_0x37ea41(0x165)][_0x37ea41(0x168)][_0x37ea41(0x155)][_0x37ea41(0x171)]();_0x36e1ba&&_0x36e1ba[_0x37ea41(0x16d)](_0x37ea41(0x163))&&this[_0x37ea41(0x19b)][_0x37ea41(0x173)][_0x37ea41(0x18f)][_0x37ea41(0x164)](_0x37ea41(0x15e),()=>{const _0xa1b5e8=_0x37ea41;_0x45b405(this[_0xa1b5e8(0x19b)],_0x36e1ba);});});const _0x46774c=this[_0x7e993b(0x19b)][_0x7e993b(0x193)][_0x7e993b(0x16c)](_0x7e993b(0x1a6));_0x46774c&&this[_0x7e993b(0x195)](_0x46774c,_0x7e993b(0x17b),()=>{const _0x3402be=_0x7e993b,_0x155bb7=this[_0x3402be(0x19b)][_0x3402be(0x165)][_0x3402be(0x168)][_0x3402be(0x155)][_0x3402be(0x171)]();_0x155bb7&&_0x155bb7[_0x3402be(0x16d)](_0x3402be(0x163))&&this[_0x3402be(0x19b)][_0x3402be(0x173)][_0x3402be(0x18f)][_0x3402be(0x164)](_0x3402be(0x15e),()=>{const _0x137bbd=_0x3402be;_0x45b405(this[_0x137bbd(0x19b)],_0x155bb7);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x3619b8,ObservableMixin as _0x5638e3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5e9791}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1689fa}from'ckeditor5/src/icons.js';import _0x24298d from'./uploadcareimageeditformview.js';import _0x52dbfe from'../../utils/uploadutils.js';import{getImageUrls as _0x3c8135,getImageDimension as _0x8c2446}from'../../utils/editingutils.js';import{isAncestor as _0x468703}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5638e3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5241e4,_0x16f204,_0x548a86){super(),this['_editor']=_0x5241e4,this['_dialog']=_0x16f204,this['_imageElement']=_0x548a86,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 _0x52a513=this['_imageElement'],_0x40d417=_0x52a513['getAttribute']('uploadcareImageId'),_0x2ed066=_0x52a513['getAttribute']('src');if(_0x40d417)await this['_loadImageInfo'](_0x40d417,_0x2ed066);else{if(this['_imageCache']['has'](_0x2ed066)){const _0x450ef3=this['_imageCache']['get'](_0x2ed066);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x450ef3['url'],this['imageDimension']=_0x450ef3['dimension'],this['imageId']=_0x450ef3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c14e6}=this['_editor'],t=_0x4c14e6['t'],_0x308371=new _0x24298d(_0x4c14e6,this['imageStatus'],this['_attributes']);_0x308371['bind']('status')['to'](this,'imageStatus'),_0x308371['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x308371['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x308371['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x308371,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1689fa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x308371,'position':_0x5e9791['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x308371['focus']();},'onHide':()=>{_0x308371['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x315a04=>!_0x468703(_0x315a04,_0x308371['element'])}});}['_loadImageInfo'](_0x55445e,_0x636369){return _0x52dbfe['getInfo'](_0x55445e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2adbca=>{const {width:_0x4bf6ed,height:_0x510171}=_0x2adbca['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x636369,this['imageDimension']={'width':_0x4bf6ed,'height':_0x510171},this['imageId']=_0x55445e;})['catch'](_0x28dc0d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28dc0d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x46ec92,_0x244bbc){return this['_getImageAsFile'](_0x46ec92)['then'](_0x136415=>_0x52dbfe['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x244bbc['signal'],'file':_0x136415,'onProgress':_0x56764b=>{_0x56764b&&_0x56764b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x56764b['value']));}}))['then'](_0x21dd1a=>{const {width:_0xfe15ad,height:_0x336114}=_0x21dd1a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21dd1a['cdnUrl'],this['imageDimension']={'width':_0xfe15ad,'height':_0x336114},this['imageId']=_0x21dd1a['uuid'],this['imageUploadProgress']=null;const _0x4f71ea=_0x46ec92['getAttribute']('src');this['_imageCache']['set'](_0x4f71ea,{'id':_0x21dd1a['uuid'],'url':_0x21dd1a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x483130=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x483130['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5067ac,_0x5c95b4){_0x5067ac['on']('apply',(_0xd7fd1d,_0xff5d93)=>{this['_replaceImage'](_0x5c95b4,_0xff5d93['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5067ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5067ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f6570,_0x4ee5bb,_0x3b0856){const _0x5c6aa=this['_editor'],{width:_0x1724e7,height:_0x441f00}=_0x8c2446(_0x4ee5bb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5b20ba,imageSources:_0x9cbd77}=_0x3c8135(_0x4ee5bb,_0x1724e7);_0x5c6aa['model']['change'](_0x1be127=>{if('$graveyard'===_0x3f6570['root']['rootName']){_0x5c6aa['execute']('insertImage',{'imageType':_0x3f6570['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f6570['getAttributes']()),'uploadcareImageId':_0x3b0856,'src':_0x5b20ba,'sources':_0x9cbd77,'width':_0x1724e7,'height':_0x441f00}});const _0x2888ad=_0x3f6570['getChildren']();_0x3f6570=_0x5c6aa['model']['document']['selection']['getSelectedElement']();for(const _0x77c320 of _0x2888ad)_0x1be127['append'](_0x1be127['cloneElement'](_0x77c320),_0x3f6570);}else _0x1be127['setSelection'](_0x3f6570,'on'),_0x5c6aa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f6570['getAttributes']()),'uploadcareImageId':_0x3b0856,'src':_0x5b20ba,'sources':_0x9cbd77,'width':_0x1724e7,'height':_0x441f00},_0x3f6570);_0x1be127['setSelection'](_0x3f6570,'on');});}async['_getImageAsFile'](_0x125dce){const _0x23b805=_0x3619b8['window'],_0x3b0e6a=_0x3619b8['document']['location']['href'],_0x3c883c=new _0x23b805['URL'](_0x125dce['getAttribute']('src'),_0x3b0e6a);if('data:'===_0x3c883c['protocol']){const _0x5145dc=_0x3c883c['href']['split'](','),_0x8f5fe=_0x5145dc[0x0]['match'](/:(.*?);/)[0x1],_0x545f58=_0x8f5fe['split']('/')[0x1],_0x2bcadd=_0x23b805['atob'](_0x5145dc[_0x5145dc['length']-0x1]);let _0x20a53b=_0x2bcadd['length'];const _0x47cf65=new _0x23b805['Uint8Array'](_0x20a53b);for(;_0x20a53b--;)_0x47cf65[_0x20a53b]=_0x2bcadd['charCodeAt'](_0x20a53b);return new _0x23b805['File']([_0x47cf65],'image.'+_0x545f58,{'type':_0x8f5fe});}const _0x1c8c4=_0x3c883c['href']['split']('/'),_0x256a13=_0x1c8c4[_0x1c8c4['length']-0x1],_0x381224=_0x256a13['split']('.')[0x1];return _0x23b805['fetch'](_0x3c883c['href'])['then'](_0x21f40c=>_0x21f40c['clone']()['blob']())['then'](_0x1fcdd1=>new _0x23b805['File']([_0x1fcdd1],_0x256a13,{'type':'image/'+_0x381224}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x7d8706,_0xc876da){const _0x4825b5=_0x4d09,_0x2f74d8=_0x7d8706();while(!![]){try{const _0x84c817=-parseInt(_0x4825b5(0x64))/0x1*(-parseInt(_0x4825b5(0x65))/0x2)+-parseInt(_0x4825b5(0x6f))/0x3+parseInt(_0x4825b5(0x68))/0x4+-parseInt(_0x4825b5(0x6a))/0x5*(parseInt(_0x4825b5(0x6b))/0x6)+-parseInt(_0x4825b5(0x6e))/0x7+-parseInt(_0x4825b5(0x69))/0x8+parseInt(_0x4825b5(0x6d))/0x9;if(_0x84c817===_0xc876da)break;else _0x2f74d8['push'](_0x2f74d8['shift']());}catch(_0x52cedf){_0x2f74d8['push'](_0x2f74d8['shift']());}}}(_0x26a3,0xa49c1));function _0x26a3(){const _0x1ef5c3=['3984fdkZjS','3411456DXhbVs','725crdVYE','49974TRApuo','setTemplate','29488257FkaZbp','977368ekGRCe','3721893xomSul','uc-cloud-image-editor','ck-uploadcare-theme','imageSrc','image-edit','set','15814BPKjPr','52LQZFJl','uc-light','bindTemplate'];_0x26a3=function(){return _0x1ef5c3;};return _0x26a3();}import{View as _0x3e817b}from'ckeditor5/src/ui.js';function _0x4d09(_0x1c7b87,_0x2df8f3){const _0x26a349=_0x26a3();return _0x4d09=function(_0x4d0941,_0x4e702e){_0x4d0941=_0x4d0941-0x64;let _0x55f55d=_0x26a349[_0x4d0941];return _0x55f55d;},_0x4d09(_0x1c7b87,_0x2df8f3);}export default class tt extends _0x3e817b{constructor(_0x10bda7,_0x5b8323){const _0x3c6c3a=_0x4d09;super(_0x10bda7);const _0x3963d3=this[_0x3c6c3a(0x67)];this[_0x3c6c3a(0x74)](_0x3c6c3a(0x72),''),this[_0x3c6c3a(0x6c)]({'tag':_0x3c6c3a(0x70),'attributes':{..._0x5b8323,'class':[_0x3c6c3a(0x66),_0x3c6c3a(0x71)],'ctx-name':_0x3c6c3a(0x73),'cdn-url':_0x3963d3['to'](_0x3c6c3a(0x72))}});}}
|
|
@@ -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 _0x1f0623,IconView as at,View as _0x4fab83}from'ckeditor5/src/ui.js';export default class rt extends _0x4fab83{constructor(_0x1e1bd1){super(_0x1e1bd1);const t=_0x1e1bd1['t'];this['set']('errorType',null);const _0x256904=new _0x1f0623(_0x1e1bd1);_0x256904['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x256904['withText']=!0x0,_0x256904['class']='ck-button-action',_0x256904['on']('execute',()=>{this['fire']('retry');}),_0x256904['bind']('isVisible')['to'](this,'errorType',_0x14c2bc=>'NotFound'!==_0x14c2bc);const _0x508d3c=new at();_0x508d3c['content']=et,_0x508d3c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59b7c1=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':[_0x508d3c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59b7c1['to']('errorType',_0x2f9c7a=>t('NotFound'!==_0x2f9c7a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x256904]},{'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 _0x2c3a4e,View as _0x138111}from'ckeditor5/src/ui.js';export default class ta extends _0x138111{constructor(_0x48d9cb){super(_0x48d9cb);const t=_0x48d9cb['t'],_0x30bafb=this['bindTemplate'],_0x2374ea=new _0x2c3a4e();_0x2374ea['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':[_0x2374ea,{'text':_0x30bafb['to']('imageUploadProgress',_0x16f82e=>t('Loading\x20image...')+'\x20('+(_0x16f82e||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 _0x355a(){const _0x5aa7b2=['filter','537450aoEEeO','2712258TODWoQ','734865lizezI','_waitForImageEditorComponent','toLowerCase','observe','2vooaUU','11864SQyOob','change:status','cdnUrl','div','once','createCollection','apply','_addErrorViewListeners','uc-cloud-image-editor','nodeName','disconnect','status','_addUploadcareImageEditorListeners','fire','render','_items','ck-uploadcare-form','focus','detail','addedNodes','4665969tHtGTr','ck-reset_all-excluded','_errorView','retry','_focusableView','setTemplate','error','_loadingView','addMany','getFocusableElement','3154928rQUEKT','querySelector','uploading','_setView','addEventListener','target','ready','set','length','_editingView','element','clear','291mJwNhv','add','cancel','552965kFglVH'];_0x355a=function(){return _0x5aa7b2;};return _0x355a();}const _0x2cf71b=_0x4828;(function(_0x4c8fc6,_0x3211f2){const _0x57030b=_0x4828,_0x2d9be9=_0x4c8fc6();while(!![]){try{const _0x5b0eec=-parseInt(_0x57030b(0x191))/0x1*(-parseInt(_0x57030b(0x197))/0x2)+-parseInt(_0x57030b(0x1c2))/0x3*(-parseInt(_0x57030b(0x198))/0x4)+-parseInt(_0x57030b(0x193))/0x5+-parseInt(_0x57030b(0x192))/0x6+-parseInt(_0x57030b(0x1c5))/0x7+-parseInt(_0x57030b(0x1b6))/0x8+parseInt(_0x57030b(0x1ac))/0x9;if(_0x5b0eec===_0x3211f2)break;else _0x2d9be9['push'](_0x2d9be9['shift']());}catch(_0xb71800){_0x2d9be9['push'](_0x2d9be9['shift']());}}}(_0x355a,0x42370));import{View as _0x39a4df}from'ckeditor5/src/ui.js';import _0x3bfc1a from'./uploadcareimageeditformloadingview.js';import _0x31a623 from'./uploadcareimageeditformerrorview.js';function _0x4828(_0x4a9924,_0xed24a1){const _0x355a07=_0x355a();return _0x4828=function(_0x4828e8,_0x153bba){_0x4828e8=_0x4828e8-0x190;let _0x62f115=_0x355a07[_0x4828e8];return _0x62f115;},_0x4828(_0x4a9924,_0xed24a1);}import _0x3939d7 from'./uploadcareimageeditformeditingview.js';import _0x482ec1 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x482ec1{[_0x2cf71b(0x1a7)];[_0x2cf71b(0x1b3)];[_0x2cf71b(0x1ae)];[_0x2cf71b(0x1bf)];[_0x2cf71b(0x1b0)];constructor(_0x7194fd,_0x305ee1,_0x2a8f9a){const _0xff12a6=_0x2cf71b;super(_0x7194fd),this[_0xff12a6(0x1a7)]=this[_0xff12a6(0x19d)](),this[_0xff12a6(0x1b3)]=new _0x3bfc1a(_0x7194fd),this[_0xff12a6(0x1ae)]=new _0x31a623(_0x7194fd),this[_0xff12a6(0x1bf)]=new _0x3939d7(_0x7194fd,_0x2a8f9a),this[_0xff12a6(0x1b0)]=new _0x39a4df(_0x7194fd),this[_0xff12a6(0x1b0)][_0xff12a6(0x1b1)](this[_0xff12a6(0x1b5)]()),this[_0xff12a6(0x1bd)](_0xff12a6(0x1a3),_0x305ee1),this[_0xff12a6(0x1b1)]({'tag':_0xff12a6(0x19b),'attributes':{'class':['ck',_0xff12a6(0x1ad),_0xff12a6(0x1a8)],'tabindex':'-1'},'children':this[_0xff12a6(0x1a7)]}),this[_0xff12a6(0x1b9)](),this[_0xff12a6(0x19c)](_0xff12a6(0x1a6),()=>{const _0x1cf040=_0xff12a6;this[_0x1cf040(0x194)](this[_0x1cf040(0x1c0)],_0x56a900=>{const _0x37fccb=_0x1cf040;this[_0x37fccb(0x1a4)](_0x56a900);});}),this['on'](_0xff12a6(0x199),()=>{const _0x228a02=_0xff12a6;this[_0x228a02(0x1b9)]();}),this[_0xff12a6(0x19f)]();}[_0x2cf71b(0x1a9)](){const _0x33f0e6=_0x2cf71b;this[_0x33f0e6(0x1c0)][_0x33f0e6(0x1a9)]();}[_0x2cf71b(0x1b9)](){const _0x33a35b=_0x2cf71b;switch(this[_0x33a35b(0x1a7)][_0x33a35b(0x1c1)](),this[_0x33a35b(0x1a3)]){case _0x33a35b(0x1b8):this[_0x33a35b(0x1a7)][_0x33a35b(0x1c3)](this[_0x33a35b(0x1b3)]);break;case _0x33a35b(0x1b2):this[_0x33a35b(0x1a7)][_0x33a35b(0x1c3)](this[_0x33a35b(0x1ae)]);break;case _0x33a35b(0x1bc):this[_0x33a35b(0x1a7)][_0x33a35b(0x1b4)]([this[_0x33a35b(0x1bf)],this[_0x33a35b(0x1b0)]]);}}[_0x2cf71b(0x194)](_0x58a257,_0x2f4cf4){const _0x58ea46=_0x2cf71b,_0x3d6c3e=_0x58ea46(0x1a0),_0x54111c=_0x58a257[_0x58ea46(0x1b7)](_0x3d6c3e);if(_0x54111c)return _0x2f4cf4(_0x54111c);const _0x274c68=new MutationObserver(_0x1f9bc7=>{const _0x5efbf9=_0x58ea46,_0x332bb8=_0x1f9bc7[_0x5efbf9(0x190)](_0x39191c=>_0x39191c[_0x5efbf9(0x1bb)]===_0x58a257&&_0x39191c[_0x5efbf9(0x1ab)][_0x5efbf9(0x1be)]>0x0&&_0x39191c[_0x5efbf9(0x1ab)][0x0][_0x5efbf9(0x1a1)][_0x5efbf9(0x195)]()===_0x3d6c3e);_0x332bb8[_0x5efbf9(0x1be)]&&(_0x274c68[_0x5efbf9(0x1a2)](),_0x2f4cf4(_0x332bb8[0x0][_0x5efbf9(0x1ab)][0x0]));});_0x274c68[_0x58ea46(0x196)](_0x58a257,{'childList':!0x0,'subtree':!0x0});}[_0x2cf71b(0x1a4)](_0x4edc4c){const _0x48719e=_0x2cf71b;_0x4edc4c[_0x48719e(0x1ba)](_0x48719e(0x19e),_0x1e8af0=>{const _0x1fc354=_0x48719e;this[_0x1fc354(0x1a5)](_0x1fc354(0x19e),{'imageSrc':_0x1e8af0[_0x1fc354(0x1aa)][_0x1fc354(0x19a)]});}),_0x4edc4c[_0x48719e(0x1ba)](_0x48719e(0x1c4),()=>{const _0x10c704=_0x48719e;this[_0x10c704(0x1a5)](_0x10c704(0x1c4));});}[_0x2cf71b(0x19f)](){const _0x29807c=_0x2cf71b;this[_0x29807c(0x1ae)]['on'](_0x29807c(0x1af),()=>{const _0x43221f=_0x29807c;this[_0x43221f(0x1a5)](_0x43221f(0x1af));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2f50c7=_0x8955;(function(_0xacc4dd,_0x28fada){const _0xcaa6e7=_0x8955,_0x4e2a1f=_0xacc4dd();while(!![]){try{const _0x40abb2=-parseInt(_0xcaa6e7(0x153))/0x1*(-parseInt(_0xcaa6e7(0x152))/0x2)+parseInt(_0xcaa6e7(0x14c))/0x3*(-parseInt(_0xcaa6e7(0x13d))/0x4)+parseInt(_0xcaa6e7(0x147))/0x5+parseInt(_0xcaa6e7(0x144))/0x6+parseInt(_0xcaa6e7(0x134))/0x7*(-parseInt(_0xcaa6e7(0x143))/0x8)+parseInt(_0xcaa6e7(0x14e))/0x9*(parseInt(_0xcaa6e7(0x141))/0xa)+-parseInt(_0xcaa6e7(0x154))/0xb;if(_0x40abb2===_0x28fada)break;else _0x4e2a1f['push'](_0x4e2a1f['shift']());}catch(_0x234d48){_0x4e2a1f['push'](_0x4e2a1f['shift']());}}}(_0x20b6,0x2565a));function _0x8955(_0x68ed3f,_0x344500){const _0x20b6fa=_0x20b6();return _0x8955=function(_0x895512,_0x49e3e4){_0x895512=_0x895512-0x134;let _0x337fa8=_0x20b6fa[_0x895512];return _0x337fa8;},_0x8955(_0x68ed3f,_0x344500);}function _0x20b6(){const _0x3694e6=['document','element','6vAkymS','71348WYHUEc','4118598xGfnUc','287uBcaDc','plugins','unbind','config','requires','imageInline','selection','isEnabled','isActive','364508JibZtX','editor','getSelectedElement','bind','3070HbyRDv','imageBlock','6784NgJLzA','687372BaiZHY','execute','_isEditable','1400055ngAExy','uploadcare.allowExternalImagesEditing','model','imageEditController','set','6HCJdPD','get','3987pOToIS','refresh'];_0x20b6=function(){return _0x3694e6;};return _0x20b6();}import{Command as _0xe61373}from'ckeditor5/src/core.js';import{Dialog as _0x4b0b3a}from'ckeditor5/src/ui.js';import _0x2c89aa from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2aaf8c}from'../utils/editingutils.js';export default class J extends _0xe61373{[_0x2f50c7(0x14a)];static get[_0x2f50c7(0x138)](){return[_0x4b0b3a];}[_0x2f50c7(0x146)];constructor(_0x1bb88c){const _0x23df17=_0x2f50c7;super(_0x1bb88c),this[_0x23df17(0x14a)]=void 0x0,this[_0x23df17(0x146)]=_0x2aaf8c(_0x1bb88c[_0x23df17(0x137)][_0x23df17(0x14d)](_0x23df17(0x148))||[]),this[_0x23df17(0x14b)]({'isActive':!0x1});}[_0x2f50c7(0x14f)](){const _0x398600=_0x2f50c7,_0x21c8a5=this[_0x398600(0x13e)][_0x398600(0x149)][_0x398600(0x150)][_0x398600(0x13a)][_0x398600(0x13f)]();this[_0x398600(0x13b)]=this[_0x398600(0x146)](_0x21c8a5);}[_0x2f50c7(0x145)](){const _0x28718f=_0x2f50c7;this[_0x28718f(0x14a)]&&(this[_0x28718f(0x136)](_0x28718f(0x13c)),this[_0x28718f(0x14a)]=void 0x0);const _0x3642de=this[_0x28718f(0x13e)][_0x28718f(0x149)][_0x28718f(0x150)][_0x28718f(0x13a)][_0x28718f(0x13f)]();_0x3642de&&(_0x3642de['is'](_0x28718f(0x151),_0x28718f(0x142))||_0x3642de['is'](_0x28718f(0x151),_0x28718f(0x139)))&&(this[_0x28718f(0x14a)]=new _0x2c89aa(this[_0x28718f(0x13e)],this[_0x28718f(0x13e)][_0x28718f(0x135)][_0x28718f(0x14d)](_0x4b0b3a),_0x3642de),this[_0x28718f(0x140)](_0x28718f(0x13c))['to'](this[_0x28718f(0x14a)],_0x28718f(0x13c)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1d07b9=_0x1f31;(function(_0x85dce7,_0x4844d6){const _0x2c8ae6=_0x1f31,_0x4e1cf0=_0x85dce7();while(!![]){try{const _0x1cab6e=-parseInt(_0x2c8ae6(0x19e))/0x1+-parseInt(_0x2c8ae6(0x1a1))/0x2*(parseInt(_0x2c8ae6(0x1aa))/0x3)+parseInt(_0x2c8ae6(0x1ac))/0x4+-parseInt(_0x2c8ae6(0x1a9))/0x5*(-parseInt(_0x2c8ae6(0x1a8))/0x6)+-parseInt(_0x2c8ae6(0x1ad))/0x7*(parseInt(_0x2c8ae6(0x1a7))/0x8)+-parseInt(_0x2c8ae6(0x19b))/0x9+-parseInt(_0x2c8ae6(0x1ae))/0xa*(-parseInt(_0x2c8ae6(0x19c))/0xb);if(_0x1cab6e===_0x4844d6)break;else _0x4e1cf0['push'](_0x4e1cf0['shift']());}catch(_0x19a719){_0x4e1cf0['push'](_0x4e1cf0['shift']());}}}(_0x2aee,0x1e349));import{Plugin as _0x4102a0}from'ckeditor5/src/core.js';function _0x2aee(){const _0x517c6d=['requires','125726jCXEXG','uploadcareImageReplace','commands','2POOUcb','ImageEditing','isOfficialPlugin','isPremiumPlugin','add','UploadcareImageEditEditing','24AzmxaQ','24OlVtMh','82855NcescW','436485iRilFq','init','737552teIenq','560329KASQRe','4277490whyZuT','uploadcareImageEdit','pluginName','ImageUtils','390042cTInSh','11Tqaenb'];_0x2aee=function(){return _0x517c6d;};return _0x2aee();}import{Notification as _0xdb2a2f}from'ckeditor5/src/ui.js';import _0x27706c from'./uploadcareimageeditcommand.js';function _0x1f31(_0x539ab2,_0x8dcbb5){const _0x2aee05=_0x2aee();return _0x1f31=function(_0x1f3175,_0xa4c666){_0x1f3175=_0x1f3175-0x199;let _0x4da35b=_0x2aee05[_0x1f3175];return _0x4da35b;},_0x1f31(_0x539ab2,_0x8dcbb5);}import _0x5b5240 from'./uploadcareimagereplacecommand.js';import _0x4ec042 from'../uploadcareediting.js';export default class g extends _0x4102a0{static get[_0x1d07b9(0x199)](){const _0xccc76f=_0x1d07b9;return _0xccc76f(0x1a6);}static get[_0x1d07b9(0x19d)](){const _0x161edc=_0x1d07b9;return[_0x4ec042,_0xdb2a2f,_0x161edc(0x19a),_0x161edc(0x1a2)];}static get[_0x1d07b9(0x1a3)](){return!0x0;}static get[_0x1d07b9(0x1a4)](){return!0x0;}[_0x1d07b9(0x1ab)](){const _0x5fa8d9=_0x1d07b9,{editor:_0x20360e}=this;_0x20360e[_0x5fa8d9(0x1a0)][_0x5fa8d9(0x1a5)](_0x5fa8d9(0x1af),new _0x27706c(_0x20360e)),_0x20360e[_0x5fa8d9(0x1a0)][_0x5fa8d9(0x1a5)](_0x5fa8d9(0x19f),new _0x5b5240(_0x20360e));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x56f5f3}from'ckeditor5/src/core.js';import{ButtonView as _0x2aeaae}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5dbbfe}from'ckeditor5/src/icons.js';import{createElement as _0x1ecf1a}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 _0x56f5f3{['_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 _0x1c3ab9=this['editor'];_0x1c3ab9['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf07eb=>{const _0x29d07a=_0x1c3ab9['commands']['get']('uploadcareImageEdit'),_0x4c8ca0=new _0x2aeaae(_0xf07eb),t=_0xf07eb['t'];return _0x4c8ca0['set']({'icon':_0x5dbbfe,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c8ca0['bind']('isEnabled')['to'](_0x29d07a),_0x4c8ca0['bind']('isOn')['to'](_0x29d07a,'isActive'),this['listenTo'](_0x4c8ca0,'execute',()=>{_0x1c3ab9['execute']('uploadcareImageEdit'),_0x1c3ab9['editing']['view']['focus']();}),_0x4c8ca0;}),this['_initConfig']();}['_initConfig'](){const _0x467590=_0x1ecf1a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x467590),this['listenTo'](this['editor'],'destroy',()=>{_0x467590['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e043d=_0xa9cd;function _0xa9cd(_0x5e2720,_0x12d77c){const _0x595cba=_0x595c();return _0xa9cd=function(_0xa9cdc9,_0x44ac2c){_0xa9cdc9=_0xa9cdc9-0x13a;let _0x46e85c=_0x595cba[_0xa9cdc9];return _0x46e85c;},_0xa9cd(_0x5e2720,_0x12d77c);}(function(_0x201577,_0x3beedd){const _0x204178=_0xa9cd,_0x540e27=_0x201577();while(!![]){try{const _0x447707=parseInt(_0x204178(0x151))/0x1*(-parseInt(_0x204178(0x140))/0x2)+parseInt(_0x204178(0x146))/0x3*(parseInt(_0x204178(0x153))/0x4)+-parseInt(_0x204178(0x14e))/0x5+parseInt(_0x204178(0x145))/0x6*(parseInt(_0x204178(0x13a))/0x7)+-parseInt(_0x204178(0x13e))/0x8+parseInt(_0x204178(0x14d))/0x9*(-parseInt(_0x204178(0x13b))/0xa)+parseInt(_0x204178(0x14f))/0xb;if(_0x447707===_0x3beedd)break;else _0x540e27['push'](_0x540e27['shift']());}catch(_0xc52664){_0x540e27['push'](_0x540e27['shift']());}}}(_0x595c,0x3d77d));import{Command as _0x3e8c06}from'ckeditor5/src/core.js';export default class O extends _0x3e8c06{[_0x2e043d(0x14b)](){const _0x32ddb7=_0x2e043d,_0x49af30=this[_0x32ddb7(0x150)][_0x32ddb7(0x149)][_0x32ddb7(0x14c)][_0x32ddb7(0x14a)][_0x32ddb7(0x148)]();this[_0x32ddb7(0x13d)]=Boolean(_0x49af30&&(_0x49af30['is'](_0x32ddb7(0x141),_0x32ddb7(0x143))||_0x49af30['is'](_0x32ddb7(0x141),_0x32ddb7(0x147))));}[_0x2e043d(0x142)](_0x3561a5){const _0x24b938=_0x2e043d,_0x2293c5=this[_0x24b938(0x150)][_0x24b938(0x149)][_0x24b938(0x14c)][_0x24b938(0x14a)][_0x24b938(0x148)]();this[_0x24b938(0x150)][_0x24b938(0x149)][_0x24b938(0x13f)](_0x51f349=>{const _0xfc6cf2=_0x24b938;_0x51f349[_0xfc6cf2(0x144)](_0x3561a5,_0x2293c5),_0x51f349[_0xfc6cf2(0x13c)](_0xfc6cf2(0x152),_0x2293c5),_0x51f349[_0xfc6cf2(0x13c)](_0xfc6cf2(0x154),_0x2293c5);});}}function _0x595c(){const _0x1fca7c=['refresh','document','9459eQCVup','1482825fiUUdb','10568052whJxYR','editor','1bqQkYF','srcset','20yhIvgH','sizes','963865xaDBQj','2590uLBSNo','removeAttribute','isEnabled','3748672xWsvtN','change','625202agRAPD','element','execute','imageBlock','setAttributes','18rrNzaW','136749mlwpwq','imageInline','getSelectedElement','model','selection'];_0x595c=function(){return _0x1fca7c;};return _0x595c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x53375e=_0x3c0c;function _0x3c0c(_0x53df68,_0x1db074){var _0x588568=_0x5885();return _0x3c0c=function(_0x3c0cb3,_0x1a1061){_0x3c0cb3=_0x3c0cb3-0x1b6;var _0x1407ae=_0x588568[_0x3c0cb3];return _0x1407ae;},_0x3c0c(_0x53df68,_0x1db074);}(function(_0x287d51,_0x5a35d4){var _0x1b966b=_0x3c0c,_0x4c5c98=_0x287d51();while(!![]){try{var _0x10ba2a=-parseInt(_0x1b966b(0x1b9))/0x1*(parseInt(_0x1b966b(0x1ba))/0x2)+-parseInt(_0x1b966b(0x1bc))/0x3+parseInt(_0x1b966b(0x1c1))/0x4+parseInt(_0x1b966b(0x1b6))/0x5+parseInt(_0x1b966b(0x1bf))/0x6+parseInt(_0x1b966b(0x1bd))/0x7*(-parseInt(_0x1b966b(0x1c2))/0x8)+parseInt(_0x1b966b(0x1be))/0x9;if(_0x10ba2a===_0x5a35d4)break;else _0x4c5c98['push'](_0x4c5c98['shift']());}catch(_0x6f1fcc){_0x4c5c98['push'](_0x4c5c98['shift']());}}}(_0x5885,0x5cbb4));import{Plugin as _0x6b49de}from'ckeditor5/src/core.js';function _0x5885(){var _0x1fb0f1=['1190872OFZAsR','80FkFxCc','isOfficialPlugin','693940yqTeHW','pluginName','requires','1OmFane','306198RRJUZR','UploadcareImageEdit','1016049yxGfxT','449330MmddGj','9147843oIkmGp','363462ArmSzh','isPremiumPlugin'];_0x5885=function(){return _0x1fb0f1;};return _0x5885();}import _0x21eb86 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x28aff8 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x6b49de{static get[_0x53375e(0x1b7)](){var _0x131755=_0x53375e;return _0x131755(0x1bb);}static get[_0x53375e(0x1b8)](){return[_0x21eb86,_0x28aff8];}static get[_0x53375e(0x1c3)](){return!0x0;}static get[_0x53375e(0x1c0)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0a3a=_0x5a94;(function(_0x26d811,_0x42d5b8){const _0x4a6a04=_0x5a94,_0x2236c8=_0x26d811();while(!![]){try{const _0xbe807d=parseInt(_0x4a6a04(0xda))/0x1*(parseInt(_0x4a6a04(0xc3))/0x2)+-parseInt(_0x4a6a04(0xb4))/0x3*(-parseInt(_0x4a6a04(0xab))/0x4)+-parseInt(_0x4a6a04(0xad))/0x5+-parseInt(_0x4a6a04(0xc4))/0x6+parseInt(_0x4a6a04(0xe9))/0x7+-parseInt(_0x4a6a04(0xec))/0x8*(parseInt(_0x4a6a04(0xd1))/0x9)+parseInt(_0x4a6a04(0xc9))/0xa*(parseInt(_0x4a6a04(0xf1))/0xb);if(_0xbe807d===_0x42d5b8)break;else _0x2236c8['push'](_0x2236c8['shift']());}catch(_0x6c9df8){_0x2236c8['push'](_0x2236c8['shift']());}}}(_0x3df2,0xded5a));import{Plugin as _0x22a5b7}from'ckeditor5/src/core.js';import{IconDropbox as _0x434f19,IconFacebook as _0x388ed1,IconGoogleDrive as _0x274bf4,IconGooglePhotos as _0x579e8c,IconUploadcareImageUpload as _0x1464cb,IconUploadcareLink as _0x2d968e,IconOneDrive as _0x38dcce}from'ckeditor5/src/icons.js';import{ButtonView as _0xfb6e42,MenuBarMenuListItemButtonView as _0x3b124a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3fba9b}from'./uploadcareconfig.js';import{getTranslation as _0x192db9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5a94(_0x4f4c48,_0xd85db9){const _0x3df2c4=_0x3df2();return _0x5a94=function(_0x5a9453,_0x3f910d){_0x5a9453=_0x5a9453-0xa4;let _0x49f5bb=_0x3df2c4[_0x5a9453];return _0x49f5bb;},_0x5a94(_0x4f4c48,_0xd85db9);}import'../theme/uploadcareimageedit.css';export default class e extends _0x22a5b7{[_0x4f0a3a(0xb6)];[_0x4f0a3a(0xf4)];static get[_0x4f0a3a(0xb8)](){const _0x14b546=_0x4f0a3a;return _0x14b546(0xbe);}static get[_0x4f0a3a(0xe6)](){return!0x0;}static get[_0x4f0a3a(0xe2)](){return!0x0;}[_0x4f0a3a(0xae)](){const _0x1782bc=_0x4f0a3a;this[_0x1782bc(0xb6)]=this[_0x1782bc(0xbf)][_0x1782bc(0xd2)][_0x1782bc(0xea)](_0x1782bc(0xb6));const _0x42a87d=this[_0x1782bc(0xbf)];this[_0x1782bc(0xf4)]=setInterval(()=>{const _0x98b797=_0x1782bc;let _0x416ceb;for(const _0x17e708 in _0x42a87d){const _0x30441a=_0x17e708,_0x126a83=_0x42a87d[_0x30441a];if(_0x98b797(0xbc)==_0x126a83||_0x98b797(0xb3)==_0x126a83||_0x98b797(0xa9)==_0x126a83||_0x98b797(0xc2)==_0x126a83||_0x98b797(0xee)==_0x126a83||_0x98b797(0xa4)==_0x126a83||_0x98b797(0xb5)==_0x126a83||_0x98b797(0xc7)==_0x126a83){delete _0x42a87d[_0x30441a],_0x416ceb=_0x126a83,clearInterval(this[_0x98b797(0xf4)]),this[_0x98b797(0xf4)]=void 0x0;break;}}_0x98b797(0xb3)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xbb)),_0x98b797(0xa9)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xe8)),_0x98b797(0xc2)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xdf)),_0x98b797(0xee)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xf5),_0x98b797(0xaa)),_0x98b797(0xa4)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xa7)),_0x98b797(0xb5)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xa8)),_0x98b797(0xc7)==_0x416ceb&&_0x42a87d[_0x98b797(0xe5)](_0x98b797(0xf2));},0x3e8);}[_0x4f0a3a(0xdc)](){const _0x49cc5a=_0x4f0a3a,{editor:_0x4698d4}=this,_0x559524=_0x4698d4[_0x49cc5a(0xf3)][_0x49cc5a(0xea)](_0x49cc5a(0xcf));if(!_0x559524)return;const _0xa373be=this[_0x49cc5a(0xac)](_0x4698d4[_0x49cc5a(0xd2)][_0x49cc5a(0xea)](_0x49cc5a(0xdd)))[_0x49cc5a(0xc5)]((_0x308503,_0x148ae2)=>{const _0x4e8632=_0x49cc5a,_0x53e362=this[_0x4e8632(0xd5)](_0x148ae2[_0x4e8632(0xc6)]);return _0x308503[_0x53e362]||(_0x308503[_0x53e362]=[]),_0x308503[_0x53e362][_0x4e8632(0xd0)](_0x148ae2),_0x308503;},{});_0x4698d4[_0x49cc5a(0xe1)][_0x49cc5a(0xed)](_0x49cc5a(0xcc))&&_0x4698d4[_0x49cc5a(0xf3)][_0x49cc5a(0xea)](_0x49cc5a(0xcf))&&Object[_0x49cc5a(0xcb)](_0xa373be)[_0x49cc5a(0xde)](([_0x1bf9ab,_0x23937b])=>{const _0x4f8b12=_0x49cc5a;_0x4698d4[_0x4f8b12(0xe1)][_0x4f8b12(0xea)](_0x4f8b12(0xcc))[_0x4f8b12(0xb1)]({'name':_0x1bf9ab,'observable':()=>_0x559524,'buttonViewCreator':()=>this[_0x4f8b12(0xcd)](_0x23937b),'formViewCreator':()=>this[_0x4f8b12(0xc1)](_0x23937b),'menuBarButtonViewCreator':()=>this[_0x4f8b12(0xa6)](_0x23937b),'override':_0x4f8b12(0xd9)!==_0x1bf9ab});});}[_0x4f0a3a(0xb2)](){const _0x323a07=_0x4f0a3a;super[_0x323a07(0xb2)](),this[_0x323a07(0xf4)]&&clearInterval(this[_0x323a07(0xf4)]);}[_0x4f0a3a(0xac)](_0x4c3933){const _0x50c8c9=_0x4f0a3a,{locale:_0x5c8eb6}=this[_0x50c8c9(0xbf)];return _0x4c3933[_0x50c8c9(0xaf)](_0x5e3d8d=>{const _0x1db012=_0x50c8c9,_0x5a4698=_0x192db9(_0x5c8eb6,_0x5e3d8d,_0x1db012(0xca));switch(_0x5e3d8d){case _0x3fba9b[_0x1db012(0xeb)]:return{'icon':_0x1464cb,'type':_0x3fba9b[_0x1db012(0xeb)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xdb)]:return{'icon':_0x2d968e,'type':_0x3fba9b[_0x1db012(0xdb)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xe0)]:return{'icon':_0x434f19,'type':_0x3fba9b[_0x1db012(0xe0)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xd3)]:return{'icon':_0x388ed1,'type':_0x3fba9b[_0x1db012(0xd3)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xce)]:return{'icon':_0x274bf4,'type':_0x3fba9b[_0x1db012(0xce)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xbd)]:return{'icon':_0x579e8c,'type':_0x3fba9b[_0x1db012(0xbd)],..._0x5a4698};case _0x3fba9b[_0x1db012(0xf0)]:return{'icon':_0x38dcce,'type':_0x3fba9b[_0x1db012(0xf0)],..._0x5a4698};}});}[_0x4f0a3a(0xd5)](_0x38c663){const _0x224838=_0x4f0a3a;switch(_0x38c663){case _0x3fba9b[_0x224838(0xeb)]:return _0x224838(0xe4);case _0x3fba9b[_0x224838(0xdb)]:return _0x224838(0xd6);default:return _0x224838(0xd9);}}[_0x4f0a3a(0xd7)](_0x17eae3,_0x12ec3d){const _0x20e244=_0x4f0a3a,_0x4b8d22=this[_0x20e244(0xbf)],_0x4e0582=new _0x17eae3(_0x4b8d22[_0x20e244(0xb7)]),_0x5871e1=_0x4b8d22[_0x20e244(0xf3)][_0x20e244(0xea)](_0x20e244(0xcf));return _0x4e0582[_0x20e244(0xc0)](_0x20e244(0xb9))['to'](_0x5871e1),_0x4e0582['on'](_0x20e244(0xe3),()=>{const _0x44e254=_0x20e244;_0x5871e1[_0x44e254(0xe3)](_0x12ec3d);}),_0x4e0582;}[_0x4f0a3a(0xcd)](_0x3eb066){const _0x4514ca=_0x4f0a3a,{locale:_0xc3483c}=this[_0x4514ca(0xbf)],_0x568fd1=this[_0x4514ca(0xbf)][_0x4514ca(0xe1)][_0x4514ca(0xea)](_0x4514ca(0xcc)),_0x1b02d9=_0x3eb066[0x0],_0x235552=this[_0x4514ca(0xd7)](_0xfb6e42,_0x1b02d9[_0x4514ca(0xc6)]);return _0x235552[_0x4514ca(0xe7)]=_0x1b02d9[_0x4514ca(0xe7)],_0x235552[_0x4514ca(0xc0)](_0x4514ca(0xba))['to'](_0x568fd1,_0x4514ca(0xb0),_0x22d7f4=>_0x192db9(_0xc3483c,_0x1b02d9[_0x4514ca(0xc6)],_0x22d7f4?_0x4514ca(0xa5):_0x4514ca(0xca))[_0x4514ca(0xc8)]),_0x235552[_0x4514ca(0xd8)]=!0x0,_0x235552;}[_0x4f0a3a(0xc1)](_0x329400){const _0x443322=_0x4f0a3a,{locale:_0x372272}=this[_0x443322(0xbf)],_0x2aaca1=this[_0x443322(0xbf)][_0x443322(0xe1)][_0x443322(0xea)](_0x443322(0xcc));return _0x329400[_0x443322(0xaf)](_0x1a79df=>{const _0x5542ce=_0x443322,_0x31e018=this[_0x5542ce(0xd7)](_0xfb6e42,_0x1a79df[_0x5542ce(0xc6)]);return _0x31e018[_0x5542ce(0xd4)]=!0x0,_0x31e018[_0x5542ce(0xe7)]=_0x1a79df[_0x5542ce(0xe7)],_0x31e018[_0x5542ce(0xc0)](_0x5542ce(0xba))['to'](_0x2aaca1,_0x5542ce(0xb0),_0x4b12a3=>_0x192db9(_0x372272,_0x1a79df[_0x5542ce(0xc6)],_0x4b12a3?_0x5542ce(0xa5):_0x5542ce(0xca))[_0x5542ce(0xc8)]),_0x31e018;});}[_0x4f0a3a(0xa6)](_0x60f3b6){const _0x184c79=_0x4f0a3a;return _0x60f3b6[_0x184c79(0xaf)](_0x478473=>{const _0x45ee97=_0x184c79,_0x4f959e=this[_0x45ee97(0xd7)](_0x3b124a,_0x478473[_0x45ee97(0xc6)]);return _0x4f959e[_0x45ee97(0xe7)]=_0x478473[_0x45ee97(0xe7)],_0x4f959e[_0x45ee97(0xba)]=_0x478473[_0x45ee97(0xef)],_0x4f959e;});}}function _0x3df2(){const _0x5e476e=['execute','upload','_showLicenseError','isOfficialPlugin','icon','expired','5413205aiHBhe','get','Local','290896BJeUmc','has','uploadcareLicenseKeyNotAllowed','shortText','OneDrive','33032351jcObep','usageLimit','commands','_licenseKeyCheckInterval','featureNotAllowed','uploadcareLicenseKeyEvaluationLimit','Replace','_createMenuBarButtons','evaluationLimit','trialLimit','uploadcareLicenseKeyExpired','Uploadcare','452HPVMhI','_normalizeConfigSourceList','7555750siIFSb','init','map','isImageSelected','registerIntegration','destroy','uploadcareLicenseKeyInvalid','13767qEvLef','uploadcareLicenseKeyTrialLimit','licenseKey','locale','pluginName','isEnabled','label','invalid','uploadcareLicenseKeyValid','GPhotos','UploadcareUI','editor','bind','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','10lPTtvY','5651496PFLkVW','reduce','type','uploadcareLicenseKeyUsageLimit','text','10FjQzpg','Insert','entries','ImageInsertUI','_createToolbarButton','GDrive','uploadcare','push','324NswJNr','config','Facebook','withText','_getIntegrationKey','url','_createButton','tooltip','assetManager','76003leSSQP','URL','afterInit','uploadcare.uploader.sourceList','forEach','domainLimit','Dropbox','plugins','isPremiumPlugin'];_0x3df2=function(){return _0x5e476e;};return _0x3df2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3c0cf7}from'ckeditor5/src/core.js';import{FileRepository as _0x1ffad3}from'ckeditor5/src/upload.js';import _0x533f5f from'./uploadcareediting.js';import _0x3765ca from'./utils/uploadutils.js';import{getImageUrls as _0x5ac77c}from'./utils/editingutils.js';export default class p extends _0x3c0cf7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ffad3,_0x533f5f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x588df4=this['editor'];if(!!!_0x588df4['config']['get']('uploadcare'))return;_0x588df4['plugins']['get'](_0x1ffad3)['createUploadAdapter']=_0x5e6cb6=>new x(_0x5e6cb6,_0x588df4),_0x588df4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x27685c,{imageElement:_0x98ff41,data:_0x13e067})=>{_0x588df4['model']['change'](_0xc49ca6=>{_0xc49ca6['setAttribute']('uploadcareImageId',_0x13e067['uploadcareImageId'],_0x98ff41);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x18b356,_0x401669){this['loader']=_0x18b356,this['editor']=_0x401669,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4072c4=this['editor']['config']['get']('uploadcare.pubkey'),_0x125e41=await this['loader']['file'];return _0x3765ca['upload']({'file':_0x125e41,'publicKey':_0x4072c4,'signal':this['controller']['signal'],'onProgress':_0x15e9c9=>{_0x15e9c9&&_0x15e9c9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x15e9c9['value']);}})['then'](async _0x28e448=>{const {imageFallbackUrl:_0x3b5c5d,imageSources:_0x219277}=_0x5ac77c(_0x28e448['cdnUrl'],_0x28e448['imageInfo']['width']);return{'uploadcareImageId':_0x28e448['uuid'],'default':_0x3b5c5d,'sources':_0x219277};})['catch'](()=>{const _0x57f693=t('Cannot\x20upload\x20file:')+('\x20'+_0x125e41['name']+'.');return Promise['reject'](_0x57f693);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x49c669}from'../uploadcareconfig.js';export function getTranslation(_0x2ef47a,_0x5794aa,_0x14040e){const t=_0x2ef47a['t'],_0x3d3cc5=_0x2ef47a['t'];switch(_0x5794aa){case _0x49c669['Local']:return{'text':_0x3d3cc5('Insert'===_0x14040e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d3cc5('From\x20computer')};case _0x49c669['URL']:return{'text':'Insert'===_0x14040e?_0x3d3cc5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d3cc5('Via\x20URL')};case _0x49c669['Dropbox']:return{'text':t('Insert'===_0x14040e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x49c669['Facebook']:return{'text':t('Insert'===_0x14040e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x49c669['GDrive']:return{'text':t('Insert'===_0x14040e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x49c669['GPhotos']:return{'text':t('Insert'===_0x14040e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x49c669['OneDrive']:return{'text':t('Insert'===_0x14040e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5794aa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x34c73d=_0x1195;(function(_0xfb2b0d,_0x6ec7db){var _0xb9dd85=_0x1195,_0x226906=_0xfb2b0d();while(!![]){try{var _0x95dd80=parseInt(_0xb9dd85(0x1f8))/0x1+-parseInt(_0xb9dd85(0x1ee))/0x2+parseInt(_0xb9dd85(0x1f9))/0x3*(-parseInt(_0xb9dd85(0x1f2))/0x4)+parseInt(_0xb9dd85(0x1fc))/0x5*(-parseInt(_0xb9dd85(0x1f6))/0x6)+parseInt(_0xb9dd85(0x1f0))/0x7+-parseInt(_0xb9dd85(0x1fd))/0x8*(parseInt(_0xb9dd85(0x1fa))/0x9)+parseInt(_0xb9dd85(0x1f5))/0xa;if(_0x95dd80===_0x6ec7db)break;else _0x226906['push'](_0x226906['shift']());}catch(_0x491e81){_0x226906['push'](_0x226906['shift']());}}}(_0x3db0,0xbc8d4));import{FocusTracker as _0x1fb97d}from'ckeditor5/src/utils.js';function _0x1195(_0x2ca243,_0x28990d){var _0x3db0e7=_0x3db0();return _0x1195=function(_0x11955d,_0x36fb67){_0x11955d=_0x11955d-0x1ec;var _0x552016=_0x3db0e7[_0x11955d];return _0x552016;},_0x1195(_0x2ca243,_0x28990d);}import{View as _0x439591,FocusCycler as _0x1d6211}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x439591{[_0x34c73d(0x1f3)];[_0x34c73d(0x1f1)];constructor(_0x5aa402){var _0x403fa8=_0x34c73d;super(_0x5aa402),this[_0x403fa8(0x1f3)]=new _0x1fb97d(),this[_0x403fa8(0x1f1)]=new _0x1d6211({'focusables':this[_0x403fa8(0x1ef)](),'focusTracker':this[_0x403fa8(0x1f3)]});}[_0x34c73d(0x1ec)](){var _0x5703a8=_0x34c73d;return{'tag':_0x5703a8(0x1ed),'attributes':{'aria-hidden':_0x5703a8(0x1f4),'tabindex':'0'},'on':{'focus':this[_0x5703a8(0x1f7)]['to'](()=>{var _0x5eb345=_0x5703a8;this[_0x5eb345(0x1f1)][_0x5eb345(0x1fe)](_0x5eb345(0x1fb));})}};}}function _0x3db0(){var _0x6cd669=['createCollection','4925466eAeLJn','focusCycler','6067264nclaCJ','focusTracker','true','30752470dwooCr','48864udXMyn','bindTemplate','442166Aidyfw','3qObQWo','4815TYfMHJ','forwardCycle','140pUxehe','9184LOdwvJ','fire','getFocusableElement','div','2179430AiLHRH'];_0x3db0=function(){return _0x6cd669;};return _0x3db0();}
|