@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.0 → 44.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4de1(){const _0x48520c=['schema','uploadcareImageReplace','_initConfig','execute','1298241eLJltf','2407064hleHPQ','uploadcare.pubkey','appendChild','isOfficialPlugin','elementToAttribute','getSelectedElement','iconHrefResolver','_configElement','uploadcareImageId','body','getAttribute','once','158059zHFhdi','querySelector','afterInit','PictureEditing','insertImage','isPremiumPlugin','134108Bsrsvn','selection','upcast','commands','configElement','24sVfmEe','uc-config','UploadcareEditing','for','replaceImageSource','add','_ctxElement','uc-upload-ctx-provider','contentLanguage','href','remove','fromCharCode','init','conversion','imageInline','removeAttribute','620bAZmIl','_initSchema','requires','config','_initConversion','data-uc-image-id','destroy','uploader','522034yJHUvn','extend','7SizrEH','closeMax','view','\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','pluginName','cleanupImage','model','editor','isRegistered','locale','render','_initImageProcessingIndicator','join','4632720vPXMyd','#uc-icon-arrow-down','uploadcare.uploader','map','listenTo','attributeToAttribute','true','input[uploadcare-file-input]','3133665IHOPkK','get','document','editing','imageBlock','ctxElement','uploadcare','2UiHzxe','_initCtx','downcast'];_0x4de1=function(){return _0x48520c;};return _0x4de1();}const _0x257602=_0x548d;(function(_0x575971,_0x5ab117){const _0x6c9b42=_0x548d,_0x2933b6=_0x575971();while(!![]){try{const _0x57984f=parseInt(_0x6c9b42(0x169))/0x1*(parseInt(_0x6c9b42(0x14b))/0x2)+-parseInt(_0x6c9b42(0x188))/0x3*(-parseInt(_0x6c9b42(0x183))/0x4)+-parseInt(_0x6c9b42(0x162))/0x5+-parseInt(_0x6c9b42(0x15a))/0x6+parseInt(_0x6c9b42(0x14d))/0x7*(parseInt(_0x6c9b42(0x171))/0x8)+-parseInt(_0x6c9b42(0x170))/0x9+parseInt(_0x6c9b42(0x143))/0xa*(parseInt(_0x6c9b42(0x17d))/0xb);if(_0x57984f===_0x5ab117)break;else _0x2933b6['push'](_0x2933b6['shift']());}catch(_0x466077){_0x2933b6['push'](_0x2933b6['shift']());}}}(_0x4de1,0x6b27d));import{Plugin as _0x503d2a}from'ckeditor5/src/core.js';import{Dialog as _0x4b4ffd}from'ckeditor5/src/ui.js';import{createElement as _0x5e3e0c,global as _0x5570bf,uid as _0x25b969}from'ckeditor5/src/utils.js';import _0x59f18b from'./uploadcarecommand.js';function _0x548d(_0x33ee92,_0x29e415){const _0x4de170=_0x4de1();return _0x548d=function(_0x548d64,_0x328dea){_0x548d64=_0x548d64-0x13e;let _0xbaaaba=_0x4de170[_0x548d64];return _0xbaaaba;},_0x548d(_0x33ee92,_0x29e415);}import _0x1dd86c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xf5c784}from'./utils/editingutils.js';export default class i extends _0x503d2a{constructor(){const _0x4c11af=_0x548d;super(...arguments),this[_0x4c11af(0x178)]=null,this[_0x4c11af(0x18e)]=null;}static get[_0x257602(0x151)](){const _0x416acd=_0x257602;return _0x416acd(0x18a);}static get[_0x257602(0x145)](){const _0x3421c0=_0x257602;return[_0x3421c0(0x180),_0x1dd86c,_0x4b4ffd];}static get[_0x257602(0x174)](){return!0x0;}static get[_0x257602(0x182)](){return!0x0;}get[_0x257602(0x187)](){const _0x12cbea=_0x257602;return this[_0x12cbea(0x178)];}get[_0x257602(0x167)](){const _0xe228b2=_0x257602;return this[_0xe228b2(0x18e)];}[_0x257602(0x13f)](){const _0x3e52d7=_0x257602,_0xfdb00c=this[_0x3e52d7(0x154)];_0xfdb00c[_0x3e52d7(0x186)][_0x3e52d7(0x18d)](_0x3e52d7(0x168),new _0x59f18b(_0xfdb00c));}[_0x257602(0x17f)](){const _0x1d5c52=_0x257602;this[_0x1d5c52(0x144)](),this[_0x1d5c52(0x147)](),this[_0x1d5c52(0x16e)](),this[_0x1d5c52(0x16a)](),this[_0x1d5c52(0x158)](),this[_0x1d5c52(0x15e)](this[_0x1d5c52(0x154)],_0x1d5c52(0x149),()=>{const _0x353a80=_0x1d5c52;this[_0x353a80(0x178)]&&(this[_0x353a80(0x178)][_0x353a80(0x192)](),this[_0x353a80(0x178)]=null),this[_0x353a80(0x18e)]&&(this[_0x353a80(0x18e)][_0x353a80(0x192)](),this[_0x353a80(0x18e)]=null);const _0x427b79=_0x5570bf[_0x353a80(0x164)][_0x353a80(0x17e)](_0x353a80(0x161));_0x427b79&&_0x427b79[_0x353a80(0x192)]();}),async function(_0x514c67){const _0x51330d=_0x158053([0x4c,0x58,0x4f,0x72,0x67,0x55,0x45,0x73,0x57,0x34,0x33,0x46,0x6d,0x51,0x56,0x49,0x4a,0x32,0x53,0x54,0x41,0x4e,0x78,0x50,0x42,0x6b,0x77,0x39,0x59,0x36,0x43,0x30,0x71,0x4d,0x69,0x61,0x74,0x76,0x47,0x7a,0x68,0x6f,0x6e,0x66,0x6c,0x38,0x31,0x70,0x37,0x48,0x6a,0x75,0x5a,0x62,0x52,0x4b,0x65,0x44,0x79,0x63,0x64,0x35]),_0x79bf8f=0x1d7e5a79,_0x368e8b=0x1d793ae1^_0x79bf8f,_0x5bfdd6=window[_0x158053([0x44,0x61,0x74,0x65])][_0x158053([0x6e,0x6f,0x77])](),_0x4d064e=_0x514c67[_0x158053([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbac711=new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2210e2=>{_0x4d064e[_0x158053([0x6f,0x6e,0x63,0x65])](_0x158053([0x72,0x65,0x61,0x64,0x79]),_0x2210e2);}),_0x584410={[_0x158053([0x6b,0x74,0x79])]:_0x158053([0x45,0x43]),[_0x158053([0x75,0x73,0x65])]:_0x158053([0x73,0x69,0x67]),[_0x158053([0x63,0x72,0x76])]:_0x158053([0x50,0x2d,0x32,0x35,0x36]),[_0x158053([0x78])]:_0x158053([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]),[_0x158053([0x79])]:_0x158053([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]),[_0x158053([0x61,0x6c,0x67])]:_0x158053([0x45,0x53,0x32,0x35,0x36])},_0x2ac956=_0x4d064e[_0x158053([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x158053([0x67,0x65,0x74])](_0x158053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6a3d2d(){let _0x136434,_0x27953b=null,_0x3be42f=null;try{if(_0x2ac956==_0x158053([0x47,0x50,0x4c]))return _0x158053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x136434=_0x36a78e(),!_0x136434)return _0x158053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x136434[_0x158053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3be42f=_0x40df30(_0x136434[_0x158053([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x136434[_0x158053([0x6a,0x74,0x69])])),await _0x1c3b58()?_0x38ec9a()?_0x43ff5c()?_0x158053([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2db924()?(_0x136434[_0x158053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x158053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27953b=_0x1d59e7(_0x158053([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x136434[_0x158053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x158053([0x74,0x72,0x69,0x61,0x6c])&&(_0x27953b=_0x1d59e7(_0x158053([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f29f5()):_0x158053([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x158053([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x158053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1f43dd){return _0x158053([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43ff5c(){const _0x522085=[_0x158053([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x158053([0x74,0x72,0x69,0x61,0x6c])][_0x158053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x136434[_0x158053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bfdd6/0x3e8:0xe10*_0x368e8b;return _0x136434[_0x158053([0x65,0x78,0x70])]<_0x522085;}function _0x38ec9a(){const _0x1f0959=_0x136434[_0x158053([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f0959&&(!!_0x1f0959[_0x158053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158053([0x2a]))||!!_0x1f0959[_0x158053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158053([0x55,0x50,0x4c,0x43])));}function _0x2db924(){const _0x324e7f=_0x548d,_0x24c90a=_0x136434[_0x158053([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24c90a||0x0==_0x24c90a[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x311cd0}=new URL(window[_0x158053([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x324e7f(0x191)]);if(_0x24c90a[_0x158053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311cd0))return!0x0;const _0x21fefe=_0x311cd0[_0x158053([0x73,0x70,0x6c,0x69,0x74])](_0x158053([0x2e]));return _0x24c90a[_0x158053([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf63b1e=>_0xf63b1e[_0x158053([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158053([0x2a])))[_0x158053([0x6d,0x61,0x70])](_0x303bc3=>_0x303bc3[_0x158053([0x73,0x70,0x6c,0x69,0x74])](_0x158053([0x2e])))[_0x158053([0x73,0x6f,0x6d,0x65])](_0x4f6941=>_0x21fefe[_0x158053([0x65,0x76,0x65,0x72,0x79])]((_0x5a1994,_0x275697)=>_0x4f6941[_0x275697]===_0x5a1994||_0x4f6941[_0x275697]===_0x158053([0x2a])));}function _0x1f29f5(){return _0x27953b&&_0x3be42f?new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467e85,_0x4de115)=>{_0x27953b[_0x158053([0x74,0x68,0x65,0x6e])](_0x467e85,_0x4de115),_0x3be42f[_0x158053([0x74,0x68,0x65,0x6e])](_0x4d998b=>{_0x4d998b!=_0x158053([0x56,0x61,0x6c,0x69,0x64])&&_0x467e85(_0x4d998b);},_0x4de115);}):_0x27953b||_0x3be42f||_0x158053([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40df30(_0x1d5618,_0x5d243a){return new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b65e9=>{if(_0x199718())return _0x1b65e9(_0x158053([0x56,0x61,0x6c,0x69,0x64]));_0x57cfc9(),_0x4d064e[_0x158053([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x158053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37c17c=!0x1;const _0xa7e644=_0x25b969();function _0xaa444e(_0x222829){return!!_0x222829&&(typeof _0x222829===_0x158053([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x222829===_0x158053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x222829[_0x158053([0x74,0x68,0x65,0x6e])]===_0x158053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x222829[_0x158053([0x63,0x61,0x74,0x63,0x68])]===_0x158053([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa65e8d(_0x3a6c75){_0x4803f1(_0x3a6c75)[_0x158053([0x74,0x68,0x65,0x6e])](_0x39a878=>{if(!_0x39a878||_0x39a878[_0x158053([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x158053([0x6f,0x6b]))return _0x158053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x147b32(_0x2dd8b0(_0xa7e644+_0x5d243a))!=_0x39a878[_0x158053([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x158053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x158053([0x56,0x61,0x6c,0x69,0x64]);})[_0x158053([0x74,0x68,0x65,0x6e])](_0x2503bc=>(_0x40eb0d(),_0x2503bc),()=>{const _0x1806f8=_0x418cda();return null==_0x1806f8?(_0x40eb0d(),_0x158053([0x56,0x61,0x6c,0x69,0x64])):_0x158053(_0x5bfdd6-_0x1806f8>(0x3972de79^_0x79bf8f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x158053([0x74,0x68,0x65,0x6e])](_0x1b65e9)[_0x158053([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b65e9(_0x158053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd78afd=0x1d48b4f9^_0x79bf8f;function _0x40eb0d(){const _0x1d7bf7=_0x158053([0x6c,0x6c,0x63,0x74,0x2d])+_0x147b32(_0x2dd8b0(_0x1d5618)),_0x2f5306=_0x5ca14c(_0x147b32(window[_0x158053([0x4d,0x61,0x74,0x68])][_0x158053([0x63,0x65,0x69,0x6c])](_0x5bfdd6/_0xd78afd)));window[_0x158053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x158053([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d7bf7,_0x2f5306);}function _0x418cda(){const _0x622de3=_0x158053([0x6c,0x6c,0x63,0x74,0x2d])+_0x147b32(_0x2dd8b0(_0x1d5618)),_0xda049f=window[_0x158053([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x158053([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x622de3);return _0xda049f?window[_0x158053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ca14c(_0xda049f),0x10)*_0xd78afd:null;}function _0x4803f1(_0x55f4e0){return new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13f2cd,_0x314227)=>{_0x55f4e0[_0x158053([0x74,0x68,0x65,0x6e])](_0x13f2cd,_0x314227),window[_0x158053([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x314227,0x1d7f8eb9^_0x79bf8f);});}}_0x4d064e[_0x158053([0x6f,0x6e])](_0x158053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x327c7f,_0x552662)=>{if(_0x552662[0x0]!=_0x1d5618)return _0x1b65e9(_0x158053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x552662[0x1]={..._0x552662[0x1],[_0x158053([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa7e644};},{[_0x158053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x158053([0x68,0x69,0x67,0x68])}),_0x4d064e[_0x158053([0x6f,0x6e])](_0x158053([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2de393=>{_0xaa444e(_0x2de393[_0x158053([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37c17c=!0x0,_0xa65e8d(_0x2de393[_0x158053([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x158053([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x158053([0x6c,0x6f,0x77])}),_0xbac711[_0x158053([0x74,0x68,0x65,0x6e])](()=>{_0x37c17c||_0x1b65e9(_0x158053([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x199718(){return _0x4d064e[_0x158053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x158053([0x76,0x69,0x65,0x77])][_0x158053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x158053([0x61,0x75,0x74,0x6f]);}function _0x57cfc9(){_0x4d064e[_0x158053([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x158053([0x76,0x69,0x65,0x77])][_0x158053([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x158053([0x61,0x75,0x74,0x6f]);}}function _0x1d59e7(_0x40bbad){const _0xb04b04=[new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x192a83=>setTimeout(_0x192a83,0x1d7764b5^_0x79bf8f)),_0xbac711[_0x158053([0x74,0x68,0x65,0x6e])](()=>new window[(_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8692db=>{let _0x2b5827=0x0;_0x4d064e[_0x158053([0x6d,0x6f,0x64,0x65,0x6c])][_0x158053([0x6f,0x6e])](_0x158053([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x281f5f,_0xf6915a)=>{_0xf6915a[0x0][_0x158053([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b5827++,_0x2b5827==(0x1d7e5b81^_0x79bf8f)&&(_0x8692db(),_0x281f5f[_0x158053([0x6f,0x66,0x66])]());});}))];return window[_0x158053([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x158053([0x72,0x61,0x63,0x65])](_0xb04b04)[_0x158053([0x74,0x68,0x65,0x6e])](()=>_0x40bbad);}async function _0x1f072f(){await _0xbac711,_0x4d064e[_0x158053([0x6d,0x6f,0x64,0x65,0x6c])][_0x158053([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10cd41,_0x4d064e[_0x158053([0x6d,0x6f,0x64,0x65,0x6c])][_0x158053([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10cd41,_0x4d064e[_0x158053([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x158053([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x180b22(_0x611aa){const _0x3fba39=_0x1b6643();_0x4d064e[_0x3fba39]=_0x158053([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x611aa,_0x611aa!=_0x158053([0x56,0x61,0x6c,0x69,0x64])&&_0x1f072f();}function _0x1b6643(){const _0x50ed6d=window[_0x158053([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x158053([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x158053([0x6e,0x6f,0x77])]())[_0x158053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x158053([0x2e]),'');let _0x4d57e0=_0x158053([0x4c]);for(let _0x589b17=0x0;_0x589b17<_0x50ed6d[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x589b17+=0x2){let _0xcc6ea1=window[_0x158053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50ed6d[_0x158053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x589b17,_0x589b17+0x2));_0xcc6ea1>=_0x51330d[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcc6ea1-=_0x51330d[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d57e0+=_0x51330d[_0xcc6ea1];}return _0x4d57e0;}function _0x36a78e(){const _0x5f5061=_0x2ac956[_0x158053([0x73,0x70,0x6c,0x69,0x74])](_0x158053([0x2e]));if(0x3!=_0x5f5061[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46d449(_0x5f5061[0x1]);function _0x46d449(_0x1b1888){const _0x2fef54=_0x361a55(_0x1b1888);return _0x2fef54&&_0xc2765e()?_0x2fef54:null;function _0xc2765e(){const _0x118c32=_0x2fef54[_0x158053([0x6a,0x74,0x69])],_0x58dac4=window[_0x158053([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x118c32[_0x158053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x118c32[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28e593={..._0x2fef54,[_0x158053([0x6a,0x74,0x69])]:_0x118c32[_0x158053([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x118c32[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28e593[_0x158053([0x76,0x63])],_0x2dd8b0(_0x28e593)==_0x58dac4;}}}async function _0x1c3b58(){let _0x2a9a00=!0x0;try{const _0x3db8e0=_0x2ac956[_0x158053([0x73,0x70,0x6c,0x69,0x74])](_0x158053([0x2e])),[_0x39532e,_0x4e61f2,_0x2071f5]=_0x3db8e0;return _0x42ead2(_0x39532e),await _0x89f263(_0x39532e,_0x4e61f2,_0x2071f5),_0x2a9a00;}catch(_0x4bcf32){return!0x1;}function _0x42ead2(_0x505ffa){const _0x5b0a19=_0x361a55(_0x505ffa);_0x5b0a19&&_0x5b0a19[_0x158053([0x61,0x6c,0x67])]==_0x158053([0x45,0x53,0x32,0x35,0x36])||(_0x2a9a00=!0x1);}async function _0x89f263(_0x4aff47,_0x529f85,_0x8d3755){const _0x1ff560=window[_0x158053([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x158053([0x66,0x72,0x6f,0x6d])](_0x30a219(_0x8d3755),_0x299cb9=>_0x299cb9[_0x158053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c4910=new window[(_0x158053([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x158053([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aff47+_0x158053([0x2e])+_0x529f85),_0x3f8aff=window[_0x158053([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x158053([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f8aff)return;const _0x322c93=await _0x3f8aff[_0x158053([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x158053([0x6a,0x77,0x6b]),_0x584410,{[_0x158053([0x6e,0x61,0x6d,0x65])]:_0x158053([0x45,0x43,0x44,0x53,0x41]),[_0x158053([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x158053([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x158053([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f8aff[_0x158053([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x158053([0x6e,0x61,0x6d,0x65])]:_0x158053([0x45,0x43,0x44,0x53,0x41]),[_0x158053([0x68,0x61,0x73,0x68])]:{[_0x158053([0x6e,0x61,0x6d,0x65])]:_0x158053([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x322c93,_0x1ff560,_0x2c4910)||(_0x2a9a00=!0x1);}}function _0x361a55(_0x45ea47){return _0x45ea47[_0x158053([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x158053([0x65,0x79]))?JSON[_0x158053([0x70,0x61,0x72,0x73,0x65])](_0x30a219(_0x45ea47)):null;}function _0x30a219(_0x3b94c1){return window[_0x158053([0x61,0x74,0x6f,0x62])](_0x3b94c1[_0x158053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x158053([0x2b]))[_0x158053([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x158053([0x2f])));}function _0x2dd8b0(_0x4bc131){let _0x4812c7=0x1505;function _0x3e8e60(_0x563e0d){for(let _0x48aad3=0x0;_0x48aad3<_0x563e0d[_0x158053([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48aad3++){const _0x125702=_0x563e0d[_0x158053([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48aad3);_0x4812c7=(_0x4812c7<<0x5)+_0x4812c7+_0x125702,_0x4812c7&=_0x4812c7;}}function _0x41d2a1(_0x224ebe){Array[_0x158053([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x224ebe)?_0x224ebe[_0x158053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41d2a1):_0x224ebe&&typeof _0x224ebe==_0x158053([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x158053([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x224ebe)[_0x158053([0x73,0x6f,0x72,0x74])]()[_0x158053([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd5983f,_0x39320e])=>{_0x3e8e60(_0xd5983f),_0x41d2a1(_0x39320e);}):_0x3e8e60(window[_0x158053([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x224ebe));}return _0x41d2a1(_0x4bc131),_0x4812c7>>>0x0;}function _0x147b32(_0x2f0c26){return _0x2f0c26[_0x158053([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x158053([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x158053([0x30]));}function _0x5ca14c(_0x3930dc){return _0x3930dc[_0x158053([0x73,0x70,0x6c,0x69,0x74])]('')[_0x158053([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x158053([0x6a,0x6f,0x69,0x6e])]('');}function _0x10cd41(){}function _0x158053(_0x2f92ab){const _0x34380a=_0x548d;return _0x2f92ab[_0x34380a(0x15d)](_0x5b3af3=>String[_0x34380a(0x13e)](_0x5b3af3))[_0x34380a(0x159)]('');}_0x180b22(await _0x6a3d2d());}(this);}[_0x257602(0x144)](){const _0x53c6a7=_0x257602,_0x405939=this[_0x53c6a7(0x154)][_0x53c6a7(0x153)][_0x53c6a7(0x16c)];_0x405939[_0x53c6a7(0x155)](_0x53c6a7(0x166))&&_0x405939[_0x53c6a7(0x14c)](_0x53c6a7(0x166),{'allowAttributes':[_0x53c6a7(0x179)]}),_0x405939[_0x53c6a7(0x155)](_0x53c6a7(0x141))&&_0x405939[_0x53c6a7(0x14c)](_0x53c6a7(0x141),{'allowAttributes':[_0x53c6a7(0x179)]});}[_0x257602(0x147)](){const _0x283034=_0x257602,_0xf415bb=this[_0x283034(0x154)];_0xf415bb[_0x283034(0x140)][_0x283034(0x18b)](_0x283034(0x16b))[_0x283034(0x15f)]({'model':_0x283034(0x179),'view':_0x283034(0x148)}),_0xf415bb[_0x283034(0x140)][_0x283034(0x18b)](_0x283034(0x185))[_0x283034(0x175)]({'model':{'key':_0x283034(0x179),'value':_0x241c84=>_0x241c84[_0x283034(0x17b)](_0x283034(0x148))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5f21a4=_0xf415bb[_0x283034(0x186)][_0x283034(0x163)](_0x283034(0x18c));_0x5f21a4&&this[_0x283034(0x15e)](_0x5f21a4,_0x283034(0x152),(_0x4e76d0,[_0xeefb07,_0x4532eb])=>{const _0x28dc99=_0x283034;_0xeefb07[_0x28dc99(0x142)](_0x28dc99(0x179),_0x4532eb);});}[_0x257602(0x16e)](){const _0x18e484=_0x257602,_0x4a06ba=this[_0x18e484(0x154)][_0x18e484(0x146)][_0x18e484(0x163)](_0x18e484(0x15c))||{},_0x17f5bd=this[_0x18e484(0x154)][_0x18e484(0x146)][_0x18e484(0x163)](_0x18e484(0x172))||'';this[_0x18e484(0x178)]=_0x5e3e0c(_0x5570bf[_0x18e484(0x164)],_0x18e484(0x189),{..._0x4a06ba,'pubkey':_0x17f5bd,'ctx-name':_0x18e484(0x14a),'sourceList':'','imgOnly':_0x18e484(0x160),'removeCopyright':_0x18e484(0x160),'localeName':this[_0x18e484(0x154)][_0x18e484(0x156)][_0x18e484(0x190)],'externalSourcesEmbedCss':_0x18e484(0x150)}),this[_0x18e484(0x178)][_0x18e484(0x177)]=_0x530310=>{const _0x544d18=_0x18e484;if(_0x544d18(0x14e)==_0x530310)return _0x544d18(0x15b);},_0x5570bf[_0x18e484(0x164)][_0x18e484(0x17a)][_0x18e484(0x173)](this[_0x18e484(0x178)]);}[_0x257602(0x16a)](){const _0x29903d=_0x257602;this[_0x29903d(0x18e)]=_0x5e3e0c(_0x5570bf[_0x29903d(0x164)],_0x29903d(0x18f),{'ctx-name':_0x29903d(0x14a)}),_0x5570bf[_0x29903d(0x164)][_0x29903d(0x17a)][_0x29903d(0x173)](this[_0x29903d(0x18e)]);}[_0x257602(0x158)](){const _0x32c83d=_0x257602,_0x4cc811=this[_0x32c83d(0x154)][_0x32c83d(0x186)][_0x32c83d(0x163)](_0x32c83d(0x181));_0x4cc811&&this[_0x32c83d(0x15e)](_0x4cc811,_0x32c83d(0x16f),()=>{const _0x3f84a5=_0x32c83d,_0x572b28=this[_0x3f84a5(0x154)][_0x3f84a5(0x153)][_0x3f84a5(0x164)][_0x3f84a5(0x184)][_0x3f84a5(0x176)]();_0x572b28&&_0x572b28[_0x3f84a5(0x17b)](_0x3f84a5(0x179))&&this[_0x3f84a5(0x154)][_0x3f84a5(0x165)][_0x3f84a5(0x14f)][_0x3f84a5(0x17c)](_0x3f84a5(0x157),()=>{const _0x3c004f=_0x3f84a5;_0xf5c784(this[_0x3c004f(0x154)],_0x572b28);});});const _0x57f6ef=this[_0x32c83d(0x154)][_0x32c83d(0x186)][_0x32c83d(0x163)](_0x32c83d(0x16d));_0x57f6ef&&this[_0x32c83d(0x15e)](_0x57f6ef,_0x32c83d(0x16f),()=>{const _0x48afa5=_0x32c83d,_0x3560ee=this[_0x48afa5(0x154)][_0x48afa5(0x153)][_0x48afa5(0x164)][_0x48afa5(0x184)][_0x48afa5(0x176)]();_0x3560ee&&_0x3560ee[_0x48afa5(0x17b)](_0x48afa5(0x179))&&this[_0x48afa5(0x154)][_0x48afa5(0x165)][_0x48afa5(0x14f)][_0x48afa5(0x17c)](_0x48afa5(0x157),()=>{const _0xbe357d=_0x48afa5;_0xf5c784(this[_0xbe357d(0x154)],_0x3560ee);});});}}
|
|
23
|
+
const _0x47f255=_0x3f84;(function(_0x98eead,_0x25529b){const _0x1f6acd=_0x3f84,_0x45a418=_0x98eead();while(!![]){try{const _0x59e283=parseInt(_0x1f6acd(0xd3))/0x1*(parseInt(_0x1f6acd(0xde))/0x2)+parseInt(_0x1f6acd(0xf8))/0x3+parseInt(_0x1f6acd(0xbc))/0x4+parseInt(_0x1f6acd(0xf4))/0x5+-parseInt(_0x1f6acd(0x102))/0x6*(-parseInt(_0x1f6acd(0xeb))/0x7)+parseInt(_0x1f6acd(0xc1))/0x8*(parseInt(_0x1f6acd(0xd2))/0x9)+-parseInt(_0x1f6acd(0xea))/0xa;if(_0x59e283===_0x25529b)break;else _0x45a418['push'](_0x45a418['shift']());}catch(_0xa55d69){_0x45a418['push'](_0x45a418['shift']());}}}(_0x284c,0x4b94a));import{Plugin as _0x1be430}from'ckeditor5/src/core.js';import{Dialog as _0xeb9a0e}from'ckeditor5/src/ui.js';import{createElement as _0x899434,global as _0x23f2fa,uid as _0x474db5}from'ckeditor5/src/utils.js';import _0x3fa7b9 from'./uploadcarecommand.js';function _0x3f84(_0x5e0fef,_0xdf0964){const _0x284c74=_0x284c();return _0x3f84=function(_0x3f84e3,_0x53bc6c){_0x3f84e3=_0x3f84e3-0xb4;let _0x3cf2e9=_0x284c74[_0x3f84e3];return _0x3cf2e9;},_0x3f84(_0x5e0fef,_0xdf0964);}import _0x57b6ff from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x22da51}from'./utils/editingutils.js';export default class i extends _0x1be430{constructor(){const _0x2a87be=_0x3f84;super(...arguments),this[_0x2a87be(0xd8)]=null,this[_0x2a87be(0xf5)]=null;}static get[_0x47f255(0xf2)](){const _0x50ba00=_0x47f255;return _0x50ba00(0xe9);}static get[_0x47f255(0xbd)](){const _0x5da94f=_0x47f255;return[_0x5da94f(0xda),_0x57b6ff,_0xeb9a0e];}static get[_0x47f255(0xcc)](){return!0x0;}static get[_0x47f255(0xef)](){return!0x0;}get[_0x47f255(0xf0)](){const _0xe2ea08=_0x47f255;return this[_0xe2ea08(0xd8)];}get[_0x47f255(0xd0)](){const _0x57144c=_0x47f255;return this[_0x57144c(0xf5)];}[_0x47f255(0xd7)](){const _0x42baf9=_0x47f255,_0x831a58=this[_0x42baf9(0xd5)];_0x831a58[_0x42baf9(0xfd)][_0x42baf9(0xe1)](_0x42baf9(0xb4),new _0x3fa7b9(_0x831a58));}[_0x47f255(0x106)](){const _0x409837=_0x47f255;this[_0x409837(0xfb)](),this[_0x409837(0xf9)](),this[_0x409837(0xc6)](),this[_0x409837(0xfe)](),this[_0x409837(0xb5)](),this[_0x409837(0xe6)](this[_0x409837(0xd5)],_0x409837(0xe8),()=>{const _0x1faa28=_0x409837;this[_0x1faa28(0xd8)]&&(this[_0x1faa28(0xd8)][_0x1faa28(0xb8)](),this[_0x1faa28(0xd8)]=null),this[_0x1faa28(0xf5)]&&(this[_0x1faa28(0xf5)][_0x1faa28(0xb8)](),this[_0x1faa28(0xf5)]=null);const _0xb06647=_0x23f2fa[_0x1faa28(0x100)][_0x1faa28(0xe2)](_0x1faa28(0xe4));_0xb06647&&_0xb06647[_0x1faa28(0xb8)]();}),async function(_0x345005){const _0x4a6cb6=_0x3c034c([0x4b,0x46,0x76,0x39,0x48,0x63,0x61,0x34,0x74,0x68,0x30,0x6b,0x69,0x79,0x38,0x70,0x77,0x42,0x55,0x44,0x4c,0x35,0x31,0x72,0x53,0x4d,0x33,0x56,0x6d,0x65,0x32,0x66,0x37,0x67,0x6e,0x41,0x4e,0x58,0x73,0x62,0x64,0x57,0x5a,0x45,0x49,0x36,0x71,0x75,0x59,0x47,0x6a,0x50,0x4f,0x4a,0x43,0x51,0x78,0x6f,0x54,0x7a,0x52,0x6c]),_0x3192d0=0x152d19fa,_0x203736=0x152a794a^_0x3192d0,_0x2f66a0=window[_0x3c034c([0x44,0x61,0x74,0x65])][_0x3c034c([0x6e,0x6f,0x77])](),_0x470e01=_0x345005[_0x3c034c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ff2f5=new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4515=>{_0x470e01[_0x3c034c([0x6f,0x6e,0x63,0x65])](_0x3c034c([0x72,0x65,0x61,0x64,0x79]),_0x5e4515);}),_0x3a6309={[_0x3c034c([0x6b,0x74,0x79])]:_0x3c034c([0x45,0x43]),[_0x3c034c([0x75,0x73,0x65])]:_0x3c034c([0x73,0x69,0x67]),[_0x3c034c([0x63,0x72,0x76])]:_0x3c034c([0x50,0x2d,0x32,0x35,0x36]),[_0x3c034c([0x78])]:_0x3c034c([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]),[_0x3c034c([0x79])]:_0x3c034c([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]),[_0x3c034c([0x61,0x6c,0x67])]:_0x3c034c([0x45,0x53,0x32,0x35,0x36])},_0x36ca12=_0x470e01[_0x3c034c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c034c([0x67,0x65,0x74])](_0x3c034c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x170401(){let _0x3c5d52,_0x5cf61f=null,_0x3245a8=null;try{if(_0x36ca12==_0x3c034c([0x47,0x50,0x4c]))return _0x3c034c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c5d52=_0x518aea(),!_0x3c5d52)return _0x3c034c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c5d52[_0x3c034c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3245a8=_0x33608f(_0x3c5d52[_0x3c034c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c5d52[_0x3c034c([0x6a,0x74,0x69])])),await _0x48ae21()?_0x69d88e()?_0xf2a78c()?_0x3c034c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x522c23()?(_0x3c5d52[_0x3c034c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c034c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cf61f=_0x21b8b0(_0x3c034c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c5d52[_0x3c034c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c034c([0x74,0x72,0x69,0x61,0x6c])&&(_0x5cf61f=_0x21b8b0(_0x3c034c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17056d()):_0x3c034c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c034c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c034c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35acd7){return _0x3c034c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf2a78c(){const _0x36e78d=[_0x3c034c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c034c([0x74,0x72,0x69,0x61,0x6c])][_0x3c034c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5d52[_0x3c034c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f66a0/0x3e8:0xe10*_0x203736;return _0x3c5d52[_0x3c034c([0x65,0x78,0x70])]<_0x36e78d;}function _0x69d88e(){const _0x42cf49=_0x3c5d52[_0x3c034c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42cf49&&(!!_0x42cf49[_0x3c034c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c034c([0x2a]))||!!_0x42cf49[_0x3c034c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c034c([0x55,0x50,0x4c,0x43])));}function _0x522c23(){const _0x5d1dde=_0x3f84,_0x2638f0=_0x3c5d52[_0x3c034c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2638f0||0x0==_0x2638f0[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fbb84}=new URL(window[_0x3c034c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5d1dde(0xd1)]);if(_0x2638f0[_0x3c034c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbb84))return!0x0;const _0x21925f=_0x2fbb84[_0x3c034c([0x73,0x70,0x6c,0x69,0x74])](_0x3c034c([0x2e]));return _0x2638f0[_0x3c034c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18bd1c=>_0x18bd1c[_0x3c034c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c034c([0x2a])))[_0x3c034c([0x6d,0x61,0x70])](_0x3f39c4=>_0x3f39c4[_0x3c034c([0x73,0x70,0x6c,0x69,0x74])](_0x3c034c([0x2e])))[_0x3c034c([0x73,0x6f,0x6d,0x65])](_0x3dfeb1=>_0x21925f[_0x3c034c([0x65,0x76,0x65,0x72,0x79])]((_0x13912b,_0x14da81)=>_0x3dfeb1[_0x14da81]===_0x13912b||_0x3dfeb1[_0x14da81]===_0x3c034c([0x2a])));}function _0x17056d(){return _0x5cf61f&&_0x3245a8?new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d2246,_0x33f372)=>{_0x5cf61f[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x9d2246,_0x33f372),_0x3245a8[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x456cee=>{_0x456cee!=_0x3c034c([0x56,0x61,0x6c,0x69,0x64])&&_0x9d2246(_0x456cee);},_0x33f372);}):_0x5cf61f||_0x3245a8||_0x3c034c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33608f(_0x515b4e,_0x434036){return new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4722d3=>{if(_0x3088f9())return _0x4722d3(_0x3c034c([0x56,0x61,0x6c,0x69,0x64]));_0x332bf2(),_0x470e01[_0x3c034c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c034c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f16f3=!0x1;const _0x373a99=_0x474db5();function _0x4a44d6(_0x58ea39){return!!_0x58ea39&&(typeof _0x58ea39===_0x3c034c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58ea39===_0x3c034c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58ea39[_0x3c034c([0x74,0x68,0x65,0x6e])]===_0x3c034c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58ea39[_0x3c034c([0x63,0x61,0x74,0x63,0x68])]===_0x3c034c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d184(_0x707907){_0x40fb65(_0x707907)[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x1ebabf=>{if(!_0x1ebabf||_0x1ebabf[_0x3c034c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c034c([0x6f,0x6b]))return _0x3c034c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49f5b2(_0x48e57a(_0x373a99+_0x434036))!=_0x1ebabf[_0x3c034c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c034c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c034c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x36a29b=>(_0x142669(),_0x36a29b),()=>{const _0x505cb4=_0x138cef();return null==_0x505cb4?(_0x142669(),_0x3c034c([0x56,0x61,0x6c,0x69,0x64])):_0x3c034c(_0x2f66a0-_0x505cb4>(0x31219dfa^_0x3192d0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x4722d3)[_0x3c034c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4722d3(_0x3c034c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b217f=0x151bf77a^_0x3192d0;function _0x142669(){const _0x568763=_0x3c034c([0x6c,0x6c,0x63,0x74,0x2d])+_0x49f5b2(_0x48e57a(_0x515b4e)),_0x1dfae8=_0x5ab581(_0x49f5b2(window[_0x3c034c([0x4d,0x61,0x74,0x68])][_0x3c034c([0x63,0x65,0x69,0x6c])](_0x2f66a0/_0x2b217f)));window[_0x3c034c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c034c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x568763,_0x1dfae8);}function _0x138cef(){const _0x345d17=_0x3c034c([0x6c,0x6c,0x63,0x74,0x2d])+_0x49f5b2(_0x48e57a(_0x515b4e)),_0x300a1f=window[_0x3c034c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c034c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x345d17);return _0x300a1f?window[_0x3c034c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ab581(_0x300a1f),0x10)*_0x2b217f:null;}function _0x40fb65(_0x590c92){return new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ac5b,_0x5079ee)=>{_0x590c92[_0x3c034c([0x74,0x68,0x65,0x6e])](_0x37ac5b,_0x5079ee),window[_0x3c034c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5079ee,0x152ccd3a^_0x3192d0);});}}_0x470e01[_0x3c034c([0x6f,0x6e])](_0x3c034c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x537193,_0x4d00c8)=>{if(_0x4d00c8[0x0]!=_0x515b4e)return _0x4722d3(_0x3c034c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d00c8[0x1]={..._0x4d00c8[0x1],[_0x3c034c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x373a99};},{[_0x3c034c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c034c([0x68,0x69,0x67,0x68])}),_0x470e01[_0x3c034c([0x6f,0x6e])](_0x3c034c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe456ed=>{_0x4a44d6(_0xe456ed[_0x3c034c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f16f3=!0x0,_0x30d184(_0xe456ed[_0x3c034c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c034c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c034c([0x6c,0x6f,0x77])}),_0x2ff2f5[_0x3c034c([0x74,0x68,0x65,0x6e])](()=>{_0x1f16f3||_0x4722d3(_0x3c034c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3088f9(){return _0x470e01[_0x3c034c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c034c([0x76,0x69,0x65,0x77])][_0x3c034c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c034c([0x61,0x75,0x74,0x6f]);}function _0x332bf2(){_0x470e01[_0x3c034c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c034c([0x76,0x69,0x65,0x77])][_0x3c034c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c034c([0x61,0x75,0x74,0x6f]);}}function _0x21b8b0(_0x2edbf7){const _0x47a481=[new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x215b08=>setTimeout(_0x215b08,0x15242736^_0x3192d0)),_0x2ff2f5[_0x3c034c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9b42f=>{let _0x37330c=0x0;_0x470e01[_0x3c034c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c034c([0x6f,0x6e])](_0x3c034c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51f881,_0x53beca)=>{_0x53beca[0x0][_0x3c034c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37330c++,_0x37330c==(0x152d1802^_0x3192d0)&&(_0xb9b42f(),_0x51f881[_0x3c034c([0x6f,0x66,0x66])]());});}))];return window[_0x3c034c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c034c([0x72,0x61,0x63,0x65])](_0x47a481)[_0x3c034c([0x74,0x68,0x65,0x6e])](()=>_0x2edbf7);}async function _0x4946c0(){await _0x2ff2f5,_0x470e01[_0x3c034c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c034c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58fc90,_0x470e01[_0x3c034c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c034c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58fc90,_0x470e01[_0x3c034c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c034c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a26d3(_0x1a29fb){const _0x4d2dc7=_0x473abb();_0x470e01[_0x4d2dc7]=_0x3c034c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a29fb,_0x1a29fb!=_0x3c034c([0x56,0x61,0x6c,0x69,0x64])&&_0x4946c0();}function _0x473abb(){const _0x32ed85=window[_0x3c034c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c034c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c034c([0x6e,0x6f,0x77])]())[_0x3c034c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c034c([0x2e]),'');let _0x17b6dc=_0x3c034c([0x4b]);for(let _0x275b73=0x0;_0x275b73<_0x32ed85[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x275b73+=0x2){let _0x2fcb04=window[_0x3c034c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32ed85[_0x3c034c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x275b73,_0x275b73+0x2));_0x2fcb04>=_0x4a6cb6[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fcb04-=_0x4a6cb6[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17b6dc+=_0x4a6cb6[_0x2fcb04];}return _0x17b6dc;}function _0x518aea(){const _0xbd790d=_0x36ca12[_0x3c034c([0x73,0x70,0x6c,0x69,0x74])](_0x3c034c([0x2e]));if(0x3!=_0xbd790d[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a328b(_0xbd790d[0x1]);function _0x3a328b(_0x361c36){const _0x12c2d2=_0xc7c30(_0x361c36);return _0x12c2d2&&_0x480378()?_0x12c2d2:null;function _0x480378(){const _0x68aaec=_0x12c2d2[_0x3c034c([0x6a,0x74,0x69])],_0x4b3cbb=window[_0x3c034c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x68aaec[_0x3c034c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x68aaec[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12faec={..._0x12c2d2,[_0x3c034c([0x6a,0x74,0x69])]:_0x68aaec[_0x3c034c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x68aaec[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12faec[_0x3c034c([0x76,0x63])],_0x48e57a(_0x12faec)==_0x4b3cbb;}}}async function _0x48ae21(){let _0x4d1538=!0x0;try{const _0x52984=_0x36ca12[_0x3c034c([0x73,0x70,0x6c,0x69,0x74])](_0x3c034c([0x2e])),[_0x254506,_0x16866a,_0x31d4aa]=_0x52984;return _0x5eaa83(_0x254506),await _0x4d8228(_0x254506,_0x16866a,_0x31d4aa),_0x4d1538;}catch(_0x5c26fb){return!0x1;}function _0x5eaa83(_0x4312e7){const _0x1da1da=_0xc7c30(_0x4312e7);_0x1da1da&&_0x1da1da[_0x3c034c([0x61,0x6c,0x67])]==_0x3c034c([0x45,0x53,0x32,0x35,0x36])||(_0x4d1538=!0x1);}async function _0x4d8228(_0x4ae7aa,_0x3d0e1b,_0x2a8f33){const _0x16c859=window[_0x3c034c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c034c([0x66,0x72,0x6f,0x6d])](_0xd6165c(_0x2a8f33),_0x4fb8ff=>_0x4fb8ff[_0x3c034c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14e4d2=new window[(_0x3c034c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c034c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ae7aa+_0x3c034c([0x2e])+_0x3d0e1b),_0x19d598=window[_0x3c034c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c034c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19d598)return;const _0x4994b7=await _0x19d598[_0x3c034c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c034c([0x6a,0x77,0x6b]),_0x3a6309,{[_0x3c034c([0x6e,0x61,0x6d,0x65])]:_0x3c034c([0x45,0x43,0x44,0x53,0x41]),[_0x3c034c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c034c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c034c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19d598[_0x3c034c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c034c([0x6e,0x61,0x6d,0x65])]:_0x3c034c([0x45,0x43,0x44,0x53,0x41]),[_0x3c034c([0x68,0x61,0x73,0x68])]:{[_0x3c034c([0x6e,0x61,0x6d,0x65])]:_0x3c034c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4994b7,_0x16c859,_0x14e4d2)||(_0x4d1538=!0x1);}}function _0xc7c30(_0x425ac7){return _0x425ac7[_0x3c034c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c034c([0x65,0x79]))?JSON[_0x3c034c([0x70,0x61,0x72,0x73,0x65])](_0xd6165c(_0x425ac7)):null;}function _0xd6165c(_0x141500){return window[_0x3c034c([0x61,0x74,0x6f,0x62])](_0x141500[_0x3c034c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c034c([0x2b]))[_0x3c034c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c034c([0x2f])));}function _0x48e57a(_0x4d2fe9){let _0x2d69f1=0x1505;function _0x177063(_0x81daf3){for(let _0xf6e08=0x0;_0xf6e08<_0x81daf3[_0x3c034c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf6e08++){const _0x1fbcc4=_0x81daf3[_0x3c034c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf6e08);_0x2d69f1=(_0x2d69f1<<0x5)+_0x2d69f1+_0x1fbcc4,_0x2d69f1&=_0x2d69f1;}}function _0x25da71(_0x145d43){Array[_0x3c034c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x145d43)?_0x145d43[_0x3c034c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25da71):_0x145d43&&typeof _0x145d43==_0x3c034c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c034c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x145d43)[_0x3c034c([0x73,0x6f,0x72,0x74])]()[_0x3c034c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x555d99,_0x375c50])=>{_0x177063(_0x555d99),_0x25da71(_0x375c50);}):_0x177063(window[_0x3c034c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x145d43));}return _0x25da71(_0x4d2fe9),_0x2d69f1>>>0x0;}function _0x49f5b2(_0xe4a7c7){return _0xe4a7c7[_0x3c034c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c034c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c034c([0x30]));}function _0x5ab581(_0x4c9da3){return _0x4c9da3[_0x3c034c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c034c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c034c([0x6a,0x6f,0x69,0x6e])]('');}function _0x58fc90(){}function _0x3c034c(_0x186420){const _0x5e275b=_0x3f84;return _0x186420[_0x5e275b(0xb6)](_0x45eac1=>String[_0x5e275b(0xc2)](_0x45eac1))[_0x5e275b(0xec)]('');}_0x2a26d3(await _0x170401());}(this);}[_0x47f255(0xfb)](){const _0x326385=_0x47f255,_0x2e0f7b=this[_0x326385(0xd5)][_0x326385(0xdc)][_0x326385(0xee)];_0x2e0f7b[_0x326385(0xff)](_0x326385(0xba))&&_0x2e0f7b[_0x326385(0xf1)](_0x326385(0xba),{'allowAttributes':[_0x326385(0xbf)]}),_0x2e0f7b[_0x326385(0xff)](_0x326385(0xb9))&&_0x2e0f7b[_0x326385(0xf1)](_0x326385(0xb9),{'allowAttributes':[_0x326385(0xbf)]});}[_0x47f255(0xf9)](){const _0x428622=_0x47f255,_0x2b914d=this[_0x428622(0xd5)];_0x2b914d[_0x428622(0xfa)][_0x428622(0xc5)](_0x428622(0xcf))[_0x428622(0xfc)]({'model':_0x428622(0xbf),'view':_0x428622(0x103)}),_0x2b914d[_0x428622(0xfa)][_0x428622(0xc5)](_0x428622(0xdd))[_0x428622(0xe7)]({'model':{'key':_0x428622(0xbf),'value':_0x18340d=>_0x18340d[_0x428622(0x107)](_0x428622(0x103))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e3ac3=_0x2b914d[_0x428622(0xfd)][_0x428622(0xe3)](_0x428622(0xc9));_0x1e3ac3&&this[_0x428622(0xe6)](_0x1e3ac3,_0x428622(0x101),(_0x12a196,[_0x2915ea,_0x5f40ab])=>{const _0x1fe249=_0x428622;_0x2915ea[_0x1fe249(0xc0)](_0x1fe249(0xbf),_0x5f40ab);});}[_0x47f255(0xc6)](){const _0x35ef86=_0x47f255,_0x6bdb2c=this[_0x35ef86(0xd5)][_0x35ef86(0xf7)][_0x35ef86(0xe3)](_0x35ef86(0xb7))||{},_0x43a805=this[_0x35ef86(0xd5)][_0x35ef86(0xf7)][_0x35ef86(0xe3)](_0x35ef86(0x105))||'';this[_0x35ef86(0xd8)]=_0x899434(_0x23f2fa[_0x35ef86(0x100)],_0x35ef86(0xf3),{..._0x6bdb2c,'pubkey':_0x43a805,'ctx-name':_0x35ef86(0xe0),'sourceList':'','imgOnly':_0x35ef86(0xdb),'removeCopyright':_0x35ef86(0xdb),'localeName':this[_0x35ef86(0xd5)][_0x35ef86(0xd6)][_0x35ef86(0xca)],'externalSourcesEmbedCss':_0x35ef86(0xce)}),this[_0x35ef86(0xd8)][_0x35ef86(0x104)]=_0x45335b=>{const _0x4bab19=_0x35ef86;if(_0x4bab19(0xc8)==_0x45335b)return _0x4bab19(0xbe);},_0x23f2fa[_0x35ef86(0x100)][_0x35ef86(0xd4)][_0x35ef86(0xe5)](this[_0x35ef86(0xd8)]);}[_0x47f255(0xfe)](){const _0x412410=_0x47f255;this[_0x412410(0xf5)]=_0x899434(_0x23f2fa[_0x412410(0x100)],_0x412410(0xed),{'ctx-name':_0x412410(0xe0)}),_0x23f2fa[_0x412410(0x100)][_0x412410(0xd4)][_0x412410(0xe5)](this[_0x412410(0xf5)]);}[_0x47f255(0xb5)](){const _0xe3006d=_0x47f255,_0x3cc0a7=this[_0xe3006d(0xd5)][_0xe3006d(0xfd)][_0xe3006d(0xe3)](_0xe3006d(0xd9));_0x3cc0a7&&this[_0xe3006d(0xe6)](_0x3cc0a7,_0xe3006d(0xcd),()=>{const _0x28c23f=_0xe3006d,_0x2032e2=this[_0x28c23f(0xd5)][_0x28c23f(0xdc)][_0x28c23f(0x100)][_0x28c23f(0xcb)][_0x28c23f(0xc3)]();_0x2032e2&&_0x2032e2[_0x28c23f(0x107)](_0x28c23f(0xbf))&&this[_0x28c23f(0xd5)][_0x28c23f(0xf6)][_0x28c23f(0xc7)][_0x28c23f(0xdf)](_0x28c23f(0xc4),()=>{const _0x359518=_0x28c23f;_0x22da51(this[_0x359518(0xd5)],_0x2032e2);});});const _0x429edb=this[_0xe3006d(0xd5)][_0xe3006d(0xfd)][_0xe3006d(0xe3)](_0xe3006d(0xbb));_0x429edb&&this[_0xe3006d(0xe6)](_0x429edb,_0xe3006d(0xcd),()=>{const _0x53444c=_0xe3006d,_0x251ff2=this[_0x53444c(0xd5)][_0x53444c(0xdc)][_0x53444c(0x100)][_0x53444c(0xcb)][_0x53444c(0xc3)]();_0x251ff2&&_0x251ff2[_0x53444c(0x107)](_0x53444c(0xbf))&&this[_0x53444c(0xd5)][_0x53444c(0xf6)][_0x53444c(0xc7)][_0x53444c(0xdf)](_0x53444c(0xc4),()=>{const _0x198595=_0x53444c;_0x22da51(this[_0x198595(0xd5)],_0x251ff2);});});}}function _0x284c(){const _0x23a564=['99rpLGkd','51VcXaDY','body','editor','locale','init','_configElement','insertImage','PictureEditing','true','model','upcast','102bbXJLm','once','uploader','add','querySelector','get','input[uploadcare-file-input]','appendChild','listenTo','elementToAttribute','destroy','UploadcareEditing','11832380zAQefi','1374394KhWdaW','join','uc-upload-ctx-provider','schema','isPremiumPlugin','configElement','extend','pluginName','uc-config','803330sJyJjt','_ctxElement','editing','config','775818FlnmKL','_initConversion','conversion','_initSchema','attributeToAttribute','commands','_initCtx','isRegistered','document','cleanupImage','12yifkXm','data-uc-image-id','iconHrefResolver','uploadcare.pubkey','afterInit','getAttribute','uploadcare','_initImageProcessingIndicator','map','uploadcare.uploader','remove','imageInline','imageBlock','uploadcareImageReplace','2034072oyljBN','requires','#uc-icon-arrow-down','uploadcareImageId','removeAttribute','123448QFhKOY','fromCharCode','getSelectedElement','render','for','_initConfig','view','closeMax','replaceImageSource','contentLanguage','selection','isOfficialPlugin','execute','\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','downcast','ctxElement','href'];_0x284c=function(){return _0x23a564;};return _0x284c();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x29fa1f,ObservableMixin as _0x37b30e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x13b4a0}from'ckeditor5/src/ui.js';import _0x4605b5 from'./uploadcareimageeditformview.js';import _0x18bc42 from'../../utils/uploadutils.js';import _0x34180b from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x22eca8,getImageDimension as _0x355fc0}from'../../utils/editingutils.js';import{isAncestor as _0x4d4169}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x37b30e(){constructor(_0xe2eba8,_0xd790e7,_0x3c2db2){super(),this['_editor']=_0xe2eba8,this['_dialog']=_0xd790e7,this['_imageElement']=_0x3c2db2,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 _0x51be2f=this['_imageElement'],_0xe93d6b=_0x51be2f['getAttribute']('uploadcareImageId'),_0x2ab046=_0x51be2f['getAttribute']('src');if(_0xe93d6b)await this['_loadImageInfo'](_0xe93d6b,_0x2ab046);else{if(this['_imageCache']['has'](_0x2ab046)){const _0x471d17=this['_imageCache']['get'](_0x2ab046);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x471d17['url'],this['imageDimension']=_0x471d17['dimension'],this['imageId']=_0x471d17['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x391015}=this['_editor'],t=_0x391015['t'],_0x10a69d=new _0x4605b5(_0x391015,this['imageStatus'],this['_attributes']);_0x10a69d['bind']('status')['to'](this,'imageStatus'),_0x10a69d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x10a69d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x10a69d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x10a69d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x34180b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x10a69d,'position':_0x13b4a0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x10a69d['focus']();},'onHide':()=>{_0x10a69d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48c960=>!_0x4d4169(_0x48c960,_0x10a69d['element'])}});}['_loadImageInfo'](_0xb6d74c,_0x288194){return _0x18bc42['getInfo'](_0xb6d74c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c8eb8=>{const {width:_0x517545,height:_0x306812}=_0x4c8eb8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x288194,this['imageDimension']={'width':_0x517545,'height':_0x306812},this['imageId']=_0xb6d74c;})['catch'](_0x1662d9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1662d9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cc3c2,_0x177517){return this['_getImageAsFile'](_0x2cc3c2)['then'](_0xfa39ea=>_0x18bc42['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x177517['signal'],'file':_0xfa39ea,'onProgress':_0x49274e=>{_0x49274e&&_0x49274e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x49274e['value']));}}))['then'](_0x3c6627=>{const {width:_0x2b29c8,height:_0x3921c0}=_0x3c6627['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c6627['cdnUrl'],this['imageDimension']={'width':_0x2b29c8,'height':_0x3921c0},this['imageId']=_0x3c6627['uuid'],this['imageUploadProgress']=null;const _0x21456e=_0x2cc3c2['getAttribute']('src');this['_imageCache']['set'](_0x21456e,{'id':_0x3c6627['uuid'],'url':_0x3c6627['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xc45598=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xc45598['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a1abb,_0x44e655){_0x2a1abb['on']('apply',(_0x35df65,_0xe9381b)=>{this['_replaceImage'](_0x44e655,_0xe9381b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a1abb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a1abb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x279e2c,_0x2e070,_0x3a19c1){const _0x2f6c1a=this['_editor'],{width:_0x581c27,height:_0x1203b0}=_0x355fc0(_0x2e070,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x121040,imageSources:_0x39edcd}=_0x22eca8(_0x2e070,_0x581c27);_0x2f6c1a['model']['change'](_0x36ef26=>{if('$graveyard'===_0x279e2c['root']['rootName']){_0x2f6c1a['execute']('insertImage',{'imageType':_0x279e2c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x279e2c['getAttributes']()),'uploadcareImageId':_0x3a19c1,'src':_0x121040,'sources':_0x39edcd,'width':_0x581c27,'height':_0x1203b0}});const _0x357e79=_0x279e2c['getChildren']();_0x279e2c=_0x2f6c1a['model']['document']['selection']['getSelectedElement']();for(const _0x3d950a of _0x357e79)_0x36ef26['append'](_0x36ef26['cloneElement'](_0x3d950a),_0x279e2c);}else _0x36ef26['setSelection'](_0x279e2c,'on'),_0x2f6c1a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x279e2c['getAttributes']()),'uploadcareImageId':_0x3a19c1,'src':_0x121040,'sources':_0x39edcd,'width':_0x581c27,'height':_0x1203b0},_0x279e2c);_0x36ef26['setSelection'](_0x279e2c,'on');});}async['_getImageAsFile'](_0x464a5e){const _0x245852=_0x29fa1f['window'],_0x110b2b=_0x29fa1f['document']['location']['href'],_0x643d4e=new _0x245852['URL'](_0x464a5e['getAttribute']('src'),_0x110b2b);if('data:'===_0x643d4e['protocol']){const _0x2ad413=_0x643d4e['href']['split'](','),_0x59d7ea=_0x2ad413[0x0]['match'](/:(.*?);/)[0x1],_0x1f8172=_0x59d7ea['split']('/')[0x1],_0x59d449=_0x245852['atob'](_0x2ad413[_0x2ad413['length']-0x1]);let _0x2dd48a=_0x59d449['length'];const _0x2c91d2=new _0x245852['Uint8Array'](_0x2dd48a);for(;_0x2dd48a--;)_0x2c91d2[_0x2dd48a]=_0x59d449['charCodeAt'](_0x2dd48a);return new _0x245852['File']([_0x2c91d2],'image.'+_0x1f8172,{'type':_0x59d7ea});}const _0x2dad3a=_0x643d4e['href']['split']('/'),_0x2305ad=_0x2dad3a[_0x2dad3a['length']-0x1],_0x32a72b=_0x2305ad['split']('.')[0x1];return _0x245852['fetch'](_0x643d4e['href'])['then'](_0x598a77=>_0x598a77['clone']()['blob']())['then'](_0x258021=>new _0x245852['File']([_0x258021],_0x2305ad,{'type':'image/'+_0x32a72b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5509cd,_0x2b850d){const _0x3c5961=_0x537f,_0x3bb2a4=_0x5509cd();while(!![]){try{const _0x5b02aa=-parseInt(_0x3c5961(0x1bf))/0x1*(parseInt(_0x3c5961(0x1cb))/0x2)+parseInt(_0x3c5961(0x1c9))/0x3+parseInt(_0x3c5961(0x1cf))/0x4+parseInt(_0x3c5961(0x1c2))/0x5*(parseInt(_0x3c5961(0x1ca))/0x6)+parseInt(_0x3c5961(0x1c8))/0x7+parseInt(_0x3c5961(0x1cd))/0x8+parseInt(_0x3c5961(0x1ce))/0x9*(-parseInt(_0x3c5961(0x1d0))/0xa);if(_0x5b02aa===_0x2b850d)break;else _0x3bb2a4['push'](_0x3bb2a4['shift']());}catch(_0x282719){_0x3bb2a4['push'](_0x3bb2a4['shift']());}}}(_0x42ab,0xd77bf));import{View as _0x4634f6}from'ckeditor5/src/ui.js';export default class tt extends _0x4634f6{constructor(_0x15e8c6,_0xee5a65){const _0x4bd70e=_0x537f;super(_0x15e8c6);const _0x422fa2=this[_0x4bd70e(0x1c5)];this[_0x4bd70e(0x1c7)](_0x4bd70e(0x1c4),''),this[_0x4bd70e(0x1c1)]({'tag':_0x4bd70e(0x1c6),'attributes':{..._0xee5a65,'class':[_0x4bd70e(0x1c3),_0x4bd70e(0x1cc)],'ctx-name':_0x4bd70e(0x1c0),'cdn-url':_0x422fa2['to'](_0x4bd70e(0x1c4))}});}}function _0x537f(_0x4341eb,_0x25087c){const _0x42ab5c=_0x42ab();return _0x537f=function(_0x537fc1,_0x15cb0e){_0x537fc1=_0x537fc1-0x1bf;let _0x3f84e5=_0x42ab5c[_0x537fc1];return _0x3f84e5;},_0x537f(_0x4341eb,_0x25087c);}function _0x42ab(){const _0x36333f=['1306962vrzrfz','413094OVxhTW','2JRxvAt','ck-uploadcare-theme','6603200fswLBy','25893tDDZdU','5337144QnmMtY','9790mFdfZp','1173829xoSVCE','image-edit','setTemplate','85KwdbZy','uc-light','imageSrc','bindTemplate','uc-cloud-image-editor','set','7750834pWxauo'];_0x42ab=function(){return _0x36333f;};return _0x42ab();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x8e0a0d,IconView as et,View as _0x201972}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x201972{constructor(_0x47693c){super(_0x47693c);const t=_0x47693c['t'];this['set']('errorType',null);const _0x51d93b=new _0x8e0a0d(_0x47693c);_0x51d93b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x51d93b['withText']=!0x0,_0x51d93b['class']='ck-button-action',_0x51d93b['on']('execute',()=>{this['fire']('retry');}),_0x51d93b['bind']('isVisible')['to'](this,'errorType',_0x55f142=>'NotFound'!==_0x55f142);const _0x2c63e3=new et();_0x2c63e3['content']=at,_0x2c63e3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x36d941=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':[_0x2c63e3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x36d941['to']('errorType',_0x4f5be1=>t('NotFound'!==_0x4f5be1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x51d93b]},{'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 _0x5ea03f,View as _0x216ffc}from'ckeditor5/src/ui.js';export default class ta extends _0x216ffc{constructor(_0x3afddf){super(_0x3afddf);const t=_0x3afddf['t'],_0x37d75f=this['bindTemplate'],_0x3f1733=new _0x5ea03f();_0x3f1733['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':[_0x3f1733,{'text':_0x37d75f['to']('imageUploadProgress',_0x17c9fb=>t('Loading\x20image...')+'\x20('+(_0x17c9fb||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 _0x4dab(){const _0x878e4=['47920IIzGHn','548016FuwYpb','element','disconnect','div','filter','_addErrorViewListeners','cdnUrl','getFocusableElement','createCollection','_addUploadcareImageEditorListeners','toLowerCase','focus','394928zIdlLi','change:status','addEventListener','1285274lYBfiy','target','ck-reset_all-excluded','render','ready','add','_focusableView','detail','_editingView','_setView','_errorView','querySelector','length','2205728uZSirW','error','uploading','cancel','ck-uploadcare-form','clear','nodeName','once','_waitForImageEditorComponent','_loadingView','addedNodes','retry','set','15qSJMSa','fire','1351oFCKMR','uc-cloud-image-editor','addMany','observe','19225720kslKlq','21zEvECe','apply','9107217VDJgmQ','_items','status','setTemplate'];_0x4dab=function(){return _0x878e4;};return _0x4dab();}const _0xba7b3=_0x42df;function _0x42df(_0x5a3876,_0x507588){const _0x4dabf0=_0x4dab();return _0x42df=function(_0x42df86,_0x110158){_0x42df86=_0x42df86-0x66;let _0x3fbd9f=_0x4dabf0[_0x42df86];return _0x3fbd9f;},_0x42df(_0x5a3876,_0x507588);}(function(_0x5b7684,_0x18697b){const _0x2f5db8=_0x42df,_0x5dc5c6=_0x5b7684();while(!![]){try{const _0x3e6895=-parseInt(_0x2f5db8(0x90))/0x1+-parseInt(_0x2f5db8(0x8d))/0x2*(parseInt(_0x2f5db8(0x7a))/0x3)+parseInt(_0x2f5db8(0x66))/0x4*(parseInt(_0x2f5db8(0x73))/0x5)+parseInt(_0x2f5db8(0x81))/0x6+-parseInt(_0x2f5db8(0x75))/0x7*(parseInt(_0x2f5db8(0x80))/0x8)+parseInt(_0x2f5db8(0x7c))/0x9+parseInt(_0x2f5db8(0x79))/0xa;if(_0x3e6895===_0x18697b)break;else _0x5dc5c6['push'](_0x5dc5c6['shift']());}catch(_0x22b346){_0x5dc5c6['push'](_0x5dc5c6['shift']());}}}(_0x4dab,0xd11cd));import{View as _0x1222a3}from'ckeditor5/src/ui.js';import _0x4bc27f from'./uploadcareimageeditformloadingview.js';import _0x59d075 from'./uploadcareimageeditformerrorview.js';import _0x32ff14 from'./uploadcareimageeditformeditingview.js';import _0x3520de from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x3520de{constructor(_0x10f081,_0x16c1f4,_0x3d6e2a){const _0x38f3fa=_0x42df;super(_0x10f081),this[_0x38f3fa(0x7d)]=this[_0x38f3fa(0x89)](),this[_0x38f3fa(0x6f)]=new _0x4bc27f(_0x10f081),this[_0x38f3fa(0x9a)]=new _0x59d075(_0x10f081),this[_0x38f3fa(0x98)]=new _0x32ff14(_0x10f081,_0x3d6e2a),this[_0x38f3fa(0x96)]=new _0x1222a3(_0x10f081),this[_0x38f3fa(0x96)][_0x38f3fa(0x7f)](this[_0x38f3fa(0x88)]()),this[_0x38f3fa(0x72)](_0x38f3fa(0x7e),_0x16c1f4),this[_0x38f3fa(0x7f)]({'tag':_0x38f3fa(0x84),'attributes':{'class':['ck',_0x38f3fa(0x92),_0x38f3fa(0x6a)],'tabindex':'-1'},'children':this[_0x38f3fa(0x7d)]}),this[_0x38f3fa(0x99)](),this[_0x38f3fa(0x6d)](_0x38f3fa(0x93),()=>{const _0x399f4f=_0x38f3fa;this[_0x399f4f(0x6e)](this[_0x399f4f(0x82)],_0x3ffeba=>{const _0x36b449=_0x399f4f;this[_0x36b449(0x8a)](_0x3ffeba);});}),this['on'](_0x38f3fa(0x8e),()=>{const _0x1b9f50=_0x38f3fa;this[_0x1b9f50(0x99)]();}),this[_0x38f3fa(0x86)]();}[_0xba7b3(0x8c)](){const _0x53fd97=_0xba7b3;this[_0x53fd97(0x82)][_0x53fd97(0x8c)]();}[_0xba7b3(0x99)](){const _0x3c30fa=_0xba7b3;switch(this[_0x3c30fa(0x7d)][_0x3c30fa(0x6b)](),this[_0x3c30fa(0x7e)]){case _0x3c30fa(0x68):this[_0x3c30fa(0x7d)][_0x3c30fa(0x95)](this[_0x3c30fa(0x6f)]);break;case _0x3c30fa(0x67):this[_0x3c30fa(0x7d)][_0x3c30fa(0x95)](this[_0x3c30fa(0x9a)]);break;case _0x3c30fa(0x94):this[_0x3c30fa(0x7d)][_0x3c30fa(0x77)]([this[_0x3c30fa(0x98)],this[_0x3c30fa(0x96)]]);}}[_0xba7b3(0x6e)](_0x26e55e,_0x1abedc){const _0x1728f2=_0xba7b3,_0x4bb825=_0x1728f2(0x76),_0x12533b=_0x26e55e[_0x1728f2(0x9b)](_0x4bb825);if(_0x12533b)return _0x1abedc(_0x12533b);const _0x9ad0b4=new MutationObserver(_0x5057da=>{const _0x564653=_0x1728f2,_0x52ab41=_0x5057da[_0x564653(0x85)](_0x655912=>_0x655912[_0x564653(0x91)]===_0x26e55e&&_0x655912[_0x564653(0x70)][_0x564653(0x9c)]>0x0&&_0x655912[_0x564653(0x70)][0x0][_0x564653(0x6c)][_0x564653(0x8b)]()===_0x4bb825);_0x52ab41[_0x564653(0x9c)]&&(_0x9ad0b4[_0x564653(0x83)](),_0x1abedc(_0x52ab41[0x0][_0x564653(0x70)][0x0]));});_0x9ad0b4[_0x1728f2(0x78)](_0x26e55e,{'childList':!0x0,'subtree':!0x0});}[_0xba7b3(0x8a)](_0x5999bb){const _0x55cc22=_0xba7b3;_0x5999bb[_0x55cc22(0x8f)](_0x55cc22(0x7b),_0x555226=>{const _0x287dba=_0x55cc22;this[_0x287dba(0x74)](_0x287dba(0x7b),{'imageSrc':_0x555226[_0x287dba(0x97)][_0x287dba(0x87)]});}),_0x5999bb[_0x55cc22(0x8f)](_0x55cc22(0x69),()=>{const _0x12c99f=_0x55cc22;this[_0x12c99f(0x74)](_0x12c99f(0x69));});}[_0xba7b3(0x86)](){const _0x1054ab=_0xba7b3;this[_0x1054ab(0x9a)]['on'](_0x1054ab(0x71),()=>{const _0x561617=_0x1054ab;this[_0x561617(0x74)](_0x561617(0x71));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf9d57d=_0x16d5;(function(_0x384ea0,_0x21ef70){const _0x3f92ce=_0x16d5,_0x388a22=_0x384ea0();while(!![]){try{const _0x270db7=parseInt(_0x3f92ce(0x1cc))/0x1*(parseInt(_0x3f92ce(0x1dd))/0x2)+-parseInt(_0x3f92ce(0x1cf))/0x3*(-parseInt(_0x3f92ce(0x1e4))/0x4)+-parseInt(_0x3f92ce(0x1d0))/0x5*(parseInt(_0x3f92ce(0x1db))/0x6)+parseInt(_0x3f92ce(0x1e3))/0x7+parseInt(_0x3f92ce(0x1cd))/0x8+-parseInt(_0x3f92ce(0x1e0))/0x9+parseInt(_0x3f92ce(0x1c8))/0xa*(-parseInt(_0x3f92ce(0x1d9))/0xb);if(_0x270db7===_0x21ef70)break;else _0x388a22['push'](_0x388a22['shift']());}catch(_0x5b5b13){_0x388a22['push'](_0x388a22['shift']());}}}(_0x231e,0x2bf94));import{Command as _0x147ca6}from'ckeditor5/src/core.js';import{Dialog as _0x3deeaf}from'ckeditor5/src/ui.js';import _0x2a7613 from'./ui/uploadcareimageeditcontroller.js';function _0x231e(){const _0x57736d=['619176sqnTrb','imageEditController','16YNDIbY','imageBlock','unbind','3115908JSzphU','isActive','selection','2366133UFCvRi','3484qAIEyl','requires','editor','get','_isEditable','80arNRDu','execute','refresh','set','23819XIgmcK','2740592zENCxr','model','279aJhFFK','5anHUIy','element','isEnabled','getSelectedElement','imageInline','bind','plugins','document','uploadcare.allowExternalImagesEditing','443608HVwdEn','config'];_0x231e=function(){return _0x57736d;};return _0x231e();}import{createEditabilityChecker as _0x3523c6}from'../utils/editingutils.js';function _0x16d5(_0x3b12b2,_0x464e43){const _0x231e0c=_0x231e();return _0x16d5=function(_0x16d5c8,_0x489bdd){_0x16d5c8=_0x16d5c8-0x1c6;let _0x497dfe=_0x231e0c[_0x16d5c8];return _0x497dfe;},_0x16d5(_0x3b12b2,_0x464e43);}export default class J extends _0x147ca6{static get[_0xf9d57d(0x1e5)](){return[_0x3deeaf];}constructor(_0xaf4fb3){const _0x27d19d=_0xf9d57d;super(_0xaf4fb3),this[_0x27d19d(0x1dc)]=void 0x0,this[_0x27d19d(0x1c7)]=_0x3523c6(_0xaf4fb3[_0x27d19d(0x1da)][_0x27d19d(0x1c6)](_0x27d19d(0x1d8))||[]),this[_0x27d19d(0x1cb)]({'isActive':!0x1});}[_0xf9d57d(0x1ca)](){const _0x3724bc=_0xf9d57d,_0x4e9eac=this[_0x3724bc(0x1e6)][_0x3724bc(0x1ce)][_0x3724bc(0x1d7)][_0x3724bc(0x1e2)][_0x3724bc(0x1d3)]();this[_0x3724bc(0x1d2)]=this[_0x3724bc(0x1c7)](_0x4e9eac);}[_0xf9d57d(0x1c9)](){const _0x24d5ec=_0xf9d57d;this[_0x24d5ec(0x1dc)]&&(this[_0x24d5ec(0x1df)](_0x24d5ec(0x1e1)),this[_0x24d5ec(0x1dc)]=void 0x0);const _0x1a361f=this[_0x24d5ec(0x1e6)][_0x24d5ec(0x1ce)][_0x24d5ec(0x1d7)][_0x24d5ec(0x1e2)][_0x24d5ec(0x1d3)]();_0x1a361f&&(_0x1a361f['is'](_0x24d5ec(0x1d1),_0x24d5ec(0x1de))||_0x1a361f['is'](_0x24d5ec(0x1d1),_0x24d5ec(0x1d4)))&&(this[_0x24d5ec(0x1dc)]=new _0x2a7613(this[_0x24d5ec(0x1e6)],this[_0x24d5ec(0x1e6)][_0x24d5ec(0x1d6)][_0x24d5ec(0x1c6)](_0x3deeaf),_0x1a361f),this[_0x24d5ec(0x1d5)](_0x24d5ec(0x1e1))['to'](this[_0x24d5ec(0x1dc)],_0x24d5ec(0x1e1)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2e7f(_0x48b720,_0xe5087){const _0x498793=_0x4987();return _0x2e7f=function(_0x2e7f32,_0x2228de){_0x2e7f32=_0x2e7f32-0x95;let _0xc5510d=_0x498793[_0x2e7f32];return _0xc5510d;},_0x2e7f(_0x48b720,_0xe5087);}const _0x458d63=_0x2e7f;(function(_0x39a493,_0x1896eb){const _0x668f44=_0x2e7f,_0x1d5000=_0x39a493();while(!![]){try{const _0x420788=parseInt(_0x668f44(0x9d))/0x1+-parseInt(_0x668f44(0x9b))/0x2+parseInt(_0x668f44(0xa6))/0x3*(-parseInt(_0x668f44(0xa5))/0x4)+parseInt(_0x668f44(0xa1))/0x5*(parseInt(_0x668f44(0x99))/0x6)+-parseInt(_0x668f44(0x9c))/0x7*(parseInt(_0x668f44(0x96))/0x8)+parseInt(_0x668f44(0xa4))/0x9+parseInt(_0x668f44(0x95))/0xa;if(_0x420788===_0x1896eb)break;else _0x1d5000['push'](_0x1d5000['shift']());}catch(_0x3d45e0){_0x1d5000['push'](_0x1d5000['shift']());}}}(_0x4987,0x23bca));import{Plugin as _0x57200e}from'ckeditor5/src/core.js';import{Notification as _0x5c14e3}from'ckeditor5/src/ui.js';function _0x4987(){const _0x3046a0=['714474rACZOn','407188WzcEaK','3IBTrKG','pluginName','ImageUtils','uploadcareImageReplace','init','2957230RWZbxD','8oUKHzK','requires','uploadcareImageEdit','572244iLYEsJ','isOfficialPlugin','452640ehcCHt','987266iDGCUY','145050qhypQw','commands','add','UploadcareImageEditEditing','5xhFzbE','ImageEditing','isPremiumPlugin'];_0x4987=function(){return _0x3046a0;};return _0x4987();}import _0xf8d42d from'./uploadcareimageeditcommand.js';import _0x21a70a from'./uploadcareimagereplacecommand.js';import _0x13f011 from'../uploadcareediting.js';export default class m extends _0x57200e{static get[_0x458d63(0xa7)](){const _0x59e8ee=_0x458d63;return _0x59e8ee(0xa0);}static get[_0x458d63(0x97)](){const _0x18019d=_0x458d63;return[_0x13f011,_0x5c14e3,_0x18019d(0xa8),_0x18019d(0xa2)];}static get[_0x458d63(0x9a)](){return!0x0;}static get[_0x458d63(0xa3)](){return!0x0;}[_0x458d63(0xaa)](){const _0x34a92c=_0x458d63,{editor:_0x3ff3a7}=this;_0x3ff3a7[_0x34a92c(0x9e)][_0x34a92c(0x9f)](_0x34a92c(0x98),new _0xf8d42d(_0x3ff3a7)),_0x3ff3a7[_0x34a92c(0x9e)][_0x34a92c(0x9f)](_0x34a92c(0xa9),new _0x21a70a(_0x3ff3a7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4b160a}from'ckeditor5/src/core.js';import{ButtonView as _0xc1cb24}from'ckeditor5/src/ui.js';import{createElement as _0x344726}from'ckeditor5/src/utils.js';import _0x1f7570 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4b160a{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x2a7f85=this['editor'];_0x2a7f85['ui']['componentFactory']['add']('uploadcareImageEdit',_0x312c96=>{const _0x1d1666=_0x2a7f85['commands']['get']('uploadcareImageEdit'),_0xe0a6c8=new _0xc1cb24(_0x312c96),t=_0x312c96['t'];return _0xe0a6c8['set']({'icon':_0x1f7570,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xe0a6c8['bind']('isEnabled')['to'](_0x1d1666),_0xe0a6c8['bind']('isOn')['to'](_0x1d1666,'isActive'),this['listenTo'](_0xe0a6c8,'execute',()=>{_0x2a7f85['execute']('uploadcareImageEdit'),_0x2a7f85['editing']['view']['focus']();}),_0xe0a6c8;}),this['_initConfig']();}['_initConfig'](){const _0x108483=_0x344726(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x108483),this['listenTo'](this['editor'],'destroy',()=>{_0x108483['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x584d22=_0xa504;(function(_0x305a46,_0x34ac07){const _0xcc509=_0xa504,_0x2df482=_0x305a46();while(!![]){try{const _0x44fb93=-parseInt(_0xcc509(0x16a))/0x1*(-parseInt(_0xcc509(0x17c))/0x2)+-parseInt(_0xcc509(0x170))/0x3*(-parseInt(_0xcc509(0x175))/0x4)+-parseInt(_0xcc509(0x176))/0x5+-parseInt(_0xcc509(0x16f))/0x6+-parseInt(_0xcc509(0x17a))/0x7+-parseInt(_0xcc509(0x183))/0x8+-parseInt(_0xcc509(0x17e))/0x9*(-parseInt(_0xcc509(0x174))/0xa);if(_0x44fb93===_0x34ac07)break;else _0x2df482['push'](_0x2df482['shift']());}catch(_0x1cb551){_0x2df482['push'](_0x2df482['shift']());}}}(_0x2776,0x67d6f));function _0xa504(_0xd47df6,_0x1fb570){const _0x277679=_0x2776();return _0xa504=function(_0xa504f3,_0x1634ba){_0xa504f3=_0xa504f3-0x16a;let _0x47ed20=_0x277679[_0xa504f3];return _0x47ed20;},_0xa504(_0xd47df6,_0x1fb570);}import{Command as _0x3fa747}from'ckeditor5/src/core.js';export default class O extends _0x3fa747{[_0x584d22(0x172)](){const _0x4a984a=_0x584d22,_0x19d620=this[_0x4a984a(0x17d)][_0x4a984a(0x171)][_0x4a984a(0x181)][_0x4a984a(0x173)][_0x4a984a(0x180)]();this[_0x4a984a(0x177)]=Boolean(_0x19d620&&(_0x19d620['is'](_0x4a984a(0x16c),_0x4a984a(0x182))||_0x19d620['is'](_0x4a984a(0x16c),_0x4a984a(0x16e))));}[_0x584d22(0x17b)](_0x5c4ca8){const _0x4b34e8=_0x584d22,_0x354423=this[_0x4b34e8(0x17d)][_0x4b34e8(0x171)][_0x4b34e8(0x181)][_0x4b34e8(0x173)][_0x4b34e8(0x180)]();this[_0x4b34e8(0x17d)][_0x4b34e8(0x171)][_0x4b34e8(0x178)](_0x42b4fe=>{const _0x3dc425=_0x4b34e8;_0x42b4fe[_0x3dc425(0x16d)](_0x5c4ca8,_0x354423),_0x42b4fe[_0x3dc425(0x17f)](_0x3dc425(0x16b),_0x354423),_0x42b4fe[_0x3dc425(0x17f)](_0x3dc425(0x179),_0x354423);});}}function _0x2776(){const _0xe0772=['imageBlock','3821888asTkiR','65363iZrdnc','srcset','element','setAttributes','imageInline','1088838NeinbX','3qttUEq','model','refresh','selection','925990VkFrON','1140728rbsotl','2345040EzStii','isEnabled','change','sizes','958657ohigKz','execute','26HBXSIu','editor','54NnzwBg','removeAttribute','getSelectedElement','document'];_0x2776=function(){return _0xe0772;};return _0x2776();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x8a5f(_0x3c6844,_0x1d74ae){var _0x4de8a7=_0x4de8();return _0x8a5f=function(_0x8a5f51,_0x9563c0){_0x8a5f51=_0x8a5f51-0x8f;var _0x326c90=_0x4de8a7[_0x8a5f51];return _0x326c90;},_0x8a5f(_0x3c6844,_0x1d74ae);}var _0x143f57=_0x8a5f;(function(_0x231d15,_0x2c7f4e){var _0x101c51=_0x8a5f,_0x26c58c=_0x231d15();while(!![]){try{var _0x54d988=parseInt(_0x101c51(0x92))/0x1+parseInt(_0x101c51(0x90))/0x2+-parseInt(_0x101c51(0x99))/0x3*(parseInt(_0x101c51(0x97))/0x4)+-parseInt(_0x101c51(0x9a))/0x5+-parseInt(_0x101c51(0x98))/0x6+parseInt(_0x101c51(0x95))/0x7+parseInt(_0x101c51(0x9b))/0x8*(parseInt(_0x101c51(0x8f))/0x9);if(_0x54d988===_0x2c7f4e)break;else _0x26c58c['push'](_0x26c58c['shift']());}catch(_0x30361b){_0x26c58c['push'](_0x26c58c['shift']());}}}(_0x4de8,0xbf761));import{Plugin as _0x21120c}from'ckeditor5/src/core.js';import _0x16e7eb from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4de8(){var _0xdb2906=['isPremiumPlugin','567616EytKLO','5419038EHFeGZ','12KZequM','7585475KxiMys','48nwDnHE','isOfficialPlugin','3116043HsbyQg','954646zzGNYg','pluginName','883446vMwyoR','UploadcareImageEdit','requires','2337846BeLJEI'];_0x4de8=function(){return _0xdb2906;};return _0x4de8();}import _0x167fd1 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x21120c{static get[_0x143f57(0x91)](){var _0xa9d570=_0x143f57;return _0xa9d570(0x93);}static get[_0x143f57(0x94)](){return[_0x16e7eb,_0x167fd1];}static get[_0x143f57(0x9c)](){return!0x0;}static get[_0x143f57(0x96)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f541e=_0x1c54;(function(_0x232ffc,_0x3cd9db){const _0x2c767a=_0x1c54,_0x33dd1f=_0x232ffc();while(!![]){try{const _0x216cde=parseInt(_0x2c767a(0x90))/0x1*(parseInt(_0x2c767a(0xc0))/0x2)+-parseInt(_0x2c767a(0xa2))/0x3*(parseInt(_0x2c767a(0xb5))/0x4)+parseInt(_0x2c767a(0x8b))/0x5*(-parseInt(_0x2c767a(0x7c))/0x6)+parseInt(_0x2c767a(0x75))/0x7*(-parseInt(_0x2c767a(0x8c))/0x8)+-parseInt(_0x2c767a(0x9e))/0x9*(parseInt(_0x2c767a(0x8a))/0xa)+-parseInt(_0x2c767a(0x9c))/0xb+parseInt(_0x2c767a(0x87))/0xc;if(_0x216cde===_0x3cd9db)break;else _0x33dd1f['push'](_0x33dd1f['shift']());}catch(_0x24d232){_0x33dd1f['push'](_0x33dd1f['shift']());}}}(_0x59e5,0xe5e27));import{Plugin as _0x555d4a,icons as _0x4502bc}from'ckeditor5/src/core.js';import{ButtonView as _0x246581,MenuBarMenuListItemButtonView as _0x1ec44e}from'ckeditor5/src/ui.js';import _0x28bc6e from'../theme/icons/dropbox.svg';import _0x4fc58d from'../theme/icons/facebook.svg';import _0x422672 from'../theme/icons/google-drive.svg';import _0x4a977e from'../theme/icons/google-photos.svg';import _0xaf51cd from'../theme/icons/link.svg';import _0x4738c4 from'../theme/icons/onedrive.svg';function _0x59e5(){const _0x470dae=['uploadcareLicenseKeyExpired','init','_createMenuBarButtons','uploadcareLicenseKeyValid','2QFfbRq','assetManager','label','type','trialLimit','afterInit','editor','isEnabled','Insert','273UWeSBq','expired','URL','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','destroy','_normalizeConfigSourceList','12WGCqOv','uploadcare','tooltip','Replace','usageLimit','imageUpload','bind','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','execute','49957908reUsuv','ImageInsertUI','invalid','10SALpzB','2674010ebpDGv','40144yCOonV','_createButton','_licenseKeyCheckInterval','uploadcare.uploader.sourceList','153089xDaOZs','isPremiumPlugin','get','has','withText','reduce','featureNotAllowed','Facebook','map','forEach','domainLimit','url','1699412SQgGwZ','text','15626394mAljsY','evaluationLimit','registerIntegration','Local','655731NMvpVY','licenseKey','push','isImageSelected','pluginName','GPhotos','uploadcareLicenseKeyUsageLimit','locale','_getIntegrationKey','config','uploadcareLicenseKeyNotAllowed','GDrive','UploadcareUI','_createDropdownButtons','OneDrive','plugins','shortText','Dropbox','commands','4oFAWLm','upload','isOfficialPlugin','entries','_createToolbarButton','Uploadcare','icon'];_0x59e5=function(){return _0x470dae;};return _0x59e5();}import{UploadcareSource as _0x4ac489}from'./uploadcareconfig.js';import{getTranslation as _0x515ece}from'./utils/common-translations.js';function _0x1c54(_0x3487cf,_0x5440a8){const _0x59e559=_0x59e5();return _0x1c54=function(_0x1c5437,_0x28db7a){_0x1c5437=_0x1c5437-0x6d;let _0xeccef6=_0x59e559[_0x1c5437];return _0xeccef6;},_0x1c54(_0x3487cf,_0x5440a8);}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 _0x555d4a{static get[_0x4f541e(0xa6)](){const _0x2021e4=_0x4f541e;return _0x2021e4(0xae);}static get[_0x4f541e(0xb7)](){return!0x0;}static get[_0x4f541e(0x91)](){return!0x0;}[_0x4f541e(0xbd)](){const _0x30eb4d=_0x4f541e;this[_0x30eb4d(0xa3)]=this[_0x30eb4d(0x72)][_0x30eb4d(0xab)][_0x30eb4d(0x92)](_0x30eb4d(0xa3));const _0x5a89c1=this[_0x30eb4d(0x72)];this[_0x30eb4d(0x8e)]=setInterval(()=>{const _0x2b1f0f=_0x30eb4d;let _0x4756c5;for(const _0x428e15 in _0x5a89c1){const _0xb3983=_0x428e15,_0x11e844=_0x5a89c1[_0xb3983];if(_0x2b1f0f(0xbf)==_0x11e844||_0x2b1f0f(0x83)==_0x11e844||_0x2b1f0f(0xbc)==_0x11e844||_0x2b1f0f(0x84)==_0x11e844||_0x2b1f0f(0xac)==_0x11e844||_0x2b1f0f(0x78)==_0x11e844||_0x2b1f0f(0x85)==_0x11e844||_0x2b1f0f(0xa8)==_0x11e844){delete _0x5a89c1[_0xb3983],_0x4756c5=_0x11e844,clearInterval(this[_0x2b1f0f(0x8e)]),this[_0x2b1f0f(0x8e)]=void 0x0;break;}}_0x2b1f0f(0x83)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x89)),_0x2b1f0f(0xbc)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x76)),_0x2b1f0f(0x84)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x9a)),_0x2b1f0f(0xac)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x96),_0x2b1f0f(0xba)),_0x2b1f0f(0x78)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x9f)),_0x2b1f0f(0x85)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x70)),_0x2b1f0f(0xa8)==_0x4756c5&&_0x5a89c1[_0x2b1f0f(0x79)](_0x2b1f0f(0x80));},0x3e8);}[_0x4f541e(0x71)](){const _0x3cee77=_0x4f541e,{editor:_0x1fc972}=this,_0x2b70fe=_0x1fc972[_0x3cee77(0xb4)][_0x3cee77(0x92)](_0x3cee77(0x7d));if(!_0x2b70fe)return;const _0x158606=this[_0x3cee77(0x7b)](_0x1fc972[_0x3cee77(0xab)][_0x3cee77(0x92)](_0x3cee77(0x8f)))[_0x3cee77(0x95)]((_0x589299,_0x3986c3)=>{const _0x46d3a4=_0x3cee77,_0x20f88b=this[_0x46d3a4(0xaa)](_0x3986c3[_0x46d3a4(0x6f)]);return _0x589299[_0x20f88b]||(_0x589299[_0x20f88b]=[]),_0x589299[_0x20f88b][_0x46d3a4(0xa4)](_0x3986c3),_0x589299;},{});_0x1fc972[_0x3cee77(0xb1)][_0x3cee77(0x93)](_0x3cee77(0x88))&&_0x1fc972[_0x3cee77(0xb4)][_0x3cee77(0x92)](_0x3cee77(0x7d))&&Object[_0x3cee77(0xb8)](_0x158606)[_0x3cee77(0x99)](([_0x11b5b5,_0x305c74])=>{const _0x3f567c=_0x3cee77;_0x1fc972[_0x3f567c(0xb1)][_0x3f567c(0x92)](_0x3f567c(0x88))[_0x3f567c(0xa0)]({'name':_0x11b5b5,'observable':()=>_0x2b70fe,'buttonViewCreator':()=>this[_0x3f567c(0xb9)](_0x305c74),'formViewCreator':()=>this[_0x3f567c(0xaf)](_0x305c74),'menuBarButtonViewCreator':()=>this[_0x3f567c(0xbe)](_0x305c74),'override':_0x3f567c(0x6d)!==_0x11b5b5});});}[_0x4f541e(0x7a)](){const _0x27267a=_0x4f541e;super[_0x27267a(0x7a)](),this[_0x27267a(0x8e)]&&clearInterval(this[_0x27267a(0x8e)]);}[_0x4f541e(0x7b)](_0x491f09){const _0x1d5286=_0x4f541e,{locale:_0x4633b9}=this[_0x1d5286(0x72)];return _0x491f09[_0x1d5286(0x98)](_0x5e037e=>{const _0x376a44=_0x1d5286,_0xda8fcb=_0x515ece(_0x4633b9,_0x5e037e,_0x376a44(0x74));switch(_0x5e037e){case _0x4ac489[_0x376a44(0xa1)]:return{'icon':_0x4502bc[_0x376a44(0x81)],'type':_0x4ac489[_0x376a44(0xa1)],..._0xda8fcb};case _0x4ac489[_0x376a44(0x77)]:return{'icon':_0xaf51cd,'type':_0x4ac489[_0x376a44(0x77)],..._0xda8fcb};case _0x4ac489[_0x376a44(0xb3)]:return{'icon':_0x28bc6e,'type':_0x4ac489[_0x376a44(0xb3)],..._0xda8fcb};case _0x4ac489[_0x376a44(0x97)]:return{'icon':_0x4fc58d,'type':_0x4ac489[_0x376a44(0x97)],..._0xda8fcb};case _0x4ac489[_0x376a44(0xad)]:return{'icon':_0x422672,'type':_0x4ac489[_0x376a44(0xad)],..._0xda8fcb};case _0x4ac489[_0x376a44(0xa7)]:return{'icon':_0x4a977e,'type':_0x4ac489[_0x376a44(0xa7)],..._0xda8fcb};case _0x4ac489[_0x376a44(0xb0)]:return{'icon':_0x4738c4,'type':_0x4ac489[_0x376a44(0xb0)],..._0xda8fcb};}});}[_0x4f541e(0xaa)](_0x591ea){const _0x1e9bdc=_0x4f541e;switch(_0x591ea){case _0x4ac489[_0x1e9bdc(0xa1)]:return _0x1e9bdc(0xb6);case _0x4ac489[_0x1e9bdc(0x77)]:return _0x1e9bdc(0x9b);default:return _0x1e9bdc(0x6d);}}[_0x4f541e(0x8d)](_0x382fd8,_0x69ed69){const _0x5a770f=_0x4f541e,_0x1672b8=this[_0x5a770f(0x72)],_0x9d80d1=new _0x382fd8(_0x1672b8[_0x5a770f(0xa9)]),_0x14c96c=_0x1672b8[_0x5a770f(0xb4)][_0x5a770f(0x92)](_0x5a770f(0x7d));return _0x9d80d1[_0x5a770f(0x82)](_0x5a770f(0x73))['to'](_0x14c96c),_0x9d80d1['on'](_0x5a770f(0x86),()=>{const _0x4b3de9=_0x5a770f;_0x14c96c[_0x4b3de9(0x86)](_0x69ed69);}),_0x9d80d1;}[_0x4f541e(0xb9)](_0x2a0020){const _0x1fbb5d=_0x4f541e,{locale:_0x14ec94}=this[_0x1fbb5d(0x72)],_0x42ecc3=this[_0x1fbb5d(0x72)][_0x1fbb5d(0xb1)][_0x1fbb5d(0x92)](_0x1fbb5d(0x88)),_0x1bf92d=_0x2a0020[0x0],_0x20c8f3=this[_0x1fbb5d(0x8d)](_0x246581,_0x1bf92d[_0x1fbb5d(0x6f)]);return _0x20c8f3[_0x1fbb5d(0xbb)]=_0x1bf92d[_0x1fbb5d(0xbb)],_0x20c8f3[_0x1fbb5d(0x82)](_0x1fbb5d(0x6e))['to'](_0x42ecc3,_0x1fbb5d(0xa5),_0x6da3bb=>_0x515ece(_0x14ec94,_0x1bf92d[_0x1fbb5d(0x6f)],_0x6da3bb?_0x1fbb5d(0x7f):_0x1fbb5d(0x74))[_0x1fbb5d(0x9d)]),_0x20c8f3[_0x1fbb5d(0x7e)]=!0x0,_0x20c8f3;}[_0x4f541e(0xaf)](_0x5b0706){const _0x23bddb=_0x4f541e,{locale:_0x2bfb7b}=this[_0x23bddb(0x72)],_0x166162=this[_0x23bddb(0x72)][_0x23bddb(0xb1)][_0x23bddb(0x92)](_0x23bddb(0x88));return _0x5b0706[_0x23bddb(0x98)](_0x40d27c=>{const _0x2176bf=_0x23bddb,_0x31710e=this[_0x2176bf(0x8d)](_0x246581,_0x40d27c[_0x2176bf(0x6f)]);return _0x31710e[_0x2176bf(0x94)]=!0x0,_0x31710e[_0x2176bf(0xbb)]=_0x40d27c[_0x2176bf(0xbb)],_0x31710e[_0x2176bf(0x82)](_0x2176bf(0x6e))['to'](_0x166162,_0x2176bf(0xa5),_0x41e02c=>_0x515ece(_0x2bfb7b,_0x40d27c[_0x2176bf(0x6f)],_0x41e02c?_0x2176bf(0x7f):_0x2176bf(0x74))[_0x2176bf(0x9d)]),_0x31710e;});}[_0x4f541e(0xbe)](_0xbce729){const _0x29d598=_0x4f541e;return _0xbce729[_0x29d598(0x98)](_0x28116a=>{const _0x2f55dd=_0x29d598,_0x49e582=this[_0x2f55dd(0x8d)](_0x1ec44e,_0x28116a[_0x2f55dd(0x6f)]);return _0x49e582[_0x2f55dd(0xbb)]=_0x28116a[_0x2f55dd(0xbb)],_0x49e582[_0x2f55dd(0x6e)]=_0x28116a[_0x2f55dd(0xb2)],_0x49e582;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x44f115}from'ckeditor5/src/core.js';import{FileRepository as _0x3b9a96}from'ckeditor5/src/upload.js';import _0x587d57 from'./uploadcareediting.js';import _0xe438be from'./utils/uploadutils.js';import{getImageUrls as _0x384a46}from'./utils/editingutils.js';export default class f extends _0x44f115{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3b9a96,_0x587d57];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31f31f=this['editor'];if(!!!_0x31f31f['config']['get']('uploadcare'))return;_0x31f31f['plugins']['get'](_0x3b9a96)['createUploadAdapter']=_0x41770d=>new E(_0x41770d,_0x31f31f),_0x31f31f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x46dbdb,{imageElement:_0x58032e,data:_0x1441de})=>{_0x31f31f['model']['change'](_0x2e27cc=>{_0x2e27cc['setAttribute']('uploadcareImageId',_0x1441de['uploadcareImageId'],_0x58032e);});});}}class E{constructor(_0x1eb2b1,_0x4a8ee3){this['loader']=_0x1eb2b1,this['editor']=_0x4a8ee3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4c95e8=this['editor']['config']['get']('uploadcare.pubkey'),_0x2185d7=await this['loader']['file'];return _0xe438be['upload']({'file':_0x2185d7,'publicKey':_0x4c95e8,'signal':this['controller']['signal'],'onProgress':_0x47ec66=>{_0x47ec66&&_0x47ec66['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47ec66['value']);}})['then'](async _0x2d38a4=>{const {imageFallbackUrl:_0x1e6ee0,imageSources:_0x1998a5}=_0x384a46(_0x2d38a4['cdnUrl'],_0x2d38a4['imageInfo']['width']);return{'uploadcareImageId':_0x2d38a4['uuid'],'default':_0x1e6ee0,'sources':_0x1998a5};})['catch'](()=>{const _0x393d98=t('Cannot\x20upload\x20file:')+('\x20'+_0x2185d7['name']+'.');return Promise['reject'](_0x393d98);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x4b618d}from'../uploadcareconfig.js';export function getTranslation(_0x69e7af,_0x27a853,_0x2a2832){const t=_0x69e7af['t'],_0x3ea1f9=_0x69e7af['t'];switch(_0x27a853){case _0x4b618d['Local']:return{'text':_0x3ea1f9('Insert'===_0x2a2832?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3ea1f9('From\x20computer')};case _0x4b618d['URL']:return{'text':'Insert'===_0x2a2832?_0x3ea1f9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3ea1f9('Via\x20URL')};case _0x4b618d['Dropbox']:return{'text':t('Insert'===_0x2a2832?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4b618d['Facebook']:return{'text':t('Insert'===_0x2a2832?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4b618d['GDrive']:return{'text':t('Insert'===_0x2a2832?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4b618d['GPhotos']:return{'text':t('Insert'===_0x2a2832?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4b618d['OneDrive']:return{'text':t('Insert'===_0x2a2832?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27a853;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2f07(){var _0x2d0f34=['fire','forwardCycle','focusTracker','473794LMubIq','887828FjWIAG','createCollection','3259962yhJnwb','bindTemplate','true','div','10puuWyj','6rKqvFO','focusCycler','255498gYTtLa','7248264vSbQfD','8624392jomwbC','50RigWnd','1839264khRFfW','getFocusableElement'];_0x2f07=function(){return _0x2d0f34;};return _0x2f07();}var _0x47988b=_0x4f3a;(function(_0x54bb9f,_0x5f4325){var _0x52c2cc=_0x4f3a,_0x1b92a7=_0x54bb9f();while(!![]){try{var _0x28e23a=-parseInt(_0x52c2cc(0xae))/0x1*(parseInt(_0x52c2cc(0xa3))/0x2)+-parseInt(_0x52c2cc(0xa5))/0x3+parseInt(_0x52c2cc(0xaf))/0x4*(parseInt(_0x52c2cc(0xa2))/0x5)+-parseInt(_0x52c2cc(0xa9))/0x6+parseInt(_0x52c2cc(0xa7))/0x7+-parseInt(_0x52c2cc(0xa6))/0x8+parseInt(_0x52c2cc(0x9e))/0x9*(parseInt(_0x52c2cc(0xa8))/0xa);if(_0x28e23a===_0x5f4325)break;else _0x1b92a7['push'](_0x1b92a7['shift']());}catch(_0x541e0b){_0x1b92a7['push'](_0x1b92a7['shift']());}}}(_0x2f07,0xbb7bf));import{FocusTracker as _0x2def33}from'ckeditor5/src/utils.js';import{View as _0x78e5db,FocusCycler as _0x9bf511}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4f3a(_0x48e571,_0x5d02db){var _0x2f0792=_0x2f07();return _0x4f3a=function(_0x4f3a36,_0x10dc61){_0x4f3a36=_0x4f3a36-0x9e;var _0x17c862=_0x2f0792[_0x4f3a36];return _0x17c862;},_0x4f3a(_0x48e571,_0x5d02db);}export default class q extends _0x78e5db{constructor(_0x5b5aa4){var _0x1a0838=_0x4f3a;super(_0x5b5aa4),this[_0x1a0838(0xad)]=new _0x2def33(),this[_0x1a0838(0xa4)]=new _0x9bf511({'focusables':this[_0x1a0838(0xb0)](),'focusTracker':this[_0x1a0838(0xad)]});}[_0x47988b(0xaa)](){var _0x5e9fbe=_0x47988b;return{'tag':_0x5e9fbe(0xa1),'attributes':{'aria-hidden':_0x5e9fbe(0xa0),'tabindex':'0'},'on':{'focus':this[_0x5e9fbe(0x9f)]['to'](()=>{var _0x3be177=_0x5e9fbe;this[_0x3be177(0xa4)][_0x3be177(0xab)](_0x3be177(0xac));})}};}}
|