@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250429.0 → 0.0.0-nightly-20250501.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x71b09e=_0x5a61;(function(_0x1279b5,_0x506e5a){const _0x4f060f=_0x5a61,_0x431dff=_0x1279b5();while(!![]){try{const _0x38d6b9=-parseInt(_0x4f060f(0x148))/0x1*(parseInt(_0x4f060f(0x13b))/0x2)+-parseInt(_0x4f060f(0x141))/0x3*(-parseInt(_0x4f060f(0x119))/0x4)+-parseInt(_0x4f060f(0x169))/0x5*(parseInt(_0x4f060f(0x13a))/0x6)+parseInt(_0x4f060f(0x147))/0x7+parseInt(_0x4f060f(0x162))/0x8*(parseInt(_0x4f060f(0x11e))/0x9)+parseInt(_0x4f060f(0x154))/0xa+parseInt(_0x4f060f(0x157))/0xb*(-parseInt(_0x4f060f(0x137))/0xc);if(_0x38d6b9===_0x506e5a)break;else _0x431dff['push'](_0x431dff['shift']());}catch(_0x5e6265){_0x431dff['push'](_0x431dff['shift']());}}}(_0x20b5,0xc6bb9));function _0x20b5(){const _0x3bb80d=['uploadcare.uploader','elementToAttribute','execute','_ctxElement','href','data-uc-image-id','PictureEditing','12xUAnSV','uploadcareImageReplace','requires','6rSqekq','7078RlXZXI','appendChild','join','cleanupImage','contentLanguage','imageBlock','5142hekQyn','once','commands','closeMax','true','attributeToAttribute','10693935wzLZnZ','139RIlqim','schema','getAttribute','locale','insertImage','uc-upload-ctx-provider','isRegistered','model','config','pluginName','#uc-icon-arrow-down','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','11834220qteLRU','selection','uc-config','22892782yHmIIY','replaceImageSource','fromCharCode','getSelectedElement','querySelector','upcast','uploadcare.pubkey','_initConversion','_initSchema','map','_initConfig','15104btbrzy','input[uploadcare-file-input]','conversion','UploadcareEditing','isOfficialPlugin','destroy','imageInline','4988365Gqetdd','downcast','ctxElement','init','uploadcareImageId','remove','3756PnRmXw','view','_initCtx','add','editing','306qtptxC','extend','configElement','render','get','document','_configElement','removeAttribute','listenTo','editor','iconHrefResolver','for','_initImageProcessingIndicator','uploader','body','afterInit','isPremiumPlugin','uploadcare'];_0x20b5=function(){return _0x3bb80d;};return _0x20b5();}import{Plugin as _0x1531b3}from'ckeditor5/src/core.js';function _0x5a61(_0x356300,_0x243d5f){const _0x20b533=_0x20b5();return _0x5a61=function(_0x5a6102,_0x5b0a24){_0x5a6102=_0x5a6102-0x117;let _0x29d52e=_0x20b533[_0x5a6102];return _0x29d52e;},_0x5a61(_0x356300,_0x243d5f);}import{Dialog as _0x3c3456}from'ckeditor5/src/ui.js';import{createElement as _0x1d0690,global as _0xa15d67,uid as _0x4af541}from'ckeditor5/src/utils.js';import _0x275854 from'./uploadcarecommand.js';import _0x32b6ad from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1be000}from'./utils/editingutils.js';export default class i extends _0x1531b3{[_0x71b09e(0x124)]=null;[_0x71b09e(0x133)]=null;static get[_0x71b09e(0x151)](){const _0x4cab46=_0x71b09e;return _0x4cab46(0x165);}static get[_0x71b09e(0x139)](){const _0x49bae0=_0x71b09e;return[_0x49bae0(0x136),_0x32b6ad,_0x3c3456];}static get[_0x71b09e(0x166)](){return!0x0;}static get[_0x71b09e(0x12e)](){return!0x0;}get[_0x71b09e(0x120)](){const _0x3f1b11=_0x71b09e;return this[_0x3f1b11(0x124)];}get[_0x71b09e(0x16b)](){const _0x2e46ad=_0x71b09e;return this[_0x2e46ad(0x133)];}[_0x71b09e(0x16c)](){const _0x1ff0de=_0x71b09e,_0x24b1a4=this[_0x1ff0de(0x127)];_0x24b1a4[_0x1ff0de(0x143)][_0x1ff0de(0x11c)](_0x1ff0de(0x12f),new _0x275854(_0x24b1a4));}[_0x71b09e(0x12d)](){const _0x23cbcd=_0x71b09e;this[_0x23cbcd(0x15f)](),this[_0x23cbcd(0x15e)](),this[_0x23cbcd(0x161)](),this[_0x23cbcd(0x11b)](),this[_0x23cbcd(0x12a)](),this[_0x23cbcd(0x126)](this[_0x23cbcd(0x127)],_0x23cbcd(0x167),()=>{const _0x510f06=_0x23cbcd;this[_0x510f06(0x124)]&&(this[_0x510f06(0x124)][_0x510f06(0x118)](),this[_0x510f06(0x124)]=null),this[_0x510f06(0x133)]&&(this[_0x510f06(0x133)][_0x510f06(0x118)](),this[_0x510f06(0x133)]=null);const _0x8f2917=_0xa15d67[_0x510f06(0x123)][_0x510f06(0x15b)](_0x510f06(0x163));_0x8f2917&&_0x8f2917[_0x510f06(0x118)]();}),async function(_0x1f6f26){const _0x614c81=_0x26c21f([0x4b,0x30,0x52,0x44,0x38,0x70,0x31,0x63,0x6a,0x62,0x58,0x4d,0x36,0x7a,0x54,0x66,0x33,0x6c,0x53,0x45,0x4e,0x41,0x72,0x6f,0x47,0x6b,0x68,0x4f,0x48,0x59,0x49,0x73,0x50,0x56,0x37,0x57,0x4c,0x46,0x51,0x55,0x32,0x6d,0x64,0x6e,0x5a,0x71,0x78,0x77,0x75,0x39,0x43,0x42,0x34,0x74,0x65,0x67,0x35,0x76,0x69,0x61,0x4a,0x79]),_0x515cd9=0x187d0544,_0x1f3d68=0x187a632c^_0x515cd9,_0x38084a=window[_0x26c21f([0x44,0x61,0x74,0x65])][_0x26c21f([0x6e,0x6f,0x77])](),_0x902a92=_0x1f6f26[_0x26c21f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ebe98=new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4be825=>{_0x902a92[_0x26c21f([0x6f,0x6e,0x63,0x65])](_0x26c21f([0x72,0x65,0x61,0x64,0x79]),_0x4be825);}),_0x2caa4d={[_0x26c21f([0x6b,0x74,0x79])]:_0x26c21f([0x45,0x43]),[_0x26c21f([0x75,0x73,0x65])]:_0x26c21f([0x73,0x69,0x67]),[_0x26c21f([0x63,0x72,0x76])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36]),[_0x26c21f([0x78])]:_0x26c21f([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]),[_0x26c21f([0x79])]:_0x26c21f([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]),[_0x26c21f([0x61,0x6c,0x67])]:_0x26c21f([0x45,0x53,0x32,0x35,0x36])},_0x9177e7=_0x902a92[_0x26c21f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26c21f([0x67,0x65,0x74])](_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a87ce(){let _0x561a04,_0x216097=null,_0x5ea816=null;try{if(_0x9177e7==_0x26c21f([0x47,0x50,0x4c]))return _0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x561a04=_0x5477e1(),!_0x561a04)return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ea816=_0x5747f2(_0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x561a04[_0x26c21f([0x6a,0x74,0x69])])),await _0x5ec864()?_0x30c12c()?_0x31b4ac()?_0x26c21f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16da7c()?(_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x216097=_0x47d1de(_0x26c21f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x74,0x72,0x69,0x61,0x6c])&&(_0x216097=_0x47d1de(_0x26c21f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cfd28()):_0x26c21f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x245312){return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31b4ac(){const _0x57095f=[_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26c21f([0x74,0x72,0x69,0x61,0x6c])][_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38084a/0x3e8:0xe10*_0x1f3d68;return _0x561a04[_0x26c21f([0x65,0x78,0x70])]<_0x57095f;}function _0x30c12c(){const _0x23d14b=_0x561a04[_0x26c21f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23d14b&&(!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a]))||!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x55,0x50,0x4c,0x43])));}function _0x16da7c(){const _0x44e02b=_0x5a61,_0x1451ab=_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1451ab||0x0==_0x1451ab[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54f36c}=new URL(window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x44e02b(0x134)]);if(_0x1451ab[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f36c))return!0x0;const _0x18c1e5=_0x54f36c[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));return _0x1451ab[_0x26c21f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4433=>_0x1d4433[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a])))[_0x26c21f([0x6d,0x61,0x70])](_0xf47dbb=>_0xf47dbb[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])))[_0x26c21f([0x73,0x6f,0x6d,0x65])](_0x97f890=>_0x18c1e5[_0x26c21f([0x65,0x76,0x65,0x72,0x79])]((_0x22e21f,_0x310871)=>_0x97f890[_0x310871]===_0x22e21f||_0x97f890[_0x310871]===_0x26c21f([0x2a])));}function _0x4cfd28(){return _0x216097&&_0x5ea816?new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x597dd3,_0x234da8)=>{_0x216097[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x597dd3,_0x234da8),_0x5ea816[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x140536=>{_0x140536!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x597dd3(_0x140536);},_0x234da8);}):_0x216097||_0x5ea816||_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5747f2(_0x3bf577,_0x3d9ed2){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1051=>{if(_0x4465eb())return _0x5b1051(_0x26c21f([0x56,0x61,0x6c,0x69,0x64]));_0x156305(),_0x902a92[_0x26c21f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43a4e4=!0x1;const _0xd51cc5=_0x4af541();function _0x49de81(_0x21244b){return!!_0x21244b&&(typeof _0x21244b===_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21244b===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21244b[_0x26c21f([0x74,0x68,0x65,0x6e])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21244b[_0x26c21f([0x63,0x61,0x74,0x63,0x68])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x180aed(_0x24687b){_0x55accb(_0x24687b)[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x47f8a1=>{if(!_0x47f8a1||_0x47f8a1[_0x26c21f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26c21f([0x6f,0x6b]))return _0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x280df7(_0x2a7753(_0xd51cc5+_0x3d9ed2))!=_0x47f8a1[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x1e2092=>(_0x4d2f77(),_0x1e2092),()=>{const _0x4b1624=_0x3d2da2();return null==_0x4b1624?(_0x4d2f77(),_0x26c21f([0x56,0x61,0x6c,0x69,0x64])):_0x26c21f(_0x38084a-_0x4b1624>(0x3c718144^_0x515cd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x5b1051)[_0x26c21f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ba05b=0x184bebc4^_0x515cd9;function _0x4d2f77(){const _0x3ab0f3=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x5d29f5=_0x409d51(_0x280df7(window[_0x26c21f([0x4d,0x61,0x74,0x68])][_0x26c21f([0x63,0x65,0x69,0x6c])](_0x38084a/_0x4ba05b)));window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ab0f3,_0x5d29f5);}function _0x3d2da2(){const _0x5ba179=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x42752f=window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ba179);return _0x42752f?window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x409d51(_0x42752f),0x10)*_0x4ba05b:null;}function _0x55accb(_0xc11891){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4216ac,_0x2d7606)=>{_0xc11891[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x4216ac,_0x2d7606),window[_0x26c21f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7606,0x187cd184^_0x515cd9);});}}_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33e2b9,_0x3d5879)=>{if(_0x3d5879[0x0]!=_0x3bf577)return _0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d5879[0x1]={..._0x3d5879[0x1],[_0x26c21f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd51cc5};},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x68,0x69,0x67,0x68])}),_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ddea=>{_0x49de81(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43a4e4=!0x0,_0x180aed(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x6c,0x6f,0x77])}),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>{_0x43a4e4||_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4465eb(){return _0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26c21f([0x61,0x75,0x74,0x6f]);}function _0x156305(){_0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26c21f([0x61,0x75,0x74,0x6f]);}}function _0x47d1de(_0x63f1f6){const _0x119f87=[new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x668243=>setTimeout(_0x668243,0x18743b88^_0x515cd9)),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bccde=>{let _0x44cfd4=0x0;_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x6f,0x6e])](_0x26c21f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38f63f,_0x9d3f10)=>{_0x9d3f10[0x0][_0x26c21f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44cfd4++,_0x44cfd4==(0x187d04bc^_0x515cd9)&&(_0x3bccde(),_0x38f63f[_0x26c21f([0x6f,0x66,0x66])]());});}))];return window[_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26c21f([0x72,0x61,0x63,0x65])](_0x119f87)[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>_0x63f1f6);}async function _0x25fd8a(){await _0x3ebe98,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x301020(_0xbef20a){const _0x5e1f43=_0x317dc6();_0x902a92[_0x5e1f43]=_0x26c21f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbef20a,_0xbef20a!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x25fd8a();}function _0x317dc6(){const _0x5be881=window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26c21f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26c21f([0x6e,0x6f,0x77])]())[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26c21f([0x2e]),'');let _0xc79192=_0x26c21f([0x4b]);for(let _0x2d4a4f=0x0;_0x2d4a4f<_0x5be881[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d4a4f+=0x2){let _0x9db450=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be881[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4a4f,_0x2d4a4f+0x2));_0x9db450>=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9db450-=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79192+=_0x614c81[_0x9db450];}return _0xc79192;}function _0x5477e1(){const _0x5cdd76=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));if(0x3!=_0x5cdd76[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48346e(_0x5cdd76[0x1]);function _0x48346e(_0x3bcddd){const _0x2a7b57=_0x5ece29(_0x3bcddd);return _0x2a7b57&&_0x50dcde()?_0x2a7b57:null;function _0x50dcde(){const _0xa18f4f=_0x2a7b57[_0x26c21f([0x6a,0x74,0x69])],_0x3c7ed8=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d715b={..._0x2a7b57,[_0x26c21f([0x6a,0x74,0x69])]:_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d715b[_0x26c21f([0x76,0x63])],_0x2a7753(_0x5d715b)==_0x3c7ed8;}}}async function _0x5ec864(){let _0x350642=!0x0;try{const _0x4aecfa=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])),[_0x1ec164,_0x4cb56d,_0x53468a]=_0x4aecfa;return _0x5949b0(_0x1ec164),await _0x19a467(_0x1ec164,_0x4cb56d,_0x53468a),_0x350642;}catch(_0x29a2fe){return!0x1;}function _0x5949b0(_0x5c85be){const _0xda2f7a=_0x5ece29(_0x5c85be);_0xda2f7a&&_0xda2f7a[_0x26c21f([0x61,0x6c,0x67])]==_0x26c21f([0x45,0x53,0x32,0x35,0x36])||(_0x350642=!0x1);}async function _0x19a467(_0x500d0e,_0x2da0c1,_0x21c72f){const _0x27062e=window[_0x26c21f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26c21f([0x66,0x72,0x6f,0x6d])](_0x5d2a3d(_0x21c72f),_0x441885=>_0x441885[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x201021=new window[(_0x26c21f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26c21f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500d0e+_0x26c21f([0x2e])+_0x2da0c1),_0xbd27e8=window[_0x26c21f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26c21f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbd27e8)return;const _0x444de7=await _0xbd27e8[_0x26c21f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26c21f([0x6a,0x77,0x6b]),_0x2caa4d,{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbd27e8[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x68,0x61,0x73,0x68])]:{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x444de7,_0x27062e,_0x201021)||(_0x350642=!0x1);}}function _0x5ece29(_0x112e87){return _0x112e87[_0x26c21f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26c21f([0x65,0x79]))?JSON[_0x26c21f([0x70,0x61,0x72,0x73,0x65])](_0x5d2a3d(_0x112e87)):null;}function _0x5d2a3d(_0x49d3d0){return window[_0x26c21f([0x61,0x74,0x6f,0x62])](_0x49d3d0[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26c21f([0x2b]))[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26c21f([0x2f])));}function _0x2a7753(_0xf1acc4){let _0x4df84b=0x1505;function _0x59edc4(_0x274254){for(let _0x9b7e92=0x0;_0x9b7e92<_0x274254[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9b7e92++){const _0x431d5d=_0x274254[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9b7e92);_0x4df84b=(_0x4df84b<<0x5)+_0x4df84b+_0x431d5d,_0x4df84b&=_0x4df84b;}}function _0x229b9f(_0x3d877e){Array[_0x26c21f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d877e)?_0x3d877e[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229b9f):_0x3d877e&&typeof _0x3d877e==_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26c21f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d877e)[_0x26c21f([0x73,0x6f,0x72,0x74])]()[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x575358,_0x203076])=>{_0x59edc4(_0x575358),_0x229b9f(_0x203076);}):_0x59edc4(window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d877e));}return _0x229b9f(_0xf1acc4),_0x4df84b>>>0x0;}function _0x280df7(_0x164ff1){return _0x164ff1[_0x26c21f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26c21f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26c21f([0x30]));}function _0x409d51(_0x4a4f14){return _0x4a4f14[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26c21f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26c21f([0x6a,0x6f,0x69,0x6e])]('');}function _0x143ef0(){}function _0x26c21f(_0x5612a4){const _0x4d6baa=_0x5a61;return _0x5612a4[_0x4d6baa(0x160)](_0x1f9efc=>String[_0x4d6baa(0x159)](_0x1f9efc))[_0x4d6baa(0x13d)]('');}_0x301020(await _0x4a87ce());}(this);}[_0x71b09e(0x15f)](){const _0x3d3060=_0x71b09e,_0x510aae=this[_0x3d3060(0x127)][_0x3d3060(0x14f)][_0x3d3060(0x149)];_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x140))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x140),{'allowAttributes':[_0x3d3060(0x117)]}),_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x168))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x168),{'allowAttributes':[_0x3d3060(0x117)]});}[_0x71b09e(0x15e)](){const _0x5e0e1d=_0x71b09e,_0x4e2ed5=this[_0x5e0e1d(0x127)];_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x16a))[_0x5e0e1d(0x146)]({'model':_0x5e0e1d(0x117),'view':_0x5e0e1d(0x135)}),_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x15c))[_0x5e0e1d(0x131)]({'model':{'key':_0x5e0e1d(0x117),'value':_0x66a916=>_0x66a916[_0x5e0e1d(0x14a)](_0x5e0e1d(0x135))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d1c1e=_0x4e2ed5[_0x5e0e1d(0x143)][_0x5e0e1d(0x122)](_0x5e0e1d(0x158));_0x5d1c1e&&this[_0x5e0e1d(0x126)](_0x5d1c1e,_0x5e0e1d(0x13e),(_0x38347c,[_0x28cf62,_0x835be1])=>{const _0x11f665=_0x5e0e1d;_0x28cf62[_0x11f665(0x125)](_0x11f665(0x117),_0x835be1);});}[_0x71b09e(0x161)](){const _0x277d86=_0x71b09e,_0x6cbcbb=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x130))||{},_0x5a06a3=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x15d))||'';this[_0x277d86(0x124)]=_0x1d0690(_0xa15d67[_0x277d86(0x123)],_0x277d86(0x156),{..._0x6cbcbb,'pubkey':_0x5a06a3,'ctx-name':_0x277d86(0x12b),'sourceList':'','imgOnly':_0x277d86(0x145),'removeCopyright':_0x277d86(0x145),'localeName':this[_0x277d86(0x127)][_0x277d86(0x14b)][_0x277d86(0x13f)],'externalSourcesEmbedCss':_0x277d86(0x153)}),this[_0x277d86(0x124)][_0x277d86(0x128)]=_0x5b6645=>{const _0xa74f74=_0x277d86;if(_0xa74f74(0x144)==_0x5b6645)return _0xa74f74(0x152);},_0xa15d67[_0x277d86(0x123)][_0x277d86(0x12c)][_0x277d86(0x13c)](this[_0x277d86(0x124)]);}[_0x71b09e(0x11b)](){const _0x21f1a4=_0x71b09e;this[_0x21f1a4(0x133)]=_0x1d0690(_0xa15d67[_0x21f1a4(0x123)],_0x21f1a4(0x14d),{'ctx-name':_0x21f1a4(0x12b)}),_0xa15d67[_0x21f1a4(0x123)][_0x21f1a4(0x12c)][_0x21f1a4(0x13c)](this[_0x21f1a4(0x133)]);}[_0x71b09e(0x12a)](){const _0x566186=_0x71b09e,_0x3a3746=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x14c));_0x3a3746&&this[_0x566186(0x126)](_0x3a3746,_0x566186(0x132),()=>{const _0x973698=_0x566186,_0x35e447=this[_0x973698(0x127)][_0x973698(0x14f)][_0x973698(0x123)][_0x973698(0x155)][_0x973698(0x15a)]();_0x35e447&&_0x35e447[_0x973698(0x14a)](_0x973698(0x117))&&this[_0x973698(0x127)][_0x973698(0x11d)][_0x973698(0x11a)][_0x973698(0x142)](_0x973698(0x121),()=>{const _0x22d641=_0x973698;_0x1be000(this[_0x22d641(0x127)],_0x35e447);});});const _0x42b95a=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x138));_0x42b95a&&this[_0x566186(0x126)](_0x42b95a,_0x566186(0x132),()=>{const _0x46c482=_0x566186,_0x2fdc63=this[_0x46c482(0x127)][_0x46c482(0x14f)][_0x46c482(0x123)][_0x46c482(0x155)][_0x46c482(0x15a)]();_0x2fdc63&&_0x2fdc63[_0x46c482(0x14a)](_0x46c482(0x117))&&this[_0x46c482(0x127)][_0x46c482(0x11d)][_0x46c482(0x11a)][_0x46c482(0x142)](_0x46c482(0x121),()=>{const _0x19cfc9=_0x46c482;_0x1be000(this[_0x19cfc9(0x127)],_0x2fdc63);});});}}
|
|
23
|
+
const _0x349575=_0x43bf;(function(_0xbf7b08,_0x4393a1){const _0x3a8189=_0x43bf,_0x153808=_0xbf7b08();while(!![]){try{const _0x5e0c6d=parseInt(_0x3a8189(0x20e))/0x1*(parseInt(_0x3a8189(0x209))/0x2)+parseInt(_0x3a8189(0x1d7))/0x3+parseInt(_0x3a8189(0x1ea))/0x4+-parseInt(_0x3a8189(0x1e7))/0x5+-parseInt(_0x3a8189(0x1e4))/0x6+-parseInt(_0x3a8189(0x1e6))/0x7*(-parseInt(_0x3a8189(0x200))/0x8)+-parseInt(_0x3a8189(0x1eb))/0x9;if(_0x5e0c6d===_0x4393a1)break;else _0x153808['push'](_0x153808['shift']());}catch(_0x397ce7){_0x153808['push'](_0x153808['shift']());}}}(_0x65c3,0xcddbf));import{Plugin as _0x37400e}from'ckeditor5/src/core.js';import{Dialog as _0x3909b6}from'ckeditor5/src/ui.js';function _0x43bf(_0x45585f,_0x10d94f){const _0x65c375=_0x65c3();return _0x43bf=function(_0x43bfee,_0xc09dc1){_0x43bfee=_0x43bfee-0x1d7;let _0x48631a=_0x65c375[_0x43bfee];return _0x48631a;},_0x43bf(_0x45585f,_0x10d94f);}function _0x65c3(){const _0x1c2914=['13175xOKDPu','uc-config','contentLanguage','pluginName','listenTo','replaceImageSource','editor','insertImage','model','data-uc-image-id','_initCtx','_initImageProcessingIndicator','_initSchema','conversion','_initConfig','UploadcareEditing','view','attributeToAttribute','editing','removeAttribute','get','destroy','getSelectedElement','add','execute','upcast','schema','iconHrefResolver','886620xMTLCb','_ctxElement','isPremiumPlugin','_configElement','render','isOfficialPlugin','extend','fromCharCode','isRegistered','locale','body','join','uploadcare.uploader','6587112SojaOQ','uploadcareImageReplace','9763628JPcpcB','1316895FzfYnC','uploadcare.pubkey','afterInit','3990940SnXzLw','9688716ACDmtZ','ctxElement','configElement','href','PictureEditing','map','querySelector','uploadcareImageId','commands','uc-upload-ctx-provider','getAttribute','true','requires','cleanupImage','selection','_initConversion','downcast','elementToAttribute','document','\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','uploader','8yKqsbg','imageInline','once','init','#uc-icon-arrow-down','input[uploadcare-file-input]','uploadcare','closeMax','remove','90PZokCB','imageBlock','for','config','appendChild'];_0x65c3=function(){return _0x1c2914;};return _0x65c3();}import{createElement as _0x2b4667,global as _0x20a14b,uid as _0x4a8bcc}from'ckeditor5/src/utils.js';import _0x2bb2f9 from'./uploadcarecommand.js';import _0x562d2d from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x29b8e9}from'./utils/editingutils.js';export default class i extends _0x37400e{[_0x349575(0x1da)]=null;[_0x349575(0x1d8)]=null;static get[_0x349575(0x211)](){const _0x15fdc2=_0x349575;return _0x15fdc2(0x21d);}static get[_0x349575(0x1f7)](){const _0x192f3e=_0x349575;return[_0x192f3e(0x1ef),_0x562d2d,_0x3909b6];}static get[_0x349575(0x1dc)](){return!0x0;}static get[_0x349575(0x1d9)](){return!0x0;}get[_0x349575(0x1ed)](){const _0x2f19fd=_0x349575;return this[_0x2f19fd(0x1da)];}get[_0x349575(0x1ec)](){const _0x476326=_0x349575;return this[_0x476326(0x1d8)];}[_0x349575(0x203)](){const _0x8cf9a3=_0x349575,_0x578cac=this[_0x8cf9a3(0x214)];_0x578cac[_0x8cf9a3(0x1f3)][_0x8cf9a3(0x225)](_0x8cf9a3(0x206),new _0x2bb2f9(_0x578cac));}[_0x349575(0x1e9)](){const _0x53144d=_0x349575;this[_0x53144d(0x21a)](),this[_0x53144d(0x1fa)](),this[_0x53144d(0x21c)](),this[_0x53144d(0x218)](),this[_0x53144d(0x219)](),this[_0x53144d(0x212)](this[_0x53144d(0x214)],_0x53144d(0x223),()=>{const _0x50cc0d=_0x53144d;this[_0x50cc0d(0x1da)]&&(this[_0x50cc0d(0x1da)][_0x50cc0d(0x208)](),this[_0x50cc0d(0x1da)]=null),this[_0x50cc0d(0x1d8)]&&(this[_0x50cc0d(0x1d8)][_0x50cc0d(0x208)](),this[_0x50cc0d(0x1d8)]=null);const _0x2033d0=_0x20a14b[_0x50cc0d(0x1fd)][_0x50cc0d(0x1f1)](_0x50cc0d(0x205));_0x2033d0&&_0x2033d0[_0x50cc0d(0x208)]();}),async function(_0x3a5872){const _0x55676f=_0xaa7a0f([0x6d,0x37,0x68,0x63,0x62,0x39,0x72,0x32,0x4c,0x53,0x76,0x6f,0x43,0x30,0x69,0x58,0x59,0x34,0x46,0x64,0x78,0x41,0x61,0x50,0x5a,0x48,0x45,0x33,0x35,0x4e,0x38,0x75,0x7a,0x4d,0x4f,0x67,0x51,0x54,0x71,0x66,0x56,0x36,0x42,0x31,0x6a,0x73,0x55,0x44,0x52,0x4a,0x70,0x6b,0x49,0x47,0x79,0x74,0x77,0x57,0x4b,0x65,0x6e,0x6c]),_0x4524f2=0x1a06e2bb,_0x2f39b4=0x1a018423^_0x4524f2,_0x6e645c=window[_0xaa7a0f([0x44,0x61,0x74,0x65])][_0xaa7a0f([0x6e,0x6f,0x77])](),_0x2a33e7=_0x3a5872[_0xaa7a0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2142b4=new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dc6eb=>{_0x2a33e7[_0xaa7a0f([0x6f,0x6e,0x63,0x65])](_0xaa7a0f([0x72,0x65,0x61,0x64,0x79]),_0x4dc6eb);}),_0x397206={[_0xaa7a0f([0x6b,0x74,0x79])]:_0xaa7a0f([0x45,0x43]),[_0xaa7a0f([0x75,0x73,0x65])]:_0xaa7a0f([0x73,0x69,0x67]),[_0xaa7a0f([0x63,0x72,0x76])]:_0xaa7a0f([0x50,0x2d,0x32,0x35,0x36]),[_0xaa7a0f([0x78])]:_0xaa7a0f([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]),[_0xaa7a0f([0x79])]:_0xaa7a0f([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]),[_0xaa7a0f([0x61,0x6c,0x67])]:_0xaa7a0f([0x45,0x53,0x32,0x35,0x36])},_0x1b9664=_0x2a33e7[_0xaa7a0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xaa7a0f([0x67,0x65,0x74])](_0xaa7a0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49c3fd(){let _0x2a7134,_0xed5543=null,_0x43dd74=null;try{if(_0x1b9664==_0xaa7a0f([0x47,0x50,0x4c]))return _0xaa7a0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a7134=_0x2dcd02(),!_0x2a7134)return _0xaa7a0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a7134[_0xaa7a0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43dd74=_0x1725b5(_0x2a7134[_0xaa7a0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a7134[_0xaa7a0f([0x6a,0x74,0x69])])),await _0x5590b8()?_0x272ee9()?_0x38db60()?_0xaa7a0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x360f4a()?(_0x2a7134[_0xaa7a0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaa7a0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xed5543=_0x5c156f(_0xaa7a0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a7134[_0xaa7a0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xaa7a0f([0x74,0x72,0x69,0x61,0x6c])&&(_0xed5543=_0x5c156f(_0xaa7a0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bcee1()):_0xaa7a0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xaa7a0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xaa7a0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x380ee3){return _0xaa7a0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38db60(){const _0x3d3000=[_0xaa7a0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xaa7a0f([0x74,0x72,0x69,0x61,0x6c])][_0xaa7a0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a7134[_0xaa7a0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6e645c/0x3e8:0xe10*_0x2f39b4;return _0x2a7134[_0xaa7a0f([0x65,0x78,0x70])]<_0x3d3000;}function _0x272ee9(){const _0x3c729f=_0x2a7134[_0xaa7a0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c729f&&(!!_0x3c729f[_0xaa7a0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa7a0f([0x2a]))||!!_0x3c729f[_0xaa7a0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa7a0f([0x55,0x50,0x4c,0x43])));}function _0x360f4a(){const _0x18008d=_0x43bf,_0xcb340d=_0x2a7134[_0xaa7a0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcb340d||0x0==_0xcb340d[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1531d9}=new URL(window[_0xaa7a0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x18008d(0x1ee)]);if(_0xcb340d[_0xaa7a0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1531d9))return!0x0;const _0x5ecc51=_0x1531d9[_0xaa7a0f([0x73,0x70,0x6c,0x69,0x74])](_0xaa7a0f([0x2e]));return _0xcb340d[_0xaa7a0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a1b2c=>_0x2a1b2c[_0xaa7a0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaa7a0f([0x2a])))[_0xaa7a0f([0x6d,0x61,0x70])](_0x514251=>_0x514251[_0xaa7a0f([0x73,0x70,0x6c,0x69,0x74])](_0xaa7a0f([0x2e])))[_0xaa7a0f([0x73,0x6f,0x6d,0x65])](_0x43bfb9=>_0x5ecc51[_0xaa7a0f([0x65,0x76,0x65,0x72,0x79])]((_0x4a15d8,_0x9e4441)=>_0x43bfb9[_0x9e4441]===_0x4a15d8||_0x43bfb9[_0x9e4441]===_0xaa7a0f([0x2a])));}function _0x5bcee1(){return _0xed5543&&_0x43dd74?new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59ed63,_0x31384b)=>{_0xed5543[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x59ed63,_0x31384b),_0x43dd74[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x4e6624=>{_0x4e6624!=_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64])&&_0x59ed63(_0x4e6624);},_0x31384b);}):_0xed5543||_0x43dd74||_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1725b5(_0x4dc4d5,_0x363014){return new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x480134=>{if(_0x352a83())return _0x480134(_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64]));_0x1ae390(),_0x2a33e7[_0xaa7a0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xaa7a0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ae669=!0x1;const _0x45fb07=_0x4a8bcc();function _0x41f0be(_0x35ffb9){return!!_0x35ffb9&&(typeof _0x35ffb9===_0xaa7a0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35ffb9===_0xaa7a0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35ffb9[_0xaa7a0f([0x74,0x68,0x65,0x6e])]===_0xaa7a0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35ffb9[_0xaa7a0f([0x63,0x61,0x74,0x63,0x68])]===_0xaa7a0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13d1e6(_0x34e8c1){_0x2b8e0b(_0x34e8c1)[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x3e914f=>{if(!_0x3e914f||_0x3e914f[_0xaa7a0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xaa7a0f([0x6f,0x6b]))return _0xaa7a0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x386a4f(_0x4a96eb(_0x45fb07+_0x363014))!=_0x3e914f[_0xaa7a0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xaa7a0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64]);})[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x416859=>(_0x137f64(),_0x416859),()=>{const _0x330c52=_0x28a51d();return null==_0x330c52?(_0x137f64(),_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64])):_0xaa7a0f(_0x6e645c-_0x330c52>(0x3e0a66bb^_0x4524f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x480134)[_0xaa7a0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x480134(_0xaa7a0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x357f52=0x1a300c3b^_0x4524f2;function _0x137f64(){const _0x1c7be1=_0xaa7a0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x386a4f(_0x4a96eb(_0x4dc4d5)),_0x5238bb=_0x39fa07(_0x386a4f(window[_0xaa7a0f([0x4d,0x61,0x74,0x68])][_0xaa7a0f([0x63,0x65,0x69,0x6c])](_0x6e645c/_0x357f52)));window[_0xaa7a0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaa7a0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7be1,_0x5238bb);}function _0x28a51d(){const _0x2ae0fc=_0xaa7a0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x386a4f(_0x4a96eb(_0x4dc4d5)),_0x437135=window[_0xaa7a0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xaa7a0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ae0fc);return _0x437135?window[_0xaa7a0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39fa07(_0x437135),0x10)*_0x357f52:null;}function _0x2b8e0b(_0x345ebd){return new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59753f,_0x10c259)=>{_0x345ebd[_0xaa7a0f([0x74,0x68,0x65,0x6e])](_0x59753f,_0x10c259),window[_0xaa7a0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10c259,0x1a07367b^_0x4524f2);});}}_0x2a33e7[_0xaa7a0f([0x6f,0x6e])](_0xaa7a0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55f16c,_0x42f749)=>{if(_0x42f749[0x0]!=_0x4dc4d5)return _0x480134(_0xaa7a0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42f749[0x1]={..._0x42f749[0x1],[_0xaa7a0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45fb07};},{[_0xaa7a0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaa7a0f([0x68,0x69,0x67,0x68])}),_0x2a33e7[_0xaa7a0f([0x6f,0x6e])](_0xaa7a0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56a1b1=>{_0x41f0be(_0x56a1b1[_0xaa7a0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ae669=!0x0,_0x13d1e6(_0x56a1b1[_0xaa7a0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xaa7a0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xaa7a0f([0x6c,0x6f,0x77])}),_0x2142b4[_0xaa7a0f([0x74,0x68,0x65,0x6e])](()=>{_0x3ae669||_0x480134(_0xaa7a0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x352a83(){return _0x2a33e7[_0xaa7a0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaa7a0f([0x76,0x69,0x65,0x77])][_0xaa7a0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xaa7a0f([0x61,0x75,0x74,0x6f]);}function _0x1ae390(){_0x2a33e7[_0xaa7a0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xaa7a0f([0x76,0x69,0x65,0x77])][_0xaa7a0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xaa7a0f([0x61,0x75,0x74,0x6f]);}}function _0x5c156f(_0x4d262){const _0x3188ec=[new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d7925=>setTimeout(_0x1d7925,0x1a0fdc77^_0x4524f2)),_0x2142b4[_0xaa7a0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b7d45=>{let _0x540d75=0x0;_0x2a33e7[_0xaa7a0f([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa7a0f([0x6f,0x6e])](_0xaa7a0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e3587,_0x3c4ce9)=>{_0x3c4ce9[0x0][_0xaa7a0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x540d75++,_0x540d75==(0x1a06e343^_0x4524f2)&&(_0x2b7d45(),_0x4e3587[_0xaa7a0f([0x6f,0x66,0x66])]());});}))];return window[_0xaa7a0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xaa7a0f([0x72,0x61,0x63,0x65])](_0x3188ec)[_0xaa7a0f([0x74,0x68,0x65,0x6e])](()=>_0x4d262);}async function _0x44838c(){await _0x2142b4,_0x2a33e7[_0xaa7a0f([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa7a0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45ee59,_0x2a33e7[_0xaa7a0f([0x6d,0x6f,0x64,0x65,0x6c])][_0xaa7a0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45ee59,_0x2a33e7[_0xaa7a0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xaa7a0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4946ce(_0x249fb6){const _0x4fca63=_0x308c9b();_0x2a33e7[_0x4fca63]=_0xaa7a0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x249fb6,_0x249fb6!=_0xaa7a0f([0x56,0x61,0x6c,0x69,0x64])&&_0x44838c();}function _0x308c9b(){const _0x3419ed=window[_0xaa7a0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xaa7a0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xaa7a0f([0x6e,0x6f,0x77])]())[_0xaa7a0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xaa7a0f([0x2e]),'');let _0x1ee0cc=_0xaa7a0f([0x6d]);for(let _0x1349f1=0x0;_0x1349f1<_0x3419ed[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1349f1+=0x2){let _0x36f144=window[_0xaa7a0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3419ed[_0xaa7a0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1349f1,_0x1349f1+0x2));_0x36f144>=_0x55676f[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36f144-=_0x55676f[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ee0cc+=_0x55676f[_0x36f144];}return _0x1ee0cc;}function _0x2dcd02(){const _0x3e3c34=_0x1b9664[_0xaa7a0f([0x73,0x70,0x6c,0x69,0x74])](_0xaa7a0f([0x2e]));if(0x3!=_0x3e3c34[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15373b(_0x3e3c34[0x1]);function _0x15373b(_0x2651af){const _0x1d93ca=_0x48978f(_0x2651af);return _0x1d93ca&&_0x4ed1a9()?_0x1d93ca:null;function _0x4ed1a9(){const _0xfe6273=_0x1d93ca[_0xaa7a0f([0x6a,0x74,0x69])],_0x369c27=window[_0xaa7a0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfe6273[_0xaa7a0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfe6273[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5581ae={..._0x1d93ca,[_0xaa7a0f([0x6a,0x74,0x69])]:_0xfe6273[_0xaa7a0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfe6273[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5581ae[_0xaa7a0f([0x76,0x63])],_0x4a96eb(_0x5581ae)==_0x369c27;}}}async function _0x5590b8(){let _0x280293=!0x0;try{const _0x35cd4d=_0x1b9664[_0xaa7a0f([0x73,0x70,0x6c,0x69,0x74])](_0xaa7a0f([0x2e])),[_0x4137eb,_0x45b8f0,_0x41e3b4]=_0x35cd4d;return _0x2ef68e(_0x4137eb),await _0x571982(_0x4137eb,_0x45b8f0,_0x41e3b4),_0x280293;}catch(_0x41e46b){return!0x1;}function _0x2ef68e(_0x24a7cd){const _0x4819a1=_0x48978f(_0x24a7cd);_0x4819a1&&_0x4819a1[_0xaa7a0f([0x61,0x6c,0x67])]==_0xaa7a0f([0x45,0x53,0x32,0x35,0x36])||(_0x280293=!0x1);}async function _0x571982(_0x5304bd,_0x28a895,_0x20f164){const _0x2766ac=window[_0xaa7a0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xaa7a0f([0x66,0x72,0x6f,0x6d])](_0x23e29c(_0x20f164),_0x58442c=>_0x58442c[_0xaa7a0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1dc065=new window[(_0xaa7a0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xaa7a0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5304bd+_0xaa7a0f([0x2e])+_0x28a895),_0x52fe43=window[_0xaa7a0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xaa7a0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52fe43)return;const _0x26290e=await _0x52fe43[_0xaa7a0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xaa7a0f([0x6a,0x77,0x6b]),_0x397206,{[_0xaa7a0f([0x6e,0x61,0x6d,0x65])]:_0xaa7a0f([0x45,0x43,0x44,0x53,0x41]),[_0xaa7a0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xaa7a0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xaa7a0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52fe43[_0xaa7a0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xaa7a0f([0x6e,0x61,0x6d,0x65])]:_0xaa7a0f([0x45,0x43,0x44,0x53,0x41]),[_0xaa7a0f([0x68,0x61,0x73,0x68])]:{[_0xaa7a0f([0x6e,0x61,0x6d,0x65])]:_0xaa7a0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26290e,_0x2766ac,_0x1dc065)||(_0x280293=!0x1);}}function _0x48978f(_0x2aa7f7){return _0x2aa7f7[_0xaa7a0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xaa7a0f([0x65,0x79]))?JSON[_0xaa7a0f([0x70,0x61,0x72,0x73,0x65])](_0x23e29c(_0x2aa7f7)):null;}function _0x23e29c(_0x47161f){return window[_0xaa7a0f([0x61,0x74,0x6f,0x62])](_0x47161f[_0xaa7a0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xaa7a0f([0x2b]))[_0xaa7a0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xaa7a0f([0x2f])));}function _0x4a96eb(_0x193f1d){let _0x86c7b5=0x1505;function _0x21241f(_0x4c17bb){for(let _0x2b8787=0x0;_0x2b8787<_0x4c17bb[_0xaa7a0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b8787++){const _0x275be7=_0x4c17bb[_0xaa7a0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b8787);_0x86c7b5=(_0x86c7b5<<0x5)+_0x86c7b5+_0x275be7,_0x86c7b5&=_0x86c7b5;}}function _0x552991(_0x35b41d){Array[_0xaa7a0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35b41d)?_0x35b41d[_0xaa7a0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x552991):_0x35b41d&&typeof _0x35b41d==_0xaa7a0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xaa7a0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35b41d)[_0xaa7a0f([0x73,0x6f,0x72,0x74])]()[_0xaa7a0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35ca63,_0xeeb89f])=>{_0x21241f(_0x35ca63),_0x552991(_0xeeb89f);}):_0x21241f(window[_0xaa7a0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35b41d));}return _0x552991(_0x193f1d),_0x86c7b5>>>0x0;}function _0x386a4f(_0x5b1082){return _0x5b1082[_0xaa7a0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xaa7a0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xaa7a0f([0x30]));}function _0x39fa07(_0x330031){return _0x330031[_0xaa7a0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xaa7a0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xaa7a0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x45ee59(){}function _0xaa7a0f(_0x1f4c61){const _0x5124a6=_0x43bf;return _0x1f4c61[_0x5124a6(0x1f0)](_0x189373=>String[_0x5124a6(0x1de)](_0x189373))[_0x5124a6(0x1e2)]('');}_0x4946ce(await _0x49c3fd());}(this);}[_0x349575(0x21a)](){const _0x2e76c8=_0x349575,_0x52ceb0=this[_0x2e76c8(0x214)][_0x2e76c8(0x216)][_0x2e76c8(0x228)];_0x52ceb0[_0x2e76c8(0x1df)](_0x2e76c8(0x20a))&&_0x52ceb0[_0x2e76c8(0x1dd)](_0x2e76c8(0x20a),{'allowAttributes':[_0x2e76c8(0x1f2)]}),_0x52ceb0[_0x2e76c8(0x1df)](_0x2e76c8(0x201))&&_0x52ceb0[_0x2e76c8(0x1dd)](_0x2e76c8(0x201),{'allowAttributes':[_0x2e76c8(0x1f2)]});}[_0x349575(0x1fa)](){const _0x40bd2e=_0x349575,_0x2c919b=this[_0x40bd2e(0x214)];_0x2c919b[_0x40bd2e(0x21b)][_0x40bd2e(0x20b)](_0x40bd2e(0x1fb))[_0x40bd2e(0x21f)]({'model':_0x40bd2e(0x1f2),'view':_0x40bd2e(0x217)}),_0x2c919b[_0x40bd2e(0x21b)][_0x40bd2e(0x20b)](_0x40bd2e(0x227))[_0x40bd2e(0x1fc)]({'model':{'key':_0x40bd2e(0x1f2),'value':_0x5d8d68=>_0x5d8d68[_0x40bd2e(0x1f5)](_0x40bd2e(0x217))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3c6bce=_0x2c919b[_0x40bd2e(0x1f3)][_0x40bd2e(0x222)](_0x40bd2e(0x213));_0x3c6bce&&this[_0x40bd2e(0x212)](_0x3c6bce,_0x40bd2e(0x1f8),(_0x23f824,[_0x3086e7,_0x39054e])=>{const _0x4f4781=_0x40bd2e;_0x3086e7[_0x4f4781(0x221)](_0x4f4781(0x1f2),_0x39054e);});}[_0x349575(0x21c)](){const _0x49ffb0=_0x349575,_0x489ae2=this[_0x49ffb0(0x214)][_0x49ffb0(0x20c)][_0x49ffb0(0x222)](_0x49ffb0(0x1e3))||{},_0x40370c=this[_0x49ffb0(0x214)][_0x49ffb0(0x20c)][_0x49ffb0(0x222)](_0x49ffb0(0x1e8))||'';this[_0x49ffb0(0x1da)]=_0x2b4667(_0x20a14b[_0x49ffb0(0x1fd)],_0x49ffb0(0x20f),{..._0x489ae2,'pubkey':_0x40370c,'ctx-name':_0x49ffb0(0x1ff),'sourceList':'','imgOnly':_0x49ffb0(0x1f6),'removeCopyright':_0x49ffb0(0x1f6),'localeName':this[_0x49ffb0(0x214)][_0x49ffb0(0x1e0)][_0x49ffb0(0x210)],'externalSourcesEmbedCss':_0x49ffb0(0x1fe)}),this[_0x49ffb0(0x1da)][_0x49ffb0(0x229)]=_0x5b9ef2=>{const _0x19037f=_0x49ffb0;if(_0x19037f(0x207)==_0x5b9ef2)return _0x19037f(0x204);},_0x20a14b[_0x49ffb0(0x1fd)][_0x49ffb0(0x1e1)][_0x49ffb0(0x20d)](this[_0x49ffb0(0x1da)]);}[_0x349575(0x218)](){const _0x1ca17b=_0x349575;this[_0x1ca17b(0x1d8)]=_0x2b4667(_0x20a14b[_0x1ca17b(0x1fd)],_0x1ca17b(0x1f4),{'ctx-name':_0x1ca17b(0x1ff)}),_0x20a14b[_0x1ca17b(0x1fd)][_0x1ca17b(0x1e1)][_0x1ca17b(0x20d)](this[_0x1ca17b(0x1d8)]);}[_0x349575(0x219)](){const _0x35af8f=_0x349575,_0x3f01db=this[_0x35af8f(0x214)][_0x35af8f(0x1f3)][_0x35af8f(0x222)](_0x35af8f(0x215));_0x3f01db&&this[_0x35af8f(0x212)](_0x3f01db,_0x35af8f(0x226),()=>{const _0x140501=_0x35af8f,_0x4e2ef8=this[_0x140501(0x214)][_0x140501(0x216)][_0x140501(0x1fd)][_0x140501(0x1f9)][_0x140501(0x224)]();_0x4e2ef8&&_0x4e2ef8[_0x140501(0x1f5)](_0x140501(0x1f2))&&this[_0x140501(0x214)][_0x140501(0x220)][_0x140501(0x21e)][_0x140501(0x202)](_0x140501(0x1db),()=>{const _0x127553=_0x140501;_0x29b8e9(this[_0x127553(0x214)],_0x4e2ef8);});});const _0x59f1fc=this[_0x35af8f(0x214)][_0x35af8f(0x1f3)][_0x35af8f(0x222)](_0x35af8f(0x1e5));_0x59f1fc&&this[_0x35af8f(0x212)](_0x59f1fc,_0x35af8f(0x226),()=>{const _0xfbadf8=_0x35af8f,_0x174e65=this[_0xfbadf8(0x214)][_0xfbadf8(0x216)][_0xfbadf8(0x1fd)][_0xfbadf8(0x1f9)][_0xfbadf8(0x224)]();_0x174e65&&_0x174e65[_0xfbadf8(0x1f5)](_0xfbadf8(0x1f2))&&this[_0xfbadf8(0x214)][_0xfbadf8(0x220)][_0xfbadf8(0x21e)][_0xfbadf8(0x202)](_0xfbadf8(0x1db),()=>{const _0x339f54=_0xfbadf8;_0x29b8e9(this[_0x339f54(0x214)],_0x174e65);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x452f5e,ObservableMixin as _0x1638b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x475730}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x54ad47}from'ckeditor5/src/icons.js';import _0x4748ee from'./uploadcareimageeditformview.js';import _0x3d5cfb from'../../utils/uploadutils.js';import{getImageUrls as _0x29a88e,getImageDimension as _0x311d68}from'../../utils/editingutils.js';import{isAncestor as _0x2eac11}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1638b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4af5a4,_0x458b38,_0x5d90dd){super(),this['_editor']=_0x4af5a4,this['_dialog']=_0x458b38,this['_imageElement']=_0x5d90dd,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 _0x3fd3c6=this['_imageElement'],_0x414161=_0x3fd3c6['getAttribute']('uploadcareImageId'),_0x47fb64=_0x3fd3c6['getAttribute']('src');if(_0x414161)await this['_loadImageInfo'](_0x414161,_0x47fb64);else{if(this['_imageCache']['has'](_0x47fb64)){const _0xf06e8e=this['_imageCache']['get'](_0x47fb64);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf06e8e['url'],this['imageDimension']=_0xf06e8e['dimension'],this['imageId']=_0xf06e8e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4cd015}=this['_editor'],t=_0x4cd015['t'],_0x21fea8=new _0x4748ee(_0x4cd015,this['imageStatus'],this['_attributes']);_0x21fea8['bind']('status')['to'](this,'imageStatus'),_0x21fea8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x21fea8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x21fea8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x21fea8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x54ad47,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x21fea8,'position':_0x475730['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x21fea8['focus']();},'onHide':()=>{_0x21fea8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1f8a23=>!_0x2eac11(_0x1f8a23,_0x21fea8['element'])}});}['_loadImageInfo'](_0x15a73c,_0xc606f1){return _0x3d5cfb['getInfo'](_0x15a73c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x368ecd=>{const {width:_0x31c3de,height:_0x3ebedc}=_0x368ecd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc606f1,this['imageDimension']={'width':_0x31c3de,'height':_0x3ebedc},this['imageId']=_0x15a73c;})['catch'](_0x21d5dd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21d5dd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53c66a,_0x4649ed){return this['_getImageAsFile'](_0x53c66a)['then'](_0x131a0c=>_0x3d5cfb['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4649ed['signal'],'file':_0x131a0c,'onProgress':_0x87126e=>{_0x87126e&&_0x87126e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x87126e['value']));}}))['then'](_0x650c2d=>{const {width:_0xed8e40,height:_0x586090}=_0x650c2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x650c2d['cdnUrl'],this['imageDimension']={'width':_0xed8e40,'height':_0x586090},this['imageId']=_0x650c2d['uuid'],this['imageUploadProgress']=null;const _0x5ecf67=_0x53c66a['getAttribute']('src');this['_imageCache']['set'](_0x5ecf67,{'id':_0x650c2d['uuid'],'url':_0x650c2d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x56804f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56804f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d5263,_0x5f4a1d){_0x1d5263['on']('apply',(_0x1306ee,_0x3d8323)=>{this['_replaceImage'](_0x5f4a1d,_0x3d8323['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d5263['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d5263['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x568735,_0x2e369c,_0x19cfd6){const _0x49a3dc=this['_editor'],{width:_0x99f6e6,height:_0x39d485}=_0x311d68(_0x2e369c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5dadab,imageSources:_0x2af882}=_0x29a88e(_0x2e369c,_0x99f6e6);_0x49a3dc['model']['change'](_0x3bcd8d=>{if('$graveyard'===_0x568735['root']['rootName']){_0x49a3dc['execute']('insertImage',{'imageType':_0x568735['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x568735['getAttributes']()),'uploadcareImageId':_0x19cfd6,'src':_0x5dadab,'sources':_0x2af882,'width':_0x99f6e6,'height':_0x39d485}});const _0x3ebd00=_0x568735['getChildren']();_0x568735=_0x49a3dc['model']['document']['selection']['getSelectedElement']();for(const _0x2855df of _0x3ebd00)_0x3bcd8d['append'](_0x3bcd8d['cloneElement'](_0x2855df),_0x568735);}else _0x3bcd8d['setSelection'](_0x568735,'on'),_0x49a3dc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x568735['getAttributes']()),'uploadcareImageId':_0x19cfd6,'src':_0x5dadab,'sources':_0x2af882,'width':_0x99f6e6,'height':_0x39d485},_0x568735);_0x3bcd8d['setSelection'](_0x568735,'on');});}async['_getImageAsFile'](_0x1e688a){const _0x303d3d=_0x452f5e['window'],_0x999c14=_0x452f5e['document']['location']['href'],_0x145b21=new _0x303d3d['URL'](_0x1e688a['getAttribute']('src'),_0x999c14);if('data:'===_0x145b21['protocol']){const _0x5bcb4c=_0x145b21['href']['split'](','),_0xd6a78f=_0x5bcb4c[0x0]['match'](/:(.*?);/)[0x1],_0x407f81=_0xd6a78f['split']('/')[0x1],_0x329294=_0x303d3d['atob'](_0x5bcb4c[_0x5bcb4c['length']-0x1]);let _0x4b50bc=_0x329294['length'];const _0x56e184=new _0x303d3d['Uint8Array'](_0x4b50bc);for(;_0x4b50bc--;)_0x56e184[_0x4b50bc]=_0x329294['charCodeAt'](_0x4b50bc);return new _0x303d3d['File']([_0x56e184],'image.'+_0x407f81,{'type':_0xd6a78f});}const _0x2f48cd=_0x145b21['href']['split']('/'),_0x120a76=_0x2f48cd[_0x2f48cd['length']-0x1],_0x1ab488=_0x120a76['split']('.')[0x1];return _0x303d3d['fetch'](_0x145b21['href'])['then'](_0x56fc47=>_0x56fc47['clone']()['blob']())['then'](_0x3d2d67=>new _0x303d3d['File']([_0x3d2d67],_0x120a76,{'type':'image/'+_0x1ab488}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x38559d,_0x2531d6){const _0x2b2deb=_0x44a9,_0x13072a=_0x38559d();while(!![]){try{const _0x5368f1=parseInt(_0x2b2deb(0x119))/0x1+-parseInt(_0x2b2deb(0x117))/0x2+parseInt(_0x2b2deb(0x115))/0x3*(parseInt(_0x2b2deb(0x11f))/0x4)+-parseInt(_0x2b2deb(0x123))/0x5*(-parseInt(_0x2b2deb(0x110))/0x6)+-parseInt(_0x2b2deb(0x11c))/0x7*(-parseInt(_0x2b2deb(0x121))/0x8)+-parseInt(_0x2b2deb(0x11d))/0x9*(parseInt(_0x2b2deb(0x113))/0xa)+parseInt(_0x2b2deb(0x111))/0xb*(-parseInt(_0x2b2deb(0x114))/0xc);if(_0x5368f1===_0x2531d6)break;else _0x13072a['push'](_0x13072a['shift']());}catch(_0x3b58c9){_0x13072a['push'](_0x13072a['shift']());}}}(_0x3ee4,0x66042));function _0x3ee4(){const _0x21ed9a=['uc-light','8xLguec','uc-cloud-image-editor','5ATYqJX','3074322YzgchW','913CihHWq','image-edit','226510gcKJUl','77052ZurpGk','3mPxelZ','setTemplate','941234xpeHbt','ck-uploadcare-theme','722228hbRMWF','imageSrc','set','4181233CUVUPo','225noWPZR','bindTemplate','623036yDLXPZ'];_0x3ee4=function(){return _0x21ed9a;};return _0x3ee4();}import{View as _0x28a56f}from'ckeditor5/src/ui.js';function _0x44a9(_0x768283,_0x2cd964){const _0x3ee420=_0x3ee4();return _0x44a9=function(_0x44a9e8,_0x11e699){_0x44a9e8=_0x44a9e8-0x110;let _0x25f53c=_0x3ee420[_0x44a9e8];return _0x25f53c;},_0x44a9(_0x768283,_0x2cd964);}export default class tt extends _0x28a56f{constructor(_0x4e198c,_0xe6f88b){const _0x2c8256=_0x44a9;super(_0x4e198c);const _0x5adedb=this[_0x2c8256(0x11e)];this[_0x2c8256(0x11b)](_0x2c8256(0x11a),''),this[_0x2c8256(0x116)]({'tag':_0x2c8256(0x122),'attributes':{..._0xe6f88b,'class':[_0x2c8256(0x120),_0x2c8256(0x118)],'ctx-name':_0x2c8256(0x112),'cdn-url':_0x5adedb['to'](_0x2c8256(0x11a))}});}}
|
|
@@ -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 _0x1fbad6,IconView as at,View as _0x336c6b}from'ckeditor5/src/ui.js';export default class rt extends _0x336c6b{constructor(_0x29c058){super(_0x29c058);const t=_0x29c058['t'];this['set']('errorType',null);const _0x42fdac=new _0x1fbad6(_0x29c058);_0x42fdac['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x42fdac['withText']=!0x0,_0x42fdac['class']='ck-button-action',_0x42fdac['on']('execute',()=>{this['fire']('retry');}),_0x42fdac['bind']('isVisible')['to'](this,'errorType',_0x263512=>'NotFound'!==_0x263512);const _0x485014=new at();_0x485014['content']=et,_0x485014['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4a0878=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':[_0x485014,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4a0878['to']('errorType',_0x1578af=>t('NotFound'!==_0x1578af?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x42fdac]},{'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 _0x572ae8,View as _0x3a480c}from'ckeditor5/src/ui.js';export default class ta extends _0x3a480c{constructor(_0x255e66){super(_0x255e66);const t=_0x255e66['t'],_0x4a51f5=this['bindTemplate'],_0x438b5e=new _0x572ae8();_0x438b5e['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':[_0x438b5e,{'text':_0x4a51f5['to']('imageUploadProgress',_0x5d8800=>t('Loading\x20image...')+'\x20('+(_0x5d8800||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
|
-
function
|
|
23
|
+
function _0x448b(_0x1f7bba,_0x5bc1b2){const _0x888505=_0x8885();return _0x448b=function(_0x448be2,_0x32dad8){_0x448be2=_0x448be2-0x1be;let _0x5a340e=_0x888505[_0x448be2];return _0x5a340e;},_0x448b(_0x1f7bba,_0x5bc1b2);}const _0x28fbdf=_0x448b;(function(_0x181583,_0x1e2fc8){const _0x16842a=_0x448b,_0x528f2c=_0x181583();while(!![]){try{const _0x382f72=parseInt(_0x16842a(0x1dc))/0x1+-parseInt(_0x16842a(0x1bf))/0x2*(parseInt(_0x16842a(0x1f3))/0x3)+parseInt(_0x16842a(0x1cc))/0x4+parseInt(_0x16842a(0x1e1))/0x5*(-parseInt(_0x16842a(0x1f2))/0x6)+-parseInt(_0x16842a(0x1cd))/0x7+-parseInt(_0x16842a(0x1d3))/0x8+parseInt(_0x16842a(0x1e9))/0x9*(parseInt(_0x16842a(0x1c1))/0xa);if(_0x382f72===_0x1e2fc8)break;else _0x528f2c['push'](_0x528f2c['shift']());}catch(_0x2570b1){_0x528f2c['push'](_0x528f2c['shift']());}}}(_0x8885,0x3241e));import{View as _0x532de6}from'ckeditor5/src/ui.js';import _0x525507 from'./uploadcareimageeditformloadingview.js';import _0x424657 from'./uploadcareimageeditformerrorview.js';import _0x21519c from'./uploadcareimageeditformeditingview.js';function _0x8885(){const _0x24142a=['addMany','toLowerCase','60093WAxjrV','div','render','element','target','createCollection','apply','length','addEventListener','3726EIGVkD','384471YyZHjE','cdnUrl','querySelector','6arrQrO','_editingView','1450JHEpnb','observe','add','detail','uploading','nodeName','cancel','status','ck-reset_all-excluded','_focusableView','set','505464PFAuWV','1295252abEORs','addedNodes','error','getFocusableElement','_items','_addUploadcareImageEditorListeners','2608928xQRVUz','_loadingView','fire','retry','_waitForImageEditorComponent','_errorView','uc-cloud-image-editor','ready','_addErrorViewListeners','85813PuaQNI','change:status','once','disconnect','_setView','635ChSDwN','focus','ck-uploadcare-form','setTemplate','clear','filter'];_0x8885=function(){return _0x24142a;};return _0x8885();}import _0x2256f2 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2256f2{[_0x28fbdf(0x1d1)];[_0x28fbdf(0x1d4)];[_0x28fbdf(0x1d8)];[_0x28fbdf(0x1c0)];[_0x28fbdf(0x1ca)];constructor(_0x1dee55,_0x3730d7,_0x574729){const _0x42a52c=_0x28fbdf;super(_0x1dee55),this[_0x42a52c(0x1d1)]=this[_0x42a52c(0x1ee)](),this[_0x42a52c(0x1d4)]=new _0x525507(_0x1dee55),this[_0x42a52c(0x1d8)]=new _0x424657(_0x1dee55),this[_0x42a52c(0x1c0)]=new _0x21519c(_0x1dee55,_0x574729),this[_0x42a52c(0x1ca)]=new _0x532de6(_0x1dee55),this[_0x42a52c(0x1ca)][_0x42a52c(0x1e4)](this[_0x42a52c(0x1d0)]()),this[_0x42a52c(0x1cb)](_0x42a52c(0x1c8),_0x3730d7),this[_0x42a52c(0x1e4)]({'tag':_0x42a52c(0x1ea),'attributes':{'class':['ck',_0x42a52c(0x1c9),_0x42a52c(0x1e3)],'tabindex':'-1'},'children':this[_0x42a52c(0x1d1)]}),this[_0x42a52c(0x1e0)](),this[_0x42a52c(0x1de)](_0x42a52c(0x1eb),()=>{const _0x1ffa45=_0x42a52c;this[_0x1ffa45(0x1d7)](this[_0x1ffa45(0x1ec)],_0x161e04=>{const _0x19186a=_0x1ffa45;this[_0x19186a(0x1d2)](_0x161e04);});}),this['on'](_0x42a52c(0x1dd),()=>{const _0x2d65ca=_0x42a52c;this[_0x2d65ca(0x1e0)]();}),this[_0x42a52c(0x1db)]();}[_0x28fbdf(0x1e2)](){const _0x6fceba=_0x28fbdf;this[_0x6fceba(0x1ec)][_0x6fceba(0x1e2)]();}[_0x28fbdf(0x1e0)](){const _0x1ec1ee=_0x28fbdf;switch(this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1e5)](),this[_0x1ec1ee(0x1c8)]){case _0x1ec1ee(0x1c5):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1c3)](this[_0x1ec1ee(0x1d4)]);break;case _0x1ec1ee(0x1cf):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1c3)](this[_0x1ec1ee(0x1d8)]);break;case _0x1ec1ee(0x1da):this[_0x1ec1ee(0x1d1)][_0x1ec1ee(0x1e7)]([this[_0x1ec1ee(0x1c0)],this[_0x1ec1ee(0x1ca)]]);}}[_0x28fbdf(0x1d7)](_0x669164,_0x4ca8d7){const _0x5d8929=_0x28fbdf,_0x4d0883=_0x5d8929(0x1d9),_0x26c171=_0x669164[_0x5d8929(0x1be)](_0x4d0883);if(_0x26c171)return _0x4ca8d7(_0x26c171);const _0x265954=new MutationObserver(_0x1778fe=>{const _0x437702=_0x5d8929,_0x1e2743=_0x1778fe[_0x437702(0x1e6)](_0x24a1ea=>_0x24a1ea[_0x437702(0x1ed)]===_0x669164&&_0x24a1ea[_0x437702(0x1ce)][_0x437702(0x1f0)]>0x0&&_0x24a1ea[_0x437702(0x1ce)][0x0][_0x437702(0x1c6)][_0x437702(0x1e8)]()===_0x4d0883);_0x1e2743[_0x437702(0x1f0)]&&(_0x265954[_0x437702(0x1df)](),_0x4ca8d7(_0x1e2743[0x0][_0x437702(0x1ce)][0x0]));});_0x265954[_0x5d8929(0x1c2)](_0x669164,{'childList':!0x0,'subtree':!0x0});}[_0x28fbdf(0x1d2)](_0x4d0f49){const _0x5a4137=_0x28fbdf;_0x4d0f49[_0x5a4137(0x1f1)](_0x5a4137(0x1ef),_0x3be532=>{const _0x44162f=_0x5a4137;this[_0x44162f(0x1d5)](_0x44162f(0x1ef),{'imageSrc':_0x3be532[_0x44162f(0x1c4)][_0x44162f(0x1f4)]});}),_0x4d0f49[_0x5a4137(0x1f1)](_0x5a4137(0x1c7),()=>{const _0x27fc4d=_0x5a4137;this[_0x27fc4d(0x1d5)](_0x27fc4d(0x1c7));});}[_0x28fbdf(0x1db)](){const _0x36f588=_0x28fbdf;this[_0x36f588(0x1d8)]['on'](_0x36f588(0x1d6),()=>{const _0x3f2381=_0x36f588;this[_0x3f2381(0x1d5)](_0x3f2381(0x1d6));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x153c(){const _0x534ff5=['1694VcNAUQ','17904uLzgdJ','imageInline','element','_isEditable','12JgKkqT','editor','set','72ZiwVvg','document','imageBlock','selection','get','bind','unbind','30175xoSQLn','200427XRvkiT','2973124qbxEGV','isActive','getSelectedElement','10CgtBBC','uploadcare.allowExternalImagesEditing','16170XldiOC','execute','config','model','imageEditController','plugins','isEnabled','requires','526784KerhOF','refresh','1260360BfcIUP'];_0x153c=function(){return _0x534ff5;};return _0x153c();}const _0x4f84c3=_0x3791;(function(_0x43fc3e,_0x425b87){const _0x171003=_0x3791,_0x49c5fc=_0x43fc3e();while(!![]){try{const _0x1a0d68=-parseInt(_0x171003(0xaa))/0x1+-parseInt(_0x171003(0xa0))/0x2*(parseInt(_0x171003(0xab))/0x3)+-parseInt(_0x171003(0x98))/0x4*(-parseInt(_0x171003(0xaf))/0x5)+-parseInt(_0x171003(0x9a))/0x6+parseInt(_0x171003(0xac))/0x7+-parseInt(_0x171003(0x9c))/0x8*(-parseInt(_0x171003(0xa3))/0x9)+parseInt(_0x171003(0xb1))/0xa*(parseInt(_0x171003(0x9b))/0xb);if(_0x1a0d68===_0x425b87)break;else _0x49c5fc['push'](_0x49c5fc['shift']());}catch(_0x1f116f){_0x49c5fc['push'](_0x49c5fc['shift']());}}}(_0x153c,0x4ca65));import{Command as _0x5dc6f9}from'ckeditor5/src/core.js';function _0x3791(_0x52a392,_0x1499d8){const _0x153c9f=_0x153c();return _0x3791=function(_0x3791b1,_0x5863f2){_0x3791b1=_0x3791b1-0x95;let _0x30d989=_0x153c9f[_0x3791b1];return _0x30d989;},_0x3791(_0x52a392,_0x1499d8);}import{Dialog as _0x209565}from'ckeditor5/src/ui.js';import _0x2ee0cb from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1c82aa}from'../utils/editingutils.js';export default class J extends _0x5dc6f9{[_0x4f84c3(0xb5)];static get[_0x4f84c3(0x97)](){return[_0x209565];}[_0x4f84c3(0x9f)];constructor(_0x561dd4){const _0x4fb8df=_0x4f84c3;super(_0x561dd4),this[_0x4fb8df(0xb5)]=void 0x0,this[_0x4fb8df(0x9f)]=_0x1c82aa(_0x561dd4[_0x4fb8df(0xb3)][_0x4fb8df(0xa7)](_0x4fb8df(0xb0))||[]),this[_0x4fb8df(0xa2)]({'isActive':!0x1});}[_0x4f84c3(0x99)](){const _0x2cf394=_0x4f84c3,_0x51c2ae=this[_0x2cf394(0xa1)][_0x2cf394(0xb4)][_0x2cf394(0xa4)][_0x2cf394(0xa6)][_0x2cf394(0xae)]();this[_0x2cf394(0x96)]=this[_0x2cf394(0x9f)](_0x51c2ae);}[_0x4f84c3(0xb2)](){const _0x5bf610=_0x4f84c3;this[_0x5bf610(0xb5)]&&(this[_0x5bf610(0xa9)](_0x5bf610(0xad)),this[_0x5bf610(0xb5)]=void 0x0);const _0x1bb285=this[_0x5bf610(0xa1)][_0x5bf610(0xb4)][_0x5bf610(0xa4)][_0x5bf610(0xa6)][_0x5bf610(0xae)]();_0x1bb285&&(_0x1bb285['is'](_0x5bf610(0x9e),_0x5bf610(0xa5))||_0x1bb285['is'](_0x5bf610(0x9e),_0x5bf610(0x9d)))&&(this[_0x5bf610(0xb5)]=new _0x2ee0cb(this[_0x5bf610(0xa1)],this[_0x5bf610(0xa1)][_0x5bf610(0x95)][_0x5bf610(0xa7)](_0x209565),_0x1bb285),this[_0x5bf610(0xa8)](_0x5bf610(0xad))['to'](this[_0x5bf610(0xb5)],_0x5bf610(0xad)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5c97(){const _0x3b8ec6=['requires','isOfficialPlugin','400605lzouLz','uploadcareImageEdit','9kJLsyC','5pzwNEK','ImageEditing','init','8628592iTEmce','uploadcareImageReplace','12xWRuoi','commands','721476BLbNJr','6118122UNMIoy','pluginName','14757APKocy','20491820dujqPD','UploadcareImageEditEditing','8604323TFGzNg','ImageUtils','add','isPremiumPlugin'];_0x5c97=function(){return _0x3b8ec6;};return _0x5c97();}function _0x1f8f(_0x382be9,_0x27d0b7){const _0x5c9736=_0x5c97();return _0x1f8f=function(_0x1f8f22,_0x257b71){_0x1f8f22=_0x1f8f22-0xc2;let _0x466db5=_0x5c9736[_0x1f8f22];return _0x466db5;},_0x1f8f(_0x382be9,_0x27d0b7);}const _0x4202bf=_0x1f8f;(function(_0x7b3446,_0x598896){const _0x2102c6=_0x1f8f,_0x35e655=_0x7b3446();while(!![]){try{const _0x110860=-parseInt(_0x2102c6(0xc8))/0x1+parseInt(_0x2102c6(0xd0))/0x2*(parseInt(_0x2102c6(0xd5))/0x3)+-parseInt(_0x2102c6(0xd2))/0x4+-parseInt(_0x2102c6(0xcb))/0x5*(parseInt(_0x2102c6(0xd3))/0x6)+parseInt(_0x2102c6(0xc2))/0x7+-parseInt(_0x2102c6(0xce))/0x8+parseInt(_0x2102c6(0xca))/0x9*(parseInt(_0x2102c6(0xd6))/0xa);if(_0x110860===_0x598896)break;else _0x35e655['push'](_0x35e655['shift']());}catch(_0xcd332f){_0x35e655['push'](_0x35e655['shift']());}}}(_0x5c97,0x997aa));import{Plugin as _0x53339f}from'ckeditor5/src/core.js';import{Notification as _0x4fc874}from'ckeditor5/src/ui.js';import _0x5ec6dc from'./uploadcareimageeditcommand.js';import _0x4973e4 from'./uploadcareimagereplacecommand.js';import _0x554e79 from'../uploadcareediting.js';export default class g extends _0x53339f{static get[_0x4202bf(0xd4)](){const _0x2f531d=_0x4202bf;return _0x2f531d(0xd7);}static get[_0x4202bf(0xc6)](){const _0x31c41a=_0x4202bf;return[_0x554e79,_0x4fc874,_0x31c41a(0xc3),_0x31c41a(0xcc)];}static get[_0x4202bf(0xc7)](){return!0x0;}static get[_0x4202bf(0xc5)](){return!0x0;}[_0x4202bf(0xcd)](){const _0x3bac11=_0x4202bf,{editor:_0x1e705f}=this;_0x1e705f[_0x3bac11(0xd1)][_0x3bac11(0xc4)](_0x3bac11(0xc9),new _0x5ec6dc(_0x1e705f)),_0x1e705f[_0x3bac11(0xd1)][_0x3bac11(0xc4)](_0x3bac11(0xcf),new _0x4973e4(_0x1e705f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4c4302}from'ckeditor5/src/core.js';import{ButtonView as _0x10bb1a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2be1fd}from'ckeditor5/src/icons.js';import{createElement as _0x47fb5e}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 _0x4c4302{['_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 _0xed299a=this['editor'];_0xed299a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4660e0=>{const _0x44acd7=_0xed299a['commands']['get']('uploadcareImageEdit'),_0x8aad9a=new _0x10bb1a(_0x4660e0),t=_0x4660e0['t'];return _0x8aad9a['set']({'icon':_0x2be1fd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x8aad9a['bind']('isEnabled')['to'](_0x44acd7),_0x8aad9a['bind']('isOn')['to'](_0x44acd7,'isActive'),this['listenTo'](_0x8aad9a,'execute',()=>{_0xed299a['execute']('uploadcareImageEdit'),_0xed299a['editing']['view']['focus']();}),_0x8aad9a;}),this['_initConfig']();}['_initConfig'](){const _0x742176=_0x47fb5e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x742176),this['listenTo'](this['editor'],'destroy',()=>{_0x742176['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3250b5=_0x5197;(function(_0x2bcbe0,_0x34da1f){const _0x3b0807=_0x5197,_0x370f4b=_0x2bcbe0();while(!![]){try{const _0x574c5c=parseInt(_0x3b0807(0x1a1))/0x1*(-parseInt(_0x3b0807(0x198))/0x2)+-parseInt(_0x3b0807(0x19c))/0x3*(parseInt(_0x3b0807(0x1a3))/0x4)+-parseInt(_0x3b0807(0x194))/0x5*(parseInt(_0x3b0807(0x191))/0x6)+parseInt(_0x3b0807(0x1a0))/0x7+-parseInt(_0x3b0807(0x190))/0x8+-parseInt(_0x3b0807(0x19f))/0x9+parseInt(_0x3b0807(0x18b))/0xa;if(_0x574c5c===_0x34da1f)break;else _0x370f4b['push'](_0x370f4b['shift']());}catch(_0x3f7de6){_0x370f4b['push'](_0x370f4b['shift']());}}}(_0x2844,0x3ee90));import{Command as _0x4ec302}from'ckeditor5/src/core.js';export default class O extends _0x4ec302{[_0x3250b5(0x18c)](){const _0x9d07cc=_0x3250b5,_0x5e68f0=this[_0x9d07cc(0x19a)][_0x9d07cc(0x18e)][_0x9d07cc(0x1a4)][_0x9d07cc(0x18d)][_0x9d07cc(0x19b)]();this[_0x9d07cc(0x195)]=Boolean(_0x5e68f0&&(_0x5e68f0['is'](_0x9d07cc(0x19d),_0x9d07cc(0x192))||_0x5e68f0['is'](_0x9d07cc(0x19d),_0x9d07cc(0x196))));}[_0x3250b5(0x1a2)](_0x20b3da){const _0x334ab8=_0x3250b5,_0xc1dd8f=this[_0x334ab8(0x19a)][_0x334ab8(0x18e)][_0x334ab8(0x1a4)][_0x334ab8(0x18d)][_0x334ab8(0x19b)]();this[_0x334ab8(0x19a)][_0x334ab8(0x18e)][_0x334ab8(0x19e)](_0x21ff75=>{const _0x30194f=_0x334ab8;_0x21ff75[_0x30194f(0x193)](_0x20b3da,_0xc1dd8f),_0x21ff75[_0x30194f(0x199)](_0x30194f(0x197),_0xc1dd8f),_0x21ff75[_0x30194f(0x199)](_0x30194f(0x18f),_0xc1dd8f);});}}function _0x5197(_0x577990,_0x4b76a9){const _0x2844d5=_0x2844();return _0x5197=function(_0x519735,_0x156061){_0x519735=_0x519735-0x18b;let _0x47cb6c=_0x2844d5[_0x519735];return _0x47cb6c;},_0x5197(_0x577990,_0x4b76a9);}function _0x2844(){const _0x595d30=['editor','getSelectedElement','128229teDkfM','element','change','1519281IJADdu','724591DRDdoH','3xtWmyR','execute','28ISlcVC','document','15388960blQaUO','refresh','selection','model','sizes','2941920zRebYx','181980XLAZnY','imageBlock','setAttributes','30PsQyFD','isEnabled','imageInline','srcset','244666RHmWio','removeAttribute'];_0x2844=function(){return _0x595d30;};return _0x2844();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xd0e48b=_0x2e09;(function(_0x2711c6,_0x137fef){var _0x56f361=_0x2e09,_0x531bab=_0x2711c6();while(!![]){try{var _0x460bac=-parseInt(_0x56f361(0xa2))/0x1+-parseInt(_0x56f361(0xa7))/0x2+parseInt(_0x56f361(0xae))/0x3*(-parseInt(_0x56f361(0xa8))/0x4)+parseInt(_0x56f361(0xaa))/0x5*(parseInt(_0x56f361(0xa9))/0x6)+parseInt(_0x56f361(0xa6))/0x7*(parseInt(_0x56f361(0xad))/0x8)+-parseInt(_0x56f361(0xa4))/0x9+parseInt(_0x56f361(0xa1))/0xa;if(_0x460bac===_0x137fef)break;else _0x531bab['push'](_0x531bab['shift']());}catch(_0x2f9963){_0x531bab['push'](_0x531bab['shift']());}}}(_0x13f6,0x42b47));import{Plugin as _0x4428e0}from'ckeditor5/src/core.js';import _0x4ae3c9 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2e09(_0x2f2d5a,_0x5b8ea8){var _0x13f678=_0x13f6();return _0x2e09=function(_0x2e09dc,_0x33e2fb){_0x2e09dc=_0x2e09dc-0xa0;var _0x3f88bf=_0x13f678[_0x2e09dc];return _0x3f88bf;},_0x2e09(_0x2f2d5a,_0x5b8ea8);}function _0x13f6(){var _0x142105=['isOfficialPlugin','623988yDLMmT','isPremiumPlugin','7dmBhAk','900268bJfqrQ','12mWXhwR','1038knyAvl','8765SIRwlW','pluginName','requires','924576uGQoYC','267009MOtJiM','UploadcareImageEdit','8749370eYnONH','234080VQGghT'];_0x13f6=function(){return _0x142105;};return _0x13f6();}import _0x2baaf2 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x4428e0{static get[_0xd0e48b(0xab)](){var _0x5622b3=_0xd0e48b;return _0x5622b3(0xa0);}static get[_0xd0e48b(0xac)](){return[_0x4ae3c9,_0x2baaf2];}static get[_0xd0e48b(0xa3)](){return!0x0;}static get[_0xd0e48b(0xa5)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16de8b=_0xf019;(function(_0xf044ff,_0x5212c9){const _0x5abbd3=_0xf019,_0x18310f=_0xf044ff();while(!![]){try{const _0x29bdd7=parseInt(_0x5abbd3(0x151))/0x1*(-parseInt(_0x5abbd3(0x154))/0x2)+parseInt(_0x5abbd3(0x134))/0x3*(-parseInt(_0x5abbd3(0x115))/0x4)+parseInt(_0x5abbd3(0x10f))/0x5+-parseInt(_0x5abbd3(0x13b))/0x6+parseInt(_0x5abbd3(0x14b))/0x7+parseInt(_0x5abbd3(0x13d))/0x8*(parseInt(_0x5abbd3(0x139))/0x9)+parseInt(_0x5abbd3(0x113))/0xa*(parseInt(_0x5abbd3(0x11e))/0xb);if(_0x29bdd7===_0x5212c9)break;else _0x18310f['push'](_0x18310f['shift']());}catch(_0xdda01){_0x18310f['push'](_0x18310f['shift']());}}}(_0x184e,0xeb2f7));import{Plugin as _0x355b67}from'ckeditor5/src/core.js';import{IconDropbox as _0xb04f7b,IconFacebook as _0x32f02d,IconGoogleDrive as _0x3df601,IconGooglePhotos as _0x4282f1,IconUploadcareImageUpload as _0x97fd58,IconUploadcareLink as _0x1c1254,IconOneDrive as _0x535769}from'ckeditor5/src/icons.js';import{ButtonView as _0x27c67b,MenuBarMenuListItemButtonView as _0x48ec22}from'ckeditor5/src/ui.js';function _0x184e(){const _0x2d994f=['URL','uploadcareLicenseKeyExpired','1029507gBqFDc','isImageSelected','label','UploadcareUI','plugins','1846629osiBZr','uploadcareLicenseKeyDomainLimit','5806932enPahG','commands','16PMhUEU','invalid','withText','uploadcareLicenseKeyEvaluationLimit','_createDropdownButtons','uploadcare','usageLimit','type','url','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','Replace','text','9970142YhiSLJ','map','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyInvalid','reduce','locale','619601KBFoWa','Dropbox','config','2PdMElB','_getIntegrationKey','icon','Local','isPremiumPlugin','push','afterInit','_createMenuBarButtons','isOfficialPlugin','editor','init','_createButton','Uploadcare','8007850gkdzCn','uploadcareLicenseKeyValid','bind','GPhotos','243590jgtqdH','destroy','16Vspqpn','registerIntegration','expired','_showLicenseError','Facebook','pluginName','_createToolbarButton','GDrive','domainLimit','220sbmbgz','evaluationLimit','execute','isEnabled','featureNotAllowed','Insert','trialLimit','uploadcare.uploader.sourceList','assetManager','forEach','tooltip','upload','get','OneDrive','_licenseKeyCheckInterval','shortText','has','entries','licenseKey','ImageInsertUI'];_0x184e=function(){return _0x2d994f;};return _0x184e();}import{UploadcareSource as _0x160f1b}from'./uploadcareconfig.js';import{getTranslation as _0x19b9ed}from'./utils/common-translations.js';function _0xf019(_0x164fc1,_0x3be8a4){const _0x184e4a=_0x184e();return _0xf019=function(_0xf019b9,_0x16ed14){_0xf019b9=_0xf019b9-0x10a;let _0x13adc8=_0x184e4a[_0xf019b9];return _0x13adc8;},_0xf019(_0x164fc1,_0x3be8a4);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x355b67{[_0x16de8b(0x130)];[_0x16de8b(0x12c)];static get[_0x16de8b(0x11a)](){const _0x63296c=_0x16de8b;return _0x63296c(0x137);}static get[_0x16de8b(0x10a)](){return!0x0;}static get[_0x16de8b(0x158)](){return!0x0;}[_0x16de8b(0x10c)](){const _0x4d0b5d=_0x16de8b;this[_0x4d0b5d(0x130)]=this[_0x4d0b5d(0x10b)][_0x4d0b5d(0x153)][_0x4d0b5d(0x12a)](_0x4d0b5d(0x130));const _0x4d2230=this[_0x4d0b5d(0x10b)];this[_0x4d0b5d(0x12c)]=setInterval(()=>{const _0x738160=_0x4d0b5d;let _0x41d896;for(const _0x3aa8fb in _0x4d2230){const _0x58cbad=_0x3aa8fb,_0x3c8515=_0x4d2230[_0x58cbad];if(_0x738160(0x110)==_0x3c8515||_0x738160(0x14e)==_0x3c8515||_0x738160(0x133)==_0x3c8515||_0x738160(0x13a)==_0x3c8515||_0x738160(0x146)==_0x3c8515||_0x738160(0x140)==_0x3c8515||_0x738160(0x14d)==_0x3c8515||_0x738160(0x147)==_0x3c8515){delete _0x4d2230[_0x58cbad],_0x41d896=_0x3c8515,clearInterval(this[_0x738160(0x12c)]),this[_0x738160(0x12c)]=void 0x0;break;}}_0x738160(0x14e)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x13e)),_0x738160(0x133)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x117)),_0x738160(0x13a)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x11d)),_0x738160(0x146)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x122),_0x738160(0x10e)),_0x738160(0x140)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x11f)),_0x738160(0x14d)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x124)),_0x738160(0x147)==_0x41d896&&_0x4d2230[_0x738160(0x118)](_0x738160(0x143));},0x3e8);}[_0x16de8b(0x15a)](){const _0x136a64=_0x16de8b,{editor:_0xd8c259}=this,_0xd9e382=_0xd8c259[_0x136a64(0x13c)][_0x136a64(0x12a)](_0x136a64(0x142));if(!_0xd9e382)return;const _0x537dc1=this[_0x136a64(0x148)](_0xd8c259[_0x136a64(0x153)][_0x136a64(0x12a)](_0x136a64(0x125)))[_0x136a64(0x14f)]((_0x2c542f,_0x56818b)=>{const _0x554056=_0x136a64,_0x20a9de=this[_0x554056(0x155)](_0x56818b[_0x554056(0x144)]);return _0x2c542f[_0x20a9de]||(_0x2c542f[_0x20a9de]=[]),_0x2c542f[_0x20a9de][_0x554056(0x159)](_0x56818b),_0x2c542f;},{});_0xd8c259[_0x136a64(0x138)][_0x136a64(0x12e)](_0x136a64(0x131))&&_0xd8c259[_0x136a64(0x13c)][_0x136a64(0x12a)](_0x136a64(0x142))&&Object[_0x136a64(0x12f)](_0x537dc1)[_0x136a64(0x127)](([_0x1f7620,_0x522e4d])=>{const _0x158730=_0x136a64;_0xd8c259[_0x158730(0x138)][_0x158730(0x12a)](_0x158730(0x131))[_0x158730(0x116)]({'name':_0x1f7620,'observable':()=>_0xd9e382,'buttonViewCreator':()=>this[_0x158730(0x11b)](_0x522e4d),'formViewCreator':()=>this[_0x158730(0x141)](_0x522e4d),'menuBarButtonViewCreator':()=>this[_0x158730(0x15b)](_0x522e4d),'override':_0x158730(0x126)!==_0x1f7620});});}[_0x16de8b(0x114)](){const _0x3376fd=_0x16de8b;super[_0x3376fd(0x114)](),this[_0x3376fd(0x12c)]&&clearInterval(this[_0x3376fd(0x12c)]);}[_0x16de8b(0x148)](_0xe57d6d){const _0x1db71b=_0x16de8b,{locale:_0x49574c}=this[_0x1db71b(0x10b)];return _0xe57d6d[_0x1db71b(0x14c)](_0x2b3a7e=>{const _0x929d0e=_0x1db71b,_0xf38fe3=_0x19b9ed(_0x49574c,_0x2b3a7e,_0x929d0e(0x123));switch(_0x2b3a7e){case _0x160f1b[_0x929d0e(0x157)]:return{'icon':_0x97fd58,'type':_0x160f1b[_0x929d0e(0x157)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x132)]:return{'icon':_0x1c1254,'type':_0x160f1b[_0x929d0e(0x132)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x152)]:return{'icon':_0xb04f7b,'type':_0x160f1b[_0x929d0e(0x152)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x119)]:return{'icon':_0x32f02d,'type':_0x160f1b[_0x929d0e(0x119)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x11c)]:return{'icon':_0x3df601,'type':_0x160f1b[_0x929d0e(0x11c)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x112)]:return{'icon':_0x4282f1,'type':_0x160f1b[_0x929d0e(0x112)],..._0xf38fe3};case _0x160f1b[_0x929d0e(0x12b)]:return{'icon':_0x535769,'type':_0x160f1b[_0x929d0e(0x12b)],..._0xf38fe3};}});}[_0x16de8b(0x155)](_0x3d1b8a){const _0x51f003=_0x16de8b;switch(_0x3d1b8a){case _0x160f1b[_0x51f003(0x157)]:return _0x51f003(0x129);case _0x160f1b[_0x51f003(0x132)]:return _0x51f003(0x145);default:return _0x51f003(0x126);}}[_0x16de8b(0x10d)](_0x2c4224,_0xb83610){const _0x4eae5e=_0x16de8b,_0x4ab65e=this[_0x4eae5e(0x10b)],_0x113edd=new _0x2c4224(_0x4ab65e[_0x4eae5e(0x150)]),_0x40db8f=_0x4ab65e[_0x4eae5e(0x13c)][_0x4eae5e(0x12a)](_0x4eae5e(0x142));return _0x113edd[_0x4eae5e(0x111)](_0x4eae5e(0x121))['to'](_0x40db8f),_0x113edd['on'](_0x4eae5e(0x120),()=>{const _0x23bdee=_0x4eae5e;_0x40db8f[_0x23bdee(0x120)](_0xb83610);}),_0x113edd;}[_0x16de8b(0x11b)](_0x223fc5){const _0x5c4ab5=_0x16de8b,{locale:_0x821ed4}=this[_0x5c4ab5(0x10b)],_0x348870=this[_0x5c4ab5(0x10b)][_0x5c4ab5(0x138)][_0x5c4ab5(0x12a)](_0x5c4ab5(0x131)),_0x49479d=_0x223fc5[0x0],_0x13d4c3=this[_0x5c4ab5(0x10d)](_0x27c67b,_0x49479d[_0x5c4ab5(0x144)]);return _0x13d4c3[_0x5c4ab5(0x156)]=_0x49479d[_0x5c4ab5(0x156)],_0x13d4c3[_0x5c4ab5(0x111)](_0x5c4ab5(0x136))['to'](_0x348870,_0x5c4ab5(0x135),_0x449572=>_0x19b9ed(_0x821ed4,_0x49479d[_0x5c4ab5(0x144)],_0x449572?_0x5c4ab5(0x149):_0x5c4ab5(0x123))[_0x5c4ab5(0x14a)]),_0x13d4c3[_0x5c4ab5(0x128)]=!0x0,_0x13d4c3;}[_0x16de8b(0x141)](_0x6901f2){const _0x8cd72c=_0x16de8b,{locale:_0x34a3fb}=this[_0x8cd72c(0x10b)],_0x680d4a=this[_0x8cd72c(0x10b)][_0x8cd72c(0x138)][_0x8cd72c(0x12a)](_0x8cd72c(0x131));return _0x6901f2[_0x8cd72c(0x14c)](_0x1e4660=>{const _0x100a03=_0x8cd72c,_0x18fc38=this[_0x100a03(0x10d)](_0x27c67b,_0x1e4660[_0x100a03(0x144)]);return _0x18fc38[_0x100a03(0x13f)]=!0x0,_0x18fc38[_0x100a03(0x156)]=_0x1e4660[_0x100a03(0x156)],_0x18fc38[_0x100a03(0x111)](_0x100a03(0x136))['to'](_0x680d4a,_0x100a03(0x135),_0x4e2b08=>_0x19b9ed(_0x34a3fb,_0x1e4660[_0x100a03(0x144)],_0x4e2b08?_0x100a03(0x149):_0x100a03(0x123))[_0x100a03(0x14a)]),_0x18fc38;});}[_0x16de8b(0x15b)](_0x30dfae){const _0x104541=_0x16de8b;return _0x30dfae[_0x104541(0x14c)](_0x5f48fe=>{const _0x462a35=_0x104541,_0x1ad97b=this[_0x462a35(0x10d)](_0x48ec22,_0x5f48fe[_0x462a35(0x144)]);return _0x1ad97b[_0x462a35(0x156)]=_0x5f48fe[_0x462a35(0x156)],_0x1ad97b[_0x462a35(0x136)]=_0x5f48fe[_0x462a35(0x12d)],_0x1ad97b;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x9d102c}from'ckeditor5/src/core.js';import{FileRepository as _0x25e3d0}from'ckeditor5/src/upload.js';import _0x54e8fa from'./uploadcareediting.js';import _0x4d9ed6 from'./utils/uploadutils.js';import{getImageUrls as _0xd1a235}from'./utils/editingutils.js';export default class p extends _0x9d102c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25e3d0,_0x54e8fa];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4925f0=this['editor'];if(!!!_0x4925f0['config']['get']('uploadcare'))return;_0x4925f0['plugins']['get'](_0x25e3d0)['createUploadAdapter']=_0x46638c=>new x(_0x46638c,_0x4925f0),_0x4925f0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1529f4,{imageElement:_0x1c4e03,data:_0x3587a3})=>{_0x4925f0['model']['change'](_0x3f7902=>{_0x3f7902['setAttribute']('uploadcareImageId',_0x3587a3['uploadcareImageId'],_0x1c4e03);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x290588,_0x1ab02e){this['loader']=_0x290588,this['editor']=_0x1ab02e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3fe9b7=this['editor']['config']['get']('uploadcare.pubkey'),_0x2d4f58=await this['loader']['file'];return _0x4d9ed6['upload']({'file':_0x2d4f58,'publicKey':_0x3fe9b7,'signal':this['controller']['signal'],'onProgress':_0x35442c=>{_0x35442c&&_0x35442c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x35442c['value']);}})['then'](async _0x45e3b9=>{const {imageFallbackUrl:_0xf8888c,imageSources:_0xc1cdce}=_0xd1a235(_0x45e3b9['cdnUrl'],_0x45e3b9['imageInfo']['width']);return{'uploadcareImageId':_0x45e3b9['uuid'],'default':_0xf8888c,'sources':_0xc1cdce};})['catch'](()=>{const _0x178be0=t('Cannot\x20upload\x20file:')+('\x20'+_0x2d4f58['name']+'.');return Promise['reject'](_0x178be0);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x569849}from'../uploadcareconfig.js';export function getTranslation(_0x4e3b0a,_0x1eb13f,_0x4dd633){const t=_0x4e3b0a['t'],_0x2180a1=_0x4e3b0a['t'];switch(_0x1eb13f){case _0x569849['Local']:return{'text':_0x2180a1('Insert'===_0x4dd633?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2180a1('From\x20computer')};case _0x569849['URL']:return{'text':'Insert'===_0x4dd633?_0x2180a1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2180a1('Via\x20URL')};case _0x569849['Dropbox']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x569849['Facebook']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x569849['GDrive']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x569849['GPhotos']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x569849['OneDrive']:return{'text':t('Insert'===_0x4dd633?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1eb13f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x591d6f=_0x5c2b;function _0x5c2b(_0x30044f,_0x2437d3){var _0x496425=_0x4964();return _0x5c2b=function(_0x5c2b03,_0x37d92d){_0x5c2b03=_0x5c2b03-0x166;var _0x4f369e=_0x496425[_0x5c2b03];return _0x4f369e;},_0x5c2b(_0x30044f,_0x2437d3);}(function(_0x29a15e,_0x10ffca){var _0x4e2d05=_0x5c2b,_0x41964e=_0x29a15e();while(!![]){try{var _0x9d2c69=parseInt(_0x4e2d05(0x169))/0x1+-parseInt(_0x4e2d05(0x168))/0x2+-parseInt(_0x4e2d05(0x171))/0x3+-parseInt(_0x4e2d05(0x166))/0x4+-parseInt(_0x4e2d05(0x172))/0x5+-parseInt(_0x4e2d05(0x16d))/0x6+parseInt(_0x4e2d05(0x174))/0x7;if(_0x9d2c69===_0x10ffca)break;else _0x41964e['push'](_0x41964e['shift']());}catch(_0x265018){_0x41964e['push'](_0x41964e['shift']());}}}(_0x4964,0x76133));import{FocusTracker as _0x22ba17}from'ckeditor5/src/utils.js';import{View as _0x56bff7,FocusCycler as _0x3b68e5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4964(){var _0x53d995=['22765057gTLypa','focusCycler','3865088DPSLmf','createCollection','1919790pFLcTM','46545zdAyvO','forwardCycle','getFocusableElement','bindTemplate','1553484YtCDql','div','fire','focusTracker','573819AsINsa','2193535UqLcXa','true'];_0x4964=function(){return _0x53d995;};return _0x4964();}export default class q extends _0x56bff7{[_0x591d6f(0x170)];[_0x591d6f(0x175)];constructor(_0x535fd9){var _0x2bc914=_0x591d6f;super(_0x535fd9),this[_0x2bc914(0x170)]=new _0x22ba17(),this[_0x2bc914(0x175)]=new _0x3b68e5({'focusables':this[_0x2bc914(0x167)](),'focusTracker':this[_0x2bc914(0x170)]});}[_0x591d6f(0x16b)](){var _0x150f73=_0x591d6f;return{'tag':_0x150f73(0x16e),'attributes':{'aria-hidden':_0x150f73(0x173),'tabindex':'0'},'on':{'focus':this[_0x150f73(0x16c)]['to'](()=>{var _0x597422=_0x150f73;this[_0x597422(0x175)][_0x597422(0x16f)](_0x597422(0x16a));})}};}}
|