@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250213.0 → 0.0.0-nightly-20250213.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 _0x449627=_0xe3d1;(function(_0x3814ec,_0x2f2d4a){const _0x5efab1=_0xe3d1,_0x3e84ba=_0x3814ec();while(!![]){try{const _0x581ed1=parseInt(_0x5efab1(0x1c9))/0x1*(-parseInt(_0x5efab1(0x1cb))/0x2)+parseInt(_0x5efab1(0x190))/0x3*(-parseInt(_0x5efab1(0x1b5))/0x4)+parseInt(_0x5efab1(0x1b6))/0x5*(parseInt(_0x5efab1(0x1ae))/0x6)+parseInt(_0x5efab1(0x1bf))/0x7*(-parseInt(_0x5efab1(0x1b2))/0x8)+parseInt(_0x5efab1(0x1ac))/0x9+parseInt(_0x5efab1(0x1d5))/0xa+parseInt(_0x5efab1(0x1a8))/0xb;if(_0x581ed1===_0x2f2d4a)break;else _0x3e84ba['push'](_0x3e84ba['shift']());}catch(_0x1b6de0){_0x3e84ba['push'](_0x3e84ba['shift']());}}}(_0x526c,0xdc3b7));import{Plugin as _0x1da70a}from'ckeditor5/src/core.js';import{Dialog as _0x56bafd}from'ckeditor5/src/ui.js';function _0xe3d1(_0x1a5ced,_0x43894d){const _0x526c67=_0x526c();return _0xe3d1=function(_0xe3d1b,_0x590414){_0xe3d1b=_0xe3d1b-0x184;let _0x464569=_0x526c67[_0xe3d1b];return _0x464569;},_0xe3d1(_0x1a5ced,_0x43894d);}function _0x526c(){const _0x5827fb=['insertImage','32599809bBAnhX','_ctxElement','execute','href','6067836UYAsDf','uploadcareImageReplace','180kjAJBC','#uc-icon-arrow-down','input[uploadcare-file-input]','upcast','56lQtRtV','\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','replaceImageSource','1688WYxGUR','36565sfNpfM','attributeToAttribute','extend','remove','listenTo','appendChild','PictureEditing','document','getAttribute','1545243JqnjmY','schema','uploadcare','contentLanguage','editor','true','imageBlock','isOfficialPlugin','map','_initConversion','2PhCHEq','destroy','1485522yinNey','imageInline','uploadcare.uploader','_initImageProcessingIndicator','isPremiumPlugin','removeAttribute','add','iconHrefResolver','once','UploadcareEditing','3853710kJoakV','uploadcare.pubkey','afterInit','render','_initCtx','fromCharCode','for','downcast','isRegistered','getSelectedElement','uc-config','view','uc-upload-ctx-provider','join','uploader','locale','2202sQnsKq','conversion','ctxElement','_configElement','init','selection','uploadcareImageId','commands','cleanupImage','model','_initConfig','requires','closeMax','config','editing','querySelector','elementToAttribute','pluginName','_initSchema','body','get','configElement','data-uc-image-id'];_0x526c=function(){return _0x5827fb;};return _0x526c();}import{createElement as _0x5291f8,global as _0x31697c,uid as _0x45ffa7}from'ckeditor5/src/utils.js';import _0x3f33de from'./uploadcarecommand.js';import _0x52f778 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2510a8}from'./utils/editingutils.js';export default class i extends _0x1da70a{[_0x449627(0x193)]=null;[_0x449627(0x1a9)]=null;static get[_0x449627(0x1a1)](){const _0x313d72=_0x449627;return _0x313d72(0x1d4);}static get[_0x449627(0x19b)](){const _0x1abee9=_0x449627;return[_0x1abee9(0x1bc),_0x52f778,_0x56bafd];}static get[_0x449627(0x1c6)](){return!0x0;}static get[_0x449627(0x1cf)](){return!0x0;}get[_0x449627(0x1a5)](){const _0x28ff1b=_0x449627;return this[_0x28ff1b(0x193)];}get[_0x449627(0x192)](){const _0x4fc8e1=_0x449627;return this[_0x4fc8e1(0x1a9)];}[_0x449627(0x194)](){const _0x4f3f37=_0x449627,_0x572dd6=this[_0x4f3f37(0x1c3)];_0x572dd6[_0x4f3f37(0x197)][_0x4f3f37(0x1d1)](_0x4f3f37(0x1c1),new _0x3f33de(_0x572dd6));}[_0x449627(0x1d7)](){const _0x481d59=_0x449627;this[_0x481d59(0x1a2)](),this[_0x481d59(0x1c8)](),this[_0x481d59(0x19a)](),this[_0x481d59(0x184)](),this[_0x481d59(0x1ce)](),this[_0x481d59(0x1ba)](this[_0x481d59(0x1c3)],_0x481d59(0x1ca),()=>{const _0x5f2bd5=_0x481d59;this[_0x5f2bd5(0x193)]&&(this[_0x5f2bd5(0x193)][_0x5f2bd5(0x1b9)](),this[_0x5f2bd5(0x193)]=null),this[_0x5f2bd5(0x1a9)]&&(this[_0x5f2bd5(0x1a9)][_0x5f2bd5(0x1b9)](),this[_0x5f2bd5(0x1a9)]=null);const _0x36779a=_0x31697c[_0x5f2bd5(0x1bd)][_0x5f2bd5(0x19f)](_0x5f2bd5(0x1b0));_0x36779a&&_0x36779a[_0x5f2bd5(0x1b9)]();}),async function(_0x502335){const _0x3e42ba=_0xd1bd98([0x6f,0x72,0x46,0x79,0x57,0x5a,0x69,0x38,0x43,0x37,0x70,0x62,0x4f,0x75,0x4a,0x44,0x41,0x49,0x78,0x4e,0x42,0x76,0x61,0x63,0x6e,0x34,0x47,0x33,0x30,0x77,0x35,0x53,0x6b,0x52,0x65,0x71,0x4c,0x4d,0x59,0x51,0x36,0x6a,0x6d,0x55,0x64,0x74,0x48,0x39,0x66,0x58,0x73,0x56,0x31,0x45,0x32,0x67,0x68,0x6c,0x50,0x4b,0x54,0x7a]),_0x50b685=0x475be8b1,_0x489709=0x475cb7d1^_0x50b685,_0x571533=window[_0xd1bd98([0x44,0x61,0x74,0x65])][_0xd1bd98([0x6e,0x6f,0x77])](),_0xa0cf7d=_0x502335[_0xd1bd98([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2120e6=new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x471a02=>{_0xa0cf7d[_0xd1bd98([0x6f,0x6e,0x63,0x65])](_0xd1bd98([0x72,0x65,0x61,0x64,0x79]),_0x471a02);}),_0x92cbc0={[_0xd1bd98([0x6b,0x74,0x79])]:_0xd1bd98([0x45,0x43]),[_0xd1bd98([0x75,0x73,0x65])]:_0xd1bd98([0x73,0x69,0x67]),[_0xd1bd98([0x63,0x72,0x76])]:_0xd1bd98([0x50,0x2d,0x32,0x35,0x36]),[_0xd1bd98([0x78])]:_0xd1bd98([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]),[_0xd1bd98([0x79])]:_0xd1bd98([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]),[_0xd1bd98([0x61,0x6c,0x67])]:_0xd1bd98([0x45,0x53,0x32,0x35,0x36])},_0x56f25d=_0xa0cf7d[_0xd1bd98([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd1bd98([0x67,0x65,0x74])](_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5721f8(){let _0x17c61a,_0xabc484=null,_0x4ccacb=null;try{if(_0x56f25d==_0xd1bd98([0x47,0x50,0x4c]))return _0xd1bd98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17c61a=_0x336660(),!_0x17c61a)return _0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17c61a[_0xd1bd98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ccacb=_0xa35695(_0x17c61a[_0xd1bd98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17c61a[_0xd1bd98([0x6a,0x74,0x69])])),await _0x3b9bf6()?_0x4b5a32()?_0xe510c5()?_0xd1bd98([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39fdb5()?(_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd1bd98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xabc484=_0x30913c(_0xd1bd98([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd1bd98([0x74,0x72,0x69,0x61,0x6c])&&(_0xabc484=_0x30913c(_0xd1bd98([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22fea8()):_0xd1bd98([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd1bd98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27d26f){return _0xd1bd98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe510c5(){const _0x297922=[_0xd1bd98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd1bd98([0x74,0x72,0x69,0x61,0x6c])][_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x571533/0x3e8:0xe10*_0x489709;return _0x17c61a[_0xd1bd98([0x65,0x78,0x70])]<_0x297922;}function _0x4b5a32(){const _0x16db0a=_0x17c61a[_0xd1bd98([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16db0a&&(!!_0x16db0a[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x2a]))||!!_0x16db0a[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x55,0x50,0x4c,0x43])));}function _0x39fdb5(){const _0x59d6de=_0xe3d1,_0x555e3b=_0x17c61a[_0xd1bd98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555e3b||0x0==_0x555e3b[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x463912}=new URL(window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59d6de(0x1ab)]);if(_0x555e3b[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463912))return!0x0;const _0x28cdf1=_0x463912[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e]));return _0x555e3b[_0xd1bd98([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d6aec=>_0x5d6aec[_0xd1bd98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1bd98([0x2a])))[_0xd1bd98([0x6d,0x61,0x70])](_0xffc543=>_0xffc543[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e])))[_0xd1bd98([0x73,0x6f,0x6d,0x65])](_0x321c69=>_0x28cdf1[_0xd1bd98([0x65,0x76,0x65,0x72,0x79])]((_0x178312,_0x5efd43)=>_0x321c69[_0x5efd43]===_0x178312||_0x321c69[_0x5efd43]===_0xd1bd98([0x2a])));}function _0x22fea8(){return _0xabc484&&_0x4ccacb?new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f936,_0xf709db)=>{_0xabc484[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x37f936,_0xf709db),_0x4ccacb[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x5c33f5=>{_0x5c33f5!=_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])&&_0x37f936(_0x5c33f5);},_0xf709db);}):_0xabc484||_0x4ccacb||_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa35695(_0x93e49f,_0x30920e){return new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55eacc=>{if(_0x8bffe0())return _0x55eacc(_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]));_0xd149a4(),_0xa0cf7d[_0xd1bd98([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f4680=!0x1;const _0x52dd06=_0x45ffa7();function _0x28c0e1(_0x5699a7){return!!_0x5699a7&&(typeof _0x5699a7===_0xd1bd98([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5699a7===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5699a7[_0xd1bd98([0x74,0x68,0x65,0x6e])]===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5699a7[_0xd1bd98([0x63,0x61,0x74,0x63,0x68])]===_0xd1bd98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e3b54(_0x745c61){_0x51f771(_0x745c61)[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x49a7b9=>{if(!_0x49a7b9||_0x49a7b9[_0xd1bd98([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd1bd98([0x6f,0x6b]))return _0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d20b5(_0x1fb512(_0x52dd06+_0x30920e))!=_0x49a7b9[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd1bd98([0x56,0x61,0x6c,0x69,0x64]);})[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x1c7ca5=>(_0x450001(),_0x1c7ca5),()=>{const _0x12ca3b=_0x3a4155();return null==_0x12ca3b?(_0x450001(),_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])):_0xd1bd98(_0x571533-_0x12ca3b>(0x63576cb1^_0x50b685)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x55eacc)[_0xd1bd98([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ea34d=0x476d0631^_0x50b685;function _0x450001(){const _0x29962a=_0xd1bd98([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d20b5(_0x1fb512(_0x93e49f)),_0x3e42ef=_0xc4ce26(_0x3d20b5(window[_0xd1bd98([0x4d,0x61,0x74,0x68])][_0xd1bd98([0x63,0x65,0x69,0x6c])](_0x571533/_0x3ea34d)));window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd1bd98([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29962a,_0x3e42ef);}function _0x3a4155(){const _0x34e3d1=_0xd1bd98([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d20b5(_0x1fb512(_0x93e49f)),_0x33bbb2=window[_0xd1bd98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd1bd98([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34e3d1);return _0x33bbb2?window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4ce26(_0x33bbb2),0x10)*_0x3ea34d:null;}function _0x51f771(_0x3b1132){return new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3659ef,_0x55f024)=>{_0x3b1132[_0xd1bd98([0x74,0x68,0x65,0x6e])](_0x3659ef,_0x55f024),window[_0xd1bd98([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55f024,0x475a3c71^_0x50b685);});}}_0xa0cf7d[_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f72e5,_0x2bed6d)=>{if(_0x2bed6d[0x0]!=_0x93e49f)return _0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bed6d[0x1]={..._0x2bed6d[0x1],[_0xd1bd98([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52dd06};},{[_0xd1bd98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd1bd98([0x68,0x69,0x67,0x68])}),_0xa0cf7d[_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b1305=>{_0x28c0e1(_0x1b1305[_0xd1bd98([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f4680=!0x0,_0x1e3b54(_0x1b1305[_0xd1bd98([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd1bd98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd1bd98([0x6c,0x6f,0x77])}),_0x2120e6[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>{_0x5f4680||_0x55eacc(_0xd1bd98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8bffe0(){return _0xa0cf7d[_0xd1bd98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd1bd98([0x76,0x69,0x65,0x77])][_0xd1bd98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd1bd98([0x61,0x75,0x74,0x6f]);}function _0xd149a4(){_0xa0cf7d[_0xd1bd98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd1bd98([0x76,0x69,0x65,0x77])][_0xd1bd98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd1bd98([0x61,0x75,0x74,0x6f]);}}function _0x30913c(_0x4d1a6d){const _0x43f523=[new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107b17=>setTimeout(_0x107b17,0x4752d67d^_0x50b685)),_0x2120e6[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466343=>{let _0xa9b64f=0x0;_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x6f,0x6e])](_0xd1bd98([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b5529,_0x54587c)=>{_0x54587c[0x0][_0xd1bd98([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa9b64f++,_0xa9b64f==(0x475be949^_0x50b685)&&(_0x466343(),_0x4b5529[_0xd1bd98([0x6f,0x66,0x66])]());});}))];return window[_0xd1bd98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd1bd98([0x72,0x61,0x63,0x65])](_0x43f523)[_0xd1bd98([0x74,0x68,0x65,0x6e])](()=>_0x4d1a6d);}async function _0x12c471(){await _0x2120e6,_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3867a4,_0xa0cf7d[_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c])][_0xd1bd98([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3867a4,_0xa0cf7d[_0xd1bd98([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd1bd98([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d65ff(_0x5d1f78){const _0x4ce0d1=_0x210c23();_0xa0cf7d[_0x4ce0d1]=_0xd1bd98([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d1f78,_0x5d1f78!=_0xd1bd98([0x56,0x61,0x6c,0x69,0x64])&&_0x12c471();}function _0x210c23(){const _0x820674=window[_0xd1bd98([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd1bd98([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd1bd98([0x6e,0x6f,0x77])]())[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd1bd98([0x2e]),'');let _0x335620=_0xd1bd98([0x6f]);for(let _0x40eb41=0x0;_0x40eb41<_0x820674[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40eb41+=0x2){let _0x2d0491=window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x820674[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40eb41,_0x40eb41+0x2));_0x2d0491>=_0x3e42ba[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d0491-=_0x3e42ba[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x335620+=_0x3e42ba[_0x2d0491];}return _0x335620;}function _0x336660(){const _0x26dff4=_0x56f25d[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e]));if(0x3!=_0x26dff4[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x69853d(_0x26dff4[0x1]);function _0x69853d(_0x246b12){const _0x5d28e5=_0x4dd8f0(_0x246b12);return _0x5d28e5&&_0x2491b1()?_0x5d28e5:null;function _0x2491b1(){const _0x505ffc=_0x5d28e5[_0xd1bd98([0x6a,0x74,0x69])],_0x5eb808=window[_0xd1bd98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x505ffc[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505ffc[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x218847={..._0x5d28e5,[_0xd1bd98([0x6a,0x74,0x69])]:_0x505ffc[_0xd1bd98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x505ffc[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x218847[_0xd1bd98([0x76,0x63])],_0x1fb512(_0x218847)==_0x5eb808;}}}async function _0x3b9bf6(){let _0x128d25=!0x0;try{const _0x27fd7b=_0x56f25d[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])](_0xd1bd98([0x2e])),[_0x4f3355,_0x2430dd,_0x515d01]=_0x27fd7b;return _0x3d5d4b(_0x4f3355),await _0x189cdc(_0x4f3355,_0x2430dd,_0x515d01),_0x128d25;}catch(_0xa6ed7d){return!0x1;}function _0x3d5d4b(_0x1a096f){const _0x520e4c=_0x4dd8f0(_0x1a096f);_0x520e4c&&_0x520e4c[_0xd1bd98([0x61,0x6c,0x67])]==_0xd1bd98([0x45,0x53,0x32,0x35,0x36])||(_0x128d25=!0x1);}async function _0x189cdc(_0x24472f,_0x1dea8c,_0x24d4b4){const _0xf6663f=window[_0xd1bd98([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd1bd98([0x66,0x72,0x6f,0x6d])](_0xc2b58d(_0x24d4b4),_0x129425=>_0x129425[_0xd1bd98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f08ad=new window[(_0xd1bd98([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd1bd98([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24472f+_0xd1bd98([0x2e])+_0x1dea8c),_0x40d5fb=window[_0xd1bd98([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd1bd98([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40d5fb)return;const _0x4942e4=await _0x40d5fb[_0xd1bd98([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd1bd98([0x6a,0x77,0x6b]),_0x92cbc0,{[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x45,0x43,0x44,0x53,0x41]),[_0xd1bd98([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd1bd98([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40d5fb[_0xd1bd98([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x45,0x43,0x44,0x53,0x41]),[_0xd1bd98([0x68,0x61,0x73,0x68])]:{[_0xd1bd98([0x6e,0x61,0x6d,0x65])]:_0xd1bd98([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4942e4,_0xf6663f,_0x5f08ad)||(_0x128d25=!0x1);}}function _0x4dd8f0(_0x552d51){return _0x552d51[_0xd1bd98([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd1bd98([0x65,0x79]))?JSON[_0xd1bd98([0x70,0x61,0x72,0x73,0x65])](_0xc2b58d(_0x552d51)):null;}function _0xc2b58d(_0x5705fe){return window[_0xd1bd98([0x61,0x74,0x6f,0x62])](_0x5705fe[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd1bd98([0x2b]))[_0xd1bd98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd1bd98([0x2f])));}function _0x1fb512(_0x447b01){let _0x296d05=0x1505;function _0x1982c2(_0x2fa0e3){for(let _0x352efa=0x0;_0x352efa<_0x2fa0e3[_0xd1bd98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x352efa++){const _0x13bc05=_0x2fa0e3[_0xd1bd98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x352efa);_0x296d05=(_0x296d05<<0x5)+_0x296d05+_0x13bc05,_0x296d05&=_0x296d05;}}function _0x9635f2(_0x961c94){Array[_0xd1bd98([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x961c94)?_0x961c94[_0xd1bd98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9635f2):_0x961c94&&typeof _0x961c94==_0xd1bd98([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd1bd98([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x961c94)[_0xd1bd98([0x73,0x6f,0x72,0x74])]()[_0xd1bd98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55f34a,_0x396305])=>{_0x1982c2(_0x55f34a),_0x9635f2(_0x396305);}):_0x1982c2(window[_0xd1bd98([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x961c94));}return _0x9635f2(_0x447b01),_0x296d05>>>0x0;}function _0x3d20b5(_0x355f8c){return _0x355f8c[_0xd1bd98([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd1bd98([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd1bd98([0x30]));}function _0xc4ce26(_0x5c24bd){return _0x5c24bd[_0xd1bd98([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd1bd98([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd1bd98([0x6a,0x6f,0x69,0x6e])]('');}function _0x3867a4(){}function _0xd1bd98(_0x53d693){const _0x35f7e3=_0xe3d1;return _0x53d693[_0x35f7e3(0x1c7)](_0x2d04e6=>String[_0x35f7e3(0x185)](_0x2d04e6))[_0x35f7e3(0x18d)]('');}_0x2d65ff(await _0x5721f8());}(this);}[_0x449627(0x1a2)](){const _0x1fc05b=_0x449627,_0x5a98b6=this[_0x1fc05b(0x1c3)][_0x1fc05b(0x199)][_0x1fc05b(0x1c0)];_0x5a98b6[_0x1fc05b(0x188)](_0x1fc05b(0x1c5))&&_0x5a98b6[_0x1fc05b(0x1b8)](_0x1fc05b(0x1c5),{'allowAttributes':[_0x1fc05b(0x196)]}),_0x5a98b6[_0x1fc05b(0x188)](_0x1fc05b(0x1cc))&&_0x5a98b6[_0x1fc05b(0x1b8)](_0x1fc05b(0x1cc),{'allowAttributes':[_0x1fc05b(0x196)]});}[_0x449627(0x1c8)](){const _0x4f27df=_0x449627,_0x1b923b=this[_0x4f27df(0x1c3)];_0x1b923b[_0x4f27df(0x191)][_0x4f27df(0x186)](_0x4f27df(0x187))[_0x4f27df(0x1b7)]({'model':_0x4f27df(0x196),'view':_0x4f27df(0x1a6)}),_0x1b923b[_0x4f27df(0x191)][_0x4f27df(0x186)](_0x4f27df(0x1b1))[_0x4f27df(0x1a0)]({'model':{'key':_0x4f27df(0x196),'value':_0xf5443f=>_0xf5443f[_0x4f27df(0x1be)](_0x4f27df(0x1a6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1cac47=_0x1b923b[_0x4f27df(0x197)][_0x4f27df(0x1a4)](_0x4f27df(0x1b4));_0x1cac47&&this[_0x4f27df(0x1ba)](_0x1cac47,_0x4f27df(0x198),(_0x1eda5f,[_0xbb6b2e,_0x114bae])=>{const _0x2336b5=_0x4f27df;_0xbb6b2e[_0x2336b5(0x1d0)](_0x2336b5(0x196),_0x114bae);});}[_0x449627(0x19a)](){const _0xa1dcc1=_0x449627,_0x2212b9=this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x19d)][_0xa1dcc1(0x1a4)](_0xa1dcc1(0x1cd))||{},_0x26cd1=this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x19d)][_0xa1dcc1(0x1a4)](_0xa1dcc1(0x1d6))||'';this[_0xa1dcc1(0x193)]=_0x5291f8(_0x31697c[_0xa1dcc1(0x1bd)],_0xa1dcc1(0x18a),{..._0x2212b9,'pubkey':_0x26cd1,'ctx-name':_0xa1dcc1(0x18e),'sourceList':'','imgOnly':_0xa1dcc1(0x1c4),'removeCopyright':_0xa1dcc1(0x1c4),'localeName':this[_0xa1dcc1(0x1c3)][_0xa1dcc1(0x18f)][_0xa1dcc1(0x1c2)],'externalSourcesEmbedCss':_0xa1dcc1(0x1b3)}),this[_0xa1dcc1(0x193)][_0xa1dcc1(0x1d2)]=_0x39ae7c=>{const _0x4bba4f=_0xa1dcc1;if(_0x4bba4f(0x19c)==_0x39ae7c)return _0x4bba4f(0x1af);},_0x31697c[_0xa1dcc1(0x1bd)][_0xa1dcc1(0x1a3)][_0xa1dcc1(0x1bb)](this[_0xa1dcc1(0x193)]);}[_0x449627(0x184)](){const _0x569ed1=_0x449627;this[_0x569ed1(0x1a9)]=_0x5291f8(_0x31697c[_0x569ed1(0x1bd)],_0x569ed1(0x18c),{'ctx-name':_0x569ed1(0x18e)}),_0x31697c[_0x569ed1(0x1bd)][_0x569ed1(0x1a3)][_0x569ed1(0x1bb)](this[_0x569ed1(0x1a9)]);}[_0x449627(0x1ce)](){const _0x4ff6fb=_0x449627,_0x3d618a=this[_0x4ff6fb(0x1c3)][_0x4ff6fb(0x197)][_0x4ff6fb(0x1a4)](_0x4ff6fb(0x1a7));_0x3d618a&&this[_0x4ff6fb(0x1ba)](_0x3d618a,_0x4ff6fb(0x1aa),()=>{const _0x262655=_0x4ff6fb,_0x26ff9f=this[_0x262655(0x1c3)][_0x262655(0x199)][_0x262655(0x1bd)][_0x262655(0x195)][_0x262655(0x189)]();_0x26ff9f&&_0x26ff9f[_0x262655(0x1be)](_0x262655(0x196))&&this[_0x262655(0x1c3)][_0x262655(0x19e)][_0x262655(0x18b)][_0x262655(0x1d3)](_0x262655(0x1d8),()=>{const _0x1bd1c9=_0x262655;_0x2510a8(this[_0x1bd1c9(0x1c3)],_0x26ff9f);});});const _0x43027c=this[_0x4ff6fb(0x1c3)][_0x4ff6fb(0x197)][_0x4ff6fb(0x1a4)](_0x4ff6fb(0x1ad));_0x43027c&&this[_0x4ff6fb(0x1ba)](_0x43027c,_0x4ff6fb(0x1aa),()=>{const _0x784e30=_0x4ff6fb,_0x25278a=this[_0x784e30(0x1c3)][_0x784e30(0x199)][_0x784e30(0x1bd)][_0x784e30(0x195)][_0x784e30(0x189)]();_0x25278a&&_0x25278a[_0x784e30(0x1be)](_0x784e30(0x196))&&this[_0x784e30(0x1c3)][_0x784e30(0x19e)][_0x784e30(0x18b)][_0x784e30(0x1d3)](_0x784e30(0x1d8),()=>{const _0x46146c=_0x784e30;_0x2510a8(this[_0x46146c(0x1c3)],_0x25278a);});});}}
|
|
23
|
+
const _0x338e6d=_0x24cf;(function(_0x3f1695,_0x42f976){const _0x16c35e=_0x24cf,_0x3b82b2=_0x3f1695();while(!![]){try{const _0x45a4d6=parseInt(_0x16c35e(0x167))/0x1*(parseInt(_0x16c35e(0x180))/0x2)+-parseInt(_0x16c35e(0x14d))/0x3+parseInt(_0x16c35e(0x14a))/0x4+-parseInt(_0x16c35e(0x14c))/0x5*(-parseInt(_0x16c35e(0x168))/0x6)+parseInt(_0x16c35e(0x13f))/0x7+-parseInt(_0x16c35e(0x16d))/0x8+-parseInt(_0x16c35e(0x156))/0x9;if(_0x45a4d6===_0x42f976)break;else _0x3b82b2['push'](_0x3b82b2['shift']());}catch(_0x1fbf1e){_0x3b82b2['push'](_0x3b82b2['shift']());}}}(_0x4e0c,0x99cd8));import{Plugin as _0x1d9151}from'ckeditor5/src/core.js';function _0x24cf(_0x417538,_0x26d187){const _0x4e0cd3=_0x4e0c();return _0x24cf=function(_0x24cf3a,_0x5ed8b6){_0x24cf3a=_0x24cf3a-0x13b;let _0x298abf=_0x4e0cd3[_0x24cf3a];return _0x298abf;},_0x24cf(_0x417538,_0x26d187);}function _0x4e0c(){const _0xbe473a=['upcast','contentLanguage','closeMax','join','34567WiRMAY','1513872NoVKNf','querySelector','conversion','_configElement','uploader','4698872VYpqAD','input[uploadcare-file-input]','execute','init','#uc-icon-arrow-down','uploadcare','editor','schema','extend','commands','for','body','destroy','uc-upload-ctx-provider','uploadcareImageReplace','listenTo','afterInit','pluginName','once','18esoCdh','getAttribute','PictureEditing','imageBlock','\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','locale','fromCharCode','render','uploadcareImageId','insertImage','model','_ctxElement','isPremiumPlugin','add','map','remove','true','getSelectedElement','4779894UoLaFZ','document','editing','uploadcare.uploader','appendChild','removeAttribute','ctxElement','isOfficialPlugin','isRegistered','_initCtx','configElement','604548ZqDwvB','imageInline','10GwUEBT','16632MyWykt','cleanupImage','uc-config','selection','attributeToAttribute','href','replaceImageSource','data-uc-image-id','_initConfig','3841443tmdGAG','downcast','elementToAttribute','config','_initImageProcessingIndicator','view','requires','iconHrefResolver','get','UploadcareEditing','_initConversion','_initSchema','uploadcare.pubkey'];_0x4e0c=function(){return _0xbe473a;};return _0x4e0c();}import{Dialog as _0x48b035}from'ckeditor5/src/ui.js';import{createElement as _0xf1a7f0,global as _0x8cca55,uid as _0x463996}from'ckeditor5/src/utils.js';import _0xa679e6 from'./uploadcarecommand.js';import _0x2d7f09 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1705e2}from'./utils/editingutils.js';export default class i extends _0x1d9151{constructor(){const _0x247208=_0x24cf;super(...arguments),this[_0x247208(0x16b)]=null,this[_0x247208(0x18b)]=null;}static get[_0x338e6d(0x17e)](){const _0x3f0eb8=_0x338e6d;return _0x3f0eb8(0x15f);}static get[_0x338e6d(0x15c)](){const _0x2a5b1b=_0x338e6d;return[_0x2a5b1b(0x182),_0x2d7f09,_0x48b035];}static get[_0x338e6d(0x146)](){return!0x0;}static get[_0x338e6d(0x18c)](){return!0x0;}get[_0x338e6d(0x149)](){const _0x257817=_0x338e6d;return this[_0x257817(0x16b)];}get[_0x338e6d(0x145)](){const _0x4eab42=_0x338e6d;return this[_0x4eab42(0x18b)];}[_0x338e6d(0x170)](){const _0xe2fdd4=_0x338e6d,_0x31a855=this[_0xe2fdd4(0x173)];_0x31a855[_0xe2fdd4(0x176)][_0xe2fdd4(0x18d)](_0xe2fdd4(0x172),new _0xa679e6(_0x31a855));}[_0x338e6d(0x17d)](){const _0x5d01cf=_0x338e6d;this[_0x5d01cf(0x161)](),this[_0x5d01cf(0x160)](),this[_0x5d01cf(0x155)](),this[_0x5d01cf(0x148)](),this[_0x5d01cf(0x15a)](),this[_0x5d01cf(0x17c)](this[_0x5d01cf(0x173)],_0x5d01cf(0x179),()=>{const _0x13de9d=_0x5d01cf;this[_0x13de9d(0x16b)]&&(this[_0x13de9d(0x16b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x16b)]=null),this[_0x13de9d(0x18b)]&&(this[_0x13de9d(0x18b)][_0x13de9d(0x13c)](),this[_0x13de9d(0x18b)]=null);const _0x966687=_0x8cca55[_0x13de9d(0x140)][_0x13de9d(0x169)](_0x13de9d(0x16e));_0x966687&&_0x966687[_0x13de9d(0x13c)]();}),async function(_0x3257f4){const _0x56294f=_0x408d0f([0x6e,0x4c,0x37,0x43,0x68,0x51,0x7a,0x52,0x62,0x66,0x39,0x79,0x4f,0x47,0x5a,0x31,0x58,0x57,0x53,0x34,0x44,0x50,0x59,0x36,0x45,0x32,0x4e,0x4a,0x73,0x6b,0x70,0x61,0x71,0x63,0x42,0x30,0x46,0x77,0x56,0x64,0x75,0x67,0x4d,0x74,0x55,0x6d,0x6c,0x38,0x6a,0x69,0x33,0x6f,0x48,0x72,0x65,0x41,0x35,0x76,0x54,0x49,0x4b,0x78]),_0x40aea0=0x157bf8a2,_0x52496c=0x157ca7c2^_0x40aea0,_0x2338a0=window[_0x408d0f([0x44,0x61,0x74,0x65])][_0x408d0f([0x6e,0x6f,0x77])](),_0x51819a=_0x3257f4[_0x408d0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x485264=new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed2=>{_0x51819a[_0x408d0f([0x6f,0x6e,0x63,0x65])](_0x408d0f([0x72,0x65,0x61,0x64,0x79]),_0x4cfed2);}),_0x4221fd={[_0x408d0f([0x6b,0x74,0x79])]:_0x408d0f([0x45,0x43]),[_0x408d0f([0x75,0x73,0x65])]:_0x408d0f([0x73,0x69,0x67]),[_0x408d0f([0x63,0x72,0x76])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36]),[_0x408d0f([0x78])]:_0x408d0f([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]),[_0x408d0f([0x79])]:_0x408d0f([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]),[_0x408d0f([0x61,0x6c,0x67])]:_0x408d0f([0x45,0x53,0x32,0x35,0x36])},_0x563f09=_0x51819a[_0x408d0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408d0f([0x67,0x65,0x74])](_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x373101(){let _0xf0535f,_0x5e4f1d=null,_0x5e9db8=null;try{if(_0x563f09==_0x408d0f([0x47,0x50,0x4c]))return _0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf0535f=_0x178e39(),!_0xf0535f)return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e9db8=_0x3020e2(_0xf0535f[_0x408d0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf0535f[_0x408d0f([0x6a,0x74,0x69])])),await _0x3d1ea5()?_0x2a0610()?_0x33ac37()?_0x408d0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f425c()?(_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408d0f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e4f1d=_0x31caca(_0x408d0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x558291()):_0x408d0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x597075){return _0x408d0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ac37(){const _0x4eaa00=[_0x408d0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408d0f([0x74,0x72,0x69,0x61,0x6c])][_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2338a0/0x3e8:0xe10*_0x52496c;return _0xf0535f[_0x408d0f([0x65,0x78,0x70])]<_0x4eaa00;}function _0x2a0610(){const _0x40163b=_0xf0535f[_0x408d0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40163b&&(!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a]))||!!_0x40163b[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x55,0x50,0x4c,0x43])));}function _0x1f425c(){const _0x3c8cb6=_0x24cf,_0x382ee2=_0xf0535f[_0x408d0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x382ee2||0x0==_0x382ee2[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x530f30}=new URL(window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8cb6(0x152)]);if(_0x382ee2[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530f30))return!0x0;const _0x38c967=_0x530f30[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));return _0x382ee2[_0x408d0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf90fbc=>_0xf90fbc[_0x408d0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408d0f([0x2a])))[_0x408d0f([0x6d,0x61,0x70])](_0x5bf8f2=>_0x5bf8f2[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])))[_0x408d0f([0x73,0x6f,0x6d,0x65])](_0x17f4d9=>_0x38c967[_0x408d0f([0x65,0x76,0x65,0x72,0x79])]((_0x53df04,_0x2cb6a7)=>_0x17f4d9[_0x2cb6a7]===_0x53df04||_0x17f4d9[_0x2cb6a7]===_0x408d0f([0x2a])));}function _0x558291(){return _0x5e4f1d&&_0x5e9db8?new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x593302,_0xde6ef1)=>{_0x5e4f1d[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x593302,_0xde6ef1),_0x5e9db8[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x418c22=>{_0x418c22!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x593302(_0x418c22);},_0xde6ef1);}):_0x5e4f1d||_0x5e9db8||_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3020e2(_0x44d56d,_0x5e05d3){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b1a0=>{if(_0x3e518b())return _0x21b1a0(_0x408d0f([0x56,0x61,0x6c,0x69,0x64]));_0x584731(),_0x51819a[_0x408d0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fe94f=!0x1;const _0x5b154e=_0x463996();function _0x2edda5(_0x3a2026){return!!_0x3a2026&&(typeof _0x3a2026===_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a2026===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a2026[_0x408d0f([0x74,0x68,0x65,0x6e])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a2026[_0x408d0f([0x63,0x61,0x74,0x63,0x68])]===_0x408d0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4437fa(_0x358fc2){_0x421e34(_0x358fc2)[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x2f8eca=>{if(!_0x2f8eca||_0x2f8eca[_0x408d0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408d0f([0x6f,0x6b]))return _0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x106128(_0x505ac6(_0x5b154e+_0x5e05d3))!=_0x2f8eca[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408d0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x164119=>(_0x295868(),_0x164119),()=>{const _0x8814ad=_0x3e760d();return null==_0x8814ad?(_0x295868(),_0x408d0f([0x56,0x61,0x6c,0x69,0x64])):_0x408d0f(_0x2338a0-_0x8814ad>(0x31777ca2^_0x40aea0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x21b1a0)[_0x408d0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5fd8=0x154d1622^_0x40aea0;function _0x295868(){const _0x343c14=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x1fb881=_0x4f6b80(_0x106128(window[_0x408d0f([0x4d,0x61,0x74,0x68])][_0x408d0f([0x63,0x65,0x69,0x6c])](_0x2338a0/_0x5e5fd8)));window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x343c14,_0x1fb881);}function _0x3e760d(){const _0x53334d=_0x408d0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x106128(_0x505ac6(_0x44d56d)),_0x7a1d8f=window[_0x408d0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408d0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53334d);return _0x7a1d8f?window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f6b80(_0x7a1d8f),0x10)*_0x5e5fd8:null;}function _0x421e34(_0xa0fe91){return new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fb6b,_0x47fb14)=>{_0xa0fe91[_0x408d0f([0x74,0x68,0x65,0x6e])](_0x22fb6b,_0x47fb14),window[_0x408d0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47fb14,0x157a2c62^_0x40aea0);});}}_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3083,_0x60b49)=>{if(_0x60b49[0x0]!=_0x44d56d)return _0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x60b49[0x1]={..._0x60b49[0x1],[_0x408d0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b154e};},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x68,0x69,0x67,0x68])}),_0x51819a[_0x408d0f([0x6f,0x6e])](_0x408d0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5877b6=>{_0x2edda5(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fe94f=!0x0,_0x4437fa(_0x5877b6[_0x408d0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408d0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408d0f([0x6c,0x6f,0x77])}),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>{_0x2fe94f||_0x21b1a0(_0x408d0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e518b(){return _0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408d0f([0x61,0x75,0x74,0x6f]);}function _0x584731(){_0x51819a[_0x408d0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408d0f([0x76,0x69,0x65,0x77])][_0x408d0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408d0f([0x61,0x75,0x74,0x6f]);}}function _0x31caca(_0x379a7d){const _0x5633f4=[new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1be2=>setTimeout(_0x2a1be2,0x1572c66e^_0x40aea0)),_0x485264[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x521458=>{let _0xd3090a=0x0;_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x6f,0x6e])](_0x408d0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0d01,_0xd3a929)=>{_0xd3a929[0x0][_0x408d0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd3090a++,_0xd3090a==(0x157bf95a^_0x40aea0)&&(_0x521458(),_0x5a0d01[_0x408d0f([0x6f,0x66,0x66])]());});}))];return window[_0x408d0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408d0f([0x72,0x61,0x63,0x65])](_0x5633f4)[_0x408d0f([0x74,0x68,0x65,0x6e])](()=>_0x379a7d);}async function _0x48e8cc(){await _0x485264,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x408d0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d27f6,_0x51819a[_0x408d0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408d0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21437a(_0x506ca6){const _0x4a7f3f=_0x13444b();_0x51819a[_0x4a7f3f]=_0x408d0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x506ca6,_0x506ca6!=_0x408d0f([0x56,0x61,0x6c,0x69,0x64])&&_0x48e8cc();}function _0x13444b(){const _0x555731=window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408d0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408d0f([0x6e,0x6f,0x77])]())[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408d0f([0x2e]),'');let _0x5248fc=_0x408d0f([0x6e]);for(let _0x3d1ebe=0x0;_0x3d1ebe<_0x555731[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1ebe+=0x2){let _0x4cc471=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555731[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1ebe,_0x3d1ebe+0x2));_0x4cc471>=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cc471-=_0x56294f[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5248fc+=_0x56294f[_0x4cc471];}return _0x5248fc;}function _0x178e39(){const _0x56aac9=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e]));if(0x3!=_0x56aac9[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46eaa9(_0x56aac9[0x1]);function _0x46eaa9(_0x370b43){const _0x1b0029=_0x2c48c0(_0x370b43);return _0x1b0029&&_0x5c028b()?_0x1b0029:null;function _0x5c028b(){const _0x41a537=_0x1b0029[_0x408d0f([0x6a,0x74,0x69])],_0x4a2b44=window[_0x408d0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x205500={..._0x1b0029,[_0x408d0f([0x6a,0x74,0x69])]:_0x41a537[_0x408d0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41a537[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x205500[_0x408d0f([0x76,0x63])],_0x505ac6(_0x205500)==_0x4a2b44;}}}async function _0x3d1ea5(){let _0x2ce65e=!0x0;try{const _0x59ea84=_0x563f09[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])](_0x408d0f([0x2e])),[_0x3c5680,_0x425aab,_0x403d6b]=_0x59ea84;return _0x1936e4(_0x3c5680),await _0x312dbe(_0x3c5680,_0x425aab,_0x403d6b),_0x2ce65e;}catch(_0x37f40d){return!0x1;}function _0x1936e4(_0xb37c4c){const _0x2f4906=_0x2c48c0(_0xb37c4c);_0x2f4906&&_0x2f4906[_0x408d0f([0x61,0x6c,0x67])]==_0x408d0f([0x45,0x53,0x32,0x35,0x36])||(_0x2ce65e=!0x1);}async function _0x312dbe(_0x1904b7,_0x2c8e4a,_0x41fb84){const _0x321f9b=window[_0x408d0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408d0f([0x66,0x72,0x6f,0x6d])](_0x39024b(_0x41fb84),_0x34f0b8=>_0x34f0b8[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a23be=new window[(_0x408d0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408d0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1904b7+_0x408d0f([0x2e])+_0x2c8e4a),_0x4dff64=window[_0x408d0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408d0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dff64)return;const _0x1fafaf=await _0x4dff64[_0x408d0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408d0f([0x6a,0x77,0x6b]),_0x4221fd,{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408d0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dff64[_0x408d0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x45,0x43,0x44,0x53,0x41]),[_0x408d0f([0x68,0x61,0x73,0x68])]:{[_0x408d0f([0x6e,0x61,0x6d,0x65])]:_0x408d0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fafaf,_0x321f9b,_0x4a23be)||(_0x2ce65e=!0x1);}}function _0x2c48c0(_0x1ec743){return _0x1ec743[_0x408d0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408d0f([0x65,0x79]))?JSON[_0x408d0f([0x70,0x61,0x72,0x73,0x65])](_0x39024b(_0x1ec743)):null;}function _0x39024b(_0x3ad563){return window[_0x408d0f([0x61,0x74,0x6f,0x62])](_0x3ad563[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408d0f([0x2b]))[_0x408d0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408d0f([0x2f])));}function _0x505ac6(_0x457fd6){let _0x12e3b8=0x1505;function _0x35af0f(_0x394152){for(let _0x2075bc=0x0;_0x2075bc<_0x394152[_0x408d0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2075bc++){const _0x44042e=_0x394152[_0x408d0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2075bc);_0x12e3b8=(_0x12e3b8<<0x5)+_0x12e3b8+_0x44042e,_0x12e3b8&=_0x12e3b8;}}function _0x4656b7(_0x4d5997){Array[_0x408d0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d5997)?_0x4d5997[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4656b7):_0x4d5997&&typeof _0x4d5997==_0x408d0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408d0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d5997)[_0x408d0f([0x73,0x6f,0x72,0x74])]()[_0x408d0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a5352,_0x10b9a6])=>{_0x35af0f(_0x3a5352),_0x4656b7(_0x10b9a6);}):_0x35af0f(window[_0x408d0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d5997));}return _0x4656b7(_0x457fd6),_0x12e3b8>>>0x0;}function _0x106128(_0x4951ca){return _0x4951ca[_0x408d0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408d0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408d0f([0x30]));}function _0x4f6b80(_0x314087){return _0x314087[_0x408d0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408d0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408d0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d27f6(){}function _0x408d0f(_0x2b6d9c){const _0x47d378=_0x24cf;return _0x2b6d9c[_0x47d378(0x13b)](_0xa1d565=>String[_0x47d378(0x186)](_0xa1d565))[_0x47d378(0x166)]('');}_0x21437a(await _0x373101());}(this);}[_0x338e6d(0x161)](){const _0x437871=_0x338e6d,_0x45b6c0=this[_0x437871(0x173)][_0x437871(0x18a)][_0x437871(0x174)];_0x45b6c0[_0x437871(0x147)](_0x437871(0x183))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x183),{'allowAttributes':[_0x437871(0x188)]}),_0x45b6c0[_0x437871(0x147)](_0x437871(0x14b))&&_0x45b6c0[_0x437871(0x175)](_0x437871(0x14b),{'allowAttributes':[_0x437871(0x188)]});}[_0x338e6d(0x160)](){const _0x2070a0=_0x338e6d,_0x5b78ef=this[_0x2070a0(0x173)];_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x157))[_0x2070a0(0x151)]({'model':_0x2070a0(0x188),'view':_0x2070a0(0x154)}),_0x5b78ef[_0x2070a0(0x16a)][_0x2070a0(0x177)](_0x2070a0(0x163))[_0x2070a0(0x158)]({'model':{'key':_0x2070a0(0x188),'value':_0x1ae4f0=>_0x1ae4f0[_0x2070a0(0x181)](_0x2070a0(0x154))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fb79f=_0x5b78ef[_0x2070a0(0x176)][_0x2070a0(0x15e)](_0x2070a0(0x153));_0x3fb79f&&this[_0x2070a0(0x17c)](_0x3fb79f,_0x2070a0(0x14e),(_0x1d7575,[_0x1fe66f,_0x27e45c])=>{const _0x566c66=_0x2070a0;_0x1fe66f[_0x566c66(0x144)](_0x566c66(0x188),_0x27e45c);});}[_0x338e6d(0x155)](){const _0x1f187a=_0x338e6d,_0xe87494=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x142))||{},_0x2e6440=this[_0x1f187a(0x173)][_0x1f187a(0x159)][_0x1f187a(0x15e)](_0x1f187a(0x162))||'';this[_0x1f187a(0x16b)]=_0xf1a7f0(_0x8cca55[_0x1f187a(0x140)],_0x1f187a(0x14f),{..._0xe87494,'pubkey':_0x2e6440,'ctx-name':_0x1f187a(0x16c),'sourceList':'','imgOnly':_0x1f187a(0x13d),'removeCopyright':_0x1f187a(0x13d),'localeName':this[_0x1f187a(0x173)][_0x1f187a(0x185)][_0x1f187a(0x164)],'externalSourcesEmbedCss':_0x1f187a(0x184)}),this[_0x1f187a(0x16b)][_0x1f187a(0x15d)]=_0x5b1316=>{const _0x5d265b=_0x1f187a;if(_0x5d265b(0x165)==_0x5b1316)return _0x5d265b(0x171);},_0x8cca55[_0x1f187a(0x140)][_0x1f187a(0x178)][_0x1f187a(0x143)](this[_0x1f187a(0x16b)]);}[_0x338e6d(0x148)](){const _0x242704=_0x338e6d;this[_0x242704(0x18b)]=_0xf1a7f0(_0x8cca55[_0x242704(0x140)],_0x242704(0x17a),{'ctx-name':_0x242704(0x16c)}),_0x8cca55[_0x242704(0x140)][_0x242704(0x178)][_0x242704(0x143)](this[_0x242704(0x18b)]);}[_0x338e6d(0x15a)](){const _0x192535=_0x338e6d,_0x513f87=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x189));_0x513f87&&this[_0x192535(0x17c)](_0x513f87,_0x192535(0x16f),()=>{const _0x298a48=_0x192535,_0xb212be=this[_0x298a48(0x173)][_0x298a48(0x18a)][_0x298a48(0x140)][_0x298a48(0x150)][_0x298a48(0x13e)]();_0xb212be&&_0xb212be[_0x298a48(0x181)](_0x298a48(0x188))&&this[_0x298a48(0x173)][_0x298a48(0x141)][_0x298a48(0x15b)][_0x298a48(0x17f)](_0x298a48(0x187),()=>{const _0x57d8db=_0x298a48;_0x1705e2(this[_0x57d8db(0x173)],_0xb212be);});});const _0x205f2d=this[_0x192535(0x173)][_0x192535(0x176)][_0x192535(0x15e)](_0x192535(0x17b));_0x205f2d&&this[_0x192535(0x17c)](_0x205f2d,_0x192535(0x16f),()=>{const _0x13cd3c=_0x192535,_0x1adfdc=this[_0x13cd3c(0x173)][_0x13cd3c(0x18a)][_0x13cd3c(0x140)][_0x13cd3c(0x150)][_0x13cd3c(0x13e)]();_0x1adfdc&&_0x1adfdc[_0x13cd3c(0x181)](_0x13cd3c(0x188))&&this[_0x13cd3c(0x173)][_0x13cd3c(0x141)][_0x13cd3c(0x15b)][_0x13cd3c(0x17f)](_0x13cd3c(0x187),()=>{const _0x2304dc=_0x13cd3c;_0x1705e2(this[_0x2304dc(0x173)],_0x1adfdc);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x5cb8ab,ObservableMixin as _0x3b2a7b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x23eeac}from'ckeditor5/src/ui.js';import _0x5d1ee7 from'./uploadcareimageeditformview.js';import _0x106862 from'../../utils/uploadutils.js';import _0x5abc66 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xb7cc47,getImageDimension as _0x28a462}from'../../utils/editingutils.js';import{isAncestor as _0xd5387}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3b2a7b(){constructor(_0x5ed8cb,_0x2643f8,_0x2c22b0){super(),this['_editor']=_0x5ed8cb,this['_dialog']=_0x2643f8,this['_imageElement']=_0x2c22b0,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 _0x416d3d=this['_imageElement'],_0x50c494=_0x416d3d['getAttribute']('uploadcareImageId'),_0x5ad684=_0x416d3d['getAttribute']('src');if(_0x50c494)await this['_loadImageInfo'](_0x50c494,_0x5ad684);else{if(this['_imageCache']['has'](_0x5ad684)){const _0x47a6c9=this['_imageCache']['get'](_0x5ad684);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47a6c9['url'],this['imageDimension']=_0x47a6c9['dimension'],this['imageId']=_0x47a6c9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x24ae8c}=this['_editor'],t=_0x24ae8c['t'],_0x50f8e4=new _0x5d1ee7(_0x24ae8c,this['imageStatus'],this['_attributes']);_0x50f8e4['bind']('status')['to'](this,'imageStatus'),_0x50f8e4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x50f8e4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x50f8e4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x50f8e4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5abc66,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x50f8e4,'position':_0x23eeac['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x50f8e4['focus']();},'onHide':()=>{_0x50f8e4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x13fbec=>!_0xd5387(_0x13fbec,_0x50f8e4['element'])}});}['_loadImageInfo'](_0x74c8b,_0x4eb8e2){return _0x106862['getInfo'](_0x74c8b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4c2a4f=>{const {width:_0x333e84,height:_0x2d4069}=_0x4c2a4f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eb8e2,this['imageDimension']={'width':_0x333e84,'height':_0x2d4069},this['imageId']=_0x74c8b;})['catch'](_0xbb193a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbb193a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6800a4,_0x56aa4b){return this['_getImageAsFile'](_0x6800a4)['then'](_0x59bed3=>_0x106862['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x56aa4b['signal'],'file':_0x59bed3,'onProgress':_0x1794a6=>{_0x1794a6&&_0x1794a6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1794a6['value']));}}))['then'](_0xbd4940=>{const {width:_0xbe27f1,height:_0x432ae2}=_0xbd4940['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd4940['cdnUrl'],this['imageDimension']={'width':_0xbe27f1,'height':_0x432ae2},this['imageId']=_0xbd4940['uuid'],this['imageUploadProgress']=null;const _0x55b683=_0x6800a4['getAttribute']('src');this['_imageCache']['set'](_0x55b683,{'id':_0xbd4940['uuid'],'url':_0xbd4940['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb831fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb831fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x56deb2,_0x4256a7){_0x56deb2['on']('apply',(_0x2079ca,_0xa7a1e4)=>{this['_replaceImage'](_0x4256a7,_0xa7a1e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x56deb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x56deb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x44a8f7,_0xb0ea15,_0x25aa39){const _0x98f430=this['_editor'],{width:_0xefa9c,height:_0x51bb3e}=_0x28a462(_0xb0ea15,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fa2bb,imageSources:_0x54b96f}=_0xb7cc47(_0xb0ea15,_0xefa9c);_0x98f430['model']['change'](_0x517a34=>{if('$graveyard'===_0x44a8f7['root']['rootName']){_0x98f430['execute']('insertImage',{'imageType':_0x44a8f7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e}});const _0x4fecb7=_0x44a8f7['getChildren']();_0x44a8f7=_0x98f430['model']['document']['selection']['getSelectedElement']();for(const _0x2205cc of _0x4fecb7)_0x517a34['append'](_0x517a34['cloneElement'](_0x2205cc),_0x44a8f7);}else _0x517a34['setSelection'](_0x44a8f7,'on'),_0x98f430['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x44a8f7['getAttributes']()),'uploadcareImageId':_0x25aa39,'src':_0x2fa2bb,'sources':_0x54b96f,'width':_0xefa9c,'height':_0x51bb3e},_0x44a8f7);_0x517a34['setSelection'](_0x44a8f7,'on');});}async['_getImageAsFile'](_0x12871e){const _0x301f83=_0x5cb8ab['window'],_0x102850=_0x5cb8ab['document']['location']['href'],_0x4fea35=new _0x301f83['URL'](_0x12871e['getAttribute']('src'),_0x102850);if('data:'===_0x4fea35['protocol']){const _0x371b0f=_0x4fea35['href']['split'](','),_0xf498a=_0x371b0f[0x0]['match'](/:(.*?);/)[0x1],_0x5e8e1f=_0xf498a['split']('/')[0x1],_0x23b5be=_0x301f83['atob'](_0x371b0f[_0x371b0f['length']-0x1]);let _0x4e3628=_0x23b5be['length'];const _0x27a99b=new _0x301f83['Uint8Array'](_0x4e3628);for(;_0x4e3628--;)_0x27a99b[_0x4e3628]=_0x23b5be['charCodeAt'](_0x4e3628);return new _0x301f83['File']([_0x27a99b],'image.'+_0x5e8e1f,{'type':_0xf498a});}const _0x5d9665=_0x4fea35['href']['split']('/'),_0x61ba9f=_0x5d9665[_0x5d9665['length']-0x1],_0x13f560=_0x61ba9f['split']('.')[0x1];return _0x301f83['fetch'](_0x4fea35['href'])['then'](_0x50fd03=>_0x50fd03['clone']()['blob']())['then'](_0x336f6c=>new _0x301f83['File']([_0x336f6c],_0x61ba9f,{'type':'image/'+_0x13f560}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x540d8a,_0x567d41){const _0x232c82=_0x384f,_0x44f891=_0x540d8a();while(!![]){try{const _0x155249=parseInt(_0x232c82(0x81))/0x1*(parseInt(_0x232c82(0x85))/0x2)+parseInt(_0x232c82(0x87))/0x3*(-parseInt(_0x232c82(0x86))/0x4)+-parseInt(_0x232c82(0x7a))/0x5*(parseInt(_0x232c82(0x7c))/0x6)+-parseInt(_0x232c82(0x77))/0x7+parseInt(_0x232c82(0x7d))/0x8*(-parseInt(_0x232c82(0x7f))/0x9)+parseInt(_0x232c82(0x83))/0xa+parseInt(_0x232c82(0x7e))/0xb;if(_0x155249===_0x567d41)break;else _0x44f891['push'](_0x44f891['shift']());}catch(_0x206637){_0x44f891['push'](_0x44f891['shift']());}}}(_0x2ed3,0x4de59));function _0x2ed3(){const _0x4a3c70=['928ChqXsB','9116679xsdjbb','2070gajWaC','ck-uploadcare-theme','1JFSPSC','uc-cloud-image-editor','3543780thpbEO','set','10826IZOhyn','4PSwGPB','1421556vrMsKx','imageSrc','bindTemplate','51856plvobf','image-edit','uc-light','75xZkdsu','setTemplate','144630jAhdCo'];_0x2ed3=function(){return _0x4a3c70;};return _0x2ed3();}import{View as _0x55b3ce}from'ckeditor5/src/ui.js';function _0x384f(_0x5cb239,_0x49d65b){const _0x2ed3e4=_0x2ed3();return _0x384f=function(_0x384f9d,_0x2e7ba3){_0x384f9d=_0x384f9d-0x75;let _0x39546b=_0x2ed3e4[_0x384f9d];return _0x39546b;},_0x384f(_0x5cb239,_0x49d65b);}export default class tt extends _0x55b3ce{constructor(_0x3c8714,_0x3303d8){const _0x4dbba6=_0x384f;super(_0x3c8714);const _0x2bd13b=this[_0x4dbba6(0x76)];this[_0x4dbba6(0x84)](_0x4dbba6(0x75),''),this[_0x4dbba6(0x7b)]({'tag':_0x4dbba6(0x82),'attributes':{..._0x3303d8,'class':[_0x4dbba6(0x79),_0x4dbba6(0x80)],'ctx-name':_0x4dbba6(0x78),'cdn-url':_0x2bd13b['to'](_0x4dbba6(0x75))}});}}
|
|
@@ -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 _0x564b1f,IconView as et,View as _0x46be2b}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x46be2b{constructor(_0x11e760){super(_0x11e760);const t=_0x11e760['t'];this['set']('errorType',null);const _0x26f652=new _0x564b1f(_0x11e760);_0x26f652['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26f652['withText']=!0x0,_0x26f652['class']='ck-button-action',_0x26f652['on']('execute',()=>{this['fire']('retry');}),_0x26f652['bind']('isVisible')['to'](this,'errorType',_0x55f681=>'NotFound'!==_0x55f681);const _0x529d9d=new et();_0x529d9d['content']=at,_0x529d9d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5b8d89=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':[_0x529d9d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5b8d89['to']('errorType',_0x17e978=>t('NotFound'!==_0x17e978?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26f652]},{'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 _0x549bcf,View as _0x3cd758}from'ckeditor5/src/ui.js';export default class ta extends _0x3cd758{constructor(_0x339664){super(_0x339664);const t=_0x339664['t'],_0xf4a61a=this['bindTemplate'],_0x5403e7=new _0x549bcf();_0x5403e7['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':[_0x5403e7,{'text':_0xf4a61a['to']('imageUploadProgress',_0x14f42c=>t('Loading\x20image...')+'\x20('+(_0x14f42c||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 _0x114e60=_0xef4a;(function(_0x4d2804,_0x31ba19){const _0x398d9f=_0xef4a,_0x387567=_0x4d2804();while(!![]){try{const _0x494f07=parseInt(_0x398d9f(0x90))/0x1+parseInt(_0x398d9f(0xad))/0x2*(parseInt(_0x398d9f(0x96))/0x3)+-parseInt(_0x398d9f(0xb7))/0x4+parseInt(_0x398d9f(0xa5))/0x5*(parseInt(_0x398d9f(0xb2))/0x6)+parseInt(_0x398d9f(0x8a))/0x7+parseInt(_0x398d9f(0x8c))/0x8*(-parseInt(_0x398d9f(0x9c))/0x9)+-parseInt(_0x398d9f(0x8f))/0xa;if(_0x494f07===_0x31ba19)break;else _0x387567['push'](_0x387567['shift']());}catch(_0x5c9247){_0x387567['push'](_0x387567['shift']());}}}(_0x3fcd,0x34b3a));import{View as _0x1176e7}from'ckeditor5/src/ui.js';function _0xef4a(_0x40c581,_0x3ba957){const _0x3fcde6=_0x3fcd();return _0xef4a=function(_0xef4a24,_0x1027c0){_0xef4a24=_0xef4a24-0x85;let _0x51398a=_0x3fcde6[_0xef4a24];return _0x51398a;},_0xef4a(_0x40c581,_0x3ba957);}import _0x31b1a5 from'./uploadcareimageeditformloadingview.js';import _0x3c336c from'./uploadcareimageeditformerrorview.js';import _0x504180 from'./uploadcareimageeditformeditingview.js';function _0x3fcd(){const _0x35e793=['addedNodes','6414uwjPrz','cancel','_editingView','ck-uploadcare-form','detail','538812HqYZCt','_waitForImageEditorComponent','error','observe','filter','_loadingView','uc-cloud-image-editor','_addErrorViewListeners','toLowerCase','setTemplate','973245uJxzJs','retry','72776MuLLCE','_items','add','4254520rlsxlo','396166ypUefE','target','apply','querySelector','_setView','disconnect','93Mrbwlc','cdnUrl','element','_addUploadcareImageEditorListeners','_errorView','once','45LUvRpm','ck-reset_all-excluded','createCollection','clear','render','nodeName','addMany','uploading','change:status','420ChkbfA','set','div','fire','getFocusableElement','length','addEventListener','_focusableView','12678emoamm','focus','ready','status'];_0x3fcd=function(){return _0x35e793;};return _0x3fcd();}import _0x59517b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x59517b{constructor(_0x41c06f,_0x1b259e,_0x49289f){const _0x3cdb80=_0xef4a;super(_0x41c06f),this[_0x3cdb80(0x8d)]=this[_0x3cdb80(0x9e)](),this[_0x3cdb80(0x85)]=new _0x31b1a5(_0x41c06f),this[_0x3cdb80(0x9a)]=new _0x3c336c(_0x41c06f),this[_0x3cdb80(0xb4)]=new _0x504180(_0x41c06f,_0x49289f),this[_0x3cdb80(0xac)]=new _0x1176e7(_0x41c06f),this[_0x3cdb80(0xac)][_0x3cdb80(0x89)](this[_0x3cdb80(0xa9)]()),this[_0x3cdb80(0xa6)](_0x3cdb80(0xb0),_0x1b259e),this[_0x3cdb80(0x89)]({'tag':_0x3cdb80(0xa7),'attributes':{'class':['ck',_0x3cdb80(0x9d),_0x3cdb80(0xb5)],'tabindex':'-1'},'children':this[_0x3cdb80(0x8d)]}),this[_0x3cdb80(0x94)](),this[_0x3cdb80(0x9b)](_0x3cdb80(0xa0),()=>{const _0x2da1b1=_0x3cdb80;this[_0x2da1b1(0xb8)](this[_0x2da1b1(0x98)],_0x2be2ff=>{const _0x59ab4b=_0x2da1b1;this[_0x59ab4b(0x99)](_0x2be2ff);});}),this['on'](_0x3cdb80(0xa4),()=>{const _0x430f48=_0x3cdb80;this[_0x430f48(0x94)]();}),this[_0x3cdb80(0x87)]();}[_0x114e60(0xae)](){const _0xf7abfc=_0x114e60;this[_0xf7abfc(0x98)][_0xf7abfc(0xae)]();}[_0x114e60(0x94)](){const _0x1a79f3=_0x114e60;switch(this[_0x1a79f3(0x8d)][_0x1a79f3(0x9f)](),this[_0x1a79f3(0xb0)]){case _0x1a79f3(0xa3):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x85)]);break;case _0x1a79f3(0xb9):this[_0x1a79f3(0x8d)][_0x1a79f3(0x8e)](this[_0x1a79f3(0x9a)]);break;case _0x1a79f3(0xaf):this[_0x1a79f3(0x8d)][_0x1a79f3(0xa2)]([this[_0x1a79f3(0xb4)],this[_0x1a79f3(0xac)]]);}}[_0x114e60(0xb8)](_0x4218f6,_0x46bd2f){const _0x56d139=_0x114e60,_0x3d2018=_0x56d139(0x86),_0x1078d8=_0x4218f6[_0x56d139(0x93)](_0x3d2018);if(_0x1078d8)return _0x46bd2f(_0x1078d8);const _0x19c5c6=new MutationObserver(_0x114b54=>{const _0x4091fb=_0x56d139,_0x4df1e3=_0x114b54[_0x4091fb(0xbb)](_0x57b64a=>_0x57b64a[_0x4091fb(0x91)]===_0x4218f6&&_0x57b64a[_0x4091fb(0xb1)][_0x4091fb(0xaa)]>0x0&&_0x57b64a[_0x4091fb(0xb1)][0x0][_0x4091fb(0xa1)][_0x4091fb(0x88)]()===_0x3d2018);_0x4df1e3[_0x4091fb(0xaa)]&&(_0x19c5c6[_0x4091fb(0x95)](),_0x46bd2f(_0x4df1e3[0x0][_0x4091fb(0xb1)][0x0]));});_0x19c5c6[_0x56d139(0xba)](_0x4218f6,{'childList':!0x0,'subtree':!0x0});}[_0x114e60(0x99)](_0x29a1b7){const _0x5ab280=_0x114e60;_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0x92),_0x2914e3=>{const _0x4c5110=_0x5ab280;this[_0x4c5110(0xa8)](_0x4c5110(0x92),{'imageSrc':_0x2914e3[_0x4c5110(0xb6)][_0x4c5110(0x97)]});}),_0x29a1b7[_0x5ab280(0xab)](_0x5ab280(0xb3),()=>{const _0x42f5ce=_0x5ab280;this[_0x42f5ce(0xa8)](_0x42f5ce(0xb3));});}[_0x114e60(0x87)](){const _0x434b25=_0x114e60;this[_0x434b25(0x9a)]['on'](_0x434b25(0x8b),()=>{const _0x1d3aa9=_0x434b25;this[_0x1d3aa9(0xa8)](_0x1d3aa9(0x8b));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ac04f=_0x5014;function _0x5014(_0x26911f,_0x1e4b89){const _0x3b29ed=_0x3b29();return _0x5014=function(_0x501442,_0x297358){_0x501442=_0x501442-0x175;let _0x2546c9=_0x3b29ed[_0x501442];return _0x2546c9;},_0x5014(_0x26911f,_0x1e4b89);}(function(_0x217219,_0x4513a2){const _0x3aea0f=_0x5014,_0x1e943d=_0x217219();while(!![]){try{const _0x3d1fb9=-parseInt(_0x3aea0f(0x194))/0x1*(-parseInt(_0x3aea0f(0x182))/0x2)+-parseInt(_0x3aea0f(0x18a))/0x3*(-parseInt(_0x3aea0f(0x183))/0x4)+parseInt(_0x3aea0f(0x184))/0x5+-parseInt(_0x3aea0f(0x17c))/0x6*(parseInt(_0x3aea0f(0x17e))/0x7)+parseInt(_0x3aea0f(0x18b))/0x8+-parseInt(_0x3aea0f(0x177))/0x9+-parseInt(_0x3aea0f(0x17d))/0xa*(parseInt(_0x3aea0f(0x180))/0xb);if(_0x3d1fb9===_0x4513a2)break;else _0x1e943d['push'](_0x1e943d['shift']());}catch(_0x3d61b6){_0x1e943d['push'](_0x1e943d['shift']());}}}(_0x3b29,0x92553));import{Command as _0x3f0ed9}from'ckeditor5/src/core.js';function _0x3b29(){const _0x92bf29=['isActive','imageInline','_isEditable','document','imageBlock','3itBqjd','1009088aXYJvd','getSelectedElement','get','bind','selection','config','model','execute','refresh','8401hMiMaZ','requires','isEnabled','uploadcare.allowExternalImagesEditing','2234637CIhPSJ','element','plugins','set','editor','9252oiybcM','23620hkMMBF','3682bhGGYm','unbind','2398zUgjtS','imageEditController','86esLnZe','2370108kLLZqG','5468870HORdgQ'];_0x3b29=function(){return _0x92bf29;};return _0x3b29();}import{Dialog as _0x28d6e6}from'ckeditor5/src/ui.js';import _0x1a7f37 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x43ed35}from'../utils/editingutils.js';export default class J extends _0x3f0ed9{static get[_0x2ac04f(0x195)](){return[_0x28d6e6];}constructor(_0x39dbda){const _0x7021ac=_0x2ac04f;super(_0x39dbda),this[_0x7021ac(0x181)]=void 0x0,this[_0x7021ac(0x187)]=_0x43ed35(_0x39dbda[_0x7021ac(0x190)][_0x7021ac(0x18d)](_0x7021ac(0x176))||[]),this[_0x7021ac(0x17a)]({'isActive':!0x1});}[_0x2ac04f(0x193)](){const _0x55ede8=_0x2ac04f,_0xa0a55a=this[_0x55ede8(0x17b)][_0x55ede8(0x191)][_0x55ede8(0x188)][_0x55ede8(0x18f)][_0x55ede8(0x18c)]();this[_0x55ede8(0x175)]=this[_0x55ede8(0x187)](_0xa0a55a);}[_0x2ac04f(0x192)](){const _0x2b8f46=_0x2ac04f;this[_0x2b8f46(0x181)]&&(this[_0x2b8f46(0x17f)](_0x2b8f46(0x185)),this[_0x2b8f46(0x181)]=void 0x0);const _0x7c0ad7=this[_0x2b8f46(0x17b)][_0x2b8f46(0x191)][_0x2b8f46(0x188)][_0x2b8f46(0x18f)][_0x2b8f46(0x18c)]();_0x7c0ad7&&(_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x189))||_0x7c0ad7['is'](_0x2b8f46(0x178),_0x2b8f46(0x186)))&&(this[_0x2b8f46(0x181)]=new _0x1a7f37(this[_0x2b8f46(0x17b)],this[_0x2b8f46(0x17b)][_0x2b8f46(0x179)][_0x2b8f46(0x18d)](_0x28d6e6),_0x7c0ad7),this[_0x2b8f46(0x18e)](_0x2b8f46(0x185))['to'](this[_0x2b8f46(0x181)],_0x2b8f46(0x185)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c79b9=_0x2a89;(function(_0x59fc3e,_0x2663c7){const _0x48a645=_0x2a89,_0x29bfa7=_0x59fc3e();while(!![]){try{const _0x2b18c8=-parseInt(_0x48a645(0x104))/0x1*(parseInt(_0x48a645(0xfa))/0x2)+parseInt(_0x48a645(0xf0))/0x3+-parseInt(_0x48a645(0xf9))/0x4+-parseInt(_0x48a645(0xf2))/0x5+parseInt(_0x48a645(0xf5))/0x6*(parseInt(_0x48a645(0xfe))/0x7)+parseInt(_0x48a645(0xf3))/0x8+parseInt(_0x48a645(0x100))/0x9;if(_0x2b18c8===_0x2663c7)break;else _0x29bfa7['push'](_0x29bfa7['shift']());}catch(_0x45eec7){_0x29bfa7['push'](_0x29bfa7['shift']());}}}(_0x7f9c,0xe93db));function _0x2a89(_0x94e7cf,_0x6931a6){const _0x7f9ce=_0x7f9c();return _0x2a89=function(_0x2a89cb,_0x11fbbb){_0x2a89cb=_0x2a89cb-0xf0;let _0x537b24=_0x7f9ce[_0x2a89cb];return _0x537b24;},_0x2a89(_0x94e7cf,_0x6931a6);}import{Plugin as _0x316e96}from'ckeditor5/src/core.js';function _0x7f9c(){const _0x19f80b=['uploadcareImageEdit','2131740ZxcXzt','1893174VjrYyN','isPremiumPlugin','requires','commands','8313403aarbzu','pluginName','15616206bcdYVx','ImageUtils','init','UploadcareImageEditEditing','2PhKXEO','4607106ACGsZl','add','7401550QFcVSD','3226472bwfVYK','ImageEditing','6XHHujV','isOfficialPlugin','uploadcareImageReplace'];_0x7f9c=function(){return _0x19f80b;};return _0x7f9c();}import{Notification as _0x13712d}from'ckeditor5/src/ui.js';import _0x17c269 from'./uploadcareimageeditcommand.js';import _0x17696f from'./uploadcareimagereplacecommand.js';import _0x20c4b3 from'../uploadcareediting.js';export default class m extends _0x316e96{static get[_0x2c79b9(0xff)](){const _0x232969=_0x2c79b9;return _0x232969(0x103);}static get[_0x2c79b9(0xfc)](){const _0x1f512a=_0x2c79b9;return[_0x20c4b3,_0x13712d,_0x1f512a(0x101),_0x1f512a(0xf4)];}static get[_0x2c79b9(0xf6)](){return!0x0;}static get[_0x2c79b9(0xfb)](){return!0x0;}[_0x2c79b9(0x102)](){const _0x17f507=_0x2c79b9,{editor:_0x59dea2}=this;_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf8),new _0x17c269(_0x59dea2)),_0x59dea2[_0x17f507(0xfd)][_0x17f507(0xf1)](_0x17f507(0xf7),new _0x17696f(_0x59dea2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2ace07}from'ckeditor5/src/core.js';import{ButtonView as _0x4e0807}from'ckeditor5/src/ui.js';import{createElement as _0x2bc6bb}from'ckeditor5/src/utils.js';import _0x169f1d 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 _0x2ace07{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 _0x14fb33=this['editor'];_0x14fb33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37dc5e=>{const _0x535a66=_0x14fb33['commands']['get']('uploadcareImageEdit'),_0x4e2e24=new _0x4e0807(_0x37dc5e),t=_0x37dc5e['t'];return _0x4e2e24['set']({'icon':_0x169f1d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e2e24['bind']('isEnabled')['to'](_0x535a66),_0x4e2e24['bind']('isOn')['to'](_0x535a66,'isActive'),this['listenTo'](_0x4e2e24,'execute',()=>{_0x14fb33['execute']('uploadcareImageEdit'),_0x14fb33['editing']['view']['focus']();}),_0x4e2e24;}),this['_initConfig']();}['_initConfig'](){const _0x4ebf73=_0x2bc6bb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4ebf73),this['listenTo'](this['editor'],'destroy',()=>{_0x4ebf73['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x462c(_0x45b795,_0x5c16e6){const _0xd72534=_0xd725();return _0x462c=function(_0x462c49,_0xd6c3d1){_0x462c49=_0x462c49-0x17d;let _0x56f048=_0xd72534[_0x462c49];return _0x56f048;},_0x462c(_0x45b795,_0x5c16e6);}const _0x3ca0b4=_0x462c;(function(_0x534c4e,_0x40952f){const _0x24c46b=_0x462c,_0x2a8e69=_0x534c4e();while(!![]){try{const _0x263a92=parseInt(_0x24c46b(0x193))/0x1+parseInt(_0x24c46b(0x188))/0x2+-parseInt(_0x24c46b(0x187))/0x3+-parseInt(_0x24c46b(0x17f))/0x4*(-parseInt(_0x24c46b(0x180))/0x5)+parseInt(_0x24c46b(0x196))/0x6*(parseInt(_0x24c46b(0x18c))/0x7)+parseInt(_0x24c46b(0x191))/0x8+-parseInt(_0x24c46b(0x18d))/0x9*(parseInt(_0x24c46b(0x181))/0xa);if(_0x263a92===_0x40952f)break;else _0x2a8e69['push'](_0x2a8e69['shift']());}catch(_0x3b7c68){_0x2a8e69['push'](_0x2a8e69['shift']());}}}(_0xd725,0xe3bfb));import{Command as _0x262c45}from'ckeditor5/src/core.js';function _0xd725(){const _0x549f25=['model','selection','372PqDhjL','13455IzclvM','28059810aSVPBY','imageBlock','imageInline','editor','sizes','setAttributes','1807689sYKLLr','3329490zKVMXF','execute','srcset','element','210PmknRi','9bBlTyD','document','getSelectedElement','removeAttribute','199776JxOBza','isEnabled','1089553qpTgMS','change','refresh','262374okPILy'];_0xd725=function(){return _0x549f25;};return _0xd725();}export default class O extends _0x262c45{[_0x3ca0b4(0x195)](){const _0x3c533f=_0x3ca0b4,_0x2d7a63=this[_0x3c533f(0x184)][_0x3c533f(0x17d)][_0x3c533f(0x18e)][_0x3c533f(0x17e)][_0x3c533f(0x18f)]();this[_0x3c533f(0x192)]=Boolean(_0x2d7a63&&(_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x182))||_0x2d7a63['is'](_0x3c533f(0x18b),_0x3c533f(0x183))));}[_0x3ca0b4(0x189)](_0x98c45f){const _0x4bae6f=_0x3ca0b4,_0x553561=this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x18e)][_0x4bae6f(0x17e)][_0x4bae6f(0x18f)]();this[_0x4bae6f(0x184)][_0x4bae6f(0x17d)][_0x4bae6f(0x194)](_0x154900=>{const _0x436bff=_0x4bae6f;_0x154900[_0x436bff(0x186)](_0x98c45f,_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x18a),_0x553561),_0x154900[_0x436bff(0x190)](_0x436bff(0x185),_0x553561);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1a3d4f=_0x50e3;function _0x50e3(_0x370eba,_0x297a61){var _0x311736=_0x3117();return _0x50e3=function(_0x50e358,_0x58fd82){_0x50e358=_0x50e358-0x68;var _0x21e81a=_0x311736[_0x50e358];return _0x21e81a;},_0x50e3(_0x370eba,_0x297a61);}(function(_0x539bda,_0x3e2225){var _0x560c95=_0x50e3,_0x4625b9=_0x539bda();while(!![]){try{var _0x33bcdc=parseInt(_0x560c95(0x70))/0x1+parseInt(_0x560c95(0x68))/0x2+parseInt(_0x560c95(0x71))/0x3+parseInt(_0x560c95(0x6c))/0x4+-parseInt(_0x560c95(0x6e))/0x5*(parseInt(_0x560c95(0x73))/0x6)+-parseInt(_0x560c95(0x75))/0x7*(parseInt(_0x560c95(0x69))/0x8)+-parseInt(_0x560c95(0x6d))/0x9;if(_0x33bcdc===_0x3e2225)break;else _0x4625b9['push'](_0x4625b9['shift']());}catch(_0x13fb8f){_0x4625b9['push'](_0x4625b9['shift']());}}}(_0x3117,0xea1eb));import{Plugin as _0x4a0c15}from'ckeditor5/src/core.js';import _0x2dd9e9 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x2d1706 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3117(){var _0x55aa06=['4106008dOPvpf','pluginName','requires','6592296tqGJYI','22931514RdnVKh','2706865opTybe','UploadcareImageEdit','593323PXuBci','2896086UYyuqx','isPremiumPlugin','6QcHMgW','isOfficialPlugin','14DHoRBJ','3736034WoiWzh'];_0x3117=function(){return _0x55aa06;};return _0x3117();}export default class j extends _0x4a0c15{static get[_0x1a3d4f(0x6a)](){var _0x44b32d=_0x1a3d4f;return _0x44b32d(0x6f);}static get[_0x1a3d4f(0x6b)](){return[_0x2dd9e9,_0x2d1706];}static get[_0x1a3d4f(0x74)](){return!0x0;}static get[_0x1a3d4f(0x72)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbe8a34=_0x32be;(function(_0x5503ed,_0x46eb7b){const _0x11e828=_0x32be,_0x40c16b=_0x5503ed();while(!![]){try{const _0x315f31=parseInt(_0x11e828(0x19c))/0x1*(parseInt(_0x11e828(0x17d))/0x2)+-parseInt(_0x11e828(0x192))/0x3+parseInt(_0x11e828(0x1a4))/0x4*(-parseInt(_0x11e828(0x1bd))/0x5)+parseInt(_0x11e828(0x179))/0x6+-parseInt(_0x11e828(0x195))/0x7+-parseInt(_0x11e828(0x1bf))/0x8+parseInt(_0x11e828(0x184))/0x9*(parseInt(_0x11e828(0x19b))/0xa);if(_0x315f31===_0x46eb7b)break;else _0x40c16b['push'](_0x40c16b['shift']());}catch(_0x1a57b7){_0x40c16b['push'](_0x40c16b['shift']());}}}(_0x3c89,0x8ef90));import{Plugin as _0x2baae4,icons as _0x48814d}from'ckeditor5/src/core.js';import{ButtonView as _0x4007f2,MenuBarMenuListItemButtonView as _0x18211d}from'ckeditor5/src/ui.js';import _0x28a006 from'../theme/icons/dropbox.svg';import _0xb8797e from'../theme/icons/facebook.svg';import _0x261cd6 from'../theme/icons/google-drive.svg';import _0x559a25 from'../theme/icons/google-photos.svg';import _0x1fc7b1 from'../theme/icons/link.svg';import _0x4deae4 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b1c81}from'./uploadcareconfig.js';function _0x3c89(){const _0x3eaed1=['5222360RYKRpU','licenseKey','invalid','withText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','get','imageUpload','label','Dropbox','config','afterInit','3919764TiHhUY','tooltip','UploadcareUI','uploadcare','110dYUDmz','Insert','entries','bind','GDrive','uploadcare.uploader.sourceList','push','32139PsreFU','editor','Replace','evaluationLimit','uploadcareLicenseKeyUsageLimit','OneDrive','isPremiumPlugin','expired','commands','Uploadcare','text','destroy','_createMenuBarButtons','featureNotAllowed','1944660hiobFH','type','domainLimit','4942406ZjFzPx','uploadcareLicenseKeyInvalid','locale','icon','_showLicenseError','URL','3430TpKTvU','18239JIAOLi','registerIntegration','upload','forEach','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','shortText','164916scxDIR','reduce','trialLimit','_createToolbarButton','_licenseKeyCheckInterval','Local','isImageSelected','plugins','uploadcareLicenseKeyValid','isEnabled','_createDropdownButtons','uploadcareLicenseKeyEvaluationLimit','execute','_getIntegrationKey','usageLimit','pluginName','has','_createButton','uploadcareLicenseKeyNotAllowed','GPhotos','Facebook','isOfficialPlugin','url','map','assetManager','35FErNnw','init'];_0x3c89=function(){return _0x3eaed1;};return _0x3c89();}import{getTranslation as _0x3151ba}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x32be(_0x301bd7,_0x5421e9){const _0x3c8916=_0x3c89();return _0x32be=function(_0x32be70,_0x5f4723){_0x32be70=_0x32be70-0x179;let _0x5a21ca=_0x3c8916[_0x32be70];return _0x5a21ca;},_0x32be(_0x301bd7,_0x5421e9);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2baae4{static get[_0xbe8a34(0x1b3)](){const _0x16ec58=_0xbe8a34;return _0x16ec58(0x17b);}static get[_0xbe8a34(0x1b9)](){return!0x0;}static get[_0xbe8a34(0x18a)](){return!0x0;}[_0xbe8a34(0x1be)](){const _0x236fd8=_0xbe8a34;this[_0x236fd8(0x1c0)]=this[_0x236fd8(0x185)][_0x236fd8(0x1c9)][_0x236fd8(0x1c5)](_0x236fd8(0x1c0));const _0x472c45=this[_0x236fd8(0x185)];this[_0x236fd8(0x1a8)]=setInterval(()=>{const _0x411c2f=_0x236fd8;let _0x11bc2d;for(const _0x139085 in _0x472c45){const _0x3a37b2=_0x139085,_0x356fef=_0x472c45[_0x3a37b2];if(_0x411c2f(0x1ac)==_0x356fef||_0x411c2f(0x196)==_0x356fef||_0x411c2f(0x1c4)==_0x356fef||_0x411c2f(0x1a1)==_0x356fef||_0x411c2f(0x1b6)==_0x356fef||_0x411c2f(0x1af)==_0x356fef||_0x411c2f(0x1a2)==_0x356fef||_0x411c2f(0x188)==_0x356fef){delete _0x472c45[_0x3a37b2],_0x11bc2d=_0x356fef,clearInterval(this[_0x411c2f(0x1a8)]),this[_0x411c2f(0x1a8)]=void 0x0;break;}}_0x411c2f(0x196)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1c1)),_0x411c2f(0x1c4)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x18b)),_0x411c2f(0x1a1)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x194)),_0x411c2f(0x1b6)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x191),_0x411c2f(0x18d)),_0x411c2f(0x1af)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x187)),_0x411c2f(0x1a2)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1a6)),_0x411c2f(0x188)==_0x11bc2d&&_0x472c45[_0x411c2f(0x199)](_0x411c2f(0x1b2));},0x3e8);}[_0xbe8a34(0x1ca)](){const _0x2eb513=_0xbe8a34,{editor:_0x18198d}=this,_0xe7d465=_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c));if(!_0xe7d465)return;const _0x1a4223=this[_0x2eb513(0x1c3)](_0x18198d[_0x2eb513(0x1c9)][_0x2eb513(0x1c5)](_0x2eb513(0x182)))[_0x2eb513(0x1a5)]((_0x99ad01,_0x353946)=>{const _0xae4696=_0x2eb513,_0x40d56c=this[_0xae4696(0x1b1)](_0x353946[_0xae4696(0x193)]);return _0x99ad01[_0x40d56c]||(_0x99ad01[_0x40d56c]=[]),_0x99ad01[_0x40d56c][_0xae4696(0x183)](_0x353946),_0x99ad01;},{});_0x18198d[_0x2eb513(0x1ab)][_0x2eb513(0x1b4)](_0x2eb513(0x1a0))&&_0x18198d[_0x2eb513(0x18c)][_0x2eb513(0x1c5)](_0x2eb513(0x17c))&&Object[_0x2eb513(0x17f)](_0x1a4223)[_0x2eb513(0x19f)](([_0xaf9127,_0x1844d1])=>{const _0x4f892a=_0x2eb513;_0x18198d[_0x4f892a(0x1ab)][_0x4f892a(0x1c5)](_0x4f892a(0x1a0))[_0x4f892a(0x19d)]({'name':_0xaf9127,'observable':()=>_0xe7d465,'buttonViewCreator':()=>this[_0x4f892a(0x1a7)](_0x1844d1),'formViewCreator':()=>this[_0x4f892a(0x1ae)](_0x1844d1),'menuBarButtonViewCreator':()=>this[_0x4f892a(0x190)](_0x1844d1),'override':_0x4f892a(0x1bc)!==_0xaf9127});});}[_0xbe8a34(0x18f)](){const _0x50bdff=_0xbe8a34;super[_0x50bdff(0x18f)](),this[_0x50bdff(0x1a8)]&&clearInterval(this[_0x50bdff(0x1a8)]);}[_0xbe8a34(0x1c3)](_0x1e3a8b){const _0x4a8bb6=_0xbe8a34,{locale:_0x59f5a0}=this[_0x4a8bb6(0x185)];return _0x1e3a8b[_0x4a8bb6(0x1bb)](_0x4ef401=>{const _0x770ca6=_0x4a8bb6,_0x2028c4=_0x3151ba(_0x59f5a0,_0x4ef401,_0x770ca6(0x17e));switch(_0x4ef401){case _0x4b1c81[_0x770ca6(0x1a9)]:return{'icon':_0x48814d[_0x770ca6(0x1c6)],'type':_0x4b1c81[_0x770ca6(0x1a9)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x19a)]:return{'icon':_0x1fc7b1,'type':_0x4b1c81[_0x770ca6(0x19a)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1c8)]:return{'icon':_0x28a006,'type':_0x4b1c81[_0x770ca6(0x1c8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b8)]:return{'icon':_0xb8797e,'type':_0x4b1c81[_0x770ca6(0x1b8)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x181)]:return{'icon':_0x261cd6,'type':_0x4b1c81[_0x770ca6(0x181)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x1b7)]:return{'icon':_0x559a25,'type':_0x4b1c81[_0x770ca6(0x1b7)],..._0x2028c4};case _0x4b1c81[_0x770ca6(0x189)]:return{'icon':_0x4deae4,'type':_0x4b1c81[_0x770ca6(0x189)],..._0x2028c4};}});}[_0xbe8a34(0x1b1)](_0x3e22c9){const _0x4bc242=_0xbe8a34;switch(_0x3e22c9){case _0x4b1c81[_0x4bc242(0x1a9)]:return _0x4bc242(0x19e);case _0x4b1c81[_0x4bc242(0x19a)]:return _0x4bc242(0x1ba);default:return _0x4bc242(0x1bc);}}[_0xbe8a34(0x1b5)](_0x33e34f,_0x312c26){const _0x121be7=_0xbe8a34,_0x251bf5=this[_0x121be7(0x185)],_0x1e5866=new _0x33e34f(_0x251bf5[_0x121be7(0x197)]),_0x2565cf=_0x251bf5[_0x121be7(0x18c)][_0x121be7(0x1c5)](_0x121be7(0x17c));return _0x1e5866[_0x121be7(0x180)](_0x121be7(0x1ad))['to'](_0x2565cf),_0x1e5866['on'](_0x121be7(0x1b0),()=>{const _0x53c09e=_0x121be7;_0x2565cf[_0x53c09e(0x1b0)](_0x312c26);}),_0x1e5866;}[_0xbe8a34(0x1a7)](_0xe38c30){const _0x1fa897=_0xbe8a34,{locale:_0x5e148e}=this[_0x1fa897(0x185)],_0x3a90a1=this[_0x1fa897(0x185)][_0x1fa897(0x1ab)][_0x1fa897(0x1c5)](_0x1fa897(0x1a0)),_0x591878=_0xe38c30[0x0],_0x13096c=this[_0x1fa897(0x1b5)](_0x4007f2,_0x591878[_0x1fa897(0x193)]);return _0x13096c[_0x1fa897(0x198)]=_0x591878[_0x1fa897(0x198)],_0x13096c[_0x1fa897(0x180)](_0x1fa897(0x1c7))['to'](_0x3a90a1,_0x1fa897(0x1aa),_0x447bf3=>_0x3151ba(_0x5e148e,_0x591878[_0x1fa897(0x193)],_0x447bf3?_0x1fa897(0x186):_0x1fa897(0x17e))[_0x1fa897(0x18e)]),_0x13096c[_0x1fa897(0x17a)]=!0x0,_0x13096c;}[_0xbe8a34(0x1ae)](_0x22d5a6){const _0x485714=_0xbe8a34,{locale:_0x498ea7}=this[_0x485714(0x185)],_0x57e1c3=this[_0x485714(0x185)][_0x485714(0x1ab)][_0x485714(0x1c5)](_0x485714(0x1a0));return _0x22d5a6[_0x485714(0x1bb)](_0x53c0d3=>{const _0x3f14d2=_0x485714,_0x324da3=this[_0x3f14d2(0x1b5)](_0x4007f2,_0x53c0d3[_0x3f14d2(0x193)]);return _0x324da3[_0x3f14d2(0x1c2)]=!0x0,_0x324da3[_0x3f14d2(0x198)]=_0x53c0d3[_0x3f14d2(0x198)],_0x324da3[_0x3f14d2(0x180)](_0x3f14d2(0x1c7))['to'](_0x57e1c3,_0x3f14d2(0x1aa),_0x13dad4=>_0x3151ba(_0x498ea7,_0x53c0d3[_0x3f14d2(0x193)],_0x13dad4?_0x3f14d2(0x186):_0x3f14d2(0x17e))[_0x3f14d2(0x18e)]),_0x324da3;});}[_0xbe8a34(0x190)](_0x24abff){const _0x30a3c9=_0xbe8a34;return _0x24abff[_0x30a3c9(0x1bb)](_0x3ee9cd=>{const _0x425437=_0x30a3c9,_0x4a9174=this[_0x425437(0x1b5)](_0x18211d,_0x3ee9cd[_0x425437(0x193)]);return _0x4a9174[_0x425437(0x198)]=_0x3ee9cd[_0x425437(0x198)],_0x4a9174[_0x425437(0x1c7)]=_0x3ee9cd[_0x425437(0x1a3)],_0x4a9174;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1520e7}from'ckeditor5/src/core.js';import{FileRepository as _0x3caf21}from'ckeditor5/src/upload.js';import _0x190b67 from'./uploadcareediting.js';import _0x3d8c2b from'./utils/uploadutils.js';import{getImageUrls as _0x176878}from'./utils/editingutils.js';export default class f extends _0x1520e7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3caf21,_0x190b67];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b6b2e=this['editor'];if(!!!_0x3b6b2e['config']['get']('uploadcare'))return;_0x3b6b2e['plugins']['get'](_0x3caf21)['createUploadAdapter']=_0x4b336c=>new E(_0x4b336c,_0x3b6b2e),_0x3b6b2e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xcbd45b,{imageElement:_0x4a3ffb,data:_0x3ef3b1})=>{_0x3b6b2e['model']['change'](_0x3439f8=>{_0x3439f8['setAttribute']('uploadcareImageId',_0x3ef3b1['uploadcareImageId'],_0x4a3ffb);});});}}class E{constructor(_0x2b0578,_0xaf929){this['loader']=_0x2b0578,this['editor']=_0xaf929,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x46a633=this['editor']['config']['get']('uploadcare.pubkey'),_0x32c21a=await this['loader']['file'];return _0x3d8c2b['upload']({'file':_0x32c21a,'publicKey':_0x46a633,'signal':this['controller']['signal'],'onProgress':_0x3cac5f=>{_0x3cac5f&&_0x3cac5f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3cac5f['value']);}})['then'](async _0x4e2d84=>{const {imageFallbackUrl:_0x24ccb8,imageSources:_0x123dc4}=_0x176878(_0x4e2d84['cdnUrl'],_0x4e2d84['imageInfo']['width']);return{'uploadcareImageId':_0x4e2d84['uuid'],'default':_0x24ccb8,'sources':_0x123dc4};})['catch'](()=>{const _0x187b85=t('Cannot\x20upload\x20file:')+('\x20'+_0x32c21a['name']+'.');return Promise['reject'](_0x187b85);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x399276}from'../uploadcareconfig.js';export function getTranslation(_0x238c3f,_0x1b6731,_0x2ff6cc){const t=_0x238c3f['t'],_0x3cbf97=_0x238c3f['t'];switch(_0x1b6731){case _0x399276['Local']:return{'text':_0x3cbf97('Insert'===_0x2ff6cc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3cbf97('From\x20computer')};case _0x399276['URL']:return{'text':'Insert'===_0x2ff6cc?_0x3cbf97('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3cbf97('Via\x20URL')};case _0x399276['Dropbox']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x399276['Facebook']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x399276['GDrive']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x399276['GPhotos']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x399276['OneDrive']:return{'text':t('Insert'===_0x2ff6cc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b6731;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x1882e1=_0x3d10;function _0x52e5(){var _0x547d92=['getFocusableElement','forwardCycle','27378xMNVrz','3gyChvw','2056936ebFYYm','createCollection','4044164rFlJWe','div','65emfpGZ','bindTemplate','focusTracker','fire','3420056jhUaxV','5610303nhZvqA','focusCycler','236632oEoMYK','2401184rymkYy','true'];_0x52e5=function(){return _0x547d92;};return _0x52e5();}(function(_0x3fd476,_0x173753){var _0x2ae9c7=_0x3d10,_0x205f70=_0x3fd476();while(!![]){try{var _0x3ff53a=-parseInt(_0x2ae9c7(0x150))/0x1+parseInt(_0x2ae9c7(0x151))/0x2*(parseInt(_0x2ae9c7(0x156))/0x3)+-parseInt(_0x2ae9c7(0x147))/0x4+parseInt(_0x2ae9c7(0x149))/0x5*(-parseInt(_0x2ae9c7(0x155))/0x6)+-parseInt(_0x2ae9c7(0x157))/0x7+parseInt(_0x2ae9c7(0x14d))/0x8+parseInt(_0x2ae9c7(0x14e))/0x9;if(_0x3ff53a===_0x173753)break;else _0x205f70['push'](_0x205f70['shift']());}catch(_0x54f6f3){_0x205f70['push'](_0x205f70['shift']());}}}(_0x52e5,0x9ed82));import{FocusTracker as _0xa1c265}from'ckeditor5/src/utils.js';function _0x3d10(_0x1bef8e,_0x2bc87e){var _0x52e51e=_0x52e5();return _0x3d10=function(_0x3d1017,_0x917b0f){_0x3d1017=_0x3d1017-0x147;var _0x1da8c8=_0x52e51e[_0x3d1017];return _0x1da8c8;},_0x3d10(_0x1bef8e,_0x2bc87e);}import{View as _0x3aa596,FocusCycler as _0x32bb3f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x3aa596{constructor(_0x216ee4){var _0x1e1986=_0x3d10;super(_0x216ee4),this[_0x1e1986(0x14b)]=new _0xa1c265(),this[_0x1e1986(0x14f)]=new _0x32bb3f({'focusables':this[_0x1e1986(0x158)](),'focusTracker':this[_0x1e1986(0x14b)]});}[_0x1882e1(0x153)](){var _0x582898=_0x1882e1;return{'tag':_0x582898(0x148),'attributes':{'aria-hidden':_0x582898(0x152),'tabindex':'0'},'on':{'focus':this[_0x582898(0x14a)]['to'](()=>{var _0x2d8c87=_0x582898;this[_0x2d8c87(0x14f)][_0x2d8c87(0x14c)](_0x2d8c87(0x154));})}};}}
|