@ckeditor/ckeditor5-template 47.6.1 → 48.0.0-alpha.1
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-editor.css +84 -90
- package/dist/index.css +83 -116
- package/dist/index.js +1 -1
- package/{src → dist}/template.d.ts +1 -1
- package/{src → dist}/templatecommand.d.ts +1 -1
- package/{src → dist}/templateediting.d.ts +1 -1
- package/{src → dist}/templateui.d.ts +1 -1
- 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/templatelistbuttonview.d.ts +2 -2
- package/{src → dist}/ui/templatelistitemview.d.ts +2 -2
- package/{src → dist}/ui/templatelistview.d.ts +1 -1
- package/{src → dist}/utils/common-translations.d.ts +1 -1
- package/package.json +16 -39
- package/build/template.js +0 -5
- 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/lang/contexts.json +0 -8
- package/lang/translations/af.po +0 -36
- package/lang/translations/ar.po +0 -36
- package/lang/translations/ast.po +0 -36
- package/lang/translations/az.po +0 -36
- package/lang/translations/be.po +0 -36
- package/lang/translations/bg.po +0 -36
- package/lang/translations/bn.po +0 -36
- package/lang/translations/bs.po +0 -36
- package/lang/translations/ca.po +0 -36
- package/lang/translations/cs.po +0 -36
- package/lang/translations/da.po +0 -36
- package/lang/translations/de-ch.po +0 -36
- package/lang/translations/de.po +0 -36
- package/lang/translations/el.po +0 -36
- package/lang/translations/en-au.po +0 -36
- package/lang/translations/en-gb.po +0 -36
- package/lang/translations/en.po +0 -36
- package/lang/translations/eo.po +0 -36
- package/lang/translations/es-co.po +0 -36
- package/lang/translations/es.po +0 -36
- package/lang/translations/et.po +0 -36
- package/lang/translations/eu.po +0 -36
- package/lang/translations/fa.po +0 -36
- package/lang/translations/fi.po +0 -36
- package/lang/translations/fr.po +0 -36
- package/lang/translations/gl.po +0 -36
- package/lang/translations/gu.po +0 -36
- package/lang/translations/he.po +0 -36
- package/lang/translations/hi.po +0 -36
- package/lang/translations/hr.po +0 -36
- package/lang/translations/hu.po +0 -36
- package/lang/translations/hy.po +0 -36
- package/lang/translations/id.po +0 -36
- package/lang/translations/it.po +0 -36
- package/lang/translations/ja.po +0 -36
- package/lang/translations/jv.po +0 -36
- package/lang/translations/kk.po +0 -36
- package/lang/translations/km.po +0 -36
- package/lang/translations/kn.po +0 -36
- package/lang/translations/ko.po +0 -36
- package/lang/translations/ku.po +0 -36
- package/lang/translations/lt.po +0 -36
- package/lang/translations/lv.po +0 -36
- package/lang/translations/ms.po +0 -36
- package/lang/translations/nb.po +0 -36
- package/lang/translations/ne.po +0 -36
- package/lang/translations/nl.po +0 -36
- package/lang/translations/no.po +0 -36
- package/lang/translations/oc.po +0 -36
- package/lang/translations/pl.po +0 -36
- package/lang/translations/pt-br.po +0 -36
- package/lang/translations/pt.po +0 -36
- package/lang/translations/ro.po +0 -36
- package/lang/translations/ru.po +0 -36
- package/lang/translations/si.po +0 -36
- package/lang/translations/sk.po +0 -36
- package/lang/translations/sl.po +0 -36
- package/lang/translations/sq.po +0 -36
- package/lang/translations/sr-latn.po +0 -36
- package/lang/translations/sr.po +0 -36
- package/lang/translations/sv.po +0 -36
- package/lang/translations/th.po +0 -36
- package/lang/translations/ti.po +0 -36
- package/lang/translations/tk.po +0 -36
- package/lang/translations/tr.po +0 -36
- package/lang/translations/tt.po +0 -36
- package/lang/translations/ug.po +0 -36
- package/lang/translations/uk.po +0 -36
- package/lang/translations/ur.po +0 -36
- package/lang/translations/uz.po +0 -36
- package/lang/translations/vi.po +0 -36
- package/lang/translations/zh-cn.po +0 -36
- package/lang/translations/zh.po +0 -36
- package/src/augmentation.js +0 -23
- package/src/index.js +0 -23
- package/src/legacyerrors.js +0 -23
- package/src/template.js +0 -23
- package/src/templatecommand.js +0 -23
- package/src/templateediting.js +0 -23
- package/src/templateui.js +0 -23
- package/src/ui/templatelistbuttonview.js +0 -23
- package/src/ui/templatelistitemview.js +0 -23
- package/src/ui/templatelistview.js +0 -23
- package/src/utils/common-translations.js +0 -23
- package/theme/template.css +0 -147
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/legacyerrors.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"className": "Template",
|
|
6
6
|
"description": "Allows for inserting predefined content structures into the document.",
|
|
7
7
|
"docs": "features/template.html",
|
|
8
|
-
"path": "src/template.
|
|
8
|
+
"path": "src/template.ts",
|
|
9
9
|
"uiComponents": [
|
|
10
10
|
{
|
|
11
11
|
"type": "SplitButton",
|
|
12
12
|
"name": "insertTemplate",
|
|
13
|
-
"
|
|
13
|
+
"iconName": "IconTemplate"
|
|
14
14
|
}
|
|
15
15
|
]
|
|
16
16
|
}
|
package/dist/index-editor.css
CHANGED
|
@@ -3,124 +3,118 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
--ck-template-dropdown-view-width:345px;
|
|
7
|
+
--ck-template-dropdown-view-height:300px;
|
|
8
|
+
--ck-template-icon-size:45px;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
.ck-button.ck-template-button .ck.ck-icon{
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
color:unset;
|
|
13
|
+
}
|
|
14
|
+
|
|
13
15
|
.ck-button.ck-template-button .ck.ck-icon *{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
color:unset;
|
|
17
|
+
}
|
|
18
|
+
|
|
16
19
|
.ck-button.ck-template-button .ck.ck-icon *:not([fill]){
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
fill:unset;
|
|
21
|
+
}
|
|
19
22
|
|
|
20
23
|
.ck.ck-template-form{
|
|
21
|
-
|
|
24
|
+
width:var(--ck-template-dropdown-view-width);
|
|
22
25
|
}
|
|
23
26
|
|
|
24
|
-
@media screen and (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
@media screen and (width <= 600px){
|
|
28
|
+
.ck.ck-template-form{
|
|
29
|
+
--ck-template-dropdown-view-width:260px;
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
|
-
}
|
|
30
32
|
|
|
31
33
|
.ck.ck-template-form > .ck-labeled-field-view{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
padding:var(--ck-spacing-large);
|
|
35
|
+
}
|
|
34
36
|
|
|
35
37
|
.ck.ck-template-form > .ck-search__results{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
border-top:1px solid var(--ck-color-base-border);
|
|
39
|
+
}
|
|
38
40
|
|
|
39
41
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
.ck-rounded-corners .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list{
|
|
48
|
-
border-radius:0;
|
|
49
|
-
}
|
|
42
|
+
max-height:var(--ck-template-dropdown-view-height);
|
|
43
|
+
padding:var(--ck-spacing-large);
|
|
44
|
+
overscroll-behavior:contain;
|
|
45
|
+
border-radius:0;
|
|
46
|
+
overflow:hidden auto;
|
|
47
|
+
}
|
|
50
48
|
|
|
51
49
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item:not(.ck-hidden) ~ .ck.ck-list__item{
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
margin-top:var(--ck-spacing-large);
|
|
51
|
+
}
|
|
54
52
|
|
|
55
53
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
grid-template-areas:"ck-template-icon ck-template-content";
|
|
71
|
-
}
|
|
54
|
+
border-radius:var(--ck-border-radius);
|
|
55
|
+
grid-template-columns:var(--ck-template-icon-size) 1fr;
|
|
56
|
+
grid-template-rows:var(--ck-template-icon-size);
|
|
57
|
+
gap:var(--ck-spacing-large) var(--ck-spacing-large);
|
|
58
|
+
grid-template-areas:"ck-template-icon ck-template-content";
|
|
59
|
+
grid-auto-columns:1fr;
|
|
60
|
+
grid-auto-flow:column dense;
|
|
61
|
+
align-items:center;
|
|
62
|
+
width:100%;
|
|
63
|
+
margin:0;
|
|
64
|
+
padding:0;
|
|
65
|
+
display:grid;
|
|
66
|
+
overflow:hidden;
|
|
67
|
+
}
|
|
72
68
|
|
|
73
69
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button:not(:focus){
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
border-color:var(--ck-color-dropdown-panel-background);
|
|
71
|
+
}
|
|
76
72
|
|
|
77
73
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck.ck-icon{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
width:var(--ck-template-icon-size);
|
|
75
|
+
grid-area:ck-template-icon;
|
|
76
|
+
height:auto;
|
|
77
|
+
margin:0;
|
|
78
|
+
}
|
|
83
79
|
|
|
84
80
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
81
|
+
flex-direction:column;
|
|
82
|
+
grid-area:ck-template-content;
|
|
83
|
+
justify-content:space-evenly;
|
|
84
|
+
min-width:0;
|
|
85
|
+
height:100%;
|
|
86
|
+
margin:0;
|
|
87
|
+
display:flex;
|
|
88
|
+
}
|
|
93
89
|
|
|
94
90
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part > .ck.ck-button__label{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
91
|
+
font-weight:bold;
|
|
92
|
+
font-size:var(--ck-font-size-base);
|
|
93
|
+
color:var(--ck-color-text);
|
|
94
|
+
white-space:nowrap;
|
|
95
|
+
text-overflow:ellipsis;
|
|
96
|
+
line-height:1.1;
|
|
97
|
+
display:block;
|
|
98
|
+
overflow:hidden;
|
|
99
|
+
}
|
|
105
100
|
|
|
106
101
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part .ck-template-form__description{
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
102
|
+
color:var(--ck-color-text);
|
|
103
|
+
margin-top:var(--ck-spacing-tiny);
|
|
104
|
+
white-space:normal;
|
|
105
|
+
text-overflow:ellipsis;
|
|
106
|
+
-webkit-line-clamp:2;
|
|
107
|
+
-webkit-box-orient:vertical;
|
|
108
|
+
font-size:.85em;
|
|
109
|
+
line-height:1.1;
|
|
110
|
+
display:-webkit-box;
|
|
111
|
+
overflow:hidden;
|
|
112
|
+
}
|
|
119
113
|
|
|
120
114
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part mark{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
115
|
+
background:var(--ck-color-highlight-background);
|
|
116
|
+
vertical-align:initial;
|
|
117
|
+
font-weight:inherit;
|
|
118
|
+
line-height:inherit;
|
|
119
|
+
font-size:inherit;
|
|
120
|
+
}
|
package/dist/index.css
CHANGED
|
@@ -2,152 +2,119 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
7
|
-
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
8
|
-
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
11
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/*
|
|
15
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
16
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
5
|
:root {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
--ck-template-dropdown-view-width: 345px;
|
|
7
|
+
--ck-template-dropdown-view-height: 300px;
|
|
8
|
+
--ck-template-icon-size: 45px;
|
|
23
9
|
}
|
|
24
10
|
|
|
25
|
-
/* Override default rules for icons to allow any fill color. */
|
|
26
11
|
.ck-button.ck-template-button .ck.ck-icon {
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
color: unset;
|
|
13
|
+
}
|
|
14
|
+
|
|
29
15
|
.ck-button.ck-template-button .ck.ck-icon * {
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
color: unset;
|
|
17
|
+
}
|
|
18
|
+
|
|
32
19
|
.ck-button.ck-template-button .ck.ck-icon *:not([fill]) {
|
|
33
|
-
|
|
34
|
-
|
|
20
|
+
fill: unset;
|
|
21
|
+
}
|
|
35
22
|
|
|
36
23
|
.ck.ck-template-form {
|
|
37
|
-
|
|
24
|
+
width: var(--ck-template-dropdown-view-width);
|
|
38
25
|
}
|
|
39
26
|
|
|
40
|
-
@media screen and (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
@media screen and (width <= 600px) {
|
|
28
|
+
.ck.ck-template-form {
|
|
29
|
+
--ck-template-dropdown-view-width: 260px;
|
|
30
|
+
}
|
|
44
31
|
}
|
|
45
|
-
}
|
|
46
32
|
|
|
47
33
|
.ck.ck-template-form > .ck-labeled-field-view {
|
|
48
|
-
|
|
49
|
-
|
|
34
|
+
padding: var(--ck-spacing-large);
|
|
35
|
+
}
|
|
50
36
|
|
|
51
37
|
.ck.ck-template-form > .ck-search__results {
|
|
52
|
-
|
|
53
|
-
|
|
38
|
+
border-top: 1px solid var(--ck-color-base-border);
|
|
39
|
+
}
|
|
54
40
|
|
|
55
41
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* This is a dirty way to increase the selector specificity and override the default rounded corners
|
|
64
|
-
* of a list inside a dropdown panel
|
|
65
|
-
*/
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ck-rounded-corners .ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list {
|
|
69
|
-
border-radius: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* This is an easy way to address the problem of spacings between hidden and visible list items */
|
|
42
|
+
max-height: var(--ck-template-dropdown-view-height);
|
|
43
|
+
padding: var(--ck-spacing-large);
|
|
44
|
+
overscroll-behavior: contain;
|
|
45
|
+
border-radius: 0;
|
|
46
|
+
overflow: hidden auto;
|
|
47
|
+
}
|
|
73
48
|
|
|
74
49
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item:not(.ck-hidden) ~ .ck.ck-list__item {
|
|
75
|
-
|
|
76
|
-
|
|
50
|
+
margin-top: var(--ck-spacing-large);
|
|
51
|
+
}
|
|
77
52
|
|
|
78
53
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
grid-auto-flow: column dense;
|
|
94
|
-
align-items: center;
|
|
95
|
-
grid-template-areas: "ck-template-icon ck-template-content";
|
|
96
|
-
}
|
|
54
|
+
border-radius: var(--ck-border-radius);
|
|
55
|
+
grid-template-columns: var(--ck-template-icon-size) 1fr;
|
|
56
|
+
grid-template-rows: var(--ck-template-icon-size);
|
|
57
|
+
gap: var(--ck-spacing-large) var(--ck-spacing-large);
|
|
58
|
+
grid-template-areas: "ck-template-icon ck-template-content";
|
|
59
|
+
grid-auto-columns: 1fr;
|
|
60
|
+
grid-auto-flow: column dense;
|
|
61
|
+
align-items: center;
|
|
62
|
+
width: 100%;
|
|
63
|
+
margin: 0;
|
|
64
|
+
padding: 0;
|
|
65
|
+
display: grid;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
}
|
|
97
68
|
|
|
98
69
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button:not(:focus) {
|
|
99
|
-
|
|
100
|
-
|
|
70
|
+
border-color: var(--ck-color-dropdown-panel-background);
|
|
71
|
+
}
|
|
101
72
|
|
|
102
73
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck.ck-icon {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
74
|
+
width: var(--ck-template-icon-size);
|
|
75
|
+
grid-area: ck-template-icon;
|
|
76
|
+
height: auto;
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
108
79
|
|
|
109
80
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
grid-area: ck-template-content;
|
|
83
|
+
justify-content: space-evenly;
|
|
84
|
+
min-width: 0;
|
|
85
|
+
height: 100%;
|
|
86
|
+
margin: 0;
|
|
87
|
+
display: flex;
|
|
88
|
+
}
|
|
118
89
|
|
|
119
90
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part > .ck.ck-button__label {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
font-size: var(--ck-font-size-base);
|
|
93
|
+
color: var(--ck-color-text);
|
|
94
|
+
white-space: nowrap;
|
|
95
|
+
text-overflow: ellipsis;
|
|
96
|
+
line-height: 1.1;
|
|
97
|
+
display: block;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
}
|
|
130
100
|
|
|
131
101
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part .ck-template-form__description {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-webkit-box-orient: vertical;
|
|
144
|
-
-webkit-line-clamp: 2;
|
|
145
|
-
}
|
|
102
|
+
color: var(--ck-color-text);
|
|
103
|
+
margin-top: var(--ck-spacing-tiny);
|
|
104
|
+
white-space: normal;
|
|
105
|
+
text-overflow: ellipsis;
|
|
106
|
+
-webkit-line-clamp: 2;
|
|
107
|
+
-webkit-box-orient: vertical;
|
|
108
|
+
font-size: .85em;
|
|
109
|
+
line-height: 1.1;
|
|
110
|
+
display: -webkit-box;
|
|
111
|
+
overflow: hidden;
|
|
112
|
+
}
|
|
146
113
|
|
|
147
114
|
.ck.ck-template-form > .ck-search__results > .ck.ck-list.ck-template-list > .ck.ck-list__item > .ck.ck-button > .ck-template-form__text-part mark {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
115
|
+
background: var(--ck-color-highlight-background);
|
|
116
|
+
vertical-align: initial;
|
|
117
|
+
font-weight: inherit;
|
|
118
|
+
line-height: inherit;
|
|
119
|
+
font-size: inherit;
|
|
120
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x56bc12,Plugin as _0x54f4b8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x48f9d3,IconTemplate as _0x27db6f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0xc88308,ListItemView as _0x193e1e,ButtonView as _0x2b2de6,View as _0x15ca50,HighlightedTextView as _0x3725f8,createDropdown as _0x5cd587,SearchTextView as _0x42edda,MenuBarMenuView as _0x9ff1a2,MenuBarMenuListView as _0x32d446,MenuBarMenuListItemView as _0x331b33,MenuBarMenuListItemButtonView as _0x3bf9ad}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x43cb8c}from'@ckeditor/ckeditor5-utils/dist/index.js';class a extends _0x56bc12{['execute'](_0x1fdd3c){const {model:_0x1e1239}=this['editor'];let _0x15b746;switch(typeof _0x1fdd3c){case'string':_0x15b746=_0x1fdd3c;break;case'function':_0x15b746=_0x1fdd3c();}'string'==typeof _0x15b746&&_0x1e1239['change'](()=>{const _0x5cbd39=this['editor']['data']['htmlProcessor']['toView'](_0x15b746),_0x342274=this['editor']['data']['toModel'](_0x5cbd39);_0x1e1239['insertContent'](_0x342274);});}}class i extends _0x54f4b8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4528de}=this;_0x4528de['commands']['add']('insertTemplate',new a(_0x4528de)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ef00e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x378c6d;for(const _0x3c090f in _0x4ef00e){const _0x35c325=_0x3c090f,_0x4ad415=_0x4ef00e[_0x35c325];if('templateLicenseKeyValid'==_0x4ad415||'templateLicenseKeyInvalid'==_0x4ad415||'templateLicenseKeyExpired'==_0x4ad415||'templateLicenseKeyDomainLimit'==_0x4ad415||'templateLicenseKeyNotAllowed'==_0x4ad415||'templateLicenseKeyEvaluationLimit'==_0x4ad415||'templateLicenseKeyUsageLimit'==_0x4ad415){delete _0x4ef00e[_0x35c325],_0x378c6d=_0x4ad415,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x378c6d&&_0x4ef00e['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x378c6d&&_0x4ef00e['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x378c6d&&_0x4ef00e['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x378c6d&&_0x4ef00e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class y extends _0xc88308{['filter'](_0xd5bb5e){if(!_0xd5bb5e)return this['_resetFiltering']();const _0x135e7c=new Map(),_0x3f97e9=this['items']['map'](_0x55215c=>{const _0x100042=_0x55215c['buttonView']['isMatching'](_0xd5bb5e);return _0x55215c['isVisible']=!!_0x100042,_0x55215c['buttonView']['highlightText'](_0x100042?_0xd5bb5e:null),_0x100042&&_0x135e7c['set'](_0x55215c,_0x100042),_0x55215c;})['sort'](j)['sort'](function(_0x17bf71){return function(_0x2ea867,_0x4e3637){const _0x19111b=_0x17bf71['get'](_0x2ea867),_0x119705=_0x17bf71['get'](_0x4e3637);return _0x19111b&&!_0x119705?-0x1:_0x119705&&!_0x19111b?0x1:_0x19111b||_0x119705?_0x19111b['title']&&!_0x119705['title']?-0x1:!_0x19111b['title']&&_0x119705['title']?0x1:0x0:0x0;};}(_0x135e7c));return this['items']['clear'](),this['items']['addMany'](_0x3f97e9),{'resultsCount':_0x135e7c['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5015fa=this['items']['map'](_0x3fa306=>_0x3fa306)['sort'](j);return _0x5015fa['forEach'](_0x5b727f=>{_0x5b727f['isVisible']=!0x0,_0x5b727f['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5015fa),{'resultsCount':_0x5015fa['length'],'totalItemsCount':_0x5015fa['length']};}}function j(_0x11c993,_0x380033){return _0x11c993['originalIndex']-_0x380033['originalIndex'];}class b extends _0x193e1e{['originalIndex'];['buttonView'];constructor(_0x638a63,_0x4d4a1a){super(_0x638a63),this['originalIndex']=_0x4d4a1a,this['buttonView']=null;}}class h extends _0x2b2de6{['templateDefinition'];['textPartView'];constructor(_0x12ca50,_0xc96694){super(_0x12ca50),this['templateDefinition']=_0xc96694,this['textPartView']=null;const {icon:_0x3f6049=_0x48f9d3}=_0xc96694;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x3f6049}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new L(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x3bf9a1){const {title:_0x2da842,description:_0x22443d}=this['templateDefinition'],_0x28d5ee=!!_0x2da842['match'](_0x3bf9a1),_0x345ea4=!(!_0x22443d||!_0x22443d['match'](_0x3bf9a1));return _0x28d5ee||_0x345ea4?{'title':_0x28d5ee,'description':_0x345ea4}:null;}['highlightText'](_0x2e7c81){this['textPartView']['highlightText'](_0x2e7c81);}}class L extends _0x15ca50{constructor(_0x153623,_0x350a3f,_0x4f7daf){super(_0x153623),this['title']=_0x350a3f['title'],this['description']=_0x350a3f['description'],this['titleView']=new _0x3725f8(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x4f7daf}});const _0x3124af=[this['titleView']];this['description']&&(this['descriptionView']=new _0x3725f8(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3124af['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3124af});}['highlightText'](_0x10cc46){this['titleView']['highlightText'](_0x10cc46),this['description']&&this['descriptionView']['highlightText'](_0x10cc46);}}function g(_0x1f1b2a,_0x12ec1c,..._0xd1c0dc){const t=_0x1f1b2a['t'];switch(_0x12ec1c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xd1c0dc);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0xd1c0dc);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x12ec1c;}}class s extends _0x54f4b8{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x48fd57}=this,_0x50c3d9=_0x48fd57['config']['get']('template.definitions')||[];_0x48fd57['ui']['componentFactory']['add']('insertTemplate',_0x51dee4=>{const _0xee55c1=_0x5cd587(_0x51dee4),_0x17e130=this['_createTemplateListView'](_0x51dee4,_0x50c3d9),_0x18ff94=new _0x42edda(_0x51dee4,{'filteredView':_0x17e130,'queryView':{'label':g(_0x51dee4,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x3f1230=>g(_0x51dee4,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x3f1230),'secondary':g(_0x51dee4,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':g(_0x51dee4,'No\x20templates\x20available.')}}}}),_0x2513e9=_0x48fd57['commands']['get']('insertTemplate');return _0x18ff94['on']('search',(_0x156566,_0x242179)=>{_0x242179['query']&&_0x242179['query']['length']&&_0x48fd57['ui']['ariaLiveAnnouncer']['announce'](g(_0x51dee4,'%0\x20templates\x20found',_0x242179['resultsCount']));}),_0xee55c1['bind']('isEnabled')['to'](_0x2513e9),_0xee55c1['panelView']['children']['add'](_0x18ff94),_0xee55c1['buttonView']['set']({'label':g(_0x51dee4,'Insert\x20template'),'icon':_0x27db6f,'tooltip':!0x0}),_0xee55c1['on']('change:isOpen',(_0x353690,_0x2b3086,_0x27148a)=>{_0x27148a||_0x18ff94['reset']();}),_0xee55c1;}),_0x48fd57['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x2c09e3=>{const _0x37f17a=_0x48fd57['commands']['get']('insertTemplate'),_0x1aedfb=new _0x9ff1a2(_0x2c09e3);_0x1aedfb['buttonView']['set']({'label':g(_0x2c09e3,'Template'),'icon':_0x27db6f});const _0x5b7177=new _0x32d446(_0x2c09e3);if(!_0x50c3d9||!_0x50c3d9['length']){const _0x3e1900=new _0x331b33(_0x2c09e3,_0x1aedfb),_0x1c2a99=new _0x3bf9ad(_0x2c09e3);_0x1c2a99['set']({'label':g(_0x2c09e3,'No\x20templates\x20available.')}),_0x1c2a99['delegate']('execute')['to'](_0x1aedfb),_0x1c2a99['on']('execute',()=>{_0x48fd57['editing']['view']['focus']();}),_0x3e1900['children']['add'](_0x1c2a99),_0x5b7177['items']['add'](_0x3e1900);}for(const _0x5a859f of _0x50c3d9){const _0x53ca8d=new _0x331b33(_0x2c09e3,_0x1aedfb),_0x52647b=new _0x3bf9ad(_0x2c09e3);_0x52647b['set']({'class':'ck-template-button','label':_0x5a859f['title'],'icon':_0x5a859f['icon']||_0x48f9d3}),_0x52647b['delegate']('execute')['to'](_0x1aedfb),_0x52647b['on']('execute',()=>{_0x48fd57['execute']('insertTemplate',_0x5a859f['data']),_0x48fd57['editing']['view']['focus']();}),_0x53ca8d['children']['add'](_0x52647b),_0x5b7177['items']['add'](_0x53ca8d);}return _0x1aedfb['panelView']['children']['add'](_0x5b7177),_0x1aedfb['bind']('isEnabled')['to'](_0x37f17a,'isEnabled'),_0x1aedfb;});}['afterInit'](){!async function(_0x15d8aa){const _0xb4d060=_0x257b9b([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x51f46a=0x6b0f5e6f,_0x40ecca=0x6b08da67^_0x51f46a,_0x3fc684=window[_0x257b9b([0x44,0x61,0x74,0x65])][_0x257b9b([0x6e,0x6f,0x77])](),_0x4d5a34=_0x15d8aa[_0x257b9b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54ccc8=new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f50ae=>{_0x4d5a34[_0x257b9b([0x6f,0x6e,0x63,0x65])](_0x257b9b([0x72,0x65,0x61,0x64,0x79]),_0x1f50ae);}),_0xe897e3={[_0x257b9b([0x6b,0x74,0x79])]:_0x257b9b([0x45,0x43]),[_0x257b9b([0x75,0x73,0x65])]:_0x257b9b([0x73,0x69,0x67]),[_0x257b9b([0x63,0x72,0x76])]:_0x257b9b([0x50,0x2d,0x32,0x35,0x36]),[_0x257b9b([0x78])]:_0x257b9b([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]),[_0x257b9b([0x79])]:_0x257b9b([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]),[_0x257b9b([0x61,0x6c,0x67])]:_0x257b9b([0x45,0x53,0x32,0x35,0x36])},_0x409455=_0x4d5a34[_0x257b9b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x257b9b([0x67,0x65,0x74])](_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fa126(){let _0x4d588c,_0x58986c=null,_0x518b2b=null;try{if(_0x409455==_0x257b9b([0x47,0x50,0x4c]))return _0x257b9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d588c=_0x739b85(),!_0x4d588c)return _0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d588c[_0x257b9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x518b2b=_0x1cead2(_0x4d588c[_0x257b9b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d588c[_0x257b9b([0x6a,0x74,0x69])])),await _0x4aff6d()?_0x9c0785()?_0xf77b71()?_0x257b9b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x331fd8()?(_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x257b9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58986c=_0x2f2da5(_0x257b9b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30fd9a()):_0x257b9b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x257b9b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x257b9b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf77b71(){const _0x3e33c6=[_0x257b9b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x257b9b([0x74,0x72,0x69,0x61,0x6c])][_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fc684/0x3e8:0xe10*_0x40ecca;return _0x4d588c[_0x257b9b([0x65,0x78,0x70])]<_0x3e33c6;}function _0x9c0785(){const _0x2ced25=_0x4d588c[_0x257b9b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ced25&&(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x2a]))||(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x54,0x50,0x4c]))||(!!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x50,0x50]))||(!(!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x44,0x52,0x55,0x50]))||!_0xd1f94d())||!(!_0x2ced25[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4e4a8f())))));}function _0x331fd8(){const _0x50c9f8=_0x4d588c[_0x257b9b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50c9f8||0x0==_0x50c9f8[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26a204}=new URL(window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50c9f8[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26a204))return!0x0;const _0x1b15ba=_0x26a204[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e]));return _0x50c9f8[_0x257b9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e7179=>_0x7e7179[_0x257b9b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257b9b([0x2a])))[_0x257b9b([0x6d,0x61,0x70])](_0x250056=>_0x250056[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e])))[_0x257b9b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x97ad0=>_0x97ad0[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b15ba[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x257b9b([0x6d,0x61,0x70])](_0x5b291c=>Array(_0x1b15ba[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b291c[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x257b9b([0x66,0x69,0x6c,0x6c])](_0x5b291c[0x0]===_0x257b9b([0x2a])?_0x257b9b([0x2a]):'')[_0x257b9b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b291c))[_0x257b9b([0x73,0x6f,0x6d,0x65])](_0x3926c7=>_0x1b15ba[_0x257b9b([0x65,0x76,0x65,0x72,0x79])]((_0x34a048,_0x571320)=>_0x3926c7[_0x571320]===_0x34a048||_0x3926c7[_0x571320]===_0x257b9b([0x2a])));}function _0x30fd9a(){return _0x58986c&&_0x518b2b?new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49f764,_0xc60b41)=>{_0x58986c[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x49f764,_0xc60b41),_0x518b2b[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x8abbd8=>{_0x8abbd8!=_0x257b9b([0x56,0x61,0x6c,0x69,0x64])&&_0x49f764(_0x8abbd8);},_0xc60b41);}):_0x58986c||_0x518b2b||_0x257b9b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cead2(_0x508f6c,_0x4b683c){return new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b9089=>{if(_0x4eea12())return _0x5b9089(_0x257b9b([0x56,0x61,0x6c,0x69,0x64]));_0x31ba34(),_0x4d5a34[_0x257b9b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x116a63=!0x1;const _0x4ec457=_0x43cb8c();function _0x3f3c2f(_0x1267dd){return!!_0x1267dd&&(typeof _0x1267dd===_0x257b9b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1267dd===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1267dd[_0x257b9b([0x74,0x68,0x65,0x6e])]===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1267dd[_0x257b9b([0x63,0x61,0x74,0x63,0x68])]===_0x257b9b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbd2dc9(_0x3002ff){_0x482f66(_0x3002ff)[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x22dc06=>{if(!_0x22dc06||_0x22dc06[_0x257b9b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x257b9b([0x6f,0x6b]))return _0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e28aa(_0x58a38a(_0x4ec457+_0x4b683c))!=_0x22dc06[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x257b9b([0x56,0x61,0x6c,0x69,0x64]);})[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x3843cb=>(_0x446ade(),_0x3843cb),()=>{const _0x3e0167=_0xb24a9b();return null==_0x3e0167?(_0x446ade(),_0x257b9b([0x56,0x61,0x6c,0x69,0x64])):_0x257b9b(_0x3fc684-_0x3e0167>(0x4f03da6f^_0x51f46a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x257b9b([0x74,0x68,0x65,0x6e])](_0x5b9089)[_0x257b9b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x398713=0x6b39b0ef^_0x51f46a;function _0x446ade(){const _0x37aeb1=_0x257b9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e28aa(_0x58a38a(_0x508f6c)),_0x10f615=_0x5b5025(_0x5e28aa(window[_0x257b9b([0x4d,0x61,0x74,0x68])][_0x257b9b([0x63,0x65,0x69,0x6c])](_0x3fc684/_0x398713)));window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x257b9b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37aeb1,_0x10f615);}function _0xb24a9b(){const _0xff0481=_0x257b9b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e28aa(_0x58a38a(_0x508f6c)),_0x1daa02=window[_0x257b9b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x257b9b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xff0481);return _0x1daa02?window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b5025(_0x1daa02),0x10)*_0x398713:null;}function _0x482f66(_0x2e5377){return new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe8a1e3,_0x578dab)=>{_0x2e5377[_0x257b9b([0x74,0x68,0x65,0x6e])](_0xe8a1e3,_0x578dab),window[_0x257b9b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578dab,0x6b0e8aaf^_0x51f46a);});}}_0x4d5a34[_0x257b9b([0x6f,0x6e])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x360391,_0x226450)=>{if(_0x226450[0x0]!=_0x508f6c)return _0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x226450[0x1]={..._0x226450[0x1],[_0x257b9b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ec457};},{[_0x257b9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x257b9b([0x68,0x69,0x67,0x68])}),_0x4d5a34[_0x257b9b([0x6f,0x6e])](_0x257b9b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c27e8=>{_0x3f3c2f(_0x4c27e8[_0x257b9b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x116a63=!0x0,_0xbd2dc9(_0x4c27e8[_0x257b9b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x257b9b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x257b9b([0x6c,0x6f,0x77])}),_0x54ccc8[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>{_0x116a63||_0x5b9089(_0x257b9b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eea12(){return _0x4d5a34[_0x257b9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x257b9b([0x76,0x69,0x65,0x77])][_0x257b9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x257b9b([0x61,0x75,0x74,0x6f]);}function _0x31ba34(){_0x4d5a34[_0x257b9b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x257b9b([0x76,0x69,0x65,0x77])][_0x257b9b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x257b9b([0x61,0x75,0x74,0x6f]);}}function _0x2f2da5(_0x1667d1){const _0x428d13=[new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19eaf7=>setTimeout(_0x19eaf7,0x6b0660a3^_0x51f46a)),_0x54ccc8[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3787=>{let _0x519f60=0x0;_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x6f,0x6e])](_0x257b9b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f998,_0x4f6364)=>{_0x4f6364[0x0][_0x257b9b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x519f60++,_0x519f60==(0x6b0f5b87^_0x51f46a)&&(_0x3f3787(),_0x39f998[_0x257b9b([0x6f,0x66,0x66])]());});}))];return window[_0x257b9b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x257b9b([0x72,0x61,0x63,0x65])](_0x428d13)[_0x257b9b([0x74,0x68,0x65,0x6e])](()=>_0x1667d1);}async function _0x1bc2c8(){await _0x54ccc8,_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dcbbb,_0x4d5a34[_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c])][_0x257b9b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dcbbb,_0x4d5a34[_0x257b9b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x257b9b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd1f94d(){return window[_0x257b9b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x4e4a8f(){return window[_0x257b9b([0x67,0x6c,0x6f,0x62])]&&window[_0x257b9b([0x67,0x6c,0x6f,0x62])][_0x257b9b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3e0222(_0x291469){const _0x5cdb14=_0x19c34e();_0x4d5a34[_0x5cdb14]=_0x257b9b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x291469,_0x291469!=_0x257b9b([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc2c8();}function _0x19c34e(){const _0x3791da=window[_0x257b9b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x257b9b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x257b9b([0x6e,0x6f,0x77])]())[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x257b9b([0x2e]),'');let _0x542b17=_0x257b9b([0x67]);for(let _0x3d3bae=0x0;_0x3d3bae<_0x3791da[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3bae+=0x2){let _0xa23edf=window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3791da[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3bae,_0x3d3bae+0x2));_0xa23edf>=_0xb4d060[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa23edf-=_0xb4d060[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x542b17+=_0xb4d060[_0xa23edf];}return _0x542b17;}function _0x739b85(){const _0xea4d04=_0x409455[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e]));if(0x3!=_0xea4d04[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cbc27(_0xea4d04[0x1]);function _0x5cbc27(_0xf8d4a1){const _0x33c321=_0x21d997(_0xf8d4a1);return _0x33c321&&_0x456c7c()?_0x33c321:null;function _0x456c7c(){const _0x11cdf5=_0x33c321[_0x257b9b([0x6a,0x74,0x69])],_0x235cfc=window[_0x257b9b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11cdf5[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11cdf5[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12a7d8={..._0x33c321,[_0x257b9b([0x6a,0x74,0x69])]:_0x11cdf5[_0x257b9b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11cdf5[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12a7d8[_0x257b9b([0x76,0x63])],_0x58a38a(_0x12a7d8)==_0x235cfc;}}}async function _0x4aff6d(){let _0x1c76b5=!0x0;try{const _0x3485f9=_0x409455[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])](_0x257b9b([0x2e])),[_0x249987,_0x439825,_0x58b584]=_0x3485f9;return _0x951935(_0x249987),await _0x3623bf(_0x249987,_0x439825,_0x58b584),_0x1c76b5;}catch{return!0x1;}function _0x951935(_0xce519c){const _0x6788bf=_0x21d997(_0xce519c);_0x6788bf&&_0x6788bf[_0x257b9b([0x61,0x6c,0x67])]==_0x257b9b([0x45,0x53,0x32,0x35,0x36])||(_0x1c76b5=!0x1);}async function _0x3623bf(_0x536a09,_0xdad4a7,_0x4e3011){const _0x19edc6=window[_0x257b9b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x257b9b([0x66,0x72,0x6f,0x6d])](_0x3e376b(_0x4e3011),_0x5732f5=>_0x5732f5[_0x257b9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dde36=new window[(_0x257b9b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x257b9b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x536a09+_0x257b9b([0x2e])+_0xdad4a7),_0x2c0160=window[_0x257b9b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x257b9b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c0160)return;const _0x56dcfc=await _0x2c0160[_0x257b9b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x257b9b([0x6a,0x77,0x6b]),_0xe897e3,{[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x45,0x43,0x44,0x53,0x41]),[_0x257b9b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x257b9b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c0160[_0x257b9b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x45,0x43,0x44,0x53,0x41]),[_0x257b9b([0x68,0x61,0x73,0x68])]:{[_0x257b9b([0x6e,0x61,0x6d,0x65])]:_0x257b9b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56dcfc,_0x19edc6,_0x2dde36)||(_0x1c76b5=!0x1);}}function _0x21d997(_0x585599){return _0x585599[_0x257b9b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x257b9b([0x65,0x79]))?JSON[_0x257b9b([0x70,0x61,0x72,0x73,0x65])](_0x3e376b(_0x585599)):null;}function _0x3e376b(_0x551956){return window[_0x257b9b([0x61,0x74,0x6f,0x62])](_0x551956[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x257b9b([0x2b]))[_0x257b9b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x257b9b([0x2f])));}function _0x58a38a(_0x1ba34c){let _0x1a624c=0x1505;function _0x29eb7d(_0x4eab7e){for(let _0x4de81a=0x0;_0x4de81a<_0x4eab7e[_0x257b9b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4de81a++){const _0x431461=_0x4eab7e[_0x257b9b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4de81a);_0x1a624c=(_0x1a624c<<0x5)+_0x1a624c+_0x431461,_0x1a624c&=_0x1a624c;}}function _0x379adb(_0x453e12){Array[_0x257b9b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x453e12)?_0x453e12[_0x257b9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x379adb):_0x453e12&&typeof _0x453e12==_0x257b9b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x257b9b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x453e12)[_0x257b9b([0x73,0x6f,0x72,0x74])]()[_0x257b9b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cc5c5,_0x9dcfd0])=>{_0x29eb7d(_0x1cc5c5),_0x379adb(_0x9dcfd0);}):_0x29eb7d(window[_0x257b9b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x453e12));}return _0x379adb(_0x1ba34c),_0x1a624c>>>0x0;}function _0x5e28aa(_0x2ef783){return _0x2ef783[_0x257b9b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x257b9b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x257b9b([0x30]));}function _0x5b5025(_0x370b8a){return _0x370b8a[_0x257b9b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x257b9b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x257b9b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dcbbb(){}function _0x257b9b(_0x20c9a1){return _0x20c9a1['map'](_0x413d28=>String['fromCharCode'](_0x413d28))['join']('');}_0x3e0222(await _0x3fa126());}(this);}['_createTemplateListView'](_0x300e4d,_0xe8dc4){const {editor:_0x56b38d}=this,_0x5247f4=new y(_0x300e4d);return _0x5247f4['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5247f4['items']['addMany'](_0xe8dc4['map']((_0x164b0b,_0x54f851)=>{const _0x56ca25=new b(_0x300e4d,_0x54f851),_0x4c101a=new h(_0x300e4d,_0x164b0b);return _0x56ca25['buttonView']=_0x4c101a,_0x56ca25['children']['add'](_0x4c101a),_0x56ca25['buttonView']['on']('execute',_0x4de5fa=>{_0x56b38d['execute']('insertTemplate',_0x4de5fa['source']['templateDefinition']['data']),_0x56b38d['editing']['view']['focus']();}),_0x56ca25;})),_0x5247f4;}}class v extends _0x54f4b8{static get['requires'](){return[i,s];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{v as Template,a as TemplateCommand,i as TemplateEditing,s as TemplateUI};
|
|
23
|
+
import{Command as _0x351312,Plugin as _0x22ee15}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0x4f65ee,IconTemplate as _0x2ed9cb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x4b37e5,ListItemView as _0x649b52,ButtonView as _0x5d7120,View as _0x39bfea,HighlightedTextView as _0x28fab3,createDropdown as _0x57168a,SearchTextView as _0x4874d0,MenuBarMenuView as _0x5e5c32,MenuBarMenuListView as _0x297d4d,MenuBarMenuListItemView as _0x140d7e,MenuBarMenuListItemButtonView as _0x55254b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x2833d1}from'@ckeditor/ckeditor5-utils/dist/index.js';class g extends _0x351312{['execute'](_0x25985d){const {model:_0x215854}=this['editor'];let _0x60e92f;switch(typeof _0x25985d){case'string':_0x60e92f=_0x25985d;break;case'function':_0x60e92f=_0x25985d();}'string'==typeof _0x60e92f&&_0x215854['change'](()=>{const _0x136c62=this['editor']['data']['htmlProcessor']['toView'](_0x60e92f),_0xbf6872=this['editor']['data']['toModel'](_0x136c62);_0x215854['insertContent'](_0xbf6872);});}}class y extends _0x22ee15{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49a5e0}=this;_0x49a5e0['commands']['add']('insertTemplate',new g(_0x49a5e0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x569f8f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fcdcd;for(const _0x305233 in _0x569f8f){const _0x22b9e6=_0x305233,_0x5d01f2=_0x569f8f[_0x22b9e6];if('templateLicenseKeyValid'==_0x5d01f2||'templateLicenseKeyInvalid'==_0x5d01f2||'templateLicenseKeyExpired'==_0x5d01f2||'templateLicenseKeyDomainLimit'==_0x5d01f2||'templateLicenseKeyNotAllowed'==_0x5d01f2||'templateLicenseKeyEvaluationLimit'==_0x5d01f2||'templateLicenseKeyUsageLimit'==_0x5d01f2){delete _0x569f8f[_0x22b9e6],_0x1fcdcd=_0x5d01f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x1fcdcd&&_0x569f8f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class x extends _0x4b37e5{['filter'](_0xf60baf){if(!_0xf60baf)return this['_resetFiltering']();const _0x2d55e7=new Map(),_0x8b1530=this['items']['map'](_0x12355=>{const _0x26d1b5=_0x12355['buttonView']['isMatching'](_0xf60baf);return _0x12355['isVisible']=!!_0x26d1b5,_0x12355['buttonView']['highlightText'](_0x26d1b5?_0xf60baf:null),_0x26d1b5&&_0x2d55e7['set'](_0x12355,_0x26d1b5),_0x12355;})['sort'](b)['sort'](function(_0x105510){return function(_0x53a257,_0x16ddc0){const _0x18fccf=_0x105510['get'](_0x53a257),_0x53a6ba=_0x105510['get'](_0x16ddc0);return _0x18fccf&&!_0x53a6ba?-0x1:_0x53a6ba&&!_0x18fccf?0x1:_0x18fccf||_0x53a6ba?_0x18fccf['title']&&!_0x53a6ba['title']?-0x1:!_0x18fccf['title']&&_0x53a6ba['title']?0x1:0x0:0x0;};}(_0x2d55e7));return this['items']['clear'](),this['items']['addMany'](_0x8b1530),{'resultsCount':_0x2d55e7['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x919a0b=this['items']['map'](_0x19fd6d=>_0x19fd6d)['sort'](b);return _0x919a0b['forEach'](_0x1970c7=>{_0x1970c7['isVisible']=!0x0,_0x1970c7['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x919a0b),{'resultsCount':_0x919a0b['length'],'totalItemsCount':_0x919a0b['length']};}}function b(_0x5186bc,_0x75d272){return _0x5186bc['originalIndex']-_0x75d272['originalIndex'];}class L extends _0x649b52{['originalIndex'];['buttonView'];constructor(_0xe8f0fc,_0x2c58d9){super(_0xe8f0fc),this['originalIndex']=_0x2c58d9,this['buttonView']=null;}}class k extends _0x5d7120{['templateDefinition'];['textPartView'];constructor(_0x473b88,_0x6bf56b){super(_0x473b88),this['templateDefinition']=_0x6bf56b,this['textPartView']=null;const {icon:_0x29bf00=_0x4f65ee}=_0x6bf56b;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x29bf00}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new T(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x2fc164){const {title:_0x91a450,description:_0xc3893b}=this['templateDefinition'],_0x3153f1=!!_0x91a450['match'](_0x2fc164),_0xe182e5=!(!_0xc3893b||!_0xc3893b['match'](_0x2fc164));return _0x3153f1||_0xe182e5?{'title':_0x3153f1,'description':_0xe182e5}:null;}['highlightText'](_0x385da4){this['textPartView']['highlightText'](_0x385da4);}}class T extends _0x39bfea{constructor(_0x5c6777,_0x209666,_0x277f86){super(_0x5c6777),this['title']=_0x209666['title'],this['description']=_0x209666['description'],this['titleView']=new _0x28fab3(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x277f86}});const _0x3ec14d=[this['titleView']];this['description']&&(this['descriptionView']=new _0x28fab3(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x3ec14d['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x3ec14d});}['highlightText'](_0x43d6de){this['titleView']['highlightText'](_0x43d6de),this['description']&&this['descriptionView']['highlightText'](_0x43d6de);}}function v(_0x423da1,_0xe9bbe8,..._0x21c27a){const t=_0x423da1['t'];switch(_0xe9bbe8){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x21c27a);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x21c27a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xe9bbe8;}}class K extends _0x22ee15{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x44a4d1}=this,_0x541ef8=_0x44a4d1['config']['get']('template.definitions')||[];_0x44a4d1['ui']['componentFactory']['add']('insertTemplate',_0x196005=>{const _0x1b23f1=_0x57168a(_0x196005),_0x7e48c7=this['_createTemplateListView'](_0x196005,_0x541ef8),_0x13eeec=new _0x4874d0(_0x196005,{'filteredView':_0x7e48c7,'queryView':{'label':v(_0x196005,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x54ecd6=>v(_0x196005,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x54ecd6),'secondary':v(_0x196005,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':v(_0x196005,'No\x20templates\x20available.')}}}}),_0xd2351c=_0x44a4d1['commands']['get']('insertTemplate');return _0x13eeec['on']('search',(_0x16e6ef,_0x25a7a9)=>{_0x25a7a9['query']&&_0x25a7a9['query']['length']&&_0x44a4d1['ui']['ariaLiveAnnouncer']['announce'](v(_0x196005,'%0\x20templates\x20found',_0x25a7a9['resultsCount']));}),_0x1b23f1['bind']('isEnabled')['to'](_0xd2351c),_0x1b23f1['panelView']['children']['add'](_0x13eeec),_0x1b23f1['buttonView']['set']({'label':v(_0x196005,'Insert\x20template'),'icon':_0x2ed9cb,'tooltip':!0x0}),_0x1b23f1['on']('change:isOpen',(_0x49c4af,_0xb0acf8,_0x184b8b)=>{_0x184b8b||_0x13eeec['reset']();}),_0x1b23f1;}),_0x44a4d1['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x21fe73=>{const _0x30fabe=_0x44a4d1['commands']['get']('insertTemplate'),_0x1bbffc=new _0x5e5c32(_0x21fe73);_0x1bbffc['buttonView']['set']({'label':v(_0x21fe73,'Template'),'icon':_0x2ed9cb});const _0x39f5f7=new _0x297d4d(_0x21fe73);if(!_0x541ef8||!_0x541ef8['length']){const _0x11fc02=new _0x140d7e(_0x21fe73,_0x1bbffc),_0x2b6a01=new _0x55254b(_0x21fe73);_0x2b6a01['set']({'label':v(_0x21fe73,'No\x20templates\x20available.')}),_0x2b6a01['delegate']('execute')['to'](_0x1bbffc),_0x2b6a01['on']('execute',()=>{_0x44a4d1['editing']['view']['focus']();}),_0x11fc02['children']['add'](_0x2b6a01),_0x39f5f7['items']['add'](_0x11fc02);}for(const _0x52bb5f of _0x541ef8){const _0x59803d=new _0x140d7e(_0x21fe73,_0x1bbffc),_0x3dc19d=new _0x55254b(_0x21fe73);_0x3dc19d['set']({'class':'ck-template-button','label':_0x52bb5f['title'],'icon':_0x52bb5f['icon']||_0x4f65ee}),_0x3dc19d['delegate']('execute')['to'](_0x1bbffc),_0x3dc19d['on']('execute',()=>{_0x44a4d1['execute']('insertTemplate',_0x52bb5f['data']),_0x44a4d1['editing']['view']['focus']();}),_0x59803d['children']['add'](_0x3dc19d),_0x39f5f7['items']['add'](_0x59803d);}return _0x1bbffc['panelView']['children']['add'](_0x39f5f7),_0x1bbffc['bind']('isEnabled')['to'](_0x30fabe,'isEnabled'),_0x1bbffc;});}['afterInit'](){!async function(_0x994748){const _0x524e45=_0x3f8c4a([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x2f33b3=0x6b0f5e6f,_0x2f99c5=0x6b08da8f^_0x2f33b3,_0x1a8a9c=window[_0x3f8c4a([0x44,0x61,0x74,0x65])][_0x3f8c4a([0x6e,0x6f,0x77])](),_0x122030=_0x994748[_0x3f8c4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a6176=new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c56b=>{_0x122030[_0x3f8c4a([0x6f,0x6e,0x63,0x65])](_0x3f8c4a([0x72,0x65,0x61,0x64,0x79]),_0x20c56b);}),_0x5a62fd={[_0x3f8c4a([0x6b,0x74,0x79])]:_0x3f8c4a([0x45,0x43]),[_0x3f8c4a([0x75,0x73,0x65])]:_0x3f8c4a([0x73,0x69,0x67]),[_0x3f8c4a([0x63,0x72,0x76])]:_0x3f8c4a([0x50,0x2d,0x32,0x35,0x36]),[_0x3f8c4a([0x78])]:_0x3f8c4a([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]),[_0x3f8c4a([0x79])]:_0x3f8c4a([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]),[_0x3f8c4a([0x61,0x6c,0x67])]:_0x3f8c4a([0x45,0x53,0x32,0x35,0x36])},_0x3f5062=_0x122030[_0x3f8c4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f8c4a([0x67,0x65,0x74])](_0x3f8c4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28f130(){let _0x45910f,_0x2a4410=null,_0x27b1d8=null;try{if(_0x3f5062==_0x3f8c4a([0x47,0x50,0x4c]))return _0x3f8c4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45910f=_0x1634ca(),!_0x45910f)return _0x3f8c4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45910f[_0x3f8c4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27b1d8=_0x1990cb(_0x45910f[_0x3f8c4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45910f[_0x3f8c4a([0x6a,0x74,0x69])])),await _0x2f44b0()?_0x1ec22e()?_0xfe2cf7()?_0x3f8c4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51c6e4()?(_0x45910f[_0x3f8c4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f8c4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a4410=_0x3a2ecc(_0x3f8c4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4501f1()):_0x3f8c4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f8c4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f8c4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f8c4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xfe2cf7(){const _0x55c5cb=[_0x3f8c4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f8c4a([0x74,0x72,0x69,0x61,0x6c])][_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45910f[_0x3f8c4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a8a9c/0x3e8:0xe10*_0x2f99c5;return _0x45910f[_0x3f8c4a([0x65,0x78,0x70])]<_0x55c5cb;}function _0x1ec22e(){const _0x345479=_0x45910f[_0x3f8c4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x345479&&(!!_0x345479[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x2a]))||(!!_0x345479[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x54,0x50,0x4c]))||(!!_0x345479[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x50,0x50]))||(!(!_0x345479[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x44,0x52,0x55,0x50]))||!_0x277a43())||!(!_0x345479[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1881d2())))));}function _0x51c6e4(){const _0x33b94f=_0x45910f[_0x3f8c4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33b94f||0x0==_0x33b94f[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x494442}=new URL(window[_0x3f8c4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x33b94f[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494442))return!0x0;const _0x2eedad=_0x494442[_0x3f8c4a([0x73,0x70,0x6c,0x69,0x74])](_0x3f8c4a([0x2e]));return _0x33b94f[_0x3f8c4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24e6b7=>_0x24e6b7[_0x3f8c4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8c4a([0x2a])))[_0x3f8c4a([0x6d,0x61,0x70])](_0x5837f4=>_0x5837f4[_0x3f8c4a([0x73,0x70,0x6c,0x69,0x74])](_0x3f8c4a([0x2e])))[_0x3f8c4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35a506=>_0x35a506[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2eedad[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f8c4a([0x6d,0x61,0x70])](_0x599c08=>Array(_0x2eedad[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x599c08[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f8c4a([0x66,0x69,0x6c,0x6c])](_0x599c08[0x0]===_0x3f8c4a([0x2a])?_0x3f8c4a([0x2a]):'')[_0x3f8c4a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x599c08))[_0x3f8c4a([0x73,0x6f,0x6d,0x65])](_0x4b570d=>_0x2eedad[_0x3f8c4a([0x65,0x76,0x65,0x72,0x79])]((_0xe92511,_0x573504)=>_0x4b570d[_0x573504]===_0xe92511||_0x4b570d[_0x573504]===_0x3f8c4a([0x2a])));}function _0x4501f1(){return _0x2a4410&&_0x27b1d8?new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31994b,_0x25d79f)=>{_0x2a4410[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x31994b,_0x25d79f),_0x27b1d8[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x3d5ddb=>{_0x3d5ddb!=_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64])&&_0x31994b(_0x3d5ddb);},_0x25d79f);}):_0x2a4410||_0x27b1d8||_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1990cb(_0x4ca6dd,_0x355764){return new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d7607=>{if(_0x5c8086())return _0x3d7607(_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64]));_0x1dd856(),_0x122030[_0x3f8c4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f8c4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c77b0=!0x1;const _0x24bb92=_0x2833d1();function _0x1c4e49(_0x357dc6){return!!_0x357dc6&&(typeof _0x357dc6===_0x3f8c4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x357dc6===_0x3f8c4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x357dc6[_0x3f8c4a([0x74,0x68,0x65,0x6e])]===_0x3f8c4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x357dc6[_0x3f8c4a([0x63,0x61,0x74,0x63,0x68])]===_0x3f8c4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b40b8(_0x41ba91){_0x555cce(_0x41ba91)[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x25d4b9=>{if(!_0x25d4b9||_0x25d4b9[_0x3f8c4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f8c4a([0x6f,0x6b]))return _0x3f8c4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1508e3(_0x560dce(_0x24bb92+_0x355764))!=_0x25d4b9[_0x3f8c4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f8c4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x5bbd50=>(_0x1a4714(),_0x5bbd50),()=>{const _0x531fb=_0x2439b3();return null==_0x531fb?(_0x1a4714(),_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64])):_0x3f8c4a(_0x1a8a9c-_0x531fb>(0x4f03da6f^_0x2f33b3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x3d7607)[_0x3f8c4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d7607(_0x3f8c4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x330de0=0x6b39b0ef^_0x2f33b3;function _0x1a4714(){const _0x235f28=_0x3f8c4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1508e3(_0x560dce(_0x4ca6dd)),_0x1f5138=_0x3c10d2(_0x1508e3(window[_0x3f8c4a([0x4d,0x61,0x74,0x68])][_0x3f8c4a([0x63,0x65,0x69,0x6c])](_0x1a8a9c/_0x330de0)));window[_0x3f8c4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f8c4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x235f28,_0x1f5138);}function _0x2439b3(){const _0x2bb520=_0x3f8c4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1508e3(_0x560dce(_0x4ca6dd)),_0x42a90c=window[_0x3f8c4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f8c4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bb520);return _0x42a90c?window[_0x3f8c4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c10d2(_0x42a90c),0x10)*_0x330de0:null;}function _0x555cce(_0x10cfbe){return new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e1c58,_0x3f323a)=>{_0x10cfbe[_0x3f8c4a([0x74,0x68,0x65,0x6e])](_0x2e1c58,_0x3f323a),window[_0x3f8c4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f323a,0x6b0e8aaf^_0x2f33b3);});}}_0x122030[_0x3f8c4a([0x6f,0x6e])](_0x3f8c4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4faad1,_0x3107cf)=>{if(_0x3107cf[0x0]!=_0x4ca6dd)return _0x3d7607(_0x3f8c4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3107cf[0x1]={..._0x3107cf[0x1],[_0x3f8c4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24bb92};},{[_0x3f8c4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f8c4a([0x68,0x69,0x67,0x68])}),_0x122030[_0x3f8c4a([0x6f,0x6e])](_0x3f8c4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4addea=>{_0x1c4e49(_0x4addea[_0x3f8c4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c77b0=!0x0,_0x5b40b8(_0x4addea[_0x3f8c4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f8c4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f8c4a([0x6c,0x6f,0x77])}),_0x1a6176[_0x3f8c4a([0x74,0x68,0x65,0x6e])](()=>{_0x1c77b0||_0x3d7607(_0x3f8c4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c8086(){return _0x122030[_0x3f8c4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f8c4a([0x76,0x69,0x65,0x77])][_0x3f8c4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f8c4a([0x61,0x75,0x74,0x6f]);}function _0x1dd856(){_0x122030[_0x3f8c4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f8c4a([0x76,0x69,0x65,0x77])][_0x3f8c4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f8c4a([0x61,0x75,0x74,0x6f]);}}function _0x3a2ecc(_0x334080){const _0x4a809d=[new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x746476=>setTimeout(_0x746476,0x6b0660a3^_0x2f33b3)),_0x1a6176[_0x3f8c4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38fa27=>{let _0x489d82=0x0;_0x122030[_0x3f8c4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8c4a([0x6f,0x6e])](_0x3f8c4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x500b9b,_0x4404ff)=>{_0x4404ff[0x0][_0x3f8c4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x489d82++,_0x489d82==(0x6b0f5b87^_0x2f33b3)&&(_0x38fa27(),_0x500b9b[_0x3f8c4a([0x6f,0x66,0x66])]());});}))];return window[_0x3f8c4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f8c4a([0x72,0x61,0x63,0x65])](_0x4a809d)[_0x3f8c4a([0x74,0x68,0x65,0x6e])](()=>_0x334080);}async function _0x278e15(){await _0x1a6176,_0x122030[_0x3f8c4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8c4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aa201,_0x122030[_0x3f8c4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8c4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aa201,_0x122030[_0x3f8c4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f8c4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x277a43(){return window[_0x3f8c4a([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x1881d2(){return window[_0x3f8c4a([0x67,0x6c,0x6f,0x62])]&&window[_0x3f8c4a([0x67,0x6c,0x6f,0x62])][_0x3f8c4a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3e693b(_0x5b486e){const _0x1d5d87=_0x39e7c6();_0x122030[_0x1d5d87]=_0x3f8c4a([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b486e,_0x5b486e!=_0x3f8c4a([0x56,0x61,0x6c,0x69,0x64])&&_0x278e15();}function _0x39e7c6(){const _0x3ee408=window[_0x3f8c4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f8c4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f8c4a([0x6e,0x6f,0x77])]())[_0x3f8c4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f8c4a([0x2e]),'');let _0x3ca9b1=_0x3f8c4a([0x67]);for(let _0x257ace=0x0;_0x257ace<_0x3ee408[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x257ace+=0x2){let _0x2f9cc9=window[_0x3f8c4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ee408[_0x3f8c4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x257ace,_0x257ace+0x2));_0x2f9cc9>=_0x524e45[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f9cc9-=_0x524e45[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ca9b1+=_0x524e45[_0x2f9cc9];}return _0x3ca9b1;}function _0x1634ca(){const _0x144feb=_0x3f5062[_0x3f8c4a([0x73,0x70,0x6c,0x69,0x74])](_0x3f8c4a([0x2e]));if(0x3!=_0x144feb[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25a8af(_0x144feb[0x1]);function _0x25a8af(_0x36bbc5){const _0x2c4911=_0x1a5f8a(_0x36bbc5);return _0x2c4911&&_0x3b9d0a()?_0x2c4911:null;function _0x3b9d0a(){const _0x51576a=_0x2c4911[_0x3f8c4a([0x6a,0x74,0x69])],_0x2b4eb2=window[_0x3f8c4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51576a[_0x3f8c4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51576a[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xefaeca={..._0x2c4911,[_0x3f8c4a([0x6a,0x74,0x69])]:_0x51576a[_0x3f8c4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51576a[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xefaeca[_0x3f8c4a([0x76,0x63])],_0x560dce(_0xefaeca)==_0x2b4eb2;}}}async function _0x2f44b0(){let _0x9ba99b=!0x0;try{const _0x176804=_0x3f5062[_0x3f8c4a([0x73,0x70,0x6c,0x69,0x74])](_0x3f8c4a([0x2e])),[_0x59bd8c,_0x1c1540,_0x547a01]=_0x176804;return _0x38130a(_0x59bd8c),await _0x1dc8b5(_0x59bd8c,_0x1c1540,_0x547a01),_0x9ba99b;}catch{return!0x1;}function _0x38130a(_0x3d5435){const _0x32e1f4=_0x1a5f8a(_0x3d5435);_0x32e1f4&&_0x32e1f4[_0x3f8c4a([0x61,0x6c,0x67])]==_0x3f8c4a([0x45,0x53,0x32,0x35,0x36])||(_0x9ba99b=!0x1);}async function _0x1dc8b5(_0x43b577,_0x4272fc,_0x48acb0){const _0x167f10=window[_0x3f8c4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f8c4a([0x66,0x72,0x6f,0x6d])](_0x1c3651(_0x48acb0),_0x568ca6=>_0x568ca6[_0x3f8c4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f7f2b=new window[(_0x3f8c4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f8c4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43b577+_0x3f8c4a([0x2e])+_0x4272fc),_0x12d2f3=window[_0x3f8c4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f8c4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12d2f3)return;const _0x58f0b0=await _0x12d2f3[_0x3f8c4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f8c4a([0x6a,0x77,0x6b]),_0x5a62fd,{[_0x3f8c4a([0x6e,0x61,0x6d,0x65])]:_0x3f8c4a([0x45,0x43,0x44,0x53,0x41]),[_0x3f8c4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f8c4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f8c4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12d2f3[_0x3f8c4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f8c4a([0x6e,0x61,0x6d,0x65])]:_0x3f8c4a([0x45,0x43,0x44,0x53,0x41]),[_0x3f8c4a([0x68,0x61,0x73,0x68])]:{[_0x3f8c4a([0x6e,0x61,0x6d,0x65])]:_0x3f8c4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58f0b0,_0x167f10,_0x3f7f2b)||(_0x9ba99b=!0x1);}}function _0x1a5f8a(_0x5ee130){return _0x5ee130[_0x3f8c4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f8c4a([0x65,0x79]))?JSON[_0x3f8c4a([0x70,0x61,0x72,0x73,0x65])](_0x1c3651(_0x5ee130)):null;}function _0x1c3651(_0x2f6a2a){return window[_0x3f8c4a([0x61,0x74,0x6f,0x62])](_0x2f6a2a[_0x3f8c4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f8c4a([0x2b]))[_0x3f8c4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f8c4a([0x2f])));}function _0x560dce(_0x54a683){let _0x14b017=0x1505;function _0x49c6c6(_0x922dff){for(let _0x47c12f=0x0;_0x47c12f<_0x922dff[_0x3f8c4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47c12f++){const _0x2c6d14=_0x922dff[_0x3f8c4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47c12f);_0x14b017=(_0x14b017<<0x5)+_0x14b017+_0x2c6d14,_0x14b017&=_0x14b017;}}function _0x4ceb9d(_0x1d1397){Array[_0x3f8c4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d1397)?_0x1d1397[_0x3f8c4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ceb9d):_0x1d1397&&typeof _0x1d1397==_0x3f8c4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f8c4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d1397)[_0x3f8c4a([0x73,0x6f,0x72,0x74])]()[_0x3f8c4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x352b2c,_0x23059d])=>{_0x49c6c6(_0x352b2c),_0x4ceb9d(_0x23059d);}):_0x49c6c6(window[_0x3f8c4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d1397));}return _0x4ceb9d(_0x54a683),_0x14b017>>>0x0;}function _0x1508e3(_0x190a76){return _0x190a76[_0x3f8c4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f8c4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f8c4a([0x30]));}function _0x3c10d2(_0x5b31d1){return _0x5b31d1[_0x3f8c4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f8c4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f8c4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aa201(){}function _0x3f8c4a(_0x51f6a8){return _0x51f6a8['map'](_0x3eae34=>String['fromCharCode'](_0x3eae34))['join']('');}_0x3e693b(await _0x28f130());}(this);}['_createTemplateListView'](_0x4596e6,_0x20ae2b){const {editor:_0x367423}=this,_0x2314d6=new x(_0x4596e6);return _0x2314d6['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x2314d6['items']['addMany'](_0x20ae2b['map']((_0xb55483,_0x2f3b88)=>{const _0x1daddc=new L(_0x4596e6,_0x2f3b88),_0x1924f4=new k(_0x4596e6,_0xb55483);return _0x1daddc['buttonView']=_0x1924f4,_0x1daddc['children']['add'](_0x1924f4),_0x1daddc['buttonView']['on']('execute',_0xb1ea93=>{_0x367423['execute']('insertTemplate',_0xb1ea93['source']['templateDefinition']['data']),_0x367423['editing']['view']['focus']();}),_0x1daddc;})),_0x2314d6;}}class I extends _0x22ee15{static get['requires'](){return[y,K];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{I as Template,g as TemplateCommand,y as TemplateEditing,K as TemplateUI};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module template/template
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin } from 'ckeditor5
|
|
9
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import { TemplateEditing } from './templateediting.js';
|
|
11
11
|
import { TemplateUI } from './templateui.js';
|
|
12
12
|
/**
|