@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.7 → 44.2.0-alpha.9
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/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 +8 -8
- 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.d.ts +2 -2
- 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 _0x3d3f(_0x3bb35a,_0x4460d2){const _0xb89c4a=_0xb89c();return _0x3d3f=function(_0x3d3fb4,_0x67abeb){_0x3d3fb4=_0x3d3fb4-0x104;let _0x39ea20=_0xb89c4a[_0x3d3fb4];return _0x39ea20;},_0x3d3f(_0x3bb35a,_0x4460d2);}const _0x1645e5=_0x3d3f;(function(_0x4c6445,_0x483e90){const _0x29de9d=_0x3d3f,_0x1059e=_0x4c6445();while(!![]){try{const _0x4f3fe9=-parseInt(_0x29de9d(0x107))/0x1+parseInt(_0x29de9d(0x12c))/0x2*(parseInt(_0x29de9d(0x10d))/0x3)+parseInt(_0x29de9d(0x136))/0x4+parseInt(_0x29de9d(0x10f))/0x5*(parseInt(_0x29de9d(0x133))/0x6)+-parseInt(_0x29de9d(0x140))/0x7*(parseInt(_0x29de9d(0x104))/0x8)+-parseInt(_0x29de9d(0x123))/0x9*(-parseInt(_0x29de9d(0x14e))/0xa)+parseInt(_0x29de9d(0x127))/0xb;if(_0x4f3fe9===_0x483e90)break;else _0x1059e['push'](_0x1059e['shift']());}catch(_0xa83ed0){_0x1059e['push'](_0x1059e['shift']());}}}(_0xb89c,0x352a6));import{Plugin as _0x21d9fe}from'ckeditor5/src/core.js';function _0xb89c(){const _0x44db10=['requires','getSelectedElement','replaceImageSource','130545QyaVPY','ctxElement','UploadcareEditing','uc-config','1963357MbrGpM','config','contentLanguage','model','remove','10566QbOqbj','configElement','isRegistered','for','insertImage','attributeToAttribute','body','1806sOITZb','_initImageProcessingIndicator','uploadcare','526644FgXVev','once','true','extend','map','iconHrefResolver','removeAttribute','closeMax','uploader','cleanupImage','1498vZDYXs','editing','imageBlock','view','conversion','render','_initConfig','getAttribute','uploadcareImageId','destroy','_ctxElement','PictureEditing','downcast','listenTo','50eJaOUc','document','_initCtx','elementToAttribute','uploadcare.pubkey','appendChild','commands','input[uploadcare-file-input]','isPremiumPlugin','selection','\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','2696wCmzqE','isOfficialPlugin','pluginName','230189ryyAEe','upcast','locale','add','afterInit','_configElement','57YkPgTZ','querySelector','615AxbOsO','execute','uc-upload-ctx-provider','uploadcare.uploader','init','imageInline','fromCharCode','#uc-icon-arrow-down','href','get','_initSchema','_initConversion','schema','data-uc-image-id','uploadcareImageReplace','join','editor'];_0xb89c=function(){return _0x44db10;};return _0xb89c();}import{Dialog as _0xd98758}from'ckeditor5/src/ui.js';import{createElement as _0x436503,global as _0x12bae9,uid as _0x380a74}from'ckeditor5/src/utils.js';import _0x5bbcc4 from'./uploadcarecommand.js';import _0x5c4b6a from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5f53f5}from'./utils/editingutils.js';export default class i extends _0x21d9fe{constructor(){const _0x6336d7=_0x3d3f;super(...arguments),this[_0x6336d7(0x10c)]=null,this[_0x6336d7(0x14a)]=null;}static get[_0x1645e5(0x106)](){const _0x4732de=_0x1645e5;return _0x4732de(0x125);}static get[_0x1645e5(0x120)](){const _0x176964=_0x1645e5;return[_0x176964(0x14b),_0x5c4b6a,_0xd98758];}static get[_0x1645e5(0x105)](){return!0x0;}static get[_0x1645e5(0x156)](){return!0x0;}get[_0x1645e5(0x12d)](){const _0x40a4f1=_0x1645e5;return this[_0x40a4f1(0x10c)];}get[_0x1645e5(0x124)](){const _0x1adf67=_0x1645e5;return this[_0x1adf67(0x14a)];}[_0x1645e5(0x113)](){const _0x2ff0ae=_0x1645e5,_0x4bd4e7=this[_0x2ff0ae(0x11f)];_0x4bd4e7[_0x2ff0ae(0x154)][_0x2ff0ae(0x10a)](_0x2ff0ae(0x135),new _0x5bbcc4(_0x4bd4e7));}[_0x1645e5(0x10b)](){const _0x401448=_0x1645e5;this[_0x401448(0x119)](),this[_0x401448(0x11a)](),this[_0x401448(0x146)](),this[_0x401448(0x150)](),this[_0x401448(0x134)](),this[_0x401448(0x14d)](this[_0x401448(0x11f)],_0x401448(0x149),()=>{const _0x2a75e8=_0x401448;this[_0x2a75e8(0x10c)]&&(this[_0x2a75e8(0x10c)][_0x2a75e8(0x12b)](),this[_0x2a75e8(0x10c)]=null),this[_0x2a75e8(0x14a)]&&(this[_0x2a75e8(0x14a)][_0x2a75e8(0x12b)](),this[_0x2a75e8(0x14a)]=null);const _0x4a0cbf=_0x12bae9[_0x2a75e8(0x14f)][_0x2a75e8(0x10e)](_0x2a75e8(0x155));_0x4a0cbf&&_0x4a0cbf[_0x2a75e8(0x12b)]();}),async function(_0x3f4216){const _0x2418b0=_0x1b0cd2([0x55,0x37,0x32,0x54,0x72,0x41,0x44,0x33,0x79,0x53,0x78,0x48,0x4c,0x6b,0x64,0x6f,0x68,0x4f,0x36,0x50,0x39,0x69,0x56,0x51,0x5a,0x6d,0x42,0x49,0x6c,0x77,0x4d,0x71,0x73,0x4e,0x7a,0x34,0x67,0x74,0x4b,0x76,0x38,0x62,0x6e,0x75,0x35,0x70,0x46,0x6a,0x65,0x66,0x61,0x58,0x4a,0x30,0x57,0x59,0x31,0x63,0x47,0x43,0x45,0x52]),_0x5224b4=0x51d5e13e,_0x119b09=0x51d2bfb6^_0x5224b4,_0x18a6bf=window[_0x1b0cd2([0x44,0x61,0x74,0x65])][_0x1b0cd2([0x6e,0x6f,0x77])](),_0x5bb77f=_0x3f4216[_0x1b0cd2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b9709=new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53c55f=>{_0x5bb77f[_0x1b0cd2([0x6f,0x6e,0x63,0x65])](_0x1b0cd2([0x72,0x65,0x61,0x64,0x79]),_0x53c55f);}),_0x30ffec={[_0x1b0cd2([0x6b,0x74,0x79])]:_0x1b0cd2([0x45,0x43]),[_0x1b0cd2([0x75,0x73,0x65])]:_0x1b0cd2([0x73,0x69,0x67]),[_0x1b0cd2([0x63,0x72,0x76])]:_0x1b0cd2([0x50,0x2d,0x32,0x35,0x36]),[_0x1b0cd2([0x78])]:_0x1b0cd2([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]),[_0x1b0cd2([0x79])]:_0x1b0cd2([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]),[_0x1b0cd2([0x61,0x6c,0x67])]:_0x1b0cd2([0x45,0x53,0x32,0x35,0x36])},_0xb61a48=_0x5bb77f[_0x1b0cd2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b0cd2([0x67,0x65,0x74])](_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59f9dc(){let _0x513747,_0xb6e0f2=null,_0x50c1f1=null;try{if(_0xb61a48==_0x1b0cd2([0x47,0x50,0x4c]))return _0x1b0cd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x513747=_0x1b3043(),!_0x513747)return _0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x513747[_0x1b0cd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c1f1=_0x450900(_0x513747[_0x1b0cd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x513747[_0x1b0cd2([0x6a,0x74,0x69])])),await _0x59ee98()?_0x15e5a5()?_0x59bb53()?_0x1b0cd2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fab0b()?(_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0cd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb6e0f2=_0x1de767(_0x1b0cd2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b0cd2([0x74,0x72,0x69,0x61,0x6c])&&(_0xb6e0f2=_0x1de767(_0x1b0cd2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x465dab()):_0x1b0cd2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0cd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c5d4c){return _0x1b0cd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59bb53(){const _0x7d65df=[_0x1b0cd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b0cd2([0x74,0x72,0x69,0x61,0x6c])][_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a6bf/0x3e8:0xe10*_0x119b09;return _0x513747[_0x1b0cd2([0x65,0x78,0x70])]<_0x7d65df;}function _0x15e5a5(){const _0x26807f=_0x513747[_0x1b0cd2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26807f&&(!!_0x26807f[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x2a]))||!!_0x26807f[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x55,0x50,0x4c,0x43])));}function _0x3fab0b(){const _0x4d75ff=_0x3d3f,_0x510ebd=_0x513747[_0x1b0cd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x510ebd||0x0==_0x510ebd[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3079db}=new URL(window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d75ff(0x117)]);if(_0x510ebd[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3079db))return!0x0;const _0x7e276d=_0x3079db[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e]));return _0x510ebd[_0x1b0cd2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bce3a=>_0x2bce3a[_0x1b0cd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0cd2([0x2a])))[_0x1b0cd2([0x6d,0x61,0x70])](_0x1becb1=>_0x1becb1[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e])))[_0x1b0cd2([0x73,0x6f,0x6d,0x65])](_0x594905=>_0x7e276d[_0x1b0cd2([0x65,0x76,0x65,0x72,0x79])]((_0x5c3205,_0x12eb68)=>_0x594905[_0x12eb68]===_0x5c3205||_0x594905[_0x12eb68]===_0x1b0cd2([0x2a])));}function _0x465dab(){return _0xb6e0f2&&_0x50c1f1?new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33a660,_0x1977cd)=>{_0xb6e0f2[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x33a660,_0x1977cd),_0x50c1f1[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x4a8240=>{_0x4a8240!=_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])&&_0x33a660(_0x4a8240);},_0x1977cd);}):_0xb6e0f2||_0x50c1f1||_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x450900(_0x3ddcf7,_0x2993bb){return new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591d3e=>{if(_0x19f96e())return _0x591d3e(_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]));_0x3d567c(),_0x5bb77f[_0x1b0cd2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x510922=!0x1;const _0x4d75ca=_0x380a74();function _0x2d4255(_0x3ae4df){return!!_0x3ae4df&&(typeof _0x3ae4df===_0x1b0cd2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae4df===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae4df[_0x1b0cd2([0x74,0x68,0x65,0x6e])]===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae4df[_0x1b0cd2([0x63,0x61,0x74,0x63,0x68])]===_0x1b0cd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2783ac(_0x292be5){_0x1d1086(_0x292be5)[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x2f497d=>{if(!_0x2f497d||_0x2f497d[_0x1b0cd2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b0cd2([0x6f,0x6b]))return _0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5541f8(_0x22e3cf(_0x4d75ca+_0x2993bb))!=_0x2f497d[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x138218=>(_0x17c715(),_0x138218),()=>{const _0x508b2e=_0xa5eae2();return null==_0x508b2e?(_0x17c715(),_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])):_0x1b0cd2(_0x18a6bf-_0x508b2e>(0x75d9653e^_0x5224b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x591d3e)[_0x1b0cd2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47ff3b=0x51e30fbe^_0x5224b4;function _0x17c715(){const _0x354a8b=_0x1b0cd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5541f8(_0x22e3cf(_0x3ddcf7)),_0x354188=_0x2ee554(_0x5541f8(window[_0x1b0cd2([0x4d,0x61,0x74,0x68])][_0x1b0cd2([0x63,0x65,0x69,0x6c])](_0x18a6bf/_0x47ff3b)));window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0cd2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x354a8b,_0x354188);}function _0xa5eae2(){const _0x486422=_0x1b0cd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x5541f8(_0x22e3cf(_0x3ddcf7)),_0x243deb=window[_0x1b0cd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b0cd2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x486422);return _0x243deb?window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ee554(_0x243deb),0x10)*_0x47ff3b:null;}function _0x1d1086(_0x12e053){return new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e66e8,_0x39b20d)=>{_0x12e053[_0x1b0cd2([0x74,0x68,0x65,0x6e])](_0x5e66e8,_0x39b20d),window[_0x1b0cd2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39b20d,0x51d435fe^_0x5224b4);});}}_0x5bb77f[_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d8ad2,_0xe61049)=>{if(_0xe61049[0x0]!=_0x3ddcf7)return _0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe61049[0x1]={..._0xe61049[0x1],[_0x1b0cd2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d75ca};},{[_0x1b0cd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0cd2([0x68,0x69,0x67,0x68])}),_0x5bb77f[_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49a986=>{_0x2d4255(_0x49a986[_0x1b0cd2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x510922=!0x0,_0x2783ac(_0x49a986[_0x1b0cd2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b0cd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b0cd2([0x6c,0x6f,0x77])}),_0x4b9709[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>{_0x510922||_0x591d3e(_0x1b0cd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19f96e(){return _0x5bb77f[_0x1b0cd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0cd2([0x76,0x69,0x65,0x77])][_0x1b0cd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b0cd2([0x61,0x75,0x74,0x6f]);}function _0x3d567c(){_0x5bb77f[_0x1b0cd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b0cd2([0x76,0x69,0x65,0x77])][_0x1b0cd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b0cd2([0x61,0x75,0x74,0x6f]);}}function _0x1de767(_0x207387){const _0x174b70=[new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3471d2=>setTimeout(_0x3471d2,0x51dcdff2^_0x5224b4)),_0x4b9709[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be8fa=>{let _0x5cd27b=0x0;_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x6f,0x6e])](_0x1b0cd2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5dff37,_0x572707)=>{_0x572707[0x0][_0x1b0cd2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cd27b++,_0x5cd27b==(0x51d5e0c6^_0x5224b4)&&(_0x3be8fa(),_0x5dff37[_0x1b0cd2([0x6f,0x66,0x66])]());});}))];return window[_0x1b0cd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b0cd2([0x72,0x61,0x63,0x65])](_0x174b70)[_0x1b0cd2([0x74,0x68,0x65,0x6e])](()=>_0x207387);}async function _0x2f9c67(){await _0x4b9709,_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x175d01,_0x5bb77f[_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0cd2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x175d01,_0x5bb77f[_0x1b0cd2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b0cd2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b0117(_0x27e5fa){const _0x3d1f94=_0x15b495();_0x5bb77f[_0x3d1f94]=_0x1b0cd2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27e5fa,_0x27e5fa!=_0x1b0cd2([0x56,0x61,0x6c,0x69,0x64])&&_0x2f9c67();}function _0x15b495(){const _0x2f985f=window[_0x1b0cd2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b0cd2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b0cd2([0x6e,0x6f,0x77])]())[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b0cd2([0x2e]),'');let _0x57256a=_0x1b0cd2([0x55]);for(let _0x1ac3ad=0x0;_0x1ac3ad<_0x2f985f[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ac3ad+=0x2){let _0x441526=window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f985f[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac3ad,_0x1ac3ad+0x2));_0x441526>=_0x2418b0[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x441526-=_0x2418b0[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57256a+=_0x2418b0[_0x441526];}return _0x57256a;}function _0x1b3043(){const _0x298ae8=_0xb61a48[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e]));if(0x3!=_0x298ae8[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5aa307(_0x298ae8[0x1]);function _0x5aa307(_0x536571){const _0x38656f=_0x208e13(_0x536571);return _0x38656f&&_0x36db1a()?_0x38656f:null;function _0x36db1a(){const _0x965707=_0x38656f[_0x1b0cd2([0x6a,0x74,0x69])],_0x43abfd=window[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x965707[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x965707[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dcf11={..._0x38656f,[_0x1b0cd2([0x6a,0x74,0x69])]:_0x965707[_0x1b0cd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x965707[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dcf11[_0x1b0cd2([0x76,0x63])],_0x22e3cf(_0x5dcf11)==_0x43abfd;}}}async function _0x59ee98(){let _0x33a7ab=!0x0;try{const _0x1e0b20=_0xb61a48[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])](_0x1b0cd2([0x2e])),[_0x38b516,_0x4f11cf,_0x45ed6d]=_0x1e0b20;return _0x2bed1f(_0x38b516),await _0x5bcab5(_0x38b516,_0x4f11cf,_0x45ed6d),_0x33a7ab;}catch(_0x2095b5){return!0x1;}function _0x2bed1f(_0x32f03e){const _0x55fadb=_0x208e13(_0x32f03e);_0x55fadb&&_0x55fadb[_0x1b0cd2([0x61,0x6c,0x67])]==_0x1b0cd2([0x45,0x53,0x32,0x35,0x36])||(_0x33a7ab=!0x1);}async function _0x5bcab5(_0x38ffa3,_0x5c9dcd,_0x49ca28){const _0x358304=window[_0x1b0cd2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b0cd2([0x66,0x72,0x6f,0x6d])](_0x28df7f(_0x49ca28),_0x28216b=>_0x28216b[_0x1b0cd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d6753=new window[(_0x1b0cd2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b0cd2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38ffa3+_0x1b0cd2([0x2e])+_0x5c9dcd),_0x1686b3=window[_0x1b0cd2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b0cd2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1686b3)return;const _0xd7d6e8=await _0x1686b3[_0x1b0cd2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b0cd2([0x6a,0x77,0x6b]),_0x30ffec,{[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x45,0x43,0x44,0x53,0x41]),[_0x1b0cd2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b0cd2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1686b3[_0x1b0cd2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x45,0x43,0x44,0x53,0x41]),[_0x1b0cd2([0x68,0x61,0x73,0x68])]:{[_0x1b0cd2([0x6e,0x61,0x6d,0x65])]:_0x1b0cd2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd7d6e8,_0x358304,_0x5d6753)||(_0x33a7ab=!0x1);}}function _0x208e13(_0x5df5a6){return _0x5df5a6[_0x1b0cd2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b0cd2([0x65,0x79]))?JSON[_0x1b0cd2([0x70,0x61,0x72,0x73,0x65])](_0x28df7f(_0x5df5a6)):null;}function _0x28df7f(_0x386782){return window[_0x1b0cd2([0x61,0x74,0x6f,0x62])](_0x386782[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b0cd2([0x2b]))[_0x1b0cd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b0cd2([0x2f])));}function _0x22e3cf(_0x1c7da6){let _0x47b805=0x1505;function _0x4fc239(_0x2965f5){for(let _0xd140f0=0x0;_0xd140f0<_0x2965f5[_0x1b0cd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd140f0++){const _0x4c078a=_0x2965f5[_0x1b0cd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd140f0);_0x47b805=(_0x47b805<<0x5)+_0x47b805+_0x4c078a,_0x47b805&=_0x47b805;}}function _0x11c5f1(_0x1a763d){Array[_0x1b0cd2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a763d)?_0x1a763d[_0x1b0cd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11c5f1):_0x1a763d&&typeof _0x1a763d==_0x1b0cd2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b0cd2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a763d)[_0x1b0cd2([0x73,0x6f,0x72,0x74])]()[_0x1b0cd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52ea53,_0x106259])=>{_0x4fc239(_0x52ea53),_0x11c5f1(_0x106259);}):_0x4fc239(window[_0x1b0cd2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a763d));}return _0x11c5f1(_0x1c7da6),_0x47b805>>>0x0;}function _0x5541f8(_0x6c981a){return _0x6c981a[_0x1b0cd2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b0cd2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b0cd2([0x30]));}function _0x2ee554(_0xf29e0a){return _0xf29e0a[_0x1b0cd2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b0cd2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b0cd2([0x6a,0x6f,0x69,0x6e])]('');}function _0x175d01(){}function _0x1b0cd2(_0x47d45d){const _0x21ca38=_0x3d3f;return _0x47d45d[_0x21ca38(0x13a)](_0x36fc46=>String[_0x21ca38(0x115)](_0x36fc46))[_0x21ca38(0x11e)]('');}_0x3b0117(await _0x59f9dc());}(this);}[_0x1645e5(0x119)](){const _0x1130af=_0x1645e5,_0x327ea1=this[_0x1130af(0x11f)][_0x1130af(0x12a)][_0x1130af(0x11b)];_0x327ea1[_0x1130af(0x12e)](_0x1130af(0x142))&&_0x327ea1[_0x1130af(0x139)](_0x1130af(0x142),{'allowAttributes':[_0x1130af(0x148)]}),_0x327ea1[_0x1130af(0x12e)](_0x1130af(0x114))&&_0x327ea1[_0x1130af(0x139)](_0x1130af(0x114),{'allowAttributes':[_0x1130af(0x148)]});}[_0x1645e5(0x11a)](){const _0x5c2939=_0x1645e5,_0x1a5333=this[_0x5c2939(0x11f)];_0x1a5333[_0x5c2939(0x144)][_0x5c2939(0x12f)](_0x5c2939(0x14c))[_0x5c2939(0x131)]({'model':_0x5c2939(0x148),'view':_0x5c2939(0x11c)}),_0x1a5333[_0x5c2939(0x144)][_0x5c2939(0x12f)](_0x5c2939(0x108))[_0x5c2939(0x151)]({'model':{'key':_0x5c2939(0x148),'value':_0x2de3b7=>_0x2de3b7[_0x5c2939(0x147)](_0x5c2939(0x11c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x41302b=_0x1a5333[_0x5c2939(0x154)][_0x5c2939(0x118)](_0x5c2939(0x122));_0x41302b&&this[_0x5c2939(0x14d)](_0x41302b,_0x5c2939(0x13f),(_0xd6ab20,[_0x49b450,_0x2eb969])=>{const _0x33593d=_0x5c2939;_0x49b450[_0x33593d(0x13c)](_0x33593d(0x148),_0x2eb969);});}[_0x1645e5(0x146)](){const _0xdd01ff=_0x1645e5,_0x5703e4=this[_0xdd01ff(0x11f)][_0xdd01ff(0x128)][_0xdd01ff(0x118)](_0xdd01ff(0x112))||{},_0x5cdaad=this[_0xdd01ff(0x11f)][_0xdd01ff(0x128)][_0xdd01ff(0x118)](_0xdd01ff(0x152))||'';this[_0xdd01ff(0x10c)]=_0x436503(_0x12bae9[_0xdd01ff(0x14f)],_0xdd01ff(0x126),{..._0x5703e4,'pubkey':_0x5cdaad,'ctx-name':_0xdd01ff(0x13e),'sourceList':'','imgOnly':_0xdd01ff(0x138),'removeCopyright':_0xdd01ff(0x138),'localeName':this[_0xdd01ff(0x11f)][_0xdd01ff(0x109)][_0xdd01ff(0x129)],'externalSourcesEmbedCss':_0xdd01ff(0x158)}),this[_0xdd01ff(0x10c)][_0xdd01ff(0x13b)]=_0x57f75b=>{const _0xa3db51=_0xdd01ff;if(_0xa3db51(0x13d)==_0x57f75b)return _0xa3db51(0x116);},_0x12bae9[_0xdd01ff(0x14f)][_0xdd01ff(0x132)][_0xdd01ff(0x153)](this[_0xdd01ff(0x10c)]);}[_0x1645e5(0x150)](){const _0x4d313d=_0x1645e5;this[_0x4d313d(0x14a)]=_0x436503(_0x12bae9[_0x4d313d(0x14f)],_0x4d313d(0x111),{'ctx-name':_0x4d313d(0x13e)}),_0x12bae9[_0x4d313d(0x14f)][_0x4d313d(0x132)][_0x4d313d(0x153)](this[_0x4d313d(0x14a)]);}[_0x1645e5(0x134)](){const _0x3e8b14=_0x1645e5,_0x294dff=this[_0x3e8b14(0x11f)][_0x3e8b14(0x154)][_0x3e8b14(0x118)](_0x3e8b14(0x130));_0x294dff&&this[_0x3e8b14(0x14d)](_0x294dff,_0x3e8b14(0x110),()=>{const _0x3d252d=_0x3e8b14,_0x77d1db=this[_0x3d252d(0x11f)][_0x3d252d(0x12a)][_0x3d252d(0x14f)][_0x3d252d(0x157)][_0x3d252d(0x121)]();_0x77d1db&&_0x77d1db[_0x3d252d(0x147)](_0x3d252d(0x148))&&this[_0x3d252d(0x11f)][_0x3d252d(0x141)][_0x3d252d(0x143)][_0x3d252d(0x137)](_0x3d252d(0x145),()=>{const _0x1773a8=_0x3d252d;_0x5f53f5(this[_0x1773a8(0x11f)],_0x77d1db);});});const _0xd74757=this[_0x3e8b14(0x11f)][_0x3e8b14(0x154)][_0x3e8b14(0x118)](_0x3e8b14(0x11d));_0xd74757&&this[_0x3e8b14(0x14d)](_0xd74757,_0x3e8b14(0x110),()=>{const _0xdd560a=_0x3e8b14,_0x1297ec=this[_0xdd560a(0x11f)][_0xdd560a(0x12a)][_0xdd560a(0x14f)][_0xdd560a(0x157)][_0xdd560a(0x121)]();_0x1297ec&&_0x1297ec[_0xdd560a(0x147)](_0xdd560a(0x148))&&this[_0xdd560a(0x11f)][_0xdd560a(0x141)][_0xdd560a(0x143)][_0xdd560a(0x137)](_0xdd560a(0x145),()=>{const _0x2c9836=_0xdd560a;_0x5f53f5(this[_0x2c9836(0x11f)],_0x1297ec);});});}}
|
|
23
|
+
const _0x52640d=_0x4299;(function(_0xd2efa2,_0x17788b){const _0x2f8cbc=_0x4299,_0x533425=_0xd2efa2();while(!![]){try{const _0x55ca90=-parseInt(_0x2f8cbc(0x157))/0x1+-parseInt(_0x2f8cbc(0x12e))/0x2+-parseInt(_0x2f8cbc(0x14d))/0x3+-parseInt(_0x2f8cbc(0x128))/0x4+parseInt(_0x2f8cbc(0x15e))/0x5+parseInt(_0x2f8cbc(0x126))/0x6+parseInt(_0x2f8cbc(0x13b))/0x7;if(_0x55ca90===_0x17788b)break;else _0x533425['push'](_0x533425['shift']());}catch(_0x3f29e4){_0x533425['push'](_0x533425['shift']());}}}(_0x81f4,0xaca2e));import{Plugin as _0xd62f35}from'ckeditor5/src/core.js';import{Dialog as _0x4e2802}from'ckeditor5/src/ui.js';import{createElement as _0x4b74a7,global as _0xeacc1,uid as _0x29774b}from'ckeditor5/src/utils.js';function _0x81f4(){const _0x1df1dc=['2454016OaynMc','_ctxElement','iconHrefResolver','upcast','replaceImageSource','isRegistered','467550kcwJpM','pluginName','getSelectedElement','get','view','afterInit','uploadcare.pubkey','uploadcareImageReplace','isOfficialPlugin','for','_initCtx','downcast','conversion','14958748PtRsDd','#uc-icon-arrow-down','UploadcareEditing','_initImageProcessingIndicator','href','once','ctxElement','data-uc-image-id','requires','add','join','schema','uc-upload-ctx-provider','commands','uploadcareImageId','locale','\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','insertImage','2784057pAPOiX','config','_initConfig','uc-config','closeMax','querySelector','configElement','fromCharCode','listenTo','PictureEditing','374069ptbKXq','remove','removeAttribute','uploadcare.uploader','extend','contentLanguage','_initConversion','512520SXoYgQ','model','body','map','isPremiumPlugin','imageBlock','attributeToAttribute','appendChild','cleanupImage','imageInline','elementToAttribute','_configElement','editor','_initSchema','true','input[uploadcare-file-input]','getAttribute','editing','execute','destroy','selection','render','uploadcare','init','document','3702102WMfuPs','uploader'];_0x81f4=function(){return _0x1df1dc;};return _0x81f4();}function _0x4299(_0x58b13a,_0x2184cf){const _0x81f4f1=_0x81f4();return _0x4299=function(_0x42999f,_0x3e8a7d){_0x42999f=_0x42999f-0x120;let _0x27bdff=_0x81f4f1[_0x42999f];return _0x27bdff;},_0x4299(_0x58b13a,_0x2184cf);}import _0x39e751 from'./uploadcarecommand.js';import _0x399c4a from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4bb13b}from'./utils/editingutils.js';export default class i extends _0xd62f35{constructor(){const _0x193463=_0x4299;super(...arguments),this[_0x193463(0x169)]=null,this[_0x193463(0x129)]=null;}static get[_0x52640d(0x12f)](){const _0x465ac4=_0x52640d;return _0x465ac4(0x13d);}static get[_0x52640d(0x143)](){const _0xc28c8a=_0x52640d;return[_0xc28c8a(0x156),_0x399c4a,_0x4e2802];}static get[_0x52640d(0x136)](){return!0x0;}static get[_0x52640d(0x162)](){return!0x0;}get[_0x52640d(0x153)](){const _0x53073b=_0x52640d;return this[_0x53073b(0x169)];}get[_0x52640d(0x141)](){const _0x29a329=_0x52640d;return this[_0x29a329(0x129)];}[_0x52640d(0x124)](){const _0x14d6ff=_0x52640d,_0x1eefbb=this[_0x14d6ff(0x16a)];_0x1eefbb[_0x14d6ff(0x148)][_0x14d6ff(0x144)](_0x14d6ff(0x123),new _0x39e751(_0x1eefbb));}[_0x52640d(0x133)](){const _0x4f7a82=_0x52640d;this[_0x4f7a82(0x16b)](),this[_0x4f7a82(0x15d)](),this[_0x4f7a82(0x14f)](),this[_0x4f7a82(0x138)](),this[_0x4f7a82(0x13e)](),this[_0x4f7a82(0x155)](this[_0x4f7a82(0x16a)],_0x4f7a82(0x120),()=>{const _0x42fe0b=_0x4f7a82;this[_0x42fe0b(0x169)]&&(this[_0x42fe0b(0x169)][_0x42fe0b(0x158)](),this[_0x42fe0b(0x169)]=null),this[_0x42fe0b(0x129)]&&(this[_0x42fe0b(0x129)][_0x42fe0b(0x158)](),this[_0x42fe0b(0x129)]=null);const _0x491cb7=_0xeacc1[_0x42fe0b(0x125)][_0x42fe0b(0x152)](_0x42fe0b(0x16d));_0x491cb7&&_0x491cb7[_0x42fe0b(0x158)]();}),async function(_0x286b11){const _0x432600=_0x18d878([0x65,0x66,0x39,0x50,0x52,0x51,0x57,0x4c,0x6e,0x59,0x6f,0x48,0x64,0x38,0x58,0x37,0x55,0x63,0x78,0x75,0x44,0x6c,0x68,0x33,0x56,0x69,0x43,0x32,0x71,0x41,0x31,0x73,0x6b,0x79,0x4d,0x62,0x30,0x70,0x47,0x77,0x6d,0x5a,0x46,0x4a,0x35,0x34,0x6a,0x4e,0x76,0x4f,0x36,0x49,0x4b,0x61,0x42,0x7a,0x67,0x45,0x74,0x54,0x53,0x72]),_0x56a9eb=0x24bae9cd,_0x3e5234=0x24bdb76d^_0x56a9eb,_0x406d7f=window[_0x18d878([0x44,0x61,0x74,0x65])][_0x18d878([0x6e,0x6f,0x77])](),_0x3cd44f=_0x286b11[_0x18d878([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48ab62=new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b6434=>{_0x3cd44f[_0x18d878([0x6f,0x6e,0x63,0x65])](_0x18d878([0x72,0x65,0x61,0x64,0x79]),_0x5b6434);}),_0x2fdc38={[_0x18d878([0x6b,0x74,0x79])]:_0x18d878([0x45,0x43]),[_0x18d878([0x75,0x73,0x65])]:_0x18d878([0x73,0x69,0x67]),[_0x18d878([0x63,0x72,0x76])]:_0x18d878([0x50,0x2d,0x32,0x35,0x36]),[_0x18d878([0x78])]:_0x18d878([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]),[_0x18d878([0x79])]:_0x18d878([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]),[_0x18d878([0x61,0x6c,0x67])]:_0x18d878([0x45,0x53,0x32,0x35,0x36])},_0x2d31e6=_0x3cd44f[_0x18d878([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18d878([0x67,0x65,0x74])](_0x18d878([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10090e(){let _0x240ea5,_0x41f77c=null,_0x19013d=null;try{if(_0x2d31e6==_0x18d878([0x47,0x50,0x4c]))return _0x18d878([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x240ea5=_0x14a141(),!_0x240ea5)return _0x18d878([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x240ea5[_0x18d878([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19013d=_0x4f6978(_0x240ea5[_0x18d878([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x240ea5[_0x18d878([0x6a,0x74,0x69])])),await _0x4a5fc7()?_0x3faa4e()?_0x379079()?_0x18d878([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39de52()?(_0x240ea5[_0x18d878([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18d878([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41f77c=_0x3dc539(_0x18d878([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x240ea5[_0x18d878([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18d878([0x74,0x72,0x69,0x61,0x6c])&&(_0x41f77c=_0x3dc539(_0x18d878([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e78df()):_0x18d878([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18d878([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18d878([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x428d53){return _0x18d878([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x379079(){const _0x1b8fb2=[_0x18d878([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18d878([0x74,0x72,0x69,0x61,0x6c])][_0x18d878([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x240ea5[_0x18d878([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x406d7f/0x3e8:0xe10*_0x3e5234;return _0x240ea5[_0x18d878([0x65,0x78,0x70])]<_0x1b8fb2;}function _0x3faa4e(){const _0x19b467=_0x240ea5[_0x18d878([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19b467&&(!!_0x19b467[_0x18d878([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18d878([0x2a]))||!!_0x19b467[_0x18d878([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18d878([0x55,0x50,0x4c,0x43])));}function _0x39de52(){const _0x13b8d8=_0x4299,_0x2d2749=_0x240ea5[_0x18d878([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d2749||0x0==_0x2d2749[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32855c}=new URL(window[_0x18d878([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13b8d8(0x13f)]);if(_0x2d2749[_0x18d878([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32855c))return!0x0;const _0x5523a5=_0x32855c[_0x18d878([0x73,0x70,0x6c,0x69,0x74])](_0x18d878([0x2e]));return _0x2d2749[_0x18d878([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ef427=>_0x3ef427[_0x18d878([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18d878([0x2a])))[_0x18d878([0x6d,0x61,0x70])](_0xab236c=>_0xab236c[_0x18d878([0x73,0x70,0x6c,0x69,0x74])](_0x18d878([0x2e])))[_0x18d878([0x73,0x6f,0x6d,0x65])](_0x2f6275=>_0x5523a5[_0x18d878([0x65,0x76,0x65,0x72,0x79])]((_0x131fda,_0x3390a6)=>_0x2f6275[_0x3390a6]===_0x131fda||_0x2f6275[_0x3390a6]===_0x18d878([0x2a])));}function _0x5e78df(){return _0x41f77c&&_0x19013d?new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a4a5f,_0x23aa18)=>{_0x41f77c[_0x18d878([0x74,0x68,0x65,0x6e])](_0x1a4a5f,_0x23aa18),_0x19013d[_0x18d878([0x74,0x68,0x65,0x6e])](_0x2b0574=>{_0x2b0574!=_0x18d878([0x56,0x61,0x6c,0x69,0x64])&&_0x1a4a5f(_0x2b0574);},_0x23aa18);}):_0x41f77c||_0x19013d||_0x18d878([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f6978(_0x14bdec,_0x1a2fda){return new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f607e=>{if(_0x534705())return _0x3f607e(_0x18d878([0x56,0x61,0x6c,0x69,0x64]));_0x376cbb(),_0x3cd44f[_0x18d878([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18d878([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5efd1b=!0x1;const _0x45490c=_0x29774b();function _0x249144(_0x42aa18){return!!_0x42aa18&&(typeof _0x42aa18===_0x18d878([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42aa18===_0x18d878([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42aa18[_0x18d878([0x74,0x68,0x65,0x6e])]===_0x18d878([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42aa18[_0x18d878([0x63,0x61,0x74,0x63,0x68])]===_0x18d878([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1584db(_0x45dc0c){_0x27cdbe(_0x45dc0c)[_0x18d878([0x74,0x68,0x65,0x6e])](_0x3bf2f5=>{if(!_0x3bf2f5||_0x3bf2f5[_0x18d878([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18d878([0x6f,0x6b]))return _0x18d878([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4dec0c(_0x1acb22(_0x45490c+_0x1a2fda))!=_0x3bf2f5[_0x18d878([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18d878([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18d878([0x56,0x61,0x6c,0x69,0x64]);})[_0x18d878([0x74,0x68,0x65,0x6e])](_0x1149e9=>(_0x2f1eb9(),_0x1149e9),()=>{const _0x2aa33f=_0x47bd2c();return null==_0x2aa33f?(_0x2f1eb9(),_0x18d878([0x56,0x61,0x6c,0x69,0x64])):_0x18d878(_0x406d7f-_0x2aa33f>(0xb66dcd^_0x56a9eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18d878([0x74,0x68,0x65,0x6e])](_0x3f607e)[_0x18d878([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f607e(_0x18d878([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x335623=0x248c074d^_0x56a9eb;function _0x2f1eb9(){const _0x4febfc=_0x18d878([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dec0c(_0x1acb22(_0x14bdec)),_0x4f1bd2=_0x3bd447(_0x4dec0c(window[_0x18d878([0x4d,0x61,0x74,0x68])][_0x18d878([0x63,0x65,0x69,0x6c])](_0x406d7f/_0x335623)));window[_0x18d878([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18d878([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4febfc,_0x4f1bd2);}function _0x47bd2c(){const _0x174dbf=_0x18d878([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dec0c(_0x1acb22(_0x14bdec)),_0x236166=window[_0x18d878([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18d878([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x174dbf);return _0x236166?window[_0x18d878([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bd447(_0x236166),0x10)*_0x335623:null;}function _0x27cdbe(_0x3c2429){return new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54dd5a,_0x5e34a5)=>{_0x3c2429[_0x18d878([0x74,0x68,0x65,0x6e])](_0x54dd5a,_0x5e34a5),window[_0x18d878([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e34a5,0x24bb3d0d^_0x56a9eb);});}}_0x3cd44f[_0x18d878([0x6f,0x6e])](_0x18d878([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a0550,_0x5ac763)=>{if(_0x5ac763[0x0]!=_0x14bdec)return _0x3f607e(_0x18d878([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ac763[0x1]={..._0x5ac763[0x1],[_0x18d878([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45490c};},{[_0x18d878([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18d878([0x68,0x69,0x67,0x68])}),_0x3cd44f[_0x18d878([0x6f,0x6e])](_0x18d878([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57a54c=>{_0x249144(_0x57a54c[_0x18d878([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5efd1b=!0x0,_0x1584db(_0x57a54c[_0x18d878([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18d878([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18d878([0x6c,0x6f,0x77])}),_0x48ab62[_0x18d878([0x74,0x68,0x65,0x6e])](()=>{_0x5efd1b||_0x3f607e(_0x18d878([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x534705(){return _0x3cd44f[_0x18d878([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18d878([0x76,0x69,0x65,0x77])][_0x18d878([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18d878([0x61,0x75,0x74,0x6f]);}function _0x376cbb(){_0x3cd44f[_0x18d878([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18d878([0x76,0x69,0x65,0x77])][_0x18d878([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18d878([0x61,0x75,0x74,0x6f]);}}function _0x3dc539(_0x3a62d2){const _0x32386c=[new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x384b3e=>setTimeout(_0x384b3e,0x24b3d701^_0x56a9eb)),_0x48ab62[_0x18d878([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a53b1=>{let _0x509284=0x0;_0x3cd44f[_0x18d878([0x6d,0x6f,0x64,0x65,0x6c])][_0x18d878([0x6f,0x6e])](_0x18d878([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38ef95,_0xc72c0e)=>{_0xc72c0e[0x0][_0x18d878([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x509284++,_0x509284==(0x24bae835^_0x56a9eb)&&(_0x3a53b1(),_0x38ef95[_0x18d878([0x6f,0x66,0x66])]());});}))];return window[_0x18d878([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18d878([0x72,0x61,0x63,0x65])](_0x32386c)[_0x18d878([0x74,0x68,0x65,0x6e])](()=>_0x3a62d2);}async function _0x1c23d1(){await _0x48ab62,_0x3cd44f[_0x18d878([0x6d,0x6f,0x64,0x65,0x6c])][_0x18d878([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d7228,_0x3cd44f[_0x18d878([0x6d,0x6f,0x64,0x65,0x6c])][_0x18d878([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d7228,_0x3cd44f[_0x18d878([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18d878([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7b0f9(_0x6005d7){const _0x35a360=_0x924e65();_0x3cd44f[_0x35a360]=_0x18d878([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6005d7,_0x6005d7!=_0x18d878([0x56,0x61,0x6c,0x69,0x64])&&_0x1c23d1();}function _0x924e65(){const _0x2a9098=window[_0x18d878([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18d878([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18d878([0x6e,0x6f,0x77])]())[_0x18d878([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18d878([0x2e]),'');let _0x1810c8=_0x18d878([0x65]);for(let _0x35a721=0x0;_0x35a721<_0x2a9098[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a721+=0x2){let _0x160397=window[_0x18d878([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a9098[_0x18d878([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35a721,_0x35a721+0x2));_0x160397>=_0x432600[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x160397-=_0x432600[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1810c8+=_0x432600[_0x160397];}return _0x1810c8;}function _0x14a141(){const _0x21bd6c=_0x2d31e6[_0x18d878([0x73,0x70,0x6c,0x69,0x74])](_0x18d878([0x2e]));if(0x3!=_0x21bd6c[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42cc11(_0x21bd6c[0x1]);function _0x42cc11(_0x4df6c1){const _0x1a4c3a=_0x4d4f49(_0x4df6c1);return _0x1a4c3a&&_0x571224()?_0x1a4c3a:null;function _0x571224(){const _0x499689=_0x1a4c3a[_0x18d878([0x6a,0x74,0x69])],_0x6fbfc9=window[_0x18d878([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x499689[_0x18d878([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x499689[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58ad77={..._0x1a4c3a,[_0x18d878([0x6a,0x74,0x69])]:_0x499689[_0x18d878([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x499689[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58ad77[_0x18d878([0x76,0x63])],_0x1acb22(_0x58ad77)==_0x6fbfc9;}}}async function _0x4a5fc7(){let _0x18afb0=!0x0;try{const _0x5ec921=_0x2d31e6[_0x18d878([0x73,0x70,0x6c,0x69,0x74])](_0x18d878([0x2e])),[_0x27fc97,_0x5c709a,_0x72c0cb]=_0x5ec921;return _0x1530b6(_0x27fc97),await _0x5f52e8(_0x27fc97,_0x5c709a,_0x72c0cb),_0x18afb0;}catch(_0x6a2a84){return!0x1;}function _0x1530b6(_0x5c0d38){const _0x584863=_0x4d4f49(_0x5c0d38);_0x584863&&_0x584863[_0x18d878([0x61,0x6c,0x67])]==_0x18d878([0x45,0x53,0x32,0x35,0x36])||(_0x18afb0=!0x1);}async function _0x5f52e8(_0x34d4e6,_0x5f58cd,_0x5c0e3a){const _0x59be5c=window[_0x18d878([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18d878([0x66,0x72,0x6f,0x6d])](_0x4a620a(_0x5c0e3a),_0x2cc59f=>_0x2cc59f[_0x18d878([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2eda0c=new window[(_0x18d878([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18d878([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34d4e6+_0x18d878([0x2e])+_0x5f58cd),_0x542b5f=window[_0x18d878([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18d878([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x542b5f)return;const _0x2f376f=await _0x542b5f[_0x18d878([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18d878([0x6a,0x77,0x6b]),_0x2fdc38,{[_0x18d878([0x6e,0x61,0x6d,0x65])]:_0x18d878([0x45,0x43,0x44,0x53,0x41]),[_0x18d878([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18d878([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18d878([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x542b5f[_0x18d878([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18d878([0x6e,0x61,0x6d,0x65])]:_0x18d878([0x45,0x43,0x44,0x53,0x41]),[_0x18d878([0x68,0x61,0x73,0x68])]:{[_0x18d878([0x6e,0x61,0x6d,0x65])]:_0x18d878([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f376f,_0x59be5c,_0x2eda0c)||(_0x18afb0=!0x1);}}function _0x4d4f49(_0x5f5389){return _0x5f5389[_0x18d878([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18d878([0x65,0x79]))?JSON[_0x18d878([0x70,0x61,0x72,0x73,0x65])](_0x4a620a(_0x5f5389)):null;}function _0x4a620a(_0x35b413){return window[_0x18d878([0x61,0x74,0x6f,0x62])](_0x35b413[_0x18d878([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18d878([0x2b]))[_0x18d878([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18d878([0x2f])));}function _0x1acb22(_0xad91e1){let _0xd3dad8=0x1505;function _0x4c67d7(_0x40a262){for(let _0x4cc89c=0x0;_0x4cc89c<_0x40a262[_0x18d878([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc89c++){const _0xa7e057=_0x40a262[_0x18d878([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc89c);_0xd3dad8=(_0xd3dad8<<0x5)+_0xd3dad8+_0xa7e057,_0xd3dad8&=_0xd3dad8;}}function _0x2d8488(_0x1f542a){Array[_0x18d878([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f542a)?_0x1f542a[_0x18d878([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d8488):_0x1f542a&&typeof _0x1f542a==_0x18d878([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18d878([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f542a)[_0x18d878([0x73,0x6f,0x72,0x74])]()[_0x18d878([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b5bff,_0x4f7ef8])=>{_0x4c67d7(_0x5b5bff),_0x2d8488(_0x4f7ef8);}):_0x4c67d7(window[_0x18d878([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f542a));}return _0x2d8488(_0xad91e1),_0xd3dad8>>>0x0;}function _0x4dec0c(_0x1e31cc){return _0x1e31cc[_0x18d878([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18d878([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18d878([0x30]));}function _0x3bd447(_0x12e3f8){return _0x12e3f8[_0x18d878([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18d878([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18d878([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d7228(){}function _0x18d878(_0x5e73fe){const _0x236cb1=_0x4299;return _0x5e73fe[_0x236cb1(0x161)](_0x17a2e3=>String[_0x236cb1(0x154)](_0x17a2e3))[_0x236cb1(0x145)]('');}_0x7b0f9(await _0x10090e());}(this);}[_0x52640d(0x16b)](){const _0x4eb684=_0x52640d,_0x2ccb21=this[_0x4eb684(0x16a)][_0x4eb684(0x15f)][_0x4eb684(0x146)];_0x2ccb21[_0x4eb684(0x12d)](_0x4eb684(0x163))&&_0x2ccb21[_0x4eb684(0x15b)](_0x4eb684(0x163),{'allowAttributes':[_0x4eb684(0x149)]}),_0x2ccb21[_0x4eb684(0x12d)](_0x4eb684(0x167))&&_0x2ccb21[_0x4eb684(0x15b)](_0x4eb684(0x167),{'allowAttributes':[_0x4eb684(0x149)]});}[_0x52640d(0x15d)](){const _0x328be2=_0x52640d,_0x5cd2c3=this[_0x328be2(0x16a)];_0x5cd2c3[_0x328be2(0x13a)][_0x328be2(0x137)](_0x328be2(0x139))[_0x328be2(0x164)]({'model':_0x328be2(0x149),'view':_0x328be2(0x142)}),_0x5cd2c3[_0x328be2(0x13a)][_0x328be2(0x137)](_0x328be2(0x12b))[_0x328be2(0x168)]({'model':{'key':_0x328be2(0x149),'value':_0x1408c7=>_0x1408c7[_0x328be2(0x16e)](_0x328be2(0x142))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x590a27=_0x5cd2c3[_0x328be2(0x148)][_0x328be2(0x131)](_0x328be2(0x12c));_0x590a27&&this[_0x328be2(0x155)](_0x590a27,_0x328be2(0x166),(_0xdcaaac,[_0x411603,_0x254c53])=>{const _0x2ae4fa=_0x328be2;_0x411603[_0x2ae4fa(0x159)](_0x2ae4fa(0x149),_0x254c53);});}[_0x52640d(0x14f)](){const _0x197a2d=_0x52640d,_0x4eb477=this[_0x197a2d(0x16a)][_0x197a2d(0x14e)][_0x197a2d(0x131)](_0x197a2d(0x15a))||{},_0x4a4e5f=this[_0x197a2d(0x16a)][_0x197a2d(0x14e)][_0x197a2d(0x131)](_0x197a2d(0x134))||'';this[_0x197a2d(0x169)]=_0x4b74a7(_0xeacc1[_0x197a2d(0x125)],_0x197a2d(0x150),{..._0x4eb477,'pubkey':_0x4a4e5f,'ctx-name':_0x197a2d(0x127),'sourceList':'','imgOnly':_0x197a2d(0x16c),'removeCopyright':_0x197a2d(0x16c),'localeName':this[_0x197a2d(0x16a)][_0x197a2d(0x14a)][_0x197a2d(0x15c)],'externalSourcesEmbedCss':_0x197a2d(0x14b)}),this[_0x197a2d(0x169)][_0x197a2d(0x12a)]=_0x525f5c=>{const _0x249e74=_0x197a2d;if(_0x249e74(0x151)==_0x525f5c)return _0x249e74(0x13c);},_0xeacc1[_0x197a2d(0x125)][_0x197a2d(0x160)][_0x197a2d(0x165)](this[_0x197a2d(0x169)]);}[_0x52640d(0x138)](){const _0x1cf8c1=_0x52640d;this[_0x1cf8c1(0x129)]=_0x4b74a7(_0xeacc1[_0x1cf8c1(0x125)],_0x1cf8c1(0x147),{'ctx-name':_0x1cf8c1(0x127)}),_0xeacc1[_0x1cf8c1(0x125)][_0x1cf8c1(0x160)][_0x1cf8c1(0x165)](this[_0x1cf8c1(0x129)]);}[_0x52640d(0x13e)](){const _0x57c20c=_0x52640d,_0x30f0f7=this[_0x57c20c(0x16a)][_0x57c20c(0x148)][_0x57c20c(0x131)](_0x57c20c(0x14c));_0x30f0f7&&this[_0x57c20c(0x155)](_0x30f0f7,_0x57c20c(0x170),()=>{const _0x4aca9d=_0x57c20c,_0x59b9f4=this[_0x4aca9d(0x16a)][_0x4aca9d(0x15f)][_0x4aca9d(0x125)][_0x4aca9d(0x121)][_0x4aca9d(0x130)]();_0x59b9f4&&_0x59b9f4[_0x4aca9d(0x16e)](_0x4aca9d(0x149))&&this[_0x4aca9d(0x16a)][_0x4aca9d(0x16f)][_0x4aca9d(0x132)][_0x4aca9d(0x140)](_0x4aca9d(0x122),()=>{const _0x1e6267=_0x4aca9d;_0x4bb13b(this[_0x1e6267(0x16a)],_0x59b9f4);});});const _0x149741=this[_0x57c20c(0x16a)][_0x57c20c(0x148)][_0x57c20c(0x131)](_0x57c20c(0x135));_0x149741&&this[_0x57c20c(0x155)](_0x149741,_0x57c20c(0x170),()=>{const _0x14567b=_0x57c20c,_0x277380=this[_0x14567b(0x16a)][_0x14567b(0x15f)][_0x14567b(0x125)][_0x14567b(0x121)][_0x14567b(0x130)]();_0x277380&&_0x277380[_0x14567b(0x16e)](_0x14567b(0x149))&&this[_0x14567b(0x16a)][_0x14567b(0x16f)][_0x14567b(0x132)][_0x14567b(0x140)](_0x14567b(0x122),()=>{const _0x17972f=_0x14567b;_0x4bb13b(this[_0x17972f(0x16a)],_0x277380);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x42c1c7,ObservableMixin as _0x1dd144}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xe42444}from'ckeditor5/src/ui.js';import _0x45a30f from'./uploadcareimageeditformview.js';import _0x1668b4 from'../../utils/uploadutils.js';import _0x639605 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x698a5a,getImageDimension as _0x168465}from'../../utils/editingutils.js';import{isAncestor as _0x12efaa}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1dd144(){constructor(_0x5d1850,_0x5bb202,_0x7a660c){super(),this['_editor']=_0x5d1850,this['_dialog']=_0x5bb202,this['_imageElement']=_0x7a660c,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 _0x314484=this['_imageElement'],_0x1d44d7=_0x314484['getAttribute']('uploadcareImageId'),_0x2b7ec3=_0x314484['getAttribute']('src');if(_0x1d44d7)await this['_loadImageInfo'](_0x1d44d7,_0x2b7ec3);else{if(this['_imageCache']['has'](_0x2b7ec3)){const _0xca3f0f=this['_imageCache']['get'](_0x2b7ec3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xca3f0f['url'],this['imageDimension']=_0xca3f0f['dimension'],this['imageId']=_0xca3f0f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f15fd}=this['_editor'],t=_0x2f15fd['t'],_0xe8c2d0=new _0x45a30f(_0x2f15fd,this['imageStatus'],this['_attributes']);_0xe8c2d0['bind']('status')['to'](this,'imageStatus'),_0xe8c2d0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe8c2d0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe8c2d0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe8c2d0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x639605,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe8c2d0,'position':_0xe42444['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe8c2d0['focus']();},'onHide':()=>{_0xe8c2d0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28f3ef=>!_0x12efaa(_0x28f3ef,_0xe8c2d0['element'])}});}['_loadImageInfo'](_0x5b3a43,_0xa4cee2){return _0x1668b4['getInfo'](_0x5b3a43,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5cde8d=>{const {width:_0x40ec0c,height:_0x3eca0f}=_0x5cde8d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa4cee2,this['imageDimension']={'width':_0x40ec0c,'height':_0x3eca0f},this['imageId']=_0x5b3a43;})['catch'](_0x411503=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x411503['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e72c8,_0x18e2b2){return this['_getImageAsFile'](_0x4e72c8)['then'](_0x517292=>_0x1668b4['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x18e2b2['signal'],'file':_0x517292,'onProgress':_0x46857f=>{_0x46857f&&_0x46857f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x46857f['value']));}}))['then'](_0x1d4b8e=>{const {width:_0x4ae3cf,height:_0x190b06}=_0x1d4b8e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d4b8e['cdnUrl'],this['imageDimension']={'width':_0x4ae3cf,'height':_0x190b06},this['imageId']=_0x1d4b8e['uuid'],this['imageUploadProgress']=null;const _0x56ad3f=_0x4e72c8['getAttribute']('src');this['_imageCache']['set'](_0x56ad3f,{'id':_0x1d4b8e['uuid'],'url':_0x1d4b8e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x29635c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29635c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4eb788,_0x129329){_0x4eb788['on']('apply',(_0x438095,_0x330df5)=>{this['_replaceImage'](_0x129329,_0x330df5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4eb788['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4eb788['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x325b28,_0x2eeeba,_0x10d9d2){const _0x5ce693=this['_editor'],{width:_0x165651,height:_0x3c620b}=_0x168465(_0x2eeeba,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d6d75,imageSources:_0x522559}=_0x698a5a(_0x2eeeba,_0x165651);_0x5ce693['model']['change'](_0x5829d2=>{if('$graveyard'===_0x325b28['root']['rootName']){_0x5ce693['execute']('insertImage',{'imageType':_0x325b28['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x325b28['getAttributes']()),'uploadcareImageId':_0x10d9d2,'src':_0x4d6d75,'sources':_0x522559,'width':_0x165651,'height':_0x3c620b}});const _0x20a22c=_0x325b28['getChildren']();_0x325b28=_0x5ce693['model']['document']['selection']['getSelectedElement']();for(const _0x43cf8b of _0x20a22c)_0x5829d2['append'](_0x5829d2['cloneElement'](_0x43cf8b),_0x325b28);}else _0x5829d2['setSelection'](_0x325b28,'on'),_0x5ce693['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x325b28['getAttributes']()),'uploadcareImageId':_0x10d9d2,'src':_0x4d6d75,'sources':_0x522559,'width':_0x165651,'height':_0x3c620b},_0x325b28);_0x5829d2['setSelection'](_0x325b28,'on');});}async['_getImageAsFile'](_0x4c96fc){const _0x5a70ec=_0x42c1c7['window'],_0x2f53a7=_0x42c1c7['document']['location']['href'],_0x4967c0=new _0x5a70ec['URL'](_0x4c96fc['getAttribute']('src'),_0x2f53a7);if('data:'===_0x4967c0['protocol']){const _0x2f0703=_0x4967c0['href']['split'](','),_0x60c292=_0x2f0703[0x0]['match'](/:(.*?);/)[0x1],_0x37e82f=_0x60c292['split']('/')[0x1],_0xc533d2=_0x5a70ec['atob'](_0x2f0703[_0x2f0703['length']-0x1]);let _0xabed42=_0xc533d2['length'];const _0x16663f=new _0x5a70ec['Uint8Array'](_0xabed42);for(;_0xabed42--;)_0x16663f[_0xabed42]=_0xc533d2['charCodeAt'](_0xabed42);return new _0x5a70ec['File']([_0x16663f],'image.'+_0x37e82f,{'type':_0x60c292});}const _0x4eaafd=_0x4967c0['href']['split']('/'),_0x13d9ab=_0x4eaafd[_0x4eaafd['length']-0x1],_0x1dc76b=_0x13d9ab['split']('.')[0x1];return _0x5a70ec['fetch'](_0x4967c0['href'])['then'](_0x3925c5=>_0x3925c5['clone']()['blob']())['then'](_0x3a333c=>new _0x5a70ec['File']([_0x3a333c],_0x13d9ab,{'type':'image/'+_0x1dc76b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x136d92,_0x441462){const _0x137fc8=_0x4df1,_0x1f5970=_0x136d92();while(!![]){try{const _0x5c880b=parseInt(_0x137fc8(0x1b9))/0x1+-parseInt(_0x137fc8(0x1af))/0x2+parseInt(_0x137fc8(0x1c0))/0x3+-parseInt(_0x137fc8(0x1ba))/0x4*(-parseInt(_0x137fc8(0x1b6))/0x5)+-parseInt(_0x137fc8(0x1bb))/0x6+-parseInt(_0x137fc8(0x1b1))/0x7*(-parseInt(_0x137fc8(0x1b5))/0x8)+-parseInt(_0x137fc8(0x1b0))/0x9*(parseInt(_0x137fc8(0x1b4))/0xa);if(_0x5c880b===_0x441462)break;else _0x1f5970['push'](_0x1f5970['shift']());}catch(_0x13d306){_0x1f5970['push'](_0x1f5970['shift']());}}}(_0xa618,0x7ac56));import{View as _0x18d54a}from'ckeditor5/src/ui.js';export default class tt extends _0x18d54a{constructor(_0x15afd2,_0x4ebbdb){const _0x243ede=_0x4df1;super(_0x15afd2);const _0xa483e5=this[_0x243ede(0x1b3)];this[_0x243ede(0x1bd)](_0x243ede(0x1bc),''),this[_0x243ede(0x1bf)]({'tag':_0x243ede(0x1be),'attributes':{..._0x4ebbdb,'class':[_0x243ede(0x1b2),_0x243ede(0x1b7)],'ctx-name':_0x243ede(0x1b8),'cdn-url':_0xa483e5['to'](_0x243ede(0x1bc))}});}}function _0x4df1(_0x33f02a,_0x53bfde){const _0xa618e2=_0xa618();return _0x4df1=function(_0x4df14e,_0x33076a){_0x4df14e=_0x4df14e-0x1af;let _0x1d05f1=_0xa618e2[_0x4df14e];return _0x1d05f1;},_0x4df1(_0x33f02a,_0x53bfde);}function _0xa618(){const _0x2d9f1b=['924081TkCssO','446354vSCVFi','9AMzbpF','574GNXJmd','uc-light','bindTemplate','4420030DbEFvH','61328yktTGc','621245eirfRs','ck-uploadcare-theme','image-edit','403343mJSPWL','16jkikMw','4013568PnUmaK','imageSrc','set','uc-cloud-image-editor','setTemplate'];_0xa618=function(){return _0x2d9f1b;};return _0xa618();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x55a4ff,IconView as et,View as _0x522bf2}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x522bf2{constructor(_0x30820b){super(_0x30820b);const t=_0x30820b['t'];this['set']('errorType',null);const _0x409443=new _0x55a4ff(_0x30820b);_0x409443['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x409443['withText']=!0x0,_0x409443['class']='ck-button-action',_0x409443['on']('execute',()=>{this['fire']('retry');}),_0x409443['bind']('isVisible')['to'](this,'errorType',_0x3315d4=>'NotFound'!==_0x3315d4);const _0x1499d1=new et();_0x1499d1['content']=at,_0x1499d1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51819e=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':[_0x1499d1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51819e['to']('errorType',_0x8dfb24=>t('NotFound'!==_0x8dfb24?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x409443]},{'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 _0x2a7900,View as _0x273e7c}from'ckeditor5/src/ui.js';export default class ta extends _0x273e7c{constructor(_0x2de11e){super(_0x2de11e);const t=_0x2de11e['t'],_0x5dd102=this['bindTemplate'],_0x57900a=new _0x2a7900();_0x57900a['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':[_0x57900a,{'text':_0x5dd102['to']('imageUploadProgress',_0x540a09=>t('Loading\x20image...')+'\x20('+(_0x540a09||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
|
-
|
|
23
|
+
function _0x1444(){const _0x1c83e8=['render','uploading','ck-reset_all-excluded','once','_focusableView','_setView','_addUploadcareImageEditorListeners','change:status','filter','ready','_editingView','72769EyZOrj','element','25371qAqtHS','1267110YYntiu','retry','length','addEventListener','cancel','focus','setTemplate','getFocusableElement','createCollection','_addErrorViewListeners','cdnUrl','uc-cloud-image-editor','6314ZzYJpd','416kSbCwY','6JqJeFY','177333eOZRST','target','clear','addMany','disconnect','ck-uploadcare-form','nodeName','_errorView','add','div','toLowerCase','645525GDrkLZ','_loadingView','_items','querySelector','_waitForImageEditorComponent','detail','apply','fire','error','138pVQpsH','set','observe','status','25781GYDlPj','8jySxBt','addedNodes','13404ehurRm'];_0x1444=function(){return _0x1c83e8;};return _0x1444();}const _0x4fab87=_0x1db2;(function(_0x135173,_0x46e75f){const _0x1aafeb=_0x1db2,_0x370418=_0x135173();while(!![]){try{const _0x223410=-parseInt(_0x1aafeb(0x124))/0x1*(parseInt(_0x1aafeb(0x135))/0x2)+parseInt(_0x1aafeb(0x136))/0x3*(-parseInt(_0x1aafeb(0x116))/0x4)+-parseInt(_0x1aafeb(0x141))/0x5+-parseInt(_0x1aafeb(0x111))/0x6*(parseInt(_0x1aafeb(0x115))/0x7)+-parseInt(_0x1aafeb(0x134))/0x8*(-parseInt(_0x1aafeb(0x126))/0x9)+-parseInt(_0x1aafeb(0x127))/0xa+parseInt(_0x1aafeb(0x133))/0xb*(parseInt(_0x1aafeb(0x118))/0xc);if(_0x223410===_0x46e75f)break;else _0x370418['push'](_0x370418['shift']());}catch(_0xfd9add){_0x370418['push'](_0x370418['shift']());}}}(_0x1444,0x1b064));import{View as _0x1e77b1}from'ckeditor5/src/ui.js';import _0xce5d1a from'./uploadcareimageeditformloadingview.js';function _0x1db2(_0x4211e7,_0x1744f8){const _0x144470=_0x1444();return _0x1db2=function(_0x1db2e1,_0x3943b5){_0x1db2e1=_0x1db2e1-0x111;let _0xcbf1ae=_0x144470[_0x1db2e1];return _0xcbf1ae;},_0x1db2(_0x4211e7,_0x1744f8);}import _0x24d3ce from'./uploadcareimageeditformerrorview.js';import _0x171c3e from'./uploadcareimageeditformeditingview.js';import _0x34cd0f from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x34cd0f{constructor(_0x33d1ff,_0x4eccab,_0x211e8a){const _0x465673=_0x1db2;super(_0x33d1ff),this[_0x465673(0x143)]=this[_0x465673(0x12f)](),this[_0x465673(0x142)]=new _0xce5d1a(_0x33d1ff),this[_0x465673(0x13d)]=new _0x24d3ce(_0x33d1ff),this[_0x465673(0x123)]=new _0x171c3e(_0x33d1ff,_0x211e8a),this[_0x465673(0x11d)]=new _0x1e77b1(_0x33d1ff),this[_0x465673(0x11d)][_0x465673(0x12d)](this[_0x465673(0x12e)]()),this[_0x465673(0x112)](_0x465673(0x114),_0x4eccab),this[_0x465673(0x12d)]({'tag':_0x465673(0x13f),'attributes':{'class':['ck',_0x465673(0x11b),_0x465673(0x13b)],'tabindex':'-1'},'children':this[_0x465673(0x143)]}),this[_0x465673(0x11e)](),this[_0x465673(0x11c)](_0x465673(0x119),()=>{const _0x4f9f53=_0x465673;this[_0x4f9f53(0x145)](this[_0x4f9f53(0x125)],_0x22589c=>{const _0x58d0e8=_0x4f9f53;this[_0x58d0e8(0x11f)](_0x22589c);});}),this['on'](_0x465673(0x120),()=>{const _0x4fa996=_0x465673;this[_0x4fa996(0x11e)]();}),this[_0x465673(0x130)]();}[_0x4fab87(0x12c)](){const _0x18d4f2=_0x4fab87;this[_0x18d4f2(0x125)][_0x18d4f2(0x12c)]();}[_0x4fab87(0x11e)](){const _0xe38885=_0x4fab87;switch(this[_0xe38885(0x143)][_0xe38885(0x138)](),this[_0xe38885(0x114)]){case _0xe38885(0x11a):this[_0xe38885(0x143)][_0xe38885(0x13e)](this[_0xe38885(0x142)]);break;case _0xe38885(0x149):this[_0xe38885(0x143)][_0xe38885(0x13e)](this[_0xe38885(0x13d)]);break;case _0xe38885(0x122):this[_0xe38885(0x143)][_0xe38885(0x139)]([this[_0xe38885(0x123)],this[_0xe38885(0x11d)]]);}}[_0x4fab87(0x145)](_0xf8afe3,_0x299ca6){const _0x5b9c22=_0x4fab87,_0x8220c1=_0x5b9c22(0x132),_0x2023cf=_0xf8afe3[_0x5b9c22(0x144)](_0x8220c1);if(_0x2023cf)return _0x299ca6(_0x2023cf);const _0xd08e=new MutationObserver(_0x2b7c5a=>{const _0x29b88d=_0x5b9c22,_0x2dd228=_0x2b7c5a[_0x29b88d(0x121)](_0x3521b7=>_0x3521b7[_0x29b88d(0x137)]===_0xf8afe3&&_0x3521b7[_0x29b88d(0x117)][_0x29b88d(0x129)]>0x0&&_0x3521b7[_0x29b88d(0x117)][0x0][_0x29b88d(0x13c)][_0x29b88d(0x140)]()===_0x8220c1);_0x2dd228[_0x29b88d(0x129)]&&(_0xd08e[_0x29b88d(0x13a)](),_0x299ca6(_0x2dd228[0x0][_0x29b88d(0x117)][0x0]));});_0xd08e[_0x5b9c22(0x113)](_0xf8afe3,{'childList':!0x0,'subtree':!0x0});}[_0x4fab87(0x11f)](_0x5348a7){const _0x1e0771=_0x4fab87;_0x5348a7[_0x1e0771(0x12a)](_0x1e0771(0x147),_0x19738a=>{const _0x1304f6=_0x1e0771;this[_0x1304f6(0x148)](_0x1304f6(0x147),{'imageSrc':_0x19738a[_0x1304f6(0x146)][_0x1304f6(0x131)]});}),_0x5348a7[_0x1e0771(0x12a)](_0x1e0771(0x12b),()=>{const _0x3589c1=_0x1e0771;this[_0x3589c1(0x148)](_0x3589c1(0x12b));});}[_0x4fab87(0x130)](){const _0x5c9d5c=_0x4fab87;this[_0x5c9d5c(0x13d)]['on'](_0x5c9d5c(0x128),()=>{const _0x446f95=_0x5c9d5c;this[_0x446f95(0x148)](_0x446f95(0x128));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38b77b=_0xe6e3;(function(_0x336028,_0x53f9c3){const _0x178a86=_0xe6e3,_0x485cf9=_0x336028();while(!![]){try{const _0x4ededc=-parseInt(_0x178a86(0x1b8))/0x1*(parseInt(_0x178a86(0x1c3))/0x2)+parseInt(_0x178a86(0x1a7))/0x3*(parseInt(_0x178a86(0x1a4))/0x4)+-parseInt(_0x178a86(0x1a3))/0x5+-parseInt(_0x178a86(0x1b5))/0x6*(parseInt(_0x178a86(0x1bc))/0x7)+parseInt(_0x178a86(0x1aa))/0x8*(-parseInt(_0x178a86(0x1a9))/0x9)+-parseInt(_0x178a86(0x1bd))/0xa+-parseInt(_0x178a86(0x1c4))/0xb*(-parseInt(_0x178a86(0x1a8))/0xc);if(_0x4ededc===_0x53f9c3)break;else _0x485cf9['push'](_0x485cf9['shift']());}catch(_0x28dab5){_0x485cf9['push'](_0x485cf9['shift']());}}}(_0x334b,0x4779c));function _0xe6e3(_0x3b81b2,_0x124edc){const _0x334b14=_0x334b();return _0xe6e3=function(_0xe6e34e,_0xc4e6d){_0xe6e34e=_0xe6e34e-0x1a3;let _0x398e31=_0x334b14[_0xe6e34e];return _0x398e31;},_0xe6e3(_0x3b81b2,_0x124edc);}import{Command as _0x3a5038}from'ckeditor5/src/core.js';import{Dialog as _0x37ebe4}from'ckeditor5/src/ui.js';import _0xd06ed0 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3bea4c}from'../utils/editingutils.js';export default class J extends _0x3a5038{static get[_0x38b77b(0x1a6)](){return[_0x37ebe4];}constructor(_0x240f41){const _0xb5e1db=_0x38b77b;super(_0x240f41),this[_0xb5e1db(0x1af)]=void 0x0,this[_0xb5e1db(0x1ae)]=_0x3bea4c(_0x240f41[_0xb5e1db(0x1bb)][_0xb5e1db(0x1b4)](_0xb5e1db(0x1b7))||[]),this[_0xb5e1db(0x1be)]({'isActive':!0x1});}[_0x38b77b(0x1b6)](){const _0x5e603b=_0x38b77b,_0x53e500=this[_0x5e603b(0x1c0)][_0x5e603b(0x1b1)][_0x5e603b(0x1c1)][_0x5e603b(0x1b2)][_0x5e603b(0x1b0)]();this[_0x5e603b(0x1c2)]=this[_0x5e603b(0x1ae)](_0x53e500);}[_0x38b77b(0x1bf)](){const _0x275305=_0x38b77b;this[_0x275305(0x1af)]&&(this[_0x275305(0x1b9)](_0x275305(0x1b3)),this[_0x275305(0x1af)]=void 0x0);const _0x1d0c06=this[_0x275305(0x1c0)][_0x275305(0x1b1)][_0x275305(0x1c1)][_0x275305(0x1b2)][_0x275305(0x1b0)]();_0x1d0c06&&(_0x1d0c06['is'](_0x275305(0x1ab),_0x275305(0x1ba))||_0x1d0c06['is'](_0x275305(0x1ab),_0x275305(0x1ad)))&&(this[_0x275305(0x1af)]=new _0xd06ed0(this[_0x275305(0x1c0)],this[_0x275305(0x1c0)][_0x275305(0x1a5)][_0x275305(0x1b4)](_0x37ebe4),_0x1d0c06),this[_0x275305(0x1ac)](_0x275305(0x1b3))['to'](this[_0x275305(0x1af)],_0x275305(0x1b3)));}}function _0x334b(){const _0x399bb9=['11503129CmOYpr','1667180ypqVFj','560132BCayvm','plugins','requires','9PXUDZX','12NwKvpF','723654KzLkjC','16yfJlNY','element','bind','imageInline','_isEditable','imageEditController','getSelectedElement','model','selection','isActive','get','43158PNICat','refresh','uploadcare.allowExternalImagesEditing','23zWtznX','unbind','imageBlock','config','371KHEplp','1996630JIIvih','set','execute','editor','document','isEnabled','8516ZsUcFO'];_0x334b=function(){return _0x399bb9;};return _0x334b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5aff03=_0x3554;function _0x3554(_0x8d4eb9,_0x59d549){const _0x1852ab=_0x1852();return _0x3554=function(_0x35544d,_0x5572a5){_0x35544d=_0x35544d-0x132;let _0x3d087b=_0x1852ab[_0x35544d];return _0x3d087b;},_0x3554(_0x8d4eb9,_0x59d549);}(function(_0x164cb3,_0x230da6){const _0x138959=_0x3554,_0x464f2e=_0x164cb3();while(!![]){try{const _0x6b5b5c=-parseInt(_0x138959(0x137))/0x1+-parseInt(_0x138959(0x144))/0x2*(parseInt(_0x138959(0x13d))/0x3)+parseInt(_0x138959(0x143))/0x4*(parseInt(_0x138959(0x139))/0x5)+-parseInt(_0x138959(0x13a))/0x6+parseInt(_0x138959(0x136))/0x7+-parseInt(_0x138959(0x133))/0x8+-parseInt(_0x138959(0x132))/0x9*(-parseInt(_0x138959(0x146))/0xa);if(_0x6b5b5c===_0x230da6)break;else _0x464f2e['push'](_0x464f2e['shift']());}catch(_0x5dac75){_0x464f2e['push'](_0x464f2e['shift']());}}}(_0x1852,0x76395));import{Plugin as _0x181716}from'ckeditor5/src/core.js';function _0x1852(){const _0x4b7b55=['5BVbcKI','5262018XJmVgA','isPremiumPlugin','requires','3xhGttn','isOfficialPlugin','ImageUtils','commands','pluginName','uploadcareImageEdit','3381008sKZLdg','1539564ycuHwL','ImageEditing','100FNlnSY','UploadcareImageEditEditing','2006649yKcbns','6584224WqUisQ','uploadcareImageReplace','add','2680468ubLDVo','503728qVMjZc','init'];_0x1852=function(){return _0x4b7b55;};return _0x1852();}import{Notification as _0x1c279a}from'ckeditor5/src/ui.js';import _0x5be250 from'./uploadcareimageeditcommand.js';import _0x5b3239 from'./uploadcareimagereplacecommand.js';import _0xb7fd9a from'../uploadcareediting.js';export default class m extends _0x181716{static get[_0x5aff03(0x141)](){const _0x1fe41a=_0x5aff03;return _0x1fe41a(0x147);}static get[_0x5aff03(0x13c)](){const _0x8cd278=_0x5aff03;return[_0xb7fd9a,_0x1c279a,_0x8cd278(0x13f),_0x8cd278(0x145)];}static get[_0x5aff03(0x13e)](){return!0x0;}static get[_0x5aff03(0x13b)](){return!0x0;}[_0x5aff03(0x138)](){const _0x24afc8=_0x5aff03,{editor:_0x220eb7}=this;_0x220eb7[_0x24afc8(0x140)][_0x24afc8(0x135)](_0x24afc8(0x142),new _0x5be250(_0x220eb7)),_0x220eb7[_0x24afc8(0x140)][_0x24afc8(0x135)](_0x24afc8(0x134),new _0x5b3239(_0x220eb7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x469faf}from'ckeditor5/src/core.js';import{ButtonView as _0x456959}from'ckeditor5/src/ui.js';import{createElement as _0x4d7260}from'ckeditor5/src/utils.js';import _0x175e52 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x469faf{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x16e132=this['editor'];_0x16e132['ui']['componentFactory']['add']('uploadcareImageEdit',_0x33ccd0=>{const _0x432faa=_0x16e132['commands']['get']('uploadcareImageEdit'),_0x579f3a=new _0x456959(_0x33ccd0),t=_0x33ccd0['t'];return _0x579f3a['set']({'icon':_0x175e52,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x579f3a['bind']('isEnabled')['to'](_0x432faa),_0x579f3a['bind']('isOn')['to'](_0x432faa,'isActive'),this['listenTo'](_0x579f3a,'execute',()=>{_0x16e132['execute']('uploadcareImageEdit'),_0x16e132['editing']['view']['focus']();}),_0x579f3a;}),this['_initConfig']();}['_initConfig'](){const _0x24dc92=_0x4d7260(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x24dc92),this['listenTo'](this['editor'],'destroy',()=>{_0x24dc92['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x29e1(_0x263480,_0x4af08a){const _0x35d828=_0x35d8();return _0x29e1=function(_0x29e113,_0x540d87){_0x29e113=_0x29e113-0x157;let _0x42ef33=_0x35d828[_0x29e113];return _0x42ef33;},_0x29e1(_0x263480,_0x4af08a);}const _0xaaa2c9=_0x29e1;(function(_0x2c2f00,_0x4803e1){const _0x4c60da=_0x29e1,_0x4b36d9=_0x2c2f00();while(!![]){try{const _0x2836f5=parseInt(_0x4c60da(0x172))/0x1*(parseInt(_0x4c60da(0x157))/0x2)+-parseInt(_0x4c60da(0x166))/0x3*(parseInt(_0x4c60da(0x168))/0x4)+-parseInt(_0x4c60da(0x170))/0x5*(parseInt(_0x4c60da(0x15a))/0x6)+-parseInt(_0x4c60da(0x169))/0x7+-parseInt(_0x4c60da(0x163))/0x8*(-parseInt(_0x4c60da(0x164))/0x9)+-parseInt(_0x4c60da(0x16b))/0xa*(-parseInt(_0x4c60da(0x171))/0xb)+-parseInt(_0x4c60da(0x16e))/0xc;if(_0x2836f5===_0x4803e1)break;else _0x4b36d9['push'](_0x4b36d9['shift']());}catch(_0x42943d){_0x4b36d9['push'](_0x4b36d9['shift']());}}}(_0x35d8,0xc7eb5));import{Command as _0x284fda}from'ckeditor5/src/core.js';export default class O extends _0x284fda{[_0xaaa2c9(0x160)](){const _0x3ab033=_0xaaa2c9,_0xe260f6=this[_0x3ab033(0x16c)][_0x3ab033(0x15c)][_0x3ab033(0x16a)][_0x3ab033(0x15b)][_0x3ab033(0x159)]();this[_0x3ab033(0x158)]=Boolean(_0xe260f6&&(_0xe260f6['is'](_0x3ab033(0x161),_0x3ab033(0x162))||_0xe260f6['is'](_0x3ab033(0x161),_0x3ab033(0x15f))));}[_0xaaa2c9(0x167)](_0x9f3cd1){const _0x2fd40d=_0xaaa2c9,_0x182056=this[_0x2fd40d(0x16c)][_0x2fd40d(0x15c)][_0x2fd40d(0x16a)][_0x2fd40d(0x15b)][_0x2fd40d(0x159)]();this[_0x2fd40d(0x16c)][_0x2fd40d(0x15c)][_0x2fd40d(0x16d)](_0x113caa=>{const _0x1938af=_0x2fd40d;_0x113caa[_0x1938af(0x15d)](_0x9f3cd1,_0x182056),_0x113caa[_0x1938af(0x165)](_0x1938af(0x16f),_0x182056),_0x113caa[_0x1938af(0x165)](_0x1938af(0x15e),_0x182056);});}}function _0x35d8(){const _0x47ecd2=['getSelectedElement','12918MlymFQ','selection','model','setAttributes','sizes','imageInline','refresh','element','imageBlock','48lUGhzO','1128510CYWaJe','removeAttribute','737985Wfjufy','execute','4jSvnCL','521248fGEcuS','document','10yyyCXr','editor','change','17628540PbIbZJ','srcset','540ubCDCN','6746036xhqakr','1kEFEWG','2950562AYdrpW','isEnabled'];_0x35d8=function(){return _0x47ecd2;};return _0x35d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xb752(_0xcbedf9,_0x2c3ca4){var _0x5e714f=_0x5e71();return _0xb752=function(_0xb75265,_0x483d73){_0xb75265=_0xb75265-0x11f;var _0x4c75e6=_0x5e714f[_0xb75265];return _0x4c75e6;},_0xb752(_0xcbedf9,_0x2c3ca4);}var _0x42fafe=_0xb752;(function(_0x5caa1a,_0x1e5fb0){var _0x36013e=_0xb752,_0x2da724=_0x5caa1a();while(!![]){try{var _0x4e131e=parseInt(_0x36013e(0x124))/0x1*(-parseInt(_0x36013e(0x12b))/0x2)+parseInt(_0x36013e(0x120))/0x3+parseInt(_0x36013e(0x129))/0x4*(parseInt(_0x36013e(0x12c))/0x5)+-parseInt(_0x36013e(0x128))/0x6+-parseInt(_0x36013e(0x12a))/0x7*(-parseInt(_0x36013e(0x12d))/0x8)+parseInt(_0x36013e(0x12e))/0x9+-parseInt(_0x36013e(0x121))/0xa*(parseInt(_0x36013e(0x123))/0xb);if(_0x4e131e===_0x1e5fb0)break;else _0x2da724['push'](_0x2da724['shift']());}catch(_0x33cecb){_0x2da724['push'](_0x2da724['shift']());}}}(_0x5e71,0xc36b3));import{Plugin as _0x1ba803}from'ckeditor5/src/core.js';import _0x153e9f from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5e71(){var _0x25db1c=['pluginName','requires','isOfficialPlugin','7780128tKeXgr','1088ywJVQt','21bldiQz','20tVKvrt','12055wnfMIt','3274248LIbAwH','4764519PNWIkV','isPremiumPlugin','4724532zXpMzQ','10902370vzrypO','UploadcareImageEdit','11nJAkRX','80051zwoEWX'];_0x5e71=function(){return _0x25db1c;};return _0x5e71();}import _0x318748 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x1ba803{static get[_0x42fafe(0x125)](){var _0x2530c6=_0x42fafe;return _0x2530c6(0x122);}static get[_0x42fafe(0x126)](){return[_0x153e9f,_0x318748];}static get[_0x42fafe(0x127)](){return!0x0;}static get[_0x42fafe(0x11f)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x260b13=_0x4641;(function(_0x234e97,_0x458959){const _0x7e3d67=_0x4641,_0xcf5d84=_0x234e97();while(!![]){try{const _0x1369aa=-parseInt(_0x7e3d67(0x1b3))/0x1+-parseInt(_0x7e3d67(0x1b2))/0x2*(-parseInt(_0x7e3d67(0x199))/0x3)+parseInt(_0x7e3d67(0x1cd))/0x4*(-parseInt(_0x7e3d67(0x1b8))/0x5)+parseInt(_0x7e3d67(0x1be))/0x6+parseInt(_0x7e3d67(0x195))/0x7*(-parseInt(_0x7e3d67(0x1cb))/0x8)+parseInt(_0x7e3d67(0x1bf))/0x9*(parseInt(_0x7e3d67(0x1d0))/0xa)+-parseInt(_0x7e3d67(0x1ae))/0xb*(-parseInt(_0x7e3d67(0x19a))/0xc);if(_0x1369aa===_0x458959)break;else _0xcf5d84['push'](_0xcf5d84['shift']());}catch(_0x2b7e1b){_0xcf5d84['push'](_0xcf5d84['shift']());}}}(_0x38b0,0x3d1c2));import{Plugin as _0xaa5781,icons as _0x548c69}from'ckeditor5/src/core.js';import{ButtonView as _0x5288a2,MenuBarMenuListItemButtonView as _0x1845a0}from'ckeditor5/src/ui.js';import _0x5dd434 from'../theme/icons/dropbox.svg';import _0x5509d9 from'../theme/icons/facebook.svg';import _0x582730 from'../theme/icons/google-drive.svg';import _0x3fd0f1 from'../theme/icons/google-photos.svg';import _0xa5cd7 from'../theme/icons/link.svg';import _0x55fdcd from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x116a0b}from'./uploadcareconfig.js';import{getTranslation as _0x546665}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x4641(_0x1aced0,_0x2ca768){const _0x38b013=_0x38b0();return _0x4641=function(_0x464147,_0x29c539){_0x464147=_0x464147-0x18f;let _0x1ebc3d=_0x38b013[_0x464147];return _0x1ebc3d;},_0x4641(_0x1aced0,_0x2ca768);}import'../theme/uploadcareimageedit.css';export default class e extends _0xaa5781{static get[_0x260b13(0x1c5)](){const _0x371feb=_0x260b13;return _0x371feb(0x1c2);}static get[_0x260b13(0x1e1)](){return!0x0;}static get[_0x260b13(0x198)](){return!0x0;}[_0x260b13(0x19d)](){const _0x5aa5e1=_0x260b13;this[_0x5aa5e1(0x1c6)]=this[_0x5aa5e1(0x19b)][_0x5aa5e1(0x193)][_0x5aa5e1(0x192)](_0x5aa5e1(0x1c6));const _0x369fc1=this[_0x5aa5e1(0x19b)];this[_0x5aa5e1(0x1d8)]=setInterval(()=>{const _0x47a296=_0x5aa5e1;let _0x1941e5;for(const _0x2dc10b in _0x369fc1){const _0x56561b=_0x2dc10b,_0x337e1f=_0x369fc1[_0x56561b];if(_0x47a296(0x1a4)==_0x337e1f||_0x47a296(0x1c7)==_0x337e1f||_0x47a296(0x1d9)==_0x337e1f||_0x47a296(0x1e0)==_0x337e1f||_0x47a296(0x1ba)==_0x337e1f||_0x47a296(0x1dc)==_0x337e1f||_0x47a296(0x197)==_0x337e1f||_0x47a296(0x1a8)==_0x337e1f){delete _0x369fc1[_0x56561b],_0x1941e5=_0x337e1f,clearInterval(this[_0x47a296(0x1d8)]),this[_0x47a296(0x1d8)]=void 0x0;break;}}_0x47a296(0x1c7)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1de)),_0x47a296(0x1d9)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1a0)),_0x47a296(0x1e0)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1a9)),_0x47a296(0x1ba)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1a1),_0x47a296(0x1c9)),_0x47a296(0x1dc)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1c4)),_0x47a296(0x197)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x1b6)),_0x47a296(0x1a8)==_0x1941e5&&_0x369fc1[_0x47a296(0x196)](_0x47a296(0x191));},0x3e8);}[_0x260b13(0x1b4)](){const _0x390858=_0x260b13,{editor:_0x36fa14}=this,_0x3cd756=_0x36fa14[_0x390858(0x1aa)][_0x390858(0x192)](_0x390858(0x1ab));if(!_0x3cd756)return;const _0x5ca86b=this[_0x390858(0x1c0)](_0x36fa14[_0x390858(0x193)][_0x390858(0x192)](_0x390858(0x19f)))[_0x390858(0x1bc)]((_0x31cec1,_0x59e2e6)=>{const _0x2cb767=_0x390858,_0x3cdba5=this[_0x2cb767(0x1a3)](_0x59e2e6[_0x2cb767(0x18f)]);return _0x31cec1[_0x3cdba5]||(_0x31cec1[_0x3cdba5]=[]),_0x31cec1[_0x3cdba5][_0x2cb767(0x1d3)](_0x59e2e6),_0x31cec1;},{});_0x36fa14[_0x390858(0x1c3)][_0x390858(0x1d5)](_0x390858(0x1b0))&&_0x36fa14[_0x390858(0x1aa)][_0x390858(0x192)](_0x390858(0x1ab))&&Object[_0x390858(0x1b7)](_0x5ca86b)[_0x390858(0x1a2)](([_0x2f3246,_0x55a7cb])=>{const _0x478547=_0x390858;_0x36fa14[_0x478547(0x1c3)][_0x478547(0x192)](_0x478547(0x1b0))[_0x478547(0x1cc)]({'name':_0x2f3246,'observable':()=>_0x3cd756,'buttonViewCreator':()=>this[_0x478547(0x194)](_0x55a7cb),'formViewCreator':()=>this[_0x478547(0x1ca)](_0x55a7cb),'menuBarButtonViewCreator':()=>this[_0x478547(0x1b9)](_0x55a7cb),'override':_0x478547(0x1c8)!==_0x2f3246});});}[_0x260b13(0x1ac)](){const _0x18fa85=_0x260b13;super[_0x18fa85(0x1ac)](),this[_0x18fa85(0x1d8)]&&clearInterval(this[_0x18fa85(0x1d8)]);}[_0x260b13(0x1c0)](_0x5657ca){const _0x15f3ac=_0x260b13,{locale:_0x150888}=this[_0x15f3ac(0x19b)];return _0x5657ca[_0x15f3ac(0x1da)](_0x1e5319=>{const _0x1369fb=_0x15f3ac,_0x4d3d5a=_0x546665(_0x150888,_0x1e5319,_0x1369fb(0x1a5));switch(_0x1e5319){case _0x116a0b[_0x1369fb(0x19e)]:return{'icon':_0x548c69[_0x1369fb(0x1dd)],'type':_0x116a0b[_0x1369fb(0x19e)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1d1)]:return{'icon':_0xa5cd7,'type':_0x116a0b[_0x1369fb(0x1d1)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1af)]:return{'icon':_0x5dd434,'type':_0x116a0b[_0x1369fb(0x1af)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1db)]:return{'icon':_0x5509d9,'type':_0x116a0b[_0x1369fb(0x1db)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1df)]:return{'icon':_0x582730,'type':_0x116a0b[_0x1369fb(0x1df)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1d2)]:return{'icon':_0x3fd0f1,'type':_0x116a0b[_0x1369fb(0x1d2)],..._0x4d3d5a};case _0x116a0b[_0x1369fb(0x1b5)]:return{'icon':_0x55fdcd,'type':_0x116a0b[_0x1369fb(0x1b5)],..._0x4d3d5a};}});}[_0x260b13(0x1a3)](_0x2587e9){const _0x2a3094=_0x260b13;switch(_0x2587e9){case _0x116a0b[_0x2a3094(0x19e)]:return _0x2a3094(0x1a7);case _0x116a0b[_0x2a3094(0x1d1)]:return _0x2a3094(0x19c);default:return _0x2a3094(0x1c8);}}[_0x260b13(0x1c1)](_0x311c92,_0x482430){const _0x2b8469=_0x260b13,_0x24db1f=this[_0x2b8469(0x19b)],_0x649ec=new _0x311c92(_0x24db1f[_0x2b8469(0x1bd)]),_0x4e99f6=_0x24db1f[_0x2b8469(0x1aa)][_0x2b8469(0x192)](_0x2b8469(0x1ab));return _0x649ec[_0x2b8469(0x1d6)](_0x2b8469(0x1ad))['to'](_0x4e99f6),_0x649ec['on'](_0x2b8469(0x1e2),()=>{const _0x348544=_0x2b8469;_0x4e99f6[_0x348544(0x1e2)](_0x482430);}),_0x649ec;}[_0x260b13(0x194)](_0x5c8664){const _0x33384e=_0x260b13,{locale:_0x13ae30}=this[_0x33384e(0x19b)],_0x2c65fe=this[_0x33384e(0x19b)][_0x33384e(0x1c3)][_0x33384e(0x192)](_0x33384e(0x1b0)),_0xa7b4e4=_0x5c8664[0x0],_0x366367=this[_0x33384e(0x1c1)](_0x5288a2,_0xa7b4e4[_0x33384e(0x18f)]);return _0x366367[_0x33384e(0x1d7)]=_0xa7b4e4[_0x33384e(0x1d7)],_0x366367[_0x33384e(0x1d6)](_0x33384e(0x190))['to'](_0x2c65fe,_0x33384e(0x1bb),_0x5eeab4=>_0x546665(_0x13ae30,_0xa7b4e4[_0x33384e(0x18f)],_0x5eeab4?_0x33384e(0x1ce):_0x33384e(0x1a5))[_0x33384e(0x1b1)]),_0x366367[_0x33384e(0x1cf)]=!0x0,_0x366367;}[_0x260b13(0x1ca)](_0x2558d0){const _0x50c2c0=_0x260b13,{locale:_0x173c78}=this[_0x50c2c0(0x19b)],_0xd8f9b5=this[_0x50c2c0(0x19b)][_0x50c2c0(0x1c3)][_0x50c2c0(0x192)](_0x50c2c0(0x1b0));return _0x2558d0[_0x50c2c0(0x1da)](_0x4ce948=>{const _0x7f6344=_0x50c2c0,_0x225468=this[_0x7f6344(0x1c1)](_0x5288a2,_0x4ce948[_0x7f6344(0x18f)]);return _0x225468[_0x7f6344(0x1d4)]=!0x0,_0x225468[_0x7f6344(0x1d7)]=_0x4ce948[_0x7f6344(0x1d7)],_0x225468[_0x7f6344(0x1d6)](_0x7f6344(0x190))['to'](_0xd8f9b5,_0x7f6344(0x1bb),_0x292ffe=>_0x546665(_0x173c78,_0x4ce948[_0x7f6344(0x18f)],_0x292ffe?_0x7f6344(0x1ce):_0x7f6344(0x1a5))[_0x7f6344(0x1b1)]),_0x225468;});}[_0x260b13(0x1b9)](_0x43aa2c){const _0x2dab0c=_0x260b13;return _0x43aa2c[_0x2dab0c(0x1da)](_0x44eef0=>{const _0x447ffa=_0x2dab0c,_0x392903=this[_0x447ffa(0x1c1)](_0x1845a0,_0x44eef0[_0x447ffa(0x18f)]);return _0x392903[_0x447ffa(0x1d7)]=_0x44eef0[_0x447ffa(0x1d7)],_0x392903[_0x447ffa(0x190)]=_0x44eef0[_0x447ffa(0x1a6)],_0x392903;});}}function _0x38b0(){const _0x27836a=['Replace','tooltip','10gahFvi','URL','GPhotos','push','withText','has','bind','icon','_licenseKeyCheckInterval','uploadcareLicenseKeyExpired','map','Facebook','uploadcareLicenseKeyEvaluationLimit','imageUpload','invalid','GDrive','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','execute','type','label','usageLimit','get','config','_createToolbarButton','154uZyvWp','_showLicenseError','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','1086651ggjNsE','3469104kEGqwc','editor','url','init','Local','uploadcare.uploader.sourceList','expired','featureNotAllowed','forEach','_getIntegrationKey','uploadcareLicenseKeyValid','Insert','shortText','upload','uploadcareLicenseKeyUsageLimit','domainLimit','commands','uploadcare','destroy','isEnabled','11HwyzIk','Dropbox','ImageInsertUI','text','2XEEVWS','333497mTbozO','afterInit','OneDrive','trialLimit','entries','305EECJTE','_createMenuBarButtons','uploadcareLicenseKeyNotAllowed','isImageSelected','reduce','locale','1088766eRuNuO','597222qRrkLq','_normalizeConfigSourceList','_createButton','UploadcareUI','plugins','evaluationLimit','pluginName','licenseKey','uploadcareLicenseKeyInvalid','assetManager','Uploadcare','_createDropdownButtons','9544boGRWj','registerIntegration','18956IUznHD'];_0x38b0=function(){return _0x27836a;};return _0x38b0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4d0cac}from'ckeditor5/src/core.js';import{FileRepository as _0x3d887d}from'ckeditor5/src/upload.js';import _0x305fad from'./uploadcareediting.js';import _0x3f50f9 from'./utils/uploadutils.js';import{getImageUrls as _0x924f8}from'./utils/editingutils.js';export default class f extends _0x4d0cac{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d887d,_0x305fad];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1504a1=this['editor'];if(!!!_0x1504a1['config']['get']('uploadcare'))return;_0x1504a1['plugins']['get'](_0x3d887d)['createUploadAdapter']=_0x378a73=>new E(_0x378a73,_0x1504a1),_0x1504a1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57f14f,{imageElement:_0x403a00,data:_0x409eb6})=>{_0x1504a1['model']['change'](_0x1ed77b=>{_0x1ed77b['setAttribute']('uploadcareImageId',_0x409eb6['uploadcareImageId'],_0x403a00);});});}}class E{constructor(_0x8d7aa4,_0x30e6ca){this['loader']=_0x8d7aa4,this['editor']=_0x30e6ca,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41107a=this['editor']['config']['get']('uploadcare.pubkey'),_0x41db65=await this['loader']['file'];return _0x3f50f9['upload']({'file':_0x41db65,'publicKey':_0x41107a,'signal':this['controller']['signal'],'onProgress':_0x946ae7=>{_0x946ae7&&_0x946ae7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x946ae7['value']);}})['then'](async _0xe2b7bf=>{const {imageFallbackUrl:_0x14d19a,imageSources:_0x53ed0b}=_0x924f8(_0xe2b7bf['cdnUrl'],_0xe2b7bf['imageInfo']['width']);return{'uploadcareImageId':_0xe2b7bf['uuid'],'default':_0x14d19a,'sources':_0x53ed0b};})['catch'](()=>{const _0x43c618=t('Cannot\x20upload\x20file:')+('\x20'+_0x41db65['name']+'.');return Promise['reject'](_0x43c618);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x37d743}from'../uploadcareconfig.js';export function getTranslation(_0x2700bf,_0x116ab3,_0x5a16f7){const t=_0x2700bf['t'],_0x196bbb=_0x2700bf['t'];switch(_0x116ab3){case _0x37d743['Local']:return{'text':_0x196bbb('Insert'===_0x5a16f7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x196bbb('From\x20computer')};case _0x37d743['URL']:return{'text':'Insert'===_0x5a16f7?_0x196bbb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x196bbb('Via\x20URL')};case _0x37d743['Dropbox']:return{'text':t('Insert'===_0x5a16f7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x37d743['Facebook']:return{'text':t('Insert'===_0x5a16f7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x37d743['GDrive']:return{'text':t('Insert'===_0x5a16f7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x37d743['GPhotos']:return{'text':t('Insert'===_0x5a16f7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x37d743['OneDrive']:return{'text':t('Insert'===_0x5a16f7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x116ab3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5746(_0x217e65,_0x543ae0){var _0xd66818=_0xd668();return _0x5746=function(_0x5746f3,_0x593714){_0x5746f3=_0x5746f3-0x15d;var _0x25b0d8=_0xd66818[_0x5746f3];return _0x25b0d8;},_0x5746(_0x217e65,_0x543ae0);}var _0x3963c5=_0x5746;(function(_0x588a95,_0x40205c){var _0x14efa9=_0x5746,_0x3046bc=_0x588a95();while(!![]){try{var _0x5c492e=parseInt(_0x14efa9(0x167))/0x1+-parseInt(_0x14efa9(0x160))/0x2+-parseInt(_0x14efa9(0x164))/0x3*(-parseInt(_0x14efa9(0x168))/0x4)+-parseInt(_0x14efa9(0x16b))/0x5*(parseInt(_0x14efa9(0x163))/0x6)+parseInt(_0x14efa9(0x165))/0x7*(parseInt(_0x14efa9(0x161))/0x8)+-parseInt(_0x14efa9(0x169))/0x9*(-parseInt(_0x14efa9(0x16a))/0xa)+-parseInt(_0x14efa9(0x16c))/0xb;if(_0x5c492e===_0x40205c)break;else _0x3046bc['push'](_0x3046bc['shift']());}catch(_0x4289a9){_0x3046bc['push'](_0x3046bc['shift']());}}}(_0xd668,0x3103f));import{FocusTracker as _0x29711a}from'ckeditor5/src/utils.js';import{View as _0x13ee2d,FocusCycler as _0x154e0b}from'ckeditor5/src/ui.js';function _0xd668(){var _0x15da58=['9dVoIfV','305180saRVwt','924260yMAolK','1152899nEpvZf','focusCycler','div','bindTemplate','fire','true','getFocusableElement','forwardCycle','492326OxsdHK','7208tAylWV','focusTracker','6xsraeU','863373UKlSYP','2023OXyGmW','createCollection','157893PjkZle','4ZbgcVv'];_0xd668=function(){return _0x15da58;};return _0xd668();}import'../../theme/uploadcare-form.css';export default class q extends _0x13ee2d{constructor(_0x580aad){var _0x29ed3f=_0x5746;super(_0x580aad),this[_0x29ed3f(0x162)]=new _0x29711a(),this[_0x29ed3f(0x16d)]=new _0x154e0b({'focusables':this[_0x29ed3f(0x166)](),'focusTracker':this[_0x29ed3f(0x162)]});}[_0x3963c5(0x15e)](){var _0x57e90e=_0x3963c5;return{'tag':_0x57e90e(0x16e),'attributes':{'aria-hidden':_0x57e90e(0x15d),'tabindex':'0'},'on':{'focus':this[_0x57e90e(0x16f)]['to'](()=>{var _0x315061=_0x57e90e;this[_0x315061(0x16d)][_0x315061(0x170)](_0x315061(0x15f));})}};}}
|