@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250410.0 → 0.0.0-nightly-20250413.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x321ad1=_0x167f;(function(_0x5b54a9,_0x2212fb){const _0x4bd67b=_0x167f,_0x52d293=_0x5b54a9();while(!![]){try{const _0x3a8dc1=parseInt(_0x4bd67b(0x17a))/0x1*(parseInt(_0x4bd67b(0x15b))/0x2)+-parseInt(_0x4bd67b(0x155))/0x3*(-parseInt(_0x4bd67b(0x159))/0x4)+parseInt(_0x4bd67b(0x15c))/0x5*(-parseInt(_0x4bd67b(0x189))/0x6)+-parseInt(_0x4bd67b(0x19b))/0x7*(parseInt(_0x4bd67b(0x16e))/0x8)+parseInt(_0x4bd67b(0x192))/0x9+-parseInt(_0x4bd67b(0x198))/0xa*(parseInt(_0x4bd67b(0x16f))/0xb)+-parseInt(_0x4bd67b(0x181))/0xc*(-parseInt(_0x4bd67b(0x14c))/0xd);if(_0x3a8dc1===_0x2212fb)break;else _0x52d293['push'](_0x52d293['shift']());}catch(_0x4b3960){_0x52d293['push'](_0x52d293['shift']());}}}(_0x1f5a,0x6106d));import{Plugin as _0x5c505f}from'ckeditor5/src/core.js';import{Dialog as _0x4ff182}from'ckeditor5/src/ui.js';function _0x167f(_0x3a189b,_0x3e0546){const _0x1f5a28=_0x1f5a();return _0x167f=function(_0x167f94,_0x3de06a){_0x167f94=_0x167f94-0x148;let _0x380a5b=_0x1f5a28[_0x167f94];return _0x380a5b;},_0x167f(_0x3a189b,_0x3e0546);}function _0x1f5a(){const _0x345016=['requires','href','document','114117ezALdN','selection','_configElement','join','editor','editing','conversion','120300DJllQv','isRegistered','elementToAttribute','get','uc-upload-ctx-provider','uploadcare.uploader','ctxElement','attributeToAttribute','924iPgOHl','locale','uploadcareImageId','upcast','isOfficialPlugin','listenTo','uploadcareImageReplace','model','querySelector','1994895xAPiUz','execute','_initConfig','uploadcare','body','_initImageProcessingIndicator','738930qUkjuh','configElement','getAttribute','7evaypS','insertImage','iconHrefResolver','afterInit','_initSchema','pluginName','#uc-icon-arrow-down','\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','1235fuUnbh','downcast','getSelectedElement','imageInline','UploadcareEditing','input[uploadcare-file-input]','replaceImageSource','uc-config','isPremiumPlugin','6xYSwBB','extend','remove','uploadcare.pubkey','233452zwHucT','PictureEditing','10dziBCE','17065bJXqML','destroy','contentLanguage','imageBlock','cleanupImage','uploader','once','config','commands','_initCtx','appendChild','fromCharCode','render','_initConversion','for','closeMax','map','schema','2777392sPbvAO','88EKxnho','_ctxElement','data-uc-image-id','view','add','init','removeAttribute','true'];_0x1f5a=function(){return _0x345016;};return _0x1f5a();}import{createElement as _0x4c197a,global as _0x42f8be,uid as _0x458bd0}from'ckeditor5/src/utils.js';import _0x13f722 from'./uploadcarecommand.js';import _0x553369 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x42938a}from'./utils/editingutils.js';export default class i extends _0x5c505f{[_0x321ad1(0x17c)]=null;[_0x321ad1(0x170)]=null;static get[_0x321ad1(0x149)](){const _0x248ebb=_0x321ad1;return _0x248ebb(0x150);}static get[_0x321ad1(0x177)](){const _0x3282fb=_0x321ad1;return[_0x3282fb(0x15a),_0x553369,_0x4ff182];}static get[_0x321ad1(0x18d)](){return!0x0;}static get[_0x321ad1(0x154)](){return!0x0;}get[_0x321ad1(0x199)](){const _0x16babf=_0x321ad1;return this[_0x16babf(0x17c)];}get[_0x321ad1(0x187)](){const _0x8214d8=_0x321ad1;return this[_0x8214d8(0x170)];}[_0x321ad1(0x174)](){const _0x23950e=_0x321ad1,_0xa3a14c=this[_0x23950e(0x17e)];_0xa3a14c[_0x23950e(0x164)][_0x23950e(0x173)](_0x23950e(0x195),new _0x13f722(_0xa3a14c));}[_0x321ad1(0x19e)](){const _0x26d999=_0x321ad1;this[_0x26d999(0x148)](),this[_0x26d999(0x169)](),this[_0x26d999(0x194)](),this[_0x26d999(0x165)](),this[_0x26d999(0x197)](),this[_0x26d999(0x18e)](this[_0x26d999(0x17e)],_0x26d999(0x15d),()=>{const _0x560e79=_0x26d999;this[_0x560e79(0x17c)]&&(this[_0x560e79(0x17c)][_0x560e79(0x157)](),this[_0x560e79(0x17c)]=null),this[_0x560e79(0x170)]&&(this[_0x560e79(0x170)][_0x560e79(0x157)](),this[_0x560e79(0x170)]=null);const _0x54318f=_0x42f8be[_0x560e79(0x179)][_0x560e79(0x191)](_0x560e79(0x151));_0x54318f&&_0x54318f[_0x560e79(0x157)]();}),async function(_0x12629e){const _0x220fa5=_0x2c3268([0x56,0x45,0x37,0x34,0x75,0x4a,0x47,0x79,0x70,0x43,0x6e,0x32,0x6c,0x65,0x71,0x6f,0x48,0x41,0x51,0x53,0x57,0x4f,0x31,0x52,0x67,0x64,0x6b,0x54,0x58,0x76,0x36,0x5a,0x50,0x77,0x72,0x39,0x7a,0x6a,0x4b,0x4d,0x38,0x6d,0x35,0x66,0x74,0x69,0x61,0x68,0x42,0x33,0x44,0x73,0x4c,0x59,0x55,0x30,0x46,0x62,0x49,0x4e,0x78,0x63]),_0x1feb1f=0x113d7281,_0x5409cc=0x113a1621^_0x1feb1f,_0x28e805=window[_0x2c3268([0x44,0x61,0x74,0x65])][_0x2c3268([0x6e,0x6f,0x77])](),_0x2ed768=_0x12629e[_0x2c3268([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3dd50d=new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bed13=>{_0x2ed768[_0x2c3268([0x6f,0x6e,0x63,0x65])](_0x2c3268([0x72,0x65,0x61,0x64,0x79]),_0x3bed13);}),_0x16fc2b={[_0x2c3268([0x6b,0x74,0x79])]:_0x2c3268([0x45,0x43]),[_0x2c3268([0x75,0x73,0x65])]:_0x2c3268([0x73,0x69,0x67]),[_0x2c3268([0x63,0x72,0x76])]:_0x2c3268([0x50,0x2d,0x32,0x35,0x36]),[_0x2c3268([0x78])]:_0x2c3268([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]),[_0x2c3268([0x79])]:_0x2c3268([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]),[_0x2c3268([0x61,0x6c,0x67])]:_0x2c3268([0x45,0x53,0x32,0x35,0x36])},_0xfb8ea9=_0x2ed768[_0x2c3268([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c3268([0x67,0x65,0x74])](_0x2c3268([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2889c2(){let _0x5ce8d9,_0x1566a3=null,_0x3b3e73=null;try{if(_0xfb8ea9==_0x2c3268([0x47,0x50,0x4c]))return _0x2c3268([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ce8d9=_0x528534(),!_0x5ce8d9)return _0x2c3268([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ce8d9[_0x2c3268([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b3e73=_0x5a4fa0(_0x5ce8d9[_0x2c3268([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ce8d9[_0x2c3268([0x6a,0x74,0x69])])),await _0x3bfbc0()?_0x41a194()?_0x4d9f05()?_0x2c3268([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47f5e8()?(_0x5ce8d9[_0x2c3268([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c3268([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1566a3=_0x3fcd24(_0x2c3268([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ce8d9[_0x2c3268([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c3268([0x74,0x72,0x69,0x61,0x6c])&&(_0x1566a3=_0x3fcd24(_0x2c3268([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcd7bac()):_0x2c3268([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c3268([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c3268([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x15d92d){return _0x2c3268([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d9f05(){const _0x119661=[_0x2c3268([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c3268([0x74,0x72,0x69,0x61,0x6c])][_0x2c3268([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce8d9[_0x2c3268([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28e805/0x3e8:0xe10*_0x5409cc;return _0x5ce8d9[_0x2c3268([0x65,0x78,0x70])]<_0x119661;}function _0x41a194(){const _0xb0e203=_0x5ce8d9[_0x2c3268([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb0e203&&(!!_0xb0e203[_0x2c3268([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3268([0x2a]))||!!_0xb0e203[_0x2c3268([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3268([0x55,0x50,0x4c,0x43])));}function _0x47f5e8(){const _0x38399a=_0x167f,_0x184f6a=_0x5ce8d9[_0x2c3268([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x184f6a||0x0==_0x184f6a[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xac6faf}=new URL(window[_0x2c3268([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x38399a(0x178)]);if(_0x184f6a[_0x2c3268([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xac6faf))return!0x0;const _0x5133fb=_0xac6faf[_0x2c3268([0x73,0x70,0x6c,0x69,0x74])](_0x2c3268([0x2e]));return _0x184f6a[_0x2c3268([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aeffc=>_0x2aeffc[_0x2c3268([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3268([0x2a])))[_0x2c3268([0x6d,0x61,0x70])](_0x516e4e=>_0x516e4e[_0x2c3268([0x73,0x70,0x6c,0x69,0x74])](_0x2c3268([0x2e])))[_0x2c3268([0x73,0x6f,0x6d,0x65])](_0x9264da=>_0x5133fb[_0x2c3268([0x65,0x76,0x65,0x72,0x79])]((_0x264cc7,_0x2bd455)=>_0x9264da[_0x2bd455]===_0x264cc7||_0x9264da[_0x2bd455]===_0x2c3268([0x2a])));}function _0xcd7bac(){return _0x1566a3&&_0x3b3e73?new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbc881d,_0x3db898)=>{_0x1566a3[_0x2c3268([0x74,0x68,0x65,0x6e])](_0xbc881d,_0x3db898),_0x3b3e73[_0x2c3268([0x74,0x68,0x65,0x6e])](_0x1e3e92=>{_0x1e3e92!=_0x2c3268([0x56,0x61,0x6c,0x69,0x64])&&_0xbc881d(_0x1e3e92);},_0x3db898);}):_0x1566a3||_0x3b3e73||_0x2c3268([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a4fa0(_0x19c7d3,_0x13ccee){return new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52f9c8=>{if(_0x1a4850())return _0x52f9c8(_0x2c3268([0x56,0x61,0x6c,0x69,0x64]));_0x2dcd40(),_0x2ed768[_0x2c3268([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c3268([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x270748=!0x1;const _0xb4ebbd=_0x458bd0();function _0x23a872(_0x431d7f){return!!_0x431d7f&&(typeof _0x431d7f===_0x2c3268([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x431d7f===_0x2c3268([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x431d7f[_0x2c3268([0x74,0x68,0x65,0x6e])]===_0x2c3268([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x431d7f[_0x2c3268([0x63,0x61,0x74,0x63,0x68])]===_0x2c3268([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x465266(_0x484c87){_0x58b849(_0x484c87)[_0x2c3268([0x74,0x68,0x65,0x6e])](_0x269cd9=>{if(!_0x269cd9||_0x269cd9[_0x2c3268([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c3268([0x6f,0x6b]))return _0x2c3268([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x356a02(_0x383272(_0xb4ebbd+_0x13ccee))!=_0x269cd9[_0x2c3268([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c3268([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c3268([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c3268([0x74,0x68,0x65,0x6e])](_0x8ef135=>(_0x15f4a8(),_0x8ef135),()=>{const _0x1c6f42=_0x31e0ea();return null==_0x1c6f42?(_0x15f4a8(),_0x2c3268([0x56,0x61,0x6c,0x69,0x64])):_0x2c3268(_0x28e805-_0x1c6f42>(0x3531f681^_0x1feb1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c3268([0x74,0x68,0x65,0x6e])](_0x52f9c8)[_0x2c3268([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52f9c8(_0x2c3268([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32c558=0x110b9c01^_0x1feb1f;function _0x15f4a8(){const _0x38bd00=_0x2c3268([0x6c,0x6c,0x63,0x74,0x2d])+_0x356a02(_0x383272(_0x19c7d3)),_0x57328a=_0x27056a(_0x356a02(window[_0x2c3268([0x4d,0x61,0x74,0x68])][_0x2c3268([0x63,0x65,0x69,0x6c])](_0x28e805/_0x32c558)));window[_0x2c3268([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c3268([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38bd00,_0x57328a);}function _0x31e0ea(){const _0x4d3b70=_0x2c3268([0x6c,0x6c,0x63,0x74,0x2d])+_0x356a02(_0x383272(_0x19c7d3)),_0x1ddd7e=window[_0x2c3268([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c3268([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d3b70);return _0x1ddd7e?window[_0x2c3268([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27056a(_0x1ddd7e),0x10)*_0x32c558:null;}function _0x58b849(_0x20a6e2){return new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1beb15,_0x40d6e1)=>{_0x20a6e2[_0x2c3268([0x74,0x68,0x65,0x6e])](_0x1beb15,_0x40d6e1),window[_0x2c3268([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40d6e1,0x113ca641^_0x1feb1f);});}}_0x2ed768[_0x2c3268([0x6f,0x6e])](_0x2c3268([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x557ec9,_0x528177)=>{if(_0x528177[0x0]!=_0x19c7d3)return _0x52f9c8(_0x2c3268([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x528177[0x1]={..._0x528177[0x1],[_0x2c3268([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb4ebbd};},{[_0x2c3268([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c3268([0x68,0x69,0x67,0x68])}),_0x2ed768[_0x2c3268([0x6f,0x6e])](_0x2c3268([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17ddee=>{_0x23a872(_0x17ddee[_0x2c3268([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x270748=!0x0,_0x465266(_0x17ddee[_0x2c3268([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c3268([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c3268([0x6c,0x6f,0x77])}),_0x3dd50d[_0x2c3268([0x74,0x68,0x65,0x6e])](()=>{_0x270748||_0x52f9c8(_0x2c3268([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a4850(){return _0x2ed768[_0x2c3268([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c3268([0x76,0x69,0x65,0x77])][_0x2c3268([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c3268([0x61,0x75,0x74,0x6f]);}function _0x2dcd40(){_0x2ed768[_0x2c3268([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c3268([0x76,0x69,0x65,0x77])][_0x2c3268([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c3268([0x61,0x75,0x74,0x6f]);}}function _0x3fcd24(_0x328297){const _0x2d42cf=[new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23930b=>setTimeout(_0x23930b,0x11344c4d^_0x1feb1f)),_0x3dd50d[_0x2c3268([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2457d3=>{let _0x5a35c2=0x0;_0x2ed768[_0x2c3268([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3268([0x6f,0x6e])](_0x2c3268([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x572aa7,_0x1d1122)=>{_0x1d1122[0x0][_0x2c3268([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a35c2++,_0x5a35c2==(0x113d7379^_0x1feb1f)&&(_0x2457d3(),_0x572aa7[_0x2c3268([0x6f,0x66,0x66])]());});}))];return window[_0x2c3268([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c3268([0x72,0x61,0x63,0x65])](_0x2d42cf)[_0x2c3268([0x74,0x68,0x65,0x6e])](()=>_0x328297);}async function _0x245ae8(){await _0x3dd50d,_0x2ed768[_0x2c3268([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3268([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4588c9,_0x2ed768[_0x2c3268([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3268([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4588c9,_0x2ed768[_0x2c3268([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c3268([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16d6c6(_0x5ccc83){const _0x250f8b=_0x246854();_0x2ed768[_0x250f8b]=_0x2c3268([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ccc83,_0x5ccc83!=_0x2c3268([0x56,0x61,0x6c,0x69,0x64])&&_0x245ae8();}function _0x246854(){const _0x35e2f0=window[_0x2c3268([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c3268([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c3268([0x6e,0x6f,0x77])]())[_0x2c3268([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c3268([0x2e]),'');let _0x3e9f79=_0x2c3268([0x56]);for(let _0x57239b=0x0;_0x57239b<_0x35e2f0[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57239b+=0x2){let _0x2141f6=window[_0x2c3268([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35e2f0[_0x2c3268([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57239b,_0x57239b+0x2));_0x2141f6>=_0x220fa5[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2141f6-=_0x220fa5[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e9f79+=_0x220fa5[_0x2141f6];}return _0x3e9f79;}function _0x528534(){const _0xb5e048=_0xfb8ea9[_0x2c3268([0x73,0x70,0x6c,0x69,0x74])](_0x2c3268([0x2e]));if(0x3!=_0xb5e048[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31cab2(_0xb5e048[0x1]);function _0x31cab2(_0x53c418){const _0x59bae8=_0x6ef4ed(_0x53c418);return _0x59bae8&&_0x2dd97b()?_0x59bae8:null;function _0x2dd97b(){const _0x34b698=_0x59bae8[_0x2c3268([0x6a,0x74,0x69])],_0x10b428=window[_0x2c3268([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34b698[_0x2c3268([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34b698[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f116c={..._0x59bae8,[_0x2c3268([0x6a,0x74,0x69])]:_0x34b698[_0x2c3268([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34b698[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f116c[_0x2c3268([0x76,0x63])],_0x383272(_0x2f116c)==_0x10b428;}}}async function _0x3bfbc0(){let _0x1b756f=!0x0;try{const _0xaa7abb=_0xfb8ea9[_0x2c3268([0x73,0x70,0x6c,0x69,0x74])](_0x2c3268([0x2e])),[_0xf8670a,_0x5cff68,_0xacd42b]=_0xaa7abb;return _0x210293(_0xf8670a),await _0x56d878(_0xf8670a,_0x5cff68,_0xacd42b),_0x1b756f;}catch(_0x332f9a){return!0x1;}function _0x210293(_0x56a8a1){const _0x3588fe=_0x6ef4ed(_0x56a8a1);_0x3588fe&&_0x3588fe[_0x2c3268([0x61,0x6c,0x67])]==_0x2c3268([0x45,0x53,0x32,0x35,0x36])||(_0x1b756f=!0x1);}async function _0x56d878(_0x45efda,_0x135c95,_0x33a6e4){const _0x579757=window[_0x2c3268([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c3268([0x66,0x72,0x6f,0x6d])](_0x59d905(_0x33a6e4),_0x36102c=>_0x36102c[_0x2c3268([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12aefe=new window[(_0x2c3268([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c3268([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45efda+_0x2c3268([0x2e])+_0x135c95),_0x4b66e3=window[_0x2c3268([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c3268([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b66e3)return;const _0x106b15=await _0x4b66e3[_0x2c3268([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c3268([0x6a,0x77,0x6b]),_0x16fc2b,{[_0x2c3268([0x6e,0x61,0x6d,0x65])]:_0x2c3268([0x45,0x43,0x44,0x53,0x41]),[_0x2c3268([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c3268([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c3268([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b66e3[_0x2c3268([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c3268([0x6e,0x61,0x6d,0x65])]:_0x2c3268([0x45,0x43,0x44,0x53,0x41]),[_0x2c3268([0x68,0x61,0x73,0x68])]:{[_0x2c3268([0x6e,0x61,0x6d,0x65])]:_0x2c3268([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x106b15,_0x579757,_0x12aefe)||(_0x1b756f=!0x1);}}function _0x6ef4ed(_0x9ba154){return _0x9ba154[_0x2c3268([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c3268([0x65,0x79]))?JSON[_0x2c3268([0x70,0x61,0x72,0x73,0x65])](_0x59d905(_0x9ba154)):null;}function _0x59d905(_0x30db17){return window[_0x2c3268([0x61,0x74,0x6f,0x62])](_0x30db17[_0x2c3268([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c3268([0x2b]))[_0x2c3268([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c3268([0x2f])));}function _0x383272(_0x6d499d){let _0x3820ac=0x1505;function _0x327173(_0x46e99c){for(let _0x2c5259=0x0;_0x2c5259<_0x46e99c[_0x2c3268([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c5259++){const _0x404d69=_0x46e99c[_0x2c3268([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c5259);_0x3820ac=(_0x3820ac<<0x5)+_0x3820ac+_0x404d69,_0x3820ac&=_0x3820ac;}}function _0x420d30(_0x3c1d54){Array[_0x2c3268([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c1d54)?_0x3c1d54[_0x2c3268([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x420d30):_0x3c1d54&&typeof _0x3c1d54==_0x2c3268([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c3268([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c1d54)[_0x2c3268([0x73,0x6f,0x72,0x74])]()[_0x2c3268([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c7fd2,_0x50c077])=>{_0x327173(_0x5c7fd2),_0x420d30(_0x50c077);}):_0x327173(window[_0x2c3268([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c1d54));}return _0x420d30(_0x6d499d),_0x3820ac>>>0x0;}function _0x356a02(_0x1bfa94){return _0x1bfa94[_0x2c3268([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c3268([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c3268([0x30]));}function _0x27056a(_0x57eec9){return _0x57eec9[_0x2c3268([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c3268([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c3268([0x6a,0x6f,0x69,0x6e])]('');}function _0x4588c9(){}function _0x2c3268(_0x214927){const _0x33ae38=_0x167f;return _0x214927[_0x33ae38(0x16c)](_0x542465=>String[_0x33ae38(0x167)](_0x542465))[_0x33ae38(0x17d)]('');}_0x16d6c6(await _0x2889c2());}(this);}[_0x321ad1(0x148)](){const _0x3bdbc5=_0x321ad1,_0x14ead0=this[_0x3bdbc5(0x17e)][_0x3bdbc5(0x190)][_0x3bdbc5(0x16d)];_0x14ead0[_0x3bdbc5(0x182)](_0x3bdbc5(0x15f))&&_0x14ead0[_0x3bdbc5(0x156)](_0x3bdbc5(0x15f),{'allowAttributes':[_0x3bdbc5(0x18b)]}),_0x14ead0[_0x3bdbc5(0x182)](_0x3bdbc5(0x14f))&&_0x14ead0[_0x3bdbc5(0x156)](_0x3bdbc5(0x14f),{'allowAttributes':[_0x3bdbc5(0x18b)]});}[_0x321ad1(0x169)](){const _0x1ad6c3=_0x321ad1,_0x542312=this[_0x1ad6c3(0x17e)];_0x542312[_0x1ad6c3(0x180)][_0x1ad6c3(0x16a)](_0x1ad6c3(0x14d))[_0x1ad6c3(0x188)]({'model':_0x1ad6c3(0x18b),'view':_0x1ad6c3(0x171)}),_0x542312[_0x1ad6c3(0x180)][_0x1ad6c3(0x16a)](_0x1ad6c3(0x18c))[_0x1ad6c3(0x183)]({'model':{'key':_0x1ad6c3(0x18b),'value':_0x3fc6be=>_0x3fc6be[_0x1ad6c3(0x19a)](_0x1ad6c3(0x171))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc1357a=_0x542312[_0x1ad6c3(0x164)][_0x1ad6c3(0x184)](_0x1ad6c3(0x152));_0xc1357a&&this[_0x1ad6c3(0x18e)](_0xc1357a,_0x1ad6c3(0x160),(_0x54acc8,[_0x45cc9f,_0x8cf3f])=>{const _0x765945=_0x1ad6c3;_0x45cc9f[_0x765945(0x175)](_0x765945(0x18b),_0x8cf3f);});}[_0x321ad1(0x194)](){const _0x38d021=_0x321ad1,_0x3ead5e=this[_0x38d021(0x17e)][_0x38d021(0x163)][_0x38d021(0x184)](_0x38d021(0x186))||{},_0x2c4b28=this[_0x38d021(0x17e)][_0x38d021(0x163)][_0x38d021(0x184)](_0x38d021(0x158))||'';this[_0x38d021(0x17c)]=_0x4c197a(_0x42f8be[_0x38d021(0x179)],_0x38d021(0x153),{..._0x3ead5e,'pubkey':_0x2c4b28,'ctx-name':_0x38d021(0x161),'sourceList':'','imgOnly':_0x38d021(0x176),'removeCopyright':_0x38d021(0x176),'localeName':this[_0x38d021(0x17e)][_0x38d021(0x18a)][_0x38d021(0x15e)],'externalSourcesEmbedCss':_0x38d021(0x14b)}),this[_0x38d021(0x17c)][_0x38d021(0x19d)]=_0x2d17a6=>{const _0x300697=_0x38d021;if(_0x300697(0x16b)==_0x2d17a6)return _0x300697(0x14a);},_0x42f8be[_0x38d021(0x179)][_0x38d021(0x196)][_0x38d021(0x166)](this[_0x38d021(0x17c)]);}[_0x321ad1(0x165)](){const _0x50a5f8=_0x321ad1;this[_0x50a5f8(0x170)]=_0x4c197a(_0x42f8be[_0x50a5f8(0x179)],_0x50a5f8(0x185),{'ctx-name':_0x50a5f8(0x161)}),_0x42f8be[_0x50a5f8(0x179)][_0x50a5f8(0x196)][_0x50a5f8(0x166)](this[_0x50a5f8(0x170)]);}[_0x321ad1(0x197)](){const _0x16a7bb=_0x321ad1,_0x2d0d32=this[_0x16a7bb(0x17e)][_0x16a7bb(0x164)][_0x16a7bb(0x184)](_0x16a7bb(0x19c));_0x2d0d32&&this[_0x16a7bb(0x18e)](_0x2d0d32,_0x16a7bb(0x193),()=>{const _0x716e5d=_0x16a7bb,_0x20f281=this[_0x716e5d(0x17e)][_0x716e5d(0x190)][_0x716e5d(0x179)][_0x716e5d(0x17b)][_0x716e5d(0x14e)]();_0x20f281&&_0x20f281[_0x716e5d(0x19a)](_0x716e5d(0x18b))&&this[_0x716e5d(0x17e)][_0x716e5d(0x17f)][_0x716e5d(0x172)][_0x716e5d(0x162)](_0x716e5d(0x168),()=>{const _0x5797f9=_0x716e5d;_0x42938a(this[_0x5797f9(0x17e)],_0x20f281);});});const _0x5d093a=this[_0x16a7bb(0x17e)][_0x16a7bb(0x164)][_0x16a7bb(0x184)](_0x16a7bb(0x18f));_0x5d093a&&this[_0x16a7bb(0x18e)](_0x5d093a,_0x16a7bb(0x193),()=>{const _0x5a39bd=_0x16a7bb,_0x2e2527=this[_0x5a39bd(0x17e)][_0x5a39bd(0x190)][_0x5a39bd(0x179)][_0x5a39bd(0x17b)][_0x5a39bd(0x14e)]();_0x2e2527&&_0x2e2527[_0x5a39bd(0x19a)](_0x5a39bd(0x18b))&&this[_0x5a39bd(0x17e)][_0x5a39bd(0x17f)][_0x5a39bd(0x172)][_0x5a39bd(0x162)](_0x5a39bd(0x168),()=>{const _0xe354ef=_0x5a39bd;_0x42938a(this[_0xe354ef(0x17e)],_0x2e2527);});});}}
|
|
23
|
+
const _0x5c8a44=_0x34b4;(function(_0x3c381c,_0x237adf){const _0x5d921e=_0x34b4,_0x2e274e=_0x3c381c();while(!![]){try{const _0x15e6f2=parseInt(_0x5d921e(0x1c3))/0x1*(-parseInt(_0x5d921e(0x1c2))/0x2)+parseInt(_0x5d921e(0x193))/0x3+parseInt(_0x5d921e(0x1c1))/0x4+parseInt(_0x5d921e(0x190))/0x5*(parseInt(_0x5d921e(0x1be))/0x6)+-parseInt(_0x5d921e(0x194))/0x7*(-parseInt(_0x5d921e(0x17a))/0x8)+-parseInt(_0x5d921e(0x1b2))/0x9+-parseInt(_0x5d921e(0x198))/0xa;if(_0x15e6f2===_0x237adf)break;else _0x2e274e['push'](_0x2e274e['shift']());}catch(_0x57da2d){_0x2e274e['push'](_0x2e274e['shift']());}}}(_0x2195,0x58afa));import{Plugin as _0x8b33ff}from'ckeditor5/src/core.js';import{Dialog as _0x1eef52}from'ckeditor5/src/ui.js';import{createElement as _0x20af5b,global as _0x3bb676,uid as _0x5093a6}from'ckeditor5/src/utils.js';import _0x46ee93 from'./uploadcarecommand.js';import _0x4d3946 from'./uploadcareuploadadapter.js';function _0x34b4(_0x1e71ea,_0x4527be){const _0x219553=_0x2195();return _0x34b4=function(_0x34b462,_0x2aa87b){_0x34b462=_0x34b462-0x170;let _0x14f1ce=_0x219553[_0x34b462];return _0x14f1ce;},_0x34b4(_0x1e71ea,_0x4527be);}import{showImageProcessingIndicator as _0x4aa569}from'./utils/editingutils.js';export default class i extends _0x8b33ff{[_0x5c8a44(0x1a1)]=null;[_0x5c8a44(0x1a7)]=null;static get[_0x5c8a44(0x1b4)](){const _0x58fd3f=_0x5c8a44;return _0x58fd3f(0x1bb);}static get[_0x5c8a44(0x1a2)](){const _0x5730cc=_0x5c8a44;return[_0x5730cc(0x196),_0x4d3946,_0x1eef52];}static get[_0x5c8a44(0x182)](){return!0x0;}static get[_0x5c8a44(0x1b5)](){return!0x0;}get[_0x5c8a44(0x1a6)](){const _0x52871c=_0x5c8a44;return this[_0x52871c(0x1a1)];}get[_0x5c8a44(0x18f)](){const _0x5372dd=_0x5c8a44;return this[_0x5372dd(0x1a7)];}[_0x5c8a44(0x17f)](){const _0x17e182=_0x5c8a44,_0x267a10=this[_0x17e182(0x191)];_0x267a10[_0x17e182(0x1b8)][_0x17e182(0x170)](_0x17e182(0x1a9),new _0x46ee93(_0x267a10));}[_0x5c8a44(0x19e)](){const _0x327324=_0x5c8a44;this[_0x327324(0x1aa)](),this[_0x327324(0x176)](),this[_0x327324(0x1a3)](),this[_0x327324(0x18c)](),this[_0x327324(0x1af)](),this[_0x327324(0x1a4)](this[_0x327324(0x191)],_0x327324(0x1b6),()=>{const _0x2786a1=_0x327324;this[_0x2786a1(0x1a1)]&&(this[_0x2786a1(0x1a1)][_0x2786a1(0x18e)](),this[_0x2786a1(0x1a1)]=null),this[_0x2786a1(0x1a7)]&&(this[_0x2786a1(0x1a7)][_0x2786a1(0x18e)](),this[_0x2786a1(0x1a7)]=null);const _0x17505a=_0x3bb676[_0x2786a1(0x1c0)][_0x2786a1(0x17b)](_0x2786a1(0x179));_0x17505a&&_0x17505a[_0x2786a1(0x18e)]();}),async function(_0x4e4bf3){const _0x3a5618=_0x420970([0x59,0x53,0x31,0x77,0x47,0x42,0x64,0x4a,0x37,0x48,0x6b,0x39,0x71,0x43,0x34,0x62,0x36,0x74,0x4c,0x54,0x4b,0x32,0x6d,0x78,0x52,0x33,0x72,0x49,0x38,0x7a,0x57,0x73,0x6c,0x70,0x75,0x67,0x69,0x65,0x4e,0x44,0x6f,0x50,0x46,0x35,0x58,0x4d,0x55,0x6a,0x56,0x79,0x4f,0x51,0x61,0x45,0x68,0x30,0x66,0x5a,0x76,0x41,0x63,0x6e]),_0x171078=0x307e3bfb,_0x1354b4=0x30795f13^_0x171078,_0x61b987=window[_0x420970([0x44,0x61,0x74,0x65])][_0x420970([0x6e,0x6f,0x77])](),_0x5a7878=_0x4e4bf3[_0x420970([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x691a3b=new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432035=>{_0x5a7878[_0x420970([0x6f,0x6e,0x63,0x65])](_0x420970([0x72,0x65,0x61,0x64,0x79]),_0x432035);}),_0x53052f={[_0x420970([0x6b,0x74,0x79])]:_0x420970([0x45,0x43]),[_0x420970([0x75,0x73,0x65])]:_0x420970([0x73,0x69,0x67]),[_0x420970([0x63,0x72,0x76])]:_0x420970([0x50,0x2d,0x32,0x35,0x36]),[_0x420970([0x78])]:_0x420970([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]),[_0x420970([0x79])]:_0x420970([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]),[_0x420970([0x61,0x6c,0x67])]:_0x420970([0x45,0x53,0x32,0x35,0x36])},_0x47ee85=_0x5a7878[_0x420970([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x420970([0x67,0x65,0x74])](_0x420970([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ebf29(){let _0x1c14c2,_0x53af35=null,_0x52e169=null;try{if(_0x47ee85==_0x420970([0x47,0x50,0x4c]))return _0x420970([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c14c2=_0x9aa309(),!_0x1c14c2)return _0x420970([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c14c2[_0x420970([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52e169=_0x46ece4(_0x1c14c2[_0x420970([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c14c2[_0x420970([0x6a,0x74,0x69])])),await _0x40f9fb()?_0x496b9f()?_0x2bded0()?_0x420970([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6ebd35()?(_0x1c14c2[_0x420970([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x420970([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53af35=_0x3f4670(_0x420970([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c14c2[_0x420970([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x420970([0x74,0x72,0x69,0x61,0x6c])&&(_0x53af35=_0x3f4670(_0x420970([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a5a37()):_0x420970([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x420970([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x420970([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4f0aac){return _0x420970([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bded0(){const _0x2a828f=[_0x420970([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x420970([0x74,0x72,0x69,0x61,0x6c])][_0x420970([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c14c2[_0x420970([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x61b987/0x3e8:0xe10*_0x1354b4;return _0x1c14c2[_0x420970([0x65,0x78,0x70])]<_0x2a828f;}function _0x496b9f(){const _0x11abb4=_0x1c14c2[_0x420970([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11abb4&&(!!_0x11abb4[_0x420970([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420970([0x2a]))||!!_0x11abb4[_0x420970([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420970([0x55,0x50,0x4c,0x43])));}function _0x6ebd35(){const _0x33fb71=_0x34b4,_0x1f337e=_0x1c14c2[_0x420970([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f337e||0x0==_0x1f337e[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x346b02}=new URL(window[_0x420970([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x33fb71(0x187)]);if(_0x1f337e[_0x420970([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x346b02))return!0x0;const _0x325231=_0x346b02[_0x420970([0x73,0x70,0x6c,0x69,0x74])](_0x420970([0x2e]));return _0x1f337e[_0x420970([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25e211=>_0x25e211[_0x420970([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420970([0x2a])))[_0x420970([0x6d,0x61,0x70])](_0x354270=>_0x354270[_0x420970([0x73,0x70,0x6c,0x69,0x74])](_0x420970([0x2e])))[_0x420970([0x73,0x6f,0x6d,0x65])](_0x5baaa0=>_0x325231[_0x420970([0x65,0x76,0x65,0x72,0x79])]((_0x8f5c04,_0x478561)=>_0x5baaa0[_0x478561]===_0x8f5c04||_0x5baaa0[_0x478561]===_0x420970([0x2a])));}function _0x3a5a37(){return _0x53af35&&_0x52e169?new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x393c73,_0x3bea51)=>{_0x53af35[_0x420970([0x74,0x68,0x65,0x6e])](_0x393c73,_0x3bea51),_0x52e169[_0x420970([0x74,0x68,0x65,0x6e])](_0x49cdb6=>{_0x49cdb6!=_0x420970([0x56,0x61,0x6c,0x69,0x64])&&_0x393c73(_0x49cdb6);},_0x3bea51);}):_0x53af35||_0x52e169||_0x420970([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46ece4(_0x30cf71,_0x3ac514){return new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ae13=>{if(_0x1b2766())return _0x26ae13(_0x420970([0x56,0x61,0x6c,0x69,0x64]));_0x4061c3(),_0x5a7878[_0x420970([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x420970([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x41930d=!0x1;const _0x85dffc=_0x5093a6();function _0x2aa3ba(_0x2c12fe){return!!_0x2c12fe&&(typeof _0x2c12fe===_0x420970([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c12fe===_0x420970([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c12fe[_0x420970([0x74,0x68,0x65,0x6e])]===_0x420970([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c12fe[_0x420970([0x63,0x61,0x74,0x63,0x68])]===_0x420970([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dcfbc(_0x2b28bc){_0x198307(_0x2b28bc)[_0x420970([0x74,0x68,0x65,0x6e])](_0x125532=>{if(!_0x125532||_0x125532[_0x420970([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x420970([0x6f,0x6b]))return _0x420970([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39f9d4(_0x72267d(_0x85dffc+_0x3ac514))!=_0x125532[_0x420970([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x420970([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x420970([0x56,0x61,0x6c,0x69,0x64]);})[_0x420970([0x74,0x68,0x65,0x6e])](_0x49bbaf=>(_0x405ecc(),_0x49bbaf),()=>{const _0x4b70da=_0x17deec();return null==_0x4b70da?(_0x405ecc(),_0x420970([0x56,0x61,0x6c,0x69,0x64])):_0x420970(_0x61b987-_0x4b70da>(0x1472bffb^_0x171078)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x420970([0x74,0x68,0x65,0x6e])](_0x26ae13)[_0x420970([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26ae13(_0x420970([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dd6d8=0x3048d57b^_0x171078;function _0x405ecc(){const _0x188d18=_0x420970([0x6c,0x6c,0x63,0x74,0x2d])+_0x39f9d4(_0x72267d(_0x30cf71)),_0x26eab1=_0x2fc4b1(_0x39f9d4(window[_0x420970([0x4d,0x61,0x74,0x68])][_0x420970([0x63,0x65,0x69,0x6c])](_0x61b987/_0x1dd6d8)));window[_0x420970([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x420970([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x188d18,_0x26eab1);}function _0x17deec(){const _0x4ee333=_0x420970([0x6c,0x6c,0x63,0x74,0x2d])+_0x39f9d4(_0x72267d(_0x30cf71)),_0x1d885e=window[_0x420970([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x420970([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ee333);return _0x1d885e?window[_0x420970([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc4b1(_0x1d885e),0x10)*_0x1dd6d8:null;}function _0x198307(_0x248177){return new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d4da8,_0x4eb776)=>{_0x248177[_0x420970([0x74,0x68,0x65,0x6e])](_0x2d4da8,_0x4eb776),window[_0x420970([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4eb776,0x307fef3b^_0x171078);});}}_0x5a7878[_0x420970([0x6f,0x6e])](_0x420970([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c945f,_0x24d886)=>{if(_0x24d886[0x0]!=_0x30cf71)return _0x26ae13(_0x420970([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24d886[0x1]={..._0x24d886[0x1],[_0x420970([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x85dffc};},{[_0x420970([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x420970([0x68,0x69,0x67,0x68])}),_0x5a7878[_0x420970([0x6f,0x6e])](_0x420970([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54255f=>{_0x2aa3ba(_0x54255f[_0x420970([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x41930d=!0x0,_0x2dcfbc(_0x54255f[_0x420970([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x420970([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x420970([0x6c,0x6f,0x77])}),_0x691a3b[_0x420970([0x74,0x68,0x65,0x6e])](()=>{_0x41930d||_0x26ae13(_0x420970([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b2766(){return _0x5a7878[_0x420970([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x420970([0x76,0x69,0x65,0x77])][_0x420970([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x420970([0x61,0x75,0x74,0x6f]);}function _0x4061c3(){_0x5a7878[_0x420970([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x420970([0x76,0x69,0x65,0x77])][_0x420970([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x420970([0x61,0x75,0x74,0x6f]);}}function _0x3f4670(_0x4823b5){const _0x4e2923=[new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21bbea=>setTimeout(_0x21bbea,0x30770537^_0x171078)),_0x691a3b[_0x420970([0x74,0x68,0x65,0x6e])](()=>new window[(_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4edf2b=>{let _0x2ffb47=0x0;_0x5a7878[_0x420970([0x6d,0x6f,0x64,0x65,0x6c])][_0x420970([0x6f,0x6e])](_0x420970([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x267653,_0x1216e2)=>{_0x1216e2[0x0][_0x420970([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ffb47++,_0x2ffb47==(0x307e3a03^_0x171078)&&(_0x4edf2b(),_0x267653[_0x420970([0x6f,0x66,0x66])]());});}))];return window[_0x420970([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x420970([0x72,0x61,0x63,0x65])](_0x4e2923)[_0x420970([0x74,0x68,0x65,0x6e])](()=>_0x4823b5);}async function _0x2328e2(){await _0x691a3b,_0x5a7878[_0x420970([0x6d,0x6f,0x64,0x65,0x6c])][_0x420970([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20b5e1,_0x5a7878[_0x420970([0x6d,0x6f,0x64,0x65,0x6c])][_0x420970([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20b5e1,_0x5a7878[_0x420970([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x420970([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b9b27(_0x5d4c6f){const _0x1dcd0f=_0x5c40f6();_0x5a7878[_0x1dcd0f]=_0x420970([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d4c6f,_0x5d4c6f!=_0x420970([0x56,0x61,0x6c,0x69,0x64])&&_0x2328e2();}function _0x5c40f6(){const _0xd0e0f8=window[_0x420970([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x420970([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x420970([0x6e,0x6f,0x77])]())[_0x420970([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x420970([0x2e]),'');let _0x29ea13=_0x420970([0x59]);for(let _0x59386a=0x0;_0x59386a<_0xd0e0f8[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59386a+=0x2){let _0x36bb20=window[_0x420970([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd0e0f8[_0x420970([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59386a,_0x59386a+0x2));_0x36bb20>=_0x3a5618[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36bb20-=_0x3a5618[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29ea13+=_0x3a5618[_0x36bb20];}return _0x29ea13;}function _0x9aa309(){const _0x3348de=_0x47ee85[_0x420970([0x73,0x70,0x6c,0x69,0x74])](_0x420970([0x2e]));if(0x3!=_0x3348de[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ddbb5(_0x3348de[0x1]);function _0x2ddbb5(_0x1762b3){const _0x4ed769=_0x3b1411(_0x1762b3);return _0x4ed769&&_0x80b18()?_0x4ed769:null;function _0x80b18(){const _0x149b25=_0x4ed769[_0x420970([0x6a,0x74,0x69])],_0x5743b6=window[_0x420970([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149b25[_0x420970([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x149b25[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4de4dc={..._0x4ed769,[_0x420970([0x6a,0x74,0x69])]:_0x149b25[_0x420970([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x149b25[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4de4dc[_0x420970([0x76,0x63])],_0x72267d(_0x4de4dc)==_0x5743b6;}}}async function _0x40f9fb(){let _0x494c71=!0x0;try{const _0x1faa2e=_0x47ee85[_0x420970([0x73,0x70,0x6c,0x69,0x74])](_0x420970([0x2e])),[_0x33937a,_0x10d846,_0x3d79b7]=_0x1faa2e;return _0x8c6402(_0x33937a),await _0x448bcd(_0x33937a,_0x10d846,_0x3d79b7),_0x494c71;}catch(_0x5d9802){return!0x1;}function _0x8c6402(_0x1bc189){const _0x5d4e81=_0x3b1411(_0x1bc189);_0x5d4e81&&_0x5d4e81[_0x420970([0x61,0x6c,0x67])]==_0x420970([0x45,0x53,0x32,0x35,0x36])||(_0x494c71=!0x1);}async function _0x448bcd(_0x69b19f,_0x1bc572,_0x2d87ba){const _0xc8ad3=window[_0x420970([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x420970([0x66,0x72,0x6f,0x6d])](_0x48cecc(_0x2d87ba),_0x2a8d6d=>_0x2a8d6d[_0x420970([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20b824=new window[(_0x420970([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x420970([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x69b19f+_0x420970([0x2e])+_0x1bc572),_0x86377e=window[_0x420970([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x420970([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x86377e)return;const _0x3ee5a0=await _0x86377e[_0x420970([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x420970([0x6a,0x77,0x6b]),_0x53052f,{[_0x420970([0x6e,0x61,0x6d,0x65])]:_0x420970([0x45,0x43,0x44,0x53,0x41]),[_0x420970([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x420970([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x420970([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x86377e[_0x420970([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x420970([0x6e,0x61,0x6d,0x65])]:_0x420970([0x45,0x43,0x44,0x53,0x41]),[_0x420970([0x68,0x61,0x73,0x68])]:{[_0x420970([0x6e,0x61,0x6d,0x65])]:_0x420970([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ee5a0,_0xc8ad3,_0x20b824)||(_0x494c71=!0x1);}}function _0x3b1411(_0x94a787){return _0x94a787[_0x420970([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x420970([0x65,0x79]))?JSON[_0x420970([0x70,0x61,0x72,0x73,0x65])](_0x48cecc(_0x94a787)):null;}function _0x48cecc(_0x2fd5e2){return window[_0x420970([0x61,0x74,0x6f,0x62])](_0x2fd5e2[_0x420970([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x420970([0x2b]))[_0x420970([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x420970([0x2f])));}function _0x72267d(_0x12e687){let _0x2f6694=0x1505;function _0x5147da(_0x4e6f0a){for(let _0x340607=0x0;_0x340607<_0x4e6f0a[_0x420970([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x340607++){const _0x1e9928=_0x4e6f0a[_0x420970([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x340607);_0x2f6694=(_0x2f6694<<0x5)+_0x2f6694+_0x1e9928,_0x2f6694&=_0x2f6694;}}function _0x36bba4(_0xa7b6fe){Array[_0x420970([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa7b6fe)?_0xa7b6fe[_0x420970([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36bba4):_0xa7b6fe&&typeof _0xa7b6fe==_0x420970([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x420970([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa7b6fe)[_0x420970([0x73,0x6f,0x72,0x74])]()[_0x420970([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x385261,_0x21ab5a])=>{_0x5147da(_0x385261),_0x36bba4(_0x21ab5a);}):_0x5147da(window[_0x420970([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa7b6fe));}return _0x36bba4(_0x12e687),_0x2f6694>>>0x0;}function _0x39f9d4(_0x2f74b0){return _0x2f74b0[_0x420970([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x420970([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x420970([0x30]));}function _0x2fc4b1(_0x1c041a){return _0x1c041a[_0x420970([0x73,0x70,0x6c,0x69,0x74])]('')[_0x420970([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x420970([0x6a,0x6f,0x69,0x6e])]('');}function _0x20b5e1(){}function _0x420970(_0x3fc8af){const _0x4e2fce=_0x34b4;return _0x3fc8af[_0x4e2fce(0x19d)](_0x442778=>String[_0x4e2fce(0x18a)](_0x442778))[_0x4e2fce(0x17e)]('');}_0x1b9b27(await _0x1ebf29());}(this);}[_0x5c8a44(0x1aa)](){const _0x2a2a1e=_0x5c8a44,_0x186f94=this[_0x2a2a1e(0x191)][_0x2a2a1e(0x188)][_0x2a2a1e(0x1bf)];_0x186f94[_0x2a2a1e(0x180)](_0x2a2a1e(0x181))&&_0x186f94[_0x2a2a1e(0x1b7)](_0x2a2a1e(0x181),{'allowAttributes':[_0x2a2a1e(0x185)]}),_0x186f94[_0x2a2a1e(0x180)](_0x2a2a1e(0x18d))&&_0x186f94[_0x2a2a1e(0x1b7)](_0x2a2a1e(0x18d),{'allowAttributes':[_0x2a2a1e(0x185)]});}[_0x5c8a44(0x176)](){const _0x514e27=_0x5c8a44,_0x5175e5=this[_0x514e27(0x191)];_0x5175e5[_0x514e27(0x1ac)][_0x514e27(0x183)](_0x514e27(0x17c))[_0x514e27(0x189)]({'model':_0x514e27(0x185),'view':_0x514e27(0x175)}),_0x5175e5[_0x514e27(0x1ac)][_0x514e27(0x183)](_0x514e27(0x1b1))[_0x514e27(0x172)]({'model':{'key':_0x514e27(0x185),'value':_0x220801=>_0x220801[_0x514e27(0x177)](_0x514e27(0x175))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1565cd=_0x5175e5[_0x514e27(0x1b8)][_0x514e27(0x19a)](_0x514e27(0x19b));_0x1565cd&&this[_0x514e27(0x1a4)](_0x1565cd,_0x514e27(0x1ad),(_0x22988e,[_0x249307,_0x33085b])=>{const _0x203551=_0x514e27;_0x249307[_0x203551(0x1a0)](_0x203551(0x185),_0x33085b);});}[_0x5c8a44(0x1a3)](){const _0x32e481=_0x5c8a44,_0x86e087=this[_0x32e481(0x191)][_0x32e481(0x173)][_0x32e481(0x19a)](_0x32e481(0x174))||{},_0x178e72=this[_0x32e481(0x191)][_0x32e481(0x173)][_0x32e481(0x19a)](_0x32e481(0x199))||'';this[_0x32e481(0x1a1)]=_0x20af5b(_0x3bb676[_0x32e481(0x1c0)],_0x32e481(0x18b),{..._0x86e087,'pubkey':_0x178e72,'ctx-name':_0x32e481(0x19c),'sourceList':'','imgOnly':_0x32e481(0x195),'removeCopyright':_0x32e481(0x195),'localeName':this[_0x32e481(0x191)][_0x32e481(0x178)][_0x32e481(0x1ab)],'externalSourcesEmbedCss':_0x32e481(0x1b0)}),this[_0x32e481(0x1a1)][_0x32e481(0x1b3)]=_0x22dbdf=>{const _0x59c6a3=_0x32e481;if(_0x59c6a3(0x19f)==_0x22dbdf)return _0x59c6a3(0x1a8);},_0x3bb676[_0x32e481(0x1c0)][_0x32e481(0x17d)][_0x32e481(0x1a5)](this[_0x32e481(0x1a1)]);}[_0x5c8a44(0x18c)](){const _0x2b1938=_0x5c8a44;this[_0x2b1938(0x1a7)]=_0x20af5b(_0x3bb676[_0x2b1938(0x1c0)],_0x2b1938(0x1bc),{'ctx-name':_0x2b1938(0x19c)}),_0x3bb676[_0x2b1938(0x1c0)][_0x2b1938(0x17d)][_0x2b1938(0x1a5)](this[_0x2b1938(0x1a7)]);}[_0x5c8a44(0x1af)](){const _0x58994b=_0x5c8a44,_0x23c9ab=this[_0x58994b(0x191)][_0x58994b(0x1b8)][_0x58994b(0x19a)](_0x58994b(0x1ba));_0x23c9ab&&this[_0x58994b(0x1a4)](_0x23c9ab,_0x58994b(0x186),()=>{const _0x22bf3d=_0x58994b,_0x479408=this[_0x22bf3d(0x191)][_0x22bf3d(0x188)][_0x22bf3d(0x1c0)][_0x22bf3d(0x171)][_0x22bf3d(0x184)]();_0x479408&&_0x479408[_0x22bf3d(0x177)](_0x22bf3d(0x185))&&this[_0x22bf3d(0x191)][_0x22bf3d(0x197)][_0x22bf3d(0x192)][_0x22bf3d(0x1bd)](_0x22bf3d(0x1b9),()=>{const _0x4d702a=_0x22bf3d;_0x4aa569(this[_0x4d702a(0x191)],_0x479408);});});const _0x2b6392=this[_0x58994b(0x191)][_0x58994b(0x1b8)][_0x58994b(0x19a)](_0x58994b(0x1ae));_0x2b6392&&this[_0x58994b(0x1a4)](_0x2b6392,_0x58994b(0x186),()=>{const _0x22d65d=_0x58994b,_0x1702ed=this[_0x22d65d(0x191)][_0x22d65d(0x188)][_0x22d65d(0x1c0)][_0x22d65d(0x171)][_0x22d65d(0x184)]();_0x1702ed&&_0x1702ed[_0x22d65d(0x177)](_0x22d65d(0x185))&&this[_0x22d65d(0x191)][_0x22d65d(0x197)][_0x22d65d(0x192)][_0x22d65d(0x1bd)](_0x22d65d(0x1b9),()=>{const _0x13cd74=_0x22d65d;_0x4aa569(this[_0x13cd74(0x191)],_0x1702ed);});});}}function _0x2195(){const _0x35faac=['model','attributeToAttribute','fromCharCode','uc-config','_initCtx','imageInline','remove','ctxElement','3161125vjlHIU','editor','view','190923iasIoW','7xvDfci','true','PictureEditing','editing','1063210qWiKwV','uploadcare.pubkey','get','replaceImageSource','uploader','map','afterInit','closeMax','removeAttribute','_configElement','requires','_initConfig','listenTo','appendChild','configElement','_ctxElement','#uc-icon-arrow-down','uploadcare','_initSchema','contentLanguage','conversion','cleanupImage','uploadcareImageReplace','_initImageProcessingIndicator','\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','upcast','5324508PYavpR','iconHrefResolver','pluginName','isPremiumPlugin','destroy','extend','commands','render','insertImage','UploadcareEditing','uc-upload-ctx-provider','once','6fDgZnu','schema','document','1442940ORSeRt','10XBzAJC','80673GixFZr','add','selection','elementToAttribute','config','uploadcare.uploader','data-uc-image-id','_initConversion','getAttribute','locale','input[uploadcare-file-input]','3263640yjkiIN','querySelector','downcast','body','join','init','isRegistered','imageBlock','isOfficialPlugin','for','getSelectedElement','uploadcareImageId','execute','href'];_0x2195=function(){return _0x35faac;};return _0x2195();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x155e99,ObservableMixin as _0xb055e8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5a7bba}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a5358}from'ckeditor5/src/icons.js';import _0x4c7cea from'./uploadcareimageeditformview.js';import _0xa084f6 from'../../utils/uploadutils.js';import{getImageUrls as _0xfe3e8d,getImageDimension as _0xaf33dc}from'../../utils/editingutils.js';import{isAncestor as _0x1cd496}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xb055e8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a2c4b,_0x108b30,_0x3f08bb){super(),this['_editor']=_0x2a2c4b,this['_dialog']=_0x108b30,this['_imageElement']=_0x3f08bb,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 _0x2b7649=this['_imageElement'],_0x49f617=_0x2b7649['getAttribute']('uploadcareImageId'),_0x185999=_0x2b7649['getAttribute']('src');if(_0x49f617)await this['_loadImageInfo'](_0x49f617,_0x185999);else{if(this['_imageCache']['has'](_0x185999)){const _0x3dce8e=this['_imageCache']['get'](_0x185999);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3dce8e['url'],this['imageDimension']=_0x3dce8e['dimension'],this['imageId']=_0x3dce8e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1df16e}=this['_editor'],t=_0x1df16e['t'],_0x4192a9=new _0x4c7cea(_0x1df16e,this['imageStatus'],this['_attributes']);_0x4192a9['bind']('status')['to'](this,'imageStatus'),_0x4192a9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4192a9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4192a9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4192a9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a5358,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4192a9,'position':_0x5a7bba['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4192a9['focus']();},'onHide':()=>{_0x4192a9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x40828f=>!_0x1cd496(_0x40828f,_0x4192a9['element'])}});}['_loadImageInfo'](_0xc5741b,_0x2b36a5){return _0xa084f6['getInfo'](_0xc5741b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c04e0=>{const {width:_0x4944e8,height:_0x1d381f}=_0x4c04e0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b36a5,this['imageDimension']={'width':_0x4944e8,'height':_0x1d381f},this['imageId']=_0xc5741b;})['catch'](_0x1d6435=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d6435['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f1c1d,_0x5ee087){return this['_getImageAsFile'](_0x3f1c1d)['then'](_0x1df860=>_0xa084f6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ee087['signal'],'file':_0x1df860,'onProgress':_0x1e09a4=>{_0x1e09a4&&_0x1e09a4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1e09a4['value']));}}))['then'](_0x580360=>{const {width:_0x370a36,height:_0x344a99}=_0x580360['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x580360['cdnUrl'],this['imageDimension']={'width':_0x370a36,'height':_0x344a99},this['imageId']=_0x580360['uuid'],this['imageUploadProgress']=null;const _0x531239=_0x3f1c1d['getAttribute']('src');this['_imageCache']['set'](_0x531239,{'id':_0x580360['uuid'],'url':_0x580360['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4976f1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4976f1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48df67,_0x81818b){_0x48df67['on']('apply',(_0x461294,_0x2169c4)=>{this['_replaceImage'](_0x81818b,_0x2169c4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48df67['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48df67['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ba871,_0xc247ed,_0x4e16be){const _0x4124a2=this['_editor'],{width:_0x4932e8,height:_0x3c4df4}=_0xaf33dc(_0xc247ed,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1572f1,imageSources:_0x3797a6}=_0xfe3e8d(_0xc247ed,_0x4932e8);_0x4124a2['model']['change'](_0x1aa4b0=>{if('$graveyard'===_0x5ba871['root']['rootName']){_0x4124a2['execute']('insertImage',{'imageType':_0x5ba871['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ba871['getAttributes']()),'uploadcareImageId':_0x4e16be,'src':_0x1572f1,'sources':_0x3797a6,'width':_0x4932e8,'height':_0x3c4df4}});const _0x52727b=_0x5ba871['getChildren']();_0x5ba871=_0x4124a2['model']['document']['selection']['getSelectedElement']();for(const _0x150f0f of _0x52727b)_0x1aa4b0['append'](_0x1aa4b0['cloneElement'](_0x150f0f),_0x5ba871);}else _0x1aa4b0['setSelection'](_0x5ba871,'on'),_0x4124a2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ba871['getAttributes']()),'uploadcareImageId':_0x4e16be,'src':_0x1572f1,'sources':_0x3797a6,'width':_0x4932e8,'height':_0x3c4df4},_0x5ba871);_0x1aa4b0['setSelection'](_0x5ba871,'on');});}async['_getImageAsFile'](_0xe6682c){const _0x4044e0=_0x155e99['window'],_0x110cc5=_0x155e99['document']['location']['href'],_0x226f16=new _0x4044e0['URL'](_0xe6682c['getAttribute']('src'),_0x110cc5);if('data:'===_0x226f16['protocol']){const _0x36939d=_0x226f16['href']['split'](','),_0x5829a8=_0x36939d[0x0]['match'](/:(.*?);/)[0x1],_0x5cdab4=_0x5829a8['split']('/')[0x1],_0x27a1da=_0x4044e0['atob'](_0x36939d[_0x36939d['length']-0x1]);let _0x228a1d=_0x27a1da['length'];const _0x706d7c=new _0x4044e0['Uint8Array'](_0x228a1d);for(;_0x228a1d--;)_0x706d7c[_0x228a1d]=_0x27a1da['charCodeAt'](_0x228a1d);return new _0x4044e0['File']([_0x706d7c],'image.'+_0x5cdab4,{'type':_0x5829a8});}const _0x5e8995=_0x226f16['href']['split']('/'),_0x1af9af=_0x5e8995[_0x5e8995['length']-0x1],_0x56d14a=_0x1af9af['split']('.')[0x1];return _0x4044e0['fetch'](_0x226f16['href'])['then'](_0x5415cf=>_0x5415cf['clone']()['blob']())['then'](_0x2108cf=>new _0x4044e0['File']([_0x2108cf],_0x1af9af,{'type':'image/'+_0x56d14a}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ab902,_0x246138){const _0x346597=_0x5485,_0x4bae38=_0x5ab902();while(!![]){try{const _0x43f69b=parseInt(_0x346597(0x1b2))/0x1*(-parseInt(_0x346597(0x1bc))/0x2)+-parseInt(_0x346597(0x1b0))/0x3+-parseInt(_0x346597(0x1ae))/0x4*(parseInt(_0x346597(0x1af))/0x5)+parseInt(_0x346597(0x1b8))/0x6+parseInt(_0x346597(0x1b4))/0x7*(parseInt(_0x346597(0x1ab))/0x8)+-parseInt(_0x346597(0x1ac))/0x9*(parseInt(_0x346597(0x1b1))/0xa)+parseInt(_0x346597(0x1bd))/0xb;if(_0x43f69b===_0x246138)break;else _0x4bae38['push'](_0x4bae38['shift']());}catch(_0x5458e1){_0x4bae38['push'](_0x4bae38['shift']());}}}(_0x5504,0x794ad));function _0x5485(_0x428d3f,_0x51d278){const _0x55042c=_0x5504();return _0x5485=function(_0x5485f3,_0x179918){_0x5485f3=_0x5485f3-0x1ab;let _0x208978=_0x55042c[_0x5485f3];return _0x208978;},_0x5485(_0x428d3f,_0x51d278);}import{View as _0x28cebb}from'ckeditor5/src/ui.js';function _0x5504(){const _0x5202fb=['ck-uploadcare-theme','uc-cloud-image-editor','720432DYtpaP','imageSrc','set','image-edit','100844VMBVBK','21623657PlydzI','2675608NDmuOy','1796571tDDLnD','setTemplate','352408sVHACS','10DHkeGU','2525298uNtRFy','10eugzzL','14ZTzMBU','bindTemplate','7yjYrcq','uc-light'];_0x5504=function(){return _0x5202fb;};return _0x5504();}export default class tt extends _0x28cebb{constructor(_0x2c0f11,_0x2f9150){const _0x1982a5=_0x5485;super(_0x2c0f11);const _0x27e25b=this[_0x1982a5(0x1b3)];this[_0x1982a5(0x1ba)](_0x1982a5(0x1b9),''),this[_0x1982a5(0x1ad)]({'tag':_0x1982a5(0x1b7),'attributes':{..._0x2f9150,'class':[_0x1982a5(0x1b5),_0x1982a5(0x1b6)],'ctx-name':_0x1982a5(0x1bb),'cdn-url':_0x27e25b['to'](_0x1982a5(0x1b9))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x242c27,IconView as at,View as _0x110a5a}from'ckeditor5/src/ui.js';export default class rt extends _0x110a5a{constructor(_0x4cf93b){super(_0x4cf93b);const t=_0x4cf93b['t'];this['set']('errorType',null);const _0x1bc85a=new _0x242c27(_0x4cf93b);_0x1bc85a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bc85a['withText']=!0x0,_0x1bc85a['class']='ck-button-action',_0x1bc85a['on']('execute',()=>{this['fire']('retry');}),_0x1bc85a['bind']('isVisible')['to'](this,'errorType',_0x4fa6a5=>'NotFound'!==_0x4fa6a5);const _0x105f1f=new at();_0x105f1f['content']=et,_0x105f1f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x12fe3b=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':[_0x105f1f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x12fe3b['to']('errorType',_0x3d2f41=>t('NotFound'!==_0x3d2f41?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bc85a]},{'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 _0x5a44ca,View as _0x25c6fb}from'ckeditor5/src/ui.js';export default class ta extends _0x25c6fb{constructor(_0x4a29c9){super(_0x4a29c9);const t=_0x4a29c9['t'],_0x5b49d0=this['bindTemplate'],_0x18b463=new _0x5a44ca();_0x18b463['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':[_0x18b463,{'text':_0x5b49d0['to']('imageUploadProgress',_0x1a24e2=>t('Loading\x20image...')+'\x20('+(_0x1a24e2||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 _0x5ea0(){const _0x9693ea=['element','disconnect','_addUploadcareImageEditorListeners','uploading','error','1760830YdhUAr','render','getFocusableElement','addedNodes','_setView','31128spCwZQ','ready','change:status','target','apply','addMany','add','detail','filter','clear','3247795YLwPsW','fire','once','_loadingView','32290tUXNud','toLowerCase','ck-reset_all-excluded','14RuyiEi','uc-cloud-image-editor','_editingView','createCollection','length','status','retry','querySelector','set','15719XeyNWO','2106rKtBSG','ck-uploadcare-form','cancel','6HBgDmd','1123562nnmAca','observe','cdnUrl','_focusableView','div','1522088rgQSZd','focus','setTemplate','addEventListener','2823PQuczf','nodeName','_waitForImageEditorComponent','472fVZpXX','_addErrorViewListeners','_errorView','_items'];_0x5ea0=function(){return _0x9693ea;};return _0x5ea0();}const _0x2907c9=_0x42ef;(function(_0x40b5db,_0xfa968b){const _0x2efc7e=_0x42ef,_0x181648=_0x40b5db();while(!![]){try{const _0x3d9cc5=-parseInt(_0x2efc7e(0x1e7))/0x1+-parseInt(_0x2efc7e(0x1fc))/0x2+-parseInt(_0x2efc7e(0x1f0))/0x3*(parseInt(_0x2efc7e(0x1f3))/0x4)+parseInt(_0x2efc7e(0x1d2))/0x5*(-parseInt(_0x2efc7e(0x1e6))/0x6)+-parseInt(_0x2efc7e(0x1d9))/0x7*(-parseInt(_0x2efc7e(0x1ec))/0x8)+-parseInt(_0x2efc7e(0x1e3))/0x9*(parseInt(_0x2efc7e(0x1d6))/0xa)+parseInt(_0x2efc7e(0x1e2))/0xb*(parseInt(_0x2efc7e(0x201))/0xc);if(_0x3d9cc5===_0xfa968b)break;else _0x181648['push'](_0x181648['shift']());}catch(_0x35b503){_0x181648['push'](_0x181648['shift']());}}}(_0x5ea0,0x8a794));import{View as _0x3ffc5a}from'ckeditor5/src/ui.js';import _0x4e05d8 from'./uploadcareimageeditformloadingview.js';import _0x39a7c8 from'./uploadcareimageeditformerrorview.js';import _0x3672ef from'./uploadcareimageeditformeditingview.js';function _0x42ef(_0x17f462,_0x2c73ea){const _0x5ea034=_0x5ea0();return _0x42ef=function(_0x42ef6b,_0x2587e2){_0x42ef6b=_0x42ef6b-0x1cb;let _0x401d8f=_0x5ea034[_0x42ef6b];return _0x401d8f;},_0x42ef(_0x17f462,_0x2c73ea);}import _0xcba42b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xcba42b{[_0x2907c9(0x1f6)];[_0x2907c9(0x1d5)];[_0x2907c9(0x1f5)];[_0x2907c9(0x1db)];[_0x2907c9(0x1ea)];constructor(_0x5314e6,_0xa97911,_0x5b610b){const _0x213538=_0x2907c9;super(_0x5314e6),this[_0x213538(0x1f6)]=this[_0x213538(0x1dc)](),this[_0x213538(0x1d5)]=new _0x4e05d8(_0x5314e6),this[_0x213538(0x1f5)]=new _0x39a7c8(_0x5314e6),this[_0x213538(0x1db)]=new _0x3672ef(_0x5314e6,_0x5b610b),this[_0x213538(0x1ea)]=new _0x3ffc5a(_0x5314e6),this[_0x213538(0x1ea)][_0x213538(0x1ee)](this[_0x213538(0x1fe)]()),this[_0x213538(0x1e1)](_0x213538(0x1de),_0xa97911),this[_0x213538(0x1ee)]({'tag':_0x213538(0x1eb),'attributes':{'class':['ck',_0x213538(0x1d8),_0x213538(0x1e4)],'tabindex':'-1'},'children':this[_0x213538(0x1f6)]}),this[_0x213538(0x200)](),this[_0x213538(0x1d4)](_0x213538(0x1fd),()=>{const _0x42c37e=_0x213538;this[_0x42c37e(0x1f2)](this[_0x42c37e(0x1f7)],_0x181258=>{const _0x3a962b=_0x42c37e;this[_0x3a962b(0x1f9)](_0x181258);});}),this['on'](_0x213538(0x203),()=>{const _0x4a3423=_0x213538;this[_0x4a3423(0x200)]();}),this[_0x213538(0x1f4)]();}[_0x2907c9(0x1ed)](){const _0x5c09ab=_0x2907c9;this[_0x5c09ab(0x1f7)][_0x5c09ab(0x1ed)]();}[_0x2907c9(0x200)](){const _0x2a4ab1=_0x2907c9;switch(this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1d1)](),this[_0x2a4ab1(0x1de)]){case _0x2a4ab1(0x1fa):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1ce)](this[_0x2a4ab1(0x1d5)]);break;case _0x2a4ab1(0x1fb):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1ce)](this[_0x2a4ab1(0x1f5)]);break;case _0x2a4ab1(0x202):this[_0x2a4ab1(0x1f6)][_0x2a4ab1(0x1cd)]([this[_0x2a4ab1(0x1db)],this[_0x2a4ab1(0x1ea)]]);}}[_0x2907c9(0x1f2)](_0x5d81af,_0x4bcaf7){const _0x23467e=_0x2907c9,_0x5d4b83=_0x23467e(0x1da),_0x4414cc=_0x5d81af[_0x23467e(0x1e0)](_0x5d4b83);if(_0x4414cc)return _0x4bcaf7(_0x4414cc);const _0x5ae2e9=new MutationObserver(_0xa06c5d=>{const _0x50e809=_0x23467e,_0x190ae1=_0xa06c5d[_0x50e809(0x1d0)](_0x484d6b=>_0x484d6b[_0x50e809(0x1cb)]===_0x5d81af&&_0x484d6b[_0x50e809(0x1ff)][_0x50e809(0x1dd)]>0x0&&_0x484d6b[_0x50e809(0x1ff)][0x0][_0x50e809(0x1f1)][_0x50e809(0x1d7)]()===_0x5d4b83);_0x190ae1[_0x50e809(0x1dd)]&&(_0x5ae2e9[_0x50e809(0x1f8)](),_0x4bcaf7(_0x190ae1[0x0][_0x50e809(0x1ff)][0x0]));});_0x5ae2e9[_0x23467e(0x1e8)](_0x5d81af,{'childList':!0x0,'subtree':!0x0});}[_0x2907c9(0x1f9)](_0x2f29f5){const _0x5a6ca6=_0x2907c9;_0x2f29f5[_0x5a6ca6(0x1ef)](_0x5a6ca6(0x1cc),_0x1529e2=>{const _0x4382c4=_0x5a6ca6;this[_0x4382c4(0x1d3)](_0x4382c4(0x1cc),{'imageSrc':_0x1529e2[_0x4382c4(0x1cf)][_0x4382c4(0x1e9)]});}),_0x2f29f5[_0x5a6ca6(0x1ef)](_0x5a6ca6(0x1e5),()=>{const _0x3a0219=_0x5a6ca6;this[_0x3a0219(0x1d3)](_0x3a0219(0x1e5));});}[_0x2907c9(0x1f4)](){const _0x142443=_0x2907c9;this[_0x142443(0x1f5)]['on'](_0x142443(0x1df),()=>{const _0x28e3fa=_0x142443;this[_0x28e3fa(0x1d3)](_0x28e3fa(0x1df));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4494(_0x39dbad,_0x23a799){const _0x3ab414=_0x3ab4();return _0x4494=function(_0x44946c,_0x1ec512){_0x44946c=_0x44946c-0x196;let _0x309a92=_0x3ab414[_0x44946c];return _0x309a92;},_0x4494(_0x39dbad,_0x23a799);}const _0x5890a9=_0x4494;(function(_0x21681d,_0xaab87){const _0x54f4b5=_0x4494,_0x18d46b=_0x21681d();while(!![]){try{const _0x36929a=parseInt(_0x54f4b5(0x1b3))/0x1*(parseInt(_0x54f4b5(0x1aa))/0x2)+-parseInt(_0x54f4b5(0x19e))/0x3*(parseInt(_0x54f4b5(0x1ac))/0x4)+-parseInt(_0x54f4b5(0x1b7))/0x5+-parseInt(_0x54f4b5(0x1a9))/0x6*(-parseInt(_0x54f4b5(0x1a1))/0x7)+parseInt(_0x54f4b5(0x1ab))/0x8*(-parseInt(_0x54f4b5(0x1b0))/0x9)+-parseInt(_0x54f4b5(0x196))/0xa*(-parseInt(_0x54f4b5(0x1a8))/0xb)+-parseInt(_0x54f4b5(0x1a5))/0xc*(parseInt(_0x54f4b5(0x19f))/0xd);if(_0x36929a===_0xaab87)break;else _0x18d46b['push'](_0x18d46b['shift']());}catch(_0x1b6071){_0x18d46b['push'](_0x18d46b['shift']());}}}(_0x3ab4,0x1a1d5));function _0x3ab4(){const _0x33652e=['isActive','selection','imageInline','set','_isEditable','unbind','document','265935TdPLRt','3055qFtkfu','plugins','101157okJfiv','isEnabled','imageEditController','refresh','5676gRcnTw','requires','imageBlock','185075PujHEZ','72VXxtnf','48YtHdty','8nKVwfO','8DRNXwT','execute','model','get','195813vCzDHH','getSelectedElement','editor','2691qZjpYr','bind','uploadcare.allowExternalImagesEditing','config','113645JjIvPh','element','120nkoYlB'];_0x3ab4=function(){return _0x33652e;};return _0x3ab4();}import{Command as _0x226bc3}from'ckeditor5/src/core.js';import{Dialog as _0x1d2286}from'ckeditor5/src/ui.js';import _0x448069 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x25f833}from'../utils/editingutils.js';export default class J extends _0x226bc3{[_0x5890a9(0x1a3)];static get[_0x5890a9(0x1a6)](){return[_0x1d2286];}[_0x5890a9(0x19b)];constructor(_0x265c31){const _0x4b93af=_0x5890a9;super(_0x265c31),this[_0x4b93af(0x1a3)]=void 0x0,this[_0x4b93af(0x19b)]=_0x25f833(_0x265c31[_0x4b93af(0x1b6)][_0x4b93af(0x1af)](_0x4b93af(0x1b5))||[]),this[_0x4b93af(0x19a)]({'isActive':!0x1});}[_0x5890a9(0x1a4)](){const _0x4b5962=_0x5890a9,_0x384bbf=this[_0x4b5962(0x1b2)][_0x4b5962(0x1ae)][_0x4b5962(0x19d)][_0x4b5962(0x198)][_0x4b5962(0x1b1)]();this[_0x4b5962(0x1a2)]=this[_0x4b5962(0x19b)](_0x384bbf);}[_0x5890a9(0x1ad)](){const _0x4acca5=_0x5890a9;this[_0x4acca5(0x1a3)]&&(this[_0x4acca5(0x19c)](_0x4acca5(0x197)),this[_0x4acca5(0x1a3)]=void 0x0);const _0x59856a=this[_0x4acca5(0x1b2)][_0x4acca5(0x1ae)][_0x4acca5(0x19d)][_0x4acca5(0x198)][_0x4acca5(0x1b1)]();_0x59856a&&(_0x59856a['is'](_0x4acca5(0x1b8),_0x4acca5(0x1a7))||_0x59856a['is'](_0x4acca5(0x1b8),_0x4acca5(0x199)))&&(this[_0x4acca5(0x1a3)]=new _0x448069(this[_0x4acca5(0x1b2)],this[_0x4acca5(0x1b2)][_0x4acca5(0x1a0)][_0x4acca5(0x1af)](_0x1d2286),_0x59856a),this[_0x4acca5(0x1b4)](_0x4acca5(0x197))['to'](this[_0x4acca5(0x1a3)],_0x4acca5(0x197)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x226d80=_0x5f45;function _0x4dc7(){const _0x430647=['80116MdYokP','add','ImageEditing','247221zfepuM','isPremiumPlugin','commands','476COXnuZ','init','539073GwoFlC','8877YOLlRl','pluginName','uploadcareImageReplace','uploadcareImageEdit','363582ZjpoKP','6420IcxRxU','isOfficialPlugin','21RyDeqa','ImageUtils','40mAgQUB','requires','6354560mpTNBN','UploadcareImageEditEditing','17514GLCRAw'];_0x4dc7=function(){return _0x430647;};return _0x4dc7();}(function(_0x406046,_0x137b7e){const _0x272ad5=_0x5f45,_0x574ddc=_0x406046();while(!![]){try{const _0x532cdc=-parseInt(_0x272ad5(0x11a))/0x1+parseInt(_0x272ad5(0x10d))/0x2+parseInt(_0x272ad5(0x110))/0x3*(parseInt(_0x272ad5(0x117))/0x4)+parseInt(_0x272ad5(0x114))/0x5+parseInt(_0x272ad5(0x116))/0x6*(parseInt(_0x272ad5(0x11d))/0x7)+-parseInt(_0x272ad5(0x112))/0x8*(parseInt(_0x272ad5(0x11f))/0x9)+-parseInt(_0x272ad5(0x10e))/0xa*(parseInt(_0x272ad5(0x120))/0xb);if(_0x532cdc===_0x137b7e)break;else _0x574ddc['push'](_0x574ddc['shift']());}catch(_0x16d21f){_0x574ddc['push'](_0x574ddc['shift']());}}}(_0x4dc7,0xb1646));import{Plugin as _0x5195ca}from'ckeditor5/src/core.js';import{Notification as _0x24bbe5}from'ckeditor5/src/ui.js';import _0x479efd from'./uploadcareimageeditcommand.js';import _0x28e0ad from'./uploadcareimagereplacecommand.js';function _0x5f45(_0x5ece21,_0x5c3830){const _0x4dc784=_0x4dc7();return _0x5f45=function(_0x5f45ea,_0x3e6f18){_0x5f45ea=_0x5f45ea-0x10d;let _0x4b5cbc=_0x4dc784[_0x5f45ea];return _0x4b5cbc;},_0x5f45(_0x5ece21,_0x5c3830);}import _0x312639 from'../uploadcareediting.js';export default class g extends _0x5195ca{static get[_0x226d80(0x121)](){const _0x5b274e=_0x226d80;return _0x5b274e(0x115);}static get[_0x226d80(0x113)](){const _0x345b0f=_0x226d80;return[_0x312639,_0x24bbe5,_0x345b0f(0x111),_0x345b0f(0x119)];}static get[_0x226d80(0x10f)](){return!0x0;}static get[_0x226d80(0x11b)](){return!0x0;}[_0x226d80(0x11e)](){const _0x247eeb=_0x226d80,{editor:_0x37e40d}=this;_0x37e40d[_0x247eeb(0x11c)][_0x247eeb(0x118)](_0x247eeb(0x123),new _0x479efd(_0x37e40d)),_0x37e40d[_0x247eeb(0x11c)][_0x247eeb(0x118)](_0x247eeb(0x122),new _0x28e0ad(_0x37e40d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x19bd3c}from'ckeditor5/src/core.js';import{ButtonView as _0x5322cf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d5d43}from'ckeditor5/src/icons.js';import{createElement as _0x274123}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x19bd3c{['_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 _0x31cefe=this['editor'];_0x31cefe['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2991f7=>{const _0x4d5aa9=_0x31cefe['commands']['get']('uploadcareImageEdit'),_0x2ba973=new _0x5322cf(_0x2991f7),t=_0x2991f7['t'];return _0x2ba973['set']({'icon':_0x4d5d43,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2ba973['bind']('isEnabled')['to'](_0x4d5aa9),_0x2ba973['bind']('isOn')['to'](_0x4d5aa9,'isActive'),this['listenTo'](_0x2ba973,'execute',()=>{_0x31cefe['execute']('uploadcareImageEdit'),_0x31cefe['editing']['view']['focus']();}),_0x2ba973;}),this['_initConfig']();}['_initConfig'](){const _0x3c6363=_0x274123(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c6363),this['listenTo'](this['editor'],'destroy',()=>{_0x3c6363['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x173c10=_0x3a2a;(function(_0x1bdb8e,_0x30372a){const _0x3efab=_0x3a2a,_0x144b65=_0x1bdb8e();while(!![]){try{const _0x57fc8c=-parseInt(_0x3efab(0x84))/0x1+parseInt(_0x3efab(0x94))/0x2*(parseInt(_0x3efab(0x80))/0x3)+-parseInt(_0x3efab(0x98))/0x4+parseInt(_0x3efab(0x8e))/0x5*(-parseInt(_0x3efab(0x85))/0x6)+-parseInt(_0x3efab(0x8c))/0x7+-parseInt(_0x3efab(0x91))/0x8*(-parseInt(_0x3efab(0x86))/0x9)+parseInt(_0x3efab(0x89))/0xa;if(_0x57fc8c===_0x30372a)break;else _0x144b65['push'](_0x144b65['shift']());}catch(_0x229bf4){_0x144b65['push'](_0x144b65['shift']());}}}(_0x4672,0xd8e80));function _0x3a2a(_0x3f340c,_0x299023){const _0x4672a2=_0x4672();return _0x3a2a=function(_0x3a2ae1,_0x5c3df4){_0x3a2ae1=_0x3a2ae1-0x80;let _0x4e269b=_0x4672a2[_0x3a2ae1];return _0x4e269b;},_0x3a2a(_0x3f340c,_0x299023);}import{Command as _0x189baa}from'ckeditor5/src/core.js';function _0x4672(){const _0x296a09=['refresh','change','1747113DkZxvN','6FCSiql','1462743ilVXNK','model','setAttributes','56475210OXfYpE','getSelectedElement','imageBlock','12381236GedBGA','removeAttribute','6299735XqxYol','srcset','selection','56nmFDhp','imageInline','sizes','10CmdTwb','isEnabled','document','execute','5946936OhHDGL','editor','219468oMXaxd','element'];_0x4672=function(){return _0x296a09;};return _0x4672();}export default class O extends _0x189baa{[_0x173c10(0x82)](){const _0x49f187=_0x173c10,_0x245d47=this[_0x49f187(0x99)][_0x49f187(0x87)][_0x49f187(0x96)][_0x49f187(0x90)][_0x49f187(0x8a)]();this[_0x49f187(0x95)]=Boolean(_0x245d47&&(_0x245d47['is'](_0x49f187(0x81),_0x49f187(0x8b))||_0x245d47['is'](_0x49f187(0x81),_0x49f187(0x92))));}[_0x173c10(0x97)](_0x3ded5a){const _0xbb59ce=_0x173c10,_0x5e2f0f=this[_0xbb59ce(0x99)][_0xbb59ce(0x87)][_0xbb59ce(0x96)][_0xbb59ce(0x90)][_0xbb59ce(0x8a)]();this[_0xbb59ce(0x99)][_0xbb59ce(0x87)][_0xbb59ce(0x83)](_0x19225a=>{const _0x1d2684=_0xbb59ce;_0x19225a[_0x1d2684(0x88)](_0x3ded5a,_0x5e2f0f),_0x19225a[_0x1d2684(0x8d)](_0x1d2684(0x8f),_0x5e2f0f),_0x19225a[_0x1d2684(0x8d)](_0x1d2684(0x93),_0x5e2f0f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x436f(){var _0x352d11=['6156040cXVmkk','4189255puvvIr','1570mycLji','2QSZYGq','1812DaxEfL','21yctpBl','isOfficialPlugin','pluginName','isPremiumPlugin','8xsSZpQ','605558ObwMQG','5046FGzUBA','254512ernLKD','UploadcareImageEdit','requires','102993cIijmw','5600295MyDvUE'];_0x436f=function(){return _0x352d11;};return _0x436f();}var _0x10bf3d=_0x1937;(function(_0x275425,_0x18e046){var _0x22e8d3=_0x1937,_0xfefa7d=_0x275425();while(!![]){try{var _0x50ea26=-parseInt(_0x22e8d3(0x1b6))/0x1*(parseInt(_0x22e8d3(0x1af))/0x2)+parseInt(_0x22e8d3(0x1b1))/0x3*(parseInt(_0x22e8d3(0x1b8))/0x4)+-parseInt(_0x22e8d3(0x1ae))/0x5*(parseInt(_0x22e8d3(0x1b7))/0x6)+parseInt(_0x22e8d3(0x1ad))/0x7*(-parseInt(_0x22e8d3(0x1b5))/0x8)+-parseInt(_0x22e8d3(0x1ab))/0x9+parseInt(_0x22e8d3(0x1ac))/0xa+parseInt(_0x22e8d3(0x1bb))/0xb*(parseInt(_0x22e8d3(0x1b0))/0xc);if(_0x50ea26===_0x18e046)break;else _0xfefa7d['push'](_0xfefa7d['shift']());}catch(_0x18b1e0){_0xfefa7d['push'](_0xfefa7d['shift']());}}}(_0x436f,0x5ddcd));function _0x1937(_0x2b0586,_0x4106e9){var _0x436f9c=_0x436f();return _0x1937=function(_0x19378d,_0x49ff24){_0x19378d=_0x19378d-0x1ab;var _0x2eece5=_0x436f9c[_0x19378d];return _0x2eece5;},_0x1937(_0x2b0586,_0x4106e9);}import{Plugin as _0x4af325}from'ckeditor5/src/core.js';import _0x3503ec from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x117e1f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x4af325{static get[_0x10bf3d(0x1b3)](){var _0x544384=_0x10bf3d;return _0x544384(0x1b9);}static get[_0x10bf3d(0x1ba)](){return[_0x3503ec,_0x117e1f];}static get[_0x10bf3d(0x1b2)](){return!0x0;}static get[_0x10bf3d(0x1b4)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22ab68=_0x2fe6;(function(_0x488bfe,_0x237fc5){const _0x14400e=_0x2fe6,_0x5e0711=_0x488bfe();while(!![]){try{const _0x55f61f=-parseInt(_0x14400e(0x116))/0x1+-parseInt(_0x14400e(0x149))/0x2+parseInt(_0x14400e(0x140))/0x3+parseInt(_0x14400e(0x148))/0x4+parseInt(_0x14400e(0x130))/0x5+-parseInt(_0x14400e(0x132))/0x6*(-parseInt(_0x14400e(0x135))/0x7)+parseInt(_0x14400e(0x10b))/0x8;if(_0x55f61f===_0x237fc5)break;else _0x5e0711['push'](_0x5e0711['shift']());}catch(_0x387bc5){_0x5e0711['push'](_0x5e0711['shift']());}}}(_0x4e1e,0xafc7c));import{Plugin as _0x47ec31}from'ckeditor5/src/core.js';import{IconDropbox as _0xcb343f,IconFacebook as _0x29a461,IconGoogleDrive as _0x3b25e6,IconGooglePhotos as _0x245c31,IconUploadcareImageUpload as _0x1c5e28,IconUploadcareLink as _0x54962c,IconOneDrive as _0x2bec9c}from'ckeditor5/src/icons.js';function _0x2fe6(_0xb405b7,_0x22fd52){const _0x4e1eb9=_0x4e1e();return _0x2fe6=function(_0x2fe688,_0x14354e){_0x2fe688=_0x2fe688-0xfb;let _0x1ad92d=_0x4e1eb9[_0x2fe688];return _0x1ad92d;},_0x2fe6(_0xb405b7,_0x22fd52);}import{ButtonView as _0x2b692b,MenuBarMenuListItemButtonView as _0x4c7fb7}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x561c2d}from'./uploadcareconfig.js';import{getTranslation as _0x562cdd}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4e1e(){const _0x40a911=['uploadcareLicenseKeyExpired','registerIntegration','_createToolbarButton','_createButton','tooltip','uploadcareLicenseKeyNotAllowed','2082310egQqDm','assetManager','12MxkyPa','Insert','editor','2659972mXrvQF','uploadcareLicenseKeyEvaluationLimit','_getIntegrationKey','get','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','shortText','featureNotAllowed','url','isOfficialPlugin','Facebook','287565EokEsl','uploadcare.uploader.sourceList','Local','init','usageLimit','config','entries','uploadcareLicenseKeyUsageLimit','2698428ZBMGJQ','2514824DLDJCS','type','UploadcareUI','locale','isEnabled','domainLimit','text','icon','_showLicenseError','Dropbox','afterInit','invalid','GPhotos','map','_licenseKeyCheckInterval','withText','isImageSelected','2079296RJkimt','destroy','ImageInsertUI','commands','uploadcareLicenseKeyTrialLimit','_createDropdownButtons','uploadcare','trialLimit','has','plugins','upload','229420cIPNIn','bind','uploadcareLicenseKeyInvalid','execute','forEach','push','label','pluginName','reduce','uploadcareLicenseKeyValid','expired','URL','licenseKey','Uploadcare','evaluationLimit','GDrive','_createMenuBarButtons','Replace','isPremiumPlugin','OneDrive'];_0x4e1e=function(){return _0x40a911;};return _0x4e1e();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x47ec31{[_0x22ab68(0x122)];[_0x22ab68(0x108)];static get[_0x22ab68(0x11d)](){const _0x1ede9c=_0x22ab68;return _0x1ede9c(0xfc);}static get[_0x22ab68(0x13e)](){return!0x0;}static get[_0x22ab68(0x128)](){return!0x0;}[_0x22ab68(0x143)](){const _0x335f9b=_0x22ab68;this[_0x335f9b(0x122)]=this[_0x335f9b(0x134)][_0x335f9b(0x145)][_0x335f9b(0x138)](_0x335f9b(0x122));const _0x1bf935=this[_0x335f9b(0x134)];this[_0x335f9b(0x108)]=setInterval(()=>{const _0x30c3f7=_0x335f9b;let _0x1d996e;for(const _0x1dff39 in _0x1bf935){const _0x110618=_0x1dff39,_0x1736ff=_0x1bf935[_0x110618];if(_0x30c3f7(0x11f)==_0x1736ff||_0x30c3f7(0x118)==_0x1736ff||_0x30c3f7(0x12a)==_0x1736ff||_0x30c3f7(0x139)==_0x1736ff||_0x30c3f7(0x12f)==_0x1736ff||_0x30c3f7(0x136)==_0x1736ff||_0x30c3f7(0x10f)==_0x1736ff||_0x30c3f7(0x147)==_0x1736ff){delete _0x1bf935[_0x110618],_0x1d996e=_0x1736ff,clearInterval(this[_0x30c3f7(0x108)]),this[_0x30c3f7(0x108)]=void 0x0;break;}}_0x30c3f7(0x118)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x105)),_0x30c3f7(0x12a)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x120)),_0x30c3f7(0x139)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0xff)),_0x30c3f7(0x12f)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x13c),_0x30c3f7(0x123)),_0x30c3f7(0x136)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x124)),_0x30c3f7(0x10f)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x112)),_0x30c3f7(0x147)==_0x1d996e&&_0x1bf935[_0x30c3f7(0x102)](_0x30c3f7(0x144));},0x3e8);}[_0x22ab68(0x104)](){const _0x5990a0=_0x22ab68,{editor:_0x5048db}=this,_0x3f39e2=_0x5048db[_0x5990a0(0x10e)][_0x5990a0(0x138)](_0x5990a0(0x111));if(!_0x3f39e2)return;const _0x92c95c=this[_0x5990a0(0x13a)](_0x5048db[_0x5990a0(0x145)][_0x5990a0(0x138)](_0x5990a0(0x141)))[_0x5990a0(0x11e)]((_0x2e1354,_0xefbcce)=>{const _0x6b2044=_0x5990a0,_0xaa48fd=this[_0x6b2044(0x137)](_0xefbcce[_0x6b2044(0xfb)]);return _0x2e1354[_0xaa48fd]||(_0x2e1354[_0xaa48fd]=[]),_0x2e1354[_0xaa48fd][_0x6b2044(0x11b)](_0xefbcce),_0x2e1354;},{});_0x5048db[_0x5990a0(0x114)][_0x5990a0(0x113)](_0x5990a0(0x10d))&&_0x5048db[_0x5990a0(0x10e)][_0x5990a0(0x138)](_0x5990a0(0x111))&&Object[_0x5990a0(0x146)](_0x92c95c)[_0x5990a0(0x11a)](([_0x4426da,_0x240377])=>{const _0xf6035=_0x5990a0;_0x5048db[_0xf6035(0x114)][_0xf6035(0x138)](_0xf6035(0x10d))[_0xf6035(0x12b)]({'name':_0x4426da,'observable':()=>_0x3f39e2,'buttonViewCreator':()=>this[_0xf6035(0x12c)](_0x240377),'formViewCreator':()=>this[_0xf6035(0x110)](_0x240377),'menuBarButtonViewCreator':()=>this[_0xf6035(0x126)](_0x240377),'override':_0xf6035(0x131)!==_0x4426da});});}[_0x22ab68(0x10c)](){const _0x1f4080=_0x22ab68;super[_0x1f4080(0x10c)](),this[_0x1f4080(0x108)]&&clearInterval(this[_0x1f4080(0x108)]);}[_0x22ab68(0x13a)](_0x146a73){const _0x5792a7=_0x22ab68,{locale:_0xf2c540}=this[_0x5792a7(0x134)];return _0x146a73[_0x5792a7(0x107)](_0x28f07f=>{const _0x4b04c0=_0x5792a7,_0x525562=_0x562cdd(_0xf2c540,_0x28f07f,_0x4b04c0(0x133));switch(_0x28f07f){case _0x561c2d[_0x4b04c0(0x142)]:return{'icon':_0x1c5e28,'type':_0x561c2d[_0x4b04c0(0x142)],..._0x525562};case _0x561c2d[_0x4b04c0(0x121)]:return{'icon':_0x54962c,'type':_0x561c2d[_0x4b04c0(0x121)],..._0x525562};case _0x561c2d[_0x4b04c0(0x103)]:return{'icon':_0xcb343f,'type':_0x561c2d[_0x4b04c0(0x103)],..._0x525562};case _0x561c2d[_0x4b04c0(0x13f)]:return{'icon':_0x29a461,'type':_0x561c2d[_0x4b04c0(0x13f)],..._0x525562};case _0x561c2d[_0x4b04c0(0x125)]:return{'icon':_0x3b25e6,'type':_0x561c2d[_0x4b04c0(0x125)],..._0x525562};case _0x561c2d[_0x4b04c0(0x106)]:return{'icon':_0x245c31,'type':_0x561c2d[_0x4b04c0(0x106)],..._0x525562};case _0x561c2d[_0x4b04c0(0x129)]:return{'icon':_0x2bec9c,'type':_0x561c2d[_0x4b04c0(0x129)],..._0x525562};}});}[_0x22ab68(0x137)](_0x392a34){const _0x2e0694=_0x22ab68;switch(_0x392a34){case _0x561c2d[_0x2e0694(0x142)]:return _0x2e0694(0x115);case _0x561c2d[_0x2e0694(0x121)]:return _0x2e0694(0x13d);default:return _0x2e0694(0x131);}}[_0x22ab68(0x12d)](_0xa4f1dc,_0x32f5af){const _0x2ab85d=_0x22ab68,_0x3972f1=this[_0x2ab85d(0x134)],_0x556f8b=new _0xa4f1dc(_0x3972f1[_0x2ab85d(0xfd)]),_0x5eb287=_0x3972f1[_0x2ab85d(0x10e)][_0x2ab85d(0x138)](_0x2ab85d(0x111));return _0x556f8b[_0x2ab85d(0x117)](_0x2ab85d(0xfe))['to'](_0x5eb287),_0x556f8b['on'](_0x2ab85d(0x119),()=>{const _0x5f3a1e=_0x2ab85d;_0x5eb287[_0x5f3a1e(0x119)](_0x32f5af);}),_0x556f8b;}[_0x22ab68(0x12c)](_0x4402e2){const _0x52db09=_0x22ab68,{locale:_0x5d5e7d}=this[_0x52db09(0x134)],_0x70d637=this[_0x52db09(0x134)][_0x52db09(0x114)][_0x52db09(0x138)](_0x52db09(0x10d)),_0x482b79=_0x4402e2[0x0],_0x3b732c=this[_0x52db09(0x12d)](_0x2b692b,_0x482b79[_0x52db09(0xfb)]);return _0x3b732c[_0x52db09(0x101)]=_0x482b79[_0x52db09(0x101)],_0x3b732c[_0x52db09(0x117)](_0x52db09(0x11c))['to'](_0x70d637,_0x52db09(0x10a),_0x547e30=>_0x562cdd(_0x5d5e7d,_0x482b79[_0x52db09(0xfb)],_0x547e30?_0x52db09(0x127):_0x52db09(0x133))[_0x52db09(0x100)]),_0x3b732c[_0x52db09(0x12e)]=!0x0,_0x3b732c;}[_0x22ab68(0x110)](_0x1b5a01){const _0x5c5c8e=_0x22ab68,{locale:_0x19d017}=this[_0x5c5c8e(0x134)],_0x118c2f=this[_0x5c5c8e(0x134)][_0x5c5c8e(0x114)][_0x5c5c8e(0x138)](_0x5c5c8e(0x10d));return _0x1b5a01[_0x5c5c8e(0x107)](_0x3b4ab0=>{const _0x428a1f=_0x5c5c8e,_0xcd345d=this[_0x428a1f(0x12d)](_0x2b692b,_0x3b4ab0[_0x428a1f(0xfb)]);return _0xcd345d[_0x428a1f(0x109)]=!0x0,_0xcd345d[_0x428a1f(0x101)]=_0x3b4ab0[_0x428a1f(0x101)],_0xcd345d[_0x428a1f(0x117)](_0x428a1f(0x11c))['to'](_0x118c2f,_0x428a1f(0x10a),_0x5601e0=>_0x562cdd(_0x19d017,_0x3b4ab0[_0x428a1f(0xfb)],_0x5601e0?_0x428a1f(0x127):_0x428a1f(0x133))[_0x428a1f(0x100)]),_0xcd345d;});}[_0x22ab68(0x126)](_0x3841d3){const _0x2b8aaa=_0x22ab68;return _0x3841d3[_0x2b8aaa(0x107)](_0x5000f8=>{const _0x1845b0=_0x2b8aaa,_0x283e7c=this[_0x1845b0(0x12d)](_0x4c7fb7,_0x5000f8[_0x1845b0(0xfb)]);return _0x283e7c[_0x1845b0(0x101)]=_0x5000f8[_0x1845b0(0x101)],_0x283e7c[_0x1845b0(0x11c)]=_0x5000f8[_0x1845b0(0x13b)],_0x283e7c;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x25e8e9}from'ckeditor5/src/core.js';import{FileRepository as _0x39ff37}from'ckeditor5/src/upload.js';import _0x4fda30 from'./uploadcareediting.js';import _0x33411e from'./utils/uploadutils.js';import{getImageUrls as _0x2fd6a0}from'./utils/editingutils.js';export default class p extends _0x25e8e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39ff37,_0x4fda30];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xa6a7ad=this['editor'];if(!!!_0xa6a7ad['config']['get']('uploadcare'))return;_0xa6a7ad['plugins']['get'](_0x39ff37)['createUploadAdapter']=_0x12b80d=>new x(_0x12b80d,_0xa6a7ad),_0xa6a7ad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1571ce,{imageElement:_0x43f123,data:_0x1347fb})=>{_0xa6a7ad['model']['change'](_0x13910d=>{_0x13910d['setAttribute']('uploadcareImageId',_0x1347fb['uploadcareImageId'],_0x43f123);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1091e6,_0x12924e){this['loader']=_0x1091e6,this['editor']=_0x12924e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2ff964=this['editor']['config']['get']('uploadcare.pubkey'),_0xebe6d0=await this['loader']['file'];return _0x33411e['upload']({'file':_0xebe6d0,'publicKey':_0x2ff964,'signal':this['controller']['signal'],'onProgress':_0x2c08c7=>{_0x2c08c7&&_0x2c08c7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2c08c7['value']);}})['then'](async _0x5a1ec4=>{const {imageFallbackUrl:_0x2c28ef,imageSources:_0x2c1074}=_0x2fd6a0(_0x5a1ec4['cdnUrl'],_0x5a1ec4['imageInfo']['width']);return{'uploadcareImageId':_0x5a1ec4['uuid'],'default':_0x2c28ef,'sources':_0x2c1074};})['catch'](()=>{const _0x21e815=t('Cannot\x20upload\x20file:')+('\x20'+_0xebe6d0['name']+'.');return Promise['reject'](_0x21e815);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0xdf141b}from'../uploadcareconfig.js';export function getTranslation(_0x5015a0,_0x237389,_0x3e17e9){const t=_0x5015a0['t'],_0x16736b=_0x5015a0['t'];switch(_0x237389){case _0xdf141b['Local']:return{'text':_0x16736b('Insert'===_0x3e17e9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16736b('From\x20computer')};case _0xdf141b['URL']:return{'text':'Insert'===_0x3e17e9?_0x16736b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16736b('Via\x20URL')};case _0xdf141b['Dropbox']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xdf141b['Facebook']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xdf141b['GDrive']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xdf141b['GPhotos']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xdf141b['OneDrive']:return{'text':t('Insert'===_0x3e17e9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x237389;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3af3(){var _0x5d9f9c=['fire','div','forwardCycle','createCollection','2952425mRWwuN','583510zujQJl','true','bindTemplate','focusTracker','681000dhsMyb','21tzGwGc','1408056pGzrCU','focusCycler','1973262mBhLOX','716952BMkeNu','553216ziolTA','getFocusableElement'];_0x3af3=function(){return _0x5d9f9c;};return _0x3af3();}var _0x2a991e=_0xe8eb;(function(_0x4cf1f1,_0x4f456e){var _0x3ec66b=_0xe8eb,_0x5467de=_0x4cf1f1();while(!![]){try{var _0x504ea8=-parseInt(_0x3ec66b(0x153))/0x1+-parseInt(_0x3ec66b(0x15a))/0x2+parseInt(_0x3ec66b(0x151))/0x3+parseInt(_0x3ec66b(0x14f))/0x4+parseInt(_0x3ec66b(0x159))/0x5+-parseInt(_0x3ec66b(0x14d))/0x6+parseInt(_0x3ec66b(0x14e))/0x7*(-parseInt(_0x3ec66b(0x152))/0x8);if(_0x504ea8===_0x4f456e)break;else _0x5467de['push'](_0x5467de['shift']());}catch(_0x5a58e6){_0x5467de['push'](_0x5467de['shift']());}}}(_0x3af3,0x5b0bd));import{FocusTracker as _0x364c49}from'ckeditor5/src/utils.js';import{View as _0x18b547,FocusCycler as _0x39645a}from'ckeditor5/src/ui.js';function _0xe8eb(_0x5c9b71,_0x5c1f67){var _0x3af3ae=_0x3af3();return _0xe8eb=function(_0xe8eb7c,_0xb381d6){_0xe8eb7c=_0xe8eb7c-0x14b;var _0xf47e8d=_0x3af3ae[_0xe8eb7c];return _0xf47e8d;},_0xe8eb(_0x5c9b71,_0x5c1f67);}import'../../theme/uploadcare-form.css';export default class q extends _0x18b547{[_0x2a991e(0x14c)];[_0x2a991e(0x150)];constructor(_0x4b8d96){var _0x274c10=_0x2a991e;super(_0x4b8d96),this[_0x274c10(0x14c)]=new _0x364c49(),this[_0x274c10(0x150)]=new _0x39645a({'focusables':this[_0x274c10(0x158)](),'focusTracker':this[_0x274c10(0x14c)]});}[_0x2a991e(0x154)](){var _0x20d860=_0x2a991e;return{'tag':_0x20d860(0x156),'attributes':{'aria-hidden':_0x20d860(0x15b),'tabindex':'0'},'on':{'focus':this[_0x20d860(0x14b)]['to'](()=>{var _0x279555=_0x20d860;this[_0x279555(0x150)][_0x279555(0x155)](_0x279555(0x157));})}};}}
|