@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251210.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/CHANGELOG.md +6 -0
- package/LICENSE.md +22 -0
- package/README.md +47 -0
- 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/be.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 +5 -0
- package/ckeditor5-metadata.json +47 -0
- package/dist/index-content.css +5 -0
- package/dist/index-editor.css +265 -0
- package/dist/index.css +315 -0
- package/dist/index.js +25 -0
- 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/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.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 +24 -0
- 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/be.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 +81 -0
- package/src/augmentation.d.ts +30 -0
- package/src/augmentation.js +23 -0
- package/src/index.d.ts +18 -0
- package/src/index.js +23 -0
- package/src/ui/uploadcarecontroller.d.ts +26 -0
- package/src/ui/uploadcarecontroller.js +24 -0
- package/src/ui/uploadcareformview.d.ts +23 -0
- package/src/ui/uploadcareformview.js +23 -0
- package/src/uploadcare.d.ts +48 -0
- package/src/uploadcare.js +23 -0
- package/src/uploadcarecommand.d.ts +38 -0
- package/src/uploadcarecommand.js +23 -0
- package/src/uploadcareconfig.d.ts +280 -0
- package/src/uploadcareconfig.js +23 -0
- package/src/uploadcareediting.d.ts +59 -0
- package/src/uploadcareediting.js +23 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +78 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +25 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +24 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +24 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +32 -0
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +49 -0
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +38 -0
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +47 -0
- package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +23 -0
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
- package/src/uploadcareimageedit.d.ts +32 -0
- package/src/uploadcareimageedit.js +23 -0
- package/src/uploadcareui.d.ts +41 -0
- package/src/uploadcareui.js +23 -0
- package/src/uploadcareuploadadapter.d.ts +39 -0
- package/src/uploadcareuploadadapter.js +23 -0
- package/src/utils/common-translations.d.ts +5 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils/dialogfocusmanagerview.d.ts +29 -0
- package/src/utils/dialogfocusmanagerview.js +23 -0
- package/src/utils/editingutils.d.ts +5 -0
- package/src/utils/editingutils.js +23 -0
- package/src/utils/isancestor.d.ts +8 -0
- package/src/utils/isancestor.js +23 -0
- package/src/utils/uploadutils.d.ts +5 -0
- package/src/utils/uploadutils.js +23 -0
- package/theme/uploadcare-form.css +198 -0
- package/theme/uploadcare-theme.css +20 -0
- package/theme/uploadcareimageedit.css +64 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
import{Plugin as _0x329bae,Command as _0x20b5ee}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x131f66,IconGooglePhotos as _0x3e201d,IconGoogleDrive as _0x1a17a0,IconFacebook as _0x498d1b,IconDropbox as _0x492e6b,IconUploadcareLink as _0x53147d,IconUploadcareImageUpload as _0x13ae20,IconError as _0x418b23,IconUploadcareImageEdit as _0x227974}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3276d3,MenuBarMenuListItemButtonView as _0x38b804,View as _0x5293a8,FocusCycler as _0x5d25fe,Dialog as _0x4de77a,DialogViewPosition as _0x5da77f,SpinnerView as _0x429b12,IconView as _0x3609df,Notification as _0x1b8796}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x553d55,DomEmitterMixin as _0x469110,global as _0x3b0030,getAncestors as _0x433f6d,ObservableMixin as _0x484df6,uid as _0x135ee9,createElement as _0x4e2172}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x400795}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4a8354,info as _0x3fd26e}from'@uploadcare/upload-client';import*as _0x5520b4 from'@uploadcare/file-uploader';var i=function(_0x48e391){return _0x48e391['Local']='local',_0x48e391['URL']='url',_0x48e391['Dropbox']='dropbox',_0x48e391['GDrive']='gdrive',_0x48e391['Facebook']='facebook',_0x48e391['GPhotos']='gphotos',_0x48e391['OneDrive']='onedrive',_0x48e391;}({});function _(_0x573d0c,_0x4e03e6,_0x329ed7){const t=_0x573d0c['t'],_0x3b2dab=_0x573d0c['t'];switch(_0x4e03e6){case i['Local']:return{'text':_0x3b2dab('Insert'===_0x329ed7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b2dab('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x329ed7?_0x3b2dab('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b2dab('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x329ed7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4e03e6;}}class e extends _0x329bae{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a4d45=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fa5ee;for(const _0x264049 in _0x5a4d45){const _0x40b485=_0x264049,_0x343aa0=_0x5a4d45[_0x40b485];if('uploadcareLicenseKeyValid'==_0x343aa0||'uploadcareLicenseKeyInvalid'==_0x343aa0||'uploadcareLicenseKeyExpired'==_0x343aa0||'uploadcareLicenseKeyDomainLimit'==_0x343aa0||'uploadcareLicenseKeyNotAllowed'==_0x343aa0||'uploadcareLicenseKeyEvaluationLimit'==_0x343aa0||'uploadcareLicenseKeyTrialLimit'==_0x343aa0||'uploadcareLicenseKeyUsageLimit'==_0x343aa0){delete _0x5a4d45[_0x40b485],_0x1fa5ee=_0x343aa0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1fa5ee&&_0x5a4d45['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1a1c82}=this,_0x3a283c=_0x1a1c82['commands']['get']('uploadcare');if(!_0x3a283c)return;const _0x1678d4=this['_normalizeConfigSourceList'](_0x1a1c82['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x885eb9,_0x366a5d)=>{const _0x54840d=this['_getIntegrationKey'](_0x366a5d['type']);return _0x885eb9[_0x54840d]||(_0x885eb9[_0x54840d]=[]),_0x885eb9[_0x54840d]['push'](_0x366a5d),_0x885eb9;},{});_0x1a1c82['plugins']['has']('ImageInsertUI')&&_0x1a1c82['commands']['get']('uploadcare')&&Object['entries'](_0x1678d4)['forEach'](([_0xa75991,_0x5bbd9d])=>{_0x1a1c82['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xa75991,'observable':()=>_0x3a283c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5bbd9d),'formViewCreator':()=>this['_createDropdownButtons'](_0x5bbd9d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5bbd9d),'override':'assetManager'!==_0xa75991});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3e9f5b){const {locale:_0x446d0f}=this['editor'];return _0x3e9f5b['map'](_0x10a6b9=>{const _0x48ec93=_(_0x446d0f,_0x10a6b9,'Insert');switch(_0x10a6b9){case i['Local']:return{'icon':_0x13ae20,'type':i['Local'],..._0x48ec93};case i['URL']:return{'icon':_0x53147d,'type':i['URL'],..._0x48ec93};case i['Dropbox']:return{'icon':_0x492e6b,'type':i['Dropbox'],..._0x48ec93};case i['Facebook']:return{'icon':_0x498d1b,'type':i['Facebook'],..._0x48ec93};case i['GDrive']:return{'icon':_0x1a17a0,'type':i['GDrive'],..._0x48ec93};case i['GPhotos']:return{'icon':_0x3e201d,'type':i['GPhotos'],..._0x48ec93};case i['OneDrive']:return{'icon':_0x131f66,'type':i['OneDrive'],..._0x48ec93};}});}['_getIntegrationKey'](_0xb4560b){switch(_0xb4560b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1d19b3,_0x4de118){const _0x2829cb=this['editor'],_0x56d6e8=new _0x1d19b3(_0x2829cb['locale']),_0x5f568f=_0x2829cb['commands']['get']('uploadcare');return _0x56d6e8['bind']('isEnabled')['to'](_0x5f568f),_0x56d6e8['on']('execute',()=>{_0x5f568f['execute'](_0x4de118);}),_0x56d6e8;}['_createToolbarButton'](_0x2d0e3c){const {locale:_0x4edcf4}=this['editor'],_0x4be1fe=this['editor']['plugins']['get']('ImageInsertUI'),_0x2be78e=_0x2d0e3c[0x0],_0x1dd4ef=this['_createButton'](_0x3276d3,_0x2be78e['type']);return _0x1dd4ef['icon']=_0x2be78e['icon'],_0x1dd4ef['bind']('label')['to'](_0x4be1fe,'isImageSelected',_0x46be36=>_(_0x4edcf4,_0x2be78e['type'],_0x46be36?'Replace':'Insert')['text']),_0x1dd4ef['tooltip']=!0x0,_0x1dd4ef;}['_createDropdownButtons'](_0x1f7793){const {locale:_0x5df376}=this['editor'],_0x43fa11=this['editor']['plugins']['get']('ImageInsertUI');return _0x1f7793['map'](_0x1a36f0=>{const _0x1ba44b=this['_createButton'](_0x3276d3,_0x1a36f0['type']);return _0x1ba44b['withText']=!0x0,_0x1ba44b['icon']=_0x1a36f0['icon'],_0x1ba44b['bind']('label')['to'](_0x43fa11,'isImageSelected',_0x63e81a=>_(_0x5df376,_0x1a36f0['type'],_0x63e81a?'Replace':'Insert')['text']),_0x1ba44b;});}['_createMenuBarButtons'](_0x46ff25){return _0x46ff25['map'](_0x20acfe=>{const _0x2bbbde=this['_createButton'](_0x38b804,_0x20acfe['type']);return _0x2bbbde['icon']=_0x20acfe['icon'],_0x2bbbde['label']=_0x20acfe['shortText'],_0x2bbbde;});}}class F extends _0x5293a8{['focusTracker'];['focusCycler'];constructor(_0x2f8550){super(_0x2f8550),this['focusTracker']=new _0x553d55(),this['focusCycler']=new _0x5d25fe({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x4ef2f6,_0x142d23){super(_0x4ef2f6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x142d23}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5e046a,_0x15e013){const _0x2ed706=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2620eb=>_0x2620eb<=_0x15e013)['map'](_0x4345c2=>_0x5e046a['replace'](/\/$/,'')+'/-/resize/'+_0x4345c2+'x/\x20'+_0x4345c2+'w');return{'imageFallbackUrl':_0x5e046a,'imageSources':[{'srcset':_0x2ed706['join'](',\x20'),'sizes':'(max-width:\x20'+_0x15e013+'px)\x20100vw,\x20'+_0x15e013+'px','type':'image/webp'}]};}function S(_0x2722f4,_0x5b3f7f,_0x5c3f6b){const _0x38d1f3=_0x2722f4['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x38d1f3?parseInt(_0x38d1f3[0x1],0xa):_0x5b3f7f,'height':_0x38d1f3?parseInt(_0x38d1f3[0x2],0xa):_0x5c3f6b};}function p(_0x339f4e,_0x29c26b){const _0x311c5b=new(_0x469110())(),_0x270fc9=_0x339f4e['plugins']['get']('ImageUtils'),_0x126141=_0x339f4e['editing']['mapper']['toViewElement'](_0x29c26b),_0x50a761=_0x270fc9['findViewImgElement'](_0x126141),_0x34b084=_0x339f4e['editing']['view']['domConverter']['viewToDom'](_0x50a761),_0x2f23d6=_0x29c26b['getAttribute']('width'),_0x866dcf=_0x29c26b['getAttribute']('height'),_0x57fa61='image-processing';_0x339f4e['editing']['view']['change'](_0x4e24aa=>{_0x4e24aa['addClass'](_0x57fa61,_0x126141),_0x4e24aa['setStyle']('aspect-ratio',_0x2f23d6+'/'+_0x866dcf,_0x50a761);}),_0x311c5b['listenTo'](_0x34b084,'load',()=>{_0x311c5b['stopListening'](_0x34b084,'load'),_0x339f4e['editing']['view']['change'](_0x3e8f43=>{_0x3e8f43['removeClass'](_0x57fa61,_0x126141),_0x3e8f43['removeStyle']('aspect-ratio',_0x50a761);});});}function G(_0x13b3b9){if(Array['isArray'](_0x13b3b9)){const _0x2b04ba=_0x13b3b9['map'](G);return _0x58b6b8=>_0x2b04ba['some'](_0x5eb974=>_0x5eb974(_0x58b6b8));}if('origin'==_0x13b3b9){const _0x41c021=_0x3b0030['window']['location']['origin'];return _0x4f16ea=>new URL(_0x4f16ea,_0x3b0030['document']['baseURI'])['origin']==_0x41c021;}return'function'==typeof _0x13b3b9?_0x13b3b9:_0x13b3b9 instanceof RegExp?_0x526646=>!(!_0x526646['match'](_0x13b3b9)&&!_0x526646['replace'](/^https?:\/\//,'')['match'](_0x13b3b9)):()=>!0x1;}function A(_0x7a1968,_0xe327dd){return _0x433f6d(_0x7a1968['target'])['includes'](_0xe327dd);}class n extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x484df6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x28b2ac,_0x3454e8,_0xff3266){super(),this['_editor']=_0x28b2ac,this['_editing']=_0x3454e8,this['_dialog']=_0x28b2ac['plugins']['get'](_0x4de77a),this['_api']=_0x3454e8['ctxElement']['getAPI'](),this['_type']=_0xff3266,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x49cf03,model:_0x43fcd1}=this['_editor'],_0xa3ba02=_0x43fcd1['document']['selection']['getSelectedElement'](),_0x5919a4=_0xa3ba02&&(_0xa3ba02['is']('element','imageBlock')||_0xa3ba02['is']('element','imageInline'));this['_formView']=new x(_0x49cf03,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x13ae20,'title':_(_0x49cf03,this['_type'],_0x5919a4?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5da77f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc39257=>!A(_0xc39257,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x565a0e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4e739a=>{const _0xfa3e4a=_0x565a0e['length'];for(const _0x77fd78 of _0x565a0e){const _0x5db16e=_0x77fd78===_0x565a0e[_0xfa3e4a-0x1],{cdnUrl:_0x107ed8,fileInfo:_0x27b694}=_0x77fd78;if(!_0x107ed8||!_0x27b694)continue;const {width:_0x30eb82,height:_0xe34c06}=_0x27b694['imageInfo'],_0x4d88d8=S(_0x107ed8,_0x30eb82,_0xe34c06),_0x46d8ab=C(_0x107ed8,_0x4d88d8['width']),_0x555c38={'id':_0x27b694['uuid'],'type':'image','attributes':{'imageDimension':_0x4d88d8,..._0x46d8ab}};this['_insertAsset'](_0x555c38,_0x5db16e,_0x4e739a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5519de=>{'idle'===_0x5519de['detail']['status']&&!_0x5519de['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4fe592,_0x19cdcb,_0xda8e5){const _0x436c2e=this['_editor']['model']['document']['selection'],_0x3d8fa6=_0x436c2e['getSelectedElement'](),_0x1a497b=!(!_0x3d8fa6||!_0x3d8fa6['is']('element','imageInline'));_0xda8e5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4fe592,_0x1a497b),_0x19cdcb||_0xda8e5['setSelection'](_0x436c2e['getLastPosition']());}['_insertImage'](_0x46e3bf,_0x1124aa){const _0x3fdf2a=this['_editor'],{imageDimension:_0x216be8,imageFallbackUrl:_0x39bf79,imageSources:_0x12e07e}=_0x46e3bf['attributes'];_0x3fdf2a['execute']('insertImage',{'imageType':_0x1124aa?'imageInline':null,'source':{'uploadcareImageId':_0x46e3bf['id'],'src':_0x39bf79,'sources':_0x12e07e,..._0x216be8}});}}class w extends _0x20b5ee{['_editing'];['_controller']=null;static get['requires'](){return[_0x4de77a,o];}constructor(_0x57e9e3){super(_0x57e9e3),this['_editing']=_0x57e9e3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x161829){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x161829);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x566a80,..._0x6a0c3f}){return _0x4a8354(_0x566a80,_0x6a0c3f);}static['getInfo'](_0x1d7dca,_0x24d203){return _0x3fd26e(_0x1d7dca,_0x24d203);}}class f extends _0x329bae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x400795,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x18ba40=this['editor'];if(!!!_0x18ba40['config']['get']('uploadcare'))return;_0x18ba40['plugins']['get'](_0x400795)['createUploadAdapter']=_0x5ce4bd=>new k(_0x5ce4bd,_0x18ba40),_0x18ba40['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x297087,{imageElement:_0x5ae603,data:_0x62d584})=>{_0x18ba40['model']['change'](_0x5ae657=>{_0x5ae657['setAttribute']('uploadcareImageId',_0x62d584['uploadcareImageId'],_0x5ae603);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3df5fb,_0x5e8c1e){this['loader']=_0x3df5fb,this['editor']=_0x5e8c1e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x56c42e=await this['loader']['file'];return j['upload']({'file':_0x56c42e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x955765=>{_0x955765&&_0x955765['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x955765['value']);}})['then'](async _0x29a904=>{const {imageFallbackUrl:_0xec78f5,imageSources:_0x5b5e17}=C(_0x29a904['cdnUrl'],_0x29a904['imageInfo']['width']);return{'uploadcareImageId':_0x29a904['uuid'],'default':_0xec78f5,'sources':_0x5b5e17};})['catch'](()=>{const _0xc05ba2=t('Cannot\x20upload\x20file:')+('\x20'+_0x56c42e['name']+'.');return Promise['reject'](_0xc05ba2);});}['abort'](){this['controller']['abort']();}}class o extends _0x329bae{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4de77a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x36bfe7){super(_0x36bfe7),this['ucContextId']=_0x135ee9();}['init'](){const _0x382bfa=this['editor'];_0x382bfa['commands']['add']('uploadcare',new w(_0x382bfa));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x5ba34e=_0x3b0030['document']['querySelector']('input[uploadcare-file-input]');_0x5ba34e&&_0x5ba34e['remove']();}),async function(_0xf73f1){const _0x5d5915=_0xa6a349([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x15e168=0x535f8c3a,_0x25c079=0x5358f7ba^_0x15e168,_0x2da524=window[_0xa6a349([0x44,0x61,0x74,0x65])][_0xa6a349([0x6e,0x6f,0x77])](),_0x180ab6=_0xf73f1[_0xa6a349([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bcafe=new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2efef7=>{_0x180ab6[_0xa6a349([0x6f,0x6e,0x63,0x65])](_0xa6a349([0x72,0x65,0x61,0x64,0x79]),_0x2efef7);}),_0x2191b6={[_0xa6a349([0x6b,0x74,0x79])]:_0xa6a349([0x45,0x43]),[_0xa6a349([0x75,0x73,0x65])]:_0xa6a349([0x73,0x69,0x67]),[_0xa6a349([0x63,0x72,0x76])]:_0xa6a349([0x50,0x2d,0x32,0x35,0x36]),[_0xa6a349([0x78])]:_0xa6a349([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]),[_0xa6a349([0x79])]:_0xa6a349([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]),[_0xa6a349([0x61,0x6c,0x67])]:_0xa6a349([0x45,0x53,0x32,0x35,0x36])},_0x1ed9dd=_0x180ab6[_0xa6a349([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa6a349([0x67,0x65,0x74])](_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d12e6(){let _0x3ac9ba,_0x3d762e=null,_0x252344=null;try{if(_0x1ed9dd==_0xa6a349([0x47,0x50,0x4c]))return _0xa6a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ac9ba=_0x3fc24f(),!_0x3ac9ba)return _0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ac9ba[_0xa6a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x252344=_0x1f7db8(_0x3ac9ba[_0xa6a349([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ac9ba[_0xa6a349([0x6a,0x74,0x69])])),await _0x305bc4()?_0x4d6ccb()?_0x5e23d9()?_0xa6a349([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x107b34()?(_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d762e=_0x2f844c(_0xa6a349([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa6a349([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d762e=_0x2f844c(_0xa6a349([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x273860()):_0xa6a349([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa6a349([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa6a349([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e23d9(){const _0x6f5cad=[_0xa6a349([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa6a349([0x74,0x72,0x69,0x61,0x6c])][_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2da524/0x3e8:0xe10*_0x25c079;return _0x3ac9ba[_0xa6a349([0x65,0x78,0x70])]<_0x6f5cad;}function _0x4d6ccb(){const _0x28f009=_0x3ac9ba[_0xa6a349([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f009&&(!!_0x28f009[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x2a]))||!!_0x28f009[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x55,0x50,0x4c,0x43])));}function _0x107b34(){const _0x18fbca=_0x3ac9ba[_0xa6a349([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18fbca||0x0==_0x18fbca[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f98d7}=new URL(window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18fbca[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f98d7))return!0x0;const _0x3f973e=_0x2f98d7[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e]));return _0x18fbca[_0xa6a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbeeb16=>_0xbeeb16[_0xa6a349([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa6a349([0x2a])))[_0xa6a349([0x6d,0x61,0x70])](_0x3fcb0a=>_0x3fcb0a[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e])))[_0xa6a349([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40e868=>_0x40e868[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f973e[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6a349([0x6d,0x61,0x70])](_0x46e9d4=>Array(_0x3f973e[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46e9d4[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa6a349([0x66,0x69,0x6c,0x6c])](_0x46e9d4[0x0]===_0xa6a349([0x2a])?_0xa6a349([0x2a]):'')[_0xa6a349([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46e9d4))[_0xa6a349([0x73,0x6f,0x6d,0x65])](_0x5152ee=>_0x3f973e[_0xa6a349([0x65,0x76,0x65,0x72,0x79])]((_0x537622,_0x25c31e)=>_0x5152ee[_0x25c31e]===_0x537622||_0x5152ee[_0x25c31e]===_0xa6a349([0x2a])));}function _0x273860(){return _0x3d762e&&_0x252344?new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x527829,_0x5c6e11)=>{_0x3d762e[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x527829,_0x5c6e11),_0x252344[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x47c326=>{_0x47c326!=_0xa6a349([0x56,0x61,0x6c,0x69,0x64])&&_0x527829(_0x47c326);},_0x5c6e11);}):_0x3d762e||_0x252344||_0xa6a349([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f7db8(_0x424be8,_0x34a8c8){return new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372604=>{if(_0x4f8b89())return _0x372604(_0xa6a349([0x56,0x61,0x6c,0x69,0x64]));_0x5a4906(),_0x180ab6[_0xa6a349([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31e2ce=!0x1;const _0x3d12a3=_0x135ee9();function _0x2a38a4(_0x3a1000){return!!_0x3a1000&&(typeof _0x3a1000===_0xa6a349([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a1000===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a1000[_0xa6a349([0x74,0x68,0x65,0x6e])]===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a1000[_0xa6a349([0x63,0x61,0x74,0x63,0x68])]===_0xa6a349([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1635c2(_0x35064e){_0x22566f(_0x35064e)[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x3e3948=>{if(!_0x3e3948||_0x3e3948[_0xa6a349([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa6a349([0x6f,0x6b]))return _0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b9491(_0x5d422b(_0x3d12a3+_0x34a8c8))!=_0x3e3948[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa6a349([0x56,0x61,0x6c,0x69,0x64]);})[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x8a0588=>(_0x5c3ab7(),_0x8a0588),()=>{const _0x436609=_0x590bf2();return null==_0x436609?(_0x5c3ab7(),_0xa6a349([0x56,0x61,0x6c,0x69,0x64])):_0xa6a349(_0x2da524-_0x436609>(0x7753083a^_0x15e168)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x372604)[_0xa6a349([0x63,0x61,0x74,0x63,0x68])](()=>{_0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8efbf=0x536962ba^_0x15e168;function _0x5c3ab7(){const _0x2b3225=_0xa6a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9491(_0x5d422b(_0x424be8)),_0xda2764=_0x34e3bb(_0x2b9491(window[_0xa6a349([0x4d,0x61,0x74,0x68])][_0xa6a349([0x63,0x65,0x69,0x6c])](_0x2da524/_0x8efbf)));window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6a349([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b3225,_0xda2764);}function _0x590bf2(){const _0xf196d0=_0xa6a349([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b9491(_0x5d422b(_0x424be8)),_0x4a80c4=window[_0xa6a349([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa6a349([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf196d0);return _0x4a80c4?window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34e3bb(_0x4a80c4),0x10)*_0x8efbf:null;}function _0x22566f(_0x586663){return new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26aa59,_0x247974)=>{_0x586663[_0xa6a349([0x74,0x68,0x65,0x6e])](_0x26aa59,_0x247974),window[_0xa6a349([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x247974,0x535e58fa^_0x15e168);});}}_0x180ab6[_0xa6a349([0x6f,0x6e])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa0b951,_0x1d3131)=>{if(_0x1d3131[0x0]!=_0x424be8)return _0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d3131[0x1]={..._0x1d3131[0x1],[_0xa6a349([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d12a3};},{[_0xa6a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6a349([0x68,0x69,0x67,0x68])}),_0x180ab6[_0xa6a349([0x6f,0x6e])](_0xa6a349([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13fc4a=>{_0x2a38a4(_0x13fc4a[_0xa6a349([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31e2ce=!0x0,_0x1635c2(_0x13fc4a[_0xa6a349([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa6a349([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa6a349([0x6c,0x6f,0x77])}),_0x2bcafe[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>{_0x31e2ce||_0x372604(_0xa6a349([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f8b89(){return _0x180ab6[_0xa6a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6a349([0x76,0x69,0x65,0x77])][_0xa6a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa6a349([0x61,0x75,0x74,0x6f]);}function _0x5a4906(){_0x180ab6[_0xa6a349([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa6a349([0x76,0x69,0x65,0x77])][_0xa6a349([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa6a349([0x61,0x75,0x74,0x6f]);}}function _0x2f844c(_0x334590){const _0x410c96=[new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1704c3=>setTimeout(_0x1704c3,0x5356b2f6^_0x15e168)),_0x2bcafe[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12fb46=>{let _0x29c781=0x0;_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x6f,0x6e])](_0xa6a349([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e436,_0x5743ab)=>{_0x5743ab[0x0][_0xa6a349([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29c781++,_0x29c781==(0x535f8dc2^_0x15e168)&&(_0x12fb46(),_0x30e436[_0xa6a349([0x6f,0x66,0x66])]());});}))];return window[_0xa6a349([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa6a349([0x72,0x61,0x63,0x65])](_0x410c96)[_0xa6a349([0x74,0x68,0x65,0x6e])](()=>_0x334590);}async function _0x2ff31f(){await _0x2bcafe,_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x172889,_0x180ab6[_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c])][_0xa6a349([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x172889,_0x180ab6[_0xa6a349([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa6a349([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e1b99(_0x33ee8c){const _0x1f6031=_0x64a97c();_0x180ab6[_0x1f6031]=_0xa6a349([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33ee8c,_0x33ee8c!=_0xa6a349([0x56,0x61,0x6c,0x69,0x64])&&_0x2ff31f();}function _0x64a97c(){const _0x488d09=window[_0xa6a349([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa6a349([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa6a349([0x6e,0x6f,0x77])]())[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa6a349([0x2e]),'');let _0x50c8b8=_0xa6a349([0x68]);for(let _0x448958=0x0;_0x448958<_0x488d09[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x448958+=0x2){let _0x510740=window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x488d09[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x448958,_0x448958+0x2));_0x510740>=_0x5d5915[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x510740-=_0x5d5915[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50c8b8+=_0x5d5915[_0x510740];}return _0x50c8b8;}function _0x3fc24f(){const _0x10c6f3=_0x1ed9dd[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e]));if(0x3!=_0x10c6f3[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x376f94(_0x10c6f3[0x1]);function _0x376f94(_0x21b40b){const _0x3f2cb5=_0x51932c(_0x21b40b);return _0x3f2cb5&&_0x55bd6b()?_0x3f2cb5:null;function _0x55bd6b(){const _0x40545d=_0x3f2cb5[_0xa6a349([0x6a,0x74,0x69])],_0x21d8b8=window[_0xa6a349([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40545d[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40545d[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc877={..._0x3f2cb5,[_0xa6a349([0x6a,0x74,0x69])]:_0x40545d[_0xa6a349([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40545d[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc877[_0xa6a349([0x76,0x63])],_0x5d422b(_0xc877)==_0x21d8b8;}}}async function _0x305bc4(){let _0x3ea6ea=!0x0;try{const _0x3c6283=_0x1ed9dd[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])](_0xa6a349([0x2e])),[_0x17879c,_0x403ee2,_0x2a08a5]=_0x3c6283;return _0x33b4b7(_0x17879c),await _0x304b28(_0x17879c,_0x403ee2,_0x2a08a5),_0x3ea6ea;}catch{return!0x1;}function _0x33b4b7(_0x5f3ccc){const _0x54a6a4=_0x51932c(_0x5f3ccc);_0x54a6a4&&_0x54a6a4[_0xa6a349([0x61,0x6c,0x67])]==_0xa6a349([0x45,0x53,0x32,0x35,0x36])||(_0x3ea6ea=!0x1);}async function _0x304b28(_0x5417ff,_0x21198f,_0x529cd8){const _0x50998f=window[_0xa6a349([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa6a349([0x66,0x72,0x6f,0x6d])](_0xce6845(_0x529cd8),_0x12e077=>_0x12e077[_0xa6a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27e736=new window[(_0xa6a349([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa6a349([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5417ff+_0xa6a349([0x2e])+_0x21198f),_0x2c63a1=window[_0xa6a349([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa6a349([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c63a1)return;const _0xe3298d=await _0x2c63a1[_0xa6a349([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa6a349([0x6a,0x77,0x6b]),_0x2191b6,{[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x45,0x43,0x44,0x53,0x41]),[_0xa6a349([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa6a349([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c63a1[_0xa6a349([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x45,0x43,0x44,0x53,0x41]),[_0xa6a349([0x68,0x61,0x73,0x68])]:{[_0xa6a349([0x6e,0x61,0x6d,0x65])]:_0xa6a349([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe3298d,_0x50998f,_0x27e736)||(_0x3ea6ea=!0x1);}}function _0x51932c(_0x24a88d){return _0x24a88d[_0xa6a349([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa6a349([0x65,0x79]))?JSON[_0xa6a349([0x70,0x61,0x72,0x73,0x65])](_0xce6845(_0x24a88d)):null;}function _0xce6845(_0xd30ca4){return window[_0xa6a349([0x61,0x74,0x6f,0x62])](_0xd30ca4[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa6a349([0x2b]))[_0xa6a349([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa6a349([0x2f])));}function _0x5d422b(_0xa3370b){let _0x644714=0x1505;function _0x185dbd(_0x5c4fa0){for(let _0x2538d4=0x0;_0x2538d4<_0x5c4fa0[_0xa6a349([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2538d4++){const _0x27d28f=_0x5c4fa0[_0xa6a349([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2538d4);_0x644714=(_0x644714<<0x5)+_0x644714+_0x27d28f,_0x644714&=_0x644714;}}function _0x33365b(_0x38b765){Array[_0xa6a349([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38b765)?_0x38b765[_0xa6a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33365b):_0x38b765&&typeof _0x38b765==_0xa6a349([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa6a349([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38b765)[_0xa6a349([0x73,0x6f,0x72,0x74])]()[_0xa6a349([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15034f,_0x34c44c])=>{_0x185dbd(_0x15034f),_0x33365b(_0x34c44c);}):_0x185dbd(window[_0xa6a349([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38b765));}return _0x33365b(_0xa3370b),_0x644714>>>0x0;}function _0x2b9491(_0x3bcc63){return _0x3bcc63[_0xa6a349([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa6a349([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa6a349([0x30]));}function _0x34e3bb(_0xa44d04){return _0xa44d04[_0xa6a349([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa6a349([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa6a349([0x6a,0x6f,0x69,0x6e])]('');}function _0x172889(){}function _0xa6a349(_0x4d56bf){return _0x4d56bf['map'](_0x5984bb=>String['fromCharCode'](_0x5984bb))['join']('');}_0x4e1b99(await _0x1d12e6());}(this);}['_initSchema'](){const _0x5146e3=this['editor']['model']['schema'];_0x5146e3['isRegistered']('imageBlock')&&_0x5146e3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5146e3['isRegistered']('imageInline')&&_0x5146e3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2b7a54=this['editor'];_0x2b7a54['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2b7a54['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x137a7e=>_0x137a7e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x427e68=_0x2b7a54['commands']['get']('replaceImageSource');_0x427e68&&this['listenTo'](_0x427e68,'cleanupImage',(_0x1e1956,[_0x56bbd4,_0x3475e4])=>{_0x56bbd4['removeAttribute']('uploadcareImageId',_0x3475e4);});}['_initConfig'](){const _0x4a5785=this['editor']['config']['get']('uploadcare.uploader')||{},_0x54b406=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4e2172(_0x3b0030['document'],'uc-config',{..._0x4a5785,'pubkey':_0x54b406,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\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'}),this['_configElement']['iconHrefResolver']=_0x4b449e=>{if('closeMax'==_0x4b449e)return'#uc-icon-arrow-down';},_0x3b0030['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4e2172(_0x3b0030['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b0030['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x91c715=this['editor']['commands']['get']('insertImage');_0x91c715&&this['listenTo'](_0x91c715,'execute',()=>{const _0x28c93b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28c93b&&_0x28c93b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x28c93b);});});const _0x2b6c84=this['editor']['commands']['get']('uploadcareImageReplace');_0x2b6c84&&this['listenTo'](_0x2b6c84,'execute',()=>{const _0x50bd5f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x50bd5f&&_0x50bd5f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x50bd5f);});});}}class tt extends _0x329bae{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe9d80c){super(_0xe9d80c),_0xe9d80c['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5520b4['defineComponents'](_0x5520b4),this['_defineLocale']();}['_defineLocale'](){const _0x1ff726=this['editor']['config']['get']('uploadcare.locale'),_0x21eb55=this['editor']['locale']['contentLanguage'];_0x1ff726&&_0x5520b4['defineLocale'](_0x21eb55,_0x1ff726);}}class ii extends _0x5293a8{constructor(_0x5c628d){super(_0x5c628d);const t=_0x5c628d['t'],_0x2b47e9=this['bindTemplate'],_0x3b7b5d=new _0x429b12();_0x3b7b5d['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':[_0x3b7b5d,{'text':_0x2b47e9['to']('imageUploadProgress',_0x502e81=>t('Loading\x20image...')+'\x20('+(_0x502e81||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'}]}]}]});}}class ti extends _0x5293a8{constructor(_0x46823e){super(_0x46823e);const t=_0x46823e['t'];this['set']('errorType',null);const _0x4424be=new _0x3276d3(_0x46823e);_0x4424be['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4424be['withText']=!0x0,_0x4424be['class']='ck-button-action',_0x4424be['on']('execute',()=>{this['fire']('retry');}),_0x4424be['bind']('isVisible')['to'](this,'errorType',_0x55eb30=>'NotFound'!==_0x55eb30);const _0x281a7c=new _0x3609df();_0x281a7c['content']=_0x418b23,_0x281a7c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49f2be=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':[_0x281a7c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49f2be['to']('errorType',_0xde3763=>t('NotFound'!==_0xde3763?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4424be]},{'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'}]}]}]});}}class ei extends _0x5293a8{constructor(_0x27868f,_0x91e325){super(_0x27868f);const _0x474ceb=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x91e325,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x474ceb['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x570ee2,_0x279342,_0x221b51){super(_0x570ee2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x570ee2),this['_errorView']=new ti(_0x570ee2),this['_editingView']=new ei(_0x570ee2,_0x221b51),this['_focusableView']=new _0x5293a8(_0x570ee2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x279342),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x81a16f=>{this['_addUploadcareImageEditorListeners'](_0x81a16f);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x6813fc,_0x26860b){const _0x419bd9='uc-cloud-image-editor',_0x593d5d=_0x6813fc['querySelector'](_0x419bd9);if(_0x593d5d)return _0x26860b(_0x593d5d);const _0x89f8eb=new MutationObserver(_0x278547=>{const _0x3a68dc=_0x278547['filter'](_0x3d69fb=>_0x3d69fb['target']===_0x6813fc&&_0x3d69fb['addedNodes']['length']>0x0&&_0x3d69fb['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x419bd9);_0x3a68dc['length']&&(_0x89f8eb['disconnect'](),_0x26860b(_0x3a68dc[0x0]['addedNodes'][0x0]));});_0x89f8eb['observe'](_0x6813fc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x8f0cf3){_0x8f0cf3['addEventListener']('apply',_0x36ca19=>{this['fire']('apply',{'imageSrc':_0x36ca19['detail']['cdnUrl']});}),_0x8f0cf3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x484df6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d1f67,_0x4d2eab,_0x17dc96){super(),this['_editor']=_0x5d1f67,this['_dialog']=_0x4d2eab,this['_imageElement']=_0x17dc96,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 _0x37450f=this['_imageElement'],_0x37fecc=_0x37450f['getAttribute']('uploadcareImageId'),_0x389e08=_0x37450f['getAttribute']('src');if(_0x37fecc)await this['_loadImageInfo'](_0x37fecc,_0x389e08);else{if(this['_imageCache']['has'](_0x389e08)){const _0xe11a4a=this['_imageCache']['get'](_0x389e08);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe11a4a['url'],this['imageDimension']=_0xe11a4a['dimension'],this['imageId']=_0xe11a4a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x57b63c}=this['_editor'],t=_0x57b63c['t'],_0x41e611=new X(_0x57b63c,this['imageStatus'],this['_attributes']);_0x41e611['bind']('status')['to'](this,'imageStatus'),_0x41e611['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41e611['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41e611['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41e611,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x227974,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41e611,'position':_0x5da77f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41e611['focus']();},'onHide':()=>{_0x41e611['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ee439=>!A(_0x3ee439,_0x41e611['element'])}});}['_loadImageInfo'](_0xd1d5f,_0x41d474){return j['getInfo'](_0xd1d5f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1cc5d9=>{const {width:_0x177f94,height:_0x19cb2a}=_0x1cc5d9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41d474,this['imageDimension']={'width':_0x177f94,'height':_0x19cb2a},this['imageId']=_0xd1d5f;})['catch'](_0x1e6e29=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e6e29['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x138838,_0x3f8d7a){return this['_getImageAsFile'](_0x138838)['then'](_0x463a1a=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3f8d7a['signal'],'file':_0x463a1a,'onProgress':_0x306a74=>{_0x306a74&&_0x306a74['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x306a74['value']));}}))['then'](_0x287097=>{const {width:_0x293084,height:_0x77aff4}=_0x287097['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x287097['cdnUrl'],this['imageDimension']={'width':_0x293084,'height':_0x77aff4},this['imageId']=_0x287097['uuid'],this['imageUploadProgress']=null;const _0x217b25=_0x138838['getAttribute']('src');this['_imageCache']['set'](_0x217b25,{'id':_0x287097['uuid'],'url':_0x287097['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e7818=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e7818['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5b1886,_0x55a13d){_0x5b1886['on']('apply',(_0x399c7e,_0x47c982)=>{this['_replaceImage'](_0x55a13d,_0x47c982['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5b1886['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5b1886['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x325c6d,_0x432030,_0x981eb9){const _0x3f019d=this['_editor'],{width:_0x2663fe,height:_0xdb6795}=S(_0x432030,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x310e06,imageSources:_0x548b68}=C(_0x432030,_0x2663fe);_0x3f019d['model']['change'](_0x2eaf43=>{if('$graveyard'===_0x325c6d['root']['rootName']){_0x3f019d['execute']('insertImage',{'imageType':_0x325c6d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x325c6d['getAttributes']()),'uploadcareImageId':_0x981eb9,'src':_0x310e06,'sources':_0x548b68,'width':_0x2663fe,'height':_0xdb6795}});const _0x23c9fd=_0x325c6d['getChildren']();_0x325c6d=_0x3f019d['model']['document']['selection']['getSelectedElement']();for(const _0x59eda5 of _0x23c9fd)_0x2eaf43['append'](_0x2eaf43['cloneElement'](_0x59eda5),_0x325c6d);}else _0x2eaf43['setSelection'](_0x325c6d,'on'),_0x3f019d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x325c6d['getAttributes']()),'uploadcareImageId':_0x981eb9,'src':_0x310e06,'sources':_0x548b68,'width':_0x2663fe,'height':_0xdb6795},_0x325c6d);_0x2eaf43['setSelection'](_0x325c6d,'on');});}async['_getImageAsFile'](_0x24c10a){const _0x5b843d=_0x3b0030['window'],_0x4a77e3=_0x3b0030['document']['location']['href'],_0x5ea35c=new _0x5b843d['URL'](_0x24c10a['getAttribute']('src'),_0x4a77e3);if('data:'===_0x5ea35c['protocol']){const _0x256e7c=_0x5ea35c['href']['split'](','),_0x2d1dd9=_0x256e7c[0x0]['match'](/:(.*?);/)[0x1],_0xf66235=_0x2d1dd9['split']('/')[0x1],_0x5bc602=_0x5b843d['atob'](_0x256e7c[_0x256e7c['length']-0x1]);let _0x74cb86=_0x5bc602['length'];const _0x177b2d=new _0x5b843d['Uint8Array'](_0x74cb86);for(;_0x74cb86--;)_0x177b2d[_0x74cb86]=_0x5bc602['charCodeAt'](_0x74cb86);return new _0x5b843d['File']([_0x177b2d],'image.'+_0xf66235,{'type':_0x2d1dd9});}const _0x5565ce=_0x5ea35c['href']['split']('/'),_0x20f375=_0x5565ce[_0x5565ce['length']-0x1],_0x40adc8=_0x20f375['split']('.')[0x1];return _0x5b843d['fetch'](_0x5ea35c['href'])['then'](_0x2879b0=>_0x2879b0['clone']()['blob']())['then'](_0x216dcc=>new _0x5b843d['File']([_0x216dcc],_0x20f375,{'type':'image/'+_0x40adc8}));}}class O extends _0x20b5ee{['imageEditController'];static get['requires'](){return[_0x4de77a];}['_isEditable'];constructor(_0x5e6b04){super(_0x5e6b04),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x500d33){const _0x5a96b6=G(_0x500d33);return _0x50090e=>!(!_0x50090e||!_0x50090e['is']('element','imageBlock')&&!_0x50090e['is']('element','imageInline'))&&(!!_0x50090e['hasAttribute']('uploadcareImageId')||!!_0x50090e['hasAttribute']('src')&&_0x5a96b6(_0x50090e['getAttribute']('src')));}(_0x5e6b04['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4eaaf1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4eaaf1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x48b8bc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48b8bc&&(_0x48b8bc['is']('element','imageBlock')||_0x48b8bc['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4de77a),_0x48b8bc),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x20b5ee{['refresh'](){const _0x15af73=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x15af73&&(_0x15af73['is']('element','imageBlock')||_0x15af73['is']('element','imageInline')));}['execute'](_0x327cb8){const _0x6def35=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4d91b1=>{_0x4d91b1['setAttributes'](_0x327cb8,_0x6def35),_0x4d91b1['removeAttribute']('srcset',_0x6def35),_0x4d91b1['removeAttribute']('sizes',_0x6def35);});}}class m extends _0x329bae{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1b8796,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25b608}=this;_0x25b608['commands']['add']('uploadcareImageEdit',new O(_0x25b608)),_0x25b608['commands']['add']('uploadcareImageReplace',new R(_0x25b608));}}class g extends _0x329bae{['_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 _0x19cef1=this['editor'];_0x19cef1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x121c67=>{const _0x1c38fd=_0x19cef1['commands']['get']('uploadcareImageEdit'),_0x5b5be6=new _0x3276d3(_0x121c67),t=_0x121c67['t'];return _0x5b5be6['set']({'icon':_0x227974,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5b5be6['bind']('isEnabled')['to'](_0x1c38fd),_0x5b5be6['bind']('isOn')['to'](_0x1c38fd,'isActive'),this['listenTo'](_0x5b5be6,'execute',()=>{_0x19cef1['execute']('uploadcareImageEdit'),_0x19cef1['editing']['view']['focus']();}),_0x5b5be6;}),this['_initConfig']();}['_initConfig'](){const _0x60c5c5=_0x4e2172(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x60c5c5),this['listenTo'](this['editor'],'destroy',()=>{_0x60c5c5['remove']();});}}class et extends _0x329bae{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x8e6e49=>0x1!=_0x8e6e49}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x5c1b09=>{const {af:{dictionary:_0x4697a2,getPluralForm:_0x40994b}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x24b452=>0x1!=_0x24b452}};_0x5c1b09['af']||={'dictionary':{},'getPluralForm':null},_0x5c1b09['af']['dictionary']=Object['assign'](_0x5c1b09['af']['dictionary'],_0x4697a2),_0x5c1b09['af']['getPluralForm']=_0x40994b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x1d140f=>0x0==_0x1d140f?0x0:0x1==_0x1d140f?0x1:0x2==_0x1d140f?0x2:_0x1d140f%0x64>=0x3&&_0x1d140f%0x64<=0xa?0x3:_0x1d140f%0x64>=0xb?0x4:0x5}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x4a7897=>{const {ar:{dictionary:_0x331ef5,getPluralForm:_0x8f3dc2}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x31c1c6=>0x0==_0x31c1c6?0x0:0x1==_0x31c1c6?0x1:0x2==_0x31c1c6?0x2:_0x31c1c6%0x64>=0x3&&_0x31c1c6%0x64<=0xa?0x3:_0x31c1c6%0x64>=0xb?0x4:0x5}};_0x4a7897['ar']||={'dictionary':{},'getPluralForm':null},_0x4a7897['ar']['dictionary']=Object['assign'](_0x4a7897['ar']['dictionary'],_0x331ef5),_0x4a7897['ar']['getPluralForm']=_0x8f3dc2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x281780=>0x1!=_0x281780}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0xfdabd0=>{const {ast:{dictionary:_0x886464,getPluralForm:_0x3f9b78}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x50a413=>0x1!=_0x50a413}};_0xfdabd0['ast']||={'dictionary':{},'getPluralForm':null},_0xfdabd0['ast']['dictionary']=Object['assign'](_0xfdabd0['ast']['dictionary'],_0x886464),_0xfdabd0['ast']['getPluralForm']=_0x3f9b78;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xc716b5=>0x1!=_0xc716b5}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x264c55=>{const {az:{dictionary:_0x2399c1,getPluralForm:_0x22496f}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x491106=>0x1!=_0x491106}};_0x264c55['az']||={'dictionary':{},'getPluralForm':null},_0x264c55['az']['dictionary']=Object['assign'](_0x264c55['az']['dictionary'],_0x2399c1),_0x264c55['az']['getPluralForm']=_0x22496f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4006e2=>_0x4006e2%0xa==0x1&&_0x4006e2%0x64!=0xb?0x0:_0x4006e2%0xa>=0x2&&_0x4006e2%0xa<=0x4&&(_0x4006e2%0x64<0xa||_0x4006e2%0x64>=0x14)?0x1:0x2}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x5892c4=>{const {be:{dictionary:_0x2e1c93,getPluralForm:_0x5ddc2b}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x36d2ca=>_0x36d2ca%0xa==0x1&&_0x36d2ca%0x64!=0xb?0x0:_0x36d2ca%0xa>=0x2&&_0x36d2ca%0xa<=0x4&&(_0x36d2ca%0x64<0xa||_0x36d2ca%0x64>=0x14)?0x1:0x2}};_0x5892c4['be']||={'dictionary':{},'getPluralForm':null},_0x5892c4['be']['dictionary']=Object['assign'](_0x5892c4['be']['dictionary'],_0x2e1c93),_0x5892c4['be']['getPluralForm']=_0x5ddc2b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x563ea2=>0x1!=_0x563ea2}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x4ad4e2=>{const {bg:{dictionary:_0x59dc92,getPluralForm:_0x1bc986}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3b8166=>0x1!=_0x3b8166}};_0x4ad4e2['bg']||={'dictionary':{},'getPluralForm':null},_0x4ad4e2['bg']['dictionary']=Object['assign'](_0x4ad4e2['bg']['dictionary'],_0x59dc92),_0x4ad4e2['bg']['getPluralForm']=_0x1bc986;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|