@opendesign-plus-test/components 0.0.1-rc.19 → 0.0.1-rc.21
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/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +2 -6
- package/dist/components/OSourceCode.vue.d.ts +2 -0
- package/dist/components/events/config.d.ts +1 -0
- package/dist/components.cjs.js +3 -3
- package/dist/components.css +1 -1
- package/dist/components.es.js +1247 -1240
- package/npmcachae/_cacache/content-v2/sha512/05/f7/dd881de8b21208ea65cfce17c65f29964c3897505819f81151b9798a3a6ab1a1114324192354ead15cd2c8d93f76cc9929af168066ec9cc7878d0fd87578 +1 -0
- package/npmcachae/_cacache/content-v2/sha512/08/b7/879230f8c2f3765920a6fd6113f4687141f1f645f96af7d95a0dee9113d1095d000fb78a5dd55c1860bbfb9b698ef6281b3874b03b2384222f61fe055fc4 +1 -0
- package/npmcachae/_cacache/content-v2/sha512/10/a0/a6626613c03ee052925a762e8675878efdf83dac64fafea43beb2a875f7d7c3907bb0ee30761253cd16021fd58911449594e1d3358675cbb7c48e62f220a +1 -0
- package/npmcachae/_cacache/content-v2/sha512/2e/a6/7cbcf55a98bbe2ca881d10e982ebf59211a0ec051eaf46eb1914df66cc35ae502ed6888850e51d8f45cd92695bac16961a642bc41508f8d5160a9ab617ab +1 -0
- package/npmcachae/_cacache/content-v2/sha512/92/8d/e5259c5d5cc2a625247f3c4d809192ca9482467e23683d74924a11e91a7997ad890b3d26adaf34df66d5329cc7a5fbde6713110cad05107a0b504e4fd4e8 +1 -0
- package/npmcachae/_cacache/content-v2/sha512/e9/45/9597d870127c35681155cec5fe52fde4e1aa0f778b996ee371e856aca850ee4c13aba74b0c3d3a89ff0ea4c9e1d33e64e53c31dc9cede0b31012695ee659 +1 -0
- package/npmcachae/_cacache/index-v5/16/4a/7195fcc6857299c4ab7e26014a8ae6e3c396507a2c8db3da1b74b005d574 +3 -0
- package/npmcachae/_cacache/index-v5/58/f0/4fe556f104b09be642895a82afa463fe560d9a0dc8f507efeef825a6905e +3 -0
- package/npmcachae/_cacache/index-v5/67/7d/0b50dc4c09555fc922ccf43c46994f1a0a5ff47dc0a5d5cf41437ac2d3e6 +3 -0
- package/npmcachae/_cacache/index-v5/8f/28/353f8839e030ab11aab3e7d9f1b8c053403e9f593cf6d4aa6ec8fdd7610d +3 -0
- package/npmcachae/_cacache/index-v5/97/10/0fcf20eb29d0726bd820822f6729718464b591b0e6901217c956740e943c +3 -0
- package/npmcachae/_cacache/index-v5/db/89/a0a4f35f593105624ab39339962d9e9b5cc65ed0c346b0732fb8dd73721d +3 -0
- package/npmcachae/_logs/2026-03-26T14_10_35_885Z-debug-0.log +171 -0
- package/npmcachae/_logs/2026-03-26T14_10_38_617Z-debug-0.log +4227 -0
- package/npmcachae/_logs/2026-03-26T14_10_45_316Z-debug-0.log +4228 -0
- package/npmcachae/_logs/2026-03-26T14_10_48_169Z-debug-0.log +4228 -0
- package/npmcachae/_logs/2026-03-26T14_10_51_306Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_10_53_911Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_10_56_398Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_10_58_861Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_11_01_337Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_11_03_851Z-debug-0.log +464 -0
- package/npmcachae/_logs/2026-03-26T14_11_08_024Z-debug-0.log +464 -0
- package/npmcachae/_update-notifier-last-checked +0 -0
- package/package.json +3 -3
- package/src/components/OFooter.vue +45 -19
- package/src/components/OHeader.vue +2 -1
- package/src/components/OHeaderMoblie.vue +3 -3
- package/src/components/OSourceCode.vue +35 -6
- package/src/components/common/HeaderEulerNav.vue +16 -10
- package/src/components/common/HeaderNavMoblie.vue +9 -9
- package/src/components/common/HeaderUbmcNav.vue +1 -1
- package/src/components/events/OEventsList.vue +3 -3
- package/src/components/events/config.ts +3 -1
- package/vite.config.ts +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1,39 +1,37 @@
|
|
|
1
|
-
import { defineComponent as ne, computed as de, createElementBlock as s, openBlock as t, normalizeStyle as
|
|
2
|
-
import { isBoolean as u1, isString as d1, isUndefined as no, OCarousel as
|
|
1
|
+
import { defineComponent as ne, computed as de, createElementBlock as s, openBlock as t, normalizeStyle as ce, unref as r, renderSlot as P, ref as U, normalizeClass as K, createBlock as k, toDisplayString as u, withCtx as h, Fragment as S, renderList as z, createVNode as C, createElementVNode as n, createCommentVNode as _, createTextVNode as te, onMounted as We, watch as Ee, Teleport as Z1, nextTick as Xe, onUnmounted as T1, Transition as S1, resolveDynamicComponent as we, resolveDirective as Y1, withDirectives as Je, withKeys as X1, withModifiers as J1, vShow as Q1, reactive as eo, provide as to, mergeProps as oo } from "vue";
|
|
2
|
+
import { isBoolean as u1, isString as d1, isUndefined as no, OCarousel as f1, OCarouselItem as h1, OFigure as v1, OButton as ct, OIcon as F, OIconClose as ao, ODialog as so, OSwitch as M1, ODivider as Ne, OScroller as ro, OTag as Ge, OIconChevronRight as Pt, OIconArrowLeft as lo, OInput as I1, ODropdown as D1, OBadge as Ot, ODropdownItem as x1, OConfigProvider as io, isArray as co, OLink as ut, OCollapse as uo, OCollapseItem as fo, ORadioGroup as ho, ORadio as vo, OToggle as po, OIconSearch as mo, OCard as _o, OPagination as go } from "@opensig/opendesign";
|
|
3
3
|
import { useTheme as Ft, useScreen as Se, useLocale as N1 } from "@opendesign-plus/composables";
|
|
4
|
-
import { _ as
|
|
5
|
-
import { O as
|
|
4
|
+
import { _ as he, u as Bt, C as Co, c as yo } from "./chunk-OElCookieNotice.es.js";
|
|
5
|
+
import { O as q0 } from "./chunk-OElCookieNotice.es.js";
|
|
6
6
|
import { useVModel as ko, useDebounceFn as wo, onClickOutside as bo } from "@vueuse/core";
|
|
7
7
|
import { ElCascaderPanel as $o } from "element-plus";
|
|
8
|
-
|
|
9
|
-
import Lo from "https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg";
|
|
10
|
-
const Ao = /* @__PURE__ */ ne({
|
|
8
|
+
const Lo = /* @__PURE__ */ ne({
|
|
11
9
|
__name: "ContentWrapper",
|
|
12
10
|
props: {
|
|
13
11
|
verticalPadding: { type: [Boolean, String, Array], default: void 0 }
|
|
14
12
|
},
|
|
15
13
|
setup(o) {
|
|
16
14
|
const e = Symbol("default"), l = o, c = de(() => l.verticalPadding ? u1(l.verticalPadding) ? e : d1(l.verticalPadding) ? l.verticalPadding : l.verticalPadding[0] : 0), i = de(() => l.verticalPadding ? u1(l.verticalPadding) ? e : d1(l.verticalPadding) ? l.verticalPadding : no(l.verticalPadding[1]) ? l.verticalPadding[0] : l.verticalPadding[1] : 0);
|
|
17
|
-
return (
|
|
15
|
+
return (d, m) => (t(), s("div", {
|
|
18
16
|
class: "content-wrapper",
|
|
19
|
-
style:
|
|
17
|
+
style: ce({
|
|
20
18
|
"--content-wrapper-vertical-paddingTop": c.value === r(e) ? void 0 : c.value,
|
|
21
19
|
"--content-wrapper-vertical-paddingBottom": i.value === r(e) ? void 0 : i.value
|
|
22
20
|
})
|
|
23
21
|
}, [
|
|
24
|
-
|
|
22
|
+
P(d.$slots, "default", {}, void 0, !0)
|
|
25
23
|
], 4));
|
|
26
24
|
}
|
|
27
|
-
}), Re = /* @__PURE__ */
|
|
25
|
+
}), Re = /* @__PURE__ */ he(Lo, [["__scopeId", "data-v-29de9f52"]]), Ao = { key: 0 }, Eo = { class: "banner-content" }, Oo = ["src"], To = {
|
|
28
26
|
key: 1,
|
|
29
27
|
class: "banner-title"
|
|
30
|
-
},
|
|
28
|
+
}, So = {
|
|
31
29
|
key: 2,
|
|
32
30
|
class: "banner-subtitle"
|
|
33
31
|
}, Mo = {
|
|
34
32
|
key: 4,
|
|
35
33
|
class: "banner-opts"
|
|
36
|
-
},
|
|
34
|
+
}, Io = /* @__PURE__ */ ne({
|
|
37
35
|
__name: "OBanner",
|
|
38
36
|
props: {
|
|
39
37
|
options: void 0,
|
|
@@ -41,37 +39,37 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
41
39
|
contentJustifyCenter: !1
|
|
42
40
|
},
|
|
43
41
|
setup(o) {
|
|
44
|
-
const e = o, { isLight: l } = Ft("opendesignplus", document.domain || "localhost"), { isPhone: c } = Se(), i = de(() => e.options),
|
|
42
|
+
const e = o, { isLight: l } = Ft("opendesignplus", document.domain || "localhost"), { isPhone: c } = Se(), i = de(() => e.options), d = U(""), m = (f) => {
|
|
45
43
|
setTimeout(() => {
|
|
46
|
-
|
|
44
|
+
d.value = i.value[f].bg_theme ?? "light";
|
|
47
45
|
}, 100);
|
|
48
|
-
}, g = (
|
|
49
|
-
|
|
46
|
+
}, g = (f, O) => {
|
|
47
|
+
f && !O && window.open(f);
|
|
50
48
|
};
|
|
51
|
-
return (
|
|
49
|
+
return (f, O) => (t(), s("div", {
|
|
52
50
|
class: K(["home-banner", o.size])
|
|
53
51
|
}, [
|
|
54
|
-
o.size === "tiny" ? (t(), s("div",
|
|
52
|
+
o.size === "tiny" ? (t(), s("div", Ao, u(i.value[1].title), 1)) : r(c) ? (t(), k(r(f1), {
|
|
55
53
|
key: 2,
|
|
56
54
|
class: "banner-carousel",
|
|
57
55
|
effect: "gallery",
|
|
58
56
|
"indicator-click": "",
|
|
59
|
-
"data-o-theme":
|
|
57
|
+
"data-o-theme": d.value,
|
|
60
58
|
arrow: "never",
|
|
61
59
|
"auto-play": !0,
|
|
62
|
-
onBeforeChange:
|
|
60
|
+
onBeforeChange: m
|
|
63
61
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
(t(!0), s(S, null,
|
|
66
|
-
class: K(["banner-item", `banner-item${
|
|
62
|
+
default: h(() => [
|
|
63
|
+
(t(!0), s(S, null, z(i.value, (p, w) => (t(), k(r(h1), {
|
|
64
|
+
class: K(["banner-item", `banner-item${w}`])
|
|
67
65
|
}, {
|
|
68
|
-
default:
|
|
66
|
+
default: h(() => [
|
|
69
67
|
C(Re, { class: "banner-wrapper" }, {
|
|
70
|
-
default:
|
|
68
|
+
default: h(() => [
|
|
71
69
|
C(r(v1), {
|
|
72
70
|
class: "banner-bg",
|
|
73
71
|
src: p.bg,
|
|
74
|
-
onClick: (
|
|
72
|
+
onClick: (x) => g(p.href)
|
|
75
73
|
}, null, 8, ["src", "onClick"])
|
|
76
74
|
]),
|
|
77
75
|
_: 2
|
|
@@ -81,22 +79,22 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
81
79
|
}, 1032, ["class"]))), 256))
|
|
82
80
|
]),
|
|
83
81
|
_: 1
|
|
84
|
-
}, 8, ["data-o-theme"])) : (t(),
|
|
82
|
+
}, 8, ["data-o-theme"])) : (t(), k(r(f1), {
|
|
85
83
|
key: 1,
|
|
86
84
|
class: "banner-carousel",
|
|
87
85
|
effect: "toggle",
|
|
88
86
|
"active-class": "current-slide",
|
|
89
87
|
"indicator-click": "",
|
|
90
88
|
"auto-play": !0,
|
|
91
|
-
"data-o-theme":
|
|
92
|
-
onBeforeChange:
|
|
89
|
+
"data-o-theme": d.value,
|
|
90
|
+
onBeforeChange: m
|
|
93
91
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
(t(!0), s(S, null,
|
|
96
|
-
key:
|
|
97
|
-
class: K(["banner-item", `banner-item${
|
|
92
|
+
default: h(() => [
|
|
93
|
+
(t(!0), s(S, null, z(i.value, (p, w) => (t(), k(r(h1), {
|
|
94
|
+
key: w,
|
|
95
|
+
class: K(["banner-item", `banner-item${w}`])
|
|
98
96
|
}, {
|
|
99
|
-
default:
|
|
97
|
+
default: h(() => [
|
|
100
98
|
C(r(v1), {
|
|
101
99
|
class: K(["banner-bg", {
|
|
102
100
|
"with-sticky-bg": p.withStickyBg,
|
|
@@ -104,35 +102,35 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
104
102
|
"cursor-pointer": p.href && !p.btn
|
|
105
103
|
}]),
|
|
106
104
|
src: p.bg,
|
|
107
|
-
style:
|
|
105
|
+
style: ce({
|
|
108
106
|
"--pad-offset": p.pad_offset
|
|
109
107
|
}),
|
|
110
|
-
onClick: (
|
|
108
|
+
onClick: (x) => g(p.href, p.btn)
|
|
111
109
|
}, {
|
|
112
|
-
default:
|
|
110
|
+
default: h(() => [
|
|
113
111
|
C(Re, {
|
|
114
112
|
class: K(["banner-wrapper", ["banner-wrapper", o.contentJustifyCenter ? "content-center" : ""]])
|
|
115
113
|
}, {
|
|
116
|
-
default:
|
|
117
|
-
n("div",
|
|
114
|
+
default: h(() => [
|
|
115
|
+
n("div", Eo, [
|
|
118
116
|
!r(c) && p.attach ? (t(), s("img", {
|
|
119
117
|
key: 0,
|
|
120
118
|
src: p.attach,
|
|
121
119
|
class: "banner-attach"
|
|
122
|
-
}, null, 8,
|
|
123
|
-
p.title ? (t(), s("div",
|
|
124
|
-
p.subtitle ? (t(), s("div",
|
|
120
|
+
}, null, 8, Oo)) : _("", !0),
|
|
121
|
+
p.title ? (t(), s("div", To, u(p.title), 1)) : _("", !0),
|
|
122
|
+
p.subtitle ? (t(), s("div", So, u(p.subtitle), 1)) : _("", !0),
|
|
125
123
|
p.bg_text ? (t(), s("div", {
|
|
126
124
|
key: 3,
|
|
127
125
|
class: "banner-text",
|
|
128
|
-
style:
|
|
126
|
+
style: ce({
|
|
129
127
|
backgroundImage: `url(${p.bg_text})`,
|
|
130
128
|
"--pc-width": p.pc_text_width,
|
|
131
129
|
"--pc-height": p.pc_text_height,
|
|
132
130
|
"--pad-width": p.pad_text_width,
|
|
133
131
|
"--pad-height": p.pad_text_height
|
|
134
132
|
})
|
|
135
|
-
}, null, 4)) :
|
|
133
|
+
}, null, 4)) : _("", !0),
|
|
136
134
|
p.btn ? (t(), s("div", Mo, [
|
|
137
135
|
C(r(ct), {
|
|
138
136
|
href: p.href,
|
|
@@ -141,12 +139,12 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
141
139
|
color: "primary",
|
|
142
140
|
size: o.size
|
|
143
141
|
}, {
|
|
144
|
-
default:
|
|
145
|
-
|
|
142
|
+
default: h(() => [
|
|
143
|
+
te(u(p.btn), 1)
|
|
146
144
|
]),
|
|
147
145
|
_: 2
|
|
148
146
|
}, 1032, ["href", "size"])
|
|
149
|
-
])) :
|
|
147
|
+
])) : _("", !0)
|
|
150
148
|
])
|
|
151
149
|
]),
|
|
152
150
|
_: 2
|
|
@@ -162,17 +160,17 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
162
160
|
}, 8, ["data-o-theme"]))
|
|
163
161
|
], 2));
|
|
164
162
|
}
|
|
165
|
-
}),
|
|
163
|
+
}), Do = /* @__PURE__ */ he(Io, [["__scopeId", "data-v-a5902620"]]), xo = {
|
|
166
164
|
key: 0,
|
|
167
165
|
class: "cookie-notice"
|
|
168
|
-
},
|
|
166
|
+
}, No = { class: "cookie-notice-content" }, Ro = ["type"], Po = { class: "cookie-notice-left" }, zo = {
|
|
169
167
|
key: 0,
|
|
170
168
|
class: "cookie-desc",
|
|
171
169
|
style: { "margin-top": "0" }
|
|
172
|
-
},
|
|
170
|
+
}, Ho = ["href"], Uo = { class: "cookie-title" }, Fo = { class: "cookie-desc" }, Bo = ["href"], Vo = {
|
|
173
171
|
key: 0,
|
|
174
172
|
class: "cookie-notice-right"
|
|
175
|
-
},
|
|
173
|
+
}, Wo = { class: "cookie-dlg-title" }, Go = { class: "cookie-dlg-content" }, jo = { class: "content-item" }, Ko = { class: "item-header" }, qo = { class: "item-title" }, Zo = { class: "item-extra" }, Yo = { class: "item-detail" }, Xo = { class: "content-item" }, Jo = { class: "item-header" }, Qo = { class: "item-title" }, en = { class: "item-extra" }, tn = { class: "item-detail" }, on = "0", p1 = "1", nn = "2", st = "3", an = "agreed-cookiepolicy-zh", sn = "agreed-cookiepolicy-en", rn = /* @__PURE__ */ ne({
|
|
176
174
|
__name: "OCookieNotice",
|
|
177
175
|
props: {
|
|
178
176
|
visible: { type: Boolean },
|
|
@@ -184,101 +182,101 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
184
182
|
},
|
|
185
183
|
emits: ["update:visible"],
|
|
186
184
|
setup(o, { expose: e, emit: l }) {
|
|
187
|
-
const c = o, i = l, { lePadV:
|
|
188
|
-
const
|
|
189
|
-
return
|
|
190
|
-
},
|
|
191
|
-
const
|
|
192
|
-
document.cookie = `${encodeURIComponent(
|
|
193
|
-
}, D = (
|
|
194
|
-
document.cookie = `${encodeURIComponent(
|
|
195
|
-
},
|
|
196
|
-
typeof
|
|
197
|
-
!
|
|
185
|
+
const c = o, i = l, { lePadV: d, leLaptop: m } = Se(), { locale: g, t: f } = Bt(), O = de(() => g.value === "zh"), p = de(() => O.value ? an : sn), w = U(!1), x = ko(c, "visible", i, { defaultValue: !1 }), T = (J) => {
|
|
186
|
+
const Z = document.cookie.split(";").find((W) => W.split("=")[0].trim() === encodeURIComponent(J));
|
|
187
|
+
return Z ? decodeURIComponent(Z.split("=")[1]) : null;
|
|
188
|
+
}, I = (J, Z, W, A) => {
|
|
189
|
+
const M = `; max-age=${W * 24 * 60 * 60}`;
|
|
190
|
+
document.cookie = `${encodeURIComponent(J)}=${encodeURIComponent(Z)}${M}; path=/; domain=${A}`;
|
|
191
|
+
}, D = (J, Z) => {
|
|
192
|
+
document.cookie = `${encodeURIComponent(J)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${Z}`;
|
|
193
|
+
}, $ = (J) => {
|
|
194
|
+
typeof J == "boolean" ? x.value = J : x.value = !x.value, Xe(() => {
|
|
195
|
+
!x.value && O.value && T(p.value) !== st && I(p.value, st, 180, c.cookieDomain ?? location.hostname);
|
|
198
196
|
});
|
|
199
|
-
},
|
|
200
|
-
typeof
|
|
201
|
-
},
|
|
197
|
+
}, N = U(!1), X = (J) => {
|
|
198
|
+
typeof J == "boolean" ? N.value = J : N.value = !N.value;
|
|
199
|
+
}, L = () => O.value ? T(p.value) !== st : (T(p.value) ?? "0") === on, H = () => O.value ? T(p.value) === st : T(p.value) === p1;
|
|
202
200
|
We(() => {
|
|
203
|
-
|
|
201
|
+
L() && $(!0);
|
|
204
202
|
}), Ee(g, () => {
|
|
205
|
-
L(
|
|
203
|
+
$(L());
|
|
206
204
|
});
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
|
|
211
|
-
},
|
|
205
|
+
const B = () => {
|
|
206
|
+
w.value = !0, D(p.value, c.cookieDomain ?? location.hostname), I(p.value, p1, 180, c.cookieDomain ?? location.hostname), $(!1);
|
|
207
|
+
}, V = () => {
|
|
208
|
+
w.value = !1, D(p.value, c.cookieDomain ?? location.hostname), I(p.value, nn, 180, c.cookieDomain ?? location.hostname), $(!1);
|
|
209
|
+
}, Q = de(() => [
|
|
212
210
|
{
|
|
213
211
|
id: "save",
|
|
214
212
|
color: "primary",
|
|
215
|
-
label:
|
|
213
|
+
label: f("cookie.saveSetting"),
|
|
216
214
|
variant: "outline",
|
|
217
215
|
size: "large",
|
|
218
216
|
round: "pill",
|
|
219
217
|
onClick: () => {
|
|
220
|
-
|
|
218
|
+
w.value ? B() : V(), X(!1);
|
|
221
219
|
}
|
|
222
220
|
},
|
|
223
221
|
{
|
|
224
222
|
id: "allowAll",
|
|
225
223
|
color: "primary",
|
|
226
|
-
label:
|
|
224
|
+
label: f("cookie.acceptAll"),
|
|
227
225
|
variant: "outline",
|
|
228
226
|
size: "large",
|
|
229
227
|
round: "pill",
|
|
230
228
|
onClick: () => {
|
|
231
|
-
|
|
229
|
+
w.value = !0, B(), X(!1);
|
|
232
230
|
}
|
|
233
231
|
}
|
|
234
|
-
]), Ce = (
|
|
235
|
-
|
|
232
|
+
]), Ce = (J) => {
|
|
233
|
+
J && (w.value = H());
|
|
236
234
|
};
|
|
237
235
|
return e({
|
|
238
236
|
check() {
|
|
239
|
-
H() ===
|
|
237
|
+
H() === x.value && $();
|
|
240
238
|
}
|
|
241
|
-
}), (
|
|
242
|
-
default:
|
|
243
|
-
(t(),
|
|
239
|
+
}), (J, Z) => (t(), k(r(Co), null, {
|
|
240
|
+
default: h(() => [
|
|
241
|
+
(t(), k(Z1, {
|
|
244
242
|
to: o.wrapper || "#app"
|
|
245
243
|
}, [
|
|
246
|
-
r(
|
|
247
|
-
n("div",
|
|
244
|
+
r(x) ? (t(), s("div", xo, [
|
|
245
|
+
n("div", No, [
|
|
248
246
|
n("div", {
|
|
249
247
|
type: r(g),
|
|
250
248
|
class: K({ "cookie-notice-wrap-grid": o.enableGrid, "cookie-notice-wrap": !o.enableGrid })
|
|
251
249
|
}, [
|
|
252
|
-
n("div",
|
|
253
|
-
O.value ? (t(), s("p",
|
|
254
|
-
|
|
250
|
+
n("div", Po, [
|
|
251
|
+
O.value ? (t(), s("p", zo, [
|
|
252
|
+
te(u(r(f)("cookie.desc")) + " ", 1),
|
|
255
253
|
n("a", {
|
|
256
254
|
href: o.detailUrl,
|
|
257
255
|
target: "_blank",
|
|
258
256
|
rel: "noopener noreferrer"
|
|
259
|
-
}, u(r(
|
|
257
|
+
}, u(r(f)("cookie.about")), 9, Ho)
|
|
260
258
|
])) : (t(), s(S, { key: 1 }, [
|
|
261
|
-
n("p",
|
|
262
|
-
n("p",
|
|
263
|
-
|
|
259
|
+
n("p", Uo, u(r(f)("cookie.title", [o.community])), 1),
|
|
260
|
+
n("p", Fo, [
|
|
261
|
+
te(u(r(f)("cookie.desc")) + " ", 1),
|
|
264
262
|
n("a", {
|
|
265
263
|
href: o.detailUrl,
|
|
266
264
|
target: "_blank",
|
|
267
265
|
rel: "noopener noreferrer"
|
|
268
|
-
}, u(r(
|
|
269
|
-
|
|
266
|
+
}, u(r(f)("cookie.about")), 9, Bo),
|
|
267
|
+
Z[4] || (Z[4] = te(". ", -1))
|
|
270
268
|
])
|
|
271
269
|
], 64))
|
|
272
270
|
]),
|
|
273
|
-
O.value ?
|
|
271
|
+
O.value ? _("", !0) : (t(), s("div", Vo, [
|
|
274
272
|
C(r(ct), {
|
|
275
273
|
round: "pill",
|
|
276
274
|
variant: "outline",
|
|
277
275
|
color: "primary",
|
|
278
|
-
onClick:
|
|
276
|
+
onClick: B
|
|
279
277
|
}, {
|
|
280
|
-
default:
|
|
281
|
-
|
|
278
|
+
default: h(() => [
|
|
279
|
+
te(u(r(f)("cookie.acceptAll")), 1)
|
|
282
280
|
]),
|
|
283
281
|
_: 1
|
|
284
282
|
}),
|
|
@@ -286,10 +284,10 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
286
284
|
round: "pill",
|
|
287
285
|
variant: "outline",
|
|
288
286
|
color: "primary",
|
|
289
|
-
onClick:
|
|
287
|
+
onClick: V
|
|
290
288
|
}, {
|
|
291
|
-
default:
|
|
292
|
-
|
|
289
|
+
default: h(() => [
|
|
290
|
+
te(u(r(f)("cookie.rejectAll")), 1)
|
|
293
291
|
]),
|
|
294
292
|
_: 1
|
|
295
293
|
}),
|
|
@@ -297,103 +295,103 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
297
295
|
round: "pill",
|
|
298
296
|
variant: "outline",
|
|
299
297
|
color: "primary",
|
|
300
|
-
onClick:
|
|
298
|
+
onClick: Z[0] || (Z[0] = (W) => X(!0))
|
|
301
299
|
}, {
|
|
302
|
-
default:
|
|
303
|
-
|
|
300
|
+
default: h(() => [
|
|
301
|
+
te(u(r(f)("cookie.manage")), 1)
|
|
304
302
|
]),
|
|
305
303
|
_: 1
|
|
306
304
|
})
|
|
307
305
|
])),
|
|
308
|
-
C(r(
|
|
306
|
+
C(r(F), {
|
|
309
307
|
class: "cookie-notice-close",
|
|
310
308
|
type: r(g),
|
|
311
|
-
onClick:
|
|
309
|
+
onClick: Z[1] || (Z[1] = (W) => $(!1))
|
|
312
310
|
}, {
|
|
313
|
-
default:
|
|
311
|
+
default: h(() => [
|
|
314
312
|
C(r(ao))
|
|
315
313
|
]),
|
|
316
314
|
_: 1
|
|
317
315
|
}, 8, ["type"])
|
|
318
|
-
], 10,
|
|
316
|
+
], 10, Ro)
|
|
319
317
|
]),
|
|
320
318
|
C(r(so), {
|
|
321
|
-
visible:
|
|
322
|
-
"onUpdate:visible":
|
|
323
|
-
size: r(
|
|
324
|
-
"phone-half-full": r(
|
|
319
|
+
visible: N.value,
|
|
320
|
+
"onUpdate:visible": Z[3] || (Z[3] = (W) => N.value = W),
|
|
321
|
+
size: r(m) ? "medium" : "large",
|
|
322
|
+
"phone-half-full": r(d),
|
|
325
323
|
class: "cookie-dlg",
|
|
326
|
-
actions:
|
|
324
|
+
actions: Q.value,
|
|
327
325
|
onChange: Ce
|
|
328
326
|
}, {
|
|
329
|
-
header:
|
|
330
|
-
n("span",
|
|
327
|
+
header: h(() => [
|
|
328
|
+
n("span", Wo, u(r(f)("cookie.manage")), 1)
|
|
331
329
|
]),
|
|
332
|
-
default:
|
|
333
|
-
n("div",
|
|
334
|
-
n("div",
|
|
335
|
-
n("div",
|
|
336
|
-
n("span",
|
|
337
|
-
n("span",
|
|
330
|
+
default: h(() => [
|
|
331
|
+
n("div", Go, [
|
|
332
|
+
n("div", jo, [
|
|
333
|
+
n("div", Ko, [
|
|
334
|
+
n("span", qo, u(r(f)("cookie.necessaryCookie")), 1),
|
|
335
|
+
n("span", Zo, u(r(f)("cookie.alwaysOn")), 1)
|
|
338
336
|
]),
|
|
339
|
-
n("div",
|
|
337
|
+
n("div", Yo, u(r(f)("cookie.necessaryCookieDetail")), 1)
|
|
340
338
|
]),
|
|
341
|
-
n("div",
|
|
342
|
-
n("div",
|
|
343
|
-
n("span",
|
|
344
|
-
n("span",
|
|
345
|
-
C(r(
|
|
346
|
-
modelValue:
|
|
347
|
-
"onUpdate:modelValue":
|
|
339
|
+
n("div", Xo, [
|
|
340
|
+
n("div", Jo, [
|
|
341
|
+
n("span", Qo, u(r(f)("cookie.analyticalCookie")), 1),
|
|
342
|
+
n("span", en, [
|
|
343
|
+
C(r(M1), {
|
|
344
|
+
modelValue: w.value,
|
|
345
|
+
"onUpdate:modelValue": Z[2] || (Z[2] = (W) => w.value = W)
|
|
348
346
|
}, null, 8, ["modelValue"])
|
|
349
347
|
])
|
|
350
348
|
]),
|
|
351
|
-
n("div",
|
|
349
|
+
n("div", tn, u(r(f)("cookie.analyticalCookieDetail")), 1)
|
|
352
350
|
])
|
|
353
351
|
])
|
|
354
352
|
]),
|
|
355
353
|
_: 1
|
|
356
354
|
}, 8, ["visible", "size", "phone-half-full", "actions"])
|
|
357
|
-
])) :
|
|
355
|
+
])) : _("", !0)
|
|
358
356
|
], 8, ["to"]))
|
|
359
357
|
]),
|
|
360
358
|
_: 1
|
|
361
359
|
}));
|
|
362
360
|
}
|
|
363
|
-
}),
|
|
361
|
+
}), ln = /* @__PURE__ */ he(rn, [["__scopeId", "data-v-f1dd144c"]]), cn = {
|
|
364
362
|
key: 0,
|
|
365
363
|
class: "atom"
|
|
366
|
-
},
|
|
364
|
+
}, un = { class: "atom-text" }, dn = ["href"], fn = ["src"], hn = {
|
|
367
365
|
key: 0,
|
|
368
366
|
class: "quick-nav"
|
|
369
|
-
},
|
|
367
|
+
}, vn = { class: "category-title" }, pn = { class: "navs" }, mn = ["href"], _n = {
|
|
370
368
|
key: 0,
|
|
371
369
|
class: "friendship-link"
|
|
372
|
-
},
|
|
370
|
+
}, gn = { class: "friendship-link-title" }, Cn = { class: "friendship-link-box" }, yn = ["href"], kn = {
|
|
373
371
|
key: 0,
|
|
374
372
|
class: "footer-logo"
|
|
375
|
-
},
|
|
373
|
+
}, wn = ["src"], bn = ["src"], $n = ["href"], Ln = {
|
|
376
374
|
key: 1,
|
|
377
375
|
class: "footer-option"
|
|
378
|
-
},
|
|
376
|
+
}, An = { class: "footer-option-item" }, En = ["href"], On = { class: "license" }, Tn = { class: "copyright" }, Sn = { class: "filing" }, Mn = ["href"], In = ["src"], Dn = {
|
|
379
377
|
key: 2,
|
|
380
378
|
class: "footer-right"
|
|
381
|
-
},
|
|
379
|
+
}, xn = {
|
|
382
380
|
key: 0,
|
|
383
381
|
class: "code-box"
|
|
384
|
-
},
|
|
382
|
+
}, Nn = ["src"], Rn = { class: "code-layer" }, Pn = ["src"], zn = { class: "txt" }, Hn = { class: "app-footer-pc" }, Un = {
|
|
385
383
|
key: 0,
|
|
386
384
|
class: "footer-left"
|
|
387
|
-
},
|
|
385
|
+
}, Fn = ["href"], Bn = ["src"], Vn = {
|
|
388
386
|
key: 0,
|
|
389
387
|
class: "footer-right"
|
|
390
|
-
},
|
|
388
|
+
}, Wn = ["href"], Gn = { class: "app-footer-mb" }, jn = {
|
|
391
389
|
key: 0,
|
|
392
390
|
class: "links"
|
|
393
|
-
},
|
|
391
|
+
}, Kn = ["href"], qn = { class: "copyright" }, Zn = {
|
|
394
392
|
key: 0,
|
|
395
393
|
class: "approval"
|
|
396
|
-
},
|
|
394
|
+
}, Yn = ["href"], Xn = ["src"], Jn = /* @__PURE__ */ ne({
|
|
397
395
|
__name: "OFooter",
|
|
398
396
|
props: {
|
|
399
397
|
simple: !1,
|
|
@@ -411,87 +409,87 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
411
409
|
return (l, c) => (t(), s("div", {
|
|
412
410
|
class: K([e.simple ? "app-footer-simple" : "app-footer"])
|
|
413
411
|
}, [
|
|
414
|
-
e.simple ? (t(),
|
|
415
|
-
default:
|
|
416
|
-
n("div",
|
|
417
|
-
l.$slots.left || e.footerOption ?
|
|
418
|
-
e.footerOption ? (t(), s("div",
|
|
412
|
+
e.simple ? (t(), k(Re, { key: 1 }, {
|
|
413
|
+
default: h(() => [
|
|
414
|
+
n("div", Hn, [
|
|
415
|
+
l.$slots.left || e.footerOption ? P(l.$slots, "left", { key: 0 }, () => [
|
|
416
|
+
e.footerOption ? (t(), s("div", Un, [
|
|
419
417
|
n("span", null, u(e.footerOption[e.lang].copyright), 1),
|
|
420
418
|
n("a", {
|
|
421
419
|
class: "approval",
|
|
422
420
|
href: e.footerOption[e.lang].beianLink,
|
|
423
421
|
target: "_blank",
|
|
424
422
|
rel: "noopener noreferrer"
|
|
425
|
-
}, u(e.footerOption[e.lang].beianInfo1), 9,
|
|
423
|
+
}, u(e.footerOption[e.lang].beianInfo1), 9, Fn),
|
|
426
424
|
n("img", {
|
|
427
425
|
class: "police-img",
|
|
428
426
|
src: e.footerOption[e.lang].policeIcon
|
|
429
|
-
}, null, 8,
|
|
427
|
+
}, null, 8, Bn),
|
|
430
428
|
n("span", null, u(e.footerOption[e.lang].beianInfo2), 1)
|
|
431
|
-
])) :
|
|
432
|
-
], !0) :
|
|
433
|
-
l.$slots.right || e.footerOption ?
|
|
434
|
-
e.footerOption ? (t(), s("div",
|
|
435
|
-
(t(!0), s(S, null,
|
|
429
|
+
])) : _("", !0)
|
|
430
|
+
], !0) : _("", !0),
|
|
431
|
+
l.$slots.right || e.footerOption ? P(l.$slots, "right", { key: 1 }, () => [
|
|
432
|
+
e.footerOption ? (t(), s("div", Vn, [
|
|
433
|
+
(t(!0), s(S, null, z(e.footerOption[e.lang].link, (i, d) => (t(), s(S, {
|
|
436
434
|
key: i.url
|
|
437
435
|
}, [
|
|
438
436
|
n("a", {
|
|
439
437
|
target: "_blank",
|
|
440
438
|
href: i.url,
|
|
441
439
|
class: "link"
|
|
442
|
-
}, u(i.name), 9,
|
|
443
|
-
|
|
440
|
+
}, u(i.name), 9, Wn),
|
|
441
|
+
d !== e.footerOption[e.lang].link.length - 1 ? (t(), k(r(Ne), {
|
|
444
442
|
key: 0,
|
|
445
443
|
direction: "v"
|
|
446
|
-
})) :
|
|
444
|
+
})) : _("", !0)
|
|
447
445
|
], 64))), 128))
|
|
448
|
-
])) :
|
|
449
|
-
], !0) :
|
|
446
|
+
])) : _("", !0)
|
|
447
|
+
], !0) : _("", !0)
|
|
450
448
|
]),
|
|
451
|
-
n("div",
|
|
452
|
-
l.$slots.right || e.footerOption ?
|
|
453
|
-
e.footerOption ? (t(), s("div",
|
|
454
|
-
(t(!0), s(S, null,
|
|
449
|
+
n("div", Gn, [
|
|
450
|
+
l.$slots.right || e.footerOption ? P(l.$slots, "right", { key: 0 }, () => [
|
|
451
|
+
e.footerOption ? (t(), s("div", jn, [
|
|
452
|
+
(t(!0), s(S, null, z(e.footerOption[e.lang].link, (i, d) => (t(), s(S, {
|
|
455
453
|
key: i.url
|
|
456
454
|
}, [
|
|
457
455
|
n("a", {
|
|
458
456
|
target: "_blank",
|
|
459
457
|
href: i.url,
|
|
460
458
|
class: "link"
|
|
461
|
-
}, u(i.name), 9,
|
|
462
|
-
|
|
459
|
+
}, u(i.name), 9, Kn),
|
|
460
|
+
d !== e.footerOption[e.lang].link.length - 1 ? (t(), k(r(Ne), {
|
|
463
461
|
key: 0,
|
|
464
462
|
direction: "v"
|
|
465
|
-
})) :
|
|
463
|
+
})) : _("", !0)
|
|
466
464
|
], 64))), 128))
|
|
467
|
-
])) :
|
|
468
|
-
], !0) :
|
|
469
|
-
|
|
470
|
-
n("div",
|
|
465
|
+
])) : _("", !0)
|
|
466
|
+
], !0) : _("", !0),
|
|
467
|
+
P(l.$slots, "copyright", {}, () => [
|
|
468
|
+
n("div", qn, u(e.footerOption[e.lang].copyright), 1)
|
|
471
469
|
], !0),
|
|
472
|
-
l.$slots.left || e.footerOption ?
|
|
473
|
-
e.footerOption ? (t(), s("div",
|
|
470
|
+
l.$slots.left || e.footerOption ? P(l.$slots, "left", { key: 1 }, () => [
|
|
471
|
+
e.footerOption ? (t(), s("div", Zn, [
|
|
474
472
|
n("a", {
|
|
475
473
|
href: e.footerOption[e.lang].beianLink,
|
|
476
474
|
target: "_blank",
|
|
477
475
|
rel: "noopener noreferrer"
|
|
478
|
-
}, u(e.footerOption[e.lang].beianInfo1), 9,
|
|
476
|
+
}, u(e.footerOption[e.lang].beianInfo1), 9, Yn),
|
|
479
477
|
n("img", {
|
|
480
478
|
class: "police-img",
|
|
481
479
|
src: e.footerOption[e.lang].policeIcon
|
|
482
|
-
}, null, 8,
|
|
480
|
+
}, null, 8, Xn),
|
|
483
481
|
n("span", null, u(e.footerOption[e.lang].beianInfo2), 1)
|
|
484
|
-
])) :
|
|
485
|
-
], !0) :
|
|
482
|
+
])) : _("", !0)
|
|
483
|
+
], !0) : _("", !0)
|
|
486
484
|
])
|
|
487
485
|
]),
|
|
488
486
|
_: 3
|
|
489
487
|
})) : (t(), s(S, { key: 0 }, [
|
|
490
|
-
l.$slots.atom || e.atom ? (t(),
|
|
491
|
-
default:
|
|
492
|
-
|
|
493
|
-
e.atom ? (t(), s("div",
|
|
494
|
-
n("p",
|
|
488
|
+
l.$slots.atom || e.atom ? (t(), k(Re, { key: 0 }, {
|
|
489
|
+
default: h(() => [
|
|
490
|
+
P(l.$slots, "atom", {}, () => [
|
|
491
|
+
e.atom ? (t(), s("div", cn, [
|
|
492
|
+
n("p", un, u(e.atom[e.lang].title), 1),
|
|
495
493
|
n("a", {
|
|
496
494
|
href: e.atom[e.lang].href,
|
|
497
495
|
target: "_blank"
|
|
@@ -501,102 +499,102 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
501
499
|
class: "atom-logo",
|
|
502
500
|
alt: ""
|
|
503
501
|
}, null, 8, fn)
|
|
504
|
-
], 8,
|
|
505
|
-
])) :
|
|
506
|
-
C(r(Ne), {
|
|
502
|
+
], 8, dn)
|
|
503
|
+
])) : _("", !0),
|
|
504
|
+
C(r(Ne), { class: "atom-divider" })
|
|
507
505
|
], !0)
|
|
508
506
|
]),
|
|
509
507
|
_: 3
|
|
510
|
-
})) :
|
|
508
|
+
})) : _("", !0),
|
|
511
509
|
n("div", {
|
|
512
510
|
class: "footer-content",
|
|
513
|
-
style:
|
|
511
|
+
style: ce({ backgroundImage: `url(${e.footerBg})` })
|
|
514
512
|
}, [
|
|
515
513
|
C(Re, null, {
|
|
516
|
-
default:
|
|
517
|
-
l.$slots.quickNav || e.quickNav ?
|
|
518
|
-
e.quickNav ? (t(), s("div",
|
|
519
|
-
(t(!0), s(S, null,
|
|
514
|
+
default: h(() => [
|
|
515
|
+
l.$slots.quickNav || e.quickNav ? P(l.$slots, "quickNav", { key: 0 }, () => [
|
|
516
|
+
e.quickNav ? (t(), s("div", hn, [
|
|
517
|
+
(t(!0), s(S, null, z(e.quickNav[e.lang], (i) => (t(), s("div", {
|
|
520
518
|
key: i.title,
|
|
521
519
|
class: "category"
|
|
522
520
|
}, [
|
|
523
|
-
n("div",
|
|
524
|
-
n("ul",
|
|
525
|
-
(t(!0), s(S, null,
|
|
526
|
-
key:
|
|
521
|
+
n("div", vn, u(i.title), 1),
|
|
522
|
+
n("ul", pn, [
|
|
523
|
+
(t(!0), s(S, null, z(i.list, (d) => (t(), s("li", {
|
|
524
|
+
key: d.title,
|
|
527
525
|
class: "nav"
|
|
528
526
|
}, [
|
|
529
527
|
n("a", {
|
|
530
|
-
href:
|
|
528
|
+
href: d.link,
|
|
531
529
|
target: "_blank",
|
|
532
530
|
rel: "noopener noreferrer"
|
|
533
|
-
}, u(
|
|
531
|
+
}, u(d.title), 9, mn)
|
|
534
532
|
]))), 128))
|
|
535
533
|
])
|
|
536
534
|
]))), 128))
|
|
537
|
-
])) :
|
|
538
|
-
], !0) :
|
|
539
|
-
l.$slots.friendshipLink || e.friendshipLink ?
|
|
540
|
-
e.friendshipLink ? (t(), s("div",
|
|
541
|
-
n("div",
|
|
542
|
-
n("div",
|
|
543
|
-
(t(!0), s(S, null,
|
|
535
|
+
])) : _("", !0)
|
|
536
|
+
], !0) : _("", !0),
|
|
537
|
+
l.$slots.friendshipLink || e.friendshipLink ? P(l.$slots, "friendshipLink", { key: 1 }, () => [
|
|
538
|
+
e.friendshipLink ? (t(), s("div", _n, [
|
|
539
|
+
n("div", gn, u(e.friendshipLink.title[e.lang]), 1),
|
|
540
|
+
n("div", Cn, [
|
|
541
|
+
(t(!0), s(S, null, z(e.friendshipLink.link[e.lang], (i) => (t(), s("a", {
|
|
544
542
|
href: i.link,
|
|
545
543
|
key: i.link,
|
|
546
544
|
target: "_blank"
|
|
547
|
-
}, u(i.title), 9,
|
|
545
|
+
}, u(i.title), 9, yn))), 128))
|
|
548
546
|
])
|
|
549
|
-
])) :
|
|
550
|
-
], !0) :
|
|
551
|
-
|
|
547
|
+
])) : _("", !0)
|
|
548
|
+
], !0) : _("", !0),
|
|
549
|
+
P(l.$slots, "footer", {}, () => [
|
|
552
550
|
n("div", {
|
|
553
551
|
class: K(["inner", { "inner-en": e.lang === "en" }])
|
|
554
552
|
}, [
|
|
555
|
-
e.footerLogo ? (t(), s("div",
|
|
553
|
+
e.footerLogo ? (t(), s("div", kn, [
|
|
556
554
|
n("img", {
|
|
557
555
|
class: "show-pc",
|
|
558
556
|
src: e.footerLogo.logo,
|
|
559
557
|
alt: ""
|
|
560
|
-
}, null, 8,
|
|
558
|
+
}, null, 8, wn),
|
|
561
559
|
n("img", {
|
|
562
560
|
class: "show-mo",
|
|
563
561
|
src: e.footerLogo.logoMb,
|
|
564
562
|
alt: ""
|
|
565
|
-
}, null, 8,
|
|
563
|
+
}, null, 8, bn),
|
|
566
564
|
n("p", null, [
|
|
567
565
|
n("a", {
|
|
568
566
|
class: "email",
|
|
569
567
|
href: `mailto:${e.footerLogo.email}`,
|
|
570
568
|
target: "_blank"
|
|
571
|
-
}, u(e.footerLogo.email), 9,
|
|
569
|
+
}, u(e.footerLogo.email), 9, $n)
|
|
572
570
|
])
|
|
573
|
-
])) :
|
|
574
|
-
e.footerOption ? (t(), s("div",
|
|
575
|
-
n("div",
|
|
576
|
-
(t(!0), s(S, null,
|
|
571
|
+
])) : _("", !0),
|
|
572
|
+
e.footerOption ? (t(), s("div", Ln, [
|
|
573
|
+
n("div", An, [
|
|
574
|
+
(t(!0), s(S, null, z(e.footerOption[e.lang].link, (i, d) => (t(), s(S, {
|
|
577
575
|
key: i.url
|
|
578
576
|
}, [
|
|
579
577
|
n("a", {
|
|
580
578
|
target: "_blank",
|
|
581
579
|
href: i.url
|
|
582
|
-
}, u(i.name), 9,
|
|
583
|
-
|
|
580
|
+
}, u(i.name), 9, En),
|
|
581
|
+
d !== e.footerOption[e.lang].link.length - 1 ? (t(), k(r(Ne), {
|
|
584
582
|
key: 0,
|
|
585
583
|
style: {
|
|
586
|
-
"--o-divider-bd-color": "var(--o-color-
|
|
584
|
+
"--o-divider-bd-color": "var(--o-color-info3-inverse)",
|
|
587
585
|
"--o-divider-label-gap": "0 8px"
|
|
588
586
|
},
|
|
589
587
|
direction: "v"
|
|
590
|
-
})) :
|
|
588
|
+
})) : _("", !0)
|
|
591
589
|
], 64))), 128))
|
|
592
590
|
]),
|
|
593
|
-
n("p",
|
|
591
|
+
n("p", On, [
|
|
594
592
|
n("span", null, u(e.footerOption[e.lang].licenseText), 1),
|
|
595
|
-
|
|
593
|
+
te(" " + u(e.footerOption[e.lang].licenseInfo), 1)
|
|
596
594
|
]),
|
|
597
|
-
n("div",
|
|
595
|
+
n("div", Tn, [
|
|
598
596
|
n("p", null, u(e.footerOption[e.lang].copyright), 1),
|
|
599
|
-
n("div",
|
|
597
|
+
n("div", Sn, [
|
|
600
598
|
n("a", {
|
|
601
599
|
href: e.footerOption[e.lang].beianLink,
|
|
602
600
|
target: "_blank"
|
|
@@ -604,32 +602,32 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
604
602
|
n("img", {
|
|
605
603
|
src: e.footerOption[e.lang].policeIcon,
|
|
606
604
|
class: "filing-img"
|
|
607
|
-
}, null, 8,
|
|
605
|
+
}, null, 8, In),
|
|
608
606
|
n("p", null, u(e.footerOption[e.lang].beianInfo2), 1)
|
|
609
607
|
])
|
|
610
608
|
])
|
|
611
|
-
])) :
|
|
612
|
-
e.qrcode ? (t(), s("div",
|
|
613
|
-
e.lang === "zh" ? (t(), s("div",
|
|
614
|
-
(t(!0), s(S, null,
|
|
615
|
-
key:
|
|
609
|
+
])) : _("", !0),
|
|
610
|
+
e.qrcode ? (t(), s("div", Dn, [
|
|
611
|
+
e.lang === "zh" ? (t(), s("div", xn, [
|
|
612
|
+
(t(!0), s(S, null, z(e.qrcode, (i, d) => (t(), s("div", {
|
|
613
|
+
key: d,
|
|
616
614
|
class: "code-pop"
|
|
617
615
|
}, [
|
|
618
616
|
n("img", {
|
|
619
617
|
src: i.img,
|
|
620
618
|
class: "code-img",
|
|
621
619
|
alt: ""
|
|
622
|
-
}, null, 8,
|
|
623
|
-
n("div",
|
|
620
|
+
}, null, 8, Nn),
|
|
621
|
+
n("div", Rn, [
|
|
624
622
|
n("img", {
|
|
625
623
|
src: i.code,
|
|
626
624
|
alt: ""
|
|
627
|
-
}, null, 8,
|
|
628
|
-
n("p",
|
|
625
|
+
}, null, 8, Pn),
|
|
626
|
+
n("p", zn, u(i.label), 1)
|
|
629
627
|
])
|
|
630
628
|
]))), 128))
|
|
631
|
-
])) :
|
|
632
|
-
])) :
|
|
629
|
+
])) : _("", !0)
|
|
630
|
+
])) : _("", !0)
|
|
633
631
|
], 2)
|
|
634
632
|
], !0)
|
|
635
633
|
]),
|
|
@@ -639,49 +637,52 @@ const Ao = /* @__PURE__ */ ne({
|
|
|
639
637
|
], 64))
|
|
640
638
|
], 2));
|
|
641
639
|
}
|
|
642
|
-
}),
|
|
640
|
+
}), Qn = /* @__PURE__ */ he(Jn, [["__scopeId", "data-v-f095d641"]]), ea = {
|
|
643
641
|
version: "1.1",
|
|
644
642
|
xmlns: "http://www.w3.org/2000/svg",
|
|
645
643
|
width: "24",
|
|
646
644
|
height: "24",
|
|
647
645
|
viewBox: "0 0 24 24"
|
|
648
646
|
};
|
|
649
|
-
function
|
|
650
|
-
return t(), s("svg",
|
|
647
|
+
function ta(o, e) {
|
|
648
|
+
return t(), s("svg", ea, [...e[0] || (e[0] = [
|
|
651
649
|
n("path", {
|
|
652
650
|
fill: "currentColor",
|
|
653
651
|
d: "M9.461 11.616l4.719-3.932c0.212-0.177 0.527-0.148 0.704 0.064 0.075 0.090 0.116 0.203 0.116 0.32v7.865c0 0.276-0.224 0.5-0.5 0.5-0.117 0-0.23-0.041-0.32-0.116l-4.719-3.932c-0.212-0.177-0.241-0.492-0.064-0.704 0.019-0.023 0.041-0.045 0.064-0.064z"
|
|
654
652
|
}, null, -1)
|
|
655
653
|
])]);
|
|
656
654
|
}
|
|
657
|
-
const
|
|
655
|
+
const oa = { name: "components-icon-caret-left", render: ta }, na = {
|
|
658
656
|
version: "1.1",
|
|
659
657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
660
658
|
width: "24",
|
|
661
659
|
height: "24",
|
|
662
660
|
viewBox: "0 0 24 24"
|
|
663
661
|
};
|
|
664
|
-
function
|
|
665
|
-
return t(), s("svg",
|
|
662
|
+
function aa(o, e) {
|
|
663
|
+
return t(), s("svg", na, [...e[0] || (e[0] = [
|
|
666
664
|
n("path", {
|
|
667
665
|
fill: "currentColor",
|
|
668
666
|
d: "M14.539 11.616l-4.719-3.932c-0.212-0.177-0.527-0.148-0.704 0.064-0.075 0.090-0.116 0.203-0.116 0.32v7.865c0 0.276 0.224 0.5 0.5 0.5 0.117 0 0.23-0.041 0.32-0.116l4.719-3.932c0.212-0.177 0.241-0.492 0.064-0.704-0.019-0.023-0.041-0.045-0.064-0.064z"
|
|
669
667
|
}, null, -1)
|
|
670
668
|
])]);
|
|
671
669
|
}
|
|
672
|
-
const
|
|
670
|
+
const sa = { name: "components-icon-caret-right", render: aa }, ra = { class: "header-content" }, la = {
|
|
673
671
|
key: 0,
|
|
674
672
|
class: "right-icon"
|
|
675
|
-
},
|
|
673
|
+
}, ia = ["onMouseenter"], ca = ["id"], ua = { class: "nav-drop-content" }, da = { class: "nav-sub-content" }, fa = { class: "content-left" }, ha = { class: "content-label" }, va = { class: "content-container" }, pa = ["onClick"], ma = { class: "item-name" }, _a = {
|
|
674
|
+
key: 0,
|
|
675
|
+
class: "desc-container"
|
|
676
|
+
}, ga = ["title"], Ca = {
|
|
676
677
|
key: 0,
|
|
677
678
|
class: "split-line"
|
|
678
|
-
},
|
|
679
|
+
}, ya = {
|
|
679
680
|
key: 1,
|
|
680
681
|
class: "content-right"
|
|
681
|
-
},
|
|
682
|
+
}, ka = ["onClick"], wa = ["onClick"], ba = ["src"], $a = { class: "review-content" }, La = { class: "review-label" }, Aa = { class: "review-property" }, Ea = {
|
|
682
683
|
key: 1,
|
|
683
684
|
class: "right-icon"
|
|
684
|
-
},
|
|
685
|
+
}, Oa = /* @__PURE__ */ ne({
|
|
685
686
|
__name: "HeaderEulerNav",
|
|
686
687
|
props: {
|
|
687
688
|
navData: void 0,
|
|
@@ -689,81 +690,81 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
689
690
|
bgRight: void 0
|
|
690
691
|
},
|
|
691
692
|
setup(o) {
|
|
692
|
-
const e = o, { locale: l } = N1(), { theme: c } = Ft(),
|
|
693
|
-
|
|
694
|
-
}, 100),
|
|
695
|
-
window.open(
|
|
696
|
-
},
|
|
697
|
-
!
|
|
698
|
-
},
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
left:
|
|
693
|
+
const e = o, { locale: l } = N1(), { theme: c, isDark: i } = Ft(), d = U(), m = U(), g = U(null), f = U(!1), O = U(!1), p = U(!1), w = U(), x = U([]), T = U([]), I = U(!1), D = wo(function(V) {
|
|
694
|
+
V === null ? (w.value = "", p.value = !1, I.value = !1) : (w.value = V.id, p.value = !0, x.value = V.children, T.value = V.shortcut, I.value = V.withPicture);
|
|
695
|
+
}, 100), $ = (V, Q) => {
|
|
696
|
+
window.open(V, Q), w.value = "", p.value = !1;
|
|
697
|
+
}, N = U(!1), X = (V) => {
|
|
698
|
+
!V || !V.target || (N.value = V.target.clientHeight < V.target.scrollHeight);
|
|
699
|
+
}, L = () => {
|
|
700
|
+
O.value = !0, Xe(() => {
|
|
701
|
+
d.value.scrollTo({
|
|
702
|
+
left: d.value.clientWidth,
|
|
702
703
|
behavior: "smooth"
|
|
703
704
|
});
|
|
704
705
|
});
|
|
705
|
-
},
|
|
706
|
-
|
|
706
|
+
}, H = () => {
|
|
707
|
+
d.value.scrollTo({
|
|
707
708
|
left: 0,
|
|
708
709
|
behavior: "smooth"
|
|
709
|
-
}),
|
|
710
|
-
},
|
|
711
|
-
var
|
|
712
|
-
((
|
|
710
|
+
}), O.value = !1;
|
|
711
|
+
}, B = () => {
|
|
712
|
+
var V, Q;
|
|
713
|
+
((V = d.value) == null ? void 0 : V.clientWidth) < ((Q = m.value) == null ? void 0 : Q.clientWidth) && (f.value = !0);
|
|
713
714
|
};
|
|
714
715
|
return We(() => {
|
|
715
|
-
window.addEventListener("resize",
|
|
716
|
-
|
|
717
|
-
|
|
716
|
+
window.addEventListener("resize", B), Xe(() => {
|
|
717
|
+
B(), g.value = setTimeout(() => {
|
|
718
|
+
B();
|
|
718
719
|
}, 1e3);
|
|
719
720
|
});
|
|
720
721
|
}), T1(() => {
|
|
721
|
-
window.removeEventListener("resize",
|
|
722
|
-
}), (
|
|
722
|
+
window.removeEventListener("resize", B), clearTimeout(g.value);
|
|
723
|
+
}), (V, Q) => (t(), s("div", ra, [
|
|
723
724
|
n("div", {
|
|
724
|
-
class: K(["header-nav", { "header-nav-scroll":
|
|
725
|
+
class: K(["header-nav", { "header-nav-scroll": O.value }])
|
|
725
726
|
}, [
|
|
726
|
-
|
|
727
|
-
C(r(
|
|
728
|
-
default:
|
|
729
|
-
C(r(
|
|
727
|
+
O.value ? (t(), s("div", la, [
|
|
728
|
+
C(r(F), { onClick: H }, {
|
|
729
|
+
default: h(() => [
|
|
730
|
+
C(r(oa))
|
|
730
731
|
]),
|
|
731
732
|
_: 1
|
|
732
733
|
})
|
|
733
|
-
])) :
|
|
734
|
+
])) : _("", !0),
|
|
734
735
|
n("nav", {
|
|
735
736
|
ref_key: "navRef",
|
|
736
|
-
ref:
|
|
737
|
-
class: K(["o-nav", { "o-nav-scroll":
|
|
737
|
+
ref: d,
|
|
738
|
+
class: K(["o-nav", { "o-nav-scroll": O.value || !f.value, dark: r(i) }])
|
|
738
739
|
}, [
|
|
739
740
|
n("ul", {
|
|
740
741
|
ref_key: "navListRef",
|
|
741
|
-
ref:
|
|
742
|
+
ref: m,
|
|
742
743
|
class: "o-nav-list"
|
|
743
744
|
}, [
|
|
744
|
-
(t(!0), s(S, null,
|
|
745
|
-
key:
|
|
746
|
-
onMouseenter: (
|
|
747
|
-
onMouseleave:
|
|
745
|
+
(t(!0), s(S, null, z(o.navData, (Ce) => (t(), s("li", {
|
|
746
|
+
key: Ce.id,
|
|
747
|
+
onMouseenter: (J) => r(D)(Ce),
|
|
748
|
+
onMouseleave: Q[1] || (Q[1] = (J) => r(D)(null))
|
|
748
749
|
}, [
|
|
749
750
|
n("span", {
|
|
750
|
-
id: "tour_headerNav_" +
|
|
751
|
+
id: "tour_headerNav_" + Ce.ID,
|
|
751
752
|
class: "nav-item"
|
|
752
|
-
}, u(
|
|
753
|
+
}, u(Ce.label), 9, ca),
|
|
753
754
|
C(S1, { name: "transition" }, {
|
|
754
|
-
default:
|
|
755
|
-
|
|
755
|
+
default: h(() => [
|
|
756
|
+
p.value ? (t(), s("div", {
|
|
756
757
|
key: 0,
|
|
757
|
-
class: K(["nav-dropdown",
|
|
758
|
+
class: K(["nav-dropdown", w.value, r(c), `${w.value}-${r(l)}`])
|
|
758
759
|
}, [
|
|
759
|
-
n("div",
|
|
760
|
+
n("div", ua, [
|
|
760
761
|
n("div", {
|
|
761
762
|
class: "nav-background-left",
|
|
762
|
-
style:
|
|
763
|
+
style: ce({ backgroundImage: `url(${e.bgLeft})` })
|
|
763
764
|
}, null, 4),
|
|
764
765
|
n("div", {
|
|
765
766
|
class: "nav-background-right",
|
|
766
|
-
style:
|
|
767
|
+
style: ce({ backgroundImage: `url(${e.bgRight})` })
|
|
767
768
|
}, null, 4),
|
|
768
769
|
C(r(ro), {
|
|
769
770
|
class: "nav-scroller",
|
|
@@ -771,138 +772,138 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
771
772
|
size: "small",
|
|
772
773
|
"disabled-y": ""
|
|
773
774
|
}, {
|
|
774
|
-
default:
|
|
775
|
-
var
|
|
775
|
+
default: h(() => {
|
|
776
|
+
var J, Z;
|
|
776
777
|
return [
|
|
777
|
-
n("div",
|
|
778
|
+
n("div", da, [
|
|
778
779
|
n("div", fa, [
|
|
779
|
-
(t(!0), s(S, null,
|
|
780
|
+
(t(!0), s(S, null, z(x.value, (W, A) => (t(), s("div", {
|
|
780
781
|
class: "item-sub",
|
|
781
|
-
key:
|
|
782
|
+
key: A
|
|
782
783
|
}, [
|
|
783
|
-
n("span",
|
|
784
|
-
n("div",
|
|
785
|
-
(t(!0), s(S, null,
|
|
786
|
-
key:
|
|
784
|
+
n("span", ha, u(W.label), 1),
|
|
785
|
+
n("div", va, [
|
|
786
|
+
(t(!0), s(S, null, z(W.children, (M) => (t(), s("div", {
|
|
787
|
+
key: M.label,
|
|
787
788
|
class: "content-item"
|
|
788
789
|
}, [
|
|
789
790
|
n("a", {
|
|
790
|
-
onClick: (
|
|
791
|
+
onClick: (Y) => $(M.href, "_self"),
|
|
791
792
|
rel: "noopener noreferrer",
|
|
792
793
|
class: "item-label"
|
|
793
794
|
}, [
|
|
794
|
-
n("span",
|
|
795
|
-
|
|
796
|
-
default:
|
|
797
|
-
(t(),
|
|
795
|
+
n("span", ma, u(M.label), 1),
|
|
796
|
+
M.icon ? (t(), k(r(F), { key: 0 }, {
|
|
797
|
+
default: h(() => [
|
|
798
|
+
(t(), k(we(M.icon), { class: "icon" }))
|
|
798
799
|
]),
|
|
799
800
|
_: 2
|
|
800
|
-
}, 1024)) :
|
|
801
|
-
|
|
801
|
+
}, 1024)) : _("", !0),
|
|
802
|
+
M.tag ? (t(), k(r(Ge), {
|
|
802
803
|
key: 1,
|
|
803
804
|
round: "pill",
|
|
804
805
|
color: "danger",
|
|
805
806
|
size: "small",
|
|
806
807
|
class: "content-tag"
|
|
807
808
|
}, {
|
|
808
|
-
default:
|
|
809
|
-
|
|
809
|
+
default: h(() => [
|
|
810
|
+
te(u(M.tag), 1)
|
|
810
811
|
]),
|
|
811
812
|
_: 2
|
|
812
|
-
}, 1024)) :
|
|
813
|
-
], 8,
|
|
814
|
-
|
|
813
|
+
}, 1024)) : _("", !0)
|
|
814
|
+
], 8, pa),
|
|
815
|
+
M.description ? (t(), s("div", _a, [
|
|
815
816
|
n("p", {
|
|
816
817
|
class: "item-desc",
|
|
817
|
-
title:
|
|
818
|
-
onMouseenter:
|
|
819
|
-
}, u(
|
|
820
|
-
])
|
|
818
|
+
title: N.value ? M.description : null,
|
|
819
|
+
onMouseenter: Q[0] || (Q[0] = (Y) => X(Y))
|
|
820
|
+
}, u(M.description), 41, ga)
|
|
821
|
+
])) : _("", !0)
|
|
821
822
|
]))), 128))
|
|
822
823
|
])
|
|
823
824
|
]))), 128))
|
|
824
825
|
]),
|
|
825
|
-
(
|
|
826
|
-
(
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
key:
|
|
830
|
-
onClick: (
|
|
826
|
+
(J = T.value) != null && J.length ? (t(), s("div", Ca)) : _("", !0),
|
|
827
|
+
(Z = T.value) != null && Z.length ? (t(), s("div", ya, [
|
|
828
|
+
Q[2] || (Q[2] = n("span", { class: "content-label" }, "快捷链接", -1)),
|
|
829
|
+
I.value ? (t(!0), s(S, { key: 1 }, z(T.value, (W) => (t(), s("a", {
|
|
830
|
+
key: W.label,
|
|
831
|
+
onClick: (A) => $(W.href, "_self"),
|
|
831
832
|
rel: "noopener noreferrer",
|
|
832
833
|
class: "review"
|
|
833
834
|
}, [
|
|
834
835
|
n("img", {
|
|
835
|
-
src:
|
|
836
|
+
src: W.picture,
|
|
836
837
|
class: "review-picture"
|
|
837
|
-
}, null, 8,
|
|
838
|
-
n("div",
|
|
839
|
-
n("p",
|
|
840
|
-
n("div",
|
|
841
|
-
n("span", null, u(
|
|
838
|
+
}, null, 8, ba),
|
|
839
|
+
n("div", $a, [
|
|
840
|
+
n("p", La, u(W.label), 1),
|
|
841
|
+
n("div", Aa, [
|
|
842
|
+
n("span", null, u(W.remark), 1)
|
|
842
843
|
])
|
|
843
844
|
])
|
|
844
|
-
], 8,
|
|
845
|
-
key:
|
|
845
|
+
], 8, wa))), 128)) : (t(!0), s(S, { key: 0 }, z(T.value, (W) => (t(), s("div", {
|
|
846
|
+
key: W.label,
|
|
846
847
|
class: "shortcut"
|
|
847
848
|
}, [
|
|
848
849
|
n("a", {
|
|
849
|
-
onClick: (
|
|
850
|
+
onClick: (A) => $(W.href, "_self"),
|
|
850
851
|
rel: "noopener noreferrer",
|
|
851
852
|
class: "shortcut-link"
|
|
852
853
|
}, [
|
|
853
|
-
n("span", null, u(
|
|
854
|
-
|
|
855
|
-
default:
|
|
856
|
-
(t(),
|
|
854
|
+
n("span", null, u(W.label), 1),
|
|
855
|
+
W.icon ? (t(), k(r(F), { key: 0 }, {
|
|
856
|
+
default: h(() => [
|
|
857
|
+
(t(), k(we(W.icon), { class: "icon" }))
|
|
857
858
|
]),
|
|
858
859
|
_: 2
|
|
859
|
-
}, 1024)) :
|
|
860
|
-
], 8,
|
|
860
|
+
}, 1024)) : _("", !0)
|
|
861
|
+
], 8, ka)
|
|
861
862
|
]))), 128))
|
|
862
|
-
])) :
|
|
863
|
+
])) : _("", !0)
|
|
863
864
|
])
|
|
864
865
|
];
|
|
865
866
|
}),
|
|
866
867
|
_: 1
|
|
867
868
|
})
|
|
868
869
|
])
|
|
869
|
-
], 2)) :
|
|
870
|
+
], 2)) : _("", !0)
|
|
870
871
|
]),
|
|
871
872
|
_: 1
|
|
872
873
|
})
|
|
873
|
-
], 40,
|
|
874
|
+
], 40, ia))), 128))
|
|
874
875
|
], 512)
|
|
875
876
|
], 2),
|
|
876
|
-
|
|
877
|
-
C(r(
|
|
878
|
-
default:
|
|
879
|
-
C(r(
|
|
877
|
+
f.value && !O.value ? (t(), s("div", Ea, [
|
|
878
|
+
C(r(F), { onClick: L }, {
|
|
879
|
+
default: h(() => [
|
|
880
|
+
C(r(sa))
|
|
880
881
|
]),
|
|
881
882
|
_: 1
|
|
882
883
|
})
|
|
883
|
-
])) :
|
|
884
|
+
])) : _("", !0)
|
|
884
885
|
], 2)
|
|
885
886
|
]));
|
|
886
887
|
}
|
|
887
|
-
}),
|
|
888
|
+
}), Ta = /* @__PURE__ */ he(Oa, [["__scopeId", "data-v-d3d0a9ef"]]), Sa = ["id", "onMouseenter", "onMouseleave"], Ma = ["href"], Ia = {
|
|
888
889
|
key: 1,
|
|
889
890
|
class: "info-wrap"
|
|
890
|
-
},
|
|
891
|
+
}, Da = { class: "dropdown-wrapper" }, xa = {
|
|
891
892
|
key: 0,
|
|
892
893
|
class: "tab-disabled"
|
|
893
|
-
},
|
|
894
|
+
}, Na = {
|
|
894
895
|
key: 1,
|
|
895
896
|
class: "tab-expand"
|
|
896
|
-
},
|
|
897
|
+
}, Ra = ["href", "target", "rel"], Pa = {
|
|
897
898
|
class: "dropdown-body-wrapper",
|
|
898
899
|
style: { display: "none !important" }
|
|
899
|
-
},
|
|
900
|
+
}, za = ["onMouseenter"], Ha = {
|
|
900
901
|
key: 0,
|
|
901
902
|
class: "dropdown-item"
|
|
902
|
-
},
|
|
903
|
+
}, Ua = { class: "tab-disabled" }, Fa = {
|
|
903
904
|
key: 1,
|
|
904
905
|
class: "dropdown-item"
|
|
905
|
-
},
|
|
906
|
+
}, Ba = ["href", "target", "rel"], Ve = "more", Va = /* @__PURE__ */ ne({
|
|
906
907
|
__name: "HeaderUbmcNav",
|
|
907
908
|
props: {
|
|
908
909
|
navData: void 0,
|
|
@@ -911,21 +912,21 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
911
912
|
currentPath: void 0
|
|
912
913
|
},
|
|
913
914
|
setup(o) {
|
|
914
|
-
const e = o, { locale: l } = N1(), { lePadV: c } = Se(), i = {},
|
|
915
|
-
|
|
916
|
-
},
|
|
917
|
-
var
|
|
918
|
-
|
|
919
|
-
}, O =
|
|
920
|
-
var
|
|
921
|
-
const
|
|
922
|
-
O.value = [...
|
|
923
|
-
var
|
|
924
|
-
const
|
|
925
|
-
return
|
|
915
|
+
const e = o, { locale: l } = N1(), { lePadV: c } = Se(), i = {}, d = U({}), m = U(-1), g = (A) => {
|
|
916
|
+
m.value = A;
|
|
917
|
+
}, f = (A) => {
|
|
918
|
+
var M;
|
|
919
|
+
m.value = -1, (M = d.value[A]) == null || M.clearCheckedNodes();
|
|
920
|
+
}, O = U(-1), p = () => {
|
|
921
|
+
var M;
|
|
922
|
+
const A = (M = i == null ? void 0 : i.fullPath) == null ? void 0 : M.split("/").slice(0, 3).join("/");
|
|
923
|
+
O.value = [...I.value, T.value].findIndex((Y) => {
|
|
924
|
+
var q, ve;
|
|
925
|
+
const G = A == null ? void 0 : A.indexOf("#");
|
|
926
|
+
return Q.value.length && !Q.value.includes(Y.id) && Y.id !== Ve ? !1 : W(Y.href) === A || ((q = Y.children) == null ? void 0 : q.some((E) => {
|
|
926
927
|
var $e;
|
|
927
|
-
return ($e = E.children) != null && $e.length ? E.children.some((be) =>
|
|
928
|
-
})) || ((ve =
|
|
928
|
+
return ($e = E.children) != null && $e.length ? E.children.some((be) => W(be.href) === A) : W(E.href) === A;
|
|
929
|
+
})) || ((ve = Y.keys) == null ? void 0 : ve.includes(A == null ? void 0 : A.slice(1, G !== -1 ? G : A == null ? void 0 : A.length)));
|
|
929
930
|
});
|
|
930
931
|
};
|
|
931
932
|
We(() => {
|
|
@@ -936,265 +937,265 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
936
937
|
p();
|
|
937
938
|
}
|
|
938
939
|
);
|
|
939
|
-
const
|
|
940
|
-
let
|
|
941
|
-
return
|
|
942
|
-
},
|
|
940
|
+
const w = (A, M) => {
|
|
941
|
+
let Y = !0;
|
|
942
|
+
return A && (Y = Y && new Date(A).getTime() >= Date.now()), M && (Y = Y && l.value === M), Y;
|
|
943
|
+
}, x = (A, M) => A.checkPermKey ? M[A.checkPermKey] : !0, T = de(() => ({
|
|
943
944
|
id: Ve,
|
|
944
945
|
label: "更多",
|
|
945
|
-
children:
|
|
946
|
-
})),
|
|
947
|
-
const
|
|
948
|
-
let
|
|
949
|
-
const
|
|
946
|
+
children: I.value.filter((A) => !Q.value.includes(A.id)) || []
|
|
947
|
+
})), I = de(() => {
|
|
948
|
+
const A = [];
|
|
949
|
+
let M = [];
|
|
950
|
+
const Y = {
|
|
950
951
|
meeting: e.hasPerm
|
|
951
952
|
};
|
|
952
953
|
try {
|
|
953
|
-
|
|
954
|
-
|
|
954
|
+
M = e.navData.filter((G) => x(G, Y)).map(function G(q) {
|
|
955
|
+
A.push(q.label);
|
|
955
956
|
const ve = {
|
|
956
|
-
...
|
|
957
|
-
_path: [...
|
|
957
|
+
...q,
|
|
958
|
+
_path: [...A]
|
|
958
959
|
};
|
|
959
|
-
return
|
|
960
|
+
return q.children && (ve.children = q.children.filter((E) => x(E, Y)).map(G)), A.pop(), ve;
|
|
960
961
|
});
|
|
961
962
|
} catch {
|
|
962
|
-
|
|
963
|
+
M = e.navData;
|
|
963
964
|
}
|
|
964
|
-
return
|
|
965
|
+
return M;
|
|
965
966
|
});
|
|
966
|
-
let D = 0,
|
|
967
|
-
const
|
|
968
|
-
const
|
|
969
|
-
if (D = 0,
|
|
970
|
-
const
|
|
971
|
-
return
|
|
972
|
-
|
|
967
|
+
let D = 0, $ = 0;
|
|
968
|
+
const N = (A) => {
|
|
969
|
+
const M = Date.now() - D, Y = $ + 1;
|
|
970
|
+
if (D = 0, $ = 0, A._path) {
|
|
971
|
+
const G = {};
|
|
972
|
+
return A._path.forEach((q, ve) => {
|
|
973
|
+
G[`level${ve + 1}`] = q;
|
|
973
974
|
}), {
|
|
974
975
|
properties: {
|
|
975
976
|
module: "navigation",
|
|
976
|
-
timeUsed:
|
|
977
|
-
steps:
|
|
978
|
-
...
|
|
977
|
+
timeUsed: M,
|
|
978
|
+
steps: Y,
|
|
979
|
+
...G
|
|
979
980
|
}
|
|
980
981
|
};
|
|
981
982
|
}
|
|
982
|
-
},
|
|
983
|
-
if (
|
|
983
|
+
}, X = (A) => {
|
|
984
|
+
if ($++, !D)
|
|
984
985
|
return D = Date.now(), {
|
|
985
986
|
event: "hover",
|
|
986
987
|
properties: {
|
|
987
988
|
module: "navigation",
|
|
988
|
-
target:
|
|
989
|
+
target: A.label
|
|
989
990
|
}
|
|
990
991
|
};
|
|
991
|
-
},
|
|
992
|
-
D = 0,
|
|
993
|
-
}, H = (
|
|
994
|
-
if (!
|
|
992
|
+
}, L = () => {
|
|
993
|
+
D = 0, $ = 0;
|
|
994
|
+
}, H = (A) => A ? A.startsWith("http") : !1, B = U(null), V = U(null), Q = U([]), Ce = U(null), J = U(0), Z = () => {
|
|
995
|
+
if (!B.value)
|
|
995
996
|
return;
|
|
996
|
-
if (
|
|
997
|
-
|
|
997
|
+
if (Q.value = [], J.value = B.value.clientWidth, c.value && (Q.value = I.value.map((q) => q.id)), B.value.clientWidth >= V.value.clientWidth) {
|
|
998
|
+
Q.value = I.value.map((q) => q.id);
|
|
998
999
|
return;
|
|
999
1000
|
}
|
|
1000
|
-
|
|
1001
|
-
const
|
|
1002
|
-
let
|
|
1003
|
-
const
|
|
1004
|
-
let
|
|
1005
|
-
[...
|
|
1006
|
-
|
|
1001
|
+
J.value = 0;
|
|
1002
|
+
const A = V.value.querySelector(`li.nav-item#${Ve}`);
|
|
1003
|
+
let M = B.value.clientWidth - A.clientWidth;
|
|
1004
|
+
const Y = V.value.querySelectorAll("li.nav-item");
|
|
1005
|
+
let G = !1;
|
|
1006
|
+
[...Y].forEach((q, ve) => {
|
|
1007
|
+
q.id !== Ve && M > q.clientWidth && !G ? (M -= q.clientWidth, Q.value.push(I.value[ve].id), J.value += q.clientWidth) : G = !0;
|
|
1007
1008
|
});
|
|
1008
1009
|
};
|
|
1009
1010
|
We(() => {
|
|
1010
|
-
window.addEventListener("resize",
|
|
1011
|
-
|
|
1012
|
-
|
|
1011
|
+
window.addEventListener("resize", Z), Xe(() => {
|
|
1012
|
+
Z(), Ce.value = setTimeout(() => {
|
|
1013
|
+
Z();
|
|
1013
1014
|
}, 1e3);
|
|
1014
1015
|
});
|
|
1015
1016
|
}), T1(() => {
|
|
1016
|
-
window.removeEventListener("resize",
|
|
1017
|
+
window.removeEventListener("resize", Z), clearTimeout(Ce.value);
|
|
1017
1018
|
}), Ee(
|
|
1018
|
-
() =>
|
|
1019
|
+
() => I.value,
|
|
1019
1020
|
() => {
|
|
1020
1021
|
Xe(() => {
|
|
1021
|
-
|
|
1022
|
+
Z();
|
|
1022
1023
|
});
|
|
1023
1024
|
},
|
|
1024
1025
|
{ deep: !0 }
|
|
1025
1026
|
);
|
|
1026
|
-
const
|
|
1027
|
-
return (
|
|
1028
|
-
const
|
|
1027
|
+
const W = (A) => (A === "/" && (A = ""), H(A) ? A : `/${l.value}${A}`);
|
|
1028
|
+
return (A, M) => {
|
|
1029
|
+
const Y = Y1("analytics");
|
|
1029
1030
|
return t(), s("nav", {
|
|
1030
1031
|
class: "header-nav-ubmc",
|
|
1031
1032
|
ref_key: "wrapperRef",
|
|
1032
|
-
ref:
|
|
1033
|
+
ref: B
|
|
1033
1034
|
}, [
|
|
1034
1035
|
n("ul", {
|
|
1035
1036
|
class: "nav-list",
|
|
1036
|
-
onMouseleave:
|
|
1037
|
+
onMouseleave: L,
|
|
1037
1038
|
ref_key: "listRef",
|
|
1038
|
-
ref:
|
|
1039
|
-
style:
|
|
1040
|
-
"--more-left":
|
|
1039
|
+
ref: V,
|
|
1040
|
+
style: ce({
|
|
1041
|
+
"--more-left": J.value
|
|
1041
1042
|
})
|
|
1042
1043
|
}, [
|
|
1043
|
-
(t(!0), s(S, null,
|
|
1044
|
+
(t(!0), s(S, null, z([...I.value, T.value], (G, q) => {
|
|
1044
1045
|
var ve;
|
|
1045
1046
|
return Je((t(), s("li", {
|
|
1046
|
-
key:
|
|
1047
|
-
id:
|
|
1047
|
+
key: G.id,
|
|
1048
|
+
id: G.id,
|
|
1048
1049
|
class: K(["nav-item", {
|
|
1049
|
-
"is-selected": O.value ===
|
|
1050
|
-
"is-active":
|
|
1051
|
-
hidden: !
|
|
1050
|
+
"is-selected": O.value === q,
|
|
1051
|
+
"is-active": m.value === q,
|
|
1052
|
+
hidden: !Q.value.includes(G.id) && G.id !== Ve || G.id === Ve && G.children.length === 0
|
|
1052
1053
|
}]),
|
|
1053
|
-
onMouseenter: (E) => g(
|
|
1054
|
-
onMouseleave: (E) =>
|
|
1054
|
+
onMouseenter: (E) => g(q),
|
|
1055
|
+
onMouseleave: (E) => f(q)
|
|
1055
1056
|
}, [
|
|
1056
|
-
!((ve =
|
|
1057
|
+
!((ve = G.children) != null && ve.length) && G.href ? (t(), s("a", {
|
|
1057
1058
|
key: 0,
|
|
1058
1059
|
class: "info-wrap clickable",
|
|
1059
|
-
href:
|
|
1060
|
+
href: W(G.href)
|
|
1060
1061
|
}, [
|
|
1061
1062
|
n("span", null, [
|
|
1062
|
-
n("span", null, u(
|
|
1063
|
+
n("span", null, u(G.label), 1)
|
|
1063
1064
|
])
|
|
1064
|
-
], 8, Ma)) : (t(), s("div",
|
|
1065
|
+
], 8, Ma)) : (t(), s("div", Ia, [
|
|
1065
1066
|
n("span", null, [
|
|
1066
|
-
n("span", null, u(
|
|
1067
|
+
n("span", null, u(G.label), 1)
|
|
1067
1068
|
]),
|
|
1068
|
-
n("div",
|
|
1069
|
+
n("div", Da, [
|
|
1069
1070
|
C(r($o), {
|
|
1070
|
-
options:
|
|
1071
|
+
options: G.children,
|
|
1071
1072
|
value: "id",
|
|
1072
1073
|
expandTrigger: "hover",
|
|
1073
1074
|
ref_for: !0,
|
|
1074
|
-
ref: (E) =>
|
|
1075
|
+
ref: (E) => d.value[q] = E
|
|
1075
1076
|
}, {
|
|
1076
|
-
default:
|
|
1077
|
+
default: h(({ data: E }) => {
|
|
1077
1078
|
var $e;
|
|
1078
1079
|
return [
|
|
1079
|
-
E.disabled ? (t(), s("div",
|
|
1080
|
+
E.disabled ? (t(), s("div", xa, [
|
|
1080
1081
|
n("span", null, u(E.label), 1),
|
|
1081
|
-
|
|
1082
|
-
])) : E != null && E.children ? (t(), s("div",
|
|
1082
|
+
M[0] || (M[0] = n("span", { class: "disabled-tag" }, "待上线", -1))
|
|
1083
|
+
])) : E != null && E.children ? (t(), s("div", Na, [
|
|
1083
1084
|
n("span", null, u(E.label), 1),
|
|
1084
|
-
C(r(
|
|
1085
|
-
default:
|
|
1085
|
+
C(r(F), null, {
|
|
1086
|
+
default: h(() => [
|
|
1086
1087
|
C(r(Pt))
|
|
1087
1088
|
]),
|
|
1088
1089
|
_: 1
|
|
1089
1090
|
})
|
|
1090
1091
|
])) : (t(), s("a", {
|
|
1091
1092
|
key: 2,
|
|
1092
|
-
href:
|
|
1093
|
+
href: W(E.href),
|
|
1093
1094
|
class: "dropdown-link",
|
|
1094
1095
|
target: H(E.href) ? "_blank" : "_self",
|
|
1095
1096
|
rel: H(E.href) ? "noopener noreferrer" : ""
|
|
1096
1097
|
}, [
|
|
1097
1098
|
n("span", null, u(E.label), 1),
|
|
1098
|
-
(o.tagMap[($e = E == null ? void 0 : E.href) == null ? void 0 : $e.slice(1)] || E.tag) &&
|
|
1099
|
+
(o.tagMap[($e = E == null ? void 0 : E.href) == null ? void 0 : $e.slice(1)] || E.tag) && w(E.tagExpire, E.tagLang) ? (t(), k(r(Ge), {
|
|
1099
1100
|
key: 0,
|
|
1100
1101
|
color: "danger",
|
|
1101
1102
|
size: "small",
|
|
1102
1103
|
round: "pill"
|
|
1103
1104
|
}, {
|
|
1104
|
-
default:
|
|
1105
|
+
default: h(() => {
|
|
1105
1106
|
var be;
|
|
1106
1107
|
return [
|
|
1107
|
-
|
|
1108
|
+
te(u(o.tagMap[(be = E == null ? void 0 : E.href) == null ? void 0 : be.slice(1)] || E.tag), 1)
|
|
1108
1109
|
];
|
|
1109
1110
|
}),
|
|
1110
1111
|
_: 2
|
|
1111
|
-
}, 1024)) :
|
|
1112
|
-
E.icon ? (t(),
|
|
1112
|
+
}, 1024)) : _("", !0),
|
|
1113
|
+
E.icon ? (t(), k(r(F), {
|
|
1113
1114
|
key: 1,
|
|
1114
1115
|
class: "jump-out-icon"
|
|
1115
1116
|
}, {
|
|
1116
|
-
default:
|
|
1117
|
-
(t(),
|
|
1117
|
+
default: h(() => [
|
|
1118
|
+
(t(), k(we(E.icon), { class: "icon" }))
|
|
1118
1119
|
]),
|
|
1119
1120
|
_: 2
|
|
1120
|
-
}, 1024)) :
|
|
1121
|
-
], 8,
|
|
1121
|
+
}, 1024)) : _("", !0)
|
|
1122
|
+
], 8, Ra))
|
|
1122
1123
|
];
|
|
1123
1124
|
}),
|
|
1124
1125
|
_: 1
|
|
1125
1126
|
}, 8, ["options"]),
|
|
1126
|
-
n("div",
|
|
1127
|
-
(t(!0), s(S, null,
|
|
1127
|
+
n("div", Pa, [
|
|
1128
|
+
(t(!0), s(S, null, z(G.children, (E, $e) => {
|
|
1128
1129
|
var be;
|
|
1129
1130
|
return t(), s("div", {
|
|
1130
1131
|
class: "dropdown-body",
|
|
1131
1132
|
key: $e,
|
|
1132
|
-
onMouseenter: (je) => g(
|
|
1133
|
-
onMouseleave:
|
|
1133
|
+
onMouseenter: (je) => g(q),
|
|
1134
|
+
onMouseleave: f
|
|
1134
1135
|
}, [
|
|
1135
|
-
E.disabled ? (t(), s("div",
|
|
1136
|
-
n("div",
|
|
1136
|
+
E.disabled ? (t(), s("div", Ha, [
|
|
1137
|
+
n("div", Ua, [
|
|
1137
1138
|
n("span", null, u(E.label), 1),
|
|
1138
|
-
|
|
1139
|
+
M[1] || (M[1] = n("span", { class: "disabled-tag" }, "待上线", -1))
|
|
1139
1140
|
])
|
|
1140
|
-
])) : Je((t(), s("div",
|
|
1141
|
+
])) : Je((t(), s("div", Fa, [
|
|
1141
1142
|
n("a", {
|
|
1142
|
-
href:
|
|
1143
|
+
href: W(E.href),
|
|
1143
1144
|
class: "dropdown-link",
|
|
1144
1145
|
target: H(E.href) ? "_blank" : "_self",
|
|
1145
1146
|
rel: H(E.href) ? "noopener noreferrer" : ""
|
|
1146
1147
|
}, [
|
|
1147
1148
|
n("span", null, u(E.label), 1),
|
|
1148
|
-
(o.tagMap[(be = E == null ? void 0 : E.href) == null ? void 0 : be.slice(1)] || E.tag) &&
|
|
1149
|
+
(o.tagMap[(be = E == null ? void 0 : E.href) == null ? void 0 : be.slice(1)] || E.tag) && w(E.tagExpire, E.tagLang) ? (t(), k(r(Ge), {
|
|
1149
1150
|
key: 0,
|
|
1150
1151
|
color: "danger",
|
|
1151
1152
|
size: "small",
|
|
1152
1153
|
round: "pill"
|
|
1153
1154
|
}, {
|
|
1154
|
-
default:
|
|
1155
|
+
default: h(() => {
|
|
1155
1156
|
var je;
|
|
1156
1157
|
return [
|
|
1157
|
-
|
|
1158
|
+
te(u(o.tagMap[(je = E == null ? void 0 : E.href) == null ? void 0 : je.slice(1)] || E.tag), 1)
|
|
1158
1159
|
];
|
|
1159
1160
|
}),
|
|
1160
1161
|
_: 2
|
|
1161
|
-
}, 1024)) :
|
|
1162
|
-
E.icon ? (t(),
|
|
1162
|
+
}, 1024)) : _("", !0),
|
|
1163
|
+
E.icon ? (t(), k(r(F), {
|
|
1163
1164
|
key: 1,
|
|
1164
1165
|
class: "jump-out-icon"
|
|
1165
1166
|
}, {
|
|
1166
|
-
default:
|
|
1167
|
-
(t(),
|
|
1167
|
+
default: h(() => [
|
|
1168
|
+
(t(), k(we(E.icon), { class: "icon" }))
|
|
1168
1169
|
]),
|
|
1169
1170
|
_: 2
|
|
1170
|
-
}, 1024)) :
|
|
1171
|
-
], 8,
|
|
1171
|
+
}, 1024)) : _("", !0)
|
|
1172
|
+
], 8, Ba)
|
|
1172
1173
|
])), [
|
|
1173
|
-
[
|
|
1174
|
+
[Y, () => N(E)]
|
|
1174
1175
|
])
|
|
1175
|
-
], 40,
|
|
1176
|
+
], 40, za);
|
|
1176
1177
|
}), 128))
|
|
1177
1178
|
])
|
|
1178
1179
|
])
|
|
1179
1180
|
]))
|
|
1180
|
-
], 42,
|
|
1181
|
-
[
|
|
1181
|
+
], 42, Sa)), [
|
|
1182
|
+
[Y, () => X(G), "mouseenter"]
|
|
1182
1183
|
]);
|
|
1183
1184
|
}), 128))
|
|
1184
1185
|
], 36)
|
|
1185
1186
|
], 512);
|
|
1186
1187
|
};
|
|
1187
1188
|
}
|
|
1188
|
-
}),
|
|
1189
|
+
}), Wa = /* @__PURE__ */ he(Va, [["__scopeId", "data-v-d7d33a36"]]), Ga = { class: "header" }, ja = ["src"], Ka = {
|
|
1189
1190
|
key: 0,
|
|
1190
1191
|
class: "header-nav"
|
|
1191
|
-
},
|
|
1192
|
+
}, qa = {
|
|
1192
1193
|
key: 1,
|
|
1193
1194
|
class: "header-content"
|
|
1194
|
-
},
|
|
1195
|
+
}, Za = {
|
|
1195
1196
|
key: 2,
|
|
1196
1197
|
class: "header-toolbar"
|
|
1197
|
-
},
|
|
1198
|
+
}, Ya = /* @__PURE__ */ ne({
|
|
1198
1199
|
__name: "OHeader",
|
|
1199
1200
|
props: {
|
|
1200
1201
|
logo: void 0,
|
|
@@ -1210,57 +1211,57 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
1210
1211
|
const l = e, c = o, i = () => {
|
|
1211
1212
|
l("go-home");
|
|
1212
1213
|
};
|
|
1213
|
-
return (
|
|
1214
|
+
return (d, m) => (t(), s("div", Ga, [
|
|
1214
1215
|
C(Re, { class: "header-wrap" }, {
|
|
1215
|
-
default:
|
|
1216
|
+
default: h(() => [
|
|
1216
1217
|
n("div", {
|
|
1217
1218
|
class: "header-logo",
|
|
1218
1219
|
onClick: i
|
|
1219
1220
|
}, [
|
|
1220
|
-
|
|
1221
|
+
P(d.$slots, "logo", {}, () => [
|
|
1221
1222
|
c.logo ? (t(), s("img", {
|
|
1222
1223
|
key: 0,
|
|
1223
1224
|
class: "logo",
|
|
1224
1225
|
alt: "logo",
|
|
1225
1226
|
src: c.logo
|
|
1226
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, ja)) : _("", !0)
|
|
1227
1228
|
], !0)
|
|
1228
1229
|
]),
|
|
1229
|
-
c.community === "openEuler" ? (t(), s("div",
|
|
1230
|
-
|
|
1231
|
-
c.navData ? (t(),
|
|
1230
|
+
c.community === "openEuler" ? (t(), s("div", Ka, [
|
|
1231
|
+
P(d.$slots, "nav", {}, () => [
|
|
1232
|
+
c.navData ? (t(), k(Ta, {
|
|
1232
1233
|
key: 0,
|
|
1233
1234
|
"nav-data": c.navData,
|
|
1234
1235
|
"bg-left": c.bgLeft,
|
|
1235
1236
|
"bg-right": c.bgRight
|
|
1236
|
-
}, null, 8, ["nav-data", "bg-left", "bg-right"])) :
|
|
1237
|
+
}, null, 8, ["nav-data", "bg-left", "bg-right"])) : _("", !0)
|
|
1237
1238
|
], !0)
|
|
1238
|
-
])) :
|
|
1239
|
-
c.community === "openUBMC" ? (t(), s("div",
|
|
1240
|
-
|
|
1241
|
-
c.navData ? (t(),
|
|
1239
|
+
])) : _("", !0),
|
|
1240
|
+
c.community === "openUBMC" ? (t(), s("div", qa, [
|
|
1241
|
+
P(d.$slots, "nav", {}, () => [
|
|
1242
|
+
c.navData ? (t(), k(Wa, {
|
|
1242
1243
|
key: 0,
|
|
1243
1244
|
"nav-data": c.navData,
|
|
1244
1245
|
"has-perm": !0,
|
|
1245
1246
|
"tag-map": o.tagMap
|
|
1246
|
-
}, null, 8, ["nav-data", "tag-map"])) :
|
|
1247
|
+
}, null, 8, ["nav-data", "tag-map"])) : _("", !0)
|
|
1247
1248
|
], !0)
|
|
1248
|
-
])) :
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
])) :
|
|
1249
|
+
])) : _("", !0),
|
|
1250
|
+
d.$slots.toolbar ? (t(), s("div", Za, [
|
|
1251
|
+
P(d.$slots, "toolbar", {}, void 0, !0)
|
|
1252
|
+
])) : _("", !0)
|
|
1252
1253
|
]),
|
|
1253
1254
|
_: 3
|
|
1254
1255
|
})
|
|
1255
1256
|
]));
|
|
1256
1257
|
}
|
|
1257
|
-
}),
|
|
1258
|
+
}), Xa = /* @__PURE__ */ he(Ya, [["__scopeId", "data-v-af43105c"]]), Ja = { class: "header-content-mb" }, Qa = { class: "o-nav" }, es = { class: "o-nav-list" }, ts = ["onClick"], os = { class: "nav-aside" }, ns = {
|
|
1258
1259
|
key: 0,
|
|
1259
1260
|
class: "nav-aside-wrapper"
|
|
1260
|
-
},
|
|
1261
|
+
}, as = ["value", "title"], ss = { class: "content-label" }, rs = { class: "container-mobile" }, ls = ["onClick"], is = { class: "item-label" }, cs = { class: "desc-container" }, us = { class: "item-desc" }, ds = ["onClick"], fs = { class: "item-label" }, hs = {
|
|
1261
1262
|
key: 1,
|
|
1262
1263
|
class: "nav-aside-wrapper"
|
|
1263
|
-
},
|
|
1264
|
+
}, vs = ["onClick"], ps = { class: "header-tool" }, ms = { key: 1 }, _s = /* @__PURE__ */ ne({
|
|
1264
1265
|
__name: "HeaderNavMoblie",
|
|
1265
1266
|
props: {
|
|
1266
1267
|
menuShow: {
|
|
@@ -1274,181 +1275,181 @@ const ra = { name: "components-icon-caret-right", render: sa }, la = { class: "h
|
|
|
1274
1275
|
},
|
|
1275
1276
|
emits: ["link-click"],
|
|
1276
1277
|
setup(o, { emit: e }) {
|
|
1277
|
-
const l = o, c =
|
|
1278
|
-
|
|
1279
|
-
},
|
|
1280
|
-
window.open(
|
|
1278
|
+
const l = o, c = U(""), i = U({}), d = (f) => {
|
|
1279
|
+
f ? (c.value = f.id, i.value = f) : (c.value = "source_code", i.value = l.codeData);
|
|
1280
|
+
}, m = e, g = (f, O) => {
|
|
1281
|
+
window.open(f, O), m("link-click");
|
|
1281
1282
|
};
|
|
1282
1283
|
return We(() => {
|
|
1283
1284
|
c.value = l.navData[0].id, i.value = l.navData[0];
|
|
1284
1285
|
}), Ee(
|
|
1285
1286
|
() => l.navData || l.codeData,
|
|
1286
1287
|
() => {
|
|
1287
|
-
i.value = c.value === "source_code" ? l.codeData : l.navData.find((
|
|
1288
|
+
i.value = c.value === "source_code" ? l.codeData : l.navData.find((f) => f.id === c.value);
|
|
1288
1289
|
},
|
|
1289
1290
|
{
|
|
1290
1291
|
deep: !0
|
|
1291
1292
|
}
|
|
1292
|
-
), (
|
|
1293
|
+
), (f, O) => (t(), s("div", Ja, [
|
|
1293
1294
|
n("div", {
|
|
1294
1295
|
class: K(["header-nav", { active: o.menuShow }])
|
|
1295
1296
|
}, [
|
|
1296
|
-
n("div",
|
|
1297
|
-
n("ul",
|
|
1298
|
-
(t(!0), s(S, null,
|
|
1297
|
+
n("div", Qa, [
|
|
1298
|
+
n("ul", es, [
|
|
1299
|
+
(t(!0), s(S, null, z(o.navData, (p) => (t(), s("li", {
|
|
1299
1300
|
key: p.id,
|
|
1300
1301
|
class: K({
|
|
1301
1302
|
active: c.value === p.id
|
|
1302
1303
|
})
|
|
1303
1304
|
}, [
|
|
1304
1305
|
n("span", {
|
|
1305
|
-
onClick: (
|
|
1306
|
-
}, u(p.label), 9,
|
|
1306
|
+
onClick: (w) => d(p)
|
|
1307
|
+
}, u(p.label), 9, ts)
|
|
1307
1308
|
], 2))), 128))
|
|
1308
1309
|
]),
|
|
1309
|
-
n("div",
|
|
1310
|
-
c.value !== "source_code" ? (t(), s("ul",
|
|
1311
|
-
(t(!0), s(S, null,
|
|
1310
|
+
n("div", os, [
|
|
1311
|
+
c.value !== "source_code" ? (t(), s("ul", ns, [
|
|
1312
|
+
(t(!0), s(S, null, z(i.value.children, (p) => (t(), s("li", {
|
|
1312
1313
|
value: p.label,
|
|
1313
1314
|
title: p.label,
|
|
1314
1315
|
key: p.label,
|
|
1315
1316
|
class: "nav-aside-content"
|
|
1316
1317
|
}, [
|
|
1317
1318
|
p != null && p.children ? (t(), s(S, { key: 0 }, [
|
|
1318
|
-
n("p",
|
|
1319
|
-
n("div",
|
|
1320
|
-
(t(!0), s(S, null,
|
|
1321
|
-
key:
|
|
1319
|
+
n("p", ss, u(p.label), 1),
|
|
1320
|
+
n("div", rs, [
|
|
1321
|
+
(t(!0), s(S, null, z(p == null ? void 0 : p.children, (w) => (t(), s("div", {
|
|
1322
|
+
key: w.label,
|
|
1322
1323
|
class: "content-container-mobile"
|
|
1323
1324
|
}, [
|
|
1324
1325
|
n("a", {
|
|
1325
|
-
onClick: (
|
|
1326
|
+
onClick: (x) => g(w.href, "_blank"),
|
|
1326
1327
|
rel: "noopener noreferrer",
|
|
1327
1328
|
class: "content-subtitle"
|
|
1328
1329
|
}, [
|
|
1329
|
-
n("span",
|
|
1330
|
-
|
|
1331
|
-
default:
|
|
1332
|
-
(t(),
|
|
1330
|
+
n("span", is, u(w.label), 1),
|
|
1331
|
+
w.icon ? (t(), k(r(F), { key: 0 }, {
|
|
1332
|
+
default: h(() => [
|
|
1333
|
+
(t(), k(we(w.icon), { class: "icon" }))
|
|
1333
1334
|
]),
|
|
1334
1335
|
_: 2
|
|
1335
|
-
}, 1024)) :
|
|
1336
|
-
|
|
1336
|
+
}, 1024)) : _("", !0),
|
|
1337
|
+
w.tag ? (t(), k(r(Ge), {
|
|
1337
1338
|
key: 1,
|
|
1338
1339
|
round: "pill",
|
|
1339
1340
|
color: "danger",
|
|
1340
1341
|
size: "small",
|
|
1341
1342
|
class: "content-tag"
|
|
1342
1343
|
}, {
|
|
1343
|
-
default:
|
|
1344
|
-
|
|
1344
|
+
default: h(() => [
|
|
1345
|
+
te(u(w.tag), 1)
|
|
1345
1346
|
]),
|
|
1346
1347
|
_: 2
|
|
1347
|
-
}, 1024)) :
|
|
1348
|
-
], 8,
|
|
1349
|
-
n("div",
|
|
1350
|
-
n("p",
|
|
1348
|
+
}, 1024)) : _("", !0)
|
|
1349
|
+
], 8, ls),
|
|
1350
|
+
n("div", cs, [
|
|
1351
|
+
n("p", us, u(w.description), 1)
|
|
1351
1352
|
])
|
|
1352
1353
|
]))), 128))
|
|
1353
1354
|
])
|
|
1354
1355
|
], 64)) : (t(), s("a", {
|
|
1355
1356
|
key: 1,
|
|
1356
|
-
onClick: (
|
|
1357
|
+
onClick: (w) => g(p.href, "_blank"),
|
|
1357
1358
|
rel: "noopener noreferrer",
|
|
1358
1359
|
class: "content-subtitle item-not-children"
|
|
1359
1360
|
}, [
|
|
1360
1361
|
n("span", fs, u(p.label), 1),
|
|
1361
|
-
p.icon ? (t(),
|
|
1362
|
-
default:
|
|
1363
|
-
(t(),
|
|
1362
|
+
p.icon ? (t(), k(r(F), { key: 0 }, {
|
|
1363
|
+
default: h(() => [
|
|
1364
|
+
(t(), k(we(p.icon), { class: "icon" }))
|
|
1364
1365
|
]),
|
|
1365
1366
|
_: 2
|
|
1366
|
-
}, 1024)) :
|
|
1367
|
-
p.tag ? (t(),
|
|
1367
|
+
}, 1024)) : _("", !0),
|
|
1368
|
+
p.tag ? (t(), k(r(Ge), {
|
|
1368
1369
|
key: 1,
|
|
1369
1370
|
round: "pill",
|
|
1370
1371
|
color: "danger",
|
|
1371
1372
|
size: "small"
|
|
1372
1373
|
}, {
|
|
1373
|
-
default:
|
|
1374
|
-
|
|
1374
|
+
default: h(() => [
|
|
1375
|
+
te(u(p.tag), 1)
|
|
1375
1376
|
]),
|
|
1376
1377
|
_: 2
|
|
1377
|
-
}, 1024)) :
|
|
1378
|
-
], 8,
|
|
1379
|
-
], 8,
|
|
1380
|
-
])) : (t(), s("div",
|
|
1381
|
-
(t(!0), s(S, null,
|
|
1378
|
+
}, 1024)) : _("", !0)
|
|
1379
|
+
], 8, ds))
|
|
1380
|
+
], 8, as))), 128))
|
|
1381
|
+
])) : (t(), s("div", hs, [
|
|
1382
|
+
(t(!0), s(S, null, z(i.value, (p) => (t(), s("a", {
|
|
1382
1383
|
key: p.label,
|
|
1383
|
-
onClick: (
|
|
1384
|
+
onClick: (w) => g(p.href, "_blank"),
|
|
1384
1385
|
class: "source-code-item"
|
|
1385
1386
|
}, [
|
|
1386
1387
|
n("span", null, u(p.label), 1),
|
|
1387
|
-
p.icon ? (t(),
|
|
1388
|
-
default:
|
|
1389
|
-
(t(),
|
|
1388
|
+
p.icon ? (t(), k(r(F), { key: 0 }, {
|
|
1389
|
+
default: h(() => [
|
|
1390
|
+
(t(), k(we(p.icon), { class: "icon" }))
|
|
1390
1391
|
]),
|
|
1391
1392
|
_: 2
|
|
1392
|
-
}, 1024)) :
|
|
1393
|
-
], 8,
|
|
1393
|
+
}, 1024)) : _("", !0)
|
|
1394
|
+
], 8, vs))), 128))
|
|
1394
1395
|
]))
|
|
1395
1396
|
])
|
|
1396
1397
|
]),
|
|
1397
|
-
n("div",
|
|
1398
|
+
n("div", ps, [
|
|
1398
1399
|
o.codeData ? (t(), s("div", {
|
|
1399
1400
|
key: 0,
|
|
1400
1401
|
class: K(["header-tool-code", {
|
|
1401
1402
|
active: c.value === "source_code"
|
|
1402
1403
|
}]),
|
|
1403
|
-
onClick: O[0] || (O[0] = (p) =>
|
|
1404
|
-
}, " 源码 ", 2)) :
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
])) :
|
|
1404
|
+
onClick: O[0] || (O[0] = (p) => d(null))
|
|
1405
|
+
}, " 源码 ", 2)) : _("", !0),
|
|
1406
|
+
f.$slots.tool ? (t(), s("div", ms, [
|
|
1407
|
+
P(f.$slots, "tool", {}, void 0, !0)
|
|
1408
|
+
])) : _("", !0)
|
|
1408
1409
|
])
|
|
1409
1410
|
], 2)
|
|
1410
1411
|
]));
|
|
1411
1412
|
}
|
|
1412
|
-
}),
|
|
1413
|
+
}), gs = /* @__PURE__ */ he(_s, [["__scopeId", "data-v-bd38af58"]]), Cs = {
|
|
1413
1414
|
version: "1.1",
|
|
1414
1415
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1415
1416
|
width: "24",
|
|
1416
1417
|
height: "24",
|
|
1417
1418
|
viewBox: "0 0 24 24"
|
|
1418
1419
|
};
|
|
1419
|
-
function
|
|
1420
|
-
return t(), s("svg",
|
|
1420
|
+
function ys(o, e) {
|
|
1421
|
+
return t(), s("svg", Cs, [...e[0] || (e[0] = [
|
|
1421
1422
|
n("path", {
|
|
1422
1423
|
fill: "currentColor",
|
|
1423
1424
|
d: "M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"
|
|
1424
1425
|
}, null, -1)
|
|
1425
1426
|
])]);
|
|
1426
1427
|
}
|
|
1427
|
-
const R1 = { name: "components-icon-close", render:
|
|
1428
|
+
const R1 = { name: "components-icon-close", render: ys }, ks = {
|
|
1428
1429
|
version: "1.1",
|
|
1429
1430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1430
1431
|
width: "24",
|
|
1431
1432
|
height: "24",
|
|
1432
1433
|
viewBox: "0 0 24 24"
|
|
1433
1434
|
};
|
|
1434
|
-
function
|
|
1435
|
-
return t(), s("svg",
|
|
1435
|
+
function ws(o, e) {
|
|
1436
|
+
return t(), s("svg", ks, [...e[0] || (e[0] = [
|
|
1436
1437
|
n("path", {
|
|
1437
1438
|
fill: "currentColor",
|
|
1438
1439
|
d: "M3.8 5h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 11h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 17h16.4c0.442 0 0.8 0.358 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.359-0.8-0.8s0.358-0.8 0.8-0.8z"
|
|
1439
1440
|
}, null, -1)
|
|
1440
1441
|
])]);
|
|
1441
1442
|
}
|
|
1442
|
-
const
|
|
1443
|
+
const bs = { name: "components-icon-header-menu", render: ws }, $s = { class: "header" }, Ls = {
|
|
1443
1444
|
key: 0,
|
|
1444
1445
|
class: "header-simple"
|
|
1445
|
-
},
|
|
1446
|
+
}, As = { class: "simple-header-left" }, Es = {
|
|
1446
1447
|
key: 0,
|
|
1447
1448
|
class: "header-title"
|
|
1448
|
-
},
|
|
1449
|
+
}, Os = {
|
|
1449
1450
|
key: 0,
|
|
1450
1451
|
class: "simple-header-right"
|
|
1451
|
-
},
|
|
1452
|
+
}, Ts = { class: "header-left" }, Ss = { class: "header-center" }, Ms = ["src"], Is = { class: "header-right" }, Ds = /* @__PURE__ */ ne({
|
|
1452
1453
|
__name: "OHeaderMoblie",
|
|
1453
1454
|
props: {
|
|
1454
1455
|
logo: void 0,
|
|
@@ -1461,69 +1462,69 @@ const $s = { name: "components-icon-header-menu", render: bs }, Ls = { class: "h
|
|
|
1461
1462
|
setup(o, { emit: e }) {
|
|
1462
1463
|
const l = e, c = o, i = () => {
|
|
1463
1464
|
l("go-back");
|
|
1464
|
-
},
|
|
1465
|
+
}, d = () => {
|
|
1465
1466
|
l("go-home");
|
|
1466
|
-
},
|
|
1467
|
+
}, m = U(!1), g = () => {
|
|
1467
1468
|
setTimeout(() => {
|
|
1468
|
-
|
|
1469
|
+
m.value = !m.value, document.body.style.overflow = m.value ? "hidden" : "";
|
|
1469
1470
|
}, 200);
|
|
1470
|
-
},
|
|
1471
|
+
}, f = () => {
|
|
1471
1472
|
g();
|
|
1472
1473
|
};
|
|
1473
|
-
return (O, p) => (t(), s("div",
|
|
1474
|
+
return (O, p) => (t(), s("div", $s, [
|
|
1474
1475
|
C(Re, { class: "header-wrap" }, {
|
|
1475
|
-
default:
|
|
1476
|
-
o.isSimpleHeader ? (t(), s("div",
|
|
1477
|
-
n("div",
|
|
1478
|
-
C(r(
|
|
1479
|
-
default:
|
|
1476
|
+
default: h(() => [
|
|
1477
|
+
o.isSimpleHeader ? (t(), s("div", Ls, [
|
|
1478
|
+
n("div", As, [
|
|
1479
|
+
C(r(F), { onClick: i }, {
|
|
1480
|
+
default: h(() => [
|
|
1480
1481
|
C(r(lo))
|
|
1481
1482
|
]),
|
|
1482
1483
|
_: 1
|
|
1483
1484
|
}),
|
|
1484
|
-
o.headerTitle ? (t(), s("div",
|
|
1485
|
+
o.headerTitle ? (t(), s("div", Es, u(o.headerTitle), 1)) : _("", !0)
|
|
1485
1486
|
]),
|
|
1486
|
-
O.$slots.rightConfig ? (t(), s("div",
|
|
1487
|
-
|
|
1488
|
-
])) :
|
|
1487
|
+
O.$slots.rightConfig ? (t(), s("div", Os, [
|
|
1488
|
+
P(O.$slots, "rightConfig", {}, void 0, !0)
|
|
1489
|
+
])) : _("", !0)
|
|
1489
1490
|
])) : (t(), s(S, { key: 1 }, [
|
|
1490
|
-
n("div",
|
|
1491
|
-
C(r(
|
|
1492
|
-
default:
|
|
1493
|
-
|
|
1491
|
+
n("div", Ts, [
|
|
1492
|
+
C(r(F), { onClick: g }, {
|
|
1493
|
+
default: h(() => [
|
|
1494
|
+
m.value ? (t(), k(r(R1), { key: 1 })) : (t(), k(r(bs), { key: 0 }))
|
|
1494
1495
|
]),
|
|
1495
1496
|
_: 1
|
|
1496
1497
|
})
|
|
1497
1498
|
]),
|
|
1498
|
-
C(
|
|
1499
|
+
C(gs, {
|
|
1499
1500
|
ref: "mobileNav",
|
|
1500
1501
|
"nav-data": o.navData,
|
|
1501
1502
|
"code-data": o.codeData,
|
|
1502
|
-
"menu-show":
|
|
1503
|
-
onLinkClick:
|
|
1503
|
+
"menu-show": m.value,
|
|
1504
|
+
onLinkClick: f
|
|
1504
1505
|
}, {
|
|
1505
|
-
tool:
|
|
1506
|
-
|
|
1506
|
+
tool: h(() => [
|
|
1507
|
+
P(O.$slots, "tool", {}, void 0, !0)
|
|
1507
1508
|
]),
|
|
1508
1509
|
_: 3
|
|
1509
1510
|
}, 8, ["nav-data", "code-data", "menu-show"]),
|
|
1510
|
-
n("div",
|
|
1511
|
+
n("div", Ss, [
|
|
1511
1512
|
n("div", {
|
|
1512
1513
|
class: "header-logo",
|
|
1513
|
-
onClick:
|
|
1514
|
+
onClick: d
|
|
1514
1515
|
}, [
|
|
1515
|
-
|
|
1516
|
+
P(O.$slots, "logo", {}, () => [
|
|
1516
1517
|
c.logo ? (t(), s("img", {
|
|
1517
1518
|
key: 0,
|
|
1518
1519
|
class: "logo",
|
|
1519
1520
|
alt: "logo",
|
|
1520
1521
|
src: c.logo
|
|
1521
|
-
}, null, 8, Ms)) :
|
|
1522
|
+
}, null, 8, Ms)) : _("", !0)
|
|
1522
1523
|
], !0)
|
|
1523
1524
|
])
|
|
1524
1525
|
]),
|
|
1525
|
-
n("div",
|
|
1526
|
-
|
|
1526
|
+
n("div", Is, [
|
|
1527
|
+
P(O.$slots, "toolbar", {}, void 0, !0)
|
|
1527
1528
|
])
|
|
1528
1529
|
], 64))
|
|
1529
1530
|
]),
|
|
@@ -1531,15 +1532,15 @@ const $s = { name: "components-icon-header-menu", render: bs }, Ls = { class: "h
|
|
|
1531
1532
|
})
|
|
1532
1533
|
]));
|
|
1533
1534
|
}
|
|
1534
|
-
}),
|
|
1535
|
+
}), xs = /* @__PURE__ */ he(Ds, [["__scopeId", "data-v-bf633ce0"]]), Ns = {
|
|
1535
1536
|
version: "1.1",
|
|
1536
1537
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1537
1538
|
width: "32",
|
|
1538
1539
|
height: "32",
|
|
1539
1540
|
viewBox: "0 0 32 32"
|
|
1540
1541
|
};
|
|
1541
|
-
function
|
|
1542
|
-
return t(), s("svg",
|
|
1542
|
+
function Rs(o, e) {
|
|
1543
|
+
return t(), s("svg", Ns, [...e[0] || (e[0] = [
|
|
1543
1544
|
n("path", {
|
|
1544
1545
|
opacity: "0.8",
|
|
1545
1546
|
fill: "currentColor",
|
|
@@ -1552,61 +1553,61 @@ function Ps(o, e) {
|
|
|
1552
1553
|
}, null, -1)
|
|
1553
1554
|
])]);
|
|
1554
1555
|
}
|
|
1555
|
-
const m1 = { name: "components-icon-header-search", render:
|
|
1556
|
+
const m1 = { name: "components-icon-header-search", render: Rs }, Ps = {
|
|
1556
1557
|
version: "1.1",
|
|
1557
1558
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1558
1559
|
width: "32",
|
|
1559
1560
|
height: "32",
|
|
1560
1561
|
viewBox: "0 0 32 32"
|
|
1561
1562
|
};
|
|
1562
|
-
function
|
|
1563
|
-
return t(), s("svg",
|
|
1563
|
+
function zs(o, e) {
|
|
1564
|
+
return t(), s("svg", Ps, [...e[0] || (e[0] = [
|
|
1564
1565
|
n("path", {
|
|
1565
1566
|
fill: "currentColor",
|
|
1566
1567
|
d: "M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"
|
|
1567
1568
|
}, null, -1)
|
|
1568
1569
|
])]);
|
|
1569
1570
|
}
|
|
1570
|
-
const
|
|
1571
|
+
const Hs = { name: "components-icon-header-delete", render: zs }, Us = {
|
|
1571
1572
|
version: "1.1",
|
|
1572
1573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1573
1574
|
width: "24",
|
|
1574
1575
|
height: "24",
|
|
1575
1576
|
viewBox: "0 0 24 24"
|
|
1576
1577
|
};
|
|
1577
|
-
function
|
|
1578
|
-
return t(), s("svg",
|
|
1578
|
+
function Fs(o, e) {
|
|
1579
|
+
return t(), s("svg", Us, [...e[0] || (e[0] = [
|
|
1579
1580
|
n("path", {
|
|
1580
1581
|
fill: "currentColor",
|
|
1581
1582
|
d: "M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"
|
|
1582
1583
|
}, null, -1)
|
|
1583
1584
|
])]);
|
|
1584
1585
|
}
|
|
1585
|
-
const
|
|
1586
|
+
const Bs = { name: "components-icon-delete", render: Fs }, Vs = {
|
|
1586
1587
|
version: "1.1",
|
|
1587
1588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1588
1589
|
width: "36",
|
|
1589
1590
|
height: "32",
|
|
1590
1591
|
viewBox: "0 0 36 32"
|
|
1591
1592
|
};
|
|
1592
|
-
function
|
|
1593
|
-
return t(), s("svg",
|
|
1593
|
+
function Ws(o, e) {
|
|
1594
|
+
return t(), s("svg", Vs, [...e[0] || (e[0] = [
|
|
1594
1595
|
n("path", {
|
|
1595
1596
|
fill: "currentColor",
|
|
1596
1597
|
d: "M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"
|
|
1597
1598
|
}, null, -1)
|
|
1598
1599
|
])]);
|
|
1599
1600
|
}
|
|
1600
|
-
const
|
|
1601
|
+
const Gs = { name: "components-icon-header-back", render: Ws }, js = { class: "o-header-search" }, Ks = { class: "o-header-search-drawer" }, qs = {
|
|
1601
1602
|
key: 0,
|
|
1602
1603
|
class: "o-header-search-recommend-container"
|
|
1603
|
-
},
|
|
1604
|
+
}, Zs = ["onClick"], Ys = {
|
|
1604
1605
|
key: 1,
|
|
1605
1606
|
class: "o-header-search-history-container"
|
|
1606
|
-
},
|
|
1607
|
+
}, Xs = { class: "o-header-search-history-header" }, Js = { class: "o-header-search-history-header-title" }, Qs = { class: "o-header-search-history-item-container" }, er = ["onClick"], tr = { class: "o-header-search-history-item-text" }, or = {
|
|
1607
1608
|
key: 3,
|
|
1608
1609
|
class: "o-header-search-hot-container"
|
|
1609
|
-
},
|
|
1610
|
+
}, nr = { class: "o-header-search-hot-header" }, ar = { class: "o-header-search-hot-item-container" }, sr = ["onClick"], rr = /* @__PURE__ */ ne({
|
|
1610
1611
|
__name: "OHeaderSearch",
|
|
1611
1612
|
props: {
|
|
1612
1613
|
modelValue: { default: "" },
|
|
@@ -1628,206 +1629,206 @@ const js = { name: "components-icon-header-back", render: Gs }, Ks = { class: "o
|
|
|
1628
1629
|
},
|
|
1629
1630
|
emits: ["update:modelValue", "update:historyItems", "clear", "search", "delete-history", "delete-history-item"],
|
|
1630
1631
|
setup(o, { emit: e }) {
|
|
1631
|
-
const { lePadV: l } = Se(), { t: c } = Bt(), i = o,
|
|
1632
|
+
const { lePadV: l } = Se(), { t: c } = Bt(), i = o, d = e, m = U(i.modelValue), g = U(i.historyItems), f = U(!1), O = U(), p = de(() => !l.value && f.value || l.value && m.value);
|
|
1632
1633
|
Ee(
|
|
1633
1634
|
() => i.modelValue,
|
|
1634
|
-
(
|
|
1635
|
-
|
|
1635
|
+
(L) => {
|
|
1636
|
+
m.value !== L && (m.value = L);
|
|
1636
1637
|
}
|
|
1637
1638
|
), Ee(
|
|
1638
|
-
() =>
|
|
1639
|
-
(
|
|
1640
|
-
|
|
1639
|
+
() => m.value,
|
|
1640
|
+
(L) => {
|
|
1641
|
+
d("update:modelValue", L);
|
|
1641
1642
|
}
|
|
1642
1643
|
), Ee(
|
|
1643
1644
|
() => i.historyItems,
|
|
1644
|
-
(
|
|
1645
|
-
g.value !==
|
|
1645
|
+
(L) => {
|
|
1646
|
+
g.value !== L && (g.value = L);
|
|
1646
1647
|
}
|
|
1647
1648
|
), Ee(
|
|
1648
1649
|
() => g.value,
|
|
1649
|
-
(
|
|
1650
|
-
|
|
1650
|
+
(L) => {
|
|
1651
|
+
d("update:historyItems", L);
|
|
1651
1652
|
}
|
|
1652
1653
|
), We(() => {
|
|
1653
1654
|
if (i.storeHistory && i.storageKey)
|
|
1654
1655
|
try {
|
|
1655
|
-
const
|
|
1656
|
-
Array.isArray(
|
|
1656
|
+
const L = JSON.parse(localStorage.getItem(i.storageKey) || "[]");
|
|
1657
|
+
Array.isArray(L) && L.length && (g.value = Array.from(/* @__PURE__ */ new Set([...g.value, ...L])));
|
|
1657
1658
|
} catch {
|
|
1658
1659
|
}
|
|
1659
1660
|
});
|
|
1660
|
-
const
|
|
1661
|
-
|
|
1662
|
-
},
|
|
1663
|
-
const
|
|
1664
|
-
|
|
1661
|
+
const w = () => {
|
|
1662
|
+
f.value = !0;
|
|
1663
|
+
}, x = () => {
|
|
1664
|
+
const L = m.value.trim();
|
|
1665
|
+
L && (f.value = !1, g.value.unshift(L), g.value = Array.from(new Set(g.value)), g.value.length > i.maxHistoryCount && g.value.pop(), i.storeHistory && i.storeHistory && localStorage.setItem(i.storageKey, JSON.stringify(g.value)), d("search", L), i.searchUrl && window.open(i.searchUrl + L, i.searchUrlOpenBlank ? "_blank" : "_self", "noopener noreferrer"));
|
|
1665
1666
|
}, T = () => {
|
|
1666
|
-
|
|
1667
|
-
},
|
|
1668
|
-
const
|
|
1669
|
-
g.value = [], i.storeHistory && i.storeHistory && localStorage.removeItem(i.storageKey),
|
|
1670
|
-
}, D = (
|
|
1671
|
-
g.value = g.value.filter((H) => H !==
|
|
1672
|
-
},
|
|
1673
|
-
|
|
1674
|
-
},
|
|
1675
|
-
|
|
1676
|
-
},
|
|
1677
|
-
return bo(
|
|
1667
|
+
m.value = "", d("clear"), l.value || (f.value = !1);
|
|
1668
|
+
}, I = () => {
|
|
1669
|
+
const L = [...g.value];
|
|
1670
|
+
g.value = [], i.storeHistory && i.storeHistory && localStorage.removeItem(i.storageKey), d("delete-history", L);
|
|
1671
|
+
}, D = (L) => {
|
|
1672
|
+
g.value = g.value.filter((H) => H !== L), i.storeHistory && i.storeHistory && (g.value.length ? localStorage.setItem(i.storageKey, JSON.stringify(g.value)) : localStorage.removeItem(i.storageKey)), d("delete-history-item", L);
|
|
1673
|
+
}, $ = (L) => {
|
|
1674
|
+
m.value = L, x();
|
|
1675
|
+
}, N = () => {
|
|
1676
|
+
m.value = "", f.value = !1;
|
|
1677
|
+
}, X = U();
|
|
1678
|
+
return bo(X, T), (L, H) => (t(), s("div", js, [
|
|
1678
1679
|
n("div", {
|
|
1679
1680
|
ref_key: "posWrapper",
|
|
1680
|
-
ref:
|
|
1681
|
+
ref: X,
|
|
1681
1682
|
class: K({
|
|
1682
1683
|
"o-header-search-input-pc-wrapper": !r(l),
|
|
1683
1684
|
"o-header-search-input-pc-wrapper-left": !r(l) && o.expandDirection === "left",
|
|
1684
1685
|
"o-header-search-input-pc-wrapper-right": !r(l) && o.expandDirection === "right",
|
|
1685
1686
|
"o-header-search-input-mobile-wrapper": r(l),
|
|
1686
|
-
focus:
|
|
1687
|
+
focus: f.value
|
|
1687
1688
|
})
|
|
1688
1689
|
}, [
|
|
1689
1690
|
n("div", {
|
|
1690
|
-
class: K(["o-header-search-input-wrapper", { focus:
|
|
1691
|
+
class: K(["o-header-search-input-wrapper", { focus: f.value }])
|
|
1691
1692
|
}, [
|
|
1692
|
-
r(l) &&
|
|
1693
|
+
r(l) && f.value ? (t(), k(r(F), {
|
|
1693
1694
|
key: 0,
|
|
1694
1695
|
class: "o-header-search-icon",
|
|
1695
|
-
onClick:
|
|
1696
|
+
onClick: N
|
|
1696
1697
|
}, {
|
|
1697
|
-
default:
|
|
1698
|
-
C(r(
|
|
1698
|
+
default: h(() => [
|
|
1699
|
+
C(r(Gs))
|
|
1699
1700
|
]),
|
|
1700
1701
|
_: 1
|
|
1701
|
-
})) :
|
|
1702
|
-
C(r(
|
|
1702
|
+
})) : _("", !0),
|
|
1703
|
+
C(r(I1), {
|
|
1703
1704
|
ref_key: "inputRef",
|
|
1704
1705
|
ref: O,
|
|
1705
|
-
modelValue:
|
|
1706
|
-
"onUpdate:modelValue": H[0] || (H[0] = (
|
|
1706
|
+
modelValue: m.value,
|
|
1707
|
+
"onUpdate:modelValue": H[0] || (H[0] = (B) => m.value = B),
|
|
1707
1708
|
class: "o-header-search-input",
|
|
1708
|
-
placeholder:
|
|
1709
|
-
onFocus:
|
|
1710
|
-
onKeyup: X1(
|
|
1709
|
+
placeholder: f.value ? o.expandedPlaceholder ?? r(c)("search.expandedPlaceholder") : o.placeholder ?? r(c)("search.placeholder"),
|
|
1710
|
+
onFocus: w,
|
|
1711
|
+
onKeyup: X1(x, ["enter"])
|
|
1711
1712
|
}, {
|
|
1712
|
-
prefix:
|
|
1713
|
-
|
|
1714
|
-
C(r(
|
|
1715
|
-
default:
|
|
1713
|
+
prefix: h(() => [
|
|
1714
|
+
P(L.$slots, "input-prefix", {}, () => [
|
|
1715
|
+
C(r(F), { class: "o-header-search-icon" }, {
|
|
1716
|
+
default: h(() => [
|
|
1716
1717
|
C(r(m1))
|
|
1717
1718
|
]),
|
|
1718
1719
|
_: 1
|
|
1719
1720
|
})
|
|
1720
1721
|
], !0)
|
|
1721
1722
|
]),
|
|
1722
|
-
suffix:
|
|
1723
|
-
|
|
1724
|
-
o.clearable && p.value ? (t(),
|
|
1723
|
+
suffix: h(() => [
|
|
1724
|
+
P(L.$slots, "input-suffix", {}, () => [
|
|
1725
|
+
o.clearable && p.value ? (t(), k(r(F), {
|
|
1725
1726
|
key: 0,
|
|
1726
1727
|
class: "o-header-search-icon close",
|
|
1727
1728
|
onClick: T
|
|
1728
1729
|
}, {
|
|
1729
|
-
default:
|
|
1730
|
+
default: h(() => [
|
|
1730
1731
|
C(r(R1))
|
|
1731
1732
|
]),
|
|
1732
1733
|
_: 1
|
|
1733
|
-
})) :
|
|
1734
|
+
})) : _("", !0)
|
|
1734
1735
|
], !0)
|
|
1735
1736
|
]),
|
|
1736
1737
|
_: 3
|
|
1737
1738
|
}, 8, ["modelValue", "placeholder"]),
|
|
1738
|
-
r(l) &&
|
|
1739
|
+
r(l) && f.value ? (t(), s("span", {
|
|
1739
1740
|
key: 1,
|
|
1740
1741
|
class: "o-header-search-text",
|
|
1741
|
-
onClick:
|
|
1742
|
-
}, u(o.searchTextMobile ?? r(c)("search")), 1)) :
|
|
1742
|
+
onClick: x
|
|
1743
|
+
}, u(o.searchTextMobile ?? r(c)("search")), 1)) : _("", !0)
|
|
1743
1744
|
], 2),
|
|
1744
|
-
Je(n("div",
|
|
1745
|
-
|
|
1745
|
+
Je(n("div", Ks, [
|
|
1746
|
+
P(L.$slots, "drawer", {
|
|
1746
1747
|
recommendItems: o.recommendItems,
|
|
1747
1748
|
historyItems: g.value,
|
|
1748
1749
|
hotItems: o.hotItems
|
|
1749
1750
|
}, () => [
|
|
1750
|
-
o.recommendItems.length ? (t(), s("div",
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
(t(!0), s(S, null,
|
|
1751
|
+
o.recommendItems.length ? (t(), s("div", qs, [
|
|
1752
|
+
P(L.$slots, "recommend-header", { recommend: o.recommendItems }, void 0, !0),
|
|
1753
|
+
P(L.$slots, "recommend-content", { recommend: o.recommendItems }, () => [
|
|
1754
|
+
(t(!0), s(S, null, z(o.recommendItems, (B) => (t(), s("div", {
|
|
1754
1755
|
class: "o-header-search-recommend-item",
|
|
1755
|
-
key:
|
|
1756
|
-
onClick: (
|
|
1757
|
-
}, u(
|
|
1756
|
+
key: B,
|
|
1757
|
+
onClick: (V) => $(B)
|
|
1758
|
+
}, u(B), 9, Zs))), 128))
|
|
1758
1759
|
], !0)
|
|
1759
|
-
])) : g.value.length ? (t(), s("div",
|
|
1760
|
-
|
|
1761
|
-
n("div",
|
|
1762
|
-
n("span",
|
|
1763
|
-
C(r(
|
|
1760
|
+
])) : g.value.length ? (t(), s("div", Ys, [
|
|
1761
|
+
P(L.$slots, "history-header", { history: g.value }, () => [
|
|
1762
|
+
n("div", Xs, [
|
|
1763
|
+
n("span", Js, u(o.historyTitle ?? r(c)("search.history")), 1),
|
|
1764
|
+
C(r(F), {
|
|
1764
1765
|
class: "o-header-search-icon",
|
|
1765
|
-
onClick:
|
|
1766
|
+
onClick: I
|
|
1766
1767
|
}, {
|
|
1767
|
-
default:
|
|
1768
|
-
C(r(
|
|
1768
|
+
default: h(() => [
|
|
1769
|
+
C(r(Bs))
|
|
1769
1770
|
]),
|
|
1770
1771
|
_: 1
|
|
1771
1772
|
})
|
|
1772
1773
|
])
|
|
1773
1774
|
], !0),
|
|
1774
|
-
|
|
1775
|
-
n("div",
|
|
1776
|
-
(t(!0), s(S, null,
|
|
1777
|
-
key:
|
|
1775
|
+
P(L.$slots, "history-content", { history: g.value }, () => [
|
|
1776
|
+
n("div", Qs, [
|
|
1777
|
+
(t(!0), s(S, null, z(g.value, (B) => (t(), s("div", {
|
|
1778
|
+
key: B,
|
|
1778
1779
|
class: "o-header-search-history-item",
|
|
1779
|
-
onClick: (
|
|
1780
|
+
onClick: (V) => $(B)
|
|
1780
1781
|
}, [
|
|
1781
|
-
n("span",
|
|
1782
|
-
C(r(
|
|
1782
|
+
n("span", tr, u(B), 1),
|
|
1783
|
+
C(r(F), {
|
|
1783
1784
|
class: "o-header-search-history-item-icon",
|
|
1784
|
-
onClick: J1((
|
|
1785
|
+
onClick: J1((V) => D(B), ["stop"])
|
|
1785
1786
|
}, {
|
|
1786
|
-
default:
|
|
1787
|
-
C(r(
|
|
1787
|
+
default: h(() => [
|
|
1788
|
+
C(r(Hs), { class: "icon-delete" })
|
|
1788
1789
|
]),
|
|
1789
1790
|
_: 1
|
|
1790
1791
|
}, 8, ["onClick"])
|
|
1791
|
-
], 8,
|
|
1792
|
+
], 8, er))), 128))
|
|
1792
1793
|
])
|
|
1793
1794
|
], !0)
|
|
1794
|
-
])) :
|
|
1795
|
-
(o.recommendItems.length || g.value.length) && o.hotItems.length ? (t(),
|
|
1795
|
+
])) : _("", !0),
|
|
1796
|
+
(o.recommendItems.length || g.value.length) && o.hotItems.length ? (t(), k(r(Ne), {
|
|
1796
1797
|
key: 2,
|
|
1797
1798
|
class: "o-header-search-drawer-divider"
|
|
1798
|
-
})) :
|
|
1799
|
-
o.hotItems.length ? (t(), s("div",
|
|
1800
|
-
|
|
1801
|
-
n("div",
|
|
1799
|
+
})) : _("", !0),
|
|
1800
|
+
o.hotItems.length ? (t(), s("div", or, [
|
|
1801
|
+
P(L.$slots, "hot-header", { hot: o.hotItems }, () => [
|
|
1802
|
+
n("div", nr, u(o.hotTitle ?? r(c)("search.hot")), 1)
|
|
1802
1803
|
], !0),
|
|
1803
|
-
|
|
1804
|
-
n("div",
|
|
1805
|
-
(t(!0), s(S, null,
|
|
1806
|
-
key:
|
|
1804
|
+
P(L.$slots, "hot-content", { hot: o.hotItems }, () => [
|
|
1805
|
+
n("div", ar, [
|
|
1806
|
+
(t(!0), s(S, null, z(o.hotItems, (B) => (t(), s("div", {
|
|
1807
|
+
key: B,
|
|
1807
1808
|
class: "o-header-search-hot-item",
|
|
1808
|
-
onClick: (
|
|
1809
|
-
}, u(
|
|
1809
|
+
onClick: (V) => $(B)
|
|
1810
|
+
}, u(B), 9, sr))), 128))
|
|
1810
1811
|
])
|
|
1811
1812
|
], !0)
|
|
1812
|
-
])) :
|
|
1813
|
+
])) : _("", !0)
|
|
1813
1814
|
], !0)
|
|
1814
1815
|
], 512), [
|
|
1815
|
-
[Q1,
|
|
1816
|
+
[Q1, f.value]
|
|
1816
1817
|
])
|
|
1817
1818
|
], 2),
|
|
1818
|
-
r(l) ? (t(),
|
|
1819
|
+
r(l) ? (t(), k(r(F), {
|
|
1819
1820
|
key: 0,
|
|
1820
1821
|
class: "o-header-search-icon-mobile",
|
|
1821
|
-
onClick:
|
|
1822
|
+
onClick: w
|
|
1822
1823
|
}, {
|
|
1823
|
-
default:
|
|
1824
|
+
default: h(() => [
|
|
1824
1825
|
C(r(m1))
|
|
1825
1826
|
]),
|
|
1826
1827
|
_: 1
|
|
1827
|
-
})) :
|
|
1828
|
+
})) : _("", !0)
|
|
1828
1829
|
]));
|
|
1829
1830
|
}
|
|
1830
|
-
}),
|
|
1831
|
+
}), lr = /* @__PURE__ */ he(rr, [["__scopeId", "data-v-9f1bd8fc"]]), ir = ["src"], cr = /* @__PURE__ */ ne({
|
|
1831
1832
|
__name: "AppAvatar",
|
|
1832
1833
|
props: {
|
|
1833
1834
|
// 头像
|
|
@@ -1859,46 +1860,46 @@ const js = { name: "components-icon-header-back", render: Gs }, Ks = { class: "o
|
|
|
1859
1860
|
},
|
|
1860
1861
|
setup(o) {
|
|
1861
1862
|
const e = o, l = ["#058EF0", "#FA7305", "#03B5A5"], c = de(() => {
|
|
1862
|
-
var
|
|
1863
|
-
return (
|
|
1863
|
+
var d;
|
|
1864
|
+
return (d = e.name) == null ? void 0 : d.charAt(0).toUpperCase();
|
|
1864
1865
|
}), i = de(() => {
|
|
1865
1866
|
var g;
|
|
1866
|
-
const
|
|
1867
|
+
const d = {
|
|
1867
1868
|
"background-color": "",
|
|
1868
1869
|
width: "32px",
|
|
1869
1870
|
height: "32px",
|
|
1870
1871
|
"font-size": "20px"
|
|
1871
1872
|
};
|
|
1872
|
-
|
|
1873
|
-
let
|
|
1874
|
-
return e.customSize ?
|
|
1873
|
+
d["background-color"] = e.name ? l[((g = e.name) == null ? void 0 : g.length) % l.length] : "transparent";
|
|
1874
|
+
let m = 0;
|
|
1875
|
+
return e.customSize ? m = Number(e.customSize) : m = {
|
|
1875
1876
|
mini: 16,
|
|
1876
1877
|
small: 24,
|
|
1877
1878
|
medium: 40,
|
|
1878
1879
|
large: 64
|
|
1879
|
-
}[e.size],
|
|
1880
|
+
}[e.size], d.height = `${m}px`, d.width = `${m}px`, d["font-size"] = `${m / 2}px`, d;
|
|
1880
1881
|
});
|
|
1881
|
-
return (
|
|
1882
|
+
return (d, m) => o.avatar && !o.avatar.includes("gitcode") ? (t(), s("img", {
|
|
1882
1883
|
key: 0,
|
|
1883
1884
|
src: o.avatar,
|
|
1884
1885
|
class: K(["img-avatar", o.variant]),
|
|
1885
|
-
style:
|
|
1886
|
+
style: ce(i.value),
|
|
1886
1887
|
alt: ""
|
|
1887
|
-
}, null, 14,
|
|
1888
|
+
}, null, 14, ir)) : (t(), s("div", {
|
|
1888
1889
|
key: 1,
|
|
1889
1890
|
class: K(["word-avatar", o.variant]),
|
|
1890
|
-
style:
|
|
1891
|
+
style: ce(i.value)
|
|
1891
1892
|
}, u(c.value), 7));
|
|
1892
1893
|
}
|
|
1893
|
-
}), _1 = /* @__PURE__ */
|
|
1894
|
+
}), _1 = /* @__PURE__ */ he(cr, [["__scopeId", "data-v-340348ce"]]), ur = {
|
|
1894
1895
|
version: "1.1",
|
|
1895
1896
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1896
1897
|
width: "32",
|
|
1897
1898
|
height: "32",
|
|
1898
1899
|
viewBox: "0 0 32 32"
|
|
1899
1900
|
};
|
|
1900
|
-
function
|
|
1901
|
-
return t(), s("svg",
|
|
1901
|
+
function dr(o, e) {
|
|
1902
|
+
return t(), s("svg", ur, [...e[0] || (e[0] = [
|
|
1902
1903
|
n("path", {
|
|
1903
1904
|
opacity: "0.8",
|
|
1904
1905
|
fill: "#000",
|
|
@@ -1906,25 +1907,25 @@ function hr(o, e) {
|
|
|
1906
1907
|
}, null, -1)
|
|
1907
1908
|
])]);
|
|
1908
1909
|
}
|
|
1909
|
-
const fr = { name: "components-icon-avatar-line", render:
|
|
1910
|
+
const fr = { name: "components-icon-avatar-line", render: dr }, hr = {
|
|
1910
1911
|
version: "1.1",
|
|
1911
1912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1912
1913
|
width: "24",
|
|
1913
1914
|
height: "24",
|
|
1914
1915
|
viewBox: "0 0 24 24"
|
|
1915
1916
|
};
|
|
1916
|
-
function
|
|
1917
|
-
return t(), s("svg",
|
|
1917
|
+
function vr(o, e) {
|
|
1918
|
+
return t(), s("svg", hr, [...e[0] || (e[0] = [
|
|
1918
1919
|
n("path", { d: "M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z" }, null, -1)
|
|
1919
1920
|
])]);
|
|
1920
1921
|
}
|
|
1921
|
-
const P1 = { name: "components-icon-chevron-down", render:
|
|
1922
|
+
const P1 = { name: "components-icon-chevron-down", render: vr }, pr = { class: "header-user" }, mr = {
|
|
1922
1923
|
key: 0,
|
|
1923
1924
|
class: "user-info"
|
|
1924
|
-
},
|
|
1925
|
+
}, _r = { class: "info-wrap hover-icon-rotate" }, gr = { class: "user-account" }, Cr = {
|
|
1925
1926
|
key: 0,
|
|
1926
1927
|
class: "user-info-dropdown"
|
|
1927
|
-
},
|
|
1928
|
+
}, yr = { class: "right-info" }, kr = { class: "user-account" }, wr = { key: 1 }, br = /* @__PURE__ */ ne({
|
|
1928
1929
|
__name: "OHeaderUser",
|
|
1929
1930
|
props: {
|
|
1930
1931
|
token: { default: void 0 },
|
|
@@ -1938,92 +1939,92 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
1938
1939
|
setup(o, { emit: e }) {
|
|
1939
1940
|
const { lePadV: l } = Se(), c = e, i = () => {
|
|
1940
1941
|
c("login");
|
|
1941
|
-
},
|
|
1942
|
-
|
|
1942
|
+
}, d = (m) => {
|
|
1943
|
+
m != null && m.logout ? c("logout") : window.open(m.url, m.target);
|
|
1943
1944
|
};
|
|
1944
|
-
return (
|
|
1945
|
-
o.token ?
|
|
1945
|
+
return (m, g) => (t(), s("div", pr, [
|
|
1946
|
+
o.token ? _("", !0) : (t(), k(r(F), {
|
|
1946
1947
|
key: 0,
|
|
1947
1948
|
onClick: i,
|
|
1948
1949
|
class: "avatar-icon"
|
|
1949
1950
|
}, {
|
|
1950
|
-
default:
|
|
1951
|
+
default: h(() => [
|
|
1951
1952
|
C(r(fr))
|
|
1952
1953
|
]),
|
|
1953
1954
|
_: 1
|
|
1954
1955
|
})),
|
|
1955
1956
|
C(S1, { name: "header-user-zoom-in" }, {
|
|
1956
|
-
default:
|
|
1957
|
-
o.token ? (t(), s("div",
|
|
1957
|
+
default: h(() => [
|
|
1958
|
+
o.token ? (t(), s("div", mr, [
|
|
1958
1959
|
C(r(D1), {
|
|
1959
1960
|
trigger: r(l) ? "click" : "hover",
|
|
1960
1961
|
optionPosition: r(l) ? "br" : "bottom",
|
|
1961
1962
|
"option-wrap-class": `user-dropdown ${o.lang === "en" ? "is-en" : ""} user-dropdown${o.userInfoVisible ? "-info" : ""}`
|
|
1962
1963
|
}, {
|
|
1963
|
-
dropdown:
|
|
1964
|
-
o.userInfoVisible ? (t(), s("div",
|
|
1964
|
+
dropdown: h(() => [
|
|
1965
|
+
o.userInfoVisible ? (t(), s("div", Cr, [
|
|
1965
1966
|
C(_1, {
|
|
1966
1967
|
avatar: o.userInfo.photo,
|
|
1967
1968
|
name: o.userInfo.username,
|
|
1968
1969
|
"custom-size": 32
|
|
1969
1970
|
}, null, 8, ["avatar", "name"]),
|
|
1970
|
-
n("div",
|
|
1971
|
+
n("div", yr, [
|
|
1971
1972
|
g[0] || (g[0] = n("p", { class: "user-fullname" }, "用户名", -1)),
|
|
1972
|
-
n("p",
|
|
1973
|
+
n("p", kr, u(o.userInfo.username), 1)
|
|
1973
1974
|
])
|
|
1974
|
-
])) :
|
|
1975
|
-
o.userInfoVisible ? (t(),
|
|
1975
|
+
])) : _("", !0),
|
|
1976
|
+
o.userInfoVisible ? (t(), k(r(Ne), {
|
|
1976
1977
|
key: 1,
|
|
1977
1978
|
style: { "--o-divider-gap": "6px" }
|
|
1978
|
-
})) :
|
|
1979
|
-
(t(!0), s(S, null,
|
|
1980
|
-
key:
|
|
1981
|
-
style:
|
|
1982
|
-
onClick: (O) =>
|
|
1979
|
+
})) : _("", !0),
|
|
1980
|
+
(t(!0), s(S, null, z(o.options, (f) => (t(), k(r(x1), {
|
|
1981
|
+
key: f.label,
|
|
1982
|
+
style: ce({ "--dropdown-item-justify": o.userInfoVisible ? "flex-start" : "center" }),
|
|
1983
|
+
onClick: (O) => d(f)
|
|
1983
1984
|
}, {
|
|
1984
|
-
default:
|
|
1985
|
-
|
|
1985
|
+
default: h(() => [
|
|
1986
|
+
f != null && f.icon ? (t(), s(S, { key: 0 }, [
|
|
1986
1987
|
C(r(Ot), {
|
|
1987
|
-
value:
|
|
1988
|
+
value: f.total,
|
|
1988
1989
|
color: "danger",
|
|
1989
|
-
class: K(["header-message icon-message", { "notice-not": !
|
|
1990
|
+
class: K(["header-message icon-message", { "notice-not": !f.total }])
|
|
1990
1991
|
}, {
|
|
1991
|
-
default:
|
|
1992
|
-
C(r(
|
|
1993
|
-
default:
|
|
1994
|
-
(t(),
|
|
1992
|
+
default: h(() => [
|
|
1993
|
+
C(r(F), null, {
|
|
1994
|
+
default: h(() => [
|
|
1995
|
+
(t(), k(we(f.icon), { class: "icon" }))
|
|
1995
1996
|
]),
|
|
1996
1997
|
_: 2
|
|
1997
1998
|
}, 1024)
|
|
1998
1999
|
]),
|
|
1999
2000
|
_: 2
|
|
2000
2001
|
}, 1032, ["value", "class"]),
|
|
2001
|
-
n("span", null, u(
|
|
2002
|
+
n("span", null, u(f.label), 1)
|
|
2002
2003
|
], 64)) : (t(), s(S, { key: 1 }, [
|
|
2003
|
-
|
|
2004
|
+
f != null && f.total ? (t(), k(r(Ot), {
|
|
2004
2005
|
key: 0,
|
|
2005
|
-
value:
|
|
2006
|
+
value: f.total,
|
|
2006
2007
|
color: "danger",
|
|
2007
|
-
class: K(["header-message message", { "notice-not": !
|
|
2008
|
+
class: K(["header-message message", { "notice-not": !f.total }])
|
|
2008
2009
|
}, {
|
|
2009
|
-
default:
|
|
2010
|
-
|
|
2010
|
+
default: h(() => [
|
|
2011
|
+
te(u(f.label), 1)
|
|
2011
2012
|
]),
|
|
2012
2013
|
_: 2
|
|
2013
|
-
}, 1032, ["value", "class"])) : (t(), s("span",
|
|
2014
|
+
}, 1032, ["value", "class"])) : (t(), s("span", wr, u(f.label), 1))
|
|
2014
2015
|
], 64))
|
|
2015
2016
|
]),
|
|
2016
2017
|
_: 2
|
|
2017
2018
|
}, 1032, ["style", "onClick"]))), 128))
|
|
2018
2019
|
]),
|
|
2019
|
-
default:
|
|
2020
|
-
n("div",
|
|
2020
|
+
default: h(() => [
|
|
2021
|
+
n("div", _r, [
|
|
2021
2022
|
C(r(Ot), {
|
|
2022
2023
|
value: o.noticeTotal,
|
|
2023
2024
|
color: "danger",
|
|
2024
2025
|
class: K(["header-message user-avatar", { "notice-not": !o.noticeTotal }])
|
|
2025
2026
|
}, {
|
|
2026
|
-
default:
|
|
2027
|
+
default: h(() => [
|
|
2027
2028
|
C(_1, {
|
|
2028
2029
|
avatar: o.userInfo.photo,
|
|
2029
2030
|
name: o.userInfo.username,
|
|
@@ -2032,9 +2033,9 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
2032
2033
|
]),
|
|
2033
2034
|
_: 1
|
|
2034
2035
|
}, 8, ["value", "class"]),
|
|
2035
|
-
n("p",
|
|
2036
|
-
C(r(
|
|
2037
|
-
default:
|
|
2036
|
+
n("p", gr, u(o.userInfo.username), 1),
|
|
2037
|
+
C(r(F), { class: "icon" }, {
|
|
2038
|
+
default: h(() => [
|
|
2038
2039
|
C(r(P1))
|
|
2039
2040
|
]),
|
|
2040
2041
|
_: 1
|
|
@@ -2043,13 +2044,13 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
2043
2044
|
]),
|
|
2044
2045
|
_: 1
|
|
2045
2046
|
}, 8, ["trigger", "optionPosition", "option-wrap-class"])
|
|
2046
|
-
])) :
|
|
2047
|
+
])) : _("", !0)
|
|
2047
2048
|
]),
|
|
2048
2049
|
_: 1
|
|
2049
2050
|
})
|
|
2050
2051
|
]));
|
|
2051
2052
|
}
|
|
2052
|
-
}),
|
|
2053
|
+
}), $r = /* @__PURE__ */ he(br, [["__scopeId", "data-v-66736d3f"]]), Lr = {
|
|
2053
2054
|
locale: "zh-CN",
|
|
2054
2055
|
// common
|
|
2055
2056
|
"common.empty": "暂无数据",
|
|
@@ -2072,7 +2073,7 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
2072
2073
|
"select.confirm": "确定",
|
|
2073
2074
|
// input
|
|
2074
2075
|
"input.limit": "<b>{0}</b>/{1}"
|
|
2075
|
-
},
|
|
2076
|
+
}, Ar = {
|
|
2076
2077
|
locale: "en-US",
|
|
2077
2078
|
// common
|
|
2078
2079
|
"common.empty": "No Data",
|
|
@@ -2095,7 +2096,7 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
2095
2096
|
"select.confirm": "Ok",
|
|
2096
2097
|
// input
|
|
2097
2098
|
"input.limit": "<b>{0}</b>/{1}"
|
|
2098
|
-
},
|
|
2099
|
+
}, Er = /* @__PURE__ */ ne({
|
|
2099
2100
|
__name: "OPlusConfigProvider",
|
|
2100
2101
|
props: {
|
|
2101
2102
|
locale: {},
|
|
@@ -2106,40 +2107,40 @@ const P1 = { name: "components-icon-chevron-down", render: pr }, mr = { class: "
|
|
|
2106
2107
|
locale: de(() => e.locale),
|
|
2107
2108
|
theme: de(() => e.theme)
|
|
2108
2109
|
});
|
|
2109
|
-
return to(yo, l), (c, i) => (t(),
|
|
2110
|
-
locale: o.locale === "zh" ? r(
|
|
2110
|
+
return to(yo, l), (c, i) => (t(), k(r(io), {
|
|
2111
|
+
locale: o.locale === "zh" ? r(Lr) : r(Ar)
|
|
2111
2112
|
}, {
|
|
2112
|
-
default:
|
|
2113
|
-
|
|
2113
|
+
default: h(() => [
|
|
2114
|
+
P(c.$slots, "default")
|
|
2114
2115
|
]),
|
|
2115
2116
|
_: 3
|
|
2116
2117
|
}, 8, ["locale"]));
|
|
2117
2118
|
}
|
|
2118
|
-
}),
|
|
2119
|
+
}), Or = {
|
|
2119
2120
|
version: "1.1",
|
|
2120
2121
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2121
2122
|
width: "24",
|
|
2122
2123
|
height: "24",
|
|
2123
2124
|
viewBox: "0 0 24 24"
|
|
2124
2125
|
};
|
|
2125
|
-
function
|
|
2126
|
-
return t(), s("svg",
|
|
2126
|
+
function Tr(o, e) {
|
|
2127
|
+
return t(), s("svg", Or, [...e[0] || (e[0] = [
|
|
2127
2128
|
n("path", { d: "M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z" }, null, -1)
|
|
2128
2129
|
])]);
|
|
2129
2130
|
}
|
|
2130
|
-
const
|
|
2131
|
+
const Sr = { name: "components-icon-chevron-right", render: Tr }, Mr = { class: "section-wrapper" }, Ir = {
|
|
2131
2132
|
key: 1,
|
|
2132
2133
|
class: "section-title"
|
|
2133
|
-
},
|
|
2134
|
+
}, Dr = {
|
|
2134
2135
|
key: 2,
|
|
2135
2136
|
class: "section-subtitle"
|
|
2136
|
-
},
|
|
2137
|
+
}, xr = {
|
|
2137
2138
|
key: 1,
|
|
2138
2139
|
class: "section-body"
|
|
2139
|
-
},
|
|
2140
|
+
}, Nr = {
|
|
2140
2141
|
key: 2,
|
|
2141
2142
|
class: "section-footer"
|
|
2142
|
-
},
|
|
2143
|
+
}, Rr = /* @__PURE__ */ ne({
|
|
2143
2144
|
__name: "OSection",
|
|
2144
2145
|
props: {
|
|
2145
2146
|
title: { default: void 0 },
|
|
@@ -2155,108 +2156,114 @@ const Ir = { name: "components-icon-chevron-right", render: Sr }, Mr = { class:
|
|
|
2155
2156
|
class: K(["app-section", { "is-full": e.full }])
|
|
2156
2157
|
}, [
|
|
2157
2158
|
n("div", Mr, [
|
|
2158
|
-
|
|
2159
|
+
P(l.$slots, "main", {}, () => [
|
|
2159
2160
|
l.$slots.header || e.title || e.subtitle ? (t(), s("div", {
|
|
2160
2161
|
key: 0,
|
|
2161
2162
|
class: K(["section-header", { "is-left": !e.headerJustifyCenter }])
|
|
2162
2163
|
}, [
|
|
2163
|
-
|
|
2164
|
-
r(co)(e.title) ? (t(!0), s(S, { key: 0 },
|
|
2164
|
+
P(l.$slots, "header", {}, () => [
|
|
2165
|
+
r(co)(e.title) ? (t(!0), s(S, { key: 0 }, z(e.title, (i) => (t(), s("h2", {
|
|
2165
2166
|
key: i,
|
|
2166
2167
|
class: "section-title"
|
|
2167
|
-
}, u(i), 1))), 128)) : l.$slots.title || e.title ? (t(), s("h2",
|
|
2168
|
-
|
|
2169
|
-
|
|
2168
|
+
}, u(i), 1))), 128)) : l.$slots.title || e.title ? (t(), s("h2", Ir, [
|
|
2169
|
+
P(l.$slots, "title", {}, () => [
|
|
2170
|
+
te(u(e.title), 1)
|
|
2170
2171
|
], !0)
|
|
2171
|
-
])) :
|
|
2172
|
-
l.$slots.subtitle || e.subtitle ? (t(), s("p",
|
|
2173
|
-
|
|
2174
|
-
|
|
2172
|
+
])) : _("", !0),
|
|
2173
|
+
l.$slots.subtitle || e.subtitle ? (t(), s("p", Dr, [
|
|
2174
|
+
P(l.$slots, "subtitle", {}, () => [
|
|
2175
|
+
te(u(e.subtitle), 1)
|
|
2175
2176
|
], !0)
|
|
2176
|
-
])) :
|
|
2177
|
+
])) : _("", !0)
|
|
2177
2178
|
], !0)
|
|
2178
|
-
], 2)) :
|
|
2179
|
-
l.$slots.default ? (t(), s("div",
|
|
2180
|
-
|
|
2181
|
-
])) :
|
|
2182
|
-
l.$slots.footer || e.footer ? (t(), s("div",
|
|
2183
|
-
|
|
2179
|
+
], 2)) : _("", !0),
|
|
2180
|
+
l.$slots.default ? (t(), s("div", xr, [
|
|
2181
|
+
P(l.$slots, "default", {}, void 0, !0)
|
|
2182
|
+
])) : _("", !0),
|
|
2183
|
+
l.$slots.footer || e.footer ? (t(), s("div", Nr, [
|
|
2184
|
+
P(l.$slots, "footer", {}, () => [
|
|
2184
2185
|
C(r(ut), {
|
|
2185
2186
|
href: e.footerHref,
|
|
2186
2187
|
target: "_blank"
|
|
2187
2188
|
}, {
|
|
2188
|
-
suffix:
|
|
2189
|
-
C(r(
|
|
2190
|
-
default:
|
|
2191
|
-
C(r(
|
|
2189
|
+
suffix: h(() => [
|
|
2190
|
+
C(r(F), { class: "footer-icon" }, {
|
|
2191
|
+
default: h(() => [
|
|
2192
|
+
C(r(Sr))
|
|
2192
2193
|
]),
|
|
2193
2194
|
_: 1
|
|
2194
2195
|
})
|
|
2195
2196
|
]),
|
|
2196
|
-
default:
|
|
2197
|
-
|
|
2197
|
+
default: h(() => [
|
|
2198
|
+
te(u(e.footer) + " ", 1)
|
|
2198
2199
|
]),
|
|
2199
2200
|
_: 1
|
|
2200
2201
|
}, 8, ["href"])
|
|
2201
2202
|
], !0)
|
|
2202
|
-
])) :
|
|
2203
|
+
])) : _("", !0)
|
|
2203
2204
|
], !0)
|
|
2204
2205
|
])
|
|
2205
2206
|
], 2));
|
|
2206
2207
|
}
|
|
2207
|
-
}),
|
|
2208
|
+
}), Pr = /* @__PURE__ */ he(Rr, [["__scopeId", "data-v-2fc90e8a"]]), zr = { class: "source-code" }, Hr = {
|
|
2208
2209
|
key: 0,
|
|
2209
2210
|
class: "info-wrap"
|
|
2210
|
-
},
|
|
2211
|
+
}, Ur = { class: "title" }, Fr = { class: "info-wrap hover-icon-rotate" }, Br = { class: "title" }, Vr = /* @__PURE__ */ ne({
|
|
2211
2212
|
__name: "OSourceCode",
|
|
2212
2213
|
props: {
|
|
2213
2214
|
title: { default: void 0 },
|
|
2214
2215
|
options: { default: void 0 },
|
|
2215
2216
|
url: { default: void 0 },
|
|
2216
|
-
icon: { default: void 0 }
|
|
2217
|
+
icon: { default: void 0 },
|
|
2218
|
+
justify: { default: "center" }
|
|
2217
2219
|
},
|
|
2218
2220
|
setup(o) {
|
|
2219
|
-
const e = (
|
|
2220
|
-
window.open(
|
|
2221
|
+
const e = (i) => {
|
|
2222
|
+
window.open(i.url, "_blank");
|
|
2223
|
+
}, l = U(!1), c = (i) => {
|
|
2224
|
+
l.value = i;
|
|
2221
2225
|
};
|
|
2222
|
-
return (
|
|
2223
|
-
o.url ? (t(), s("div",
|
|
2224
|
-
n("span",
|
|
2225
|
-
o.icon ? (t(),
|
|
2226
|
-
default:
|
|
2227
|
-
(t(),
|
|
2226
|
+
return (i, d) => (t(), s("div", zr, [
|
|
2227
|
+
o.url ? (t(), s("div", Hr, [
|
|
2228
|
+
n("span", Ur, u(o.title), 1),
|
|
2229
|
+
o.icon ? (t(), k(r(F), { key: 0 }, {
|
|
2230
|
+
default: h(() => [
|
|
2231
|
+
(t(), k(we(o.icon), { class: "icon" }))
|
|
2228
2232
|
]),
|
|
2229
2233
|
_: 1
|
|
2230
|
-
})) :
|
|
2231
|
-
])) : (t(),
|
|
2234
|
+
})) : _("", !0)
|
|
2235
|
+
])) : (t(), k(r(D1), {
|
|
2232
2236
|
key: 1,
|
|
2233
2237
|
trigger: "hover",
|
|
2234
2238
|
optionPosition: "bottom",
|
|
2235
|
-
"option-wrap-class": "dropdown"
|
|
2239
|
+
"option-wrap-class": "dropdown",
|
|
2240
|
+
class: K({ "dropdown-active": l.value }),
|
|
2241
|
+
onVisibleChange: c
|
|
2236
2242
|
}, {
|
|
2237
|
-
dropdown:
|
|
2238
|
-
(t(!0), s(S, null,
|
|
2239
|
-
onClick: (
|
|
2240
|
-
key:
|
|
2241
|
-
class: "list"
|
|
2243
|
+
dropdown: h(() => [
|
|
2244
|
+
(t(!0), s(S, null, z(o.options, (m) => (t(), k(r(x1), {
|
|
2245
|
+
onClick: (g) => e(m),
|
|
2246
|
+
key: m.url,
|
|
2247
|
+
class: "list",
|
|
2248
|
+
style: ce({ "--dropdown-item-justify": o.justify })
|
|
2242
2249
|
}, {
|
|
2243
|
-
default:
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
default:
|
|
2247
|
-
(t(),
|
|
2250
|
+
default: h(() => [
|
|
2251
|
+
te(u(m.label) + " ", 1),
|
|
2252
|
+
m.icon ? (t(), k(r(F), { key: 0 }, {
|
|
2253
|
+
default: h(() => [
|
|
2254
|
+
(t(), k(we(m.icon), { class: "icon" }))
|
|
2248
2255
|
]),
|
|
2249
2256
|
_: 2
|
|
2250
|
-
}, 1024)) :
|
|
2257
|
+
}, 1024)) : _("", !0)
|
|
2251
2258
|
]),
|
|
2252
2259
|
_: 2
|
|
2253
|
-
}, 1032, ["onClick"]))), 128))
|
|
2260
|
+
}, 1032, ["onClick", "style"]))), 128))
|
|
2254
2261
|
]),
|
|
2255
|
-
default:
|
|
2256
|
-
n("div",
|
|
2257
|
-
n("span",
|
|
2258
|
-
C(r(
|
|
2259
|
-
default:
|
|
2262
|
+
default: h(() => [
|
|
2263
|
+
n("div", Fr, [
|
|
2264
|
+
n("span", Br, u(o.title), 1),
|
|
2265
|
+
C(r(F), { class: "icon" }, {
|
|
2266
|
+
default: h(() => [
|
|
2260
2267
|
C(r(P1))
|
|
2261
2268
|
]),
|
|
2262
2269
|
_: 1
|
|
@@ -2264,18 +2271,18 @@ const Ir = { name: "components-icon-chevron-right", render: Sr }, Mr = { class:
|
|
|
2264
2271
|
])
|
|
2265
2272
|
]),
|
|
2266
2273
|
_: 1
|
|
2267
|
-
}))
|
|
2274
|
+
}, 8, ["class"]))
|
|
2268
2275
|
]));
|
|
2269
2276
|
}
|
|
2270
|
-
}),
|
|
2277
|
+
}), Wr = /* @__PURE__ */ he(Vr, [["__scopeId", "data-v-bbe28df5"]]), Gr = {
|
|
2271
2278
|
version: "1.1",
|
|
2272
2279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2273
2280
|
width: "24",
|
|
2274
2281
|
height: "24",
|
|
2275
2282
|
viewBox: "0 0 24 24"
|
|
2276
2283
|
};
|
|
2277
|
-
function
|
|
2278
|
-
return t(), s("svg",
|
|
2284
|
+
function jr(o, e) {
|
|
2285
|
+
return t(), s("svg", Gr, [...e[0] || (e[0] = [
|
|
2279
2286
|
n("path", {
|
|
2280
2287
|
opacity: "0.8",
|
|
2281
2288
|
fill: "currentColor",
|
|
@@ -2283,15 +2290,15 @@ function Kr(o, e) {
|
|
|
2283
2290
|
}, null, -1)
|
|
2284
2291
|
])]);
|
|
2285
2292
|
}
|
|
2286
|
-
const Tt = { name: "components-icon-sun", render:
|
|
2293
|
+
const Tt = { name: "components-icon-sun", render: jr }, Kr = {
|
|
2287
2294
|
version: "1.1",
|
|
2288
2295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2289
2296
|
width: "24",
|
|
2290
2297
|
height: "24",
|
|
2291
2298
|
viewBox: "0 0 24 24"
|
|
2292
2299
|
};
|
|
2293
|
-
function
|
|
2294
|
-
return t(), s("svg",
|
|
2300
|
+
function qr(o, e) {
|
|
2301
|
+
return t(), s("svg", Kr, [...e[0] || (e[0] = [
|
|
2295
2302
|
n("path", {
|
|
2296
2303
|
opacity: "0.8",
|
|
2297
2304
|
fill: "currentColor",
|
|
@@ -2299,10 +2306,10 @@ function Zr(o, e) {
|
|
|
2299
2306
|
}, null, -1)
|
|
2300
2307
|
])]);
|
|
2301
2308
|
}
|
|
2302
|
-
const St = { name: "components-icon-moon", render:
|
|
2309
|
+
const St = { name: "components-icon-moon", render: qr }, Zr = { class: "o-theme-switcher" }, Yr = {
|
|
2303
2310
|
key: 1,
|
|
2304
2311
|
class: "o-theme-switcher-mobile"
|
|
2305
|
-
},
|
|
2312
|
+
}, Xr = /* @__PURE__ */ ne({
|
|
2306
2313
|
__name: "OThemeSwitcher",
|
|
2307
2314
|
props: {
|
|
2308
2315
|
theme: { default: "light" },
|
|
@@ -2314,47 +2321,47 @@ const St = { name: "components-icon-moon", render: Zr }, Yr = { class: "o-theme-
|
|
|
2314
2321
|
},
|
|
2315
2322
|
emits: ["update:theme", "change"],
|
|
2316
2323
|
setup(o, { emit: e }) {
|
|
2317
|
-
const l = o, c = e, { gtPhone: i } = Se(),
|
|
2324
|
+
const l = o, c = e, { gtPhone: i } = Se(), d = de({
|
|
2318
2325
|
get() {
|
|
2319
2326
|
return l.theme;
|
|
2320
2327
|
},
|
|
2321
|
-
set(
|
|
2322
|
-
c("update:theme",
|
|
2328
|
+
set(f) {
|
|
2329
|
+
c("update:theme", f), c("change", f);
|
|
2323
2330
|
}
|
|
2324
|
-
}),
|
|
2325
|
-
|
|
2331
|
+
}), m = de(() => l.type === "common" || l.type === "auto" && i.value), g = () => {
|
|
2332
|
+
d.value = d.value === l.lightValue ? l.darkValue : l.lightValue;
|
|
2326
2333
|
};
|
|
2327
|
-
return (
|
|
2328
|
-
|
|
2334
|
+
return (f, O) => (t(), s("div", Zr, [
|
|
2335
|
+
m.value ? (t(), s("div", {
|
|
2329
2336
|
key: 0,
|
|
2330
2337
|
class: "o-theme-switcher-common",
|
|
2331
2338
|
onClick: g
|
|
2332
2339
|
}, [
|
|
2333
|
-
C(r(
|
|
2334
|
-
default:
|
|
2335
|
-
|
|
2340
|
+
C(r(F), { class: "o-theme-icon" }, {
|
|
2341
|
+
default: h(() => [
|
|
2342
|
+
d.value === o.lightValue ? (t(), k(r(St), { key: 0 })) : (t(), k(r(Tt), { key: 1 }))
|
|
2336
2343
|
]),
|
|
2337
2344
|
_: 1
|
|
2338
2345
|
})
|
|
2339
|
-
])) : (t(), s("div",
|
|
2340
|
-
C(r(
|
|
2341
|
-
modelValue:
|
|
2342
|
-
"onUpdate:modelValue": O[0] || (O[0] = (p) =>
|
|
2346
|
+
])) : (t(), s("div", Yr, [
|
|
2347
|
+
C(r(M1), {
|
|
2348
|
+
modelValue: d.value,
|
|
2349
|
+
"onUpdate:modelValue": O[0] || (O[0] = (p) => d.value = p),
|
|
2343
2350
|
class: "o-theme-switch",
|
|
2344
2351
|
"checked-value": o.darkValue,
|
|
2345
2352
|
"unchecked-value": o.lightValue
|
|
2346
2353
|
}, {
|
|
2347
|
-
on:
|
|
2348
|
-
C(r(
|
|
2349
|
-
default:
|
|
2354
|
+
on: h(() => [
|
|
2355
|
+
C(r(F), { class: "o-theme-icon" }, {
|
|
2356
|
+
default: h(() => [
|
|
2350
2357
|
C(r(Tt))
|
|
2351
2358
|
]),
|
|
2352
2359
|
_: 1
|
|
2353
2360
|
})
|
|
2354
2361
|
]),
|
|
2355
|
-
off:
|
|
2356
|
-
C(r(
|
|
2357
|
-
default:
|
|
2362
|
+
off: h(() => [
|
|
2363
|
+
C(r(F), { class: "o-theme-icon" }, {
|
|
2364
|
+
default: h(() => [
|
|
2358
2365
|
C(r(St))
|
|
2359
2366
|
]),
|
|
2360
2367
|
_: 1
|
|
@@ -2365,7 +2372,7 @@ const St = { name: "components-icon-moon", render: Zr }, Yr = { class: "o-theme-
|
|
|
2365
2372
|
]))
|
|
2366
2373
|
]));
|
|
2367
2374
|
}
|
|
2368
|
-
}),
|
|
2375
|
+
}), Jr = /* @__PURE__ */ he(Xr, [["__scopeId", "data-v-9aaa2610"]]);
|
|
2369
2376
|
/*! @license DOMPurify 2.5.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.9/LICENSE */
|
|
2370
2377
|
function Te(o) {
|
|
2371
2378
|
"@babel/helpers - typeof";
|
|
@@ -2380,7 +2387,7 @@ function zt(o, e) {
|
|
|
2380
2387
|
return c.__proto__ = i, c;
|
|
2381
2388
|
}, zt(o, e);
|
|
2382
2389
|
}
|
|
2383
|
-
function
|
|
2390
|
+
function Qr() {
|
|
2384
2391
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
2385
2392
|
if (typeof Proxy == "function") return !0;
|
|
2386
2393
|
try {
|
|
@@ -2391,23 +2398,23 @@ function e0() {
|
|
|
2391
2398
|
}
|
|
2392
2399
|
}
|
|
2393
2400
|
function dt(o, e, l) {
|
|
2394
|
-
return
|
|
2401
|
+
return Qr() ? dt = Reflect.construct : dt = function(i, d, m) {
|
|
2395
2402
|
var g = [null];
|
|
2396
|
-
g.push.apply(g,
|
|
2397
|
-
var
|
|
2398
|
-
return
|
|
2403
|
+
g.push.apply(g, d);
|
|
2404
|
+
var f = Function.bind.apply(i, g), O = new f();
|
|
2405
|
+
return m && zt(O, m.prototype), O;
|
|
2399
2406
|
}, dt.apply(null, arguments);
|
|
2400
2407
|
}
|
|
2401
2408
|
function ke(o) {
|
|
2402
|
-
return
|
|
2409
|
+
return el(o) || tl(o) || ol(o) || nl();
|
|
2403
2410
|
}
|
|
2404
|
-
function
|
|
2411
|
+
function el(o) {
|
|
2405
2412
|
if (Array.isArray(o)) return Ht(o);
|
|
2406
2413
|
}
|
|
2407
|
-
function
|
|
2414
|
+
function tl(o) {
|
|
2408
2415
|
if (typeof Symbol < "u" && o[Symbol.iterator] != null || o["@@iterator"] != null) return Array.from(o);
|
|
2409
2416
|
}
|
|
2410
|
-
function
|
|
2417
|
+
function ol(o, e) {
|
|
2411
2418
|
if (o) {
|
|
2412
2419
|
if (typeof o == "string") return Ht(o, e);
|
|
2413
2420
|
var l = Object.prototype.toString.call(o).slice(8, -1);
|
|
@@ -2420,15 +2427,15 @@ function Ht(o, e) {
|
|
|
2420
2427
|
for (var l = 0, c = new Array(e); l < e; l++) c[l] = o[l];
|
|
2421
2428
|
return c;
|
|
2422
2429
|
}
|
|
2423
|
-
function
|
|
2430
|
+
function nl() {
|
|
2424
2431
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2425
2432
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2426
2433
|
}
|
|
2427
|
-
var
|
|
2428
|
-
|
|
2434
|
+
var al = Object.hasOwnProperty, g1 = Object.setPrototypeOf, sl = Object.isFrozen, rl = Object.getPrototypeOf, ll = Object.getOwnPropertyDescriptor, fe = Object.freeze, _e = Object.seal, il = Object.create, z1 = typeof Reflect < "u" && Reflect, ht = z1.apply, Ut = z1.construct;
|
|
2435
|
+
ht || (ht = function(e, l, c) {
|
|
2429
2436
|
return e.apply(l, c);
|
|
2430
2437
|
});
|
|
2431
|
-
|
|
2438
|
+
fe || (fe = function(e) {
|
|
2432
2439
|
return e;
|
|
2433
2440
|
});
|
|
2434
2441
|
_e || (_e = function(e) {
|
|
@@ -2437,72 +2444,72 @@ _e || (_e = function(e) {
|
|
|
2437
2444
|
Ut || (Ut = function(e, l) {
|
|
2438
2445
|
return dt(e, ke(l));
|
|
2439
2446
|
});
|
|
2440
|
-
var
|
|
2447
|
+
var cl = ge(Array.prototype.forEach), C1 = ge(Array.prototype.pop), Ye = ge(Array.prototype.push), ft = ge(String.prototype.toLowerCase), Mt = ge(String.prototype.toString), y1 = ge(String.prototype.match), ye = ge(String.prototype.replace), ul = ge(String.prototype.indexOf), dl = ge(String.prototype.trim), ie = ge(RegExp.prototype.test), It = fl(TypeError);
|
|
2441
2448
|
function ge(o) {
|
|
2442
2449
|
return function(e) {
|
|
2443
2450
|
for (var l = arguments.length, c = new Array(l > 1 ? l - 1 : 0), i = 1; i < l; i++)
|
|
2444
2451
|
c[i - 1] = arguments[i];
|
|
2445
|
-
return
|
|
2452
|
+
return ht(o, e, c);
|
|
2446
2453
|
};
|
|
2447
2454
|
}
|
|
2448
|
-
function
|
|
2455
|
+
function fl(o) {
|
|
2449
2456
|
return function() {
|
|
2450
2457
|
for (var e = arguments.length, l = new Array(e), c = 0; c < e; c++)
|
|
2451
2458
|
l[c] = arguments[c];
|
|
2452
2459
|
return Ut(o, l);
|
|
2453
2460
|
};
|
|
2454
2461
|
}
|
|
2455
|
-
function
|
|
2462
|
+
function R(o, e, l) {
|
|
2456
2463
|
var c;
|
|
2457
|
-
l = (c = l) !== null && c !== void 0 ? c :
|
|
2464
|
+
l = (c = l) !== null && c !== void 0 ? c : ft, g1 && g1(o, null);
|
|
2458
2465
|
for (var i = e.length; i--; ) {
|
|
2459
|
-
var
|
|
2460
|
-
if (typeof
|
|
2461
|
-
var
|
|
2462
|
-
|
|
2466
|
+
var d = e[i];
|
|
2467
|
+
if (typeof d == "string") {
|
|
2468
|
+
var m = l(d);
|
|
2469
|
+
m !== d && (sl(e) || (e[i] = m), d = m);
|
|
2463
2470
|
}
|
|
2464
|
-
o[
|
|
2471
|
+
o[d] = !0;
|
|
2465
2472
|
}
|
|
2466
2473
|
return o;
|
|
2467
2474
|
}
|
|
2468
2475
|
function xe(o) {
|
|
2469
|
-
var e =
|
|
2476
|
+
var e = il(null), l;
|
|
2470
2477
|
for (l in o)
|
|
2471
|
-
|
|
2478
|
+
ht(al, o, [l]) === !0 && (e[l] = o[l]);
|
|
2472
2479
|
return e;
|
|
2473
2480
|
}
|
|
2474
2481
|
function rt(o, e) {
|
|
2475
2482
|
for (; o !== null; ) {
|
|
2476
|
-
var l =
|
|
2483
|
+
var l = ll(o, e);
|
|
2477
2484
|
if (l) {
|
|
2478
2485
|
if (l.get)
|
|
2479
2486
|
return ge(l.get);
|
|
2480
2487
|
if (typeof l.value == "function")
|
|
2481
2488
|
return ge(l.value);
|
|
2482
2489
|
}
|
|
2483
|
-
o =
|
|
2490
|
+
o = rl(o);
|
|
2484
2491
|
}
|
|
2485
2492
|
function c(i) {
|
|
2486
2493
|
return console.warn("fallback value for", i), null;
|
|
2487
2494
|
}
|
|
2488
2495
|
return c;
|
|
2489
2496
|
}
|
|
2490
|
-
var k1 =
|
|
2497
|
+
var k1 = fe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dt = fe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), xt = fe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), hl = fe(["animate", "color-profile", "cursor", "discard", "fedropshadow", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Nt = fe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover"]), vl = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), w1 = fe(["#text"]), b1 = fe(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), Rt = fe(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), $1 = fe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), lt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), pl = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ml = _e(/<%[\w\W]*|[\w\W]*%>/gm), _l = _e(/\${[\w\W]*}/gm), gl = _e(/^data-[\-\w.\u00B7-\uFFFF]+$/), Cl = _e(/^aria-[\-\w]+$/), yl = _e(
|
|
2491
2498
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
2492
2499
|
// eslint-disable-line no-useless-escape
|
|
2493
|
-
),
|
|
2500
|
+
), kl = _e(/^(?:\w+script|data):/i), wl = _e(
|
|
2494
2501
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
2495
2502
|
// eslint-disable-line no-control-regex
|
|
2496
|
-
),
|
|
2503
|
+
), bl = _e(/^html$/i), $l = _e(/^[a-z][.\w]*(-[.\w]+)+$/i), Ll = function() {
|
|
2497
2504
|
return typeof window > "u" ? null : window;
|
|
2498
|
-
},
|
|
2505
|
+
}, Al = function(e, l) {
|
|
2499
2506
|
if (Te(e) !== "object" || typeof e.createPolicy != "function")
|
|
2500
2507
|
return null;
|
|
2501
2508
|
var c = null, i = "data-tt-policy-suffix";
|
|
2502
2509
|
l.currentScript && l.currentScript.hasAttribute(i) && (c = l.currentScript.getAttribute(i));
|
|
2503
|
-
var
|
|
2510
|
+
var d = "dompurify" + (c ? "#" + c : "");
|
|
2504
2511
|
try {
|
|
2505
|
-
return e.createPolicy(
|
|
2512
|
+
return e.createPolicy(d, {
|
|
2506
2513
|
createHTML: function(g) {
|
|
2507
2514
|
return g;
|
|
2508
2515
|
},
|
|
@@ -2511,28 +2518,28 @@ var k1 = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "aud
|
|
|
2511
2518
|
}
|
|
2512
2519
|
});
|
|
2513
2520
|
} catch {
|
|
2514
|
-
return console.warn("TrustedTypes policy " +
|
|
2521
|
+
return console.warn("TrustedTypes policy " + d + " could not be created."), null;
|
|
2515
2522
|
}
|
|
2516
2523
|
};
|
|
2517
2524
|
function H1() {
|
|
2518
|
-
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
2525
|
+
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ll(), e = function(a) {
|
|
2519
2526
|
return H1(a);
|
|
2520
2527
|
};
|
|
2521
2528
|
if (e.version = "2.5.9", e.removed = [], !o || !o.document || o.document.nodeType !== 9)
|
|
2522
2529
|
return e.isSupported = !1, e;
|
|
2523
|
-
var l = o.document, c = o.document, i = o.DocumentFragment,
|
|
2524
|
-
if (typeof
|
|
2525
|
-
var
|
|
2526
|
-
|
|
2530
|
+
var l = o.document, c = o.document, i = o.DocumentFragment, d = o.HTMLTemplateElement, m = o.Node, g = o.Element, f = o.NodeFilter, O = o.NamedNodeMap, p = O === void 0 ? o.NamedNodeMap || o.MozNamedAttrMap : O, w = o.HTMLFormElement, x = o.DOMParser, T = o.trustedTypes, I = g.prototype, D = rt(I, "cloneNode"), $ = rt(I, "nextSibling"), N = rt(I, "childNodes"), X = rt(I, "parentNode");
|
|
2531
|
+
if (typeof d == "function") {
|
|
2532
|
+
var L = c.createElement("template");
|
|
2533
|
+
L.content && L.content.ownerDocument && (c = L.content.ownerDocument);
|
|
2527
2534
|
}
|
|
2528
|
-
var H =
|
|
2535
|
+
var H = Al(T, l), B = H ? H.createHTML("") : "", V = c, Q = V.implementation, Ce = V.createNodeIterator, J = V.createDocumentFragment, Z = V.getElementsByTagName, W = l.importNode, A = {};
|
|
2529
2536
|
try {
|
|
2530
|
-
|
|
2537
|
+
A = xe(c).documentMode ? c.documentMode : {};
|
|
2531
2538
|
} catch {
|
|
2532
2539
|
}
|
|
2533
|
-
var
|
|
2534
|
-
e.isSupported = typeof
|
|
2535
|
-
var
|
|
2540
|
+
var M = {};
|
|
2541
|
+
e.isSupported = typeof X == "function" && Q && Q.createHTMLDocument !== void 0 && A !== 9;
|
|
2542
|
+
var Y = pl, G = ml, q = _l, ve = gl, E = Cl, $e = kl, be = wl, je = $l, vt = yl, ae = null, Vt = R({}, [].concat(ke(k1), ke(Dt), ke(xt), ke(Nt), ke(w1))), se = null, Wt = R({}, [].concat(ke(b1), ke(Rt), ke($1), ke(lt))), ee = Object.seal(Object.create(null, {
|
|
2536
2543
|
tagNameCheck: {
|
|
2537
2544
|
writable: !0,
|
|
2538
2545
|
configurable: !1,
|
|
@@ -2551,37 +2558,37 @@ function H1() {
|
|
|
2551
2558
|
enumerable: !0,
|
|
2552
2559
|
value: !1
|
|
2553
2560
|
}
|
|
2554
|
-
})), Ke = null, pt = null, Gt = !0, mt = !0, jt = !1, Kt = !0, Pe = !1, _t = !0,
|
|
2561
|
+
})), Ke = null, pt = null, Gt = !0, mt = !0, jt = !1, Kt = !0, Pe = !1, _t = !0, Me = !1, gt = !1, Ct = !1, ze = !1, Qe = !1, et = !1, qt = !0, Zt = !1, F1 = "user-content-", yt = !0, qe = !1, He = {}, Ue = null, Yt = R({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Xt = null, Jt = R({}, ["audio", "video", "img", "source", "image", "track"]), kt = null, Qt = R({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), tt = "http://www.w3.org/1998/Math/MathML", ot = "http://www.w3.org/2000/svg", Le = "http://www.w3.org/1999/xhtml", Fe = Le, wt = !1, bt = null, B1 = R({}, [tt, ot, Le], Mt), Ie, V1 = ["application/xhtml+xml", "text/html"], W1 = "text/html", re, Be = null, G1 = c.createElement("form"), e1 = function(a) {
|
|
2555
2562
|
return a instanceof RegExp || a instanceof Function;
|
|
2556
2563
|
}, $t = function(a) {
|
|
2557
|
-
Be && Be === a || ((!a || Te(a) !== "object") && (a = {}), a = xe(a),
|
|
2558
|
-
V1.indexOf(a.PARSER_MEDIA_TYPE) === -1 ?
|
|
2564
|
+
Be && Be === a || ((!a || Te(a) !== "object") && (a = {}), a = xe(a), Ie = // eslint-disable-next-line unicorn/prefer-includes
|
|
2565
|
+
V1.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? Ie = W1 : Ie = a.PARSER_MEDIA_TYPE, re = Ie === "application/xhtml+xml" ? Mt : ft, ae = "ALLOWED_TAGS" in a ? R({}, a.ALLOWED_TAGS, re) : Vt, se = "ALLOWED_ATTR" in a ? R({}, a.ALLOWED_ATTR, re) : Wt, bt = "ALLOWED_NAMESPACES" in a ? R({}, a.ALLOWED_NAMESPACES, Mt) : B1, kt = "ADD_URI_SAFE_ATTR" in a ? R(
|
|
2559
2566
|
xe(Qt),
|
|
2560
2567
|
// eslint-disable-line indent
|
|
2561
2568
|
a.ADD_URI_SAFE_ATTR,
|
|
2562
2569
|
// eslint-disable-line indent
|
|
2563
2570
|
re
|
|
2564
2571
|
// eslint-disable-line indent
|
|
2565
|
-
) : Qt, Xt = "ADD_DATA_URI_TAGS" in a ?
|
|
2572
|
+
) : Qt, Xt = "ADD_DATA_URI_TAGS" in a ? R(
|
|
2566
2573
|
xe(Jt),
|
|
2567
2574
|
// eslint-disable-line indent
|
|
2568
2575
|
a.ADD_DATA_URI_TAGS,
|
|
2569
2576
|
// eslint-disable-line indent
|
|
2570
2577
|
re
|
|
2571
2578
|
// eslint-disable-line indent
|
|
2572
|
-
) : Jt, Ue = "FORBID_CONTENTS" in a ?
|
|
2573
|
-
}, t1 =
|
|
2574
|
-
|
|
2575
|
-
var Lt =
|
|
2576
|
-
|
|
2579
|
+
) : Jt, Ue = "FORBID_CONTENTS" in a ? R({}, a.FORBID_CONTENTS, re) : Yt, Ke = "FORBID_TAGS" in a ? R({}, a.FORBID_TAGS, re) : {}, pt = "FORBID_ATTR" in a ? R({}, a.FORBID_ATTR, re) : {}, He = "USE_PROFILES" in a ? a.USE_PROFILES : !1, Gt = a.ALLOW_ARIA_ATTR !== !1, mt = a.ALLOW_DATA_ATTR !== !1, jt = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Kt = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Pe = a.SAFE_FOR_TEMPLATES || !1, _t = a.SAFE_FOR_XML !== !1, Me = a.WHOLE_DOCUMENT || !1, ze = a.RETURN_DOM || !1, Qe = a.RETURN_DOM_FRAGMENT || !1, et = a.RETURN_TRUSTED_TYPE || !1, Ct = a.FORCE_BODY || !1, qt = a.SANITIZE_DOM !== !1, Zt = a.SANITIZE_NAMED_PROPS || !1, yt = a.KEEP_CONTENT !== !1, qe = a.IN_PLACE || !1, vt = a.ALLOWED_URI_REGEXP || vt, Fe = a.NAMESPACE || Le, ee = a.CUSTOM_ELEMENT_HANDLING || {}, a.CUSTOM_ELEMENT_HANDLING && e1(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ee.tagNameCheck = a.CUSTOM_ELEMENT_HANDLING.tagNameCheck), a.CUSTOM_ELEMENT_HANDLING && e1(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ee.attributeNameCheck = a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ee.allowCustomizedBuiltInElements = a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Pe && (mt = !1), Qe && (ze = !0), He && (ae = R({}, ke(w1)), se = [], He.html === !0 && (R(ae, k1), R(se, b1)), He.svg === !0 && (R(ae, Dt), R(se, Rt), R(se, lt)), He.svgFilters === !0 && (R(ae, xt), R(se, Rt), R(se, lt)), He.mathMl === !0 && (R(ae, Nt), R(se, $1), R(se, lt))), a.ADD_TAGS && (ae === Vt && (ae = xe(ae)), R(ae, a.ADD_TAGS, re)), a.ADD_ATTR && (se === Wt && (se = xe(se)), R(se, a.ADD_ATTR, re)), a.ADD_URI_SAFE_ATTR && R(kt, a.ADD_URI_SAFE_ATTR, re), a.FORBID_CONTENTS && (Ue === Yt && (Ue = xe(Ue)), R(Ue, a.FORBID_CONTENTS, re)), yt && (ae["#text"] = !0), Me && R(ae, ["html", "head", "body"]), ae.table && (R(ae, ["tbody"]), delete Ke.tbody), fe && fe(a), Be = a);
|
|
2580
|
+
}, t1 = R({}, ["mi", "mo", "mn", "ms", "mtext"]), o1 = R({}, ["annotation-xml"]), j1 = R({}, ["title", "style", "font", "a", "script"]), nt = R({}, Dt);
|
|
2581
|
+
R(nt, xt), R(nt, hl);
|
|
2582
|
+
var Lt = R({}, Nt);
|
|
2583
|
+
R(Lt, vl);
|
|
2577
2584
|
var K1 = function(a) {
|
|
2578
|
-
var v =
|
|
2585
|
+
var v = X(a);
|
|
2579
2586
|
(!v || !v.tagName) && (v = {
|
|
2580
2587
|
namespaceURI: Fe,
|
|
2581
2588
|
tagName: "template"
|
|
2582
2589
|
});
|
|
2583
|
-
var y =
|
|
2584
|
-
return bt[a.namespaceURI] ? a.namespaceURI === ot ? v.namespaceURI === Le ? y === "svg" : v.namespaceURI === tt ? y === "svg" && (
|
|
2590
|
+
var y = ft(a.tagName), j = ft(v.tagName);
|
|
2591
|
+
return bt[a.namespaceURI] ? a.namespaceURI === ot ? v.namespaceURI === Le ? y === "svg" : v.namespaceURI === tt ? y === "svg" && (j === "annotation-xml" || t1[j]) : !!nt[y] : a.namespaceURI === tt ? v.namespaceURI === Le ? y === "math" : v.namespaceURI === ot ? y === "math" && o1[j] : !!Lt[y] : a.namespaceURI === Le ? v.namespaceURI === ot && !o1[j] || v.namespaceURI === tt && !t1[j] ? !1 : !Lt[y] && (j1[y] || !nt[y]) : !!(Ie === "application/xhtml+xml" && bt[a.namespaceURI]) : !1;
|
|
2585
2592
|
}, me = function(a) {
|
|
2586
2593
|
Ye(e.removed, {
|
|
2587
2594
|
element: a
|
|
@@ -2590,7 +2597,7 @@ function H1() {
|
|
|
2590
2597
|
a.parentNode.removeChild(a);
|
|
2591
2598
|
} catch {
|
|
2592
2599
|
try {
|
|
2593
|
-
a.outerHTML =
|
|
2600
|
+
a.outerHTML = B;
|
|
2594
2601
|
} catch {
|
|
2595
2602
|
a.remove();
|
|
2596
2603
|
}
|
|
@@ -2623,41 +2630,41 @@ function H1() {
|
|
|
2623
2630
|
if (Ct)
|
|
2624
2631
|
a = "<remove></remove>" + a;
|
|
2625
2632
|
else {
|
|
2626
|
-
var
|
|
2627
|
-
y =
|
|
2633
|
+
var j = y1(a, /^[\r\n\t ]+/);
|
|
2634
|
+
y = j && j[0];
|
|
2628
2635
|
}
|
|
2629
|
-
|
|
2636
|
+
Ie === "application/xhtml+xml" && Fe === Le && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
|
|
2630
2637
|
var pe = H ? H.createHTML(a) : a;
|
|
2631
2638
|
if (Fe === Le)
|
|
2632
2639
|
try {
|
|
2633
|
-
v = new
|
|
2640
|
+
v = new x().parseFromString(pe, Ie);
|
|
2634
2641
|
} catch {
|
|
2635
2642
|
}
|
|
2636
2643
|
if (!v || !v.documentElement) {
|
|
2637
|
-
v =
|
|
2644
|
+
v = Q.createDocument(Fe, "template", null);
|
|
2638
2645
|
try {
|
|
2639
|
-
v.documentElement.innerHTML = wt ?
|
|
2646
|
+
v.documentElement.innerHTML = wt ? B : pe;
|
|
2640
2647
|
} catch {
|
|
2641
2648
|
}
|
|
2642
2649
|
}
|
|
2643
|
-
var
|
|
2644
|
-
return a && y &&
|
|
2650
|
+
var ue = v.body || v.documentElement;
|
|
2651
|
+
return a && y && ue.insertBefore(c.createTextNode(y), ue.childNodes[0] || null), Fe === Le ? Z.call(v, Me ? "html" : "body")[0] : Me ? v.documentElement : ue;
|
|
2645
2652
|
}, a1 = function(a) {
|
|
2646
2653
|
return Ce.call(
|
|
2647
2654
|
a.ownerDocument || a,
|
|
2648
2655
|
a,
|
|
2649
2656
|
// eslint-disable-next-line no-bitwise
|
|
2650
|
-
|
|
2657
|
+
f.SHOW_ELEMENT | f.SHOW_COMMENT | f.SHOW_TEXT | f.SHOW_PROCESSING_INSTRUCTION | f.SHOW_CDATA_SECTION,
|
|
2651
2658
|
null,
|
|
2652
2659
|
!1
|
|
2653
2660
|
);
|
|
2654
2661
|
}, At = function(a) {
|
|
2655
|
-
return a instanceof
|
|
2662
|
+
return a instanceof w && (typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || !(a.attributes instanceof p) || typeof a.removeAttribute != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function");
|
|
2656
2663
|
}, Ze = function(a) {
|
|
2657
|
-
return Te(
|
|
2664
|
+
return Te(m) === "object" ? a instanceof m : a && Te(a) === "object" && typeof a.nodeType == "number" && typeof a.nodeName == "string";
|
|
2658
2665
|
}, Ae = function(a, v, y) {
|
|
2659
|
-
|
|
2660
|
-
|
|
2666
|
+
M[a] && cl(M[a], function(j) {
|
|
2667
|
+
j.call(e, v, y, Be);
|
|
2661
2668
|
});
|
|
2662
2669
|
}, s1 = function(a) {
|
|
2663
2670
|
var v;
|
|
@@ -2670,19 +2677,19 @@ function H1() {
|
|
|
2670
2677
|
}), a.hasChildNodes() && !Ze(a.firstElementChild) && (!Ze(a.content) || !Ze(a.content.firstElementChild)) && ie(/<[/\w]/g, a.innerHTML) && ie(/<[/\w]/g, a.textContent) || y === "select" && ie(/<template/i, a.innerHTML) || a.nodeType === 7 || _t && a.nodeType === 8 && ie(/<[/\w]/g, a.data))
|
|
2671
2678
|
return me(a), !0;
|
|
2672
2679
|
if (!ae[y] || Ke[y]) {
|
|
2673
|
-
if (!Ke[y] && l1(y) && (
|
|
2680
|
+
if (!Ke[y] && l1(y) && (ee.tagNameCheck instanceof RegExp && ie(ee.tagNameCheck, y) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(y)))
|
|
2674
2681
|
return !1;
|
|
2675
2682
|
if (yt && !Ue[y]) {
|
|
2676
|
-
var
|
|
2677
|
-
if (pe &&
|
|
2678
|
-
for (var
|
|
2683
|
+
var j = X(a) || a.parentNode, pe = N(a) || a.childNodes;
|
|
2684
|
+
if (pe && j)
|
|
2685
|
+
for (var ue = pe.length, le = ue - 1; le >= 0; --le) {
|
|
2679
2686
|
var De = D(pe[le], !0);
|
|
2680
|
-
De.__removalCount = (a.__removalCount || 0) + 1,
|
|
2687
|
+
De.__removalCount = (a.__removalCount || 0) + 1, j.insertBefore(De, $(a));
|
|
2681
2688
|
}
|
|
2682
2689
|
}
|
|
2683
2690
|
return me(a), !0;
|
|
2684
2691
|
}
|
|
2685
|
-
return a instanceof g && !K1(a) || (y === "noscript" || y === "noembed" || y === "noframes") && ie(/<\/no(script|embed|frames)/i, a.innerHTML) ? (me(a), !0) : (Pe && a.nodeType === 3 && (v = a.textContent, v = ye(v,
|
|
2692
|
+
return a instanceof g && !K1(a) || (y === "noscript" || y === "noembed" || y === "noframes") && ie(/<\/no(script|embed|frames)/i, a.innerHTML) ? (me(a), !0) : (Pe && a.nodeType === 3 && (v = a.textContent, v = ye(v, Y, " "), v = ye(v, G, " "), v = ye(v, q, " "), a.textContent !== v && (Ye(e.removed, {
|
|
2686
2693
|
element: a.cloneNode()
|
|
2687
2694
|
}), a.textContent = v)), Ae("afterSanitizeElements", a, null), !1);
|
|
2688
2695
|
}, r1 = function(a, v, y) {
|
|
@@ -2695,13 +2702,13 @@ function H1() {
|
|
|
2695
2702
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
2696
2703
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
2697
2704
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
2698
|
-
!(l1(a) && (
|
|
2705
|
+
!(l1(a) && (ee.tagNameCheck instanceof RegExp && ie(ee.tagNameCheck, a) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(a)) && (ee.attributeNameCheck instanceof RegExp && ie(ee.attributeNameCheck, v) || ee.attributeNameCheck instanceof Function && ee.attributeNameCheck(v)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
2699
2706
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
2700
|
-
v === "is" &&
|
|
2707
|
+
v === "is" && ee.allowCustomizedBuiltInElements && (ee.tagNameCheck instanceof RegExp && ie(ee.tagNameCheck, y) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(y)))
|
|
2701
2708
|
) return !1;
|
|
2702
2709
|
} else if (!kt[v]) {
|
|
2703
2710
|
if (!ie(vt, ye(y, be, ""))) {
|
|
2704
|
-
if (!((v === "src" || v === "xlink:href" || v === "href") && a !== "script" &&
|
|
2711
|
+
if (!((v === "src" || v === "xlink:href" || v === "href") && a !== "script" && ul(y, "data:") === 0 && Xt[a])) {
|
|
2705
2712
|
if (!(jt && !ie($e, ye(y, be, "")))) {
|
|
2706
2713
|
if (y)
|
|
2707
2714
|
return !1;
|
|
@@ -2715,33 +2722,33 @@ function H1() {
|
|
|
2715
2722
|
}, l1 = function(a) {
|
|
2716
2723
|
return a !== "annotation-xml" && y1(a, je);
|
|
2717
2724
|
}, i1 = function(a) {
|
|
2718
|
-
var v, y,
|
|
2725
|
+
var v, y, j, pe;
|
|
2719
2726
|
Ae("beforeSanitizeAttributes", a, null);
|
|
2720
|
-
var
|
|
2721
|
-
if (!(!
|
|
2727
|
+
var ue = a.attributes;
|
|
2728
|
+
if (!(!ue || At(a))) {
|
|
2722
2729
|
var le = {
|
|
2723
2730
|
attrName: "",
|
|
2724
2731
|
attrValue: "",
|
|
2725
2732
|
keepAttr: !0,
|
|
2726
2733
|
allowedAttributes: se
|
|
2727
2734
|
};
|
|
2728
|
-
for (pe =
|
|
2729
|
-
v =
|
|
2735
|
+
for (pe = ue.length; pe--; ) {
|
|
2736
|
+
v = ue[pe];
|
|
2730
2737
|
var De = v, oe = De.name, Et = De.namespaceURI;
|
|
2731
|
-
if (y = oe === "value" ? v.value :
|
|
2738
|
+
if (y = oe === "value" ? v.value : dl(v.value), j = re(oe), le.attrName = j, le.attrValue = y, le.keepAttr = !0, le.forceKeepAttr = void 0, Ae("uponSanitizeAttribute", a, le), y = le.attrValue, !le.forceKeepAttr && (at(oe, a), !!le.keepAttr)) {
|
|
2732
2739
|
if (!Kt && ie(/\/>/i, y)) {
|
|
2733
2740
|
at(oe, a);
|
|
2734
2741
|
continue;
|
|
2735
2742
|
}
|
|
2736
|
-
Pe && (y = ye(y,
|
|
2743
|
+
Pe && (y = ye(y, Y, " "), y = ye(y, G, " "), y = ye(y, q, " "));
|
|
2737
2744
|
var c1 = re(a.nodeName);
|
|
2738
|
-
if (r1(c1,
|
|
2739
|
-
if (Zt && (
|
|
2745
|
+
if (r1(c1, j, y)) {
|
|
2746
|
+
if (Zt && (j === "id" || j === "name") && (at(oe, a), y = F1 + y), _t && ie(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, y)) {
|
|
2740
2747
|
at(oe, a);
|
|
2741
2748
|
continue;
|
|
2742
2749
|
}
|
|
2743
2750
|
if (H && Te(T) === "object" && typeof T.getAttributeType == "function" && !Et)
|
|
2744
|
-
switch (T.getAttributeType(c1,
|
|
2751
|
+
switch (T.getAttributeType(c1, j)) {
|
|
2745
2752
|
case "TrustedHTML": {
|
|
2746
2753
|
y = H.createHTML(y);
|
|
2747
2754
|
break;
|
|
@@ -2767,13 +2774,13 @@ function H1() {
|
|
|
2767
2774
|
Ae("afterSanitizeShadowDOM", a, null);
|
|
2768
2775
|
};
|
|
2769
2776
|
return e.sanitize = function(b) {
|
|
2770
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, v, y,
|
|
2777
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, v, y, j, pe, ue;
|
|
2771
2778
|
if (wt = !b, wt && (b = "<!-->"), typeof b != "string" && !Ze(b))
|
|
2772
2779
|
if (typeof b.toString == "function") {
|
|
2773
2780
|
if (b = b.toString(), typeof b != "string")
|
|
2774
|
-
throw
|
|
2781
|
+
throw It("dirty is not a string, aborting");
|
|
2775
2782
|
} else
|
|
2776
|
-
throw
|
|
2783
|
+
throw It("toString is not a function");
|
|
2777
2784
|
if (!e.isSupported) {
|
|
2778
2785
|
if (Te(o.toStaticHTML) === "object" || typeof o.toStaticHTML == "function") {
|
|
2779
2786
|
if (typeof b == "string")
|
|
@@ -2787,54 +2794,54 @@ function H1() {
|
|
|
2787
2794
|
if (b.nodeName) {
|
|
2788
2795
|
var le = re(b.nodeName);
|
|
2789
2796
|
if (!ae[le] || Ke[le])
|
|
2790
|
-
throw
|
|
2797
|
+
throw It("root node is forbidden and cannot be sanitized in-place");
|
|
2791
2798
|
}
|
|
2792
|
-
} else if (b instanceof
|
|
2799
|
+
} else if (b instanceof m)
|
|
2793
2800
|
v = n1("<!---->"), y = v.ownerDocument.importNode(b, !0), y.nodeType === 1 && y.nodeName === "BODY" || y.nodeName === "HTML" ? v = y : v.appendChild(y);
|
|
2794
2801
|
else {
|
|
2795
|
-
if (!ze && !Pe && !
|
|
2802
|
+
if (!ze && !Pe && !Me && // eslint-disable-next-line unicorn/prefer-includes
|
|
2796
2803
|
b.indexOf("<") === -1)
|
|
2797
2804
|
return H && et ? H.createHTML(b) : b;
|
|
2798
2805
|
if (v = n1(b), !v)
|
|
2799
|
-
return ze ? null : et ?
|
|
2806
|
+
return ze ? null : et ? B : "";
|
|
2800
2807
|
}
|
|
2801
2808
|
v && Ct && me(v.firstChild);
|
|
2802
|
-
for (var De = a1(qe ? b : v);
|
|
2803
|
-
|
|
2809
|
+
for (var De = a1(qe ? b : v); j = De.nextNode(); )
|
|
2810
|
+
j.nodeType === 3 && j === pe || (s1(j), i1(j), j.content instanceof i && q1(j.content), pe = j);
|
|
2804
2811
|
if (pe = null, qe)
|
|
2805
2812
|
return b;
|
|
2806
2813
|
if (ze) {
|
|
2807
2814
|
if (Qe)
|
|
2808
|
-
for (
|
|
2809
|
-
|
|
2815
|
+
for (ue = J.call(v.ownerDocument); v.firstChild; )
|
|
2816
|
+
ue.appendChild(v.firstChild);
|
|
2810
2817
|
else
|
|
2811
|
-
|
|
2812
|
-
return (se.shadowroot || se.shadowrootmod) && (
|
|
2818
|
+
ue = v;
|
|
2819
|
+
return (se.shadowroot || se.shadowrootmod) && (ue = W.call(l, ue, !0)), ue;
|
|
2813
2820
|
}
|
|
2814
|
-
var oe =
|
|
2815
|
-
return
|
|
2816
|
-
` + oe), Pe && (oe = ye(oe,
|
|
2821
|
+
var oe = Me ? v.outerHTML : v.innerHTML;
|
|
2822
|
+
return Me && ae["!doctype"] && v.ownerDocument && v.ownerDocument.doctype && v.ownerDocument.doctype.name && ie(bl, v.ownerDocument.doctype.name) && (oe = "<!DOCTYPE " + v.ownerDocument.doctype.name + `>
|
|
2823
|
+
` + oe), Pe && (oe = ye(oe, Y, " "), oe = ye(oe, G, " "), oe = ye(oe, q, " ")), H && et ? H.createHTML(oe) : oe;
|
|
2817
2824
|
}, e.setConfig = function(b) {
|
|
2818
2825
|
$t(b), gt = !0;
|
|
2819
2826
|
}, e.clearConfig = function() {
|
|
2820
2827
|
Be = null, gt = !1;
|
|
2821
2828
|
}, e.isValidAttribute = function(b, a, v) {
|
|
2822
2829
|
Be || $t({});
|
|
2823
|
-
var y = re(b),
|
|
2824
|
-
return r1(y,
|
|
2830
|
+
var y = re(b), j = re(a);
|
|
2831
|
+
return r1(y, j, v);
|
|
2825
2832
|
}, e.addHook = function(b, a) {
|
|
2826
|
-
typeof a == "function" && (
|
|
2833
|
+
typeof a == "function" && (M[b] = M[b] || [], Ye(M[b], a));
|
|
2827
2834
|
}, e.removeHook = function(b) {
|
|
2828
|
-
if (
|
|
2829
|
-
return C1(
|
|
2835
|
+
if (M[b])
|
|
2836
|
+
return C1(M[b]);
|
|
2830
2837
|
}, e.removeHooks = function(b) {
|
|
2831
|
-
|
|
2838
|
+
M[b] && (M[b] = []);
|
|
2832
2839
|
}, e.removeAllHooks = function() {
|
|
2833
|
-
|
|
2840
|
+
M = {};
|
|
2834
2841
|
}, e;
|
|
2835
2842
|
}
|
|
2836
|
-
var
|
|
2837
|
-
function
|
|
2843
|
+
var El = H1();
|
|
2844
|
+
function Ol(o, e) {
|
|
2838
2845
|
const l = o.hooks ?? {};
|
|
2839
2846
|
let c;
|
|
2840
2847
|
for (c in l) {
|
|
@@ -2842,21 +2849,21 @@ function T0(o, e) {
|
|
|
2842
2849
|
i !== void 0 && e.addHook(c, i);
|
|
2843
2850
|
}
|
|
2844
2851
|
}
|
|
2845
|
-
function
|
|
2846
|
-
return
|
|
2852
|
+
function Tl() {
|
|
2853
|
+
return El();
|
|
2847
2854
|
}
|
|
2848
|
-
function U1(o = {}, e =
|
|
2855
|
+
function U1(o = {}, e = Tl) {
|
|
2849
2856
|
const l = e();
|
|
2850
|
-
|
|
2851
|
-
const c = function(i,
|
|
2852
|
-
const
|
|
2853
|
-
if (
|
|
2857
|
+
Ol(o, l);
|
|
2858
|
+
const c = function(i, d) {
|
|
2859
|
+
const m = d.value;
|
|
2860
|
+
if (d.oldValue === m)
|
|
2854
2861
|
return;
|
|
2855
|
-
const g = `${
|
|
2856
|
-
if (O &&
|
|
2862
|
+
const g = `${m}`, f = d.arg, O = o.namedConfigurations, p = o.default ?? {};
|
|
2863
|
+
if (O && f !== void 0) {
|
|
2857
2864
|
i.innerHTML = l.sanitize(
|
|
2858
2865
|
g,
|
|
2859
|
-
O[
|
|
2866
|
+
O[f] ?? p
|
|
2860
2867
|
);
|
|
2861
2868
|
return;
|
|
2862
2869
|
}
|
|
@@ -2870,7 +2877,7 @@ function U1(o = {}, e = S0) {
|
|
|
2870
2877
|
updated: c
|
|
2871
2878
|
};
|
|
2872
2879
|
}
|
|
2873
|
-
const
|
|
2880
|
+
const Sl = {
|
|
2874
2881
|
viewBox: "0 0 24 24",
|
|
2875
2882
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2876
2883
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -2879,8 +2886,8 @@ const I0 = {
|
|
|
2879
2886
|
fill: "none",
|
|
2880
2887
|
customFrame: "#000000"
|
|
2881
2888
|
};
|
|
2882
|
-
function
|
|
2883
|
-
return t(), s("svg",
|
|
2889
|
+
function Ml(o, e) {
|
|
2890
|
+
return t(), s("svg", Sl, [...e[0] || (e[0] = [
|
|
2884
2891
|
n("rect", {
|
|
2885
2892
|
id: "峰会",
|
|
2886
2893
|
width: "24.000000",
|
|
@@ -2896,7 +2903,7 @@ function M0(o, e) {
|
|
|
2896
2903
|
}, null, -1)
|
|
2897
2904
|
])]);
|
|
2898
2905
|
}
|
|
2899
|
-
const
|
|
2906
|
+
const Il = { name: "events-icon-summit", render: Ml }, Dl = {
|
|
2900
2907
|
viewBox: "0 0 24 24",
|
|
2901
2908
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2902
2909
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -2905,8 +2912,8 @@ const D0 = { name: "events-icon-summit", render: M0 }, x0 = {
|
|
|
2905
2912
|
fill: "none",
|
|
2906
2913
|
customFrame: "#000000"
|
|
2907
2914
|
};
|
|
2908
|
-
function
|
|
2909
|
-
return t(), s("svg",
|
|
2915
|
+
function xl(o, e) {
|
|
2916
|
+
return t(), s("svg", Dl, [...e[0] || (e[0] = [
|
|
2910
2917
|
n("rect", {
|
|
2911
2918
|
id: "活动",
|
|
2912
2919
|
width: "24.000000",
|
|
@@ -2922,7 +2929,7 @@ function N0(o, e) {
|
|
|
2922
2929
|
}, null, -1)
|
|
2923
2930
|
])]);
|
|
2924
2931
|
}
|
|
2925
|
-
const
|
|
2932
|
+
const Nl = { name: "events-icon-events", render: xl }, Rl = {
|
|
2926
2933
|
viewBox: "0 0 24 24",
|
|
2927
2934
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2928
2935
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -2931,8 +2938,8 @@ const R0 = { name: "events-icon-events", render: N0 }, P0 = {
|
|
|
2931
2938
|
fill: "none",
|
|
2932
2939
|
customFrame: "#000000"
|
|
2933
2940
|
};
|
|
2934
|
-
function
|
|
2935
|
-
return t(), s("svg",
|
|
2941
|
+
function Pl(o, e) {
|
|
2942
|
+
return t(), s("svg", Rl, [...e[0] || (e[0] = [
|
|
2936
2943
|
n("rect", {
|
|
2937
2944
|
id: "高校 & 比赛",
|
|
2938
2945
|
width: "24.000000",
|
|
@@ -2948,7 +2955,7 @@ function z0(o, e) {
|
|
|
2948
2955
|
}, null, -1)
|
|
2949
2956
|
])]);
|
|
2950
2957
|
}
|
|
2951
|
-
const
|
|
2958
|
+
const zl = { name: "events-icon-competition", render: Pl }, Hl = {
|
|
2952
2959
|
viewBox: "0 0 24 24",
|
|
2953
2960
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2954
2961
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
@@ -2957,8 +2964,8 @@ const H0 = { name: "events-icon-competition", render: z0 }, U0 = {
|
|
|
2957
2964
|
fill: "none",
|
|
2958
2965
|
customFrame: "#000000"
|
|
2959
2966
|
};
|
|
2960
|
-
function
|
|
2961
|
-
return t(), s("svg",
|
|
2967
|
+
function Ul(o, e) {
|
|
2968
|
+
return t(), s("svg", Hl, [...e[0] || (e[0] = [
|
|
2962
2969
|
n("rect", {
|
|
2963
2970
|
id: "版本发布计划",
|
|
2964
2971
|
width: "24.000000",
|
|
@@ -2974,16 +2981,16 @@ function F0(o, e) {
|
|
|
2974
2981
|
}, null, -1)
|
|
2975
2982
|
])]);
|
|
2976
2983
|
}
|
|
2977
|
-
const
|
|
2984
|
+
const Fl = { name: "events-icon-release", render: Ul }, Bl = {
|
|
2978
2985
|
summit: "--o-orange-6",
|
|
2979
2986
|
events: "--o-cyan-6",
|
|
2980
2987
|
competition: "--o-blue-6",
|
|
2981
2988
|
release: "--o-purple-6"
|
|
2982
|
-
},
|
|
2983
|
-
events:
|
|
2984
|
-
competition:
|
|
2985
|
-
release:
|
|
2986
|
-
summit:
|
|
2989
|
+
}, Vl = {
|
|
2990
|
+
events: Nl,
|
|
2991
|
+
competition: zl,
|
|
2992
|
+
release: Fl,
|
|
2993
|
+
summit: Il
|
|
2987
2994
|
}, it = {
|
|
2988
2995
|
上海: "https://infrastructure-website.osinfra.cn/picture/city/shanghai.jpg",
|
|
2989
2996
|
北京: "https://infrastructure-website.osinfra.cn/picture/city/beijing.jpg",
|
|
@@ -2997,168 +3004,168 @@ const B0 = { name: "events-icon-release", render: F0 }, V0 = {
|
|
|
2997
3004
|
西安: "https://infrastructure-website.osinfra.cn/picture/city/xian.jpg",
|
|
2998
3005
|
郑州: "https://infrastructure-website.osinfra.cn/picture/city/zhengzhou.jpg",
|
|
2999
3006
|
武汉: "https://infrastructure-website.osinfra.cn/picture/city/wuhan.jpg"
|
|
3000
|
-
},
|
|
3007
|
+
}, Wl = "https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg", Gl = { class: "o-events-calendar" }, jl = {
|
|
3001
3008
|
key: 0,
|
|
3002
3009
|
class: "month-list"
|
|
3003
|
-
},
|
|
3010
|
+
}, Kl = { class: "collapse-header" }, ql = { class: "collapse-title" }, Zl = {
|
|
3004
3011
|
key: 0,
|
|
3005
3012
|
class: "collapse-desc"
|
|
3006
|
-
},
|
|
3013
|
+
}, Yl = {
|
|
3007
3014
|
key: 0,
|
|
3008
3015
|
class: "month-content month-content-span"
|
|
3009
|
-
},
|
|
3016
|
+
}, Xl = {
|
|
3010
3017
|
key: 0,
|
|
3011
3018
|
class: "event-location"
|
|
3012
|
-
},
|
|
3019
|
+
}, Jl = { class: "event-name" }, Ql = { key: 1 }, e0 = {
|
|
3013
3020
|
key: 0,
|
|
3014
3021
|
class: "month-content-row"
|
|
3015
|
-
},
|
|
3022
|
+
}, t0 = { class: "month-name" }, o0 = { class: "event-name" }, n0 = { class: "event-location" }, a0 = { class: "event-name" }, s0 = { class: "event-location" }, r0 = {
|
|
3016
3023
|
key: 1,
|
|
3017
3024
|
class: "month-content month-content-column"
|
|
3018
|
-
},
|
|
3025
|
+
}, l0 = { class: "event-location" }, i0 = { class: "event-name" }, c0 = { key: 1 }, L1 = /* @__PURE__ */ ne({
|
|
3019
3026
|
__name: "OEventsCalendar",
|
|
3020
3027
|
props: {
|
|
3021
3028
|
data: { default: () => [] }
|
|
3022
3029
|
},
|
|
3023
3030
|
setup(o) {
|
|
3024
|
-
const e = U1(), { lePadV: l } = Se(), c = o, i = ["JAN", "FEB", "MAR", "Apr", "May", "JUN", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
3031
|
+
const e = U1(), { lePadV: l } = Se(), c = o, i = ["JAN", "FEB", "MAR", "Apr", "May", "JUN", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], d = U([]);
|
|
3025
3032
|
Ee(
|
|
3026
3033
|
[() => c.data, () => l.value],
|
|
3027
3034
|
() => {
|
|
3028
|
-
var
|
|
3029
|
-
c.data.length ? l.value ?
|
|
3035
|
+
var w;
|
|
3036
|
+
c.data.length ? l.value ? d.value = [(w = c.data[0]) == null ? void 0 : w.name] : d.value = c.data.map((x) => x.name) : d.value = [];
|
|
3030
3037
|
},
|
|
3031
3038
|
{
|
|
3032
3039
|
immediate: !0
|
|
3033
3040
|
}
|
|
3034
3041
|
);
|
|
3035
|
-
const
|
|
3036
|
-
const
|
|
3037
|
-
return parseInt(
|
|
3038
|
-
}, g = (
|
|
3039
|
-
const
|
|
3040
|
-
return
|
|
3041
|
-
const [
|
|
3042
|
-
let
|
|
3043
|
-
for (let H =
|
|
3044
|
-
|
|
3045
|
-
const
|
|
3046
|
-
for (let H =
|
|
3047
|
-
|
|
3042
|
+
const m = (w) => {
|
|
3043
|
+
const x = w.split("/");
|
|
3044
|
+
return parseInt(x[1], 10);
|
|
3045
|
+
}, g = (w) => {
|
|
3046
|
+
const x = new Array(12).fill(0), T = [];
|
|
3047
|
+
return w.forEach((I, D) => {
|
|
3048
|
+
const [$, N] = Array.isArray(I.date) ? [m(I.date[0]), m(I.date[1])] : [m(I.date), m(I.date)];
|
|
3049
|
+
let X = 0;
|
|
3050
|
+
for (let H = $ - 1; H < N; H++)
|
|
3051
|
+
X = Math.max(X, x[H]);
|
|
3052
|
+
const L = X + 1;
|
|
3053
|
+
for (let H = $ - 1; H < N; H++)
|
|
3054
|
+
x[H] = L;
|
|
3048
3055
|
T.push({
|
|
3049
|
-
event:
|
|
3050
|
-
row:
|
|
3056
|
+
event: I,
|
|
3057
|
+
row: L,
|
|
3051
3058
|
eventIndex: D,
|
|
3052
|
-
start:
|
|
3053
|
-
end:
|
|
3059
|
+
start: $,
|
|
3060
|
+
end: N
|
|
3054
3061
|
});
|
|
3055
3062
|
}), T;
|
|
3056
|
-
},
|
|
3057
|
-
const
|
|
3058
|
-
return
|
|
3059
|
-
const
|
|
3060
|
-
I
|
|
3061
|
-
}),
|
|
3062
|
-
}, O = (
|
|
3063
|
-
const
|
|
3064
|
-
return
|
|
3065
|
-
}, p = (
|
|
3066
|
-
return (
|
|
3067
|
-
r(l) ?
|
|
3068
|
-
(t(), s(S, null,
|
|
3063
|
+
}, f = (w) => {
|
|
3064
|
+
const x = Array.from({ length: 12 }, () => []);
|
|
3065
|
+
return w.forEach((T) => {
|
|
3066
|
+
const I = Array.isArray(T.date) ? m(T.date[0]) : m(T.date);
|
|
3067
|
+
x[I - 1].push(T);
|
|
3068
|
+
}), x;
|
|
3069
|
+
}, O = (w) => {
|
|
3070
|
+
const x = w.color || Bl[w.type];
|
|
3071
|
+
return x != null && x.startsWith("--") ? `var(${x})` : x;
|
|
3072
|
+
}, p = (w) => w.icon ? w.icon : Vl[w.type];
|
|
3073
|
+
return (w, x) => (t(), s("div", Gl, [
|
|
3074
|
+
r(l) ? _("", !0) : (t(), s("div", jl, [
|
|
3075
|
+
(t(), s(S, null, z(i, (T) => n("div", {
|
|
3069
3076
|
class: "month-header",
|
|
3070
3077
|
key: T
|
|
3071
3078
|
}, u(T), 1)), 64))
|
|
3072
3079
|
])),
|
|
3073
3080
|
C(r(uo), {
|
|
3074
|
-
modelValue:
|
|
3075
|
-
"onUpdate:modelValue":
|
|
3081
|
+
modelValue: d.value,
|
|
3082
|
+
"onUpdate:modelValue": x[0] || (x[0] = (T) => d.value = T)
|
|
3076
3083
|
}, {
|
|
3077
|
-
default:
|
|
3078
|
-
(t(!0), s(S, null,
|
|
3079
|
-
key:
|
|
3084
|
+
default: h(() => [
|
|
3085
|
+
(t(!0), s(S, null, z(o.data, (T, I) => (t(), k(r(fo), {
|
|
3086
|
+
key: I,
|
|
3080
3087
|
value: T.name
|
|
3081
3088
|
}, {
|
|
3082
|
-
title:
|
|
3083
|
-
n("div",
|
|
3084
|
-
n("div",
|
|
3089
|
+
title: h(() => [
|
|
3090
|
+
n("div", Kl, [
|
|
3091
|
+
n("div", ql, [
|
|
3085
3092
|
n("div", {
|
|
3086
3093
|
class: "title-icon",
|
|
3087
|
-
style:
|
|
3094
|
+
style: ce({
|
|
3088
3095
|
"--bg-color": O(T)
|
|
3089
3096
|
})
|
|
3090
3097
|
}, [
|
|
3091
|
-
C(r(
|
|
3092
|
-
default:
|
|
3093
|
-
(t(),
|
|
3098
|
+
C(r(F), null, {
|
|
3099
|
+
default: h(() => [
|
|
3100
|
+
(t(), k(we(p(T))))
|
|
3094
3101
|
]),
|
|
3095
3102
|
_: 2
|
|
3096
3103
|
}, 1024)
|
|
3097
3104
|
], 4),
|
|
3098
3105
|
n("span", null, u(T.name), 1)
|
|
3099
3106
|
]),
|
|
3100
|
-
T.desc ? (t(), s("div",
|
|
3107
|
+
T.desc ? (t(), s("div", Zl, [
|
|
3101
3108
|
Je(n("div", null, null, 512), [
|
|
3102
3109
|
[r(e), T.desc]
|
|
3103
3110
|
])
|
|
3104
|
-
])) :
|
|
3111
|
+
])) : _("", !0)
|
|
3105
3112
|
])
|
|
3106
3113
|
]),
|
|
3107
|
-
default:
|
|
3108
|
-
T.isSpanMonth ? (t(), s("div",
|
|
3109
|
-
(t(!0), s(S, null,
|
|
3110
|
-
key:
|
|
3114
|
+
default: h(() => [
|
|
3115
|
+
T.isSpanMonth ? (t(), s("div", Yl, [
|
|
3116
|
+
(t(!0), s(S, null, z(g(T.data), ({ event: D, row: $, eventIndex: N, start: X, end: L }) => (t(), s("div", {
|
|
3117
|
+
key: N,
|
|
3111
3118
|
class: K(["event-item", { "event-item-center": D.align === "center", "has-link": D.link }]),
|
|
3112
|
-
style:
|
|
3113
|
-
gridColumn: `${
|
|
3114
|
-
gridRow:
|
|
3119
|
+
style: ce({
|
|
3120
|
+
gridColumn: `${X} / ${L + 1}`,
|
|
3121
|
+
gridRow: $,
|
|
3115
3122
|
"--bg-color": O(T) || void 0
|
|
3116
3123
|
})
|
|
3117
3124
|
}, [
|
|
3118
|
-
D.location ? (t(), s("div",
|
|
3119
|
-
n("div",
|
|
3120
|
-
D.link ? (t(),
|
|
3125
|
+
D.location ? (t(), s("div", Xl, u(D.location), 1)) : _("", !0),
|
|
3126
|
+
n("div", Jl, [
|
|
3127
|
+
D.link ? (t(), k(r(ut), oo({
|
|
3121
3128
|
key: 0,
|
|
3122
3129
|
href: D.link,
|
|
3123
3130
|
target: "_blank"
|
|
3124
3131
|
}, { ref_for: !0 }, D.linkProps || {}), {
|
|
3125
|
-
default:
|
|
3126
|
-
|
|
3132
|
+
default: h(() => [
|
|
3133
|
+
te(u(D.name), 1)
|
|
3127
3134
|
]),
|
|
3128
3135
|
_: 2
|
|
3129
|
-
}, 1040, ["href"])) : (t(), s("span",
|
|
3136
|
+
}, 1040, ["href"])) : (t(), s("span", Ql, u(D.name), 1))
|
|
3130
3137
|
])
|
|
3131
3138
|
], 6))), 128))
|
|
3132
3139
|
])) : (t(), s(S, { key: 1 }, [
|
|
3133
|
-
r(l) ? (t(), s("div",
|
|
3134
|
-
(t(!0), s(S, null,
|
|
3135
|
-
key:
|
|
3140
|
+
r(l) ? (t(), s("div", e0, [
|
|
3141
|
+
(t(!0), s(S, null, z(f(T.data), (D, $) => (t(), s("div", {
|
|
3142
|
+
key: $,
|
|
3136
3143
|
class: K(["month-row", {
|
|
3137
3144
|
"empty-month": D.length === 0
|
|
3138
3145
|
}])
|
|
3139
3146
|
}, [
|
|
3140
|
-
n("div",
|
|
3141
|
-
(t(!0), s(S, null,
|
|
3142
|
-
key:
|
|
3143
|
-
class: K(["event-item",
|
|
3144
|
-
style:
|
|
3147
|
+
n("div", t0, u(i[$]), 1),
|
|
3148
|
+
(t(!0), s(S, null, z(D, (N, X) => (t(), s("div", {
|
|
3149
|
+
key: X,
|
|
3150
|
+
class: K(["event-item", N.link ? "has-link" : ""]),
|
|
3151
|
+
style: ce({
|
|
3145
3152
|
"--bd-color": O(T) || void 0
|
|
3146
3153
|
})
|
|
3147
3154
|
}, [
|
|
3148
|
-
|
|
3155
|
+
N.link ? (t(), k(r(ut), {
|
|
3149
3156
|
key: 0,
|
|
3150
|
-
href:
|
|
3157
|
+
href: N.link,
|
|
3151
3158
|
target: "_blank"
|
|
3152
3159
|
}, {
|
|
3153
|
-
default:
|
|
3160
|
+
default: h(() => [
|
|
3154
3161
|
n("div", null, [
|
|
3155
|
-
n("div",
|
|
3156
|
-
n("span", null, u(
|
|
3162
|
+
n("div", o0, [
|
|
3163
|
+
n("span", null, u(N.name), 1)
|
|
3157
3164
|
]),
|
|
3158
|
-
n("div",
|
|
3165
|
+
n("div", n0, u(N.location), 1)
|
|
3159
3166
|
]),
|
|
3160
|
-
C(r(
|
|
3161
|
-
default:
|
|
3167
|
+
C(r(F), null, {
|
|
3168
|
+
default: h(() => [
|
|
3162
3169
|
C(r(Pt))
|
|
3163
3170
|
]),
|
|
3164
3171
|
_: 1
|
|
@@ -3166,43 +3173,43 @@ const B0 = { name: "events-icon-release", render: F0 }, V0 = {
|
|
|
3166
3173
|
]),
|
|
3167
3174
|
_: 2
|
|
3168
3175
|
}, 1032, ["href"])) : (t(), s(S, { key: 1 }, [
|
|
3169
|
-
n("div",
|
|
3170
|
-
n("div",
|
|
3176
|
+
n("div", a0, u(N.name), 1),
|
|
3177
|
+
n("div", s0, u(N.location), 1)
|
|
3171
3178
|
], 64))
|
|
3172
3179
|
], 6))), 128))
|
|
3173
3180
|
], 2))), 128))
|
|
3174
|
-
])) : (t(), s("div",
|
|
3175
|
-
(t(!0), s(S, null,
|
|
3176
|
-
key:
|
|
3181
|
+
])) : (t(), s("div", r0, [
|
|
3182
|
+
(t(!0), s(S, null, z(f(T.data), (D, $) => (t(), s("div", {
|
|
3183
|
+
key: $,
|
|
3177
3184
|
class: "month-column"
|
|
3178
3185
|
}, [
|
|
3179
|
-
(t(!0), s(S, null,
|
|
3180
|
-
key:
|
|
3181
|
-
class: K(["event-item",
|
|
3182
|
-
style:
|
|
3186
|
+
(t(!0), s(S, null, z(D, (N, X) => (t(), s("div", {
|
|
3187
|
+
key: X,
|
|
3188
|
+
class: K(["event-item", N.link ? "has-link" : ""]),
|
|
3189
|
+
style: ce({
|
|
3183
3190
|
"--bg-color": O(T) || void 0
|
|
3184
3191
|
})
|
|
3185
3192
|
}, [
|
|
3186
|
-
n("div",
|
|
3187
|
-
n("div",
|
|
3188
|
-
|
|
3193
|
+
n("div", l0, u(N.location), 1),
|
|
3194
|
+
n("div", i0, [
|
|
3195
|
+
N.link ? (t(), k(r(ut), {
|
|
3189
3196
|
key: 0,
|
|
3190
|
-
href:
|
|
3197
|
+
href: N.link,
|
|
3191
3198
|
target: "_blank"
|
|
3192
3199
|
}, {
|
|
3193
|
-
suffix:
|
|
3194
|
-
C(r(
|
|
3195
|
-
default:
|
|
3200
|
+
suffix: h(() => [
|
|
3201
|
+
C(r(F), null, {
|
|
3202
|
+
default: h(() => [
|
|
3196
3203
|
C(r(Pt))
|
|
3197
3204
|
]),
|
|
3198
3205
|
_: 1
|
|
3199
3206
|
})
|
|
3200
3207
|
]),
|
|
3201
|
-
default:
|
|
3202
|
-
n("span", null, u(
|
|
3208
|
+
default: h(() => [
|
|
3209
|
+
n("span", null, u(N.name), 1)
|
|
3203
3210
|
]),
|
|
3204
3211
|
_: 2
|
|
3205
|
-
}, 1032, ["href"])) : (t(), s("span",
|
|
3212
|
+
}, 1032, ["href"])) : (t(), s("span", c0, u(N.name), 1))
|
|
3206
3213
|
])
|
|
3207
3214
|
], 6))), 128))
|
|
3208
3215
|
]))), 128))
|
|
@@ -3218,7 +3225,7 @@ const B0 = { name: "events-icon-release", render: F0 }, V0 = {
|
|
|
3218
3225
|
}
|
|
3219
3226
|
});
|
|
3220
3227
|
var Oe = /* @__PURE__ */ ((o) => (o.FINISH = "finish", o.ING = "ing", o.ALL = "", o))(Oe || {});
|
|
3221
|
-
const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(),
|
|
3228
|
+
const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), u0 = { class: "o-events-list" }, d0 = { class: "filter-wrapper" }, f0 = { class: "filter-left" }, h0 = { class: "list-content" }, v0 = { class: "event-name" }, p0 = { class: "event-desc" }, m0 = { class: "event-date" }, _0 = {
|
|
3222
3229
|
key: 0,
|
|
3223
3230
|
class: "event-location"
|
|
3224
3231
|
}, E1 = /* @__PURE__ */ ne({
|
|
@@ -3231,7 +3238,7 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3231
3238
|
},
|
|
3232
3239
|
emits: ["search"],
|
|
3233
3240
|
setup(o, { emit: e }) {
|
|
3234
|
-
const { t: l } = Bt(), { lePadV: c } = Se(), i = o,
|
|
3241
|
+
const { t: l } = Bt(), { lePadV: c } = Se(), i = o, d = [
|
|
3235
3242
|
{
|
|
3236
3243
|
label: l("events.statusAll"),
|
|
3237
3244
|
value: Oe.ALL
|
|
@@ -3244,8 +3251,8 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3244
3251
|
label: l("events.statusFinish"),
|
|
3245
3252
|
value: Oe.FINISH
|
|
3246
3253
|
}
|
|
3247
|
-
],
|
|
3248
|
-
|
|
3254
|
+
], m = e, g = U(Oe.ALL), f = U(""), O = U(""), p = (I = {}) => {
|
|
3255
|
+
m(
|
|
3249
3256
|
"search",
|
|
3250
3257
|
Object.assign(
|
|
3251
3258
|
{
|
|
@@ -3254,44 +3261,44 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3254
3261
|
status: g.value,
|
|
3255
3262
|
keyword: O.value
|
|
3256
3263
|
},
|
|
3257
|
-
|
|
3264
|
+
I
|
|
3258
3265
|
)
|
|
3259
3266
|
);
|
|
3260
|
-
},
|
|
3267
|
+
}, w = () => {
|
|
3261
3268
|
p();
|
|
3262
|
-
},
|
|
3263
|
-
O.value =
|
|
3264
|
-
}, T = de(() => i.data.map((
|
|
3265
|
-
...
|
|
3266
|
-
status: A1(/* @__PURE__ */ new Date(),
|
|
3267
|
-
})).sort((
|
|
3268
|
-
var
|
|
3269
|
-
const D = (
|
|
3270
|
-
let
|
|
3271
|
-
return Array.isArray(it[D]) ?
|
|
3272
|
-
...
|
|
3273
|
-
cover:
|
|
3269
|
+
}, x = () => {
|
|
3270
|
+
O.value = f.value, p();
|
|
3271
|
+
}, T = de(() => i.data.map((I) => ({
|
|
3272
|
+
...I,
|
|
3273
|
+
status: A1(/* @__PURE__ */ new Date(), I.date) ? Oe.FINISH : Oe.ING
|
|
3274
|
+
})).sort((I, D) => A1(I.date, D.date) ? -1 : 1).map((I) => {
|
|
3275
|
+
var N, X, L;
|
|
3276
|
+
const D = (L = (X = (N = I.city) == null ? void 0 : N.replace("市", "")) == null ? void 0 : X.replace("中国", "")) == null ? void 0 : L.replaceAll(" ", "");
|
|
3277
|
+
let $ = null;
|
|
3278
|
+
return Array.isArray(it[D]) ? $ = it[D][I.name.length % it[D].length] : $ = it[D], $ || ($ = Wl), {
|
|
3279
|
+
...I,
|
|
3280
|
+
cover: $
|
|
3274
3281
|
};
|
|
3275
3282
|
}));
|
|
3276
|
-
return (
|
|
3277
|
-
n("div",
|
|
3278
|
-
n("div",
|
|
3283
|
+
return (I, D) => (t(), s("div", u0, [
|
|
3284
|
+
n("div", d0, [
|
|
3285
|
+
n("div", f0, [
|
|
3279
3286
|
n("span", null, u(r(l)("events.status")), 1),
|
|
3280
|
-
C(r(
|
|
3287
|
+
C(r(ho), {
|
|
3281
3288
|
modelValue: g.value,
|
|
3282
|
-
"onUpdate:modelValue": D[0] || (D[0] = (
|
|
3289
|
+
"onUpdate:modelValue": D[0] || (D[0] = ($) => g.value = $),
|
|
3283
3290
|
style: { "--radio-group-gap": "8px" },
|
|
3284
|
-
onChange:
|
|
3291
|
+
onChange: w
|
|
3285
3292
|
}, {
|
|
3286
|
-
default:
|
|
3287
|
-
(t(), s(S, null,
|
|
3288
|
-
key:
|
|
3289
|
-
value:
|
|
3293
|
+
default: h(() => [
|
|
3294
|
+
(t(), s(S, null, z(d, ($) => C(r(vo), {
|
|
3295
|
+
key: $.value,
|
|
3296
|
+
value: $.value
|
|
3290
3297
|
}, {
|
|
3291
|
-
radio:
|
|
3292
|
-
C(r(po), { checked:
|
|
3293
|
-
default:
|
|
3294
|
-
|
|
3298
|
+
radio: h(({ checked: N }) => [
|
|
3299
|
+
C(r(po), { checked: N }, {
|
|
3300
|
+
default: h(() => [
|
|
3301
|
+
te(u($.label), 1)
|
|
3295
3302
|
]),
|
|
3296
3303
|
_: 2
|
|
3297
3304
|
}, 1032, ["checked"])
|
|
@@ -3302,17 +3309,17 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3302
3309
|
_: 1
|
|
3303
3310
|
}, 8, ["modelValue"])
|
|
3304
3311
|
]),
|
|
3305
|
-
C(r(
|
|
3306
|
-
modelValue:
|
|
3307
|
-
"onUpdate:modelValue": D[1] || (D[1] = (
|
|
3312
|
+
C(r(I1), {
|
|
3313
|
+
modelValue: f.value,
|
|
3314
|
+
"onUpdate:modelValue": D[1] || (D[1] = ($) => f.value = $),
|
|
3308
3315
|
placeholder: r(l)("events.searchPlaceholder"),
|
|
3309
|
-
onPressEnter:
|
|
3310
|
-
onClear:
|
|
3316
|
+
onPressEnter: x,
|
|
3317
|
+
onClear: x,
|
|
3311
3318
|
clearable: ""
|
|
3312
3319
|
}, {
|
|
3313
|
-
prefix:
|
|
3314
|
-
C(r(
|
|
3315
|
-
default:
|
|
3320
|
+
prefix: h(() => [
|
|
3321
|
+
C(r(F), { class: "input-icon" }, {
|
|
3322
|
+
default: h(() => [
|
|
3316
3323
|
C(r(mo))
|
|
3317
3324
|
]),
|
|
3318
3325
|
_: 1
|
|
@@ -3321,31 +3328,31 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3321
3328
|
_: 1
|
|
3322
3329
|
}, 8, ["modelValue", "placeholder"])
|
|
3323
3330
|
]),
|
|
3324
|
-
n("div",
|
|
3325
|
-
(t(!0), s(S, null,
|
|
3326
|
-
key:
|
|
3327
|
-
cover:
|
|
3328
|
-
href:
|
|
3331
|
+
n("div", h0, [
|
|
3332
|
+
(t(!0), s(S, null, z(T.value, ($) => (t(), k(r(_o), {
|
|
3333
|
+
key: $.name,
|
|
3334
|
+
cover: $.cover,
|
|
3335
|
+
href: $.link
|
|
3329
3336
|
}, {
|
|
3330
|
-
default:
|
|
3337
|
+
default: h(() => [
|
|
3331
3338
|
C(r(Ge), { class: "event-status" }, {
|
|
3332
|
-
default:
|
|
3333
|
-
|
|
3339
|
+
default: h(() => [
|
|
3340
|
+
te(u($.status === r(Oe).ING ? r(l)("events.statusIng") : r(l)("events.statusFinish")), 1)
|
|
3334
3341
|
]),
|
|
3335
3342
|
_: 2
|
|
3336
3343
|
}, 1024),
|
|
3337
|
-
n("div",
|
|
3338
|
-
n("div",
|
|
3339
|
-
n("div",
|
|
3344
|
+
n("div", v0, u($.name), 1),
|
|
3345
|
+
n("div", p0, [
|
|
3346
|
+
n("div", m0, u($.date), 1),
|
|
3340
3347
|
C(r(Ne), { direction: "v" }),
|
|
3341
|
-
|
|
3348
|
+
$.city ? (t(), s("div", _0, u($.city), 1)) : _("", !0)
|
|
3342
3349
|
])
|
|
3343
3350
|
]),
|
|
3344
3351
|
_: 2
|
|
3345
3352
|
}, 1032, ["cover", "href"]))), 128))
|
|
3346
3353
|
]),
|
|
3347
|
-
T.value.length ?
|
|
3348
|
-
o.total > 8 ? (t(),
|
|
3354
|
+
T.value.length ? _("", !0) : P(I.$slots, "empty", { key: 0 }),
|
|
3355
|
+
o.total > 8 ? (t(), k(r(go), {
|
|
3349
3356
|
key: 1,
|
|
3350
3357
|
page: o.page,
|
|
3351
3358
|
simple: r(c),
|
|
@@ -3354,140 +3361,140 @@ const A1 = (o, e) => new Date(o).getTime() > new Date(e).getTime(), ul = { class
|
|
|
3354
3361
|
total: o.total,
|
|
3355
3362
|
onChange: p,
|
|
3356
3363
|
pageSizes: [4, 12, 24, 36, 48]
|
|
3357
|
-
}, null, 8, ["page", "simple", "pageSize", "total"])) :
|
|
3364
|
+
}, null, 8, ["page", "simple", "pageSize", "total"])) : _("", !0)
|
|
3358
3365
|
]));
|
|
3359
3366
|
}
|
|
3360
|
-
}),
|
|
3367
|
+
}), g0 = {
|
|
3361
3368
|
version: "1.1",
|
|
3362
3369
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3363
3370
|
width: "24",
|
|
3364
3371
|
height: "24",
|
|
3365
3372
|
viewBox: "0 0 24 24"
|
|
3366
3373
|
};
|
|
3367
|
-
function
|
|
3368
|
-
return t(), s("svg",
|
|
3374
|
+
function C0(o, e) {
|
|
3375
|
+
return t(), s("svg", g0, [...e[0] || (e[0] = [
|
|
3369
3376
|
n("path", {
|
|
3370
3377
|
fill: "#1da9ff",
|
|
3371
3378
|
d: "M20.4 5.95c0.27-0.27 0.71-0.27 0.99 0 0.24 0.25 0.27 0.63 0.070 0.91l-0.070 0.080-10.5 10.47c-0.53 0.53-1.36 0.56-1.93 0.1l-0.11-0.1-5.23-5.2c-0.28-0.28-0.28-0.72-0.010-0.99 0.25-0.25 0.63-0.28 0.91-0.080l0.080 0.070 5.24 5.21c0.010 0.010 0.030 0.010 0.040 0.010l0.030-0.010 10.49-10.47z"
|
|
3372
3379
|
}, null, -1)
|
|
3373
3380
|
])]);
|
|
3374
3381
|
}
|
|
3375
|
-
const
|
|
3382
|
+
const y0 = { name: "events-icon-checked", render: C0 }, k0 = { class: "o-events-apply" }, w0 = { class: "events-apply-grid" }, b0 = { class: "timeline-number" }, $0 = { class: "number-circle" }, L0 = { class: "step-title" }, A0 = { class: "step-idx" }, E0 = { class: "step-desc" }, O0 = { key: 0 }, T0 = { class: "desc-list-wrapper" }, S0 = {
|
|
3376
3383
|
key: 0,
|
|
3377
3384
|
class: "desc-list-title"
|
|
3378
|
-
},
|
|
3385
|
+
}, M0 = { class: "desc-list-content" }, I0 = { class: "desc-list-item-title" }, D0 = { class: "desc-list-item-desc" }, O1 = /* @__PURE__ */ ne({
|
|
3379
3386
|
__name: "OEventsApply",
|
|
3380
3387
|
props: {
|
|
3381
3388
|
steps: {}
|
|
3382
3389
|
},
|
|
3383
3390
|
setup(o) {
|
|
3384
3391
|
const { isDark: e } = Ft(), l = U1();
|
|
3385
|
-
return (c, i) => (t(), s("div",
|
|
3386
|
-
n("div",
|
|
3387
|
-
(t(!0), s(S, null,
|
|
3388
|
-
n("div",
|
|
3389
|
-
n("div", $
|
|
3392
|
+
return (c, i) => (t(), s("div", k0, [
|
|
3393
|
+
n("div", w0, [
|
|
3394
|
+
(t(!0), s(S, null, z(o.steps, (d, m) => (t(), s(S, { key: m }, [
|
|
3395
|
+
n("div", b0, [
|
|
3396
|
+
n("div", $0, u(m + 1), 1)
|
|
3390
3397
|
]),
|
|
3391
3398
|
n("div", {
|
|
3392
|
-
class: K(["step-item", `step-${
|
|
3399
|
+
class: K(["step-item", `step-${m + 1} ${r(e) ? "is-dark" : ""}`]),
|
|
3393
3400
|
style: {}
|
|
3394
3401
|
}, [
|
|
3395
|
-
n("div",
|
|
3396
|
-
n("div",
|
|
3397
|
-
n("span", null, u(
|
|
3402
|
+
n("div", L0, [
|
|
3403
|
+
n("div", A0, u(m + 1), 1),
|
|
3404
|
+
n("span", null, u(d.title), 1)
|
|
3398
3405
|
]),
|
|
3399
|
-
n("div",
|
|
3400
|
-
|
|
3401
|
-
[r(l),
|
|
3402
|
-
]) :
|
|
3403
|
-
|
|
3404
|
-
n("div",
|
|
3405
|
-
|
|
3406
|
-
n("div",
|
|
3407
|
-
(t(!0), s(S, null,
|
|
3406
|
+
n("div", E0, [
|
|
3407
|
+
d.desc ? Je((t(), s("div", O0, null, 512)), [
|
|
3408
|
+
[r(l), d.desc]
|
|
3409
|
+
]) : _("", !0),
|
|
3410
|
+
P(c.$slots, `step${m + 1}`),
|
|
3411
|
+
n("div", T0, [
|
|
3412
|
+
d.listTitle ? (t(), s("div", S0, u(d.listTitle), 1)) : _("", !0),
|
|
3413
|
+
n("div", M0, [
|
|
3414
|
+
(t(!0), s(S, null, z(d.list, (g, f) => (t(), s("div", {
|
|
3408
3415
|
class: "desc-list-item",
|
|
3409
|
-
key:
|
|
3416
|
+
key: f
|
|
3410
3417
|
}, [
|
|
3411
|
-
n("div",
|
|
3412
|
-
C(r(
|
|
3413
|
-
default:
|
|
3414
|
-
C(r(
|
|
3418
|
+
n("div", I0, [
|
|
3419
|
+
C(r(F), null, {
|
|
3420
|
+
default: h(() => [
|
|
3421
|
+
C(r(y0))
|
|
3415
3422
|
]),
|
|
3416
3423
|
_: 1
|
|
3417
3424
|
}),
|
|
3418
3425
|
n("span", null, u(g.title), 1)
|
|
3419
3426
|
]),
|
|
3420
|
-
n("div",
|
|
3427
|
+
n("div", D0, u(g.desc), 1)
|
|
3421
3428
|
]))), 128))
|
|
3422
3429
|
])
|
|
3423
3430
|
])
|
|
3424
3431
|
]),
|
|
3425
|
-
|
|
3432
|
+
d.img ? (t(), s("div", {
|
|
3426
3433
|
key: 0,
|
|
3427
3434
|
class: "img-wrapper",
|
|
3428
|
-
style:
|
|
3429
|
-
backgroundImage: `url(${
|
|
3435
|
+
style: ce({
|
|
3436
|
+
backgroundImage: `url(${d.img})`
|
|
3430
3437
|
})
|
|
3431
|
-
}, null, 4)) :
|
|
3432
|
-
|
|
3438
|
+
}, null, 4)) : _("", !0),
|
|
3439
|
+
d.imgPhone ? (t(), s("div", {
|
|
3433
3440
|
key: 1,
|
|
3434
3441
|
class: "img-wrapper-phone",
|
|
3435
|
-
style:
|
|
3436
|
-
backgroundImage: `url(${
|
|
3442
|
+
style: ce({
|
|
3443
|
+
backgroundImage: `url(${d.imgPhone})`
|
|
3437
3444
|
})
|
|
3438
|
-
}, null, 4)) :
|
|
3445
|
+
}, null, 4)) : _("", !0)
|
|
3439
3446
|
], 2)
|
|
3440
3447
|
], 64))), 128))
|
|
3441
3448
|
])
|
|
3442
3449
|
]));
|
|
3443
3450
|
}
|
|
3444
|
-
}),
|
|
3451
|
+
}), B0 = Object.assign(L1, {
|
|
3445
3452
|
install(o) {
|
|
3446
3453
|
o.component("OEventsCalendar", L1);
|
|
3447
3454
|
}
|
|
3448
|
-
}),
|
|
3455
|
+
}), V0 = Object.assign(E1, {
|
|
3449
3456
|
install(o) {
|
|
3450
3457
|
o.component("OEventsList", E1);
|
|
3451
3458
|
}
|
|
3452
|
-
}),
|
|
3459
|
+
}), W0 = Object.assign(O1, {
|
|
3453
3460
|
install(o) {
|
|
3454
3461
|
o.component("OEventsApply", O1);
|
|
3455
3462
|
}
|
|
3456
|
-
}),
|
|
3457
|
-
OBanner:
|
|
3458
|
-
OCookieNotice:
|
|
3459
|
-
OFooter:
|
|
3460
|
-
OHeader:
|
|
3461
|
-
OHeaderMoblie:
|
|
3462
|
-
OHeaderSearch:
|
|
3463
|
-
OHeaderUser:
|
|
3464
|
-
OPlusConfigProvider:
|
|
3465
|
-
OSection:
|
|
3466
|
-
OSourceCode:
|
|
3467
|
-
OThemeSwitcher:
|
|
3468
|
-
},
|
|
3463
|
+
}), x0 = {
|
|
3464
|
+
OBanner: Do,
|
|
3465
|
+
OCookieNotice: ln,
|
|
3466
|
+
OFooter: Qn,
|
|
3467
|
+
OHeader: Xa,
|
|
3468
|
+
OHeaderMoblie: xs,
|
|
3469
|
+
OHeaderSearch: lr,
|
|
3470
|
+
OHeaderUser: $r,
|
|
3471
|
+
OPlusConfigProvider: Er,
|
|
3472
|
+
OSection: Pr,
|
|
3473
|
+
OSourceCode: Wr,
|
|
3474
|
+
OThemeSwitcher: Jr
|
|
3475
|
+
}, G0 = {
|
|
3469
3476
|
install: (o) => {
|
|
3470
|
-
Object.entries(
|
|
3477
|
+
Object.entries(x0).forEach(([e, l]) => {
|
|
3471
3478
|
o.component(e, l);
|
|
3472
3479
|
});
|
|
3473
3480
|
}
|
|
3474
3481
|
};
|
|
3475
3482
|
export {
|
|
3476
3483
|
Oe as EventsStatusT,
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3484
|
+
Do as OBanner,
|
|
3485
|
+
ln as OCookieNotice,
|
|
3486
|
+
q0 as OElCookieNotice,
|
|
3487
|
+
W0 as OEventsApply,
|
|
3488
|
+
B0 as OEventsCalendar,
|
|
3489
|
+
V0 as OEventsList,
|
|
3490
|
+
Qn as OFooter,
|
|
3491
|
+
Xa as OHeader,
|
|
3492
|
+
xs as OHeaderMoblie,
|
|
3493
|
+
lr as OHeaderSearch,
|
|
3494
|
+
$r as OHeaderUser,
|
|
3495
|
+
Er as OPlusConfigProvider,
|
|
3496
|
+
Pr as OSection,
|
|
3497
|
+
Wr as OSourceCode,
|
|
3498
|
+
Jr as OThemeSwitcher,
|
|
3499
|
+
G0 as default
|
|
3493
3500
|
};
|