@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260118.0 → 0.0.0-nightly-next-20260118.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(_0x41976a,_0x2f763a){var _0x6cbe1b=_0x3f55,_0x269fdc=_0x41976a();while(!![]){try{var _0x20692c=parseInt(_0x6cbe1b(0x129))/0x1+parseInt(_0x6cbe1b(0x12f))/0x2*(-parseInt(_0x6cbe1b(0x12e))/0x3)+parseInt(_0x6cbe1b(0x128))/0x4*(-parseInt(_0x6cbe1b(0x12b))/0x5)+parseInt(_0x6cbe1b(0x12d))/0x6*(-parseInt(_0x6cbe1b(0x127))/0x7)+parseInt(_0x6cbe1b(0x12a))/0x8+-parseInt(_0x6cbe1b(0x126))/0x9+-parseInt(_0x6cbe1b(0x12c))/0xa*(-parseInt(_0x6cbe1b(0x130))/0xb);if(_0x20692c===_0x2f763a)break;else _0x269fdc['push'](_0x269fdc['shift']());}catch(_0x1fd779){_0x269fdc['push'](_0x269fdc['shift']());}}}(_0x8dfa,0x82e7b));function _0x8dfa(){var _0x107b06=['309322EbXtXE','1880952hWTPHk','10145hDofwB','380FIpjoO','1362vEHpqw','5259ekhINy','350npWznz','699809aqIcIF','332001VJFcSh','32046UwTQpZ','2056prbDrC'];_0x8dfa=function(){return _0x107b06;};return _0x8dfa();}export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x3f55(_0x4c53da,_0x3f18bf){var _0x8dfaee=_0x8dfa();return _0x3f55=function(_0x3f55fc,_0x419505){_0x3f55fc=_0x3f55fc-0x126;var _0x723bea=_0x8dfaee[_0x3f55fc];return _0x723bea;},_0x3f55(_0x4c53da,_0x3f18bf);}export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';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 _0x568858=_0x4ff2;(function(_0x5b90d9,_0x5b18a5){const _0x41ab90=_0x4ff2,_0x132eac=_0x5b90d9();while(!![]){try{const _0x4f5e8a=-parseInt(_0x41ab90(0x1e8))/0x1+parseInt(_0x41ab90(0x1db))/0x2*(parseInt(_0x41ab90(0x203))/0x3)+-parseInt(_0x41ab90(0x1e7))/0x4+-parseInt(_0x41ab90(0x1ce))/0x5*(-parseInt(_0x41ab90(0x1d7))/0x6)+-parseInt(_0x41ab90(0x1c3))/0x7*(-parseInt(_0x41ab90(0x1ed))/0x8)+parseInt(_0x41ab90(0x1cd))/0x9*(parseInt(_0x41ab90(0x1d0))/0xa)+parseInt(_0x41ab90(0x1fc))/0xb;if(_0x4f5e8a===_0x5b18a5)break;else _0x132eac['push'](_0x132eac['shift']());}catch(_0x228a48){_0x132eac['push'](_0x132eac['shift']());}}}(_0x1b23,0xa57f6));function _0x1b23(){const _0x41a7c8=['element','_editing','width','1183464IKtMXy','74335NTRSUS','getOutputCollectionState','30MBDSZQ','insertImage','length','editing','getSelectedElement','Insert','setAttribute','18Zzdshu','image','Local','stopListening','760KCZwHw','configElement','getAPI','status','_initListeners','getLastPosition','setCurrentActivity','selection','stopDelegating','model','imageInfo','_insertAsset','571880QhqPMg','822937MmeVis','_initDialog','attributes','document','removeAllFiles','6736meReDq','plugins','view','change','initFlow','focus','hide','Replace','EDITOR_TOP_CENTER','ucContextId','text','doneFlow','done-click','removeSelectionAttribute','allEntries','6225164wLQAxt','ctxElement','get','_api','uploadCare','linkHref','_formView','1347fmfjHK','_editor','detail','imageInline','addEventListener','_dialog','imageBlock','source-list','execute','destroy','show','3892kMZSnn','_insertImage','_type','uuid','setSelection','isOpen','idle'];_0x1b23=function(){return _0x41a7c8;};return _0x1b23();}import{IconUploadcareImageUpload as _0x58f641}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x234df8}from'ckeditor5/src/utils.js';function _0x4ff2(_0x24feb3,_0x4131bd){const _0x1b23d2=_0x1b23();return _0x4ff2=function(_0x4ff244,_0x5657ae){_0x4ff244=_0x4ff244-0x1bb;let _0x52d98d=_0x1b23d2[_0x4ff244];return _0x52d98d;},_0x4ff2(_0x24feb3,_0x4131bd);}import{Dialog as _0x4a8e6b,DialogViewPosition as _0x567cd8}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x305aa5}from'./uploadcareformview.js';import{UploadcareSource as _0x254f0e}from'../uploadcareconfig.js';import{getTranslation as _0x381d0e}from'../utils/common-translations.js';import{getImageUrls as _0x731c54,getImageDimension as _0x108d2d}from'../utils/editingutils.js';import{isAncestor as _0x33db86}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x234df8(){[_0x568858(0x204)];[_0x568858(0x1bd)];[_0x568858(0x1cb)];[_0x568858(0x1ff)];[_0x568858(0x1c5)]=null;[_0x568858(0x202)]=null;constructor(_0x25ac00,_0x5cdd8d,_0xea33c1){const _0x4d9e00=_0x568858;super(),this[_0x4d9e00(0x204)]=_0x25ac00,this[_0x4d9e00(0x1cb)]=_0x5cdd8d,this[_0x4d9e00(0x1bd)]=_0x25ac00[_0x4d9e00(0x1ee)][_0x4d9e00(0x1fe)](_0x4a8e6b),this[_0x4d9e00(0x1ff)]=_0x5cdd8d[_0x4d9e00(0x1fd)][_0x4d9e00(0x1dd)](),this[_0x4d9e00(0x1c5)]=_0xea33c1,this[_0x4d9e00(0x1cb)][_0x4d9e00(0x1dc)][_0x4d9e00(0x1d6)](_0x4d9e00(0x1bf),this[_0x4d9e00(0x1c5)]),this[_0x4d9e00(0x1e9)](),this[_0x4d9e00(0x1df)](),this[_0x4d9e00(0x1ff)][_0x4d9e00(0x1f1)]();}[_0x568858(0x1c1)](){const _0x1d6dc4=_0x568858;this[_0x1d6dc4(0x202)]&&(this[_0x1d6dc4(0x202)][_0x1d6dc4(0x1c1)](),this[_0x1d6dc4(0x202)]=null),this[_0x1d6dc4(0x1ff)]&&this[_0x1d6dc4(0x1ff)][_0x1d6dc4(0x1f8)](),this[_0x1d6dc4(0x1da)](),this[_0x1d6dc4(0x1e3)]();}[_0x568858(0x1e9)](){const _0x1e2005=_0x568858,{locale:_0xde9866,model:_0x42a818}=this[_0x1e2005(0x204)],_0x4a1ac1=_0x42a818[_0x1e2005(0x1eb)][_0x1e2005(0x1e2)][_0x1e2005(0x1d4)](),_0x2807a9=_0x4a1ac1&&(_0x4a1ac1['is'](_0x1e2005(0x1ca),_0x1e2005(0x1be))||_0x4a1ac1['is'](_0x1e2005(0x1ca),_0x1e2005(0x1bb)));this[_0x1e2005(0x202)]=new _0x305aa5(_0xde9866,this[_0x1e2005(0x1cb)][_0x1e2005(0x1f6)]),this[_0x1e2005(0x1bd)][_0x1e2005(0x1c2)]({'id':_0x1e2005(0x200),'icon':_0x58f641,'title':_0x381d0e(_0xde9866,this[_0x1e2005(0x1c5)],_0x2807a9?_0x1e2005(0x1f4):_0x1e2005(0x1d5))[_0x1e2005(0x1f7)],'content':this[_0x1e2005(0x202)],'position':_0x567cd8[_0x1e2005(0x1f5)],'isModal':!0x0,'onShow':()=>{const _0x338992=_0x1e2005;this[_0x338992(0x202)][_0x338992(0x1f2)]();},'onHide':()=>{const _0x5673ca=_0x1e2005;this[_0x5673ca(0x1ff)][_0x5673ca(0x1ec)](),this[_0x5673ca(0x204)][_0x5673ca(0x1d3)][_0x5673ca(0x1ef)][_0x5673ca(0x1f2)](),this[_0x5673ca(0x1c1)]();},'keystrokeHandlerOptions':{'filter':_0x1fee67=>!_0x33db86(_0x1fee67,this[_0x1e2005(0x202)][_0x1e2005(0x1ca)])}});}[_0x568858(0x1df)](){const _0x5ec6b9=_0x568858;this[_0x5ec6b9(0x1cb)][_0x5ec6b9(0x1fd)][_0x5ec6b9(0x1bc)](_0x5ec6b9(0x1f9),()=>{const _0x18d088=_0x5ec6b9,{allEntries:_0xb3780e}=this[_0x18d088(0x1ff)][_0x18d088(0x1cf)]();this[_0x18d088(0x204)][_0x18d088(0x1e4)][_0x18d088(0x1f0)](_0x9b3520=>{const _0x33a739=_0x18d088,_0x8602f=_0xb3780e[_0x33a739(0x1d2)];for(const _0x201bfb of _0xb3780e){const _0x2dcd1e=_0x201bfb===_0xb3780e[_0x8602f-0x1],{cdnUrl:_0x44ec66,fileInfo:_0x4f1cea}=_0x201bfb;if(!_0x44ec66||!_0x4f1cea)continue;const {width:_0x4b87f0,height:_0x131435}=_0x4f1cea[_0x33a739(0x1e5)],_0x5ef64f=_0x108d2d(_0x44ec66,_0x4b87f0,_0x131435),_0x501055=_0x731c54(_0x44ec66,_0x5ef64f[_0x33a739(0x1cc)]),_0x57ab87={'id':_0x4f1cea[_0x33a739(0x1c6)],'type':_0x33a739(0x1d8),'attributes':{'imageDimension':_0x5ef64f,..._0x501055}};this[_0x33a739(0x1e6)](_0x57ab87,_0x2dcd1e,_0x9b3520);}}),this[_0x18d088(0x1bd)][_0x18d088(0x1f3)]();}),this[_0x5ec6b9(0x1cb)][_0x5ec6b9(0x1fd)][_0x5ec6b9(0x1bc)](_0x5ec6b9(0x1f0),_0x149069=>{const _0x5114c7=_0x5ec6b9;_0x5114c7(0x1c9)===_0x149069[_0x5114c7(0x205)][_0x5114c7(0x1de)]&&!_0x149069[_0x5114c7(0x205)][_0x5114c7(0x1fb)][_0x5114c7(0x1d2)]&&this[_0x5114c7(0x1bd)][_0x5114c7(0x1c8)]&&(this[_0x5114c7(0x1c5)]===_0x254f0e[_0x5114c7(0x1d9)]?this[_0x5114c7(0x1ff)][_0x5114c7(0x1e1)](_0x254f0e[_0x5114c7(0x1d9)]):this[_0x5114c7(0x1ff)][_0x5114c7(0x1f1)]());});}[_0x568858(0x1e6)](_0x2932f4,_0x1ee473,_0x41d0d4){const _0x1f8408=_0x568858,_0x1a9641=this[_0x1f8408(0x204)][_0x1f8408(0x1e4)][_0x1f8408(0x1eb)][_0x1f8408(0x1e2)],_0x2259f8=_0x1a9641[_0x1f8408(0x1d4)](),_0x2ec564=!(!_0x2259f8||!_0x2259f8['is'](_0x1f8408(0x1ca),_0x1f8408(0x1bb)));_0x41d0d4[_0x1f8408(0x1fa)](_0x1f8408(0x201)),this[_0x1f8408(0x1c4)](_0x2932f4,_0x2ec564),_0x1ee473||_0x41d0d4[_0x1f8408(0x1c7)](_0x1a9641[_0x1f8408(0x1e0)]());}[_0x568858(0x1c4)](_0x294d3c,_0x12646b){const _0x19e11a=_0x568858,_0x886c41=this[_0x19e11a(0x204)],{imageDimension:_0xd33b0f,imageFallbackUrl:_0x5f0bec,imageSources:_0x16dd56}=_0x294d3c[_0x19e11a(0x1ea)];_0x886c41[_0x19e11a(0x1c0)](_0x19e11a(0x1d1),{'imageType':_0x12646b?_0x19e11a(0x1bb):null,'source':{'uploadcareImageId':_0x294d3c['id'],'src':_0x5f0bec,'sources':_0x16dd56,..._0xd33b0f}});}}
|
|
@@ -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 _0x1190(_0x29e458,_0x4b29a1){var _0x4cb33a=_0x4cb3();return _0x1190=function(_0x119008,_0x1284cf){_0x119008=_0x119008-0x1c9;var _0x16c9e2=_0x4cb33a[_0x119008];return _0x16c9e2;},_0x1190(_0x29e458,_0x4b29a1);}var _0x17221c=_0x1190;(function(_0x490105,_0x2bd023){var _0x16ab1d=_0x1190,_0x7c1cd7=_0x490105();while(!![]){try{var _0x3e1be1=-parseInt(_0x16ab1d(0x1dd))/0x1*(-parseInt(_0x16ab1d(0x1d5))/0x2)+parseInt(_0x16ab1d(0x1d6))/0x3*(-parseInt(_0x16ab1d(0x1cf))/0x4)+parseInt(_0x16ab1d(0x1d7))/0x5+-parseInt(_0x16ab1d(0x1cd))/0x6*(parseInt(_0x16ab1d(0x1de))/0x7)+parseInt(_0x16ab1d(0x1dc))/0x8+-parseInt(_0x16ab1d(0x1c9))/0x9+parseInt(_0x16ab1d(0x1ce))/0xa*(-parseInt(_0x16ab1d(0x1d2))/0xb);if(_0x3e1be1===_0x2bd023)break;else _0x7c1cd7['push'](_0x7c1cd7['shift']());}catch(_0xc57b54){_0x7c1cd7['push'](_0x7c1cd7['shift']());}}}(_0x4cb3,0xabbaf));function _0x4cb3(){var _0xcca786=['988738SWNrYC','3Omtaqd','3886700AIazzF','element','getFocusableElement','focus','setTemplate','2173408jKARQp','2ckwJfo','1876zCZFjp','108819OTFTeN','ck-uploadcare-theme','ck-reset_all-excluded','uc-file-uploader-inline','23988eIUeNf','370kLtNsP','752604RrASYo','ck-uploadcare-form','div','18623PtrADG','uploader-','uc-light'];_0x4cb3=function(){return _0xcca786;};return _0x4cb3();}import{DialogFocusManagerView as _0x139873}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x139873{constructor(_0x176777,_0x41e737){var _0x1cbaef=_0x1190;super(_0x176777),this[_0x1cbaef(0x1db)]({'tag':_0x1cbaef(0x1d1),'attributes':{'class':['ck',_0x1cbaef(0x1cb),_0x1cbaef(0x1d0)],'tabindex':'-1'},'children':[{'tag':_0x1cbaef(0x1cc),'attributes':{'class':[_0x1cbaef(0x1d4),_0x1cbaef(0x1ca)],'ctx-name':_0x1cbaef(0x1d3)+_0x41e737}},this[_0x1cbaef(0x1d9)]()]});}[_0x17221c(0x1da)](){var _0x71366d=_0x17221c;this[_0x71366d(0x1d8)][_0x71366d(0x1da)]();}}
|
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 _0x19286c=_0x3bfa;(function(_0x38dc2e,_0x30907b){const _0x50c169=_0x3bfa,_0xaca26e=_0x38dc2e();while(!![]){try{const _0x4f4069=parseInt(_0x50c169(0x92))/0x1+-parseInt(_0x50c169(0x81))/0x2+parseInt(_0x50c169(0x7f))/0x3+parseInt(_0x50c169(0x89))/0x4*(-parseInt(_0x50c169(0x83))/0x5)+parseInt(_0x50c169(0x84))/0x6*(parseInt(_0x50c169(0x88))/0x7)+-parseInt(_0x50c169(0x8f))/0x8*(parseInt(_0x50c169(0x90))/0x9)+parseInt(_0x50c169(0x87))/0xa;if(_0x4f4069===_0x30907b)break;else _0xaca26e['push'](_0xaca26e['shift']());}catch(_0x5ccd29){_0xaca26e['push'](_0xaca26e['shift']());}}}(_0x34bd,0x8c03b));function _0x34bd(){const _0x229435=['598143ZVkFTj','defineLocale','558956YzPMGq','pluginName','5ULVYBi','666njTXtW','Uploadcare','locale','10488910GRRMGn','44723zvvHxs','4060436DvYAes','config','_defineLocale','requires','uploadcare.locale','editor','176352sjYGgN','459cIehdZ','uploadcare.uploader.sourceList','1034879iwlDxu','Local','isOfficialPlugin','defineComponents','isPremiumPlugin','get','define','contentLanguage','URL'];_0x34bd=function(){return _0x229435;};return _0x34bd();}import{Plugin as _0x2f4102}from'ckeditor5/src/core.js';import{UploadcareUI as _0xf23c4}from'./uploadcareui.js';import{UploadcareEditing as _0x3a108c}from'./uploadcareediting.js';function _0x3bfa(_0x128df2,_0x3eafe2){const _0x34bdef=_0x34bd();return _0x3bfa=function(_0x3bfa35,_0x3ab629){_0x3bfa35=_0x3bfa35-0x7b;let _0x230482=_0x34bdef[_0x3bfa35];return _0x230482;},_0x3bfa(_0x128df2,_0x3eafe2);}import{UploadcareSource as _0x511f9c}from'./uploadcareconfig.js';import*as _0x51a7ba from'@uploadcare/file-uploader';export class Uploadcare extends _0x2f4102{static get[_0x19286c(0x8c)](){return[_0x3a108c,_0xf23c4];}static get[_0x19286c(0x82)](){const _0x23499c=_0x19286c;return _0x23499c(0x85);}static get[_0x19286c(0x94)](){return!0x0;}static get[_0x19286c(0x96)](){return!0x0;}constructor(_0x4c7e2c){const _0xf38a5c=_0x19286c;super(_0x4c7e2c),_0x4c7e2c[_0xf38a5c(0x8a)][_0xf38a5c(0x7c)](_0xf38a5c(0x91),[_0x511f9c[_0xf38a5c(0x93)],_0x511f9c[_0xf38a5c(0x7e)]]),_0x51a7ba[_0xf38a5c(0x95)](_0x51a7ba),this[_0xf38a5c(0x8b)]();}[_0x19286c(0x8b)](){const _0x3d235f=_0x19286c,_0x1dc2ff=this[_0x3d235f(0x8e)][_0x3d235f(0x8a)][_0x3d235f(0x7b)](_0x3d235f(0x8d)),_0x1c580e=this[_0x3d235f(0x8e)][_0x3d235f(0x86)][_0x3d235f(0x7d)];_0x1dc2ff&&_0x51a7ba[_0x3d235f(0x80)](_0x1c580e,_0x1dc2ff);}}
|
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 _0x26a3f4=_0x1979;(function(_0x3af663,_0x3e3e8e){var _0x24e610=_0x1979,_0x11bb70=_0x3af663();while(!![]){try{var _0x4f989d=-parseInt(_0x24e610(0x14c))/0x1+-parseInt(_0x24e610(0x140))/0x2*(-parseInt(_0x24e610(0x154))/0x3)+-parseInt(_0x24e610(0x155))/0x4+-parseInt(_0x24e610(0x14a))/0x5+-parseInt(_0x24e610(0x144))/0x6*(parseInt(_0x24e610(0x148))/0x7)+-parseInt(_0x24e610(0x151))/0x8+parseInt(_0x24e610(0x14b))/0x9;if(_0x4f989d===_0x3e3e8e)break;else _0x11bb70['push'](_0x11bb70['shift']());}catch(_0x5bb349){_0x11bb70['push'](_0x11bb70['shift']());}}}(_0x3b49,0xb8fab));function _0x1979(_0x180752,_0x20fa8a){var _0x3b4936=_0x3b49();return _0x1979=function(_0x1979d0,_0x2004bb){_0x1979d0=_0x1979d0-0x140;var _0x3fb0e5=_0x3b4936[_0x1979d0];return _0x3fb0e5;},_0x1979(_0x180752,_0x20fa8a);}import{Command as _0x59b8b2}from'ckeditor5/src/core.js';import{Dialog as _0x56bf50}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x505d06}from'./uploadcareediting.js';function _0x3b49(){var _0x467086=['insertImage','7984844ibTsAf','plugins','204035xQVfSJ','27768033BKNgKT','338551OfQGoJ','editor','destroy','_controller','execute','8157008WXFJyH','requires','_editing','54711ncxoeI','5060732PtsHjF','162ERzTZy','commands','_checkEnabled','isEnabled','6kCoVTR','get','refresh'];_0x3b49=function(){return _0x467086;};return _0x3b49();}import{UploadcareController as _0x451007}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x59b8b2{[_0x26a3f4(0x153)];[_0x26a3f4(0x14f)]=null;static get[_0x26a3f4(0x152)](){return[_0x56bf50,_0x505d06];}constructor(_0x3cb540){var _0x3424fc=_0x26a3f4;super(_0x3cb540),this[_0x3424fc(0x153)]=_0x3cb540[_0x3424fc(0x149)][_0x3424fc(0x145)](_0x505d06);}[_0x26a3f4(0x146)](){var _0x54a9a5=_0x26a3f4;this[_0x54a9a5(0x143)]=this[_0x54a9a5(0x142)]();}[_0x26a3f4(0x150)](_0x313af3){var _0x1e5075=_0x26a3f4;this[_0x1e5075(0x14f)]&&(this[_0x1e5075(0x14f)][_0x1e5075(0x14e)](),this[_0x1e5075(0x14f)]=null),this[_0x1e5075(0x14f)]=new _0x451007(this[_0x1e5075(0x14d)],this[_0x1e5075(0x153)],_0x313af3);}[_0x26a3f4(0x142)](){var _0x50e79c=_0x26a3f4;return this[_0x50e79c(0x14d)][_0x50e79c(0x141)][_0x50e79c(0x145)](_0x50e79c(0x147))[_0x50e79c(0x143)];}}
|
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(_0x3ac7a0,_0x32e46c){var _0x38e53c=_0x3f4c,_0x22396a=_0x3ac7a0();while(!![]){try{var _0x99d8ee=-parseInt(_0x38e53c(0x12e))/0x1*(parseInt(_0x38e53c(0x12d))/0x2)+-parseInt(_0x38e53c(0x11b))/0x3+-parseInt(_0x38e53c(0x117))/0x4+parseInt(_0x38e53c(0x11d))/0x5+-parseInt(_0x38e53c(0x11e))/0x6+parseInt(_0x38e53c(0x126))/0x7*(-parseInt(_0x38e53c(0x11f))/0x8)+-parseInt(_0x38e53c(0x12a))/0x9*(-parseInt(_0x38e53c(0x127))/0xa);if(_0x99d8ee===_0x32e46c)break;else _0x22396a['push'](_0x22396a['shift']());}catch(_0x4433bc){_0x22396a['push'](_0x22396a['shift']());}}}(_0x1eec,0xd2f21));function _0x3f4c(_0x299f8e,_0xe40cad){var _0x1eec04=_0x1eec();return _0x3f4c=function(_0x3f4c10,_0x67ce27){_0x3f4c10=_0x3f4c10-0x117;var _0xddef14=_0x1eec04[_0x3f4c10];return _0xddef14;},_0x3f4c(_0x299f8e,_0xe40cad);}export var UploadcareSource;!function(_0x117ef6){var _0x43326=_0x3f4c;_0x117ef6[_0x43326(0x124)]=_0x43326(0x119),_0x117ef6[_0x43326(0x118)]=_0x43326(0x11a),_0x117ef6[_0x43326(0x129)]=_0x43326(0x12b),_0x117ef6[_0x43326(0x128)]=_0x43326(0x120),_0x117ef6[_0x43326(0x12c)]=_0x43326(0x125),_0x117ef6[_0x43326(0x122)]=_0x43326(0x123),_0x117ef6[_0x43326(0x11c)]=_0x43326(0x121);}(UploadcareSource||(UploadcareSource={}));function _0x1eec(){var _0x45da7f=['54jzeNqd','dropbox','Facebook','7558odHtkb','341efrARo','1266292PSJYMh','URL','local','url','1669062htyQpq','OneDrive','2363280kHvDtD','7780188VETkjs','8asafUZ','gdrive','onedrive','GPhotos','gphotos','Local','facebook','10287571GpGzCv','8865490eOTIMr','GDrive','Dropbox'];_0x1eec=function(){return _0x45da7f;};return _0x1eec();}
|
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 _0x24ad03=_0x2a23;(function(_0x5e06e2,_0x4c1dbb){const _0xd97e29=_0x2a23,_0x46e9f1=_0x5e06e2();while(!![]){try{const _0x358db8=-parseInt(_0xd97e29(0x1c1))/0x1*(parseInt(_0xd97e29(0x18f))/0x2)+parseInt(_0xd97e29(0x1a8))/0x3+-parseInt(_0xd97e29(0x19e))/0x4*(-parseInt(_0xd97e29(0x1b5))/0x5)+parseInt(_0xd97e29(0x1a0))/0x6*(parseInt(_0xd97e29(0x1da))/0x7)+-parseInt(_0xd97e29(0x1cc))/0x8+parseInt(_0xd97e29(0x1a1))/0x9*(-parseInt(_0xd97e29(0x1a6))/0xa)+parseInt(_0xd97e29(0x196))/0xb*(parseInt(_0xd97e29(0x1d4))/0xc);if(_0x358db8===_0x4c1dbb)break;else _0x46e9f1['push'](_0x46e9f1['shift']());}catch(_0x3cd0b0){_0x46e9f1['push'](_0x46e9f1['shift']());}}}(_0x11be,0xea44f));function _0x2a23(_0x26c544,_0x53a39c){const _0x11be03=_0x11be();return _0x2a23=function(_0x2a237a,_0x5a66e0){_0x2a237a=_0x2a237a-0x18d;let _0xafbcdc=_0x11be03[_0x2a237a];return _0xafbcdc;},_0x2a23(_0x26c544,_0x53a39c);}import{Plugin as _0x5a8460}from'ckeditor5/src/core.js';import{Dialog as _0x419797}from'ckeditor5/src/ui.js';import{createElement as _0x3732f9,global as _0x454190,uid as _0x36bf33}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3904dc}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1055fc}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5c6bf1}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5a8460{[_0x24ad03(0x1b1)]=null;[_0x24ad03(0x1a5)]=null;static get[_0x24ad03(0x1b7)](){const _0x35a82b=_0x24ad03;return _0x35a82b(0x1d0);}static get[_0x24ad03(0x1be)](){const _0x3bc413=_0x24ad03;return[_0x3bc413(0x199),_0x1055fc,_0x419797];}static get[_0x24ad03(0x1ca)](){return!0x0;}static get[_0x24ad03(0x1bc)](){return!0x0;}[_0x24ad03(0x1a3)];get[_0x24ad03(0x19b)](){const _0xc5f258=_0x24ad03;return this[_0xc5f258(0x1b1)];}get[_0x24ad03(0x1b0)](){const _0x181371=_0x24ad03;return this[_0x181371(0x1a5)];}constructor(_0x4045b4){const _0x1d1157=_0x24ad03;super(_0x4045b4),this[_0x1d1157(0x1a3)]=_0x36bf33();}[_0x24ad03(0x1df)](){const _0x3e103c=_0x24ad03,_0x51cd8a=this[_0x3e103c(0x19d)];_0x51cd8a[_0x3e103c(0x1d9)][_0x3e103c(0x192)](_0x3e103c(0x1ba),new _0x3904dc(_0x51cd8a));}[_0x24ad03(0x1d2)](){const _0x2f595b=_0x24ad03;this[_0x2f595b(0x190)](),this[_0x2f595b(0x19f)](),this[_0x2f595b(0x1cb)](),this[_0x2f595b(0x1de)](),this[_0x2f595b(0x1dd)](),this[_0x2f595b(0x1bb)](this[_0x2f595b(0x19d)],_0x2f595b(0x1dc),()=>{const _0xbfeb48=_0x2f595b;this[_0xbfeb48(0x1b1)]&&(this[_0xbfeb48(0x1b1)][_0xbfeb48(0x1a2)](),this[_0xbfeb48(0x1b1)]=null),this[_0xbfeb48(0x1a5)]&&(this[_0xbfeb48(0x1a5)][_0xbfeb48(0x1a2)](),this[_0xbfeb48(0x1a5)]=null);const _0x5edd12=_0x454190[_0xbfeb48(0x1b3)][_0xbfeb48(0x1c6)](_0xbfeb48(0x1b8));_0x5edd12&&_0x5edd12[_0xbfeb48(0x1a2)]();}),async function(_0xd45921){const _0x124cf2=_0x5d40a7([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]),_0x107e53=0x535f8c3a,_0x1e62f3=0x5358f312^_0x107e53,_0x2f6737=window[_0x5d40a7([0x44,0x61,0x74,0x65])][_0x5d40a7([0x6e,0x6f,0x77])](),_0xaa5f84=_0xd45921[_0x5d40a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42d9fb=new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb97c=>{_0xaa5f84[_0x5d40a7([0x6f,0x6e,0x63,0x65])](_0x5d40a7([0x72,0x65,0x61,0x64,0x79]),_0x4bb97c);}),_0x21843e={[_0x5d40a7([0x6b,0x74,0x79])]:_0x5d40a7([0x45,0x43]),[_0x5d40a7([0x75,0x73,0x65])]:_0x5d40a7([0x73,0x69,0x67]),[_0x5d40a7([0x63,0x72,0x76])]:_0x5d40a7([0x50,0x2d,0x32,0x35,0x36]),[_0x5d40a7([0x78])]:_0x5d40a7([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]),[_0x5d40a7([0x79])]:_0x5d40a7([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]),[_0x5d40a7([0x61,0x6c,0x67])]:_0x5d40a7([0x45,0x53,0x32,0x35,0x36])},_0x139b36=_0xaa5f84[_0x5d40a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d40a7([0x67,0x65,0x74])](_0x5d40a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b5dd7(){let _0x5563e4,_0x798df=null,_0x3e760d=null;try{if(_0x139b36==_0x5d40a7([0x47,0x50,0x4c]))return _0x5d40a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5563e4=_0x5cca55(),!_0x5563e4)return _0x5d40a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5563e4[_0x5d40a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e760d=_0x3528a3(_0x5563e4[_0x5d40a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5563e4[_0x5d40a7([0x6a,0x74,0x69])])),await _0x52e411()?_0x84c5e3()?_0x3d3034()?_0x5d40a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ab126()?(_0x5563e4[_0x5d40a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d40a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x798df=_0x373d80(_0x5d40a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb0e6e6()):_0x5d40a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d40a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d40a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d40a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d3034(){const _0x41d9a3=[_0x5d40a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d40a7([0x74,0x72,0x69,0x61,0x6c])][_0x5d40a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5563e4[_0x5d40a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f6737/0x3e8:0xe10*_0x1e62f3;return _0x5563e4[_0x5d40a7([0x65,0x78,0x70])]<_0x41d9a3;}function _0x84c5e3(){const _0x341f5b=_0x5563e4[_0x5d40a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x341f5b&&(!!_0x341f5b[_0x5d40a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d40a7([0x2a]))||!!_0x341f5b[_0x5d40a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d40a7([0x55,0x50,0x4c,0x43])));}function _0x4ab126(){const _0x3d090b=_0x2a23,_0x1c67ad=_0x5563e4[_0x5d40a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c67ad||0x0==_0x1c67ad[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd19e42}=new URL(window[_0x5d40a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d090b(0x18e)]);if(_0x1c67ad[_0x5d40a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd19e42))return!0x0;const _0x5e0ac7=_0xd19e42[_0x5d40a7([0x73,0x70,0x6c,0x69,0x74])](_0x5d40a7([0x2e]));return _0x1c67ad[_0x5d40a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eba50=>_0x4eba50[_0x5d40a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d40a7([0x2a])))[_0x5d40a7([0x6d,0x61,0x70])](_0x8971a2=>_0x8971a2[_0x5d40a7([0x73,0x70,0x6c,0x69,0x74])](_0x5d40a7([0x2e])))[_0x5d40a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d4e06=>_0x5d4e06[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e0ac7[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d40a7([0x6d,0x61,0x70])](_0xc92703=>Array(_0x5e0ac7[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc92703[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d40a7([0x66,0x69,0x6c,0x6c])](_0xc92703[0x0]===_0x5d40a7([0x2a])?_0x5d40a7([0x2a]):'')[_0x5d40a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc92703))[_0x5d40a7([0x73,0x6f,0x6d,0x65])](_0x3b7dbf=>_0x5e0ac7[_0x5d40a7([0x65,0x76,0x65,0x72,0x79])]((_0x4a5ecd,_0x575fee)=>_0x3b7dbf[_0x575fee]===_0x4a5ecd||_0x3b7dbf[_0x575fee]===_0x5d40a7([0x2a])));}function _0xb0e6e6(){return _0x798df&&_0x3e760d?new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcbd52f,_0x2a87d2)=>{_0x798df[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0xcbd52f,_0x2a87d2),_0x3e760d[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0x4b47a3=>{_0x4b47a3!=_0x5d40a7([0x56,0x61,0x6c,0x69,0x64])&&_0xcbd52f(_0x4b47a3);},_0x2a87d2);}):_0x798df||_0x3e760d||_0x5d40a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3528a3(_0x22d96b,_0x596345){return new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43dcee=>{if(_0x455c1a())return _0x43dcee(_0x5d40a7([0x56,0x61,0x6c,0x69,0x64]));_0x1570e6(),_0xaa5f84[_0x5d40a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d40a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x458d9e=!0x1;const _0x2ef35c=_0x36bf33();function _0x18cefa(_0x2b193c){return!!_0x2b193c&&(typeof _0x2b193c===_0x5d40a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b193c===_0x5d40a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b193c[_0x5d40a7([0x74,0x68,0x65,0x6e])]===_0x5d40a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b193c[_0x5d40a7([0x63,0x61,0x74,0x63,0x68])]===_0x5d40a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d6ac6(_0x2c4d19){_0x498b59(_0x2c4d19)[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0x5b82ad=>{if(!_0x5b82ad||_0x5b82ad[_0x5d40a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d40a7([0x6f,0x6b]))return _0x5d40a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x819696(_0x128e6e(_0x2ef35c+_0x596345))!=_0x5b82ad[_0x5d40a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d40a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d40a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0x520fc7=>(_0x1d3f81(),_0x520fc7),()=>{const _0x3445c7=_0x5be2b7();return null==_0x3445c7?(_0x1d3f81(),_0x5d40a7([0x56,0x61,0x6c,0x69,0x64])):_0x5d40a7(_0x2f6737-_0x3445c7>(0x7753083a^_0x107e53)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0x43dcee)[_0x5d40a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43dcee(_0x5d40a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24e46a=0x536962ba^_0x107e53;function _0x1d3f81(){const _0x6a88cd=_0x5d40a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x819696(_0x128e6e(_0x22d96b)),_0x3c598f=_0x3a1ddd(_0x819696(window[_0x5d40a7([0x4d,0x61,0x74,0x68])][_0x5d40a7([0x63,0x65,0x69,0x6c])](_0x2f6737/_0x24e46a)));window[_0x5d40a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d40a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6a88cd,_0x3c598f);}function _0x5be2b7(){const _0x56df0a=_0x5d40a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x819696(_0x128e6e(_0x22d96b)),_0x507319=window[_0x5d40a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d40a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56df0a);return _0x507319?window[_0x5d40a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a1ddd(_0x507319),0x10)*_0x24e46a:null;}function _0x498b59(_0x21c5bd){return new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39ee09,_0x5efe0a)=>{_0x21c5bd[_0x5d40a7([0x74,0x68,0x65,0x6e])](_0x39ee09,_0x5efe0a),window[_0x5d40a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5efe0a,0x535e58fa^_0x107e53);});}}_0xaa5f84[_0x5d40a7([0x6f,0x6e])](_0x5d40a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x399363,_0xe69c98)=>{if(_0xe69c98[0x0]!=_0x22d96b)return _0x43dcee(_0x5d40a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe69c98[0x1]={..._0xe69c98[0x1],[_0x5d40a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ef35c};},{[_0x5d40a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d40a7([0x68,0x69,0x67,0x68])}),_0xaa5f84[_0x5d40a7([0x6f,0x6e])](_0x5d40a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1508b3=>{_0x18cefa(_0x1508b3[_0x5d40a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x458d9e=!0x0,_0x2d6ac6(_0x1508b3[_0x5d40a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d40a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d40a7([0x6c,0x6f,0x77])}),_0x42d9fb[_0x5d40a7([0x74,0x68,0x65,0x6e])](()=>{_0x458d9e||_0x43dcee(_0x5d40a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x455c1a(){return _0xaa5f84[_0x5d40a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d40a7([0x76,0x69,0x65,0x77])][_0x5d40a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d40a7([0x61,0x75,0x74,0x6f]);}function _0x1570e6(){_0xaa5f84[_0x5d40a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d40a7([0x76,0x69,0x65,0x77])][_0x5d40a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d40a7([0x61,0x75,0x74,0x6f]);}}function _0x373d80(_0x4a4fb3){const _0x499a7d=[new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd0e7a4=>setTimeout(_0xd0e7a4,0x5356b2f6^_0x107e53)),_0x42d9fb[_0x5d40a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd0bae1=>{let _0x21268c=0x0;_0xaa5f84[_0x5d40a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d40a7([0x6f,0x6e])](_0x5d40a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bbbcd,_0x572454)=>{_0x572454[0x0][_0x5d40a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21268c++,_0x21268c==(0x535f89d2^_0x107e53)&&(_0xd0bae1(),_0x4bbbcd[_0x5d40a7([0x6f,0x66,0x66])]());});}))];return window[_0x5d40a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d40a7([0x72,0x61,0x63,0x65])](_0x499a7d)[_0x5d40a7([0x74,0x68,0x65,0x6e])](()=>_0x4a4fb3);}async function _0x27c08c(){await _0x42d9fb,_0xaa5f84[_0x5d40a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d40a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40dadd,_0xaa5f84[_0x5d40a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d40a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40dadd,_0xaa5f84[_0x5d40a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d40a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20ec16(_0x169ce3){const _0x5386b5=_0x5d47ab();_0xaa5f84[_0x5386b5]=_0x5d40a7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x169ce3,_0x169ce3!=_0x5d40a7([0x56,0x61,0x6c,0x69,0x64])&&_0x27c08c();}function _0x5d47ab(){const _0x271408=window[_0x5d40a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d40a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d40a7([0x6e,0x6f,0x77])]())[_0x5d40a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d40a7([0x2e]),'');let _0x20d995=_0x5d40a7([0x68]);for(let _0x15423c=0x0;_0x15423c<_0x271408[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15423c+=0x2){let _0x163727=window[_0x5d40a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x271408[_0x5d40a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15423c,_0x15423c+0x2));_0x163727>=_0x124cf2[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x163727-=_0x124cf2[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20d995+=_0x124cf2[_0x163727];}return _0x20d995;}function _0x5cca55(){const _0xab31c2=_0x139b36[_0x5d40a7([0x73,0x70,0x6c,0x69,0x74])](_0x5d40a7([0x2e]));if(0x3!=_0xab31c2[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4397fb(_0xab31c2[0x1]);function _0x4397fb(_0x4647f9){const _0x5056dd=_0x30f397(_0x4647f9);return _0x5056dd&&_0x48429d()?_0x5056dd:null;function _0x48429d(){const _0x530922=_0x5056dd[_0x5d40a7([0x6a,0x74,0x69])],_0x123425=window[_0x5d40a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x530922[_0x5d40a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x530922[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x480e3a={..._0x5056dd,[_0x5d40a7([0x6a,0x74,0x69])]:_0x530922[_0x5d40a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x530922[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x480e3a[_0x5d40a7([0x76,0x63])],_0x128e6e(_0x480e3a)==_0x123425;}}}async function _0x52e411(){let _0x4a31a5=!0x0;try{const _0x1150d6=_0x139b36[_0x5d40a7([0x73,0x70,0x6c,0x69,0x74])](_0x5d40a7([0x2e])),[_0x49c15b,_0x11a3cd,_0x45705c]=_0x1150d6;return _0x22c390(_0x49c15b),await _0x374b51(_0x49c15b,_0x11a3cd,_0x45705c),_0x4a31a5;}catch{return!0x1;}function _0x22c390(_0x48c06d){const _0x3815e1=_0x30f397(_0x48c06d);_0x3815e1&&_0x3815e1[_0x5d40a7([0x61,0x6c,0x67])]==_0x5d40a7([0x45,0x53,0x32,0x35,0x36])||(_0x4a31a5=!0x1);}async function _0x374b51(_0x317c5d,_0x41e2bc,_0x32fbaf){const _0x5f0379=window[_0x5d40a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d40a7([0x66,0x72,0x6f,0x6d])](_0x241e86(_0x32fbaf),_0x3dab43=>_0x3dab43[_0x5d40a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45cadd=new window[(_0x5d40a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d40a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x317c5d+_0x5d40a7([0x2e])+_0x41e2bc),_0x504368=window[_0x5d40a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d40a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x504368)return;const _0x40fe6f=await _0x504368[_0x5d40a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d40a7([0x6a,0x77,0x6b]),_0x21843e,{[_0x5d40a7([0x6e,0x61,0x6d,0x65])]:_0x5d40a7([0x45,0x43,0x44,0x53,0x41]),[_0x5d40a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d40a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d40a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x504368[_0x5d40a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d40a7([0x6e,0x61,0x6d,0x65])]:_0x5d40a7([0x45,0x43,0x44,0x53,0x41]),[_0x5d40a7([0x68,0x61,0x73,0x68])]:{[_0x5d40a7([0x6e,0x61,0x6d,0x65])]:_0x5d40a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40fe6f,_0x5f0379,_0x45cadd)||(_0x4a31a5=!0x1);}}function _0x30f397(_0x3bc959){return _0x3bc959[_0x5d40a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d40a7([0x65,0x79]))?JSON[_0x5d40a7([0x70,0x61,0x72,0x73,0x65])](_0x241e86(_0x3bc959)):null;}function _0x241e86(_0x156f66){return window[_0x5d40a7([0x61,0x74,0x6f,0x62])](_0x156f66[_0x5d40a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d40a7([0x2b]))[_0x5d40a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d40a7([0x2f])));}function _0x128e6e(_0x53394f){let _0x17f575=0x1505;function _0x19bac1(_0x790292){for(let _0x20f291=0x0;_0x20f291<_0x790292[_0x5d40a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20f291++){const _0x4dbc73=_0x790292[_0x5d40a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20f291);_0x17f575=(_0x17f575<<0x5)+_0x17f575+_0x4dbc73,_0x17f575&=_0x17f575;}}function _0x5b07d5(_0x5169d4){Array[_0x5d40a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5169d4)?_0x5169d4[_0x5d40a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b07d5):_0x5169d4&&typeof _0x5169d4==_0x5d40a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d40a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5169d4)[_0x5d40a7([0x73,0x6f,0x72,0x74])]()[_0x5d40a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f015d,_0x3c3fc6])=>{_0x19bac1(_0x5f015d),_0x5b07d5(_0x3c3fc6);}):_0x19bac1(window[_0x5d40a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5169d4));}return _0x5b07d5(_0x53394f),_0x17f575>>>0x0;}function _0x819696(_0x20d977){return _0x20d977[_0x5d40a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d40a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d40a7([0x30]));}function _0x3a1ddd(_0xceeb16){return _0xceeb16[_0x5d40a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d40a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d40a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x40dadd(){}function _0x5d40a7(_0x2bba62){const _0x2f3f24=_0x2a23;return _0x2bba62[_0x2f3f24(0x193)](_0x520277=>String[_0x2f3f24(0x1ae)](_0x520277))[_0x2f3f24(0x18d)]('');}_0x20ec16(await _0x5b5dd7());}(this);}[_0x24ad03(0x190)](){const _0x3ad1d1=_0x24ad03,_0x40dddd=this[_0x3ad1d1(0x19d)][_0x3ad1d1(0x1d5)][_0x3ad1d1(0x1b9)];_0x40dddd[_0x3ad1d1(0x1c4)](_0x3ad1d1(0x19a))&&_0x40dddd[_0x3ad1d1(0x1ce)](_0x3ad1d1(0x19a),{'allowAttributes':[_0x3ad1d1(0x1c9)]}),_0x40dddd[_0x3ad1d1(0x1c4)](_0x3ad1d1(0x1b4))&&_0x40dddd[_0x3ad1d1(0x1ce)](_0x3ad1d1(0x1b4),{'allowAttributes':[_0x3ad1d1(0x1c9)]});}[_0x24ad03(0x19f)](){const _0x5cd3e7=_0x24ad03,_0x25cdd1=this[_0x5cd3e7(0x19d)];_0x25cdd1[_0x5cd3e7(0x1b2)][_0x5cd3e7(0x1a4)](_0x5cd3e7(0x19c))[_0x5cd3e7(0x1af)]({'model':_0x5cd3e7(0x1c9),'view':_0x5cd3e7(0x1e1)}),_0x25cdd1[_0x5cd3e7(0x1b2)][_0x5cd3e7(0x1a4)](_0x5cd3e7(0x1c5))[_0x5cd3e7(0x1db)]({'model':{'key':_0x5cd3e7(0x1c9),'value':_0x5454b9=>_0x5454b9[_0x5cd3e7(0x198)](_0x5cd3e7(0x1e1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5daa24=_0x25cdd1[_0x5cd3e7(0x1d9)][_0x5cd3e7(0x1bf)](_0x5cd3e7(0x1c0));_0x5daa24&&this[_0x5cd3e7(0x1bb)](_0x5daa24,_0x5cd3e7(0x194),(_0x14ad23,[_0x3dc72c,_0x26245a])=>{const _0x9724fb=_0x5cd3e7;_0x3dc72c[_0x9724fb(0x1ad)](_0x9724fb(0x1c9),_0x26245a);});}[_0x24ad03(0x1cb)](){const _0x433e96=_0x24ad03,_0x1d989f=this[_0x433e96(0x19d)][_0x433e96(0x1cf)][_0x433e96(0x1bf)](_0x433e96(0x1d7))||{},_0x559c78=this[_0x433e96(0x19d)][_0x433e96(0x1cf)][_0x433e96(0x1bf)](_0x433e96(0x1ac))||'';this[_0x433e96(0x1b1)]=_0x3732f9(_0x454190[_0x433e96(0x1b3)],_0x433e96(0x1c7),{..._0x1d989f,'pubkey':_0x559c78,'ctx-name':_0x433e96(0x1a9)+this[_0x433e96(0x1a3)],'sourceList':'','imgOnly':_0x433e96(0x197),'removeCopyright':_0x433e96(0x197),'localeName':this[_0x433e96(0x19d)][_0x433e96(0x1e2)][_0x433e96(0x1b6)],'externalSourcesEmbedCss':_0x433e96(0x1d1)}),this[_0x433e96(0x1b1)][_0x433e96(0x1ab)]=_0x1ad7a1=>{const _0x2e648f=_0x433e96;if(_0x2e648f(0x1c3)==_0x1ad7a1)return _0x2e648f(0x1a7);},_0x454190[_0x433e96(0x1b3)][_0x433e96(0x1d6)][_0x433e96(0x1cd)](this[_0x433e96(0x1b1)]);}[_0x24ad03(0x1de)](){const _0x308a39=_0x24ad03;this[_0x308a39(0x1a5)]=_0x3732f9(_0x454190[_0x308a39(0x1b3)],_0x308a39(0x1bd),{'ctx-name':_0x308a39(0x1a9)+this[_0x308a39(0x1a3)]}),_0x454190[_0x308a39(0x1b3)][_0x308a39(0x1d6)][_0x308a39(0x1cd)](this[_0x308a39(0x1a5)]);}[_0x24ad03(0x1dd)](){const _0x39ad42=_0x24ad03,_0x1af668=this[_0x39ad42(0x19d)][_0x39ad42(0x1d9)][_0x39ad42(0x1bf)](_0x39ad42(0x195));_0x1af668&&this[_0x39ad42(0x1bb)](_0x1af668,_0x39ad42(0x1e0),()=>{const _0x5956c0=_0x39ad42,_0x330429=this[_0x5956c0(0x19d)][_0x5956c0(0x1d5)][_0x5956c0(0x1b3)][_0x5956c0(0x1c8)][_0x5956c0(0x1aa)]();_0x330429&&_0x330429[_0x5956c0(0x198)](_0x5956c0(0x1c9))&&this[_0x5956c0(0x19d)][_0x5956c0(0x1d8)][_0x5956c0(0x1d3)][_0x5956c0(0x191)](_0x5956c0(0x1c2),()=>{const _0xfc6d4d=_0x5956c0;_0x5c6bf1(this[_0xfc6d4d(0x19d)],_0x330429);});});const _0x27f085=this[_0x39ad42(0x19d)][_0x39ad42(0x1d9)][_0x39ad42(0x1bf)](_0x39ad42(0x1e3));_0x27f085&&this[_0x39ad42(0x1bb)](_0x27f085,_0x39ad42(0x1e0),()=>{const _0x1df9ba=_0x39ad42,_0x3dd439=this[_0x1df9ba(0x19d)][_0x1df9ba(0x1d5)][_0x1df9ba(0x1b3)][_0x1df9ba(0x1c8)][_0x1df9ba(0x1aa)]();_0x3dd439&&_0x3dd439[_0x1df9ba(0x198)](_0x1df9ba(0x1c9))&&this[_0x1df9ba(0x19d)][_0x1df9ba(0x1d8)][_0x1df9ba(0x1d3)][_0x1df9ba(0x191)](_0x1df9ba(0x1c2),()=>{const _0x59873f=_0x1df9ba;_0x5c6bf1(this[_0x59873f(0x19d)],_0x3dd439);});});}}function _0x11be(){const _0x4b7c60=['PictureEditing','imageBlock','configElement','downcast','editor','13772JRjddL','_initConversion','24FRdWLX','9gYxxdD','remove','ucContextId','for','_ctxElement','10243460rxzQDC','#uc-icon-arrow-down','3278904FviJAi','uploader-','getSelectedElement','iconHrefResolver','uploadcare.pubkey','removeAttribute','fromCharCode','attributeToAttribute','ctxElement','_configElement','conversion','document','imageInline','905CKMeQn','contentLanguage','pluginName','input[uploadcare-file-input]','schema','uploadcare','listenTo','isPremiumPlugin','uc-upload-ctx-provider','requires','get','replaceImageSource','181TOlMcx','render','closeMax','isRegistered','upcast','querySelector','uc-config','selection','uploadcareImageId','isOfficialPlugin','_initConfig','4076648TpZBRd','appendChild','extend','config','UploadcareEditing','\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','afterInit','view','36VQHFeE','model','body','uploadcare.uploader','editing','commands','339815MAFcId','elementToAttribute','destroy','_initImageProcessingIndicator','_initCtx','init','execute','data-uc-image-id','locale','uploadcareImageReplace','join','href','8942LaHzuh','_initSchema','once','add','map','cleanupImage','insertImage','5105518NloPrj','true','getAttribute'];_0x11be=function(){return _0x4b7c60;};return _0x11be();}
|
|
@@ -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 _0x5d38cf,ObservableMixin as _0x5c77fe}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x223989}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2e4811}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1c27ce}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x363663}from'../../utils/uploadutils.js';import{getImageUrls as _0x4b3317,getImageDimension as _0x27f14a}from'../../utils/editingutils.js';import{isAncestor as _0xd1f7c8}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x5c77fe(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d312a,_0x52124e,_0x436d04){super(),this['_editor']=_0x5d312a,this['_dialog']=_0x52124e,this['_imageElement']=_0x436d04,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 _0x73bb76=this['_imageElement'],_0x1b9cb4=_0x73bb76['getAttribute']('uploadcareImageId'),_0x3d85d2=_0x73bb76['getAttribute']('src');if(_0x1b9cb4)await this['_loadImageInfo'](_0x1b9cb4,_0x3d85d2);else{if(this['_imageCache']['has'](_0x3d85d2)){const _0x5428cd=this['_imageCache']['get'](_0x3d85d2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5428cd['url'],this['imageDimension']=_0x5428cd['dimension'],this['imageId']=_0x5428cd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3a77cc}=this['_editor'],t=_0x3a77cc['t'],_0x1c2186=new _0x1c27ce(_0x3a77cc,this['imageStatus'],this['_attributes']);_0x1c2186['bind']('status')['to'](this,'imageStatus'),_0x1c2186['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c2186['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c2186['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c2186,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2e4811,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c2186,'position':_0x223989['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c2186['focus']();},'onHide':()=>{_0x1c2186['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1dc89c=>!_0xd1f7c8(_0x1dc89c,_0x1c2186['element'])}});}['_loadImageInfo'](_0x2b0cd2,_0x2bc4ec){return _0x363663['getInfo'](_0x2b0cd2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x37bf7e=>{const {width:_0x15f149,height:_0x2a44d3}=_0x37bf7e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bc4ec,this['imageDimension']={'width':_0x15f149,'height':_0x2a44d3},this['imageId']=_0x2b0cd2;})['catch'](_0x54ffdf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54ffdf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x31de9b,_0x1bf3b9){return this['_getImageAsFile'](_0x31de9b)['then'](_0x217ff1=>_0x363663['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':_0x1bf3b9['signal'],'file':_0x217ff1,'onProgress':_0x27ecd9=>{_0x27ecd9&&_0x27ecd9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27ecd9['value']));}}))['then'](_0x3fdcac=>{const {width:_0x41cd8e,height:_0x5a43eb}=_0x3fdcac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3fdcac['cdnUrl'],this['imageDimension']={'width':_0x41cd8e,'height':_0x5a43eb},this['imageId']=_0x3fdcac['uuid'],this['imageUploadProgress']=null;const _0x45fd7e=_0x31de9b['getAttribute']('src');this['_imageCache']['set'](_0x45fd7e,{'id':_0x3fdcac['uuid'],'url':_0x3fdcac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1d5e77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d5e77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48b0dd,_0x42cd50){_0x48b0dd['on']('apply',(_0x2cfae0,_0x4393ab)=>{this['_replaceImage'](_0x42cd50,_0x4393ab['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48b0dd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48b0dd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3b7582,_0xd639af,_0x4aad3b){const _0x54b2ff=this['_editor'],{width:_0x536218,height:_0x1b918b}=_0x27f14a(_0xd639af,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x29c1a7,imageSources:_0x4f5bf6}=_0x4b3317(_0xd639af,_0x536218);_0x54b2ff['model']['change'](_0x5f25f0=>{if('$graveyard'===_0x3b7582['root']['rootName']){_0x54b2ff['execute']('insertImage',{'imageType':_0x3b7582['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3b7582['getAttributes']()),'uploadcareImageId':_0x4aad3b,'src':_0x29c1a7,'sources':_0x4f5bf6,'width':_0x536218,'height':_0x1b918b}});const _0x1acd47=_0x3b7582['getChildren']();_0x3b7582=_0x54b2ff['model']['document']['selection']['getSelectedElement']();for(const _0x4bd812 of _0x1acd47)_0x5f25f0['append'](_0x5f25f0['cloneElement'](_0x4bd812),_0x3b7582);}else _0x5f25f0['setSelection'](_0x3b7582,'on'),_0x54b2ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3b7582['getAttributes']()),'uploadcareImageId':_0x4aad3b,'src':_0x29c1a7,'sources':_0x4f5bf6,'width':_0x536218,'height':_0x1b918b},_0x3b7582);_0x5f25f0['setSelection'](_0x3b7582,'on');});}async['_getImageAsFile'](_0x98a157){const _0x3748b9=_0x5d38cf['window'],_0x22b653=_0x5d38cf['document']['location']['href'],_0x3de811=new _0x3748b9['URL'](_0x98a157['getAttribute']('src'),_0x22b653);if('data:'===_0x3de811['protocol']){const _0x4ce77d=_0x3de811['href']['split'](','),_0x5e0ea1=_0x4ce77d[0x0]['match'](/:(.*?);/)[0x1],_0x312076=_0x5e0ea1['split']('/')[0x1],_0x4bb9b8=_0x3748b9['atob'](_0x4ce77d[_0x4ce77d['length']-0x1]);let _0x57e35f=_0x4bb9b8['length'];const _0x5b25ac=new _0x3748b9['Uint8Array'](_0x57e35f);for(;_0x57e35f--;)_0x5b25ac[_0x57e35f]=_0x4bb9b8['charCodeAt'](_0x57e35f);return new _0x3748b9['File']([_0x5b25ac],'image.'+_0x312076,{'type':_0x5e0ea1});}const _0xd3e144=_0x3de811['href']['split']('/'),_0x502382=_0xd3e144[_0xd3e144['length']-0x1],_0x26550c=_0x502382['split']('.')[0x1];return _0x3748b9['fetch'](_0x3de811['href'])['then'](_0x52764f=>_0x52764f['clone']()['blob']())['then'](_0x23119f=>new _0x3748b9['File']([_0x23119f],_0x502382,{'type':'image/'+_0x26550c}));}}
|
|
@@ -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(_0x2a46f8,_0x179a2d){const _0x240904=_0x1da4,_0x24dc5d=_0x2a46f8();while(!![]){try{const _0x1a5887=-parseInt(_0x240904(0x1be))/0x1+-parseInt(_0x240904(0x1cc))/0x2*(-parseInt(_0x240904(0x1c5))/0x3)+parseInt(_0x240904(0x1cb))/0x4+parseInt(_0x240904(0x1cd))/0x5+-parseInt(_0x240904(0x1c7))/0x6*(parseInt(_0x240904(0x1c8))/0x7)+-parseInt(_0x240904(0x1c2))/0x8*(-parseInt(_0x240904(0x1c0))/0x9)+parseInt(_0x240904(0x1bc))/0xa;if(_0x1a5887===_0x179a2d)break;else _0x24dc5d['push'](_0x24dc5d['shift']());}catch(_0x1ae182){_0x24dc5d['push'](_0x24dc5d['shift']());}}}(_0xe02c,0x5bd6e));import{View as _0x17491c}from'ckeditor5/src/ui.js';function _0xe02c(){const _0x1a6206=['setTemplate','1593700KPVUXs','914WAMmie','3637610raeORz','2584100mOkwLe','bindTemplate','691716Ihapkc','set','459oVfjFA','uc-light','26800CBIxFo','uc-cloud-image-editor','ck-uploadcare-theme','1245ozuKiy','imageSrc','2030916brZybN','14eBhYKn','image-edit'];_0xe02c=function(){return _0x1a6206;};return _0xe02c();}function _0x1da4(_0x40b899,_0x3f1718){const _0xe02cb6=_0xe02c();return _0x1da4=function(_0x1da4af,_0x1e356e){_0x1da4af=_0x1da4af-0x1bc;let _0x3d151c=_0xe02cb6[_0x1da4af];return _0x3d151c;},_0x1da4(_0x40b899,_0x3f1718);}export class UploadcareImageEditFormEditingView extends _0x17491c{constructor(_0x5d9def,_0x99c3a7){const _0x1a2e45=_0x1da4;super(_0x5d9def);const _0xd74ab4=this[_0x1a2e45(0x1bd)];this[_0x1a2e45(0x1bf)](_0x1a2e45(0x1c6),''),this[_0x1a2e45(0x1ca)]({'tag':_0x1a2e45(0x1c3),'attributes':{..._0x99c3a7,'class':[_0x1a2e45(0x1c1),_0x1a2e45(0x1c4)],'ctx-name':_0x1a2e45(0x1c9),'cdn-url':_0xd74ab4['to'](_0x1a2e45(0x1c6))}});}}
|
|
@@ -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 _0x8ce8f7}from'ckeditor5/src/icons.js';import{ButtonView as _0x47c123,IconView as _0x4a641e,View as _0x416ce6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x416ce6{constructor(_0x186541){super(_0x186541);const t=_0x186541['t'];this['set']('errorType',null);const _0x55c953=new _0x47c123(_0x186541);_0x55c953['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x55c953['withText']=!0x0,_0x55c953['class']='ck-button-action',_0x55c953['on']('execute',()=>{this['fire']('retry');}),_0x55c953['bind']('isVisible')['to'](this,'errorType',_0x5a1d5e=>'NotFound'!==_0x5a1d5e);const _0x3a317f=new _0x4a641e();_0x3a317f['content']=_0x8ce8f7,_0x3a317f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49cb30=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':[_0x3a317f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49cb30['to']('errorType',_0x5c14fa=>t('NotFound'!==_0x5c14fa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x55c953]},{'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 _0x2560f7,View as _0x36853e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x36853e{constructor(_0x53f312){super(_0x53f312);const t=_0x53f312['t'],_0x2a50c0=this['bindTemplate'],_0x2c4acd=new _0x2560f7();_0x2c4acd['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':[_0x2c4acd,{'text':_0x2a50c0['to']('imageUploadProgress',_0x1e0354=>t('Loading\x20image...')+'\x20('+(_0x1e0354||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
|
-
function _0x2494(_0x3309b1,_0x17800d){const _0x4993f0=_0x4993();return _0x2494=function(_0x2494d7,_0x475a53){_0x2494d7=_0x2494d7-0x154;let _0x311126=_0x4993f0[_0x2494d7];return _0x311126;},_0x2494(_0x3309b1,_0x17800d);}const _0x3e8994=_0x2494;(function(_0x336348,_0x2e9b28){const _0x2db23e=_0x2494,_0x117bea=_0x336348();while(!![]){try{const _0x265fb7=parseInt(_0x2db23e(0x176))/0x1+parseInt(_0x2db23e(0x16a))/0x2*(-parseInt(_0x2db23e(0x184))/0x3)+parseInt(_0x2db23e(0x178))/0x4*(parseInt(_0x2db23e(0x154))/0x5)+-parseInt(_0x2db23e(0x189))/0x6*(-parseInt(_0x2db23e(0x18b))/0x7)+parseInt(_0x2db23e(0x167))/0x8+-parseInt(_0x2db23e(0x15a))/0x9+parseInt(_0x2db23e(0x16e))/0xa*(-parseInt(_0x2db23e(0x156))/0xb);if(_0x265fb7===_0x2e9b28)break;else _0x117bea['push'](_0x117bea['shift']());}catch(_0x2d544d){_0x117bea['push'](_0x117bea['shift']());}}}(_0x4993,0xdfa1c));import{View as _0x38a365}from'ckeditor5/src/ui.js';function _0x4993(){const _0x20fdbd=['_setView','target','addEventListener','uc-cloud-image-editor','length','change:status','addMany','ck-uploadcare-form','12991776rBkmcU','observe','_addUploadcareImageEditorListeners','2WeAqAo','_items','_loadingView','_addErrorViewListeners','1940Qixqbs','add','apply','ck-reset_all-excluded','querySelector','_errorView','uploading','detail','1770846jUARDT','error','564856tOCeaG','ready','_waitForImageEditorComponent','setTemplate','disconnect','createCollection','div','filter','toLowerCase','render','fire','once','821007xobhMu','getFocusableElement','retry','focus','nodeName','18ywGRMe','cancel','241073CTrgsM','5WXxyKW','set','57739sGgAqz','_editingView','element','status','12882402XqgBsH','cdnUrl','clear','_focusableView','addedNodes'];_0x4993=function(){return _0x20fdbd;};return _0x4993();}import{UploadcareImageEditFormLoadingView as _0xc415f5}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1956e2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1a2d8d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4ffc8d}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4ffc8d{[_0x3e8994(0x16b)];[_0x3e8994(0x16c)];[_0x3e8994(0x173)];[_0x3e8994(0x157)];[_0x3e8994(0x15d)];constructor(_0x1b20c0,_0x10ba17,_0x2221ef){const _0x354990=_0x3e8994;super(_0x1b20c0),this[_0x354990(0x16b)]=this[_0x354990(0x17d)](),this[_0x354990(0x16c)]=new _0xc415f5(_0x1b20c0),this[_0x354990(0x173)]=new _0x1956e2(_0x1b20c0),this[_0x354990(0x157)]=new _0x1a2d8d(_0x1b20c0,_0x2221ef),this[_0x354990(0x15d)]=new _0x38a365(_0x1b20c0),this[_0x354990(0x15d)][_0x354990(0x17b)](this[_0x354990(0x185)]()),this[_0x354990(0x155)](_0x354990(0x159),_0x10ba17),this[_0x354990(0x17b)]({'tag':_0x354990(0x17e),'attributes':{'class':['ck',_0x354990(0x171),_0x354990(0x166)],'tabindex':'-1'},'children':this[_0x354990(0x16b)]}),this[_0x354990(0x15f)](),this[_0x354990(0x183)](_0x354990(0x181),()=>{const _0x480f38=_0x354990;this[_0x480f38(0x17a)](this[_0x480f38(0x158)],_0x120b33=>{const _0x286190=_0x480f38;this[_0x286190(0x169)](_0x120b33);});}),this['on'](_0x354990(0x164),()=>{const _0x212695=_0x354990;this[_0x212695(0x15f)]();}),this[_0x354990(0x16d)]();}[_0x3e8994(0x187)](){const _0x1471b3=_0x3e8994;this[_0x1471b3(0x158)][_0x1471b3(0x187)]();}[_0x3e8994(0x15f)](){const _0x2191d8=_0x3e8994;switch(this[_0x2191d8(0x16b)][_0x2191d8(0x15c)](),this[_0x2191d8(0x159)]){case _0x2191d8(0x174):this[_0x2191d8(0x16b)][_0x2191d8(0x16f)](this[_0x2191d8(0x16c)]);break;case _0x2191d8(0x177):this[_0x2191d8(0x16b)][_0x2191d8(0x16f)](this[_0x2191d8(0x173)]);break;case _0x2191d8(0x179):this[_0x2191d8(0x16b)][_0x2191d8(0x165)]([this[_0x2191d8(0x157)],this[_0x2191d8(0x15d)]]);}}[_0x3e8994(0x17a)](_0x31358c,_0x19fdef){const _0x3e13ce=_0x3e8994,_0x444133=_0x3e13ce(0x162),_0x59adc5=_0x31358c[_0x3e13ce(0x172)](_0x444133);if(_0x59adc5)return _0x19fdef(_0x59adc5);const _0x2f50bb=new MutationObserver(_0x1cbe47=>{const _0x18fec6=_0x3e13ce,_0x426d84=_0x1cbe47[_0x18fec6(0x17f)](_0x4f939a=>_0x4f939a[_0x18fec6(0x160)]===_0x31358c&&_0x4f939a[_0x18fec6(0x15e)][_0x18fec6(0x163)]>0x0&&_0x4f939a[_0x18fec6(0x15e)][0x0][_0x18fec6(0x188)][_0x18fec6(0x180)]()===_0x444133);_0x426d84[_0x18fec6(0x163)]&&(_0x2f50bb[_0x18fec6(0x17c)](),_0x19fdef(_0x426d84[0x0][_0x18fec6(0x15e)][0x0]));});_0x2f50bb[_0x3e13ce(0x168)](_0x31358c,{'childList':!0x0,'subtree':!0x0});}[_0x3e8994(0x169)](_0x1f2e08){const _0x51dcec=_0x3e8994;_0x1f2e08[_0x51dcec(0x161)](_0x51dcec(0x170),_0x168fb9=>{const _0x57a67c=_0x51dcec;this[_0x57a67c(0x182)](_0x57a67c(0x170),{'imageSrc':_0x168fb9[_0x57a67c(0x175)][_0x57a67c(0x15b)]});}),_0x1f2e08[_0x51dcec(0x161)](_0x51dcec(0x18a),()=>{const _0x4744a9=_0x51dcec;this[_0x4744a9(0x182)](_0x4744a9(0x18a));});}[_0x3e8994(0x16d)](){const _0x5d1eef=_0x3e8994;this[_0x5d1eef(0x173)]['on'](_0x5d1eef(0x186),()=>{const _0x35a498=_0x5d1eef;this[_0x35a498(0x182)](_0x35a498(0x186));});}}
|
|
@@ -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 _0x4234c7=_0x24b7;(function(_0x4f8b65,_0x338af0){const _0x48a59f=_0x24b7,_0x301a33=_0x4f8b65();while(!![]){try{const _0x3be43c=parseInt(_0x48a59f(0x153))/0x1*(-parseInt(_0x48a59f(0x140))/0x2)+-parseInt(_0x48a59f(0x14e))/0x3*(parseInt(_0x48a59f(0x155))/0x4)+parseInt(_0x48a59f(0x13e))/0x5*(-parseInt(_0x48a59f(0x14a))/0x6)+parseInt(_0x48a59f(0x152))/0x7*(parseInt(_0x48a59f(0x15d))/0x8)+-parseInt(_0x48a59f(0x14f))/0x9*(parseInt(_0x48a59f(0x150))/0xa)+parseInt(_0x48a59f(0x147))/0xb+parseInt(_0x48a59f(0x141))/0xc*(parseInt(_0x48a59f(0x154))/0xd);if(_0x3be43c===_0x338af0)break;else _0x301a33['push'](_0x301a33['shift']());}catch(_0x52d442){_0x301a33['push'](_0x301a33['shift']());}}}(_0x18b5,0xa1b5d));import{Command as _0x2c1cce}from'ckeditor5/src/core.js';function _0x18b5(){const _0x30c49=['uploadcare.allowExternalImagesEditing','5628AKuVWZ','56kKBCGU','1835301NMNBxf','3004uZLCEW','execute','getSelectedElement','set','document','imageBlock','model','unbind','4248HAlegf','imageInline','isActive','imageEditController','6157265MudGat','config','6274fJmVvE','228teDQSD','refresh','plugins','get','editor','selection','4865146DlZNxg','requires','bind','6roMgNv','_isEditable','element','isEnabled','2703VPMmMJ','87336BWxynB','830MzOhnW'];_0x18b5=function(){return _0x30c49;};return _0x18b5();}import{Dialog as _0x1ede65}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2fcc53}from'./ui/uploadcareimageeditcontroller.js';function _0x24b7(_0x23986f,_0xee4fbf){const _0x18b551=_0x18b5();return _0x24b7=function(_0x24b79a,_0x26bf2b){_0x24b79a=_0x24b79a-0x13c;let _0x3c0aac=_0x18b551[_0x24b79a];return _0x3c0aac;},_0x24b7(_0x23986f,_0xee4fbf);}import{createEditabilityChecker as _0x87e849}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2c1cce{[_0x4234c7(0x13d)];static get[_0x4234c7(0x148)](){return[_0x1ede65];}[_0x4234c7(0x14b)];constructor(_0x171208){const _0x4866e6=_0x4234c7;super(_0x171208),this[_0x4866e6(0x13d)]=void 0x0,this[_0x4866e6(0x14b)]=_0x87e849(_0x171208[_0x4866e6(0x13f)][_0x4866e6(0x144)](_0x4866e6(0x151))||[]),this[_0x4866e6(0x158)]({'isActive':!0x1});}[_0x4234c7(0x142)](){const _0x37d129=_0x4234c7,_0x1c1b23=this[_0x37d129(0x145)][_0x37d129(0x15b)][_0x37d129(0x159)][_0x37d129(0x146)][_0x37d129(0x157)]();this[_0x37d129(0x14d)]=this[_0x37d129(0x14b)](_0x1c1b23);}[_0x4234c7(0x156)](){const _0x70f19=_0x4234c7;this[_0x70f19(0x13d)]&&(this[_0x70f19(0x15c)](_0x70f19(0x13c)),this[_0x70f19(0x13d)]=void 0x0);const _0x11ccec=this[_0x70f19(0x145)][_0x70f19(0x15b)][_0x70f19(0x159)][_0x70f19(0x146)][_0x70f19(0x157)]();_0x11ccec&&(_0x11ccec['is'](_0x70f19(0x14c),_0x70f19(0x15a))||_0x11ccec['is'](_0x70f19(0x14c),_0x70f19(0x15e)))&&(this[_0x70f19(0x13d)]=new _0x2fcc53(this[_0x70f19(0x145)],this[_0x70f19(0x145)][_0x70f19(0x143)][_0x70f19(0x144)](_0x1ede65),_0x11ccec),this[_0x70f19(0x149)](_0x70f19(0x13c))['to'](this[_0x70f19(0x13d)],_0x70f19(0x13c)));}}
|
|
@@ -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 _0x58e8f1=_0x5925;(function(_0xf00b28,_0x2c53be){const _0x237a1a=_0x5925,_0x2e4335=_0xf00b28();while(!![]){try{const _0x2e2c2a=parseInt(_0x237a1a(0x1d8))/0x1+parseInt(_0x237a1a(0x1da))/0x2+-parseInt(_0x237a1a(0x1df))/0x3*(-parseInt(_0x237a1a(0x1e1))/0x4)+-parseInt(_0x237a1a(0x1e3))/0x5+-parseInt(_0x237a1a(0x1e9))/0x6+-parseInt(_0x237a1a(0x1d9))/0x7*(-parseInt(_0x237a1a(0x1de))/0x8)+parseInt(_0x237a1a(0x1d7))/0x9;if(_0x2e2c2a===_0x2c53be)break;else _0x2e4335['push'](_0x2e4335['shift']());}catch(_0x424084){_0x2e4335['push'](_0x2e4335['shift']());}}}(_0xdd44,0x879cb));import{Plugin as _0x2bbd98}from'ckeditor5/src/core.js';import{Notification as _0x567a43}from'ckeditor5/src/ui.js';function _0xdd44(){const _0x4a7b57=['uploadcareImageReplace','2990745tbiGuv','161569WgVORX','1043133nNVISl','1285372ofdkbP','pluginName','requires','commands','8sbIZoh','168LIkbVi','add','19128wSLwRb','isOfficialPlugin','4320895JmiEQx','UploadcareImageEditEditing','uploadcareImageEdit','init','ImageEditing','ImageUtils','802350JPMESi','isPremiumPlugin'];_0xdd44=function(){return _0x4a7b57;};return _0xdd44();}import{UploadcareImageEditCommand as _0x4ebf93}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1b23a4}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3b4dd9}from'../uploadcareediting.js';function _0x5925(_0x654cf0,_0x2e0384){const _0xdd443f=_0xdd44();return _0x5925=function(_0x5925d7,_0x3f5c99){_0x5925d7=_0x5925d7-0x1d6;let _0xcdfb2=_0xdd443f[_0x5925d7];return _0xcdfb2;},_0x5925(_0x654cf0,_0x2e0384);}export class UploadcareImageEditEditing extends _0x2bbd98{static get[_0x58e8f1(0x1db)](){const _0x3d0a89=_0x58e8f1;return _0x3d0a89(0x1e4);}static get[_0x58e8f1(0x1dc)](){const _0x539677=_0x58e8f1;return[_0x3b4dd9,_0x567a43,_0x539677(0x1e8),_0x539677(0x1e7)];}static get[_0x58e8f1(0x1e2)](){return!0x0;}static get[_0x58e8f1(0x1ea)](){return!0x0;}[_0x58e8f1(0x1e6)](){const _0x1bb1b5=_0x58e8f1,{editor:_0x57f17b}=this;_0x57f17b[_0x1bb1b5(0x1dd)][_0x1bb1b5(0x1e0)](_0x1bb1b5(0x1e5),new _0x4ebf93(_0x57f17b)),_0x57f17b[_0x1bb1b5(0x1dd)][_0x1bb1b5(0x1e0)](_0x1bb1b5(0x1d6),new _0x1b23a4(_0x57f17b));}}
|