@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260128.0 → 0.0.0-nightly-next-20260128.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/ckeditor5-metadata.json +2 -2
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
- package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
- package/{src → dist}/uploadcare.d.ts +1 -1
- package/{src → dist}/uploadcarecommand.d.ts +2 -2
- package/{src → dist}/uploadcareconfig.d.ts +1 -1
- package/{src → dist}/uploadcareediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/{src → dist}/uploadcareimageedit.d.ts +1 -1
- package/{src → dist}/uploadcareui.d.ts +1 -1
- package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
- package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/package.json +23 -46
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/build/uploadcare.js +0 -5
- package/lang/contexts.json +0 -24
- package/lang/translations/af.po +0 -100
- package/lang/translations/ar.po +0 -100
- package/lang/translations/ast.po +0 -100
- package/lang/translations/az.po +0 -100
- package/lang/translations/be.po +0 -100
- package/lang/translations/bg.po +0 -100
- package/lang/translations/bn.po +0 -100
- package/lang/translations/bs.po +0 -100
- package/lang/translations/ca.po +0 -100
- package/lang/translations/cs.po +0 -100
- package/lang/translations/da.po +0 -100
- package/lang/translations/de-ch.po +0 -100
- package/lang/translations/de.po +0 -100
- package/lang/translations/el.po +0 -100
- package/lang/translations/en-au.po +0 -100
- package/lang/translations/en-gb.po +0 -100
- package/lang/translations/en.po +0 -100
- package/lang/translations/eo.po +0 -100
- package/lang/translations/es-co.po +0 -100
- package/lang/translations/es.po +0 -100
- package/lang/translations/et.po +0 -100
- package/lang/translations/eu.po +0 -100
- package/lang/translations/fa.po +0 -100
- package/lang/translations/fi.po +0 -100
- package/lang/translations/fr.po +0 -100
- package/lang/translations/gl.po +0 -100
- package/lang/translations/gu.po +0 -100
- package/lang/translations/he.po +0 -100
- package/lang/translations/hi.po +0 -100
- package/lang/translations/hr.po +0 -100
- package/lang/translations/hu.po +0 -100
- package/lang/translations/hy.po +0 -100
- package/lang/translations/id.po +0 -100
- package/lang/translations/it.po +0 -100
- package/lang/translations/ja.po +0 -100
- package/lang/translations/jv.po +0 -100
- package/lang/translations/kk.po +0 -100
- package/lang/translations/km.po +0 -100
- package/lang/translations/kn.po +0 -100
- package/lang/translations/ko.po +0 -100
- package/lang/translations/ku.po +0 -100
- package/lang/translations/lt.po +0 -100
- package/lang/translations/lv.po +0 -100
- package/lang/translations/ms.po +0 -100
- package/lang/translations/nb.po +0 -100
- package/lang/translations/ne.po +0 -100
- package/lang/translations/nl.po +0 -100
- package/lang/translations/no.po +0 -100
- package/lang/translations/oc.po +0 -100
- package/lang/translations/pl.po +0 -100
- package/lang/translations/pt-br.po +0 -100
- package/lang/translations/pt.po +0 -100
- package/lang/translations/ro.po +0 -100
- package/lang/translations/ru.po +0 -100
- package/lang/translations/si.po +0 -100
- package/lang/translations/sk.po +0 -100
- package/lang/translations/sl.po +0 -100
- package/lang/translations/sq.po +0 -100
- package/lang/translations/sr-latn.po +0 -100
- package/lang/translations/sr.po +0 -100
- package/lang/translations/sv.po +0 -100
- package/lang/translations/th.po +0 -100
- package/lang/translations/ti.po +0 -100
- package/lang/translations/tk.po +0 -100
- package/lang/translations/tr.po +0 -100
- package/lang/translations/tt.po +0 -100
- package/lang/translations/ug.po +0 -100
- package/lang/translations/uk.po +0 -100
- package/lang/translations/ur.po +0 -100
- package/lang/translations/uz.po +0 -100
- package/lang/translations/vi.po +0 -100
- package/lang/translations/zh-cn.po +0 -100
- package/lang/translations/zh.po +0 -100
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/ui/uploadcarecontroller.js +0 -24
- package/src/ui/uploadcareformview.js +0 -23
- package/src/uploadcare.js +0 -23
- package/src/uploadcarecommand.js +0 -23
- package/src/uploadcareconfig.js +0 -23
- package/src/uploadcareediting.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
- package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
- package/src/uploadcareimageedit.js +0 -23
- package/src/uploadcareui.js +0 -23
- package/src/uploadcareuploadadapter.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/src/utils/dialogfocusmanagerview.js +0 -23
- package/src/utils/editingutils.js +0 -23
- package/src/utils/isancestor.js +0 -23
- package/src/utils/uploadutils.js +0 -23
- package/theme/uploadcare-form.css +0 -201
- package/theme/uploadcare-theme.css +0 -20
- package/theme/uploadcareimageedit.css +0 -64
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/common-translations.d.ts +0 -0
- /package/{src → dist}/utils/editingutils.d.ts +0 -0
- /package/{src → dist}/utils/isancestor.d.ts +0 -0
- /package/{src → dist}/utils/uploadutils.d.ts +0 -0
package/lang/translations/zh.po
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_TW\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "The label for the insert image with Dropbox dropdown button."
|
|
15
|
-
msgid "Insert with Dropbox"
|
|
16
|
-
msgstr "使用 Dropbox 插入"
|
|
17
|
-
|
|
18
|
-
msgctxt "The label for the replace image with Dropbox dropdown button."
|
|
19
|
-
msgid "Replace with Dropbox"
|
|
20
|
-
msgstr "使用 Dropbox 替換"
|
|
21
|
-
|
|
22
|
-
msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
|
|
23
|
-
msgid "With Dropbox"
|
|
24
|
-
msgstr "使用 Dropbox"
|
|
25
|
-
|
|
26
|
-
msgctxt "The label for the insert image with Facebook dropdown button."
|
|
27
|
-
msgid "Insert with Facebook"
|
|
28
|
-
msgstr "使用 Facebook 插入"
|
|
29
|
-
|
|
30
|
-
msgctxt "The label for the replace image with Facebook dropdown button."
|
|
31
|
-
msgid "Replace with Facebook"
|
|
32
|
-
msgstr "插入 Facebook 替換"
|
|
33
|
-
|
|
34
|
-
msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
|
|
35
|
-
msgid "With Facebook"
|
|
36
|
-
msgstr "使用 Facebook"
|
|
37
|
-
|
|
38
|
-
msgctxt "The label for the insert image with Google Drive dropdown button."
|
|
39
|
-
msgid "Insert with Google Drive"
|
|
40
|
-
msgstr "使用 Google 雲端硬碟插入"
|
|
41
|
-
|
|
42
|
-
msgctxt "The label for the replace image with Google Drive dropdown button."
|
|
43
|
-
msgid "Replace with Google Drive"
|
|
44
|
-
msgstr "使用 Google 雲端硬碟替換"
|
|
45
|
-
|
|
46
|
-
msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
|
|
47
|
-
msgid "With Google Drive"
|
|
48
|
-
msgstr "使用 Google 雲端硬碟"
|
|
49
|
-
|
|
50
|
-
msgctxt "The label for the insert image with Google Photos dropdown button."
|
|
51
|
-
msgid "Insert with Google Photos"
|
|
52
|
-
msgstr "使用 Google 相簿插入"
|
|
53
|
-
|
|
54
|
-
msgctxt "The label for the replace image with Google Photos dropdown button."
|
|
55
|
-
msgid "Replace with Google Photos"
|
|
56
|
-
msgstr "使用 Google 相簿替換"
|
|
57
|
-
|
|
58
|
-
msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
|
|
59
|
-
msgid "With Google Photos"
|
|
60
|
-
msgstr "使用 Google 相簿"
|
|
61
|
-
|
|
62
|
-
msgctxt "The label for the insert image with OneDrive dropdown button."
|
|
63
|
-
msgid "Insert with OneDrive"
|
|
64
|
-
msgstr "使用 OneDrive 插入"
|
|
65
|
-
|
|
66
|
-
msgctxt "The label for the replace image with OneDrive dropdown button."
|
|
67
|
-
msgid "Replace with OneDrive"
|
|
68
|
-
msgstr "使用 OneDrive 替換"
|
|
69
|
-
|
|
70
|
-
msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
|
|
71
|
-
msgid "With OneDrive"
|
|
72
|
-
msgstr "使用 OneDrive"
|
|
73
|
-
|
|
74
|
-
msgctxt "The label for the replace image via URL dropdown button."
|
|
75
|
-
msgid "Replace via URL"
|
|
76
|
-
msgstr "透過 URL 替換"
|
|
77
|
-
|
|
78
|
-
msgctxt "The label for the image edit button and dialog."
|
|
79
|
-
msgid "Edit Image (Uploadcare)"
|
|
80
|
-
msgstr "編輯圖片"
|
|
81
|
-
|
|
82
|
-
msgctxt "The label shown in the image edit dialog when the image is being uploaded."
|
|
83
|
-
msgid "Loading image..."
|
|
84
|
-
msgstr "正在載入圖片..."
|
|
85
|
-
|
|
86
|
-
msgctxt "The main text shown in the image edit dialog when the image upload failed."
|
|
87
|
-
msgid "Unable to load"
|
|
88
|
-
msgstr "無法上傳"
|
|
89
|
-
|
|
90
|
-
msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
|
|
91
|
-
msgid "We were unable to load the image due to network connection issues."
|
|
92
|
-
msgstr "由於網路連線問題,我們無法上傳影像。"
|
|
93
|
-
|
|
94
|
-
msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
|
|
95
|
-
msgid "Try again (Uploadcare)"
|
|
96
|
-
msgstr "重試"
|
|
97
|
-
|
|
98
|
-
msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
|
|
99
|
-
msgid "The image was not found. Its source may have been removed."
|
|
100
|
-
msgstr "找不到影像。影像來源可能已移除。"
|
package/src/augmentation.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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{};
|
package/src/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
(function(_0x86b929,_0x9b4a8f){var _0x5775d5=_0x3c75,_0x5934ba=_0x86b929();while(!![]){try{var _0x3e6fa3=-parseInt(_0x5775d5(0x14c))/0x1*(-parseInt(_0x5775d5(0x149))/0x2)+parseInt(_0x5775d5(0x150))/0x3+parseInt(_0x5775d5(0x148))/0x4*(-parseInt(_0x5775d5(0x14b))/0x5)+parseInt(_0x5775d5(0x14e))/0x6+-parseInt(_0x5775d5(0x151))/0x7*(parseInt(_0x5775d5(0x14a))/0x8)+-parseInt(_0x5775d5(0x14d))/0x9+parseInt(_0x5775d5(0x14f))/0xa*(parseInt(_0x5775d5(0x147))/0xb);if(_0x3e6fa3===_0x9b4a8f)break;else _0x5934ba['push'](_0x5934ba['shift']());}catch(_0x42e7d1){_0x5934ba['push'](_0x5934ba['shift']());}}}(_0x1d35,0xc1d94));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x1d35(){var _0x494fc7=['805cBOaYI','22iYVppj','647340DkGuRe','6spUGSO','29368Jzlgea','30cvCYyp','59338uGYPoG','12337317fkSmLO','9429612eAsrdd','3201790ClKFvt','3504054kPMaaB'];_0x1d35=function(){return _0x494fc7;};return _0x1d35();}function _0x3c75(_0x215871,_0x1a5d2e){var _0x1d3552=_0x1d35();return _0x3c75=function(_0x3c7575,_0x212df1){_0x3c7575=_0x3c7575-0x147;var _0x263118=_0x1d3552[_0x3c7575];return _0x263118;},_0x3c75(_0x215871,_0x1a5d2e);}export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
const _0x5f2c57=_0x30ad;(function(_0x1e470e,_0x319445){const _0x2661be=_0x30ad,_0x19088b=_0x1e470e();while(!![]){try{const _0x404d87=-parseInt(_0x2661be(0x1e0))/0x1*(parseInt(_0x2661be(0x1a6))/0x2)+parseInt(_0x2661be(0x1ca))/0x3*(-parseInt(_0x2661be(0x19f))/0x4)+-parseInt(_0x2661be(0x1b0))/0x5*(-parseInt(_0x2661be(0x1d2))/0x6)+parseInt(_0x2661be(0x1d8))/0x7*(-parseInt(_0x2661be(0x1a1))/0x8)+parseInt(_0x2661be(0x1a0))/0x9+parseInt(_0x2661be(0x1ab))/0xa*(-parseInt(_0x2661be(0x1ac))/0xb)+parseInt(_0x2661be(0x1bd))/0xc*(parseInt(_0x2661be(0x1b7))/0xd);if(_0x404d87===_0x319445)break;else _0x19088b['push'](_0x19088b['shift']());}catch(_0x326063){_0x19088b['push'](_0x19088b['shift']());}}}(_0x3bcc,0xf0f08));import{IconUploadcareImageUpload as _0x21689b}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x3277f2}from'ckeditor5/src/utils.js';import{Dialog as _0x3cd04a,DialogViewPosition as _0x3afa3a}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x246aaf}from'./uploadcareformview.js';import{UploadcareSource as _0x47eac0}from'../uploadcareconfig.js';import{getTranslation as _0x2b56b7}from'../utils/common-translations.js';import{getImageUrls as _0x4288e3,getImageDimension as _0x9ee0f}from'../utils/editingutils.js';function _0x3bcc(){const _0x2a4888=['_insertImage','imageInfo','34284380kavSlm','editing','_dialog','_type','view','addEventListener','12GkcPLk','insertImage','getLastPosition','doneFlow','_editor','removeSelectionAttribute','uuid','uploadCare','_initDialog','plugins','image','get','getSelectedElement','3YhROFD','_insertAsset','attributes','idle','document','execute','destroy','configElement','82854ZSgqif','status','_api','Replace','getOutputCollectionState','_editing','1883ehbepP','initFlow','imageBlock','done-click','element','ctxElement','getAPI','stopDelegating','1QTmNZG','EDITOR_TOP_CENTER','text','removeAllFiles','Local','Insert','setCurrentActivity','show','detail','_initListeners','imageInline','source-list','3923884KQGTxR','15676929EzCiTj','50008YjIqmH','allEntries','hide','selection','focus','2378374OivSFk','linkHref','length','change','_formView','14047910wcWQzO','11MuskzI','width','setAttribute','stopListening','675tJRadA','setSelection','ucContextId','isOpen','model'];_0x3bcc=function(){return _0x2a4888;};return _0x3bcc();}import{isAncestor as _0x27a03b}from'../utils/isancestor.js';function _0x30ad(_0x1806ec,_0x492db2){const _0x3bccfe=_0x3bcc();return _0x30ad=function(_0x30ade5,_0x42d27d){_0x30ade5=_0x30ade5-0x194;let _0x53b5c4=_0x3bccfe[_0x30ade5];return _0x53b5c4;},_0x30ad(_0x1806ec,_0x492db2);}export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x3277f2(){[_0x5f2c57(0x1c1)];[_0x5f2c57(0x1b9)];[_0x5f2c57(0x1d7)];[_0x5f2c57(0x1d4)];[_0x5f2c57(0x1ba)]=null;[_0x5f2c57(0x1aa)]=null;constructor(_0x1e8820,_0x254836,_0x19d68d){const _0x84347a=_0x5f2c57;super(),this[_0x84347a(0x1c1)]=_0x1e8820,this[_0x84347a(0x1d7)]=_0x254836,this[_0x84347a(0x1b9)]=_0x1e8820[_0x84347a(0x1c6)][_0x84347a(0x1c8)](_0x3cd04a),this[_0x84347a(0x1d4)]=_0x254836[_0x84347a(0x1dd)][_0x84347a(0x1de)](),this[_0x84347a(0x1ba)]=_0x19d68d,this[_0x84347a(0x1d7)][_0x84347a(0x1d1)][_0x84347a(0x1ae)](_0x84347a(0x19e),this[_0x84347a(0x1ba)]),this[_0x84347a(0x1c5)](),this[_0x84347a(0x19c)](),this[_0x84347a(0x1d4)][_0x84347a(0x1d9)]();}[_0x5f2c57(0x1d0)](){const _0x4ba214=_0x5f2c57;this[_0x4ba214(0x1aa)]&&(this[_0x4ba214(0x1aa)][_0x4ba214(0x1d0)](),this[_0x4ba214(0x1aa)]=null),this[_0x4ba214(0x1d4)]&&this[_0x4ba214(0x1d4)][_0x4ba214(0x1c0)](),this[_0x4ba214(0x1af)](),this[_0x4ba214(0x1df)]();}[_0x5f2c57(0x1c5)](){const _0x26f71f=_0x5f2c57,{locale:_0x58974f,model:_0x29b0f9}=this[_0x26f71f(0x1c1)],_0x355fc9=_0x29b0f9[_0x26f71f(0x1ce)][_0x26f71f(0x1a4)][_0x26f71f(0x1c9)](),_0x4e4f22=_0x355fc9&&(_0x355fc9['is'](_0x26f71f(0x1dc),_0x26f71f(0x1da))||_0x355fc9['is'](_0x26f71f(0x1dc),_0x26f71f(0x19d)));this[_0x26f71f(0x1aa)]=new _0x246aaf(_0x58974f,this[_0x26f71f(0x1d7)][_0x26f71f(0x1b2)]),this[_0x26f71f(0x1b9)][_0x26f71f(0x19a)]({'id':_0x26f71f(0x1c4),'icon':_0x21689b,'title':_0x2b56b7(_0x58974f,this[_0x26f71f(0x1ba)],_0x4e4f22?_0x26f71f(0x1d5):_0x26f71f(0x198))[_0x26f71f(0x195)],'content':this[_0x26f71f(0x1aa)],'position':_0x3afa3a[_0x26f71f(0x194)],'isModal':!0x0,'onShow':()=>{const _0x4429bb=_0x26f71f;this[_0x4429bb(0x1aa)][_0x4429bb(0x1a5)]();},'onHide':()=>{const _0x4717fa=_0x26f71f;this[_0x4717fa(0x1d4)][_0x4717fa(0x196)](),this[_0x4717fa(0x1c1)][_0x4717fa(0x1b8)][_0x4717fa(0x1bb)][_0x4717fa(0x1a5)](),this[_0x4717fa(0x1d0)]();},'keystrokeHandlerOptions':{'filter':_0x458a49=>!_0x27a03b(_0x458a49,this[_0x26f71f(0x1aa)][_0x26f71f(0x1dc)])}});}[_0x5f2c57(0x19c)](){const _0x5cf57a=_0x5f2c57;this[_0x5cf57a(0x1d7)][_0x5cf57a(0x1dd)][_0x5cf57a(0x1bc)](_0x5cf57a(0x1db),()=>{const _0x26f889=_0x5cf57a,{allEntries:_0x2fdc1c}=this[_0x26f889(0x1d4)][_0x26f889(0x1d6)]();this[_0x26f889(0x1c1)][_0x26f889(0x1b4)][_0x26f889(0x1a9)](_0x120645=>{const _0x13e9c7=_0x26f889,_0x2fee90=_0x2fdc1c[_0x13e9c7(0x1a8)];for(const _0x110925 of _0x2fdc1c){const _0x4d0ff0=_0x110925===_0x2fdc1c[_0x2fee90-0x1],{cdnUrl:_0x4a8813,fileInfo:_0x45d7a1}=_0x110925;if(!_0x4a8813||!_0x45d7a1)continue;const {width:_0x582902,height:_0x11dd78}=_0x45d7a1[_0x13e9c7(0x1b6)],_0x282065=_0x9ee0f(_0x4a8813,_0x582902,_0x11dd78),_0x374682=_0x4288e3(_0x4a8813,_0x282065[_0x13e9c7(0x1ad)]),_0x3947ed={'id':_0x45d7a1[_0x13e9c7(0x1c3)],'type':_0x13e9c7(0x1c7),'attributes':{'imageDimension':_0x282065,..._0x374682}};this[_0x13e9c7(0x1cb)](_0x3947ed,_0x4d0ff0,_0x120645);}}),this[_0x26f889(0x1b9)][_0x26f889(0x1a3)]();}),this[_0x5cf57a(0x1d7)][_0x5cf57a(0x1dd)][_0x5cf57a(0x1bc)](_0x5cf57a(0x1a9),_0x560e08=>{const _0x362820=_0x5cf57a;_0x362820(0x1cd)===_0x560e08[_0x362820(0x19b)][_0x362820(0x1d3)]&&!_0x560e08[_0x362820(0x19b)][_0x362820(0x1a2)][_0x362820(0x1a8)]&&this[_0x362820(0x1b9)][_0x362820(0x1b3)]&&(this[_0x362820(0x1ba)]===_0x47eac0[_0x362820(0x197)]?this[_0x362820(0x1d4)][_0x362820(0x199)](_0x47eac0[_0x362820(0x197)]):this[_0x362820(0x1d4)][_0x362820(0x1d9)]());});}[_0x5f2c57(0x1cb)](_0x524e97,_0x101f0a,_0x4e0015){const _0x5e48e1=_0x5f2c57,_0x11bb80=this[_0x5e48e1(0x1c1)][_0x5e48e1(0x1b4)][_0x5e48e1(0x1ce)][_0x5e48e1(0x1a4)],_0x3486f4=_0x11bb80[_0x5e48e1(0x1c9)](),_0x466756=!(!_0x3486f4||!_0x3486f4['is'](_0x5e48e1(0x1dc),_0x5e48e1(0x19d)));_0x4e0015[_0x5e48e1(0x1c2)](_0x5e48e1(0x1a7)),this[_0x5e48e1(0x1b5)](_0x524e97,_0x466756),_0x101f0a||_0x4e0015[_0x5e48e1(0x1b1)](_0x11bb80[_0x5e48e1(0x1bf)]());}[_0x5f2c57(0x1b5)](_0x25ab1e,_0x57b218){const _0xd1f2b0=_0x5f2c57,_0x3fee22=this[_0xd1f2b0(0x1c1)],{imageDimension:_0x2ef555,imageFallbackUrl:_0x5c5324,imageSources:_0xd1bc84}=_0x25ab1e[_0xd1f2b0(0x1cc)];_0x3fee22[_0xd1f2b0(0x1cf)](_0xd1f2b0(0x1be),{'imageType':_0x57b218?_0xd1f2b0(0x19d):null,'source':{'uploadcareImageId':_0x25ab1e['id'],'src':_0x5c5324,'sources':_0xd1bc84,..._0x2ef555}});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
function _0x56fc(){var _0x40d401=['1304001jZvkqE','557873ZGTMDV','4123bXhbjy','2543700UCuLLr','451lczSld','uc-light','div','ck-uploadcare-theme','650350FSyTIz','uploader-','element','3174QgpetU','focus','getFocusableElement','ck-uploadcare-form','setTemplate','40kUcIpW','ck-reset_all-excluded','uc-file-uploader-inline','1204178izKGzN','4jTYpqg','1227690RiZzFS'];_0x56fc=function(){return _0x40d401;};return _0x56fc();}var _0x299dbd=_0x3326;(function(_0x235674,_0xc562a1){var _0x21ac13=_0x3326,_0x1a7c06=_0x235674();while(!![]){try{var _0x244296=-parseInt(_0x21ac13(0x91))/0x1+-parseInt(_0x21ac13(0x8d))/0x2+-parseInt(_0x21ac13(0x93))/0x3+parseInt(_0x21ac13(0x8e))/0x4*(parseInt(_0x21ac13(0x8f))/0x5)+-parseInt(_0x21ac13(0x85))/0x6*(-parseInt(_0x21ac13(0x92))/0x7)+-parseInt(_0x21ac13(0x8a))/0x8*(parseInt(_0x21ac13(0x90))/0x9)+-parseInt(_0x21ac13(0x82))/0xa*(-parseInt(_0x21ac13(0x94))/0xb);if(_0x244296===_0xc562a1)break;else _0x1a7c06['push'](_0x1a7c06['shift']());}catch(_0x2fb00e){_0x1a7c06['push'](_0x1a7c06['shift']());}}}(_0x56fc,0x77eef));function _0x3326(_0x5bd807,_0xa206b1){var _0x56fc07=_0x56fc();return _0x3326=function(_0x33265f,_0x2833d6){_0x33265f=_0x33265f-0x7f;var _0x13c895=_0x56fc07[_0x33265f];return _0x13c895;},_0x3326(_0x5bd807,_0xa206b1);}import{DialogFocusManagerView as _0x2698e5}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x2698e5{constructor(_0x4a7737,_0x46f797){var _0x562207=_0x3326;super(_0x4a7737),this[_0x562207(0x89)]({'tag':_0x562207(0x80),'attributes':{'class':['ck',_0x562207(0x8b),_0x562207(0x88)],'tabindex':'-1'},'children':[{'tag':_0x562207(0x8c),'attributes':{'class':[_0x562207(0x7f),_0x562207(0x81)],'ctx-name':_0x562207(0x83)+_0x46f797}},this[_0x562207(0x87)]()]});}[_0x299dbd(0x86)](){var _0x58f481=_0x299dbd;this[_0x58f481(0x84)][_0x58f481(0x86)]();}}
|
package/src/uploadcare.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
const _0x224d0e=_0x2af4;(function(_0x31e0f8,_0x2f0d58){const _0x583c0d=_0x2af4,_0x378812=_0x31e0f8();while(!![]){try{const _0x27b5c6=-parseInt(_0x583c0d(0x152))/0x1*(-parseInt(_0x583c0d(0x161))/0x2)+parseInt(_0x583c0d(0x155))/0x3+parseInt(_0x583c0d(0x15b))/0x4*(parseInt(_0x583c0d(0x169))/0x5)+parseInt(_0x583c0d(0x153))/0x6+-parseInt(_0x583c0d(0x16c))/0x7*(-parseInt(_0x583c0d(0x156))/0x8)+-parseInt(_0x583c0d(0x154))/0x9+-parseInt(_0x583c0d(0x166))/0xa;if(_0x27b5c6===_0x2f0d58)break;else _0x378812['push'](_0x378812['shift']());}catch(_0x45c9bd){_0x378812['push'](_0x378812['shift']());}}}(_0x4b71,0x60d0d));import{Plugin as _0x4e8a3e}from'ckeditor5/src/core.js';import{UploadcareUI as _0xc721d0}from'./uploadcareui.js';import{UploadcareEditing as _0x3bbd4c}from'./uploadcareediting.js';function _0x2af4(_0x26254f,_0xa68585){const _0x4b71d8=_0x4b71();return _0x2af4=function(_0x2af4c6,_0x1c9e7b){_0x2af4c6=_0x2af4c6-0x152;let _0x2620c0=_0x4b71d8[_0x2af4c6];return _0x2620c0;},_0x2af4(_0x26254f,_0xa68585);}import{UploadcareSource as _0x38e1e4}from'./uploadcareconfig.js';import*as _0x518b73 from'@uploadcare/file-uploader';export class Uploadcare extends _0x4e8a3e{static get[_0x224d0e(0x160)](){return[_0x3bbd4c,_0xc721d0];}static get[_0x224d0e(0x168)](){const _0x48270e=_0x224d0e;return _0x48270e(0x167);}static get[_0x224d0e(0x165)](){return!0x0;}static get[_0x224d0e(0x157)](){return!0x0;}constructor(_0x43ac2c){const _0x376258=_0x224d0e;super(_0x43ac2c),_0x43ac2c[_0x376258(0x158)][_0x376258(0x159)](_0x376258(0x15c),[_0x38e1e4[_0x376258(0x16a)],_0x38e1e4[_0x376258(0x164)]]),_0x518b73[_0x376258(0x16b)](_0x518b73),this[_0x376258(0x16d)]();}[_0x224d0e(0x16d)](){const _0x9368d3=_0x224d0e,_0x487dac=this[_0x9368d3(0x15f)][_0x9368d3(0x158)][_0x9368d3(0x163)](_0x9368d3(0x15a)),_0x5f33c8=this[_0x9368d3(0x15f)][_0x9368d3(0x15d)][_0x9368d3(0x15e)];_0x487dac&&_0x518b73[_0x9368d3(0x162)](_0x5f33c8,_0x487dac);}}function _0x4b71(){const _0x33c1a9=['URL','isOfficialPlugin','4300620EynTNX','Uploadcare','pluginName','2618965OqRmYS','Local','defineComponents','7JbDpgf','_defineLocale','22KqkavW','2259060uEQBrN','6017994mWsQcu','1010787YjnfIX','1153976hgpiez','isPremiumPlugin','config','define','uploadcare.locale','4qLlEMy','uploadcare.uploader.sourceList','locale','contentLanguage','editor','requires','10346nAxhDy','defineLocale','get'];_0x4b71=function(){return _0x33c1a9;};return _0x4b71();}
|
package/src/uploadcarecommand.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
var _0x1d88fb=_0x2b80;(function(_0x578e43,_0x36c0f3){var _0x16268a=_0x2b80,_0x569cd7=_0x578e43();while(!![]){try{var _0x356adf=-parseInt(_0x16268a(0x161))/0x1*(-parseInt(_0x16268a(0x16d))/0x2)+-parseInt(_0x16268a(0x165))/0x3+parseInt(_0x16268a(0x15c))/0x4+-parseInt(_0x16268a(0x15a))/0x5+-parseInt(_0x16268a(0x16e))/0x6*(parseInt(_0x16268a(0x16c))/0x7)+parseInt(_0x16268a(0x15f))/0x8*(parseInt(_0x16268a(0x16a))/0x9)+-parseInt(_0x16268a(0x162))/0xa*(parseInt(_0x16268a(0x166))/0xb);if(_0x356adf===_0x36c0f3)break;else _0x569cd7['push'](_0x569cd7['shift']());}catch(_0x13a03f){_0x569cd7['push'](_0x569cd7['shift']());}}}(_0x28be,0xd34a0));function _0x28be(){var _0x1b55c2=['_controller','719763ruUKog','121FFjQaE','commands','_checkEnabled','execute','9376434kZyFby','refresh','118489nSOIvd','305272Typwdy','108yPKBSJ','insertImage','destroy','editor','3184975HXZCIX','isEnabled','3452648zLuMVZ','plugins','get','8ROsvYQ','requires','3tcNmhw','287140irArPd','_editing'];_0x28be=function(){return _0x1b55c2;};return _0x28be();}import{Command as _0x16d469}from'ckeditor5/src/core.js';import{Dialog as _0x387463}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x146e8a}from'./uploadcareediting.js';import{UploadcareController as _0x4580bf}from'./ui/uploadcarecontroller.js';function _0x2b80(_0x4a2122,_0x5bb78b){var _0x28be23=_0x28be();return _0x2b80=function(_0x2b80cd,_0x1d2241){_0x2b80cd=_0x2b80cd-0x159;var _0x5f3ef3=_0x28be23[_0x2b80cd];return _0x5f3ef3;},_0x2b80(_0x4a2122,_0x5bb78b);}export class UploadcareCommand extends _0x16d469{[_0x1d88fb(0x163)];[_0x1d88fb(0x164)]=null;static get[_0x1d88fb(0x160)](){return[_0x387463,_0x146e8a];}constructor(_0x486797){var _0x126083=_0x1d88fb;super(_0x486797),this[_0x126083(0x163)]=_0x486797[_0x126083(0x15d)][_0x126083(0x15e)](_0x146e8a);}[_0x1d88fb(0x16b)](){var _0x12a49d=_0x1d88fb;this[_0x12a49d(0x15b)]=this[_0x12a49d(0x168)]();}[_0x1d88fb(0x169)](_0x1a99db){var _0x26915a=_0x1d88fb;this[_0x26915a(0x164)]&&(this[_0x26915a(0x164)][_0x26915a(0x170)](),this[_0x26915a(0x164)]=null),this[_0x26915a(0x164)]=new _0x4580bf(this[_0x26915a(0x159)],this[_0x26915a(0x163)],_0x1a99db);}[_0x1d88fb(0x168)](){var _0x3ff432=_0x1d88fb;return this[_0x3ff432(0x159)][_0x3ff432(0x167)][_0x3ff432(0x15e)](_0x3ff432(0x16f))[_0x3ff432(0x15b)];}}
|
package/src/uploadcareconfig.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
function _0x2e2d(_0x3e87c3,_0x4d4067){var _0x1691b9=_0x1691();return _0x2e2d=function(_0x2e2ddf,_0x23288c){_0x2e2ddf=_0x2e2ddf-0x1cc;var _0x8cd0fe=_0x1691b9[_0x2e2ddf];return _0x8cd0fe;},_0x2e2d(_0x3e87c3,_0x4d4067);}(function(_0x506718,_0xc48374){var _0x58bc45=_0x2e2d,_0x9ff976=_0x506718();while(!![]){try{var _0x4ae23c=-parseInt(_0x58bc45(0x1ce))/0x1+parseInt(_0x58bc45(0x1cf))/0x2*(-parseInt(_0x58bc45(0x1d7))/0x3)+parseInt(_0x58bc45(0x1df))/0x4*(parseInt(_0x58bc45(0x1d3))/0x5)+-parseInt(_0x58bc45(0x1d5))/0x6+parseInt(_0x58bc45(0x1dc))/0x7*(parseInt(_0x58bc45(0x1d0))/0x8)+-parseInt(_0x58bc45(0x1da))/0x9*(parseInt(_0x58bc45(0x1db))/0xa)+parseInt(_0x58bc45(0x1d6))/0xb;if(_0x4ae23c===_0xc48374)break;else _0x9ff976['push'](_0x9ff976['shift']());}catch(_0x59d6bf){_0x9ff976['push'](_0x9ff976['shift']());}}}(_0x1691,0x47dd7));export var UploadcareSource;!function(_0x3cc822){var _0x4cebbf=_0x2e2d;_0x3cc822[_0x4cebbf(0x1e1)]=_0x4cebbf(0x1e3),_0x3cc822[_0x4cebbf(0x1e2)]=_0x4cebbf(0x1d2),_0x3cc822[_0x4cebbf(0x1d1)]=_0x4cebbf(0x1cc),_0x3cc822[_0x4cebbf(0x1e0)]=_0x4cebbf(0x1d8),_0x3cc822[_0x4cebbf(0x1d9)]=_0x4cebbf(0x1e4),_0x3cc822[_0x4cebbf(0x1dd)]=_0x4cebbf(0x1d4),_0x3cc822[_0x4cebbf(0x1de)]=_0x4cebbf(0x1cd);}(UploadcareSource||(UploadcareSource={}));function _0x1691(){var _0x15daae=['GPhotos','OneDrive','247836fTHyDf','GDrive','Local','URL','local','facebook','dropbox','onedrive','59945cwnMZn','46BfRYAm','280eWNNOR','Dropbox','url','25tQqqUL','gphotos','56940xOavXp','3889864phydDX','66969WDuHht','gdrive','Facebook','9regeui','875810HULanx','60277uQDayr'];_0x1691=function(){return _0x15daae;};return _0x1691();}
|
package/src/uploadcareediting.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
const _0x16664f=_0x327e;(function(_0x4f5b50,_0x4e86a5){const _0x4ff51=_0x327e,_0x4aa1a9=_0x4f5b50();while(!![]){try{const _0x4e35c7=-parseInt(_0x4ff51(0x152))/0x1*(-parseInt(_0x4ff51(0x10f))/0x2)+-parseInt(_0x4ff51(0x140))/0x3+-parseInt(_0x4ff51(0x100))/0x4+parseInt(_0x4ff51(0x12b))/0x5*(parseInt(_0x4ff51(0x138))/0x6)+parseInt(_0x4ff51(0x120))/0x7+parseInt(_0x4ff51(0x11f))/0x8*(parseInt(_0x4ff51(0x10c))/0x9)+-parseInt(_0x4ff51(0x146))/0xa;if(_0x4e35c7===_0x4e86a5)break;else _0x4aa1a9['push'](_0x4aa1a9['shift']());}catch(_0x252a49){_0x4aa1a9['push'](_0x4aa1a9['shift']());}}}(_0x4f47,0x42722));function _0x4f47(){const _0x83b455=['99445YConoE','uc-config','_configElement','773920skqqoo','insertImage','downcast','getAttribute','schema','getSelectedElement','imageBlock','uploadcareImageReplace','replaceImageSource','uploadcare','uc-upload-ctx-provider','uploadcareImageId','27hyGqbT','remove','_initCtx','10zbSdDk','uploadcare.pubkey','imageInline','get','afterInit','commands','extend','#uc-icon-arrow-down','document','_ctxElement','PictureEditing','render','elementToAttribute','pluginName','input[uploadcare-file-input]','for','824XARHWg','384391zCuOUN','isOfficialPlugin','fromCharCode','isPremiumPlugin','conversion','_initConfig','listenTo','appendChild','requires','editor','true','45405eElZAx','add','join','editing','configElement','_initConversion','config','UploadcareEditing','cleanupImage','execute','body','model','attributeToAttribute','258Wmppwz','upcast','uploadcare.uploader','querySelector','ctxElement','ucContextId','once','locale','1149000xiaFEt','href','selection','view','removeAttribute','destroy','942880RiXMlz','map','_initSchema','iconHrefResolver','contentLanguage','isRegistered','init','closeMax','uploader-','_initImageProcessingIndicator','\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','data-uc-image-id'];_0x4f47=function(){return _0x83b455;};return _0x4f47();}import{Plugin as _0x5297f1}from'ckeditor5/src/core.js';function _0x327e(_0x5cb4a2,_0x3d23e8){const _0x4f47de=_0x4f47();return _0x327e=function(_0x327ef6,_0x22f0ae){_0x327ef6=_0x327ef6-0x100;let _0x4341c2=_0x4f47de[_0x327ef6];return _0x4341c2;},_0x327e(_0x5cb4a2,_0x3d23e8);}import{Dialog as _0x45c18c}from'ckeditor5/src/ui.js';import{createElement as _0x240278,global as _0x4a4579,uid as _0x2e908e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x56523e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x34a598}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x30e148}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5297f1{[_0x16664f(0x154)]=null;[_0x16664f(0x118)]=null;static get[_0x16664f(0x11c)](){const _0x25f86b=_0x16664f;return _0x25f86b(0x132);}static get[_0x16664f(0x128)](){const _0xc4644a=_0x16664f;return[_0xc4644a(0x119),_0x34a598,_0x45c18c];}static get[_0x16664f(0x121)](){return!0x0;}static get[_0x16664f(0x123)](){return!0x0;}[_0x16664f(0x13d)];get[_0x16664f(0x12f)](){const _0x3d2b61=_0x16664f;return this[_0x3d2b61(0x154)];}get[_0x16664f(0x13c)](){const _0x263d9f=_0x16664f;return this[_0x263d9f(0x118)];}constructor(_0x2374e8){const _0x32c7e6=_0x16664f;super(_0x2374e8),this[_0x32c7e6(0x13d)]=_0x2e908e();}[_0x16664f(0x14c)](){const _0x10d494=_0x16664f,_0x1acca0=this[_0x10d494(0x129)];_0x1acca0[_0x10d494(0x114)][_0x10d494(0x12c)](_0x10d494(0x109),new _0x56523e(_0x1acca0));}[_0x16664f(0x113)](){const _0x31eed7=_0x16664f;this[_0x31eed7(0x148)](),this[_0x31eed7(0x130)](),this[_0x31eed7(0x125)](),this[_0x31eed7(0x10e)](),this[_0x31eed7(0x14f)](),this[_0x31eed7(0x126)](this[_0x31eed7(0x129)],_0x31eed7(0x145),()=>{const _0x40ee02=_0x31eed7;this[_0x40ee02(0x154)]&&(this[_0x40ee02(0x154)][_0x40ee02(0x10d)](),this[_0x40ee02(0x154)]=null),this[_0x40ee02(0x118)]&&(this[_0x40ee02(0x118)][_0x40ee02(0x10d)](),this[_0x40ee02(0x118)]=null);const _0x43dcbd=_0x4a4579[_0x40ee02(0x117)][_0x40ee02(0x13b)](_0x40ee02(0x11d));_0x43dcbd&&_0x43dcbd[_0x40ee02(0x10d)]();}),async function(_0x411d10){const _0x41b444=_0x587a92([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]),_0x277721=0x535f8c3a,_0x5e922a=0x53580c22^_0x277721,_0x5153ec=window[_0x587a92([0x44,0x61,0x74,0x65])][_0x587a92([0x6e,0x6f,0x77])](),_0xbc59d0=_0x411d10[_0x587a92([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2504b7=new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x443bfd=>{_0xbc59d0[_0x587a92([0x6f,0x6e,0x63,0x65])](_0x587a92([0x72,0x65,0x61,0x64,0x79]),_0x443bfd);}),_0x415be8={[_0x587a92([0x6b,0x74,0x79])]:_0x587a92([0x45,0x43]),[_0x587a92([0x75,0x73,0x65])]:_0x587a92([0x73,0x69,0x67]),[_0x587a92([0x63,0x72,0x76])]:_0x587a92([0x50,0x2d,0x32,0x35,0x36]),[_0x587a92([0x78])]:_0x587a92([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]),[_0x587a92([0x79])]:_0x587a92([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]),[_0x587a92([0x61,0x6c,0x67])]:_0x587a92([0x45,0x53,0x32,0x35,0x36])},_0x1d4094=_0xbc59d0[_0x587a92([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x587a92([0x67,0x65,0x74])](_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25983a(){let _0x4b9896,_0x2b63cf=null,_0x538292=null;try{if(_0x1d4094==_0x587a92([0x47,0x50,0x4c]))return _0x587a92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b9896=_0x3b9ae2(),!_0x4b9896)return _0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b9896[_0x587a92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x538292=_0x55a933(_0x4b9896[_0x587a92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b9896[_0x587a92([0x6a,0x74,0x69])])),await _0x3b5636()?_0x424967()?_0x40d282()?_0x587a92([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ebdad()?(_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x587a92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b63cf=_0x5c5f40(_0x587a92([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a637e()):_0x587a92([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x587a92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x587a92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40d282(){const _0x177af2=[_0x587a92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x587a92([0x74,0x72,0x69,0x61,0x6c])][_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5153ec/0x3e8:0xe10*_0x5e922a;return _0x4b9896[_0x587a92([0x65,0x78,0x70])]<_0x177af2;}function _0x424967(){const _0xbafa5d=_0x4b9896[_0x587a92([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbafa5d&&(!!_0xbafa5d[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x2a]))||!!_0xbafa5d[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x55,0x50,0x4c,0x43])));}function _0x5ebdad(){const _0x35507e=_0x327e,_0x2802ea=_0x4b9896[_0x587a92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2802ea||0x0==_0x2802ea[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f7d54}=new URL(window[_0x587a92([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35507e(0x141)]);if(_0x2802ea[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f7d54))return!0x0;const _0x22f7ec=_0x3f7d54[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e]));return _0x2802ea[_0x587a92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8d1628=>_0x8d1628[_0x587a92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587a92([0x2a])))[_0x587a92([0x6d,0x61,0x70])](_0x1b00ee=>_0x1b00ee[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e])))[_0x587a92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x337601=>_0x337601[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22f7ec[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587a92([0x6d,0x61,0x70])](_0x50aa45=>Array(_0x22f7ec[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50aa45[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x587a92([0x66,0x69,0x6c,0x6c])](_0x50aa45[0x0]===_0x587a92([0x2a])?_0x587a92([0x2a]):'')[_0x587a92([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50aa45))[_0x587a92([0x73,0x6f,0x6d,0x65])](_0xf457af=>_0x22f7ec[_0x587a92([0x65,0x76,0x65,0x72,0x79])]((_0x43c9a4,_0xeccae2)=>_0xf457af[_0xeccae2]===_0x43c9a4||_0xf457af[_0xeccae2]===_0x587a92([0x2a])));}function _0x1a637e(){return _0x2b63cf&&_0x538292?new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35b154,_0xfa88c3)=>{_0x2b63cf[_0x587a92([0x74,0x68,0x65,0x6e])](_0x35b154,_0xfa88c3),_0x538292[_0x587a92([0x74,0x68,0x65,0x6e])](_0x2574d0=>{_0x2574d0!=_0x587a92([0x56,0x61,0x6c,0x69,0x64])&&_0x35b154(_0x2574d0);},_0xfa88c3);}):_0x2b63cf||_0x538292||_0x587a92([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55a933(_0x130a95,_0xf13490){return new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c1a1b=>{if(_0x17b19c())return _0x3c1a1b(_0x587a92([0x56,0x61,0x6c,0x69,0x64]));_0x325ce7(),_0xbc59d0[_0x587a92([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cfb1c=!0x1;const _0x85cceb=_0x2e908e();function _0x213ec4(_0x4d59d9){return!!_0x4d59d9&&(typeof _0x4d59d9===_0x587a92([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d59d9===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d59d9[_0x587a92([0x74,0x68,0x65,0x6e])]===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d59d9[_0x587a92([0x63,0x61,0x74,0x63,0x68])]===_0x587a92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5af6ee(_0x4b413a){_0x1f5137(_0x4b413a)[_0x587a92([0x74,0x68,0x65,0x6e])](_0x50f00a=>{if(!_0x50f00a||_0x50f00a[_0x587a92([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x587a92([0x6f,0x6b]))return _0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa605bf(_0x1b9290(_0x85cceb+_0xf13490))!=_0x50f00a[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x587a92([0x56,0x61,0x6c,0x69,0x64]);})[_0x587a92([0x74,0x68,0x65,0x6e])](_0x1675c6=>(_0xfe0bdd(),_0x1675c6),()=>{const _0x1c236e=_0x20116a();return null==_0x1c236e?(_0xfe0bdd(),_0x587a92([0x56,0x61,0x6c,0x69,0x64])):_0x587a92(_0x5153ec-_0x1c236e>(0x7753083a^_0x277721)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x587a92([0x74,0x68,0x65,0x6e])](_0x3c1a1b)[_0x587a92([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x407a14=0x536962ba^_0x277721;function _0xfe0bdd(){const _0x112a2d=_0x587a92([0x6c,0x6c,0x63,0x74,0x2d])+_0xa605bf(_0x1b9290(_0x130a95)),_0x473eba=_0x1314c9(_0xa605bf(window[_0x587a92([0x4d,0x61,0x74,0x68])][_0x587a92([0x63,0x65,0x69,0x6c])](_0x5153ec/_0x407a14)));window[_0x587a92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587a92([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112a2d,_0x473eba);}function _0x20116a(){const _0x14eb04=_0x587a92([0x6c,0x6c,0x63,0x74,0x2d])+_0xa605bf(_0x1b9290(_0x130a95)),_0x16e096=window[_0x587a92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x587a92([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14eb04);return _0x16e096?window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1314c9(_0x16e096),0x10)*_0x407a14:null;}function _0x1f5137(_0x166491){return new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496b22,_0x40896a)=>{_0x166491[_0x587a92([0x74,0x68,0x65,0x6e])](_0x496b22,_0x40896a),window[_0x587a92([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40896a,0x535e58fa^_0x277721);});}}_0xbc59d0[_0x587a92([0x6f,0x6e])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57849e,_0x38c54d)=>{if(_0x38c54d[0x0]!=_0x130a95)return _0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38c54d[0x1]={..._0x38c54d[0x1],[_0x587a92([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x85cceb};},{[_0x587a92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587a92([0x68,0x69,0x67,0x68])}),_0xbc59d0[_0x587a92([0x6f,0x6e])](_0x587a92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3fdca2=>{_0x213ec4(_0x3fdca2[_0x587a92([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cfb1c=!0x0,_0x5af6ee(_0x3fdca2[_0x587a92([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x587a92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x587a92([0x6c,0x6f,0x77])}),_0x2504b7[_0x587a92([0x74,0x68,0x65,0x6e])](()=>{_0x3cfb1c||_0x3c1a1b(_0x587a92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17b19c(){return _0xbc59d0[_0x587a92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587a92([0x76,0x69,0x65,0x77])][_0x587a92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x587a92([0x61,0x75,0x74,0x6f]);}function _0x325ce7(){_0xbc59d0[_0x587a92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x587a92([0x76,0x69,0x65,0x77])][_0x587a92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x587a92([0x61,0x75,0x74,0x6f]);}}function _0x5c5f40(_0x3485bc){const _0x482fd5=[new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f86c0=>setTimeout(_0x1f86c0,0x5356b2f6^_0x277721)),_0x2504b7[_0x587a92([0x74,0x68,0x65,0x6e])](()=>new window[(_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2d48=>{let _0x1d3859=0x0;_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x6f,0x6e])](_0x587a92([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e5f2e,_0x219281)=>{_0x219281[0x0][_0x587a92([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d3859++,_0x1d3859==(0x535f89d2^_0x277721)&&(_0x3b2d48(),_0x3e5f2e[_0x587a92([0x6f,0x66,0x66])]());});}))];return window[_0x587a92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x587a92([0x72,0x61,0x63,0x65])](_0x482fd5)[_0x587a92([0x74,0x68,0x65,0x6e])](()=>_0x3485bc);}async function _0x5213a5(){await _0x2504b7,_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4836b9,_0xbc59d0[_0x587a92([0x6d,0x6f,0x64,0x65,0x6c])][_0x587a92([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4836b9,_0xbc59d0[_0x587a92([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x587a92([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x361e7c(_0x5d949a){const _0x19d907=_0x2d8141();_0xbc59d0[_0x19d907]=_0x587a92([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d949a,_0x5d949a!=_0x587a92([0x56,0x61,0x6c,0x69,0x64])&&_0x5213a5();}function _0x2d8141(){const _0x214e75=window[_0x587a92([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x587a92([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x587a92([0x6e,0x6f,0x77])]())[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x587a92([0x2e]),'');let _0x4573a2=_0x587a92([0x68]);for(let _0x369be6=0x0;_0x369be6<_0x214e75[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x369be6+=0x2){let _0x40e224=window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x214e75[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x369be6,_0x369be6+0x2));_0x40e224>=_0x41b444[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40e224-=_0x41b444[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4573a2+=_0x41b444[_0x40e224];}return _0x4573a2;}function _0x3b9ae2(){const _0x4a1442=_0x1d4094[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e]));if(0x3!=_0x4a1442[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f15a7(_0x4a1442[0x1]);function _0x5f15a7(_0x1abf43){const _0x8dd00f=_0x38f47d(_0x1abf43);return _0x8dd00f&&_0x41ece9()?_0x8dd00f:null;function _0x41ece9(){const _0x1f21cf=_0x8dd00f[_0x587a92([0x6a,0x74,0x69])],_0x50ea77=window[_0x587a92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f21cf[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f21cf[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x390fd4={..._0x8dd00f,[_0x587a92([0x6a,0x74,0x69])]:_0x1f21cf[_0x587a92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f21cf[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x390fd4[_0x587a92([0x76,0x63])],_0x1b9290(_0x390fd4)==_0x50ea77;}}}async function _0x3b5636(){let _0x8520d3=!0x0;try{const _0x514578=_0x1d4094[_0x587a92([0x73,0x70,0x6c,0x69,0x74])](_0x587a92([0x2e])),[_0x39205a,_0x7a061b,_0x436271]=_0x514578;return _0x33b04e(_0x39205a),await _0x243ee7(_0x39205a,_0x7a061b,_0x436271),_0x8520d3;}catch{return!0x1;}function _0x33b04e(_0x19a8a5){const _0x250567=_0x38f47d(_0x19a8a5);_0x250567&&_0x250567[_0x587a92([0x61,0x6c,0x67])]==_0x587a92([0x45,0x53,0x32,0x35,0x36])||(_0x8520d3=!0x1);}async function _0x243ee7(_0x1bf10e,_0x5817d8,_0x17ad4c){const _0x1d6126=window[_0x587a92([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x587a92([0x66,0x72,0x6f,0x6d])](_0x21154b(_0x17ad4c),_0x51639e=>_0x51639e[_0x587a92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1caf88=new window[(_0x587a92([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x587a92([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bf10e+_0x587a92([0x2e])+_0x5817d8),_0x305e91=window[_0x587a92([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x587a92([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x305e91)return;const _0xa31f91=await _0x305e91[_0x587a92([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x587a92([0x6a,0x77,0x6b]),_0x415be8,{[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x45,0x43,0x44,0x53,0x41]),[_0x587a92([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x587a92([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x305e91[_0x587a92([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x45,0x43,0x44,0x53,0x41]),[_0x587a92([0x68,0x61,0x73,0x68])]:{[_0x587a92([0x6e,0x61,0x6d,0x65])]:_0x587a92([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa31f91,_0x1d6126,_0x1caf88)||(_0x8520d3=!0x1);}}function _0x38f47d(_0x504492){return _0x504492[_0x587a92([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x587a92([0x65,0x79]))?JSON[_0x587a92([0x70,0x61,0x72,0x73,0x65])](_0x21154b(_0x504492)):null;}function _0x21154b(_0x2c909e){return window[_0x587a92([0x61,0x74,0x6f,0x62])](_0x2c909e[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x587a92([0x2b]))[_0x587a92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x587a92([0x2f])));}function _0x1b9290(_0x5d311e){let _0x2b79e9=0x1505;function _0x1d6c62(_0x2ad644){for(let _0x4dd550=0x0;_0x4dd550<_0x2ad644[_0x587a92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dd550++){const _0x317421=_0x2ad644[_0x587a92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4dd550);_0x2b79e9=(_0x2b79e9<<0x5)+_0x2b79e9+_0x317421,_0x2b79e9&=_0x2b79e9;}}function _0x25f614(_0x50331f){Array[_0x587a92([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50331f)?_0x50331f[_0x587a92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25f614):_0x50331f&&typeof _0x50331f==_0x587a92([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x587a92([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50331f)[_0x587a92([0x73,0x6f,0x72,0x74])]()[_0x587a92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf3c337,_0x45a05e])=>{_0x1d6c62(_0xf3c337),_0x25f614(_0x45a05e);}):_0x1d6c62(window[_0x587a92([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50331f));}return _0x25f614(_0x5d311e),_0x2b79e9>>>0x0;}function _0xa605bf(_0x57b954){return _0x57b954[_0x587a92([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x587a92([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x587a92([0x30]));}function _0x1314c9(_0x1cb8ab){return _0x1cb8ab[_0x587a92([0x73,0x70,0x6c,0x69,0x74])]('')[_0x587a92([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x587a92([0x6a,0x6f,0x69,0x6e])]('');}function _0x4836b9(){}function _0x587a92(_0xe7b090){const _0x43c392=_0x327e;return _0xe7b090[_0x43c392(0x147)](_0x55f44d=>String[_0x43c392(0x122)](_0x55f44d))[_0x43c392(0x12d)]('');}_0x361e7c(await _0x25983a());}(this);}[_0x16664f(0x148)](){const _0x3c8a89=_0x16664f,_0x54eb51=this[_0x3c8a89(0x129)][_0x3c8a89(0x136)][_0x3c8a89(0x104)];_0x54eb51[_0x3c8a89(0x14b)](_0x3c8a89(0x106))&&_0x54eb51[_0x3c8a89(0x115)](_0x3c8a89(0x106),{'allowAttributes':[_0x3c8a89(0x10b)]}),_0x54eb51[_0x3c8a89(0x14b)](_0x3c8a89(0x111))&&_0x54eb51[_0x3c8a89(0x115)](_0x3c8a89(0x111),{'allowAttributes':[_0x3c8a89(0x10b)]});}[_0x16664f(0x130)](){const _0x3628ce=_0x16664f,_0x1d11a2=this[_0x3628ce(0x129)];_0x1d11a2[_0x3628ce(0x124)][_0x3628ce(0x11e)](_0x3628ce(0x102))[_0x3628ce(0x137)]({'model':_0x3628ce(0x10b),'view':_0x3628ce(0x151)}),_0x1d11a2[_0x3628ce(0x124)][_0x3628ce(0x11e)](_0x3628ce(0x139))[_0x3628ce(0x11b)]({'model':{'key':_0x3628ce(0x10b),'value':_0x78c60e=>_0x78c60e[_0x3628ce(0x103)](_0x3628ce(0x151))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b424d=_0x1d11a2[_0x3628ce(0x114)][_0x3628ce(0x112)](_0x3628ce(0x108));_0x2b424d&&this[_0x3628ce(0x126)](_0x2b424d,_0x3628ce(0x133),(_0x5a14fd,[_0x14dd88,_0x341000])=>{const _0x458d86=_0x3628ce;_0x14dd88[_0x458d86(0x144)](_0x458d86(0x10b),_0x341000);});}[_0x16664f(0x125)](){const _0x14e6da=_0x16664f,_0x2344e2=this[_0x14e6da(0x129)][_0x14e6da(0x131)][_0x14e6da(0x112)](_0x14e6da(0x13a))||{},_0xe1ec7=this[_0x14e6da(0x129)][_0x14e6da(0x131)][_0x14e6da(0x112)](_0x14e6da(0x110))||'';this[_0x14e6da(0x154)]=_0x240278(_0x4a4579[_0x14e6da(0x117)],_0x14e6da(0x153),{..._0x2344e2,'pubkey':_0xe1ec7,'ctx-name':_0x14e6da(0x14e)+this[_0x14e6da(0x13d)],'sourceList':'','imgOnly':_0x14e6da(0x12a),'removeCopyright':_0x14e6da(0x12a),'localeName':this[_0x14e6da(0x129)][_0x14e6da(0x13f)][_0x14e6da(0x14a)],'externalSourcesEmbedCss':_0x14e6da(0x150)}),this[_0x14e6da(0x154)][_0x14e6da(0x149)]=_0x24806f=>{const _0xc8a03e=_0x14e6da;if(_0xc8a03e(0x14d)==_0x24806f)return _0xc8a03e(0x116);},_0x4a4579[_0x14e6da(0x117)][_0x14e6da(0x135)][_0x14e6da(0x127)](this[_0x14e6da(0x154)]);}[_0x16664f(0x10e)](){const _0x36b49c=_0x16664f;this[_0x36b49c(0x118)]=_0x240278(_0x4a4579[_0x36b49c(0x117)],_0x36b49c(0x10a),{'ctx-name':_0x36b49c(0x14e)+this[_0x36b49c(0x13d)]}),_0x4a4579[_0x36b49c(0x117)][_0x36b49c(0x135)][_0x36b49c(0x127)](this[_0x36b49c(0x118)]);}[_0x16664f(0x14f)](){const _0x1aadcd=_0x16664f,_0x366d6c=this[_0x1aadcd(0x129)][_0x1aadcd(0x114)][_0x1aadcd(0x112)](_0x1aadcd(0x101));_0x366d6c&&this[_0x1aadcd(0x126)](_0x366d6c,_0x1aadcd(0x134),()=>{const _0x370475=_0x1aadcd,_0x70ad38=this[_0x370475(0x129)][_0x370475(0x136)][_0x370475(0x117)][_0x370475(0x142)][_0x370475(0x105)]();_0x70ad38&&_0x70ad38[_0x370475(0x103)](_0x370475(0x10b))&&this[_0x370475(0x129)][_0x370475(0x12e)][_0x370475(0x143)][_0x370475(0x13e)](_0x370475(0x11a),()=>{const _0x17fccb=_0x370475;_0x30e148(this[_0x17fccb(0x129)],_0x70ad38);});});const _0x4112a5=this[_0x1aadcd(0x129)][_0x1aadcd(0x114)][_0x1aadcd(0x112)](_0x1aadcd(0x107));_0x4112a5&&this[_0x1aadcd(0x126)](_0x4112a5,_0x1aadcd(0x134),()=>{const _0x48b4ae=_0x1aadcd,_0x15e2aa=this[_0x48b4ae(0x129)][_0x48b4ae(0x136)][_0x48b4ae(0x117)][_0x48b4ae(0x142)][_0x48b4ae(0x105)]();_0x15e2aa&&_0x15e2aa[_0x48b4ae(0x103)](_0x48b4ae(0x10b))&&this[_0x48b4ae(0x129)][_0x48b4ae(0x12e)][_0x48b4ae(0x143)][_0x48b4ae(0x13e)](_0x48b4ae(0x11a),()=>{const _0x5163c5=_0x48b4ae;_0x30e148(this[_0x5163c5(0x129)],_0x15e2aa);});});}}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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{global as _0x1414cc,ObservableMixin as _0x2687c7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xb06578}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e14cf}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4b23ee}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xe99f2}from'../../utils/uploadutils.js';import{getImageUrls as _0x4f220e,getImageDimension as _0x233fa8}from'../../utils/editingutils.js';import{isAncestor as _0x49e2e5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x2687c7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x45db73,_0x53d8ab,_0x58985d){super(),this['_editor']=_0x45db73,this['_dialog']=_0x53d8ab,this['_imageElement']=_0x58985d,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 _0x485b4e=this['_imageElement'],_0x31ad51=_0x485b4e['getAttribute']('uploadcareImageId'),_0xaccb5f=_0x485b4e['getAttribute']('src');if(_0x31ad51)await this['_loadImageInfo'](_0x31ad51,_0xaccb5f);else{if(this['_imageCache']['has'](_0xaccb5f)){const _0x34cf0a=this['_imageCache']['get'](_0xaccb5f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34cf0a['url'],this['imageDimension']=_0x34cf0a['dimension'],this['imageId']=_0x34cf0a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x575e32}=this['_editor'],t=_0x575e32['t'],_0x2cb98d=new _0x4b23ee(_0x575e32,this['imageStatus'],this['_attributes']);_0x2cb98d['bind']('status')['to'](this,'imageStatus'),_0x2cb98d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2cb98d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2cb98d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2cb98d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e14cf,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2cb98d,'position':_0xb06578['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2cb98d['focus']();},'onHide':()=>{_0x2cb98d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x244091=>!_0x49e2e5(_0x244091,_0x2cb98d['element'])}});}['_loadImageInfo'](_0x382244,_0xef308){return _0xe99f2['getInfo'](_0x382244,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x33ebe0=>{const {width:_0x326f82,height:_0x16ebb9}=_0x33ebe0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xef308,this['imageDimension']={'width':_0x326f82,'height':_0x16ebb9},this['imageId']=_0x382244;})['catch'](_0x522e79=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x522e79['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35986c,_0x3224c0){return this['_getImageAsFile'](_0x35986c)['then'](_0xb5e09b=>_0xe99f2['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':_0x3224c0['signal'],'file':_0xb5e09b,'onProgress':_0x4ebb79=>{_0x4ebb79&&_0x4ebb79['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ebb79['value']));}}))['then'](_0x3558b6=>{const {width:_0x2d4ce8,height:_0x3de81d}=_0x3558b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3558b6['cdnUrl'],this['imageDimension']={'width':_0x2d4ce8,'height':_0x3de81d},this['imageId']=_0x3558b6['uuid'],this['imageUploadProgress']=null;const _0x227204=_0x35986c['getAttribute']('src');this['_imageCache']['set'](_0x227204,{'id':_0x3558b6['uuid'],'url':_0x3558b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x374317=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x374317['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x42a0da,_0xe982ac){_0x42a0da['on']('apply',(_0x5d5eee,_0x14a8c8)=>{this['_replaceImage'](_0xe982ac,_0x14a8c8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x42a0da['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x42a0da['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1dce1f,_0x12b312,_0x32a60b){const _0x310ddd=this['_editor'],{width:_0x5c91b0,height:_0x277fa0}=_0x233fa8(_0x12b312,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3de81f,imageSources:_0x62f94d}=_0x4f220e(_0x12b312,_0x5c91b0);_0x310ddd['model']['change'](_0xf3696b=>{if('$graveyard'===_0x1dce1f['root']['rootName']){_0x310ddd['execute']('insertImage',{'imageType':_0x1dce1f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1dce1f['getAttributes']()),'uploadcareImageId':_0x32a60b,'src':_0x3de81f,'sources':_0x62f94d,'width':_0x5c91b0,'height':_0x277fa0}});const _0x2e0021=_0x1dce1f['getChildren']();_0x1dce1f=_0x310ddd['model']['document']['selection']['getSelectedElement']();for(const _0x2c8ed8 of _0x2e0021)_0xf3696b['append'](_0xf3696b['cloneElement'](_0x2c8ed8),_0x1dce1f);}else _0xf3696b['setSelection'](_0x1dce1f,'on'),_0x310ddd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1dce1f['getAttributes']()),'uploadcareImageId':_0x32a60b,'src':_0x3de81f,'sources':_0x62f94d,'width':_0x5c91b0,'height':_0x277fa0},_0x1dce1f);_0xf3696b['setSelection'](_0x1dce1f,'on');});}async['_getImageAsFile'](_0x1fbc25){const _0x23cd98=_0x1414cc['window'],_0x3ead22=_0x1414cc['document']['location']['href'],_0x308e66=new _0x23cd98['URL'](_0x1fbc25['getAttribute']('src'),_0x3ead22);if('data:'===_0x308e66['protocol']){const _0x1eda93=_0x308e66['href']['split'](','),_0x1f1097=_0x1eda93[0x0]['match'](/:(.*?);/)[0x1],_0x1dd375=_0x1f1097['split']('/')[0x1],_0x219da8=_0x23cd98['atob'](_0x1eda93[_0x1eda93['length']-0x1]);let _0x265868=_0x219da8['length'];const _0xcd3675=new _0x23cd98['Uint8Array'](_0x265868);for(;_0x265868--;)_0xcd3675[_0x265868]=_0x219da8['charCodeAt'](_0x265868);return new _0x23cd98['File']([_0xcd3675],'image.'+_0x1dd375,{'type':_0x1f1097});}const _0x5329ca=_0x308e66['href']['split']('/'),_0x2f7128=_0x5329ca[_0x5329ca['length']-0x1],_0x4947ae=_0x2f7128['split']('.')[0x1];return _0x23cd98['fetch'](_0x308e66['href'])['then'](_0x397dbe=>_0x397dbe['clone']()['blob']())['then'](_0x502a8e=>new _0x23cd98['File']([_0x502a8e],_0x2f7128,{'type':'image/'+_0x4947ae}));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
(function(_0x38118b,_0x3a0e89){const _0x242f84=_0xb165,_0x1217ec=_0x38118b();while(!![]){try{const _0xc46d04=-parseInt(_0x242f84(0x12b))/0x1*(-parseInt(_0x242f84(0x12d))/0x2)+parseInt(_0x242f84(0x131))/0x3*(-parseInt(_0x242f84(0x12f))/0x4)+-parseInt(_0x242f84(0x134))/0x5*(-parseInt(_0x242f84(0x132))/0x6)+-parseInt(_0x242f84(0x138))/0x7*(parseInt(_0x242f84(0x13e))/0x8)+parseInt(_0x242f84(0x129))/0x9*(parseInt(_0x242f84(0x12e))/0xa)+parseInt(_0x242f84(0x130))/0xb*(parseInt(_0x242f84(0x13c))/0xc)+parseInt(_0x242f84(0x135))/0xd*(-parseInt(_0x242f84(0x136))/0xe);if(_0xc46d04===_0x3a0e89)break;else _0x1217ec['push'](_0x1217ec['shift']());}catch(_0x3e60df){_0x1217ec['push'](_0x1217ec['shift']());}}}(_0x13a1,0xb581d));function _0x13a1(){const _0x3c2701=['1410VtBUbO','4VjerNI','10489325WZMPcQ','2557173MbZlMX','77088XVjkPH','set','140MeJrpT','91AdLuPx','725074mLabGl','bindTemplate','161chVMdD','imageSrc','setTemplate','uc-light','12lFqVad','uc-cloud-image-editor','247232byzkir','71001LRHqzt','ck-uploadcare-theme','31wBnDGP','image-edit','15710ErHTsO'];_0x13a1=function(){return _0x3c2701;};return _0x13a1();}import{View as _0x743f93}from'ckeditor5/src/ui.js';function _0xb165(_0x224c68,_0x10db8f){const _0x13a13e=_0x13a1();return _0xb165=function(_0xb165f2,_0x55a3e3){_0xb165f2=_0xb165f2-0x129;let _0x581cdc=_0x13a13e[_0xb165f2];return _0x581cdc;},_0xb165(_0x224c68,_0x10db8f);}export class UploadcareImageEditFormEditingView extends _0x743f93{constructor(_0x51157e,_0x975baa){const _0xc9abe5=_0xb165;super(_0x51157e);const _0x4b1a44=this[_0xc9abe5(0x137)];this[_0xc9abe5(0x133)](_0xc9abe5(0x139),''),this[_0xc9abe5(0x13a)]({'tag':_0xc9abe5(0x13d),'attributes':{..._0x975baa,'class':[_0xc9abe5(0x13b),_0xc9abe5(0x12a)],'ctx-name':_0xc9abe5(0x12c),'cdn-url':_0x4b1a44['to'](_0xc9abe5(0x139))}});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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{IconError as _0x395cd4}from'ckeditor5/src/icons.js';import{ButtonView as _0x4dc7ce,IconView as _0x56f02d,View as _0x4301ac}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4301ac{constructor(_0x3afb5f){super(_0x3afb5f);const t=_0x3afb5f['t'];this['set']('errorType',null);const _0xf5e120=new _0x4dc7ce(_0x3afb5f);_0xf5e120['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xf5e120['withText']=!0x0,_0xf5e120['class']='ck-button-action',_0xf5e120['on']('execute',()=>{this['fire']('retry');}),_0xf5e120['bind']('isVisible')['to'](this,'errorType',_0x581c4f=>'NotFound'!==_0x581c4f);const _0x5a1f72=new _0x56f02d();_0x5a1f72['content']=_0x395cd4,_0x5a1f72['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17de1d=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':[_0x5a1f72,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17de1d['to']('errorType',_0x334b19=>t('NotFound'!==_0x334b19?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xf5e120]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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{SpinnerView as _0x35721a,View as _0x58e307}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x58e307{constructor(_0x4a7379){super(_0x4a7379);const t=_0x4a7379['t'],_0x2d8a8c=this['bindTemplate'],_0x5dc9d6=new _0x35721a();_0x5dc9d6['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':[_0x5dc9d6,{'text':_0x2d8a8c['to']('imageUploadProgress',_0xc5bdfa=>t('Loading\x20image...')+'\x20('+(_0xc5bdfa||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
const _0x41d3ed=_0x42d6;(function(_0x460cfc,_0x52b0c4){const _0x4a3413=_0x42d6,_0x544b13=_0x460cfc();while(!![]){try{const _0xbb6f75=-parseInt(_0x4a3413(0x173))/0x1*(-parseInt(_0x4a3413(0x17a))/0x2)+parseInt(_0x4a3413(0x179))/0x3*(-parseInt(_0x4a3413(0x16c))/0x4)+parseInt(_0x4a3413(0x17f))/0x5+-parseInt(_0x4a3413(0x186))/0x6+-parseInt(_0x4a3413(0x185))/0x7*(-parseInt(_0x4a3413(0x16d))/0x8)+parseInt(_0x4a3413(0x169))/0x9+-parseInt(_0x4a3413(0x152))/0xa;if(_0xbb6f75===_0x52b0c4)break;else _0x544b13['push'](_0x544b13['shift']());}catch(_0x4eed58){_0x544b13['push'](_0x544b13['shift']());}}}(_0x537d,0x31106));import{View as _0xfed544}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x522d0c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x22c314}from'./uploadcareimageeditformerrorview.js';function _0x42d6(_0x213a45,_0x2866f6){const _0x537dff=_0x537d();return _0x42d6=function(_0x42d60e,_0x526a2f){_0x42d60e=_0x42d60e-0x150;let _0x366f96=_0x537dff[_0x42d60e];return _0x366f96;},_0x42d6(_0x213a45,_0x2866f6);}function _0x537d(){const _0xd99669=['_editingView','querySelector','_addErrorViewListeners','_errorView','1169NSjAOX','2051238qhORAp','detail','target','1074750FUGsmJ','div','once','_focusableView','cdnUrl','addMany','render','error','change:status','nodeName','observe','retry','apply','uploading','_addUploadcareImageEditorListeners','_setView','status','add','addEventListener','cancel','element','clear','uc-cloud-image-editor','1019106xXKgXL','addedNodes','setTemplate','12WtUmEM','5392SbauKx','_loadingView','toLowerCase','ck-reset_all-excluded','ready','disconnect','393374wqaSTI','_items','focus','ck-uploadcare-form','createCollection','filter','114333pyCfLx','2SWgMSp','length','_waitForImageEditorComponent','getFocusableElement','fire','727405rQiNwU','set'];_0x537d=function(){return _0xd99669;};return _0x537d();}import{UploadcareImageEditFormEditingView as _0x37fe1c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x14331a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x14331a{[_0x41d3ed(0x174)];[_0x41d3ed(0x16e)];[_0x41d3ed(0x184)];[_0x41d3ed(0x181)];[_0x41d3ed(0x155)];constructor(_0x1fe4bc,_0x462cb1,_0x1c4bae){const _0x7ff21b=_0x41d3ed;super(_0x1fe4bc),this[_0x7ff21b(0x174)]=this[_0x7ff21b(0x177)](),this[_0x7ff21b(0x16e)]=new _0x522d0c(_0x1fe4bc),this[_0x7ff21b(0x184)]=new _0x22c314(_0x1fe4bc),this[_0x7ff21b(0x181)]=new _0x37fe1c(_0x1fe4bc,_0x1c4bae),this[_0x7ff21b(0x155)]=new _0xfed544(_0x1fe4bc),this[_0x7ff21b(0x155)][_0x7ff21b(0x16b)](this[_0x7ff21b(0x17d)]()),this[_0x7ff21b(0x180)](_0x7ff21b(0x162),_0x462cb1),this[_0x7ff21b(0x16b)]({'tag':_0x7ff21b(0x153),'attributes':{'class':['ck',_0x7ff21b(0x170),_0x7ff21b(0x176)],'tabindex':'-1'},'children':this[_0x7ff21b(0x174)]}),this[_0x7ff21b(0x161)](),this[_0x7ff21b(0x154)](_0x7ff21b(0x158),()=>{const _0x4f5df5=_0x7ff21b;this[_0x4f5df5(0x17c)](this[_0x4f5df5(0x166)],_0x2aa207=>{const _0xc633f5=_0x4f5df5;this[_0xc633f5(0x160)](_0x2aa207);});}),this['on'](_0x7ff21b(0x15a),()=>{const _0xe3cadd=_0x7ff21b;this[_0xe3cadd(0x161)]();}),this[_0x7ff21b(0x183)]();}[_0x41d3ed(0x175)](){const _0x3366d7=_0x41d3ed;this[_0x3366d7(0x166)][_0x3366d7(0x175)]();}[_0x41d3ed(0x161)](){const _0x1ebc85=_0x41d3ed;switch(this[_0x1ebc85(0x174)][_0x1ebc85(0x167)](),this[_0x1ebc85(0x162)]){case _0x1ebc85(0x15f):this[_0x1ebc85(0x174)][_0x1ebc85(0x163)](this[_0x1ebc85(0x16e)]);break;case _0x1ebc85(0x159):this[_0x1ebc85(0x174)][_0x1ebc85(0x163)](this[_0x1ebc85(0x184)]);break;case _0x1ebc85(0x171):this[_0x1ebc85(0x174)][_0x1ebc85(0x157)]([this[_0x1ebc85(0x181)],this[_0x1ebc85(0x155)]]);}}[_0x41d3ed(0x17c)](_0x25c50e,_0x23cfcf){const _0x5f0660=_0x41d3ed,_0x3dc206=_0x5f0660(0x168),_0x20ec29=_0x25c50e[_0x5f0660(0x182)](_0x3dc206);if(_0x20ec29)return _0x23cfcf(_0x20ec29);const _0x2269f7=new MutationObserver(_0x36d4ad=>{const _0xc2770d=_0x5f0660,_0x579854=_0x36d4ad[_0xc2770d(0x178)](_0x1196a8=>_0x1196a8[_0xc2770d(0x151)]===_0x25c50e&&_0x1196a8[_0xc2770d(0x16a)][_0xc2770d(0x17b)]>0x0&&_0x1196a8[_0xc2770d(0x16a)][0x0][_0xc2770d(0x15b)][_0xc2770d(0x16f)]()===_0x3dc206);_0x579854[_0xc2770d(0x17b)]&&(_0x2269f7[_0xc2770d(0x172)](),_0x23cfcf(_0x579854[0x0][_0xc2770d(0x16a)][0x0]));});_0x2269f7[_0x5f0660(0x15c)](_0x25c50e,{'childList':!0x0,'subtree':!0x0});}[_0x41d3ed(0x160)](_0x4bf05f){const _0x211d7e=_0x41d3ed;_0x4bf05f[_0x211d7e(0x164)](_0x211d7e(0x15e),_0x5e9925=>{const _0x1badfb=_0x211d7e;this[_0x1badfb(0x17e)](_0x1badfb(0x15e),{'imageSrc':_0x5e9925[_0x1badfb(0x150)][_0x1badfb(0x156)]});}),_0x4bf05f[_0x211d7e(0x164)](_0x211d7e(0x165),()=>{const _0x2d8fe9=_0x211d7e;this[_0x2d8fe9(0x17e)](_0x2d8fe9(0x165));});}[_0x41d3ed(0x183)](){const _0x1a31fb=_0x41d3ed;this[_0x1a31fb(0x184)]['on'](_0x1a31fb(0x15d),()=>{const _0x1fe540=_0x1a31fb;this[_0x1fe540(0x17e)](_0x1fe540(0x15d));});}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
function _0x79bd(_0x307258,_0x12b204){const _0x2d9b6d=_0x2d9b();return _0x79bd=function(_0x79bd09,_0x4b5042){_0x79bd09=_0x79bd09-0x183;let _0x2bb1d4=_0x2d9b6d[_0x79bd09];return _0x2bb1d4;},_0x79bd(_0x307258,_0x12b204);}const _0x3c1462=_0x79bd;(function(_0x4f010c,_0x5e5691){const _0x40df74=_0x79bd,_0x18c8dd=_0x4f010c();while(!![]){try{const _0x24344e=-parseInt(_0x40df74(0x188))/0x1+-parseInt(_0x40df74(0x19e))/0x2+-parseInt(_0x40df74(0x198))/0x3*(-parseInt(_0x40df74(0x18f))/0x4)+parseInt(_0x40df74(0x19c))/0x5+-parseInt(_0x40df74(0x183))/0x6+-parseInt(_0x40df74(0x19f))/0x7*(-parseInt(_0x40df74(0x197))/0x8)+parseInt(_0x40df74(0x187))/0x9*(parseInt(_0x40df74(0x19b))/0xa);if(_0x24344e===_0x5e5691)break;else _0x18c8dd['push'](_0x18c8dd['shift']());}catch(_0x374cb7){_0x18c8dd['push'](_0x18c8dd['shift']());}}}(_0x2d9b,0x66e21));import{Command as _0x35c923}from'ckeditor5/src/core.js';function _0x2d9b(){const _0x45ea97=['model','226368hHVvwn','15442gjXMeC','isActive','config','getSelectedElement','2726400SuXdjw','imageInline','uploadcare.allowExternalImagesEditing','imageBlock','22986YSwPhm','813846xYHCud','element','unbind','refresh','requires','imageEditController','_isEditable','348pcKZqg','editor','bind','execute','get','document','set','isEnabled','2696OaqLQd','23619lfcfdF','selection','plugins','1290frjkbA','225000LcoTYm'];_0x2d9b=function(){return _0x45ea97;};return _0x2d9b();}import{Dialog as _0xe82127}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x425e69}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xa20337}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x35c923{[_0x3c1462(0x18d)];static get[_0x3c1462(0x18c)](){return[_0xe82127];}[_0x3c1462(0x18e)];constructor(_0x297386){const _0x1da9a2=_0x3c1462;super(_0x297386),this[_0x1da9a2(0x18d)]=void 0x0,this[_0x1da9a2(0x18e)]=_0xa20337(_0x297386[_0x1da9a2(0x1a1)][_0x1da9a2(0x193)](_0x1da9a2(0x185))||[]),this[_0x1da9a2(0x195)]({'isActive':!0x1});}[_0x3c1462(0x18b)](){const _0x582c71=_0x3c1462,_0xac1d77=this[_0x582c71(0x190)][_0x582c71(0x19d)][_0x582c71(0x194)][_0x582c71(0x199)][_0x582c71(0x1a2)]();this[_0x582c71(0x196)]=this[_0x582c71(0x18e)](_0xac1d77);}[_0x3c1462(0x192)](){const _0x20c040=_0x3c1462;this[_0x20c040(0x18d)]&&(this[_0x20c040(0x18a)](_0x20c040(0x1a0)),this[_0x20c040(0x18d)]=void 0x0);const _0x2602f6=this[_0x20c040(0x190)][_0x20c040(0x19d)][_0x20c040(0x194)][_0x20c040(0x199)][_0x20c040(0x1a2)]();_0x2602f6&&(_0x2602f6['is'](_0x20c040(0x189),_0x20c040(0x186))||_0x2602f6['is'](_0x20c040(0x189),_0x20c040(0x184)))&&(this[_0x20c040(0x18d)]=new _0x425e69(this[_0x20c040(0x190)],this[_0x20c040(0x190)][_0x20c040(0x19a)][_0x20c040(0x193)](_0xe82127),_0x2602f6),this[_0x20c040(0x191)](_0x20c040(0x1a0))['to'](this[_0x20c040(0x18d)],_0x20c040(0x1a0)));}}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2026, 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
|
-
const _0x157d0f=_0x1d59;function _0x2e75(){const _0x3af509=['3378912rqunQK','16098wcAMMP','commands','5rxTWqt','ImageEditing','UploadcareImageEditEditing','uploadcareImageReplace','add','requires','pluginName','isPremiumPlugin','isOfficialPlugin','640142CEbhnV','32nFzagc','ImageUtils','uploadcareImageEdit','init','350532jJmHiF','3316844xdoUaf','20118096fsKVcM','5671206yVwmKZ'];_0x2e75=function(){return _0x3af509;};return _0x2e75();}(function(_0x4f5a57,_0x4fc1b2){const _0x1e9283=_0x1d59,_0x23a7c0=_0x4f5a57();while(!![]){try{const _0xb5c52f=parseInt(_0x1e9283(0x10c))/0x1+parseInt(_0x1e9283(0x10d))/0x2*(-parseInt(_0x1e9283(0x101))/0x3)+parseInt(_0x1e9283(0xfd))/0x4*(-parseInt(_0x1e9283(0x103))/0x5)+-parseInt(_0x1e9283(0xff))/0x6+-parseInt(_0x1e9283(0x111))/0x7+-parseInt(_0x1e9283(0x100))/0x8+parseInt(_0x1e9283(0xfe))/0x9;if(_0xb5c52f===_0x4fc1b2)break;else _0x23a7c0['push'](_0x23a7c0['shift']());}catch(_0x64f2a3){_0x23a7c0['push'](_0x23a7c0['shift']());}}}(_0x2e75,0x8483a));import{Plugin as _0x33964e}from'ckeditor5/src/core.js';import{Notification as _0x371819}from'ckeditor5/src/ui.js';function _0x1d59(_0x5ded75,_0x381f13){const _0x2e75ad=_0x2e75();return _0x1d59=function(_0x1d5910,_0x5641d0){_0x1d5910=_0x1d5910-0xfd;let _0x2ec159=_0x2e75ad[_0x1d5910];return _0x2ec159;},_0x1d59(_0x5ded75,_0x381f13);}import{UploadcareImageEditCommand as _0x25f70a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x15ccd7}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x45e422}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x33964e{static get[_0x157d0f(0x109)](){const _0x343259=_0x157d0f;return _0x343259(0x105);}static get[_0x157d0f(0x108)](){const _0x384ffd=_0x157d0f;return[_0x45e422,_0x371819,_0x384ffd(0x10e),_0x384ffd(0x104)];}static get[_0x157d0f(0x10b)](){return!0x0;}static get[_0x157d0f(0x10a)](){return!0x0;}[_0x157d0f(0x110)](){const _0x51c901=_0x157d0f,{editor:_0x43522b}=this;_0x43522b[_0x51c901(0x102)][_0x51c901(0x107)](_0x51c901(0x10f),new _0x25f70a(_0x43522b)),_0x43522b[_0x51c901(0x102)][_0x51c901(0x107)](_0x51c901(0x106),new _0x15ccd7(_0x43522b));}}
|