@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260107.0 → 0.0.0-nightly-20260108.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/uploadcare.js +1 -1
- package/dist/index.css +4 -4
- 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/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +9 -9
- package/src/augmentation.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.d.ts +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.d.ts +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.d.ts +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.d.ts +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.d.ts +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.d.ts +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.d.ts +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/uploadcare-form.css +1 -1
- package/theme/uploadcare-theme.css +1 -1
- package/theme/uploadcareimageedit.css +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x74c410=_0x5052;(function(_0x2f4d7a,_0x199b00){const _0x1312eb=_0x5052,_0x1d36a2=_0x2f4d7a();while(!![]){try{const _0x312458=-parseInt(_0x1312eb(0x1ed))/0x1*(parseInt(_0x1312eb(0x1ec))/0x2)+parseInt(_0x1312eb(0x1de))/0x3+parseInt(_0x1312eb(0x215))/0x4+-parseInt(_0x1312eb(0x1f4))/0x5+-parseInt(_0x1312eb(0x21b))/0x6*(parseInt(_0x1312eb(0x212))/0x7)+parseInt(_0x1312eb(0x20d))/0x8+-parseInt(_0x1312eb(0x202))/0x9*(-parseInt(_0x1312eb(0x221))/0xa);if(_0x312458===_0x199b00)break;else _0x1d36a2['push'](_0x1d36a2['shift']());}catch(_0x2748ee){_0x1d36a2['push'](_0x1d36a2['shift']());}}}(_0x2188,0x67975));import{Plugin as _0x8a7c83}from'ckeditor5/src/core.js';import{Dialog as _0x198477}from'ckeditor5/src/ui.js';import{createElement as _0x840eea,global as _0x1b4f4b,uid as _0x4eddcf}from'ckeditor5/src/utils.js';function _0x2188(){const _0x41d75f=['\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','body','appendChild','_initCtx','getAttribute','_initConversion','execute','for','ctxElement','206qPGJZw','177MsViLf','model','isOfficialPlugin','uploadcareImageReplace','uploader-','iconHrefResolver','remove','4188400DWKbMB','extend','fromCharCode','contentLanguage','_initSchema','listenTo','cleanupImage','_initImageProcessingIndicator','querySelector','uc-config','editor','once','editing','getSelectedElement','9rkLqzx','PictureEditing','conversion','elementToAttribute','uc-upload-ctx-provider','closeMax','init','attributeToAttribute','UploadcareEditing','upcast','isRegistered','2386016dfODCv','locale','imageInline','map','replaceImageSource','261009BsaNlt','pluginName','_initConfig','1389944gsCXYe','_configElement','config','removeAttribute','true','add','114TOToKL','schema','render','_ctxElement','requires','uploadcare','12248130slKytL','#uc-icon-arrow-down','uploadcare.uploader','imageBlock','data-uc-image-id','document','insertImage','afterInit','join','commands','destroy','view','ucContextId','downcast','uploadcare.pubkey','href','isPremiumPlugin','uploadcareImageId','354366CQZvkV','input[uploadcare-file-input]','get','configElement','selection'];_0x2188=function(){return _0x41d75f;};return _0x2188();}import{UploadcareCommand as _0x36c666}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5c6f13}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x509b29}from'./utils/editingutils.js';function _0x5052(_0x4cb4c3,_0x59b5a9){const _0x218850=_0x2188();return _0x5052=function(_0x505295,_0x16ed7b){_0x505295=_0x505295-0x1d4;let _0x31ff05=_0x218850[_0x505295];return _0x31ff05;},_0x5052(_0x4cb4c3,_0x59b5a9);}export class UploadcareEditing extends _0x8a7c83{[_0x74c410(0x216)]=null;[_0x74c410(0x21e)]=null;static get[_0x74c410(0x213)](){const _0x5adbbe=_0x74c410;return _0x5adbbe(0x20a);}static get[_0x74c410(0x21f)](){const _0x436098=_0x74c410;return[_0x436098(0x203),_0x5c6f13,_0x198477];}static get[_0x74c410(0x1ef)](){return!0x0;}static get[_0x74c410(0x1dc)](){return!0x0;}[_0x74c410(0x1d8)];get[_0x74c410(0x1e1)](){const _0xe15358=_0x74c410;return this[_0xe15358(0x216)];}get[_0x74c410(0x1eb)](){const _0x75c9a6=_0x74c410;return this[_0x75c9a6(0x21e)];}constructor(_0x2f8a81){const _0x53cea1=_0x74c410;super(_0x2f8a81),this[_0x53cea1(0x1d8)]=_0x4eddcf();}[_0x74c410(0x208)](){const _0x37d481=_0x74c410,_0x265e83=this[_0x37d481(0x1fe)];_0x265e83[_0x37d481(0x1d5)][_0x37d481(0x21a)](_0x37d481(0x220),new _0x36c666(_0x265e83));}[_0x74c410(0x228)](){const _0x370550=_0x74c410;this[_0x370550(0x1f8)](),this[_0x370550(0x1e8)](),this[_0x370550(0x214)](),this[_0x370550(0x1e6)](),this[_0x370550(0x1fb)](),this[_0x370550(0x1f9)](this[_0x370550(0x1fe)],_0x370550(0x1d6),()=>{const _0x59c3e0=_0x370550;this[_0x59c3e0(0x216)]&&(this[_0x59c3e0(0x216)][_0x59c3e0(0x1f3)](),this[_0x59c3e0(0x216)]=null),this[_0x59c3e0(0x21e)]&&(this[_0x59c3e0(0x21e)][_0x59c3e0(0x1f3)](),this[_0x59c3e0(0x21e)]=null);const _0x9ff9fe=_0x1b4f4b[_0x59c3e0(0x226)][_0x59c3e0(0x1fc)](_0x59c3e0(0x1df));_0x9ff9fe&&_0x9ff9fe[_0x59c3e0(0x1f3)]();}),async function(_0x1f0d68){const _0x540aff=_0x4609e4([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x478fa8=0x535f8c3a,_0x3c4463=0x5358f21a^_0x478fa8,_0x263d90=window[_0x4609e4([0x44,0x61,0x74,0x65])][_0x4609e4([0x6e,0x6f,0x77])](),_0x5caa5e=_0x1f0d68[_0x4609e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4653fd=new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3476=>{_0x5caa5e[_0x4609e4([0x6f,0x6e,0x63,0x65])](_0x4609e4([0x72,0x65,0x61,0x64,0x79]),_0x1e3476);}),_0x10710d={[_0x4609e4([0x6b,0x74,0x79])]:_0x4609e4([0x45,0x43]),[_0x4609e4([0x75,0x73,0x65])]:_0x4609e4([0x73,0x69,0x67]),[_0x4609e4([0x63,0x72,0x76])]:_0x4609e4([0x50,0x2d,0x32,0x35,0x36]),[_0x4609e4([0x78])]:_0x4609e4([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]),[_0x4609e4([0x79])]:_0x4609e4([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]),[_0x4609e4([0x61,0x6c,0x67])]:_0x4609e4([0x45,0x53,0x32,0x35,0x36])},_0x227b39=_0x5caa5e[_0x4609e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4609e4([0x67,0x65,0x74])](_0x4609e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8f0904(){let _0x386512,_0x3c2424=null,_0x2a52bf=null;try{if(_0x227b39==_0x4609e4([0x47,0x50,0x4c]))return _0x4609e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x386512=_0x3906a0(),!_0x386512)return _0x4609e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x386512[_0x4609e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a52bf=_0x355039(_0x386512[_0x4609e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x386512[_0x4609e4([0x6a,0x74,0x69])])),await _0x240ec5()?_0x45bf9b()?_0x143e31()?_0x4609e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54160a()?(_0x386512[_0x4609e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4609e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c2424=_0x393b21(_0x4609e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x386512[_0x4609e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4609e4([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c2424=_0x393b21(_0x4609e4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1db0ac()):_0x4609e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4609e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4609e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4609e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x143e31(){const _0x3639a9=[_0x4609e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4609e4([0x74,0x72,0x69,0x61,0x6c])][_0x4609e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x386512[_0x4609e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x263d90/0x3e8:0xe10*_0x3c4463;return _0x386512[_0x4609e4([0x65,0x78,0x70])]<_0x3639a9;}function _0x45bf9b(){const _0x10ae45=_0x386512[_0x4609e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10ae45&&(!!_0x10ae45[_0x4609e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4609e4([0x2a]))||!!_0x10ae45[_0x4609e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4609e4([0x55,0x50,0x4c,0x43])));}function _0x54160a(){const _0x21a817=_0x5052,_0x4ea13c=_0x386512[_0x4609e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ea13c||0x0==_0x4ea13c[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58badf}=new URL(window[_0x4609e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21a817(0x1db)]);if(_0x4ea13c[_0x4609e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58badf))return!0x0;const _0x170de0=_0x58badf[_0x4609e4([0x73,0x70,0x6c,0x69,0x74])](_0x4609e4([0x2e]));return _0x4ea13c[_0x4609e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x137d3a=>_0x137d3a[_0x4609e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4609e4([0x2a])))[_0x4609e4([0x6d,0x61,0x70])](_0x763328=>_0x763328[_0x4609e4([0x73,0x70,0x6c,0x69,0x74])](_0x4609e4([0x2e])))[_0x4609e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a25ed=>_0x1a25ed[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x170de0[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4609e4([0x6d,0x61,0x70])](_0x5708d9=>Array(_0x170de0[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5708d9[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4609e4([0x66,0x69,0x6c,0x6c])](_0x5708d9[0x0]===_0x4609e4([0x2a])?_0x4609e4([0x2a]):'')[_0x4609e4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5708d9))[_0x4609e4([0x73,0x6f,0x6d,0x65])](_0x597ed2=>_0x170de0[_0x4609e4([0x65,0x76,0x65,0x72,0x79])]((_0x419733,_0x26b13e)=>_0x597ed2[_0x26b13e]===_0x419733||_0x597ed2[_0x26b13e]===_0x4609e4([0x2a])));}function _0x1db0ac(){return _0x3c2424&&_0x2a52bf?new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e01c1,_0x4fbafb)=>{_0x3c2424[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x4e01c1,_0x4fbafb),_0x2a52bf[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x431f67=>{_0x431f67!=_0x4609e4([0x56,0x61,0x6c,0x69,0x64])&&_0x4e01c1(_0x431f67);},_0x4fbafb);}):_0x3c2424||_0x2a52bf||_0x4609e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x355039(_0x505c85,_0x3fabd0){return new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18184f=>{if(_0x1b3381())return _0x18184f(_0x4609e4([0x56,0x61,0x6c,0x69,0x64]));_0xec57bd(),_0x5caa5e[_0x4609e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4609e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26d3bc=!0x1;const _0x434409=_0x4eddcf();function _0x4fff5f(_0x2974f9){return!!_0x2974f9&&(typeof _0x2974f9===_0x4609e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2974f9===_0x4609e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2974f9[_0x4609e4([0x74,0x68,0x65,0x6e])]===_0x4609e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2974f9[_0x4609e4([0x63,0x61,0x74,0x63,0x68])]===_0x4609e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a2777(_0x318967){_0x22e93f(_0x318967)[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x2f5185=>{if(!_0x2f5185||_0x2f5185[_0x4609e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4609e4([0x6f,0x6b]))return _0x4609e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b9a90(_0x34b939(_0x434409+_0x3fabd0))!=_0x2f5185[_0x4609e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4609e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4609e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x4d41a9=>(_0x33faf5(),_0x4d41a9),()=>{const _0x199eb4=_0x156fe9();return null==_0x199eb4?(_0x33faf5(),_0x4609e4([0x56,0x61,0x6c,0x69,0x64])):_0x4609e4(_0x263d90-_0x199eb4>(0x7753083a^_0x478fa8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x18184f)[_0x4609e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18184f(_0x4609e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22ccd5=0x536962ba^_0x478fa8;function _0x33faf5(){const _0x2ea674=_0x4609e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9a90(_0x34b939(_0x505c85)),_0x2392b0=_0x245c3f(_0x1b9a90(window[_0x4609e4([0x4d,0x61,0x74,0x68])][_0x4609e4([0x63,0x65,0x69,0x6c])](_0x263d90/_0x22ccd5)));window[_0x4609e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4609e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ea674,_0x2392b0);}function _0x156fe9(){const _0x470e04=_0x4609e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9a90(_0x34b939(_0x505c85)),_0x52bf15=window[_0x4609e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4609e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x470e04);return _0x52bf15?window[_0x4609e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x245c3f(_0x52bf15),0x10)*_0x22ccd5:null;}function _0x22e93f(_0x3445f5){return new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32972f,_0x53f7d8)=>{_0x3445f5[_0x4609e4([0x74,0x68,0x65,0x6e])](_0x32972f,_0x53f7d8),window[_0x4609e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53f7d8,0x535e58fa^_0x478fa8);});}}_0x5caa5e[_0x4609e4([0x6f,0x6e])](_0x4609e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e6853,_0x36792d)=>{if(_0x36792d[0x0]!=_0x505c85)return _0x18184f(_0x4609e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36792d[0x1]={..._0x36792d[0x1],[_0x4609e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x434409};},{[_0x4609e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4609e4([0x68,0x69,0x67,0x68])}),_0x5caa5e[_0x4609e4([0x6f,0x6e])](_0x4609e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4202d6=>{_0x4fff5f(_0x4202d6[_0x4609e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26d3bc=!0x0,_0x4a2777(_0x4202d6[_0x4609e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4609e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4609e4([0x6c,0x6f,0x77])}),_0x4653fd[_0x4609e4([0x74,0x68,0x65,0x6e])](()=>{_0x26d3bc||_0x18184f(_0x4609e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b3381(){return _0x5caa5e[_0x4609e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4609e4([0x76,0x69,0x65,0x77])][_0x4609e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4609e4([0x61,0x75,0x74,0x6f]);}function _0xec57bd(){_0x5caa5e[_0x4609e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4609e4([0x76,0x69,0x65,0x77])][_0x4609e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4609e4([0x61,0x75,0x74,0x6f]);}}function _0x393b21(_0x39506f){const _0x17de54=[new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e4838=>setTimeout(_0x1e4838,0x5356b2f6^_0x478fa8)),_0x4653fd[_0x4609e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5866f7=>{let _0x51c7e5=0x0;_0x5caa5e[_0x4609e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4609e4([0x6f,0x6e])](_0x4609e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4aa38e,_0x86bd5a)=>{_0x86bd5a[0x0][_0x4609e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51c7e5++,_0x51c7e5==(0x535f89d2^_0x478fa8)&&(_0x5866f7(),_0x4aa38e[_0x4609e4([0x6f,0x66,0x66])]());});}))];return window[_0x4609e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4609e4([0x72,0x61,0x63,0x65])](_0x17de54)[_0x4609e4([0x74,0x68,0x65,0x6e])](()=>_0x39506f);}async function _0x2fe959(){await _0x4653fd,_0x5caa5e[_0x4609e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4609e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5689a2,_0x5caa5e[_0x4609e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4609e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5689a2,_0x5caa5e[_0x4609e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4609e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d9d2(_0x163c8f){const _0x1a3eb4=_0x217fbe();_0x5caa5e[_0x1a3eb4]=_0x4609e4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x163c8f,_0x163c8f!=_0x4609e4([0x56,0x61,0x6c,0x69,0x64])&&_0x2fe959();}function _0x217fbe(){const _0x5f0799=window[_0x4609e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4609e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4609e4([0x6e,0x6f,0x77])]())[_0x4609e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4609e4([0x2e]),'');let _0x234de8=_0x4609e4([0x68]);for(let _0x5d3190=0x0;_0x5d3190<_0x5f0799[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d3190+=0x2){let _0x14acb1=window[_0x4609e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0799[_0x4609e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d3190,_0x5d3190+0x2));_0x14acb1>=_0x540aff[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14acb1-=_0x540aff[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x234de8+=_0x540aff[_0x14acb1];}return _0x234de8;}function _0x3906a0(){const _0x114e88=_0x227b39[_0x4609e4([0x73,0x70,0x6c,0x69,0x74])](_0x4609e4([0x2e]));if(0x3!=_0x114e88[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2cee32(_0x114e88[0x1]);function _0x2cee32(_0x24feaa){const _0x4ab6fe=_0x4fa41a(_0x24feaa);return _0x4ab6fe&&_0x116fa6()?_0x4ab6fe:null;function _0x116fa6(){const _0x5cb300=_0x4ab6fe[_0x4609e4([0x6a,0x74,0x69])],_0x1e2f3d=window[_0x4609e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cb300[_0x4609e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cb300[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c72ae={..._0x4ab6fe,[_0x4609e4([0x6a,0x74,0x69])]:_0x5cb300[_0x4609e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cb300[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c72ae[_0x4609e4([0x76,0x63])],_0x34b939(_0x5c72ae)==_0x1e2f3d;}}}async function _0x240ec5(){let _0x2d0c09=!0x0;try{const _0x3883ea=_0x227b39[_0x4609e4([0x73,0x70,0x6c,0x69,0x74])](_0x4609e4([0x2e])),[_0x3501c5,_0x4070d8,_0x26a460]=_0x3883ea;return _0x283123(_0x3501c5),await _0x26cff4(_0x3501c5,_0x4070d8,_0x26a460),_0x2d0c09;}catch{return!0x1;}function _0x283123(_0x416e51){const _0x5ac813=_0x4fa41a(_0x416e51);_0x5ac813&&_0x5ac813[_0x4609e4([0x61,0x6c,0x67])]==_0x4609e4([0x45,0x53,0x32,0x35,0x36])||(_0x2d0c09=!0x1);}async function _0x26cff4(_0x166069,_0x1f20af,_0x22b586){const _0x2f83dc=window[_0x4609e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4609e4([0x66,0x72,0x6f,0x6d])](_0x5a458a(_0x22b586),_0x14d54f=>_0x14d54f[_0x4609e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x267d8f=new window[(_0x4609e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4609e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x166069+_0x4609e4([0x2e])+_0x1f20af),_0x1fd0f5=window[_0x4609e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4609e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fd0f5)return;const _0x8e67f7=await _0x1fd0f5[_0x4609e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4609e4([0x6a,0x77,0x6b]),_0x10710d,{[_0x4609e4([0x6e,0x61,0x6d,0x65])]:_0x4609e4([0x45,0x43,0x44,0x53,0x41]),[_0x4609e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4609e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4609e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fd0f5[_0x4609e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4609e4([0x6e,0x61,0x6d,0x65])]:_0x4609e4([0x45,0x43,0x44,0x53,0x41]),[_0x4609e4([0x68,0x61,0x73,0x68])]:{[_0x4609e4([0x6e,0x61,0x6d,0x65])]:_0x4609e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8e67f7,_0x2f83dc,_0x267d8f)||(_0x2d0c09=!0x1);}}function _0x4fa41a(_0x2adaf0){return _0x2adaf0[_0x4609e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4609e4([0x65,0x79]))?JSON[_0x4609e4([0x70,0x61,0x72,0x73,0x65])](_0x5a458a(_0x2adaf0)):null;}function _0x5a458a(_0x4d7cf7){return window[_0x4609e4([0x61,0x74,0x6f,0x62])](_0x4d7cf7[_0x4609e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4609e4([0x2b]))[_0x4609e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4609e4([0x2f])));}function _0x34b939(_0x259b7e){let _0x7672b0=0x1505;function _0x1e7227(_0x42972e){for(let _0x107a62=0x0;_0x107a62<_0x42972e[_0x4609e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x107a62++){const _0x287ced=_0x42972e[_0x4609e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x107a62);_0x7672b0=(_0x7672b0<<0x5)+_0x7672b0+_0x287ced,_0x7672b0&=_0x7672b0;}}function _0xe79984(_0x410d8d){Array[_0x4609e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x410d8d)?_0x410d8d[_0x4609e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe79984):_0x410d8d&&typeof _0x410d8d==_0x4609e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4609e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x410d8d)[_0x4609e4([0x73,0x6f,0x72,0x74])]()[_0x4609e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x510566,_0x110a99])=>{_0x1e7227(_0x510566),_0xe79984(_0x110a99);}):_0x1e7227(window[_0x4609e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x410d8d));}return _0xe79984(_0x259b7e),_0x7672b0>>>0x0;}function _0x1b9a90(_0x16b019){return _0x16b019[_0x4609e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4609e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4609e4([0x30]));}function _0x245c3f(_0x33eb50){return _0x33eb50[_0x4609e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4609e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4609e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x5689a2(){}function _0x4609e4(_0x55a1c6){const _0x3ef467=_0x5052;return _0x55a1c6[_0x3ef467(0x210)](_0x371ae2=>String[_0x3ef467(0x1f6)](_0x371ae2))[_0x3ef467(0x1d4)]('');}_0x19d9d2(await _0x8f0904());}(this);}[_0x74c410(0x1f8)](){const _0x4f1e74=_0x74c410,_0xbff8af=this[_0x4f1e74(0x1fe)][_0x4f1e74(0x1ee)][_0x4f1e74(0x21c)];_0xbff8af[_0x4f1e74(0x20c)](_0x4f1e74(0x224))&&_0xbff8af[_0x4f1e74(0x1f5)](_0x4f1e74(0x224),{'allowAttributes':[_0x4f1e74(0x1dd)]}),_0xbff8af[_0x4f1e74(0x20c)](_0x4f1e74(0x20f))&&_0xbff8af[_0x4f1e74(0x1f5)](_0x4f1e74(0x20f),{'allowAttributes':[_0x4f1e74(0x1dd)]});}[_0x74c410(0x1e8)](){const _0x4b1d22=_0x74c410,_0x1d0d87=this[_0x4b1d22(0x1fe)];_0x1d0d87[_0x4b1d22(0x204)][_0x4b1d22(0x1ea)](_0x4b1d22(0x1d9))[_0x4b1d22(0x209)]({'model':_0x4b1d22(0x1dd),'view':_0x4b1d22(0x225)}),_0x1d0d87[_0x4b1d22(0x204)][_0x4b1d22(0x1ea)](_0x4b1d22(0x20b))[_0x4b1d22(0x205)]({'model':{'key':_0x4b1d22(0x1dd),'value':_0x382e5f=>_0x382e5f[_0x4b1d22(0x1e7)](_0x4b1d22(0x225))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x445e92=_0x1d0d87[_0x4b1d22(0x1d5)][_0x4b1d22(0x1e0)](_0x4b1d22(0x211));_0x445e92&&this[_0x4b1d22(0x1f9)](_0x445e92,_0x4b1d22(0x1fa),(_0x1d2635,[_0x4e178e,_0x2b73e0])=>{const _0x336f59=_0x4b1d22;_0x4e178e[_0x336f59(0x218)](_0x336f59(0x1dd),_0x2b73e0);});}[_0x74c410(0x214)](){const _0x29437d=_0x74c410,_0x341fcd=this[_0x29437d(0x1fe)][_0x29437d(0x217)][_0x29437d(0x1e0)](_0x29437d(0x223))||{},_0x5818fd=this[_0x29437d(0x1fe)][_0x29437d(0x217)][_0x29437d(0x1e0)](_0x29437d(0x1da))||'';this[_0x29437d(0x216)]=_0x840eea(_0x1b4f4b[_0x29437d(0x226)],_0x29437d(0x1fd),{..._0x341fcd,'pubkey':_0x5818fd,'ctx-name':_0x29437d(0x1f1)+this[_0x29437d(0x1d8)],'sourceList':'','imgOnly':_0x29437d(0x219),'removeCopyright':_0x29437d(0x219),'localeName':this[_0x29437d(0x1fe)][_0x29437d(0x20e)][_0x29437d(0x1f7)],'externalSourcesEmbedCss':_0x29437d(0x1e3)}),this[_0x29437d(0x216)][_0x29437d(0x1f2)]=_0x298bd1=>{const _0xacafd0=_0x29437d;if(_0xacafd0(0x207)==_0x298bd1)return _0xacafd0(0x222);},_0x1b4f4b[_0x29437d(0x226)][_0x29437d(0x1e4)][_0x29437d(0x1e5)](this[_0x29437d(0x216)]);}[_0x74c410(0x1e6)](){const _0x591409=_0x74c410;this[_0x591409(0x21e)]=_0x840eea(_0x1b4f4b[_0x591409(0x226)],_0x591409(0x206),{'ctx-name':_0x591409(0x1f1)+this[_0x591409(0x1d8)]}),_0x1b4f4b[_0x591409(0x226)][_0x591409(0x1e4)][_0x591409(0x1e5)](this[_0x591409(0x21e)]);}[_0x74c410(0x1fb)](){const _0x7dee32=_0x74c410,_0x514cff=this[_0x7dee32(0x1fe)][_0x7dee32(0x1d5)][_0x7dee32(0x1e0)](_0x7dee32(0x227));_0x514cff&&this[_0x7dee32(0x1f9)](_0x514cff,_0x7dee32(0x1e9),()=>{const _0x109f72=_0x7dee32,_0x16c12e=this[_0x109f72(0x1fe)][_0x109f72(0x1ee)][_0x109f72(0x226)][_0x109f72(0x1e2)][_0x109f72(0x201)]();_0x16c12e&&_0x16c12e[_0x109f72(0x1e7)](_0x109f72(0x1dd))&&this[_0x109f72(0x1fe)][_0x109f72(0x200)][_0x109f72(0x1d7)][_0x109f72(0x1ff)](_0x109f72(0x21d),()=>{const _0x1869f9=_0x109f72;_0x509b29(this[_0x1869f9(0x1fe)],_0x16c12e);});});const _0x524a77=this[_0x7dee32(0x1fe)][_0x7dee32(0x1d5)][_0x7dee32(0x1e0)](_0x7dee32(0x1f0));_0x524a77&&this[_0x7dee32(0x1f9)](_0x524a77,_0x7dee32(0x1e9),()=>{const _0x50b358=_0x7dee32,_0x4cd3cb=this[_0x50b358(0x1fe)][_0x50b358(0x1ee)][_0x50b358(0x226)][_0x50b358(0x1e2)][_0x50b358(0x201)]();_0x4cd3cb&&_0x4cd3cb[_0x50b358(0x1e7)](_0x50b358(0x1dd))&&this[_0x50b358(0x1fe)][_0x50b358(0x200)][_0x50b358(0x1d7)][_0x50b358(0x1ff)](_0x50b358(0x21d),()=>{const _0x47c6af=_0x50b358;_0x509b29(this[_0x47c6af(0x1fe)],_0x4cd3cb);});});}}
|
|
23
|
+
const _0x398f3e=_0x4bc6;(function(_0x1fbdc2,_0x5ad5a9){const _0x2ca909=_0x4bc6,_0x5a6c96=_0x1fbdc2();while(!![]){try{const _0x1cf589=-parseInt(_0x2ca909(0x139))/0x1*(-parseInt(_0x2ca909(0x10a))/0x2)+-parseInt(_0x2ca909(0x112))/0x3+-parseInt(_0x2ca909(0x11a))/0x4+-parseInt(_0x2ca909(0xff))/0x5+parseInt(_0x2ca909(0x117))/0x6*(parseInt(_0x2ca909(0x11c))/0x7)+parseInt(_0x2ca909(0x146))/0x8+-parseInt(_0x2ca909(0x12a))/0x9;if(_0x1cf589===_0x5ad5a9)break;else _0x5a6c96['push'](_0x5a6c96['shift']());}catch(_0x159271){_0x5a6c96['push'](_0x5a6c96['shift']());}}}(_0x518f,0x51621));import{Plugin as _0x47904d}from'ckeditor5/src/core.js';function _0x4bc6(_0x1f737e,_0x58c968){const _0x518f88=_0x518f();return _0x4bc6=function(_0x4bc637,_0x4d5c50){_0x4bc637=_0x4bc637-0xff;let _0x4692d0=_0x518f88[_0x4bc637];return _0x4692d0;},_0x4bc6(_0x1f737e,_0x58c968);}import{Dialog as _0x282810}from'ckeditor5/src/ui.js';function _0x518f(){const _0x3c9c35=['ucContextId','data-uc-image-id','remove','map','uc-config','UploadcareEditing','PictureEditing','listenTo','4357701MOerbU','insertImage','model','ctxElement','afterInit','getSelectedElement','for','extend','selection','iconHrefResolver','add','requires','get','closeMax','schema','77611LGnBqr','_initConfig','init','_configElement','contentLanguage','imageBlock','href','isRegistered','_initCtx','locale','uploadcare.pubkey','\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','cleanupImage','2622320mEQrLf','editing','body','querySelector','destroy','uploadcare.uploader','isPremiumPlugin','uploader-','uploadcare','join','uploadcareImageReplace','fromCharCode','imageInline','274985OqpvKE','commands','execute','#uc-icon-arrow-down','input[uploadcare-file-input]','uploadcareImageId','once','isOfficialPlugin','_initConversion','replaceImageSource','view','16VFsvmD','_ctxElement','upcast','_initImageProcessingIndicator','configElement','document','config','uc-upload-ctx-provider','947142MYIfUH','attributeToAttribute','_initSchema','elementToAttribute','removeAttribute','12zVtTWu','render','appendChild','71996gLCwtg','downcast','901481VZIpix','pluginName','getAttribute','conversion','editor','true'];_0x518f=function(){return _0x3c9c35;};return _0x518f();}import{createElement as _0x1cafd0,global as _0x3d7655,uid as _0xfcdf71}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xfe9d0c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x47da0f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2eed29}from'./utils/editingutils.js';export class UploadcareEditing extends _0x47904d{[_0x398f3e(0x13c)]=null;[_0x398f3e(0x10b)]=null;static get[_0x398f3e(0x11d)](){const _0x4743af=_0x398f3e;return _0x4743af(0x127);}static get[_0x398f3e(0x135)](){const _0x247d92=_0x398f3e;return[_0x247d92(0x128),_0x47da0f,_0x282810];}static get[_0x398f3e(0x106)](){return!0x0;}static get[_0x398f3e(0x14c)](){return!0x0;}[_0x398f3e(0x122)];get[_0x398f3e(0x10e)](){const _0xd3a7ed=_0x398f3e;return this[_0xd3a7ed(0x13c)];}get[_0x398f3e(0x12d)](){const _0x130d97=_0x398f3e;return this[_0x130d97(0x10b)];}constructor(_0x25ae54){const _0x32ded4=_0x398f3e;super(_0x25ae54),this[_0x32ded4(0x122)]=_0xfcdf71();}[_0x398f3e(0x13b)](){const _0x521795=_0x398f3e,_0x5d146f=this[_0x521795(0x120)];_0x5d146f[_0x521795(0x100)][_0x521795(0x134)](_0x521795(0x14e),new _0xfe9d0c(_0x5d146f));}[_0x398f3e(0x12e)](){const _0x1830a1=_0x398f3e;this[_0x1830a1(0x114)](),this[_0x1830a1(0x107)](),this[_0x1830a1(0x13a)](),this[_0x1830a1(0x141)](),this[_0x1830a1(0x10d)](),this[_0x1830a1(0x129)](this[_0x1830a1(0x120)],_0x1830a1(0x14a),()=>{const _0x1aaf59=_0x1830a1;this[_0x1aaf59(0x13c)]&&(this[_0x1aaf59(0x13c)][_0x1aaf59(0x124)](),this[_0x1aaf59(0x13c)]=null),this[_0x1aaf59(0x10b)]&&(this[_0x1aaf59(0x10b)][_0x1aaf59(0x124)](),this[_0x1aaf59(0x10b)]=null);const _0x23225d=_0x3d7655[_0x1aaf59(0x10f)][_0x1aaf59(0x149)](_0x1aaf59(0x103));_0x23225d&&_0x23225d[_0x1aaf59(0x124)]();}),async function(_0x178025){const _0x120a7c=_0x5afb2d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x7fc0d1=0x535f8c3a,_0x1756da=0x5358f202^_0x7fc0d1,_0x4d18fe=window[_0x5afb2d([0x44,0x61,0x74,0x65])][_0x5afb2d([0x6e,0x6f,0x77])](),_0x5356eb=_0x178025[_0x5afb2d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c55ec=new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2505c5=>{_0x5356eb[_0x5afb2d([0x6f,0x6e,0x63,0x65])](_0x5afb2d([0x72,0x65,0x61,0x64,0x79]),_0x2505c5);}),_0x2b2e43={[_0x5afb2d([0x6b,0x74,0x79])]:_0x5afb2d([0x45,0x43]),[_0x5afb2d([0x75,0x73,0x65])]:_0x5afb2d([0x73,0x69,0x67]),[_0x5afb2d([0x63,0x72,0x76])]:_0x5afb2d([0x50,0x2d,0x32,0x35,0x36]),[_0x5afb2d([0x78])]:_0x5afb2d([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]),[_0x5afb2d([0x79])]:_0x5afb2d([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]),[_0x5afb2d([0x61,0x6c,0x67])]:_0x5afb2d([0x45,0x53,0x32,0x35,0x36])},_0x23a460=_0x5356eb[_0x5afb2d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5afb2d([0x67,0x65,0x74])](_0x5afb2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2800(){let _0x3e07e2,_0x4aff14=null,_0x2455ec=null;try{if(_0x23a460==_0x5afb2d([0x47,0x50,0x4c]))return _0x5afb2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e07e2=_0x5ec3da(),!_0x3e07e2)return _0x5afb2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e07e2[_0x5afb2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2455ec=_0x5d464c(_0x3e07e2[_0x5afb2d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e07e2[_0x5afb2d([0x6a,0x74,0x69])])),await _0x8dfcfe()?_0x5d1e0e()?_0x2c3652()?_0x5afb2d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c71c3()?(_0x3e07e2[_0x5afb2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5afb2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4aff14=_0x30f373(_0x5afb2d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a1f97()):_0x5afb2d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5afb2d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5afb2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5afb2d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c3652(){const _0x5376e8=[_0x5afb2d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5afb2d([0x74,0x72,0x69,0x61,0x6c])][_0x5afb2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e07e2[_0x5afb2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d18fe/0x3e8:0xe10*_0x1756da;return _0x3e07e2[_0x5afb2d([0x65,0x78,0x70])]<_0x5376e8;}function _0x5d1e0e(){const _0x40627a=_0x3e07e2[_0x5afb2d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40627a&&(!!_0x40627a[_0x5afb2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afb2d([0x2a]))||!!_0x40627a[_0x5afb2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afb2d([0x55,0x50,0x4c,0x43])));}function _0x2c71c3(){const _0x2ceb3b=_0x4bc6,_0x12d0d6=_0x3e07e2[_0x5afb2d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12d0d6||0x0==_0x12d0d6[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x357780}=new URL(window[_0x5afb2d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ceb3b(0x13f)]);if(_0x12d0d6[_0x5afb2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x357780))return!0x0;const _0x605583=_0x357780[_0x5afb2d([0x73,0x70,0x6c,0x69,0x74])](_0x5afb2d([0x2e]));return _0x12d0d6[_0x5afb2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181f5b=>_0x181f5b[_0x5afb2d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5afb2d([0x2a])))[_0x5afb2d([0x6d,0x61,0x70])](_0x1e091e=>_0x1e091e[_0x5afb2d([0x73,0x70,0x6c,0x69,0x74])](_0x5afb2d([0x2e])))[_0x5afb2d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5314e6=>_0x5314e6[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x605583[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5afb2d([0x6d,0x61,0x70])](_0x61752a=>Array(_0x605583[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x61752a[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5afb2d([0x66,0x69,0x6c,0x6c])](_0x61752a[0x0]===_0x5afb2d([0x2a])?_0x5afb2d([0x2a]):'')[_0x5afb2d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x61752a))[_0x5afb2d([0x73,0x6f,0x6d,0x65])](_0x3e025c=>_0x605583[_0x5afb2d([0x65,0x76,0x65,0x72,0x79])]((_0x394ebd,_0x331c72)=>_0x3e025c[_0x331c72]===_0x394ebd||_0x3e025c[_0x331c72]===_0x5afb2d([0x2a])));}function _0x4a1f97(){return _0x4aff14&&_0x2455ec?new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29d02b,_0x3658ec)=>{_0x4aff14[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x29d02b,_0x3658ec),_0x2455ec[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x4b57bd=>{_0x4b57bd!=_0x5afb2d([0x56,0x61,0x6c,0x69,0x64])&&_0x29d02b(_0x4b57bd);},_0x3658ec);}):_0x4aff14||_0x2455ec||_0x5afb2d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d464c(_0x24637c,_0x7266bb){return new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5495=>{if(_0x52c952())return _0x1a5495(_0x5afb2d([0x56,0x61,0x6c,0x69,0x64]));_0x4cab2c(),_0x5356eb[_0x5afb2d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5afb2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48a74b=!0x1;const _0x1adb0e=_0xfcdf71();function _0x22a679(_0x399e21){return!!_0x399e21&&(typeof _0x399e21===_0x5afb2d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x399e21===_0x5afb2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x399e21[_0x5afb2d([0x74,0x68,0x65,0x6e])]===_0x5afb2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x399e21[_0x5afb2d([0x63,0x61,0x74,0x63,0x68])]===_0x5afb2d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a285a(_0x58b234){_0x32f29b(_0x58b234)[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x5a5f1a=>{if(!_0x5a5f1a||_0x5a5f1a[_0x5afb2d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5afb2d([0x6f,0x6b]))return _0x5afb2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19efb8(_0x1b3ed7(_0x1adb0e+_0x7266bb))!=_0x5a5f1a[_0x5afb2d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5afb2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5afb2d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x511b95=>(_0x3b6dc5(),_0x511b95),()=>{const _0xc87ff7=_0x4327f2();return null==_0xc87ff7?(_0x3b6dc5(),_0x5afb2d([0x56,0x61,0x6c,0x69,0x64])):_0x5afb2d(_0x4d18fe-_0xc87ff7>(0x7753083a^_0x7fc0d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x1a5495)[_0x5afb2d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a5495(_0x5afb2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31c8e2=0x536962ba^_0x7fc0d1;function _0x3b6dc5(){const _0x602209=_0x5afb2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x19efb8(_0x1b3ed7(_0x24637c)),_0x3bdbea=_0x26a085(_0x19efb8(window[_0x5afb2d([0x4d,0x61,0x74,0x68])][_0x5afb2d([0x63,0x65,0x69,0x6c])](_0x4d18fe/_0x31c8e2)));window[_0x5afb2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5afb2d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x602209,_0x3bdbea);}function _0x4327f2(){const _0x44129a=_0x5afb2d([0x6c,0x6c,0x63,0x74,0x2d])+_0x19efb8(_0x1b3ed7(_0x24637c)),_0x416569=window[_0x5afb2d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5afb2d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44129a);return _0x416569?window[_0x5afb2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26a085(_0x416569),0x10)*_0x31c8e2:null;}function _0x32f29b(_0xbbe098){return new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4389a2,_0x509929)=>{_0xbbe098[_0x5afb2d([0x74,0x68,0x65,0x6e])](_0x4389a2,_0x509929),window[_0x5afb2d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x509929,0x535e58fa^_0x7fc0d1);});}}_0x5356eb[_0x5afb2d([0x6f,0x6e])](_0x5afb2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9160f2,_0x20f247)=>{if(_0x20f247[0x0]!=_0x24637c)return _0x1a5495(_0x5afb2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20f247[0x1]={..._0x20f247[0x1],[_0x5afb2d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1adb0e};},{[_0x5afb2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5afb2d([0x68,0x69,0x67,0x68])}),_0x5356eb[_0x5afb2d([0x6f,0x6e])](_0x5afb2d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29b0c6=>{_0x22a679(_0x29b0c6[_0x5afb2d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48a74b=!0x0,_0x5a285a(_0x29b0c6[_0x5afb2d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5afb2d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5afb2d([0x6c,0x6f,0x77])}),_0x3c55ec[_0x5afb2d([0x74,0x68,0x65,0x6e])](()=>{_0x48a74b||_0x1a5495(_0x5afb2d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52c952(){return _0x5356eb[_0x5afb2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5afb2d([0x76,0x69,0x65,0x77])][_0x5afb2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5afb2d([0x61,0x75,0x74,0x6f]);}function _0x4cab2c(){_0x5356eb[_0x5afb2d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5afb2d([0x76,0x69,0x65,0x77])][_0x5afb2d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5afb2d([0x61,0x75,0x74,0x6f]);}}function _0x30f373(_0x261646){const _0x2621b1=[new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410225=>setTimeout(_0x410225,0x5356b2f6^_0x7fc0d1)),_0x3c55ec[_0x5afb2d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x335af0=>{let _0x4cd5b3=0x0;_0x5356eb[_0x5afb2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb2d([0x6f,0x6e])](_0x5afb2d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3719d2,_0x43d577)=>{_0x43d577[0x0][_0x5afb2d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cd5b3++,_0x4cd5b3==(0x535f89d2^_0x7fc0d1)&&(_0x335af0(),_0x3719d2[_0x5afb2d([0x6f,0x66,0x66])]());});}))];return window[_0x5afb2d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5afb2d([0x72,0x61,0x63,0x65])](_0x2621b1)[_0x5afb2d([0x74,0x68,0x65,0x6e])](()=>_0x261646);}async function _0x35460d(){await _0x3c55ec,_0x5356eb[_0x5afb2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb2d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x202239,_0x5356eb[_0x5afb2d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb2d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x202239,_0x5356eb[_0x5afb2d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afb2d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d0a36(_0x1042ea){const _0x55abff=_0x55b61a();_0x5356eb[_0x55abff]=_0x5afb2d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1042ea,_0x1042ea!=_0x5afb2d([0x56,0x61,0x6c,0x69,0x64])&&_0x35460d();}function _0x55b61a(){const _0xfbbeb9=window[_0x5afb2d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5afb2d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5afb2d([0x6e,0x6f,0x77])]())[_0x5afb2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5afb2d([0x2e]),'');let _0x872516=_0x5afb2d([0x68]);for(let _0x272636=0x0;_0x272636<_0xfbbeb9[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x272636+=0x2){let _0x268242=window[_0x5afb2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfbbeb9[_0x5afb2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x272636,_0x272636+0x2));_0x268242>=_0x120a7c[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x268242-=_0x120a7c[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x872516+=_0x120a7c[_0x268242];}return _0x872516;}function _0x5ec3da(){const _0x8d854a=_0x23a460[_0x5afb2d([0x73,0x70,0x6c,0x69,0x74])](_0x5afb2d([0x2e]));if(0x3!=_0x8d854a[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x16cb9b(_0x8d854a[0x1]);function _0x16cb9b(_0x168a24){const _0x263337=_0x1d12c2(_0x168a24);return _0x263337&&_0x3c5dce()?_0x263337:null;function _0x3c5dce(){const _0x2c3eac=_0x263337[_0x5afb2d([0x6a,0x74,0x69])],_0x4529cc=window[_0x5afb2d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c3eac[_0x5afb2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3eac[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dbbac={..._0x263337,[_0x5afb2d([0x6a,0x74,0x69])]:_0x2c3eac[_0x5afb2d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c3eac[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dbbac[_0x5afb2d([0x76,0x63])],_0x1b3ed7(_0x2dbbac)==_0x4529cc;}}}async function _0x8dfcfe(){let _0x1a1a1d=!0x0;try{const _0x2f3d95=_0x23a460[_0x5afb2d([0x73,0x70,0x6c,0x69,0x74])](_0x5afb2d([0x2e])),[_0x3fac9a,_0x4a09fc,_0x36c4f8]=_0x2f3d95;return _0x1664b5(_0x3fac9a),await _0x129897(_0x3fac9a,_0x4a09fc,_0x36c4f8),_0x1a1a1d;}catch{return!0x1;}function _0x1664b5(_0x3b2923){const _0x1d27f2=_0x1d12c2(_0x3b2923);_0x1d27f2&&_0x1d27f2[_0x5afb2d([0x61,0x6c,0x67])]==_0x5afb2d([0x45,0x53,0x32,0x35,0x36])||(_0x1a1a1d=!0x1);}async function _0x129897(_0x5acecf,_0x58b6d8,_0x3ad518){const _0x1c1c50=window[_0x5afb2d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5afb2d([0x66,0x72,0x6f,0x6d])](_0x43bb94(_0x3ad518),_0x30f70a=>_0x30f70a[_0x5afb2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x162890=new window[(_0x5afb2d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5afb2d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5acecf+_0x5afb2d([0x2e])+_0x58b6d8),_0x2b4d19=window[_0x5afb2d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5afb2d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b4d19)return;const _0x17d23d=await _0x2b4d19[_0x5afb2d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5afb2d([0x6a,0x77,0x6b]),_0x2b2e43,{[_0x5afb2d([0x6e,0x61,0x6d,0x65])]:_0x5afb2d([0x45,0x43,0x44,0x53,0x41]),[_0x5afb2d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5afb2d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5afb2d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b4d19[_0x5afb2d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5afb2d([0x6e,0x61,0x6d,0x65])]:_0x5afb2d([0x45,0x43,0x44,0x53,0x41]),[_0x5afb2d([0x68,0x61,0x73,0x68])]:{[_0x5afb2d([0x6e,0x61,0x6d,0x65])]:_0x5afb2d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17d23d,_0x1c1c50,_0x162890)||(_0x1a1a1d=!0x1);}}function _0x1d12c2(_0x5dbce9){return _0x5dbce9[_0x5afb2d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5afb2d([0x65,0x79]))?JSON[_0x5afb2d([0x70,0x61,0x72,0x73,0x65])](_0x43bb94(_0x5dbce9)):null;}function _0x43bb94(_0x12fd8d){return window[_0x5afb2d([0x61,0x74,0x6f,0x62])](_0x12fd8d[_0x5afb2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5afb2d([0x2b]))[_0x5afb2d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5afb2d([0x2f])));}function _0x1b3ed7(_0x4f9d1d){let _0x5310d6=0x1505;function _0x27875c(_0x58bafb){for(let _0x462a88=0x0;_0x462a88<_0x58bafb[_0x5afb2d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x462a88++){const _0x4a61f1=_0x58bafb[_0x5afb2d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x462a88);_0x5310d6=(_0x5310d6<<0x5)+_0x5310d6+_0x4a61f1,_0x5310d6&=_0x5310d6;}}function _0x26e059(_0x3c3b93){Array[_0x5afb2d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c3b93)?_0x3c3b93[_0x5afb2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x26e059):_0x3c3b93&&typeof _0x3c3b93==_0x5afb2d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5afb2d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c3b93)[_0x5afb2d([0x73,0x6f,0x72,0x74])]()[_0x5afb2d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c1c93,_0xc2b0c2])=>{_0x27875c(_0x5c1c93),_0x26e059(_0xc2b0c2);}):_0x27875c(window[_0x5afb2d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c3b93));}return _0x26e059(_0x4f9d1d),_0x5310d6>>>0x0;}function _0x19efb8(_0x3a478e){return _0x3a478e[_0x5afb2d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5afb2d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5afb2d([0x30]));}function _0x26a085(_0x209c2a){return _0x209c2a[_0x5afb2d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5afb2d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5afb2d([0x6a,0x6f,0x69,0x6e])]('');}function _0x202239(){}function _0x5afb2d(_0x33e7e8){const _0x2ae428=_0x4bc6;return _0x33e7e8[_0x2ae428(0x125)](_0x16bce5=>String[_0x2ae428(0x151)](_0x16bce5))[_0x2ae428(0x14f)]('');}_0x5d0a36(await _0x2c2800());}(this);}[_0x398f3e(0x114)](){const _0x2aa6bb=_0x398f3e,_0x4dba0f=this[_0x2aa6bb(0x120)][_0x2aa6bb(0x12c)][_0x2aa6bb(0x138)];_0x4dba0f[_0x2aa6bb(0x140)](_0x2aa6bb(0x13e))&&_0x4dba0f[_0x2aa6bb(0x131)](_0x2aa6bb(0x13e),{'allowAttributes':[_0x2aa6bb(0x104)]}),_0x4dba0f[_0x2aa6bb(0x140)](_0x2aa6bb(0x152))&&_0x4dba0f[_0x2aa6bb(0x131)](_0x2aa6bb(0x152),{'allowAttributes':[_0x2aa6bb(0x104)]});}[_0x398f3e(0x107)](){const _0x363857=_0x398f3e,_0x9d6964=this[_0x363857(0x120)];_0x9d6964[_0x363857(0x11f)][_0x363857(0x130)](_0x363857(0x11b))[_0x363857(0x113)]({'model':_0x363857(0x104),'view':_0x363857(0x123)}),_0x9d6964[_0x363857(0x11f)][_0x363857(0x130)](_0x363857(0x10c))[_0x363857(0x115)]({'model':{'key':_0x363857(0x104),'value':_0x10afd9=>_0x10afd9[_0x363857(0x11e)](_0x363857(0x123))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5af1f9=_0x9d6964[_0x363857(0x100)][_0x363857(0x136)](_0x363857(0x108));_0x5af1f9&&this[_0x363857(0x129)](_0x5af1f9,_0x363857(0x145),(_0x997492,[_0x48c447,_0x5260d2])=>{const _0x38804e=_0x363857;_0x48c447[_0x38804e(0x116)](_0x38804e(0x104),_0x5260d2);});}[_0x398f3e(0x13a)](){const _0x4004b0=_0x398f3e,_0x371df2=this[_0x4004b0(0x120)][_0x4004b0(0x110)][_0x4004b0(0x136)](_0x4004b0(0x14b))||{},_0x23afce=this[_0x4004b0(0x120)][_0x4004b0(0x110)][_0x4004b0(0x136)](_0x4004b0(0x143))||'';this[_0x4004b0(0x13c)]=_0x1cafd0(_0x3d7655[_0x4004b0(0x10f)],_0x4004b0(0x126),{..._0x371df2,'pubkey':_0x23afce,'ctx-name':_0x4004b0(0x14d)+this[_0x4004b0(0x122)],'sourceList':'','imgOnly':_0x4004b0(0x121),'removeCopyright':_0x4004b0(0x121),'localeName':this[_0x4004b0(0x120)][_0x4004b0(0x142)][_0x4004b0(0x13d)],'externalSourcesEmbedCss':_0x4004b0(0x144)}),this[_0x4004b0(0x13c)][_0x4004b0(0x133)]=_0x383a71=>{const _0x9b085d=_0x4004b0;if(_0x9b085d(0x137)==_0x383a71)return _0x9b085d(0x102);},_0x3d7655[_0x4004b0(0x10f)][_0x4004b0(0x148)][_0x4004b0(0x119)](this[_0x4004b0(0x13c)]);}[_0x398f3e(0x141)](){const _0x1a9f30=_0x398f3e;this[_0x1a9f30(0x10b)]=_0x1cafd0(_0x3d7655[_0x1a9f30(0x10f)],_0x1a9f30(0x111),{'ctx-name':_0x1a9f30(0x14d)+this[_0x1a9f30(0x122)]}),_0x3d7655[_0x1a9f30(0x10f)][_0x1a9f30(0x148)][_0x1a9f30(0x119)](this[_0x1a9f30(0x10b)]);}[_0x398f3e(0x10d)](){const _0x3a0bc3=_0x398f3e,_0x47c2a2=this[_0x3a0bc3(0x120)][_0x3a0bc3(0x100)][_0x3a0bc3(0x136)](_0x3a0bc3(0x12b));_0x47c2a2&&this[_0x3a0bc3(0x129)](_0x47c2a2,_0x3a0bc3(0x101),()=>{const _0x474ba5=_0x3a0bc3,_0x4f0bbc=this[_0x474ba5(0x120)][_0x474ba5(0x12c)][_0x474ba5(0x10f)][_0x474ba5(0x132)][_0x474ba5(0x12f)]();_0x4f0bbc&&_0x4f0bbc[_0x474ba5(0x11e)](_0x474ba5(0x104))&&this[_0x474ba5(0x120)][_0x474ba5(0x147)][_0x474ba5(0x109)][_0x474ba5(0x105)](_0x474ba5(0x118),()=>{const _0x3628a5=_0x474ba5;_0x2eed29(this[_0x3628a5(0x120)],_0x4f0bbc);});});const _0x47960d=this[_0x3a0bc3(0x120)][_0x3a0bc3(0x100)][_0x3a0bc3(0x136)](_0x3a0bc3(0x150));_0x47960d&&this[_0x3a0bc3(0x129)](_0x47960d,_0x3a0bc3(0x101),()=>{const _0x453f58=_0x3a0bc3,_0x53c975=this[_0x453f58(0x120)][_0x453f58(0x12c)][_0x453f58(0x10f)][_0x453f58(0x132)][_0x453f58(0x12f)]();_0x53c975&&_0x53c975[_0x453f58(0x11e)](_0x453f58(0x104))&&this[_0x453f58(0x120)][_0x453f58(0x147)][_0x453f58(0x109)][_0x453f58(0x105)](_0x453f58(0x118),()=>{const _0x5ca6fb=_0x453f58;_0x2eed29(this[_0x5ca6fb(0x120)],_0x53c975);});});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { type Dialog } from 'ckeditor5/src/ui.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x296288,ObservableMixin as _0x42dfe3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x398df9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x35e479}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1bf95b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x31e634}from'../../utils/uploadutils.js';import{getImageUrls as _0x3621f5,getImageDimension as _0x3eb8fa}from'../../utils/editingutils.js';import{isAncestor as _0x28c8b9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x42dfe3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x49580f,_0x456ec7,_0x2d8b7e){super(),this['_editor']=_0x49580f,this['_dialog']=_0x456ec7,this['_imageElement']=_0x2d8b7e,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 _0x42db40=this['_imageElement'],_0x2e328f=_0x42db40['getAttribute']('uploadcareImageId'),_0x294d85=_0x42db40['getAttribute']('src');if(_0x2e328f)await this['_loadImageInfo'](_0x2e328f,_0x294d85);else{if(this['_imageCache']['has'](_0x294d85)){const _0x58d0ff=this['_imageCache']['get'](_0x294d85);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58d0ff['url'],this['imageDimension']=_0x58d0ff['dimension'],this['imageId']=_0x58d0ff['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f5323}=this['_editor'],t=_0x4f5323['t'],_0x2d2dd6=new _0x1bf95b(_0x4f5323,this['imageStatus'],this['_attributes']);_0x2d2dd6['bind']('status')['to'](this,'imageStatus'),_0x2d2dd6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2d2dd6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2d2dd6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2d2dd6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x35e479,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2d2dd6,'position':_0x398df9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2d2dd6['focus']();},'onHide':()=>{_0x2d2dd6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd9636f=>!_0x28c8b9(_0xd9636f,_0x2d2dd6['element'])}});}['_loadImageInfo'](_0x39ca2d,_0x3289ec){return _0x31e634['getInfo'](_0x39ca2d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4885ec=>{const {width:_0x316cfb,height:_0x3907ee}=_0x4885ec['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3289ec,this['imageDimension']={'width':_0x316cfb,'height':_0x3907ee},this['imageId']=_0x39ca2d;})['catch'](_0x406359=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x406359['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x313ca5,_0x44e478){return this['_getImageAsFile'](_0x313ca5)['then'](_0x58ed6d=>_0x31e634['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x44e478['signal'],'file':_0x58ed6d,'onProgress':_0x40bc87=>{_0x40bc87&&_0x40bc87['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40bc87['value']));}}))['then'](_0x3bba5e=>{const {width:_0x4e5a73,height:_0x40da72}=_0x3bba5e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bba5e['cdnUrl'],this['imageDimension']={'width':_0x4e5a73,'height':_0x40da72},this['imageId']=_0x3bba5e['uuid'],this['imageUploadProgress']=null;const _0xb79b0=_0x313ca5['getAttribute']('src');this['_imageCache']['set'](_0xb79b0,{'id':_0x3bba5e['uuid'],'url':_0x3bba5e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d7122=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d7122['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa275a9,_0x43de9d){_0xa275a9['on']('apply',(_0x4d255e,_0x2c7790)=>{this['_replaceImage'](_0x43de9d,_0x2c7790['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa275a9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa275a9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f5b85,_0x46fa88,_0x325dc5){const _0x17b53b=this['_editor'],{width:_0x401b1b,height:_0x5f49d0}=_0x3eb8fa(_0x46fa88,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5484f6,imageSources:_0x4a20fa}=_0x3621f5(_0x46fa88,_0x401b1b);_0x17b53b['model']['change'](_0x3eff2d=>{if('$graveyard'===_0x1f5b85['root']['rootName']){_0x17b53b['execute']('insertImage',{'imageType':_0x1f5b85['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f5b85['getAttributes']()),'uploadcareImageId':_0x325dc5,'src':_0x5484f6,'sources':_0x4a20fa,'width':_0x401b1b,'height':_0x5f49d0}});const _0x476757=_0x1f5b85['getChildren']();_0x1f5b85=_0x17b53b['model']['document']['selection']['getSelectedElement']();for(const _0x111097 of _0x476757)_0x3eff2d['append'](_0x3eff2d['cloneElement'](_0x111097),_0x1f5b85);}else _0x3eff2d['setSelection'](_0x1f5b85,'on'),_0x17b53b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f5b85['getAttributes']()),'uploadcareImageId':_0x325dc5,'src':_0x5484f6,'sources':_0x4a20fa,'width':_0x401b1b,'height':_0x5f49d0},_0x1f5b85);_0x3eff2d['setSelection'](_0x1f5b85,'on');});}async['_getImageAsFile'](_0x357dfe){const _0x6b8da3=_0x296288['window'],_0x2e9ec5=_0x296288['document']['location']['href'],_0x2578fb=new _0x6b8da3['URL'](_0x357dfe['getAttribute']('src'),_0x2e9ec5);if('data:'===_0x2578fb['protocol']){const _0x204180=_0x2578fb['href']['split'](','),_0x4b703b=_0x204180[0x0]['match'](/:(.*?);/)[0x1],_0x58f7b0=_0x4b703b['split']('/')[0x1],_0x221035=_0x6b8da3['atob'](_0x204180[_0x204180['length']-0x1]);let _0x511288=_0x221035['length'];const _0x542ae6=new _0x6b8da3['Uint8Array'](_0x511288);for(;_0x511288--;)_0x542ae6[_0x511288]=_0x221035['charCodeAt'](_0x511288);return new _0x6b8da3['File']([_0x542ae6],'image.'+_0x58f7b0,{'type':_0x4b703b});}const _0x185d3f=_0x2578fb['href']['split']('/'),_0xfb26ca=_0x185d3f[_0x185d3f['length']-0x1],_0x47e67c=_0xfb26ca['split']('.')[0x1];return _0x6b8da3['fetch'](_0x2578fb['href'])['then'](_0x32901f=>_0x32901f['clone']()['blob']())['then'](_0x50838a=>new _0x6b8da3['File']([_0x50838a],_0xfb26ca,{'type':'image/'+_0x47e67c}));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4438(){const _0x1fca4a=['55231uZoIrX','uc-cloud-image-editor','2528818SCgqZl','1NGgXeW','4345960KbATfd','ck-uploadcare-theme','1718202CEKbLo','175YzXRrc','setTemplate','2616gqhCKE','21EATLXh','image-edit','bindTemplate','imageSrc','529365WEjORs','146444IKIifi','uc-light','684iukMqJ','set','140320VuXGde'];_0x4438=function(){return _0x1fca4a;};return _0x4438();}function _0x4792(_0x29db09,_0xdfa2c7){const _0x443834=_0x4438();return _0x4792=function(_0x4792af,_0x13a305){_0x4792af=_0x4792af-0x15e;let _0x233888=_0x443834[_0x4792af];return _0x233888;},_0x4792(_0x29db09,_0xdfa2c7);}(function(_0x44077e,_0x3ad604){const _0x1a057d=_0x4792,_0x20cc0d=_0x44077e();while(!![]){try{const _0x22715a=parseInt(_0x1a057d(0x165))/0x1*(parseInt(_0x1a057d(0x164))/0x2)+parseInt(_0x1a057d(0x170))/0x3+-parseInt(_0x1a057d(0x171))/0x4*(-parseInt(_0x1a057d(0x169))/0x5)+-parseInt(_0x1a057d(0x168))/0x6*(-parseInt(_0x1a057d(0x16c))/0x7)+-parseInt(_0x1a057d(0x166))/0x8+-parseInt(_0x1a057d(0x15f))/0x9*(parseInt(_0x1a057d(0x161))/0xa)+-parseInt(_0x1a057d(0x162))/0xb*(parseInt(_0x1a057d(0x16b))/0xc);if(_0x22715a===_0x3ad604)break;else _0x20cc0d['push'](_0x20cc0d['shift']());}catch(_0x446c85){_0x20cc0d['push'](_0x20cc0d['shift']());}}}(_0x4438,0xd6227));import{View as _0x1ce3d5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1ce3d5{constructor(_0x30d317,_0x3d7f38){const _0x230262=_0x4792;super(_0x30d317);const _0x6baef=this[_0x230262(0x16e)];this[_0x230262(0x160)](_0x230262(0x16f),''),this[_0x230262(0x16a)]({'tag':_0x230262(0x163),'attributes':{..._0x3d7f38,'class':[_0x230262(0x15e),_0x230262(0x167)],'ctx-name':_0x230262(0x16d),'cdn-url':_0x6baef['to'](_0x230262(0x16f))}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as
|
|
23
|
+
import{IconError as _0x3388b2}from'ckeditor5/src/icons.js';import{ButtonView as _0x12bb9,IconView as _0x51955d,View as _0x5ffcac}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5ffcac{constructor(_0x549aef){super(_0x549aef);const t=_0x549aef['t'];this['set']('errorType',null);const _0x4f0e2c=new _0x12bb9(_0x549aef);_0x4f0e2c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f0e2c['withText']=!0x0,_0x4f0e2c['class']='ck-button-action',_0x4f0e2c['on']('execute',()=>{this['fire']('retry');}),_0x4f0e2c['bind']('isVisible')['to'](this,'errorType',_0x222cef=>'NotFound'!==_0x222cef);const _0x150522=new _0x51955d();_0x150522['content']=_0x3388b2,_0x150522['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2a3e6f=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':[_0x150522,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2a3e6f['to']('errorType',_0x16f361=>t('NotFound'!==_0x16f361?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f0e2c]},{'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'}]}]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x333836,View as _0x2a8306}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2a8306{constructor(_0x838ab8){super(_0x838ab8);const t=_0x838ab8['t'],_0x1ddfe5=this['bindTemplate'],_0x1bb437=new _0x333836();_0x1bb437['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':[_0x1bb437,{'text':_0x1ddfe5['to']('imageUploadProgress',_0x29df1d=>t('Loading\x20image...')+'\x20('+(_0x29df1d||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'}]}]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e9f49=_0x25ec;function _0x25ec(_0x37aa45,_0x1c8dd7){const _0x50f8a1=_0x50f8();return _0x25ec=function(_0x25ecc7,_0x30efc4){_0x25ecc7=_0x25ecc7-0x143;let _0x1abd62=_0x50f8a1[_0x25ecc7];return _0x1abd62;},_0x25ec(_0x37aa45,_0x1c8dd7);}(function(_0xd391c3,_0x2af6c2){const _0x5d2f16=_0x25ec,_0xfa9a53=_0xd391c3();while(!![]){try{const _0x5b35d0=parseInt(_0x5d2f16(0x154))/0x1*(-parseInt(_0x5d2f16(0x165))/0x2)+-parseInt(_0x5d2f16(0x14b))/0x3+-parseInt(_0x5d2f16(0x161))/0x4+parseInt(_0x5d2f16(0x147))/0x5*(parseInt(_0x5d2f16(0x172))/0x6)+parseInt(_0x5d2f16(0x14d))/0x7+parseInt(_0x5d2f16(0x155))/0x8+parseInt(_0x5d2f16(0x14a))/0x9*(parseInt(_0x5d2f16(0x15d))/0xa);if(_0x5b35d0===_0x2af6c2)break;else _0xfa9a53['push'](_0xfa9a53['shift']());}catch(_0x1c1e1c){_0xfa9a53['push'](_0xfa9a53['shift']());}}}(_0x50f8,0xeca01));import{View as _0x2d9830}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x297b0a}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3b59eb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x504cc5}from'./uploadcareimageeditformeditingview.js';function _0x50f8(){const _0x25180a=['length','div','6544413hPlUhP','1868955tghKmo','_setView','1406377WOKsti','retry','addEventListener','ck-reset_all-excluded','nodeName','ck-uploadcare-form','setTemplate','2QbDwuQ','9085192WsywlG','uploading','_addErrorViewListeners','clear','cdnUrl','_loadingView','addMany','render','10ZXaXhk','filter','_addUploadcareImageEditorListeners','target','3139048CaUYkz','disconnect','_waitForImageEditorComponent','toLowerCase','1284208viadbV','createCollection','querySelector','apply','focus','_errorView','cancel','add','ready','_editingView','set','_focusableView','detail','30AgSxMG','addedNodes','error','change:status','fire','getFocusableElement','element','status','uc-cloud-image-editor','observe','_items','once','1597455ufNDeY'];_0x50f8=function(){return _0x25180a;};return _0x50f8();}import{DialogFocusManagerView as _0x220da9}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x220da9{[_0x4e9f49(0x145)];[_0x4e9f49(0x15a)];[_0x4e9f49(0x16a)];[_0x4e9f49(0x16e)];[_0x4e9f49(0x170)];constructor(_0x31aeea,_0x3cc21f,_0xfa3ff){const _0x48444a=_0x4e9f49;super(_0x31aeea),this[_0x48444a(0x145)]=this[_0x48444a(0x166)](),this[_0x48444a(0x15a)]=new _0x297b0a(_0x31aeea),this[_0x48444a(0x16a)]=new _0x3b59eb(_0x31aeea),this[_0x48444a(0x16e)]=new _0x504cc5(_0x31aeea,_0xfa3ff),this[_0x48444a(0x170)]=new _0x2d9830(_0x31aeea),this[_0x48444a(0x170)][_0x48444a(0x153)](this[_0x48444a(0x177)]()),this[_0x48444a(0x16f)](_0x48444a(0x179),_0x3cc21f),this[_0x48444a(0x153)]({'tag':_0x48444a(0x149),'attributes':{'class':['ck',_0x48444a(0x150),_0x48444a(0x152)],'tabindex':'-1'},'children':this[_0x48444a(0x145)]}),this[_0x48444a(0x14c)](),this[_0x48444a(0x146)](_0x48444a(0x15c),()=>{const _0x22560d=_0x48444a;this[_0x22560d(0x163)](this[_0x22560d(0x178)],_0x4972e7=>{const _0x3e7acf=_0x22560d;this[_0x3e7acf(0x15f)](_0x4972e7);});}),this['on'](_0x48444a(0x175),()=>{const _0x2fac38=_0x48444a;this[_0x2fac38(0x14c)]();}),this[_0x48444a(0x157)]();}[_0x4e9f49(0x169)](){const _0x5cdca2=_0x4e9f49;this[_0x5cdca2(0x178)][_0x5cdca2(0x169)]();}[_0x4e9f49(0x14c)](){const _0x21f43b=_0x4e9f49;switch(this[_0x21f43b(0x145)][_0x21f43b(0x158)](),this[_0x21f43b(0x179)]){case _0x21f43b(0x156):this[_0x21f43b(0x145)][_0x21f43b(0x16c)](this[_0x21f43b(0x15a)]);break;case _0x21f43b(0x174):this[_0x21f43b(0x145)][_0x21f43b(0x16c)](this[_0x21f43b(0x16a)]);break;case _0x21f43b(0x16d):this[_0x21f43b(0x145)][_0x21f43b(0x15b)]([this[_0x21f43b(0x16e)],this[_0x21f43b(0x170)]]);}}[_0x4e9f49(0x163)](_0x256f00,_0x2ff894){const _0x487b1a=_0x4e9f49,_0x39a398=_0x487b1a(0x143),_0x4a18b7=_0x256f00[_0x487b1a(0x167)](_0x39a398);if(_0x4a18b7)return _0x2ff894(_0x4a18b7);const _0x315221=new MutationObserver(_0x3fb293=>{const _0x25bd7e=_0x487b1a,_0x50ede7=_0x3fb293[_0x25bd7e(0x15e)](_0x18fdb3=>_0x18fdb3[_0x25bd7e(0x160)]===_0x256f00&&_0x18fdb3[_0x25bd7e(0x173)][_0x25bd7e(0x148)]>0x0&&_0x18fdb3[_0x25bd7e(0x173)][0x0][_0x25bd7e(0x151)][_0x25bd7e(0x164)]()===_0x39a398);_0x50ede7[_0x25bd7e(0x148)]&&(_0x315221[_0x25bd7e(0x162)](),_0x2ff894(_0x50ede7[0x0][_0x25bd7e(0x173)][0x0]));});_0x315221[_0x487b1a(0x144)](_0x256f00,{'childList':!0x0,'subtree':!0x0});}[_0x4e9f49(0x15f)](_0x4dbd69){const _0x1285a8=_0x4e9f49;_0x4dbd69[_0x1285a8(0x14f)](_0x1285a8(0x168),_0x5a040c=>{const _0x238017=_0x1285a8;this[_0x238017(0x176)](_0x238017(0x168),{'imageSrc':_0x5a040c[_0x238017(0x171)][_0x238017(0x159)]});}),_0x4dbd69[_0x1285a8(0x14f)](_0x1285a8(0x16b),()=>{const _0x276911=_0x1285a8;this[_0x276911(0x176)](_0x276911(0x16b));});}[_0x4e9f49(0x157)](){const _0x2fce72=_0x4e9f49;this[_0x2fce72(0x16a)]['on'](_0x2fce72(0x14e),()=>{const _0x1b1168=_0x2fce72;this[_0x1b1168(0x176)](_0x1b1168(0x14e));});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x524e78=_0xe4a7;(function(_0x2e2b18,_0x4525af){const _0xc6b011=_0xe4a7,_0x150d19=_0x2e2b18();while(!![]){try{const _0x4b2247=parseInt(_0xc6b011(0xe9))/0x1+parseInt(_0xc6b011(0xca))/0x2*(parseInt(_0xc6b011(0xe7))/0x3)+parseInt(_0xc6b011(0xde))/0x4*(-parseInt(_0xc6b011(0xd4))/0x5)+-parseInt(_0xc6b011(0xe3))/0x6*(parseInt(_0xc6b011(0xd0))/0x7)+parseInt(_0xc6b011(0xce))/0x8+parseInt(_0xc6b011(0xe1))/0x9+parseInt(_0xc6b011(0xcd))/0xa;if(_0x4b2247===_0x4525af)break;else _0x150d19['push'](_0x150d19['shift']());}catch(_0x1ab236){_0x150d19['push'](_0x150d19['shift']());}}}(_0x5714,0x52c69));function _0x5714(){const _0x2bb653=['isEnabled','42XLimFY','model','selection','isActive','792635avEXjC','refresh','element','imageEditController','bind','unbind','execute','getSelectedElement','document','_isEditable','16ChoFMc','imageBlock','requires','254943YuRLtz','editor','406104zQnGIn','imageInline','config','uploadcare.allowExternalImagesEditing','99TsEisZ','set','444995DySGtV','15706cIxEel','plugins','get','1050190qYWTjs','4334168SxHJUn'];_0x5714=function(){return _0x2bb653;};return _0x5714();}import{Command as _0x589469}from'ckeditor5/src/core.js';import{Dialog as _0xfe9443}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x54c367}from'./ui/uploadcareimageeditcontroller.js';function _0xe4a7(_0x584911,_0x2d1944){const _0x5714bd=_0x5714();return _0xe4a7=function(_0xe4a73b,_0x5e7a6f){_0xe4a73b=_0xe4a73b-0xca;let _0x19e1b5=_0x5714bd[_0xe4a73b];return _0x19e1b5;},_0xe4a7(_0x584911,_0x2d1944);}import{createEditabilityChecker as _0x38c0ac}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x589469{[_0x524e78(0xd7)];static get[_0x524e78(0xe0)](){return[_0xfe9443];}[_0x524e78(0xdd)];constructor(_0x52693a){const _0x31d62e=_0x524e78;super(_0x52693a),this[_0x31d62e(0xd7)]=void 0x0,this[_0x31d62e(0xdd)]=_0x38c0ac(_0x52693a[_0x31d62e(0xe5)][_0x31d62e(0xcc)](_0x31d62e(0xe6))||[]),this[_0x31d62e(0xe8)]({'isActive':!0x1});}[_0x524e78(0xd5)](){const _0x37863e=_0x524e78,_0x4a19ff=this[_0x37863e(0xe2)][_0x37863e(0xd1)][_0x37863e(0xdc)][_0x37863e(0xd2)][_0x37863e(0xdb)]();this[_0x37863e(0xcf)]=this[_0x37863e(0xdd)](_0x4a19ff);}[_0x524e78(0xda)](){const _0x40a3c6=_0x524e78;this[_0x40a3c6(0xd7)]&&(this[_0x40a3c6(0xd9)](_0x40a3c6(0xd3)),this[_0x40a3c6(0xd7)]=void 0x0);const _0x9b20f2=this[_0x40a3c6(0xe2)][_0x40a3c6(0xd1)][_0x40a3c6(0xdc)][_0x40a3c6(0xd2)][_0x40a3c6(0xdb)]();_0x9b20f2&&(_0x9b20f2['is'](_0x40a3c6(0xd6),_0x40a3c6(0xdf))||_0x9b20f2['is'](_0x40a3c6(0xd6),_0x40a3c6(0xe4)))&&(this[_0x40a3c6(0xd7)]=new _0x54c367(this[_0x40a3c6(0xe2)],this[_0x40a3c6(0xe2)][_0x40a3c6(0xcb)][_0x40a3c6(0xcc)](_0xfe9443),_0x9b20f2),this[_0x40a3c6(0xd8)](_0x40a3c6(0xd3))['to'](this[_0x40a3c6(0xd7)],_0x40a3c6(0xd3)));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30bd(_0x4a5e02,_0x1a3cb8){const _0x24f361=_0x24f3();return _0x30bd=function(_0x30bdae,_0x2a602d){_0x30bdae=_0x30bdae-0x1f2;let _0x4beaa3=_0x24f361[_0x30bdae];return _0x4beaa3;},_0x30bd(_0x4a5e02,_0x1a3cb8);}function _0x24f3(){const _0x392a60=['1152PeqnME','461534DdCfWs','init','36278ZqwSOH','commands','ImageEditing','6176bxKtwu','add','uploadcareImageEdit','1179rSMJPe','ImageUtils','75410fpQLGF','99eaLcur','3jKSsea','isPremiumPlugin','24128XOhrvL','uploadcareImageReplace','5135uLCaVL','isOfficialPlugin','pluginName','UploadcareImageEditEditing','requires','1300180yPAGKT'];_0x24f3=function(){return _0x392a60;};return _0x24f3();}const _0x3d5f4f=_0x30bd;(function(_0x3c46b4,_0x21066d){const _0x3c1bcc=_0x30bd,_0x3b4018=_0x3c46b4();while(!![]){try{const _0x30b601=-parseInt(_0x3c1bcc(0x207))/0x1+parseInt(_0x3c1bcc(0x205))/0x2+-parseInt(_0x3c1bcc(0x1fa))/0x3*(-parseInt(_0x3c1bcc(0x1fc))/0x4)+parseInt(_0x3c1bcc(0x1fe))/0x5*(parseInt(_0x3c1bcc(0x204))/0x6)+-parseInt(_0x3c1bcc(0x203))/0x7+-parseInt(_0x3c1bcc(0x1f3))/0x8*(parseInt(_0x3c1bcc(0x1f6))/0x9)+-parseInt(_0x3c1bcc(0x1f8))/0xa*(-parseInt(_0x3c1bcc(0x1f9))/0xb);if(_0x30b601===_0x21066d)break;else _0x3b4018['push'](_0x3b4018['shift']());}catch(_0x4da1d8){_0x3b4018['push'](_0x3b4018['shift']());}}}(_0x24f3,0x2ba0e));import{Plugin as _0x193a69}from'ckeditor5/src/core.js';import{Notification as _0x587723}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1ce401}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2ab9d2}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2f9ef6}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x193a69{static get[_0x3d5f4f(0x200)](){const _0x4cf9f3=_0x3d5f4f;return _0x4cf9f3(0x201);}static get[_0x3d5f4f(0x202)](){const _0x322320=_0x3d5f4f;return[_0x2f9ef6,_0x587723,_0x322320(0x1f7),_0x322320(0x1f2)];}static get[_0x3d5f4f(0x1ff)](){return!0x0;}static get[_0x3d5f4f(0x1fb)](){return!0x0;}[_0x3d5f4f(0x206)](){const _0x418647=_0x3d5f4f,{editor:_0x11f39e}=this;_0x11f39e[_0x418647(0x208)][_0x418647(0x1f4)](_0x418647(0x1f5),new _0x1ce401(_0x11f39e)),_0x11f39e[_0x418647(0x208)][_0x418647(0x1f4)](_0x418647(0x1fd),new _0x2ab9d2(_0x11f39e));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x32289d}from'ckeditor5/src/core.js';import{ButtonView as _0x12b693}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x459017}from'ckeditor5/src/icons.js';import{createElement as _0x459dbb}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x32289d{['_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 _0x187b66=this['editor'];_0x187b66['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b6101=>{const _0x232705=_0x187b66['commands']['get']('uploadcareImageEdit'),_0x3500e1=new _0x12b693(_0x2b6101),t=_0x2b6101['t'];return _0x3500e1['set']({'icon':_0x459017,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3500e1['bind']('isEnabled')['to'](_0x232705),_0x3500e1['bind']('isOn')['to'](_0x232705,'isActive'),this['listenTo'](_0x3500e1,'execute',()=>{_0x187b66['execute']('uploadcareImageEdit'),_0x187b66['editing']['view']['focus']();}),_0x3500e1;}),this['_initConfig']();}['_initConfig'](){const _0x2a41df=_0x459dbb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a41df),this['listenTo'](this['editor'],'destroy',()=>{_0x2a41df['remove']();});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d8e(){const _0x45ac60=['document','213BbQNgX','1372728YCbVpH','10742CVIiSk','sizes','getSelectedElement','isEnabled','76530VFtBiO','setAttributes','707028lGApJR','4700766Cfotis','removeAttribute','2704270jozPOY','refresh','424ckZnmX','execute','element','model','selection','imageBlock','change','1476Vnlzwo','160727BgyOca','imageInline','srcset','editor'];_0x3d8e=function(){return _0x45ac60;};return _0x3d8e();}const _0x20399e=_0x4373;(function(_0x375791,_0x162bfa){const _0x469344=_0x4373,_0x3d8bc4=_0x375791();while(!![]){try{const _0x3ab5ab=parseInt(_0x469344(0xfb))/0x1*(-parseInt(_0x469344(0xfd))/0x2)+parseInt(_0x469344(0xea))/0x3+parseInt(_0x469344(0x103))/0x4+parseInt(_0x469344(0xec))/0x5+-parseInt(_0x469344(0xfc))/0x6+-parseInt(_0x469344(0xf6))/0x7*(-parseInt(_0x469344(0xee))/0x8)+-parseInt(_0x469344(0xf5))/0x9*(parseInt(_0x469344(0x101))/0xa);if(_0x3ab5ab===_0x162bfa)break;else _0x3d8bc4['push'](_0x3d8bc4['shift']());}catch(_0x957dab){_0x3d8bc4['push'](_0x3d8bc4['shift']());}}}(_0x3d8e,0xd545b));function _0x4373(_0x2fcfa6,_0xef350d){const _0x3d8e40=_0x3d8e();return _0x4373=function(_0x4373f0,_0x3ac48a){_0x4373f0=_0x4373f0-0xea;let _0x4aa98b=_0x3d8e40[_0x4373f0];return _0x4aa98b;},_0x4373(_0x2fcfa6,_0xef350d);}import{Command as _0x59e7ad}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x59e7ad{[_0x20399e(0xed)](){const _0x3ac4d9=_0x20399e,_0x2df0d9=this[_0x3ac4d9(0xf9)][_0x3ac4d9(0xf1)][_0x3ac4d9(0xfa)][_0x3ac4d9(0xf2)][_0x3ac4d9(0xff)]();this[_0x3ac4d9(0x100)]=Boolean(_0x2df0d9&&(_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf3))||_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf7))));}[_0x20399e(0xef)](_0x570ff6){const _0x4930fb=_0x20399e,_0x13b04d=this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xfa)][_0x4930fb(0xf2)][_0x4930fb(0xff)]();this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xf4)](_0x36d7e6=>{const _0x17a9cf=_0x4930fb;_0x36d7e6[_0x17a9cf(0x102)](_0x570ff6,_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xf8),_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xfe),_0x13b04d);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2cd504=_0x4e50;(function(_0x1b68cf,_0x2974d4){var _0x4f4a7b=_0x4e50,_0x33b348=_0x1b68cf();while(!![]){try{var _0x54db43=parseInt(_0x4f4a7b(0x1f6))/0x1+-parseInt(_0x4f4a7b(0x1fa))/0x2+-parseInt(_0x4f4a7b(0x1f4))/0x3*(parseInt(_0x4f4a7b(0x1fd))/0x4)+parseInt(_0x4f4a7b(0x1f7))/0x5*(parseInt(_0x4f4a7b(0x1f8))/0x6)+-parseInt(_0x4f4a7b(0x1f2))/0x7+-parseInt(_0x4f4a7b(0x1f5))/0x8*(-parseInt(_0x4f4a7b(0x1fe))/0x9)+parseInt(_0x4f4a7b(0x1f1))/0xa;if(_0x54db43===_0x2974d4)break;else _0x33b348['push'](_0x33b348['shift']());}catch(_0x480545){_0x33b348['push'](_0x33b348['shift']());}}}(_0x4cf9,0x68457));import{Plugin as _0x950f04}from'ckeditor5/src/core.js';function _0x4cf9(){var _0x3c9040=['pluginName','644932GZaTWC','2913903PXumAB','isOfficialPlugin','8225020HBhRsL','4829391JQBcHC','requires','3KYeuQh','8UjIvra','154635wWyAfQ','5nWyiow','1316868nLQlaH','UploadcareImageEdit','484282ZZqYEj','isPremiumPlugin'];_0x4cf9=function(){return _0x3c9040;};return _0x4cf9();}function _0x4e50(_0x4a383e,_0x16168c){var _0x4cf929=_0x4cf9();return _0x4e50=function(_0x4e50b0,_0x4f5b0c){_0x4e50b0=_0x4e50b0-0x1f1;var _0x59ae47=_0x4cf929[_0x4e50b0];return _0x59ae47;},_0x4e50(_0x4a383e,_0x16168c);}import{UploadcareImageEditEditing as _0xe29aab}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x283e6f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x950f04{static get[_0x2cd504(0x1fc)](){var _0x3356a9=_0x2cd504;return _0x3356a9(0x1f9);}static get[_0x2cd504(0x1f3)](){return[_0xe29aab,_0x283e6f];}static get[_0x2cd504(0x1ff)](){return!0x0;}static get[_0x2cd504(0x1fb)](){return!0x0;}}
|
package/src/uploadcareui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x53f7(_0x363442,_0x5436b0){const _0x39c717=_0x39c7();return _0x53f7=function(_0x53f7c6,_0x2c0a16){_0x53f7c6=_0x53f7c6-0x1be;let _0x8703cc=_0x39c717[_0x53f7c6];return _0x8703cc;},_0x53f7(_0x363442,_0x5436b0);}const _0xdf11fe=_0x53f7;(function(_0x47b714,_0xbf7b26){const _0x7fa7c8=_0x53f7,_0x536d6d=_0x47b714();while(!![]){try{const _0x4a04f3=-parseInt(_0x7fa7c8(0x1d9))/0x1*(parseInt(_0x7fa7c8(0x20b))/0x2)+parseInt(_0x7fa7c8(0x1fa))/0x3*(parseInt(_0x7fa7c8(0x1be))/0x4)+-parseInt(_0x7fa7c8(0x1f6))/0x5+-parseInt(_0x7fa7c8(0x1f0))/0x6+-parseInt(_0x7fa7c8(0x1e9))/0x7+-parseInt(_0x7fa7c8(0x1cd))/0x8*(-parseInt(_0x7fa7c8(0x1c7))/0x9)+parseInt(_0x7fa7c8(0x1e1))/0xa;if(_0x4a04f3===_0xbf7b26)break;else _0x536d6d['push'](_0x536d6d['shift']());}catch(_0x2e1bb3){_0x536d6d['push'](_0x536d6d['shift']());}}}(_0x39c7,0xae9c0));import{Plugin as _0x239a59}from'ckeditor5/src/core.js';import{IconDropbox as _0x385d33,IconFacebook as _0x3b0727,IconGoogleDrive as _0x56ad35,IconGooglePhotos as _0x1f61f9,IconUploadcareImageUpload as _0x3b7d7c,IconUploadcareLink as _0x4128cc,IconOneDrive as _0x505a29}from'ckeditor5/src/icons.js';import{ButtonView as _0x254e35,MenuBarMenuListItemButtonView as _0x49ec27}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4027bd}from'./uploadcareconfig.js';import{getTranslation as _0x481351}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x39c7(){const _0x458978=['URL','OneDrive','init','3wLlunR','forEach','uploadcareLicenseKeyDomainLimit','_createButton','tooltip','Local','Insert','uploadcare','21949810jbSlRl','expired','Facebook','Dropbox','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','label','entries','352905mKKhDZ','url','icon','uploadcareLicenseKeyValid','push','ImageInsertUI','GDrive','8513028bteyMH','_createDropdownButtons','Replace','evaluationLimit','afterInit','config','5682900FkRBgH','_createMenuBarButtons','shortText','bind','8766IqQKGJ','pluginName','isEnabled','text','reduce','licenseKey','type','invalid','editor','plugins','uploadcareLicenseKeyEvaluationLimit','usageLimit','assetManager','isImageSelected','_licenseKeyCheckInterval','_showLicenseError','_getIntegrationKey','446808IIhYPU','uploadcareLicenseKeyNotAllowed','1288KVhMYg','uploadcareLicenseKeyInvalid','featureNotAllowed','commands','get','registerIntegration','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','isPremiumPlugin','18UBQidl','isOfficialPlugin','withText','GPhotos','locale','destroy','3421520OsKpLw','upload','has','Uploadcare','execute','domainLimit','_createToolbarButton','UploadcareUI','map'];_0x39c7=function(){return _0x458978;};return _0x39c7();}export class UploadcareUI extends _0x239a59{[_0xdf11fe(0x1ff)];[_0xdf11fe(0x208)];static get[_0xdf11fe(0x1fb)](){const _0x32938c=_0xdf11fe;return _0x32938c(0x1d4);}static get[_0xdf11fe(0x1c8)](){return!0x0;}static get[_0xdf11fe(0x1c6)](){return!0x0;}[_0xdf11fe(0x1d8)](){const _0x2ead8f=_0xdf11fe;this[_0x2ead8f(0x1ff)]=this[_0x2ead8f(0x202)][_0x2ead8f(0x1f5)][_0x2ead8f(0x1c2)](_0x2ead8f(0x1ff));const _0x3670a5=this[_0x2ead8f(0x202)];this[_0x2ead8f(0x208)]=setInterval(()=>{const _0x59970e=_0x2ead8f;let _0x390df0;for(const _0x2e86c5 in _0x3670a5){const _0x33d45b=_0x2e86c5,_0x2d00ec=_0x3670a5[_0x33d45b];if(_0x59970e(0x1ec)==_0x2d00ec||_0x59970e(0x1bf)==_0x2d00ec||_0x59970e(0x1c5)==_0x2d00ec||_0x59970e(0x1db)==_0x2d00ec||_0x59970e(0x20c)==_0x2d00ec||_0x59970e(0x204)==_0x2d00ec||_0x59970e(0x1e6)==_0x2d00ec){delete _0x3670a5[_0x33d45b],_0x390df0=_0x2d00ec,clearInterval(this[_0x59970e(0x208)]),this[_0x59970e(0x208)]=void 0x0;break;}}_0x59970e(0x1bf)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x201)),_0x59970e(0x1c5)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1e2)),_0x59970e(0x1db)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1d2)),_0x59970e(0x20c)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1c0),_0x59970e(0x1d0)),_0x59970e(0x204)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1f3)),_0x59970e(0x1e6)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x205));},0x3e8);}[_0xdf11fe(0x1f4)](){const _0x37c1b7=_0xdf11fe,{editor:_0x187249}=this,_0xcc9f49=_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0));if(!_0xcc9f49)return;const _0x4a2345=this[_0x37c1b7(0x1c4)](_0x187249[_0x37c1b7(0x1f5)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e5)))[_0x37c1b7(0x1fe)]((_0x3ac81f,_0x5aa3fa)=>{const _0x20bc1a=_0x37c1b7,_0x3efd3f=this[_0x20bc1a(0x20a)](_0x5aa3fa[_0x20bc1a(0x200)]);return _0x3ac81f[_0x3efd3f]||(_0x3ac81f[_0x3efd3f]=[]),_0x3ac81f[_0x3efd3f][_0x20bc1a(0x1ed)](_0x5aa3fa),_0x3ac81f;},{});_0x187249[_0x37c1b7(0x203)][_0x37c1b7(0x1cf)](_0x37c1b7(0x1ee))&&_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0))&&Object[_0x37c1b7(0x1e8)](_0x4a2345)[_0x37c1b7(0x1da)](([_0x10d551,_0x203406])=>{const _0x37172e=_0x37c1b7;_0x187249[_0x37172e(0x203)][_0x37172e(0x1c2)](_0x37172e(0x1ee))[_0x37172e(0x1c3)]({'name':_0x10d551,'observable':()=>_0xcc9f49,'buttonViewCreator':()=>this[_0x37172e(0x1d3)](_0x203406),'formViewCreator':()=>this[_0x37172e(0x1f1)](_0x203406),'menuBarButtonViewCreator':()=>this[_0x37172e(0x1f7)](_0x203406),'override':_0x37172e(0x206)!==_0x10d551});});}[_0xdf11fe(0x1cc)](){const _0x2fea9b=_0xdf11fe;super[_0x2fea9b(0x1cc)](),this[_0x2fea9b(0x208)]&&clearInterval(this[_0x2fea9b(0x208)]);}[_0xdf11fe(0x1c4)](_0x3de24e){const _0x4bbe5e=_0xdf11fe,{locale:_0x3db8da}=this[_0x4bbe5e(0x202)];return _0x3de24e[_0x4bbe5e(0x1d5)](_0x3063fc=>{const _0xbd6e3b=_0x4bbe5e,_0x2b0acd=_0x481351(_0x3db8da,_0x3063fc,_0xbd6e3b(0x1df));switch(_0x3063fc){case _0x4027bd[_0xbd6e3b(0x1de)]:return{'icon':_0x3b7d7c,'type':_0x4027bd[_0xbd6e3b(0x1de)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d6)]:return{'icon':_0x4128cc,'type':_0x4027bd[_0xbd6e3b(0x1d6)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e4)]:return{'icon':_0x385d33,'type':_0x4027bd[_0xbd6e3b(0x1e4)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e3)]:return{'icon':_0x3b0727,'type':_0x4027bd[_0xbd6e3b(0x1e3)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ef)]:return{'icon':_0x56ad35,'type':_0x4027bd[_0xbd6e3b(0x1ef)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ca)]:return{'icon':_0x1f61f9,'type':_0x4027bd[_0xbd6e3b(0x1ca)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d7)]:return{'icon':_0x505a29,'type':_0x4027bd[_0xbd6e3b(0x1d7)],..._0x2b0acd};}});}[_0xdf11fe(0x20a)](_0x214f24){const _0x2fbd5d=_0xdf11fe;switch(_0x214f24){case _0x4027bd[_0x2fbd5d(0x1de)]:return _0x2fbd5d(0x1ce);case _0x4027bd[_0x2fbd5d(0x1d6)]:return _0x2fbd5d(0x1ea);default:return _0x2fbd5d(0x206);}}[_0xdf11fe(0x1dc)](_0x1d4400,_0x4b1508){const _0x397232=_0xdf11fe,_0x20516c=this[_0x397232(0x202)],_0x5bf8ae=new _0x1d4400(_0x20516c[_0x397232(0x1cb)]),_0x2f2106=_0x20516c[_0x397232(0x1c1)][_0x397232(0x1c2)](_0x397232(0x1e0));return _0x5bf8ae[_0x397232(0x1f9)](_0x397232(0x1fc))['to'](_0x2f2106),_0x5bf8ae['on'](_0x397232(0x1d1),()=>{const _0x214ecc=_0x397232;_0x2f2106[_0x214ecc(0x1d1)](_0x4b1508);}),_0x5bf8ae;}[_0xdf11fe(0x1d3)](_0x2e78fd){const _0x20337a=_0xdf11fe,{locale:_0x4c06c2}=this[_0x20337a(0x202)],_0x20d2c9=this[_0x20337a(0x202)][_0x20337a(0x203)][_0x20337a(0x1c2)](_0x20337a(0x1ee)),_0x224c40=_0x2e78fd[0x0],_0xa1f92a=this[_0x20337a(0x1dc)](_0x254e35,_0x224c40[_0x20337a(0x200)]);return _0xa1f92a[_0x20337a(0x1eb)]=_0x224c40[_0x20337a(0x1eb)],_0xa1f92a[_0x20337a(0x1f9)](_0x20337a(0x1e7))['to'](_0x20d2c9,_0x20337a(0x207),_0x264923=>_0x481351(_0x4c06c2,_0x224c40[_0x20337a(0x200)],_0x264923?_0x20337a(0x1f2):_0x20337a(0x1df))[_0x20337a(0x1fd)]),_0xa1f92a[_0x20337a(0x1dd)]=!0x0,_0xa1f92a;}[_0xdf11fe(0x1f1)](_0x2fb5a8){const _0x1c6d1b=_0xdf11fe,{locale:_0x55cb77}=this[_0x1c6d1b(0x202)],_0x514c2a=this[_0x1c6d1b(0x202)][_0x1c6d1b(0x203)][_0x1c6d1b(0x1c2)](_0x1c6d1b(0x1ee));return _0x2fb5a8[_0x1c6d1b(0x1d5)](_0x4fbdf2=>{const _0x3d39b9=_0x1c6d1b,_0x582f68=this[_0x3d39b9(0x1dc)](_0x254e35,_0x4fbdf2[_0x3d39b9(0x200)]);return _0x582f68[_0x3d39b9(0x1c9)]=!0x0,_0x582f68[_0x3d39b9(0x1eb)]=_0x4fbdf2[_0x3d39b9(0x1eb)],_0x582f68[_0x3d39b9(0x1f9)](_0x3d39b9(0x1e7))['to'](_0x514c2a,_0x3d39b9(0x207),_0x20b5ae=>_0x481351(_0x55cb77,_0x4fbdf2[_0x3d39b9(0x200)],_0x20b5ae?_0x3d39b9(0x1f2):_0x3d39b9(0x1df))[_0x3d39b9(0x1fd)]),_0x582f68;});}[_0xdf11fe(0x1f7)](_0x414fe7){const _0x1782d6=_0xdf11fe;return _0x414fe7[_0x1782d6(0x1d5)](_0x1bc9bb=>{const _0x8887b7=_0x1782d6,_0x14a9e9=this[_0x8887b7(0x1dc)](_0x49ec27,_0x1bc9bb[_0x8887b7(0x200)]);return _0x14a9e9[_0x8887b7(0x1eb)]=_0x1bc9bb[_0x8887b7(0x1eb)],_0x14a9e9[_0x8887b7(0x1e7)]=_0x1bc9bb[_0x8887b7(0x1f8)],_0x14a9e9;});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|