@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250326.2 → 0.0.0-nightly-20250328.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x12ef27=_0x3530;(function(_0x4921a8,_0x1b6703){const _0x11ca9c=_0x3530,_0x3d1059=_0x4921a8();while(!![]){try{const _0x138a87=parseInt(_0x11ca9c(0x194))/0x1+parseInt(_0x11ca9c(0x158))/0x2*(parseInt(_0x11ca9c(0x167))/0x3)+-parseInt(_0x11ca9c(0x190))/0x4+-parseInt(_0x11ca9c(0x17e))/0x5+-parseInt(_0x11ca9c(0x180))/0x6*(-parseInt(_0x11ca9c(0x177))/0x7)+-parseInt(_0x11ca9c(0x175))/0x8*(parseInt(_0x11ca9c(0x17c))/0x9)+parseInt(_0x11ca9c(0x173))/0xa;if(_0x138a87===_0x1b6703)break;else _0x3d1059['push'](_0x3d1059['shift']());}catch(_0x3547c9){_0x3d1059['push'](_0x3d1059['shift']());}}}(_0x1e74,0xa8824));import{Plugin as _0x5533d4}from'ckeditor5/src/core.js';function _0x3530(_0x150328,_0x34556f){const _0x1e7445=_0x1e74();return _0x3530=function(_0x353079,_0x38ccfb){_0x353079=_0x353079-0x141;let _0x4aff18=_0x1e7445[_0x353079];return _0x4aff18;},_0x3530(_0x150328,_0x34556f);}import{Dialog as _0x56b4aa}from'ckeditor5/src/ui.js';import{createElement as _0xe9fd83,global as _0x2d8658,uid as _0x22f59e}from'ckeditor5/src/utils.js';import _0x1ca826 from'./uploadcarecommand.js';import _0x3db112 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3ca15f}from'./utils/editingutils.js';export default class i extends _0x5533d4{[_0x12ef27(0x191)]=null;[_0x12ef27(0x168)]=null;static get[_0x12ef27(0x162)](){const _0x22a605=_0x12ef27;return _0x22a605(0x15a);}static get[_0x12ef27(0x16f)](){const _0x48e7ac=_0x12ef27;return[_0x48e7ac(0x188),_0x3db112,_0x56b4aa];}static get[_0x12ef27(0x150)](){return!0x0;}static get[_0x12ef27(0x161)](){return!0x0;}get[_0x12ef27(0x16c)](){const _0x2d27fc=_0x12ef27;return this[_0x2d27fc(0x191)];}get[_0x12ef27(0x171)](){const _0x464f6a=_0x12ef27;return this[_0x464f6a(0x168)];}[_0x12ef27(0x174)](){const _0x49022e=_0x12ef27,_0x2954aa=this[_0x49022e(0x156)];_0x2954aa[_0x49022e(0x14a)][_0x49022e(0x155)](_0x49022e(0x145),new _0x1ca826(_0x2954aa));}[_0x12ef27(0x14e)](){const _0x237938=_0x12ef27;this[_0x237938(0x183)](),this[_0x237938(0x182)](),this[_0x237938(0x187)](),this[_0x237938(0x17a)](),this[_0x237938(0x17b)](),this[_0x237938(0x179)](this[_0x237938(0x156)],_0x237938(0x166),()=>{const _0xd18bc7=_0x237938;this[_0xd18bc7(0x191)]&&(this[_0xd18bc7(0x191)][_0xd18bc7(0x160)](),this[_0xd18bc7(0x191)]=null),this[_0xd18bc7(0x168)]&&(this[_0xd18bc7(0x168)][_0xd18bc7(0x160)](),this[_0xd18bc7(0x168)]=null);const _0x377d14=_0x2d8658[_0xd18bc7(0x15e)][_0xd18bc7(0x16a)](_0xd18bc7(0x14d));_0x377d14&&_0x377d14[_0xd18bc7(0x160)]();}),async function(_0x55614e){const _0x3d7502=_0x428716([0x34,0x65,0x63,0x32,0x6b,0x37,0x75,0x6a,0x74,0x44,0x33,0x79,0x48,0x4c,0x6d,0x58,0x68,0x4e,0x73,0x42,0x4d,0x46,0x4f,0x64,0x30,0x4a,0x6e,0x31,0x70,0x50,0x39,0x76,0x35,0x6c,0x55,0x66,0x71,0x67,0x56,0x49,0x45,0x51,0x77,0x53,0x41,0x4b,0x54,0x5a,0x61,0x78,0x62,0x43,0x69,0x7a,0x47,0x52,0x38,0x72,0x6f,0x57,0x59,0x36]),_0x5dd2b4=0x3ba66e2b,_0x43356f=0x3ba10d13^_0x5dd2b4,_0x3400ff=window[_0x428716([0x44,0x61,0x74,0x65])][_0x428716([0x6e,0x6f,0x77])](),_0x435178=_0x55614e[_0x428716([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x187636=new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cdd82=>{_0x435178[_0x428716([0x6f,0x6e,0x63,0x65])](_0x428716([0x72,0x65,0x61,0x64,0x79]),_0x2cdd82);}),_0x5e56eb={[_0x428716([0x6b,0x74,0x79])]:_0x428716([0x45,0x43]),[_0x428716([0x75,0x73,0x65])]:_0x428716([0x73,0x69,0x67]),[_0x428716([0x63,0x72,0x76])]:_0x428716([0x50,0x2d,0x32,0x35,0x36]),[_0x428716([0x78])]:_0x428716([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]),[_0x428716([0x79])]:_0x428716([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]),[_0x428716([0x61,0x6c,0x67])]:_0x428716([0x45,0x53,0x32,0x35,0x36])},_0x190db4=_0x435178[_0x428716([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428716([0x67,0x65,0x74])](_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30fd65(){let _0x5311e5,_0x3ea3a4=null,_0x504ddc=null;try{if(_0x190db4==_0x428716([0x47,0x50,0x4c]))return _0x428716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5311e5=_0xc3ac51(),!_0x5311e5)return _0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5311e5[_0x428716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x504ddc=_0x402c02(_0x5311e5[_0x428716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5311e5[_0x428716([0x6a,0x74,0x69])])),await _0x584e98()?_0xd8035c()?_0x247db8()?_0x428716([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7de495()?(_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ea3a4=_0x3444dd(_0x428716([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428716([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ea3a4=_0x3444dd(_0x428716([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243c2c()):_0x428716([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x41f32d){return _0x428716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x247db8(){const _0x4c201d=[_0x428716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428716([0x74,0x72,0x69,0x61,0x6c])][_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3400ff/0x3e8:0xe10*_0x43356f;return _0x5311e5[_0x428716([0x65,0x78,0x70])]<_0x4c201d;}function _0xd8035c(){const _0x12e875=_0x5311e5[_0x428716([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12e875&&(!!_0x12e875[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x2a]))||!!_0x12e875[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x55,0x50,0x4c,0x43])));}function _0x7de495(){const _0x581278=_0x3530,_0x21c6f6=_0x5311e5[_0x428716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21c6f6||0x0==_0x21c6f6[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c348a}=new URL(window[_0x428716([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x581278(0x152)]);if(_0x21c6f6[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c348a))return!0x0;const _0x14d92d=_0x3c348a[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e]));return _0x21c6f6[_0x428716([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc01fc3=>_0xc01fc3[_0x428716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428716([0x2a])))[_0x428716([0x6d,0x61,0x70])](_0x5de4f2=>_0x5de4f2[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e])))[_0x428716([0x73,0x6f,0x6d,0x65])](_0xdf055f=>_0x14d92d[_0x428716([0x65,0x76,0x65,0x72,0x79])]((_0x470785,_0x2334a7)=>_0xdf055f[_0x2334a7]===_0x470785||_0xdf055f[_0x2334a7]===_0x428716([0x2a])));}function _0x243c2c(){return _0x3ea3a4&&_0x504ddc?new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a01e0,_0x9cf519)=>{_0x3ea3a4[_0x428716([0x74,0x68,0x65,0x6e])](_0x1a01e0,_0x9cf519),_0x504ddc[_0x428716([0x74,0x68,0x65,0x6e])](_0x51dd84=>{_0x51dd84!=_0x428716([0x56,0x61,0x6c,0x69,0x64])&&_0x1a01e0(_0x51dd84);},_0x9cf519);}):_0x3ea3a4||_0x504ddc||_0x428716([0x56,0x61,0x6c,0x69,0x64]);}}function _0x402c02(_0x39b9ea,_0x49979d){return new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b9ff9=>{if(_0x308a62())return _0x3b9ff9(_0x428716([0x56,0x61,0x6c,0x69,0x64]));_0x34f243(),_0x435178[_0x428716([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe843cc=!0x1;const _0x353dbe=_0x22f59e();function _0x500459(_0x3a0b29){return!!_0x3a0b29&&(typeof _0x3a0b29===_0x428716([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a0b29===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a0b29[_0x428716([0x74,0x68,0x65,0x6e])]===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a0b29[_0x428716([0x63,0x61,0x74,0x63,0x68])]===_0x428716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cc580(_0x2505b0){_0x162c4c(_0x2505b0)[_0x428716([0x74,0x68,0x65,0x6e])](_0x2e262f=>{if(!_0x2e262f||_0x2e262f[_0x428716([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428716([0x6f,0x6b]))return _0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3122c0(_0xf801c2(_0x353dbe+_0x49979d))!=_0x2e262f[_0x428716([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428716([0x56,0x61,0x6c,0x69,0x64]);})[_0x428716([0x74,0x68,0x65,0x6e])](_0x35cf7a=>(_0x3a7cc5(),_0x35cf7a),()=>{const _0x3872d1=_0x6532b5();return null==_0x3872d1?(_0x3a7cc5(),_0x428716([0x56,0x61,0x6c,0x69,0x64])):_0x428716(_0x3400ff-_0x3872d1>(0x1faaea2b^_0x5dd2b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428716([0x74,0x68,0x65,0x6e])](_0x3b9ff9)[_0x428716([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf523d0=0x3b9080ab^_0x5dd2b4;function _0x3a7cc5(){const _0x43bece=_0x428716([0x6c,0x6c,0x63,0x74,0x2d])+_0x3122c0(_0xf801c2(_0x39b9ea)),_0x1ff1d5=_0x2446db(_0x3122c0(window[_0x428716([0x4d,0x61,0x74,0x68])][_0x428716([0x63,0x65,0x69,0x6c])](_0x3400ff/_0xf523d0)));window[_0x428716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428716([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43bece,_0x1ff1d5);}function _0x6532b5(){const _0x408e4e=_0x428716([0x6c,0x6c,0x63,0x74,0x2d])+_0x3122c0(_0xf801c2(_0x39b9ea)),_0x1aa4b9=window[_0x428716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428716([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x408e4e);return _0x1aa4b9?window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2446db(_0x1aa4b9),0x10)*_0xf523d0:null;}function _0x162c4c(_0x467eac){return new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c9dcc,_0x11cf5c)=>{_0x467eac[_0x428716([0x74,0x68,0x65,0x6e])](_0x4c9dcc,_0x11cf5c),window[_0x428716([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11cf5c,0x3ba7baeb^_0x5dd2b4);});}}_0x435178[_0x428716([0x6f,0x6e])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x475b0a,_0x2375ce)=>{if(_0x2375ce[0x0]!=_0x39b9ea)return _0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2375ce[0x1]={..._0x2375ce[0x1],[_0x428716([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x353dbe};},{[_0x428716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428716([0x68,0x69,0x67,0x68])}),_0x435178[_0x428716([0x6f,0x6e])](_0x428716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bf470=>{_0x500459(_0x5bf470[_0x428716([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe843cc=!0x0,_0x1cc580(_0x5bf470[_0x428716([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428716([0x6c,0x6f,0x77])}),_0x187636[_0x428716([0x74,0x68,0x65,0x6e])](()=>{_0xe843cc||_0x3b9ff9(_0x428716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x308a62(){return _0x435178[_0x428716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428716([0x76,0x69,0x65,0x77])][_0x428716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428716([0x61,0x75,0x74,0x6f]);}function _0x34f243(){_0x435178[_0x428716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428716([0x76,0x69,0x65,0x77])][_0x428716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428716([0x61,0x75,0x74,0x6f]);}}function _0x3444dd(_0x2d0623){const _0x370285=[new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37588f=>setTimeout(_0x37588f,0x3baf50e7^_0x5dd2b4)),_0x187636[_0x428716([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeda3b=>{let _0xe86e94=0x0;_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x6f,0x6e])](_0x428716([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cff0e,_0x204711)=>{_0x204711[0x0][_0x428716([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe86e94++,_0xe86e94==(0x3ba66fd3^_0x5dd2b4)&&(_0xeda3b(),_0x4cff0e[_0x428716([0x6f,0x66,0x66])]());});}))];return window[_0x428716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428716([0x72,0x61,0x63,0x65])](_0x370285)[_0x428716([0x74,0x68,0x65,0x6e])](()=>_0x2d0623);}async function _0xde9fd7(){await _0x187636,_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd8cf,_0x435178[_0x428716([0x6d,0x6f,0x64,0x65,0x6c])][_0x428716([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd8cf,_0x435178[_0x428716([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428716([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4998ee(_0x385419){const _0x500557=_0xa0316a();_0x435178[_0x500557]=_0x428716([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x385419,_0x385419!=_0x428716([0x56,0x61,0x6c,0x69,0x64])&&_0xde9fd7();}function _0xa0316a(){const _0x1e65ad=window[_0x428716([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428716([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428716([0x6e,0x6f,0x77])]())[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428716([0x2e]),'');let _0x502ead=_0x428716([0x65]);for(let _0xa769b3=0x0;_0xa769b3<_0x1e65ad[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa769b3+=0x2){let _0x16c7c7=window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e65ad[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa769b3,_0xa769b3+0x2));_0x16c7c7>=_0x3d7502[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16c7c7-=_0x3d7502[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x502ead+=_0x3d7502[_0x16c7c7];}return _0x502ead;}function _0xc3ac51(){const _0x50864d=_0x190db4[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e]));if(0x3!=_0x50864d[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58ab39(_0x50864d[0x1]);function _0x58ab39(_0x2269b0){const _0x3851e6=_0x5c8291(_0x2269b0);return _0x3851e6&&_0x5b62e5()?_0x3851e6:null;function _0x5b62e5(){const _0x27456a=_0x3851e6[_0x428716([0x6a,0x74,0x69])],_0x384fb9=window[_0x428716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27456a[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27456a[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bd187={..._0x3851e6,[_0x428716([0x6a,0x74,0x69])]:_0x27456a[_0x428716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27456a[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bd187[_0x428716([0x76,0x63])],_0xf801c2(_0x2bd187)==_0x384fb9;}}}async function _0x584e98(){let _0x2d45ef=!0x0;try{const _0x4f986a=_0x190db4[_0x428716([0x73,0x70,0x6c,0x69,0x74])](_0x428716([0x2e])),[_0x5817d1,_0x25a526,_0x112aae]=_0x4f986a;return _0x1b5912(_0x5817d1),await _0x3cb838(_0x5817d1,_0x25a526,_0x112aae),_0x2d45ef;}catch(_0x4adcca){return!0x1;}function _0x1b5912(_0xec286d){const _0x4faeec=_0x5c8291(_0xec286d);_0x4faeec&&_0x4faeec[_0x428716([0x61,0x6c,0x67])]==_0x428716([0x45,0x53,0x32,0x35,0x36])||(_0x2d45ef=!0x1);}async function _0x3cb838(_0x24c838,_0x417e89,_0x300c3d){const _0xc56459=window[_0x428716([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428716([0x66,0x72,0x6f,0x6d])](_0x2fc55e(_0x300c3d),_0x2aa038=>_0x2aa038[_0x428716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47a459=new window[(_0x428716([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428716([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24c838+_0x428716([0x2e])+_0x417e89),_0xee3343=window[_0x428716([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428716([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xee3343)return;const _0x29ba6c=await _0xee3343[_0x428716([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428716([0x6a,0x77,0x6b]),_0x5e56eb,{[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x45,0x43,0x44,0x53,0x41]),[_0x428716([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428716([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428716([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xee3343[_0x428716([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x45,0x43,0x44,0x53,0x41]),[_0x428716([0x68,0x61,0x73,0x68])]:{[_0x428716([0x6e,0x61,0x6d,0x65])]:_0x428716([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29ba6c,_0xc56459,_0x47a459)||(_0x2d45ef=!0x1);}}function _0x5c8291(_0x2fb7d8){return _0x2fb7d8[_0x428716([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428716([0x65,0x79]))?JSON[_0x428716([0x70,0x61,0x72,0x73,0x65])](_0x2fc55e(_0x2fb7d8)):null;}function _0x2fc55e(_0x86c6e5){return window[_0x428716([0x61,0x74,0x6f,0x62])](_0x86c6e5[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428716([0x2b]))[_0x428716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428716([0x2f])));}function _0xf801c2(_0x5cc6bc){let _0x3f9ed7=0x1505;function _0xd09f1f(_0x1896b5){for(let _0x441ed3=0x0;_0x441ed3<_0x1896b5[_0x428716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x441ed3++){const _0x5c7acd=_0x1896b5[_0x428716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x441ed3);_0x3f9ed7=(_0x3f9ed7<<0x5)+_0x3f9ed7+_0x5c7acd,_0x3f9ed7&=_0x3f9ed7;}}function _0x1a28b0(_0x2755ed){Array[_0x428716([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2755ed)?_0x2755ed[_0x428716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a28b0):_0x2755ed&&typeof _0x2755ed==_0x428716([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428716([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2755ed)[_0x428716([0x73,0x6f,0x72,0x74])]()[_0x428716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cbb29,_0x2d2b8c])=>{_0xd09f1f(_0x5cbb29),_0x1a28b0(_0x2d2b8c);}):_0xd09f1f(window[_0x428716([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2755ed));}return _0x1a28b0(_0x5cc6bc),_0x3f9ed7>>>0x0;}function _0x3122c0(_0x4e3023){return _0x4e3023[_0x428716([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428716([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428716([0x30]));}function _0x2446db(_0x77bc47){return _0x77bc47[_0x428716([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428716([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428716([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dd8cf(){}function _0x428716(_0x207e9d){const _0x1fe637=_0x3530;return _0x207e9d[_0x1fe637(0x16b)](_0xf7cbb5=>String[_0x1fe637(0x184)](_0xf7cbb5))[_0x1fe637(0x143)]('');}_0x4998ee(await _0x30fd65());}(this);}[_0x12ef27(0x183)](){const _0x16178c=_0x12ef27,_0x59515a=this[_0x16178c(0x156)][_0x16178c(0x164)][_0x16178c(0x15c)];_0x59515a[_0x16178c(0x144)](_0x16178c(0x186))&&_0x59515a[_0x16178c(0x18a)](_0x16178c(0x186),{'allowAttributes':[_0x16178c(0x153)]}),_0x59515a[_0x16178c(0x144)](_0x16178c(0x193))&&_0x59515a[_0x16178c(0x18a)](_0x16178c(0x193),{'allowAttributes':[_0x16178c(0x153)]});}[_0x12ef27(0x182)](){const _0x2aa9c3=_0x12ef27,_0x509e1c=this[_0x2aa9c3(0x156)];_0x509e1c[_0x2aa9c3(0x18e)][_0x2aa9c3(0x146)](_0x2aa9c3(0x169))[_0x2aa9c3(0x157)]({'model':_0x2aa9c3(0x153),'view':_0x2aa9c3(0x181)}),_0x509e1c[_0x2aa9c3(0x18e)][_0x2aa9c3(0x146)](_0x2aa9c3(0x14b))[_0x2aa9c3(0x18d)]({'model':{'key':_0x2aa9c3(0x153),'value':_0x468a5e=>_0x468a5e[_0x2aa9c3(0x16e)](_0x2aa9c3(0x181))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42a91d=_0x509e1c[_0x2aa9c3(0x14a)][_0x2aa9c3(0x163)](_0x2aa9c3(0x176));_0x42a91d&&this[_0x2aa9c3(0x179)](_0x42a91d,_0x2aa9c3(0x151),(_0xfcd2ae,[_0x317b0f,_0x586e24])=>{const _0x4f3b41=_0x2aa9c3;_0x317b0f[_0x4f3b41(0x16d)](_0x4f3b41(0x153),_0x586e24);});}[_0x12ef27(0x187)](){const _0x14ec0d=_0x12ef27,_0x2f0404=this[_0x14ec0d(0x156)][_0x14ec0d(0x192)][_0x14ec0d(0x163)](_0x14ec0d(0x17d))||{},_0x3a9997=this[_0x14ec0d(0x156)][_0x14ec0d(0x192)][_0x14ec0d(0x163)](_0x14ec0d(0x148))||'';this[_0x14ec0d(0x191)]=_0xe9fd83(_0x2d8658[_0x14ec0d(0x15e)],_0x14ec0d(0x189),{..._0x2f0404,'pubkey':_0x3a9997,'ctx-name':_0x14ec0d(0x159),'sourceList':'','imgOnly':_0x14ec0d(0x142),'removeCopyright':_0x14ec0d(0x142),'localeName':this[_0x14ec0d(0x156)][_0x14ec0d(0x154)][_0x14ec0d(0x172)],'externalSourcesEmbedCss':_0x14ec0d(0x18b)}),this[_0x14ec0d(0x191)][_0x14ec0d(0x18f)]=_0x136cac=>{const _0x197b32=_0x14ec0d;if(_0x197b32(0x178)==_0x136cac)return _0x197b32(0x14f);},_0x2d8658[_0x14ec0d(0x15e)][_0x14ec0d(0x141)][_0x14ec0d(0x170)](this[_0x14ec0d(0x191)]);}[_0x12ef27(0x17a)](){const _0x33e750=_0x12ef27;this[_0x33e750(0x168)]=_0xe9fd83(_0x2d8658[_0x33e750(0x15e)],_0x33e750(0x14c),{'ctx-name':_0x33e750(0x159)}),_0x2d8658[_0x33e750(0x15e)][_0x33e750(0x141)][_0x33e750(0x170)](this[_0x33e750(0x168)]);}[_0x12ef27(0x17b)](){const _0x293d15=_0x12ef27,_0x3ffc60=this[_0x293d15(0x156)][_0x293d15(0x14a)][_0x293d15(0x163)](_0x293d15(0x18c));_0x3ffc60&&this[_0x293d15(0x179)](_0x3ffc60,_0x293d15(0x15b),()=>{const _0x5b90a6=_0x293d15,_0x299263=this[_0x5b90a6(0x156)][_0x5b90a6(0x164)][_0x5b90a6(0x15e)][_0x5b90a6(0x17f)][_0x5b90a6(0x185)]();_0x299263&&_0x299263[_0x5b90a6(0x16e)](_0x5b90a6(0x153))&&this[_0x5b90a6(0x156)][_0x5b90a6(0x147)][_0x5b90a6(0x165)][_0x5b90a6(0x15d)](_0x5b90a6(0x15f),()=>{const _0x1ec8f1=_0x5b90a6;_0x3ca15f(this[_0x1ec8f1(0x156)],_0x299263);});});const _0x5329ba=this[_0x293d15(0x156)][_0x293d15(0x14a)][_0x293d15(0x163)](_0x293d15(0x149));_0x5329ba&&this[_0x293d15(0x179)](_0x5329ba,_0x293d15(0x15b),()=>{const _0x557f0c=_0x293d15,_0x5cebae=this[_0x557f0c(0x156)][_0x557f0c(0x164)][_0x557f0c(0x15e)][_0x557f0c(0x17f)][_0x557f0c(0x185)]();_0x5cebae&&_0x5cebae[_0x557f0c(0x16e)](_0x557f0c(0x153))&&this[_0x557f0c(0x156)][_0x557f0c(0x147)][_0x557f0c(0x165)][_0x557f0c(0x15d)](_0x557f0c(0x15f),()=>{const _0x28e110=_0x557f0c;_0x3ca15f(this[_0x28e110(0x156)],_0x5cebae);});});}}function _0x1e74(){const _0x3ab8a7=['\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','insertImage','elementToAttribute','conversion','iconHrefResolver','822248SJXPZl','_configElement','config','imageInline','890167sJwcPD','body','true','join','isRegistered','uploadcare','for','editing','uploadcare.pubkey','uploadcareImageReplace','commands','upcast','uc-upload-ctx-provider','input[uploadcare-file-input]','afterInit','#uc-icon-arrow-down','isOfficialPlugin','cleanupImage','href','uploadcareImageId','locale','add','editor','attributeToAttribute','2XPFhmJ','uploader','UploadcareEditing','execute','schema','once','document','render','remove','isPremiumPlugin','pluginName','get','model','view','destroy','2234301dMdnSV','_ctxElement','downcast','querySelector','map','configElement','removeAttribute','getAttribute','requires','appendChild','ctxElement','contentLanguage','4742370djUoiU','init','4359016lhrwEQ','replaceImageSource','91721uLzngN','closeMax','listenTo','_initCtx','_initImageProcessingIndicator','18vyKjMw','uploadcare.uploader','1469910FKqqIx','selection','78TmpceC','data-uc-image-id','_initConversion','_initSchema','fromCharCode','getSelectedElement','imageBlock','_initConfig','PictureEditing','uc-config','extend'];_0x1e74=function(){return _0x3ab8a7;};return _0x1e74();}
|
|
23
|
+
const _0x1d81d6=_0x44c9;(function(_0x21723e,_0x2382cf){const _0x2a6812=_0x44c9,_0x173035=_0x21723e();while(!![]){try{const _0x27fec6=-parseInt(_0x2a6812(0x19b))/0x1*(parseInt(_0x2a6812(0x1bc))/0x2)+parseInt(_0x2a6812(0x1b8))/0x3+-parseInt(_0x2a6812(0x19e))/0x4*(parseInt(_0x2a6812(0x195))/0x5)+-parseInt(_0x2a6812(0x1b7))/0x6+parseInt(_0x2a6812(0x1b4))/0x7*(parseInt(_0x2a6812(0x19d))/0x8)+-parseInt(_0x2a6812(0x190))/0x9*(parseInt(_0x2a6812(0x19a))/0xa)+-parseInt(_0x2a6812(0x1b1))/0xb*(-parseInt(_0x2a6812(0x1a5))/0xc);if(_0x27fec6===_0x2382cf)break;else _0x173035['push'](_0x173035['shift']());}catch(_0x3a26f2){_0x173035['push'](_0x173035['shift']());}}}(_0x283e,0x3f8e1));import{Plugin as _0x34bfa0}from'ckeditor5/src/core.js';import{Dialog as _0x48f1d}from'ckeditor5/src/ui.js';function _0x44c9(_0x3218f6,_0x5bbe39){const _0x283e3f=_0x283e();return _0x44c9=function(_0x44c992,_0x51d400){_0x44c992=_0x44c992-0x178;let _0x36c17d=_0x283e3f[_0x44c992];return _0x36c17d;},_0x44c9(_0x3218f6,_0x5bbe39);}import{createElement as _0x3f97eb,global as _0x3aa241,uid as _0x50ef39}from'ckeditor5/src/utils.js';function _0x283e(){const _0x38795e=['uc-upload-ctx-provider','_configElement','body','requires','1199CaRltw','iconHrefResolver','remove','56jzcegE','elementToAttribute','uploadcareImageReplace','3120336mLcNho','325149SMkuYw','render','extend','getSelectedElement','214484mThVYr','conversion','data-uc-image-id','imageInline','_initSchema','uploader','upcast','href','uc-config','destroy','getAttribute','true','_ctxElement','uploadcareImageId','execute','isRegistered','fromCharCode','init','_initConversion','#uc-icon-arrow-down','downcast','uploadcare','once','imageBlock','_initImageProcessingIndicator','cleanupImage','for','querySelector','attributeToAttribute','view','join','UploadcareEditing','uploadcare.uploader','commands','contentLanguage','config','replaceImageSource','editor','isPremiumPlugin','afterInit','closeMax','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','117FbrMVe','configElement','pluginName','uploadcare.pubkey','ctxElement','61585aIdFGp','schema','selection','_initCtx','add','74810reblgP','2QvRSwJ','map','341176ormGTQ','28uqpSkl','get','insertImage','isOfficialPlugin','appendChild','editing','_initConfig','80232PiNuuU','removeAttribute','listenTo','locale','document','PictureEditing','model','input[uploadcare-file-input]'];_0x283e=function(){return _0x38795e;};return _0x283e();}import _0x201c54 from'./uploadcarecommand.js';import _0x130db8 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x25b86c}from'./utils/editingutils.js';export default class i extends _0x34bfa0{[_0x1d81d6(0x1ae)]=null;[_0x1d81d6(0x1c8)]=null;static get[_0x1d81d6(0x192)](){const _0x3a4813=_0x1d81d6;return _0x3a4813(0x185);}static get[_0x1d81d6(0x1b0)](){const _0x44a4a0=_0x1d81d6;return[_0x44a4a0(0x1aa),_0x130db8,_0x48f1d];}static get[_0x1d81d6(0x1a1)](){return!0x0;}static get[_0x1d81d6(0x18c)](){return!0x0;}get[_0x1d81d6(0x191)](){const _0x1d6c99=_0x1d81d6;return this[_0x1d6c99(0x1ae)];}get[_0x1d81d6(0x194)](){const _0x3d3acd=_0x1d81d6;return this[_0x3d3acd(0x1c8)];}[_0x1d81d6(0x1cd)](){const _0x55c759=_0x1d81d6,_0x214d7a=this[_0x55c759(0x18b)];_0x214d7a[_0x55c759(0x187)][_0x55c759(0x199)](_0x55c759(0x17b),new _0x201c54(_0x214d7a));}[_0x1d81d6(0x18d)](){const _0x4dc95a=_0x1d81d6;this[_0x4dc95a(0x1c0)](),this[_0x4dc95a(0x178)](),this[_0x4dc95a(0x1a4)](),this[_0x4dc95a(0x198)](),this[_0x4dc95a(0x17e)](),this[_0x4dc95a(0x1a7)](this[_0x4dc95a(0x18b)],_0x4dc95a(0x1c5),()=>{const _0x25b856=_0x4dc95a;this[_0x25b856(0x1ae)]&&(this[_0x25b856(0x1ae)][_0x25b856(0x1b3)](),this[_0x25b856(0x1ae)]=null),this[_0x25b856(0x1c8)]&&(this[_0x25b856(0x1c8)][_0x25b856(0x1b3)](),this[_0x25b856(0x1c8)]=null);const _0x18c289=_0x3aa241[_0x25b856(0x1a9)][_0x25b856(0x181)](_0x25b856(0x1ac));_0x18c289&&_0x18c289[_0x25b856(0x1b3)]();}),async function(_0x4902e0){const _0x539ade=_0x2bf286([0x31,0x68,0x30,0x45,0x59,0x4f,0x48,0x78,0x72,0x38,0x34,0x75,0x74,0x47,0x69,0x65,0x77,0x36,0x57,0x63,0x55,0x4b,0x58,0x7a,0x46,0x37,0x56,0x70,0x6d,0x67,0x6b,0x4d,0x6a,0x42,0x51,0x4a,0x4c,0x41,0x35,0x52,0x33,0x71,0x43,0x53,0x50,0x6f,0x6e,0x6c,0x39,0x49,0x66,0x76,0x32,0x79,0x62,0x44,0x54,0x4e,0x61,0x73,0x5a,0x64]),_0xd2225d=0x6351c8fd,_0x3e788f=0x6356ab95^_0xd2225d,_0x380324=window[_0x2bf286([0x44,0x61,0x74,0x65])][_0x2bf286([0x6e,0x6f,0x77])](),_0x5686b1=_0x4902e0[_0x2bf286([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ede16=new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x452b74=>{_0x5686b1[_0x2bf286([0x6f,0x6e,0x63,0x65])](_0x2bf286([0x72,0x65,0x61,0x64,0x79]),_0x452b74);}),_0x53d5a4={[_0x2bf286([0x6b,0x74,0x79])]:_0x2bf286([0x45,0x43]),[_0x2bf286([0x75,0x73,0x65])]:_0x2bf286([0x73,0x69,0x67]),[_0x2bf286([0x63,0x72,0x76])]:_0x2bf286([0x50,0x2d,0x32,0x35,0x36]),[_0x2bf286([0x78])]:_0x2bf286([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]),[_0x2bf286([0x79])]:_0x2bf286([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]),[_0x2bf286([0x61,0x6c,0x67])]:_0x2bf286([0x45,0x53,0x32,0x35,0x36])},_0x5851cd=_0x5686b1[_0x2bf286([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bf286([0x67,0x65,0x74])](_0x2bf286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5623cc(){let _0xef5a39,_0x169bde=null,_0x2ff3a8=null;try{if(_0x5851cd==_0x2bf286([0x47,0x50,0x4c]))return _0x2bf286([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xef5a39=_0x45a513(),!_0xef5a39)return _0x2bf286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xef5a39[_0x2bf286([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ff3a8=_0x4cf04d(_0xef5a39[_0x2bf286([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xef5a39[_0x2bf286([0x6a,0x74,0x69])])),await _0x4ce645()?_0x4837c9()?_0x333876()?_0x2bf286([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41fb7d()?(_0xef5a39[_0x2bf286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bf286([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x169bde=_0x185ec6(_0x2bf286([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xef5a39[_0x2bf286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bf286([0x74,0x72,0x69,0x61,0x6c])&&(_0x169bde=_0x185ec6(_0x2bf286([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b4c72()):_0x2bf286([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bf286([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bf286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x14420a){return _0x2bf286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x333876(){const _0x1f2a17=[_0x2bf286([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bf286([0x74,0x72,0x69,0x61,0x6c])][_0x2bf286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef5a39[_0x2bf286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x380324/0x3e8:0xe10*_0x3e788f;return _0xef5a39[_0x2bf286([0x65,0x78,0x70])]<_0x1f2a17;}function _0x4837c9(){const _0x254218=_0xef5a39[_0x2bf286([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x254218&&(!!_0x254218[_0x2bf286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bf286([0x2a]))||!!_0x254218[_0x2bf286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bf286([0x55,0x50,0x4c,0x43])));}function _0x41fb7d(){const _0x3a9c11=_0x44c9,_0x422242=_0xef5a39[_0x2bf286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x422242||0x0==_0x422242[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4193ce}=new URL(window[_0x2bf286([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3a9c11(0x1c3)]);if(_0x422242[_0x2bf286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4193ce))return!0x0;const _0x3bddc4=_0x4193ce[_0x2bf286([0x73,0x70,0x6c,0x69,0x74])](_0x2bf286([0x2e]));return _0x422242[_0x2bf286([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e471e=>_0x3e471e[_0x2bf286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bf286([0x2a])))[_0x2bf286([0x6d,0x61,0x70])](_0x57e7bb=>_0x57e7bb[_0x2bf286([0x73,0x70,0x6c,0x69,0x74])](_0x2bf286([0x2e])))[_0x2bf286([0x73,0x6f,0x6d,0x65])](_0x46c283=>_0x3bddc4[_0x2bf286([0x65,0x76,0x65,0x72,0x79])]((_0x20abfc,_0x278793)=>_0x46c283[_0x278793]===_0x20abfc||_0x46c283[_0x278793]===_0x2bf286([0x2a])));}function _0x3b4c72(){return _0x169bde&&_0x2ff3a8?new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cd743,_0x2f4097)=>{_0x169bde[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x2cd743,_0x2f4097),_0x2ff3a8[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x2b5d62=>{_0x2b5d62!=_0x2bf286([0x56,0x61,0x6c,0x69,0x64])&&_0x2cd743(_0x2b5d62);},_0x2f4097);}):_0x169bde||_0x2ff3a8||_0x2bf286([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cf04d(_0x5434b0,_0x170828){return new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b3e38=>{if(_0x318e3e())return _0x5b3e38(_0x2bf286([0x56,0x61,0x6c,0x69,0x64]));_0x966367(),_0x5686b1[_0x2bf286([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bf286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e28d2=!0x1;const _0x5809aa=_0x50ef39();function _0x32a2ab(_0x367b12){return!!_0x367b12&&(typeof _0x367b12===_0x2bf286([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x367b12===_0x2bf286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x367b12[_0x2bf286([0x74,0x68,0x65,0x6e])]===_0x2bf286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x367b12[_0x2bf286([0x63,0x61,0x74,0x63,0x68])]===_0x2bf286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x62f031(_0x4adcf2){_0x36eb8b(_0x4adcf2)[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x4f9157=>{if(!_0x4f9157||_0x4f9157[_0x2bf286([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bf286([0x6f,0x6b]))return _0x2bf286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x582c7f(_0x3c571e(_0x5809aa+_0x170828))!=_0x4f9157[_0x2bf286([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bf286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bf286([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x563c36=>(_0x4bf6a7(),_0x563c36),()=>{const _0x11a10f=_0x46f9c0();return null==_0x11a10f?(_0x4bf6a7(),_0x2bf286([0x56,0x61,0x6c,0x69,0x64])):_0x2bf286(_0x380324-_0x11a10f>(0x475d4cfd^_0xd2225d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x5b3e38)[_0x2bf286([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b3e38(_0x2bf286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e240d=0x6367267d^_0xd2225d;function _0x4bf6a7(){const _0x19871a=_0x2bf286([0x6c,0x6c,0x63,0x74,0x2d])+_0x582c7f(_0x3c571e(_0x5434b0)),_0x27f9b8=_0x3e2aca(_0x582c7f(window[_0x2bf286([0x4d,0x61,0x74,0x68])][_0x2bf286([0x63,0x65,0x69,0x6c])](_0x380324/_0x3e240d)));window[_0x2bf286([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bf286([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19871a,_0x27f9b8);}function _0x46f9c0(){const _0x3007a3=_0x2bf286([0x6c,0x6c,0x63,0x74,0x2d])+_0x582c7f(_0x3c571e(_0x5434b0)),_0x2ccea1=window[_0x2bf286([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bf286([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3007a3);return _0x2ccea1?window[_0x2bf286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2aca(_0x2ccea1),0x10)*_0x3e240d:null;}function _0x36eb8b(_0x217f7f){return new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x282d65,_0x3d99b6)=>{_0x217f7f[_0x2bf286([0x74,0x68,0x65,0x6e])](_0x282d65,_0x3d99b6),window[_0x2bf286([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d99b6,0x63501c3d^_0xd2225d);});}}_0x5686b1[_0x2bf286([0x6f,0x6e])](_0x2bf286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16aab7,_0x22f77d)=>{if(_0x22f77d[0x0]!=_0x5434b0)return _0x5b3e38(_0x2bf286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22f77d[0x1]={..._0x22f77d[0x1],[_0x2bf286([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5809aa};},{[_0x2bf286([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bf286([0x68,0x69,0x67,0x68])}),_0x5686b1[_0x2bf286([0x6f,0x6e])](_0x2bf286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23a5b6=>{_0x32a2ab(_0x23a5b6[_0x2bf286([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e28d2=!0x0,_0x62f031(_0x23a5b6[_0x2bf286([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bf286([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bf286([0x6c,0x6f,0x77])}),_0x2ede16[_0x2bf286([0x74,0x68,0x65,0x6e])](()=>{_0x3e28d2||_0x5b3e38(_0x2bf286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x318e3e(){return _0x5686b1[_0x2bf286([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bf286([0x76,0x69,0x65,0x77])][_0x2bf286([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bf286([0x61,0x75,0x74,0x6f]);}function _0x966367(){_0x5686b1[_0x2bf286([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bf286([0x76,0x69,0x65,0x77])][_0x2bf286([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bf286([0x61,0x75,0x74,0x6f]);}}function _0x185ec6(_0xb96388){const _0x1e3cf9=[new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8b42a4=>setTimeout(_0x8b42a4,0x6358f631^_0xd2225d)),_0x2ede16[_0x2bf286([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fbf41=>{let _0x5c893a=0x0;_0x5686b1[_0x2bf286([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bf286([0x6f,0x6e])](_0x2bf286([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e4d56,_0x3672ef)=>{_0x3672ef[0x0][_0x2bf286([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c893a++,_0x5c893a==(0x6351c905^_0xd2225d)&&(_0x1fbf41(),_0x5e4d56[_0x2bf286([0x6f,0x66,0x66])]());});}))];return window[_0x2bf286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bf286([0x72,0x61,0x63,0x65])](_0x1e3cf9)[_0x2bf286([0x74,0x68,0x65,0x6e])](()=>_0xb96388);}async function _0x55b5a5(){await _0x2ede16,_0x5686b1[_0x2bf286([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bf286([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30b474,_0x5686b1[_0x2bf286([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bf286([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30b474,_0x5686b1[_0x2bf286([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bf286([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d03f3(_0xe3835f){const _0x541293=_0x4625d7();_0x5686b1[_0x541293]=_0x2bf286([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe3835f,_0xe3835f!=_0x2bf286([0x56,0x61,0x6c,0x69,0x64])&&_0x55b5a5();}function _0x4625d7(){const _0x4ccb5a=window[_0x2bf286([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bf286([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bf286([0x6e,0x6f,0x77])]())[_0x2bf286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bf286([0x2e]),'');let _0x2fc50a=_0x2bf286([0x68]);for(let _0x5d7626=0x0;_0x5d7626<_0x4ccb5a[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d7626+=0x2){let _0x4d5a55=window[_0x2bf286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ccb5a[_0x2bf286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d7626,_0x5d7626+0x2));_0x4d5a55>=_0x539ade[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d5a55-=_0x539ade[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fc50a+=_0x539ade[_0x4d5a55];}return _0x2fc50a;}function _0x45a513(){const _0x40af47=_0x5851cd[_0x2bf286([0x73,0x70,0x6c,0x69,0x74])](_0x2bf286([0x2e]));if(0x3!=_0x40af47[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fbde5(_0x40af47[0x1]);function _0x1fbde5(_0x5ccc77){const _0x7f5d90=_0x50ccc7(_0x5ccc77);return _0x7f5d90&&_0x76e386()?_0x7f5d90:null;function _0x76e386(){const _0x55cdb5=_0x7f5d90[_0x2bf286([0x6a,0x74,0x69])],_0x229316=window[_0x2bf286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55cdb5[_0x2bf286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55cdb5[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20d6c6={..._0x7f5d90,[_0x2bf286([0x6a,0x74,0x69])]:_0x55cdb5[_0x2bf286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x55cdb5[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20d6c6[_0x2bf286([0x76,0x63])],_0x3c571e(_0x20d6c6)==_0x229316;}}}async function _0x4ce645(){let _0x5397c3=!0x0;try{const _0x566c16=_0x5851cd[_0x2bf286([0x73,0x70,0x6c,0x69,0x74])](_0x2bf286([0x2e])),[_0x5b11d1,_0x475fb2,_0x1e41f9]=_0x566c16;return _0x203a2d(_0x5b11d1),await _0x50f606(_0x5b11d1,_0x475fb2,_0x1e41f9),_0x5397c3;}catch(_0x455e10){return!0x1;}function _0x203a2d(_0x19debc){const _0x29335d=_0x50ccc7(_0x19debc);_0x29335d&&_0x29335d[_0x2bf286([0x61,0x6c,0x67])]==_0x2bf286([0x45,0x53,0x32,0x35,0x36])||(_0x5397c3=!0x1);}async function _0x50f606(_0x1bdbc1,_0x568a60,_0x36fe02){const _0x48c4d0=window[_0x2bf286([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bf286([0x66,0x72,0x6f,0x6d])](_0x23f84c(_0x36fe02),_0x387821=>_0x387821[_0x2bf286([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32f4ed=new window[(_0x2bf286([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bf286([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bdbc1+_0x2bf286([0x2e])+_0x568a60),_0x4d1272=window[_0x2bf286([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bf286([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d1272)return;const _0x5d57f0=await _0x4d1272[_0x2bf286([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bf286([0x6a,0x77,0x6b]),_0x53d5a4,{[_0x2bf286([0x6e,0x61,0x6d,0x65])]:_0x2bf286([0x45,0x43,0x44,0x53,0x41]),[_0x2bf286([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bf286([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bf286([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d1272[_0x2bf286([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bf286([0x6e,0x61,0x6d,0x65])]:_0x2bf286([0x45,0x43,0x44,0x53,0x41]),[_0x2bf286([0x68,0x61,0x73,0x68])]:{[_0x2bf286([0x6e,0x61,0x6d,0x65])]:_0x2bf286([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d57f0,_0x48c4d0,_0x32f4ed)||(_0x5397c3=!0x1);}}function _0x50ccc7(_0x3c28ea){return _0x3c28ea[_0x2bf286([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bf286([0x65,0x79]))?JSON[_0x2bf286([0x70,0x61,0x72,0x73,0x65])](_0x23f84c(_0x3c28ea)):null;}function _0x23f84c(_0xe76726){return window[_0x2bf286([0x61,0x74,0x6f,0x62])](_0xe76726[_0x2bf286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bf286([0x2b]))[_0x2bf286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bf286([0x2f])));}function _0x3c571e(_0x5d9e29){let _0x2f686e=0x1505;function _0x4ca06c(_0x556247){for(let _0xb82361=0x0;_0xb82361<_0x556247[_0x2bf286([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb82361++){const _0x9c45a0=_0x556247[_0x2bf286([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb82361);_0x2f686e=(_0x2f686e<<0x5)+_0x2f686e+_0x9c45a0,_0x2f686e&=_0x2f686e;}}function _0x4a78c3(_0x12725c){Array[_0x2bf286([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12725c)?_0x12725c[_0x2bf286([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a78c3):_0x12725c&&typeof _0x12725c==_0x2bf286([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bf286([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12725c)[_0x2bf286([0x73,0x6f,0x72,0x74])]()[_0x2bf286([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1083e8,_0x2f8ae2])=>{_0x4ca06c(_0x1083e8),_0x4a78c3(_0x2f8ae2);}):_0x4ca06c(window[_0x2bf286([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12725c));}return _0x4a78c3(_0x5d9e29),_0x2f686e>>>0x0;}function _0x582c7f(_0x3fa0f2){return _0x3fa0f2[_0x2bf286([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bf286([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bf286([0x30]));}function _0x3e2aca(_0x9a89f2){return _0x9a89f2[_0x2bf286([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bf286([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bf286([0x6a,0x6f,0x69,0x6e])]('');}function _0x30b474(){}function _0x2bf286(_0x320328){const _0x31c8a0=_0x44c9;return _0x320328[_0x31c8a0(0x19c)](_0x5777d1=>String[_0x31c8a0(0x1cc)](_0x5777d1))[_0x31c8a0(0x184)]('');}_0x2d03f3(await _0x5623cc());}(this);}[_0x1d81d6(0x1c0)](){const _0x32cff8=_0x1d81d6,_0x229f45=this[_0x32cff8(0x18b)][_0x32cff8(0x1ab)][_0x32cff8(0x196)];_0x229f45[_0x32cff8(0x1cb)](_0x32cff8(0x17d))&&_0x229f45[_0x32cff8(0x1ba)](_0x32cff8(0x17d),{'allowAttributes':[_0x32cff8(0x1c9)]}),_0x229f45[_0x32cff8(0x1cb)](_0x32cff8(0x1bf))&&_0x229f45[_0x32cff8(0x1ba)](_0x32cff8(0x1bf),{'allowAttributes':[_0x32cff8(0x1c9)]});}[_0x1d81d6(0x178)](){const _0xf3ab11=_0x1d81d6,_0xba9d9=this[_0xf3ab11(0x18b)];_0xba9d9[_0xf3ab11(0x1bd)][_0xf3ab11(0x180)](_0xf3ab11(0x17a))[_0xf3ab11(0x182)]({'model':_0xf3ab11(0x1c9),'view':_0xf3ab11(0x1be)}),_0xba9d9[_0xf3ab11(0x1bd)][_0xf3ab11(0x180)](_0xf3ab11(0x1c2))[_0xf3ab11(0x1b5)]({'model':{'key':_0xf3ab11(0x1c9),'value':_0x37fead=>_0x37fead[_0xf3ab11(0x1c6)](_0xf3ab11(0x1be))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5ee141=_0xba9d9[_0xf3ab11(0x187)][_0xf3ab11(0x19f)](_0xf3ab11(0x18a));_0x5ee141&&this[_0xf3ab11(0x1a7)](_0x5ee141,_0xf3ab11(0x17f),(_0x22e07f,[_0x407cc1,_0x145585])=>{const _0x173de6=_0xf3ab11;_0x407cc1[_0x173de6(0x1a6)](_0x173de6(0x1c9),_0x145585);});}[_0x1d81d6(0x1a4)](){const _0x4f96b1=_0x1d81d6,_0x5e62d3=this[_0x4f96b1(0x18b)][_0x4f96b1(0x189)][_0x4f96b1(0x19f)](_0x4f96b1(0x186))||{},_0xb74239=this[_0x4f96b1(0x18b)][_0x4f96b1(0x189)][_0x4f96b1(0x19f)](_0x4f96b1(0x193))||'';this[_0x4f96b1(0x1ae)]=_0x3f97eb(_0x3aa241[_0x4f96b1(0x1a9)],_0x4f96b1(0x1c4),{..._0x5e62d3,'pubkey':_0xb74239,'ctx-name':_0x4f96b1(0x1c1),'sourceList':'','imgOnly':_0x4f96b1(0x1c7),'removeCopyright':_0x4f96b1(0x1c7),'localeName':this[_0x4f96b1(0x18b)][_0x4f96b1(0x1a8)][_0x4f96b1(0x188)],'externalSourcesEmbedCss':_0x4f96b1(0x18f)}),this[_0x4f96b1(0x1ae)][_0x4f96b1(0x1b2)]=_0x443e82=>{const _0x259c54=_0x4f96b1;if(_0x259c54(0x18e)==_0x443e82)return _0x259c54(0x179);},_0x3aa241[_0x4f96b1(0x1a9)][_0x4f96b1(0x1af)][_0x4f96b1(0x1a2)](this[_0x4f96b1(0x1ae)]);}[_0x1d81d6(0x198)](){const _0x2cc7d9=_0x1d81d6;this[_0x2cc7d9(0x1c8)]=_0x3f97eb(_0x3aa241[_0x2cc7d9(0x1a9)],_0x2cc7d9(0x1ad),{'ctx-name':_0x2cc7d9(0x1c1)}),_0x3aa241[_0x2cc7d9(0x1a9)][_0x2cc7d9(0x1af)][_0x2cc7d9(0x1a2)](this[_0x2cc7d9(0x1c8)]);}[_0x1d81d6(0x17e)](){const _0xadfbe3=_0x1d81d6,_0x9bb3e=this[_0xadfbe3(0x18b)][_0xadfbe3(0x187)][_0xadfbe3(0x19f)](_0xadfbe3(0x1a0));_0x9bb3e&&this[_0xadfbe3(0x1a7)](_0x9bb3e,_0xadfbe3(0x1ca),()=>{const _0x357164=_0xadfbe3,_0x1a509c=this[_0x357164(0x18b)][_0x357164(0x1ab)][_0x357164(0x1a9)][_0x357164(0x197)][_0x357164(0x1bb)]();_0x1a509c&&_0x1a509c[_0x357164(0x1c6)](_0x357164(0x1c9))&&this[_0x357164(0x18b)][_0x357164(0x1a3)][_0x357164(0x183)][_0x357164(0x17c)](_0x357164(0x1b9),()=>{const _0x375898=_0x357164;_0x25b86c(this[_0x375898(0x18b)],_0x1a509c);});});const _0x25ccce=this[_0xadfbe3(0x18b)][_0xadfbe3(0x187)][_0xadfbe3(0x19f)](_0xadfbe3(0x1b6));_0x25ccce&&this[_0xadfbe3(0x1a7)](_0x25ccce,_0xadfbe3(0x1ca),()=>{const _0x940573=_0xadfbe3,_0x237771=this[_0x940573(0x18b)][_0x940573(0x1ab)][_0x940573(0x1a9)][_0x940573(0x197)][_0x940573(0x1bb)]();_0x237771&&_0x237771[_0x940573(0x1c6)](_0x940573(0x1c9))&&this[_0x940573(0x18b)][_0x940573(0x1a3)][_0x940573(0x183)][_0x940573(0x17c)](_0x940573(0x1b9),()=>{const _0x11f213=_0x940573;_0x25b86c(this[_0x11f213(0x18b)],_0x237771);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x53374e,ObservableMixin as _0x4e01e3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5185a1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x368286}from'ckeditor5/src/icons.js';import _0x474811 from'./uploadcareimageeditformview.js';import _0x4c46fe from'../../utils/uploadutils.js';import{getImageUrls as _0x74c04d,getImageDimension as _0x58cf34}from'../../utils/editingutils.js';import{isAncestor as _0xb6f1da}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e01e3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c3aab,_0x5336d7,_0x27a155){super(),this['_editor']=_0x2c3aab,this['_dialog']=_0x5336d7,this['_imageElement']=_0x27a155,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 _0x3bd799=this['_imageElement'],_0x19dfd6=_0x3bd799['getAttribute']('uploadcareImageId'),_0x501dd2=_0x3bd799['getAttribute']('src');if(_0x19dfd6)await this['_loadImageInfo'](_0x19dfd6,_0x501dd2);else{if(this['_imageCache']['has'](_0x501dd2)){const _0x4dc41c=this['_imageCache']['get'](_0x501dd2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4dc41c['url'],this['imageDimension']=_0x4dc41c['dimension'],this['imageId']=_0x4dc41c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x396f62}=this['_editor'],t=_0x396f62['t'],_0x2a4ef8=new _0x474811(_0x396f62,this['imageStatus'],this['_attributes']);_0x2a4ef8['bind']('status')['to'](this,'imageStatus'),_0x2a4ef8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a4ef8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a4ef8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a4ef8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x368286,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a4ef8,'position':_0x5185a1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a4ef8['focus']();},'onHide':()=>{_0x2a4ef8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5e6bb4=>!_0xb6f1da(_0x5e6bb4,_0x2a4ef8['element'])}});}['_loadImageInfo'](_0x297fe0,_0x1f9a81){return _0x4c46fe['getInfo'](_0x297fe0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1b3380=>{const {width:_0x4b1e32,height:_0x2a4495}=_0x1b3380['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f9a81,this['imageDimension']={'width':_0x4b1e32,'height':_0x2a4495},this['imageId']=_0x297fe0;})['catch'](_0x3df18e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3df18e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x11dcae,_0x4e8c9b){return this['_getImageAsFile'](_0x11dcae)['then'](_0x28b753=>_0x4c46fe['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4e8c9b['signal'],'file':_0x28b753,'onProgress':_0xfe4275=>{_0xfe4275&&_0xfe4275['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xfe4275['value']));}}))['then'](_0x1ddfe1=>{const {width:_0x43f551,height:_0xde24f7}=_0x1ddfe1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ddfe1['cdnUrl'],this['imageDimension']={'width':_0x43f551,'height':_0xde24f7},this['imageId']=_0x1ddfe1['uuid'],this['imageUploadProgress']=null;const _0x3e4561=_0x11dcae['getAttribute']('src');this['_imageCache']['set'](_0x3e4561,{'id':_0x1ddfe1['uuid'],'url':_0x1ddfe1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x15a8e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15a8e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f05ca,_0xbc7f54){_0x2f05ca['on']('apply',(_0x25c27d,_0x3dd9f9)=>{this['_replaceImage'](_0xbc7f54,_0x3dd9f9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f05ca['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f05ca['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xbbc939,_0x588ff1,_0x5927e5){const _0x1953ae=this['_editor'],{width:_0x159b2f,height:_0x81fc72}=_0x58cf34(_0x588ff1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1a4ffc,imageSources:_0x57130a}=_0x74c04d(_0x588ff1,_0x159b2f);_0x1953ae['model']['change'](_0x302ff2=>{if('$graveyard'===_0xbbc939['root']['rootName']){_0x1953ae['execute']('insertImage',{'imageType':_0xbbc939['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xbbc939['getAttributes']()),'uploadcareImageId':_0x5927e5,'src':_0x1a4ffc,'sources':_0x57130a,'width':_0x159b2f,'height':_0x81fc72}});const _0x48416b=_0xbbc939['getChildren']();_0xbbc939=_0x1953ae['model']['document']['selection']['getSelectedElement']();for(const _0x4502b0 of _0x48416b)_0x302ff2['append'](_0x302ff2['cloneElement'](_0x4502b0),_0xbbc939);}else _0x302ff2['setSelection'](_0xbbc939,'on'),_0x1953ae['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xbbc939['getAttributes']()),'uploadcareImageId':_0x5927e5,'src':_0x1a4ffc,'sources':_0x57130a,'width':_0x159b2f,'height':_0x81fc72},_0xbbc939);_0x302ff2['setSelection'](_0xbbc939,'on');});}async['_getImageAsFile'](_0x19bf9c){const _0x1b3dbe=_0x53374e['window'],_0x155bd6=_0x53374e['document']['location']['href'],_0x1e7265=new _0x1b3dbe['URL'](_0x19bf9c['getAttribute']('src'),_0x155bd6);if('data:'===_0x1e7265['protocol']){const _0x1cca85=_0x1e7265['href']['split'](','),_0x5eaa3d=_0x1cca85[0x0]['match'](/:(.*?);/)[0x1],_0x4d9e72=_0x5eaa3d['split']('/')[0x1],_0x454d4c=_0x1b3dbe['atob'](_0x1cca85[_0x1cca85['length']-0x1]);let _0x2e6cd3=_0x454d4c['length'];const _0xe3e637=new _0x1b3dbe['Uint8Array'](_0x2e6cd3);for(;_0x2e6cd3--;)_0xe3e637[_0x2e6cd3]=_0x454d4c['charCodeAt'](_0x2e6cd3);return new _0x1b3dbe['File']([_0xe3e637],'image.'+_0x4d9e72,{'type':_0x5eaa3d});}const _0x20eb82=_0x1e7265['href']['split']('/'),_0x11a44d=_0x20eb82[_0x20eb82['length']-0x1],_0x3f5111=_0x11a44d['split']('.')[0x1];return _0x1b3dbe['fetch'](_0x1e7265['href'])['then'](_0x68e2a3=>_0x68e2a3['clone']()['blob']())['then'](_0x4f4291=>new _0x1b3dbe['File']([_0x4f4291],_0x11a44d,{'type':'image/'+_0x3f5111}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x354d(_0x2d2b36,_0x4a448f){const _0x53b0db=_0x53b0();return _0x354d=function(_0x354d83,_0x4d41a0){_0x354d83=_0x354d83-0x1dd;let _0x3bb8d4=_0x53b0db[_0x354d83];return _0x3bb8d4;},_0x354d(_0x2d2b36,_0x4a448f);}(function(_0x4f52df,_0x537e65){const _0x4e8298=_0x354d,_0x32eb32=_0x4f52df();while(!![]){try{const _0x1c72a4=-parseInt(_0x4e8298(0x1e8))/0x1*(-parseInt(_0x4e8298(0x1e9))/0x2)+-parseInt(_0x4e8298(0x1e4))/0x3*(parseInt(_0x4e8298(0x1e7))/0x4)+-parseInt(_0x4e8298(0x1e5))/0x5*(-parseInt(_0x4e8298(0x1dd))/0x6)+parseInt(_0x4e8298(0x1ed))/0x7*(-parseInt(_0x4e8298(0x1e2))/0x8)+parseInt(_0x4e8298(0x1e1))/0x9+parseInt(_0x4e8298(0x1de))/0xa+parseInt(_0x4e8298(0x1ee))/0xb;if(_0x1c72a4===_0x537e65)break;else _0x32eb32['push'](_0x32eb32['shift']());}catch(_0x354d1d){_0x32eb32['push'](_0x32eb32['shift']());}}}(_0x53b0,0x35d65));function _0x53b0(){const _0x2df24f=['3DbpgYM','51616fuLNNj','bindTemplate','image-edit','uc-light','86030diIRMV','443894cqRbwd','uc-cloud-image-editor','945138KIxXfs','3612800jUSryx','set','setTemplate','1955718NBNDGc','168AnktTq','ck-uploadcare-theme','36rduRoY','5fDKprW','imageSrc','125092qJdUAh'];_0x53b0=function(){return _0x2df24f;};return _0x53b0();}import{View as _0x371297}from'ckeditor5/src/ui.js';export default class tt extends _0x371297{constructor(_0x5e9efe,_0x1e6b30){const _0x5cccb5=_0x354d;super(_0x5e9efe);const _0x42d6a6=this[_0x5cccb5(0x1ea)];this[_0x5cccb5(0x1df)](_0x5cccb5(0x1e6),''),this[_0x5cccb5(0x1e0)]({'tag':_0x5cccb5(0x1ef),'attributes':{..._0x1e6b30,'class':[_0x5cccb5(0x1ec),_0x5cccb5(0x1e3)],'ctx-name':_0x5cccb5(0x1eb),'cdn-url':_0x42d6a6['to'](_0x5cccb5(0x1e6))}});}}
|
|
@@ -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 _0x1d6738,IconView as at,View as _0xbf795d}from'ckeditor5/src/ui.js';export default class rt extends _0xbf795d{constructor(_0x2ef7ca){super(_0x2ef7ca);const t=_0x2ef7ca['t'];this['set']('errorType',null);const _0x59f5c=new _0x1d6738(_0x2ef7ca);_0x59f5c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x59f5c['withText']=!0x0,_0x59f5c['class']='ck-button-action',_0x59f5c['on']('execute',()=>{this['fire']('retry');}),_0x59f5c['bind']('isVisible')['to'](this,'errorType',_0x302ca9=>'NotFound'!==_0x302ca9);const _0x3824bd=new at();_0x3824bd['content']=et,_0x3824bd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48dd24=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':[_0x3824bd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48dd24['to']('errorType',_0x1de8cc=>t('NotFound'!==_0x1de8cc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x59f5c]},{'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 _0x267c57,View as _0x179272}from'ckeditor5/src/ui.js';export default class ta extends _0x179272{constructor(_0x413629){super(_0x413629);const t=_0x413629['t'],_0x150ce5=this['bindTemplate'],_0x554a2d=new _0x267c57();_0x554a2d['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':[_0x554a2d,{'text':_0x150ce5['to']('imageUploadProgress',_0x357358=>t('Loading\x20image...')+'\x20('+(_0x357358||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x476b23=_0x430e;(function(_0x34fa41,_0x111cfa){const _0x2bbb2c=_0x430e,_0x158fa6=_0x34fa41();while(!![]){try{const _0x405676=parseInt(_0x2bbb2c(0xfd))/0x1*(parseInt(_0x2bbb2c(0xf7))/0x2)+parseInt(_0x2bbb2c(0xf5))/0x3*(-parseInt(_0x2bbb2c(0xe6))/0x4)+-parseInt(_0x2bbb2c(0xcd))/0x5*(-parseInt(_0x2bbb2c(0xfa))/0x6)+parseInt(_0x2bbb2c(0xe2))/0x7+-parseInt(_0x2bbb2c(0xf8))/0x8+parseInt(_0x2bbb2c(0xcb))/0x9*(-parseInt(_0x2bbb2c(0xef))/0xa)+parseInt(_0x2bbb2c(0xe0))/0xb*(-parseInt(_0x2bbb2c(0xce))/0xc);if(_0x405676===_0x111cfa)break;else _0x158fa6['push'](_0x158fa6['shift']());}catch(_0x5cc032){_0x158fa6['push'](_0x158fa6['shift']());}}}(_0x5397,0x22568));import{View as _0x229c38}from'ckeditor5/src/ui.js';import _0x4ae2b7 from'./uploadcareimageeditformloadingview.js';import _0x412fdc from'./uploadcareimageeditformerrorview.js';import _0x163d19 from'./uploadcareimageeditformeditingview.js';function _0x5397(){const _0x2cf972=['279670zgGIVr','add','addEventListener','detail','change:status','filter','3oQjVyr','ck-reset_all-excluded','1198MvjZoL','420240NyjYNa','once','1668Sdoekz','_errorView','target','200OXlfhS','uploading','fire','nodeName','observe','disconnect','cancel','18xKGJib','element','2870rQTqvr','2424rMwGyY','uc-cloud-image-editor','_addUploadcareImageEditorListeners','querySelector','set','error','retry','setTemplate','ck-uploadcare-form','length','_waitForImageEditorComponent','cdnUrl','ready','_editingView','_focusableView','_setView','addMany','focus','6138MvuWML','render','1160439HrmUyA','_items','div','createCollection','333284wWHXZP','addedNodes','status','_addErrorViewListeners','clear','_loadingView','toLowerCase','apply','getFocusableElement'];_0x5397=function(){return _0x2cf972;};return _0x5397();}import _0x582ca4 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x430e(_0x46d97d,_0x13cae3){const _0x5397f8=_0x5397();return _0x430e=function(_0x430efd,_0x47c42a){_0x430efd=_0x430efd-0xc6;let _0xec1c8c=_0x5397f8[_0x430efd];return _0xec1c8c;},_0x430e(_0x46d97d,_0x13cae3);}export default class Z extends _0x582ca4{[_0x476b23(0xe3)];[_0x476b23(0xeb)];[_0x476b23(0xfb)];[_0x476b23(0xdb)];[_0x476b23(0xdc)];constructor(_0x57aed1,_0x1ac82e,_0x1d907b){const _0x4c8c27=_0x476b23;super(_0x57aed1),this[_0x4c8c27(0xe3)]=this[_0x4c8c27(0xe5)](),this[_0x4c8c27(0xeb)]=new _0x4ae2b7(_0x57aed1),this[_0x4c8c27(0xfb)]=new _0x412fdc(_0x57aed1),this[_0x4c8c27(0xdb)]=new _0x163d19(_0x57aed1,_0x1d907b),this[_0x4c8c27(0xdc)]=new _0x229c38(_0x57aed1),this[_0x4c8c27(0xdc)][_0x4c8c27(0xd5)](this[_0x4c8c27(0xee)]()),this[_0x4c8c27(0xd2)](_0x4c8c27(0xe8),_0x1ac82e),this[_0x4c8c27(0xd5)]({'tag':_0x4c8c27(0xe4),'attributes':{'class':['ck',_0x4c8c27(0xf6),_0x4c8c27(0xd6)],'tabindex':'-1'},'children':this[_0x4c8c27(0xe3)]}),this[_0x4c8c27(0xdd)](),this[_0x4c8c27(0xf9)](_0x4c8c27(0xe1),()=>{const _0x15c560=_0x4c8c27;this[_0x15c560(0xd8)](this[_0x15c560(0xcc)],_0x3ece69=>{const _0x2fd8ef=_0x15c560;this[_0x2fd8ef(0xd0)](_0x3ece69);});}),this['on'](_0x4c8c27(0xf3),()=>{const _0x2c1ee1=_0x4c8c27;this[_0x2c1ee1(0xdd)]();}),this[_0x4c8c27(0xe9)]();}[_0x476b23(0xdf)](){const _0x15e350=_0x476b23;this[_0x15e350(0xcc)][_0x15e350(0xdf)]();}[_0x476b23(0xdd)](){const _0x28623d=_0x476b23;switch(this[_0x28623d(0xe3)][_0x28623d(0xea)](),this[_0x28623d(0xe8)]){case _0x28623d(0xfe):this[_0x28623d(0xe3)][_0x28623d(0xf0)](this[_0x28623d(0xeb)]);break;case _0x28623d(0xd3):this[_0x28623d(0xe3)][_0x28623d(0xf0)](this[_0x28623d(0xfb)]);break;case _0x28623d(0xda):this[_0x28623d(0xe3)][_0x28623d(0xde)]([this[_0x28623d(0xdb)],this[_0x28623d(0xdc)]]);}}[_0x476b23(0xd8)](_0x47aedd,_0x180a97){const _0xd29760=_0x476b23,_0x56b752=_0xd29760(0xcf),_0x4f95a8=_0x47aedd[_0xd29760(0xd1)](_0x56b752);if(_0x4f95a8)return _0x180a97(_0x4f95a8);const _0x593b3b=new MutationObserver(_0x567acb=>{const _0x24d180=_0xd29760,_0x2b0ea7=_0x567acb[_0x24d180(0xf4)](_0x49d623=>_0x49d623[_0x24d180(0xfc)]===_0x47aedd&&_0x49d623[_0x24d180(0xe7)][_0x24d180(0xd7)]>0x0&&_0x49d623[_0x24d180(0xe7)][0x0][_0x24d180(0xc7)][_0x24d180(0xec)]()===_0x56b752);_0x2b0ea7[_0x24d180(0xd7)]&&(_0x593b3b[_0x24d180(0xc9)](),_0x180a97(_0x2b0ea7[0x0][_0x24d180(0xe7)][0x0]));});_0x593b3b[_0xd29760(0xc8)](_0x47aedd,{'childList':!0x0,'subtree':!0x0});}[_0x476b23(0xd0)](_0x52fd09){const _0x3ce62b=_0x476b23;_0x52fd09[_0x3ce62b(0xf1)](_0x3ce62b(0xed),_0x11c996=>{const _0x42503a=_0x3ce62b;this[_0x42503a(0xc6)](_0x42503a(0xed),{'imageSrc':_0x11c996[_0x42503a(0xf2)][_0x42503a(0xd9)]});}),_0x52fd09[_0x3ce62b(0xf1)](_0x3ce62b(0xca),()=>{const _0xa32441=_0x3ce62b;this[_0xa32441(0xc6)](_0xa32441(0xca));});}[_0x476b23(0xe9)](){const _0x388b54=_0x476b23;this[_0x388b54(0xfb)]['on'](_0x388b54(0xd4),()=>{const _0xba34f7=_0x388b54;this[_0xba34f7(0xc6)](_0xba34f7(0xd4));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ca0(_0x1b3cda,_0x225884){const _0x22b154=_0x22b1();return _0x3ca0=function(_0x3ca004,_0x1cd9f0){_0x3ca004=_0x3ca004-0x15d;let _0x3d6ceb=_0x22b154[_0x3ca004];return _0x3d6ceb;},_0x3ca0(_0x1b3cda,_0x225884);}const _0x2b5f7f=_0x3ca0;(function(_0x259e19,_0x22b8b5){const _0x5130fa=_0x3ca0,_0x4bc19b=_0x259e19();while(!![]){try{const _0x58605f=parseInt(_0x5130fa(0x177))/0x1+parseInt(_0x5130fa(0x178))/0x2+parseInt(_0x5130fa(0x173))/0x3+parseInt(_0x5130fa(0x163))/0x4+parseInt(_0x5130fa(0x176))/0x5*(parseInt(_0x5130fa(0x16a))/0x6)+parseInt(_0x5130fa(0x16d))/0x7*(parseInt(_0x5130fa(0x179))/0x8)+-parseInt(_0x5130fa(0x17b))/0x9*(parseInt(_0x5130fa(0x161))/0xa);if(_0x58605f===_0x22b8b5)break;else _0x4bc19b['push'](_0x4bc19b['shift']());}catch(_0x1cc8a9){_0x4bc19b['push'](_0x4bc19b['shift']());}}}(_0x22b1,0xb497a));import{Command as _0x5b506b}from'ckeditor5/src/core.js';import{Dialog as _0x1e0fb6}from'ckeditor5/src/ui.js';function _0x22b1(){const _0x58b2f=['plugins','39619701ikxpku','getSelectedElement','get','imageEditController','unbind','editor','10vFPdto','execute','3048624zGIiMM','model','imageBlock','bind','requires','set','refresh','42906FSXmfy','document','imageInline','2933lHMCoc','element','isEnabled','_isEditable','uploadcare.allowExternalImagesEditing','config','1467210jayyFl','selection','isActive','465GGymIH','1153225UmZNXJ','2566848evkOHq','15064zWBBBZ'];_0x22b1=function(){return _0x58b2f;};return _0x22b1();}import _0x452e45 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x355177}from'../utils/editingutils.js';export default class V extends _0x5b506b{[_0x2b5f7f(0x15e)];static get[_0x2b5f7f(0x167)](){return[_0x1e0fb6];}[_0x2b5f7f(0x170)];constructor(_0x1f943b){const _0x3767cf=_0x2b5f7f;super(_0x1f943b),this[_0x3767cf(0x15e)]=void 0x0,this[_0x3767cf(0x170)]=_0x355177(_0x1f943b[_0x3767cf(0x172)][_0x3767cf(0x15d)](_0x3767cf(0x171))||[]),this[_0x3767cf(0x168)]({'isActive':!0x1});}[_0x2b5f7f(0x169)](){const _0x131490=_0x2b5f7f,_0x1dc079=this[_0x131490(0x160)][_0x131490(0x164)][_0x131490(0x16b)][_0x131490(0x174)][_0x131490(0x17c)]();this[_0x131490(0x16f)]=this[_0x131490(0x170)](_0x1dc079);}[_0x2b5f7f(0x162)](){const _0x39c399=_0x2b5f7f;this[_0x39c399(0x15e)]&&(this[_0x39c399(0x15f)](_0x39c399(0x175)),this[_0x39c399(0x15e)]=void 0x0);const _0x3a5135=this[_0x39c399(0x160)][_0x39c399(0x164)][_0x39c399(0x16b)][_0x39c399(0x174)][_0x39c399(0x17c)]();_0x3a5135&&(_0x3a5135['is'](_0x39c399(0x16e),_0x39c399(0x165))||_0x3a5135['is'](_0x39c399(0x16e),_0x39c399(0x16c)))&&(this[_0x39c399(0x15e)]=new _0x452e45(this[_0x39c399(0x160)],this[_0x39c399(0x160)][_0x39c399(0x17a)][_0x39c399(0x15d)](_0x1e0fb6),_0x3a5135),this[_0x39c399(0x166)](_0x39c399(0x175))['to'](this[_0x39c399(0x15e)],_0x39c399(0x175)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ef6f8=_0x4f2c;(function(_0x148493,_0x4744b1){const _0x4dcad3=_0x4f2c,_0x204bab=_0x148493();while(!![]){try{const _0x1b91a7=-parseInt(_0x4dcad3(0x1a1))/0x1*(-parseInt(_0x4dcad3(0x194))/0x2)+-parseInt(_0x4dcad3(0x195))/0x3+parseInt(_0x4dcad3(0x196))/0x4*(-parseInt(_0x4dcad3(0x190))/0x5)+-parseInt(_0x4dcad3(0x193))/0x6*(-parseInt(_0x4dcad3(0x18f))/0x7)+parseInt(_0x4dcad3(0x199))/0x8*(parseInt(_0x4dcad3(0x18c))/0x9)+parseInt(_0x4dcad3(0x197))/0xa*(parseInt(_0x4dcad3(0x19f))/0xb)+-parseInt(_0x4dcad3(0x18d))/0xc;if(_0x1b91a7===_0x4744b1)break;else _0x204bab['push'](_0x204bab['shift']());}catch(_0x49311d){_0x204bab['push'](_0x204bab['shift']());}}}(_0x3929,0x74222));import{Plugin as _0x57ea40}from'ckeditor5/src/core.js';import{Notification as _0xf0b588}from'ckeditor5/src/ui.js';import _0x318caf from'./uploadcareimageeditcommand.js';function _0x3929(){const _0x46c1a0=['3150vPYLvQ','requires','128EUZIea','commands','ImageUtils','UploadcareImageEditEditing','pluginName','ImageEditing','29062MxecAy','init','26JiaowJ','isOfficialPlugin','add','226602zthMGs','20854716wCgjcw','isPremiumPlugin','5586413OQEGFI','9155AEzZdz','uploadcareImageReplace','uploadcareImageEdit','6LhbhPD','57388qCayXL','1174983AxkQel','380LAWzWF'];_0x3929=function(){return _0x46c1a0;};return _0x3929();}import _0x58c839 from'./uploadcareimagereplacecommand.js';function _0x4f2c(_0x984862,_0x1b6998){const _0x392913=_0x3929();return _0x4f2c=function(_0x4f2c2a,_0x580ea2){_0x4f2c2a=_0x4f2c2a-0x18b;let _0x23baaa=_0x392913[_0x4f2c2a];return _0x23baaa;},_0x4f2c(_0x984862,_0x1b6998);}import _0x1709bd from'../uploadcareediting.js';export default class g extends _0x57ea40{static get[_0x4ef6f8(0x19d)](){const _0x4507f2=_0x4ef6f8;return _0x4507f2(0x19c);}static get[_0x4ef6f8(0x198)](){const _0x49dd78=_0x4ef6f8;return[_0x1709bd,_0xf0b588,_0x49dd78(0x19b),_0x49dd78(0x19e)];}static get[_0x4ef6f8(0x1a2)](){return!0x0;}static get[_0x4ef6f8(0x18e)](){return!0x0;}[_0x4ef6f8(0x1a0)](){const _0x361b21=_0x4ef6f8,{editor:_0x42be49}=this;_0x42be49[_0x361b21(0x19a)][_0x361b21(0x18b)](_0x361b21(0x192),new _0x318caf(_0x42be49)),_0x42be49[_0x361b21(0x19a)][_0x361b21(0x18b)](_0x361b21(0x191),new _0x58c839(_0x42be49));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x268f6c}from'ckeditor5/src/core.js';import{ButtonView as _0x31a26c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x218bbb}from'ckeditor5/src/icons.js';import{createElement as _0x462295}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 _0x268f6c{['_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 _0x58393f=this['editor'];_0x58393f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x461a99=>{const _0x16887e=_0x58393f['commands']['get']('uploadcareImageEdit'),_0x4ebb1f=new _0x31a26c(_0x461a99),t=_0x461a99['t'];return _0x4ebb1f['set']({'icon':_0x218bbb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4ebb1f['bind']('isEnabled')['to'](_0x16887e),_0x4ebb1f['bind']('isOn')['to'](_0x16887e,'isActive'),this['listenTo'](_0x4ebb1f,'execute',()=>{_0x58393f['execute']('uploadcareImageEdit'),_0x58393f['editing']['view']['focus']();}),_0x4ebb1f;}),this['_initConfig']();}['_initConfig'](){const _0x4e5c17=_0x462295(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e5c17),this['listenTo'](this['editor'],'destroy',()=>{_0x4e5c17['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5d00(){const _0x1a91a7=['change','imageInline','srcset','2884770KMFPuc','selection','1321995NkOiDp','4yOUsEJ','execute','removeAttribute','4776128eNrzbC','imageBlock','isEnabled','setAttributes','document','7JEUaeC','editor','1318jJMjuG','refresh','1173807bYfZin','892tLhxUQ','element','2385070hIwiGq','3919506CiqFEy','model','sizes','getSelectedElement'];_0x5d00=function(){return _0x1a91a7;};return _0x5d00();}const _0x1ecc90=_0x16b9;(function(_0x4d7154,_0x1d6a75){const _0x7e4092=_0x16b9,_0x392307=_0x4d7154();while(!![]){try{const _0x9ed99=-parseInt(_0x7e4092(0xb9))/0x1*(-parseInt(_0x7e4092(0xbc))/0x2)+-parseInt(_0x7e4092(0xc8))/0x3*(parseInt(_0x7e4092(0xc9))/0x4)+parseInt(_0x7e4092(0xbe))/0x5+-parseInt(_0x7e4092(0xbf))/0x6*(parseInt(_0x7e4092(0xb7))/0x7)+parseInt(_0x7e4092(0xcc))/0x8+parseInt(_0x7e4092(0xbb))/0x9+-parseInt(_0x7e4092(0xc6))/0xa;if(_0x9ed99===_0x1d6a75)break;else _0x392307['push'](_0x392307['shift']());}catch(_0x33f5b5){_0x392307['push'](_0x392307['shift']());}}}(_0x5d00,0x64120));import{Command as _0x5ea1bf}from'ckeditor5/src/core.js';function _0x16b9(_0x181741,_0x5ec1ce){const _0x5d00bd=_0x5d00();return _0x16b9=function(_0x16b971,_0xb8794f){_0x16b971=_0x16b971-0xb4;let _0x1b7247=_0x5d00bd[_0x16b971];return _0x1b7247;},_0x16b9(_0x181741,_0x5ec1ce);}export default class X extends _0x5ea1bf{[_0x1ecc90(0xba)](){const _0x3494c9=_0x1ecc90,_0x573533=this[_0x3494c9(0xb8)][_0x3494c9(0xc0)][_0x3494c9(0xb6)][_0x3494c9(0xc7)][_0x3494c9(0xc2)]();this[_0x3494c9(0xb4)]=Boolean(_0x573533&&(_0x573533['is'](_0x3494c9(0xbd),_0x3494c9(0xcd))||_0x573533['is'](_0x3494c9(0xbd),_0x3494c9(0xc4))));}[_0x1ecc90(0xca)](_0x168961){const _0x380130=_0x1ecc90,_0x59551a=this[_0x380130(0xb8)][_0x380130(0xc0)][_0x380130(0xb6)][_0x380130(0xc7)][_0x380130(0xc2)]();this[_0x380130(0xb8)][_0x380130(0xc0)][_0x380130(0xc3)](_0x390aa1=>{const _0x5340ff=_0x380130;_0x390aa1[_0x5340ff(0xb5)](_0x168961,_0x59551a),_0x390aa1[_0x5340ff(0xcb)](_0x5340ff(0xc5),_0x59551a),_0x390aa1[_0x5340ff(0xcb)](_0x5340ff(0xc1),_0x59551a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4c6595=_0x31e8;(function(_0x2e8edc,_0x57553f){var _0x37aa02=_0x31e8,_0x331c33=_0x2e8edc();while(!![]){try{var _0x513451=parseInt(_0x37aa02(0x171))/0x1+parseInt(_0x37aa02(0x16c))/0x2*(-parseInt(_0x37aa02(0x16a))/0x3)+parseInt(_0x37aa02(0x164))/0x4+-parseInt(_0x37aa02(0x170))/0x5+parseInt(_0x37aa02(0x167))/0x6*(parseInt(_0x37aa02(0x16e))/0x7)+parseInt(_0x37aa02(0x16f))/0x8+parseInt(_0x37aa02(0x165))/0x9*(-parseInt(_0x37aa02(0x169))/0xa);if(_0x513451===_0x57553f)break;else _0x331c33['push'](_0x331c33['shift']());}catch(_0x16806d){_0x331c33['push'](_0x331c33['shift']());}}}(_0x260f,0xadb73));import{Plugin as _0x5f27be}from'ckeditor5/src/core.js';function _0x31e8(_0x553cbd,_0x1105bd){var _0x260fe6=_0x260f();return _0x31e8=function(_0x31e802,_0x128d0d){_0x31e802=_0x31e802-0x164;var _0x45a334=_0x260fe6[_0x31e802];return _0x45a334;},_0x31e8(_0x553cbd,_0x1105bd);}import _0x259eb4 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x260f(){var _0x3063a6=['417nlbnrW','isPremiumPlugin','11558EHiiKm','UploadcareImageEdit','28LoucUX','7893144VKGNDp','6046875RDQqNO','1234368KcFYSz','pluginName','651772pcweaZ','71523quDEio','requires','2048106bIczoK','isOfficialPlugin','1290noLAjA'];_0x260f=function(){return _0x3063a6;};return _0x260f();}import _0x4cc616 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5f27be{static get[_0x4c6595(0x172)](){var _0x344b3a=_0x4c6595;return _0x344b3a(0x16d);}static get[_0x4c6595(0x166)](){return[_0x259eb4,_0x4cc616];}static get[_0x4c6595(0x168)](){return!0x0;}static get[_0x4c6595(0x16b)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x47e0f3=_0x3b77;(function(_0x182164,_0x51e42a){const _0x3323e6=_0x3b77,_0x174661=_0x182164();while(!![]){try{const _0x1f5e2e=parseInt(_0x3323e6(0x16c))/0x1+-parseInt(_0x3323e6(0x162))/0x2*(parseInt(_0x3323e6(0x178))/0x3)+parseInt(_0x3323e6(0x195))/0x4+parseInt(_0x3323e6(0x160))/0x5+-parseInt(_0x3323e6(0x19f))/0x6*(-parseInt(_0x3323e6(0x15d))/0x7)+-parseInt(_0x3323e6(0x15b))/0x8*(-parseInt(_0x3323e6(0x161))/0x9)+-parseInt(_0x3323e6(0x167))/0xa;if(_0x1f5e2e===_0x51e42a)break;else _0x174661['push'](_0x174661['shift']());}catch(_0x138789){_0x174661['push'](_0x174661['shift']());}}}(_0x536d,0x92617));import{Plugin as _0x29736f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a8592,IconFacebook as _0x275bf7,IconGoogleDrive as _0x52b025,IconGooglePhotos as _0x20d99b,IconUploadcareImageUpload as _0x13c59e,IconUploadcareLink as _0x57cba4,IconOneDrive as _0x116408}from'ckeditor5/src/icons.js';import{ButtonView as _0x1795f1,MenuBarMenuListItemButtonView as _0x1f8577}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x44f414}from'./uploadcareconfig.js';import{getTranslation as _0x5868dd}from'./utils/common-translations.js';function _0x3b77(_0x13c120,_0x3c2047){const _0x536de6=_0x536d();return _0x3b77=function(_0x3b7774,_0x45d644){_0x3b7774=_0x3b7774-0x156;let _0x1c737d=_0x536de6[_0x3b7774];return _0x1c737d;},_0x3b77(_0x13c120,_0x3c2047);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x536d(){const _0x1ff420=['upload','URL','UploadcareUI','Replace','14500940tdwtdt','locale','config','invalid','destroy','64396RRXSkA','plugins','evaluationLimit','OneDrive','tooltip','push','entries','bind','label','pluginName','usageLimit','GPhotos','11526HuqqTF','featureNotAllowed','domainLimit','GDrive','Insert','get','isEnabled','_createDropdownButtons','Uploadcare','withText','Local','url','Facebook','icon','expired','init','isImageSelected','registerIntegration','execute','licenseKey','_licenseKeyCheckInterval','type','assetManager','_getIntegrationKey','editor','commands','trialLimit','isOfficialPlugin','afterInit','575780cjxpdb','forEach','_createToolbarButton','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','uploadcare','map','_createMenuBarButtons','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyDomainLimit','102eWFiTS','uploadcareLicenseKeyUsageLimit','_createButton','has','text','ImageInsertUI','isPremiumPlugin','_showLicenseError','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','shortText','uploadcareLicenseKeyValid','Dropbox','56oclmhu','reduce','122143WZzWTW','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyTrialLimit','3169100aTmplS','1413171MCjikl','98TXbLDR'];_0x536d=function(){return _0x1ff420;};return _0x536d();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x29736f{[_0x47e0f3(0x18b)];[_0x47e0f3(0x18c)];static get[_0x47e0f3(0x175)](){const _0x506b26=_0x47e0f3;return _0x506b26(0x165);}static get[_0x47e0f3(0x193)](){return!0x0;}static get[_0x47e0f3(0x1a5)](){return!0x0;}[_0x47e0f3(0x187)](){const _0x5611bb=_0x47e0f3;this[_0x5611bb(0x18b)]=this[_0x5611bb(0x190)][_0x5611bb(0x169)][_0x5611bb(0x17d)](_0x5611bb(0x18b));const _0xf44874=this[_0x5611bb(0x190)];this[_0x5611bb(0x18c)]=setInterval(()=>{const _0x491be7=_0x5611bb;let _0x3dee1f;for(const _0x5550f1 in _0xf44874){const _0x6ba79c=_0x5550f1,_0xc4a46a=_0xf44874[_0x6ba79c];if(_0x491be7(0x159)==_0xc4a46a||_0x491be7(0x19d)==_0xc4a46a||_0x491be7(0x198)==_0xc4a46a||_0x491be7(0x19e)==_0xc4a46a||_0x491be7(0x157)==_0xc4a46a||_0x491be7(0x15e)==_0xc4a46a||_0x491be7(0x15f)==_0xc4a46a||_0x491be7(0x1a0)==_0xc4a46a){delete _0xf44874[_0x6ba79c],_0x3dee1f=_0xc4a46a,clearInterval(this[_0x491be7(0x18c)]),this[_0x491be7(0x18c)]=void 0x0;break;}}_0x491be7(0x19d)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x16a)),_0x491be7(0x198)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x186)),_0x491be7(0x19e)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x17a)),_0x491be7(0x157)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x179),_0x491be7(0x180)),_0x491be7(0x15e)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x16e)),_0x491be7(0x15f)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x192)),_0x491be7(0x1a0)==_0x3dee1f&&_0xf44874[_0x491be7(0x1a6)](_0x491be7(0x176));},0x3e8);}[_0x47e0f3(0x194)](){const _0x3c6b3a=_0x47e0f3,{editor:_0x4df896}=this,_0x4cc6d1=_0x4df896[_0x3c6b3a(0x191)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x19a));if(!_0x4cc6d1)return;const _0x480bb4=this[_0x3c6b3a(0x199)](_0x4df896[_0x3c6b3a(0x169)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x156)))[_0x3c6b3a(0x15c)]((_0x3995ec,_0x12ff7f)=>{const _0x3b4a63=_0x3c6b3a,_0x59f274=this[_0x3b4a63(0x18f)](_0x12ff7f[_0x3b4a63(0x18d)]);return _0x3995ec[_0x59f274]||(_0x3995ec[_0x59f274]=[]),_0x3995ec[_0x59f274][_0x3b4a63(0x171)](_0x12ff7f),_0x3995ec;},{});_0x4df896[_0x3c6b3a(0x16d)][_0x3c6b3a(0x1a2)](_0x3c6b3a(0x1a4))&&_0x4df896[_0x3c6b3a(0x191)][_0x3c6b3a(0x17d)](_0x3c6b3a(0x19a))&&Object[_0x3c6b3a(0x172)](_0x480bb4)[_0x3c6b3a(0x196)](([_0x502228,_0x4531b5])=>{const _0x532460=_0x3c6b3a;_0x4df896[_0x532460(0x16d)][_0x532460(0x17d)](_0x532460(0x1a4))[_0x532460(0x189)]({'name':_0x502228,'observable':()=>_0x4cc6d1,'buttonViewCreator':()=>this[_0x532460(0x197)](_0x4531b5),'formViewCreator':()=>this[_0x532460(0x17f)](_0x4531b5),'menuBarButtonViewCreator':()=>this[_0x532460(0x19c)](_0x4531b5),'override':_0x532460(0x18e)!==_0x502228});});}[_0x47e0f3(0x16b)](){const _0x4cfd05=_0x47e0f3;super[_0x4cfd05(0x16b)](),this[_0x4cfd05(0x18c)]&&clearInterval(this[_0x4cfd05(0x18c)]);}[_0x47e0f3(0x199)](_0x501e52){const _0x3c7144=_0x47e0f3,{locale:_0x60d285}=this[_0x3c7144(0x190)];return _0x501e52[_0x3c7144(0x19b)](_0x4fd52e=>{const _0x43921c=_0x3c7144,_0x5ea0c0=_0x5868dd(_0x60d285,_0x4fd52e,_0x43921c(0x17c));switch(_0x4fd52e){case _0x44f414[_0x43921c(0x182)]:return{'icon':_0x13c59e,'type':_0x44f414[_0x43921c(0x182)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x164)]:return{'icon':_0x57cba4,'type':_0x44f414[_0x43921c(0x164)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x15a)]:return{'icon':_0x2a8592,'type':_0x44f414[_0x43921c(0x15a)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x184)]:return{'icon':_0x275bf7,'type':_0x44f414[_0x43921c(0x184)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x17b)]:return{'icon':_0x52b025,'type':_0x44f414[_0x43921c(0x17b)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x177)]:return{'icon':_0x20d99b,'type':_0x44f414[_0x43921c(0x177)],..._0x5ea0c0};case _0x44f414[_0x43921c(0x16f)]:return{'icon':_0x116408,'type':_0x44f414[_0x43921c(0x16f)],..._0x5ea0c0};}});}[_0x47e0f3(0x18f)](_0xd99eb8){const _0x1e41cc=_0x47e0f3;switch(_0xd99eb8){case _0x44f414[_0x1e41cc(0x182)]:return _0x1e41cc(0x163);case _0x44f414[_0x1e41cc(0x164)]:return _0x1e41cc(0x183);default:return _0x1e41cc(0x18e);}}[_0x47e0f3(0x1a1)](_0x45a4c3,_0x4df41e){const _0x29866b=_0x47e0f3,_0x3467ff=this[_0x29866b(0x190)],_0x393bc0=new _0x45a4c3(_0x3467ff[_0x29866b(0x168)]),_0x307c8d=_0x3467ff[_0x29866b(0x191)][_0x29866b(0x17d)](_0x29866b(0x19a));return _0x393bc0[_0x29866b(0x173)](_0x29866b(0x17e))['to'](_0x307c8d),_0x393bc0['on'](_0x29866b(0x18a),()=>{const _0x241d1c=_0x29866b;_0x307c8d[_0x241d1c(0x18a)](_0x4df41e);}),_0x393bc0;}[_0x47e0f3(0x197)](_0x223e3f){const _0x39f733=_0x47e0f3,{locale:_0x4f9200}=this[_0x39f733(0x190)],_0x5a94cd=this[_0x39f733(0x190)][_0x39f733(0x16d)][_0x39f733(0x17d)](_0x39f733(0x1a4)),_0x25dc2c=_0x223e3f[0x0],_0x5457a6=this[_0x39f733(0x1a1)](_0x1795f1,_0x25dc2c[_0x39f733(0x18d)]);return _0x5457a6[_0x39f733(0x185)]=_0x25dc2c[_0x39f733(0x185)],_0x5457a6[_0x39f733(0x173)](_0x39f733(0x174))['to'](_0x5a94cd,_0x39f733(0x188),_0x490b77=>_0x5868dd(_0x4f9200,_0x25dc2c[_0x39f733(0x18d)],_0x490b77?_0x39f733(0x166):_0x39f733(0x17c))[_0x39f733(0x1a3)]),_0x5457a6[_0x39f733(0x170)]=!0x0,_0x5457a6;}[_0x47e0f3(0x17f)](_0x47d7d2){const _0x7c503e=_0x47e0f3,{locale:_0x79e781}=this[_0x7c503e(0x190)],_0x1219bb=this[_0x7c503e(0x190)][_0x7c503e(0x16d)][_0x7c503e(0x17d)](_0x7c503e(0x1a4));return _0x47d7d2[_0x7c503e(0x19b)](_0x5ae95e=>{const _0x4549b6=_0x7c503e,_0x7d07f7=this[_0x4549b6(0x1a1)](_0x1795f1,_0x5ae95e[_0x4549b6(0x18d)]);return _0x7d07f7[_0x4549b6(0x181)]=!0x0,_0x7d07f7[_0x4549b6(0x185)]=_0x5ae95e[_0x4549b6(0x185)],_0x7d07f7[_0x4549b6(0x173)](_0x4549b6(0x174))['to'](_0x1219bb,_0x4549b6(0x188),_0x41cb11=>_0x5868dd(_0x79e781,_0x5ae95e[_0x4549b6(0x18d)],_0x41cb11?_0x4549b6(0x166):_0x4549b6(0x17c))[_0x4549b6(0x1a3)]),_0x7d07f7;});}[_0x47e0f3(0x19c)](_0x312f3a){const _0x1f9621=_0x47e0f3;return _0x312f3a[_0x1f9621(0x19b)](_0x37744c=>{const _0x535bef=_0x1f9621,_0x4c5360=this[_0x535bef(0x1a1)](_0x1f8577,_0x37744c[_0x535bef(0x18d)]);return _0x4c5360[_0x535bef(0x185)]=_0x37744c[_0x535bef(0x185)],_0x4c5360[_0x535bef(0x174)]=_0x37744c[_0x535bef(0x158)],_0x4c5360;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x568576}from'ckeditor5/src/core.js';import{FileRepository as _0x49ef16}from'ckeditor5/src/upload.js';import _0x428db2 from'./uploadcareediting.js';import _0x2adb96 from'./utils/uploadutils.js';import{getImageUrls as _0x8b0034}from'./utils/editingutils.js';export default class p extends _0x568576{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x49ef16,_0x428db2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x11e37d=this['editor'];if(!!!_0x11e37d['config']['get']('uploadcare'))return;_0x11e37d['plugins']['get'](_0x49ef16)['createUploadAdapter']=_0xa52697=>new x(_0xa52697,_0x11e37d),_0x11e37d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x9f041,{imageElement:_0x33df86,data:_0x2fc56b})=>{_0x11e37d['model']['change'](_0x863852=>{_0x863852['setAttribute']('uploadcareImageId',_0x2fc56b['uploadcareImageId'],_0x33df86);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x47db7e,_0x4229cc){this['loader']=_0x47db7e,this['editor']=_0x4229cc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x375767=this['editor']['config']['get']('uploadcare.pubkey'),_0x3cd441=await this['loader']['file'];return _0x2adb96['upload']({'file':_0x3cd441,'publicKey':_0x375767,'signal':this['controller']['signal'],'onProgress':_0x11fca7=>{_0x11fca7&&_0x11fca7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11fca7['value']);}})['then'](async _0x5aa9ed=>{const {imageFallbackUrl:_0x4f1b30,imageSources:_0x1cc0eb}=_0x8b0034(_0x5aa9ed['cdnUrl'],_0x5aa9ed['imageInfo']['width']);return{'uploadcareImageId':_0x5aa9ed['uuid'],'default':_0x4f1b30,'sources':_0x1cc0eb};})['catch'](()=>{const _0x42abae=t('Cannot\x20upload\x20file:')+('\x20'+_0x3cd441['name']+'.');return Promise['reject'](_0x42abae);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x3e6d42}from'../uploadcareconfig.js';export function getTranslation(_0x12e321,_0x4cead4,_0x3d5d76){const t=_0x12e321['t'],_0x158173=_0x12e321['t'];switch(_0x4cead4){case _0x3e6d42['Local']:return{'text':_0x158173('Insert'===_0x3d5d76?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x158173('From\x20computer')};case _0x3e6d42['URL']:return{'text':'Insert'===_0x3d5d76?_0x158173('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x158173('Via\x20URL')};case _0x3e6d42['Dropbox']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3e6d42['Facebook']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3e6d42['GDrive']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3e6d42['GPhotos']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3e6d42['OneDrive']:return{'text':t('Insert'===_0x3d5d76?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4cead4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b5509=_0x1ecc;function _0x40ab(){var _0x3ea627=['focusTracker','2706543jbBenU','10644AshhLr','1014162CloNTu','471220uRIvng','275597cjfhtf','bindTemplate','forwardCycle','focusCycler','createCollection','440aJrvTZ','1567755HKowFz','8uDGpNP','div','true','getFocusableElement','fire','776160YzETOA'];_0x40ab=function(){return _0x3ea627;};return _0x40ab();}(function(_0x2f6c43,_0xbd3e94){var _0xe83bc6=_0x1ecc,_0x35b6e6=_0x2f6c43();while(!![]){try{var _0x5c057a=-parseInt(_0xe83bc6(0x131))/0x1+parseInt(_0xe83bc6(0x12b))/0x2+parseInt(_0xe83bc6(0x12f))/0x3+parseInt(_0xe83bc6(0x130))/0x4+parseInt(_0xe83bc6(0x136))/0x5*(parseInt(_0xe83bc6(0x12e))/0x6)+-parseInt(_0xe83bc6(0x137))/0x7+parseInt(_0xe83bc6(0x138))/0x8*(-parseInt(_0xe83bc6(0x12d))/0x9);if(_0x5c057a===_0xbd3e94)break;else _0x35b6e6['push'](_0x35b6e6['shift']());}catch(_0x53af28){_0x35b6e6['push'](_0x35b6e6['shift']());}}}(_0x40ab,0x30c52));import{FocusTracker as _0x5141bf}from'ckeditor5/src/utils.js';import{View as _0x565494,FocusCycler as _0x16a507}from'ckeditor5/src/ui.js';function _0x1ecc(_0x322043,_0x1aba44){var _0x40abb4=_0x40ab();return _0x1ecc=function(_0x1ecce4,_0xb977e7){_0x1ecce4=_0x1ecce4-0x127;var _0x1bf19d=_0x40abb4[_0x1ecce4];return _0x1bf19d;},_0x1ecc(_0x322043,_0x1aba44);}import'../../theme/uploadcare-form.css';export default class q extends _0x565494{[_0x3b5509(0x12c)];[_0x3b5509(0x134)];constructor(_0x409fb2){var _0x1c971f=_0x3b5509;super(_0x409fb2),this[_0x1c971f(0x12c)]=new _0x5141bf(),this[_0x1c971f(0x134)]=new _0x16a507({'focusables':this[_0x1c971f(0x135)](),'focusTracker':this[_0x1c971f(0x12c)]});}[_0x3b5509(0x129)](){var _0x252c29=_0x3b5509;return{'tag':_0x252c29(0x127),'attributes':{'aria-hidden':_0x252c29(0x128),'tabindex':'0'},'on':{'focus':this[_0x252c29(0x132)]['to'](()=>{var _0x58297c=_0x252c29;this[_0x58297c(0x134)][_0x58297c(0x12a)](_0x58297c(0x133));})}};}}
|