@ckeditor/ckeditor5-source-editing-enhanced 0.0.1 → 44.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +11 -6
- package/README.md +25 -3
- package/build/source-editing-enhanced.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +17 -0
- package/dist/index-content.css +5 -0
- package/dist/index-editor.css +34 -0
- package/dist/index.css +56 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/contexts.json +22 -0
- package/lang/translations/af.po +92 -0
- package/lang/translations/ar.po +92 -0
- package/lang/translations/ast.po +92 -0
- package/lang/translations/az.po +92 -0
- package/lang/translations/bg.po +92 -0
- package/lang/translations/bn.po +92 -0
- package/lang/translations/bs.po +92 -0
- package/lang/translations/ca.po +92 -0
- package/lang/translations/cs.po +92 -0
- package/lang/translations/da.po +92 -0
- package/lang/translations/de-ch.po +92 -0
- package/lang/translations/de.po +92 -0
- package/lang/translations/el.po +92 -0
- package/lang/translations/en-au.po +92 -0
- package/lang/translations/en-gb.po +92 -0
- package/lang/translations/en.po +92 -0
- package/lang/translations/eo.po +92 -0
- package/lang/translations/es-co.po +92 -0
- package/lang/translations/es.po +92 -0
- package/lang/translations/et.po +92 -0
- package/lang/translations/eu.po +92 -0
- package/lang/translations/fa.po +92 -0
- package/lang/translations/fi.po +92 -0
- package/lang/translations/fr.po +92 -0
- package/lang/translations/gl.po +92 -0
- package/lang/translations/gu.po +92 -0
- package/lang/translations/he.po +92 -0
- package/lang/translations/hi.po +92 -0
- package/lang/translations/hr.po +92 -0
- package/lang/translations/hu.po +92 -0
- package/lang/translations/hy.po +92 -0
- package/lang/translations/id.po +92 -0
- package/lang/translations/it.po +92 -0
- package/lang/translations/ja.po +92 -0
- package/lang/translations/jv.po +92 -0
- package/lang/translations/kk.po +92 -0
- package/lang/translations/km.po +92 -0
- package/lang/translations/kn.po +92 -0
- package/lang/translations/ko.po +92 -0
- package/lang/translations/ku.po +92 -0
- package/lang/translations/lt.po +92 -0
- package/lang/translations/lv.po +92 -0
- package/lang/translations/ms.po +92 -0
- package/lang/translations/nb.po +92 -0
- package/lang/translations/ne.po +92 -0
- package/lang/translations/nl.po +92 -0
- package/lang/translations/no.po +92 -0
- package/lang/translations/oc.po +92 -0
- package/lang/translations/pl.po +92 -0
- package/lang/translations/pt-br.po +92 -0
- package/lang/translations/pt.po +92 -0
- package/lang/translations/ro.po +92 -0
- package/lang/translations/ru.po +92 -0
- package/lang/translations/si.po +92 -0
- package/lang/translations/sk.po +92 -0
- package/lang/translations/sl.po +92 -0
- package/lang/translations/sq.po +92 -0
- package/lang/translations/sr-latn.po +92 -0
- package/lang/translations/sr.po +92 -0
- package/lang/translations/sv.po +92 -0
- package/lang/translations/th.po +92 -0
- package/lang/translations/ti.po +92 -0
- package/lang/translations/tk.po +92 -0
- package/lang/translations/tr.po +92 -0
- package/lang/translations/tt.po +92 -0
- package/lang/translations/ug.po +92 -0
- package/lang/translations/uk.po +92 -0
- package/lang/translations/ur.po +92 -0
- package/lang/translations/uz.po +92 -0
- package/lang/translations/vi.po +92 -0
- package/lang/translations/zh-cn.po +92 -0
- package/lang/translations/zh.po +92 -0
- package/package.json +57 -4
- package/src/augmentation.d.ts +22 -0
- package/src/augmentation.js +23 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +23 -0
- package/src/replacesourcecommand.d.ts +28 -0
- package/src/replacesourcecommand.js +23 -0
- package/src/sourceeditingenhanced.d.ts +47 -0
- package/src/sourceeditingenhanced.js +23 -0
- package/src/sourceeditingenhancedconfig.d.ts +42 -0
- package/src/sourceeditingenhancedconfig.js +23 -0
- package/src/sourceeditingenhancedui.d.ts +40 -0
- package/src/sourceeditingenhancedui.js +23 -0
- package/src/ui/codeeditorview.d.ts +53 -0
- package/src/ui/codeeditorview.js +23 -0
- package/src/ui/editsourcecommand.d.ts +26 -0
- package/src/ui/editsourcecommand.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils/createcodemirroreditor.d.ts +58 -0
- package/src/utils/createcodemirroreditor.js +23 -0
- package/src/utils/format.d.ts +35 -0
- package/src/utils/format.js +23 -0
- package/src/utils/getactiverootname.d.ts +9 -0
- package/src/utils/getactiverootname.js +23 -0
- package/theme/sourceeditingenhanced.css +44 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, 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 accessible label of the toolbar button and menu bar button that open editor modal with editable, raw source (HTML). Additionally used as this modal title."
|
|
15
|
+
msgid "Edit source modal label"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The label of Source Editing Enhanced keystrokes category in Accessibility help dialog."
|
|
19
|
+
msgid "Source Editing Enhanced"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "The label of \"Copy line down\" keyboard shortcut in Accessibility help dialog."
|
|
23
|
+
msgid "Copy line down"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "The label of \"Copy line up\" keyboard shortcut in Accessibility help dialog."
|
|
27
|
+
msgid "Copy line up"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The label of \"Delete line\" keyboard shortcut in Accessibility help dialog."
|
|
31
|
+
msgid "Delete line"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The label of \"Indent less\" keyboard shortcut in Accessibility help dialog."
|
|
35
|
+
msgid "Indent less"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The label of \"Indent more\" keyboard shortcut in Accessibility help dialog."
|
|
39
|
+
msgid "Indent more"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The label of \"Fold all\" keyboard shortcut in Accessibility help dialog."
|
|
43
|
+
msgid "Fold all"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The label of \"Fold code (current level)\" keyboard shortcut in Accessibility help dialog."
|
|
47
|
+
msgid "Fold code (current level)"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The label of \"Move line down\" keyboard shortcut in Accessibility help dialog."
|
|
51
|
+
msgid "Move line down"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgctxt "The label of \"Move line up\" keyboard shortcut in Accessibility help dialog."
|
|
55
|
+
msgid "Move line up"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label of \"Redo\" keyboard shortcut in Accessibility help dialog."
|
|
59
|
+
msgid "Redo (keystroke)"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label of \"Select line\" keyboard shortcut in Accessibility help dialog."
|
|
63
|
+
msgid "Select line"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label of \"Switch between 'focus with tab' and 'indent with tab' mode\" keyboard shortcut in Accessibility help dialog."
|
|
67
|
+
msgid "Switch between \"focus with tab\" and \"indent with tab\" mode"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The label of \"Toggle block comment\" keyboard shortcut in Accessibility help dialog."
|
|
71
|
+
msgid "Toggle block comment"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The label of \"Toggle comment\" keyboard shortcut in Accessibility help dialog."
|
|
75
|
+
msgid "Toggle comment"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "The label of \"Undo\" keyboard shortcut in Accessibility help dialog."
|
|
79
|
+
msgid "Undo (keystroke)"
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "The label of \"Unfold all\" keyboard shortcut in Accessibility help dialog."
|
|
83
|
+
msgid "Unfold all"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "The label of \"Unfold code (current level)\" keyboard shortcut in Accessibility help dialog."
|
|
87
|
+
msgid "Unfold code (current level)"
|
|
88
|
+
msgstr ""
|
|
89
|
+
|
|
90
|
+
msgctxt "The warning message displayed when attempting to close the Enhanced Source Code Editing modal with unsaved changes."
|
|
91
|
+
msgid "Are you sure you want to discard your changes? This action cannot be undone."
|
|
92
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,14 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-source-editing-enhanced",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "44.2.0-alpha.0",
|
|
4
|
+
"description": "Source editing enhanced feature for CKEditor 5.",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"ckeditor",
|
|
6
7
|
"ckeditor5",
|
|
7
8
|
"ckeditor 5",
|
|
8
|
-
"ckeditor5-
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin",
|
|
11
|
+
"ckeditor5-dll"
|
|
9
12
|
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "src/index.js",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
|
|
20
|
+
"@codemirror/autocomplete": "6.18.4",
|
|
21
|
+
"@codemirror/commands": "6.8.0",
|
|
22
|
+
"@codemirror/lang-html": "6.4.9",
|
|
23
|
+
"@codemirror/lang-markdown": "6.3.2",
|
|
24
|
+
"@codemirror/language": "6.10.8",
|
|
25
|
+
"@codemirror/state": "6.5.1",
|
|
26
|
+
"@codemirror/view": "6.36.2",
|
|
27
|
+
"ckeditor5": "44.2.0-alpha.0"
|
|
28
|
+
},
|
|
29
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
10
30
|
"author": "CKSource (http://cksource.com/)",
|
|
11
|
-
"license": "GPL-2.0-or-later",
|
|
12
31
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
13
|
-
"bugs": "https://
|
|
32
|
+
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"lang",
|
|
36
|
+
"src/**/*.js",
|
|
37
|
+
"src/**/*.d.ts",
|
|
38
|
+
"theme",
|
|
39
|
+
"build",
|
|
40
|
+
"ckeditor5-metadata.json",
|
|
41
|
+
"CHANGELOG.md"
|
|
42
|
+
],
|
|
43
|
+
"types": "src/index.d.ts",
|
|
44
|
+
"exports": {
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./src/index.d.ts",
|
|
47
|
+
"import": "./src/index.js",
|
|
48
|
+
"default": "./src/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./dist/*": {
|
|
51
|
+
"types": "./src/index.d.ts",
|
|
52
|
+
"import": "./dist/*",
|
|
53
|
+
"default": "./dist/*"
|
|
54
|
+
},
|
|
55
|
+
"./src/*": {
|
|
56
|
+
"types": "./src/*.d.ts",
|
|
57
|
+
"import": "./src/*",
|
|
58
|
+
"default": "./src/*"
|
|
59
|
+
},
|
|
60
|
+
"./build/*": "./build/*",
|
|
61
|
+
"./lang/*": "./lang/*",
|
|
62
|
+
"./theme/*": "./theme/*",
|
|
63
|
+
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
|
+
},
|
|
66
|
+
"obfuscated": true
|
|
14
67
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { SourceEditingEnhanced, SourceEditingEnhancedConfig, ReplaceSourceCommand, EditSourceCommand } from './index.js';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the source editing enhanced feature.
|
|
10
|
+
*
|
|
11
|
+
* Read more in {@link module:source-editing-enhanced/sourceeditingenhancedconfig~SourceEditingEnhancedConfig}.
|
|
12
|
+
*/
|
|
13
|
+
sourceEditingEnhanced?: SourceEditingEnhancedConfig;
|
|
14
|
+
}
|
|
15
|
+
interface PluginsMap {
|
|
16
|
+
[SourceEditingEnhanced.pluginName]: SourceEditingEnhanced;
|
|
17
|
+
}
|
|
18
|
+
interface CommandsMap {
|
|
19
|
+
replaceSource: ReplaceSourceCommand;
|
|
20
|
+
editSource: EditSourceCommand;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced
|
|
7
|
+
*/
|
|
8
|
+
export { default as SourceEditingEnhanced } from './sourceeditingenhanced.js';
|
|
9
|
+
export { default as ReplaceSourceCommand } from './replacesourcecommand.js';
|
|
10
|
+
export { default as EditSourceCommand } from './ui/editsourcecommand.js';
|
|
11
|
+
export type { SourceEditingEnhancedConfig } from './sourceeditingenhancedconfig.js';
|
|
12
|
+
import './augmentation.js';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x299dc9,_0x5b89e5){var _0x153978=_0x49d9,_0x47f965=_0x299dc9();while(!![]){try{var _0x533fe3=parseInt(_0x153978(0xda))/0x1*(-parseInt(_0x153978(0xd4))/0x2)+-parseInt(_0x153978(0xd9))/0x3+parseInt(_0x153978(0xd8))/0x4+-parseInt(_0x153978(0xd7))/0x5*(parseInt(_0x153978(0xd5))/0x6)+-parseInt(_0x153978(0xdb))/0x7+parseInt(_0x153978(0xd6))/0x8*(parseInt(_0x153978(0xdc))/0x9)+parseInt(_0x153978(0xdd))/0xa;if(_0x533fe3===_0x5b89e5)break;else _0x47f965['push'](_0x47f965['shift']());}catch(_0x3f68e2){_0x47f965['push'](_0x47f965['shift']());}}}(_0x2582,0x90b6a));export{default as SourceEditingEnhanced}from'./sourceeditingenhanced.js';function _0x2582(){var _0x58e9c2=['2HpPEhY','7370510qjYDtH','18549yoUbgV','32445220DWEAeB','1111490GIqYIo','10680PsqDxH','104XuBjCH','1600GVbMbs','287944NOrZTD','49605iITUWA'];_0x2582=function(){return _0x58e9c2;};return _0x2582();}function _0x49d9(_0x1c44fc,_0x240bda){var _0x2582fe=_0x2582();return _0x49d9=function(_0x49d916,_0x339ab2){_0x49d916=_0x49d916-0xd4;var _0x44e67e=_0x2582fe[_0x49d916];return _0x44e67e;},_0x49d9(_0x1c44fc,_0x240bda);}export{default as ReplaceSourceCommand}from'./replacesourcecommand.js';export{default as EditSourceCommand}from'./ui/editsourcecommand.js';import'./augmentation.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/replacesourcecommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
/**
|
|
11
|
+
* The command replaces editor active root content with the provided data.
|
|
12
|
+
*/
|
|
13
|
+
export default class ReplaceSourceCommand extends Command {
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
constructor(editor: Editor);
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
refresh(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Executes the command.
|
|
24
|
+
*/
|
|
25
|
+
execute(data: string, options?: {
|
|
26
|
+
rootName: string | null;
|
|
27
|
+
}): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x4a49(){var _0x3fae0d=['12wKPWZm','isEnabled','2hYOXBp','refresh','8478KyMtLY','6591LxKSOh','editor','136707XFnREi','execute','170496SAyUby','11544632ZlzMfn','rootName','3779095Jkhjwh','isReadOnly','8310KGJBlp','9030xqJIlm','set','1236MyFmiJ','4319tNHXFi','data'];_0x4a49=function(){return _0x3fae0d;};return _0x4a49();}var _0x5d28d8=_0xd2aa;(function(_0x3c22ff,_0x3eaa69){var _0x3096c6=_0xd2aa,_0x162ce5=_0x3c22ff();while(!![]){try{var _0x5bd176=-parseInt(_0x3096c6(0x1e2))/0x1*(-parseInt(_0x3096c6(0x1f1))/0x2)+-parseInt(_0x3096c6(0x1f4))/0x3*(-parseInt(_0x3096c6(0x1ec))/0x4)+parseInt(_0x3096c6(0x1e7))/0x5+parseInt(_0x3096c6(0x1ea))/0x6*(-parseInt(_0x3096c6(0x1ed))/0x7)+-parseInt(_0x3096c6(0x1e4))/0x8+parseInt(_0x3096c6(0x1f3))/0x9*(-parseInt(_0x3096c6(0x1e9))/0xa)+parseInt(_0x3096c6(0x1e5))/0xb*(parseInt(_0x3096c6(0x1ef))/0xc);if(_0x5bd176===_0x3eaa69)break;else _0x162ce5['push'](_0x162ce5['shift']());}catch(_0x270985){_0x162ce5['push'](_0x162ce5['shift']());}}}(_0x4a49,0xd8d94));function _0xd2aa(_0x190645,_0x51317e){var _0x4a4952=_0x4a49();return _0xd2aa=function(_0xd2aa0c,_0x4ebb82){_0xd2aa0c=_0xd2aa0c-0x1e1;var _0x323c87=_0x4a4952[_0xd2aa0c];return _0x323c87;},_0xd2aa(_0x190645,_0x51317e);}import{Command as _0x2b866c}from'ckeditor5/src/core.js';import{getActiveRootName as _0x2f4ba7}from'./utils/getactiverootname.js';export default class s extends _0x2b866c{constructor(_0x18e9d0){var _0x47bcd3=_0xd2aa;super(_0x18e9d0),this[_0x47bcd3(0x1f2)]();}[_0x5d28d8(0x1f2)](){var _0x5e0cb8=_0x5d28d8;this[_0x5e0cb8(0x1f0)]=!this[_0x5e0cb8(0x1e1)][_0x5e0cb8(0x1e8)];}[_0x5d28d8(0x1e3)](_0x1bb890,_0x2d2800){var _0x38682e=_0x5d28d8,_0x23f3dc;const _0x55b9ec=this[_0x38682e(0x1e1)],_0x2a3fd4=null!==(_0x23f3dc=null==_0x2d2800?void 0x0:_0x2d2800[_0x38682e(0x1e6)])&&void 0x0!==_0x23f3dc?_0x23f3dc:_0x2f4ba7(_0x55b9ec);_0x55b9ec[_0x38682e(0x1ee)][_0x38682e(0x1eb)]({[_0x2a3fd4]:_0x1bb890},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/sourceeditingenhanced
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import SourceEditingEnhancedUI from './sourceeditingenhancedui.js';
|
|
11
|
+
import '../theme/sourceeditingenhanced.css';
|
|
12
|
+
/**
|
|
13
|
+
* The source editing enhanced feature.
|
|
14
|
+
*
|
|
15
|
+
* It provides the possibility to view and edit the source of the document in the modal window.
|
|
16
|
+
*
|
|
17
|
+
* For a detailed overview, check the
|
|
18
|
+
* {@glink features/source-editing/source-editing-enhanced source editing enhanced feature documentation} and the
|
|
19
|
+
* {@glink api/source-editing-enhanced package page}.
|
|
20
|
+
*/
|
|
21
|
+
export default class SourceEditingEnhanced extends Plugin {
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "SourceEditingEnhanced";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
static get requires(): readonly [typeof SourceEditingEnhancedUI];
|
|
38
|
+
/**
|
|
39
|
+
* @inheritDoc
|
|
40
|
+
*/
|
|
41
|
+
constructor(editor: Editor);
|
|
42
|
+
/**
|
|
43
|
+
* @inheritDoc
|
|
44
|
+
*/
|
|
45
|
+
init(): void;
|
|
46
|
+
destroy(): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x35cc99=_0x2612;(function(_0x12846f,_0x226e6b){const _0x86b0a2=_0x2612,_0x251303=_0x12846f();while(!![]){try{const _0x2ad517=parseInt(_0x86b0a2(0x19f))/0x1+parseInt(_0x86b0a2(0x19b))/0x2*(-parseInt(_0x86b0a2(0x1b4))/0x3)+parseInt(_0x86b0a2(0x1c1))/0x4*(parseInt(_0x86b0a2(0x1ba))/0x5)+parseInt(_0x86b0a2(0x1ca))/0x6*(-parseInt(_0x86b0a2(0x1c4))/0x7)+-parseInt(_0x86b0a2(0x1b9))/0x8+parseInt(_0x86b0a2(0x1d0))/0x9+-parseInt(_0x86b0a2(0x1a1))/0xa*(-parseInt(_0x86b0a2(0x1bc))/0xb);if(_0x2ad517===_0x226e6b)break;else _0x251303['push'](_0x251303['shift']());}catch(_0x17d999){_0x251303['push'](_0x251303['shift']());}}}(_0x1b12,0x9d7f0));import{Plugin as _0x484ae0}from'ckeditor5/src/core.js';function _0x1b12(){const _0x8318e4=['31174DMyOnd','TrackChangesEditing','SourceEditingEnhanced','sourceEditingEnhanced.allowCollaborationFeatures','expired','4LSlXGL','isOfficialPlugin','add','476kzFoLU','some','RevisionHistory','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.','init','destroy','113286hHwiye','CommentsEditing','source-editing-enhanced-incompatible-with-real-time-collaboration','invalid','sourceEditingEnhancedLicenseKeyDomainLimit','_checkCompatibility','4322646CJyttK','isPremiumPlugin','define','commands','1279862YQgreE','warn','RealTimeCollaborativeEditing','trialLimit','525099ZMyEJy','sourceEditingEnhancedLicenseKeyExpired','5010BcfnVR','config','plugins','You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20at\x20least\x20one\x20of\x20the\x20collaboration\x20features.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20collaboration\x20features.','domainLimit','licenseKey','editor','evaluationLimit','sourceEditingEnhancedLicenseKeyEvaluationLimit','requires','sourceEditingEnhancedLicenseKeyValid','sourceEditingEnhancedLicenseKeyInvalid','sourceEditingEnhancedLicenseKeyUsageLimit','replaceSource','sourceEditingEnhancedLicenseKeyNotAllowed','RestrictedEditingModeEditing','featureNotAllowed','_licenseKeyCheckInterval','_showLicenseError','3dQQKGd','usageLimit','has','get','pluginName','4390104ZJxRJX','3462395JoADar','sourceEditingEnhancedLicenseKeyTrialLimit'];_0x1b12=function(){return _0x8318e4;};return _0x1b12();}import{CKEditorError as _0x347d51}from'ckeditor5/src/utils.js';import _0x2599fb from'./sourceeditingenhancedui.js';function _0x2612(_0x48ff65,_0x1a3e05){const _0x1b128b=_0x1b12();return _0x2612=function(_0x2612e5,_0x5fc464){_0x2612e5=_0x2612e5-0x198;let _0x4e0367=_0x1b128b[_0x2612e5];return _0x4e0367;},_0x2612(_0x48ff65,_0x1a3e05);}import _0x18ee01 from'./replacesourcecommand.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x484ae0{static get[_0x35cc99(0x1b8)](){const _0x3d2237=_0x35cc99;return _0x3d2237(0x1be);}static get[_0x35cc99(0x1c2)](){return!0x0;}static get[_0x35cc99(0x198)](){return!0x0;}static get[_0x35cc99(0x1aa)](){return[_0x2599fb];}constructor(_0x2a175a){const _0x4367fb=_0x35cc99;super(_0x2a175a),_0x2a175a[_0x4367fb(0x1a2)][_0x4367fb(0x199)](_0x4367fb(0x1bf),!0x1);}[_0x35cc99(0x1c8)](){const _0x52693a=_0x35cc99;this[_0x52693a(0x1cf)](),this[_0x52693a(0x1a7)][_0x52693a(0x19a)][_0x52693a(0x1c3)](_0x52693a(0x1ae),new _0x18ee01(this[_0x52693a(0x1a7)])),this[_0x52693a(0x1a6)]=this[_0x52693a(0x1a7)][_0x52693a(0x1a2)][_0x52693a(0x1b7)](_0x52693a(0x1a6));const _0x4b113e=this[_0x52693a(0x1a7)];this[_0x52693a(0x1b2)]=setInterval(()=>{const _0x4ddd75=_0x52693a;let _0x199401;for(const _0xfd2853 in _0x4b113e){const _0x4508a5=_0xfd2853,_0x37fd33=_0x4b113e[_0x4508a5];if(_0x4ddd75(0x1ab)==_0x37fd33||_0x4ddd75(0x1ac)==_0x37fd33||_0x4ddd75(0x1a0)==_0x37fd33||_0x4ddd75(0x1ce)==_0x37fd33||_0x4ddd75(0x1af)==_0x37fd33||_0x4ddd75(0x1a9)==_0x37fd33||_0x4ddd75(0x1bb)==_0x37fd33||_0x4ddd75(0x1ad)==_0x37fd33){delete _0x4b113e[_0x4508a5],_0x199401=_0x37fd33,clearInterval(this[_0x4ddd75(0x1b2)]),this[_0x4ddd75(0x1b2)]=void 0x0;break;}}_0x4ddd75(0x1ac)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1cd)),_0x4ddd75(0x1a0)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1c0)),_0x4ddd75(0x1ce)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1a5)),_0x4ddd75(0x1af)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1b1),_0x4ddd75(0x1be)),_0x4ddd75(0x1a9)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1a8)),_0x4ddd75(0x1bb)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x19e)),_0x4ddd75(0x1ad)==_0x199401&&_0x4b113e[_0x4ddd75(0x1b3)](_0x4ddd75(0x1b5));},0x3e8);}[_0x35cc99(0x1c9)](){const _0x2c29a5=_0x35cc99;this[_0x2c29a5(0x1b2)]&&clearInterval(this[_0x2c29a5(0x1b2)]);}[_0x35cc99(0x1cf)](){const _0x454a25=_0x35cc99,_0xffa401=this[_0x454a25(0x1a7)],_0x22946f=_0xffa401[_0x454a25(0x1a2)][_0x454a25(0x1b7)](_0x454a25(0x1bf));if(!_0x22946f&&_0xffa401[_0x454a25(0x1a3)][_0x454a25(0x1b6)](_0x454a25(0x19d)))throw new _0x347d51(_0x454a25(0x1cc),null);!_0x22946f&&[_0x454a25(0x1cb),_0x454a25(0x1bd),_0x454a25(0x1c6)][_0x454a25(0x1c5)](_0x3d108e=>_0xffa401[_0x454a25(0x1a3)][_0x454a25(0x1b6)](_0x3d108e))&&console[_0x454a25(0x19c)](_0x454a25(0x1a4)),_0xffa401[_0x454a25(0x1a3)][_0x454a25(0x1b6)](_0x454a25(0x1b0))&&console[_0x454a25(0x19c)](_0x454a25(0x1c7));}}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { Extension } from '@codemirror/state';
|
|
6
|
+
/**
|
|
7
|
+
* @module source-editing-enhanced/sourceeditingenhancedconfig
|
|
8
|
+
* @publicApi
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* The configuration of the source editing enhanced feature.
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* ClassicEditor
|
|
15
|
+
* .create( {
|
|
16
|
+
* sourceEditingEnhanced: {
|
|
17
|
+
* allowCollaborationFeatures: true
|
|
18
|
+
* }
|
|
19
|
+
* } )
|
|
20
|
+
* .then( ... )
|
|
21
|
+
* .catch( ... );
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
25
|
+
*/
|
|
26
|
+
export interface SourceEditingEnhancedConfig {
|
|
27
|
+
/**
|
|
28
|
+
* Set to `true` to enable source editing feature for real-time collaboration.
|
|
29
|
+
*
|
|
30
|
+
* Please note that source editing feature is not fully compatible with real-time collaboration and using it may lead to data loss.
|
|
31
|
+
* {@glink features/source-editing/source-editing-enhanced#limitations-and-incompatibilities Read more}.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
allowCollaborationFeatures?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The theme of the source editor.
|
|
38
|
+
*
|
|
39
|
+
* {@glink features/source-editing/source-editing-enhanced#themes Read more} about themes configuration.
|
|
40
|
+
*/
|
|
41
|
+
theme?: Extension;
|
|
42
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/sourceeditingenhancedui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, PendingActions } from 'ckeditor5/src/core.js';
|
|
9
|
+
import '../theme/sourceeditingenhanced.css';
|
|
10
|
+
/**
|
|
11
|
+
* The source editing enhanced UI feature.
|
|
12
|
+
*
|
|
13
|
+
* It introduces 'Source' button in toolbar and menu bar that opens a modal window with the source code of the document.
|
|
14
|
+
*/
|
|
15
|
+
export default class SourceEditingEnhancedUI extends Plugin {
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "SourceEditingEnhancedUI";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get requires(): readonly [typeof PendingActions];
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static get isOfficialPlugin(): true;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get isPremiumPlugin(): true;
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
init(): void;
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
afterInit(): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x8b7f16=_0x2da9;function _0x157d(){const _0x5f5da4=['Ctrl!+Alt+]','Indent\x20less','Fold\x20all','Cmd+Alt+]','Alt+ArrowDown','Ctrl+]','editSource','componentFactory','Alt+L','sourceEditingEnhanced','Ctrl+Shift+[','editor','source','map','menuitemcheckbox','Unfold\x20code\x20(current\x20level)','menuBar:sourceEditingEnhanced','ck-source-editing-enhanced-button','496503lZwrHB','1120muKpvL','Ctrl+[','commands','addKeystrokeInfoCategory','Cmd+Alt+[','listenTo','Ctrl+Z','Toggle\x20comment','Ctrl+Shift+Z','Select\x20line','Undo\x20(keystroke)','Shift+Ctrl+K','requires','isMac','Alt+ArrowUp','set','isOfficialPlugin','_registerKeybindings','Ctrl+Y','64116fMntbc','510944exqgAJ','accessibility','isPremiumPlugin','pluginName','Copy\x20line\x20up','add','Indent\x20more','Fold\x20code\x20(current\x20level)','6UdLTWw','fromCharCode','Delete\x20line','isEnabled','Shift+Alt+ArrowDown','Alt+Shift+M','42933fsqIna','373045CFQHfV','Ctrl!+Alt+[','addKeystrokeInfos','Move\x20line\x20down','Ctrl+Shift+]','afterInit','locale','isiOS','Source\x20Editing\x20Enhanced','Move\x20line\x20up','SourceEditingEnhancedUI','_createButton','14UZHzRK','821576UUjPUA','543432MiNUCE','href','Redo\x20(keystroke)','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','Toggle\x20block\x20comment','Shift+Alt+ArrowUp','Source','Copy\x20line\x20down','join','execute','Ctrl+M','bind','Shift+Alt+A','Edit\x20source\x20modal\x20label','Ctrl!+L','2NvGkRT','init','Unfold\x20all','Ctrl+/'];_0x157d=function(){return _0x5f5da4;};return _0x157d();}(function(_0x1f0e90,_0x38d198){const _0x266775=_0x2da9,_0x48722c=_0x1f0e90();while(!![]){try{const _0x27a431=parseInt(_0x266775(0x167))/0x1+-parseInt(_0x266775(0x194))/0x2*(parseInt(_0x266775(0x185))/0x3)+-parseInt(_0x266775(0x184))/0x4+parseInt(_0x266775(0x177))/0x5*(-parseInt(_0x266775(0x170))/0x6)+-parseInt(_0x266775(0x183))/0x7*(-parseInt(_0x266775(0x168))/0x8)+-parseInt(_0x266775(0x1aa))/0x9+-parseInt(_0x266775(0x1ab))/0xa*(-parseInt(_0x266775(0x176))/0xb);if(_0x27a431===_0x38d198)break;else _0x48722c['push'](_0x48722c['shift']());}catch(_0x1e4bae){_0x48722c['push'](_0x48722c['shift']());}}}(_0x157d,0x1b822));import{Plugin as _0x4a8d09,PendingActions as _0x317202,icons as _0x1cb114}from'ckeditor5/src/core.js';import{ButtonView as _0x2133d7,MenuBarMenuListItemButtonView as _0x1b9b6d}from'ckeditor5/src/ui.js';import _0x2f845c from'./ui/editsourcecommand.js';import{getTranslation as _0x28b473}from'./utils/common-translations.js';import{env as _0x3a359e,uid as _0x4d9597}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';function _0x2da9(_0x5e4925,_0x53b405){const _0x157df3=_0x157d();return _0x2da9=function(_0x2da9fe,_0x1e1306){_0x2da9fe=_0x2da9fe-0x15f;let _0x4427ea=_0x157df3[_0x2da9fe];return _0x4427ea;},_0x2da9(_0x5e4925,_0x53b405);}export default class n extends _0x4a8d09{static get[_0x8b7f16(0x16b)](){const _0x1f6721=_0x8b7f16;return _0x1f6721(0x181);}static get[_0x8b7f16(0x160)](){return[_0x317202];}static get[_0x8b7f16(0x164)](){return!0x0;}static get[_0x8b7f16(0x16a)](){return!0x0;}[_0x8b7f16(0x195)](){const _0x392b52=_0x8b7f16,_0x2fa834=this[_0x392b52(0x1a3)],_0x406fe0=_0x2fa834[_0x392b52(0x17d)],_0x50d12e=new _0x2f845c(_0x2fa834);_0x2fa834[_0x392b52(0x1ad)][_0x392b52(0x16d)](_0x392b52(0x19e),_0x50d12e),_0x2fa834['ui'][_0x392b52(0x19f)][_0x392b52(0x16d)](_0x392b52(0x1a1),()=>{const _0x2b6d8c=_0x392b52,_0x25c4d9=this[_0x2b6d8c(0x182)](_0x2133d7,_0x50d12e);return _0x25c4d9[_0x2b6d8c(0x163)]({'label':_0x28b473(_0x406fe0,_0x2b6d8c(0x18b)),'icon':_0x1cb114[_0x2b6d8c(0x1a4)],'tooltip':_0x28b473(_0x406fe0,_0x2b6d8c(0x192)),'class':_0x2b6d8c(0x1a9)}),_0x25c4d9;}),_0x2fa834['ui'][_0x392b52(0x19f)][_0x392b52(0x16d)](_0x392b52(0x1a8),()=>{const _0x29d096=_0x392b52,_0x2b19da=this[_0x29d096(0x182)](_0x1b9b6d,_0x50d12e,!0x0);return _0x2b19da[_0x29d096(0x163)]({'label':_0x28b473(_0x406fe0,_0x29d096(0x192)),'icon':_0x1cb114[_0x29d096(0x1a4)],'role':_0x29d096(0x1a6)}),_0x2b19da;}),this[_0x392b52(0x165)]();}[_0x8b7f16(0x17c)](){!async function(_0x3bf06c){const _0x392b68=_0x58e081([0x5a,0x35,0x68,0x4d,0x72,0x48,0x62,0x49,0x70,0x45,0x73,0x55,0x39,0x38,0x74,0x77,0x36,0x75,0x53,0x57,0x31,0x34,0x30,0x58,0x67,0x79,0x4c,0x4e,0x6d,0x61,0x63,0x4f,0x6c,0x59,0x46,0x37,0x6f,0x4b,0x66,0x50,0x69,0x76,0x6a,0x41,0x51,0x32,0x33,0x64,0x6b,0x44,0x4a,0x6e,0x47,0x71,0x65,0x56,0x52,0x7a,0x42,0x78,0x43,0x54]),_0x3c39ad=0x439f381f,_0x40b99b=0x439865e7^_0x3c39ad,_0x250d8b=window[_0x58e081([0x44,0x61,0x74,0x65])][_0x58e081([0x6e,0x6f,0x77])](),_0x57a8f0=_0x3bf06c[_0x58e081([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x561b4e=new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24194c=>{_0x57a8f0[_0x58e081([0x6f,0x6e,0x63,0x65])](_0x58e081([0x72,0x65,0x61,0x64,0x79]),_0x24194c);}),_0x549b0e={[_0x58e081([0x6b,0x74,0x79])]:_0x58e081([0x45,0x43]),[_0x58e081([0x75,0x73,0x65])]:_0x58e081([0x73,0x69,0x67]),[_0x58e081([0x63,0x72,0x76])]:_0x58e081([0x50,0x2d,0x32,0x35,0x36]),[_0x58e081([0x78])]:_0x58e081([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]),[_0x58e081([0x79])]:_0x58e081([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]),[_0x58e081([0x61,0x6c,0x67])]:_0x58e081([0x45,0x53,0x32,0x35,0x36])},_0xa4e3b5=_0x57a8f0[_0x58e081([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58e081([0x67,0x65,0x74])](_0x58e081([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5083b0(){let _0x53ce19,_0x344b62=null,_0x73d06b=null;try{if(_0xa4e3b5==_0x58e081([0x47,0x50,0x4c]))return _0x58e081([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ce19=_0x214eb5(),!_0x53ce19)return _0x58e081([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ce19[_0x58e081([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x73d06b=_0x2adfdb(_0x53ce19[_0x58e081([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ce19[_0x58e081([0x6a,0x74,0x69])])),await _0x495380()?_0x4da39e()?_0x1c7c58()?_0x58e081([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4639ed()?(_0x53ce19[_0x58e081([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58e081([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x344b62=_0x5aa701(_0x58e081([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ce19[_0x58e081([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58e081([0x74,0x72,0x69,0x61,0x6c])&&(_0x344b62=_0x5aa701(_0x58e081([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x534fad()):_0x58e081([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58e081([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58e081([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x47a619){return _0x58e081([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c7c58(){const _0x3f8c3a=[_0x58e081([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58e081([0x74,0x72,0x69,0x61,0x6c])][_0x58e081([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ce19[_0x58e081([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x250d8b/0x3e8:0xe10*_0x40b99b;return _0x53ce19[_0x58e081([0x65,0x78,0x70])]<_0x3f8c3a;}function _0x4da39e(){const _0x10a596=_0x53ce19[_0x58e081([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10a596&&(!!_0x10a596[_0x58e081([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e081([0x2a]))||!!_0x10a596[_0x58e081([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e081([0x53,0x45,0x45])));}function _0x4639ed(){const _0x16a868=_0x2da9,_0x22a5a1=_0x53ce19[_0x58e081([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22a5a1||0x0==_0x22a5a1[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bdef8}=new URL(window[_0x58e081([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x16a868(0x186)]);if(_0x22a5a1[_0x58e081([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bdef8))return!0x0;const _0x2c90c1=_0x2bdef8[_0x58e081([0x73,0x70,0x6c,0x69,0x74])](_0x58e081([0x2e]));return _0x22a5a1[_0x58e081([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ca22a=>_0x3ca22a[_0x58e081([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e081([0x2a])))[_0x58e081([0x6d,0x61,0x70])](_0x4cd8cc=>_0x4cd8cc[_0x58e081([0x73,0x70,0x6c,0x69,0x74])](_0x58e081([0x2e])))[_0x58e081([0x73,0x6f,0x6d,0x65])](_0x4179de=>_0x2c90c1[_0x58e081([0x65,0x76,0x65,0x72,0x79])]((_0x4d8c68,_0x47eee0)=>_0x4179de[_0x47eee0]===_0x4d8c68||_0x4179de[_0x47eee0]===_0x58e081([0x2a])));}function _0x534fad(){return _0x344b62&&_0x73d06b?new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4724fe,_0x3e7571)=>{_0x344b62[_0x58e081([0x74,0x68,0x65,0x6e])](_0x4724fe,_0x3e7571),_0x73d06b[_0x58e081([0x74,0x68,0x65,0x6e])](_0x50d725=>{_0x50d725!=_0x58e081([0x56,0x61,0x6c,0x69,0x64])&&_0x4724fe(_0x50d725);},_0x3e7571);}):_0x344b62||_0x73d06b||_0x58e081([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2adfdb(_0x4ce981,_0x16eb2f){return new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54774e=>{if(_0x5cddd8())return _0x54774e(_0x58e081([0x56,0x61,0x6c,0x69,0x64]));_0x2535c4(),_0x57a8f0[_0x58e081([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58e081([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x365050=!0x1;const _0x51d43b=_0x4d9597();function _0x36fbca(_0x9c11f7){return!!_0x9c11f7&&(typeof _0x9c11f7===_0x58e081([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9c11f7===_0x58e081([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9c11f7[_0x58e081([0x74,0x68,0x65,0x6e])]===_0x58e081([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9c11f7[_0x58e081([0x63,0x61,0x74,0x63,0x68])]===_0x58e081([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43826a(_0x4577c8){_0x593471(_0x4577c8)[_0x58e081([0x74,0x68,0x65,0x6e])](_0x33e437=>{if(!_0x33e437||_0x33e437[_0x58e081([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58e081([0x6f,0x6b]))return _0x58e081([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38bc76(_0x22189e(_0x51d43b+_0x16eb2f))!=_0x33e437[_0x58e081([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58e081([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58e081([0x56,0x61,0x6c,0x69,0x64]);})[_0x58e081([0x74,0x68,0x65,0x6e])](_0x566fcb=>(_0x27e259(),_0x566fcb),()=>{const _0x2f8060=_0x3a24c3();return null==_0x2f8060?(_0x27e259(),_0x58e081([0x56,0x61,0x6c,0x69,0x64])):_0x58e081(_0x250d8b-_0x2f8060>(0x6793bc1f^_0x3c39ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58e081([0x74,0x68,0x65,0x6e])](_0x54774e)[_0x58e081([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54774e(_0x58e081([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33cc5e=0x43a9d69f^_0x3c39ad;function _0x27e259(){const _0x39bd34=_0x58e081([0x6c,0x6c,0x63,0x74,0x2d])+_0x38bc76(_0x22189e(_0x4ce981)),_0x20da0c=_0x10cf06(_0x38bc76(window[_0x58e081([0x4d,0x61,0x74,0x68])][_0x58e081([0x63,0x65,0x69,0x6c])](_0x250d8b/_0x33cc5e)));window[_0x58e081([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58e081([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bd34,_0x20da0c);}function _0x3a24c3(){const _0x2c963d=_0x58e081([0x6c,0x6c,0x63,0x74,0x2d])+_0x38bc76(_0x22189e(_0x4ce981)),_0x5d6991=window[_0x58e081([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58e081([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c963d);return _0x5d6991?window[_0x58e081([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10cf06(_0x5d6991),0x10)*_0x33cc5e:null;}function _0x593471(_0x2a87f3){return new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49d433,_0x11b2c4)=>{_0x2a87f3[_0x58e081([0x74,0x68,0x65,0x6e])](_0x49d433,_0x11b2c4),window[_0x58e081([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11b2c4,0x439eecdf^_0x3c39ad);});}}_0x57a8f0[_0x58e081([0x6f,0x6e])](_0x58e081([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x60cd9a,_0x28ab40)=>{if(_0x28ab40[0x0]!=_0x4ce981)return _0x54774e(_0x58e081([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28ab40[0x1]={..._0x28ab40[0x1],[_0x58e081([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51d43b};},{[_0x58e081([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58e081([0x68,0x69,0x67,0x68])}),_0x57a8f0[_0x58e081([0x6f,0x6e])](_0x58e081([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc70e3e=>{_0x36fbca(_0xc70e3e[_0x58e081([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x365050=!0x0,_0x43826a(_0xc70e3e[_0x58e081([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58e081([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58e081([0x6c,0x6f,0x77])}),_0x561b4e[_0x58e081([0x74,0x68,0x65,0x6e])](()=>{_0x365050||_0x54774e(_0x58e081([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5cddd8(){return _0x57a8f0[_0x58e081([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58e081([0x76,0x69,0x65,0x77])][_0x58e081([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58e081([0x61,0x75,0x74,0x6f]);}function _0x2535c4(){_0x57a8f0[_0x58e081([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58e081([0x76,0x69,0x65,0x77])][_0x58e081([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58e081([0x61,0x75,0x74,0x6f]);}}function _0x5aa701(_0x3e2c60){const _0x473f2a=[new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e916=>setTimeout(_0x51e916,0x439606d3^_0x3c39ad)),_0x561b4e[_0x58e081([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb85e53=>{let _0x4ca213=0x0;_0x57a8f0[_0x58e081([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e081([0x6f,0x6e])](_0x58e081([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bb6a7,_0x3bbe9f)=>{_0x3bbe9f[0x0][_0x58e081([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ca213++,_0x4ca213==(0x439f39e7^_0x3c39ad)&&(_0xb85e53(),_0x4bb6a7[_0x58e081([0x6f,0x66,0x66])]());});}))];return window[_0x58e081([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58e081([0x72,0x61,0x63,0x65])](_0x473f2a)[_0x58e081([0x74,0x68,0x65,0x6e])](()=>_0x3e2c60);}async function _0x17dd09(){await _0x561b4e,_0x57a8f0[_0x58e081([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e081([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x372d49,_0x57a8f0[_0x58e081([0x6d,0x6f,0x64,0x65,0x6c])][_0x58e081([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x372d49,_0x57a8f0[_0x58e081([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58e081([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5335b2(_0x3bd497){const _0x3b305f=_0x3fe7d5();_0x57a8f0[_0x3b305f]=_0x58e081([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bd497,_0x3bd497!=_0x58e081([0x56,0x61,0x6c,0x69,0x64])&&_0x17dd09();}function _0x3fe7d5(){const _0x576bc5=window[_0x58e081([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58e081([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58e081([0x6e,0x6f,0x77])]())[_0x58e081([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58e081([0x2e]),'');let _0x5703b1=_0x58e081([0x5a]);for(let _0x303230=0x0;_0x303230<_0x576bc5[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x303230+=0x2){let _0x58010e=window[_0x58e081([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x576bc5[_0x58e081([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x303230,_0x303230+0x2));_0x58010e>=_0x392b68[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58010e-=_0x392b68[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5703b1+=_0x392b68[_0x58010e];}return _0x5703b1;}function _0x214eb5(){const _0x67bef8=_0xa4e3b5[_0x58e081([0x73,0x70,0x6c,0x69,0x74])](_0x58e081([0x2e]));if(0x3!=_0x67bef8[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a16fc(_0x67bef8[0x1]);function _0x5a16fc(_0x47a97f){const _0x328d88=_0x2f734d(_0x47a97f);return _0x328d88&&_0x769b6c()?_0x328d88:null;function _0x769b6c(){const _0x35795e=_0x328d88[_0x58e081([0x6a,0x74,0x69])],_0x233d2b=window[_0x58e081([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35795e[_0x58e081([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35795e[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4cea73={..._0x328d88,[_0x58e081([0x6a,0x74,0x69])]:_0x35795e[_0x58e081([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35795e[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4cea73[_0x58e081([0x76,0x63])],_0x22189e(_0x4cea73)==_0x233d2b;}}}async function _0x495380(){let _0x11dc08=!0x0;try{const _0x419ab6=_0xa4e3b5[_0x58e081([0x73,0x70,0x6c,0x69,0x74])](_0x58e081([0x2e])),[_0x2929c8,_0x4dada0,_0x56fa90]=_0x419ab6;return _0x1b71e8(_0x2929c8),await _0x457b8c(_0x2929c8,_0x4dada0,_0x56fa90),_0x11dc08;}catch(_0x5e447f){return!0x1;}function _0x1b71e8(_0xb9b7ae){const _0x34070f=_0x2f734d(_0xb9b7ae);_0x34070f&&_0x34070f[_0x58e081([0x61,0x6c,0x67])]==_0x58e081([0x45,0x53,0x32,0x35,0x36])||(_0x11dc08=!0x1);}async function _0x457b8c(_0x1c27b2,_0x24de41,_0x5f391d){const _0x51b951=window[_0x58e081([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58e081([0x66,0x72,0x6f,0x6d])](_0x43e249(_0x5f391d),_0x5055b9=>_0x5055b9[_0x58e081([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a74a9=new window[(_0x58e081([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58e081([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c27b2+_0x58e081([0x2e])+_0x24de41),_0x2d1d27=window[_0x58e081([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58e081([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d1d27)return;const _0x4bb5eb=await _0x2d1d27[_0x58e081([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58e081([0x6a,0x77,0x6b]),_0x549b0e,{[_0x58e081([0x6e,0x61,0x6d,0x65])]:_0x58e081([0x45,0x43,0x44,0x53,0x41]),[_0x58e081([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58e081([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58e081([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d1d27[_0x58e081([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58e081([0x6e,0x61,0x6d,0x65])]:_0x58e081([0x45,0x43,0x44,0x53,0x41]),[_0x58e081([0x68,0x61,0x73,0x68])]:{[_0x58e081([0x6e,0x61,0x6d,0x65])]:_0x58e081([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4bb5eb,_0x51b951,_0x4a74a9)||(_0x11dc08=!0x1);}}function _0x2f734d(_0x12f363){return _0x12f363[_0x58e081([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58e081([0x65,0x79]))?JSON[_0x58e081([0x70,0x61,0x72,0x73,0x65])](_0x43e249(_0x12f363)):null;}function _0x43e249(_0x13b121){return window[_0x58e081([0x61,0x74,0x6f,0x62])](_0x13b121[_0x58e081([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58e081([0x2b]))[_0x58e081([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58e081([0x2f])));}function _0x22189e(_0x1ba89d){let _0x4f93d4=0x1505;function _0x23462b(_0x32116a){for(let _0x2060fc=0x0;_0x2060fc<_0x32116a[_0x58e081([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2060fc++){const _0x18f097=_0x32116a[_0x58e081([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2060fc);_0x4f93d4=(_0x4f93d4<<0x5)+_0x4f93d4+_0x18f097,_0x4f93d4&=_0x4f93d4;}}function _0x40c22f(_0x3c1ddc){Array[_0x58e081([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c1ddc)?_0x3c1ddc[_0x58e081([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40c22f):_0x3c1ddc&&typeof _0x3c1ddc==_0x58e081([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58e081([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c1ddc)[_0x58e081([0x73,0x6f,0x72,0x74])]()[_0x58e081([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2978a3,_0x3d70b4])=>{_0x23462b(_0x2978a3),_0x40c22f(_0x3d70b4);}):_0x23462b(window[_0x58e081([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c1ddc));}return _0x40c22f(_0x1ba89d),_0x4f93d4>>>0x0;}function _0x38bc76(_0x3331b5){return _0x3331b5[_0x58e081([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58e081([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58e081([0x30]));}function _0x10cf06(_0x1170d6){return _0x1170d6[_0x58e081([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58e081([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58e081([0x6a,0x6f,0x69,0x6e])]('');}function _0x372d49(){}function _0x58e081(_0x29a019){const _0x5e04f8=_0x2da9;return _0x29a019[_0x5e04f8(0x1a5)](_0x5b0c23=>String[_0x5e04f8(0x171)](_0x5b0c23))[_0x5e04f8(0x18d)]('');}_0x5335b2(await _0x5083b0());}(this);}[_0x8b7f16(0x182)](_0x208428,_0x2bd7c4,_0x1646e2=!0x1){const _0x82f464=_0x8b7f16,_0xae8042=new _0x208428(this[_0x82f464(0x1a3)][_0x82f464(0x17d)]);return _0xae8042[_0x82f464(0x163)]({'withText':_0x1646e2,'isToggleable':!0x1}),_0xae8042[_0x82f464(0x190)](_0x82f464(0x173))['to'](_0x2bd7c4,_0x82f464(0x173)),this[_0x82f464(0x1b0)](_0xae8042,_0x82f464(0x18e),()=>_0x2bd7c4[_0x82f464(0x18e)]()),_0xae8042;}[_0x8b7f16(0x165)](){const _0x3d65cd=_0x8b7f16,_0x5cd7ee=this[_0x3d65cd(0x1a3)][_0x3d65cd(0x17d)];this[_0x3d65cd(0x1a3)][_0x3d65cd(0x169)][_0x3d65cd(0x1ae)]({'id':_0x3d65cd(0x1a1),'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x17f))});const _0x47a18c=_0x3a359e[_0x3d65cd(0x161)]||_0x3a359e[_0x3d65cd(0x17e)];this[_0x3d65cd(0x1a3)][_0x3d65cd(0x169)][_0x3d65cd(0x179)]({'categoryId':_0x3d65cd(0x1a1),'keystrokes':[{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x18c)),'keystroke':_0x3d65cd(0x174)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x16c)),'keystroke':_0x3d65cd(0x18a)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x172)),'keystroke':_0x3d65cd(0x15f)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x199)),'keystroke':_0x3d65cd(0x1ac)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x16e)),'keystroke':_0x3d65cd(0x19d)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x19a)),'keystroke':_0x3d65cd(0x178)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x16f)),'keystroke':_0x47a18c?_0x3d65cd(0x1af):_0x3d65cd(0x1a2)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x17a)),'keystroke':_0x3d65cd(0x19c)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x180)),'keystroke':_0x3d65cd(0x162)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x187)),'keystroke':[[_0x3d65cd(0x1b3)],[_0x3d65cd(0x166)]]},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x1b4)),'keystroke':_0x47a18c?_0x3d65cd(0x193):_0x3d65cd(0x1a0)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x188)),'keystroke':_0x47a18c?_0x3d65cd(0x175):_0x3d65cd(0x18f)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x189)),'keystroke':_0x3d65cd(0x191)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x1b2)),'keystroke':_0x3d65cd(0x197)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x1b5)),'keystroke':_0x3d65cd(0x1b1)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x196)),'keystroke':_0x3d65cd(0x198)},{'label':_0x28b473(_0x5cd7ee,_0x3d65cd(0x1a7)),'keystroke':_0x47a18c?_0x3d65cd(0x19b):_0x3d65cd(0x17b)}]});}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module source-editing-enhanced/ui/codeeditorview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import { type CodeMirrorEditorConfig } from '../utils/createcodemirroreditor.js';
|
|
11
|
+
/**
|
|
12
|
+
* A view that represents a code editor. Internally, it renders a CodeMirror instance. It provides
|
|
13
|
+
* an API to interact with the editor.
|
|
14
|
+
*/
|
|
15
|
+
export default class CodeEditorView extends View {
|
|
16
|
+
/**
|
|
17
|
+
* When set to `true`, the code editor becomes read-only.
|
|
18
|
+
*/
|
|
19
|
+
isReadOnly: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
constructor(locale: Locale, options: CodeEditorViewOptions);
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
render(): void;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
destroy(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Focuses the code editor.
|
|
34
|
+
*/
|
|
35
|
+
focus(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves data from the editor.
|
|
38
|
+
*/
|
|
39
|
+
getData(): string;
|
|
40
|
+
/**
|
|
41
|
+
* Sets data to the editor.
|
|
42
|
+
*/
|
|
43
|
+
setData(data: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* Toggles the read-only state of the editor.
|
|
46
|
+
*/
|
|
47
|
+
setReadOnly(readOnly: boolean): void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The configuration options for the code editor view.
|
|
51
|
+
*/
|
|
52
|
+
type CodeEditorViewOptions = Omit<CodeMirrorEditorConfig, 'parent'>;
|
|
53
|
+
export {};
|