@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250214.0 → 0.0.0-nightly-20250215.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 +5 -0
- package/README.md +16 -5
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +2 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/contexts.json +0 -3
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +8 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +6 -2
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +9 -8
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/icons/dropbox.svg +11 -0
- package/theme/icons/error.svg +1 -0
- package/theme/icons/facebook.svg +11 -0
- package/theme/icons/google-drive.svg +11 -0
- package/theme/icons/google-photos.svg +11 -0
- package/theme/icons/image-upload.svg +11 -0
- package/theme/icons/link.svg +11 -0
- package/theme/icons/local.svg +11 -0
- package/theme/icons/onedrive.svg +11 -0
- package/theme/icons/uploadcare-image-edit.svg +11 -0
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d8e21=_0x4637;(function(_0x44f5ba,_0x30f4e0){const _0x46ec1b=_0x4637,_0x408e01=_0x44f5ba();while(!![]){try{const _0xc6dfd=-parseInt(_0x46ec1b(0x199))/0x1*(-parseInt(_0x46ec1b(0x1ab))/0x2)+-parseInt(_0x46ec1b(0x1b0))/0x3+parseInt(_0x46ec1b(0x1c5))/0x4+-parseInt(_0x46ec1b(0x1ce))/0x5+-parseInt(_0x46ec1b(0x191))/0x6+parseInt(_0x46ec1b(0x186))/0x7+parseInt(_0x46ec1b(0x1ca))/0x8;if(_0xc6dfd===_0x30f4e0)break;else _0x408e01['push'](_0x408e01['shift']());}catch(_0x3e9643){_0x408e01['push'](_0x408e01['shift']());}}}(_0x524e,0x57547));import{Plugin as _0x5b3283}from'ckeditor5/src/core.js';import{Dialog as _0x96f37a}from'ckeditor5/src/ui.js';function _0x4637(_0x1e9bf0,_0x231771){const _0x524e09=_0x524e();return _0x4637=function(_0x463795,_0x1742c9){_0x463795=_0x463795-0x180;let _0x58397e=_0x524e09[_0x463795];return _0x58397e;},_0x4637(_0x1e9bf0,_0x231771);}import{createElement as _0x459276,global as _0x55a3e7,uid as _0x3d506e}from'ckeditor5/src/utils.js';import _0x5c278c from'./uploadcarecommand.js';import _0x8044c9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d84b3}from'./utils/editingutils.js';function _0x524e(){const _0x7c9788=['commands','_initCtx','uploadcare.pubkey','1997397cGpcBq','contentLanguage','downcast','pluginName','href','uploadcareImageReplace','_initImageProcessingIndicator','insertImage','PictureEditing','locale','render','uc-config','afterInit','uploadcare','imageBlock','init','elementToAttribute','_initConfig','data-uc-image-id','uploadcare.uploader','get','93828HJCHbd','selection','execute','getAttribute','join','5487664cNnoZQ','_configElement','closeMax','body','1707305OFAkhG','replaceImageSource','editing','ctxElement','_ctxElement','true','iconHrefResolver','requires','once','_initSchema','2556771mzUFTh','map','config','isRegistered','querySelector','\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','fromCharCode','conversion','schema','imageInline','1342464YQMETR','UploadcareEditing','listenTo','_initConversion','removeAttribute','editor','attributeToAttribute','#uc-icon-arrow-down','10937ztyvxK','uploader','model','extend','remove','add','getSelectedElement','isOfficialPlugin','destroy','input[uploadcare-file-input]','uploadcareImageId','uc-upload-ctx-provider','document','isPremiumPlugin','upcast','view','appendChild','for','94qekjIX','configElement'];_0x524e=function(){return _0x7c9788;};return _0x524e();}export default class i extends _0x5b3283{[_0x2d8e21(0x1cb)]=null;[_0x2d8e21(0x180)]=null;static get[_0x2d8e21(0x1b3)](){const _0x3d5f1c=_0x2d8e21;return _0x3d5f1c(0x192);}static get[_0x2d8e21(0x183)](){const _0x145715=_0x2d8e21;return[_0x145715(0x1b8),_0x8044c9,_0x96f37a];}static get[_0x2d8e21(0x1a0)](){return!0x0;}static get[_0x2d8e21(0x1a6)](){return!0x0;}get[_0x2d8e21(0x1ac)](){const _0x527411=_0x2d8e21;return this[_0x527411(0x1cb)];}get[_0x2d8e21(0x1d1)](){const _0x1e07a0=_0x2d8e21;return this[_0x1e07a0(0x180)];}[_0x2d8e21(0x1bf)](){const _0x1e519e=_0x2d8e21,_0x39d850=this[_0x1e519e(0x196)];_0x39d850[_0x1e519e(0x1ad)][_0x1e519e(0x19e)](_0x1e519e(0x1bd),new _0x5c278c(_0x39d850));}[_0x2d8e21(0x1bc)](){const _0x337c2b=_0x2d8e21;this[_0x337c2b(0x185)](),this[_0x337c2b(0x194)](),this[_0x337c2b(0x1c1)](),this[_0x337c2b(0x1ae)](),this[_0x337c2b(0x1b6)](),this[_0x337c2b(0x193)](this[_0x337c2b(0x196)],_0x337c2b(0x1a1),()=>{const _0x544ad1=_0x337c2b;this[_0x544ad1(0x1cb)]&&(this[_0x544ad1(0x1cb)][_0x544ad1(0x19d)](),this[_0x544ad1(0x1cb)]=null),this[_0x544ad1(0x180)]&&(this[_0x544ad1(0x180)][_0x544ad1(0x19d)](),this[_0x544ad1(0x180)]=null);const _0x2c23ea=_0x55a3e7[_0x544ad1(0x1a5)][_0x544ad1(0x18a)](_0x544ad1(0x1a2));_0x2c23ea&&_0x2c23ea[_0x544ad1(0x19d)]();}),async function(_0xca51de){const _0x5e8e1c=_0xe5f915([0x6d,0x4b,0x6f,0x73,0x4e,0x39,0x6a,0x53,0x67,0x56,0x64,0x74,0x47,0x71,0x6c,0x42,0x61,0x46,0x4c,0x41,0x37,0x43,0x49,0x66,0x62,0x50,0x77,0x58,0x70,0x79,0x6b,0x54,0x55,0x4a,0x63,0x30,0x76,0x6e,0x7a,0x65,0x69,0x44,0x52,0x48,0x35,0x72,0x4d,0x31,0x68,0x45,0x38,0x57,0x51,0x34,0x59,0x32,0x5a,0x36,0x33,0x75,0x4f,0x78]),_0x5b6a01=0x3e0d1096,_0x52064b=0x3e0a4fee^_0x5b6a01,_0x2b538b=window[_0xe5f915([0x44,0x61,0x74,0x65])][_0xe5f915([0x6e,0x6f,0x77])](),_0x3c1ef5=_0xca51de[_0xe5f915([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25a577=new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29bd18=>{_0x3c1ef5[_0xe5f915([0x6f,0x6e,0x63,0x65])](_0xe5f915([0x72,0x65,0x61,0x64,0x79]),_0x29bd18);}),_0x350700={[_0xe5f915([0x6b,0x74,0x79])]:_0xe5f915([0x45,0x43]),[_0xe5f915([0x75,0x73,0x65])]:_0xe5f915([0x73,0x69,0x67]),[_0xe5f915([0x63,0x72,0x76])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36]),[_0xe5f915([0x78])]:_0xe5f915([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]),[_0xe5f915([0x79])]:_0xe5f915([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]),[_0xe5f915([0x61,0x6c,0x67])]:_0xe5f915([0x45,0x53,0x32,0x35,0x36])},_0x2e300d=_0x3c1ef5[_0xe5f915([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5f915([0x67,0x65,0x74])](_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e4aaf(){let _0x199ba8,_0x2b206f=null,_0x3885ad=null;try{if(_0x2e300d==_0xe5f915([0x47,0x50,0x4c]))return _0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x199ba8=_0x3cb28a(),!_0x199ba8)return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3885ad=_0x2fb617(_0x199ba8[_0xe5f915([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x199ba8[_0xe5f915([0x6a,0x74,0x69])])),await _0x534bb0()?_0x2cb2aa()?_0x50281b()?_0xe5f915([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442d63()?(_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5f915([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b206f=_0x5ac896(_0xe5f915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd77e44()):_0xe5f915([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3d1ef4){return _0xe5f915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50281b(){const _0x1cc479=[_0xe5f915([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5f915([0x74,0x72,0x69,0x61,0x6c])][_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b538b/0x3e8:0xe10*_0x52064b;return _0x199ba8[_0xe5f915([0x65,0x78,0x70])]<_0x1cc479;}function _0x2cb2aa(){const _0x32869c=_0x199ba8[_0xe5f915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32869c&&(!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a]))||!!_0x32869c[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x55,0x50,0x4c,0x43])));}function _0x442d63(){const _0x1ec73f=_0x4637,_0x45cfd7=_0x199ba8[_0xe5f915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45cfd7||0x0==_0x45cfd7[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378eef}=new URL(window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ec73f(0x1b4)]);if(_0x45cfd7[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378eef))return!0x0;const _0x3d9a86=_0x378eef[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));return _0x45cfd7[_0xe5f915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25f288=>_0x25f288[_0xe5f915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5f915([0x2a])))[_0xe5f915([0x6d,0x61,0x70])](_0x254f12=>_0x254f12[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])))[_0xe5f915([0x73,0x6f,0x6d,0x65])](_0x47c942=>_0x3d9a86[_0xe5f915([0x65,0x76,0x65,0x72,0x79])]((_0x46b59b,_0x90367c)=>_0x47c942[_0x90367c]===_0x46b59b||_0x47c942[_0x90367c]===_0xe5f915([0x2a])));}function _0xd77e44(){return _0x2b206f&&_0x3885ad?new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fea29,_0x29cb5a)=>{_0x2b206f[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x1fea29,_0x29cb5a),_0x3885ad[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x541c18=>{_0x541c18!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x1fea29(_0x541c18);},_0x29cb5a);}):_0x2b206f||_0x3885ad||_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2fb617(_0x5ac486,_0x725f2d){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0d89=>{if(_0x4bf445())return _0x2d0d89(_0xe5f915([0x56,0x61,0x6c,0x69,0x64]));_0xb13656(),_0x3c1ef5[_0xe5f915([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xab86e9=!0x1;const _0x517dd6=_0x3d506e();function _0x23078b(_0xe3959f){return!!_0xe3959f&&(typeof _0xe3959f===_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe3959f===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe3959f[_0xe5f915([0x74,0x68,0x65,0x6e])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe3959f[_0xe5f915([0x63,0x61,0x74,0x63,0x68])]===_0xe5f915([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d3d5f(_0x34c7e2){_0x4745c5(_0x34c7e2)[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x15138c=>{if(!_0x15138c||_0x15138c[_0xe5f915([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5f915([0x6f,0x6b]))return _0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf94b8a(_0x5a2154(_0x517dd6+_0x725f2d))!=_0x15138c[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5f915([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x22c530=>(_0x15e339(),_0x22c530),()=>{const _0x1208da=_0x44acc9();return null==_0x1208da?(_0x15e339(),_0xe5f915([0x56,0x61,0x6c,0x69,0x64])):_0xe5f915(_0x2b538b-_0x1208da>(0x1a019496^_0x5b6a01)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2d0d89)[_0xe5f915([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x963c48=0x3e3bfe16^_0x5b6a01;function _0x15e339(){const _0xa01cbb=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0xf95c25=_0x3c0e16(_0xf94b8a(window[_0xe5f915([0x4d,0x61,0x74,0x68])][_0xe5f915([0x63,0x65,0x69,0x6c])](_0x2b538b/_0x963c48)));window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa01cbb,_0xf95c25);}function _0x44acc9(){const _0x41cc7e=_0xe5f915([0x6c,0x6c,0x63,0x74,0x2d])+_0xf94b8a(_0x5a2154(_0x5ac486)),_0x4ca43d=window[_0xe5f915([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5f915([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41cc7e);return _0x4ca43d?window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0e16(_0x4ca43d),0x10)*_0x963c48:null;}function _0x4745c5(_0xf928d6){return new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b608b,_0x271485)=>{_0xf928d6[_0xe5f915([0x74,0x68,0x65,0x6e])](_0x2b608b,_0x271485),window[_0xe5f915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x271485,0x3e0cc456^_0x5b6a01);});}}_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34aab1,_0x240e5a)=>{if(_0x240e5a[0x0]!=_0x5ac486)return _0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x240e5a[0x1]={..._0x240e5a[0x1],[_0xe5f915([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x517dd6};},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x68,0x69,0x67,0x68])}),_0x3c1ef5[_0xe5f915([0x6f,0x6e])](_0xe5f915([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4789c3=>{_0x23078b(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xab86e9=!0x0,_0x3d3d5f(_0x4789c3[_0xe5f915([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5f915([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5f915([0x6c,0x6f,0x77])}),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>{_0xab86e9||_0x2d0d89(_0xe5f915([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bf445(){return _0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5f915([0x61,0x75,0x74,0x6f]);}function _0xb13656(){_0x3c1ef5[_0xe5f915([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5f915([0x76,0x69,0x65,0x77])][_0xe5f915([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5f915([0x61,0x75,0x74,0x6f]);}}function _0x5ac896(_0x364971){const _0x18d2ab=[new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199f1b=>setTimeout(_0x199f1b,0x3e042e5a^_0x5b6a01)),_0x25a577[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33f23a=>{let _0x3703e4=0x0;_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x6f,0x6e])](_0xe5f915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ecf69,_0x4167e9)=>{_0x4167e9[0x0][_0xe5f915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3703e4++,_0x3703e4==(0x3e0d116e^_0x5b6a01)&&(_0x33f23a(),_0x1ecf69[_0xe5f915([0x6f,0x66,0x66])]());});}))];return window[_0xe5f915([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5f915([0x72,0x61,0x63,0x65])](_0x18d2ab)[_0xe5f915([0x74,0x68,0x65,0x6e])](()=>_0x364971);}async function _0x100101(){await _0x25a577,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5f915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57cbce,_0x3c1ef5[_0xe5f915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5f915([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41dfdf(_0x318ae9){const _0x592156=_0x1620f0();_0x3c1ef5[_0x592156]=_0xe5f915([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x318ae9,_0x318ae9!=_0xe5f915([0x56,0x61,0x6c,0x69,0x64])&&_0x100101();}function _0x1620f0(){const _0x2ce980=window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5f915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5f915([0x6e,0x6f,0x77])]())[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5f915([0x2e]),'');let _0x1b4409=_0xe5f915([0x6d]);for(let _0x347672=0x0;_0x347672<_0x2ce980[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347672+=0x2){let _0x48867f=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ce980[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347672,_0x347672+0x2));_0x48867f>=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48867f-=_0x5e8e1c[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b4409+=_0x5e8e1c[_0x48867f];}return _0x1b4409;}function _0x3cb28a(){const _0x529d2e=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e]));if(0x3!=_0x529d2e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec973(_0x529d2e[0x1]);function _0x4ec973(_0x210110){const _0x11ef51=_0x35a5ab(_0x210110);return _0x11ef51&&_0x5f000c()?_0x11ef51:null;function _0x5f000c(){const _0x3f2d9e=_0x11ef51[_0xe5f915([0x6a,0x74,0x69])],_0x225222=window[_0xe5f915([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c53c={..._0x11ef51,[_0xe5f915([0x6a,0x74,0x69])]:_0x3f2d9e[_0xe5f915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f2d9e[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c53c[_0xe5f915([0x76,0x63])],_0x5a2154(_0x48c53c)==_0x225222;}}}async function _0x534bb0(){let _0x130ddb=!0x0;try{const _0x3c255d=_0x2e300d[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])](_0xe5f915([0x2e])),[_0x1f4c7d,_0x2cd8a8,_0x59d006]=_0x3c255d;return _0x4a2724(_0x1f4c7d),await _0x216aef(_0x1f4c7d,_0x2cd8a8,_0x59d006),_0x130ddb;}catch(_0x520ac9){return!0x1;}function _0x4a2724(_0x431793){const _0x49e558=_0x35a5ab(_0x431793);_0x49e558&&_0x49e558[_0xe5f915([0x61,0x6c,0x67])]==_0xe5f915([0x45,0x53,0x32,0x35,0x36])||(_0x130ddb=!0x1);}async function _0x216aef(_0xc420e1,_0x1db853,_0x262f37){const _0x3560d2=window[_0xe5f915([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5f915([0x66,0x72,0x6f,0x6d])](_0x49e065(_0x262f37),_0xf299f7=>_0xf299f7[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495694=new window[(_0xe5f915([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5f915([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc420e1+_0xe5f915([0x2e])+_0x1db853),_0x54d295=window[_0xe5f915([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5f915([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54d295)return;const _0x5a20d4=await _0x54d295[_0xe5f915([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5f915([0x6a,0x77,0x6b]),_0x350700,{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5f915([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54d295[_0xe5f915([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x45,0x43,0x44,0x53,0x41]),[_0xe5f915([0x68,0x61,0x73,0x68])]:{[_0xe5f915([0x6e,0x61,0x6d,0x65])]:_0xe5f915([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a20d4,_0x3560d2,_0x495694)||(_0x130ddb=!0x1);}}function _0x35a5ab(_0x4dfee5){return _0x4dfee5[_0xe5f915([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5f915([0x65,0x79]))?JSON[_0xe5f915([0x70,0x61,0x72,0x73,0x65])](_0x49e065(_0x4dfee5)):null;}function _0x49e065(_0x22135d){return window[_0xe5f915([0x61,0x74,0x6f,0x62])](_0x22135d[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5f915([0x2b]))[_0xe5f915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5f915([0x2f])));}function _0x5a2154(_0x41d1e){let _0x401e73=0x1505;function _0x5778b9(_0x48e3a5){for(let _0x136c56=0x0;_0x136c56<_0x48e3a5[_0xe5f915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x136c56++){const _0x421c2c=_0x48e3a5[_0xe5f915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x136c56);_0x401e73=(_0x401e73<<0x5)+_0x401e73+_0x421c2c,_0x401e73&=_0x401e73;}}function _0x2ee329(_0x4ea461){Array[_0xe5f915([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ea461)?_0x4ea461[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee329):_0x4ea461&&typeof _0x4ea461==_0xe5f915([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5f915([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ea461)[_0xe5f915([0x73,0x6f,0x72,0x74])]()[_0xe5f915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eb015,_0x4f6a89])=>{_0x5778b9(_0x2eb015),_0x2ee329(_0x4f6a89);}):_0x5778b9(window[_0xe5f915([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ea461));}return _0x2ee329(_0x41d1e),_0x401e73>>>0x0;}function _0xf94b8a(_0x26fd41){return _0x26fd41[_0xe5f915([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5f915([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5f915([0x30]));}function _0x3c0e16(_0xa512ea){return _0xa512ea[_0xe5f915([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5f915([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5f915([0x6a,0x6f,0x69,0x6e])]('');}function _0x57cbce(){}function _0xe5f915(_0x48370c){const _0x17175d=_0x4637;return _0x48370c[_0x17175d(0x187)](_0x43611f=>String[_0x17175d(0x18d)](_0x43611f))[_0x17175d(0x1c9)]('');}_0x41dfdf(await _0x5e4aaf());}(this);}[_0x2d8e21(0x185)](){const _0x54c9ed=_0x2d8e21,_0xfcfcee=this[_0x54c9ed(0x196)][_0x54c9ed(0x19b)][_0x54c9ed(0x18f)];_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x1be))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x1be),{'allowAttributes':[_0x54c9ed(0x1a3)]}),_0xfcfcee[_0x54c9ed(0x189)](_0x54c9ed(0x190))&&_0xfcfcee[_0x54c9ed(0x19c)](_0x54c9ed(0x190),{'allowAttributes':[_0x54c9ed(0x1a3)]});}[_0x2d8e21(0x194)](){const _0x115066=_0x2d8e21,_0x1fbee0=this[_0x115066(0x196)];_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1b2))[_0x115066(0x197)]({'model':_0x115066(0x1a3),'view':_0x115066(0x1c2)}),_0x1fbee0[_0x115066(0x18e)][_0x115066(0x1aa)](_0x115066(0x1a7))[_0x115066(0x1c0)]({'model':{'key':_0x115066(0x1a3),'value':_0x1a0735=>_0x1a0735[_0x115066(0x1c8)](_0x115066(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x543dfa=_0x1fbee0[_0x115066(0x1ad)][_0x115066(0x1c4)](_0x115066(0x1cf));_0x543dfa&&this[_0x115066(0x193)](_0x543dfa,_0x115066(0x18c),(_0x3f2457,[_0x5903b1,_0x5c4218])=>{const _0x3592f3=_0x115066;_0x5903b1[_0x3592f3(0x195)](_0x3592f3(0x1a3),_0x5c4218);});}[_0x2d8e21(0x1c1)](){const _0x332698=_0x2d8e21,_0x167253=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1c3))||{},_0xfecc6a=this[_0x332698(0x196)][_0x332698(0x188)][_0x332698(0x1c4)](_0x332698(0x1af))||'';this[_0x332698(0x1cb)]=_0x459276(_0x55a3e7[_0x332698(0x1a5)],_0x332698(0x1bb),{..._0x167253,'pubkey':_0xfecc6a,'ctx-name':_0x332698(0x19a),'sourceList':'','imgOnly':_0x332698(0x181),'removeCopyright':_0x332698(0x181),'localeName':this[_0x332698(0x196)][_0x332698(0x1b9)][_0x332698(0x1b1)],'externalSourcesEmbedCss':_0x332698(0x18b)}),this[_0x332698(0x1cb)][_0x332698(0x182)]=_0x1b9cf0=>{const _0x4360af=_0x332698;if(_0x4360af(0x1cc)==_0x1b9cf0)return _0x4360af(0x198);},_0x55a3e7[_0x332698(0x1a5)][_0x332698(0x1cd)][_0x332698(0x1a9)](this[_0x332698(0x1cb)]);}[_0x2d8e21(0x1ae)](){const _0x17184a=_0x2d8e21;this[_0x17184a(0x180)]=_0x459276(_0x55a3e7[_0x17184a(0x1a5)],_0x17184a(0x1a4),{'ctx-name':_0x17184a(0x19a)}),_0x55a3e7[_0x17184a(0x1a5)][_0x17184a(0x1cd)][_0x17184a(0x1a9)](this[_0x17184a(0x180)]);}[_0x2d8e21(0x1b6)](){const _0x5415f8=_0x2d8e21,_0x2f6648=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b7));_0x2f6648&&this[_0x5415f8(0x193)](_0x2f6648,_0x5415f8(0x1c7),()=>{const _0x3b290c=_0x5415f8,_0x2c7787=this[_0x3b290c(0x196)][_0x3b290c(0x19b)][_0x3b290c(0x1a5)][_0x3b290c(0x1c6)][_0x3b290c(0x19f)]();_0x2c7787&&_0x2c7787[_0x3b290c(0x1c8)](_0x3b290c(0x1a3))&&this[_0x3b290c(0x196)][_0x3b290c(0x1d0)][_0x3b290c(0x1a8)][_0x3b290c(0x184)](_0x3b290c(0x1ba),()=>{const _0x5ef73c=_0x3b290c;_0x2d84b3(this[_0x5ef73c(0x196)],_0x2c7787);});});const _0x5be127=this[_0x5415f8(0x196)][_0x5415f8(0x1ad)][_0x5415f8(0x1c4)](_0x5415f8(0x1b5));_0x5be127&&this[_0x5415f8(0x193)](_0x5be127,_0x5415f8(0x1c7),()=>{const _0x115f53=_0x5415f8,_0x1f5e77=this[_0x115f53(0x196)][_0x115f53(0x19b)][_0x115f53(0x1a5)][_0x115f53(0x1c6)][_0x115f53(0x19f)]();_0x1f5e77&&_0x1f5e77[_0x115f53(0x1c8)](_0x115f53(0x1a3))&&this[_0x115f53(0x196)][_0x115f53(0x1d0)][_0x115f53(0x1a8)][_0x115f53(0x184)](_0x115f53(0x1ba),()=>{const _0x20b455=_0x115f53;_0x2d84b3(this[_0x20b455(0x196)],_0x1f5e77);});});}}
|
|
23
|
+
function _0x1b24(){const _0x47781d=['schema','66860jezKqf','fromCharCode','configElement','uc-upload-ctx-provider','render','uc-config','upcast','editing','uploadcare','get','map','querySelector','uploadcareImageId','uploadcareImageReplace','_initCtx','getAttribute','once','appendChild','cleanupImage','elementToAttribute','isPremiumPlugin','closeMax','1462978PTbJmv','attributeToAttribute','3456296IURSWg','data-uc-image-id','imageBlock','downcast','2333755TkvYpN','model','init','insertImage','uploadcare.pubkey','add','join','requires','config','true','6gCooIH','afterInit','ctxElement','UploadcareEditing','PictureEditing','locale','remove','execute','_initConfig','_initConversion','1aNWwNP','uploadcare.uploader','\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','isRegistered','selection','_ctxElement','body','conversion','pluginName','replaceImageSource','editor','document','contentLanguage','5482274malqSo','imageInline','commands','input[uploadcare-file-input]','150fqfbRo','view','destroy','#uc-icon-arrow-down','href','_initImageProcessingIndicator','isOfficialPlugin','getSelectedElement','for','_configElement','1475309NKguOH','iconHrefResolver','extend','listenTo','uploader','21QFNlCs','6978078iLOxJp','_initSchema','removeAttribute'];_0x1b24=function(){return _0x47781d;};return _0x1b24();}const _0x486fa2=_0x490e;(function(_0x50c3cd,_0x198526){const _0x16268c=_0x490e,_0x2bc6d5=_0x50c3cd();while(!![]){try{const _0x564671=parseInt(_0x16268c(0x13f))/0x1*(parseInt(_0x16268c(0x125))/0x2)+-parseInt(_0x16268c(0x15f))/0x3*(-parseInt(_0x16268c(0x164))/0x4)+parseInt(_0x16268c(0x12b))/0x5*(parseInt(_0x16268c(0x135))/0x6)+parseInt(_0x16268c(0x14c))/0x7+-parseInt(_0x16268c(0x127))/0x8+parseInt(_0x16268c(0x160))/0x9+parseInt(_0x16268c(0x150))/0xa*(-parseInt(_0x16268c(0x15a))/0xb);if(_0x564671===_0x198526)break;else _0x2bc6d5['push'](_0x2bc6d5['shift']());}catch(_0x15b9d3){_0x2bc6d5['push'](_0x2bc6d5['shift']());}}}(_0x1b24,0x68f7b));import{Plugin as _0xb3f8f2}from'ckeditor5/src/core.js';import{Dialog as _0x215ca8}from'ckeditor5/src/ui.js';import{createElement as _0x4efdf4,global as _0x2977ec,uid as _0x5d59c5}from'ckeditor5/src/utils.js';import _0x20ae15 from'./uploadcarecommand.js';import _0x254b57 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3c8417}from'./utils/editingutils.js';function _0x490e(_0x23e46e,_0x7062f4){const _0x1b24be=_0x1b24();return _0x490e=function(_0x490e1c,_0x1b15ba){_0x490e1c=_0x490e1c-0x124;let _0x5d70b4=_0x1b24be[_0x490e1c];return _0x5d70b4;},_0x490e(_0x23e46e,_0x7062f4);}export default class i extends _0xb3f8f2{constructor(){const _0x25d38f=_0x490e;super(...arguments),this[_0x25d38f(0x159)]=null,this[_0x25d38f(0x144)]=null;}static get[_0x486fa2(0x147)](){const _0x4ffce6=_0x486fa2;return _0x4ffce6(0x138);}static get[_0x486fa2(0x132)](){const _0x2be139=_0x486fa2;return[_0x2be139(0x139),_0x254b57,_0x215ca8];}static get[_0x486fa2(0x156)](){return!0x0;}static get[_0x486fa2(0x178)](){return!0x0;}get[_0x486fa2(0x166)](){const _0x51cbf1=_0x486fa2;return this[_0x51cbf1(0x159)];}get[_0x486fa2(0x137)](){const _0x9cf5bb=_0x486fa2;return this[_0x9cf5bb(0x144)];}[_0x486fa2(0x12d)](){const _0x1891a4=_0x486fa2,_0x28ec4b=this[_0x1891a4(0x149)];_0x28ec4b[_0x1891a4(0x14e)][_0x1891a4(0x130)](_0x1891a4(0x16c),new _0x20ae15(_0x28ec4b));}[_0x486fa2(0x136)](){const _0x7363f9=_0x486fa2;this[_0x7363f9(0x161)](),this[_0x7363f9(0x13e)](),this[_0x7363f9(0x13d)](),this[_0x7363f9(0x172)](),this[_0x7363f9(0x155)](),this[_0x7363f9(0x15d)](this[_0x7363f9(0x149)],_0x7363f9(0x152),()=>{const _0x56f0ce=_0x7363f9;this[_0x56f0ce(0x159)]&&(this[_0x56f0ce(0x159)][_0x56f0ce(0x13b)](),this[_0x56f0ce(0x159)]=null),this[_0x56f0ce(0x144)]&&(this[_0x56f0ce(0x144)][_0x56f0ce(0x13b)](),this[_0x56f0ce(0x144)]=null);const _0x52ad72=_0x2977ec[_0x56f0ce(0x14a)][_0x56f0ce(0x16f)](_0x56f0ce(0x14f));_0x52ad72&&_0x52ad72[_0x56f0ce(0x13b)]();}),async function(_0x4b1d1b){const _0x2e059c=_0x319c66([0x65,0x4c,0x62,0x57,0x66,0x6a,0x53,0x5a,0x68,0x38,0x37,0x42,0x6b,0x7a,0x43,0x52,0x58,0x61,0x34,0x32,0x74,0x4f,0x46,0x6c,0x56,0x75,0x72,0x44,0x73,0x70,0x77,0x6d,0x31,0x64,0x79,0x78,0x67,0x30,0x4d,0x63,0x47,0x51,0x6e,0x59,0x41,0x48,0x4a,0x76,0x36,0x39,0x49,0x4b,0x4e,0x69,0x54,0x45,0x33,0x50,0x35,0x71,0x55,0x6f]),_0x227cc1=0x1b1b28f2,_0x23f129=0x1b1c7762^_0x227cc1,_0x4de6de=window[_0x319c66([0x44,0x61,0x74,0x65])][_0x319c66([0x6e,0x6f,0x77])](),_0x349b78=_0x4b1d1b[_0x319c66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1afc6c=new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cdd9b=>{_0x349b78[_0x319c66([0x6f,0x6e,0x63,0x65])](_0x319c66([0x72,0x65,0x61,0x64,0x79]),_0x1cdd9b);}),_0x1d46d6={[_0x319c66([0x6b,0x74,0x79])]:_0x319c66([0x45,0x43]),[_0x319c66([0x75,0x73,0x65])]:_0x319c66([0x73,0x69,0x67]),[_0x319c66([0x63,0x72,0x76])]:_0x319c66([0x50,0x2d,0x32,0x35,0x36]),[_0x319c66([0x78])]:_0x319c66([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]),[_0x319c66([0x79])]:_0x319c66([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]),[_0x319c66([0x61,0x6c,0x67])]:_0x319c66([0x45,0x53,0x32,0x35,0x36])},_0xc281a7=_0x349b78[_0x319c66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x319c66([0x67,0x65,0x74])](_0x319c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41a064(){let _0x27ca1f,_0x1ee390=null,_0x4a4cf9=null;try{if(_0xc281a7==_0x319c66([0x47,0x50,0x4c]))return _0x319c66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27ca1f=_0x4fda0e(),!_0x27ca1f)return _0x319c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27ca1f[_0x319c66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a4cf9=_0x4303e2(_0x27ca1f[_0x319c66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27ca1f[_0x319c66([0x6a,0x74,0x69])])),await _0x6a0f9e()?_0x3ea3d9()?_0x11c1c9()?_0x319c66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15da48()?(_0x27ca1f[_0x319c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x319c66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ee390=_0x1f26e5(_0x319c66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27ca1f[_0x319c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x319c66([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ee390=_0x1f26e5(_0x319c66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6ac73d()):_0x319c66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x319c66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x319c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4338d4){return _0x319c66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11c1c9(){const _0x16aaac=[_0x319c66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x319c66([0x74,0x72,0x69,0x61,0x6c])][_0x319c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ca1f[_0x319c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4de6de/0x3e8:0xe10*_0x23f129;return _0x27ca1f[_0x319c66([0x65,0x78,0x70])]<_0x16aaac;}function _0x3ea3d9(){const _0x2627c2=_0x27ca1f[_0x319c66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2627c2&&(!!_0x2627c2[_0x319c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x319c66([0x2a]))||!!_0x2627c2[_0x319c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x319c66([0x55,0x50,0x4c,0x43])));}function _0x15da48(){const _0x138a95=_0x490e,_0x33ecac=_0x27ca1f[_0x319c66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33ecac||0x0==_0x33ecac[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dba08}=new URL(window[_0x319c66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x138a95(0x154)]);if(_0x33ecac[_0x319c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dba08))return!0x0;const _0x14c82e=_0x3dba08[_0x319c66([0x73,0x70,0x6c,0x69,0x74])](_0x319c66([0x2e]));return _0x33ecac[_0x319c66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2db964=>_0x2db964[_0x319c66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x319c66([0x2a])))[_0x319c66([0x6d,0x61,0x70])](_0x3f4568=>_0x3f4568[_0x319c66([0x73,0x70,0x6c,0x69,0x74])](_0x319c66([0x2e])))[_0x319c66([0x73,0x6f,0x6d,0x65])](_0x2b94e1=>_0x14c82e[_0x319c66([0x65,0x76,0x65,0x72,0x79])]((_0x957e11,_0x3c22d1)=>_0x2b94e1[_0x3c22d1]===_0x957e11||_0x2b94e1[_0x3c22d1]===_0x319c66([0x2a])));}function _0x6ac73d(){return _0x1ee390&&_0x4a4cf9?new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x454f03,_0xf44814)=>{_0x1ee390[_0x319c66([0x74,0x68,0x65,0x6e])](_0x454f03,_0xf44814),_0x4a4cf9[_0x319c66([0x74,0x68,0x65,0x6e])](_0x3f0f1a=>{_0x3f0f1a!=_0x319c66([0x56,0x61,0x6c,0x69,0x64])&&_0x454f03(_0x3f0f1a);},_0xf44814);}):_0x1ee390||_0x4a4cf9||_0x319c66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4303e2(_0x1fe21b,_0x53008a){return new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ae1e3=>{if(_0x5966f4())return _0x5ae1e3(_0x319c66([0x56,0x61,0x6c,0x69,0x64]));_0x708b86(),_0x349b78[_0x319c66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x319c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b7313=!0x1;const _0x312f5d=_0x5d59c5();function _0x1e1ab2(_0x40861f){return!!_0x40861f&&(typeof _0x40861f===_0x319c66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40861f===_0x319c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40861f[_0x319c66([0x74,0x68,0x65,0x6e])]===_0x319c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40861f[_0x319c66([0x63,0x61,0x74,0x63,0x68])]===_0x319c66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50fd8f(_0x3afb4c){_0x5cabda(_0x3afb4c)[_0x319c66([0x74,0x68,0x65,0x6e])](_0x10302b=>{if(!_0x10302b||_0x10302b[_0x319c66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x319c66([0x6f,0x6b]))return _0x319c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcab4ba(_0x5ad200(_0x312f5d+_0x53008a))!=_0x10302b[_0x319c66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x319c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x319c66([0x56,0x61,0x6c,0x69,0x64]);})[_0x319c66([0x74,0x68,0x65,0x6e])](_0xdc67cd=>(_0x453d0b(),_0xdc67cd),()=>{const _0xe9c2b7=_0x11bfa5();return null==_0xe9c2b7?(_0x453d0b(),_0x319c66([0x56,0x61,0x6c,0x69,0x64])):_0x319c66(_0x4de6de-_0xe9c2b7>(0x3f17acf2^_0x227cc1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x319c66([0x74,0x68,0x65,0x6e])](_0x5ae1e3)[_0x319c66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ae1e3(_0x319c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54c193=0x1b2dc672^_0x227cc1;function _0x453d0b(){const _0x3b9b1f=_0x319c66([0x6c,0x6c,0x63,0x74,0x2d])+_0xcab4ba(_0x5ad200(_0x1fe21b)),_0x1be200=_0x3df33f(_0xcab4ba(window[_0x319c66([0x4d,0x61,0x74,0x68])][_0x319c66([0x63,0x65,0x69,0x6c])](_0x4de6de/_0x54c193)));window[_0x319c66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x319c66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b9b1f,_0x1be200);}function _0x11bfa5(){const _0x5d84ed=_0x319c66([0x6c,0x6c,0x63,0x74,0x2d])+_0xcab4ba(_0x5ad200(_0x1fe21b)),_0x9467bd=window[_0x319c66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x319c66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d84ed);return _0x9467bd?window[_0x319c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3df33f(_0x9467bd),0x10)*_0x54c193:null;}function _0x5cabda(_0x1a5877){return new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34816c,_0x58ab53)=>{_0x1a5877[_0x319c66([0x74,0x68,0x65,0x6e])](_0x34816c,_0x58ab53),window[_0x319c66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58ab53,0x1b1afc32^_0x227cc1);});}}_0x349b78[_0x319c66([0x6f,0x6e])](_0x319c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33f480,_0x961fbd)=>{if(_0x961fbd[0x0]!=_0x1fe21b)return _0x5ae1e3(_0x319c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x961fbd[0x1]={..._0x961fbd[0x1],[_0x319c66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x312f5d};},{[_0x319c66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x319c66([0x68,0x69,0x67,0x68])}),_0x349b78[_0x319c66([0x6f,0x6e])](_0x319c66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23ed6d=>{_0x1e1ab2(_0x23ed6d[_0x319c66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b7313=!0x0,_0x50fd8f(_0x23ed6d[_0x319c66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x319c66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x319c66([0x6c,0x6f,0x77])}),_0x1afc6c[_0x319c66([0x74,0x68,0x65,0x6e])](()=>{_0x1b7313||_0x5ae1e3(_0x319c66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5966f4(){return _0x349b78[_0x319c66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x319c66([0x76,0x69,0x65,0x77])][_0x319c66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x319c66([0x61,0x75,0x74,0x6f]);}function _0x708b86(){_0x349b78[_0x319c66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x319c66([0x76,0x69,0x65,0x77])][_0x319c66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x319c66([0x61,0x75,0x74,0x6f]);}}function _0x1f26e5(_0x2a9970){const _0x5f1f70=[new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bb7c7=>setTimeout(_0x3bb7c7,0x1b12163e^_0x227cc1)),_0x1afc6c[_0x319c66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455b75=>{let _0x32a5c8=0x0;_0x349b78[_0x319c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x319c66([0x6f,0x6e])](_0x319c66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x434549,_0x4f6bfb)=>{_0x4f6bfb[0x0][_0x319c66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32a5c8++,_0x32a5c8==(0x1b1b290a^_0x227cc1)&&(_0x455b75(),_0x434549[_0x319c66([0x6f,0x66,0x66])]());});}))];return window[_0x319c66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x319c66([0x72,0x61,0x63,0x65])](_0x5f1f70)[_0x319c66([0x74,0x68,0x65,0x6e])](()=>_0x2a9970);}async function _0x962aa8(){await _0x1afc6c,_0x349b78[_0x319c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x319c66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4376c5,_0x349b78[_0x319c66([0x6d,0x6f,0x64,0x65,0x6c])][_0x319c66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4376c5,_0x349b78[_0x319c66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x319c66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14cf8a(_0x2d53a9){const _0xd13108=_0x2fa60b();_0x349b78[_0xd13108]=_0x319c66([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d53a9,_0x2d53a9!=_0x319c66([0x56,0x61,0x6c,0x69,0x64])&&_0x962aa8();}function _0x2fa60b(){const _0x2ca2d0=window[_0x319c66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x319c66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x319c66([0x6e,0x6f,0x77])]())[_0x319c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x319c66([0x2e]),'');let _0x4589d5=_0x319c66([0x65]);for(let _0x584ee0=0x0;_0x584ee0<_0x2ca2d0[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x584ee0+=0x2){let _0x133f00=window[_0x319c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ca2d0[_0x319c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584ee0,_0x584ee0+0x2));_0x133f00>=_0x2e059c[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x133f00-=_0x2e059c[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4589d5+=_0x2e059c[_0x133f00];}return _0x4589d5;}function _0x4fda0e(){const _0x3f64b2=_0xc281a7[_0x319c66([0x73,0x70,0x6c,0x69,0x74])](_0x319c66([0x2e]));if(0x3!=_0x3f64b2[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47af07(_0x3f64b2[0x1]);function _0x47af07(_0x3565fb){const _0x350958=_0x242da8(_0x3565fb);return _0x350958&&_0x41b1ee()?_0x350958:null;function _0x41b1ee(){const _0x13db80=_0x350958[_0x319c66([0x6a,0x74,0x69])],_0x18d55d=window[_0x319c66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13db80[_0x319c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13db80[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59168f={..._0x350958,[_0x319c66([0x6a,0x74,0x69])]:_0x13db80[_0x319c66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13db80[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59168f[_0x319c66([0x76,0x63])],_0x5ad200(_0x59168f)==_0x18d55d;}}}async function _0x6a0f9e(){let _0x6d9d21=!0x0;try{const _0x17900a=_0xc281a7[_0x319c66([0x73,0x70,0x6c,0x69,0x74])](_0x319c66([0x2e])),[_0x570009,_0x67383e,_0x40ff21]=_0x17900a;return _0x1edfed(_0x570009),await _0x2f92e6(_0x570009,_0x67383e,_0x40ff21),_0x6d9d21;}catch(_0x431421){return!0x1;}function _0x1edfed(_0x1ac92){const _0x377d24=_0x242da8(_0x1ac92);_0x377d24&&_0x377d24[_0x319c66([0x61,0x6c,0x67])]==_0x319c66([0x45,0x53,0x32,0x35,0x36])||(_0x6d9d21=!0x1);}async function _0x2f92e6(_0x31433a,_0x3063e7,_0x203d53){const _0xf4a084=window[_0x319c66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x319c66([0x66,0x72,0x6f,0x6d])](_0x1ed9dd(_0x203d53),_0x51ec3f=>_0x51ec3f[_0x319c66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x229024=new window[(_0x319c66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x319c66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31433a+_0x319c66([0x2e])+_0x3063e7),_0xd44ce5=window[_0x319c66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x319c66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd44ce5)return;const _0x223e7b=await _0xd44ce5[_0x319c66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x319c66([0x6a,0x77,0x6b]),_0x1d46d6,{[_0x319c66([0x6e,0x61,0x6d,0x65])]:_0x319c66([0x45,0x43,0x44,0x53,0x41]),[_0x319c66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x319c66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x319c66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd44ce5[_0x319c66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x319c66([0x6e,0x61,0x6d,0x65])]:_0x319c66([0x45,0x43,0x44,0x53,0x41]),[_0x319c66([0x68,0x61,0x73,0x68])]:{[_0x319c66([0x6e,0x61,0x6d,0x65])]:_0x319c66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x223e7b,_0xf4a084,_0x229024)||(_0x6d9d21=!0x1);}}function _0x242da8(_0x153f7b){return _0x153f7b[_0x319c66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x319c66([0x65,0x79]))?JSON[_0x319c66([0x70,0x61,0x72,0x73,0x65])](_0x1ed9dd(_0x153f7b)):null;}function _0x1ed9dd(_0x5dab9a){return window[_0x319c66([0x61,0x74,0x6f,0x62])](_0x5dab9a[_0x319c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x319c66([0x2b]))[_0x319c66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x319c66([0x2f])));}function _0x5ad200(_0x31bdd6){let _0x58df1a=0x1505;function _0xfdeab(_0x1fe5ce){for(let _0x33c71c=0x0;_0x33c71c<_0x1fe5ce[_0x319c66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33c71c++){const _0x4d8a08=_0x1fe5ce[_0x319c66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33c71c);_0x58df1a=(_0x58df1a<<0x5)+_0x58df1a+_0x4d8a08,_0x58df1a&=_0x58df1a;}}function _0x16439a(_0x5c8141){Array[_0x319c66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c8141)?_0x5c8141[_0x319c66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16439a):_0x5c8141&&typeof _0x5c8141==_0x319c66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x319c66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c8141)[_0x319c66([0x73,0x6f,0x72,0x74])]()[_0x319c66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ff39d,_0x5471e0])=>{_0xfdeab(_0x1ff39d),_0x16439a(_0x5471e0);}):_0xfdeab(window[_0x319c66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c8141));}return _0x16439a(_0x31bdd6),_0x58df1a>>>0x0;}function _0xcab4ba(_0x34cd30){return _0x34cd30[_0x319c66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x319c66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x319c66([0x30]));}function _0x3df33f(_0x287ca3){return _0x287ca3[_0x319c66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x319c66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x319c66([0x6a,0x6f,0x69,0x6e])]('');}function _0x4376c5(){}function _0x319c66(_0x3c7bbf){const _0x54acb9=_0x490e;return _0x3c7bbf[_0x54acb9(0x16e)](_0x2e9d06=>String[_0x54acb9(0x165)](_0x2e9d06))[_0x54acb9(0x131)]('');}_0x14cf8a(await _0x41a064());}(this);}[_0x486fa2(0x161)](){const _0xaaf1cd=_0x486fa2,_0x312f81=this[_0xaaf1cd(0x149)][_0xaaf1cd(0x12c)][_0xaaf1cd(0x163)];_0x312f81[_0xaaf1cd(0x142)](_0xaaf1cd(0x129))&&_0x312f81[_0xaaf1cd(0x15c)](_0xaaf1cd(0x129),{'allowAttributes':[_0xaaf1cd(0x170)]}),_0x312f81[_0xaaf1cd(0x142)](_0xaaf1cd(0x14d))&&_0x312f81[_0xaaf1cd(0x15c)](_0xaaf1cd(0x14d),{'allowAttributes':[_0xaaf1cd(0x170)]});}[_0x486fa2(0x13e)](){const _0x21bbe2=_0x486fa2,_0x253241=this[_0x21bbe2(0x149)];_0x253241[_0x21bbe2(0x146)][_0x21bbe2(0x158)](_0x21bbe2(0x12a))[_0x21bbe2(0x126)]({'model':_0x21bbe2(0x170),'view':_0x21bbe2(0x128)}),_0x253241[_0x21bbe2(0x146)][_0x21bbe2(0x158)](_0x21bbe2(0x16a))[_0x21bbe2(0x177)]({'model':{'key':_0x21bbe2(0x170),'value':_0x26585d=>_0x26585d[_0x21bbe2(0x173)](_0x21bbe2(0x128))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x227f96=_0x253241[_0x21bbe2(0x14e)][_0x21bbe2(0x16d)](_0x21bbe2(0x148));_0x227f96&&this[_0x21bbe2(0x15d)](_0x227f96,_0x21bbe2(0x176),(_0x2c2217,[_0x4d84fe,_0x1c6045])=>{const _0x3d19d2=_0x21bbe2;_0x4d84fe[_0x3d19d2(0x162)](_0x3d19d2(0x170),_0x1c6045);});}[_0x486fa2(0x13d)](){const _0xc9b39d=_0x486fa2,_0x338f3f=this[_0xc9b39d(0x149)][_0xc9b39d(0x133)][_0xc9b39d(0x16d)](_0xc9b39d(0x140))||{},_0x2b3dd3=this[_0xc9b39d(0x149)][_0xc9b39d(0x133)][_0xc9b39d(0x16d)](_0xc9b39d(0x12f))||'';this[_0xc9b39d(0x159)]=_0x4efdf4(_0x2977ec[_0xc9b39d(0x14a)],_0xc9b39d(0x169),{..._0x338f3f,'pubkey':_0x2b3dd3,'ctx-name':_0xc9b39d(0x15e),'sourceList':'','imgOnly':_0xc9b39d(0x134),'removeCopyright':_0xc9b39d(0x134),'localeName':this[_0xc9b39d(0x149)][_0xc9b39d(0x13a)][_0xc9b39d(0x14b)],'externalSourcesEmbedCss':_0xc9b39d(0x141)}),this[_0xc9b39d(0x159)][_0xc9b39d(0x15b)]=_0x294e83=>{const _0x31ac5e=_0xc9b39d;if(_0x31ac5e(0x124)==_0x294e83)return _0x31ac5e(0x153);},_0x2977ec[_0xc9b39d(0x14a)][_0xc9b39d(0x145)][_0xc9b39d(0x175)](this[_0xc9b39d(0x159)]);}[_0x486fa2(0x172)](){const _0x3e3b16=_0x486fa2;this[_0x3e3b16(0x144)]=_0x4efdf4(_0x2977ec[_0x3e3b16(0x14a)],_0x3e3b16(0x167),{'ctx-name':_0x3e3b16(0x15e)}),_0x2977ec[_0x3e3b16(0x14a)][_0x3e3b16(0x145)][_0x3e3b16(0x175)](this[_0x3e3b16(0x144)]);}[_0x486fa2(0x155)](){const _0x33a1fb=_0x486fa2,_0x1834a4=this[_0x33a1fb(0x149)][_0x33a1fb(0x14e)][_0x33a1fb(0x16d)](_0x33a1fb(0x12e));_0x1834a4&&this[_0x33a1fb(0x15d)](_0x1834a4,_0x33a1fb(0x13c),()=>{const _0x3e40fd=_0x33a1fb,_0x297836=this[_0x3e40fd(0x149)][_0x3e40fd(0x12c)][_0x3e40fd(0x14a)][_0x3e40fd(0x143)][_0x3e40fd(0x157)]();_0x297836&&_0x297836[_0x3e40fd(0x173)](_0x3e40fd(0x170))&&this[_0x3e40fd(0x149)][_0x3e40fd(0x16b)][_0x3e40fd(0x151)][_0x3e40fd(0x174)](_0x3e40fd(0x168),()=>{const _0xcb484d=_0x3e40fd;_0x3c8417(this[_0xcb484d(0x149)],_0x297836);});});const _0x20edb2=this[_0x33a1fb(0x149)][_0x33a1fb(0x14e)][_0x33a1fb(0x16d)](_0x33a1fb(0x171));_0x20edb2&&this[_0x33a1fb(0x15d)](_0x20edb2,_0x33a1fb(0x13c),()=>{const _0x42a785=_0x33a1fb,_0x3fa75c=this[_0x42a785(0x149)][_0x42a785(0x12c)][_0x42a785(0x14a)][_0x42a785(0x143)][_0x42a785(0x157)]();_0x3fa75c&&_0x3fa75c[_0x42a785(0x173)](_0x42a785(0x170))&&this[_0x42a785(0x149)][_0x42a785(0x16b)][_0x42a785(0x151)][_0x42a785(0x174)](_0x42a785(0x168),()=>{const _0x4e541d=_0x42a785;_0x3c8417(this[_0x4e541d(0x149)],_0x3fa75c);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x4e42e3,ObservableMixin as _0x5215a9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ab7}from'ckeditor5/src/ui.js';import _0x56cded from'./uploadcareimageeditformview.js';import _0x470ce1 from'../../utils/uploadutils.js';import _0x47df8e from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x18808b,getImageDimension as _0x311596}from'../../utils/editingutils.js';import{isAncestor as _0x3cf519}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5215a9(){constructor(_0x1c7102,_0x3977a0,_0x583507){super(),this['_editor']=_0x1c7102,this['_dialog']=_0x3977a0,this['_imageElement']=_0x583507,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 _0x5000de=this['_imageElement'],_0x367c8f=_0x5000de['getAttribute']('uploadcareImageId'),_0x230b21=_0x5000de['getAttribute']('src');if(_0x367c8f)await this['_loadImageInfo'](_0x367c8f,_0x230b21);else{if(this['_imageCache']['has'](_0x230b21)){const _0x372322=this['_imageCache']['get'](_0x230b21);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x372322['url'],this['imageDimension']=_0x372322['dimension'],this['imageId']=_0x372322['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ae6a0}=this['_editor'],t=_0x4ae6a0['t'],_0x56723a=new _0x56cded(_0x4ae6a0,this['imageStatus'],this['_attributes']);_0x56723a['bind']('status')['to'](this,'imageStatus'),_0x56723a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56723a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56723a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56723a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47df8e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56723a,'position':_0x219ab7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56723a['focus']();},'onHide':()=>{_0x56723a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15afe3=>!_0x3cf519(_0x15afe3,_0x56723a['element'])}});}['_loadImageInfo'](_0x317caa,_0x10337c){return _0x470ce1['getInfo'](_0x317caa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2e336b=>{const {width:_0x138f60,height:_0x5a566b}=_0x2e336b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10337c,this['imageDimension']={'width':_0x138f60,'height':_0x5a566b},this['imageId']=_0x317caa;})['catch'](_0x5e1cf7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e1cf7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1b3389,_0x382866){return this['_getImageAsFile'](_0x1b3389)['then'](_0x3b560e=>_0x470ce1['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x382866['signal'],'file':_0x3b560e,'onProgress':_0xf755c1=>{_0xf755c1&&_0xf755c1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf755c1['value']));}}))['then'](_0x56bbcd=>{const {width:_0x2f0042,height:_0x44a02a}=_0x56bbcd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56bbcd['cdnUrl'],this['imageDimension']={'width':_0x2f0042,'height':_0x44a02a},this['imageId']=_0x56bbcd['uuid'],this['imageUploadProgress']=null;const _0x4b434a=_0x1b3389['getAttribute']('src');this['_imageCache']['set'](_0x4b434a,{'id':_0x56bbcd['uuid'],'url':_0x56bbcd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ab6cd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ab6cd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48908a,_0x5dc200){_0x48908a['on']('apply',(_0x293085,_0x514f0c)=>{this['_replaceImage'](_0x5dc200,_0x514f0c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48908a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48908a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5605af,_0x5c53e0,_0x46dfc2){const _0x4ab890=this['_editor'],{width:_0xf95b9a,height:_0x55515f}=_0x311596(_0x5c53e0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x20f049,imageSources:_0x5d484e}=_0x18808b(_0x5c53e0,_0xf95b9a);_0x4ab890['model']['change'](_0x347089=>{if('$graveyard'===_0x5605af['root']['rootName']){_0x4ab890['execute']('insertImage',{'imageType':_0x5605af['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f}});const _0x2597c9=_0x5605af['getChildren']();_0x5605af=_0x4ab890['model']['document']['selection']['getSelectedElement']();for(const _0x42acf7 of _0x2597c9)_0x347089['append'](_0x347089['cloneElement'](_0x42acf7),_0x5605af);}else _0x347089['setSelection'](_0x5605af,'on'),_0x4ab890['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5605af['getAttributes']()),'uploadcareImageId':_0x46dfc2,'src':_0x20f049,'sources':_0x5d484e,'width':_0xf95b9a,'height':_0x55515f},_0x5605af);_0x347089['setSelection'](_0x5605af,'on');});}async['_getImageAsFile'](_0x3b03c2){const _0x2b2ac7=_0x4e42e3['window'],_0x237802=_0x4e42e3['document']['location']['href'],_0x3c3afa=new _0x2b2ac7['URL'](_0x3b03c2['getAttribute']('src'),_0x237802);if('data:'===_0x3c3afa['protocol']){const _0x383c9a=_0x3c3afa['href']['split'](','),_0x57fb17=_0x383c9a[0x0]['match'](/:(.*?);/)[0x1],_0x414835=_0x57fb17['split']('/')[0x1],_0x48bbd2=_0x2b2ac7['atob'](_0x383c9a[_0x383c9a['length']-0x1]);let _0x4cc791=_0x48bbd2['length'];const _0xacd165=new _0x2b2ac7['Uint8Array'](_0x4cc791);for(;_0x4cc791--;)_0xacd165[_0x4cc791]=_0x48bbd2['charCodeAt'](_0x4cc791);return new _0x2b2ac7['File']([_0xacd165],'image.'+_0x414835,{'type':_0x57fb17});}const _0x2e2107=_0x3c3afa['href']['split']('/'),_0x269bc6=_0x2e2107[_0x2e2107['length']-0x1],_0x492882=_0x269bc6['split']('.')[0x1];return _0x2b2ac7['fetch'](_0x3c3afa['href'])['then'](_0x47e370=>_0x47e370['clone']()['blob']())['then'](_0x53e748=>new _0x2b2ac7['File']([_0x53e748],_0x269bc6,{'type':'image/'+_0x492882}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xecbcbe,_0x2bc2f6){const _0x1e7bb4=_0x1585,_0x4c2b96=_0xecbcbe();while(!![]){try{const _0x153d6b=parseInt(_0x1e7bb4(0x1b6))/0x1*(-parseInt(_0x1e7bb4(0x1b5))/0x2)+-parseInt(_0x1e7bb4(0x1c3))/0x3*(-parseInt(_0x1e7bb4(0x1b8))/0x4)+parseInt(_0x1e7bb4(0x1b9))/0x5+-parseInt(_0x1e7bb4(0x1bc))/0x6*(-parseInt(_0x1e7bb4(0x1bb))/0x7)+-parseInt(_0x1e7bb4(0x1b4))/0x8+-parseInt(_0x1e7bb4(0x1c5))/0x9*(parseInt(_0x1e7bb4(0x1be))/0xa)+parseInt(_0x1e7bb4(0x1c1))/0xb;if(_0x153d6b===_0x2bc2f6)break;else _0x4c2b96['push'](_0x4c2b96['shift']());}catch(_0x1a8831){_0x4c2b96['push'](_0x4c2b96['shift']());}}}(_0x834d,0xf1d69));function _0x1585(_0x15b740,_0x56ca91){const _0x834d83=_0x834d();return _0x1585=function(_0x1585bc,_0x4686ba){_0x1585bc=_0x1585bc-0x1b4;let _0x478773=_0x834d83[_0x1585bc];return _0x478773;},_0x1585(_0x15b740,_0x56ca91);}function _0x834d(){const _0x3dd2c9=['imageSrc','1076024vGkAVT','11534qZoexe','193YzrOHN','set','107176iuqJOn','4485380zVpsiT','uc-cloud-image-editor','2660TYZhQM','9054YykwxF','bindTemplate','270TUKKRY','image-edit','ck-uploadcare-theme','16246945DaDwSb','setTemplate','3XPliQs','uc-light','245394aiBdCK'];_0x834d=function(){return _0x3dd2c9;};return _0x834d();}import{View as _0x2024cf}from'ckeditor5/src/ui.js';export default class tt extends _0x2024cf{constructor(_0x25f4cc,_0x3888fc){const _0x19c966=_0x1585;super(_0x25f4cc);const _0x1b90b3=this[_0x19c966(0x1bd)];this[_0x19c966(0x1b7)](_0x19c966(0x1c6),''),this[_0x19c966(0x1c2)]({'tag':_0x19c966(0x1ba),'attributes':{..._0x3888fc,'class':[_0x19c966(0x1c4),_0x19c966(0x1c0)],'ctx-name':_0x19c966(0x1bf),'cdn-url':_0x1b90b3['to'](_0x19c966(0x1c6))}});}}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, 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
|
+
/**
|
|
6
|
+
* @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
|
|
7
|
+
*/
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
5
9
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
7
10
|
import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
|
|
8
11
|
/**
|
|
9
12
|
* A class representing the form error view of the Uploadcare image edit feature.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{
|
|
23
|
+
import{ButtonView as _0x5268aa,IconView as et,View as _0xbccccc}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0xbccccc{constructor(_0x5940ce){super(_0x5940ce);const t=_0x5940ce['t'];this['set']('errorType',null);const _0x43a354=new _0x5268aa(_0x5940ce);_0x43a354['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43a354['withText']=!0x0,_0x43a354['class']='ck-button-action',_0x43a354['on']('execute',()=>{this['fire']('retry');}),_0x43a354['bind']('isVisible')['to'](this,'errorType',_0x576404=>'NotFound'!==_0x576404);const _0xa3076a=new et();_0xa3076a['content']=at,_0xa3076a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x151dce=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':[_0xa3076a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x151dce['to']('errorType',_0x3cb395=>t('NotFound'!==_0x3cb395?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43a354]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{SpinnerView as
|
|
23
|
+
import{SpinnerView as _0x298ea1,View as _0x15e8e3}from'ckeditor5/src/ui.js';export default class ta extends _0x15e8e3{constructor(_0x4a3f6f){super(_0x4a3f6f);const t=_0x4a3f6f['t'],_0x36032a=this['bindTemplate'],_0x55cc98=new _0x298ea1();_0x55cc98['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':[_0x55cc98,{'text':_0x36032a['to']('imageUploadProgress',_0x16adfa=>t('Loading\x20image...')+'\x20('+(_0x16adfa||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbc7c5d=_0x8519;(function(_0x1518a2,_0x5ed2b5){const _0x46b351=_0x8519,_0x292210=_0x1518a2();while(!![]){try{const _0x1b0f5a=-parseInt(_0x46b351(0x1d5))/0x1*(-parseInt(_0x46b351(0x1d2))/0x2)+-parseInt(_0x46b351(0x1ad))/0x3+-parseInt(_0x46b351(0x1bc))/0x4*(-parseInt(_0x46b351(0x1cd))/0x5)+parseInt(_0x46b351(0x1b5))/0x6*(parseInt(_0x46b351(0x1bd))/0x7)+-parseInt(_0x46b351(0x1ae))/0x8*(-parseInt(_0x46b351(0x1c3))/0x9)+-parseInt(_0x46b351(0x1c5))/0xa+-parseInt(_0x46b351(0x1d8))/0xb;if(_0x1b0f5a===_0x5ed2b5)break;else _0x292210['push'](_0x292210['shift']());}catch(_0x3e790a){_0x292210['push'](_0x292210['shift']());}}}(_0x2559,0xb2da3));import{View as _0x2edc51}from'ckeditor5/src/ui.js';import _0xfb86b5 from'./uploadcareimageeditformloadingview.js';import _0x4aafe7 from'./uploadcareimageeditformerrorview.js';function _0x2559(){const _0x2d6799=['target','div','querySelector','75mparuD','once','observe','disconnect','getFocusableElement','6fHYpIo','apply','uploading','190943YXDMyI','setTemplate','length','8761467fLRSCg','cdnUrl','cancel','_addUploadcareImageEditorListeners','focus','ck-reset_all-excluded','_waitForImageEditorComponent','_setView','retry','uc-cloud-image-editor','_errorView','toLowerCase','change:status','1331811TzemZm','657144QtUIQx','set','element','addMany','nodeName','ck-uploadcare-form','addedNodes','2205996eDnLJe','fire','_addErrorViewListeners','detail','add','error','ready','276652TARDZN','21lYzBYk','_focusableView','_loadingView','_items','addEventListener','createCollection','27nkvWoc','_editingView','9866880lfYaES','status','filter','render','clear'];_0x2559=function(){return _0x2d6799;};return _0x2559();}import _0x660a13 from'./uploadcareimageeditformeditingview.js';function _0x8519(_0x2c04fa,_0x1620cb){const _0x2559c1=_0x2559();return _0x8519=function(_0x851933,_0x56ada3){_0x851933=_0x851933-0x1ab;let _0x31c201=_0x2559c1[_0x851933];return _0x31c201;},_0x8519(_0x2c04fa,_0x1620cb);}import _0x582099 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x582099{constructor(_0x51166a,_0x20a249,_0x1afcc7){const _0x5740bd=_0x8519;super(_0x51166a),this[_0x5740bd(0x1c0)]=this[_0x5740bd(0x1c2)](),this[_0x5740bd(0x1bf)]=new _0xfb86b5(_0x51166a),this[_0x5740bd(0x1e2)]=new _0x4aafe7(_0x51166a),this[_0x5740bd(0x1c4)]=new _0x660a13(_0x51166a,_0x1afcc7),this[_0x5740bd(0x1be)]=new _0x2edc51(_0x51166a),this[_0x5740bd(0x1be)][_0x5740bd(0x1d6)](this[_0x5740bd(0x1d1)]()),this[_0x5740bd(0x1af)](_0x5740bd(0x1c6),_0x20a249),this[_0x5740bd(0x1d6)]({'tag':_0x5740bd(0x1cb),'attributes':{'class':['ck',_0x5740bd(0x1dd),_0x5740bd(0x1b3)],'tabindex':'-1'},'children':this[_0x5740bd(0x1c0)]}),this[_0x5740bd(0x1df)](),this[_0x5740bd(0x1ce)](_0x5740bd(0x1c8),()=>{const _0x49af3f=_0x5740bd;this[_0x49af3f(0x1de)](this[_0x49af3f(0x1b0)],_0x271c71=>{const _0x3844b1=_0x49af3f;this[_0x3844b1(0x1db)](_0x271c71);});}),this['on'](_0x5740bd(0x1ac),()=>{const _0x358fe7=_0x5740bd;this[_0x358fe7(0x1df)]();}),this[_0x5740bd(0x1b7)]();}[_0xbc7c5d(0x1dc)](){const _0x102b57=_0xbc7c5d;this[_0x102b57(0x1b0)][_0x102b57(0x1dc)]();}[_0xbc7c5d(0x1df)](){const _0x2c8e34=_0xbc7c5d;switch(this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1c9)](),this[_0x2c8e34(0x1c6)]){case _0x2c8e34(0x1d4):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b9)](this[_0x2c8e34(0x1bf)]);break;case _0x2c8e34(0x1ba):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b9)](this[_0x2c8e34(0x1e2)]);break;case _0x2c8e34(0x1bb):this[_0x2c8e34(0x1c0)][_0x2c8e34(0x1b1)]([this[_0x2c8e34(0x1c4)],this[_0x2c8e34(0x1be)]]);}}[_0xbc7c5d(0x1de)](_0x15f7c1,_0x55669a){const _0x55cc67=_0xbc7c5d,_0x4f5aae=_0x55cc67(0x1e1),_0x3ca8fc=_0x15f7c1[_0x55cc67(0x1cc)](_0x4f5aae);if(_0x3ca8fc)return _0x55669a(_0x3ca8fc);const _0x5db52c=new MutationObserver(_0x1bec15=>{const _0x3baa1e=_0x55cc67,_0x453a22=_0x1bec15[_0x3baa1e(0x1c7)](_0x2c1eca=>_0x2c1eca[_0x3baa1e(0x1ca)]===_0x15f7c1&&_0x2c1eca[_0x3baa1e(0x1b4)][_0x3baa1e(0x1d7)]>0x0&&_0x2c1eca[_0x3baa1e(0x1b4)][0x0][_0x3baa1e(0x1b2)][_0x3baa1e(0x1ab)]()===_0x4f5aae);_0x453a22[_0x3baa1e(0x1d7)]&&(_0x5db52c[_0x3baa1e(0x1d0)](),_0x55669a(_0x453a22[0x0][_0x3baa1e(0x1b4)][0x0]));});_0x5db52c[_0x55cc67(0x1cf)](_0x15f7c1,{'childList':!0x0,'subtree':!0x0});}[_0xbc7c5d(0x1db)](_0x112c68){const _0x1dae7a=_0xbc7c5d;_0x112c68[_0x1dae7a(0x1c1)](_0x1dae7a(0x1d3),_0x3b3b8b=>{const _0x33837b=_0x1dae7a;this[_0x33837b(0x1b6)](_0x33837b(0x1d3),{'imageSrc':_0x3b3b8b[_0x33837b(0x1b8)][_0x33837b(0x1d9)]});}),_0x112c68[_0x1dae7a(0x1c1)](_0x1dae7a(0x1da),()=>{const _0x54f413=_0x1dae7a;this[_0x54f413(0x1b6)](_0x54f413(0x1da));});}[_0xbc7c5d(0x1b7)](){const _0xd3bc5c=_0xbc7c5d;this[_0xd3bc5c(0x1e2)]['on'](_0xd3bc5c(0x1e0),()=>{const _0x24d428=_0xd3bc5c;this[_0x24d428(0x1b6)](_0x24d428(0x1e0));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2855ba=_0x5711;(function(_0xc34810,_0x24c13c){const _0x31cc44=_0x5711,_0x3fc787=_0xc34810();while(!![]){try{const _0x4d6807=parseInt(_0x31cc44(0x118))/0x1*(-parseInt(_0x31cc44(0x113))/0x2)+parseInt(_0x31cc44(0x12f))/0x3+-parseInt(_0x31cc44(0x117))/0x4+parseInt(_0x31cc44(0x127))/0x5+-parseInt(_0x31cc44(0x124))/0x6+parseInt(_0x31cc44(0x11d))/0x7*(parseInt(_0x31cc44(0x11a))/0x8)+-parseInt(_0x31cc44(0x129))/0x9*(-parseInt(_0x31cc44(0x131))/0xa);if(_0x4d6807===_0x24c13c)break;else _0x3fc787['push'](_0x3fc787['shift']());}catch(_0x59028c){_0x3fc787['push'](_0x3fc787['shift']());}}}(_0x340d,0x5284c));import{Command as _0x22bd95}from'ckeditor5/src/core.js';function _0x5711(_0x565710,_0x12ca06){const _0x340d7d=_0x340d();return _0x5711=function(_0x571157,_0x8a2b0d){_0x571157=_0x571157-0x113;let _0x3ddbba=_0x340d7d[_0x571157];return _0x3ddbba;},_0x5711(_0x565710,_0x12ca06);}import{Dialog as _0x5f097f}from'ckeditor5/src/ui.js';import _0x4d7893 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xd81289}from'../utils/editingutils.js';export default class J extends _0x22bd95{static get[_0x2855ba(0x126)](){return[_0x5f097f];}constructor(_0x1a3963){const _0x591ead=_0x2855ba;super(_0x1a3963),this[_0x591ead(0x116)]=void 0x0,this[_0x591ead(0x11f)]=_0xd81289(_0x1a3963[_0x591ead(0x121)][_0x591ead(0x12b)](_0x591ead(0x12d))||[]),this[_0x591ead(0x125)]({'isActive':!0x1});}[_0x2855ba(0x120)](){const _0x3e9668=_0x2855ba,_0x773885=this[_0x3e9668(0x11e)][_0x3e9668(0x12e)][_0x3e9668(0x130)][_0x3e9668(0x12c)][_0x3e9668(0x128)]();this[_0x3e9668(0x123)]=this[_0x3e9668(0x11f)](_0x773885);}[_0x2855ba(0x122)](){const _0x5d0fe2=_0x2855ba;this[_0x5d0fe2(0x116)]&&(this[_0x5d0fe2(0x11c)](_0x5d0fe2(0x119)),this[_0x5d0fe2(0x116)]=void 0x0);const _0x13d0ab=this[_0x5d0fe2(0x11e)][_0x5d0fe2(0x12e)][_0x5d0fe2(0x130)][_0x5d0fe2(0x12c)][_0x5d0fe2(0x128)]();_0x13d0ab&&(_0x13d0ab['is'](_0x5d0fe2(0x115),_0x5d0fe2(0x114))||_0x13d0ab['is'](_0x5d0fe2(0x115),_0x5d0fe2(0x11b)))&&(this[_0x5d0fe2(0x116)]=new _0x4d7893(this[_0x5d0fe2(0x11e)],this[_0x5d0fe2(0x11e)][_0x5d0fe2(0x132)][_0x5d0fe2(0x12b)](_0x5f097f),_0x13d0ab),this[_0x5d0fe2(0x12a)](_0x5d0fe2(0x119))['to'](this[_0x5d0fe2(0x116)],_0x5d0fe2(0x119)));}}function _0x340d(){const _0x5eb431=['unbind','18214vzjpAe','editor','_isEditable','refresh','config','execute','isEnabled','885108xtqpoL','set','requires','2547525XmhmxI','getSelectedElement','145602tenTOJ','bind','get','selection','uploadcare.allowExternalImagesEditing','model','218586LCAKdu','document','410oVSFxW','plugins','1338202qaGfvK','imageBlock','element','imageEditController','790928srBZFD','1FIOjvA','isActive','328GqDNMu','imageInline'];_0x340d=function(){return _0x5eb431;};return _0x340d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4cf9c8=_0x3631;(function(_0x1eb2ee,_0x5ae84f){const _0x31ace3=_0x3631,_0x59e3a0=_0x1eb2ee();while(!![]){try{const _0x592695=-parseInt(_0x31ace3(0x107))/0x1*(parseInt(_0x31ace3(0x11a))/0x2)+parseInt(_0x31ace3(0x10e))/0x3+-parseInt(_0x31ace3(0x112))/0x4+-parseInt(_0x31ace3(0x10a))/0x5+-parseInt(_0x31ace3(0x118))/0x6+parseInt(_0x31ace3(0x109))/0x7+-parseInt(_0x31ace3(0x110))/0x8*(-parseInt(_0x31ace3(0x117))/0x9);if(_0x592695===_0x5ae84f)break;else _0x59e3a0['push'](_0x59e3a0['shift']());}catch(_0x557bf4){_0x59e3a0['push'](_0x59e3a0['shift']());}}}(_0x4d11,0x9c5af));import{Plugin as _0x32edc5}from'ckeditor5/src/core.js';import{Notification as _0x256c05}from'ckeditor5/src/ui.js';function _0x3631(_0x734f4a,_0x4b3c96){const _0x4d1132=_0x4d11();return _0x3631=function(_0x3631ac,_0x3d9f74){_0x3631ac=_0x3631ac-0x106;let _0x128c1b=_0x4d1132[_0x3631ac];return _0x128c1b;},_0x3631(_0x734f4a,_0x4b3c96);}function _0x4d11(){const _0x2fc101=['isOfficialPlugin','2734407tzUmFQ','838308wZiLdI','add','146694cvjtyF','pluginName','6JTIrbA','init','8167999DCvjvV','4686890zpOwYQ','uploadcareImageEdit','requires','commands','184410hjyjQE','UploadcareImageEditEditing','56bOqTKw','isPremiumPlugin','4789916nwGDLc','ImageEditing','uploadcareImageReplace','ImageUtils'];_0x4d11=function(){return _0x2fc101;};return _0x4d11();}import _0x2ada79 from'./uploadcareimageeditcommand.js';import _0x2b9231 from'./uploadcareimagereplacecommand.js';import _0x32816d from'../uploadcareediting.js';export default class m extends _0x32edc5{static get[_0x4cf9c8(0x106)](){const _0x524afe=_0x4cf9c8;return _0x524afe(0x10f);}static get[_0x4cf9c8(0x10c)](){const _0xaea533=_0x4cf9c8;return[_0x32816d,_0x256c05,_0xaea533(0x115),_0xaea533(0x113)];}static get[_0x4cf9c8(0x116)](){return!0x0;}static get[_0x4cf9c8(0x111)](){return!0x0;}[_0x4cf9c8(0x108)](){const _0x2ff1a3=_0x4cf9c8,{editor:_0x35ee16}=this;_0x35ee16[_0x2ff1a3(0x10d)][_0x2ff1a3(0x119)](_0x2ff1a3(0x10b),new _0x2ada79(_0x35ee16)),_0x35ee16[_0x2ff1a3(0x10d)][_0x2ff1a3(0x119)](_0x2ff1a3(0x114),new _0x2b9231(_0x35ee16));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1bf320}from'ckeditor5/src/core.js';import{ButtonView as _0x10d1bb}from'ckeditor5/src/ui.js';import{createElement as _0x3b98b3}from'ckeditor5/src/utils.js';import _0x435816 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x1bf320{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x12ab8c=this['editor'];_0x12ab8c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1baba8=>{const _0x4c3bc8=_0x12ab8c['commands']['get']('uploadcareImageEdit'),_0x2894de=new _0x10d1bb(_0x1baba8),t=_0x1baba8['t'];return _0x2894de['set']({'icon':_0x435816,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2894de['bind']('isEnabled')['to'](_0x4c3bc8),_0x2894de['bind']('isOn')['to'](_0x4c3bc8,'isActive'),this['listenTo'](_0x2894de,'execute',()=>{_0x12ab8c['execute']('uploadcareImageEdit'),_0x12ab8c['editing']['view']['focus']();}),_0x2894de;}),this['_initConfig']();}['_initConfig'](){const _0x36093f=_0x3b98b3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36093f),this['listenTo'](this['editor'],'destroy',()=>{_0x36093f['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f3e74=_0x2b73;function _0x2b73(_0x5afc8e,_0x4474cc){const _0x2101f4=_0x2101();return _0x2b73=function(_0x2b730c,_0x10757a){_0x2b730c=_0x2b730c-0x1d4;let _0x246314=_0x2101f4[_0x2b730c];return _0x246314;},_0x2b73(_0x5afc8e,_0x4474cc);}(function(_0x167b70,_0x1621c7){const _0xef716d=_0x2b73,_0x166601=_0x167b70();while(!![]){try{const _0x5963ce=-parseInt(_0xef716d(0x1d5))/0x1*(parseInt(_0xef716d(0x1ee))/0x2)+-parseInt(_0xef716d(0x1ed))/0x3*(-parseInt(_0xef716d(0x1e9))/0x4)+parseInt(_0xef716d(0x1de))/0x5+-parseInt(_0xef716d(0x1ec))/0x6*(-parseInt(_0xef716d(0x1d4))/0x7)+parseInt(_0xef716d(0x1e6))/0x8+-parseInt(_0xef716d(0x1dc))/0x9*(-parseInt(_0xef716d(0x1e3))/0xa)+-parseInt(_0xef716d(0x1e4))/0xb;if(_0x5963ce===_0x1621c7)break;else _0x166601['push'](_0x166601['shift']());}catch(_0x2d779a){_0x166601['push'](_0x166601['shift']());}}}(_0x2101,0x9092b));function _0x2101(){const _0x223c05=['imageBlock','56FuALrl','element','execute','76938PPSRCr','184371IpZdKu','454clFaSA','21MqmeqY','1035kUOiom','document','sizes','getSelectedElement','isEnabled','refresh','imageInline','522zBlYzW','srcset','3594600vlTKov','change','removeAttribute','editor','model','8650AobvBI','22007799FKNHOq','selection','9278944KBetDN','setAttributes'];_0x2101=function(){return _0x223c05;};return _0x2101();}import{Command as _0x2b98b2}from'ckeditor5/src/core.js';export default class O extends _0x2b98b2{[_0x4f3e74(0x1da)](){const _0x4c0289=_0x4f3e74,_0x3e6da4=this[_0x4c0289(0x1e1)][_0x4c0289(0x1e2)][_0x4c0289(0x1d6)][_0x4c0289(0x1e5)][_0x4c0289(0x1d8)]();this[_0x4c0289(0x1d9)]=Boolean(_0x3e6da4&&(_0x3e6da4['is'](_0x4c0289(0x1ea),_0x4c0289(0x1e8))||_0x3e6da4['is'](_0x4c0289(0x1ea),_0x4c0289(0x1db))));}[_0x4f3e74(0x1eb)](_0x3b152a){const _0x42c68f=_0x4f3e74,_0xddedf4=this[_0x42c68f(0x1e1)][_0x42c68f(0x1e2)][_0x42c68f(0x1d6)][_0x42c68f(0x1e5)][_0x42c68f(0x1d8)]();this[_0x42c68f(0x1e1)][_0x42c68f(0x1e2)][_0x42c68f(0x1df)](_0x316d1d=>{const _0xa0c0ec=_0x42c68f;_0x316d1d[_0xa0c0ec(0x1e7)](_0x3b152a,_0xddedf4),_0x316d1d[_0xa0c0ec(0x1e0)](_0xa0c0ec(0x1dd),_0xddedf4),_0x316d1d[_0xa0c0ec(0x1e0)](_0xa0c0ec(0x1d7),_0xddedf4);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x59277b=_0x5409;function _0x8fe3(){var _0xed61cf=['1109409vxLoCl','149373pHxZGa','1986132najyoC','271mCzXxk','14508918LPCNhZ','UploadcareImageEdit','isOfficialPlugin','requires','6817408CYejHf','5558oCVRzI','pluginName','isPremiumPlugin','6931860eSsIuZ','4MuyTwj'];_0x8fe3=function(){return _0xed61cf;};return _0x8fe3();}(function(_0x390844,_0x256035){var _0x351f25=_0x5409,_0x495dfb=_0x390844();while(!![]){try{var _0x55b9dc=parseInt(_0x351f25(0xe0))/0x1*(parseInt(_0x351f25(0xe6))/0x2)+parseInt(_0x351f25(0xdd))/0x3*(parseInt(_0x351f25(0xdc))/0x4)+-parseInt(_0x351f25(0xdb))/0x5+parseInt(_0x351f25(0xdf))/0x6+-parseInt(_0x351f25(0xde))/0x7+-parseInt(_0x351f25(0xe5))/0x8+parseInt(_0x351f25(0xe1))/0x9;if(_0x55b9dc===_0x256035)break;else _0x495dfb['push'](_0x495dfb['shift']());}catch(_0x1e8d55){_0x495dfb['push'](_0x495dfb['shift']());}}}(_0x8fe3,0xc4d05));import{Plugin as _0x51aaf0}from'ckeditor5/src/core.js';function _0x5409(_0x4b9ac4,_0x5f1cfa){var _0x8fe31f=_0x8fe3();return _0x5409=function(_0x5409eb,_0x3a3325){_0x5409eb=_0x5409eb-0xd9;var _0x51b913=_0x8fe31f[_0x5409eb];return _0x51b913;},_0x5409(_0x4b9ac4,_0x5f1cfa);}import _0xad823c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xe5c6e4 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x51aaf0{static get[_0x59277b(0xd9)](){var _0x39f0e3=_0x59277b;return _0x39f0e3(0xe2);}static get[_0x59277b(0xe4)](){return[_0xad823c,_0xe5c6e4];}static get[_0x59277b(0xe3)](){return!0x0;}static get[_0x59277b(0xda)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3c7c(){const _0x38619c=['uploadcareLicenseKeyInvalid','url','_normalizeConfigSourceList','destroy','icon','locale','entries','isImageSelected','2YQAUkP','Facebook','uploadcareLicenseKeyExpired','10036215pjNaRc','327795wYEIjx','OneDrive','featureNotAllowed','usageLimit','726855JBqCgg','uploadcare','invalid','URL','Insert','uploadcare.uploader.sourceList','type','_licenseKeyCheckInterval','isEnabled','execute','expired','imageUpload','uploadcareLicenseKeyNotAllowed','3008454DuMPgX','isPremiumPlugin','registerIntegration','4wPssyD','_getIntegrationKey','upload','2008692GniqVM','reduce','licenseKey','init','120104QVFtDN','uploadcareLicenseKeyTrialLimit','Replace','plugins','evaluationLimit','3951832FhOMJj','uploadcareLicenseKeyEvaluationLimit','ImageInsertUI','GPhotos','uploadcareLicenseKeyDomainLimit','config','push','Local','isOfficialPlugin','map','tooltip','withText','_createDropdownButtons','pluginName','uploadcareLicenseKeyUsageLimit','has','text','GDrive','_createMenuBarButtons','uploadcareLicenseKeyValid','UploadcareUI','editor','Uploadcare','shortText','trialLimit','_createToolbarButton','bind','get','_createButton','Dropbox','forEach','label','afterInit','assetManager','commands','_showLicenseError','domainLimit'];_0x3c7c=function(){return _0x38619c;};return _0x3c7c();}const _0x2b1acd=_0x39ee;(function(_0x236a09,_0x28864e){const _0x996c7b=_0x39ee,_0x40d74f=_0x236a09();while(!![]){try{const _0x50c408=parseInt(_0x996c7b(0x16d))/0x1*(parseInt(_0x996c7b(0x14e))/0x2)+parseInt(_0x996c7b(0x152))/0x3+parseInt(_0x996c7b(0x166))/0x4*(-parseInt(_0x996c7b(0x156))/0x5)+parseInt(_0x996c7b(0x163))/0x6+parseInt(_0x996c7b(0x169))/0x7+parseInt(_0x996c7b(0x121))/0x8+-parseInt(_0x996c7b(0x151))/0x9;if(_0x50c408===_0x28864e)break;else _0x40d74f['push'](_0x40d74f['shift']());}catch(_0x47bdab){_0x40d74f['push'](_0x40d74f['shift']());}}}(_0x3c7c,0x3d547));import{Plugin as _0x257cef,icons as _0x467937}from'ckeditor5/src/core.js';import{ButtonView as _0x25b910,MenuBarMenuListItemButtonView as _0x38d7ee}from'ckeditor5/src/ui.js';function _0x39ee(_0x13fd78,_0x1843b3){const _0x3c7c87=_0x3c7c();return _0x39ee=function(_0x39eebe,_0x1582f1){_0x39eebe=_0x39eebe-0x11f;let _0x9b6172=_0x3c7c87[_0x39eebe];return _0x9b6172;},_0x39ee(_0x13fd78,_0x1843b3);}import _0x3155b9 from'../theme/icons/dropbox.svg';import _0x4e48c9 from'../theme/icons/facebook.svg';import _0x5e4d5f from'../theme/icons/google-drive.svg';import _0x2a25ad from'../theme/icons/google-photos.svg';import _0x32eac5 from'../theme/icons/link.svg';import _0x5c6a8e from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x5f5cd3}from'./uploadcareconfig.js';import{getTranslation as _0x413ffa}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';export default class e extends _0x257cef{static get[_0x2b1acd(0x12e)](){const _0x69a7c5=_0x2b1acd;return _0x69a7c5(0x135);}static get[_0x2b1acd(0x129)](){return!0x0;}static get[_0x2b1acd(0x164)](){return!0x0;}[_0x2b1acd(0x16c)](){const _0x3ce2ca=_0x2b1acd;this[_0x3ce2ca(0x16b)]=this[_0x3ce2ca(0x136)][_0x3ce2ca(0x126)][_0x3ce2ca(0x13c)](_0x3ce2ca(0x16b));const _0xaa90ec=this[_0x3ce2ca(0x136)];this[_0x3ce2ca(0x15d)]=setInterval(()=>{const _0x131715=_0x3ce2ca;let _0x27ef4c;for(const _0x588f55 in _0xaa90ec){const _0x173e68=_0x588f55,_0x34d906=_0xaa90ec[_0x173e68];if(_0x131715(0x134)==_0x34d906||_0x131715(0x146)==_0x34d906||_0x131715(0x150)==_0x34d906||_0x131715(0x125)==_0x34d906||_0x131715(0x162)==_0x34d906||_0x131715(0x122)==_0x34d906||_0x131715(0x16e)==_0x34d906||_0x131715(0x12f)==_0x34d906){delete _0xaa90ec[_0x173e68],_0x27ef4c=_0x34d906,clearInterval(this[_0x131715(0x15d)]),this[_0x131715(0x15d)]=void 0x0;break;}}_0x131715(0x146)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x158)),_0x131715(0x150)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x160)),_0x131715(0x125)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x145)),_0x131715(0x162)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x154),_0x131715(0x137)),_0x131715(0x122)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x120)),_0x131715(0x16e)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x139)),_0x131715(0x12f)==_0x27ef4c&&_0xaa90ec[_0x131715(0x144)](_0x131715(0x155));},0x3e8);}[_0x2b1acd(0x141)](){const _0x3e86fd=_0x2b1acd,{editor:_0x465f81}=this,_0x20a6fb=_0x465f81[_0x3e86fd(0x143)][_0x3e86fd(0x13c)](_0x3e86fd(0x157));if(!_0x20a6fb)return;const _0x473e27=this[_0x3e86fd(0x148)](_0x465f81[_0x3e86fd(0x126)][_0x3e86fd(0x13c)](_0x3e86fd(0x15b)))[_0x3e86fd(0x16a)]((_0x25b73d,_0x580c17)=>{const _0x378482=_0x3e86fd,_0x1bd4a6=this[_0x378482(0x167)](_0x580c17[_0x378482(0x15c)]);return _0x25b73d[_0x1bd4a6]||(_0x25b73d[_0x1bd4a6]=[]),_0x25b73d[_0x1bd4a6][_0x378482(0x127)](_0x580c17),_0x25b73d;},{});_0x465f81[_0x3e86fd(0x11f)][_0x3e86fd(0x130)](_0x3e86fd(0x123))&&_0x465f81[_0x3e86fd(0x143)][_0x3e86fd(0x13c)](_0x3e86fd(0x157))&&Object[_0x3e86fd(0x14c)](_0x473e27)[_0x3e86fd(0x13f)](([_0xa5b143,_0x31814a])=>{const _0x52e326=_0x3e86fd;_0x465f81[_0x52e326(0x11f)][_0x52e326(0x13c)](_0x52e326(0x123))[_0x52e326(0x165)]({'name':_0xa5b143,'observable':()=>_0x20a6fb,'buttonViewCreator':()=>this[_0x52e326(0x13a)](_0x31814a),'formViewCreator':()=>this[_0x52e326(0x12d)](_0x31814a),'menuBarButtonViewCreator':()=>this[_0x52e326(0x133)](_0x31814a),'override':_0x52e326(0x142)!==_0xa5b143});});}[_0x2b1acd(0x149)](){const _0x2ed66d=_0x2b1acd;super[_0x2ed66d(0x149)](),this[_0x2ed66d(0x15d)]&&clearInterval(this[_0x2ed66d(0x15d)]);}[_0x2b1acd(0x148)](_0x5dc52c){const _0x339863=_0x2b1acd,{locale:_0x531da4}=this[_0x339863(0x136)];return _0x5dc52c[_0x339863(0x12a)](_0x3e25cd=>{const _0x5c6459=_0x339863,_0x1d759d=_0x413ffa(_0x531da4,_0x3e25cd,_0x5c6459(0x15a));switch(_0x3e25cd){case _0x5f5cd3[_0x5c6459(0x128)]:return{'icon':_0x467937[_0x5c6459(0x161)],'type':_0x5f5cd3[_0x5c6459(0x128)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x159)]:return{'icon':_0x32eac5,'type':_0x5f5cd3[_0x5c6459(0x159)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x13e)]:return{'icon':_0x3155b9,'type':_0x5f5cd3[_0x5c6459(0x13e)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x14f)]:return{'icon':_0x4e48c9,'type':_0x5f5cd3[_0x5c6459(0x14f)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x132)]:return{'icon':_0x5e4d5f,'type':_0x5f5cd3[_0x5c6459(0x132)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x124)]:return{'icon':_0x2a25ad,'type':_0x5f5cd3[_0x5c6459(0x124)],..._0x1d759d};case _0x5f5cd3[_0x5c6459(0x153)]:return{'icon':_0x5c6a8e,'type':_0x5f5cd3[_0x5c6459(0x153)],..._0x1d759d};}});}[_0x2b1acd(0x167)](_0x37bbc5){const _0x16f8f1=_0x2b1acd;switch(_0x37bbc5){case _0x5f5cd3[_0x16f8f1(0x128)]:return _0x16f8f1(0x168);case _0x5f5cd3[_0x16f8f1(0x159)]:return _0x16f8f1(0x147);default:return _0x16f8f1(0x142);}}[_0x2b1acd(0x13d)](_0x54c10a,_0x474f5d){const _0x329607=_0x2b1acd,_0x1f3d91=this[_0x329607(0x136)],_0x18f860=new _0x54c10a(_0x1f3d91[_0x329607(0x14b)]),_0xce73e4=_0x1f3d91[_0x329607(0x143)][_0x329607(0x13c)](_0x329607(0x157));return _0x18f860[_0x329607(0x13b)](_0x329607(0x15e))['to'](_0xce73e4),_0x18f860['on'](_0x329607(0x15f),()=>{const _0x36bbbd=_0x329607;_0xce73e4[_0x36bbbd(0x15f)](_0x474f5d);}),_0x18f860;}[_0x2b1acd(0x13a)](_0x341c05){const _0x45eb7d=_0x2b1acd,{locale:_0x3b25c1}=this[_0x45eb7d(0x136)],_0xe3f73c=this[_0x45eb7d(0x136)][_0x45eb7d(0x11f)][_0x45eb7d(0x13c)](_0x45eb7d(0x123)),_0x1db5b9=_0x341c05[0x0],_0xa91704=this[_0x45eb7d(0x13d)](_0x25b910,_0x1db5b9[_0x45eb7d(0x15c)]);return _0xa91704[_0x45eb7d(0x14a)]=_0x1db5b9[_0x45eb7d(0x14a)],_0xa91704[_0x45eb7d(0x13b)](_0x45eb7d(0x140))['to'](_0xe3f73c,_0x45eb7d(0x14d),_0x19df90=>_0x413ffa(_0x3b25c1,_0x1db5b9[_0x45eb7d(0x15c)],_0x19df90?_0x45eb7d(0x16f):_0x45eb7d(0x15a))[_0x45eb7d(0x131)]),_0xa91704[_0x45eb7d(0x12b)]=!0x0,_0xa91704;}[_0x2b1acd(0x12d)](_0x58b93c){const _0x27b8c4=_0x2b1acd,{locale:_0x27a69d}=this[_0x27b8c4(0x136)],_0x10b17a=this[_0x27b8c4(0x136)][_0x27b8c4(0x11f)][_0x27b8c4(0x13c)](_0x27b8c4(0x123));return _0x58b93c[_0x27b8c4(0x12a)](_0x667bbf=>{const _0x26cd57=_0x27b8c4,_0x574d5e=this[_0x26cd57(0x13d)](_0x25b910,_0x667bbf[_0x26cd57(0x15c)]);return _0x574d5e[_0x26cd57(0x12c)]=!0x0,_0x574d5e[_0x26cd57(0x14a)]=_0x667bbf[_0x26cd57(0x14a)],_0x574d5e[_0x26cd57(0x13b)](_0x26cd57(0x140))['to'](_0x10b17a,_0x26cd57(0x14d),_0x3a8969=>_0x413ffa(_0x27a69d,_0x667bbf[_0x26cd57(0x15c)],_0x3a8969?_0x26cd57(0x16f):_0x26cd57(0x15a))[_0x26cd57(0x131)]),_0x574d5e;});}[_0x2b1acd(0x133)](_0x337b6b){const _0x1790ba=_0x2b1acd;return _0x337b6b[_0x1790ba(0x12a)](_0x35a760=>{const _0x8dd9b8=_0x1790ba,_0x55330b=this[_0x8dd9b8(0x13d)](_0x38d7ee,_0x35a760[_0x8dd9b8(0x15c)]);return _0x55330b[_0x8dd9b8(0x14a)]=_0x35a760[_0x8dd9b8(0x14a)],_0x55330b[_0x8dd9b8(0x140)]=_0x35a760[_0x8dd9b8(0x138)],_0x55330b;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5b853f}from'ckeditor5/src/core.js';import{FileRepository as _0x1d5bac}from'ckeditor5/src/upload.js';import _0x3cd3b0 from'./uploadcareediting.js';import _0x8e8dd2 from'./utils/uploadutils.js';import{getImageUrls as _0x45a976}from'./utils/editingutils.js';export default class f extends _0x5b853f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1d5bac,_0x3cd3b0];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54a1ae=this['editor'];if(!!!_0x54a1ae['config']['get']('uploadcare'))return;_0x54a1ae['plugins']['get'](_0x1d5bac)['createUploadAdapter']=_0x36e634=>new E(_0x36e634,_0x54a1ae),_0x54a1ae['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x613060,{imageElement:_0x4f9fd3,data:_0x4643da})=>{_0x54a1ae['model']['change'](_0x4d5af0=>{_0x4d5af0['setAttribute']('uploadcareImageId',_0x4643da['uploadcareImageId'],_0x4f9fd3);});});}}class E{constructor(_0x30a50,_0x1fe330){this['loader']=_0x30a50,this['editor']=_0x1fe330,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x26f00=this['editor']['config']['get']('uploadcare.pubkey'),_0x5e580c=await this['loader']['file'];return _0x8e8dd2['upload']({'file':_0x5e580c,'publicKey':_0x26f00,'signal':this['controller']['signal'],'onProgress':_0x3ff10f=>{_0x3ff10f&&_0x3ff10f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ff10f['value']);}})['then'](async _0xa29371=>{const {imageFallbackUrl:_0x220ff0,imageSources:_0x5f1c86}=_0x45a976(_0xa29371['cdnUrl'],_0xa29371['imageInfo']['width']);return{'uploadcareImageId':_0xa29371['uuid'],'default':_0x220ff0,'sources':_0x5f1c86};})['catch'](()=>{const _0x5e29ef=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e580c['name']+'.');return Promise['reject'](_0x5e29ef);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x783096}from'../uploadcareconfig.js';export function getTranslation(_0xc58b49,_0x2de856,_0x375a1b){const t=_0xc58b49['t'],_0x2a753c=_0xc58b49['t'];switch(_0x2de856){case _0x783096['Local']:return{'text':_0x2a753c('Insert'===_0x375a1b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2a753c('From\x20computer')};case _0x783096['URL']:return{'text':'Insert'===_0x375a1b?_0x2a753c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2a753c('Via\x20URL')};case _0x783096['Dropbox']:return{'text':t('Insert'===_0x375a1b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x783096['Facebook']:return{'text':t('Insert'===_0x375a1b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x783096['GDrive']:return{'text':t('Insert'===_0x375a1b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x783096['GPhotos']:return{'text':t('Insert'===_0x375a1b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x783096['OneDrive']:return{'text':t('Insert'===_0x375a1b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2de856;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x51a2(){var _0x4c7afe=['408vmsdNc','forwardCycle','fire','focusTracker','div','11mMqDrO','1900434MRGchJ','getFocusableElement','106lMoFTM','24400010cacRyy','63170SKIdyX','focusCycler','createCollection','true','2127552fGtKvc','3169842PodIYd','186993ohpIhM','bindTemplate','36cyAMBt','12326xNdGIM'];_0x51a2=function(){return _0x4c7afe;};return _0x51a2();}var _0x4e11=_0x5c47;(function(_0x320f20,_0x1b05fc){var _0xf9a19a=_0x5c47,_0x37046c=_0x320f20();while(!![]){try{var _0x4820e7=-parseInt(_0xf9a19a(0x1c2))/0x1*(-parseInt(_0xf9a19a(0x1cb))/0x2)+parseInt(_0xf9a19a(0x1c9))/0x3+parseInt(_0xf9a19a(0x1c1))/0x4*(parseInt(_0xf9a19a(0x1cd))/0x5)+parseInt(_0xf9a19a(0x1d2))/0x6+parseInt(_0xf9a19a(0x1d1))/0x7+-parseInt(_0xf9a19a(0x1c3))/0x8*(-parseInt(_0xf9a19a(0x1d3))/0x9)+parseInt(_0xf9a19a(0x1cc))/0xa*(-parseInt(_0xf9a19a(0x1c8))/0xb);if(_0x4820e7===_0x1b05fc)break;else _0x37046c['push'](_0x37046c['shift']());}catch(_0x53b3df){_0x37046c['push'](_0x37046c['shift']());}}}(_0x51a2,0xd016b));function _0x5c47(_0x3f6940,_0x5dcfde){var _0x51a226=_0x51a2();return _0x5c47=function(_0x5c470a,_0x411d23){_0x5c470a=_0x5c470a-0x1c1;var _0x334f89=_0x51a226[_0x5c470a];return _0x334f89;},_0x5c47(_0x3f6940,_0x5dcfde);}import{FocusTracker as _0x1d09a6}from'ckeditor5/src/utils.js';import{View as _0x21657a,FocusCycler as _0x107fb8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x21657a{constructor(_0x420d74){var _0x2c7132=_0x5c47;super(_0x420d74),this[_0x2c7132(0x1c6)]=new _0x1d09a6(),this[_0x2c7132(0x1ce)]=new _0x107fb8({'focusables':this[_0x2c7132(0x1cf)](),'focusTracker':this[_0x2c7132(0x1c6)]});}[_0x4e11(0x1ca)](){var _0x1864d6=_0x4e11;return{'tag':_0x1864d6(0x1c7),'attributes':{'aria-hidden':_0x1864d6(0x1d0),'tabindex':'0'},'on':{'focus':this[_0x1864d6(0x1d4)]['to'](()=>{var _0x4b70ec=_0x1864d6;this[_0x4b70ec(0x1ce)][_0x4b70ec(0x1c5)](_0x4b70ec(0x1c4));})}};}}
|