@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250320.0 → 0.0.0-nightly-20250321.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x489d(){const _0x2d76eb=['listenTo','455GyiGkg','getAttribute','for','elementToAttribute','641331lZXksf','remove','querySelector','10842kFipmV','UploadcareEditing','add','uploadcareImageReplace','conversion','configElement','uploadcare','uploadcare.uploader','isOfficialPlugin','ctxElement','uploadcareImageId','fromCharCode','attributeToAttribute','768208opgfZu','removeAttribute','destroy','_initSchema','#uc-icon-arrow-down','commands','32xuqkmk','336616eVfIQP','closeMax','\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','once','isPremiumPlugin','document','insertImage','iconHrefResolver','uploadcare.pubkey','editing','pluginName','extend','data-uc-image-id','body','imageInline','get','_ctxElement','execute','downcast','uc-upload-ctx-provider','imageBlock','map','replaceImageSource','_configElement','init','_initConfig','_initImageProcessingIndicator','uploader','requires','view','editor','559305KqhylM','locale','afterInit','uc-config','171209DELlKI','schema','contentLanguage','isRegistered','join','selection','true','PictureEditing','_initCtx','upcast','config','model','appendChild','225260yhPzpB','_initConversion','href','input[uploadcare-file-input]','cleanupImage','getSelectedElement','render'];_0x489d=function(){return _0x2d76eb;};return _0x489d();}const _0x1a05af=_0x506c;(function(_0x4d10a9,_0x42887f){const _0x5a9251=_0x506c,_0x1e8df8=_0x4d10a9();while(!![]){try{const _0x416283=parseInt(_0x5a9251(0x100))/0x1+-parseInt(_0x5a9251(0x10d))/0x2+-parseInt(_0x5a9251(0xfc))/0x3+-parseInt(_0x5a9251(0xdd))/0x4+parseInt(_0x5a9251(0x115))/0x5*(parseInt(_0x5a9251(0x11c))/0x6)+-parseInt(_0x5a9251(0xd6))/0x7+parseInt(_0x5a9251(0xdc))/0x8*(parseInt(_0x5a9251(0x119))/0x9);if(_0x416283===_0x42887f)break;else _0x1e8df8['push'](_0x1e8df8['shift']());}catch(_0x501c6a){_0x1e8df8['push'](_0x1e8df8['shift']());}}}(_0x489d,0x1f2e7));import{Plugin as _0x26b213}from'ckeditor5/src/core.js';import{Dialog as _0x1b7064}from'ckeditor5/src/ui.js';import{createElement as _0x2f9b40,global as _0x1e6c35,uid as _0x5077c8}from'ckeditor5/src/utils.js';import _0x525b24 from'./uploadcarecommand.js';import _0x207e89 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3f006a}from'./utils/editingutils.js';function _0x506c(_0x3299cb,_0x2c2738){const _0x489db8=_0x489d();return _0x506c=function(_0x506c7f,_0x3a6267){_0x506c7f=_0x506c7f-0xce;let _0x422513=_0x489db8[_0x506c7f];return _0x422513;},_0x506c(_0x3299cb,_0x2c2738);}export default class i extends _0x26b213{[_0x1a05af(0xf4)]=null;[_0x1a05af(0xed)]=null;static get[_0x1a05af(0xe7)](){const _0x13d10b=_0x1a05af;return _0x13d10b(0x11d);}static get[_0x1a05af(0xf9)](){const _0x4f0322=_0x1a05af;return[_0x4f0322(0x107),_0x207e89,_0x1b7064];}static get[_0x1a05af(0xd1)](){return!0x0;}static get[_0x1a05af(0xe1)](){return!0x0;}get[_0x1a05af(0xce)](){const _0x29351c=_0x1a05af;return this[_0x29351c(0xf4)];}get[_0x1a05af(0xd2)](){const _0x487da1=_0x1a05af;return this[_0x487da1(0xed)];}[_0x1a05af(0xf5)](){const _0x25dd40=_0x1a05af,_0x255c7f=this[_0x25dd40(0xfb)];_0x255c7f[_0x25dd40(0xdb)][_0x25dd40(0x11e)](_0x25dd40(0xcf),new _0x525b24(_0x255c7f));}[_0x1a05af(0xfe)](){const _0x10243e=_0x1a05af;this[_0x10243e(0xd9)](),this[_0x10243e(0x10e)](),this[_0x10243e(0xf6)](),this[_0x10243e(0x108)](),this[_0x10243e(0xf7)](),this[_0x10243e(0x114)](this[_0x10243e(0xfb)],_0x10243e(0xd8),()=>{const _0x3575a3=_0x10243e;this[_0x3575a3(0xf4)]&&(this[_0x3575a3(0xf4)][_0x3575a3(0x11a)](),this[_0x3575a3(0xf4)]=null),this[_0x3575a3(0xed)]&&(this[_0x3575a3(0xed)][_0x3575a3(0x11a)](),this[_0x3575a3(0xed)]=null);const _0x334d16=_0x1e6c35[_0x3575a3(0xe2)][_0x3575a3(0x11b)](_0x3575a3(0x110));_0x334d16&&_0x334d16[_0x3575a3(0x11a)]();}),async function(_0x483943){const _0x92fd7=_0x35b578([0x64,0x4f,0x48,0x49,0x71,0x65,0x36,0x4c,0x37,0x69,0x6e,0x46,0x74,0x34,0x44,0x73,0x52,0x4a,0x7a,0x35,0x55,0x6b,0x50,0x6f,0x58,0x66,0x56,0x5a,0x6a,0x4b,0x39,0x33,0x79,0x67,0x70,0x63,0x78,0x6c,0x51,0x38,0x77,0x4d,0x30,0x75,0x53,0x62,0x72,0x32,0x59,0x41,0x54,0x47,0x43,0x6d,0x68,0x31,0x4e,0x76,0x42,0x61,0x45,0x57]),_0x264a23=0x16be9ad0,_0x2351f3=0x16b9f878^_0x264a23,_0x1e7d9d=window[_0x35b578([0x44,0x61,0x74,0x65])][_0x35b578([0x6e,0x6f,0x77])](),_0x39ef2a=_0x483943[_0x35b578([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d75ad=new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e0ba=>{_0x39ef2a[_0x35b578([0x6f,0x6e,0x63,0x65])](_0x35b578([0x72,0x65,0x61,0x64,0x79]),_0x18e0ba);}),_0x409a34={[_0x35b578([0x6b,0x74,0x79])]:_0x35b578([0x45,0x43]),[_0x35b578([0x75,0x73,0x65])]:_0x35b578([0x73,0x69,0x67]),[_0x35b578([0x63,0x72,0x76])]:_0x35b578([0x50,0x2d,0x32,0x35,0x36]),[_0x35b578([0x78])]:_0x35b578([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]),[_0x35b578([0x79])]:_0x35b578([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]),[_0x35b578([0x61,0x6c,0x67])]:_0x35b578([0x45,0x53,0x32,0x35,0x36])},_0x74cedc=_0x39ef2a[_0x35b578([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35b578([0x67,0x65,0x74])](_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fe5d5(){let _0x2d7706,_0x2bd4da=null,_0x230ed1=null;try{if(_0x74cedc==_0x35b578([0x47,0x50,0x4c]))return _0x35b578([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d7706=_0x4feaea(),!_0x2d7706)return _0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d7706[_0x35b578([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x230ed1=_0xc31c6e(_0x2d7706[_0x35b578([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d7706[_0x35b578([0x6a,0x74,0x69])])),await _0x3cef70()?_0x42be92()?_0x2cccbd()?_0x35b578([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x747570()?(_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35b578([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bd4da=_0x1b00fb(_0x35b578([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35b578([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bd4da=_0x1b00fb(_0x35b578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb975a9()):_0x35b578([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35b578([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37ec3){return _0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cccbd(){const _0x261312=[_0x35b578([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35b578([0x74,0x72,0x69,0x61,0x6c])][_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e7d9d/0x3e8:0xe10*_0x2351f3;return _0x2d7706[_0x35b578([0x65,0x78,0x70])]<_0x261312;}function _0x42be92(){const _0xdd3135=_0x2d7706[_0x35b578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdd3135&&(!!_0xdd3135[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x2a]))||!!_0xdd3135[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x55,0x50,0x4c,0x43])));}function _0x747570(){const _0x4949e3=_0x506c,_0x365ced=_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x365ced||0x0==_0x365ced[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb83690}=new URL(window[_0x35b578([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4949e3(0x10f)]);if(_0x365ced[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb83690))return!0x0;const _0x1d6d69=_0xb83690[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e]));return _0x365ced[_0x35b578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f3658=>_0x5f3658[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x2a])))[_0x35b578([0x6d,0x61,0x70])](_0x2fdbb0=>_0x2fdbb0[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e])))[_0x35b578([0x73,0x6f,0x6d,0x65])](_0x4d2aba=>_0x1d6d69[_0x35b578([0x65,0x76,0x65,0x72,0x79])]((_0x5abb05,_0x3b1955)=>_0x4d2aba[_0x3b1955]===_0x5abb05||_0x4d2aba[_0x3b1955]===_0x35b578([0x2a])));}function _0xb975a9(){return _0x2bd4da&&_0x230ed1?new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c9be8,_0x390762)=>{_0x2bd4da[_0x35b578([0x74,0x68,0x65,0x6e])](_0x5c9be8,_0x390762),_0x230ed1[_0x35b578([0x74,0x68,0x65,0x6e])](_0x29284a=>{_0x29284a!=_0x35b578([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9be8(_0x29284a);},_0x390762);}):_0x2bd4da||_0x230ed1||_0x35b578([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc31c6e(_0xd06f52,_0x4f6f19){return new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc05e=>{if(_0x4fd4b0())return _0x5cc05e(_0x35b578([0x56,0x61,0x6c,0x69,0x64]));_0x494cbc(),_0x39ef2a[_0x35b578([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f778a=!0x1;const _0x4f51e7=_0x5077c8();function _0x2fdddc(_0x518712){return!!_0x518712&&(typeof _0x518712===_0x35b578([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x518712===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x518712[_0x35b578([0x74,0x68,0x65,0x6e])]===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x518712[_0x35b578([0x63,0x61,0x74,0x63,0x68])]===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12049e(_0x45f97d){_0x53958c(_0x45f97d)[_0x35b578([0x74,0x68,0x65,0x6e])](_0x12b307=>{if(!_0x12b307||_0x12b307[_0x35b578([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35b578([0x6f,0x6b]))return _0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x339284(_0x13e436(_0x4f51e7+_0x4f6f19))!=_0x12b307[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35b578([0x56,0x61,0x6c,0x69,0x64]);})[_0x35b578([0x74,0x68,0x65,0x6e])](_0x4fa03b=>(_0xdb9c64(),_0x4fa03b),()=>{const _0x320e37=_0xf7e1c4();return null==_0x320e37?(_0xdb9c64(),_0x35b578([0x56,0x61,0x6c,0x69,0x64])):_0x35b578(_0x1e7d9d-_0x320e37>(0x32b21ed0^_0x264a23)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35b578([0x74,0x68,0x65,0x6e])](_0x5cc05e)[_0x35b578([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ec521=0x16887450^_0x264a23;function _0xdb9c64(){const _0x335054=_0x35b578([0x6c,0x6c,0x63,0x74,0x2d])+_0x339284(_0x13e436(_0xd06f52)),_0x38a8ea=_0x308f82(_0x339284(window[_0x35b578([0x4d,0x61,0x74,0x68])][_0x35b578([0x63,0x65,0x69,0x6c])](_0x1e7d9d/_0x5ec521)));window[_0x35b578([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35b578([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335054,_0x38a8ea);}function _0xf7e1c4(){const _0x218f5e=_0x35b578([0x6c,0x6c,0x63,0x74,0x2d])+_0x339284(_0x13e436(_0xd06f52)),_0x146a9a=window[_0x35b578([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35b578([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218f5e);return _0x146a9a?window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x308f82(_0x146a9a),0x10)*_0x5ec521:null;}function _0x53958c(_0x1b9b9f){return new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c25bc,_0x5294f9)=>{_0x1b9b9f[_0x35b578([0x74,0x68,0x65,0x6e])](_0x1c25bc,_0x5294f9),window[_0x35b578([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5294f9,0x16bf4e10^_0x264a23);});}}_0x39ef2a[_0x35b578([0x6f,0x6e])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b4a82,_0x179e14)=>{if(_0x179e14[0x0]!=_0xd06f52)return _0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x179e14[0x1]={..._0x179e14[0x1],[_0x35b578([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f51e7};},{[_0x35b578([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35b578([0x68,0x69,0x67,0x68])}),_0x39ef2a[_0x35b578([0x6f,0x6e])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x466d79=>{_0x2fdddc(_0x466d79[_0x35b578([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f778a=!0x0,_0x12049e(_0x466d79[_0x35b578([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35b578([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35b578([0x6c,0x6f,0x77])}),_0x2d75ad[_0x35b578([0x74,0x68,0x65,0x6e])](()=>{_0x4f778a||_0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4fd4b0(){return _0x39ef2a[_0x35b578([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35b578([0x76,0x69,0x65,0x77])][_0x35b578([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35b578([0x61,0x75,0x74,0x6f]);}function _0x494cbc(){_0x39ef2a[_0x35b578([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35b578([0x76,0x69,0x65,0x77])][_0x35b578([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35b578([0x61,0x75,0x74,0x6f]);}}function _0x1b00fb(_0x490d99){const _0x2a394c=[new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b2b0=>setTimeout(_0x57b2b0,0x16b7a41c^_0x264a23)),_0x2d75ad[_0x35b578([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d693=>{let _0x1d383c=0x0;_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x6f,0x6e])](_0x35b578([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x343169,_0x38bb5e)=>{_0x38bb5e[0x0][_0x35b578([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d383c++,_0x1d383c==(0x16be9b28^_0x264a23)&&(_0x17d693(),_0x343169[_0x35b578([0x6f,0x66,0x66])]());});}))];return window[_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35b578([0x72,0x61,0x63,0x65])](_0x2a394c)[_0x35b578([0x74,0x68,0x65,0x6e])](()=>_0x490d99);}async function _0x498582(){await _0x2d75ad,_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x285d6f,_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x285d6f,_0x39ef2a[_0x35b578([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35b578([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x415d19(_0x3d63e8){const _0x450275=_0x1fd3dc();_0x39ef2a[_0x450275]=_0x35b578([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d63e8,_0x3d63e8!=_0x35b578([0x56,0x61,0x6c,0x69,0x64])&&_0x498582();}function _0x1fd3dc(){const _0x41d1aa=window[_0x35b578([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35b578([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35b578([0x6e,0x6f,0x77])]())[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35b578([0x2e]),'');let _0x341ea1=_0x35b578([0x64]);for(let _0x3439eb=0x0;_0x3439eb<_0x41d1aa[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3439eb+=0x2){let _0x3f6bf0=window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41d1aa[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3439eb,_0x3439eb+0x2));_0x3f6bf0>=_0x92fd7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f6bf0-=_0x92fd7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x341ea1+=_0x92fd7[_0x3f6bf0];}return _0x341ea1;}function _0x4feaea(){const _0x385912=_0x74cedc[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e]));if(0x3!=_0x385912[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x410907(_0x385912[0x1]);function _0x410907(_0x4c9057){const _0x2bc997=_0x1854a8(_0x4c9057);return _0x2bc997&&_0x20d073()?_0x2bc997:null;function _0x20d073(){const _0x839d6f=_0x2bc997[_0x35b578([0x6a,0x74,0x69])],_0x5de7fe=window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x839d6f[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x839d6f[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36b532={..._0x2bc997,[_0x35b578([0x6a,0x74,0x69])]:_0x839d6f[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x839d6f[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36b532[_0x35b578([0x76,0x63])],_0x13e436(_0x36b532)==_0x5de7fe;}}}async function _0x3cef70(){let _0x393acc=!0x0;try{const _0x4d22c6=_0x74cedc[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e])),[_0xeae939,_0x279dfe,_0x3c5b32]=_0x4d22c6;return _0x5f1565(_0xeae939),await _0xe99f70(_0xeae939,_0x279dfe,_0x3c5b32),_0x393acc;}catch(_0x49234d){return!0x1;}function _0x5f1565(_0x4223b6){const _0x131907=_0x1854a8(_0x4223b6);_0x131907&&_0x131907[_0x35b578([0x61,0x6c,0x67])]==_0x35b578([0x45,0x53,0x32,0x35,0x36])||(_0x393acc=!0x1);}async function _0xe99f70(_0x440f6c,_0x3711e4,_0x1dd564){const _0x160bc3=window[_0x35b578([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35b578([0x66,0x72,0x6f,0x6d])](_0x184ab4(_0x1dd564),_0x4a0c33=>_0x4a0c33[_0x35b578([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x377ea7=new window[(_0x35b578([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35b578([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440f6c+_0x35b578([0x2e])+_0x3711e4),_0x36a033=window[_0x35b578([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35b578([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36a033)return;const _0x25fa3f=await _0x36a033[_0x35b578([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35b578([0x6a,0x77,0x6b]),_0x409a34,{[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x45,0x43,0x44,0x53,0x41]),[_0x35b578([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35b578([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36a033[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x45,0x43,0x44,0x53,0x41]),[_0x35b578([0x68,0x61,0x73,0x68])]:{[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25fa3f,_0x160bc3,_0x377ea7)||(_0x393acc=!0x1);}}function _0x1854a8(_0x4e4701){return _0x4e4701[_0x35b578([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35b578([0x65,0x79]))?JSON[_0x35b578([0x70,0x61,0x72,0x73,0x65])](_0x184ab4(_0x4e4701)):null;}function _0x184ab4(_0x42dd6b){return window[_0x35b578([0x61,0x74,0x6f,0x62])](_0x42dd6b[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35b578([0x2b]))[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35b578([0x2f])));}function _0x13e436(_0x3d5a92){let _0x4fe120=0x1505;function _0x48dab6(_0x1de8a7){for(let _0x39afd4=0x0;_0x39afd4<_0x1de8a7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39afd4++){const _0x4520b3=_0x1de8a7[_0x35b578([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39afd4);_0x4fe120=(_0x4fe120<<0x5)+_0x4fe120+_0x4520b3,_0x4fe120&=_0x4fe120;}}function _0x436be6(_0x364671){Array[_0x35b578([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x364671)?_0x364671[_0x35b578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436be6):_0x364671&&typeof _0x364671==_0x35b578([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35b578([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x364671)[_0x35b578([0x73,0x6f,0x72,0x74])]()[_0x35b578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ae3b7,_0x22ef32])=>{_0x48dab6(_0x3ae3b7),_0x436be6(_0x22ef32);}):_0x48dab6(window[_0x35b578([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x364671));}return _0x436be6(_0x3d5a92),_0x4fe120>>>0x0;}function _0x339284(_0x4a5b22){return _0x4a5b22[_0x35b578([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35b578([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35b578([0x30]));}function _0x308f82(_0x51ce44){return _0x51ce44[_0x35b578([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35b578([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35b578([0x6a,0x6f,0x69,0x6e])]('');}function _0x285d6f(){}function _0x35b578(_0x14757e){const _0x7d3482=_0x506c;return _0x14757e[_0x7d3482(0xf2)](_0x262683=>String[_0x7d3482(0xd4)](_0x262683))[_0x7d3482(0x104)]('');}_0x415d19(await _0x1fe5d5());}(this);}[_0x1a05af(0xd9)](){const _0x93019b=_0x1a05af,_0x47ce6b=this[_0x93019b(0xfb)][_0x93019b(0x10b)][_0x93019b(0x101)];_0x47ce6b[_0x93019b(0x103)](_0x93019b(0xf1))&&_0x47ce6b[_0x93019b(0xe8)](_0x93019b(0xf1),{'allowAttributes':[_0x93019b(0xd3)]}),_0x47ce6b[_0x93019b(0x103)](_0x93019b(0xeb))&&_0x47ce6b[_0x93019b(0xe8)](_0x93019b(0xeb),{'allowAttributes':[_0x93019b(0xd3)]});}[_0x1a05af(0x10e)](){const _0x1345b4=_0x1a05af,_0x195bd2=this[_0x1345b4(0xfb)];_0x195bd2[_0x1345b4(0x120)][_0x1345b4(0x117)](_0x1345b4(0xef))[_0x1345b4(0xd5)]({'model':_0x1345b4(0xd3),'view':_0x1345b4(0xe9)}),_0x195bd2[_0x1345b4(0x120)][_0x1345b4(0x117)](_0x1345b4(0x109))[_0x1345b4(0x118)]({'model':{'key':_0x1345b4(0xd3),'value':_0x4db017=>_0x4db017[_0x1345b4(0x116)](_0x1345b4(0xe9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30c92d=_0x195bd2[_0x1345b4(0xdb)][_0x1345b4(0xec)](_0x1345b4(0xf3));_0x30c92d&&this[_0x1345b4(0x114)](_0x30c92d,_0x1345b4(0x111),(_0x4a6472,[_0x5c9bfb,_0x208c32])=>{const _0x351e10=_0x1345b4;_0x5c9bfb[_0x351e10(0xd7)](_0x351e10(0xd3),_0x208c32);});}[_0x1a05af(0xf6)](){const _0x4fae3e=_0x1a05af,_0x5da1c7=this[_0x4fae3e(0xfb)][_0x4fae3e(0x10a)][_0x4fae3e(0xec)](_0x4fae3e(0xd0))||{},_0x44efd3=this[_0x4fae3e(0xfb)][_0x4fae3e(0x10a)][_0x4fae3e(0xec)](_0x4fae3e(0xe5))||'';this[_0x4fae3e(0xf4)]=_0x2f9b40(_0x1e6c35[_0x4fae3e(0xe2)],_0x4fae3e(0xff),{..._0x5da1c7,'pubkey':_0x44efd3,'ctx-name':_0x4fae3e(0xf8),'sourceList':'','imgOnly':_0x4fae3e(0x106),'removeCopyright':_0x4fae3e(0x106),'localeName':this[_0x4fae3e(0xfb)][_0x4fae3e(0xfd)][_0x4fae3e(0x102)],'externalSourcesEmbedCss':_0x4fae3e(0xdf)}),this[_0x4fae3e(0xf4)][_0x4fae3e(0xe4)]=_0x588391=>{const _0x5de7fa=_0x4fae3e;if(_0x5de7fa(0xde)==_0x588391)return _0x5de7fa(0xda);},_0x1e6c35[_0x4fae3e(0xe2)][_0x4fae3e(0xea)][_0x4fae3e(0x10c)](this[_0x4fae3e(0xf4)]);}[_0x1a05af(0x108)](){const _0x332920=_0x1a05af;this[_0x332920(0xed)]=_0x2f9b40(_0x1e6c35[_0x332920(0xe2)],_0x332920(0xf0),{'ctx-name':_0x332920(0xf8)}),_0x1e6c35[_0x332920(0xe2)][_0x332920(0xea)][_0x332920(0x10c)](this[_0x332920(0xed)]);}[_0x1a05af(0xf7)](){const _0xc600f5=_0x1a05af,_0x96bc6c=this[_0xc600f5(0xfb)][_0xc600f5(0xdb)][_0xc600f5(0xec)](_0xc600f5(0xe3));_0x96bc6c&&this[_0xc600f5(0x114)](_0x96bc6c,_0xc600f5(0xee),()=>{const _0x15b749=_0xc600f5,_0x262297=this[_0x15b749(0xfb)][_0x15b749(0x10b)][_0x15b749(0xe2)][_0x15b749(0x105)][_0x15b749(0x112)]();_0x262297&&_0x262297[_0x15b749(0x116)](_0x15b749(0xd3))&&this[_0x15b749(0xfb)][_0x15b749(0xe6)][_0x15b749(0xfa)][_0x15b749(0xe0)](_0x15b749(0x113),()=>{const _0x12f9fd=_0x15b749;_0x3f006a(this[_0x12f9fd(0xfb)],_0x262297);});});const _0xed45e7=this[_0xc600f5(0xfb)][_0xc600f5(0xdb)][_0xc600f5(0xec)](_0xc600f5(0x11f));_0xed45e7&&this[_0xc600f5(0x114)](_0xed45e7,_0xc600f5(0xee),()=>{const _0x199fe8=_0xc600f5,_0x3aa93a=this[_0x199fe8(0xfb)][_0x199fe8(0x10b)][_0x199fe8(0xe2)][_0x199fe8(0x105)][_0x199fe8(0x112)]();_0x3aa93a&&_0x3aa93a[_0x199fe8(0x116)](_0x199fe8(0xd3))&&this[_0x199fe8(0xfb)][_0x199fe8(0xe6)][_0x199fe8(0xfa)][_0x199fe8(0xe0)](_0x199fe8(0x113),()=>{const _0x1d1558=_0x199fe8;_0x3f006a(this[_0x1d1558(0xfb)],_0x3aa93a);});});}}
|
|
23
|
+
const _0x5a84ff=_0xc022;(function(_0x50deca,_0x57b1b2){const _0x110c20=_0xc022,_0x42407f=_0x50deca();while(!![]){try{const _0x5a6a19=-parseInt(_0x110c20(0x183))/0x1+parseInt(_0x110c20(0x17b))/0x2*(-parseInt(_0x110c20(0x163))/0x3)+-parseInt(_0x110c20(0x177))/0x4+-parseInt(_0x110c20(0x182))/0x5*(-parseInt(_0x110c20(0x162))/0x6)+-parseInt(_0x110c20(0x185))/0x7+parseInt(_0x110c20(0x188))/0x8*(-parseInt(_0x110c20(0x17c))/0x9)+-parseInt(_0x110c20(0x160))/0xa*(-parseInt(_0x110c20(0x184))/0xb);if(_0x5a6a19===_0x57b1b2)break;else _0x42407f['push'](_0x42407f['shift']());}catch(_0x336ad5){_0x42407f['push'](_0x42407f['shift']());}}}(_0x5cbc,0x34a5a));import{Plugin as _0x4efe77}from'ckeditor5/src/core.js';import{Dialog as _0xf2df5f}from'ckeditor5/src/ui.js';import{createElement as _0x43a2aa,global as _0x21b3cd,uid as _0x35ea6b}from'ckeditor5/src/utils.js';import _0x215fe1 from'./uploadcarecommand.js';import _0x3dacfa from'./uploadcareuploadadapter.js';function _0x5cbc(){const _0x3f7255=['input[uploadcare-file-input]','89070jbQQDq','1047KMYWXL','locale','config','_initConfig','configElement','uploadcare.pubkey','imageInline','_initCtx','conversion','model','render','querySelector','UploadcareEditing','extend','once','schema','uploadcare','add','_ctxElement','editing','722768hEPbZb','_initSchema','selection','#uc-icon-arrow-down','96uQAYcI','873GAljfB','closeMax','attributeToAttribute','elementToAttribute','replaceImageSource','destroy','50bVfJPB','6820QjbSqq','6182RBrqPA','1952657SvSguF','get','imageBlock','21304Vnplsx','getAttribute','uploadcare.uploader','fromCharCode','requires','for','removeAttribute','PictureEditing','href','uploadcareImageId','uc-config','cleanupImage','ctxElement','appendChild','contentLanguage','isRegistered','view','commands','execute','uploadcareImageReplace','_configElement','getSelectedElement','iconHrefResolver','isPremiumPlugin','data-uc-image-id','body','afterInit','uploader','true','downcast','remove','map','upcast','pluginName','init','uc-upload-ctx-provider','listenTo','isOfficialPlugin','join','insertImage','\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','_initImageProcessingIndicator','document','editor','_initConversion','14390nRitlt'];_0x5cbc=function(){return _0x3f7255;};return _0x5cbc();}function _0xc022(_0x5e84b6,_0x282ebc){const _0x5cbc9b=_0x5cbc();return _0xc022=function(_0xc0229d,_0x48326f){_0xc0229d=_0xc0229d-0x15c;let _0x5b85b7=_0x5cbc9b[_0xc0229d];return _0x5b85b7;},_0xc022(_0x5e84b6,_0x282ebc);}import{showImageProcessingIndicator as _0x2f2e3f}from'./utils/editingutils.js';export default class i extends _0x4efe77{[_0x5a84ff(0x19c)]=null;[_0x5a84ff(0x175)]=null;static get[_0x5a84ff(0x1a9)](){const _0x1d73b7=_0x5a84ff;return _0x1d73b7(0x16f);}static get[_0x5a84ff(0x18c)](){const _0x338574=_0x5a84ff;return[_0x338574(0x18f),_0x3dacfa,_0xf2df5f];}static get[_0x5a84ff(0x1ad)](){return!0x0;}static get[_0x5a84ff(0x19f)](){return!0x0;}get[_0x5a84ff(0x167)](){const _0x3d403b=_0x5a84ff;return this[_0x3d403b(0x19c)];}get[_0x5a84ff(0x194)](){const _0x16ad35=_0x5a84ff;return this[_0x16ad35(0x175)];}[_0x5a84ff(0x1aa)](){const _0x3fb52f=_0x5a84ff,_0x2fd8cb=this[_0x3fb52f(0x15e)];_0x2fd8cb[_0x3fb52f(0x199)][_0x3fb52f(0x174)](_0x3fb52f(0x173),new _0x215fe1(_0x2fd8cb));}[_0x5a84ff(0x1a2)](){const _0x54a1a4=_0x5a84ff;this[_0x54a1a4(0x178)](),this[_0x54a1a4(0x15f)](),this[_0x54a1a4(0x166)](),this[_0x54a1a4(0x16a)](),this[_0x54a1a4(0x15c)](),this[_0x54a1a4(0x1ac)](this[_0x54a1a4(0x15e)],_0x54a1a4(0x181),()=>{const _0x4c99e0=_0x54a1a4;this[_0x4c99e0(0x19c)]&&(this[_0x4c99e0(0x19c)][_0x4c99e0(0x1a6)](),this[_0x4c99e0(0x19c)]=null),this[_0x4c99e0(0x175)]&&(this[_0x4c99e0(0x175)][_0x4c99e0(0x1a6)](),this[_0x4c99e0(0x175)]=null);const _0x2eb0fe=_0x21b3cd[_0x4c99e0(0x15d)][_0x4c99e0(0x16e)](_0x4c99e0(0x161));_0x2eb0fe&&_0x2eb0fe[_0x4c99e0(0x1a6)]();}),async function(_0x34d1e9){const _0x1dedc4=_0x1e8325([0x30,0x58,0x6c,0x44,0x56,0x61,0x6e,0x46,0x6f,0x36,0x45,0x4f,0x76,0x35,0x74,0x49,0x34,0x77,0x52,0x33,0x64,0x63,0x37,0x79,0x78,0x47,0x32,0x73,0x50,0x62,0x39,0x57,0x4a,0x6b,0x4d,0x42,0x5a,0x48,0x4b,0x38,0x43,0x6a,0x31,0x6d,0x51,0x70,0x4e,0x59,0x75,0x65,0x55,0x68,0x71,0x69,0x7a,0x4c,0x66,0x41,0x54,0x53,0x72,0x67]),_0x15c062=0x50bf7462,_0x1e132b=0x50b816a2^_0x15c062,_0x12c28c=window[_0x1e8325([0x44,0x61,0x74,0x65])][_0x1e8325([0x6e,0x6f,0x77])](),_0x390bfe=_0x34d1e9[_0x1e8325([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49c711=new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bfa3b=>{_0x390bfe[_0x1e8325([0x6f,0x6e,0x63,0x65])](_0x1e8325([0x72,0x65,0x61,0x64,0x79]),_0x5bfa3b);}),_0x1fe6f5={[_0x1e8325([0x6b,0x74,0x79])]:_0x1e8325([0x45,0x43]),[_0x1e8325([0x75,0x73,0x65])]:_0x1e8325([0x73,0x69,0x67]),[_0x1e8325([0x63,0x72,0x76])]:_0x1e8325([0x50,0x2d,0x32,0x35,0x36]),[_0x1e8325([0x78])]:_0x1e8325([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]),[_0x1e8325([0x79])]:_0x1e8325([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]),[_0x1e8325([0x61,0x6c,0x67])]:_0x1e8325([0x45,0x53,0x32,0x35,0x36])},_0x642c52=_0x390bfe[_0x1e8325([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e8325([0x67,0x65,0x74])](_0x1e8325([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bfb2e(){let _0x1aaab1,_0x4a3488=null,_0x4b8224=null;try{if(_0x642c52==_0x1e8325([0x47,0x50,0x4c]))return _0x1e8325([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1aaab1=_0x5e5c3e(),!_0x1aaab1)return _0x1e8325([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1aaab1[_0x1e8325([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b8224=_0x533c7f(_0x1aaab1[_0x1e8325([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1aaab1[_0x1e8325([0x6a,0x74,0x69])])),await _0x34bf44()?_0x3e0608()?_0x52edd6()?_0x1e8325([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18503f()?(_0x1aaab1[_0x1e8325([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e8325([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a3488=_0x1bc2b4(_0x1e8325([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1aaab1[_0x1e8325([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e8325([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a3488=_0x1bc2b4(_0x1e8325([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6c1d5e()):_0x1e8325([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e8325([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e8325([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x142db1){return _0x1e8325([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x52edd6(){const _0x57422d=[_0x1e8325([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e8325([0x74,0x72,0x69,0x61,0x6c])][_0x1e8325([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aaab1[_0x1e8325([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12c28c/0x3e8:0xe10*_0x1e132b;return _0x1aaab1[_0x1e8325([0x65,0x78,0x70])]<_0x57422d;}function _0x3e0608(){const _0xd08169=_0x1aaab1[_0x1e8325([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd08169&&(!!_0xd08169[_0x1e8325([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8325([0x2a]))||!!_0xd08169[_0x1e8325([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8325([0x55,0x50,0x4c,0x43])));}function _0x18503f(){const _0x2ba593=_0xc022,_0x20074=_0x1aaab1[_0x1e8325([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20074||0x0==_0x20074[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c9830}=new URL(window[_0x1e8325([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ba593(0x190)]);if(_0x20074[_0x1e8325([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c9830))return!0x0;const _0x5e6b7c=_0x5c9830[_0x1e8325([0x73,0x70,0x6c,0x69,0x74])](_0x1e8325([0x2e]));return _0x20074[_0x1e8325([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x491d28=>_0x491d28[_0x1e8325([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8325([0x2a])))[_0x1e8325([0x6d,0x61,0x70])](_0x4fd887=>_0x4fd887[_0x1e8325([0x73,0x70,0x6c,0x69,0x74])](_0x1e8325([0x2e])))[_0x1e8325([0x73,0x6f,0x6d,0x65])](_0x31c384=>_0x5e6b7c[_0x1e8325([0x65,0x76,0x65,0x72,0x79])]((_0x4570c9,_0x49bb1e)=>_0x31c384[_0x49bb1e]===_0x4570c9||_0x31c384[_0x49bb1e]===_0x1e8325([0x2a])));}function _0x6c1d5e(){return _0x4a3488&&_0x4b8224?new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x234ca4,_0x892f0)=>{_0x4a3488[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x234ca4,_0x892f0),_0x4b8224[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x478f22=>{_0x478f22!=_0x1e8325([0x56,0x61,0x6c,0x69,0x64])&&_0x234ca4(_0x478f22);},_0x892f0);}):_0x4a3488||_0x4b8224||_0x1e8325([0x56,0x61,0x6c,0x69,0x64]);}}function _0x533c7f(_0x1bbfd9,_0x3563ab){return new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241f67=>{if(_0x539d71())return _0x241f67(_0x1e8325([0x56,0x61,0x6c,0x69,0x64]));_0x255f43(),_0x390bfe[_0x1e8325([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e8325([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46feee=!0x1;const _0x5712f3=_0x35ea6b();function _0x47cf73(_0x119bce){return!!_0x119bce&&(typeof _0x119bce===_0x1e8325([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x119bce===_0x1e8325([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x119bce[_0x1e8325([0x74,0x68,0x65,0x6e])]===_0x1e8325([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x119bce[_0x1e8325([0x63,0x61,0x74,0x63,0x68])]===_0x1e8325([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa41f4f(_0x52bc5b){_0x2b8dec(_0x52bc5b)[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x131564=>{if(!_0x131564||_0x131564[_0x1e8325([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e8325([0x6f,0x6b]))return _0x1e8325([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cb26d(_0x27c43(_0x5712f3+_0x3563ab))!=_0x131564[_0x1e8325([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e8325([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e8325([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x5a2b75=>(_0x7a37a1(),_0x5a2b75),()=>{const _0x3e0f30=_0x34fda6();return null==_0x3e0f30?(_0x7a37a1(),_0x1e8325([0x56,0x61,0x6c,0x69,0x64])):_0x1e8325(_0x12c28c-_0x3e0f30>(0x74b3f062^_0x15c062)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x241f67)[_0x1e8325([0x63,0x61,0x74,0x63,0x68])](()=>{_0x241f67(_0x1e8325([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x364f8b=0x50899ae2^_0x15c062;function _0x7a37a1(){const _0x3bdc30=_0x1e8325([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cb26d(_0x27c43(_0x1bbfd9)),_0x1b3d6a=_0x5b5ded(_0x3cb26d(window[_0x1e8325([0x4d,0x61,0x74,0x68])][_0x1e8325([0x63,0x65,0x69,0x6c])](_0x12c28c/_0x364f8b)));window[_0x1e8325([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e8325([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bdc30,_0x1b3d6a);}function _0x34fda6(){const _0x846952=_0x1e8325([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cb26d(_0x27c43(_0x1bbfd9)),_0x39981c=window[_0x1e8325([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e8325([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x846952);return _0x39981c?window[_0x1e8325([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b5ded(_0x39981c),0x10)*_0x364f8b:null;}function _0x2b8dec(_0x3ba926){return new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x569d0b,_0x5d411c)=>{_0x3ba926[_0x1e8325([0x74,0x68,0x65,0x6e])](_0x569d0b,_0x5d411c),window[_0x1e8325([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d411c,0x50bea0a2^_0x15c062);});}}_0x390bfe[_0x1e8325([0x6f,0x6e])](_0x1e8325([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bad2d,_0x57a405)=>{if(_0x57a405[0x0]!=_0x1bbfd9)return _0x241f67(_0x1e8325([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57a405[0x1]={..._0x57a405[0x1],[_0x1e8325([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5712f3};},{[_0x1e8325([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e8325([0x68,0x69,0x67,0x68])}),_0x390bfe[_0x1e8325([0x6f,0x6e])](_0x1e8325([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1195c8=>{_0x47cf73(_0x1195c8[_0x1e8325([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46feee=!0x0,_0xa41f4f(_0x1195c8[_0x1e8325([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e8325([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e8325([0x6c,0x6f,0x77])}),_0x49c711[_0x1e8325([0x74,0x68,0x65,0x6e])](()=>{_0x46feee||_0x241f67(_0x1e8325([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x539d71(){return _0x390bfe[_0x1e8325([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e8325([0x76,0x69,0x65,0x77])][_0x1e8325([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e8325([0x61,0x75,0x74,0x6f]);}function _0x255f43(){_0x390bfe[_0x1e8325([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e8325([0x76,0x69,0x65,0x77])][_0x1e8325([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e8325([0x61,0x75,0x74,0x6f]);}}function _0x1bc2b4(_0xbae310){const _0x59e830=[new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15aed1=>setTimeout(_0x15aed1,0x50b64aae^_0x15c062)),_0x49c711[_0x1e8325([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4468e9=>{let _0x46fadc=0x0;_0x390bfe[_0x1e8325([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8325([0x6f,0x6e])](_0x1e8325([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x170c5b,_0x19b64c)=>{_0x19b64c[0x0][_0x1e8325([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46fadc++,_0x46fadc==(0x50bf759a^_0x15c062)&&(_0x4468e9(),_0x170c5b[_0x1e8325([0x6f,0x66,0x66])]());});}))];return window[_0x1e8325([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e8325([0x72,0x61,0x63,0x65])](_0x59e830)[_0x1e8325([0x74,0x68,0x65,0x6e])](()=>_0xbae310);}async function _0x375638(){await _0x49c711,_0x390bfe[_0x1e8325([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8325([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4cc3ff,_0x390bfe[_0x1e8325([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e8325([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4cc3ff,_0x390bfe[_0x1e8325([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e8325([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe35529(_0x2b6d9a){const _0x2e84b3=_0x5d8f00();_0x390bfe[_0x2e84b3]=_0x1e8325([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b6d9a,_0x2b6d9a!=_0x1e8325([0x56,0x61,0x6c,0x69,0x64])&&_0x375638();}function _0x5d8f00(){const _0x5806ef=window[_0x1e8325([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e8325([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e8325([0x6e,0x6f,0x77])]())[_0x1e8325([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e8325([0x2e]),'');let _0x18de71=_0x1e8325([0x58]);for(let _0x5ca3da=0x0;_0x5ca3da<_0x5806ef[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ca3da+=0x2){let _0x25ffbf=window[_0x1e8325([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5806ef[_0x1e8325([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ca3da,_0x5ca3da+0x2));_0x25ffbf>=_0x1dedc4[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25ffbf-=_0x1dedc4[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18de71+=_0x1dedc4[_0x25ffbf];}return _0x18de71;}function _0x5e5c3e(){const _0x4b360f=_0x642c52[_0x1e8325([0x73,0x70,0x6c,0x69,0x74])](_0x1e8325([0x2e]));if(0x3!=_0x4b360f[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x528efa(_0x4b360f[0x1]);function _0x528efa(_0x711d39){const _0x2159a4=_0x332a77(_0x711d39);return _0x2159a4&&_0xd41cbb()?_0x2159a4:null;function _0xd41cbb(){const _0x81ed94=_0x2159a4[_0x1e8325([0x6a,0x74,0x69])],_0x11b820=window[_0x1e8325([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x81ed94[_0x1e8325([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x81ed94[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad9c4={..._0x2159a4,[_0x1e8325([0x6a,0x74,0x69])]:_0x81ed94[_0x1e8325([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x81ed94[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad9c4[_0x1e8325([0x76,0x63])],_0x27c43(_0x4ad9c4)==_0x11b820;}}}async function _0x34bf44(){let _0xc34b75=!0x0;try{const _0x4df71a=_0x642c52[_0x1e8325([0x73,0x70,0x6c,0x69,0x74])](_0x1e8325([0x2e])),[_0x565274,_0x457b50,_0x1f28d0]=_0x4df71a;return _0x2a665e(_0x565274),await _0x1515dc(_0x565274,_0x457b50,_0x1f28d0),_0xc34b75;}catch(_0x155852){return!0x1;}function _0x2a665e(_0x411ef4){const _0x19af0e=_0x332a77(_0x411ef4);_0x19af0e&&_0x19af0e[_0x1e8325([0x61,0x6c,0x67])]==_0x1e8325([0x45,0x53,0x32,0x35,0x36])||(_0xc34b75=!0x1);}async function _0x1515dc(_0x13bde2,_0x120397,_0x49d671){const _0x25211d=window[_0x1e8325([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e8325([0x66,0x72,0x6f,0x6d])](_0x5b9148(_0x49d671),_0x10159e=>_0x10159e[_0x1e8325([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12c671=new window[(_0x1e8325([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e8325([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13bde2+_0x1e8325([0x2e])+_0x120397),_0x9b3cd=window[_0x1e8325([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e8325([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9b3cd)return;const _0x1ec336=await _0x9b3cd[_0x1e8325([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e8325([0x6a,0x77,0x6b]),_0x1fe6f5,{[_0x1e8325([0x6e,0x61,0x6d,0x65])]:_0x1e8325([0x45,0x43,0x44,0x53,0x41]),[_0x1e8325([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e8325([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e8325([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9b3cd[_0x1e8325([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e8325([0x6e,0x61,0x6d,0x65])]:_0x1e8325([0x45,0x43,0x44,0x53,0x41]),[_0x1e8325([0x68,0x61,0x73,0x68])]:{[_0x1e8325([0x6e,0x61,0x6d,0x65])]:_0x1e8325([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ec336,_0x25211d,_0x12c671)||(_0xc34b75=!0x1);}}function _0x332a77(_0x1c0e24){return _0x1c0e24[_0x1e8325([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e8325([0x65,0x79]))?JSON[_0x1e8325([0x70,0x61,0x72,0x73,0x65])](_0x5b9148(_0x1c0e24)):null;}function _0x5b9148(_0x250682){return window[_0x1e8325([0x61,0x74,0x6f,0x62])](_0x250682[_0x1e8325([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e8325([0x2b]))[_0x1e8325([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e8325([0x2f])));}function _0x27c43(_0x5eacb1){let _0x3ad40b=0x1505;function _0x46fe29(_0x176b14){for(let _0x2c25a3=0x0;_0x2c25a3<_0x176b14[_0x1e8325([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c25a3++){const _0x2eebaf=_0x176b14[_0x1e8325([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c25a3);_0x3ad40b=(_0x3ad40b<<0x5)+_0x3ad40b+_0x2eebaf,_0x3ad40b&=_0x3ad40b;}}function _0x25459b(_0x1a6527){Array[_0x1e8325([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a6527)?_0x1a6527[_0x1e8325([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25459b):_0x1a6527&&typeof _0x1a6527==_0x1e8325([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e8325([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a6527)[_0x1e8325([0x73,0x6f,0x72,0x74])]()[_0x1e8325([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe7036a,_0x275e98])=>{_0x46fe29(_0xe7036a),_0x25459b(_0x275e98);}):_0x46fe29(window[_0x1e8325([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a6527));}return _0x25459b(_0x5eacb1),_0x3ad40b>>>0x0;}function _0x3cb26d(_0xfa1c7c){return _0xfa1c7c[_0x1e8325([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e8325([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e8325([0x30]));}function _0x5b5ded(_0x57da84){return _0x57da84[_0x1e8325([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e8325([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e8325([0x6a,0x6f,0x69,0x6e])]('');}function _0x4cc3ff(){}function _0x1e8325(_0x6f231b){const _0x36f14f=_0xc022;return _0x6f231b[_0x36f14f(0x1a7)](_0x45409a=>String[_0x36f14f(0x18b)](_0x45409a))[_0x36f14f(0x1ae)]('');}_0xe35529(await _0x4bfb2e());}(this);}[_0x5a84ff(0x178)](){const _0x2daf26=_0x5a84ff,_0x3a6646=this[_0x2daf26(0x15e)][_0x2daf26(0x16c)][_0x2daf26(0x172)];_0x3a6646[_0x2daf26(0x197)](_0x2daf26(0x187))&&_0x3a6646[_0x2daf26(0x170)](_0x2daf26(0x187),{'allowAttributes':[_0x2daf26(0x191)]}),_0x3a6646[_0x2daf26(0x197)](_0x2daf26(0x169))&&_0x3a6646[_0x2daf26(0x170)](_0x2daf26(0x169),{'allowAttributes':[_0x2daf26(0x191)]});}[_0x5a84ff(0x15f)](){const _0x4f7ff1=_0x5a84ff,_0x45e412=this[_0x4f7ff1(0x15e)];_0x45e412[_0x4f7ff1(0x16b)][_0x4f7ff1(0x18d)](_0x4f7ff1(0x1a5))[_0x4f7ff1(0x17e)]({'model':_0x4f7ff1(0x191),'view':_0x4f7ff1(0x1a0)}),_0x45e412[_0x4f7ff1(0x16b)][_0x4f7ff1(0x18d)](_0x4f7ff1(0x1a8))[_0x4f7ff1(0x17f)]({'model':{'key':_0x4f7ff1(0x191),'value':_0x38a0af=>_0x38a0af[_0x4f7ff1(0x189)](_0x4f7ff1(0x1a0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x491d5f=_0x45e412[_0x4f7ff1(0x199)][_0x4f7ff1(0x186)](_0x4f7ff1(0x180));_0x491d5f&&this[_0x4f7ff1(0x1ac)](_0x491d5f,_0x4f7ff1(0x193),(_0x530291,[_0x3ffd1e,_0x994cf])=>{const _0x1e9524=_0x4f7ff1;_0x3ffd1e[_0x1e9524(0x18e)](_0x1e9524(0x191),_0x994cf);});}[_0x5a84ff(0x166)](){const _0xcdd627=_0x5a84ff,_0x5f567a=this[_0xcdd627(0x15e)][_0xcdd627(0x165)][_0xcdd627(0x186)](_0xcdd627(0x18a))||{},_0x404338=this[_0xcdd627(0x15e)][_0xcdd627(0x165)][_0xcdd627(0x186)](_0xcdd627(0x168))||'';this[_0xcdd627(0x19c)]=_0x43a2aa(_0x21b3cd[_0xcdd627(0x15d)],_0xcdd627(0x192),{..._0x5f567a,'pubkey':_0x404338,'ctx-name':_0xcdd627(0x1a3),'sourceList':'','imgOnly':_0xcdd627(0x1a4),'removeCopyright':_0xcdd627(0x1a4),'localeName':this[_0xcdd627(0x15e)][_0xcdd627(0x164)][_0xcdd627(0x196)],'externalSourcesEmbedCss':_0xcdd627(0x1b0)}),this[_0xcdd627(0x19c)][_0xcdd627(0x19e)]=_0x265e53=>{const _0x26be94=_0xcdd627;if(_0x26be94(0x17d)==_0x265e53)return _0x26be94(0x17a);},_0x21b3cd[_0xcdd627(0x15d)][_0xcdd627(0x1a1)][_0xcdd627(0x195)](this[_0xcdd627(0x19c)]);}[_0x5a84ff(0x16a)](){const _0x27610e=_0x5a84ff;this[_0x27610e(0x175)]=_0x43a2aa(_0x21b3cd[_0x27610e(0x15d)],_0x27610e(0x1ab),{'ctx-name':_0x27610e(0x1a3)}),_0x21b3cd[_0x27610e(0x15d)][_0x27610e(0x1a1)][_0x27610e(0x195)](this[_0x27610e(0x175)]);}[_0x5a84ff(0x15c)](){const _0x54ea9f=_0x5a84ff,_0x2ed847=this[_0x54ea9f(0x15e)][_0x54ea9f(0x199)][_0x54ea9f(0x186)](_0x54ea9f(0x1af));_0x2ed847&&this[_0x54ea9f(0x1ac)](_0x2ed847,_0x54ea9f(0x19a),()=>{const _0x8afa87=_0x54ea9f,_0x4a5be4=this[_0x8afa87(0x15e)][_0x8afa87(0x16c)][_0x8afa87(0x15d)][_0x8afa87(0x179)][_0x8afa87(0x19d)]();_0x4a5be4&&_0x4a5be4[_0x8afa87(0x189)](_0x8afa87(0x191))&&this[_0x8afa87(0x15e)][_0x8afa87(0x176)][_0x8afa87(0x198)][_0x8afa87(0x171)](_0x8afa87(0x16d),()=>{const _0x35012e=_0x8afa87;_0x2f2e3f(this[_0x35012e(0x15e)],_0x4a5be4);});});const _0x581673=this[_0x54ea9f(0x15e)][_0x54ea9f(0x199)][_0x54ea9f(0x186)](_0x54ea9f(0x19b));_0x581673&&this[_0x54ea9f(0x1ac)](_0x581673,_0x54ea9f(0x19a),()=>{const _0x3c1179=_0x54ea9f,_0x118b81=this[_0x3c1179(0x15e)][_0x3c1179(0x16c)][_0x3c1179(0x15d)][_0x3c1179(0x179)][_0x3c1179(0x19d)]();_0x118b81&&_0x118b81[_0x3c1179(0x189)](_0x3c1179(0x191))&&this[_0x3c1179(0x15e)][_0x3c1179(0x176)][_0x3c1179(0x198)][_0x3c1179(0x171)](_0x3c1179(0x16d),()=>{const _0x2bc15b=_0x3c1179;_0x2f2e3f(this[_0x2bc15b(0x15e)],_0x118b81);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4d1b48,ObservableMixin as _0x2b4ba8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5288f6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x330095}from'ckeditor5/src/icons.js';import _0x226294 from'./uploadcareimageeditformview.js';import _0x4dbec5 from'../../utils/uploadutils.js';import{getImageUrls as _0x4a9191,getImageDimension as _0x4f5ab7}from'../../utils/editingutils.js';import{isAncestor as _0x237310}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2b4ba8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x373dbb,_0x4ade14,_0x51a6e2){super(),this['_editor']=_0x373dbb,this['_dialog']=_0x4ade14,this['_imageElement']=_0x51a6e2,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 _0x15d05c=this['_imageElement'],_0x54803d=_0x15d05c['getAttribute']('uploadcareImageId'),_0x3db930=_0x15d05c['getAttribute']('src');if(_0x54803d)await this['_loadImageInfo'](_0x54803d,_0x3db930);else{if(this['_imageCache']['has'](_0x3db930)){const _0x584bc0=this['_imageCache']['get'](_0x3db930);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x584bc0['url'],this['imageDimension']=_0x584bc0['dimension'],this['imageId']=_0x584bc0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56059e}=this['_editor'],t=_0x56059e['t'],_0x1539f4=new _0x226294(_0x56059e,this['imageStatus'],this['_attributes']);_0x1539f4['bind']('status')['to'](this,'imageStatus'),_0x1539f4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1539f4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1539f4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1539f4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x330095,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1539f4,'position':_0x5288f6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1539f4['focus']();},'onHide':()=>{_0x1539f4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x6401dd=>!_0x237310(_0x6401dd,_0x1539f4['element'])}});}['_loadImageInfo'](_0x4040f2,_0x153d35){return _0x4dbec5['getInfo'](_0x4040f2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x14187c=>{const {width:_0x566c40,height:_0x53b818}=_0x14187c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x153d35,this['imageDimension']={'width':_0x566c40,'height':_0x53b818},this['imageId']=_0x4040f2;})['catch'](_0x15afba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15afba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3a0c1a,_0x280132){return this['_getImageAsFile'](_0x3a0c1a)['then'](_0x5e3920=>_0x4dbec5['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x280132['signal'],'file':_0x5e3920,'onProgress':_0x72527a=>{_0x72527a&&_0x72527a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x72527a['value']));}}))['then'](_0x3a0ca3=>{const {width:_0x25768a,height:_0x4a2d33}=_0x3a0ca3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a0ca3['cdnUrl'],this['imageDimension']={'width':_0x25768a,'height':_0x4a2d33},this['imageId']=_0x3a0ca3['uuid'],this['imageUploadProgress']=null;const _0x1ab120=_0x3a0c1a['getAttribute']('src');this['_imageCache']['set'](_0x1ab120,{'id':_0x3a0ca3['uuid'],'url':_0x3a0ca3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51084f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51084f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x53f1f6,_0x463424){_0x53f1f6['on']('apply',(_0x5eb25a,_0x245f42)=>{this['_replaceImage'](_0x463424,_0x245f42['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x53f1f6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x53f1f6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x74a770,_0x5b8250,_0x393b63){const _0x1062b4=this['_editor'],{width:_0x5a265a,height:_0x2716ee}=_0x4f5ab7(_0x5b8250,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e11e6,imageSources:_0x37de74}=_0x4a9191(_0x5b8250,_0x5a265a);_0x1062b4['model']['change'](_0x13b7eb=>{if('$graveyard'===_0x74a770['root']['rootName']){_0x1062b4['execute']('insertImage',{'imageType':_0x74a770['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x74a770['getAttributes']()),'uploadcareImageId':_0x393b63,'src':_0x3e11e6,'sources':_0x37de74,'width':_0x5a265a,'height':_0x2716ee}});const _0x54a2cd=_0x74a770['getChildren']();_0x74a770=_0x1062b4['model']['document']['selection']['getSelectedElement']();for(const _0x639f0 of _0x54a2cd)_0x13b7eb['append'](_0x13b7eb['cloneElement'](_0x639f0),_0x74a770);}else _0x13b7eb['setSelection'](_0x74a770,'on'),_0x1062b4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x74a770['getAttributes']()),'uploadcareImageId':_0x393b63,'src':_0x3e11e6,'sources':_0x37de74,'width':_0x5a265a,'height':_0x2716ee},_0x74a770);_0x13b7eb['setSelection'](_0x74a770,'on');});}async['_getImageAsFile'](_0x1ce9fb){const _0x21d590=_0x4d1b48['window'],_0x3f7cbc=_0x4d1b48['document']['location']['href'],_0x29f213=new _0x21d590['URL'](_0x1ce9fb['getAttribute']('src'),_0x3f7cbc);if('data:'===_0x29f213['protocol']){const _0x441617=_0x29f213['href']['split'](','),_0x2104cc=_0x441617[0x0]['match'](/:(.*?);/)[0x1],_0x53a7b8=_0x2104cc['split']('/')[0x1],_0x470ac6=_0x21d590['atob'](_0x441617[_0x441617['length']-0x1]);let _0x206fdb=_0x470ac6['length'];const _0x5baea1=new _0x21d590['Uint8Array'](_0x206fdb);for(;_0x206fdb--;)_0x5baea1[_0x206fdb]=_0x470ac6['charCodeAt'](_0x206fdb);return new _0x21d590['File']([_0x5baea1],'image.'+_0x53a7b8,{'type':_0x2104cc});}const _0x4cb035=_0x29f213['href']['split']('/'),_0x455df2=_0x4cb035[_0x4cb035['length']-0x1],_0x2dec54=_0x455df2['split']('.')[0x1];return _0x21d590['fetch'](_0x29f213['href'])['then'](_0x26624c=>_0x26624c['clone']()['blob']())['then'](_0x3cd164=>new _0x21d590['File']([_0x3cd164],_0x455df2,{'type':'image/'+_0x2dec54}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xbe38(){const _0x4543c9=['30vevMZN','101485TKfujL','152520dSGqIT','104nzBRNh','uc-light','926727BbNpah','image-edit','6808086rmBUwB','ck-uploadcare-theme','setTemplate','1511840bVUWis','36GFOYaw','13605310TOfZhn','set','199906iRmRGN','bindTemplate','imageSrc','uc-cloud-image-editor'];_0xbe38=function(){return _0x4543c9;};return _0xbe38();}(function(_0x58c716,_0x5196ee){const _0x1603b1=_0x23cc,_0x208bfd=_0x58c716();while(!![]){try{const _0x5ec572=parseInt(_0x1603b1(0x1ae))/0x1+-parseInt(_0x1603b1(0x1b3))/0x2+-parseInt(_0x1603b1(0x1ab))/0x3*(-parseInt(_0x1603b1(0x1a2))/0x4)+-parseInt(_0x1603b1(0x1aa))/0x5*(-parseInt(_0x1603b1(0x1a9))/0x6)+parseInt(_0x1603b1(0x1a5))/0x7*(parseInt(_0x1603b1(0x1ac))/0x8)+parseInt(_0x1603b1(0x1b0))/0x9+-parseInt(_0x1603b1(0x1a3))/0xa;if(_0x5ec572===_0x5196ee)break;else _0x208bfd['push'](_0x208bfd['shift']());}catch(_0x297aa1){_0x208bfd['push'](_0x208bfd['shift']());}}}(_0xbe38,0x79585));function _0x23cc(_0x25bd0c,_0x26384e){const _0xbe38fa=_0xbe38();return _0x23cc=function(_0x23ccfa,_0x15e320){_0x23ccfa=_0x23ccfa-0x1a2;let _0x5480d6=_0xbe38fa[_0x23ccfa];return _0x5480d6;},_0x23cc(_0x25bd0c,_0x26384e);}import{View as _0x49e144}from'ckeditor5/src/ui.js';export default class tt extends _0x49e144{constructor(_0x19c965,_0x3e513e){const _0x3a43c4=_0x23cc;super(_0x19c965);const _0x1fda7b=this[_0x3a43c4(0x1a6)];this[_0x3a43c4(0x1a4)](_0x3a43c4(0x1a7),''),this[_0x3a43c4(0x1b2)]({'tag':_0x3a43c4(0x1a8),'attributes':{..._0x3e513e,'class':[_0x3a43c4(0x1ad),_0x3a43c4(0x1b1)],'ctx-name':_0x3a43c4(0x1af),'cdn-url':_0x1fda7b['to'](_0x3a43c4(0x1a7))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b7cd7,IconView as at,View as _0xace496}from'ckeditor5/src/ui.js';export default class rt extends _0xace496{constructor(_0x2271da){super(_0x2271da);const t=_0x2271da['t'];this['set']('errorType',null);const _0x1fcd8d=new _0x3b7cd7(_0x2271da);_0x1fcd8d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1fcd8d['withText']=!0x0,_0x1fcd8d['class']='ck-button-action',_0x1fcd8d['on']('execute',()=>{this['fire']('retry');}),_0x1fcd8d['bind']('isVisible')['to'](this,'errorType',_0x53ea34=>'NotFound'!==_0x53ea34);const _0x5bf500=new at();_0x5bf500['content']=et,_0x5bf500['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5e4377=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':[_0x5bf500,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5e4377['to']('errorType',_0x3d0fdc=>t('NotFound'!==_0x3d0fdc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1fcd8d]},{'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 _0x49d79c,View as _0x21a9f4}from'ckeditor5/src/ui.js';export default class ta extends _0x21a9f4{constructor(_0x5736ad){super(_0x5736ad);const t=_0x5736ad['t'],_0x3ba276=this['bindTemplate'],_0x46b77e=new _0x49d79c();_0x46b77e['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':[_0x46b77e,{'text':_0x3ba276['to']('imageUploadProgress',_0xe3b934=>t('Loading\x20image...')+'\x20('+(_0xe3b934||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x194cfe=_0x20e8;(function(_0x56417b,_0x2f22d2){const _0x5e81f7=_0x20e8,_0x516e58=_0x56417b();while(!![]){try{const _0x227b80=-parseInt(_0x5e81f7(0x1d7))/0x1*(parseInt(_0x5e81f7(0x1eb))/0x2)+-parseInt(_0x5e81f7(0x1e0))/0x3*(parseInt(_0x5e81f7(0x1c6))/0x4)+parseInt(_0x5e81f7(0x1e6))/0x5*(-parseInt(_0x5e81f7(0x1dc))/0x6)+-parseInt(_0x5e81f7(0x1e3))/0x7+parseInt(_0x5e81f7(0x1c2))/0x8*(-parseInt(_0x5e81f7(0x1cc))/0x9)+-parseInt(_0x5e81f7(0x1e1))/0xa*(parseInt(_0x5e81f7(0x1dd))/0xb)+parseInt(_0x5e81f7(0x1bb))/0xc;if(_0x227b80===_0x2f22d2)break;else _0x516e58['push'](_0x516e58['shift']());}catch(_0x2a5ca2){_0x516e58['push'](_0x516e58['shift']());}}}(_0x4b56,0x7a4f6));import{View as _0x591b2d}from'ckeditor5/src/ui.js';import _0x471bcf from'./uploadcareimageeditformloadingview.js';import _0x2bae98 from'./uploadcareimageeditformerrorview.js';function _0x4b56(){const _0x3d554e=['25NXzKAZ','setTemplate','_addErrorViewListeners','addedNodes','target','1063948fhYaEI','ready','change:status','detail','_waitForImageEditorComponent','ck-uploadcare-form','once','ck-reset_all-excluded','_items','34900440KINiAx','cancel','querySelector','status','_errorView','filter','_loadingView','8lImuDP','_addUploadcareImageEditorListeners','observe','addEventListener','9596IPpzJw','uc-cloud-image-editor','_setView','error','render','retry','4607181XYKyMQ','cdnUrl','_editingView','nodeName','length','toLowerCase','_focusableView','fire','div','getFocusableElement','disconnect','1GdHFus','clear','apply','uploading','focus','189402gkKqVu','869FPqgrX','set','add','1023uRlTUj','18390gDbFPg','element','1696310MEqARJ','createCollection','addMany'];_0x4b56=function(){return _0x3d554e;};return _0x4b56();}import _0x32ba84 from'./uploadcareimageeditformeditingview.js';import _0x5db8b3 from'../../utils/dialogfocusmanagerview.js';function _0x20e8(_0x564d2e,_0x3055f0){const _0x4b56a7=_0x4b56();return _0x20e8=function(_0x20e873,_0xb26417){_0x20e873=_0x20e873-0x1b3;let _0x43e3ab=_0x4b56a7[_0x20e873];return _0x43e3ab;},_0x20e8(_0x564d2e,_0x3055f0);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x5db8b3{[_0x194cfe(0x1ba)];[_0x194cfe(0x1c1)];[_0x194cfe(0x1bf)];[_0x194cfe(0x1ce)];[_0x194cfe(0x1d2)];constructor(_0xcea125,_0x33b017,_0x47ba1d){const _0x113d45=_0x194cfe;super(_0xcea125),this[_0x113d45(0x1ba)]=this[_0x113d45(0x1e4)](),this[_0x113d45(0x1c1)]=new _0x471bcf(_0xcea125),this[_0x113d45(0x1bf)]=new _0x2bae98(_0xcea125),this[_0x113d45(0x1ce)]=new _0x32ba84(_0xcea125,_0x47ba1d),this[_0x113d45(0x1d2)]=new _0x591b2d(_0xcea125),this[_0x113d45(0x1d2)][_0x113d45(0x1e7)](this[_0x113d45(0x1d5)]()),this[_0x113d45(0x1de)](_0x113d45(0x1be),_0x33b017),this[_0x113d45(0x1e7)]({'tag':_0x113d45(0x1d4),'attributes':{'class':['ck',_0x113d45(0x1b9),_0x113d45(0x1b7)],'tabindex':'-1'},'children':this[_0x113d45(0x1ba)]}),this[_0x113d45(0x1c8)](),this[_0x113d45(0x1b8)](_0x113d45(0x1ca),()=>{const _0x2ec267=_0x113d45;this[_0x2ec267(0x1b6)](this[_0x2ec267(0x1e2)],_0x4b5871=>{const _0x523a58=_0x2ec267;this[_0x523a58(0x1c3)](_0x4b5871);});}),this['on'](_0x113d45(0x1b4),()=>{const _0x16dab3=_0x113d45;this[_0x16dab3(0x1c8)]();}),this[_0x113d45(0x1e8)]();}[_0x194cfe(0x1db)](){const _0x4f80f8=_0x194cfe;this[_0x4f80f8(0x1e2)][_0x4f80f8(0x1db)]();}[_0x194cfe(0x1c8)](){const _0x23ef92=_0x194cfe;switch(this[_0x23ef92(0x1ba)][_0x23ef92(0x1d8)](),this[_0x23ef92(0x1be)]){case _0x23ef92(0x1da):this[_0x23ef92(0x1ba)][_0x23ef92(0x1df)](this[_0x23ef92(0x1c1)]);break;case _0x23ef92(0x1c9):this[_0x23ef92(0x1ba)][_0x23ef92(0x1df)](this[_0x23ef92(0x1bf)]);break;case _0x23ef92(0x1b3):this[_0x23ef92(0x1ba)][_0x23ef92(0x1e5)]([this[_0x23ef92(0x1ce)],this[_0x23ef92(0x1d2)]]);}}[_0x194cfe(0x1b6)](_0x509d19,_0x75834c){const _0x5a67db=_0x194cfe,_0x402ef9=_0x5a67db(0x1c7),_0x578213=_0x509d19[_0x5a67db(0x1bd)](_0x402ef9);if(_0x578213)return _0x75834c(_0x578213);const _0x3d2be7=new MutationObserver(_0x5119f9=>{const _0x2b3613=_0x5a67db,_0x1bc4f5=_0x5119f9[_0x2b3613(0x1c0)](_0x395c51=>_0x395c51[_0x2b3613(0x1ea)]===_0x509d19&&_0x395c51[_0x2b3613(0x1e9)][_0x2b3613(0x1d0)]>0x0&&_0x395c51[_0x2b3613(0x1e9)][0x0][_0x2b3613(0x1cf)][_0x2b3613(0x1d1)]()===_0x402ef9);_0x1bc4f5[_0x2b3613(0x1d0)]&&(_0x3d2be7[_0x2b3613(0x1d6)](),_0x75834c(_0x1bc4f5[0x0][_0x2b3613(0x1e9)][0x0]));});_0x3d2be7[_0x5a67db(0x1c4)](_0x509d19,{'childList':!0x0,'subtree':!0x0});}[_0x194cfe(0x1c3)](_0x3397f4){const _0x13e1b1=_0x194cfe;_0x3397f4[_0x13e1b1(0x1c5)](_0x13e1b1(0x1d9),_0x4681cc=>{const _0x487a02=_0x13e1b1;this[_0x487a02(0x1d3)](_0x487a02(0x1d9),{'imageSrc':_0x4681cc[_0x487a02(0x1b5)][_0x487a02(0x1cd)]});}),_0x3397f4[_0x13e1b1(0x1c5)](_0x13e1b1(0x1bc),()=>{const _0x5cc084=_0x13e1b1;this[_0x5cc084(0x1d3)](_0x5cc084(0x1bc));});}[_0x194cfe(0x1e8)](){const _0x2d3ec0=_0x194cfe;this[_0x2d3ec0(0x1bf)]['on'](_0x2d3ec0(0x1cb),()=>{const _0x2c3853=_0x2d3ec0;this[_0x2c3853(0x1d3)](_0x2c3853(0x1cb));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c2f43=_0x35b7;(function(_0x4fd44d,_0x2d911a){const _0x728a9f=_0x35b7,_0x51e26d=_0x4fd44d();while(!![]){try{const _0x382760=parseInt(_0x728a9f(0x110))/0x1+parseInt(_0x728a9f(0x10d))/0x2*(parseInt(_0x728a9f(0x104))/0x3)+parseInt(_0x728a9f(0x103))/0x4+-parseInt(_0x728a9f(0xff))/0x5*(-parseInt(_0x728a9f(0x10e))/0x6)+-parseInt(_0x728a9f(0x112))/0x7+-parseInt(_0x728a9f(0xf8))/0x8+parseInt(_0x728a9f(0xfa))/0x9*(-parseInt(_0x728a9f(0x10f))/0xa);if(_0x382760===_0x2d911a)break;else _0x51e26d['push'](_0x51e26d['shift']());}catch(_0x38911e){_0x51e26d['push'](_0x51e26d['shift']());}}}(_0x2034,0x92fc3));function _0x35b7(_0x1b514e,_0x1eb6f3){const _0x2034f9=_0x2034();return _0x35b7=function(_0x35b74f,_0x16ff68){_0x35b74f=_0x35b74f-0xf7;let _0x35c348=_0x2034f9[_0x35b74f];return _0x35c348;},_0x35b7(_0x1b514e,_0x1eb6f3);}function _0x2034(){const _0x53cb27=['12qyvVrg','450390KuPoze','436071NDIYaj','_isEditable','933198ffrMwY','get','config','isActive','getSelectedElement','refresh','2623592jfiozT','model','315YXVTuy','set','editor','plugins','bind','1671910Cackhe','selection','isEnabled','element','2970400sgwfRq','606atYmfY','document','imageEditController','uploadcare.allowExternalImagesEditing','imageBlock','requires','unbind','imageInline','execute','7844qkxmkV'];_0x2034=function(){return _0x53cb27;};return _0x2034();}import{Command as _0x4be425}from'ckeditor5/src/core.js';import{Dialog as _0x351037}from'ckeditor5/src/ui.js';import _0x15e79c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d11be}from'../utils/editingutils.js';export default class J extends _0x4be425{[_0x5c2f43(0x106)];static get[_0x5c2f43(0x109)](){return[_0x351037];}[_0x5c2f43(0x111)];constructor(_0x93af7a){const _0x36046a=_0x5c2f43;super(_0x93af7a),this[_0x36046a(0x106)]=void 0x0,this[_0x36046a(0x111)]=_0x5d11be(_0x93af7a[_0x36046a(0x114)][_0x36046a(0x113)](_0x36046a(0x107))||[]),this[_0x36046a(0xfb)]({'isActive':!0x1});}[_0x5c2f43(0xf7)](){const _0x1e2678=_0x5c2f43,_0x25076b=this[_0x1e2678(0xfc)][_0x1e2678(0xf9)][_0x1e2678(0x105)][_0x1e2678(0x100)][_0x1e2678(0x116)]();this[_0x1e2678(0x101)]=this[_0x1e2678(0x111)](_0x25076b);}[_0x5c2f43(0x10c)](){const _0x28b689=_0x5c2f43;this[_0x28b689(0x106)]&&(this[_0x28b689(0x10a)](_0x28b689(0x115)),this[_0x28b689(0x106)]=void 0x0);const _0x517383=this[_0x28b689(0xfc)][_0x28b689(0xf9)][_0x28b689(0x105)][_0x28b689(0x100)][_0x28b689(0x116)]();_0x517383&&(_0x517383['is'](_0x28b689(0x102),_0x28b689(0x108))||_0x517383['is'](_0x28b689(0x102),_0x28b689(0x10b)))&&(this[_0x28b689(0x106)]=new _0x15e79c(this[_0x28b689(0xfc)],this[_0x28b689(0xfc)][_0x28b689(0xfd)][_0x28b689(0x113)](_0x351037),_0x517383),this[_0x28b689(0xfe)](_0x28b689(0x115))['to'](this[_0x28b689(0x106)],_0x28b689(0x115)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x36c7(){const _0x3537cb=['uploadcareImageReplace','requires','5118054YUeyGK','1062zpFyDJ','ImageUtils','276mIpDSO','isOfficialPlugin','206rksydm','init','UploadcareImageEditEditing','4956aJcLxM','1128831yYtdqP','ImageEditing','uploadcareImageEdit','pluginName','commands','add','3781190GRKhhH','1548790MjFtOx','27064lhPtYv','isPremiumPlugin','14635lBZbDc'];_0x36c7=function(){return _0x3537cb;};return _0x36c7();}const _0x126466=_0x17c8;(function(_0x18a9af,_0x1244c4){const _0x489919=_0x17c8,_0xabea1a=_0x18a9af();while(!![]){try{const _0x38cbba=-parseInt(_0x489919(0x121))/0x1*(-parseInt(_0x489919(0x11e))/0x2)+parseInt(_0x489919(0x122))/0x3+parseInt(_0x489919(0x132))/0x4*(-parseInt(_0x489919(0x12c))/0x5)+-parseInt(_0x489919(0x12f))/0x6+parseInt(_0x489919(0x128))/0x7+-parseInt(_0x489919(0x12a))/0x8*(-parseInt(_0x489919(0x130))/0x9)+-parseInt(_0x489919(0x129))/0xa;if(_0x38cbba===_0x1244c4)break;else _0xabea1a['push'](_0xabea1a['shift']());}catch(_0x3e7813){_0xabea1a['push'](_0xabea1a['shift']());}}}(_0x36c7,0x96742));import{Plugin as _0x52e350}from'ckeditor5/src/core.js';import{Notification as _0x304170}from'ckeditor5/src/ui.js';import _0x41bf89 from'./uploadcareimageeditcommand.js';import _0x50a816 from'./uploadcareimagereplacecommand.js';import _0x4d6f7d from'../uploadcareediting.js';function _0x17c8(_0x3af9c,_0x41b6ed){const _0x36c7e7=_0x36c7();return _0x17c8=function(_0x17c879,_0x222eaf){_0x17c879=_0x17c879-0x11d;let _0x211025=_0x36c7e7[_0x17c879];return _0x211025;},_0x17c8(_0x3af9c,_0x41b6ed);}export default class g extends _0x52e350{static get[_0x126466(0x125)](){const _0x2d9afc=_0x126466;return _0x2d9afc(0x120);}static get[_0x126466(0x12e)](){const _0x29093f=_0x126466;return[_0x4d6f7d,_0x304170,_0x29093f(0x131),_0x29093f(0x123)];}static get[_0x126466(0x11d)](){return!0x0;}static get[_0x126466(0x12b)](){return!0x0;}[_0x126466(0x11f)](){const _0x260dbd=_0x126466,{editor:_0x24683b}=this;_0x24683b[_0x260dbd(0x126)][_0x260dbd(0x127)](_0x260dbd(0x124),new _0x41bf89(_0x24683b)),_0x24683b[_0x260dbd(0x126)][_0x260dbd(0x127)](_0x260dbd(0x12d),new _0x50a816(_0x24683b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x412b96}from'ckeditor5/src/core.js';import{ButtonView as _0x3be370}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x24ffc4}from'ckeditor5/src/icons.js';import{createElement as _0x3a4b13}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x412b96{['_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 _0x4eb6e0=this['editor'];_0x4eb6e0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2bc6c4=>{const _0x529553=_0x4eb6e0['commands']['get']('uploadcareImageEdit'),_0x44def7=new _0x3be370(_0x2bc6c4),t=_0x2bc6c4['t'];return _0x44def7['set']({'icon':_0x24ffc4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44def7['bind']('isEnabled')['to'](_0x529553),_0x44def7['bind']('isOn')['to'](_0x529553,'isActive'),this['listenTo'](_0x44def7,'execute',()=>{_0x4eb6e0['execute']('uploadcareImageEdit'),_0x4eb6e0['editing']['view']['focus']();}),_0x44def7;}),this['_initConfig']();}['_initConfig'](){const _0x2c3d9a=_0x3a4b13(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c3d9a),this['listenTo'](this['editor'],'destroy',()=>{_0x2c3d9a['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x376348=_0x230f;(function(_0x4888b9,_0x33c1fc){const _0x31bbeb=_0x230f,_0x265d3f=_0x4888b9();while(!![]){try{const _0x44b8d8=-parseInt(_0x31bbeb(0xb5))/0x1*(parseInt(_0x31bbeb(0xba))/0x2)+parseInt(_0x31bbeb(0xb3))/0x3*(-parseInt(_0x31bbeb(0xc0))/0x4)+-parseInt(_0x31bbeb(0xaf))/0x5+-parseInt(_0x31bbeb(0xb1))/0x6+parseInt(_0x31bbeb(0xab))/0x7*(parseInt(_0x31bbeb(0xb4))/0x8)+-parseInt(_0x31bbeb(0xbc))/0x9*(parseInt(_0x31bbeb(0xae))/0xa)+parseInt(_0x31bbeb(0xad))/0xb;if(_0x44b8d8===_0x33c1fc)break;else _0x265d3f['push'](_0x265d3f['shift']());}catch(_0x46cc64){_0x265d3f['push'](_0x265d3f['shift']());}}}(_0x5ae3,0xe293c));function _0x5ae3(){const _0x2856f8=['editor','refresh','element','execute','1415834koDNfn','imageInline','80403356qleiuX','31700pJGtpU','1498720RRgCJL','imageBlock','9142776BiRoDE','sizes','4466409hXGyUz','8iScBQr','1537265GcIUaw','srcset','setAttributes','isEnabled','model','2CxxVvl','document','4923sPhCvO','removeAttribute','selection','getSelectedElement','4EtMCtJ','change'];_0x5ae3=function(){return _0x2856f8;};return _0x5ae3();}import{Command as _0x45db98}from'ckeditor5/src/core.js';function _0x230f(_0x180901,_0x596a07){const _0x5ae335=_0x5ae3();return _0x230f=function(_0x230f03,_0x247f67){_0x230f03=_0x230f03-0xaa;let _0x1cbe46=_0x5ae335[_0x230f03];return _0x1cbe46;},_0x230f(_0x180901,_0x596a07);}export default class O extends _0x45db98{[_0x376348(0xc3)](){const _0x346f9e=_0x376348,_0x4b65a1=this[_0x346f9e(0xc2)][_0x346f9e(0xb9)][_0x346f9e(0xbb)][_0x346f9e(0xbe)][_0x346f9e(0xbf)]();this[_0x346f9e(0xb8)]=Boolean(_0x4b65a1&&(_0x4b65a1['is'](_0x346f9e(0xc4),_0x346f9e(0xb0))||_0x4b65a1['is'](_0x346f9e(0xc4),_0x346f9e(0xac))));}[_0x376348(0xaa)](_0x4c2b4b){const _0xb6a472=_0x376348,_0xa4f3df=this[_0xb6a472(0xc2)][_0xb6a472(0xb9)][_0xb6a472(0xbb)][_0xb6a472(0xbe)][_0xb6a472(0xbf)]();this[_0xb6a472(0xc2)][_0xb6a472(0xb9)][_0xb6a472(0xc1)](_0x2bae7c=>{const _0x3184c1=_0xb6a472;_0x2bae7c[_0x3184c1(0xb7)](_0x4c2b4b,_0xa4f3df),_0x2bae7c[_0x3184c1(0xbd)](_0x3184c1(0xb6),_0xa4f3df),_0x2bae7c[_0x3184c1(0xbd)](_0x3184c1(0xb2),_0xa4f3df);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1cf3(_0xb1df7d,_0x50986d){var _0x3ac6a9=_0x3ac6();return _0x1cf3=function(_0x1cf338,_0x57372f){_0x1cf338=_0x1cf338-0x67;var _0xe396ba=_0x3ac6a9[_0x1cf338];return _0xe396ba;},_0x1cf3(_0xb1df7d,_0x50986d);}var _0x5a23a9=_0x1cf3;(function(_0x4baddf,_0xdf9289){var _0x2ebba0=_0x1cf3,_0x180308=_0x4baddf();while(!![]){try{var _0x897fe=parseInt(_0x2ebba0(0x67))/0x1+parseInt(_0x2ebba0(0x73))/0x2*(-parseInt(_0x2ebba0(0x75))/0x3)+-parseInt(_0x2ebba0(0x6e))/0x4+parseInt(_0x2ebba0(0x69))/0x5*(-parseInt(_0x2ebba0(0x70))/0x6)+parseInt(_0x2ebba0(0x6d))/0x7*(parseInt(_0x2ebba0(0x6f))/0x8)+parseInt(_0x2ebba0(0x6a))/0x9+-parseInt(_0x2ebba0(0x6b))/0xa;if(_0x897fe===_0xdf9289)break;else _0x180308['push'](_0x180308['shift']());}catch(_0x27b304){_0x180308['push'](_0x180308['shift']());}}}(_0x3ac6,0x4ca87));import{Plugin as _0x1daf81}from'ckeditor5/src/core.js';import _0x55df91 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x8ca24e from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1daf81{static get[_0x5a23a9(0x68)](){var _0x967849=_0x5a23a9;return _0x967849(0x71);}static get[_0x5a23a9(0x6c)](){return[_0x55df91,_0x8ca24e];}static get[_0x5a23a9(0x72)](){return!0x0;}static get[_0x5a23a9(0x74)](){return!0x0;}}function _0x3ac6(){var _0x4d9acd=['isOfficialPlugin','120898qAPMBQ','isPremiumPlugin','15EAnyms','600153znJXUh','pluginName','2915PONdwm','4078467vKKzqf','3456160Dbvakl','requires','77DmBLCM','1415388hCyPkB','379504YQocOS','2670SyIuTh','UploadcareImageEdit'];_0x3ac6=function(){return _0x4d9acd;};return _0x3ac6();}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x158d82=_0x43d0;(function(_0x49229e,_0x440c20){const _0x5afd9a=_0x43d0,_0x255831=_0x49229e();while(!![]){try{const _0x325c8a=parseInt(_0x5afd9a(0x16d))/0x1*(-parseInt(_0x5afd9a(0x159))/0x2)+parseInt(_0x5afd9a(0x183))/0x3*(-parseInt(_0x5afd9a(0x174))/0x4)+-parseInt(_0x5afd9a(0x15c))/0x5+parseInt(_0x5afd9a(0x16a))/0x6*(-parseInt(_0x5afd9a(0x18d))/0x7)+-parseInt(_0x5afd9a(0x18e))/0x8+-parseInt(_0x5afd9a(0x164))/0x9*(-parseInt(_0x5afd9a(0x161))/0xa)+parseInt(_0x5afd9a(0x17e))/0xb;if(_0x325c8a===_0x440c20)break;else _0x255831['push'](_0x255831['shift']());}catch(_0x3cfcde){_0x255831['push'](_0x255831['shift']());}}}(_0x144d,0x5598f));function _0x43d0(_0x421c74,_0x130d8d){const _0x144d3b=_0x144d();return _0x43d0=function(_0x43d04e,_0x41579e){_0x43d04e=_0x43d04e-0x13e;let _0x39351e=_0x144d3b[_0x43d04e];return _0x39351e;},_0x43d0(_0x421c74,_0x130d8d);}import{Plugin as _0x1d52bb}from'ckeditor5/src/core.js';import{IconDropbox as _0xb9cf31,IconFacebook as _0x21d239,IconGoogleDrive as _0x5dc0d0,IconGooglePhotos as _0x1db914,IconUploadcareImageUpload as _0x290f5f,IconUploadcareLink as _0x331a2e,IconOneDrive as _0x104163}from'ckeditor5/src/icons.js';import{ButtonView as _0x2f6c8b,MenuBarMenuListItemButtonView as _0x14ee0f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x112779}from'./uploadcareconfig.js';import{getTranslation as _0x445d43}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x144d(){const _0x1de192=['42aWNXKo','_normalizeConfigSourceList','assetManager','46599FexRkp','pluginName','GPhotos','isOfficialPlugin','uploadcareLicenseKeyEvaluationLimit','editor','Uploadcare','48156bydMGD','entries','_createMenuBarButtons','URL','type','locale','url','featureNotAllowed','_createToolbarButton','commands','22322542uGqqJA','execute','push','evaluationLimit','trialLimit','33qJKxVT','Facebook','expired','UploadcareUI','withText','Local','plugins','bind','_licenseKeyCheckInterval','_showLicenseError','633437dPQHzm','5169472dEHUNe','_getIntegrationKey','has','upload','usageLimit','destroy','Replace','uploadcareLicenseKeyExpired','afterInit','isPremiumPlugin','label','init','registerIntegration','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','invalid','text','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','domainLimit','ImageInsertUI','Dropbox','GDrive','map','reduce','_createButton','isEnabled','licenseKey','forEach','2msRPck','uploadcare','uploadcareLicenseKeyDomainLimit','1468525kaenhl','shortText','config','tooltip','uploadcareLicenseKeyTrialLimit','2110WJdyiW','icon','get','3141zVvfNd','uploadcareLicenseKeyValid','Insert','uploadcareLicenseKeyUsageLimit','isImageSelected','OneDrive'];_0x144d=function(){return _0x1de192;};return _0x144d();}import'../theme/uploadcareimageedit.css';export default class e extends _0x1d52bb{[_0x158d82(0x157)];[_0x158d82(0x18b)];static get[_0x158d82(0x16e)](){const _0x3d9754=_0x158d82;return _0x3d9754(0x186);}static get[_0x158d82(0x170)](){return!0x0;}static get[_0x158d82(0x145)](){return!0x0;}[_0x158d82(0x147)](){const _0x2a5153=_0x158d82;this[_0x2a5153(0x157)]=this[_0x2a5153(0x172)][_0x2a5153(0x15e)][_0x2a5153(0x163)](_0x2a5153(0x157));const _0x2c2921=this[_0x2a5153(0x172)];this[_0x2a5153(0x18b)]=setInterval(()=>{const _0x5553ac=_0x2a5153;let _0x1da60b;for(const _0x56f68f in _0x2c2921){const _0x39a479=_0x56f68f,_0x44d906=_0x2c2921[_0x39a479];if(_0x5553ac(0x165)==_0x44d906||_0x5553ac(0x149)==_0x44d906||_0x5553ac(0x143)==_0x44d906||_0x5553ac(0x15b)==_0x44d906||_0x5553ac(0x14d)==_0x44d906||_0x5553ac(0x171)==_0x44d906||_0x5553ac(0x160)==_0x44d906||_0x5553ac(0x167)==_0x44d906){delete _0x2c2921[_0x39a479],_0x1da60b=_0x44d906,clearInterval(this[_0x5553ac(0x18b)]),this[_0x5553ac(0x18b)]=void 0x0;break;}}_0x5553ac(0x149)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x14b)),_0x5553ac(0x143)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x185)),_0x5553ac(0x15b)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x14f)),_0x5553ac(0x14d)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x17b),_0x5553ac(0x173)),_0x5553ac(0x171)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x181)),_0x5553ac(0x160)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x182)),_0x5553ac(0x167)==_0x1da60b&&_0x2c2921[_0x5553ac(0x18c)](_0x5553ac(0x140));},0x3e8);}[_0x158d82(0x144)](){const _0x399b9b=_0x158d82,{editor:_0x3ee959}=this,_0x143eae=_0x3ee959[_0x399b9b(0x17d)][_0x399b9b(0x163)](_0x399b9b(0x15a));if(!_0x143eae)return;const _0x3229ba=this[_0x399b9b(0x16b)](_0x3ee959[_0x399b9b(0x15e)][_0x399b9b(0x163)](_0x399b9b(0x14a)))[_0x399b9b(0x154)]((_0x12487a,_0x3d8b3b)=>{const _0x1e8c48=_0x399b9b,_0x3ec01e=this[_0x1e8c48(0x18f)](_0x3d8b3b[_0x1e8c48(0x178)]);return _0x12487a[_0x3ec01e]||(_0x12487a[_0x3ec01e]=[]),_0x12487a[_0x3ec01e][_0x1e8c48(0x180)](_0x3d8b3b),_0x12487a;},{});_0x3ee959[_0x399b9b(0x189)][_0x399b9b(0x13e)](_0x399b9b(0x150))&&_0x3ee959[_0x399b9b(0x17d)][_0x399b9b(0x163)](_0x399b9b(0x15a))&&Object[_0x399b9b(0x175)](_0x3229ba)[_0x399b9b(0x158)](([_0x4a8734,_0x18f572])=>{const _0x4f1e8f=_0x399b9b;_0x3ee959[_0x4f1e8f(0x189)][_0x4f1e8f(0x163)](_0x4f1e8f(0x150))[_0x4f1e8f(0x148)]({'name':_0x4a8734,'observable':()=>_0x143eae,'buttonViewCreator':()=>this[_0x4f1e8f(0x17c)](_0x18f572),'formViewCreator':()=>this[_0x4f1e8f(0x14e)](_0x18f572),'menuBarButtonViewCreator':()=>this[_0x4f1e8f(0x176)](_0x18f572),'override':_0x4f1e8f(0x16c)!==_0x4a8734});});}[_0x158d82(0x141)](){const _0x1128bd=_0x158d82;super[_0x1128bd(0x141)](),this[_0x1128bd(0x18b)]&&clearInterval(this[_0x1128bd(0x18b)]);}[_0x158d82(0x16b)](_0x3e954f){const _0x3e6f41=_0x158d82,{locale:_0x36285c}=this[_0x3e6f41(0x172)];return _0x3e954f[_0x3e6f41(0x153)](_0x105e26=>{const _0x24ed73=_0x3e6f41,_0x496203=_0x445d43(_0x36285c,_0x105e26,_0x24ed73(0x166));switch(_0x105e26){case _0x112779[_0x24ed73(0x188)]:return{'icon':_0x290f5f,'type':_0x112779[_0x24ed73(0x188)],..._0x496203};case _0x112779[_0x24ed73(0x177)]:return{'icon':_0x331a2e,'type':_0x112779[_0x24ed73(0x177)],..._0x496203};case _0x112779[_0x24ed73(0x151)]:return{'icon':_0xb9cf31,'type':_0x112779[_0x24ed73(0x151)],..._0x496203};case _0x112779[_0x24ed73(0x184)]:return{'icon':_0x21d239,'type':_0x112779[_0x24ed73(0x184)],..._0x496203};case _0x112779[_0x24ed73(0x152)]:return{'icon':_0x5dc0d0,'type':_0x112779[_0x24ed73(0x152)],..._0x496203};case _0x112779[_0x24ed73(0x16f)]:return{'icon':_0x1db914,'type':_0x112779[_0x24ed73(0x16f)],..._0x496203};case _0x112779[_0x24ed73(0x169)]:return{'icon':_0x104163,'type':_0x112779[_0x24ed73(0x169)],..._0x496203};}});}[_0x158d82(0x18f)](_0x12c3e9){const _0x4ede39=_0x158d82;switch(_0x12c3e9){case _0x112779[_0x4ede39(0x188)]:return _0x4ede39(0x13f);case _0x112779[_0x4ede39(0x177)]:return _0x4ede39(0x17a);default:return _0x4ede39(0x16c);}}[_0x158d82(0x155)](_0x277327,_0x2c9b88){const _0x3dc470=_0x158d82,_0x5e69d0=this[_0x3dc470(0x172)],_0x540595=new _0x277327(_0x5e69d0[_0x3dc470(0x179)]),_0x942861=_0x5e69d0[_0x3dc470(0x17d)][_0x3dc470(0x163)](_0x3dc470(0x15a));return _0x540595[_0x3dc470(0x18a)](_0x3dc470(0x156))['to'](_0x942861),_0x540595['on'](_0x3dc470(0x17f),()=>{const _0x2407ab=_0x3dc470;_0x942861[_0x2407ab(0x17f)](_0x2c9b88);}),_0x540595;}[_0x158d82(0x17c)](_0x4ef718){const _0x245da5=_0x158d82,{locale:_0x5e1e25}=this[_0x245da5(0x172)],_0x366419=this[_0x245da5(0x172)][_0x245da5(0x189)][_0x245da5(0x163)](_0x245da5(0x150)),_0x515283=_0x4ef718[0x0],_0x157dec=this[_0x245da5(0x155)](_0x2f6c8b,_0x515283[_0x245da5(0x178)]);return _0x157dec[_0x245da5(0x162)]=_0x515283[_0x245da5(0x162)],_0x157dec[_0x245da5(0x18a)](_0x245da5(0x146))['to'](_0x366419,_0x245da5(0x168),_0xc12673=>_0x445d43(_0x5e1e25,_0x515283[_0x245da5(0x178)],_0xc12673?_0x245da5(0x142):_0x245da5(0x166))[_0x245da5(0x14c)]),_0x157dec[_0x245da5(0x15f)]=!0x0,_0x157dec;}[_0x158d82(0x14e)](_0xe2a51d){const _0x136c51=_0x158d82,{locale:_0x5da7ed}=this[_0x136c51(0x172)],_0x868a40=this[_0x136c51(0x172)][_0x136c51(0x189)][_0x136c51(0x163)](_0x136c51(0x150));return _0xe2a51d[_0x136c51(0x153)](_0x1d115a=>{const _0x1f59a4=_0x136c51,_0x55e694=this[_0x1f59a4(0x155)](_0x2f6c8b,_0x1d115a[_0x1f59a4(0x178)]);return _0x55e694[_0x1f59a4(0x187)]=!0x0,_0x55e694[_0x1f59a4(0x162)]=_0x1d115a[_0x1f59a4(0x162)],_0x55e694[_0x1f59a4(0x18a)](_0x1f59a4(0x146))['to'](_0x868a40,_0x1f59a4(0x168),_0x46c836=>_0x445d43(_0x5da7ed,_0x1d115a[_0x1f59a4(0x178)],_0x46c836?_0x1f59a4(0x142):_0x1f59a4(0x166))[_0x1f59a4(0x14c)]),_0x55e694;});}[_0x158d82(0x176)](_0x368e85){const _0x3ff34f=_0x158d82;return _0x368e85[_0x3ff34f(0x153)](_0x1f4d9c=>{const _0x2f93c6=_0x3ff34f,_0x410596=this[_0x2f93c6(0x155)](_0x14ee0f,_0x1f4d9c[_0x2f93c6(0x178)]);return _0x410596[_0x2f93c6(0x162)]=_0x1f4d9c[_0x2f93c6(0x162)],_0x410596[_0x2f93c6(0x146)]=_0x1f4d9c[_0x2f93c6(0x15d)],_0x410596;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2207a5}from'ckeditor5/src/core.js';import{FileRepository as _0x286ef6}from'ckeditor5/src/upload.js';import _0xe63746 from'./uploadcareediting.js';import _0x50a680 from'./utils/uploadutils.js';import{getImageUrls as _0x583c97}from'./utils/editingutils.js';export default class p extends _0x2207a5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x286ef6,_0xe63746];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x53f796=this['editor'];if(!!!_0x53f796['config']['get']('uploadcare'))return;_0x53f796['plugins']['get'](_0x286ef6)['createUploadAdapter']=_0x2bff42=>new x(_0x2bff42,_0x53f796),_0x53f796['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3c8fd9,{imageElement:_0x5dbfd6,data:_0x4c9a6f})=>{_0x53f796['model']['change'](_0x57938a=>{_0x57938a['setAttribute']('uploadcareImageId',_0x4c9a6f['uploadcareImageId'],_0x5dbfd6);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x55afcb,_0x11cc28){this['loader']=_0x55afcb,this['editor']=_0x11cc28,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x343865=this['editor']['config']['get']('uploadcare.pubkey'),_0x78b987=await this['loader']['file'];return _0x50a680['upload']({'file':_0x78b987,'publicKey':_0x343865,'signal':this['controller']['signal'],'onProgress':_0x52dc92=>{_0x52dc92&&_0x52dc92['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x52dc92['value']);}})['then'](async _0x10e130=>{const {imageFallbackUrl:_0x22c730,imageSources:_0x477bea}=_0x583c97(_0x10e130['cdnUrl'],_0x10e130['imageInfo']['width']);return{'uploadcareImageId':_0x10e130['uuid'],'default':_0x22c730,'sources':_0x477bea};})['catch'](()=>{const _0x56047e=t('Cannot\x20upload\x20file:')+('\x20'+_0x78b987['name']+'.');return Promise['reject'](_0x56047e);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x48daa0}from'../uploadcareconfig.js';export function getTranslation(_0x6fdee2,_0x423025,_0x233e81){const t=_0x6fdee2['t'],_0x476d28=_0x6fdee2['t'];switch(_0x423025){case _0x48daa0['Local']:return{'text':_0x476d28('Insert'===_0x233e81?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x476d28('From\x20computer')};case _0x48daa0['URL']:return{'text':'Insert'===_0x233e81?_0x476d28('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x476d28('Via\x20URL')};case _0x48daa0['Dropbox']:return{'text':t('Insert'===_0x233e81?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x48daa0['Facebook']:return{'text':t('Insert'===_0x233e81?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x48daa0['GDrive']:return{'text':t('Insert'===_0x233e81?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x48daa0['GPhotos']:return{'text':t('Insert'===_0x233e81?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x48daa0['OneDrive']:return{'text':t('Insert'===_0x233e81?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x423025;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3ababd=_0x38bc;(function(_0x4a4044,_0xdc20a9){var _0xba76b4=_0x38bc,_0x281682=_0x4a4044();while(!![]){try{var _0x4a83b4=parseInt(_0xba76b4(0x16c))/0x1+parseInt(_0xba76b4(0x16e))/0x2+-parseInt(_0xba76b4(0x170))/0x3+parseInt(_0xba76b4(0x176))/0x4*(parseInt(_0xba76b4(0x179))/0x5)+parseInt(_0xba76b4(0x16b))/0x6*(parseInt(_0xba76b4(0x16d))/0x7)+parseInt(_0xba76b4(0x17b))/0x8+-parseInt(_0xba76b4(0x16a))/0x9;if(_0x4a83b4===_0xdc20a9)break;else _0x281682['push'](_0x281682['shift']());}catch(_0x41ce08){_0x281682['push'](_0x281682['shift']());}}}(_0x3efe,0x9a58b));import{FocusTracker as _0x5d29a5}from'ckeditor5/src/utils.js';function _0x38bc(_0xc3e731,_0x4371dd){var _0x3efe47=_0x3efe();return _0x38bc=function(_0x38bc4c,_0x4cb276){_0x38bc4c=_0x38bc4c-0x16a;var _0x1f5cf1=_0x3efe47[_0x38bc4c];return _0x1f5cf1;},_0x38bc(_0xc3e731,_0x4371dd);}function _0x3efe(){var _0xc6e12a=['true','1426614SeAvLw','div','focusTracker','focusCycler','getFocusableElement','createCollection','76lCMUQw','bindTemplate','forwardCycle','57305JIARkk','fire','7120392JcFgSr','17959239FopIKg','4452fJTIVO','660480BPwyii','1477ImyLbm','2356724UszcDT'];_0x3efe=function(){return _0xc6e12a;};return _0x3efe();}import{View as _0x4296a6,FocusCycler as _0x27b984}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x4296a6{[_0x3ababd(0x172)];[_0x3ababd(0x173)];constructor(_0x290786){var _0x5a3cbb=_0x3ababd;super(_0x290786),this[_0x5a3cbb(0x172)]=new _0x5d29a5(),this[_0x5a3cbb(0x173)]=new _0x27b984({'focusables':this[_0x5a3cbb(0x175)](),'focusTracker':this[_0x5a3cbb(0x172)]});}[_0x3ababd(0x174)](){var _0x31eebc=_0x3ababd;return{'tag':_0x31eebc(0x171),'attributes':{'aria-hidden':_0x31eebc(0x16f),'tabindex':'0'},'on':{'focus':this[_0x31eebc(0x177)]['to'](()=>{var _0xf96627=_0x31eebc;this[_0xf96627(0x173)][_0xf96627(0x17a)](_0xf96627(0x178));})}};}}
|