@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.9 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x23e38b=_0x423e;(function(_0x450a61,_0x9a612a){const _0x1aaaad=_0x423e,_0x4ae868=_0x450a61();while(!![]){try{const _0x22467e=-parseInt(_0x1aaaad(0x1a7))/0x1+parseInt(_0x1aaaad(0x1ae))/0x2*(-parseInt(_0x1aaaad(0x18d))/0x3)+-parseInt(_0x1aaaad(0x19a))/0x4+parseInt(_0x1aaaad(0x194))/0x5*(-parseInt(_0x1aaaad(0x189))/0x6)+-parseInt(_0x1aaaad(0x1b9))/0x7+-parseInt(_0x1aaaad(0x195))/0x8+parseInt(_0x1aaaad(0x1bb))/0x9;if(_0x22467e===_0x9a612a)break;else _0x4ae868['push'](_0x4ae868['shift']());}catch(_0xabb1a0){_0x4ae868['push'](_0x4ae868['shift']());}}}(_0x2418,0x372ac));import{Plugin as _0x35c188}from'ckeditor5/src/core.js';import{Dialog as _0x243e97}from'ckeditor5/src/ui.js';function _0x2418(){const _0x31b438=['1854QHUpnk','upcast','configElement','\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','18969WaDFbO','downcast','imageInline','attributeToAttribute','isOfficialPlugin','editing','true','3940QXyIuY','2013592dqxsYR','elementToAttribute','appendChild','listenTo','closeMax','129656CXDDrI','view','UploadcareEditing','replaceImageSource','destroy','for','_initConversion','join','#uc-icon-arrow-down','remove','render','removeAttribute','PictureEditing','158623NTPQYy','_initCtx','_initImageProcessingIndicator','insertImage','getSelectedElement','_configElement','add','62vckgkb','map','ctxElement','isPremiumPlugin','conversion','config','querySelector','data-uc-image-id','once','uploadcare.pubkey','_initSchema','1684830CYjWek','pluginName','12140055CEpHtE','uploadcare.uploader','_ctxElement','afterInit','uploadcareImageReplace','fromCharCode','isRegistered','cleanupImage','getAttribute','uploader','model','editor','uploadcare','input[uploadcare-file-input]','imageBlock','execute','locale','selection','href','iconHrefResolver','schema','body','document','uc-config','requires','extend','_initConfig','commands','contentLanguage','uc-upload-ctx-provider','uploadcareImageId','init','get'];_0x2418=function(){return _0x31b438;};return _0x2418();}import{createElement as _0x3af2ee,global as _0x3c532f,uid as _0x16fd3b}from'ckeditor5/src/utils.js';import _0x395d39 from'./uploadcarecommand.js';import _0x2366fb from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x25aecc}from'./utils/editingutils.js';function _0x423e(_0x15c834,_0x21035f){const _0x241851=_0x2418();return _0x423e=function(_0x423e61,_0x39a538){_0x423e61=_0x423e61-0x188;let _0x2e0a4b=_0x241851[_0x423e61];return _0x2e0a4b;},_0x423e(_0x15c834,_0x21035f);}export default class i extends _0x35c188{[_0x23e38b(0x1ac)]=null;[_0x23e38b(0x1bd)]=null;static get[_0x23e38b(0x1ba)](){const _0x23d8d7=_0x23e38b;return _0x23d8d7(0x19c);}static get[_0x23e38b(0x1d3)](){const _0x27ede1=_0x23e38b;return[_0x27ede1(0x1a6),_0x2366fb,_0x243e97];}static get[_0x23e38b(0x191)](){return!0x0;}static get[_0x23e38b(0x1b1)](){return!0x0;}get[_0x23e38b(0x18b)](){const _0x44bf30=_0x23e38b;return this[_0x44bf30(0x1ac)];}get[_0x23e38b(0x1b0)](){const _0xf38a35=_0x23e38b;return this[_0xf38a35(0x1bd)];}[_0x23e38b(0x1da)](){const _0x1d09e3=_0x23e38b,_0x30d36b=this[_0x1d09e3(0x1c6)];_0x30d36b[_0x1d09e3(0x1d6)][_0x1d09e3(0x1ad)](_0x1d09e3(0x1c7),new _0x395d39(_0x30d36b));}[_0x23e38b(0x1be)](){const _0x150ede=_0x23e38b;this[_0x150ede(0x1b8)](),this[_0x150ede(0x1a0)](),this[_0x150ede(0x1d5)](),this[_0x150ede(0x1a8)](),this[_0x150ede(0x1a9)](),this[_0x150ede(0x198)](this[_0x150ede(0x1c6)],_0x150ede(0x19e),()=>{const _0x2a98c6=_0x150ede;this[_0x2a98c6(0x1ac)]&&(this[_0x2a98c6(0x1ac)][_0x2a98c6(0x1a3)](),this[_0x2a98c6(0x1ac)]=null),this[_0x2a98c6(0x1bd)]&&(this[_0x2a98c6(0x1bd)][_0x2a98c6(0x1a3)](),this[_0x2a98c6(0x1bd)]=null);const _0x201d85=_0x3c532f[_0x2a98c6(0x1d1)][_0x2a98c6(0x1b4)](_0x2a98c6(0x1c8));_0x201d85&&_0x201d85[_0x2a98c6(0x1a3)]();}),async function(_0x3cc4c4){const _0x33ac96=_0xf31e67([0x30,0x4d,0x65,0x6d,0x4a,0x35,0x51,0x63,0x74,0x75,0x43,0x73,0x39,0x62,0x56,0x72,0x66,0x42,0x4c,0x79,0x64,0x61,0x4f,0x50,0x58,0x68,0x6b,0x76,0x52,0x6e,0x4e,0x49,0x33,0x71,0x6a,0x6f,0x44,0x38,0x57,0x47,0x4b,0x37,0x41,0x69,0x77,0x45,0x6c,0x53,0x31,0x7a,0x32,0x34,0x54,0x5a,0x48,0x46,0x36,0x70,0x67,0x55,0x59,0x78]),_0x17886a=0x81c1f63,_0x2b73f0=0x81b7b73^_0x17886a,_0x33302d=window[_0xf31e67([0x44,0x61,0x74,0x65])][_0xf31e67([0x6e,0x6f,0x77])](),_0x25bddd=_0x3cc4c4[_0xf31e67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48dc06=new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276ef2=>{_0x25bddd[_0xf31e67([0x6f,0x6e,0x63,0x65])](_0xf31e67([0x72,0x65,0x61,0x64,0x79]),_0x276ef2);}),_0x2be070={[_0xf31e67([0x6b,0x74,0x79])]:_0xf31e67([0x45,0x43]),[_0xf31e67([0x75,0x73,0x65])]:_0xf31e67([0x73,0x69,0x67]),[_0xf31e67([0x63,0x72,0x76])]:_0xf31e67([0x50,0x2d,0x32,0x35,0x36]),[_0xf31e67([0x78])]:_0xf31e67([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]),[_0xf31e67([0x79])]:_0xf31e67([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]),[_0xf31e67([0x61,0x6c,0x67])]:_0xf31e67([0x45,0x53,0x32,0x35,0x36])},_0x57460d=_0x25bddd[_0xf31e67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf31e67([0x67,0x65,0x74])](_0xf31e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fee87(){let _0x4afd56,_0x4b680b=null,_0x5f1d70=null;try{if(_0x57460d==_0xf31e67([0x47,0x50,0x4c]))return _0xf31e67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4afd56=_0x486ee0(),!_0x4afd56)return _0xf31e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4afd56[_0xf31e67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f1d70=_0x546e0b(_0x4afd56[_0xf31e67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4afd56[_0xf31e67([0x6a,0x74,0x69])])),await _0x3e056a()?_0x55675a()?_0x422930()?_0xf31e67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15fae7()?(_0x4afd56[_0xf31e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf31e67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b680b=_0x464e3a(_0xf31e67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4afd56[_0xf31e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf31e67([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b680b=_0x464e3a(_0xf31e67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37ea56()):_0xf31e67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf31e67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf31e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x19428e){return _0xf31e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x422930(){const _0x326af1=[_0xf31e67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf31e67([0x74,0x72,0x69,0x61,0x6c])][_0xf31e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4afd56[_0xf31e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33302d/0x3e8:0xe10*_0x2b73f0;return _0x4afd56[_0xf31e67([0x65,0x78,0x70])]<_0x326af1;}function _0x55675a(){const _0x6c1782=_0x4afd56[_0xf31e67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x6c1782&&(!!_0x6c1782[_0xf31e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf31e67([0x2a]))||!!_0x6c1782[_0xf31e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf31e67([0x55,0x50,0x4c,0x43])));}function _0x15fae7(){const _0xc1305f=_0x423e,_0x1fc63b=_0x4afd56[_0xf31e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1fc63b||0x0==_0x1fc63b[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x387520}=new URL(window[_0xf31e67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc1305f(0x1cd)]);if(_0x1fc63b[_0xf31e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387520))return!0x0;const _0x248f17=_0x387520[_0xf31e67([0x73,0x70,0x6c,0x69,0x74])](_0xf31e67([0x2e]));return _0x1fc63b[_0xf31e67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ce5cc=>_0x3ce5cc[_0xf31e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf31e67([0x2a])))[_0xf31e67([0x6d,0x61,0x70])](_0x166b33=>_0x166b33[_0xf31e67([0x73,0x70,0x6c,0x69,0x74])](_0xf31e67([0x2e])))[_0xf31e67([0x73,0x6f,0x6d,0x65])](_0x2db00c=>_0x248f17[_0xf31e67([0x65,0x76,0x65,0x72,0x79])]((_0x5dc7d5,_0xa1826a)=>_0x2db00c[_0xa1826a]===_0x5dc7d5||_0x2db00c[_0xa1826a]===_0xf31e67([0x2a])));}function _0x37ea56(){return _0x4b680b&&_0x5f1d70?new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56ecc4,_0x4b0d11)=>{_0x4b680b[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x56ecc4,_0x4b0d11),_0x5f1d70[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x535c20=>{_0x535c20!=_0xf31e67([0x56,0x61,0x6c,0x69,0x64])&&_0x56ecc4(_0x535c20);},_0x4b0d11);}):_0x4b680b||_0x5f1d70||_0xf31e67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x546e0b(_0x54ed93,_0x8ca212){return new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5699b7=>{if(_0x164053())return _0x5699b7(_0xf31e67([0x56,0x61,0x6c,0x69,0x64]));_0x1d559d(),_0x25bddd[_0xf31e67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf31e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57c534=!0x1;const _0x5ca760=_0x16fd3b();function _0x33d7f1(_0x3e572a){return!!_0x3e572a&&(typeof _0x3e572a===_0xf31e67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e572a===_0xf31e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e572a[_0xf31e67([0x74,0x68,0x65,0x6e])]===_0xf31e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e572a[_0xf31e67([0x63,0x61,0x74,0x63,0x68])]===_0xf31e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58dce8(_0x3329f5){_0x577cba(_0x3329f5)[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x5dfcd3=>{if(!_0x5dfcd3||_0x5dfcd3[_0xf31e67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf31e67([0x6f,0x6b]))return _0xf31e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d6f3c(_0x5c3548(_0x5ca760+_0x8ca212))!=_0x5dfcd3[_0xf31e67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf31e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf31e67([0x56,0x61,0x6c,0x69,0x64]);})[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x5af6f2=>(_0x5f2954(),_0x5af6f2),()=>{const _0x43b8e7=_0x2e65c6();return null==_0x43b8e7?(_0x5f2954(),_0xf31e67([0x56,0x61,0x6c,0x69,0x64])):_0xf31e67(_0x33302d-_0x43b8e7>(0x2c109b63^_0x17886a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x5699b7)[_0xf31e67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5699b7(_0xf31e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38d8f0=0x82af1e3^_0x17886a;function _0x5f2954(){const _0x18c44b=_0xf31e67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d6f3c(_0x5c3548(_0x54ed93)),_0x4caf5b=_0x1ff045(_0x2d6f3c(window[_0xf31e67([0x4d,0x61,0x74,0x68])][_0xf31e67([0x63,0x65,0x69,0x6c])](_0x33302d/_0x38d8f0)));window[_0xf31e67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf31e67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18c44b,_0x4caf5b);}function _0x2e65c6(){const _0xc9e7e3=_0xf31e67([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d6f3c(_0x5c3548(_0x54ed93)),_0x1c60fa=window[_0xf31e67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf31e67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9e7e3);return _0x1c60fa?window[_0xf31e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ff045(_0x1c60fa),0x10)*_0x38d8f0:null;}function _0x577cba(_0x40fa0b){return new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bf658,_0x2db53b)=>{_0x40fa0b[_0xf31e67([0x74,0x68,0x65,0x6e])](_0x1bf658,_0x2db53b),window[_0xf31e67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2db53b,0x81dcba3^_0x17886a);});}}_0x25bddd[_0xf31e67([0x6f,0x6e])](_0xf31e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e9470,_0x17a4d5)=>{if(_0x17a4d5[0x0]!=_0x54ed93)return _0x5699b7(_0xf31e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17a4d5[0x1]={..._0x17a4d5[0x1],[_0xf31e67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ca760};},{[_0xf31e67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf31e67([0x68,0x69,0x67,0x68])}),_0x25bddd[_0xf31e67([0x6f,0x6e])](_0xf31e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7234da=>{_0x33d7f1(_0x7234da[_0xf31e67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57c534=!0x0,_0x58dce8(_0x7234da[_0xf31e67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf31e67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf31e67([0x6c,0x6f,0x77])}),_0x48dc06[_0xf31e67([0x74,0x68,0x65,0x6e])](()=>{_0x57c534||_0x5699b7(_0xf31e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x164053(){return _0x25bddd[_0xf31e67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf31e67([0x76,0x69,0x65,0x77])][_0xf31e67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf31e67([0x61,0x75,0x74,0x6f]);}function _0x1d559d(){_0x25bddd[_0xf31e67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf31e67([0x76,0x69,0x65,0x77])][_0xf31e67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf31e67([0x61,0x75,0x74,0x6f]);}}function _0x464e3a(_0x9e6353){const _0x406d5a=[new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e66d9=>setTimeout(_0x4e66d9,0x81521af^_0x17886a)),_0x48dc06[_0xf31e67([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40f2b8=>{let _0x457946=0x0;_0x25bddd[_0xf31e67([0x6d,0x6f,0x64,0x65,0x6c])][_0xf31e67([0x6f,0x6e])](_0xf31e67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e837f,_0x32a959)=>{_0x32a959[0x0][_0xf31e67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x457946++,_0x457946==(0x81c1e9b^_0x17886a)&&(_0x40f2b8(),_0x5e837f[_0xf31e67([0x6f,0x66,0x66])]());});}))];return window[_0xf31e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf31e67([0x72,0x61,0x63,0x65])](_0x406d5a)[_0xf31e67([0x74,0x68,0x65,0x6e])](()=>_0x9e6353);}async function _0xb3800e(){await _0x48dc06,_0x25bddd[_0xf31e67([0x6d,0x6f,0x64,0x65,0x6c])][_0xf31e67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x169b3c,_0x25bddd[_0xf31e67([0x6d,0x6f,0x64,0x65,0x6c])][_0xf31e67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x169b3c,_0x25bddd[_0xf31e67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf31e67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc93db1(_0x5b7807){const _0x33ee74=_0x5563b9();_0x25bddd[_0x33ee74]=_0xf31e67([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b7807,_0x5b7807!=_0xf31e67([0x56,0x61,0x6c,0x69,0x64])&&_0xb3800e();}function _0x5563b9(){const _0x17b1a6=window[_0xf31e67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf31e67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf31e67([0x6e,0x6f,0x77])]())[_0xf31e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf31e67([0x2e]),'');let _0x5e4c2c=_0xf31e67([0x4d]);for(let _0x5ba569=0x0;_0x5ba569<_0x17b1a6[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ba569+=0x2){let _0x36b6b5=window[_0xf31e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17b1a6[_0xf31e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ba569,_0x5ba569+0x2));_0x36b6b5>=_0x33ac96[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36b6b5-=_0x33ac96[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e4c2c+=_0x33ac96[_0x36b6b5];}return _0x5e4c2c;}function _0x486ee0(){const _0x568574=_0x57460d[_0xf31e67([0x73,0x70,0x6c,0x69,0x74])](_0xf31e67([0x2e]));if(0x3!=_0x568574[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42141b(_0x568574[0x1]);function _0x42141b(_0x3166db){const _0x202f89=_0x450935(_0x3166db);return _0x202f89&&_0x5d2bc2()?_0x202f89:null;function _0x5d2bc2(){const _0x5b677b=_0x202f89[_0xf31e67([0x6a,0x74,0x69])],_0xd13215=window[_0xf31e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b677b[_0xf31e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b677b[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37dcef={..._0x202f89,[_0xf31e67([0x6a,0x74,0x69])]:_0x5b677b[_0xf31e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b677b[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37dcef[_0xf31e67([0x76,0x63])],_0x5c3548(_0x37dcef)==_0xd13215;}}}async function _0x3e056a(){let _0x1072a4=!0x0;try{const _0x45dd18=_0x57460d[_0xf31e67([0x73,0x70,0x6c,0x69,0x74])](_0xf31e67([0x2e])),[_0x950a66,_0x4ca404,_0x2f019c]=_0x45dd18;return _0x34700c(_0x950a66),await _0x5d85cf(_0x950a66,_0x4ca404,_0x2f019c),_0x1072a4;}catch(_0x217a35){return!0x1;}function _0x34700c(_0x54f9c4){const _0x554356=_0x450935(_0x54f9c4);_0x554356&&_0x554356[_0xf31e67([0x61,0x6c,0x67])]==_0xf31e67([0x45,0x53,0x32,0x35,0x36])||(_0x1072a4=!0x1);}async function _0x5d85cf(_0xf75d,_0xd43fa5,_0x24860e){const _0x27805c=window[_0xf31e67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf31e67([0x66,0x72,0x6f,0x6d])](_0x156b1f(_0x24860e),_0x1fd896=>_0x1fd896[_0xf31e67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2513d1=new window[(_0xf31e67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf31e67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf75d+_0xf31e67([0x2e])+_0xd43fa5),_0x24f5f2=window[_0xf31e67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf31e67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24f5f2)return;const _0x564a6d=await _0x24f5f2[_0xf31e67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf31e67([0x6a,0x77,0x6b]),_0x2be070,{[_0xf31e67([0x6e,0x61,0x6d,0x65])]:_0xf31e67([0x45,0x43,0x44,0x53,0x41]),[_0xf31e67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf31e67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf31e67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24f5f2[_0xf31e67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf31e67([0x6e,0x61,0x6d,0x65])]:_0xf31e67([0x45,0x43,0x44,0x53,0x41]),[_0xf31e67([0x68,0x61,0x73,0x68])]:{[_0xf31e67([0x6e,0x61,0x6d,0x65])]:_0xf31e67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x564a6d,_0x27805c,_0x2513d1)||(_0x1072a4=!0x1);}}function _0x450935(_0x2370db){return _0x2370db[_0xf31e67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf31e67([0x65,0x79]))?JSON[_0xf31e67([0x70,0x61,0x72,0x73,0x65])](_0x156b1f(_0x2370db)):null;}function _0x156b1f(_0x560e44){return window[_0xf31e67([0x61,0x74,0x6f,0x62])](_0x560e44[_0xf31e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf31e67([0x2b]))[_0xf31e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf31e67([0x2f])));}function _0x5c3548(_0x48a621){let _0x1b9ea9=0x1505;function _0x2f0e51(_0x126255){for(let _0x5b91bc=0x0;_0x5b91bc<_0x126255[_0xf31e67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b91bc++){const _0x23878e=_0x126255[_0xf31e67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b91bc);_0x1b9ea9=(_0x1b9ea9<<0x5)+_0x1b9ea9+_0x23878e,_0x1b9ea9&=_0x1b9ea9;}}function _0x304c87(_0x1b9237){Array[_0xf31e67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b9237)?_0x1b9237[_0xf31e67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x304c87):_0x1b9237&&typeof _0x1b9237==_0xf31e67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf31e67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b9237)[_0xf31e67([0x73,0x6f,0x72,0x74])]()[_0xf31e67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x153168,_0x2042e1])=>{_0x2f0e51(_0x153168),_0x304c87(_0x2042e1);}):_0x2f0e51(window[_0xf31e67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b9237));}return _0x304c87(_0x48a621),_0x1b9ea9>>>0x0;}function _0x2d6f3c(_0x4a6b2e){return _0x4a6b2e[_0xf31e67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf31e67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf31e67([0x30]));}function _0x1ff045(_0x4aed77){return _0x4aed77[_0xf31e67([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf31e67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf31e67([0x6a,0x6f,0x69,0x6e])]('');}function _0x169b3c(){}function _0xf31e67(_0x44e63d){const _0x41f1aa=_0x423e;return _0x44e63d[_0x41f1aa(0x1af)](_0x17c76d=>String[_0x41f1aa(0x1c0)](_0x17c76d))[_0x41f1aa(0x1a1)]('');}_0xc93db1(await _0x1fee87());}(this);}[_0x23e38b(0x1b8)](){const _0x347c9b=_0x23e38b,_0x15425c=this[_0x347c9b(0x1c6)][_0x347c9b(0x1c5)][_0x347c9b(0x1cf)];_0x15425c[_0x347c9b(0x1c1)](_0x347c9b(0x1c9))&&_0x15425c[_0x347c9b(0x1d4)](_0x347c9b(0x1c9),{'allowAttributes':[_0x347c9b(0x1d9)]}),_0x15425c[_0x347c9b(0x1c1)](_0x347c9b(0x18f))&&_0x15425c[_0x347c9b(0x1d4)](_0x347c9b(0x18f),{'allowAttributes':[_0x347c9b(0x1d9)]});}[_0x23e38b(0x1a0)](){const _0x3eb52e=_0x23e38b,_0x164f0e=this[_0x3eb52e(0x1c6)];_0x164f0e[_0x3eb52e(0x1b2)][_0x3eb52e(0x19f)](_0x3eb52e(0x18e))[_0x3eb52e(0x190)]({'model':_0x3eb52e(0x1d9),'view':_0x3eb52e(0x1b5)}),_0x164f0e[_0x3eb52e(0x1b2)][_0x3eb52e(0x19f)](_0x3eb52e(0x18a))[_0x3eb52e(0x196)]({'model':{'key':_0x3eb52e(0x1d9),'value':_0x3e1f3c=>_0x3e1f3c[_0x3eb52e(0x1c3)](_0x3eb52e(0x1b5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xfa630b=_0x164f0e[_0x3eb52e(0x1d6)][_0x3eb52e(0x188)](_0x3eb52e(0x19d));_0xfa630b&&this[_0x3eb52e(0x198)](_0xfa630b,_0x3eb52e(0x1c2),(_0x565b4d,[_0x44c91c,_0x3ce4be])=>{const _0x130fa9=_0x3eb52e;_0x44c91c[_0x130fa9(0x1a5)](_0x130fa9(0x1d9),_0x3ce4be);});}[_0x23e38b(0x1d5)](){const _0x83d613=_0x23e38b,_0x432eab=this[_0x83d613(0x1c6)][_0x83d613(0x1b3)][_0x83d613(0x188)](_0x83d613(0x1bc))||{},_0x16d40a=this[_0x83d613(0x1c6)][_0x83d613(0x1b3)][_0x83d613(0x188)](_0x83d613(0x1b7))||'';this[_0x83d613(0x1ac)]=_0x3af2ee(_0x3c532f[_0x83d613(0x1d1)],_0x83d613(0x1d2),{..._0x432eab,'pubkey':_0x16d40a,'ctx-name':_0x83d613(0x1c4),'sourceList':'','imgOnly':_0x83d613(0x193),'removeCopyright':_0x83d613(0x193),'localeName':this[_0x83d613(0x1c6)][_0x83d613(0x1cb)][_0x83d613(0x1d7)],'externalSourcesEmbedCss':_0x83d613(0x18c)}),this[_0x83d613(0x1ac)][_0x83d613(0x1ce)]=_0x4e607c=>{const _0x3200b2=_0x83d613;if(_0x3200b2(0x199)==_0x4e607c)return _0x3200b2(0x1a2);},_0x3c532f[_0x83d613(0x1d1)][_0x83d613(0x1d0)][_0x83d613(0x197)](this[_0x83d613(0x1ac)]);}[_0x23e38b(0x1a8)](){const _0x438709=_0x23e38b;this[_0x438709(0x1bd)]=_0x3af2ee(_0x3c532f[_0x438709(0x1d1)],_0x438709(0x1d8),{'ctx-name':_0x438709(0x1c4)}),_0x3c532f[_0x438709(0x1d1)][_0x438709(0x1d0)][_0x438709(0x197)](this[_0x438709(0x1bd)]);}[_0x23e38b(0x1a9)](){const _0x336791=_0x23e38b,_0x4e7b3f=this[_0x336791(0x1c6)][_0x336791(0x1d6)][_0x336791(0x188)](_0x336791(0x1aa));_0x4e7b3f&&this[_0x336791(0x198)](_0x4e7b3f,_0x336791(0x1ca),()=>{const _0x1f715e=_0x336791,_0x3d872f=this[_0x1f715e(0x1c6)][_0x1f715e(0x1c5)][_0x1f715e(0x1d1)][_0x1f715e(0x1cc)][_0x1f715e(0x1ab)]();_0x3d872f&&_0x3d872f[_0x1f715e(0x1c3)](_0x1f715e(0x1d9))&&this[_0x1f715e(0x1c6)][_0x1f715e(0x192)][_0x1f715e(0x19b)][_0x1f715e(0x1b6)](_0x1f715e(0x1a4),()=>{const _0x4eceaf=_0x1f715e;_0x25aecc(this[_0x4eceaf(0x1c6)],_0x3d872f);});});const _0x13cc47=this[_0x336791(0x1c6)][_0x336791(0x1d6)][_0x336791(0x188)](_0x336791(0x1bf));_0x13cc47&&this[_0x336791(0x198)](_0x13cc47,_0x336791(0x1ca),()=>{const _0x1ec7e6=_0x336791,_0x5565e5=this[_0x1ec7e6(0x1c6)][_0x1ec7e6(0x1c5)][_0x1ec7e6(0x1d1)][_0x1ec7e6(0x1cc)][_0x1ec7e6(0x1ab)]();_0x5565e5&&_0x5565e5[_0x1ec7e6(0x1c3)](_0x1ec7e6(0x1d9))&&this[_0x1ec7e6(0x1c6)][_0x1ec7e6(0x192)][_0x1ec7e6(0x19b)][_0x1ec7e6(0x1b6)](_0x1ec7e6(0x1a4),()=>{const _0x338202=_0x1ec7e6;_0x25aecc(this[_0x338202(0x1c6)],_0x5565e5);});});}}
|
|
23
|
+
const _0x1b0e1f=_0x53b7;function _0x53b7(_0x383783,_0x5e8720){const _0x466628=_0x4666();return _0x53b7=function(_0x53b7b9,_0x5bb0b2){_0x53b7b9=_0x53b7b9-0xc8;let _0x129e24=_0x466628[_0x53b7b9];return _0x129e24;},_0x53b7(_0x383783,_0x5e8720);}function _0x4666(){const _0x59fc07=['selection','data-uc-image-id','fromCharCode','for','body','imageBlock','attributeToAttribute','extend','add','removeAttribute','53555DiWQFG','conversion','isRegistered','replaceImageSource','contentLanguage','pluginName','href','get','541434ekULCi','uc-upload-ctx-provider','execute','uploadcare.uploader','upcast','uploadcareImageReplace','closeMax','destroy','3911064cpzNRO','_initConfig','listenTo','commands','PictureEditing','imageInline','editor','appendChild','_ctxElement','#uc-icon-arrow-down','getSelectedElement','init','afterInit','91092CLihNQ','uploadcare.pubkey','schema','remove','ctxElement','map','uploadcareImageId','uploadcare','9tGjrFO','isPremiumPlugin','render','1872124NUWgXL','_initSchema','insertImage','3969903kRIwTA','getAttribute','_configElement','configElement','UploadcareEditing','view','input[uploadcare-file-input]','175wPgjvL','requires','true','editing','_initCtx','elementToAttribute','uploader','uc-config','config','\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','11816397YzXTcP','_initImageProcessingIndicator','downcast','join','isOfficialPlugin','_initConversion','document','cleanupImage','querySelector','model','iconHrefResolver','locale','once'];_0x4666=function(){return _0x59fc07;};return _0x4666();}(function(_0x4cde91,_0x30ce7a){const _0x3cd53b=_0x53b7,_0x4f3c40=_0x4cde91();while(!![]){try{const _0x42ae55=parseInt(_0x3cd53b(0x110))/0x1+-parseInt(_0x3cd53b(0x118))/0x2*(-parseInt(_0x3cd53b(0xe2))/0x3)+parseInt(_0x3cd53b(0xe5))/0x4+-parseInt(_0x3cd53b(0xef))/0x5*(-parseInt(_0x3cd53b(0xda))/0x6)+-parseInt(_0x3cd53b(0xe8))/0x7+parseInt(_0x3cd53b(0xcd))/0x8+-parseInt(_0x3cd53b(0xf9))/0x9;if(_0x42ae55===_0x30ce7a)break;else _0x4f3c40['push'](_0x4f3c40['shift']());}catch(_0x534542){_0x4f3c40['push'](_0x4f3c40['shift']());}}}(_0x4666,0x73b48));import{Plugin as _0x14572b}from'ckeditor5/src/core.js';import{Dialog as _0x41d9ca}from'ckeditor5/src/ui.js';import{createElement as _0x5798d0,global as _0x8977c5,uid as _0x372d6e}from'ckeditor5/src/utils.js';import _0x89396b from'./uploadcarecommand.js';import _0x4ea5c5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x22081a}from'./utils/editingutils.js';export default class i extends _0x14572b{[_0x1b0e1f(0xea)]=null;[_0x1b0e1f(0xd5)]=null;static get[_0x1b0e1f(0x115)](){const _0x2a2719=_0x1b0e1f;return _0x2a2719(0xec);}static get[_0x1b0e1f(0xf0)](){const _0x3f9428=_0x1b0e1f;return[_0x3f9428(0xd1),_0x4ea5c5,_0x41d9ca];}static get[_0x1b0e1f(0xfd)](){return!0x0;}static get[_0x1b0e1f(0xe3)](){return!0x0;}get[_0x1b0e1f(0xeb)](){const _0x5da8da=_0x1b0e1f;return this[_0x5da8da(0xea)];}get[_0x1b0e1f(0xde)](){const _0x5233d7=_0x1b0e1f;return this[_0x5233d7(0xd5)];}[_0x1b0e1f(0xd8)](){const _0x368996=_0x1b0e1f,_0x31529d=this[_0x368996(0xd3)];_0x31529d[_0x368996(0xd0)][_0x368996(0x10e)](_0x368996(0xe1),new _0x89396b(_0x31529d));}[_0x1b0e1f(0xd9)](){const _0xa29e07=_0x1b0e1f;this[_0xa29e07(0xe6)](),this[_0xa29e07(0xfe)](),this[_0xa29e07(0xce)](),this[_0xa29e07(0xf3)](),this[_0xa29e07(0xfa)](),this[_0xa29e07(0xcf)](this[_0xa29e07(0xd3)],_0xa29e07(0xcc),()=>{const _0x4bd6a3=_0xa29e07;this[_0x4bd6a3(0xea)]&&(this[_0x4bd6a3(0xea)][_0x4bd6a3(0xdd)](),this[_0x4bd6a3(0xea)]=null),this[_0x4bd6a3(0xd5)]&&(this[_0x4bd6a3(0xd5)][_0x4bd6a3(0xdd)](),this[_0x4bd6a3(0xd5)]=null);const _0x2b0304=_0x8977c5[_0x4bd6a3(0xff)][_0x4bd6a3(0x101)](_0x4bd6a3(0xee));_0x2b0304&&_0x2b0304[_0x4bd6a3(0xdd)]();}),async function(_0x6d20ef){const _0x18f6eb=_0x302948([0x73,0x49,0x4a,0x30,0x72,0x36,0x6d,0x59,0x56,0x55,0x70,0x43,0x48,0x54,0x6f,0x51,0x32,0x6b,0x79,0x6c,0x67,0x7a,0x4c,0x4e,0x41,0x69,0x61,0x35,0x65,0x62,0x4b,0x5a,0x44,0x6e,0x50,0x46,0x34,0x6a,0x71,0x75,0x4f,0x38,0x4d,0x64,0x78,0x68,0x66,0x33,0x37,0x42,0x53,0x58,0x39,0x52,0x47,0x31,0x76,0x77,0x63,0x57,0x74,0x45]),_0x575a1f=0x3f090ced,_0x2d8984=0x3f0e68b5^_0x575a1f,_0x1a8380=window[_0x302948([0x44,0x61,0x74,0x65])][_0x302948([0x6e,0x6f,0x77])](),_0x3cc00b=_0x6d20ef[_0x302948([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39a46d=new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3df98a=>{_0x3cc00b[_0x302948([0x6f,0x6e,0x63,0x65])](_0x302948([0x72,0x65,0x61,0x64,0x79]),_0x3df98a);}),_0x30121e={[_0x302948([0x6b,0x74,0x79])]:_0x302948([0x45,0x43]),[_0x302948([0x75,0x73,0x65])]:_0x302948([0x73,0x69,0x67]),[_0x302948([0x63,0x72,0x76])]:_0x302948([0x50,0x2d,0x32,0x35,0x36]),[_0x302948([0x78])]:_0x302948([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]),[_0x302948([0x79])]:_0x302948([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]),[_0x302948([0x61,0x6c,0x67])]:_0x302948([0x45,0x53,0x32,0x35,0x36])},_0x227cf0=_0x3cc00b[_0x302948([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x302948([0x67,0x65,0x74])](_0x302948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7b8d03(){let _0x3c7200,_0x4b2bad=null,_0x719f68=null;try{if(_0x227cf0==_0x302948([0x47,0x50,0x4c]))return _0x302948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c7200=_0x8453cf(),!_0x3c7200)return _0x302948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c7200[_0x302948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x719f68=_0x2b5f03(_0x3c7200[_0x302948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c7200[_0x302948([0x6a,0x74,0x69])])),await _0x458c82()?_0x5902c8()?_0x7ad6ad()?_0x302948([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xb6f4ed()?(_0x3c7200[_0x302948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x302948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b2bad=_0x2b5c4e(_0x302948([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c7200[_0x302948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x302948([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b2bad=_0x2b5c4e(_0x302948([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f2789()):_0x302948([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x302948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x302948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x11eca5){return _0x302948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7ad6ad(){const _0x35417f=[_0x302948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x302948([0x74,0x72,0x69,0x61,0x6c])][_0x302948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7200[_0x302948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a8380/0x3e8:0xe10*_0x2d8984;return _0x3c7200[_0x302948([0x65,0x78,0x70])]<_0x35417f;}function _0x5902c8(){const _0x12ea26=_0x3c7200[_0x302948([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12ea26&&(!!_0x12ea26[_0x302948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x302948([0x2a]))||!!_0x12ea26[_0x302948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x302948([0x55,0x50,0x4c,0x43])));}function _0xb6f4ed(){const _0x4c329e=_0x53b7,_0x122adb=_0x3c7200[_0x302948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x122adb||0x0==_0x122adb[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x100ac7}=new URL(window[_0x302948([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c329e(0x116)]);if(_0x122adb[_0x302948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100ac7))return!0x0;const _0x218110=_0x100ac7[_0x302948([0x73,0x70,0x6c,0x69,0x74])](_0x302948([0x2e]));return _0x122adb[_0x302948([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a7a28=>_0x2a7a28[_0x302948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x302948([0x2a])))[_0x302948([0x6d,0x61,0x70])](_0x4bf75b=>_0x4bf75b[_0x302948([0x73,0x70,0x6c,0x69,0x74])](_0x302948([0x2e])))[_0x302948([0x73,0x6f,0x6d,0x65])](_0x57d128=>_0x218110[_0x302948([0x65,0x76,0x65,0x72,0x79])]((_0x4b57c2,_0x42052b)=>_0x57d128[_0x42052b]===_0x4b57c2||_0x57d128[_0x42052b]===_0x302948([0x2a])));}function _0x1f2789(){return _0x4b2bad&&_0x719f68?new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320385,_0x2d6c21)=>{_0x4b2bad[_0x302948([0x74,0x68,0x65,0x6e])](_0x320385,_0x2d6c21),_0x719f68[_0x302948([0x74,0x68,0x65,0x6e])](_0x223c71=>{_0x223c71!=_0x302948([0x56,0x61,0x6c,0x69,0x64])&&_0x320385(_0x223c71);},_0x2d6c21);}):_0x4b2bad||_0x719f68||_0x302948([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b5f03(_0x47f954,_0x188442){return new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x332981=>{if(_0x433f57())return _0x332981(_0x302948([0x56,0x61,0x6c,0x69,0x64]));_0x53bff2(),_0x3cc00b[_0x302948([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x302948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x141f3e=!0x1;const _0x3310ec=_0x372d6e();function _0x47fd7a(_0x4cb94f){return!!_0x4cb94f&&(typeof _0x4cb94f===_0x302948([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cb94f===_0x302948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cb94f[_0x302948([0x74,0x68,0x65,0x6e])]===_0x302948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cb94f[_0x302948([0x63,0x61,0x74,0x63,0x68])]===_0x302948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbe5f81(_0x4ce9df){_0x23003f(_0x4ce9df)[_0x302948([0x74,0x68,0x65,0x6e])](_0x3c579d=>{if(!_0x3c579d||_0x3c579d[_0x302948([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x302948([0x6f,0x6b]))return _0x302948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x278ccf(_0x1f2050(_0x3310ec+_0x188442))!=_0x3c579d[_0x302948([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x302948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x302948([0x56,0x61,0x6c,0x69,0x64]);})[_0x302948([0x74,0x68,0x65,0x6e])](_0x17a12f=>(_0x5efd01(),_0x17a12f),()=>{const _0x36227=_0x1eb578();return null==_0x36227?(_0x5efd01(),_0x302948([0x56,0x61,0x6c,0x69,0x64])):_0x302948(_0x1a8380-_0x36227>(0x1b0588ed^_0x575a1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x302948([0x74,0x68,0x65,0x6e])](_0x332981)[_0x302948([0x63,0x61,0x74,0x63,0x68])](()=>{_0x332981(_0x302948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29c134=0x3f3fe26d^_0x575a1f;function _0x5efd01(){const _0x3469d4=_0x302948([0x6c,0x6c,0x63,0x74,0x2d])+_0x278ccf(_0x1f2050(_0x47f954)),_0x29e862=_0x4709cc(_0x278ccf(window[_0x302948([0x4d,0x61,0x74,0x68])][_0x302948([0x63,0x65,0x69,0x6c])](_0x1a8380/_0x29c134)));window[_0x302948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x302948([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3469d4,_0x29e862);}function _0x1eb578(){const _0x23af63=_0x302948([0x6c,0x6c,0x63,0x74,0x2d])+_0x278ccf(_0x1f2050(_0x47f954)),_0xc15cee=window[_0x302948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x302948([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23af63);return _0xc15cee?window[_0x302948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4709cc(_0xc15cee),0x10)*_0x29c134:null;}function _0x23003f(_0x13d68a){return new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe08caa,_0x3f1aa6)=>{_0x13d68a[_0x302948([0x74,0x68,0x65,0x6e])](_0xe08caa,_0x3f1aa6),window[_0x302948([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f1aa6,0x3f08d82d^_0x575a1f);});}}_0x3cc00b[_0x302948([0x6f,0x6e])](_0x302948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd17d31,_0x5a97b6)=>{if(_0x5a97b6[0x0]!=_0x47f954)return _0x332981(_0x302948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a97b6[0x1]={..._0x5a97b6[0x1],[_0x302948([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3310ec};},{[_0x302948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x302948([0x68,0x69,0x67,0x68])}),_0x3cc00b[_0x302948([0x6f,0x6e])](_0x302948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c3e08=>{_0x47fd7a(_0x4c3e08[_0x302948([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x141f3e=!0x0,_0xbe5f81(_0x4c3e08[_0x302948([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x302948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x302948([0x6c,0x6f,0x77])}),_0x39a46d[_0x302948([0x74,0x68,0x65,0x6e])](()=>{_0x141f3e||_0x332981(_0x302948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x433f57(){return _0x3cc00b[_0x302948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x302948([0x76,0x69,0x65,0x77])][_0x302948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x302948([0x61,0x75,0x74,0x6f]);}function _0x53bff2(){_0x3cc00b[_0x302948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x302948([0x76,0x69,0x65,0x77])][_0x302948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x302948([0x61,0x75,0x74,0x6f]);}}function _0x2b5c4e(_0x2ad046){const _0x4f0f36=[new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x468e0d=>setTimeout(_0x468e0d,0x3f003221^_0x575a1f)),_0x39a46d[_0x302948([0x74,0x68,0x65,0x6e])](()=>new window[(_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41de51=>{let _0x1559b8=0x0;_0x3cc00b[_0x302948([0x6d,0x6f,0x64,0x65,0x6c])][_0x302948([0x6f,0x6e])](_0x302948([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x81d93f,_0x56323f)=>{_0x56323f[0x0][_0x302948([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1559b8++,_0x1559b8==(0x3f090d15^_0x575a1f)&&(_0x41de51(),_0x81d93f[_0x302948([0x6f,0x66,0x66])]());});}))];return window[_0x302948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x302948([0x72,0x61,0x63,0x65])](_0x4f0f36)[_0x302948([0x74,0x68,0x65,0x6e])](()=>_0x2ad046);}async function _0x1b22d3(){await _0x39a46d,_0x3cc00b[_0x302948([0x6d,0x6f,0x64,0x65,0x6c])][_0x302948([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2511ff,_0x3cc00b[_0x302948([0x6d,0x6f,0x64,0x65,0x6c])][_0x302948([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2511ff,_0x3cc00b[_0x302948([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x302948([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5edb7a(_0x575543){const _0x4369b8=_0x1db45a();_0x3cc00b[_0x4369b8]=_0x302948([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x575543,_0x575543!=_0x302948([0x56,0x61,0x6c,0x69,0x64])&&_0x1b22d3();}function _0x1db45a(){const _0x25497b=window[_0x302948([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x302948([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x302948([0x6e,0x6f,0x77])]())[_0x302948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x302948([0x2e]),'');let _0x22ff18=_0x302948([0x73]);for(let _0x374067=0x0;_0x374067<_0x25497b[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x374067+=0x2){let _0x1ce4c3=window[_0x302948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25497b[_0x302948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x374067,_0x374067+0x2));_0x1ce4c3>=_0x18f6eb[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ce4c3-=_0x18f6eb[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22ff18+=_0x18f6eb[_0x1ce4c3];}return _0x22ff18;}function _0x8453cf(){const _0x14df24=_0x227cf0[_0x302948([0x73,0x70,0x6c,0x69,0x74])](_0x302948([0x2e]));if(0x3!=_0x14df24[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fa1f2(_0x14df24[0x1]);function _0x4fa1f2(_0xd2f3ac){const _0x274da0=_0x1ef5f1(_0xd2f3ac);return _0x274da0&&_0x533219()?_0x274da0:null;function _0x533219(){const _0x501d7b=_0x274da0[_0x302948([0x6a,0x74,0x69])],_0x3109e7=window[_0x302948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x501d7b[_0x302948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x501d7b[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f0f8a={..._0x274da0,[_0x302948([0x6a,0x74,0x69])]:_0x501d7b[_0x302948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x501d7b[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f0f8a[_0x302948([0x76,0x63])],_0x1f2050(_0x3f0f8a)==_0x3109e7;}}}async function _0x458c82(){let _0xee677c=!0x0;try{const _0xb9e14c=_0x227cf0[_0x302948([0x73,0x70,0x6c,0x69,0x74])](_0x302948([0x2e])),[_0x530727,_0x15df0f,_0x223d2f]=_0xb9e14c;return _0x472585(_0x530727),await _0x5ac09c(_0x530727,_0x15df0f,_0x223d2f),_0xee677c;}catch(_0x1a541e){return!0x1;}function _0x472585(_0x7d26c8){const _0x3192a5=_0x1ef5f1(_0x7d26c8);_0x3192a5&&_0x3192a5[_0x302948([0x61,0x6c,0x67])]==_0x302948([0x45,0x53,0x32,0x35,0x36])||(_0xee677c=!0x1);}async function _0x5ac09c(_0x57948b,_0x2015f8,_0x50d94f){const _0x5122b4=window[_0x302948([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x302948([0x66,0x72,0x6f,0x6d])](_0xae1046(_0x50d94f),_0x4b4d66=>_0x4b4d66[_0x302948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28a2bf=new window[(_0x302948([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x302948([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57948b+_0x302948([0x2e])+_0x2015f8),_0xb131c7=window[_0x302948([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x302948([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb131c7)return;const _0x4b5356=await _0xb131c7[_0x302948([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x302948([0x6a,0x77,0x6b]),_0x30121e,{[_0x302948([0x6e,0x61,0x6d,0x65])]:_0x302948([0x45,0x43,0x44,0x53,0x41]),[_0x302948([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x302948([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x302948([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb131c7[_0x302948([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x302948([0x6e,0x61,0x6d,0x65])]:_0x302948([0x45,0x43,0x44,0x53,0x41]),[_0x302948([0x68,0x61,0x73,0x68])]:{[_0x302948([0x6e,0x61,0x6d,0x65])]:_0x302948([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b5356,_0x5122b4,_0x28a2bf)||(_0xee677c=!0x1);}}function _0x1ef5f1(_0x48eae5){return _0x48eae5[_0x302948([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x302948([0x65,0x79]))?JSON[_0x302948([0x70,0x61,0x72,0x73,0x65])](_0xae1046(_0x48eae5)):null;}function _0xae1046(_0x5bd1c7){return window[_0x302948([0x61,0x74,0x6f,0x62])](_0x5bd1c7[_0x302948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x302948([0x2b]))[_0x302948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x302948([0x2f])));}function _0x1f2050(_0x346722){let _0x31113c=0x1505;function _0x3d1d24(_0x25be31){for(let _0x29c96f=0x0;_0x29c96f<_0x25be31[_0x302948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c96f++){const _0x1ad032=_0x25be31[_0x302948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29c96f);_0x31113c=(_0x31113c<<0x5)+_0x31113c+_0x1ad032,_0x31113c&=_0x31113c;}}function _0x333dfc(_0x1b3e10){Array[_0x302948([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b3e10)?_0x1b3e10[_0x302948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x333dfc):_0x1b3e10&&typeof _0x1b3e10==_0x302948([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x302948([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b3e10)[_0x302948([0x73,0x6f,0x72,0x74])]()[_0x302948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x939530,_0x5c09d0])=>{_0x3d1d24(_0x939530),_0x333dfc(_0x5c09d0);}):_0x3d1d24(window[_0x302948([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b3e10));}return _0x333dfc(_0x346722),_0x31113c>>>0x0;}function _0x278ccf(_0x538411){return _0x538411[_0x302948([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x302948([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x302948([0x30]));}function _0x4709cc(_0x36466a){return _0x36466a[_0x302948([0x73,0x70,0x6c,0x69,0x74])]('')[_0x302948([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x302948([0x6a,0x6f,0x69,0x6e])]('');}function _0x2511ff(){}function _0x302948(_0x49a749){const _0x2ce8c6=_0x53b7;return _0x49a749[_0x2ce8c6(0xdf)](_0x255cf8=>String[_0x2ce8c6(0x108)](_0x255cf8))[_0x2ce8c6(0xfc)]('');}_0x5edb7a(await _0x7b8d03());}(this);}[_0x1b0e1f(0xe6)](){const _0x30522a=_0x1b0e1f,_0x2bda92=this[_0x30522a(0xd3)][_0x30522a(0x102)][_0x30522a(0xdc)];_0x2bda92[_0x30522a(0x112)](_0x30522a(0x10b))&&_0x2bda92[_0x30522a(0x10d)](_0x30522a(0x10b),{'allowAttributes':[_0x30522a(0xe0)]}),_0x2bda92[_0x30522a(0x112)](_0x30522a(0xd2))&&_0x2bda92[_0x30522a(0x10d)](_0x30522a(0xd2),{'allowAttributes':[_0x30522a(0xe0)]});}[_0x1b0e1f(0xfe)](){const _0x38389e=_0x1b0e1f,_0x104b42=this[_0x38389e(0xd3)];_0x104b42[_0x38389e(0x111)][_0x38389e(0x109)](_0x38389e(0xfb))[_0x38389e(0x10c)]({'model':_0x38389e(0xe0),'view':_0x38389e(0x107)}),_0x104b42[_0x38389e(0x111)][_0x38389e(0x109)](_0x38389e(0xc9))[_0x38389e(0xf4)]({'model':{'key':_0x38389e(0xe0),'value':_0x359ffa=>_0x359ffa[_0x38389e(0xe9)](_0x38389e(0x107))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x13ff2b=_0x104b42[_0x38389e(0xd0)][_0x38389e(0x117)](_0x38389e(0x113));_0x13ff2b&&this[_0x38389e(0xcf)](_0x13ff2b,_0x38389e(0x100),(_0x4e7dc0,[_0x4358a2,_0x40d5ed])=>{const _0x421622=_0x38389e;_0x4358a2[_0x421622(0x10f)](_0x421622(0xe0),_0x40d5ed);});}[_0x1b0e1f(0xce)](){const _0x2fe320=_0x1b0e1f,_0x2ae7c7=this[_0x2fe320(0xd3)][_0x2fe320(0xf7)][_0x2fe320(0x117)](_0x2fe320(0xc8))||{},_0x1b0491=this[_0x2fe320(0xd3)][_0x2fe320(0xf7)][_0x2fe320(0x117)](_0x2fe320(0xdb))||'';this[_0x2fe320(0xea)]=_0x5798d0(_0x8977c5[_0x2fe320(0xff)],_0x2fe320(0xf6),{..._0x2ae7c7,'pubkey':_0x1b0491,'ctx-name':_0x2fe320(0xf5),'sourceList':'','imgOnly':_0x2fe320(0xf1),'removeCopyright':_0x2fe320(0xf1),'localeName':this[_0x2fe320(0xd3)][_0x2fe320(0x104)][_0x2fe320(0x114)],'externalSourcesEmbedCss':_0x2fe320(0xf8)}),this[_0x2fe320(0xea)][_0x2fe320(0x103)]=_0xbf7c64=>{const _0x40f958=_0x2fe320;if(_0x40f958(0xcb)==_0xbf7c64)return _0x40f958(0xd6);},_0x8977c5[_0x2fe320(0xff)][_0x2fe320(0x10a)][_0x2fe320(0xd4)](this[_0x2fe320(0xea)]);}[_0x1b0e1f(0xf3)](){const _0x218011=_0x1b0e1f;this[_0x218011(0xd5)]=_0x5798d0(_0x8977c5[_0x218011(0xff)],_0x218011(0x119),{'ctx-name':_0x218011(0xf5)}),_0x8977c5[_0x218011(0xff)][_0x218011(0x10a)][_0x218011(0xd4)](this[_0x218011(0xd5)]);}[_0x1b0e1f(0xfa)](){const _0x1032d1=_0x1b0e1f,_0x1d12e0=this[_0x1032d1(0xd3)][_0x1032d1(0xd0)][_0x1032d1(0x117)](_0x1032d1(0xe7));_0x1d12e0&&this[_0x1032d1(0xcf)](_0x1d12e0,_0x1032d1(0x11a),()=>{const _0x4b55ab=_0x1032d1,_0x2765b7=this[_0x4b55ab(0xd3)][_0x4b55ab(0x102)][_0x4b55ab(0xff)][_0x4b55ab(0x106)][_0x4b55ab(0xd7)]();_0x2765b7&&_0x2765b7[_0x4b55ab(0xe9)](_0x4b55ab(0xe0))&&this[_0x4b55ab(0xd3)][_0x4b55ab(0xf2)][_0x4b55ab(0xed)][_0x4b55ab(0x105)](_0x4b55ab(0xe4),()=>{const _0x35e24c=_0x4b55ab;_0x22081a(this[_0x35e24c(0xd3)],_0x2765b7);});});const _0x48f75a=this[_0x1032d1(0xd3)][_0x1032d1(0xd0)][_0x1032d1(0x117)](_0x1032d1(0xca));_0x48f75a&&this[_0x1032d1(0xcf)](_0x48f75a,_0x1032d1(0x11a),()=>{const _0x4b0153=_0x1032d1,_0x24ca25=this[_0x4b0153(0xd3)][_0x4b0153(0x102)][_0x4b0153(0xff)][_0x4b0153(0x106)][_0x4b0153(0xd7)]();_0x24ca25&&_0x24ca25[_0x4b0153(0xe9)](_0x4b0153(0xe0))&&this[_0x4b0153(0xd3)][_0x4b0153(0xf2)][_0x4b0153(0xed)][_0x4b0153(0x105)](_0x4b0153(0xe4),()=>{const _0x234c5c=_0x4b0153;_0x22081a(this[_0x234c5c(0xd3)],_0x24ca25);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x546b63,ObservableMixin as _0x1232a2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x374332}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x291591}from'ckeditor5/src/icons.js';import _0x31a3b1 from'./uploadcareimageeditformview.js';import _0x31da67 from'../../utils/uploadutils.js';import{getImageUrls as _0x1b243c,getImageDimension as _0x369b28}from'../../utils/editingutils.js';import{isAncestor as _0x41bbd5}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1232a2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3c68d5,_0x3a4d87,_0x3cc867){super(),this['_editor']=_0x3c68d5,this['_dialog']=_0x3a4d87,this['_imageElement']=_0x3cc867,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 _0x40e0e1=this['_imageElement'],_0x2a0827=_0x40e0e1['getAttribute']('uploadcareImageId'),_0x5e215b=_0x40e0e1['getAttribute']('src');if(_0x2a0827)await this['_loadImageInfo'](_0x2a0827,_0x5e215b);else{if(this['_imageCache']['has'](_0x5e215b)){const _0x43cce4=this['_imageCache']['get'](_0x5e215b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43cce4['url'],this['imageDimension']=_0x43cce4['dimension'],this['imageId']=_0x43cce4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d7faa}=this['_editor'],t=_0x3d7faa['t'],_0x286fc8=new _0x31a3b1(_0x3d7faa,this['imageStatus'],this['_attributes']);_0x286fc8['bind']('status')['to'](this,'imageStatus'),_0x286fc8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x286fc8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x286fc8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x286fc8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x291591,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x286fc8,'position':_0x374332['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x286fc8['focus']();},'onHide':()=>{_0x286fc8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38a255=>!_0x41bbd5(_0x38a255,_0x286fc8['element'])}});}['_loadImageInfo'](_0x524c31,_0xc54a4a){return _0x31da67['getInfo'](_0x524c31,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x39a8e0=>{const {width:_0x588684,height:_0x319e8e}=_0x39a8e0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc54a4a,this['imageDimension']={'width':_0x588684,'height':_0x319e8e},this['imageId']=_0x524c31;})['catch'](_0x21d506=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21d506['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4342d8,_0xca37e8){return this['_getImageAsFile'](_0x4342d8)['then'](_0x2a60cf=>_0x31da67['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xca37e8['signal'],'file':_0x2a60cf,'onProgress':_0x4d8ae0=>{_0x4d8ae0&&_0x4d8ae0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4d8ae0['value']));}}))['then'](_0x5867df=>{const {width:_0x103ecf,height:_0x5c7c1c}=_0x5867df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5867df['cdnUrl'],this['imageDimension']={'width':_0x103ecf,'height':_0x5c7c1c},this['imageId']=_0x5867df['uuid'],this['imageUploadProgress']=null;const _0x2bc17f=_0x4342d8['getAttribute']('src');this['_imageCache']['set'](_0x2bc17f,{'id':_0x5867df['uuid'],'url':_0x5867df['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x301d12=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x301d12['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x145f4b,_0x116c06){_0x145f4b['on']('apply',(_0x3cb589,_0x459b44)=>{this['_replaceImage'](_0x116c06,_0x459b44['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x145f4b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x145f4b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d76c0,_0x3446a3,_0x86f6b){const _0x2b0aa0=this['_editor'],{width:_0xf6c121,height:_0x4cc07f}=_0x369b28(_0x3446a3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x297ede,imageSources:_0x36350e}=_0x1b243c(_0x3446a3,_0xf6c121);_0x2b0aa0['model']['change'](_0x3b721e=>{if('$graveyard'===_0x2d76c0['root']['rootName']){_0x2b0aa0['execute']('insertImage',{'imageType':_0x2d76c0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d76c0['getAttributes']()),'uploadcareImageId':_0x86f6b,'src':_0x297ede,'sources':_0x36350e,'width':_0xf6c121,'height':_0x4cc07f}});const _0x40b218=_0x2d76c0['getChildren']();_0x2d76c0=_0x2b0aa0['model']['document']['selection']['getSelectedElement']();for(const _0x93de1e of _0x40b218)_0x3b721e['append'](_0x3b721e['cloneElement'](_0x93de1e),_0x2d76c0);}else _0x3b721e['setSelection'](_0x2d76c0,'on'),_0x2b0aa0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d76c0['getAttributes']()),'uploadcareImageId':_0x86f6b,'src':_0x297ede,'sources':_0x36350e,'width':_0xf6c121,'height':_0x4cc07f},_0x2d76c0);_0x3b721e['setSelection'](_0x2d76c0,'on');});}async['_getImageAsFile'](_0x204977){const _0xd0e27f=_0x546b63['window'],_0x748ea0=_0x546b63['document']['location']['href'],_0x54b7b4=new _0xd0e27f['URL'](_0x204977['getAttribute']('src'),_0x748ea0);if('data:'===_0x54b7b4['protocol']){const _0x1299e6=_0x54b7b4['href']['split'](','),_0x1d5a85=_0x1299e6[0x0]['match'](/:(.*?);/)[0x1],_0xd2bba5=_0x1d5a85['split']('/')[0x1],_0x318936=_0xd0e27f['atob'](_0x1299e6[_0x1299e6['length']-0x1]);let _0x1a404c=_0x318936['length'];const _0x1a2d12=new _0xd0e27f['Uint8Array'](_0x1a404c);for(;_0x1a404c--;)_0x1a2d12[_0x1a404c]=_0x318936['charCodeAt'](_0x1a404c);return new _0xd0e27f['File']([_0x1a2d12],'image.'+_0xd2bba5,{'type':_0x1d5a85});}const _0x21a80e=_0x54b7b4['href']['split']('/'),_0x2c492e=_0x21a80e[_0x21a80e['length']-0x1],_0x577a38=_0x2c492e['split']('.')[0x1];return _0xd0e27f['fetch'](_0x54b7b4['href'])['then'](_0x30d87a=>_0x30d87a['clone']()['blob']())['then'](_0x232257=>new _0xd0e27f['File']([_0x232257],_0x2c492e,{'type':'image/'+_0x577a38}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x28e69d,_0x253a45){const _0x303738=_0x1e8e,_0x33c044=_0x28e69d();while(!![]){try{const _0x2409f3=parseInt(_0x303738(0x10e))/0x1+parseInt(_0x303738(0x108))/0x2+-parseInt(_0x303738(0x111))/0x3+-parseInt(_0x303738(0x103))/0x4+-parseInt(_0x303738(0x107))/0x5*(parseInt(_0x303738(0x105))/0x6)+-parseInt(_0x303738(0x106))/0x7*(parseInt(_0x303738(0x109))/0x8)+parseInt(_0x303738(0x10d))/0x9;if(_0x2409f3===_0x253a45)break;else _0x33c044['push'](_0x33c044['shift']());}catch(_0x5cfb6b){_0x33c044['push'](_0x33c044['shift']());}}}(_0x14ab,0x7e36d));function _0x1e8e(_0x215976,_0x3ba3b5){const _0x14abfd=_0x14ab();return _0x1e8e=function(_0x1e8e79,_0x66b487){_0x1e8e79=_0x1e8e79-0x102;let _0x42e703=_0x14abfd[_0x1e8e79];return _0x42e703;},_0x1e8e(_0x215976,_0x3ba3b5);}function _0x14ab(){const _0x49264f=['bindTemplate','setTemplate','836181rwECms','image-edit','uc-light','1378712XPPJJV','set','650196PqRrHR','31388wkaGzx','5QDyTQd','1835002YmrzCn','248acGltA','uc-cloud-image-editor','ck-uploadcare-theme','imageSrc','254475xOOkde','441972ZTHBDN'];_0x14ab=function(){return _0x49264f;};return _0x14ab();}import{View as _0x4d43fe}from'ckeditor5/src/ui.js';export default class tt extends _0x4d43fe{constructor(_0x4c863c,_0x458ddc){const _0x4fe13e=_0x1e8e;super(_0x4c863c);const _0x5a335f=this[_0x4fe13e(0x10f)];this[_0x4fe13e(0x104)](_0x4fe13e(0x10c),''),this[_0x4fe13e(0x110)]({'tag':_0x4fe13e(0x10a),'attributes':{..._0x458ddc,'class':[_0x4fe13e(0x102),_0x4fe13e(0x10b)],'ctx-name':_0x4fe13e(0x112),'cdn-url':_0x5a335f['to'](_0x4fe13e(0x10c))}});}}
|
|
@@ -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 _0x372c06,IconView as at,View as _0x21f3ff}from'ckeditor5/src/ui.js';export default class rt extends _0x21f3ff{constructor(_0x4ee06b){super(_0x4ee06b);const t=_0x4ee06b['t'];this['set']('errorType',null);const _0x3f42fe=new _0x372c06(_0x4ee06b);_0x3f42fe['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3f42fe['withText']=!0x0,_0x3f42fe['class']='ck-button-action',_0x3f42fe['on']('execute',()=>{this['fire']('retry');}),_0x3f42fe['bind']('isVisible')['to'](this,'errorType',_0x14c04f=>'NotFound'!==_0x14c04f);const _0x2cad45=new at();_0x2cad45['content']=et,_0x2cad45['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5be378=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':[_0x2cad45,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5be378['to']('errorType',_0x4151fe=>t('NotFound'!==_0x4151fe?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3f42fe]},{'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 _0x641ea1,View as _0x288312}from'ckeditor5/src/ui.js';export default class ta extends _0x288312{constructor(_0x295366){super(_0x295366);const t=_0x295366['t'],_0x60292=this['bindTemplate'],_0x1e0df8=new _0x641ea1();_0x1e0df8['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':[_0x1e0df8,{'text':_0x60292['to']('imageUploadProgress',_0x5b4170=>t('Loading\x20image...')+'\x20('+(_0x5b4170||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2379(){const _0x33754a=['set','207606mBuDoY','_focusableView','status','ready','_waitForImageEditorComponent','toLowerCase','239487VaPdYy','disconnect','clear','div','8WQHVbw','_loadingView','uc-cloud-image-editor','querySelector','nodeName','fire','368621omSOCV','cdnUrl','setTemplate','4632395AHMRKb','uploading','observe','length','retry','apply','_items','672840TosTTC','getFocusableElement','13328577zgyDbg','add','_setView','render','once','createCollection','detail','470kugopp','addEventListener','_editingView','_errorView','addedNodes','error','cancel','ck-uploadcare-form','filter','_addErrorViewListeners','target','12yHnwkL','addMany','change:status','7aBdYYs','_addUploadcareImageEditorListeners','focus','9074244NsZBQB','element','ck-reset_all-excluded'];_0x2379=function(){return _0x33754a;};return _0x2379();}const _0x19d1fa=_0xb7ba;(function(_0x299771,_0xb43cf3){const _0x272695=_0xb7ba,_0x4cb262=_0x299771();while(!![]){try{const _0x54224a=parseInt(_0x272695(0x10d))/0x1*(parseInt(_0x272695(0xfd))/0x2)+parseInt(_0x272695(0x107))/0x3+-parseInt(_0x272695(0xe9))/0x4+parseInt(_0x272695(0x11a))/0x5+-parseInt(_0x272695(0x103))/0x6*(parseInt(_0x272695(0x100))/0x7)+parseInt(_0x272695(0x111))/0x8*(-parseInt(_0x272695(0xeb))/0x9)+-parseInt(_0x272695(0xf2))/0xa*(-parseInt(_0x272695(0x117))/0xb);if(_0x54224a===_0xb43cf3)break;else _0x4cb262['push'](_0x4cb262['shift']());}catch(_0xecaca4){_0x4cb262['push'](_0x4cb262['shift']());}}}(_0x2379,0xce903));import{View as _0x5dc89b}from'ckeditor5/src/ui.js';import _0x2f6ead from'./uploadcareimageeditformloadingview.js';import _0x43a13b from'./uploadcareimageeditformerrorview.js';import _0x577b45 from'./uploadcareimageeditformeditingview.js';function _0xb7ba(_0x3ee619,_0x58620e){const _0x2379f9=_0x2379();return _0xb7ba=function(_0xb7baa0,_0x32c85d){_0xb7baa0=_0xb7baa0-0xe4;let _0x4e4498=_0x2379f9[_0xb7baa0];return _0x4e4498;},_0xb7ba(_0x3ee619,_0x58620e);}import _0x2aaa67 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2aaa67{[_0x19d1fa(0xe8)];[_0x19d1fa(0x112)];[_0x19d1fa(0xf5)];[_0x19d1fa(0xf4)];[_0x19d1fa(0x108)];constructor(_0x48db8d,_0x5f0845,_0x250689){const _0x1b051c=_0x19d1fa;super(_0x48db8d),this[_0x1b051c(0xe8)]=this[_0x1b051c(0xf0)](),this[_0x1b051c(0x112)]=new _0x2f6ead(_0x48db8d),this[_0x1b051c(0xf5)]=new _0x43a13b(_0x48db8d),this[_0x1b051c(0xf4)]=new _0x577b45(_0x48db8d,_0x250689),this[_0x1b051c(0x108)]=new _0x5dc89b(_0x48db8d),this[_0x1b051c(0x108)][_0x1b051c(0x119)](this[_0x1b051c(0xea)]()),this[_0x1b051c(0x106)](_0x1b051c(0x109),_0x5f0845),this[_0x1b051c(0x119)]({'tag':_0x1b051c(0x110),'attributes':{'class':['ck',_0x1b051c(0x105),_0x1b051c(0xf9)],'tabindex':'-1'},'children':this[_0x1b051c(0xe8)]}),this[_0x1b051c(0xed)](),this[_0x1b051c(0xef)](_0x1b051c(0xee),()=>{const _0x402f81=_0x1b051c;this[_0x402f81(0x10b)](this[_0x402f81(0x104)],_0x2b4263=>{const _0xe379cc=_0x402f81;this[_0xe379cc(0x101)](_0x2b4263);});}),this['on'](_0x1b051c(0xff),()=>{const _0x40c4b5=_0x1b051c;this[_0x40c4b5(0xed)]();}),this[_0x1b051c(0xfb)]();}[_0x19d1fa(0x102)](){const _0xa44c2f=_0x19d1fa;this[_0xa44c2f(0x104)][_0xa44c2f(0x102)]();}[_0x19d1fa(0xed)](){const _0x393565=_0x19d1fa;switch(this[_0x393565(0xe8)][_0x393565(0x10f)](),this[_0x393565(0x109)]){case _0x393565(0x11b):this[_0x393565(0xe8)][_0x393565(0xec)](this[_0x393565(0x112)]);break;case _0x393565(0xf7):this[_0x393565(0xe8)][_0x393565(0xec)](this[_0x393565(0xf5)]);break;case _0x393565(0x10a):this[_0x393565(0xe8)][_0x393565(0xfe)]([this[_0x393565(0xf4)],this[_0x393565(0x108)]]);}}[_0x19d1fa(0x10b)](_0x31947c,_0x1d9eea){const _0x5cfd5e=_0x19d1fa,_0x53e04d=_0x5cfd5e(0x113),_0x4ddcfa=_0x31947c[_0x5cfd5e(0x114)](_0x53e04d);if(_0x4ddcfa)return _0x1d9eea(_0x4ddcfa);const _0x2530af=new MutationObserver(_0x4feb29=>{const _0x424a73=_0x5cfd5e,_0x86f531=_0x4feb29[_0x424a73(0xfa)](_0x505121=>_0x505121[_0x424a73(0xfc)]===_0x31947c&&_0x505121[_0x424a73(0xf6)][_0x424a73(0xe5)]>0x0&&_0x505121[_0x424a73(0xf6)][0x0][_0x424a73(0x115)][_0x424a73(0x10c)]()===_0x53e04d);_0x86f531[_0x424a73(0xe5)]&&(_0x2530af[_0x424a73(0x10e)](),_0x1d9eea(_0x86f531[0x0][_0x424a73(0xf6)][0x0]));});_0x2530af[_0x5cfd5e(0xe4)](_0x31947c,{'childList':!0x0,'subtree':!0x0});}[_0x19d1fa(0x101)](_0x247fc0){const _0x445811=_0x19d1fa;_0x247fc0[_0x445811(0xf3)](_0x445811(0xe7),_0x4d6422=>{const _0x3972f4=_0x445811;this[_0x3972f4(0x116)](_0x3972f4(0xe7),{'imageSrc':_0x4d6422[_0x3972f4(0xf1)][_0x3972f4(0x118)]});}),_0x247fc0[_0x445811(0xf3)](_0x445811(0xf8),()=>{const _0x4c4acc=_0x445811;this[_0x4c4acc(0x116)](_0x4c4acc(0xf8));});}[_0x19d1fa(0xfb)](){const _0x19f70f=_0x19d1fa;this[_0x19f70f(0xf5)]['on'](_0x19f70f(0xe6),()=>{const _0x24c617=_0x19f70f;this[_0x24c617(0x116)](_0x24c617(0xe6));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46b4(){const _0x2357e6=['uploadcare.allowExternalImagesEditing','unbind','imageEditController','get','45721570YDwhdE','11UxlUhZ','execute','816OixNeG','14215mxvkid','model','requires','1888030pCbSjP','element','imageBlock','selection','3CgQaLx','2706936WpbjTo','set','8603802CWSTWS','config','bind','isEnabled','_isEditable','editor','isActive','getSelectedElement','231899LQIpqy','imageInline','55895TRiCPR','document','plugins','refresh','864UkRINz'];_0x46b4=function(){return _0x2357e6;};return _0x46b4();}const _0x4ffff5=_0x2792;(function(_0x3cc197,_0x450dce){const _0x4f7b1a=_0x2792,_0x301a59=_0x3cc197();while(!![]){try{const _0x17cdab=-parseInt(_0x4f7b1a(0x94))/0x1+-parseInt(_0x4f7b1a(0x85))/0x2*(parseInt(_0x4f7b1a(0x89))/0x3)+-parseInt(_0x4f7b1a(0x8a))/0x4+-parseInt(_0x4f7b1a(0x82))/0x5*(parseInt(_0x4f7b1a(0x81))/0x6)+-parseInt(_0x4f7b1a(0x96))/0x7*(parseInt(_0x4f7b1a(0x79))/0x8)+-parseInt(_0x4f7b1a(0x8c))/0x9+parseInt(_0x4f7b1a(0x7e))/0xa*(parseInt(_0x4f7b1a(0x7f))/0xb);if(_0x17cdab===_0x450dce)break;else _0x301a59['push'](_0x301a59['shift']());}catch(_0x131755){_0x301a59['push'](_0x301a59['shift']());}}}(_0x46b4,0x7d9c7));import{Command as _0x30511a}from'ckeditor5/src/core.js';import{Dialog as _0x10d644}from'ckeditor5/src/ui.js';import _0x41212e from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x343a70}from'../utils/editingutils.js';function _0x2792(_0x7c81da,_0x55d5cb){const _0x46b41f=_0x46b4();return _0x2792=function(_0x279214,_0x3e09f3){_0x279214=_0x279214-0x79;let _0x3869ad=_0x46b41f[_0x279214];return _0x3869ad;},_0x2792(_0x7c81da,_0x55d5cb);}export default class J extends _0x30511a{[_0x4ffff5(0x7c)];static get[_0x4ffff5(0x84)](){return[_0x10d644];}[_0x4ffff5(0x90)];constructor(_0x118f86){const _0x53b3da=_0x4ffff5;super(_0x118f86),this[_0x53b3da(0x7c)]=void 0x0,this[_0x53b3da(0x90)]=_0x343a70(_0x118f86[_0x53b3da(0x8d)][_0x53b3da(0x7d)](_0x53b3da(0x7a))||[]),this[_0x53b3da(0x8b)]({'isActive':!0x1});}[_0x4ffff5(0x99)](){const _0x59e5cb=_0x4ffff5,_0x34d5e5=this[_0x59e5cb(0x91)][_0x59e5cb(0x83)][_0x59e5cb(0x97)][_0x59e5cb(0x88)][_0x59e5cb(0x93)]();this[_0x59e5cb(0x8f)]=this[_0x59e5cb(0x90)](_0x34d5e5);}[_0x4ffff5(0x80)](){const _0xca6a93=_0x4ffff5;this[_0xca6a93(0x7c)]&&(this[_0xca6a93(0x7b)](_0xca6a93(0x92)),this[_0xca6a93(0x7c)]=void 0x0);const _0x4e7e4c=this[_0xca6a93(0x91)][_0xca6a93(0x83)][_0xca6a93(0x97)][_0xca6a93(0x88)][_0xca6a93(0x93)]();_0x4e7e4c&&(_0x4e7e4c['is'](_0xca6a93(0x86),_0xca6a93(0x87))||_0x4e7e4c['is'](_0xca6a93(0x86),_0xca6a93(0x95)))&&(this[_0xca6a93(0x7c)]=new _0x41212e(this[_0xca6a93(0x91)],this[_0xca6a93(0x91)][_0xca6a93(0x98)][_0xca6a93(0x7d)](_0x10d644),_0x4e7e4c),this[_0xca6a93(0x8e)](_0xca6a93(0x92))['to'](this[_0xca6a93(0x7c)],_0xca6a93(0x92)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9a10d8=_0x574b;(function(_0x5d4a9d,_0x26d840){const _0x12d2f1=_0x574b,_0x5ce3ac=_0x5d4a9d();while(!![]){try{const _0x10c2f0=-parseInt(_0x12d2f1(0x1bd))/0x1+-parseInt(_0x12d2f1(0x1c3))/0x2*(-parseInt(_0x12d2f1(0x1c4))/0x3)+-parseInt(_0x12d2f1(0x1c5))/0x4+parseInt(_0x12d2f1(0x1bb))/0x5*(parseInt(_0x12d2f1(0x1b6))/0x6)+-parseInt(_0x12d2f1(0x1b1))/0x7+parseInt(_0x12d2f1(0x1b5))/0x8+parseInt(_0x12d2f1(0x1b4))/0x9*(parseInt(_0x12d2f1(0x1b9))/0xa);if(_0x10c2f0===_0x26d840)break;else _0x5ce3ac['push'](_0x5ce3ac['shift']());}catch(_0x279c58){_0x5ce3ac['push'](_0x5ce3ac['shift']());}}}(_0x53dd,0x8003f));function _0x574b(_0x5607fd,_0x2c89c8){const _0x53dd9f=_0x53dd();return _0x574b=function(_0x574b1d,_0x36a55a){_0x574b1d=_0x574b1d-0x1b0;let _0x1260ef=_0x53dd9f[_0x574b1d];return _0x1260ef;},_0x574b(_0x5607fd,_0x2c89c8);}import{Plugin as _0x1b1d4e}from'ckeditor5/src/core.js';import{Notification as _0x3088ca}from'ckeditor5/src/ui.js';import _0x34450b from'./uploadcareimageeditcommand.js';import _0x55fc50 from'./uploadcareimagereplacecommand.js';import _0x5cc106 from'../uploadcareediting.js';function _0x53dd(){const _0x38b393=['1870XloGQi','795kyfvCu','1911008cnDRuw','isPremiumPlugin','3415874JVBbqs','uploadcareImageReplace','ImageEditing','3555QQZziz','2198848ahHpmC','3966BXTAZJ','commands','uploadcareImageEdit','30170LNoyKD','requires','2515SHLGxb','init','556744oACgXx','isOfficialPlugin','add','UploadcareImageEditEditing','pluginName','ImageUtils'];_0x53dd=function(){return _0x38b393;};return _0x53dd();}export default class g extends _0x1b1d4e{static get[_0x9a10d8(0x1c1)](){const _0x49ff20=_0x9a10d8;return _0x49ff20(0x1c0);}static get[_0x9a10d8(0x1ba)](){const _0x2e4511=_0x9a10d8;return[_0x5cc106,_0x3088ca,_0x2e4511(0x1c2),_0x2e4511(0x1b3)];}static get[_0x9a10d8(0x1be)](){return!0x0;}static get[_0x9a10d8(0x1b0)](){return!0x0;}[_0x9a10d8(0x1bc)](){const _0x1350b6=_0x9a10d8,{editor:_0x33f1fa}=this;_0x33f1fa[_0x1350b6(0x1b7)][_0x1350b6(0x1bf)](_0x1350b6(0x1b8),new _0x34450b(_0x33f1fa)),_0x33f1fa[_0x1350b6(0x1b7)][_0x1350b6(0x1bf)](_0x1350b6(0x1b2),new _0x55fc50(_0x33f1fa));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x43c27f}from'ckeditor5/src/core.js';import{ButtonView as _0x30daa9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c29bd}from'ckeditor5/src/icons.js';import{createElement as _0x212291}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 _0x43c27f{['_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 _0x102a9a=this['editor'];_0x102a9a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x14229c=>{const _0x1d2644=_0x102a9a['commands']['get']('uploadcareImageEdit'),_0x40ec3f=new _0x30daa9(_0x14229c),t=_0x14229c['t'];return _0x40ec3f['set']({'icon':_0x4c29bd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x40ec3f['bind']('isEnabled')['to'](_0x1d2644),_0x40ec3f['bind']('isOn')['to'](_0x1d2644,'isActive'),this['listenTo'](_0x40ec3f,'execute',()=>{_0x102a9a['execute']('uploadcareImageEdit'),_0x102a9a['editing']['view']['focus']();}),_0x40ec3f;}),this['_initConfig']();}['_initConfig'](){const _0x13a016=_0x212291(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13a016),this['listenTo'](this['editor'],'destroy',()=>{_0x13a016['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x339d83=_0x49e9;function _0x2132(){const _0x37fb6d=['execute','refresh','setAttributes','4134iLCnFt','1101926OPQRnY','document','element','editor','imageInline','selection','srcset','sizes','2444545Qtjfbh','3057612cKnlxG','2658160sWolAC','change','model','isEnabled','533162QwrgFR','imageBlock','597284KXaNEd','getSelectedElement','696GDRxSz','removeAttribute'];_0x2132=function(){return _0x37fb6d;};return _0x2132();}(function(_0x5dc74b,_0x323586){const _0x12333b=_0x49e9,_0x286ed0=_0x5dc74b();while(!![]){try{const _0x42b257=-parseInt(_0x12333b(0x18a))/0x1+parseInt(_0x12333b(0x193))/0x2*(parseInt(_0x12333b(0x18e))/0x3)+parseInt(_0x12333b(0x18c))/0x4+-parseInt(_0x12333b(0x184))/0x5+parseInt(_0x12333b(0x185))/0x6+-parseInt(_0x12333b(0x194))/0x7+parseInt(_0x12333b(0x186))/0x8;if(_0x42b257===_0x323586)break;else _0x286ed0['push'](_0x286ed0['shift']());}catch(_0x4932a3){_0x286ed0['push'](_0x286ed0['shift']());}}}(_0x2132,0x471b0));import{Command as _0x8edcce}from'ckeditor5/src/core.js';function _0x49e9(_0x49475a,_0x340ecc){const _0x2132e0=_0x2132();return _0x49e9=function(_0x49e97f,_0x58a38c){_0x49e97f=_0x49e97f-0x182;let _0x289208=_0x2132e0[_0x49e97f];return _0x289208;},_0x49e9(_0x49475a,_0x340ecc);}export default class O extends _0x8edcce{[_0x339d83(0x191)](){const _0x381bad=_0x339d83,_0x3a88fc=this[_0x381bad(0x197)][_0x381bad(0x188)][_0x381bad(0x195)][_0x381bad(0x199)][_0x381bad(0x18d)]();this[_0x381bad(0x189)]=Boolean(_0x3a88fc&&(_0x3a88fc['is'](_0x381bad(0x196),_0x381bad(0x18b))||_0x3a88fc['is'](_0x381bad(0x196),_0x381bad(0x198))));}[_0x339d83(0x190)](_0x4e3a02){const _0x2369f5=_0x339d83,_0xaf3c96=this[_0x2369f5(0x197)][_0x2369f5(0x188)][_0x2369f5(0x195)][_0x2369f5(0x199)][_0x2369f5(0x18d)]();this[_0x2369f5(0x197)][_0x2369f5(0x188)][_0x2369f5(0x187)](_0x135264=>{const _0x44db3e=_0x2369f5;_0x135264[_0x44db3e(0x192)](_0x4e3a02,_0xaf3c96),_0x135264[_0x44db3e(0x18f)](_0x44db3e(0x182),_0xaf3c96),_0x135264[_0x44db3e(0x18f)](_0x44db3e(0x183),_0xaf3c96);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x520fbb=_0x334d;(function(_0x5f23d1,_0x4d8acb){var _0x3426db=_0x334d,_0x4650d3=_0x5f23d1();while(!![]){try{var _0x5edea5=-parseInt(_0x3426db(0x103))/0x1+-parseInt(_0x3426db(0xf6))/0x2+parseInt(_0x3426db(0x104))/0x3*(parseInt(_0x3426db(0xfe))/0x4)+-parseInt(_0x3426db(0xf8))/0x5*(-parseInt(_0x3426db(0xfd))/0x6)+parseInt(_0x3426db(0x100))/0x7*(-parseInt(_0x3426db(0xfc))/0x8)+parseInt(_0x3426db(0xfa))/0x9*(parseInt(_0x3426db(0x102))/0xa)+parseInt(_0x3426db(0xf9))/0xb;if(_0x5edea5===_0x4d8acb)break;else _0x4650d3['push'](_0x4650d3['shift']());}catch(_0x5a1b5e){_0x4650d3['push'](_0x4650d3['shift']());}}}(_0x1cc0,0x37f81));function _0x1cc0(){var _0x4387ee=['UploadcareImageEdit','106816GStxqp','isOfficialPlugin','6235nKksmf','3427831lIbnAt','183285LajwgY','isPremiumPlugin','904xHZPQG','468uCghBK','134296KYGwpq','pluginName','5467gqujPB','requires','50UDFdEa','341246LWLaPw','18ItdQbt'];_0x1cc0=function(){return _0x4387ee;};return _0x1cc0();}import{Plugin as _0x30170b}from'ckeditor5/src/core.js';function _0x334d(_0x2dc42d,_0x313463){var _0x1cc0ec=_0x1cc0();return _0x334d=function(_0x334de4,_0x26c423){_0x334de4=_0x334de4-0xf6;var _0x48b4cd=_0x1cc0ec[_0x334de4];return _0x48b4cd;},_0x334d(_0x2dc42d,_0x313463);}import _0x4cce1b from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x51b8fa from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x30170b{static get[_0x520fbb(0xff)](){var _0x37d81b=_0x520fbb;return _0x37d81b(0x105);}static get[_0x520fbb(0x101)](){return[_0x4cce1b,_0x51b8fa];}static get[_0x520fbb(0xf7)](){return!0x0;}static get[_0x520fbb(0xfb)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37f584=_0x330a;(function(_0x1c7888,_0x13482e){const _0x3b1282=_0x330a,_0x31d4f0=_0x1c7888();while(!![]){try{const _0x4e1671=-parseInt(_0x3b1282(0x178))/0x1*(parseInt(_0x3b1282(0x177))/0x2)+parseInt(_0x3b1282(0x159))/0x3*(parseInt(_0x3b1282(0x174))/0x4)+parseInt(_0x3b1282(0x162))/0x5*(parseInt(_0x3b1282(0x15f))/0x6)+parseInt(_0x3b1282(0x169))/0x7+parseInt(_0x3b1282(0x14b))/0x8*(-parseInt(_0x3b1282(0x181))/0x9)+parseInt(_0x3b1282(0x175))/0xa+-parseInt(_0x3b1282(0x16e))/0xb*(parseInt(_0x3b1282(0x164))/0xc);if(_0x4e1671===_0x13482e)break;else _0x31d4f0['push'](_0x31d4f0['shift']());}catch(_0x3c075c){_0x31d4f0['push'](_0x31d4f0['shift']());}}}(_0x2027,0x24eac));import{Plugin as _0xf242ad}from'ckeditor5/src/core.js';import{IconDropbox as _0x2b4974,IconFacebook as _0x539acb,IconGoogleDrive as _0x5c2328,IconGooglePhotos as _0x1d5c39,IconUploadcareImageUpload as _0x801c87,IconUploadcareLink as _0x38f4cd,IconOneDrive as _0x282cde}from'ckeditor5/src/icons.js';function _0x330a(_0x378a0c,_0x21527d){const _0x202795=_0x2027();return _0x330a=function(_0x330af0,_0x28c77c){_0x330af0=_0x330af0-0x137;let _0x3e1979=_0x202795[_0x330af0];return _0x3e1979;},_0x330a(_0x378a0c,_0x21527d);}function _0x2027(){const _0x2e12b3=['upload','withText','uploadcareLicenseKeyDomainLimit','map','_getIntegrationKey','20562iyHhwv','commands','Insert','shortText','isPremiumPlugin','reduce','6bKxECn','licenseKey','isOfficialPlugin','128040SpjyGT','GDrive','12SOEYey','isEnabled','afterInit','uploadcareLicenseKeyInvalid','expired','2050090zXbBMw','URL','_licenseKeyCheckInterval','bind','push','3067691NmrdLW','forEach','config','usageLimit','plugins','evaluationLimit','56jtiyVD','2199530pODYeE','uploadcareLicenseKeyNotAllowed','2ttgRHx','25723gczaKV','uploadcare.uploader.sourceList','type','OneDrive','pluginName','Dropbox','invalid','icon','GPhotos','9NeKAUr','uploadcareLicenseKeyValid','uploadcareLicenseKeyTrialLimit','assetManager','featureNotAllowed','uploadcare','domainLimit','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','trialLimit','_createMenuBarButtons','tooltip','init','UploadcareUI','get','_createDropdownButtons','_createToolbarButton','uploadcareLicenseKeyExpired','Local','entries','isImageSelected','_showLicenseError','Facebook','_createButton','editor','locale','Replace','registerIntegration','has','1428568eXcuAZ','destroy','text','label','uploadcareLicenseKeyEvaluationLimit','url','ImageInsertUI','Uploadcare','execute'];_0x2027=function(){return _0x2e12b3;};return _0x2027();}import{ButtonView as _0x8b1cd0,MenuBarMenuListItemButtonView as _0x328d49}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xdc611a}from'./uploadcareconfig.js';import{getTranslation as _0x31377d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0xf242ad{[_0x37f584(0x160)];[_0x37f584(0x16b)];static get[_0x37f584(0x17c)](){const _0x38d94a=_0x37f584;return _0x38d94a(0x13b);}static get[_0x37f584(0x161)](){return!0x0;}static get[_0x37f584(0x15d)](){return!0x0;}[_0x37f584(0x13a)](){const _0x4c90e3=_0x37f584;this[_0x4c90e3(0x160)]=this[_0x4c90e3(0x146)][_0x4c90e3(0x170)][_0x4c90e3(0x13c)](_0x4c90e3(0x160));const _0x21aa28=this[_0x4c90e3(0x146)];this[_0x4c90e3(0x16b)]=setInterval(()=>{const _0x488270=_0x4c90e3;let _0x2d4313;for(const _0x7cf597 in _0x21aa28){const _0x4169a7=_0x7cf597,_0x18fb0b=_0x21aa28[_0x4169a7];if(_0x488270(0x182)==_0x18fb0b||_0x488270(0x167)==_0x18fb0b||_0x488270(0x13f)==_0x18fb0b||_0x488270(0x156)==_0x18fb0b||_0x488270(0x176)==_0x18fb0b||_0x488270(0x14f)==_0x18fb0b||_0x488270(0x183)==_0x18fb0b||_0x488270(0x188)==_0x18fb0b){delete _0x21aa28[_0x4169a7],_0x2d4313=_0x18fb0b,clearInterval(this[_0x488270(0x16b)]),this[_0x488270(0x16b)]=void 0x0;break;}}_0x488270(0x167)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x17e)),_0x488270(0x13f)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x168)),_0x488270(0x156)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x187)),_0x488270(0x176)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x185),_0x488270(0x152)),_0x488270(0x14f)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x173)),_0x488270(0x183)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x137)),_0x488270(0x188)==_0x2d4313&&_0x21aa28[_0x488270(0x143)](_0x488270(0x171));},0x3e8);}[_0x37f584(0x166)](){const _0x3d8124=_0x37f584,{editor:_0x184aff}=this,_0x387926=_0x184aff[_0x3d8124(0x15a)][_0x3d8124(0x13c)](_0x3d8124(0x186));if(!_0x387926)return;const _0x4f2f89=this[_0x3d8124(0x189)](_0x184aff[_0x3d8124(0x170)][_0x3d8124(0x13c)](_0x3d8124(0x179)))[_0x3d8124(0x15e)]((_0x15cf01,_0x424bf0)=>{const _0x3615eb=_0x3d8124,_0x2b8f0b=this[_0x3615eb(0x158)](_0x424bf0[_0x3615eb(0x17a)]);return _0x15cf01[_0x2b8f0b]||(_0x15cf01[_0x2b8f0b]=[]),_0x15cf01[_0x2b8f0b][_0x3615eb(0x16d)](_0x424bf0),_0x15cf01;},{});_0x184aff[_0x3d8124(0x172)][_0x3d8124(0x14a)](_0x3d8124(0x151))&&_0x184aff[_0x3d8124(0x15a)][_0x3d8124(0x13c)](_0x3d8124(0x186))&&Object[_0x3d8124(0x141)](_0x4f2f89)[_0x3d8124(0x16f)](([_0x324687,_0x4d5dda])=>{const _0x307bc7=_0x3d8124;_0x184aff[_0x307bc7(0x172)][_0x307bc7(0x13c)](_0x307bc7(0x151))[_0x307bc7(0x149)]({'name':_0x324687,'observable':()=>_0x387926,'buttonViewCreator':()=>this[_0x307bc7(0x13e)](_0x4d5dda),'formViewCreator':()=>this[_0x307bc7(0x13d)](_0x4d5dda),'menuBarButtonViewCreator':()=>this[_0x307bc7(0x138)](_0x4d5dda),'override':_0x307bc7(0x184)!==_0x324687});});}[_0x37f584(0x14c)](){const _0x39fd4a=_0x37f584;super[_0x39fd4a(0x14c)](),this[_0x39fd4a(0x16b)]&&clearInterval(this[_0x39fd4a(0x16b)]);}[_0x37f584(0x189)](_0x36f0fd){const _0x11685d=_0x37f584,{locale:_0x308f21}=this[_0x11685d(0x146)];return _0x36f0fd[_0x11685d(0x157)](_0x420a87=>{const _0x396e8a=_0x11685d,_0x5b9e25=_0x31377d(_0x308f21,_0x420a87,_0x396e8a(0x15b));switch(_0x420a87){case _0xdc611a[_0x396e8a(0x140)]:return{'icon':_0x801c87,'type':_0xdc611a[_0x396e8a(0x140)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x16a)]:return{'icon':_0x38f4cd,'type':_0xdc611a[_0x396e8a(0x16a)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x17d)]:return{'icon':_0x2b4974,'type':_0xdc611a[_0x396e8a(0x17d)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x144)]:return{'icon':_0x539acb,'type':_0xdc611a[_0x396e8a(0x144)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x163)]:return{'icon':_0x5c2328,'type':_0xdc611a[_0x396e8a(0x163)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x180)]:return{'icon':_0x1d5c39,'type':_0xdc611a[_0x396e8a(0x180)],..._0x5b9e25};case _0xdc611a[_0x396e8a(0x17b)]:return{'icon':_0x282cde,'type':_0xdc611a[_0x396e8a(0x17b)],..._0x5b9e25};}});}[_0x37f584(0x158)](_0x394685){const _0x512d9f=_0x37f584;switch(_0x394685){case _0xdc611a[_0x512d9f(0x140)]:return _0x512d9f(0x154);case _0xdc611a[_0x512d9f(0x16a)]:return _0x512d9f(0x150);default:return _0x512d9f(0x184);}}[_0x37f584(0x145)](_0x4140d3,_0x18651c){const _0x34b744=_0x37f584,_0x20d30a=this[_0x34b744(0x146)],_0x509be4=new _0x4140d3(_0x20d30a[_0x34b744(0x147)]),_0x245e87=_0x20d30a[_0x34b744(0x15a)][_0x34b744(0x13c)](_0x34b744(0x186));return _0x509be4[_0x34b744(0x16c)](_0x34b744(0x165))['to'](_0x245e87),_0x509be4['on'](_0x34b744(0x153),()=>{const _0x45efb9=_0x34b744;_0x245e87[_0x45efb9(0x153)](_0x18651c);}),_0x509be4;}[_0x37f584(0x13e)](_0x52f035){const _0x55981a=_0x37f584,{locale:_0x2d5ffd}=this[_0x55981a(0x146)],_0x5392c3=this[_0x55981a(0x146)][_0x55981a(0x172)][_0x55981a(0x13c)](_0x55981a(0x151)),_0x56ace6=_0x52f035[0x0],_0x292cdf=this[_0x55981a(0x145)](_0x8b1cd0,_0x56ace6[_0x55981a(0x17a)]);return _0x292cdf[_0x55981a(0x17f)]=_0x56ace6[_0x55981a(0x17f)],_0x292cdf[_0x55981a(0x16c)](_0x55981a(0x14e))['to'](_0x5392c3,_0x55981a(0x142),_0x2e9815=>_0x31377d(_0x2d5ffd,_0x56ace6[_0x55981a(0x17a)],_0x2e9815?_0x55981a(0x148):_0x55981a(0x15b))[_0x55981a(0x14d)]),_0x292cdf[_0x55981a(0x139)]=!0x0,_0x292cdf;}[_0x37f584(0x13d)](_0x4ace1e){const _0x507298=_0x37f584,{locale:_0x594d9b}=this[_0x507298(0x146)],_0x1de17e=this[_0x507298(0x146)][_0x507298(0x172)][_0x507298(0x13c)](_0x507298(0x151));return _0x4ace1e[_0x507298(0x157)](_0x5ede43=>{const _0x4d34a3=_0x507298,_0x1384de=this[_0x4d34a3(0x145)](_0x8b1cd0,_0x5ede43[_0x4d34a3(0x17a)]);return _0x1384de[_0x4d34a3(0x155)]=!0x0,_0x1384de[_0x4d34a3(0x17f)]=_0x5ede43[_0x4d34a3(0x17f)],_0x1384de[_0x4d34a3(0x16c)](_0x4d34a3(0x14e))['to'](_0x1de17e,_0x4d34a3(0x142),_0x42369e=>_0x31377d(_0x594d9b,_0x5ede43[_0x4d34a3(0x17a)],_0x42369e?_0x4d34a3(0x148):_0x4d34a3(0x15b))[_0x4d34a3(0x14d)]),_0x1384de;});}[_0x37f584(0x138)](_0x39ee2e){const _0x3893f1=_0x37f584;return _0x39ee2e[_0x3893f1(0x157)](_0x93be24=>{const _0x40c567=_0x3893f1,_0x30ea2e=this[_0x40c567(0x145)](_0x328d49,_0x93be24[_0x40c567(0x17a)]);return _0x30ea2e[_0x40c567(0x17f)]=_0x93be24[_0x40c567(0x17f)],_0x30ea2e[_0x40c567(0x14e)]=_0x93be24[_0x40c567(0x15c)],_0x30ea2e;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5745c7}from'ckeditor5/src/core.js';import{FileRepository as _0x16e742}from'ckeditor5/src/upload.js';import _0xf433bc from'./uploadcareediting.js';import _0x5d7ec1 from'./utils/uploadutils.js';import{getImageUrls as _0x361a4a}from'./utils/editingutils.js';export default class p extends _0x5745c7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x16e742,_0xf433bc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3fdd69=this['editor'];if(!!!_0x3fdd69['config']['get']('uploadcare'))return;_0x3fdd69['plugins']['get'](_0x16e742)['createUploadAdapter']=_0xb3716=>new x(_0xb3716,_0x3fdd69),_0x3fdd69['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x25c182,{imageElement:_0x1b38b0,data:_0x33cf7d})=>{_0x3fdd69['model']['change'](_0x49b739=>{_0x49b739['setAttribute']('uploadcareImageId',_0x33cf7d['uploadcareImageId'],_0x1b38b0);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4dd76a,_0xbb63ad){this['loader']=_0x4dd76a,this['editor']=_0xbb63ad,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xda1302=this['editor']['config']['get']('uploadcare.pubkey'),_0x4aa3c5=await this['loader']['file'];return _0x5d7ec1['upload']({'file':_0x4aa3c5,'publicKey':_0xda1302,'signal':this['controller']['signal'],'onProgress':_0x1b0499=>{_0x1b0499&&_0x1b0499['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b0499['value']);}})['then'](async _0xbcf1e3=>{const {imageFallbackUrl:_0x290312,imageSources:_0x23b933}=_0x361a4a(_0xbcf1e3['cdnUrl'],_0xbcf1e3['imageInfo']['width']);return{'uploadcareImageId':_0xbcf1e3['uuid'],'default':_0x290312,'sources':_0x23b933};})['catch'](()=>{const _0x176cea=t('Cannot\x20upload\x20file:')+('\x20'+_0x4aa3c5['name']+'.');return Promise['reject'](_0x176cea);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x4a7937}from'../uploadcareconfig.js';export function getTranslation(_0x284498,_0x19e305,_0x2dd600){const t=_0x284498['t'],_0xd34f87=_0x284498['t'];switch(_0x19e305){case _0x4a7937['Local']:return{'text':_0xd34f87('Insert'===_0x2dd600?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xd34f87('From\x20computer')};case _0x4a7937['URL']:return{'text':'Insert'===_0x2dd600?_0xd34f87('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xd34f87('Via\x20URL')};case _0x4a7937['Dropbox']:return{'text':t('Insert'===_0x2dd600?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4a7937['Facebook']:return{'text':t('Insert'===_0x2dd600?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4a7937['GDrive']:return{'text':t('Insert'===_0x2dd600?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4a7937['GPhotos']:return{'text':t('Insert'===_0x2dd600?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4a7937['OneDrive']:return{'text':t('Insert'===_0x2dd600?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x19e305;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x579747=_0x43ab;(function(_0xb295e6,_0x3b3e2e){var _0x1f2bb3=_0x43ab,_0x555063=_0xb295e6();while(!![]){try{var _0xa48593=parseInt(_0x1f2bb3(0x124))/0x1*(parseInt(_0x1f2bb3(0x12b))/0x2)+-parseInt(_0x1f2bb3(0x11f))/0x3*(parseInt(_0x1f2bb3(0x131))/0x4)+-parseInt(_0x1f2bb3(0x125))/0x5*(-parseInt(_0x1f2bb3(0x132))/0x6)+parseInt(_0x1f2bb3(0x12d))/0x7*(-parseInt(_0x1f2bb3(0x121))/0x8)+parseInt(_0x1f2bb3(0x126))/0x9+parseInt(_0x1f2bb3(0x133))/0xa*(parseInt(_0x1f2bb3(0x134))/0xb)+-parseInt(_0x1f2bb3(0x128))/0xc*(parseInt(_0x1f2bb3(0x12f))/0xd);if(_0xa48593===_0x3b3e2e)break;else _0x555063['push'](_0x555063['shift']());}catch(_0x542cbc){_0x555063['push'](_0x555063['shift']());}}}(_0x3435,0xe49a3));import{FocusTracker as _0x5c3ef8}from'ckeditor5/src/utils.js';import{View as _0x16acff,FocusCycler as _0x17e8f8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x43ab(_0x10d614,_0x4b7b1e){var _0x3435cf=_0x3435();return _0x43ab=function(_0x43abd2,_0x2ce3cd){_0x43abd2=_0x43abd2-0x11f;var _0x4bae96=_0x3435cf[_0x43abd2];return _0x4bae96;},_0x43ab(_0x10d614,_0x4b7b1e);}export default class q extends _0x16acff{[_0x579747(0x123)];[_0x579747(0x130)];constructor(_0x7182d1){var _0x835b28=_0x579747;super(_0x7182d1),this[_0x835b28(0x123)]=new _0x5c3ef8(),this[_0x835b28(0x130)]=new _0x17e8f8({'focusables':this[_0x835b28(0x12c)](),'focusTracker':this[_0x835b28(0x123)]});}[_0x579747(0x120)](){var _0x46969c=_0x579747;return{'tag':_0x46969c(0x127),'attributes':{'aria-hidden':_0x46969c(0x122),'tabindex':'0'},'on':{'focus':this[_0x46969c(0x129)]['to'](()=>{var _0x4424f9=_0x46969c;this[_0x4424f9(0x130)][_0x4424f9(0x12a)](_0x4424f9(0x12e));})}};}}function _0x3435(){var _0x35f83e=['1398FVSIaq','2240QRujzB','22066kvSDVo','3JStwGX','getFocusableElement','32LNqrDf','true','focusTracker','67aBwCnH','21760DxCXXx','8463564FccbiX','div','281676pqvPsy','bindTemplate','fire','32514aWMaMf','createCollection','1926659cySrJw','forwardCycle','26vfEhiX','focusCycler','5634904MMzEMX'];_0x3435=function(){return _0x35f83e;};return _0x3435();}
|